Codebase list xdg-desktop-portal / 734c8b1
New upstream version 1.0 Simon McVittie 5 years ago
58 changed file(s) with 1226 addition(s) and 1110 deletion(s). Raw diff Collapse all Expand all
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
154154 CONFIG_HEADER = config.h
155155 CONFIG_CLEAN_FILES = xdg-desktop-portal.pc
156156 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)
175157 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
176158 am__vpath_adj = case $$p in \
177159 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
199181 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
200182 $(am__cd) "$$dir" && rm -f $$files; }; \
201183 }
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)"
202194 LTLIBRARIES = $(installed_test_LTLIBRARIES) $(lib_LTLIBRARIES) \
203195 $(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)
204204 am__dirstamp = $(am__leading_dot)dirstamp
205205 am_test_doc_portal_OBJECTS = \
206206 tests/test_doc_portal-test-doc-portal.$(OBJEXT)
336336 am__v_at_1 =
337337 DEFAULT_INCLUDES = -I.@am__isrc@
338338 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
385340 am__mv = mv -f
386341 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
387342 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
436391 $(RECURSIVE_CLEAN_TARGETS) \
437392 $(am__extra_recursive_targets)
438393 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
441395 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
442396 $(LISP)config.h.in
443397 # Read a list of newline-separated strings from the standard input,
11281082 echo ' $(SHELL) ./config.status'; \
11291083 $(SHELL) ./config.status;; \
11301084 *) \
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);; \
11331087 esac;
11341088 $(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):
11351089
11581112 -rm -f config.h stamp-h1
11591113 xdg-desktop-portal.pc: $(top_builddir)/config.status $(srcdir)/xdg-desktop-portal.pc.in
11601114 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 }
11611207 install-binPROGRAMS: $(bin_PROGRAMS)
11621208 @$(NORMAL_INSTALL)
11631209 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
13231369 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
13241370 echo " rm -f" $$list; \
13251371 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 }
14181372 tests/$(am__dirstamp):
14191373 @$(MKDIR_P) tests
14201374 @: > tests/$(am__dirstamp)
16131567 distclean-compile:
16141568 -rm -f *.tab.c
16151569
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@
16671615
16681616 .c.o:
16691617 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
27042652 fi; \
27052653 $$success || exit 1
27062654
2707 check-TESTS: $(check_PROGRAMS) $(check_LTLIBRARIES) $(check_SCRIPTS) $(check_DATA)
2655 check-TESTS:
27082656 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
27092657 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
27102658 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
27142662 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
27152663 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
27162664 exit $$?;
2717 recheck: all $(check_PROGRAMS) $(check_LTLIBRARIES) $(check_SCRIPTS) $(check_DATA)
2665 recheck: all $(check_LTLIBRARIES) $(check_PROGRAMS) $(check_SCRIPTS) $(check_DATA)
27182666 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
27192667 @set +e; $(am__set_TESTS_bases); \
27202668 bases=`for i in $$bases; do echo $$i; done \
27542702 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
27552703 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
27562704
2757 distdir: $(BUILT_SOURCES)
2758 $(MAKE) $(AM_MAKEFLAGS) distdir-am
2759
2760 distdir-am: $(DISTFILES)
2705 distdir: $(DISTFILES)
27612706 $(am__remove_distdir)
27622707 test -d "$(distdir)" || mkdir "$(distdir)"
27632708 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
29452890 $(distcleancheck_listfiles) ; \
29462891 exit 1; } >&2
29472892 check-am: all-am
2948 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_LTLIBRARIES) \
2893 $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS) \
29492894 $(check_SCRIPTS) $(check_DATA)
29502895 $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
29512896 check: $(BUILT_SOURCES)
29522897 $(MAKE) $(AM_MAKEFLAGS) check-recursive
2953 all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) $(SCRIPTS) $(DATA) \
2898 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \
29542899 config.h
29552900 install-binPROGRAMS: install-libLTLIBRARIES
29562901
29572902 installdirs: installdirs-recursive
29582903 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 \
29602905 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
29612906 done
29622907 install: $(BUILT_SOURCES)
30142959
30152960 distclean: distclean-recursive
30162961 -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)
30622963 -rm -f Makefile
30632964 distclean-am: clean-am distclean-compile distclean-generic \
30642965 distclean-hdr distclean-libtool distclean-tags
31153016 maintainer-clean: maintainer-clean-recursive
31163017 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
31173018 -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)
31633020 -rm -f Makefile
31643021 maintainer-clean-am: distclean-am maintainer-clean-generic
31653022
31903047 install-data-am install-strip
31913048
31923049 .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 \
32063063 install-dist_installed_test_dbsDATA \
32073064 install-dist_introspectionDATA install-dvi install-dvi-am \
32083065 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
08 xdg-desktop-portal 0.99
19 =======================
210
3030 One such backend is provided by [xdg-desktop-portal-gtk](http://github.com/flatpak/xdg-desktop-portal-gtk).
3131 Another one is in development here: [xdg-desktop-portal-kde](https://github.com/KDE/xdg-desktop-portal-kde).
3232
33
3334 ## Design considerations
3435
3536 There are several reasons for the frontend/backend separation of the portal
3637 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.
4850
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.
5659
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.
6064
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.
6673
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.
33
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
1919 If you have problems, you may need to regenerate the build system entirely.
2020 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2121
22 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
22 # Copyright (C) 2002-2017 Free Software Foundation, Inc.
2323 #
2424 # This file is free software; the Free Software Foundation
2525 # gives unlimited permission to copy and/or distribute it,
3131 # generated from the m4 files accompanying Automake X.Y.
3232 # (This private macro should not be called outside this file.)
3333 AC_DEFUN([AM_AUTOMAKE_VERSION],
34 [am__api_version='1.16'
34 [am__api_version='1.15'
3535 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3636 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], [],
3838 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3939 ])
4040
5050 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5151 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5252 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53 [AM_AUTOMAKE_VERSION([1.16.1])dnl
53 [AM_AUTOMAKE_VERSION([1.15.1])dnl
5454 m4_ifndef([AC_AUTOCONF_VERSION],
5555 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5656 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5757
5858 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5959
60 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
60 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
6161 #
6262 # This file is free software; the Free Software Foundation
6363 # gives unlimited permission to copy and/or distribute it,
109109
110110 # AM_CONDITIONAL -*- Autoconf -*-
111111
112 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
112 # Copyright (C) 1997-2017 Free Software Foundation, Inc.
113113 #
114114 # This file is free software; the Free Software Foundation
115115 # gives unlimited permission to copy and/or distribute it,
140140 Usually this means the macro was only invoked conditionally.]])
141141 fi])])
142142
143 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
143 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
144144 #
145145 # This file is free software; the Free Software Foundation
146146 # gives unlimited permission to copy and/or distribute it,
331331
332332 # Generate code to set up dependency tracking. -*- Autoconf -*-
333333
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
339340
340341 # _AM_OUTPUT_DEPENDENCY_COMMANDS
341342 # ------------------------------
344345 # Older Autoconf quotes --file arguments for eval, but not when files
345346 # are listed without --file. Let's play safe and only enable the eval
346347 # 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
352352 shift
353 # Used to flag and report bootstrapping failures.
354 am_rc=0
355 for am_mf
353 for mf
356354 do
357355 # 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
362363 # 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
370390 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
382391 }
383392 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
384393
387396 # -----------------------------
388397 # This macro should only be invoked once -- use via AC_REQUIRE.
389398 #
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.
393402 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
394403 [AC_CONFIG_COMMANDS([depfiles],
395404 [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 ])
397407
398408 # Do all the work for Automake. -*- Autoconf -*-
399409
400 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
410 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
401411 #
402412 # This file is free software; the Free Software Foundation
403413 # gives unlimited permission to copy and/or distribute it,
484494 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
485495 # For better backward compatibility. To be removed once Automake 1.9.x
486496 # 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>
489499 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
490500 # We need awk for the "check" target (and possibly the TAP driver). The
491501 # system "awk" is bad on some platforms.
552562 Aborting the configuration process, to ensure you take notice of the issue.
553563
554564 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/>.
556566
557567 If you want to complete the configuration process using your problematic
558568 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
594604 done
595605 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
596606
597 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
607 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
598608 #
599609 # This file is free software; the Free Software Foundation
600610 # gives unlimited permission to copy and/or distribute it,
615625 fi
616626 AC_SUBST([install_sh])])
617627
618 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
628 # Copyright (C) 2003-2017 Free Software Foundation, Inc.
619629 #
620630 # This file is free software; the Free Software Foundation
621631 # gives unlimited permission to copy and/or distribute it,
637647 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
638648 # From Jim Meyering
639649
640 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
650 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
641651 #
642652 # This file is free software; the Free Software Foundation
643653 # gives unlimited permission to copy and/or distribute it,
672682
673683 # Check to see how 'make' treats includes. -*- Autoconf -*-
674684
675 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
685 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
676686 #
677687 # This file is free software; the Free Software Foundation
678688 # gives unlimited permission to copy and/or distribute it,
680690
681691 # AM_MAKE_INCLUDE()
682692 # -----------------
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.
685694 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'
688697 am__doit:
689 @echo this is the am__doit target >confinc.out
698 @echo this is the am__doit target
690699 .PHONY: am__doit
691700 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])
692703 am__include="#"
693704 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 ])
715732
716733 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
717734
718 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
735 # Copyright (C) 1997-2017 Free Software Foundation, Inc.
719736 #
720737 # This file is free software; the Free Software Foundation
721738 # gives unlimited permission to copy and/or distribute it,
754771
755772 # Helper functions for option handling. -*- Autoconf -*-
756773
757 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
774 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
758775 #
759776 # This file is free software; the Free Software Foundation
760777 # gives unlimited permission to copy and/or distribute it,
783800 AC_DEFUN([_AM_IF_OPTION],
784801 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
785802
786 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
803 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
787804 #
788805 # This file is free software; the Free Software Foundation
789806 # gives unlimited permission to copy and/or distribute it,
830847 # For backward compatibility.
831848 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
832849
833 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
850 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
834851 #
835852 # This file is free software; the Free Software Foundation
836853 # gives unlimited permission to copy and/or distribute it,
849866
850867 # Check to make sure that the build environment is sane. -*- Autoconf -*-
851868
852 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
869 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
853870 #
854871 # This file is free software; the Free Software Foundation
855872 # gives unlimited permission to copy and/or distribute it,
930947 rm -f conftest.file
931948 ])
932949
933 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
950 # Copyright (C) 2009-2017 Free Software Foundation, Inc.
934951 #
935952 # This file is free software; the Free Software Foundation
936953 # gives unlimited permission to copy and/or distribute it,
9901007 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
9911008 ])
9921009
993 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1010 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
9941011 #
9951012 # This file is free software; the Free Software Foundation
9961013 # gives unlimited permission to copy and/or distribute it,
10181035 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10191036 AC_SUBST([INSTALL_STRIP_PROGRAM])])
10201037
1021 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
1038 # Copyright (C) 2006-2017 Free Software Foundation, Inc.
10221039 #
10231040 # This file is free software; the Free Software Foundation
10241041 # gives unlimited permission to copy and/or distribute it,
10371054
10381055 # Check how to create a tarball. -*- Autoconf -*-
10391056
1040 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
1057 # Copyright (C) 2004-2017 Free Software Foundation, Inc.
10411058 #
10421059 # This file is free software; the Free Software Foundation
10431060 # gives unlimited permission to copy and/or distribute it,
0 #! /bin/sh
0 #!/bin/sh
11 # Wrapper for compilers which do not understand '-c -o'.
22
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.
66 # Written by Tom Tromey <tromey@cygnus.com>.
77 #
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717 #
1818 # 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/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
339339 # Local Variables:
340340 # mode: shell-script
341341 # sh-indentation: 2
342 # eval: (add-hook 'before-save-hook 'time-stamp)
342 # eval: (add-hook 'write-file-hooks 'time-stamp)
343343 # time-stamp-start: "scriptversion="
344344 # time-stamp-format: "%:y-%02m-%02d.%02H"
345345 # time-stamp-time-zone: "UTC0"
0 #! /bin/sh
0 #!/bin/sh
11 # 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'
55
66 # This file is free software; you can redistribute it and/or modify it
77 # under the terms of the GNU General Public License as published by
1414 # General Public License for more details.
1515 #
1616 # 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/>.
1818 #
1919 # As a special exception to the GNU General Public License, if you
2020 # distribute this file as part of a program that contains a
2626 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
2727 #
2828 # 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
3030 #
3131 # Please send patches to <config-patches@gnu.org>.
3232
3838
3939 Output the configuration name of the system \`$me' is run on.
4040
41 Options:
41 Operation modes:
4242 -h, --help print this help, then exit
4343 -t, --time-stamp print date of last modification, then exit
4444 -v, --version print version number, then exit
4949 GNU config.guess ($timestamp)
5050
5151 Originally written by Per Bothner.
52 Copyright 1992-2018 Free Software Foundation, Inc.
52 Copyright 1992-2017 Free Software Foundation, Inc.
5353
5454 This is free software; see the source for copying conditions. There is NO
5555 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
106106 dummy=$tmp/dummy ;
107107 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
108108 case $CC_FOR_BUILD,$HOST_CC,$CC in
109 ,,) echo "int x;" > "$dummy.c" ;
109 ,,) echo "int x;" > $dummy.c ;
110110 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
112112 CC_FOR_BUILD="$c"; break ;
113113 fi ;
114114 done ;
131131 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
132132 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
133133
134 case "$UNAME_SYSTEM" in
134 case "${UNAME_SYSTEM}" in
135135 Linux|GNU|GNU/*)
136136 # If the system lacks a compiler, then just pick glibc.
137137 # We could probably try harder.
138138 LIBC=gnu
139139
140 eval "$set_cc_for_build"
141 cat <<-EOF > "$dummy.c"
140 eval $set_cc_for_build
141 cat <<-EOF > $dummy.c
142142 #include <features.h>
143143 #if defined(__UCLIBC__)
144144 LIBC=uclibc
148148 LIBC=gnu
149149 #endif
150150 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'`
159152 ;;
160153 esac
161154
162155 # Note: order is significant - the case branches are not exclusive.
163156
164 case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
157 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
165158 *:NetBSD:*:*)
166159 # NetBSD (nbsd) targets should (where applicable) match one or
167160 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
175168 # portion of the name. We always set it to "unknown".
176169 sysctl="sysctl -n hw.machine_arch"
177170 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 || \
180173 echo unknown)`
181 case "$UNAME_MACHINE_ARCH" in
174 case "${UNAME_MACHINE_ARCH}" in
182175 armeb) machine=armeb-unknown ;;
183176 arm*) machine=arm-unknown ;;
184177 sh3el) machine=shl-unknown ;;
185178 sh3eb) machine=sh-unknown ;;
186179 sh5el) machine=sh5le-unknown ;;
187180 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
191184 ;;
192 *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
185 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
193186 esac
194187 # The Operating System including object format, if it has switched
195188 # to ELF recently (or will in the future) and ABI.
196 case "$UNAME_MACHINE_ARCH" in
189 case "${UNAME_MACHINE_ARCH}" in
197190 earm*)
198191 os=netbsdelf
199192 ;;
200193 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
201 eval "$set_cc_for_build"
194 eval $set_cc_for_build
202195 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
203196 | grep -q __ELF__
204197 then
214207 ;;
215208 esac
216209 # Determine ABI tags.
217 case "$UNAME_MACHINE_ARCH" in
210 case "${UNAME_MACHINE_ARCH}" in
218211 earm*)
219212 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"`
221214 ;;
222215 esac
223216 # The OS release
225218 # thus, need a distinct triplet. However, they do not need
226219 # kernel version information, so it can be replaced with a
227220 # suitable tag, in the style of linux-gnu.
228 case "$UNAME_VERSION" in
221 case "${UNAME_VERSION}" in
229222 Debian*)
230223 release='-gnu'
231224 ;;
232225 *)
233 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
226 release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
234227 ;;
235228 esac
236229 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
237230 # contains redundant information, the shorter form:
238231 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
239 echo "$machine-${os}${release}${abi}"
232 echo "${machine}-${os}${release}${abi}"
240233 exit ;;
241234 *:Bitrig:*:*)
242235 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}
244237 exit ;;
245238 *:OpenBSD:*:*)
246239 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}
248241 exit ;;
249242 *:LibertyBSD:*:*)
250243 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}
255245 exit ;;
256246 *:ekkoBSD:*:*)
257 echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
247 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
258248 exit ;;
259249 *:SolidBSD:*:*)
260 echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
250 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
261251 exit ;;
262252 macppc:MirBSD:*:*)
263 echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
253 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
264254 exit ;;
265255 *:MirBSD:*:*)
266 echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
256 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
267257 exit ;;
268258 *:Sortix:*:*)
269 echo "$UNAME_MACHINE"-unknown-sortix
259 echo ${UNAME_MACHINE}-unknown-sortix
270260 exit ;;
271261 *: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 ;;
277264 alpha:OSF1:*:*)
278265 case $UNAME_RELEASE in
279266 *4.0)
325312 # A Tn.n version is a released field test version.
326313 # A Xn.n version is an unreleased experimental baselevel.
327314 # 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`
329316 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
330317 exitcode=$?
331318 trap '' 0
332319 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 ;;
333329 Amiga*:UNIX_System_V:4.0:*)
334330 echo m68k-unknown-sysv4
335331 exit ;;
336332 *:[Aa]miga[Oo][Ss]:*:*)
337 echo "$UNAME_MACHINE"-unknown-amigaos
333 echo ${UNAME_MACHINE}-unknown-amigaos
338334 exit ;;
339335 *:[Mm]orph[Oo][Ss]:*:*)
340 echo "$UNAME_MACHINE"-unknown-morphos
336 echo ${UNAME_MACHINE}-unknown-morphos
341337 exit ;;
342338 *:OS/390:*:*)
343339 echo i370-ibm-openedition
349345 echo powerpc-ibm-os400
350346 exit ;;
351347 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
352 echo arm-acorn-riscix"$UNAME_RELEASE"
348 echo arm-acorn-riscix${UNAME_RELEASE}
353349 exit ;;
354350 arm*:riscos:*:*|arm*:RISCOS:*:*)
355351 echo arm-unknown-riscos
376372 sparc) echo sparc-icl-nx7; exit ;;
377373 esac ;;
378374 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/[^.]*//'`
380376 exit ;;
381377 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/[^.]*//'`
383379 exit ;;
384380 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/[^.]*//'`
386382 exit ;;
387383 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
388 echo i386-pc-auroraux"$UNAME_RELEASE"
384 echo i386-pc-auroraux${UNAME_RELEASE}
389385 exit ;;
390386 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
391 eval "$set_cc_for_build"
387 eval $set_cc_for_build
392388 SUN_ARCH=i386
393389 # If there is a compiler, see if it is configured for 64-bit objects.
394390 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
401397 SUN_ARCH=x86_64
402398 fi
403399 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/[^.]*//'`
405401 exit ;;
406402 sun4*:SunOS:6*:*)
407403 # According to config.sub, this is the proper way to canonicalize
408404 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
409405 # 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/[^.]*//'`
411407 exit ;;
412408 sun4*:SunOS:*:*)
413409 case "`/usr/bin/arch -k`" in
416412 ;;
417413 esac
418414 # 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/-/_/'`
420416 exit ;;
421417 sun3*:SunOS:*:*)
422 echo m68k-sun-sunos"$UNAME_RELEASE"
418 echo m68k-sun-sunos${UNAME_RELEASE}
423419 exit ;;
424420 sun*:*:4.2BSD:*)
425421 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
427423 case "`/bin/arch`" in
428424 sun3)
429 echo m68k-sun-sunos"$UNAME_RELEASE"
425 echo m68k-sun-sunos${UNAME_RELEASE}
430426 ;;
431427 sun4)
432 echo sparc-sun-sunos"$UNAME_RELEASE"
428 echo sparc-sun-sunos${UNAME_RELEASE}
433429 ;;
434430 esac
435431 exit ;;
436432 aushp:SunOS:*:*)
437 echo sparc-auspex-sunos"$UNAME_RELEASE"
433 echo sparc-auspex-sunos${UNAME_RELEASE}
438434 exit ;;
439435 # The situation for MiNT is a little confusing. The machine name
440436 # can be virtually everything (everything which is not
445441 # MiNT. But MiNT is downward compatible to TOS, so this should
446442 # be no problem.
447443 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
448 echo m68k-atari-mint"$UNAME_RELEASE"
444 echo m68k-atari-mint${UNAME_RELEASE}
449445 exit ;;
450446 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
451 echo m68k-atari-mint"$UNAME_RELEASE"
447 echo m68k-atari-mint${UNAME_RELEASE}
452448 exit ;;
453449 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
454 echo m68k-atari-mint"$UNAME_RELEASE"
450 echo m68k-atari-mint${UNAME_RELEASE}
455451 exit ;;
456452 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
457 echo m68k-milan-mint"$UNAME_RELEASE"
453 echo m68k-milan-mint${UNAME_RELEASE}
458454 exit ;;
459455 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
460 echo m68k-hades-mint"$UNAME_RELEASE"
456 echo m68k-hades-mint${UNAME_RELEASE}
461457 exit ;;
462458 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
463 echo m68k-unknown-mint"$UNAME_RELEASE"
459 echo m68k-unknown-mint${UNAME_RELEASE}
464460 exit ;;
465461 m68k:machten:*:*)
466 echo m68k-apple-machten"$UNAME_RELEASE"
462 echo m68k-apple-machten${UNAME_RELEASE}
467463 exit ;;
468464 powerpc:machten:*:*)
469 echo powerpc-apple-machten"$UNAME_RELEASE"
465 echo powerpc-apple-machten${UNAME_RELEASE}
470466 exit ;;
471467 RISC*:Mach:*:*)
472468 echo mips-dec-mach_bsd4.3
473469 exit ;;
474470 RISC*:ULTRIX:*:*)
475 echo mips-dec-ultrix"$UNAME_RELEASE"
471 echo mips-dec-ultrix${UNAME_RELEASE}
476472 exit ;;
477473 VAX*:ULTRIX*:*:*)
478 echo vax-dec-ultrix"$UNAME_RELEASE"
474 echo vax-dec-ultrix${UNAME_RELEASE}
479475 exit ;;
480476 2020:CLIX:*:* | 2430:CLIX:*:*)
481 echo clipper-intergraph-clix"$UNAME_RELEASE"
477 echo clipper-intergraph-clix${UNAME_RELEASE}
482478 exit ;;
483479 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
486482 #ifdef __cplusplus
487483 #include <stdio.h> /* for printf() prototype */
488484 int main (int argc, char *argv[]) {
491487 #endif
492488 #if defined (host_mips) && defined (MIPSEB)
493489 #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);
495491 #endif
496492 #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);
498494 #endif
499495 #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);
501497 #endif
502498 #endif
503499 exit (-1);
504500 }
505501 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` &&
509505 { echo "$SYSTEM_NAME"; exit; }
510 echo mips-mips-riscos"$UNAME_RELEASE"
506 echo mips-mips-riscos${UNAME_RELEASE}
511507 exit ;;
512508 Motorola:PowerMAX_OS:*:*)
513509 echo powerpc-motorola-powermax
533529 AViiON:dgux:*:*)
534530 # DG/UX returns AViiON for all architectures
535531 UNAME_PROCESSOR=`/usr/bin/uname -p`
536 if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
532 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
537533 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 ]
540536 then
541 echo m88k-dg-dgux"$UNAME_RELEASE"
537 echo m88k-dg-dgux${UNAME_RELEASE}
542538 else
543 echo m88k-dg-dguxbcs"$UNAME_RELEASE"
539 echo m88k-dg-dguxbcs${UNAME_RELEASE}
544540 fi
545541 else
546 echo i586-dg-dgux"$UNAME_RELEASE"
542 echo i586-dg-dgux${UNAME_RELEASE}
547543 fi
548544 exit ;;
549545 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
560556 echo m68k-tektronix-bsd
561557 exit ;;
562558 *: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'`
564560 exit ;;
565561 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
566562 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
572568 if [ -x /usr/bin/oslevel ] ; then
573569 IBM_REV=`/usr/bin/oslevel`
574570 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}
578574 exit ;;
579575 *:AIX:2:3)
580576 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
583579 #include <sys/systemcfg.h>
584580
585581 main()
590586 exit(0);
591587 }
592588 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`
594590 then
595591 echo "$SYSTEM_NAME"
596592 else
604600 exit ;;
605601 *:AIX:*:[4567])
606602 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
608604 IBM_ARCH=rs6000
609605 else
610606 IBM_ARCH=powerpc
613609 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
614610 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
615611 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}
619615 exit ;;
620616 *:AIX:*:*)
621617 echo rs6000-ibm-aix
622618 exit ;;
623 ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
619 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
624620 echo romp-ibm-bsd4.4
625621 exit ;;
626622 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
628624 exit ;; # report: romp-ibm BSD 4.3
629625 *:BOSX:*:*)
630626 echo rs6000-bull-bosx
639635 echo m68k-hp-bsd4.4
640636 exit ;;
641637 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 ;;
646642 9000/[678][0-9][0-9])
647643 if [ -x /usr/bin/getconf ]; then
648644 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
649645 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
650 case "$sc_cpu_version" in
646 case "${sc_cpu_version}" in
651647 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
652648 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
653649 532) # CPU_PA_RISC2_0
654 case "$sc_kernel_bits" in
650 case "${sc_kernel_bits}" in
655651 32) HP_ARCH=hppa2.0n ;;
656652 64) HP_ARCH=hppa2.0w ;;
657653 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
658654 esac ;;
659655 esac
660656 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
664660
665661 #define _HPUX_SOURCE
666662 #include <stdlib.h>
693689 exit (0);
694690 }
695691 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`
697693 test -z "$HP_ARCH" && HP_ARCH=hppa
698694 fi ;;
699695 esac
700 if [ "$HP_ARCH" = hppa2.0w ]
696 if [ ${HP_ARCH} = hppa2.0w ]
701697 then
702 eval "$set_cc_for_build"
698 eval $set_cc_for_build
703699
704700 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
705701 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
718714 HP_ARCH=hppa64
719715 fi
720716 fi
721 echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
717 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
722718 exit ;;
723719 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}
726722 exit ;;
727723 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
730726 #include <unistd.h>
731727 int
732728 main ()
751747 exit (0);
752748 }
753749 EOF
754 $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
750 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
755751 { echo "$SYSTEM_NAME"; exit; }
756752 echo unknown-hitachi-hiuxwe2
757753 exit ;;
758 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
754 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
759755 echo hppa1.1-hp-bsd
760756 exit ;;
761757 9000/8??:4.3bsd:*:*)
764760 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
765761 echo hppa1.0-hp-mpeix
766762 exit ;;
767 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
763 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
768764 echo hppa1.1-hp-osf
769765 exit ;;
770766 hp8??:OSF1:*:*)
772768 exit ;;
773769 i*86:OSF1:*:*)
774770 if [ -x /usr/sbin/sysversion ] ; then
775 echo "$UNAME_MACHINE"-unknown-osf1mk
771 echo ${UNAME_MACHINE}-unknown-osf1mk
776772 else
777 echo "$UNAME_MACHINE"-unknown-osf1
773 echo ${UNAME_MACHINE}-unknown-osf1
778774 fi
779775 exit ;;
780776 parisc*:Lites*:*:*)
799795 echo c4-convex-bsd
800796 exit ;;
801797 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/'
803799 exit ;;
804800 CRAY*[A-Z]90:*:*:*)
805 echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
801 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
806802 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
807803 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
808804 -e 's/\.[^.]*$/.X/'
809805 exit ;;
810806 CRAY*TS:*:*:*)
811 echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
807 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
812808 exit ;;
813809 CRAY*T3E:*:*:*)
814 echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
810 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
815811 exit ;;
816812 CRAY*SV1:*:*:*)
817 echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
813 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
818814 exit ;;
819815 *:UNICOS/mp:*:*)
820 echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
816 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
821817 exit ;;
822818 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
823819 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
824820 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/ /_/'`
826822 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
827823 exit ;;
828824 5000:UNIX_System_V:4.*:*)
829825 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/ /_/'`
831827 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
832828 exit ;;
833829 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}
835831 exit ;;
836832 sparc*:BSD/OS:*:*)
837 echo sparc-unknown-bsdi"$UNAME_RELEASE"
833 echo sparc-unknown-bsdi${UNAME_RELEASE}
838834 exit ;;
839835 *:BSD/OS:*:*)
840 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
836 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
841837 exit ;;
842838 *:FreeBSD:*:*)
843839 UNAME_PROCESSOR=`/usr/bin/uname -p`
844 case "$UNAME_PROCESSOR" in
840 case ${UNAME_PROCESSOR} in
845841 amd64)
846842 UNAME_PROCESSOR=x86_64 ;;
847843 i386)
848844 UNAME_PROCESSOR=i586 ;;
849845 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/[-(].*//'`
851847 exit ;;
852848 i*:CYGWIN*:*)
853 echo "$UNAME_MACHINE"-pc-cygwin
849 echo ${UNAME_MACHINE}-pc-cygwin
854850 exit ;;
855851 *:MINGW64*:*)
856 echo "$UNAME_MACHINE"-pc-mingw64
852 echo ${UNAME_MACHINE}-pc-mingw64
857853 exit ;;
858854 *:MINGW*:*)
859 echo "$UNAME_MACHINE"-pc-mingw32
855 echo ${UNAME_MACHINE}-pc-mingw32
860856 exit ;;
861857 *: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
863863 exit ;;
864864 i*:PW*:*)
865 echo "$UNAME_MACHINE"-pc-pw32
865 echo ${UNAME_MACHINE}-pc-pw32
866866 exit ;;
867867 *:Interix*:*)
868 case "$UNAME_MACHINE" in
868 case ${UNAME_MACHINE} in
869869 x86)
870 echo i586-pc-interix"$UNAME_RELEASE"
870 echo i586-pc-interix${UNAME_RELEASE}
871871 exit ;;
872872 authenticamd | genuineintel | EM64T)
873 echo x86_64-unknown-interix"$UNAME_RELEASE"
873 echo x86_64-unknown-interix${UNAME_RELEASE}
874874 exit ;;
875875 IA64)
876 echo ia64-unknown-interix"$UNAME_RELEASE"
876 echo ia64-unknown-interix${UNAME_RELEASE}
877877 exit ;;
878878 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 ;;
879891 i*:UWIN*:*)
880 echo "$UNAME_MACHINE"-pc-uwin
892 echo ${UNAME_MACHINE}-pc-uwin
881893 exit ;;
882894 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
883895 echo x86_64-unknown-cygwin
884896 exit ;;
897 p*:CYGWIN*:*)
898 echo powerpcle-unknown-cygwin
899 exit ;;
885900 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/[^.]*//'`
887902 exit ;;
888903 *:GNU:*:*)
889904 # 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,/.*$,,'`
891906 exit ;;
892907 *:GNU/*:*:*)
893908 # 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}
895910 exit ;;
896911 i*86:Minix:*:*)
897 echo "$UNAME_MACHINE"-pc-minix
912 echo ${UNAME_MACHINE}-pc-minix
898913 exit ;;
899914 aarch64:Linux:*:*)
900 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
915 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
901916 exit ;;
902917 aarch64_be:Linux:*:*)
903918 UNAME_MACHINE=aarch64_be
904 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
919 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
905920 exit ;;
906921 alpha:Linux:*:*)
907922 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
915930 esac
916931 objdump --private-headers /bin/sh | grep -q ld.so.1
917932 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
918 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
933 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
919934 exit ;;
920935 arc:Linux:*:* | arceb:Linux:*:*)
921 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
936 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
922937 exit ;;
923938 arm*:Linux:*:*)
924 eval "$set_cc_for_build"
939 eval $set_cc_for_build
925940 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
926941 | grep -q __ARM_EABI__
927942 then
928 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
943 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
929944 else
930945 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
931946 | grep -q __ARM_PCS_VFP
932947 then
933 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
948 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
934949 else
935 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
950 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
936951 fi
937952 fi
938953 exit ;;
939954 avr32*:Linux:*:*)
940 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
955 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
941956 exit ;;
942957 cris:Linux:*:*)
943 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
958 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
944959 exit ;;
945960 crisv32:Linux:*:*)
946 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
961 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
947962 exit ;;
948963 e2k:Linux:*:*)
949 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
964 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
950965 exit ;;
951966 frv:Linux:*:*)
952 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
967 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
953968 exit ;;
954969 hexagon:Linux:*:*)
955 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
970 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
956971 exit ;;
957972 i*86:Linux:*:*)
958 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
973 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
959974 exit ;;
960975 ia64:Linux:*:*)
961 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
976 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
962977 exit ;;
963978 k1om:Linux:*:*)
964 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
979 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
965980 exit ;;
966981 m32r*:Linux:*:*)
967 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
982 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
968983 exit ;;
969984 m68*:Linux:*:*)
970 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
985 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
971986 exit ;;
972987 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
975990 #undef CPU
976991 #undef ${UNAME_MACHINE}
977992 #undef ${UNAME_MACHINE}el
9851000 #endif
9861001 #endif
9871002 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; }
9901005 ;;
9911006 mips64el:Linux:*:*)
992 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1007 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9931008 exit ;;
9941009 openrisc*:Linux:*:*)
995 echo or1k-unknown-linux-"$LIBC"
1010 echo or1k-unknown-linux-${LIBC}
9961011 exit ;;
9971012 or32:Linux:*:* | or1k*:Linux:*:*)
998 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1013 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9991014 exit ;;
10001015 padre:Linux:*:*)
1001 echo sparc-unknown-linux-"$LIBC"
1016 echo sparc-unknown-linux-${LIBC}
10021017 exit ;;
10031018 parisc64:Linux:*:* | hppa64:Linux:*:*)
1004 echo hppa64-unknown-linux-"$LIBC"
1019 echo hppa64-unknown-linux-${LIBC}
10051020 exit ;;
10061021 parisc:Linux:*:* | hppa:Linux:*:*)
10071022 # Look for CPU level
10081023 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} ;;
10121027 esac
10131028 exit ;;
10141029 ppc64:Linux:*:*)
1015 echo powerpc64-unknown-linux-"$LIBC"
1030 echo powerpc64-unknown-linux-${LIBC}
10161031 exit ;;
10171032 ppc:Linux:*:*)
1018 echo powerpc-unknown-linux-"$LIBC"
1033 echo powerpc-unknown-linux-${LIBC}
10191034 exit ;;
10201035 ppc64le:Linux:*:*)
1021 echo powerpc64le-unknown-linux-"$LIBC"
1036 echo powerpc64le-unknown-linux-${LIBC}
10221037 exit ;;
10231038 ppcle:Linux:*:*)
1024 echo powerpcle-unknown-linux-"$LIBC"
1039 echo powerpcle-unknown-linux-${LIBC}
10251040 exit ;;
10261041 riscv32:Linux:*:* | riscv64:Linux:*:*)
1027 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1042 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10281043 exit ;;
10291044 s390:Linux:*:* | s390x:Linux:*:*)
1030 echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
1045 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
10311046 exit ;;
10321047 sh64*:Linux:*:*)
1033 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1048 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10341049 exit ;;
10351050 sh*:Linux:*:*)
1036 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1051 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10371052 exit ;;
10381053 sparc:Linux:*:* | sparc64:Linux:*:*)
1039 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1054 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10401055 exit ;;
10411056 tile*:Linux:*:*)
1042 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1057 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10431058 exit ;;
10441059 vax:Linux:*:*)
1045 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
1060 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
10461061 exit ;;
10471062 x86_64:Linux:*:*)
1048 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
1063 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
10491064 exit ;;
10501065 xtensa*:Linux:*:*)
1051 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1066 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10521067 exit ;;
10531068 i*86:DYNIX/ptx:4*:*)
10541069 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
10621077 # I am not positive that other SVR4 systems won't match this,
10631078 # I just have to hope. -- rms.
10641079 # 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}
10661081 exit ;;
10671082 i*86:OS/2:*:*)
10681083 # If we were able to find `uname', then EMX Unix compatibility
10691084 # is probably installed.
1070 echo "$UNAME_MACHINE"-pc-os2-emx
1085 echo ${UNAME_MACHINE}-pc-os2-emx
10711086 exit ;;
10721087 i*86:XTS-300:*:STOP)
1073 echo "$UNAME_MACHINE"-unknown-stop
1088 echo ${UNAME_MACHINE}-unknown-stop
10741089 exit ;;
10751090 i*86:atheos:*:*)
1076 echo "$UNAME_MACHINE"-unknown-atheos
1091 echo ${UNAME_MACHINE}-unknown-atheos
10771092 exit ;;
10781093 i*86:syllable:*:*)
1079 echo "$UNAME_MACHINE"-pc-syllable
1094 echo ${UNAME_MACHINE}-pc-syllable
10801095 exit ;;
10811096 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}
10831098 exit ;;
10841099 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$//'`
10891104 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}
10911106 else
1092 echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
1107 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
10931108 fi
10941109 exit ;;
10951110 i*86:*:5:[678]*)
10991114 *Pentium) UNAME_MACHINE=i586 ;;
11001115 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
11011116 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}
11031118 exit ;;
11041119 i*86:*:3.2:*)
11051120 if test -f /usr/options/cb.name; then
11061121 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
11081123 elif /bin/uname -X 2>/dev/null >/dev/null ; then
11091124 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
11101125 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
11141129 && UNAME_MACHINE=i686
11151130 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
11161131 && UNAME_MACHINE=i686
1117 echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
1132 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
11181133 else
1119 echo "$UNAME_MACHINE"-pc-sysv32
1134 echo ${UNAME_MACHINE}-pc-sysv32
11201135 fi
11211136 exit ;;
11221137 pc:*:*:*)
11361151 exit ;;
11371152 i860:*:4.*:*) # i860-SVR4
11381153 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
11401155 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
11421157 fi
11431158 exit ;;
11441159 mini*:CTIX:SYS*5:*)
11581173 test -r /etc/.relid \
11591174 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11601175 /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; }
11621177 /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; } ;;
11641179 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
11651180 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
11661181 && { echo i486-ncr-sysv4; exit; } ;;
11691184 test -r /etc/.relid \
11701185 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11711186 /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; }
11731188 /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; }
11751190 /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; } ;;
11771192 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1178 echo m68k-unknown-lynxos"$UNAME_RELEASE"
1193 echo m68k-unknown-lynxos${UNAME_RELEASE}
11791194 exit ;;
11801195 mc68030:UNIX_System_V:4.*:*)
11811196 echo m68k-atari-sysv4
11821197 exit ;;
11831198 TSUNAMI:LynxOS:2.*:*)
1184 echo sparc-unknown-lynxos"$UNAME_RELEASE"
1199 echo sparc-unknown-lynxos${UNAME_RELEASE}
11851200 exit ;;
11861201 rs6000:LynxOS:2.*:*)
1187 echo rs6000-unknown-lynxos"$UNAME_RELEASE"
1202 echo rs6000-unknown-lynxos${UNAME_RELEASE}
11881203 exit ;;
11891204 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}
11911206 exit ;;
11921207 SM[BE]S:UNIX_SV:*:*)
1193 echo mips-dde-sysv"$UNAME_RELEASE"
1208 echo mips-dde-sysv${UNAME_RELEASE}
11941209 exit ;;
11951210 RM*:ReliantUNIX-*:*:*)
11961211 echo mips-sni-sysv4
12011216 *:SINIX-*:*:*)
12021217 if uname -p 2>/dev/null >/dev/null ; then
12031218 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1204 echo "$UNAME_MACHINE"-sni-sysv4
1219 echo ${UNAME_MACHINE}-sni-sysv4
12051220 else
12061221 echo ns32k-sni-sysv
12071222 fi
12211236 exit ;;
12221237 i*86:VOS:*:*)
12231238 # From Paul.Green@stratus.com.
1224 echo "$UNAME_MACHINE"-stratus-vos
1239 echo ${UNAME_MACHINE}-stratus-vos
12251240 exit ;;
12261241 *:VOS:*:*)
12271242 # From Paul.Green@stratus.com.
12281243 echo hppa1.1-stratus-vos
12291244 exit ;;
12301245 mc68*:A/UX:*:*)
1231 echo m68k-apple-aux"$UNAME_RELEASE"
1246 echo m68k-apple-aux${UNAME_RELEASE}
12321247 exit ;;
12331248 news*:NEWS-OS:6*:*)
12341249 echo mips-sony-newsos6
12351250 exit ;;
12361251 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
12371252 if [ -d /usr/nec ]; then
1238 echo mips-nec-sysv"$UNAME_RELEASE"
1253 echo mips-nec-sysv${UNAME_RELEASE}
12391254 else
1240 echo mips-unknown-sysv"$UNAME_RELEASE"
1255 echo mips-unknown-sysv${UNAME_RELEASE}
12411256 fi
12421257 exit ;;
12431258 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
12561271 echo x86_64-unknown-haiku
12571272 exit ;;
12581273 SX-4:SUPER-UX:*:*)
1259 echo sx4-nec-superux"$UNAME_RELEASE"
1274 echo sx4-nec-superux${UNAME_RELEASE}
12601275 exit ;;
12611276 SX-5:SUPER-UX:*:*)
1262 echo sx5-nec-superux"$UNAME_RELEASE"
1277 echo sx5-nec-superux${UNAME_RELEASE}
12631278 exit ;;
12641279 SX-6:SUPER-UX:*:*)
1265 echo sx6-nec-superux"$UNAME_RELEASE"
1280 echo sx6-nec-superux${UNAME_RELEASE}
12661281 exit ;;
12671282 SX-7:SUPER-UX:*:*)
1268 echo sx7-nec-superux"$UNAME_RELEASE"
1283 echo sx7-nec-superux${UNAME_RELEASE}
12691284 exit ;;
12701285 SX-8:SUPER-UX:*:*)
1271 echo sx8-nec-superux"$UNAME_RELEASE"
1286 echo sx8-nec-superux${UNAME_RELEASE}
12721287 exit ;;
12731288 SX-8R:SUPER-UX:*:*)
1274 echo sx8r-nec-superux"$UNAME_RELEASE"
1289 echo sx8r-nec-superux${UNAME_RELEASE}
12751290 exit ;;
12761291 SX-ACE:SUPER-UX:*:*)
1277 echo sxace-nec-superux"$UNAME_RELEASE"
1292 echo sxace-nec-superux${UNAME_RELEASE}
12781293 exit ;;
12791294 Power*:Rhapsody:*:*)
1280 echo powerpc-apple-rhapsody"$UNAME_RELEASE"
1295 echo powerpc-apple-rhapsody${UNAME_RELEASE}
12811296 exit ;;
12821297 *:Rhapsody:*:*)
1283 echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
1298 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
12841299 exit ;;
12851300 *:Darwin:*:*)
12861301 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1287 eval "$set_cc_for_build"
1302 eval $set_cc_for_build
12881303 if test "$UNAME_PROCESSOR" = unknown ; then
12891304 UNAME_PROCESSOR=powerpc
12901305 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
12921307 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
12931308 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
12941309 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
13161331 # that Apple uses in portable devices.
13171332 UNAME_PROCESSOR=x86_64
13181333 fi
1319 echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
1334 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
13201335 exit ;;
13211336 *:procnto*:*:* | *:QNX:[0123456789]*:*)
13221337 UNAME_PROCESSOR=`uname -p`
13241339 UNAME_PROCESSOR=i386
13251340 UNAME_MACHINE=pc
13261341 fi
1327 echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
1342 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
13281343 exit ;;
13291344 *:QNX:*:4*)
13301345 echo i386-pc-qnx
13311346 exit ;;
13321347 NEO-*:NONSTOP_KERNEL:*:*)
1333 echo neo-tandem-nsk"$UNAME_RELEASE"
1348 echo neo-tandem-nsk${UNAME_RELEASE}
13341349 exit ;;
13351350 NSE-*:NONSTOP_KERNEL:*:*)
1336 echo nse-tandem-nsk"$UNAME_RELEASE"
1351 echo nse-tandem-nsk${UNAME_RELEASE}
13371352 exit ;;
13381353 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}
13431355 exit ;;
13441356 NSX-*:NONSTOP_KERNEL:*:*)
1345 echo nsx-tandem-nsk"$UNAME_RELEASE"
1357 echo nsx-tandem-nsk${UNAME_RELEASE}
13461358 exit ;;
13471359 *:NonStop-UX:*:*)
13481360 echo mips-compaq-nonstopux
13511363 echo bs2000-siemens-sysv
13521364 exit ;;
13531365 DS/*:UNIX_System_V:*:*)
1354 echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
1366 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
13551367 exit ;;
13561368 *:Plan9:*:*)
13571369 # "uname -m" is not consistent, so use $cputype instead. 386
13621374 else
13631375 UNAME_MACHINE="$cputype"
13641376 fi
1365 echo "$UNAME_MACHINE"-unknown-plan9
1377 echo ${UNAME_MACHINE}-unknown-plan9
13661378 exit ;;
13671379 *:TOPS-10:*:*)
13681380 echo pdp10-unknown-tops10
13831395 echo pdp10-unknown-its
13841396 exit ;;
13851397 SEI:*:*:SEIUX)
1386 echo mips-sei-seiux"$UNAME_RELEASE"
1398 echo mips-sei-seiux${UNAME_RELEASE}
13871399 exit ;;
13881400 *: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/[-(].*//'`
13901402 exit ;;
13911403 *:*VMS:*:*)
13921404 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1393 case "$UNAME_MACHINE" in
1405 case "${UNAME_MACHINE}" in
13941406 A*) echo alpha-dec-vms ; exit ;;
13951407 I*) echo ia64-dec-vms ; exit ;;
13961408 V*) echo vax-dec-vms ; exit ;;
13991411 echo i386-pc-xenix
14001412 exit ;;
14011413 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/ .*$//'`
14031415 exit ;;
14041416 i*86:rdos:*:*)
1405 echo "$UNAME_MACHINE"-pc-rdos
1417 echo ${UNAME_MACHINE}-pc-rdos
14061418 exit ;;
14071419 i*86:AROS:*:*)
1408 echo "$UNAME_MACHINE"-pc-aros
1420 echo ${UNAME_MACHINE}-pc-aros
14091421 exit ;;
14101422 x86_64:VMkernel:*:*)
1411 echo "$UNAME_MACHINE"-unknown-esx
1423 echo ${UNAME_MACHINE}-unknown-esx
14121424 exit ;;
14131425 amd64:Isilon\ OneFS:*:*)
14141426 echo x86_64-unknown-onefs
14151427 exit ;;
14161428 esac
14171429
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
14311430 cat >&2 <<EOF
1431 $0: unable to guess system type
14321432
14331433 This script (version $timestamp), has failed to recognize the
14341434 operating system you are using. If your script is old, overwrite *all*
14351435 copies of config.guess and config.sub with the latest versions from:
14361436
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
14381438 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
14401440
14411441 If $0 has already been updated, send the following data and any
14421442 information you think might be pertinent to config-patches@gnu.org to
14591459 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
14601460 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
14611461
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}
14661466 EOF
14671467
14681468 exit 1
14691469
14701470 # Local variables:
1471 # eval: (add-hook 'before-save-hook 'time-stamp)
1471 # eval: (add-hook 'write-file-hooks 'time-stamp)
14721472 # time-stamp-start: "timestamp='"
14731473 # time-stamp-format: "%:y-%02m-%02d"
14741474 # time-stamp-end: "'"
0 #! /bin/sh
0 #!/bin/sh
11 # 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'
55
66 # This file is free software; you can redistribute it and/or modify it
77 # under the terms of the GNU General Public License as published by
1414 # General Public License for more details.
1515 #
1616 # 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/>.
1818 #
1919 # As a special exception to the GNU General Public License, if you
2020 # distribute this file as part of a program that contains a
3232 # Otherwise, we print the canonical config type on stdout and succeed.
3333
3434 # 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
3636
3737 # This file is supposed to be the same for all GNU packages
3838 # and recognize all the CPU types, system types and aliases
5656
5757 Canonicalize a configuration name.
5858
59 Options:
59 Operation modes:
6060 -h, --help print this help, then exit
6161 -t, --time-stamp print date of last modification, then exit
6262 -v, --version print version number, then exit
6666 version="\
6767 GNU config.sub ($timestamp)
6868
69 Copyright 1992-2018 Free Software Foundation, Inc.
69 Copyright 1992-2017 Free Software Foundation, Inc.
7070
7171 This is free software; see the source for copying conditions. There is NO
7272 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
9393
9494 *local*)
9595 # First pass through any local machine types.
96 echo "$1"
96 echo $1
9797 exit ;;
9898
9999 * )
109109 exit 1;;
110110 esac
111111
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 ;;
154134 esac
155135
156136 ### Let's recognize common machines as not being operating systems so
197177 ;;
198178 -sco6)
199179 os=-sco5v6
200 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
180 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
201181 ;;
202182 -sco5)
203183 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/'`
205185 ;;
206186 -sco4)
207187 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/'`
209189 ;;
210190 -sco3.2.[4-9]*)
211191 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/'`
213193 ;;
214194 -sco3.2v[4-9]*)
215195 # 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/'`
217197 ;;
218198 -sco5v6*)
219199 # 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/'`
221201 ;;
222202 -sco*)
223203 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/'`
225205 ;;
226206 -udk*)
227 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
207 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
228208 ;;
229209 -isc)
230210 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/'`
232212 ;;
233213 -clix*)
234214 basic_machine=clipper-intergraph
235215 ;;
236216 -isc*)
237 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
217 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
238218 ;;
239219 -lynx*178)
240220 os=-lynxos178
246226 os=-lynxos
247227 ;;
248228 -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/'`
250233 ;;
251234 -psos*)
252235 os=-psos
268251 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
269252 | am33_2.0 \
270253 | 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] \
272255 | avr | avr32 \
273256 | ba \
274257 | be32 | be64 \
275258 | bfin \
276 | c4x | c8051 | clipper | csky \
259 | c4x | c8051 | clipper \
277260 | d10v | d30v | dlx | dsp16xx \
278261 | e2k | epiphany \
279262 | fido | fr30 | frv | ft32 \
312295 | mt \
313296 | msp430 \
314297 | nds32 | nds32le | nds32be \
315 | nfp \
316298 | nios | nios2 | nios2eb | nios2el \
317299 | ns16k | ns32k \
318300 | open8 | or1k | or1knd | or32 \
319 | pdp10 | pj | pjl \
301 | pdp10 | pdp11 | pj | pjl \
320302 | powerpc | powerpc64 | powerpc64le | powerpcle \
321303 | pru \
322304 | pyramid \
333315 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
334316 | visium \
335317 | wasm32 \
318 | we32k \
336319 | x86 | xc16x | xstormy16 | xtensa \
337320 | z8k | z80)
338321 basic_machine=$basic_machine-unknown
353336 basic_machine=$basic_machine-unknown
354337 os=-none
355338 ;;
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)
361340 ;;
362341 ms1)
363342 basic_machine=mt-unknown
386365 ;;
387366 # Object if more than one company name word.
388367 *-*-*)
389 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
368 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
390369 exit 1
391370 ;;
392371 # Recognize the basic CPU types with company name.
402381 | be32-* | be64-* \
403382 | bfin-* | bs2000-* \
404383 | c[123]* | c30-* | [cjt]90-* | c4x-* \
405 | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \
384 | c8051-* | clipper-* | craynv-* | cydra-* \
406385 | d10v-* | d30v-* | dlx-* \
407386 | e2k-* | elxsi-* \
408387 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
443422 | mt-* \
444423 | msp430-* \
445424 | nds32-* | nds32le-* | nds32be-* \
446 | nfp-* \
447425 | nios-* | nios2-* | nios2eb-* | nios2el-* \
448426 | none-* | np1-* | ns16k-* | ns32k-* \
449427 | open8-* \
482460 # Recognize the various machine names and aliases which stand
483461 # for a CPU type and a company and sometimes even an OS.
484462 386bsd)
485 basic_machine=i386-pc
463 basic_machine=i386-unknown
486464 os=-bsd
487465 ;;
488466 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
516494 basic_machine=x86_64-pc
517495 ;;
518496 amd64-*)
519 basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
497 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
520498 ;;
521499 amdahl)
522500 basic_machine=580-amdahl
561539 os=-linux
562540 ;;
563541 blackfin-*)
564 basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
542 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
565543 os=-linux
566544 ;;
567545 bluegene*)
569547 os=-cnk
570548 ;;
571549 c54x-*)
572 basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
550 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
573551 ;;
574552 c55x-*)
575 basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
553 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
576554 ;;
577555 c6x-*)
578 basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
556 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
579557 ;;
580558 c90)
581559 basic_machine=c90-cray
664642 basic_machine=rs6000-bull
665643 os=-bosx
666644 ;;
667 dpx2*)
645 dpx2* | dpx2*-bull)
668646 basic_machine=m68k-bull
669647 os=-sysv3
670648 ;;
673651 os=$os"spe"
674652 ;;
675653 e500v[12]-*)
676 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
654 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
677655 os=$os"spe"
678656 ;;
679657 ebmon29k)
765743 hp9k8[0-9][0-9] | hp8[0-9][0-9])
766744 basic_machine=hppa1.0-hp
767745 ;;
746 hppa-next)
747 os=-nextstep3
748 ;;
768749 hppaosf)
769750 basic_machine=hppa1.1-hp
770751 os=-osf
777758 basic_machine=i370-ibm
778759 ;;
779760 i*86v32)
780 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
761 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
781762 os=-sysv32
782763 ;;
783764 i*86v4*)
784 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
765 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
785766 os=-sysv4
786767 ;;
787768 i*86v)
788 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
769 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
789770 os=-sysv
790771 ;;
791772 i*86sol2)
792 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
773 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
793774 os=-solaris2
794775 ;;
795776 i386mach)
796777 basic_machine=i386-mach
797778 os=-mach
798779 ;;
799 vsta)
780 i386-vsta | vsta)
800781 basic_machine=i386-unknown
801782 os=-vsta
802783 ;;
815796 os=-sysv
816797 ;;
817798 leon-*|leon[3-9]-*)
818 basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
799 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
819800 ;;
820801 m68knommu)
821802 basic_machine=m68k-unknown
822803 os=-linux
823804 ;;
824805 m68knommu-*)
825 basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
806 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
826807 os=-linux
808 ;;
809 m88k-omron*)
810 basic_machine=m88k-omron
827811 ;;
828812 magnum | m3230)
829813 basic_machine=mips-mips
856840 os=-mint
857841 ;;
858842 mips3*-*)
859 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
843 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
860844 ;;
861845 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
863847 ;;
864848 monitor)
865849 basic_machine=m68k-rom68k
878862 os=-msdos
879863 ;;
880864 ms1-*)
881 basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
865 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
882866 ;;
883867 msys)
884868 basic_machine=i686-pc
920904 basic_machine=v70-nec
921905 os=-sysv
922906 ;;
923 next | m*-next)
907 next | m*-next )
924908 basic_machine=m68k-next
925909 case $os in
926910 -nextstep* )
965949 nsr-tandem)
966950 basic_machine=nsr-tandem
967951 ;;
968 nsv-tandem)
969 basic_machine=nsv-tandem
970 ;;
971952 nsx-tandem)
972953 basic_machine=nsx-tandem
973954 ;;
1003984 os=-linux
1004985 ;;
1005986 parisc-*)
1006 basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
987 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
1007988 os=-linux
1008989 ;;
1009990 pbd)
10191000 basic_machine=i386-pc
10201001 ;;
10211002 pc98-*)
1022 basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1003 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
10231004 ;;
10241005 pentium | p5 | k5 | k6 | nexgen | viac3)
10251006 basic_machine=i586-pc
10341015 basic_machine=i786-pc
10351016 ;;
10361017 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1037 basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1018 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
10381019 ;;
10391020 pentiumpro-* | p6-* | 6x86-* | athlon-*)
1040 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1021 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
10411022 ;;
10421023 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1043 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1024 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
10441025 ;;
10451026 pentium4-*)
1046 basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1027 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
10471028 ;;
10481029 pn)
10491030 basic_machine=pn-gould
10531034 ppc | ppcbe) basic_machine=powerpc-unknown
10541035 ;;
10551036 ppc-* | ppcbe-*)
1056 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1037 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
10571038 ;;
10581039 ppcle | powerpclittle)
10591040 basic_machine=powerpcle-unknown
10601041 ;;
10611042 ppcle-* | powerpclittle-*)
1062 basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1043 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
10631044 ;;
10641045 ppc64) basic_machine=powerpc64-unknown
10651046 ;;
1066 ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1047 ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
10671048 ;;
10681049 ppc64le | powerpc64little)
10691050 basic_machine=powerpc64le-unknown
10701051 ;;
10711052 ppc64le-* | powerpc64little-*)
1072 basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1053 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
10731054 ;;
10741055 ps2)
10751056 basic_machine=i386-ibm
11231104 sequent)
11241105 basic_machine=i386-sequent
11251106 ;;
1107 sh)
1108 basic_machine=sh-hitachi
1109 os=-hms
1110 ;;
11261111 sh5el)
11271112 basic_machine=sh5le-unknown
11281113 ;;
1129 simso-wrs)
1114 sh64)
1115 basic_machine=sh64-unknown
1116 ;;
1117 sparclite-wrs | simso-wrs)
11301118 basic_machine=sparclite-wrs
11311119 os=-vxworks
11321120 ;;
11451133 os=-sysv4
11461134 ;;
11471135 strongarm-* | thumb-*)
1148 basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1136 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
11491137 ;;
11501138 sun2)
11511139 basic_machine=m68000-sun
12591247 basic_machine=a29k-wrs
12601248 os=-vxworks
12611249 ;;
1250 wasm32)
1251 basic_machine=wasm32-unknown
1252 ;;
12621253 w65*)
12631254 basic_machine=w65-wdc
12641255 os=-none
12671258 basic_machine=hppa1.1-winbond
12681259 os=-proelf
12691260 ;;
1270 x64)
1271 basic_machine=x86_64-pc
1272 ;;
12731261 xbox)
12741262 basic_machine=i686-pc
12751263 os=-mingw32
12781266 basic_machine=xps100-honeywell
12791267 ;;
12801268 xscale-* | xscalee[bl]-*)
1281 basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
1269 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
12821270 ;;
12831271 ymp)
12841272 basic_machine=ymp-cray
12851273 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
12861282 ;;
12871283 none)
12881284 basic_machine=none-none
13121308 vax)
13131309 basic_machine=vax-dec
13141310 ;;
1311 pdp10)
1312 # there are many clones, so DEC is not a safe bet
1313 basic_machine=pdp10-unknown
1314 ;;
13151315 pdp11)
13161316 basic_machine=pdp11-dec
13171317 ;;
13211321 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
13221322 basic_machine=sh-unknown
13231323 ;;
1324 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1325 basic_machine=sparc-sun
1326 ;;
13241327 cydra)
13251328 basic_machine=cydra-cydrome
13261329 ;;
13401343 # Make sure to match an already-canonicalized machine name.
13411344 ;;
13421345 *)
1343 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
1346 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
13441347 exit 1
13451348 ;;
13461349 esac
13481351 # Here we canonicalize certain aliases for manufacturers.
13491352 case $basic_machine in
13501353 *-digital*)
1351 basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
1354 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
13521355 ;;
13531356 *-commodore*)
1354 basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
1357 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
13551358 ;;
13561359 *)
13571360 ;;
13591362
13601363 # Decode manufacturer-specific aliases for certain operating systems.
13611364
1362 if [ x$os != x ]
1365 if [ x"$os" != x"" ]
13631366 then
13641367 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.
13671370 # -solaris* is a basic system type, with this one exception.
13681371 -auroraux)
13691372 os=-auroraux
13741377 -solaris)
13751378 os=-solaris2
13761379 ;;
1380 -svr4*)
1381 os=-sysv4
1382 ;;
13771383 -unixware*)
13781384 os=-sysv4.2uw
13791385 ;;
13801386 -gnu/linux*)
13811387 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
13821388 ;;
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.
13881390 # 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.
13901392 # -sysv* is not here because it comes later, after sysvr4.
13911393 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
13921394 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
13961398 | -aos* | -aros* | -cloudabi* | -sortix* \
13971399 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
13981400 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1399 | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
1401 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
14001402 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
14011403 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
14021404 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
14031405 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1404 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* | -hcos* \
1406 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
14051407 | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
14061408 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
14071409 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
14081410 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
14091411 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1410 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
1412 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
14111413 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
14121414 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
14131415 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1414 | -morphos* | -superux* | -rtmk* | -windiss* \
1416 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
14151417 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
14161418 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1417 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
1418 | -midnightbsd*)
1419 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
14191420 # Remember, each alternative MUST END IN *, to match a version number.
14201421 ;;
14211422 -qnx*)
14321433 -nto*)
14331434 os=`echo $os | sed -e 's|nto|nto-qnx|'`
14341435 ;;
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* \
14371438 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
14381439 ;;
14391440 -mac*)
1440 os=`echo "$os" | sed -e 's|mac|macos|'`
1441 os=`echo $os | sed -e 's|mac|macos|'`
14411442 ;;
14421443 -linux-dietlibc)
14431444 os=-linux-dietlibc
14461447 os=`echo $os | sed -e 's|linux|linux-gnu|'`
14471448 ;;
14481449 -sunos5*)
1449 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
1450 os=`echo $os | sed -e 's|sunos5|solaris2|'`
14501451 ;;
14511452 -sunos6*)
1452 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
1453 os=`echo $os | sed -e 's|sunos6|solaris3|'`
14531454 ;;
14541455 -opened*)
14551456 os=-openedition
14601461 -wince*)
14611462 os=-wince
14621463 ;;
1464 -osfrose*)
1465 os=-osfrose
1466 ;;
1467 -osf*)
1468 os=-osf
1469 ;;
14631470 -utek*)
14641471 os=-bsd
14651472 ;;
14841491 -nova*)
14851492 os=-rtmk-nova
14861493 ;;
1487 -ns2)
1494 -ns2 )
14881495 os=-nextstep2
14891496 ;;
14901497 -nsk*)
15061513 -oss*)
15071514 os=-sysv3
15081515 ;;
1509 -svr4*)
1516 -svr4)
15101517 os=-sysv4
15111518 ;;
15121519 -svr3)
15211528 -ose*)
15221529 os=-ose
15231530 ;;
1531 -es1800*)
1532 os=-ose
1533 ;;
1534 -xenix)
1535 os=-xenix
1536 ;;
15241537 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
15251538 os=-mint
15261539 ;;
1540 -aros*)
1541 os=-aros
1542 ;;
15271543 -zvmoe)
15281544 os=-zvmoe
15291545 ;;
15301546 -dicos*)
15311547 os=-dicos
15321548 ;;
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 ;;
15461549 -nacl*)
15471550 ;;
15481551 -ios)
15491552 ;;
15501553 -none)
1551 ;;
1552 -*-eabi)
1553 case $basic_machine in
1554 arm*)
1555 ;;
1556 esac
15571554 ;;
15581555 *)
15591556 # Get rid of the `-' at the beginning of $os.
15601557 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
15621559 exit 1
15631560 ;;
15641561 esac
16541651 *-be)
16551652 os=-beos
16561653 ;;
1654 *-haiku)
1655 os=-haiku
1656 ;;
16571657 *-ibm)
16581658 os=-aix
16591659 ;;
16931693 m88k-omron*)
16941694 os=-luna
16951695 ;;
1696 *-next)
1696 *-next )
16971697 os=-nextstep
16981698 ;;
16991699 *-sequent)
17071707 ;;
17081708 i370-*)
17091709 os=-mvs
1710 ;;
1711 *-next)
1712 os=-nextstep3
17101713 ;;
17111714 *-gould)
17121715 os=-sysv
18171820 vendor=stratus
18181821 ;;
18191822 esac
1820 basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
1823 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
18211824 ;;
18221825 esac
18231826
1824 echo "$basic_machine$os"
1827 echo $basic_machine$os
18251828 exit
18261829
18271830 # Local variables:
1828 # eval: (add-hook 'before-save-hook 'time-stamp)
1831 # eval: (add-hook 'write-file-hooks 'time-stamp)
18291832 # time-stamp-start: "timestamp='"
18301833 # time-stamp-format: "%:y-%02m-%02d"
18311834 # time-stamp-end: "'"
00 #! /bin/sh
11 # 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.
33 #
44 #
55 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
586586 # Identity of this package.
587587 PACKAGE_NAME='xdg-desktop-portal'
588588 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'
591591 PACKAGE_BUGREPORT=''
592592 PACKAGE_URL=''
593593
693693 AMDEPBACKSLASH
694694 AMDEP_FALSE
695695 AMDEP_TRUE
696 am__quote
696697 am__include
697698 DEPDIR
698699 am__untar
793794 PACKAGE_TARNAME
794795 PACKAGE_NAME
795796 PATH_SEPARATOR
796 SHELL
797 am__quote'
797 SHELL'
798798 ac_subst_files=''
799799 ac_user_opts='
800800 enable_option_checking
13831383 # Omit some internal or obsolete options to make the list less imposing.
13841384 # This message is too long to be a string in the A/UX 3.1 sh.
13851385 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.
13871387
13881388 Usage: $0 [OPTION]... [VAR=VALUE]...
13891389
14541454
14551455 if test -n "$ac_init_help"; then
14561456 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:";;
14581458 esac
14591459 cat <<\_ACEOF
14601460
16041604 test -n "$ac_init_help" && exit $ac_status
16051605 if $ac_init_version; then
16061606 cat <<\_ACEOF
1607 xdg-desktop-portal configure 0.99
1607 xdg-desktop-portal configure 1.0
16081608 generated by GNU Autoconf 2.69
16091609
16101610 Copyright (C) 2012 Free Software Foundation, Inc.
19691969 This file contains any messages produced by compilers while
19701970 running configure, to aid debugging if configure makes a mistake.
19711971
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
19731973 generated by GNU Autoconf 2.69. Invocation command line was
19741974
19751975 $ $0 $@
1220812208 ac_config_headers="$ac_config_headers config.h"
1220912209
1221012210
12211 am__api_version='1.16'
12211 am__api_version='1.15'
1221212212
1221312213 # Find a good install program. We prefer a C program (faster),
1221412214 # so one script is as good as another. But avoid the broken or
1259212592
1259312593 ac_config_commands="$ac_config_commands depfiles"
1259412594
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'
1259812598 am__doit:
12599 @echo this is the am__doit target >confinc.out
12599 @echo this is the am__doit target
1260012600 .PHONY: am__doit
1260112601 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; }
1260212605 am__include="#"
1260312606 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
1262412626 ;;
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
1263412634
1263512635 # Check whether --enable-dependency-tracking was given.
1263612636 if test "${enable_dependency_tracking+set}" = set; then :
1271212712
1271312713 # Define the identity of the package.
1271412714 PACKAGE='xdg-desktop-portal'
12715 VERSION='0.99'
12715 VERSION='1.0'
1271612716
1271712717
1271812718 # Some tools Automake needs.
1273312733
1273412734 # For better backward compatibility. To be removed once Automake 1.9.x
1273512735 # 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>
1273812738 mkdir_p='$(MKDIR_P)'
1273912739
1274012740 # We need awk for the "check" target (and possibly the TAP driver). The
1302913029 Aborting the configuration process, to ensure you take notice of the issue.
1303013030
1303113031 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/>.
1303313033
1303413034 If you want to complete the configuration process using your problematic
1303513035 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
1551515515 pkg_cv_PIPEWIRE_CFLAGS="$PIPEWIRE_CFLAGS"
1551615516 elif test -n "$PKG_CONFIG"; then
1551715517 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
1552015520 ac_status=$?
1552115521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1552215522 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`
1552415524 test "x$?" != "x0" && pkg_failed=yes
1552515525 else
1552615526 pkg_failed=yes
1553215532 pkg_cv_PIPEWIRE_LIBS="$PIPEWIRE_LIBS"
1553315533 elif test -n "$PKG_CONFIG"; then
1553415534 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
1553715537 ac_status=$?
1553815538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553915539 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`
1554115541 test "x$?" != "x0" && pkg_failed=yes
1554215542 else
1554315543 pkg_failed=yes
1555815558 _pkg_short_errors_supported=no
1555915559 fi
1556015560 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`
1556215562 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`
1556415564 fi
1556515565 # Put the nasty error message in config.log where it belongs
1556615566 echo "$PIPEWIRE_PKG_ERRORS" >&5
1556715567
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:
1556915569
1557015570 $PIPEWIRE_PKG_ERRORS
1557115571
1656516565 # report actual input values of CONFIG_FILES etc. instead of their
1656616566 # values after options handling.
1656716567 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
1656916569 generated by GNU Autoconf 2.69. Invocation command line was
1657016570
1657116571 CONFIG_FILES = $CONFIG_FILES
1663116631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1663216632 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1663316633 ac_cs_version="\\
16634 xdg-desktop-portal config.status 0.99
16634 xdg-desktop-portal config.status 1.0
1663516635 configured by $0, generated by GNU Autoconf 2.69,
1663616636 with options \\"\$ac_cs_config\\"
1663716637
1703317033
1703417034
1703517035
17036 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17036 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1703717037 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
1703817038 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
1703917039 # from automake < 1.5.
1820118201 # Older Autoconf quotes --file arguments for eval, but not when files
1820218202 # are listed without --file. Let's play safe and only enable the eval
1820318203 # 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
1821418208 shift
18215 # Used to flag and report bootstrapping failures.
18216 am_rc=0
18217 for am_mf
18209 for mf
1821818210 do
1821918211 # 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
1822418219 # 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" |
1823318227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1823418228 s//\1/
1823518229 q
1824718241 q
1824818242 }
1824918243 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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1825618270 s//\1/
1825718271 q
1825818272 }
18259 /^X\/\(\/\/\)$/{
18273 /^X\(\/\/\)[^/].*/{
1826018274 s//\1/
1826118275 q
1826218276 }
18263 /^X\/\(\/\).*/{
18277 /^X\(\/\/\)$/{
18278 s//\1/
18279 q
18280 }
18281 /^X\(\/\).*/{
1826418282 s//\1/
1826518283 q
1826618284 }
1826718285 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
1827718290 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
1829218291 }
1829318292 ;;
1829418293 "po-directories":C)
00 AC_PREREQ([2.63])
11
2 AC_INIT([xdg-desktop-portal],[0.99])
2 AC_INIT([xdg-desktop-portal],[1.0])
33
44 AC_USE_SYSTEM_EXTENSIONS
55 AC_SYS_LARGEFILE
6666 [AS_HELP_STRING([--enable-pipewire],[Enable PipeWire support. Needed for screen cast portal])],
6767 enable_pipewire=$enableval, enable_pipewire=yes)
6868 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])
7070 AC_DEFINE([HAVE_PIPEWIRE],[1], [Define to enable PipeWire support])
7171 fi
7272 AM_CONDITIONAL([HAVE_PIPEWIRE],[test "$enable_pipewire" = "yes"])
7272 <annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/>
7373 <arg type="a{sv}" name="results" direction="out"/>
7474 </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>
75105 </interface>
76106 </node>
4141 #org.freedesktop.ScreenCast.SelectSources with the
4242 #org.freedesktop.Session object created with this method.
4343
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
4464 The following results get returned via the #org.freedesktop.portal.Request::Response signal:
4565 <variablelist>
4666 <varlistentry>
6787
6888 Supported keys in the @options vardict include:
6989 <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>
7098 <varlistentry>
7199 <term>type u</term>
72100 <listitem><para>
95123 devices and optionally screen content if screen cast sources was
96124 selected.
97125
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
98138 The following results get returned via the
99139 #org.freedesktop.portal.Request::Response signal:
100140 <variablelist>
3838 Supported keys in the @options vardict include:
3939 <variablelist>
4040 <varlistentry>
41 <term>session_handle_token s</term>
41 <term>handle_token s</term>
4242 <listitem><para>
4343 A string that will be used as the last element of the @handle. Must be a valid
4444 object path element. See the #org.freedesktop.portal.Request documentation for
4545 more information about the @handle.
4646 </para></listitem>
4747 </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>
4856 </variablelist>
4957
5058 The following results get returned via the #org.freedesktop.portal.Request::Response signal:
7987 Supported keys in the @options vardict include:
8088 <variablelist>
8189 <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>
8298 <term>types u</term>
8399 <listitem><para>
84100 Bitmask of what types of content to record. Default is MONITOR.
112128
113129 A screen cast session may only be started after having selected sources
114130 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>
115143
116144 The following results get returned via the
117145 #org.freedesktop.portal.Request::Response signal:
2828 via the document portal, and the returned URI will point
2929 into the document portal fuse filesystem in /run/user/$UID/doc/.
3030
31 This documentation describes version 1 of this interface.
31 This documentation describes version 2 of this interface.
3232 -->
3333 <interface name="org.freedesktop.portal.Screenshot">
3434 <!--
3535 Screenshot:
36 Supported keys in the @options vardict include:
3637 @parent_window: Identifier for the application window, see <link linkend="parent_window">Common Conventions</link>
3738 @options: Vardict with optional further information
3839 @handle: Object path for the #org.freedesktop.portal.Request object representing this call
7879 <arg type="a{sv}" name="options" direction="in"/>
7980 <arg type="o" name="handle" direction="out"/>
8081 </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>
81115 <property name="version" type="u" access="read"/>
82116 </interface>
83117 </node>
2424
2525 The Session interface is shared by all portal interfaces that involve
2626 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
2828 a Session object, which will stay alive for the duration of the session.
2929
3030 The duration of the session is defined by the interface that creates it.
0 #! /bin/sh
0 #!/bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
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.
66
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
1515 # GNU General Public License for more details.
1616
1717 # 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/>.
1919
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
782782 # Local Variables:
783783 # mode: shell-script
784784 # sh-indentation: 2
785 # eval: (add-hook 'before-save-hook 'time-stamp)
785 # eval: (add-hook 'write-file-hooks 'time-stamp)
786786 # time-stamp-start: "scriptversion="
787787 # time-stamp-format: "%:y-%02m-%02d.%02H"
788788 # 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.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
416416 *config.status*) \
417417 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
418418 *) \
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);; \
421421 esac;
422422
423423 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
464464 cscope cscopelist:
465465
466466
467 distdir: $(BUILT_SOURCES)
468 $(MAKE) $(AM_MAKEFLAGS) distdir-am
469
470 distdir-am: $(DISTFILES)
467 distdir: $(DISTFILES)
471468 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
472469 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
473470 list='$(DISTFILES)'; \
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2018-03-11.20; # UTC
3 scriptversion=2016-01-11.22; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
270270 fi
271271 dst=$dst_arg
272272
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.
274275 if test -d "$dst"; then
275276 if test "$is_target_a_directory" = never; then
276277 echo "$0: $dst_arg: Is a directory" >&2
277278 exit 1
278279 fi
279280 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"`
285282 dstdir_status=0
286283 else
287284 dstdir=`dirname "$dst"`
289286 dstdir_status=$?
290287 fi
291288 fi
292
293 case $dstdir in
294 */) dstdirslash=$dstdir;;
295 *) dstdirslash=$dstdir/;;
296 esac
297289
298290 obsolete_mkdir_used=false
299291
331323 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
332324 ;;
333325 *)
334 # Note that $RANDOM variable is not portable (e.g. dash); Use it
335 # here however when possible just to lower collision chance.
336326 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
344329 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
347331 then
348332 if test -z "$dir_arg" || {
349333 # Check for POSIX incompatibilities with -m.
350334 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
351335 # other-writable bit of parent directory when it shouldn't.
352336 # 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"`
355338 case $ls_ld_tmpdir in
356339 d????-?r-*) different_mode=700;;
357340 d????-?--*) different_mode=755;;
358341 *) false;;
359342 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"`
362345 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
363346 }
364347 }
365348 then posix_mkdir=:
366349 fi
367 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
350 rmdir "$tmpdir/d" "$tmpdir"
368351 else
369352 # 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
371354 fi
372355 trap '' 0;;
373356 esac;;
443426 else
444427
445428 # 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.$$_
448431
449432 # Trap to clean up those temp files at exit.
450433 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
509492 done
510493
511494 # Local variables:
512 # eval: (add-hook 'before-save-hook 'time-stamp)
495 # eval: (add-hook 'write-file-hooks 'time-stamp)
513496 # time-stamp-start: "scriptversion="
514497 # time-stamp-format: "%:y-%02m-%02d.%02H"
515498 # time-stamp-time-zone: "UTC0"
0 #! /bin/sh
0 #!/bin/sh
11 # Common wrapper for a few potentially missing GNU programs.
22
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.
66 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717
1818 # 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/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
100100 exit $st
101101 fi
102102
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
106106
107107 program_details ()
108108 {
206206 exit $st
207207
208208 # Local variables:
209 # eval: (add-hook 'before-save-hook 'time-stamp)
209 # eval: (add-hook 'write-file-hooks 'time-stamp)
210210 # time-stamp-start: "scriptversion="
211211 # time-stamp-format: "%:y-%02m-%02d.%02H"
212212 # time-stamp-time-zone: "UTC0"
Binary diff not shown
77 msgstr ""
88 "Project-Id-Version: xdg-desktop-portal master\n"
99 "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"
1111 "PO-Revision-Date: 2016-11-09 12:23+0100\n"
1212 "Last-Translator: Marek Černocký <marek@manet.cz>\n"
1313 "Language-Team: Czech <gnome-cs-list@gnome.org>\n"
Binary diff not shown
77 msgstr ""
88 "Project-Id-Version: xdg-desktop-portal master\n"
99 "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"
1111 "PO-Revision-Date: 2016-09-23 19:17+0200\n"
1212 "Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
1313 "Language-Team: German <gnome-de@gnome.org>\n"
Binary diff not shown
55 msgstr ""
66 "Project-Id-Version: xdg-desktop-portal master\n"
77 "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"
99 "PO-Revision-Date: 2018-02-20 14:43-0600\n"
1010 "Last-Translator: Adolfo Jayme Barrientos <fitojb@ubuntu.com>\n"
1111 "Language-Team: Spanish\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2017-03-02 11:34+0100\n"
1111 "Last-Translator: Nicolas Cuffia <cuffia.cuceglio@vivaldi.net>\n"
1212 "Language-Team: French <gnomefr@traduc.org>\n"
Binary diff not shown
55 msgstr ""
66 "Project-Id-Version: xdg-desktop-portal master\n"
77 "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"
99 "PO-Revision-Date: 2017-09-26 12:24+0200\n"
1010 "Last-Translator: Fran Dieguez <frandieguez@gnome.org>\n"
1111 "Language-Team: Galician\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal\n"
88 "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"
1010 "PO-Revision-Date: 2016-07-30 15:55+0100\n"
1111 "Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
1212 "Language-Team: Hungarian <gnome-hu-list at gnome dot org>\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2017-08-18 19:48+0700\n"
1111 "Last-Translator: Kukuh Syafaat <syafaatkukuh@gmail.com>\n"
1212 "Language-Team: Indonesian <gnome-l10n-id@googlegroups.com>\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2017-06-02 11:21+0200\n"
1111 "Last-Translator: Milo Casagrande <milo@milo.name>\n"
1212 "Language-Team: Italian <gnome-it-list@gnome.org>\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2018-02-13 01:08+0200\n"
1111 "Last-Translator: Moo\n"
1212 "Language-Team: Lithuanian <gnome-lt@lists.akl.lt>\n"
Binary diff not shown
77 msgstr ""
88 "Project-Id-Version: xdg-desktop-portal\n"
99 "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"
1111 "PO-Revision-Date: 2017-01-16 14:01+0100\n"
1212 "Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
1313 "Language-Team: Polish <community-poland@mozilla.org>\n"
Binary diff not shown
55 msgstr ""
66 "Project-Id-Version: xdg-desktop-portal master\n"
77 "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"
99 "PO-Revision-Date: 2016-08-10 08:25-0200\n"
1010 "Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n"
1111 "Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2016-08-08 09:14+0200\n"
1111 "Last-Translator: Dušan Kazik <prescott66@gmail.com>\n"
1212 "Language-Team: Slovak <gnome-sk-list@gnome.org>\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2016-09-14 12:54+0200\n"
1111 "Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
1212 "Language-Team: српски <gnome-sr@googlegroups.org>\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2016-08-14 13:43+0800\n"
1111 "Last-Translator: Sebastian Rasmussen <sebras@gmail.com>\n"
1212 "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2017-10-06 21:38+0300\n"
1111 "Last-Translator: Muhammet Kara <muhammetk@gmail.com>\n"
1212 "Language-Team: Türkçe <gnome-turk@gnome.org>\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2016-08-26 12:25+0300\n"
1111 "Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
1212 "Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n"
55 #, fuzzy
66 msgid ""
77 msgstr ""
8 "Project-Id-Version: xdg-desktop-portal 0.99\n"
8 "Project-Id-Version: xdg-desktop-portal 1.0\n"
99 "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"
1111 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313 "Language-Team: LANGUAGE <LL@li.org>\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2016-10-28 17:59-0400\n"
1111 "Last-Translator: Mingye Wang (Arthur2e5) <arthur200126@gmail.com>\n"
1212 "Language-Team: Chinese (China) <i18n-zh@googlegroups.com>\n"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "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"
1010 "PO-Revision-Date: 2018-03-26 20:40+0800\n"
1111 "Last-Translator: Cheng-Chia Tseng <pswo10680@gmail.com>\n"
1212 "Language-Team: Chinese (Taiwan) <chinese-l10n@googlegroups.com>\n"
7070 guint response;
7171 GVariant *options;
7272 g_autoptr(GError) error = NULL;
73 const char *uri;
74 g_autofree char *ruri = NULL;
73 const char *retval;
7574
7675 REQUEST_AUTOLOCK (request);
7776
8382 if (response != 0)
8483 goto out;
8584
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 }
95115 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 }
97119
98120 out:
99121 if (request->exported)
131153
132154 task = g_task_new (NULL, NULL, NULL, NULL);
133155 g_task_set_task_data (task, g_object_ref (request), g_object_unref);
156 g_object_set_data (G_OBJECT (task), "retval", "url");
134157 g_task_run_in_thread (task, send_response_in_thread_func);
135158 }
136159
185208 }
186209
187210 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
188289 screenshot_iface_init (XdpScreenshotIface *iface)
189290 {
190291 iface->handle_screenshot = handle_screenshot;
292 iface->handle_pick_color = handle_pick_color;
191293 }
192294
193295 static void
194296 screenshot_init (Screenshot *fc)
195297 {
196 xdp_screenshot_set_version (XDP_SCREENSHOT (fc), 1);
298 xdp_screenshot_set_version (XDP_SCREENSHOT (fc), 2);
197299 }
198300
199301 static void
5353
5454 static GOptionEntry entries[] = {
5555 { "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 },
5757 { NULL }
5858 };
5959
469469 g_set_printerr_handler (printerr_handler);
470470
471471 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");
472483 g_option_context_add_main_entries (context, entries, NULL);
473484 if (!g_option_context_parse (context, &argc, &argv, &error))
474485 {
0 #! /bin/sh
0 #!/bin/sh
11 # test-driver - basic testsuite driver script.
22
3 scriptversion=2018-03-07.03; # UTC
3 scriptversion=2016-01-11.22; # UTC
44
5 # Copyright (C) 2011-2018 Free Software Foundation, Inc.
5 # Copyright (C) 2011-2017 Free Software Foundation, Inc.
66 #
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
1515 # GNU General Public License for more details.
1616 #
1717 # 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/>.
1919
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
139139 # Local Variables:
140140 # mode: shell-script
141141 # sh-indentation: 2
142 # eval: (add-hook 'before-save-hook 'time-stamp)
142 # eval: (add-hook 'write-file-hooks 'time-stamp)
143143 # time-stamp-start: "scriptversion="
144144 # time-stamp-format: "%:y-%02m-%02d.%02H"
145145 # time-stamp-time-zone: "UTC0"