New upstream version 1.0
Simon McVittie
5 years ago
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.15.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
154 | 154 | CONFIG_HEADER = config.h |
155 | 155 | CONFIG_CLEAN_FILES = xdg-desktop-portal.pc |
156 | 156 | CONFIG_CLEAN_VPATH_FILES = |
157 | am__EXEEXT_1 = | |
158 | am__installdirs = "$(DESTDIR)$(bindir)" \ | |
159 | "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libexecdir)" \ | |
160 | "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libdir)" \ | |
161 | "$(DESTDIR)$(installed_testdir)" \ | |
162 | "$(DESTDIR)$(dbus_servicedir)" \ | |
163 | "$(DESTDIR)$(installed_test_dbsdir)" \ | |
164 | "$(DESTDIR)$(introspectiondir)" \ | |
165 | "$(DESTDIR)$(installed_test_metadir)" \ | |
166 | "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(pkgconfigdir)" \ | |
167 | "$(DESTDIR)$(systemduserunitdir)" | |
168 | am__EXEEXT_2 = testdb$(EXEEXT) test-doc-portal$(EXEEXT) | |
169 | am__EXEEXT_3 = $(am__EXEEXT_2) | |
170 | @ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__EXEEXT_4 = $(am__EXEEXT_3) | |
171 | @ENABLE_INSTALLED_TESTS_TRUE@am__EXEEXT_5 = $(am__EXEEXT_2) | |
172 | @ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__EXEEXT_6 = $(am__EXEEXT_3) | |
173 | PROGRAMS = $(bin_PROGRAMS) $(installed_test_PROGRAMS) \ | |
174 | $(libexec_PROGRAMS) $(noinst_PROGRAMS) | |
175 | 157 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
176 | 158 | am__vpath_adj = case $$p in \ |
177 | 159 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
199 | 181 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ |
200 | 182 | $(am__cd) "$$dir" && rm -f $$files; }; \ |
201 | 183 | } |
184 | am__installdirs = "$(DESTDIR)$(installed_testdir)" \ | |
185 | "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ | |
186 | "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libexecdir)" \ | |
187 | "$(DESTDIR)$(installed_testdir)" \ | |
188 | "$(DESTDIR)$(dbus_servicedir)" \ | |
189 | "$(DESTDIR)$(installed_test_dbsdir)" \ | |
190 | "$(DESTDIR)$(introspectiondir)" \ | |
191 | "$(DESTDIR)$(installed_test_metadir)" \ | |
192 | "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(pkgconfigdir)" \ | |
193 | "$(DESTDIR)$(systemduserunitdir)" | |
202 | 194 | LTLIBRARIES = $(installed_test_LTLIBRARIES) $(lib_LTLIBRARIES) \ |
203 | 195 | $(noinst_LTLIBRARIES) |
196 | am__EXEEXT_1 = | |
197 | am__EXEEXT_2 = testdb$(EXEEXT) test-doc-portal$(EXEEXT) | |
198 | am__EXEEXT_3 = $(am__EXEEXT_2) | |
199 | @ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__EXEEXT_4 = $(am__EXEEXT_3) | |
200 | @ENABLE_INSTALLED_TESTS_TRUE@am__EXEEXT_5 = $(am__EXEEXT_2) | |
201 | @ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__EXEEXT_6 = $(am__EXEEXT_3) | |
202 | PROGRAMS = $(bin_PROGRAMS) $(installed_test_PROGRAMS) \ | |
203 | $(libexec_PROGRAMS) $(noinst_PROGRAMS) | |
204 | 204 | am__dirstamp = $(am__leading_dot)dirstamp |
205 | 205 | am_test_doc_portal_OBJECTS = \ |
206 | 206 | tests/test_doc_portal-test-doc-portal.$(OBJEXT) |
336 | 336 | am__v_at_1 = |
337 | 337 | DEFAULT_INCLUDES = -I.@am__isrc@ |
338 | 338 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
339 | am__maybe_remake_depfiles = depfiles | |
340 | am__depfiles_remade = document-portal/$(DEPDIR)/test_doc_portal-document-portal-dbus.Po \ | |
341 | document-portal/$(DEPDIR)/testdb-permission-db.Po \ | |
342 | document-portal/$(DEPDIR)/xdg_document_portal-document-portal-dbus.Po \ | |
343 | document-portal/$(DEPDIR)/xdg_document_portal-document-portal-fuse.Po \ | |
344 | document-portal/$(DEPDIR)/xdg_document_portal-document-portal.Po \ | |
345 | document-portal/$(DEPDIR)/xdg_document_portal-document-store.Po \ | |
346 | document-portal/$(DEPDIR)/xdg_document_portal-permission-db.Po \ | |
347 | document-portal/$(DEPDIR)/xdg_document_portal-permission-store-dbus.Po \ | |
348 | document-portal/$(DEPDIR)/xdg_permission_store-permission-db.Po \ | |
349 | document-portal/$(DEPDIR)/xdg_permission_store-permission-store-dbus.Po \ | |
350 | document-portal/$(DEPDIR)/xdg_permission_store-permission-store.Po \ | |
351 | document-portal/$(DEPDIR)/xdg_permission_store-xdg-permission-store.Po \ | |
352 | document-portal/gvdb/$(DEPDIR)/testdb-gvdb-builder.Po \ | |
353 | document-portal/gvdb/$(DEPDIR)/testdb-gvdb-reader.Po \ | |
354 | document-portal/gvdb/$(DEPDIR)/xdg_document_portal-gvdb-builder.Po \ | |
355 | document-portal/gvdb/$(DEPDIR)/xdg_document_portal-gvdb-reader.Po \ | |
356 | document-portal/gvdb/$(DEPDIR)/xdg_permission_store-gvdb-builder.Po \ | |
357 | document-portal/gvdb/$(DEPDIR)/xdg_permission_store-gvdb-reader.Po \ | |
358 | src/$(DEPDIR)/xdg_desktop_portal-account.Po \ | |
359 | src/$(DEPDIR)/xdg_desktop_portal-call.Po \ | |
360 | src/$(DEPDIR)/xdg_desktop_portal-device.Po \ | |
361 | src/$(DEPDIR)/xdg_desktop_portal-documents.Po \ | |
362 | src/$(DEPDIR)/xdg_desktop_portal-email.Po \ | |
363 | src/$(DEPDIR)/xdg_desktop_portal-file-chooser.Po \ | |
364 | src/$(DEPDIR)/xdg_desktop_portal-inhibit.Po \ | |
365 | src/$(DEPDIR)/xdg_desktop_portal-network-monitor.Po \ | |
366 | src/$(DEPDIR)/xdg_desktop_portal-notification.Po \ | |
367 | src/$(DEPDIR)/xdg_desktop_portal-open-uri.Po \ | |
368 | src/$(DEPDIR)/xdg_desktop_portal-permissions.Po \ | |
369 | src/$(DEPDIR)/xdg_desktop_portal-print.Po \ | |
370 | src/$(DEPDIR)/xdg_desktop_portal-proxy-resolver.Po \ | |
371 | src/$(DEPDIR)/xdg_desktop_portal-remote-desktop.Po \ | |
372 | src/$(DEPDIR)/xdg_desktop_portal-request.Po \ | |
373 | src/$(DEPDIR)/xdg_desktop_portal-screen-cast.Po \ | |
374 | src/$(DEPDIR)/xdg_desktop_portal-screenshot.Po \ | |
375 | src/$(DEPDIR)/xdg_desktop_portal-session.Po \ | |
376 | src/$(DEPDIR)/xdg_desktop_portal-xdg-desktop-portal.Po \ | |
377 | src/$(DEPDIR)/xdg_desktop_portal-xdg-desktop-resources.Po \ | |
378 | src/$(DEPDIR)/xdg_desktop_portal-xdp-dbus.Po \ | |
379 | src/$(DEPDIR)/xdg_desktop_portal-xdp-impl-dbus.Po \ | |
380 | src/$(DEPDIR)/xdg_desktop_portal-xdp-utils.Po \ | |
381 | src/$(DEPDIR)/xdg_document_portal-xdp-utils.Po \ | |
382 | src/$(DEPDIR)/xdg_permission_store-xdp-utils.Po \ | |
383 | tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Po \ | |
384 | tests/$(DEPDIR)/testdb-testdb.Po | |
339 | am__depfiles_maybe = depfiles | |
385 | 340 | am__mv = mv -f |
386 | 341 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
387 | 342 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
436 | 391 | $(RECURSIVE_CLEAN_TARGETS) \ |
437 | 392 | $(am__extra_recursive_targets) |
438 | 393 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
439 | cscope check recheck distdir distdir-am dist dist-all \ | |
440 | distcheck | |
394 | cscope check recheck distdir dist dist-all distcheck | |
441 | 395 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
442 | 396 | $(LISP)config.h.in |
443 | 397 | # Read a list of newline-separated strings from the standard input, |
1128 | 1082 | echo ' $(SHELL) ./config.status'; \ |
1129 | 1083 | $(SHELL) ./config.status;; \ |
1130 | 1084 | *) \ |
1131 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ | |
1132 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ | |
1085 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | |
1086 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | |
1133 | 1087 | esac; |
1134 | 1088 | $(top_srcdir)/glib-tap.mk $(srcdir)/data/Makefile.am.inc $(srcdir)/document-portal/Makefile.am.inc $(srcdir)/src/Makefile.am.inc $(srcdir)/tests/Makefile.am.inc $(am__empty): |
1135 | 1089 | |
1158 | 1112 | -rm -f config.h stamp-h1 |
1159 | 1113 | xdg-desktop-portal.pc: $(top_builddir)/config.status $(srcdir)/xdg-desktop-portal.pc.in |
1160 | 1114 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
1115 | ||
1116 | clean-checkLTLIBRARIES: | |
1117 | -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES) | |
1118 | @list='$(check_LTLIBRARIES)'; \ | |
1119 | locs=`for p in $$list; do echo $$p; done | \ | |
1120 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
1121 | sort -u`; \ | |
1122 | test -z "$$locs" || { \ | |
1123 | echo rm -f $${locs}; \ | |
1124 | rm -f $${locs}; \ | |
1125 | } | |
1126 | ||
1127 | install-installed_testLTLIBRARIES: $(installed_test_LTLIBRARIES) | |
1128 | @$(NORMAL_INSTALL) | |
1129 | @list='$(installed_test_LTLIBRARIES)'; test -n "$(installed_testdir)" || list=; \ | |
1130 | list2=; for p in $$list; do \ | |
1131 | if test -f $$p; then \ | |
1132 | list2="$$list2 $$p"; \ | |
1133 | else :; fi; \ | |
1134 | done; \ | |
1135 | test -z "$$list2" || { \ | |
1136 | echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)'"; \ | |
1137 | $(MKDIR_P) "$(DESTDIR)$(installed_testdir)" || exit 1; \ | |
1138 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(installed_testdir)'"; \ | |
1139 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(installed_testdir)"; \ | |
1140 | } | |
1141 | ||
1142 | uninstall-installed_testLTLIBRARIES: | |
1143 | @$(NORMAL_UNINSTALL) | |
1144 | @list='$(installed_test_LTLIBRARIES)'; test -n "$(installed_testdir)" || list=; \ | |
1145 | for p in $$list; do \ | |
1146 | $(am__strip_dir) \ | |
1147 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(installed_testdir)/$$f'"; \ | |
1148 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(installed_testdir)/$$f"; \ | |
1149 | done | |
1150 | ||
1151 | clean-installed_testLTLIBRARIES: | |
1152 | -test -z "$(installed_test_LTLIBRARIES)" || rm -f $(installed_test_LTLIBRARIES) | |
1153 | @list='$(installed_test_LTLIBRARIES)'; \ | |
1154 | locs=`for p in $$list; do echo $$p; done | \ | |
1155 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
1156 | sort -u`; \ | |
1157 | test -z "$$locs" || { \ | |
1158 | echo rm -f $${locs}; \ | |
1159 | rm -f $${locs}; \ | |
1160 | } | |
1161 | ||
1162 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) | |
1163 | @$(NORMAL_INSTALL) | |
1164 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | |
1165 | list2=; for p in $$list; do \ | |
1166 | if test -f $$p; then \ | |
1167 | list2="$$list2 $$p"; \ | |
1168 | else :; fi; \ | |
1169 | done; \ | |
1170 | test -z "$$list2" || { \ | |
1171 | echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ | |
1172 | $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ | |
1173 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ | |
1174 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ | |
1175 | } | |
1176 | ||
1177 | uninstall-libLTLIBRARIES: | |
1178 | @$(NORMAL_UNINSTALL) | |
1179 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | |
1180 | for p in $$list; do \ | |
1181 | $(am__strip_dir) \ | |
1182 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ | |
1183 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ | |
1184 | done | |
1185 | ||
1186 | clean-libLTLIBRARIES: | |
1187 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | |
1188 | @list='$(lib_LTLIBRARIES)'; \ | |
1189 | locs=`for p in $$list; do echo $$p; done | \ | |
1190 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
1191 | sort -u`; \ | |
1192 | test -z "$$locs" || { \ | |
1193 | echo rm -f $${locs}; \ | |
1194 | rm -f $${locs}; \ | |
1195 | } | |
1196 | ||
1197 | clean-noinstLTLIBRARIES: | |
1198 | -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) | |
1199 | @list='$(noinst_LTLIBRARIES)'; \ | |
1200 | locs=`for p in $$list; do echo $$p; done | \ | |
1201 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
1202 | sort -u`; \ | |
1203 | test -z "$$locs" || { \ | |
1204 | echo rm -f $${locs}; \ | |
1205 | rm -f $${locs}; \ | |
1206 | } | |
1161 | 1207 | install-binPROGRAMS: $(bin_PROGRAMS) |
1162 | 1208 | @$(NORMAL_INSTALL) |
1163 | 1209 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
1323 | 1369 | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ |
1324 | 1370 | echo " rm -f" $$list; \ |
1325 | 1371 | rm -f $$list |
1326 | ||
1327 | clean-checkLTLIBRARIES: | |
1328 | -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES) | |
1329 | @list='$(check_LTLIBRARIES)'; \ | |
1330 | locs=`for p in $$list; do echo $$p; done | \ | |
1331 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
1332 | sort -u`; \ | |
1333 | test -z "$$locs" || { \ | |
1334 | echo rm -f $${locs}; \ | |
1335 | rm -f $${locs}; \ | |
1336 | } | |
1337 | ||
1338 | install-installed_testLTLIBRARIES: $(installed_test_LTLIBRARIES) | |
1339 | @$(NORMAL_INSTALL) | |
1340 | @list='$(installed_test_LTLIBRARIES)'; test -n "$(installed_testdir)" || list=; \ | |
1341 | list2=; for p in $$list; do \ | |
1342 | if test -f $$p; then \ | |
1343 | list2="$$list2 $$p"; \ | |
1344 | else :; fi; \ | |
1345 | done; \ | |
1346 | test -z "$$list2" || { \ | |
1347 | echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)'"; \ | |
1348 | $(MKDIR_P) "$(DESTDIR)$(installed_testdir)" || exit 1; \ | |
1349 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(installed_testdir)'"; \ | |
1350 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(installed_testdir)"; \ | |
1351 | } | |
1352 | ||
1353 | uninstall-installed_testLTLIBRARIES: | |
1354 | @$(NORMAL_UNINSTALL) | |
1355 | @list='$(installed_test_LTLIBRARIES)'; test -n "$(installed_testdir)" || list=; \ | |
1356 | for p in $$list; do \ | |
1357 | $(am__strip_dir) \ | |
1358 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(installed_testdir)/$$f'"; \ | |
1359 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(installed_testdir)/$$f"; \ | |
1360 | done | |
1361 | ||
1362 | clean-installed_testLTLIBRARIES: | |
1363 | -test -z "$(installed_test_LTLIBRARIES)" || rm -f $(installed_test_LTLIBRARIES) | |
1364 | @list='$(installed_test_LTLIBRARIES)'; \ | |
1365 | locs=`for p in $$list; do echo $$p; done | \ | |
1366 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
1367 | sort -u`; \ | |
1368 | test -z "$$locs" || { \ | |
1369 | echo rm -f $${locs}; \ | |
1370 | rm -f $${locs}; \ | |
1371 | } | |
1372 | ||
1373 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) | |
1374 | @$(NORMAL_INSTALL) | |
1375 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | |
1376 | list2=; for p in $$list; do \ | |
1377 | if test -f $$p; then \ | |
1378 | list2="$$list2 $$p"; \ | |
1379 | else :; fi; \ | |
1380 | done; \ | |
1381 | test -z "$$list2" || { \ | |
1382 | echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ | |
1383 | $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ | |
1384 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ | |
1385 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ | |
1386 | } | |
1387 | ||
1388 | uninstall-libLTLIBRARIES: | |
1389 | @$(NORMAL_UNINSTALL) | |
1390 | @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | |
1391 | for p in $$list; do \ | |
1392 | $(am__strip_dir) \ | |
1393 | echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ | |
1394 | $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ | |
1395 | done | |
1396 | ||
1397 | clean-libLTLIBRARIES: | |
1398 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | |
1399 | @list='$(lib_LTLIBRARIES)'; \ | |
1400 | locs=`for p in $$list; do echo $$p; done | \ | |
1401 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
1402 | sort -u`; \ | |
1403 | test -z "$$locs" || { \ | |
1404 | echo rm -f $${locs}; \ | |
1405 | rm -f $${locs}; \ | |
1406 | } | |
1407 | ||
1408 | clean-noinstLTLIBRARIES: | |
1409 | -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) | |
1410 | @list='$(noinst_LTLIBRARIES)'; \ | |
1411 | locs=`for p in $$list; do echo $$p; done | \ | |
1412 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
1413 | sort -u`; \ | |
1414 | test -z "$$locs" || { \ | |
1415 | echo rm -f $${locs}; \ | |
1416 | rm -f $${locs}; \ | |
1417 | } | |
1418 | 1372 | tests/$(am__dirstamp): |
1419 | 1373 | @$(MKDIR_P) tests |
1420 | 1374 | @: > tests/$(am__dirstamp) |
1613 | 1567 | distclean-compile: |
1614 | 1568 | -rm -f *.tab.c |
1615 | 1569 | |
1616 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/test_doc_portal-document-portal-dbus.Po@am__quote@ # am--include-marker | |
1617 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/testdb-permission-db.Po@am__quote@ # am--include-marker | |
1618 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-document-portal-dbus.Po@am__quote@ # am--include-marker | |
1619 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-document-portal-fuse.Po@am__quote@ # am--include-marker | |
1620 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-document-portal.Po@am__quote@ # am--include-marker | |
1621 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-document-store.Po@am__quote@ # am--include-marker | |
1622 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-permission-db.Po@am__quote@ # am--include-marker | |
1623 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-permission-store-dbus.Po@am__quote@ # am--include-marker | |
1624 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_permission_store-permission-db.Po@am__quote@ # am--include-marker | |
1625 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_permission_store-permission-store-dbus.Po@am__quote@ # am--include-marker | |
1626 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_permission_store-permission-store.Po@am__quote@ # am--include-marker | |
1627 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_permission_store-xdg-permission-store.Po@am__quote@ # am--include-marker | |
1628 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/testdb-gvdb-builder.Po@am__quote@ # am--include-marker | |
1629 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/testdb-gvdb-reader.Po@am__quote@ # am--include-marker | |
1630 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/xdg_document_portal-gvdb-builder.Po@am__quote@ # am--include-marker | |
1631 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/xdg_document_portal-gvdb-reader.Po@am__quote@ # am--include-marker | |
1632 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/xdg_permission_store-gvdb-builder.Po@am__quote@ # am--include-marker | |
1633 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/xdg_permission_store-gvdb-reader.Po@am__quote@ # am--include-marker | |
1634 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-account.Po@am__quote@ # am--include-marker | |
1635 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-call.Po@am__quote@ # am--include-marker | |
1636 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-device.Po@am__quote@ # am--include-marker | |
1637 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-documents.Po@am__quote@ # am--include-marker | |
1638 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-email.Po@am__quote@ # am--include-marker | |
1639 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-file-chooser.Po@am__quote@ # am--include-marker | |
1640 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-inhibit.Po@am__quote@ # am--include-marker | |
1641 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-network-monitor.Po@am__quote@ # am--include-marker | |
1642 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-notification.Po@am__quote@ # am--include-marker | |
1643 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-open-uri.Po@am__quote@ # am--include-marker | |
1644 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-permissions.Po@am__quote@ # am--include-marker | |
1645 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-print.Po@am__quote@ # am--include-marker | |
1646 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-proxy-resolver.Po@am__quote@ # am--include-marker | |
1647 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-remote-desktop.Po@am__quote@ # am--include-marker | |
1648 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-request.Po@am__quote@ # am--include-marker | |
1649 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-screen-cast.Po@am__quote@ # am--include-marker | |
1650 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-screenshot.Po@am__quote@ # am--include-marker | |
1651 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-session.Po@am__quote@ # am--include-marker | |
1652 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-xdg-desktop-portal.Po@am__quote@ # am--include-marker | |
1653 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-xdg-desktop-resources.Po@am__quote@ # am--include-marker | |
1654 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-xdp-dbus.Po@am__quote@ # am--include-marker | |
1655 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-xdp-impl-dbus.Po@am__quote@ # am--include-marker | |
1656 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-xdp-utils.Po@am__quote@ # am--include-marker | |
1657 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_document_portal-xdp-utils.Po@am__quote@ # am--include-marker | |
1658 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_permission_store-xdp-utils.Po@am__quote@ # am--include-marker | |
1659 | @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Po@am__quote@ # am--include-marker | |
1660 | @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/testdb-testdb.Po@am__quote@ # am--include-marker | |
1661 | ||
1662 | $(am__depfiles_remade): | |
1663 | @$(MKDIR_P) $(@D) | |
1664 | @echo '# dummy' >$@-t && $(am__mv) $@-t $@ | |
1665 | ||
1666 | am--depfiles: $(am__depfiles_remade) | |
1570 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/test_doc_portal-document-portal-dbus.Po@am__quote@ | |
1571 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/testdb-permission-db.Po@am__quote@ | |
1572 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-document-portal-dbus.Po@am__quote@ | |
1573 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-document-portal-fuse.Po@am__quote@ | |
1574 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-document-portal.Po@am__quote@ | |
1575 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-document-store.Po@am__quote@ | |
1576 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-permission-db.Po@am__quote@ | |
1577 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_document_portal-permission-store-dbus.Po@am__quote@ | |
1578 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_permission_store-permission-db.Po@am__quote@ | |
1579 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_permission_store-permission-store-dbus.Po@am__quote@ | |
1580 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_permission_store-permission-store.Po@am__quote@ | |
1581 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/$(DEPDIR)/xdg_permission_store-xdg-permission-store.Po@am__quote@ | |
1582 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/testdb-gvdb-builder.Po@am__quote@ | |
1583 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/testdb-gvdb-reader.Po@am__quote@ | |
1584 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/xdg_document_portal-gvdb-builder.Po@am__quote@ | |
1585 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/xdg_document_portal-gvdb-reader.Po@am__quote@ | |
1586 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/xdg_permission_store-gvdb-builder.Po@am__quote@ | |
1587 | @AMDEP_TRUE@@am__include@ @am__quote@document-portal/gvdb/$(DEPDIR)/xdg_permission_store-gvdb-reader.Po@am__quote@ | |
1588 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-account.Po@am__quote@ | |
1589 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-call.Po@am__quote@ | |
1590 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-device.Po@am__quote@ | |
1591 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-documents.Po@am__quote@ | |
1592 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-email.Po@am__quote@ | |
1593 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-file-chooser.Po@am__quote@ | |
1594 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-inhibit.Po@am__quote@ | |
1595 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-network-monitor.Po@am__quote@ | |
1596 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-notification.Po@am__quote@ | |
1597 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-open-uri.Po@am__quote@ | |
1598 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-permissions.Po@am__quote@ | |
1599 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-print.Po@am__quote@ | |
1600 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-proxy-resolver.Po@am__quote@ | |
1601 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-remote-desktop.Po@am__quote@ | |
1602 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-request.Po@am__quote@ | |
1603 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-screen-cast.Po@am__quote@ | |
1604 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-screenshot.Po@am__quote@ | |
1605 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-session.Po@am__quote@ | |
1606 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-xdg-desktop-portal.Po@am__quote@ | |
1607 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-xdg-desktop-resources.Po@am__quote@ | |
1608 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-xdp-dbus.Po@am__quote@ | |
1609 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-xdp-impl-dbus.Po@am__quote@ | |
1610 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-xdp-utils.Po@am__quote@ | |
1611 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_document_portal-xdp-utils.Po@am__quote@ | |
1612 | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_permission_store-xdp-utils.Po@am__quote@ | |
1613 | @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Po@am__quote@ | |
1614 | @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/testdb-testdb.Po@am__quote@ | |
1667 | 1615 | |
1668 | 1616 | .c.o: |
1669 | 1617 | @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ |
2704 | 2652 | fi; \ |
2705 | 2653 | $$success || exit 1 |
2706 | 2654 | |
2707 | check-TESTS: $(check_PROGRAMS) $(check_LTLIBRARIES) $(check_SCRIPTS) $(check_DATA) | |
2655 | check-TESTS: | |
2708 | 2656 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list |
2709 | 2657 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list |
2710 | 2658 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
2714 | 2662 | log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ |
2715 | 2663 | $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ |
2716 | 2664 | exit $$?; |
2717 | recheck: all $(check_PROGRAMS) $(check_LTLIBRARIES) $(check_SCRIPTS) $(check_DATA) | |
2665 | recheck: all $(check_LTLIBRARIES) $(check_PROGRAMS) $(check_SCRIPTS) $(check_DATA) | |
2718 | 2666 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
2719 | 2667 | @set +e; $(am__set_TESTS_bases); \ |
2720 | 2668 | bases=`for i in $$bases; do echo $$i; done \ |
2754 | 2702 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
2755 | 2703 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) |
2756 | 2704 | |
2757 | distdir: $(BUILT_SOURCES) | |
2758 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
2759 | ||
2760 | distdir-am: $(DISTFILES) | |
2705 | distdir: $(DISTFILES) | |
2761 | 2706 | $(am__remove_distdir) |
2762 | 2707 | test -d "$(distdir)" || mkdir "$(distdir)" |
2763 | 2708 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
2945 | 2890 | $(distcleancheck_listfiles) ; \ |
2946 | 2891 | exit 1; } >&2 |
2947 | 2892 | check-am: all-am |
2948 | $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_LTLIBRARIES) \ | |
2893 | $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS) \ | |
2949 | 2894 | $(check_SCRIPTS) $(check_DATA) |
2950 | 2895 | $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local |
2951 | 2896 | check: $(BUILT_SOURCES) |
2952 | 2897 | $(MAKE) $(AM_MAKEFLAGS) check-recursive |
2953 | all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) $(SCRIPTS) $(DATA) \ | |
2898 | all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ | |
2954 | 2899 | config.h |
2955 | 2900 | install-binPROGRAMS: install-libLTLIBRARIES |
2956 | 2901 | |
2957 | 2902 | installdirs: installdirs-recursive |
2958 | 2903 | installdirs-am: |
2959 | for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(dbus_servicedir)" "$(DESTDIR)$(installed_test_dbsdir)" "$(DESTDIR)$(introspectiondir)" "$(DESTDIR)$(installed_test_metadir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(systemduserunitdir)"; do \ | |
2904 | for dir in "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(dbus_servicedir)" "$(DESTDIR)$(installed_test_dbsdir)" "$(DESTDIR)$(introspectiondir)" "$(DESTDIR)$(installed_test_metadir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(systemduserunitdir)"; do \ | |
2960 | 2905 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
2961 | 2906 | done |
2962 | 2907 | install: $(BUILT_SOURCES) |
3014 | 2959 | |
3015 | 2960 | distclean: distclean-recursive |
3016 | 2961 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
3017 | -rm -f document-portal/$(DEPDIR)/test_doc_portal-document-portal-dbus.Po | |
3018 | -rm -f document-portal/$(DEPDIR)/testdb-permission-db.Po | |
3019 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-document-portal-dbus.Po | |
3020 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-document-portal-fuse.Po | |
3021 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-document-portal.Po | |
3022 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-document-store.Po | |
3023 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-permission-db.Po | |
3024 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-permission-store-dbus.Po | |
3025 | -rm -f document-portal/$(DEPDIR)/xdg_permission_store-permission-db.Po | |
3026 | -rm -f document-portal/$(DEPDIR)/xdg_permission_store-permission-store-dbus.Po | |
3027 | -rm -f document-portal/$(DEPDIR)/xdg_permission_store-permission-store.Po | |
3028 | -rm -f document-portal/$(DEPDIR)/xdg_permission_store-xdg-permission-store.Po | |
3029 | -rm -f document-portal/gvdb/$(DEPDIR)/testdb-gvdb-builder.Po | |
3030 | -rm -f document-portal/gvdb/$(DEPDIR)/testdb-gvdb-reader.Po | |
3031 | -rm -f document-portal/gvdb/$(DEPDIR)/xdg_document_portal-gvdb-builder.Po | |
3032 | -rm -f document-portal/gvdb/$(DEPDIR)/xdg_document_portal-gvdb-reader.Po | |
3033 | -rm -f document-portal/gvdb/$(DEPDIR)/xdg_permission_store-gvdb-builder.Po | |
3034 | -rm -f document-portal/gvdb/$(DEPDIR)/xdg_permission_store-gvdb-reader.Po | |
3035 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-account.Po | |
3036 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-call.Po | |
3037 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-device.Po | |
3038 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-documents.Po | |
3039 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-email.Po | |
3040 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-file-chooser.Po | |
3041 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-inhibit.Po | |
3042 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-network-monitor.Po | |
3043 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-notification.Po | |
3044 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-open-uri.Po | |
3045 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-permissions.Po | |
3046 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-print.Po | |
3047 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-proxy-resolver.Po | |
3048 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-remote-desktop.Po | |
3049 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-request.Po | |
3050 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-screen-cast.Po | |
3051 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-screenshot.Po | |
3052 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-session.Po | |
3053 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-xdg-desktop-portal.Po | |
3054 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-xdg-desktop-resources.Po | |
3055 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-xdp-dbus.Po | |
3056 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-xdp-impl-dbus.Po | |
3057 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-xdp-utils.Po | |
3058 | -rm -f src/$(DEPDIR)/xdg_document_portal-xdp-utils.Po | |
3059 | -rm -f src/$(DEPDIR)/xdg_permission_store-xdp-utils.Po | |
3060 | -rm -f tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Po | |
3061 | -rm -f tests/$(DEPDIR)/testdb-testdb.Po | |
2962 | -rm -rf document-portal/$(DEPDIR) document-portal/gvdb/$(DEPDIR) src/$(DEPDIR) tests/$(DEPDIR) | |
3062 | 2963 | -rm -f Makefile |
3063 | 2964 | distclean-am: clean-am distclean-compile distclean-generic \ |
3064 | 2965 | distclean-hdr distclean-libtool distclean-tags |
3115 | 3016 | maintainer-clean: maintainer-clean-recursive |
3116 | 3017 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
3117 | 3018 | -rm -rf $(top_srcdir)/autom4te.cache |
3118 | -rm -f document-portal/$(DEPDIR)/test_doc_portal-document-portal-dbus.Po | |
3119 | -rm -f document-portal/$(DEPDIR)/testdb-permission-db.Po | |
3120 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-document-portal-dbus.Po | |
3121 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-document-portal-fuse.Po | |
3122 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-document-portal.Po | |
3123 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-document-store.Po | |
3124 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-permission-db.Po | |
3125 | -rm -f document-portal/$(DEPDIR)/xdg_document_portal-permission-store-dbus.Po | |
3126 | -rm -f document-portal/$(DEPDIR)/xdg_permission_store-permission-db.Po | |
3127 | -rm -f document-portal/$(DEPDIR)/xdg_permission_store-permission-store-dbus.Po | |
3128 | -rm -f document-portal/$(DEPDIR)/xdg_permission_store-permission-store.Po | |
3129 | -rm -f document-portal/$(DEPDIR)/xdg_permission_store-xdg-permission-store.Po | |
3130 | -rm -f document-portal/gvdb/$(DEPDIR)/testdb-gvdb-builder.Po | |
3131 | -rm -f document-portal/gvdb/$(DEPDIR)/testdb-gvdb-reader.Po | |
3132 | -rm -f document-portal/gvdb/$(DEPDIR)/xdg_document_portal-gvdb-builder.Po | |
3133 | -rm -f document-portal/gvdb/$(DEPDIR)/xdg_document_portal-gvdb-reader.Po | |
3134 | -rm -f document-portal/gvdb/$(DEPDIR)/xdg_permission_store-gvdb-builder.Po | |
3135 | -rm -f document-portal/gvdb/$(DEPDIR)/xdg_permission_store-gvdb-reader.Po | |
3136 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-account.Po | |
3137 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-call.Po | |
3138 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-device.Po | |
3139 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-documents.Po | |
3140 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-email.Po | |
3141 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-file-chooser.Po | |
3142 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-inhibit.Po | |
3143 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-network-monitor.Po | |
3144 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-notification.Po | |
3145 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-open-uri.Po | |
3146 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-permissions.Po | |
3147 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-print.Po | |
3148 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-proxy-resolver.Po | |
3149 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-remote-desktop.Po | |
3150 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-request.Po | |
3151 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-screen-cast.Po | |
3152 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-screenshot.Po | |
3153 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-session.Po | |
3154 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-xdg-desktop-portal.Po | |
3155 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-xdg-desktop-resources.Po | |
3156 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-xdp-dbus.Po | |
3157 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-xdp-impl-dbus.Po | |
3158 | -rm -f src/$(DEPDIR)/xdg_desktop_portal-xdp-utils.Po | |
3159 | -rm -f src/$(DEPDIR)/xdg_document_portal-xdp-utils.Po | |
3160 | -rm -f src/$(DEPDIR)/xdg_permission_store-xdp-utils.Po | |
3161 | -rm -f tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Po | |
3162 | -rm -f tests/$(DEPDIR)/testdb-testdb.Po | |
3019 | -rm -rf document-portal/$(DEPDIR) document-portal/gvdb/$(DEPDIR) src/$(DEPDIR) tests/$(DEPDIR) | |
3163 | 3020 | -rm -f Makefile |
3164 | 3021 | maintainer-clean-am: distclean-am maintainer-clean-generic |
3165 | 3022 | |
3190 | 3047 | install-data-am install-strip |
3191 | 3048 | |
3192 | 3049 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ |
3193 | am--depfiles am--refresh check check-TESTS check-am \ | |
3194 | check-local clean clean-binPROGRAMS clean-checkLTLIBRARIES \ | |
3195 | clean-checkPROGRAMS clean-cscope clean-generic \ | |
3196 | clean-installed_testLTLIBRARIES clean-installed_testPROGRAMS \ | |
3197 | clean-libLTLIBRARIES clean-libexecPROGRAMS clean-libtool \ | |
3198 | clean-noinstLTLIBRARIES clean-noinstPROGRAMS cscope \ | |
3199 | cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ | |
3200 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ | |
3201 | distcheck distclean distclean-compile distclean-generic \ | |
3202 | distclean-hdr distclean-libtool distclean-tags distcleancheck \ | |
3203 | distdir distuninstallcheck dvi dvi-am html html-am info \ | |
3204 | info-am install install-am install-binPROGRAMS install-data \ | |
3205 | install-data-am install-data-hook install-dbus_serviceDATA \ | |
3050 | am--refresh check check-TESTS check-am check-local clean \ | |
3051 | clean-binPROGRAMS clean-checkLTLIBRARIES clean-checkPROGRAMS \ | |
3052 | clean-cscope clean-generic clean-installed_testLTLIBRARIES \ | |
3053 | clean-installed_testPROGRAMS clean-libLTLIBRARIES \ | |
3054 | clean-libexecPROGRAMS clean-libtool clean-noinstLTLIBRARIES \ | |
3055 | clean-noinstPROGRAMS cscope cscopelist-am ctags ctags-am dist \ | |
3056 | dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ | |
3057 | dist-xz dist-zip distcheck distclean distclean-compile \ | |
3058 | distclean-generic distclean-hdr distclean-libtool \ | |
3059 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ | |
3060 | dvi-am html html-am info info-am install install-am \ | |
3061 | install-binPROGRAMS install-data install-data-am \ | |
3062 | install-data-hook install-dbus_serviceDATA \ | |
3206 | 3063 | install-dist_installed_test_dbsDATA \ |
3207 | 3064 | install-dist_introspectionDATA install-dvi install-dvi-am \ |
3208 | 3065 | install-exec install-exec-am install-html install-html-am \ |
0 | xdg-desktop-portal 1.0 | |
1 | ====================== | |
2 | ||
3 | * screenshot: Add a color picker api | |
4 | * screencast: Bump the pipewire dependency to 0.2.1 | |
5 | * Improve --help output | |
6 | * Small documentation improvements | |
7 | ||
0 | 8 | xdg-desktop-portal 0.99 |
1 | 9 | ======================= |
2 | 10 |
30 | 30 | One such backend is provided by [xdg-desktop-portal-gtk](http://github.com/flatpak/xdg-desktop-portal-gtk). |
31 | 31 | Another one is in development here: [xdg-desktop-portal-kde](https://github.com/KDE/xdg-desktop-portal-kde). |
32 | 32 | |
33 | ||
33 | 34 | ## Design considerations |
34 | 35 | |
35 | 36 | There are several reasons for the frontend/backend separation of the portal |
36 | 37 | code: |
37 | - We want to have _native_ portal dialogs that match the session desktop (i.e. GTK+ dialogs | |
38 | for GNOME, Qt dialogs for KDE) | |
39 | - One of the limitations of the D-Bus proxying in flatpak is that allowing a sandboxed app | |
40 | to talk to a name implicitly also allows it to talk to any other name owned by the same | |
41 | unique name. Therefore, sandbox-facing D-Bus apis should generally be hosted on a | |
42 | dedicated bus connection. For portals, the frontend takes care of this for us. | |
43 | - The frontend can handle all the interaction with _portal infrastructure_, such as the | |
44 | permission store and the document store, freeing the backends to focus on just providing | |
45 | a user interface. | |
46 | - The frontend can also handle argument validation, and be strict about only letting valid | |
47 | requests through to the backend. | |
38 | - We want to have _native_ portal dialogs that match the session desktop (i.e. | |
39 | GTK+ dialogs for GNOME, Qt dialogs for KDE) | |
40 | - One of the limitations of the D-Bus proxying in flatpak is that allowing a | |
41 | sandboxed app to talk to a name implicitly also allows it to talk to any other | |
42 | name owned by the same unique name. Therefore, sandbox-facing D-Bus apis | |
43 | should generally be hosted on a dedicated bus connection. For portals, the | |
44 | frontend takes care of this for us. | |
45 | - The frontend can handle all the interaction with _portal infrastructure_, such | |
46 | as the permission store and the document store, freeing the backends to focus | |
47 | on just providing a user interface. | |
48 | - The frontend can also handle argument validation, and be strict about only | |
49 | letting valid requests through to the backend. | |
48 | 50 | |
49 | The portal apis are all following the pattern of an initial method call, whose response returns an | |
50 | object handle for an _org.freedesktop.portal.Request_ object that represents the portal interaction. | |
51 | The end of the interaction is done via a _Response_ signal that gets emitted on that object. This | |
52 | pattern was chosen over a simple method call with return, since portal apis are expected to | |
53 | show dialogs and interact with the user, which may well take longer than the maximum method | |
54 | call timeout of D-Bus. Another advantage is that the caller can cancel an ongoing interaction | |
55 | by calling the _Cancel_ method on the request object. | |
51 | The portal apis are all following the pattern of an initial method call, whose | |
52 | response returns an object handle for an _org.freedesktop.portal.Request_ object | |
53 | that represents the portal interaction. The end of the interaction is done via a | |
54 | _Response_ signal that gets emitted on that object. This pattern was chosen over | |
55 | a simple method call with return, since portal apis are expected to show dialogs | |
56 | and interact with the user, which may well take longer than the maximum method | |
57 | call timeout of D-Bus. Another advantage is that the caller can cancel an | |
58 | ongoing interaction by calling the _Cancel_ method on the request object. | |
56 | 59 | |
57 | One consideration for deciding the shape of portal APIs is that we want them to 'hide' behind existing | |
58 | library APIs where possible, to make it as easy as possible to have apps use them _transparently_. For | |
59 | example, the OpenFile portal is working well as a backend for the GtkFileChooserNative API. | |
60 | One consideration for deciding the shape of portal APIs is that we want them to | |
61 | 'hide' behind existing library APIs where possible, to make it as easy as | |
62 | possible to have apps use them _transparently_. For example, the OpenFile portal | |
63 | is working well as a backend for the GtkFileChooserNative API. | |
60 | 64 | |
61 | When it comes to files, we need to be careful to not let portal apis subvert the limited filesystem view that | |
62 | apps have in their sandbox. Therefore, files should only be passed into portal APIs in one of two forms: | |
63 | - As a document ID referring to a file that has been exported in the document portal | |
64 | - As an open fd. The portal can work its way back to a file path from the fd, and passing an fd proves that | |
65 | the app inside the sandbox has access to the file to open it. | |
65 | When it comes to files, we need to be careful to not let portal apis subvert the | |
66 | limited filesystem view that apps have in their sandbox. Therefore, files should | |
67 | only be passed into portal APIs in one of two forms: | |
68 | - As a document ID referring to a file that has been exported in the document | |
69 | portal | |
70 | - As an open fd. The portal can work its way back to a file path from the fd, | |
71 | and passing an fd proves that the app inside the sandbox has access to the | |
72 | file to open it. | |
66 | 73 | |
67 | When it comes to processes, passing pids around is not useful in a sandboxed world where apps are likely | |
68 | in their own pid namespace. And passing pids from inside the sandbox is problematic, since the app can just | |
69 | lie. | |
74 | When it comes to processes, passing pids around is not useful in a sandboxed | |
75 | world where apps are likely in their own pid namespace. And passing pids from | |
76 | inside the sandbox is problematic, since the app can just lie. |
0 | # generated automatically by aclocal 1.16.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
0 | # generated automatically by aclocal 1.15.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
3 | 3 | |
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
19 | 19 | If you have problems, you may need to regenerate the build system entirely. |
20 | 20 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
21 | 21 | |
22 | # Copyright (C) 2002-2018 Free Software Foundation, Inc. | |
22 | # Copyright (C) 2002-2017 Free Software Foundation, Inc. | |
23 | 23 | # |
24 | 24 | # This file is free software; the Free Software Foundation |
25 | 25 | # gives unlimited permission to copy and/or distribute it, |
31 | 31 | # generated from the m4 files accompanying Automake X.Y. |
32 | 32 | # (This private macro should not be called outside this file.) |
33 | 33 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
34 | [am__api_version='1.16' | |
34 | [am__api_version='1.15' | |
35 | 35 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
36 | 36 | dnl require some minimum version. Point them to the right macro. |
37 | m4_if([$1], [1.16.1], [], | |
37 | m4_if([$1], [1.15.1], [], | |
38 | 38 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
39 | 39 | ]) |
40 | 40 | |
50 | 50 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
51 | 51 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
52 | 52 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
53 | [AM_AUTOMAKE_VERSION([1.16.1])dnl | |
53 | [AM_AUTOMAKE_VERSION([1.15.1])dnl | |
54 | 54 | m4_ifndef([AC_AUTOCONF_VERSION], |
55 | 55 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
56 | 56 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
57 | 57 | |
58 | 58 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
59 | 59 | |
60 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
60 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
61 | 61 | # |
62 | 62 | # This file is free software; the Free Software Foundation |
63 | 63 | # gives unlimited permission to copy and/or distribute it, |
109 | 109 | |
110 | 110 | # AM_CONDITIONAL -*- Autoconf -*- |
111 | 111 | |
112 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
112 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. | |
113 | 113 | # |
114 | 114 | # This file is free software; the Free Software Foundation |
115 | 115 | # gives unlimited permission to copy and/or distribute it, |
140 | 140 | Usually this means the macro was only invoked conditionally.]]) |
141 | 141 | fi])]) |
142 | 142 | |
143 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
143 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
144 | 144 | # |
145 | 145 | # This file is free software; the Free Software Foundation |
146 | 146 | # gives unlimited permission to copy and/or distribute it, |
331 | 331 | |
332 | 332 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
333 | 333 | |
334 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
335 | # | |
336 | # This file is free software; the Free Software Foundation | |
337 | # gives unlimited permission to copy and/or distribute it, | |
338 | # with or without modifications, as long as this notice is preserved. | |
334 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
335 | # | |
336 | # This file is free software; the Free Software Foundation | |
337 | # gives unlimited permission to copy and/or distribute it, | |
338 | # with or without modifications, as long as this notice is preserved. | |
339 | ||
339 | 340 | |
340 | 341 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
341 | 342 | # ------------------------------ |
344 | 345 | # Older Autoconf quotes --file arguments for eval, but not when files |
345 | 346 | # are listed without --file. Let's play safe and only enable the eval |
346 | 347 | # if we detect the quoting. |
347 | # TODO: see whether this extra hack can be removed once we start | |
348 | # requiring Autoconf 2.70 or later. | |
349 | AS_CASE([$CONFIG_FILES], | |
350 | [*\'*], [eval set x "$CONFIG_FILES"], | |
351 | [*], [set x $CONFIG_FILES]) | |
348 | case $CONFIG_FILES in | |
349 | *\'*) eval set x "$CONFIG_FILES" ;; | |
350 | *) set x $CONFIG_FILES ;; | |
351 | esac | |
352 | 352 | shift |
353 | # Used to flag and report bootstrapping failures. | |
354 | am_rc=0 | |
355 | for am_mf | |
353 | for mf | |
356 | 354 | do |
357 | 355 | # Strip MF so we end up with the name of the file. |
358 | am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` | |
359 | # Check whether this is an Automake generated Makefile which includes | |
360 | # dependency-tracking related rules and includes. | |
361 | # Grep'ing the whole file directly is not great: AIX grep has a line | |
356 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
357 | # Check whether this is an Automake generated Makefile or not. | |
358 | # We used to match only the files named 'Makefile.in', but | |
359 | # some people rename them; so instead we look at the file content. | |
360 | # Grep'ing the first line is not enough: some people post-process | |
361 | # each Makefile.in and add a new line on top of each file to say so. | |
362 | # Grep'ing the whole file is not good either: AIX grep has a line | |
362 | 363 | # limit of 2048, but all sed's we know have understand at least 4000. |
363 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ | |
364 | || continue | |
365 | am_dirpart=`AS_DIRNAME(["$am_mf"])` | |
366 | am_filepart=`AS_BASENAME(["$am_mf"])` | |
367 | AM_RUN_LOG([cd "$am_dirpart" \ | |
368 | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
369 | | $MAKE -f - am--depfiles]) || am_rc=$? | |
364 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
365 | dirpart=`AS_DIRNAME("$mf")` | |
366 | else | |
367 | continue | |
368 | fi | |
369 | # Extract the definition of DEPDIR, am__include, and am__quote | |
370 | # from the Makefile without running 'make'. | |
371 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
372 | test -z "$DEPDIR" && continue | |
373 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
374 | test -z "$am__include" && continue | |
375 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
376 | # Find all dependency output files, they are included files with | |
377 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
378 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
379 | # expansion. | |
380 | for file in `sed -n " | |
381 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
382 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
383 | # Make sure the directory exists. | |
384 | test -f "$dirpart/$file" && continue | |
385 | fdir=`AS_DIRNAME(["$file"])` | |
386 | AS_MKDIR_P([$dirpart/$fdir]) | |
387 | # echo "creating $dirpart/$file" | |
388 | echo '# dummy' > "$dirpart/$file" | |
389 | done | |
370 | 390 | done |
371 | if test $am_rc -ne 0; then | |
372 | AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments | |
373 | for automatic dependency tracking. Try re-running configure with the | |
374 | '--disable-dependency-tracking' option to at least be able to build | |
375 | the package (albeit without support for automatic dependency tracking).]) | |
376 | fi | |
377 | AS_UNSET([am_dirpart]) | |
378 | AS_UNSET([am_filepart]) | |
379 | AS_UNSET([am_mf]) | |
380 | AS_UNSET([am_rc]) | |
381 | rm -f conftest-deps.mk | |
382 | 391 | } |
383 | 392 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
384 | 393 | |
387 | 396 | # ----------------------------- |
388 | 397 | # This macro should only be invoked once -- use via AC_REQUIRE. |
389 | 398 | # |
390 | # This code is only required when automatic dependency tracking is enabled. | |
391 | # This creates each '.Po' and '.Plo' makefile fragment that we'll need in | |
392 | # order to bootstrap the dependency handling code. | |
399 | # This code is only required when automatic dependency tracking | |
400 | # is enabled. FIXME. This creates each '.P' file that we will | |
401 | # need in order to bootstrap the dependency handling code. | |
393 | 402 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
394 | 403 | [AC_CONFIG_COMMANDS([depfiles], |
395 | 404 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
396 | [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) | |
405 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | |
406 | ]) | |
397 | 407 | |
398 | 408 | # Do all the work for Automake. -*- Autoconf -*- |
399 | 409 | |
400 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
410 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
401 | 411 | # |
402 | 412 | # This file is free software; the Free Software Foundation |
403 | 413 | # gives unlimited permission to copy and/or distribute it, |
484 | 494 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
485 | 495 | # For better backward compatibility. To be removed once Automake 1.9.x |
486 | 496 | # dies out for good. For more background, see: |
487 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
488 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
497 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
498 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
489 | 499 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
490 | 500 | # We need awk for the "check" target (and possibly the TAP driver). The |
491 | 501 | # system "awk" is bad on some platforms. |
552 | 562 | Aborting the configuration process, to ensure you take notice of the issue. |
553 | 563 | |
554 | 564 | You can download and install GNU coreutils to get an 'rm' implementation |
555 | that behaves properly: <https://www.gnu.org/software/coreutils/>. | |
565 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
556 | 566 | |
557 | 567 | If you want to complete the configuration process using your problematic |
558 | 568 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
594 | 604 | done |
595 | 605 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
596 | 606 | |
597 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
607 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
598 | 608 | # |
599 | 609 | # This file is free software; the Free Software Foundation |
600 | 610 | # gives unlimited permission to copy and/or distribute it, |
615 | 625 | fi |
616 | 626 | AC_SUBST([install_sh])]) |
617 | 627 | |
618 | # Copyright (C) 2003-2018 Free Software Foundation, Inc. | |
628 | # Copyright (C) 2003-2017 Free Software Foundation, Inc. | |
619 | 629 | # |
620 | 630 | # This file is free software; the Free Software Foundation |
621 | 631 | # gives unlimited permission to copy and/or distribute it, |
637 | 647 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
638 | 648 | # From Jim Meyering |
639 | 649 | |
640 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
650 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
641 | 651 | # |
642 | 652 | # This file is free software; the Free Software Foundation |
643 | 653 | # gives unlimited permission to copy and/or distribute it, |
672 | 682 | |
673 | 683 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
674 | 684 | |
675 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
685 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
676 | 686 | # |
677 | 687 | # This file is free software; the Free Software Foundation |
678 | 688 | # gives unlimited permission to copy and/or distribute it, |
680 | 690 | |
681 | 691 | # AM_MAKE_INCLUDE() |
682 | 692 | # ----------------- |
683 | # Check whether make has an 'include' directive that can support all | |
684 | # the idioms we need for our automatic dependency tracking code. | |
693 | # Check to see how make treats includes. | |
685 | 694 | AC_DEFUN([AM_MAKE_INCLUDE], |
686 | [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) | |
687 | cat > confinc.mk << 'END' | |
695 | [am_make=${MAKE-make} | |
696 | cat > confinc << 'END' | |
688 | 697 | am__doit: |
689 | @echo this is the am__doit target >confinc.out | |
698 | @echo this is the am__doit target | |
690 | 699 | .PHONY: am__doit |
691 | 700 | END |
701 | # If we don't find an include directive, just comment out the code. | |
702 | AC_MSG_CHECKING([for style of include used by $am_make]) | |
692 | 703 | am__include="#" |
693 | 704 | am__quote= |
694 | # BSD make does it like this. | |
695 | echo '.include "confinc.mk" # ignored' > confmf.BSD | |
696 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. | |
697 | echo 'include confinc.mk # ignored' > confmf.GNU | |
698 | _am_result=no | |
699 | for s in GNU BSD; do | |
700 | AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) | |
701 | AS_CASE([$?:`cat confinc.out 2>/dev/null`], | |
702 | ['0:this is the am__doit target'], | |
703 | [AS_CASE([$s], | |
704 | [BSD], [am__include='.include' am__quote='"'], | |
705 | [am__include='include' am__quote=''])]) | |
706 | if test "$am__include" != "#"; then | |
707 | _am_result="yes ($s style)" | |
708 | break | |
709 | fi | |
710 | done | |
711 | rm -f confinc.* confmf.* | |
712 | AC_MSG_RESULT([${_am_result}]) | |
713 | AC_SUBST([am__include])]) | |
714 | AC_SUBST([am__quote])]) | |
705 | _am_result=none | |
706 | # First try GNU make style include. | |
707 | echo "include confinc" > confmf | |
708 | # Ignore all kinds of additional output from 'make'. | |
709 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
710 | *the\ am__doit\ target*) | |
711 | am__include=include | |
712 | am__quote= | |
713 | _am_result=GNU | |
714 | ;; | |
715 | esac | |
716 | # Now try BSD make style include. | |
717 | if test "$am__include" = "#"; then | |
718 | echo '.include "confinc"' > confmf | |
719 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
720 | *the\ am__doit\ target*) | |
721 | am__include=.include | |
722 | am__quote="\"" | |
723 | _am_result=BSD | |
724 | ;; | |
725 | esac | |
726 | fi | |
727 | AC_SUBST([am__include]) | |
728 | AC_SUBST([am__quote]) | |
729 | AC_MSG_RESULT([$_am_result]) | |
730 | rm -f confinc confmf | |
731 | ]) | |
715 | 732 | |
716 | 733 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
717 | 734 | |
718 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
735 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. | |
719 | 736 | # |
720 | 737 | # This file is free software; the Free Software Foundation |
721 | 738 | # gives unlimited permission to copy and/or distribute it, |
754 | 771 | |
755 | 772 | # Helper functions for option handling. -*- Autoconf -*- |
756 | 773 | |
757 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
774 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
758 | 775 | # |
759 | 776 | # This file is free software; the Free Software Foundation |
760 | 777 | # gives unlimited permission to copy and/or distribute it, |
783 | 800 | AC_DEFUN([_AM_IF_OPTION], |
784 | 801 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
785 | 802 | |
786 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
803 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
787 | 804 | # |
788 | 805 | # This file is free software; the Free Software Foundation |
789 | 806 | # gives unlimited permission to copy and/or distribute it, |
830 | 847 | # For backward compatibility. |
831 | 848 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
832 | 849 | |
833 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
850 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
834 | 851 | # |
835 | 852 | # This file is free software; the Free Software Foundation |
836 | 853 | # gives unlimited permission to copy and/or distribute it, |
849 | 866 | |
850 | 867 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
851 | 868 | |
852 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
869 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
853 | 870 | # |
854 | 871 | # This file is free software; the Free Software Foundation |
855 | 872 | # gives unlimited permission to copy and/or distribute it, |
930 | 947 | rm -f conftest.file |
931 | 948 | ]) |
932 | 949 | |
933 | # Copyright (C) 2009-2018 Free Software Foundation, Inc. | |
950 | # Copyright (C) 2009-2017 Free Software Foundation, Inc. | |
934 | 951 | # |
935 | 952 | # This file is free software; the Free Software Foundation |
936 | 953 | # gives unlimited permission to copy and/or distribute it, |
990 | 1007 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
991 | 1008 | ]) |
992 | 1009 | |
993 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1010 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
994 | 1011 | # |
995 | 1012 | # This file is free software; the Free Software Foundation |
996 | 1013 | # gives unlimited permission to copy and/or distribute it, |
1018 | 1035 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
1019 | 1036 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
1020 | 1037 | |
1021 | # Copyright (C) 2006-2018 Free Software Foundation, Inc. | |
1038 | # Copyright (C) 2006-2017 Free Software Foundation, Inc. | |
1022 | 1039 | # |
1023 | 1040 | # This file is free software; the Free Software Foundation |
1024 | 1041 | # gives unlimited permission to copy and/or distribute it, |
1037 | 1054 | |
1038 | 1055 | # Check how to create a tarball. -*- Autoconf -*- |
1039 | 1056 | |
1040 | # Copyright (C) 2004-2018 Free Software Foundation, Inc. | |
1057 | # Copyright (C) 2004-2017 Free Software Foundation, Inc. | |
1041 | 1058 | # |
1042 | 1059 | # This file is free software; the Free Software Foundation |
1043 | 1060 | # gives unlimited permission to copy and/or distribute it, |
0 | #! /bin/sh | |
0 | #!/bin/sh | |
1 | 1 | # Wrapper for compilers which do not understand '-c -o'. |
2 | 2 | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
3 | scriptversion=2016-01-11.22; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
6 | 6 | # Written by Tom Tromey <tromey@cygnus.com>. |
7 | 7 | # |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | # |
18 | 18 | # You should have received a copy of the GNU General Public License |
19 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
339 | 339 | # Local Variables: |
340 | 340 | # mode: shell-script |
341 | 341 | # sh-indentation: 2 |
342 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
342 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
343 | 343 | # time-stamp-start: "scriptversion=" |
344 | 344 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
345 | 345 | # time-stamp-time-zone: "UTC0" |
0 | #! /bin/sh | |
0 | #!/bin/sh | |
1 | 1 | # Attempt to guess a canonical system name. |
2 | # Copyright 1992-2018 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2018-03-08' | |
2 | # Copyright 1992-2017 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2017-08-08' | |
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 <https://www.gnu.org/licenses/>. | |
17 | # along with this program; if not, see <http://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 | # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
29 | # http://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 | Options: | |
41 | Operation modes: | |
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-2018 Free Software Foundation, Inc. | |
52 | Copyright 1992-2017 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'`" | |
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 | |
151 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` | |
159 | 152 | ;; |
160 | 153 | esac |
161 | 154 | |
162 | 155 | # Note: order is significant - the case branches are not exclusive. |
163 | 156 | |
164 | case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in | |
157 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | |
165 | 158 | *:NetBSD:*:*) |
166 | 159 | # NetBSD (nbsd) targets should (where applicable) match one or |
167 | 160 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, |
175 | 168 | # portion of the name. We always set it to "unknown". |
176 | 169 | sysctl="sysctl -n hw.machine_arch" |
177 | 170 | UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ |
178 | "/sbin/$sysctl" 2>/dev/null || \ | |
179 | "/usr/sbin/$sysctl" 2>/dev/null || \ | |
171 | /sbin/$sysctl 2>/dev/null || \ | |
172 | /usr/sbin/$sysctl 2>/dev/null || \ | |
180 | 173 | echo unknown)` |
181 | case "$UNAME_MACHINE_ARCH" in | |
174 | case "${UNAME_MACHINE_ARCH}" in | |
182 | 175 | armeb) machine=armeb-unknown ;; |
183 | 176 | arm*) machine=arm-unknown ;; |
184 | 177 | sh3el) machine=shl-unknown ;; |
185 | 178 | sh3eb) machine=sh-unknown ;; |
186 | 179 | sh5el) machine=sh5le-unknown ;; |
187 | 180 | earmv*) |
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 | |
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 | |
191 | 184 | ;; |
192 | *) machine="$UNAME_MACHINE_ARCH"-unknown ;; | |
185 | *) machine=${UNAME_MACHINE_ARCH}-unknown ;; | |
193 | 186 | esac |
194 | 187 | # The Operating System including object format, if it has switched |
195 | 188 | # to ELF recently (or will in the future) and ABI. |
196 | case "$UNAME_MACHINE_ARCH" in | |
189 | case "${UNAME_MACHINE_ARCH}" in | |
197 | 190 | earm*) |
198 | 191 | os=netbsdelf |
199 | 192 | ;; |
200 | 193 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
201 | eval "$set_cc_for_build" | |
194 | eval $set_cc_for_build | |
202 | 195 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
203 | 196 | | grep -q __ELF__ |
204 | 197 | then |
214 | 207 | ;; |
215 | 208 | esac |
216 | 209 | # Determine ABI tags. |
217 | case "$UNAME_MACHINE_ARCH" in | |
210 | case "${UNAME_MACHINE_ARCH}" in | |
218 | 211 | earm*) |
219 | 212 | expr='s/^earmv[0-9]/-eabi/;s/eb$//' |
220 | abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` | |
213 | abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` | |
221 | 214 | ;; |
222 | 215 | esac |
223 | 216 | # The OS release |
225 | 218 | # thus, need a distinct triplet. However, they do not need |
226 | 219 | # kernel version information, so it can be replaced with a |
227 | 220 | # suitable tag, in the style of linux-gnu. |
228 | case "$UNAME_VERSION" in | |
221 | case "${UNAME_VERSION}" in | |
229 | 222 | Debian*) |
230 | 223 | release='-gnu' |
231 | 224 | ;; |
232 | 225 | *) |
233 | release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` | |
226 | release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2` | |
234 | 227 | ;; |
235 | 228 | esac |
236 | 229 | # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: |
237 | 230 | # contains redundant information, the shorter form: |
238 | 231 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
239 | echo "$machine-${os}${release}${abi}" | |
232 | echo "${machine}-${os}${release}${abi}" | |
240 | 233 | exit ;; |
241 | 234 | *:Bitrig:*:*) |
242 | 235 | UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` |
243 | echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" | |
236 | echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} | |
244 | 237 | exit ;; |
245 | 238 | *:OpenBSD:*:*) |
246 | 239 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
247 | echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" | |
240 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | |
248 | 241 | exit ;; |
249 | 242 | *:LibertyBSD:*:*) |
250 | 243 | UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` |
251 | echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" | |
252 | exit ;; | |
253 | *:MidnightBSD:*:*) | |
254 | echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" | |
244 | echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE} | |
255 | 245 | exit ;; |
256 | 246 | *:ekkoBSD:*:*) |
257 | echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" | |
247 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | |
258 | 248 | exit ;; |
259 | 249 | *:SolidBSD:*:*) |
260 | echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" | |
250 | echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | |
261 | 251 | exit ;; |
262 | 252 | macppc:MirBSD:*:*) |
263 | echo powerpc-unknown-mirbsd"$UNAME_RELEASE" | |
253 | echo powerpc-unknown-mirbsd${UNAME_RELEASE} | |
264 | 254 | exit ;; |
265 | 255 | *:MirBSD:*:*) |
266 | echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" | |
256 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} | |
267 | 257 | exit ;; |
268 | 258 | *:Sortix:*:*) |
269 | echo "$UNAME_MACHINE"-unknown-sortix | |
259 | echo ${UNAME_MACHINE}-unknown-sortix | |
270 | 260 | exit ;; |
271 | 261 | *:Redox:*:*) |
272 | echo "$UNAME_MACHINE"-unknown-redox | |
273 | exit ;; | |
274 | mips:OSF1:*.*) | |
275 | echo mips-dec-osf1 | |
276 | exit ;; | |
262 | echo ${UNAME_MACHINE}-unknown-redox | |
263 | exit ;; | |
277 | 264 | alpha:OSF1:*:*) |
278 | 265 | case $UNAME_RELEASE in |
279 | 266 | *4.0) |
325 | 312 | # A Tn.n version is a released field test version. |
326 | 313 | # A Xn.n version is an unreleased experimental baselevel. |
327 | 314 | # 1.2 uses "1.2" for uname -r. |
328 | echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" | |
315 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` | |
329 | 316 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. |
330 | 317 | exitcode=$? |
331 | 318 | trap '' 0 |
332 | 319 | exit $exitcode ;; |
320 | Alpha\ *:Windows_NT*:*) | |
321 | # How do we know it's Interix rather than the generic POSIX subsystem? | |
322 | # Should we change UNAME_MACHINE based on the output of uname instead | |
323 | # of the specific Alpha model? | |
324 | echo alpha-pc-interix | |
325 | exit ;; | |
326 | 21064:Windows_NT:50:3) | |
327 | echo alpha-dec-winnt3.5 | |
328 | exit ;; | |
333 | 329 | Amiga*:UNIX_System_V:4.0:*) |
334 | 330 | echo m68k-unknown-sysv4 |
335 | 331 | exit ;; |
336 | 332 | *:[Aa]miga[Oo][Ss]:*:*) |
337 | echo "$UNAME_MACHINE"-unknown-amigaos | |
333 | echo ${UNAME_MACHINE}-unknown-amigaos | |
338 | 334 | exit ;; |
339 | 335 | *:[Mm]orph[Oo][Ss]:*:*) |
340 | echo "$UNAME_MACHINE"-unknown-morphos | |
336 | echo ${UNAME_MACHINE}-unknown-morphos | |
341 | 337 | exit ;; |
342 | 338 | *:OS/390:*:*) |
343 | 339 | echo i370-ibm-openedition |
349 | 345 | echo powerpc-ibm-os400 |
350 | 346 | exit ;; |
351 | 347 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
352 | echo arm-acorn-riscix"$UNAME_RELEASE" | |
348 | echo arm-acorn-riscix${UNAME_RELEASE} | |
353 | 349 | exit ;; |
354 | 350 | arm*:riscos:*:*|arm*:RISCOS:*:*) |
355 | 351 | echo arm-unknown-riscos |
376 | 372 | sparc) echo sparc-icl-nx7; exit ;; |
377 | 373 | esac ;; |
378 | 374 | s390x:SunOS:*:*) |
379 | echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" | |
375 | echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
380 | 376 | exit ;; |
381 | 377 | sun4H:SunOS:5.*:*) |
382 | echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
378 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
383 | 379 | exit ;; |
384 | 380 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
385 | echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" | |
381 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
386 | 382 | exit ;; |
387 | 383 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) |
388 | echo i386-pc-auroraux"$UNAME_RELEASE" | |
384 | echo i386-pc-auroraux${UNAME_RELEASE} | |
389 | 385 | exit ;; |
390 | 386 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
391 | eval "$set_cc_for_build" | |
387 | eval $set_cc_for_build | |
392 | 388 | SUN_ARCH=i386 |
393 | 389 | # If there is a compiler, see if it is configured for 64-bit objects. |
394 | 390 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. |
401 | 397 | SUN_ARCH=x86_64 |
402 | 398 | fi |
403 | 399 | fi |
404 | echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
400 | echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
405 | 401 | exit ;; |
406 | 402 | sun4*:SunOS:6*:*) |
407 | 403 | # According to config.sub, this is the proper way to canonicalize |
408 | 404 | # SunOS6. Hard to guess exactly what SunOS6 will be like, but |
409 | 405 | # it's likely to be more like Solaris than SunOS4. |
410 | echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
406 | echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
411 | 407 | exit ;; |
412 | 408 | sun4*:SunOS:*:*) |
413 | 409 | case "`/usr/bin/arch -k`" in |
416 | 412 | ;; |
417 | 413 | esac |
418 | 414 | # Japanese Language versions have a version number like `4.1.3-JL'. |
419 | echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" | |
415 | echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` | |
420 | 416 | exit ;; |
421 | 417 | sun3*:SunOS:*:*) |
422 | echo m68k-sun-sunos"$UNAME_RELEASE" | |
418 | echo m68k-sun-sunos${UNAME_RELEASE} | |
423 | 419 | exit ;; |
424 | 420 | sun*:*:4.2BSD:*) |
425 | 421 | UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` |
426 | test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 | |
422 | test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3 | |
427 | 423 | case "`/bin/arch`" in |
428 | 424 | sun3) |
429 | echo m68k-sun-sunos"$UNAME_RELEASE" | |
425 | echo m68k-sun-sunos${UNAME_RELEASE} | |
430 | 426 | ;; |
431 | 427 | sun4) |
432 | echo sparc-sun-sunos"$UNAME_RELEASE" | |
428 | echo sparc-sun-sunos${UNAME_RELEASE} | |
433 | 429 | ;; |
434 | 430 | esac |
435 | 431 | exit ;; |
436 | 432 | aushp:SunOS:*:*) |
437 | echo sparc-auspex-sunos"$UNAME_RELEASE" | |
433 | echo sparc-auspex-sunos${UNAME_RELEASE} | |
438 | 434 | exit ;; |
439 | 435 | # The situation for MiNT is a little confusing. The machine name |
440 | 436 | # can be virtually everything (everything which is not |
445 | 441 | # MiNT. But MiNT is downward compatible to TOS, so this should |
446 | 442 | # be no problem. |
447 | 443 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
448 | echo m68k-atari-mint"$UNAME_RELEASE" | |
444 | echo m68k-atari-mint${UNAME_RELEASE} | |
449 | 445 | exit ;; |
450 | 446 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
451 | echo m68k-atari-mint"$UNAME_RELEASE" | |
447 | echo m68k-atari-mint${UNAME_RELEASE} | |
452 | 448 | exit ;; |
453 | 449 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
454 | echo m68k-atari-mint"$UNAME_RELEASE" | |
450 | echo m68k-atari-mint${UNAME_RELEASE} | |
455 | 451 | exit ;; |
456 | 452 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
457 | echo m68k-milan-mint"$UNAME_RELEASE" | |
453 | echo m68k-milan-mint${UNAME_RELEASE} | |
458 | 454 | exit ;; |
459 | 455 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
460 | echo m68k-hades-mint"$UNAME_RELEASE" | |
456 | echo m68k-hades-mint${UNAME_RELEASE} | |
461 | 457 | exit ;; |
462 | 458 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
463 | echo m68k-unknown-mint"$UNAME_RELEASE" | |
459 | echo m68k-unknown-mint${UNAME_RELEASE} | |
464 | 460 | exit ;; |
465 | 461 | m68k:machten:*:*) |
466 | echo m68k-apple-machten"$UNAME_RELEASE" | |
462 | echo m68k-apple-machten${UNAME_RELEASE} | |
467 | 463 | exit ;; |
468 | 464 | powerpc:machten:*:*) |
469 | echo powerpc-apple-machten"$UNAME_RELEASE" | |
465 | echo powerpc-apple-machten${UNAME_RELEASE} | |
470 | 466 | exit ;; |
471 | 467 | RISC*:Mach:*:*) |
472 | 468 | echo mips-dec-mach_bsd4.3 |
473 | 469 | exit ;; |
474 | 470 | RISC*:ULTRIX:*:*) |
475 | echo mips-dec-ultrix"$UNAME_RELEASE" | |
471 | echo mips-dec-ultrix${UNAME_RELEASE} | |
476 | 472 | exit ;; |
477 | 473 | VAX*:ULTRIX*:*:*) |
478 | echo vax-dec-ultrix"$UNAME_RELEASE" | |
474 | echo vax-dec-ultrix${UNAME_RELEASE} | |
479 | 475 | exit ;; |
480 | 476 | 2020:CLIX:*:* | 2430:CLIX:*:*) |
481 | echo clipper-intergraph-clix"$UNAME_RELEASE" | |
477 | echo clipper-intergraph-clix${UNAME_RELEASE} | |
482 | 478 | exit ;; |
483 | 479 | mips:*:*:UMIPS | mips:*:*:RISCos) |
484 | eval "$set_cc_for_build" | |
485 | sed 's/^ //' << EOF > "$dummy.c" | |
480 | eval $set_cc_for_build | |
481 | sed 's/^ //' << EOF >$dummy.c | |
486 | 482 | #ifdef __cplusplus |
487 | 483 | #include <stdio.h> /* for printf() prototype */ |
488 | 484 | int main (int argc, char *argv[]) { |
491 | 487 | #endif |
492 | 488 | #if defined (host_mips) && defined (MIPSEB) |
493 | 489 | #if defined (SYSTYPE_SYSV) |
494 | printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); | |
490 | printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); | |
495 | 491 | #endif |
496 | 492 | #if defined (SYSTYPE_SVR4) |
497 | printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); | |
493 | printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); | |
498 | 494 | #endif |
499 | 495 | #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) |
500 | printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); | |
496 | printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); | |
501 | 497 | #endif |
502 | 498 | #endif |
503 | 499 | exit (-1); |
504 | 500 | } |
505 | 501 | EOF |
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 | $CC_FOR_BUILD -o $dummy $dummy.c && | |
503 | dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && | |
504 | SYSTEM_NAME=`$dummy $dummyarg` && | |
509 | 505 | { echo "$SYSTEM_NAME"; exit; } |
510 | echo mips-mips-riscos"$UNAME_RELEASE" | |
506 | echo mips-mips-riscos${UNAME_RELEASE} | |
511 | 507 | exit ;; |
512 | 508 | Motorola:PowerMAX_OS:*:*) |
513 | 509 | echo powerpc-motorola-powermax |
533 | 529 | AViiON:dgux:*:*) |
534 | 530 | # DG/UX returns AViiON for all architectures |
535 | 531 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
536 | if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] | |
532 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | |
537 | 533 | then |
538 | if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ | |
539 | [ "$TARGET_BINARY_INTERFACE"x = x ] | |
534 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ | |
535 | [ ${TARGET_BINARY_INTERFACE}x = x ] | |
540 | 536 | then |
541 | echo m88k-dg-dgux"$UNAME_RELEASE" | |
537 | echo m88k-dg-dgux${UNAME_RELEASE} | |
542 | 538 | else |
543 | echo m88k-dg-dguxbcs"$UNAME_RELEASE" | |
539 | echo m88k-dg-dguxbcs${UNAME_RELEASE} | |
544 | 540 | fi |
545 | 541 | else |
546 | echo i586-dg-dgux"$UNAME_RELEASE" | |
542 | echo i586-dg-dgux${UNAME_RELEASE} | |
547 | 543 | fi |
548 | 544 | exit ;; |
549 | 545 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
560 | 556 | echo m68k-tektronix-bsd |
561 | 557 | exit ;; |
562 | 558 | *:IRIX*:*:*) |
563 | echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" | |
559 | echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` | |
564 | 560 | exit ;; |
565 | 561 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. |
566 | 562 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
572 | 568 | if [ -x /usr/bin/oslevel ] ; then |
573 | 569 | IBM_REV=`/usr/bin/oslevel` |
574 | 570 | else |
575 | IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" | |
576 | fi | |
577 | echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" | |
571 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | |
572 | fi | |
573 | echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} | |
578 | 574 | exit ;; |
579 | 575 | *:AIX:2:3) |
580 | 576 | if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then |
581 | eval "$set_cc_for_build" | |
582 | sed 's/^ //' << EOF > "$dummy.c" | |
577 | eval $set_cc_for_build | |
578 | sed 's/^ //' << EOF >$dummy.c | |
583 | 579 | #include <sys/systemcfg.h> |
584 | 580 | |
585 | 581 | main() |
590 | 586 | exit(0); |
591 | 587 | } |
592 | 588 | EOF |
593 | if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` | |
589 | if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` | |
594 | 590 | then |
595 | 591 | echo "$SYSTEM_NAME" |
596 | 592 | else |
604 | 600 | exit ;; |
605 | 601 | *:AIX:*:[4567]) |
606 | 602 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
607 | if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then | |
603 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then | |
608 | 604 | IBM_ARCH=rs6000 |
609 | 605 | else |
610 | 606 | IBM_ARCH=powerpc |
613 | 609 | IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | |
614 | 610 | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` |
615 | 611 | else |
616 | IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" | |
617 | fi | |
618 | echo "$IBM_ARCH"-ibm-aix"$IBM_REV" | |
612 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | |
613 | fi | |
614 | echo ${IBM_ARCH}-ibm-aix${IBM_REV} | |
619 | 615 | exit ;; |
620 | 616 | *:AIX:*:*) |
621 | 617 | echo rs6000-ibm-aix |
622 | 618 | exit ;; |
623 | ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) | |
619 | ibmrt:4.4BSD:*|romp-ibm:BSD:*) | |
624 | 620 | echo romp-ibm-bsd4.4 |
625 | 621 | exit ;; |
626 | 622 | ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and |
627 | echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to | |
623 | echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to | |
628 | 624 | exit ;; # report: romp-ibm BSD 4.3 |
629 | 625 | *:BOSX:*:*) |
630 | 626 | echo rs6000-bull-bosx |
639 | 635 | echo m68k-hp-bsd4.4 |
640 | 636 | exit ;; |
641 | 637 | 9000/[34678]??:HP-UX:*:*) |
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 ;; | |
638 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | |
639 | case "${UNAME_MACHINE}" in | |
640 | 9000/31? ) HP_ARCH=m68000 ;; | |
641 | 9000/[34]?? ) HP_ARCH=m68k ;; | |
646 | 642 | 9000/[678][0-9][0-9]) |
647 | 643 | if [ -x /usr/bin/getconf ]; then |
648 | 644 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
649 | 645 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
650 | case "$sc_cpu_version" in | |
646 | case "${sc_cpu_version}" in | |
651 | 647 | 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 |
652 | 648 | 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 |
653 | 649 | 532) # CPU_PA_RISC2_0 |
654 | case "$sc_kernel_bits" in | |
650 | case "${sc_kernel_bits}" in | |
655 | 651 | 32) HP_ARCH=hppa2.0n ;; |
656 | 652 | 64) HP_ARCH=hppa2.0w ;; |
657 | 653 | '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 |
658 | 654 | esac ;; |
659 | 655 | esac |
660 | 656 | fi |
661 | if [ "$HP_ARCH" = "" ]; then | |
662 | eval "$set_cc_for_build" | |
663 | sed 's/^ //' << EOF > "$dummy.c" | |
657 | if [ "${HP_ARCH}" = "" ]; then | |
658 | eval $set_cc_for_build | |
659 | sed 's/^ //' << EOF >$dummy.c | |
664 | 660 | |
665 | 661 | #define _HPUX_SOURCE |
666 | 662 | #include <stdlib.h> |
693 | 689 | exit (0); |
694 | 690 | } |
695 | 691 | EOF |
696 | (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` | |
692 | (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` | |
697 | 693 | test -z "$HP_ARCH" && HP_ARCH=hppa |
698 | 694 | fi ;; |
699 | 695 | esac |
700 | if [ "$HP_ARCH" = hppa2.0w ] | |
696 | if [ ${HP_ARCH} = hppa2.0w ] | |
701 | 697 | then |
702 | eval "$set_cc_for_build" | |
698 | eval $set_cc_for_build | |
703 | 699 | |
704 | 700 | # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |
705 | 701 | # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler |
718 | 714 | HP_ARCH=hppa64 |
719 | 715 | fi |
720 | 716 | fi |
721 | echo "$HP_ARCH"-hp-hpux"$HPUX_REV" | |
717 | echo ${HP_ARCH}-hp-hpux${HPUX_REV} | |
722 | 718 | exit ;; |
723 | 719 | ia64:HP-UX:*:*) |
724 | HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` | |
725 | echo ia64-hp-hpux"$HPUX_REV" | |
720 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | |
721 | echo ia64-hp-hpux${HPUX_REV} | |
726 | 722 | exit ;; |
727 | 723 | 3050*:HI-UX:*:*) |
728 | eval "$set_cc_for_build" | |
729 | sed 's/^ //' << EOF > "$dummy.c" | |
724 | eval $set_cc_for_build | |
725 | sed 's/^ //' << EOF >$dummy.c | |
730 | 726 | #include <unistd.h> |
731 | 727 | int |
732 | 728 | main () |
751 | 747 | exit (0); |
752 | 748 | } |
753 | 749 | EOF |
754 | $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && | |
750 | $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && | |
755 | 751 | { echo "$SYSTEM_NAME"; exit; } |
756 | 752 | echo unknown-hitachi-hiuxwe2 |
757 | 753 | exit ;; |
758 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) | |
754 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) | |
759 | 755 | echo hppa1.1-hp-bsd |
760 | 756 | exit ;; |
761 | 757 | 9000/8??:4.3bsd:*:*) |
764 | 760 | *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) |
765 | 761 | echo hppa1.0-hp-mpeix |
766 | 762 | exit ;; |
767 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) | |
763 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) | |
768 | 764 | echo hppa1.1-hp-osf |
769 | 765 | exit ;; |
770 | 766 | hp8??:OSF1:*:*) |
772 | 768 | exit ;; |
773 | 769 | i*86:OSF1:*:*) |
774 | 770 | if [ -x /usr/sbin/sysversion ] ; then |
775 | echo "$UNAME_MACHINE"-unknown-osf1mk | |
771 | echo ${UNAME_MACHINE}-unknown-osf1mk | |
776 | 772 | else |
777 | echo "$UNAME_MACHINE"-unknown-osf1 | |
773 | echo ${UNAME_MACHINE}-unknown-osf1 | |
778 | 774 | fi |
779 | 775 | exit ;; |
780 | 776 | parisc*:Lites*:*:*) |
799 | 795 | echo c4-convex-bsd |
800 | 796 | exit ;; |
801 | 797 | CRAY*Y-MP:*:*:*) |
802 | echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
798 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
803 | 799 | exit ;; |
804 | 800 | CRAY*[A-Z]90:*:*:*) |
805 | echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | |
801 | echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | |
806 | 802 | | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ |
807 | 803 | -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ |
808 | 804 | -e 's/\.[^.]*$/.X/' |
809 | 805 | exit ;; |
810 | 806 | CRAY*TS:*:*:*) |
811 | echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
807 | echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
812 | 808 | exit ;; |
813 | 809 | CRAY*T3E:*:*:*) |
814 | echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
810 | echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
815 | 811 | exit ;; |
816 | 812 | CRAY*SV1:*:*:*) |
817 | echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
813 | echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
818 | 814 | exit ;; |
819 | 815 | *:UNICOS/mp:*:*) |
820 | echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' | |
816 | echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | |
821 | 817 | exit ;; |
822 | 818 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
823 | 819 | FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` |
824 | 820 | FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` |
825 | FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` | |
821 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
826 | 822 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
827 | 823 | exit ;; |
828 | 824 | 5000:UNIX_System_V:4.*:*) |
829 | 825 | FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` |
830 | FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` | |
826 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` | |
831 | 827 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
832 | 828 | exit ;; |
833 | 829 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
834 | echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" | |
830 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} | |
835 | 831 | exit ;; |
836 | 832 | sparc*:BSD/OS:*:*) |
837 | echo sparc-unknown-bsdi"$UNAME_RELEASE" | |
833 | echo sparc-unknown-bsdi${UNAME_RELEASE} | |
838 | 834 | exit ;; |
839 | 835 | *:BSD/OS:*:*) |
840 | echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" | |
836 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | |
841 | 837 | exit ;; |
842 | 838 | *:FreeBSD:*:*) |
843 | 839 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
844 | case "$UNAME_PROCESSOR" in | |
840 | case ${UNAME_PROCESSOR} in | |
845 | 841 | amd64) |
846 | 842 | UNAME_PROCESSOR=x86_64 ;; |
847 | 843 | i386) |
848 | 844 | UNAME_PROCESSOR=i586 ;; |
849 | 845 | esac |
850 | echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" | |
846 | echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | |
851 | 847 | exit ;; |
852 | 848 | i*:CYGWIN*:*) |
853 | echo "$UNAME_MACHINE"-pc-cygwin | |
849 | echo ${UNAME_MACHINE}-pc-cygwin | |
854 | 850 | exit ;; |
855 | 851 | *:MINGW64*:*) |
856 | echo "$UNAME_MACHINE"-pc-mingw64 | |
852 | echo ${UNAME_MACHINE}-pc-mingw64 | |
857 | 853 | exit ;; |
858 | 854 | *:MINGW*:*) |
859 | echo "$UNAME_MACHINE"-pc-mingw32 | |
855 | echo ${UNAME_MACHINE}-pc-mingw32 | |
860 | 856 | exit ;; |
861 | 857 | *:MSYS*:*) |
862 | echo "$UNAME_MACHINE"-pc-msys | |
858 | echo ${UNAME_MACHINE}-pc-msys | |
859 | exit ;; | |
860 | i*:windows32*:*) | |
861 | # uname -m includes "-pc" on this system. | |
862 | echo ${UNAME_MACHINE}-mingw32 | |
863 | 863 | exit ;; |
864 | 864 | i*:PW*:*) |
865 | echo "$UNAME_MACHINE"-pc-pw32 | |
865 | echo ${UNAME_MACHINE}-pc-pw32 | |
866 | 866 | exit ;; |
867 | 867 | *:Interix*:*) |
868 | case "$UNAME_MACHINE" in | |
868 | case ${UNAME_MACHINE} in | |
869 | 869 | x86) |
870 | echo i586-pc-interix"$UNAME_RELEASE" | |
870 | echo i586-pc-interix${UNAME_RELEASE} | |
871 | 871 | exit ;; |
872 | 872 | authenticamd | genuineintel | EM64T) |
873 | echo x86_64-unknown-interix"$UNAME_RELEASE" | |
873 | echo x86_64-unknown-interix${UNAME_RELEASE} | |
874 | 874 | exit ;; |
875 | 875 | IA64) |
876 | echo ia64-unknown-interix"$UNAME_RELEASE" | |
876 | echo ia64-unknown-interix${UNAME_RELEASE} | |
877 | 877 | exit ;; |
878 | 878 | esac ;; |
879 | [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) | |
880 | echo i${UNAME_MACHINE}-pc-mks | |
881 | exit ;; | |
882 | 8664:Windows_NT:*) | |
883 | echo x86_64-pc-mks | |
884 | exit ;; | |
885 | i*:Windows_NT*:* | Pentium*:Windows_NT*:*) | |
886 | # How do we know it's Interix rather than the generic POSIX subsystem? | |
887 | # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we | |
888 | # UNAME_MACHINE based on the output of uname instead of i386? | |
889 | echo i586-pc-interix | |
890 | exit ;; | |
879 | 891 | i*:UWIN*:*) |
880 | echo "$UNAME_MACHINE"-pc-uwin | |
892 | echo ${UNAME_MACHINE}-pc-uwin | |
881 | 893 | exit ;; |
882 | 894 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) |
883 | 895 | echo x86_64-unknown-cygwin |
884 | 896 | exit ;; |
897 | p*:CYGWIN*:*) | |
898 | echo powerpcle-unknown-cygwin | |
899 | exit ;; | |
885 | 900 | prep*:SunOS:5.*:*) |
886 | echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" | |
901 | echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
887 | 902 | exit ;; |
888 | 903 | *:GNU:*:*) |
889 | 904 | # the GNU system |
890 | echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" | |
905 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
891 | 906 | exit ;; |
892 | 907 | *:GNU/*:*:*) |
893 | 908 | # other systems with GNU libc and userland |
894 | echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" | |
909 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} | |
895 | 910 | exit ;; |
896 | 911 | i*86:Minix:*:*) |
897 | echo "$UNAME_MACHINE"-pc-minix | |
912 | echo ${UNAME_MACHINE}-pc-minix | |
898 | 913 | exit ;; |
899 | 914 | aarch64:Linux:*:*) |
900 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
915 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
901 | 916 | exit ;; |
902 | 917 | aarch64_be:Linux:*:*) |
903 | 918 | UNAME_MACHINE=aarch64_be |
904 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
919 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
905 | 920 | exit ;; |
906 | 921 | alpha:Linux:*:*) |
907 | 922 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
915 | 930 | esac |
916 | 931 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
917 | 932 | if test "$?" = 0 ; then LIBC=gnulibc1 ; fi |
918 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
933 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
919 | 934 | exit ;; |
920 | 935 | arc:Linux:*:* | arceb:Linux:*:*) |
921 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
936 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
922 | 937 | exit ;; |
923 | 938 | arm*:Linux:*:*) |
924 | eval "$set_cc_for_build" | |
939 | eval $set_cc_for_build | |
925 | 940 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
926 | 941 | | grep -q __ARM_EABI__ |
927 | 942 | then |
928 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
943 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
929 | 944 | else |
930 | 945 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
931 | 946 | | grep -q __ARM_PCS_VFP |
932 | 947 | then |
933 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi | |
948 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | |
934 | 949 | else |
935 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf | |
950 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | |
936 | 951 | fi |
937 | 952 | fi |
938 | 953 | exit ;; |
939 | 954 | avr32*:Linux:*:*) |
940 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
955 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
941 | 956 | exit ;; |
942 | 957 | cris:Linux:*:*) |
943 | echo "$UNAME_MACHINE"-axis-linux-"$LIBC" | |
958 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
944 | 959 | exit ;; |
945 | 960 | crisv32:Linux:*:*) |
946 | echo "$UNAME_MACHINE"-axis-linux-"$LIBC" | |
961 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} | |
947 | 962 | exit ;; |
948 | 963 | e2k:Linux:*:*) |
949 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
964 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
950 | 965 | exit ;; |
951 | 966 | frv:Linux:*:*) |
952 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
967 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
953 | 968 | exit ;; |
954 | 969 | hexagon:Linux:*:*) |
955 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
970 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
956 | 971 | exit ;; |
957 | 972 | i*86:Linux:*:*) |
958 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC" | |
973 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
959 | 974 | exit ;; |
960 | 975 | ia64:Linux:*:*) |
961 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
976 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
962 | 977 | exit ;; |
963 | 978 | k1om:Linux:*:*) |
964 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
979 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
965 | 980 | exit ;; |
966 | 981 | m32r*:Linux:*:*) |
967 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
982 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
968 | 983 | exit ;; |
969 | 984 | m68*:Linux:*:*) |
970 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
985 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
971 | 986 | exit ;; |
972 | 987 | mips:Linux:*:* | mips64:Linux:*:*) |
973 | eval "$set_cc_for_build" | |
974 | sed 's/^ //' << EOF > "$dummy.c" | |
988 | eval $set_cc_for_build | |
989 | sed 's/^ //' << EOF >$dummy.c | |
975 | 990 | #undef CPU |
976 | 991 | #undef ${UNAME_MACHINE} |
977 | 992 | #undef ${UNAME_MACHINE}el |
985 | 1000 | #endif |
986 | 1001 | #endif |
987 | 1002 | EOF |
988 | eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" | |
989 | test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } | |
1003 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | |
1004 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } | |
990 | 1005 | ;; |
991 | 1006 | mips64el:Linux:*:*) |
992 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1007 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
993 | 1008 | exit ;; |
994 | 1009 | openrisc*:Linux:*:*) |
995 | echo or1k-unknown-linux-"$LIBC" | |
1010 | echo or1k-unknown-linux-${LIBC} | |
996 | 1011 | exit ;; |
997 | 1012 | or32:Linux:*:* | or1k*:Linux:*:*) |
998 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1013 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
999 | 1014 | exit ;; |
1000 | 1015 | padre:Linux:*:*) |
1001 | echo sparc-unknown-linux-"$LIBC" | |
1016 | echo sparc-unknown-linux-${LIBC} | |
1002 | 1017 | exit ;; |
1003 | 1018 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
1004 | echo hppa64-unknown-linux-"$LIBC" | |
1019 | echo hppa64-unknown-linux-${LIBC} | |
1005 | 1020 | exit ;; |
1006 | 1021 | parisc:Linux:*:* | hppa:Linux:*:*) |
1007 | 1022 | # Look for CPU level |
1008 | 1023 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
1009 | PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; | |
1010 | PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; | |
1011 | *) echo hppa-unknown-linux-"$LIBC" ;; | |
1024 | PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; | |
1025 | PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; | |
1026 | *) echo hppa-unknown-linux-${LIBC} ;; | |
1012 | 1027 | esac |
1013 | 1028 | exit ;; |
1014 | 1029 | ppc64:Linux:*:*) |
1015 | echo powerpc64-unknown-linux-"$LIBC" | |
1030 | echo powerpc64-unknown-linux-${LIBC} | |
1016 | 1031 | exit ;; |
1017 | 1032 | ppc:Linux:*:*) |
1018 | echo powerpc-unknown-linux-"$LIBC" | |
1033 | echo powerpc-unknown-linux-${LIBC} | |
1019 | 1034 | exit ;; |
1020 | 1035 | ppc64le:Linux:*:*) |
1021 | echo powerpc64le-unknown-linux-"$LIBC" | |
1036 | echo powerpc64le-unknown-linux-${LIBC} | |
1022 | 1037 | exit ;; |
1023 | 1038 | ppcle:Linux:*:*) |
1024 | echo powerpcle-unknown-linux-"$LIBC" | |
1039 | echo powerpcle-unknown-linux-${LIBC} | |
1025 | 1040 | exit ;; |
1026 | 1041 | riscv32:Linux:*:* | riscv64:Linux:*:*) |
1027 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1042 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1028 | 1043 | exit ;; |
1029 | 1044 | s390:Linux:*:* | s390x:Linux:*:*) |
1030 | echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" | |
1045 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} | |
1031 | 1046 | exit ;; |
1032 | 1047 | sh64*:Linux:*:*) |
1033 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1048 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1034 | 1049 | exit ;; |
1035 | 1050 | sh*:Linux:*:*) |
1036 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1051 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1037 | 1052 | exit ;; |
1038 | 1053 | sparc:Linux:*:* | sparc64:Linux:*:*) |
1039 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1054 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1040 | 1055 | exit ;; |
1041 | 1056 | tile*:Linux:*:*) |
1042 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1057 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1043 | 1058 | exit ;; |
1044 | 1059 | vax:Linux:*:*) |
1045 | echo "$UNAME_MACHINE"-dec-linux-"$LIBC" | |
1060 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} | |
1046 | 1061 | exit ;; |
1047 | 1062 | x86_64:Linux:*:*) |
1048 | echo "$UNAME_MACHINE"-pc-linux-"$LIBC" | |
1063 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | |
1049 | 1064 | exit ;; |
1050 | 1065 | xtensa*:Linux:*:*) |
1051 | echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" | |
1066 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | |
1052 | 1067 | exit ;; |
1053 | 1068 | i*86:DYNIX/ptx:4*:*) |
1054 | 1069 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1062 | 1077 | # I am not positive that other SVR4 systems won't match this, |
1063 | 1078 | # I just have to hope. -- rms. |
1064 | 1079 | # Use sysv4.2uw... so that sysv4* matches it. |
1065 | echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" | |
1080 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} | |
1066 | 1081 | exit ;; |
1067 | 1082 | i*86:OS/2:*:*) |
1068 | 1083 | # If we were able to find `uname', then EMX Unix compatibility |
1069 | 1084 | # is probably installed. |
1070 | echo "$UNAME_MACHINE"-pc-os2-emx | |
1085 | echo ${UNAME_MACHINE}-pc-os2-emx | |
1071 | 1086 | exit ;; |
1072 | 1087 | i*86:XTS-300:*:STOP) |
1073 | echo "$UNAME_MACHINE"-unknown-stop | |
1088 | echo ${UNAME_MACHINE}-unknown-stop | |
1074 | 1089 | exit ;; |
1075 | 1090 | i*86:atheos:*:*) |
1076 | echo "$UNAME_MACHINE"-unknown-atheos | |
1091 | echo ${UNAME_MACHINE}-unknown-atheos | |
1077 | 1092 | exit ;; |
1078 | 1093 | i*86:syllable:*:*) |
1079 | echo "$UNAME_MACHINE"-pc-syllable | |
1094 | echo ${UNAME_MACHINE}-pc-syllable | |
1080 | 1095 | exit ;; |
1081 | 1096 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) |
1082 | echo i386-unknown-lynxos"$UNAME_RELEASE" | |
1097 | echo i386-unknown-lynxos${UNAME_RELEASE} | |
1083 | 1098 | exit ;; |
1084 | 1099 | i*86:*DOS:*:*) |
1085 | echo "$UNAME_MACHINE"-pc-msdosdjgpp | |
1086 | exit ;; | |
1087 | i*86:*:4.*:*) | |
1088 | UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` | |
1100 | echo ${UNAME_MACHINE}-pc-msdosdjgpp | |
1101 | exit ;; | |
1102 | i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) | |
1103 | UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` | |
1089 | 1104 | if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then |
1090 | echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" | |
1105 | echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} | |
1091 | 1106 | else |
1092 | echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" | |
1107 | echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} | |
1093 | 1108 | fi |
1094 | 1109 | exit ;; |
1095 | 1110 | i*86:*:5:[678]*) |
1099 | 1114 | *Pentium) UNAME_MACHINE=i586 ;; |
1100 | 1115 | *Pent*|*Celeron) UNAME_MACHINE=i686 ;; |
1101 | 1116 | esac |
1102 | echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" | |
1117 | echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} | |
1103 | 1118 | exit ;; |
1104 | 1119 | i*86:*:3.2:*) |
1105 | 1120 | if test -f /usr/options/cb.name; then |
1106 | 1121 | UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` |
1107 | echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL" | |
1122 | echo ${UNAME_MACHINE}-pc-isc$UNAME_REL | |
1108 | 1123 | elif /bin/uname -X 2>/dev/null >/dev/null ; then |
1109 | 1124 | UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` |
1110 | 1125 | (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 |
1114 | 1129 | && UNAME_MACHINE=i686 |
1115 | 1130 | (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ |
1116 | 1131 | && UNAME_MACHINE=i686 |
1117 | echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" | |
1132 | echo ${UNAME_MACHINE}-pc-sco$UNAME_REL | |
1118 | 1133 | else |
1119 | echo "$UNAME_MACHINE"-pc-sysv32 | |
1134 | echo ${UNAME_MACHINE}-pc-sysv32 | |
1120 | 1135 | fi |
1121 | 1136 | exit ;; |
1122 | 1137 | pc:*:*:*) |
1136 | 1151 | exit ;; |
1137 | 1152 | i860:*:4.*:*) # i860-SVR4 |
1138 | 1153 | if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then |
1139 | echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 | |
1154 | echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 | |
1140 | 1155 | else # Add other i860-SVR4 vendors below as they are discovered. |
1141 | echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 | |
1156 | echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 | |
1142 | 1157 | fi |
1143 | 1158 | exit ;; |
1144 | 1159 | mini*:CTIX:SYS*5:*) |
1158 | 1173 | test -r /etc/.relid \ |
1159 | 1174 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1160 | 1175 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1161 | && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } | |
1176 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1162 | 1177 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1163 | && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; | |
1178 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1164 | 1179 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1165 | 1180 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1166 | 1181 | && { echo i486-ncr-sysv4; exit; } ;; |
1169 | 1184 | test -r /etc/.relid \ |
1170 | 1185 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
1171 | 1186 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
1172 | && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } | |
1187 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1173 | 1188 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1174 | && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } | |
1189 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | |
1175 | 1190 | /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ |
1176 | && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; | |
1191 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1177 | 1192 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
1178 | echo m68k-unknown-lynxos"$UNAME_RELEASE" | |
1193 | echo m68k-unknown-lynxos${UNAME_RELEASE} | |
1179 | 1194 | exit ;; |
1180 | 1195 | mc68030:UNIX_System_V:4.*:*) |
1181 | 1196 | echo m68k-atari-sysv4 |
1182 | 1197 | exit ;; |
1183 | 1198 | TSUNAMI:LynxOS:2.*:*) |
1184 | echo sparc-unknown-lynxos"$UNAME_RELEASE" | |
1199 | echo sparc-unknown-lynxos${UNAME_RELEASE} | |
1185 | 1200 | exit ;; |
1186 | 1201 | rs6000:LynxOS:2.*:*) |
1187 | echo rs6000-unknown-lynxos"$UNAME_RELEASE" | |
1202 | echo rs6000-unknown-lynxos${UNAME_RELEASE} | |
1188 | 1203 | exit ;; |
1189 | 1204 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) |
1190 | echo powerpc-unknown-lynxos"$UNAME_RELEASE" | |
1205 | echo powerpc-unknown-lynxos${UNAME_RELEASE} | |
1191 | 1206 | exit ;; |
1192 | 1207 | SM[BE]S:UNIX_SV:*:*) |
1193 | echo mips-dde-sysv"$UNAME_RELEASE" | |
1208 | echo mips-dde-sysv${UNAME_RELEASE} | |
1194 | 1209 | exit ;; |
1195 | 1210 | RM*:ReliantUNIX-*:*:*) |
1196 | 1211 | echo mips-sni-sysv4 |
1201 | 1216 | *:SINIX-*:*:*) |
1202 | 1217 | if uname -p 2>/dev/null >/dev/null ; then |
1203 | 1218 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1204 | echo "$UNAME_MACHINE"-sni-sysv4 | |
1219 | echo ${UNAME_MACHINE}-sni-sysv4 | |
1205 | 1220 | else |
1206 | 1221 | echo ns32k-sni-sysv |
1207 | 1222 | fi |
1221 | 1236 | exit ;; |
1222 | 1237 | i*86:VOS:*:*) |
1223 | 1238 | # From Paul.Green@stratus.com. |
1224 | echo "$UNAME_MACHINE"-stratus-vos | |
1239 | echo ${UNAME_MACHINE}-stratus-vos | |
1225 | 1240 | exit ;; |
1226 | 1241 | *:VOS:*:*) |
1227 | 1242 | # From Paul.Green@stratus.com. |
1228 | 1243 | echo hppa1.1-stratus-vos |
1229 | 1244 | exit ;; |
1230 | 1245 | mc68*:A/UX:*:*) |
1231 | echo m68k-apple-aux"$UNAME_RELEASE" | |
1246 | echo m68k-apple-aux${UNAME_RELEASE} | |
1232 | 1247 | exit ;; |
1233 | 1248 | news*:NEWS-OS:6*:*) |
1234 | 1249 | echo mips-sony-newsos6 |
1235 | 1250 | exit ;; |
1236 | 1251 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
1237 | 1252 | if [ -d /usr/nec ]; then |
1238 | echo mips-nec-sysv"$UNAME_RELEASE" | |
1253 | echo mips-nec-sysv${UNAME_RELEASE} | |
1239 | 1254 | else |
1240 | echo mips-unknown-sysv"$UNAME_RELEASE" | |
1255 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1241 | 1256 | fi |
1242 | 1257 | exit ;; |
1243 | 1258 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
1256 | 1271 | echo x86_64-unknown-haiku |
1257 | 1272 | exit ;; |
1258 | 1273 | SX-4:SUPER-UX:*:*) |
1259 | echo sx4-nec-superux"$UNAME_RELEASE" | |
1274 | echo sx4-nec-superux${UNAME_RELEASE} | |
1260 | 1275 | exit ;; |
1261 | 1276 | SX-5:SUPER-UX:*:*) |
1262 | echo sx5-nec-superux"$UNAME_RELEASE" | |
1277 | echo sx5-nec-superux${UNAME_RELEASE} | |
1263 | 1278 | exit ;; |
1264 | 1279 | SX-6:SUPER-UX:*:*) |
1265 | echo sx6-nec-superux"$UNAME_RELEASE" | |
1280 | echo sx6-nec-superux${UNAME_RELEASE} | |
1266 | 1281 | exit ;; |
1267 | 1282 | SX-7:SUPER-UX:*:*) |
1268 | echo sx7-nec-superux"$UNAME_RELEASE" | |
1283 | echo sx7-nec-superux${UNAME_RELEASE} | |
1269 | 1284 | exit ;; |
1270 | 1285 | SX-8:SUPER-UX:*:*) |
1271 | echo sx8-nec-superux"$UNAME_RELEASE" | |
1286 | echo sx8-nec-superux${UNAME_RELEASE} | |
1272 | 1287 | exit ;; |
1273 | 1288 | SX-8R:SUPER-UX:*:*) |
1274 | echo sx8r-nec-superux"$UNAME_RELEASE" | |
1289 | echo sx8r-nec-superux${UNAME_RELEASE} | |
1275 | 1290 | exit ;; |
1276 | 1291 | SX-ACE:SUPER-UX:*:*) |
1277 | echo sxace-nec-superux"$UNAME_RELEASE" | |
1292 | echo sxace-nec-superux${UNAME_RELEASE} | |
1278 | 1293 | exit ;; |
1279 | 1294 | Power*:Rhapsody:*:*) |
1280 | echo powerpc-apple-rhapsody"$UNAME_RELEASE" | |
1295 | echo powerpc-apple-rhapsody${UNAME_RELEASE} | |
1281 | 1296 | exit ;; |
1282 | 1297 | *:Rhapsody:*:*) |
1283 | echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" | |
1298 | echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} | |
1284 | 1299 | exit ;; |
1285 | 1300 | *:Darwin:*:*) |
1286 | 1301 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1287 | eval "$set_cc_for_build" | |
1302 | eval $set_cc_for_build | |
1288 | 1303 | if test "$UNAME_PROCESSOR" = unknown ; then |
1289 | 1304 | UNAME_PROCESSOR=powerpc |
1290 | 1305 | fi |
1291 | if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then | |
1306 | if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then | |
1292 | 1307 | if [ "$CC_FOR_BUILD" != no_compiler_found ]; then |
1293 | 1308 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
1294 | 1309 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ |
1316 | 1331 | # that Apple uses in portable devices. |
1317 | 1332 | UNAME_PROCESSOR=x86_64 |
1318 | 1333 | fi |
1319 | echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" | |
1334 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | |
1320 | 1335 | exit ;; |
1321 | 1336 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1322 | 1337 | UNAME_PROCESSOR=`uname -p` |
1324 | 1339 | UNAME_PROCESSOR=i386 |
1325 | 1340 | UNAME_MACHINE=pc |
1326 | 1341 | fi |
1327 | echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" | |
1342 | echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} | |
1328 | 1343 | exit ;; |
1329 | 1344 | *:QNX:*:4*) |
1330 | 1345 | echo i386-pc-qnx |
1331 | 1346 | exit ;; |
1332 | 1347 | NEO-*:NONSTOP_KERNEL:*:*) |
1333 | echo neo-tandem-nsk"$UNAME_RELEASE" | |
1348 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1334 | 1349 | exit ;; |
1335 | 1350 | NSE-*:NONSTOP_KERNEL:*:*) |
1336 | echo nse-tandem-nsk"$UNAME_RELEASE" | |
1351 | echo nse-tandem-nsk${UNAME_RELEASE} | |
1337 | 1352 | exit ;; |
1338 | 1353 | NSR-*:NONSTOP_KERNEL:*:*) |
1339 | echo nsr-tandem-nsk"$UNAME_RELEASE" | |
1340 | exit ;; | |
1341 | NSV-*:NONSTOP_KERNEL:*:*) | |
1342 | echo nsv-tandem-nsk"$UNAME_RELEASE" | |
1354 | echo nsr-tandem-nsk${UNAME_RELEASE} | |
1343 | 1355 | exit ;; |
1344 | 1356 | NSX-*:NONSTOP_KERNEL:*:*) |
1345 | echo nsx-tandem-nsk"$UNAME_RELEASE" | |
1357 | echo nsx-tandem-nsk${UNAME_RELEASE} | |
1346 | 1358 | exit ;; |
1347 | 1359 | *:NonStop-UX:*:*) |
1348 | 1360 | echo mips-compaq-nonstopux |
1351 | 1363 | echo bs2000-siemens-sysv |
1352 | 1364 | exit ;; |
1353 | 1365 | DS/*:UNIX_System_V:*:*) |
1354 | echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" | |
1366 | echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} | |
1355 | 1367 | exit ;; |
1356 | 1368 | *:Plan9:*:*) |
1357 | 1369 | # "uname -m" is not consistent, so use $cputype instead. 386 |
1362 | 1374 | else |
1363 | 1375 | UNAME_MACHINE="$cputype" |
1364 | 1376 | fi |
1365 | echo "$UNAME_MACHINE"-unknown-plan9 | |
1377 | echo ${UNAME_MACHINE}-unknown-plan9 | |
1366 | 1378 | exit ;; |
1367 | 1379 | *:TOPS-10:*:*) |
1368 | 1380 | echo pdp10-unknown-tops10 |
1383 | 1395 | echo pdp10-unknown-its |
1384 | 1396 | exit ;; |
1385 | 1397 | SEI:*:*:SEIUX) |
1386 | echo mips-sei-seiux"$UNAME_RELEASE" | |
1398 | echo mips-sei-seiux${UNAME_RELEASE} | |
1387 | 1399 | exit ;; |
1388 | 1400 | *:DragonFly:*:*) |
1389 | echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" | |
1401 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | |
1390 | 1402 | exit ;; |
1391 | 1403 | *:*VMS:*:*) |
1392 | 1404 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
1393 | case "$UNAME_MACHINE" in | |
1405 | case "${UNAME_MACHINE}" in | |
1394 | 1406 | A*) echo alpha-dec-vms ; exit ;; |
1395 | 1407 | I*) echo ia64-dec-vms ; exit ;; |
1396 | 1408 | V*) echo vax-dec-vms ; exit ;; |
1399 | 1411 | echo i386-pc-xenix |
1400 | 1412 | exit ;; |
1401 | 1413 | i*86:skyos:*:*) |
1402 | echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" | |
1414 | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'` | |
1403 | 1415 | exit ;; |
1404 | 1416 | i*86:rdos:*:*) |
1405 | echo "$UNAME_MACHINE"-pc-rdos | |
1417 | echo ${UNAME_MACHINE}-pc-rdos | |
1406 | 1418 | exit ;; |
1407 | 1419 | i*86:AROS:*:*) |
1408 | echo "$UNAME_MACHINE"-pc-aros | |
1420 | echo ${UNAME_MACHINE}-pc-aros | |
1409 | 1421 | exit ;; |
1410 | 1422 | x86_64:VMkernel:*:*) |
1411 | echo "$UNAME_MACHINE"-unknown-esx | |
1423 | echo ${UNAME_MACHINE}-unknown-esx | |
1412 | 1424 | exit ;; |
1413 | 1425 | amd64:Isilon\ OneFS:*:*) |
1414 | 1426 | echo x86_64-unknown-onefs |
1415 | 1427 | exit ;; |
1416 | 1428 | esac |
1417 | 1429 | |
1418 | echo "$0: unable to guess system type" >&2 | |
1419 | ||
1420 | case "$UNAME_MACHINE:$UNAME_SYSTEM" in | |
1421 | mips:Linux | mips64:Linux) | |
1422 | # If we got here on MIPS GNU/Linux, output extra information. | |
1423 | cat >&2 <<EOF | |
1424 | ||
1425 | NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize | |
1426 | the system type. Please install a C compiler and try again. | |
1427 | EOF | |
1428 | ;; | |
1429 | esac | |
1430 | ||
1431 | 1430 | cat >&2 <<EOF |
1431 | $0: unable to guess system type | |
1432 | 1432 | |
1433 | 1433 | This script (version $timestamp), has failed to recognize the |
1434 | 1434 | operating system you are using. If your script is old, overwrite *all* |
1435 | 1435 | copies of config.guess and config.sub with the latest versions from: |
1436 | 1436 | |
1437 | https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
1437 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess | |
1438 | 1438 | and |
1439 | https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
1439 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
1440 | 1440 | |
1441 | 1441 | If $0 has already been updated, send the following data and any |
1442 | 1442 | information you think might be pertinent to config-patches@gnu.org to |
1459 | 1459 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` |
1460 | 1460 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` |
1461 | 1461 | |
1462 | UNAME_MACHINE = "$UNAME_MACHINE" | |
1463 | UNAME_RELEASE = "$UNAME_RELEASE" | |
1464 | UNAME_SYSTEM = "$UNAME_SYSTEM" | |
1465 | UNAME_VERSION = "$UNAME_VERSION" | |
1462 | UNAME_MACHINE = ${UNAME_MACHINE} | |
1463 | UNAME_RELEASE = ${UNAME_RELEASE} | |
1464 | UNAME_SYSTEM = ${UNAME_SYSTEM} | |
1465 | UNAME_VERSION = ${UNAME_VERSION} | |
1466 | 1466 | EOF |
1467 | 1467 | |
1468 | 1468 | exit 1 |
1469 | 1469 | |
1470 | 1470 | # Local variables: |
1471 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
1471 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1472 | 1472 | # time-stamp-start: "timestamp='" |
1473 | 1473 | # time-stamp-format: "%:y-%02m-%02d" |
1474 | 1474 | # time-stamp-end: "'" |
0 | #! /bin/sh | |
0 | #!/bin/sh | |
1 | 1 | # Configuration validation subroutine script. |
2 | # Copyright 1992-2018 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2018-05-05' | |
2 | # Copyright 1992-2017 Free Software Foundation, Inc. | |
3 | ||
4 | timestamp='2017-04-02' | |
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 <https://www.gnu.org/licenses/>. | |
17 | # along with this program; if not, see <http://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 | # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub | |
35 | # http://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 | Options: | |
59 | Operation modes: | |
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-2018 Free Software Foundation, Inc. | |
69 | Copyright 1992-2017 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 | * ) |
109 | 109 | exit 1;; |
110 | 110 | esac |
111 | 111 | |
112 | # Spilt fields of configuration type | |
113 | IFS="-" read -r field1 field2 field3 field4 <<EOF | |
114 | $1 | |
115 | EOF | |
116 | ||
117 | # Separate into logical components for further validation | |
118 | case $1 in | |
119 | *-*-*-*) | |
120 | basic_machine=$field1-$field2 | |
121 | os=-$field3-$field4 | |
122 | ;; | |
123 | *-*-*) | |
124 | # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two | |
125 | # parts | |
126 | maybe_os=$field2-$field3 | |
127 | case $maybe_os in | |
128 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \ | |
129 | | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \ | |
130 | | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ | |
131 | | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ | |
132 | | storm-chaos* | os2-emx* | rtmk-nova*) | |
133 | basic_machine=$field1 | |
134 | os=-$maybe_os | |
135 | ;; | |
136 | android-linux) | |
137 | basic_machine=$field1-unknown | |
138 | os=-linux-android | |
139 | ;; | |
140 | *) | |
141 | basic_machine=$field1-$field2 | |
142 | os=-$field3 | |
143 | ;; | |
144 | esac | |
145 | ;; | |
146 | *-*) | |
147 | basic_machine=$field1 | |
148 | os=-$field2 | |
149 | ;; | |
150 | *) | |
151 | basic_machine=$1 | |
152 | os= | |
153 | ;; | |
112 | # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). | |
113 | # Here we must recognize all the valid KERNEL-OS combinations. | |
114 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | |
115 | case $maybe_os in | |
116 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | |
117 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
118 | knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ | |
119 | kopensolaris*-gnu* | cloudabi*-eabi* | \ | |
120 | storm-chaos* | os2-emx* | rtmk-nova*) | |
121 | os=-$maybe_os | |
122 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | |
123 | ;; | |
124 | android-linux) | |
125 | os=-linux-android | |
126 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | |
127 | ;; | |
128 | *) | |
129 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` | |
130 | if [ $basic_machine != $1 ] | |
131 | then os=`echo $1 | sed 's/.*-/-/'` | |
132 | else os=; fi | |
133 | ;; | |
154 | 134 | esac |
155 | 135 | |
156 | 136 | ### Let's recognize common machines as not being operating systems so |
197 | 177 | ;; |
198 | 178 | -sco6) |
199 | 179 | os=-sco5v6 |
200 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
180 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
201 | 181 | ;; |
202 | 182 | -sco5) |
203 | 183 | os=-sco3.2v5 |
204 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
184 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
205 | 185 | ;; |
206 | 186 | -sco4) |
207 | 187 | os=-sco3.2v4 |
208 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
188 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
209 | 189 | ;; |
210 | 190 | -sco3.2.[4-9]*) |
211 | 191 | os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` |
212 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
192 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
213 | 193 | ;; |
214 | 194 | -sco3.2v[4-9]*) |
215 | 195 | # Don't forget version if it is 3.2v4 or newer. |
216 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
196 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
217 | 197 | ;; |
218 | 198 | -sco5v6*) |
219 | 199 | # Don't forget version if it is 3.2v4 or newer. |
220 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
200 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
221 | 201 | ;; |
222 | 202 | -sco*) |
223 | 203 | os=-sco3.2v2 |
224 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
204 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
225 | 205 | ;; |
226 | 206 | -udk*) |
227 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
207 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
228 | 208 | ;; |
229 | 209 | -isc) |
230 | 210 | os=-isc2.2 |
231 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
211 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
232 | 212 | ;; |
233 | 213 | -clix*) |
234 | 214 | basic_machine=clipper-intergraph |
235 | 215 | ;; |
236 | 216 | -isc*) |
237 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` | |
217 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | |
238 | 218 | ;; |
239 | 219 | -lynx*178) |
240 | 220 | os=-lynxos178 |
246 | 226 | os=-lynxos |
247 | 227 | ;; |
248 | 228 | -ptx*) |
249 | basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` | |
229 | basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` | |
230 | ;; | |
231 | -windowsnt*) | |
232 | os=`echo $os | sed -e 's/windowsnt/winnt/'` | |
250 | 233 | ;; |
251 | 234 | -psos*) |
252 | 235 | os=-psos |
268 | 251 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
269 | 252 | | am33_2.0 \ |
270 | 253 | | arc | arceb \ |
271 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv6m | armv[78][arm] \ | |
254 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | |
272 | 255 | | avr | avr32 \ |
273 | 256 | | ba \ |
274 | 257 | | be32 | be64 \ |
275 | 258 | | bfin \ |
276 | | c4x | c8051 | clipper | csky \ | |
259 | | c4x | c8051 | clipper \ | |
277 | 260 | | d10v | d30v | dlx | dsp16xx \ |
278 | 261 | | e2k | epiphany \ |
279 | 262 | | fido | fr30 | frv | ft32 \ |
312 | 295 | | mt \ |
313 | 296 | | msp430 \ |
314 | 297 | | nds32 | nds32le | nds32be \ |
315 | | nfp \ | |
316 | 298 | | nios | nios2 | nios2eb | nios2el \ |
317 | 299 | | ns16k | ns32k \ |
318 | 300 | | open8 | or1k | or1knd | or32 \ |
319 | | pdp10 | pj | pjl \ | |
301 | | pdp10 | pdp11 | pj | pjl \ | |
320 | 302 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
321 | 303 | | pru \ |
322 | 304 | | pyramid \ |
333 | 315 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
334 | 316 | | visium \ |
335 | 317 | | wasm32 \ |
318 | | we32k \ | |
336 | 319 | | x86 | xc16x | xstormy16 | xtensa \ |
337 | 320 | | z8k | z80) |
338 | 321 | basic_machine=$basic_machine-unknown |
353 | 336 | basic_machine=$basic_machine-unknown |
354 | 337 | os=-none |
355 | 338 | ;; |
356 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) | |
357 | ;; | |
358 | m9s12z | m68hcs12z | hcs12z | s12z) | |
359 | basic_machine=s12z-unknown | |
360 | os=-none | |
339 | m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) | |
361 | 340 | ;; |
362 | 341 | ms1) |
363 | 342 | basic_machine=mt-unknown |
386 | 365 | ;; |
387 | 366 | # Object if more than one company name word. |
388 | 367 | *-*-*) |
389 | echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 | |
368 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
390 | 369 | exit 1 |
391 | 370 | ;; |
392 | 371 | # Recognize the basic CPU types with company name. |
402 | 381 | | be32-* | be64-* \ |
403 | 382 | | bfin-* | bs2000-* \ |
404 | 383 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
405 | | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \ | |
384 | | c8051-* | clipper-* | craynv-* | cydra-* \ | |
406 | 385 | | d10v-* | d30v-* | dlx-* \ |
407 | 386 | | e2k-* | elxsi-* \ |
408 | 387 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
443 | 422 | | mt-* \ |
444 | 423 | | msp430-* \ |
445 | 424 | | nds32-* | nds32le-* | nds32be-* \ |
446 | | nfp-* \ | |
447 | 425 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ |
448 | 426 | | none-* | np1-* | ns16k-* | ns32k-* \ |
449 | 427 | | open8-* \ |
482 | 460 | # Recognize the various machine names and aliases which stand |
483 | 461 | # for a CPU type and a company and sometimes even an OS. |
484 | 462 | 386bsd) |
485 | basic_machine=i386-pc | |
463 | basic_machine=i386-unknown | |
486 | 464 | os=-bsd |
487 | 465 | ;; |
488 | 466 | 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
516 | 494 | basic_machine=x86_64-pc |
517 | 495 | ;; |
518 | 496 | amd64-*) |
519 | basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
497 | basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
520 | 498 | ;; |
521 | 499 | amdahl) |
522 | 500 | basic_machine=580-amdahl |
561 | 539 | os=-linux |
562 | 540 | ;; |
563 | 541 | blackfin-*) |
564 | basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
542 | basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | |
565 | 543 | os=-linux |
566 | 544 | ;; |
567 | 545 | bluegene*) |
569 | 547 | os=-cnk |
570 | 548 | ;; |
571 | 549 | c54x-*) |
572 | basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
550 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
573 | 551 | ;; |
574 | 552 | c55x-*) |
575 | basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
553 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
576 | 554 | ;; |
577 | 555 | c6x-*) |
578 | basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
556 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
579 | 557 | ;; |
580 | 558 | c90) |
581 | 559 | basic_machine=c90-cray |
664 | 642 | basic_machine=rs6000-bull |
665 | 643 | os=-bosx |
666 | 644 | ;; |
667 | dpx2*) | |
645 | dpx2* | dpx2*-bull) | |
668 | 646 | basic_machine=m68k-bull |
669 | 647 | os=-sysv3 |
670 | 648 | ;; |
673 | 651 | os=$os"spe" |
674 | 652 | ;; |
675 | 653 | e500v[12]-*) |
676 | basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
654 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
677 | 655 | os=$os"spe" |
678 | 656 | ;; |
679 | 657 | ebmon29k) |
765 | 743 | hp9k8[0-9][0-9] | hp8[0-9][0-9]) |
766 | 744 | basic_machine=hppa1.0-hp |
767 | 745 | ;; |
746 | hppa-next) | |
747 | os=-nextstep3 | |
748 | ;; | |
768 | 749 | hppaosf) |
769 | 750 | basic_machine=hppa1.1-hp |
770 | 751 | os=-osf |
777 | 758 | basic_machine=i370-ibm |
778 | 759 | ;; |
779 | 760 | i*86v32) |
780 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
761 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
781 | 762 | os=-sysv32 |
782 | 763 | ;; |
783 | 764 | i*86v4*) |
784 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
765 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
785 | 766 | os=-sysv4 |
786 | 767 | ;; |
787 | 768 | i*86v) |
788 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
769 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
789 | 770 | os=-sysv |
790 | 771 | ;; |
791 | 772 | i*86sol2) |
792 | basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` | |
773 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | |
793 | 774 | os=-solaris2 |
794 | 775 | ;; |
795 | 776 | i386mach) |
796 | 777 | basic_machine=i386-mach |
797 | 778 | os=-mach |
798 | 779 | ;; |
799 | vsta) | |
780 | i386-vsta | vsta) | |
800 | 781 | basic_machine=i386-unknown |
801 | 782 | os=-vsta |
802 | 783 | ;; |
815 | 796 | os=-sysv |
816 | 797 | ;; |
817 | 798 | leon-*|leon[3-9]-*) |
818 | basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` | |
799 | basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` | |
819 | 800 | ;; |
820 | 801 | m68knommu) |
821 | 802 | basic_machine=m68k-unknown |
822 | 803 | os=-linux |
823 | 804 | ;; |
824 | 805 | m68knommu-*) |
825 | basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
806 | basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | |
826 | 807 | os=-linux |
808 | ;; | |
809 | m88k-omron*) | |
810 | basic_machine=m88k-omron | |
827 | 811 | ;; |
828 | 812 | magnum | m3230) |
829 | 813 | basic_machine=mips-mips |
856 | 840 | os=-mint |
857 | 841 | ;; |
858 | 842 | mips3*-*) |
859 | basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` | |
843 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` | |
860 | 844 | ;; |
861 | 845 | mips3*) |
862 | basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown | |
846 | basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown | |
863 | 847 | ;; |
864 | 848 | monitor) |
865 | 849 | basic_machine=m68k-rom68k |
878 | 862 | os=-msdos |
879 | 863 | ;; |
880 | 864 | ms1-*) |
881 | basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` | |
865 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | |
882 | 866 | ;; |
883 | 867 | msys) |
884 | 868 | basic_machine=i686-pc |
920 | 904 | basic_machine=v70-nec |
921 | 905 | os=-sysv |
922 | 906 | ;; |
923 | next | m*-next) | |
907 | next | m*-next ) | |
924 | 908 | basic_machine=m68k-next |
925 | 909 | case $os in |
926 | 910 | -nextstep* ) |
965 | 949 | nsr-tandem) |
966 | 950 | basic_machine=nsr-tandem |
967 | 951 | ;; |
968 | nsv-tandem) | |
969 | basic_machine=nsv-tandem | |
970 | ;; | |
971 | 952 | nsx-tandem) |
972 | 953 | basic_machine=nsx-tandem |
973 | 954 | ;; |
1003 | 984 | os=-linux |
1004 | 985 | ;; |
1005 | 986 | parisc-*) |
1006 | basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
987 | basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1007 | 988 | os=-linux |
1008 | 989 | ;; |
1009 | 990 | pbd) |
1019 | 1000 | basic_machine=i386-pc |
1020 | 1001 | ;; |
1021 | 1002 | pc98-*) |
1022 | basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1003 | basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1023 | 1004 | ;; |
1024 | 1005 | pentium | p5 | k5 | k6 | nexgen | viac3) |
1025 | 1006 | basic_machine=i586-pc |
1034 | 1015 | basic_machine=i786-pc |
1035 | 1016 | ;; |
1036 | 1017 | pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
1037 | basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1018 | basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1038 | 1019 | ;; |
1039 | 1020 | pentiumpro-* | p6-* | 6x86-* | athlon-*) |
1040 | basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1021 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1041 | 1022 | ;; |
1042 | 1023 | pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) |
1043 | basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1024 | basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1044 | 1025 | ;; |
1045 | 1026 | pentium4-*) |
1046 | basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1027 | basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1047 | 1028 | ;; |
1048 | 1029 | pn) |
1049 | 1030 | basic_machine=pn-gould |
1053 | 1034 | ppc | ppcbe) basic_machine=powerpc-unknown |
1054 | 1035 | ;; |
1055 | 1036 | ppc-* | ppcbe-*) |
1056 | basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1037 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1057 | 1038 | ;; |
1058 | 1039 | ppcle | powerpclittle) |
1059 | 1040 | basic_machine=powerpcle-unknown |
1060 | 1041 | ;; |
1061 | 1042 | ppcle-* | powerpclittle-*) |
1062 | basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1043 | basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1063 | 1044 | ;; |
1064 | 1045 | ppc64) basic_machine=powerpc64-unknown |
1065 | 1046 | ;; |
1066 | ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1047 | ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1067 | 1048 | ;; |
1068 | 1049 | ppc64le | powerpc64little) |
1069 | 1050 | basic_machine=powerpc64le-unknown |
1070 | 1051 | ;; |
1071 | 1052 | ppc64le-* | powerpc64little-*) |
1072 | basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1053 | basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1073 | 1054 | ;; |
1074 | 1055 | ps2) |
1075 | 1056 | basic_machine=i386-ibm |
1123 | 1104 | sequent) |
1124 | 1105 | basic_machine=i386-sequent |
1125 | 1106 | ;; |
1107 | sh) | |
1108 | basic_machine=sh-hitachi | |
1109 | os=-hms | |
1110 | ;; | |
1126 | 1111 | sh5el) |
1127 | 1112 | basic_machine=sh5le-unknown |
1128 | 1113 | ;; |
1129 | simso-wrs) | |
1114 | sh64) | |
1115 | basic_machine=sh64-unknown | |
1116 | ;; | |
1117 | sparclite-wrs | simso-wrs) | |
1130 | 1118 | basic_machine=sparclite-wrs |
1131 | 1119 | os=-vxworks |
1132 | 1120 | ;; |
1145 | 1133 | os=-sysv4 |
1146 | 1134 | ;; |
1147 | 1135 | strongarm-* | thumb-*) |
1148 | basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` | |
1136 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1149 | 1137 | ;; |
1150 | 1138 | sun2) |
1151 | 1139 | basic_machine=m68000-sun |
1259 | 1247 | basic_machine=a29k-wrs |
1260 | 1248 | os=-vxworks |
1261 | 1249 | ;; |
1250 | wasm32) | |
1251 | basic_machine=wasm32-unknown | |
1252 | ;; | |
1262 | 1253 | w65*) |
1263 | 1254 | basic_machine=w65-wdc |
1264 | 1255 | os=-none |
1267 | 1258 | basic_machine=hppa1.1-winbond |
1268 | 1259 | os=-proelf |
1269 | 1260 | ;; |
1270 | x64) | |
1271 | basic_machine=x86_64-pc | |
1272 | ;; | |
1273 | 1261 | xbox) |
1274 | 1262 | basic_machine=i686-pc |
1275 | 1263 | os=-mingw32 |
1278 | 1266 | basic_machine=xps100-honeywell |
1279 | 1267 | ;; |
1280 | 1268 | xscale-* | xscalee[bl]-*) |
1281 | basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` | |
1269 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | |
1282 | 1270 | ;; |
1283 | 1271 | ymp) |
1284 | 1272 | basic_machine=ymp-cray |
1285 | 1273 | os=-unicos |
1274 | ;; | |
1275 | z8k-*-coff) | |
1276 | basic_machine=z8k-unknown | |
1277 | os=-sim | |
1278 | ;; | |
1279 | z80-*-coff) | |
1280 | basic_machine=z80-unknown | |
1281 | os=-sim | |
1286 | 1282 | ;; |
1287 | 1283 | none) |
1288 | 1284 | basic_machine=none-none |
1312 | 1308 | vax) |
1313 | 1309 | basic_machine=vax-dec |
1314 | 1310 | ;; |
1311 | pdp10) | |
1312 | # there are many clones, so DEC is not a safe bet | |
1313 | basic_machine=pdp10-unknown | |
1314 | ;; | |
1315 | 1315 | pdp11) |
1316 | 1316 | basic_machine=pdp11-dec |
1317 | 1317 | ;; |
1321 | 1321 | sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
1322 | 1322 | basic_machine=sh-unknown |
1323 | 1323 | ;; |
1324 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) | |
1325 | basic_machine=sparc-sun | |
1326 | ;; | |
1324 | 1327 | cydra) |
1325 | 1328 | basic_machine=cydra-cydrome |
1326 | 1329 | ;; |
1340 | 1343 | # Make sure to match an already-canonicalized machine name. |
1341 | 1344 | ;; |
1342 | 1345 | *) |
1343 | echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 | |
1346 | echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 | |
1344 | 1347 | exit 1 |
1345 | 1348 | ;; |
1346 | 1349 | esac |
1348 | 1351 | # Here we canonicalize certain aliases for manufacturers. |
1349 | 1352 | case $basic_machine in |
1350 | 1353 | *-digital*) |
1351 | basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` | |
1354 | basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` | |
1352 | 1355 | ;; |
1353 | 1356 | *-commodore*) |
1354 | basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` | |
1357 | basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` | |
1355 | 1358 | ;; |
1356 | 1359 | *) |
1357 | 1360 | ;; |
1359 | 1362 | |
1360 | 1363 | # Decode manufacturer-specific aliases for certain operating systems. |
1361 | 1364 | |
1362 | if [ x$os != x ] | |
1365 | if [ x"$os" != x"" ] | |
1363 | 1366 | then |
1364 | 1367 | case $os in |
1365 | # First match some system type aliases that might get confused | |
1366 | # with valid system types. | |
1368 | # First match some system type aliases | |
1369 | # that might get confused with valid system types. | |
1367 | 1370 | # -solaris* is a basic system type, with this one exception. |
1368 | 1371 | -auroraux) |
1369 | 1372 | os=-auroraux |
1374 | 1377 | -solaris) |
1375 | 1378 | os=-solaris2 |
1376 | 1379 | ;; |
1380 | -svr4*) | |
1381 | os=-sysv4 | |
1382 | ;; | |
1377 | 1383 | -unixware*) |
1378 | 1384 | os=-sysv4.2uw |
1379 | 1385 | ;; |
1380 | 1386 | -gnu/linux*) |
1381 | 1387 | os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
1382 | 1388 | ;; |
1383 | # es1800 is here to avoid being matched by es* (a different OS) | |
1384 | -es1800*) | |
1385 | os=-ose | |
1386 | ;; | |
1387 | # Now accept the basic system types. | |
1389 | # First accept the basic system types. | |
1388 | 1390 | # The portable systems comes first. |
1389 | # Each alternative MUST end in a * to match a version number. | |
1391 | # Each alternative MUST END IN A *, to match a version number. | |
1390 | 1392 | # -sysv* is not here because it comes later, after sysvr4. |
1391 | 1393 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1392 | 1394 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1396 | 1398 | | -aos* | -aros* | -cloudabi* | -sortix* \ |
1397 | 1399 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1398 | 1400 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1399 | | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ | |
1401 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | |
1400 | 1402 | | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ |
1401 | 1403 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1402 | 1404 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1403 | 1405 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1404 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* | -hcos* \ | |
1406 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | |
1405 | 1407 | | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ |
1406 | 1408 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1407 | 1409 | | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
1408 | 1410 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1409 | 1411 | | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
1410 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | |
1412 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | |
1411 | 1413 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1412 | 1414 | | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
1413 | 1415 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1414 | | -morphos* | -superux* | -rtmk* | -windiss* \ | |
1416 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | |
1415 | 1417 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1416 | 1418 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ |
1417 | | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ | |
1418 | | -midnightbsd*) | |
1419 | | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*) | |
1419 | 1420 | # Remember, each alternative MUST END IN *, to match a version number. |
1420 | 1421 | ;; |
1421 | 1422 | -qnx*) |
1432 | 1433 | -nto*) |
1433 | 1434 | os=`echo $os | sed -e 's|nto|nto-qnx|'` |
1434 | 1435 | ;; |
1435 | -sim | -xray | -os68k* | -v88r* \ | |
1436 | | -windows* | -osx | -abug | -netware* | -os9* \ | |
1436 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | |
1437 | | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | |
1437 | 1438 | | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
1438 | 1439 | ;; |
1439 | 1440 | -mac*) |
1440 | os=`echo "$os" | sed -e 's|mac|macos|'` | |
1441 | os=`echo $os | sed -e 's|mac|macos|'` | |
1441 | 1442 | ;; |
1442 | 1443 | -linux-dietlibc) |
1443 | 1444 | os=-linux-dietlibc |
1446 | 1447 | os=`echo $os | sed -e 's|linux|linux-gnu|'` |
1447 | 1448 | ;; |
1448 | 1449 | -sunos5*) |
1449 | os=`echo "$os" | sed -e 's|sunos5|solaris2|'` | |
1450 | os=`echo $os | sed -e 's|sunos5|solaris2|'` | |
1450 | 1451 | ;; |
1451 | 1452 | -sunos6*) |
1452 | os=`echo "$os" | sed -e 's|sunos6|solaris3|'` | |
1453 | os=`echo $os | sed -e 's|sunos6|solaris3|'` | |
1453 | 1454 | ;; |
1454 | 1455 | -opened*) |
1455 | 1456 | os=-openedition |
1460 | 1461 | -wince*) |
1461 | 1462 | os=-wince |
1462 | 1463 | ;; |
1464 | -osfrose*) | |
1465 | os=-osfrose | |
1466 | ;; | |
1467 | -osf*) | |
1468 | os=-osf | |
1469 | ;; | |
1463 | 1470 | -utek*) |
1464 | 1471 | os=-bsd |
1465 | 1472 | ;; |
1484 | 1491 | -nova*) |
1485 | 1492 | os=-rtmk-nova |
1486 | 1493 | ;; |
1487 | -ns2) | |
1494 | -ns2 ) | |
1488 | 1495 | os=-nextstep2 |
1489 | 1496 | ;; |
1490 | 1497 | -nsk*) |
1506 | 1513 | -oss*) |
1507 | 1514 | os=-sysv3 |
1508 | 1515 | ;; |
1509 | -svr4*) | |
1516 | -svr4) | |
1510 | 1517 | os=-sysv4 |
1511 | 1518 | ;; |
1512 | 1519 | -svr3) |
1521 | 1528 | -ose*) |
1522 | 1529 | os=-ose |
1523 | 1530 | ;; |
1531 | -es1800*) | |
1532 | os=-ose | |
1533 | ;; | |
1534 | -xenix) | |
1535 | os=-xenix | |
1536 | ;; | |
1524 | 1537 | -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
1525 | 1538 | os=-mint |
1526 | 1539 | ;; |
1540 | -aros*) | |
1541 | os=-aros | |
1542 | ;; | |
1527 | 1543 | -zvmoe) |
1528 | 1544 | os=-zvmoe |
1529 | 1545 | ;; |
1530 | 1546 | -dicos*) |
1531 | 1547 | os=-dicos |
1532 | 1548 | ;; |
1533 | -pikeos*) | |
1534 | # Until real need of OS specific support for | |
1535 | # particular features comes up, bare metal | |
1536 | # configurations are quite functional. | |
1537 | case $basic_machine in | |
1538 | arm*) | |
1539 | os=-eabi | |
1540 | ;; | |
1541 | *) | |
1542 | os=-elf | |
1543 | ;; | |
1544 | esac | |
1545 | ;; | |
1546 | 1549 | -nacl*) |
1547 | 1550 | ;; |
1548 | 1551 | -ios) |
1549 | 1552 | ;; |
1550 | 1553 | -none) |
1551 | ;; | |
1552 | -*-eabi) | |
1553 | case $basic_machine in | |
1554 | arm*) | |
1555 | ;; | |
1556 | esac | |
1557 | 1554 | ;; |
1558 | 1555 | *) |
1559 | 1556 | # Get rid of the `-' at the beginning of $os. |
1560 | 1557 | os=`echo $os | sed 's/[^-]*-//'` |
1561 | echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 | |
1558 | echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 | |
1562 | 1559 | exit 1 |
1563 | 1560 | ;; |
1564 | 1561 | esac |
1654 | 1651 | *-be) |
1655 | 1652 | os=-beos |
1656 | 1653 | ;; |
1654 | *-haiku) | |
1655 | os=-haiku | |
1656 | ;; | |
1657 | 1657 | *-ibm) |
1658 | 1658 | os=-aix |
1659 | 1659 | ;; |
1693 | 1693 | m88k-omron*) |
1694 | 1694 | os=-luna |
1695 | 1695 | ;; |
1696 | *-next) | |
1696 | *-next ) | |
1697 | 1697 | os=-nextstep |
1698 | 1698 | ;; |
1699 | 1699 | *-sequent) |
1707 | 1707 | ;; |
1708 | 1708 | i370-*) |
1709 | 1709 | os=-mvs |
1710 | ;; | |
1711 | *-next) | |
1712 | os=-nextstep3 | |
1710 | 1713 | ;; |
1711 | 1714 | *-gould) |
1712 | 1715 | os=-sysv |
1817 | 1820 | vendor=stratus |
1818 | 1821 | ;; |
1819 | 1822 | esac |
1820 | basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` | |
1823 | basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` | |
1821 | 1824 | ;; |
1822 | 1825 | esac |
1823 | 1826 | |
1824 | echo "$basic_machine$os" | |
1827 | echo $basic_machine$os | |
1825 | 1828 | exit |
1826 | 1829 | |
1827 | 1830 | # Local variables: |
1828 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
1831 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
1829 | 1832 | # time-stamp-start: "timestamp='" |
1830 | 1833 | # time-stamp-format: "%:y-%02m-%02d" |
1831 | 1834 | # 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 xdg-desktop-portal 0.99. | |
2 | # Generated by GNU Autoconf 2.69 for xdg-desktop-portal 1.0. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
586 | 586 | # Identity of this package. |
587 | 587 | PACKAGE_NAME='xdg-desktop-portal' |
588 | 588 | PACKAGE_TARNAME='xdg-desktop-portal' |
589 | PACKAGE_VERSION='0.99' | |
590 | PACKAGE_STRING='xdg-desktop-portal 0.99' | |
589 | PACKAGE_VERSION='1.0' | |
590 | PACKAGE_STRING='xdg-desktop-portal 1.0' | |
591 | 591 | PACKAGE_BUGREPORT='' |
592 | 592 | PACKAGE_URL='' |
593 | 593 | |
693 | 693 | AMDEPBACKSLASH |
694 | 694 | AMDEP_FALSE |
695 | 695 | AMDEP_TRUE |
696 | am__quote | |
696 | 697 | am__include |
697 | 698 | DEPDIR |
698 | 699 | am__untar |
793 | 794 | PACKAGE_TARNAME |
794 | 795 | PACKAGE_NAME |
795 | 796 | PATH_SEPARATOR |
796 | SHELL | |
797 | am__quote' | |
797 | SHELL' | |
798 | 798 | ac_subst_files='' |
799 | 799 | ac_user_opts=' |
800 | 800 | enable_option_checking |
1383 | 1383 | # Omit some internal or obsolete options to make the list less imposing. |
1384 | 1384 | # This message is too long to be a string in the A/UX 3.1 sh. |
1385 | 1385 | cat <<_ACEOF |
1386 | \`configure' configures xdg-desktop-portal 0.99 to adapt to many kinds of systems. | |
1386 | \`configure' configures xdg-desktop-portal 1.0 to adapt to many kinds of systems. | |
1387 | 1387 | |
1388 | 1388 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1389 | 1389 | |
1454 | 1454 | |
1455 | 1455 | if test -n "$ac_init_help"; then |
1456 | 1456 | case $ac_init_help in |
1457 | short | recursive ) echo "Configuration of xdg-desktop-portal 0.99:";; | |
1457 | short | recursive ) echo "Configuration of xdg-desktop-portal 1.0:";; | |
1458 | 1458 | esac |
1459 | 1459 | cat <<\_ACEOF |
1460 | 1460 | |
1604 | 1604 | test -n "$ac_init_help" && exit $ac_status |
1605 | 1605 | if $ac_init_version; then |
1606 | 1606 | cat <<\_ACEOF |
1607 | xdg-desktop-portal configure 0.99 | |
1607 | xdg-desktop-portal configure 1.0 | |
1608 | 1608 | generated by GNU Autoconf 2.69 |
1609 | 1609 | |
1610 | 1610 | Copyright (C) 2012 Free Software Foundation, Inc. |
1969 | 1969 | This file contains any messages produced by compilers while |
1970 | 1970 | running configure, to aid debugging if configure makes a mistake. |
1971 | 1971 | |
1972 | It was created by xdg-desktop-portal $as_me 0.99, which was | |
1972 | It was created by xdg-desktop-portal $as_me 1.0, which was | |
1973 | 1973 | generated by GNU Autoconf 2.69. Invocation command line was |
1974 | 1974 | |
1975 | 1975 | $ $0 $@ |
12208 | 12208 | ac_config_headers="$ac_config_headers config.h" |
12209 | 12209 | |
12210 | 12210 | |
12211 | am__api_version='1.16' | |
12211 | am__api_version='1.15' | |
12212 | 12212 | |
12213 | 12213 | # Find a good install program. We prefer a C program (faster), |
12214 | 12214 | # so one script is as good as another. But avoid the broken or |
12592 | 12592 | |
12593 | 12593 | ac_config_commands="$ac_config_commands depfiles" |
12594 | 12594 | |
12595 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 | |
12596 | $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } | |
12597 | cat > confinc.mk << 'END' | |
12595 | ||
12596 | am_make=${MAKE-make} | |
12597 | cat > confinc << 'END' | |
12598 | 12598 | am__doit: |
12599 | @echo this is the am__doit target >confinc.out | |
12599 | @echo this is the am__doit target | |
12600 | 12600 | .PHONY: am__doit |
12601 | 12601 | END |
12602 | # If we don't find an include directive, just comment out the code. | |
12603 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | |
12604 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
12602 | 12605 | am__include="#" |
12603 | 12606 | am__quote= |
12604 | # BSD make does it like this. | |
12605 | echo '.include "confinc.mk" # ignored' > confmf.BSD | |
12606 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. | |
12607 | echo 'include confinc.mk # ignored' > confmf.GNU | |
12608 | _am_result=no | |
12609 | for s in GNU BSD; do | |
12610 | { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 | |
12611 | (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 | |
12612 | ac_status=$? | |
12613 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12614 | (exit $ac_status); } | |
12615 | case $?:`cat confinc.out 2>/dev/null` in #( | |
12616 | '0:this is the am__doit target') : | |
12617 | case $s in #( | |
12618 | BSD) : | |
12619 | am__include='.include' am__quote='"' ;; #( | |
12620 | *) : | |
12621 | am__include='include' am__quote='' ;; | |
12622 | esac ;; #( | |
12623 | *) : | |
12607 | _am_result=none | |
12608 | # First try GNU make style include. | |
12609 | echo "include confinc" > confmf | |
12610 | # Ignore all kinds of additional output from 'make'. | |
12611 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
12612 | *the\ am__doit\ target*) | |
12613 | am__include=include | |
12614 | am__quote= | |
12615 | _am_result=GNU | |
12616 | ;; | |
12617 | esac | |
12618 | # Now try BSD make style include. | |
12619 | if test "$am__include" = "#"; then | |
12620 | echo '.include "confinc"' > confmf | |
12621 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
12622 | *the\ am__doit\ target*) | |
12623 | am__include=.include | |
12624 | am__quote="\"" | |
12625 | _am_result=BSD | |
12624 | 12626 | ;; |
12625 | esac | |
12626 | if test "$am__include" != "#"; then | |
12627 | _am_result="yes ($s style)" | |
12628 | break | |
12629 | fi | |
12630 | done | |
12631 | rm -f confinc.* confmf.* | |
12632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 | |
12633 | $as_echo "${_am_result}" >&6; } | |
12627 | esac | |
12628 | fi | |
12629 | ||
12630 | ||
12631 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
12632 | $as_echo "$_am_result" >&6; } | |
12633 | rm -f confinc confmf | |
12634 | 12634 | |
12635 | 12635 | # Check whether --enable-dependency-tracking was given. |
12636 | 12636 | if test "${enable_dependency_tracking+set}" = set; then : |
12712 | 12712 | |
12713 | 12713 | # Define the identity of the package. |
12714 | 12714 | PACKAGE='xdg-desktop-portal' |
12715 | VERSION='0.99' | |
12715 | VERSION='1.0' | |
12716 | 12716 | |
12717 | 12717 | |
12718 | 12718 | # Some tools Automake needs. |
12733 | 12733 | |
12734 | 12734 | # For better backward compatibility. To be removed once Automake 1.9.x |
12735 | 12735 | # dies out for good. For more background, see: |
12736 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
12737 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
12736 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
12737 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
12738 | 12738 | mkdir_p='$(MKDIR_P)' |
12739 | 12739 | |
12740 | 12740 | # We need awk for the "check" target (and possibly the TAP driver). The |
13029 | 13029 | Aborting the configuration process, to ensure you take notice of the issue. |
13030 | 13030 | |
13031 | 13031 | You can download and install GNU coreutils to get an 'rm' implementation |
13032 | that behaves properly: <https://www.gnu.org/software/coreutils/>. | |
13032 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
13033 | 13033 | |
13034 | 13034 | If you want to complete the configuration process using your problematic |
13035 | 13035 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
15515 | 15515 | pkg_cv_PIPEWIRE_CFLAGS="$PIPEWIRE_CFLAGS" |
15516 | 15516 | elif test -n "$PKG_CONFIG"; then |
15517 | 15517 | if test -n "$PKG_CONFIG" && \ |
15518 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpipewire-0.1 >= 0.1.8\""; } >&5 | |
15519 | ($PKG_CONFIG --exists --print-errors "libpipewire-0.1 >= 0.1.8") 2>&5 | |
15518 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpipewire-0.2 >= 0.2.2\""; } >&5 | |
15519 | ($PKG_CONFIG --exists --print-errors "libpipewire-0.2 >= 0.2.2") 2>&5 | |
15520 | 15520 | ac_status=$? |
15521 | 15521 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15522 | 15522 | test $ac_status = 0; }; then |
15523 | pkg_cv_PIPEWIRE_CFLAGS=`$PKG_CONFIG --cflags "libpipewire-0.1 >= 0.1.8" 2>/dev/null` | |
15523 | pkg_cv_PIPEWIRE_CFLAGS=`$PKG_CONFIG --cflags "libpipewire-0.2 >= 0.2.2" 2>/dev/null` | |
15524 | 15524 | test "x$?" != "x0" && pkg_failed=yes |
15525 | 15525 | else |
15526 | 15526 | pkg_failed=yes |
15532 | 15532 | pkg_cv_PIPEWIRE_LIBS="$PIPEWIRE_LIBS" |
15533 | 15533 | elif test -n "$PKG_CONFIG"; then |
15534 | 15534 | if test -n "$PKG_CONFIG" && \ |
15535 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpipewire-0.1 >= 0.1.8\""; } >&5 | |
15536 | ($PKG_CONFIG --exists --print-errors "libpipewire-0.1 >= 0.1.8") 2>&5 | |
15535 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpipewire-0.2 >= 0.2.2\""; } >&5 | |
15536 | ($PKG_CONFIG --exists --print-errors "libpipewire-0.2 >= 0.2.2") 2>&5 | |
15537 | 15537 | ac_status=$? |
15538 | 15538 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15539 | 15539 | test $ac_status = 0; }; then |
15540 | pkg_cv_PIPEWIRE_LIBS=`$PKG_CONFIG --libs "libpipewire-0.1 >= 0.1.8" 2>/dev/null` | |
15540 | pkg_cv_PIPEWIRE_LIBS=`$PKG_CONFIG --libs "libpipewire-0.2 >= 0.2.2" 2>/dev/null` | |
15541 | 15541 | test "x$?" != "x0" && pkg_failed=yes |
15542 | 15542 | else |
15543 | 15543 | pkg_failed=yes |
15558 | 15558 | _pkg_short_errors_supported=no |
15559 | 15559 | fi |
15560 | 15560 | if test $_pkg_short_errors_supported = yes; then |
15561 | PIPEWIRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpipewire-0.1 >= 0.1.8" 2>&1` | |
15561 | PIPEWIRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpipewire-0.2 >= 0.2.2" 2>&1` | |
15562 | 15562 | else |
15563 | PIPEWIRE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpipewire-0.1 >= 0.1.8" 2>&1` | |
15563 | PIPEWIRE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpipewire-0.2 >= 0.2.2" 2>&1` | |
15564 | 15564 | fi |
15565 | 15565 | # Put the nasty error message in config.log where it belongs |
15566 | 15566 | echo "$PIPEWIRE_PKG_ERRORS" >&5 |
15567 | 15567 | |
15568 | as_fn_error $? "Package requirements (libpipewire-0.1 >= 0.1.8) were not met: | |
15568 | as_fn_error $? "Package requirements (libpipewire-0.2 >= 0.2.2) were not met: | |
15569 | 15569 | |
15570 | 15570 | $PIPEWIRE_PKG_ERRORS |
15571 | 15571 | |
16565 | 16565 | # report actual input values of CONFIG_FILES etc. instead of their |
16566 | 16566 | # values after options handling. |
16567 | 16567 | ac_log=" |
16568 | This file was extended by xdg-desktop-portal $as_me 0.99, which was | |
16568 | This file was extended by xdg-desktop-portal $as_me 1.0, which was | |
16569 | 16569 | generated by GNU Autoconf 2.69. Invocation command line was |
16570 | 16570 | |
16571 | 16571 | CONFIG_FILES = $CONFIG_FILES |
16631 | 16631 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16632 | 16632 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
16633 | 16633 | ac_cs_version="\\ |
16634 | xdg-desktop-portal config.status 0.99 | |
16634 | xdg-desktop-portal config.status 1.0 | |
16635 | 16635 | configured by $0, generated by GNU Autoconf 2.69, |
16636 | 16636 | with options \\"\$ac_cs_config\\" |
16637 | 16637 | |
17033 | 17033 | |
17034 | 17034 | |
17035 | 17035 | |
17036 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" | |
17036 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
17037 | 17037 | # Capture the value of obsolete ALL_LINGUAS because we need it to compute |
17038 | 17038 | # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it |
17039 | 17039 | # from automake < 1.5. |
18201 | 18201 | # Older Autoconf quotes --file arguments for eval, but not when files |
18202 | 18202 | # are listed without --file. Let's play safe and only enable the eval |
18203 | 18203 | # if we detect the quoting. |
18204 | # TODO: see whether this extra hack can be removed once we start | |
18205 | # requiring Autoconf 2.70 or later. | |
18206 | case $CONFIG_FILES in #( | |
18207 | *\'*) : | |
18208 | eval set x "$CONFIG_FILES" ;; #( | |
18209 | *) : | |
18210 | set x $CONFIG_FILES ;; #( | |
18211 | *) : | |
18212 | ;; | |
18213 | esac | |
18204 | case $CONFIG_FILES in | |
18205 | *\'*) eval set x "$CONFIG_FILES" ;; | |
18206 | *) set x $CONFIG_FILES ;; | |
18207 | esac | |
18214 | 18208 | shift |
18215 | # Used to flag and report bootstrapping failures. | |
18216 | am_rc=0 | |
18217 | for am_mf | |
18209 | for mf | |
18218 | 18210 | do |
18219 | 18211 | # Strip MF so we end up with the name of the file. |
18220 | am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` | |
18221 | # Check whether this is an Automake generated Makefile which includes | |
18222 | # dependency-tracking related rules and includes. | |
18223 | # Grep'ing the whole file directly is not great: AIX grep has a line | |
18212 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
18213 | # Check whether this is an Automake generated Makefile or not. | |
18214 | # We used to match only the files named 'Makefile.in', but | |
18215 | # some people rename them; so instead we look at the file content. | |
18216 | # Grep'ing the first line is not enough: some people post-process | |
18217 | # each Makefile.in and add a new line on top of each file to say so. | |
18218 | # Grep'ing the whole file is not good either: AIX grep has a line | |
18224 | 18219 | # limit of 2048, but all sed's we know have understand at least 4000. |
18225 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ | |
18226 | || continue | |
18227 | am_dirpart=`$as_dirname -- "$am_mf" || | |
18228 | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
18229 | X"$am_mf" : 'X\(//\)[^/]' \| \ | |
18230 | X"$am_mf" : 'X\(//\)$' \| \ | |
18231 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |
18232 | $as_echo X"$am_mf" | | |
18220 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
18221 | dirpart=`$as_dirname -- "$mf" || | |
18222 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
18223 | X"$mf" : 'X\(//\)[^/]' \| \ | |
18224 | X"$mf" : 'X\(//\)$' \| \ | |
18225 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
18226 | $as_echo X"$mf" | | |
18233 | 18227 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
18234 | 18228 | s//\1/ |
18235 | 18229 | q |
18247 | 18241 | q |
18248 | 18242 | } |
18249 | 18243 | s/.*/./; q'` |
18250 | am_filepart=`$as_basename -- "$am_mf" || | |
18251 | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ | |
18252 | X"$am_mf" : 'X\(//\)$' \| \ | |
18253 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |
18254 | $as_echo X/"$am_mf" | | |
18255 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
18244 | else | |
18245 | continue | |
18246 | fi | |
18247 | # Extract the definition of DEPDIR, am__include, and am__quote | |
18248 | # from the Makefile without running 'make'. | |
18249 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
18250 | test -z "$DEPDIR" && continue | |
18251 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
18252 | test -z "$am__include" && continue | |
18253 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
18254 | # Find all dependency output files, they are included files with | |
18255 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
18256 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
18257 | # expansion. | |
18258 | for file in `sed -n " | |
18259 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
18260 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
18261 | # Make sure the directory exists. | |
18262 | test -f "$dirpart/$file" && continue | |
18263 | fdir=`$as_dirname -- "$file" || | |
18264 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
18265 | X"$file" : 'X\(//\)[^/]' \| \ | |
18266 | X"$file" : 'X\(//\)$' \| \ | |
18267 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
18268 | $as_echo X"$file" | | |
18269 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
18256 | 18270 | s//\1/ |
18257 | 18271 | q |
18258 | 18272 | } |
18259 | /^X\/\(\/\/\)$/{ | |
18273 | /^X\(\/\/\)[^/].*/{ | |
18260 | 18274 | s//\1/ |
18261 | 18275 | q |
18262 | 18276 | } |
18263 | /^X\/\(\/\).*/{ | |
18277 | /^X\(\/\/\)$/{ | |
18278 | s//\1/ | |
18279 | q | |
18280 | } | |
18281 | /^X\(\/\).*/{ | |
18264 | 18282 | s//\1/ |
18265 | 18283 | q |
18266 | 18284 | } |
18267 | 18285 | s/.*/./; q'` |
18268 | { echo "$as_me:$LINENO: cd "$am_dirpart" \ | |
18269 | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
18270 | | $MAKE -f - am--depfiles" >&5 | |
18271 | (cd "$am_dirpart" \ | |
18272 | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
18273 | | $MAKE -f - am--depfiles) >&5 2>&5 | |
18274 | ac_status=$? | |
18275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18276 | (exit $ac_status); } || am_rc=$? | |
18286 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
18287 | # echo "creating $dirpart/$file" | |
18288 | echo '# dummy' > "$dirpart/$file" | |
18289 | done | |
18277 | 18290 | done |
18278 | if test $am_rc -ne 0; then | |
18279 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
18280 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
18281 | as_fn_error $? "Something went wrong bootstrapping makefile fragments | |
18282 | for automatic dependency tracking. Try re-running configure with the | |
18283 | '--disable-dependency-tracking' option to at least be able to build | |
18284 | the package (albeit without support for automatic dependency tracking). | |
18285 | See \`config.log' for more details" "$LINENO" 5; } | |
18286 | fi | |
18287 | { am_dirpart=; unset am_dirpart;} | |
18288 | { am_filepart=; unset am_filepart;} | |
18289 | { am_mf=; unset am_mf;} | |
18290 | { am_rc=; unset am_rc;} | |
18291 | rm -f conftest-deps.mk | |
18292 | 18291 | } |
18293 | 18292 | ;; |
18294 | 18293 | "po-directories":C) |
0 | 0 | AC_PREREQ([2.63]) |
1 | 1 | |
2 | AC_INIT([xdg-desktop-portal],[0.99]) | |
2 | AC_INIT([xdg-desktop-portal],[1.0]) | |
3 | 3 | |
4 | 4 | AC_USE_SYSTEM_EXTENSIONS |
5 | 5 | AC_SYS_LARGEFILE |
66 | 66 | [AS_HELP_STRING([--enable-pipewire],[Enable PipeWire support. Needed for screen cast portal])], |
67 | 67 | enable_pipewire=$enableval, enable_pipewire=yes) |
68 | 68 | if test x$enable_pipewire = xyes ; then |
69 | PKG_CHECK_MODULES(PIPEWIRE, [libpipewire-0.1 >= 0.1.8]) | |
69 | PKG_CHECK_MODULES(PIPEWIRE, [libpipewire-0.2 >= 0.2.2]) | |
70 | 70 | AC_DEFINE([HAVE_PIPEWIRE],[1], [Define to enable PipeWire support]) |
71 | 71 | fi |
72 | 72 | AM_CONDITIONAL([HAVE_PIPEWIRE],[test "$enable_pipewire" = "yes"]) |
72 | 72 | <annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/> |
73 | 73 | <arg type="a{sv}" name="results" direction="out"/> |
74 | 74 | </method> |
75 | ||
76 | <!-- | |
77 | PickColor: | |
78 | @handle: Object path for the #org.freedesktop.impl.portal.Request object representing this call | |
79 | @app_id: App id of the application | |
80 | @parent_window: Identifier for the application window, see <link linkend="parent_window">Common Conventions</link> | |
81 | @options: Vardict with optional further information | |
82 | @response: Numeric response | |
83 | @results: Vardict with the results of the call | |
84 | ||
85 | Obtains the value of a pixel. | |
86 | ||
87 | The following results get returned via the @results vardict: | |
88 | <variablelist> | |
89 | <varlistentry> | |
90 | <term>color (ddd)</term> | |
91 | <listitem><para>The color, rgb values in the range [0,1].</para></listitem> | |
92 | </varlistentry> | |
93 | </variablelist> | |
94 | --> | |
95 | <method name="PickColor"> | |
96 | <arg type="o" name="handle" direction="in"/> | |
97 | <arg type="s" name="app_id" direction="in"/> | |
98 | <arg type="s" name="parent_window" direction="in"/> | |
99 | <annotation name="org.qtproject.QtDBus.QtTypeName.In3" value="QVariantMap"/> | |
100 | <arg type="a{sv}" name="options" direction="in"/> | |
101 | <arg type="u" name="response" direction="out"/> | |
102 | <annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/> | |
103 | <arg type="a{sv}" name="results" direction="out"/> | |
104 | </method> | |
75 | 105 | </interface> |
76 | 106 | </node> |
41 | 41 | #org.freedesktop.ScreenCast.SelectSources with the |
42 | 42 | #org.freedesktop.Session object created with this method. |
43 | 43 | |
44 | Supported keys in the @options vardict include: | |
45 | <variablelist> | |
46 | <varlistentry> | |
47 | <term>handle_token s</term> | |
48 | <listitem><para> | |
49 | A string that will be used as the last element of the @handle. Must be a valid | |
50 | object path element. See the #org.freedesktop.portal.Request documentation for | |
51 | more information about the @handle. | |
52 | </para></listitem> | |
53 | </varlistentry> | |
54 | <varlistentry> | |
55 | <term>session_handle_token s</term> | |
56 | <listitem><para> | |
57 | A string that will be used as the last element of the session handle. Must be a valid | |
58 | object path element. See the #org.freedesktop.portal.Session documentation for | |
59 | more information about the session handle. | |
60 | </para></listitem> | |
61 | </varlistentry> | |
62 | </variablelist> | |
63 | ||
44 | 64 | The following results get returned via the #org.freedesktop.portal.Request::Response signal: |
45 | 65 | <variablelist> |
46 | 66 | <varlistentry> |
67 | 87 | |
68 | 88 | Supported keys in the @options vardict include: |
69 | 89 | <variablelist> |
90 | <varlistentry> | |
91 | <term>handle_token s</term> | |
92 | <listitem><para> | |
93 | A string that will be used as the last element of the @handle. Must be a valid | |
94 | object path element. See the #org.freedesktop.portal.Request documentation for | |
95 | more information about the @handle. | |
96 | </para></listitem> | |
97 | </varlistentry> | |
70 | 98 | <varlistentry> |
71 | 99 | <term>type u</term> |
72 | 100 | <listitem><para> |
95 | 123 | devices and optionally screen content if screen cast sources was |
96 | 124 | selected. |
97 | 125 | |
126 | Supported keys in the @options vardict include: | |
127 | <variablelist> | |
128 | <varlistentry> | |
129 | <term>handle_token s</term> | |
130 | <listitem><para> | |
131 | A string that will be used as the last element of the @handle. Must be a valid | |
132 | object path element. See the #org.freedesktop.portal.Request documentation for | |
133 | more information about the @handle. | |
134 | </para></listitem> | |
135 | </varlistentry> | |
136 | </variablelist> | |
137 | ||
98 | 138 | The following results get returned via the |
99 | 139 | #org.freedesktop.portal.Request::Response signal: |
100 | 140 | <variablelist> |
38 | 38 | Supported keys in the @options vardict include: |
39 | 39 | <variablelist> |
40 | 40 | <varlistentry> |
41 | <term>session_handle_token s</term> | |
41 | <term>handle_token s</term> | |
42 | 42 | <listitem><para> |
43 | 43 | A string that will be used as the last element of the @handle. Must be a valid |
44 | 44 | object path element. See the #org.freedesktop.portal.Request documentation for |
45 | 45 | more information about the @handle. |
46 | 46 | </para></listitem> |
47 | 47 | </varlistentry> |
48 | <varlistentry> | |
49 | <term>session_handle_token s</term> | |
50 | <listitem><para> | |
51 | A string that will be used as the last element of the session handle. Must be a valid | |
52 | object path element. See the #org.freedesktop.portal.Session documentation for | |
53 | more information about the session handle. | |
54 | </para></listitem> | |
55 | </varlistentry> | |
48 | 56 | </variablelist> |
49 | 57 | |
50 | 58 | The following results get returned via the #org.freedesktop.portal.Request::Response signal: |
79 | 87 | Supported keys in the @options vardict include: |
80 | 88 | <variablelist> |
81 | 89 | <varlistentry> |
90 | <term>handle_token s</term> | |
91 | <listitem><para> | |
92 | A string that will be used as the last element of the @handle. Must be a valid | |
93 | object path element. See the #org.freedesktop.portal.Request documentation for | |
94 | more information about the @handle. | |
95 | </para></listitem> | |
96 | </varlistentry> | |
97 | <varlistentry> | |
82 | 98 | <term>types u</term> |
83 | 99 | <listitem><para> |
84 | 100 | Bitmask of what types of content to record. Default is MONITOR. |
112 | 128 | |
113 | 129 | A screen cast session may only be started after having selected sources |
114 | 130 | using org.freedesktop.portal.ScreenCast::SelectSources. |
131 | ||
132 | Supported keys in the @options vardict include: | |
133 | <variablelist> | |
134 | <varlistentry> | |
135 | <term>handle_token s</term> | |
136 | <listitem><para> | |
137 | A string that will be used as the last element of the @handle. Must be a valid | |
138 | object path element. See the #org.freedesktop.portal.Request documentation for | |
139 | more information about the @handle. | |
140 | </para></listitem> | |
141 | </varlistentry> | |
142 | </variablelist> | |
115 | 143 | |
116 | 144 | The following results get returned via the |
117 | 145 | #org.freedesktop.portal.Request::Response signal: |
28 | 28 | via the document portal, and the returned URI will point |
29 | 29 | into the document portal fuse filesystem in /run/user/$UID/doc/. |
30 | 30 | |
31 | This documentation describes version 1 of this interface. | |
31 | This documentation describes version 2 of this interface. | |
32 | 32 | --> |
33 | 33 | <interface name="org.freedesktop.portal.Screenshot"> |
34 | 34 | <!-- |
35 | 35 | Screenshot: |
36 | Supported keys in the @options vardict include: | |
36 | 37 | @parent_window: Identifier for the application window, see <link linkend="parent_window">Common Conventions</link> |
37 | 38 | @options: Vardict with optional further information |
38 | 39 | @handle: Object path for the #org.freedesktop.portal.Request object representing this call |
78 | 79 | <arg type="a{sv}" name="options" direction="in"/> |
79 | 80 | <arg type="o" name="handle" direction="out"/> |
80 | 81 | </method> |
82 | <!-- | |
83 | PickColor: | |
84 | @parent_window: Identifier for the application window, see <link linkend="parent_window">Common Conventions</link> | |
85 | @options: Vardict with optional further information | |
86 | @handle: Object path for the #org.freedesktop.portal.Request object representing this call | |
87 | ||
88 | Obtains the color of a single pixel. | |
89 | ||
90 | Supported keys in the @options vardict include: | |
91 | <variablelist> | |
92 | <varlistentry> | |
93 | <term>handle_token s</term> | |
94 | <listitem><para> | |
95 | A string that will be used as the last element of the @handle. Must be a valid | |
96 | object path element. See the #org.freedesktop.portal.Request documentation for | |
97 | more information about the @handle. | |
98 | </para></listitem> | |
99 | </varlistentry> | |
100 | </variablelist> | |
101 | ||
102 | The following results get returned via the #org.freedesktop.portal.Request::Response signal: | |
103 | <variablelist> | |
104 | <varlistentry> | |
105 | <term>color (ddd)</term> | |
106 | <listitem><para>The color, rgb values in the range [0,1].</para></listitem> | |
107 | </varlistentry> | |
108 | </variablelist> | |
109 | --> | |
110 | <method name="PickColor"> | |
111 | <arg type="s" name="parent_window" direction="in"/> | |
112 | <arg type="a{sv}" name="options" direction="in"/> | |
113 | <arg type="o" name="handle" direction="out"/> | |
114 | </method> | |
81 | 115 | <property name="version" type="u" access="read"/> |
82 | 116 | </interface> |
83 | 117 | </node> |
24 | 24 | |
25 | 25 | The Session interface is shared by all portal interfaces that involve |
26 | 26 | long lived sessions. When a method that creates a session is called, if |
27 | succesful, the reply will include a session handle (i.e. object path) for | |
27 | successful, the reply will include a session handle (i.e. object path) for | |
28 | 28 | a Session object, which will stay alive for the duration of the session. |
29 | 29 | |
30 | 30 | The duration of the session is defined by the interface that creates it. |
0 | #! /bin/sh | |
0 | #!/bin/sh | |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
3 | scriptversion=2016-01-11.22; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
6 | 6 | |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
15 | 15 | # GNU General Public License for more details. |
16 | 16 | |
17 | 17 | # You should have received a copy of the GNU General Public License |
18 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | |
18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 | 19 | |
20 | 20 | # As a special exception to the GNU General Public License, if you |
21 | 21 | # distribute this file as part of a program that contains a |
782 | 782 | # Local Variables: |
783 | 783 | # mode: shell-script |
784 | 784 | # sh-indentation: 2 |
785 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
785 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
786 | 786 | # time-stamp-start: "scriptversion=" |
787 | 787 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
788 | 788 | # time-stamp-time-zone: "UTC0" |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.15.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
416 | 416 | *config.status*) \ |
417 | 417 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
418 | 418 | *) \ |
419 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ | |
420 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ | |
419 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
420 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
421 | 421 | esac; |
422 | 422 | |
423 | 423 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
464 | 464 | cscope cscopelist: |
465 | 465 | |
466 | 466 | |
467 | distdir: $(BUILT_SOURCES) | |
468 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
469 | ||
470 | distdir-am: $(DISTFILES) | |
467 | distdir: $(DISTFILES) | |
471 | 468 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
472 | 469 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
473 | 470 | list='$(DISTFILES)'; \ |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2018-03-11.20; # UTC | |
3 | scriptversion=2016-01-11.22; # UTC | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
270 | 270 | fi |
271 | 271 | dst=$dst_arg |
272 | 272 | |
273 | # If destination is a directory, append the input filename. | |
273 | # If destination is a directory, append the input filename; won't work | |
274 | # if double slashes aren't ignored. | |
274 | 275 | if test -d "$dst"; then |
275 | 276 | if test "$is_target_a_directory" = never; then |
276 | 277 | echo "$0: $dst_arg: Is a directory" >&2 |
277 | 278 | exit 1 |
278 | 279 | fi |
279 | 280 | dstdir=$dst |
280 | dstbase=`basename "$src"` | |
281 | case $dst in | |
282 | */) dst=$dst$dstbase;; | |
283 | *) dst=$dst/$dstbase;; | |
284 | esac | |
281 | dst=$dstdir/`basename "$src"` | |
285 | 282 | dstdir_status=0 |
286 | 283 | else |
287 | 284 | dstdir=`dirname "$dst"` |
289 | 286 | dstdir_status=$? |
290 | 287 | fi |
291 | 288 | fi |
292 | ||
293 | case $dstdir in | |
294 | */) dstdirslash=$dstdir;; | |
295 | *) dstdirslash=$dstdir/;; | |
296 | esac | |
297 | 289 | |
298 | 290 | obsolete_mkdir_used=false |
299 | 291 | |
331 | 323 | # is incompatible with FreeBSD 'install' when (umask & 300) != 0. |
332 | 324 | ;; |
333 | 325 | *) |
334 | # Note that $RANDOM variable is not portable (e.g. dash); Use it | |
335 | # here however when possible just to lower collision chance. | |
336 | 326 | tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ |
337 | ||
338 | trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 | |
339 | ||
340 | # Because "mkdir -p" follows existing symlinks and we likely work | |
341 | # directly in world-writeable /tmp, make sure that the '$tmpdir' | |
342 | # directory is successfully created first before we actually test | |
343 | # 'mkdir -p' feature. | |
327 | trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 | |
328 | ||
344 | 329 | if (umask $mkdir_umask && |
345 | $mkdirprog $mkdir_mode "$tmpdir" && | |
346 | exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 | |
330 | exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 | |
347 | 331 | then |
348 | 332 | if test -z "$dir_arg" || { |
349 | 333 | # Check for POSIX incompatibilities with -m. |
350 | 334 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or |
351 | 335 | # other-writable bit of parent directory when it shouldn't. |
352 | 336 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. |
353 | test_tmpdir="$tmpdir/a" | |
354 | ls_ld_tmpdir=`ls -ld "$test_tmpdir"` | |
337 | ls_ld_tmpdir=`ls -ld "$tmpdir"` | |
355 | 338 | case $ls_ld_tmpdir in |
356 | 339 | d????-?r-*) different_mode=700;; |
357 | 340 | d????-?--*) different_mode=755;; |
358 | 341 | *) false;; |
359 | 342 | esac && |
360 | $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { | |
361 | ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` | |
343 | $mkdirprog -m$different_mode -p -- "$tmpdir" && { | |
344 | ls_ld_tmpdir_1=`ls -ld "$tmpdir"` | |
362 | 345 | test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" |
363 | 346 | } |
364 | 347 | } |
365 | 348 | then posix_mkdir=: |
366 | 349 | fi |
367 | rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" | |
350 | rmdir "$tmpdir/d" "$tmpdir" | |
368 | 351 | else |
369 | 352 | # Remove any dirs left behind by ancient mkdir implementations. |
370 | rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null | |
353 | rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null | |
371 | 354 | fi |
372 | 355 | trap '' 0;; |
373 | 356 | esac;; |
443 | 426 | else |
444 | 427 | |
445 | 428 | # Make a couple of temp file names in the proper directory. |
446 | dsttmp=${dstdirslash}_inst.$$_ | |
447 | rmtmp=${dstdirslash}_rm.$$_ | |
429 | dsttmp=$dstdir/_inst.$$_ | |
430 | rmtmp=$dstdir/_rm.$$_ | |
448 | 431 | |
449 | 432 | # Trap to clean up those temp files at exit. |
450 | 433 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
509 | 492 | done |
510 | 493 | |
511 | 494 | # Local variables: |
512 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
495 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
513 | 496 | # time-stamp-start: "scriptversion=" |
514 | 497 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
515 | 498 | # time-stamp-time-zone: "UTC0" |
0 | #! /bin/sh | |
0 | #!/bin/sh | |
1 | 1 | # Common wrapper for a few potentially missing GNU programs. |
2 | 2 | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | ||
5 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
3 | scriptversion=2016-01-11.22; # UTC | |
4 | ||
5 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
6 | 6 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
7 | 7 | |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | |
18 | 18 | # You should have received a copy of the GNU General Public License |
19 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
100 | 100 | exit $st |
101 | 101 | fi |
102 | 102 | |
103 | perl_URL=https://www.perl.org/ | |
104 | flex_URL=https://github.com/westes/flex | |
105 | gnu_software_URL=https://www.gnu.org/software | |
103 | perl_URL=http://www.perl.org/ | |
104 | flex_URL=http://flex.sourceforge.net/ | |
105 | gnu_software_URL=http://www.gnu.org/software | |
106 | 106 | |
107 | 107 | program_details () |
108 | 108 | { |
206 | 206 | exit $st |
207 | 207 | |
208 | 208 | # Local variables: |
209 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
209 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
210 | 210 | # time-stamp-start: "scriptversion=" |
211 | 211 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
212 | 212 | # time-stamp-time-zone: "UTC0" |
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: xdg-desktop-portal master\n" |
9 | 9 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
10 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
10 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
11 | 11 | "PO-Revision-Date: 2016-11-09 12:23+0100\n" |
12 | 12 | "Last-Translator: Marek Černocký <marek@manet.cz>\n" |
13 | 13 | "Language-Team: Czech <gnome-cs-list@gnome.org>\n" |
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: xdg-desktop-portal master\n" |
9 | 9 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
10 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
10 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
11 | 11 | "PO-Revision-Date: 2016-09-23 19:17+0200\n" |
12 | 12 | "Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n" |
13 | 13 | "Language-Team: German <gnome-de@gnome.org>\n" |
5 | 5 | msgstr "" |
6 | 6 | "Project-Id-Version: xdg-desktop-portal master\n" |
7 | 7 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
8 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
8 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
9 | 9 | "PO-Revision-Date: 2018-02-20 14:43-0600\n" |
10 | 10 | "Last-Translator: Adolfo Jayme Barrientos <fitojb@ubuntu.com>\n" |
11 | 11 | "Language-Team: Spanish\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2017-03-02 11:34+0100\n" |
11 | 11 | "Last-Translator: Nicolas Cuffia <cuffia.cuceglio@vivaldi.net>\n" |
12 | 12 | "Language-Team: French <gnomefr@traduc.org>\n" |
5 | 5 | msgstr "" |
6 | 6 | "Project-Id-Version: xdg-desktop-portal master\n" |
7 | 7 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
8 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
8 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
9 | 9 | "PO-Revision-Date: 2017-09-26 12:24+0200\n" |
10 | 10 | "Last-Translator: Fran Dieguez <frandieguez@gnome.org>\n" |
11 | 11 | "Language-Team: Galician\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2016-07-30 15:55+0100\n" |
11 | 11 | "Last-Translator: Balázs Úr <urbalazs@gmail.com>\n" |
12 | 12 | "Language-Team: Hungarian <gnome-hu-list at gnome dot org>\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2017-08-18 19:48+0700\n" |
11 | 11 | "Last-Translator: Kukuh Syafaat <syafaatkukuh@gmail.com>\n" |
12 | 12 | "Language-Team: Indonesian <gnome-l10n-id@googlegroups.com>\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2017-06-02 11:21+0200\n" |
11 | 11 | "Last-Translator: Milo Casagrande <milo@milo.name>\n" |
12 | 12 | "Language-Team: Italian <gnome-it-list@gnome.org>\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2018-02-13 01:08+0200\n" |
11 | 11 | "Last-Translator: Moo\n" |
12 | 12 | "Language-Team: Lithuanian <gnome-lt@lists.akl.lt>\n" |
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: xdg-desktop-portal\n" |
9 | 9 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
10 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
10 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
11 | 11 | "PO-Revision-Date: 2017-01-16 14:01+0100\n" |
12 | 12 | "Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n" |
13 | 13 | "Language-Team: Polish <community-poland@mozilla.org>\n" |
Binary diff not shown
5 | 5 | msgstr "" |
6 | 6 | "Project-Id-Version: xdg-desktop-portal master\n" |
7 | 7 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
8 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
8 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
9 | 9 | "PO-Revision-Date: 2016-08-10 08:25-0200\n" |
10 | 10 | "Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n" |
11 | 11 | "Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2016-08-08 09:14+0200\n" |
11 | 11 | "Last-Translator: Dušan Kazik <prescott66@gmail.com>\n" |
12 | 12 | "Language-Team: Slovak <gnome-sk-list@gnome.org>\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2016-09-14 12:54+0200\n" |
11 | 11 | "Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n" |
12 | 12 | "Language-Team: српски <gnome-sr@googlegroups.org>\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2016-08-14 13:43+0800\n" |
11 | 11 | "Last-Translator: Sebastian Rasmussen <sebras@gmail.com>\n" |
12 | 12 | "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2017-10-06 21:38+0300\n" |
11 | 11 | "Last-Translator: Muhammet Kara <muhammetk@gmail.com>\n" |
12 | 12 | "Language-Team: Türkçe <gnome-turk@gnome.org>\n" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2016-08-26 12:25+0300\n" |
11 | 11 | "Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n" |
12 | 12 | "Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n" |
5 | 5 | #, fuzzy |
6 | 6 | msgid "" |
7 | 7 | msgstr "" |
8 | "Project-Id-Version: xdg-desktop-portal 0.99\n" | |
8 | "Project-Id-Version: xdg-desktop-portal 1.0\n" | |
9 | 9 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
10 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
10 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
11 | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 | 13 | "Language-Team: LANGUAGE <LL@li.org>\n" |
Binary diff not shown
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2016-10-28 17:59-0400\n" |
11 | 11 | "Last-Translator: Mingye Wang (Arthur2e5) <arthur200126@gmail.com>\n" |
12 | 12 | "Language-Team: Chinese (China) <i18n-zh@googlegroups.com>\n" |
Binary diff not shown
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: xdg-desktop-portal master\n" |
8 | 8 | "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n" |
9 | "POT-Creation-Date: 2018-07-24 01:02+0000\n" | |
9 | "POT-Creation-Date: 2018-08-20 11:47+0000\n" | |
10 | 10 | "PO-Revision-Date: 2018-03-26 20:40+0800\n" |
11 | 11 | "Last-Translator: Cheng-Chia Tseng <pswo10680@gmail.com>\n" |
12 | 12 | "Language-Team: Chinese (Taiwan) <chinese-l10n@googlegroups.com>\n" |
70 | 70 | guint response; |
71 | 71 | GVariant *options; |
72 | 72 | g_autoptr(GError) error = NULL; |
73 | const char *uri; | |
74 | g_autofree char *ruri = NULL; | |
73 | const char *retval; | |
75 | 74 | |
76 | 75 | REQUEST_AUTOLOCK (request); |
77 | 76 | |
83 | 82 | if (response != 0) |
84 | 83 | goto out; |
85 | 84 | |
86 | if (!g_variant_lookup (options, "uri", "&s", &uri)) | |
87 | { | |
88 | g_warning ("No URI was provided"); | |
89 | goto out; | |
90 | } | |
91 | ||
92 | ruri = register_document (uri, xdp_app_info_get_id (request->app_info), FALSE, FALSE, &error); | |
93 | if (ruri == NULL) | |
94 | g_warning ("Failed to register %s: %s", uri, error->message); | |
85 | retval = g_object_get_data (G_OBJECT (task), "retval"); | |
86 | if (g_strcmp0 (retval, "url") == 0) | |
87 | { | |
88 | const char *uri; | |
89 | g_autofree char *ruri = NULL; | |
90 | ||
91 | if (!g_variant_lookup (options, "uri", "&s", &uri)) | |
92 | { | |
93 | g_warning ("No URI was provided"); | |
94 | goto out; | |
95 | } | |
96 | ||
97 | ruri = register_document (uri, xdp_app_info_get_id (request->app_info), FALSE, FALSE, &error); | |
98 | if (ruri == NULL) | |
99 | g_warning ("Failed to register %s: %s", uri, error->message); | |
100 | else | |
101 | g_variant_builder_add (&results, "{&sv}", "uri", g_variant_new_string (ruri)); | |
102 | } | |
103 | else if (g_strcmp0 (retval, "color") == 0) | |
104 | { | |
105 | double red, green, blue; | |
106 | ||
107 | if (!g_variant_lookup (options, "color", "(ddd)", &red, &green, &blue)) | |
108 | { | |
109 | g_warning ("No color was provided"); | |
110 | goto out; | |
111 | } | |
112 | ||
113 | g_variant_builder_add (&results, "{&sv}", "color", g_variant_new ("(ddd)", red, green, blue)); | |
114 | } | |
95 | 115 | else |
96 | g_variant_builder_add (&results, "{&sv}", "uri", g_variant_new_string (ruri)); | |
116 | { | |
117 | g_warning ("Don't know what to return"); | |
118 | } | |
97 | 119 | |
98 | 120 | out: |
99 | 121 | if (request->exported) |
131 | 153 | |
132 | 154 | task = g_task_new (NULL, NULL, NULL, NULL); |
133 | 155 | g_task_set_task_data (task, g_object_ref (request), g_object_unref); |
156 | g_object_set_data (G_OBJECT (task), "retval", "url"); | |
134 | 157 | g_task_run_in_thread (task, send_response_in_thread_func); |
135 | 158 | } |
136 | 159 | |
185 | 208 | } |
186 | 209 | |
187 | 210 | static void |
211 | pick_color_done (GObject *source, | |
212 | GAsyncResult *result, | |
213 | gpointer data) | |
214 | { | |
215 | g_autoptr(Request) request = data; | |
216 | guint response = 2; | |
217 | g_autoptr(GVariant) options = NULL; | |
218 | g_autoptr(GError) error = NULL; | |
219 | g_autoptr(GTask) task = NULL; | |
220 | ||
221 | if (!xdp_impl_screenshot_call_pick_color_finish (XDP_IMPL_SCREENSHOT (source), | |
222 | &response, | |
223 | &options, | |
224 | result, | |
225 | &error)) | |
226 | { | |
227 | g_warning ("A backend call failed: %s", error->message); | |
228 | } | |
229 | ||
230 | g_object_set_data (G_OBJECT (request), "response", GINT_TO_POINTER (response)); | |
231 | if (options) | |
232 | g_object_set_data_full (G_OBJECT (request), "options", g_variant_ref (options), (GDestroyNotify)g_variant_unref); | |
233 | ||
234 | task = g_task_new (NULL, NULL, NULL, NULL); | |
235 | g_task_set_task_data (task, g_object_ref (request), g_object_unref); | |
236 | g_object_set_data (G_OBJECT (task), "retval", "color"); | |
237 | g_task_run_in_thread (task, send_response_in_thread_func); | |
238 | } | |
239 | ||
240 | static XdpOptionKey pick_color_options[] = { | |
241 | }; | |
242 | ||
243 | static gboolean | |
244 | handle_pick_color (XdpScreenshot *object, | |
245 | GDBusMethodInvocation *invocation, | |
246 | const gchar *arg_parent_window, | |
247 | GVariant *arg_options) | |
248 | { | |
249 | Request *request = request_from_invocation (invocation); | |
250 | g_autoptr(GError) error = NULL; | |
251 | g_autoptr(XdpImplRequest) impl_request = NULL; | |
252 | GVariantBuilder opt_builder; | |
253 | ||
254 | REQUEST_AUTOLOCK (request); | |
255 | ||
256 | impl_request = xdp_impl_request_proxy_new_sync (g_dbus_proxy_get_connection (G_DBUS_PROXY (impl)), | |
257 | G_DBUS_PROXY_FLAGS_NONE, | |
258 | g_dbus_proxy_get_name (G_DBUS_PROXY (impl)), | |
259 | request->id, | |
260 | NULL, &error); | |
261 | if (!impl_request) | |
262 | { | |
263 | g_dbus_method_invocation_return_gerror (invocation, error); | |
264 | return TRUE; | |
265 | } | |
266 | ||
267 | request_set_impl_request (request, impl_request); | |
268 | request_export (request, g_dbus_method_invocation_get_connection (invocation)); | |
269 | ||
270 | g_variant_builder_init (&opt_builder, G_VARIANT_TYPE_VARDICT); | |
271 | xdp_filter_options (arg_options, &opt_builder, | |
272 | pick_color_options, G_N_ELEMENTS (pick_color_options)); | |
273 | ||
274 | xdp_impl_screenshot_call_pick_color (impl, | |
275 | request->id, | |
276 | xdp_app_info_get_id (request->app_info), | |
277 | arg_parent_window, | |
278 | g_variant_builder_end (&opt_builder), | |
279 | NULL, | |
280 | pick_color_done, | |
281 | g_object_ref (request)); | |
282 | ||
283 | xdp_screenshot_complete_pick_color (object, invocation, request->id); | |
284 | ||
285 | return TRUE; | |
286 | } | |
287 | ||
288 | static void | |
188 | 289 | screenshot_iface_init (XdpScreenshotIface *iface) |
189 | 290 | { |
190 | 291 | iface->handle_screenshot = handle_screenshot; |
292 | iface->handle_pick_color = handle_pick_color; | |
191 | 293 | } |
192 | 294 | |
193 | 295 | static void |
194 | 296 | screenshot_init (Screenshot *fc) |
195 | 297 | { |
196 | xdp_screenshot_set_version (XDP_SCREENSHOT (fc), 1); | |
298 | xdp_screenshot_set_version (XDP_SCREENSHOT (fc), 2); | |
197 | 299 | } |
198 | 300 | |
199 | 301 | static void |
53 | 53 | |
54 | 54 | static GOptionEntry entries[] = { |
55 | 55 | { "verbose", 'v', 0, G_OPTION_ARG_NONE, &opt_verbose, "Print debug information during command processing", NULL }, |
56 | { "replace", 'r', 0, G_OPTION_ARG_NONE, &opt_replace, "Replace", NULL }, | |
56 | { "replace", 'r', 0, G_OPTION_ARG_NONE, &opt_replace, "Replace a running instance", NULL }, | |
57 | 57 | { NULL } |
58 | 58 | }; |
59 | 59 | |
469 | 469 | g_set_printerr_handler (printerr_handler); |
470 | 470 | |
471 | 471 | context = g_option_context_new ("- desktop portal"); |
472 | g_option_context_set_summary (context, | |
473 | "A portal service for flatpak and other desktop containment frameworks."); | |
474 | g_option_context_set_description (context, | |
475 | "xdg-desktop-portal works by exposing D-Bus interfaces known as portals\n" | |
476 | "under the well-known name org.freedesktop.portal.Desktop and object\n" | |
477 | "path /org/freedesktop/portal/desktop.\n" | |
478 | "\n" | |
479 | "Documentation for the available D-Bus interfaces can be found at\n" | |
480 | "https://flatpak.github.io/xdg-desktop-portal/portal-docs.html\n" | |
481 | "\n" | |
482 | "Please report issues at https://github.com/flatpak/xdg-desktop-portal/issues"); | |
472 | 483 | g_option_context_add_main_entries (context, entries, NULL); |
473 | 484 | if (!g_option_context_parse (context, &argc, &argv, &error)) |
474 | 485 | { |
0 | #! /bin/sh | |
0 | #!/bin/sh | |
1 | 1 | # test-driver - basic testsuite driver script. |
2 | 2 | |
3 | scriptversion=2018-03-07.03; # UTC | |
3 | scriptversion=2016-01-11.22; # UTC | |
4 | 4 | |
5 | # Copyright (C) 2011-2018 Free Software Foundation, Inc. | |
5 | # Copyright (C) 2011-2017 Free Software Foundation, Inc. | |
6 | 6 | # |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
15 | 15 | # GNU General Public License for more details. |
16 | 16 | # |
17 | 17 | # You should have received a copy of the GNU General Public License |
18 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | |
18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 | 19 | |
20 | 20 | # As a special exception to the GNU General Public License, if you |
21 | 21 | # distribute this file as part of a program that contains a |
139 | 139 | # Local Variables: |
140 | 140 | # mode: shell-script |
141 | 141 | # sh-indentation: 2 |
142 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
142 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
143 | 143 | # time-stamp-start: "scriptversion=" |
144 | 144 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
145 | 145 | # time-stamp-time-zone: "UTC0" |