Codebase list ibus-input-pad / 2a4df8d
Imported Upstream version 1.4.0 Asias He 12 years ago
12 changed file(s) with 3455 addition(s) and 2899 deletion(s). Raw diff Collapse all Expand all
0 commit babdf267e0b7ba4729a11710a2deeab79730b63a
1 Author: fujiwarat <takao.fujiwara1@gmail.com>
2 Date: 2010-11-30 18:12:48 +0900
3
4 Released 0.1.4
5
6 M configure.ac
0 commit c2bec278b43a888a9c496e0ad6c125275d2a19ee
1 Author: fujiwarat <takao.fujiwara1@gmail.com>
2 Date: 2010-12-03 15:27:18 +0900
3
4 Released 1.4.0
5
6 M README
7 M configure.ac
8
9 commit d447097f46e71bae95136c4254b397b553d4c8ec
10 Author: fujiwarat <takao.fujiwara1@gmail.com>
11 Date: 2010-12-03 15:27:14 +0900
12
13 Changed GTK+ configure option.
14
15 M configure.ac
16
17 commit 4dcc13b93296673ec80a3cb6c3e1dd826fca8f7b
18 Author: fujiwarat <takao.fujiwara1@gmail.com>
19 Date: 2010-11-09 17:51:50 +0900
20
21 Supported GTK3.
22
23 M configure.ac
24 M setup/Makefile.am
25 M setup/setup-gtk2.c
26
27 commit 647815dcc289e788628b5a333f5869520f97ef08
28 Author: fujiwarat <takao.fujiwara1@gmail.com>
29 Date: 2010-11-08 15:03:59 +0900
30
31 Integrated gdbus for IBus 1.4
32
33 M setup/iconfig-gtk2.c
734
835 commit 49fcd3d7c22667947f9388795582f6e09593613f
936 Author: fujiwarat <takao.fujiwara1@gmail.com>
167167 GREP = @GREP@
168168 GTK2_CFLAGS = @GTK2_CFLAGS@
169169 GTK2_LIBS = @GTK2_LIBS@
170 GTK3_CFLAGS = @GTK3_CFLAGS@
171 GTK3_LIBS = @GTK3_LIBS@
170172 IBUS_CFLAGS = @IBUS_CFLAGS@
171173 IBUS_LIBS = @IBUS_LIBS@
172174 INPUT_PAD_CFLAGS = @INPUT_PAD_CFLAGS@
212214 PACKAGE_VERSION = @PACKAGE_VERSION@
213215 PATH_SEPARATOR = @PATH_SEPARATOR@
214216 PKG_CONFIG = @PKG_CONFIG@
217 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
218 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
215219 POFILES = @POFILES@
216220 POSUB = @POSUB@
217221 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
262266 libinput_pad_VERSION = @libinput_pad_VERSION@
263267 localedir = @localedir@
264268 localstatedir = @localstatedir@
265 lt_ECHO = @lt_ECHO@
266269 mandir = @mandir@
267270 mkdir_p = @mkdir_p@
268271 oldincludedir = @oldincludedir@
00 ibus-input-pad
11 It is Input Pad for IBus
22
3 The ibus-input-pad version 1.4.x requires ibus 1.4(1.3.99.x) or later.
4 If you use old ibus versions(1.2, 1.3), please use ibus-input-pad 0.1.x .
5
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.65],,
16 [m4_warning([this file was generated for autoconf 2.65.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
16 [m4_warning([this file was generated for autoconf 2.66.
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'.])])
111111 int
112112 main ()
113113 {
114 int major, minor, micro;
114 unsigned int major, minor, micro;
115115 char *tmp_version;
116116
117117 fclose (fopen ("conf.glibtest", "w"));
118118
119119 /* HP/UX 9 (%@#!) writes to sscanf strings */
120120 tmp_version = g_strdup("$min_glib_version");
121 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
121 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
122122 printf("%s, bad version string\n", "$min_glib_version");
123123 exit(1);
124124 }
157157 }
158158 else
159159 {
160 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
160 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
161161 glib_major_version, glib_minor_version, glib_micro_version);
162 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
162 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
163163 major, minor, micro);
164164 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
165165 printf("***\n");
512512
513513 dnl These rules are solely for the distribution goal. While doing this
514514 dnl we only have to keep exactly one list of the available catalogs
515 dnl in configure.in.
515 dnl in configure.ac.
516516 for lang in $ALL_LINGUAS; do
517517 GMOFILES="$GMOFILES $lang.gmo"
518518 POFILES="$POFILES $lang.po"
641641 dnl
642642 dnl Now the definitions that aclocal will find
643643 dnl
644 ifdef(glib_configure_in,[],[
644 ifdef(glib_configure_ac,[],[
645645 AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
646646 AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
647647 ])dnl
814814 AC_DEFUN([IT_PO_SUBDIR],
815815 [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
816816 dnl
817 dnl The following CONFIG_COMMANDS should be exetuted at the very end
817 dnl The following CONFIG_COMMANDS should be executed at the very end
818818 dnl of config.status.
819819 AC_CONFIG_COMMANDS_PRE([
820820 AC_CONFIG_COMMANDS([$1/stamp-it], [
860860 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
861861 #
862862 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
863 # 2006, 2007, 2008 Free Software Foundation, Inc.
863 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
864 # Inc.
864865 # Written by Gordon Matzigkeit, 1996
865866 #
866867 # This file is free software; the Free Software Foundation gives
869870
870871 m4_define([_LT_COPYING], [dnl
871872 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
872 # 2006, 2007, 2008 Free Software Foundation, Inc.
873 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
874 # Inc.
873875 # Written by Gordon Matzigkeit, 1996
874876 #
875877 # This file is part of GNU Libtool.
896898 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
897899 ])
898900
899 # serial 56 LT_INIT
901 # serial 57 LT_INIT
900902
901903
902904 # LT_PREREQ(VERSION)
925927 # ------------------
926928 AC_DEFUN([LT_INIT],
927929 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
930 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
928931 AC_BEFORE([$0], [LT_LANG])dnl
929932 AC_BEFORE([$0], [LT_OUTPUT])dnl
930933 AC_BEFORE([$0], [LTDL_INIT])dnl
940943 AC_REQUIRE([LTVERSION_VERSION])dnl
941944 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
942945 m4_require([_LT_PROG_LTMAIN])dnl
946
947 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
943948
944949 dnl Parse OPTIONS
945950 _LT_SET_OPTIONS([$0], [$1])
977982 *) break;;
978983 esac
979984 done
980 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
985 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
981986 ])
982987
983988
9971002 m4_defun([_LT_SETUP],
9981003 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
9991004 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1005 AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
1006 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
1007
10001008 _LT_DECL([], [host_alias], [0], [The host system])dnl
10011009 _LT_DECL([], [host], [0])dnl
10021010 _LT_DECL([], [host_os], [0])dnl
10381046 _LT_CHECK_OBJDIR
10391047
10401048 m4_require([_LT_TAG_COMPILER])dnl
1041 _LT_PROG_ECHO_BACKSLASH
10421049
10431050 case $host_os in
10441051 aix3*)
10521059 ;;
10531060 esac
10541061
1055 # Sed substitution that helps us do robust quoting. It backslashifies
1056 # metacharacters that are still active within double-quoted strings.
1057 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
1058
1059 # Same as above, but do not quote variable references.
1060 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
1061
1062 # Sed substitution to delay expansion of an escaped shell variable in a
1063 # double_quote_subst'ed string.
1064 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1065
1066 # Sed substitution to delay expansion of an escaped single quote.
1067 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1068
1069 # Sed substitution to avoid accidental globbing in evaled expressions
1070 no_glob_subst='s/\*/\\\*/g'
1071
10721062 # Global variables:
10731063 ofile=libtool
10741064 can_build_shared=yes
11081098 _LT_CONFIG_COMMANDS
11091099 ])# _LT_SETUP
11101100
1101
1102 # _LT_PREPARE_SED_QUOTE_VARS
1103 # --------------------------
1104 # Define a few sed substitution that help us do robust quoting.
1105 m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
1106 [# Backslashify metacharacters that are still active within
1107 # double-quoted strings.
1108 sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
1109
1110 # Same as above, but do not quote variable references.
1111 double_quote_subst='s/\([["`\\]]\)/\\\1/g'
1112
1113 # Sed substitution to delay expansion of an escaped shell variable in a
1114 # double_quote_subst'ed string.
1115 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1116
1117 # Sed substitution to delay expansion of an escaped single quote.
1118 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1119
1120 # Sed substitution to avoid accidental globbing in evaled expressions
1121 no_glob_subst='s/\*/\\\*/g'
1122 ])
11111123
11121124 # _LT_PROG_LTMAIN
11131125 # ---------------
12611273 # declaration there will have the same value as in `configure'. VARNAME
12621274 # must have a single quote delimited value for this to work.
12631275 m4_define([_LT_CONFIG_STATUS_DECLARE],
1264 [$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
1276 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
12651277
12661278
12671279 # _LT_CONFIG_STATUS_DECLARATIONS
12711283 # embedded single quotes properly. In configure, this macro expands
12721284 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
12731285 #
1274 # <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
1286 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
12751287 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
12761288 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
12771289 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
13701382 LTCFLAGS='$LTCFLAGS'
13711383 compiler='$compiler_DEFAULT'
13721384
1385 # A function that is used when there is no print builtin or printf.
1386 func_fallback_echo ()
1387 {
1388 eval 'cat <<_LTECHO_EOF
1389 \$[]1
1390 _LTECHO_EOF'
1391 }
1392
13731393 # Quote evaled strings.
13741394 for var in lt_decl_all_varnames([[ \
13751395 ]], lt_decl_quote_varnames); do
1376 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
1396 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13771397 *[[\\\\\\\`\\"\\\$]]*)
1378 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1398 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13791399 ;;
13801400 *)
13811401 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13861406 # Double-quote double-evaled strings.
13871407 for var in lt_decl_all_varnames([[ \
13881408 ]], lt_decl_dquote_varnames); do
1389 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
1409 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13901410 *[[\\\\\\\`\\"\\\$]]*)
1391 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1411 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13921412 ;;
13931413 *)
13941414 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13961416 esac
13971417 done
13981418
1399 # Fix-up fallback echo if it was mangled by the above quoting rules.
1400 case \$lt_ECHO in
1401 *'\\\[$]0 --fallback-echo"')dnl "
1402 lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
1403 ;;
1404 esac
1405
14061419 _LT_OUTPUT_LIBTOOL_INIT
14071420 ])
14081421
1422 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
1423 # ------------------------------------
1424 # Generate a child script FILE with all initialization necessary to
1425 # reuse the environment learned by the parent script, and make the
1426 # file executable. If COMMENT is supplied, it is inserted after the
1427 # `#!' sequence but before initialization text begins. After this
1428 # macro, additional text can be appended to FILE to form the body of
1429 # the child script. The macro ends with non-zero status if the
1430 # file could not be fully written (such as if the disk is full).
1431 m4_ifdef([AS_INIT_GENERATED],
1432 [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
1433 [m4_defun([_LT_GENERATED_FILE_INIT],
1434 [m4_require([AS_PREPARE])]dnl
1435 [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
1436 [lt_write_fail=0
1437 cat >$1 <<_ASEOF || lt_write_fail=1
1438 #! $SHELL
1439 # Generated by $as_me.
1440 $2
1441 SHELL=\${CONFIG_SHELL-$SHELL}
1442 export SHELL
1443 _ASEOF
1444 cat >>$1 <<\_ASEOF || lt_write_fail=1
1445 AS_SHELL_SANITIZE
1446 _AS_PREPARE
1447 exec AS_MESSAGE_FD>&1
1448 _ASEOF
1449 test $lt_write_fail = 0 && chmod +x $1[]dnl
1450 m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
14091451
14101452 # LT_OUTPUT
14111453 # ---------
14151457 AC_DEFUN([LT_OUTPUT],
14161458 [: ${CONFIG_LT=./config.lt}
14171459 AC_MSG_NOTICE([creating $CONFIG_LT])
1418 cat >"$CONFIG_LT" <<_LTEOF
1419 #! $SHELL
1420 # Generated by $as_me.
1421 # Run this file to recreate a libtool stub with the current configuration.
1422
1460 _LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
1461 [# Run this file to recreate a libtool stub with the current configuration.])
1462
1463 cat >>"$CONFIG_LT" <<\_LTEOF
14231464 lt_cl_silent=false
1424 SHELL=\${CONFIG_SHELL-$SHELL}
1425 _LTEOF
1426
1427 cat >>"$CONFIG_LT" <<\_LTEOF
1428 AS_SHELL_SANITIZE
1429 _AS_PREPARE
1430
1431 exec AS_MESSAGE_FD>&1
14321465 exec AS_MESSAGE_LOG_FD>>config.log
14331466 {
14341467 echo
14541487 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
14551488 configured by $[0], generated by m4_PACKAGE_STRING.
14561489
1457 Copyright (C) 2008 Free Software Foundation, Inc.
1490 Copyright (C) 2010 Free Software Foundation, Inc.
14581491 This config.lt script is free software; the Free Software Foundation
14591492 gives unlimited permision to copy, distribute and modify it."
14601493
14991532 # appending to config.log, which fails on DOS, as config.log is still kept
15001533 # open by configure. Here we exec the FD to /dev/null, effectively closing
15011534 # config.log, so it can be properly (re)opened and appended to by config.lt.
1502 if test "$no_create" != yes; then
1503 lt_cl_success=:
1504 test "$silent" = yes &&
1505 lt_config_lt_args="$lt_config_lt_args --quiet"
1506 exec AS_MESSAGE_LOG_FD>/dev/null
1507 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
1508 exec AS_MESSAGE_LOG_FD>>config.log
1509 $lt_cl_success || AS_EXIT(1)
1510 fi
1535 lt_cl_success=:
1536 test "$silent" = yes &&
1537 lt_config_lt_args="$lt_config_lt_args --quiet"
1538 exec AS_MESSAGE_LOG_FD>/dev/null
1539 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
1540 exec AS_MESSAGE_LOG_FD>>config.log
1541 $lt_cl_success || AS_EXIT(1)
15111542 ])# LT_OUTPUT
15121543
15131544
16841715 AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
16851716 AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
16861717 AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
1718 AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
16871719 dnl aclocal-1.4 backwards compatibility:
16881720 dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
16891721 dnl AC_DEFUN([AC_LIBTOOL_F77], [])
16901722 dnl AC_DEFUN([AC_LIBTOOL_FC], [])
16911723 dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
1724 dnl AC_DEFUN([AC_LIBTOOL_RC], [])
16921725
16931726
16941727 # _LT_TAG_COMPILER
17931826 [lt_cv_ld_exported_symbols_list=no])
17941827 LDFLAGS="$save_LDFLAGS"
17951828 ])
1829 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
1830 [lt_cv_ld_force_load=no
1831 cat > conftest.c << _LT_EOF
1832 int forced_loaded() { return 2;}
1833 _LT_EOF
1834 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
1835 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1836 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1837 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1838 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
1839 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
1840 cat > conftest.c << _LT_EOF
1841 int main() { return 0;}
1842 _LT_EOF
1843 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1844 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1845 _lt_result=$?
1846 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
1847 lt_cv_ld_force_load=yes
1848 else
1849 cat conftest.err >&AS_MESSAGE_LOG_FD
1850 fi
1851 rm -f conftest.err libconftest.a conftest conftest.c
1852 rm -rf conftest.dSYM
1853 ])
17961854 case $host_os in
17971855 rhapsody* | darwin1.[[012]])
17981856 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
18201878 else
18211879 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
18221880 fi
1823 if test "$DSYMUTIL" != ":"; then
1881 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
18241882 _lt_dsymutil='~$DSYMUTIL $lib || :'
18251883 else
18261884 _lt_dsymutil=
18401898 _LT_TAGVAR(hardcode_direct, $1)=no
18411899 _LT_TAGVAR(hardcode_automatic, $1)=yes
18421900 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1843 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1901 if test "$lt_cv_ld_force_load" = "yes"; then
1902 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1903 else
1904 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1905 fi
18441906 _LT_TAGVAR(link_all_deplibs, $1)=yes
18451907 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
18461908 case $cc_basename in
18481910 *) _lt_dar_can_shared=$GCC ;;
18491911 esac
18501912 if test "$_lt_dar_can_shared" = "yes"; then
1851 output_verbose_link_cmd=echo
1913 output_verbose_link_cmd=func_echo_all
18521914 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18531915 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18541916 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18941956 # _LT_SHELL_INIT(ARG)
18951957 # -------------------
18961958 m4_define([_LT_SHELL_INIT],
1897 [ifdef([AC_DIVERSION_NOTICE],
1898 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1899 [AC_DIVERT_PUSH(NOTICE)])
1900 $1
1901 AC_DIVERT_POP
1902 ])# _LT_SHELL_INIT
1959 [m4_divert_text([M4SH-INIT], [$1
1960 ])])# _LT_SHELL_INIT
1961
19031962
19041963
19051964 # _LT_PROG_ECHO_BACKSLASH
19061965 # -----------------------
1907 # Add some code to the start of the generated configure script which
1908 # will find an echo command which doesn't interpret backslashes.
1966 # Find how we can fake an echo command that does not interpret backslash.
1967 # In particular, with Autoconf 2.60 or later we add some code to the start
1968 # of the generated configure script which will find a shell with a builtin
1969 # printf (which we can use as an echo command).
19091970 m4_defun([_LT_PROG_ECHO_BACKSLASH],
1910 [_LT_SHELL_INIT([
1911 # Check that we are running under the correct shell.
1912 SHELL=${CONFIG_SHELL-/bin/sh}
1913
1914 case X$lt_ECHO in
1915 X*--fallback-echo)
1916 # Remove one level of quotation (which was required for Make).
1917 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1918 ;;
1971 [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1972 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1973 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1974
1975 AC_MSG_CHECKING([how to print strings])
1976 # Test print first, because it will be a builtin if present.
1977 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
1978 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1979 ECHO='print -r --'
1980 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
1981 ECHO='printf %s\n'
1982 else
1983 # Use this function as a fallback that always works.
1984 func_fallback_echo ()
1985 {
1986 eval 'cat <<_LTECHO_EOF
1987 $[]1
1988 _LTECHO_EOF'
1989 }
1990 ECHO='func_fallback_echo'
1991 fi
1992
1993 # func_echo_all arg...
1994 # Invoke $ECHO with all args, space-separated.
1995 func_echo_all ()
1996 {
1997 $ECHO "$*"
1998 }
1999
2000 case "$ECHO" in
2001 printf*) AC_MSG_RESULT([printf]) ;;
2002 print*) AC_MSG_RESULT([print -r]) ;;
2003 *) AC_MSG_RESULT([cat]) ;;
19192004 esac
19202005
1921 ECHO=${lt_ECHO-echo}
1922 if test "X[$]1" = X--no-reexec; then
1923 # Discard the --no-reexec flag, and continue.
1924 shift
1925 elif test "X[$]1" = X--fallback-echo; then
1926 # Avoid inline document here, it may be left over
1927 :
1928 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
1929 # Yippee, $ECHO works!
1930 :
1931 else
1932 # Restart under the correct shell.
1933 exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1934 fi
1935
1936 if test "X[$]1" = X--fallback-echo; then
1937 # used as fallback echo
1938 shift
1939 cat <<_LT_EOF
1940 [$]*
1941 _LT_EOF
1942 exit 0
1943 fi
1944
1945 # The HP-UX ksh and POSIX shell print the target directory to stdout
1946 # if CDPATH is set.
1947 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1948
1949 if test -z "$lt_ECHO"; then
1950 if test "X${echo_test_string+set}" != Xset; then
1951 # find a string as large as possible, as long as the shell can cope with it
1952 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1953 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1954 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
1955 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
1956 then
1957 break
1958 fi
1959 done
1960 fi
1961
1962 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1963 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1964 test "X$echo_testing_string" = "X$echo_test_string"; then
1965 :
1966 else
1967 # The Solaris, AIX, and Digital Unix default echo programs unquote
1968 # backslashes. This makes it impossible to quote backslashes using
1969 # echo "$something" | sed 's/\\/\\\\/g'
1970 #
1971 # So, first we look for a working echo in the user's PATH.
1972
1973 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1974 for dir in $PATH /usr/ucb; do
1975 IFS="$lt_save_ifs"
1976 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1977 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1978 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1979 test "X$echo_testing_string" = "X$echo_test_string"; then
1980 ECHO="$dir/echo"
1981 break
1982 fi
1983 done
1984 IFS="$lt_save_ifs"
1985
1986 if test "X$ECHO" = Xecho; then
1987 # We didn't find a better echo, so look for alternatives.
1988 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
1989 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
1990 test "X$echo_testing_string" = "X$echo_test_string"; then
1991 # This shell has a builtin print -r that does the trick.
1992 ECHO='print -r'
1993 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
1994 test "X$CONFIG_SHELL" != X/bin/ksh; then
1995 # If we have ksh, try running configure again with it.
1996 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1997 export ORIGINAL_CONFIG_SHELL
1998 CONFIG_SHELL=/bin/ksh
1999 export CONFIG_SHELL
2000 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
2001 else
2002 # Try using printf.
2003 ECHO='printf %s\n'
2004 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
2005 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
2006 test "X$echo_testing_string" = "X$echo_test_string"; then
2007 # Cool, printf works
2008 :
2009 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2010 test "X$echo_testing_string" = 'X\t' &&
2011 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2012 test "X$echo_testing_string" = "X$echo_test_string"; then
2013 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
2014 export CONFIG_SHELL
2015 SHELL="$CONFIG_SHELL"
2016 export SHELL
2017 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
2018 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2019 test "X$echo_testing_string" = 'X\t' &&
2020 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2021 test "X$echo_testing_string" = "X$echo_test_string"; then
2022 ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
2023 else
2024 # maybe with a smaller string...
2025 prev=:
2026
2027 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
2028 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
2029 then
2030 break
2031 fi
2032 prev="$cmd"
2033 done
2034
2035 if test "$prev" != 'sed 50q "[$]0"'; then
2036 echo_test_string=`eval $prev`
2037 export echo_test_string
2038 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
2039 else
2040 # Oops. We lost completely, so just stick with echo.
2041 ECHO=echo
2042 fi
2043 fi
2044 fi
2045 fi
2046 fi
2047 fi
2048
2049 # Copy echo and quote the copy suitably for passing to libtool from
2050 # the Makefile, instead of quoting the original, which is used later.
2051 lt_ECHO=$ECHO
2052 if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
2053 lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
2054 fi
2055
2056 AC_SUBST(lt_ECHO)
2057 ])
2006 m4_ifdef([_AS_DETECT_SUGGESTED],
2007 [_AS_DETECT_SUGGESTED([
2008 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
2009 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2010 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2011 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2012 PATH=/empty FPATH=/empty; export PATH FPATH
2013 test "X`printf %s $ECHO`" = "X$ECHO" \
2014 || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
2015
20582016 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
2059 _LT_DECL([], [ECHO], [1],
2060 [An echo program that does not interpret backslashes])
2017 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
20612018 ])# _LT_PROG_ECHO_BACKSLASH
20622019
20632020
20892046 ;;
20902047 *-*-irix6*)
20912048 # Find out which ABI we are using.
2092 echo '[#]line __oline__ "configure"' > conftest.$ac_ext
2049 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
20932050 if AC_TRY_EVAL(ac_compile); then
20942051 if test "$lt_cv_prog_gnu_ld" = yes; then
20952052 case `/usr/bin/file conftest.$ac_objext` in
22412198 esac
22422199 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
22432200 fi
2201
2202 case $host_os in
2203 darwin*)
2204 lock_old_archive_extraction=yes ;;
2205 *)
2206 lock_old_archive_extraction=no ;;
2207 esac
22442208 _LT_DECL([], [old_postinstall_cmds], [2])
22452209 _LT_DECL([], [old_postuninstall_cmds], [2])
22462210 _LT_TAGDECL([], [old_archive_cmds], [2],
22472211 [Commands used to build an old-style archive])
2212 _LT_DECL([], [lock_old_archive_extraction], [0],
2213 [Whether to use a lock for old archive extraction])
22482214 ])# _LT_CMD_OLD_ARCHIVE
22492215
22502216
22692235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22702236 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
22712237 -e 's:$: $lt_compiler_flag:'`
2272 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2238 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
22732239 (eval "$lt_compile" 2>conftest.err)
22742240 ac_status=$?
22752241 cat conftest.err >&AS_MESSAGE_LOG_FD
2276 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
22772243 if (exit $ac_status) && test -s "$ac_outfile"; then
22782244 # The compiler can only warn and ignore the option if not recognized
22792245 # So say no if there are warnings other than the usual output.
2280 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2246 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
22812247 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22822248 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
22832249 $2=yes
23172283 if test -s conftest.err; then
23182284 # Append any errors to the config.log.
23192285 cat conftest.err 1>&AS_MESSAGE_LOG_FD
2320 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
2286 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
23212287 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23222288 if diff conftest.exp conftest.er2 >/dev/null; then
23232289 $2=yes
23772343 # the test eventually succeeds (with a max line length of 256k).
23782344 # Instead, let's just punt: use the minimum linelength reported by
23792345 # all of the supported platforms: 8192 (on NT/2K/XP).
2346 lt_cv_sys_max_cmd_len=8192;
2347 ;;
2348
2349 mint*)
2350 # On MiNT this can take a long time and run out of memory.
23802351 lt_cv_sys_max_cmd_len=8192;
23812352 ;;
23822353
24442415 # If test is not a shell built-in, we'll probably end up computing a
24452416 # maximum length that is only half of the actual maximum length, but
24462417 # we can't tell.
2447 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
2448 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
2418 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
2419 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
24492420 test $i != 17 # 1/2 MB should be enough
24502421 do
24512422 i=`expr $i + 1`
24962467 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
24972468 lt_status=$lt_dlunknown
24982469 cat > conftest.$ac_ext <<_LT_EOF
2499 [#line __oline__ "configure"
2470 [#line $LINENO "configure"
25002471 #include "confdefs.h"
25012472
25022473 #if HAVE_DLFCN_H
25372508 # endif
25382509 #endif
25392510
2540 void fnord() { int i=42;}
2511 /* When -fvisbility=hidden is used, assume the code has been annotated
2512 correspondingly for the symbols needed. */
2513 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
2514 void fnord () __attribute__((visibility("default")));
2515 #endif
2516
2517 void fnord () { int i=42; }
25412518 int main ()
25422519 {
25432520 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
25462523 if (self)
25472524 {
25482525 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
2549 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
2526 else
2527 {
2528 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
2529 else puts (dlerror ());
2530 }
25502531 /* dlclose (self); */
25512532 }
25522533 else
27222703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27232704 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
27242705 -e 's:$: $lt_compiler_flag:'`
2725 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2706 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
27262707 (eval "$lt_compile" 2>out/conftest.err)
27272708 ac_status=$?
27282709 cat out/conftest.err >&AS_MESSAGE_LOG_FD
2729 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
27302711 if (exit $ac_status) && test -s out/conftest2.$ac_objext
27312712 then
27322713 # The compiler can only warn and ignore the option if not recognized
27332714 # So say no if there are warnings
2734 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
2715 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
27352716 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
27362717 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
27372718 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
28902871 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
28912872 m4_require([_LT_DECL_OBJDUMP])dnl
28922873 m4_require([_LT_DECL_SED])dnl
2874 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
28932875 AC_MSG_CHECKING([dynamic linker characteristics])
28942876 m4_if([$1],
28952877 [], [
28982880 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
28992881 *) lt_awk_arg="/^libraries:/" ;;
29002882 esac
2901 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2902 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
2883 case $host_os in
2884 mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
2885 *) lt_sed_strip_eq="s,=/,/,g" ;;
2886 esac
2887 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
2888 case $lt_search_path_spec in
2889 *\;*)
29032890 # if the path contains ";" then we assume it to be the separator
29042891 # otherwise default to the standard path separator (i.e. ":") - it is
29052892 # assumed that no part of a normal pathname contains ";" but that should
29062893 # okay in the real world where ";" in dirpaths is itself problematic.
2907 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
2908 else
2909 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2910 fi
2894 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
2895 ;;
2896 *)
2897 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
2898 ;;
2899 esac
29112900 # Ok, now we have the path, separated by spaces, we can step through it
29122901 # and add multilib dir if necessary.
29132902 lt_tmp_lt_search_path_spec=
29202909 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
29212910 fi
29222911 done
2923 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
2912 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
29242913 BEGIN {RS=" "; FS="/|\n";} {
29252914 lt_foo="";
29262915 lt_count=0;
29402929 if (lt_foo != "") { lt_freq[[lt_foo]]++; }
29412930 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
29422931 }'`
2943 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
2932 # AWK program above erroneously prepends '/' to C:/dos/paths
2933 # for these hosts.
2934 case $host_os in
2935 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
2936 $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
2937 esac
2938 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
29442939 else
29452940 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
29462941 fi])
30283023 m68k)
30293024 library_names_spec='$libname.ixlibrary $libname.a'
30303025 # Create ${libname}_ixlibrary.a entries in /sys/libs.
3031 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
3026 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
30323027 ;;
30333028 esac
30343029 ;;
30813076 cygwin*)
30823077 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
30833078 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3084 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3079 m4_if([$1], [],[
3080 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
30853081 ;;
30863082 mingw* | cegcc*)
30873083 # MinGW DLLs use traditional 'lib' prefix
30883084 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3089 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3090 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
3091 # It is most probably a Windows format PATH printed by
3092 # mingw gcc, but we are running on Cygwin. Gcc prints its search
3093 # path with ; separators, and with drive letters. We can handle the
3094 # drive letters (cygwin fileutils understands them), so leave them,
3095 # especially as we might pass files found there to a mingw objdump,
3096 # which wouldn't understand a cygwinified path. Ahh.
3097 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3098 else
3099 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3100 fi
31013085 ;;
31023086 pw32*)
31033087 # pw32 DLLs use 'pw' prefix rather than 'lib'
31943178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
31953179 soname_spec='${libname}${release}${shared_ext}$major'
31963180 shlibpath_var=LD_LIBRARY_PATH
3181 hardcode_into_libs=yes
3182 ;;
3183
3184 haiku*)
3185 version_type=linux
3186 need_lib_prefix=no
3187 need_version=no
3188 dynamic_linker="$host_os runtime_loader"
3189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
3190 soname_spec='${libname}${release}${shared_ext}$major'
3191 shlibpath_var=LIBRARY_PATH
3192 shlibpath_overrides_runpath=yes
3193 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
31973194 hardcode_into_libs=yes
31983195 ;;
31993196
32393236 soname_spec='${libname}${release}${shared_ext}$major'
32403237 ;;
32413238 esac
3242 # HP-UX runs *really* slowly unless shared libraries are mode 555.
3239 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
32433240 postinstall_cmds='chmod 555 $lib'
3241 # or fails outright, so override atomically:
3242 install_override_mode=555
32443243 ;;
32453244
32463245 interix[[3-9]]*)
32983297 ;;
32993298
33003299 # This must be Linux ELF.
3301 linux* | k*bsd*-gnu)
3300 linux* | k*bsd*-gnu | kopensolaris*-gnu)
33023301 version_type=linux
33033302 need_lib_prefix=no
33043303 need_version=no
33073306 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
33083307 shlibpath_var=LD_LIBRARY_PATH
33093308 shlibpath_overrides_runpath=no
3309
33103310 # Some binutils ld are patched to set DT_RUNPATH
3311 save_LDFLAGS=$LDFLAGS
3312 save_libdir=$libdir
3313 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
3314 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
3315 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
3316 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
3317 [shlibpath_overrides_runpath=yes])])
3318 LDFLAGS=$save_LDFLAGS
3319 libdir=$save_libdir
3311 AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
3312 [lt_cv_shlibpath_overrides_runpath=no
3313 save_LDFLAGS=$LDFLAGS
3314 save_libdir=$libdir
3315 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
3316 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
3317 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
3318 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
3319 [lt_cv_shlibpath_overrides_runpath=yes])])
3320 LDFLAGS=$save_LDFLAGS
3321 libdir=$save_libdir
3322 ])
3323 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
33203324
33213325 # This implies no fast_install, which is unacceptable.
33223326 # Some rework will be needed to allow for fast_install
33283332
33293333 # Append ld.so.conf contents to the search path
33303334 if test -f /etc/ld.so.conf; then
3331 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
3335 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
33323336 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
3337
33333338 fi
33343339
33353340 # We used to test for /lib/ld.so.1 and disable shared libraries on
35613566 The last name is the one that the linker finds with -lNAME]])
35623567 _LT_DECL([], [soname_spec], [1],
35633568 [[The coded name of the library, if different from the real name]])
3569 _LT_DECL([], [install_override_mode], [1],
3570 [Permission mode override for installation of shared libraries])
35643571 _LT_DECL([], [postinstall_cmds], [2],
35653572 [Command to use after installation of a shared archive])
35663573 _LT_DECL([], [postuninstall_cmds], [2],
36733680 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
36743681 m4_require([_LT_DECL_SED])dnl
36753682 m4_require([_LT_DECL_EGREP])dnl
3683 m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
36763684
36773685 AC_ARG_WITH([gnu-ld],
36783686 [AS_HELP_STRING([--with-gnu-ld],
38023810 fi
38033811 ;;
38043812 esac
3805 _LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3806 _LT_DECL([], [reload_cmds], [2])dnl
3813 _LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3814 _LT_TAGDECL([], [reload_cmds], [2])dnl
38073815 ])# _LT_CMD_RELOAD
38083816
38093817
38553863 # Base MSYS/MinGW do not provide the 'file' command needed by
38563864 # func_win32_libid shell function, so use a weaker test based on 'objdump',
38573865 # unless we find 'file', for example because we are cross-compiling.
3858 if ( file / ) >/dev/null 2>&1; then
3866 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
3867 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
38593868 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
38603869 lt_cv_file_magic_cmd='func_win32_libid'
38613870 else
3862 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3871 # Keep this pattern in sync with the one in func_win32_libid.
3872 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
38633873 lt_cv_file_magic_cmd='$OBJDUMP -f'
38643874 fi
38653875 ;;
38663876
3867 cegcc)
3877 cegcc*)
38683878 # use the weaker test based on 'objdump'. See mingw*.
38693879 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
38703880 lt_cv_file_magic_cmd='$OBJDUMP -f'
38943904 lt_cv_deplibs_check_method=pass_all
38953905 ;;
38963906
3907 haiku*)
3908 lt_cv_deplibs_check_method=pass_all
3909 ;;
3910
38973911 hpux10.20* | hpux11*)
38983912 lt_cv_file_magic_cmd=/usr/bin/file
38993913 case $host_cpu in
39023916 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
39033917 ;;
39043918 hppa*64*)
3905 [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
3919 [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
39063920 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
39073921 ;;
39083922 *)
3909 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3923 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
39103924 lt_cv_file_magic_test_file=/usr/lib/libc.sl
39113925 ;;
39123926 esac
39283942 ;;
39293943
39303944 # This must be Linux ELF.
3931 linux* | k*bsd*-gnu)
3945 linux* | k*bsd*-gnu | kopensolaris*-gnu)
39323946 lt_cv_deplibs_check_method=pass_all
39333947 ;;
39343948
40704084 NM="$lt_cv_path_NM"
40714085 else
40724086 # Didn't find any BSD compatible name lister, look for dumpbin.
4073 AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
4087 if test -n "$DUMPBIN"; then :
4088 # Let the user override the test.
4089 else
4090 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
4091 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4092 *COFF*)
4093 DUMPBIN="$DUMPBIN -symbols"
4094 ;;
4095 *)
4096 DUMPBIN=:
4097 ;;
4098 esac
4099 fi
40744100 AC_SUBST([DUMPBIN])
40754101 if test "$DUMPBIN" != ":"; then
40764102 NM="$DUMPBIN"
40834109 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
40844110 [lt_cv_nm_interface="BSD nm"
40854111 echo "int some_variable = 0;" > conftest.$ac_ext
4086 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
4112 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
40874113 (eval "$ac_compile" 2>conftest.err)
40884114 cat conftest.err >&AS_MESSAGE_LOG_FD
4089 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
4115 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
40904116 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
40914117 cat conftest.err >&AS_MESSAGE_LOG_FD
4092 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
4118 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
40934119 cat conftest.out >&AS_MESSAGE_LOG_FD
40944120 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
40954121 lt_cv_nm_interface="MS dumpbin"
41124138 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
41134139 LIBM=
41144140 case $host in
4115 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
4141 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
41164142 # These system don't have libm, or don't need it
41174143 ;;
41184144 *-ncr-sysv4.3*)
41404166 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
41414167
41424168 if test "$GCC" = yes; then
4143 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4169 case $cc_basename in
4170 nvcc*)
4171 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
4172 *)
4173 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
4174 esac
41444175
41454176 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
41464177 lt_cv_prog_compiler_rtti_exceptions,
41574188 m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
41584189 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
41594190 AC_REQUIRE([AC_PROG_CC])dnl
4191 AC_REQUIRE([AC_PROG_AWK])dnl
41604192 AC_REQUIRE([LT_PATH_NM])dnl
41614193 AC_REQUIRE([LT_PATH_LD])dnl
41624194 m4_require([_LT_DECL_SED])dnl
42824314 if AC_TRY_EVAL(ac_compile); then
42834315 # Now try to grab the symbols.
42844316 nlist=conftest.nm
4285 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
4317 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
42864318 # Try sorting and uniquifying the output.
42874319 if sort "$nlist" | uniq > "$nlist"T; then
42884320 mv -f "$nlist"T "$nlist"
44434475 *djgpp*)
44444476 # DJGPP does not support shared libraries at all
44454477 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4478 ;;
4479 haiku*)
4480 # PIC is the default for Haiku.
4481 # The "-static" flag exists, but is broken.
4482 _LT_TAGVAR(lt_prog_compiler_static, $1)=
44464483 ;;
44474484 interix[[3-9]]*)
44484485 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
45494586 ;;
45504587 esac
45514588 ;;
4552 linux* | k*bsd*-gnu)
4589 linux* | k*bsd*-gnu | kopensolaris*-gnu)
45534590 case $cc_basename in
45544591 KCC*)
45554592 # KAI C++ Compiler
45824619 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
45834620 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
45844621 ;;
4585 xlc* | xlC*)
4586 # IBM XL 8.0 on PPC
4622 xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
4623 # IBM XL 8.0, 9.0 on PPC and BlueGene
45874624 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
45884625 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
45894626 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
46454682 ;;
46464683 solaris*)
46474684 case $cc_basename in
4648 CC*)
4685 CC* | sunCC*)
46494686 # Sun C++ 4.2, 5.x and Centerline C++
46504687 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
46514688 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
47494786 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
47504787 ;;
47514788
4789 haiku*)
4790 # PIC is the default for Haiku.
4791 # The "-static" flag exists, but is broken.
4792 _LT_TAGVAR(lt_prog_compiler_static, $1)=
4793 ;;
4794
47524795 hpux*)
47534796 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
47544797 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
47894832
47904833 *)
47914834 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4835 ;;
4836 esac
4837
4838 case $cc_basename in
4839 nvcc*) # Cuda Compiler Driver 2.2
4840 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4841 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
47924842 ;;
47934843 esac
47944844 else
48334883 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
48344884 ;;
48354885
4836 linux* | k*bsd*-gnu)
4886 linux* | k*bsd*-gnu | kopensolaris*-gnu)
48374887 case $cc_basename in
48384888 # old Intel for x86_64 which still supported -KPIC.
48394889 ecc*)
48544904 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
48554905 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
48564906 ;;
4857 pgcc* | pgf77* | pgf90* | pgf95*)
4907 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
48584908 # Portland Group compilers (*not* the Pentium gcc compiler,
48594909 # which looks to be a dead project)
48604910 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
48664916 # All Alpha code is PIC.
48674917 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
48684918 ;;
4869 xl*)
4870 # IBM XL C 8.0/Fortran 10.1 on PPC
4919 xl* | bgxl* | bgf* | mpixl*)
4920 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
48714921 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
48724922 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
48734923 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
48744924 ;;
48754925 *)
48764926 case `$CC -V 2>&1 | sed 5q` in
4927 *Sun\ F* | *Sun*Fortran*)
4928 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4929 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4930 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4931 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4932 ;;
48774933 *Sun\ C*)
48784934 # Sun C 5.9
48794935 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
48804936 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
48814937 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
48824938 ;;
4883 *Sun\ F*)
4884 # Sun Fortran 8.3 passes all unrecognized flags to the linker
4885 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4886 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4887 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4888 ;;
48894939 esac
48904940 ;;
48914941 esac
49164966 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
49174967 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
49184968 case $cc_basename in
4919 f77* | f90* | f95*)
4969 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
49204970 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
49214971 *)
49224972 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
50265076 aix[[4-9]]*)
50275077 # If we're using GNU nm, then we don't want the "-C" option.
50285078 # -C means demangle to AIX nm, but means don't demangle with GNU nm
5079 # Also, AIX nm treats weak defined symbols like other global defined
5080 # symbols, whereas GNU nm marks them as "W".
50295081 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5030 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
5082 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
50315083 else
50325084 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
50335085 fi
51055157 esac
51065158
51075159 _LT_TAGVAR(ld_shlibs, $1)=yes
5160
5161 # On some targets, GNU ld is compatible enough with the native linker
5162 # that we're better off using the native interface for both.
5163 lt_use_gnu_ld_interface=no
51085164 if test "$with_gnu_ld" = yes; then
5165 case $host_os in
5166 aix*)
5167 # The AIX port of GNU ld has always aspired to compatibility
5168 # with the native linker. However, as the warning in the GNU ld
5169 # block says, versions before 2.19.5* couldn't really create working
5170 # shared libraries, regardless of the interface used.
5171 case `$LD -v 2>&1` in
5172 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
5173 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
5174 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
5175 *)
5176 lt_use_gnu_ld_interface=yes
5177 ;;
5178 esac
5179 ;;
5180 *)
5181 lt_use_gnu_ld_interface=yes
5182 ;;
5183 esac
5184 fi
5185
5186 if test "$lt_use_gnu_ld_interface" = yes; then
51095187 # If archive_cmds runs LD, not CC, wlarc should be empty
51105188 wlarc='${wl}'
51115189
51235201 fi
51245202 supports_anon_versioning=no
51255203 case `$LD -v 2>&1` in
5204 *GNU\ gold*) supports_anon_versioning=yes ;;
51265205 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
51275206 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
51285207 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
51385217 _LT_TAGVAR(ld_shlibs, $1)=no
51395218 cat <<_LT_EOF 1>&2
51405219
5141 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
5220 *** Warning: the GNU linker, at least up to release 2.19, is reported
51425221 *** to be unable to reliably create shared libraries on AIX.
51435222 *** Therefore, libtool is disabling shared libraries support. If you
5144 *** really care for shared libraries, you may want to modify your PATH
5145 *** so that a non-GNU linker is found, and then restart.
5223 *** really care for shared libraries, you may want to install binutils
5224 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
5225 *** You will then need to restart the configuration process.
51465226
51475227 _LT_EOF
51485228 fi
51785258 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
51795259 # as there is no search path for DLLs.
51805260 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5261 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
51815262 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
51825263 _LT_TAGVAR(always_export_symbols, $1)=no
51835264 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
51995280 fi
52005281 ;;
52015282
5283 haiku*)
5284 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5285 _LT_TAGVAR(link_all_deplibs, $1)=yes
5286 ;;
5287
52025288 interix[[3-9]]*)
52035289 _LT_TAGVAR(hardcode_direct, $1)=no
52045290 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
52145300 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
52155301 ;;
52165302
5217 gnu* | linux* | tpf* | k*bsd*-gnu)
5303 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
52185304 tmp_diet=no
52195305 if test "$host_os" = linux-dietlibc; then
52205306 case $cc_basename in
52285314 tmp_sharedflag='-shared'
52295315 case $cc_basename,$host_cpu in
52305316 pgcc*) # Portland Group C compiler
5231 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
5317 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
52325318 tmp_addflag=' $pic_flag'
52335319 ;;
5234 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
5235 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
5320 pgf77* | pgf90* | pgf95* | pgfortran*)
5321 # Portland Group f77 and f90 compilers
5322 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
52365323 tmp_addflag=' $pic_flag -Mnomain' ;;
52375324 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
52385325 tmp_addflag=' -i_dynamic' ;;
52435330 lf95*) # Lahey Fortran 8.1
52445331 _LT_TAGVAR(whole_archive_flag_spec, $1)=
52455332 tmp_sharedflag='--shared' ;;
5246 xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
5333 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
52475334 tmp_sharedflag='-qmkshrobj'
52485335 tmp_addflag= ;;
5336 nvcc*) # Cuda Compiler Driver 2.2
5337 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
5338 _LT_TAGVAR(compiler_needs_object, $1)=yes
5339 ;;
52495340 esac
52505341 case `$CC -V 2>&1 | sed 5q` in
52515342 *Sun\ C*) # Sun C 5.9
5252 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
5343 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
52535344 _LT_TAGVAR(compiler_needs_object, $1)=yes
52545345 tmp_sharedflag='-G' ;;
52555346 *Sun\ F*) # Sun Fortran 8.3
52655356 fi
52665357
52675358 case $cc_basename in
5268 xlf*)
5359 xlf* | bgf* | bgxlf* | mpixlf*)
52695360 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
52705361 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
52715362 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
52725363 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
5273 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
5364 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
52745365 if test "x$supports_anon_versioning" = xyes; then
52755366 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
52765367 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
52775368 echo "local: *; };" >> $output_objdir/$libname.ver~
5278 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
5369 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
52795370 fi
52805371 ;;
52815372 esac
53965487 else
53975488 # If we're using GNU nm, then we don't want the "-C" option.
53985489 # -C means demangle to AIX nm, but means don't demangle with GNU nm
5490 # Also, AIX nm treats weak defined symbols like other global
5491 # defined symbols, whereas GNU nm marks them as "W".
53995492 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
5400 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
5493 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
54015494 else
54025495 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
54035496 fi
54865579 # empty executable.
54875580 _LT_SYS_MODULE_PATH_AIX
54885581 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5489 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5582 _LT_TAGVAR(archive_expsym_cmds, $1)='$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"
54905583 else
54915584 if test "$host_cpu" = ia64; then
54925585 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
55015594 # -berok will link without error, but may produce a broken library.
55025595 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
55035596 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5504 # Exported symbols can be pulled into shared objects from archives
5505 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5597 if test "$with_gnu_ld" = yes; then
5598 # We only use this code for GNU lds that support --whole-archive.
5599 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
5600 else
5601 # Exported symbols can be pulled into shared objects from archives
5602 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5603 fi
55065604 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
55075605 # This is similar to how AIX traditionally builds its shared libraries.
55085606 _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
55415639 # Tell ltmain to make .dll files, not .so files.
55425640 shrext_cmds=".dll"
55435641 # FIXME: Setting linknames here is a bad hack.
5544 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
5642 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
55455643 # The linker will automatically build a .lib file if we build a DLL.
55465644 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
55475645 # FIXME: Should let the user specify the lib program.
56085706 ;;
56095707
56105708 hpux10*)
5611 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5709 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
56125710 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
56135711 else
56145712 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
56275725 ;;
56285726
56295727 hpux11*)
5630 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5728 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
56315729 case $host_cpu in
56325730 hppa*64*)
56335731 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
56485746 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
56495747 ;;
56505748 *)
5651 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5749 m4_if($1, [], [
5750 # Older versions of the 11.00 compiler do not understand -b yet
5751 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
5752 _LT_LINKER_OPTION([if $CC understands -b],
5753 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
5754 [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
5755 [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
5756 [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
56525757 ;;
56535758 esac
56545759 fi
56765781
56775782 irix5* | irix6* | nonstopux*)
56785783 if test "$GCC" = yes; then
5679 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5784 _LT_TAGVAR(archive_cmds, $1)='$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'
56805785 # Try to use the -exported_symbol ld option, if it does not
56815786 # work, assume that -exports_file does not work either and
56825787 # implicitly export all symbols.
56835788 save_LDFLAGS="$LDFLAGS"
56845789 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
56855790 AC_LINK_IFELSE(int foo(void) {},
5686 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
5791 _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
56875792 )
56885793 LDFLAGS="$save_LDFLAGS"
56895794 else
5690 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5691 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
5795 _LT_TAGVAR(archive_cmds, $1)='$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'
5796 _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
56925797 fi
56935798 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
56945799 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
57505855 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
57515856 _LT_TAGVAR(hardcode_minus_L, $1)=yes
57525857 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5753 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
5858 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
57545859 _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
57555860 ;;
57565861
57575862 osf3*)
57585863 if test "$GCC" = yes; then
57595864 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5760 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5865 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
57615866 else
57625867 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5763 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5868 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
57645869 fi
57655870 _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
57665871 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
57705875 osf4* | osf5*) # as osf3* with the addition of -msym flag
57715876 if test "$GCC" = yes; then
57725877 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5773 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5878 _LT_TAGVAR(archive_cmds, $1)='$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'
57745879 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
57755880 else
57765881 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5777 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5882 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
57785883 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
5779 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
5884 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
57805885
57815886 # Both c and cxx compiler support -rpath directly
57825887 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
59676072 # Test whether the compiler implicitly links with -lc since on some
59686073 # systems, -lgcc has to come before -lc. If gcc already passes -lc
59696074 # to ld, don't add -lc before -lgcc.
5970 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
5971 $RM conftest*
5972 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5973
5974 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5975 soname=conftest
5976 lib=conftest
5977 libobjs=conftest.$ac_objext
5978 deplibs=
5979 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
5980 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
5981 compiler_flags=-v
5982 linker_flags=-v
5983 verstring=
5984 output_objdir=.
5985 libname=conftest
5986 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
5987 _LT_TAGVAR(allow_undefined_flag, $1)=
5988 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
5989 then
5990 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5991 else
5992 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5993 fi
5994 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5995 else
5996 cat conftest.err 1>&5
5997 fi
5998 $RM conftest*
5999 AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
6075 AC_CACHE_CHECK([whether -lc should be explicitly linked in],
6076 [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
6077 [$RM conftest*
6078 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6079
6080 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6081 soname=conftest
6082 lib=conftest
6083 libobjs=conftest.$ac_objext
6084 deplibs=
6085 wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
6086 pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
6087 compiler_flags=-v
6088 linker_flags=-v
6089 verstring=
6090 output_objdir=.
6091 libname=conftest
6092 lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
6093 _LT_TAGVAR(allow_undefined_flag, $1)=
6094 if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
6095 then
6096 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
6097 else
6098 lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6099 fi
6100 _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6101 else
6102 cat conftest.err 1>&5
6103 fi
6104 $RM conftest*
6105 ])
6106 _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
60006107 ;;
60016108 esac
60026109 fi
61626269 ])# _LT_LANG_C_CONFIG
61636270
61646271
6165 # _LT_PROG_CXX
6166 # ------------
6167 # Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
6168 # compiler, we have our own version here.
6169 m4_defun([_LT_PROG_CXX],
6170 [
6171 pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
6172 AC_PROG_CXX
6272 # _LT_LANG_CXX_CONFIG([TAG])
6273 # --------------------------
6274 # Ensure that the configuration variables for a C++ compiler are suitably
6275 # defined. These variables are subsequently used by _LT_CONFIG to write
6276 # the compiler configuration to `libtool'.
6277 m4_defun([_LT_LANG_CXX_CONFIG],
6278 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
6279 m4_require([_LT_DECL_EGREP])dnl
61736280 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
61746281 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
61756282 (test "X$CXX" != "Xg++"))) ; then
61776284 else
61786285 _lt_caught_CXX_error=yes
61796286 fi
6180 popdef([AC_MSG_ERROR])
6181 ])# _LT_PROG_CXX
6182
6183 dnl aclocal-1.4 backwards compatibility:
6184 dnl AC_DEFUN([_LT_PROG_CXX], [])
6185
6186
6187 # _LT_LANG_CXX_CONFIG([TAG])
6188 # --------------------------
6189 # Ensure that the configuration variables for a C++ compiler are suitably
6190 # defined. These variables are subsequently used by _LT_CONFIG to write
6191 # the compiler configuration to `libtool'.
6192 m4_defun([_LT_LANG_CXX_CONFIG],
6193 [AC_REQUIRE([_LT_PROG_CXX])dnl
6194 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
6195 m4_require([_LT_DECL_EGREP])dnl
61966287
61976288 AC_LANG_PUSH(C++)
61986289 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
62146305 _LT_TAGVAR(module_expsym_cmds, $1)=
62156306 _LT_TAGVAR(link_all_deplibs, $1)=unknown
62166307 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
6308 _LT_TAGVAR(reload_flag, $1)=$reload_flag
6309 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
62176310 _LT_TAGVAR(no_undefined_flag, $1)=
62186311 _LT_TAGVAR(whole_archive_flag_spec, $1)=
62196312 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
63166409 # Commands to make compiler produce verbose output that lists
63176410 # what "hidden" libraries, object files and flags are used when
63186411 # linking a shared library.
6319 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
6412 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
63206413
63216414 else
63226415 GXX=no
64286521 _LT_SYS_MODULE_PATH_AIX
64296522 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
64306523
6431 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6524 _LT_TAGVAR(archive_expsym_cmds, $1)='$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"
64326525 else
64336526 if test "$host_cpu" = ia64; then
64346527 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
64436536 # -berok will link without error, but may produce a broken library.
64446537 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
64456538 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6446 # Exported symbols can be pulled into shared objects from archives
6447 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6539 if test "$with_gnu_ld" = yes; then
6540 # We only use this code for GNU lds that support --whole-archive.
6541 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
6542 else
6543 # Exported symbols can be pulled into shared objects from archives
6544 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
6545 fi
64486546 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
64496547 # This is similar to how AIX traditionally builds its shared
64506548 # libraries.
64776575 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
64786576 # as there is no search path for DLLs.
64796577 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6578 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
64806579 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
64816580 _LT_TAGVAR(always_export_symbols, $1)=no
64826581 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
65376636 gnu*)
65386637 ;;
65396638
6639 haiku*)
6640 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6641 _LT_TAGVAR(link_all_deplibs, $1)=yes
6642 ;;
6643
65406644 hpux9*)
65416645 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
65426646 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
65616665 # explicitly linking system object files so we need to strip them
65626666 # from the output so that they don't get included in the library
65636667 # dependencies.
6564 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
6668 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
65656669 ;;
65666670 *)
65676671 if test "$GXX" = yes; then
66266730 # explicitly linking system object files so we need to strip them
66276731 # from the output so that they don't get included in the library
66286732 # dependencies.
6629 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
6733 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
66306734 ;;
66316735 *)
66326736 if test "$GXX" = yes; then
66696773 case $cc_basename in
66706774 CC*)
66716775 # SGI C++
6672 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
6776 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
66736777
66746778 # Archives containing C++ object files must be created using
66756779 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
66806784 *)
66816785 if test "$GXX" = yes; then
66826786 if test "$with_gnu_ld" = no; then
6683 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6787 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
66846788 else
6685 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
6789 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
66866790 fi
66876791 fi
66886792 _LT_TAGVAR(link_all_deplibs, $1)=yes
66936797 _LT_TAGVAR(inherit_rpath, $1)=yes
66946798 ;;
66956799
6696 linux* | k*bsd*-gnu)
6800 linux* | k*bsd*-gnu | kopensolaris*-gnu)
66976801 case $cc_basename in
66986802 KCC*)
66996803 # Kuck and Associates, Inc. (KAI) C++ Compiler
67116815 # explicitly linking system object files so we need to strip them
67126816 # from the output so that they don't get included in the library
67136817 # dependencies.
6714 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
6818 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
67156819
67166820 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
67176821 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
67486852 pgCC* | pgcpp*)
67496853 # Portland Group C++ compiler
67506854 case `$CC -V` in
6751 *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
6855 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
67526856 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
67536857 rm -rf $tpldir~
67546858 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6755 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
6859 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
67566860 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
67576861 rm -rf $tpldir~
67586862 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6759 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
6863 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
67606864 $RANLIB $oldlib'
67616865 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
67626866 rm -rf $tpldir~
67636867 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6764 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6868 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
67656869 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
67666870 rm -rf $tpldir~
67676871 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6768 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
6872 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
67696873 ;;
6770 *) # Version 6 will use weak symbols
6874 *) # Version 6 and above use weak symbols
67716875 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
67726876 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
67736877 ;;
67756879
67766880 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
67776881 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6778 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6882 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
67796883 ;;
67806884 cxx*)
67816885 # Compaq C++
67946898 # explicitly linking system object files so we need to strip them
67956899 # from the output so that they don't get included in the library
67966900 # dependencies.
6797 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
6901 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
67986902 ;;
6799 xl*)
6903 xl* | mpixl* | bgxl*)
68006904 # IBM XL 8.0 on PPC, with GNU ld
68016905 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
68026906 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
68166920 _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
68176921 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
68186922 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6819 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6923 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
68206924 _LT_TAGVAR(compiler_needs_object, $1)=yes
68216925
68226926 # Not sure whether something based on
68236927 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
68246928 # would be better.
6825 output_verbose_link_cmd='echo'
6929 output_verbose_link_cmd='func_echo_all'
68266930
68276931 # Archives containing C++ object files must be created using
68286932 # "CC -xar", where "CC" is the Sun C++ compiler. This is
68916995 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
68926996 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
68936997 fi
6894 output_verbose_link_cmd=echo
6998 output_verbose_link_cmd=func_echo_all
68956999 else
68967000 _LT_TAGVAR(ld_shlibs, $1)=no
68977001 fi
69267030 case $host in
69277031 osf3*)
69287032 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6929 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7033 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
69307034 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
69317035 ;;
69327036 *)
69337037 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6934 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7038 _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
69357039 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
69367040 echo "-hidden">> $lib.exp~
6937 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
7041 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
69387042 $RM $lib.exp'
69397043 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
69407044 ;;
69507054 # explicitly linking system object files so we need to strip them
69517055 # from the output so that they don't get included in the library
69527056 # dependencies.
6953 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
7057 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
69547058 ;;
69557059 *)
69567060 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
69577061 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
69587062 case $host in
69597063 osf3*)
6960 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7064 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
69617065 ;;
69627066 *)
6963 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7067 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
69647068 ;;
69657069 esac
69667070
69707074 # Commands to make compiler produce verbose output that lists
69717075 # what "hidden" libraries, object files and flags are used when
69727076 # linking a shared library.
6973 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
7077 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
69747078
69757079 else
69767080 # FIXME: insert proper C++ library support
70067110
70077111 solaris*)
70087112 case $cc_basename in
7009 CC*)
7113 CC* | sunCC*)
70107114 # Sun C++ 4.2, 5.x and Centerline C++
70117115 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
70127116 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
70277131 esac
70287132 _LT_TAGVAR(link_all_deplibs, $1)=yes
70297133
7030 output_verbose_link_cmd='echo'
7134 output_verbose_link_cmd='func_echo_all'
70317135
70327136 # Archives containing C++ object files must be created using
70337137 # "CC -xar", where "CC" is the Sun C++ compiler. This is
70547158 # Commands to make compiler produce verbose output that lists
70557159 # what "hidden" libraries, object files and flags are used when
70567160 # linking a shared library.
7057 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
7161 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
70587162 else
70597163 # g++ 2.7 appears to require `-G' NOT `-shared' on this
70607164 # platform.
70657169 # Commands to make compiler produce verbose output that lists
70667170 # what "hidden" libraries, object files and flags are used when
70677171 # linking a shared library.
7068 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
7172 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
70697173 fi
70707174
70717175 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
71197223 CC*)
71207224 _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
71217225 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7226 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
7227 '"$_LT_TAGVAR(old_archive_cmds, $1)"
7228 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
7229 '"$_LT_TAGVAR(reload_cmds, $1)"
71227230 ;;
71237231 *)
71247232 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
73657473
73667474 solaris*)
73677475 case $cc_basename in
7368 CC*)
7476 CC* | sunCC*)
73697477 # The more standards-conforming stlport4 library is
73707478 # incompatible with the Cstd library. Avoid specifying
73717479 # it if it's in CXXFLAGS. Ignore libCrun as
74097517 ])# _LT_SYS_HIDDEN_LIBDEPS
74107518
74117519
7412 # _LT_PROG_F77
7413 # ------------
7414 # Since AC_PROG_F77 is broken, in that it returns the empty string
7415 # if there is no fortran compiler, we have our own version here.
7416 m4_defun([_LT_PROG_F77],
7417 [
7418 pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
7419 AC_PROG_F77
7420 if test -z "$F77" || test "X$F77" = "Xno"; then
7421 _lt_disable_F77=yes
7422 fi
7423 popdef([AC_MSG_ERROR])
7424 ])# _LT_PROG_F77
7425
7426 dnl aclocal-1.4 backwards compatibility:
7427 dnl AC_DEFUN([_LT_PROG_F77], [])
7428
7429
74307520 # _LT_LANG_F77_CONFIG([TAG])
74317521 # --------------------------
74327522 # Ensure that the configuration variables for a Fortran 77 compiler are
74337523 # suitably defined. These variables are subsequently used by _LT_CONFIG
74347524 # to write the compiler configuration to `libtool'.
74357525 m4_defun([_LT_LANG_F77_CONFIG],
7436 [AC_REQUIRE([_LT_PROG_F77])dnl
7437 AC_LANG_PUSH(Fortran 77)
7526 [AC_LANG_PUSH(Fortran 77)
7527 if test -z "$F77" || test "X$F77" = "Xno"; then
7528 _lt_disable_F77=yes
7529 fi
74387530
74397531 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
74407532 _LT_TAGVAR(allow_undefined_flag, $1)=
74537545 _LT_TAGVAR(module_expsym_cmds, $1)=
74547546 _LT_TAGVAR(link_all_deplibs, $1)=unknown
74557547 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7548 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7549 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
74567550 _LT_TAGVAR(no_undefined_flag, $1)=
74577551 _LT_TAGVAR(whole_archive_flag_spec, $1)=
74587552 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
75527646 ])# _LT_LANG_F77_CONFIG
75537647
75547648
7555 # _LT_PROG_FC
7556 # -----------
7557 # Since AC_PROG_FC is broken, in that it returns the empty string
7558 # if there is no fortran compiler, we have our own version here.
7559 m4_defun([_LT_PROG_FC],
7560 [
7561 pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
7562 AC_PROG_FC
7563 if test -z "$FC" || test "X$FC" = "Xno"; then
7564 _lt_disable_FC=yes
7565 fi
7566 popdef([AC_MSG_ERROR])
7567 ])# _LT_PROG_FC
7568
7569 dnl aclocal-1.4 backwards compatibility:
7570 dnl AC_DEFUN([_LT_PROG_FC], [])
7571
7572
75737649 # _LT_LANG_FC_CONFIG([TAG])
75747650 # -------------------------
75757651 # Ensure that the configuration variables for a Fortran compiler are
75767652 # suitably defined. These variables are subsequently used by _LT_CONFIG
75777653 # to write the compiler configuration to `libtool'.
75787654 m4_defun([_LT_LANG_FC_CONFIG],
7579 [AC_REQUIRE([_LT_PROG_FC])dnl
7580 AC_LANG_PUSH(Fortran)
7655 [AC_LANG_PUSH(Fortran)
7656
7657 if test -z "$FC" || test "X$FC" = "Xno"; then
7658 _lt_disable_FC=yes
7659 fi
75817660
75827661 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
75837662 _LT_TAGVAR(allow_undefined_flag, $1)=
75967675 _LT_TAGVAR(module_expsym_cmds, $1)=
75977676 _LT_TAGVAR(link_all_deplibs, $1)=unknown
75987677 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7678 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7679 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
75997680 _LT_TAGVAR(no_undefined_flag, $1)=
76007681 _LT_TAGVAR(whole_archive_flag_spec, $1)=
76017682 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
77417822 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
77427823
77437824 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7825 _LT_TAGVAR(reload_flag, $1)=$reload_flag
7826 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds
77447827
77457828 if test -n "$compiler"; then
77467829 _LT_COMPILER_NO_RTTI($1)
81028185 func_dirname ()
81038186 {
81048187 # Extract subdirectory from the argument.
8105 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
8188 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81068189 if test "X$func_dirname_result" = "X${1}"; then
81078190 func_dirname_result="${3}"
81088191 else
81138196 # func_basename file
81148197 func_basename ()
81158198 {
8116 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
8199 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81178200 }
81188201
81198202 dnl func_dirname_and_basename
81298212 func_stripname ()
81308213 {
81318214 case ${2} in
8132 .*) func_stripname_result=`$ECHO "X${3}" \
8133 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
8134 *) func_stripname_result=`$ECHO "X${3}" \
8135 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
8215 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8216 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81368217 esac
81378218 }
81388219
81438224 # func_opt_split
81448225 func_opt_split ()
81458226 {
8146 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
8147 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
8227 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
8228 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81488229 }
81498230
81508231 # func_lo2o object
81518232 func_lo2o ()
81528233 {
8153 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
8234 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81548235 }
81558236
81568237 # func_xform libobj-or-source
81578238 func_xform ()
81588239 {
8159 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
8240 func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
81608241 }
81618242
81628243 # func_arith arithmetic-term...
82048285
82058286 # Helper functions for option handling. -*- Autoconf -*-
82068287 #
8207 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
8288 # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
8289 # Inc.
82088290 # Written by Gary V. Vaughan, 2004
82098291 #
82108292 # This file is free software; the Free Software Foundation gives
82118293 # unlimited permission to copy and/or distribute it, with or without
82128294 # modifications, as long as this notice is preserved.
82138295
8214 # serial 6 ltoptions.m4
8296 # serial 7 ltoptions.m4
82158297
82168298 # This is to help aclocal find these macros, as it can't see m4_define.
82178299 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
83268408 [enable_win32_dll=yes
83278409
83288410 case $host in
8329 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
8411 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
83308412 AC_CHECK_TOOL(AS, as, false)
83318413 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
83328414 AC_CHECK_TOOL(OBJDUMP, objdump, false)
83348416 esac
83358417
83368418 test -z "$AS" && AS=as
8337 _LT_DECL([], [AS], [0], [Assembler program])dnl
8419 _LT_DECL([], [AS], [1], [Assembler program])dnl
83388420
83398421 test -z "$DLLTOOL" && DLLTOOL=dlltool
8340 _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
8422 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
83418423
83428424 test -z "$OBJDUMP" && OBJDUMP=objdump
8343 _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
8425 _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
83448426 ])# win32-dll
83458427
83468428 AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
87008782
87018783 # Generated from ltversion.in.
87028784
8703 # serial 3017 ltversion.m4
8785 # serial 3175 ltversion.m4
87048786 # This file is part of GNU Libtool
87058787
8706 m4_define([LT_PACKAGE_VERSION], [2.2.6b])
8707 m4_define([LT_PACKAGE_REVISION], [1.3017])
8788 m4_define([LT_PACKAGE_VERSION], [2.2.10])
8789 m4_define([LT_PACKAGE_REVISION], [1.3175])
87088790
87098791 AC_DEFUN([LTVERSION_VERSION],
8710 [macro_version='2.2.6b'
8711 macro_revision='1.3017'
8792 [macro_version='2.2.10'
8793 macro_revision='1.3175'
87128794 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
87138795 _LT_DECL(, macro_revision, 0)
87148796 ])
87158797
87168798 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
87178799 #
8718 # Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
8800 # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
87198801 # Written by Scott James Remnant, 2004.
87208802 #
87218803 # This file is free software; the Free Software Foundation gives
87228804 # unlimited permission to copy and/or distribute it, with or without
87238805 # modifications, as long as this notice is preserved.
87248806
8725 # serial 4 lt~obsolete.m4
8807 # serial 5 lt~obsolete.m4
87268808
87278809 # These exist entirely to fool aclocal when bootstrapping libtool.
87288810 #
87928874 m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
87938875 m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
87948876 m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
8795 m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
87968877 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
87978878 m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
87988879 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
88058886 m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
88068887 m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
88078888 m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
8808
8809 # nls.m4 serial 3 (gettext-0.15)
8810 dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
8889 m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
8890 m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
8891 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
8892 m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
8893 m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
8894 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
8895 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
8896
8897 # nls.m4 serial 5 (gettext-0.18)
8898 dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
8899 dnl Inc.
88118900 dnl This file is free software; the Free Software Foundation
88128901 dnl gives unlimited permission to copy and/or distribute it,
88138902 dnl with or without modifications, as long as this notice is preserved.
88258914 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
88268915 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
88278916
8828 AC_PREREQ(2.50)
8917 AC_PREREQ([2.50])
88298918
88308919 AC_DEFUN([AM_NLS],
88318920 [
88328921 AC_MSG_CHECKING([whether NLS is requested])
88338922 dnl Default is enabled NLS
8834 AC_ARG_ENABLE(nls,
8923 AC_ARG_ENABLE([nls],
88358924 [ --disable-nls do not use Native Language Support],
88368925 USE_NLS=$enableval, USE_NLS=yes)
8837 AC_MSG_RESULT($USE_NLS)
8838 AC_SUBST(USE_NLS)
8926 AC_MSG_RESULT([$USE_NLS])
8927 AC_SUBST([USE_NLS])
88398928 ])
88408929
88418930 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
8931 # serial 1 (pkg-config-0.24)
88428932 #
88438933 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
88448934 #
88668956 AC_DEFUN([PKG_PROG_PKG_CONFIG],
88678957 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
88688958 m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
8869 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
8959 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
8960 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
8961 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
8962
88708963 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
88718964 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
88728965 fi
88798972 AC_MSG_RESULT([no])
88808973 PKG_CONFIG=""
88818974 fi
8882
88838975 fi[]dnl
88848976 ])# PKG_PROG_PKG_CONFIG
88858977
88888980 # Check to see whether a particular set of modules exists. Similar
88898981 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
88908982 #
8891 #
8892 # Similar to PKG_CHECK_MODULES, make sure that the first instance of
8893 # this or PKG_CHECK_MODULES is called, or make sure to call
8894 # PKG_CHECK_EXISTS manually
8983 # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
8984 # only at the first occurence in configure.ac, so if the first place
8985 # it's called might be skipped (such as if it is within an "if", you
8986 # have to call PKG_CHECK_EXISTS manually
88958987 # --------------------------------------------------------------
88968988 AC_DEFUN([PKG_CHECK_EXISTS],
88978989 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
88988990 if test -n "$PKG_CONFIG" && \
88998991 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
8900 m4_ifval([$2], [$2], [:])
8992 m4_default([$2], [:])
89018993 m4_ifvaln([$3], [else
89028994 $3])dnl
89038995 fi])
8904
89058996
89068997 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
89078998 # ---------------------------------------------
89559046 See the pkg-config man page for more details.])
89569047
89579048 if test $pkg_failed = yes; then
9049 AC_MSG_RESULT([no])
89589050 _PKG_SHORT_ERRORS_SUPPORTED
89599051 if test $_pkg_short_errors_supported = yes; then
89609052 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
89649056 # Put the nasty error message in config.log where it belongs
89659057 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
89669058
8967 ifelse([$4], , [AC_MSG_ERROR(dnl
9059 m4_default([$4], [AC_MSG_ERROR(
89689060 [Package requirements ($2) were not met:
89699061
89709062 $$1_PKG_ERRORS
89729064 Consider adjusting the PKG_CONFIG_PATH environment variable if you
89739065 installed software in a non-standard prefix.
89749066
8975 _PKG_TEXT
8976 ])],
8977 [AC_MSG_RESULT([no])
8978 $4])
9067 _PKG_TEXT])
9068 ])
89799069 elif test $pkg_failed = untried; then
8980 ifelse([$4], , [AC_MSG_FAILURE(dnl
9070 AC_MSG_RESULT([no])
9071 m4_default([$4], [AC_MSG_FAILURE(
89819072 [The pkg-config script could not be found or is too old. Make sure it
89829073 is in your PATH or set the PKG_CONFIG environment variable to the full
89839074 path to pkg-config.
89849075
89859076 _PKG_TEXT
89869077
8987 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
8988 [$4])
9078 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
9079 ])
89899080 else
89909081 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
89919082 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
89929083 AC_MSG_RESULT([yes])
8993 ifelse([$3], , :, [$3])
9084 $3
89949085 fi[]dnl
89959086 ])# PKG_CHECK_MODULES
89969087
+1510
-1445
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.65 for ibus-input-pad 0.1.4.
2 # Generated by GNU Autoconf 2.66 for ibus-input-pad 1.4.0.
33 #
44 # Report bugs to <http://code.google.com/p/input-pad/issues/entry>.
55 #
66 #
77 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 # Inc.
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
9 # Foundation, Inc.
1010 #
1111 #
1212 # This configure script is free software; the Free Software Foundation
172172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
175 test \$(( 1 + 1 )) = 2 || exit 1
176
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 PATH=/empty FPATH=/empty; export PATH FPATH
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
176184 if (eval "$as_required") 2>/dev/null; then :
177185 as_have_required=yes
178186 else
318326 test -d "$as_dir" && break
319327 done
320328 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
329 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
322330
323331
324332 } # as_fn_mkdir_p
358366 fi # as_fn_arith
359367
360368
361 # as_fn_error ERROR [LINENO LOG_FD]
362 # ---------------------------------
369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
370 # ----------------------------------------
363371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with status $?, using 1 if that was 0.
373 # script with STATUS, using 1 if that was 0.
366374 as_fn_error ()
367375 {
368 as_status=$?; test $as_status -eq 0 && as_status=1
369 if test "$3"; then
370 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 as_status=$1; test $as_status -eq 0 && as_status=1
377 if test "$4"; then
378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
372380 fi
373 $as_echo "$as_me: error: $1" >&2
381 $as_echo "$as_me: error: $2" >&2
374382 as_fn_exit $as_status
375383 } # as_fn_error
376384
527535 # Sed expression to map a string onto a valid variable name.
528536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529537
530
531
532 # Check that we are running under the correct shell.
533538 SHELL=${CONFIG_SHELL-/bin/sh}
534
535 case X$lt_ECHO in
536 X*--fallback-echo)
537 # Remove one level of quotation (which was required for Make).
538 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 ;;
540 esac
541
542 ECHO=${lt_ECHO-echo}
543 if test "X$1" = X--no-reexec; then
544 # Discard the --no-reexec flag, and continue.
545 shift
546 elif test "X$1" = X--fallback-echo; then
547 # Avoid inline document here, it may be left over
548 :
549 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
550 # Yippee, $ECHO works!
551 :
552 else
553 # Restart under the correct shell.
554 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 fi
556
557 if test "X$1" = X--fallback-echo; then
558 # used as fallback echo
559 shift
560 cat <<_LT_EOF
561 $*
562 _LT_EOF
563 exit 0
564 fi
565
566 # The HP-UX ksh and POSIX shell print the target directory to stdout
567 # if CDPATH is set.
568 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
569
570 if test -z "$lt_ECHO"; then
571 if test "X${echo_test_string+set}" != Xset; then
572 # find a string as large as possible, as long as the shell can cope with it
573 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
574 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
575 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
576 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
577 then
578 break
579 fi
580 done
581 fi
582
583 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
584 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
585 test "X$echo_testing_string" = "X$echo_test_string"; then
586 :
587 else
588 # The Solaris, AIX, and Digital Unix default echo programs unquote
589 # backslashes. This makes it impossible to quote backslashes using
590 # echo "$something" | sed 's/\\/\\\\/g'
591 #
592 # So, first we look for a working echo in the user's PATH.
593
594 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
595 for dir in $PATH /usr/ucb; do
596 IFS="$lt_save_ifs"
597 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
598 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
599 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
600 test "X$echo_testing_string" = "X$echo_test_string"; then
601 ECHO="$dir/echo"
602 break
603 fi
604 done
605 IFS="$lt_save_ifs"
606
607 if test "X$ECHO" = Xecho; then
608 # We didn't find a better echo, so look for alternatives.
609 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
610 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
611 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # This shell has a builtin print -r that does the trick.
613 ECHO='print -r'
614 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
615 test "X$CONFIG_SHELL" != X/bin/ksh; then
616 # If we have ksh, try running configure again with it.
617 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
618 export ORIGINAL_CONFIG_SHELL
619 CONFIG_SHELL=/bin/ksh
620 export CONFIG_SHELL
621 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
622 else
623 # Try using printf.
624 ECHO='printf %s\n'
625 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
626 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
627 test "X$echo_testing_string" = "X$echo_test_string"; then
628 # Cool, printf works
629 :
630 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
631 test "X$echo_testing_string" = 'X\t' &&
632 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
635 export CONFIG_SHELL
636 SHELL="$CONFIG_SHELL"
637 export SHELL
638 ECHO="$CONFIG_SHELL $0 --fallback-echo"
639 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
640 test "X$echo_testing_string" = 'X\t' &&
641 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
642 test "X$echo_testing_string" = "X$echo_test_string"; then
643 ECHO="$CONFIG_SHELL $0 --fallback-echo"
644 else
645 # maybe with a smaller string...
646 prev=:
647
648 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
649 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
650 then
651 break
652 fi
653 prev="$cmd"
654 done
655
656 if test "$prev" != 'sed 50q "$0"'; then
657 echo_test_string=`eval $prev`
658 export echo_test_string
659 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
660 else
661 # Oops. We lost completely, so just stick with echo.
662 ECHO=echo
663 fi
664 fi
665 fi
666 fi
667 fi
668 fi
669
670 # Copy echo and quote the copy suitably for passing to libtool from
671 # the Makefile, instead of quoting the original, which is used later.
672 lt_ECHO=$ECHO
673 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
674 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
675 fi
676
677
678539
679540
680541 test -n "$DJDIR" || exec 7<&0 </dev/null
681542 exec 6>&1
682543
683544 # Name of the host.
684 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
685546 # so uname gets run too.
686547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
687548
700561 # Identity of this package.
701562 PACKAGE_NAME='ibus-input-pad'
702563 PACKAGE_TARNAME='ibus-input-pad'
703 PACKAGE_VERSION='0.1.4'
704 PACKAGE_STRING='ibus-input-pad 0.1.4'
564 PACKAGE_VERSION='1.4.0'
565 PACKAGE_STRING='ibus-input-pad 1.4.0'
705566 PACKAGE_BUGREPORT='http://code.google.com/p/input-pad/issues/entry'
706567 PACKAGE_URL=''
707568
761622 INPUT_PAD_CFLAGS
762623 IBUS_LIBS
763624 IBUS_CFLAGS
625 GTK3_LIBS
626 GTK3_CFLAGS
627 HAVE_GTK2_FALSE
628 HAVE_GTK2_TRUE
629 HAVE_GTK3_FALSE
630 HAVE_GTK3_TRUE
764631 GTK2_LIBS
765632 GTK2_CFLAGS
766633 GLIB2_LIBS
770637 GLIB_GENMARSHAL
771638 GLIB_LIBS
772639 GLIB_CFLAGS
640 PKG_CONFIG_LIBDIR
641 PKG_CONFIG_PATH
773642 PKG_CONFIG
774643 DATE_DISPLAY
775644 DATADIRNAME
808677 LIPO
809678 NMEDIT
810679 DSYMUTIL
811 lt_ECHO
812680 RANLIB
813681 AR
814682 OBJDUMP
929797 enable_fast_install
930798 with_gnu_ld
931799 enable_libtool_lock
800 with_gnu_ld
932801 enable_nls
933802 enable_glibtest
803 with_gtk
934804 '
935805 ac_precious_vars='build_alias
936806 host_alias
941811 LIBS
942812 CPPFLAGS
943813 CPP
814 CPPFLAGS
815 CC
816 LDFLAGS
817 LIBS
818 CPPFLAGS
944819 CXX
945820 CXXFLAGS
821 LIBS
822 CPPFLAGS
946823 CCC
947824 CXXCPP
825 CPPFLAGS
948826 PKG_CONFIG
827 PKG_CONFIG_PATH
828 PKG_CONFIG_LIBDIR
949829 GLIB2_CFLAGS
950830 GLIB2_LIBS
951831 GTK2_CFLAGS
952832 GTK2_LIBS
833 GTK3_CFLAGS
834 GTK3_LIBS
953835 IBUS_CFLAGS
836 IBUS_LIBS
954837 IBUS_LIBS
955838 INPUT_PAD_CFLAGS
956839 INPUT_PAD_LIBS'
1062945 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1063946 # Reject names that are not valid shell variable names.
1064947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065 as_fn_error "invalid feature name: $ac_useropt"
948 as_fn_error $? "invalid feature name: $ac_useropt"
1066949 ac_useropt_orig=$ac_useropt
1067950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068951 case $ac_user_opts in
1088971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1089972 # Reject names that are not valid shell variable names.
1090973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 as_fn_error "invalid feature name: $ac_useropt"
974 as_fn_error $? "invalid feature name: $ac_useropt"
1092975 ac_useropt_orig=$ac_useropt
1093976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094977 case $ac_user_opts in
12921175 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
12931176 # Reject names that are not valid shell variable names.
12941177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1295 as_fn_error "invalid package name: $ac_useropt"
1178 as_fn_error $? "invalid package name: $ac_useropt"
12961179 ac_useropt_orig=$ac_useropt
12971180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
12981181 case $ac_user_opts in
13081191 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
13091192 # Reject names that are not valid shell variable names.
13101193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1311 as_fn_error "invalid package name: $ac_useropt"
1194 as_fn_error $? "invalid package name: $ac_useropt"
13121195 ac_useropt_orig=$ac_useropt
13131196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
13141197 case $ac_user_opts in
13381221 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
13391222 x_libraries=$ac_optarg ;;
13401223
1341 -*) as_fn_error "unrecognized option: \`$ac_option'
1342 Try \`$0 --help' for more information."
1224 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
13431226 ;;
13441227
13451228 *=*)
13471230 # Reject names that are not valid shell variable names.
13481231 case $ac_envvar in #(
13491232 '' | [0-9]* | *[!_$as_cr_alnum]* )
1350 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1233 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
13511234 esac
13521235 eval $ac_envvar=\$ac_optarg
13531236 export $ac_envvar ;;
13651248
13661249 if test -n "$ac_prev"; then
13671250 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1368 as_fn_error "missing argument to $ac_option"
1251 as_fn_error $? "missing argument to $ac_option"
13691252 fi
13701253
13711254 if test -n "$ac_unrecognized_opts"; then
13721255 case $enable_option_checking in
13731256 no) ;;
1374 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1257 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
13751258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
13761259 esac
13771260 fi
13941277 [\\/$]* | ?:[\\/]* ) continue;;
13951278 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
13961279 esac
1397 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1280 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
13981281 done
13991282
14001283 # There might be people who depend on the old broken behavior: `$host'
14081291 if test "x$host_alias" != x; then
14091292 if test "x$build_alias" = x; then
14101293 cross_compiling=maybe
1411 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1412 If a cross compiler is detected then cross compile mode will be used." >&2
1294 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1295 If a cross compiler is detected then cross compile mode will be used" >&2
14131296 elif test "x$build_alias" != "x$host_alias"; then
14141297 cross_compiling=yes
14151298 fi
14241307 ac_pwd=`pwd` && test -n "$ac_pwd" &&
14251308 ac_ls_di=`ls -di .` &&
14261309 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1427 as_fn_error "working directory cannot be determined"
1310 as_fn_error $? "working directory cannot be determined"
14281311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1429 as_fn_error "pwd does not report name of working directory"
1312 as_fn_error $? "pwd does not report name of working directory"
14301313
14311314
14321315 # Find the source files, if location was not specified.
14651348 fi
14661349 if test ! -r "$srcdir/$ac_unique_file"; then
14671350 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1468 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1351 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
14691352 fi
14701353 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
14711354 ac_abs_confdir=`(
1472 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
14731356 pwd)`
14741357 # When building in place, set srcdir=.
14751358 if test "$ac_abs_confdir" = "$ac_pwd"; then
14951378 # Omit some internal or obsolete options to make the list less imposing.
14961379 # This message is too long to be a string in the A/UX 3.1 sh.
14971380 cat <<_ACEOF
1498 \`configure' configures ibus-input-pad 0.1.4 to adapt to many kinds of systems.
1381 \`configure' configures ibus-input-pad 1.4.0 to adapt to many kinds of systems.
14991382
15001383 Usage: $0 [OPTION]... [VAR=VALUE]...
15011384
15091392 --help=short display options specific to this package
15101393 --help=recursive display the short help of all the included packages
15111394 -V, --version display version information and exit
1512 -q, --quiet, --silent do not print \`checking...' messages
1395 -q, --quiet, --silent do not print \`checking ...' messages
15131396 --cache-file=FILE cache test results in FILE [disabled]
15141397 -C, --config-cache alias for \`--cache-file=config.cache'
15151398 -n, --no-create do not create output files
15651448
15661449 if test -n "$ac_init_help"; then
15671450 case $ac_init_help in
1568 short | recursive ) echo "Configuration of ibus-input-pad 0.1.4:";;
1451 short | recursive ) echo "Configuration of ibus-input-pad 1.4.0:";;
15691452 esac
15701453 cat <<\_ACEOF
15711454
15911474 --with-pic try to use only PIC/non-PIC objects [default=use
15921475 both]
15931476 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1477 --with-gtk=2.0|3.0 Select GTK+ version. The default is 2.0
15941478
15951479 Some influential environment variables:
15961480 CC C compiler command
16051489 CXXFLAGS C++ compiler flags
16061490 CXXCPP C++ preprocessor
16071491 PKG_CONFIG path to pkg-config utility
1492 PKG_CONFIG_PATH
1493 directories to add to pkg-config's search path
1494 PKG_CONFIG_LIBDIR
1495 path overriding pkg-config's built-in search path
16081496 GLIB2_CFLAGS
16091497 C compiler flags for GLIB2, overriding pkg-config
16101498 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
16111499 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
16121500 GTK2_LIBS linker flags for GTK2, overriding pkg-config
1501 GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
1502 GTK3_LIBS linker flags for GTK3, overriding pkg-config
16131503 IBUS_CFLAGS C compiler flags for IBUS, overriding pkg-config
16141504 IBUS_LIBS linker flags for IBUS, overriding pkg-config
16151505 INPUT_PAD_CFLAGS
16831573 test -n "$ac_init_help" && exit $ac_status
16841574 if $ac_init_version; then
16851575 cat <<\_ACEOF
1686 ibus-input-pad configure 0.1.4
1687 generated by GNU Autoconf 2.65
1688
1689 Copyright (C) 2009 Free Software Foundation, Inc.
1576 ibus-input-pad configure 1.4.0
1577 generated by GNU Autoconf 2.66
1578
1579 Copyright (C) 2010 Free Software Foundation, Inc.
16901580 This configure script is free software; the Free Software Foundation
16911581 gives unlimited permission to copy, distribute and modify it.
16921582 _ACEOF
17801670 ac_fn_c_check_header_mongrel ()
17811671 {
17821672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1673 if eval "test \"\${$3+set}\"" = set; then :
17841674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17851675 $as_echo_n "checking for $2... " >&6; }
1786 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1676 if eval "test \"\${$3+set}\"" = set; then :
17871677 $as_echo_n "(cached) " >&6
17881678 fi
17891679 eval ac_res=\$$3
18421732 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
18431733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
18441734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1845 ( cat <<\_ASBOX
1846 ## -------------------------------------------------------------- ##
1735 ( $as_echo "## -------------------------------------------------------------- ##
18471736 ## Report this to http://code.google.com/p/input-pad/issues/entry ##
1848 ## -------------------------------------------------------------- ##
1849 _ASBOX
1737 ## -------------------------------------------------------------- ##"
18501738 ) | sed "s/^/$as_me: WARNING: /" >&2
18511739 ;;
18521740 esac
18531741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
18541742 $as_echo_n "checking for $2... " >&6; }
1855 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1743 if eval "test \"\${$3+set}\"" = set; then :
18561744 $as_echo_n "(cached) " >&6
18571745 else
18581746 eval "$3=\$ac_header_compiler"
19161804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19171805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
19181806 $as_echo_n "checking for $2... " >&6; }
1919 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1807 if eval "test \"\${$3+set}\"" = set; then :
19201808 $as_echo_n "(cached) " >&6
19211809 else
19221810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20301918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20311919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
20321920 $as_echo_n "checking for $2... " >&6; }
2033 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1921 if eval "test \"\${$3+set}\"" = set; then :
20341922 $as_echo_n "(cached) " >&6
20351923 else
20361924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21752063 This file contains any messages produced by compilers while
21762064 running configure, to aid debugging if configure makes a mistake.
21772065
2178 It was created by ibus-input-pad $as_me 0.1.4, which was
2179 generated by GNU Autoconf 2.65. Invocation command line was
2066 It was created by ibus-input-pad $as_me 1.4.0, which was
2067 generated by GNU Autoconf 2.66. Invocation command line was
21802068
21812069 $ $0 $@
21822070
22862174 {
22872175 echo
22882176
2289 cat <<\_ASBOX
2290 ## ---------------- ##
2177 $as_echo "## ---------------- ##
22912178 ## Cache variables. ##
2292 ## ---------------- ##
2293 _ASBOX
2179 ## ---------------- ##"
22942180 echo
22952181 # The following way of writing the cache mishandles newlines in values,
22962182 (
23242210 )
23252211 echo
23262212
2327 cat <<\_ASBOX
2328 ## ----------------- ##
2213 $as_echo "## ----------------- ##
23292214 ## Output variables. ##
2330 ## ----------------- ##
2331 _ASBOX
2215 ## ----------------- ##"
23322216 echo
23332217 for ac_var in $ac_subst_vars
23342218 do
23412225 echo
23422226
23432227 if test -n "$ac_subst_files"; then
2344 cat <<\_ASBOX
2345 ## ------------------- ##
2228 $as_echo "## ------------------- ##
23462229 ## File substitutions. ##
2347 ## ------------------- ##
2348 _ASBOX
2230 ## ------------------- ##"
23492231 echo
23502232 for ac_var in $ac_subst_files
23512233 do
23592241 fi
23602242
23612243 if test -s confdefs.h; then
2362 cat <<\_ASBOX
2363 ## ----------- ##
2244 $as_echo "## ----------- ##
23642245 ## confdefs.h. ##
2365 ## ----------- ##
2366 _ASBOX
2246 ## ----------- ##"
23672247 echo
23682248 cat confdefs.h
23692249 echo
24182298 ac_site_file1=NONE
24192299 ac_site_file2=NONE
24202300 if test -n "$CONFIG_SITE"; then
2421 ac_site_file1=$CONFIG_SITE
2301 # We do not want a PATH search for config.site.
2302 case $CONFIG_SITE in #((
2303 -*) ac_site_file1=./$CONFIG_SITE;;
2304 */*) ac_site_file1=$CONFIG_SITE;;
2305 *) ac_site_file1=./$CONFIG_SITE;;
2306 esac
24222307 elif test "x$prefix" != xNONE; then
24232308 ac_site_file1=$prefix/share/config.site
24242309 ac_site_file2=$prefix/etc/config.site
24332318 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
24342319 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
24352320 sed 's/^/| /' "$ac_site_file" >&5
2436 . "$ac_site_file"
2321 . "$ac_site_file" \
2322 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2324 as_fn_error $? "failed to load site script $ac_site_file
2325 See \`config.log' for more details" "$LINENO" 5; }
24372326 fi
24382327 done
24392328
25092398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25102399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
25112400 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2512 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2401 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
25132402 fi
25142403 ## -------------------- ##
25152404 ## Main body of script. ##
25262415
25272416 ac_aux_dir=
25282417 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2529 for ac_t in install-sh install.sh shtool; do
2530 if test -f "$ac_dir/$ac_t"; then
2531 ac_aux_dir=$ac_dir
2532 ac_install_sh="$ac_aux_dir/$ac_t -c"
2533 break 2
2534 fi
2535 done
2418 if test -f "$ac_dir/install-sh"; then
2419 ac_aux_dir=$ac_dir
2420 ac_install_sh="$ac_aux_dir/install-sh -c"
2421 break
2422 elif test -f "$ac_dir/install.sh"; then
2423 ac_aux_dir=$ac_dir
2424 ac_install_sh="$ac_aux_dir/install.sh -c"
2425 break
2426 elif test -f "$ac_dir/shtool"; then
2427 ac_aux_dir=$ac_dir
2428 ac_install_sh="$ac_aux_dir/shtool install -c"
2429 break
2430 fi
25362431 done
25372432 if test -z "$ac_aux_dir"; then
2538 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2433 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
25392434 fi
25402435
25412436 # These three variables are undocumented and unsupported,
26512546 '
26522547 case `pwd` in
26532548 *[\\\"\#\$\&\'\`$am_lf]*)
2654 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2549 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
26552550 esac
26562551 case $srcdir in
26572552 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2658 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2553 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
26592554 esac
26602555
26612556 # Do `set' in a subshell so we don't clobber the current shell's
26772572 # if, for instance, CONFIG_SHELL is bash and it inherits a
26782573 # broken ls alias from the environment. This has actually
26792574 # happened. Such a system could not be considered "sane".
2680 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2575 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
26812576 alias in your environment" "$LINENO" 5
26822577 fi
26832578
26872582 # Ok.
26882583 :
26892584 else
2690 as_fn_error "newly created file is older than distributed files!
2585 as_fn_error $? "newly created file is older than distributed files!
26912586 Check your system clock" "$LINENO" 5
26922587 fi
26932588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29252820 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
29262821 set x ${MAKE-make}
29272822 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2928 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2823 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
29292824 $as_echo_n "(cached) " >&6
29302825 else
29312826 cat >conftest.make <<\_ACEOF
29332828 all:
29342829 @echo '@@@%%%=$(MAKE)=@@@%%%'
29352830 _ACEOF
2936 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2831 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
29372832 case `${MAKE-make} -f conftest.make 2>/dev/null` in
29382833 *@@@%%%=?*=@@@%%%*)
29392834 eval ac_cv_prog_make_${ac_make}_set=yes;;
29672862 am__isrc=' -I$(srcdir)'
29682863 # test to see if srcdir already configured
29692864 if test -f $srcdir/config.status; then
2970 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2865 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
29712866 fi
29722867 fi
29732868
29832878
29842879 # Define the identity of the package.
29852880 PACKAGE='ibus-input-pad'
2986 VERSION='0.1.4'
2881 VERSION='1.4.0'
29872882
29882883
29892884 cat >>confdefs.h <<_ACEOF
33853280
33863281 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33873282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388 as_fn_error "no acceptable C compiler found in \$PATH
3389 See \`config.log' for more details." "$LINENO" 5; }
3283 as_fn_error $? "no acceptable C compiler found in \$PATH
3284 See \`config.log' for more details" "$LINENO" 5; }
33903285
33913286 # Provide some information about the compiler.
33923287 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
35003395
35013396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35023397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503 { as_fn_set_status 77
3504 as_fn_error "C compiler cannot create executables
3505 See \`config.log' for more details." "$LINENO" 5; }; }
3398 as_fn_error 77 "C compiler cannot create executables
3399 See \`config.log' for more details" "$LINENO" 5; }
35063400 else
35073401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35083402 $as_echo "yes" >&6; }
35443438 else
35453439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35463440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3547 as_fn_error "cannot compute suffix of executables: cannot compile and link
3548 See \`config.log' for more details." "$LINENO" 5; }
3441 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3442 See \`config.log' for more details" "$LINENO" 5; }
35493443 fi
35503444 rm -f conftest conftest$ac_cv_exeext
35513445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
36023496 else
36033497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36043498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605 as_fn_error "cannot run C compiled programs.
3499 as_fn_error $? "cannot run C compiled programs.
36063500 If you meant to cross compile, use \`--host'.
3607 See \`config.log' for more details." "$LINENO" 5; }
3501 See \`config.log' for more details" "$LINENO" 5; }
36083502 fi
36093503 fi
36103504 fi
36553549
36563550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36573551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3658 as_fn_error "cannot compute suffix of object files: cannot compile
3659 See \`config.log' for more details." "$LINENO" 5; }
3552 as_fn_error $? "cannot compute suffix of object files: cannot compile
3553 See \`config.log' for more details" "$LINENO" 5; }
36603554 fi
36613555 rm -f conftest.$ac_cv_objext conftest.$ac_ext
36623556 fi
41314025 else
41324026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41334027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4134 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4135 See \`config.log' for more details." "$LINENO" 5; }
4028 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4029 See \`config.log' for more details" "$LINENO" 5; }
41364030 fi
41374031
41384032 ac_ext=c
41934087 done
41944088 IFS=$as_save_IFS
41954089 if test -z "$ac_cv_path_GREP"; then
4196 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4090 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
41974091 fi
41984092 else
41994093 ac_cv_path_GREP=$GREP
42594153 done
42604154 IFS=$as_save_IFS
42614155 if test -z "$ac_cv_path_EGREP"; then
4262 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4156 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
42634157 fi
42644158 else
42654159 ac_cv_path_EGREP=$EGREP
43914285 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
43924286 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
43934287 "
4394 eval as_val=\$$as_ac_Header
4395 if test "x$as_val" = x""yes; then :
4288 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
43964289 cat >>confdefs.h <<_ACEOF
43974290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
43984291 _ACEOF
44694362
44704363
44714364
4472 libinput_pad_VERSION="0.1"
4365 libinput_pad_VERSION="1.4"
44734366
44744367 { $as_echo "$as_me:${as_lineno-$LINENO}: $PACKAGE sub version $libinput_pad_VERSION" >&5
44754368 $as_echo "$as_me: $PACKAGE sub version $libinput_pad_VERSION" >&6;}
44854378 '
44864379 case `pwd` in
44874380 *[\\\"\#\$\&\'\`$am_lf]*)
4488 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
4381 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
44894382 esac
44904383 case $srcdir in
44914384 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4492 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4385 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
44934386 esac
44944387
44954388 # Do `set' in a subshell so we don't clobber the current shell's
45114404 # if, for instance, CONFIG_SHELL is bash and it inherits a
45124405 # broken ls alias from the environment. This has actually
45134406 # happened. Such a system could not be considered "sane".
4514 as_fn_error "ls -t appears to fail. Make sure there is not a broken
4407 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
45154408 alias in your environment" "$LINENO" 5
45164409 fi
45174410
45214414 # Ok.
45224415 :
45234416 else
4524 as_fn_error "newly created file is older than distributed files!
4417 as_fn_error $? "newly created file is older than distributed files!
45254418 Check your system clock" "$LINENO" 5
45264419 fi
45274420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
48804773
48814774 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48824775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4883 as_fn_error "no acceptable C compiler found in \$PATH
4884 See \`config.log' for more details." "$LINENO" 5; }
4776 as_fn_error $? "no acceptable C compiler found in \$PATH
4777 See \`config.log' for more details" "$LINENO" 5; }
48854778
48864779 # Provide some information about the compiler.
48874780 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
52565149 fi
52575150 set dummy $CC; ac_cc=`$as_echo "$2" |
52585151 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5259 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5152 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
52605153 $as_echo_n "(cached) " >&6
52615154 else
52625155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59335826
59345827
59355828
5936 macro_version='2.2.6b'
5937 macro_revision='1.3017'
5829 macro_version='2.2.10'
5830 macro_revision='1.3175'
59385831
59395832
59405833
59525845
59535846 # Make sure we can run config.sub.
59545847 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5955 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5848 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
59565849
59575850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
59585851 $as_echo_n "checking build system type... " >&6; }
59635856 test "x$ac_build_alias" = x &&
59645857 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
59655858 test "x$ac_build_alias" = x &&
5966 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
5859 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
59675860 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5968 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5861 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
59695862
59705863 fi
59715864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
59725865 $as_echo "$ac_cv_build" >&6; }
59735866 case $ac_cv_build in
59745867 *-*-*) ;;
5975 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
5868 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
59765869 esac
59775870 build=$ac_cv_build
59785871 ac_save_IFS=$IFS; IFS='-'
59975890 ac_cv_host=$ac_cv_build
59985891 else
59995892 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6000 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5893 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
60015894 fi
60025895
60035896 fi
60055898 $as_echo "$ac_cv_host" >&6; }
60065899 case $ac_cv_host in
60075900 *-*-*) ;;
6008 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
5901 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
60095902 esac
60105903 host=$ac_cv_host
60115904 ac_save_IFS=$IFS; IFS='-'
60195912 host_os=$*
60205913 IFS=$ac_save_IFS
60215914 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5915
5916
5917 # Backslashify metacharacters that are still active within
5918 # double-quoted strings.
5919 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5920
5921 # Same as above, but do not quote variable references.
5922 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5923
5924 # Sed substitution to delay expansion of an escaped shell variable in a
5925 # double_quote_subst'ed string.
5926 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5927
5928 # Sed substitution to delay expansion of an escaped single quote.
5929 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5930
5931 # Sed substitution to avoid accidental globbing in evaled expressions
5932 no_glob_subst='s/\*/\\\*/g'
5933
5934 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5935 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5936 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5937
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5939 $as_echo_n "checking how to print strings... " >&6; }
5940 # Test print first, because it will be a builtin if present.
5941 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5942 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5943 ECHO='print -r --'
5944 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5945 ECHO='printf %s\n'
5946 else
5947 # Use this function as a fallback that always works.
5948 func_fallback_echo ()
5949 {
5950 eval 'cat <<_LTECHO_EOF
5951 $1
5952 _LTECHO_EOF'
5953 }
5954 ECHO='func_fallback_echo'
5955 fi
5956
5957 # func_echo_all arg...
5958 # Invoke $ECHO with all args, space-separated.
5959 func_echo_all ()
5960 {
5961 $ECHO ""
5962 }
5963
5964 case "$ECHO" in
5965 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5966 $as_echo "printf" >&6; } ;;
5967 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5968 $as_echo "print -r" >&6; } ;;
5969 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5970 $as_echo "cat" >&6; } ;;
5971 esac
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
60225984
60235985
60245986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
60786040 done
60796041 IFS=$as_save_IFS
60806042 if test -z "$ac_cv_path_SED"; then
6081 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6043 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
60826044 fi
60836045 else
60846046 ac_cv_path_SED=$SED
61576119 done
61586120 IFS=$as_save_IFS
61596121 if test -z "$ac_cv_path_FGREP"; then
6160 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6122 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
61616123 fi
61626124 else
61636125 ac_cv_path_FGREP=$FGREP
62736235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
62746236 $as_echo "no" >&6; }
62756237 fi
6276 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6238 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
62776239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
62786240 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
62796241 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
63566318 NM="$lt_cv_path_NM"
63576319 else
63586320 # Didn't find any BSD compatible name lister, look for dumpbin.
6359 if test -n "$ac_tool_prefix"; then
6360 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6321 if test -n "$DUMPBIN"; then :
6322 # Let the user override the test.
6323 else
6324 if test -n "$ac_tool_prefix"; then
6325 for ac_prog in dumpbin "link -dump"
63616326 do
63626327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
63636328 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
64016366 fi
64026367 if test -z "$DUMPBIN"; then
64036368 ac_ct_DUMPBIN=$DUMPBIN
6404 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6369 for ac_prog in dumpbin "link -dump"
64056370 do
64066371 # Extract the first word of "$ac_prog", so it can be a program name with args.
64076372 set dummy $ac_prog; ac_word=$2
64566421 fi
64576422 fi
64586423
6424 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6425 *COFF*)
6426 DUMPBIN="$DUMPBIN -symbols"
6427 ;;
6428 *)
6429 DUMPBIN=:
6430 ;;
6431 esac
6432 fi
64596433
64606434 if test "$DUMPBIN" != ":"; then
64616435 NM="$DUMPBIN"
64756449 else
64766450 lt_cv_nm_interface="BSD nm"
64776451 echo "int some_variable = 0;" > conftest.$ac_ext
6478 (eval echo "\"\$as_me:6479: $ac_compile\"" >&5)
6452 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
64796453 (eval "$ac_compile" 2>conftest.err)
64806454 cat conftest.err >&5
6481 (eval echo "\"\$as_me:6482: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6455 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
64826456 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
64836457 cat conftest.err >&5
6484 (eval echo "\"\$as_me:6485: output\"" >&5)
6458 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
64856459 cat conftest.out >&5
64866460 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
64876461 lt_cv_nm_interface="MS dumpbin"
65356509 # the test eventually succeeds (with a max line length of 256k).
65366510 # Instead, let's just punt: use the minimum linelength reported by
65376511 # all of the supported platforms: 8192 (on NT/2K/XP).
6512 lt_cv_sys_max_cmd_len=8192;
6513 ;;
6514
6515 mint*)
6516 # On MiNT this can take a long time and run out of memory.
65386517 lt_cv_sys_max_cmd_len=8192;
65396518 ;;
65406519
66026581 # If test is not a shell built-in, we'll probably end up computing a
66036582 # maximum length that is only half of the actual maximum length, but
66046583 # we can't tell.
6605 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6606 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6584 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6585 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
66076586 test $i != 17 # 1/2 MB should be enough
66086587 do
66096588 i=`expr $i + 1`
68746853 # Base MSYS/MinGW do not provide the 'file' command needed by
68756854 # func_win32_libid shell function, so use a weaker test based on 'objdump',
68766855 # unless we find 'file', for example because we are cross-compiling.
6877 if ( file / ) >/dev/null 2>&1; then
6856 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6857 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
68786858 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
68796859 lt_cv_file_magic_cmd='func_win32_libid'
68806860 else
6881 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6861 # Keep this pattern in sync with the one in func_win32_libid.
6862 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
68826863 lt_cv_file_magic_cmd='$OBJDUMP -f'
68836864 fi
68846865 ;;
68856866
6886 cegcc)
6867 cegcc*)
68876868 # use the weaker test based on 'objdump'. See mingw*.
68886869 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
68896870 lt_cv_file_magic_cmd='$OBJDUMP -f'
69136894 lt_cv_deplibs_check_method=pass_all
69146895 ;;
69156896
6897 haiku*)
6898 lt_cv_deplibs_check_method=pass_all
6899 ;;
6900
69166901 hpux10.20* | hpux11*)
69176902 lt_cv_file_magic_cmd=/usr/bin/file
69186903 case $host_cpu in
69216906 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
69226907 ;;
69236908 hppa*64*)
6924 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6909 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
69256910 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
69266911 ;;
69276912 *)
6928 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6913 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
69296914 lt_cv_file_magic_test_file=/usr/lib/libc.sl
69306915 ;;
69316916 esac
69476932 ;;
69486933
69496934 # This must be Linux ELF.
6950 linux* | k*bsd*-gnu)
6935 linux* | k*bsd*-gnu | kopensolaris*-gnu)
69516936 lt_cv_deplibs_check_method=pass_all
69526937 ;;
69536938
73627347 esac
73637348 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
73647349 fi
7350
7351 case $host_os in
7352 darwin*)
7353 lock_old_archive_extraction=yes ;;
7354 *)
7355 lock_old_archive_extraction=no ;;
7356 esac
7357
7358
7359
7360
7361
73657362
73667363
73677364
75327529 test $ac_status = 0; }; then
75337530 # Now try to grab the symbols.
75347531 nlist=conftest.nm
7535 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7536 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7533 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
75377534 ac_status=$?
75387535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
75397536 test $ac_status = 0; } && test -s "$nlist"; then
76867683 ;;
76877684 *-*-irix6*)
76887685 # Find out which ABI we are using.
7689 echo '#line 7690 "configure"' > conftest.$ac_ext
7686 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
76907687 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
76917688 (eval $ac_compile) 2>&5
76927689 ac_status=$?
83988395 fi
83998396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
84008397 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8399 $as_echo_n "checking for -force_load linker flag... " >&6; }
8400 if test "${lt_cv_ld_force_load+set}" = set; then :
8401 $as_echo_n "(cached) " >&6
8402 else
8403 lt_cv_ld_force_load=no
8404 cat > conftest.c << _LT_EOF
8405 int forced_loaded() { return 2;}
8406 _LT_EOF
8407 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8408 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8409 echo "$AR cru libconftest.a conftest.o" >&5
8410 $AR cru libconftest.a conftest.o 2>&5
8411 echo "$RANLIB libconftest.a" >&5
8412 $RANLIB libconftest.a 2>&5
8413 cat > conftest.c << _LT_EOF
8414 int main() { return 0;}
8415 _LT_EOF
8416 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8417 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8418 _lt_result=$?
8419 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8420 lt_cv_ld_force_load=yes
8421 else
8422 cat conftest.err >&5
8423 fi
8424 rm -f conftest.err libconftest.a conftest conftest.c
8425 rm -rf conftest.dSYM
8426
8427 fi
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8429 $as_echo "$lt_cv_ld_force_load" >&6; }
84018430 case $host_os in
84028431 rhapsody* | darwin1.[012])
84038432 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
84258454 else
84268455 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
84278456 fi
8428 if test "$DSYMUTIL" != ":"; then
8457 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
84298458 _lt_dsymutil='~$DSYMUTIL $lib || :'
84308459 else
84318460 _lt_dsymutil=
84468475
84478476 done
84488477
8449
8450
8451 ac_ext=cpp
8452 ac_cpp='$CXXCPP $CPPFLAGS'
8453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8456 if test -z "$CXX"; then
8457 if test -n "$CCC"; then
8458 CXX=$CCC
8459 else
8460 if test -n "$ac_tool_prefix"; then
8461 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8462 do
8463 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8464 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8466 $as_echo_n "checking for $ac_word... " >&6; }
8467 if test "${ac_cv_prog_CXX+set}" = set; then :
8468 $as_echo_n "(cached) " >&6
8469 else
8470 if test -n "$CXX"; then
8471 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8472 else
8473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 for as_dir in $PATH
8475 do
8476 IFS=$as_save_IFS
8477 test -z "$as_dir" && as_dir=.
8478 for ac_exec_ext in '' $ac_executable_extensions; do
8479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8480 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8482 break 2
8483 fi
8484 done
8485 done
8486 IFS=$as_save_IFS
8487
8488 fi
8489 fi
8490 CXX=$ac_cv_prog_CXX
8491 if test -n "$CXX"; then
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
8493 $as_echo "$CXX" >&6; }
8494 else
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8496 $as_echo "no" >&6; }
8497 fi
8498
8499
8500 test -n "$CXX" && break
8501 done
8502 fi
8503 if test -z "$CXX"; then
8504 ac_ct_CXX=$CXX
8505 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8506 do
8507 # Extract the first word of "$ac_prog", so it can be a program name with args.
8508 set dummy $ac_prog; ac_word=$2
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8510 $as_echo_n "checking for $ac_word... " >&6; }
8511 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
8512 $as_echo_n "(cached) " >&6
8513 else
8514 if test -n "$ac_ct_CXX"; then
8515 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8516 else
8517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 for as_dir in $PATH
8519 do
8520 IFS=$as_save_IFS
8521 test -z "$as_dir" && as_dir=.
8522 for ac_exec_ext in '' $ac_executable_extensions; do
8523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8524 ac_cv_prog_ac_ct_CXX="$ac_prog"
8525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8526 break 2
8527 fi
8528 done
8529 done
8530 IFS=$as_save_IFS
8531
8532 fi
8533 fi
8534 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8535 if test -n "$ac_ct_CXX"; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
8537 $as_echo "$ac_ct_CXX" >&6; }
8538 else
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8540 $as_echo "no" >&6; }
8541 fi
8542
8543
8544 test -n "$ac_ct_CXX" && break
8545 done
8546
8547 if test "x$ac_ct_CXX" = x; then
8548 CXX="g++"
8549 else
8550 case $cross_compiling:$ac_tool_warned in
8551 yes:)
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8554 ac_tool_warned=yes ;;
8555 esac
8556 CXX=$ac_ct_CXX
8557 fi
8558 fi
8559
8560 fi
8561 fi
8562 # Provide some information about the compiler.
8563 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8564 set X $ac_compile
8565 ac_compiler=$2
8566 for ac_option in --version -v -V -qversion; do
8567 { { ac_try="$ac_compiler $ac_option >&5"
8568 case "(($ac_try" in
8569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8570 *) ac_try_echo=$ac_try;;
8571 esac
8572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8573 $as_echo "$ac_try_echo"; } >&5
8574 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8575 ac_status=$?
8576 if test -s conftest.err; then
8577 sed '10a\
8578 ... rest of stderr output deleted ...
8579 10q' conftest.err >conftest.er1
8580 cat conftest.er1 >&5
8581 fi
8582 rm -f conftest.er1 conftest.err
8583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8584 test $ac_status = 0; }
8585 done
8586
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8588 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8589 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
8590 $as_echo_n "(cached) " >&6
8591 else
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594
8595 int
8596 main ()
8597 {
8598 #ifndef __GNUC__
8599 choke me
8600 #endif
8601
8602 ;
8603 return 0;
8604 }
8605 _ACEOF
8606 if ac_fn_cxx_try_compile "$LINENO"; then :
8607 ac_compiler_gnu=yes
8608 else
8609 ac_compiler_gnu=no
8610 fi
8611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8613
8614 fi
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8616 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8617 if test $ac_compiler_gnu = yes; then
8618 GXX=yes
8619 else
8620 GXX=
8621 fi
8622 ac_test_CXXFLAGS=${CXXFLAGS+set}
8623 ac_save_CXXFLAGS=$CXXFLAGS
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8625 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
8626 if test "${ac_cv_prog_cxx_g+set}" = set; then :
8627 $as_echo_n "(cached) " >&6
8628 else
8629 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8630 ac_cxx_werror_flag=yes
8631 ac_cv_prog_cxx_g=no
8632 CXXFLAGS="-g"
8633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8634 /* end confdefs.h. */
8635
8636 int
8637 main ()
8638 {
8639
8640 ;
8641 return 0;
8642 }
8643 _ACEOF
8644 if ac_fn_cxx_try_compile "$LINENO"; then :
8645 ac_cv_prog_cxx_g=yes
8646 else
8647 CXXFLAGS=""
8648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8649 /* end confdefs.h. */
8650
8651 int
8652 main ()
8653 {
8654
8655 ;
8656 return 0;
8657 }
8658 _ACEOF
8659 if ac_fn_cxx_try_compile "$LINENO"; then :
8660
8661 else
8662 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8663 CXXFLAGS="-g"
8664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8665 /* end confdefs.h. */
8666
8667 int
8668 main ()
8669 {
8670
8671 ;
8672 return 0;
8673 }
8674 _ACEOF
8675 if ac_fn_cxx_try_compile "$LINENO"; then :
8676 ac_cv_prog_cxx_g=yes
8677 fi
8678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8679 fi
8680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8681 fi
8682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8683 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8684 fi
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8686 $as_echo "$ac_cv_prog_cxx_g" >&6; }
8687 if test "$ac_test_CXXFLAGS" = set; then
8688 CXXFLAGS=$ac_save_CXXFLAGS
8689 elif test $ac_cv_prog_cxx_g = yes; then
8690 if test "$GXX" = yes; then
8691 CXXFLAGS="-g -O2"
8692 else
8693 CXXFLAGS="-g"
8694 fi
8695 else
8696 if test "$GXX" = yes; then
8697 CXXFLAGS="-O2"
8698 else
8699 CXXFLAGS=
8700 fi
8701 fi
8702 ac_ext=c
8703 ac_cpp='$CPP $CPPFLAGS'
8704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8707
8708 depcc="$CXX" am_compiler_list=
8709
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8711 $as_echo_n "checking dependency style of $depcc... " >&6; }
8712 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
8713 $as_echo_n "(cached) " >&6
8714 else
8715 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8716 # We make a subdir and do the tests there. Otherwise we can end up
8717 # making bogus files that we don't know about and never remove. For
8718 # instance it was reported that on HP-UX the gcc test will end up
8719 # making a dummy file named `D' -- because `-MD' means `put the output
8720 # in D'.
8721 mkdir conftest.dir
8722 # Copy depcomp to subdir because otherwise we won't find it if we're
8723 # using a relative directory.
8724 cp "$am_depcomp" conftest.dir
8725 cd conftest.dir
8726 # We will build objects and dependencies in a subdirectory because
8727 # it helps to detect inapplicable dependency modes. For instance
8728 # both Tru64's cc and ICC support -MD to output dependencies as a
8729 # side effect of compilation, but ICC will put the dependencies in
8730 # the current directory while Tru64 will put them in the object
8731 # directory.
8732 mkdir sub
8733
8734 am_cv_CXX_dependencies_compiler_type=none
8735 if test "$am_compiler_list" = ""; then
8736 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8737 fi
8738 am__universal=false
8739 case " $depcc " in #(
8740 *\ -arch\ *\ -arch\ *) am__universal=true ;;
8741 esac
8742
8743 for depmode in $am_compiler_list; do
8744 # Setup a source with many dependencies, because some compilers
8745 # like to wrap large dependency lists on column 80 (with \), and
8746 # we should not choose a depcomp mode which is confused by this.
8747 #
8748 # We need to recreate these files for each test, as the compiler may
8749 # overwrite some of them when testing with obscure command lines.
8750 # This happens at least with the AIX C compiler.
8751 : > sub/conftest.c
8752 for i in 1 2 3 4 5 6; do
8753 echo '#include "conftst'$i'.h"' >> sub/conftest.c
8754 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8755 # Solaris 8's {/usr,}/bin/sh.
8756 touch sub/conftst$i.h
8757 done
8758 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8759
8760 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8761 # mode. It turns out that the SunPro C++ compiler does not properly
8762 # handle `-M -o', and we need to detect this. Also, some Intel
8763 # versions had trouble with output in subdirs
8764 am__obj=sub/conftest.${OBJEXT-o}
8765 am__minus_obj="-o $am__obj"
8766 case $depmode in
8767 gcc)
8768 # This depmode causes a compiler race in universal mode.
8769 test "$am__universal" = false || continue
8770 ;;
8771 nosideeffect)
8772 # after this tag, mechanisms are not by side-effect, so they'll
8773 # only be used when explicitly requested
8774 if test "x$enable_dependency_tracking" = xyes; then
8775 continue
8776 else
8777 break
8778 fi
8779 ;;
8780 msvisualcpp | msvcmsys)
8781 # This compiler won't grok `-c -o', but also, the minuso test has
8782 # not run yet. These depmodes are late enough in the game, and
8783 # so weak that their functioning should not be impacted.
8784 am__obj=conftest.${OBJEXT-o}
8785 am__minus_obj=
8786 ;;
8787 none) break ;;
8788 esac
8789 if depmode=$depmode \
8790 source=sub/conftest.c object=$am__obj \
8791 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8792 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8793 >/dev/null 2>conftest.err &&
8794 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8795 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8796 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8797 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8798 # icc doesn't choke on unknown options, it will just issue warnings
8799 # or remarks (even with -Werror). So we grep stderr for any message
8800 # that says an option was ignored or not supported.
8801 # When given -MP, icc 7.0 and 7.1 complain thusly:
8802 # icc: Command line warning: ignoring option '-M'; no argument required
8803 # The diagnosis changed in icc 8.0:
8804 # icc: Command line remark: option '-MP' not supported
8805 if (grep 'ignoring option' conftest.err ||
8806 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8807 am_cv_CXX_dependencies_compiler_type=$depmode
8808 break
8809 fi
8810 fi
8811 done
8812
8813 cd ..
8814 rm -rf conftest.dir
8815 else
8816 am_cv_CXX_dependencies_compiler_type=none
8817 fi
8818
8819 fi
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8821 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8822 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8823
8824 if
8825 test "x$enable_dependency_tracking" != xno \
8826 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8827 am__fastdepCXX_TRUE=
8828 am__fastdepCXX_FALSE='#'
8829 else
8830 am__fastdepCXX_TRUE='#'
8831 am__fastdepCXX_FALSE=
8832 fi
8833
8834
8835 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8836 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8837 (test "X$CXX" != "Xg++"))) ; then
8838 ac_ext=cpp
8839 ac_cpp='$CXXCPP $CPPFLAGS'
8840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8844 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8845 if test -z "$CXXCPP"; then
8846 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 # Double quotes because CXXCPP needs to be expanded
8850 for CXXCPP in "$CXX -E" "/lib/cpp"
8851 do
8852 ac_preproc_ok=false
8853 for ac_cxx_preproc_warn_flag in '' yes
8854 do
8855 # Use a header file that comes with gcc, so configuring glibc
8856 # with a fresh cross-compiler works.
8857 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8858 # <limits.h> exists even on freestanding compilers.
8859 # On the NeXT, cc -E runs the code through the compiler's parser,
8860 # not just through cpp. "Syntax error" is here to catch this case.
8861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8863 #ifdef __STDC__
8864 # include <limits.h>
8865 #else
8866 # include <assert.h>
8867 #endif
8868 Syntax error
8869 _ACEOF
8870 if ac_fn_cxx_try_cpp "$LINENO"; then :
8871
8872 else
8873 # Broken: fails on valid input.
8874 continue
8875 fi
8876 rm -f conftest.err conftest.$ac_ext
8877
8878 # OK, works on sane cases. Now check whether nonexistent headers
8879 # can be detected and how.
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8882 #include <ac_nonexistent.h>
8883 _ACEOF
8884 if ac_fn_cxx_try_cpp "$LINENO"; then :
8885 # Broken: success on invalid input.
8886 continue
8887 else
8888 # Passes both tests.
8889 ac_preproc_ok=:
8890 break
8891 fi
8892 rm -f conftest.err conftest.$ac_ext
8893
8894 done
8895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8896 rm -f conftest.err conftest.$ac_ext
8897 if $ac_preproc_ok; then :
8898 break
8899 fi
8900
8901 done
8902 ac_cv_prog_CXXCPP=$CXXCPP
8903
8904 fi
8905 CXXCPP=$ac_cv_prog_CXXCPP
8906 else
8907 ac_cv_prog_CXXCPP=$CXXCPP
8908 fi
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8910 $as_echo "$CXXCPP" >&6; }
8911 ac_preproc_ok=false
8912 for ac_cxx_preproc_warn_flag in '' yes
8913 do
8914 # Use a header file that comes with gcc, so configuring glibc
8915 # with a fresh cross-compiler works.
8916 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8917 # <limits.h> exists even on freestanding compilers.
8918 # On the NeXT, cc -E runs the code through the compiler's parser,
8919 # not just through cpp. "Syntax error" is here to catch this case.
8920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8921 /* end confdefs.h. */
8922 #ifdef __STDC__
8923 # include <limits.h>
8924 #else
8925 # include <assert.h>
8926 #endif
8927 Syntax error
8928 _ACEOF
8929 if ac_fn_cxx_try_cpp "$LINENO"; then :
8930
8931 else
8932 # Broken: fails on valid input.
8933 continue
8934 fi
8935 rm -f conftest.err conftest.$ac_ext
8936
8937 # OK, works on sane cases. Now check whether nonexistent headers
8938 # can be detected and how.
8939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8940 /* end confdefs.h. */
8941 #include <ac_nonexistent.h>
8942 _ACEOF
8943 if ac_fn_cxx_try_cpp "$LINENO"; then :
8944 # Broken: success on invalid input.
8945 continue
8946 else
8947 # Passes both tests.
8948 ac_preproc_ok=:
8949 break
8950 fi
8951 rm -f conftest.err conftest.$ac_ext
8952
8953 done
8954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8955 rm -f conftest.err conftest.$ac_ext
8956 if $ac_preproc_ok; then :
8957
8958 else
8959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8961 _lt_caught_CXX_error=yes; }
8962 fi
8963
8964 ac_ext=c
8965 ac_cpp='$CPP $CPPFLAGS'
8966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8969
8970 else
8971 _lt_caught_CXX_error=yes
8972 fi
89738478
89748479
89758480
90978602
90988603
90998604
8605
91008606 test -z "$LN_S" && LN_S="ln -s"
91018607
91028608
91428648 cat >>confdefs.h <<_ACEOF
91438649 #define LT_OBJDIR "$lt_cv_objdir/"
91448650 _ACEOF
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
91588651
91598652
91608653
91718664 ;;
91728665 esac
91738666
9174 # Sed substitution that helps us do robust quoting. It backslashifies
9175 # metacharacters that are still active within double-quoted strings.
9176 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9177
9178 # Same as above, but do not quote variable references.
9179 double_quote_subst='s/\(["`\\]\)/\\\1/g'
9180
9181 # Sed substitution to delay expansion of an escaped shell variable in a
9182 # double_quote_subst'ed string.
9183 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9184
9185 # Sed substitution to delay expansion of an escaped single quote.
9186 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9187
9188 # Sed substitution to avoid accidental globbing in evaled expressions
9189 no_glob_subst='s/\*/\\\*/g'
9190
91918667 # Global variables:
91928668 ofile=libtool
91938669 can_build_shared=yes
92168692 *) break;;
92178693 esac
92188694 done
9219 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8695 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
92208696
92218697
92228698 # Only perform the check for file, if the check method requires it
94218897 lt_prog_compiler_no_builtin_flag=
94228898
94238899 if test "$GCC" = yes; then
9424 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8900 case $cc_basename in
8901 nvcc*)
8902 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8903 *)
8904 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8905 esac
94258906
94268907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
94278908 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
94418922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
94428923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
94438924 -e 's:$: $lt_compiler_flag:'`
9444 (eval echo "\"\$as_me:9445: $lt_compile\"" >&5)
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
94458926 (eval "$lt_compile" 2>conftest.err)
94468927 ac_status=$?
94478928 cat conftest.err >&5
9448 echo "$as_me:9449: \$? = $ac_status" >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94498930 if (exit $ac_status) && test -s "$ac_outfile"; then
94508931 # The compiler can only warn and ignore the option if not recognized
94518932 # So say no if there are warnings other than the usual output.
9452 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
94538934 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
94548935 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
94558936 lt_cv_prog_compiler_rtti_exceptions=yes
95279008 lt_prog_compiler_pic='-fno-common'
95289009 ;;
95299010
9011 haiku*)
9012 # PIC is the default for Haiku.
9013 # The "-static" flag exists, but is broken.
9014 lt_prog_compiler_static=
9015 ;;
9016
95309017 hpux*)
95319018 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
95329019 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
95679054
95689055 *)
95699056 lt_prog_compiler_pic='-fPIC'
9057 ;;
9058 esac
9059
9060 case $cc_basename in
9061 nvcc*) # Cuda Compiler Driver 2.2
9062 lt_prog_compiler_wl='-Xlinker '
9063 lt_prog_compiler_pic='-Xcompiler -fPIC'
95709064 ;;
95719065 esac
95729066 else
96109104 lt_prog_compiler_static='-non_shared'
96119105 ;;
96129106
9613 linux* | k*bsd*-gnu)
9107 linux* | k*bsd*-gnu | kopensolaris*-gnu)
96149108 case $cc_basename in
96159109 # old Intel for x86_64 which still supported -KPIC.
96169110 ecc*)
96319125 lt_prog_compiler_pic='--shared'
96329126 lt_prog_compiler_static='--static'
96339127 ;;
9634 pgcc* | pgf77* | pgf90* | pgf95*)
9128 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
96359129 # Portland Group compilers (*not* the Pentium gcc compiler,
96369130 # which looks to be a dead project)
96379131 lt_prog_compiler_wl='-Wl,'
96439137 # All Alpha code is PIC.
96449138 lt_prog_compiler_static='-non_shared'
96459139 ;;
9646 xl*)
9647 # IBM XL C 8.0/Fortran 10.1 on PPC
9140 xl* | bgxl* | bgf* | mpixl*)
9141 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
96489142 lt_prog_compiler_wl='-Wl,'
96499143 lt_prog_compiler_pic='-qpic'
96509144 lt_prog_compiler_static='-qstaticlink'
96519145 ;;
96529146 *)
96539147 case `$CC -V 2>&1 | sed 5q` in
9148 *Sun\ F* | *Sun*Fortran*)
9149 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9150 lt_prog_compiler_pic='-KPIC'
9151 lt_prog_compiler_static='-Bstatic'
9152 lt_prog_compiler_wl=''
9153 ;;
96549154 *Sun\ C*)
96559155 # Sun C 5.9
96569156 lt_prog_compiler_pic='-KPIC'
96579157 lt_prog_compiler_static='-Bstatic'
96589158 lt_prog_compiler_wl='-Wl,'
96599159 ;;
9660 *Sun\ F*)
9661 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9662 lt_prog_compiler_pic='-KPIC'
9663 lt_prog_compiler_static='-Bstatic'
9664 lt_prog_compiler_wl=''
9665 ;;
96669160 esac
96679161 ;;
96689162 esac
96939187 lt_prog_compiler_pic='-KPIC'
96949188 lt_prog_compiler_static='-Bstatic'
96959189 case $cc_basename in
9696 f77* | f90* | f95*)
9190 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
96979191 lt_prog_compiler_wl='-Qoption ld ';;
96989192 *)
96999193 lt_prog_compiler_wl='-Wl,';;
97809274 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
97819275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
97829276 -e 's:$: $lt_compiler_flag:'`
9783 (eval echo "\"\$as_me:9784: $lt_compile\"" >&5)
9277 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
97849278 (eval "$lt_compile" 2>conftest.err)
97859279 ac_status=$?
97869280 cat conftest.err >&5
9787 echo "$as_me:9788: \$? = $ac_status" >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97889282 if (exit $ac_status) && test -s "$ac_outfile"; then
97899283 # The compiler can only warn and ignore the option if not recognized
97909284 # So say no if there are warnings other than the usual output.
9791 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9285 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
97929286 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
97939287 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
97949288 lt_cv_prog_compiler_pic_works=yes
98369330 if test -s conftest.err; then
98379331 # Append any errors to the config.log.
98389332 cat conftest.err 1>&5
9839 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9333 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
98409334 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
98419335 if diff conftest.exp conftest.er2 >/dev/null; then
98429336 lt_cv_prog_compiler_static_works=yes
98859379 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
98869380 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
98879381 -e 's:$: $lt_compiler_flag:'`
9888 (eval echo "\"\$as_me:9889: $lt_compile\"" >&5)
9382 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
98899383 (eval "$lt_compile" 2>out/conftest.err)
98909384 ac_status=$?
98919385 cat out/conftest.err >&5
9892 echo "$as_me:9893: \$? = $ac_status" >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98939387 if (exit $ac_status) && test -s out/conftest2.$ac_objext
98949388 then
98959389 # The compiler can only warn and ignore the option if not recognized
98969390 # So say no if there are warnings
9897 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9391 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
98989392 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
98999393 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
99009394 lt_cv_prog_compiler_c_o=yes
99409434 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
99419435 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
99429436 -e 's:$: $lt_compiler_flag:'`
9943 (eval echo "\"\$as_me:9944: $lt_compile\"" >&5)
9437 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
99449438 (eval "$lt_compile" 2>out/conftest.err)
99459439 ac_status=$?
99469440 cat out/conftest.err >&5
9947 echo "$as_me:9948: \$? = $ac_status" >&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99489442 if (exit $ac_status) && test -s out/conftest2.$ac_objext
99499443 then
99509444 # The compiler can only warn and ignore the option if not recognized
99519445 # So say no if there are warnings
9952 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9446 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
99539447 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
99549448 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
99559449 lt_cv_prog_compiler_c_o=yes
100629556 esac
100639557
100649558 ld_shlibs=yes
9559
9560 # On some targets, GNU ld is compatible enough with the native linker
9561 # that we're better off using the native interface for both.
9562 lt_use_gnu_ld_interface=no
100659563 if test "$with_gnu_ld" = yes; then
9564 case $host_os in
9565 aix*)
9566 # The AIX port of GNU ld has always aspired to compatibility
9567 # with the native linker. However, as the warning in the GNU ld
9568 # block says, versions before 2.19.5* couldn't really create working
9569 # shared libraries, regardless of the interface used.
9570 case `$LD -v 2>&1` in
9571 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9572 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9573 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9574 *)
9575 lt_use_gnu_ld_interface=yes
9576 ;;
9577 esac
9578 ;;
9579 *)
9580 lt_use_gnu_ld_interface=yes
9581 ;;
9582 esac
9583 fi
9584
9585 if test "$lt_use_gnu_ld_interface" = yes; then
100669586 # If archive_cmds runs LD, not CC, wlarc should be empty
100679587 wlarc='${wl}'
100689588
100809600 fi
100819601 supports_anon_versioning=no
100829602 case `$LD -v 2>&1` in
9603 *GNU\ gold*) supports_anon_versioning=yes ;;
100839604 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
100849605 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
100859606 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
100959616 ld_shlibs=no
100969617 cat <<_LT_EOF 1>&2
100979618
10098 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9619 *** Warning: the GNU linker, at least up to release 2.19, is reported
100999620 *** to be unable to reliably create shared libraries on AIX.
101009621 *** Therefore, libtool is disabling shared libraries support. If you
10101 *** really care for shared libraries, you may want to modify your PATH
10102 *** so that a non-GNU linker is found, and then restart.
9622 *** really care for shared libraries, you may want to install binutils
9623 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9624 *** You will then need to restart the configuration process.
101039625
101049626 _LT_EOF
101059627 fi
101359657 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
101369658 # as there is no search path for DLLs.
101379659 hardcode_libdir_flag_spec='-L$libdir'
9660 export_dynamic_flag_spec='${wl}--export-all-symbols'
101389661 allow_undefined_flag=unsupported
101399662 always_export_symbols=no
101409663 enable_shared_with_static_runtimes=yes
101569679 fi
101579680 ;;
101589681
9682 haiku*)
9683 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9684 link_all_deplibs=yes
9685 ;;
9686
101599687 interix[3-9]*)
101609688 hardcode_direct=no
101619689 hardcode_shlibpath_var=no
101719699 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
101729700 ;;
101739701
10174 gnu* | linux* | tpf* | k*bsd*-gnu)
9702 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
101759703 tmp_diet=no
101769704 if test "$host_os" = linux-dietlibc; then
101779705 case $cc_basename in
101859713 tmp_sharedflag='-shared'
101869714 case $cc_basename,$host_cpu in
101879715 pgcc*) # Portland Group C compiler
10188 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9716 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
101899717 tmp_addflag=' $pic_flag'
101909718 ;;
10191 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
10192 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9719 pgf77* | pgf90* | pgf95* | pgfortran*)
9720 # Portland Group f77 and f90 compilers
9721 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
101939722 tmp_addflag=' $pic_flag -Mnomain' ;;
101949723 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
101959724 tmp_addflag=' -i_dynamic' ;;
102009729 lf95*) # Lahey Fortran 8.1
102019730 whole_archive_flag_spec=
102029731 tmp_sharedflag='--shared' ;;
10203 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9732 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
102049733 tmp_sharedflag='-qmkshrobj'
102059734 tmp_addflag= ;;
9735 nvcc*) # Cuda Compiler Driver 2.2
9736 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9737 compiler_needs_object=yes
9738 ;;
102069739 esac
102079740 case `$CC -V 2>&1 | sed 5q` in
102089741 *Sun\ C*) # Sun C 5.9
10209 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9742 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
102109743 compiler_needs_object=yes
102119744 tmp_sharedflag='-G' ;;
102129745 *Sun\ F*) # Sun Fortran 8.3
102229755 fi
102239756
102249757 case $cc_basename in
10225 xlf*)
9758 xlf* | bgf* | bgxlf* | mpixlf*)
102269759 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
102279760 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
102289761 hardcode_libdir_flag_spec=
102299762 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10230 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9763 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
102319764 if test "x$supports_anon_versioning" = xyes; then
102329765 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
102339766 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
102349767 echo "local: *; };" >> $output_objdir/$libname.ver~
10235 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9768 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
102369769 fi
102379770 ;;
102389771 esac
103539886 else
103549887 # If we're using GNU nm, then we don't want the "-C" option.
103559888 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9889 # Also, AIX nm treats weak defined symbols like other global
9890 # defined symbols, whereas GNU nm marks them as "W".
103569891 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10357 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9892 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
103589893 else
103599894 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
103609895 fi
1047210007 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1047310008
1047410009 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10475 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10010 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"
1047610011 else
1047710012 if test "$host_cpu" = ia64; then
1047810013 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
1051610051 # -berok will link without error, but may produce a broken library.
1051710052 no_undefined_flag=' ${wl}-bernotok'
1051810053 allow_undefined_flag=' ${wl}-berok'
10519 # Exported symbols can be pulled into shared objects from archives
10520 whole_archive_flag_spec='$convenience'
10054 if test "$with_gnu_ld" = yes; then
10055 # We only use this code for GNU lds that support --whole-archive.
10056 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10057 else
10058 # Exported symbols can be pulled into shared objects from archives
10059 whole_archive_flag_spec='$convenience'
10060 fi
1052110061 archive_cmds_need_lc=yes
1052210062 # This is similar to how AIX traditionally builds its shared libraries.
1052310063 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1055610096 # Tell ltmain to make .dll files, not .so files.
1055710097 shrext_cmds=".dll"
1055810098 # FIXME: Setting linknames here is a bad hack.
10559 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10099 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
1056010100 # The linker will automatically build a .lib file if we build a DLL.
1056110101 old_archive_from_new_cmds='true'
1056210102 # FIXME: Should let the user specify the lib program.
1057210112 hardcode_direct=no
1057310113 hardcode_automatic=yes
1057410114 hardcode_shlibpath_var=unsupported
10575 whole_archive_flag_spec=''
10115 if test "$lt_cv_ld_force_load" = "yes"; then
10116 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10117 else
10118 whole_archive_flag_spec=''
10119 fi
1057610120 link_all_deplibs=yes
1057710121 allow_undefined_flag="$_lt_dar_allow_undefined"
1057810122 case $cc_basename in
1058010124 *) _lt_dar_can_shared=$GCC ;;
1058110125 esac
1058210126 if test "$_lt_dar_can_shared" = "yes"; then
10583 output_verbose_link_cmd=echo
10127 output_verbose_link_cmd=func_echo_all
1058410128 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1058510129 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1058610130 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
1064610190 ;;
1064710191
1064810192 hpux10*)
10649 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10193 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
1065010194 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1065110195 else
1065210196 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1066510209 ;;
1066610210
1066710211 hpux11*)
10668 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10212 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
1066910213 case $host_cpu in
1067010214 hppa*64*)
1067110215 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1068610230 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1068710231 ;;
1068810232 *)
10689 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10233
10234 # Older versions of the 11.00 compiler do not understand -b yet
10235 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10237 $as_echo_n "checking if $CC understands -b... " >&6; }
10238 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 lt_cv_prog_compiler__b=no
10242 save_LDFLAGS="$LDFLAGS"
10243 LDFLAGS="$LDFLAGS -b"
10244 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10245 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10246 # The linker can only warn and ignore the option if not recognized
10247 # So say no if there are warnings
10248 if test -s conftest.err; then
10249 # Append any errors to the config.log.
10250 cat conftest.err 1>&5
10251 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10252 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10253 if diff conftest.exp conftest.er2 >/dev/null; then
10254 lt_cv_prog_compiler__b=yes
10255 fi
10256 else
10257 lt_cv_prog_compiler__b=yes
10258 fi
10259 fi
10260 $RM -r conftest*
10261 LDFLAGS="$save_LDFLAGS"
10262
10263 fi
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10265 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10266
10267 if test x"$lt_cv_prog_compiler__b" = xyes; then
10268 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10269 else
10270 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10271 fi
10272
1069010273 ;;
1069110274 esac
1069210275 fi
1071410297
1071510298 irix5* | irix6* | nonstopux*)
1071610299 if test "$GCC" = yes; then
10717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10300 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'
1071810301 # Try to use the -exported_symbol ld option, if it does not
1071910302 # work, assume that -exports_file does not work either and
1072010303 # implicitly export all symbols.
1072510308 int foo(void) {}
1072610309 _ACEOF
1072710310 if ac_fn_c_try_link "$LINENO"; then :
10728 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10311 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'
1072910312
1073010313 fi
1073110314 rm -f core conftest.err conftest.$ac_objext \
1073210315 conftest$ac_exeext conftest.$ac_ext
1073310316 LDFLAGS="$save_LDFLAGS"
1073410317 else
10735 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10736 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10318 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'
10319 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'
1073710320 fi
1073810321 archive_cmds_need_lc='no'
1073910322 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1079510378 hardcode_libdir_flag_spec='-L$libdir'
1079610379 hardcode_minus_L=yes
1079710380 allow_undefined_flag=unsupported
10798 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10381 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
1079910382 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1080010383 ;;
1080110384
1080210385 osf3*)
1080310386 if test "$GCC" = yes; then
1080410387 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10805 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10388 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1080610389 else
1080710390 allow_undefined_flag=' -expect_unresolved \*'
10808 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10391 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
1080910392 fi
1081010393 archive_cmds_need_lc='no'
1081110394 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1081510398 osf4* | osf5*) # as osf3* with the addition of -msym flag
1081610399 if test "$GCC" = yes; then
1081710400 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10818 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10401 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'
1081910402 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1082010403 else
1082110404 allow_undefined_flag=' -expect_unresolved \*'
10822 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10405 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
1082310406 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10824 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10407 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
1082510408
1082610409 # Both c and cxx compiler support -rpath directly
1082710410 hardcode_libdir_flag_spec='-rpath $libdir'
1102410607 # to ld, don't add -lc before -lgcc.
1102510608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1102610609 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11027 $RM conftest*
11028 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11029
11030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10610 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10611 $as_echo_n "(cached) " >&6
10612 else
10613 $RM conftest*
10614 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10615
10616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1103110617 (eval $ac_compile) 2>&5
1103210618 ac_status=$?
1103310619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1103410620 test $ac_status = 0; } 2>conftest.err; then
11035 soname=conftest
11036 lib=conftest
11037 libobjs=conftest.$ac_objext
11038 deplibs=
11039 wl=$lt_prog_compiler_wl
11040 pic_flag=$lt_prog_compiler_pic
11041 compiler_flags=-v
11042 linker_flags=-v
11043 verstring=
11044 output_objdir=.
11045 libname=conftest
11046 lt_save_allow_undefined_flag=$allow_undefined_flag
11047 allow_undefined_flag=
11048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10621 soname=conftest
10622 lib=conftest
10623 libobjs=conftest.$ac_objext
10624 deplibs=
10625 wl=$lt_prog_compiler_wl
10626 pic_flag=$lt_prog_compiler_pic
10627 compiler_flags=-v
10628 linker_flags=-v
10629 verstring=
10630 output_objdir=.
10631 libname=conftest
10632 lt_save_allow_undefined_flag=$allow_undefined_flag
10633 allow_undefined_flag=
10634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1104910635 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1105010636 ac_status=$?
1105110637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1105210638 test $ac_status = 0; }
11053 then
11054 archive_cmds_need_lc=no
11055 else
11056 archive_cmds_need_lc=yes
11057 fi
11058 allow_undefined_flag=$lt_save_allow_undefined_flag
11059 else
11060 cat conftest.err 1>&5
11061 fi
11062 $RM conftest*
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11064 $as_echo "$archive_cmds_need_lc" >&6; }
10639 then
10640 lt_cv_archive_cmds_need_lc=no
10641 else
10642 lt_cv_archive_cmds_need_lc=yes
10643 fi
10644 allow_undefined_flag=$lt_save_allow_undefined_flag
10645 else
10646 cat conftest.err 1>&5
10647 fi
10648 $RM conftest*
10649
10650 fi
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10652 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10653 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1106510654 ;;
1106610655 esac
1106710656 fi
1123210821 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1123310822 *) lt_awk_arg="/^libraries:/" ;;
1123410823 esac
11235 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11236 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10824 case $host_os in
10825 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10826 *) lt_sed_strip_eq="s,=/,/,g" ;;
10827 esac
10828 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10829 case $lt_search_path_spec in
10830 *\;*)
1123710831 # if the path contains ";" then we assume it to be the separator
1123810832 # otherwise default to the standard path separator (i.e. ":") - it is
1123910833 # assumed that no part of a normal pathname contains ";" but that should
1124010834 # okay in the real world where ";" in dirpaths is itself problematic.
11241 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11242 else
11243 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11244 fi
10835 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10836 ;;
10837 *)
10838 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10839 ;;
10840 esac
1124510841 # Ok, now we have the path, separated by spaces, we can step through it
1124610842 # and add multilib dir if necessary.
1124710843 lt_tmp_lt_search_path_spec=
1125410850 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1125510851 fi
1125610852 done
11257 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10853 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1125810854 BEGIN {RS=" "; FS="/|\n";} {
1125910855 lt_foo="";
1126010856 lt_count=0;
1127410870 if (lt_foo != "") { lt_freq[lt_foo]++; }
1127510871 if (lt_freq[lt_foo] == 1) { print lt_foo; }
1127610872 }'`
11277 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10873 # AWK program above erroneously prepends '/' to C:/dos/paths
10874 # for these hosts.
10875 case $host_os in
10876 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10877 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10878 esac
10879 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1127810880 else
1127910881 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1128010882 fi
1136210964 m68k)
1136310965 library_names_spec='$libname.ixlibrary $libname.a'
1136410966 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11365 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10967 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1136610968 ;;
1136710969 esac
1136810970 ;;
1141511017 cygwin*)
1141611018 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1141711019 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11418 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11020
11021 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
1141911022 ;;
1142011023 mingw* | cegcc*)
1142111024 # MinGW DLLs use traditional 'lib' prefix
1142211025 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11423 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11424 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11425 # It is most probably a Windows format PATH printed by
11426 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11427 # path with ; separators, and with drive letters. We can handle the
11428 # drive letters (cygwin fileutils understands them), so leave them,
11429 # especially as we might pass files found there to a mingw objdump,
11430 # which wouldn't understand a cygwinified path. Ahh.
11431 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11432 else
11433 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11434 fi
1143511026 ;;
1143611027 pw32*)
1143711028 # pw32 DLLs use 'pw' prefix rather than 'lib'
1153111122 hardcode_into_libs=yes
1153211123 ;;
1153311124
11125 haiku*)
11126 version_type=linux
11127 need_lib_prefix=no
11128 need_version=no
11129 dynamic_linker="$host_os runtime_loader"
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11131 soname_spec='${libname}${release}${shared_ext}$major'
11132 shlibpath_var=LIBRARY_PATH
11133 shlibpath_overrides_runpath=yes
11134 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11135 hardcode_into_libs=yes
11136 ;;
11137
1153411138 hpux9* | hpux10* | hpux11*)
1153511139 # Give a soname corresponding to the major version so that dld.sl refuses to
1153611140 # link against other versions.
1157311177 soname_spec='${libname}${release}${shared_ext}$major'
1157411178 ;;
1157511179 esac
11576 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11180 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1157711181 postinstall_cmds='chmod 555 $lib'
11182 # or fails outright, so override atomically:
11183 install_override_mode=555
1157811184 ;;
1157911185
1158011186 interix[3-9]*)
1163211238 ;;
1163311239
1163411240 # This must be Linux ELF.
11635 linux* | k*bsd*-gnu)
11241 linux* | k*bsd*-gnu | kopensolaris*-gnu)
1163611242 version_type=linux
1163711243 need_lib_prefix=no
1163811244 need_version=no
1164111247 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1164211248 shlibpath_var=LD_LIBRARY_PATH
1164311249 shlibpath_overrides_runpath=no
11250
1164411251 # Some binutils ld are patched to set DT_RUNPATH
11645 save_LDFLAGS=$LDFLAGS
11646 save_libdir=$libdir
11647 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11648 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11253 $as_echo_n "(cached) " >&6
11254 else
11255 lt_cv_shlibpath_overrides_runpath=no
11256 save_LDFLAGS=$LDFLAGS
11257 save_libdir=$libdir
11258 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11259 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1165011261 /* end confdefs.h. */
1165111262
1165211263 int
1165911270 _ACEOF
1166011271 if ac_fn_c_try_link "$LINENO"; then :
1166111272 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11662 shlibpath_overrides_runpath=yes
11273 lt_cv_shlibpath_overrides_runpath=yes
1166311274 fi
1166411275 fi
1166511276 rm -f core conftest.err conftest.$ac_objext \
1166611277 conftest$ac_exeext conftest.$ac_ext
11667 LDFLAGS=$save_LDFLAGS
11668 libdir=$save_libdir
11278 LDFLAGS=$save_LDFLAGS
11279 libdir=$save_libdir
11280
11281 fi
11282
11283 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
1166911284
1167011285 # This implies no fast_install, which is unacceptable.
1167111286 # Some rework will be needed to allow for fast_install
1167711292
1167811293 # Append ld.so.conf contents to the search path
1167911294 if test -f /etc/ld.so.conf; then
11680 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11295 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
1168111296 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11297
1168211298 fi
1168311299
1168411300 # We used to test for /lib/ld.so.1 and disable shared libraries on
1198011596
1198111597
1198211598
11599
11600
11601
11602
11603
1198311604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1198411605 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1198511606 hardcode_action=
1231011931 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1231111932 lt_status=$lt_dlunknown
1231211933 cat > conftest.$ac_ext <<_LT_EOF
12313 #line 12314 "configure"
11934 #line $LINENO "configure"
1231411935 #include "confdefs.h"
1231511936
1231611937 #if HAVE_DLFCN_H
1235111972 # endif
1235211973 #endif
1235311974
12354 void fnord() { int i=42;}
11975 /* When -fvisbility=hidden is used, assume the code has been annotated
11976 correspondingly for the symbols needed. */
11977 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11978 void fnord () __attribute__((visibility("default")));
11979 #endif
11980
11981 void fnord () { int i=42; }
1235511982 int main ()
1235611983 {
1235711984 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1236011987 if (self)
1236111988 {
1236211989 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12363 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11990 else
11991 {
11992 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11993 else puts (dlerror ());
11994 }
1236411995 /* dlclose (self); */
1236511996 }
1236611997 else
1240612037 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1240712038 lt_status=$lt_dlunknown
1240812039 cat > conftest.$ac_ext <<_LT_EOF
12409 #line 12410 "configure"
12040 #line $LINENO "configure"
1241012041 #include "confdefs.h"
1241112042
1241212043 #if HAVE_DLFCN_H
1244712078 # endif
1244812079 #endif
1244912080
12450 void fnord() { int i=42;}
12081 /* When -fvisbility=hidden is used, assume the code has been annotated
12082 correspondingly for the symbols needed. */
12083 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12084 void fnord () __attribute__((visibility("default")));
12085 #endif
12086
12087 void fnord () { int i=42; }
1245112088 int main ()
1245212089 {
1245312090 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1245612093 if (self)
1245712094 {
1245812095 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12459 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12096 else
12097 {
12098 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12099 else puts (dlerror ());
12100 }
1246012101 /* dlclose (self); */
1246112102 }
1246212103 else
1261312254
1261412255 CC="$lt_save_CC"
1261512256
12257 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12258 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12259 (test "X$CXX" != "Xg++"))) ; then
12260 ac_ext=cpp
12261 ac_cpp='$CXXCPP $CPPFLAGS'
12262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12266 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12267 if test -z "$CXXCPP"; then
12268 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12269 $as_echo_n "(cached) " >&6
12270 else
12271 # Double quotes because CXXCPP needs to be expanded
12272 for CXXCPP in "$CXX -E" "/lib/cpp"
12273 do
12274 ac_preproc_ok=false
12275 for ac_cxx_preproc_warn_flag in '' yes
12276 do
12277 # Use a header file that comes with gcc, so configuring glibc
12278 # with a fresh cross-compiler works.
12279 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12280 # <limits.h> exists even on freestanding compilers.
12281 # On the NeXT, cc -E runs the code through the compiler's parser,
12282 # not just through cpp. "Syntax error" is here to catch this case.
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12285 #ifdef __STDC__
12286 # include <limits.h>
12287 #else
12288 # include <assert.h>
12289 #endif
12290 Syntax error
12291 _ACEOF
12292 if ac_fn_cxx_try_cpp "$LINENO"; then :
12293
12294 else
12295 # Broken: fails on valid input.
12296 continue
12297 fi
12298 rm -f conftest.err conftest.$ac_ext
12299
12300 # OK, works on sane cases. Now check whether nonexistent headers
12301 # can be detected and how.
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12304 #include <ac_nonexistent.h>
12305 _ACEOF
12306 if ac_fn_cxx_try_cpp "$LINENO"; then :
12307 # Broken: success on invalid input.
12308 continue
12309 else
12310 # Passes both tests.
12311 ac_preproc_ok=:
12312 break
12313 fi
12314 rm -f conftest.err conftest.$ac_ext
12315
12316 done
12317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12318 rm -f conftest.err conftest.$ac_ext
12319 if $ac_preproc_ok; then :
12320 break
12321 fi
12322
12323 done
12324 ac_cv_prog_CXXCPP=$CXXCPP
12325
12326 fi
12327 CXXCPP=$ac_cv_prog_CXXCPP
12328 else
12329 ac_cv_prog_CXXCPP=$CXXCPP
12330 fi
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12332 $as_echo "$CXXCPP" >&6; }
12333 ac_preproc_ok=false
12334 for ac_cxx_preproc_warn_flag in '' yes
12335 do
12336 # Use a header file that comes with gcc, so configuring glibc
12337 # with a fresh cross-compiler works.
12338 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12339 # <limits.h> exists even on freestanding compilers.
12340 # On the NeXT, cc -E runs the code through the compiler's parser,
12341 # not just through cpp. "Syntax error" is here to catch this case.
12342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h. */
12344 #ifdef __STDC__
12345 # include <limits.h>
12346 #else
12347 # include <assert.h>
12348 #endif
12349 Syntax error
12350 _ACEOF
12351 if ac_fn_cxx_try_cpp "$LINENO"; then :
12352
12353 else
12354 # Broken: fails on valid input.
12355 continue
12356 fi
12357 rm -f conftest.err conftest.$ac_ext
12358
12359 # OK, works on sane cases. Now check whether nonexistent headers
12360 # can be detected and how.
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12363 #include <ac_nonexistent.h>
12364 _ACEOF
12365 if ac_fn_cxx_try_cpp "$LINENO"; then :
12366 # Broken: success on invalid input.
12367 continue
12368 else
12369 # Passes both tests.
12370 ac_preproc_ok=:
12371 break
12372 fi
12373 rm -f conftest.err conftest.$ac_ext
12374
12375 done
12376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12377 rm -f conftest.err conftest.$ac_ext
12378 if $ac_preproc_ok; then :
12379
12380 else
12381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12383 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12384 See \`config.log' for more details" "$LINENO" 5; }
12385 fi
12386
12387 ac_ext=c
12388 ac_cpp='$CPP $CPPFLAGS'
12389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12392
12393 else
12394 _lt_caught_CXX_error=yes
12395 fi
1261612396
1261712397 ac_ext=cpp
1261812398 ac_cpp='$CXXCPP $CPPFLAGS'
1263912419 module_expsym_cmds_CXX=
1264012420 link_all_deplibs_CXX=unknown
1264112421 old_archive_cmds_CXX=$old_archive_cmds
12422 reload_flag_CXX=$reload_flag
12423 reload_cmds_CXX=$reload_cmds
1264212424 no_undefined_flag_CXX=
1264312425 whole_archive_flag_spec_CXX=
1264412426 enable_shared_with_static_runtimes_CXX=no
1272112503 *) break;;
1272212504 esac
1272312505 done
12724 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12506 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1272512507
1272612508
1272712509 if test -n "$compiler"; then
1282112603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1282212604 $as_echo "no" >&6; }
1282312605 fi
12824 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12606 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
1282512607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
1282612608 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
1282712609 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
1288312665 # Commands to make compiler produce verbose output that lists
1288412666 # what "hidden" libraries, object files and flags are used when
1288512667 # linking a shared library.
12886 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12668 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
1288712669
1288812670 else
1288912671 GXX=no
1302512807
1302612808 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1302712809
13028 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12810 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1302912811 else
1303012812 if test "$host_cpu" = ia64; then
1303112813 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
1306912851 # -berok will link without error, but may produce a broken library.
1307012852 no_undefined_flag_CXX=' ${wl}-bernotok'
1307112853 allow_undefined_flag_CXX=' ${wl}-berok'
13072 # Exported symbols can be pulled into shared objects from archives
13073 whole_archive_flag_spec_CXX='$convenience'
12854 if test "$with_gnu_ld" = yes; then
12855 # We only use this code for GNU lds that support --whole-archive.
12856 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12857 else
12858 # Exported symbols can be pulled into shared objects from archives
12859 whole_archive_flag_spec_CXX='$convenience'
12860 fi
1307412861 archive_cmds_need_lc_CXX=yes
1307512862 # This is similar to how AIX traditionally builds its shared
1307612863 # libraries.
1310312890 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
1310412891 # as there is no search path for DLLs.
1310512892 hardcode_libdir_flag_spec_CXX='-L$libdir'
12893 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
1310612894 allow_undefined_flag_CXX=unsupported
1310712895 always_export_symbols_CXX=no
1310812896 enable_shared_with_static_runtimes_CXX=yes
1312912917 hardcode_direct_CXX=no
1313012918 hardcode_automatic_CXX=yes
1313112919 hardcode_shlibpath_var_CXX=unsupported
13132 whole_archive_flag_spec_CXX=''
12920 if test "$lt_cv_ld_force_load" = "yes"; then
12921 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12922 else
12923 whole_archive_flag_spec_CXX=''
12924 fi
1313312925 link_all_deplibs_CXX=yes
1313412926 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
1313512927 case $cc_basename in
1313712929 *) _lt_dar_can_shared=$GCC ;;
1313812930 esac
1313912931 if test "$_lt_dar_can_shared" = "yes"; then
13140 output_verbose_link_cmd=echo
12932 output_verbose_link_cmd=func_echo_all
1314112933 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1314212934 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1314312935 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
1319012982 gnu*)
1319112983 ;;
1319212984
12985 haiku*)
12986 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12987 link_all_deplibs_CXX=yes
12988 ;;
12989
1319312990 hpux9*)
1319412991 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1319512992 hardcode_libdir_separator_CXX=:
1321413011 # explicitly linking system object files so we need to strip them
1321513012 # from the output so that they don't get included in the library
1321613013 # dependencies.
13217 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13014 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
1321813015 ;;
1321913016 *)
1322013017 if test "$GXX" = yes; then
1327913076 # explicitly linking system object files so we need to strip them
1328013077 # from the output so that they don't get included in the library
1328113078 # dependencies.
13282 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13079 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
1328313080 ;;
1328413081 *)
1328513082 if test "$GXX" = yes; then
1332213119 case $cc_basename in
1332313120 CC*)
1332413121 # SGI C++
13325 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13122 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
1332613123
1332713124 # Archives containing C++ object files must be created using
1332813125 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
1333313130 *)
1333413131 if test "$GXX" = yes; then
1333513132 if test "$with_gnu_ld" = no; then
13336 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13133 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1333713134 else
13338 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13135 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
1333913136 fi
1334013137 fi
1334113138 link_all_deplibs_CXX=yes
1334613143 inherit_rpath_CXX=yes
1334713144 ;;
1334813145
13349 linux* | k*bsd*-gnu)
13146 linux* | k*bsd*-gnu | kopensolaris*-gnu)
1335013147 case $cc_basename in
1335113148 KCC*)
1335213149 # Kuck and Associates, Inc. (KAI) C++ Compiler
1336413161 # explicitly linking system object files so we need to strip them
1336513162 # from the output so that they don't get included in the library
1336613163 # dependencies.
13367 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13164 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
1336813165
1336913166 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1337013167 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1340113198 pgCC* | pgcpp*)
1340213199 # Portland Group C++ compiler
1340313200 case `$CC -V` in
13404 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
13201 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
1340513202 prelink_cmds_CXX='tpldir=Template.dir~
1340613203 rm -rf $tpldir~
1340713204 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13408 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13205 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
1340913206 old_archive_cmds_CXX='tpldir=Template.dir~
1341013207 rm -rf $tpldir~
1341113208 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13412 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13209 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
1341313210 $RANLIB $oldlib'
1341413211 archive_cmds_CXX='tpldir=Template.dir~
1341513212 rm -rf $tpldir~
1341613213 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13417 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13214 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
1341813215 archive_expsym_cmds_CXX='tpldir=Template.dir~
1341913216 rm -rf $tpldir~
1342013217 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13421 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13218 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
1342213219 ;;
13423 *) # Version 6 will use weak symbols
13220 *) # Version 6 and above use weak symbols
1342413221 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
1342513222 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
1342613223 ;;
1342813225
1342913226 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
1343013227 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13431 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13228 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
1343213229 ;;
1343313230 cxx*)
1343413231 # Compaq C++
1344713244 # explicitly linking system object files so we need to strip them
1344813245 # from the output so that they don't get included in the library
1344913246 # dependencies.
13450 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13247 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
1345113248 ;;
13452 xl*)
13249 xl* | mpixl* | bgxl*)
1345313250 # IBM XL 8.0 on PPC, with GNU ld
1345413251 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1345513252 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1346913266 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1347013267 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
1347113268 hardcode_libdir_flag_spec_CXX='-R$libdir'
13472 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13269 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
1347313270 compiler_needs_object_CXX=yes
1347413271
1347513272 # Not sure whether something based on
1347613273 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
1347713274 # would be better.
13478 output_verbose_link_cmd='echo'
13275 output_verbose_link_cmd='func_echo_all'
1347913276
1348013277 # Archives containing C++ object files must be created using
1348113278 # "CC -xar", where "CC" is the Sun C++ compiler. This is
1354413341 export_dynamic_flag_spec_CXX='${wl}-E'
1354513342 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
1354613343 fi
13547 output_verbose_link_cmd=echo
13344 output_verbose_link_cmd=func_echo_all
1354813345 else
1354913346 ld_shlibs_CXX=no
1355013347 fi
1357913376 case $host in
1358013377 osf3*)
1358113378 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13582 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13379 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
1358313380 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1358413381 ;;
1358513382 *)
1358613383 allow_undefined_flag_CXX=' -expect_unresolved \*'
13587 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13384 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
1358813385 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
1358913386 echo "-hidden">> $lib.exp~
13590 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13387 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
1359113388 $RM $lib.exp'
1359213389 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
1359313390 ;;
1360313400 # explicitly linking system object files so we need to strip them
1360413401 # from the output so that they don't get included in the library
1360513402 # dependencies.
13606 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13403 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
1360713404 ;;
1360813405 *)
1360913406 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1361013407 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
1361113408 case $host in
1361213409 osf3*)
13613 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13410 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1361413411 ;;
1361513412 *)
13616 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13413 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1361713414 ;;
1361813415 esac
1361913416
1362313420 # Commands to make compiler produce verbose output that lists
1362413421 # what "hidden" libraries, object files and flags are used when
1362513422 # linking a shared library.
13626 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13423 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
1362713424
1362813425 else
1362913426 # FIXME: insert proper C++ library support
1365913456
1366013457 solaris*)
1366113458 case $cc_basename in
13662 CC*)
13459 CC* | sunCC*)
1366313460 # Sun C++ 4.2, 5.x and Centerline C++
1366413461 archive_cmds_need_lc_CXX=yes
1366513462 no_undefined_flag_CXX=' -zdefs'
1368013477 esac
1368113478 link_all_deplibs_CXX=yes
1368213479
13683 output_verbose_link_cmd='echo'
13480 output_verbose_link_cmd='func_echo_all'
1368413481
1368513482 # Archives containing C++ object files must be created using
1368613483 # "CC -xar", where "CC" is the Sun C++ compiler. This is
1370713504 # Commands to make compiler produce verbose output that lists
1370813505 # what "hidden" libraries, object files and flags are used when
1370913506 # linking a shared library.
13710 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13507 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
1371113508 else
1371213509 # g++ 2.7 appears to require `-G' NOT `-shared' on this
1371313510 # platform.
1371813515 # Commands to make compiler produce verbose output that lists
1371913516 # what "hidden" libraries, object files and flags are used when
1372013517 # linking a shared library.
13721 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13518 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
1372213519 fi
1372313520
1372413521 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
1377213569 CC*)
1377313570 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1377413571 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13572 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13573 '"$old_archive_cmds_CXX"
13574 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13575 '"$reload_cmds_CXX"
1377513576 ;;
1377613577 *)
1377713578 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1395313754
1395413755 solaris*)
1395513756 case $cc_basename in
13956 CC*)
13757 CC* | sunCC*)
1395713758 # The more standards-conforming stlport4 library is
1395813759 # incompatible with the Cstd library. Avoid specifying
1395913760 # it if it's in CXXFLAGS. Ignore libCrun as
1406813869 *djgpp*)
1406913870 # DJGPP does not support shared libraries at all
1407013871 lt_prog_compiler_pic_CXX=
13872 ;;
13873 haiku*)
13874 # PIC is the default for Haiku.
13875 # The "-static" flag exists, but is broken.
13876 lt_prog_compiler_static_CXX=
1407113877 ;;
1407213878 interix[3-9]*)
1407313879 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
1417413980 ;;
1417513981 esac
1417613982 ;;
14177 linux* | k*bsd*-gnu)
13983 linux* | k*bsd*-gnu | kopensolaris*-gnu)
1417813984 case $cc_basename in
1417913985 KCC*)
1418013986 # KAI C++ Compiler
1420714013 lt_prog_compiler_pic_CXX=
1420814014 lt_prog_compiler_static_CXX='-non_shared'
1420914015 ;;
14210 xlc* | xlC*)
14211 # IBM XL 8.0 on PPC
14016 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14017 # IBM XL 8.0, 9.0 on PPC and BlueGene
1421214018 lt_prog_compiler_wl_CXX='-Wl,'
1421314019 lt_prog_compiler_pic_CXX='-qpic'
1421414020 lt_prog_compiler_static_CXX='-qstaticlink'
1427014076 ;;
1427114077 solaris*)
1427214078 case $cc_basename in
14273 CC*)
14079 CC* | sunCC*)
1427414080 # Sun C++ 4.2, 5.x and Centerline C++
1427514081 lt_prog_compiler_pic_CXX='-KPIC'
1427614082 lt_prog_compiler_static_CXX='-Bstatic'
1436214168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1436314169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1436414170 -e 's:$: $lt_compiler_flag:'`
14365 (eval echo "\"\$as_me:14366: $lt_compile\"" >&5)
14171 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1436614172 (eval "$lt_compile" 2>conftest.err)
1436714173 ac_status=$?
1436814174 cat conftest.err >&5
14369 echo "$as_me:14370: \$? = $ac_status" >&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1437014176 if (exit $ac_status) && test -s "$ac_outfile"; then
1437114177 # The compiler can only warn and ignore the option if not recognized
1437214178 # So say no if there are warnings other than the usual output.
14373 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14179 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1437414180 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1437514181 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1437614182 lt_cv_prog_compiler_pic_works_CXX=yes
1441514221 if test -s conftest.err; then
1441614222 # Append any errors to the config.log.
1441714223 cat conftest.err 1>&5
14418 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14224 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1441914225 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1442014226 if diff conftest.exp conftest.er2 >/dev/null; then
1442114227 lt_cv_prog_compiler_static_works_CXX=yes
1446114267 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1446214268 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1446314269 -e 's:$: $lt_compiler_flag:'`
14464 (eval echo "\"\$as_me:14465: $lt_compile\"" >&5)
14270 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1446514271 (eval "$lt_compile" 2>out/conftest.err)
1446614272 ac_status=$?
1446714273 cat out/conftest.err >&5
14468 echo "$as_me:14469: \$? = $ac_status" >&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1446914275 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1447014276 then
1447114277 # The compiler can only warn and ignore the option if not recognized
1447214278 # So say no if there are warnings
14473 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14279 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1447414280 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1447514281 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1447614282 lt_cv_prog_compiler_c_o_CXX=yes
1451314319 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1451414320 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1451514321 -e 's:$: $lt_compiler_flag:'`
14516 (eval echo "\"\$as_me:14517: $lt_compile\"" >&5)
14322 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1451714323 (eval "$lt_compile" 2>out/conftest.err)
1451814324 ac_status=$?
1451914325 cat out/conftest.err >&5
14520 echo "$as_me:14521: \$? = $ac_status" >&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1452114327 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1452214328 then
1452314329 # The compiler can only warn and ignore the option if not recognized
1452414330 # So say no if there are warnings
14525 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14331 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1452614332 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1452714333 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1452814334 lt_cv_prog_compiler_c_o_CXX=yes
1457714383 aix[4-9]*)
1457814384 # If we're using GNU nm, then we don't want the "-C" option.
1457914385 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14386 # Also, AIX nm treats weak defined symbols like other global defined
14387 # symbols, whereas GNU nm marks them as "W".
1458014388 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14581 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14389 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
1458214390 else
1458314391 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
1458414392 fi
1462514433 # to ld, don't add -lc before -lgcc.
1462614434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1462714435 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14628 $RM conftest*
14629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14630
14631 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14436 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14437 $as_echo_n "(cached) " >&6
14438 else
14439 $RM conftest*
14440 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14441
14442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1463214443 (eval $ac_compile) 2>&5
1463314444 ac_status=$?
1463414445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463514446 test $ac_status = 0; } 2>conftest.err; then
14636 soname=conftest
14637 lib=conftest
14638 libobjs=conftest.$ac_objext
14639 deplibs=
14640 wl=$lt_prog_compiler_wl_CXX
14641 pic_flag=$lt_prog_compiler_pic_CXX
14642 compiler_flags=-v
14643 linker_flags=-v
14644 verstring=
14645 output_objdir=.
14646 libname=conftest
14647 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14648 allow_undefined_flag_CXX=
14649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14447 soname=conftest
14448 lib=conftest
14449 libobjs=conftest.$ac_objext
14450 deplibs=
14451 wl=$lt_prog_compiler_wl_CXX
14452 pic_flag=$lt_prog_compiler_pic_CXX
14453 compiler_flags=-v
14454 linker_flags=-v
14455 verstring=
14456 output_objdir=.
14457 libname=conftest
14458 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14459 allow_undefined_flag_CXX=
14460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1465014461 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1465114462 ac_status=$?
1465214463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1465314464 test $ac_status = 0; }
14654 then
14655 archive_cmds_need_lc_CXX=no
14656 else
14657 archive_cmds_need_lc_CXX=yes
14658 fi
14659 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14660 else
14661 cat conftest.err 1>&5
14662 fi
14663 $RM conftest*
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14665 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14465 then
14466 lt_cv_archive_cmds_need_lc_CXX=no
14467 else
14468 lt_cv_archive_cmds_need_lc_CXX=yes
14469 fi
14470 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14471 else
14472 cat conftest.err 1>&5
14473 fi
14474 $RM conftest*
14475
14476 fi
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14478 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14479 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
1466614480 ;;
1466714481 esac
1466814482 fi
1481914633 m68k)
1482014634 library_names_spec='$libname.ixlibrary $libname.a'
1482114635 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14822 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14636 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1482314637 ;;
1482414638 esac
1482514639 ;;
1487214686 cygwin*)
1487314687 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1487414688 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14875 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14689
1487614690 ;;
1487714691 mingw* | cegcc*)
1487814692 # MinGW DLLs use traditional 'lib' prefix
1487914693 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14880 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14881 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14882 # It is most probably a Windows format PATH printed by
14883 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14884 # path with ; separators, and with drive letters. We can handle the
14885 # drive letters (cygwin fileutils understands them), so leave them,
14886 # especially as we might pass files found there to a mingw objdump,
14887 # which wouldn't understand a cygwinified path. Ahh.
14888 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14889 else
14890 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14891 fi
1489214694 ;;
1489314695 pw32*)
1489414696 # pw32 DLLs use 'pw' prefix rather than 'lib'
1498714789 hardcode_into_libs=yes
1498814790 ;;
1498914791
14792 haiku*)
14793 version_type=linux
14794 need_lib_prefix=no
14795 need_version=no
14796 dynamic_linker="$host_os runtime_loader"
14797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14798 soname_spec='${libname}${release}${shared_ext}$major'
14799 shlibpath_var=LIBRARY_PATH
14800 shlibpath_overrides_runpath=yes
14801 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14802 hardcode_into_libs=yes
14803 ;;
14804
1499014805 hpux9* | hpux10* | hpux11*)
1499114806 # Give a soname corresponding to the major version so that dld.sl refuses to
1499214807 # link against other versions.
1502914844 soname_spec='${libname}${release}${shared_ext}$major'
1503014845 ;;
1503114846 esac
15032 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14847 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1503314848 postinstall_cmds='chmod 555 $lib'
14849 # or fails outright, so override atomically:
14850 install_override_mode=555
1503414851 ;;
1503514852
1503614853 interix[3-9]*)
1508814905 ;;
1508914906
1509014907 # This must be Linux ELF.
15091 linux* | k*bsd*-gnu)
14908 linux* | k*bsd*-gnu | kopensolaris*-gnu)
1509214909 version_type=linux
1509314910 need_lib_prefix=no
1509414911 need_version=no
1509714914 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1509814915 shlibpath_var=LD_LIBRARY_PATH
1509914916 shlibpath_overrides_runpath=no
14917
1510014918 # Some binutils ld are patched to set DT_RUNPATH
15101 save_LDFLAGS=$LDFLAGS
15102 save_libdir=$libdir
15103 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15104 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14919 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14920 $as_echo_n "(cached) " >&6
14921 else
14922 lt_cv_shlibpath_overrides_runpath=no
14923 save_LDFLAGS=$LDFLAGS
14924 save_libdir=$libdir
14925 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14926 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1510614928 /* end confdefs.h. */
1510714929
1510814930 int
1511514937 _ACEOF
1511614938 if ac_fn_cxx_try_link "$LINENO"; then :
1511714939 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15118 shlibpath_overrides_runpath=yes
14940 lt_cv_shlibpath_overrides_runpath=yes
1511914941 fi
1512014942 fi
1512114943 rm -f core conftest.err conftest.$ac_objext \
1512214944 conftest$ac_exeext conftest.$ac_ext
15123 LDFLAGS=$save_LDFLAGS
15124 libdir=$save_libdir
14945 LDFLAGS=$save_LDFLAGS
14946 libdir=$save_libdir
14947
14948 fi
14949
14950 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
1512514951
1512614952 # This implies no fast_install, which is unacceptable.
1512714953 # Some rework will be needed to allow for fast_install
1513314959
1513414960 # Append ld.so.conf contents to the search path
1513514961 if test -f /etc/ld.so.conf; then
15136 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14962 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
1513714963 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14964
1513814965 fi
1513914966
1514014967 # We used to test for /lib/ld.so.1 and disable shared libraries on
1538515212
1538615213
1538715214
15215
15216
1538815217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1538915218 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1539015219 hardcode_action_CXX=
1548615315
1548715316 case "$am__api_version" in
1548815317 1.01234)
15489 as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
15318 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
1549015319 ;;
1549115320 *)
1549215321 ;;
1550315332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
1550415333 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
1550515334 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
15506 as_fn_error "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
15335 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
1550715336 fi
1550815337
1550915338 # Extract the first word of "intltool-update", so it can be a program name with args.
1562715456
1562815457
1562915458 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
15630 as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
15459 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
1563115460 fi
1563215461
1563315462 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1590915738
1591015739
1591115740 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
15912 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
15741 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
1591315742 fi
1591415743 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
1591515744 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
1591615745 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
1591715746 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
15918 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
15747 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
1591915748 fi
1592015749
1592115750 # Extract the first word of "perl", so it can be a program name with args.
1595915788
1596015789
1596115790 if test -z "$INTLTOOL_PERL"; then
15962 as_fn_error "perl not found" "$LINENO" 5
15791 as_fn_error $? "perl not found" "$LINENO" 5
1596315792 fi
1596415793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
1596515794 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
1596615795 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
1596715796 if test $? -ne 0; then
15968 as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
15797 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
1596915798 else
1597015799 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
1597115800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
1597815807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1597915808 $as_echo "ok" >&6; }
1598015809 else
15981 as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
15810 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
1598215811 fi
1598315812 fi
1598415813
1606315892
1606415893
1606515894
15895
15896
15897
15898
1606615899 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1606715900 if test -n "$ac_tool_prefix"; then
1606815901 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1617516008 $as_echo "no" >&6; }
1617616009 PKG_CONFIG=""
1617716010 fi
16178
1617916011 fi
1618016012
1618116013 no_glib=""
1623516067 int
1623616068 main ()
1623716069 {
16238 int major, minor, micro;
16070 unsigned int major, minor, micro;
1623916071 char *tmp_version;
1624016072
1624116073 fclose (fopen ("conf.glibtest", "w"));
1624216074
1624316075 /* HP/UX 9 (%@#!) writes to sscanf strings */
1624416076 tmp_version = g_strdup("$min_glib_version");
16245 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
16077 if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
1624616078 printf("%s, bad version string\n", "$min_glib_version");
1624716079 exit(1);
1624816080 }
1628116113 }
1628216114 else
1628316115 {
16284 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
16116 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
1628516117 glib_major_version, glib_minor_version, glib_micro_version);
16286 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
16118 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
1628716119 major, minor, micro);
1628816120 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
1628916121 printf("***\n");
1643316265
1643416266
1643516267 if test $pkg_failed = yes; then
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16269 $as_echo "no" >&6; }
1643616270
1643716271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1643816272 _pkg_short_errors_supported=yes
1645116285 # Put the nasty error message in config.log where it belongs
1645216286 echo "$GLIB2_PKG_ERRORS" >&5
1645316287
16454 as_fn_error "Package requirements (
16288 as_fn_error $? "Package requirements (
1645516289 glib-2.0 >= 2.8
1645616290 ) were not met:
1645716291
1645916293
1646016294 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1646116295 installed software in a non-standard prefix.
16296
16297 Alternatively, you may set the environment variables GLIB2_CFLAGS
16298 and GLIB2_LIBS to avoid the need to call pkg-config.
16299 See the pkg-config man page for more details." "$LINENO" 5
16300
16301 elif test $pkg_failed = untried; then
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16303 $as_echo "no" >&6; }
16304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16306 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16307 is in your PATH or set the PKG_CONFIG environment variable to the full
16308 path to pkg-config.
1646216309
1646316310 Alternatively, you may set the environment variables GLIB2_CFLAGS
1646416311 and GLIB2_LIBS to avoid the need to call pkg-config.
1646516312 See the pkg-config man page for more details.
16466 " "$LINENO" 5
16467 elif test $pkg_failed = untried; then
16468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16470 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
16471 is in your PATH or set the PKG_CONFIG environment variable to the full
16472 path to pkg-config.
16473
16474 Alternatively, you may set the environment variables GLIB2_CFLAGS
16475 and GLIB2_LIBS to avoid the need to call pkg-config.
16476 See the pkg-config man page for more details.
1647716313
1647816314 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16479 See \`config.log' for more details." "$LINENO" 5; }
16315 See \`config.log' for more details" "$LINENO" 5; }
16316
1648016317 else
1648116318 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
1648216319 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
1648316320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1648416321 $as_echo "yes" >&6; }
16485 :
16486 fi
16487
16322
16323 fi
16324
16325
16326 # Check whether --with-gtk was given.
16327 if test "${with_gtk+set}" = set; then :
16328 withval=$with_gtk; case "$with_gtk" in
16329 2.0|3.0) ;;
16330 *) as_fn_error $? "invalid gtk version specified" "$LINENO" 5 ;;
16331 esac
16332 else
16333 with_gtk=2.0
16334
16335 fi
16336
16337
16338 case "$with_gtk" in
16339 2.0)
1648816340
1648916341 pkg_failed=no
1649016342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
1649516347 elif test -n "$PKG_CONFIG"; then
1649616348 if test -n "$PKG_CONFIG" && \
1649716349 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16498 gtk+-2.0
16499 \""; } >&5
16350 gtk+-2.0
16351 \""; } >&5
1650016352 ($PKG_CONFIG --exists --print-errors "
16501 gtk+-2.0
16502 ") 2>&5
16353 gtk+-2.0
16354 ") 2>&5
1650316355 ac_status=$?
1650416356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650516357 test $ac_status = 0; }; then
1650616358 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "
16507 gtk+-2.0
16508 " 2>/dev/null`
16359 gtk+-2.0
16360 " 2>/dev/null`
1650916361 else
1651016362 pkg_failed=yes
1651116363 fi
1651716369 elif test -n "$PKG_CONFIG"; then
1651816370 if test -n "$PKG_CONFIG" && \
1651916371 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16520 gtk+-2.0
16521 \""; } >&5
16372 gtk+-2.0
16373 \""; } >&5
1652216374 ($PKG_CONFIG --exists --print-errors "
16523 gtk+-2.0
16524 ") 2>&5
16375 gtk+-2.0
16376 ") 2>&5
1652516377 ac_status=$?
1652616378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652716379 test $ac_status = 0; }; then
1652816380 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "
16529 gtk+-2.0
16530 " 2>/dev/null`
16381 gtk+-2.0
16382 " 2>/dev/null`
1653116383 else
1653216384 pkg_failed=yes
1653316385 fi
1653816390
1653916391
1654016392 if test $pkg_failed = yes; then
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16394 $as_echo "no" >&6; }
1654116395
1654216396 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1654316397 _pkg_short_errors_supported=yes
1654616400 fi
1654716401 if test $_pkg_short_errors_supported = yes; then
1654816402 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
16549 gtk+-2.0
16550 " 2>&1`
16403 gtk+-2.0
16404 " 2>&1`
1655116405 else
1655216406 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
16553 gtk+-2.0
16554 " 2>&1`
16407 gtk+-2.0
16408 " 2>&1`
1655516409 fi
1655616410 # Put the nasty error message in config.log where it belongs
1655716411 echo "$GTK2_PKG_ERRORS" >&5
1655816412
16559 as_fn_error "Package requirements (
16560 gtk+-2.0
16561 ) were not met:
16413 as_fn_error $? "Package requirements (
16414 gtk+-2.0
16415 ) were not met:
1656216416
1656316417 $GTK2_PKG_ERRORS
1656416418
1656516419 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1656616420 installed software in a non-standard prefix.
16421
16422 Alternatively, you may set the environment variables GTK2_CFLAGS
16423 and GTK2_LIBS to avoid the need to call pkg-config.
16424 See the pkg-config man page for more details." "$LINENO" 5
16425
16426 elif test $pkg_failed = untried; then
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16428 $as_echo "no" >&6; }
16429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16431 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16432 is in your PATH or set the PKG_CONFIG environment variable to the full
16433 path to pkg-config.
1656716434
1656816435 Alternatively, you may set the environment variables GTK2_CFLAGS
1656916436 and GTK2_LIBS to avoid the need to call pkg-config.
1657016437 See the pkg-config man page for more details.
16571 " "$LINENO" 5
16572 elif test $pkg_failed = untried; then
16573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16575 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
16576 is in your PATH or set the PKG_CONFIG environment variable to the full
16577 path to pkg-config.
16578
16579 Alternatively, you may set the environment variables GTK2_CFLAGS
16580 and GTK2_LIBS to avoid the need to call pkg-config.
16581 See the pkg-config man page for more details.
1658216438
1658316439 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16584 See \`config.log' for more details." "$LINENO" 5; }
16440 See \`config.log' for more details" "$LINENO" 5; }
16441
1658516442 else
1658616443 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
1658716444 GTK2_LIBS=$pkg_cv_GTK2_LIBS
1658816445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1658916446 $as_echo "yes" >&6; }
16590 :
16591 fi
16447
16448 fi
16449 if false; then
16450 HAVE_GTK3_TRUE=
16451 HAVE_GTK3_FALSE='#'
16452 else
16453 HAVE_GTK3_TRUE='#'
16454 HAVE_GTK3_FALSE=
16455 fi
16456
16457 if true; then
16458 HAVE_GTK2_TRUE=
16459 HAVE_GTK2_FALSE='#'
16460 else
16461 HAVE_GTK2_TRUE='#'
16462 HAVE_GTK2_FALSE=
16463 fi
16464
16465 ;;
16466 3.0)
16467
16468 pkg_failed=no
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5
16470 $as_echo_n "checking for GTK3... " >&6; }
16471
16472 if test -n "$GTK3_CFLAGS"; then
16473 pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS"
16474 elif test -n "$PKG_CONFIG"; then
16475 if test -n "$PKG_CONFIG" && \
16476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16477 gtk+-3.0
16478 \""; } >&5
16479 ($PKG_CONFIG --exists --print-errors "
16480 gtk+-3.0
16481 ") 2>&5
16482 ac_status=$?
16483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16484 test $ac_status = 0; }; then
16485 pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "
16486 gtk+-3.0
16487 " 2>/dev/null`
16488 else
16489 pkg_failed=yes
16490 fi
16491 else
16492 pkg_failed=untried
16493 fi
16494 if test -n "$GTK3_LIBS"; then
16495 pkg_cv_GTK3_LIBS="$GTK3_LIBS"
16496 elif test -n "$PKG_CONFIG"; then
16497 if test -n "$PKG_CONFIG" && \
16498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16499 gtk+-3.0
16500 \""; } >&5
16501 ($PKG_CONFIG --exists --print-errors "
16502 gtk+-3.0
16503 ") 2>&5
16504 ac_status=$?
16505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16506 test $ac_status = 0; }; then
16507 pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "
16508 gtk+-3.0
16509 " 2>/dev/null`
16510 else
16511 pkg_failed=yes
16512 fi
16513 else
16514 pkg_failed=untried
16515 fi
16516
16517
16518
16519 if test $pkg_failed = yes; then
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16521 $as_echo "no" >&6; }
16522
16523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16524 _pkg_short_errors_supported=yes
16525 else
16526 _pkg_short_errors_supported=no
16527 fi
16528 if test $_pkg_short_errors_supported = yes; then
16529 GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
16530 gtk+-3.0
16531 " 2>&1`
16532 else
16533 GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors "
16534 gtk+-3.0
16535 " 2>&1`
16536 fi
16537 # Put the nasty error message in config.log where it belongs
16538 echo "$GTK3_PKG_ERRORS" >&5
16539
16540 as_fn_error $? "Package requirements (
16541 gtk+-3.0
16542 ) were not met:
16543
16544 $GTK3_PKG_ERRORS
16545
16546 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16547 installed software in a non-standard prefix.
16548
16549 Alternatively, you may set the environment variables GTK3_CFLAGS
16550 and GTK3_LIBS to avoid the need to call pkg-config.
16551 See the pkg-config man page for more details." "$LINENO" 5
16552
16553 elif test $pkg_failed = untried; then
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16555 $as_echo "no" >&6; }
16556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16558 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16559 is in your PATH or set the PKG_CONFIG environment variable to the full
16560 path to pkg-config.
16561
16562 Alternatively, you may set the environment variables GTK3_CFLAGS
16563 and GTK3_LIBS to avoid the need to call pkg-config.
16564 See the pkg-config man page for more details.
16565
16566 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16567 See \`config.log' for more details" "$LINENO" 5; }
16568
16569 else
16570 GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS
16571 GTK3_LIBS=$pkg_cv_GTK3_LIBS
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16573 $as_echo "yes" >&6; }
16574
16575 fi
16576 if true; then
16577 HAVE_GTK3_TRUE=
16578 HAVE_GTK3_FALSE='#'
16579 else
16580 HAVE_GTK3_TRUE='#'
16581 HAVE_GTK3_FALSE=
16582 fi
16583
16584 if false; then
16585 HAVE_GTK2_TRUE=
16586 HAVE_GTK2_FALSE='#'
16587 else
16588 HAVE_GTK2_TRUE='#'
16589 HAVE_GTK2_FALSE=
16590 fi
16591
16592 ;;
16593 esac
1659216594
1659316595
1659416596
1663216634
1663316635
1663416636 if test $pkg_failed = yes; then
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16638 $as_echo "no" >&6; }
1663516639
1663616640 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1663716641 _pkg_short_errors_supported=yes
1664616650 # Put the nasty error message in config.log where it belongs
1664716651 echo "$IBUS_PKG_ERRORS" >&5
1664816652
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16650 $as_echo "no" >&6; }
1665116653
1665216654 pkg_failed=no
1665316655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IBUS" >&5
1668916691
1669016692
1669116693 if test $pkg_failed = yes; then
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16695 $as_echo "no" >&6; }
1669216696
1669316697 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1669416698 _pkg_short_errors_supported=yes
1670316707 # Put the nasty error message in config.log where it belongs
1670416708 echo "$IBUS_PKG_ERRORS" >&5
1670516709
16706 as_fn_error "Package requirements (ibus-1.0) were not met:
16710 as_fn_error $? "Package requirements (ibus-1.0) were not met:
1670716711
1670816712 $IBUS_PKG_ERRORS
1670916713
1671016714 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1671116715 installed software in a non-standard prefix.
16716
16717 Alternatively, you may set the environment variables IBUS_CFLAGS
16718 and IBUS_LIBS to avoid the need to call pkg-config.
16719 See the pkg-config man page for more details." "$LINENO" 5
16720
16721 elif test $pkg_failed = untried; then
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16723 $as_echo "no" >&6; }
16724 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16726 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16727 is in your PATH or set the PKG_CONFIG environment variable to the full
16728 path to pkg-config.
1671216729
1671316730 Alternatively, you may set the environment variables IBUS_CFLAGS
1671416731 and IBUS_LIBS to avoid the need to call pkg-config.
1671516732 See the pkg-config man page for more details.
16716 " "$LINENO" 5
16717 elif test $pkg_failed = untried; then
16718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16720 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
16721 is in your PATH or set the PKG_CONFIG environment variable to the full
16722 path to pkg-config.
16723
16724 Alternatively, you may set the environment variables IBUS_CFLAGS
16725 and IBUS_LIBS to avoid the need to call pkg-config.
16726 See the pkg-config man page for more details.
1672716733
1672816734 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16729 See \`config.log' for more details." "$LINENO" 5; }
16735 See \`config.log' for more details" "$LINENO" 5; }
16736
1673016737 else
1673116738 IBUS_CFLAGS=$pkg_cv_IBUS_CFLAGS
1673216739 IBUS_LIBS=$pkg_cv_IBUS_LIBS
1673316740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1673416741 $as_echo "yes" >&6; }
16735 :
16742
1673616743 fi
1673716744 { $as_echo "$as_me:${as_lineno-$LINENO}: IBUS version is old" >&5
1673816745 $as_echo "$as_me: IBUS version is old" >&6;}
1674116748
1674216749
1674316750 elif test $pkg_failed = untried; then
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16752 $as_echo "no" >&6; }
1674416753
1674516754 pkg_failed=no
1674616755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IBUS" >&5
1678216791
1678316792
1678416793 if test $pkg_failed = yes; then
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16795 $as_echo "no" >&6; }
1678516796
1678616797 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1678716798 _pkg_short_errors_supported=yes
1679616807 # Put the nasty error message in config.log where it belongs
1679716808 echo "$IBUS_PKG_ERRORS" >&5
1679816809
16799 as_fn_error "Package requirements (ibus-1.0) were not met:
16810 as_fn_error $? "Package requirements (ibus-1.0) were not met:
1680016811
1680116812 $IBUS_PKG_ERRORS
1680216813
1680316814 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1680416815 installed software in a non-standard prefix.
16816
16817 Alternatively, you may set the environment variables IBUS_CFLAGS
16818 and IBUS_LIBS to avoid the need to call pkg-config.
16819 See the pkg-config man page for more details." "$LINENO" 5
16820
16821 elif test $pkg_failed = untried; then
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16823 $as_echo "no" >&6; }
16824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16826 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16827 is in your PATH or set the PKG_CONFIG environment variable to the full
16828 path to pkg-config.
1680516829
1680616830 Alternatively, you may set the environment variables IBUS_CFLAGS
1680716831 and IBUS_LIBS to avoid the need to call pkg-config.
1680816832 See the pkg-config man page for more details.
16809 " "$LINENO" 5
16810 elif test $pkg_failed = untried; then
16811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16813 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
16814 is in your PATH or set the PKG_CONFIG environment variable to the full
16815 path to pkg-config.
16816
16817 Alternatively, you may set the environment variables IBUS_CFLAGS
16818 and IBUS_LIBS to avoid the need to call pkg-config.
16819 See the pkg-config man page for more details.
1682016833
1682116834 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16822 See \`config.log' for more details." "$LINENO" 5; }
16835 See \`config.log' for more details" "$LINENO" 5; }
16836
1682316837 else
1682416838 IBUS_CFLAGS=$pkg_cv_IBUS_CFLAGS
1682516839 IBUS_LIBS=$pkg_cv_IBUS_LIBS
1682616840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1682716841 $as_echo "yes" >&6; }
16828 :
16842
1682916843 fi
1683016844 { $as_echo "$as_me:${as_lineno-$LINENO}: IBUS version is old" >&5
1683116845 $as_echo "$as_me: IBUS version is old" >&6;}
1689516909
1689616910
1689716911 if test $pkg_failed = yes; then
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16913 $as_echo "no" >&6; }
1689816914
1689916915 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1690016916 _pkg_short_errors_supported=yes
1691316929 # Put the nasty error message in config.log where it belongs
1691416930 echo "$INPUT_PAD_PKG_ERRORS" >&5
1691516931
16916 as_fn_error "Package requirements (
16932 as_fn_error $? "Package requirements (
1691716933 input-pad
1691816934 ) were not met:
1691916935
1692116937
1692216938 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1692316939 installed software in a non-standard prefix.
16940
16941 Alternatively, you may set the environment variables INPUT_PAD_CFLAGS
16942 and INPUT_PAD_LIBS to avoid the need to call pkg-config.
16943 See the pkg-config man page for more details." "$LINENO" 5
16944
16945 elif test $pkg_failed = untried; then
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16947 $as_echo "no" >&6; }
16948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16950 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16951 is in your PATH or set the PKG_CONFIG environment variable to the full
16952 path to pkg-config.
1692416953
1692516954 Alternatively, you may set the environment variables INPUT_PAD_CFLAGS
1692616955 and INPUT_PAD_LIBS to avoid the need to call pkg-config.
1692716956 See the pkg-config man page for more details.
16928 " "$LINENO" 5
16929 elif test $pkg_failed = untried; then
16930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16932 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
16933 is in your PATH or set the PKG_CONFIG environment variable to the full
16934 path to pkg-config.
16935
16936 Alternatively, you may set the environment variables INPUT_PAD_CFLAGS
16937 and INPUT_PAD_LIBS to avoid the need to call pkg-config.
16938 See the pkg-config man page for more details.
1693916957
1694016958 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16941 See \`config.log' for more details." "$LINENO" 5; }
16959 See \`config.log' for more details" "$LINENO" 5; }
16960
1694216961 else
1694316962 INPUT_PAD_CFLAGS=$pkg_cv_INPUT_PAD_CFLAGS
1694416963 INPUT_PAD_LIBS=$pkg_cv_INPUT_PAD_LIBS
1694516964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1694616965 $as_echo "yes" >&6; }
16947 :
16966
1694816967 fi
1694916968
1695016969 GETTEXT_PACKAGE=ibus-input-pad
1776617785
1776717786 ac_libobjs=
1776817787 ac_ltlibobjs=
17788 U=
1776917789 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1777017790 # 1. Remove the extension, and $U if already installed.
1777117791 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1778917809 fi
1779017810
1779117811 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17792 as_fn_error "conditional \"AMDEP\" was never defined.
17812 as_fn_error $? "conditional \"AMDEP\" was never defined.
1779317813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1779417814 fi
1779517815 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17796 as_fn_error "conditional \"am__fastdepCC\" was never defined.
17816 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1779717817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1779817818 fi
1779917819 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17800 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
17820 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
1780117821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1780217822 fi
1780317823 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17804 as_fn_error "conditional \"am__fastdepCC\" was never defined.
17824 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1780517825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1780617826 fi
1780717827 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17808 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
17828 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
1780917829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1781017830 fi
17811 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17812 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
17831
17832 ac_config_commands="$ac_config_commands po/stamp-it"
17833
17834
17835 if test -z "${HAVE_GTK3_TRUE}" && test -z "${HAVE_GTK3_FALSE}"; then
17836 as_fn_error $? "conditional \"HAVE_GTK3\" was never defined.
1781317837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1781417838 fi
17815
17816 ac_config_commands="$ac_config_commands po/stamp-it"
17817
17818
17839 if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then
17840 as_fn_error $? "conditional \"HAVE_GTK2\" was never defined.
17841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17842 fi
17843 if test -z "${HAVE_GTK3_TRUE}" && test -z "${HAVE_GTK3_FALSE}"; then
17844 as_fn_error $? "conditional \"HAVE_GTK3\" was never defined.
17845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17846 fi
17847 if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then
17848 as_fn_error $? "conditional \"HAVE_GTK2\" was never defined.
17849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17850 fi
1781917851
1782017852 : ${CONFIG_STATUS=./config.status}
1782117853 ac_write_fail=0
1796317995 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1796417996
1796517997
17966 # as_fn_error ERROR [LINENO LOG_FD]
17967 # ---------------------------------
17998 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17999 # ----------------------------------------
1796818000 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
1796918001 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17970 # script with status $?, using 1 if that was 0.
18002 # script with STATUS, using 1 if that was 0.
1797118003 as_fn_error ()
1797218004 {
17973 as_status=$?; test $as_status -eq 0 && as_status=1
17974 if test "$3"; then
17975 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17976 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
18005 as_status=$1; test $as_status -eq 0 && as_status=1
18006 if test "$4"; then
18007 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18008 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1797718009 fi
17978 $as_echo "$as_me: error: $1" >&2
18010 $as_echo "$as_me: error: $2" >&2
1797918011 as_fn_exit $as_status
1798018012 } # as_fn_error
1798118013
1817118203 test -d "$as_dir" && break
1817218204 done
1817318205 test -z "$as_dirs" || eval "mkdir $as_dirs"
18174 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
18206 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1817518207
1817618208
1817718209 } # as_fn_mkdir_p
1822418256 # report actual input values of CONFIG_FILES etc. instead of their
1822518257 # values after options handling.
1822618258 ac_log="
18227 This file was extended by ibus-input-pad $as_me 0.1.4, which was
18228 generated by GNU Autoconf 2.65. Invocation command line was
18259 This file was extended by ibus-input-pad $as_me 1.4.0, which was
18260 generated by GNU Autoconf 2.66. Invocation command line was
1822918261
1823018262 CONFIG_FILES = $CONFIG_FILES
1823118263 CONFIG_HEADERS = $CONFIG_HEADERS
1829018322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1829118323 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1829218324 ac_cs_version="\\
18293 ibus-input-pad config.status 0.1.4
18294 configured by $0, generated by GNU Autoconf 2.65,
18325 ibus-input-pad config.status 1.4.0
18326 configured by $0, generated by GNU Autoconf 2.66,
1829518327 with options \\"\$ac_cs_config\\"
1829618328
18297 Copyright (C) 2009 Free Software Foundation, Inc.
18329 Copyright (C) 2010 Free Software Foundation, Inc.
1829818330 This config.status script is free software; the Free Software Foundation
1829918331 gives unlimited permission to copy, distribute and modify it."
1830018332
1835018382 ac_need_defaults=false;;
1835118383 --he | --h)
1835218384 # Conflict between --help and --header
18353 as_fn_error "ambiguous option: \`$1'
18385 as_fn_error $? "ambiguous option: \`$1'
1835418386 Try \`$0 --help' for more information.";;
1835518387 --help | --hel | -h )
1835618388 $as_echo "$ac_cs_usage"; exit ;;
1835918391 ac_cs_silent=: ;;
1836018392
1836118393 # This is an error.
18362 -*) as_fn_error "unrecognized option: \`$1'
18394 -*) as_fn_error $? "unrecognized option: \`$1'
1836318395 Try \`$0 --help' for more information." ;;
1836418396
1836518397 *) as_fn_append ac_config_targets " $1"
1841318445 sed_quote_subst='$sed_quote_subst'
1841418446 double_quote_subst='$double_quote_subst'
1841518447 delay_variable_subst='$delay_variable_subst'
18416 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18417 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18418 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18419 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18420 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18421 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18422 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18423 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18424 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18425 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18426 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18427 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18428 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18429 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18430 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18431 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18432 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18433 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18434 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18435 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18436 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18437 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18438 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18439 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18440 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18441 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18442 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18443 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18444 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18445 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18446 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18447 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18448 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18449 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18450 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18451 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18452 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18453 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18454 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18455 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18456 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18457 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18458 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18459 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18460 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
18461 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18462 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18463 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18464 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18465 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18466 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18467 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18468 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18469 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18470 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18471 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18472 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18473 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18474 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18475 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18476 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18477 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18478 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18479 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18480 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18481 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18482 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18483 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18484 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18485 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18486 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18487 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18488 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18489 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18490 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18491 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18492 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18493 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18494 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18495 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18496 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18497 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18498 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18499 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18500 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18501 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18502 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18503 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18504 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18505 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18506 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18507 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18508 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18509 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18510 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18511 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18512 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18513 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18514 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18515 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18516 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18517 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18518 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18519 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18520 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18521 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18522 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18523 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18524 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18525 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18526 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18527 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18528 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18529 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18530 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18531 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18532 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18533 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18534 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
18535 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
18536 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
18537 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
18538 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
18539 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
18540 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18541 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18542 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18543 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18544 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18545 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18546 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18547 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18548 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18549 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18550 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18551 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18552 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18553 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18554 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18555 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18556 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18557 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18558 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18559 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18560 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18561 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18562 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18563 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18564 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18565 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18566 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18567 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18568 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18569 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18570 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18571 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18572 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18573 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18574 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18575 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18576 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18577 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18578 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18579 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18580 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18581 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18582 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18583 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18584 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18585 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18586 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18448 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18449 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18450 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18451 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18452 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18453 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18454 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18455 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18456 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18457 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18458 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18459 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18460 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18461 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18462 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18463 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18464 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18465 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18466 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18467 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18468 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18469 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18470 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18471 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18472 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18473 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18474 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18475 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18476 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18477 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18478 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18479 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18480 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18481 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18482 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18483 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18484 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18485 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18486 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18487 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18488 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18489 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18490 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18491 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18492 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18493 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18494 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18495 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18496 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
18497 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18498 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18499 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18500 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18501 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18502 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18503 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18504 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18505 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18506 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18507 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18508 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18509 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18510 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18511 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18512 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18513 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18514 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18515 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18516 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18517 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18518 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18519 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18520 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18521 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18522 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18523 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18524 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18525 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18526 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18527 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18528 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18529 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18530 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18531 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18532 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18533 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18534 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18535 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18536 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18537 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18538 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18539 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18540 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18541 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18542 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18543 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18544 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18545 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18546 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18547 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18548 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18549 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18550 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18551 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18552 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18553 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18554 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18555 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18556 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18557 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18558 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18559 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18560 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18561 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18562 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18563 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18564 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18565 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18566 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18567 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18568 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18569 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18570 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18571 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18572 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18573 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18574 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18575 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18576 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18577 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18578 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18579 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18580 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18581 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18582 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18583 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18584 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18585 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18586 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18587 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18588 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18589 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18590 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18591 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18592 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18593 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18594 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18595 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18596 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18597 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18598 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18599 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18600 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18601 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18602 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18603 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18604 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18605 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18606 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18607 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18608 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18609 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18610 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18611 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18612 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18613 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18614 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18615 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18616 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18617 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18618 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18619 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18620 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18621 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18622 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
1858718623
1858818624 LTCC='$LTCC'
1858918625 LTCFLAGS='$LTCFLAGS'
1859018626 compiler='$compiler_DEFAULT'
1859118627
18628 # A function that is used when there is no print builtin or printf.
18629 func_fallback_echo ()
18630 {
18631 eval 'cat <<_LTECHO_EOF
18632 \$1
18633 _LTECHO_EOF'
18634 }
18635
1859218636 # Quote evaled strings.
18593 for var in SED \
18637 for var in SHELL \
18638 ECHO \
18639 SED \
1859418640 GREP \
1859518641 EGREP \
1859618642 FGREP \
1861418660 lt_cv_sys_global_symbol_to_cdecl \
1861518661 lt_cv_sys_global_symbol_to_c_name_address \
1861618662 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18617 SHELL \
18618 ECHO \
1861918663 lt_prog_compiler_no_builtin_flag \
1862018664 lt_prog_compiler_wl \
1862118665 lt_prog_compiler_pic \
1864518689 libname_spec \
1864618690 library_names_spec \
1864718691 soname_spec \
18692 install_override_mode \
1864818693 finish_eval \
1864918694 old_striplib \
1865018695 striplib \
1865518700 postdeps \
1865618701 compiler_lib_search_path \
1865718702 LD_CXX \
18703 reload_flag_CXX \
1865818704 compiler_CXX \
1865918705 lt_prog_compiler_no_builtin_flag_CXX \
1866018706 lt_prog_compiler_wl_CXX \
1868018726 predeps_CXX \
1868118727 postdeps_CXX \
1868218728 compiler_lib_search_path_CXX; do
18683 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18729 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1868418730 *[\\\\\\\`\\"\\\$]*)
18685 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18731 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1868618732 ;;
1868718733 *)
1868818734 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1870918755 finish_cmds \
1871018756 sys_lib_search_path_spec \
1871118757 sys_lib_dlsearch_path_spec \
18758 reload_cmds_CXX \
1871218759 old_archive_cmds_CXX \
1871318760 old_archive_from_new_cmds_CXX \
1871418761 old_archive_from_expsyms_cmds_CXX \
1871818765 module_expsym_cmds_CXX \
1871918766 export_symbols_cmds_CXX \
1872018767 prelink_cmds_CXX; do
18721 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18768 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1872218769 *[\\\\\\\`\\"\\\$]*)
18723 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18770 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1872418771 ;;
1872518772 *)
1872618773 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
1872718774 ;;
1872818775 esac
1872918776 done
18730
18731 # Fix-up fallback echo if it was mangled by the above quoting rules.
18732 case \$lt_ECHO in
18733 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18734 ;;
18735 esac
1873618777
1873718778 ac_aux_dir='$ac_aux_dir'
1873818779 xsi_shell='$xsi_shell'
1877618817 "setup/Makefile") CONFIG_FILES="$CONFIG_FILES setup/Makefile" ;;
1877718818 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
1877818819
18779 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18820 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1878018821 esac
1878118822 done
1878218823
1881418855 {
1881518856 tmp=./conf$$-$RANDOM
1881618857 (umask 077 && mkdir "$tmp")
18817 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
18858 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
1881818859
1881918860 # Set up the scripts for CONFIG_FILES section.
1882018861 # No need to generate them if there are no CONFIG_FILES.
1883118872 fi
1883218873 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
1883318874 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18834 ac_cs_awk_cr='\r'
18875 ac_cs_awk_cr='\\r'
1883518876 else
1883618877 ac_cs_awk_cr=$ac_cr
1883718878 fi
1884518886 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
1884618887 echo "_ACEOF"
1884718888 } >conf$$subs.sh ||
18848 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18849 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18889 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18890 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1885018891 ac_delim='%!_!# '
1885118892 for ac_last_try in false false false false false :; do
1885218893 . ./conf$$subs.sh ||
18853 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18894 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1885418895
1885518896 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
1885618897 if test $ac_delim_n = $ac_delim_num; then
1885718898 break
1885818899 elif $ac_last_try; then
18859 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18900 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1886018901 else
1886118902 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1886218903 fi
1894518986 else
1894618987 cat
1894718988 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18948 || as_fn_error "could not setup config files machinery" "$LINENO" 5
18989 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1894918990 _ACEOF
1895018991
18951 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18952 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18992 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18993 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1895318994 # trailing colons and then remove the whole line if VPATH becomes empty
1895418995 # (actually we leave an empty line to preserve line numbers).
1895518996 if test "x$srcdir" = x.; then
18956 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18957 s/:*\$(srcdir):*/:/
18958 s/:*\${srcdir}:*/:/
18959 s/:*@srcdir@:*/:/
18960 s/^\([^=]*=[ ]*\):*/\1/
18997 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18998 h
18999 s///
19000 s/^/:/
19001 s/[ ]*$/:/
19002 s/:\$(srcdir):/:/g
19003 s/:\${srcdir}:/:/g
19004 s/:@srcdir@:/:/g
19005 s/^:*//
1896119006 s/:*$//
19007 x
19008 s/\(=[ ]*\).*/\1/
19009 G
19010 s/\n//
1896219011 s/^[^=]*=[ ]*$//
1896319012 }'
1896419013 fi
1898619035 if test -z "$ac_t"; then
1898719036 break
1898819037 elif $ac_last_try; then
18989 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
19038 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
1899019039 else
1899119040 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1899219041 fi
1907119120 _ACAWK
1907219121 _ACEOF
1907319122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19074 as_fn_error "could not setup config headers machinery" "$LINENO" 5
19123 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1907519124 fi # test -n "$CONFIG_HEADERS"
1907619125
1907719126
1908419133 esac
1908519134 case $ac_mode$ac_tag in
1908619135 :[FHL]*:*);;
19087 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
19136 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1908819137 :[FH]-) ac_tag=-:-;;
1908919138 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1909019139 esac
1911219161 [\\/$]*) false;;
1911319162 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1911419163 esac ||
19115 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19164 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1911619165 esac
1911719166 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1911819167 as_fn_append ac_file_inputs " '$ac_f'"
1913919188
1914019189 case $ac_tag in
1914119190 *:-:* | *:-) cat >"$tmp/stdin" \
19142 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
19191 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1914319192 esac
1914419193 ;;
1914519194 esac
1927619325 $ac_datarootdir_hack
1927719326 "
1927819327 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19279 || as_fn_error "could not create $ac_file" "$LINENO" 5
19328 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1928019329
1928119330 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1928219331 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1928319332 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1928419333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19285 which seems to be undefined. Please make sure it is defined." >&5
19334 which seems to be undefined. Please make sure it is defined" >&5
1928619335 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19287 which seems to be undefined. Please make sure it is defined." >&2;}
19336 which seems to be undefined. Please make sure it is defined" >&2;}
1928819337
1928919338 rm -f "$tmp/stdin"
1929019339 case $ac_file in
1929119340 -) cat "$tmp/out" && rm -f "$tmp/out";;
1929219341 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1929319342 esac \
19294 || as_fn_error "could not create $ac_file" "$LINENO" 5
19343 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1929519344 ;;
1929619345 :H)
1929719346 #
1930219351 $as_echo "/* $configure_input */" \
1930319352 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1930419353 } >"$tmp/config.h" \
19305 || as_fn_error "could not create $ac_file" "$LINENO" 5
19354 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1930619355 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1930719356 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1930819357 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1930919358 else
1931019359 rm -f "$ac_file"
1931119360 mv "$tmp/config.h" "$ac_file" \
19312 || as_fn_error "could not create $ac_file" "$LINENO" 5
19361 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1931319362 fi
1931419363 else
1931519364 $as_echo "/* $configure_input */" \
1931619365 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19317 || as_fn_error "could not create -" "$LINENO" 5
19366 || as_fn_error $? "could not create -" "$LINENO" 5
1931819367 fi
1931919368 # Compute "$ac_file"'s index in $config_headers.
1932019369 _am_arg="$ac_file"
1947519524 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1947619525 #
1947719526 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19478 # 2006, 2007, 2008 Free Software Foundation, Inc.
19527 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
19528 # Inc.
1947919529 # Written by Gordon Matzigkeit, 1996
1948019530 #
1948119531 # This file is part of GNU Libtool.
1952319573 # Whether or not to optimize for fast installation.
1952419574 fast_install=$enable_fast_install
1952519575
19576 # Shell to use when invoking shell scripts.
19577 SHELL=$lt_SHELL
19578
19579 # An echo program that protects backslashes.
19580 ECHO=$lt_ECHO
19581
1952619582 # The host system.
1952719583 host_alias=$host_alias
1952819584 host=$host
1957219628 # turn newlines into spaces.
1957319629 NL2SP=$lt_lt_NL2SP
1957419630
19575 # How to create reloadable object files.
19576 reload_flag=$lt_reload_flag
19577 reload_cmds=$lt_reload_cmds
19578
1957919631 # An object symbol dumper.
1958019632 OBJDUMP=$lt_OBJDUMP
1958119633
1959719649 old_postinstall_cmds=$lt_old_postinstall_cmds
1959819650 old_postuninstall_cmds=$lt_old_postuninstall_cmds
1959919651
19652 # Whether to use a lock for old archive extraction.
19653 lock_old_archive_extraction=$lock_old_archive_extraction
19654
1960019655 # A C compiler.
1960119656 LTCC=$lt_CC
1960219657
1961719672
1961819673 # The name of the directory that contains temporary libtool files.
1961919674 objdir=$objdir
19620
19621 # Shell to use when invoking shell scripts.
19622 SHELL=$lt_SHELL
19623
19624 # An echo program that does not interpret backslashes.
19625 ECHO=$lt_ECHO
1962619675
1962719676 # Used to examine libraries when file_magic_cmd begins with "file".
1962819677 MAGIC_CMD=$MAGIC_CMD
1968619735 # The coded name of the library, if different from the real name.
1968719736 soname_spec=$lt_soname_spec
1968819737
19738 # Permission mode override for installation of shared libraries.
19739 install_override_mode=$lt_install_override_mode
19740
1968919741 # Command to use after installation of a shared archive.
1969019742 postinstall_cmds=$lt_postinstall_cmds
1969119743
1972419776
1972519777 # The linker used to build libraries.
1972619778 LD=$lt_LD
19779
19780 # How to create reloadable object files.
19781 reload_flag=$lt_reload_flag
19782 reload_cmds=$lt_reload_cmds
1972719783
1972819784 # Commands used to build an old-style archive.
1972919785 old_archive_cmds=$lt_old_archive_cmds
1999820054 func_dirname ()
1999920055 {
2000020056 # Extract subdirectory from the argument.
20001 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20057 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
2000220058 if test "X$func_dirname_result" = "X${1}"; then
2000320059 func_dirname_result="${3}"
2000420060 else
2000920065 # func_basename file
2001020066 func_basename ()
2001120067 {
20012 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20068 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
2001320069 }
2001420070
2001520071
2002220078 func_stripname ()
2002320079 {
2002420080 case ${2} in
20025 .*) func_stripname_result=`$ECHO "X${3}" \
20026 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20027 *) func_stripname_result=`$ECHO "X${3}" \
20028 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20081 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
20082 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
2002920083 esac
2003020084 }
2003120085
2003620090 # func_opt_split
2003720091 func_opt_split ()
2003820092 {
20039 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20040 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20093 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
20094 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
2004120095 }
2004220096
2004320097 # func_lo2o object
2004420098 func_lo2o ()
2004520099 {
20046 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20100 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
2004720101 }
2004820102
2004920103 # func_xform libobj-or-source
2005020104 func_xform ()
2005120105 {
20052 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20106 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
2005320107 }
2005420108
2005520109 # func_arith arithmetic-term...
2011020164 # The linker used to build libraries.
2011120165 LD=$lt_LD_CXX
2011220166
20167 # How to create reloadable object files.
20168 reload_flag=$lt_reload_flag_CXX
20169 reload_cmds=$lt_reload_cmds_CXX
20170
2011320171 # Commands used to build an old-style archive.
2011420172 old_archive_cmds=$lt_old_archive_cmds_CXX
2011520173
2026120319 esac ;;
2026220320 "po/stamp-it":C)
2026320321 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
20264 as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
20322 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
2026520323 fi
2026620324 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
2026720325 >"po/stamp-it.tmp"
2028920347 ac_clean_files=$ac_clean_files_save
2029020348
2029120349 test $ac_write_fail = 0 ||
20292 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
20350 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2029320351
2029420352
2029520353 # configure is writing to config.log, and then calls config.status.
2031020368 exec 5>>config.log
2031120369 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2031220370 # would make configure fail if this is the last instruction.
20313 $ac_cs_success || as_fn_exit $?
20371 $ac_cs_success || as_fn_exit 1
2031420372 fi
2031520373 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2031620374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2031720375 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2031820376 fi
2031920377
20378 echo "
20379 ibus-input-pad version 1.4.0
20380
20381
20382 libinput_pad version: $libinput_pad_VERSION
20383 GTK+ version: $with_gtk
20384 "
2020
2121 dnl - if not 1, append datestamp to the version number.
2222 m4_define([ibus_released], [1])
23 m4_define([ibus_major_version], [0])
24 m4_define([ibus_minor_version], [1])
25 m4_define([ibus_micro_version], [4])
23 m4_define([ibus_major_version], [1])
24 m4_define([ibus_minor_version], [4])
25 m4_define([ibus_micro_version], [0])
2626 m4_define(ibus_maybe_datestamp,
2727 m4_esyscmd([if test x]ibus_released[ != x1; then date +.%Y%m%d | tr -d '\n\r'; fi]))
2828
6565 glib-2.0 >= 2.8
6666 ])
6767
68 PKG_CHECK_MODULES(GTK2, [
69 gtk+-2.0
70 ])
68 dnl - check gtk
69 AC_ARG_WITH([gtk],
70 [AS_HELP_STRING([--with-gtk=2.0|3.0],
71 [Select GTK+ version. The default is 2.0])],
72 [case "$with_gtk" in
73 2.0|3.0) ;;
74 *) AC_MSG_ERROR([invalid gtk version specified]) ;;
75 esac],
76 [with_gtk=2.0]
77 )
78
79 case "$with_gtk" in
80 2.0)
81 PKG_CHECK_MODULES(GTK2, [
82 gtk+-2.0
83 ])
84 AM_CONDITIONAL(HAVE_GTK3, false)
85 AM_CONDITIONAL(HAVE_GTK2, true)
86 ;;
87 3.0)
88 PKG_CHECK_MODULES(GTK3, [
89 gtk+-3.0
90 ])
91 AM_CONDITIONAL(HAVE_GTK3, true)
92 AM_CONDITIONAL(HAVE_GTK2, false)
93 ;;
94 esac
7195
7296 m4_define([ibus_pc_name], [ibus-1.0])
7397 PKG_CHECK_MODULES(IBUS,
99123 ])
100124
101125 AC_OUTPUT
126 echo "
127 ibus-input-pad version ibus_version
128
129
130 libinput_pad version: $libinput_pad_VERSION
131 GTK+ version: $with_gtk
132 "
166166 GREP = @GREP@
167167 GTK2_CFLAGS = @GTK2_CFLAGS@
168168 GTK2_LIBS = @GTK2_LIBS@
169 GTK3_CFLAGS = @GTK3_CFLAGS@
170 GTK3_LIBS = @GTK3_LIBS@
169171 IBUS_CFLAGS = @IBUS_CFLAGS@
170172 IBUS_LIBS = @IBUS_LIBS@
171173 INPUT_PAD_CFLAGS = @INPUT_PAD_CFLAGS@
211213 PACKAGE_VERSION = @PACKAGE_VERSION@
212214 PATH_SEPARATOR = @PATH_SEPARATOR@
213215 PKG_CONFIG = @PKG_CONFIG@
216 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
217 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
214218 POFILES = @POFILES@
215219 POSUB = @POSUB@
216220 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
261265 libinput_pad_VERSION = @libinput_pad_VERSION@
262266 localedir = @localedir@
263267 localstatedir = @localstatedir@
264 lt_ECHO = @lt_ECHO@
265268 mandir = @mandir@
266269 mkdir_p = @mkdir_p@
267270 oldincludedir = @oldincludedir@
+1187
-848
ltmain.sh less more
00 # Generated from ltmain.m4sh.
11
2 # ltmain.sh (GNU libtool) 2.2.6b
2 # libtool (GNU libtool) 2.2.10
33 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
44
5 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
5 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
6 # 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
67 # This is free software; see the source for copying conditions. There is NO
78 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
89
3132 #
3233 # Provide generalized library-building support services.
3334 #
34 # --config show all configuration variables
35 # --debug enable verbose shell tracing
36 # -n, --dry-run display commands without modifying any files
37 # --features display basic configuration information and exit
38 # --mode=MODE use operation mode MODE
39 # --preserve-dup-deps don't remove duplicate dependency libraries
40 # --quiet, --silent don't print informational messages
41 # --tag=TAG use configuration variables from tag TAG
42 # -v, --verbose print informational messages (default)
43 # --version print version information
44 # -h, --help print short or long help message
35 # --config show all configuration variables
36 # --debug enable verbose shell tracing
37 # -n, --dry-run display commands without modifying any files
38 # --features display basic configuration information and exit
39 # --mode=MODE use operation mode MODE
40 # --preserve-dup-deps don't remove duplicate dependency libraries
41 # --quiet, --silent don't print informational messages
42 # --no-quiet, --no-silent
43 # print informational messages (default)
44 # --tag=TAG use configuration variables from tag TAG
45 # -v, --verbose print more informational messages than default
46 # --no-verbose don't print the extra informational messages
47 # --version print version information
48 # -h, --help, --help-all print short, long, or detailed help message
4549 #
4650 # MODE must be one of the following:
4751 #
48 # clean remove files from the build directory
49 # compile compile a source file into a libtool object
50 # execute automatically set library path, then run a program
51 # finish complete the installation of libtool libraries
52 # install install libraries or executables
53 # link create a library or an executable
54 # uninstall remove libraries from an installed directory
52 # clean remove files from the build directory
53 # compile compile a source file into a libtool object
54 # execute automatically set library path, then run a program
55 # finish complete the installation of libtool libraries
56 # install install libraries or executables
57 # link create a library or an executable
58 # uninstall remove libraries from an installed directory
5559 #
56 # MODE-ARGS vary depending on the MODE.
60 # MODE-ARGS vary depending on the MODE. When passed as first option,
61 # `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
5762 # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
5863 #
5964 # When reporting a bug, please describe a test case to reproduce it and
6065 # include the following information:
6166 #
62 # host-triplet: $host
63 # shell: $SHELL
64 # compiler: $LTCC
65 # compiler flags: $LTCFLAGS
66 # linker: $LD (gnu? $with_gnu_ld)
67 # $progname: (GNU libtool) 2.2.6b
68 # automake: $automake_version
69 # autoconf: $autoconf_version
67 # host-triplet: $host
68 # shell: $SHELL
69 # compiler: $LTCC
70 # compiler flags: $LTCFLAGS
71 # linker: $LD (gnu? $with_gnu_ld)
72 # $progname: (GNU libtool) 2.2.10
73 # automake: $automake_version
74 # autoconf: $autoconf_version
7075 #
7176 # Report bugs to <bug-libtool@gnu.org>.
7277
73 PROGRAM=ltmain.sh
78 PROGRAM=libtool
7479 PACKAGE=libtool
75 VERSION=2.2.6b
80 VERSION=2.2.10
7681 TIMESTAMP=""
77 package_revision=1.3017
82 package_revision=1.3175
7883
7984 # Be Bourne compatible
8085 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9095 BIN_SH=xpg4; export BIN_SH # for Tru64
9196 DUALCASE=1; export DUALCASE # for MKS sh
9297
98 # A function that is used when there is no print builtin or printf.
99 func_fallback_echo ()
100 {
101 eval 'cat <<_LTECHO_EOF
102 $1
103 _LTECHO_EOF'
104 }
105
93106 # NLS nuisances: We save the old values to restore during execute mode.
94 # Only set LANG and LC_ALL to C if already set.
95 # These must not be set unconditionally because not all systems understand
96 # e.g. LANG=C (notably SCO).
97107 lt_user_locale=
98108 lt_safe_locale=
99109 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
106116 lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
107117 fi"
108118 done
119 LC_ALL=C
120 LANGUAGE=C
121 export LANGUAGE LC_ALL
109122
110123 $lt_unset CDPATH
111124
112125
126 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
127 # is ksh but when the shell is invoked as "sh" and the current value of
128 # the _XPG environment variable is not equal to 1 (one), the special
129 # positional parameter $0, within a function call, is the name of the
130 # function.
131 progpath="$0"
113132
114133
115134
116135 : ${CP="cp -f"}
117 : ${ECHO="echo"}
136 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
118137 : ${EGREP="/bin/grep -E"}
119138 : ${FGREP="/bin/grep -F"}
120139 : ${GREP="/bin/grep"}
158177 func_dirname_and_basename ()
159178 {
160179 # Extract subdirectory from the argument.
161 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
180 func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
162181 if test "X$func_dirname_result" = "X${1}"; then
163182 func_dirname_result="${3}"
164183 else
165184 func_dirname_result="$func_dirname_result${2}"
166185 fi
167 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
186 func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
168187 }
169188
170189 # Generated shell functions inserted here.
171190
172 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
173 # is ksh but when the shell is invoked as "sh" and the current value of
174 # the _XPG environment variable is not equal to 1 (one), the special
175 # positional parameter $0, within a function call, is the name of the
176 # function.
177 progpath="$0"
191 # These SED scripts presuppose an absolute path with a trailing slash.
192 pathcar='s,^/\([^/]*\).*$,\1,'
193 pathcdr='s,^/[^/]*,,'
194 removedotparts=':dotsl
195 s@/\./@/@g
196 t dotsl
197 s,/\.$,/,'
198 collapseslashes='s@/\{1,\}@/@g'
199 finalslash='s,/*$,/,'
200
201 # func_normal_abspath PATH
202 # Remove doubled-up and trailing slashes, "." path components,
203 # and cancel out any ".." path components in PATH after making
204 # it an absolute path.
205 # value returned in "$func_normal_abspath_result"
206 func_normal_abspath ()
207 {
208 # Start from root dir and reassemble the path.
209 func_normal_abspath_result=
210 func_normal_abspath_tpath=$1
211 func_normal_abspath_altnamespace=
212 case $func_normal_abspath_tpath in
213 "")
214 # Empty path, that just means $cwd.
215 func_stripname '' '/' "`pwd`"
216 func_normal_abspath_result=$func_stripname_result
217 return
218 ;;
219 # The next three entries are used to spot a run of precisely
220 # two leading slashes without using negated character classes;
221 # we take advantage of case's first-match behaviour.
222 ///*)
223 # Unusual form of absolute path, do nothing.
224 ;;
225 //*)
226 # Not necessarily an ordinary path; POSIX reserves leading '//'
227 # and for example Cygwin uses it to access remote file shares
228 # over CIFS/SMB, so we conserve a leading double slash if found.
229 func_normal_abspath_altnamespace=/
230 ;;
231 /*)
232 # Absolute path, do nothing.
233 ;;
234 *)
235 # Relative path, prepend $cwd.
236 func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
237 ;;
238 esac
239 # Cancel out all the simple stuff to save iterations. We also want
240 # the path to end with a slash for ease of parsing, so make sure
241 # there is one (and only one) here.
242 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
243 -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
244 while :; do
245 # Processed it all yet?
246 if test "$func_normal_abspath_tpath" = / ; then
247 # If we ascended to the root using ".." the result may be empty now.
248 if test -z "$func_normal_abspath_result" ; then
249 func_normal_abspath_result=/
250 fi
251 break
252 fi
253 func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
254 -e "$pathcar"`
255 func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
256 -e "$pathcdr"`
257 # Figure out what to do with it
258 case $func_normal_abspath_tcomponent in
259 "")
260 # Trailing empty path component, ignore it.
261 ;;
262 ..)
263 # Parent dir; strip last assembled component from result.
264 func_dirname "$func_normal_abspath_result"
265 func_normal_abspath_result=$func_dirname_result
266 ;;
267 *)
268 # Actual path component, append it.
269 func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
270 ;;
271 esac
272 done
273 # Restore leading double-slash if one was found on entry.
274 func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
275 }
276
277 # func_relative_path SRCDIR DSTDIR
278 # generates a relative path from SRCDIR to DSTDIR, with a trailing
279 # slash if non-empty, suitable for immediately appending a filename
280 # without needing to append a separator.
281 # value returned in "$func_relative_path_result"
282 func_relative_path ()
283 {
284 func_relative_path_result=
285 func_normal_abspath "$1"
286 func_relative_path_tlibdir=$func_normal_abspath_result
287 func_normal_abspath "$2"
288 func_relative_path_tbindir=$func_normal_abspath_result
289
290 # Ascend the tree starting from libdir
291 while :; do
292 # check if we have found a prefix of bindir
293 case $func_relative_path_tbindir in
294 $func_relative_path_tlibdir)
295 # found an exact match
296 func_relative_path_tcancelled=
297 break
298 ;;
299 $func_relative_path_tlibdir*)
300 # found a matching prefix
301 func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
302 func_relative_path_tcancelled=$func_stripname_result
303 if test -z "$func_relative_path_result"; then
304 func_relative_path_result=.
305 fi
306 break
307 ;;
308 *)
309 func_dirname $func_relative_path_tlibdir
310 func_relative_path_tlibdir=${func_dirname_result}
311 if test "x$func_relative_path_tlibdir" = x ; then
312 # Have to descend all the way to the root!
313 func_relative_path_result=../$func_relative_path_result
314 func_relative_path_tcancelled=$func_relative_path_tbindir
315 break
316 fi
317 func_relative_path_result=../$func_relative_path_result
318 ;;
319 esac
320 done
321
322 # Now calculate path; take care to avoid doubling-up slashes.
323 func_stripname '' '/' "$func_relative_path_result"
324 func_relative_path_result=$func_stripname_result
325 func_stripname '/' '/' "$func_relative_path_tcancelled"
326 if test "x$func_stripname_result" != x ; then
327 func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
328 fi
329
330 # Normalisation. If bindir is libdir, return empty string,
331 # else relative path ending with a slash; either way, target
332 # file name can be directly appended.
333 if test ! -z "$func_relative_path_result"; then
334 func_stripname './' '' "$func_relative_path_result/"
335 func_relative_path_result=$func_stripname_result
336 fi
337 }
178338
179339 # The name of this program:
180 # In the unlikely event $progname began with a '-', it would play havoc with
181 # func_echo (imagine progname=-n), so we prepend ./ in that case:
182340 func_dirname_and_basename "$progpath"
183341 progname=$func_basename_result
184 case $progname in
185 -*) progname=./$progname ;;
186 esac
187342
188343 # Make sure we have an absolute path for reexecution:
189344 case $progpath in
257412 :
258413 }
259414
415 # func_echo_all arg...
416 # Invoke $ECHO with all args, space-separated.
417 func_echo_all ()
418 {
419 $ECHO "$*"
420 }
421
260422 # func_error arg...
261423 # Echo program name prefixed message to standard error.
262424 func_error ()
325487 case $my_directory_path in */*) ;; *) break ;; esac
326488
327489 # ...otherwise throw away the child directory and loop
328 my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
490 my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
329491 done
330 my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
492 my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
331493
332494 save_mkdir_p_IFS="$IFS"; IFS=':'
333495 for my_dir in $my_dir_list; do
377539 func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
378540 fi
379541
380 $ECHO "X$my_tmpdir" | $Xsed
542 $ECHO "$my_tmpdir"
381543 }
382544
383545
391553 {
392554 case $1 in
393555 *[\\\`\"\$]*)
394 func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
556 func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
395557 *)
396558 func_quote_for_eval_unquoted_result="$1" ;;
397559 esac
418580 {
419581 case $1 in
420582 *[\\\`\"]*)
421 my_arg=`$ECHO "X$1" | $Xsed \
583 my_arg=`$ECHO "$1" | $SED \
422584 -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
423585 *)
424586 my_arg="$1" ;;
488650 }
489651
490652
491
492
493
494653 # func_version
495654 # Echo version message to standard output and exit.
496655 func_version ()
497656 {
498 $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
657 $SED -n '/(C)/!b go
658 :more
659 /\./!{
660 N
661 s/\n# / /
662 b more
663 }
664 :go
665 /^# '$PROGRAM' (GNU /,/# warranty; / {
499666 s/^# //
500667 s/^# *$//
501668 s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
508675 # Echo short help message to standard output and exit.
509676 func_usage ()
510677 {
511 $SED -n '/^# Usage:/,/# -h/ {
678 $SED -n '/^# Usage:/,/^# *.*--help/ {
512679 s/^# //
513680 s/^# *$//
514681 s/\$progname/'$progname'/
515682 p
516683 }' < "$progpath"
517 $ECHO
684 echo
518685 $ECHO "run \`$progname --help | more' for full usage"
519686 exit $?
520687 }
521688
522 # func_help
523 # Echo long help message to standard output and exit.
689 # func_help [NOEXIT]
690 # Echo long help message to standard output and exit,
691 # unless 'noexit' is passed as argument.
524692 func_help ()
525693 {
526694 $SED -n '/^# Usage:/,/# Report bugs to/ {
537705 s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
538706 p
539707 }' < "$progpath"
540 exit $?
708 ret=$?
709 if test -z "$1"; then
710 exit $ret
711 fi
541712 }
542713
543714 # func_missing_arg argname
545716 # exit_cmd.
546717 func_missing_arg ()
547718 {
548 func_error "missing argument for $1"
719 func_error "missing argument for $1."
549720 exit_cmd=exit
550721 }
551722
555726
556727
557728
558 # Check that we have a working $ECHO.
559 if test "X$1" = X--no-reexec; then
560 # Discard the --no-reexec flag, and continue.
561 shift
562 elif test "X$1" = X--fallback-echo; then
563 # Avoid inline document here, it may be left over
564 :
565 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
566 # Yippee, $ECHO works!
567 :
568 else
569 # Restart under the correct shell, and then maybe $ECHO will work.
570 exec $SHELL "$progpath" --no-reexec ${1+"$@"}
571 fi
572
573 if test "X$1" = X--fallback-echo; then
574 # used as fallback echo
575 shift
576 cat <<EOF
577 $*
578 EOF
579 exit $EXIT_SUCCESS
580 fi
581729
582730 magic="%%%MAGIC variable%%%"
583731 magic_exe="%%%MAGIC EXE variable%%%"
635783 # Display the features supported by this script.
636784 func_features ()
637785 {
638 $ECHO "host: $host"
786 echo "host: $host"
639787 if test "$build_libtool_libs" = yes; then
640 $ECHO "enable shared libraries"
788 echo "enable shared libraries"
641789 else
642 $ECHO "disable shared libraries"
790 echo "disable shared libraries"
643791 fi
644792 if test "$build_old_libs" = yes; then
645 $ECHO "enable static libraries"
793 echo "enable static libraries"
646794 else
647 $ECHO "disable static libraries"
795 echo "disable static libraries"
648796 fi
649797
650798 exit $?
771919
772920 --quiet|--silent) preserve_args="$preserve_args $opt"
773921 opt_silent=:
922 opt_verbose=false
923 ;;
924
925 --no-quiet|--no-silent)
926 preserve_args="$preserve_args $opt"
927 opt_silent=false
774928 ;;
775929
776930 --verbose| -v) preserve_args="$preserve_args $opt"
777931 opt_silent=false
932 opt_verbose=:
933 ;;
934
935 --no-verbose) preserve_args="$preserve_args $opt"
936 opt_verbose=false
778937 ;;
779938
780939 --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
792951
793952 -\?|-h) func_usage ;;
794953 --help) opt_help=: ;;
954 --help-all) opt_help=': help-all' ;;
795955 --version) func_version ;;
796956
797957 -*) func_fatal_help "unrecognized option \`$opt'" ;;
10151175 func_quote_for_eval "$arg"
10161176 CC_quoted="$CC_quoted $func_quote_for_eval_result"
10171177 done
1178 CC_expanded=`func_echo_all $CC`
1179 CC_quoted_expanded=`func_echo_all $CC_quoted`
10181180 case $@ in
10191181 # Blanks in the command may have been stripped by the calling shell,
10201182 # but not from the CC environment variable when configure was run.
1021 " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
1183 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
1184 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
10221185 # Blanks at the start of $base_compile will cause this to fail
10231186 # if we don't check for them as well.
10241187 *)
10321195 func_quote_for_eval "$arg"
10331196 CC_quoted="$CC_quoted $func_quote_for_eval_result"
10341197 done
1198 CC_expanded=`func_echo_all $CC`
1199 CC_quoted_expanded=`func_echo_all $CC_quoted`
10351200 case "$@ " in
1036 " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
1201 " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
1202 " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
10371203 # The compiler in the base compile command matches
10381204 # the one in the tagged configuration.
10391205 # Assume this is the tagged configuration we want.
12121378 *.[cCFSifmso] | \
12131379 *.ada | *.adb | *.ads | *.asm | \
12141380 *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
1215 *.[fF][09]? | *.for | *.java | *.obj | *.sx)
1381 *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
12161382 func_xform "$libobj"
12171383 libobj=$func_xform_result
12181384 ;;
12871453 # Calculate the filename of the output object if compiler does
12881454 # not support -o with -c
12891455 if test "$compiler_c_o" = no; then
1290 output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
1456 output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
12911457 lockfile="$output_obj.lock"
12921458 else
12931459 output_obj=
14441610 }
14451611
14461612 $opt_help || {
1447 test "$mode" = compile && func_mode_compile ${1+"$@"}
1613 test "$mode" = compile && func_mode_compile ${1+"$@"}
14481614 }
14491615
14501616 func_mode_help ()
14811647
14821648 -o OUTPUT-FILE set the output file name to OUTPUT-FILE
14831649 -no-suppress do not suppress compiler output for multiple passes
1484 -prefer-pic try to building PIC objects only
1485 -prefer-non-pic try to building non-PIC objects only
1650 -prefer-pic try to build PIC objects only
1651 -prefer-non-pic try to build non-PIC objects only
14861652 -shared do not build a \`.o' file suitable for static linking
14871653 -static only build a \`.o' file suitable for static linking
1654 -Wc,FLAG pass FLAG directly to the compiler
14881655
14891656 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
14901657 from the given SOURCEFILE.
15371704
15381705 The following components of INSTALL-COMMAND are treated specially:
15391706
1540 -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
1707 -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
15411708
15421709 The rest of the components are interpreted as arguments to that command (only
15431710 BSD-compatible install options are recognized)."
15571724
15581725 -all-static do not do any dynamic linking at all
15591726 -avoid-version do not add a version suffix if possible
1727 -bindir BINDIR specify path to binaries directory (for systems where
1728 libraries must be found in the PATH setting at runtime)
15601729 -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
15611730 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
15621731 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
15851754 -version-info CURRENT[:REVISION[:AGE]]
15861755 specify library version info [each variable defaults to 0]
15871756 -weak LIBNAME declare that the target provides the LIBNAME interface
1757 -Wc,FLAG
1758 -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
1759 -Wl,FLAG
1760 -Xlinker FLAG pass linker-specific FLAG directly to the linker
1761 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
15881762
15891763 All other options (arguments beginning with \`-') are ignored.
15901764
16221796 ;;
16231797 esac
16241798
1625 $ECHO
1799 echo
16261800 $ECHO "Try \`$progname --help' for more information about other modes."
1627
1628 exit $?
16291801 }
16301802
1631 # Now that we've collected a possible --mode arg, show help if necessary
1632 $opt_help && func_mode_help
1803 # Now that we've collected a possible --mode arg, show help if necessary
1804 if $opt_help; then
1805 if test "$opt_help" = :; then
1806 func_mode_help
1807 else
1808 {
1809 func_help noexit
1810 for mode in compile link execute install finish uninstall clean; do
1811 func_mode_help
1812 done
1813 } | sed -n '1p; 2,$s/^Usage:/ or: /p'
1814 {
1815 func_help noexit
1816 for mode in compile link execute install finish uninstall clean; do
1817 echo
1818 func_mode_help
1819 done
1820 } |
1821 sed '1d
1822 /^When reporting/,/^Report/{
1823 H
1824 d
1825 }
1826 $x
1827 /information about other modes/d
1828 /more detailed .*MODE/d
1829 s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
1830 fi
1831 exit $?
1832 fi
16331833
16341834
16351835 # func_mode_execute arg...
17111911 for file
17121912 do
17131913 case $file in
1714 -*) ;;
1914 -* | *.la | *.lo ) ;;
17151915 *)
17161916 # Do a test to see if this is really a libtool program.
17171917 if func_ltwrapper_script_p "$file"; then
17531953 # Display what would be done.
17541954 if test -n "$shlibpath_var"; then
17551955 eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
1756 $ECHO "export $shlibpath_var"
1956 echo "export $shlibpath_var"
17571957 fi
17581958 $ECHO "$cmd$args"
17591959 exit $EXIT_SUCCESS
17941994 # Exit here if they wanted silent mode.
17951995 $opt_silent && exit $EXIT_SUCCESS
17961996
1797 $ECHO "X----------------------------------------------------------------------" | $Xsed
1798 $ECHO "Libraries have been installed in:"
1997 echo "----------------------------------------------------------------------"
1998 echo "Libraries have been installed in:"
17991999 for libdir in $libdirs; do
18002000 $ECHO " $libdir"
18012001 done
1802 $ECHO
1803 $ECHO "If you ever happen to want to link against installed libraries"
1804 $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
1805 $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
1806 $ECHO "flag during linking and do at least one of the following:"
2002 echo
2003 echo "If you ever happen to want to link against installed libraries"
2004 echo "in a given directory, LIBDIR, you must either use libtool, and"
2005 echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
2006 echo "flag during linking and do at least one of the following:"
18072007 if test -n "$shlibpath_var"; then
1808 $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
1809 $ECHO " during execution"
2008 echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
2009 echo " during execution"
18102010 fi
18112011 if test -n "$runpath_var"; then
1812 $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
1813 $ECHO " during linking"
2012 echo " - add LIBDIR to the \`$runpath_var' environment variable"
2013 echo " during linking"
18142014 fi
18152015 if test -n "$hardcode_libdir_flag_spec"; then
18162016 libdir=LIBDIR
18222022 $ECHO " - have your system administrator run these commands:$admincmds"
18232023 fi
18242024 if test -f /etc/ld.so.conf; then
1825 $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
2025 echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
18262026 fi
1827 $ECHO
1828
1829 $ECHO "See any operating system documentation about shared libraries for"
2027 echo
2028
2029 echo "See any operating system documentation about shared libraries for"
18302030 case $host in
18312031 solaris2.[6789]|solaris2.1[0-9])
1832 $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
1833 $ECHO "pages."
2032 echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
2033 echo "pages."
18342034 ;;
18352035 *)
1836 $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
2036 echo "more information, such as the ld(1) and ld.so(8) manual pages."
18372037 ;;
18382038 esac
1839 $ECHO "X----------------------------------------------------------------------" | $Xsed
2039 echo "----------------------------------------------------------------------"
18402040 exit $EXIT_SUCCESS
18412041 }
18422042
18512051 # install_prog (especially on Windows NT).
18522052 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
18532053 # Allow the use of GNU shtool's install command.
1854 $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
2054 case $nonopt in *shtool*) :;; *) false;; esac; then
18552055 # Aesthetically quote it.
18562056 func_quote_for_eval "$nonopt"
18572057 install_prog="$func_quote_for_eval_result "
18662066 # Aesthetically quote it.
18672067 func_quote_for_eval "$arg"
18682068 install_prog="$install_prog$func_quote_for_eval_result"
2069 install_shared_prog=$install_prog
2070 case " $install_prog " in
2071 *[\\\ /]cp\ *) install_cp=: ;;
2072 *) install_cp=false ;;
2073 esac
18692074
18702075 # We need to accept at least all the BSD install flags.
18712076 dest=
18752080 install_type=
18762081 isdir=no
18772082 stripme=
2083 no_mode=:
18782084 for arg
18792085 do
2086 arg2=
18802087 if test -n "$dest"; then
18812088 files="$files $dest"
18822089 dest=$arg
18862093 case $arg in
18872094 -d) isdir=yes ;;
18882095 -f)
1889 case " $install_prog " in
1890 *[\\\ /]cp\ *) ;;
1891 *) prev=$arg ;;
1892 esac
2096 if $install_cp; then :; else
2097 prev=$arg
2098 fi
18932099 ;;
18942100 -g | -m | -o)
18952101 prev=$arg
19032109 *)
19042110 # If the previous option needed an argument, then skip it.
19052111 if test -n "$prev"; then
2112 if test "x$prev" = x-m && test -n "$install_override_mode"; then
2113 arg2=$install_override_mode
2114 no_mode=false
2115 fi
19062116 prev=
19072117 else
19082118 dest=$arg
19142124 # Aesthetically quote the argument.
19152125 func_quote_for_eval "$arg"
19162126 install_prog="$install_prog $func_quote_for_eval_result"
2127 if test -n "$arg2"; then
2128 func_quote_for_eval "$arg2"
2129 fi
2130 install_shared_prog="$install_shared_prog $func_quote_for_eval_result"
19172131 done
19182132
19192133 test -z "$install_prog" && \
19212135
19222136 test -n "$prev" && \
19232137 func_fatal_help "the \`$prev' option requires an argument"
2138
2139 if test -n "$install_override_mode" && $no_mode; then
2140 if $install_cp; then :; else
2141 func_quote_for_eval "$install_override_mode"
2142 install_shared_prog="$install_shared_prog -m $func_quote_for_eval_result"
2143 fi
2144 fi
19242145
19252146 if test -z "$files"; then
19262147 if test -z "$dest"; then
20092230
20102231 if test -n "$relink_command"; then
20112232 # Determine the prefix the user has applied to our future dir.
2012 inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
2233 inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
20132234
20142235 # Don't allow the user to place us outside of our expected
20152236 # location b/c this prevents finding dependent libraries that
20222243
20232244 if test -n "$inst_prefix_dir"; then
20242245 # Stick the inst_prefix_dir data into the link command.
2025 relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
2246 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
20262247 else
2027 relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
2248 relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
20282249 fi
20292250
20302251 func_warning "relinking \`$file'"
20422263 test -n "$relink_command" && srcname="$realname"T
20432264
20442265 # Install the shared library and build the symlinks.
2045 func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
2266 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
20462267 'exit $?'
20472268 tstripme="$stripme"
20482269 case $host_os in
21822403 if test -f "$lib"; then
21832404 func_source "$lib"
21842405 fi
2185 libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
2406 libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
21862407 if test -n "$libdir" && test ! -f "$libfile"; then
21872408 func_warning "\`$lib' has not been installed in \`$libdir'"
21882409 finalize=no
22012422 file="$func_basename_result"
22022423 outputname="$tmpdir/$file"
22032424 # Replace the output file specification.
2204 relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
2425 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
22052426
22062427 $opt_silent || {
22072428 func_quote_for_expand "$relink_command"
22202441 }
22212442 else
22222443 # Install the binary that we compiled earlier.
2223 file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
2444 file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
22242445 fi
22252446 fi
22262447
23222543 extern \"C\" {
23232544 #endif
23242545
2546 #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
2547 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
2548 #endif
2549
23252550 /* External symbol declarations for the compiler. */\
23262551 "
23272552
23312556 $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
23322557
23332558 # Add our own program objects to the symbol list.
2334 progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
2559 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
23352560 for progfile in $progfiles; do
23362561 func_verbose "extracting global C symbols from \`$progfile'"
23372562 $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
23702595 eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
23712596 eval '$MV "$nlist"T "$nlist"'
23722597 case $host in
2373 *cygwin | *mingw* | *cegcc* )
2598 *cygwin* | *mingw* | *cegcc* )
23742599 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
23752600 eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
23762601 ;;
24142639 if test -f "$nlist"S; then
24152640 eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
24162641 else
2417 $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
2642 echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
24182643 fi
24192644
2420 $ECHO >> "$output_objdir/$my_dlsyms" "\
2645 echo >> "$output_objdir/$my_dlsyms" "\
24212646
24222647 /* The mapping between symbol names and symbols. */
24232648 typedef struct {
24272652 "
24282653 case $host in
24292654 *cygwin* | *mingw* | *cegcc* )
2430 $ECHO >> "$output_objdir/$my_dlsyms" "\
2655 echo >> "$output_objdir/$my_dlsyms" "\
24312656 /* DATA imports from DLLs on WIN32 con't be const, because
24322657 runtime relocations are performed -- see ld's documentation
24332658 on pseudo-relocs. */"
24402665 lt_dlsym_const=const ;;
24412666 esac
24422667
2443 $ECHO >> "$output_objdir/$my_dlsyms" "\
2668 echo >> "$output_objdir/$my_dlsyms" "\
24442669 extern $lt_dlsym_const lt_dlsymlist
24452670 lt_${my_prefix}_LTX_preloaded_symbols[];
24462671 $lt_dlsym_const lt_dlsymlist
24562681 eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
24572682 ;;
24582683 esac
2459 $ECHO >> "$output_objdir/$my_dlsyms" "\
2684 echo >> "$output_objdir/$my_dlsyms" "\
24602685 {0, (void *) 0}
24612686 };
24622687
25142739 case $host in
25152740 *cygwin* | *mingw* | *cegcc* )
25162741 if test -f "$output_objdir/$my_outputname.def"; then
2517 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
2518 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
2742 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
2743 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
25192744 else
2520 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2521 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2745 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
2746 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
25222747 fi
25232748 ;;
25242749 *)
2525 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2526 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
2750 compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
2751 finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
25272752 ;;
25282753 esac
25292754 ;;
25372762 # really was required.
25382763
25392764 # Nullify the symbol file.
2540 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
2541 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
2765 compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
2766 finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
25422767 fi
25432768 }
25442769
25482773 # Need a lot of goo to handle *both* DLLs and import libs
25492774 # Has to be a shell function in order to 'eat' the argument
25502775 # that is supplied when $file_magic_command is called.
2776 # Despite the name, also deal with 64 bit binaries.
25512777 func_win32_libid ()
25522778 {
25532779 $opt_debug
25582784 win32_libid_type="x86 archive import"
25592785 ;;
25602786 *ar\ archive*) # could be an import, or static
2787 # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
25612788 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
2562 $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
2789 $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
25632790 win32_nmres=`eval $NM -f posix -A $1 |
25642791 $SED -n -e '
25652792 1,100{
25972824 $opt_debug
25982825 f_ex_an_ar_dir="$1"; shift
25992826 f_ex_an_ar_oldlib="$1"
2600 func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
2827 if test "$lock_old_archive_extraction" = yes; then
2828 lockfile=$f_ex_an_ar_oldlib.lock
2829 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
2830 func_echo "Waiting for $lockfile to be removed"
2831 sleep 2
2832 done
2833 fi
2834 func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
2835 'stat=$?; rm -f "$lockfile"; exit $stat'
2836 if test "$lock_old_archive_extraction" = yes; then
2837 $opt_dry_run || rm -f "$lockfile"
2838 fi
26012839 if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
26022840 :
26032841 else
26682906 darwin_file=
26692907 darwin_files=
26702908 for darwin_file in $darwin_filelist; do
2671 darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
2909 darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
26722910 $LIPO -create -output "$darwin_file" $darwin_files
26732911 done # $darwin_filelist
26742912 $RM -rf unfat-$$
26832921 func_extract_an_archive "$my_xdir" "$my_xabs"
26842922 ;;
26852923 esac
2686 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
2924 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
26872925 done
26882926
26892927 func_extract_archives_result="$my_oldobjs"
26902928 }
2691
2692
2693
2694 # func_emit_wrapper_part1 [arg=no]
2695 #
2696 # Emit the first part of a libtool wrapper script on stdout.
2697 # For more information, see the description associated with
2698 # func_emit_wrapper(), below.
2699 func_emit_wrapper_part1 ()
2700 {
2701 func_emit_wrapper_part1_arg1=no
2702 if test -n "$1" ; then
2703 func_emit_wrapper_part1_arg1=$1
2704 fi
2705
2706 $ECHO "\
2707 #! $SHELL
2708
2709 # $output - temporary wrapper script for $objdir/$outputname
2710 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
2711 #
2712 # The $output program cannot be directly executed until all the libtool
2713 # libraries that it depends on are installed.
2714 #
2715 # This wrapper script should never be moved out of the build directory.
2716 # If it is, it will not operate correctly.
2717
2718 # Sed substitution that helps us do robust quoting. It backslashifies
2719 # metacharacters that are still active within double-quoted strings.
2720 Xsed='${SED} -e 1s/^X//'
2721 sed_quote_subst='$sed_quote_subst'
2722
2723 # Be Bourne compatible
2724 if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
2725 emulate sh
2726 NULLCMD=:
2727 # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
2728 # is contrary to our usage. Disable this feature.
2729 alias -g '\${1+\"\$@\"}'='\"\$@\"'
2730 setopt NO_GLOB_SUBST
2731 else
2732 case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
2733 fi
2734 BIN_SH=xpg4; export BIN_SH # for Tru64
2735 DUALCASE=1; export DUALCASE # for MKS sh
2736
2737 # The HP-UX ksh and POSIX shell print the target directory to stdout
2738 # if CDPATH is set.
2739 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2740
2741 relink_command=\"$relink_command\"
2742
2743 # This environment variable determines our operation mode.
2744 if test \"\$libtool_install_magic\" = \"$magic\"; then
2745 # install mode needs the following variables:
2746 generated_by_libtool_version='$macro_version'
2747 notinst_deplibs='$notinst_deplibs'
2748 else
2749 # When we are sourced in execute mode, \$file and \$ECHO are already set.
2750 if test \"\$libtool_execute_magic\" != \"$magic\"; then
2751 ECHO=\"$qecho\"
2752 file=\"\$0\"
2753 # Make sure echo works.
2754 if test \"X\$1\" = X--no-reexec; then
2755 # Discard the --no-reexec flag, and continue.
2756 shift
2757 elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
2758 # Yippee, \$ECHO works!
2759 :
2760 else
2761 # Restart under the correct shell, and then maybe \$ECHO will work.
2762 exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
2763 fi
2764 fi\
2765 "
2766 $ECHO "\
2767
2768 # Find the directory that this script lives in.
2769 thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
2770 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
2771
2772 # Follow symbolic links until we get to the real thisdir.
2773 file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
2774 while test -n \"\$file\"; do
2775 destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
2776
2777 # If there was a directory component, then change thisdir.
2778 if test \"x\$destdir\" != \"x\$file\"; then
2779 case \"\$destdir\" in
2780 [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
2781 *) thisdir=\"\$thisdir/\$destdir\" ;;
2782 esac
2783 fi
2784
2785 file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
2786 file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
2787 done
2788 "
2789 }
2790 # end: func_emit_wrapper_part1
2791
2792 # func_emit_wrapper_part2 [arg=no]
2793 #
2794 # Emit the second part of a libtool wrapper script on stdout.
2795 # For more information, see the description associated with
2796 # func_emit_wrapper(), below.
2797 func_emit_wrapper_part2 ()
2798 {
2799 func_emit_wrapper_part2_arg1=no
2800 if test -n "$1" ; then
2801 func_emit_wrapper_part2_arg1=$1
2802 fi
2803
2804 $ECHO "\
2805
2806 # Usually 'no', except on cygwin/mingw when embedded into
2807 # the cwrapper.
2808 WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
2809 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
2810 # special case for '.'
2811 if test \"\$thisdir\" = \".\"; then
2812 thisdir=\`pwd\`
2813 fi
2814 # remove .libs from thisdir
2815 case \"\$thisdir\" in
2816 *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
2817 $objdir ) thisdir=. ;;
2818 esac
2819 fi
2820
2821 # Try to get the absolute directory name.
2822 absdir=\`cd \"\$thisdir\" && pwd\`
2823 test -n \"\$absdir\" && thisdir=\"\$absdir\"
2824 "
2825
2826 if test "$fast_install" = yes; then
2827 $ECHO "\
2828 program=lt-'$outputname'$exeext
2829 progdir=\"\$thisdir/$objdir\"
2830
2831 if test ! -f \"\$progdir/\$program\" ||
2832 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
2833 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
2834
2835 file=\"\$\$-\$program\"
2836
2837 if test ! -d \"\$progdir\"; then
2838 $MKDIR \"\$progdir\"
2839 else
2840 $RM \"\$progdir/\$file\"
2841 fi"
2842
2843 $ECHO "\
2844
2845 # relink executable if necessary
2846 if test -n \"\$relink_command\"; then
2847 if relink_command_output=\`eval \$relink_command 2>&1\`; then :
2848 else
2849 $ECHO \"\$relink_command_output\" >&2
2850 $RM \"\$progdir/\$file\"
2851 exit 1
2852 fi
2853 fi
2854
2855 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
2856 { $RM \"\$progdir/\$program\";
2857 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
2858 $RM \"\$progdir/\$file\"
2859 fi"
2860 else
2861 $ECHO "\
2862 program='$outputname'
2863 progdir=\"\$thisdir/$objdir\"
2864 "
2865 fi
2866
2867 $ECHO "\
2868
2869 if test -f \"\$progdir/\$program\"; then"
2870
2871 # Export our shlibpath_var if we have one.
2872 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
2873 $ECHO "\
2874 # Add our own library path to $shlibpath_var
2875 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
2876
2877 # Some systems cannot cope with colon-terminated $shlibpath_var
2878 # The second colon is a workaround for a bug in BeOS R4 sed
2879 $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
2880
2881 export $shlibpath_var
2882 "
2883 fi
2884
2885 # fixup the dll searchpath if we need to.
2886 if test -n "$dllsearchpath"; then
2887 $ECHO "\
2888 # Add the dll search path components to the executable PATH
2889 PATH=$dllsearchpath:\$PATH
2890 "
2891 fi
2892
2893 $ECHO "\
2894 if test \"\$libtool_execute_magic\" != \"$magic\"; then
2895 # Run the actual program with our arguments.
2896 "
2897 case $host in
2898 # Backslashes separate directories on plain windows
2899 *-*-mingw | *-*-os2* | *-cegcc*)
2900 $ECHO "\
2901 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
2902 "
2903 ;;
2904
2905 *)
2906 $ECHO "\
2907 exec \"\$progdir/\$program\" \${1+\"\$@\"}
2908 "
2909 ;;
2910 esac
2911 $ECHO "\
2912 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
2913 exit 1
2914 fi
2915 else
2916 # The program doesn't exist.
2917 \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
2918 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
2919 $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
2920 exit 1
2921 fi
2922 fi\
2923 "
2924 }
2925 # end: func_emit_wrapper_part2
29262929
29272930
29282931 # func_emit_wrapper [arg=no]
29412944 # behavior.
29422945 func_emit_wrapper ()
29432946 {
2944 func_emit_wrapper_arg1=no
2945 if test -n "$1" ; then
2946 func_emit_wrapper_arg1=$1
2947 func_emit_wrapper_arg1=${1-no}
2948
2949 $ECHO "\
2950 #! $SHELL
2951
2952 # $output - temporary wrapper script for $objdir/$outputname
2953 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
2954 #
2955 # The $output program cannot be directly executed until all the libtool
2956 # libraries that it depends on are installed.
2957 #
2958 # This wrapper script should never be moved out of the build directory.
2959 # If it is, it will not operate correctly.
2960
2961 # Sed substitution that helps us do robust quoting. It backslashifies
2962 # metacharacters that are still active within double-quoted strings.
2963 sed_quote_subst='$sed_quote_subst'
2964
2965 # Be Bourne compatible
2966 if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
2967 emulate sh
2968 NULLCMD=:
2969 # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
2970 # is contrary to our usage. Disable this feature.
2971 alias -g '\${1+\"\$@\"}'='\"\$@\"'
2972 setopt NO_GLOB_SUBST
2973 else
2974 case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
2975 fi
2976 BIN_SH=xpg4; export BIN_SH # for Tru64
2977 DUALCASE=1; export DUALCASE # for MKS sh
2978
2979 # The HP-UX ksh and POSIX shell print the target directory to stdout
2980 # if CDPATH is set.
2981 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2982
2983 relink_command=\"$relink_command\"
2984
2985 # This environment variable determines our operation mode.
2986 if test \"\$libtool_install_magic\" = \"$magic\"; then
2987 # install mode needs the following variables:
2988 generated_by_libtool_version='$macro_version'
2989 notinst_deplibs='$notinst_deplibs'
2990 else
2991 # When we are sourced in execute mode, \$file and \$ECHO are already set.
2992 if test \"\$libtool_execute_magic\" != \"$magic\"; then
2993 file=\"\$0\""
2994
2995 qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
2996 $ECHO "\
2997
2998 # A function that is used when there is no print builtin or printf.
2999 func_fallback_echo ()
3000 {
3001 eval 'cat <<_LTECHO_EOF
3002 \$1
3003 _LTECHO_EOF'
3004 }
3005 ECHO=\"$qECHO\"
3006 fi
3007
3008 # Very basic option parsing. These options are (a) specific to
3009 # the libtool wrapper, (b) are identical between the wrapper
3010 # /script/ and the wrapper /executable/ which is used only on
3011 # windows platforms, and (c) all begin with the string "--lt-"
3012 # (application programs are unlikely to have options which match
3013 # this pattern).
3014 #
3015 # There are only two supported options: --lt-debug and
3016 # --lt-dump-script. There is, deliberately, no --lt-help.
3017 #
3018 # The first argument to this parsing function should be the
3019 # script's $0 value, followed by "$@".
3020 lt_option_debug=
3021 func_parse_lt_options ()
3022 {
3023 lt_script_arg0=\$0
3024 shift
3025 for lt_opt
3026 do
3027 case \"\$lt_opt\" in
3028 --lt-debug) lt_option_debug=1 ;;
3029 --lt-dump-script)
3030 lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
3031 test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
3032 lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
3033 cat \"\$lt_dump_D/\$lt_dump_F\"
3034 exit 0
3035 ;;
3036 --lt-*)
3037 \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
3038 exit 1
3039 ;;
3040 esac
3041 done
3042
3043 # Print the debug banner immediately:
3044 if test -n \"\$lt_option_debug\"; then
3045 echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
3046 fi
3047 }
3048
3049 # Used when --lt-debug. Prints its arguments to stdout
3050 # (redirection is the responsibility of the caller)
3051 func_lt_dump_args ()
3052 {
3053 lt_dump_args_N=1;
3054 for lt_arg
3055 do
3056 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
3057 lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
3058 done
3059 }
3060
3061 # Core function for launching the target application
3062 func_exec_program_core ()
3063 {
3064 "
3065 case $host in
3066 # Backslashes separate directories on plain windows
3067 *-*-mingw | *-*-os2* | *-cegcc*)
3068 $ECHO "\
3069 if test -n \"\$lt_option_debug\"; then
3070 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
3071 func_lt_dump_args \${1+\"\$@\"} 1>&2
3072 fi
3073 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
3074 "
3075 ;;
3076
3077 *)
3078 $ECHO "\
3079 if test -n \"\$lt_option_debug\"; then
3080 \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
3081 func_lt_dump_args \${1+\"\$@\"} 1>&2
3082 fi
3083 exec \"\$progdir/\$program\" \${1+\"\$@\"}
3084 "
3085 ;;
3086 esac
3087 $ECHO "\
3088 \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
3089 exit 1
3090 }
3091
3092 # A function to encapsulate launching the target application
3093 # Strips options in the --lt-* namespace from \$@ and
3094 # launches target application with the remaining arguments.
3095 func_exec_program ()
3096 {
3097 for lt_wr_arg
3098 do
3099 case \$lt_wr_arg in
3100 --lt-*) ;;
3101 *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
3102 esac
3103 shift
3104 done
3105 func_exec_program_core \${1+\"\$@\"}
3106 }
3107
3108 # Parse options
3109 func_parse_lt_options \"\$0\" \${1+\"\$@\"}
3110
3111 # Find the directory that this script lives in.
3112 thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
3113 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
3114
3115 # Follow symbolic links until we get to the real thisdir.
3116 file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
3117 while test -n \"\$file\"; do
3118 destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
3119
3120 # If there was a directory component, then change thisdir.
3121 if test \"x\$destdir\" != \"x\$file\"; then
3122 case \"\$destdir\" in
3123 [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
3124 *) thisdir=\"\$thisdir/\$destdir\" ;;
3125 esac
3126 fi
3127
3128 file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
3129 file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
3130 done
3131
3132 # Usually 'no', except on cygwin/mingw when embedded into
3133 # the cwrapper.
3134 WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
3135 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
3136 # special case for '.'
3137 if test \"\$thisdir\" = \".\"; then
3138 thisdir=\`pwd\`
3139 fi
3140 # remove .libs from thisdir
3141 case \"\$thisdir\" in
3142 *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
3143 $objdir ) thisdir=. ;;
3144 esac
3145 fi
3146
3147 # Try to get the absolute directory name.
3148 absdir=\`cd \"\$thisdir\" && pwd\`
3149 test -n \"\$absdir\" && thisdir=\"\$absdir\"
3150 "
3151
3152 if test "$fast_install" = yes; then
3153 $ECHO "\
3154 program=lt-'$outputname'$exeext
3155 progdir=\"\$thisdir/$objdir\"
3156
3157 if test ! -f \"\$progdir/\$program\" ||
3158 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
3159 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
3160
3161 file=\"\$\$-\$program\"
3162
3163 if test ! -d \"\$progdir\"; then
3164 $MKDIR \"\$progdir\"
3165 else
3166 $RM \"\$progdir/\$file\"
3167 fi"
3168
3169 $ECHO "\
3170
3171 # relink executable if necessary
3172 if test -n \"\$relink_command\"; then
3173 if relink_command_output=\`eval \$relink_command 2>&1\`; then :
3174 else
3175 $ECHO \"\$relink_command_output\" >&2
3176 $RM \"\$progdir/\$file\"
3177 exit 1
3178 fi
3179 fi
3180
3181 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
3182 { $RM \"\$progdir/\$program\";
3183 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
3184 $RM \"\$progdir/\$file\"
3185 fi"
3186 else
3187 $ECHO "\
3188 program='$outputname'
3189 progdir=\"\$thisdir/$objdir\"
3190 "
29473191 fi
29483192
2949 # split this up so that func_emit_cwrapperexe_src
2950 # can call each part independently.
2951 func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
2952 func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
3193 $ECHO "\
3194
3195 if test -f \"\$progdir/\$program\"; then"
3196
3197 # Export our shlibpath_var if we have one.
3198 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
3199 $ECHO "\
3200 # Add our own library path to $shlibpath_var
3201 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
3202
3203 # Some systems cannot cope with colon-terminated $shlibpath_var
3204 # The second colon is a workaround for a bug in BeOS R4 sed
3205 $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
3206
3207 export $shlibpath_var
3208 "
3209 fi
3210
3211 # fixup the dll searchpath if we need to.
3212 if test -n "$dllsearchpath"; then
3213 $ECHO "\
3214 # Add the dll search path components to the executable PATH
3215 PATH=$dllsearchpath:\$PATH
3216 "
3217 fi
3218
3219 $ECHO "\
3220 if test \"\$libtool_execute_magic\" != \"$magic\"; then
3221 # Run the actual program with our arguments.
3222 func_exec_program \${1+\"\$@\"}
3223 fi
3224 else
3225 # The program doesn't exist.
3226 \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
3227 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
3228 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
3229 exit 1
3230 fi
3231 fi\
3232 "
29533233 }
29543234
29553235
29773257 func_to_host_path ()
29783258 {
29793259 func_to_host_path_result="$1"
2980 if test -n "$1" ; then
3260 if test -n "$1"; then
29813261 case $host in
29823262 *mingw* )
29833263 lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
29843264 case $build in
29853265 *mingw* ) # actually, msys
29863266 # awkward: cmd appends spaces to result
2987 lt_sed_strip_trailing_spaces="s/[ ]*\$//"
2988 func_to_host_path_tmp1=`( cmd //c echo "$1" |\
2989 $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
2990 func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
2991 $SED -e "$lt_sed_naive_backslashify"`
3267 func_to_host_path_result=`( cmd //c echo "$1" ) 2>/dev/null |
3268 $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
29923269 ;;
29933270 *cygwin* )
2994 func_to_host_path_tmp1=`cygpath -w "$1"`
2995 func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
2996 $SED -e "$lt_sed_naive_backslashify"`
3271 func_to_host_path_result=`cygpath -w "$1" |
3272 $SED -e "$lt_sed_naive_backslashify"`
29973273 ;;
29983274 * )
29993275 # Unfortunately, winepath does not exit with a non-zero
30053281 # the odd construction:
30063282 func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
30073283 if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
3008 func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
3284 func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |
30093285 $SED -e "$lt_sed_naive_backslashify"`
30103286 else
30113287 # Allow warning below.
3012 func_to_host_path_result=""
3288 func_to_host_path_result=
30133289 fi
30143290 ;;
30153291 esac
30163292 if test -z "$func_to_host_path_result" ; then
30173293 func_error "Could not determine host path corresponding to"
3018 func_error " '$1'"
3294 func_error " \`$1'"
30193295 func_error "Continuing, but uninstalled executables may not work."
30203296 # Fallback:
30213297 func_to_host_path_result="$1"
30483324 func_to_host_pathlist ()
30493325 {
30503326 func_to_host_pathlist_result="$1"
3051 if test -n "$1" ; then
3327 if test -n "$1"; then
30523328 case $host in
30533329 *mingw* )
30543330 lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
30553331 # Remove leading and trailing path separator characters from
30563332 # ARG. msys behavior is inconsistent here, cygpath turns them
30573333 # into '.;' and ';.', and winepath ignores them completely.
3058 func_to_host_pathlist_tmp2="$1"
3059 # Once set for this call, this variable should not be
3060 # reassigned. It is used in tha fallback case.
3061 func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
3062 $SED -e 's|^:*||' -e 's|:*$||'`
3334 func_stripname : : "$1"
3335 func_to_host_pathlist_tmp1=$func_stripname_result
30633336 case $build in
30643337 *mingw* ) # Actually, msys.
30653338 # Awkward: cmd appends spaces to result.
3066 lt_sed_strip_trailing_spaces="s/[ ]*\$//"
3067 func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
3068 $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
3069 func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
3070 $SED -e "$lt_sed_naive_backslashify"`
3339 func_to_host_pathlist_result=`
3340 ( cmd //c echo "$func_to_host_pathlist_tmp1" ) 2>/dev/null |
3341 $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
30713342 ;;
30723343 *cygwin* )
3073 func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
3074 func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
3344 func_to_host_pathlist_result=`cygpath -w -p "$func_to_host_pathlist_tmp1" |
30753345 $SED -e "$lt_sed_naive_backslashify"`
30763346 ;;
30773347 * )
30873357 if test -z "$func_to_host_pathlist_result" ; then
30883358 func_to_host_pathlist_result="$func_to_host_path_result"
30893359 else
3090 func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
3360 func_append func_to_host_pathlist_result ";$func_to_host_path_result"
30913361 fi
30923362 fi
30933363 fi
3094 IFS=:
30953364 done
30963365 IFS=$func_to_host_pathlist_oldIFS
30973366 ;;
30983367 esac
3099 if test -z "$func_to_host_pathlist_result" ; then
3368 if test -z "$func_to_host_pathlist_result"; then
31003369 func_error "Could not determine the host path(s) corresponding to"
3101 func_error " '$1'"
3370 func_error " \`$1'"
31023371 func_error "Continuing, but uninstalled executables may not work."
31033372 # Fallback. This may break if $1 contains DOS-style drive
31043373 # specifications. The fix is not to complicate the expression
31153384 ;;
31163385 esac
31173386 case "$1" in
3118 *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
3387 *: ) func_append func_to_host_pathlist_result ";"
31193388 ;;
31203389 esac
31213390 ;;
31403409
31413410 This wrapper executable should never be moved out of the build directory.
31423411 If it is, it will not operate correctly.
3143
3144 Currently, it simply execs the wrapper *script* "$SHELL $output",
3145 but could eventually absorb all of the scripts functionality and
3146 exec $objdir/$outputname directly.
31473412 */
31483413 EOF
31493414 cat <<"EOF"
3415 #ifdef _MSC_VER
3416 # define _CRT_SECURE_NO_DEPRECATE 1
3417 #endif
31503418 #include <stdio.h>
31513419 #include <stdlib.h>
31523420 #ifdef _MSC_VER
31533421 # include <direct.h>
31543422 # include <process.h>
31553423 # include <io.h>
3156 # define setmode _setmode
31573424 #else
31583425 # include <unistd.h>
31593426 # include <stdint.h>
31603427 # ifdef __CYGWIN__
31613428 # include <io.h>
3162 # define HAVE_SETENV
3163 # ifdef __STRICT_ANSI__
3164 char *realpath (const char *, char *);
3165 int putenv (char *);
3166 int setenv (const char *, const char *, int);
3167 # endif
31683429 # endif
31693430 #endif
31703431 #include <malloc.h>
31763437 #include <fcntl.h>
31773438 #include <sys/stat.h>
31783439
3440 /* declarations of non-ANSI functions */
3441 #if defined(__MINGW32__)
3442 # ifdef __STRICT_ANSI__
3443 int _putenv (const char *);
3444 # endif
3445 #elif defined(__CYGWIN__)
3446 # ifdef __STRICT_ANSI__
3447 char *realpath (const char *, char *);
3448 int putenv (char *);
3449 int setenv (const char *, const char *, int);
3450 # endif
3451 /* #elif defined (other platforms) ... */
3452 #endif
3453
3454 /* portability defines, excluding path handling macros */
3455 #if defined(_MSC_VER)
3456 # define setmode _setmode
3457 # define stat _stat
3458 # define chmod _chmod
3459 # define getcwd _getcwd
3460 # define putenv _putenv
3461 # define S_IXUSR _S_IEXEC
3462 # ifndef _INTPTR_T_DEFINED
3463 # define _INTPTR_T_DEFINED
3464 # define intptr_t int
3465 # endif
3466 #elif defined(__MINGW32__)
3467 # define setmode _setmode
3468 # define stat _stat
3469 # define chmod _chmod
3470 # define getcwd _getcwd
3471 # define putenv _putenv
3472 #elif defined(__CYGWIN__)
3473 # define HAVE_SETENV
3474 # define FOPEN_WB "wb"
3475 /* #elif defined (other platforms) ... */
3476 #endif
3477
31793478 #if defined(PATH_MAX)
31803479 # define LT_PATHMAX PATH_MAX
31813480 #elif defined(MAXPATHLEN)
31913490 # define S_IXGRP 0
31923491 #endif
31933492
3194 #ifdef _MSC_VER
3195 # define S_IXUSR _S_IEXEC
3196 # define stat _stat
3197 # ifndef _INTPTR_T_DEFINED
3198 # define intptr_t int
3199 # endif
3200 #endif
3201
3493 /* path handling portability macros */
32023494 #ifndef DIR_SEPARATOR
32033495 # define DIR_SEPARATOR '/'
32043496 # define PATH_SEPARATOR ':'
32293521 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
32303522 #endif /* PATH_SEPARATOR_2 */
32313523
3232 #ifdef __CYGWIN__
3233 # define FOPEN_WB "wb"
3234 #endif
3235
32363524 #ifndef FOPEN_WB
32373525 # define FOPEN_WB "w"
32383526 #endif
32453533 if (stale) { free ((void *) stale); stale = 0; } \
32463534 } while (0)
32473535
3248 #undef LTWRAPPER_DEBUGPRINTF
3249 #if defined DEBUGWRAPPER
3250 # define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
3251 static void
3252 ltwrapper_debugprintf (const char *fmt, ...)
3253 {
3254 va_list args;
3255 va_start (args, fmt);
3256 (void) vfprintf (stderr, fmt, args);
3257 va_end (args);
3258 }
3536 #if defined(LT_DEBUGWRAPPER)
3537 static int lt_debug = 1;
32593538 #else
3260 # define LTWRAPPER_DEBUGPRINTF(args)
3539 static int lt_debug = 0;
32613540 #endif
32623541
3263 const char *program_name = NULL;
3542 const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
32643543
32653544 void *xmalloc (size_t num);
32663545 char *xstrdup (const char *string);
32703549 int make_executable (const char *path);
32713550 int check_executable (const char *path);
32723551 char *strendzap (char *str, const char *pat);
3273 void lt_fatal (const char *message, ...);
3552 void lt_debugprintf (const char *file, int line, const char *fmt, ...);
3553 void lt_fatal (const char *file, int line, const char *message, ...);
3554 static const char *nonnull (const char *s);
3555 static const char *nonempty (const char *s);
32743556 void lt_setenv (const char *name, const char *value);
32753557 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
3276 void lt_opt_process_env_set (const char *arg);
3277 void lt_opt_process_env_prepend (const char *arg);
3278 void lt_opt_process_env_append (const char *arg);
3279 int lt_split_name_value (const char *arg, char** name, char** value);
32803558 void lt_update_exe_path (const char *name, const char *value);
32813559 void lt_update_lib_path (const char *name, const char *value);
3282
3283 static const char *script_text_part1 =
3560 char **prepare_spawn (char **argv);
3561 void lt_dump_script (FILE *f);
32843562 EOF
3285
3286 func_emit_wrapper_part1 yes |
3287 $SED -e 's/\([\\"]\)/\\\1/g' \
3288 -e 's/^/ "/' -e 's/$/\\n"/'
3289 echo ";"
3290 cat <<EOF
3291
3292 static const char *script_text_part2 =
3293 EOF
3294 func_emit_wrapper_part2 yes |
3295 $SED -e 's/\([\\"]\)/\\\1/g' \
3296 -e 's/^/ "/' -e 's/$/\\n"/'
3297 echo ";"
32983563
32993564 cat <<EOF
33003565 const char * MAGIC_EXE = "$magic_exe";
33393604 cat <<"EOF"
33403605
33413606 #define LTWRAPPER_OPTION_PREFIX "--lt-"
3342 #define LTWRAPPER_OPTION_PREFIX_LENGTH 5
3343
3344 static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
3607
33453608 static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
3346
33473609 static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
3348
3349 static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
3350 static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
3351 /* argument is putenv-style "foo=bar", value of foo is set to bar */
3352
3353 static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
3354 static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
3355 /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
3356
3357 static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
3358 static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
3359 /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
3610 static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
33603611
33613612 int
33623613 main (int argc, char *argv[])
33733624 int i;
33743625
33753626 program_name = (char *) xstrdup (base_name (argv[0]));
3376 LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
3377 LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
3378
3379 /* very simple arg parsing; don't want to rely on getopt */
3627 newargz = XMALLOC (char *, argc + 1);
3628
3629 /* very simple arg parsing; don't want to rely on getopt
3630 * also, copy all non cwrapper options to newargz, except
3631 * argz[0], which is handled differently
3632 */
3633 newargc=0;
33803634 for (i = 1; i < argc; i++)
33813635 {
33823636 if (strcmp (argv[i], dumpscript_opt) == 0)
33903644 esac
33913645
33923646 cat <<"EOF"
3393 printf ("%s", script_text_part1);
3394 printf ("%s", script_text_part2);
3647 lt_dump_script (stdout);
33953648 return 0;
33963649 }
3650 if (strcmp (argv[i], debug_opt) == 0)
3651 {
3652 lt_debug = 1;
3653 continue;
3654 }
3655 if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
3656 {
3657 /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
3658 namespace, but it is not one of the ones we know about and
3659 have already dealt with, above (inluding dump-script), then
3660 report an error. Otherwise, targets might begin to believe
3661 they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
3662 namespace. The first time any user complains about this, we'll
3663 need to make LTWRAPPER_OPTION_PREFIX a configure-time option
3664 or a configure.ac-settable value.
3665 */
3666 lt_fatal (__FILE__, __LINE__,
3667 "unrecognized %s option: '%s'",
3668 ltwrapper_option_prefix, argv[i]);
3669 }
3670 /* otherwise ... */
3671 newargz[++newargc] = xstrdup (argv[i]);
33973672 }
3398
3399 newargz = XMALLOC (char *, argc + 1);
3673 newargz[++newargc] = NULL;
3674
3675 EOF
3676 cat <<EOF
3677 /* The GNU banner must be the first non-error debug message */
3678 lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
3679 EOF
3680 cat <<"EOF"
3681 lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
3682 lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
3683
34003684 tmp_pathspec = find_executable (argv[0]);
34013685 if (tmp_pathspec == NULL)
3402 lt_fatal ("Couldn't find %s", argv[0]);
3403 LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
3404 tmp_pathspec));
3686 lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
3687 lt_debugprintf (__FILE__, __LINE__,
3688 "(main) found exe (before symlink chase) at: %s\n",
3689 tmp_pathspec);
34053690
34063691 actual_cwrapper_path = chase_symlinks (tmp_pathspec);
3407 LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
3408 actual_cwrapper_path));
3692 lt_debugprintf (__FILE__, __LINE__,
3693 "(main) found exe (after symlink chase) at: %s\n",
3694 actual_cwrapper_path);
34093695 XFREE (tmp_pathspec);
34103696
3411 actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
3697 actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
34123698 strendzap (actual_cwrapper_path, actual_cwrapper_name);
34133699
34143700 /* wrapper name transforms */
34263712 target_name = tmp_pathspec;
34273713 tmp_pathspec = 0;
34283714
3429 LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
3430 target_name));
3715 lt_debugprintf (__FILE__, __LINE__,
3716 "(main) libtool target name: %s\n",
3717 target_name);
34313718 EOF
34323719
34333720 cat <<EOF
34803767 lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
34813768 lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
34823769
3483 newargc=0;
3484 for (i = 1; i < argc; i++)
3485 {
3486 if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
3487 {
3488 if (argv[i][env_set_opt_len] == '=')
3489 {
3490 const char *p = argv[i] + env_set_opt_len + 1;
3491 lt_opt_process_env_set (p);
3492 }
3493 else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
3494 {
3495 lt_opt_process_env_set (argv[++i]); /* don't copy */
3496 }
3497 else
3498 lt_fatal ("%s missing required argument", env_set_opt);
3499 continue;
3500 }
3501 if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
3502 {
3503 if (argv[i][env_prepend_opt_len] == '=')
3504 {
3505 const char *p = argv[i] + env_prepend_opt_len + 1;
3506 lt_opt_process_env_prepend (p);
3507 }
3508 else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
3509 {
3510 lt_opt_process_env_prepend (argv[++i]); /* don't copy */
3511 }
3512 else
3513 lt_fatal ("%s missing required argument", env_prepend_opt);
3514 continue;
3515 }
3516 if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
3517 {
3518 if (argv[i][env_append_opt_len] == '=')
3519 {
3520 const char *p = argv[i] + env_append_opt_len + 1;
3521 lt_opt_process_env_append (p);
3522 }
3523 else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
3524 {
3525 lt_opt_process_env_append (argv[++i]); /* don't copy */
3526 }
3527 else
3528 lt_fatal ("%s missing required argument", env_append_opt);
3529 continue;
3530 }
3531 if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
3532 {
3533 /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
3534 namespace, but it is not one of the ones we know about and
3535 have already dealt with, above (inluding dump-script), then
3536 report an error. Otherwise, targets might begin to believe
3537 they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
3538 namespace. The first time any user complains about this, we'll
3539 need to make LTWRAPPER_OPTION_PREFIX a configure-time option
3540 or a configure.ac-settable value.
3541 */
3542 lt_fatal ("Unrecognized option in %s namespace: '%s'",
3543 ltwrapper_option_prefix, argv[i]);
3544 }
3545 /* otherwise ... */
3546 newargz[++newargc] = xstrdup (argv[i]);
3547 }
3548 newargz[++newargc] = NULL;
3549
3550 LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
3770 lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
3771 nonnull (lt_argv_zero));
35513772 for (i = 0; i < newargc; i++)
35523773 {
3553 LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
3774 lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
3775 i, nonnull (newargz[i]));
35543776 }
35553777
35563778 EOF
35593781 mingw*)
35603782 cat <<"EOF"
35613783 /* execv doesn't actually work on mingw as expected on unix */
3784 newargz = prepare_spawn (newargz);
35623785 rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
35633786 if (rval == -1)
35643787 {
35653788 /* failed to start process */
3566 LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
3789 lt_debugprintf (__FILE__, __LINE__,
3790 "(main) failed to launch target \"%s\": %s\n",
3791 lt_argv_zero, nonnull (strerror (errno)));
35673792 return 127;
35683793 }
35693794 return rval;
35853810 {
35863811 void *p = (void *) malloc (num);
35873812 if (!p)
3588 lt_fatal ("Memory exhausted");
3813 lt_fatal (__FILE__, __LINE__, "memory exhausted");
35893814
35903815 return p;
35913816 }
36193844 {
36203845 struct stat st;
36213846
3622 LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
3623 path ? (*path ? path : "EMPTY!") : "NULL!"));
3847 lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
3848 nonempty (path));
36243849 if ((!path) || (!*path))
36253850 return 0;
36263851
36373862 int rval = 0;
36383863 struct stat st;
36393864
3640 LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
3641 path ? (*path ? path : "EMPTY!") : "NULL!"));
3865 lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
3866 nonempty (path));
36423867 if ((!path) || (!*path))
36433868 return 0;
36443869
36643889 int tmp_len;
36653890 char *concat_name;
36663891
3667 LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
3668 wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
3892 lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
3893 nonempty (wrapper));
36693894
36703895 if ((wrapper == NULL) || (*wrapper == '\0'))
36713896 return NULL;
37183943 {
37193944 /* empty path: current directory */
37203945 if (getcwd (tmp, LT_PATHMAX) == NULL)
3721 lt_fatal ("getcwd failed");
3946 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
3947 nonnull (strerror (errno)));
37223948 tmp_len = strlen (tmp);
37233949 concat_name =
37243950 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
37433969 }
37443970 /* Relative path | not found in path: prepend cwd */
37453971 if (getcwd (tmp, LT_PATHMAX) == NULL)
3746 lt_fatal ("getcwd failed");
3972 lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
3973 nonnull (strerror (errno)));
37473974 tmp_len = strlen (tmp);
37483975 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
37493976 memcpy (concat_name, tmp, tmp_len);
37693996 int has_symlinks = 0;
37703997 while (strlen (tmp_pathspec) && !has_symlinks)
37713998 {
3772 LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
3773 tmp_pathspec));
3999 lt_debugprintf (__FILE__, __LINE__,
4000 "checking path component for symlinks: %s\n",
4001 tmp_pathspec);
37744002 if (lstat (tmp_pathspec, &s) == 0)
37754003 {
37764004 if (S_ISLNK (s.st_mode) != 0)
37924020 }
37934021 else
37944022 {
3795 char *errstr = strerror (errno);
3796 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
4023 lt_fatal (__FILE__, __LINE__,
4024 "error accessing file \"%s\": %s",
4025 tmp_pathspec, nonnull (strerror (errno)));
37974026 }
37984027 }
37994028 XFREE (tmp_pathspec);
38064035 tmp_pathspec = realpath (pathspec, buf);
38074036 if (tmp_pathspec == 0)
38084037 {
3809 lt_fatal ("Could not follow symlinks for %s", pathspec);
4038 lt_fatal (__FILE__, __LINE__,
4039 "could not follow symlinks for %s", pathspec);
38104040 }
38114041 return xstrdup (tmp_pathspec);
38124042 #endif
38324062 return str;
38334063 }
38344064
4065 void
4066 lt_debugprintf (const char *file, int line, const char *fmt, ...)
4067 {
4068 va_list args;
4069 if (lt_debug)
4070 {
4071 (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
4072 va_start (args, fmt);
4073 (void) vfprintf (stderr, fmt, args);
4074 va_end (args);
4075 }
4076 }
4077
38354078 static void
3836 lt_error_core (int exit_status, const char *mode,
4079 lt_error_core (int exit_status, const char *file,
4080 int line, const char *mode,
38374081 const char *message, va_list ap)
38384082 {
3839 fprintf (stderr, "%s: %s: ", program_name, mode);
4083 fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
38404084 vfprintf (stderr, message, ap);
38414085 fprintf (stderr, ".\n");
38424086
38454089 }
38464090
38474091 void
3848 lt_fatal (const char *message, ...)
4092 lt_fatal (const char *file, int line, const char *message, ...)
38494093 {
38504094 va_list ap;
38514095 va_start (ap, message);
3852 lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
4096 lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
38534097 va_end (ap);
4098 }
4099
4100 static const char *
4101 nonnull (const char *s)
4102 {
4103 return s ? s : "(null)";
4104 }
4105
4106 static const char *
4107 nonempty (const char *s)
4108 {
4109 return (s && !*s) ? "(empty)" : nonnull (s);
38544110 }
38554111
38564112 void
38574113 lt_setenv (const char *name, const char *value)
38584114 {
3859 LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
3860 (name ? name : "<NULL>"),
3861 (value ? value : "<NULL>")));
4115 lt_debugprintf (__FILE__, __LINE__,
4116 "(lt_setenv) setting '%s' to '%s'\n",
4117 nonnull (name), nonnull (value));
38624118 {
38634119 #ifdef HAVE_SETENV
38644120 /* always make a copy, for consistency with !HAVE_SETENV */
39034159 return new_value;
39044160 }
39054161
3906 int
3907 lt_split_name_value (const char *arg, char** name, char** value)
3908 {
3909 const char *p;
3910 int len;
3911 if (!arg || !*arg)
3912 return 1;
3913
3914 p = strchr (arg, (int)'=');
3915
3916 if (!p)
3917 return 1;
3918
3919 *value = xstrdup (++p);
3920
3921 len = strlen (arg) - strlen (*value);
3922 *name = XMALLOC (char, len);
3923 strncpy (*name, arg, len-1);
3924 (*name)[len - 1] = '\0';
3925
3926 return 0;
3927 }
3928
3929 void
3930 lt_opt_process_env_set (const char *arg)
3931 {
3932 char *name = NULL;
3933 char *value = NULL;
3934
3935 if (lt_split_name_value (arg, &name, &value) != 0)
3936 {
3937 XFREE (name);
3938 XFREE (value);
3939 lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
3940 }
3941
3942 lt_setenv (name, value);
3943 XFREE (name);
3944 XFREE (value);
3945 }
3946
3947 void
3948 lt_opt_process_env_prepend (const char *arg)
3949 {
3950 char *name = NULL;
3951 char *value = NULL;
3952 char *new_value = NULL;
3953
3954 if (lt_split_name_value (arg, &name, &value) != 0)
3955 {
3956 XFREE (name);
3957 XFREE (value);
3958 lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
3959 }
3960
3961 new_value = lt_extend_str (getenv (name), value, 0);
3962 lt_setenv (name, new_value);
3963 XFREE (new_value);
3964 XFREE (name);
3965 XFREE (value);
3966 }
3967
3968 void
3969 lt_opt_process_env_append (const char *arg)
3970 {
3971 char *name = NULL;
3972 char *value = NULL;
3973 char *new_value = NULL;
3974
3975 if (lt_split_name_value (arg, &name, &value) != 0)
3976 {
3977 XFREE (name);
3978 XFREE (value);
3979 lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
3980 }
3981
3982 new_value = lt_extend_str (getenv (name), value, 1);
3983 lt_setenv (name, new_value);
3984 XFREE (new_value);
3985 XFREE (name);
3986 XFREE (value);
3987 }
3988
39894162 void
39904163 lt_update_exe_path (const char *name, const char *value)
39914164 {
3992 LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
3993 (name ? name : "<NULL>"),
3994 (value ? value : "<NULL>")));
4165 lt_debugprintf (__FILE__, __LINE__,
4166 "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
4167 nonnull (name), nonnull (value));
39954168
39964169 if (name && *name && value && *value)
39974170 {
40104183 void
40114184 lt_update_lib_path (const char *name, const char *value)
40124185 {
4013 LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
4014 (name ? name : "<NULL>"),
4015 (value ? value : "<NULL>")));
4186 lt_debugprintf (__FILE__, __LINE__,
4187 "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
4188 nonnull (name), nonnull (value));
40164189
40174190 if (name && *name && value && *value)
40184191 {
40224195 }
40234196 }
40244197
4025
4198 EOF
4199 case $host_os in
4200 mingw*)
4201 cat <<"EOF"
4202
4203 /* Prepares an argument vector before calling spawn().
4204 Note that spawn() does not by itself call the command interpreter
4205 (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
4206 ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
4207 GetVersionEx(&v);
4208 v.dwPlatformId == VER_PLATFORM_WIN32_NT;
4209 }) ? "cmd.exe" : "command.com").
4210 Instead it simply concatenates the arguments, separated by ' ', and calls
4211 CreateProcess(). We must quote the arguments since Win32 CreateProcess()
4212 interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
4213 special way:
4214 - Space and tab are interpreted as delimiters. They are not treated as
4215 delimiters if they are surrounded by double quotes: "...".
4216 - Unescaped double quotes are removed from the input. Their only effect is
4217 that within double quotes, space and tab are treated like normal
4218 characters.
4219 - Backslashes not followed by double quotes are not special.
4220 - But 2*n+1 backslashes followed by a double quote become
4221 n backslashes followed by a double quote (n >= 0):
4222 \" -> "
4223 \\\" -> \"
4224 \\\\\" -> \\"
4225 */
4226 #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
4227 #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
4228 char **
4229 prepare_spawn (char **argv)
4230 {
4231 size_t argc;
4232 char **new_argv;
4233 size_t i;
4234
4235 /* Count number of arguments. */
4236 for (argc = 0; argv[argc] != NULL; argc++)
4237 ;
4238
4239 /* Allocate new argument vector. */
4240 new_argv = XMALLOC (char *, argc + 1);
4241
4242 /* Put quoted arguments into the new argument vector. */
4243 for (i = 0; i < argc; i++)
4244 {
4245 const char *string = argv[i];
4246
4247 if (string[0] == '\0')
4248 new_argv[i] = xstrdup ("\"\"");
4249 else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
4250 {
4251 int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
4252 size_t length;
4253 unsigned int backslashes;
4254 const char *s;
4255 char *quoted_string;
4256 char *p;
4257
4258 length = 0;
4259 backslashes = 0;
4260 if (quote_around)
4261 length++;
4262 for (s = string; *s != '\0'; s++)
4263 {
4264 char c = *s;
4265 if (c == '"')
4266 length += backslashes + 1;
4267 length++;
4268 if (c == '\\')
4269 backslashes++;
4270 else
4271 backslashes = 0;
4272 }
4273 if (quote_around)
4274 length += backslashes + 1;
4275
4276 quoted_string = XMALLOC (char, length + 1);
4277
4278 p = quoted_string;
4279 backslashes = 0;
4280 if (quote_around)
4281 *p++ = '"';
4282 for (s = string; *s != '\0'; s++)
4283 {
4284 char c = *s;
4285 if (c == '"')
4286 {
4287 unsigned int j;
4288 for (j = backslashes + 1; j > 0; j--)
4289 *p++ = '\\';
4290 }
4291 *p++ = c;
4292 if (c == '\\')
4293 backslashes++;
4294 else
4295 backslashes = 0;
4296 }
4297 if (quote_around)
4298 {
4299 unsigned int j;
4300 for (j = backslashes; j > 0; j--)
4301 *p++ = '\\';
4302 *p++ = '"';
4303 }
4304 *p = '\0';
4305
4306 new_argv[i] = quoted_string;
4307 }
4308 else
4309 new_argv[i] = (char *) string;
4310 }
4311 new_argv[argc] = NULL;
4312
4313 return new_argv;
4314 }
4315 EOF
4316 ;;
4317 esac
4318
4319 cat <<"EOF"
4320 void lt_dump_script (FILE* f)
4321 {
4322 EOF
4323 func_emit_wrapper yes |
4324 $SED -e 's/\([\\"]\)/\\\1/g' \
4325 -e 's/^/ fputs ("/' -e 's/$/\\n", f);/'
4326
4327 cat <<"EOF"
4328 }
40264329 EOF
40274330 }
40284331 # end: func_emit_cwrapperexe_src
4332
4333 # func_win32_import_lib_p ARG
4334 # True if ARG is an import lib, as indicated by $file_magic_cmd
4335 func_win32_import_lib_p ()
4336 {
4337 $opt_debug
4338 case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
4339 *import*) : ;;
4340 *) false ;;
4341 esac
4342 }
40294343
40304344 # func_mode_link arg...
40314345 func_mode_link ()
40714385 new_inherited_linker_flags=
40724386
40734387 avoid_version=no
4388 bindir=
40744389 dlfiles=
40754390 dlprefiles=
40764391 dlself=no
41634478 esac
41644479
41654480 case $prev in
4481 bindir)
4482 bindir="$arg"
4483 prev=
4484 continue
4485 ;;
41664486 dlfiles|dlprefiles)
41674487 if test "$preload" = no; then
41684488 # Add the symbol object into the linking commands.
44244744 continue
44254745 ;;
44264746
4747 -bindir)
4748 prev=bindir
4749 continue
4750 ;;
4751
44274752 -dlopen)
44284753 prev=dlfiles
44294754 continue
45024827 esac
45034828 case $host in
45044829 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
4505 testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
4830 testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
45064831 case :$dllsearchpath: in
45074832 *":$dir:"*) ;;
45084833 ::) dllsearchpath=$dir;;
45214846 -l*)
45224847 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
45234848 case $host in
4524 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
4849 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
45254850 # These systems don't actually have a C or math library (as such)
45264851 continue
45274852 ;;
47075032 for flag in $args; do
47085033 IFS="$save_ifs"
47095034 func_quote_for_eval "$flag"
4710 arg="$arg $wl$func_quote_for_eval_result"
5035 arg="$arg $func_quote_for_eval_result"
47115036 compiler_flags="$compiler_flags $func_quote_for_eval_result"
47125037 done
47135038 IFS="$save_ifs"
47535078 arg="$func_quote_for_eval_result"
47545079 ;;
47555080
4756 # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
4757 # -r[0-9][0-9]* specifies the processor on the SGI compiler
4758 # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
4759 # +DA*, +DD* enable 64-bit mode on the HP compiler
4760 # -q* pass through compiler args for the IBM compiler
4761 # -m*, -t[45]*, -txscale* pass through architecture-specific
4762 # compiler args for GCC
4763 # -F/path gives path to uninstalled frameworks, gcc on darwin
4764 # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
4765 # @file GCC response files
5081 # Flags to be passed through unchanged, with rationale:
5082 # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
5083 # -r[0-9][0-9]* specify processor for the SGI compiler
5084 # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
5085 # +DA*, +DD* enable 64-bit mode for the HP compiler
5086 # -q* compiler args for the IBM compiler
5087 # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
5088 # -F/path path to uninstalled frameworks, gcc on darwin
5089 # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
5090 # @file GCC response files
5091 # -tp=* Portland pgcc target processor selection
47665092 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
4767 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
5093 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
47685094 func_quote_for_eval "$arg"
47695095 arg="$func_quote_for_eval_result"
47705096 func_append compile_command " $arg"
49245250
49255251 if test -n "$shlibpath_var"; then
49265252 # get the directories listed in $shlibpath_var
4927 eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
5253 eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
49285254 else
49295255 shlib_search_path=
49305256 fi
50475373 # Collect preopened libtool deplibs, except any this library
50485374 # has declared as weak libs
50495375 for deplib in $dependency_libs; do
5050 deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
5376 func_basename "$deplib"
5377 deplib_base=$func_basename_result
50515378 case " $weak_libs " in
50525379 *" $deplib_base "*) ;;
50535380 *) deplibs="$deplibs $deplib" ;;
52265553 match_pattern*)
52275554 set dummy $deplibs_check_method; shift
52285555 match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
5229 if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
5556 if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
52305557 | $EGREP "$match_pattern_regex" > /dev/null; then
52315558 valid_a_lib=yes
52325559 fi
52365563 ;;
52375564 esac
52385565 if test "$valid_a_lib" != yes; then
5239 $ECHO
5566 echo
52405567 $ECHO "*** Warning: Trying to link with static lib archive $deplib."
5241 $ECHO "*** I have the capability to make that library automatically link in when"
5242 $ECHO "*** you link to this library. But I can only do this if you have a"
5243 $ECHO "*** shared version of the library, which you do not appear to have"
5244 $ECHO "*** because the file extensions .$libext of this argument makes me believe"
5245 $ECHO "*** that it is just a static archive that I should not use here."
5568 echo "*** I have the capability to make that library automatically link in when"
5569 echo "*** you link to this library. But I can only do this if you have a"
5570 echo "*** shared version of the library, which you do not appear to have"
5571 echo "*** because the file extensions .$libext of this argument makes me believe"
5572 echo "*** that it is just a static archive that I should not use here."
52465573 else
5247 $ECHO
5574 echo
52485575 $ECHO "*** Warning: Linking the shared library $output against the"
52495576 $ECHO "*** static library $deplib is not portable!"
52505577 deplibs="$deplib $deplibs"
53175644
53185645 # Convert "-framework foo" to "foo.ltframework"
53195646 if test -n "$inherited_linker_flags"; then
5320 tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
5647 tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
53215648 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
53225649 case " $new_inherited_linker_flags " in
53235650 *" $tmp_inherited_linker_flag "*) ;;
53255652 esac
53265653 done
53275654 fi
5328 dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
5655 dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
53295656 if test "$linkmode,$pass" = "lib,link" ||
53305657 test "$linkmode,$pass" = "prog,scan" ||
53315658 { test "$linkmode" != prog && test "$linkmode" != lib; }; then
55795906 fi
55805907 done
55815908 if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
5582 $ECHO
5909 echo
55835910 if test "$linkmode" = prog; then
55845911 $ECHO "*** Warning: Linking the executable $output against the loadable module"
55855912 else
56826009 if test "X$dlopenmodule" != "X$lib"; then
56836010 $ECHO "*** Warning: lib $linklib is a module, not a shared library"
56846011 if test -z "$old_library" ; then
5685 $ECHO
5686 $ECHO "*** And there doesn't seem to be a static archive available"
5687 $ECHO "*** The link will probably fail, sorry"
6012 echo
6013 echo "*** And there doesn't seem to be a static archive available"
6014 echo "*** The link will probably fail, sorry"
56886015 else
56896016 add="$dir/$old_library"
56906017 fi
58246151
58256152 # Just print a warning and add the library to dependency_libs so
58266153 # that the program can be linked against the static library.
5827 $ECHO
6154 echo
58286155 $ECHO "*** Warning: This system can not link to static lib archive $lib."
5829 $ECHO "*** I have the capability to make that library automatically link in when"
5830 $ECHO "*** you link to this library. But I can only do this if you have a"
5831 $ECHO "*** shared version of the library, which you do not appear to have."
6156 echo "*** I have the capability to make that library automatically link in when"
6157 echo "*** you link to this library. But I can only do this if you have a"
6158 echo "*** shared version of the library, which you do not appear to have."
58326159 if test "$module" = yes; then
5833 $ECHO "*** But as you try to build a module library, libtool will still create "
5834 $ECHO "*** a static module, that should work as long as the dlopening application"
5835 $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
6160 echo "*** But as you try to build a module library, libtool will still create "
6161 echo "*** a static module, that should work as long as the dlopening application"
6162 echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
58366163 if test -z "$global_symbol_pipe"; then
5837 $ECHO
5838 $ECHO "*** However, this would only work if libtool was able to extract symbol"
5839 $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
5840 $ECHO "*** not find such a program. So, this module is probably useless."
5841 $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
6164 echo
6165 echo "*** However, this would only work if libtool was able to extract symbol"
6166 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
6167 echo "*** not find such a program. So, this module is probably useless."
6168 echo "*** \`nm' from GNU binutils and a full rebuild may help."
58426169 fi
58436170 if test "$build_old_libs" = no; then
58446171 build_libtool_libs=module
58926219 if test "$link_all_deplibs" != no; then
58936220 # Add the search paths of all dependency libraries
58946221 for deplib in $dependency_libs; do
6222 path=
58956223 case $deplib in
58966224 -L*) path="$deplib" ;;
58976225 *.la)
59576285 compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
59586286 finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
59596287 else
5960 compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
6288 compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
59616289 fi
59626290 fi
59636291 dependency_libs="$newdependency_libs"
61256453 if test "$deplibs_check_method" != pass_all; then
61266454 func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
61276455 else
6128 $ECHO
6456 echo
61296457 $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
61306458 $ECHO "*** objects $objs is not portable!"
61316459 libobjs="$libobjs $objs"
61936521 age="$number_minor"
61946522 revision="$number_revision"
61956523 ;;
6196 freebsd-aout|freebsd-elf|sunos)
6524 freebsd-aout|freebsd-elf|qnx|sunos)
61976525 current="$number_major"
61986526 revision="$number_minor"
61996527 age="0"
64276755 oldlibs="$oldlibs $output_objdir/$libname.$libext"
64286756
64296757 # Transform .lo files to .o files.
6430 oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
6758 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
64316759 fi
64326760
64336761 # Eliminate all temporary directories.
64346762 #for path in $notinst_path; do
6435 # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
6436 # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
6437 # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
6763 # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
6764 # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
6765 # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
64386766 #done
64396767
64406768 if test -n "$xrpath"; then
64756803 if test "$build_libtool_libs" = yes; then
64766804 if test -n "$rpath"; then
64776805 case $host in
6478 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
6806 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
64796807 # these systems don't actually have a c library (as such)!
64806808 ;;
64816809 *-*-rhapsody* | *-*-darwin1.[012])
65606888 newdeplibs="$newdeplibs $i"
65616889 else
65626890 droppeddeps=yes
6563 $ECHO
6891 echo
65646892 $ECHO "*** Warning: dynamic linker does not accept needed library $i."
6565 $ECHO "*** I have the capability to make that library automatically link in when"
6566 $ECHO "*** you link to this library. But I can only do this if you have a"
6567 $ECHO "*** shared version of the library, which I believe you do not have"
6568 $ECHO "*** because a test_compile did reveal that the linker did not use it for"
6569 $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
6893 echo "*** I have the capability to make that library automatically link in when"
6894 echo "*** you link to this library. But I can only do this if you have a"
6895 echo "*** shared version of the library, which I believe you do not have"
6896 echo "*** because a test_compile did reveal that the linker did not use it for"
6897 echo "*** its dynamic dependency list that programs get resolved with at runtime."
65706898 fi
65716899 fi
65726900 ;;
66036931 newdeplibs="$newdeplibs $i"
66046932 else
66056933 droppeddeps=yes
6606 $ECHO
6934 echo
66076935 $ECHO "*** Warning: dynamic linker does not accept needed library $i."
6608 $ECHO "*** I have the capability to make that library automatically link in when"
6609 $ECHO "*** you link to this library. But I can only do this if you have a"
6610 $ECHO "*** shared version of the library, which you do not appear to have"
6611 $ECHO "*** because a test_compile did reveal that the linker did not use this one"
6612 $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
6936 echo "*** I have the capability to make that library automatically link in when"
6937 echo "*** you link to this library. But I can only do this if you have a"
6938 echo "*** shared version of the library, which you do not appear to have"
6939 echo "*** because a test_compile did reveal that the linker did not use this one"
6940 echo "*** as a dynamic dependency that programs can get resolved with at runtime."
66136941 fi
66146942 fi
66156943 else
66166944 droppeddeps=yes
6617 $ECHO
6945 echo
66186946 $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
6619 $ECHO "*** make it link in! You will probably need to install it or some"
6620 $ECHO "*** library that it depends on before this library will be fully"
6621 $ECHO "*** functional. Installing it before continuing would be even better."
6947 echo "*** make it link in! You will probably need to install it or some"
6948 echo "*** library that it depends on before this library will be fully"
6949 echo "*** functional. Installing it before continuing would be even better."
66226950 fi
66236951 ;;
66246952 *)
66646992 potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
66656993 case $potliblink in
66666994 [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
6667 *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
6995 *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
66686996 esac
66696997 done
66706998 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
66797007 fi
66807008 if test -n "$a_deplib" ; then
66817009 droppeddeps=yes
6682 $ECHO
7010 echo
66837011 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
6684 $ECHO "*** I have the capability to make that library automatically link in when"
6685 $ECHO "*** you link to this library. But I can only do this if you have a"
6686 $ECHO "*** shared version of the library, which you do not appear to have"
6687 $ECHO "*** because I did check the linker path looking for a file starting"
7012 echo "*** I have the capability to make that library automatically link in when"
7013 echo "*** you link to this library. But I can only do this if you have a"
7014 echo "*** shared version of the library, which you do not appear to have"
7015 echo "*** because I did check the linker path looking for a file starting"
66887016 if test -z "$potlib" ; then
66897017 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
66907018 else
67227050 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
67237051 for potent_lib in $potential_libs; do
67247052 potlib="$potent_lib" # see symlink-check above in file_magic test
6725 if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
7053 if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
67267054 $EGREP "$match_pattern_regex" > /dev/null; then
67277055 newdeplibs="$newdeplibs $a_deplib"
67287056 a_deplib=""
67337061 fi
67347062 if test -n "$a_deplib" ; then
67357063 droppeddeps=yes
6736 $ECHO
7064 echo
67377065 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
6738 $ECHO "*** I have the capability to make that library automatically link in when"
6739 $ECHO "*** you link to this library. But I can only do this if you have a"
6740 $ECHO "*** shared version of the library, which you do not appear to have"
6741 $ECHO "*** because I did check the linker path looking for a file starting"
7066 echo "*** I have the capability to make that library automatically link in when"
7067 echo "*** you link to this library. But I can only do this if you have a"
7068 echo "*** shared version of the library, which you do not appear to have"
7069 echo "*** because I did check the linker path looking for a file starting"
67427070 if test -z "$potlib" ; then
67437071 $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
67447072 else
67567084 ;;
67577085 none | unknown | *)
67587086 newdeplibs=""
6759 tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
6760 -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
7087 tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
67617088 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
67627089 for i in $predeps $postdeps ; do
67637090 # can't use Xsed below, because $i might contain '/'
6764 tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
7091 tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
67657092 done
67667093 fi
6767 if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
6768 $GREP . >/dev/null; then
6769 $ECHO
7094 case $tmp_deplibs in
7095 *[!\ \ ]*)
7096 echo
67707097 if test "X$deplibs_check_method" = "Xnone"; then
6771 $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
7098 echo "*** Warning: inter-library dependencies are not supported in this platform."
67727099 else
6773 $ECHO "*** Warning: inter-library dependencies are not known to be supported."
7100 echo "*** Warning: inter-library dependencies are not known to be supported."
67747101 fi
6775 $ECHO "*** All declared inter-library dependencies are being dropped."
7102 echo "*** All declared inter-library dependencies are being dropped."
67767103 droppeddeps=yes
6777 fi
7104 ;;
7105 esac
67787106 ;;
67797107 esac
67807108 versuffix=$versuffix_save
67867114 case $host in
67877115 *-*-rhapsody* | *-*-darwin1.[012])
67887116 # On Rhapsody replace the C library with the System framework
6789 newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
7117 newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
67907118 ;;
67917119 esac
67927120
67937121 if test "$droppeddeps" = yes; then
67947122 if test "$module" = yes; then
6795 $ECHO
6796 $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
7123 echo
7124 echo "*** Warning: libtool could not satisfy all declared inter-library"
67977125 $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
6798 $ECHO "*** a static module, that should work as long as the dlopening"
6799 $ECHO "*** application is linked with the -dlopen flag."
7126 echo "*** a static module, that should work as long as the dlopening"
7127 echo "*** application is linked with the -dlopen flag."
68007128 if test -z "$global_symbol_pipe"; then
6801 $ECHO
6802 $ECHO "*** However, this would only work if libtool was able to extract symbol"
6803 $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
6804 $ECHO "*** not find such a program. So, this module is probably useless."
6805 $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
7129 echo
7130 echo "*** However, this would only work if libtool was able to extract symbol"
7131 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
7132 echo "*** not find such a program. So, this module is probably useless."
7133 echo "*** \`nm' from GNU binutils and a full rebuild may help."
68067134 fi
68077135 if test "$build_old_libs" = no; then
68087136 oldlibs="$output_objdir/$libname.$libext"
68127140 build_libtool_libs=no
68137141 fi
68147142 else
6815 $ECHO "*** The inter-library dependencies that have been dropped here will be"
6816 $ECHO "*** automatically added whenever a program is linked with this library"
6817 $ECHO "*** or is declared to -dlopen it."
7143 echo "*** The inter-library dependencies that have been dropped here will be"
7144 echo "*** automatically added whenever a program is linked with this library"
7145 echo "*** or is declared to -dlopen it."
68187146
68197147 if test "$allow_undefined" = no; then
6820 $ECHO
6821 $ECHO "*** Since this library must not contain undefined symbols,"
6822 $ECHO "*** because either the platform does not support them or"
6823 $ECHO "*** it was explicitly requested with -no-undefined,"
6824 $ECHO "*** libtool will only create a static version of it."
7148 echo
7149 echo "*** Since this library must not contain undefined symbols,"
7150 echo "*** because either the platform does not support them or"
7151 echo "*** it was explicitly requested with -no-undefined,"
7152 echo "*** libtool will only create a static version of it."
68257153 if test "$build_old_libs" = no; then
68267154 oldlibs="$output_objdir/$libname.$libext"
68277155 build_libtool_libs=module
68387166 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
68397167 case $host in
68407168 *-*-darwin*)
6841 newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
6842 new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
6843 deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
7169 newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7170 new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7171 deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
68447172 ;;
68457173 esac
68467174
69627290 done
69637291
69647292 # Use standard objects if they are pic
6965 test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
7293 test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
69667294 test "X$libobjs" = "X " && libobjs=
69677295
69687296 delfiles=
70287356 if test -n "$export_symbols" && test -n "$include_expsyms"; then
70297357 tmp_export_symbols="$export_symbols"
70307358 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
7031 $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
7359 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
70327360 fi
70337361
70347362 if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
71297457 save_libobjs=$libobjs
71307458 fi
71317459 save_output=$output
7132 output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
7460 func_basename "$output"
7461 output_la=$func_basename_result
71337462
71347463 # Clear the reloadable object creation command queue and
71357464 # initialize k to one.
71427471 if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
71437472 output=${output_objdir}/${output_la}.lnkscript
71447473 func_verbose "creating GNU ld script: $output"
7145 $ECHO 'INPUT (' > $output
7474 echo 'INPUT (' > $output
71467475 for obj in $save_libobjs
71477476 do
71487477 $ECHO "$obj" >> $output
71497478 done
7150 $ECHO ')' >> $output
7479 echo ')' >> $output
71517480 delfiles="$delfiles $output"
71527481 elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
71537482 output=${output_objdir}/${output_la}.lnk
71897518 # command to the queue.
71907519 if test "$k" -eq 1 ; then
71917520 # The first file doesn't have a previous command to add.
7192 eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
7521 reload_objs=$objlist
7522 eval concat_cmds=\"$reload_cmds\"
71937523 else
71947524 # All subsequent reloadable object files will link in
71957525 # the last one created.
7196 eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
7526 reload_objs="$objlist $last_robj"
7527 eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
71977528 fi
71987529 last_robj=$output_objdir/$output_la-${k}.$objext
71997530 func_arith $k + 1
72007531 k=$func_arith_result
72017532 output=$output_objdir/$output_la-${k}.$objext
7202 objlist=$obj
7533 objlist=" $obj"
72037534 func_len " $last_robj"
72047535 func_arith $len0 + $func_len_result
72057536 len=$func_arith_result
72097540 # reloadable object file. All subsequent reloadable object
72107541 # files will link in the last one created.
72117542 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
7212 eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
7543 reload_objs="$objlist $last_robj"
7544 eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
72137545 if test -n "$last_robj"; then
72147546 eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
72157547 fi
72687600 if test -n "$export_symbols" && test -n "$include_expsyms"; then
72697601 tmp_export_symbols="$export_symbols"
72707602 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
7271 $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
7603 $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
72727604 fi
72737605
72747606 if test -n "$orig_export_symbols"; then
74337765 if test -n "$convenience"; then
74347766 if test -n "$whole_archive_flag_spec"; then
74357767 eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
7436 reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
7768 reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
74377769 else
74387770 gentop="$output_objdir/${obj}x"
74397771 generated="$generated $gentop"
74447776 fi
74457777
74467778 # Create the old-style object.
7447 reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
7779 reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
74487780
74497781 output="$obj"
74507782 func_execute_cmds "$reload_cmds" 'exit $?'
75047836 case $host in
75057837 *-*-rhapsody* | *-*-darwin1.[012])
75067838 # On Rhapsody replace the C library is the System framework
7507 compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
7508 finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
7839 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
7840 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
75097841 ;;
75107842 esac
75117843
75227854 esac
75237855 fi
75247856 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
7525 compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
7526 finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
7857 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
7858 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
75277859 ;;
75287860 esac
75297861
76607992
76617993 if test -n "$libobjs" && test "$build_old_libs" = yes; then
76627994 # Transform all the library objects into standard objects.
7663 compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
7664 finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
7995 compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
7996 finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
76657997 fi
76667998
76677999 func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
76738005
76748006 wrappers_required=yes
76758007 case $host in
8008 *cegcc* | *mingw32ce*)
8009 # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
8010 wrappers_required=no
8011 ;;
76768012 *cygwin* | *mingw* )
76778013 if test "$build_libtool_libs" != yes; then
76788014 wrappers_required=no
76798015 fi
7680 ;;
7681 *cegcc)
7682 # Disable wrappers for cegcc, we are cross compiling anyway.
7683 wrappers_required=no
76848016 ;;
76858017 *)
76868018 if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
76908022 esac
76918023 if test "$wrappers_required" = no; then
76928024 # Replace the output file specification.
7693 compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
8025 compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
76948026 link_command="$compile_command$compile_rpath"
76958027
76968028 # We have no uninstalled library dependencies, so finalize right now.
77378069 # We don't need to create a wrapper script.
77388070 link_command="$compile_var$compile_command$compile_rpath"
77398071 # Replace the output file specification.
7740 link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
8072 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
77418073 # Delete the old output file.
77428074 $opt_dry_run || $RM $output
77438075 # Link the executable and exit
77568088 if test "$fast_install" != no; then
77578089 link_command="$finalize_var$compile_command$finalize_rpath"
77588090 if test "$fast_install" = yes; then
7759 relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
8091 relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
77608092 else
77618093 # fast_install is set to needless
77628094 relink_command=
77688100 fi
77698101
77708102 # Replace the output file specification.
7771 link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
8103 link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
77728104
77738105 # Delete the old output files.
77748106 $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
77928124 fi
77938125 done
77948126 relink_command="(cd `pwd`; $relink_command)"
7795 relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
7796 fi
7797
7798 # Quote $ECHO for shipping.
7799 if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
7800 case $progpath in
7801 [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
7802 *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
7803 esac
7804 qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
7805 else
7806 qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
8127 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
78078128 fi
78088129
78098130 # Only actually do things if not in dry run mode.
79248245 done | sort | sort -uc >/dev/null 2>&1); then
79258246 :
79268247 else
7927 $ECHO "copying selected object files to avoid basename conflicts..."
8248 echo "copying selected object files to avoid basename conflicts..."
79288249 gentop="$output_objdir/${outputname}x"
79298250 generated="$generated $gentop"
79308251 func_mkdir_p "$gentop"
80358356 done
80368357 # Quote the link command for shipping.
80378358 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
8038 relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
8359 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
80398360 if test "$hardcode_automatic" = yes ; then
80408361 relink_command=
80418362 fi
81208441 fi
81218442 $RM $output
81228443 # place dlname in correct position for cygwin
8444 # In fact, it would be nice if we could use this code for all target
8445 # systems that can't hard-code library paths into their executables
8446 # and that have no shared library path variable independent of PATH,
8447 # but it turns out we can't easily determine that from inspecting
8448 # libtool variables, so we have to hard-code the OSs to which it
8449 # applies here; at the moment, that means platforms that use the PE
8450 # object format with DLL files. See the long comment at the top of
8451 # tests/bindir.at for full details.
81238452 tdlname=$dlname
81248453 case $host,$output,$installed,$module,$dlname in
8125 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
8454 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
8455 # If a -bindir argument was supplied, place the dll there.
8456 if test "x$bindir" != x ;
8457 then
8458 func_relative_path "$install_libdir" "$bindir"
8459 tdlname=$func_relative_path_result$dlname
8460 else
8461 # Otherwise fall back on heuristic.
8462 tdlname=../bin/$dlname
8463 fi
8464 ;;
81268465 esac
81278466 $ECHO > $output "\
81288467 # $outputname - a libtool library file
6363 $(NULL)
6464
6565 ibus_setup_input_pad_CFLAGS = \
66 $(GTK2_CFLAGS) \
6766 $(IBUS_CFLAGS) \
6867 $(INPUT_PAD_CFLAGS) \
6968 $(NULL)
7372
7473 ibus_setup_input_pad_LDADD = \
7574 $(builddir)/libiconfig.la \
76 $(GTK2_LIBS) \
7775 $(IBUS_LIBS) \
7876 $(INPUT_PAD_LIBS) \
7977 $(NULL)
8078
79 if HAVE_GTK3
80 ibus_setup_input_pad_CFLAGS += $(GTK3_CFLAGS)
81 ibus_setup_input_pad_LDADD += $(GTK3_LIBS)
82 else
83 ibus_setup_input_pad_CFLAGS += $(GTK2_CFLAGS)
84 ibus_setup_input_pad_LDADD += $(GTK2_LIBS)
85 endif
8186
8287 EXTRA_DIST = \
8388 setup-gtk2.ui \
5757 build_triplet = @build@
5858 host_triplet = @host@
5959 libexec_PROGRAMS = ibus-setup-input-pad$(EXEEXT)
60 @HAVE_GTK3_TRUE@am__append_1 = $(GTK3_CFLAGS)
61 @HAVE_GTK3_TRUE@am__append_2 = $(GTK3_LIBS)
62 @HAVE_GTK3_FALSE@am__append_3 = $(GTK2_CFLAGS)
63 @HAVE_GTK3_FALSE@am__append_4 = $(GTK2_LIBS)
6064 subdir = setup
6165 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
6266 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8185 am_ibus_setup_input_pad_OBJECTS = ibus_setup_input_pad-main.$(OBJEXT) \
8286 ibus_setup_input_pad-setup-gtk2.$(OBJEXT)
8387 ibus_setup_input_pad_OBJECTS = $(am_ibus_setup_input_pad_OBJECTS)
88 @HAVE_GTK3_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
89 @HAVE_GTK3_FALSE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1)
8490 ibus_setup_input_pad_DEPENDENCIES = $(builddir)/libiconfig.la \
8591 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
86 $(am__DEPENDENCIES_1)
92 $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3)
8793 ibus_setup_input_pad_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
8894 $(LIBTOOLFLAGS) --mode=link $(CCLD) \
8995 $(ibus_setup_input_pad_CFLAGS) $(CFLAGS) \
174180 GREP = @GREP@
175181 GTK2_CFLAGS = @GTK2_CFLAGS@
176182 GTK2_LIBS = @GTK2_LIBS@
183 GTK3_CFLAGS = @GTK3_CFLAGS@
184 GTK3_LIBS = @GTK3_LIBS@
177185 IBUS_CFLAGS = @IBUS_CFLAGS@
178186 IBUS_LIBS = @IBUS_LIBS@
179187 INPUT_PAD_CFLAGS = @INPUT_PAD_CFLAGS@
219227 PACKAGE_VERSION = @PACKAGE_VERSION@
220228 PATH_SEPARATOR = @PATH_SEPARATOR@
221229 PKG_CONFIG = @PKG_CONFIG@
230 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
231 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
222232 POFILES = @POFILES@
223233 POSUB = @POSUB@
224234 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
269279 libinput_pad_VERSION = @libinput_pad_VERSION@
270280 localedir = @localedir@
271281 localstatedir = @localstatedir@
272 lt_ECHO = @lt_ECHO@
273282 mandir = @mandir@
274283 mkdir_p = @mkdir_p@
275284 oldincludedir = @oldincludedir@
326335 setup-gtk2.h \
327336 $(NULL)
328337
329 ibus_setup_input_pad_CFLAGS = \
330 $(GTK2_CFLAGS) \
331 $(IBUS_CFLAGS) \
332 $(INPUT_PAD_CFLAGS) \
333 $(NULL)
334
338 ibus_setup_input_pad_CFLAGS = $(IBUS_CFLAGS) $(INPUT_PAD_CFLAGS) \
339 $(NULL) $(am__append_1) $(am__append_3)
335340 ibus_setup_input_pad_LDFLAGS = \
336341 $(NULL)
337342
338 ibus_setup_input_pad_LDADD = \
339 $(builddir)/libiconfig.la \
340 $(GTK2_LIBS) \
341 $(IBUS_LIBS) \
342 $(INPUT_PAD_LIBS) \
343 $(NULL)
344
343 ibus_setup_input_pad_LDADD = $(builddir)/libiconfig.la $(IBUS_LIBS) \
344 $(INPUT_PAD_LIBS) $(NULL) $(am__append_2) $(am__append_4)
345345 EXTRA_DIST = \
346346 setup-gtk2.ui \
347347 $(NULL)
140140
141141 /* currently this is a static function due to ibus_bus_get_config */
142142 static IBusInputPadConfig *
143 ibus_input_pad_config_new (IBusConnection *connection)
143 ibus_input_pad_config_new (GDBusConnection *connection)
144144 {
145145 GObject *obj;
146146
176176 int *value_intp)
177177 {
178178 IBusConfig *ibus_config;
179 GValue value = {0, };
180
181 g_return_val_if_fail (IBUS_IS_INPUT_PAD_CONFIG (config), FALSE);
182 g_return_val_if_fail (config->priv != NULL, FALSE);
183
184 ibus_config = config->priv->config;
185 if (ibus_config_get_value (ibus_config, section, name, &value)) {
179 GVariant *value = NULL;
180
181 g_return_val_if_fail (IBUS_IS_INPUT_PAD_CONFIG (config), FALSE);
182 g_return_val_if_fail (config->priv != NULL, FALSE);
183
184 ibus_config = config->priv->config;
185 if ((value = ibus_config_get_value (ibus_config, section, name)) != NULL) {
186186 if (value_intp) {
187 *value_intp = g_value_get_int (&value);
188 }
189 g_value_unset (&value);
187 *value_intp = g_variant_get_int32 (value);
188 }
189 g_variant_unref (value);
190190 return TRUE;
191191 }
192192 if (!g_strcmp0 (name, "char_table_combo_box")) {
210210 gchar **value_strp)
211211 {
212212 IBusConfig *ibus_config;
213 const gchar *s;
214 GValue value = {0, };
215
216 g_return_val_if_fail (IBUS_IS_INPUT_PAD_CONFIG (config), FALSE);
217 g_return_val_if_fail (config->priv != NULL, FALSE);
218
219 ibus_config = config->priv->config;
220 if (ibus_config_get_value (ibus_config, section, name, &value)) {
213 GVariant *value = NULL;
214
215 g_return_val_if_fail (IBUS_IS_INPUT_PAD_CONFIG (config), FALSE);
216 g_return_val_if_fail (config->priv != NULL, FALSE);
217
218 ibus_config = config->priv->config;
219 if ((value = ibus_config_get_value (ibus_config, section, name)) != NULL) {
221220 if (value_strp) {
222 s = g_value_get_string (&value);
223 if (s) {
224 *value_strp = g_strdup (s);
225 } else {
226 *value_strp = NULL;
227 }
228 }
229 g_value_unset (&value);
221 *value_strp = g_variant_dup_string (value, NULL);
222 }
223 g_variant_unref (value);
230224 return TRUE;
231225 }
232226 if (!g_strcmp0 (name, "keyboard_theme")) {
243237 ibus_input_pad_config_get_value (IBusConfig *config,
244238 const gchar *section,
245239 const gchar *name,
246 GValue *value)
247 {
248 if (ibus_config_get_value (config, section, name, value)) {
240 GVariant *value)
241 {
242 if ((value = ibus_config_get_value (config, section, name)) != NULL) {
249243 return TRUE;
250244 }
251245 if (!g_strcmp0 (name, "keyboard_theme")) {
252 g_value_init (value, G_TYPE_STRING);
253 g_value_set_static_string (value, KEYBOARD_THEME_DEFAULT);
246 value = g_variant_new ("s", KEYBOARD_THEME_DEFAULT);
254247 return TRUE;
255248 } else if (!g_strcmp0 (name, "char_table_combo_box")) {
256 g_value_init (value, G_TYPE_INT);
257 g_value_set_int (value, CHAR_TABLE_COMBO_BOX_DEFAULT);
249 value = g_variant_new ("i", CHAR_TABLE_COMBO_BOX_DEFAULT);
258250 return TRUE;
259251 } else if (!g_strcmp0 (name, "layout_table_combo_box")) {
260 g_value_init (value, G_TYPE_INT);
261 g_value_set_int (value, LAYOUT_TABLE_COMBO_BOX_DEFAULT);
252 value = g_variant_new ("i", LAYOUT_TABLE_COMBO_BOX_DEFAULT);
262253 return TRUE;
263254 }
264255 return FALSE;
272263 int value_int)
273264 {
274265 IBusConfig *ibus_config;
275 GValue value = {0, };
266 GVariant *value = NULL;
276267 int orig_i = 0;
277268 gchar *path;
278269 SavedTable *saved_table;
282273 g_return_val_if_fail (section != NULL && name != NULL, FALSE);
283274
284275 ibus_config = config->priv->config;
285 if (ibus_config_get_value (ibus_config, section, name, &value)) {
286 orig_i = g_value_get_int (&value);
287 g_value_unset (&value);
276 if ((value = ibus_config_get_value (ibus_config, section, name)) != NULL) {
277 orig_i = g_variant_get_int32 (value);
278 g_variant_unref (value);
288279 if (value_int == orig_i) {
289280 return FALSE;
290281 }
324315 const gchar *value_str)
325316 {
326317 IBusConfig *ibus_config;
327 GValue value = {0, };
318 GVariant *value = NULL;
328319 const gchar *orig_str = NULL;
329320 gchar *path;
330321 SavedTable *saved_table;
334325 g_return_val_if_fail (section != NULL && name != NULL, FALSE);
335326
336327 ibus_config = config->priv->config;
337 if (ibus_config_get_value (ibus_config, section, name, &value)) {
338 orig_str = g_value_get_string (&value);
328 if ((value = ibus_config_get_value (ibus_config, section, name)) != NULL) {
329 orig_str = g_variant_get_string (value, NULL);
339330 if (!g_strcmp0 (value_str, orig_str)) {
340 g_value_unset (&value);
331 g_variant_unref (value);
341332 return FALSE;
342333 }
343 g_value_unset (&value);
334 g_variant_unref (value);
344335 } else if (!g_strcmp0 (name, "keyboard_theme")) {
345336 if (value_str == NULL ||
346337 !g_strcmp0 (value_str, KEYBOARD_THEME_DEFAULT)) {
376367 int value_int)
377368 {
378369 IBusConfig *ibus_config;
379 GValue value = {0, };
370 GVariant *value = NULL;
380371
381372 g_return_val_if_fail (IBUS_IS_INPUT_PAD_CONFIG (config), FALSE);
382373 g_return_val_if_fail (config->priv != NULL, FALSE);
383374 g_return_val_if_fail (section != NULL && name != NULL, FALSE);
384375
385376 ibus_config = config->priv->config;
386 g_value_init (&value, G_TYPE_INT);
387 g_value_set_int (&value, value_int);
388 if (!ibus_config_set_value (ibus_config, section, name, &value)) {
377 value = g_variant_new ("i", value_int);
378 if (!ibus_config_set_value (ibus_config, section, name, value)) {
389379 return FALSE;
390380 }
391 g_value_unset (&value);
381 g_variant_unref (value);
392382 return TRUE;
393383 }
394384
399389 const gchar *value_str)
400390 {
401391 IBusConfig *ibus_config;
402 GValue value = {0, };
392 GVariant *value = NULL;
403393
404394 g_return_val_if_fail (IBUS_IS_INPUT_PAD_CONFIG (config), FALSE);
405395 g_return_val_if_fail (config->priv != NULL, FALSE);
406396 g_return_val_if_fail (section != NULL && name != NULL, FALSE);
407397
408398 ibus_config = config->priv->config;
409 g_value_init (&value, G_TYPE_STRING);
410 g_value_set_static_string (&value, value_str);
411 if (!ibus_config_set_value (ibus_config, section, name, &value)) {
399 value = g_variant_new ("s", value_str);
400 if (!ibus_config_set_value (ibus_config, section, name, value)) {
412401 return FALSE;
413402 }
414 g_value_unset (&value);
403 g_variant_unref (value);
415404 return TRUE;
416405 }
417406
378378 InputPadWindowKbduiName *list,
379379 IBusInputPadConfig *config)
380380 {
381 guint16 nrows, ncols;
381 guint nrows, ncols;
382382 GtkTreeModel *model;
383383 GtkWidget *label;
384384 GtkWidget *combobox;
386386
387387 g_return_if_fail (GTK_IS_TABLE (table));
388388
389 nrows = GTK_TABLE (table)->nrows;
390 ncols = GTK_TABLE(table)->ncols;
389 gtk_table_get_size (GTK_TABLE (table), &nrows, &ncols);
391390 g_return_if_fail (nrows > 0 && ncols >= 2);
392391
393392 if ((model = keyboard_theme_new (list)) == NULL) {
464463 gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (about_dialog), VERSION);
465464 content_area = gtk_dialog_get_content_area (GTK_DIALOG (about_dialog));
466465 list = gtk_container_get_children (GTK_CONTAINER (content_area));
467 g_return_if_fail (GTK_IS_VBOX (list->data));
466 g_return_if_fail (GTK_IS_BOX (list->data));
468467 vbox = GTK_WIDGET (list->data);
469468 list = gtk_container_get_children (GTK_CONTAINER (vbox));
470469
471470 while (list) {
471 /* Copied the implementation of gtk_widget_reparent()
472 * but gtk_box_pack_start() also includes set parent. */
472473 widget = GTK_WIDGET (list->data);
473 old_parent = widget->parent;
474 widget->parent = NULL;
475 gtk_widget_set_parent_window (widget, NULL);
476 g_signal_emit_by_name (widget, "parent-set", old_parent);
474 old_parent = gtk_widget_get_parent (widget);
475 g_object_ref (G_OBJECT (widget));
476 gtk_container_remove (GTK_CONTAINER (old_parent), widget);
477477 gtk_box_pack_start (GTK_BOX (about_vbox), widget,
478478 FALSE, FALSE, 0);
479479 list = list->next;