Import Upstream version 2.0.6
Christopher Schramm
3 years ago
0 | # Python CircleCI 2.0 configuration file | |
1 | # | |
2 | # Check https://circleci.com/docs/2.0/language-python/ for more details | |
3 | # | |
4 | # | |
5 | version: 2 | |
6 | jobs: | |
7 | python3: | |
8 | docker: | |
9 | - image: debian:unstable | |
10 | ||
11 | environment: | |
12 | PYTHON: "python3" | |
13 | ||
14 | steps: | |
15 | - checkout | |
16 | - run: apt-get update | |
17 | - run: apt-get install -y -qq --no-install-recommends sudo automake autoconf libglib2.0-dev libtool intltool python3-dev python-gi python-gi-dev cython python3-dbus dh-autoreconf libbluetooth-dev gtk-update-icon-cache | |
18 | - run: ./autogen.sh | |
19 | - run: make | |
20 | - run: make distcheck | |
21 | - run: sudo make install | |
22 | ||
23 | python2: | |
24 | docker: | |
25 | - image: debian:unstable | |
26 | ||
27 | environment: | |
28 | PYTHON: "python2" | |
29 | ||
30 | steps: | |
31 | - checkout | |
32 | - run: apt-get update | |
33 | - run: apt-get install -y -qq --no-install-recommends sudo automake autoconf libglib2.0-dev libtool intltool python-dev python-gi python-gi-dev cython python-dbus dh-autoreconf libbluetooth-dev gtk-update-icon-cache | |
34 | - run: ./autogen.sh | |
35 | - run: make | |
36 | - run: make distcheck | |
37 | - run: sudo make install | |
38 | ||
39 | workflows: | |
40 | version: 2 | |
41 | build_and_test: | |
42 | jobs: | |
43 | - python3 | |
44 | - python2 |
0 | language: python | |
1 | ||
2 | virtualenv: | |
3 | system_site_packages: true | |
4 | ||
5 | python: | |
6 | - "2.7" | |
7 | - "3.4" | |
8 | ||
0 | 9 | script: |
1 | 10 | - ./autogen.sh |
2 | 11 | - make |
3 | 12 | - make check |
4 | 13 | |
5 | env: | |
6 | - PYTHON=python2.7 | |
7 | - PYTHON=python3.2 | |
8 | ||
9 | 14 | before_install: |
10 | 15 | - sudo apt-get update -qq |
11 | 16 | - sudo apt-get install -qq automake autoconf libglib2.0-dev libtool libgtk-3-dev libstartup-notification0-dev python-gi-dev libbluetooth-dev intltool python-dev python3-dev cython python-dbus python3-dbus dh-autoreconf |
17 | ||
18 | # travis build environment is polluted | |
19 | - unset PYTHON_CFLAGS |
0 | 0 | # Changelog |
1 | 1 | |
2 | ## 2.0.6 | |
3 | ||
4 | **This release adds authorisation checks for the commands blueman runs as root** | |
5 | ||
6 | We added the following policykit authorisation checks | |
7 | * org.blueman.network.setup | |
8 | * org.blueman.pppd.pppconnect | |
9 | * org.blueman.rfkill.setstate | |
10 | ||
11 | See https://github.com/blueman-project/blueman/wiki/PolicyKit | |
2 | 12 | |
3 | 13 | ## 2.0.5 |
4 | 14 |
46 | 46 | # |
47 | 47 | # Modified to require ngettext |
48 | 48 | # Matthias Clasen <mclasen@redhat.com> 08/06/2004 |
49 | # | |
49 | ||
50 | # Increment this whenever this file is changed. | |
51 | #serial 1 | |
52 | ||
50 | 53 | # We need this here as well, since someone might use autoconf-2.5x |
51 | 54 | # to configure GLib then an older version to configure a package |
52 | 55 | # using AM_GLIB_GNU_GETTEXT |
502 | 505 | sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD |
503 | 506 | fi]) |
504 | 507 | |
508 | ||
509 | # Increment this whenever this file is changed. | |
510 | #serial 1 | |
505 | 511 | |
506 | 512 | dnl GLIB_GSETTINGS |
507 | 513 | dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether |
0 | 0 | @%:@! /bin/sh |
1 | 1 | @%:@ Guess values for system-dependent variables and create Makefiles. |
2 | @%:@ Generated by GNU Autoconf 2.69 for blueman 2.0.5. | |
2 | @%:@ Generated by GNU Autoconf 2.69 for blueman 2.0.6. | |
3 | 3 | @%:@ |
4 | 4 | @%:@ Report bugs to <https://github.com/blueman-project/blueman/issues>. |
5 | 5 | @%:@ |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='blueman' |
591 | 591 | PACKAGE_TARNAME='blueman' |
592 | PACKAGE_VERSION='2.0.5' | |
593 | PACKAGE_STRING='blueman 2.0.5' | |
592 | PACKAGE_VERSION='2.0.6' | |
593 | PACKAGE_STRING='blueman 2.0.6' | |
594 | 594 | PACKAGE_BUGREPORT='https://github.com/blueman-project/blueman/issues' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
1451 | 1451 | # Omit some internal or obsolete options to make the list less imposing. |
1452 | 1452 | # This message is too long to be a string in the A/UX 3.1 sh. |
1453 | 1453 | cat <<_ACEOF |
1454 | \`configure' configures blueman 2.0.5 to adapt to many kinds of systems. | |
1454 | \`configure' configures blueman 2.0.6 to adapt to many kinds of systems. | |
1455 | 1455 | |
1456 | 1456 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1457 | 1457 | |
1522 | 1522 | |
1523 | 1523 | if test -n "$ac_init_help"; then |
1524 | 1524 | case $ac_init_help in |
1525 | short | recursive ) echo "Configuration of blueman 2.0.5:";; | |
1525 | short | recursive ) echo "Configuration of blueman 2.0.6:";; | |
1526 | 1526 | esac |
1527 | 1527 | cat <<\_ACEOF |
1528 | 1528 | |
1532 | 1532 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1533 | 1533 | --enable-silent-rules less verbose build output (undo: "make V=1") |
1534 | 1534 | --disable-silent-rules verbose build output (undo: "make V=0") |
1535 | --enable-maintainer-mode | |
1536 | enable make rules and dependencies not useful (and | |
1535 | --disable-maintainer-mode | |
1536 | disable make rules and dependencies not useful (and | |
1537 | 1537 | sometimes confusing) to the casual installer |
1538 | 1538 | --enable-dependency-tracking |
1539 | 1539 | do not reject slow dependency extractors |
1679 | 1679 | test -n "$ac_init_help" && exit $ac_status |
1680 | 1680 | if $ac_init_version; then |
1681 | 1681 | cat <<\_ACEOF |
1682 | blueman configure 2.0.5 | |
1682 | blueman configure 2.0.6 | |
1683 | 1683 | generated by GNU Autoconf 2.69 |
1684 | 1684 | |
1685 | 1685 | Copyright (C) 2012 Free Software Foundation, Inc. |
2048 | 2048 | This file contains any messages produced by compilers while |
2049 | 2049 | running configure, to aid debugging if configure makes a mistake. |
2050 | 2050 | |
2051 | It was created by blueman $as_me 2.0.5, which was | |
2051 | It was created by blueman $as_me 2.0.6, which was | |
2052 | 2052 | generated by GNU Autoconf 2.69. Invocation command line was |
2053 | 2053 | |
2054 | 2054 | $ $0 $@ |
2913 | 2913 | |
2914 | 2914 | # Define the identity of the package. |
2915 | 2915 | PACKAGE='blueman' |
2916 | VERSION='2.0.5' | |
2916 | VERSION='2.0.6' | |
2917 | 2917 | |
2918 | 2918 | |
2919 | 2919 | cat >>confdefs.h <<_ACEOF |
3014 | 3014 | if test "${enable_maintainer_mode+set}" = set; then : |
3015 | 3015 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
3016 | 3016 | else |
3017 | USE_MAINTAINER_MODE=no | |
3017 | USE_MAINTAINER_MODE=yes | |
3018 | 3018 | fi |
3019 | 3019 | |
3020 | 3020 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
15737 | 15737 | # report actual input values of CONFIG_FILES etc. instead of their |
15738 | 15738 | # values after options handling. |
15739 | 15739 | ac_log=" |
15740 | This file was extended by blueman $as_me 2.0.5, which was | |
15740 | This file was extended by blueman $as_me 2.0.6, which was | |
15741 | 15741 | generated by GNU Autoconf 2.69. Invocation command line was |
15742 | 15742 | |
15743 | 15743 | CONFIG_FILES = $CONFIG_FILES |
15803 | 15803 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15804 | 15804 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15805 | 15805 | ac_cs_version="\\ |
15806 | blueman config.status 2.0.5 | |
15806 | blueman config.status 2.0.6 | |
15807 | 15807 | configured by $0, generated by GNU Autoconf 2.69, |
15808 | 15808 | with options \\"\$ac_cs_config\\" |
15809 | 15809 |
0 | 0 | @%:@! /bin/sh |
1 | 1 | @%:@ Guess values for system-dependent variables and create Makefiles. |
2 | @%:@ Generated by GNU Autoconf 2.69 for blueman 2.0.5. | |
2 | @%:@ Generated by GNU Autoconf 2.69 for blueman 2.0.6. | |
3 | 3 | @%:@ |
4 | 4 | @%:@ Report bugs to <https://github.com/blueman-project/blueman/issues>. |
5 | 5 | @%:@ |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='blueman' |
591 | 591 | PACKAGE_TARNAME='blueman' |
592 | PACKAGE_VERSION='2.0.5' | |
593 | PACKAGE_STRING='blueman 2.0.5' | |
592 | PACKAGE_VERSION='2.0.6' | |
593 | PACKAGE_STRING='blueman 2.0.6' | |
594 | 594 | PACKAGE_BUGREPORT='https://github.com/blueman-project/blueman/issues' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
1451 | 1451 | # Omit some internal or obsolete options to make the list less imposing. |
1452 | 1452 | # This message is too long to be a string in the A/UX 3.1 sh. |
1453 | 1453 | cat <<_ACEOF |
1454 | \`configure' configures blueman 2.0.5 to adapt to many kinds of systems. | |
1454 | \`configure' configures blueman 2.0.6 to adapt to many kinds of systems. | |
1455 | 1455 | |
1456 | 1456 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1457 | 1457 | |
1522 | 1522 | |
1523 | 1523 | if test -n "$ac_init_help"; then |
1524 | 1524 | case $ac_init_help in |
1525 | short | recursive ) echo "Configuration of blueman 2.0.5:";; | |
1525 | short | recursive ) echo "Configuration of blueman 2.0.6:";; | |
1526 | 1526 | esac |
1527 | 1527 | cat <<\_ACEOF |
1528 | 1528 | |
1532 | 1532 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1533 | 1533 | --enable-silent-rules less verbose build output (undo: "make V=1") |
1534 | 1534 | --disable-silent-rules verbose build output (undo: "make V=0") |
1535 | --enable-maintainer-mode | |
1536 | enable make rules and dependencies not useful (and | |
1535 | --disable-maintainer-mode | |
1536 | disable make rules and dependencies not useful (and | |
1537 | 1537 | sometimes confusing) to the casual installer |
1538 | 1538 | --enable-dependency-tracking |
1539 | 1539 | do not reject slow dependency extractors |
1679 | 1679 | test -n "$ac_init_help" && exit $ac_status |
1680 | 1680 | if $ac_init_version; then |
1681 | 1681 | cat <<\_ACEOF |
1682 | blueman configure 2.0.5 | |
1682 | blueman configure 2.0.6 | |
1683 | 1683 | generated by GNU Autoconf 2.69 |
1684 | 1684 | |
1685 | 1685 | Copyright (C) 2012 Free Software Foundation, Inc. |
2048 | 2048 | This file contains any messages produced by compilers while |
2049 | 2049 | running configure, to aid debugging if configure makes a mistake. |
2050 | 2050 | |
2051 | It was created by blueman $as_me 2.0.5, which was | |
2051 | It was created by blueman $as_me 2.0.6, which was | |
2052 | 2052 | generated by GNU Autoconf 2.69. Invocation command line was |
2053 | 2053 | |
2054 | 2054 | $ $0 $@ |
2913 | 2913 | |
2914 | 2914 | # Define the identity of the package. |
2915 | 2915 | PACKAGE='blueman' |
2916 | VERSION='2.0.5' | |
2916 | VERSION='2.0.6' | |
2917 | 2917 | |
2918 | 2918 | |
2919 | 2919 | cat >>confdefs.h <<_ACEOF |
3014 | 3014 | if test "${enable_maintainer_mode+set}" = set; then : |
3015 | 3015 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
3016 | 3016 | else |
3017 | USE_MAINTAINER_MODE=no | |
3017 | USE_MAINTAINER_MODE=yes | |
3018 | 3018 | fi |
3019 | 3019 | |
3020 | 3020 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
15733 | 15733 | # report actual input values of CONFIG_FILES etc. instead of their |
15734 | 15734 | # values after options handling. |
15735 | 15735 | ac_log=" |
15736 | This file was extended by blueman $as_me 2.0.5, which was | |
15736 | This file was extended by blueman $as_me 2.0.6, which was | |
15737 | 15737 | generated by GNU Autoconf 2.69. Invocation command line was |
15738 | 15738 | |
15739 | 15739 | CONFIG_FILES = $CONFIG_FILES |
15799 | 15799 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15800 | 15800 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15801 | 15801 | ac_cs_version="\\ |
15802 | blueman config.status 2.0.5 | |
15802 | blueman config.status 2.0.6 | |
15803 | 15803 | configured by $0, generated by GNU Autoconf 2.69, |
15804 | 15804 | with options \\"\$ac_cs_config\\" |
15805 | 15805 |
48 | 48 | 'configure.ac' |
49 | 49 | ], |
50 | 50 | { |
51 | '_LT_WITH_SYSROOT' => 1, | |
52 | '_LT_AC_LOCK' => 1, | |
53 | 'AC_LIBTOOL_FC' => 1, | |
54 | '_LT_CC_BASENAME' => 1, | |
55 | 'AC_LIBLTDL_CONVENIENCE' => 1, | |
56 | 'AM_SILENT_RULES' => 1, | |
57 | 'AC_DISABLE_FAST_INSTALL' => 1, | |
58 | 'AC_LIBTOOL_F77' => 1, | |
59 | '_LT_AC_PROG_CXXCPP' => 1, | |
60 | 'LT_PATH_LD' => 1, | |
61 | 'LTDL_INSTALLABLE' => 1, | |
62 | '_LT_AC_CHECK_DLFCN' => 1, | |
63 | '_AM_SUBST_NOTMAKE' => 1, | |
64 | 'AC_CONFIG_MACRO_DIR' => 1, | |
65 | 'LT_SYS_MODULE_PATH' => 1, | |
66 | 'LTDL_INIT' => 1, | |
67 | 'AC_ENABLE_STATIC' => 1, | |
68 | 'LT_LIB_M' => 1, | |
69 | 'AC_LIBTOOL_CXX' => 1, | |
70 | '_LT_PROG_FC' => 1, | |
71 | 'AC_LIBTOOL_RC' => 1, | |
72 | 'AC_LTDL_DLSYM_USCORE' => 1, | |
73 | 'AC_LIBTOOL_PROG_CC_C_O' => 1, | |
74 | 'AC_LIBTOOL_COMPILER_OPTION' => 1, | |
75 | 'IT_PROG_INTLTOOL' => 1, | |
76 | 'AM_MISSING_HAS_RUN' => 1, | |
77 | '_LT_AC_TRY_DLOPEN_SELF' => 1, | |
78 | 'GLIB_RUN_PROG' => 1, | |
79 | 'PKG_CHECK_EXISTS' => 1, | |
80 | 'LT_SYS_DLOPEN_DEPLIBS' => 1, | |
81 | 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, | |
82 | '_LT_REQUIRED_DARWIN_CHECKS' => 1, | |
83 | 'AM_SUBST_NOTMAKE' => 1, | |
84 | 'AC_LTDL_SHLIBPATH' => 1, | |
85 | 'AM_PROG_LIBTOOL' => 1, | |
86 | 'AM_SET_DEPDIR' => 1, | |
87 | '_m4_warn' => 1, | |
88 | 'AC_LTDL_ENABLE_INSTALL' => 1, | |
89 | 'LT_LIB_DLLOAD' => 1, | |
90 | '_LT_AC_SYS_LIBPATH_AIX' => 1, | |
91 | 'AC_LIBTOOL_CONFIG' => 1, | |
92 | 'AC_PROG_LD' => 1, | |
93 | 'AM_DISABLE_STATIC' => 1, | |
94 | 'AM_DISABLE_SHARED' => 1, | |
95 | '_IT_SUBST' => 1, | |
96 | 'LT_SYS_DLOPEN_SELF' => 1, | |
97 | 'AM_NLS' => 1, | |
98 | '_AM_SET_OPTION' => 1, | |
99 | 'AC_PROG_LD_GNU' => 1, | |
100 | 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, | |
101 | 'AC_DEFUN_ONCE' => 1, | |
102 | '_LT_AC_TAGCONFIG' => 1, | |
103 | '_LT_LINKER_BOILERPLATE' => 1, | |
104 | '_LT_PROG_LTMAIN' => 1, | |
105 | '_GSETTINGS_SUBST' => 1, | |
106 | 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, | |
107 | 'PKG_PROG_PKG_CONFIG' => 1, | |
108 | 'AM_ENABLE_STATIC' => 1, | |
109 | 'AC_PATH_TOOL_PREFIX' => 1, | |
110 | '_LT_AC_LANG_F77_CONFIG' => 1, | |
111 | 'AM_MISSING_PROG' => 1, | |
112 | 'AM_CHECK_PYTHON_HEADERS' => 1, | |
113 | 'AC_LIBTOOL_LANG_C_CONFIG' => 1, | |
114 | 'LT_FUNC_DLSYM_USCORE' => 1, | |
115 | 'AC_PROG_INTLTOOL' => 1, | |
116 | 'AM_PATH_PYTHON' => 1, | |
117 | 'LT_AC_PROG_GCJ' => 1, | |
118 | 'AC_PROG_LIBTOOL' => 1, | |
119 | '_LT_COMPILER_BOILERPLATE' => 1, | |
120 | 'LT_SYS_MODULE_EXT' => 1, | |
121 | '_AM_IF_OPTION' => 1, | |
122 | '_LT_PROG_ECHO_BACKSLASH' => 1, | |
123 | 'LT_INIT' => 1, | |
124 | '_LT_AC_SHELL_INIT' => 1, | |
125 | '_LT_LIBOBJ' => 1, | |
126 | 'AM_PROG_INSTALL_SH' => 1, | |
127 | 'm4_include' => 1, | |
51 | 128 | 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, |
52 | '_AM_IF_OPTION' => 1, | |
129 | 'AM_SET_LEADING_DOT' => 1, | |
130 | 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, | |
131 | 'PKG_CHECK_MODULES' => 1, | |
132 | 'LTOBSOLETE_VERSION' => 1, | |
133 | 'AM_CHECK_PYMOD' => 1, | |
134 | '_PKG_SHORT_ERRORS_SUPPORTED' => 1, | |
135 | '_LT_AC_LANG_C_CONFIG' => 1, | |
136 | '_LT_PREPARE_SED_QUOTE_VARS' => 1, | |
137 | '_LT_AC_LANG_GCJ' => 1, | |
138 | 'AC_LTDL_OBJDIR' => 1, | |
139 | 'AC_CONFIG_MACRO_DIR_TRACE' => 1, | |
140 | 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, | |
141 | 'AM_ENABLE_SHARED' => 1, | |
142 | 'AC_WITH_LTDL' => 1, | |
143 | 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, | |
144 | '_LT_PROG_F77' => 1, | |
145 | '_LTDL_SETUP' => 1, | |
146 | 'AC_LTDL_PREOPEN' => 1, | |
147 | 'LT_PATH_NM' => 1, | |
148 | 'LT_CMD_MAX_LEN' => 1, | |
149 | '_LT_DLL_DEF_P' => 1, | |
150 | 'm4_pattern_forbid' => 1, | |
151 | 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, | |
152 | 'AM_INIT_AUTOMAKE' => 1, | |
153 | 'AC_LIBTOOL_GCJ' => 1, | |
154 | 'AM_RUN_LOG' => 1, | |
53 | 155 | 'AM_PROG_CC_C_O' => 1, |
156 | 'm4_pattern_allow' => 1, | |
157 | 'LT_LANG' => 1, | |
158 | '_LT_AC_LANG_CXX_CONFIG' => 1, | |
159 | '_LT_AC_LANG_F77' => 1, | |
160 | 'AM_MAKE_INCLUDE' => 1, | |
161 | 'AM_GLIB_DEFINE_LOCALEDIR' => 1, | |
162 | 'AC_PATH_MAGIC' => 1, | |
163 | '_AM_PROG_CC_C_O' => 1, | |
164 | 'AM_AUTOMAKE_VERSION' => 1, | |
165 | 'AM_AUX_DIR_EXPAND' => 1, | |
166 | 'AC_PROG_NM' => 1, | |
167 | 'AC_LIBTOOL_OBJDIR' => 1, | |
168 | 'PKG_CHECK_VAR' => 1, | |
169 | '_LT_LINKER_OPTION' => 1, | |
170 | 'PKG_NOARCH_INSTALLDIR' => 1, | |
171 | 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, | |
172 | 'AM_GLIB_GNU_GETTEXT' => 1, | |
173 | 'LT_AC_PROG_RC' => 1, | |
174 | 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, | |
175 | '_LT_AC_SYS_COMPILER' => 1, | |
176 | 'GLIB_GNU_GETTEXT' => 1, | |
177 | 'PKG_INSTALLDIR' => 1, | |
178 | 'AM_SANITY_CHECK' => 1, | |
179 | 'AC_LIBLTDL_INSTALLABLE' => 1, | |
180 | 'LT_OUTPUT' => 1, | |
181 | 'AC_LIBTOOL_DLOPEN' => 1, | |
182 | 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, | |
183 | '_LT_AC_TAGVAR' => 1, | |
184 | 'AM_CONDITIONAL' => 1, | |
185 | 'AC_DEPLIBS_CHECK_METHOD' => 1, | |
186 | 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
187 | 'AC_ENABLE_FAST_INSTALL' => 1, | |
188 | 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, | |
189 | 'IT_PO_SUBDIR' => 1, | |
54 | 190 | 'LTVERSION_VERSION' => 1, |
55 | '_LT_AC_LANG_C_CONFIG' => 1, | |
56 | 'LT_SYS_DLOPEN_DEPLIBS' => 1, | |
57 | 'LT_AC_PROG_GCJ' => 1, | |
58 | '_LT_AC_SYS_COMPILER' => 1, | |
59 | 'LT_SYS_DLOPEN_SELF' => 1, | |
60 | '_LT_WITH_SYSROOT' => 1, | |
61 | 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
191 | 'AC_LIBTOOL_LINKER_OPTION' => 1, | |
192 | 'AM_PYTHON_CHECK_VERSION' => 1, | |
193 | '_AC_PROG_LIBTOOL' => 1, | |
194 | 'AC_LTDL_SYMBOL_USCORE' => 1, | |
195 | '_AM_SET_OPTIONS' => 1, | |
196 | 'LT_PROG_GCJ' => 1, | |
197 | 'AM_PROG_LD' => 1, | |
198 | '_LT_PROG_CXX' => 1, | |
199 | '_AC_AM_CONFIG_HEADER_HOOK' => 1, | |
200 | 'AU_DEFUN' => 1, | |
201 | 'AC_LIBTOOL_PICMODE' => 1, | |
202 | 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, | |
203 | 'LT_WITH_LTDL' => 1, | |
204 | 'AC_LIBTOOL_SETUP' => 1, | |
205 | 'PKG_CHECK_MODULES_STATIC' => 1, | |
62 | 206 | 'LT_PROG_GO' => 1, |
63 | 'AM_SANITY_CHECK' => 1, | |
64 | 'AM_PATH_PYTHON' => 1, | |
65 | 'AC_LIBTOOL_F77' => 1, | |
66 | 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, | |
67 | 'LT_INIT' => 1, | |
207 | 'AC_DISABLE_SHARED' => 1, | |
208 | '_LT_PATH_TOOL_PREFIX' => 1, | |
209 | '_AM_MANGLE_OPTION' => 1, | |
210 | 'AM_PROG_NM' => 1, | |
211 | 'AC_LTDL_SHLIBEXT' => 1, | |
212 | '_LT_AC_FILE_LTDLL_C' => 1, | |
213 | 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, | |
214 | 'GLIB_GSETTINGS' => 1, | |
215 | 'include' => 1, | |
216 | '_LT_COMPILER_OPTION' => 1, | |
217 | 'LT_PROG_RC' => 1, | |
218 | 'AC_DEFUN' => 1, | |
219 | 'AC_CHECK_LIBM' => 1, | |
220 | 'AM_PROG_INSTALL_STRIP' => 1, | |
221 | '_AM_AUTOCONF_VERSION' => 1, | |
222 | 'AC_LIBTOOL_WIN32_DLL' => 1, | |
223 | 'LTDL_CONVENIENCE' => 1, | |
224 | '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
225 | '_LT_AC_LANG_CXX' => 1, | |
68 | 226 | '_LT_AC_PROG_ECHO_BACKSLASH' => 1, |
69 | 227 | 'LT_SUPPORTED_TAG' => 1, |
70 | '_LT_AC_PROG_CXXCPP' => 1, | |
71 | 'AC_LIBTOOL_SETUP' => 1, | |
72 | 'AC_PROG_LIBTOOL' => 1, | |
73 | 'AM_CHECK_PYMOD' => 1, | |
74 | '_LT_AC_TAGVAR' => 1, | |
75 | 'AC_PATH_MAGIC' => 1, | |
76 | 'AC_LIBTOOL_CXX' => 1, | |
77 | '_LT_PATH_TOOL_PREFIX' => 1, | |
78 | 'AC_CONFIG_MACRO_DIR' => 1, | |
79 | '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
80 | '_AC_PROG_LIBTOOL' => 1, | |
81 | 'LT_CMD_MAX_LEN' => 1, | |
82 | 'AM_AUTOMAKE_VERSION' => 1, | |
228 | 'LT_CONFIG_LTDL_DIR' => 1, | |
229 | 'LT_FUNC_ARGZ' => 1, | |
230 | '_AM_PROG_TAR' => 1, | |
231 | 'LT_SYS_DLSEARCH_PATH' => 1, | |
232 | 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, | |
233 | 'LT_AC_PROG_SED' => 1, | |
234 | 'LT_SYS_SYMBOL_USCORE' => 1, | |
235 | 'AC_LIBTOOL_DLOPEN_SELF' => 1, | |
236 | 'AC_LIB_LTDL' => 1, | |
237 | 'AC_LTDL_DLLIB' => 1, | |
238 | '_AM_DEPENDENCIES' => 1, | |
239 | 'AC_PROG_EGREP' => 1, | |
240 | 'AC_DISABLE_STATIC' => 1, | |
83 | 241 | 'LTOPTIONS_VERSION' => 1, |
84 | '_LT_AC_TRY_DLOPEN_SELF' => 1, | |
85 | '_LT_PROG_ECHO_BACKSLASH' => 1, | |
86 | 'AU_DEFUN' => 1, | |
87 | 'LT_AC_PROG_SED' => 1, | |
88 | 'AM_SILENT_RULES' => 1, | |
89 | 'AM_MISSING_HAS_RUN' => 1, | |
90 | '_LT_AC_SYS_LIBPATH_AIX' => 1, | |
91 | 'LT_SYS_MODULE_PATH' => 1, | |
92 | 'IT_PROG_INTLTOOL' => 1, | |
93 | 'AM_CONDITIONAL' => 1, | |
94 | 'AM_PROG_INSTALL_SH' => 1, | |
95 | 'AM_AUX_DIR_EXPAND' => 1, | |
242 | '_LT_AC_LANG_RC_CONFIG' => 1, | |
243 | 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, | |
244 | 'AS_AC_EXPAND' => 1, | |
245 | 'AC_PROG_LD_RELOAD_FLAG' => 1, | |
246 | 'AM_DEP_TRACK' => 1, | |
247 | '_LT_AC_LANG_GCJ_CONFIG' => 1, | |
248 | 'LTSUGAR_VERSION' => 1, | |
249 | 'AM_MAINTAINER_MODE' => 1, | |
250 | 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, | |
96 | 251 | '_AM_CONFIG_MACRO_DIRS' => 1, |
97 | 'AC_ENABLE_FAST_INSTALL' => 1, | |
98 | 'include' => 1, | |
99 | 'PKG_PROG_PKG_CONFIG' => 1, | |
100 | 'AM_PROG_LD' => 1, | |
101 | 'AC_DEPLIBS_CHECK_METHOD' => 1, | |
102 | '_LT_PREPARE_SED_QUOTE_VARS' => 1, | |
103 | 'AM_PROG_LIBTOOL' => 1, | |
104 | 'PKG_CHECK_VAR' => 1, | |
105 | '_LT_AC_CHECK_DLFCN' => 1, | |
106 | '_LT_AC_LANG_RC_CONFIG' => 1, | |
107 | 'AM_RUN_LOG' => 1, | |
108 | '_LT_PROG_CXX' => 1, | |
109 | 'AM_DISABLE_SHARED' => 1, | |
110 | 'LT_AC_PROG_RC' => 1, | |
111 | '_LT_AC_LANG_GCJ_CONFIG' => 1, | |
112 | 252 | 'AC_ENABLE_SHARED' => 1, |
113 | 253 | 'AC_LTDL_SYSSEARCHPATH' => 1, |
114 | 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, | |
115 | 'LTSUGAR_VERSION' => 1, | |
116 | '_LT_CC_BASENAME' => 1, | |
117 | 'IT_PO_SUBDIR' => 1, | |
118 | '_AM_PROG_CC_C_O' => 1, | |
119 | 'AC_DISABLE_STATIC' => 1, | |
120 | 'PKG_CHECK_MODULES_STATIC' => 1, | |
121 | 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, | |
122 | 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, | |
123 | '_LT_LINKER_OPTION' => 1, | |
124 | 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, | |
125 | 'AC_PROG_INTLTOOL' => 1, | |
126 | 'AM_NLS' => 1, | |
127 | 'AC_LTDL_OBJDIR' => 1, | |
128 | '_LT_COMPILER_OPTION' => 1, | |
129 | '_AM_MANGLE_OPTION' => 1, | |
130 | 'AC_LIBTOOL_GCJ' => 1, | |
131 | 'LT_PATH_NM' => 1, | |
132 | 'LT_PROG_RC' => 1, | |
133 | 'AC_PROG_NM' => 1, | |
134 | 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, | |
135 | '_LT_PROG_LTMAIN' => 1, | |
136 | '_LT_PROG_F77' => 1, | |
137 | '_LT_DLL_DEF_P' => 1, | |
138 | 'm4_pattern_allow' => 1, | |
139 | '_IT_SUBST' => 1, | |
140 | 'AC_LTDL_DLSYM_USCORE' => 1, | |
141 | '_LTDL_SETUP' => 1, | |
142 | '_LT_AC_TAGCONFIG' => 1, | |
143 | 'AC_LIBTOOL_CONFIG' => 1, | |
144 | 'LT_LANG' => 1, | |
145 | '_LT_AC_LANG_F77' => 1, | |
146 | 'AC_CHECK_LIBM' => 1, | |
147 | 'GLIB_RUN_PROG' => 1, | |
148 | '_LT_AC_LANG_F77_CONFIG' => 1, | |
149 | 'LT_PATH_LD' => 1, | |
150 | 'AM_SUBST_NOTMAKE' => 1, | |
151 | 'AC_LTDL_DLLIB' => 1, | |
152 | 'PKG_CHECK_MODULES' => 1, | |
153 | 'AC_LIBLTDL_CONVENIENCE' => 1, | |
154 | 'LT_FUNC_ARGZ' => 1, | |
155 | 'GLIB_GSETTINGS' => 1, | |
156 | '_PKG_SHORT_ERRORS_SUPPORTED' => 1, | |
157 | '_m4_warn' => 1, | |
158 | '_LT_AC_LANG_GCJ' => 1, | |
159 | 'LTDL_INIT' => 1, | |
160 | 'AC_DISABLE_FAST_INSTALL' => 1, | |
161 | '_AC_AM_CONFIG_HEADER_HOOK' => 1, | |
162 | 'AC_WITH_LTDL' => 1, | |
163 | 'AC_ENABLE_STATIC' => 1, | |
164 | 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, | |
165 | 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, | |
166 | 'LTDL_CONVENIENCE' => 1, | |
167 | 'AC_LIBLTDL_INSTALLABLE' => 1, | |
168 | 'AM_MISSING_PROG' => 1, | |
169 | 'PKG_INSTALLDIR' => 1, | |
170 | 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, | |
171 | '_AM_SET_OPTION' => 1, | |
172 | 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, | |
173 | '_AM_DEPENDENCIES' => 1, | |
174 | 'm4_pattern_forbid' => 1, | |
175 | 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, | |
176 | 'AC_DISABLE_SHARED' => 1, | |
177 | 'AC_LIBTOOL_PICMODE' => 1, | |
178 | 'AM_MAKE_INCLUDE' => 1, | |
179 | 'AC_LIBTOOL_FC' => 1, | |
180 | 'AC_LTDL_SYMBOL_USCORE' => 1, | |
181 | 'AC_PROG_LD_GNU' => 1, | |
182 | '_AM_SUBST_NOTMAKE' => 1, | |
183 | 'AC_LIB_LTDL' => 1, | |
184 | '_LT_AC_LANG_CXX_CONFIG' => 1, | |
185 | 'AM_SET_DEPDIR' => 1, | |
186 | 'LT_SYS_MODULE_EXT' => 1, | |
187 | 'LT_CONFIG_LTDL_DIR' => 1, | |
188 | 'AM_PYTHON_CHECK_VERSION' => 1, | |
189 | 'AM_PROG_NM' => 1, | |
190 | 'AM_ENABLE_SHARED' => 1, | |
191 | 'AC_LIBTOOL_PROG_CC_C_O' => 1, | |
192 | 'AC_DEFUN' => 1, | |
193 | 'AM_PROG_INSTALL_STRIP' => 1, | |
194 | 'AC_LTDL_PREOPEN' => 1, | |
195 | 'AC_LIBTOOL_LINKER_OPTION' => 1, | |
196 | 'AC_CONFIG_MACRO_DIR_TRACE' => 1, | |
197 | 'PKG_CHECK_EXISTS' => 1, | |
198 | 'AC_LTDL_ENABLE_INSTALL' => 1, | |
199 | 'AM_DISABLE_STATIC' => 1, | |
200 | 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, | |
201 | '_AM_PROG_TAR' => 1, | |
202 | 'LTDL_INSTALLABLE' => 1, | |
203 | '_LT_LIBOBJ' => 1, | |
204 | 'AM_ENABLE_STATIC' => 1, | |
205 | 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, | |
206 | 'AM_GLIB_GNU_GETTEXT' => 1, | |
207 | '_LT_AC_LOCK' => 1, | |
208 | '_LT_AC_FILE_LTDLL_C' => 1, | |
209 | 'AC_LIBTOOL_DLOPEN_SELF' => 1, | |
210 | 'AC_PROG_LD_RELOAD_FLAG' => 1, | |
211 | 'LT_LIB_M' => 1, | |
212 | 'AM_DEP_TRACK' => 1, | |
213 | '_LT_COMPILER_BOILERPLATE' => 1, | |
214 | 'LT_SYS_DLSEARCH_PATH' => 1, | |
215 | 'PKG_NOARCH_INSTALLDIR' => 1, | |
216 | 'AC_LTDL_SHLIBEXT' => 1, | |
217 | 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, | |
218 | 'AC_LIBTOOL_COMPILER_OPTION' => 1, | |
219 | '_LT_AC_LANG_CXX' => 1, | |
220 | '_LT_REQUIRED_DARWIN_CHECKS' => 1, | |
221 | 'AC_LTDL_SHLIBPATH' => 1, | |
222 | 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, | |
223 | '_GSETTINGS_SUBST' => 1, | |
224 | 'AS_AC_EXPAND' => 1, | |
225 | 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, | |
226 | 'AC_LIBTOOL_RC' => 1, | |
227 | 'AC_PATH_TOOL_PREFIX' => 1, | |
228 | 'AC_LIBTOOL_WIN32_DLL' => 1, | |
229 | 'LT_SYS_SYMBOL_USCORE' => 1, | |
230 | 'AC_PROG_LD' => 1, | |
231 | 'AC_LIBTOOL_DLOPEN' => 1, | |
232 | 'AC_PROG_EGREP' => 1, | |
233 | '_LT_AC_SHELL_INIT' => 1, | |
234 | 'LT_AC_PROG_EGREP' => 1, | |
235 | 'LT_OUTPUT' => 1, | |
236 | '_AM_SET_OPTIONS' => 1, | |
237 | 'LT_PROG_GCJ' => 1, | |
238 | 'GLIB_GNU_GETTEXT' => 1, | |
239 | 'AM_GLIB_DEFINE_LOCALEDIR' => 1, | |
240 | 'LTOBSOLETE_VERSION' => 1, | |
241 | 'LT_LIB_DLLOAD' => 1, | |
242 | 'AM_MAINTAINER_MODE' => 1, | |
243 | 'm4_include' => 1, | |
244 | 'AC_DEFUN_ONCE' => 1, | |
245 | '_AM_AUTOCONF_VERSION' => 1, | |
246 | 'AM_CHECK_PYTHON_HEADERS' => 1, | |
247 | '_LT_PROG_FC' => 1, | |
248 | 'LT_FUNC_DLSYM_USCORE' => 1, | |
249 | '_LT_LINKER_BOILERPLATE' => 1, | |
250 | 'AM_INIT_AUTOMAKE' => 1, | |
251 | 'AC_LIBTOOL_OBJDIR' => 1, | |
252 | 'AC_LIBTOOL_LANG_C_CONFIG' => 1, | |
253 | 'AM_SET_LEADING_DOT' => 1, | |
254 | 'LT_WITH_LTDL' => 1 | |
254 | 'LT_AC_PROG_EGREP' => 1 | |
255 | 255 | } |
256 | 256 | ], 'Autom4te::Request' ), |
257 | 257 | bless( [ |
266 | 266 | 'configure.ac' |
267 | 267 | ], |
268 | 268 | { |
269 | 'm4_include' => 1, | |
270 | 'LT_SUPPORTED_TAG' => 1, | |
271 | 'LT_CONFIG_LTDL_DIR' => 1, | |
272 | '_AM_COND_ELSE' => 1, | |
273 | 'LT_INIT' => 1, | |
274 | 'AC_DEFINE_TRACE_LITERAL' => 1, | |
275 | 'AM_PROG_FC_C_O' => 1, | |
276 | 'AM_PROG_F77_C_O' => 1, | |
277 | 'AC_INIT' => 1, | |
278 | 'AC_FC_PP_SRCEXT' => 1, | |
279 | '_AM_MAKEFILE_INCLUDE' => 1, | |
280 | 'AM_CONDITIONAL' => 1, | |
281 | 'AC_CANONICAL_HOST' => 1, | |
282 | 'AH_OUTPUT' => 1, | |
283 | 'AM_EXTRA_RECURSIVE_TARGETS' => 1, | |
284 | 'AC_CONFIG_HEADERS' => 1, | |
285 | 'AM_SILENT_RULES' => 1, | |
286 | 'AM_AUTOMAKE_VERSION' => 1, | |
287 | 'AC_CANONICAL_TARGET' => 1, | |
288 | 'include' => 1, | |
289 | 'sinclude' => 1, | |
290 | 'AC_CONFIG_FILES' => 1, | |
291 | 'AM_PROG_MKDIR_P' => 1, | |
292 | 'AM_POT_TOOLS' => 1, | |
293 | 'AC_PROG_LIBTOOL' => 1, | |
294 | 'AC_REQUIRE_AUX_FILE' => 1, | |
295 | '_AM_SUBST_NOTMAKE' => 1, | |
296 | 'AC_CONFIG_AUX_DIR' => 1, | |
297 | 'AC_FC_PP_DEFINE' => 1, | |
298 | 'AM_MAINTAINER_MODE' => 1, | |
299 | 'AM_NLS' => 1, | |
300 | 'AM_MAKEFILE_INCLUDE' => 1, | |
301 | 'AM_PATH_GUILE' => 1, | |
302 | 'm4_pattern_allow' => 1, | |
303 | 'AM_GNU_GETTEXT' => 1, | |
304 | 'AC_SUBST' => 1, | |
305 | 'AC_FC_FREEFORM' => 1, | |
306 | 'AC_SUBST_TRACE' => 1, | |
307 | 'm4_pattern_forbid' => 1, | |
308 | 'AM_PROG_MOC' => 1, | |
269 | 309 | 'AM_INIT_AUTOMAKE' => 1, |
270 | 'include' => 1, | |
271 | 'AC_FC_PP_SRCEXT' => 1, | |
272 | 'AC_CANONICAL_HOST' => 1, | |
273 | 'AC_CONFIG_SUBDIRS' => 1, | |
274 | 'AM_PROG_MKDIR_P' => 1, | |
275 | 'AM_ENABLE_MULTILIB' => 1, | |
276 | 'sinclude' => 1, | |
277 | 'AM_CONDITIONAL' => 1, | |
278 | '_AM_COND_ELSE' => 1, | |
279 | 'AM_SILENT_RULES' => 1, | |
280 | 'AC_FC_FREEFORM' => 1, | |
281 | 'AM_EXTRA_RECURSIVE_TARGETS' => 1, | |
282 | 'AC_CONFIG_LINKS' => 1, | |
283 | 'AM_AUTOMAKE_VERSION' => 1, | |
284 | 'AC_INIT' => 1, | |
285 | 'AM_PROG_F77_C_O' => 1, | |
286 | 'AM_MAINTAINER_MODE' => 1, | |
287 | 'm4_include' => 1, | |
288 | 'AC_CONFIG_AUX_DIR' => 1, | |
289 | 'AM_PROG_MOC' => 1, | |
290 | 'AC_FC_SRCEXT' => 1, | |
291 | 'm4_pattern_allow' => 1, | |
292 | 'AC_REQUIRE_AUX_FILE' => 1, | |
310 | 'AC_CANONICAL_BUILD' => 1, | |
311 | '_LT_AC_TAGCONFIG' => 1, | |
312 | 'AM_PROG_CC_C_O' => 1, | |
293 | 313 | 'AM_PROG_CXX_C_O' => 1, |
294 | 'AM_GNU_GETTEXT' => 1, | |
295 | 'AC_CONFIG_FILES' => 1, | |
296 | 'LT_CONFIG_LTDL_DIR' => 1, | |
297 | 'AC_CONFIG_LIBOBJ_DIR' => 1, | |
298 | '_LT_AC_TAGCONFIG' => 1, | |
299 | 'AM_PATH_GUILE' => 1, | |
300 | 'AC_SUBST_TRACE' => 1, | |
301 | 'AC_DEFINE_TRACE_LITERAL' => 1, | |
302 | 'AM_XGETTEXT_OPTION' => 1, | |
303 | 'AM_PROG_FC_C_O' => 1, | |
304 | '_AM_SUBST_NOTMAKE' => 1, | |
305 | 'AM_MAKEFILE_INCLUDE' => 1, | |
306 | '_AM_MAKEFILE_INCLUDE' => 1, | |
307 | 'LT_INIT' => 1, | |
308 | 'AC_LIBSOURCE' => 1, | |
309 | 'AM_POT_TOOLS' => 1, | |
310 | 'm4_pattern_forbid' => 1, | |
311 | 'AC_PROG_LIBTOOL' => 1, | |
312 | 'LT_SUPPORTED_TAG' => 1, | |
313 | 'm4_sinclude' => 1, | |
314 | 'AC_CANONICAL_TARGET' => 1, | |
315 | 'AM_NLS' => 1, | |
316 | 'AC_CANONICAL_BUILD' => 1, | |
314 | '_AM_COND_IF' => 1, | |
315 | 'AM_PROG_LIBTOOL' => 1, | |
316 | '_m4_warn' => 1, | |
317 | 317 | '_AM_COND_ENDIF' => 1, |
318 | 318 | 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, |
319 | '_AM_COND_IF' => 1, | |
319 | 'm4_sinclude' => 1, | |
320 | 'AC_CANONICAL_SYSTEM' => 1, | |
321 | 'AC_FC_SRCEXT' => 1, | |
320 | 322 | 'AM_PROG_AR' => 1, |
321 | 'AM_PROG_CC_C_O' => 1, | |
322 | '_m4_warn' => 1, | |
323 | 'AC_CONFIG_HEADERS' => 1, | |
324 | 'AM_PROG_LIBTOOL' => 1, | |
325 | 'AC_SUBST' => 1, | |
326 | 'AC_FC_PP_DEFINE' => 1, | |
327 | 'AH_OUTPUT' => 1, | |
328 | 'AC_CANONICAL_SYSTEM' => 1 | |
323 | 'AC_CONFIG_LINKS' => 1, | |
324 | 'AC_CONFIG_SUBDIRS' => 1, | |
325 | 'AM_XGETTEXT_OPTION' => 1, | |
326 | 'AC_LIBSOURCE' => 1, | |
327 | 'AC_CONFIG_LIBOBJ_DIR' => 1, | |
328 | 'AM_ENABLE_MULTILIB' => 1 | |
329 | 329 | } |
330 | 330 | ], 'Autom4te::Request' ) |
331 | 331 | ); |
0 | m4trace:/usr/share/aclocal/glib-gettext.m4:363: -1- AU_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl | |
0 | m4trace:/usr/share/aclocal/glib-gettext.m4:366: -1- AU_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl | |
1 | 1 | |
2 | 2 | GLIB_LC_MESSAGES |
3 | 3 | GLIB_WITH_NLS |
67 | 67 | sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
68 | 68 | < $srcdir/po/POTFILES.in > po/POTFILES |
69 | 69 | ], [[$0: This macro is deprecated. You should use upstream gettext instead.]]) |
70 | m4trace:/usr/share/aclocal/glib-gettext.m4:363: -1- AC_DEFUN([GLIB_GNU_GETTEXT], [AC_DIAGNOSE([obsolete], [The macro `GLIB_GNU_GETTEXT' is obsolete. | |
70 | m4trace:/usr/share/aclocal/glib-gettext.m4:366: -1- AC_DEFUN([GLIB_GNU_GETTEXT], [AC_DIAGNOSE([obsolete], [The macro `GLIB_GNU_GETTEXT' is obsolete. | |
71 | 71 | You should run autoupdate.])dnl |
72 | 72 | AC_REQUIRE([AC_PROG_CC])dnl |
73 | 73 | |
139 | 139 | sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
140 | 140 | < $srcdir/po/POTFILES.in > po/POTFILES |
141 | 141 | ]) |
142 | m4trace:/usr/share/aclocal/glib-gettext.m4:463: -1- AC_DEFUN([AM_GLIB_GNU_GETTEXT], [GLIB_GNU_GETTEXT($@)]) | |
143 | m4trace:/usr/share/aclocal/glib-gettext.m4:463: -1- AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR], [GLIB_DEFINE_LOCALEDIR($@)]) | |
144 | m4trace:/usr/share/aclocal/glib-gettext.m4:473: -1- AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF | |
142 | m4trace:/usr/share/aclocal/glib-gettext.m4:466: -1- AC_DEFUN([AM_GLIB_GNU_GETTEXT], [GLIB_GNU_GETTEXT($@)]) | |
143 | m4trace:/usr/share/aclocal/glib-gettext.m4:466: -1- AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR], [GLIB_DEFINE_LOCALEDIR($@)]) | |
144 | m4trace:/usr/share/aclocal/glib-gettext.m4:476: -1- AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF | |
145 | 145 | $2 |
146 | 146 | _ACEOF |
147 | 147 | if AC_RUN_LOG([$1 conftest.foo]); then |
150 | 150 | echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD |
151 | 151 | sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD |
152 | 152 | fi]) |
153 | m4trace:/usr/share/aclocal/gsettings.m4:6: -1- AC_DEFUN([GLIB_GSETTINGS], [ | |
153 | m4trace:/usr/share/aclocal/gsettings.m4:9: -1- AC_DEFUN([GLIB_GSETTINGS], [ | |
154 | 154 | m4_pattern_allow([AM_V_GEN]) |
155 | 155 | AC_ARG_ENABLE(schemas-compile, |
156 | 156 | AS_HELP_STRING([--disable-schemas-compile], |
218 | 218 | ' |
219 | 219 | _GSETTINGS_SUBST(GSETTINGS_RULES) |
220 | 220 | ]) |
221 | m4trace:/usr/share/aclocal/gsettings.m4:78: -1- AC_DEFUN([_GSETTINGS_SUBST], [ | |
221 | m4trace:/usr/share/aclocal/gsettings.m4:81: -1- AC_DEFUN([_GSETTINGS_SUBST], [ | |
222 | 222 | AC_SUBST([$1]) |
223 | 223 | m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) |
224 | 224 | |
3398 | 3398 | m4trace:configure.ac:5: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) |
3399 | 3399 | m4trace:configure.ac:5: -1- m4_pattern_allow([^AM_BACKSLASH$]) |
3400 | 3400 | m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) |
3401 | m4trace:configure.ac:7: -1- AM_MAINTAINER_MODE | |
3401 | m4trace:configure.ac:7: -1- AM_MAINTAINER_MODE([enable]) | |
3402 | 3402 | m4trace:configure.ac:7: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
3403 | 3403 | m4trace:configure.ac:7: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$]) |
3404 | 3404 | m4trace:configure.ac:7: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$]) |
3536 | 3536 | m4trace:configure.ac:15: -1- AM_GLIB_GNU_GETTEXT |
3537 | 3537 | m4trace:configure.ac:15: -1- GLIB_GNU_GETTEXT([]) |
3538 | 3538 | m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `GLIB_GNU_GETTEXT' is obsolete. |
3539 | You should run autoupdate.], [/usr/share/aclocal/glib-gettext.m4:363: GLIB_GNU_GETTEXT is expanded from... | |
3540 | /usr/share/aclocal/glib-gettext.m4:463: AM_GLIB_GNU_GETTEXT is expanded from... | |
3539 | You should run autoupdate.], [/usr/share/aclocal/glib-gettext.m4:366: GLIB_GNU_GETTEXT is expanded from... | |
3540 | /usr/share/aclocal/glib-gettext.m4:466: AM_GLIB_GNU_GETTEXT is expanded from... | |
3541 | 3541 | configure.ac:15: the top level]) |
3542 | 3542 | m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_LOCALE_H$]) |
3543 | 3543 | m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. |
3545 | 3545 | ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... |
3546 | 3546 | ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... |
3547 | 3547 | ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... |
3548 | /usr/share/aclocal/glib-gettext.m4:48: GLIB_LC_MESSAGES is expanded from... | |
3549 | /usr/share/aclocal/glib-gettext.m4:363: GLIB_GNU_GETTEXT is expanded from... | |
3550 | /usr/share/aclocal/glib-gettext.m4:463: AM_GLIB_GNU_GETTEXT is expanded from... | |
3548 | /usr/share/aclocal/glib-gettext.m4:51: GLIB_LC_MESSAGES is expanded from... | |
3549 | /usr/share/aclocal/glib-gettext.m4:366: GLIB_GNU_GETTEXT is expanded from... | |
3550 | /usr/share/aclocal/glib-gettext.m4:466: AM_GLIB_GNU_GETTEXT is expanded from... | |
3551 | 3551 | configure.ac:15: the top level]) |
3552 | 3552 | m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$]) |
3553 | 3553 | m4trace:configure.ac:15: -1- m4_pattern_allow([^USE_NLS$]) |
3562 | 3562 | ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... |
3563 | 3563 | ../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from... |
3564 | 3564 | ../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from... |
3565 | /usr/share/aclocal/glib-gettext.m4:147: GLIB_WITH_NLS is expanded from... | |
3566 | /usr/share/aclocal/glib-gettext.m4:363: GLIB_GNU_GETTEXT is expanded from... | |
3567 | /usr/share/aclocal/glib-gettext.m4:463: AM_GLIB_GNU_GETTEXT is expanded from... | |
3565 | /usr/share/aclocal/glib-gettext.m4:150: GLIB_WITH_NLS is expanded from... | |
3566 | /usr/share/aclocal/glib-gettext.m4:366: GLIB_GNU_GETTEXT is expanded from... | |
3567 | /usr/share/aclocal/glib-gettext.m4:466: AM_GLIB_GNU_GETTEXT is expanded from... | |
3568 | 3568 | configure.ac:15: the top level]) |
3569 | 3569 | m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. |
3570 | 3570 | You should run autoupdate.], [../../lib/autoconf/general.m4:2698: AC_TRY_LINK is expanded from... |
3574 | 3574 | ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... |
3575 | 3575 | ../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from... |
3576 | 3576 | ../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from... |
3577 | /usr/share/aclocal/glib-gettext.m4:147: GLIB_WITH_NLS is expanded from... | |
3578 | /usr/share/aclocal/glib-gettext.m4:363: GLIB_GNU_GETTEXT is expanded from... | |
3579 | /usr/share/aclocal/glib-gettext.m4:463: AM_GLIB_GNU_GETTEXT is expanded from... | |
3577 | /usr/share/aclocal/glib-gettext.m4:150: GLIB_WITH_NLS is expanded from... | |
3578 | /usr/share/aclocal/glib-gettext.m4:366: GLIB_GNU_GETTEXT is expanded from... | |
3579 | /usr/share/aclocal/glib-gettext.m4:466: AM_GLIB_GNU_GETTEXT is expanded from... | |
3580 | 3580 | configure.ac:15: the top level]) |
3581 | 3581 | m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_BIND_TEXTDOMAIN_CODESET$]) |
3582 | 3582 | m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_BIND_TEXTDOMAIN_CODESET$]) |
3602 | 3602 | ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... |
3603 | 3603 | ../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from... |
3604 | 3604 | ../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from... |
3605 | /usr/share/aclocal/glib-gettext.m4:147: GLIB_WITH_NLS is expanded from... | |
3606 | /usr/share/aclocal/glib-gettext.m4:363: GLIB_GNU_GETTEXT is expanded from... | |
3607 | /usr/share/aclocal/glib-gettext.m4:463: AM_GLIB_GNU_GETTEXT is expanded from... | |
3605 | /usr/share/aclocal/glib-gettext.m4:150: GLIB_WITH_NLS is expanded from... | |
3606 | /usr/share/aclocal/glib-gettext.m4:366: GLIB_GNU_GETTEXT is expanded from... | |
3607 | /usr/share/aclocal/glib-gettext.m4:466: AM_GLIB_GNU_GETTEXT is expanded from... | |
3608 | 3608 | configure.ac:15: the top level]) |
3609 | 3609 | m4trace:configure.ac:15: -1- m4_pattern_allow([^ENABLE_NLS$]) |
3610 | 3610 | m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete. |
3611 | 3611 | You should run autoupdate.], [../../lib/autoconf/status.m4:1026: AC_OUTPUT_COMMANDS is expanded from... |
3612 | /usr/share/aclocal/glib-gettext.m4:147: GLIB_WITH_NLS is expanded from... | |
3613 | /usr/share/aclocal/glib-gettext.m4:363: GLIB_GNU_GETTEXT is expanded from... | |
3614 | /usr/share/aclocal/glib-gettext.m4:463: AM_GLIB_GNU_GETTEXT is expanded from... | |
3612 | /usr/share/aclocal/glib-gettext.m4:150: GLIB_WITH_NLS is expanded from... | |
3613 | /usr/share/aclocal/glib-gettext.m4:366: GLIB_GNU_GETTEXT is expanded from... | |
3614 | /usr/share/aclocal/glib-gettext.m4:466: AM_GLIB_GNU_GETTEXT is expanded from... | |
3615 | 3615 | configure.ac:15: the top level]) |
3616 | 3616 | m4trace:configure.ac:15: -1- m4_pattern_allow([^CATALOGS$]) |
3617 | 3617 | m4trace:configure.ac:15: -1- m4_pattern_allow([^CATOBJEXT$]) |
0 | m4trace:aclocal.m4:11539: -1- m4_include([acinclude.m4]) | |
1 | m4trace:configure.ac:3: -1- AC_INIT([blueman], [2.0.5], [https://github.com/blueman-project/blueman/issues]) | |
0 | m4trace:aclocal.m4:11545: -1- m4_include([acinclude.m4]) | |
1 | m4trace:configure.ac:3: -1- AC_INIT([blueman], [2.0.6], [https://github.com/blueman-project/blueman/issues]) | |
2 | 2 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_]) |
3 | 3 | m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_]) |
4 | 4 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) |
250 | 250 | m4trace:configure.ac:5: -1- AC_SUBST_TRACE([AM_BACKSLASH]) |
251 | 251 | m4trace:configure.ac:5: -1- m4_pattern_allow([^AM_BACKSLASH$]) |
252 | 252 | m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) |
253 | m4trace:configure.ac:7: -1- AM_MAINTAINER_MODE | |
253 | m4trace:configure.ac:7: -1- AM_MAINTAINER_MODE([enable]) | |
254 | 254 | m4trace:configure.ac:7: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
255 | 255 | m4trace:configure.ac:7: -1- AC_SUBST([MAINTAINER_MODE_TRUE]) |
256 | 256 | m4trace:configure.ac:7: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE]) |
342 | 342 | m4trace:configure.ac:8: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) |
343 | 343 | m4trace:configure.ac:9: -1- AC_PROG_LIBTOOL |
344 | 344 | m4trace:configure.ac:9: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete. |
345 | You should run autoupdate.], [aclocal.m4:879: AC_PROG_LIBTOOL is expanded from... | |
345 | You should run autoupdate.], [aclocal.m4:885: AC_PROG_LIBTOOL is expanded from... | |
346 | 346 | configure.ac:9: the top level]) |
347 | 347 | m4trace:configure.ac:9: -1- LT_INIT |
348 | 348 | m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) |
521 | 521 | m4trace:configure.ac:14: -1- AH_OUTPUT([GETTEXT_PACKAGE], [/* The gettext package */ |
522 | 522 | @%:@undef GETTEXT_PACKAGE]) |
523 | 523 | m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `GLIB_GNU_GETTEXT' is obsolete. |
524 | You should run autoupdate.], [aclocal.m4:385: GLIB_GNU_GETTEXT is expanded from... | |
525 | aclocal.m4:485: AM_GLIB_GNU_GETTEXT is expanded from... | |
524 | You should run autoupdate.], [aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... | |
525 | aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... | |
526 | 526 | configure.ac:15: the top level]) |
527 | 527 | m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_LOCALE_H], [/* Define to 1 if you have the <locale.h> header file. */ |
528 | 528 | @%:@undef HAVE_LOCALE_H]) |
533 | 533 | ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... |
534 | 534 | ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... |
535 | 535 | ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... |
536 | aclocal.m4:70: GLIB_LC_MESSAGES is expanded from... | |
537 | aclocal.m4:385: GLIB_GNU_GETTEXT is expanded from... | |
538 | aclocal.m4:485: AM_GLIB_GNU_GETTEXT is expanded from... | |
536 | aclocal.m4:73: GLIB_LC_MESSAGES is expanded from... | |
537 | aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... | |
538 | aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... | |
539 | 539 | configure.ac:15: the top level]) |
540 | 540 | m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LC_MESSAGES]) |
541 | 541 | m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$]) |
565 | 565 | ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... |
566 | 566 | ../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from... |
567 | 567 | ../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from... |
568 | aclocal.m4:169: GLIB_WITH_NLS is expanded from... | |
569 | aclocal.m4:385: GLIB_GNU_GETTEXT is expanded from... | |
570 | aclocal.m4:485: AM_GLIB_GNU_GETTEXT is expanded from... | |
568 | aclocal.m4:172: GLIB_WITH_NLS is expanded from... | |
569 | aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... | |
570 | aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... | |
571 | 571 | configure.ac:15: the top level]) |
572 | 572 | m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. |
573 | 573 | You should run autoupdate.], [../../lib/autoconf/general.m4:2698: AC_TRY_LINK is expanded from... |
577 | 577 | ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... |
578 | 578 | ../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from... |
579 | 579 | ../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from... |
580 | aclocal.m4:169: GLIB_WITH_NLS is expanded from... | |
581 | aclocal.m4:385: GLIB_GNU_GETTEXT is expanded from... | |
582 | aclocal.m4:485: AM_GLIB_GNU_GETTEXT is expanded from... | |
580 | aclocal.m4:172: GLIB_WITH_NLS is expanded from... | |
581 | aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... | |
582 | aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... | |
583 | 583 | configure.ac:15: the top level]) |
584 | 584 | m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_BIND_TEXTDOMAIN_CODESET], [/* Define to 1 if you have the `bind_textdomain_codeset\' function. */ |
585 | 585 | @%:@undef HAVE_BIND_TEXTDOMAIN_CODESET]) |
614 | 614 | ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... |
615 | 615 | ../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from... |
616 | 616 | ../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from... |
617 | aclocal.m4:169: GLIB_WITH_NLS is expanded from... | |
618 | aclocal.m4:385: GLIB_GNU_GETTEXT is expanded from... | |
619 | aclocal.m4:485: AM_GLIB_GNU_GETTEXT is expanded from... | |
617 | aclocal.m4:172: GLIB_WITH_NLS is expanded from... | |
618 | aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... | |
619 | aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... | |
620 | 620 | configure.ac:15: the top level]) |
621 | 621 | m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_NLS]) |
622 | 622 | m4trace:configure.ac:15: -1- m4_pattern_allow([^ENABLE_NLS$]) |
624 | 624 | @%:@undef ENABLE_NLS]) |
625 | 625 | m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete. |
626 | 626 | You should run autoupdate.], [../../lib/autoconf/status.m4:1026: AC_OUTPUT_COMMANDS is expanded from... |
627 | aclocal.m4:169: GLIB_WITH_NLS is expanded from... | |
628 | aclocal.m4:385: GLIB_GNU_GETTEXT is expanded from... | |
629 | aclocal.m4:485: AM_GLIB_GNU_GETTEXT is expanded from... | |
627 | aclocal.m4:172: GLIB_WITH_NLS is expanded from... | |
628 | aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... | |
629 | aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... | |
630 | 630 | configure.ac:15: the top level]) |
631 | 631 | m4trace:configure.ac:15: -1- AC_SUBST([CATALOGS]) |
632 | 632 | m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CATALOGS]) |
52 | 52 | @dbus.service.method('org.blueman.Mechanism', in_signature="ayays", out_signature="", sender_keyword="caller", |
53 | 53 | byte_arrays=True) |
54 | 54 | def EnableNetwork(self, ip_address, netmask, dhcp_handler, caller): |
55 | self.confirm_authorization(caller, "org.blueman.network.setup") | |
55 | 56 | nc = NetConf.get_default() |
56 | 57 | nc.set_ipv4(ip_address, netmask) |
57 | 58 | nc.set_dhcp_handler(DHCPDHANDLERS[dhcp_handler]) |
59 | 60 | |
60 | 61 | @dbus.service.method('org.blueman.Mechanism', in_signature="", out_signature="", sender_keyword="caller") |
61 | 62 | def ReloadNetwork(self, caller): |
63 | self.confirm_authorization(caller, "org.blueman.network.setup") | |
62 | 64 | nc = NetConf.get_default() |
63 | 65 | nc.apply_settings() |
64 | 66 | |
65 | 67 | @dbus.service.method('org.blueman.Mechanism', in_signature="", out_signature="", sender_keyword="caller") |
66 | 68 | def DisableNetwork(self, caller): |
69 | self.confirm_authorization(caller, "org.blueman.network.setup") | |
67 | 70 | nc = NetConf.get_default() |
68 | 71 | nc.remove_settings() |
69 | 72 | nc.set_ipv4(None, None) |
20 | 20 | @dbus.service.method('org.blueman.Mechanism', in_signature="sss", out_signature="s", sender_keyword="caller", |
21 | 21 | async_callbacks=("ok", "err")) |
22 | 22 | def PPPConnect(self, port, number, apn, caller, ok, err): |
23 | self.confirm_authorization(caller, "org.blueman.pppd.pppconnect") | |
23 | 24 | self.timer.stop() |
24 | 25 | from blueman.main.PPPConnection import PPPConnection |
25 | 26 |
12 | 12 | raise ImportError("Hardware kill switch not found") |
13 | 13 | |
14 | 14 | class RfKill(MechanismPlugin): |
15 | @dbus.service.method('org.blueman.Mechanism', in_signature="b", out_signature="") | |
16 | def SetRfkillState(self, state): | |
15 | @dbus.service.method('org.blueman.Mechanism', in_signature="b", out_signature="", sender_keyword="caller") | |
16 | def SetRfkillState(self, state, caller): | |
17 | self.confirm_authorization(caller, "org.blueman.rfkill.setstate") | |
17 | 18 | f = open('/dev/rfkill', 'r+b', buffering=0) |
18 | 19 | f.write(struct.pack("IBBBB", 0, RFKILL_TYPE_BLUETOOTH, RFKILL_OP_CHANGE_ALL, (0 if state else 1), 0)) |
19 | 20 | f.close() |
0 | 0 | #! /bin/sh |
1 | 1 | # Attempt to guess a canonical system name. |
2 | # Copyright 1992-2016 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2016-10-02' | |
2 | # Copyright 1992-2018 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2018-02-24' | |
5 | 5 | |
6 | 6 | # This file is free software; you can redistribute it and/or modify it |
7 | 7 | # under the terms of the GNU General Public License as published by |
14 | 14 | # General Public License for more details. |
15 | 15 | # |
16 | 16 | # You should have received a copy of the GNU General Public License |
17 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
17 | # along with this program; if not, see <https://www.gnu.org/licenses/>. | |
18 | 18 | # |
19 | 19 | # As a special exception to the GNU General Public License, if you |
20 | 20 | # distribute this file as part of a program that contains a |
26 | 26 | # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. |
27 | 27 | # |
28 | 28 | # You can get the latest version of this script from: |
29 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
29 | # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
30 | 30 | # |
31 | 31 | # Please send patches to <config-patches@gnu.org>. |
32 | 32 | |
38 | 38 | |
39 | 39 | Output the configuration name of the system \`$me' is run on. |
40 | 40 | |
41 | Operation modes: | |
41 | Options: | |
42 | 42 | -h, --help print this help, then exit |
43 | 43 | -t, --time-stamp print date of last modification, then exit |
44 | 44 | -v, --version print version number, then exit |
49 | 49 | GNU config.guess ($timestamp) |
50 | 50 | |
51 | 51 | Originally written by Per Bothner. |
52 | Copyright 1992-2016 Free Software Foundation, Inc. | |
52 | Copyright 1992-2018 Free Software Foundation, Inc. | |
53 | 53 | |
54 | 54 | This is free software; see the source for copying conditions. There is NO |
55 | 55 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
106 | 106 | dummy=$tmp/dummy ; |
107 | 107 | tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; |
108 | 108 | case $CC_FOR_BUILD,$HOST_CC,$CC in |
109 | ,,) echo "int x;" > $dummy.c ; | |
109 | ,,) echo "int x;" > "$dummy.c" ; | |
110 | 110 | for c in cc gcc c89 c99 ; do |
111 | if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then | |
111 | if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then | |
112 | 112 | CC_FOR_BUILD="$c"; break ; |
113 | 113 | fi ; |
114 | 114 | done ; |
131 | 131 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
132 | 132 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
133 | 133 | |
134 | case "${UNAME_SYSTEM}" in | |
134 | case "$UNAME_SYSTEM" in | |
135 | 135 | Linux|GNU|GNU/*) |
136 | 136 | # If the system lacks a compiler, then just pick glibc. |
137 | 137 | # We could probably try harder. |
138 | 138 | LIBC=gnu |
139 | 139 | |
140 | eval $set_cc_for_build | |
141 | cat <<-EOF > $dummy.c | |
140 | eval "$set_cc_for_build" | |
141 | cat <<-EOF > "$dummy.c" | |
142 | 142 | #include <features.h> |
143 | 143 | #if defined(__UCLIBC__) |
144 | 144 | LIBC=uclibc |
148 | 148 | LIBC=gnu |
149 | 149 | #endif |
150 | 150 | EOF |
151 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` | |
151 | eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" | |
152 | ||
153 | # If ldd exists, use it to detect musl libc. | |
154 | if command -v ldd >/dev/null && \ | |
155 | ldd --version 2>&1 | grep -q ^musl | |
156 | then | |
157 | LIBC=musl | |
158 | fi | |
152 | 159 | ;; |
153 | 160 | esac |
154 | 161 | |
155 | 162 | # Note: order is significant - the case branches are not exclusive. |
156 | 163 | |
157 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |
164 | case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in | |
158 | 165 | *:NetBSD:*:*) |
159 | 166 | # NetBSD (nbsd) targets should (where applicable) match one or |
160 | 167 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, |
168 | 175 | # portion of the name. We always set it to "unknown". |
169 | 176 | sysctl="sysctl -n hw.machine_arch" |
170 | 177 | UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ |
171 | /sbin/$sysctl 2>/dev/null || \ | |
172 | /usr/sbin/$sysctl 2>/dev/null || \ | |
178 | "/sbin/$sysctl" 2>/dev/null || \ | |
179 | "/usr/sbin/$sysctl" 2>/dev/null || \ | |
173 | 180 | echo unknown)` |
174 | case "${UNAME_MACHINE_ARCH}" in | |
181 | case "$UNAME_MACHINE_ARCH" in | |
175 | 182 | armeb) machine=armeb-unknown ;; |
176 | 183 | arm*) machine=arm-unknown ;; |
177 | 184 | sh3el) machine=shl-unknown ;; |
178 | 185 | sh3eb) machine=sh-unknown ;; |
179 | 186 | sh5el) machine=sh5le-unknown ;; |
180 | 187 | earmv*) |
181 | arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` | |
182 | endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` | |
183 | machine=${arch}${endian}-unknown | |
188 | arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` | |
189 | endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` | |
190 | machine="${arch}${endian}"-unknown | |
184 | 191 | ;; |
185 | *) machine=${UNAME_MACHINE_ARCH}-unknown ;; | |
192 | *) machine="$UNAME_MACHINE_ARCH"-unknown ;; | |
186 | 193 | esac |
187 | 194 | # The Operating System including object format, if it has switched |
188 | 195 | # to ELF recently (or will in the future) and ABI. |
189 | case "${UNAME_MACHINE_ARCH}" in | |
196 | case "$UNAME_MACHINE_ARCH" in | |
190 | 197 | earm*) |
191 | 198 | os=netbsdelf |
192 | 199 | ;; |
193 | 200 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
194 | eval $set_cc_for_build | |
201 | eval "$set_cc_for_build" | |
195 | 202 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
196 | 203 | | grep -q __ELF__ |
197 | 204 | then |
207 | 214 | ;; |
208 | 215 | esac |
209 | 216 | # Determine ABI tags. |
210 | case "${UNAME_MACHINE_ARCH}" in | |
217 | case "$UNAME_MACHINE_ARCH" in | |
211 | 218 | earm*) |
212 | 219 | expr='s/^earmv[0-9]/-eabi/;s/eb$//' |
213 | abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` | |
220 | abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` | |
214 | 221 | ;; |
215 | 222 | esac |
216 | 223 | # The OS release |
218 | 225 | # thus, need a distinct triplet. However, they do not need |
219 | 226 | # kernel version information, so it can be replaced with a |
220 | 227 | # suitable tag, in the style of linux-gnu. |
221 | case "${UNAME_VERSION}" in | |
228 | case "$UNAME_VERSION" in | |
222 | 229 | Debian*) |
223 | 230 | release='-gnu' |
224 | 231 | ;; |
225 | 232 | *) |
226 | release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2` | |
233 | release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` | |
227 | 234 | ;; |
228 | 235 | esac |
229 | 236 | # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: |
230 | 237 | # contains redundant information, the shorter form: |
231 | 238 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
232 | echo "${machine}-${os}${release}${abi}" | |
239 | echo "$machine-${os}${release}${abi}" | |
233 | 240 | exit ;; |
234 | 241 | *:Bitrig:*:*) |
235 | 242 | UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` |
236 | echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} | |
243 | echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" | |
237 | 244 | exit ;; |
238 | 245 | *:OpenBSD:*:*) |
239 | 246 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
240 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | |
247 | echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" | |
241 | 248 | exit ;; |
242 | 249 | *:LibertyBSD:*:*) |
243 | 250 | UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` |
244 | echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE} | |
251 | echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" | |
252 | exit ;; | |
253 | *:MidnightBSD:*:*) | |
254 | echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" | |
245 | 255 | exit ;; |
246 | 256 | *:ekkoBSD:*:*) |
247 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | |
257 | echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" | |
248 | 258 | exit ;; |
249 | 259 | *:SolidBSD:*:*) |
250 | echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | |
260 | echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" | |
251 | 261 | exit ;; |
252 | 262 | macppc:MirBSD:*:*) |
253 | echo powerpc-unknown-mirbsd${UNAME_RELEASE} | |
263 | echo powerpc-unknown-mirbsd"$UNAME_RELEASE" | |
254 | 264 | exit ;; |
255 | 265 | *:MirBSD:*:*) |
256 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} | |
266 | echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" | |
257 | 267 | exit ;; |
258 | 268 | *:Sortix:*:*) |
259 | echo ${UNAME_MACHINE}-unknown-sortix | |
260 | exit ;; | |
269 | echo "$UNAME_MACHINE"-unknown-sortix | |
270 | exit ;; | |
271 | *:Redox:*:*) | |
272 | echo "$UNAME_MACHINE"-unknown-redox | |
273 | exit ;; | |
274 | mips:OSF1:*.*) | |
275 | echo mips-dec-osf1 | |
276 | exit ;; | |
261 | 277 | alpha:OSF1:*:*) |
262 | 278 | case $UNAME_RELEASE in |
263 | 279 | *4.0) |
309 | 325 | # A Tn.n version is a released field test version. |
310 | 326 | # A Xn.n version is an unreleased experimental baselevel. |
311 | 327 | # 1.2 uses "1.2" for uname -r. |
312 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` | |
328 | echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" | |
313 | 329 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. |
314 | 330 | exitcode=$? |
315 | 331 | trap '' 0 |
316 | 332 | exit $exitcode ;; |
317 | Alpha\ *:Windows_NT*:*) | |
318 | # How do we know it's Interix rather than the generic POSIX subsystem? | |
319 | # Should we change UNAME_MACHINE based on the output of uname instead | |
320 | # of the specific Alpha model? | |
321 | echo alpha-pc-interix | |
322 | exit ;; | |
323 | 21064:Windows_NT:50:3) | |
324 | echo alpha-dec-winnt3.5 | |
325 | exit ;; | |
326 | 333 | Amiga*:UNIX_System_V:4.0:*) |
327 | 334 | echo m68k-unknown-sysv4 |
328 | 335 | exit ;; |
329 | 336 | *:[Aa]miga[Oo][Ss]:*:*) |
330 | echo ${UNAME_MACHINE}-unknown-amigaos | |
337 | echo "$UNAME_MACHINE"-unknown-amigaos | |
331 | 338 | exit ;; |
332 | 339 | *:[Mm]orph[Oo][Ss]:*:*) |
333 | echo ${UNAME_MACHINE}-unknown-morphos | |
340 | echo "$UNAME_MACHINE"-unknown-morphos | |
334 | 341 | exit ;; |
335 | 342 | *:OS/390:*:*) |
336 | 343 | echo i370-ibm-openedition |
342 | 349 | echo powerpc-ibm-os400 |
343 | 350 | exit ;; |
344 | 351 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
345 | echo arm-acorn-riscix${UNAME_RELEASE} | |
352 | echo arm-acorn-riscix"$UNAME_RELEASE" | |
346 | 353 | exit ;; |
347 | 354 | arm*:riscos:*:*|arm*:RISCOS:*:*) |
348 | 355 | echo arm-unknown-riscos |
369 | 376 | sparc) echo sparc-icl-nx7; exit ;; |
370 | 377 | esac ;; |
371 | 378 | s390x:SunOS:*:*) |
372 | echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
379 | echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" | |
373 | 380 | exit ;; |
374 | 381 | sun4H:SunOS:5.*:*) |
375 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
382 | echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
376 | 383 | exit ;; |
377 | 384 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
378 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
385 | echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" | |
379 | 386 | exit ;; |
380 | 387 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) |
381 | echo i386-pc-auroraux${UNAME_RELEASE} | |
388 | echo i386-pc-auroraux"$UNAME_RELEASE" | |
382 | 389 | exit ;; |
383 | 390 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
384 | eval $set_cc_for_build | |
391 | eval "$set_cc_for_build" | |
385 | 392 | SUN_ARCH=i386 |
386 | 393 | # If there is a compiler, see if it is configured for 64-bit objects. |
387 | 394 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. |
394 | 401 | SUN_ARCH=x86_64 |
395 | 402 | fi |
396 | 403 | fi |
397 | echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
404 | echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
398 | 405 | exit ;; |
399 | 406 | sun4*:SunOS:6*:*) |
400 | 407 | # According to config.sub, this is the proper way to canonicalize |
401 | 408 | # SunOS6. Hard to guess exactly what SunOS6 will be like, but |
402 | 409 | # it's likely to be more like Solaris than SunOS4. |
403 | echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
410 | echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
404 | 411 | exit ;; |
405 | 412 | sun4*:SunOS:*:*) |
406 | 413 | case "`/usr/bin/arch -k`" in |
409 | 416 | ;; |
410 | 417 | esac |
411 | 418 | # Japanese Language versions have a version number like `4.1.3-JL'. |
412 | echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` | |
419 | echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" | |
413 | 420 | exit ;; |
414 | 421 | sun3*:SunOS:*:*) |
415 | echo m68k-sun-sunos${UNAME_RELEASE} | |
422 | echo m68k-sun-sunos"$UNAME_RELEASE" | |
416 | 423 | exit ;; |
417 | 424 | sun*:*:4.2BSD:*) |
418 | 425 | UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` |
419 | test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3 | |
426 | test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 | |
420 | 427 | case "`/bin/arch`" in |
421 | 428 | sun3) |
422 | echo m68k-sun-sunos${UNAME_RELEASE} | |
429 | echo m68k-sun-sunos"$UNAME_RELEASE" | |
423 | 430 | ;; |
424 | 431 | sun4) |
425 | echo sparc-sun-sunos${UNAME_RELEASE} | |
432 | echo sparc-sun-sunos"$UNAME_RELEASE" | |
426 | 433 | ;; |
427 | 434 | esac |
428 | 435 | exit ;; |
429 | 436 | aushp:SunOS:*:*) |
430 | echo sparc-auspex-sunos${UNAME_RELEASE} | |
437 | echo sparc-auspex-sunos"$UNAME_RELEASE" | |
431 | 438 | exit ;; |
432 | 439 | # The situation for MiNT is a little confusing. The machine name |
433 | 440 | # can be virtually everything (everything which is not |
438 | 445 | # MiNT. But MiNT is downward compatible to TOS, so this should |
439 | 446 | # be no problem. |
440 | 447 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
441 | echo m68k-atari-mint${UNAME_RELEASE} | |
448 | echo m68k-atari-mint"$UNAME_RELEASE" | |
442 | 449 | exit ;; |
443 | 450 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
444 | echo m68k-atari-mint${UNAME_RELEASE} | |
451 | echo m68k-atari-mint"$UNAME_RELEASE" | |
445 | 452 | exit ;; |
446 | 453 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
447 | echo m68k-atari-mint${UNAME_RELEASE} | |
454 | echo m68k-atari-mint"$UNAME_RELEASE" | |
448 | 455 | exit ;; |
449 | 456 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
450 | echo m68k-milan-mint${UNAME_RELEASE} | |
457 | echo m68k-milan-mint"$UNAME_RELEASE" | |
451 | 458 | exit ;; |
452 | 459 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
453 | echo m68k-hades-mint${UNAME_RELEASE} | |
460 | echo m68k-hades-mint"$UNAME_RELEASE" | |
454 | 461 | exit ;; |
455 | 462 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
456 | echo m68k-unknown-mint${UNAME_RELEASE} | |
463 | echo m68k-unknown-mint"$UNAME_RELEASE" | |
457 | 464 | exit ;; |
458 | 465 | m68k:machten:*:*) |
459 | echo m68k-apple-machten${UNAME_RELEASE} | |
466 | echo m68k-apple-machten"$UNAME_RELEASE" | |
460 | 467 | exit ;; |
461 | 468 | powerpc:machten:*:*) |
462 | echo powerpc-apple-machten${UNAME_RELEASE} | |
469 | echo powerpc-apple-machten"$UNAME_RELEASE" | |
463 | 470 | exit ;; |
464 | 471 | RISC*:Mach:*:*) |
465 | 472 | echo mips-dec-mach_bsd4.3 |
466 | 473 | exit ;; |
467 | 474 | RISC*:ULTRIX:*:*) |
468 | echo mips-dec-ultrix${UNAME_RELEASE} | |
475 | echo mips-dec-ultrix"$UNAME_RELEASE" | |
469 | 476 | exit ;; |
470 | 477 | VAX*:ULTRIX*:*:*) |
471 | echo vax-dec-ultrix${UNAME_RELEASE} | |
478 | echo vax-dec-ultrix"$UNAME_RELEASE" | |
472 | 479 | exit ;; |
473 | 480 | 2020:CLIX:*:* | 2430:CLIX:*:*) |
474 | echo clipper-intergraph-clix${UNAME_RELEASE} | |
481 | echo clipper-intergraph-clix"$UNAME_RELEASE" | |
475 | 482 | exit ;; |
476 | 483 | mips:*:*:UMIPS | mips:*:*:RISCos) |
477 | eval $set_cc_for_build | |
478 | sed 's/^ //' << EOF >$dummy.c | |
484 | eval "$set_cc_for_build" | |
485 | sed 's/^ //' << EOF > "$dummy.c" | |
479 | 486 | #ifdef __cplusplus |
480 | 487 | #include <stdio.h> /* for printf() prototype */ |
481 | 488 | int main (int argc, char *argv[]) { |
484 | 491 | #endif |
485 | 492 | #if defined (host_mips) && defined (MIPSEB) |
486 | 493 | #if defined (SYSTYPE_SYSV) |
487 | printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); | |
494 | printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); | |
488 | 495 | #endif |
489 | 496 | #if defined (SYSTYPE_SVR4) |
490 | printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); | |
497 | printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); | |
491 | 498 | #endif |
492 | 499 | #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) |
493 | printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); | |
500 | printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); | |
494 | 501 | #endif |
495 | 502 | #endif |
496 | 503 | exit (-1); |
497 | 504 | } |
498 | 505 | EOF |
499 | $CC_FOR_BUILD -o $dummy $dummy.c && | |
500 | dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && | |
501 | SYSTEM_NAME=`$dummy $dummyarg` && | |
506 | $CC_FOR_BUILD -o "$dummy" "$dummy.c" && | |
507 | dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && | |
508 | SYSTEM_NAME=`"$dummy" "$dummyarg"` && | |
502 | 509 | { echo "$SYSTEM_NAME"; exit; } |
503 | echo mips-mips-riscos${UNAME_RELEASE} | |
510 | echo mips-mips-riscos"$UNAME_RELEASE" | |
504 | 511 | exit ;; |
505 | 512 | Motorola:PowerMAX_OS:*:*) |
506 | 513 | echo powerpc-motorola-powermax |
526 | 533 | AViiON:dgux:*:*) |
527 | 534 | # DG/UX returns AViiON for all architectures |
528 | 535 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
529 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | |
536 | if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] | |
530 | 537 | then |
531 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ | |
532 | [ ${TARGET_BINARY_INTERFACE}x = x ] | |
538 | if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ | |
539 | [ "$TARGET_BINARY_INTERFACE"x = x ] | |
533 | 540 | then |
534 | echo m88k-dg-dgux${UNAME_RELEASE} | |
541 | echo m88k-dg-dgux"$UNAME_RELEASE" | |
535 | 542 | else |
536 | echo m88k-dg-dguxbcs${UNAME_RELEASE} | |
543 | echo m88k-dg-dguxbcs"$UNAME_RELEASE" | |
537 | 544 | fi |
538 | 545 | else |
539 | echo i586-dg-dgux${UNAME_RELEASE} | |
546 | echo i586-dg-dgux"$UNAME_RELEASE" | |
540 | 547 | fi |
541 | 548 | exit ;; |
542 | 549 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
553 | 560 | echo m68k-tektronix-bsd |
554 | 561 | exit ;; |
555 | 562 | *:IRIX*:*:*) |
556 | echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` | |
563 | echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" | |
557 | 564 | exit ;; |
558 | 565 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. |
559 | 566 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
565 | 572 | if [ -x /usr/bin/oslevel ] ; then |
566 | 573 | IBM_REV=`/usr/bin/oslevel` |
567 | 574 | else |
568 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | |
569 | fi | |
570 | echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} | |
575 | IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" | |
576 | fi | |
577 | echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" | |
571 | 578 | exit ;; |
572 | 579 | *:AIX:2:3) |
573 | 580 | if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then |
574 | eval $set_cc_for_build | |
575 | sed 's/^ //' << EOF >$dummy.c | |
581 | eval "$set_cc_for_build" | |
582 | sed 's/^ //' << EOF > "$dummy.c" | |
576 | 583 | #include <sys/systemcfg.h> |
577 | 584 | |
578 | 585 | main() |
583 | 590 | exit(0); |
584 | 591 | } |
585 | 592 | EOF |
586 | if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` | |
593 | if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` | |
587 | 594 | then |
588 | 595 | echo "$SYSTEM_NAME" |
589 | 596 | else |
597 | 604 | exit ;; |
598 | 605 | *:AIX:*:[4567]) |
599 | 606 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
600 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then | |
607 | if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then | |
601 | 608 | IBM_ARCH=rs6000 |
602 | 609 | else |
603 | 610 | IBM_ARCH=powerpc |
606 | 613 | IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | |
607 | 614 | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` |
608 | 615 | else |
609 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | |
610 | fi | |
611 | echo ${IBM_ARCH}-ibm-aix${IBM_REV} | |
616 | IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" | |
617 | fi | |
618 | echo "$IBM_ARCH"-ibm-aix"$IBM_REV" | |
612 | 619 | exit ;; |
613 | 620 | *:AIX:*:*) |
614 | 621 | echo rs6000-ibm-aix |
615 | 622 | exit ;; |
616 | ibmrt:4.4BSD:*|romp-ibm:BSD:*) | |
623 | ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) | |
617 | 624 | echo romp-ibm-bsd4.4 |
618 | 625 | exit ;; |
619 | 626 | ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and |
620 | echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to | |
627 | echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to | |
621 | 628 | exit ;; # report: romp-ibm BSD 4.3 |
622 | 629 | *:BOSX:*:*) |
623 | 630 | echo rs6000-bull-bosx |
632 | 639 | echo m68k-hp-bsd4.4 |
633 | 640 | exit ;; |
634 | 641 | 9000/[34678]??:HP-UX:*:*) |
635 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | |
636 | case "${UNAME_MACHINE}" in | |
637 | 9000/31? ) HP_ARCH=m68000 ;; | |
638 | 9000/[34]?? ) HP_ARCH=m68k ;; | |
642 | HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` | |
643 | case "$UNAME_MACHINE" in | |
644 | 9000/31?) HP_ARCH=m68000 ;; | |
645 | 9000/[34]??) HP_ARCH=m68k ;; | |
639 | 646 | 9000/[678][0-9][0-9]) |
640 | 647 | if [ -x /usr/bin/getconf ]; then |
641 | 648 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
642 | 649 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
643 | case "${sc_cpu_version}" in | |
650 | case "$sc_cpu_version" in | |
644 | 651 | 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 |
645 | 652 | 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 |
646 | 653 | 532) # CPU_PA_RISC2_0 |
647 | case "${sc_kernel_bits}" in | |
654 | case "$sc_kernel_bits" in | |
648 | 655 | 32) HP_ARCH=hppa2.0n ;; |
649 | 656 | 64) HP_ARCH=hppa2.0w ;; |
650 | 657 | '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 |
651 | 658 | esac ;; |
652 | 659 | esac |
653 | 660 | fi |
654 | if [ "${HP_ARCH}" = "" ]; then | |
655 | eval $set_cc_for_build | |
656 | sed 's/^ //' << EOF >$dummy.c | |
661 | if [ "$HP_ARCH" = "" ]; then | |
662 | eval "$set_cc_for_build" | |
663 | sed 's/^ //' << EOF > "$dummy.c" | |
657 | 664 | |
658 | 665 | #define _HPUX_SOURCE |
659 | 666 | #include <stdlib.h> |
686 | 693 | exit (0); |
687 | 694 | } |
688 | 695 | EOF |
689 | (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` | |
696 | (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` | |
690 | 697 | test -z "$HP_ARCH" && HP_ARCH=hppa |
691 | 698 | fi ;; |
692 | 699 | esac |
693 | if [ ${HP_ARCH} = hppa2.0w ] | |
700 | if [ "$HP_ARCH" = hppa2.0w ] | |
694 | 701 | then |
695 | eval $set_cc_for_build | |
702 | eval "$set_cc_for_build" | |
696 | 703 | |
697 | 704 | # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |
698 | 705 | # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler |
711 | 718 | HP_ARCH=hppa64 |
712 | 719 | fi |
713 | 720 | fi |
714 | echo ${HP_ARCH}-hp-hpux${HPUX_REV} | |
721 | echo "$HP_ARCH"-hp-hpux"$HPUX_REV" | |
715 | 722 | exit ;; |
716 | 723 | ia64:HP-UX:*:*) |
717 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | |
718 | echo ia64-hp-hpux${HPUX_REV} | |
724 | HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` | |
725 | echo ia64-hp-hpux"$HPUX_REV" | |
719 | 726 | exit ;; |
720 | 727 | 3050*:HI-UX:*:*) |
721 | eval $set_cc_for_build | |
722 | sed 's/^ //' << EOF >$dummy.c | |
728 | eval "$set_cc_for_build" | |
729 | sed 's/^ //' << EOF > "$dummy.c" | |
723 | 730 | #include <unistd.h> |
724 | 731 | int |
725 | 732 | main () |
744 | 751 | exit (0); |
745 | 752 | } |
746 | 753 | EOF |
747 | $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && | |
754 | $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && | |
748 | 755 | { echo "$SYSTEM_NAME"; exit; } |
749 | 756 | echo unknown-hitachi-hiuxwe2 |
750 | 757 | exit ;; |
751 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) | |
758 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) | |
752 | 759 | echo hppa1.1-hp-bsd |
753 | 760 | exit ;; |
754 | 761 | 9000/8??:4.3bsd:*:*) |
757 | 764 | *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) |
758 | 765 | echo hppa1.0-hp-mpeix |
759 | 766 | exit ;; |
760 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) | |
767 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) | |
761 | 768 | echo hppa1.1-hp-osf |
762 | 769 | exit ;; |
763 | 770 | hp8??:OSF1:*:*) |
765 | 772 | exit ;; |
766 | 773 | i*86:OSF1:*:*) |
767 | 774 | if [ -x /usr/sbin/sysversion ] ; then |
768 | echo ${UNAME_MACHINE}-unknown-osf1mk | |
775 | echo "$UNAME_MACHINE"-unknown-osf1mk | |
769 | 776 | else |
770 | echo ${UNAME_MACHINE}-unknown-osf1 | |
777 | echo "$UNAME_MACHINE"-unknown-osf1 | |
771 | 778 | fi |
772 | 779 | exit ;; |
773 | 780 | parisc*:Lites*:*:*) |
792 | 799 | echo c4-convex-bsd |
793 | 800 | exit ;; |
794 | 801 | CRAY*Y-MP:*:*:*) |
795 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
802 | echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
796 | 803 | exit ;; |
797 | 804 | CRAY*[A-Z]90:*:*:*) |
798 | echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | |
805 | echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | |
799 | 806 | | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ |
800 | 807 | -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ |
801 | 808 | -e 's/\.[^.]*$/.X/' |
802 | 809 | exit ;; |
803 | 810 | CRAY*TS:*:*:*) |
804 | echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
811 | echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
805 | 812 | exit ;; |
806 | 813 | CRAY*T3E:*:*:*) |
807 | echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
814 | echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
808 | 815 | exit ;; |
809 | 816 | CRAY*SV1:*:*:*) |
810 | echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
817 | echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
811 | 818 | exit ;; |
812 | 819 | *:UNICOS/mp:*:*) |
813 | echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
820 | echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
814 | 821 | exit ;; |
815 | 822 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
816 | 823 | FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` |
817 | 824 | FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` |
818 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
825 | FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` | |
819 | 826 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
820 | 827 | exit ;; |
821 | 828 | 5000:UNIX_System_V:4.*:*) |
822 | 829 | FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` |
823 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` | |
830 | FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` | |
824 | 831 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
825 | 832 | exit ;; |
826 | 833 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
827 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} | |
834 | echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" | |
828 | 835 | exit ;; |
829 | 836 | sparc*:BSD/OS:*:*) |
830 | echo sparc-unknown-bsdi${UNAME_RELEASE} | |
837 | echo sparc-unknown-bsdi"$UNAME_RELEASE" | |
831 | 838 | exit ;; |
832 | 839 | *:BSD/OS:*:*) |
833 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | |
840 | echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" | |
834 | 841 | exit ;; |
835 | 842 | *:FreeBSD:*:*) |
836 | 843 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
837 | case ${UNAME_PROCESSOR} in | |
844 | case "$UNAME_PROCESSOR" in | |
838 | 845 | amd64) |
839 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
840 | *) | |
841 | echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
846 | UNAME_PROCESSOR=x86_64 ;; | |
847 | i386) | |
848 | UNAME_PROCESSOR=i586 ;; | |
842 | 849 | esac |
850 | echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" | |
843 | 851 | exit ;; |
844 | 852 | i*:CYGWIN*:*) |
845 | echo ${UNAME_MACHINE}-pc-cygwin | |
853 | echo "$UNAME_MACHINE"-pc-cygwin | |
846 | 854 | exit ;; |
847 | 855 | *:MINGW64*:*) |
848 | echo ${UNAME_MACHINE}-pc-mingw64 | |
856 | echo "$UNAME_MACHINE"-pc-mingw64 | |
849 | 857 | exit ;; |
850 | 858 | *:MINGW*:*) |
851 | echo ${UNAME_MACHINE}-pc-mingw32 | |
859 | echo "$UNAME_MACHINE"-pc-mingw32 | |
852 | 860 | exit ;; |
853 | 861 | *:MSYS*:*) |
854 | echo ${UNAME_MACHINE}-pc-msys | |
855 | exit ;; | |
856 | i*:windows32*:*) | |
857 | # uname -m includes "-pc" on this system. | |
858 | echo ${UNAME_MACHINE}-mingw32 | |
862 | echo "$UNAME_MACHINE"-pc-msys | |
859 | 863 | exit ;; |
860 | 864 | i*:PW*:*) |
861 | echo ${UNAME_MACHINE}-pc-pw32 | |
865 | echo "$UNAME_MACHINE"-pc-pw32 | |
862 | 866 | exit ;; |
863 | 867 | *:Interix*:*) |
864 | case ${UNAME_MACHINE} in | |
868 | case "$UNAME_MACHINE" in | |
865 | 869 | x86) |
866 | echo i586-pc-interix${UNAME_RELEASE} | |
870 | echo i586-pc-interix"$UNAME_RELEASE" | |
867 | 871 | exit ;; |
868 | 872 | authenticamd | genuineintel | EM64T) |
869 | echo x86_64-unknown-interix${UNAME_RELEASE} | |
873 | echo x86_64-unknown-interix"$UNAME_RELEASE" | |
870 | 874 | exit ;; |
871 | 875 | IA64) |
872 | echo ia64-unknown-interix${UNAME_RELEASE} | |
876 | echo ia64-unknown-interix"$UNAME_RELEASE" | |
873 | 877 | exit ;; |
874 | 878 | esac ;; |
875 | [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) | |
876 | echo i${UNAME_MACHINE}-pc-mks | |
877 | exit ;; | |
878 | 8664:Windows_NT:*) | |
879 | echo x86_64-pc-mks | |
880 | exit ;; | |
881 | i*:Windows_NT*:* | Pentium*:Windows_NT*:*) | |
882 | # How do we know it's Interix rather than the generic POSIX subsystem? | |
883 | # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we | |
884 | # UNAME_MACHINE based on the output of uname instead of i386? | |
885 | echo i586-pc-interix | |
886 | exit ;; | |
887 | 879 | i*:UWIN*:*) |
888 | echo ${UNAME_MACHINE}-pc-uwin | |
880 | echo "$UNAME_MACHINE"-pc-uwin | |
889 | 881 | exit ;; |
890 | 882 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) |
891 | 883 | echo x86_64-unknown-cygwin |
892 | 884 | exit ;; |
893 | p*:CYGWIN*:*) | |
894 | echo powerpcle-unknown-cygwin | |
895 | exit ;; | |
896 | 885 | prep*:SunOS:5.*:*) |
897 | echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
886 | echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
898 | 887 | exit ;; |
899 | 888 | *:GNU:*:*) |
900 | 889 | # the GNU system |
901 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
890 | echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" | |
902 | 891 | exit ;; |
903 | 892 | *:GNU/*:*:*) |
904 | 893 | # other systems with GNU libc and userland |
905 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} | |
894 | echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" | |
906 | 895 | exit ;; |
907 | 896 | i*86:Minix:*:*) |
908 | echo ${UNAME_MACHINE}-pc-minix | |
897 | echo "$UNAME_MACHINE"-pc-minix | |
909 | 898 | exit ;; |
910 | 899 | aarch64:Linux:*:*) |
911 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
900 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
912 | 901 | exit ;; |
913 | 902 | aarch64_be:Linux:*:*) |
914 | 903 | UNAME_MACHINE=aarch64_be |
915 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
904 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
916 | 905 | exit ;; |
917 | 906 | alpha:Linux:*:*) |
918 | 907 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
926 | 915 | esac |
927 | 916 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
928 | 917 | if test "$?" = 0 ; then LIBC=gnulibc1 ; fi |
929 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
918 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
930 | 919 | exit ;; |
931 | 920 | arc:Linux:*:* | arceb:Linux:*:*) |
932 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
921 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
933 | 922 | exit ;; |
934 | 923 | arm*:Linux:*:*) |
935 | eval $set_cc_for_build | |
924 | eval "$set_cc_for_build" | |
936 | 925 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
937 | 926 | | grep -q __ARM_EABI__ |
938 | 927 | then |
939 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
928 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
940 | 929 | else |
941 | 930 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
942 | 931 | | grep -q __ARM_PCS_VFP |
943 | 932 | then |
944 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | |
933 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi | |
945 | 934 | else |
946 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | |
935 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf | |
947 | 936 | fi |
948 | 937 | fi |
949 | 938 | exit ;; |
950 | 939 | avr32*:Linux:*:*) |
951 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
940 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
952 | 941 | exit ;; |
953 | 942 | cris:Linux:*:*) |
954 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
943 | echo "$UNAME_MACHINE"-axis-linux-"$LIBC" | |
955 | 944 | exit ;; |
956 | 945 | crisv32:Linux:*:*) |
957 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
946 | echo "$UNAME_MACHINE"-axis-linux-"$LIBC" | |
958 | 947 | exit ;; |
959 | 948 | e2k:Linux:*:*) |
960 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
949 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
961 | 950 | exit ;; |
962 | 951 | frv:Linux:*:*) |
963 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
952 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
964 | 953 | exit ;; |
965 | 954 | hexagon:Linux:*:*) |
966 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
955 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
967 | 956 | exit ;; |
968 | 957 | i*86:Linux:*:*) |
969 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
958 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC" | |
970 | 959 | exit ;; |
971 | 960 | ia64:Linux:*:*) |
972 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
961 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
973 | 962 | exit ;; |
974 | 963 | k1om:Linux:*:*) |
975 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
964 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
976 | 965 | exit ;; |
977 | 966 | m32r*:Linux:*:*) |
978 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
967 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
979 | 968 | exit ;; |
980 | 969 | m68*:Linux:*:*) |
981 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
970 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
982 | 971 | exit ;; |
983 | 972 | mips:Linux:*:* | mips64:Linux:*:*) |
984 | eval $set_cc_for_build | |
985 | sed 's/^ //' << EOF >$dummy.c | |
973 | eval "$set_cc_for_build" | |
974 | sed 's/^ //' << EOF > "$dummy.c" | |
986 | 975 | #undef CPU |
987 | 976 | #undef ${UNAME_MACHINE} |
988 | 977 | #undef ${UNAME_MACHINE}el |
996 | 985 | #endif |
997 | 986 | #endif |
998 | 987 | EOF |
999 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | |
1000 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } | |
988 | eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" | |
989 | test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } | |
1001 | 990 | ;; |
1002 | 991 | mips64el:Linux:*:*) |
1003 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
992 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1004 | 993 | exit ;; |
1005 | 994 | openrisc*:Linux:*:*) |
1006 | echo or1k-unknown-linux-${LIBC} | |
995 | echo or1k-unknown-linux-"$LIBC" | |
1007 | 996 | exit ;; |
1008 | 997 | or32:Linux:*:* | or1k*:Linux:*:*) |
1009 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
998 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1010 | 999 | exit ;; |
1011 | 1000 | padre:Linux:*:*) |
1012 | echo sparc-unknown-linux-${LIBC} | |
1001 | echo sparc-unknown-linux-"$LIBC" | |
1013 | 1002 | exit ;; |
1014 | 1003 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
1015 | echo hppa64-unknown-linux-${LIBC} | |
1004 | echo hppa64-unknown-linux-"$LIBC" | |
1016 | 1005 | exit ;; |
1017 | 1006 | parisc:Linux:*:* | hppa:Linux:*:*) |
1018 | 1007 | # Look for CPU level |
1019 | 1008 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
1020 | PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; | |
1021 | PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; | |
1022 | *) echo hppa-unknown-linux-${LIBC} ;; | |
1009 | PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; | |
1010 | PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; | |
1011 | *) echo hppa-unknown-linux-"$LIBC" ;; | |
1023 | 1012 | esac |
1024 | 1013 | exit ;; |
1025 | 1014 | ppc64:Linux:*:*) |
1026 | echo powerpc64-unknown-linux-${LIBC} | |
1015 | echo powerpc64-unknown-linux-"$LIBC" | |
1027 | 1016 | exit ;; |
1028 | 1017 | ppc:Linux:*:*) |
1029 | echo powerpc-unknown-linux-${LIBC} | |
1018 | echo powerpc-unknown-linux-"$LIBC" | |
1030 | 1019 | exit ;; |
1031 | 1020 | ppc64le:Linux:*:*) |
1032 | echo powerpc64le-unknown-linux-${LIBC} | |
1021 | echo powerpc64le-unknown-linux-"$LIBC" | |
1033 | 1022 | exit ;; |
1034 | 1023 | ppcle:Linux:*:*) |
1035 | echo powerpcle-unknown-linux-${LIBC} | |
1024 | echo powerpcle-unknown-linux-"$LIBC" | |
1036 | 1025 | exit ;; |
1037 | 1026 | riscv32:Linux:*:* | riscv64:Linux:*:*) |
1038 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1027 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1039 | 1028 | exit ;; |
1040 | 1029 | s390:Linux:*:* | s390x:Linux:*:*) |
1041 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} | |
1030 | echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" | |
1042 | 1031 | exit ;; |
1043 | 1032 | sh64*:Linux:*:*) |
1044 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1033 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1045 | 1034 | exit ;; |
1046 | 1035 | sh*:Linux:*:*) |
1047 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1036 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1048 | 1037 | exit ;; |
1049 | 1038 | sparc:Linux:*:* | sparc64:Linux:*:*) |
1050 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1039 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1051 | 1040 | exit ;; |
1052 | 1041 | tile*:Linux:*:*) |
1053 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1042 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1054 | 1043 | exit ;; |
1055 | 1044 | vax:Linux:*:*) |
1056 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} | |
1045 | echo "$UNAME_MACHINE"-dec-linux-"$LIBC" | |
1057 | 1046 | exit ;; |
1058 | 1047 | x86_64:Linux:*:*) |
1059 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
1048 | if objdump -f /bin/sh | grep -q elf32-x86-64; then | |
1049 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 | |
1050 | else | |
1051 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC" | |
1052 | fi | |
1060 | 1053 | exit ;; |
1061 | 1054 | xtensa*:Linux:*:*) |
1062 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1055 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1063 | 1056 | exit ;; |
1064 | 1057 | i*86:DYNIX/ptx:4*:*) |
1065 | 1058 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1073 | 1066 | # I am not positive that other SVR4 systems won't match this, |
1074 | 1067 | # I just have to hope. -- rms. |
1075 | 1068 | # Use sysv4.2uw... so that sysv4* matches it. |
1076 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} | |
1069 | echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" | |
1077 | 1070 | exit ;; |
1078 | 1071 | i*86:OS/2:*:*) |
1079 | 1072 | # If we were able to find `uname', then EMX Unix compatibility |
1080 | 1073 | # is probably installed. |
1081 | echo ${UNAME_MACHINE}-pc-os2-emx | |
1074 | echo "$UNAME_MACHINE"-pc-os2-emx | |
1082 | 1075 | exit ;; |
1083 | 1076 | i*86:XTS-300:*:STOP) |
1084 | echo ${UNAME_MACHINE}-unknown-stop | |
1077 | echo "$UNAME_MACHINE"-unknown-stop | |
1085 | 1078 | exit ;; |
1086 | 1079 | i*86:atheos:*:*) |
1087 | echo ${UNAME_MACHINE}-unknown-atheos | |
1080 | echo "$UNAME_MACHINE"-unknown-atheos | |
1088 | 1081 | exit ;; |
1089 | 1082 | i*86:syllable:*:*) |
1090 | echo ${UNAME_MACHINE}-pc-syllable | |
1083 | echo "$UNAME_MACHINE"-pc-syllable | |
1091 | 1084 | exit ;; |
1092 | 1085 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) |
1093 | echo i386-unknown-lynxos${UNAME_RELEASE} | |
1086 | echo i386-unknown-lynxos"$UNAME_RELEASE" | |
1094 | 1087 | exit ;; |
1095 | 1088 | i*86:*DOS:*:*) |
1096 | echo ${UNAME_MACHINE}-pc-msdosdjgpp | |
1097 | exit ;; | |
1098 | i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) | |
1099 | UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` | |
1089 | echo "$UNAME_MACHINE"-pc-msdosdjgpp | |
1090 | exit ;; | |
1091 | i*86:*:4.*:*) | |
1092 | UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` | |
1100 | 1093 | if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then |
1101 | echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} | |
1094 | echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" | |
1102 | 1095 | else |
1103 | echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} | |
1096 | echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" | |
1104 | 1097 | fi |
1105 | 1098 | exit ;; |
1106 | 1099 | i*86:*:5:[678]*) |
1110 | 1103 | *Pentium) UNAME_MACHINE=i586 ;; |
1111 | 1104 | *Pent*|*Celeron) UNAME_MACHINE=i686 ;; |
1112 | 1105 | esac |
1113 | echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} | |
1106 | echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" | |
1114 | 1107 | exit ;; |
1115 | 1108 | i*86:*:3.2:*) |
1116 | 1109 | if test -f /usr/options/cb.name; then |
1117 | 1110 | UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` |
1118 | echo ${UNAME_MACHINE}-pc-isc$UNAME_REL | |
1111 | echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL" | |
1119 | 1112 | elif /bin/uname -X 2>/dev/null >/dev/null ; then |
1120 | 1113 | UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` |
1121 | 1114 | (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 |
1125 | 1118 | && UNAME_MACHINE=i686 |
1126 | 1119 | (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ |
1127 | 1120 | && UNAME_MACHINE=i686 |
1128 | echo ${UNAME_MACHINE}-pc-sco$UNAME_REL | |
1121 | echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" | |
1129 | 1122 | else |
1130 | echo ${UNAME_MACHINE}-pc-sysv32 | |
1123 | echo "$UNAME_MACHINE"-pc-sysv32 | |
1131 | 1124 | fi |
1132 | 1125 | exit ;; |
1133 | 1126 | pc:*:*:*) |
1147 | 1140 | exit ;; |
1148 | 1141 | i860:*:4.*:*) # i860-SVR4 |
1149 | 1142 | if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then |
1150 | echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 | |
1143 | echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 | |
1151 | 1144 | else # Add other i860-SVR4 vendors below as they are discovered. |
1152 | echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 | |
1145 | echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 | |
1153 | 1146 | fi |
1154 | 1147 | exit ;; |
1155 | 1148 | mini*:CTIX:SYS*5:*) |
1169 | 1162 | test -r /etc/.relid \ |
1170 | 1163 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1171 | 1164 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1172 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1165 | && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } | |
1173 | 1166 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1174 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1167 | && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; | |
1175 | 1168 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1176 | 1169 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1177 | 1170 | && { echo i486-ncr-sysv4; exit; } ;; |
1180 | 1173 | test -r /etc/.relid \ |
1181 | 1174 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1182 | 1175 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1183 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1176 | && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } | |
1184 | 1177 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1185 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | |
1178 | && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } | |
1186 | 1179 | /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ |
1187 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1180 | && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; | |
1188 | 1181 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
1189 | echo m68k-unknown-lynxos${UNAME_RELEASE} | |
1182 | echo m68k-unknown-lynxos"$UNAME_RELEASE" | |
1190 | 1183 | exit ;; |
1191 | 1184 | mc68030:UNIX_System_V:4.*:*) |
1192 | 1185 | echo m68k-atari-sysv4 |
1193 | 1186 | exit ;; |
1194 | 1187 | TSUNAMI:LynxOS:2.*:*) |
1195 | echo sparc-unknown-lynxos${UNAME_RELEASE} | |
1188 | echo sparc-unknown-lynxos"$UNAME_RELEASE" | |
1196 | 1189 | exit ;; |
1197 | 1190 | rs6000:LynxOS:2.*:*) |
1198 | echo rs6000-unknown-lynxos${UNAME_RELEASE} | |
1191 | echo rs6000-unknown-lynxos"$UNAME_RELEASE" | |
1199 | 1192 | exit ;; |
1200 | 1193 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) |
1201 | echo powerpc-unknown-lynxos${UNAME_RELEASE} | |
1194 | echo powerpc-unknown-lynxos"$UNAME_RELEASE" | |
1202 | 1195 | exit ;; |
1203 | 1196 | SM[BE]S:UNIX_SV:*:*) |
1204 | echo mips-dde-sysv${UNAME_RELEASE} | |
1197 | echo mips-dde-sysv"$UNAME_RELEASE" | |
1205 | 1198 | exit ;; |
1206 | 1199 | RM*:ReliantUNIX-*:*:*) |
1207 | 1200 | echo mips-sni-sysv4 |
1212 | 1205 | *:SINIX-*:*:*) |
1213 | 1206 | if uname -p 2>/dev/null >/dev/null ; then |
1214 | 1207 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1215 | echo ${UNAME_MACHINE}-sni-sysv4 | |
1208 | echo "$UNAME_MACHINE"-sni-sysv4 | |
1216 | 1209 | else |
1217 | 1210 | echo ns32k-sni-sysv |
1218 | 1211 | fi |
1232 | 1225 | exit ;; |
1233 | 1226 | i*86:VOS:*:*) |
1234 | 1227 | # From Paul.Green@stratus.com. |
1235 | echo ${UNAME_MACHINE}-stratus-vos | |
1228 | echo "$UNAME_MACHINE"-stratus-vos | |
1236 | 1229 | exit ;; |
1237 | 1230 | *:VOS:*:*) |
1238 | 1231 | # From Paul.Green@stratus.com. |
1239 | 1232 | echo hppa1.1-stratus-vos |
1240 | 1233 | exit ;; |
1241 | 1234 | mc68*:A/UX:*:*) |
1242 | echo m68k-apple-aux${UNAME_RELEASE} | |
1235 | echo m68k-apple-aux"$UNAME_RELEASE" | |
1243 | 1236 | exit ;; |
1244 | 1237 | news*:NEWS-OS:6*:*) |
1245 | 1238 | echo mips-sony-newsos6 |
1246 | 1239 | exit ;; |
1247 | 1240 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
1248 | 1241 | if [ -d /usr/nec ]; then |
1249 | echo mips-nec-sysv${UNAME_RELEASE} | |
1242 | echo mips-nec-sysv"$UNAME_RELEASE" | |
1250 | 1243 | else |
1251 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1244 | echo mips-unknown-sysv"$UNAME_RELEASE" | |
1252 | 1245 | fi |
1253 | 1246 | exit ;; |
1254 | 1247 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
1267 | 1260 | echo x86_64-unknown-haiku |
1268 | 1261 | exit ;; |
1269 | 1262 | SX-4:SUPER-UX:*:*) |
1270 | echo sx4-nec-superux${UNAME_RELEASE} | |
1263 | echo sx4-nec-superux"$UNAME_RELEASE" | |
1271 | 1264 | exit ;; |
1272 | 1265 | SX-5:SUPER-UX:*:*) |
1273 | echo sx5-nec-superux${UNAME_RELEASE} | |
1266 | echo sx5-nec-superux"$UNAME_RELEASE" | |
1274 | 1267 | exit ;; |
1275 | 1268 | SX-6:SUPER-UX:*:*) |
1276 | echo sx6-nec-superux${UNAME_RELEASE} | |
1269 | echo sx6-nec-superux"$UNAME_RELEASE" | |
1277 | 1270 | exit ;; |
1278 | 1271 | SX-7:SUPER-UX:*:*) |
1279 | echo sx7-nec-superux${UNAME_RELEASE} | |
1272 | echo sx7-nec-superux"$UNAME_RELEASE" | |
1280 | 1273 | exit ;; |
1281 | 1274 | SX-8:SUPER-UX:*:*) |
1282 | echo sx8-nec-superux${UNAME_RELEASE} | |
1275 | echo sx8-nec-superux"$UNAME_RELEASE" | |
1283 | 1276 | exit ;; |
1284 | 1277 | SX-8R:SUPER-UX:*:*) |
1285 | echo sx8r-nec-superux${UNAME_RELEASE} | |
1278 | echo sx8r-nec-superux"$UNAME_RELEASE" | |
1286 | 1279 | exit ;; |
1287 | 1280 | SX-ACE:SUPER-UX:*:*) |
1288 | echo sxace-nec-superux${UNAME_RELEASE} | |
1281 | echo sxace-nec-superux"$UNAME_RELEASE" | |
1289 | 1282 | exit ;; |
1290 | 1283 | Power*:Rhapsody:*:*) |
1291 | echo powerpc-apple-rhapsody${UNAME_RELEASE} | |
1284 | echo powerpc-apple-rhapsody"$UNAME_RELEASE" | |
1292 | 1285 | exit ;; |
1293 | 1286 | *:Rhapsody:*:*) |
1294 | echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} | |
1287 | echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" | |
1295 | 1288 | exit ;; |
1296 | 1289 | *:Darwin:*:*) |
1297 | 1290 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1298 | eval $set_cc_for_build | |
1291 | eval "$set_cc_for_build" | |
1299 | 1292 | if test "$UNAME_PROCESSOR" = unknown ; then |
1300 | 1293 | UNAME_PROCESSOR=powerpc |
1301 | 1294 | fi |
1302 | if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then | |
1295 | if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then | |
1303 | 1296 | if [ "$CC_FOR_BUILD" != no_compiler_found ]; then |
1304 | 1297 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
1305 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1306 | grep IS_64BIT_ARCH >/dev/null | |
1298 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1299 | grep IS_64BIT_ARCH >/dev/null | |
1307 | 1300 | then |
1308 | 1301 | case $UNAME_PROCESSOR in |
1309 | 1302 | i386) UNAME_PROCESSOR=x86_64 ;; |
1310 | 1303 | powerpc) UNAME_PROCESSOR=powerpc64 ;; |
1311 | 1304 | esac |
1305 | fi | |
1306 | # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc | |
1307 | if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ | |
1308 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1309 | grep IS_PPC >/dev/null | |
1310 | then | |
1311 | UNAME_PROCESSOR=powerpc | |
1312 | 1312 | fi |
1313 | 1313 | fi |
1314 | 1314 | elif test "$UNAME_PROCESSOR" = i386 ; then |
1320 | 1320 | # that Apple uses in portable devices. |
1321 | 1321 | UNAME_PROCESSOR=x86_64 |
1322 | 1322 | fi |
1323 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | |
1323 | echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" | |
1324 | 1324 | exit ;; |
1325 | 1325 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1326 | 1326 | UNAME_PROCESSOR=`uname -p` |
1328 | 1328 | UNAME_PROCESSOR=i386 |
1329 | 1329 | UNAME_MACHINE=pc |
1330 | 1330 | fi |
1331 | echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} | |
1331 | echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" | |
1332 | 1332 | exit ;; |
1333 | 1333 | *:QNX:*:4*) |
1334 | 1334 | echo i386-pc-qnx |
1335 | 1335 | exit ;; |
1336 | NEO-?:NONSTOP_KERNEL:*:*) | |
1337 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1336 | NEO-*:NONSTOP_KERNEL:*:*) | |
1337 | echo neo-tandem-nsk"$UNAME_RELEASE" | |
1338 | 1338 | exit ;; |
1339 | 1339 | NSE-*:NONSTOP_KERNEL:*:*) |
1340 | echo nse-tandem-nsk${UNAME_RELEASE} | |
1341 | exit ;; | |
1342 | NSR-?:NONSTOP_KERNEL:*:*) | |
1343 | echo nsr-tandem-nsk${UNAME_RELEASE} | |
1340 | echo nse-tandem-nsk"$UNAME_RELEASE" | |
1341 | exit ;; | |
1342 | NSR-*:NONSTOP_KERNEL:*:*) | |
1343 | echo nsr-tandem-nsk"$UNAME_RELEASE" | |
1344 | exit ;; | |
1345 | NSV-*:NONSTOP_KERNEL:*:*) | |
1346 | echo nsv-tandem-nsk"$UNAME_RELEASE" | |
1347 | exit ;; | |
1348 | NSX-*:NONSTOP_KERNEL:*:*) | |
1349 | echo nsx-tandem-nsk"$UNAME_RELEASE" | |
1344 | 1350 | exit ;; |
1345 | 1351 | *:NonStop-UX:*:*) |
1346 | 1352 | echo mips-compaq-nonstopux |
1349 | 1355 | echo bs2000-siemens-sysv |
1350 | 1356 | exit ;; |
1351 | 1357 | DS/*:UNIX_System_V:*:*) |
1352 | echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} | |
1358 | echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" | |
1353 | 1359 | exit ;; |
1354 | 1360 | *:Plan9:*:*) |
1355 | 1361 | # "uname -m" is not consistent, so use $cputype instead. 386 |
1360 | 1366 | else |
1361 | 1367 | UNAME_MACHINE="$cputype" |
1362 | 1368 | fi |
1363 | echo ${UNAME_MACHINE}-unknown-plan9 | |
1369 | echo "$UNAME_MACHINE"-unknown-plan9 | |
1364 | 1370 | exit ;; |
1365 | 1371 | *:TOPS-10:*:*) |
1366 | 1372 | echo pdp10-unknown-tops10 |
1381 | 1387 | echo pdp10-unknown-its |
1382 | 1388 | exit ;; |
1383 | 1389 | SEI:*:*:SEIUX) |
1384 | echo mips-sei-seiux${UNAME_RELEASE} | |
1390 | echo mips-sei-seiux"$UNAME_RELEASE" | |
1385 | 1391 | exit ;; |
1386 | 1392 | *:DragonFly:*:*) |
1387 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | |
1393 | echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" | |
1388 | 1394 | exit ;; |
1389 | 1395 | *:*VMS:*:*) |
1390 | 1396 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1391 | case "${UNAME_MACHINE}" in | |
1397 | case "$UNAME_MACHINE" in | |
1392 | 1398 | A*) echo alpha-dec-vms ; exit ;; |
1393 | 1399 | I*) echo ia64-dec-vms ; exit ;; |
1394 | 1400 | V*) echo vax-dec-vms ; exit ;; |
1397 | 1403 | echo i386-pc-xenix |
1398 | 1404 | exit ;; |
1399 | 1405 | i*86:skyos:*:*) |
1400 | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'` | |
1406 | echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" | |
1401 | 1407 | exit ;; |
1402 | 1408 | i*86:rdos:*:*) |
1403 | echo ${UNAME_MACHINE}-pc-rdos | |
1409 | echo "$UNAME_MACHINE"-pc-rdos | |
1404 | 1410 | exit ;; |
1405 | 1411 | i*86:AROS:*:*) |
1406 | echo ${UNAME_MACHINE}-pc-aros | |
1412 | echo "$UNAME_MACHINE"-pc-aros | |
1407 | 1413 | exit ;; |
1408 | 1414 | x86_64:VMkernel:*:*) |
1409 | echo ${UNAME_MACHINE}-unknown-esx | |
1415 | echo "$UNAME_MACHINE"-unknown-esx | |
1410 | 1416 | exit ;; |
1411 | 1417 | amd64:Isilon\ OneFS:*:*) |
1412 | 1418 | echo x86_64-unknown-onefs |
1413 | 1419 | exit ;; |
1414 | 1420 | esac |
1415 | 1421 | |
1422 | echo "$0: unable to guess system type" >&2 | |
1423 | ||
1424 | case "$UNAME_MACHINE:$UNAME_SYSTEM" in | |
1425 | mips:Linux | mips64:Linux) | |
1426 | # If we got here on MIPS GNU/Linux, output extra information. | |
1427 | cat >&2 <<EOF | |
1428 | ||
1429 | NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize | |
1430 | the system type. Please install a C compiler and try again. | |
1431 | EOF | |
1432 | ;; | |
1433 | esac | |
1434 | ||
1416 | 1435 | cat >&2 <<EOF |
1417 | $0: unable to guess system type | |
1418 | 1436 | |
1419 | 1437 | This script (version $timestamp), has failed to recognize the |
1420 | operating system you are using. If your script is old, overwrite | |
1421 | config.guess and config.sub with the latest versions from: | |
1422 | ||
1423 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
1438 | operating system you are using. If your script is old, overwrite *all* | |
1439 | copies of config.guess and config.sub with the latest versions from: | |
1440 | ||
1441 | https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
1424 | 1442 | and |
1425 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
1443 | https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
1426 | 1444 | |
1427 | 1445 | If $0 has already been updated, send the following data and any |
1428 | 1446 | information you think might be pertinent to config-patches@gnu.org to |
1445 | 1463 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` |
1446 | 1464 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` |
1447 | 1465 | |
1448 | UNAME_MACHINE = ${UNAME_MACHINE} | |
1449 | UNAME_RELEASE = ${UNAME_RELEASE} | |
1450 | UNAME_SYSTEM = ${UNAME_SYSTEM} | |
1451 | UNAME_VERSION = ${UNAME_VERSION} | |
1466 | UNAME_MACHINE = "$UNAME_MACHINE" | |
1467 | UNAME_RELEASE = "$UNAME_RELEASE" | |
1468 | UNAME_SYSTEM = "$UNAME_SYSTEM" | |
1469 | UNAME_VERSION = "$UNAME_VERSION" | |
1452 | 1470 | EOF |
1453 | 1471 | |
1454 | 1472 | exit 1 |
1455 | 1473 | |
1456 | 1474 | # Local variables: |
1457 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1475 | # eval: (add-hook 'write-file-functions 'time-stamp) | |
1458 | 1476 | # time-stamp-start: "timestamp='" |
1459 | 1477 | # time-stamp-format: "%:y-%02m-%02d" |
1460 | 1478 | # time-stamp-end: "'" |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | # Copyright 1992-2016 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2016-11-04' | |
2 | # Copyright 1992-2018 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2018-02-22' | |
5 | 5 | |
6 | 6 | # This file is free software; you can redistribute it and/or modify it |
7 | 7 | # under the terms of the GNU General Public License as published by |
14 | 14 | # General Public License for more details. |
15 | 15 | # |
16 | 16 | # You should have received a copy of the GNU General Public License |
17 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
17 | # along with this program; if not, see <https://www.gnu.org/licenses/>. | |
18 | 18 | # |
19 | 19 | # As a special exception to the GNU General Public License, if you |
20 | 20 | # distribute this file as part of a program that contains a |
32 | 32 | # Otherwise, we print the canonical config type on stdout and succeed. |
33 | 33 | |
34 | 34 | # You can get the latest version of this script from: |
35 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
35 | # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
36 | 36 | |
37 | 37 | # This file is supposed to be the same for all GNU packages |
38 | 38 | # and recognize all the CPU types, system types and aliases |
56 | 56 | |
57 | 57 | Canonicalize a configuration name. |
58 | 58 | |
59 | Operation modes: | |
59 | Options: | |
60 | 60 | -h, --help print this help, then exit |
61 | 61 | -t, --time-stamp print date of last modification, then exit |
62 | 62 | -v, --version print version number, then exit |
66 | 66 | version="\ |
67 | 67 | GNU config.sub ($timestamp) |
68 | 68 | |
69 | Copyright 1992-2016 Free Software Foundation, Inc. | |
69 | Copyright 1992-2018 Free Software Foundation, Inc. | |
70 | 70 | |
71 | 71 | This is free software; see the source for copying conditions. There is NO |
72 | 72 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
93 | 93 | |
94 | 94 | *local*) |
95 | 95 | # First pass through any local machine types. |
96 | echo $1 | |
96 | echo "$1" | |
97 | 97 | exit ;; |
98 | 98 | |
99 | 99 | * ) |
111 | 111 | |
112 | 112 | # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). |
113 | 113 | # Here we must recognize all the valid KERNEL-OS combinations. |
114 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | |
114 | maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | |
115 | 115 | case $maybe_os in |
116 | 116 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
117 | 117 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
119 | 119 | kopensolaris*-gnu* | cloudabi*-eabi* | \ |
120 | 120 | storm-chaos* | os2-emx* | rtmk-nova*) |
121 | 121 | os=-$maybe_os |
122 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | |
122 | basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | |
123 | 123 | ;; |
124 | 124 | android-linux) |
125 | 125 | os=-linux-android |
126 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | |
126 | basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | |
127 | 127 | ;; |
128 | 128 | *) |
129 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` | |
130 | if [ $basic_machine != $1 ] | |
131 | then os=`echo $1 | sed 's/.*-/-/'` | |
129 | basic_machine=`echo "$1" | sed 's/-[^-]*$//'` | |
130 | if [ "$basic_machine" != "$1" ] | |
131 | then os=`echo "$1" | sed 's/.*-/-/'` | |
132 | 132 | else os=; fi |
133 | 133 | ;; |
134 | 134 | esac |
177 | 177 | ;; |
178 | 178 | -sco6) |
179 | 179 | os=-sco5v6 |
180 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
180 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
181 | 181 | ;; |
182 | 182 | -sco5) |
183 | 183 | os=-sco3.2v5 |
184 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
184 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
185 | 185 | ;; |
186 | 186 | -sco4) |
187 | 187 | os=-sco3.2v4 |
188 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
188 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
189 | 189 | ;; |
190 | 190 | -sco3.2.[4-9]*) |
191 | 191 | os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` |
192 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
192 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
193 | 193 | ;; |
194 | 194 | -sco3.2v[4-9]*) |
195 | 195 | # Don't forget version if it is 3.2v4 or newer. |
196 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
196 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
197 | 197 | ;; |
198 | 198 | -sco5v6*) |
199 | 199 | # Don't forget version if it is 3.2v4 or newer. |
200 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
200 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
201 | 201 | ;; |
202 | 202 | -sco*) |
203 | 203 | os=-sco3.2v2 |
204 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
204 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
205 | 205 | ;; |
206 | 206 | -udk*) |
207 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
207 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
208 | 208 | ;; |
209 | 209 | -isc) |
210 | 210 | os=-isc2.2 |
211 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
211 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
212 | 212 | ;; |
213 | 213 | -clix*) |
214 | 214 | basic_machine=clipper-intergraph |
215 | 215 | ;; |
216 | 216 | -isc*) |
217 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
217 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
218 | 218 | ;; |
219 | 219 | -lynx*178) |
220 | 220 | os=-lynxos178 |
226 | 226 | os=-lynxos |
227 | 227 | ;; |
228 | 228 | -ptx*) |
229 | basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` | |
230 | ;; | |
231 | -windowsnt*) | |
232 | os=`echo $os | sed -e 's/windowsnt/winnt/'` | |
229 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` | |
233 | 230 | ;; |
234 | 231 | -psos*) |
235 | 232 | os=-psos |
262 | 259 | | fido | fr30 | frv | ft32 \ |
263 | 260 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
264 | 261 | | hexagon \ |
265 | | i370 | i860 | i960 | ia64 \ | |
262 | | i370 | i860 | i960 | ia16 | ia64 \ | |
266 | 263 | | ip2k | iq2000 \ |
267 | 264 | | k1om \ |
268 | 265 | | le32 | le64 \ |
298 | 295 | | nios | nios2 | nios2eb | nios2el \ |
299 | 296 | | ns16k | ns32k \ |
300 | 297 | | open8 | or1k | or1knd | or32 \ |
301 | | pdp10 | pdp11 | pj | pjl \ | |
298 | | pdp10 | pj | pjl \ | |
302 | 299 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
303 | 300 | | pru \ |
304 | 301 | | pyramid \ |
314 | 311 | | ubicom32 \ |
315 | 312 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
316 | 313 | | visium \ |
317 | | we32k \ | |
314 | | wasm32 \ | |
318 | 315 | | x86 | xc16x | xstormy16 | xtensa \ |
319 | 316 | | z8k | z80) |
320 | 317 | basic_machine=$basic_machine-unknown |
335 | 332 | basic_machine=$basic_machine-unknown |
336 | 333 | os=-none |
337 | 334 | ;; |
338 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) | |
335 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) | |
339 | 336 | ;; |
340 | 337 | ms1) |
341 | 338 | basic_machine=mt-unknown |
364 | 361 | ;; |
365 | 362 | # Object if more than one company name word. |
366 | 363 | *-*-*) |
367 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
364 | echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 | |
368 | 365 | exit 1 |
369 | 366 | ;; |
370 | 367 | # Recognize the basic CPU types with company name. |
387 | 384 | | h8300-* | h8500-* \ |
388 | 385 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
389 | 386 | | hexagon-* \ |
390 | | i*86-* | i860-* | i960-* | ia64-* \ | |
387 | | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | |
391 | 388 | | ip2k-* | iq2000-* \ |
392 | 389 | | k1om-* \ |
393 | 390 | | le32-* | le64-* \ |
445 | 442 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ |
446 | 443 | | vax-* \ |
447 | 444 | | visium-* \ |
445 | | wasm32-* \ | |
448 | 446 | | we32k-* \ |
449 | 447 | | x86-* | x86_64-* | xc16x-* | xps100-* \ |
450 | 448 | | xstormy16-* | xtensa*-* \ |
458 | 456 | # Recognize the various machine names and aliases which stand |
459 | 457 | # for a CPU type and a company and sometimes even an OS. |
460 | 458 | 386bsd) |
461 | basic_machine=i386-unknown | |
459 | basic_machine=i386-pc | |
462 | 460 | os=-bsd |
463 | 461 | ;; |
464 | 462 | 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
492 | 490 | basic_machine=x86_64-pc |
493 | 491 | ;; |
494 | 492 | amd64-*) |
495 | basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
493 | basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
496 | 494 | ;; |
497 | 495 | amdahl) |
498 | 496 | basic_machine=580-amdahl |
537 | 535 | os=-linux |
538 | 536 | ;; |
539 | 537 | blackfin-*) |
540 | basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | |
538 | basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
541 | 539 | os=-linux |
542 | 540 | ;; |
543 | 541 | bluegene*) |
545 | 543 | os=-cnk |
546 | 544 | ;; |
547 | 545 | c54x-*) |
548 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
546 | basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
549 | 547 | ;; |
550 | 548 | c55x-*) |
551 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
549 | basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
552 | 550 | ;; |
553 | 551 | c6x-*) |
554 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
552 | basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
555 | 553 | ;; |
556 | 554 | c90) |
557 | 555 | basic_machine=c90-cray |
640 | 638 | basic_machine=rs6000-bull |
641 | 639 | os=-bosx |
642 | 640 | ;; |
643 | dpx2* | dpx2*-bull) | |
641 | dpx2*) | |
644 | 642 | basic_machine=m68k-bull |
645 | 643 | os=-sysv3 |
646 | 644 | ;; |
649 | 647 | os=$os"spe" |
650 | 648 | ;; |
651 | 649 | e500v[12]-*) |
652 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
650 | basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
653 | 651 | os=$os"spe" |
654 | 652 | ;; |
655 | 653 | ebmon29k) |
741 | 739 | hp9k8[0-9][0-9] | hp8[0-9][0-9]) |
742 | 740 | basic_machine=hppa1.0-hp |
743 | 741 | ;; |
744 | hppa-next) | |
745 | os=-nextstep3 | |
746 | ;; | |
747 | 742 | hppaosf) |
748 | 743 | basic_machine=hppa1.1-hp |
749 | 744 | os=-osf |
756 | 751 | basic_machine=i370-ibm |
757 | 752 | ;; |
758 | 753 | i*86v32) |
759 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
754 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
760 | 755 | os=-sysv32 |
761 | 756 | ;; |
762 | 757 | i*86v4*) |
763 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
758 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
764 | 759 | os=-sysv4 |
765 | 760 | ;; |
766 | 761 | i*86v) |
767 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
762 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
768 | 763 | os=-sysv |
769 | 764 | ;; |
770 | 765 | i*86sol2) |
771 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
766 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
772 | 767 | os=-solaris2 |
773 | 768 | ;; |
774 | 769 | i386mach) |
775 | 770 | basic_machine=i386-mach |
776 | 771 | os=-mach |
777 | 772 | ;; |
778 | i386-vsta | vsta) | |
773 | vsta) | |
779 | 774 | basic_machine=i386-unknown |
780 | 775 | os=-vsta |
781 | 776 | ;; |
794 | 789 | os=-sysv |
795 | 790 | ;; |
796 | 791 | leon-*|leon[3-9]-*) |
797 | basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` | |
792 | basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` | |
798 | 793 | ;; |
799 | 794 | m68knommu) |
800 | 795 | basic_machine=m68k-unknown |
801 | 796 | os=-linux |
802 | 797 | ;; |
803 | 798 | m68knommu-*) |
804 | basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | |
799 | basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
805 | 800 | os=-linux |
806 | ;; | |
807 | m88k-omron*) | |
808 | basic_machine=m88k-omron | |
809 | 801 | ;; |
810 | 802 | magnum | m3230) |
811 | 803 | basic_machine=mips-mips |
838 | 830 | os=-mint |
839 | 831 | ;; |
840 | 832 | mips3*-*) |
841 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | |
833 | basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` | |
842 | 834 | ;; |
843 | 835 | mips3*) |
844 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown | |
836 | basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown | |
845 | 837 | ;; |
846 | 838 | monitor) |
847 | 839 | basic_machine=m68k-rom68k |
860 | 852 | os=-msdos |
861 | 853 | ;; |
862 | 854 | ms1-*) |
863 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | |
855 | basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` | |
864 | 856 | ;; |
865 | 857 | msys) |
866 | 858 | basic_machine=i686-pc |
902 | 894 | basic_machine=v70-nec |
903 | 895 | os=-sysv |
904 | 896 | ;; |
905 | next | m*-next ) | |
897 | next | m*-next) | |
906 | 898 | basic_machine=m68k-next |
907 | 899 | case $os in |
908 | 900 | -nextstep* ) |
947 | 939 | nsr-tandem) |
948 | 940 | basic_machine=nsr-tandem |
949 | 941 | ;; |
942 | nsv-tandem) | |
943 | basic_machine=nsv-tandem | |
944 | ;; | |
945 | nsx-tandem) | |
946 | basic_machine=nsx-tandem | |
947 | ;; | |
950 | 948 | op50n-* | op60c-*) |
951 | 949 | basic_machine=hppa1.1-oki |
952 | 950 | os=-proelf |
979 | 977 | os=-linux |
980 | 978 | ;; |
981 | 979 | parisc-*) |
982 | basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | |
980 | basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
983 | 981 | os=-linux |
984 | 982 | ;; |
985 | 983 | pbd) |
995 | 993 | basic_machine=i386-pc |
996 | 994 | ;; |
997 | 995 | pc98-*) |
998 | basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` | |
996 | basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
999 | 997 | ;; |
1000 | 998 | pentium | p5 | k5 | k6 | nexgen | viac3) |
1001 | 999 | basic_machine=i586-pc |
1010 | 1008 | basic_machine=i786-pc |
1011 | 1009 | ;; |
1012 | 1010 | pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
1013 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1011 | basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1014 | 1012 | ;; |
1015 | 1013 | pentiumpro-* | p6-* | 6x86-* | athlon-*) |
1016 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1014 | basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1017 | 1015 | ;; |
1018 | 1016 | pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) |
1019 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1017 | basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1020 | 1018 | ;; |
1021 | 1019 | pentium4-*) |
1022 | basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1020 | basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1023 | 1021 | ;; |
1024 | 1022 | pn) |
1025 | 1023 | basic_machine=pn-gould |
1029 | 1027 | ppc | ppcbe) basic_machine=powerpc-unknown |
1030 | 1028 | ;; |
1031 | 1029 | ppc-* | ppcbe-*) |
1032 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1030 | basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1033 | 1031 | ;; |
1034 | 1032 | ppcle | powerpclittle) |
1035 | 1033 | basic_machine=powerpcle-unknown |
1036 | 1034 | ;; |
1037 | 1035 | ppcle-* | powerpclittle-*) |
1038 | basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1036 | basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1039 | 1037 | ;; |
1040 | 1038 | ppc64) basic_machine=powerpc64-unknown |
1041 | 1039 | ;; |
1042 | ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1040 | ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1043 | 1041 | ;; |
1044 | 1042 | ppc64le | powerpc64little) |
1045 | 1043 | basic_machine=powerpc64le-unknown |
1046 | 1044 | ;; |
1047 | 1045 | ppc64le-* | powerpc64little-*) |
1048 | basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1046 | basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1049 | 1047 | ;; |
1050 | 1048 | ps2) |
1051 | 1049 | basic_machine=i386-ibm |
1099 | 1097 | sequent) |
1100 | 1098 | basic_machine=i386-sequent |
1101 | 1099 | ;; |
1102 | sh) | |
1103 | basic_machine=sh-hitachi | |
1104 | os=-hms | |
1105 | ;; | |
1106 | 1100 | sh5el) |
1107 | 1101 | basic_machine=sh5le-unknown |
1108 | 1102 | ;; |
1109 | sh64) | |
1110 | basic_machine=sh64-unknown | |
1111 | ;; | |
1112 | sparclite-wrs | simso-wrs) | |
1103 | simso-wrs) | |
1113 | 1104 | basic_machine=sparclite-wrs |
1114 | 1105 | os=-vxworks |
1115 | 1106 | ;; |
1128 | 1119 | os=-sysv4 |
1129 | 1120 | ;; |
1130 | 1121 | strongarm-* | thumb-*) |
1131 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1122 | basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1132 | 1123 | ;; |
1133 | 1124 | sun2) |
1134 | 1125 | basic_machine=m68000-sun |
1250 | 1241 | basic_machine=hppa1.1-winbond |
1251 | 1242 | os=-proelf |
1252 | 1243 | ;; |
1244 | x64) | |
1245 | basic_machine=x86_64-pc | |
1246 | ;; | |
1253 | 1247 | xbox) |
1254 | 1248 | basic_machine=i686-pc |
1255 | 1249 | os=-mingw32 |
1258 | 1252 | basic_machine=xps100-honeywell |
1259 | 1253 | ;; |
1260 | 1254 | xscale-* | xscalee[bl]-*) |
1261 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | |
1255 | basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` | |
1262 | 1256 | ;; |
1263 | 1257 | ymp) |
1264 | 1258 | basic_machine=ymp-cray |
1265 | 1259 | os=-unicos |
1266 | ;; | |
1267 | z8k-*-coff) | |
1268 | basic_machine=z8k-unknown | |
1269 | os=-sim | |
1270 | ;; | |
1271 | z80-*-coff) | |
1272 | basic_machine=z80-unknown | |
1273 | os=-sim | |
1274 | 1260 | ;; |
1275 | 1261 | none) |
1276 | 1262 | basic_machine=none-none |
1300 | 1286 | vax) |
1301 | 1287 | basic_machine=vax-dec |
1302 | 1288 | ;; |
1303 | pdp10) | |
1304 | # there are many clones, so DEC is not a safe bet | |
1305 | basic_machine=pdp10-unknown | |
1306 | ;; | |
1307 | 1289 | pdp11) |
1308 | 1290 | basic_machine=pdp11-dec |
1309 | 1291 | ;; |
1313 | 1295 | sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
1314 | 1296 | basic_machine=sh-unknown |
1315 | 1297 | ;; |
1316 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) | |
1317 | basic_machine=sparc-sun | |
1318 | ;; | |
1319 | 1298 | cydra) |
1320 | 1299 | basic_machine=cydra-cydrome |
1321 | 1300 | ;; |
1335 | 1314 | # Make sure to match an already-canonicalized machine name. |
1336 | 1315 | ;; |
1337 | 1316 | *) |
1338 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
1317 | echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 | |
1339 | 1318 | exit 1 |
1340 | 1319 | ;; |
1341 | 1320 | esac |
1343 | 1322 | # Here we canonicalize certain aliases for manufacturers. |
1344 | 1323 | case $basic_machine in |
1345 | 1324 | *-digital*) |
1346 | basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` | |
1325 | basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` | |
1347 | 1326 | ;; |
1348 | 1327 | *-commodore*) |
1349 | basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` | |
1328 | basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` | |
1350 | 1329 | ;; |
1351 | 1330 | *) |
1352 | 1331 | ;; |
1357 | 1336 | if [ x"$os" != x"" ] |
1358 | 1337 | then |
1359 | 1338 | case $os in |
1360 | # First match some system type aliases | |
1361 | # that might get confused with valid system types. | |
1339 | # First match some system type aliases that might get confused | |
1340 | # with valid system types. | |
1362 | 1341 | # -solaris* is a basic system type, with this one exception. |
1363 | 1342 | -auroraux) |
1364 | 1343 | os=-auroraux |
1369 | 1348 | -solaris) |
1370 | 1349 | os=-solaris2 |
1371 | 1350 | ;; |
1372 | -svr4*) | |
1373 | os=-sysv4 | |
1374 | ;; | |
1375 | 1351 | -unixware*) |
1376 | 1352 | os=-sysv4.2uw |
1377 | 1353 | ;; |
1378 | 1354 | -gnu/linux*) |
1379 | 1355 | os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
1380 | 1356 | ;; |
1381 | # First accept the basic system types. | |
1357 | # es1800 is here to avoid being matched by es* (a different OS) | |
1358 | -es1800*) | |
1359 | os=-ose | |
1360 | ;; | |
1361 | # Now accept the basic system types. | |
1382 | 1362 | # The portable systems comes first. |
1383 | # Each alternative MUST END IN A *, to match a version number. | |
1363 | # Each alternative MUST end in a * to match a version number. | |
1384 | 1364 | # -sysv* is not here because it comes later, after sysvr4. |
1385 | 1365 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1386 | 1366 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1390 | 1370 | | -aos* | -aros* | -cloudabi* | -sortix* \ |
1391 | 1371 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1392 | 1372 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1393 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | |
1373 | | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ | |
1394 | 1374 | | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ |
1395 | 1375 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1396 | 1376 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1397 | 1377 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1398 | 1378 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1399 | | -chorusos* | -chorusrdb* | -cegcc* \ | |
1379 | | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ | |
1400 | 1380 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1401 | 1381 | | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
1402 | 1382 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1403 | 1383 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
1404 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | |
1384 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | |
1405 | 1385 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1406 | 1386 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1407 | 1387 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1408 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | |
1388 | | -morphos* | -superux* | -rtmk* | -windiss* \ | |
1409 | 1389 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1410 | 1390 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ |
1411 | | -onefs* | -tirtos* | -phoenix* | -fuchsia*) | |
1391 | | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ | |
1392 | | -midnightbsd*) | |
1412 | 1393 | # Remember, each alternative MUST END IN *, to match a version number. |
1413 | 1394 | ;; |
1414 | 1395 | -qnx*) |
1425 | 1406 | -nto*) |
1426 | 1407 | os=`echo $os | sed -e 's|nto|nto-qnx|'` |
1427 | 1408 | ;; |
1428 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | |
1429 | | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | |
1409 | -sim | -xray | -os68k* | -v88r* \ | |
1410 | | -windows* | -osx | -abug | -netware* | -os9* \ | |
1430 | 1411 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
1431 | 1412 | ;; |
1432 | 1413 | -mac*) |
1433 | os=`echo $os | sed -e 's|mac|macos|'` | |
1414 | os=`echo "$os" | sed -e 's|mac|macos|'` | |
1434 | 1415 | ;; |
1435 | 1416 | -linux-dietlibc) |
1436 | 1417 | os=-linux-dietlibc |
1439 | 1420 | os=`echo $os | sed -e 's|linux|linux-gnu|'` |
1440 | 1421 | ;; |
1441 | 1422 | -sunos5*) |
1442 | os=`echo $os | sed -e 's|sunos5|solaris2|'` | |
1423 | os=`echo "$os" | sed -e 's|sunos5|solaris2|'` | |
1443 | 1424 | ;; |
1444 | 1425 | -sunos6*) |
1445 | os=`echo $os | sed -e 's|sunos6|solaris3|'` | |
1426 | os=`echo "$os" | sed -e 's|sunos6|solaris3|'` | |
1446 | 1427 | ;; |
1447 | 1428 | -opened*) |
1448 | 1429 | os=-openedition |
1453 | 1434 | -wince*) |
1454 | 1435 | os=-wince |
1455 | 1436 | ;; |
1456 | -osfrose*) | |
1457 | os=-osfrose | |
1458 | ;; | |
1459 | -osf*) | |
1460 | os=-osf | |
1461 | ;; | |
1462 | 1437 | -utek*) |
1463 | 1438 | os=-bsd |
1464 | 1439 | ;; |
1483 | 1458 | -nova*) |
1484 | 1459 | os=-rtmk-nova |
1485 | 1460 | ;; |
1486 | -ns2 ) | |
1461 | -ns2) | |
1487 | 1462 | os=-nextstep2 |
1488 | 1463 | ;; |
1489 | 1464 | -nsk*) |
1505 | 1480 | -oss*) |
1506 | 1481 | os=-sysv3 |
1507 | 1482 | ;; |
1508 | -svr4) | |
1483 | -svr4*) | |
1509 | 1484 | os=-sysv4 |
1510 | 1485 | ;; |
1511 | 1486 | -svr3) |
1520 | 1495 | -ose*) |
1521 | 1496 | os=-ose |
1522 | 1497 | ;; |
1523 | -es1800*) | |
1524 | os=-ose | |
1525 | ;; | |
1526 | -xenix) | |
1527 | os=-xenix | |
1528 | ;; | |
1529 | 1498 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1530 | 1499 | os=-mint |
1531 | 1500 | ;; |
1532 | -aros*) | |
1533 | os=-aros | |
1534 | ;; | |
1535 | 1501 | -zvmoe) |
1536 | 1502 | os=-zvmoe |
1537 | 1503 | ;; |
1538 | 1504 | -dicos*) |
1539 | 1505 | os=-dicos |
1506 | ;; | |
1507 | -pikeos*) | |
1508 | # Until real need of OS specific support for | |
1509 | # particular features comes up, bare metal | |
1510 | # configurations are quite functional. | |
1511 | case $basic_machine in | |
1512 | arm*) | |
1513 | os=-eabi | |
1514 | ;; | |
1515 | *) | |
1516 | os=-elf | |
1517 | ;; | |
1518 | esac | |
1540 | 1519 | ;; |
1541 | 1520 | -nacl*) |
1542 | 1521 | ;; |
1547 | 1526 | *) |
1548 | 1527 | # Get rid of the `-' at the beginning of $os. |
1549 | 1528 | os=`echo $os | sed 's/[^-]*-//'` |
1550 | echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 | |
1529 | echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 | |
1551 | 1530 | exit 1 |
1552 | 1531 | ;; |
1553 | 1532 | esac |
1637 | 1616 | sparc-* | *-sun) |
1638 | 1617 | os=-sunos4.1.1 |
1639 | 1618 | ;; |
1619 | pru-*) | |
1620 | os=-elf | |
1621 | ;; | |
1640 | 1622 | *-be) |
1641 | 1623 | os=-beos |
1642 | 1624 | ;; |
1643 | *-haiku) | |
1644 | os=-haiku | |
1645 | ;; | |
1646 | 1625 | *-ibm) |
1647 | 1626 | os=-aix |
1648 | 1627 | ;; |
1682 | 1661 | m88k-omron*) |
1683 | 1662 | os=-luna |
1684 | 1663 | ;; |
1685 | *-next ) | |
1664 | *-next) | |
1686 | 1665 | os=-nextstep |
1687 | 1666 | ;; |
1688 | 1667 | *-sequent) |
1696 | 1675 | ;; |
1697 | 1676 | i370-*) |
1698 | 1677 | os=-mvs |
1699 | ;; | |
1700 | *-next) | |
1701 | os=-nextstep3 | |
1702 | 1678 | ;; |
1703 | 1679 | *-gould) |
1704 | 1680 | os=-sysv |
1809 | 1785 | vendor=stratus |
1810 | 1786 | ;; |
1811 | 1787 | esac |
1812 | basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | |
1788 | basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` | |
1813 | 1789 | ;; |
1814 | 1790 | esac |
1815 | 1791 | |
1816 | echo $basic_machine$os | |
1792 | echo "$basic_machine$os" | |
1817 | 1793 | exit |
1818 | 1794 | |
1819 | 1795 | # Local variables: |
1820 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1796 | # eval: (add-hook 'write-file-functions 'time-stamp) | |
1821 | 1797 | # time-stamp-start: "timestamp='" |
1822 | 1798 | # time-stamp-format: "%:y-%02m-%02d" |
1823 | 1799 | # time-stamp-end: "'" |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for blueman 2.0.5. | |
2 | # Generated by GNU Autoconf 2.69 for blueman 2.0.6. | |
3 | 3 | # |
4 | 4 | # Report bugs to <https://github.com/blueman-project/blueman/issues>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='blueman' |
591 | 591 | PACKAGE_TARNAME='blueman' |
592 | PACKAGE_VERSION='2.0.5' | |
593 | PACKAGE_STRING='blueman 2.0.5' | |
592 | PACKAGE_VERSION='2.0.6' | |
593 | PACKAGE_STRING='blueman 2.0.6' | |
594 | 594 | PACKAGE_BUGREPORT='https://github.com/blueman-project/blueman/issues' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
1451 | 1451 | # Omit some internal or obsolete options to make the list less imposing. |
1452 | 1452 | # This message is too long to be a string in the A/UX 3.1 sh. |
1453 | 1453 | cat <<_ACEOF |
1454 | \`configure' configures blueman 2.0.5 to adapt to many kinds of systems. | |
1454 | \`configure' configures blueman 2.0.6 to adapt to many kinds of systems. | |
1455 | 1455 | |
1456 | 1456 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1457 | 1457 | |
1522 | 1522 | |
1523 | 1523 | if test -n "$ac_init_help"; then |
1524 | 1524 | case $ac_init_help in |
1525 | short | recursive ) echo "Configuration of blueman 2.0.5:";; | |
1525 | short | recursive ) echo "Configuration of blueman 2.0.6:";; | |
1526 | 1526 | esac |
1527 | 1527 | cat <<\_ACEOF |
1528 | 1528 | |
1532 | 1532 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1533 | 1533 | --enable-silent-rules less verbose build output (undo: "make V=1") |
1534 | 1534 | --disable-silent-rules verbose build output (undo: "make V=0") |
1535 | --enable-maintainer-mode | |
1536 | enable make rules and dependencies not useful (and | |
1535 | --disable-maintainer-mode | |
1536 | disable make rules and dependencies not useful (and | |
1537 | 1537 | sometimes confusing) to the casual installer |
1538 | 1538 | --enable-dependency-tracking |
1539 | 1539 | do not reject slow dependency extractors |
1679 | 1679 | test -n "$ac_init_help" && exit $ac_status |
1680 | 1680 | if $ac_init_version; then |
1681 | 1681 | cat <<\_ACEOF |
1682 | blueman configure 2.0.5 | |
1682 | blueman configure 2.0.6 | |
1683 | 1683 | generated by GNU Autoconf 2.69 |
1684 | 1684 | |
1685 | 1685 | Copyright (C) 2012 Free Software Foundation, Inc. |
2048 | 2048 | This file contains any messages produced by compilers while |
2049 | 2049 | running configure, to aid debugging if configure makes a mistake. |
2050 | 2050 | |
2051 | It was created by blueman $as_me 2.0.5, which was | |
2051 | It was created by blueman $as_me 2.0.6, which was | |
2052 | 2052 | generated by GNU Autoconf 2.69. Invocation command line was |
2053 | 2053 | |
2054 | 2054 | $ $0 $@ |
2913 | 2913 | |
2914 | 2914 | # Define the identity of the package. |
2915 | 2915 | PACKAGE='blueman' |
2916 | VERSION='2.0.5' | |
2916 | VERSION='2.0.6' | |
2917 | 2917 | |
2918 | 2918 | |
2919 | 2919 | cat >>confdefs.h <<_ACEOF |
3014 | 3014 | if test "${enable_maintainer_mode+set}" = set; then : |
3015 | 3015 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
3016 | 3016 | else |
3017 | USE_MAINTAINER_MODE=no | |
3017 | USE_MAINTAINER_MODE=yes | |
3018 | 3018 | fi |
3019 | 3019 | |
3020 | 3020 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
15733 | 15733 | # report actual input values of CONFIG_FILES etc. instead of their |
15734 | 15734 | # values after options handling. |
15735 | 15735 | ac_log=" |
15736 | This file was extended by blueman $as_me 2.0.5, which was | |
15736 | This file was extended by blueman $as_me 2.0.6, which was | |
15737 | 15737 | generated by GNU Autoconf 2.69. Invocation command line was |
15738 | 15738 | |
15739 | 15739 | CONFIG_FILES = $CONFIG_FILES |
15799 | 15799 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15800 | 15800 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15801 | 15801 | ac_cs_version="\\ |
15802 | blueman config.status 2.0.5 | |
15802 | blueman config.status 2.0.6 | |
15803 | 15803 | configured by $0, generated by GNU Autoconf 2.69, |
15804 | 15804 | with options \\"\$ac_cs_config\\" |
15805 | 15805 |
0 | 0 | AC_PREREQ(2.61) |
1 | 1 | |
2 | AC_INIT([blueman], [2.0.5], [https://github.com/blueman-project/blueman/issues]) | |
2 | AC_INIT([blueman], [2.0.6], [https://github.com/blueman-project/blueman/issues]) | |
3 | 3 | AC_CONFIG_HEADERS(config.h) |
4 | 4 | AM_INIT_AUTOMAKE([foreign dist-xz]) |
5 | 5 | |
6 | AM_MAINTAINER_MODE | |
6 | AM_MAINTAINER_MODE([enable]) | |
7 | 7 | AC_PROG_CC |
8 | 8 | AC_PROG_LIBTOOL |
9 | 9 | PKG_PROG_PKG_CONFIG |
5 | 5 | <busconfig> |
6 | 6 | <policy user="root"> |
7 | 7 | <allow own="org.blueman.Mechanism"/> |
8 | <allow send_destination="org.blueman.Mechanism"/> | |
9 | <allow receive_sender="org.blueman.Mechanism"/> | |
8 | 10 | </policy> |
9 | 11 | <policy context="default"> |
10 | 12 | <allow send_destination="org.blueman.Mechanism"/> |
13 | <allow receive_sender="org.blueman.Mechanism"/> | |
11 | 14 | </policy> |
12 | 15 | </busconfig> |
22 | 22 | <_message>Launching DHCP client requires privileges</_message> |
23 | 23 | <defaults> |
24 | 24 | <allow_inactive>no</allow_inactive> |
25 | <allow_active>yes</allow_active> | |
25 | <allow_active>auth_admin_keep</allow_active> | |
26 | 26 | </defaults> |
27 | 27 | </action> |
28 | ||
29 | <action id="org.blueman.bluez.config"> | |
30 | <_description>Bluetooth Configuration</_description> | |
31 | <_message>Changing Bluetooth system settings requires privileges</_message> | |
28 | ||
29 | <action id="org.blueman.pppd.pppconnect"> | |
30 | <_description>Launch PPP daemon</_description> | |
31 | <_message>Launching PPP daemon requires privileges</_message> | |
32 | 32 | <defaults> |
33 | 33 | <allow_inactive>no</allow_inactive> |
34 | 34 | <allow_active>auth_admin_keep</allow_active> |
35 | 35 | </defaults> |
36 | 36 | </action> |
37 | ||
37 | ||
38 | <action id="org.blueman.rfkill.setstate"> | |
39 | <_description>Set RfKill State</_description> | |
40 | <_message>Setting RfKill State requires privileges</_message> | |
41 | <defaults> | |
42 | <allow_inactive>no</allow_inactive> | |
43 | <allow_active>auth_admin_keep</allow_active> | |
44 | </defaults> | |
45 | </action> | |
46 | ||
38 | 47 | </policyconfig> |
30 | 30 | |
31 | 31 | PROGRAM=libtool |
32 | 32 | PACKAGE=libtool |
33 | VERSION="2.4.6 Debian-2.4.6-2" | |
33 | VERSION="2.4.6 Debian-2.4.6-2.1" | |
34 | 34 | package_revision=2.4.6 |
35 | 35 | |
36 | 36 | |
63 | 63 | # libraries, which are installed to $pkgauxdir. |
64 | 64 | |
65 | 65 | # Set a version string for this script. |
66 | scriptversion=2015-01-20.17; # UTC | |
66 | scriptversion=2015-10-12.13; # UTC | |
67 | 67 | |
68 | 68 | # General shell script boiler plate, and helper functions. |
69 | 69 | # Written by Gary V. Vaughan, 2004 |
579 | 579 | { |
580 | 580 | $debug_cmd |
581 | 581 | |
582 | func_quote_for_eval "$2" | |
583 | eval "$1+=\\ \$func_quote_for_eval_result" | |
582 | func_quote_arg pretty "$2" | |
583 | eval "$1+=\\ \$func_quote_arg_result" | |
584 | 584 | }' |
585 | 585 | else |
586 | 586 | func_append_quoted () |
587 | 587 | { |
588 | 588 | $debug_cmd |
589 | 589 | |
590 | func_quote_for_eval "$2" | |
591 | eval "$1=\$$1\\ \$func_quote_for_eval_result" | |
590 | func_quote_arg pretty "$2" | |
591 | eval "$1=\$$1\\ \$func_quote_arg_result" | |
592 | 592 | } |
593 | 593 | fi |
594 | 594 | |
1090 | 1090 | } |
1091 | 1091 | |
1092 | 1092 | |
1093 | # func_quote_for_eval ARG... | |
1094 | # -------------------------- | |
1095 | # Aesthetically quote ARGs to be evaled later. | |
1096 | # This function returns two values: | |
1097 | # i) func_quote_for_eval_result | |
1098 | # double-quoted, suitable for a subsequent eval | |
1099 | # ii) func_quote_for_eval_unquoted_result | |
1093 | # func_quote_portable EVAL ARG | |
1094 | # ---------------------------- | |
1095 | # Internal function to portably implement func_quote_arg. Note that we still | |
1096 | # keep attention to performance here so we as much as possible try to avoid | |
1097 | # calling sed binary (so far O(N) complexity as long as func_append is O(1)). | |
1098 | func_quote_portable () | |
1099 | { | |
1100 | $debug_cmd | |
1101 | ||
1102 | func_quote_portable_result=$2 | |
1103 | ||
1104 | # one-time-loop (easy break) | |
1105 | while true | |
1106 | do | |
1107 | if $1; then | |
1108 | func_quote_portable_result=`$ECHO "$2" | $SED \ | |
1109 | -e "$sed_double_quote_subst" -e "$sed_double_backslash"` | |
1110 | break | |
1111 | fi | |
1112 | ||
1113 | # Quote for eval. | |
1114 | case $func_quote_portable_result in | |
1115 | *[\\\`\"\$]*) | |
1116 | case $func_quote_portable_result in | |
1117 | *[\[\*\?]*) | |
1118 | func_quote_portable_result=`$ECHO "$func_quote_portable_result" | $SED "$sed_quote_subst"` | |
1119 | break | |
1120 | ;; | |
1121 | esac | |
1122 | ||
1123 | func_quote_portable_old_IFS=$IFS | |
1124 | for _G_char in '\' '`' '"' '$' | |
1125 | do | |
1126 | # STATE($1) PREV($2) SEPARATOR($3) | |
1127 | set start "" "" | |
1128 | func_quote_portable_result=dummy"$_G_char$func_quote_portable_result$_G_char"dummy | |
1129 | IFS=$_G_char | |
1130 | for _G_part in $func_quote_portable_result | |
1131 | do | |
1132 | case $1 in | |
1133 | quote) | |
1134 | func_append func_quote_portable_result "$3$2" | |
1135 | set quote "$_G_part" "\\$_G_char" | |
1136 | ;; | |
1137 | start) | |
1138 | set first "" "" | |
1139 | func_quote_portable_result= | |
1140 | ;; | |
1141 | first) | |
1142 | set quote "$_G_part" "" | |
1143 | ;; | |
1144 | esac | |
1145 | done | |
1146 | done | |
1147 | IFS=$func_quote_portable_old_IFS | |
1148 | ;; | |
1149 | *) ;; | |
1150 | esac | |
1151 | break | |
1152 | done | |
1153 | ||
1154 | func_quote_portable_unquoted_result=$func_quote_portable_result | |
1155 | case $func_quote_portable_result in | |
1156 | # double-quote args containing shell metacharacters to delay | |
1157 | # word splitting, command substitution and variable expansion | |
1158 | # for a subsequent eval. | |
1159 | # many bourne shells cannot handle close brackets correctly | |
1160 | # in scan sets, so we specify it separately. | |
1161 | *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") | |
1162 | func_quote_portable_result=\"$func_quote_portable_result\" | |
1163 | ;; | |
1164 | esac | |
1165 | } | |
1166 | ||
1167 | ||
1168 | # func_quotefast_eval ARG | |
1169 | # ----------------------- | |
1170 | # Quote one ARG (internal). This is equivalent to 'func_quote_arg eval ARG', | |
1171 | # but optimized for speed. Result is stored in $func_quotefast_eval. | |
1172 | if test xyes = `(x=; printf -v x %q yes; echo x"$x") 2>/dev/null`; then | |
1173 | func_quotefast_eval () | |
1174 | { | |
1175 | printf -v func_quotefast_eval_result %q "$1" | |
1176 | } | |
1177 | else | |
1178 | func_quotefast_eval () | |
1179 | { | |
1180 | func_quote_portable false "$1" | |
1181 | func_quotefast_eval_result=$func_quote_portable_result | |
1182 | } | |
1183 | fi | |
1184 | ||
1185 | ||
1186 | # func_quote_arg MODEs ARG | |
1187 | # ------------------------ | |
1188 | # Quote one ARG to be evaled later. MODEs argument may contain zero ore more | |
1189 | # specifiers listed below separated by ',' character. This function returns two | |
1190 | # values: | |
1191 | # i) func_quote_arg_result | |
1192 | # double-quoted (when needed), suitable for a subsequent eval | |
1193 | # ii) func_quote_arg_unquoted_result | |
1100 | 1194 | # has all characters that are still active within double |
1101 | # quotes backslashified. | |
1102 | func_quote_for_eval () | |
1195 | # quotes backslashified. Available only if 'unquoted' is specified. | |
1196 | # | |
1197 | # Available modes: | |
1198 | # ---------------- | |
1199 | # 'eval' (default) | |
1200 | # - escape shell special characters | |
1201 | # 'expand' | |
1202 | # - the same as 'eval'; but do not quote variable references | |
1203 | # 'pretty' | |
1204 | # - request aesthetic output, i.e. '"a b"' instead of 'a\ b'. This might | |
1205 | # later used in func_quote to get output like: 'echo "a b"' instead of | |
1206 | # 'echo a\ b'. This is slower than default on some shells. | |
1207 | # 'unquoted' | |
1208 | # - produce also $func_quote_arg_unquoted_result which does not contain | |
1209 | # wrapping double-quotes. | |
1210 | # | |
1211 | # Examples for 'func_quote_arg pretty,unquoted string': | |
1212 | # | |
1213 | # string | *_result | *_unquoted_result | |
1214 | # ------------+-----------------------+------------------- | |
1215 | # " | \" | \" | |
1216 | # a b | "a b" | a b | |
1217 | # "a b" | "\"a b\"" | \"a b\" | |
1218 | # * | "*" | * | |
1219 | # z="${x-$y}" | "z=\"\${x-\$y}\"" | z=\"\${x-\$y}\" | |
1220 | # | |
1221 | # Examples for 'func_quote_arg pretty,unquoted,expand string': | |
1222 | # | |
1223 | # string | *_result | *_unquoted_result | |
1224 | # --------------+---------------------+-------------------- | |
1225 | # z="${x-$y}" | "z=\"${x-$y}\"" | z=\"${x-$y}\" | |
1226 | func_quote_arg () | |
1227 | { | |
1228 | _G_quote_expand=false | |
1229 | case ,$1, in | |
1230 | *,expand,*) | |
1231 | _G_quote_expand=: | |
1232 | ;; | |
1233 | esac | |
1234 | ||
1235 | case ,$1, in | |
1236 | *,pretty,*|*,expand,*|*,unquoted,*) | |
1237 | func_quote_portable $_G_quote_expand "$2" | |
1238 | func_quote_arg_result=$func_quote_portable_result | |
1239 | func_quote_arg_unquoted_result=$func_quote_portable_unquoted_result | |
1240 | ;; | |
1241 | *) | |
1242 | # Faster quote-for-eval for some shells. | |
1243 | func_quotefast_eval "$2" | |
1244 | func_quote_arg_result=$func_quotefast_eval_result | |
1245 | ;; | |
1246 | esac | |
1247 | } | |
1248 | ||
1249 | ||
1250 | # func_quote MODEs ARGs... | |
1251 | # ------------------------ | |
1252 | # Quote all ARGs to be evaled later and join them into single command. See | |
1253 | # func_quote_arg's description for more info. | |
1254 | func_quote () | |
1103 | 1255 | { |
1104 | 1256 | $debug_cmd |
1105 | ||
1106 | func_quote_for_eval_unquoted_result= | |
1107 | func_quote_for_eval_result= | |
1257 | _G_func_quote_mode=$1 ; shift | |
1258 | func_quote_result= | |
1108 | 1259 | while test 0 -lt $#; do |
1109 | case $1 in | |
1110 | *[\\\`\"\$]*) | |
1111 | _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; | |
1112 | *) | |
1113 | _G_unquoted_arg=$1 ;; | |
1114 | esac | |
1115 | if test -n "$func_quote_for_eval_unquoted_result"; then | |
1116 | func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" | |
1260 | func_quote_arg "$_G_func_quote_mode" "$1" | |
1261 | if test -n "$func_quote_result"; then | |
1262 | func_append func_quote_result " $func_quote_arg_result" | |
1117 | 1263 | else |
1118 | func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" | |
1119 | fi | |
1120 | ||
1121 | case $_G_unquoted_arg in | |
1122 | # Double-quote args containing shell metacharacters to delay | |
1123 | # word splitting, command substitution and variable expansion | |
1124 | # for a subsequent eval. | |
1125 | # Many Bourne shells cannot handle close brackets correctly | |
1126 | # in scan sets, so we specify it separately. | |
1127 | *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") | |
1128 | _G_quoted_arg=\"$_G_unquoted_arg\" | |
1129 | ;; | |
1130 | *) | |
1131 | _G_quoted_arg=$_G_unquoted_arg | |
1132 | ;; | |
1133 | esac | |
1134 | ||
1135 | if test -n "$func_quote_for_eval_result"; then | |
1136 | func_append func_quote_for_eval_result " $_G_quoted_arg" | |
1137 | else | |
1138 | func_append func_quote_for_eval_result "$_G_quoted_arg" | |
1264 | func_append func_quote_result "$func_quote_arg_result" | |
1139 | 1265 | fi |
1140 | 1266 | shift |
1141 | 1267 | done |
1142 | } | |
1143 | ||
1144 | ||
1145 | # func_quote_for_expand ARG | |
1146 | # ------------------------- | |
1147 | # Aesthetically quote ARG to be evaled later; same as above, | |
1148 | # but do not quote variable references. | |
1149 | func_quote_for_expand () | |
1150 | { | |
1151 | $debug_cmd | |
1152 | ||
1153 | case $1 in | |
1154 | *[\\\`\"]*) | |
1155 | _G_arg=`$ECHO "$1" | $SED \ | |
1156 | -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; | |
1157 | *) | |
1158 | _G_arg=$1 ;; | |
1159 | esac | |
1160 | ||
1161 | case $_G_arg in | |
1162 | # Double-quote args containing shell metacharacters to delay | |
1163 | # word splitting and command substitution for a subsequent eval. | |
1164 | # Many Bourne shells cannot handle close brackets correctly | |
1165 | # in scan sets, so we specify it separately. | |
1166 | *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") | |
1167 | _G_arg=\"$_G_arg\" | |
1168 | ;; | |
1169 | esac | |
1170 | ||
1171 | func_quote_for_expand_result=$_G_arg | |
1172 | 1268 | } |
1173 | 1269 | |
1174 | 1270 | |
1214 | 1310 | _G_cmd=$1 |
1215 | 1311 | _G_fail_exp=${2-':'} |
1216 | 1312 | |
1217 | func_quote_for_expand "$_G_cmd" | |
1218 | eval "func_notquiet $func_quote_for_expand_result" | |
1313 | func_quote_arg pretty,expand "$_G_cmd" | |
1314 | eval "func_notquiet $func_quote_arg_result" | |
1219 | 1315 | |
1220 | 1316 | $opt_dry_run || { |
1221 | 1317 | eval "$_G_cmd" |
1240 | 1336 | _G_fail_exp=${2-':'} |
1241 | 1337 | |
1242 | 1338 | $opt_quiet || { |
1243 | func_quote_for_expand "$_G_cmd" | |
1244 | eval "func_echo $func_quote_for_expand_result" | |
1339 | func_quote_arg expand,pretty "$_G_cmd" | |
1340 | eval "func_echo $func_quote_arg_result" | |
1245 | 1341 | } |
1246 | 1342 | |
1247 | 1343 | $opt_dry_run || { |
1369 | 1465 | #! /bin/sh |
1370 | 1466 | |
1371 | 1467 | # Set a version string for this script. |
1372 | scriptversion=2014-01-07.03; # UTC | |
1468 | scriptversion=2015-10-12.13; # UTC | |
1373 | 1469 | |
1374 | 1470 | # A portable, pluggable option parser for Bourne shell. |
1375 | 1471 | # Written by Gary V. Vaughan, 2010 |
1529 | 1625 | { |
1530 | 1626 | $debug_cmd |
1531 | 1627 | |
1628 | _G_rc_run_hooks=false | |
1629 | ||
1532 | 1630 | case " $hookable_fns " in |
1533 | 1631 | *" $1 "*) ;; |
1534 | 1632 | *) func_fatal_error "'$1' does not support hook funcions.n" ;; |
1537 | 1635 | eval _G_hook_fns=\$$1_hooks; shift |
1538 | 1636 | |
1539 | 1637 | for _G_hook in $_G_hook_fns; do |
1540 | eval $_G_hook '"$@"' | |
1541 | ||
1542 | # store returned options list back into positional | |
1543 | # parameters for next 'cmd' execution. | |
1544 | eval _G_hook_result=\$${_G_hook}_result | |
1545 | eval set dummy "$_G_hook_result"; shift | |
1638 | if eval $_G_hook '"$@"'; then | |
1639 | # store returned options list back into positional | |
1640 | # parameters for next 'cmd' execution. | |
1641 | eval _G_hook_result=\$${_G_hook}_result | |
1642 | eval set dummy "$_G_hook_result"; shift | |
1643 | _G_rc_run_hooks=: | |
1644 | fi | |
1546 | 1645 | done |
1547 | 1646 | |
1548 | func_quote_for_eval ${1+"$@"} | |
1549 | func_run_hooks_result=$func_quote_for_eval_result | |
1647 | $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result | |
1550 | 1648 | } |
1551 | 1649 | |
1552 | 1650 | |
1556 | 1654 | ## --------------- ## |
1557 | 1655 | |
1558 | 1656 | # In order to add your own option parsing hooks, you must accept the |
1559 | # full positional parameter list in your hook function, remove any | |
1560 | # options that you action, and then pass back the remaining unprocessed | |
1657 | # full positional parameter list in your hook function, you may remove/edit | |
1658 | # any options that you action, and then pass back the remaining unprocessed | |
1561 | 1659 | # options in '<hooked_function_name>_result', escaped suitably for |
1562 | # 'eval'. Like this: | |
1660 | # 'eval'. In this case you also must return $EXIT_SUCCESS to let the | |
1661 | # hook's caller know that it should pay attention to | |
1662 | # '<hooked_function_name>_result'. Returning $EXIT_FAILURE signalizes that | |
1663 | # arguments are left untouched by the hook and therefore caller will ignore the | |
1664 | # result variable. | |
1665 | # | |
1666 | # Like this: | |
1563 | 1667 | # |
1564 | 1668 | # my_options_prep () |
1565 | 1669 | # { |
1569 | 1673 | # usage_message=$usage_message' |
1570 | 1674 | # -s, --silent don'\''t print informational messages |
1571 | 1675 | # ' |
1572 | # | |
1573 | # func_quote_for_eval ${1+"$@"} | |
1574 | # my_options_prep_result=$func_quote_for_eval_result | |
1676 | # # No change in '$@' (ignored completely by this hook). There is | |
1677 | # # no need to do the equivalent (but slower) action: | |
1678 | # # func_quote eval ${1+"$@"} | |
1679 | # # my_options_prep_result=$func_quote_result | |
1680 | # false | |
1575 | 1681 | # } |
1576 | 1682 | # func_add_hook func_options_prep my_options_prep |
1577 | 1683 | # |
1580 | 1686 | # { |
1581 | 1687 | # $debug_cmd |
1582 | 1688 | # |
1689 | # args_changed=false | |
1690 | # | |
1583 | 1691 | # # Note that for efficiency, we parse as many options as we can |
1584 | 1692 | # # recognise in a loop before passing the remainder back to the |
1585 | 1693 | # # caller on the first unrecognised argument we encounter. |
1586 | 1694 | # while test $# -gt 0; do |
1587 | 1695 | # opt=$1; shift |
1588 | 1696 | # case $opt in |
1589 | # --silent|-s) opt_silent=: ;; | |
1697 | # --silent|-s) opt_silent=: | |
1698 | # args_changed=: | |
1699 | # ;; | |
1590 | 1700 | # # Separate non-argument short options: |
1591 | 1701 | # -s*) func_split_short_opt "$_G_opt" |
1592 | 1702 | # set dummy "$func_split_short_opt_name" \ |
1593 | 1703 | # "-$func_split_short_opt_arg" ${1+"$@"} |
1594 | 1704 | # shift |
1705 | # args_changed=: | |
1595 | 1706 | # ;; |
1596 | # *) set dummy "$_G_opt" "$*"; shift; break ;; | |
1707 | # *) # Make sure the first unrecognised option "$_G_opt" | |
1708 | # # is added back to "$@", we could need that later | |
1709 | # # if $args_changed is true. | |
1710 | # set dummy "$_G_opt" ${1+"$@"}; shift; break ;; | |
1597 | 1711 | # esac |
1598 | 1712 | # done |
1599 | 1713 | # |
1600 | # func_quote_for_eval ${1+"$@"} | |
1601 | # my_silent_option_result=$func_quote_for_eval_result | |
1714 | # if $args_changed; then | |
1715 | # func_quote eval ${1+"$@"} | |
1716 | # my_silent_option_result=$func_quote_result | |
1717 | # fi | |
1718 | # | |
1719 | # $args_changed | |
1602 | 1720 | # } |
1603 | 1721 | # func_add_hook func_parse_options my_silent_option |
1604 | 1722 | # |
1610 | 1728 | # $opt_silent && $opt_verbose && func_fatal_help "\ |
1611 | 1729 | # '--silent' and '--verbose' options are mutually exclusive." |
1612 | 1730 | # |
1613 | # func_quote_for_eval ${1+"$@"} | |
1614 | # my_option_validation_result=$func_quote_for_eval_result | |
1731 | # false | |
1615 | 1732 | # } |
1616 | 1733 | # func_add_hook func_validate_options my_option_validation |
1617 | 1734 | # |
1618 | # You'll alse need to manually amend $usage_message to reflect the extra | |
1735 | # You'll also need to manually amend $usage_message to reflect the extra | |
1619 | 1736 | # options you parse. It's preferable to append if you can, so that |
1620 | 1737 | # multiple option parsing hooks can be added safely. |
1738 | ||
1739 | ||
1740 | # func_options_finish [ARG]... | |
1741 | # ---------------------------- | |
1742 | # Finishing the option parse loop (call 'func_options' hooks ATM). | |
1743 | func_options_finish () | |
1744 | { | |
1745 | $debug_cmd | |
1746 | ||
1747 | _G_func_options_finish_exit=false | |
1748 | if func_run_hooks func_options ${1+"$@"}; then | |
1749 | func_options_finish_result=$func_run_hooks_result | |
1750 | _G_func_options_finish_exit=: | |
1751 | fi | |
1752 | ||
1753 | $_G_func_options_finish_exit | |
1754 | } | |
1621 | 1755 | |
1622 | 1756 | |
1623 | 1757 | # func_options [ARG]... |
1629 | 1763 | { |
1630 | 1764 | $debug_cmd |
1631 | 1765 | |
1632 | func_options_prep ${1+"$@"} | |
1633 | eval func_parse_options \ | |
1634 | ${func_options_prep_result+"$func_options_prep_result"} | |
1635 | eval func_validate_options \ | |
1636 | ${func_parse_options_result+"$func_parse_options_result"} | |
1637 | ||
1638 | eval func_run_hooks func_options \ | |
1639 | ${func_validate_options_result+"$func_validate_options_result"} | |
1640 | ||
1641 | # save modified positional parameters for caller | |
1642 | func_options_result=$func_run_hooks_result | |
1766 | _G_rc_options=false | |
1767 | ||
1768 | for my_func in options_prep parse_options validate_options options_finish | |
1769 | do | |
1770 | if eval func_$my_func '${1+"$@"}'; then | |
1771 | eval _G_res_var='$'"func_${my_func}_result" | |
1772 | eval set dummy "$_G_res_var" ; shift | |
1773 | _G_rc_options=: | |
1774 | fi | |
1775 | done | |
1776 | ||
1777 | # Save modified positional parameters for caller. As a top-level | |
1778 | # options-parser function we always need to set the 'func_options_result' | |
1779 | # variable (regardless the $_G_rc_options value). | |
1780 | if $_G_rc_options; then | |
1781 | func_options_result=$_G_res_var | |
1782 | else | |
1783 | func_quote eval ${1+"$@"} | |
1784 | func_options_result=$func_quote_result | |
1785 | fi | |
1786 | ||
1787 | $_G_rc_options | |
1643 | 1788 | } |
1644 | 1789 | |
1645 | 1790 | |
1648 | 1793 | # All initialisations required before starting the option parse loop. |
1649 | 1794 | # Note that when calling hook functions, we pass through the list of |
1650 | 1795 | # positional parameters. If a hook function modifies that list, and |
1651 | # needs to propogate that back to rest of this script, then the complete | |
1796 | # needs to propagate that back to rest of this script, then the complete | |
1652 | 1797 | # modified list must be put in 'func_run_hooks_result' before |
1653 | # returning. | |
1798 | # returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned). | |
1654 | 1799 | func_hookable func_options_prep |
1655 | 1800 | func_options_prep () |
1656 | 1801 | { |
1660 | 1805 | opt_verbose=false |
1661 | 1806 | opt_warning_types= |
1662 | 1807 | |
1663 | func_run_hooks func_options_prep ${1+"$@"} | |
1664 | ||
1665 | # save modified positional parameters for caller | |
1666 | func_options_prep_result=$func_run_hooks_result | |
1808 | _G_rc_options_prep=false | |
1809 | if func_run_hooks func_options_prep ${1+"$@"}; then | |
1810 | _G_rc_options_prep=: | |
1811 | # save modified positional parameters for caller | |
1812 | func_options_prep_result=$func_run_hooks_result | |
1813 | fi | |
1814 | ||
1815 | $_G_rc_options_prep | |
1667 | 1816 | } |
1668 | 1817 | |
1669 | 1818 | |
1677 | 1826 | |
1678 | 1827 | func_parse_options_result= |
1679 | 1828 | |
1829 | _G_rc_parse_options=false | |
1680 | 1830 | # this just eases exit handling |
1681 | 1831 | while test $# -gt 0; do |
1682 | 1832 | # Defer to hook functions for initial option parsing, so they |
1683 | 1833 | # get priority in the event of reusing an option name. |
1684 | func_run_hooks func_parse_options ${1+"$@"} | |
1685 | ||
1686 | # Adjust func_parse_options positional parameters to match | |
1687 | eval set dummy "$func_run_hooks_result"; shift | |
1834 | if func_run_hooks func_parse_options ${1+"$@"}; then | |
1835 | eval set dummy "$func_run_hooks_result"; shift | |
1836 | _G_rc_parse_options=: | |
1837 | fi | |
1688 | 1838 | |
1689 | 1839 | # Break out of the loop if we already parsed every option. |
1690 | 1840 | test $# -gt 0 || break |
1691 | 1841 | |
1842 | _G_match_parse_options=: | |
1692 | 1843 | _G_opt=$1 |
1693 | 1844 | shift |
1694 | 1845 | case $_G_opt in |
1703 | 1854 | ;; |
1704 | 1855 | |
1705 | 1856 | --warnings|--warning|-W) |
1706 | test $# = 0 && func_missing_arg $_G_opt && break | |
1857 | if test $# = 0 && func_missing_arg $_G_opt; then | |
1858 | _G_rc_parse_options=: | |
1859 | break | |
1860 | fi | |
1707 | 1861 | case " $warning_categories $1" in |
1708 | 1862 | *" $1 "*) |
1709 | 1863 | # trailing space prevents matching last $1 above |
1756 | 1910 | shift |
1757 | 1911 | ;; |
1758 | 1912 | |
1759 | --) break ;; | |
1913 | --) _G_rc_parse_options=: ; break ;; | |
1760 | 1914 | -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; |
1761 | *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; | |
1915 | *) set dummy "$_G_opt" ${1+"$@"}; shift | |
1916 | _G_match_parse_options=false | |
1917 | break | |
1918 | ;; | |
1762 | 1919 | esac |
1920 | ||
1921 | $_G_match_parse_options && _G_rc_parse_options=: | |
1763 | 1922 | done |
1764 | 1923 | |
1765 | # save modified positional parameters for caller | |
1766 | func_quote_for_eval ${1+"$@"} | |
1767 | func_parse_options_result=$func_quote_for_eval_result | |
1924 | ||
1925 | if $_G_rc_parse_options; then | |
1926 | # save modified positional parameters for caller | |
1927 | func_quote eval ${1+"$@"} | |
1928 | func_parse_options_result=$func_quote_result | |
1929 | fi | |
1930 | ||
1931 | $_G_rc_parse_options | |
1768 | 1932 | } |
1769 | 1933 | |
1770 | 1934 | |
1777 | 1941 | { |
1778 | 1942 | $debug_cmd |
1779 | 1943 | |
1944 | _G_rc_validate_options=false | |
1945 | ||
1780 | 1946 | # Display all warnings if -W was not given. |
1781 | 1947 | test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" |
1782 | 1948 | |
1783 | func_run_hooks func_validate_options ${1+"$@"} | |
1949 | if func_run_hooks func_validate_options ${1+"$@"}; then | |
1950 | # save modified positional parameters for caller | |
1951 | func_validate_options_result=$func_run_hooks_result | |
1952 | _G_rc_validate_options=: | |
1953 | fi | |
1784 | 1954 | |
1785 | 1955 | # Bail if the options were screwed! |
1786 | 1956 | $exit_cmd $EXIT_FAILURE |
1787 | 1957 | |
1788 | # save modified positional parameters for caller | |
1789 | func_validate_options_result=$func_run_hooks_result | |
1958 | $_G_rc_validate_options | |
1790 | 1959 | } |
1791 | 1960 | |
1792 | 1961 | |
2067 | 2236 | compiler: $LTCC |
2068 | 2237 | compiler flags: $LTCFLAGS |
2069 | 2238 | linker: $LD (gnu? $with_gnu_ld) |
2070 | version: $progname $scriptversion Debian-2.4.6-2 | |
2239 | version: $progname $scriptversion Debian-2.4.6-2.1 | |
2071 | 2240 | automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` |
2072 | 2241 | autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` |
2073 | 2242 | |
2269 | 2438 | nonopt= |
2270 | 2439 | preserve_args= |
2271 | 2440 | |
2441 | _G_rc_lt_options_prep=: | |
2442 | ||
2272 | 2443 | # Shorthand for --mode=foo, only valid as the first argument |
2273 | 2444 | case $1 in |
2274 | 2445 | clean|clea|cle|cl) |
2292 | 2463 | uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) |
2293 | 2464 | shift; set dummy --mode uninstall ${1+"$@"}; shift |
2294 | 2465 | ;; |
2466 | *) | |
2467 | _G_rc_lt_options_prep=false | |
2468 | ;; | |
2295 | 2469 | esac |
2296 | 2470 | |
2297 | # Pass back the list of options. | |
2298 | func_quote_for_eval ${1+"$@"} | |
2299 | libtool_options_prep_result=$func_quote_for_eval_result | |
2471 | if $_G_rc_lt_options_prep; then | |
2472 | # Pass back the list of options. | |
2473 | func_quote eval ${1+"$@"} | |
2474 | libtool_options_prep_result=$func_quote_result | |
2475 | fi | |
2476 | ||
2477 | $_G_rc_lt_options_prep | |
2300 | 2478 | } |
2301 | 2479 | func_add_hook func_options_prep libtool_options_prep |
2302 | 2480 | |
2308 | 2486 | { |
2309 | 2487 | $debug_cmd |
2310 | 2488 | |
2489 | _G_rc_lt_parse_options=false | |
2490 | ||
2311 | 2491 | # Perform our own loop to consume as many options as possible in |
2312 | 2492 | # each iteration. |
2313 | 2493 | while test $# -gt 0; do |
2494 | _G_match_lt_parse_options=: | |
2314 | 2495 | _G_opt=$1 |
2315 | 2496 | shift |
2316 | 2497 | case $_G_opt in |
2385 | 2566 | func_append preserve_args " $_G_opt" |
2386 | 2567 | ;; |
2387 | 2568 | |
2388 | # An option not handled by this hook function: | |
2389 | *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; | |
2569 | # An option not handled by this hook function: | |
2570 | *) set dummy "$_G_opt" ${1+"$@"} ; shift | |
2571 | _G_match_lt_parse_options=false | |
2572 | break | |
2573 | ;; | |
2390 | 2574 | esac |
2575 | $_G_match_lt_parse_options && _G_rc_lt_parse_options=: | |
2391 | 2576 | done |
2392 | 2577 | |
2393 | ||
2394 | # save modified positional parameters for caller | |
2395 | func_quote_for_eval ${1+"$@"} | |
2396 | libtool_parse_options_result=$func_quote_for_eval_result | |
2578 | if $_G_rc_lt_parse_options; then | |
2579 | # save modified positional parameters for caller | |
2580 | func_quote eval ${1+"$@"} | |
2581 | libtool_parse_options_result=$func_quote_result | |
2582 | fi | |
2583 | ||
2584 | $_G_rc_lt_parse_options | |
2397 | 2585 | } |
2398 | 2586 | func_add_hook func_parse_options libtool_parse_options |
2399 | 2587 | |
2450 | 2638 | } |
2451 | 2639 | |
2452 | 2640 | # Pass back the unparsed argument list |
2453 | func_quote_for_eval ${1+"$@"} | |
2454 | libtool_validate_options_result=$func_quote_for_eval_result | |
2641 | func_quote eval ${1+"$@"} | |
2642 | libtool_validate_options_result=$func_quote_result | |
2455 | 2643 | } |
2456 | 2644 | func_add_hook func_validate_options libtool_validate_options |
2457 | 2645 | |
3417 | 3605 | esac |
3418 | 3606 | done |
3419 | 3607 | |
3420 | func_quote_for_eval "$libobj" | |
3421 | test "X$libobj" != "X$func_quote_for_eval_result" \ | |
3608 | func_quote_arg pretty "$libobj" | |
3609 | test "X$libobj" != "X$func_quote_arg_result" \ | |
3422 | 3610 | && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ |
3423 | 3611 | && func_warning "libobj name '$libobj' may not contain shell special characters." |
3424 | 3612 | func_dirname_and_basename "$obj" "/" "" |
3491 | 3679 | |
3492 | 3680 | func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 |
3493 | 3681 | srcfile=$func_to_tool_file_result |
3494 | func_quote_for_eval "$srcfile" | |
3495 | qsrcfile=$func_quote_for_eval_result | |
3682 | func_quote_arg pretty "$srcfile" | |
3683 | qsrcfile=$func_quote_arg_result | |
3496 | 3684 | |
3497 | 3685 | # Only build a PIC object if we are building libtool libraries. |
3498 | 3686 | if test yes = "$build_libtool_libs"; then |
4095 | 4283 | case $nonopt in *shtool*) :;; *) false;; esac |
4096 | 4284 | then |
4097 | 4285 | # Aesthetically quote it. |
4098 | func_quote_for_eval "$nonopt" | |
4099 | install_prog="$func_quote_for_eval_result " | |
4286 | func_quote_arg pretty "$nonopt" | |
4287 | install_prog="$func_quote_arg_result " | |
4100 | 4288 | arg=$1 |
4101 | 4289 | shift |
4102 | 4290 | else |
4106 | 4294 | |
4107 | 4295 | # The real first argument should be the name of the installation program. |
4108 | 4296 | # Aesthetically quote it. |
4109 | func_quote_for_eval "$arg" | |
4110 | func_append install_prog "$func_quote_for_eval_result" | |
4297 | func_quote_arg pretty "$arg" | |
4298 | func_append install_prog "$func_quote_arg_result" | |
4111 | 4299 | install_shared_prog=$install_prog |
4112 | 4300 | case " $install_prog " in |
4113 | 4301 | *[\\\ /]cp\ *) install_cp=: ;; |
4164 | 4352 | esac |
4165 | 4353 | |
4166 | 4354 | # Aesthetically quote the argument. |
4167 | func_quote_for_eval "$arg" | |
4168 | func_append install_prog " $func_quote_for_eval_result" | |
4355 | func_quote_arg pretty "$arg" | |
4356 | func_append install_prog " $func_quote_arg_result" | |
4169 | 4357 | if test -n "$arg2"; then |
4170 | func_quote_for_eval "$arg2" | |
4358 | func_quote_arg pretty "$arg2" | |
4171 | 4359 | fi |
4172 | func_append install_shared_prog " $func_quote_for_eval_result" | |
4360 | func_append install_shared_prog " $func_quote_arg_result" | |
4173 | 4361 | done |
4174 | 4362 | |
4175 | 4363 | test -z "$install_prog" && \ |
4180 | 4368 | |
4181 | 4369 | if test -n "$install_override_mode" && $no_mode; then |
4182 | 4370 | if $install_cp; then :; else |
4183 | func_quote_for_eval "$install_override_mode" | |
4184 | func_append install_shared_prog " -m $func_quote_for_eval_result" | |
4371 | func_quote_arg pretty "$install_override_mode" | |
4372 | func_append install_shared_prog " -m $func_quote_arg_result" | |
4185 | 4373 | fi |
4186 | 4374 | fi |
4187 | 4375 | |
4477 | 4665 | relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` |
4478 | 4666 | |
4479 | 4667 | $opt_quiet || { |
4480 | func_quote_for_expand "$relink_command" | |
4481 | eval "func_echo $func_quote_for_expand_result" | |
4668 | func_quote_arg expand,pretty "$relink_command" | |
4669 | eval "func_echo $func_quote_arg_result" | |
4482 | 4670 | } |
4483 | 4671 | if eval "$relink_command"; then : |
4484 | 4672 | else |
5257 | 5445 | if test \"\$libtool_execute_magic\" != \"$magic\"; then |
5258 | 5446 | file=\"\$0\"" |
5259 | 5447 | |
5260 | qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` | |
5448 | func_quote_arg pretty "$ECHO" | |
5449 | qECHO=$func_quote_arg_result | |
5261 | 5450 | $ECHO "\ |
5262 | 5451 | |
5263 | 5452 | # A function that is used when there is no print builtin or printf. |
5267 | 5456 | \$1 |
5268 | 5457 | _LTECHO_EOF' |
5269 | 5458 | } |
5270 | ECHO=\"$qECHO\" | |
5459 | ECHO=$qECHO | |
5271 | 5460 | fi |
5272 | 5461 | |
5273 | 5462 | # Very basic option parsing. These options are (a) specific to |
6610 | 6799 | while test "$#" -gt 0; do |
6611 | 6800 | arg=$1 |
6612 | 6801 | shift |
6613 | func_quote_for_eval "$arg" | |
6614 | qarg=$func_quote_for_eval_unquoted_result | |
6615 | func_append libtool_args " $func_quote_for_eval_result" | |
6802 | func_quote_arg pretty,unquoted "$arg" | |
6803 | qarg=$func_quote_arg_unquoted_result | |
6804 | func_append libtool_args " $func_quote_arg_result" | |
6616 | 6805 | |
6617 | 6806 | # If the previous option needs an argument, assign it. |
6618 | 6807 | if test -n "$prev"; then |
7210 | 7399 | save_ifs=$IFS; IFS=, |
7211 | 7400 | for flag in $args; do |
7212 | 7401 | IFS=$save_ifs |
7213 | func_quote_for_eval "$flag" | |
7214 | func_append arg " $func_quote_for_eval_result" | |
7215 | func_append compiler_flags " $func_quote_for_eval_result" | |
7402 | func_quote_arg pretty "$flag" | |
7403 | func_append arg " $func_quote_arg_result" | |
7404 | func_append compiler_flags " $func_quote_arg_result" | |
7216 | 7405 | done |
7217 | 7406 | IFS=$save_ifs |
7218 | 7407 | func_stripname ' ' '' "$arg" |
7226 | 7415 | save_ifs=$IFS; IFS=, |
7227 | 7416 | for flag in $args; do |
7228 | 7417 | IFS=$save_ifs |
7229 | func_quote_for_eval "$flag" | |
7230 | func_append arg " $wl$func_quote_for_eval_result" | |
7231 | func_append compiler_flags " $wl$func_quote_for_eval_result" | |
7232 | func_append linker_flags " $func_quote_for_eval_result" | |
7418 | func_quote_arg pretty "$flag" | |
7419 | func_append arg " $wl$func_quote_arg_result" | |
7420 | func_append compiler_flags " $wl$func_quote_arg_result" | |
7421 | func_append linker_flags " $func_quote_arg_result" | |
7233 | 7422 | done |
7234 | 7423 | IFS=$save_ifs |
7235 | 7424 | func_stripname ' ' '' "$arg" |
7253 | 7442 | |
7254 | 7443 | # -msg_* for osf cc |
7255 | 7444 | -msg_*) |
7256 | func_quote_for_eval "$arg" | |
7257 | arg=$func_quote_for_eval_result | |
7445 | func_quote_arg pretty "$arg" | |
7446 | arg=$func_quote_arg_result | |
7258 | 7447 | ;; |
7259 | 7448 | |
7260 | 7449 | # Flags to be passed through unchanged, with rationale: |
7278 | 7467 | -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ |
7279 | 7468 | -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ |
7280 | 7469 | -specs=*|-fsanitize=*) |
7281 | func_quote_for_eval "$arg" | |
7282 | arg=$func_quote_for_eval_result | |
7470 | func_quote_arg pretty "$arg" | |
7471 | arg=$func_quote_arg_result | |
7283 | 7472 | func_append compile_command " $arg" |
7284 | 7473 | func_append finalize_command " $arg" |
7285 | 7474 | func_append compiler_flags " $arg" |
7300 | 7489 | continue |
7301 | 7490 | else |
7302 | 7491 | # Otherwise treat like 'Some other compiler flag' below |
7303 | func_quote_for_eval "$arg" | |
7304 | arg=$func_quote_for_eval_result | |
7492 | func_quote_arg pretty "$arg" | |
7493 | arg=$func_quote_arg_result | |
7305 | 7494 | fi |
7306 | 7495 | ;; |
7307 | 7496 | |
7308 | 7497 | # Some other compiler flag. |
7309 | 7498 | -* | +*) |
7310 | func_quote_for_eval "$arg" | |
7311 | arg=$func_quote_for_eval_result | |
7499 | func_quote_arg pretty "$arg" | |
7500 | arg=$func_quote_arg_result | |
7312 | 7501 | ;; |
7313 | 7502 | |
7314 | 7503 | *.$objext) |
7428 | 7617 | *) |
7429 | 7618 | # Unknown arguments in both finalize_command and compile_command need |
7430 | 7619 | # to be aesthetically quoted because they are evaled later. |
7431 | func_quote_for_eval "$arg" | |
7432 | arg=$func_quote_for_eval_result | |
7620 | func_quote_arg pretty "$arg" | |
7621 | arg=$func_quote_arg_result | |
7433 | 7622 | ;; |
7434 | 7623 | esac # arg |
7435 | 7624 | |
9941 | 10130 | for cmd in $concat_cmds; do |
9942 | 10131 | IFS=$save_ifs |
9943 | 10132 | $opt_quiet || { |
9944 | func_quote_for_expand "$cmd" | |
9945 | eval "func_echo $func_quote_for_expand_result" | |
10133 | func_quote_arg expand,pretty "$cmd" | |
10134 | eval "func_echo $func_quote_arg_result" | |
9946 | 10135 | } |
9947 | 10136 | $opt_dry_run || eval "$cmd" || { |
9948 | 10137 | lt_exit=$? |
10035 | 10224 | eval cmd=\"$cmd\" |
10036 | 10225 | IFS=$save_ifs |
10037 | 10226 | $opt_quiet || { |
10038 | func_quote_for_expand "$cmd" | |
10039 | eval "func_echo $func_quote_for_expand_result" | |
10227 | func_quote_arg expand,pretty "$cmd" | |
10228 | eval "func_echo $func_quote_arg_result" | |
10040 | 10229 | } |
10041 | 10230 | $opt_dry_run || eval "$cmd" || { |
10042 | 10231 | lt_exit=$? |
10510 | 10699 | elif eval var_value=\$$var; test -z "$var_value"; then |
10511 | 10700 | relink_command="$var=; export $var; $relink_command" |
10512 | 10701 | else |
10513 | func_quote_for_eval "$var_value" | |
10514 | relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" | |
10702 | func_quote_arg pretty "$var_value" | |
10703 | relink_command="$var=$func_quote_arg_result; export $var; $relink_command" | |
10515 | 10704 | fi |
10516 | 10705 | done |
10517 | relink_command="(cd `pwd`; $relink_command)" | |
10518 | relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` | |
10706 | func_quote_arg pretty,unquoted "(cd `pwd`; $relink_command)" | |
10707 | relink_command=$func_quote_arg_unquoted_result | |
10519 | 10708 | fi |
10520 | 10709 | |
10521 | 10710 | # Only actually do things if not in dry run mode. |
10755 | 10944 | elif eval var_value=\$$var; test -z "$var_value"; then |
10756 | 10945 | relink_command="$var=; export $var; $relink_command" |
10757 | 10946 | else |
10758 | func_quote_for_eval "$var_value" | |
10759 | relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" | |
10947 | func_quote_arg pretty,unquoted "$var_value" | |
10948 | relink_command="$var=$func_quote_arg_unquoted_result; export $var; $relink_command" | |
10760 | 10949 | fi |
10761 | 10950 | done |
10762 | 10951 | # Quote the link command for shipping. |
10763 | 10952 | relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" |
10764 | relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` | |
10953 | func_quote_arg pretty,unquoted "$relink_command" | |
10954 | relink_command=$func_quote_arg_unquoted_result | |
10765 | 10955 | if test yes = "$hardcode_automatic"; then |
10766 | 10956 | relink_command= |
10767 | 10957 | fi |