2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gtk+ 3.4.0.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
573 PACKAGE_TARNAME='gtk+'
574 PACKAGE_VERSION='3.4.0'
575 PACKAGE_STRING='gtk+ 3.4.0'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B'
579 ac_unique_file="gdk/gdktypes.h"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
617 ac_subst_vars='am__EXEEXT_FALSE
630 GTK_DOC_USE_REBASE_FALSE
631 GTK_DOC_USE_REBASE_TRUE
632 GTK_DOC_USE_LIBTOOL_FALSE
633 GTK_DOC_USE_LIBTOOL_TRUE
634 GTK_DOC_BUILD_PDF_FALSE
635 GTK_DOC_BUILD_PDF_TRUE
636 GTK_DOC_BUILD_HTML_FALSE
637 GTK_DOC_BUILD_HTML_TRUE
650 ENABLE_PACKAGEKIT_FALSE
651 ENABLE_PACKAGEKIT_TRUE
652 HAVE_INTROSPECTION_FALSE
653 HAVE_INTROSPECTION_TRUE
654 INTROSPECTION_MAKEFILE
657 INTROSPECTION_TYPELIBDIR
659 INTROSPECTION_GENERATE
660 INTROSPECTION_COMPILER
661 INTROSPECTION_SCANNER
665 GSETTINGS_DISABLE_SCHEMAS_COMPILE
666 TEST_PRINT_BACKEND_FALSE
667 TEST_PRINT_BACKEND_TRUE
708 USE_EXTERNAL_ICON_CACHE_FALSE
709 USE_EXTERNAL_ICON_CACHE_TRUE
710 GTK_UPDATE_ICON_CACHE
711 CROSS_COMPILING_FALSE
715 INCLUDE_IM_VIQR_FALSE
717 INCLUDE_IM_TI_ET_FALSE
718 INCLUDE_IM_TI_ET_TRUE
719 INCLUDE_IM_TI_ER_FALSE
720 INCLUDE_IM_TI_ER_TRUE
721 INCLUDE_IM_THAI_FALSE
723 INCLUDE_IM_MULTIPRESS_FALSE
724 INCLUDE_IM_MULTIPRESS_TRUE
727 INCLUDE_IM_INUKTITUT_FALSE
728 INCLUDE_IM_INUKTITUT_TRUE
731 INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE
732 INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE
733 INCLUDE_IM_CEDILLA_FALSE
734 INCLUDE_IM_CEDILLA_TRUE
735 INCLUDE_IM_AM_ET_FALSE
736 INCLUDE_IM_AM_ET_TRUE
737 INCLUDED_IMMODULE_DEFINE
738 INCLUDED_IMMODULE_OBJ
739 HAVE_INCLUDED_IMMMODULES_FALSE
740 HAVE_INCLUDED_IMMMODULES_TRUE
741 BUILD_DYNAMIC_MODULES_FALSE
742 BUILD_DYNAMIC_MODULES_TRUE
743 GLIB_COMPILE_RESOURCES
769 DISABLE_EXPLICIT_DEPS_FALSE
770 DISABLE_EXPLICIT_DEPS_TRUE
771 LIBTOOL_EXPORT_OPTIONS
776 BASE_DEPENDENCIES_LIBS
777 BASE_DEPENDENCIES_CFLAGS
790 BUILD_ICON_CACHE_FALSE
791 BUILD_ICON_CACHE_TRUE
792 MS_LIB_AVAILABLE_FALSE
793 MS_LIB_AVAILABLE_TRUE
804 am__fastdepCCAS_FALSE
843 EXE_MANIFEST_ARCHITECTURE
871 GAIL_LT_CURRENT_MINUS_AGE
888 MAINTAINER_MODE_FALSE
898 INSTALL_STRIP_PROGRAM
913 INTROSPECTION_REQUIRED_VERSION
914 GDK_PIXBUF_REQUIRED_VERSION
915 CAIRO_REQUIRED_VERSION
917 PANGO_REQUIRED_VERSION
918 GLIB_REQUIRED_VERSION
946 program_transform_name
959 enable_option_checking
960 enable_maintainer_mode
962 enable_dependency_tracking
973 enable_gtk2_dependency
982 enable_quartz_backend
983 enable_broadway_backend
984 enable_wayland_backend
985 enable_quartz_relocation
989 with_included_immodules
993 enable_test_print_backend
994 enable_schemas_compile
1006 ac_precious_vars='build_alias
1024 BASE_DEPENDENCIES_CFLAGS
1025 BASE_DEPENDENCIES_LIBS
1026 CAIRO_BACKEND_CFLAGS
1037 # Initialize some variables set by options.
1039 ac_init_version=false
1040 ac_unrecognized_opts=
1041 ac_unrecognized_sep=
1042 # The variables have the same names as the options, with
1043 # dashes changed to underlines.
1044 cache_file=/dev/null
1051 program_transform_name=s,x,x,
1059 # Installation directory options.
1060 # These are left unexpanded so users can "make install exec_prefix=/foo"
1061 # and all the variables that are supposed to be based on exec_prefix
1062 # by default will actually change.
1063 # Use braces instead of parens because sh, perl, etc. also accept them.
1064 # (The list follows the same order as the GNU Coding Standards.)
1065 bindir='${exec_prefix}/bin'
1066 sbindir='${exec_prefix}/sbin'
1067 libexecdir='${exec_prefix}/libexec'
1068 datarootdir='${prefix}/share'
1069 datadir='${datarootdir}'
1070 sysconfdir='${prefix}/etc'
1071 sharedstatedir='${prefix}/com'
1072 localstatedir='${prefix}/var'
1073 includedir='${prefix}/include'
1074 oldincludedir='/usr/include'
1075 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1076 infodir='${datarootdir}/info'
1081 libdir='${exec_prefix}/lib'
1082 localedir='${datarootdir}/locale'
1083 mandir='${datarootdir}/man'
1089 # If the previous option needs an argument, assign it.
1090 if test -n "$ac_prev"; then
1091 eval $ac_prev=\$ac_option
1097 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1102 # Accept the important Cygnus configure options, so we can diagnose typos.
1104 case $ac_dashdash$ac_option in
1108 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1110 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1111 bindir=$ac_optarg ;;
1113 -build | --build | --buil | --bui | --bu)
1114 ac_prev=build_alias ;;
1115 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1116 build_alias=$ac_optarg ;;
1118 -cache-file | --cache-file | --cache-fil | --cache-fi \
1119 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1120 ac_prev=cache_file ;;
1121 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1122 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1123 cache_file=$ac_optarg ;;
1125 --config-cache | -C)
1126 cache_file=config.cache ;;
1128 -datadir | --datadir | --datadi | --datad)
1130 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1131 datadir=$ac_optarg ;;
1133 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1134 | --dataroo | --dataro | --datar)
1135 ac_prev=datarootdir ;;
1136 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1137 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1138 datarootdir=$ac_optarg ;;
1140 -disable-* | --disable-*)
1141 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144 as_fn_error $? "invalid feature name: $ac_useropt"
1145 ac_useropt_orig=$ac_useropt
1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1149 "enable_$ac_useropt"
1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1152 ac_unrecognized_sep=', ';;
1154 eval enable_$ac_useropt=no ;;
1156 -docdir | --docdir | --docdi | --doc | --do)
1158 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1159 docdir=$ac_optarg ;;
1161 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1163 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1164 dvidir=$ac_optarg ;;
1166 -enable-* | --enable-*)
1167 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170 as_fn_error $? "invalid feature name: $ac_useropt"
1171 ac_useropt_orig=$ac_useropt
1172 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1175 "enable_$ac_useropt"
1177 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1178 ac_unrecognized_sep=', ';;
1180 eval enable_$ac_useropt=\$ac_optarg ;;
1182 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184 | --exec | --exe | --ex)
1185 ac_prev=exec_prefix ;;
1186 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188 | --exec=* | --exe=* | --ex=*)
1189 exec_prefix=$ac_optarg ;;
1191 -gas | --gas | --ga | --g)
1192 # Obsolete; use --with-gas.
1195 -help | --help | --hel | --he | -h)
1196 ac_init_help=long ;;
1197 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1198 ac_init_help=recursive ;;
1199 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1200 ac_init_help=short ;;
1202 -host | --host | --hos | --ho)
1203 ac_prev=host_alias ;;
1204 -host=* | --host=* | --hos=* | --ho=*)
1205 host_alias=$ac_optarg ;;
1207 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 htmldir=$ac_optarg ;;
1213 -includedir | --includedir | --includedi | --included | --include \
1214 | --includ | --inclu | --incl | --inc)
1215 ac_prev=includedir ;;
1216 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217 | --includ=* | --inclu=* | --incl=* | --inc=*)
1218 includedir=$ac_optarg ;;
1220 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223 infodir=$ac_optarg ;;
1225 -libdir | --libdir | --libdi | --libd)
1227 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228 libdir=$ac_optarg ;;
1230 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231 | --libexe | --libex | --libe)
1232 ac_prev=libexecdir ;;
1233 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234 | --libexe=* | --libex=* | --libe=*)
1235 libexecdir=$ac_optarg ;;
1237 -localedir | --localedir | --localedi | --localed | --locale)
1238 ac_prev=localedir ;;
1239 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240 localedir=$ac_optarg ;;
1242 -localstatedir | --localstatedir | --localstatedi | --localstated \
1243 | --localstate | --localstat | --localsta | --localst | --locals)
1244 ac_prev=localstatedir ;;
1245 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247 localstatedir=$ac_optarg ;;
1249 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252 mandir=$ac_optarg ;;
1254 -nfp | --nfp | --nf)
1255 # Obsolete; use --without-fp.
1258 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259 | --no-cr | --no-c | -n)
1262 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1266 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268 | --oldin | --oldi | --old | --ol | --o)
1269 ac_prev=oldincludedir ;;
1270 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273 oldincludedir=$ac_optarg ;;
1275 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278 prefix=$ac_optarg ;;
1280 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281 | --program-pre | --program-pr | --program-p)
1282 ac_prev=program_prefix ;;
1283 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285 program_prefix=$ac_optarg ;;
1287 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288 | --program-suf | --program-su | --program-s)
1289 ac_prev=program_suffix ;;
1290 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292 program_suffix=$ac_optarg ;;
1294 -program-transform-name | --program-transform-name \
1295 | --program-transform-nam | --program-transform-na \
1296 | --program-transform-n | --program-transform- \
1297 | --program-transform | --program-transfor \
1298 | --program-transfo | --program-transf \
1299 | --program-trans | --program-tran \
1300 | --progr-tra | --program-tr | --program-t)
1301 ac_prev=program_transform_name ;;
1302 -program-transform-name=* | --program-transform-name=* \
1303 | --program-transform-nam=* | --program-transform-na=* \
1304 | --program-transform-n=* | --program-transform-=* \
1305 | --program-transform=* | --program-transfor=* \
1306 | --program-transfo=* | --program-transf=* \
1307 | --program-trans=* | --program-tran=* \
1308 | --progr-tra=* | --program-tr=* | --program-t=*)
1309 program_transform_name=$ac_optarg ;;
1311 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314 pdfdir=$ac_optarg ;;
1316 -psdir | --psdir | --psdi | --psd | --ps)
1318 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322 | -silent | --silent | --silen | --sile | --sil)
1325 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 sbindir=$ac_optarg ;;
1331 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333 | --sharedst | --shareds | --shared | --share | --shar \
1335 ac_prev=sharedstatedir ;;
1336 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 sharedstatedir=$ac_optarg ;;
1342 -site | --site | --sit)
1344 -site=* | --site=* | --sit=*)
1347 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350 srcdir=$ac_optarg ;;
1352 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353 | --syscon | --sysco | --sysc | --sys | --sy)
1354 ac_prev=sysconfdir ;;
1355 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357 sysconfdir=$ac_optarg ;;
1359 -target | --target | --targe | --targ | --tar | --ta | --t)
1360 ac_prev=target_alias ;;
1361 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362 target_alias=$ac_optarg ;;
1364 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1367 -version | --version | --versio | --versi | --vers | -V)
1368 ac_init_version=: ;;
1371 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372 # Reject names that are not valid shell variable names.
1373 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1374 as_fn_error $? "invalid package name: $ac_useropt"
1375 ac_useropt_orig=$ac_useropt
1376 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1377 case $ac_user_opts in
1381 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1382 ac_unrecognized_sep=', ';;
1384 eval with_$ac_useropt=\$ac_optarg ;;
1386 -without-* | --without-*)
1387 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1388 # Reject names that are not valid shell variable names.
1389 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1390 as_fn_error $? "invalid package name: $ac_useropt"
1391 ac_useropt_orig=$ac_useropt
1392 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1393 case $ac_user_opts in
1397 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1398 ac_unrecognized_sep=', ';;
1400 eval with_$ac_useropt=no ;;
1403 # Obsolete; use --with-x.
1406 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1407 | --x-incl | --x-inc | --x-in | --x-i)
1408 ac_prev=x_includes ;;
1409 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1410 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1411 x_includes=$ac_optarg ;;
1413 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1414 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1415 ac_prev=x_libraries ;;
1416 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1417 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1418 x_libraries=$ac_optarg ;;
1420 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1421 Try \`$0 --help' for more information"
1425 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1426 # Reject names that are not valid shell variable names.
1427 case $ac_envvar in #(
1428 '' | [0-9]* | *[!_$as_cr_alnum]* )
1429 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1431 eval $ac_envvar=\$ac_optarg
1432 export $ac_envvar ;;
1435 # FIXME: should be removed in autoconf 3.0.
1436 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1437 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1438 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1439 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1445 if test -n "$ac_prev"; then
1446 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1447 as_fn_error $? "missing argument to $ac_option"
1450 if test -n "$ac_unrecognized_opts"; then
1451 case $enable_option_checking in
1453 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1454 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1458 # Check all directory arguments for consistency.
1459 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1460 datadir sysconfdir sharedstatedir localstatedir includedir \
1461 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1462 libdir localedir mandir
1464 eval ac_val=\$$ac_var
1465 # Remove trailing slashes.
1468 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1469 eval $ac_var=\$ac_val;;
1471 # Be sure to have absolute directory names.
1473 [\\/$]* | ?:[\\/]* ) continue;;
1474 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1476 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1479 # There might be people who depend on the old broken behavior: `$host'
1480 # used to hold the argument of --host etc.
1481 # FIXME: To remove some day.
1484 target=$target_alias
1486 # FIXME: To remove some day.
1487 if test "x$host_alias" != x; then
1488 if test "x$build_alias" = x; then
1489 cross_compiling=maybe
1490 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1491 If a cross compiler is detected then cross compile mode will be used" >&2
1492 elif test "x$build_alias" != "x$host_alias"; then
1498 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1500 test "$silent" = yes && exec 6>/dev/null
1503 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1504 ac_ls_di=`ls -di .` &&
1505 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1506 as_fn_error $? "working directory cannot be determined"
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 as_fn_error $? "pwd does not report name of working directory"
1511 # Find the source files, if location was not specified.
1512 if test -z "$srcdir"; then
1513 ac_srcdir_defaulted=yes
1514 # Try the directory containing this script, then the parent directory.
1515 ac_confdir=`$as_dirname -- "$as_myself" ||
1516 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1517 X"$as_myself" : 'X\(//\)[^/]' \| \
1518 X"$as_myself" : 'X\(//\)$' \| \
1519 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1520 $as_echo X"$as_myself" |
1521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1539 if test ! -r "$srcdir/$ac_unique_file"; then
1543 ac_srcdir_defaulted=no
1545 if test ! -r "$srcdir/$ac_unique_file"; then
1546 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1547 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1549 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1551 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1553 # When building in place, set srcdir=.
1554 if test "$ac_abs_confdir" = "$ac_pwd"; then
1557 # Remove unnecessary trailing slashes from srcdir.
1558 # Double slashes in file names in object file debugging info
1559 # mess up M-x gdb in Emacs.
1561 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1563 for ac_var in $ac_precious_vars; do
1564 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1565 eval ac_env_${ac_var}_value=\$${ac_var}
1566 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1567 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1571 # Report the --help message.
1573 if test "$ac_init_help" = "long"; then
1574 # Omit some internal or obsolete options to make the list less imposing.
1575 # This message is too long to be a string in the A/UX 3.1 sh.
1577 \`configure' configures gtk+ 3.4.0 to adapt to many kinds of systems.
1579 Usage: $0 [OPTION]... [VAR=VALUE]...
1581 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1582 VAR=VALUE. See below for descriptions of some of the useful variables.
1584 Defaults for the options are specified in brackets.
1587 -h, --help display this help and exit
1588 --help=short display options specific to this package
1589 --help=recursive display the short help of all the included packages
1590 -V, --version display version information and exit
1591 -q, --quiet, --silent do not print \`checking ...' messages
1592 --cache-file=FILE cache test results in FILE [disabled]
1593 -C, --config-cache alias for \`--cache-file=config.cache'
1594 -n, --no-create do not create output files
1595 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1597 Installation directories:
1598 --prefix=PREFIX install architecture-independent files in PREFIX
1599 [$ac_default_prefix]
1600 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1603 By default, \`make install' will install all the files in
1604 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1605 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1606 for instance \`--prefix=\$HOME'.
1608 For better control, use the options below.
1610 Fine tuning of the installation directories:
1611 --bindir=DIR user executables [EPREFIX/bin]
1612 --sbindir=DIR system admin executables [EPREFIX/sbin]
1613 --libexecdir=DIR program executables [EPREFIX/libexec]
1614 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1615 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1616 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1617 --libdir=DIR object code libraries [EPREFIX/lib]
1618 --includedir=DIR C header files [PREFIX/include]
1619 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1620 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1621 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1622 --infodir=DIR info documentation [DATAROOTDIR/info]
1623 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1624 --mandir=DIR man documentation [DATAROOTDIR/man]
1625 --docdir=DIR documentation root [DATAROOTDIR/doc/gtk+]
1626 --htmldir=DIR html documentation [DOCDIR]
1627 --dvidir=DIR dvi documentation [DOCDIR]
1628 --pdfdir=DIR pdf documentation [DOCDIR]
1629 --psdir=DIR ps documentation [DOCDIR]
1635 --program-prefix=PREFIX prepend PREFIX to installed program names
1636 --program-suffix=SUFFIX append SUFFIX to installed program names
1637 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1640 --x-includes=DIR X include files are in DIR
1641 --x-libraries=DIR X library files are in DIR
1644 --build=BUILD configure for building on BUILD [guessed]
1645 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1649 if test -n "$ac_init_help"; then
1650 case $ac_init_help in
1651 short | recursive ) echo "Configuration of gtk+ 3.4.0:";;
1656 --disable-option-checking ignore unrecognized --enable/--with options
1657 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1658 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1659 --disable-maintainer-mode disable make rules and dependencies not useful
1660 (and sometimes confusing) to the casual installer
1661 --enable-silent-rules less verbose build output (undo: `make V=1')
1662 --disable-silent-rules verbose build output (undo: `make V=0')
1663 --disable-dependency-tracking speeds up one-time build
1664 --enable-dependency-tracking do not reject slow dependency extractors
1665 --enable-static[=PKGS] build static libraries [default=no]
1666 --enable-shared[=PKGS] build shared libraries [default=yes]
1667 --enable-fast-install[=PKGS]
1668 optimize for fast installation [default=yes]
1669 --disable-libtool-lock avoid locking (might break parallel builds)
1670 --disable-largefile omit support for large files
1671 --enable-debug=[no/minimum/yes]
1672 turn on debugging [default=debug_default]
1673 --disable-rebuilds disable all source autogeneration rules
1674 --enable-gtk2-dependency
1675 Do not build gtk-update-icon-cache and other shared
1677 --enable-xkb support XKB extension [default=maybe]
1678 --enable-xinerama support Xinerama extension [default=maybe]
1679 --enable-xrandr support XRandR extension [default=maybe]
1680 --enable-xfixes support XFixes extension [default=maybe]
1681 --enable-xcomposite support X Composite extension [default=maybe]
1682 --enable-xdamage support X Damage extension [default=maybe]
1683 --enable-x11-backend enable the X11 gdk backend
1684 --enable-win32-backend enable the Win32 gdk backend
1685 --enable-quartz-backend enable the quartz gdk backend
1686 --enable-broadway-backend
1687 enable the broadway (HTML5) gdk backend
1688 --enable-wayland-backend
1689 enable the wayland gdk backend
1690 --enable-quartz-relocation
1691 enable bundle-based relocation functions
1692 --enable-explicit-deps=[yes/no/auto]
1693 use explicit dependencies in .pc files
1695 --disable-glibtest do not try to compile and run a test GLIB program
1696 --disable-modules disable dynamic module loading
1697 --disable-cups disable cups print backend
1698 --disable-papi disable papi print backend
1699 --enable-test-print-backend
1700 build test print backend
1701 --disable-schemas-compile
1702 Disable regeneration of gschemas.compiled on install
1703 --enable-introspection=[no/auto/yes]
1704 Enable introspection for this build
1705 --enable-packagekit=[yes/no/auto]
1706 build PackageKit open-with module [default=auto]
1707 --enable-colord=[yes/no/auto]
1708 build colord support code [default=auto]
1709 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1710 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1711 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1712 --enable-man regenerate man pages from Docbook [default=no]
1713 --disable-Bsymbolic avoid linking with -Bsymbolic
1716 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1717 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1718 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1720 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1721 --with-sysroot=DIR Search for dependent libraries within DIR
1722 (or the compiler's sysroot if not specified).
1723 --with-included-immodules=MODULE1,MODULE2,...
1724 build the specified input methods into gtk
1725 --with-x use the X Window System
1726 --with-html-dir=PATH path to installed docs
1727 --with-xml-catalog=CATALOG
1728 path to xml catalog to use
1730 Some influential environment variables:
1731 CC C compiler command
1732 CFLAGS C compiler flags
1733 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1734 nonstandard directory <lib dir>
1735 LIBS libraries to pass to the linker, e.g. -l<library>
1736 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1737 you have headers in a nonstandard directory <include dir>
1738 CXX C++ compiler command
1739 CXXFLAGS C++ compiler flags
1741 CXXCPP C++ preprocessor
1742 CCAS assembler compiler command (defaults to CC)
1743 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1744 PKG_CONFIG path to pkg-config utility
1746 directories to add to pkg-config's search path
1748 path overriding pkg-config's built-in search path
1749 BASE_DEPENDENCIES_CFLAGS
1750 C compiler flags for BASE_DEPENDENCIES, overriding pkg-config
1751 BASE_DEPENDENCIES_LIBS
1752 linker flags for BASE_DEPENDENCIES, overriding pkg-config
1753 CAIRO_BACKEND_CFLAGS
1754 C compiler flags for CAIRO_BACKEND, overriding pkg-config
1756 linker flags for CAIRO_BACKEND, overriding pkg-config
1758 C compiler flags for GMODULE, overriding pkg-config
1760 linker flags for GMODULE, overriding pkg-config
1761 XMKMF Path to xmkmf, Makefile generator for X Window System
1763 C compiler flags for COLORD, overriding pkg-config
1764 COLORD_LIBS linker flags for COLORD, overriding pkg-config
1766 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1768 linker flags for GTKDOC_DEPS, overriding pkg-config
1770 Use these variables to override the choices made by `configure' or to help
1771 it to find libraries and programs with nonstandard names/locations.
1773 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B>.
1778 if test "$ac_init_help" = "recursive"; then
1779 # If there are subdirs, report their specific --help.
1780 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1781 test -d "$ac_dir" ||
1782 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1787 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1789 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1790 # A ".." for each directory in $ac_dir_suffix.
1791 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1792 case $ac_top_builddir_sub in
1793 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1794 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1797 ac_abs_top_builddir=$ac_pwd
1798 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1799 # for backward compatibility:
1800 ac_top_builddir=$ac_top_build_prefix
1803 .) # We are building in place.
1805 ac_top_srcdir=$ac_top_builddir_sub
1806 ac_abs_top_srcdir=$ac_pwd ;;
1807 [\\/]* | ?:[\\/]* ) # Absolute name.
1808 ac_srcdir=$srcdir$ac_dir_suffix;
1809 ac_top_srcdir=$srcdir
1810 ac_abs_top_srcdir=$srcdir ;;
1812 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1813 ac_top_srcdir=$ac_top_build_prefix$srcdir
1814 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1816 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1818 cd "$ac_dir" || { ac_status=$?; continue; }
1819 # Check for guested configure.
1820 if test -f "$ac_srcdir/configure.gnu"; then
1822 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1823 elif test -f "$ac_srcdir/configure"; then
1825 $SHELL "$ac_srcdir/configure" --help=recursive
1827 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1829 cd "$ac_pwd" || { ac_status=$?; break; }
1833 test -n "$ac_init_help" && exit $ac_status
1834 if $ac_init_version; then
1836 gtk+ configure 3.4.0
1837 generated by GNU Autoconf 2.68
1839 Copyright (C) 2010 Free Software Foundation, Inc.
1840 This configure script is free software; the Free Software Foundation
1841 gives unlimited permission to copy, distribute and modify it.
1846 ## ------------------------ ##
1847 ## Autoconf initialization. ##
1848 ## ------------------------ ##
1850 # ac_fn_c_try_compile LINENO
1851 # --------------------------
1852 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1853 ac_fn_c_try_compile ()
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 rm -f conftest.$ac_objext
1857 if { { ac_try="$ac_compile"
1859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1860 *) ac_try_echo=$ac_try;;
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_compile") 2>conftest.err
1866 if test -s conftest.err; then
1867 grep -v '^ *+' conftest.err >conftest.er1
1868 cat conftest.er1 >&5
1869 mv -f conftest.er1 conftest.err
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } && {
1873 test -z "$ac_c_werror_flag" ||
1874 test ! -s conftest.err
1875 } && test -s conftest.$ac_objext; then :
1878 $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 as_fn_set_status $ac_retval
1886 } # ac_fn_c_try_compile
1888 # ac_fn_cxx_try_compile LINENO
1889 # ----------------------------
1890 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1891 ac_fn_cxx_try_compile ()
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 rm -f conftest.$ac_objext
1895 if { { ac_try="$ac_compile"
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_compile") 2>conftest.err
1904 if test -s conftest.err; then
1905 grep -v '^ *+' conftest.err >conftest.er1
1906 cat conftest.er1 >&5
1907 mv -f conftest.er1 conftest.err
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; } && {
1911 test -z "$ac_cxx_werror_flag" ||
1912 test ! -s conftest.err
1913 } && test -s conftest.$ac_objext; then :
1916 $as_echo "$as_me: failed program was:" >&5
1917 sed 's/^/| /' conftest.$ac_ext >&5
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922 as_fn_set_status $ac_retval
1924 } # ac_fn_cxx_try_compile
1926 # ac_fn_c_try_link LINENO
1927 # -----------------------
1928 # Try to link conftest.$ac_ext, and return whether this succeeded.
1931 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1932 rm -f conftest.$ac_objext conftest$ac_exeext
1933 if { { ac_try="$ac_link"
1935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1936 *) ac_try_echo=$ac_try;;
1938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 $as_echo "$ac_try_echo"; } >&5
1940 (eval "$ac_link") 2>conftest.err
1942 if test -s conftest.err; then
1943 grep -v '^ *+' conftest.err >conftest.er1
1944 cat conftest.er1 >&5
1945 mv -f conftest.er1 conftest.err
1947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1948 test $ac_status = 0; } && {
1949 test -z "$ac_c_werror_flag" ||
1950 test ! -s conftest.err
1951 } && test -s conftest$ac_exeext && {
1952 test "$cross_compiling" = yes ||
1953 $as_test_x conftest$ac_exeext
1957 $as_echo "$as_me: failed program was:" >&5
1958 sed 's/^/| /' conftest.$ac_ext >&5
1962 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1963 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1964 # interfere with the next link command; also delete a directory that is
1965 # left behind by Apple's compiler. We do this before executing the actions.
1966 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 as_fn_set_status $ac_retval
1970 } # ac_fn_c_try_link
1972 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1973 # -------------------------------------------------------
1974 # Tests whether HEADER exists and can be compiled using the include files in
1975 # INCLUDES, setting the cache variable VAR accordingly.
1976 ac_fn_c_check_header_compile ()
1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1980 $as_echo_n "checking for $2... " >&6; }
1981 if eval \${$3+:} false; then :
1982 $as_echo_n "(cached) " >&6
1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1989 if ac_fn_c_try_compile "$LINENO"; then :
1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998 $as_echo "$ac_res" >&6; }
1999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2001 } # ac_fn_c_check_header_compile
2003 # ac_fn_c_try_cpp LINENO
2004 # ----------------------
2005 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009 if { { ac_try="$ac_cpp conftest.$ac_ext"
2011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2012 *) ac_try_echo=$ac_try;;
2014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2015 $as_echo "$ac_try_echo"; } >&5
2016 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2018 if test -s conftest.err; then
2019 grep -v '^ *+' conftest.err >conftest.er1
2020 cat conftest.er1 >&5
2021 mv -f conftest.er1 conftest.err
2023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2024 test $ac_status = 0; } > conftest.i && {
2025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2026 test ! -s conftest.err
2030 $as_echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.$ac_ext >&5
2035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2036 as_fn_set_status $ac_retval
2040 # ac_fn_c_try_run LINENO
2041 # ----------------------
2042 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2043 # that executables *can* be run.
2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047 if { { ac_try="$ac_link"
2049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2050 *) ac_try_echo=$ac_try;;
2052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2053 $as_echo "$ac_try_echo"; } >&5
2054 (eval "$ac_link") 2>&5
2056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2057 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2058 { { case "(($ac_try" in
2059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060 *) ac_try_echo=$ac_try;;
2062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063 $as_echo "$ac_try_echo"; } >&5
2064 (eval "$ac_try") 2>&5
2066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067 test $ac_status = 0; }; }; then :
2070 $as_echo "$as_me: program exited with status $ac_status" >&5
2071 $as_echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.$ac_ext >&5
2074 ac_retval=$ac_status
2076 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078 as_fn_set_status $ac_retval
2082 # ac_fn_c_check_func LINENO FUNC VAR
2083 # ----------------------------------
2084 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2085 ac_fn_c_check_func ()
2087 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2089 $as_echo_n "checking for $2... " >&6; }
2090 if eval \${$3+:} false; then :
2091 $as_echo_n "(cached) " >&6
2093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2095 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2097 #define $2 innocuous_$2
2099 /* System header to define __stub macros and hopefully few prototypes,
2100 which can conflict with char $2 (); below.
2101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2102 <limits.h> exists even on freestanding compilers. */
2105 # include <limits.h>
2107 # include <assert.h>
2112 /* Override any GCC internal prototype to avoid an error.
2113 Use char because int might match the return type of a GCC
2114 builtin and then its argument prototype would still apply. */
2119 /* The GNU C library defines this for functions which it implements
2120 to always fail with ENOSYS. Some functions are actually named
2121 something starting with __ and the normal name is an alias. */
2122 #if defined __stub_$2 || defined __stub___$2
2134 if ac_fn_c_try_link "$LINENO"; then :
2139 rm -f core conftest.err conftest.$ac_objext \
2140 conftest$ac_exeext conftest.$ac_ext
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2144 $as_echo "$ac_res" >&6; }
2145 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2147 } # ac_fn_c_check_func
2149 # ac_fn_cxx_try_cpp LINENO
2150 # ------------------------
2151 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2152 ac_fn_cxx_try_cpp ()
2154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155 if { { ac_try="$ac_cpp conftest.$ac_ext"
2157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2158 *) ac_try_echo=$ac_try;;
2160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2161 $as_echo "$ac_try_echo"; } >&5
2162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2164 if test -s conftest.err; then
2165 grep -v '^ *+' conftest.err >conftest.er1
2166 cat conftest.er1 >&5
2167 mv -f conftest.er1 conftest.err
2169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2170 test $ac_status = 0; } > conftest.i && {
2171 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2172 test ! -s conftest.err
2176 $as_echo "$as_me: failed program was:" >&5
2177 sed 's/^/| /' conftest.$ac_ext >&5
2181 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182 as_fn_set_status $ac_retval
2184 } # ac_fn_cxx_try_cpp
2186 # ac_fn_cxx_try_link LINENO
2187 # -------------------------
2188 # Try to link conftest.$ac_ext, and return whether this succeeded.
2189 ac_fn_cxx_try_link ()
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 rm -f conftest.$ac_objext conftest$ac_exeext
2193 if { { ac_try="$ac_link"
2195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2196 *) ac_try_echo=$ac_try;;
2198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2199 $as_echo "$ac_try_echo"; } >&5
2200 (eval "$ac_link") 2>conftest.err
2202 if test -s conftest.err; then
2203 grep -v '^ *+' conftest.err >conftest.er1
2204 cat conftest.er1 >&5
2205 mv -f conftest.er1 conftest.err
2207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2208 test $ac_status = 0; } && {
2209 test -z "$ac_cxx_werror_flag" ||
2210 test ! -s conftest.err
2211 } && test -s conftest$ac_exeext && {
2212 test "$cross_compiling" = yes ||
2213 $as_test_x conftest$ac_exeext
2217 $as_echo "$as_me: failed program was:" >&5
2218 sed 's/^/| /' conftest.$ac_ext >&5
2222 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2223 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2224 # interfere with the next link command; also delete a directory that is
2225 # left behind by Apple's compiler. We do this before executing the actions.
2226 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2227 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2228 as_fn_set_status $ac_retval
2230 } # ac_fn_cxx_try_link
2232 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2233 # -------------------------------------------------------
2234 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2235 # the include files in INCLUDES and setting the cache variable VAR
2237 ac_fn_c_check_header_mongrel ()
2239 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2240 if eval \${$3+:} false; then :
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2242 $as_echo_n "checking for $2... " >&6; }
2243 if eval \${$3+:} false; then :
2244 $as_echo_n "(cached) " >&6
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 $as_echo "$ac_res" >&6; }
2250 # Is the header compilable?
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2252 $as_echo_n "checking $2 usability... " >&6; }
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2258 if ac_fn_c_try_compile "$LINENO"; then :
2259 ac_header_compiler=yes
2261 ac_header_compiler=no
2263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2265 $as_echo "$ac_header_compiler" >&6; }
2267 # Is the header present?
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2269 $as_echo_n "checking $2 presence... " >&6; }
2270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2271 /* end confdefs.h. */
2274 if ac_fn_c_try_cpp "$LINENO"; then :
2275 ac_header_preproc=yes
2277 ac_header_preproc=no
2279 rm -f conftest.err conftest.i conftest.$ac_ext
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2281 $as_echo "$ac_header_preproc" >&6; }
2283 # So? What about this header?
2284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2287 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2289 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2293 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2295 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2297 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2299 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2301 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2302 ( $as_echo "## --------------------------------------------------------------------- ##
2303 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B ##
2304 ## --------------------------------------------------------------------- ##"
2305 ) | sed "s/^/$as_me: WARNING: /" >&2
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2309 $as_echo_n "checking for $2... " >&6; }
2310 if eval \${$3+:} false; then :
2311 $as_echo_n "(cached) " >&6
2313 eval "$3=\$ac_header_compiler"
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2317 $as_echo "$ac_res" >&6; }
2319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2321 } # ac_fn_c_check_header_mongrel
2323 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2324 # ----------------------------------------------------
2325 # Tries to find if the field MEMBER exists in type AGGR, after including
2326 # INCLUDES, setting cache variable VAR accordingly.
2327 ac_fn_c_check_member ()
2329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2331 $as_echo_n "checking for $2.$3... " >&6; }
2332 if eval \${$4+:} false; then :
2333 $as_echo_n "(cached) " >&6
2335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2348 if ac_fn_c_try_compile "$LINENO"; then :
2351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2358 if (sizeof ac_aggr.$3)
2364 if ac_fn_c_try_compile "$LINENO"; then :
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2375 $as_echo "$ac_res" >&6; }
2376 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2378 } # ac_fn_c_check_member
2380 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2381 # -------------------------------------------
2382 # Tests whether TYPE exists after having included INCLUDES, setting cache
2383 # variable VAR accordingly.
2384 ac_fn_c_check_type ()
2386 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2388 $as_echo_n "checking for $2... " >&6; }
2389 if eval \${$3+:} false; then :
2390 $as_echo_n "(cached) " >&6
2393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2394 /* end confdefs.h. */
2405 if ac_fn_c_try_compile "$LINENO"; then :
2406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2407 /* end confdefs.h. */
2418 if ac_fn_c_try_compile "$LINENO"; then :
2423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2429 $as_echo "$ac_res" >&6; }
2430 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2432 } # ac_fn_c_check_type
2433 cat >config.log <<_ACEOF
2434 This file contains any messages produced by compilers while
2435 running configure, to aid debugging if configure makes a mistake.
2437 It was created by gtk+ $as_me 3.4.0, which was
2438 generated by GNU Autoconf 2.68. Invocation command line was
2450 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2451 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2452 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2453 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2454 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2456 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2457 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2459 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2460 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2461 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2462 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2463 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2464 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2465 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2473 test -z "$as_dir" && as_dir=.
2474 $as_echo "PATH: $as_dir"
2490 # Keep a trace of the command line.
2491 # Strip out --no-create and --no-recursion so they do not pile up.
2492 # Strip out --silent because we don't want to record it for future runs.
2493 # Also quote any args containing shell meta-characters.
2494 # Make two passes to allow for proper duplicate-argument suppression.
2498 ac_must_keep_next=false
2504 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2505 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2506 | -silent | --silent | --silen | --sile | --sil)
2509 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2512 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2514 as_fn_append ac_configure_args1 " '$ac_arg'"
2515 if test $ac_must_keep_next = true; then
2516 ac_must_keep_next=false # Got value, back to normal.
2519 *=* | --config-cache | -C | -disable-* | --disable-* \
2520 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2521 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2522 | -with-* | --with-* | -without-* | --without-* | --x)
2523 case "$ac_configure_args0 " in
2524 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2527 -* ) ac_must_keep_next=true ;;
2530 as_fn_append ac_configure_args " '$ac_arg'"
2535 { ac_configure_args0=; unset ac_configure_args0;}
2536 { ac_configure_args1=; unset ac_configure_args1;}
2538 # When interrupted or exit'd, cleanup temporary files, and complete
2539 # config.log. We remove comments because anyway the quotes in there
2540 # would cause problems or look ugly.
2541 # WARNING: Use '\'' to represent an apostrophe within the trap.
2542 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2543 trap 'exit_status=$?
2544 # Save into config.log some information that might help in debugging.
2548 $as_echo "## ---------------- ##
2549 ## Cache variables. ##
2550 ## ---------------- ##"
2552 # The following way of writing the cache mishandles newlines in values,
2554 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2555 eval ac_val=\$$ac_var
2559 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2560 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2563 _ | IFS | as_nl) ;; #(
2564 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2565 *) { eval $ac_var=; unset $ac_var;} ;;
2570 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2571 *${as_nl}ac_space=\ *)
2573 "s/'\''/'\''\\\\'\'''\''/g;
2574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2577 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2584 $as_echo "## ----------------- ##
2585 ## Output variables. ##
2586 ## ----------------- ##"
2588 for ac_var in $ac_subst_vars
2590 eval ac_val=\$$ac_var
2592 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2594 $as_echo "$ac_var='\''$ac_val'\''"
2598 if test -n "$ac_subst_files"; then
2599 $as_echo "## ------------------- ##
2600 ## File substitutions. ##
2601 ## ------------------- ##"
2603 for ac_var in $ac_subst_files
2605 eval ac_val=\$$ac_var
2607 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2609 $as_echo "$ac_var='\''$ac_val'\''"
2614 if test -s confdefs.h; then
2615 $as_echo "## ----------- ##
2622 test "$ac_signal" != 0 &&
2623 $as_echo "$as_me: caught signal $ac_signal"
2624 $as_echo "$as_me: exit $exit_status"
2626 rm -f core *.core core.conftest.* &&
2627 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2630 for ac_signal in 1 2 13 15; do
2631 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2635 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2636 rm -f -r conftest* confdefs.h
2638 $as_echo "/* confdefs.h */" > confdefs.h
2640 # Predefined preprocessor variables.
2642 cat >>confdefs.h <<_ACEOF
2643 #define PACKAGE_NAME "$PACKAGE_NAME"
2646 cat >>confdefs.h <<_ACEOF
2647 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2650 cat >>confdefs.h <<_ACEOF
2651 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2654 cat >>confdefs.h <<_ACEOF
2655 #define PACKAGE_STRING "$PACKAGE_STRING"
2658 cat >>confdefs.h <<_ACEOF
2659 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2662 cat >>confdefs.h <<_ACEOF
2663 #define PACKAGE_URL "$PACKAGE_URL"
2667 # Let the site file select an alternate cache file if it wants to.
2668 # Prefer an explicitly selected file to automatically selected ones.
2671 if test -n "$CONFIG_SITE"; then
2672 # We do not want a PATH search for config.site.
2673 case $CONFIG_SITE in #((
2674 -*) ac_site_file1=./$CONFIG_SITE;;
2675 */*) ac_site_file1=$CONFIG_SITE;;
2676 *) ac_site_file1=./$CONFIG_SITE;;
2678 elif test "x$prefix" != xNONE; then
2679 ac_site_file1=$prefix/share/config.site
2680 ac_site_file2=$prefix/etc/config.site
2682 ac_site_file1=$ac_default_prefix/share/config.site
2683 ac_site_file2=$ac_default_prefix/etc/config.site
2685 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2687 test "x$ac_site_file" = xNONE && continue
2688 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2690 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2691 sed 's/^/| /' "$ac_site_file" >&5
2693 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2695 as_fn_error $? "failed to load site script $ac_site_file
2696 See \`config.log' for more details" "$LINENO" 5; }
2700 if test -r "$cache_file"; then
2701 # Some versions of bash will fail to source /dev/null (special files
2702 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2703 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2705 $as_echo "$as_me: loading cache $cache_file" >&6;}
2707 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2708 *) . "./$cache_file";;
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2713 $as_echo "$as_me: creating cache $cache_file" >&6;}
2717 as_fn_append ac_header_list " stdlib.h"
2718 as_fn_append ac_header_list " unistd.h"
2719 as_fn_append ac_header_list " sys/param.h"
2720 # Check that the precious variables saved in the cache have kept the same
2722 ac_cache_corrupted=false
2723 for ac_var in $ac_precious_vars; do
2724 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2725 eval ac_new_set=\$ac_env_${ac_var}_set
2726 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2727 eval ac_new_val=\$ac_env_${ac_var}_value
2728 case $ac_old_set,$ac_new_set in
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2731 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2732 ac_cache_corrupted=: ;;
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2735 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2736 ac_cache_corrupted=: ;;
2739 if test "x$ac_old_val" != "x$ac_new_val"; then
2740 # differences in whitespace do not lead to failure.
2741 ac_old_val_w=`echo x $ac_old_val`
2742 ac_new_val_w=`echo x $ac_new_val`
2743 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2745 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2746 ac_cache_corrupted=:
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2749 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2750 eval $ac_var=\$ac_old_val
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2753 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2755 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2758 # Pass precious variables to config.status.
2759 if test "$ac_new_set" = set; then
2761 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2762 *) ac_arg=$ac_var=$ac_new_val ;;
2764 case " $ac_configure_args " in
2765 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2766 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2770 if $ac_cache_corrupted; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2774 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2775 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2777 ## -------------------- ##
2778 ## Main body of script. ##
2779 ## -------------------- ##
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2789 ac_config_headers="$ac_config_headers config.h"
2794 for ac_dir in build-aux "$srcdir"/build-aux; do
2795 if test -f "$ac_dir/install-sh"; then
2797 ac_install_sh="$ac_aux_dir/install-sh -c"
2799 elif test -f "$ac_dir/install.sh"; then
2801 ac_install_sh="$ac_aux_dir/install.sh -c"
2803 elif test -f "$ac_dir/shtool"; then
2805 ac_install_sh="$ac_aux_dir/shtool install -c"
2809 if test -z "$ac_aux_dir"; then
2810 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2813 # These three variables are undocumented and unsupported,
2814 # and are intended to be withdrawn in a future Autoconf release.
2815 # They can cause serious problems if a builder's source tree is in a directory
2816 # whose full name contains unusual characters.
2817 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2818 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2819 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2823 # Define a string for the earliest version that this release has
2824 # backwards binary compatibility with for all interfaces a module
2825 # might. Unless we add module-only API with lower stability
2826 # guarantees, this should be unchanged until we break binary compat
2829 #GTK_BINARY_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$LT_CURRENT
2832 # required versions of other packages
2839 GLIB_REQUIRED_VERSION=2.31.20
2840 PANGO_REQUIRED_VERSION=1.29.0
2841 ATK_REQUIRED_VERSION=2.1.5
2842 CAIRO_REQUIRED_VERSION=1.10.0
2843 GDK_PIXBUF_REQUIRED_VERSION=2.25.2
2844 INTROSPECTION_REQUIRED_VERSION=0.10.1
2853 # Save this value here, since automake will set cflags later
2854 cflags_set=${CFLAGS+set}
2856 am__api_version='1.11'
2858 # Find a good install program. We prefer a C program (faster),
2859 # so one script is as good as another. But avoid the broken or
2860 # incompatible versions:
2861 # SysV /etc/install, /usr/sbin/install
2862 # SunOS /usr/etc/install
2863 # IRIX /sbin/install
2865 # AmigaOS /C/install, which installs bootblocks on floppy discs
2866 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2867 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2868 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2869 # OS/2's system install, which has a completely different semantic
2870 # ./install, which can be erroneously created by make from ./install.sh.
2871 # Reject install programs that cannot install multiple files.
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2873 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2874 if test -z "$INSTALL"; then
2875 if ${ac_cv_path_install+:} false; then :
2876 $as_echo_n "(cached) " >&6
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir=.
2883 # Account for people who put trailing slashes in PATH elements.
2884 case $as_dir/ in #((
2885 ./ | .// | /[cC]/* | \
2886 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2887 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2890 # OSF1 and SCO ODT 3.0 have their own names for install.
2891 # Don't use installbsd from OSF since it installs stuff as root
2893 for ac_prog in ginstall scoinst install; do
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2896 if test $ac_prog = install &&
2897 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2898 # AIX install. It has an incompatible calling convention.
2900 elif test $ac_prog = install &&
2901 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2902 # program-specific install script used by HP pwplus--don't use.
2905 rm -rf conftest.one conftest.two conftest.dir
2906 echo one > conftest.one
2907 echo two > conftest.two
2909 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2910 test -s conftest.one && test -s conftest.two &&
2911 test -s conftest.dir/conftest.one &&
2912 test -s conftest.dir/conftest.two
2914 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2927 rm -rf conftest.one conftest.two conftest.dir
2930 if test "${ac_cv_path_install+set}" = set; then
2931 INSTALL=$ac_cv_path_install
2933 # As a last resort, use the slow shell script. Don't cache a
2934 # value for INSTALL within a source directory, because that will
2935 # break other packages using the cache if that directory is
2936 # removed, or if the value is a relative name.
2937 INSTALL=$ac_install_sh
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2941 $as_echo "$INSTALL" >&6; }
2943 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2944 # It thinks the first close brace ends the variable substitution.
2945 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2947 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2949 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2952 $as_echo_n "checking whether build environment is sane... " >&6; }
2955 echo timestamp > conftest.file
2956 # Reject unsafe characters in $srcdir or the absolute working directory
2957 # name. Accept space and tab only in the latter.
2961 *[\\\"\#\$\&\'\`$am_lf]*)
2962 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2965 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2966 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2969 # Do `set' in a subshell so we don't clobber the current shell's
2970 # arguments. Must try -L first in case configure is actually a
2971 # symlink; some systems play weird games with the mod time of symlinks
2972 # (eg FreeBSD returns the mod time of the symlink's containing
2975 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2976 if test "$*" = "X"; then
2978 set X `ls -t "$srcdir/configure" conftest.file`
2981 if test "$*" != "X $srcdir/configure conftest.file" \
2982 && test "$*" != "X conftest.file $srcdir/configure"; then
2984 # If neither matched, then we have a broken ls. This can happen
2985 # if, for instance, CONFIG_SHELL is bash and it inherits a
2986 # broken ls alias from the environment. This has actually
2987 # happened. Such a system could not be considered "sane".
2988 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2989 alias in your environment" "$LINENO" 5
2992 test "$2" = conftest.file
2998 as_fn_error $? "newly created file is older than distributed files!
2999 Check your system clock" "$LINENO" 5
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3002 $as_echo "yes" >&6; }
3003 test "$program_prefix" != NONE &&
3004 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3005 # Use a double $ so make ignores it.
3006 test "$program_suffix" != NONE &&
3007 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3008 # Double any \ or $.
3009 # By default was `s,x,x', remove it if useless.
3010 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3011 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3013 # expand $ac_aux_dir to an absolute path
3014 am_aux_dir=`cd $ac_aux_dir && pwd`
3016 if test x"${MISSING+set}" != xset; then
3019 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3021 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3024 # Use eval to expand $SHELL
3025 if eval "$MISSING --run true"; then
3026 am_missing_run="$MISSING --run "
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3030 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3033 if test x"${install_sh}" != xset; then
3036 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3038 install_sh="\${SHELL} $am_aux_dir/install-sh"
3042 # Installed binaries are usually stripped using `strip' when the user
3043 # run `make install-strip'. However `strip' might not be the right
3044 # tool to use in cross-compilation environments, therefore Automake
3045 # will honor the `STRIP' environment variable to overrule this program.
3046 if test "$cross_compiling" != no; then
3047 if test -n "$ac_tool_prefix"; then
3048 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3049 set dummy ${ac_tool_prefix}strip; ac_word=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051 $as_echo_n "checking for $ac_word... " >&6; }
3052 if ${ac_cv_prog_STRIP+:} false; then :
3053 $as_echo_n "(cached) " >&6
3055 if test -n "$STRIP"; then
3056 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3062 test -z "$as_dir" && as_dir=.
3063 for ac_exec_ext in '' $ac_executable_extensions; do
3064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3065 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 STRIP=$ac_cv_prog_STRIP
3076 if test -n "$STRIP"; then
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3078 $as_echo "$STRIP" >&6; }
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081 $as_echo "no" >&6; }
3086 if test -z "$ac_cv_prog_STRIP"; then
3088 # Extract the first word of "strip", so it can be a program name with args.
3089 set dummy strip; ac_word=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$ac_ct_STRIP"; then
3096 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105 ac_cv_prog_ac_ct_STRIP="strip"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3116 if test -n "$ac_ct_STRIP"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3118 $as_echo "$ac_ct_STRIP" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3124 if test "x$ac_ct_STRIP" = x; then
3127 case $cross_compiling:$ac_tool_warned in
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3131 ac_tool_warned=yes ;;
3136 STRIP="$ac_cv_prog_STRIP"
3140 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3143 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3144 if test -z "$MKDIR_P"; then
3145 if ${ac_cv_path_mkdir+:} false; then :
3146 $as_echo_n "(cached) " >&6
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3152 test -z "$as_dir" && as_dir=.
3153 for ac_prog in mkdir gmkdir; do
3154 for ac_exec_ext in '' $ac_executable_extensions; do
3155 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3156 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3157 'mkdir (GNU coreutils) '* | \
3158 'mkdir (coreutils) '* | \
3159 'mkdir (fileutils) '4.1*)
3160 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3170 test -d ./--version && rmdir ./--version
3171 if test "${ac_cv_path_mkdir+set}" = set; then
3172 MKDIR_P="$ac_cv_path_mkdir -p"
3174 # As a last resort, use the slow shell script. Don't cache a
3175 # value for MKDIR_P within a source directory, because that will
3176 # break other packages using the cache if that directory is
3177 # removed, or if the value is a relative name.
3178 MKDIR_P="$ac_install_sh -d"
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3182 $as_echo "$MKDIR_P" >&6; }
3186 [\\/$]* | ?:[\\/]*) ;;
3187 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3190 for ac_prog in gawk mawk nawk awk
3192 # Extract the first word of "$ac_prog", so it can be a program name with args.
3193 set dummy $ac_prog; 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_AWK+:} false; then :
3197 $as_echo_n "(cached) " >&6
3199 if test -n "$AWK"; then
3200 ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog"
3210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 if test -n "$AWK"; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3222 $as_echo "$AWK" >&6; }
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3229 test -n "$AWK" && break
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3233 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3235 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3236 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3237 $as_echo_n "(cached) " >&6
3239 cat >conftest.make <<\_ACEOF
3242 @echo '@@@%%%=$(MAKE)=@@@%%%'
3244 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3245 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3247 eval ac_cv_prog_make_${ac_make}_set=yes;;
3249 eval ac_cv_prog_make_${ac_make}_set=no;;
3253 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3255 $as_echo "yes" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 SET_MAKE="MAKE=${MAKE-make}"
3263 rm -rf .tst 2>/dev/null
3264 mkdir .tst 2>/dev/null
3265 if test -d .tst; then
3270 rmdir .tst 2>/dev/null
3272 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3273 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3274 # is not polluted with repeated "-I."
3275 am__isrc=' -I$(srcdir)'
3276 # test to see if srcdir already configured
3277 if test -f $srcdir/config.status; then
3278 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3282 # test whether we have cygpath
3283 if test -z "$CYGPATH_W"; then
3284 if (cygpath --version) >/dev/null 2>/dev/null; then
3285 CYGPATH_W='cygpath -w'
3292 # Define the identity of the package.
3297 # Some tools Automake needs.
3299 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3302 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3305 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3308 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3311 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3313 # We need awk for the "check" target. The system "awk" is bad on
3315 # Always define AMTAR for backward compatibility. Yes, it's still used
3316 # in the wild :-( We should find a proper way to deprecate it ...
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3321 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3322 # Loop over all known methods to create a tar archive until one works.
3323 _am_tools='gnutar plaintar pax cpio none'
3324 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3325 # Do not fold the above two line into one, because Tru64 sh and
3326 # Solaris sh will not grok spaces in the rhs of `-'.
3327 for _am_tool in $_am_tools
3331 for _am_tar in tar gnutar gtar;
3333 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3334 ($_am_tar --version) >&5 2>&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } && break
3339 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3340 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3341 am__untar="$_am_tar -xf -"
3344 # Must skip GNU tar: if it does not support --format= it doesn't create
3345 # ustar tarball either.
3346 (tar --version) >/dev/null 2>&1 && continue
3347 am__tar='tar chf - "$$tardir"'
3348 am__tar_='tar chf - "$tardir"'
3349 am__untar='tar xf -'
3352 am__tar='pax -L -x ustar -w "$$tardir"'
3353 am__tar_='pax -L -x ustar -w "$tardir"'
3357 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3358 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3359 am__untar='cpio -i -H ustar -d'
3368 # If the value was cached, stop now. We just wanted to have am__tar
3369 # and am__untar set.
3370 test -n "${am_cv_prog_tar_ustar}" && break
3372 # tar/untar a dummy directory, and stop if the command works
3375 echo GrepMe > conftest.dir/file
3376 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3377 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }
3382 if test -s conftest.tar; then
3383 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3384 ($am__untar <conftest.tar) >&5 2>&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); }
3388 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3393 if ${am_cv_prog_tar_ustar+:} false; then :
3394 $as_echo_n "(cached) " >&6
3396 am_cv_prog_tar_ustar=$_am_tool
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3400 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3408 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3409 # Check whether --enable-maintainer-mode was given.
3410 if test "${enable_maintainer_mode+set}" = set; then :
3411 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3413 USE_MAINTAINER_MODE=yes
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3417 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3418 if test $USE_MAINTAINER_MODE = yes; then
3419 MAINTAINER_MODE_TRUE=
3420 MAINTAINER_MODE_FALSE='#'
3422 MAINTAINER_MODE_TRUE='#'
3423 MAINTAINER_MODE_FALSE=
3426 MAINT=$MAINTAINER_MODE_TRUE
3430 # Support silent build rules. Disable
3431 # by either passing --disable-silent-rules to configure or passing V=1
3433 # Check whether --enable-silent-rules was given.
3434 if test "${enable_silent_rules+set}" = set; then :
3435 enableval=$enable_silent_rules;
3438 case $enable_silent_rules in
3439 yes) AM_DEFAULT_VERBOSITY=0;;
3440 no) AM_DEFAULT_VERBOSITY=1;;
3441 *) AM_DEFAULT_VERBOSITY=0;;
3443 am_make=${MAKE-make}
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3445 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3446 if ${am_cv_make_support_nested_variables+:} false; then :
3447 $as_echo_n "(cached) " >&6
3449 if $as_echo 'TRUE=$(BAR$(V))
3455 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3456 am_cv_make_support_nested_variables=yes
3458 am_cv_make_support_nested_variables=no
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3462 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3463 if test $am_cv_make_support_nested_variables = yes; then
3465 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3467 AM_V=$AM_DEFAULT_VERBOSITY
3468 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3474 # For each of the libraries we build, we define the following
3475 # substituted variables:
3477 # foo_PACKAGES: pkg-config packages this library requires
3478 # foo_EXTRA_LIBS: Libraries this module requires not pulled in by pkg-config
3479 # foo_EXTRA_CFLAGS: cflags this module requires not pulled in by pkg-config
3480 # foo_DEP_LIBS: All libraries this module requires
3481 # foo_DEP_CFLAGS: All cflags this module requires
3491 GTK_BINARY_VERSION=3.0.0
3501 # libtool versioning
3502 #LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
3503 #LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
3504 #LT_REVISION=$GTK_INTERFACE_AGE
3505 #LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
3506 #LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
3511 LT_VERSION_INFO="400:0:400"
3512 LT_CURRENT_MINUS_AGE=0
3521 GAIL_LT_VERSION_INFO=0:0:0
3523 GAIL_LT_CURRENT_MINUS_AGE=0
3526 # Checks for programs.
3528 ac_cpp='$CPP $CPPFLAGS'
3529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3532 if test -n "$ac_tool_prefix"; then
3533 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3534 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if ${ac_cv_prog_CC+:} false; then :
3538 $as_echo_n "(cached) " >&6
3540 if test -n "$CC"; then
3541 ac_cv_prog_CC="$CC" # Let the user override the test.
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir=.
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 if test -n "$CC"; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563 $as_echo "$CC" >&6; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3571 if test -z "$ac_cv_prog_CC"; then
3573 # Extract the first word of "gcc", so it can be a program name with args.
3574 set dummy gcc; ac_word=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 if test -n "$ac_ct_CC"; then
3581 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 test -z "$as_dir" && as_dir=.
3588 for ac_exec_ext in '' $ac_executable_extensions; do
3589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3590 ac_cv_prog_ac_ct_CC="gcc"
3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3601 if test -n "$ac_ct_CC"; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3603 $as_echo "$ac_ct_CC" >&6; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3609 if test "x$ac_ct_CC" = x; then
3612 case $cross_compiling:$ac_tool_warned in
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3616 ac_tool_warned=yes ;;
3624 if test -z "$CC"; then
3625 if test -n "$ac_tool_prefix"; then
3626 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3627 set dummy ${ac_tool_prefix}cc; ac_word=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if ${ac_cv_prog_CC+:} false; then :
3631 $as_echo_n "(cached) " >&6
3633 if test -n "$CC"; then
3634 ac_cv_prog_CC="$CC" # Let the user override the test.
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir=.
3641 for ac_exec_ext in '' $ac_executable_extensions; do
3642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3643 ac_cv_prog_CC="${ac_tool_prefix}cc"
3644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 if test -n "$CC"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3656 $as_echo "$CC" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3665 if test -z "$CC"; then
3666 # Extract the first word of "cc", so it can be a program name with args.
3667 set dummy cc; ac_word=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if ${ac_cv_prog_CC+:} false; then :
3671 $as_echo_n "(cached) " >&6
3673 if test -n "$CC"; then
3674 ac_cv_prog_CC="$CC" # Let the user override the test.
3677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 test -z "$as_dir" && as_dir=.
3682 for ac_exec_ext in '' $ac_executable_extensions; do
3683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3684 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3685 ac_prog_rejected=yes
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 if test $ac_prog_rejected = yes; then
3697 # We found a bogon in the path, so make sure we never use it.
3698 set dummy $ac_cv_prog_CC
3700 if test $# != 0; then
3701 # We chose a different compiler from the bogus one.
3702 # However, it has the same basename, so the bogon will be chosen
3703 # first if we set CC to just the basename; use the full file name.
3705 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3711 if test -n "$CC"; then
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3713 $as_echo "$CC" >&6; }
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3721 if test -z "$CC"; then
3722 if test -n "$ac_tool_prefix"; then
3723 for ac_prog in cl.exe
3725 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if ${ac_cv_prog_CC+:} false; then :
3730 $as_echo_n "(cached) " >&6
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3762 test -n "$CC" && break
3765 if test -z "$CC"; then
3767 for ac_prog in cl.exe
3769 # Extract the first word of "$ac_prog", so it can be a program name with args.
3770 set dummy $ac_prog; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3774 $as_echo_n "(cached) " >&6
3776 if test -n "$ac_ct_CC"; then
3777 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 ac_cv_prog_ac_ct_CC="$ac_prog"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3797 if test -n "$ac_ct_CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3799 $as_echo "$ac_ct_CC" >&6; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3806 test -n "$ac_ct_CC" && break
3809 if test "x$ac_ct_CC" = x; then
3812 case $cross_compiling:$ac_tool_warned in
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3816 ac_tool_warned=yes ;;
3825 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827 as_fn_error $? "no acceptable C compiler found in \$PATH
3828 See \`config.log' for more details" "$LINENO" 5; }
3830 # Provide some information about the compiler.
3831 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3834 for ac_option in --version -v -V -qversion; do
3835 { { ac_try="$ac_compiler $ac_option >&5"
3837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3838 *) ac_try_echo=$ac_try;;
3840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3841 $as_echo "$ac_try_echo"; } >&5
3842 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3844 if test -s conftest.err; then
3846 ... rest of stderr output deleted ...
3847 10q' conftest.err >conftest.er1
3848 cat conftest.er1 >&5
3850 rm -f conftest.er1 conftest.err
3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852 test $ac_status = 0; }
3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3866 ac_clean_files_save=$ac_clean_files
3867 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3868 # Try to create an executable without -o first, disregard a.out.
3869 # It will help us diagnose broken compilers, and finding out an intuition
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3872 $as_echo_n "checking whether the C compiler works... " >&6; }
3873 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3875 # The possible output files:
3876 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3879 for ac_file in $ac_files
3882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3883 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3888 if { { ac_try="$ac_link_default"
3890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891 *) ac_try_echo=$ac_try;;
3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3894 $as_echo "$ac_try_echo"; } >&5
3895 (eval "$ac_link_default") 2>&5
3897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3898 test $ac_status = 0; }; then :
3899 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3900 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3901 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3902 # so that the user can short-circuit this test for compilers unknown to
3904 for ac_file in $ac_files ''
3906 test -f "$ac_file" || continue
3908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3911 # We found the default executable, but exeext='' is most
3915 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3917 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3919 # We set ac_cv_exeext here because the later test for it is not
3920 # safe: cross compilers may not add the suffix if given an `-o'
3921 # argument, so we may need to know it at that point already.
3922 # Even if this section looks crufty: it has the advantage of
3929 test "$ac_cv_exeext" = no && ac_cv_exeext=
3934 if test -z "$ac_file"; then :
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3937 $as_echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.$ac_ext >&5
3940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3942 as_fn_error 77 "C compiler cannot create executables
3943 See \`config.log' for more details" "$LINENO" 5; }
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3946 $as_echo "yes" >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3949 $as_echo_n "checking for C compiler default output file name... " >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3951 $as_echo "$ac_file" >&6; }
3952 ac_exeext=$ac_cv_exeext
3954 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3955 ac_clean_files=$ac_clean_files_save
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3957 $as_echo_n "checking for suffix of executables... " >&6; }
3958 if { { ac_try="$ac_link"
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3964 $as_echo "$ac_try_echo"; } >&5
3965 (eval "$ac_link") 2>&5
3967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968 test $ac_status = 0; }; then :
3969 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3970 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3971 # work properly (i.e., refer to `conftest.exe'), while it won't with
3973 for ac_file in conftest.exe conftest conftest.*; do
3974 test -f "$ac_file" || continue
3976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3977 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3986 See \`config.log' for more details" "$LINENO" 5; }
3988 rm -f conftest conftest$ac_cv_exeext
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3990 $as_echo "$ac_cv_exeext" >&6; }
3992 rm -f conftest.$ac_ext
3993 EXEEXT=$ac_cv_exeext
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
4001 FILE *f = fopen ("conftest.out", "w");
4002 return ferror (f) || fclose (f) != 0;
4008 ac_clean_files="$ac_clean_files conftest.out"
4009 # Check that the compiler produces executables we can run. If not, either
4010 # the compiler is broken, or we cross compile.
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4012 $as_echo_n "checking whether we are cross compiling... " >&6; }
4013 if test "$cross_compiling" != yes; then
4014 { { ac_try="$ac_link"
4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017 *) ac_try_echo=$ac_try;;
4019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4020 $as_echo "$ac_try_echo"; } >&5
4021 (eval "$ac_link") 2>&5
4023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024 test $ac_status = 0; }
4025 if { ac_try='./conftest$ac_cv_exeext'
4026 { { case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032 (eval "$ac_try") 2>&5
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; }; }; then
4038 if test "$cross_compiling" = maybe; then
4041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4043 as_fn_error $? "cannot run C compiled programs.
4044 If you meant to cross compile, use \`--host'.
4045 See \`config.log' for more details" "$LINENO" 5; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4050 $as_echo "$cross_compiling" >&6; }
4052 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4053 ac_clean_files=$ac_clean_files_save
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4055 $as_echo_n "checking for suffix of object files... " >&6; }
4056 if ${ac_cv_objext+:} false; then :
4057 $as_echo_n "(cached) " >&6
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4070 rm -f conftest.o conftest.obj
4071 if { { ac_try="$ac_compile"
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4077 $as_echo "$ac_try_echo"; } >&5
4078 (eval "$ac_compile") 2>&5
4080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4081 test $ac_status = 0; }; then :
4082 for ac_file in conftest.o conftest.obj conftest.*; do
4083 test -f "$ac_file" || continue;
4085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4086 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4091 $as_echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.$ac_ext >&5
4094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4096 as_fn_error $? "cannot compute suffix of object files: cannot compile
4097 See \`config.log' for more details" "$LINENO" 5; }
4099 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4102 $as_echo "$ac_cv_objext" >&6; }
4103 OBJEXT=$ac_cv_objext
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4106 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4107 if ${ac_cv_c_compiler_gnu+:} false; then :
4108 $as_echo_n "(cached) " >&6
4110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4124 if ac_fn_c_try_compile "$LINENO"; then :
4129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4130 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4134 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4135 if test $ac_compiler_gnu = yes; then
4140 ac_test_CFLAGS=${CFLAGS+set}
4141 ac_save_CFLAGS=$CFLAGS
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4143 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4144 if ${ac_cv_prog_cc_g+:} false; then :
4145 $as_echo_n "(cached) " >&6
4147 ac_save_c_werror_flag=$ac_c_werror_flag
4148 ac_c_werror_flag=yes
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4162 if ac_fn_c_try_compile "$LINENO"; then :
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4177 if ac_fn_c_try_compile "$LINENO"; then :
4180 ac_c_werror_flag=$ac_save_c_werror_flag
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4193 if ac_fn_c_try_compile "$LINENO"; then :
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 ac_c_werror_flag=$ac_save_c_werror_flag
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4204 $as_echo "$ac_cv_prog_cc_g" >&6; }
4205 if test "$ac_test_CFLAGS" = set; then
4206 CFLAGS=$ac_save_CFLAGS
4207 elif test $ac_cv_prog_cc_g = yes; then
4208 if test "$GCC" = yes; then
4214 if test "$GCC" = yes; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4221 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4222 if ${ac_cv_prog_cc_c89+:} false; then :
4223 $as_echo_n "(cached) " >&6
4225 ac_cv_prog_cc_c89=no
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4231 #include <sys/types.h>
4232 #include <sys/stat.h>
4233 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4234 struct buf { int x; };
4235 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4236 static char *e (p, i)
4242 static char *f (char * (*g) (char **, int), char **p, ...)
4247 s = g (p, va_arg (v,int));
4252 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4253 function prototypes and stuff, but not '\xHH' hex character constants.
4254 These don't provoke an error unfortunately, instead are silently treated
4255 as 'x'. The following induces an error, until -std is added to get
4256 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4257 array size at least. It's necessary to write '\x00'==0 to get something
4258 that's true only with -std. */
4259 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4262 inside strings and character constants. */
4264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4266 int test (int i, double x);
4267 struct s1 {int (*f) (int a);};
4268 struct s2 {int (*f) (double a);};
4269 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4275 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4280 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4281 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4283 CC="$ac_save_CC $ac_arg"
4284 if ac_fn_c_try_compile "$LINENO"; then :
4285 ac_cv_prog_cc_c89=$ac_arg
4287 rm -f core conftest.err conftest.$ac_objext
4288 test "x$ac_cv_prog_cc_c89" != "xno" && break
4290 rm -f conftest.$ac_ext
4295 case "x$ac_cv_prog_cc_c89" in
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4298 $as_echo "none needed" >&6; } ;;
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4301 $as_echo "unsupported" >&6; } ;;
4303 CC="$CC $ac_cv_prog_cc_c89"
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4305 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4307 if test "x$ac_cv_prog_cc_c89" != xno; then :
4312 ac_cpp='$CPP $CPPFLAGS'
4313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4316 DEPDIR="${am__leading_dot}deps"
4318 ac_config_commands="$ac_config_commands depfiles"
4321 am_make=${MAKE-make}
4322 cat > confinc << 'END'
4324 @echo this is the am__doit target
4327 # If we don't find an include directive, just comment out the code.
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4329 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4333 # First try GNU make style include.
4334 echo "include confinc" > confmf
4335 # Ignore all kinds of additional output from `make'.
4336 case `$am_make -s -f confmf 2> /dev/null` in #(
4337 *the\ am__doit\ target*)
4343 # Now try BSD make style include.
4344 if test "$am__include" = "#"; then
4345 echo '.include "confinc"' > confmf
4346 case `$am_make -s -f confmf 2> /dev/null` in #(
4347 *the\ am__doit\ target*)
4348 am__include=.include
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4357 $as_echo "$_am_result" >&6; }
4358 rm -f confinc confmf
4360 # Check whether --enable-dependency-tracking was given.
4361 if test "${enable_dependency_tracking+set}" = set; then :
4362 enableval=$enable_dependency_tracking;
4365 if test "x$enable_dependency_tracking" != xno; then
4366 am_depcomp="$ac_aux_dir/depcomp"
4370 if test "x$enable_dependency_tracking" != xno; then
4380 depcc="$CC" am_compiler_list=
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4383 $as_echo_n "checking dependency style of $depcc... " >&6; }
4384 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4388 # We make a subdir and do the tests there. Otherwise we can end up
4389 # making bogus files that we don't know about and never remove. For
4390 # instance it was reported that on HP-UX the gcc test will end up
4391 # making a dummy file named `D' -- because `-MD' means `put the output
4395 # Copy depcomp to subdir because otherwise we won't find it if we're
4396 # using a relative directory.
4397 cp "$am_depcomp" conftest.dir
4399 # We will build objects and dependencies in a subdirectory because
4400 # it helps to detect inapplicable dependency modes. For instance
4401 # both Tru64's cc and ICC support -MD to output dependencies as a
4402 # side effect of compilation, but ICC will put the dependencies in
4403 # the current directory while Tru64 will put them in the object
4407 am_cv_CC_dependencies_compiler_type=none
4408 if test "$am_compiler_list" = ""; then
4409 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4412 case " $depcc " in #(
4413 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4416 for depmode in $am_compiler_list; do
4417 # Setup a source with many dependencies, because some compilers
4418 # like to wrap large dependency lists on column 80 (with \), and
4419 # we should not choose a depcomp mode which is confused by this.
4421 # We need to recreate these files for each test, as the compiler may
4422 # overwrite some of them when testing with obscure command lines.
4423 # This happens at least with the AIX C compiler.
4425 for i in 1 2 3 4 5 6; do
4426 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4427 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4428 # Solaris 8's {/usr,}/bin/sh.
4429 touch sub/conftst$i.h
4431 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4433 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4434 # mode. It turns out that the SunPro C++ compiler does not properly
4435 # handle `-M -o', and we need to detect this. Also, some Intel
4436 # versions had trouble with output in subdirs
4437 am__obj=sub/conftest.${OBJEXT-o}
4438 am__minus_obj="-o $am__obj"
4441 # This depmode causes a compiler race in universal mode.
4442 test "$am__universal" = false || continue
4445 # after this tag, mechanisms are not by side-effect, so they'll
4446 # only be used when explicitly requested
4447 if test "x$enable_dependency_tracking" = xyes; then
4453 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4454 # This compiler won't grok `-c -o', but also, the minuso test has
4455 # not run yet. These depmodes are late enough in the game, and
4456 # so weak that their functioning should not be impacted.
4457 am__obj=conftest.${OBJEXT-o}
4462 if depmode=$depmode \
4463 source=sub/conftest.c object=$am__obj \
4464 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4465 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4466 >/dev/null 2>conftest.err &&
4467 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4468 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4469 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4470 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4471 # icc doesn't choke on unknown options, it will just issue warnings
4472 # or remarks (even with -Werror). So we grep stderr for any message
4473 # that says an option was ignored or not supported.
4474 # When given -MP, icc 7.0 and 7.1 complain thusly:
4475 # icc: Command line warning: ignoring option '-M'; no argument required
4476 # The diagnosis changed in icc 8.0:
4477 # icc: Command line remark: option '-MP' not supported
4478 if (grep 'ignoring option' conftest.err ||
4479 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4480 am_cv_CC_dependencies_compiler_type=$depmode
4489 am_cv_CC_dependencies_compiler_type=none
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4494 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4495 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4498 test "x$enable_dependency_tracking" != xno \
4499 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4501 am__fastdepCC_FALSE='#'
4503 am__fastdepCC_TRUE='#'
4504 am__fastdepCC_FALSE=
4508 if test "x$CC" != xcc; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4510 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4513 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4515 set dummy $CC; ac_cc=`$as_echo "$2" |
4516 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4517 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4518 $as_echo_n "(cached) " >&6
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4531 # Make sure it works both with $CC and with simple cc.
4532 # We do the test twice because some compilers refuse to overwrite an
4533 # existing .o file with -o, though they will create one.
4534 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4536 if { { case "(($ac_try" in
4537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4541 $as_echo "$ac_try_echo"; } >&5
4542 (eval "$ac_try") 2>&5
4544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4545 test $ac_status = 0; } &&
4546 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4548 *) ac_try_echo=$ac_try;;
4550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4551 $as_echo "$ac_try_echo"; } >&5
4552 (eval "$ac_try") 2>&5
4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555 test $ac_status = 0; };
4557 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4558 if test "x$CC" != xcc; then
4559 # Test first that cc exists at all.
4560 if { ac_try='cc -c conftest.$ac_ext >&5'
4561 { { case "(($ac_try" in
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4566 $as_echo "$ac_try_echo"; } >&5
4567 (eval "$ac_try") 2>&5
4569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4570 test $ac_status = 0; }; }; then
4571 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4573 if { { case "(($ac_try" in
4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575 *) ac_try_echo=$ac_try;;
4577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4578 $as_echo "$ac_try_echo"; } >&5
4579 (eval "$ac_try") 2>&5
4581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4582 test $ac_status = 0; } &&
4583 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4588 $as_echo "$ac_try_echo"; } >&5
4589 (eval "$ac_try") 2>&5
4591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4592 test $ac_status = 0; };
4597 # cc exists but doesn't like -o.
4598 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4603 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4605 rm -f core conftest*
4608 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4610 $as_echo "yes" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4615 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4619 case $ac_cv_prog_cc_stdc in #(
4621 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4624 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4625 if ${ac_cv_prog_cc_c99+:} false; then :
4626 $as_echo_n "(cached) " >&6
4628 ac_cv_prog_cc_c99=no
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4633 #include <stdbool.h>
4638 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4639 #define debug(...) fprintf (stderr, __VA_ARGS__)
4640 #define showlist(...) puts (#__VA_ARGS__)
4641 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4643 test_varargs_macros (void)
4648 debug ("X = %d\n", x);
4649 showlist (The first, second, and third items.);
4650 report (x>y, "x is %d but y is %d", x, y);
4653 // Check long long types.
4654 #define BIG64 18446744073709551615ull
4655 #define BIG32 4294967295ul
4656 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4658 your preprocessor is broken;
4662 your preprocessor is broken;
4664 static long long int bignum = -9223372036854775807LL;
4665 static unsigned long long int ubignum = BIG64;
4667 struct incomplete_array
4675 const wchar_t *name;
4679 typedef const char *ccp;
4682 test_restrict (ccp restrict text)
4684 // See if C++-style comments work.
4685 // Iterate through items via the restricted pointer.
4686 // Also check for declarations in for loops.
4687 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4692 // Check varargs and va_copy.
4694 test_varargs (const char *format, ...)
4697 va_start (args, format);
4699 va_copy (args_copy, args);
4710 str = va_arg (args_copy, const char *);
4713 number = va_arg (args_copy, int);
4716 fnumber = va_arg (args_copy, double);
4731 _Bool success = false;
4734 if (test_restrict ("String literal") == 0)
4736 char *restrict newvar = "Another string";
4739 test_varargs ("s, d' f .", "string", 65, 34.234);
4740 test_varargs_macros ();
4742 // Check flexible array members.
4743 struct incomplete_array *ia =
4744 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4746 for (int i = 0; i < ia->datasize; ++i)
4747 ia->data[i] = i * 1.234;
4749 // Check named initializers.
4750 struct named_init ni = {
4752 .name = L"Test wide string",
4753 .average = 543.34343,
4758 int dynamic_array[ni.number];
4759 dynamic_array[ni.number - 1] = 543;
4761 // work around unused variable warnings
4762 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4763 || dynamic_array[ni.number - 1] != 543);
4769 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4771 CC="$ac_save_CC $ac_arg"
4772 if ac_fn_c_try_compile "$LINENO"; then :
4773 ac_cv_prog_cc_c99=$ac_arg
4775 rm -f core conftest.err conftest.$ac_objext
4776 test "x$ac_cv_prog_cc_c99" != "xno" && break
4778 rm -f conftest.$ac_ext
4783 case "x$ac_cv_prog_cc_c99" in
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4786 $as_echo "none needed" >&6; } ;;
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4789 $as_echo "unsupported" >&6; } ;;
4791 CC="$CC $ac_cv_prog_cc_c99"
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4793 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4795 if test "x$ac_cv_prog_cc_c99" != xno; then :
4796 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4799 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4800 if ${ac_cv_prog_cc_c89+:} false; then :
4801 $as_echo_n "(cached) " >&6
4803 ac_cv_prog_cc_c89=no
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4809 #include <sys/types.h>
4810 #include <sys/stat.h>
4811 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4812 struct buf { int x; };
4813 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4814 static char *e (p, i)
4820 static char *f (char * (*g) (char **, int), char **p, ...)
4825 s = g (p, va_arg (v,int));
4830 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4831 function prototypes and stuff, but not '\xHH' hex character constants.
4832 These don't provoke an error unfortunately, instead are silently treated
4833 as 'x'. The following induces an error, until -std is added to get
4834 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4835 array size at least. It's necessary to write '\x00'==0 to get something
4836 that's true only with -std. */
4837 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4839 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4840 inside strings and character constants. */
4842 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4844 int test (int i, double x);
4845 struct s1 {int (*f) (int a);};
4846 struct s2 {int (*f) (double a);};
4847 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4853 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4858 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4859 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4861 CC="$ac_save_CC $ac_arg"
4862 if ac_fn_c_try_compile "$LINENO"; then :
4863 ac_cv_prog_cc_c89=$ac_arg
4865 rm -f core conftest.err conftest.$ac_objext
4866 test "x$ac_cv_prog_cc_c89" != "xno" && break
4868 rm -f conftest.$ac_ext
4873 case "x$ac_cv_prog_cc_c89" in
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4876 $as_echo "none needed" >&6; } ;;
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4879 $as_echo "unsupported" >&6; } ;;
4881 CC="$CC $ac_cv_prog_cc_c89"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4883 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4885 if test "x$ac_cv_prog_cc_c89" != xno; then :
4886 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4888 ac_cv_prog_cc_stdc=no
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4895 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4896 if ${ac_cv_prog_cc_stdc+:} false; then :
4897 $as_echo_n "(cached) " >&6
4900 case $ac_cv_prog_cc_stdc in #(
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4903 $as_echo "unsupported" >&6; } ;; #(
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4906 $as_echo "none needed" >&6; } ;; #(
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4909 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4914 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4916 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4917 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4918 $as_echo_n "(cached) " >&6
4920 cat >conftest.make <<\_ACEOF
4923 @echo '@@@%%%=$(MAKE)=@@@%%%'
4925 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4926 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4928 eval ac_cv_prog_make_${ac_make}_set=yes;;
4930 eval ac_cv_prog_make_${ac_make}_set=no;;
4934 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4936 $as_echo "yes" >&6; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4941 SET_MAKE="MAKE=${MAKE-make}"
4946 GETTEXT_PACKAGE=gtk30
4949 cat >>confdefs.h <<_ACEOF
4950 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4954 # Make sure we can run config.sub.
4955 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4956 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4959 $as_echo_n "checking build system type... " >&6; }
4960 if ${ac_cv_build+:} false; then :
4961 $as_echo_n "(cached) " >&6
4963 ac_build_alias=$build_alias
4964 test "x$ac_build_alias" = x &&
4965 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4966 test "x$ac_build_alias" = x &&
4967 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4968 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4969 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4973 $as_echo "$ac_cv_build" >&6; }
4974 case $ac_cv_build in
4976 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4979 ac_save_IFS=$IFS; IFS='-'
4985 # Remember, the first character of IFS is used to create $*,
4986 # except with old shells:
4989 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4993 $as_echo_n "checking host system type... " >&6; }
4994 if ${ac_cv_host+:} false; then :
4995 $as_echo_n "(cached) " >&6
4997 if test "x$host_alias" = x; then
4998 ac_cv_host=$ac_cv_build
5000 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5001 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5006 $as_echo "$ac_cv_host" >&6; }
5009 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5012 ac_save_IFS=$IFS; IFS='-'
5018 # Remember, the first character of IFS is used to create $*,
5019 # except with old shells:
5022 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
5028 $as_echo_n "checking for native Win32... " >&6; }
5029 LIB_EXE_MACHINE_FLAG=X86
5030 EXE_MANIFEST_ARCHITECTURE=X86
5038 LIB_EXE_MACHINE_FLAG=X64
5039 EXE_MANIFEST_ARCHITECTURE=AMD64
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
5048 $as_echo "$os_win32" >&6; }
5059 if test -n "$ac_tool_prefix"; then
5060 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
5062 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5063 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065 $as_echo_n "checking for $ac_word... " >&6; }
5066 if ${ac_cv_prog_CXX+:} false; then :
5067 $as_echo_n "(cached) " >&6
5069 if test -n "$CXX"; then
5070 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 test -z "$as_dir" && as_dir=.
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 if test -n "$CXX"; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5092 $as_echo "$CXX" >&6; }
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5099 test -n "$CXX" && break
5102 if test -z "$CXX"; then
5104 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
5106 # Extract the first word of "$ac_prog", so it can be a program name with args.
5107 set dummy $ac_prog; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$ac_ct_CXX"; then
5114 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123 ac_cv_prog_ac_ct_CXX="$ac_prog"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5134 if test -n "$ac_ct_CXX"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5136 $as_echo "$ac_ct_CXX" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5143 test -n "$ac_ct_CXX" && break
5146 if test "x$ac_ct_CXX" = x; then
5149 case $cross_compiling:$ac_tool_warned in
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5153 ac_tool_warned=yes ;;
5160 ac_cpp='$CXXCPP $CPPFLAGS'
5161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5167 ac_cpp='$CXXCPP $CPPFLAGS'
5168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5171 if test -z "$CXX"; then
5172 if test -n "$CCC"; then
5175 if test -n "$ac_tool_prefix"; then
5176 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5178 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5179 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_CXX+:} false; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -n "$CXX"; then
5186 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 if test -n "$CXX"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5208 $as_echo "$CXX" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5215 test -n "$CXX" && break
5218 if test -z "$CXX"; then
5220 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5222 # Extract the first word of "$ac_prog", so it can be a program name with args.
5223 set dummy $ac_prog; ac_word=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5227 $as_echo_n "(cached) " >&6
5229 if test -n "$ac_ct_CXX"; then
5230 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir=.
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239 ac_cv_prog_ac_ct_CXX="$ac_prog"
5240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5250 if test -n "$ac_ct_CXX"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5252 $as_echo "$ac_ct_CXX" >&6; }
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5259 test -n "$ac_ct_CXX" && break
5262 if test "x$ac_ct_CXX" = x; then
5265 case $cross_compiling:$ac_tool_warned in
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5269 ac_tool_warned=yes ;;
5277 # Provide some information about the compiler.
5278 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5281 for ac_option in --version -v -V -qversion; do
5282 { { ac_try="$ac_compiler $ac_option >&5"
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5288 $as_echo "$ac_try_echo"; } >&5
5289 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5291 if test -s conftest.err; then
5293 ... rest of stderr output deleted ...
5294 10q' conftest.err >conftest.er1
5295 cat conftest.er1 >&5
5297 rm -f conftest.er1 conftest.err
5298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5303 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5304 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5305 $as_echo_n "(cached) " >&6
5307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5321 if ac_fn_cxx_try_compile "$LINENO"; then :
5326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5327 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5331 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5332 if test $ac_compiler_gnu = yes; then
5337 ac_test_CXXFLAGS=${CXXFLAGS+set}
5338 ac_save_CXXFLAGS=$CXXFLAGS
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5340 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5341 if ${ac_cv_prog_cxx_g+:} false; then :
5342 $as_echo_n "(cached) " >&6
5344 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5345 ac_cxx_werror_flag=yes
5348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5359 if ac_fn_cxx_try_compile "$LINENO"; then :
5360 ac_cv_prog_cxx_g=yes
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5374 if ac_fn_cxx_try_compile "$LINENO"; then :
5377 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5390 if ac_fn_cxx_try_compile "$LINENO"; then :
5391 ac_cv_prog_cxx_g=yes
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5398 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5401 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5402 if test "$ac_test_CXXFLAGS" = set; then
5403 CXXFLAGS=$ac_save_CXXFLAGS
5404 elif test $ac_cv_prog_cxx_g = yes; then
5405 if test "$GXX" = yes; then
5411 if test "$GXX" = yes; then
5418 ac_cpp='$CXXCPP $CPPFLAGS'
5419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5423 depcc="$CXX" am_compiler_list=
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5426 $as_echo_n "checking dependency style of $depcc... " >&6; }
5427 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5428 $as_echo_n "(cached) " >&6
5430 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5431 # We make a subdir and do the tests there. Otherwise we can end up
5432 # making bogus files that we don't know about and never remove. For
5433 # instance it was reported that on HP-UX the gcc test will end up
5434 # making a dummy file named `D' -- because `-MD' means `put the output
5438 # Copy depcomp to subdir because otherwise we won't find it if we're
5439 # using a relative directory.
5440 cp "$am_depcomp" conftest.dir
5442 # We will build objects and dependencies in a subdirectory because
5443 # it helps to detect inapplicable dependency modes. For instance
5444 # both Tru64's cc and ICC support -MD to output dependencies as a
5445 # side effect of compilation, but ICC will put the dependencies in
5446 # the current directory while Tru64 will put them in the object
5450 am_cv_CXX_dependencies_compiler_type=none
5451 if test "$am_compiler_list" = ""; then
5452 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5455 case " $depcc " in #(
5456 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5459 for depmode in $am_compiler_list; do
5460 # Setup a source with many dependencies, because some compilers
5461 # like to wrap large dependency lists on column 80 (with \), and
5462 # we should not choose a depcomp mode which is confused by this.
5464 # We need to recreate these files for each test, as the compiler may
5465 # overwrite some of them when testing with obscure command lines.
5466 # This happens at least with the AIX C compiler.
5468 for i in 1 2 3 4 5 6; do
5469 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5470 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5471 # Solaris 8's {/usr,}/bin/sh.
5472 touch sub/conftst$i.h
5474 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5476 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5477 # mode. It turns out that the SunPro C++ compiler does not properly
5478 # handle `-M -o', and we need to detect this. Also, some Intel
5479 # versions had trouble with output in subdirs
5480 am__obj=sub/conftest.${OBJEXT-o}
5481 am__minus_obj="-o $am__obj"
5484 # This depmode causes a compiler race in universal mode.
5485 test "$am__universal" = false || continue
5488 # after this tag, mechanisms are not by side-effect, so they'll
5489 # only be used when explicitly requested
5490 if test "x$enable_dependency_tracking" = xyes; then
5496 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5497 # This compiler won't grok `-c -o', but also, the minuso test has
5498 # not run yet. These depmodes are late enough in the game, and
5499 # so weak that their functioning should not be impacted.
5500 am__obj=conftest.${OBJEXT-o}
5505 if depmode=$depmode \
5506 source=sub/conftest.c object=$am__obj \
5507 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5508 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5509 >/dev/null 2>conftest.err &&
5510 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5511 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5512 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5513 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5514 # icc doesn't choke on unknown options, it will just issue warnings
5515 # or remarks (even with -Werror). So we grep stderr for any message
5516 # that says an option was ignored or not supported.
5517 # When given -MP, icc 7.0 and 7.1 complain thusly:
5518 # icc: Command line warning: ignoring option '-M'; no argument required
5519 # The diagnosis changed in icc 8.0:
5520 # icc: Command line remark: option '-MP' not supported
5521 if (grep 'ignoring option' conftest.err ||
5522 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5523 am_cv_CXX_dependencies_compiler_type=$depmode
5532 am_cv_CXX_dependencies_compiler_type=none
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5537 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5538 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5541 test "x$enable_dependency_tracking" != xno \
5542 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5543 am__fastdepCXX_TRUE=
5544 am__fastdepCXX_FALSE='#'
5546 am__fastdepCXX_TRUE='#'
5547 am__fastdepCXX_FALSE=
5552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h. */
5558 class a { int b; } c;
5563 if ac_fn_cxx_try_compile "$LINENO"; then :
5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569 if test "$CXX" != ""; then
5578 gtk_save_cxxflags="$CXXFLAGS"
5579 CXXFLAGS="$CXXFLAGS -x objective-c++"
5580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5591 if ac_fn_cxx_try_compile "$LINENO"; then :
5596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5597 if test "$OBJC" = "yes"; then
5605 CXXFLAGS="$gtk_save_cxxflags"
5607 ac_cpp='$CPP $CPPFLAGS'
5608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5613 if test "$os_win32" = "yes"; then
5614 if test x$enable_static = xyes -o x$enable_static = x; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5
5616 $as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
5619 if test x$enable_shared = xno; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
5621 $as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5630 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5635 macro_version='2.4.2'
5636 macro_revision='1.3337'
5650 ltmain="$ac_aux_dir/ltmain.sh"
5652 # Backslashify metacharacters that are still active within
5653 # double-quoted strings.
5654 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5656 # Same as above, but do not quote variable references.
5657 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5659 # Sed substitution to delay expansion of an escaped shell variable in a
5660 # double_quote_subst'ed string.
5661 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5663 # Sed substitution to delay expansion of an escaped single quote.
5664 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5666 # Sed substitution to avoid accidental globbing in evaled expressions
5667 no_glob_subst='s/\*/\\\*/g'
5669 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5670 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5671 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5674 $as_echo_n "checking how to print strings... " >&6; }
5675 # Test print first, because it will be a builtin if present.
5676 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5677 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5679 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5682 # Use this function as a fallback that always works.
5683 func_fallback_echo ()
5685 eval 'cat <<_LTECHO_EOF
5689 ECHO='func_fallback_echo'
5692 # func_echo_all arg...
5693 # Invoke $ECHO with all args, space-separated.
5700 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5701 $as_echo "printf" >&6; } ;;
5702 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5703 $as_echo "print -r" >&6; } ;;
5704 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5705 $as_echo "cat" >&6; } ;;
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5722 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5723 if ${ac_cv_path_SED+:} false; then :
5724 $as_echo_n "(cached) " >&6
5726 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5727 for ac_i in 1 2 3 4 5 6 7; do
5728 ac_script="$ac_script$as_nl$ac_script"
5730 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5731 { ac_script=; unset ac_script;}
5732 if test -z "$SED"; then
5733 ac_path_SED_found=false
5734 # Loop through the user's path and test for each of PROGNAME-LIST
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir=.
5740 for ac_prog in sed gsed; do
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5743 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5744 # Check for GNU ac_path_SED and select it if it is found.
5745 # Check for GNU $ac_path_SED
5746 case `"$ac_path_SED" --version 2>&1` in
5748 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5751 $as_echo_n 0123456789 >"conftest.in"
5754 cat "conftest.in" "conftest.in" >"conftest.tmp"
5755 mv "conftest.tmp" "conftest.in"
5756 cp "conftest.in" "conftest.nl"
5757 $as_echo '' >> "conftest.nl"
5758 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5759 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5760 as_fn_arith $ac_count + 1 && ac_count=$as_val
5761 if test $ac_count -gt ${ac_path_SED_max-0}; then
5762 # Best one so far, save it but keep looking for a better one
5763 ac_cv_path_SED="$ac_path_SED"
5764 ac_path_SED_max=$ac_count
5766 # 10*(2^10) chars as input seems more than enough
5767 test $ac_count -gt 10 && break
5769 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5772 $ac_path_SED_found && break 3
5777 if test -z "$ac_cv_path_SED"; then
5778 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5786 $as_echo "$ac_cv_path_SED" >&6; }
5787 SED="$ac_cv_path_SED"
5790 test -z "$SED" && SED=sed
5791 Xsed="$SED -e 1s/^X//"
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5804 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5805 if ${ac_cv_path_GREP+:} false; then :
5806 $as_echo_n "(cached) " >&6
5808 if test -z "$GREP"; then
5809 ac_path_GREP_found=false
5810 # Loop through the user's path and test for each of PROGNAME-LIST
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5815 test -z "$as_dir" && as_dir=.
5816 for ac_prog in grep ggrep; do
5817 for ac_exec_ext in '' $ac_executable_extensions; do
5818 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5819 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5820 # Check for GNU ac_path_GREP and select it if it is found.
5821 # Check for GNU $ac_path_GREP
5822 case `"$ac_path_GREP" --version 2>&1` in
5824 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5827 $as_echo_n 0123456789 >"conftest.in"
5830 cat "conftest.in" "conftest.in" >"conftest.tmp"
5831 mv "conftest.tmp" "conftest.in"
5832 cp "conftest.in" "conftest.nl"
5833 $as_echo 'GREP' >> "conftest.nl"
5834 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5835 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5836 as_fn_arith $ac_count + 1 && ac_count=$as_val
5837 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5838 # Best one so far, save it but keep looking for a better one
5839 ac_cv_path_GREP="$ac_path_GREP"
5840 ac_path_GREP_max=$ac_count
5842 # 10*(2^10) chars as input seems more than enough
5843 test $ac_count -gt 10 && break
5845 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5848 $ac_path_GREP_found && break 3
5853 if test -z "$ac_cv_path_GREP"; then
5854 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5857 ac_cv_path_GREP=$GREP
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5862 $as_echo "$ac_cv_path_GREP" >&6; }
5863 GREP="$ac_cv_path_GREP"
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5867 $as_echo_n "checking for egrep... " >&6; }
5868 if ${ac_cv_path_EGREP+:} false; then :
5869 $as_echo_n "(cached) " >&6
5871 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5872 then ac_cv_path_EGREP="$GREP -E"
5874 if test -z "$EGREP"; then
5875 ac_path_EGREP_found=false
5876 # Loop through the user's path and test for each of PROGNAME-LIST
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5881 test -z "$as_dir" && as_dir=.
5882 for ac_prog in egrep; do
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5885 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5886 # Check for GNU ac_path_EGREP and select it if it is found.
5887 # Check for GNU $ac_path_EGREP
5888 case `"$ac_path_EGREP" --version 2>&1` in
5890 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5893 $as_echo_n 0123456789 >"conftest.in"
5896 cat "conftest.in" "conftest.in" >"conftest.tmp"
5897 mv "conftest.tmp" "conftest.in"
5898 cp "conftest.in" "conftest.nl"
5899 $as_echo 'EGREP' >> "conftest.nl"
5900 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5901 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5902 as_fn_arith $ac_count + 1 && ac_count=$as_val
5903 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5904 # Best one so far, save it but keep looking for a better one
5905 ac_cv_path_EGREP="$ac_path_EGREP"
5906 ac_path_EGREP_max=$ac_count
5908 # 10*(2^10) chars as input seems more than enough
5909 test $ac_count -gt 10 && break
5911 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5914 $ac_path_EGREP_found && break 3
5919 if test -z "$ac_cv_path_EGREP"; then
5920 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5923 ac_cv_path_EGREP=$EGREP
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5929 $as_echo "$ac_cv_path_EGREP" >&6; }
5930 EGREP="$ac_cv_path_EGREP"
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5934 $as_echo_n "checking for fgrep... " >&6; }
5935 if ${ac_cv_path_FGREP+:} false; then :
5936 $as_echo_n "(cached) " >&6
5938 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5939 then ac_cv_path_FGREP="$GREP -F"
5941 if test -z "$FGREP"; then
5942 ac_path_FGREP_found=false
5943 # Loop through the user's path and test for each of PROGNAME-LIST
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5948 test -z "$as_dir" && as_dir=.
5949 for ac_prog in fgrep; do
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5952 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5953 # Check for GNU ac_path_FGREP and select it if it is found.
5954 # Check for GNU $ac_path_FGREP
5955 case `"$ac_path_FGREP" --version 2>&1` in
5957 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5960 $as_echo_n 0123456789 >"conftest.in"
5963 cat "conftest.in" "conftest.in" >"conftest.tmp"
5964 mv "conftest.tmp" "conftest.in"
5965 cp "conftest.in" "conftest.nl"
5966 $as_echo 'FGREP' >> "conftest.nl"
5967 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5968 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5969 as_fn_arith $ac_count + 1 && ac_count=$as_val
5970 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5971 # Best one so far, save it but keep looking for a better one
5972 ac_cv_path_FGREP="$ac_path_FGREP"
5973 ac_path_FGREP_max=$ac_count
5975 # 10*(2^10) chars as input seems more than enough
5976 test $ac_count -gt 10 && break
5978 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5981 $ac_path_FGREP_found && break 3
5986 if test -z "$ac_cv_path_FGREP"; then
5987 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5990 ac_cv_path_FGREP=$FGREP
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5996 $as_echo "$ac_cv_path_FGREP" >&6; }
5997 FGREP="$ac_cv_path_FGREP"
6000 test -z "$GREP" && GREP=grep
6020 # Check whether --with-gnu-ld was given.
6021 if test "${with_gnu_ld+set}" = set; then :
6022 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6028 if test "$GCC" = yes; then
6029 # Check if gcc -print-prog-name=ld gives a path.
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6031 $as_echo_n "checking for ld used by $CC... " >&6; }
6034 # gcc leaves a trailing carriage return which upsets mingw
6035 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6037 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6040 # Accept absolute paths.
6042 re_direlt='/[^/][^/]*/\.\./'
6043 # Canonicalize the pathname of ld
6044 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6045 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6046 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6048 test -z "$LD" && LD="$ac_prog"
6051 # If it fails, then pretend we aren't using GCC.
6055 # If it is relative, then search for the first ld in PATH.
6059 elif test "$with_gnu_ld" = yes; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6061 $as_echo_n "checking for GNU ld... " >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6064 $as_echo_n "checking for non-GNU ld... " >&6; }
6066 if ${lt_cv_path_LD+:} false; then :
6067 $as_echo_n "(cached) " >&6
6069 if test -z "$LD"; then
6070 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6071 for ac_dir in $PATH; do
6073 test -z "$ac_dir" && ac_dir=.
6074 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6075 lt_cv_path_LD="$ac_dir/$ac_prog"
6076 # Check to see if the program is GNU ld. I'd rather use --version,
6077 # but apparently some variants of GNU ld only accept -v.
6078 # Break only if it was the GNU/non-GNU ld that we prefer.
6079 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6080 *GNU* | *'with BFD'*)
6081 test "$with_gnu_ld" != no && break
6084 test "$with_gnu_ld" != yes && break
6091 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6096 if test -n "$LD"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6098 $as_echo "$LD" >&6; }
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 $as_echo "no" >&6; }
6103 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6105 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6106 if ${lt_cv_prog_gnu_ld+:} false; then :
6107 $as_echo_n "(cached) " >&6
6109 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6110 case `$LD -v 2>&1 </dev/null` in
6111 *GNU* | *'with BFD'*)
6112 lt_cv_prog_gnu_ld=yes
6115 lt_cv_prog_gnu_ld=no
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6120 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6121 with_gnu_ld=$lt_cv_prog_gnu_ld
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6132 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6133 if ${lt_cv_path_NM+:} false; then :
6134 $as_echo_n "(cached) " >&6
6136 if test -n "$NM"; then
6137 # Let the user override the test.
6140 lt_nm_to_check="${ac_tool_prefix}nm"
6141 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6142 lt_nm_to_check="$lt_nm_to_check nm"
6144 for lt_tmp_nm in $lt_nm_to_check; do
6145 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6146 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6148 test -z "$ac_dir" && ac_dir=.
6149 tmp_nm="$ac_dir/$lt_tmp_nm"
6150 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6151 # Check to see if the nm accepts a BSD-compat flag.
6152 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6153 # nm: unknown option "B" ignored
6154 # Tru64's nm complains that /dev/null is an invalid object file
6155 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6156 */dev/null* | *'Invalid file or object type'*)
6157 lt_cv_path_NM="$tmp_nm -B"
6161 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6163 lt_cv_path_NM="$tmp_nm -p"
6167 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6168 continue # so that we can try to find one that supports BSD flags
6177 : ${lt_cv_path_NM=no}
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6181 $as_echo "$lt_cv_path_NM" >&6; }
6182 if test "$lt_cv_path_NM" != "no"; then
6185 # Didn't find any BSD compatible name lister, look for dumpbin.
6186 if test -n "$DUMPBIN"; then :
6187 # Let the user override the test.
6189 if test -n "$ac_tool_prefix"; then
6190 for ac_prog in dumpbin "link -dump"
6192 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6193 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_DUMPBIN+:} false; then :
6197 $as_echo_n "(cached) " >&6
6199 if test -n "$DUMPBIN"; then
6200 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6209 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6219 DUMPBIN=$ac_cv_prog_DUMPBIN
6220 if test -n "$DUMPBIN"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6222 $as_echo "$DUMPBIN" >&6; }
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6229 test -n "$DUMPBIN" && break
6232 if test -z "$DUMPBIN"; then
6233 ac_ct_DUMPBIN=$DUMPBIN
6234 for ac_prog in dumpbin "link -dump"
6236 # Extract the first word of "$ac_prog", so it can be a program name with args.
6237 set dummy $ac_prog; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6241 $as_echo_n "(cached) " >&6
6243 if test -n "$ac_ct_DUMPBIN"; then
6244 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6264 if test -n "$ac_ct_DUMPBIN"; then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6266 $as_echo "$ac_ct_DUMPBIN" >&6; }
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 $as_echo "no" >&6; }
6273 test -n "$ac_ct_DUMPBIN" && break
6276 if test "x$ac_ct_DUMPBIN" = x; then
6279 case $cross_compiling:$ac_tool_warned in
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6283 ac_tool_warned=yes ;;
6285 DUMPBIN=$ac_ct_DUMPBIN
6289 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6291 DUMPBIN="$DUMPBIN -symbols"
6299 if test "$DUMPBIN" != ":"; then
6303 test -z "$NM" && NM=nm
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6311 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6312 if ${lt_cv_nm_interface+:} false; then :
6313 $as_echo_n "(cached) " >&6
6315 lt_cv_nm_interface="BSD nm"
6316 echo "int some_variable = 0;" > conftest.$ac_ext
6317 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6318 (eval "$ac_compile" 2>conftest.err)
6319 cat conftest.err >&5
6320 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6321 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6322 cat conftest.err >&5
6323 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6324 cat conftest.out >&5
6325 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6326 lt_cv_nm_interface="MS dumpbin"
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6331 $as_echo "$lt_cv_nm_interface" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6334 $as_echo_n "checking whether ln -s works... " >&6; }
6336 if test "$LN_S" = "ln -s"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6338 $as_echo "yes" >&6; }
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6341 $as_echo "no, using $LN_S" >&6; }
6344 # find the maximum length of command line arguments
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6346 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6347 if ${lt_cv_sys_max_cmd_len+:} false; then :
6348 $as_echo_n "(cached) " >&6
6355 # On DJGPP, this test can blow up pretty badly due to problems in libc
6356 # (any single argument exceeding 2000 bytes causes a buffer overrun
6357 # during glob expansion). Even if it were fixed, the result of this
6358 # check would be larger than it should be.
6359 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6363 # Under GNU Hurd, this test is not required because there is
6364 # no limit to the length of command line arguments.
6365 # Libtool will interpret -1 as no limit whatsoever
6366 lt_cv_sys_max_cmd_len=-1;
6369 cygwin* | mingw* | cegcc*)
6370 # On Win9x/ME, this test blows up -- it succeeds, but takes
6371 # about 5 minutes as the teststring grows exponentially.
6372 # Worse, since 9x/ME are not pre-emptively multitasking,
6373 # you end up with a "frozen" computer, even though with patience
6374 # the test eventually succeeds (with a max line length of 256k).
6375 # Instead, let's just punt: use the minimum linelength reported by
6376 # all of the supported platforms: 8192 (on NT/2K/XP).
6377 lt_cv_sys_max_cmd_len=8192;
6381 # On MiNT this can take a long time and run out of memory.
6382 lt_cv_sys_max_cmd_len=8192;
6386 # On AmigaOS with pdksh, this test takes hours, literally.
6387 # So we just punt and use a minimum line length of 8192.
6388 lt_cv_sys_max_cmd_len=8192;
6391 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6392 # This has been around since 386BSD, at least. Likely further.
6393 if test -x /sbin/sysctl; then
6394 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6395 elif test -x /usr/sbin/sysctl; then
6396 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6398 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6400 # And add a safety zone
6401 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6402 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6406 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6407 lt_cv_sys_max_cmd_len=196608
6411 # The test takes a long time on OS/2.
6412 lt_cv_sys_max_cmd_len=8192
6416 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6417 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6418 # nice to cause kernel panics so lets avoid the loop below.
6419 # First set a reasonable default.
6420 lt_cv_sys_max_cmd_len=16384
6422 if test -x /sbin/sysconfig; then
6423 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6424 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6429 lt_cv_sys_max_cmd_len=102400
6431 sysv5* | sco5v6* | sysv4.2uw2*)
6432 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6433 if test -n "$kargmax"; then
6434 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6436 lt_cv_sys_max_cmd_len=32768
6440 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6441 if test -n "$lt_cv_sys_max_cmd_len"; then
6442 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6443 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6445 # Make teststring a little bigger before we do anything with it.
6446 # a 1K string should be a reasonable start.
6447 for i in 1 2 3 4 5 6 7 8 ; do
6448 teststring=$teststring$teststring
6450 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6451 # If test is not a shell built-in, we'll probably end up computing a
6452 # maximum length that is only half of the actual maximum length, but
6454 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6455 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6456 test $i != 17 # 1/2 MB should be enough
6459 teststring=$teststring$teststring
6461 # Only check the string length outside the loop.
6462 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6464 # Add a significant safety factor because C++ compilers can tack on
6465 # massive amounts of additional arguments before passing them to the
6466 # linker. It appears as though 1/2 is a usable value.
6467 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6474 if test -n $lt_cv_sys_max_cmd_len ; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6476 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6479 $as_echo "none" >&6; }
6481 max_cmd_len=$lt_cv_sys_max_cmd_len
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6493 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6494 # Try some XSI features
6497 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6499 && eval 'test $(( 1 + 1 )) -eq 2 \
6500 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6503 $as_echo "$xsi_shell" >&6; }
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6507 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6509 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6511 && lt_shell_append=yes
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6513 $as_echo "$lt_shell_append" >&6; }
6516 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6526 # test EBCDIC or ASCII
6527 case `echo X|tr X '\101'` in
6528 A) # ASCII based system
6529 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6530 lt_SP2NL='tr \040 \012'
6531 lt_NL2SP='tr \015\012 \040\040'
6533 *) # EBCDIC based system
6534 lt_SP2NL='tr \100 \n'
6535 lt_NL2SP='tr \r\n \100\100'
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6548 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6549 if ${lt_cv_to_host_file_cmd+:} false; then :
6550 $as_echo_n "(cached) " >&6
6555 *-*-mingw* ) # actually msys
6556 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6559 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6561 * ) # otherwise, assume *nix
6562 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6568 *-*-mingw* ) # actually msys
6569 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6572 lt_cv_to_host_file_cmd=func_convert_file_noop
6574 * ) # otherwise, assume *nix
6575 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6579 * ) # unhandled hosts (and "normal" native builds)
6580 lt_cv_to_host_file_cmd=func_convert_file_noop
6586 to_host_file_cmd=$lt_cv_to_host_file_cmd
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6588 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6595 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6596 if ${lt_cv_to_tool_file_cmd+:} false; then :
6597 $as_echo_n "(cached) " >&6
6599 #assume ordinary cross tools, or native build.
6600 lt_cv_to_tool_file_cmd=func_convert_file_noop
6604 *-*-mingw* ) # actually msys
6605 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6613 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6615 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6622 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6623 if ${lt_cv_ld_reload_flag+:} false; then :
6624 $as_echo_n "(cached) " >&6
6626 lt_cv_ld_reload_flag='-r'
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6629 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6630 reload_flag=$lt_cv_ld_reload_flag
6631 case $reload_flag in
6633 *) reload_flag=" $reload_flag" ;;
6635 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6637 cygwin* | mingw* | pw32* | cegcc*)
6638 if test "$GCC" != yes; then
6643 if test "$GCC" = yes; then
6644 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6646 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6659 if test -n "$ac_tool_prefix"; then
6660 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6661 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663 $as_echo_n "checking for $ac_word... " >&6; }
6664 if ${ac_cv_prog_OBJDUMP+:} false; then :
6665 $as_echo_n "(cached) " >&6
6667 if test -n "$OBJDUMP"; then
6668 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 test -z "$as_dir" && as_dir=.
6675 for ac_exec_ext in '' $ac_executable_extensions; do
6676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6687 OBJDUMP=$ac_cv_prog_OBJDUMP
6688 if test -n "$OBJDUMP"; then
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6690 $as_echo "$OBJDUMP" >&6; }
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 $as_echo "no" >&6; }
6698 if test -z "$ac_cv_prog_OBJDUMP"; then
6699 ac_ct_OBJDUMP=$OBJDUMP
6700 # Extract the first word of "objdump", so it can be a program name with args.
6701 set dummy objdump; ac_word=$2
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 $as_echo_n "checking for $ac_word... " >&6; }
6704 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6705 $as_echo_n "(cached) " >&6
6707 if test -n "$ac_ct_OBJDUMP"; then
6708 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6714 test -z "$as_dir" && as_dir=.
6715 for ac_exec_ext in '' $ac_executable_extensions; do
6716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6717 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6727 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6728 if test -n "$ac_ct_OBJDUMP"; then
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6730 $as_echo "$ac_ct_OBJDUMP" >&6; }
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 $as_echo "no" >&6; }
6736 if test "x$ac_ct_OBJDUMP" = x; then
6739 case $cross_compiling:$ac_tool_warned in
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6743 ac_tool_warned=yes ;;
6745 OBJDUMP=$ac_ct_OBJDUMP
6748 OBJDUMP="$ac_cv_prog_OBJDUMP"
6751 test -z "$OBJDUMP" && OBJDUMP=objdump
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6759 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6760 if ${lt_cv_deplibs_check_method+:} false; then :
6761 $as_echo_n "(cached) " >&6
6763 lt_cv_file_magic_cmd='$MAGIC_CMD'
6764 lt_cv_file_magic_test_file=
6765 lt_cv_deplibs_check_method='unknown'
6766 # Need to set the preceding variable on all platforms that support
6767 # interlibrary dependencies.
6768 # 'none' -- dependencies not supported.
6769 # `unknown' -- same as none, but documents that we really don't know.
6770 # 'pass_all' -- all dependencies passed with no checks.
6771 # 'test_compile' -- check by making test program.
6772 # 'file_magic [[regex]]' -- check by looking for files in library path
6773 # which responds to the $file_magic_cmd with a given extended regex.
6774 # If you have `file' or equivalent on your system and you're not sure
6775 # whether `pass_all' will *always* work, you probably want this one.
6779 lt_cv_deplibs_check_method=pass_all
6783 lt_cv_deplibs_check_method=pass_all
6787 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6788 lt_cv_file_magic_cmd='/usr/bin/file -L'
6789 lt_cv_file_magic_test_file=/shlib/libc.so
6793 # func_win32_libid is a shell function defined in ltmain.sh
6794 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6795 lt_cv_file_magic_cmd='func_win32_libid'
6799 # Base MSYS/MinGW do not provide the 'file' command needed by
6800 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6801 # unless we find 'file', for example because we are cross-compiling.
6802 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6803 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6804 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6805 lt_cv_file_magic_cmd='func_win32_libid'
6807 # Keep this pattern in sync with the one in func_win32_libid.
6808 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6809 lt_cv_file_magic_cmd='$OBJDUMP -f'
6814 # use the weaker test based on 'objdump'. See mingw*.
6815 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6816 lt_cv_file_magic_cmd='$OBJDUMP -f'
6819 darwin* | rhapsody*)
6820 lt_cv_deplibs_check_method=pass_all
6823 freebsd* | dragonfly*)
6824 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6827 # Not sure whether the presence of OpenBSD here was a mistake.
6828 # Let's accept both of them until this is cleared up.
6829 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6830 lt_cv_file_magic_cmd=/usr/bin/file
6831 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6835 lt_cv_deplibs_check_method=pass_all
6840 lt_cv_deplibs_check_method=pass_all
6844 lt_cv_deplibs_check_method=pass_all
6847 hpux10.20* | hpux11*)
6848 lt_cv_file_magic_cmd=/usr/bin/file
6851 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6852 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6855 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]'
6856 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6859 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6860 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6866 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6867 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6870 irix5* | irix6* | nonstopux*)
6872 *-32|*"-32 ") libmagic=32-bit;;
6873 *-n32|*"-n32 ") libmagic=N32;;
6874 *-64|*"-64 ") libmagic=64-bit;;
6875 *) libmagic=never-match;;
6877 lt_cv_deplibs_check_method=pass_all
6880 # This must be glibc/ELF.
6881 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6882 lt_cv_deplibs_check_method=pass_all
6886 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6887 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6889 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6894 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6895 lt_cv_file_magic_cmd=/usr/bin/file
6896 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6900 lt_cv_deplibs_check_method=pass_all
6904 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6905 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6907 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6911 osf3* | osf4* | osf5*)
6912 lt_cv_deplibs_check_method=pass_all
6916 lt_cv_deplibs_check_method=pass_all
6920 lt_cv_deplibs_check_method=pass_all
6923 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6924 lt_cv_deplibs_check_method=pass_all
6928 case $host_vendor in
6930 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]'
6931 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6934 lt_cv_deplibs_check_method=pass_all
6937 lt_cv_file_magic_cmd='/bin/file'
6938 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6941 lt_cv_file_magic_cmd='/bin/file'
6942 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6943 lt_cv_file_magic_test_file=/lib/libc.so
6946 lt_cv_deplibs_check_method=pass_all
6949 lt_cv_deplibs_check_method=pass_all
6955 lt_cv_deplibs_check_method=pass_all
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6961 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6965 if test "$build" = "$host"; then
6968 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6971 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6977 file_magic_cmd=$lt_cv_file_magic_cmd
6978 deplibs_check_method=$lt_cv_deplibs_check_method
6979 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7002 if test -n "$ac_tool_prefix"; then
7003 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7004 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_DLLTOOL+:} false; then :
7008 $as_echo_n "(cached) " >&6
7010 if test -n "$DLLTOOL"; then
7011 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017 test -z "$as_dir" && as_dir=.
7018 for ac_exec_ext in '' $ac_executable_extensions; do
7019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7020 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7030 DLLTOOL=$ac_cv_prog_DLLTOOL
7031 if test -n "$DLLTOOL"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7033 $as_echo "$DLLTOOL" >&6; }
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7041 if test -z "$ac_cv_prog_DLLTOOL"; then
7042 ac_ct_DLLTOOL=$DLLTOOL
7043 # Extract the first word of "dlltool", so it can be a program name with args.
7044 set dummy dlltool; ac_word=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 $as_echo_n "checking for $ac_word... " >&6; }
7047 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7048 $as_echo_n "(cached) " >&6
7050 if test -n "$ac_ct_DLLTOOL"; then
7051 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057 test -z "$as_dir" && as_dir=.
7058 for ac_exec_ext in '' $ac_executable_extensions; do
7059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7060 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7071 if test -n "$ac_ct_DLLTOOL"; then
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7073 $as_echo "$ac_ct_DLLTOOL" >&6; }
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 $as_echo "no" >&6; }
7079 if test "x$ac_ct_DLLTOOL" = x; then
7082 case $cross_compiling:$ac_tool_warned in
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7086 ac_tool_warned=yes ;;
7088 DLLTOOL=$ac_ct_DLLTOOL
7091 DLLTOOL="$ac_cv_prog_DLLTOOL"
7094 test -z "$DLLTOOL" && DLLTOOL=dlltool
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7103 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7104 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7105 $as_echo_n "(cached) " >&6
7107 lt_cv_sharedlib_from_linklib_cmd='unknown'
7110 cygwin* | mingw* | pw32* | cegcc*)
7111 # two different shell functions defined in ltmain.sh
7112 # decide which to use based on capabilities of $DLLTOOL
7113 case `$DLLTOOL --help 2>&1` in
7114 *--identify-strict*)
7115 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7118 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7123 # fallback: assume linklib IS sharedlib
7124 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7130 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7131 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7132 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7141 if test -n "$ac_tool_prefix"; then
7144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_AR+:} false; then :
7149 $as_echo_n "(cached) " >&6
7151 if test -n "$AR"; then
7152 ac_cv_prog_AR="$AR" # Let the user override the test.
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7161 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7172 if test -n "$AR"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7174 $as_echo "$AR" >&6; }
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7181 test -n "$AR" && break
7184 if test -z "$AR"; then
7188 # Extract the first word of "$ac_prog", so it can be a program name with args.
7189 set dummy $ac_prog; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7193 $as_echo_n "(cached) " >&6
7195 if test -n "$ac_ct_AR"; then
7196 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_ac_ct_AR="$ac_prog"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7216 if test -n "$ac_ct_AR"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7218 $as_echo "$ac_ct_AR" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7225 test -n "$ac_ct_AR" && break
7228 if test "x$ac_ct_AR" = x; then
7231 case $cross_compiling:$ac_tool_warned in
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7235 ac_tool_warned=yes ;;
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7255 $as_echo_n "checking for archiver @FILE support... " >&6; }
7256 if ${lt_cv_ar_at_file+:} false; then :
7257 $as_echo_n "(cached) " >&6
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7271 if ac_fn_c_try_compile "$LINENO"; then :
7272 echo conftest.$ac_objext > conftest.lst
7273 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7274 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7275 (eval $lt_ar_try) 2>&5
7277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7278 test $ac_status = 0; }
7279 if test "$ac_status" -eq 0; then
7280 # Ensure the archiver fails upon bogus file names.
7281 rm -f conftest.$ac_objext libconftest.a
7282 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7283 (eval $lt_ar_try) 2>&5
7285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7286 test $ac_status = 0; }
7287 if test "$ac_status" -ne 0; then
7291 rm -f conftest.* libconftest.a
7294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7298 $as_echo "$lt_cv_ar_at_file" >&6; }
7300 if test "x$lt_cv_ar_at_file" = xno; then
7303 archiver_list_spec=$lt_cv_ar_at_file
7312 if test -n "$ac_tool_prefix"; then
7313 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7314 set dummy ${ac_tool_prefix}strip; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if ${ac_cv_prog_STRIP+:} false; then :
7318 $as_echo_n "(cached) " >&6
7320 if test -n "$STRIP"; then
7321 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7327 test -z "$as_dir" && as_dir=.
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7330 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 STRIP=$ac_cv_prog_STRIP
7341 if test -n "$STRIP"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7343 $as_echo "$STRIP" >&6; }
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7351 if test -z "$ac_cv_prog_STRIP"; then
7353 # Extract the first word of "strip", so it can be a program name with args.
7354 set dummy strip; ac_word=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7358 $as_echo_n "(cached) " >&6
7360 if test -n "$ac_ct_STRIP"; then
7361 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir=.
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370 ac_cv_prog_ac_ct_STRIP="strip"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7381 if test -n "$ac_ct_STRIP"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7383 $as_echo "$ac_ct_STRIP" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7389 if test "x$ac_ct_STRIP" = x; then
7392 case $cross_compiling:$ac_tool_warned in
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7396 ac_tool_warned=yes ;;
7401 STRIP="$ac_cv_prog_STRIP"
7404 test -z "$STRIP" && STRIP=:
7411 if test -n "$ac_tool_prefix"; then
7412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7413 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if ${ac_cv_prog_RANLIB+:} false; then :
7417 $as_echo_n "(cached) " >&6
7419 if test -n "$RANLIB"; then
7420 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 test -z "$as_dir" && as_dir=.
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7429 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7439 RANLIB=$ac_cv_prog_RANLIB
7440 if test -n "$RANLIB"; then
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7442 $as_echo "$RANLIB" >&6; }
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7450 if test -z "$ac_cv_prog_RANLIB"; then
7451 ac_ct_RANLIB=$RANLIB
7452 # Extract the first word of "ranlib", so it can be a program name with args.
7453 set dummy ranlib; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7457 $as_echo_n "(cached) " >&6
7459 if test -n "$ac_ct_RANLIB"; then
7460 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_ac_ct_RANLIB="ranlib"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7479 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7480 if test -n "$ac_ct_RANLIB"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7482 $as_echo "$ac_ct_RANLIB" >&6; }
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7488 if test "x$ac_ct_RANLIB" = x; then
7491 case $cross_compiling:$ac_tool_warned in
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7495 ac_tool_warned=yes ;;
7497 RANLIB=$ac_ct_RANLIB
7500 RANLIB="$ac_cv_prog_RANLIB"
7503 test -z "$RANLIB" && RANLIB=:
7510 # Determine commands to create old-style static archives.
7511 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7512 old_postinstall_cmds='chmod 644 $oldlib'
7513 old_postuninstall_cmds=
7515 if test -n "$RANLIB"; then
7518 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7521 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7524 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7529 lock_old_archive_extraction=yes ;;
7531 lock_old_archive_extraction=no ;;
7572 # If no C compiler was specified, use CC.
7575 # If no C compiler flags were specified, use CFLAGS.
7576 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7578 # Allow CC to be a program name with arguments.
7582 # Check for command to grab the raw symbol name followed by C symbol from nm.
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7584 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7585 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7586 $as_echo_n "(cached) " >&6
7589 # These are sane defaults that work on at least a few old systems.
7590 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7592 # Character class describing NM global symbol codes.
7593 symcode='[BCDEGRST]'
7595 # Regexp to match symbols that can be accessed directly from C.
7596 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7598 # Define system-specific variables.
7603 cygwin* | mingw* | pw32* | cegcc*)
7604 symcode='[ABCDGISTW]'
7607 if test "$host_cpu" = ia64; then
7608 symcode='[ABCDEGRST]'
7612 symcode='[BCDEGRST]'
7615 symcode='[BCDEGQRST]'
7626 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7634 # If we're using GNU nm, then use its standard symbol codes.
7635 case `$NM -V 2>&1` in
7636 *GNU* | *'with BFD'*)
7637 symcode='[ABCDGIRSTW]' ;;
7640 # Transform an extracted symbol line into a proper C declaration.
7641 # Some systems (esp. on ia64) link data and code symbols differently,
7642 # so use this general approach.
7643 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7645 # Transform an extracted symbol line into symbol name and symbol address
7646 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7647 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'"
7649 # Handle CRLF in mingw tool chain
7653 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7657 # Try without a prefix underscore, then with it.
7658 for ac_symprfx in "" "_"; do
7660 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7661 symxfrm="\\1 $ac_symprfx\\2 \\2"
7663 # Write the raw and C identifiers.
7664 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7665 # Fake it for dumpbin and say T for any non-static function
7666 # and D for any global variable.
7667 # Also find C++ and __fastcall symbols from MSVC++,
7668 # which start with @ or ?.
7669 lt_cv_sys_global_symbol_pipe="$AWK '"\
7670 " {last_section=section; section=\$ 3};"\
7671 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7672 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7673 " \$ 0!~/External *\|/{next};"\
7674 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7675 " {if(hide[section]) next};"\
7676 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7677 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7678 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7679 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7680 " ' prfx=^$ac_symprfx"
7682 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7684 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7686 # Check to see that the pipe works correctly.
7690 cat > conftest.$ac_ext <<_LT_EOF
7695 void nm_test_func(void);
7696 void nm_test_func(void){}
7700 int main(){nm_test_var='a';nm_test_func();return(0);}
7703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7704 (eval $ac_compile) 2>&5
7706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7707 test $ac_status = 0; }; then
7708 # Now try to grab the symbols.
7710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7711 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7714 test $ac_status = 0; } && test -s "$nlist"; then
7715 # Try sorting and uniquifying the output.
7716 if sort "$nlist" | uniq > "$nlist"T; then
7717 mv -f "$nlist"T "$nlist"
7722 # Make sure that we snagged all the symbols we need.
7723 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7724 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7725 cat <<_LT_EOF > conftest.$ac_ext
7726 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7727 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7728 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7729 relocations are performed -- see ld's documentation on pseudo-relocs. */
7730 # define LT_DLSYM_CONST
7731 #elif defined(__osf__)
7732 /* This system does not cope well with relocations in const data. */
7733 # define LT_DLSYM_CONST
7735 # define LT_DLSYM_CONST const
7743 # Now generate the symbol file.
7744 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7746 cat <<_LT_EOF >> conftest.$ac_ext
7748 /* The mapping between symbol names and symbols. */
7749 LT_DLSYM_CONST struct {
7753 lt__PROGRAM__LTX_preloaded_symbols[] =
7755 { "@PROGRAM@", (void *) 0 },
7757 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7758 cat <<\_LT_EOF >> conftest.$ac_ext
7762 /* This works around a problem in FreeBSD linker */
7763 #ifdef FREEBSD_WORKAROUND
7764 static const void *lt_preloaded_setup() {
7765 return lt__PROGRAM__LTX_preloaded_symbols;
7773 # Now try linking the two files.
7774 mv conftest.$ac_objext conftstm.$ac_objext
7775 lt_globsym_save_LIBS=$LIBS
7776 lt_globsym_save_CFLAGS=$CFLAGS
7777 LIBS="conftstm.$ac_objext"
7778 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7780 (eval $ac_link) 2>&5
7782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7783 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7786 LIBS=$lt_globsym_save_LIBS
7787 CFLAGS=$lt_globsym_save_CFLAGS
7789 echo "cannot find nm_test_func in $nlist" >&5
7792 echo "cannot find nm_test_var in $nlist" >&5
7795 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7798 echo "$progname: failed program was:" >&5
7799 cat conftest.$ac_ext >&5
7801 rm -rf conftest* conftst*
7803 # Do not use the global_symbol_pipe unless it works.
7804 if test "$pipe_works" = yes; then
7807 lt_cv_sys_global_symbol_pipe=
7813 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7814 lt_cv_sys_global_symbol_to_cdecl=
7816 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7818 $as_echo "failed" >&6; }
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7821 $as_echo "ok" >&6; }
7824 # Response file support.
7825 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7826 nm_file_list_spec='@'
7827 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7828 nm_file_list_spec='@'
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7858 $as_echo_n "checking for sysroot... " >&6; }
7860 # Check whether --with-sysroot was given.
7861 if test "${with_sysroot+set}" = set; then :
7862 withval=$with_sysroot;
7869 case ${with_sysroot} in #(
7871 if test "$GCC" = yes; then
7872 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7876 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7882 $as_echo "${with_sysroot}" >&6; }
7883 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7888 $as_echo "${lt_sysroot:-no}" >&6; }
7894 # Check whether --enable-libtool-lock was given.
7895 if test "${enable_libtool_lock+set}" = set; then :
7896 enableval=$enable_libtool_lock;
7899 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7901 # Some flags need to be propagated to the compiler or linker for good
7905 # Find out which ABI we are using.
7906 echo 'int i;' > conftest.$ac_ext
7907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7908 (eval $ac_compile) 2>&5
7910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7911 test $ac_status = 0; }; then
7912 case `/usr/bin/file conftest.$ac_objext` in
7924 # Find out which ABI we are using.
7925 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7927 (eval $ac_compile) 2>&5
7929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7930 test $ac_status = 0; }; then
7931 if test "$lt_cv_prog_gnu_ld" = yes; then
7932 case `/usr/bin/file conftest.$ac_objext` in
7934 LD="${LD-ld} -melf32bsmip"
7937 LD="${LD-ld} -melf32bmipn32"
7940 LD="${LD-ld} -melf64bmip"
7944 case `/usr/bin/file conftest.$ac_objext` in
7960 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7961 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7962 # Find out which ABI we are using.
7963 echo 'int i;' > conftest.$ac_ext
7964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7965 (eval $ac_compile) 2>&5
7967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7968 test $ac_status = 0; }; then
7969 case `/usr/bin/file conftest.o` in
7972 x86_64-*kfreebsd*-gnu)
7973 LD="${LD-ld} -m elf_i386_fbsd"
7976 LD="${LD-ld} -m elf_i386"
7978 ppc64-*linux*|powerpc64-*linux*)
7979 LD="${LD-ld} -m elf32ppclinux"
7982 LD="${LD-ld} -m elf_s390"
7985 LD="${LD-ld} -m elf32_sparc"
7991 x86_64-*kfreebsd*-gnu)
7992 LD="${LD-ld} -m elf_x86_64_fbsd"
7995 LD="${LD-ld} -m elf_x86_64"
7997 ppc*-*linux*|powerpc*-*linux*)
7998 LD="${LD-ld} -m elf64ppc"
8000 s390*-*linux*|s390*-*tpf*)
8001 LD="${LD-ld} -m elf64_s390"
8004 LD="${LD-ld} -m elf64_sparc"
8014 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8015 SAVE_CFLAGS="$CFLAGS"
8016 CFLAGS="$CFLAGS -belf"
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8018 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8019 if ${lt_cv_cc_needs_belf+:} false; then :
8020 $as_echo_n "(cached) " >&6
8023 ac_cpp='$CPP $CPPFLAGS'
8024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8029 /* end confdefs.h. */
8039 if ac_fn_c_try_link "$LINENO"; then :
8040 lt_cv_cc_needs_belf=yes
8042 lt_cv_cc_needs_belf=no
8044 rm -f core conftest.err conftest.$ac_objext \
8045 conftest$ac_exeext conftest.$ac_ext
8047 ac_cpp='$CPP $CPPFLAGS'
8048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8054 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8055 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8056 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8057 CFLAGS="$SAVE_CFLAGS"
8061 # Find out which ABI we are using.
8062 echo 'int i;' > conftest.$ac_ext
8063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8064 (eval $ac_compile) 2>&5
8066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8067 test $ac_status = 0; }; then
8068 case `/usr/bin/file conftest.o` in
8070 case $lt_cv_prog_gnu_ld in
8074 LD="${LD-ld} -m elf_x86_64"
8077 LD="${LD-ld} -m elf64_sparc"
8080 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8081 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8086 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8098 need_locks="$enable_libtool_lock"
8100 if test -n "$ac_tool_prefix"; then
8101 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8102 set dummy ${ac_tool_prefix}mt; ac_word=$2
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8104 $as_echo_n "checking for $ac_word... " >&6; }
8105 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8106 $as_echo_n "(cached) " >&6
8108 if test -n "$MANIFEST_TOOL"; then
8109 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 test -z "$as_dir" && as_dir=.
8116 for ac_exec_ext in '' $ac_executable_extensions; do
8117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8118 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8128 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8129 if test -n "$MANIFEST_TOOL"; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8131 $as_echo "$MANIFEST_TOOL" >&6; }
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 $as_echo "no" >&6; }
8139 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8140 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8141 # Extract the first word of "mt", so it can be a program name with args.
8142 set dummy mt; ac_word=$2
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8144 $as_echo_n "checking for $ac_word... " >&6; }
8145 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8146 $as_echo_n "(cached) " >&6
8148 if test -n "$ac_ct_MANIFEST_TOOL"; then
8149 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 test -z "$as_dir" && as_dir=.
8156 for ac_exec_ext in '' $ac_executable_extensions; do
8157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8158 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8168 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8169 if test -n "$ac_ct_MANIFEST_TOOL"; then
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8171 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8174 $as_echo "no" >&6; }
8177 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8180 case $cross_compiling:$ac_tool_warned in
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8184 ac_tool_warned=yes ;;
8186 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8189 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8192 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8194 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8195 if ${lt_cv_path_mainfest_tool+:} false; then :
8196 $as_echo_n "(cached) " >&6
8198 lt_cv_path_mainfest_tool=no
8199 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8200 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8201 cat conftest.err >&5
8202 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8203 lt_cv_path_mainfest_tool=yes
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8208 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8209 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8219 rhapsody* | darwin*)
8220 if test -n "$ac_tool_prefix"; then
8221 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8222 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8224 $as_echo_n "checking for $ac_word... " >&6; }
8225 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8226 $as_echo_n "(cached) " >&6
8228 if test -n "$DSYMUTIL"; then
8229 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235 test -z "$as_dir" && as_dir=.
8236 for ac_exec_ext in '' $ac_executable_extensions; do
8237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8238 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8248 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8249 if test -n "$DSYMUTIL"; then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8251 $as_echo "$DSYMUTIL" >&6; }
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8254 $as_echo "no" >&6; }
8259 if test -z "$ac_cv_prog_DSYMUTIL"; then
8260 ac_ct_DSYMUTIL=$DSYMUTIL
8261 # Extract the first word of "dsymutil", so it can be a program name with args.
8262 set dummy dsymutil; ac_word=$2
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8264 $as_echo_n "checking for $ac_word... " >&6; }
8265 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8266 $as_echo_n "(cached) " >&6
8268 if test -n "$ac_ct_DSYMUTIL"; then
8269 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8275 test -z "$as_dir" && as_dir=.
8276 for ac_exec_ext in '' $ac_executable_extensions; do
8277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8278 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8289 if test -n "$ac_ct_DSYMUTIL"; then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8291 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 $as_echo "no" >&6; }
8297 if test "x$ac_ct_DSYMUTIL" = x; then
8300 case $cross_compiling:$ac_tool_warned in
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8304 ac_tool_warned=yes ;;
8306 DSYMUTIL=$ac_ct_DSYMUTIL
8309 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8312 if test -n "$ac_tool_prefix"; then
8313 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8314 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8316 $as_echo_n "checking for $ac_word... " >&6; }
8317 if ${ac_cv_prog_NMEDIT+:} false; then :
8318 $as_echo_n "(cached) " >&6
8320 if test -n "$NMEDIT"; then
8321 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8330 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8340 NMEDIT=$ac_cv_prog_NMEDIT
8341 if test -n "$NMEDIT"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8343 $as_echo "$NMEDIT" >&6; }
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8351 if test -z "$ac_cv_prog_NMEDIT"; then
8352 ac_ct_NMEDIT=$NMEDIT
8353 # Extract the first word of "nmedit", so it can be a program name with args.
8354 set dummy nmedit; ac_word=$2
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8356 $as_echo_n "checking for $ac_word... " >&6; }
8357 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8358 $as_echo_n "(cached) " >&6
8360 if test -n "$ac_ct_NMEDIT"; then
8361 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8367 test -z "$as_dir" && as_dir=.
8368 for ac_exec_ext in '' $ac_executable_extensions; do
8369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8370 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8380 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8381 if test -n "$ac_ct_NMEDIT"; then
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8383 $as_echo "$ac_ct_NMEDIT" >&6; }
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8386 $as_echo "no" >&6; }
8389 if test "x$ac_ct_NMEDIT" = x; then
8392 case $cross_compiling:$ac_tool_warned in
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8396 ac_tool_warned=yes ;;
8398 NMEDIT=$ac_ct_NMEDIT
8401 NMEDIT="$ac_cv_prog_NMEDIT"
8404 if test -n "$ac_tool_prefix"; then
8405 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8406 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8408 $as_echo_n "checking for $ac_word... " >&6; }
8409 if ${ac_cv_prog_LIPO+:} false; then :
8410 $as_echo_n "(cached) " >&6
8412 if test -n "$LIPO"; then
8413 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8419 test -z "$as_dir" && as_dir=.
8420 for ac_exec_ext in '' $ac_executable_extensions; do
8421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8422 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8432 LIPO=$ac_cv_prog_LIPO
8433 if test -n "$LIPO"; then
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8435 $as_echo "$LIPO" >&6; }
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8438 $as_echo "no" >&6; }
8443 if test -z "$ac_cv_prog_LIPO"; then
8445 # Extract the first word of "lipo", so it can be a program name with args.
8446 set dummy lipo; ac_word=$2
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8448 $as_echo_n "checking for $ac_word... " >&6; }
8449 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8450 $as_echo_n "(cached) " >&6
8452 if test -n "$ac_ct_LIPO"; then
8453 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8459 test -z "$as_dir" && as_dir=.
8460 for ac_exec_ext in '' $ac_executable_extensions; do
8461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8462 ac_cv_prog_ac_ct_LIPO="lipo"
8463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8472 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8473 if test -n "$ac_ct_LIPO"; then
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8475 $as_echo "$ac_ct_LIPO" >&6; }
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8478 $as_echo "no" >&6; }
8481 if test "x$ac_ct_LIPO" = x; then
8484 case $cross_compiling:$ac_tool_warned in
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8488 ac_tool_warned=yes ;;
8493 LIPO="$ac_cv_prog_LIPO"
8496 if test -n "$ac_tool_prefix"; then
8497 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8498 set dummy ${ac_tool_prefix}otool; ac_word=$2
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8500 $as_echo_n "checking for $ac_word... " >&6; }
8501 if ${ac_cv_prog_OTOOL+:} false; then :
8502 $as_echo_n "(cached) " >&6
8504 if test -n "$OTOOL"; then
8505 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8511 test -z "$as_dir" && as_dir=.
8512 for ac_exec_ext in '' $ac_executable_extensions; do
8513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8514 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8524 OTOOL=$ac_cv_prog_OTOOL
8525 if test -n "$OTOOL"; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8527 $as_echo "$OTOOL" >&6; }
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8530 $as_echo "no" >&6; }
8535 if test -z "$ac_cv_prog_OTOOL"; then
8537 # Extract the first word of "otool", so it can be a program name with args.
8538 set dummy otool; ac_word=$2
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8540 $as_echo_n "checking for $ac_word... " >&6; }
8541 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8542 $as_echo_n "(cached) " >&6
8544 if test -n "$ac_ct_OTOOL"; then
8545 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8551 test -z "$as_dir" && as_dir=.
8552 for ac_exec_ext in '' $ac_executable_extensions; do
8553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8554 ac_cv_prog_ac_ct_OTOOL="otool"
8555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8564 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8565 if test -n "$ac_ct_OTOOL"; then
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8567 $as_echo "$ac_ct_OTOOL" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8570 $as_echo "no" >&6; }
8573 if test "x$ac_ct_OTOOL" = x; then
8576 case $cross_compiling:$ac_tool_warned in
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8580 ac_tool_warned=yes ;;
8585 OTOOL="$ac_cv_prog_OTOOL"
8588 if test -n "$ac_tool_prefix"; then
8589 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8590 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8592 $as_echo_n "checking for $ac_word... " >&6; }
8593 if ${ac_cv_prog_OTOOL64+:} false; then :
8594 $as_echo_n "(cached) " >&6
8596 if test -n "$OTOOL64"; then
8597 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8603 test -z "$as_dir" && as_dir=.
8604 for ac_exec_ext in '' $ac_executable_extensions; do
8605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8606 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8616 OTOOL64=$ac_cv_prog_OTOOL64
8617 if test -n "$OTOOL64"; then
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8619 $as_echo "$OTOOL64" >&6; }
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8622 $as_echo "no" >&6; }
8627 if test -z "$ac_cv_prog_OTOOL64"; then
8628 ac_ct_OTOOL64=$OTOOL64
8629 # Extract the first word of "otool64", so it can be a program name with args.
8630 set dummy otool64; ac_word=$2
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8632 $as_echo_n "checking for $ac_word... " >&6; }
8633 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8634 $as_echo_n "(cached) " >&6
8636 if test -n "$ac_ct_OTOOL64"; then
8637 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8643 test -z "$as_dir" && as_dir=.
8644 for ac_exec_ext in '' $ac_executable_extensions; do
8645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8646 ac_cv_prog_ac_ct_OTOOL64="otool64"
8647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8656 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8657 if test -n "$ac_ct_OTOOL64"; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8659 $as_echo "$ac_ct_OTOOL64" >&6; }
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8662 $as_echo "no" >&6; }
8665 if test "x$ac_ct_OTOOL64" = x; then
8668 case $cross_compiling:$ac_tool_warned in
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8672 ac_tool_warned=yes ;;
8674 OTOOL64=$ac_ct_OTOOL64
8677 OTOOL64="$ac_cv_prog_OTOOL64"
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8707 $as_echo_n "checking for -single_module linker flag... " >&6; }
8708 if ${lt_cv_apple_cc_single_mod+:} false; then :
8709 $as_echo_n "(cached) " >&6
8711 lt_cv_apple_cc_single_mod=no
8712 if test -z "${LT_MULTI_MODULE}"; then
8713 # By default we will add the -single_module flag. You can override
8714 # by either setting the environment variable LT_MULTI_MODULE
8715 # non-empty at configure time, or by adding -multi_module to the
8717 rm -rf libconftest.dylib*
8718 echo "int foo(void){return 1;}" > conftest.c
8719 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8720 -dynamiclib -Wl,-single_module conftest.c" >&5
8721 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8722 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8724 # If there is a non-empty error log, and "single_module"
8725 # appears in it, assume the flag caused a linker warning
8726 if test -s conftest.err && $GREP single_module conftest.err; then
8727 cat conftest.err >&5
8728 # Otherwise, if the output was created with a 0 exit code from
8729 # the compiler, it worked.
8730 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8731 lt_cv_apple_cc_single_mod=yes
8733 cat conftest.err >&5
8735 rm -rf libconftest.dylib*
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8740 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8743 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8744 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8745 $as_echo_n "(cached) " >&6
8747 lt_cv_ld_exported_symbols_list=no
8748 save_LDFLAGS=$LDFLAGS
8749 echo "_main" > conftest.sym
8750 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8762 if ac_fn_c_try_link "$LINENO"; then :
8763 lt_cv_ld_exported_symbols_list=yes
8765 lt_cv_ld_exported_symbols_list=no
8767 rm -f core conftest.err conftest.$ac_objext \
8768 conftest$ac_exeext conftest.$ac_ext
8769 LDFLAGS="$save_LDFLAGS"
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8773 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8776 $as_echo_n "checking for -force_load linker flag... " >&6; }
8777 if ${lt_cv_ld_force_load+:} false; then :
8778 $as_echo_n "(cached) " >&6
8780 lt_cv_ld_force_load=no
8781 cat > conftest.c << _LT_EOF
8782 int forced_loaded() { return 2;}
8784 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8785 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8786 echo "$AR cru libconftest.a conftest.o" >&5
8787 $AR cru libconftest.a conftest.o 2>&5
8788 echo "$RANLIB libconftest.a" >&5
8789 $RANLIB libconftest.a 2>&5
8790 cat > conftest.c << _LT_EOF
8791 int main() { return 0;}
8793 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8794 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8796 if test -s conftest.err && $GREP force_load conftest.err; then
8797 cat conftest.err >&5
8798 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8799 lt_cv_ld_force_load=yes
8801 cat conftest.err >&5
8803 rm -f conftest.err libconftest.a conftest conftest.c
8804 rm -rf conftest.dSYM
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8808 $as_echo "$lt_cv_ld_force_load" >&6; }
8810 rhapsody* | darwin1.[012])
8811 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8813 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8814 darwin*) # darwin 5.x on
8815 # if running on 10.5 or later, the deployment target defaults
8816 # to the OS version, if on x86, and 10.4, the deployment
8817 # target defaults to 10.4. Don't you love it?
8818 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8819 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8820 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8822 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8824 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8828 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8829 _lt_dar_single_mod='$single_module'
8831 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8832 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8834 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8836 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8837 _lt_dsymutil='~$DSYMUTIL $lib || :'
8845 ac_cpp='$CPP $CPPFLAGS'
8846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8850 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8851 # On Suns, sometimes $CPP names a directory.
8852 if test -n "$CPP" && test -d "$CPP"; then
8855 if test -z "$CPP"; then
8856 if ${ac_cv_prog_CPP+:} false; then :
8857 $as_echo_n "(cached) " >&6
8859 # Double quotes because CPP needs to be expanded
8860 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8863 for ac_c_preproc_warn_flag in '' yes
8865 # Use a header file that comes with gcc, so configuring glibc
8866 # with a fresh cross-compiler works.
8867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8868 # <limits.h> exists even on freestanding compilers.
8869 # On the NeXT, cc -E runs the code through the compiler's parser,
8870 # not just through cpp. "Syntax error" is here to catch this case.
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8874 # include <limits.h>
8876 # include <assert.h>
8880 if ac_fn_c_try_cpp "$LINENO"; then :
8883 # Broken: fails on valid input.
8886 rm -f conftest.err conftest.i conftest.$ac_ext
8888 # OK, works on sane cases. Now check whether nonexistent headers
8889 # can be detected and how.
8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8892 #include <ac_nonexistent.h>
8894 if ac_fn_c_try_cpp "$LINENO"; then :
8895 # Broken: success on invalid input.
8898 # Passes both tests.
8902 rm -f conftest.err conftest.i conftest.$ac_ext
8905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8906 rm -f conftest.i conftest.err conftest.$ac_ext
8907 if $ac_preproc_ok; then :
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8920 $as_echo "$CPP" >&6; }
8922 for ac_c_preproc_warn_flag in '' yes
8924 # Use a header file that comes with gcc, so configuring glibc
8925 # with a fresh cross-compiler works.
8926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8927 # <limits.h> exists even on freestanding compilers.
8928 # On the NeXT, cc -E runs the code through the compiler's parser,
8929 # not just through cpp. "Syntax error" is here to catch this case.
8930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8933 # include <limits.h>
8935 # include <assert.h>
8939 if ac_fn_c_try_cpp "$LINENO"; then :
8942 # Broken: fails on valid input.
8945 rm -f conftest.err conftest.i conftest.$ac_ext
8947 # OK, works on sane cases. Now check whether nonexistent headers
8948 # can be detected and how.
8949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8950 /* end confdefs.h. */
8951 #include <ac_nonexistent.h>
8953 if ac_fn_c_try_cpp "$LINENO"; then :
8954 # Broken: success on invalid input.
8957 # Passes both tests.
8961 rm -f conftest.err conftest.i conftest.$ac_ext
8964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8965 rm -f conftest.i conftest.err conftest.$ac_ext
8966 if $ac_preproc_ok; then :
8969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8971 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8972 See \`config.log' for more details" "$LINENO" 5; }
8976 ac_cpp='$CPP $CPPFLAGS'
8977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8983 $as_echo_n "checking for ANSI C header files... " >&6; }
8984 if ${ac_cv_header_stdc+:} false; then :
8985 $as_echo_n "(cached) " >&6
8987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h. */
9002 if ac_fn_c_try_compile "$LINENO"; then :
9003 ac_cv_header_stdc=yes
9005 ac_cv_header_stdc=no
9007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9009 if test $ac_cv_header_stdc = yes; then
9010 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9012 /* end confdefs.h. */
9016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9017 $EGREP "memchr" >/dev/null 2>&1; then :
9020 ac_cv_header_stdc=no
9026 if test $ac_cv_header_stdc = yes; then
9027 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h. */
9033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9034 $EGREP "free" >/dev/null 2>&1; then :
9037 ac_cv_header_stdc=no
9043 if test $ac_cv_header_stdc = yes; then
9044 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9045 if test "$cross_compiling" = yes; then :
9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9052 #if ((' ' & 0x0FF) == 0x020)
9053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9056 # define ISLOWER(c) \
9057 (('a' <= (c) && (c) <= 'i') \
9058 || ('j' <= (c) && (c) <= 'r') \
9059 || ('s' <= (c) && (c) <= 'z'))
9060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9068 for (i = 0; i < 256; i++)
9069 if (XOR (islower (i), ISLOWER (i))
9070 || toupper (i) != TOUPPER (i))
9075 if ac_fn_c_try_run "$LINENO"; then :
9078 ac_cv_header_stdc=no
9080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9081 conftest.$ac_objext conftest.beam conftest.$ac_ext
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9087 $as_echo "$ac_cv_header_stdc" >&6; }
9088 if test $ac_cv_header_stdc = yes; then
9090 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9094 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9095 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9096 inttypes.h stdint.h unistd.h
9098 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9099 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9101 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9102 cat >>confdefs.h <<_ACEOF
9103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9111 for ac_header in dlfcn.h
9113 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9115 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9116 cat >>confdefs.h <<_ACEOF
9117 #define HAVE_DLFCN_H 1
9126 func_stripname_cnf ()
9129 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
9130 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
9132 } # func_stripname_cnf
9139 # Check whether --enable-static was given.
9140 if test "${enable_static+set}" = set; then :
9141 enableval=$enable_static; p=${PACKAGE-default}
9143 yes) enable_static=yes ;;
9144 no) enable_static=no ;;
9147 # Look at the argument we got. We use all the common list separators.
9148 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9149 for pkg in $enableval; do
9151 if test "X$pkg" = "X$p"; then
9168 enable_win32_dll=yes
9171 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9172 if test -n "$ac_tool_prefix"; then
9173 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9174 set dummy ${ac_tool_prefix}as; ac_word=$2
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9176 $as_echo_n "checking for $ac_word... " >&6; }
9177 if ${ac_cv_prog_AS+:} false; then :
9178 $as_echo_n "(cached) " >&6
9180 if test -n "$AS"; then
9181 ac_cv_prog_AS="$AS" # Let the user override the test.
9183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9187 test -z "$as_dir" && as_dir=.
9188 for ac_exec_ext in '' $ac_executable_extensions; do
9189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9190 ac_cv_prog_AS="${ac_tool_prefix}as"
9191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9201 if test -n "$AS"; then
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9203 $as_echo "$AS" >&6; }
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9206 $as_echo "no" >&6; }
9211 if test -z "$ac_cv_prog_AS"; then
9213 # Extract the first word of "as", so it can be a program name with args.
9214 set dummy as; ac_word=$2
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9216 $as_echo_n "checking for $ac_word... " >&6; }
9217 if ${ac_cv_prog_ac_ct_AS+:} false; then :
9218 $as_echo_n "(cached) " >&6
9220 if test -n "$ac_ct_AS"; then
9221 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9227 test -z "$as_dir" && as_dir=.
9228 for ac_exec_ext in '' $ac_executable_extensions; do
9229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9230 ac_cv_prog_ac_ct_AS="as"
9231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9240 ac_ct_AS=$ac_cv_prog_ac_ct_AS
9241 if test -n "$ac_ct_AS"; then
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9243 $as_echo "$ac_ct_AS" >&6; }
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9246 $as_echo "no" >&6; }
9249 if test "x$ac_ct_AS" = x; then
9252 case $cross_compiling:$ac_tool_warned in
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9256 ac_tool_warned=yes ;;
9264 if test -n "$ac_tool_prefix"; then
9265 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9266 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9268 $as_echo_n "checking for $ac_word... " >&6; }
9269 if ${ac_cv_prog_DLLTOOL+:} false; then :
9270 $as_echo_n "(cached) " >&6
9272 if test -n "$DLLTOOL"; then
9273 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9279 test -z "$as_dir" && as_dir=.
9280 for ac_exec_ext in '' $ac_executable_extensions; do
9281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9282 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9292 DLLTOOL=$ac_cv_prog_DLLTOOL
9293 if test -n "$DLLTOOL"; then
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9295 $as_echo "$DLLTOOL" >&6; }
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298 $as_echo "no" >&6; }
9303 if test -z "$ac_cv_prog_DLLTOOL"; then
9304 ac_ct_DLLTOOL=$DLLTOOL
9305 # Extract the first word of "dlltool", so it can be a program name with args.
9306 set dummy dlltool; ac_word=$2
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9308 $as_echo_n "checking for $ac_word... " >&6; }
9309 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9310 $as_echo_n "(cached) " >&6
9312 if test -n "$ac_ct_DLLTOOL"; then
9313 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9319 test -z "$as_dir" && as_dir=.
9320 for ac_exec_ext in '' $ac_executable_extensions; do
9321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9322 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9332 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9333 if test -n "$ac_ct_DLLTOOL"; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9335 $as_echo "$ac_ct_DLLTOOL" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 $as_echo "no" >&6; }
9341 if test "x$ac_ct_DLLTOOL" = x; then
9344 case $cross_compiling:$ac_tool_warned in
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9348 ac_tool_warned=yes ;;
9350 DLLTOOL=$ac_ct_DLLTOOL
9353 DLLTOOL="$ac_cv_prog_DLLTOOL"
9356 if test -n "$ac_tool_prefix"; then
9357 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9358 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9360 $as_echo_n "checking for $ac_word... " >&6; }
9361 if ${ac_cv_prog_OBJDUMP+:} false; then :
9362 $as_echo_n "(cached) " >&6
9364 if test -n "$OBJDUMP"; then
9365 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9371 test -z "$as_dir" && as_dir=.
9372 for ac_exec_ext in '' $ac_executable_extensions; do
9373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9374 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9384 OBJDUMP=$ac_cv_prog_OBJDUMP
9385 if test -n "$OBJDUMP"; then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9387 $as_echo "$OBJDUMP" >&6; }
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9390 $as_echo "no" >&6; }
9395 if test -z "$ac_cv_prog_OBJDUMP"; then
9396 ac_ct_OBJDUMP=$OBJDUMP
9397 # Extract the first word of "objdump", so it can be a program name with args.
9398 set dummy objdump; ac_word=$2
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9400 $as_echo_n "checking for $ac_word... " >&6; }
9401 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9402 $as_echo_n "(cached) " >&6
9404 if test -n "$ac_ct_OBJDUMP"; then
9405 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9411 test -z "$as_dir" && as_dir=.
9412 for ac_exec_ext in '' $ac_executable_extensions; do
9413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9414 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9424 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9425 if test -n "$ac_ct_OBJDUMP"; then
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9427 $as_echo "$ac_ct_OBJDUMP" >&6; }
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9430 $as_echo "no" >&6; }
9433 if test "x$ac_ct_OBJDUMP" = x; then
9436 case $cross_compiling:$ac_tool_warned in
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9440 ac_tool_warned=yes ;;
9442 OBJDUMP=$ac_ct_OBJDUMP
9445 OBJDUMP="$ac_cv_prog_OBJDUMP"
9451 test -z "$AS" && AS=as
9457 test -z "$DLLTOOL" && DLLTOOL=dlltool
9463 test -z "$OBJDUMP" && OBJDUMP=objdump
9475 # Check whether --enable-shared was given.
9476 if test "${enable_shared+set}" = set; then :
9477 enableval=$enable_shared; p=${PACKAGE-default}
9479 yes) enable_shared=yes ;;
9480 no) enable_shared=no ;;
9483 # Look at the argument we got. We use all the common list separators.
9484 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9485 for pkg in $enableval; do
9487 if test "X$pkg" = "X$p"; then
9508 # Check whether --with-pic was given.
9509 if test "${with_pic+set}" = set; then :
9510 withval=$with_pic; lt_p=${PACKAGE-default}
9512 yes|no) pic_mode=$withval ;;
9515 # Look at the argument we got. We use all the common list separators.
9516 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9517 for lt_pkg in $withval; do
9519 if test "X$lt_pkg" = "X$lt_p"; then
9531 test -z "$pic_mode" && pic_mode=default
9539 # Check whether --enable-fast-install was given.
9540 if test "${enable_fast_install+set}" = set; then :
9541 enableval=$enable_fast_install; p=${PACKAGE-default}
9543 yes) enable_fast_install=yes ;;
9544 no) enable_fast_install=no ;;
9546 enable_fast_install=no
9547 # Look at the argument we got. We use all the common list separators.
9548 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9549 for pkg in $enableval; do
9551 if test "X$pkg" = "X$p"; then
9552 enable_fast_install=yes
9559 enable_fast_install=yes
9572 # This can be used to rebuild libtool when needed
9573 LIBTOOL_DEPS="$ltmain"
9575 # Always use our own libtool.
9576 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9607 test -z "$LN_S" && LN_S="ln -s"
9622 if test -n "${ZSH_VERSION+set}" ; then
9623 setopt NO_GLOB_SUBST
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9627 $as_echo_n "checking for objdir... " >&6; }
9628 if ${lt_cv_objdir+:} false; then :
9629 $as_echo_n "(cached) " >&6
9631 rm -f .libs 2>/dev/null
9632 mkdir .libs 2>/dev/null
9633 if test -d .libs; then
9636 # MS-DOS does not allow filenames that begin with a dot.
9639 rmdir .libs 2>/dev/null
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9642 $as_echo "$lt_cv_objdir" >&6; }
9643 objdir=$lt_cv_objdir
9649 cat >>confdefs.h <<_ACEOF
9650 #define LT_OBJDIR "$lt_cv_objdir/"
9658 # AIX sometimes has problems with the GCC collect2 program. For some
9659 # reason, if we set the COLLECT_NAMES environment variable, the problems
9660 # vanish in a puff of smoke.
9661 if test "X${COLLECT_NAMES+set}" != Xset; then
9663 export COLLECT_NAMES
9670 can_build_shared=yes
9672 # All known linkers require a `.a' archive for static linking (except MSVC,
9673 # which needs '.lib').
9676 with_gnu_ld="$lt_cv_prog_gnu_ld"
9679 old_CFLAGS="$CFLAGS"
9681 # Set sane defaults for various variables
9682 test -z "$CC" && CC=cc
9683 test -z "$LTCC" && LTCC=$CC
9684 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9685 test -z "$LD" && LD=ld
9686 test -z "$ac_objext" && ac_objext=o
9688 for cc_temp in $compiler""; do
9690 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9691 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9696 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9699 # Only perform the check for file, if the check method requires it
9700 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9701 case $deplibs_check_method in
9703 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9705 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9706 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9707 $as_echo_n "(cached) " >&6
9711 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9714 lt_save_MAGIC_CMD="$MAGIC_CMD"
9715 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9716 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9717 for ac_dir in $ac_dummy; do
9719 test -z "$ac_dir" && ac_dir=.
9720 if test -f $ac_dir/${ac_tool_prefix}file; then
9721 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9722 if test -n "$file_magic_test_file"; then
9723 case $deplibs_check_method in
9725 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9726 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9727 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9728 $EGREP "$file_magic_regex" > /dev/null; then
9733 *** Warning: the command libtool uses to detect shared libraries,
9734 *** $file_magic_cmd, produces output that libtool cannot recognize.
9735 *** The result is that libtool may fail to recognize shared libraries
9736 *** as such. This will affect the creation of libtool libraries that
9737 *** depend on shared libraries, but programs linked with such libtool
9738 *** libraries will work regardless of this problem. Nevertheless, you
9739 *** may want to report the problem to your system manager and/or to
9740 *** bug-libtool@gnu.org
9750 MAGIC_CMD="$lt_save_MAGIC_CMD"
9755 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9756 if test -n "$MAGIC_CMD"; then
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9758 $as_echo "$MAGIC_CMD" >&6; }
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9761 $as_echo "no" >&6; }
9768 if test -z "$lt_cv_path_MAGIC_CMD"; then
9769 if test -n "$ac_tool_prefix"; then
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9771 $as_echo_n "checking for file... " >&6; }
9772 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9773 $as_echo_n "(cached) " >&6
9777 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9780 lt_save_MAGIC_CMD="$MAGIC_CMD"
9781 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9782 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9783 for ac_dir in $ac_dummy; do
9785 test -z "$ac_dir" && ac_dir=.
9786 if test -f $ac_dir/file; then
9787 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9788 if test -n "$file_magic_test_file"; then
9789 case $deplibs_check_method in
9791 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9792 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9793 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9794 $EGREP "$file_magic_regex" > /dev/null; then
9799 *** Warning: the command libtool uses to detect shared libraries,
9800 *** $file_magic_cmd, produces output that libtool cannot recognize.
9801 *** The result is that libtool may fail to recognize shared libraries
9802 *** as such. This will affect the creation of libtool libraries that
9803 *** depend on shared libraries, but programs linked with such libtool
9804 *** libraries will work regardless of this problem. Nevertheless, you
9805 *** may want to report the problem to your system manager and/or to
9806 *** bug-libtool@gnu.org
9816 MAGIC_CMD="$lt_save_MAGIC_CMD"
9821 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9822 if test -n "$MAGIC_CMD"; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9824 $as_echo "$MAGIC_CMD" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9827 $as_echo "no" >&6; }
9840 # Use C for the default configuration in the libtool script
9844 ac_cpp='$CPP $CPPFLAGS'
9845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9850 # Source file extension for C test sources.
9853 # Object file extension for compiled C test sources.
9857 # Code to be used in simple compile tests
9858 lt_simple_compile_test_code="int some_variable = 0;"
9860 # Code to be used in simple link tests
9861 lt_simple_link_test_code='int main(){return(0);}'
9869 # If no C compiler was specified, use CC.
9872 # If no C compiler flags were specified, use CFLAGS.
9873 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9875 # Allow CC to be a program name with arguments.
9878 # Save the default compiler, since it gets overwritten when the other
9879 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9880 compiler_DEFAULT=$CC
9882 # save warnings/boilerplate of simple test code
9883 ac_outfile=conftest.$ac_objext
9884 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9885 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9886 _lt_compiler_boilerplate=`cat conftest.err`
9889 ac_outfile=conftest.$ac_objext
9890 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9891 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9892 _lt_linker_boilerplate=`cat conftest.err`
9897 ## There is no encapsulation within the following macros, do not change
9898 ## the running order or otherwise move them around unless you know exactly
9899 ## what you are doing...
9900 if test -n "$compiler"; then
9902 lt_prog_compiler_no_builtin_flag=
9904 if test "$GCC" = yes; then
9905 case $cc_basename in
9907 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9909 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9913 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9914 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9915 $as_echo_n "(cached) " >&6
9917 lt_cv_prog_compiler_rtti_exceptions=no
9918 ac_outfile=conftest.$ac_objext
9919 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9920 lt_compiler_flag="-fno-rtti -fno-exceptions"
9921 # Insert the option either (1) after the last *FLAGS variable, or
9922 # (2) before a word containing "conftest.", or (3) at the end.
9923 # Note that $ac_compile itself does not contain backslashes and begins
9924 # with a dollar sign (not a hyphen), so the echo should work correctly.
9925 # The option is referenced via a variable to avoid confusing sed.
9926 lt_compile=`echo "$ac_compile" | $SED \
9927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9929 -e 's:$: $lt_compiler_flag:'`
9930 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9931 (eval "$lt_compile" 2>conftest.err)
9933 cat conftest.err >&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 if (exit $ac_status) && test -s "$ac_outfile"; then
9936 # The compiler can only warn and ignore the option if not recognized
9937 # So say no if there are warnings other than the usual output.
9938 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9939 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9940 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9941 lt_cv_prog_compiler_rtti_exceptions=yes
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9948 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9950 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9951 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9963 lt_prog_compiler_wl=
9964 lt_prog_compiler_pic=
9965 lt_prog_compiler_static=
9968 if test "$GCC" = yes; then
9969 lt_prog_compiler_wl='-Wl,'
9970 lt_prog_compiler_static='-static'
9974 # All AIX code is PIC.
9975 if test "$host_cpu" = ia64; then
9976 # AIX 5 now supports IA64 processor
9977 lt_prog_compiler_static='-Bstatic'
9984 # see comment about AmigaOS4 .so support
9985 lt_prog_compiler_pic='-fPIC'
9988 # FIXME: we need at least 68020 code to build shared libraries, but
9989 # adding the `-m68020' flag to GCC prevents building anything better,
9991 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9996 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9997 # PIC is the default for these OSes.
10000 mingw* | cygwin* | pw32* | os2* | cegcc*)
10001 # This hack is so that the source file can tell whether it is being
10002 # built for inclusion in a dll (and should export symbols for example).
10003 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10004 # (--disable-auto-import) libraries
10005 lt_prog_compiler_pic='-DDLL_EXPORT'
10008 darwin* | rhapsody*)
10009 # PIC is the default on this platform
10010 # Common symbols not allowed in MH_DYLIB files
10011 lt_prog_compiler_pic='-fno-common'
10015 # PIC is the default for Haiku.
10016 # The "-static" flag exists, but is broken.
10017 lt_prog_compiler_static=
10021 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10022 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10023 # sets the default TLS model and affects inlining.
10029 lt_prog_compiler_pic='-fPIC'
10035 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10036 # Instead, we relocate shared libraries at runtime.
10040 # Just because we use GCC doesn't mean we suddenly get shared libraries
10041 # on systems that don't support them.
10042 lt_prog_compiler_can_build_shared=no
10047 # QNX uses GNU C++, but need to define -shared option too, otherwise
10048 # it will coredump.
10049 lt_prog_compiler_pic='-fPIC -shared'
10053 if test -d /usr/nec; then
10054 lt_prog_compiler_pic=-Kconform_pic
10059 lt_prog_compiler_pic='-fPIC'
10063 case $cc_basename in
10064 nvcc*) # Cuda Compiler Driver 2.2
10065 lt_prog_compiler_wl='-Xlinker '
10066 if test -n "$lt_prog_compiler_pic"; then
10067 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10072 # PORTME Check for flag to pass linker flags through the system compiler.
10075 lt_prog_compiler_wl='-Wl,'
10076 if test "$host_cpu" = ia64; then
10077 # AIX 5 now supports IA64 processor
10078 lt_prog_compiler_static='-Bstatic'
10080 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10084 mingw* | cygwin* | pw32* | os2* | cegcc*)
10085 # This hack is so that the source file can tell whether it is being
10086 # built for inclusion in a dll (and should export symbols for example).
10087 lt_prog_compiler_pic='-DDLL_EXPORT'
10090 hpux9* | hpux10* | hpux11*)
10091 lt_prog_compiler_wl='-Wl,'
10092 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10093 # not for PA HP-UX.
10099 lt_prog_compiler_pic='+Z'
10102 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10103 lt_prog_compiler_static='${wl}-a ${wl}archive'
10106 irix5* | irix6* | nonstopux*)
10107 lt_prog_compiler_wl='-Wl,'
10108 # PIC (with -KPIC) is the default.
10109 lt_prog_compiler_static='-non_shared'
10112 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10113 case $cc_basename in
10114 # old Intel for x86_64 which still supported -KPIC.
10116 lt_prog_compiler_wl='-Wl,'
10117 lt_prog_compiler_pic='-KPIC'
10118 lt_prog_compiler_static='-static'
10120 # icc used to be incompatible with GCC.
10121 # ICC 10 doesn't accept -KPIC any more.
10123 lt_prog_compiler_wl='-Wl,'
10124 lt_prog_compiler_pic='-fPIC'
10125 lt_prog_compiler_static='-static'
10127 # Lahey Fortran 8.1.
10129 lt_prog_compiler_wl='-Wl,'
10130 lt_prog_compiler_pic='--shared'
10131 lt_prog_compiler_static='--static'
10134 # NAG Fortran compiler
10135 lt_prog_compiler_wl='-Wl,-Wl,,'
10136 lt_prog_compiler_pic='-PIC'
10137 lt_prog_compiler_static='-Bstatic'
10139 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10140 # Portland Group compilers (*not* the Pentium gcc compiler,
10141 # which looks to be a dead project)
10142 lt_prog_compiler_wl='-Wl,'
10143 lt_prog_compiler_pic='-fpic'
10144 lt_prog_compiler_static='-Bstatic'
10147 lt_prog_compiler_wl='-Wl,'
10148 # All Alpha code is PIC.
10149 lt_prog_compiler_static='-non_shared'
10151 xl* | bgxl* | bgf* | mpixl*)
10152 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10153 lt_prog_compiler_wl='-Wl,'
10154 lt_prog_compiler_pic='-qpic'
10155 lt_prog_compiler_static='-qstaticlink'
10158 case `$CC -V 2>&1 | sed 5q` in
10159 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10160 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10161 lt_prog_compiler_pic='-KPIC'
10162 lt_prog_compiler_static='-Bstatic'
10163 lt_prog_compiler_wl=''
10165 *Sun\ F* | *Sun*Fortran*)
10166 lt_prog_compiler_pic='-KPIC'
10167 lt_prog_compiler_static='-Bstatic'
10168 lt_prog_compiler_wl='-Qoption ld '
10172 lt_prog_compiler_pic='-KPIC'
10173 lt_prog_compiler_static='-Bstatic'
10174 lt_prog_compiler_wl='-Wl,'
10176 *Intel*\ [CF]*Compiler*)
10177 lt_prog_compiler_wl='-Wl,'
10178 lt_prog_compiler_pic='-fPIC'
10179 lt_prog_compiler_static='-static'
10182 lt_prog_compiler_wl='-Wl,'
10183 lt_prog_compiler_pic='-fpic'
10184 lt_prog_compiler_static='-Bstatic'
10192 lt_prog_compiler_pic='-KPIC'
10193 lt_prog_compiler_static='-Bstatic'
10197 # QNX uses GNU C++, but need to define -shared option too, otherwise
10198 # it will coredump.
10199 lt_prog_compiler_pic='-fPIC -shared'
10202 osf3* | osf4* | osf5*)
10203 lt_prog_compiler_wl='-Wl,'
10204 # All OSF/1 code is PIC.
10205 lt_prog_compiler_static='-non_shared'
10209 lt_prog_compiler_static='-non_shared'
10213 lt_prog_compiler_pic='-KPIC'
10214 lt_prog_compiler_static='-Bstatic'
10215 case $cc_basename in
10216 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10217 lt_prog_compiler_wl='-Qoption ld ';;
10219 lt_prog_compiler_wl='-Wl,';;
10224 lt_prog_compiler_wl='-Qoption ld '
10225 lt_prog_compiler_pic='-PIC'
10226 lt_prog_compiler_static='-Bstatic'
10229 sysv4 | sysv4.2uw2* | sysv4.3*)
10230 lt_prog_compiler_wl='-Wl,'
10231 lt_prog_compiler_pic='-KPIC'
10232 lt_prog_compiler_static='-Bstatic'
10236 if test -d /usr/nec ;then
10237 lt_prog_compiler_pic='-Kconform_pic'
10238 lt_prog_compiler_static='-Bstatic'
10242 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10243 lt_prog_compiler_wl='-Wl,'
10244 lt_prog_compiler_pic='-KPIC'
10245 lt_prog_compiler_static='-Bstatic'
10249 lt_prog_compiler_wl='-Wl,'
10250 lt_prog_compiler_can_build_shared=no
10254 lt_prog_compiler_pic='-pic'
10255 lt_prog_compiler_static='-Bstatic'
10259 lt_prog_compiler_can_build_shared=no
10265 # For platforms which do not support PIC, -DPIC is meaningless:
10267 lt_prog_compiler_pic=
10270 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10275 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10276 if ${lt_cv_prog_compiler_pic+:} false; then :
10277 $as_echo_n "(cached) " >&6
10279 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10282 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10283 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10286 # Check to make sure the PIC flag actually works.
10288 if test -n "$lt_prog_compiler_pic"; then
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10290 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10291 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10292 $as_echo_n "(cached) " >&6
10294 lt_cv_prog_compiler_pic_works=no
10295 ac_outfile=conftest.$ac_objext
10296 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10297 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10298 # Insert the option either (1) after the last *FLAGS variable, or
10299 # (2) before a word containing "conftest.", or (3) at the end.
10300 # Note that $ac_compile itself does not contain backslashes and begins
10301 # with a dollar sign (not a hyphen), so the echo should work correctly.
10302 # The option is referenced via a variable to avoid confusing sed.
10303 lt_compile=`echo "$ac_compile" | $SED \
10304 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10305 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10306 -e 's:$: $lt_compiler_flag:'`
10307 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10308 (eval "$lt_compile" 2>conftest.err)
10310 cat conftest.err >&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 if (exit $ac_status) && test -s "$ac_outfile"; then
10313 # The compiler can only warn and ignore the option if not recognized
10314 # So say no if there are warnings other than the usual output.
10315 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10316 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10317 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10318 lt_cv_prog_compiler_pic_works=yes
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10325 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10327 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10328 case $lt_prog_compiler_pic in
10330 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10333 lt_prog_compiler_pic=
10334 lt_prog_compiler_can_build_shared=no
10350 # Check to make sure the static flag actually works.
10352 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10354 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10355 if ${lt_cv_prog_compiler_static_works+:} false; then :
10356 $as_echo_n "(cached) " >&6
10358 lt_cv_prog_compiler_static_works=no
10359 save_LDFLAGS="$LDFLAGS"
10360 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10361 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10362 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10363 # The linker can only warn and ignore the option if not recognized
10364 # So say no if there are warnings
10365 if test -s conftest.err; then
10366 # Append any errors to the config.log.
10367 cat conftest.err 1>&5
10368 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10369 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10370 if diff conftest.exp conftest.er2 >/dev/null; then
10371 lt_cv_prog_compiler_static_works=yes
10374 lt_cv_prog_compiler_static_works=yes
10378 LDFLAGS="$save_LDFLAGS"
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10382 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10384 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10387 lt_prog_compiler_static=
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10397 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10398 if ${lt_cv_prog_compiler_c_o+:} false; then :
10399 $as_echo_n "(cached) " >&6
10401 lt_cv_prog_compiler_c_o=no
10402 $RM -r conftest 2>/dev/null
10406 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10408 lt_compiler_flag="-o out/conftest2.$ac_objext"
10409 # Insert the option either (1) after the last *FLAGS variable, or
10410 # (2) before a word containing "conftest.", or (3) at the end.
10411 # Note that $ac_compile itself does not contain backslashes and begins
10412 # with a dollar sign (not a hyphen), so the echo should work correctly.
10413 lt_compile=`echo "$ac_compile" | $SED \
10414 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10415 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10416 -e 's:$: $lt_compiler_flag:'`
10417 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10418 (eval "$lt_compile" 2>out/conftest.err)
10420 cat out/conftest.err >&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10424 # The compiler can only warn and ignore the option if not recognized
10425 # So say no if there are warnings
10426 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10427 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10428 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10429 lt_cv_prog_compiler_c_o=yes
10434 # SGI C++ compiler will create directory out/ii_files/ for
10435 # template instantiation
10436 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10437 $RM out/* && rmdir out
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10444 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10452 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10453 if ${lt_cv_prog_compiler_c_o+:} false; then :
10454 $as_echo_n "(cached) " >&6
10456 lt_cv_prog_compiler_c_o=no
10457 $RM -r conftest 2>/dev/null
10461 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10463 lt_compiler_flag="-o out/conftest2.$ac_objext"
10464 # Insert the option either (1) after the last *FLAGS variable, or
10465 # (2) before a word containing "conftest.", or (3) at the end.
10466 # Note that $ac_compile itself does not contain backslashes and begins
10467 # with a dollar sign (not a hyphen), so the echo should work correctly.
10468 lt_compile=`echo "$ac_compile" | $SED \
10469 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10470 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10471 -e 's:$: $lt_compiler_flag:'`
10472 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10473 (eval "$lt_compile" 2>out/conftest.err)
10475 cat out/conftest.err >&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10479 # The compiler can only warn and ignore the option if not recognized
10480 # So say no if there are warnings
10481 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10482 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10483 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10484 lt_cv_prog_compiler_c_o=yes
10489 # SGI C++ compiler will create directory out/ii_files/ for
10490 # template instantiation
10491 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10492 $RM out/* && rmdir out
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10499 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10504 hard_links="nottested"
10505 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10506 # do not overwrite the value of need_locks provided by the user
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10508 $as_echo_n "checking if we can lock with hard links... " >&6; }
10511 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10513 ln conftest.a conftest.b 2>&5 || hard_links=no
10514 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10516 $as_echo "$hard_links" >&6; }
10517 if test "$hard_links" = no; then
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10519 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10532 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10535 allow_undefined_flag=
10536 always_export_symbols=no
10538 archive_expsym_cmds=
10539 compiler_needs_object=no
10540 enable_shared_with_static_runtimes=no
10541 export_dynamic_flag_spec=
10542 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10543 hardcode_automatic=no
10545 hardcode_direct_absolute=no
10546 hardcode_libdir_flag_spec=
10547 hardcode_libdir_separator=
10548 hardcode_minus_L=no
10549 hardcode_shlibpath_var=unsupported
10551 link_all_deplibs=unknown
10553 module_expsym_cmds=
10554 old_archive_from_new_cmds=
10555 old_archive_from_expsyms_cmds=
10556 thread_safe_flag_spec=
10557 whole_archive_flag_spec=
10558 # include_expsyms should be a list of space-separated symbols to be *always*
10559 # included in the symbol list
10561 # exclude_expsyms can be an extended regexp of symbols to exclude
10562 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10563 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10564 # as well as any symbol that contains `d'.
10565 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10566 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10567 # platforms (ab)use it in PIC code, but their linkers get confused if
10568 # the symbol is explicitly referenced. Since portable code cannot
10569 # rely on this symbol name, it's probably fine to never include it in
10570 # preloaded symbol tables.
10571 # Exclude shared library initialization/finalization symbols.
10572 extract_expsyms_cmds=
10575 cygwin* | mingw* | pw32* | cegcc*)
10576 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10577 # When not using gcc, we currently assume that we are using
10578 # Microsoft Visual C++.
10579 if test "$GCC" != yes; then
10584 # we just hope/assume this is gcc and not c89 (= MSVC++)
10594 # On some targets, GNU ld is compatible enough with the native linker
10595 # that we're better off using the native interface for both.
10596 lt_use_gnu_ld_interface=no
10597 if test "$with_gnu_ld" = yes; then
10600 # The AIX port of GNU ld has always aspired to compatibility
10601 # with the native linker. However, as the warning in the GNU ld
10602 # block says, versions before 2.19.5* couldn't really create working
10603 # shared libraries, regardless of the interface used.
10604 case `$LD -v 2>&1` in
10605 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10606 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10607 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10609 lt_use_gnu_ld_interface=yes
10614 lt_use_gnu_ld_interface=yes
10619 if test "$lt_use_gnu_ld_interface" = yes; then
10620 # If archive_cmds runs LD, not CC, wlarc should be empty
10623 # Set some defaults for GNU ld with shared library support. These
10624 # are reset later if shared libraries are not supported. Putting them
10625 # here allows them to be overridden if necessary.
10626 runpath_var=LD_RUN_PATH
10627 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10628 export_dynamic_flag_spec='${wl}--export-dynamic'
10629 # ancient GNU ld didn't support --whole-archive et. al.
10630 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10631 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10633 whole_archive_flag_spec=
10635 supports_anon_versioning=no
10636 case `$LD -v 2>&1` in
10637 *GNU\ gold*) supports_anon_versioning=yes ;;
10638 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10639 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10640 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10641 *\ 2.11.*) ;; # other 2.11 versions
10642 *) supports_anon_versioning=yes ;;
10645 # See if GNU ld supports shared libraries.
10648 # On AIX/PPC, the GNU linker is very broken
10649 if test "$host_cpu" != ia64; then
10653 *** Warning: the GNU linker, at least up to release 2.19, is reported
10654 *** to be unable to reliably create shared libraries on AIX.
10655 *** Therefore, libtool is disabling shared libraries support. If you
10656 *** really care for shared libraries, you may want to install binutils
10657 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10658 *** You will then need to restart the configuration process.
10667 # see comment about AmigaOS4 .so support
10668 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10669 archive_expsym_cmds=''
10672 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)'
10673 hardcode_libdir_flag_spec='-L$libdir'
10674 hardcode_minus_L=yes
10680 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10681 allow_undefined_flag=unsupported
10682 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10683 # support --undefined. This deserves some investigation. FIXME
10684 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10690 cygwin* | mingw* | pw32* | cegcc*)
10691 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10692 # as there is no search path for DLLs.
10693 hardcode_libdir_flag_spec='-L$libdir'
10694 export_dynamic_flag_spec='${wl}--export-all-symbols'
10695 allow_undefined_flag=unsupported
10696 always_export_symbols=no
10697 enable_shared_with_static_runtimes=yes
10698 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'
10699 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10701 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10702 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10703 # If the export-symbols file already is a .def file (1st line
10704 # is EXPORTS), use it as is; otherwise, prepend...
10705 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10706 cp $export_symbols $output_objdir/$soname.def;
10708 echo EXPORTS > $output_objdir/$soname.def;
10709 cat $export_symbols >> $output_objdir/$soname.def;
10711 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10718 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10719 link_all_deplibs=yes
10724 hardcode_shlibpath_var=no
10725 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10726 export_dynamic_flag_spec='${wl}-E'
10727 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10728 # Instead, shared libraries are loaded at an image base (0x10000000 by
10729 # default) and relocated if they conflict, which is a slow very memory
10730 # consuming and fragmenting process. To avoid this, we pick a random,
10731 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10732 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10733 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10734 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'
10737 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10739 if test "$host_os" = linux-dietlibc; then
10740 case $cc_basename in
10741 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10744 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10745 && test "$tmp_diet" = no
10747 tmp_addflag=' $pic_flag'
10748 tmp_sharedflag='-shared'
10749 case $cc_basename,$host_cpu in
10750 pgcc*) # Portland Group C compiler
10751 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'
10752 tmp_addflag=' $pic_flag'
10754 pgf77* | pgf90* | pgf95* | pgfortran*)
10755 # Portland Group f77 and f90 compilers
10756 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'
10757 tmp_addflag=' $pic_flag -Mnomain' ;;
10758 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10759 tmp_addflag=' -i_dynamic' ;;
10760 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10761 tmp_addflag=' -i_dynamic -nofor_main' ;;
10762 ifc* | ifort*) # Intel Fortran compiler
10763 tmp_addflag=' -nofor_main' ;;
10764 lf95*) # Lahey Fortran 8.1
10765 whole_archive_flag_spec=
10766 tmp_sharedflag='--shared' ;;
10767 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10768 tmp_sharedflag='-qmkshrobj'
10770 nvcc*) # Cuda Compiler Driver 2.2
10771 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'
10772 compiler_needs_object=yes
10775 case `$CC -V 2>&1 | sed 5q` in
10776 *Sun\ C*) # Sun C 5.9
10777 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'
10778 compiler_needs_object=yes
10779 tmp_sharedflag='-G' ;;
10780 *Sun\ F*) # Sun Fortran 8.3
10781 tmp_sharedflag='-G' ;;
10783 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10785 if test "x$supports_anon_versioning" = xyes; then
10786 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10787 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10788 echo "local: *; };" >> $output_objdir/$libname.ver~
10789 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10792 case $cc_basename in
10793 xlf* | bgf* | bgxlf* | mpixlf*)
10794 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10795 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10796 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10797 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10798 if test "x$supports_anon_versioning" = xyes; then
10799 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10800 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10801 echo "local: *; };" >> $output_objdir/$libname.ver~
10802 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10812 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10813 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10816 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10817 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10822 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10826 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10827 *** create shared libraries on Solaris systems. Therefore, libtool
10828 *** is disabling shared libraries support. We urge you to upgrade GNU
10829 *** binutils to release 2.9.1 or newer. Another option is to modify
10830 *** your PATH or compiler configuration so that the native linker is
10831 *** used, and then restart.
10834 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10835 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10836 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10842 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10843 case `$LD -v 2>&1` in
10844 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10848 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10849 *** reliably create shared libraries on SCO systems. Therefore, libtool
10850 *** is disabling shared libraries support. We urge you to upgrade GNU
10851 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10852 *** your PATH or compiler configuration so that the native linker is
10853 *** used, and then restart.
10858 # For security reasons, it is highly recommended that you always
10859 # use absolute paths for naming shared libraries, and exclude the
10860 # DT_RUNPATH tag from executables and libraries. But doing so
10861 # requires that you compile everything twice, which is a pain.
10862 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10863 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10864 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10865 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10874 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10876 hardcode_direct=yes
10877 hardcode_shlibpath_var=no
10881 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10882 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10883 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10890 if test "$ld_shlibs" = no; then
10892 hardcode_libdir_flag_spec=
10893 export_dynamic_flag_spec=
10894 whole_archive_flag_spec=
10897 # PORTME fill in a description of your system's linker (not GNU ld)
10900 allow_undefined_flag=unsupported
10901 always_export_symbols=yes
10902 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'
10903 # Note: this linker hardcodes the directories in LIBPATH if there
10904 # are no directories specified by -L.
10905 hardcode_minus_L=yes
10906 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10907 # Neither direct hardcoding nor static linking is supported with a
10909 hardcode_direct=unsupported
10914 if test "$host_cpu" = ia64; then
10915 # On IA64, the linker does run time linking by default, so we don't
10916 # have to do anything special.
10917 aix_use_runtimelinking=no
10918 exp_sym_flag='-Bexport'
10921 # If we're using GNU nm, then we don't want the "-C" option.
10922 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10923 # Also, AIX nm treats weak defined symbols like other global
10924 # defined symbols, whereas GNU nm marks them as "W".
10925 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10926 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'
10928 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'
10930 aix_use_runtimelinking=no
10932 # Test if we are trying to use run time linking or normal
10933 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10934 # need to do runtime linking.
10935 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10936 for ld_flag in $LDFLAGS; do
10937 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10938 aix_use_runtimelinking=yes
10945 exp_sym_flag='-bexport'
10946 no_entry_flag='-bnoentry'
10949 # When large executables or shared objects are built, AIX ld can
10950 # have problems creating the table of contents. If linking a library
10951 # or program results in "error TOC overflow" add -mminimal-toc to
10952 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10953 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10956 hardcode_direct=yes
10957 hardcode_direct_absolute=yes
10958 hardcode_libdir_separator=':'
10959 link_all_deplibs=yes
10960 file_list_spec='${wl}-f,'
10962 if test "$GCC" = yes; then
10963 case $host_os in aix4.[012]|aix4.[012].*)
10964 # We only want to do this on AIX 4.2 and lower, the check
10965 # below for broken collect2 doesn't work under 4.3+
10966 collect2name=`${CC} -print-prog-name=collect2`
10967 if test -f "$collect2name" &&
10968 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10970 # We have reworked collect2
10973 # We have old collect2
10974 hardcode_direct=unsupported
10975 # It fails to find uninstalled libraries when the uninstalled
10976 # path is not listed in the libpath. Setting hardcode_minus_L
10977 # to unsupported forces relinking
10978 hardcode_minus_L=yes
10979 hardcode_libdir_flag_spec='-L$libdir'
10980 hardcode_libdir_separator=
10984 shared_flag='-shared'
10985 if test "$aix_use_runtimelinking" = yes; then
10986 shared_flag="$shared_flag "'${wl}-G'
10990 if test "$host_cpu" = ia64; then
10991 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10992 # chokes on -Wl,-G. The following line is correct:
10995 if test "$aix_use_runtimelinking" = yes; then
10996 shared_flag='${wl}-G'
10998 shared_flag='${wl}-bM:SRE'
11003 export_dynamic_flag_spec='${wl}-bexpall'
11004 # It seems that -bexpall does not export symbols beginning with
11005 # underscore (_), so it is better to generate a list of symbols to export.
11006 always_export_symbols=yes
11007 if test "$aix_use_runtimelinking" = yes; then
11008 # Warning - without using the other runtime loading flags (-brtl),
11009 # -berok will link without error, but may produce a broken library.
11010 allow_undefined_flag='-berok'
11011 # Determine the default libpath from the value encoded in an
11012 # empty executable.
11013 if test "${lt_cv_aix_libpath+set}" = set; then
11014 aix_libpath=$lt_cv_aix_libpath
11016 if ${lt_cv_aix_libpath_+:} false; then :
11017 $as_echo_n "(cached) " >&6
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11030 if ac_fn_c_try_link "$LINENO"; then :
11032 lt_aix_libpath_sed='
11033 /Import File Strings/,/^$/ {
11035 s/^0 *\([^ ]*\) *$/\1/
11039 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11040 # Check for a 64-bit object if we didn't find anything.
11041 if test -z "$lt_cv_aix_libpath_"; then
11042 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11045 rm -f core conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 if test -z "$lt_cv_aix_libpath_"; then
11048 lt_cv_aix_libpath_="/usr/lib:/lib"
11053 aix_libpath=$lt_cv_aix_libpath_
11056 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11057 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"
11059 if test "$host_cpu" = ia64; then
11060 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11061 allow_undefined_flag="-z nodefs"
11062 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"
11064 # Determine the default libpath from the value encoded in an
11065 # empty executable.
11066 if test "${lt_cv_aix_libpath+set}" = set; then
11067 aix_libpath=$lt_cv_aix_libpath
11069 if ${lt_cv_aix_libpath_+:} false; then :
11070 $as_echo_n "(cached) " >&6
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11083 if ac_fn_c_try_link "$LINENO"; then :
11085 lt_aix_libpath_sed='
11086 /Import File Strings/,/^$/ {
11088 s/^0 *\([^ ]*\) *$/\1/
11092 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11093 # Check for a 64-bit object if we didn't find anything.
11094 if test -z "$lt_cv_aix_libpath_"; then
11095 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11098 rm -f core conftest.err conftest.$ac_objext \
11099 conftest$ac_exeext conftest.$ac_ext
11100 if test -z "$lt_cv_aix_libpath_"; then
11101 lt_cv_aix_libpath_="/usr/lib:/lib"
11106 aix_libpath=$lt_cv_aix_libpath_
11109 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11110 # Warning - without using the other run time loading flags,
11111 # -berok will link without error, but may produce a broken library.
11112 no_undefined_flag=' ${wl}-bernotok'
11113 allow_undefined_flag=' ${wl}-berok'
11114 if test "$with_gnu_ld" = yes; then
11115 # We only use this code for GNU lds that support --whole-archive.
11116 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11118 # Exported symbols can be pulled into shared objects from archives
11119 whole_archive_flag_spec='$convenience'
11121 archive_cmds_need_lc=yes
11122 # This is similar to how AIX traditionally builds its shared libraries.
11123 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'
11131 # see comment about AmigaOS4 .so support
11132 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11133 archive_expsym_cmds=''
11136 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)'
11137 hardcode_libdir_flag_spec='-L$libdir'
11138 hardcode_minus_L=yes
11144 export_dynamic_flag_spec=-rdynamic
11147 cygwin* | mingw* | pw32* | cegcc*)
11148 # When not using gcc, we currently assume that we are using
11149 # Microsoft Visual C++.
11150 # hardcode_libdir_flag_spec is actually meaningless, as there is
11151 # no search path for DLLs.
11152 case $cc_basename in
11155 hardcode_libdir_flag_spec=' '
11156 allow_undefined_flag=unsupported
11157 always_export_symbols=yes
11159 # Tell ltmain to make .lib files, not .a files.
11161 # Tell ltmain to make .dll files, not .so files.
11163 # FIXME: Setting linknames here is a bad hack.
11164 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11165 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11166 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11168 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11170 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11172 # The linker will not automatically build a static lib if we build a DLL.
11173 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11174 enable_shared_with_static_runtimes=yes
11175 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11176 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11178 old_postinstall_cmds='chmod 644 $oldlib'
11179 postlink_cmds='lt_outputfile="@OUTPUT@"~
11180 lt_tool_outputfile="@TOOL_OUTPUT@"~
11181 case $lt_outputfile in
11184 lt_outputfile="$lt_outputfile.exe"
11185 lt_tool_outputfile="$lt_tool_outputfile.exe"
11188 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11189 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11190 $RM "$lt_outputfile.manifest";
11194 # Assume MSVC wrapper
11195 hardcode_libdir_flag_spec=' '
11196 allow_undefined_flag=unsupported
11197 # Tell ltmain to make .lib files, not .a files.
11199 # Tell ltmain to make .dll files, not .so files.
11201 # FIXME: Setting linknames here is a bad hack.
11202 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11203 # The linker will automatically build a .lib file if we build a DLL.
11204 old_archive_from_new_cmds='true'
11205 # FIXME: Should let the user specify the lib program.
11206 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11207 enable_shared_with_static_runtimes=yes
11212 darwin* | rhapsody*)
11215 archive_cmds_need_lc=no
11217 hardcode_automatic=yes
11218 hardcode_shlibpath_var=unsupported
11219 if test "$lt_cv_ld_force_load" = "yes"; then
11220 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\"`'
11223 whole_archive_flag_spec=''
11225 link_all_deplibs=yes
11226 allow_undefined_flag="$_lt_dar_allow_undefined"
11227 case $cc_basename in
11228 ifort*) _lt_dar_can_shared=yes ;;
11229 *) _lt_dar_can_shared=$GCC ;;
11231 if test "$_lt_dar_can_shared" = "yes"; then
11232 output_verbose_link_cmd=func_echo_all
11233 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11234 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11235 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}"
11236 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}"
11245 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11246 hardcode_libdir_flag_spec='-L$libdir'
11247 hardcode_shlibpath_var=no
11250 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11251 # support. Future versions do this automatically, but an explicit c++rt0.o
11252 # does not break anything, and helps significantly (at the cost of a little
11255 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11256 hardcode_libdir_flag_spec='-R$libdir'
11257 hardcode_direct=yes
11258 hardcode_shlibpath_var=no
11261 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11263 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11264 hardcode_direct=yes
11265 hardcode_minus_L=yes
11266 hardcode_shlibpath_var=no
11269 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11270 freebsd* | dragonfly*)
11271 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11272 hardcode_libdir_flag_spec='-R$libdir'
11273 hardcode_direct=yes
11274 hardcode_shlibpath_var=no
11278 if test "$GCC" = yes; then
11279 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'
11281 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'
11283 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11284 hardcode_libdir_separator=:
11285 hardcode_direct=yes
11287 # hardcode_minus_L: Not really in the search PATH,
11288 # but as the default location of the library.
11289 hardcode_minus_L=yes
11290 export_dynamic_flag_spec='${wl}-E'
11294 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11295 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11297 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11299 if test "$with_gnu_ld" = no; then
11300 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11301 hardcode_libdir_separator=:
11302 hardcode_direct=yes
11303 hardcode_direct_absolute=yes
11304 export_dynamic_flag_spec='${wl}-E'
11305 # hardcode_minus_L: Not really in the search PATH,
11306 # but as the default location of the library.
11307 hardcode_minus_L=yes
11312 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11315 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11318 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11321 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11327 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11330 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11334 # Older versions of the 11.00 compiler do not understand -b yet
11335 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11337 $as_echo_n "checking if $CC understands -b... " >&6; }
11338 if ${lt_cv_prog_compiler__b+:} false; then :
11339 $as_echo_n "(cached) " >&6
11341 lt_cv_prog_compiler__b=no
11342 save_LDFLAGS="$LDFLAGS"
11343 LDFLAGS="$LDFLAGS -b"
11344 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11345 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11346 # The linker can only warn and ignore the option if not recognized
11347 # So say no if there are warnings
11348 if test -s conftest.err; then
11349 # Append any errors to the config.log.
11350 cat conftest.err 1>&5
11351 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11352 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11353 if diff conftest.exp conftest.er2 >/dev/null; then
11354 lt_cv_prog_compiler__b=yes
11357 lt_cv_prog_compiler__b=yes
11361 LDFLAGS="$save_LDFLAGS"
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11365 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11367 if test x"$lt_cv_prog_compiler__b" = xyes; then
11368 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11370 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11376 if test "$with_gnu_ld" = no; then
11377 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11378 hardcode_libdir_separator=:
11383 hardcode_shlibpath_var=no
11386 hardcode_direct=yes
11387 hardcode_direct_absolute=yes
11388 export_dynamic_flag_spec='${wl}-E'
11390 # hardcode_minus_L: Not really in the search PATH,
11391 # but as the default location of the library.
11392 hardcode_minus_L=yes
11398 irix5* | irix6* | nonstopux*)
11399 if test "$GCC" = yes; then
11400 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'
11401 # Try to use the -exported_symbol ld option, if it does not
11402 # work, assume that -exports_file does not work either and
11403 # implicitly export all symbols.
11404 # This should be the same for all languages, so no per-tag cache variable.
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11406 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11407 if ${lt_cv_irix_exported_symbol+:} false; then :
11408 $as_echo_n "(cached) " >&6
11410 save_LDFLAGS="$LDFLAGS"
11411 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11414 int foo (void) { return 0; }
11416 if ac_fn_c_try_link "$LINENO"; then :
11417 lt_cv_irix_exported_symbol=yes
11419 lt_cv_irix_exported_symbol=no
11421 rm -f core conftest.err conftest.$ac_objext \
11422 conftest$ac_exeext conftest.$ac_ext
11423 LDFLAGS="$save_LDFLAGS"
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11426 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11427 if test "$lt_cv_irix_exported_symbol" = yes; then
11428 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'
11431 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'
11432 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'
11434 archive_cmds_need_lc='no'
11435 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11436 hardcode_libdir_separator=:
11438 link_all_deplibs=yes
11442 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11443 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11445 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11447 hardcode_libdir_flag_spec='-R$libdir'
11448 hardcode_direct=yes
11449 hardcode_shlibpath_var=no
11453 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11454 hardcode_direct=yes
11455 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11456 hardcode_libdir_separator=:
11457 hardcode_shlibpath_var=no
11464 if test -f /usr/libexec/ld.so; then
11465 hardcode_direct=yes
11466 hardcode_shlibpath_var=no
11467 hardcode_direct_absolute=yes
11468 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11469 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11470 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11471 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11472 export_dynamic_flag_spec='${wl}-E'
11475 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11476 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11477 hardcode_libdir_flag_spec='-R$libdir'
11480 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11481 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11491 hardcode_libdir_flag_spec='-L$libdir'
11492 hardcode_minus_L=yes
11493 allow_undefined_flag=unsupported
11494 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'
11495 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11499 if test "$GCC" = yes; then
11500 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11501 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'
11503 allow_undefined_flag=' -expect_unresolved \*'
11504 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'
11506 archive_cmds_need_lc='no'
11507 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11508 hardcode_libdir_separator=:
11511 osf4* | osf5*) # as osf3* with the addition of -msym flag
11512 if test "$GCC" = yes; then
11513 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11514 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'
11515 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11517 allow_undefined_flag=' -expect_unresolved \*'
11518 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'
11519 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~
11520 $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'
11522 # Both c and cxx compiler support -rpath directly
11523 hardcode_libdir_flag_spec='-rpath $libdir'
11525 archive_cmds_need_lc='no'
11526 hardcode_libdir_separator=:
11530 no_undefined_flag=' -z defs'
11531 if test "$GCC" = yes; then
11533 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11534 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11535 $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'
11537 case `$CC -V 2>&1` in
11540 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11541 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11542 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11546 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11547 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11548 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11552 hardcode_libdir_flag_spec='-R$libdir'
11553 hardcode_shlibpath_var=no
11555 solaris2.[0-5] | solaris2.[0-5].*) ;;
11557 # The compiler driver will combine and reorder linker options,
11558 # but understands `-z linker_flag'. GCC discards it without `$wl',
11559 # but is careful enough not to reorder.
11560 # Supported since Solaris 2.6 (maybe 2.5.1?)
11561 if test "$GCC" = yes; then
11562 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11564 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11568 link_all_deplibs=yes
11572 if test "x$host_vendor" = xsequent; then
11573 # Use $CC to link under sequent, because it throws in some extra .o
11574 # files that make .init and .fini sections work.
11575 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11577 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11579 hardcode_libdir_flag_spec='-L$libdir'
11580 hardcode_direct=yes
11581 hardcode_minus_L=yes
11582 hardcode_shlibpath_var=no
11586 case $host_vendor in
11588 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11589 hardcode_direct=yes # is this really true???
11592 ## LD is ld it makes a PLAMLIB
11593 ## CC just makes a GrossModule.
11594 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11595 reload_cmds='$CC -r -o $output$reload_objs'
11599 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11600 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11603 runpath_var='LD_RUN_PATH'
11604 hardcode_shlibpath_var=no
11608 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11609 hardcode_shlibpath_var=no
11610 export_dynamic_flag_spec='-Bexport'
11614 if test -d /usr/nec; then
11615 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11616 hardcode_shlibpath_var=no
11617 runpath_var=LD_RUN_PATH
11618 hardcode_runpath_var=yes
11623 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11624 no_undefined_flag='${wl}-z,text'
11625 archive_cmds_need_lc=no
11626 hardcode_shlibpath_var=no
11627 runpath_var='LD_RUN_PATH'
11629 if test "$GCC" = yes; then
11630 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11631 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11633 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11634 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11638 sysv5* | sco3.2v5* | sco5v6*)
11639 # Note: We can NOT use -z defs as we might desire, because we do not
11640 # link with -lc, and that would cause any symbols used from libc to
11641 # always be unresolved, which means just about no library would
11642 # ever link correctly. If we're not using GNU ld we use -z text
11643 # though, which does catch some bad symbols but isn't as heavy-handed
11645 no_undefined_flag='${wl}-z,text'
11646 allow_undefined_flag='${wl}-z,nodefs'
11647 archive_cmds_need_lc=no
11648 hardcode_shlibpath_var=no
11649 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11650 hardcode_libdir_separator=':'
11651 link_all_deplibs=yes
11652 export_dynamic_flag_spec='${wl}-Bexport'
11653 runpath_var='LD_RUN_PATH'
11655 if test "$GCC" = yes; then
11656 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11657 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11659 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11660 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11665 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11666 hardcode_libdir_flag_spec='-L$libdir'
11667 hardcode_shlibpath_var=no
11675 if test x$host_vendor = xsni; then
11677 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11678 export_dynamic_flag_spec='${wl}-Blargedynsym'
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11685 $as_echo "$ld_shlibs" >&6; }
11686 test "$ld_shlibs" = no && can_build_shared=no
11688 with_gnu_ld=$with_gnu_ld
11705 # Do we need to explicitly link libc?
11707 case "x$archive_cmds_need_lc" in
11709 # Assume -lc should be added
11710 archive_cmds_need_lc=yes
11712 if test "$enable_shared" = yes && test "$GCC" = yes; then
11713 case $archive_cmds in
11715 # FIXME: we may have to deal with multi-command sequences.
11718 # Test whether the compiler implicitly links with -lc since on some
11719 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11720 # to ld, don't add -lc before -lgcc.
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11722 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11723 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11724 $as_echo_n "(cached) " >&6
11727 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11730 (eval $ac_compile) 2>&5
11732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11733 test $ac_status = 0; } 2>conftest.err; then
11736 libobjs=conftest.$ac_objext
11738 wl=$lt_prog_compiler_wl
11739 pic_flag=$lt_prog_compiler_pic
11745 lt_save_allow_undefined_flag=$allow_undefined_flag
11746 allow_undefined_flag=
11747 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11748 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11751 test $ac_status = 0; }
11753 lt_cv_archive_cmds_need_lc=no
11755 lt_cv_archive_cmds_need_lc=yes
11757 allow_undefined_flag=$lt_save_allow_undefined_flag
11759 cat conftest.err 1>&5
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11765 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11766 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11925 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11927 if test "$GCC" = yes; then
11929 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11930 *) lt_awk_arg="/^libraries:/" ;;
11933 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11934 *) lt_sed_strip_eq="s,=/,/,g" ;;
11936 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11937 case $lt_search_path_spec in
11939 # if the path contains ";" then we assume it to be the separator
11940 # otherwise default to the standard path separator (i.e. ":") - it is
11941 # assumed that no part of a normal pathname contains ";" but that should
11942 # okay in the real world where ";" in dirpaths is itself problematic.
11943 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11946 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11949 # Ok, now we have the path, separated by spaces, we can step through it
11950 # and add multilib dir if necessary.
11951 lt_tmp_lt_search_path_spec=
11952 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11953 for lt_sys_path in $lt_search_path_spec; do
11954 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11955 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11957 test -d "$lt_sys_path" && \
11958 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11961 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11962 BEGIN {RS=" "; FS="/|\n";} {
11965 for (lt_i = NF; lt_i > 0; lt_i--) {
11966 if ($lt_i != "" && $lt_i != ".") {
11967 if ($lt_i == "..") {
11970 if (lt_count == 0) {
11971 lt_foo="/" $lt_i lt_foo;
11978 if (lt_foo != "") { lt_freq[lt_foo]++; }
11979 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11981 # AWK program above erroneously prepends '/' to C:/dos/paths
11984 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11985 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11987 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11989 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11991 library_names_spec=
11992 libname_spec='lib$name'
11996 postuninstall_cmds=
12000 shlibpath_overrides_runpath=unknown
12002 dynamic_linker="$host_os ld.so"
12003 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12004 need_lib_prefix=unknown
12005 hardcode_into_libs=no
12007 # when you set need_version to no, make sure it does not cause -set_version
12008 # flags to be left without arguments
12009 need_version=unknown
12013 version_type=linux # correct to gnu/linux during the next big refactor
12014 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12015 shlibpath_var=LIBPATH
12017 # AIX 3 has no versioning support, so we append a major version to the name.
12018 soname_spec='${libname}${release}${shared_ext}$major'
12022 version_type=linux # correct to gnu/linux during the next big refactor
12025 hardcode_into_libs=yes
12026 if test "$host_cpu" = ia64; then
12027 # AIX 5 supports IA64
12028 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12029 shlibpath_var=LD_LIBRARY_PATH
12031 # With GCC up to 2.95.x, collect2 would create an import file
12032 # for dependence libraries. The import file would start with
12033 # the line `#! .'. This would cause the generated library to
12034 # depend on `.', always an invalid library. This was fixed in
12035 # development snapshots of GCC prior to 3.0.
12037 aix4 | aix4.[01] | aix4.[01].*)
12038 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12040 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12043 can_build_shared=no
12047 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12048 # soname into executable. Probably we can add versioning support to
12049 # collect2, so additional links can be useful in future.
12050 if test "$aix_use_runtimelinking" = yes; then
12051 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12052 # instead of lib<name>.a to let people know that these are not
12053 # typical AIX shared libraries.
12054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12056 # We preserve .a as extension for shared libraries through AIX4.2
12057 # and later when we are not doing run time linking.
12058 library_names_spec='${libname}${release}.a $libname.a'
12059 soname_spec='${libname}${release}${shared_ext}$major'
12061 shlibpath_var=LIBPATH
12068 # Since July 2007 AmigaOS4 officially supports .so libraries.
12069 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12073 library_names_spec='$libname.ixlibrary $libname.a'
12074 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12075 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'
12081 library_names_spec='${libname}${shared_ext}'
12082 dynamic_linker="$host_os ld.so"
12083 shlibpath_var=LIBRARY_PATH
12087 version_type=linux # correct to gnu/linux during the next big refactor
12089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12090 soname_spec='${libname}${release}${shared_ext}$major'
12091 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12092 shlibpath_var=LD_LIBRARY_PATH
12093 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12094 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12095 # the default ld.so.conf also contains /usr/contrib/lib and
12096 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12097 # libtool to hard-code these into programs
12100 cygwin* | mingw* | pw32* | cegcc*)
12101 version_type=windows
12106 case $GCC,$cc_basename in
12109 library_names_spec='$libname.dll.a'
12110 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12111 postinstall_cmds='base_file=`basename \${file}`~
12112 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12113 dldir=$destdir/`dirname \$dlpath`~
12114 test -d \$dldir || mkdir -p \$dldir~
12115 $install_prog $dir/$dlname \$dldir/$dlname~
12116 chmod a+x \$dldir/$dlname~
12117 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12118 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12120 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12121 dlpath=$dir/\$dldll~
12123 shlibpath_overrides_runpath=yes
12127 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12128 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12130 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12133 # MinGW DLLs use traditional 'lib' prefix
12134 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12137 # pw32 DLLs use 'pw' prefix rather than 'lib'
12138 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12141 dynamic_linker='Win32 ld.exe'
12146 libname_spec='$name'
12147 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12148 library_names_spec='${libname}.dll.lib'
12152 sys_lib_search_path_spec=
12155 for lt_path in $LIB
12158 # Let DOS variable expansion print the short 8.3 style file name.
12159 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12160 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12163 # Convert to MSYS style.
12164 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12167 # Convert to unix form, then to dos form, then back to unix form
12168 # but this time dos style (no spaces!) so that the unix form looks
12169 # like /cygdrive/c/PROGRA~1:/cygdr...
12170 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12171 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12172 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12175 sys_lib_search_path_spec="$LIB"
12176 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12177 # It is most probably a Windows format PATH.
12178 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12180 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12182 # FIXME: find the short name or the path components, as spaces are
12183 # common. (e.g. "Program Files" -> "PROGRA~1")
12187 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12188 postinstall_cmds='base_file=`basename \${file}`~
12189 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12190 dldir=$destdir/`dirname \$dlpath`~
12191 test -d \$dldir || mkdir -p \$dldir~
12192 $install_prog $dir/$dlname \$dldir/$dlname'
12193 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12194 dlpath=$dir/\$dldll~
12196 shlibpath_overrides_runpath=yes
12197 dynamic_linker='Win32 link.exe'
12201 # Assume MSVC wrapper
12202 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12203 dynamic_linker='Win32 ld.exe'
12206 # FIXME: first we should search . and the directory the executable is in
12210 darwin* | rhapsody*)
12211 dynamic_linker="$host_os dyld"
12212 version_type=darwin
12215 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12216 soname_spec='${libname}${release}${major}$shared_ext'
12217 shlibpath_overrides_runpath=yes
12218 shlibpath_var=DYLD_LIBRARY_PATH
12219 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12221 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12222 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12226 version_type=linux # correct to gnu/linux during the next big refactor
12229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12230 soname_spec='${libname}${release}${shared_ext}$major'
12231 shlibpath_var=LD_LIBRARY_PATH
12234 freebsd* | dragonfly*)
12235 # DragonFly does not have aout. When/if they implement a new
12236 # versioning mechanism, adjust this.
12237 if test -x /usr/bin/objformat; then
12238 objformat=`/usr/bin/objformat`
12241 freebsd[23].*) objformat=aout ;;
12242 *) objformat=elf ;;
12245 version_type=freebsd-$objformat
12246 case $version_type in
12248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12253 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12257 shlibpath_var=LD_LIBRARY_PATH
12260 shlibpath_overrides_runpath=yes
12262 freebsd3.[01]* | freebsdelf3.[01]*)
12263 shlibpath_overrides_runpath=yes
12264 hardcode_into_libs=yes
12266 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12267 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12268 shlibpath_overrides_runpath=no
12269 hardcode_into_libs=yes
12271 *) # from 4.6 on, and DragonFly
12272 shlibpath_overrides_runpath=yes
12273 hardcode_into_libs=yes
12279 version_type=linux # correct to gnu/linux during the next big refactor
12282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12283 soname_spec='${libname}${release}${shared_ext}$major'
12284 shlibpath_var=LD_LIBRARY_PATH
12285 shlibpath_overrides_runpath=no
12286 hardcode_into_libs=yes
12290 version_type=linux # correct to gnu/linux during the next big refactor
12293 dynamic_linker="$host_os runtime_loader"
12294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12295 soname_spec='${libname}${release}${shared_ext}$major'
12296 shlibpath_var=LIBRARY_PATH
12297 shlibpath_overrides_runpath=yes
12298 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12299 hardcode_into_libs=yes
12302 hpux9* | hpux10* | hpux11*)
12303 # Give a soname corresponding to the major version so that dld.sl refuses to
12304 # link against other versions.
12311 hardcode_into_libs=yes
12312 dynamic_linker="$host_os dld.so"
12313 shlibpath_var=LD_LIBRARY_PATH
12314 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12316 soname_spec='${libname}${release}${shared_ext}$major'
12317 if test "X$HPUX_IA64_MODE" = X32; then
12318 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12320 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12322 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12326 hardcode_into_libs=yes
12327 dynamic_linker="$host_os dld.sl"
12328 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12329 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12331 soname_spec='${libname}${release}${shared_ext}$major'
12332 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12333 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12337 dynamic_linker="$host_os dld.sl"
12338 shlibpath_var=SHLIB_PATH
12339 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12341 soname_spec='${libname}${release}${shared_ext}$major'
12344 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12345 postinstall_cmds='chmod 555 $lib'
12346 # or fails outright, so override atomically:
12347 install_override_mode=555
12351 version_type=linux # correct to gnu/linux during the next big refactor
12354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12355 soname_spec='${libname}${release}${shared_ext}$major'
12356 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12357 shlibpath_var=LD_LIBRARY_PATH
12358 shlibpath_overrides_runpath=no
12359 hardcode_into_libs=yes
12362 irix5* | irix6* | nonstopux*)
12364 nonstopux*) version_type=nonstopux ;;
12366 if test "$lt_cv_prog_gnu_ld" = yes; then
12367 version_type=linux # correct to gnu/linux during the next big refactor
12374 soname_spec='${libname}${release}${shared_ext}$major'
12375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12377 irix5* | nonstopux*)
12378 libsuff= shlibsuff=
12381 case $LD in # libtool.m4 will add one of these switches to LD
12382 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12383 libsuff= shlibsuff= libmagic=32-bit;;
12384 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12385 libsuff=32 shlibsuff=N32 libmagic=N32;;
12386 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12387 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12388 *) libsuff= shlibsuff= libmagic=never-match;;
12392 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12393 shlibpath_overrides_runpath=no
12394 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12395 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12396 hardcode_into_libs=yes
12399 # No shared lib support for Linux oldld, aout, or coff.
12400 linux*oldld* | linux*aout* | linux*coff*)
12404 # This must be glibc/ELF.
12405 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12406 version_type=linux # correct to gnu/linux during the next big refactor
12409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12410 soname_spec='${libname}${release}${shared_ext}$major'
12411 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12412 shlibpath_var=LD_LIBRARY_PATH
12413 shlibpath_overrides_runpath=no
12415 # Some binutils ld are patched to set DT_RUNPATH
12416 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12417 $as_echo_n "(cached) " >&6
12419 lt_cv_shlibpath_overrides_runpath=no
12420 save_LDFLAGS=$LDFLAGS
12421 save_libdir=$libdir
12422 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12423 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12435 if ac_fn_c_try_link "$LINENO"; then :
12436 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12437 lt_cv_shlibpath_overrides_runpath=yes
12440 rm -f core conftest.err conftest.$ac_objext \
12441 conftest$ac_exeext conftest.$ac_ext
12442 LDFLAGS=$save_LDFLAGS
12443 libdir=$save_libdir
12447 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12449 # This implies no fast_install, which is unacceptable.
12450 # Some rework will be needed to allow for fast_install
12451 # before this can be enabled.
12452 hardcode_into_libs=yes
12454 # Add ABI-specific directories to the system library path.
12455 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12457 # Append ld.so.conf contents to the search path
12458 if test -f /etc/ld.so.conf; then
12459 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' ' '`
12460 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12464 # We used to test for /lib/ld.so.1 and disable shared libraries on
12465 # powerpc, because MkLinux only supported shared libraries with the
12466 # GNU dynamic linker. Since this was broken with cross compilers,
12467 # most powerpc-linux boxes support dynamic linking these days and
12468 # people can always --disable-shared, the test was removed, and we
12469 # assume the GNU/Linux dynamic linker is in use.
12470 dynamic_linker='GNU/Linux ld.so'
12477 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12479 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12480 dynamic_linker='NetBSD (a.out) ld.so'
12482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12483 soname_spec='${libname}${release}${shared_ext}$major'
12484 dynamic_linker='NetBSD ld.elf_so'
12486 shlibpath_var=LD_LIBRARY_PATH
12487 shlibpath_overrides_runpath=yes
12488 hardcode_into_libs=yes
12492 version_type=linux # correct to gnu/linux during the next big refactor
12493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12494 shlibpath_var=LD_LIBRARY_PATH
12495 shlibpath_overrides_runpath=yes
12502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12503 soname_spec='${libname}${release}${shared_ext}$major'
12504 shlibpath_var=LD_LIBRARY_PATH
12505 shlibpath_overrides_runpath=no
12506 hardcode_into_libs=yes
12507 dynamic_linker='ldqnx.so'
12512 sys_lib_dlsearch_path_spec="/usr/lib"
12514 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12516 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12517 *) need_version=no ;;
12519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12520 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12521 shlibpath_var=LD_LIBRARY_PATH
12522 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12524 openbsd2.[89] | openbsd2.[89].*)
12525 shlibpath_overrides_runpath=no
12528 shlibpath_overrides_runpath=yes
12532 shlibpath_overrides_runpath=yes
12537 libname_spec='$name'
12540 library_names_spec='$libname${shared_ext} $libname.a'
12541 dynamic_linker='OS/2 ld.exe'
12542 shlibpath_var=LIBPATH
12545 osf3* | osf4* | osf5*)
12549 soname_spec='${libname}${release}${shared_ext}$major'
12550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12551 shlibpath_var=LD_LIBRARY_PATH
12552 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12553 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12561 version_type=linux # correct to gnu/linux during the next big refactor
12564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12565 soname_spec='${libname}${release}${shared_ext}$major'
12566 shlibpath_var=LD_LIBRARY_PATH
12567 shlibpath_overrides_runpath=yes
12568 hardcode_into_libs=yes
12569 # ldd complains unless libraries are executable
12570 postinstall_cmds='chmod +x $lib'
12575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12576 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12577 shlibpath_var=LD_LIBRARY_PATH
12578 shlibpath_overrides_runpath=yes
12579 if test "$with_gnu_ld" = yes; then
12586 version_type=linux # correct to gnu/linux during the next big refactor
12587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12588 soname_spec='${libname}${release}${shared_ext}$major'
12589 shlibpath_var=LD_LIBRARY_PATH
12590 case $host_vendor in
12592 shlibpath_overrides_runpath=no
12594 runpath_var=LD_RUN_PATH
12602 shlibpath_overrides_runpath=no
12603 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12609 if test -d /usr/nec ;then
12610 version_type=linux # correct to gnu/linux during the next big refactor
12611 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12612 soname_spec='$libname${shared_ext}.$major'
12613 shlibpath_var=LD_LIBRARY_PATH
12617 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12618 version_type=freebsd-elf
12621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12622 soname_spec='${libname}${release}${shared_ext}$major'
12623 shlibpath_var=LD_LIBRARY_PATH
12624 shlibpath_overrides_runpath=yes
12625 hardcode_into_libs=yes
12626 if test "$with_gnu_ld" = yes; then
12627 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12629 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12632 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12636 sys_lib_dlsearch_path_spec='/usr/lib'
12640 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12641 version_type=linux # correct to gnu/linux during the next big refactor
12644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12645 shlibpath_var=LD_LIBRARY_PATH
12646 shlibpath_overrides_runpath=no
12647 hardcode_into_libs=yes
12651 version_type=linux # correct to gnu/linux during the next big refactor
12652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12653 soname_spec='${libname}${release}${shared_ext}$major'
12654 shlibpath_var=LD_LIBRARY_PATH
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12662 $as_echo "$dynamic_linker" >&6; }
12663 test "$dynamic_linker" = no && can_build_shared=no
12665 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12666 if test "$GCC" = yes; then
12667 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12670 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12671 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12673 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12674 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12769 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12771 if test -n "$hardcode_libdir_flag_spec" ||
12772 test -n "$runpath_var" ||
12773 test "X$hardcode_automatic" = "Xyes" ; then
12775 # We can hardcode non-existent directories.
12776 if test "$hardcode_direct" != no &&
12777 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12778 # have to relink, otherwise we might link with an installed library
12779 # when we should be linking with a yet-to-be-installed one
12780 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12781 test "$hardcode_minus_L" != no; then
12782 # Linking always hardcodes the temporary library directory.
12783 hardcode_action=relink
12785 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12786 hardcode_action=immediate
12789 # We cannot hardcode anything, or else we can only hardcode existing
12791 hardcode_action=unsupported
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12794 $as_echo "$hardcode_action" >&6; }
12796 if test "$hardcode_action" = relink ||
12797 test "$inherit_rpath" = yes; then
12798 # Fast installation is not supported
12799 enable_fast_install=no
12800 elif test "$shlibpath_overrides_runpath" = yes ||
12801 test "$enable_shared" = no; then
12802 # Fast installation is not necessary
12803 enable_fast_install=needless
12811 if test "x$enable_dlopen" != xyes; then
12812 enable_dlopen=unknown
12813 enable_dlopen_self=unknown
12814 enable_dlopen_self_static=unknown
12821 lt_cv_dlopen="load_add_on"
12823 lt_cv_dlopen_self=yes
12826 mingw* | pw32* | cegcc*)
12827 lt_cv_dlopen="LoadLibrary"
12832 lt_cv_dlopen="dlopen"
12837 # if libdl is installed we need to link against it
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12839 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12840 if ${ac_cv_lib_dl_dlopen+:} false; then :
12841 $as_echo_n "(cached) " >&6
12843 ac_check_lib_save_LIBS=$LIBS
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12863 if ac_fn_c_try_link "$LINENO"; then :
12864 ac_cv_lib_dl_dlopen=yes
12866 ac_cv_lib_dl_dlopen=no
12868 rm -f core conftest.err conftest.$ac_objext \
12869 conftest$ac_exeext conftest.$ac_ext
12870 LIBS=$ac_check_lib_save_LIBS
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12873 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12874 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12875 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12878 lt_cv_dlopen="dyld"
12880 lt_cv_dlopen_self=yes
12887 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12888 if test "x$ac_cv_func_shl_load" = xyes; then :
12889 lt_cv_dlopen="shl_load"
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12892 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12893 if ${ac_cv_lib_dld_shl_load+:} false; then :
12894 $as_echo_n "(cached) " >&6
12896 ac_check_lib_save_LIBS=$LIBS
12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12899 /* end confdefs.h. */
12901 /* Override any GCC internal prototype to avoid an error.
12902 Use char because int might match the return type of a GCC
12903 builtin and then its argument prototype would still apply. */
12911 return shl_load ();
12916 if ac_fn_c_try_link "$LINENO"; then :
12917 ac_cv_lib_dld_shl_load=yes
12919 ac_cv_lib_dld_shl_load=no
12921 rm -f core conftest.err conftest.$ac_objext \
12922 conftest$ac_exeext conftest.$ac_ext
12923 LIBS=$ac_check_lib_save_LIBS
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12926 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12927 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12928 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12930 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12931 if test "x$ac_cv_func_dlopen" = xyes; then :
12932 lt_cv_dlopen="dlopen"
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12935 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12936 if ${ac_cv_lib_dl_dlopen+:} false; then :
12937 $as_echo_n "(cached) " >&6
12939 ac_check_lib_save_LIBS=$LIBS
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12959 if ac_fn_c_try_link "$LINENO"; then :
12960 ac_cv_lib_dl_dlopen=yes
12962 ac_cv_lib_dl_dlopen=no
12964 rm -f core conftest.err conftest.$ac_objext \
12965 conftest$ac_exeext conftest.$ac_ext
12966 LIBS=$ac_check_lib_save_LIBS
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12969 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12970 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12971 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12974 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12975 if ${ac_cv_lib_svld_dlopen+:} false; then :
12976 $as_echo_n "(cached) " >&6
12978 ac_check_lib_save_LIBS=$LIBS
12979 LIBS="-lsvld $LIBS"
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12998 if ac_fn_c_try_link "$LINENO"; then :
12999 ac_cv_lib_svld_dlopen=yes
13001 ac_cv_lib_svld_dlopen=no
13003 rm -f core conftest.err conftest.$ac_objext \
13004 conftest$ac_exeext conftest.$ac_ext
13005 LIBS=$ac_check_lib_save_LIBS
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13008 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13009 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13010 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13013 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13014 if ${ac_cv_lib_dld_dld_link+:} false; then :
13015 $as_echo_n "(cached) " >&6
13017 ac_check_lib_save_LIBS=$LIBS
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 /* Override any GCC internal prototype to avoid an error.
13023 Use char because int might match the return type of a GCC
13024 builtin and then its argument prototype would still apply. */
13032 return dld_link ();
13037 if ac_fn_c_try_link "$LINENO"; then :
13038 ac_cv_lib_dld_dld_link=yes
13040 ac_cv_lib_dld_dld_link=no
13042 rm -f core conftest.err conftest.$ac_objext \
13043 conftest$ac_exeext conftest.$ac_ext
13044 LIBS=$ac_check_lib_save_LIBS
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13047 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13048 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13049 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13070 if test "x$lt_cv_dlopen" != xno; then
13076 case $lt_cv_dlopen in
13078 save_CPPFLAGS="$CPPFLAGS"
13079 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13081 save_LDFLAGS="$LDFLAGS"
13082 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13085 LIBS="$lt_cv_dlopen_libs $LIBS"
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13088 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13089 if ${lt_cv_dlopen_self+:} false; then :
13090 $as_echo_n "(cached) " >&6
13092 if test "$cross_compiling" = yes; then :
13093 lt_cv_dlopen_self=cross
13095 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13096 lt_status=$lt_dlunknown
13097 cat > conftest.$ac_ext <<_LT_EOF
13098 #line $LINENO "configure"
13099 #include "confdefs.h"
13108 # define LT_DLGLOBAL RTLD_GLOBAL
13111 # define LT_DLGLOBAL DL_GLOBAL
13113 # define LT_DLGLOBAL 0
13117 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13118 find out it does not work in some platform. */
13119 #ifndef LT_DLLAZY_OR_NOW
13121 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13124 # define LT_DLLAZY_OR_NOW DL_LAZY
13127 # define LT_DLLAZY_OR_NOW RTLD_NOW
13130 # define LT_DLLAZY_OR_NOW DL_NOW
13132 # define LT_DLLAZY_OR_NOW 0
13139 /* When -fvisbility=hidden is used, assume the code has been annotated
13140 correspondingly for the symbols needed. */
13141 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13142 int fnord () __attribute__((visibility("default")));
13145 int fnord () { return 42; }
13148 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13149 int status = $lt_dlunknown;
13153 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13156 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13157 else puts (dlerror ());
13159 /* dlclose (self); */
13167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13168 (eval $ac_link) 2>&5
13170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13171 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13172 (./conftest; exit; ) >&5 2>/dev/null
13174 case x$lt_status in
13175 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13176 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13177 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13180 # compilation failed
13181 lt_cv_dlopen_self=no
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13189 $as_echo "$lt_cv_dlopen_self" >&6; }
13191 if test "x$lt_cv_dlopen_self" = xyes; then
13192 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13194 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13195 if ${lt_cv_dlopen_self_static+:} false; then :
13196 $as_echo_n "(cached) " >&6
13198 if test "$cross_compiling" = yes; then :
13199 lt_cv_dlopen_self_static=cross
13201 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13202 lt_status=$lt_dlunknown
13203 cat > conftest.$ac_ext <<_LT_EOF
13204 #line $LINENO "configure"
13205 #include "confdefs.h"
13214 # define LT_DLGLOBAL RTLD_GLOBAL
13217 # define LT_DLGLOBAL DL_GLOBAL
13219 # define LT_DLGLOBAL 0
13223 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13224 find out it does not work in some platform. */
13225 #ifndef LT_DLLAZY_OR_NOW
13227 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13230 # define LT_DLLAZY_OR_NOW DL_LAZY
13233 # define LT_DLLAZY_OR_NOW RTLD_NOW
13236 # define LT_DLLAZY_OR_NOW DL_NOW
13238 # define LT_DLLAZY_OR_NOW 0
13245 /* When -fvisbility=hidden is used, assume the code has been annotated
13246 correspondingly for the symbols needed. */
13247 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13248 int fnord () __attribute__((visibility("default")));
13251 int fnord () { return 42; }
13254 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13255 int status = $lt_dlunknown;
13259 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13262 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13263 else puts (dlerror ());
13265 /* dlclose (self); */
13273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13274 (eval $ac_link) 2>&5
13276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13277 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13278 (./conftest; exit; ) >&5 2>/dev/null
13280 case x$lt_status in
13281 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13282 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13283 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13286 # compilation failed
13287 lt_cv_dlopen_self_static=no
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13295 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13298 CPPFLAGS="$save_CPPFLAGS"
13299 LDFLAGS="$save_LDFLAGS"
13304 case $lt_cv_dlopen_self in
13305 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13306 *) enable_dlopen_self=unknown ;;
13309 case $lt_cv_dlopen_self_static in
13310 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13311 *) enable_dlopen_self_static=unknown ;;
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13334 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13335 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13336 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13337 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13339 $as_echo "yes" >&6; }
13341 # FIXME - insert some real tests, host_os isn't really good enough
13344 if test -n "$STRIP" ; then
13345 striplib="$STRIP -x"
13346 old_striplib="$STRIP -S"
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13348 $as_echo "yes" >&6; }
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13351 $as_echo "no" >&6; }
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13356 $as_echo "no" >&6; }
13372 # Report which library types will actually be built
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13374 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13376 $as_echo "$can_build_shared" >&6; }
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13379 $as_echo_n "checking whether to build shared libraries... " >&6; }
13380 test "$can_build_shared" = "no" && enable_shared=no
13382 # On AIX, shared libraries and static libraries use the same namespace, and
13383 # are all built from PIC.
13386 test "$enable_shared" = yes && enable_static=no
13387 if test -n "$RANLIB"; then
13388 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13389 postinstall_cmds='$RANLIB $lib'
13394 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13395 test "$enable_shared" = yes && enable_static=no
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13400 $as_echo "$enable_shared" >&6; }
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13403 $as_echo_n "checking whether to build static libraries... " >&6; }
13404 # Make sure either enable_shared or enable_static is yes.
13405 test "$enable_shared" = yes || enable_static=yes
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13407 $as_echo "$enable_static" >&6; }
13414 ac_cpp='$CPP $CPPFLAGS'
13415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13421 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13422 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13423 (test "X$CXX" != "Xg++"))) ; then
13425 ac_cpp='$CXXCPP $CPPFLAGS'
13426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13430 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13431 if test -z "$CXXCPP"; then
13432 if ${ac_cv_prog_CXXCPP+:} false; then :
13433 $as_echo_n "(cached) " >&6
13435 # Double quotes because CXXCPP needs to be expanded
13436 for CXXCPP in "$CXX -E" "/lib/cpp"
13438 ac_preproc_ok=false
13439 for ac_cxx_preproc_warn_flag in '' yes
13441 # Use a header file that comes with gcc, so configuring glibc
13442 # with a fresh cross-compiler works.
13443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13444 # <limits.h> exists even on freestanding compilers.
13445 # On the NeXT, cc -E runs the code through the compiler's parser,
13446 # not just through cpp. "Syntax error" is here to catch this case.
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13450 # include <limits.h>
13452 # include <assert.h>
13456 if ac_fn_cxx_try_cpp "$LINENO"; then :
13459 # Broken: fails on valid input.
13462 rm -f conftest.err conftest.i conftest.$ac_ext
13464 # OK, works on sane cases. Now check whether nonexistent headers
13465 # can be detected and how.
13466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h. */
13468 #include <ac_nonexistent.h>
13470 if ac_fn_cxx_try_cpp "$LINENO"; then :
13471 # Broken: success on invalid input.
13474 # Passes both tests.
13478 rm -f conftest.err conftest.i conftest.$ac_ext
13481 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13482 rm -f conftest.i conftest.err conftest.$ac_ext
13483 if $ac_preproc_ok; then :
13488 ac_cv_prog_CXXCPP=$CXXCPP
13491 CXXCPP=$ac_cv_prog_CXXCPP
13493 ac_cv_prog_CXXCPP=$CXXCPP
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13496 $as_echo "$CXXCPP" >&6; }
13497 ac_preproc_ok=false
13498 for ac_cxx_preproc_warn_flag in '' yes
13500 # Use a header file that comes with gcc, so configuring glibc
13501 # with a fresh cross-compiler works.
13502 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13503 # <limits.h> exists even on freestanding compilers.
13504 # On the NeXT, cc -E runs the code through the compiler's parser,
13505 # not just through cpp. "Syntax error" is here to catch this case.
13506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13507 /* end confdefs.h. */
13509 # include <limits.h>
13511 # include <assert.h>
13515 if ac_fn_cxx_try_cpp "$LINENO"; then :
13518 # Broken: fails on valid input.
13521 rm -f conftest.err conftest.i conftest.$ac_ext
13523 # OK, works on sane cases. Now check whether nonexistent headers
13524 # can be detected and how.
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13527 #include <ac_nonexistent.h>
13529 if ac_fn_cxx_try_cpp "$LINENO"; then :
13530 # Broken: success on invalid input.
13533 # Passes both tests.
13537 rm -f conftest.err conftest.i conftest.$ac_ext
13540 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13541 rm -f conftest.i conftest.err conftest.$ac_ext
13542 if $ac_preproc_ok; then :
13545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13547 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13548 See \`config.log' for more details" "$LINENO" 5; }
13552 ac_cpp='$CPP $CPPFLAGS'
13553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13558 _lt_caught_CXX_error=yes
13562 ac_cpp='$CXXCPP $CPPFLAGS'
13563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13567 archive_cmds_need_lc_CXX=no
13568 allow_undefined_flag_CXX=
13569 always_export_symbols_CXX=no
13570 archive_expsym_cmds_CXX=
13571 compiler_needs_object_CXX=no
13572 export_dynamic_flag_spec_CXX=
13573 hardcode_direct_CXX=no
13574 hardcode_direct_absolute_CXX=no
13575 hardcode_libdir_flag_spec_CXX=
13576 hardcode_libdir_separator_CXX=
13577 hardcode_minus_L_CXX=no
13578 hardcode_shlibpath_var_CXX=unsupported
13579 hardcode_automatic_CXX=no
13580 inherit_rpath_CXX=no
13582 module_expsym_cmds_CXX=
13583 link_all_deplibs_CXX=unknown
13584 old_archive_cmds_CXX=$old_archive_cmds
13585 reload_flag_CXX=$reload_flag
13586 reload_cmds_CXX=$reload_cmds
13587 no_undefined_flag_CXX=
13588 whole_archive_flag_spec_CXX=
13589 enable_shared_with_static_runtimes_CXX=no
13591 # Source file extension for C++ test sources.
13594 # Object file extension for compiled C++ test sources.
13598 # No sense in running all these tests if we already determined that
13599 # the CXX compiler isn't working. Some variables (like enable_shared)
13600 # are currently assumed to apply to all compilers on this platform,
13601 # and will be corrupted by setting them based on a non-working compiler.
13602 if test "$_lt_caught_CXX_error" != yes; then
13603 # Code to be used in simple compile tests
13604 lt_simple_compile_test_code="int some_variable = 0;"
13606 # Code to be used in simple link tests
13607 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13609 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13616 # If no C compiler was specified, use CC.
13619 # If no C compiler flags were specified, use CFLAGS.
13620 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13622 # Allow CC to be a program name with arguments.
13626 # save warnings/boilerplate of simple test code
13627 ac_outfile=conftest.$ac_objext
13628 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13629 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13630 _lt_compiler_boilerplate=`cat conftest.err`
13633 ac_outfile=conftest.$ac_objext
13634 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13635 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13636 _lt_linker_boilerplate=`cat conftest.err`
13640 # Allow CC to be a program name with arguments.
13642 lt_save_CFLAGS=$CFLAGS
13646 lt_save_with_gnu_ld=$with_gnu_ld
13647 lt_save_path_LD=$lt_cv_path_LD
13648 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13649 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13651 $as_unset lt_cv_prog_gnu_ld
13653 if test -n "${lt_cv_path_LDCXX+set}"; then
13654 lt_cv_path_LD=$lt_cv_path_LDCXX
13656 $as_unset lt_cv_path_LD
13658 test -z "${LDCXX+set}" || LD=$LDCXX
13663 for cc_temp in $compiler""; do
13665 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13666 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13671 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13674 if test -n "$compiler"; then
13675 # We don't want -fno-exception when compiling C++ code, so set the
13676 # no_builtin_flag separately
13677 if test "$GXX" = yes; then
13678 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13680 lt_prog_compiler_no_builtin_flag_CXX=
13683 if test "$GXX" = yes; then
13684 # Set up default GNU C++ configuration
13688 # Check whether --with-gnu-ld was given.
13689 if test "${with_gnu_ld+set}" = set; then :
13690 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13696 if test "$GCC" = yes; then
13697 # Check if gcc -print-prog-name=ld gives a path.
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13699 $as_echo_n "checking for ld used by $CC... " >&6; }
13702 # gcc leaves a trailing carriage return which upsets mingw
13703 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13705 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13708 # Accept absolute paths.
13710 re_direlt='/[^/][^/]*/\.\./'
13711 # Canonicalize the pathname of ld
13712 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13713 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13714 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13716 test -z "$LD" && LD="$ac_prog"
13719 # If it fails, then pretend we aren't using GCC.
13723 # If it is relative, then search for the first ld in PATH.
13724 with_gnu_ld=unknown
13727 elif test "$with_gnu_ld" = yes; then
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13729 $as_echo_n "checking for GNU ld... " >&6; }
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13732 $as_echo_n "checking for non-GNU ld... " >&6; }
13734 if ${lt_cv_path_LD+:} false; then :
13735 $as_echo_n "(cached) " >&6
13737 if test -z "$LD"; then
13738 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13739 for ac_dir in $PATH; do
13741 test -z "$ac_dir" && ac_dir=.
13742 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13743 lt_cv_path_LD="$ac_dir/$ac_prog"
13744 # Check to see if the program is GNU ld. I'd rather use --version,
13745 # but apparently some variants of GNU ld only accept -v.
13746 # Break only if it was the GNU/non-GNU ld that we prefer.
13747 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13748 *GNU* | *'with BFD'*)
13749 test "$with_gnu_ld" != no && break
13752 test "$with_gnu_ld" != yes && break
13759 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13763 LD="$lt_cv_path_LD"
13764 if test -n "$LD"; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13766 $as_echo "$LD" >&6; }
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769 $as_echo "no" >&6; }
13771 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13773 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13774 if ${lt_cv_prog_gnu_ld+:} false; then :
13775 $as_echo_n "(cached) " >&6
13777 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13778 case `$LD -v 2>&1 </dev/null` in
13779 *GNU* | *'with BFD'*)
13780 lt_cv_prog_gnu_ld=yes
13783 lt_cv_prog_gnu_ld=no
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13788 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13789 with_gnu_ld=$lt_cv_prog_gnu_ld
13797 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13798 # archiving commands below assume that GNU ld is being used.
13799 if test "$with_gnu_ld" = yes; then
13800 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13801 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13803 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13804 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13806 # If archive_cmds runs LD, not CC, wlarc should be empty
13807 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13808 # investigate it a little bit more. (MM)
13811 # ancient GNU ld didn't support --whole-archive et. al.
13812 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13813 $GREP 'no-whole-archive' > /dev/null; then
13814 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13816 whole_archive_flag_spec_CXX=
13822 # A generic and very simple default shared library creation
13823 # command for GNU C++ for the case where it uses the native
13824 # linker, instead of GNU ld. If possible, this setting should
13825 # overridden to take advantage of the native linker features on
13826 # the platform it is being used on.
13827 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13830 # Commands to make compiler produce verbose output that lists
13831 # what "hidden" libraries, object files and flags are used when
13832 # linking a shared library.
13833 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13841 # PORTME: fill in a description of your system's C++ link characteristics
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13843 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13847 # FIXME: insert proper C++ library support
13851 if test "$host_cpu" = ia64; then
13852 # On IA64, the linker does run time linking by default, so we don't
13853 # have to do anything special.
13854 aix_use_runtimelinking=no
13855 exp_sym_flag='-Bexport'
13858 aix_use_runtimelinking=no
13860 # Test if we are trying to use run time linking or normal
13861 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13862 # need to do runtime linking.
13863 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13864 for ld_flag in $LDFLAGS; do
13867 aix_use_runtimelinking=yes
13875 exp_sym_flag='-bexport'
13876 no_entry_flag='-bnoentry'
13879 # When large executables or shared objects are built, AIX ld can
13880 # have problems creating the table of contents. If linking a library
13881 # or program results in "error TOC overflow" add -mminimal-toc to
13882 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13883 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13885 archive_cmds_CXX=''
13886 hardcode_direct_CXX=yes
13887 hardcode_direct_absolute_CXX=yes
13888 hardcode_libdir_separator_CXX=':'
13889 link_all_deplibs_CXX=yes
13890 file_list_spec_CXX='${wl}-f,'
13892 if test "$GXX" = yes; then
13893 case $host_os in aix4.[012]|aix4.[012].*)
13894 # We only want to do this on AIX 4.2 and lower, the check
13895 # below for broken collect2 doesn't work under 4.3+
13896 collect2name=`${CC} -print-prog-name=collect2`
13897 if test -f "$collect2name" &&
13898 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13900 # We have reworked collect2
13903 # We have old collect2
13904 hardcode_direct_CXX=unsupported
13905 # It fails to find uninstalled libraries when the uninstalled
13906 # path is not listed in the libpath. Setting hardcode_minus_L
13907 # to unsupported forces relinking
13908 hardcode_minus_L_CXX=yes
13909 hardcode_libdir_flag_spec_CXX='-L$libdir'
13910 hardcode_libdir_separator_CXX=
13913 shared_flag='-shared'
13914 if test "$aix_use_runtimelinking" = yes; then
13915 shared_flag="$shared_flag "'${wl}-G'
13919 if test "$host_cpu" = ia64; then
13920 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13921 # chokes on -Wl,-G. The following line is correct:
13924 if test "$aix_use_runtimelinking" = yes; then
13925 shared_flag='${wl}-G'
13927 shared_flag='${wl}-bM:SRE'
13932 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13933 # It seems that -bexpall does not export symbols beginning with
13934 # underscore (_), so it is better to generate a list of symbols to
13936 always_export_symbols_CXX=yes
13937 if test "$aix_use_runtimelinking" = yes; then
13938 # Warning - without using the other runtime loading flags (-brtl),
13939 # -berok will link without error, but may produce a broken library.
13940 allow_undefined_flag_CXX='-berok'
13941 # Determine the default libpath from the value encoded in an empty
13943 if test "${lt_cv_aix_libpath+set}" = set; then
13944 aix_libpath=$lt_cv_aix_libpath
13946 if ${lt_cv_aix_libpath__CXX+:} false; then :
13947 $as_echo_n "(cached) " >&6
13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13960 if ac_fn_cxx_try_link "$LINENO"; then :
13962 lt_aix_libpath_sed='
13963 /Import File Strings/,/^$/ {
13965 s/^0 *\([^ ]*\) *$/\1/
13969 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13970 # Check for a 64-bit object if we didn't find anything.
13971 if test -z "$lt_cv_aix_libpath__CXX"; then
13972 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13975 rm -f core conftest.err conftest.$ac_objext \
13976 conftest$ac_exeext conftest.$ac_ext
13977 if test -z "$lt_cv_aix_libpath__CXX"; then
13978 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13983 aix_libpath=$lt_cv_aix_libpath__CXX
13986 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13988 archive_expsym_cmds_CXX='$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"
13990 if test "$host_cpu" = ia64; then
13991 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13992 allow_undefined_flag_CXX="-z nodefs"
13993 archive_expsym_cmds_CXX="\$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"
13995 # Determine the default libpath from the value encoded in an
13996 # empty executable.
13997 if test "${lt_cv_aix_libpath+set}" = set; then
13998 aix_libpath=$lt_cv_aix_libpath
14000 if ${lt_cv_aix_libpath__CXX+:} false; then :
14001 $as_echo_n "(cached) " >&6
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14014 if ac_fn_cxx_try_link "$LINENO"; then :
14016 lt_aix_libpath_sed='
14017 /Import File Strings/,/^$/ {
14019 s/^0 *\([^ ]*\) *$/\1/
14023 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14024 # Check for a 64-bit object if we didn't find anything.
14025 if test -z "$lt_cv_aix_libpath__CXX"; then
14026 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14029 rm -f core conftest.err conftest.$ac_objext \
14030 conftest$ac_exeext conftest.$ac_ext
14031 if test -z "$lt_cv_aix_libpath__CXX"; then
14032 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14037 aix_libpath=$lt_cv_aix_libpath__CXX
14040 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14041 # Warning - without using the other run time loading flags,
14042 # -berok will link without error, but may produce a broken library.
14043 no_undefined_flag_CXX=' ${wl}-bernotok'
14044 allow_undefined_flag_CXX=' ${wl}-berok'
14045 if test "$with_gnu_ld" = yes; then
14046 # We only use this code for GNU lds that support --whole-archive.
14047 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14049 # Exported symbols can be pulled into shared objects from archives
14050 whole_archive_flag_spec_CXX='$convenience'
14052 archive_cmds_need_lc_CXX=yes
14053 # This is similar to how AIX traditionally builds its shared
14055 archive_expsym_cmds_CXX="\$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'
14061 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14062 allow_undefined_flag_CXX=unsupported
14063 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14064 # support --undefined. This deserves some investigation. FIXME
14065 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14072 case $cc_basename in
14074 # FIXME: insert proper C++ library support
14080 cygwin* | mingw* | pw32* | cegcc*)
14081 case $GXX,$cc_basename in
14084 # hardcode_libdir_flag_spec is actually meaningless, as there is
14085 # no search path for DLLs.
14086 hardcode_libdir_flag_spec_CXX=' '
14087 allow_undefined_flag_CXX=unsupported
14088 always_export_symbols_CXX=yes
14089 file_list_spec_CXX='@'
14090 # Tell ltmain to make .lib files, not .a files.
14092 # Tell ltmain to make .dll files, not .so files.
14094 # FIXME: Setting linknames here is a bad hack.
14095 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14096 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14097 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14099 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14101 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14103 # The linker will not automatically build a static lib if we build a DLL.
14104 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14105 enable_shared_with_static_runtimes_CXX=yes
14107 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14108 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14109 lt_tool_outputfile="@TOOL_OUTPUT@"~
14110 case $lt_outputfile in
14113 lt_outputfile="$lt_outputfile.exe"
14114 lt_tool_outputfile="$lt_tool_outputfile.exe"
14117 func_to_tool_file "$lt_outputfile"~
14118 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14119 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14120 $RM "$lt_outputfile.manifest";
14125 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14126 # as there is no search path for DLLs.
14127 hardcode_libdir_flag_spec_CXX='-L$libdir'
14128 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14129 allow_undefined_flag_CXX=unsupported
14130 always_export_symbols_CXX=no
14131 enable_shared_with_static_runtimes_CXX=yes
14133 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14134 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14135 # If the export-symbols file already is a .def file (1st line
14136 # is EXPORTS), use it as is; otherwise, prepend...
14137 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14138 cp $export_symbols $output_objdir/$soname.def;
14140 echo EXPORTS > $output_objdir/$soname.def;
14141 cat $export_symbols >> $output_objdir/$soname.def;
14143 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14150 darwin* | rhapsody*)
14153 archive_cmds_need_lc_CXX=no
14154 hardcode_direct_CXX=no
14155 hardcode_automatic_CXX=yes
14156 hardcode_shlibpath_var_CXX=unsupported
14157 if test "$lt_cv_ld_force_load" = "yes"; then
14158 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14161 whole_archive_flag_spec_CXX=''
14163 link_all_deplibs_CXX=yes
14164 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14165 case $cc_basename in
14166 ifort*) _lt_dar_can_shared=yes ;;
14167 *) _lt_dar_can_shared=$GCC ;;
14169 if test "$_lt_dar_can_shared" = "yes"; then
14170 output_verbose_link_cmd=func_echo_all
14171 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14172 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14173 archive_expsym_cmds_CXX="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}"
14174 module_expsym_cmds_CXX="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}"
14175 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14176 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14177 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14187 case $cc_basename in
14189 # FIXME: insert proper C++ library support
14193 # Green Hills C++ Compiler
14194 # FIXME: insert proper C++ library support
14198 # FIXME: insert proper C++ library support
14205 # C++ shared libraries reported to be fairly broken before
14211 archive_cmds_need_lc_CXX=no
14214 freebsd* | dragonfly*)
14215 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14224 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14225 link_all_deplibs_CXX=yes
14229 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14230 hardcode_libdir_separator_CXX=:
14231 export_dynamic_flag_spec_CXX='${wl}-E'
14232 hardcode_direct_CXX=yes
14233 hardcode_minus_L_CXX=yes # Not in the search PATH,
14234 # but as the default
14235 # location of the library.
14237 case $cc_basename in
14239 # FIXME: insert proper C++ library support
14243 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14244 # Commands to make compiler produce verbose output that lists
14245 # what "hidden" libraries, object files and flags are used when
14246 # linking a shared library.
14248 # There doesn't appear to be a way to prevent this compiler from
14249 # explicitly linking system object files so we need to strip them
14250 # from the output so that they don't get included in the library
14252 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14255 if test "$GXX" = yes; then
14256 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14258 # FIXME: insert proper C++ library support
14266 if test $with_gnu_ld = no; then
14267 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14268 hardcode_libdir_separator_CXX=:
14274 export_dynamic_flag_spec_CXX='${wl}-E'
14280 hardcode_direct_CXX=no
14281 hardcode_shlibpath_var_CXX=no
14284 hardcode_direct_CXX=yes
14285 hardcode_direct_absolute_CXX=yes
14286 hardcode_minus_L_CXX=yes # Not in the search PATH,
14287 # but as the default
14288 # location of the library.
14292 case $cc_basename in
14294 # FIXME: insert proper C++ library support
14300 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14303 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14306 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14309 # Commands to make compiler produce verbose output that lists
14310 # what "hidden" libraries, object files and flags are used when
14311 # linking a shared library.
14313 # There doesn't appear to be a way to prevent this compiler from
14314 # explicitly linking system object files so we need to strip them
14315 # from the output so that they don't get included in the library
14317 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14320 if test "$GXX" = yes; then
14321 if test $with_gnu_ld = no; then
14324 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14327 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14330 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14335 # FIXME: insert proper C++ library support
14343 hardcode_direct_CXX=no
14344 hardcode_shlibpath_var_CXX=no
14345 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14346 export_dynamic_flag_spec_CXX='${wl}-E'
14347 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14348 # Instead, shared libraries are loaded at an image base (0x10000000 by
14349 # default) and relocated if they conflict, which is a slow very memory
14350 # consuming and fragmenting process. To avoid this, we pick a random,
14351 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14352 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14353 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14354 archive_expsym_cmds_CXX='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'
14357 case $cc_basename in
14360 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14362 # Archives containing C++ object files must be created using
14363 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14364 # necessary to make sure instantiated templates are included
14366 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14369 if test "$GXX" = yes; then
14370 if test "$with_gnu_ld" = no; then
14371 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
14373 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
14376 link_all_deplibs_CXX=yes
14379 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14380 hardcode_libdir_separator_CXX=:
14381 inherit_rpath_CXX=yes
14384 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14385 case $cc_basename in
14387 # Kuck and Associates, Inc. (KAI) C++ Compiler
14389 # KCC will only create a shared library if the output file
14390 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14391 # to its proper name (with version) after linking.
14392 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14393 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14394 # Commands to make compiler produce verbose output that lists
14395 # what "hidden" libraries, object files and flags are used when
14396 # linking a shared library.
14398 # There doesn't appear to be a way to prevent this compiler from
14399 # explicitly linking system object files so we need to strip them
14400 # from the output so that they don't get included in the library
14402 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14404 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14405 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14407 # Archives containing C++ object files must be created using
14408 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14409 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14414 # version 8.0 and above of icpc choke on multiply defined symbols
14415 # if we add $predep_objects and $postdep_objects, however 7.1 and
14416 # earlier do not add the objects themselves.
14417 case `$CC -V 2>&1` in
14419 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14420 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14422 *) # Version 8.0 or newer
14425 ia64*) tmp_idyn=' -i_dynamic';;
14427 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14428 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14431 archive_cmds_need_lc_CXX=no
14432 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14433 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14434 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14437 # Portland Group C++ compiler
14439 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14440 prelink_cmds_CXX='tpldir=Template.dir~
14442 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14443 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14444 old_archive_cmds_CXX='tpldir=Template.dir~
14446 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14447 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14449 archive_cmds_CXX='tpldir=Template.dir~
14451 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14452 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14453 archive_expsym_cmds_CXX='tpldir=Template.dir~
14455 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14456 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14458 *) # Version 6 and above use weak symbols
14459 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14460 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14464 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14465 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14466 whole_archive_flag_spec_CXX='${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'
14470 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14471 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14473 runpath_var=LD_RUN_PATH
14474 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14475 hardcode_libdir_separator_CXX=:
14477 # Commands to make compiler produce verbose output that lists
14478 # what "hidden" libraries, object files and flags are used when
14479 # linking a shared library.
14481 # There doesn't appear to be a way to prevent this compiler from
14482 # explicitly linking system object files so we need to strip them
14483 # from the output so that they don't get included in the library
14485 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14487 xl* | mpixl* | bgxl*)
14488 # IBM XL 8.0 on PPC, with GNU ld
14489 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14490 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14491 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14492 if test "x$supports_anon_versioning" = xyes; then
14493 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14494 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14495 echo "local: *; };" >> $output_objdir/$libname.ver~
14496 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14500 case `$CC -V 2>&1 | sed 5q` in
14503 no_undefined_flag_CXX=' -zdefs'
14504 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14505 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14506 hardcode_libdir_flag_spec_CXX='-R$libdir'
14507 whole_archive_flag_spec_CXX='${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'
14508 compiler_needs_object_CXX=yes
14510 # Not sure whether something based on
14511 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14513 output_verbose_link_cmd='func_echo_all'
14515 # Archives containing C++ object files must be created using
14516 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14517 # necessary to make sure instantiated templates are included
14519 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14527 # FIXME: insert proper C++ library support
14532 # FIXME: insert proper C++ library support
14537 case $cc_basename in
14539 # FIXME: insert proper C++ library support
14543 # FIXME: insert proper C++ library support
14550 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14551 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14553 hardcode_libdir_flag_spec_CXX='-R$libdir'
14554 hardcode_direct_CXX=yes
14555 hardcode_shlibpath_var_CXX=no
14557 # Workaround some broken pre-1.5 toolchains
14558 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14566 # C++ shared libraries are fairly broken
14571 if test -f /usr/libexec/ld.so; then
14572 hardcode_direct_CXX=yes
14573 hardcode_shlibpath_var_CXX=no
14574 hardcode_direct_absolute_CXX=yes
14575 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14576 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14577 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14578 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14579 export_dynamic_flag_spec_CXX='${wl}-E'
14580 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14582 output_verbose_link_cmd=func_echo_all
14588 osf3* | osf4* | osf5*)
14589 case $cc_basename in
14591 # Kuck and Associates, Inc. (KAI) C++ Compiler
14593 # KCC will only create a shared library if the output file
14594 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14595 # to its proper name (with version) after linking.
14596 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14598 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14599 hardcode_libdir_separator_CXX=:
14601 # Archives containing C++ object files must be created using
14602 # the KAI C++ compiler.
14604 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14605 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14609 # Rational C++ 2.4.1
14610 # FIXME: insert proper C++ library support
14616 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14617 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14618 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14621 allow_undefined_flag_CXX=' -expect_unresolved \*'
14622 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14623 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14624 echo "-hidden">> $lib.exp~
14625 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14627 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14631 hardcode_libdir_separator_CXX=:
14633 # Commands to make compiler produce verbose output that lists
14634 # what "hidden" libraries, object files and flags are used when
14635 # linking a shared library.
14637 # There doesn't appear to be a way to prevent this compiler from
14638 # explicitly linking system object files so we need to strip them
14639 # from the output so that they don't get included in the library
14641 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14644 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14645 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14648 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
14651 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
14655 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14656 hardcode_libdir_separator_CXX=:
14658 # Commands to make compiler produce verbose output that lists
14659 # what "hidden" libraries, object files and flags are used when
14660 # linking a shared library.
14661 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14664 # FIXME: insert proper C++ library support
14672 # FIXME: insert proper C++ library support
14677 case $cc_basename in
14680 # FIXME: insert proper C++ library support
14685 # FIXME: insert proper C++ library support
14689 # FIXME: insert proper C++ library support
14696 case $cc_basename in
14698 # Sun C++ 4.2, 5.x and Centerline C++
14699 archive_cmds_need_lc_CXX=yes
14700 no_undefined_flag_CXX=' -zdefs'
14701 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14702 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14703 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14705 hardcode_libdir_flag_spec_CXX='-R$libdir'
14706 hardcode_shlibpath_var_CXX=no
14708 solaris2.[0-5] | solaris2.[0-5].*) ;;
14710 # The compiler driver will combine and reorder linker options,
14711 # but understands `-z linker_flag'.
14712 # Supported since Solaris 2.6 (maybe 2.5.1?)
14713 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14716 link_all_deplibs_CXX=yes
14718 output_verbose_link_cmd='func_echo_all'
14720 # Archives containing C++ object files must be created using
14721 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14722 # necessary to make sure instantiated templates are included
14724 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14727 # Green Hills C++ Compiler
14728 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14730 # The C++ compiler must be used to create the archive.
14731 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14734 # GNU C++ compiler with Solaris linker
14735 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14736 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14737 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14738 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14739 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14740 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14742 # Commands to make compiler produce verbose output that lists
14743 # what "hidden" libraries, object files and flags are used when
14744 # linking a shared library.
14745 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14747 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14749 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14750 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14751 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14753 # Commands to make compiler produce verbose output that lists
14754 # what "hidden" libraries, object files and flags are used when
14755 # linking a shared library.
14756 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14759 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14761 solaris2.[0-5] | solaris2.[0-5].*) ;;
14763 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14771 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14772 no_undefined_flag_CXX='${wl}-z,text'
14773 archive_cmds_need_lc_CXX=no
14774 hardcode_shlibpath_var_CXX=no
14775 runpath_var='LD_RUN_PATH'
14777 case $cc_basename in
14779 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14780 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14783 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14784 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14789 sysv5* | sco3.2v5* | sco5v6*)
14790 # Note: We can NOT use -z defs as we might desire, because we do not
14791 # link with -lc, and that would cause any symbols used from libc to
14792 # always be unresolved, which means just about no library would
14793 # ever link correctly. If we're not using GNU ld we use -z text
14794 # though, which does catch some bad symbols but isn't as heavy-handed
14796 no_undefined_flag_CXX='${wl}-z,text'
14797 allow_undefined_flag_CXX='${wl}-z,nodefs'
14798 archive_cmds_need_lc_CXX=no
14799 hardcode_shlibpath_var_CXX=no
14800 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14801 hardcode_libdir_separator_CXX=':'
14802 link_all_deplibs_CXX=yes
14803 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14804 runpath_var='LD_RUN_PATH'
14806 case $cc_basename in
14808 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14809 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14810 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14811 '"$old_archive_cmds_CXX"
14812 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14813 '"$reload_cmds_CXX"
14816 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14817 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14823 case $cc_basename in
14825 # NonStop-UX NCC 3.20
14826 # FIXME: insert proper C++ library support
14830 # FIXME: insert proper C++ library support
14837 # FIXME: insert proper C++ library support
14842 # FIXME: insert proper C++ library support
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14848 $as_echo "$ld_shlibs_CXX" >&6; }
14849 test "$ld_shlibs_CXX" = no && can_build_shared=no
14855 ## There is no encapsulation within the following macros, do not change
14856 ## the running order or otherwise move them around unless you know exactly
14857 ## what you are doing...
14858 # Dependencies to place before and after the object being linked:
14859 predep_objects_CXX=
14860 postdep_objects_CXX=
14863 compiler_lib_search_path_CXX=
14865 cat > conftest.$ac_ext <<_LT_EOF
14869 Foo (void) { a = 0; }
14876 _lt_libdeps_save_CFLAGS=$CFLAGS
14877 case "$CC $CFLAGS " in #(
14878 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14879 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14880 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14884 (eval $ac_compile) 2>&5
14886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14887 test $ac_status = 0; }; then
14888 # Parse the compiler output and extract the necessary
14889 # objects, libraries and library flags.
14891 # Sentinel used to keep track of whether or not we are before
14892 # the conftest object file.
14893 pre_test_object_deps_done=no
14895 for p in `eval "$output_verbose_link_cmd"`; do
14896 case ${prev}${p} in
14899 # Some compilers place space between "-{L,R}" and the path.
14900 # Remove the space.
14901 if test $p = "-L" ||
14902 test $p = "-R"; then
14907 # Expand the sysroot to ease extracting the directories later.
14908 if test -z "$prev"; then
14910 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14911 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14912 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14916 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14918 if test "$pre_test_object_deps_done" = no; then
14921 # Internal compiler library paths should come after those
14922 # provided the user. The postdeps already come after the
14923 # user supplied libs so there is no need to process them.
14924 if test -z "$compiler_lib_search_path_CXX"; then
14925 compiler_lib_search_path_CXX="${prev}${p}"
14927 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14930 # The "-l" case would never come before the object being
14931 # linked, so don't bother handling this case.
14934 if test -z "$postdeps_CXX"; then
14935 postdeps_CXX="${prev}${p}"
14937 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14943 *.lto.$objext) ;; # Ignore GCC LTO objects
14945 # This assumes that the test object file only shows up
14946 # once in the compiler output.
14947 if test "$p" = "conftest.$objext"; then
14948 pre_test_object_deps_done=yes
14952 if test "$pre_test_object_deps_done" = no; then
14953 if test -z "$predep_objects_CXX"; then
14954 predep_objects_CXX="$p"
14956 predep_objects_CXX="$predep_objects_CXX $p"
14959 if test -z "$postdep_objects_CXX"; then
14960 postdep_objects_CXX="$p"
14962 postdep_objects_CXX="$postdep_objects_CXX $p"
14967 *) ;; # Ignore the rest.
14975 echo "libtool.m4: error: problem compiling CXX test program"
14978 $RM -f confest.$objext
14979 CFLAGS=$_lt_libdeps_save_CFLAGS
14981 # PORTME: override above test on systems where it is broken
14984 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14985 # hack all around it, let's just trust "g++" to DTRT.
14986 predep_objects_CXX=
14987 postdep_objects_CXX=
14992 case `$CC -V 2>&1 | sed 5q` in
14996 # The more standards-conforming stlport4 library is
14997 # incompatible with the Cstd library. Avoid specifying
14998 # it if it's in CXXFLAGS. Ignore libCrun as
14999 # -library=stlport4 depends on it.
15000 case " $CXX $CXXFLAGS " in
15001 *" -library=stlport4 "*)
15002 solaris_use_stlport4=yes
15006 if test "$solaris_use_stlport4" != yes; then
15007 postdeps_CXX='-library=Cstd -library=Crun'
15014 case $cc_basename in
15016 # The more standards-conforming stlport4 library is
15017 # incompatible with the Cstd library. Avoid specifying
15018 # it if it's in CXXFLAGS. Ignore libCrun as
15019 # -library=stlport4 depends on it.
15020 case " $CXX $CXXFLAGS " in
15021 *" -library=stlport4 "*)
15022 solaris_use_stlport4=yes
15026 # Adding this requires a known-good setup of shared libraries for
15027 # Sun compiler versions before 5.6, else PIC objects from an old
15028 # archive will be linked into the output, leading to subtle bugs.
15029 if test "$solaris_use_stlport4" != yes; then
15030 postdeps_CXX='-library=Cstd -library=Crun'
15038 case " $postdeps_CXX " in
15039 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15041 compiler_lib_search_dirs_CXX=
15042 if test -n "${compiler_lib_search_path_CXX}"; then
15043 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15076 lt_prog_compiler_wl_CXX=
15077 lt_prog_compiler_pic_CXX=
15078 lt_prog_compiler_static_CXX=
15081 # C++ specific cases for pic, static, wl, etc.
15082 if test "$GXX" = yes; then
15083 lt_prog_compiler_wl_CXX='-Wl,'
15084 lt_prog_compiler_static_CXX='-static'
15088 # All AIX code is PIC.
15089 if test "$host_cpu" = ia64; then
15090 # AIX 5 now supports IA64 processor
15091 lt_prog_compiler_static_CXX='-Bstatic'
15098 # see comment about AmigaOS4 .so support
15099 lt_prog_compiler_pic_CXX='-fPIC'
15102 # FIXME: we need at least 68020 code to build shared libraries, but
15103 # adding the `-m68020' flag to GCC prevents building anything better,
15105 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15110 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15111 # PIC is the default for these OSes.
15113 mingw* | cygwin* | os2* | pw32* | cegcc*)
15114 # This hack is so that the source file can tell whether it is being
15115 # built for inclusion in a dll (and should export symbols for example).
15116 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15117 # (--disable-auto-import) libraries
15118 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15120 darwin* | rhapsody*)
15121 # PIC is the default on this platform
15122 # Common symbols not allowed in MH_DYLIB files
15123 lt_prog_compiler_pic_CXX='-fno-common'
15126 # DJGPP does not support shared libraries at all
15127 lt_prog_compiler_pic_CXX=
15130 # PIC is the default for Haiku.
15131 # The "-static" flag exists, but is broken.
15132 lt_prog_compiler_static_CXX=
15135 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15136 # Instead, we relocate shared libraries at runtime.
15139 if test -d /usr/nec; then
15140 lt_prog_compiler_pic_CXX=-Kconform_pic
15144 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15145 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15146 # sets the default TLS model and affects inlining.
15151 lt_prog_compiler_pic_CXX='-fPIC'
15156 # QNX uses GNU C++, but need to define -shared option too, otherwise
15157 # it will coredump.
15158 lt_prog_compiler_pic_CXX='-fPIC -shared'
15161 lt_prog_compiler_pic_CXX='-fPIC'
15167 # All AIX code is PIC.
15168 if test "$host_cpu" = ia64; then
15169 # AIX 5 now supports IA64 processor
15170 lt_prog_compiler_static_CXX='-Bstatic'
15172 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15176 case $cc_basename in
15178 # Green Hills C++ Compiler
15179 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15183 mingw* | cygwin* | os2* | pw32* | cegcc*)
15184 # This hack is so that the source file can tell whether it is being
15185 # built for inclusion in a dll (and should export symbols for example).
15186 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15189 case $cc_basename in
15191 lt_prog_compiler_pic_CXX='-KPIC'
15194 # Green Hills C++ Compiler
15195 lt_prog_compiler_pic_CXX='-pic'
15201 freebsd* | dragonfly*)
15202 # FreeBSD uses GNU C++
15204 hpux9* | hpux10* | hpux11*)
15205 case $cc_basename in
15207 lt_prog_compiler_wl_CXX='-Wl,'
15208 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15209 if test "$host_cpu" != ia64; then
15210 lt_prog_compiler_pic_CXX='+Z'
15214 lt_prog_compiler_wl_CXX='-Wl,'
15215 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15221 lt_prog_compiler_pic_CXX='+Z'
15230 # This is c89, which is MS Visual C++ (no shared libs)
15231 # Anyone wants to do a port?
15233 irix5* | irix6* | nonstopux*)
15234 case $cc_basename in
15236 lt_prog_compiler_wl_CXX='-Wl,'
15237 lt_prog_compiler_static_CXX='-non_shared'
15238 # CC pic flag -KPIC is the default.
15244 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15245 case $cc_basename in
15248 lt_prog_compiler_wl_CXX='--backend -Wl,'
15249 lt_prog_compiler_pic_CXX='-fPIC'
15252 # old Intel C++ for x86_64 which still supported -KPIC.
15253 lt_prog_compiler_wl_CXX='-Wl,'
15254 lt_prog_compiler_pic_CXX='-KPIC'
15255 lt_prog_compiler_static_CXX='-static'
15258 # Intel C++, used to be incompatible with GCC.
15259 # ICC 10 doesn't accept -KPIC any more.
15260 lt_prog_compiler_wl_CXX='-Wl,'
15261 lt_prog_compiler_pic_CXX='-fPIC'
15262 lt_prog_compiler_static_CXX='-static'
15265 # Portland Group C++ compiler
15266 lt_prog_compiler_wl_CXX='-Wl,'
15267 lt_prog_compiler_pic_CXX='-fpic'
15268 lt_prog_compiler_static_CXX='-Bstatic'
15272 # Make sure the PIC flag is empty. It appears that all Alpha
15273 # Linux and Compaq Tru64 Unix objects are PIC.
15274 lt_prog_compiler_pic_CXX=
15275 lt_prog_compiler_static_CXX='-non_shared'
15277 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15278 # IBM XL 8.0, 9.0 on PPC and BlueGene
15279 lt_prog_compiler_wl_CXX='-Wl,'
15280 lt_prog_compiler_pic_CXX='-qpic'
15281 lt_prog_compiler_static_CXX='-qstaticlink'
15284 case `$CC -V 2>&1 | sed 5q` in
15287 lt_prog_compiler_pic_CXX='-KPIC'
15288 lt_prog_compiler_static_CXX='-Bstatic'
15289 lt_prog_compiler_wl_CXX='-Qoption ld '
15300 case $cc_basename in
15302 lt_prog_compiler_pic_CXX='-W c,exportall'
15311 # QNX uses GNU C++, but need to define -shared option too, otherwise
15312 # it will coredump.
15313 lt_prog_compiler_pic_CXX='-fPIC -shared'
15315 osf3* | osf4* | osf5*)
15316 case $cc_basename in
15318 lt_prog_compiler_wl_CXX='--backend -Wl,'
15321 # Rational C++ 2.4.1
15322 lt_prog_compiler_pic_CXX='-pic'
15325 # Digital/Compaq C++
15326 lt_prog_compiler_wl_CXX='-Wl,'
15327 # Make sure the PIC flag is empty. It appears that all Alpha
15328 # Linux and Compaq Tru64 Unix objects are PIC.
15329 lt_prog_compiler_pic_CXX=
15330 lt_prog_compiler_static_CXX='-non_shared'
15339 case $cc_basename in
15341 # Sun C++ 4.2, 5.x and Centerline C++
15342 lt_prog_compiler_pic_CXX='-KPIC'
15343 lt_prog_compiler_static_CXX='-Bstatic'
15344 lt_prog_compiler_wl_CXX='-Qoption ld '
15347 # Green Hills C++ Compiler
15348 lt_prog_compiler_pic_CXX='-PIC'
15355 case $cc_basename in
15358 lt_prog_compiler_pic_CXX='-pic'
15359 lt_prog_compiler_static_CXX='-Bstatic'
15363 lt_prog_compiler_pic_CXX='-pic'
15369 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15370 case $cc_basename in
15372 lt_prog_compiler_wl_CXX='-Wl,'
15373 lt_prog_compiler_pic_CXX='-KPIC'
15374 lt_prog_compiler_static_CXX='-Bstatic'
15379 case $cc_basename in
15381 # NonStop-UX NCC 3.20
15382 lt_prog_compiler_pic_CXX='-KPIC'
15391 lt_prog_compiler_can_build_shared_CXX=no
15397 # For platforms which do not support PIC, -DPIC is meaningless:
15399 lt_prog_compiler_pic_CXX=
15402 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15407 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15408 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15409 $as_echo_n "(cached) " >&6
15411 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15414 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15415 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15418 # Check to make sure the PIC flag actually works.
15420 if test -n "$lt_prog_compiler_pic_CXX"; then
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15422 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15423 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15424 $as_echo_n "(cached) " >&6
15426 lt_cv_prog_compiler_pic_works_CXX=no
15427 ac_outfile=conftest.$ac_objext
15428 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15429 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15430 # Insert the option either (1) after the last *FLAGS variable, or
15431 # (2) before a word containing "conftest.", or (3) at the end.
15432 # Note that $ac_compile itself does not contain backslashes and begins
15433 # with a dollar sign (not a hyphen), so the echo should work correctly.
15434 # The option is referenced via a variable to avoid confusing sed.
15435 lt_compile=`echo "$ac_compile" | $SED \
15436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15438 -e 's:$: $lt_compiler_flag:'`
15439 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15440 (eval "$lt_compile" 2>conftest.err)
15442 cat conftest.err >&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 if (exit $ac_status) && test -s "$ac_outfile"; then
15445 # The compiler can only warn and ignore the option if not recognized
15446 # So say no if there are warnings other than the usual output.
15447 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15448 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15449 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15450 lt_cv_prog_compiler_pic_works_CXX=yes
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15457 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15459 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15460 case $lt_prog_compiler_pic_CXX in
15462 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15465 lt_prog_compiler_pic_CXX=
15466 lt_prog_compiler_can_build_shared_CXX=no
15476 # Check to make sure the static flag actually works.
15478 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15480 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15481 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15482 $as_echo_n "(cached) " >&6
15484 lt_cv_prog_compiler_static_works_CXX=no
15485 save_LDFLAGS="$LDFLAGS"
15486 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15487 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15488 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15489 # The linker can only warn and ignore the option if not recognized
15490 # So say no if there are warnings
15491 if test -s conftest.err; then
15492 # Append any errors to the config.log.
15493 cat conftest.err 1>&5
15494 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15495 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15496 if diff conftest.exp conftest.er2 >/dev/null; then
15497 lt_cv_prog_compiler_static_works_CXX=yes
15500 lt_cv_prog_compiler_static_works_CXX=yes
15504 LDFLAGS="$save_LDFLAGS"
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15508 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15510 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15513 lt_prog_compiler_static_CXX=
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15520 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15521 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15522 $as_echo_n "(cached) " >&6
15524 lt_cv_prog_compiler_c_o_CXX=no
15525 $RM -r conftest 2>/dev/null
15529 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15531 lt_compiler_flag="-o out/conftest2.$ac_objext"
15532 # Insert the option either (1) after the last *FLAGS variable, or
15533 # (2) before a word containing "conftest.", or (3) at the end.
15534 # Note that $ac_compile itself does not contain backslashes and begins
15535 # with a dollar sign (not a hyphen), so the echo should work correctly.
15536 lt_compile=`echo "$ac_compile" | $SED \
15537 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15538 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15539 -e 's:$: $lt_compiler_flag:'`
15540 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15541 (eval "$lt_compile" 2>out/conftest.err)
15543 cat out/conftest.err >&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15547 # The compiler can only warn and ignore the option if not recognized
15548 # So say no if there are warnings
15549 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15550 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15551 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15552 lt_cv_prog_compiler_c_o_CXX=yes
15557 # SGI C++ compiler will create directory out/ii_files/ for
15558 # template instantiation
15559 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15560 $RM out/* && rmdir out
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15567 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15572 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15573 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15574 $as_echo_n "(cached) " >&6
15576 lt_cv_prog_compiler_c_o_CXX=no
15577 $RM -r conftest 2>/dev/null
15581 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15583 lt_compiler_flag="-o out/conftest2.$ac_objext"
15584 # Insert the option either (1) after the last *FLAGS variable, or
15585 # (2) before a word containing "conftest.", or (3) at the end.
15586 # Note that $ac_compile itself does not contain backslashes and begins
15587 # with a dollar sign (not a hyphen), so the echo should work correctly.
15588 lt_compile=`echo "$ac_compile" | $SED \
15589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15591 -e 's:$: $lt_compiler_flag:'`
15592 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15593 (eval "$lt_compile" 2>out/conftest.err)
15595 cat out/conftest.err >&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15599 # The compiler can only warn and ignore the option if not recognized
15600 # So say no if there are warnings
15601 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15602 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15603 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15604 lt_cv_prog_compiler_c_o_CXX=yes
15609 # SGI C++ compiler will create directory out/ii_files/ for
15610 # template instantiation
15611 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15612 $RM out/* && rmdir out
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15619 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15624 hard_links="nottested"
15625 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15626 # do not overwrite the value of need_locks provided by the user
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15628 $as_echo_n "checking if we can lock with hard links... " >&6; }
15631 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15633 ln conftest.a conftest.b 2>&5 || hard_links=no
15634 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15636 $as_echo "$hard_links" >&6; }
15637 if test "$hard_links" = no; then
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15639 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15649 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15651 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15652 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15655 # If we're using GNU nm, then we don't want the "-C" option.
15656 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15657 # Also, AIX nm treats weak defined symbols like other global defined
15658 # symbols, whereas GNU nm marks them as "W".
15659 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15660 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15662 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15666 export_symbols_cmds_CXX="$ltdll_cmds"
15668 cygwin* | mingw* | cegcc*)
15669 case $cc_basename in
15671 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15674 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15675 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15680 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15685 $as_echo "$ld_shlibs_CXX" >&6; }
15686 test "$ld_shlibs_CXX" = no && can_build_shared=no
15688 with_gnu_ld_CXX=$with_gnu_ld
15696 # Do we need to explicitly link libc?
15698 case "x$archive_cmds_need_lc_CXX" in
15700 # Assume -lc should be added
15701 archive_cmds_need_lc_CXX=yes
15703 if test "$enable_shared" = yes && test "$GCC" = yes; then
15704 case $archive_cmds_CXX in
15706 # FIXME: we may have to deal with multi-command sequences.
15709 # Test whether the compiler implicitly links with -lc since on some
15710 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15711 # to ld, don't add -lc before -lgcc.
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15713 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15714 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15715 $as_echo_n "(cached) " >&6
15718 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15721 (eval $ac_compile) 2>&5
15723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15724 test $ac_status = 0; } 2>conftest.err; then
15727 libobjs=conftest.$ac_objext
15729 wl=$lt_prog_compiler_wl_CXX
15730 pic_flag=$lt_prog_compiler_pic_CXX
15736 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15737 allow_undefined_flag_CXX=
15738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15739 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15742 test $ac_status = 0; }
15744 lt_cv_archive_cmds_need_lc_CXX=no
15746 lt_cv_archive_cmds_need_lc_CXX=yes
15748 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15750 cat conftest.err 1>&5
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15756 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15757 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15826 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15828 library_names_spec=
15829 libname_spec='lib$name'
15833 postuninstall_cmds=
15837 shlibpath_overrides_runpath=unknown
15839 dynamic_linker="$host_os ld.so"
15840 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15841 need_lib_prefix=unknown
15842 hardcode_into_libs=no
15844 # when you set need_version to no, make sure it does not cause -set_version
15845 # flags to be left without arguments
15846 need_version=unknown
15850 version_type=linux # correct to gnu/linux during the next big refactor
15851 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15852 shlibpath_var=LIBPATH
15854 # AIX 3 has no versioning support, so we append a major version to the name.
15855 soname_spec='${libname}${release}${shared_ext}$major'
15859 version_type=linux # correct to gnu/linux during the next big refactor
15862 hardcode_into_libs=yes
15863 if test "$host_cpu" = ia64; then
15864 # AIX 5 supports IA64
15865 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15866 shlibpath_var=LD_LIBRARY_PATH
15868 # With GCC up to 2.95.x, collect2 would create an import file
15869 # for dependence libraries. The import file would start with
15870 # the line `#! .'. This would cause the generated library to
15871 # depend on `.', always an invalid library. This was fixed in
15872 # development snapshots of GCC prior to 3.0.
15874 aix4 | aix4.[01] | aix4.[01].*)
15875 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15877 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15880 can_build_shared=no
15884 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15885 # soname into executable. Probably we can add versioning support to
15886 # collect2, so additional links can be useful in future.
15887 if test "$aix_use_runtimelinking" = yes; then
15888 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15889 # instead of lib<name>.a to let people know that these are not
15890 # typical AIX shared libraries.
15891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15893 # We preserve .a as extension for shared libraries through AIX4.2
15894 # and later when we are not doing run time linking.
15895 library_names_spec='${libname}${release}.a $libname.a'
15896 soname_spec='${libname}${release}${shared_ext}$major'
15898 shlibpath_var=LIBPATH
15905 # Since July 2007 AmigaOS4 officially supports .so libraries.
15906 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15910 library_names_spec='$libname.ixlibrary $libname.a'
15911 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15912 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'
15918 library_names_spec='${libname}${shared_ext}'
15919 dynamic_linker="$host_os ld.so"
15920 shlibpath_var=LIBRARY_PATH
15924 version_type=linux # correct to gnu/linux during the next big refactor
15926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15927 soname_spec='${libname}${release}${shared_ext}$major'
15928 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15929 shlibpath_var=LD_LIBRARY_PATH
15930 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15931 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15932 # the default ld.so.conf also contains /usr/contrib/lib and
15933 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15934 # libtool to hard-code these into programs
15937 cygwin* | mingw* | pw32* | cegcc*)
15938 version_type=windows
15943 case $GCC,$cc_basename in
15946 library_names_spec='$libname.dll.a'
15947 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15948 postinstall_cmds='base_file=`basename \${file}`~
15949 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15950 dldir=$destdir/`dirname \$dlpath`~
15951 test -d \$dldir || mkdir -p \$dldir~
15952 $install_prog $dir/$dlname \$dldir/$dlname~
15953 chmod a+x \$dldir/$dlname~
15954 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15955 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15957 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15958 dlpath=$dir/\$dldll~
15960 shlibpath_overrides_runpath=yes
15964 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15965 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15969 # MinGW DLLs use traditional 'lib' prefix
15970 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15973 # pw32 DLLs use 'pw' prefix rather than 'lib'
15974 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15977 dynamic_linker='Win32 ld.exe'
15982 libname_spec='$name'
15983 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15984 library_names_spec='${libname}.dll.lib'
15988 sys_lib_search_path_spec=
15991 for lt_path in $LIB
15994 # Let DOS variable expansion print the short 8.3 style file name.
15995 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15996 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15999 # Convert to MSYS style.
16000 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16003 # Convert to unix form, then to dos form, then back to unix form
16004 # but this time dos style (no spaces!) so that the unix form looks
16005 # like /cygdrive/c/PROGRA~1:/cygdr...
16006 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16007 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16008 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16011 sys_lib_search_path_spec="$LIB"
16012 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16013 # It is most probably a Windows format PATH.
16014 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16016 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16018 # FIXME: find the short name or the path components, as spaces are
16019 # common. (e.g. "Program Files" -> "PROGRA~1")
16023 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16024 postinstall_cmds='base_file=`basename \${file}`~
16025 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16026 dldir=$destdir/`dirname \$dlpath`~
16027 test -d \$dldir || mkdir -p \$dldir~
16028 $install_prog $dir/$dlname \$dldir/$dlname'
16029 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16030 dlpath=$dir/\$dldll~
16032 shlibpath_overrides_runpath=yes
16033 dynamic_linker='Win32 link.exe'
16037 # Assume MSVC wrapper
16038 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16039 dynamic_linker='Win32 ld.exe'
16042 # FIXME: first we should search . and the directory the executable is in
16046 darwin* | rhapsody*)
16047 dynamic_linker="$host_os dyld"
16048 version_type=darwin
16051 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16052 soname_spec='${libname}${release}${major}$shared_ext'
16053 shlibpath_overrides_runpath=yes
16054 shlibpath_var=DYLD_LIBRARY_PATH
16055 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16057 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16061 version_type=linux # correct to gnu/linux during the next big refactor
16064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16065 soname_spec='${libname}${release}${shared_ext}$major'
16066 shlibpath_var=LD_LIBRARY_PATH
16069 freebsd* | dragonfly*)
16070 # DragonFly does not have aout. When/if they implement a new
16071 # versioning mechanism, adjust this.
16072 if test -x /usr/bin/objformat; then
16073 objformat=`/usr/bin/objformat`
16076 freebsd[23].*) objformat=aout ;;
16077 *) objformat=elf ;;
16080 version_type=freebsd-$objformat
16081 case $version_type in
16083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16088 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16092 shlibpath_var=LD_LIBRARY_PATH
16095 shlibpath_overrides_runpath=yes
16097 freebsd3.[01]* | freebsdelf3.[01]*)
16098 shlibpath_overrides_runpath=yes
16099 hardcode_into_libs=yes
16101 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16102 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16103 shlibpath_overrides_runpath=no
16104 hardcode_into_libs=yes
16106 *) # from 4.6 on, and DragonFly
16107 shlibpath_overrides_runpath=yes
16108 hardcode_into_libs=yes
16114 version_type=linux # correct to gnu/linux during the next big refactor
16117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16118 soname_spec='${libname}${release}${shared_ext}$major'
16119 shlibpath_var=LD_LIBRARY_PATH
16120 shlibpath_overrides_runpath=no
16121 hardcode_into_libs=yes
16125 version_type=linux # correct to gnu/linux during the next big refactor
16128 dynamic_linker="$host_os runtime_loader"
16129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16130 soname_spec='${libname}${release}${shared_ext}$major'
16131 shlibpath_var=LIBRARY_PATH
16132 shlibpath_overrides_runpath=yes
16133 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16134 hardcode_into_libs=yes
16137 hpux9* | hpux10* | hpux11*)
16138 # Give a soname corresponding to the major version so that dld.sl refuses to
16139 # link against other versions.
16146 hardcode_into_libs=yes
16147 dynamic_linker="$host_os dld.so"
16148 shlibpath_var=LD_LIBRARY_PATH
16149 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16151 soname_spec='${libname}${release}${shared_ext}$major'
16152 if test "X$HPUX_IA64_MODE" = X32; then
16153 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16155 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16157 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16161 hardcode_into_libs=yes
16162 dynamic_linker="$host_os dld.sl"
16163 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16164 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16166 soname_spec='${libname}${release}${shared_ext}$major'
16167 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16168 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16172 dynamic_linker="$host_os dld.sl"
16173 shlibpath_var=SHLIB_PATH
16174 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16176 soname_spec='${libname}${release}${shared_ext}$major'
16179 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16180 postinstall_cmds='chmod 555 $lib'
16181 # or fails outright, so override atomically:
16182 install_override_mode=555
16186 version_type=linux # correct to gnu/linux during the next big refactor
16189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16190 soname_spec='${libname}${release}${shared_ext}$major'
16191 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16192 shlibpath_var=LD_LIBRARY_PATH
16193 shlibpath_overrides_runpath=no
16194 hardcode_into_libs=yes
16197 irix5* | irix6* | nonstopux*)
16199 nonstopux*) version_type=nonstopux ;;
16201 if test "$lt_cv_prog_gnu_ld" = yes; then
16202 version_type=linux # correct to gnu/linux during the next big refactor
16209 soname_spec='${libname}${release}${shared_ext}$major'
16210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16212 irix5* | nonstopux*)
16213 libsuff= shlibsuff=
16216 case $LD in # libtool.m4 will add one of these switches to LD
16217 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16218 libsuff= shlibsuff= libmagic=32-bit;;
16219 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16220 libsuff=32 shlibsuff=N32 libmagic=N32;;
16221 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16222 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16223 *) libsuff= shlibsuff= libmagic=never-match;;
16227 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16228 shlibpath_overrides_runpath=no
16229 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16230 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16231 hardcode_into_libs=yes
16234 # No shared lib support for Linux oldld, aout, or coff.
16235 linux*oldld* | linux*aout* | linux*coff*)
16239 # This must be glibc/ELF.
16240 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16241 version_type=linux # correct to gnu/linux during the next big refactor
16244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16245 soname_spec='${libname}${release}${shared_ext}$major'
16246 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16247 shlibpath_var=LD_LIBRARY_PATH
16248 shlibpath_overrides_runpath=no
16250 # Some binutils ld are patched to set DT_RUNPATH
16251 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16252 $as_echo_n "(cached) " >&6
16254 lt_cv_shlibpath_overrides_runpath=no
16255 save_LDFLAGS=$LDFLAGS
16256 save_libdir=$libdir
16257 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16258 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16270 if ac_fn_cxx_try_link "$LINENO"; then :
16271 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16272 lt_cv_shlibpath_overrides_runpath=yes
16275 rm -f core conftest.err conftest.$ac_objext \
16276 conftest$ac_exeext conftest.$ac_ext
16277 LDFLAGS=$save_LDFLAGS
16278 libdir=$save_libdir
16282 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16284 # This implies no fast_install, which is unacceptable.
16285 # Some rework will be needed to allow for fast_install
16286 # before this can be enabled.
16287 hardcode_into_libs=yes
16289 # Add ABI-specific directories to the system library path.
16290 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16292 # Append ld.so.conf contents to the search path
16293 if test -f /etc/ld.so.conf; then
16294 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' ' '`
16295 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16299 # We used to test for /lib/ld.so.1 and disable shared libraries on
16300 # powerpc, because MkLinux only supported shared libraries with the
16301 # GNU dynamic linker. Since this was broken with cross compilers,
16302 # most powerpc-linux boxes support dynamic linking these days and
16303 # people can always --disable-shared, the test was removed, and we
16304 # assume the GNU/Linux dynamic linker is in use.
16305 dynamic_linker='GNU/Linux ld.so'
16312 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16314 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16315 dynamic_linker='NetBSD (a.out) ld.so'
16317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16318 soname_spec='${libname}${release}${shared_ext}$major'
16319 dynamic_linker='NetBSD ld.elf_so'
16321 shlibpath_var=LD_LIBRARY_PATH
16322 shlibpath_overrides_runpath=yes
16323 hardcode_into_libs=yes
16327 version_type=linux # correct to gnu/linux during the next big refactor
16328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16329 shlibpath_var=LD_LIBRARY_PATH
16330 shlibpath_overrides_runpath=yes
16337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16338 soname_spec='${libname}${release}${shared_ext}$major'
16339 shlibpath_var=LD_LIBRARY_PATH
16340 shlibpath_overrides_runpath=no
16341 hardcode_into_libs=yes
16342 dynamic_linker='ldqnx.so'
16347 sys_lib_dlsearch_path_spec="/usr/lib"
16349 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16351 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16352 *) need_version=no ;;
16354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16355 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16356 shlibpath_var=LD_LIBRARY_PATH
16357 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16359 openbsd2.[89] | openbsd2.[89].*)
16360 shlibpath_overrides_runpath=no
16363 shlibpath_overrides_runpath=yes
16367 shlibpath_overrides_runpath=yes
16372 libname_spec='$name'
16375 library_names_spec='$libname${shared_ext} $libname.a'
16376 dynamic_linker='OS/2 ld.exe'
16377 shlibpath_var=LIBPATH
16380 osf3* | osf4* | osf5*)
16384 soname_spec='${libname}${release}${shared_ext}$major'
16385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16386 shlibpath_var=LD_LIBRARY_PATH
16387 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16388 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16396 version_type=linux # correct to gnu/linux during the next big refactor
16399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16400 soname_spec='${libname}${release}${shared_ext}$major'
16401 shlibpath_var=LD_LIBRARY_PATH
16402 shlibpath_overrides_runpath=yes
16403 hardcode_into_libs=yes
16404 # ldd complains unless libraries are executable
16405 postinstall_cmds='chmod +x $lib'
16410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16411 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16412 shlibpath_var=LD_LIBRARY_PATH
16413 shlibpath_overrides_runpath=yes
16414 if test "$with_gnu_ld" = yes; then
16421 version_type=linux # correct to gnu/linux during the next big refactor
16422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16423 soname_spec='${libname}${release}${shared_ext}$major'
16424 shlibpath_var=LD_LIBRARY_PATH
16425 case $host_vendor in
16427 shlibpath_overrides_runpath=no
16429 runpath_var=LD_RUN_PATH
16437 shlibpath_overrides_runpath=no
16438 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16444 if test -d /usr/nec ;then
16445 version_type=linux # correct to gnu/linux during the next big refactor
16446 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16447 soname_spec='$libname${shared_ext}.$major'
16448 shlibpath_var=LD_LIBRARY_PATH
16452 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16453 version_type=freebsd-elf
16456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16457 soname_spec='${libname}${release}${shared_ext}$major'
16458 shlibpath_var=LD_LIBRARY_PATH
16459 shlibpath_overrides_runpath=yes
16460 hardcode_into_libs=yes
16461 if test "$with_gnu_ld" = yes; then
16462 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16464 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16467 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16471 sys_lib_dlsearch_path_spec='/usr/lib'
16475 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16476 version_type=linux # correct to gnu/linux during the next big refactor
16479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16480 shlibpath_var=LD_LIBRARY_PATH
16481 shlibpath_overrides_runpath=no
16482 hardcode_into_libs=yes
16486 version_type=linux # correct to gnu/linux during the next big refactor
16487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16488 soname_spec='${libname}${release}${shared_ext}$major'
16489 shlibpath_var=LD_LIBRARY_PATH
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16497 $as_echo "$dynamic_linker" >&6; }
16498 test "$dynamic_linker" = no && can_build_shared=no
16500 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16501 if test "$GCC" = yes; then
16502 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16505 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16506 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16508 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16509 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16550 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16551 hardcode_action_CXX=
16552 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16553 test -n "$runpath_var_CXX" ||
16554 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16556 # We can hardcode non-existent directories.
16557 if test "$hardcode_direct_CXX" != no &&
16558 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16559 # have to relink, otherwise we might link with an installed library
16560 # when we should be linking with a yet-to-be-installed one
16561 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16562 test "$hardcode_minus_L_CXX" != no; then
16563 # Linking always hardcodes the temporary library directory.
16564 hardcode_action_CXX=relink
16566 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16567 hardcode_action_CXX=immediate
16570 # We cannot hardcode anything, or else we can only hardcode existing
16572 hardcode_action_CXX=unsupported
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16575 $as_echo "$hardcode_action_CXX" >&6; }
16577 if test "$hardcode_action_CXX" = relink ||
16578 test "$inherit_rpath_CXX" = yes; then
16579 # Fast installation is not supported
16580 enable_fast_install=no
16581 elif test "$shlibpath_overrides_runpath" = yes ||
16582 test "$enable_shared" = no; then
16583 # Fast installation is not necessary
16584 enable_fast_install=needless
16593 fi # test -n "$compiler"
16596 CFLAGS=$lt_save_CFLAGS
16600 with_gnu_ld=$lt_save_with_gnu_ld
16601 lt_cv_path_LDCXX=$lt_cv_path_LD
16602 lt_cv_path_LD=$lt_save_path_LD
16603 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16604 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16605 fi # test "$_lt_caught_CXX_error" != yes
16608 ac_cpp='$CPP $CPPFLAGS'
16609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16627 ac_config_commands="$ac_config_commands libtool"
16632 # Only expand once:
16635 # Create libtool early, because it's used in configure
16636 : ${CONFIG_LT=./config.lt}
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
16638 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
16640 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
16642 # Generated by $as_me.
16643 # Run this file to recreate a libtool stub with the current configuration.
16644 SHELL=\${CONFIG_SHELL-$SHELL}
16647 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
16648 ## -------------------- ##
16649 ## M4sh Initialization. ##
16650 ## -------------------- ##
16652 # Be more Bourne compatible
16653 DUALCASE=1; export DUALCASE # for MKS sh
16654 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16657 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16658 # is contrary to our usage. Disable this feature.
16659 alias -g '${1+"$@"}'='"$@"'
16660 setopt NO_GLOB_SUBST
16662 case `(set -o) 2>/dev/null` in #(
16674 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16675 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16676 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16677 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16678 # Prefer a ksh shell builtin over an external printf program on Solaris,
16679 # but without wasting forks for bash or zsh.
16680 if test -z "$BASH_VERSION$ZSH_VERSION" \
16681 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16682 as_echo='print -r --'
16683 as_echo_n='print -rn --'
16684 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16685 as_echo='printf %s\n'
16686 as_echo_n='printf %s'
16688 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16689 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16690 as_echo_n='/usr/ucb/echo -n'
16692 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16693 as_echo_n_body='eval
16697 expr "X$arg" : "X\\(.*\\)$as_nl";
16698 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16700 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16702 export as_echo_n_body
16703 as_echo_n='sh -c $as_echo_n_body as_echo'
16705 export as_echo_body
16706 as_echo='sh -c $as_echo_body as_echo'
16709 # The user is always right.
16710 if test "${PATH_SEPARATOR+set}" != set; then
16712 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16713 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16720 # We need space, tab and new line, in precisely that order. Quoting is
16721 # there to prevent editors from complaining about space-tab.
16722 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16723 # splitting by setting IFS to empty value.)
16726 # Find who we are. Look in the path if we contain no directory separator.
16729 *[\\/]* ) as_myself=$0 ;;
16730 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16731 for as_dir in $PATH
16734 test -z "$as_dir" && as_dir=.
16735 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16741 # We did not find ourselves, most probably we were run as `sh COMMAND'
16742 # in which case we are not to be found in the path.
16743 if test "x$as_myself" = x; then
16746 if test ! -f "$as_myself"; then
16747 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16751 # Unset variables that we do not need and which cause bugs (e.g. in
16752 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16753 # suppresses any "Segmentation fault" message there. '((' could
16754 # trigger a bug in pdksh 5.2.14.
16755 for as_var in BASH_ENV ENV MAIL MAILPATH
16756 do eval test x\${$as_var+set} = xset \
16757 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16770 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16773 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16774 # ----------------------------------------
16775 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16776 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16777 # script with STATUS, using 1 if that was 0.
16780 as_status=$1; test $as_status -eq 0 && as_status=1
16782 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16783 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16785 $as_echo "$as_me: error: $2" >&2
16786 as_fn_exit $as_status
16790 # as_fn_set_status STATUS
16791 # -----------------------
16792 # Set $? to STATUS, without forking.
16793 as_fn_set_status ()
16796 } # as_fn_set_status
16798 # as_fn_exit STATUS
16799 # -----------------
16800 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16804 as_fn_set_status $1
16810 # Portably unset VAR.
16813 { eval $1=; unset $1;}
16815 as_unset=as_fn_unset
16816 # as_fn_append VAR VALUE
16817 # ----------------------
16818 # Append the text in VALUE to the end of the definition contained in VAR. Take
16819 # advantage of any shell optimizations that allow amortized linear growth over
16820 # repeated appends, instead of the typical quadratic growth present in naive
16822 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16823 eval 'as_fn_append ()
16834 # as_fn_arith ARG...
16835 # ------------------
16836 # Perform arithmetic evaluation on the ARGs, and store the result in the
16837 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16838 # must be portable across $(()) and expr.
16839 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16840 eval 'as_fn_arith ()
16847 as_val=`expr "$@" || test $? -eq 1`
16852 if expr a : '\(a\)' >/dev/null 2>&1 &&
16853 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16859 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16860 as_basename=basename
16865 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16871 as_me=`$as_basename -- "$0" ||
16872 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16873 X"$0" : 'X\(//\)$' \| \
16874 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16876 sed '/^.*\/\([^/][^/]*\)\/*$/{
16890 # Avoid depending upon Character Ranges.
16891 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16892 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16893 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16894 as_cr_digits='0123456789'
16895 as_cr_alnum=$as_cr_Letters$as_cr_digits
16897 ECHO_C= ECHO_N= ECHO_T=
16898 case `echo -n x` in #(((((
16900 case `echo 'xy\c'` in
16901 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16903 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16910 rm -f conf$$ conf$$.exe conf$$.file
16911 if test -d conf$$.dir; then
16912 rm -f conf$$.dir/conf$$.file
16915 mkdir conf$$.dir 2>/dev/null
16917 if (echo >conf$$.file) 2>/dev/null; then
16918 if ln -s conf$$.file conf$$ 2>/dev/null; then
16920 # ... but there are two gotchas:
16921 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16922 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16923 # In both cases, we have to default to `cp -p'.
16924 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16926 elif ln conf$$.file conf$$ 2>/dev/null; then
16934 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16935 rmdir conf$$.dir 2>/dev/null
16940 # Create "$as_dir" as a directory, including parents if necessary.
16945 -*) as_dir=./$as_dir;;
16947 test -d "$as_dir" || eval $as_mkdir_p || {
16951 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16952 *) as_qdir=$as_dir;;
16954 as_dirs="'$as_qdir' $as_dirs"
16955 as_dir=`$as_dirname -- "$as_dir" ||
16956 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16957 X"$as_dir" : 'X\(//\)[^/]' \| \
16958 X"$as_dir" : 'X\(//\)$' \| \
16959 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16960 $as_echo X"$as_dir" |
16961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16965 /^X\(\/\/\)[^/].*/{
16978 test -d "$as_dir" && break
16980 test -z "$as_dirs" || eval "mkdir $as_dirs"
16981 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16985 if mkdir -p . 2>/dev/null; then
16986 as_mkdir_p='mkdir -p "$as_dir"'
16988 test -d ./-p && rmdir ./-p
16992 if test -x / >/dev/null 2>&1; then
16993 as_test_x='test -x'
16995 if ls -dL / >/dev/null 2>&1; then
17002 if test -d "$1"; then
17008 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17009 ???[sx]*):;;*)false;;esac;fi
17013 as_executable_p=$as_test_x
17015 # Sed expression to map a string onto a valid CPP name.
17016 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17018 # Sed expression to map a string onto a valid variable name.
17019 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17023 ## --------------------------------- ##
17024 ## Main body of "$CONFIG_LT" script. ##
17025 ## --------------------------------- ##
17027 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
17029 cat >>"$CONFIG_LT" <<\_LTEOF
17034 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17035 ## Running $as_me. ##
17040 \`$as_me' creates a local libtool stub from the current configuration,
17041 for use in further configure time tests before the real libtool is
17044 Usage: $0 [OPTIONS]
17046 -h, --help print this help, then exit
17047 -V, --version print version number, then exit
17048 -q, --quiet do not print progress messages
17049 -d, --debug don't remove temporary files
17051 Report bugs to <bug-libtool@gnu.org>."
17054 gtk+ config.lt 3.4.0
17055 configured by $0, generated by GNU Autoconf 2.68.
17057 Copyright (C) 2011 Free Software Foundation, Inc.
17058 This config.lt script is free software; the Free Software Foundation
17059 gives unlimited permision to copy, distribute and modify it."
17064 --version | --v* | -V )
17065 echo "$lt_cl_version"; exit 0 ;;
17066 --help | --h* | -h )
17067 echo "$lt_cl_help"; exit 0 ;;
17068 --debug | --d* | -d )
17070 --quiet | --q* | --silent | --s* | -q )
17073 -*) as_fn_error $? "unrecognized option: $1
17074 Try \`$0 --help' for more information." "$LINENO" 5 ;;
17076 *) as_fn_error $? "unrecognized argument: $1
17077 Try \`$0 --help' for more information." "$LINENO" 5 ;;
17082 if $lt_cl_silent; then
17087 cat >>"$CONFIG_LT" <<_LTEOF
17090 # The HP-UX ksh and POSIX shell print the target directory to stdout
17091 # if CDPATH is set.
17092 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17094 sed_quote_subst='$sed_quote_subst'
17095 double_quote_subst='$double_quote_subst'
17096 delay_variable_subst='$delay_variable_subst'
17097 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17098 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17099 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17100 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17101 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17102 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17103 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17104 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17105 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17106 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17107 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17108 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17109 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17110 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17111 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17112 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17113 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17114 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17115 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17116 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17117 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17118 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17119 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17120 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17121 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17122 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17123 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17124 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17125 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17126 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17127 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17128 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17129 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17130 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17131 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17132 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17133 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17134 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17135 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17136 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17137 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17138 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17139 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17140 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17141 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17142 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17143 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17144 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17145 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17146 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17147 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17148 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17149 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17150 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17151 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17152 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17153 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17154 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"`'
17155 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17156 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17157 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17158 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17159 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17160 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17161 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17162 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17163 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17164 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17165 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17166 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17167 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17168 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17169 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17170 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17171 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17172 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17173 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17174 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17175 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17176 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17177 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17178 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17179 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17180 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17181 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17182 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17183 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17184 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17185 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17186 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17187 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17188 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17189 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17190 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17191 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17192 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17193 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17194 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17195 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17196 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17197 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17198 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17199 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17200 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17201 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17202 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17203 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17204 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17205 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17206 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17207 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17208 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17209 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17210 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17211 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17212 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17213 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17214 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17215 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17216 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17217 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17218 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17219 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17220 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17221 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17222 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17223 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17224 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17225 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17226 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17227 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17228 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17229 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17230 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17231 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17232 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17233 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17234 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17235 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17236 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17237 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17238 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17239 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17240 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17241 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17242 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17243 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17244 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17245 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17246 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17247 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17248 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17249 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17250 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17251 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17252 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17253 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17254 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17255 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17256 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17257 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17258 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17259 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17260 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17261 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17262 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17263 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17264 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17265 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17266 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17267 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17268 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17269 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17270 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17271 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17272 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17273 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17274 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17275 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17276 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17277 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17278 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17279 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17280 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17281 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17284 LTCFLAGS='$LTCFLAGS'
17285 compiler='$compiler_DEFAULT'
17287 # A function that is used when there is no print builtin or printf.
17288 func_fallback_echo ()
17290 eval 'cat <<_LTECHO_EOF
17295 # Quote evaled strings.
17312 deplibs_check_method \
17316 sharedlib_from_linklib_cmd \
17319 archiver_list_spec \
17325 lt_cv_sys_global_symbol_pipe \
17326 lt_cv_sys_global_symbol_to_cdecl \
17327 lt_cv_sys_global_symbol_to_c_name_address \
17328 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17329 nm_file_list_spec \
17330 lt_prog_compiler_no_builtin_flag \
17331 lt_prog_compiler_pic \
17332 lt_prog_compiler_wl \
17333 lt_prog_compiler_static \
17334 lt_cv_prog_compiler_c_o \
17343 export_dynamic_flag_spec \
17344 whole_archive_flag_spec \
17345 compiler_needs_object \
17347 allow_undefined_flag \
17348 no_undefined_flag \
17349 hardcode_libdir_flag_spec \
17350 hardcode_libdir_separator \
17354 variables_saved_for_relink \
17356 library_names_spec \
17358 install_override_mode \
17362 compiler_lib_search_dirs \
17367 compiler_lib_search_path \
17371 lt_prog_compiler_no_builtin_flag_CXX \
17372 lt_prog_compiler_pic_CXX \
17373 lt_prog_compiler_wl_CXX \
17374 lt_prog_compiler_static_CXX \
17375 lt_cv_prog_compiler_c_o_CXX \
17376 export_dynamic_flag_spec_CXX \
17377 whole_archive_flag_spec_CXX \
17378 compiler_needs_object_CXX \
17380 allow_undefined_flag_CXX \
17381 no_undefined_flag_CXX \
17382 hardcode_libdir_flag_spec_CXX \
17383 hardcode_libdir_separator_CXX \
17384 exclude_expsyms_CXX \
17385 include_expsyms_CXX \
17386 file_list_spec_CXX \
17387 compiler_lib_search_dirs_CXX \
17388 predep_objects_CXX \
17389 postdep_objects_CXX \
17392 compiler_lib_search_path_CXX; do
17393 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17394 *[\\\\\\\`\\"\\\$]*)
17395 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17398 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17403 # Double-quote double-evaled strings.
17404 for var in reload_cmds \
17405 old_postinstall_cmds \
17406 old_postuninstall_cmds \
17408 extract_expsyms_cmds \
17409 old_archive_from_new_cmds \
17410 old_archive_from_expsyms_cmds \
17412 archive_expsym_cmds \
17414 module_expsym_cmds \
17415 export_symbols_cmds \
17419 postuninstall_cmds \
17421 sys_lib_search_path_spec \
17422 sys_lib_dlsearch_path_spec \
17424 old_archive_cmds_CXX \
17425 old_archive_from_new_cmds_CXX \
17426 old_archive_from_expsyms_cmds_CXX \
17428 archive_expsym_cmds_CXX \
17430 module_expsym_cmds_CXX \
17431 export_symbols_cmds_CXX \
17433 postlink_cmds_CXX; do
17434 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17435 *[\\\\\\\`\\"\\\$]*)
17436 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17439 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17444 ac_aux_dir='$ac_aux_dir'
17445 xsi_shell='$xsi_shell'
17446 lt_shell_append='$lt_shell_append'
17448 # See if we are running on zsh, and set the options which allow our
17449 # commands through without removal of \ escapes INIT.
17450 if test -n "\${ZSH_VERSION+set}" ; then
17451 setopt NO_GLOB_SUBST
17457 TIMESTAMP='$TIMESTAMP'
17467 cat >>"$CONFIG_LT" <<\_LTEOF
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
17469 $as_echo "$as_me: creating $ofile" >&6;}
17472 # See if we are running on zsh, and set the options which allow our
17473 # commands through without removal of \ escapes.
17474 if test -n "${ZSH_VERSION+set}" ; then
17475 setopt NO_GLOB_SUBST
17478 cfgfile="${ofile}T"
17479 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17482 cat <<_LT_EOF >> "$cfgfile"
17485 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17486 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17487 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17488 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17490 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17491 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17493 # Written by Gordon Matzigkeit, 1996
17495 # This file is part of GNU Libtool.
17497 # GNU Libtool is free software; you can redistribute it and/or
17498 # modify it under the terms of the GNU General Public License as
17499 # published by the Free Software Foundation; either version 2 of
17500 # the License, or (at your option) any later version.
17502 # As a special exception to the GNU General Public License,
17503 # if you distribute this file as part of a program or library that
17504 # is built using GNU Libtool, you may include this file under the
17505 # same distribution terms that you use for the rest of that program.
17507 # GNU Libtool is distributed in the hope that it will be useful,
17508 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17509 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17510 # GNU General Public License for more details.
17512 # You should have received a copy of the GNU General Public License
17513 # along with GNU Libtool; see the file COPYING. If not, a copy
17514 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17515 # obtained by writing to the Free Software Foundation, Inc.,
17516 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17519 # The names of the tagged configurations supported by this script.
17520 available_tags="CXX "
17522 # ### BEGIN LIBTOOL CONFIG
17524 # Which release of libtool.m4 was used?
17525 macro_version=$macro_version
17526 macro_revision=$macro_revision
17528 # Whether or not to build static libraries.
17529 build_old_libs=$enable_static
17531 # Assembler program.
17534 # DLL creation program.
17535 DLLTOOL=$lt_DLLTOOL
17537 # Object dumper program.
17538 OBJDUMP=$lt_OBJDUMP
17540 # Whether or not to build shared libraries.
17541 build_libtool_libs=$enable_shared
17543 # What type of objects to build.
17546 # Whether or not to optimize for fast installation.
17547 fast_install=$enable_fast_install
17549 # Shell to use when invoking shell scripts.
17552 # An echo program that protects backslashes.
17555 # The PATH separator for the build system.
17556 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17559 host_alias=$host_alias
17563 # The build system.
17564 build_alias=$build_alias
17568 # A sed program that does not truncate output.
17571 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17572 Xsed="\$SED -e 1s/^X//"
17574 # A grep program that handles long lines.
17580 # A literal string matcher.
17583 # A BSD- or MS-compatible name lister.
17586 # Whether we need soft or hard links.
17589 # What is the maximum length of a command?
17590 max_cmd_len=$max_cmd_len
17592 # Object file suffix (normally "o").
17595 # Executable file suffix (normally "").
17598 # whether the shell understands "unset".
17601 # turn spaces into newlines.
17604 # turn newlines into spaces.
17607 # convert \$build file names to \$host format.
17608 to_host_file_cmd=$lt_cv_to_host_file_cmd
17610 # convert \$build files to toolchain format.
17611 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17613 # Method to check whether dependent libraries are shared objects.
17614 deplibs_check_method=$lt_deplibs_check_method
17616 # Command to use when deplibs_check_method = "file_magic".
17617 file_magic_cmd=$lt_file_magic_cmd
17619 # How to find potential files when deplibs_check_method = "file_magic".
17620 file_magic_glob=$lt_file_magic_glob
17622 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17623 want_nocaseglob=$lt_want_nocaseglob
17625 # Command to associate shared and link libraries.
17626 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17631 # Flags to create an archive.
17632 AR_FLAGS=$lt_AR_FLAGS
17634 # How to feed a file listing to the archiver.
17635 archiver_list_spec=$lt_archiver_list_spec
17637 # A symbol stripping program.
17640 # Commands used to install an old-style archive.
17642 old_postinstall_cmds=$lt_old_postinstall_cmds
17643 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17645 # Whether to use a lock for old archive extraction.
17646 lock_old_archive_extraction=$lock_old_archive_extraction
17651 # LTCC compiler flags.
17652 LTCFLAGS=$lt_CFLAGS
17654 # Take the output of nm and produce a listing of raw symbols and C names.
17655 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17657 # Transform the output of nm in a proper C declaration.
17658 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17660 # Transform the output of nm in a C name address pair.
17661 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17663 # Transform the output of nm in a C name address pair when lib prefix is needed.
17664 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17666 # Specify filename containing input files for \$NM.
17667 nm_file_list_spec=$lt_nm_file_list_spec
17669 # The root where to search for dependent libraries,and in which our libraries should be installed.
17670 lt_sysroot=$lt_sysroot
17672 # The name of the directory that contains temporary libtool files.
17675 # Used to examine libraries when file_magic_cmd begins with "file".
17676 MAGIC_CMD=$MAGIC_CMD
17678 # Must we lock files when doing compilation?
17679 need_locks=$lt_need_locks
17682 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17684 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17685 DSYMUTIL=$lt_DSYMUTIL
17687 # Tool to change global to local symbols on Mac OS X.
17690 # Tool to manipulate fat objects and archives on Mac OS X.
17693 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17696 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17697 OTOOL64=$lt_OTOOL64
17699 # Old archive suffix (normally "a").
17702 # Shared library suffix (normally ".so").
17703 shrext_cmds=$lt_shrext_cmds
17705 # The commands to extract the exported symbol list from a shared archive.
17706 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17708 # Variables whose values should be saved in libtool wrapper scripts and
17709 # restored at link time.
17710 variables_saved_for_relink=$lt_variables_saved_for_relink
17712 # Do we need the "lib" prefix for modules?
17713 need_lib_prefix=$need_lib_prefix
17715 # Do we need a version for libraries?
17716 need_version=$need_version
17718 # Library versioning type.
17719 version_type=$version_type
17721 # Shared library runtime path variable.
17722 runpath_var=$runpath_var
17724 # Shared library path variable.
17725 shlibpath_var=$shlibpath_var
17727 # Is shlibpath searched before the hard-coded library search path?
17728 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17730 # Format of library name prefix.
17731 libname_spec=$lt_libname_spec
17733 # List of archive names. First name is the real one, the rest are links.
17734 # The last name is the one that the linker finds with -lNAME
17735 library_names_spec=$lt_library_names_spec
17737 # The coded name of the library, if different from the real name.
17738 soname_spec=$lt_soname_spec
17740 # Permission mode override for installation of shared libraries.
17741 install_override_mode=$lt_install_override_mode
17743 # Command to use after installation of a shared archive.
17744 postinstall_cmds=$lt_postinstall_cmds
17746 # Command to use after uninstallation of a shared archive.
17747 postuninstall_cmds=$lt_postuninstall_cmds
17749 # Commands used to finish a libtool library installation in a directory.
17750 finish_cmds=$lt_finish_cmds
17752 # As "finish_cmds", except a single script fragment to be evaled but
17754 finish_eval=$lt_finish_eval
17756 # Whether we should hardcode library paths into libraries.
17757 hardcode_into_libs=$hardcode_into_libs
17759 # Compile-time system search path for libraries.
17760 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17762 # Run-time system search path for libraries.
17763 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17765 # Whether dlopen is supported.
17766 dlopen_support=$enable_dlopen
17768 # Whether dlopen of programs is supported.
17769 dlopen_self=$enable_dlopen_self
17771 # Whether dlopen of statically linked programs is supported.
17772 dlopen_self_static=$enable_dlopen_self_static
17774 # Commands to strip libraries.
17775 old_striplib=$lt_old_striplib
17776 striplib=$lt_striplib
17779 # The linker used to build libraries.
17782 # How to create reloadable object files.
17783 reload_flag=$lt_reload_flag
17784 reload_cmds=$lt_reload_cmds
17786 # Commands used to build an old-style archive.
17787 old_archive_cmds=$lt_old_archive_cmds
17789 # A language specific compiler.
17792 # Is the compiler the GNU compiler?
17795 # Compiler flag to turn off builtin functions.
17796 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17798 # Additional compiler flags for building library objects.
17799 pic_flag=$lt_lt_prog_compiler_pic
17801 # How to pass a linker flag through the compiler.
17802 wl=$lt_lt_prog_compiler_wl
17804 # Compiler flag to prevent dynamic linking.
17805 link_static_flag=$lt_lt_prog_compiler_static
17807 # Does compiler simultaneously support -c and -o options?
17808 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17810 # Whether or not to add -lc for building shared libraries.
17811 build_libtool_need_lc=$archive_cmds_need_lc
17813 # Whether or not to disallow shared libs when runtime libs are static.
17814 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17816 # Compiler flag to allow reflexive dlopens.
17817 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17819 # Compiler flag to generate shared objects directly from archives.
17820 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17822 # Whether the compiler copes with passing no objects directly.
17823 compiler_needs_object=$lt_compiler_needs_object
17825 # Create an old-style archive from a shared archive.
17826 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17828 # Create a temporary old-style archive to link instead of a shared archive.
17829 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17831 # Commands used to build a shared archive.
17832 archive_cmds=$lt_archive_cmds
17833 archive_expsym_cmds=$lt_archive_expsym_cmds
17835 # Commands used to build a loadable module if different from building
17836 # a shared archive.
17837 module_cmds=$lt_module_cmds
17838 module_expsym_cmds=$lt_module_expsym_cmds
17840 # Whether we are building with GNU ld or not.
17841 with_gnu_ld=$lt_with_gnu_ld
17843 # Flag that allows shared libraries with undefined symbols to be built.
17844 allow_undefined_flag=$lt_allow_undefined_flag
17846 # Flag that enforces no undefined symbols.
17847 no_undefined_flag=$lt_no_undefined_flag
17849 # Flag to hardcode \$libdir into a binary during linking.
17850 # This must work even if \$libdir does not exist
17851 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17853 # Whether we need a single "-rpath" flag with a separated argument.
17854 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17856 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17857 # DIR into the resulting binary.
17858 hardcode_direct=$hardcode_direct
17860 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17861 # DIR into the resulting binary and the resulting library dependency is
17862 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17863 # library is relocated.
17864 hardcode_direct_absolute=$hardcode_direct_absolute
17866 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17867 # into the resulting binary.
17868 hardcode_minus_L=$hardcode_minus_L
17870 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17871 # into the resulting binary.
17872 hardcode_shlibpath_var=$hardcode_shlibpath_var
17874 # Set to "yes" if building a shared library automatically hardcodes DIR
17875 # into the library and all subsequent libraries and executables linked
17877 hardcode_automatic=$hardcode_automatic
17879 # Set to yes if linker adds runtime paths of dependent libraries
17880 # to runtime path list.
17881 inherit_rpath=$inherit_rpath
17883 # Whether libtool must link a program against all its dependency libraries.
17884 link_all_deplibs=$link_all_deplibs
17886 # Set to "yes" if exported symbols are required.
17887 always_export_symbols=$always_export_symbols
17889 # The commands to list exported symbols.
17890 export_symbols_cmds=$lt_export_symbols_cmds
17892 # Symbols that should not be listed in the preloaded symbols.
17893 exclude_expsyms=$lt_exclude_expsyms
17895 # Symbols that must always be exported.
17896 include_expsyms=$lt_include_expsyms
17898 # Commands necessary for linking programs (against libraries) with templates.
17899 prelink_cmds=$lt_prelink_cmds
17901 # Commands necessary for finishing linking programs.
17902 postlink_cmds=$lt_postlink_cmds
17904 # Specify filename containing input files.
17905 file_list_spec=$lt_file_list_spec
17907 # How to hardcode a shared library path into an executable.
17908 hardcode_action=$hardcode_action
17910 # The directories searched by this compiler when creating a shared library.
17911 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17913 # Dependencies to place before and after the objects being linked to
17914 # create a shared library.
17915 predep_objects=$lt_predep_objects
17916 postdep_objects=$lt_postdep_objects
17917 predeps=$lt_predeps
17918 postdeps=$lt_postdeps
17920 # The library search path used internally by the compiler when linking
17921 # a shared library.
17922 compiler_lib_search_path=$lt_compiler_lib_search_path
17924 # ### END LIBTOOL CONFIG
17930 cat <<\_LT_EOF >> "$cfgfile"
17931 # AIX sometimes has problems with the GCC collect2 program. For some
17932 # reason, if we set the COLLECT_NAMES environment variable, the problems
17933 # vanish in a puff of smoke.
17934 if test "X${COLLECT_NAMES+set}" != Xset; then
17936 export COLLECT_NAMES
17943 ltmain="$ac_aux_dir/ltmain.sh"
17946 # We use sed instead of cat because bash on DJGPP gets confused if
17947 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17948 # text mode, it properly converts lines to CR/LF. This bash problem
17949 # is reportedly fixed, but why not run on old versions too?
17950 sed '$q' "$ltmain" >> "$cfgfile" \
17951 || (rm -f "$cfgfile"; exit 1)
17953 if test x"$xsi_shell" = xyes; then
17954 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17958 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17959 \ * ) func_dirname_result="${3}" ;;\
17961 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17962 && mv -f "$cfgfile.tmp" "$cfgfile" \
17963 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17964 test 0 -eq $? || _lt_function_replace_fail=:
17967 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17970 \ func_basename_result="${1##*/}"\
17971 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17972 && mv -f "$cfgfile.tmp" "$cfgfile" \
17973 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17974 test 0 -eq $? || _lt_function_replace_fail=:
17977 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17978 func_dirname_and_basename ()\
17981 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17982 \ * ) func_dirname_result="${3}" ;;\
17984 \ func_basename_result="${1##*/}"\
17985 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17986 && mv -f "$cfgfile.tmp" "$cfgfile" \
17987 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17988 test 0 -eq $? || _lt_function_replace_fail=:
17991 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17994 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17995 \ # positional parameters, so assign one to ordinary parameter first.\
17996 \ func_stripname_result=${3}\
17997 \ func_stripname_result=${func_stripname_result#"${1}"}\
17998 \ func_stripname_result=${func_stripname_result%"${2}"}\
17999 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18000 && mv -f "$cfgfile.tmp" "$cfgfile" \
18001 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18002 test 0 -eq $? || _lt_function_replace_fail=:
18005 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18006 func_split_long_opt ()\
18008 \ func_split_long_opt_name=${1%%=*}\
18009 \ func_split_long_opt_arg=${1#*=}\
18010 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18011 && mv -f "$cfgfile.tmp" "$cfgfile" \
18012 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18013 test 0 -eq $? || _lt_function_replace_fail=:
18016 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18017 func_split_short_opt ()\
18019 \ func_split_short_opt_arg=${1#??}\
18020 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18021 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18022 && mv -f "$cfgfile.tmp" "$cfgfile" \
18023 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18024 test 0 -eq $? || _lt_function_replace_fail=:
18027 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18031 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18032 \ *) func_lo2o_result=${1} ;;\
18034 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18035 && mv -f "$cfgfile.tmp" "$cfgfile" \
18036 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18037 test 0 -eq $? || _lt_function_replace_fail=:
18040 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18043 func_xform_result=${1%.*}.lo\
18044 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18045 && mv -f "$cfgfile.tmp" "$cfgfile" \
18046 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18047 test 0 -eq $? || _lt_function_replace_fail=:
18050 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18053 func_arith_result=$(( $* ))\
18054 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18055 && mv -f "$cfgfile.tmp" "$cfgfile" \
18056 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18057 test 0 -eq $? || _lt_function_replace_fail=:
18060 sed -e '/^func_len ()$/,/^} # func_len /c\
18063 func_len_result=${#1}\
18064 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18065 && mv -f "$cfgfile.tmp" "$cfgfile" \
18066 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18067 test 0 -eq $? || _lt_function_replace_fail=:
18071 if test x"$lt_shell_append" = xyes; then
18072 sed -e '/^func_append ()$/,/^} # func_append /c\
18075 eval "${1}+=\\${2}"\
18076 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18077 && mv -f "$cfgfile.tmp" "$cfgfile" \
18078 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18079 test 0 -eq $? || _lt_function_replace_fail=:
18082 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18083 func_append_quoted ()\
18085 \ func_quote_for_eval "${2}"\
18086 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18087 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18088 && mv -f "$cfgfile.tmp" "$cfgfile" \
18089 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18090 test 0 -eq $? || _lt_function_replace_fail=:
18093 # Save a `func_append' function call where possible by direct use of '+='
18094 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18095 && mv -f "$cfgfile.tmp" "$cfgfile" \
18096 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18097 test 0 -eq $? || _lt_function_replace_fail=:
18099 # Save a `func_append' function call even when '+=' is not available
18100 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18101 && mv -f "$cfgfile.tmp" "$cfgfile" \
18102 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18103 test 0 -eq $? || _lt_function_replace_fail=:
18106 if test x"$_lt_function_replace_fail" = x":"; then
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18108 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18112 mv -f "$cfgfile" "$ofile" ||
18113 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18117 cat <<_LT_EOF >> "$ofile"
18119 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18121 # The linker used to build libraries.
18124 # How to create reloadable object files.
18125 reload_flag=$lt_reload_flag_CXX
18126 reload_cmds=$lt_reload_cmds_CXX
18128 # Commands used to build an old-style archive.
18129 old_archive_cmds=$lt_old_archive_cmds_CXX
18131 # A language specific compiler.
18132 CC=$lt_compiler_CXX
18134 # Is the compiler the GNU compiler?
18137 # Compiler flag to turn off builtin functions.
18138 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18140 # Additional compiler flags for building library objects.
18141 pic_flag=$lt_lt_prog_compiler_pic_CXX
18143 # How to pass a linker flag through the compiler.
18144 wl=$lt_lt_prog_compiler_wl_CXX
18146 # Compiler flag to prevent dynamic linking.
18147 link_static_flag=$lt_lt_prog_compiler_static_CXX
18149 # Does compiler simultaneously support -c and -o options?
18150 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18152 # Whether or not to add -lc for building shared libraries.
18153 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18155 # Whether or not to disallow shared libs when runtime libs are static.
18156 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18158 # Compiler flag to allow reflexive dlopens.
18159 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18161 # Compiler flag to generate shared objects directly from archives.
18162 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18164 # Whether the compiler copes with passing no objects directly.
18165 compiler_needs_object=$lt_compiler_needs_object_CXX
18167 # Create an old-style archive from a shared archive.
18168 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18170 # Create a temporary old-style archive to link instead of a shared archive.
18171 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18173 # Commands used to build a shared archive.
18174 archive_cmds=$lt_archive_cmds_CXX
18175 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18177 # Commands used to build a loadable module if different from building
18178 # a shared archive.
18179 module_cmds=$lt_module_cmds_CXX
18180 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18182 # Whether we are building with GNU ld or not.
18183 with_gnu_ld=$lt_with_gnu_ld_CXX
18185 # Flag that allows shared libraries with undefined symbols to be built.
18186 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18188 # Flag that enforces no undefined symbols.
18189 no_undefined_flag=$lt_no_undefined_flag_CXX
18191 # Flag to hardcode \$libdir into a binary during linking.
18192 # This must work even if \$libdir does not exist
18193 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18195 # Whether we need a single "-rpath" flag with a separated argument.
18196 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18198 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18199 # DIR into the resulting binary.
18200 hardcode_direct=$hardcode_direct_CXX
18202 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18203 # DIR into the resulting binary and the resulting library dependency is
18204 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18205 # library is relocated.
18206 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18208 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18209 # into the resulting binary.
18210 hardcode_minus_L=$hardcode_minus_L_CXX
18212 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18213 # into the resulting binary.
18214 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18216 # Set to "yes" if building a shared library automatically hardcodes DIR
18217 # into the library and all subsequent libraries and executables linked
18219 hardcode_automatic=$hardcode_automatic_CXX
18221 # Set to yes if linker adds runtime paths of dependent libraries
18222 # to runtime path list.
18223 inherit_rpath=$inherit_rpath_CXX
18225 # Whether libtool must link a program against all its dependency libraries.
18226 link_all_deplibs=$link_all_deplibs_CXX
18228 # Set to "yes" if exported symbols are required.
18229 always_export_symbols=$always_export_symbols_CXX
18231 # The commands to list exported symbols.
18232 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18234 # Symbols that should not be listed in the preloaded symbols.
18235 exclude_expsyms=$lt_exclude_expsyms_CXX
18237 # Symbols that must always be exported.
18238 include_expsyms=$lt_include_expsyms_CXX
18240 # Commands necessary for linking programs (against libraries) with templates.
18241 prelink_cmds=$lt_prelink_cmds_CXX
18243 # Commands necessary for finishing linking programs.
18244 postlink_cmds=$lt_postlink_cmds_CXX
18246 # Specify filename containing input files.
18247 file_list_spec=$lt_file_list_spec_CXX
18249 # How to hardcode a shared library path into an executable.
18250 hardcode_action=$hardcode_action_CXX
18252 # The directories searched by this compiler when creating a shared library.
18253 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18255 # Dependencies to place before and after the objects being linked to
18256 # create a shared library.
18257 predep_objects=$lt_predep_objects_CXX
18258 postdep_objects=$lt_postdep_objects_CXX
18259 predeps=$lt_predeps_CXX
18260 postdeps=$lt_postdeps_CXX
18262 # The library search path used internally by the compiler when linking
18263 # a shared library.
18264 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18266 # ### END LIBTOOL TAG CONFIG: CXX
18272 chmod +x "$CONFIG_LT"
18274 # configure is writing to config.log, but config.lt does its own redirection,
18275 # appending to config.log, which fails on DOS, as config.log is still kept
18276 # open by configure. Here we exec the FD to /dev/null, effectively closing
18277 # config.log, so it can be properly (re)opened and appended to by config.lt.
18279 test "$silent" = yes &&
18280 lt_config_lt_args="$lt_config_lt_args --quiet"
18282 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
18284 $lt_cl_success || as_fn_exit 1
18287 # Make sure we use 64-bit versions of various file stuff.
18288 # Check whether --enable-largefile was given.
18289 if test "${enable_largefile+set}" = set; then :
18290 enableval=$enable_largefile;
18293 if test "$enable_largefile" != no; then
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
18296 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
18297 if ${ac_cv_sys_largefile_CC+:} false; then :
18298 $as_echo_n "(cached) " >&6
18300 ac_cv_sys_largefile_CC=no
18301 if test "$GCC" != yes; then
18304 # IRIX 6.2 and later do not support large files by default,
18305 # so use the C compiler's -n32 option if that helps.
18306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18307 /* end confdefs.h. */
18308 #include <sys/types.h>
18309 /* Check that off_t can represent 2**63 - 1 correctly.
18310 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18311 since some C++ compilers masquerading as C compilers
18312 incorrectly reject 9223372036854775807. */
18313 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18314 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18315 && LARGE_OFF_T % 2147483647 == 1)
18325 if ac_fn_c_try_compile "$LINENO"; then :
18328 rm -f core conftest.err conftest.$ac_objext
18330 if ac_fn_c_try_compile "$LINENO"; then :
18331 ac_cv_sys_largefile_CC=' -n32'; break
18333 rm -f core conftest.err conftest.$ac_objext
18337 rm -f conftest.$ac_ext
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
18341 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
18342 if test "$ac_cv_sys_largefile_CC" != no; then
18343 CC=$CC$ac_cv_sys_largefile_CC
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18347 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
18348 if ${ac_cv_sys_file_offset_bits+:} false; then :
18349 $as_echo_n "(cached) " >&6
18352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18353 /* end confdefs.h. */
18354 #include <sys/types.h>
18355 /* Check that off_t can represent 2**63 - 1 correctly.
18356 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18357 since some C++ compilers masquerading as C compilers
18358 incorrectly reject 9223372036854775807. */
18359 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18360 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18361 && LARGE_OFF_T % 2147483647 == 1)
18371 if ac_fn_c_try_compile "$LINENO"; then :
18372 ac_cv_sys_file_offset_bits=no; break
18374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18377 #define _FILE_OFFSET_BITS 64
18378 #include <sys/types.h>
18379 /* Check that off_t can represent 2**63 - 1 correctly.
18380 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18381 since some C++ compilers masquerading as C compilers
18382 incorrectly reject 9223372036854775807. */
18383 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18384 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18385 && LARGE_OFF_T % 2147483647 == 1)
18395 if ac_fn_c_try_compile "$LINENO"; then :
18396 ac_cv_sys_file_offset_bits=64; break
18398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399 ac_cv_sys_file_offset_bits=unknown
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
18404 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
18405 case $ac_cv_sys_file_offset_bits in #(
18408 cat >>confdefs.h <<_ACEOF
18409 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18414 if test $ac_cv_sys_file_offset_bits = unknown; then
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
18416 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
18417 if ${ac_cv_sys_large_files+:} false; then :
18418 $as_echo_n "(cached) " >&6
18421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18422 /* end confdefs.h. */
18423 #include <sys/types.h>
18424 /* Check that off_t can represent 2**63 - 1 correctly.
18425 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18426 since some C++ compilers masquerading as C compilers
18427 incorrectly reject 9223372036854775807. */
18428 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18429 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18430 && LARGE_OFF_T % 2147483647 == 1)
18440 if ac_fn_c_try_compile "$LINENO"; then :
18441 ac_cv_sys_large_files=no; break
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18445 /* end confdefs.h. */
18446 #define _LARGE_FILES 1
18447 #include <sys/types.h>
18448 /* Check that off_t can represent 2**63 - 1 correctly.
18449 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18450 since some C++ compilers masquerading as C compilers
18451 incorrectly reject 9223372036854775807. */
18452 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18453 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18454 && LARGE_OFF_T % 2147483647 == 1)
18464 if ac_fn_c_try_compile "$LINENO"; then :
18465 ac_cv_sys_large_files=1; break
18467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18468 ac_cv_sys_large_files=unknown
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
18473 $as_echo "$ac_cv_sys_large_files" >&6; }
18474 case $ac_cv_sys_large_files in #(
18477 cat >>confdefs.h <<_ACEOF
18478 #define _LARGE_FILES $ac_cv_sys_large_files
18487 # By default we simply use the C compiler to build assembly code.
18489 test "${CCAS+set}" = set || CCAS=$CC
18490 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
18494 depcc="$CCAS" am_compiler_list=
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18497 $as_echo_n "checking dependency style of $depcc... " >&6; }
18498 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
18499 $as_echo_n "(cached) " >&6
18501 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18502 # We make a subdir and do the tests there. Otherwise we can end up
18503 # making bogus files that we don't know about and never remove. For
18504 # instance it was reported that on HP-UX the gcc test will end up
18505 # making a dummy file named `D' -- because `-MD' means `put the output
18507 rm -rf conftest.dir
18509 # Copy depcomp to subdir because otherwise we won't find it if we're
18510 # using a relative directory.
18511 cp "$am_depcomp" conftest.dir
18513 # We will build objects and dependencies in a subdirectory because
18514 # it helps to detect inapplicable dependency modes. For instance
18515 # both Tru64's cc and ICC support -MD to output dependencies as a
18516 # side effect of compilation, but ICC will put the dependencies in
18517 # the current directory while Tru64 will put them in the object
18521 am_cv_CCAS_dependencies_compiler_type=none
18522 if test "$am_compiler_list" = ""; then
18523 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
18525 am__universal=false
18528 for depmode in $am_compiler_list; do
18529 # Setup a source with many dependencies, because some compilers
18530 # like to wrap large dependency lists on column 80 (with \), and
18531 # we should not choose a depcomp mode which is confused by this.
18533 # We need to recreate these files for each test, as the compiler may
18534 # overwrite some of them when testing with obscure command lines.
18535 # This happens at least with the AIX C compiler.
18537 for i in 1 2 3 4 5 6; do
18538 echo '#include "conftst'$i'.h"' >> sub/conftest.c
18539 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
18540 # Solaris 8's {/usr,}/bin/sh.
18541 touch sub/conftst$i.h
18543 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18545 # We check with `-c' and `-o' for the sake of the "dashmstdout"
18546 # mode. It turns out that the SunPro C++ compiler does not properly
18547 # handle `-M -o', and we need to detect this. Also, some Intel
18548 # versions had trouble with output in subdirs
18549 am__obj=sub/conftest.${OBJEXT-o}
18550 am__minus_obj="-o $am__obj"
18553 # This depmode causes a compiler race in universal mode.
18554 test "$am__universal" = false || continue
18557 # after this tag, mechanisms are not by side-effect, so they'll
18558 # only be used when explicitly requested
18559 if test "x$enable_dependency_tracking" = xyes; then
18565 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
18566 # This compiler won't grok `-c -o', but also, the minuso test has
18567 # not run yet. These depmodes are late enough in the game, and
18568 # so weak that their functioning should not be impacted.
18569 am__obj=conftest.${OBJEXT-o}
18574 if depmode=$depmode \
18575 source=sub/conftest.c object=$am__obj \
18576 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18577 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18578 >/dev/null 2>conftest.err &&
18579 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18580 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18581 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18582 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18583 # icc doesn't choke on unknown options, it will just issue warnings
18584 # or remarks (even with -Werror). So we grep stderr for any message
18585 # that says an option was ignored or not supported.
18586 # When given -MP, icc 7.0 and 7.1 complain thusly:
18587 # icc: Command line warning: ignoring option '-M'; no argument required
18588 # The diagnosis changed in icc 8.0:
18589 # icc: Command line remark: option '-MP' not supported
18590 if (grep 'ignoring option' conftest.err ||
18591 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
18592 am_cv_CCAS_dependencies_compiler_type=$depmode
18599 rm -rf conftest.dir
18601 am_cv_CCAS_dependencies_compiler_type=none
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
18606 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
18607 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
18610 test "x$enable_dependency_tracking" != xno \
18611 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
18612 am__fastdepCCAS_TRUE=
18613 am__fastdepCCAS_FALSE='#'
18615 am__fastdepCCAS_TRUE='#'
18616 am__fastdepCCAS_FALSE=
18620 # Extract the first word of "nm", so it can be a program name with args.
18621 set dummy nm; ac_word=$2
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18623 $as_echo_n "checking for $ac_word... " >&6; }
18624 if ${ac_cv_path_NM+:} false; then :
18625 $as_echo_n "(cached) " >&6
18629 ac_cv_path_NM="$NM" # Let the user override the test with a path.
18632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18633 for as_dir in $PATH
18636 test -z "$as_dir" && as_dir=.
18637 for ac_exec_ext in '' $ac_executable_extensions; do
18638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18639 ac_cv_path_NM="$as_dir/$ac_word$ac_exec_ext"
18640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18647 test -z "$ac_cv_path_NM" && ac_cv_path_NM="nm"
18652 if test -n "$NM"; then
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
18654 $as_echo "$NM" >&6; }
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18657 $as_echo "no" >&6; }
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
18663 $as_echo_n "checking for some Win32 platform... " >&6; }
18665 *-*-mingw*|*-*-cygwin*)
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
18673 $as_echo "$platform_win32" >&6; }
18674 if test "$platform_win32" = "yes"; then
18675 PLATFORM_WIN32_TRUE=
18676 PLATFORM_WIN32_FALSE='#'
18678 PLATFORM_WIN32_TRUE='#'
18679 PLATFORM_WIN32_FALSE=
18683 if test "$os_win32" = "yes"; then
18691 if test "$os_win32" != "yes"; then
18699 if test "$os_linux" = "yes"; then
18708 if test "$os_win32" = "yes"; then
18709 if test -n "$ac_tool_prefix"; then
18710 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
18711 set dummy ${ac_tool_prefix}windres; ac_word=$2
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18713 $as_echo_n "checking for $ac_word... " >&6; }
18714 if ${ac_cv_prog_WINDRES+:} false; then :
18715 $as_echo_n "(cached) " >&6
18717 if test -n "$WINDRES"; then
18718 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
18720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18721 for as_dir in $PATH
18724 test -z "$as_dir" && as_dir=.
18725 for ac_exec_ext in '' $ac_executable_extensions; do
18726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18727 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
18728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18737 WINDRES=$ac_cv_prog_WINDRES
18738 if test -n "$WINDRES"; then
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
18740 $as_echo "$WINDRES" >&6; }
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18743 $as_echo "no" >&6; }
18748 if test -z "$ac_cv_prog_WINDRES"; then
18749 ac_ct_WINDRES=$WINDRES
18750 # Extract the first word of "windres", so it can be a program name with args.
18751 set dummy windres; ac_word=$2
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18753 $as_echo_n "checking for $ac_word... " >&6; }
18754 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
18755 $as_echo_n "(cached) " >&6
18757 if test -n "$ac_ct_WINDRES"; then
18758 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
18760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18761 for as_dir in $PATH
18764 test -z "$as_dir" && as_dir=.
18765 for ac_exec_ext in '' $ac_executable_extensions; do
18766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18767 ac_cv_prog_ac_ct_WINDRES="windres"
18768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18777 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
18778 if test -n "$ac_ct_WINDRES"; then
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
18780 $as_echo "$ac_ct_WINDRES" >&6; }
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18783 $as_echo "no" >&6; }
18786 if test "x$ac_ct_WINDRES" = x; then
18789 case $cross_compiling:$ac_tool_warned in
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18793 ac_tool_warned=yes ;;
18795 WINDRES=$ac_ct_WINDRES
18798 WINDRES="$ac_cv_prog_WINDRES"
18801 if test "$WINDRES" = no; then
18802 as_fn_error $? "*** Could not find an implementation of windres in your PATH." "$LINENO" 5
18804 # Extract the first word of "lib.exe", so it can be a program name with args.
18805 set dummy lib.exe; ac_word=$2
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18807 $as_echo_n "checking for $ac_word... " >&6; }
18808 if ${ac_cv_prog_ms_librarian+:} false; then :
18809 $as_echo_n "(cached) " >&6
18811 if test -n "$ms_librarian"; then
18812 ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
18814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18815 for as_dir in $PATH
18818 test -z "$as_dir" && as_dir=.
18819 for ac_exec_ext in '' $ac_executable_extensions; do
18820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18821 ac_cv_prog_ms_librarian="yes"
18822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18829 test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
18832 ms_librarian=$ac_cv_prog_ms_librarian
18833 if test -n "$ms_librarian"; then
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
18835 $as_echo "$ms_librarian" >&6; }
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18838 $as_echo "no" >&6; }
18843 if test x$ms_librarian = xyes; then
18844 MS_LIB_AVAILABLE_TRUE=
18845 MS_LIB_AVAILABLE_FALSE='#'
18847 MS_LIB_AVAILABLE_TRUE='#'
18848 MS_LIB_AVAILABLE_FALSE=
18854 # Check whether --enable-debug was given.
18855 if test "${enable_debug+set}" = set; then :
18856 enableval=$enable_debug;
18858 enable_debug=minimum
18862 # Check whether --enable-rebuilds was given.
18863 if test "${enable_rebuilds+set}" = set; then :
18864 enableval=$enable_rebuilds;
18866 enable_rebuilds=yes
18870 # Check whether --enable-gtk2-dependency was given.
18871 if test "${enable_gtk2_dependency+set}" = set; then :
18872 enableval=$enable_gtk2_dependency;
18874 enable_gtk2_dependency=no
18878 if test "x$enable_gtk2_dependency" = xno; then
18879 BUILD_ICON_CACHE_TRUE=
18880 BUILD_ICON_CACHE_FALSE='#'
18882 BUILD_ICON_CACHE_TRUE='#'
18883 BUILD_ICON_CACHE_FALSE=
18887 # Check whether --enable-xkb was given.
18888 if test "${enable_xkb+set}" = set; then :
18889 enableval=$enable_xkb;
18894 # Check whether --enable-xinerama was given.
18895 if test "${enable_xinerama+set}" = set; then :
18896 enableval=$enable_xinerama;
18898 enable_xinerama="maybe"
18901 # Check whether --enable-xrandr was given.
18902 if test "${enable_xrandr+set}" = set; then :
18903 enableval=$enable_xrandr;
18905 enable_xrandr="maybe"
18908 # Check whether --enable-xfixes was given.
18909 if test "${enable_xfixes+set}" = set; then :
18910 enableval=$enable_xfixes;
18912 enable_xfixes="maybe"
18915 # Check whether --enable-xcomposite was given.
18916 if test "${enable_xcomposite+set}" = set; then :
18917 enableval=$enable_xcomposite;
18919 enable_xcomposite="maybe"
18922 # Check whether --enable-xdamage was given.
18923 if test "${enable_xdamage+set}" = set; then :
18924 enableval=$enable_xdamage;
18926 enable_xdamage="maybe"
18930 # Check whether --enable-x11-backend was given.
18931 if test "${enable_x11_backend+set}" = set; then :
18932 enableval=$enable_x11_backend; backend_set=yes
18935 # Check whether --enable-win32-backend was given.
18936 if test "${enable_win32_backend+set}" = set; then :
18937 enableval=$enable_win32_backend; backend_set=yes
18940 # Check whether --enable-quartz-backend was given.
18941 if test "${enable_quartz_backend+set}" = set; then :
18942 enableval=$enable_quartz_backend; backend_set=yes
18945 # Check whether --enable-broadway-backend was given.
18946 if test "${enable_broadway_backend+set}" = set; then :
18947 enableval=$enable_broadway_backend; backend_set=yes
18950 # Check whether --enable-wayland-backend was given.
18951 if test "${enable_wayland_backend+set}" = set; then :
18952 enableval=$enable_wayland_backend; backend_set=yes
18956 if test -z "$backend_set"; then
18957 if test "$platform_win32" = yes; then
18958 enable_win32_backend=yes
18960 enable_x11_backend=yes
18964 # Check whether --enable-quartz-relocation was given.
18965 if test "${enable_quartz_relocation+set}" = set; then :
18966 enableval=$enable_quartz_relocation; quartz_relocation=yes
18976 GIO_PACKAGE=gio-2.0
18977 PANGO_PACKAGES="pango pangocairo"
18979 if test "$enable_x11_backend" = "yes"; then
18980 # GDK calls the xlib backend "x11," cairo calls it "xlib." Other
18981 # backend names are identical.
18982 cairo_backends="$cairo_backends cairo-xlib"
18983 GDK_BACKENDS="$GDK_BACKENDS x11"
18984 # Pull in gio-unix for GDesktopAppInfo usage, see at least
18985 # gdkapplaunchcontext-x11.c
18986 GIO_PACKAGE=gio-unix-2.0
18987 backend_immodules="$backend_immodules,xim"
18988 GDK_WINDOWING="$GDK_WINDOWING
18989 #define GDK_WINDOWING_X11"
18992 if test "$enable_win32_backend" = "yes"; then
18993 cairo_backends="$cairo_backends cairo-win32"
18994 GDK_BACKENDS="$GDK_BACKENDS win32"
18995 backend_immodules="$backend_immodules,ime"
18996 GDK_WINDOWING="$GDK_WINDOWING
18997 #define GDK_WINDOWING_WIN32"
18998 GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -lgdi32 -limm32 -lshell32 -lole32 -Wl,-luuid"
19001 USE_WIN32_FALSE='#'
19007 PANGO_PACKAGES="pangowin32 pangocairo"
19011 USE_WIN32_FALSE='#'
19019 if test "x$enable_quartz_backend" = xyes; then
19020 cairo_backends="$cairo_backends cairo-quartz"
19021 GDK_BACKENDS="$GDK_BACKENDS quartz"
19022 GDK_WINDOWING="$GDK_WINDOWING
19023 #define GDK_WINDOWING_QUARTZ"
19024 GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -framework Cocoa"
19027 USE_QUARTZ_FALSE='#'
19029 USE_QUARTZ_TRUE='#'
19033 if test "x$quartz_relocation" = xyes; then
19035 $as_echo "#define QUARTZ_RELOCATION 1" >>confdefs.h
19042 USE_QUARTZ_FALSE='#'
19044 USE_QUARTZ_TRUE='#'
19051 if test "x$enable_broadway_backend" == xyes; then
19052 GDK_BACKENDS="$GDK_BACKENDS broadway"
19053 cairo_backends="$cairo_backends cairo"
19054 GDK_WINDOWING="$GDK_WINDOWING
19055 #define GDK_WINDOWING_BROADWAY"
19056 GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -lz"
19059 USE_BROADWAY_FALSE='#'
19061 USE_BROADWAY_TRUE='#'
19062 USE_BROADWAY_FALSE=
19068 USE_BROADWAY_FALSE='#'
19070 USE_BROADWAY_TRUE='#'
19071 USE_BROADWAY_FALSE=
19076 if test "x$enable_wayland_backend" == "xyes"; then
19077 # Wayland uses cairo-gl
19078 cairo_backends="$cairo_backends cairo-gl"
19079 GDK_BACKENDS="$GDK_BACKENDS wayland"
19080 GIO_PACKAGE=gio-unix-2.0
19081 GDK_WINDOWING="$GDK_WINDOWING
19082 #define GDK_WINDOWING_WAYLAND"
19083 WAYLAND_PACKAGES="wayland-client xkbcommon wayland-egl egl"
19086 USE_WAYLAND_FALSE='#'
19088 USE_WAYLAND_TRUE='#'
19095 USE_WAYLAND_FALSE='#'
19097 USE_WAYLAND_TRUE='#'
19103 # strip leading space
19104 GDK_BACKENDS=${GDK_BACKENDS#* }
19108 if test -z "$GDK_BACKENDS"; then
19109 as_fn_error $? "No GDK backends selected." "$LINENO" 5
19112 if test "x$enable_debug" = "xyes"; then
19113 test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
19114 GTK_DEBUG_FLAGS="-DG_ENABLE_DEBUG"
19116 if test "x$enable_debug" = "xno"; then
19117 GTK_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
19119 GTK_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
19125 cat >>confdefs.h <<_ACEOF
19126 #define GTK_COMPILED_WITH_DEBUGGING "${enable_debug}"
19131 # Build time sanity check...
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
19133 $as_echo_n "checking whether build environment is sane... " >&6; }
19136 echo timestamp > conftest.file
19137 # Reject unsafe characters in $srcdir or the absolute working directory
19138 # name. Accept space and tab only in the latter.
19142 *[\\\"\#\$\&\'\`$am_lf]*)
19143 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
19146 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
19147 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
19150 # Do `set' in a subshell so we don't clobber the current shell's
19151 # arguments. Must try -L first in case configure is actually a
19152 # symlink; some systems play weird games with the mod time of symlinks
19153 # (eg FreeBSD returns the mod time of the symlink's containing
19156 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
19157 if test "$*" = "X"; then
19159 set X `ls -t "$srcdir/configure" conftest.file`
19161 rm -f conftest.file
19162 if test "$*" != "X $srcdir/configure conftest.file" \
19163 && test "$*" != "X conftest.file $srcdir/configure"; then
19165 # If neither matched, then we have a broken ls. This can happen
19166 # if, for instance, CONFIG_SHELL is bash and it inherits a
19167 # broken ls alias from the environment. This has actually
19168 # happened. Such a system could not be considered "sane".
19169 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
19170 alias in your environment" "$LINENO" 5
19173 test "$2" = conftest.file
19179 as_fn_error $? "newly created file is older than distributed files!
19180 Check your system clock" "$LINENO" 5
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19183 $as_echo "yes" >&6; }
19185 if test "x$GCC" = "xyes"; then
19186 case " $CFLAGS " in
19187 *[\ \ ]-Wall[\ \ ]*) ;;
19188 *) CFLAGS="$CFLAGS -Wall" ;;
19191 if test "x$enable_ansi" = "xyes"; then
19192 case " $CFLAGS " in
19193 *[\ \ ]-ansi[\ \ ]*) ;;
19194 *) CFLAGS="$CFLAGS -ansi" ;;
19197 case " $CFLAGS " in
19198 *[\ \ ]-pedantic[\ \ ]*) ;;
19199 *) CFLAGS="$CFLAGS -pedantic" ;;
19204 # Ensure MSVC-compatible struct packing convention is used when
19205 # compiling for Win32 with gcc.
19206 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
19207 # gcc2 uses "-fnative-struct".
19208 if test x"$os_win32" = xyes; then
19209 if test x"$GCC" = xyes; then
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get MSVC-compatible struct packing" >&5
19212 $as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; }
19213 if test -z "$ac_cv_prog_CC"; then
19216 our_gcc="$ac_cv_prog_CC"
19218 case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
19220 if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
19221 msnative_struct='-fnative-struct'
19225 if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
19226 msnative_struct='-mms-bitfields'
19230 if test x"$msnative_struct" = x ; then
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no way" >&5
19232 $as_echo "no way" >&6; }
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
19234 $as_echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
19236 CFLAGS="$CFLAGS $msnative_struct"
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${msnative_struct}" >&5
19238 $as_echo "${msnative_struct}" >&6; }
19243 ## Initial sanity check, done here so that users get told they
19244 ## have the wrong dependencies as early in the process as possible.
19245 ## Later on we actually use the cflags/libs from separate pkg-config
19246 ## calls. Oh, also the later pkg-config calls don't include
19247 ## the version requirements since those make the module lists
19248 ## annoying to construct
19255 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19256 if test -n "$ac_tool_prefix"; then
19257 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19258 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19260 $as_echo_n "checking for $ac_word... " >&6; }
19261 if ${ac_cv_path_PKG_CONFIG+:} false; then :
19262 $as_echo_n "(cached) " >&6
19264 case $PKG_CONFIG in
19266 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19270 for as_dir in $PATH
19273 test -z "$as_dir" && as_dir=.
19274 for ac_exec_ext in '' $ac_executable_extensions; do
19275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19276 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19287 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19288 if test -n "$PKG_CONFIG"; then
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19290 $as_echo "$PKG_CONFIG" >&6; }
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19293 $as_echo "no" >&6; }
19298 if test -z "$ac_cv_path_PKG_CONFIG"; then
19299 ac_pt_PKG_CONFIG=$PKG_CONFIG
19300 # Extract the first word of "pkg-config", so it can be a program name with args.
19301 set dummy pkg-config; ac_word=$2
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19303 $as_echo_n "checking for $ac_word... " >&6; }
19304 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
19305 $as_echo_n "(cached) " >&6
19307 case $ac_pt_PKG_CONFIG in
19309 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19313 for as_dir in $PATH
19316 test -z "$as_dir" && as_dir=.
19317 for ac_exec_ext in '' $ac_executable_extensions; do
19318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19319 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19330 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19331 if test -n "$ac_pt_PKG_CONFIG"; then
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19333 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19336 $as_echo "no" >&6; }
19339 if test "x$ac_pt_PKG_CONFIG" = x; then
19342 case $cross_compiling:$ac_tool_warned in
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19346 ac_tool_warned=yes ;;
19348 PKG_CONFIG=$ac_pt_PKG_CONFIG
19351 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19355 if test -n "$PKG_CONFIG"; then
19356 _pkg_min_version=0.9.0
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19358 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19359 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19361 $as_echo "yes" >&6; }
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19364 $as_echo "no" >&6; }
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BASE_DEPENDENCIES" >&5
19371 $as_echo_n "checking for BASE_DEPENDENCIES... " >&6; }
19373 if test -n "$BASE_DEPENDENCIES_CFLAGS"; then
19374 pkg_cv_BASE_DEPENDENCIES_CFLAGS="$BASE_DEPENDENCIES_CFLAGS"
19375 elif test -n "$PKG_CONFIG"; then
19376 if test -n "$PKG_CONFIG" && \
19377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31.20 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.25.2\""; } >&5
19378 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.20 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.25.2") 2>&5
19380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19381 test $ac_status = 0; }; then
19382 pkg_cv_BASE_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.31.20 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.25.2" 2>/dev/null`
19389 if test -n "$BASE_DEPENDENCIES_LIBS"; then
19390 pkg_cv_BASE_DEPENDENCIES_LIBS="$BASE_DEPENDENCIES_LIBS"
19391 elif test -n "$PKG_CONFIG"; then
19392 if test -n "$PKG_CONFIG" && \
19393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31.20 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.25.2\""; } >&5
19394 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31.20 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.25.2") 2>&5
19396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19397 test $ac_status = 0; }; then
19398 pkg_cv_BASE_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.31.20 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.25.2" 2>/dev/null`
19408 if test $pkg_failed = yes; then
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19410 $as_echo "no" >&6; }
19412 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19413 _pkg_short_errors_supported=yes
19415 _pkg_short_errors_supported=no
19417 if test $_pkg_short_errors_supported = yes; then
19418 BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.31.20 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.25.2" 2>&1`
19420 BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.31.20 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.25.2" 2>&1`
19422 # Put the nasty error message in config.log where it belongs
19423 echo "$BASE_DEPENDENCIES_PKG_ERRORS" >&5
19425 as_fn_error $? "Package requirements (glib-2.0 >= 2.31.20 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.25.2) were not met:
19427 $BASE_DEPENDENCIES_PKG_ERRORS
19429 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19430 installed software in a non-standard prefix.
19432 Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
19433 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
19434 See the pkg-config man page for more details." "$LINENO" 5
19436 elif test $pkg_failed = untried; then
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19438 $as_echo "no" >&6; }
19439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19441 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19442 is in your PATH or set the PKG_CONFIG environment variable to the full
19443 path to pkg-config.
19445 Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
19446 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
19447 See the pkg-config man page for more details.
19449 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19450 See \`config.log' for more details" "$LINENO" 5; }
19453 BASE_DEPENDENCIES_CFLAGS=$pkg_cv_BASE_DEPENDENCIES_CFLAGS
19454 BASE_DEPENDENCIES_LIBS=$pkg_cv_BASE_DEPENDENCIES_LIBS
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19456 $as_echo "yes" >&6; }
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_BACKEND" >&5
19463 $as_echo_n "checking for CAIRO_BACKEND... " >&6; }
19465 if test -n "$CAIRO_BACKEND_CFLAGS"; then
19466 pkg_cv_CAIRO_BACKEND_CFLAGS="$CAIRO_BACKEND_CFLAGS"
19467 elif test -n "$PKG_CONFIG"; then
19468 if test -n "$PKG_CONFIG" && \
19469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cairo_backends\""; } >&5
19470 ($PKG_CONFIG --exists --print-errors "$cairo_backends") 2>&5
19472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19473 test $ac_status = 0; }; then
19474 pkg_cv_CAIRO_BACKEND_CFLAGS=`$PKG_CONFIG --cflags "$cairo_backends" 2>/dev/null`
19481 if test -n "$CAIRO_BACKEND_LIBS"; then
19482 pkg_cv_CAIRO_BACKEND_LIBS="$CAIRO_BACKEND_LIBS"
19483 elif test -n "$PKG_CONFIG"; then
19484 if test -n "$PKG_CONFIG" && \
19485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cairo_backends\""; } >&5
19486 ($PKG_CONFIG --exists --print-errors "$cairo_backends") 2>&5
19488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19489 test $ac_status = 0; }; then
19490 pkg_cv_CAIRO_BACKEND_LIBS=`$PKG_CONFIG --libs "$cairo_backends" 2>/dev/null`
19500 if test $pkg_failed = yes; then
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19502 $as_echo "no" >&6; }
19504 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19505 _pkg_short_errors_supported=yes
19507 _pkg_short_errors_supported=no
19509 if test $_pkg_short_errors_supported = yes; then
19510 CAIRO_BACKEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$cairo_backends" 2>&1`
19512 CAIRO_BACKEND_PKG_ERRORS=`$PKG_CONFIG --print-errors "$cairo_backends" 2>&1`
19514 # Put the nasty error message in config.log where it belongs
19515 echo "$CAIRO_BACKEND_PKG_ERRORS" >&5
19517 as_fn_error $? "Package requirements ($cairo_backends) were not met:
19519 $CAIRO_BACKEND_PKG_ERRORS
19521 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19522 installed software in a non-standard prefix.
19524 Alternatively, you may set the environment variables CAIRO_BACKEND_CFLAGS
19525 and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config.
19526 See the pkg-config man page for more details." "$LINENO" 5
19528 elif test $pkg_failed = untried; then
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19530 $as_echo "no" >&6; }
19531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19533 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19534 is in your PATH or set the PKG_CONFIG environment variable to the full
19535 path to pkg-config.
19537 Alternatively, you may set the environment variables CAIRO_BACKEND_CFLAGS
19538 and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config.
19539 See the pkg-config man page for more details.
19541 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19542 See \`config.log' for more details" "$LINENO" 5; }
19545 CAIRO_BACKEND_CFLAGS=$pkg_cv_CAIRO_BACKEND_CFLAGS
19546 CAIRO_BACKEND_LIBS=$pkg_cv_CAIRO_BACKEND_LIBS
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19548 $as_echo "yes" >&6; }
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
19555 $as_echo_n "checking for GMODULE... " >&6; }
19557 if test -n "$GMODULE_CFLAGS"; then
19558 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
19559 elif test -n "$PKG_CONFIG"; then
19560 if test -n "$PKG_CONFIG" && \
19561 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
19562 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
19564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19565 test $ac_status = 0; }; then
19566 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
19573 if test -n "$GMODULE_LIBS"; then
19574 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
19575 elif test -n "$PKG_CONFIG"; then
19576 if test -n "$PKG_CONFIG" && \
19577 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
19578 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
19580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19581 test $ac_status = 0; }; then
19582 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
19592 if test $pkg_failed = yes; then
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19594 $as_echo "no" >&6; }
19596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19597 _pkg_short_errors_supported=yes
19599 _pkg_short_errors_supported=no
19601 if test $_pkg_short_errors_supported = yes; then
19602 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0" 2>&1`
19604 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0" 2>&1`
19606 # Put the nasty error message in config.log where it belongs
19607 echo "$GMODULE_PKG_ERRORS" >&5
19609 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
19611 $GMODULE_PKG_ERRORS
19613 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19614 installed software in a non-standard prefix.
19616 Alternatively, you may set the environment variables GMODULE_CFLAGS
19617 and GMODULE_LIBS to avoid the need to call pkg-config.
19618 See the pkg-config man page for more details." "$LINENO" 5
19620 elif test $pkg_failed = untried; then
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19622 $as_echo "no" >&6; }
19623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19625 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19626 is in your PATH or set the PKG_CONFIG environment variable to the full
19627 path to pkg-config.
19629 Alternatively, you may set the environment variables GMODULE_CFLAGS
19630 and GMODULE_LIBS to avoid the need to call pkg-config.
19631 See the pkg-config man page for more details.
19633 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19634 See \`config.log' for more details" "$LINENO" 5; }
19637 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
19638 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19640 $as_echo "yes" >&6; }
19644 if test "$os_win32" != yes; then
19645 # libtool option to control which symbols are exported
19646 # right now, symbols starting with _ are not exported
19647 LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[^_].*"'
19649 # We currently use .def files on Windows (for gdk and gtk)
19650 LIBTOOL_EXPORT_OPTIONS=
19655 # Check whether --enable-explicit-deps was given.
19656 if test "${enable_explicit_deps+set}" = set; then :
19657 enableval=$enable_explicit_deps;
19659 enable_explicit_deps=auto
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to write dependencies into .pc files" >&5
19664 $as_echo_n "checking Whether to write dependencies into .pc files... " >&6; }
19665 case $enable_explicit_deps in
19668 deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
19669 if test "x$deplibs_check_method" != xpass_all || test "x$enable_static" = xyes ; then
19670 enable_explicit_deps=yes
19672 enable_explicit_deps=no
19677 *) as_fn_error $? "Value given to --enable-explicit-deps must be one of yes, no or auto" "$LINENO" 5
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_explicit_deps" >&5
19681 $as_echo "$enable_explicit_deps" >&6; }
19683 if test $enable_explicit_deps = no; then
19684 DISABLE_EXPLICIT_DEPS_TRUE=
19685 DISABLE_EXPLICIT_DEPS_FALSE='#'
19687 DISABLE_EXPLICIT_DEPS_TRUE='#'
19688 DISABLE_EXPLICIT_DEPS_FALSE=
19692 # define a MAINT-like variable REBUILD which is set if Perl
19693 # and awk are found, so autogenerated sources can be rebuilt
19695 for ac_prog in perl5 perl
19697 # Extract the first word of "$ac_prog", so it can be a program name with args.
19698 set dummy $ac_prog; ac_word=$2
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19700 $as_echo_n "checking for $ac_word... " >&6; }
19701 if ${ac_cv_path_PERL+:} false; then :
19702 $as_echo_n "(cached) " >&6
19706 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
19709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19710 for as_dir in $PATH
19713 test -z "$as_dir" && as_dir=.
19714 for ac_exec_ext in '' $ac_executable_extensions; do
19715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19716 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
19717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19727 PERL=$ac_cv_path_PERL
19728 if test -n "$PERL"; then
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
19730 $as_echo "$PERL" >&6; }
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19733 $as_echo "no" >&6; }
19737 test -n "$PERL" && break
19741 # We would like indent, but don't require it.
19742 # Extract the first word of "indent", so it can be a program name with args.
19743 set dummy indent; ac_word=$2
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19745 $as_echo_n "checking for $ac_word... " >&6; }
19746 if ${ac_cv_prog_INDENT+:} false; then :
19747 $as_echo_n "(cached) " >&6
19749 if test -n "$INDENT"; then
19750 ac_cv_prog_INDENT="$INDENT" # Let the user override the test.
19752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19753 for as_dir in $PATH
19756 test -z "$as_dir" && as_dir=.
19757 for ac_exec_ext in '' $ac_executable_extensions; do
19758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19759 ac_cv_prog_INDENT="indent"
19760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19769 INDENT=$ac_cv_prog_INDENT
19770 if test -n "$INDENT"; then
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INDENT" >&5
19772 $as_echo "$INDENT" >&6; }
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19775 $as_echo "no" >&6; }
19781 if test "x$enable_rebuilds" = "xyes" && \
19782 test -n "$PERL" && \
19783 $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then
19788 for ac_func in lstat mkstemp flockfile getc_unlocked
19790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19793 cat >>confdefs.h <<_ACEOF
19794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19800 for ac_func in localtime_r
19802 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
19803 if test "x$ac_cv_func_localtime_r" = xyes; then :
19804 cat >>confdefs.h <<_ACEOF
19805 #define HAVE_LOCALTIME_R 1
19812 # _NL_TIME_FIRST_WEEKDAY is an enum and not a define
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_TIME_FIRST_WEEKDAY" >&5
19814 $as_echo_n "checking for _NL_TIME_FIRST_WEEKDAY... " >&6; }
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19817 #include <langinfo.h>
19822 c = *((unsigned char *) nl_langinfo(_NL_TIME_FIRST_WEEKDAY));
19827 if ac_fn_c_try_link "$LINENO"; then :
19832 rm -f core conftest.err conftest.$ac_objext \
19833 conftest$ac_exeext conftest.$ac_ext
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
19835 $as_echo "$gtk_ok" >&6; }
19836 if test "$gtk_ok" = "yes"; then
19838 $as_echo "#define HAVE__NL_TIME_FIRST_WEEKDAY 1" >>confdefs.h
19842 # _NL_MEASUREMENT_MEASUREMENT is an enum and not a define
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_MEASUREMENT_MEASUREMENT" >&5
19844 $as_echo_n "checking for _NL_MEASUREMENT_MEASUREMENT... " >&6; }
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #include <langinfo.h>
19852 c = *((unsigned char *) nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
19857 if ac_fn_c_try_link "$LINENO"; then :
19862 rm -f core conftest.err conftest.$ac_objext \
19863 conftest$ac_exeext conftest.$ac_ext
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
19865 $as_echo "$gtk_ok" >&6; }
19866 if test "$gtk_ok" = "yes"; then
19868 $as_echo "#define HAVE__NL_MEASUREMENT_MEASUREMENT 1" >>confdefs.h
19872 # _NL_PAPER_HEIGHT is an enum and not a define
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_PAPER_HEIGHT" >&5
19874 $as_echo_n "checking for _NL_PAPER_HEIGHT... " >&6; }
19875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h. */
19877 #include <langinfo.h>
19882 c = *((unsigned char *) nl_langinfo(_NL_PAPER_HEIGHT));
19887 if ac_fn_c_try_link "$LINENO"; then :
19892 rm -f core conftest.err conftest.$ac_objext \
19893 conftest$ac_exeext conftest.$ac_ext
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
19895 $as_echo "$gtk_ok" >&6; }
19896 if test "$gtk_ok" = "yes"; then
19898 $as_echo "#define HAVE__NL_PAPER_HEIGHT 1" >>confdefs.h
19902 # _NL_PAPER_WIDTH is an enum and not a define
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_PAPER_WIDTH" >&5
19904 $as_echo_n "checking for _NL_PAPER_WIDTH... " >&6; }
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19907 #include <langinfo.h>
19912 c = *((unsigned char *) nl_langinfo(_NL_PAPER_WIDTH));
19917 if ac_fn_c_try_link "$LINENO"; then :
19922 rm -f core conftest.err conftest.$ac_objext \
19923 conftest$ac_exeext conftest.$ac_ext
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
19925 $as_echo "$gtk_ok" >&6; }
19926 if test "$gtk_ok" = "yes"; then
19928 $as_echo "#define HAVE__NL_PAPER_WIDTH 1" >>confdefs.h
19933 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
19935 for ac_header in locale.h
19937 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19938 if test "x$ac_cv_header_locale_h" = xyes; then :
19939 cat >>confdefs.h <<_ACEOF
19940 #define HAVE_LOCALE_H 1
19947 if test $ac_cv_header_locale_h = yes; then
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19949 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19950 if ${am_cv_val_LC_MESSAGES+:} false; then :
19951 $as_echo_n "(cached) " >&6
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19955 #include <locale.h>
19964 if ac_fn_c_try_link "$LINENO"; then :
19965 am_cv_val_LC_MESSAGES=yes
19967 am_cv_val_LC_MESSAGES=no
19969 rm -f core conftest.err conftest.$ac_objext \
19970 conftest$ac_exeext conftest.$ac_ext
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
19973 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
19974 if test $am_cv_val_LC_MESSAGES = yes; then
19976 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19983 gt_cv_have_gettext=no
19989 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
19990 if test "x$ac_cv_header_libintl_h" = xyes; then :
19991 gt_cv_func_dgettext_libintl="no"
19992 libintl_extra_libs=""
19995 # First check in libc
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
19998 $as_echo_n "checking for ngettext in libc... " >&6; }
19999 if ${gt_cv_func_ngettext_libc+:} false; then :
20000 $as_echo_n "(cached) " >&6
20002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h. */
20005 #include <libintl.h>
20010 return !ngettext ("","", 1)
20015 if ac_fn_c_try_link "$LINENO"; then :
20016 gt_cv_func_ngettext_libc=yes
20018 gt_cv_func_ngettext_libc=no
20020 rm -f core conftest.err conftest.$ac_objext \
20021 conftest$ac_exeext conftest.$ac_ext
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
20025 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
20027 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
20029 $as_echo_n "checking for dgettext in libc... " >&6; }
20030 if ${gt_cv_func_dgettext_libc+:} false; then :
20031 $as_echo_n "(cached) " >&6
20033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20034 /* end confdefs.h. */
20036 #include <libintl.h>
20041 return !dgettext ("","")
20046 if ac_fn_c_try_link "$LINENO"; then :
20047 gt_cv_func_dgettext_libc=yes
20049 gt_cv_func_dgettext_libc=no
20051 rm -f core conftest.err conftest.$ac_objext \
20052 conftest$ac_exeext conftest.$ac_ext
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
20056 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
20059 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20060 for ac_func in bind_textdomain_codeset
20062 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20063 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20064 cat >>confdefs.h <<_ACEOF
20065 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
20074 # If we don't have everything we want, check in libintl
20076 if test "$gt_cv_func_dgettext_libc" != "yes" \
20077 || test "$gt_cv_func_ngettext_libc" != "yes" \
20078 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
20081 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
20082 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
20083 $as_echo_n "(cached) " >&6
20085 ac_check_lib_save_LIBS=$LIBS
20086 LIBS="-lintl $LIBS"
20087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20088 /* end confdefs.h. */
20090 /* Override any GCC internal prototype to avoid an error.
20091 Use char because int might match the return type of a GCC
20092 builtin and then its argument prototype would still apply. */
20096 char bindtextdomain ();
20100 return bindtextdomain ();
20105 if ac_fn_c_try_link "$LINENO"; then :
20106 ac_cv_lib_intl_bindtextdomain=yes
20108 ac_cv_lib_intl_bindtextdomain=no
20110 rm -f core conftest.err conftest.$ac_objext \
20111 conftest$ac_exeext conftest.$ac_ext
20112 LIBS=$ac_check_lib_save_LIBS
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
20115 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
20116 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
20118 $as_echo_n "checking for ngettext in -lintl... " >&6; }
20119 if ${ac_cv_lib_intl_ngettext+:} false; then :
20120 $as_echo_n "(cached) " >&6
20122 ac_check_lib_save_LIBS=$LIBS
20123 LIBS="-lintl $LIBS"
20124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20125 /* end confdefs.h. */
20127 /* Override any GCC internal prototype to avoid an error.
20128 Use char because int might match the return type of a GCC
20129 builtin and then its argument prototype would still apply. */
20137 return ngettext ();
20142 if ac_fn_c_try_link "$LINENO"; then :
20143 ac_cv_lib_intl_ngettext=yes
20145 ac_cv_lib_intl_ngettext=no
20147 rm -f core conftest.err conftest.$ac_objext \
20148 conftest$ac_exeext conftest.$ac_ext
20149 LIBS=$ac_check_lib_save_LIBS
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
20152 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
20153 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
20155 $as_echo_n "checking for dgettext in -lintl... " >&6; }
20156 if ${ac_cv_lib_intl_dgettext+:} false; then :
20157 $as_echo_n "(cached) " >&6
20159 ac_check_lib_save_LIBS=$LIBS
20160 LIBS="-lintl $LIBS"
20161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h. */
20164 /* Override any GCC internal prototype to avoid an error.
20165 Use char because int might match the return type of a GCC
20166 builtin and then its argument prototype would still apply. */
20174 return dgettext ();
20179 if ac_fn_c_try_link "$LINENO"; then :
20180 ac_cv_lib_intl_dgettext=yes
20182 ac_cv_lib_intl_dgettext=no
20184 rm -f core conftest.err conftest.$ac_objext \
20185 conftest$ac_exeext conftest.$ac_ext
20186 LIBS=$ac_check_lib_save_LIBS
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
20189 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
20190 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
20191 gt_cv_func_dgettext_libintl=yes
20199 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
20201 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
20205 $as_echo_n "checking for ngettext in -lintl... " >&6; }
20206 if ${ac_cv_lib_intl_ngettext+:} false; then :
20207 $as_echo_n "(cached) " >&6
20209 ac_check_lib_save_LIBS=$LIBS
20210 LIBS="-lintl -liconv $LIBS"
20211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20212 /* end confdefs.h. */
20214 /* Override any GCC internal prototype to avoid an error.
20215 Use char because int might match the return type of a GCC
20216 builtin and then its argument prototype would still apply. */
20224 return ngettext ();
20229 if ac_fn_c_try_link "$LINENO"; then :
20230 ac_cv_lib_intl_ngettext=yes
20232 ac_cv_lib_intl_ngettext=no
20234 rm -f core conftest.err conftest.$ac_objext \
20235 conftest$ac_exeext conftest.$ac_ext
20236 LIBS=$ac_check_lib_save_LIBS
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
20239 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
20240 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
20242 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
20243 if ${ac_cv_lib_intl_dcgettext+:} false; then :
20244 $as_echo_n "(cached) " >&6
20246 ac_check_lib_save_LIBS=$LIBS
20247 LIBS="-lintl -liconv $LIBS"
20248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h. */
20251 /* Override any GCC internal prototype to avoid an error.
20252 Use char because int might match the return type of a GCC
20253 builtin and then its argument prototype would still apply. */
20261 return dcgettext ();
20266 if ac_fn_c_try_link "$LINENO"; then :
20267 ac_cv_lib_intl_dcgettext=yes
20269 ac_cv_lib_intl_dcgettext=no
20271 rm -f core conftest.err conftest.$ac_objext \
20272 conftest$ac_exeext conftest.$ac_ext
20273 LIBS=$ac_check_lib_save_LIBS
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
20276 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
20277 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
20278 gt_cv_func_dgettext_libintl=yes
20279 libintl_extra_libs=-liconv
20291 # If we found libintl, then check in it for bind_textdomain_codeset();
20292 # we'll prefer libc if neither have bind_textdomain_codeset(),
20293 # and both have dgettext and ngettext
20295 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
20296 glib_save_LIBS="$LIBS"
20297 LIBS="$LIBS -lintl $libintl_extra_libs"
20298 unset ac_cv_func_bind_textdomain_codeset
20299 for ac_func in bind_textdomain_codeset
20301 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20302 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20303 cat >>confdefs.h <<_ACEOF
20304 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
20310 LIBS="$glib_save_LIBS"
20312 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
20313 gt_cv_func_dgettext_libc=no
20315 if test "$gt_cv_func_dgettext_libc" = "yes" \
20316 && test "$gt_cv_func_ngettext_libc" = "yes"; then
20317 gt_cv_func_dgettext_libintl=no
20323 if test "$gt_cv_func_dgettext_libc" = "yes" \
20324 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
20325 gt_cv_have_gettext=yes
20328 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
20329 INTLLIBS="-lintl $libintl_extra_libs"
20332 if test "$gt_cv_have_gettext" = "yes"; then
20334 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
20336 # Extract the first word of "msgfmt", so it can be a program name with args.
20337 set dummy msgfmt; ac_word=$2
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20339 $as_echo_n "checking for $ac_word... " >&6; }
20340 if ${ac_cv_path_MSGFMT+:} false; then :
20341 $as_echo_n "(cached) " >&6
20345 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
20348 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20349 for ac_dir in $PATH; do
20350 test -z "$ac_dir" && ac_dir=.
20351 if test -f $ac_dir/$ac_word; then
20352 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
20353 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
20359 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
20363 MSGFMT="$ac_cv_path_MSGFMT"
20364 if test "$MSGFMT" != "no"; then
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
20366 $as_echo "$MSGFMT" >&6; }
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20369 $as_echo "no" >&6; }
20371 if test "$MSGFMT" != "no"; then
20372 glib_save_LIBS="$LIBS"
20373 LIBS="$LIBS $INTLLIBS"
20374 for ac_func in dcgettext
20376 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
20377 if test "x$ac_cv_func_dcgettext" = xyes; then :
20378 cat >>confdefs.h <<_ACEOF
20379 #define HAVE_DCGETTEXT 1
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
20387 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
20388 cat >conftest.foo <<_ACEOF
20392 "Content-Type: text/plain; charset=UTF-8\n"
20393 "Project-Id-Version: test 1.0\n"
20394 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
20395 "Last-Translator: test <foo@bar.xx>\n"
20396 "Language-Team: C <LL@li.org>\n"
20397 "MIME-Version: 1.0\n"
20398 "Content-Transfer-Encoding: 8bit\n"
20401 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
20402 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
20404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20405 test $ac_status = 0; }; then
20406 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20407 $as_echo "yes" >&6; }
20408 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20409 $as_echo "no" >&6; }
20410 echo "$as_me: failed input was:" >&5
20411 sed 's/^/| /' conftest.foo >&5
20414 # Extract the first word of "gmsgfmt", so it can be a program name with args.
20415 set dummy gmsgfmt; ac_word=$2
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20417 $as_echo_n "checking for $ac_word... " >&6; }
20418 if ${ac_cv_path_GMSGFMT+:} false; then :
20419 $as_echo_n "(cached) " >&6
20423 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
20426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20427 for as_dir in $PATH
20430 test -z "$as_dir" && as_dir=.
20431 for ac_exec_ext in '' $ac_executable_extensions; do
20432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20433 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20441 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20445 GMSGFMT=$ac_cv_path_GMSGFMT
20446 if test -n "$GMSGFMT"; then
20447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
20448 $as_echo "$GMSGFMT" >&6; }
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20451 $as_echo "no" >&6; }
20455 # Extract the first word of "xgettext", so it can be a program name with args.
20456 set dummy xgettext; ac_word=$2
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20458 $as_echo_n "checking for $ac_word... " >&6; }
20459 if ${ac_cv_path_XGETTEXT+:} false; then :
20460 $as_echo_n "(cached) " >&6
20462 case "$XGETTEXT" in
20464 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20467 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20468 for ac_dir in $PATH; do
20469 test -z "$ac_dir" && ac_dir=.
20470 if test -f $ac_dir/$ac_word; then
20471 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
20472 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
20478 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
20482 XGETTEXT="$ac_cv_path_XGETTEXT"
20483 if test "$XGETTEXT" != ":"; then
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
20485 $as_echo "$XGETTEXT" >&6; }
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20488 $as_echo "no" >&6; }
20491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20492 /* end confdefs.h. */
20497 extern int _nl_msg_cat_cntr;
20498 return _nl_msg_cat_cntr
20503 if ac_fn_c_try_link "$LINENO"; then :
20509 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20510 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20529 rm -f core conftest.err conftest.$ac_objext \
20530 conftest$ac_exeext conftest.$ac_ext
20531 LIBS="$glib_save_LIBS"
20534 gt_cv_have_gettext=no
20542 if test "$gt_cv_have_gettext" = "yes" ; then
20544 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
20548 if test "$XGETTEXT" != ":"; then
20549 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
20553 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
20558 # We need to process the po/ directory.
20561 ac_config_commands="$ac_config_commands default-1"
20564 for lang in $ALL_LINGUAS; do
20565 GMOFILES="$GMOFILES $lang.gmo"
20566 POFILES="$POFILES $lang.po"
20581 if test "$gt_cv_have_gettext" = "yes"; then
20582 if test "x$ALL_LINGUAS" = "x"; then
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
20586 $as_echo_n "checking for catalogs to be installed... " >&6; }
20588 for presentlang in $ALL_LINGUAS; do
20590 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
20591 desiredlanguages="$LINGUAS"
20593 desiredlanguages="$ALL_LINGUAS"
20595 for desiredlang in $desiredlanguages; do
20596 # Use the presentlang catalog if desiredlang is
20597 # a. equal to presentlang, or
20598 # b. a variant of presentlang (because in this case,
20599 # presentlang can be used as a fallback for messages
20600 # which are not translated in the desiredlang catalog).
20601 case "$desiredlang" in
20602 "$presentlang"*) useit=yes;;
20605 if test $useit = yes; then
20606 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
20609 LINGUAS=$NEW_LINGUAS
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
20611 $as_echo "$LINGUAS" >&6; }
20614 if test -n "$LINGUAS"; then
20615 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
20620 if test -n "$ac_aux_dir"; then
20621 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
20623 if test -z "$MKINSTALLDIRS"; then
20624 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
20628 test -d po || mkdir po
20629 if test "x$srcdir" != "x."; then
20630 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
20631 posrcprefix="$srcdir/"
20633 posrcprefix="../$srcdir/"
20639 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
20640 < $srcdir/po/POTFILES.in > po/POTFILES
20642 LIBS="$LIBS $INTLLIBS"
20643 ac_config_commands="$ac_config_commands po-properties"
20646 test -d po-properties || mkdir po-properties
20647 if test "x$srcdir" != "x."; then
20648 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
20649 popropsrcprefix="$srcdir/"
20651 popropsrcprefix="../$srcdir/"
20654 popropsrcprefix="../"
20656 rm -f po-properties/POTFILES
20657 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $popropsrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
20658 < $srcdir/po-properties/POTFILES.in > po-properties/POTFILES
20660 glib_save_prefix="$prefix"
20661 glib_save_exec_prefix="$exec_prefix"
20662 glib_save_datarootdir="$datarootdir"
20663 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20664 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
20665 datarootdir=`eval echo "${datarootdir}"`
20666 if test "x$CATOBJEXT" = "x.mo" ; then
20667 localedir=`eval echo "${libdir}/locale"`
20669 localedir=`eval echo "${datadir}/locale"`
20671 prefix="$glib_save_prefix"
20672 exec_prefix="$glib_save_exec_prefix"
20673 datarootdir="$glib_save_datarootdir"
20675 cat >>confdefs.h <<_ACEOF
20676 #define GTK_LOCALEDIR "$localedir"
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags to get ANSI library prototypes" >&5
20682 $as_echo_n "checking for extra flags to get ANSI library prototypes... " >&6; }
20684 gtk_save_LIBS=$LIBS
20686 if test "$cross_compiling" = yes; then :
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20688 $as_echo "none needed" >&6; }
20690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20691 /* end confdefs.h. */
20693 int main (void) { return (log(1) != log(1.)); }
20695 if ac_fn_c_try_run "$LINENO"; then :
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20697 $as_echo "none needed" >&6; }
20699 gtk_save_CFLAGS="$CFLAGS"
20700 CFLAGS="$CFLAGS -std1"
20701 if test "$cross_compiling" = yes; then :
20704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20705 /* end confdefs.h. */
20707 int main (void) { return (log(1) != log(1.)); }
20709 if ac_fn_c_try_run "$LINENO"; then :
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -std1" >&5
20711 $as_echo "-std1" >&6; }
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
20715 CFLAGS="$gtk_save_CFLAGS"
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No ANSI prototypes found in library. (-std1 did not work.)" >&5
20717 $as_echo "$as_me: WARNING: No ANSI prototypes found in library. (-std1 did not work.)" >&2;}
20719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20720 conftest.$ac_objext conftest.beam conftest.$ac_ext
20724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20725 conftest.$ac_objext conftest.beam conftest.$ac_ext
20729 LIBS=$gtk_save_LIBS
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the BeOS" >&5
20732 $as_echo_n "checking for the BeOS... " >&6; }
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20736 $as_echo "yes" >&6; }
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20741 $as_echo "no" >&6; }
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX" >&5
20750 $as_echo_n "checking for HP-UX... " >&6; }
20752 hpux9* | hpux10* | hpux11*)
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20754 $as_echo "yes" >&6; }
20755 CFLAGS="$CFLAGS -DHPPEX -DSHMLINK"
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20759 $as_echo "no" >&6; }
20764 # Run AM_PATH_GLIB_2_0 to make sure that GLib is installed and working
20767 # Check whether --enable-glibtest was given.
20768 if test "${enable_glibtest+set}" = set; then :
20769 enableval=$enable_glibtest;
20771 enable_glibtest=yes
20775 pkg_config_args=glib-2.0
20776 for module in . gobject gmodule-no-export
20780 pkg_config_args="$pkg_config_args gmodule-2.0"
20783 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
20786 pkg_config_args="$pkg_config_args gobject-2.0"
20789 pkg_config_args="$pkg_config_args gthread-2.0"
20792 pkg_config_args="$pkg_config_args $module-2.0"
20803 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20804 if test -n "$ac_tool_prefix"; then
20805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20806 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20808 $as_echo_n "checking for $ac_word... " >&6; }
20809 if ${ac_cv_path_PKG_CONFIG+:} false; then :
20810 $as_echo_n "(cached) " >&6
20812 case $PKG_CONFIG in
20814 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20818 for as_dir in $PATH
20821 test -z "$as_dir" && as_dir=.
20822 for ac_exec_ext in '' $ac_executable_extensions; do
20823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20824 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20835 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20836 if test -n "$PKG_CONFIG"; then
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20838 $as_echo "$PKG_CONFIG" >&6; }
20840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20841 $as_echo "no" >&6; }
20846 if test -z "$ac_cv_path_PKG_CONFIG"; then
20847 ac_pt_PKG_CONFIG=$PKG_CONFIG
20848 # Extract the first word of "pkg-config", so it can be a program name with args.
20849 set dummy pkg-config; ac_word=$2
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20851 $as_echo_n "checking for $ac_word... " >&6; }
20852 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
20853 $as_echo_n "(cached) " >&6
20855 case $ac_pt_PKG_CONFIG in
20857 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20861 for as_dir in $PATH
20864 test -z "$as_dir" && as_dir=.
20865 for ac_exec_ext in '' $ac_executable_extensions; do
20866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20867 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20878 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20879 if test -n "$ac_pt_PKG_CONFIG"; then
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20881 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20884 $as_echo "no" >&6; }
20887 if test "x$ac_pt_PKG_CONFIG" = x; then
20890 case $cross_compiling:$ac_tool_warned in
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20894 ac_tool_warned=yes ;;
20896 PKG_CONFIG=$ac_pt_PKG_CONFIG
20899 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20903 if test -n "$PKG_CONFIG"; then
20904 _pkg_min_version=0.16
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20906 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20907 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20909 $as_echo "yes" >&6; }
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20912 $as_echo "no" >&6; }
20919 if test "x$PKG_CONFIG" = x ; then
20924 min_glib_version=2.31.20
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
20926 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
20928 if test x$PKG_CONFIG != xno ; then
20929 ## don't try to run the test against uninstalled libtool libs
20930 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20931 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
20935 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
20942 if test x"$no_glib" = x ; then
20943 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
20944 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
20945 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
20946 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
20948 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
20949 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
20950 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
20951 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20952 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
20953 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20954 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
20955 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20956 if test "x$enable_glibtest" = "xyes" ; then
20957 ac_save_CFLAGS="$CFLAGS"
20958 ac_save_LIBS="$LIBS"
20959 CFLAGS="$CFLAGS $GLIB_CFLAGS"
20960 LIBS="$GLIB_LIBS $LIBS"
20961 rm -f conf.glibtest
20962 if test "$cross_compiling" = yes; then :
20963 echo $ac_n "cross compiling; assumed OK... $ac_c"
20965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20970 #include <stdlib.h>
20975 unsigned int major, minor, micro;
20978 fclose (fopen ("conf.glibtest", "w"));
20980 /* HP/UX 9 (%@#!) writes to sscanf strings */
20981 tmp_version = g_strdup("$min_glib_version");
20982 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
20983 printf("%s, bad version string\n", "$min_glib_version");
20987 if ((glib_major_version != $glib_config_major_version) ||
20988 (glib_minor_version != $glib_config_minor_version) ||
20989 (glib_micro_version != $glib_config_micro_version))
20991 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
20992 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
20993 glib_major_version, glib_minor_version, glib_micro_version);
20994 printf ("*** was found! If pkg-config was correct, then it is best\n");
20995 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
20996 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20997 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20998 printf("*** required on your system.\n");
20999 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21000 printf("*** to point to the correct configuration files\n");
21002 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
21003 (glib_minor_version != GLIB_MINOR_VERSION) ||
21004 (glib_micro_version != GLIB_MICRO_VERSION))
21006 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
21007 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
21008 printf("*** library (version %d.%d.%d)\n",
21009 glib_major_version, glib_minor_version, glib_micro_version);
21013 if ((glib_major_version > major) ||
21014 ((glib_major_version == major) && (glib_minor_version > minor)) ||
21015 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
21021 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
21022 glib_major_version, glib_minor_version, glib_micro_version);
21023 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
21024 major, minor, micro);
21025 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
21027 printf("*** If you have already installed a sufficiently new version, this error\n");
21028 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21029 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21030 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
21031 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21032 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21033 printf("*** so that the correct libraries are found at run-time))\n");
21040 if ac_fn_c_try_run "$LINENO"; then :
21045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21046 conftest.$ac_objext conftest.beam conftest.$ac_ext
21049 CFLAGS="$ac_save_CFLAGS"
21050 LIBS="$ac_save_LIBS"
21053 if test "x$no_glib" = x ; then
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
21055 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21059 $as_echo "no" >&6; }
21060 if test "$PKG_CONFIG" = "no" ; then
21061 echo "*** A new enough version of pkg-config was not found."
21062 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
21064 if test -f conf.glibtest ; then
21067 echo "*** Could not run GLIB test program, checking why..."
21068 ac_save_CFLAGS="$CFLAGS"
21069 ac_save_LIBS="$LIBS"
21070 CFLAGS="$CFLAGS $GLIB_CFLAGS"
21071 LIBS="$LIBS $GLIB_LIBS"
21072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h. */
21081 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
21086 if ac_fn_c_try_link "$LINENO"; then :
21087 echo "*** The test program compiled, but did not run. This usually means"
21088 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
21089 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
21090 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21091 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21092 echo "*** is required on your system"
21094 echo "*** If you have an old version installed, it is best to remove it, although"
21095 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21097 echo "*** The test program failed to compile or link. See the file config.log for the"
21098 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
21100 rm -f core conftest.err conftest.$ac_objext \
21101 conftest$ac_exeext conftest.$ac_ext
21102 CFLAGS="$ac_save_CFLAGS"
21103 LIBS="$ac_save_LIBS"
21111 GLIB_COMPILE_RESOURCES=""
21113 *** GLIB 2.31.20 or better is required. The latest version of
21114 *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/." "$LINENO" 5
21122 rm -f conf.glibtest
21125 gtk_save_LIBS=$LIBS
21126 LIBS="$LIBS $GLIB_LIBS"
21127 for ac_func in bind_textdomain_codeset
21129 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
21130 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
21131 cat >>confdefs.h <<_ACEOF
21132 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
21138 LIBS=$gtk_save_LIBS
21140 for ac_header in pwd.h
21142 ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
21143 if test "x$ac_cv_header_pwd_h" = xyes; then :
21144 cat >>confdefs.h <<_ACEOF
21145 #define HAVE_PWD_H 1
21148 $as_echo "#define HAVE_PWD_H 1" >>confdefs.h
21154 for ac_header in sys/time.h
21156 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
21157 if test "x$ac_cv_header_sys_time_h" = xyes; then :
21158 cat >>confdefs.h <<_ACEOF
21159 #define HAVE_SYS_TIME_H 1
21162 $as_echo "#define HAVE_SYS_TIME_H 1" >>confdefs.h
21168 for ac_header in unistd.h
21170 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21171 if test "x$ac_cv_header_unistd_h" = xyes; then :
21172 cat >>confdefs.h <<_ACEOF
21173 #define HAVE_UNISTD_H 1
21176 $as_echo "#define HAVE_UNISTD_H 1" >>confdefs.h
21182 for ac_header in ftw.h
21184 ac_fn_c_check_header_mongrel "$LINENO" "ftw.h" "ac_cv_header_ftw_h" "$ac_includes_default"
21185 if test "x$ac_cv_header_ftw_h" = xyes; then :
21186 cat >>confdefs.h <<_ACEOF
21187 #define HAVE_FTW_H 1
21190 $as_echo "#define HAVE_FTW_H 1" >>confdefs.h
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ftw extensions" >&5
21198 $as_echo_n "checking for GNU ftw extensions... " >&6; }
21199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21200 /* end confdefs.h. */
21201 #define _XOPEN_SOURCE 500
21202 #define _GNU_SOURCE
21207 int flags = FTW_ACTIONRETVAL;
21212 if ac_fn_c_try_compile "$LINENO"; then :
21217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21218 if test $gtk_ok = yes; then
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21220 $as_echo "yes" >&6; }
21222 $as_echo "#define HAVE_GNU_FTW 1" >>confdefs.h
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21226 $as_echo "no" >&6; }
21229 saved_cflags="$CFLAGS"
21230 saved_ldflags="$LDFLAGS"
21233 # Checks for library functions.
21237 for ac_header in $ac_header_list
21239 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21240 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
21242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21243 cat >>confdefs.h <<_ACEOF
21244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21258 for ac_func in getpagesize
21260 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
21261 if test "x$ac_cv_func_getpagesize" = xyes; then :
21262 cat >>confdefs.h <<_ACEOF
21263 #define HAVE_GETPAGESIZE 1
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
21270 $as_echo_n "checking for working mmap... " >&6; }
21271 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
21272 $as_echo_n "(cached) " >&6
21274 if test "$cross_compiling" = yes; then :
21275 ac_cv_func_mmap_fixed_mapped=no
21277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21278 /* end confdefs.h. */
21279 $ac_includes_default
21280 /* malloc might have been renamed as rpl_malloc. */
21283 /* Thanks to Mike Haertel and Jim Avera for this test.
21284 Here is a matrix of mmap possibilities:
21285 mmap private not fixed
21286 mmap private fixed at somewhere currently unmapped
21287 mmap private fixed at somewhere already mapped
21288 mmap shared not fixed
21289 mmap shared fixed at somewhere currently unmapped
21290 mmap shared fixed at somewhere already mapped
21291 For private mappings, we should verify that changes cannot be read()
21292 back from the file, nor mmap's back from the file at a different
21293 address. (There have been systems where private was not correctly
21294 implemented like the infamous i386 svr4.0, and systems where the
21295 VM page cache was not coherent with the file system buffer cache
21296 like early versions of FreeBSD and possibly contemporary NetBSD.)
21297 For shared mappings, we should conversely verify that changes get
21298 propagated back to all the places they're supposed to be.
21300 Grep wants private fixed already mapped.
21301 The main things grep needs to know about mmap are:
21302 * does it exist and is it safe to write into the mmap'd area
21303 * how to use it (BSD variants) */
21306 #include <sys/mman.h>
21308 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
21312 /* This mess was copied from the GNU getpagesize.h. */
21313 #ifndef HAVE_GETPAGESIZE
21314 # ifdef _SC_PAGESIZE
21315 # define getpagesize() sysconf(_SC_PAGESIZE)
21316 # else /* no _SC_PAGESIZE */
21317 # ifdef HAVE_SYS_PARAM_H
21318 # include <sys/param.h>
21319 # ifdef EXEC_PAGESIZE
21320 # define getpagesize() EXEC_PAGESIZE
21321 # else /* no EXEC_PAGESIZE */
21323 # define getpagesize() NBPG * CLSIZE
21326 # endif /* no CLSIZE */
21327 # else /* no NBPG */
21329 # define getpagesize() NBPC
21330 # else /* no NBPC */
21332 # define getpagesize() PAGESIZE
21333 # endif /* PAGESIZE */
21334 # endif /* no NBPC */
21335 # endif /* no NBPG */
21336 # endif /* no EXEC_PAGESIZE */
21337 # else /* no HAVE_SYS_PARAM_H */
21338 # define getpagesize() 8192 /* punt totally */
21339 # endif /* no HAVE_SYS_PARAM_H */
21340 # endif /* no _SC_PAGESIZE */
21342 #endif /* no HAVE_GETPAGESIZE */
21347 char *data, *data2, *data3;
21348 const char *cdata2;
21352 pagesize = getpagesize ();
21354 /* First, make a file with some known garbage in it. */
21355 data = (char *) malloc (pagesize);
21358 for (i = 0; i < pagesize; ++i)
21359 *(data + i) = rand ();
21361 fd = creat ("conftest.mmap", 0600);
21364 if (write (fd, data, pagesize) != pagesize)
21368 /* Next, check that the tail of a page is zero-filled. File must have
21369 non-zero length, otherwise we risk SIGBUS for entire page. */
21370 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
21374 if (write (fd2, cdata2, 1) != 1)
21376 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
21377 if (data2 == MAP_FAILED)
21379 for (i = 0; i < pagesize; ++i)
21383 if (munmap (data2, pagesize))
21386 /* Next, try to mmap the file at a fixed address which already has
21387 something else allocated at it. If we can, also make sure that
21388 we see the same garbage. */
21389 fd = open ("conftest.mmap", O_RDWR);
21392 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21393 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21395 for (i = 0; i < pagesize; ++i)
21396 if (*(data + i) != *(data2 + i))
21399 /* Finally, make sure that changes to the mapped area do not
21400 percolate back to the file as seen by read(). (This is a bug on
21401 some variants of i386 svr4.0.) */
21402 for (i = 0; i < pagesize; ++i)
21403 *(data2 + i) = *(data2 + i) + 1;
21404 data3 = (char *) malloc (pagesize);
21407 if (read (fd, data3, pagesize) != pagesize)
21409 for (i = 0; i < pagesize; ++i)
21410 if (*(data + i) != *(data3 + i))
21416 if ac_fn_c_try_run "$LINENO"; then :
21417 ac_cv_func_mmap_fixed_mapped=yes
21419 ac_cv_func_mmap_fixed_mapped=no
21421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21422 conftest.$ac_objext conftest.beam conftest.$ac_ext
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
21427 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
21428 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21430 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
21433 rm -f conftest.mmap conftest.txt
21436 for ac_func in mallinfo
21438 ac_fn_c_check_func "$LINENO" "mallinfo" "ac_cv_func_mallinfo"
21439 if test "x$ac_cv_func_mallinfo" = xyes; then :
21440 cat >>confdefs.h <<_ACEOF
21441 #define HAVE_MALLINFO 1
21447 for ac_func in getresuid
21449 ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
21450 if test "x$ac_cv_func_getresuid" = xyes; then :
21451 cat >>confdefs.h <<_ACEOF
21452 #define HAVE_GETRESUID 1
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
21459 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
21460 if ${ac_cv_type_uid_t+:} false; then :
21461 $as_echo_n "(cached) " >&6
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21465 #include <sys/types.h>
21468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21469 $EGREP "uid_t" >/dev/null 2>&1; then :
21470 ac_cv_type_uid_t=yes
21472 ac_cv_type_uid_t=no
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
21478 $as_echo "$ac_cv_type_uid_t" >&6; }
21479 if test $ac_cv_type_uid_t = no; then
21481 $as_echo "#define uid_t int" >>confdefs.h
21484 $as_echo "#define gid_t int" >>confdefs.h
21489 # Check for uxtheme.h (for MS-Windows Engine)
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uxtheme.h" >&5
21491 $as_echo_n "checking for uxtheme.h... " >&6; }
21492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21493 /* end confdefs.h. */
21494 #include <uxtheme.h>
21496 if ac_fn_c_try_cpp "$LINENO"; then :
21501 rm -f conftest.err conftest.i conftest.$ac_ext
21502 if test $gtk_uxtheme_h = yes; then
21504 $as_echo "#define HAVE_UXTHEME_H 1" >>confdefs.h
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_uxtheme_h" >&5
21508 $as_echo "$gtk_uxtheme_h" >&6; }
21510 # Check for round()
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
21512 $as_echo_n "checking for round in -lm... " >&6; }
21513 if ${ac_cv_lib_m_round+:} false; then :
21514 $as_echo_n "(cached) " >&6
21516 ac_check_lib_save_LIBS=$LIBS
21518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21519 /* end confdefs.h. */
21521 /* Override any GCC internal prototype to avoid an error.
21522 Use char because int might match the return type of a GCC
21523 builtin and then its argument prototype would still apply. */
21536 if ac_fn_c_try_link "$LINENO"; then :
21537 ac_cv_lib_m_round=yes
21539 ac_cv_lib_m_round=no
21541 rm -f core conftest.err conftest.$ac_objext \
21542 conftest$ac_exeext conftest.$ac_ext
21543 LIBS=$ac_check_lib_save_LIBS
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
21546 $as_echo "$ac_cv_lib_m_round" >&6; }
21547 if test "x$ac_cv_lib_m_round" = xyes; then :
21553 if test $have_round = yes; then
21555 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rint in -lm" >&5
21561 $as_echo_n "checking for rint in -lm... " >&6; }
21562 if ${ac_cv_lib_m_rint+:} false; then :
21563 $as_echo_n "(cached) " >&6
21565 ac_check_lib_save_LIBS=$LIBS
21567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21570 /* Override any GCC internal prototype to avoid an error.
21571 Use char because int might match the return type of a GCC
21572 builtin and then its argument prototype would still apply. */
21585 if ac_fn_c_try_link "$LINENO"; then :
21586 ac_cv_lib_m_rint=yes
21588 ac_cv_lib_m_rint=no
21590 rm -f core conftest.err conftest.$ac_objext \
21591 conftest$ac_exeext conftest.$ac_ext
21592 LIBS=$ac_check_lib_save_LIBS
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_rint" >&5
21595 $as_echo "$ac_cv_lib_m_rint" >&6; }
21596 if test "x$ac_cv_lib_m_rint" = xyes; then :
21602 if test $have_rint = yes; then
21604 $as_echo "#define HAVE_RINT 1" >>confdefs.h
21608 # Checks for gdkspawn
21609 for ac_header in crt_externs.h
21611 ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
21612 if test "x$ac_cv_header_crt_externs_h" = xyes; then :
21613 cat >>confdefs.h <<_ACEOF
21614 #define HAVE_CRT_EXTERNS_H 1
21621 for ac_func in _NSGetEnviron
21623 ac_fn_c_check_func "$LINENO" "_NSGetEnviron" "ac_cv_func__NSGetEnviron"
21624 if test "x$ac_cv_func__NSGetEnviron" = xyes; then :
21625 cat >>confdefs.h <<_ACEOF
21626 #define HAVE__NSGETENVIRON 1
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build dynamic modules" >&5
21634 $as_echo_n "checking whether to build dynamic modules... " >&6; }
21636 # Check whether --enable-modules was given.
21637 if test "${enable_modules+set}" = set; then :
21638 enableval=$enable_modules;
21643 build_dynamic_modules=no
21645 if test x$enable_modules = xno; then
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21647 $as_echo "no" >&6; }
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21650 $as_echo "yes" >&6; }
21651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dynamic modules work" >&5
21652 $as_echo_n "checking whether dynamic modules work... " >&6; }
21653 ## for loop is to strip newline
21654 tmp=`$PKG_CONFIG --variable=gmodule_supported gmodule-no-export-2.0`
21660 module_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
21661 module_deplibs_check=`$module_libtool_config | \
21662 grep '^[a-z_]*check[a-z_]*_method=['\''"]' | \
21663 sed 's/.*['\''"]\(.*\)['\''"]$/\1/'`
21664 if test "x$module_deplibs_check" = "xnone" || \
21665 test "x$module_deplibs_check" = "xunknown" || \
21666 test "x$module_deplibs_check" = "x"; then
21672 build_dynamic_modules=yes
21674 $as_echo "#define USE_GMODULE 1" >>confdefs.h
21676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21677 $as_echo "yes" >&6; }
21679 build_dynamic_modules=no
21680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21681 $as_echo "no" >&6; }
21686 BUILD_DYNAMIC_MODULES_TRUE=
21687 BUILD_DYNAMIC_MODULES_FALSE='#'
21689 BUILD_DYNAMIC_MODULES_TRUE='#'
21690 BUILD_DYNAMIC_MODULES_FALSE=
21695 # Allow building some or all immodules included
21697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking immodules to build" >&5
21698 $as_echo_n "checking immodules to build... " >&6; }
21701 # Check whether --with-included_immodules was given.
21702 if test "${with_included_immodules+set}" = set; then :
21703 withval=$with_included_immodules;
21710 ## if the option was specified, leave it; otherwise disable included immodules
21711 if test x$with_included_immodules = xno; then
21712 with_included_immodules=yes
21716 all_immodules="am-et,cedilla,cyrillic-translit,inuktitut,ipa,multipress,thai,ti-er,ti-et,viqr$backend_immodules"
21718 included_immodules=""
21719 # If the switch specified without listing any specific ones, include all
21720 if test "x$with_included_immodules" = xyes ; then
21721 included_immodules="$all_immodules"
21723 included_immodules="$with_included_immodules"
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $included_immodules" >&5
21727 $as_echo "$included_immodules" >&6; }
21728 if test "x$included_immodules" != x; then
21729 HAVE_INCLUDED_IMMMODULES_TRUE=
21730 HAVE_INCLUDED_IMMMODULES_FALSE='#'
21732 HAVE_INCLUDED_IMMMODULES_TRUE='#'
21733 HAVE_INCLUDED_IMMMODULES_FALSE=
21737 INCLUDED_IMMODULE_OBJ=
21738 INCLUDED_IMMODULE_DEFINE=
21740 IFS="${IFS= }"; gtk_save_ifs="$IFS"; IFS=","
21741 for immodule in $included_immodules; do
21742 immodule_underscores=`echo $immodule | sed -e 's/-/_/g'`
21743 if echo "$all_immodules" | egrep "(^|,)$immodule(\$|,)" > /dev/null; then
21746 as_fn_error $? "the specified input method $immodule does not exist" "$LINENO" 5
21749 INCLUDED_IMMODULE_OBJ="$INCLUDED_IMMODULE_OBJ ../modules/input/libstatic-im-$immodule.la"
21750 INCLUDED_IMMODULE_DEFINE="$INCLUDED_IMMODULE_DEFINE -DINCLUDE_IM_$immodule_underscores"
21751 eval INCLUDE_$immodule_underscores=yes
21753 IFS="$gtk_save_ifs"
21757 if test x"$INCLUDE_am_et" = xyes; then
21758 INCLUDE_IM_AM_ET_TRUE=
21759 INCLUDE_IM_AM_ET_FALSE='#'
21761 INCLUDE_IM_AM_ET_TRUE='#'
21762 INCLUDE_IM_AM_ET_FALSE=
21765 if test x"$INCLUDE_cedilla" = xyes; then
21766 INCLUDE_IM_CEDILLA_TRUE=
21767 INCLUDE_IM_CEDILLA_FALSE='#'
21769 INCLUDE_IM_CEDILLA_TRUE='#'
21770 INCLUDE_IM_CEDILLA_FALSE=
21773 if test x"$INCLUDE_cyrillic_translit" = xyes; then
21774 INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE=
21775 INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE='#'
21777 INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE='#'
21778 INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE=
21781 if test x"$INCLUDE_ime" = xyes; then
21782 INCLUDE_IM_IME_TRUE=
21783 INCLUDE_IM_IME_FALSE='#'
21785 INCLUDE_IM_IME_TRUE='#'
21786 INCLUDE_IM_IME_FALSE=
21789 if test x"$INCLUDE_inuktitut" = xyes; then
21790 INCLUDE_IM_INUKTITUT_TRUE=
21791 INCLUDE_IM_INUKTITUT_FALSE='#'
21793 INCLUDE_IM_INUKTITUT_TRUE='#'
21794 INCLUDE_IM_INUKTITUT_FALSE=
21797 if test x"$INCLUDE_ipa" = xyes; then
21798 INCLUDE_IM_IPA_TRUE=
21799 INCLUDE_IM_IPA_FALSE='#'
21801 INCLUDE_IM_IPA_TRUE='#'
21802 INCLUDE_IM_IPA_FALSE=
21805 if test x"$INCLUDE_multipress" = xyes; then
21806 INCLUDE_IM_MULTIPRESS_TRUE=
21807 INCLUDE_IM_MULTIPRESS_FALSE='#'
21809 INCLUDE_IM_MULTIPRESS_TRUE='#'
21810 INCLUDE_IM_MULTIPRESS_FALSE=
21813 if test x"$INCLUDE_thai" = xyes; then
21814 INCLUDE_IM_THAI_TRUE=
21815 INCLUDE_IM_THAI_FALSE='#'
21817 INCLUDE_IM_THAI_TRUE='#'
21818 INCLUDE_IM_THAI_FALSE=
21821 if test x"$INCLUDE_ti_er" = xyes; then
21822 INCLUDE_IM_TI_ER_TRUE=
21823 INCLUDE_IM_TI_ER_FALSE='#'
21825 INCLUDE_IM_TI_ER_TRUE='#'
21826 INCLUDE_IM_TI_ER_FALSE=
21829 if test x"$INCLUDE_ti_et" = xyes; then
21830 INCLUDE_IM_TI_ET_TRUE=
21831 INCLUDE_IM_TI_ET_FALSE='#'
21833 INCLUDE_IM_TI_ET_TRUE='#'
21834 INCLUDE_IM_TI_ET_FALSE=
21837 if test x"$INCLUDE_viqr" = xyes; then
21838 INCLUDE_IM_VIQR_TRUE=
21839 INCLUDE_IM_VIQR_FALSE='#'
21841 INCLUDE_IM_VIQR_TRUE='#'
21842 INCLUDE_IM_VIQR_FALSE=
21845 if test x"$INCLUDE_xim" = xyes; then
21846 INCLUDE_IM_XIM_TRUE=
21847 INCLUDE_IM_XIM_FALSE='#'
21849 INCLUDE_IM_XIM_TRUE='#'
21850 INCLUDE_IM_XIM_FALSE=
21854 # Checks to see whether we should include mediaLib
21857 ac_fn_c_check_header_mongrel "$LINENO" "sys/systeminfo.h" "ac_cv_header_sys_systeminfo_h" "$ac_includes_default"
21858 if test "x$ac_cv_header_sys_systeminfo_h" = xyes; then :
21860 $as_echo "#define HAVE_SYS_SYSTEMINFO_H 1" >>confdefs.h
21865 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21866 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21868 $as_echo "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
21875 if test $cross_compiling = yes; then
21876 CROSS_COMPILING_TRUE=
21877 CROSS_COMPILING_FALSE='#'
21879 CROSS_COMPILING_TRUE='#'
21880 CROSS_COMPILING_FALSE=
21884 if test "x$cross_compiling" = xyes || test "x$enable_gtk2_dependency" = xyes; then
21885 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
21886 set dummy gtk-update-icon-cache; ac_word=$2
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21888 $as_echo_n "checking for $ac_word... " >&6; }
21889 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
21890 $as_echo_n "(cached) " >&6
21892 case $GTK_UPDATE_ICON_CACHE in
21894 ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
21897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21898 for as_dir in $PATH
21901 test -z "$as_dir" && as_dir=.
21902 for ac_exec_ext in '' $ac_executable_extensions; do
21903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21904 ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
21905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21912 test -z "$ac_cv_path_GTK_UPDATE_ICON_CACHE" && ac_cv_path_GTK_UPDATE_ICON_CACHE="no"
21916 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
21917 if test -n "$GTK_UPDATE_ICON_CACHE"; then
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
21919 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21922 $as_echo "no" >&6; }
21926 if test x$GTK_UPDATE_ICON_CACHE = xno; then
21931 if test "x$cross_compiling" = xyes || test "x$enable_gtk2_dependency" = xyes; then
21932 USE_EXTERNAL_ICON_CACHE_TRUE=
21933 USE_EXTERNAL_ICON_CACHE_FALSE='#'
21935 USE_EXTERNAL_ICON_CACHE_TRUE='#'
21936 USE_EXTERNAL_ICON_CACHE_FALSE=
21940 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
21941 set dummy gdk-pixbuf-csource; ac_word=$2
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21943 $as_echo_n "checking for $ac_word... " >&6; }
21944 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
21945 $as_echo_n "(cached) " >&6
21947 case $GDK_PIXBUF_CSOURCE in
21949 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
21952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21953 for as_dir in $PATH
21956 test -z "$as_dir" && as_dir=.
21957 for ac_exec_ext in '' $ac_executable_extensions; do
21958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21959 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
21960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21967 test -z "$ac_cv_path_GDK_PIXBUF_CSOURCE" && ac_cv_path_GDK_PIXBUF_CSOURCE="no"
21971 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
21972 if test -n "$GDK_PIXBUF_CSOURCE"; then
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
21974 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21977 $as_echo "no" >&6; }
21982 if test ! -f $srcdir/gtk/gtkbuiltincache.h &&
21983 test "x$REBUILD_PNGS" = "x#" ; then
21985 *** gtkbuiltincache.h is not in the tree, and cannot be built
21986 *** because you don't have libpng, or (when cross-compiling) you
21987 *** don't have a prebuilt gtk-update-icon-cache on the build system." "$LINENO" 5
21990 ########################################
21991 # Windowing system checks
21992 ########################################
21994 # GTK+ uses some X calls, so needs to link against X directly
21995 GTK_DEP_PACKAGES_FOR_X=
21996 GTK_DEP_LIBS_FOR_X=
21999 if test "x$enable_x11_backend" = xyes; then
22000 X_PACKAGES=fontconfig
22003 # We use fontconfig very peripherally when decoding the default
22006 if $PKG_CONFIG --exists fontconfig; then : ; else
22008 *** fontconfig (http://www.fontconfig.org) is required by the X11 backend." "$LINENO" 5
22012 # Check for basic X packages; we use pkg-config if available
22014 if $PKG_CONFIG --exists x11 xext; then
22015 have_base_x_pc=true
22016 X_PACKAGES="$X_PACKAGES x11 xext"
22017 x_libs="`$PKG_CONFIG --libs x11 xext`"
22018 X_CFLAGS="`$PKG_CONFIG --cflags x11 xext`"
22020 # Strip out any .la files that pkg-config might give us (this happens
22021 # with -uninstalled.pc files)
22023 for I in $x_libs ; do
22026 *) x_libs_for_checks="$x_libs_for_checks $I" ;;
22030 GTK_PACKAGES_FOR_X="x11"
22032 have_base_x_pc=false
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22034 $as_echo_n "checking for X... " >&6; }
22037 # Check whether --with-x was given.
22038 if test "${with_x+set}" = set; then :
22042 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22043 if test "x$with_x" = xno; then
22044 # The user explicitly disabled X.
22047 case $x_includes,$x_libraries in #(
22048 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
22049 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
22050 $as_echo_n "(cached) " >&6
22052 # One or both of the vars are not set, and there is no cached value.
22053 ac_x_includes=no ac_x_libraries=no
22054 rm -f -r conftest.dir
22055 if mkdir conftest.dir; then
22057 cat >Imakefile <<'_ACEOF'
22059 @echo incroot='${INCROOT}'
22061 @echo usrlibdir='${USRLIBDIR}'
22063 @echo libdir='${LIBDIR}'
22065 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22066 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22067 for ac_var in incroot usrlibdir libdir; do
22068 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22070 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22071 for ac_extension in a so sl dylib la dll; do
22072 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22073 test -f "$ac_im_libdir/libX11.$ac_extension"; then
22074 ac_im_usrlibdir=$ac_im_libdir; break
22077 # Screen out bogus values from the imake configuration. They are
22078 # bogus both because they are the default anyway, and because
22079 # using them would break gcc on systems where it needs fixed includes.
22080 case $ac_im_incroot in
22081 /usr/include) ac_x_includes= ;;
22082 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22084 case $ac_im_usrlibdir in
22085 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22086 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22090 rm -f -r conftest.dir
22093 # Standard set of common directories for X headers.
22094 # Check X11 before X11Rn because it is often a symlink to the current release.
22108 /usr/local/X11/include
22109 /usr/local/X11R7/include
22110 /usr/local/X11R6/include
22111 /usr/local/X11R5/include
22112 /usr/local/X11R4/include
22114 /usr/local/include/X11
22115 /usr/local/include/X11R7
22116 /usr/local/include/X11R6
22117 /usr/local/include/X11R5
22118 /usr/local/include/X11R4
22122 /usr/XFree86/include/X11
22126 /usr/unsupported/include
22127 /usr/athena/include
22128 /usr/local/x11r5/include
22129 /usr/lpp/Xamples/include
22131 /usr/openwin/include
22132 /usr/openwin/share/include'
22134 if test "$ac_x_includes" = no; then
22135 # Guess where to find include files, by looking for Xlib.h.
22136 # First, try using that file with no special directory specified.
22137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22138 /* end confdefs.h. */
22139 #include <X11/Xlib.h>
22141 if ac_fn_c_try_cpp "$LINENO"; then :
22142 # We can compile using X headers with no special include directory.
22145 for ac_dir in $ac_x_header_dirs; do
22146 if test -r "$ac_dir/X11/Xlib.h"; then
22147 ac_x_includes=$ac_dir
22152 rm -f conftest.err conftest.i conftest.$ac_ext
22153 fi # $ac_x_includes = no
22155 if test "$ac_x_libraries" = no; then
22156 # Check for the libraries.
22157 # See if we find them without any special options.
22158 # Don't add to $LIBS permanently.
22161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22162 /* end confdefs.h. */
22163 #include <X11/Xlib.h>
22172 if ac_fn_c_try_link "$LINENO"; then :
22174 # We can link X programs with no special library path.
22178 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22180 # Don't even attempt the hair of trying to link an X program!
22181 for ac_extension in a so sl dylib la dll; do
22182 if test -r "$ac_dir/libX11.$ac_extension"; then
22183 ac_x_libraries=$ac_dir
22189 rm -f core conftest.err conftest.$ac_objext \
22190 conftest$ac_exeext conftest.$ac_ext
22191 fi # $ac_x_libraries = no
22193 case $ac_x_includes,$ac_x_libraries in #(
22194 no,* | *,no | *\'*)
22195 # Didn't find X, or a directory has "'" in its name.
22196 ac_cv_have_x="have_x=no";; #(
22198 # Record where we found X for the cache.
22199 ac_cv_have_x="have_x=yes\
22200 ac_x_includes='$ac_x_includes'\
22201 ac_x_libraries='$ac_x_libraries'"
22207 eval "$ac_cv_have_x"
22210 if test "$have_x" != yes; then
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22212 $as_echo "$have_x" >&6; }
22215 # If each of the values was on the command line, it overrides each guess.
22216 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22217 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22218 # Update the cache value to reflect the command line values.
22219 ac_cv_have_x="have_x=yes\
22220 ac_x_includes='$x_includes'\
22221 ac_x_libraries='$x_libraries'"
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22223 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22226 if test "$no_x" = yes; then
22227 # Not all programs may use this symbol, but it does not hurt to define it.
22229 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
22231 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22233 if test -n "$x_includes"; then
22234 X_CFLAGS="$X_CFLAGS -I$x_includes"
22237 # It would also be nice to do this for all -L options, not just this one.
22238 if test -n "$x_libraries"; then
22239 X_LIBS="$X_LIBS -L$x_libraries"
22240 # For Solaris; some versions of Sun CC require a space after -R and
22241 # others require no space. Words are not sufficient . . . .
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
22243 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
22244 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22245 ac_xsave_c_werror_flag=$ac_c_werror_flag
22246 ac_c_werror_flag=yes
22247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22248 /* end confdefs.h. */
22258 if ac_fn_c_try_link "$LINENO"; then :
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22260 $as_echo "no" >&6; }
22261 X_LIBS="$X_LIBS -R$x_libraries"
22263 LIBS="$ac_xsave_LIBS -R $x_libraries"
22264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22275 if ac_fn_c_try_link "$LINENO"; then :
22276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22277 $as_echo "yes" >&6; }
22278 X_LIBS="$X_LIBS -R $x_libraries"
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
22281 $as_echo "neither works" >&6; }
22283 rm -f core conftest.err conftest.$ac_objext \
22284 conftest$ac_exeext conftest.$ac_ext
22286 rm -f core conftest.err conftest.$ac_objext \
22287 conftest$ac_exeext conftest.$ac_ext
22288 ac_c_werror_flag=$ac_xsave_c_werror_flag
22289 LIBS=$ac_xsave_LIBS
22292 # Check for system-dependent libraries X programs must link with.
22293 # Do this before checking for the system-independent R6 libraries
22294 # (-lICE), since we may need -lsocket or whatever for X linking.
22296 if test "$ISC" = yes; then
22297 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22299 # Martyn Johnson says this is needed for Ultrix, if the X
22300 # libraries were built with DECnet support. And Karl Berry says
22301 # the Alpha needs dnet_stub (dnet does not exist).
22302 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22304 /* end confdefs.h. */
22306 /* Override any GCC internal prototype to avoid an error.
22307 Use char because int might match the return type of a GCC
22308 builtin and then its argument prototype would still apply. */
22312 char XOpenDisplay ();
22316 return XOpenDisplay ();
22321 if ac_fn_c_try_link "$LINENO"; then :
22324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
22325 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
22326 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
22327 $as_echo_n "(cached) " >&6
22329 ac_check_lib_save_LIBS=$LIBS
22330 LIBS="-ldnet $LIBS"
22331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22332 /* end confdefs.h. */
22334 /* Override any GCC internal prototype to avoid an error.
22335 Use char because int might match the return type of a GCC
22336 builtin and then its argument prototype would still apply. */
22344 return dnet_ntoa ();
22349 if ac_fn_c_try_link "$LINENO"; then :
22350 ac_cv_lib_dnet_dnet_ntoa=yes
22352 ac_cv_lib_dnet_dnet_ntoa=no
22354 rm -f core conftest.err conftest.$ac_objext \
22355 conftest$ac_exeext conftest.$ac_ext
22356 LIBS=$ac_check_lib_save_LIBS
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22359 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22360 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
22361 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22364 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
22366 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
22367 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
22368 $as_echo_n "(cached) " >&6
22370 ac_check_lib_save_LIBS=$LIBS
22371 LIBS="-ldnet_stub $LIBS"
22372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22373 /* end confdefs.h. */
22375 /* Override any GCC internal prototype to avoid an error.
22376 Use char because int might match the return type of a GCC
22377 builtin and then its argument prototype would still apply. */
22385 return dnet_ntoa ();
22390 if ac_fn_c_try_link "$LINENO"; then :
22391 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22393 ac_cv_lib_dnet_stub_dnet_ntoa=no
22395 rm -f core conftest.err conftest.$ac_objext \
22396 conftest$ac_exeext conftest.$ac_ext
22397 LIBS=$ac_check_lib_save_LIBS
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22400 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22401 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
22402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22407 rm -f core conftest.err conftest.$ac_objext \
22408 conftest$ac_exeext conftest.$ac_ext
22409 LIBS="$ac_xsave_LIBS"
22411 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22412 # to get the SysV transport functions.
22413 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22415 # The nsl library prevents programs from opening the X display
22416 # on Irix 5.2, according to T.E. Dickey.
22417 # The functions gethostbyname, getservbyname, and inet_addr are
22418 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22419 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22420 if test "x$ac_cv_func_gethostbyname" = xyes; then :
22424 if test $ac_cv_func_gethostbyname = no; then
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22426 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
22427 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
22428 $as_echo_n "(cached) " >&6
22430 ac_check_lib_save_LIBS=$LIBS
22432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22433 /* end confdefs.h. */
22435 /* Override any GCC internal prototype to avoid an error.
22436 Use char because int might match the return type of a GCC
22437 builtin and then its argument prototype would still apply. */
22441 char gethostbyname ();
22445 return gethostbyname ();
22450 if ac_fn_c_try_link "$LINENO"; then :
22451 ac_cv_lib_nsl_gethostbyname=yes
22453 ac_cv_lib_nsl_gethostbyname=no
22455 rm -f core conftest.err conftest.$ac_objext \
22456 conftest$ac_exeext conftest.$ac_ext
22457 LIBS=$ac_check_lib_save_LIBS
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22460 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
22461 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
22462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22465 if test $ac_cv_lib_nsl_gethostbyname = no; then
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
22467 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
22468 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
22469 $as_echo_n "(cached) " >&6
22471 ac_check_lib_save_LIBS=$LIBS
22473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22474 /* end confdefs.h. */
22476 /* Override any GCC internal prototype to avoid an error.
22477 Use char because int might match the return type of a GCC
22478 builtin and then its argument prototype would still apply. */
22482 char gethostbyname ();
22486 return gethostbyname ();
22491 if ac_fn_c_try_link "$LINENO"; then :
22492 ac_cv_lib_bsd_gethostbyname=yes
22494 ac_cv_lib_bsd_gethostbyname=no
22496 rm -f core conftest.err conftest.$ac_objext \
22497 conftest$ac_exeext conftest.$ac_ext
22498 LIBS=$ac_check_lib_save_LIBS
22500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
22501 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
22502 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
22503 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22509 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22510 # socket/setsockopt and other routines are undefined under SCO ODT
22511 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22512 # on later versions), says Simon Leinen: it contains gethostby*
22513 # variants that don't use the name server (or something). -lsocket
22514 # must be given before -lnsl if both are needed. We assume that
22515 # if connect needs -lnsl, so does gethostbyname.
22516 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
22517 if test "x$ac_cv_func_connect" = xyes; then :
22521 if test $ac_cv_func_connect = no; then
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
22523 $as_echo_n "checking for connect in -lsocket... " >&6; }
22524 if ${ac_cv_lib_socket_connect+:} false; then :
22525 $as_echo_n "(cached) " >&6
22527 ac_check_lib_save_LIBS=$LIBS
22528 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h. */
22532 /* Override any GCC internal prototype to avoid an error.
22533 Use char because int might match the return type of a GCC
22534 builtin and then its argument prototype would still apply. */
22547 if ac_fn_c_try_link "$LINENO"; then :
22548 ac_cv_lib_socket_connect=yes
22550 ac_cv_lib_socket_connect=no
22552 rm -f core conftest.err conftest.$ac_objext \
22553 conftest$ac_exeext conftest.$ac_ext
22554 LIBS=$ac_check_lib_save_LIBS
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
22557 $as_echo "$ac_cv_lib_socket_connect" >&6; }
22558 if test "x$ac_cv_lib_socket_connect" = xyes; then :
22559 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22564 # Guillermo Gomez says -lposix is necessary on A/UX.
22565 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
22566 if test "x$ac_cv_func_remove" = xyes; then :
22570 if test $ac_cv_func_remove = no; then
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
22572 $as_echo_n "checking for remove in -lposix... " >&6; }
22573 if ${ac_cv_lib_posix_remove+:} false; then :
22574 $as_echo_n "(cached) " >&6
22576 ac_check_lib_save_LIBS=$LIBS
22577 LIBS="-lposix $LIBS"
22578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22579 /* end confdefs.h. */
22581 /* Override any GCC internal prototype to avoid an error.
22582 Use char because int might match the return type of a GCC
22583 builtin and then its argument prototype would still apply. */
22596 if ac_fn_c_try_link "$LINENO"; then :
22597 ac_cv_lib_posix_remove=yes
22599 ac_cv_lib_posix_remove=no
22601 rm -f core conftest.err conftest.$ac_objext \
22602 conftest$ac_exeext conftest.$ac_ext
22603 LIBS=$ac_check_lib_save_LIBS
22605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
22606 $as_echo "$ac_cv_lib_posix_remove" >&6; }
22607 if test "x$ac_cv_lib_posix_remove" = xyes; then :
22608 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22613 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22614 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
22615 if test "x$ac_cv_func_shmat" = xyes; then :
22619 if test $ac_cv_func_shmat = no; then
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
22621 $as_echo_n "checking for shmat in -lipc... " >&6; }
22622 if ${ac_cv_lib_ipc_shmat+:} false; then :
22623 $as_echo_n "(cached) " >&6
22625 ac_check_lib_save_LIBS=$LIBS
22627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22628 /* end confdefs.h. */
22630 /* Override any GCC internal prototype to avoid an error.
22631 Use char because int might match the return type of a GCC
22632 builtin and then its argument prototype would still apply. */
22645 if ac_fn_c_try_link "$LINENO"; then :
22646 ac_cv_lib_ipc_shmat=yes
22648 ac_cv_lib_ipc_shmat=no
22650 rm -f core conftest.err conftest.$ac_objext \
22651 conftest$ac_exeext conftest.$ac_ext
22652 LIBS=$ac_check_lib_save_LIBS
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
22655 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
22656 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
22657 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22663 # Check for libraries that X11R6 Xt/Xaw programs need.
22664 ac_save_LDFLAGS=$LDFLAGS
22665 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22666 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22667 # check for ICE first), but we must link in the order -lSM -lICE or
22668 # we get undefined symbols. So assume we have SM if we have ICE.
22669 # These have to be linked with before -lX11, unlike the other
22670 # libraries we check for below, so use a different variable.
22671 # John Interrante, Karl Berry
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
22673 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
22674 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
22675 $as_echo_n "(cached) " >&6
22677 ac_check_lib_save_LIBS=$LIBS
22678 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22680 /* end confdefs.h. */
22682 /* Override any GCC internal prototype to avoid an error.
22683 Use char because int might match the return type of a GCC
22684 builtin and then its argument prototype would still apply. */
22688 char IceConnectionNumber ();
22692 return IceConnectionNumber ();
22697 if ac_fn_c_try_link "$LINENO"; then :
22698 ac_cv_lib_ICE_IceConnectionNumber=yes
22700 ac_cv_lib_ICE_IceConnectionNumber=no
22702 rm -f core conftest.err conftest.$ac_objext \
22703 conftest$ac_exeext conftest.$ac_ext
22704 LIBS=$ac_check_lib_save_LIBS
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22707 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
22708 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
22709 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22712 LDFLAGS=$ac_save_LDFLAGS
22716 if test x$no_x = xyes ; then
22717 as_fn_error $? "X development libraries not found" "$LINENO" 5
22720 x_cflags="$X_CFLAGS"
22721 x_libs_for_checks="$X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
22723 GTK_DEP_LIBS_FOR_X="$X_LIBS -lX11 $X_EXTRA_LIBS"
22726 # Extra libraries found during checks (-lXinerama, etc), not from pkg-config.
22729 gtk_save_cppflags="$CPPFLAGS"
22730 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
22732 gtk_save_LIBS=$LIBS
22733 LIBS="$x_libs_for_checks $LIBS"
22735 # Sanity check for the X11 and Xext libraries. While everything we need from
22736 # Xext is optional, the chances a system has *none* of these things is so
22737 # small that we just unconditionally require it.
22738 ac_fn_c_check_func "$LINENO" "XOpenDisplay" "ac_cv_func_XOpenDisplay"
22739 if test "x$ac_cv_func_XOpenDisplay" = xyes; then :
22742 as_fn_error $? "*** libX11 not found. Check 'config.log' for more details." "$LINENO" 5
22745 ac_fn_c_check_func "$LINENO" "XextFindDisplay" "ac_cv_func_XextFindDisplay"
22746 if test "x$ac_cv_func_XextFindDisplay" = xyes; then :
22749 as_fn_error $? "*** libXext not found. Check 'config.log' for more details." "$LINENO" 5
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <X11/extensions/XIproto.h> is needed for xReply" >&5
22756 $as_echo_n "checking if <X11/extensions/XIproto.h> is needed for xReply... " >&6; }
22757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22758 /* end confdefs.h. */
22759 #include <X11/Xlibint.h>
22768 if ac_fn_c_try_compile "$LINENO"; then :
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22770 $as_echo "no" >&6; }
22772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22773 /* end confdefs.h. */
22774 #include <X11/extensions/XIproto.h>
22775 #include <X11/Xlibint.h>
22784 if ac_fn_c_try_compile "$LINENO"; then :
22785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22786 $as_echo "yes" >&6; }
22788 $as_echo "#define NEED_XIPROTO_H_FOR_XREPLY 1" >>confdefs.h
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
22792 $as_echo "unknown" >&6; }
22793 as_fn_error $? "xReply type unavailable. X11 is too old" "$LINENO" 5
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799 # Check for XKB support.
22801 if test "x$enable_xkb" = "xyes"; then
22802 ac_fn_c_check_func "$LINENO" "XkbQueryExtension" "ac_cv_func_XkbQueryExtension"
22803 if test "x$ac_cv_func_XkbQueryExtension" = xyes; then :
22804 X_EXTENSIONS="$X_EXTENSIONS XKB"
22806 $as_echo "#define HAVE_XKB 1" >>confdefs.h
22809 as_fn_error $? "*** XKB extension not found. Check 'config.log' for more details." "$LINENO" 5
22812 elif test "x$enable_xkb" = "xmaybe"; then
22813 ac_fn_c_check_func "$LINENO" "XkbQueryExtension" "ac_cv_func_XkbQueryExtension"
22814 if test "x$ac_cv_func_XkbQueryExtension" = xyes; then :
22815 X_EXTENSIONS="$X_EXTENSIONS XKB"
22817 $as_echo "#define HAVE_XKB 1" >>confdefs.h
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XKB support explicitly disabled" >&5
22823 $as_echo "$as_me: WARNING: XKB support explicitly disabled" >&2;}
22826 # Check for shaped window extension
22828 ac_fn_c_check_func "$LINENO" "XShapeCombineMask" "ac_cv_func_XShapeCombineMask"
22829 if test "x$ac_cv_func_XShapeCombineMask" = xyes; then :
22832 as_fn_error $? "Shape extension not found, check your development headers" "$LINENO" 5
22837 gtk_save_CFLAGS="$CFLAGS"
22838 CFLAGS="$CFLAGS $x_cflags"
22840 ac_fn_c_check_func "$LINENO" "XSyncQueryExtension" "ac_cv_func_XSyncQueryExtension"
22841 if test "x$ac_cv_func_XSyncQueryExtension" = xyes; then :
22842 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/sync.h" "ac_cv_header_X11_extensions_sync_h" "#include <X11/Xlib.h>
22844 if test "x$ac_cv_header_X11_extensions_sync_h" = xyes; then :
22846 $as_echo "#define HAVE_XSYNC 1" >>confdefs.h
22856 CFLAGS="$gtk_save_CFLAGS"
22858 if test "x$enable_xinerama" != "xno"; then
22859 # Check for Xinerama extension (Solaris impl or Xfree impl)
22860 have_xfree_xinerama=false
22861 have_solaris_xinerama=false
22863 gtk_save_cppflags="$CPPFLAGS"
22864 CPPFLAGS="$CPPFLAGS $x_cflags"
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama packages" >&5
22868 $as_echo_n "checking for Xinerama packages... " >&6; }
22870 if $PKG_CONFIG --exists xinerama ; then
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22872 $as_echo "yes" >&6; }
22873 have_xfree_xinerama=true
22874 X_PACKAGES="$X_PACKAGES xinerama"
22876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22877 $as_echo "no" >&6; }
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryExtension in -lXinerama" >&5
22879 $as_echo_n "checking for XineramaQueryExtension in -lXinerama... " >&6; }
22880 if ${ac_cv_lib_Xinerama_XineramaQueryExtension+:} false; then :
22881 $as_echo_n "(cached) " >&6
22883 ac_check_lib_save_LIBS=$LIBS
22884 LIBS="-lXinerama $LIBS"
22885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h. */
22888 /* Override any GCC internal prototype to avoid an error.
22889 Use char because int might match the return type of a GCC
22890 builtin and then its argument prototype would still apply. */
22894 char XineramaQueryExtension ();
22898 return XineramaQueryExtension ();
22903 if ac_fn_c_try_link "$LINENO"; then :
22904 ac_cv_lib_Xinerama_XineramaQueryExtension=yes
22906 ac_cv_lib_Xinerama_XineramaQueryExtension=no
22908 rm -f core conftest.err conftest.$ac_objext \
22909 conftest$ac_exeext conftest.$ac_ext
22910 LIBS=$ac_check_lib_save_LIBS
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
22913 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6; }
22914 if test "x$ac_cv_lib_Xinerama_XineramaQueryExtension" = xyes; then :
22915 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#include <X11/Xlib.h>
22917 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes; then :
22918 case "$x_extra_libs " in
22919 *-lXinerama[\ \ ]*) ;;
22920 *) x_extra_libs="-lXinerama $x_extra_libs" ;;
22923 have_xfree_xinerama=true
22933 if $have_xfree_xinerama ; then
22934 X_EXTENSIONS="$X_EXTENSIONS Xinerama"
22936 $as_echo "#define HAVE_XFREE_XINERAMA 1" >>confdefs.h
22939 $as_echo "#define HAVE_XINERAMA 1" >>confdefs.h
22944 # Check for solaris
22945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama support on Solaris" >&5
22946 $as_echo_n "checking for Xinerama support on Solaris... " >&6; }
22948 have_solaris_xinerama=false
22949 ac_fn_c_check_func "$LINENO" "XineramaGetInfo" "ac_cv_func_XineramaGetInfo"
22950 if test "x$ac_cv_func_XineramaGetInfo" = xyes; then :
22951 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xinerama.h" "ac_cv_header_X11_extensions_xinerama_h" "#include <X11/Xlib.h>
22953 if test "x$ac_cv_header_X11_extensions_xinerama_h" = xyes; then :
22954 have_solaris_xinerama=true
22963 if $have_solaris_xinerama ; then
22964 X_EXTENSIONS="$X_EXTENSIONS Xinerama"
22966 $as_echo "#define HAVE_SOLARIS_XINERAMA 1" >>confdefs.h
22969 $as_echo "#define HAVE_XINERAMA 1" >>confdefs.h
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22972 $as_echo "yes" >&6; }
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22975 $as_echo "no" >&6; }
22983 if test "x$enable_xinerama" = "xyes" ; then
22984 if test "x$have_xfree_xinerama" != "xtrue" -a "x$have_solaris_xinerama" != "xtrue" ; then
22985 as_fn_error $? "*** Xinerama extension not found. Check 'config.log' for more details." "$LINENO" 5
22989 # Check for XGetEventData for GenericEvents
22990 ac_fn_c_check_func "$LINENO" "XGetEventData" "ac_cv_func_XGetEventData"
22991 if test "x$ac_cv_func_XGetEventData" = xyes; then :
22993 $as_echo "#define HAVE_XGENERICEVENTS 1" >>confdefs.h
22998 # set up things for XInput
22999 if $PKG_CONFIG --exists "xi" ; then
23001 X_PACKAGES="$X_PACKAGES xi"
23002 GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xi"
23004 ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$ac_includes_default"
23005 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes; then :
23008 $as_echo "#define XINPUT_2 1" >>confdefs.h
23014 gtk_save_LIBS="$LIBS"
23017 # Note that we also check that the XIScrollClassInfo struct is defined,
23018 # because at least Ubuntu Oneiric seems to have XIAllowTouchEvents(), but not the XIScrollClassInfo struct.
23019 ac_fn_c_check_func "$LINENO" "XIAllowTouchEvents" "ac_cv_func_XIAllowTouchEvents"
23020 if test "x$ac_cv_func_XIAllowTouchEvents" = xyes; then :
23021 ac_fn_c_check_member "$LINENO" "XIScrollClassInfo" "number" "ac_cv_member_XIScrollClassInfo_number" "#include <X11/extensions/XInput2.h>
23023 if test "x$ac_cv_member_XIScrollClassInfo_number" = xyes; then :
23026 $as_echo "#define XINPUT_2_2 1" >>confdefs.h
23034 LIBS="$gtk_save_LIBS"
23036 if test "x$have_xinput2_2" = "xyes"; then
23037 X_EXTENSIONS="$X_EXTENSIONS XI2.2"
23039 X_EXTENSIONS="$X_EXTENSIONS XI2"
23043 if test "x$have_xinput2" != "xyes"; then :
23044 as_fn_error $? "*** XInput2 extension not found. Check 'config.log' for more details." "$LINENO" 5
23047 # Check for the RANDR extension
23048 if test x"$enable_xrandr" != xno; then
23049 if $PKG_CONFIG --exists "xrandr >= 1.2.99" ; then
23051 $as_echo "#define HAVE_RANDR 1" >>confdefs.h
23054 X_PACKAGES="$X_PACKAGES xrandr"
23055 X_EXTENSIONS="$X_EXTENSIONS XRANDR"
23056 elif test x"$enable_xrandr" = xyes; then
23057 as_fn_error $? "RANDR support requested but xrandr not found" "$LINENO" 5
23061 # Checks for Xcursor library
23063 if $PKG_CONFIG --exists xcursor ; then
23065 $as_echo "#define HAVE_XCURSOR 1" >>confdefs.h
23068 X_PACKAGES="$X_PACKAGES xcursor"
23071 # Checks for XFixes extension
23073 if test x"$enable_xfixes" != xno; then
23074 if $PKG_CONFIG --exists xfixes ; then
23076 $as_echo "#define HAVE_XFIXES 1" >>confdefs.h
23079 X_PACKAGES="$X_PACKAGES xfixes"
23080 X_EXTENSIONS="$X_EXTENSIONS XFIXES"
23081 GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xfixes"
23082 elif test x"$enable_xfixes" = xyes; then
23083 as_fn_error $? "XFixes support requested but xfixes not found" "$LINENO" 5
23087 # Checks for Xcomposite extension
23089 if test x"$enable_xcomposite" != xno; then
23090 if $PKG_CONFIG --exists xcomposite ; then
23092 $as_echo "#define HAVE_XCOMPOSITE 1" >>confdefs.h
23095 X_PACKAGES="$X_PACKAGES xcomposite"
23096 X_EXTENSIONS="$X_EXTENSIONS Composite"
23097 GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xcomposite"
23098 elif test x"$enable_xcomposite" = xyes; then
23099 as_fn_error $? "Xcomposite support requested but xcomposite not found" "$LINENO" 5
23103 # Checks for Xdamage extension
23105 if test x"$enable_xdamage" != xno; then
23106 if $PKG_CONFIG --exists xdamage ; then
23108 $as_echo "#define HAVE_XDAMAGE 1" >>confdefs.h
23111 X_PACKAGES="$X_PACKAGES xdamage"
23112 X_EXTENSIONS="$X_EXTENSIONS DAMAGE"
23113 GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xdamage"
23114 elif test x"$enable_xdamage" = xyes; then
23115 as_fn_error $? "Xdamage support requested but xdamage not found" "$LINENO" 5
23119 if $have_base_x_pc ; then
23120 GDK_EXTRA_LIBS="$x_extra_libs"
23122 GDK_EXTRA_LIBS="$X_LIBS $x_extra_libs -lXext -lX11 $GDK_EXTRA_LIBS"
23125 CPPFLAGS="$gtk_save_cppflags"
23126 LIBS="$gtk_save_libs"
23137 # strip leading space
23138 X_EXTENSIONS=${X_EXTENSIONS#* }
23153 # Check for Pango flags
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Pango flags" >&5
23156 $as_echo_n "checking Pango flags... " >&6; }
23157 if $PKG_CONFIG --exists $PANGO_PACKAGES ; then
23158 PANGO_CFLAGS=`$PKG_CONFIG --cflags $PANGO_PACKAGES`
23159 PANGO_LIBS=`$PKG_CONFIG --libs $PANGO_PACKAGES`
23161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGO_CFLAGS $PANGO_LIBS" >&5
23162 $as_echo "$PANGO_CFLAGS $PANGO_LIBS" >&6; }
23165 *** Pango not found. Pango built with Cairo support is required
23166 *** to build GTK+. See http://www.pango.org for Pango information.
23170 CFLAGS="$CFLAGS $PANGO_CFLAGS"
23172 if $PKG_CONFIG --uninstalled $PANGO_PACKAGES; then
23175 gtk_save_LIBS="$LIBS"
23176 LIBS="$PANGO_LIBS $LIBS"
23177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23178 /* end confdefs.h. */
23180 /* Override any GCC internal prototype to avoid an error.
23181 Use char because int might match the return type of a GCC
23182 builtin and then its argument prototype would still apply. */
23186 char pango_context_new ();
23190 return pango_context_new ();
23195 if ac_fn_c_try_link "$LINENO"; then :
23199 *** Can't link to Pango. Pango is required to build
23200 *** GTK+. For more information see http://www.pango.org" "$LINENO" 5
23202 rm -f core conftest.err conftest.$ac_objext \
23203 conftest$ac_exeext conftest.$ac_ext
23204 LIBS="$gtk_save_LIBS"
23207 CFLAGS="$saved_cflags"
23208 LDFLAGS="$saved_ldflags"
23210 GDK_PACKAGES="$PANGO_PACKAGES gdk-pixbuf-2.0 cairo cairo-gobject"
23211 GDK_PRIVATE_PACKAGES="$GIO_PACKAGE $X_PACKAGES $WAYLAND_PACKAGES $cairo_backends"
23212 if test "x$enable_x11_backend" = xyes; then
23213 GDK_PRIVATE_PACKAGES="$GDK_PRIVATE_PACKAGES pangoft2"
23216 GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PACKAGES $GDK_PRIVATE_PACKAGES` $MATH_LIB"
23217 GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags $GDK_PACKAGES $GDK_PRIVATE_PACKAGES` $GDK_EXTRA_CFLAGS"
23219 # If we aren't writing explicit dependencies, then don't put the extra libraries we need
23220 # into the pkg-config files
23222 if test $enable_explicit_deps != yes ; then
23234 ########################################
23235 # Check for Accessibility Toolkit flags
23236 ########################################
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ATK flags" >&5
23240 $as_echo_n "checking ATK flags... " >&6; }
23241 if $PKG_CONFIG --exists $ATK_PACKAGES ; then
23242 ATK_CFLAGS=`$PKG_CONFIG --cflags $ATK_PACKAGES`
23243 ATK_LIBS=`$PKG_CONFIG --libs $ATK_PACKAGES`
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ATK_CFLAGS $ATK_LIBS" >&5
23246 $as_echo "$ATK_CFLAGS $ATK_LIBS" >&6; }
23249 *** Accessibility Toolkit not found. Accessibility Toolkit is required
23254 if $PKG_CONFIG --uninstalled $ATK_PACKAGES; then
23257 gtk_save_LIBS="$LIBS"
23258 LIBS="$ATK_LIBS $LIBS"
23259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23260 /* end confdefs.h. */
23262 /* Override any GCC internal prototype to avoid an error.
23263 Use char because int might match the return type of a GCC
23264 builtin and then its argument prototype would still apply. */
23268 char atk_object_get_type ();
23272 return atk_object_get_type ();
23277 if ac_fn_c_try_link "$LINENO"; then :
23281 *** Cannot link to Accessibility Toolkit. Accessibility Toolkit is required
23282 *** to build GTK+" "$LINENO" 5
23284 rm -f core conftest.err conftest.$ac_objext \
23285 conftest$ac_exeext conftest.$ac_ext
23286 LIBS="$gtk_save_LIBS"
23289 GTK_PACKAGES="atk cairo cairo-gobject gdk-pixbuf-2.0 gio-2.0"
23290 GTK_PRIVATE_PACKAGES=""
23291 if test "x$enable_x11_backend" = xyes; then
23292 GTK_PRIVATE_PACKAGES="$GTK_PRIVATE_PACKAGES pangoft2"
23297 GTK_DEP_LIBS="$GDK_EXTRA_LIBS $GTK_DEP_LIBS_FOR_X `$PKG_CONFIG --libs $PANGO_PACKAGES $GTK_PACKAGES_FOR_X $GTK_PACKAGES $GTK_PRIVATE_PACKAGES` $GTK_EXTRA_LIBS $MATH_LIB"
23298 GTK_DEP_CFLAGS="`$PKG_CONFIG --cflags $GDK_PACKAGES $GTK_PACKAGES $GTK_PRIVATE_PACKAGES` $GDK_EXTRA_CFLAGS $GTK_EXTRA_CFLAGS"
23300 if test x"$os_win32" = xyes; then
23301 GTK_EXTRA_CFLAGS="$msnative_struct"
23304 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
23305 ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
23306 PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
23307 CAIRO_PREFIX="`$PKG_CONFIG --variable=prefix cairo`"
23324 GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs gdk-pixbuf-2.0`
23327 ########################
23328 # Checks needed for gail
23329 ########################
23332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
23333 $as_echo_n "checking for library containing gethostent... " >&6; }
23334 if ${ac_cv_search_gethostent+:} false; then :
23335 $as_echo_n "(cached) " >&6
23337 ac_func_search_save_LIBS=$LIBS
23338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23339 /* end confdefs.h. */
23341 /* Override any GCC internal prototype to avoid an error.
23342 Use char because int might match the return type of a GCC
23343 builtin and then its argument prototype would still apply. */
23347 char gethostent ();
23351 return gethostent ();
23356 for ac_lib in '' nsl; do
23357 if test -z "$ac_lib"; then
23358 ac_res="none required"
23361 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23363 if ac_fn_c_try_link "$LINENO"; then :
23364 ac_cv_search_gethostent=$ac_res
23366 rm -f core conftest.err conftest.$ac_objext \
23368 if ${ac_cv_search_gethostent+:} false; then :
23372 if ${ac_cv_search_gethostent+:} false; then :
23375 ac_cv_search_gethostent=no
23377 rm conftest.$ac_ext
23378 LIBS=$ac_func_search_save_LIBS
23380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
23381 $as_echo "$ac_cv_search_gethostent" >&6; }
23382 ac_res=$ac_cv_search_gethostent
23383 if test "$ac_res" != no; then :
23384 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
23389 $as_echo_n "checking for library containing setsockopt... " >&6; }
23390 if ${ac_cv_search_setsockopt+:} false; then :
23391 $as_echo_n "(cached) " >&6
23393 ac_func_search_save_LIBS=$LIBS
23394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23395 /* end confdefs.h. */
23397 /* Override any GCC internal prototype to avoid an error.
23398 Use char because int might match the return type of a GCC
23399 builtin and then its argument prototype would still apply. */
23403 char setsockopt ();
23407 return setsockopt ();
23412 for ac_lib in '' socket; do
23413 if test -z "$ac_lib"; then
23414 ac_res="none required"
23417 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23419 if ac_fn_c_try_link "$LINENO"; then :
23420 ac_cv_search_setsockopt=$ac_res
23422 rm -f core conftest.err conftest.$ac_objext \
23424 if ${ac_cv_search_setsockopt+:} false; then :
23428 if ${ac_cv_search_setsockopt+:} false; then :
23431 ac_cv_search_setsockopt=no
23433 rm conftest.$ac_ext
23434 LIBS=$ac_func_search_save_LIBS
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
23437 $as_echo "$ac_cv_search_setsockopt" >&6; }
23438 ac_res=$ac_cv_search_setsockopt
23439 if test "$ac_res" != no; then :
23440 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
23445 $as_echo_n "checking for library containing connect... " >&6; }
23446 if ${ac_cv_search_connect+:} false; then :
23447 $as_echo_n "(cached) " >&6
23449 ac_func_search_save_LIBS=$LIBS
23450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23451 /* end confdefs.h. */
23453 /* Override any GCC internal prototype to avoid an error.
23454 Use char because int might match the return type of a GCC
23455 builtin and then its argument prototype would still apply. */
23468 for ac_lib in '' inet; do
23469 if test -z "$ac_lib"; then
23470 ac_res="none required"
23473 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23475 if ac_fn_c_try_link "$LINENO"; then :
23476 ac_cv_search_connect=$ac_res
23478 rm -f core conftest.err conftest.$ac_objext \
23480 if ${ac_cv_search_connect+:} false; then :
23484 if ${ac_cv_search_connect+:} false; then :
23487 ac_cv_search_connect=no
23489 rm conftest.$ac_ext
23490 LIBS=$ac_func_search_save_LIBS
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
23493 $as_echo "$ac_cv_search_connect" >&6; }
23494 ac_res=$ac_cv_search_connect
23495 if test "$ac_res" != no; then :
23496 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23501 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
23502 #include <sys/un.h>
23505 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
23506 struct_sockaddr_un_sun_len=true
23508 struct_sockaddr_un_suin_len=false
23511 case $struct_sockaddr_un_sun_len in
23514 cat >>confdefs.h <<_ACEOF
23515 #define HAVE_SOCKADDR_UN_SUN_LEN 1
23523 GAIL_INET_LIBS="$LIBS"
23528 ################################################################
23529 # Printing system checks
23530 ################################################################
23532 PRINT_BACKENDS="file lpr"
23534 # Check whether --enable-cups was given.
23535 if test "${enable_cups+set}" = set; then :
23536 enableval=$enable_cups;
23542 if test "x$enable_cups" = "xno"; then
23545 HAVE_CUPS_FALSE='#'
23552 # Extract the first word of "cups-config", so it can be a program name with args.
23553 set dummy cups-config; ac_word=$2
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23555 $as_echo_n "checking for $ac_word... " >&6; }
23556 if ${ac_cv_path_CUPS_CONFIG+:} false; then :
23557 $as_echo_n "(cached) " >&6
23559 case $CUPS_CONFIG in
23561 ac_cv_path_CUPS_CONFIG="$CUPS_CONFIG" # Let the user override the test with a path.
23564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23565 for as_dir in $PATH
23568 test -z "$as_dir" && as_dir=.
23569 for ac_exec_ext in '' $ac_executable_extensions; do
23570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23571 ac_cv_path_CUPS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23579 test -z "$ac_cv_path_CUPS_CONFIG" && ac_cv_path_CUPS_CONFIG="no"
23583 CUPS_CONFIG=$ac_cv_path_CUPS_CONFIG
23584 if test -n "$CUPS_CONFIG"; then
23585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_CONFIG" >&5
23586 $as_echo "$CUPS_CONFIG" >&6; }
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23589 $as_echo "no" >&6; }
23593 if test "x$CUPS_CONFIG" = "xno"; then
23594 if test "x$enable_cups" = "xauto"; then
23597 HAVE_CUPS_FALSE='#'
23605 *** cups not found.
23609 CUPS_CFLAGS=`$CUPS_CONFIG --cflags | sed 's/-O0-9*//' | sed 's/-m^\t*//g'`
23610 CUPS_LIBS=`$CUPS_CONFIG --libs`
23612 CUPS_API_VERSION=`$CUPS_CONFIG --api-version`
23613 CUPS_API_MAJOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $1}'`
23614 CUPS_API_MINOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $2}'`
23616 if test $CUPS_API_MAJOR -gt 1 -o \
23617 $CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -lt 2; then
23618 as_fn_error $? "CUPS >= 1.2 not found" "$LINENO" 5
23626 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
23627 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
23630 as_fn_error $? "*** Sorry, cups-config present but cups/cups.h missing." "$LINENO" 5
23635 PRINT_BACKENDS="$PRINT_BACKENDS cups"
23638 HAVE_CUPS_FALSE='#'
23645 gtk_save_cflags="$CFLAGS"
23646 CFLAGS="$CUPS_CFLAGS"
23647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23648 /* end confdefs.h. */
23649 #include <cups/http.h>
23653 http_t http; char *s = http.authstring;
23658 if ac_fn_c_try_compile "$LINENO"; then :
23660 $as_echo "#define HAVE_HTTP_AUTHSTRING /**/" >>confdefs.h
23663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664 CFLAGS="$gtk_save_cflags"
23668 gtk_save_libs="$LIBS"
23670 for ac_func in httpGetAuthString
23672 ac_fn_c_check_func "$LINENO" "httpGetAuthString" "ac_cv_func_httpGetAuthString"
23673 if test "x$ac_cv_func_httpGetAuthString" = xyes; then :
23674 cat >>confdefs.h <<_ACEOF
23675 #define HAVE_HTTPGETAUTHSTRING 1
23681 LIBS="$gtk_save_libs"
23685 # Checks to see if we should compile with PAPI backend for GTK+
23688 # Check whether --enable-papi was given.
23689 if test "${enable_papi+set}" = set; then :
23690 enableval=$enable_papi;
23696 if test "x$enable_papi" = "xno"; then
23699 HAVE_PAPI_FALSE='#'
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpapi" >&5
23707 $as_echo_n "checking libpapi... " >&6; }
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for papiServiceCreate in -lpapi" >&5
23709 $as_echo_n "checking for papiServiceCreate in -lpapi... " >&6; }
23710 if ${ac_cv_lib_papi_papiServiceCreate+:} false; then :
23711 $as_echo_n "(cached) " >&6
23713 ac_check_lib_save_LIBS=$LIBS
23714 LIBS="-lpapi $LIBS"
23715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23716 /* end confdefs.h. */
23718 /* Override any GCC internal prototype to avoid an error.
23719 Use char because int might match the return type of a GCC
23720 builtin and then its argument prototype would still apply. */
23724 char papiServiceCreate ();
23728 return papiServiceCreate ();
23733 if ac_fn_c_try_link "$LINENO"; then :
23734 ac_cv_lib_papi_papiServiceCreate=yes
23736 ac_cv_lib_papi_papiServiceCreate=no
23738 rm -f core conftest.err conftest.$ac_objext \
23739 conftest$ac_exeext conftest.$ac_ext
23740 LIBS=$ac_check_lib_save_LIBS
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_papi_papiServiceCreate" >&5
23743 $as_echo "$ac_cv_lib_papi_papiServiceCreate" >&6; }
23744 if test "x$ac_cv_lib_papi_papiServiceCreate" = xyes; then :
23750 if test $have_papi = yes; then
23751 PRINT_BACKENDS="$PRINT_BACKENDS papi"
23753 $as_echo "#define HAVE_PAPI /**/" >>confdefs.h
23756 if test $have_papi = yes; then
23758 HAVE_PAPI_FALSE='#'
23764 if test "x$enable_papi" = "xyes" -a "x$have_papi" = "xno"; then
23766 *** papi not found.
23771 if test "x$have_papi" = "xyes" -a "x$CUPS_CONFIG" != "xno"; then
23772 HAVE_PAPI_CUPS_TRUE=
23773 HAVE_PAPI_CUPS_FALSE='#'
23775 HAVE_PAPI_CUPS_TRUE='#'
23776 HAVE_PAPI_CUPS_FALSE=
23780 gtk_save_cppflags="$CPPFLAGS"
23781 CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS $GDK_DEP_CFLAGS"
23783 ac_fn_c_check_header_mongrel "$LINENO" "cairo-pdf.h" "ac_cv_header_cairo_pdf_h" "$ac_includes_default"
23784 if test "x$ac_cv_header_cairo_pdf_h" = xyes; then :
23788 *** Can't find cairo-pdf.h. You must build Cairo with the pdf
23789 *** backend enabled." "$LINENO" 5
23794 if test "$os_win32" != "yes"; then
23795 ac_fn_c_check_header_mongrel "$LINENO" "cairo-ps.h" "ac_cv_header_cairo_ps_h" "$ac_includes_default"
23796 if test "x$ac_cv_header_cairo_ps_h" = xyes; then :
23800 *** Can't find cairo-ps.h. You must build Cairo with the
23801 *** postscript backend enabled." "$LINENO" 5
23806 ac_fn_c_check_header_mongrel "$LINENO" "cairo-svg.h" "ac_cv_header_cairo_svg_h" "$ac_includes_default"
23807 if test "x$ac_cv_header_cairo_svg_h" = xyes; then :
23811 *** Cannot find cairo-svg.h. You must build Cairo with the
23812 *** svg backend enabled." "$LINENO" 5
23818 CPPFLAGS="$gtk_save_cppflags"
23821 # Check whether --enable-test-print-backend was given.
23822 if test "${enable_test_print_backend+set}" = set; then :
23823 enableval=$enable_test_print_backend;
23825 enable_test_print_backend=no
23828 if test "x$enable_test_print_backend" != "xno" ; then
23829 PRINT_BACKENDS="$PRINT_BACKENDS test"
23831 if test "x$enable_test_print_backend" != "xno"; then
23832 TEST_PRINT_BACKEND_TRUE=
23833 TEST_PRINT_BACKEND_FALSE='#'
23835 TEST_PRINT_BACKEND_TRUE='#'
23836 TEST_PRINT_BACKEND_FALSE=
23840 if test "$os_win32" = "yes"; then
23841 ac_fn_c_check_type "$LINENO" "IPrintDialogCallback" "ac_cv_type_IPrintDialogCallback" "#include <windows.h>
23843 if test "x$ac_cv_type_IPrintDialogCallback" = xyes; then :
23845 cat >>confdefs.h <<_ACEOF
23846 #define HAVE_IPRINTDIALOGCALLBACK 1
23854 ################################################################
23855 # Strip -export-dynamic from the link lines of various libraries
23856 ################################################################
23859 # pkg-config --libs gmodule includes the "export_dynamic" flag,
23860 # but this flag is only meaningful for executables. For libraries
23861 # the effect is undefined; what it causes on Linux is that the
23862 # export list from -export-symbols-regex is ignored and everything
23865 # We are using gmodule-no-export now, but I'm leaving the stripping
23866 # code in place for now, since pango and atk still require gmodule.
23868 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
23869 if test -n "$export_dynamic"; then
23870 GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"`
23871 GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"`
23880 # Check whether --enable-schemas-compile was given.
23881 if test "${enable_schemas_compile+set}" = set; then :
23882 enableval=$enable_schemas_compile; case ${enableval} in
23883 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
23884 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
23885 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
23896 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
23897 if test -n "$ac_tool_prefix"; then
23898 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23899 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23901 $as_echo_n "checking for $ac_word... " >&6; }
23902 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23903 $as_echo_n "(cached) " >&6
23905 case $PKG_CONFIG in
23907 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23911 for as_dir in $PATH
23914 test -z "$as_dir" && as_dir=.
23915 for ac_exec_ext in '' $ac_executable_extensions; do
23916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23917 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23928 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23929 if test -n "$PKG_CONFIG"; then
23930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23931 $as_echo "$PKG_CONFIG" >&6; }
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23934 $as_echo "no" >&6; }
23939 if test -z "$ac_cv_path_PKG_CONFIG"; then
23940 ac_pt_PKG_CONFIG=$PKG_CONFIG
23941 # Extract the first word of "pkg-config", so it can be a program name with args.
23942 set dummy pkg-config; ac_word=$2
23943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23944 $as_echo_n "checking for $ac_word... " >&6; }
23945 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
23946 $as_echo_n "(cached) " >&6
23948 case $ac_pt_PKG_CONFIG in
23950 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23954 for as_dir in $PATH
23957 test -z "$as_dir" && as_dir=.
23958 for ac_exec_ext in '' $ac_executable_extensions; do
23959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23960 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23971 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23972 if test -n "$ac_pt_PKG_CONFIG"; then
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23974 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23977 $as_echo "no" >&6; }
23980 if test "x$ac_pt_PKG_CONFIG" = x; then
23983 case $cross_compiling:$ac_tool_warned in
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23987 ac_tool_warned=yes ;;
23989 PKG_CONFIG=$ac_pt_PKG_CONFIG
23992 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23996 if test -n "$PKG_CONFIG"; then
23997 _pkg_min_version=0.16
23998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
23999 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24000 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24002 $as_echo "yes" >&6; }
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24005 $as_echo "no" >&6; }
24009 gsettingsschemadir=${datadir}/glib-2.0/schemas
24011 if test x$cross_compiling != xyes; then
24012 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
24014 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
24015 set dummy glib-compile-schemas; ac_word=$2
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24017 $as_echo_n "checking for $ac_word... " >&6; }
24018 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
24019 $as_echo_n "(cached) " >&6
24021 case $GLIB_COMPILE_SCHEMAS in
24023 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
24026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24027 for as_dir in $PATH
24030 test -z "$as_dir" && as_dir=.
24031 for ac_exec_ext in '' $ac_executable_extensions; do
24032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24033 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
24034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24044 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
24045 if test -n "$GLIB_COMPILE_SCHEMAS"; then
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
24047 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24050 $as_echo "no" >&6; }
24056 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
24057 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
24063 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
24065 mostlyclean-am: clean-gsettings-schemas
24067 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
24069 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
24070 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
24072 all-am: $(gsettings_SCHEMAS:.xml=.valid)
24073 uninstall-am: uninstall-gsettings-schemas
24074 install-data-am: install-gsettings-schemas
24076 .SECONDARY: $(gsettings_SCHEMAS)
24078 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
24080 if test -n "$^"; then \
24081 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
24082 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
24083 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
24086 uninstall-gsettings-schemas:
24087 @$(NORMAL_UNINSTALL)
24088 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
24089 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
24090 test -n "$$files" || exit 0; \
24091 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
24092 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
24093 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
24095 clean-gsettings-schemas:
24096 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
24098 ifdef gsettings_ENUM_NAMESPACE
24099 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
24100 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
24114 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
24117 ##################################################
24118 # GObject introspection
24119 ##################################################
24124 # Check whether --enable-introspection was given.
24125 if test "${enable_introspection+set}" = set; then :
24126 enableval=$enable_introspection;
24128 enable_introspection=auto
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
24133 $as_echo_n "checking for gobject-introspection... " >&6; }
24135 case $enable_introspection in #(
24137 found_introspection="no (disabled, use --enable-introspection to enable)"
24140 if test -n "$PKG_CONFIG" && \
24141 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
24142 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
24144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24145 test $ac_status = 0; }; then
24148 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
24150 if test -n "$PKG_CONFIG" && \
24151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.10.1\""; } >&5
24152 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.10.1") 2>&5
24154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24155 test $ac_status = 0; }; then
24156 found_introspection=yes
24158 as_fn_error $? "You need to have gobject-introspection >= 0.10.1 installed to build gtk+" "$LINENO" 5
24162 if test -n "$PKG_CONFIG" && \
24163 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.10.1\""; } >&5
24164 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.10.1") 2>&5
24166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24167 test $ac_status = 0; }; then
24168 found_introspection=yes
24170 found_introspection=no
24172 enable_introspection=$found_introspection
24175 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
24179 $as_echo "$found_introspection" >&6; }
24181 INTROSPECTION_SCANNER=
24182 INTROSPECTION_COMPILER=
24183 INTROSPECTION_GENERATE=
24184 INTROSPECTION_GIRDIR=
24185 INTROSPECTION_TYPELIBDIR=
24186 if test "x$found_introspection" = "xyes"; then
24187 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
24188 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
24189 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
24190 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
24191 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
24192 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
24193 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
24194 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
24205 if test "x$found_introspection" = "xyes"; then
24206 HAVE_INTROSPECTION_TRUE=
24207 HAVE_INTROSPECTION_FALSE='#'
24209 HAVE_INTROSPECTION_TRUE='#'
24210 HAVE_INTROSPECTION_FALSE=
24216 ##################################################
24217 # Packagekit module
24218 #################################################
24220 # Check whether --enable-packagekit was given.
24221 if test "${enable_packagekit+set}" = set; then :
24222 enableval=$enable_packagekit; enable_packagekit="$enableval"
24224 enable_packagekit=auto
24227 if test "$enable_packagekit" = "auto"; then
24228 if test "$os_win32" = "yes"; then
24229 enable_packagekit=no
24231 enable_packagekit=yes
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use PackageKit" >&5
24236 $as_echo_n "checking whether to use PackageKit... " >&6; }
24237 build_packagekit=no
24238 if test "x$enable_packagekit" != "xno"; then
24239 if test "$os_win32" != "yes"; then
24240 build_packagekit=yes
24242 $as_echo "#define ENABLE_PACKAGEKIT 1" >>confdefs.h
24245 as_fn_error $? "packagekit support is not available on win32" "$LINENO" 5
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_packagekit" >&5
24249 $as_echo "$build_packagekit" >&6; }
24251 if test "x$build_packagekit" = "xyes"; then
24252 ENABLE_PACKAGEKIT_TRUE=
24253 ENABLE_PACKAGEKIT_FALSE='#'
24255 ENABLE_PACKAGEKIT_TRUE='#'
24256 ENABLE_PACKAGEKIT_FALSE=
24260 ##################################################
24262 #################################################
24264 # Check whether --enable-colord was given.
24265 if test "${enable_colord+set}" = set; then :
24266 enableval=$enable_colord; enable_colord="$enableval"
24272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use colord" >&5
24273 $as_echo_n "checking whether to use colord... " >&6; }
24274 if test "$enable_colord" = "auto"; then
24275 if test "$os_win32" = "yes"; then
24279 if test "$enable_colord" != "no"; then
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24281 $as_echo "yes" >&6; }
24283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24284 $as_echo "no" >&6; }
24288 if test "$enable_colord" != "no"; then
24289 if test "$os_win32" != "yes"; then
24292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COLORD" >&5
24293 $as_echo_n "checking for COLORD... " >&6; }
24295 if test -n "$COLORD_CFLAGS"; then
24296 pkg_cv_COLORD_CFLAGS="$COLORD_CFLAGS"
24297 elif test -n "$PKG_CONFIG"; then
24298 if test -n "$PKG_CONFIG" && \
24299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"colord >= 0.1.9\""; } >&5
24300 ($PKG_CONFIG --exists --print-errors "colord >= 0.1.9") 2>&5
24302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24303 test $ac_status = 0; }; then
24304 pkg_cv_COLORD_CFLAGS=`$PKG_CONFIG --cflags "colord >= 0.1.9" 2>/dev/null`
24311 if test -n "$COLORD_LIBS"; then
24312 pkg_cv_COLORD_LIBS="$COLORD_LIBS"
24313 elif test -n "$PKG_CONFIG"; then
24314 if test -n "$PKG_CONFIG" && \
24315 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"colord >= 0.1.9\""; } >&5
24316 ($PKG_CONFIG --exists --print-errors "colord >= 0.1.9") 2>&5
24318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24319 test $ac_status = 0; }; then
24320 pkg_cv_COLORD_LIBS=`$PKG_CONFIG --libs "colord >= 0.1.9" 2>/dev/null`
24330 if test $pkg_failed = yes; then
24331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24332 $as_echo "no" >&6; }
24334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24335 _pkg_short_errors_supported=yes
24337 _pkg_short_errors_supported=no
24339 if test $_pkg_short_errors_supported = yes; then
24340 COLORD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "colord >= 0.1.9" 2>&1`
24342 COLORD_PKG_ERRORS=`$PKG_CONFIG --print-errors "colord >= 0.1.9" 2>&1`
24344 # Put the nasty error message in config.log where it belongs
24345 echo "$COLORD_PKG_ERRORS" >&5
24348 elif test $pkg_failed = untried; then
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24350 $as_echo "no" >&6; }
24353 COLORD_CFLAGS=$pkg_cv_COLORD_CFLAGS
24354 COLORD_LIBS=$pkg_cv_COLORD_LIBS
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24356 $as_echo "yes" >&6; }
24359 if test "$enable_colord" = "yes"; then
24360 if test "$have_colord" = "no"; then
24361 as_fn_error $? "--enable-colord specified, but not available" "$LINENO" 5
24365 as_fn_error $? "colord support is not available on win32" "$LINENO" 5
24369 if test "$have_colord" = "yes"; then
24371 $as_echo "#define HAVE_COLORD 1" >>confdefs.h
24374 if test "x$have_colord" = "xyes"; then
24376 HAVE_COLORD_FALSE='#'
24378 HAVE_COLORD_TRUE='#'
24383 ##################################################
24384 # Checks for gtk-doc and docbook-tools
24385 ##################################################
24390 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
24391 set dummy gtkdoc-check; ac_word=$2
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24393 $as_echo_n "checking for $ac_word... " >&6; }
24394 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
24395 $as_echo_n "(cached) " >&6
24397 case $GTKDOC_CHECK in
24399 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
24402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24403 for as_dir in $PATH
24406 test -z "$as_dir" && as_dir=.
24407 for ac_exec_ext in '' $ac_executable_extensions; do
24408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24409 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
24410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24420 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
24421 if test -n "$GTKDOC_CHECK"; then
24422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
24423 $as_echo "$GTKDOC_CHECK" >&6; }
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24426 $as_echo "no" >&6; }
24430 for ac_prog in gtkdoc-rebase
24432 # Extract the first word of "$ac_prog", so it can be a program name with args.
24433 set dummy $ac_prog; ac_word=$2
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24435 $as_echo_n "checking for $ac_word... " >&6; }
24436 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
24437 $as_echo_n "(cached) " >&6
24439 case $GTKDOC_REBASE in
24441 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
24444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24445 for as_dir in $PATH
24448 test -z "$as_dir" && as_dir=.
24449 for ac_exec_ext in '' $ac_executable_extensions; do
24450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24451 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
24452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24462 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
24463 if test -n "$GTKDOC_REBASE"; then
24464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
24465 $as_echo "$GTKDOC_REBASE" >&6; }
24467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24468 $as_echo "no" >&6; }
24472 test -n "$GTKDOC_REBASE" && break
24474 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
24476 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
24477 set dummy gtkdoc-mkpdf; ac_word=$2
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24479 $as_echo_n "checking for $ac_word... " >&6; }
24480 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
24481 $as_echo_n "(cached) " >&6
24483 case $GTKDOC_MKPDF in
24485 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
24488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24489 for as_dir in $PATH
24492 test -z "$as_dir" && as_dir=.
24493 for ac_exec_ext in '' $ac_executable_extensions; do
24494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24495 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
24496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24506 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
24507 if test -n "$GTKDOC_MKPDF"; then
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
24509 $as_echo "$GTKDOC_MKPDF" >&6; }
24511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24512 $as_echo "no" >&6; }
24518 # Check whether --with-html-dir was given.
24519 if test "${with_html_dir+set}" = set; then :
24520 withval=$with_html_dir;
24522 with_html_dir='${datadir}/gtk-doc/html'
24525 HTML_DIR="$with_html_dir"
24528 # Check whether --enable-gtk-doc was given.
24529 if test "${enable_gtk_doc+set}" = set; then :
24530 enableval=$enable_gtk_doc;
24536 if test x$enable_gtk_doc = xyes; then
24537 if test -n "$PKG_CONFIG" && \
24538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
24539 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
24541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24542 test $ac_status = 0; }; then
24545 as_fn_error $? "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
24547 if test "x$PACKAGE_NAME" != "xglib"; then
24550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
24551 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
24553 if test -n "$GTKDOC_DEPS_CFLAGS"; then
24554 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
24555 elif test -n "$PKG_CONFIG"; then
24556 if test -n "$PKG_CONFIG" && \
24557 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
24558 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
24560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24561 test $ac_status = 0; }; then
24562 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
24569 if test -n "$GTKDOC_DEPS_LIBS"; then
24570 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
24571 elif test -n "$PKG_CONFIG"; then
24572 if test -n "$PKG_CONFIG" && \
24573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
24574 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
24576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24577 test $ac_status = 0; }; then
24578 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
24588 if test $pkg_failed = yes; then
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24590 $as_echo "no" >&6; }
24592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24593 _pkg_short_errors_supported=yes
24595 _pkg_short_errors_supported=no
24597 if test $_pkg_short_errors_supported = yes; then
24598 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
24600 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
24602 # Put the nasty error message in config.log where it belongs
24603 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
24605 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
24607 $GTKDOC_DEPS_PKG_ERRORS
24609 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24610 installed software in a non-standard prefix.
24612 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
24613 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
24614 See the pkg-config man page for more details." "$LINENO" 5
24616 elif test $pkg_failed = untried; then
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24618 $as_echo "no" >&6; }
24619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24621 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24622 is in your PATH or set the PKG_CONFIG environment variable to the full
24623 path to pkg-config.
24625 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
24626 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
24627 See the pkg-config man page for more details.
24629 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24630 See \`config.log' for more details" "$LINENO" 5; }
24633 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
24634 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
24635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24636 $as_echo "yes" >&6; }
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
24643 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
24644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
24645 $as_echo "$enable_gtk_doc" >&6; }
24647 # Check whether --enable-gtk-doc-html was given.
24648 if test "${enable_gtk_doc_html+set}" = set; then :
24649 enableval=$enable_gtk_doc_html;
24651 enable_gtk_doc_html=yes
24654 # Check whether --enable-gtk-doc-pdf was given.
24655 if test "${enable_gtk_doc_pdf+set}" = set; then :
24656 enableval=$enable_gtk_doc_pdf;
24658 enable_gtk_doc_pdf=no
24662 if test -z "$GTKDOC_MKPDF"; then
24663 enable_gtk_doc_pdf=no
24667 if test x$enable_gtk_doc = xyes; then
24668 ENABLE_GTK_DOC_TRUE=
24669 ENABLE_GTK_DOC_FALSE='#'
24671 ENABLE_GTK_DOC_TRUE='#'
24672 ENABLE_GTK_DOC_FALSE=
24675 if test x$enable_gtk_doc_html = xyes; then
24676 GTK_DOC_BUILD_HTML_TRUE=
24677 GTK_DOC_BUILD_HTML_FALSE='#'
24679 GTK_DOC_BUILD_HTML_TRUE='#'
24680 GTK_DOC_BUILD_HTML_FALSE=
24683 if test x$enable_gtk_doc_pdf = xyes; then
24684 GTK_DOC_BUILD_PDF_TRUE=
24685 GTK_DOC_BUILD_PDF_FALSE='#'
24687 GTK_DOC_BUILD_PDF_TRUE='#'
24688 GTK_DOC_BUILD_PDF_FALSE=
24691 if test -n "$LIBTOOL"; then
24692 GTK_DOC_USE_LIBTOOL_TRUE=
24693 GTK_DOC_USE_LIBTOOL_FALSE='#'
24695 GTK_DOC_USE_LIBTOOL_TRUE='#'
24696 GTK_DOC_USE_LIBTOOL_FALSE=
24699 if test -n "$GTKDOC_REBASE"; then
24700 GTK_DOC_USE_REBASE_TRUE=
24701 GTK_DOC_USE_REBASE_FALSE='#'
24703 GTK_DOC_USE_REBASE_TRUE='#'
24704 GTK_DOC_USE_REBASE_FALSE=
24709 # Extract the first word of "db2html", so it can be a program name with args.
24710 set dummy db2html; ac_word=$2
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24712 $as_echo_n "checking for $ac_word... " >&6; }
24713 if ${ac_cv_prog_DB2HTML+:} false; then :
24714 $as_echo_n "(cached) " >&6
24716 if test -n "$DB2HTML"; then
24717 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
24719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24720 for as_dir in $PATH
24723 test -z "$as_dir" && as_dir=.
24724 for ac_exec_ext in '' $ac_executable_extensions; do
24725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24726 ac_cv_prog_DB2HTML="true"
24727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24734 test -z "$ac_cv_prog_DB2HTML" && ac_cv_prog_DB2HTML="false"
24737 DB2HTML=$ac_cv_prog_DB2HTML
24738 if test -n "$DB2HTML"; then
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2HTML" >&5
24740 $as_echo "$DB2HTML" >&6; }
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24743 $as_echo "no" >&6; }
24749 HAVE_DOCBOOK_FALSE='#'
24751 HAVE_DOCBOOK_TRUE='#'
24752 HAVE_DOCBOOK_FALSE=
24756 # Check whether --enable-man was given.
24757 if test "${enable_man+set}" = set; then :
24758 enableval=$enable_man; enable_man=yes
24764 if test "${enable_man}" != no; then
24765 # Extract the first word of "xsltproc", so it can be a program name with args.
24766 set dummy xsltproc; ac_word=$2
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24768 $as_echo_n "checking for $ac_word... " >&6; }
24769 if ${ac_cv_path_XSLTPROC+:} false; then :
24770 $as_echo_n "(cached) " >&6
24774 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
24777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24778 for as_dir in $PATH
24781 test -z "$as_dir" && as_dir=.
24782 for ac_exec_ext in '' $ac_executable_extensions; do
24783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24784 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
24785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24795 XSLTPROC=$ac_cv_path_XSLTPROC
24796 if test -n "$XSLTPROC"; then
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
24798 $as_echo "$XSLTPROC" >&6; }
24800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24801 $as_echo "no" >&6; }
24805 if test -z "$XSLTPROC"; then
24810 # check for the presence of the XML catalog
24812 # Check whether --with-xml-catalog was given.
24813 if test "${with_xml_catalog+set}" = set; then :
24814 withval=$with_xml_catalog;
24816 with_xml_catalog=/etc/xml/catalog
24819 jh_found_xmlcatalog=true
24820 XML_CATALOG_FILE="$with_xml_catalog"
24822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML catalog ($XML_CATALOG_FILE)" >&5
24823 $as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; }
24824 if test -f "$XML_CATALOG_FILE"; then
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24826 $as_echo "found" >&6; }
24828 jh_found_xmlcatalog=false
24829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24830 $as_echo "not found" >&6; }
24833 # check for the xmlcatalog program
24834 # Extract the first word of "xmlcatalog", so it can be a program name with args.
24835 set dummy xmlcatalog; ac_word=$2
24836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24837 $as_echo_n "checking for $ac_word... " >&6; }
24838 if ${ac_cv_path_XMLCATALOG+:} false; then :
24839 $as_echo_n "(cached) " >&6
24841 case $XMLCATALOG in
24843 ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
24846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24847 for as_dir in $PATH
24850 test -z "$as_dir" && as_dir=.
24851 for ac_exec_ext in '' $ac_executable_extensions; do
24852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24853 ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
24854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24861 test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
24865 XMLCATALOG=$ac_cv_path_XMLCATALOG
24866 if test -n "$XMLCATALOG"; then
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
24868 $as_echo "$XMLCATALOG" >&6; }
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24871 $as_echo "no" >&6; }
24875 if test "x$XMLCATALOG" = xno; then
24876 jh_found_xmlcatalog=false
24879 if $jh_found_xmlcatalog; then
24886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XML DTD V4.1.2 in XML catalog" >&5
24887 $as_echo_n "checking for DocBook XML DTD V4.1.2 in XML catalog... " >&6; }
24888 if $jh_found_xmlcatalog && \
24889 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.1.2//EN\" >&2"; } >&5
24890 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.1.2//EN" >&2) 2>&5
24892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24893 test $ac_status = 0; }; then
24894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24895 $as_echo "found" >&6; }
24897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24898 $as_echo "not found" >&6; }
24903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XSL Stylesheets in XML catalog" >&5
24904 $as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; }
24905 if $jh_found_xmlcatalog && \
24906 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl\" >&2"; } >&5
24907 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >&2) 2>&5
24909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24910 test $ac_status = 0; }; then
24911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
24912 $as_echo "found" >&6; }
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24915 $as_echo "not found" >&6; }
24921 if test x$enable_man != xno; then
24923 ENABLE_MAN_FALSE='#'
24925 ENABLE_MAN_TRUE='#'
24931 ##################################################
24933 ##################################################
24935 ac_config_commands="$ac_config_commands gdk/gdkconfig.h"
24938 # Check whether --enable-Bsymbolic was given.
24939 if test "${enable_Bsymbolic+set}" = set; then :
24940 enableval=$enable_Bsymbolic;
24942 SAVED_LDFLAGS="${LDFLAGS}"
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
24944 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
24945 LDFLAGS=-Wl,-Bsymbolic-functions
24946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h. */
24952 int main (void) { return 0; }
24957 if ac_fn_c_try_link "$LINENO"; then :
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24959 $as_echo "yes" >&6; }
24960 enable_Bsymbolic=yes
24962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24963 $as_echo "no" >&6; }
24964 enable_Bsymbolic=no
24966 rm -f core conftest.err conftest.$ac_objext \
24967 conftest$ac_exeext conftest.$ac_ext
24968 LDFLAGS="${SAVED_LDFLAGS}"
24972 if test "x${enable_Bsymbolic}" = "xyes" ; then
24973 GTK_LINK_FLAGS=-Wl,-Bsymbolic-functions
24977 ac_config_files="$ac_config_files config.h.win32 gtk-zip.sh Makefile gdk-3.0.pc gtk+-3.0.pc gtk+-unix-print-3.0.pc gail-3.0.pc m4macros/Makefile po/Makefile.in po-properties/Makefile.in demos/Makefile demos/gtk-demo/Makefile demos/gtk-demo/geninclude.pl demos/pixbuf-demo/Makefile demos/widget-factory/Makefile examples/Makefile tests/Makefile tests/a11y/Makefile tests/css/Makefile tests/css/parser/Makefile tests/reftests/Makefile tests/visuals/Makefile docs/Makefile docs/reference/Makefile docs/reference/gdk/Makefile docs/reference/gdk/version.xml docs/reference/gtk/Makefile docs/reference/gtk/version.xml docs/reference/libgail-util/Makefile docs/reference/libgail-util/version.xml docs/tools/Makefile build/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs10/Makefile gdk/Makefile gdk/broadway/Makefile gdk/x11/Makefile gdk/win32/Makefile gdk/win32/rc/Makefile gdk/win32/rc/gdk.rc gdk/quartz/Makefile gdk/wayland/Makefile gdk/tests/Makefile gdk/gdkversionmacros.h gtk/Makefile gtk/makefile.msc gtk/gtkversion.h gtk/gtk-win32.rc gtk/a11y/Makefile gtk/tests/Makefile libgail-util/Makefile modules/Makefile modules/engines/Makefile modules/engines/pixbuf/Makefile modules/engines/ms-windows/Makefile modules/engines/ms-windows/Theme/Makefile modules/engines/ms-windows/Theme/gtk-3.0/Makefile modules/input/Makefile modules/printbackends/Makefile modules/printbackends/cups/Makefile modules/printbackends/lpr/Makefile modules/printbackends/file/Makefile modules/printbackends/papi/Makefile modules/printbackends/test/Makefile perf/Makefile"
24980 cat >confcache <<\_ACEOF
24981 # This file is a shell script that caches the results of configure
24982 # tests run on this system so they can be shared between configure
24983 # scripts and configure runs, see configure's option --config-cache.
24984 # It is not useful on other systems. If it contains results you don't
24985 # want to keep, you may remove or edit it.
24987 # config.status only pays attention to the cache file if you give it
24988 # the --recheck option to rerun configure.
24990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24992 # following values.
24996 # The following way of writing the cache mishandles newlines in values,
24997 # but we know of no workaround that is simple, portable, and efficient.
24998 # So, we kill variables containing newlines.
24999 # Ultrix sh set writes to stderr and can't be redirected directly,
25000 # and sets the high bit in the cache file unless we assign to the vars.
25002 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25003 eval ac_val=\$$ac_var
25007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25011 _ | IFS | as_nl) ;; #(
25012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25013 *) { eval $ac_var=; unset $ac_var;} ;;
25019 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25020 *${as_nl}ac_space=\ *)
25021 # `set' does not quote correctly, so add quotes: double-quote
25022 # substitution turns \\\\ into \\, and sed turns \\ into \.
25025 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25028 # `set' quotes correctly as required by POSIX, so do not add quotes.
25029 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25038 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25040 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25042 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25043 if test -w "$cache_file"; then
25044 if test "x$cache_file" != "x/dev/null"; then
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25046 $as_echo "$as_me: updating cache $cache_file" >&6;}
25047 if test ! -f "$cache_file" || test -h "$cache_file"; then
25048 cat confcache >"$cache_file"
25050 case $cache_file in #(
25052 mv -f confcache "$cache_file"$$ &&
25053 mv -f "$cache_file"$$ "$cache_file" ;; #(
25055 mv -f confcache "$cache_file" ;;
25060 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25061 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25066 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25067 # Let make expand exec_prefix.
25068 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25070 DEFS=-DHAVE_CONFIG_H
25075 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25076 # 1. Remove the extension, and $U if already installed.
25077 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25078 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25079 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25080 # will be set to the directory where LIBOBJS objects are built.
25081 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25082 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25084 LIBOBJS=$ac_libobjs
25086 LTLIBOBJS=$ac_ltlibobjs
25089 if test -n "$EXEEXT"; then
25091 am__EXEEXT_FALSE='#'
25093 am__EXEEXT_TRUE='#'
25097 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25098 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
25099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25101 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25102 as_fn_error $? "conditional \"AMDEP\" was never defined.
25103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25105 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25106 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25109 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25110 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
25111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25113 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
25114 as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
25115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25117 if test -z "${HAVE_OBJC_TRUE}" && test -z "${HAVE_OBJC_FALSE}"; then
25118 as_fn_error $? "conditional \"HAVE_OBJC\" was never defined.
25119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25121 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
25122 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
25123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25125 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
25126 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
25127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25129 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
25130 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
25131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25133 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
25134 as_fn_error $? "conditional \"OS_UNIX\" was never defined.
25135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25137 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
25138 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
25139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25141 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
25142 as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
25143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25145 if test -z "${BUILD_ICON_CACHE_TRUE}" && test -z "${BUILD_ICON_CACHE_FALSE}"; then
25146 as_fn_error $? "conditional \"BUILD_ICON_CACHE\" was never defined.
25147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25149 if test -z "${USE_WIN32_TRUE}" && test -z "${USE_WIN32_FALSE}"; then
25150 as_fn_error $? "conditional \"USE_WIN32\" was never defined.
25151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25153 if test -z "${USE_WIN32_TRUE}" && test -z "${USE_WIN32_FALSE}"; then
25154 as_fn_error $? "conditional \"USE_WIN32\" was never defined.
25155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25157 if test -z "${USE_QUARTZ_TRUE}" && test -z "${USE_QUARTZ_FALSE}"; then
25158 as_fn_error $? "conditional \"USE_QUARTZ\" was never defined.
25159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25161 if test -z "${USE_QUARTZ_TRUE}" && test -z "${USE_QUARTZ_FALSE}"; then
25162 as_fn_error $? "conditional \"USE_QUARTZ\" was never defined.
25163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25165 if test -z "${USE_BROADWAY_TRUE}" && test -z "${USE_BROADWAY_FALSE}"; then
25166 as_fn_error $? "conditional \"USE_BROADWAY\" was never defined.
25167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25169 if test -z "${USE_BROADWAY_TRUE}" && test -z "${USE_BROADWAY_FALSE}"; then
25170 as_fn_error $? "conditional \"USE_BROADWAY\" was never defined.
25171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25173 if test -z "${USE_WAYLAND_TRUE}" && test -z "${USE_WAYLAND_FALSE}"; then
25174 as_fn_error $? "conditional \"USE_WAYLAND\" was never defined.
25175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25177 if test -z "${USE_WAYLAND_TRUE}" && test -z "${USE_WAYLAND_FALSE}"; then
25178 as_fn_error $? "conditional \"USE_WAYLAND\" was never defined.
25179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25181 if test -z "${DISABLE_EXPLICIT_DEPS_TRUE}" && test -z "${DISABLE_EXPLICIT_DEPS_FALSE}"; then
25182 as_fn_error $? "conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
25183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25185 if test -z "${BUILD_DYNAMIC_MODULES_TRUE}" && test -z "${BUILD_DYNAMIC_MODULES_FALSE}"; then
25186 as_fn_error $? "conditional \"BUILD_DYNAMIC_MODULES\" was never defined.
25187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25189 if test -z "${HAVE_INCLUDED_IMMMODULES_TRUE}" && test -z "${HAVE_INCLUDED_IMMMODULES_FALSE}"; then
25190 as_fn_error $? "conditional \"HAVE_INCLUDED_IMMMODULES\" was never defined.
25191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25193 if test -z "${INCLUDE_IM_AM_ET_TRUE}" && test -z "${INCLUDE_IM_AM_ET_FALSE}"; then
25194 as_fn_error $? "conditional \"INCLUDE_IM_AM_ET\" was never defined.
25195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25197 if test -z "${INCLUDE_IM_CEDILLA_TRUE}" && test -z "${INCLUDE_IM_CEDILLA_FALSE}"; then
25198 as_fn_error $? "conditional \"INCLUDE_IM_CEDILLA\" was never defined.
25199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25201 if test -z "${INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE}" && test -z "${INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE}"; then
25202 as_fn_error $? "conditional \"INCLUDE_IM_CYRILLIC_TRANSLIT\" was never defined.
25203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25205 if test -z "${INCLUDE_IM_IME_TRUE}" && test -z "${INCLUDE_IM_IME_FALSE}"; then
25206 as_fn_error $? "conditional \"INCLUDE_IM_IME\" was never defined.
25207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25209 if test -z "${INCLUDE_IM_INUKTITUT_TRUE}" && test -z "${INCLUDE_IM_INUKTITUT_FALSE}"; then
25210 as_fn_error $? "conditional \"INCLUDE_IM_INUKTITUT\" was never defined.
25211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25213 if test -z "${INCLUDE_IM_IPA_TRUE}" && test -z "${INCLUDE_IM_IPA_FALSE}"; then
25214 as_fn_error $? "conditional \"INCLUDE_IM_IPA\" was never defined.
25215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25217 if test -z "${INCLUDE_IM_MULTIPRESS_TRUE}" && test -z "${INCLUDE_IM_MULTIPRESS_FALSE}"; then
25218 as_fn_error $? "conditional \"INCLUDE_IM_MULTIPRESS\" was never defined.
25219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25221 if test -z "${INCLUDE_IM_THAI_TRUE}" && test -z "${INCLUDE_IM_THAI_FALSE}"; then
25222 as_fn_error $? "conditional \"INCLUDE_IM_THAI\" was never defined.
25223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25225 if test -z "${INCLUDE_IM_TI_ER_TRUE}" && test -z "${INCLUDE_IM_TI_ER_FALSE}"; then
25226 as_fn_error $? "conditional \"INCLUDE_IM_TI_ER\" was never defined.
25227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25229 if test -z "${INCLUDE_IM_TI_ET_TRUE}" && test -z "${INCLUDE_IM_TI_ET_FALSE}"; then
25230 as_fn_error $? "conditional \"INCLUDE_IM_TI_ET\" was never defined.
25231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25233 if test -z "${INCLUDE_IM_VIQR_TRUE}" && test -z "${INCLUDE_IM_VIQR_FALSE}"; then
25234 as_fn_error $? "conditional \"INCLUDE_IM_VIQR\" was never defined.
25235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25237 if test -z "${INCLUDE_IM_XIM_TRUE}" && test -z "${INCLUDE_IM_XIM_FALSE}"; then
25238 as_fn_error $? "conditional \"INCLUDE_IM_XIM\" was never defined.
25239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25241 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
25242 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
25243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25245 if test -z "${USE_EXTERNAL_ICON_CACHE_TRUE}" && test -z "${USE_EXTERNAL_ICON_CACHE_FALSE}"; then
25246 as_fn_error $? "conditional \"USE_EXTERNAL_ICON_CACHE\" was never defined.
25247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25249 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
25250 as_fn_error $? "conditional \"USE_X11\" was never defined.
25251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25253 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
25254 as_fn_error $? "conditional \"USE_X11\" was never defined.
25255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25257 if test -z "${HAVE_CUPS_TRUE}" && test -z "${HAVE_CUPS_FALSE}"; then
25258 as_fn_error $? "conditional \"HAVE_CUPS\" was never defined.
25259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25261 if test -z "${HAVE_CUPS_TRUE}" && test -z "${HAVE_CUPS_FALSE}"; then
25262 as_fn_error $? "conditional \"HAVE_CUPS\" was never defined.
25263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25265 if test -z "${HAVE_CUPS_TRUE}" && test -z "${HAVE_CUPS_FALSE}"; then
25266 as_fn_error $? "conditional \"HAVE_CUPS\" was never defined.
25267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25269 if test -z "${HAVE_PAPI_TRUE}" && test -z "${HAVE_PAPI_FALSE}"; then
25270 as_fn_error $? "conditional \"HAVE_PAPI\" was never defined.
25271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25273 if test -z "${HAVE_PAPI_TRUE}" && test -z "${HAVE_PAPI_FALSE}"; then
25274 as_fn_error $? "conditional \"HAVE_PAPI\" was never defined.
25275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25277 if test -z "${HAVE_PAPI_CUPS_TRUE}" && test -z "${HAVE_PAPI_CUPS_FALSE}"; then
25278 as_fn_error $? "conditional \"HAVE_PAPI_CUPS\" was never defined.
25279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25281 if test -z "${TEST_PRINT_BACKEND_TRUE}" && test -z "${TEST_PRINT_BACKEND_FALSE}"; then
25282 as_fn_error $? "conditional \"TEST_PRINT_BACKEND\" was never defined.
25283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25285 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
25286 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
25287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25289 if test -z "${ENABLE_PACKAGEKIT_TRUE}" && test -z "${ENABLE_PACKAGEKIT_FALSE}"; then
25290 as_fn_error $? "conditional \"ENABLE_PACKAGEKIT\" was never defined.
25291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25293 if test -z "${HAVE_COLORD_TRUE}" && test -z "${HAVE_COLORD_FALSE}"; then
25294 as_fn_error $? "conditional \"HAVE_COLORD\" was never defined.
25295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25297 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
25298 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
25299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25301 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
25302 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
25303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25305 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
25306 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
25307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25309 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
25310 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
25311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25313 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
25314 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
25315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25317 if test -z "${HAVE_DOCBOOK_TRUE}" && test -z "${HAVE_DOCBOOK_FALSE}"; then
25318 as_fn_error $? "conditional \"HAVE_DOCBOOK\" was never defined.
25319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25321 if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then
25322 as_fn_error $? "conditional \"ENABLE_MAN\" was never defined.
25323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25326 : "${CONFIG_STATUS=./config.status}"
25328 ac_clean_files_save=$ac_clean_files
25329 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25331 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25333 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25335 # Generated by $as_me.
25336 # Run this file to recreate the current configuration.
25337 # Compiler output produced by configure, useful for debugging
25338 # configure, is in config.log if it exists.
25341 ac_cs_recheck=false
25344 SHELL=\${CONFIG_SHELL-$SHELL}
25347 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25348 ## -------------------- ##
25349 ## M4sh Initialization. ##
25350 ## -------------------- ##
25352 # Be more Bourne compatible
25353 DUALCASE=1; export DUALCASE # for MKS sh
25354 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25357 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25358 # is contrary to our usage. Disable this feature.
25359 alias -g '${1+"$@"}'='"$@"'
25360 setopt NO_GLOB_SUBST
25362 case `(set -o) 2>/dev/null` in #(
25374 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25375 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25376 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25378 # Prefer a ksh shell builtin over an external printf program on Solaris,
25379 # but without wasting forks for bash or zsh.
25380 if test -z "$BASH_VERSION$ZSH_VERSION" \
25381 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25382 as_echo='print -r --'
25383 as_echo_n='print -rn --'
25384 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25385 as_echo='printf %s\n'
25386 as_echo_n='printf %s'
25388 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25389 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25390 as_echo_n='/usr/ucb/echo -n'
25392 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25393 as_echo_n_body='eval
25397 expr "X$arg" : "X\\(.*\\)$as_nl";
25398 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25400 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25402 export as_echo_n_body
25403 as_echo_n='sh -c $as_echo_n_body as_echo'
25405 export as_echo_body
25406 as_echo='sh -c $as_echo_body as_echo'
25409 # The user is always right.
25410 if test "${PATH_SEPARATOR+set}" != set; then
25412 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25413 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25420 # We need space, tab and new line, in precisely that order. Quoting is
25421 # there to prevent editors from complaining about space-tab.
25422 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25423 # splitting by setting IFS to empty value.)
25426 # Find who we are. Look in the path if we contain no directory separator.
25429 *[\\/]* ) as_myself=$0 ;;
25430 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25431 for as_dir in $PATH
25434 test -z "$as_dir" && as_dir=.
25435 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25441 # We did not find ourselves, most probably we were run as `sh COMMAND'
25442 # in which case we are not to be found in the path.
25443 if test "x$as_myself" = x; then
25446 if test ! -f "$as_myself"; then
25447 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25451 # Unset variables that we do not need and which cause bugs (e.g. in
25452 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25453 # suppresses any "Segmentation fault" message there. '((' could
25454 # trigger a bug in pdksh 5.2.14.
25455 for as_var in BASH_ENV ENV MAIL MAILPATH
25456 do eval test x\${$as_var+set} = xset \
25457 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25470 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25473 # as_fn_error STATUS ERROR [LINENO LOG_FD]
25474 # ----------------------------------------
25475 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25476 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25477 # script with STATUS, using 1 if that was 0.
25480 as_status=$1; test $as_status -eq 0 && as_status=1
25482 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25483 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25485 $as_echo "$as_me: error: $2" >&2
25486 as_fn_exit $as_status
25490 # as_fn_set_status STATUS
25491 # -----------------------
25492 # Set $? to STATUS, without forking.
25493 as_fn_set_status ()
25496 } # as_fn_set_status
25498 # as_fn_exit STATUS
25499 # -----------------
25500 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25504 as_fn_set_status $1
25510 # Portably unset VAR.
25513 { eval $1=; unset $1;}
25515 as_unset=as_fn_unset
25516 # as_fn_append VAR VALUE
25517 # ----------------------
25518 # Append the text in VALUE to the end of the definition contained in VAR. Take
25519 # advantage of any shell optimizations that allow amortized linear growth over
25520 # repeated appends, instead of the typical quadratic growth present in naive
25522 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25523 eval 'as_fn_append ()
25534 # as_fn_arith ARG...
25535 # ------------------
25536 # Perform arithmetic evaluation on the ARGs, and store the result in the
25537 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25538 # must be portable across $(()) and expr.
25539 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25540 eval 'as_fn_arith ()
25547 as_val=`expr "$@" || test $? -eq 1`
25552 if expr a : '\(a\)' >/dev/null 2>&1 &&
25553 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25559 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25560 as_basename=basename
25565 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25571 as_me=`$as_basename -- "$0" ||
25572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25573 X"$0" : 'X\(//\)$' \| \
25574 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25576 sed '/^.*\/\([^/][^/]*\)\/*$/{
25590 # Avoid depending upon Character Ranges.
25591 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25592 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25593 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25594 as_cr_digits='0123456789'
25595 as_cr_alnum=$as_cr_Letters$as_cr_digits
25597 ECHO_C= ECHO_N= ECHO_T=
25598 case `echo -n x` in #(((((
25600 case `echo 'xy\c'` in
25601 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25603 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25610 rm -f conf$$ conf$$.exe conf$$.file
25611 if test -d conf$$.dir; then
25612 rm -f conf$$.dir/conf$$.file
25615 mkdir conf$$.dir 2>/dev/null
25617 if (echo >conf$$.file) 2>/dev/null; then
25618 if ln -s conf$$.file conf$$ 2>/dev/null; then
25620 # ... but there are two gotchas:
25621 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25622 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25623 # In both cases, we have to default to `cp -p'.
25624 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25626 elif ln conf$$.file conf$$ 2>/dev/null; then
25634 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25635 rmdir conf$$.dir 2>/dev/null
25640 # Create "$as_dir" as a directory, including parents if necessary.
25645 -*) as_dir=./$as_dir;;
25647 test -d "$as_dir" || eval $as_mkdir_p || {
25651 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25652 *) as_qdir=$as_dir;;
25654 as_dirs="'$as_qdir' $as_dirs"
25655 as_dir=`$as_dirname -- "$as_dir" ||
25656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25657 X"$as_dir" : 'X\(//\)[^/]' \| \
25658 X"$as_dir" : 'X\(//\)$' \| \
25659 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25660 $as_echo X"$as_dir" |
25661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25665 /^X\(\/\/\)[^/].*/{
25678 test -d "$as_dir" && break
25680 test -z "$as_dirs" || eval "mkdir $as_dirs"
25681 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
25685 if mkdir -p . 2>/dev/null; then
25686 as_mkdir_p='mkdir -p "$as_dir"'
25688 test -d ./-p && rmdir ./-p
25692 if test -x / >/dev/null 2>&1; then
25693 as_test_x='test -x'
25695 if ls -dL / >/dev/null 2>&1; then
25702 if test -d "$1"; then
25708 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25709 ???[sx]*):;;*)false;;esac;fi
25713 as_executable_p=$as_test_x
25715 # Sed expression to map a string onto a valid CPP name.
25716 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25718 # Sed expression to map a string onto a valid variable name.
25719 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25723 ## ----------------------------------- ##
25724 ## Main body of $CONFIG_STATUS script. ##
25725 ## ----------------------------------- ##
25727 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25730 # Save the log message, to keep $0 and so on meaningful, and to
25731 # report actual input values of CONFIG_FILES etc. instead of their
25732 # values after options handling.
25734 This file was extended by gtk+ $as_me 3.4.0, which was
25735 generated by GNU Autoconf 2.68. Invocation command line was
25737 CONFIG_FILES = $CONFIG_FILES
25738 CONFIG_HEADERS = $CONFIG_HEADERS
25739 CONFIG_LINKS = $CONFIG_LINKS
25740 CONFIG_COMMANDS = $CONFIG_COMMANDS
25743 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25748 case $ac_config_files in *"
25749 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25752 case $ac_config_headers in *"
25753 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25758 # Files that config.status was made for.
25759 config_files="$ac_config_files"
25760 config_headers="$ac_config_headers"
25761 config_commands="$ac_config_commands"
25765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25767 \`$as_me' instantiates files and other configuration actions
25768 from templates according to the current configuration. Unless the files
25769 and actions are specified as TAGs, all are instantiated by default.
25771 Usage: $0 [OPTION]... [TAG]...
25773 -h, --help print this help, then exit
25774 -V, --version print version number and configuration settings, then exit
25775 --config print configuration, then exit
25776 -q, --quiet, --silent
25777 do not print progress messages
25778 -d, --debug don't remove temporary files
25779 --recheck update $as_me by reconfiguring in the same conditions
25780 --file=FILE[:TEMPLATE]
25781 instantiate the configuration file FILE
25782 --header=FILE[:TEMPLATE]
25783 instantiate the configuration header FILE
25785 Configuration files:
25788 Configuration headers:
25791 Configuration commands:
25794 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B>."
25797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25798 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25800 gtk+ config.status 3.4.0
25801 configured by $0, generated by GNU Autoconf 2.68,
25802 with options \\"\$ac_cs_config\\"
25804 Copyright (C) 2010 Free Software Foundation, Inc.
25805 This config.status script is free software; the Free Software Foundation
25806 gives unlimited permission to copy, distribute and modify it."
25813 test -n "\$AWK" || AWK=awk
25816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25817 # The default lists apply if the user does not specify any file.
25823 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25824 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25828 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25840 # Handling of the options.
25841 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25843 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25844 $as_echo "$ac_cs_version"; exit ;;
25845 --config | --confi | --conf | --con | --co | --c )
25846 $as_echo "$ac_cs_config"; exit ;;
25847 --debug | --debu | --deb | --de | --d | -d )
25849 --file | --fil | --fi | --f )
25852 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25853 '') as_fn_error $? "missing file argument" ;;
25855 as_fn_append CONFIG_FILES " '$ac_optarg'"
25856 ac_need_defaults=false;;
25857 --header | --heade | --head | --hea )
25860 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25862 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25863 ac_need_defaults=false;;
25865 # Conflict between --help and --header
25866 as_fn_error $? "ambiguous option: \`$1'
25867 Try \`$0 --help' for more information.";;
25868 --help | --hel | -h )
25869 $as_echo "$ac_cs_usage"; exit ;;
25870 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25871 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25874 # This is an error.
25875 -*) as_fn_error $? "unrecognized option: \`$1'
25876 Try \`$0 --help' for more information." ;;
25878 *) as_fn_append ac_config_targets " $1"
25879 ac_need_defaults=false ;;
25885 ac_configure_extra_args=
25887 if $ac_cs_silent; then
25889 ac_configure_extra_args="$ac_configure_extra_args --silent"
25893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25894 if \$ac_cs_recheck; then
25895 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25897 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25898 CONFIG_SHELL='$SHELL'
25899 export CONFIG_SHELL
25904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25908 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25909 ## Running $as_me. ##
25915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25919 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25922 # The HP-UX ksh and POSIX shell print the target directory to stdout
25923 # if CDPATH is set.
25924 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25926 sed_quote_subst='$sed_quote_subst'
25927 double_quote_subst='$double_quote_subst'
25928 delay_variable_subst='$delay_variable_subst'
25929 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25930 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25931 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25932 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
25933 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
25934 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25935 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25936 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25937 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25938 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25939 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25940 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
25941 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25942 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25943 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25944 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25945 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25946 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25947 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25948 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25949 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25950 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25951 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25952 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25953 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25954 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25955 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25956 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25957 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25958 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25959 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25960 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25961 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
25962 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
25963 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25964 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25965 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25966 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25967 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
25968 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
25969 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
25970 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25971 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25972 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
25973 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25974 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25975 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25976 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25977 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25978 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25979 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25980 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25981 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25982 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25983 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25984 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25985 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25986 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"`'
25987 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
25988 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
25989 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25990 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25991 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25992 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25993 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25994 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25995 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25996 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25997 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
25998 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25999 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26000 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26001 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26002 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26003 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26004 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26005 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26006 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26007 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26008 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26009 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26010 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26011 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26012 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26013 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26014 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26015 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26016 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26017 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26018 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26019 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26020 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26021 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26022 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26023 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26024 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26025 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26026 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26027 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26028 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26029 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26030 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26031 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26032 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26033 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26034 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
26035 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26036 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26037 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26038 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26039 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26040 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26041 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26042 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26043 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26044 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26045 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26046 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26047 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26048 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26049 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26050 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26051 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26052 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26053 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26054 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26055 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26056 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26057 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26058 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26059 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26060 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26061 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26062 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26063 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26064 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26065 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26066 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26067 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26068 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26069 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26070 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26071 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26072 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26073 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26074 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26075 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26076 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26077 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26078 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26079 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26080 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26081 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26082 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26083 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26084 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26085 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26086 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26087 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26088 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26089 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26090 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26091 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26092 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26093 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26094 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26095 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26096 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26097 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26098 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26099 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26100 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26101 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26102 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26103 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26104 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26105 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26106 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26107 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26108 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26109 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26110 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26111 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26112 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26113 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26116 LTCFLAGS='$LTCFLAGS'
26117 compiler='$compiler_DEFAULT'
26119 # A function that is used when there is no print builtin or printf.
26120 func_fallback_echo ()
26122 eval 'cat <<_LTECHO_EOF
26127 # Quote evaled strings.
26144 deplibs_check_method \
26148 sharedlib_from_linklib_cmd \
26151 archiver_list_spec \
26157 lt_cv_sys_global_symbol_pipe \
26158 lt_cv_sys_global_symbol_to_cdecl \
26159 lt_cv_sys_global_symbol_to_c_name_address \
26160 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26161 nm_file_list_spec \
26162 lt_prog_compiler_no_builtin_flag \
26163 lt_prog_compiler_pic \
26164 lt_prog_compiler_wl \
26165 lt_prog_compiler_static \
26166 lt_cv_prog_compiler_c_o \
26175 export_dynamic_flag_spec \
26176 whole_archive_flag_spec \
26177 compiler_needs_object \
26179 allow_undefined_flag \
26180 no_undefined_flag \
26181 hardcode_libdir_flag_spec \
26182 hardcode_libdir_separator \
26186 variables_saved_for_relink \
26188 library_names_spec \
26190 install_override_mode \
26194 compiler_lib_search_dirs \
26199 compiler_lib_search_path \
26203 lt_prog_compiler_no_builtin_flag_CXX \
26204 lt_prog_compiler_pic_CXX \
26205 lt_prog_compiler_wl_CXX \
26206 lt_prog_compiler_static_CXX \
26207 lt_cv_prog_compiler_c_o_CXX \
26208 export_dynamic_flag_spec_CXX \
26209 whole_archive_flag_spec_CXX \
26210 compiler_needs_object_CXX \
26212 allow_undefined_flag_CXX \
26213 no_undefined_flag_CXX \
26214 hardcode_libdir_flag_spec_CXX \
26215 hardcode_libdir_separator_CXX \
26216 exclude_expsyms_CXX \
26217 include_expsyms_CXX \
26218 file_list_spec_CXX \
26219 compiler_lib_search_dirs_CXX \
26220 predep_objects_CXX \
26221 postdep_objects_CXX \
26224 compiler_lib_search_path_CXX; do
26225 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26226 *[\\\\\\\`\\"\\\$]*)
26227 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26230 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26235 # Double-quote double-evaled strings.
26236 for var in reload_cmds \
26237 old_postinstall_cmds \
26238 old_postuninstall_cmds \
26240 extract_expsyms_cmds \
26241 old_archive_from_new_cmds \
26242 old_archive_from_expsyms_cmds \
26244 archive_expsym_cmds \
26246 module_expsym_cmds \
26247 export_symbols_cmds \
26251 postuninstall_cmds \
26253 sys_lib_search_path_spec \
26254 sys_lib_dlsearch_path_spec \
26256 old_archive_cmds_CXX \
26257 old_archive_from_new_cmds_CXX \
26258 old_archive_from_expsyms_cmds_CXX \
26260 archive_expsym_cmds_CXX \
26262 module_expsym_cmds_CXX \
26263 export_symbols_cmds_CXX \
26265 postlink_cmds_CXX; do
26266 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26267 *[\\\\\\\`\\"\\\$]*)
26268 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26271 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26276 ac_aux_dir='$ac_aux_dir'
26277 xsi_shell='$xsi_shell'
26278 lt_shell_append='$lt_shell_append'
26280 # See if we are running on zsh, and set the options which allow our
26281 # commands through without removal of \ escapes INIT.
26282 if test -n "\${ZSH_VERSION+set}" ; then
26283 setopt NO_GLOB_SUBST
26289 TIMESTAMP='$TIMESTAMP'
26295 ac_aux_dir='$ac_aux_dir'
26301 gdk_windowing='$GDK_WINDOWING'
26306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26308 # Handling of arguments.
26309 for ac_config_target in $ac_config_targets
26311 case $ac_config_target in
26312 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26313 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26314 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26315 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26316 "po-properties") CONFIG_COMMANDS="$CONFIG_COMMANDS po-properties" ;;
26317 "gdk/gdkconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gdk/gdkconfig.h" ;;
26318 "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
26319 "gtk-zip.sh") CONFIG_FILES="$CONFIG_FILES gtk-zip.sh" ;;
26320 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26321 "gdk-3.0.pc") CONFIG_FILES="$CONFIG_FILES gdk-3.0.pc" ;;
26322 "gtk+-3.0.pc") CONFIG_FILES="$CONFIG_FILES gtk+-3.0.pc" ;;
26323 "gtk+-unix-print-3.0.pc") CONFIG_FILES="$CONFIG_FILES gtk+-unix-print-3.0.pc" ;;
26324 "gail-3.0.pc") CONFIG_FILES="$CONFIG_FILES gail-3.0.pc" ;;
26325 "m4macros/Makefile") CONFIG_FILES="$CONFIG_FILES m4macros/Makefile" ;;
26326 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
26327 "po-properties/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-properties/Makefile.in" ;;
26328 "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
26329 "demos/gtk-demo/Makefile") CONFIG_FILES="$CONFIG_FILES demos/gtk-demo/Makefile" ;;
26330 "demos/gtk-demo/geninclude.pl") CONFIG_FILES="$CONFIG_FILES demos/gtk-demo/geninclude.pl" ;;
26331 "demos/pixbuf-demo/Makefile") CONFIG_FILES="$CONFIG_FILES demos/pixbuf-demo/Makefile" ;;
26332 "demos/widget-factory/Makefile") CONFIG_FILES="$CONFIG_FILES demos/widget-factory/Makefile" ;;
26333 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
26334 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
26335 "tests/a11y/Makefile") CONFIG_FILES="$CONFIG_FILES tests/a11y/Makefile" ;;
26336 "tests/css/Makefile") CONFIG_FILES="$CONFIG_FILES tests/css/Makefile" ;;
26337 "tests/css/parser/Makefile") CONFIG_FILES="$CONFIG_FILES tests/css/parser/Makefile" ;;
26338 "tests/reftests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/reftests/Makefile" ;;
26339 "tests/visuals/Makefile") CONFIG_FILES="$CONFIG_FILES tests/visuals/Makefile" ;;
26340 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
26341 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
26342 "docs/reference/gdk/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/gdk/Makefile" ;;
26343 "docs/reference/gdk/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/gdk/version.xml" ;;
26344 "docs/reference/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/gtk/Makefile" ;;
26345 "docs/reference/gtk/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/gtk/version.xml" ;;
26346 "docs/reference/libgail-util/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libgail-util/Makefile" ;;
26347 "docs/reference/libgail-util/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/libgail-util/version.xml" ;;
26348 "docs/tools/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tools/Makefile" ;;
26349 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
26350 "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
26351 "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
26352 "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
26353 "gdk/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/Makefile" ;;
26354 "gdk/broadway/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/broadway/Makefile" ;;
26355 "gdk/x11/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/x11/Makefile" ;;
26356 "gdk/win32/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/win32/Makefile" ;;
26357 "gdk/win32/rc/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/win32/rc/Makefile" ;;
26358 "gdk/win32/rc/gdk.rc") CONFIG_FILES="$CONFIG_FILES gdk/win32/rc/gdk.rc" ;;
26359 "gdk/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/quartz/Makefile" ;;
26360 "gdk/wayland/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/wayland/Makefile" ;;
26361 "gdk/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/tests/Makefile" ;;
26362 "gdk/gdkversionmacros.h") CONFIG_FILES="$CONFIG_FILES gdk/gdkversionmacros.h" ;;
26363 "gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;;
26364 "gtk/makefile.msc") CONFIG_FILES="$CONFIG_FILES gtk/makefile.msc" ;;
26365 "gtk/gtkversion.h") CONFIG_FILES="$CONFIG_FILES gtk/gtkversion.h" ;;
26366 "gtk/gtk-win32.rc") CONFIG_FILES="$CONFIG_FILES gtk/gtk-win32.rc" ;;
26367 "gtk/a11y/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/a11y/Makefile" ;;
26368 "gtk/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/tests/Makefile" ;;
26369 "libgail-util/Makefile") CONFIG_FILES="$CONFIG_FILES libgail-util/Makefile" ;;
26370 "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
26371 "modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/Makefile" ;;
26372 "modules/engines/pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/pixbuf/Makefile" ;;
26373 "modules/engines/ms-windows/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/ms-windows/Makefile" ;;
26374 "modules/engines/ms-windows/Theme/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/ms-windows/Theme/Makefile" ;;
26375 "modules/engines/ms-windows/Theme/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/ms-windows/Theme/gtk-3.0/Makefile" ;;
26376 "modules/input/Makefile") CONFIG_FILES="$CONFIG_FILES modules/input/Makefile" ;;
26377 "modules/printbackends/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/Makefile" ;;
26378 "modules/printbackends/cups/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/cups/Makefile" ;;
26379 "modules/printbackends/lpr/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/lpr/Makefile" ;;
26380 "modules/printbackends/file/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/file/Makefile" ;;
26381 "modules/printbackends/papi/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/papi/Makefile" ;;
26382 "modules/printbackends/test/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/test/Makefile" ;;
26383 "perf/Makefile") CONFIG_FILES="$CONFIG_FILES perf/Makefile" ;;
26385 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26390 # If the user did not use the arguments to specify the items to instantiate,
26391 # then the envvar interface is used. Set only those that are not.
26392 # We use the long form for the default assignment because of an extremely
26393 # bizarre bug on SunOS 4.1.3.
26394 if $ac_need_defaults; then
26395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26396 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26397 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26400 # Have a temporary directory for convenience. Make it in the build tree
26401 # simply because there is no reason against having it here, and in addition,
26402 # creating and moving files from /tmp can sometimes cause problems.
26403 # Hook for its removal unless debugging.
26404 # Note that there is a small window in which the directory will not be cleaned:
26405 # after its creation but before its name has been assigned to `$tmp'.
26409 trap 'exit_status=$?
26410 : "${ac_tmp:=$tmp}"
26411 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
26413 trap 'as_fn_exit 1' 1 2 13 15
26415 # Create a (secure) tmp directory for tmp files.
26418 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26422 tmp=./conf$$-$RANDOM
26423 (umask 077 && mkdir "$tmp")
26424 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
26427 # Set up the scripts for CONFIG_FILES section.
26428 # No need to generate them if there are no CONFIG_FILES.
26429 # This happens for instance with `./config.status config.h'.
26430 if test -n "$CONFIG_FILES"; then
26433 ac_cr=`echo X | tr X '\015'`
26434 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26435 # But we know of no other shell where ac_cr would be empty at this
26436 # point, so we can use a bashism as a fallback.
26437 if test "x$ac_cr" = x; then
26438 eval ac_cr=\$\'\\r\'
26440 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26441 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26444 ac_cs_awk_cr=$ac_cr
26447 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
26452 echo "cat >conf$$subs.awk <<_ACEOF" &&
26453 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26455 } >conf$$subs.sh ||
26456 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26457 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26459 for ac_last_try in false false false false false :; do
26460 . ./conf$$subs.sh ||
26461 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26463 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26464 if test $ac_delim_n = $ac_delim_num; then
26466 elif $ac_last_try; then
26467 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26469 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26472 rm -f conf$$subs.sh
26474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26475 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
26479 s/^/S["/; s/!.*/"]=/
26489 s/\(.\{148\}\)..*/\1/
26491 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26496 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26503 s/\(.\{148\}\)..*/\1/
26505 s/["\\]/\\&/g; s/^/"/; s/$/"/
26509 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26514 ' <conf$$subs.awk | sed '
26519 ' >>$CONFIG_STATUS || ac_write_fail=1
26520 rm -f conf$$subs.awk
26521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26523 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
26524 for (key in S) S_is_set[key] = 1
26530 nfields = split(line, field, "@")
26532 len = length(field[1])
26533 for (i = 2; i < nfields; i++) {
26535 keylen = length(key)
26536 if (S_is_set[key]) {
26538 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26539 len += length(value) + length(field[++i])
26550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26551 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26552 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26555 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
26556 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
26559 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
26560 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
26561 # trailing colons and then remove the whole line if VPATH becomes empty
26562 # (actually we leave an empty line to preserve line numbers).
26563 if test "x$srcdir" = x.; then
26564 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
26582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26583 fi # test -n "$CONFIG_FILES"
26585 # Set up the scripts for CONFIG_HEADERS section.
26586 # No need to generate them if there are no CONFIG_HEADERS.
26587 # This happens for instance with `./config.status Makefile'.
26588 if test -n "$CONFIG_HEADERS"; then
26589 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
26593 # Transform confdefs.h into an awk script `defines.awk', embedded as
26594 # here-document in config.status, that substitutes the proper values into
26595 # config.h.in to produce config.h.
26597 # Create a delimiter string that does not exist in confdefs.h, to ease
26598 # handling of long lines.
26600 for ac_last_try in false false :; do
26601 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
26602 if test -z "$ac_tt"; then
26604 elif $ac_last_try; then
26605 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
26607 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26611 # For the awk script, D is an array of macro values keyed by name,
26612 # likewise P contains macro parameters if any. Preserve backslash
26613 # newline sequences.
26615 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26617 s/.\{148\}/&'"$ac_delim"'/g
26620 s/^[ ]*#[ ]*define[ ][ ]*/ /
26627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26629 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26633 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26634 D["\1"]=" \3\\\\\\n"\\/p
26636 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26641 s/.\{148\}/&'"$ac_delim"'/g
26646 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26649 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26651 ' <confdefs.h | sed '
26652 s/'"$ac_delim"'/"\\\
26653 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26656 for (key in D) D_is_set[key] = 1
26659 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26661 split(line, arg, " ")
26662 if (arg[1] == "#") {
26666 defundef = substr(arg[1], 2)
26669 split(mac1, mac2, "(") #)
26671 prefix = substr(line, 1, index(line, defundef) - 1)
26672 if (D_is_set[macro]) {
26673 # Preserve the white space surrounding the "#".
26674 print prefix "define", macro P[macro] D[macro]
26677 # Replace #undef with comments. This is necessary, for example,
26678 # in the case of _POSIX_SOURCE, which is predefined and required
26679 # on some systems where configure will not decide to define it.
26680 if (defundef == "undef") {
26681 print "/*", prefix defundef, macro, "*/"
26689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26690 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
26691 fi # test -n "$CONFIG_HEADERS"
26694 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26699 :[FHLC]) ac_mode=$ac_tag; continue;;
26701 case $ac_mode$ac_tag in
26703 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
26704 :[FH]-) ac_tag=-:-;;
26705 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26722 -) ac_f="$ac_tmp/stdin";;
26723 *) # Look for the file first in the build tree, then in the source tree
26724 # (if the path is not absolute). The absolute path cannot be DOS-style,
26725 # because $ac_f cannot contain `:'.
26729 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26731 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26733 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26734 as_fn_append ac_file_inputs " '$ac_f'"
26737 # Let's still pretend it is `configure' which instantiates (i.e., don't
26738 # use $as_me), people would be surprised to read:
26739 # /* config.h. Generated by config.status. */
26740 configure_input='Generated from '`
26741 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26743 if test x"$ac_file" != x-; then
26744 configure_input="$ac_file. $configure_input"
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26746 $as_echo "$as_me: creating $ac_file" >&6;}
26748 # Neutralize special characters interpreted by sed in replacement strings.
26749 case $configure_input in #(
26750 *\&* | *\|* | *\\* )
26751 ac_sed_conf_input=`$as_echo "$configure_input" |
26752 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26753 *) ac_sed_conf_input=$configure_input;;
26757 *:-:* | *:-) cat >"$ac_tmp/stdin" \
26758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
26763 ac_dir=`$as_dirname -- "$ac_file" ||
26764 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26765 X"$ac_file" : 'X\(//\)[^/]' \| \
26766 X"$ac_file" : 'X\(//\)$' \| \
26767 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26768 $as_echo X"$ac_file" |
26769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26773 /^X\(\/\/\)[^/].*/{
26786 as_dir="$ac_dir"; as_fn_mkdir_p
26790 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26792 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26793 # A ".." for each directory in $ac_dir_suffix.
26794 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26795 case $ac_top_builddir_sub in
26796 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26797 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26800 ac_abs_top_builddir=$ac_pwd
26801 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26802 # for backward compatibility:
26803 ac_top_builddir=$ac_top_build_prefix
26806 .) # We are building in place.
26808 ac_top_srcdir=$ac_top_builddir_sub
26809 ac_abs_top_srcdir=$ac_pwd ;;
26810 [\\/]* | ?:[\\/]* ) # Absolute name.
26811 ac_srcdir=$srcdir$ac_dir_suffix;
26812 ac_top_srcdir=$srcdir
26813 ac_abs_top_srcdir=$srcdir ;;
26814 *) # Relative name.
26815 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26816 ac_top_srcdir=$ac_top_build_prefix$srcdir
26817 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26819 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26829 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26830 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26832 ac_MKDIR_P=$MKDIR_P
26834 [\\/$]* | ?:[\\/]* ) ;;
26835 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26840 # If the template does not know about datarootdir, expand it.
26841 # FIXME: This hack should be removed a few years after 2.60.
26842 ac_datarootdir_hack=; ac_datarootdir_seen=
26853 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26854 *datarootdir*) ac_datarootdir_seen=yes;;
26855 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26857 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26860 ac_datarootdir_hack='
26861 s&@datadir@&$datadir&g
26862 s&@docdir@&$docdir&g
26863 s&@infodir@&$infodir&g
26864 s&@localedir@&$localedir&g
26865 s&@mandir@&$mandir&g
26866 s&\\\${datarootdir}&$datarootdir&g' ;;
26870 # Neutralize VPATH when `$srcdir' = `.'.
26871 # Shell code in configure.ac might set extrasub.
26872 # FIXME: do we really want to maintain this feature?
26873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26874 ac_sed_extra="$ac_vpsub
26877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26880 s|@configure_input@|$ac_sed_conf_input|;t t
26881 s&@top_builddir@&$ac_top_builddir_sub&;t t
26882 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26883 s&@srcdir@&$ac_srcdir&;t t
26884 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26885 s&@top_srcdir@&$ac_top_srcdir&;t t
26886 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26887 s&@builddir@&$ac_builddir&;t t
26888 s&@abs_builddir@&$ac_abs_builddir&;t t
26889 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26890 s&@INSTALL@&$ac_INSTALL&;t t
26891 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26892 $ac_datarootdir_hack
26894 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
26895 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26897 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26898 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
26899 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
26900 "$ac_tmp/out"`; test -z "$ac_out"; } &&
26901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26902 which seems to be undefined. Please make sure it is defined" >&5
26903 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26904 which seems to be undefined. Please make sure it is defined" >&2;}
26906 rm -f "$ac_tmp/stdin"
26908 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
26909 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
26911 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26917 if test x"$ac_file" != x-; then
26919 $as_echo "/* $configure_input */" \
26920 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
26921 } >"$ac_tmp/config.h" \
26922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26923 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
26924 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26925 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26928 mv "$ac_tmp/config.h" "$ac_file" \
26929 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26932 $as_echo "/* $configure_input */" \
26933 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
26934 || as_fn_error $? "could not create -" "$LINENO" 5
26936 # Compute "$ac_file"'s index in $config_headers.
26939 for _am_header in $config_headers :; do
26940 case $_am_header in
26941 $_am_arg | $_am_arg:* )
26944 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26947 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26948 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26949 X"$_am_arg" : 'X\(//\)[^/]' \| \
26950 X"$_am_arg" : 'X\(//\)$' \| \
26951 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26952 $as_echo X"$_am_arg" |
26953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26957 /^X\(\/\/\)[^/].*/{
26969 s/.*/./; q'`/stamp-h$_am_stamp_count
26972 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26973 $as_echo "$as_me: executing $ac_file commands" >&6;}
26978 case $ac_file$ac_mode in
26979 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26980 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26981 # are listed without --file. Let's play safe and only enable the eval
26982 # if we detect the quoting.
26983 case $CONFIG_FILES in
26984 *\'*) eval set x "$CONFIG_FILES" ;;
26985 *) set x $CONFIG_FILES ;;
26990 # Strip MF so we end up with the name of the file.
26991 mf=`echo "$mf" | sed -e 's/:.*$//'`
26992 # Check whether this is an Automake generated Makefile or not.
26993 # We used to match only the files named `Makefile.in', but
26994 # some people rename them; so instead we look at the file content.
26995 # Grep'ing the first line is not enough: some people post-process
26996 # each Makefile.in and add a new line on top of each file to say so.
26997 # Grep'ing the whole file is not good either: AIX grep has a line
26998 # limit of 2048, but all sed's we know have understand at least 4000.
26999 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27000 dirpart=`$as_dirname -- "$mf" ||
27001 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27002 X"$mf" : 'X\(//\)[^/]' \| \
27003 X"$mf" : 'X\(//\)$' \| \
27004 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27010 /^X\(\/\/\)[^/].*/{
27026 # Extract the definition of DEPDIR, am__include, and am__quote
27027 # from the Makefile without running `make'.
27028 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27029 test -z "$DEPDIR" && continue
27030 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27031 test -z "am__include" && continue
27032 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27033 # When using ansi2knr, U may be empty or an underscore; expand it
27034 U=`sed -n 's/^U = //p' < "$mf"`
27035 # Find all dependency output files, they are included files with
27036 # $(DEPDIR) in their names. We invoke sed twice because it is the
27037 # simplest approach to changing $(DEPDIR) to its actual value in the
27039 for file in `sed -n "
27040 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27041 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27042 # Make sure the directory exists.
27043 test -f "$dirpart/$file" && continue
27044 fdir=`$as_dirname -- "$file" ||
27045 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27046 X"$file" : 'X\(//\)[^/]' \| \
27047 X"$file" : 'X\(//\)$' \| \
27048 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27049 $as_echo X"$file" |
27050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27054 /^X\(\/\/\)[^/].*/{
27067 as_dir=$dirpart/$fdir; as_fn_mkdir_p
27068 # echo "creating $dirpart/$file"
27069 echo '# dummy' > "$dirpart/$file"
27076 # See if we are running on zsh, and set the options which allow our
27077 # commands through without removal of \ escapes.
27078 if test -n "${ZSH_VERSION+set}" ; then
27079 setopt NO_GLOB_SUBST
27082 cfgfile="${ofile}T"
27083 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27086 cat <<_LT_EOF >> "$cfgfile"
27089 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27090 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27091 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27092 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27094 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27095 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
27097 # Written by Gordon Matzigkeit, 1996
27099 # This file is part of GNU Libtool.
27101 # GNU Libtool is free software; you can redistribute it and/or
27102 # modify it under the terms of the GNU General Public License as
27103 # published by the Free Software Foundation; either version 2 of
27104 # the License, or (at your option) any later version.
27106 # As a special exception to the GNU General Public License,
27107 # if you distribute this file as part of a program or library that
27108 # is built using GNU Libtool, you may include this file under the
27109 # same distribution terms that you use for the rest of that program.
27111 # GNU Libtool is distributed in the hope that it will be useful,
27112 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27113 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27114 # GNU General Public License for more details.
27116 # You should have received a copy of the GNU General Public License
27117 # along with GNU Libtool; see the file COPYING. If not, a copy
27118 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27119 # obtained by writing to the Free Software Foundation, Inc.,
27120 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27123 # The names of the tagged configurations supported by this script.
27124 available_tags="CXX "
27126 # ### BEGIN LIBTOOL CONFIG
27128 # Which release of libtool.m4 was used?
27129 macro_version=$macro_version
27130 macro_revision=$macro_revision
27132 # Whether or not to build static libraries.
27133 build_old_libs=$enable_static
27135 # Assembler program.
27138 # DLL creation program.
27139 DLLTOOL=$lt_DLLTOOL
27141 # Object dumper program.
27142 OBJDUMP=$lt_OBJDUMP
27144 # Whether or not to build shared libraries.
27145 build_libtool_libs=$enable_shared
27147 # What type of objects to build.
27150 # Whether or not to optimize for fast installation.
27151 fast_install=$enable_fast_install
27153 # Shell to use when invoking shell scripts.
27156 # An echo program that protects backslashes.
27159 # The PATH separator for the build system.
27160 PATH_SEPARATOR=$lt_PATH_SEPARATOR
27163 host_alias=$host_alias
27167 # The build system.
27168 build_alias=$build_alias
27172 # A sed program that does not truncate output.
27175 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27176 Xsed="\$SED -e 1s/^X//"
27178 # A grep program that handles long lines.
27184 # A literal string matcher.
27187 # A BSD- or MS-compatible name lister.
27190 # Whether we need soft or hard links.
27193 # What is the maximum length of a command?
27194 max_cmd_len=$max_cmd_len
27196 # Object file suffix (normally "o").
27199 # Executable file suffix (normally "").
27202 # whether the shell understands "unset".
27205 # turn spaces into newlines.
27208 # turn newlines into spaces.
27211 # convert \$build file names to \$host format.
27212 to_host_file_cmd=$lt_cv_to_host_file_cmd
27214 # convert \$build files to toolchain format.
27215 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
27217 # Method to check whether dependent libraries are shared objects.
27218 deplibs_check_method=$lt_deplibs_check_method
27220 # Command to use when deplibs_check_method = "file_magic".
27221 file_magic_cmd=$lt_file_magic_cmd
27223 # How to find potential files when deplibs_check_method = "file_magic".
27224 file_magic_glob=$lt_file_magic_glob
27226 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
27227 want_nocaseglob=$lt_want_nocaseglob
27229 # Command to associate shared and link libraries.
27230 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
27235 # Flags to create an archive.
27236 AR_FLAGS=$lt_AR_FLAGS
27238 # How to feed a file listing to the archiver.
27239 archiver_list_spec=$lt_archiver_list_spec
27241 # A symbol stripping program.
27244 # Commands used to install an old-style archive.
27246 old_postinstall_cmds=$lt_old_postinstall_cmds
27247 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27249 # Whether to use a lock for old archive extraction.
27250 lock_old_archive_extraction=$lock_old_archive_extraction
27255 # LTCC compiler flags.
27256 LTCFLAGS=$lt_CFLAGS
27258 # Take the output of nm and produce a listing of raw symbols and C names.
27259 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27261 # Transform the output of nm in a proper C declaration.
27262 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27264 # Transform the output of nm in a C name address pair.
27265 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27267 # Transform the output of nm in a C name address pair when lib prefix is needed.
27268 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27270 # Specify filename containing input files for \$NM.
27271 nm_file_list_spec=$lt_nm_file_list_spec
27273 # The root where to search for dependent libraries,and in which our libraries should be installed.
27274 lt_sysroot=$lt_sysroot
27276 # The name of the directory that contains temporary libtool files.
27279 # Used to examine libraries when file_magic_cmd begins with "file".
27280 MAGIC_CMD=$MAGIC_CMD
27282 # Must we lock files when doing compilation?
27283 need_locks=$lt_need_locks
27286 MANIFEST_TOOL=$lt_MANIFEST_TOOL
27288 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27289 DSYMUTIL=$lt_DSYMUTIL
27291 # Tool to change global to local symbols on Mac OS X.
27294 # Tool to manipulate fat objects and archives on Mac OS X.
27297 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27300 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27301 OTOOL64=$lt_OTOOL64
27303 # Old archive suffix (normally "a").
27306 # Shared library suffix (normally ".so").
27307 shrext_cmds=$lt_shrext_cmds
27309 # The commands to extract the exported symbol list from a shared archive.
27310 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27312 # Variables whose values should be saved in libtool wrapper scripts and
27313 # restored at link time.
27314 variables_saved_for_relink=$lt_variables_saved_for_relink
27316 # Do we need the "lib" prefix for modules?
27317 need_lib_prefix=$need_lib_prefix
27319 # Do we need a version for libraries?
27320 need_version=$need_version
27322 # Library versioning type.
27323 version_type=$version_type
27325 # Shared library runtime path variable.
27326 runpath_var=$runpath_var
27328 # Shared library path variable.
27329 shlibpath_var=$shlibpath_var
27331 # Is shlibpath searched before the hard-coded library search path?
27332 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27334 # Format of library name prefix.
27335 libname_spec=$lt_libname_spec
27337 # List of archive names. First name is the real one, the rest are links.
27338 # The last name is the one that the linker finds with -lNAME
27339 library_names_spec=$lt_library_names_spec
27341 # The coded name of the library, if different from the real name.
27342 soname_spec=$lt_soname_spec
27344 # Permission mode override for installation of shared libraries.
27345 install_override_mode=$lt_install_override_mode
27347 # Command to use after installation of a shared archive.
27348 postinstall_cmds=$lt_postinstall_cmds
27350 # Command to use after uninstallation of a shared archive.
27351 postuninstall_cmds=$lt_postuninstall_cmds
27353 # Commands used to finish a libtool library installation in a directory.
27354 finish_cmds=$lt_finish_cmds
27356 # As "finish_cmds", except a single script fragment to be evaled but
27358 finish_eval=$lt_finish_eval
27360 # Whether we should hardcode library paths into libraries.
27361 hardcode_into_libs=$hardcode_into_libs
27363 # Compile-time system search path for libraries.
27364 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27366 # Run-time system search path for libraries.
27367 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27369 # Whether dlopen is supported.
27370 dlopen_support=$enable_dlopen
27372 # Whether dlopen of programs is supported.
27373 dlopen_self=$enable_dlopen_self
27375 # Whether dlopen of statically linked programs is supported.
27376 dlopen_self_static=$enable_dlopen_self_static
27378 # Commands to strip libraries.
27379 old_striplib=$lt_old_striplib
27380 striplib=$lt_striplib
27383 # The linker used to build libraries.
27386 # How to create reloadable object files.
27387 reload_flag=$lt_reload_flag
27388 reload_cmds=$lt_reload_cmds
27390 # Commands used to build an old-style archive.
27391 old_archive_cmds=$lt_old_archive_cmds
27393 # A language specific compiler.
27396 # Is the compiler the GNU compiler?
27399 # Compiler flag to turn off builtin functions.
27400 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27402 # Additional compiler flags for building library objects.
27403 pic_flag=$lt_lt_prog_compiler_pic
27405 # How to pass a linker flag through the compiler.
27406 wl=$lt_lt_prog_compiler_wl
27408 # Compiler flag to prevent dynamic linking.
27409 link_static_flag=$lt_lt_prog_compiler_static
27411 # Does compiler simultaneously support -c and -o options?
27412 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27414 # Whether or not to add -lc for building shared libraries.
27415 build_libtool_need_lc=$archive_cmds_need_lc
27417 # Whether or not to disallow shared libs when runtime libs are static.
27418 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27420 # Compiler flag to allow reflexive dlopens.
27421 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27423 # Compiler flag to generate shared objects directly from archives.
27424 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27426 # Whether the compiler copes with passing no objects directly.
27427 compiler_needs_object=$lt_compiler_needs_object
27429 # Create an old-style archive from a shared archive.
27430 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27432 # Create a temporary old-style archive to link instead of a shared archive.
27433 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27435 # Commands used to build a shared archive.
27436 archive_cmds=$lt_archive_cmds
27437 archive_expsym_cmds=$lt_archive_expsym_cmds
27439 # Commands used to build a loadable module if different from building
27440 # a shared archive.
27441 module_cmds=$lt_module_cmds
27442 module_expsym_cmds=$lt_module_expsym_cmds
27444 # Whether we are building with GNU ld or not.
27445 with_gnu_ld=$lt_with_gnu_ld
27447 # Flag that allows shared libraries with undefined symbols to be built.
27448 allow_undefined_flag=$lt_allow_undefined_flag
27450 # Flag that enforces no undefined symbols.
27451 no_undefined_flag=$lt_no_undefined_flag
27453 # Flag to hardcode \$libdir into a binary during linking.
27454 # This must work even if \$libdir does not exist
27455 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27457 # Whether we need a single "-rpath" flag with a separated argument.
27458 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27460 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27461 # DIR into the resulting binary.
27462 hardcode_direct=$hardcode_direct
27464 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27465 # DIR into the resulting binary and the resulting library dependency is
27466 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27467 # library is relocated.
27468 hardcode_direct_absolute=$hardcode_direct_absolute
27470 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27471 # into the resulting binary.
27472 hardcode_minus_L=$hardcode_minus_L
27474 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27475 # into the resulting binary.
27476 hardcode_shlibpath_var=$hardcode_shlibpath_var
27478 # Set to "yes" if building a shared library automatically hardcodes DIR
27479 # into the library and all subsequent libraries and executables linked
27481 hardcode_automatic=$hardcode_automatic
27483 # Set to yes if linker adds runtime paths of dependent libraries
27484 # to runtime path list.
27485 inherit_rpath=$inherit_rpath
27487 # Whether libtool must link a program against all its dependency libraries.
27488 link_all_deplibs=$link_all_deplibs
27490 # Set to "yes" if exported symbols are required.
27491 always_export_symbols=$always_export_symbols
27493 # The commands to list exported symbols.
27494 export_symbols_cmds=$lt_export_symbols_cmds
27496 # Symbols that should not be listed in the preloaded symbols.
27497 exclude_expsyms=$lt_exclude_expsyms
27499 # Symbols that must always be exported.
27500 include_expsyms=$lt_include_expsyms
27502 # Commands necessary for linking programs (against libraries) with templates.
27503 prelink_cmds=$lt_prelink_cmds
27505 # Commands necessary for finishing linking programs.
27506 postlink_cmds=$lt_postlink_cmds
27508 # Specify filename containing input files.
27509 file_list_spec=$lt_file_list_spec
27511 # How to hardcode a shared library path into an executable.
27512 hardcode_action=$hardcode_action
27514 # The directories searched by this compiler when creating a shared library.
27515 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27517 # Dependencies to place before and after the objects being linked to
27518 # create a shared library.
27519 predep_objects=$lt_predep_objects
27520 postdep_objects=$lt_postdep_objects
27521 predeps=$lt_predeps
27522 postdeps=$lt_postdeps
27524 # The library search path used internally by the compiler when linking
27525 # a shared library.
27526 compiler_lib_search_path=$lt_compiler_lib_search_path
27528 # ### END LIBTOOL CONFIG
27534 cat <<\_LT_EOF >> "$cfgfile"
27535 # AIX sometimes has problems with the GCC collect2 program. For some
27536 # reason, if we set the COLLECT_NAMES environment variable, the problems
27537 # vanish in a puff of smoke.
27538 if test "X${COLLECT_NAMES+set}" != Xset; then
27540 export COLLECT_NAMES
27547 ltmain="$ac_aux_dir/ltmain.sh"
27550 # We use sed instead of cat because bash on DJGPP gets confused if
27551 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27552 # text mode, it properly converts lines to CR/LF. This bash problem
27553 # is reportedly fixed, but why not run on old versions too?
27554 sed '$q' "$ltmain" >> "$cfgfile" \
27555 || (rm -f "$cfgfile"; exit 1)
27557 if test x"$xsi_shell" = xyes; then
27558 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
27562 \ */*) func_dirname_result="${1%/*}${2}" ;;\
27563 \ * ) func_dirname_result="${3}" ;;\
27565 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
27566 && mv -f "$cfgfile.tmp" "$cfgfile" \
27567 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27568 test 0 -eq $? || _lt_function_replace_fail=:
27571 sed -e '/^func_basename ()$/,/^} # func_basename /c\
27574 \ func_basename_result="${1##*/}"\
27575 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
27576 && mv -f "$cfgfile.tmp" "$cfgfile" \
27577 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27578 test 0 -eq $? || _lt_function_replace_fail=:
27581 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
27582 func_dirname_and_basename ()\
27585 \ */*) func_dirname_result="${1%/*}${2}" ;;\
27586 \ * ) func_dirname_result="${3}" ;;\
27588 \ func_basename_result="${1##*/}"\
27589 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
27590 && mv -f "$cfgfile.tmp" "$cfgfile" \
27591 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27592 test 0 -eq $? || _lt_function_replace_fail=:
27595 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
27598 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
27599 \ # positional parameters, so assign one to ordinary parameter first.\
27600 \ func_stripname_result=${3}\
27601 \ func_stripname_result=${func_stripname_result#"${1}"}\
27602 \ func_stripname_result=${func_stripname_result%"${2}"}\
27603 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
27604 && mv -f "$cfgfile.tmp" "$cfgfile" \
27605 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27606 test 0 -eq $? || _lt_function_replace_fail=:
27609 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
27610 func_split_long_opt ()\
27612 \ func_split_long_opt_name=${1%%=*}\
27613 \ func_split_long_opt_arg=${1#*=}\
27614 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
27615 && mv -f "$cfgfile.tmp" "$cfgfile" \
27616 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27617 test 0 -eq $? || _lt_function_replace_fail=:
27620 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
27621 func_split_short_opt ()\
27623 \ func_split_short_opt_arg=${1#??}\
27624 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
27625 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
27626 && mv -f "$cfgfile.tmp" "$cfgfile" \
27627 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27628 test 0 -eq $? || _lt_function_replace_fail=:
27631 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
27635 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
27636 \ *) func_lo2o_result=${1} ;;\
27638 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
27639 && mv -f "$cfgfile.tmp" "$cfgfile" \
27640 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27641 test 0 -eq $? || _lt_function_replace_fail=:
27644 sed -e '/^func_xform ()$/,/^} # func_xform /c\
27647 func_xform_result=${1%.*}.lo\
27648 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
27649 && mv -f "$cfgfile.tmp" "$cfgfile" \
27650 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27651 test 0 -eq $? || _lt_function_replace_fail=:
27654 sed -e '/^func_arith ()$/,/^} # func_arith /c\
27657 func_arith_result=$(( $* ))\
27658 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
27659 && mv -f "$cfgfile.tmp" "$cfgfile" \
27660 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27661 test 0 -eq $? || _lt_function_replace_fail=:
27664 sed -e '/^func_len ()$/,/^} # func_len /c\
27667 func_len_result=${#1}\
27668 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
27669 && mv -f "$cfgfile.tmp" "$cfgfile" \
27670 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27671 test 0 -eq $? || _lt_function_replace_fail=:
27675 if test x"$lt_shell_append" = xyes; then
27676 sed -e '/^func_append ()$/,/^} # func_append /c\
27679 eval "${1}+=\\${2}"\
27680 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
27681 && mv -f "$cfgfile.tmp" "$cfgfile" \
27682 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27683 test 0 -eq $? || _lt_function_replace_fail=:
27686 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
27687 func_append_quoted ()\
27689 \ func_quote_for_eval "${2}"\
27690 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
27691 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
27692 && mv -f "$cfgfile.tmp" "$cfgfile" \
27693 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27694 test 0 -eq $? || _lt_function_replace_fail=:
27697 # Save a `func_append' function call where possible by direct use of '+='
27698 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
27699 && mv -f "$cfgfile.tmp" "$cfgfile" \
27700 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27701 test 0 -eq $? || _lt_function_replace_fail=:
27703 # Save a `func_append' function call even when '+=' is not available
27704 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
27705 && mv -f "$cfgfile.tmp" "$cfgfile" \
27706 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27707 test 0 -eq $? || _lt_function_replace_fail=:
27710 if test x"$_lt_function_replace_fail" = x":"; then
27711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
27712 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
27716 mv -f "$cfgfile" "$ofile" ||
27717 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27721 cat <<_LT_EOF >> "$ofile"
27723 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27725 # The linker used to build libraries.
27728 # How to create reloadable object files.
27729 reload_flag=$lt_reload_flag_CXX
27730 reload_cmds=$lt_reload_cmds_CXX
27732 # Commands used to build an old-style archive.
27733 old_archive_cmds=$lt_old_archive_cmds_CXX
27735 # A language specific compiler.
27736 CC=$lt_compiler_CXX
27738 # Is the compiler the GNU compiler?
27741 # Compiler flag to turn off builtin functions.
27742 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27744 # Additional compiler flags for building library objects.
27745 pic_flag=$lt_lt_prog_compiler_pic_CXX
27747 # How to pass a linker flag through the compiler.
27748 wl=$lt_lt_prog_compiler_wl_CXX
27750 # Compiler flag to prevent dynamic linking.
27751 link_static_flag=$lt_lt_prog_compiler_static_CXX
27753 # Does compiler simultaneously support -c and -o options?
27754 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27756 # Whether or not to add -lc for building shared libraries.
27757 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27759 # Whether or not to disallow shared libs when runtime libs are static.
27760 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27762 # Compiler flag to allow reflexive dlopens.
27763 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27765 # Compiler flag to generate shared objects directly from archives.
27766 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27768 # Whether the compiler copes with passing no objects directly.
27769 compiler_needs_object=$lt_compiler_needs_object_CXX
27771 # Create an old-style archive from a shared archive.
27772 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27774 # Create a temporary old-style archive to link instead of a shared archive.
27775 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27777 # Commands used to build a shared archive.
27778 archive_cmds=$lt_archive_cmds_CXX
27779 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27781 # Commands used to build a loadable module if different from building
27782 # a shared archive.
27783 module_cmds=$lt_module_cmds_CXX
27784 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27786 # Whether we are building with GNU ld or not.
27787 with_gnu_ld=$lt_with_gnu_ld_CXX
27789 # Flag that allows shared libraries with undefined symbols to be built.
27790 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27792 # Flag that enforces no undefined symbols.
27793 no_undefined_flag=$lt_no_undefined_flag_CXX
27795 # Flag to hardcode \$libdir into a binary during linking.
27796 # This must work even if \$libdir does not exist
27797 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27799 # Whether we need a single "-rpath" flag with a separated argument.
27800 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27802 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27803 # DIR into the resulting binary.
27804 hardcode_direct=$hardcode_direct_CXX
27806 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27807 # DIR into the resulting binary and the resulting library dependency is
27808 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27809 # library is relocated.
27810 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27812 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27813 # into the resulting binary.
27814 hardcode_minus_L=$hardcode_minus_L_CXX
27816 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27817 # into the resulting binary.
27818 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27820 # Set to "yes" if building a shared library automatically hardcodes DIR
27821 # into the library and all subsequent libraries and executables linked
27823 hardcode_automatic=$hardcode_automatic_CXX
27825 # Set to yes if linker adds runtime paths of dependent libraries
27826 # to runtime path list.
27827 inherit_rpath=$inherit_rpath_CXX
27829 # Whether libtool must link a program against all its dependency libraries.
27830 link_all_deplibs=$link_all_deplibs_CXX
27832 # Set to "yes" if exported symbols are required.
27833 always_export_symbols=$always_export_symbols_CXX
27835 # The commands to list exported symbols.
27836 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27838 # Symbols that should not be listed in the preloaded symbols.
27839 exclude_expsyms=$lt_exclude_expsyms_CXX
27841 # Symbols that must always be exported.
27842 include_expsyms=$lt_include_expsyms_CXX
27844 # Commands necessary for linking programs (against libraries) with templates.
27845 prelink_cmds=$lt_prelink_cmds_CXX
27847 # Commands necessary for finishing linking programs.
27848 postlink_cmds=$lt_postlink_cmds_CXX
27850 # Specify filename containing input files.
27851 file_list_spec=$lt_file_list_spec_CXX
27853 # How to hardcode a shared library path into an executable.
27854 hardcode_action=$hardcode_action_CXX
27856 # The directories searched by this compiler when creating a shared library.
27857 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27859 # Dependencies to place before and after the objects being linked to
27860 # create a shared library.
27861 predep_objects=$lt_predep_objects_CXX
27862 postdep_objects=$lt_postdep_objects_CXX
27863 predeps=$lt_predeps_CXX
27864 postdeps=$lt_postdeps_CXX
27866 # The library search path used internally by the compiler when linking
27867 # a shared library.
27868 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27870 # ### END LIBTOOL TAG CONFIG: CXX
27874 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
27875 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
27877 "po-properties":C) case "$CONFIG_FILES" in *po-properties/Makefile.in*)
27878 sed -e "/POTFILES =/r po-properties/POTFILES" po-properties/Makefile.in > po-properties/Makefile
27880 "gdk/gdkconfig.h":C)
27881 outfile=gdkconfig.h-tmp
27882 cat > $outfile <<\_______EOF
27885 * This is a generated file. Please modify `configure.ac'
27888 #ifndef __GDKCONFIG_H__
27889 #define __GDKCONFIG_H__
27891 #if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
27892 #error "Only <gdk/gdk.h> can be included directly."
27901 cat >>$outfile <<_______EOF
27905 cat >>$outfile <<_______EOF
27909 #endif /* __GDKCONFIG_H__ */
27913 if cmp -s $outfile gdk/gdkconfig.h; then
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: gdk/gdkconfig.h is unchanged" >&5
27915 $as_echo "$as_me: gdk/gdkconfig.h is unchanged" >&6;}
27918 mv $outfile gdk/gdkconfig.h
27928 ac_clean_files=$ac_clean_files_save
27930 test $ac_write_fail = 0 ||
27931 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
27934 # configure is writing to config.log, and then calls config.status.
27935 # config.status does its own redirection, appending to config.log.
27936 # Unfortunately, on DOS this fails, as config.log is still kept open
27937 # by configure, so config.status won't be able to write to it; its
27938 # output is simply discarded. So we exec the FD to /dev/null,
27939 # effectively closing config.log, so it can be properly (re)opened and
27940 # appended to by config.status. When coming back to configure, we
27941 # need to make the FD available again.
27942 if test "$no_create" != yes; then
27944 ac_config_status_args=
27945 test "$silent" = yes &&
27946 ac_config_status_args="$ac_config_status_args --quiet"
27948 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27950 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27951 # would make configure fail if this is the last instruction.
27952 $ac_cs_success || as_fn_exit 1
27954 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27956 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27960 # beautify the immodule list a bit
27961 included_immodules=$(echo "${included_immodules}" | $SED 's/,/ /g')
27962 if test -z "${included_immodules}"; then included_immodules="none"; fi
27965 echo " GTK+ $GTK_VERSION"
27966 echo " ==========="
27968 echo " GDK backends: $GDK_BACKENDS"
27969 if test "$enable_x11_backend" = "yes"; then
27970 echo " X11 extensions: $X_EXTENSIONS"
27972 echo " Print backends: $PRINT_BACKENDS"
27973 echo " Dynamic modules: $build_dynamic_modules"
27974 echo " Included immodules: $included_immodules"
27975 echo " PackageKit support: $build_packagekit"
27976 echo " colord support: $have_colord"
27977 echo " Introspection: $found_introspection"
27978 echo " Debugging: $enable_debug"
27979 echo " Documentation: $enable_gtk_doc"