Package list virt-viewer / upstream/0.4.0
New upstream version 0.4.0 Guido G√ľnther 10 years ago
67 changed file(s) with 12326 addition(s) and 5900 deletion(s). Raw diff Collapse all Expand all
131131 DATADIRNAME = @DATADIRNAME@
132132 DEFS = @DEFS@
133133 DEPDIR = @DEPDIR@
134 DLLTOOL = @DLLTOOL@
134135 DSYMUTIL = @DSYMUTIL@
135136 DUMPBIN = @DUMPBIN@
136137 ECHO_C = @ECHO_C@
142143 FIREFOX_PLUGIN_CFLAGS = @FIREFOX_PLUGIN_CFLAGS@
143144 FIREFOX_PLUGIN_LIBS = @FIREFOX_PLUGIN_LIBS@
144145 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
146 GLIB2_CFLAGS = @GLIB2_CFLAGS@
147 GLIB2_LIBS = @GLIB2_LIBS@
145148 GMOFILES = @GMOFILES@
146149 GMSGFMT = @GMSGFMT@
147150 GREP = @GREP@
148 GTK2_CFLAGS = @GTK2_CFLAGS@
149 GTK2_LIBS = @GTK2_LIBS@
150 GTKVNC_CFLAGS = @GTKVNC_CFLAGS@
151 GTKVNC_LIBS = @GTKVNC_LIBS@
151 GTK_API_VERSION = @GTK_API_VERSION@
152 GTK_CFLAGS = @GTK_CFLAGS@
153 GTK_LIBS = @GTK_LIBS@
154 GTK_REQUIRED = @GTK_REQUIRED@
155 GTK_VNC_API_VERSION = @GTK_VNC_API_VERSION@
156 GTK_VNC_CFLAGS = @GTK_VNC_CFLAGS@
157 GTK_VNC_LIBS = @GTK_VNC_LIBS@
152158 INSTALL = @INSTALL@
153159 INSTALL_DATA = @INSTALL_DATA@
154160 INSTALL_PROGRAM = @INSTALL_PROGRAM@
162168 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
163169 LD = @LD@
164170 LDFLAGS = @LDFLAGS@
165 LIBGLADE2_CFLAGS = @LIBGLADE2_CFLAGS@
166 LIBGLADE2_LIBS = @LIBGLADE2_LIBS@
167171 LIBOBJS = @LIBOBJS@
168172 LIBS = @LIBS@
169173 LIBTOOL = @LIBTOOL@
175179 LN_S = @LN_S@
176180 LTLIBOBJS = @LTLIBOBJS@
177181 MAKEINFO = @MAKEINFO@
182 MANIFEST_TOOL = @MANIFEST_TOOL@
178183 MKDIR_P = @MKDIR_P@
179184 MKINSTALLDIRS = @MKINSTALLDIRS@
180185 MOZILLA_PLUGIN_CFLAGS = @MOZILLA_PLUGIN_CFLAGS@
209214 SED = @SED@
210215 SET_MAKE = @SET_MAKE@
211216 SHELL = @SHELL@
212 SPICEGTK_CFLAGS = @SPICEGTK_CFLAGS@
213 SPICEGTK_LIBS = @SPICEGTK_LIBS@
217 SPICE_GTK_CFLAGS = @SPICE_GTK_CFLAGS@
218 SPICE_GTK_LIBS = @SPICE_GTK_LIBS@
214219 STRIP = @STRIP@
215220 USE_NLS = @USE_NLS@
216221 VERSION = @VERSION@
220225 abs_srcdir = @abs_srcdir@
221226 abs_top_builddir = @abs_top_builddir@
222227 abs_top_srcdir = @abs_top_srcdir@
228 ac_ct_AR = @ac_ct_AR@
223229 ac_ct_CC = @ac_ct_CC@
224230 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
225231 am__include = @am__include@
00 Virt Viewer News
11 ================
2
3 0.4.0: Jul 12, 2011
4 -------------------
5
6 - Require SPICE-GTK >= 0.6
7 - Hide menu bar when going fullscreen
8 - Support building against GTK2 or GTK3
9 - Convert from Glade to GtkBuilder
10 - Honour 'listen' attribute from <graphics> XML when connecting
11 - Fix reconnection after authentication failure
12 - Make --verbose flag actually do something
13 - Enable scaling with SPICE to match VNC behaviour
14 - Rewrite widget resizing code to (try to) be more reliable
15 - Fill extra space outside guest display with black
16 - Fix (null) in title bar while not connected
17 - Fix multiple memory leaks
18 - Fix reconnecting to display with SPICE
219
320 0.3.1: Feb 21, 2011
421 -------------------
22
33 Virt Viewer provides a graphical viewer for the guest OS
44 display. At this time is supports guest OS using the VNC
5 protocol. Further protocols may be supported in the future
6 as user demand dicatates. The viewer can connect directly
7 to both local and remotely hosted guest OS, optionally
5 or SPICE protocols. Further protocols may be supported in
6 the future as user demand dicatates. The viewer can connect
7 directly to both local and remotely hosted guest OS, optionally
88 using SSL/TLS encryption.
9
10 Virt Viewer can be built with either GTK2 or GTK3, with the
11 default option currently being GTK2. The choice can be made
12 with:
13
14 ./configure --with-gtk=3.0 (or =2.0)
915
1016 Virt Viewer uses the GTK-VNC widget to provide a display
1117 of the VNC protocol. This is available from
1319 http://gtk-vnc.sourceforge.net/
1420
1521 Optionally Virt Viewer can also provide a SPICE client
16 using the SPICE-GTK widget (>= 0.5) available from
22 using the SPICE-GTK widget (>= 0.6) available from
1723
1824 http://spice-space.org/page/Spice-Gtk
1925
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
16 [m4_warning([this file was generated for autoconf 2.66.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
16 [m4_warning([this file was generated for autoconf 2.68.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
+1478
-713
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.66 for virt-viewer 0.3.1.
2 # Generated by GNU Autoconf 2.68 for virt-viewer 0.4.0.
33 #
44 #
55 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8888 IFS=" "" $as_nl"
8989
9090 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
9192 case $0 in #((
9293 *[\\/]* ) as_myself=$0 ;;
9394 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221222 # We cannot yet assume a decent shell, so we have to provide a
222223 # neutralization value for shells without unset; and this also
223224 # works around shells that cannot unset nonexistent variables.
225 # Preserve -v and -x to the replacement shell.
224226 BASH_ENV=/dev/null
225227 ENV=/dev/null
226228 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227229 export CONFIG_SHELL
228 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 case $- in # ((((
231 *v*x* | *x*v* ) as_opts=-vx ;;
232 *v* ) as_opts=-v ;;
233 *x* ) as_opts=-x ;;
234 * ) as_opts= ;;
235 esac
236 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
229237 fi
230238
231239 if test x$as_have_required = xno; then :
558566 # Identity of this package.
559567 PACKAGE_NAME='virt-viewer'
560568 PACKAGE_TARNAME='virt-viewer'
561 PACKAGE_VERSION='0.3.1'
562 PACKAGE_STRING='virt-viewer 0.3.1'
569 PACKAGE_VERSION='0.4.0'
570 PACKAGE_STRING='virt-viewer 0.4.0'
563571 PACKAGE_BUGREPORT=''
564572 PACKAGE_URL=''
565573
566 ac_unique_file="src/main.c"
574 ac_unique_file="src/virt-viewer-main.c"
567575 # Factoring default headers for most tests.
568576 ac_includes_default="\
569577 #include <stdio.h>
615623 NSPR_CFLAGS
616624 HAVE_SPICE_GTK_FALSE
617625 HAVE_SPICE_GTK_TRUE
618 SPICEGTK_LIBS
619 SPICEGTK_CFLAGS
620 GTKVNC_LIBS
621 GTKVNC_CFLAGS
622 LIBGLADE2_LIBS
623 LIBGLADE2_CFLAGS
624 GTK2_LIBS
625 GTK2_CFLAGS
626 SPICE_GTK_LIBS
627 SPICE_GTK_CFLAGS
628 GTK_VNC_LIBS
629 GTK_VNC_CFLAGS
630 GTK_LIBS
631 GTK_CFLAGS
632 HAVE_GTK_3_FALSE
633 HAVE_GTK_3_TRUE
634 HAVE_GTK_2_FALSE
635 HAVE_GTK_2_TRUE
636 GTK_VNC_API_VERSION
637 GTK_REQUIRED
638 GTK_API_VERSION
626639 LIBVIRT_LIBS
627640 LIBVIRT_CFLAGS
628641 LIBXML2_LIBS
629642 LIBXML2_CFLAGS
643 GLIB2_LIBS
644 GLIB2_CFLAGS
630645 PKG_CONFIG_LIBDIR
631646 PKG_CONFIG_PATH
632647 PKG_CONFIG
679694 LIPO
680695 NMEDIT
681696 DSYMUTIL
697 MANIFEST_TOOL
682698 RANLIB
699 ac_ct_AR
683700 AR
701 DLLTOOL
684702 OBJDUMP
685703 LN_S
686704 NM
789807 with_pic
790808 enable_fast_install
791809 with_gnu_ld
810 with_sysroot
792811 enable_libtool_lock
793812 enable_compile_warnings
794813 enable_iso_c
795814 enable_nls
815 with_gtk
796816 with_spice_gtk
797817 enable_plugin
798818 '
808828 PKG_CONFIG
809829 PKG_CONFIG_PATH
810830 PKG_CONFIG_LIBDIR
831 GLIB2_CFLAGS
832 GLIB2_LIBS
811833 LIBXML2_CFLAGS
812834 LIBXML2_LIBS
813835 LIBVIRT_CFLAGS
814836 LIBVIRT_LIBS
815 GTK2_CFLAGS
816 GTK2_LIBS
817 LIBGLADE2_CFLAGS
818 LIBGLADE2_LIBS
819 GTKVNC_CFLAGS
820 GTKVNC_LIBS
821 SPICEGTK_CFLAGS
822 SPICEGTK_LIBS
837 GTK_CFLAGS
838 GTK_LIBS
839 GTK_VNC_CFLAGS
840 GTK_VNC_LIBS
841 SPICE_GTK_CFLAGS
842 SPICE_GTK_LIBS
823843 NSPR_CFLAGS
824844 NSPR_LIBS
825845 FIREFOX_PLUGIN_CFLAGS
888908 fi
889909
890910 case $ac_option in
891 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 *) ac_optarg=yes ;;
911 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912 *=) ac_optarg= ;;
913 *) ac_optarg=yes ;;
893914 esac
894915
895916 # Accept the important Cygnus configure options, so we can diagnose typos.
12291250 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
12301251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
12311252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1232 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1253 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
12331254 ;;
12341255
12351256 esac
13671388 # Omit some internal or obsolete options to make the list less imposing.
13681389 # This message is too long to be a string in the A/UX 3.1 sh.
13691390 cat <<_ACEOF
1370 \`configure' configures virt-viewer 0.3.1 to adapt to many kinds of systems.
1391 \`configure' configures virt-viewer 0.4.0 to adapt to many kinds of systems.
13711392
13721393 Usage: $0 [OPTION]... [VAR=VALUE]...
13731394
14371458
14381459 if test -n "$ac_init_help"; then
14391460 case $ac_init_help in
1440 short | recursive ) echo "Configuration of virt-viewer 0.3.1:";;
1461 short | recursive ) echo "Configuration of virt-viewer 0.4.0:";;
14411462 esac
14421463 cat <<\_ACEOF
14431464
14661487 --with-pic try to use only PIC/non-PIC objects [default=use
14671488 both]
14681489 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1490 --with-sysroot=DIR Search for dependent libraries within DIR
1491 (or the compiler's sysroot if not specified).
1492 --with-gtk=2.0|3.0 which gtk+ version to compile against (default: 2.0)
14691493 --without-spice-gtk Ignore presence of spice-gtk and disable it
14701494
14711495 Some influential environment variables:
14821506 directories to add to pkg-config's search path
14831507 PKG_CONFIG_LIBDIR
14841508 path overriding pkg-config's built-in search path
1509 GLIB2_CFLAGS
1510 C compiler flags for GLIB2, overriding pkg-config
1511 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
14851512 LIBXML2_CFLAGS
14861513 C compiler flags for LIBXML2, overriding pkg-config
14871514 LIBXML2_LIBS
14901517 C compiler flags for LIBVIRT, overriding pkg-config
14911518 LIBVIRT_LIBS
14921519 linker flags for LIBVIRT, overriding pkg-config
1493 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1494 GTK2_LIBS linker flags for GTK2, overriding pkg-config
1495 LIBGLADE2_CFLAGS
1496 C compiler flags for LIBGLADE2, overriding pkg-config
1497 LIBGLADE2_LIBS
1498 linker flags for LIBGLADE2, overriding pkg-config
1499 GTKVNC_CFLAGS
1500 C compiler flags for GTKVNC, overriding pkg-config
1501 GTKVNC_LIBS linker flags for GTKVNC, overriding pkg-config
1502 SPICEGTK_CFLAGS
1503 C compiler flags for SPICEGTK, overriding pkg-config
1504 SPICEGTK_LIBS
1505 linker flags for SPICEGTK, overriding pkg-config
1520 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1521 GTK_LIBS linker flags for GTK, overriding pkg-config
1522 GTK_VNC_CFLAGS
1523 C compiler flags for GTK_VNC, overriding pkg-config
1524 GTK_VNC_LIBS
1525 linker flags for GTK_VNC, overriding pkg-config
1526 SPICE_GTK_CFLAGS
1527 C compiler flags for SPICE_GTK, overriding pkg-config
1528 SPICE_GTK_LIBS
1529 linker flags for SPICE_GTK, overriding pkg-config
15061530 NSPR_CFLAGS C compiler flags for NSPR, overriding pkg-config
15071531 NSPR_LIBS linker flags for NSPR, overriding pkg-config
15081532 FIREFOX_PLUGIN_CFLAGS
15801604 test -n "$ac_init_help" && exit $ac_status
15811605 if $ac_init_version; then
15821606 cat <<\_ACEOF
1583 virt-viewer configure 0.3.1
1584 generated by GNU Autoconf 2.66
1607 virt-viewer configure 0.4.0
1608 generated by GNU Autoconf 2.68
15851609
15861610 Copyright (C) 2010 Free Software Foundation, Inc.
15871611 This configure script is free software; the Free Software Foundation
16271651
16281652 ac_retval=1
16291653 fi
1630 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16311655 as_fn_set_status $ac_retval
16321656
16331657 } # ac_fn_c_try_compile
16731697 # interfere with the next link command; also delete a directory that is
16741698 # left behind by Apple's compiler. We do this before executing the actions.
16751699 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1676 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16771701 as_fn_set_status $ac_retval
16781702
16791703 } # ac_fn_c_try_link
16871711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16881712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
16891713 $as_echo_n "checking for $2... " >&6; }
1690 if eval "test \"\${$3+set}\"" = set; then :
1714 if eval \${$3+:} false; then :
16911715 $as_echo_n "(cached) " >&6
16921716 else
16931717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051729 eval ac_res=\$$3
17061730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17071731 $as_echo "$ac_res" >&6; }
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17091733
17101734 } # ac_fn_c_check_header_compile
17111735
17301754 mv -f conftest.er1 conftest.err
17311755 fi
17321756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } >/dev/null && {
1757 test $ac_status = 0; } > conftest.i && {
17341758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17351759 test ! -s conftest.err
17361760 }; then :
17411765
17421766 ac_retval=1
17431767 fi
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17451769 as_fn_set_status $ac_retval
17461770
17471771 } # ac_fn_c_try_cpp
17831807 ac_retval=$ac_status
17841808 fi
17851809 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17871811 as_fn_set_status $ac_retval
17881812
17891813 } # ac_fn_c_try_run
17961820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17971821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17981822 $as_echo_n "checking for $2... " >&6; }
1799 if eval "test \"\${$3+set}\"" = set; then :
1823 if eval \${$3+:} false; then :
18001824 $as_echo_n "(cached) " >&6
18011825 else
18021826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511875 eval ac_res=\$$3
18521876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18531877 $as_echo "$ac_res" >&6; }
1854 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18551879
18561880 } # ac_fn_c_check_func
18571881
18631887 ac_fn_c_check_header_mongrel ()
18641888 {
18651889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866 if eval "test \"\${$3+set}\"" = set; then :
1890 if eval \${$3+:} false; then :
18671891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
18681892 $as_echo_n "checking for $2... " >&6; }
1869 if eval "test \"\${$3+set}\"" = set; then :
1893 if eval \${$3+:} false; then :
18701894 $as_echo_n "(cached) " >&6
18711895 fi
18721896 eval ac_res=\$$3
19021926 else
19031927 ac_header_preproc=no
19041928 fi
1905 rm -f conftest.err conftest.$ac_ext
1929 rm -f conftest.err conftest.i conftest.$ac_ext
19061930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
19071931 $as_echo "$ac_header_preproc" >&6; }
19081932
19291953 esac
19301954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
19311955 $as_echo_n "checking for $2... " >&6; }
1932 if eval "test \"\${$3+set}\"" = set; then :
1956 if eval \${$3+:} false; then :
19331957 $as_echo_n "(cached) " >&6
19341958 else
19351959 eval "$3=\$ac_header_compiler"
19381962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19391963 $as_echo "$ac_res" >&6; }
19401964 fi
1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
19421966
19431967 } # ac_fn_c_check_header_mongrel
19441968 cat >config.log <<_ACEOF
19451969 This file contains any messages produced by compilers while
19461970 running configure, to aid debugging if configure makes a mistake.
19471971
1948 It was created by virt-viewer $as_me 0.3.1, which was
1949 generated by GNU Autoconf 2.66. Invocation command line was
1972 It was created by virt-viewer $as_me 0.4.0, which was
1973 generated by GNU Autoconf 2.68. Invocation command line was
19501974
19511975 $ $0 $@
19521976
23442368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
23452369 $as_echo_n "checking for a BSD-compatible install... " >&6; }
23462370 if test -z "$INSTALL"; then
2347 if test "${ac_cv_path_install+set}" = set; then :
2371 if ${ac_cv_path_install+:} false; then :
23482372 $as_echo_n "(cached) " >&6
23492373 else
23502374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25212545 set dummy ${ac_tool_prefix}strip; ac_word=$2
25222546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25232547 $as_echo_n "checking for $ac_word... " >&6; }
2524 if test "${ac_cv_prog_STRIP+set}" = set; then :
2548 if ${ac_cv_prog_STRIP+:} false; then :
25252549 $as_echo_n "(cached) " >&6
25262550 else
25272551 if test -n "$STRIP"; then
25612585 set dummy strip; ac_word=$2
25622586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25632587 $as_echo_n "checking for $ac_word... " >&6; }
2564 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2588 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
25652589 $as_echo_n "(cached) " >&6
25662590 else
25672591 if test -n "$ac_ct_STRIP"; then
26142638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
26152639 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
26162640 if test -z "$MKDIR_P"; then
2617 if test "${ac_cv_path_mkdir+set}" = set; then :
2641 if ${ac_cv_path_mkdir+:} false; then :
26182642 $as_echo_n "(cached) " >&6
26192643 else
26202644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26652689 set dummy $ac_prog; ac_word=$2
26662690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26672691 $as_echo_n "checking for $ac_word... " >&6; }
2668 if test "${ac_cv_prog_AWK+set}" = set; then :
2692 if ${ac_cv_prog_AWK+:} false; then :
26692693 $as_echo_n "(cached) " >&6
26702694 else
26712695 if test -n "$AWK"; then
27052729 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
27062730 set x ${MAKE-make}
27072731 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2708 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2732 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
27092733 $as_echo_n "(cached) " >&6
27102734 else
27112735 cat >conftest.make <<\_ACEOF
27632787
27642788 # Define the identity of the package.
27652789 PACKAGE='virt-viewer'
2766 VERSION='0.3.1'
2790 VERSION='0.4.0'
27672791
27682792
27692793 cat >>confdefs.h <<_ACEOF
28092833
28102834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
28112835 $as_echo_n "checking build system type... " >&6; }
2812 if test "${ac_cv_build+set}" = set; then :
2836 if ${ac_cv_build+:} false; then :
28132837 $as_echo_n "(cached) " >&6
28142838 else
28152839 ac_build_alias=$build_alias
28432867
28442868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
28452869 $as_echo_n "checking host system type... " >&6; }
2846 if test "${ac_cv_host+set}" = set; then :
2870 if ${ac_cv_host+:} false; then :
28472871 $as_echo_n "(cached) " >&6
28482872 else
28492873 if test "x$host_alias" = x; then
28902914 AM_BACKSLASH='\'
28912915
28922916
2917 GLIB2_REQUIRED=2.12.0
2918 LIBXML2_REQUIRED="2.6.0"
2919 LIBVIRT_REQUIRED="0.6.0"
2920 GTK2_REQUIRED="2.12.0"
2921 GTK3_REQUIRED="3.0"
2922 GTK_VNC_REQUIRED="0.3.8"
2923 SPICE_GTK_REQUIRED="0.6"
2924
28932925 ac_ext=c
28942926 ac_cpp='$CPP $CPPFLAGS'
28952927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29002932 set dummy ${ac_tool_prefix}gcc; ac_word=$2
29012933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29022934 $as_echo_n "checking for $ac_word... " >&6; }
2903 if test "${ac_cv_prog_CC+set}" = set; then :
2935 if ${ac_cv_prog_CC+:} false; then :
29042936 $as_echo_n "(cached) " >&6
29052937 else
29062938 if test -n "$CC"; then
29402972 set dummy gcc; ac_word=$2
29412973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29422974 $as_echo_n "checking for $ac_word... " >&6; }
2943 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2975 if ${ac_cv_prog_ac_ct_CC+:} false; then :
29442976 $as_echo_n "(cached) " >&6
29452977 else
29462978 if test -n "$ac_ct_CC"; then
29933025 set dummy ${ac_tool_prefix}cc; ac_word=$2
29943026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29953027 $as_echo_n "checking for $ac_word... " >&6; }
2996 if test "${ac_cv_prog_CC+set}" = set; then :
3028 if ${ac_cv_prog_CC+:} false; then :
29973029 $as_echo_n "(cached) " >&6
29983030 else
29993031 if test -n "$CC"; then
30333065 set dummy cc; ac_word=$2
30343066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30353067 $as_echo_n "checking for $ac_word... " >&6; }
3036 if test "${ac_cv_prog_CC+set}" = set; then :
3068 if ${ac_cv_prog_CC+:} false; then :
30373069 $as_echo_n "(cached) " >&6
30383070 else
30393071 if test -n "$CC"; then
30923124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
30933125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30943126 $as_echo_n "checking for $ac_word... " >&6; }
3095 if test "${ac_cv_prog_CC+set}" = set; then :
3127 if ${ac_cv_prog_CC+:} false; then :
30963128 $as_echo_n "(cached) " >&6
30973129 else
30983130 if test -n "$CC"; then
31363168 set dummy $ac_prog; ac_word=$2
31373169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31383170 $as_echo_n "checking for $ac_word... " >&6; }
3139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3171 if ${ac_cv_prog_ac_ct_CC+:} false; then :
31403172 $as_echo_n "(cached) " >&6
31413173 else
31423174 if test -n "$ac_ct_CC"; then
34193451 ac_clean_files=$ac_clean_files_save
34203452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
34213453 $as_echo_n "checking for suffix of object files... " >&6; }
3422 if test "${ac_cv_objext+set}" = set; then :
3454 if ${ac_cv_objext+:} false; then :
34233455 $as_echo_n "(cached) " >&6
34243456 else
34253457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34703502 ac_objext=$OBJEXT
34713503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
34723504 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3473 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3505 if ${ac_cv_c_compiler_gnu+:} false; then :
34743506 $as_echo_n "(cached) " >&6
34753507 else
34763508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35073539 ac_save_CFLAGS=$CFLAGS
35083540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
35093541 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3510 if test "${ac_cv_prog_cc_g+set}" = set; then :
3542 if ${ac_cv_prog_cc_g+:} false; then :
35113543 $as_echo_n "(cached) " >&6
35123544 else
35133545 ac_save_c_werror_flag=$ac_c_werror_flag
35853617 fi
35863618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
35873619 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3588 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3620 if ${ac_cv_prog_cc_c89+:} false; then :
35893621 $as_echo_n "(cached) " >&6
35903622 else
35913623 ac_cv_prog_cc_c89=no
37463778
37473779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
37483780 $as_echo_n "checking dependency style of $depcc... " >&6; }
3749 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3781 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
37503782 $as_echo_n "(cached) " >&6
37513783 else
37523784 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
38783910 fi
38793911 set dummy $CC; ac_cc=`$as_echo "$2" |
38803912 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3881 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3913 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
38823914 $as_echo_n "(cached) " >&6
38833915 else
38843916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40034035
40044036
40054037
4006 macro_version='2.2.10'
4007 macro_revision='1.3175'
4038 macro_version='2.4'
4039 macro_revision='1.3293'
40084040
40094041
40104042
40444076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
40454077 $as_echo_n "checking how to print strings... " >&6; }
40464078 # Test print first, because it will be a builtin if present.
4047 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4079 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
40484080 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
40494081 ECHO='print -r --'
40504082 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
40914123
40924124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
40934125 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4094 if test "${ac_cv_path_SED+set}" = set; then :
4126 if ${ac_cv_path_SED+:} false; then :
40954127 $as_echo_n "(cached) " >&6
40964128 else
40974129 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
41734205
41744206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
41754207 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4176 if test "${ac_cv_path_GREP+set}" = set; then :
4208 if ${ac_cv_path_GREP+:} false; then :
41774209 $as_echo_n "(cached) " >&6
41784210 else
41794211 if test -z "$GREP"; then
42364268
42374269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
42384270 $as_echo_n "checking for egrep... " >&6; }
4239 if test "${ac_cv_path_EGREP+set}" = set; then :
4271 if ${ac_cv_path_EGREP+:} false; then :
42404272 $as_echo_n "(cached) " >&6
42414273 else
42424274 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
43034335
43044336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
43054337 $as_echo_n "checking for fgrep... " >&6; }
4306 if test "${ac_cv_path_FGREP+set}" = set; then :
4338 if ${ac_cv_path_FGREP+:} false; then :
43074339 $as_echo_n "(cached) " >&6
43084340 else
43094341 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
44344466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
44354467 $as_echo_n "checking for non-GNU ld... " >&6; }
44364468 fi
4437 if test "${lt_cv_path_LD+set}" = set; then :
4469 if ${lt_cv_path_LD+:} false; then :
44384470 $as_echo_n "(cached) " >&6
44394471 else
44404472 if test -z "$LD"; then
44744506 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
44754507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
44764508 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4477 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4509 if ${lt_cv_prog_gnu_ld+:} false; then :
44784510 $as_echo_n "(cached) " >&6
44794511 else
44804512 # I'd rather use --version here, but apparently some GNU lds only accept -v.
45014533
45024534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
45034535 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4504 if test "${lt_cv_path_NM+set}" = set; then :
4536 if ${lt_cv_path_NM+:} false; then :
45054537 $as_echo_n "(cached) " >&6
45064538 else
45074539 if test -n "$NM"; then
45644596 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
45654597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45664598 $as_echo_n "checking for $ac_word... " >&6; }
4567 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4599 if ${ac_cv_prog_DUMPBIN+:} false; then :
45684600 $as_echo_n "(cached) " >&6
45694601 else
45704602 if test -n "$DUMPBIN"; then
46084640 set dummy $ac_prog; ac_word=$2
46094641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
46104642 $as_echo_n "checking for $ac_word... " >&6; }
4611 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4643 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
46124644 $as_echo_n "(cached) " >&6
46134645 else
46144646 if test -n "$ac_ct_DUMPBIN"; then
46804712
46814713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
46824714 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4683 if test "${lt_cv_nm_interface+set}" = set; then :
4715 if ${lt_cv_nm_interface+:} false; then :
46844716 $as_echo_n "(cached) " >&6
46854717 else
46864718 lt_cv_nm_interface="BSD nm"
47154747 # find the maximum length of command line arguments
47164748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
47174749 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4718 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4750 if ${lt_cv_sys_max_cmd_len+:} false; then :
47194751 $as_echo_n "(cached) " >&6
47204752 else
47214753 i=0
48604892 # Try some XSI features
48614893 xsi_shell=no
48624894 ( _lt_dummy="a/b/c"
4863 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4864 = c,a/b,, \
4895 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4896 = c,a/b,b/c, \
48654897 && eval 'test $(( 1 + 1 )) -eq 2 \
48664898 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
48674899 && xsi_shell=yes
49104942
49114943
49124944
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4946 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4947 if ${lt_cv_to_host_file_cmd+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 case $host in
4951 *-*-mingw* )
4952 case $build in
4953 *-*-mingw* ) # actually msys
4954 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4955 ;;
4956 *-*-cygwin* )
4957 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4958 ;;
4959 * ) # otherwise, assume *nix
4960 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4961 ;;
4962 esac
4963 ;;
4964 *-*-cygwin* )
4965 case $build in
4966 *-*-mingw* ) # actually msys
4967 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4968 ;;
4969 *-*-cygwin* )
4970 lt_cv_to_host_file_cmd=func_convert_file_noop
4971 ;;
4972 * ) # otherwise, assume *nix
4973 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4974 ;;
4975 esac
4976 ;;
4977 * ) # unhandled hosts (and "normal" native builds)
4978 lt_cv_to_host_file_cmd=func_convert_file_noop
4979 ;;
4980 esac
4981
4982 fi
4983
4984 to_host_file_cmd=$lt_cv_to_host_file_cmd
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4986 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4987
4988
4989
4990
4991
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4993 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4994 if ${lt_cv_to_tool_file_cmd+:} false; then :
4995 $as_echo_n "(cached) " >&6
4996 else
4997 #assume ordinary cross tools, or native build.
4998 lt_cv_to_tool_file_cmd=func_convert_file_noop
4999 case $host in
5000 *-*-mingw* )
5001 case $build in
5002 *-*-mingw* ) # actually msys
5003 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5004 ;;
5005 esac
5006 ;;
5007 esac
5008
5009 fi
5010
5011 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5013 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5014
5015
5016
5017
5018
49135019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
49145020 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4915 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5021 if ${lt_cv_ld_reload_flag+:} false; then :
49165022 $as_echo_n "(cached) " >&6
49175023 else
49185024 lt_cv_ld_reload_flag='-r'
49265032 esac
49275033 reload_cmds='$LD$reload_flag -o $output$reload_objs'
49285034 case $host_os in
5035 cygwin* | mingw* | pw32* | cegcc*)
5036 if test "$GCC" != yes; then
5037 reload_cmds=false
5038 fi
5039 ;;
49295040 darwin*)
49305041 if test "$GCC" = yes; then
49315042 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
49485059 set dummy ${ac_tool_prefix}objdump; ac_word=$2
49495060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49505061 $as_echo_n "checking for $ac_word... " >&6; }
4951 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5062 if ${ac_cv_prog_OBJDUMP+:} false; then :
49525063 $as_echo_n "(cached) " >&6
49535064 else
49545065 if test -n "$OBJDUMP"; then
49885099 set dummy objdump; ac_word=$2
49895100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49905101 $as_echo_n "checking for $ac_word... " >&6; }
4991 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5102 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
49925103 $as_echo_n "(cached) " >&6
49935104 else
49945105 if test -n "$ac_ct_OBJDUMP"; then
50475158
50485159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
50495160 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5050 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5161 if ${lt_cv_deplibs_check_method+:} false; then :
50515162 $as_echo_n "(cached) " >&6
50525163 else
50535164 lt_cv_file_magic_cmd='$MAGIC_CMD'
52495360 fi
52505361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
52515362 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5363
5364 file_magic_glob=
5365 want_nocaseglob=no
5366 if test "$build" = "$host"; then
5367 case $host_os in
5368 mingw* | pw32*)
5369 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5370 want_nocaseglob=yes
5371 else
5372 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5373 fi
5374 ;;
5375 esac
5376 fi
5377
52525378 file_magic_cmd=$lt_cv_file_magic_cmd
52535379 deplibs_check_method=$lt_cv_deplibs_check_method
52545380 test -z "$deplibs_check_method" && deplibs_check_method=unknown
52645390
52655391
52665392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
52675403 if test -n "$ac_tool_prefix"; then
5268 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5269 set dummy ${ac_tool_prefix}ar; ac_word=$2
5404 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5405 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
52705406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
52715407 $as_echo_n "checking for $ac_word... " >&6; }
5272 if test "${ac_cv_prog_AR+set}" = set; then :
5408 if ${ac_cv_prog_DLLTOOL+:} false; then :
52735409 $as_echo_n "(cached) " >&6
52745410 else
5275 if test -n "$AR"; then
5276 ac_cv_prog_AR="$AR" # Let the user override the test.
5411 if test -n "$DLLTOOL"; then
5412 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
52775413 else
52785414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52795415 for as_dir in $PATH
52825418 test -z "$as_dir" && as_dir=.
52835419 for ac_exec_ext in '' $ac_executable_extensions; do
52845420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5285 ac_cv_prog_AR="${ac_tool_prefix}ar"
5421 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
52865422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
52875423 break 2
52885424 fi
52925428
52935429 fi
52945430 fi
5295 AR=$ac_cv_prog_AR
5296 if test -n "$AR"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5298 $as_echo "$AR" >&6; }
5431 DLLTOOL=$ac_cv_prog_DLLTOOL
5432 if test -n "$DLLTOOL"; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5434 $as_echo "$DLLTOOL" >&6; }
52995435 else
53005436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
53015437 $as_echo "no" >&6; }
53035439
53045440
53055441 fi
5306 if test -z "$ac_cv_prog_AR"; then
5307 ac_ct_AR=$AR
5308 # Extract the first word of "ar", so it can be a program name with args.
5309 set dummy ar; ac_word=$2
5442 if test -z "$ac_cv_prog_DLLTOOL"; then
5443 ac_ct_DLLTOOL=$DLLTOOL
5444 # Extract the first word of "dlltool", so it can be a program name with args.
5445 set dummy dlltool; ac_word=$2
53105446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
53115447 $as_echo_n "checking for $ac_word... " >&6; }
5312 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5448 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
53135449 $as_echo_n "(cached) " >&6
53145450 else
5315 if test -n "$ac_ct_AR"; then
5316 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5451 if test -n "$ac_ct_DLLTOOL"; then
5452 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
53175453 else
53185454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53195455 for as_dir in $PATH
53225458 test -z "$as_dir" && as_dir=.
53235459 for ac_exec_ext in '' $ac_executable_extensions; do
53245460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5325 ac_cv_prog_ac_ct_AR="ar"
5461 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
53265462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
53275463 break 2
53285464 fi
53325468
53335469 fi
53345470 fi
5471 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5472 if test -n "$ac_ct_DLLTOOL"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5474 $as_echo "$ac_ct_DLLTOOL" >&6; }
5475 else
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5478 fi
5479
5480 if test "x$ac_ct_DLLTOOL" = x; then
5481 DLLTOOL="false"
5482 else
5483 case $cross_compiling:$ac_tool_warned in
5484 yes:)
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5487 ac_tool_warned=yes ;;
5488 esac
5489 DLLTOOL=$ac_ct_DLLTOOL
5490 fi
5491 else
5492 DLLTOOL="$ac_cv_prog_DLLTOOL"
5493 fi
5494
5495 test -z "$DLLTOOL" && DLLTOOL=dlltool
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5507 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5508 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5509 $as_echo_n "(cached) " >&6
5510 else
5511 lt_cv_sharedlib_from_linklib_cmd='unknown'
5512
5513 case $host_os in
5514 cygwin* | mingw* | pw32* | cegcc*)
5515 # two different shell functions defined in ltmain.sh
5516 # decide which to use based on capabilities of $DLLTOOL
5517 case `$DLLTOOL --help 2>&1` in
5518 *--identify-strict*)
5519 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5520 ;;
5521 *)
5522 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5523 ;;
5524 esac
5525 ;;
5526 *)
5527 # fallback: assume linklib IS sharedlib
5528 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5529 ;;
5530 esac
5531
5532 fi
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5534 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5535 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5536 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5537
5538
5539
5540
5541
5542
5543
5544
5545 if test -n "$ac_tool_prefix"; then
5546 for ac_prog in ar
5547 do
5548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_AR+:} false; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if test -n "$AR"; then
5556 ac_cv_prog_AR="$AR" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5560 do
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5568 fi
5569 done
5570 done
5571 IFS=$as_save_IFS
5572
5573 fi
5574 fi
5575 AR=$ac_cv_prog_AR
5576 if test -n "$AR"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5578 $as_echo "$AR" >&6; }
5579 else
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5582 fi
5583
5584
5585 test -n "$AR" && break
5586 done
5587 fi
5588 if test -z "$AR"; then
5589 ac_ct_AR=$AR
5590 for ac_prog in ar
5591 do
5592 # Extract the first word of "$ac_prog", so it can be a program name with args.
5593 set dummy $ac_prog; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5597 $as_echo_n "(cached) " >&6
5598 else
5599 if test -n "$ac_ct_AR"; then
5600 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5601 else
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 for as_dir in $PATH
5604 do
5605 IFS=$as_save_IFS
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5609 ac_cv_prog_ac_ct_AR="$ac_prog"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 break 2
5612 fi
5613 done
5614 done
5615 IFS=$as_save_IFS
5616
5617 fi
5618 fi
53355619 ac_ct_AR=$ac_cv_prog_ac_ct_AR
53365620 if test -n "$ac_ct_AR"; then
53375621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
53405624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
53415625 $as_echo "no" >&6; }
53425626 fi
5627
5628
5629 test -n "$ac_ct_AR" && break
5630 done
53435631
53445632 if test "x$ac_ct_AR" = x; then
53455633 AR="false"
53525640 esac
53535641 AR=$ac_ct_AR
53545642 fi
5355 else
5356 AR="$ac_cv_prog_AR"
5357 fi
5358
5359 test -z "$AR" && AR=ar
5360 test -z "$AR_FLAGS" && AR_FLAGS=cru
5361
5362
5363
5364
5643 fi
5644
5645 : ${AR=ar}
5646 : ${AR_FLAGS=cru}
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5659 $as_echo_n "checking for archiver @FILE support... " >&6; }
5660 if ${lt_cv_ar_at_file+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 lt_cv_ar_at_file=no
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5666
5667 int
5668 main ()
5669 {
5670
5671 ;
5672 return 0;
5673 }
5674 _ACEOF
5675 if ac_fn_c_try_compile "$LINENO"; then :
5676 echo conftest.$ac_objext > conftest.lst
5677 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5678 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5679 (eval $lt_ar_try) 2>&5
5680 ac_status=$?
5681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5682 test $ac_status = 0; }
5683 if test "$ac_status" -eq 0; then
5684 # Ensure the archiver fails upon bogus file names.
5685 rm -f conftest.$ac_objext libconftest.a
5686 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5687 (eval $lt_ar_try) 2>&5
5688 ac_status=$?
5689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5690 test $ac_status = 0; }
5691 if test "$ac_status" -ne 0; then
5692 lt_cv_ar_at_file=@
5693 fi
5694 fi
5695 rm -f conftest.* libconftest.a
5696
5697 fi
5698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5699
5700 fi
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5702 $as_echo "$lt_cv_ar_at_file" >&6; }
5703
5704 if test "x$lt_cv_ar_at_file" = xno; then
5705 archiver_list_spec=
5706 else
5707 archiver_list_spec=$lt_cv_ar_at_file
5708 fi
53655709
53665710
53675711
53745718 set dummy ${ac_tool_prefix}strip; ac_word=$2
53755719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
53765720 $as_echo_n "checking for $ac_word... " >&6; }
5377 if test "${ac_cv_prog_STRIP+set}" = set; then :
5721 if ${ac_cv_prog_STRIP+:} false; then :
53785722 $as_echo_n "(cached) " >&6
53795723 else
53805724 if test -n "$STRIP"; then
54145758 set dummy strip; ac_word=$2
54155759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
54165760 $as_echo_n "checking for $ac_word... " >&6; }
5417 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5761 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
54185762 $as_echo_n "(cached) " >&6
54195763 else
54205764 if test -n "$ac_ct_STRIP"; then
54735817 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
54745818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
54755819 $as_echo_n "checking for $ac_word... " >&6; }
5476 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5820 if ${ac_cv_prog_RANLIB+:} false; then :
54775821 $as_echo_n "(cached) " >&6
54785822 else
54795823 if test -n "$RANLIB"; then
55135857 set dummy ranlib; ac_word=$2
55145858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
55155859 $as_echo_n "checking for $ac_word... " >&6; }
5516 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5860 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
55175861 $as_echo_n "(cached) " >&6
55185862 else
55195863 if test -n "$ac_ct_RANLIB"; then
56425986 # Check for command to grab the raw symbol name followed by C symbol from nm.
56435987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
56445988 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5645 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5989 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
56465990 $as_echo_n "(cached) " >&6
56475991 else
56485992
57036047 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
57046048
57056049 # Transform an extracted symbol line into symbol name and symbol address
5706 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5707 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'"
6050 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6051 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'"
57086052
57096053 # Handle CRLF in mingw tool chain
57106054 opt_cr=
57406084 else
57416085 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
57426086 fi
6087 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
57436088
57446089 # Check to see that the pipe works correctly.
57456090 pipe_works=no
57816126 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
57826127 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
57836128 cat <<_LT_EOF > conftest.$ac_ext
6129 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6130 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6131 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6132 relocations are performed -- see ld's documentation on pseudo-relocs. */
6133 # define LT_DLSYM_CONST
6134 #elif defined(__osf__)
6135 /* This system does not cope well with relocations in const data. */
6136 # define LT_DLSYM_CONST
6137 #else
6138 # define LT_DLSYM_CONST const
6139 #endif
6140
57846141 #ifdef __cplusplus
57856142 extern "C" {
57866143 #endif
57926149 cat <<_LT_EOF >> conftest.$ac_ext
57936150
57946151 /* The mapping between symbol names and symbols. */
5795 const struct {
6152 LT_DLSYM_CONST struct {
57966153 const char *name;
57976154 void *address;
57986155 }
58186175 _LT_EOF
58196176 # Now try linking the two files.
58206177 mv conftest.$ac_objext conftstm.$ac_objext
5821 lt_save_LIBS="$LIBS"
5822 lt_save_CFLAGS="$CFLAGS"
6178 lt_globsym_save_LIBS=$LIBS
6179 lt_globsym_save_CFLAGS=$CFLAGS
58236180 LIBS="conftstm.$ac_objext"
58246181 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
58256182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
58296186 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
58306187 pipe_works=yes
58316188 fi
5832 LIBS="$lt_save_LIBS"
5833 CFLAGS="$lt_save_CFLAGS"
6189 LIBS=$lt_globsym_save_LIBS
6190 CFLAGS=$lt_globsym_save_CFLAGS
58346191 else
58356192 echo "cannot find nm_test_func in $nlist" >&5
58366193 fi
58676224 $as_echo "ok" >&6; }
58686225 fi
58696226
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
6227 # Response file support.
6228 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6229 nm_file_list_spec='@'
6230 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6231 nm_file_list_spec='@'
6232 fi
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6261 $as_echo_n "checking for sysroot... " >&6; }
6262
6263 # Check whether --with-sysroot was given.
6264 if test "${with_sysroot+set}" = set; then :
6265 withval=$with_sysroot;
6266 else
6267 with_sysroot=no
6268 fi
6269
6270
6271 lt_sysroot=
6272 case ${with_sysroot} in #(
6273 yes)
6274 if test "$GCC" = yes; then
6275 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6276 fi
6277 ;; #(
6278 /*)
6279 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6280 ;; #(
6281 no|'')
6282 ;; #(
6283 *)
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6285 $as_echo "${with_sysroot}" >&6; }
6286 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6287 ;;
6288 esac
6289
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6291 $as_echo "${lt_sysroot:-no}" >&6; }
58876292
58886293
58896294
60146419 CFLAGS="$CFLAGS -belf"
60156420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
60166421 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6017 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6422 if ${lt_cv_cc_needs_belf+:} false; then :
60186423 $as_echo_n "(cached) " >&6
60196424 else
60206425 ac_ext=c
60826487
60836488 need_locks="$enable_libtool_lock"
60846489
6490 if test -n "$ac_tool_prefix"; then
6491 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6492 set dummy ${ac_tool_prefix}mt; ac_word=$2
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494 $as_echo_n "checking for $ac_word... " >&6; }
6495 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6496 $as_echo_n "(cached) " >&6
6497 else
6498 if test -n "$MANIFEST_TOOL"; then
6499 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6500 else
6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502 for as_dir in $PATH
6503 do
6504 IFS=$as_save_IFS
6505 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do
6507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6508 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6510 break 2
6511 fi
6512 done
6513 done
6514 IFS=$as_save_IFS
6515
6516 fi
6517 fi
6518 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6519 if test -n "$MANIFEST_TOOL"; then
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6521 $as_echo "$MANIFEST_TOOL" >&6; }
6522 else
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524 $as_echo "no" >&6; }
6525 fi
6526
6527
6528 fi
6529 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6530 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6531 # Extract the first word of "mt", so it can be a program name with args.
6532 set dummy mt; ac_word=$2
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 $as_echo_n "checking for $ac_word... " >&6; }
6535 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538 if test -n "$ac_ct_MANIFEST_TOOL"; then
6539 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6540 else
6541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6542 for as_dir in $PATH
6543 do
6544 IFS=$as_save_IFS
6545 test -z "$as_dir" && as_dir=.
6546 for ac_exec_ext in '' $ac_executable_extensions; do
6547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6548 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6550 break 2
6551 fi
6552 done
6553 done
6554 IFS=$as_save_IFS
6555
6556 fi
6557 fi
6558 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6559 if test -n "$ac_ct_MANIFEST_TOOL"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6561 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6562 else
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 $as_echo "no" >&6; }
6565 fi
6566
6567 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6568 MANIFEST_TOOL=":"
6569 else
6570 case $cross_compiling:$ac_tool_warned in
6571 yes:)
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6574 ac_tool_warned=yes ;;
6575 esac
6576 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6577 fi
6578 else
6579 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6580 fi
6581
6582 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6584 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6585 if ${lt_cv_path_mainfest_tool+:} false; then :
6586 $as_echo_n "(cached) " >&6
6587 else
6588 lt_cv_path_mainfest_tool=no
6589 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6590 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6591 cat conftest.err >&5
6592 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6593 lt_cv_path_mainfest_tool=yes
6594 fi
6595 rm -f conftest*
6596 fi
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6598 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6599 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6600 MANIFEST_TOOL=:
6601 fi
6602
6603
6604
6605
6606
60856607
60866608 case $host_os in
60876609 rhapsody* | darwin*)
60906612 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
60916613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
60926614 $as_echo_n "checking for $ac_word... " >&6; }
6093 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6615 if ${ac_cv_prog_DSYMUTIL+:} false; then :
60946616 $as_echo_n "(cached) " >&6
60956617 else
60966618 if test -n "$DSYMUTIL"; then
61306652 set dummy dsymutil; ac_word=$2
61316653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
61326654 $as_echo_n "checking for $ac_word... " >&6; }
6133 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6655 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
61346656 $as_echo_n "(cached) " >&6
61356657 else
61366658 if test -n "$ac_ct_DSYMUTIL"; then
61826704 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
61836705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
61846706 $as_echo_n "checking for $ac_word... " >&6; }
6185 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6707 if ${ac_cv_prog_NMEDIT+:} false; then :
61866708 $as_echo_n "(cached) " >&6
61876709 else
61886710 if test -n "$NMEDIT"; then
62226744 set dummy nmedit; ac_word=$2
62236745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
62246746 $as_echo_n "checking for $ac_word... " >&6; }
6225 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6747 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
62266748 $as_echo_n "(cached) " >&6
62276749 else
62286750 if test -n "$ac_ct_NMEDIT"; then
62746796 set dummy ${ac_tool_prefix}lipo; ac_word=$2
62756797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
62766798 $as_echo_n "checking for $ac_word... " >&6; }
6277 if test "${ac_cv_prog_LIPO+set}" = set; then :
6799 if ${ac_cv_prog_LIPO+:} false; then :
62786800 $as_echo_n "(cached) " >&6
62796801 else
62806802 if test -n "$LIPO"; then
63146836 set dummy lipo; ac_word=$2
63156837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
63166838 $as_echo_n "checking for $ac_word... " >&6; }
6317 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6839 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
63186840 $as_echo_n "(cached) " >&6
63196841 else
63206842 if test -n "$ac_ct_LIPO"; then
63666888 set dummy ${ac_tool_prefix}otool; ac_word=$2
63676889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
63686890 $as_echo_n "checking for $ac_word... " >&6; }
6369 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6891 if ${ac_cv_prog_OTOOL+:} false; then :
63706892 $as_echo_n "(cached) " >&6
63716893 else
63726894 if test -n "$OTOOL"; then
64066928 set dummy otool; ac_word=$2
64076929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64086930 $as_echo_n "checking for $ac_word... " >&6; }
6409 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6931 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
64106932 $as_echo_n "(cached) " >&6
64116933 else
64126934 if test -n "$ac_ct_OTOOL"; then
64586980 set dummy ${ac_tool_prefix}otool64; ac_word=$2
64596981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64606982 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6983 if ${ac_cv_prog_OTOOL64+:} false; then :
64626984 $as_echo_n "(cached) " >&6
64636985 else
64646986 if test -n "$OTOOL64"; then
64987020 set dummy otool64; ac_word=$2
64997021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65007022 $as_echo_n "checking for $ac_word... " >&6; }
6501 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7023 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
65027024 $as_echo_n "(cached) " >&6
65037025 else
65047026 if test -n "$ac_ct_OTOOL64"; then
65737095
65747096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
65757097 $as_echo_n "checking for -single_module linker flag... " >&6; }
6576 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7098 if ${lt_cv_apple_cc_single_mod+:} false; then :
65777099 $as_echo_n "(cached) " >&6
65787100 else
65797101 lt_cv_apple_cc_single_mod=no
66027124 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
66037125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
66047126 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6605 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7127 if ${lt_cv_ld_exported_symbols_list+:} false; then :
66067128 $as_echo_n "(cached) " >&6
66077129 else
66087130 lt_cv_ld_exported_symbols_list=no
66347156 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
66357157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
66367158 $as_echo_n "checking for -force_load linker flag... " >&6; }
6637 if test "${lt_cv_ld_force_load+set}" = set; then :
7159 if ${lt_cv_ld_force_load+:} false; then :
66387160 $as_echo_n "(cached) " >&6
66397161 else
66407162 lt_cv_ld_force_load=no
67117233 CPP=
67127234 fi
67137235 if test -z "$CPP"; then
6714 if test "${ac_cv_prog_CPP+set}" = set; then :
7236 if ${ac_cv_prog_CPP+:} false; then :
67157237 $as_echo_n "(cached) " >&6
67167238 else
67177239 # Double quotes because CPP needs to be expanded
67417263 # Broken: fails on valid input.
67427264 continue
67437265 fi
6744 rm -f conftest.err conftest.$ac_ext
7266 rm -f conftest.err conftest.i conftest.$ac_ext
67457267
67467268 # OK, works on sane cases. Now check whether nonexistent headers
67477269 # can be detected and how.
67577279 ac_preproc_ok=:
67587280 break
67597281 fi
6760 rm -f conftest.err conftest.$ac_ext
7282 rm -f conftest.err conftest.i conftest.$ac_ext
67617283
67627284 done
67637285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6764 rm -f conftest.err conftest.$ac_ext
7286 rm -f conftest.i conftest.err conftest.$ac_ext
67657287 if $ac_preproc_ok; then :
67667288 break
67677289 fi
68007322 # Broken: fails on valid input.
68017323 continue
68027324 fi
6803 rm -f conftest.err conftest.$ac_ext
7325 rm -f conftest.err conftest.i conftest.$ac_ext
68047326
68057327 # OK, works on sane cases. Now check whether nonexistent headers
68067328 # can be detected and how.
68167338 ac_preproc_ok=:
68177339 break
68187340 fi
6819 rm -f conftest.err conftest.$ac_ext
7341 rm -f conftest.err conftest.i conftest.$ac_ext
68207342
68217343 done
68227344 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6823 rm -f conftest.err conftest.$ac_ext
7345 rm -f conftest.i conftest.err conftest.$ac_ext
68247346 if $ac_preproc_ok; then :
68257347
68267348 else
68397361
68407362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
68417363 $as_echo_n "checking for ANSI C header files... " >&6; }
6842 if test "${ac_cv_header_stdc+set}" = set; then :
7364 if ${ac_cv_header_stdc+:} false; then :
68437365 $as_echo_n "(cached) " >&6
68447366 else
68457367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69707492 do :
69717493 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
69727494 "
6973 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7495 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
69747496 cat >>confdefs.h <<_ACEOF
69757497 #define HAVE_DLFCN_H 1
69767498 _ACEOF
71577679
71587680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
71597681 $as_echo_n "checking for objdir... " >&6; }
7160 if test "${lt_cv_objdir+set}" = set; then :
7682 if ${lt_cv_objdir+:} false; then :
71617683 $as_echo_n "(cached) " >&6
71627684 else
71637685 rm -f .libs 2>/dev/null
72357757 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
72367758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
72377759 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7238 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7760 if ${lt_cv_path_MAGIC_CMD+:} false; then :
72397761 $as_echo_n "(cached) " >&6
72407762 else
72417763 case $MAGIC_CMD in
73017823 if test -n "$ac_tool_prefix"; then
73027824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
73037825 $as_echo_n "checking for file... " >&6; }
7304 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7826 if ${lt_cv_path_MAGIC_CMD+:} false; then :
73057827 $as_echo_n "(cached) " >&6
73067828 else
73077829 case $MAGIC_CMD in
74437965
74447966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
74457967 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7446 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7968 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
74477969 $as_echo_n "(cached) " >&6
74487970 else
74497971 lt_cv_prog_compiler_rtti_exceptions=no
74968018 lt_prog_compiler_pic=
74978019 lt_prog_compiler_static=
74988020
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7500 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
75018021
75028022 if test "$GCC" = yes; then
75038023 lt_prog_compiler_wl='-Wl,'
76618181 lt_prog_compiler_wl='-Wl,'
76628182 lt_prog_compiler_pic='--shared'
76638183 lt_prog_compiler_static='--static'
8184 ;;
8185 nagfor*)
8186 # NAG Fortran compiler
8187 lt_prog_compiler_wl='-Wl,-Wl,,'
8188 lt_prog_compiler_pic='-PIC'
8189 lt_prog_compiler_static='-Bstatic'
76648190 ;;
76658191 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
76668192 # Portland Group compilers (*not* the Pentium gcc compiler,
77818307 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
77828308 ;;
77838309 esac
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7785 $as_echo "$lt_prog_compiler_pic" >&6; }
7786
7787
7788
7789
7790
8310
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8312 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8313 if ${lt_cv_prog_compiler_pic+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8317 fi
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8319 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8320 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
77918321
77928322 #
77938323 # Check to make sure the PIC flag actually works.
77958325 if test -n "$lt_prog_compiler_pic"; then
77968326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
77978327 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7798 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8328 if ${lt_cv_prog_compiler_pic_works+:} false; then :
77998329 $as_echo_n "(cached) " >&6
78008330 else
78018331 lt_cv_prog_compiler_pic_works=no
78488378
78498379
78508380
8381
8382
8383
8384
8385
78518386 #
78528387 # Check to make sure the static flag actually works.
78538388 #
78548389 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
78558390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
78568391 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7857 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8392 if ${lt_cv_prog_compiler_static_works+:} false; then :
78588393 $as_echo_n "(cached) " >&6
78598394 else
78608395 lt_cv_prog_compiler_static_works=no
78978432
78988433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
78998434 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7900 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8435 if ${lt_cv_prog_compiler_c_o+:} false; then :
79018436 $as_echo_n "(cached) " >&6
79028437 else
79038438 lt_cv_prog_compiler_c_o=no
79528487
79538488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
79548489 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7955 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8490 if ${lt_cv_prog_compiler_c_o+:} false; then :
79568491 $as_echo_n "(cached) " >&6
79578492 else
79588493 lt_cv_prog_compiler_c_o=no
81988733 allow_undefined_flag=unsupported
81998734 always_export_symbols=no
82008735 enable_shared_with_static_runtimes=yes
8201 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8736 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'
8737 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
82028738
82038739 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
82048740 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
82468782 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
82478783 && test "$tmp_diet" = no
82488784 then
8249 tmp_addflag=
8785 tmp_addflag=' $pic_flag'
82508786 tmp_sharedflag='-shared'
82518787 case $cc_basename,$host_cpu in
82528788 pgcc*) # Portland Group C compiler
83168852 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
83178853 wlarc=
83188854 else
8319 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8320 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8855 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8856 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
83218857 fi
83228858 ;;
83238859
83358871
83368872 _LT_EOF
83378873 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8338 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8339 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8874 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8875 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
83408876 else
83418877 ld_shlibs=no
83428878 fi
83828918
83838919 *)
83848920 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8385 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8386 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8921 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8922 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
83878923 else
83888924 ld_shlibs=no
83898925 fi
85139049 allow_undefined_flag='-berok'
85149050 # Determine the default libpath from the value encoded in an
85159051 # empty executable.
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9052 if test "${lt_cv_aix_libpath+set}" = set; then
9053 aix_libpath=$lt_cv_aix_libpath
9054 else
9055 if ${lt_cv_aix_libpath_+:} false; then :
9056 $as_echo_n "(cached) " >&6
9057 else
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85179059 /* end confdefs.h. */
85189060
85199061 int
85269068 _ACEOF
85279069 if ac_fn_c_try_link "$LINENO"; then :
85289070
8529 lt_aix_libpath_sed='
8530 /Import File Strings/,/^$/ {
8531 /^0/ {
8532 s/^0 *\(.*\)$/\1/
8533 p
8534 }
8535 }'
8536 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8537 # Check for a 64-bit object if we didn't find anything.
8538 if test -z "$aix_libpath"; then
8539 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8540 fi
9071 lt_aix_libpath_sed='
9072 /Import File Strings/,/^$/ {
9073 /^0/ {
9074 s/^0 *\([^ ]*\) *$/\1/
9075 p
9076 }
9077 }'
9078 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9079 # Check for a 64-bit object if we didn't find anything.
9080 if test -z "$lt_cv_aix_libpath_"; then
9081 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9082 fi
85419083 fi
85429084 rm -f core conftest.err conftest.$ac_objext \
85439085 conftest$ac_exeext conftest.$ac_ext
8544 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9086 if test -z "$lt_cv_aix_libpath_"; then
9087 lt_cv_aix_libpath_="/usr/lib:/lib"
9088 fi
9089
9090 fi
9091
9092 aix_libpath=$lt_cv_aix_libpath_
9093 fi
85459094
85469095 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
85479096 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"
85539102 else
85549103 # Determine the default libpath from the value encoded in an
85559104 # empty executable.
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 if test "${lt_cv_aix_libpath+set}" = set; then
9106 aix_libpath=$lt_cv_aix_libpath
9107 else
9108 if ${lt_cv_aix_libpath_+:} false; then :
9109 $as_echo_n "(cached) " >&6
9110 else
9111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85579112 /* end confdefs.h. */
85589113
85599114 int
85669121 _ACEOF
85679122 if ac_fn_c_try_link "$LINENO"; then :
85689123
8569 lt_aix_libpath_sed='
8570 /Import File Strings/,/^$/ {
8571 /^0/ {
8572 s/^0 *\(.*\)$/\1/
8573 p
8574 }
8575 }'
8576 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8577 # Check for a 64-bit object if we didn't find anything.
8578 if test -z "$aix_libpath"; then
8579 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8580 fi
9124 lt_aix_libpath_sed='
9125 /Import File Strings/,/^$/ {
9126 /^0/ {
9127 s/^0 *\([^ ]*\) *$/\1/
9128 p
9129 }
9130 }'
9131 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9132 # Check for a 64-bit object if we didn't find anything.
9133 if test -z "$lt_cv_aix_libpath_"; then
9134 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9135 fi
85819136 fi
85829137 rm -f core conftest.err conftest.$ac_objext \
85839138 conftest$ac_exeext conftest.$ac_ext
8584 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9139 if test -z "$lt_cv_aix_libpath_"; then
9140 lt_cv_aix_libpath_="/usr/lib:/lib"
9141 fi
9142
9143 fi
9144
9145 aix_libpath=$lt_cv_aix_libpath_
9146 fi
85859147
85869148 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
85879149 # Warning - without using the other run time loading flags,
86269188 # Microsoft Visual C++.
86279189 # hardcode_libdir_flag_spec is actually meaningless, as there is
86289190 # no search path for DLLs.
8629 hardcode_libdir_flag_spec=' '
8630 allow_undefined_flag=unsupported
8631 # Tell ltmain to make .lib files, not .a files.
8632 libext=lib
8633 # Tell ltmain to make .dll files, not .so files.
8634 shrext_cmds=".dll"
8635 # FIXME: Setting linknames here is a bad hack.
8636 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8637 # The linker will automatically build a .lib file if we build a DLL.
8638 old_archive_from_new_cmds='true'
8639 # FIXME: Should let the user specify the lib program.
8640 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8641 fix_srcfile_path='`cygpath -w "$srcfile"`'
8642 enable_shared_with_static_runtimes=yes
9191 case $cc_basename in
9192 cl*)
9193 # Native MSVC
9194 hardcode_libdir_flag_spec=' '
9195 allow_undefined_flag=unsupported
9196 always_export_symbols=yes
9197 file_list_spec='@'
9198 # Tell ltmain to make .lib files, not .a files.
9199 libext=lib
9200 # Tell ltmain to make .dll files, not .so files.
9201 shrext_cmds=".dll"
9202 # FIXME: Setting linknames here is a bad hack.
9203 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9204 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9205 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9206 else
9207 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9208 fi~
9209 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9210 linknames='
9211 # The linker will not automatically build a static lib if we build a DLL.
9212 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9213 enable_shared_with_static_runtimes=yes
9214 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9215 # Don't use ranlib
9216 old_postinstall_cmds='chmod 644 $oldlib'
9217 postlink_cmds='lt_outputfile="@OUTPUT@"~
9218 lt_tool_outputfile="@TOOL_OUTPUT@"~
9219 case $lt_outputfile in
9220 *.exe|*.EXE) ;;
9221 *)
9222 lt_outputfile="$lt_outputfile.exe"
9223 lt_tool_outputfile="$lt_tool_outputfile.exe"
9224 ;;
9225 esac~
9226 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9227 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9228 $RM "$lt_outputfile.manifest";
9229 fi'
9230 ;;
9231 *)
9232 # Assume MSVC wrapper
9233 hardcode_libdir_flag_spec=' '
9234 allow_undefined_flag=unsupported
9235 # Tell ltmain to make .lib files, not .a files.
9236 libext=lib
9237 # Tell ltmain to make .dll files, not .so files.
9238 shrext_cmds=".dll"
9239 # FIXME: Setting linknames here is a bad hack.
9240 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9241 # The linker will automatically build a .lib file if we build a DLL.
9242 old_archive_from_new_cmds='true'
9243 # FIXME: Should let the user specify the lib program.
9244 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9245 enable_shared_with_static_runtimes=yes
9246 ;;
9247 esac
86439248 ;;
86449249
86459250 darwin* | rhapsody*)
87049309
87059310 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
87069311 freebsd* | dragonfly*)
8707 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9312 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
87089313 hardcode_libdir_flag_spec='-R$libdir'
87099314 hardcode_direct=yes
87109315 hardcode_shlibpath_var=no
87129317
87139318 hpux9*)
87149319 if test "$GCC" = yes; then
8715 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9320 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'
87169321 else
87179322 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'
87189323 fi
87289333
87299334 hpux10*)
87309335 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8731 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9336 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
87329337 else
87339338 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
87349339 fi
87529357 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
87539358 ;;
87549359 ia64*)
8755 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9360 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
87569361 ;;
87579362 *)
8758 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9363 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
87599364 ;;
87609365 esac
87619366 else
87729377 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
87739378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
87749379 $as_echo_n "checking if $CC understands -b... " >&6; }
8775 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9380 if ${lt_cv_prog_compiler__b+:} false; then :
87769381 $as_echo_n "(cached) " >&6
87779382 else
87789383 lt_cv_prog_compiler__b=no
88349439
88359440 irix5* | irix6* | nonstopux*)
88369441 if test "$GCC" = yes; then
8837 archive_cmds='$CC -shared $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'
9442 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'
88389443 # Try to use the -exported_symbol ld option, if it does not
88399444 # work, assume that -exports_file does not work either and
88409445 # implicitly export all symbols.
8841 save_LDFLAGS="$LDFLAGS"
8842 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9446 # This should be the same for all languages, so no per-tag cache variable.
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9448 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9449 if ${lt_cv_irix_exported_symbol+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 save_LDFLAGS="$LDFLAGS"
9453 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88449455 /* end confdefs.h. */
8845 int foo(void) {}
9456 int foo (void) { return 0; }
88469457 _ACEOF
88479458 if ac_fn_c_try_link "$LINENO"; then :
8848 archive_expsym_cmds='$CC -shared $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'
8849
9459 lt_cv_irix_exported_symbol=yes
9460 else
9461 lt_cv_irix_exported_symbol=no
88509462 fi
88519463 rm -f core conftest.err conftest.$ac_objext \
88529464 conftest$ac_exeext conftest.$ac_ext
8853 LDFLAGS="$save_LDFLAGS"
9465 LDFLAGS="$save_LDFLAGS"
9466 fi
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9468 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9469 if test "$lt_cv_irix_exported_symbol" = yes; then
9470 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'
9471 fi
88549472 else
88559473 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'
88569474 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'
89359553 osf4* | osf5*) # as osf3* with the addition of -msym flag
89369554 if test "$GCC" = yes; then
89379555 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8938 archive_cmds='$CC -shared${allow_undefined_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'
9556 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'
89399557 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
89409558 else
89419559 allow_undefined_flag=' -expect_unresolved \*'
89549572 no_undefined_flag=' -z defs'
89559573 if test "$GCC" = yes; then
89569574 wlarc='${wl}'
8957 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9575 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
89589576 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8959 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9577 $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'
89609578 else
89619579 case `$CC -V 2>&1` in
89629580 *"Compilers 5.0"*)
91449762 # to ld, don't add -lc before -lgcc.
91459763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
91469764 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9147 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9765 if ${lt_cv_archive_cmds_need_lc+:} false; then :
91489766 $as_echo_n "(cached) " >&6
91499767 else
91509768 $RM conftest*
953210150 need_version=no
953310151 need_lib_prefix=no
953410152
9535 case $GCC,$host_os in
9536 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10153 case $GCC,$cc_basename in
10154 yes,*)
10155 # gcc
953710156 library_names_spec='$libname.dll.a'
953810157 # DLL is installed to $(libdir)/../bin by postinstall_cmds
953910158 postinstall_cmds='base_file=`basename \${file}`~
956610185 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
956710186 ;;
956810187 esac
10188 dynamic_linker='Win32 ld.exe'
956910189 ;;
957010190
10191 *,cl*)
10192 # Native MSVC
10193 libname_spec='$name'
10194 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10195 library_names_spec='${libname}.dll.lib'
10196
10197 case $build_os in
10198 mingw*)
10199 sys_lib_search_path_spec=
10200 lt_save_ifs=$IFS
10201 IFS=';'
10202 for lt_path in $LIB
10203 do
10204 IFS=$lt_save_ifs
10205 # Let DOS variable expansion print the short 8.3 style file name.
10206 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10207 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10208 done
10209 IFS=$lt_save_ifs
10210 # Convert to MSYS style.
10211 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10212 ;;
10213 cygwin*)
10214 # Convert to unix form, then to dos form, then back to unix form
10215 # but this time dos style (no spaces!) so that the unix form looks
10216 # like /cygdrive/c/PROGRA~1:/cygdr...
10217 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10218 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10219 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10220 ;;
10221 *)
10222 sys_lib_search_path_spec="$LIB"
10223 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10224 # It is most probably a Windows format PATH.
10225 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10226 else
10227 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10228 fi
10229 # FIXME: find the short name or the path components, as spaces are
10230 # common. (e.g. "Program Files" -> "PROGRA~1")
10231 ;;
10232 esac
10233
10234 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10235 postinstall_cmds='base_file=`basename \${file}`~
10236 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10237 dldir=$destdir/`dirname \$dlpath`~
10238 test -d \$dldir || mkdir -p \$dldir~
10239 $install_prog $dir/$dlname \$dldir/$dlname'
10240 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10241 dlpath=$dir/\$dldll~
10242 $RM \$dlpath'
10243 shlibpath_overrides_runpath=yes
10244 dynamic_linker='Win32 link.exe'
10245 ;;
10246
957110247 *)
10248 # Assume MSVC wrapper
957210249 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10250 dynamic_linker='Win32 ld.exe'
957310251 ;;
957410252 esac
9575 dynamic_linker='Win32 ld.exe'
957610253 # FIXME: first we should search . and the directory the executable is in
957710254 shlibpath_var=PATH
957810255 ;;
978610463 shlibpath_overrides_runpath=no
978710464
978810465 # Some binutils ld are patched to set DT_RUNPATH
9789 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10466 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
979010467 $as_echo_n "(cached) " >&6
979110468 else
979210469 lt_cv_shlibpath_overrides_runpath=no
1021010887 # if libdl is installed we need to link against it
1021110888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1021210889 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10213 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10890 if ${ac_cv_lib_dl_dlopen+:} false; then :
1021410891 $as_echo_n "(cached) " >&6
1021510892 else
1021610893 ac_check_lib_save_LIBS=$LIBS
1024410921 fi
1024510922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1024610923 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10247 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10924 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1024810925 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1024910926 else
1025010927
1025810935
1025910936 *)
1026010937 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10261 if test "x$ac_cv_func_shl_load" = x""yes; then :
10938 if test "x$ac_cv_func_shl_load" = xyes; then :
1026210939 lt_cv_dlopen="shl_load"
1026310940 else
1026410941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
1026510942 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10266 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10943 if ${ac_cv_lib_dld_shl_load+:} false; then :
1026710944 $as_echo_n "(cached) " >&6
1026810945 else
1026910946 ac_check_lib_save_LIBS=$LIBS
1029710974 fi
1029810975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
1029910976 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10300 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10977 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1030110978 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
1030210979 else
1030310980 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10304 if test "x$ac_cv_func_dlopen" = x""yes; then :
10981 if test "x$ac_cv_func_dlopen" = xyes; then :
1030510982 lt_cv_dlopen="dlopen"
1030610983 else
1030710984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1030810985 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10309 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10986 if ${ac_cv_lib_dl_dlopen+:} false; then :
1031010987 $as_echo_n "(cached) " >&6
1031110988 else
1031210989 ac_check_lib_save_LIBS=$LIBS
1034011017 fi
1034111018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1034211019 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10343 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11020 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1034411021 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1034511022 else
1034611023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
1034711024 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10348 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11025 if ${ac_cv_lib_svld_dlopen+:} false; then :
1034911026 $as_echo_n "(cached) " >&6
1035011027 else
1035111028 ac_check_lib_save_LIBS=$LIBS
1037911056 fi
1038011057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
1038111058 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10382 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11059 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1038311060 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1038411061 else
1038511062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
1038611063 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10387 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11064 if ${ac_cv_lib_dld_dld_link+:} false; then :
1038811065 $as_echo_n "(cached) " >&6
1038911066 else
1039011067 ac_check_lib_save_LIBS=$LIBS
1041811095 fi
1041911096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
1042011097 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10421 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11098 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1042211099 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
1042311100 fi
1042411101
1045911136
1046011137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
1046111138 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10462 if test "${lt_cv_dlopen_self+set}" = set; then :
11139 if ${lt_cv_dlopen_self+:} false; then :
1046311140 $as_echo_n "(cached) " >&6
1046411141 else
1046511142 if test "$cross_compiling" = yes; then :
1051211189 /* When -fvisbility=hidden is used, assume the code has been annotated
1051311190 correspondingly for the symbols needed. */
1051411191 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10515 void fnord () __attribute__((visibility("default")));
11192 int fnord () __attribute__((visibility("default")));
1051611193 #endif
1051711194
10518 void fnord () { int i=42; }
11195 int fnord () { return 42; }
1051911196 int main ()
1052011197 {
1052111198 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1056511242 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1056611243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
1056711244 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10568 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11245 if ${lt_cv_dlopen_self_static+:} false; then :
1056911246 $as_echo_n "(cached) " >&6
1057011247 else
1057111248 if test "$cross_compiling" = yes; then :
1061811295 /* When -fvisbility=hidden is used, assume the code has been annotated
1061911296 correspondingly for the symbols needed. */
1062011297 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10621 void fnord () __attribute__((visibility("default")));
11298 int fnord () __attribute__((visibility("default")));
1062211299 #endif
1062311300
10624 void fnord () { int i=42; }
11301 int fnord () { return 42; }
1062511302 int main ()
1062611303 {
1062711304 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1097011647 set dummy intltool-update; ac_word=$2
1097111648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1097211649 $as_echo_n "checking for $ac_word... " >&6; }
10973 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
11650 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
1097411651 $as_echo_n "(cached) " >&6
1097511652 else
1097611653 case $INTLTOOL_UPDATE in
1101011687 set dummy intltool-merge; ac_word=$2
1101111688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1101211689 $as_echo_n "checking for $ac_word... " >&6; }
11013 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
11690 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
1101411691 $as_echo_n "(cached) " >&6
1101511692 else
1101611693 case $INTLTOOL_MERGE in
1105011727 set dummy intltool-extract; ac_word=$2
1105111728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1105211729 $as_echo_n "checking for $ac_word... " >&6; }
11053 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
11730 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
1105411731 $as_echo_n "(cached) " >&6
1105511732 else
1105611733 case $INTLTOOL_EXTRACT in
1121111888 set dummy xgettext; ac_word=$2
1121211889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1121311890 $as_echo_n "checking for $ac_word... " >&6; }
11214 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11891 if ${ac_cv_path_XGETTEXT+:} false; then :
1121511892 $as_echo_n "(cached) " >&6
1121611893 else
1121711894 case $XGETTEXT in
1125111928 set dummy msgmerge; ac_word=$2
1125211929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1125311930 $as_echo_n "checking for $ac_word... " >&6; }
11254 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11931 if ${ac_cv_path_MSGMERGE+:} false; then :
1125511932 $as_echo_n "(cached) " >&6
1125611933 else
1125711934 case $MSGMERGE in
1129111968 set dummy msgfmt; ac_word=$2
1129211969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1129311970 $as_echo_n "checking for $ac_word... " >&6; }
11294 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11971 if ${ac_cv_path_MSGFMT+:} false; then :
1129511972 $as_echo_n "(cached) " >&6
1129611973 else
1129711974 case $MSGFMT in
1133112008 set dummy gmsgfmt; ac_word=$2
1133212009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1133312010 $as_echo_n "checking for $ac_word... " >&6; }
11334 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12011 if ${ac_cv_path_GMSGFMT+:} false; then :
1133512012 $as_echo_n "(cached) " >&6
1133612013 else
1133712014 case $GMSGFMT in
1138212059 set dummy perl; ac_word=$2
1138312060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1138412061 $as_echo_n "checking for $ac_word... " >&6; }
11385 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
12062 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
1138612063 $as_echo_n "(cached) " >&6
1138712064 else
1138812065 case $INTLTOOL_PERL in
1146612143 case $host in
1146712144 *-*-solaris*)
1146812145 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11469 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12146 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
1147012147 DATADIRNAME=share
1147112148 else
1147212149 DATADIRNAME=lib
1149012167 for ac_header in locale.h
1149112168 do :
1149212169 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11493 if test "x$ac_cv_header_locale_h" = x""yes; then :
12170 if test "x$ac_cv_header_locale_h" = xyes; then :
1149412171 cat >>confdefs.h <<_ACEOF
1149512172 #define HAVE_LOCALE_H 1
1149612173 _ACEOF
1150212179 if test $ac_cv_header_locale_h = yes; then
1150312180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
1150412181 $as_echo_n "checking for LC_MESSAGES... " >&6; }
11505 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12182 if ${am_cv_val_LC_MESSAGES+:} false; then :
1150612183 $as_echo_n "(cached) " >&6
1150712184 else
1150812185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1154212219 INTLLIBS=
1154312220
1154412221 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11545 if test "x$ac_cv_header_libintl_h" = x""yes; then :
12222 if test "x$ac_cv_header_libintl_h" = xyes; then :
1154612223 gt_cv_func_dgettext_libintl="no"
1154712224 libintl_extra_libs=""
1154812225
1155112228 #
1155212229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
1155312230 $as_echo_n "checking for ngettext in libc... " >&6; }
11554 if test "${gt_cv_func_ngettext_libc+set}" = set; then :
12231 if ${gt_cv_func_ngettext_libc+:} false; then :
1155512232 $as_echo_n "(cached) " >&6
1155612233 else
1155712234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1158212259 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
1158312260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
1158412261 $as_echo_n "checking for dgettext in libc... " >&6; }
11585 if test "${gt_cv_func_dgettext_libc+set}" = set; then :
12262 if ${gt_cv_func_dgettext_libc+:} false; then :
1158612263 $as_echo_n "(cached) " >&6
1158712264 else
1158812265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1161512292 for ac_func in bind_textdomain_codeset
1161612293 do :
1161712294 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11618 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12295 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
1161912296 cat >>confdefs.h <<_ACEOF
1162012297 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
1162112298 _ACEOF
1163412311
1163512312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
1163612313 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
11637 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
12314 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
1163812315 $as_echo_n "(cached) " >&6
1163912316 else
1164012317 ac_check_lib_save_LIBS=$LIBS
1166812345 fi
1166912346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
1167012347 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11671 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
12348 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
1167212349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
1167312350 $as_echo_n "checking for ngettext in -lintl... " >&6; }
11674 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12351 if ${ac_cv_lib_intl_ngettext+:} false; then :
1167512352 $as_echo_n "(cached) " >&6
1167612353 else
1167712354 ac_check_lib_save_LIBS=$LIBS
1170512382 fi
1170612383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
1170712384 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11708 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12385 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
1170912386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
1171012387 $as_echo_n "checking for dgettext in -lintl... " >&6; }
11711 if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
12388 if ${ac_cv_lib_intl_dgettext+:} false; then :
1171212389 $as_echo_n "(cached) " >&6
1171312390 else
1171412391 ac_check_lib_save_LIBS=$LIBS
1174212419 fi
1174312420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
1174412421 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11745 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
12422 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
1174612423 gt_cv_func_dgettext_libintl=yes
1174712424 fi
1174812425
1175812435 $as_echo "" >&6; }
1175912436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
1176012437 $as_echo_n "checking for ngettext in -lintl... " >&6; }
11761 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12438 if ${ac_cv_lib_intl_ngettext+:} false; then :
1176212439 $as_echo_n "(cached) " >&6
1176312440 else
1176412441 ac_check_lib_save_LIBS=$LIBS
1179212469 fi
1179312470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
1179412471 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11795 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12472 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
1179612473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
1179712474 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
11798 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
12475 if ${ac_cv_lib_intl_dcgettext+:} false; then :
1179912476 $as_echo_n "(cached) " >&6
1180012477 else
1180112478 ac_check_lib_save_LIBS=$LIBS
1182912506 fi
1183012507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
1183112508 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11832 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
12509 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
1183312510 gt_cv_func_dgettext_libintl=yes
1183412511 libintl_extra_libs=-liconv
1183512512 else
1185412531 for ac_func in bind_textdomain_codeset
1185512532 do :
1185612533 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11857 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12534 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
1185812535 cat >>confdefs.h <<_ACEOF
1185912536 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
1186012537 _ACEOF
1189212569 set dummy msgfmt; ac_word=$2
1189312570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1189412571 $as_echo_n "checking for $ac_word... " >&6; }
11895 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12572 if ${ac_cv_path_MSGFMT+:} false; then :
1189612573 $as_echo_n "(cached) " >&6
1189712574 else
1189812575 case "$MSGFMT" in
1192912606 for ac_func in dcgettext
1193012607 do :
1193112608 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11932 if test "x$ac_cv_func_dcgettext" = x""yes; then :
12609 if test "x$ac_cv_func_dcgettext" = xyes; then :
1193312610 cat >>confdefs.h <<_ACEOF
1193412611 #define HAVE_DCGETTEXT 1
1193512612 _ACEOF
1197012647 set dummy gmsgfmt; ac_word=$2
1197112648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1197212649 $as_echo_n "checking for $ac_word... " >&6; }
11973 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12650 if ${ac_cv_path_GMSGFMT+:} false; then :
1197412651 $as_echo_n "(cached) " >&6
1197512652 else
1197612653 case $GMSGFMT in
1201112688 set dummy xgettext; ac_word=$2
1201212689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1201312690 $as_echo_n "checking for $ac_word... " >&6; }
12014 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12691 if ${ac_cv_path_XGETTEXT+:} false; then :
1201512692 $as_echo_n "(cached) " >&6
1201612693 else
1201712694 case "$XGETTEXT" in
1206212739 case $host in
1206312740 *-*-solaris*)
1206412741 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12065 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12742 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
1206612743 CATOBJEXT=.gmo
1206712744 DATADIRNAME=share
1206812745 else
1220412881 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
1220512882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1220612883 $as_echo_n "checking for $ac_word... " >&6; }
12207 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12884 if ${ac_cv_path_PKG_CONFIG+:} false; then :
1220812885 $as_echo_n "(cached) " >&6
1220912886 else
1221012887 case $PKG_CONFIG in
1224712924 set dummy pkg-config; ac_word=$2
1224812925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1224912926 $as_echo_n "checking for $ac_word... " >&6; }
12250 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12927 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
1225112928 $as_echo_n "(cached) " >&6
1225212929 else
1225312930 case $ac_pt_PKG_CONFIG in
1231312990 fi
1231412991
1231512992 pkg_failed=no
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
12317 $as_echo_n "checking for LIBXML2... " >&6; }
12318
12319 if test -n "$LIBXML2_CFLAGS"; then
12320 pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5
12994 $as_echo_n "checking for GLIB2... " >&6; }
12995
12996 if test -n "$GLIB2_CFLAGS"; then
12997 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
1232112998 elif test -n "$PKG_CONFIG"; then
1232212999 if test -n "$PKG_CONFIG" && \
12323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
12324 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
13000 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-export-2.0 >= \$GLIB2_REQUIRED\""; } >&5
13001 ($PKG_CONFIG --exists --print-errors "gmodule-export-2.0 >= $GLIB2_REQUIRED") 2>&5
1232513002 ac_status=$?
1232613003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1232713004 test $ac_status = 0; }; then
12328 pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.0" 2>/dev/null`
13005 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "gmodule-export-2.0 >= $GLIB2_REQUIRED" 2>/dev/null`
1232913006 else
1233013007 pkg_failed=yes
1233113008 fi
1233213009 else
1233313010 pkg_failed=untried
1233413011 fi
12335 if test -n "$LIBXML2_LIBS"; then
12336 pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
13012 if test -n "$GLIB2_LIBS"; then
13013 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
1233713014 elif test -n "$PKG_CONFIG"; then
1233813015 if test -n "$PKG_CONFIG" && \
12339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
12340 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
13016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-export-2.0 >= \$GLIB2_REQUIRED\""; } >&5
13017 ($PKG_CONFIG --exists --print-errors "gmodule-export-2.0 >= $GLIB2_REQUIRED") 2>&5
1234113018 ac_status=$?
1234213019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1234313020 test $ac_status = 0; }; then
12344 pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.0" 2>/dev/null`
13021 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "gmodule-export-2.0 >= $GLIB2_REQUIRED" 2>/dev/null`
1234513022 else
1234613023 pkg_failed=yes
1234713024 fi
1236113038 _pkg_short_errors_supported=no
1236213039 fi
1236313040 if test $_pkg_short_errors_supported = yes; then
12364 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= 2.6.0" 2>&1`
13041 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-export-2.0 >= $GLIB2_REQUIRED" 2>&1`
1236513042 else
12366 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= 2.6.0" 2>&1`
13043 GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-export-2.0 >= $GLIB2_REQUIRED" 2>&1`
1236713044 fi
1236813045 # Put the nasty error message in config.log where it belongs
12369 echo "$LIBXML2_PKG_ERRORS" >&5
12370
12371 as_fn_error $? "Package requirements (libxml-2.0 >= 2.6.0) were not met:
12372
12373 $LIBXML2_PKG_ERRORS
13046 echo "$GLIB2_PKG_ERRORS" >&5
13047
13048 as_fn_error $? "Package requirements (gmodule-export-2.0 >= $GLIB2_REQUIRED) were not met:
13049
13050 $GLIB2_PKG_ERRORS
1237413051
1237513052 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1237613053 installed software in a non-standard prefix.
1237713054
12378 Alternatively, you may set the environment variables LIBXML2_CFLAGS
12379 and LIBXML2_LIBS to avoid the need to call pkg-config.
13055 Alternatively, you may set the environment variables GLIB2_CFLAGS
13056 and GLIB2_LIBS to avoid the need to call pkg-config.
1238013057 See the pkg-config man page for more details." "$LINENO" 5
1238113058
1238213059 elif test $pkg_failed = untried; then
1238813065 is in your PATH or set the PKG_CONFIG environment variable to the full
1238913066 path to pkg-config.
1239013067
12391 Alternatively, you may set the environment variables LIBXML2_CFLAGS
12392 and LIBXML2_LIBS to avoid the need to call pkg-config.
13068 Alternatively, you may set the environment variables GLIB2_CFLAGS
13069 and GLIB2_LIBS to avoid the need to call pkg-config.
1239313070 See the pkg-config man page for more details.
1239413071
1239513072 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1239613073 See \`config.log' for more details" "$LINENO" 5; }
1239713074
1239813075 else
12399 LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
12400 LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
13076 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
13077 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
1240113078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1240213079 $as_echo "yes" >&6; }
1240313080
1240413081 fi
1240513082
1240613083 pkg_failed=no
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVIRT" >&5
12408 $as_echo_n "checking for LIBVIRT... " >&6; }
12409
12410 if test -n "$LIBVIRT_CFLAGS"; then
12411 pkg_cv_LIBVIRT_CFLAGS="$LIBVIRT_CFLAGS"
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
13085 $as_echo_n "checking for LIBXML2... " >&6; }
13086
13087 if test -n "$LIBXML2_CFLAGS"; then
13088 pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
1241213089 elif test -n "$PKG_CONFIG"; then
1241313090 if test -n "$PKG_CONFIG" && \
12414 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 0.6.0\""; } >&5
12415 ($PKG_CONFIG --exists --print-errors "libvirt >= 0.6.0") 2>&5
13091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML2_REQUIRED\""; } >&5
13092 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML2_REQUIRED") 2>&5
1241613093 ac_status=$?
1241713094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1241813095 test $ac_status = 0; }; then
12419 pkg_cv_LIBVIRT_CFLAGS=`$PKG_CONFIG --cflags "libvirt >= 0.6.0" 2>/dev/null`
13096 pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML2_REQUIRED" 2>/dev/null`
1242013097 else
1242113098 pkg_failed=yes
1242213099 fi
1242313100 else
1242413101 pkg_failed=untried
1242513102 fi
12426 if test -n "$LIBVIRT_LIBS"; then
12427 pkg_cv_LIBVIRT_LIBS="$LIBVIRT_LIBS"
13103 if test -n "$LIBXML2_LIBS"; then
13104 pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
1242813105 elif test -n "$PKG_CONFIG"; then
1242913106 if test -n "$PKG_CONFIG" && \
12430 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 0.6.0\""; } >&5
12431 ($PKG_CONFIG --exists --print-errors "libvirt >= 0.6.0") 2>&5
13107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML2_REQUIRED\""; } >&5
13108 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML2_REQUIRED") 2>&5
1243213109 ac_status=$?
1243313110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1243413111 test $ac_status = 0; }; then
12435 pkg_cv_LIBVIRT_LIBS=`$PKG_CONFIG --libs "libvirt >= 0.6.0" 2>/dev/null`
13112 pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML2_REQUIRED" 2>/dev/null`
1243613113 else
1243713114 pkg_failed=yes
1243813115 fi
1245213129 _pkg_short_errors_supported=no
1245313130 fi
1245413131 if test $_pkg_short_errors_supported = yes; then
12455 LIBVIRT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libvirt >= 0.6.0" 2>&1`
13132 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= $LIBXML2_REQUIRED" 2>&1`
1245613133 else
12457 LIBVIRT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libvirt >= 0.6.0" 2>&1`
13134 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= $LIBXML2_REQUIRED" 2>&1`
1245813135 fi
1245913136 # Put the nasty error message in config.log where it belongs
12460 echo "$LIBVIRT_PKG_ERRORS" >&5
12461
12462 as_fn_error $? "Package requirements (libvirt >= 0.6.0) were not met:
12463
12464 $LIBVIRT_PKG_ERRORS
13137 echo "$LIBXML2_PKG_ERRORS" >&5
13138
13139 as_fn_error $? "Package requirements (libxml-2.0 >= $LIBXML2_REQUIRED) were not met:
13140
13141 $LIBXML2_PKG_ERRORS
1246513142
1246613143 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1246713144 installed software in a non-standard prefix.
1246813145
12469 Alternatively, you may set the environment variables LIBVIRT_CFLAGS
12470 and LIBVIRT_LIBS to avoid the need to call pkg-config.
13146 Alternatively, you may set the environment variables LIBXML2_CFLAGS
13147 and LIBXML2_LIBS to avoid the need to call pkg-config.
1247113148 See the pkg-config man page for more details." "$LINENO" 5
1247213149
1247313150 elif test $pkg_failed = untried; then
1247913156 is in your PATH or set the PKG_CONFIG environment variable to the full
1248013157 path to pkg-config.
1248113158
12482 Alternatively, you may set the environment variables LIBVIRT_CFLAGS
12483 and LIBVIRT_LIBS to avoid the need to call pkg-config.
13159 Alternatively, you may set the environment variables LIBXML2_CFLAGS
13160 and LIBXML2_LIBS to avoid the need to call pkg-config.
1248413161 See the pkg-config man page for more details.
1248513162
1248613163 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1248713164 See \`config.log' for more details" "$LINENO" 5; }
1248813165
1248913166 else
12490 LIBVIRT_CFLAGS=$pkg_cv_LIBVIRT_CFLAGS
12491 LIBVIRT_LIBS=$pkg_cv_LIBVIRT_LIBS
13167 LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
13168 LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
1249213169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1249313170 $as_echo "yes" >&6; }
1249413171
1249513172 fi
1249613173
1249713174 pkg_failed=no
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
12499 $as_echo_n "checking for GTK2... " >&6; }
12500
12501 if test -n "$GTK2_CFLAGS"; then
12502 pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVIRT" >&5
13176 $as_echo_n "checking for LIBVIRT... " >&6; }
13177
13178 if test -n "$LIBVIRT_CFLAGS"; then
13179 pkg_cv_LIBVIRT_CFLAGS="$LIBVIRT_CFLAGS"
1250313180 elif test -n "$PKG_CONFIG"; then
1250413181 if test -n "$PKG_CONFIG" && \
12505 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.10.0\""; } >&5
12506 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.10.0") 2>&5
13182 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= \$LIBVIRT_REQUIRED\""; } >&5
13183 ($PKG_CONFIG --exists --print-errors "libvirt >= $LIBVIRT_REQUIRED") 2>&5
1250713184 ac_status=$?
1250813185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1250913186 test $ac_status = 0; }; then
12510 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.10.0" 2>/dev/null`
13187 pkg_cv_LIBVIRT_CFLAGS=`$PKG_CONFIG --cflags "libvirt >= $LIBVIRT_REQUIRED" 2>/dev/null`
1251113188 else
1251213189 pkg_failed=yes
1251313190 fi
1251413191 else
1251513192 pkg_failed=untried
1251613193 fi
12517 if test -n "$GTK2_LIBS"; then
12518 pkg_cv_GTK2_LIBS="$GTK2_LIBS"
13194 if test -n "$LIBVIRT_LIBS"; then
13195 pkg_cv_LIBVIRT_LIBS="$LIBVIRT_LIBS"
1251913196 elif test -n "$PKG_CONFIG"; then
1252013197 if test -n "$PKG_CONFIG" && \
12521 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.10.0\""; } >&5
12522 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.10.0") 2>&5
13198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= \$LIBVIRT_REQUIRED\""; } >&5
13199 ($PKG_CONFIG --exists --print-errors "libvirt >= $LIBVIRT_REQUIRED") 2>&5
1252313200 ac_status=$?
1252413201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1252513202 test $ac_status = 0; }; then
12526 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.10.0" 2>/dev/null`
13203 pkg_cv_LIBVIRT_LIBS=`$PKG_CONFIG --libs "libvirt >= $LIBVIRT_REQUIRED" 2>/dev/null`
1252713204 else
1252813205 pkg_failed=yes
1252913206 fi
1254313220 _pkg_short_errors_supported=no
1254413221 fi
1254513222 if test $_pkg_short_errors_supported = yes; then
12546 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.10.0" 2>&1`
13223 LIBVIRT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libvirt >= $LIBVIRT_REQUIRED" 2>&1`
1254713224 else
12548 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.10.0" 2>&1`
13225 LIBVIRT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libvirt >= $LIBVIRT_REQUIRED" 2>&1`
1254913226 fi
1255013227 # Put the nasty error message in config.log where it belongs
12551 echo "$GTK2_PKG_ERRORS" >&5
12552
12553 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.10.0) were not met:
12554
12555 $GTK2_PKG_ERRORS
13228 echo "$LIBVIRT_PKG_ERRORS" >&5
13229
13230 as_fn_error $? "Package requirements (libvirt >= $LIBVIRT_REQUIRED) were not met:
13231
13232 $LIBVIRT_PKG_ERRORS
1255613233
1255713234 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1255813235 installed software in a non-standard prefix.
1255913236
12560 Alternatively, you may set the environment variables GTK2_CFLAGS
12561 and GTK2_LIBS to avoid the need to call pkg-config.
13237 Alternatively, you may set the environment variables LIBVIRT_CFLAGS
13238 and LIBVIRT_LIBS to avoid the need to call pkg-config.
1256213239 See the pkg-config man page for more details." "$LINENO" 5
1256313240
1256413241 elif test $pkg_failed = untried; then
1257013247 is in your PATH or set the PKG_CONFIG environment variable to the full
1257113248 path to pkg-config.
1257213249
12573 Alternatively, you may set the environment variables GTK2_CFLAGS
12574 and GTK2_LIBS to avoid the need to call pkg-config.
13250 Alternatively, you may set the environment variables LIBVIRT_CFLAGS
13251 and LIBVIRT_LIBS to avoid the need to call pkg-config.
1257513252 See the pkg-config man page for more details.
1257613253
1257713254 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1257813255 See \`config.log' for more details" "$LINENO" 5; }
1257913256
1258013257 else
12581 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
12582 GTK2_LIBS=$pkg_cv_GTK2_LIBS
13258 LIBVIRT_CFLAGS=$pkg_cv_LIBVIRT_CFLAGS
13259 LIBVIRT_LIBS=$pkg_cv_LIBVIRT_LIBS
1258313260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1258413261 $as_echo "yes" >&6; }
1258513262
1258613263 fi
1258713264
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile against" >&5
13266 $as_echo_n "checking which gtk+ version to compile against... " >&6; }
13267
13268 # Check whether --with-gtk was given.
13269 if test "${with_gtk+set}" = set; then :
13270 withval=$with_gtk; case "$with_gtk" in
13271 2.0|3.0) ;;
13272 *) as_fn_error $? "invalid gtk version specified" "$LINENO" 5 ;;
13273 esac
13274 else
13275 with_gtk=2.0
13276 fi
13277
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5
13279 $as_echo "$with_gtk" >&6; }
13280
13281 case "$with_gtk" in
13282 2.0) GTK_API_VERSION=2.0
13283 GTK_REQUIRED=$GTK2_REQUIRED
13284 GTK_VNC_API_VERSION=1.0
13285 SPICE_GTK_API_VERSION=2.0
13286 ;;
13287 3.0) GTK_API_VERSION=3.0
13288 GTK_REQUIRED=$GTK3_REQUIRED
13289 GTK_VNC_API_VERSION=2.0
13290 SPICE_GTK_API_VERSION=3.0
13291 ;;
13292 esac
13293
13294
13295
13296
13297 if test "$with_gtk" = "2.0"; then
13298 HAVE_GTK_2_TRUE=
13299 HAVE_GTK_2_FALSE='#'
13300 else
13301 HAVE_GTK_2_TRUE='#'
13302 HAVE_GTK_2_FALSE=
13303 fi
13304
13305 if test "$with_gtk" = "3.0"; then
13306 HAVE_GTK_3_TRUE=
13307 HAVE_GTK_3_FALSE='#'
13308 else
13309 HAVE_GTK_3_TRUE='#'
13310 HAVE_GTK_3_FALSE=
13311 fi
13312
13313
13314
1258813315 pkg_failed=no
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLADE2" >&5
12590 $as_echo_n "checking for LIBGLADE2... " >&6; }
12591
12592 if test -n "$LIBGLADE2_CFLAGS"; then
12593 pkg_cv_LIBGLADE2_CFLAGS="$LIBGLADE2_CFLAGS"
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13317 $as_echo_n "checking for GTK... " >&6; }
13318
13319 if test -n "$GTK_CFLAGS"; then
13320 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
1259413321 elif test -n "$PKG_CONFIG"; then
1259513322 if test -n "$PKG_CONFIG" && \
12596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.6.0\""; } >&5
12597 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.6.0") 2>&5
13323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
13324 ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
1259813325 ac_status=$?
1259913326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1260013327 test $ac_status = 0; }; then
12601 pkg_cv_LIBGLADE2_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= 2.6.0" 2>/dev/null`
13328 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
1260213329 else
1260313330 pkg_failed=yes
1260413331 fi
1260513332 else
1260613333 pkg_failed=untried
1260713334 fi
12608 if test -n "$LIBGLADE2_LIBS"; then
12609 pkg_cv_LIBGLADE2_LIBS="$LIBGLADE2_LIBS"
13335 if test -n "$GTK_LIBS"; then
13336 pkg_cv_GTK_LIBS="$GTK_LIBS"
1261013337 elif test -n "$PKG_CONFIG"; then
1261113338 if test -n "$PKG_CONFIG" && \
12612 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.6.0\""; } >&5
12613 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.6.0") 2>&5
13339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
13340 ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
1261413341 ac_status=$?
1261513342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1261613343 test $ac_status = 0; }; then
12617 pkg_cv_LIBGLADE2_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= 2.6.0" 2>/dev/null`
13344 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
1261813345 else
1261913346 pkg_failed=yes
1262013347 fi
1263413361 _pkg_short_errors_supported=no
1263513362 fi
1263613363 if test $_pkg_short_errors_supported = yes; then
12637 LIBGLADE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libglade-2.0 >= 2.6.0" 2>&1`
13364 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
1263813365 else
12639 LIBGLADE2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libglade-2.0 >= 2.6.0" 2>&1`
13366 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
1264013367 fi
1264113368 # Put the nasty error message in config.log where it belongs
12642 echo "$LIBGLADE2_PKG_ERRORS" >&5
12643
12644 as_fn_error $? "Package requirements (libglade-2.0 >= 2.6.0) were not met:
12645
12646 $LIBGLADE2_PKG_ERRORS
13369 echo "$GTK_PKG_ERRORS" >&5
13370
13371 as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) were not met:
13372
13373 $GTK_PKG_ERRORS
1264713374
1264813375 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1264913376 installed software in a non-standard prefix.
1265013377
12651 Alternatively, you may set the environment variables LIBGLADE2_CFLAGS
12652 and LIBGLADE2_LIBS to avoid the need to call pkg-config.
13378 Alternatively, you may set the environment variables GTK_CFLAGS
13379 and GTK_LIBS to avoid the need to call pkg-config.
1265313380 See the pkg-config man page for more details." "$LINENO" 5
1265413381
1265513382 elif test $pkg_failed = untried; then
1266113388 is in your PATH or set the PKG_CONFIG environment variable to the full
1266213389 path to pkg-config.
1266313390
12664 Alternatively, you may set the environment variables LIBGLADE2_CFLAGS
12665 and LIBGLADE2_LIBS to avoid the need to call pkg-config.
13391 Alternatively, you may set the environment variables GTK_CFLAGS
13392 and GTK_LIBS to avoid the need to call pkg-config.
1266613393 See the pkg-config man page for more details.
1266713394
1266813395 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1266913396 See \`config.log' for more details" "$LINENO" 5; }
1267013397
1267113398 else
12672 LIBGLADE2_CFLAGS=$pkg_cv_LIBGLADE2_CFLAGS
12673 LIBGLADE2_LIBS=$pkg_cv_LIBGLADE2_LIBS
13399 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13400 GTK_LIBS=$pkg_cv_GTK_LIBS
1267413401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1267513402 $as_echo "yes" >&6; }
1267613403
1267713404 fi
1267813405
13406
1267913407 pkg_failed=no
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKVNC" >&5
12681 $as_echo_n "checking for GTKVNC... " >&6; }
12682
12683 if test -n "$GTKVNC_CFLAGS"; then
12684 pkg_cv_GTKVNC_CFLAGS="$GTKVNC_CFLAGS"
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_VNC" >&5
13409 $as_echo_n "checking for GTK_VNC... " >&6; }