Merge lp:ubuntu/trusty-updates/mesa into lp:ubuntu/trusty/mesa
- Trusty (14.04)
- trusty-updates
- Merge into trusty
Proposed by
Octavio Arturo Guerrero Rivera
Status: | Needs review |
---|---|
Proposed branch: | lp:ubuntu/trusty-updates/mesa |
Merge into: | lp:ubuntu/trusty/mesa |
Diff against target: |
60158 lines (+23040/-14952) 276 files modified
Makefile.in (+124/-101) VERSION (+1/-1) aclocal.m4 (+257/-221) bin/.cherry-ignore (+9/-0) bin/ar-lib (+1/-1) bin/compile (+7/-2) bin/config.guess (+105/-77) bin/config.sub (+57/-48) bin/depcomp (+269/-185) bin/get-pick-list.sh (+1/-1) bin/ltmain.sh (+19/-13) bin/missing (+150/-265) bin/test-driver (+139/-0) configure (+334/-287) configure.ac (+37/-19) debian/changelog (+53/-6) debian/control (+4/-6) debian/patches/cso-fix-sampler-view-count.patch (+0/-43) debian/patches/egl-platform-mir.patch (+4/-4) debian/patches/fix-gpu-hangs-on-bdw.diff (+89/-0) debian/patches/series (+1/-3) debian/patches/svga-move-dirty-buffers.patch (+0/-47) debian/patches/svga-replace-sampler-assertion.patch (+0/-96) docs/relnotes/10.1.1.html (+254/-0) docs/relnotes/10.1.2.html (+179/-0) docs/relnotes/10.1.3.html (+87/-0) include/c11/threads_posix.h (+2/-0) include/c11/threads_win32.h (+35/-3) include/pci_ids/pci_id_driver_map.h (+0/-81) scons/gallium.py (+5/-0) src/Makefile.in (+106/-87) src/egl/Makefile.in (+106/-87) src/egl/drivers/Makefile.in (+106/-87) src/egl/drivers/dri2/Makefile.in (+84/-52) src/egl/drivers/dri2/egl_dri2.c (+2/-2) src/egl/drivers/dri2/platform_drm.c (+6/-1) src/egl/drivers/dri2/platform_wayland.c (+1/-1) src/egl/drivers/glx/Makefile.in (+84/-52) src/egl/main/Makefile.in (+87/-54) src/egl/wayland/Makefile.in (+106/-87) src/egl/wayland/wayland-drm/Makefile.in (+85/-53) src/egl/wayland/wayland-egl/Makefile.in (+97/-64) src/gallium/auxiliary/Makefile.in (+117/-96) src/gallium/auxiliary/cso_cache/cso_context.c (+4/-3) src/gallium/auxiliary/draw/draw_pipe_pstipple.c (+2/-1) src/gallium/auxiliary/pipe-loader/Makefile.in (+82/-50) src/gallium/auxiliary/util/u_blitter.c (+2/-0) src/gallium/auxiliary/util/u_gen_mipmap.c (+20/-28) src/gallium/auxiliary/util/u_math.h (+4/-0) src/gallium/drivers/Makefile.in (+106/-87) src/gallium/drivers/freedreno/Makefile.in (+84/-52) src/gallium/drivers/galahad/Makefile.in (+86/-54) src/gallium/drivers/i915/Makefile.in (+86/-54) src/gallium/drivers/identity/Makefile.in (+86/-54) src/gallium/drivers/ilo/Makefile.in (+84/-52) src/gallium/drivers/llvmpipe/Makefile.in (+486/-146) src/gallium/drivers/noop/Makefile.in (+86/-54) src/gallium/drivers/nouveau/Makefile.in (+84/-52) src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp (+11/-3) src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp (+1/-1) src/gallium/drivers/nouveau/nouveau_vp3_video.c (+3/-3) src/gallium/drivers/nouveau/nv30/nv30_screen.c (+10/-4) src/gallium/drivers/nouveau/nv50/nv50_screen.c (+9/-2) src/gallium/drivers/nouveau/nv50/nv50_state.c (+2/-1) src/gallium/drivers/nouveau/nv50/nv50_surface.c (+8/-4) src/gallium/drivers/nouveau/nvc0/nvc0_screen.c (+8/-1) src/gallium/drivers/r300/Makefile.in (+453/-144) src/gallium/drivers/r300/r300_blit.c (+2/-2) src/gallium/drivers/r300/r300_context.h (+14/-0) src/gallium/drivers/r300/r300_emit.c (+16/-9) src/gallium/drivers/r300/r300_state.c (+28/-18) src/gallium/drivers/r600/Makefile.in (+84/-52) src/gallium/drivers/r600/evergreen_state.c (+42/-40) src/gallium/drivers/r600/evergreend.h (+3/-0) src/gallium/drivers/r600/r600_blit.c (+11/-1) src/gallium/drivers/r600/r600_hw_context.c (+11/-2) src/gallium/drivers/r600/r600_pipe.c (+8/-6) src/gallium/drivers/r600/r600_pipe.h (+33/-3) src/gallium/drivers/r600/r600_shader.c (+140/-21) src/gallium/drivers/r600/r600_shader.h (+1/-0) src/gallium/drivers/r600/r600_state.c (+34/-38) src/gallium/drivers/r600/r600_state_common.c (+19/-0) src/gallium/drivers/r600/r600d.h (+6/-0) src/gallium/drivers/radeon/Makefile.in (+87/-54) src/gallium/drivers/radeon/r600_texture.c (+6/-0) src/gallium/drivers/radeonsi/Makefile.in (+86/-54) src/gallium/drivers/radeonsi/si_pipe.c (+6/-3) src/gallium/drivers/rbug/Makefile.in (+86/-54) src/gallium/drivers/softpipe/Makefile.in (+86/-54) src/gallium/drivers/softpipe/sp_texture.c (+3/-3) src/gallium/drivers/svga/Makefile.in (+84/-52) src/gallium/drivers/svga/svga_context.c (+2/-2) src/gallium/drivers/svga/svga_state_fs.c (+32/-4) src/gallium/drivers/svga/svga_state_tss.c (+1/-1) src/gallium/drivers/trace/Makefile.in (+86/-54) src/gallium/include/pipe/p_config.h (+10/-0) src/gallium/state_trackers/Makefile.in (+106/-87) src/gallium/state_trackers/clover/Makefile.in (+86/-52) src/gallium/state_trackers/dri/Makefile.in (+106/-87) src/gallium/state_trackers/dri/drm/Makefile.in (+86/-54) src/gallium/state_trackers/dri/sw/Makefile.in (+86/-54) src/gallium/state_trackers/egl/Makefile.in (+84/-52) src/gallium/state_trackers/gbm/Makefile.in (+86/-54) src/gallium/state_trackers/glx/xlib/Makefile.in (+86/-54) src/gallium/state_trackers/osmesa/Makefile.in (+86/-54) src/gallium/state_trackers/osmesa/osmesa.c (+7/-4) src/gallium/state_trackers/vdpau/Makefile.in (+86/-54) src/gallium/state_trackers/vega/Makefile.in (+86/-54) src/gallium/state_trackers/xa/Makefile.in (+87/-54) src/gallium/state_trackers/xa/xa_context.c (+16/-4) src/gallium/state_trackers/xa/xa_renderer.c (+6/-5) src/gallium/state_trackers/xvmc/Makefile.in (+485/-145) src/gallium/targets/Makefile.in (+106/-87) src/gallium/targets/dri-freedreno/Makefile.in (+88/-54) src/gallium/targets/dri-i915/Makefile.in (+87/-54) src/gallium/targets/dri-ilo/Makefile.in (+93/-61) src/gallium/targets/dri-nouveau/Makefile.in (+87/-54) src/gallium/targets/dri-swrast/Makefile.in (+87/-54) src/gallium/targets/dri-vmwgfx/Makefile.in (+87/-54) src/gallium/targets/egl-static/Makefile.in (+88/-54) src/gallium/targets/gbm/Makefile.in (+87/-54) src/gallium/targets/haiku-softpipe/GalliumContext.cpp (+9/-3) src/gallium/targets/libgl-xlib/Makefile.in (+85/-52) src/gallium/targets/opencl/Makefile.in (+70/-102) src/gallium/targets/osmesa/Makefile.in (+74/-106) src/gallium/targets/pipe-loader/Makefile.in (+102/-63) src/gallium/targets/r300/dri/Makefile.in (+87/-54) src/gallium/targets/r600/dri/Makefile.in (+87/-54) src/gallium/targets/r600/vdpau/Makefile.in (+93/-60) src/gallium/targets/r600/xvmc/Makefile.in (+97/-63) src/gallium/targets/radeonsi/dri/Makefile.in (+87/-54) src/gallium/targets/radeonsi/vdpau/Makefile.in (+93/-60) src/gallium/targets/vdpau-nouveau/Makefile.in (+93/-60) src/gallium/targets/xa-vmwgfx/Makefile.in (+87/-54) src/gallium/targets/xvmc-nouveau/Makefile.in (+97/-63) src/gallium/tests/trivial/Makefile.in (+88/-54) src/gallium/tests/unit/Makefile.in (+100/-62) src/gallium/winsys/Makefile.in (+106/-87) src/gallium/winsys/freedreno/drm/Makefile.in (+86/-54) src/gallium/winsys/i915/drm/Makefile.in (+86/-54) src/gallium/winsys/i915/sw/Makefile.in (+86/-54) src/gallium/winsys/intel/drm/Makefile.in (+86/-54) src/gallium/winsys/nouveau/drm/Makefile.in (+86/-54) src/gallium/winsys/radeon/drm/Makefile.in (+86/-54) src/gallium/winsys/radeon/drm/radeon_drm_winsys.c (+2/-1) src/gallium/winsys/svga/drm/Makefile.in (+86/-54) src/gallium/winsys/svga/drm/vmw_screen.h (+3/-1) src/gallium/winsys/svga/drm/vmw_screen_dri.c (+4/-3) src/gallium/winsys/svga/drm/vmw_screen_ioctl.c (+74/-2) src/gallium/winsys/svga/drm/vmw_screen_pools.c (+13/-5) src/gallium/winsys/svga/drm/vmwgfx_drm.h (+12/-1) src/gallium/winsys/sw/dri/Makefile.in (+86/-54) src/gallium/winsys/sw/fbdev/Makefile.in (+86/-54) src/gallium/winsys/sw/null/Makefile.in (+86/-54) src/gallium/winsys/sw/wayland/Makefile.in (+86/-54) src/gallium/winsys/sw/wrapper/Makefile.in (+86/-54) src/gallium/winsys/sw/xlib/Makefile.in (+86/-54) src/gbm/Makefile.in (+85/-51) src/gbm/backends/dri/gbm_dri.c (+2/-0) src/glsl/Makefile.in (+495/-146) src/glsl/ast_to_hir.cpp (+96/-24) src/glsl/glcpp/glcpp-lex.c (+39/-27) src/glsl/glcpp/glcpp-parse.c (+778/-930) src/glsl/glcpp/glcpp-parse.h (+59/-75) src/glsl/glsl_lexer.cpp (+38/-26) src/glsl/glsl_parser.cpp (+1673/-1903) src/glsl/glsl_parser.h (+244/-258) src/glsl/glsl_parser.yy (+7/-4) src/glsl/glsl_parser_extras.cpp (+47/-17) src/glsl/glsl_parser_extras.h (+13/-0) src/glsl/link_uniform_block_active_visitor.cpp (+8/-0) src/glsl/link_uniform_block_active_visitor.h (+3/-0) src/glsl/link_uniform_blocks.cpp (+12/-2) src/glsl/link_uniform_initializers.cpp (+97/-30) src/glsl/linker.cpp (+155/-16) src/glsl/lower_ubo_reference.cpp (+7/-3) src/glsl/opt_vectorize.cpp (+1/-0) src/glx/Makefile.in (+111/-89) src/glx/dri2.h (+8/-0) src/glx/dri2_glx.c (+10/-10) src/glx/dri2_query_renderer.c (+43/-0) src/glx/dri3_glx.c (+9/-1) src/glx/dri3_priv.h (+1/-0) src/glx/glxext.c (+1/-3) src/glx/tests/Makefile.in (+449/-144) src/gtest/Makefile.in (+89/-57) src/loader/Makefile.in (+97/-55) src/loader/Makefile.sources (+2/-1) src/loader/loader.c (+7/-4) src/loader/pci_id_driver_map.c (+55/-0) src/loader/pci_id_driver_map.h (+85/-0) src/mapi/Makefile.in (+106/-87) src/mapi/es1api/Makefile.in (+439/-158) src/mapi/es2api/Makefile.in (+431/-150) src/mapi/glapi/Makefile.in (+118/-97) src/mapi/glapi/gen/Makefile.in (+53/-26) src/mapi/glapi/tests/Makefile.in (+449/-144) src/mapi/shared-glapi/Makefile.in (+111/-90) src/mapi/shared-glapi/tests/Makefile.in (+449/-144) src/mapi/u_thread.h (+18/-0) src/mapi/vgapi/Makefile.in (+89/-55) src/mesa/Makefile.in (+123/-99) src/mesa/drivers/dri/Makefile.in (+122/-100) src/mesa/drivers/dri/common/Makefile.in (+120/-98) src/mesa/drivers/dri/common/megadriver_stub.c (+2/-2) src/mesa/drivers/dri/common/xmlpool/Makefile.in (+59/-31) src/mesa/drivers/dri/i915/Makefile.in (+85/-53) src/mesa/drivers/dri/i965/Makefile.in (+469/-145) src/mesa/drivers/dri/i965/brw_context.c (+2/-10) src/mesa/drivers/dri/i965/brw_context.h (+7/-5) src/mesa/drivers/dri/i965/brw_draw.c (+18/-6) src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp (+6/-2) src/mesa/drivers/dri/i965/brw_misc_state.c (+11/-2) src/mesa/drivers/dri/i965/brw_vec4.cpp (+8/-0) src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp (+16/-5) src/mesa/drivers/dri/i965/gen7_sol_state.c (+18/-3) src/mesa/drivers/dri/i965/gen7_wm_surface_state.c (+2/-0) src/mesa/drivers/dri/i965/gen8_surface_state.c (+3/-0) src/mesa/drivers/dri/i965/intel_batchbuffer.c (+4/-0) src/mesa/drivers/dri/i965/intel_extensions.c (+0/-1) src/mesa/drivers/dri/i965/intel_fbo.c (+49/-19) src/mesa/drivers/dri/i965/intel_fbo.h (+12/-0) src/mesa/drivers/dri/i965/intel_mipmap_tree.c (+1/-1) src/mesa/drivers/dri/i965/intel_pixel_read.c (+7/-0) src/mesa/drivers/dri/i965/intel_screen.c (+11/-6) src/mesa/drivers/dri/nouveau/Makefile.in (+85/-53) src/mesa/drivers/dri/nouveau/nouveau_fbo.c (+2/-1) src/mesa/drivers/dri/nouveau/nouveau_texture.c (+1/-0) src/mesa/drivers/dri/r200/Makefile.in (+85/-53) src/mesa/drivers/dri/radeon/Makefile.in (+85/-53) src/mesa/drivers/dri/swrast/Makefile.in (+85/-53) src/mesa/drivers/osmesa/Makefile.in (+72/-104) src/mesa/drivers/x11/Makefile.in (+69/-101) src/mesa/main/bufferobj.c (+8/-4) src/mesa/main/fbobject.c (+16/-6) src/mesa/main/format_pack.c (+4/-4) src/mesa/main/format_unpack.c (+118/-13) src/mesa/main/format_unpack.h (+9/-1) src/mesa/main/formats.c (+9/-0) src/mesa/main/formats.h (+3/-0) src/mesa/main/genmipmap.c (+4/-0) src/mesa/main/get.c (+3/-3) src/mesa/main/getstring.c (+1/-1) src/mesa/main/glformats.c (+16/-0) src/mesa/main/imports.h (+1/-1) src/mesa/main/mipmap.c (+21/-23) src/mesa/main/mtypes.h (+15/-0) src/mesa/main/shader_query.cpp (+66/-5) src/mesa/main/streaming-load-memcpy.c (+3/-0) src/mesa/main/tests/Makefile.in (+472/-180) src/mesa/main/tests/hash_table/Makefile.in (+532/-154) src/mesa/main/texcompress_etc.c (+54/-24) src/mesa/main/texgetimage.c (+16/-7) src/mesa/main/teximage.c (+31/-14) src/mesa/main/texparam.c (+10/-3) src/mesa/main/texstore.c (+10/-4) src/mesa/main/varray.c (+8/-13) src/mesa/main/varray.h (+16/-0) src/mesa/program/lex.yy.c (+39/-27) src/mesa/program/program_parse.tab.c (+1458/-1672) src/mesa/program/program_parse.tab.h (+131/-145) src/mesa/state_tracker/st_atom.c (+4/-5) src/mesa/state_tracker/st_atom_framebuffer.c (+6/-0) src/mesa/state_tracker/st_atom_texture.c (+10/-0) src/mesa/state_tracker/st_cb_queryobj.c (+16/-2) src/mesa/state_tracker/st_context.c (+17/-0) src/mesa/state_tracker/st_draw.c (+0/-10) src/mesa/state_tracker/st_gen_mipmap.c (+2/-1) src/mesa/state_tracker/st_manager.c (+7/-2) src/mesa/state_tracker/st_program.c (+2/-2) src/mesa/state_tracker/st_texture.c (+7/-0) src/mesa/state_tracker/st_texture.h (+4/-0) src/mesa/swrast/s_blit.c (+8/-0) src/mesa/swrast/s_texture.c (+10/-0) src/mesa/swrast_setup/ss_context.c (+2/-1) src/mesa/vbo/vbo_attrib_tmp.h (+23/-22) |
To merge this branch: | bzr merge lp:ubuntu/trusty-updates/mesa |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu branches | Pending | ||
Review via email:
|
Commit message
Description of the change
To post a comment you must log in.
Unmerged revisions
- 220. By Maarten Lankhorst
-
Copy package back to trusty.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'Makefile.in' |
2 | --- Makefile.in 2014-02-25 14:29:26 +0000 |
3 | +++ Makefile.in 2024-05-07 03:08:38 +0000 |
4 | @@ -1,7 +1,7 @@ |
5 | -# Makefile.in generated by automake 1.12.2 from Makefile.am. |
6 | +# Makefile.in generated by automake 1.14.1 from Makefile.am. |
7 | # @configure_input@ |
8 | |
9 | -# Copyright (C) 1994-2012 Free Software Foundation, Inc. |
10 | +# Copyright (C) 1994-2013 Free Software Foundation, Inc. |
11 | |
12 | # This Makefile.in is free software; the Free Software Foundation |
13 | # gives unlimited permission to copy and/or distribute it, |
14 | @@ -35,23 +35,51 @@ |
15 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
16 | # IN THE SOFTWARE. |
17 | VPATH = @srcdir@ |
18 | -am__make_dryrun = \ |
19 | - { \ |
20 | - am__dry=no; \ |
21 | +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' |
22 | +am__make_running_with_option = \ |
23 | + case $${target_option-} in \ |
24 | + ?) ;; \ |
25 | + *) echo "am__make_running_with_option: internal error: invalid" \ |
26 | + "target option '$${target_option-}' specified" >&2; \ |
27 | + exit 1;; \ |
28 | + esac; \ |
29 | + has_opt=no; \ |
30 | + sane_makeflags=$$MAKEFLAGS; \ |
31 | + if $(am__is_gnu_make); then \ |
32 | + sane_makeflags=$$MFLAGS; \ |
33 | + else \ |
34 | case $$MAKEFLAGS in \ |
35 | *\\[\ \ ]*) \ |
36 | - echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ |
37 | - | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ |
38 | - *) \ |
39 | - for am__flg in $$MAKEFLAGS; do \ |
40 | - case $$am__flg in \ |
41 | - *=*|--*) ;; \ |
42 | - *n*) am__dry=yes; break;; \ |
43 | - esac; \ |
44 | - done;; \ |
45 | - esac; \ |
46 | - test $$am__dry = yes; \ |
47 | - } |
48 | + bs=\\; \ |
49 | + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ |
50 | + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ |
51 | + esac; \ |
52 | + fi; \ |
53 | + skip_next=no; \ |
54 | + strip_trailopt () \ |
55 | + { \ |
56 | + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ |
57 | + }; \ |
58 | + for flg in $$sane_makeflags; do \ |
59 | + test $$skip_next = yes && { skip_next=no; continue; }; \ |
60 | + case $$flg in \ |
61 | + *=*|--*) continue;; \ |
62 | + -*I) strip_trailopt 'I'; skip_next=yes;; \ |
63 | + -*I?*) strip_trailopt 'I';; \ |
64 | + -*O) strip_trailopt 'O'; skip_next=yes;; \ |
65 | + -*O?*) strip_trailopt 'O';; \ |
66 | + -*l) strip_trailopt 'l'; skip_next=yes;; \ |
67 | + -*l?*) strip_trailopt 'l';; \ |
68 | + -[dEDm]) skip_next=yes;; \ |
69 | + -[JT]) skip_next=yes;; \ |
70 | + esac; \ |
71 | + case $$flg in \ |
72 | + *$$target_option*) has_opt=yes; break;; \ |
73 | + esac; \ |
74 | + done; \ |
75 | + test $$has_opt = yes |
76 | +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) |
77 | +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) |
78 | pkgdatadir = $(datadir)/@PACKAGE@ |
79 | pkgincludedir = $(includedir)/@PACKAGE@ |
80 | pkglibdir = $(libdir)/@PACKAGE@ |
81 | @@ -72,14 +100,14 @@ |
82 | host_triplet = @host@ |
83 | target_triplet = @target@ |
84 | subdir = . |
85 | -DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ |
86 | - $(srcdir)/Makefile.in $(top_srcdir)/bin/ar-lib \ |
87 | +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ |
88 | + $(top_srcdir)/configure $(am__configure_deps) \ |
89 | + $(top_srcdir)/src/gbm/main/gbm.pc.in bin/ar-lib bin/compile \ |
90 | + bin/config.guess bin/config.sub bin/depcomp bin/install-sh \ |
91 | + bin/missing bin/ltmain.sh $(top_srcdir)/bin/ar-lib \ |
92 | $(top_srcdir)/bin/compile $(top_srcdir)/bin/config.guess \ |
93 | $(top_srcdir)/bin/config.sub $(top_srcdir)/bin/install-sh \ |
94 | - $(top_srcdir)/bin/ltmain.sh $(top_srcdir)/bin/missing \ |
95 | - $(top_srcdir)/configure $(top_srcdir)/src/gbm/main/gbm.pc.in \ |
96 | - bin/ar-lib bin/compile bin/config.guess bin/config.sub \ |
97 | - bin/install-sh bin/ltmain.sh bin/missing |
98 | + $(top_srcdir)/bin/ltmain.sh $(top_srcdir)/bin/missing |
99 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
100 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ |
101 | $(top_srcdir)/m4/ax_prog_bison.m4 \ |
102 | @@ -111,13 +139,14 @@ |
103 | am__v_at_1 = |
104 | SOURCES = |
105 | DIST_SOURCES = |
106 | -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
107 | - html-recursive info-recursive install-data-recursive \ |
108 | - install-dvi-recursive install-exec-recursive \ |
109 | - install-html-recursive install-info-recursive \ |
110 | - install-pdf-recursive install-ps-recursive install-recursive \ |
111 | - installcheck-recursive installdirs-recursive pdf-recursive \ |
112 | - ps-recursive uninstall-recursive |
113 | +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ |
114 | + ctags-recursive dvi-recursive html-recursive info-recursive \ |
115 | + install-data-recursive install-dvi-recursive \ |
116 | + install-exec-recursive install-html-recursive \ |
117 | + install-info-recursive install-pdf-recursive \ |
118 | + install-ps-recursive install-recursive installcheck-recursive \ |
119 | + installdirs-recursive pdf-recursive ps-recursive \ |
120 | + tags-recursive uninstall-recursive |
121 | am__can_run_installinfo = \ |
122 | case $$AM_UPDATE_INFO_DIR in \ |
123 | n|no|NO) false;; \ |
124 | @@ -125,9 +154,29 @@ |
125 | esac |
126 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
127 | distclean-recursive maintainer-clean-recursive |
128 | -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
129 | - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
130 | +am__recursive_targets = \ |
131 | + $(RECURSIVE_TARGETS) \ |
132 | + $(RECURSIVE_CLEAN_TARGETS) \ |
133 | + $(am__extra_recursive_targets) |
134 | +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
135 | cscope distdir dist dist-all distcheck |
136 | +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
137 | +# Read a list of newline-separated strings from the standard input, |
138 | +# and print each of them once, without duplicates. Input order is |
139 | +# *not* preserved. |
140 | +am__uniquify_input = $(AWK) '\ |
141 | + BEGIN { nonempty = 0; } \ |
142 | + { items[$$0] = 1; nonempty = 1; } \ |
143 | + END { if (nonempty) { for (i in items) print i; }; } \ |
144 | +' |
145 | +# Make sure the list of sources is unique. This is necessary because, |
146 | +# e.g., the same source file might be shared among _SOURCES variables |
147 | +# for different programs/libraries. |
148 | +am__define_uniq_tagged_files = \ |
149 | + list='$(am__tagged_files)'; \ |
150 | + unique=`for i in $$list; do \ |
151 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
152 | + done | $(am__uniquify_input)` |
153 | ETAGS = etags |
154 | CTAGS = ctags |
155 | CSCOPE = cscope |
156 | @@ -531,14 +580,13 @@ |
157 | # (1) if the variable is set in 'config.status', edit 'config.status' |
158 | # (which will cause the Makefiles to be regenerated when you run 'make'); |
159 | # (2) otherwise, pass the desired values on the 'make' command line. |
160 | -$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS): |
161 | - @fail= failcom='exit 1'; \ |
162 | - for f in x $$MAKEFLAGS; do \ |
163 | - case $$f in \ |
164 | - *=* | --[!k]*);; \ |
165 | - *k*) failcom='fail=yes';; \ |
166 | - esac; \ |
167 | - done; \ |
168 | +$(am__recursive_targets): |
169 | + @fail=; \ |
170 | + if $(am__make_keepgoing); then \ |
171 | + failcom='fail=yes'; \ |
172 | + else \ |
173 | + failcom='exit 1'; \ |
174 | + fi; \ |
175 | dot_seen=no; \ |
176 | target=`echo $@ | sed s/-recursive//`; \ |
177 | case "$@" in \ |
178 | @@ -559,31 +607,13 @@ |
179 | if test "$$dot_seen" = "no"; then \ |
180 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
181 | fi; test -z "$$fail" |
182 | -tags-recursive: |
183 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
184 | - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
185 | - done |
186 | -ctags-recursive: |
187 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
188 | - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
189 | - done |
190 | -cscopelist-recursive: |
191 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
192 | - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \ |
193 | - done |
194 | - |
195 | -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
196 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
197 | - unique=`for i in $$list; do \ |
198 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
199 | - done | \ |
200 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
201 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
202 | - mkid -fID $$unique |
203 | -tags: TAGS |
204 | - |
205 | -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
206 | - $(TAGS_FILES) $(LISP) |
207 | + |
208 | +ID: $(am__tagged_files) |
209 | + $(am__define_uniq_tagged_files); mkid -fID $$unique |
210 | +tags: tags-recursive |
211 | +TAGS: tags |
212 | + |
213 | +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
214 | set x; \ |
215 | here=`pwd`; \ |
216 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
217 | @@ -599,12 +629,7 @@ |
218 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
219 | fi; \ |
220 | done; \ |
221 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
222 | - unique=`for i in $$list; do \ |
223 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
224 | - done | \ |
225 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
226 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
227 | + $(am__define_uniq_tagged_files); \ |
228 | shift; \ |
229 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
230 | test -n "$$unique" || unique=$$empty_fix; \ |
231 | @@ -616,15 +641,11 @@ |
232 | $$unique; \ |
233 | fi; \ |
234 | fi |
235 | -ctags: CTAGS |
236 | -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
237 | - $(TAGS_FILES) $(LISP) |
238 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
239 | - unique=`for i in $$list; do \ |
240 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
241 | - done | \ |
242 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
243 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
244 | +ctags: ctags-recursive |
245 | + |
246 | +CTAGS: ctags |
247 | +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
248 | + $(am__define_uniq_tagged_files); \ |
249 | test -z "$(CTAGS_ARGS)$$unique" \ |
250 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
251 | $$unique |
252 | @@ -633,18 +654,16 @@ |
253 | here=`$(am__cd) $(top_builddir) && pwd` \ |
254 | && $(am__cd) $(top_srcdir) \ |
255 | && gtags -i $(GTAGS_ARGS) "$$here" |
256 | - |
257 | cscope: cscope.files |
258 | test ! -s cscope.files \ |
259 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) |
260 | - |
261 | clean-cscope: |
262 | -rm -f cscope.files |
263 | - |
264 | -cscope.files: clean-cscope cscopelist-recursive cscopelist |
265 | - |
266 | -cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP) |
267 | - list='$(SOURCES) $(HEADERS) $(LISP)'; \ |
268 | +cscope.files: clean-cscope cscopelist |
269 | +cscopelist: cscopelist-recursive |
270 | + |
271 | +cscopelist-am: $(am__tagged_files) |
272 | + list='$(am__tagged_files)'; \ |
273 | case "$(srcdir)" in \ |
274 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ |
275 | *) sdir=$(subdir)/$(srcdir) ;; \ |
276 | @@ -742,10 +761,16 @@ |
277 | $(am__post_remove_distdir) |
278 | |
279 | dist-tarZ: distdir |
280 | + @echo WARNING: "Support for shar distribution archives is" \ |
281 | + "deprecated." >&2 |
282 | + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
283 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
284 | $(am__post_remove_distdir) |
285 | |
286 | dist-shar: distdir |
287 | + @echo WARNING: "Support for distribution archives compressed with" \ |
288 | + "legacy program 'compress' is deprecated." >&2 |
289 | + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
290 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
291 | $(am__post_remove_distdir) |
292 | |
293 | @@ -778,18 +803,19 @@ |
294 | *.zip*) \ |
295 | unzip $(distdir).zip ;;\ |
296 | esac |
297 | - chmod -R a-w $(distdir); chmod u+w $(distdir) |
298 | - mkdir $(distdir)/_build |
299 | - mkdir $(distdir)/_inst |
300 | + chmod -R a-w $(distdir) |
301 | + chmod u+w $(distdir) |
302 | + mkdir $(distdir)/_build $(distdir)/_inst |
303 | chmod a-w $(distdir) |
304 | test -d $(distdir)/_build || exit 0; \ |
305 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
306 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
307 | && am__cwd=`pwd` \ |
308 | && $(am__cd) $(distdir)/_build \ |
309 | - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
310 | + && ../configure \ |
311 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
312 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
313 | + --srcdir=.. --prefix="$$dc_install_base" \ |
314 | && $(MAKE) $(AM_MAKEFLAGS) \ |
315 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
316 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
317 | @@ -947,16 +973,13 @@ |
318 | |
319 | uninstall-am: |
320 | |
321 | -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \ |
322 | - cscopelist-recursive ctags-recursive install-am install-strip \ |
323 | - tags-recursive |
324 | +.MAKE: $(am__recursive_targets) install-am install-strip |
325 | |
326 | -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
327 | - all all-am am--refresh check check-am clean clean-cscope \ |
328 | - clean-generic clean-libtool cscope cscopelist \ |
329 | - cscopelist-recursive ctags ctags-recursive dist dist-all \ |
330 | - dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \ |
331 | - dist-zip distcheck distclean distclean-generic \ |
332 | +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ |
333 | + am--refresh check check-am clean clean-cscope clean-generic \ |
334 | + clean-libtool cscope cscopelist-am ctags ctags-am dist \ |
335 | + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ |
336 | + dist-xz dist-zip distcheck distclean distclean-generic \ |
337 | distclean-libtool distclean-tags distcleancheck distdir \ |
338 | distuninstallcheck dvi dvi-am html html-am info info-am \ |
339 | install install-am install-data install-data-am install-dvi \ |
340 | @@ -966,7 +989,7 @@ |
341 | install-strip installcheck installcheck-am installdirs \ |
342 | installdirs-am maintainer-clean maintainer-clean-generic \ |
343 | mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ |
344 | - ps ps-am tags tags-recursive uninstall uninstall-am |
345 | + ps ps-am tags tags-am uninstall uninstall-am |
346 | |
347 | |
348 | doxygen: |
349 | |
350 | === modified file 'VERSION' |
351 | --- VERSION 2014-03-13 16:30:35 +0000 |
352 | +++ VERSION 2024-05-07 03:08:38 +0000 |
353 | @@ -1,1 +1,1 @@ |
354 | -10.1.0 |
355 | +10.1.3 |
356 | |
357 | === modified file 'aclocal.m4' |
358 | --- aclocal.m4 2014-02-25 14:29:26 +0000 |
359 | +++ aclocal.m4 2024-05-07 03:08:38 +0000 |
360 | @@ -1,6 +1,6 @@ |
361 | -# generated automatically by aclocal 1.12.2 -*- Autoconf -*- |
362 | +# generated automatically by aclocal 1.14.1 -*- Autoconf -*- |
363 | |
364 | -# Copyright (C) 1996-2012 Free Software Foundation, Inc. |
365 | +# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
366 | |
367 | # This file is free software; the Free Software Foundation |
368 | # gives unlimited permission to copy and/or distribute it, |
369 | @@ -11,6 +11,7 @@ |
370 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
371 | # PARTICULAR PURPOSE. |
372 | |
373 | +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
374 | m4_ifndef([AC_AUTOCONF_VERSION], |
375 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
376 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
377 | @@ -179,64 +180,22 @@ |
378 | fi[]dnl |
379 | ])# PKG_CHECK_MODULES |
380 | |
381 | - |
382 | -# PKG_INSTALLDIR(DIRECTORY) |
383 | -# ------------------------- |
384 | -# Substitutes the variable pkgconfigdir as the location where a module |
385 | -# should install pkg-config .pc files. By default the directory is |
386 | -# $libdir/pkgconfig, but the default can be changed by passing |
387 | -# DIRECTORY. The user can override through the --with-pkgconfigdir |
388 | -# parameter. |
389 | -AC_DEFUN([PKG_INSTALLDIR], |
390 | -[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) |
391 | -m4_pushdef([pkg_description], |
392 | - [pkg-config installation directory @<:@]pkg_default[@:>@]) |
393 | -AC_ARG_WITH([pkgconfigdir], |
394 | - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, |
395 | - [with_pkgconfigdir=]pkg_default) |
396 | -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) |
397 | -m4_popdef([pkg_default]) |
398 | -m4_popdef([pkg_description]) |
399 | -]) dnl PKG_INSTALLDIR |
400 | - |
401 | - |
402 | -# PKG_NOARCH_INSTALLDIR(DIRECTORY) |
403 | -# ------------------------- |
404 | -# Substitutes the variable noarch_pkgconfigdir as the location where a |
405 | -# module should install arch-independent pkg-config .pc files. By |
406 | -# default the directory is $datadir/pkgconfig, but the default can be |
407 | -# changed by passing DIRECTORY. The user can override through the |
408 | -# --with-noarch-pkgconfigdir parameter. |
409 | -AC_DEFUN([PKG_NOARCH_INSTALLDIR], |
410 | -[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) |
411 | -m4_pushdef([pkg_description], |
412 | - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) |
413 | -AC_ARG_WITH([noarch-pkgconfigdir], |
414 | - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, |
415 | - [with_noarch_pkgconfigdir=]pkg_default) |
416 | -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) |
417 | -m4_popdef([pkg_default]) |
418 | -m4_popdef([pkg_description]) |
419 | -]) dnl PKG_NOARCH_INSTALLDIR |
420 | - |
421 | -# Copyright (C) 2002-2012 Free Software Foundation, Inc. |
422 | +# Copyright (C) 2002-2013 Free Software Foundation, Inc. |
423 | # |
424 | # This file is free software; the Free Software Foundation |
425 | # gives unlimited permission to copy and/or distribute it, |
426 | # with or without modifications, as long as this notice is preserved. |
427 | |
428 | -# serial 8 |
429 | - |
430 | # AM_AUTOMAKE_VERSION(VERSION) |
431 | # ---------------------------- |
432 | # Automake X.Y traces this macro to ensure aclocal.m4 has been |
433 | # generated from the m4 files accompanying Automake X.Y. |
434 | # (This private macro should not be called outside this file.) |
435 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
436 | -[am__api_version='1.12' |
437 | +[am__api_version='1.14' |
438 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
439 | dnl require some minimum version. Point them to the right macro. |
440 | -m4_if([$1], [1.12.2], [], |
441 | +m4_if([$1], [1.14.1], [], |
442 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
443 | ]) |
444 | |
445 | @@ -252,19 +211,17 @@ |
446 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
447 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
448 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
449 | -[AM_AUTOMAKE_VERSION([1.12.2])dnl |
450 | +[AM_AUTOMAKE_VERSION([1.14.1])dnl |
451 | m4_ifndef([AC_AUTOCONF_VERSION], |
452 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
453 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
454 | |
455 | -# Copyright (C) 2011-2012 Free Software Foundation, Inc. |
456 | +# Copyright (C) 2011-2013 Free Software Foundation, Inc. |
457 | # |
458 | # This file is free software; the Free Software Foundation |
459 | # gives unlimited permission to copy and/or distribute it, |
460 | # with or without modifications, as long as this notice is preserved. |
461 | |
462 | -# serial 1 |
463 | - |
464 | # AM_PROG_AR([ACT-IF-FAIL]) |
465 | # ------------------------- |
466 | # Try to determine the archiver interface, and trigger the ar-lib wrapper |
467 | @@ -279,7 +236,8 @@ |
468 | : ${AR=ar} |
469 | |
470 | AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], |
471 | - [am_cv_ar_interface=ar |
472 | + [AC_LANG_PUSH([C]) |
473 | + am_cv_ar_interface=ar |
474 | AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], |
475 | [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' |
476 | AC_TRY_EVAL([am_ar_try]) |
477 | @@ -296,7 +254,7 @@ |
478 | fi |
479 | rm -f conftest.lib libconftest.a |
480 | ]) |
481 | - ]) |
482 | + AC_LANG_POP([C])]) |
483 | |
484 | case $am_cv_ar_interface in |
485 | ar) |
486 | @@ -320,14 +278,12 @@ |
487 | |
488 | # Figure out how to run the assembler. -*- Autoconf -*- |
489 | |
490 | -# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
491 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
492 | # |
493 | # This file is free software; the Free Software Foundation |
494 | # gives unlimited permission to copy and/or distribute it, |
495 | # with or without modifications, as long as this notice is preserved. |
496 | |
497 | -# serial 5 |
498 | - |
499 | # AM_PROG_AS |
500 | # ---------- |
501 | AC_DEFUN([AM_PROG_AS], |
502 | @@ -342,14 +298,12 @@ |
503 | |
504 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
505 | |
506 | -# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
507 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
508 | # |
509 | # This file is free software; the Free Software Foundation |
510 | # gives unlimited permission to copy and/or distribute it, |
511 | # with or without modifications, as long as this notice is preserved. |
512 | |
513 | -# serial 2 |
514 | - |
515 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
516 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to |
517 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. |
518 | @@ -397,14 +351,12 @@ |
519 | |
520 | # AM_CONDITIONAL -*- Autoconf -*- |
521 | |
522 | -# Copyright (C) 1997-2012 Free Software Foundation, Inc. |
523 | +# Copyright (C) 1997-2013 Free Software Foundation, Inc. |
524 | # |
525 | # This file is free software; the Free Software Foundation |
526 | # gives unlimited permission to copy and/or distribute it, |
527 | # with or without modifications, as long as this notice is preserved. |
528 | |
529 | -# serial 10 |
530 | - |
531 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
532 | # ------------------------------------- |
533 | # Define a conditional. |
534 | @@ -430,13 +382,12 @@ |
535 | Usually this means the macro was only invoked conditionally.]]) |
536 | fi])]) |
537 | |
538 | -# Copyright (C) 1999-2012 Free Software Foundation, Inc. |
539 | +# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
540 | # |
541 | # This file is free software; the Free Software Foundation |
542 | # gives unlimited permission to copy and/or distribute it, |
543 | # with or without modifications, as long as this notice is preserved. |
544 | |
545 | -# serial 17 |
546 | |
547 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be |
548 | # written in clear, in which case automake, when reading aclocal.m4, |
549 | @@ -622,19 +573,18 @@ |
550 | |
551 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
552 | |
553 | -# Copyright (C) 1999-2012 Free Software Foundation, Inc. |
554 | +# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
555 | # |
556 | # This file is free software; the Free Software Foundation |
557 | # gives unlimited permission to copy and/or distribute it, |
558 | # with or without modifications, as long as this notice is preserved. |
559 | |
560 | -# serial 6 |
561 | |
562 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
563 | # ------------------------------ |
564 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
565 | [{ |
566 | - # Autoconf 2.62 quotes --file arguments for eval, but not when files |
567 | + # Older Autoconf quotes --file arguments for eval, but not when files |
568 | # are listed without --file. Let's play safe and only enable the eval |
569 | # if we detect the quoting. |
570 | case $CONFIG_FILES in |
571 | @@ -663,7 +613,7 @@ |
572 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
573 | test -z "$DEPDIR" && continue |
574 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
575 | - test -z "am__include" && continue |
576 | + test -z "$am__include" && continue |
577 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
578 | # Find all dependency output files, they are included files with |
579 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
580 | @@ -699,17 +649,21 @@ |
581 | |
582 | # Do all the work for Automake. -*- Autoconf -*- |
583 | |
584 | -# Copyright (C) 1996-2012 Free Software Foundation, Inc. |
585 | +# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
586 | # |
587 | # This file is free software; the Free Software Foundation |
588 | # gives unlimited permission to copy and/or distribute it, |
589 | # with or without modifications, as long as this notice is preserved. |
590 | |
591 | -# serial 19 |
592 | - |
593 | # This macro actually does too much. Some checks are only needed if |
594 | # your package does certain things. But this isn't really a big deal. |
595 | |
596 | +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. |
597 | +m4_define([AC_PROG_CC], |
598 | +m4_defn([AC_PROG_CC]) |
599 | +[_AM_PROG_CC_C_O |
600 | +]) |
601 | + |
602 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
603 | # AM_INIT_AUTOMAKE([OPTIONS]) |
604 | # ----------------------------------------------- |
605 | @@ -722,7 +676,7 @@ |
606 | # arguments mandatory, and then we can depend on a new Autoconf |
607 | # release and drop the old call support. |
608 | AC_DEFUN([AM_INIT_AUTOMAKE], |
609 | -[AC_PREREQ([2.62])dnl |
610 | +[AC_PREREQ([2.65])dnl |
611 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
612 | dnl the ones we care about. |
613 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
614 | @@ -752,8 +706,7 @@ |
615 | dnl Distinguish between old-style and new-style calls. |
616 | m4_ifval([$2], |
617 | [AC_DIAGNOSE([obsolete], |
618 | -[$0: two- and three-arguments forms are deprecated. For more info, see: |
619 | -http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation]) |
620 | + [$0: two- and three-arguments forms are deprecated.]) |
621 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
622 | AC_SUBST([PACKAGE], [$1])dnl |
623 | AC_SUBST([VERSION], [$2])], |
624 | @@ -807,21 +760,60 @@ |
625 | [_AM_DEPENDENCIES([OBJC])], |
626 | [m4_define([AC_PROG_OBJC], |
627 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl |
628 | -dnl Support for Objective C++ was only introduced in Autoconf 2.65, |
629 | -dnl but we still cater to Autoconf 2.62. |
630 | -m4_ifdef([AC_PROG_OBJCXX], |
631 | -[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
632 | +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
633 | [_AM_DEPENDENCIES([OBJCXX])], |
634 | [m4_define([AC_PROG_OBJCXX], |
635 | - m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl |
636 | + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
637 | ]) |
638 | -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
639 | -dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the |
640 | -dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro |
641 | -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
642 | +AC_REQUIRE([AM_SILENT_RULES])dnl |
643 | +dnl The testsuite driver may need to know about EXEEXT, so add the |
644 | +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This |
645 | +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. |
646 | AC_CONFIG_COMMANDS_PRE(dnl |
647 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
648 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
649 | + |
650 | +# POSIX will say in a future version that running "rm -f" with no argument |
651 | +# is OK; and we want to be able to make that assumption in our Makefile |
652 | +# recipes. So use an aggressive probe to check that the usage we want is |
653 | +# actually supported "in the wild" to an acceptable degree. |
654 | +# See automake bug#10828. |
655 | +# To make any issue more visible, cause the running configure to be aborted |
656 | +# by default if the 'rm' program in use doesn't match our expectations; the |
657 | +# user can still override this though. |
658 | +if rm -f && rm -fr && rm -rf; then : OK; else |
659 | + cat >&2 <<'END' |
660 | +Oops! |
661 | + |
662 | +Your 'rm' program seems unable to run without file operands specified |
663 | +on the command line, even when the '-f' option is present. This is contrary |
664 | +to the behaviour of most rm programs out there, and not conforming with |
665 | +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
666 | + |
667 | +Please tell bug-automake@gnu.org about your system, including the value |
668 | +of your $PATH and any error possibly output before this message. This |
669 | +can help us improve future automake versions. |
670 | + |
671 | +END |
672 | + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
673 | + echo 'Configuration will proceed anyway, since you have set the' >&2 |
674 | + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
675 | + echo >&2 |
676 | + else |
677 | + cat >&2 <<'END' |
678 | +Aborting the configuration process, to ensure you take notice of the issue. |
679 | + |
680 | +You can download and install GNU coreutils to get an 'rm' implementation |
681 | +that behaves properly: <http://www.gnu.org/software/coreutils/>. |
682 | + |
683 | +If you want to complete the configuration process using your problematic |
684 | +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
685 | +to "yes", and re-run configure. |
686 | + |
687 | +END |
688 | + AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) |
689 | + fi |
690 | +fi |
691 | ]) |
692 | |
693 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
694 | @@ -830,7 +822,6 @@ |
695 | m4_define([_AC_COMPILER_EXEEXT], |
696 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
697 | |
698 | - |
699 | # When config.status generates a header, we must update the stamp-h file. |
700 | # This file resides in the same directory as the config header |
701 | # that is generated. The stamp files are numbered to have different names. |
702 | @@ -852,14 +843,12 @@ |
703 | done |
704 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
705 | |
706 | -# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
707 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
708 | # |
709 | # This file is free software; the Free Software Foundation |
710 | # gives unlimited permission to copy and/or distribute it, |
711 | # with or without modifications, as long as this notice is preserved. |
712 | |
713 | -# serial 8 |
714 | - |
715 | # AM_PROG_INSTALL_SH |
716 | # ------------------ |
717 | # Define $install_sh. |
718 | @@ -875,14 +864,12 @@ |
719 | fi |
720 | AC_SUBST([install_sh])]) |
721 | |
722 | -# Copyright (C) 2003-2012 Free Software Foundation, Inc. |
723 | +# Copyright (C) 2003-2013 Free Software Foundation, Inc. |
724 | # |
725 | # This file is free software; the Free Software Foundation |
726 | # gives unlimited permission to copy and/or distribute it, |
727 | # with or without modifications, as long as this notice is preserved. |
728 | |
729 | -# serial 2 |
730 | - |
731 | # Check whether the underlying file-system supports filenames |
732 | # with a leading dot. For instance MS-DOS doesn't. |
733 | AC_DEFUN([AM_SET_LEADING_DOT], |
734 | @@ -896,14 +883,12 @@ |
735 | rmdir .tst 2>/dev/null |
736 | AC_SUBST([am__leading_dot])]) |
737 | |
738 | -# Copyright (C) 1998-2012 Free Software Foundation, Inc. |
739 | +# Copyright (C) 1998-2013 Free Software Foundation, Inc. |
740 | # |
741 | # This file is free software; the Free Software Foundation |
742 | # gives unlimited permission to copy and/or distribute it, |
743 | # with or without modifications, as long as this notice is preserved. |
744 | |
745 | -# serial 6 |
746 | - |
747 | # AM_PROG_LEX |
748 | # ----------- |
749 | # Autoconf leaves LEX=: if lex or flex can't be found. Change that to a |
750 | @@ -918,14 +903,12 @@ |
751 | |
752 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
753 | |
754 | -# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
755 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
756 | # |
757 | # This file is free software; the Free Software Foundation |
758 | # gives unlimited permission to copy and/or distribute it, |
759 | # with or without modifications, as long as this notice is preserved. |
760 | |
761 | -# serial 5 |
762 | - |
763 | # AM_MAKE_INCLUDE() |
764 | # ----------------- |
765 | # Check to see how make treats includes. |
766 | @@ -968,50 +951,14 @@ |
767 | rm -f confinc confmf |
768 | ]) |
769 | |
770 | -# Copyright (C) 1999-2012 Free Software Foundation, Inc. |
771 | -# |
772 | -# This file is free software; the Free Software Foundation |
773 | -# gives unlimited permission to copy and/or distribute it, |
774 | -# with or without modifications, as long as this notice is preserved. |
775 | - |
776 | -# serial 6 |
777 | - |
778 | -# AM_PROG_CC_C_O |
779 | -# -------------- |
780 | -# Like AC_PROG_CC_C_O, but changed for automake. |
781 | -AC_DEFUN([AM_PROG_CC_C_O], |
782 | -[AC_REQUIRE([AC_PROG_CC_C_O])dnl |
783 | -AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
784 | -AC_REQUIRE_AUX_FILE([compile])dnl |
785 | -# FIXME: we rely on the cache variable name because |
786 | -# there is no other way. |
787 | -set dummy $CC |
788 | -am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` |
789 | -eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
790 | -if test "$am_t" != yes; then |
791 | - # Losing compiler, so override with the script. |
792 | - # FIXME: It is wrong to rewrite CC. |
793 | - # But if we don't then we get into trouble of one sort or another. |
794 | - # A longer-term fix would be to have automake use am__CC in this case, |
795 | - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
796 | - CC="$am_aux_dir/compile $CC" |
797 | -fi |
798 | -dnl Make sure AC_PROG_CC is never called again, or it will override our |
799 | -dnl setting of CC. |
800 | -m4_define([AC_PROG_CC], |
801 | - [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) |
802 | -]) |
803 | - |
804 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
805 | |
806 | -# Copyright (C) 1997-2012 Free Software Foundation, Inc. |
807 | +# Copyright (C) 1997-2013 Free Software Foundation, Inc. |
808 | # |
809 | # This file is free software; the Free Software Foundation |
810 | # gives unlimited permission to copy and/or distribute it, |
811 | # with or without modifications, as long as this notice is preserved. |
812 | |
813 | -# serial 7 |
814 | - |
815 | # AM_MISSING_PROG(NAME, PROGRAM) |
816 | # ------------------------------ |
817 | AC_DEFUN([AM_MISSING_PROG], |
818 | @@ -1019,11 +966,10 @@ |
819 | $1=${$1-"${am_missing_run}$2"} |
820 | AC_SUBST($1)]) |
821 | |
822 | - |
823 | # AM_MISSING_HAS_RUN |
824 | # ------------------ |
825 | -# Define MISSING if not defined so far and test if it supports --run. |
826 | -# If it does, set am_missing_run to use it, otherwise, to nothing. |
827 | +# Define MISSING if not defined so far and test if it is modern enough. |
828 | +# If it is, set am_missing_run to use it, otherwise, to nothing. |
829 | AC_DEFUN([AM_MISSING_HAS_RUN], |
830 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
831 | AC_REQUIRE_AUX_FILE([missing])dnl |
832 | @@ -1036,8 +982,8 @@ |
833 | esac |
834 | fi |
835 | # Use eval to expand $SHELL |
836 | -if eval "$MISSING --run true"; then |
837 | - am_missing_run="$MISSING --run " |
838 | +if eval "$MISSING --is-lightweight"; then |
839 | + am_missing_run="$MISSING " |
840 | else |
841 | am_missing_run= |
842 | AC_MSG_WARN(['missing' script is too old or missing]) |
843 | @@ -1046,14 +992,12 @@ |
844 | |
845 | # Helper functions for option handling. -*- Autoconf -*- |
846 | |
847 | -# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
848 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
849 | # |
850 | # This file is free software; the Free Software Foundation |
851 | # gives unlimited permission to copy and/or distribute it, |
852 | # with or without modifications, as long as this notice is preserved. |
853 | |
854 | -# serial 6 |
855 | - |
856 | # _AM_MANGLE_OPTION(NAME) |
857 | # ----------------------- |
858 | AC_DEFUN([_AM_MANGLE_OPTION], |
859 | @@ -1077,16 +1021,78 @@ |
860 | AC_DEFUN([_AM_IF_OPTION], |
861 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
862 | |
863 | +# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
864 | +# |
865 | +# This file is free software; the Free Software Foundation |
866 | +# gives unlimited permission to copy and/or distribute it, |
867 | +# with or without modifications, as long as this notice is preserved. |
868 | + |
869 | +# _AM_PROG_CC_C_O |
870 | +# --------------- |
871 | +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC |
872 | +# to automatically call this. |
873 | +AC_DEFUN([_AM_PROG_CC_C_O], |
874 | +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
875 | +AC_REQUIRE_AUX_FILE([compile])dnl |
876 | +AC_LANG_PUSH([C])dnl |
877 | +AC_CACHE_CHECK( |
878 | + [whether $CC understands -c and -o together], |
879 | + [am_cv_prog_cc_c_o], |
880 | + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) |
881 | + # Make sure it works both with $CC and with simple cc. |
882 | + # Following AC_PROG_CC_C_O, we do the test twice because some |
883 | + # compilers refuse to overwrite an existing .o file with -o, |
884 | + # though they will create one. |
885 | + am_cv_prog_cc_c_o=yes |
886 | + for am_i in 1 2; do |
887 | + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ |
888 | + && test -f conftest2.$ac_objext; then |
889 | + : OK |
890 | + else |
891 | + am_cv_prog_cc_c_o=no |
892 | + break |
893 | + fi |
894 | + done |
895 | + rm -f core conftest* |
896 | + unset am_i]) |
897 | +if test "$am_cv_prog_cc_c_o" != yes; then |
898 | + # Losing compiler, so override with the script. |
899 | + # FIXME: It is wrong to rewrite CC. |
900 | + # But if we don't then we get into trouble of one sort or another. |
901 | + # A longer-term fix would be to have automake use am__CC in this case, |
902 | + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
903 | + CC="$am_aux_dir/compile $CC" |
904 | +fi |
905 | +AC_LANG_POP([C])]) |
906 | + |
907 | +# For backward compatibility. |
908 | +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
909 | + |
910 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
911 | +# |
912 | +# This file is free software; the Free Software Foundation |
913 | +# gives unlimited permission to copy and/or distribute it, |
914 | +# with or without modifications, as long as this notice is preserved. |
915 | + |
916 | +# AM_RUN_LOG(COMMAND) |
917 | +# ------------------- |
918 | +# Run COMMAND, save the exit status in ac_status, and log it. |
919 | +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) |
920 | +AC_DEFUN([AM_RUN_LOG], |
921 | +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD |
922 | + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD |
923 | + ac_status=$? |
924 | + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
925 | + (exit $ac_status); }]) |
926 | + |
927 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
928 | |
929 | -# Copyright (C) 1996-2012 Free Software Foundation, Inc. |
930 | +# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
931 | # |
932 | # This file is free software; the Free Software Foundation |
933 | # gives unlimited permission to copy and/or distribute it, |
934 | # with or without modifications, as long as this notice is preserved. |
935 | |
936 | -# serial 9 |
937 | - |
938 | # AM_SANITY_CHECK |
939 | # --------------- |
940 | AC_DEFUN([AM_SANITY_CHECK], |
941 | @@ -1162,14 +1168,12 @@ |
942 | rm -f conftest.file |
943 | ]) |
944 | |
945 | -# Copyright (C) 2009-2012 Free Software Foundation, Inc. |
946 | +# Copyright (C) 2009-2013 Free Software Foundation, Inc. |
947 | # |
948 | # This file is free software; the Free Software Foundation |
949 | # gives unlimited permission to copy and/or distribute it, |
950 | # with or without modifications, as long as this notice is preserved. |
951 | |
952 | -# serial 3 |
953 | - |
954 | # AM_SILENT_RULES([DEFAULT]) |
955 | # -------------------------- |
956 | # Enable less verbose build rules; with the default set to DEFAULT |
957 | @@ -1224,14 +1228,12 @@ |
958 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
959 | ]) |
960 | |
961 | -# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
962 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
963 | # |
964 | # This file is free software; the Free Software Foundation |
965 | # gives unlimited permission to copy and/or distribute it, |
966 | # with or without modifications, as long as this notice is preserved. |
967 | |
968 | -# serial 2 |
969 | - |
970 | # AM_PROG_INSTALL_STRIP |
971 | # --------------------- |
972 | # One issue with vendor 'install' (even GNU) is that you can't |
973 | @@ -1254,14 +1256,12 @@ |
974 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
975 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
976 | |
977 | -# Copyright (C) 2006-2012 Free Software Foundation, Inc. |
978 | +# Copyright (C) 2006-2013 Free Software Foundation, Inc. |
979 | # |
980 | # This file is free software; the Free Software Foundation |
981 | # gives unlimited permission to copy and/or distribute it, |
982 | # with or without modifications, as long as this notice is preserved. |
983 | |
984 | -# serial 3 |
985 | - |
986 | # _AM_SUBST_NOTMAKE(VARIABLE) |
987 | # --------------------------- |
988 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
989 | @@ -1275,14 +1275,12 @@ |
990 | |
991 | # Check how to create a tarball. -*- Autoconf -*- |
992 | |
993 | -# Copyright (C) 2004-2012 Free Software Foundation, Inc. |
994 | +# Copyright (C) 2004-2013 Free Software Foundation, Inc. |
995 | # |
996 | # This file is free software; the Free Software Foundation |
997 | # gives unlimited permission to copy and/or distribute it, |
998 | # with or without modifications, as long as this notice is preserved. |
999 | |
1000 | -# serial 3 |
1001 | - |
1002 | # _AM_PROG_TAR(FORMAT) |
1003 | # -------------------- |
1004 | # Check how to create a tarball in format FORMAT. |
1005 | @@ -1296,76 +1294,114 @@ |
1006 | # Substitute a variable $(am__untar) that extract such |
1007 | # a tarball read from stdin. |
1008 | # $(am__untar) < result.tar |
1009 | +# |
1010 | AC_DEFUN([_AM_PROG_TAR], |
1011 | [# Always define AMTAR for backward compatibility. Yes, it's still used |
1012 | # in the wild :-( We should find a proper way to deprecate it ... |
1013 | AC_SUBST([AMTAR], ['$${TAR-tar}']) |
1014 | + |
1015 | +# We'll loop over all known methods to create a tar archive until one works. |
1016 | +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
1017 | + |
1018 | m4_if([$1], [v7], |
1019 | - [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |
1020 | - [m4_case([$1], [ustar],, [pax],, |
1021 | - [m4_fatal([Unknown tar format])]) |
1022 | -AC_MSG_CHECKING([how to create a $1 tar archive]) |
1023 | -# Loop over all known methods to create a tar archive until one works. |
1024 | -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
1025 | -_am_tools=${am_cv_prog_tar_$1-$_am_tools} |
1026 | -# Do not fold the above two line into one, because Tru64 sh and |
1027 | -# Solaris sh will not grok spaces in the rhs of '-'. |
1028 | -for _am_tool in $_am_tools |
1029 | -do |
1030 | - case $_am_tool in |
1031 | - gnutar) |
1032 | - for _am_tar in tar gnutar gtar; |
1033 | - do |
1034 | - AM_RUN_LOG([$_am_tar --version]) && break |
1035 | - done |
1036 | - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
1037 | - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
1038 | - am__untar="$_am_tar -xf -" |
1039 | - ;; |
1040 | - plaintar) |
1041 | - # Must skip GNU tar: if it does not support --format= it doesn't create |
1042 | - # ustar tarball either. |
1043 | - (tar --version) >/dev/null 2>&1 && continue |
1044 | - am__tar='tar chf - "$$tardir"' |
1045 | - am__tar_='tar chf - "$tardir"' |
1046 | - am__untar='tar xf -' |
1047 | - ;; |
1048 | - pax) |
1049 | - am__tar='pax -L -x $1 -w "$$tardir"' |
1050 | - am__tar_='pax -L -x $1 -w "$tardir"' |
1051 | - am__untar='pax -r' |
1052 | - ;; |
1053 | - cpio) |
1054 | - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
1055 | - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
1056 | - am__untar='cpio -i -H $1 -d' |
1057 | - ;; |
1058 | - none) |
1059 | - am__tar=false |
1060 | - am__tar_=false |
1061 | - am__untar=false |
1062 | - ;; |
1063 | - esac |
1064 | - |
1065 | - # If the value was cached, stop now. We just wanted to have am__tar |
1066 | - # and am__untar set. |
1067 | - test -n "${am_cv_prog_tar_$1}" && break |
1068 | - |
1069 | - # tar/untar a dummy directory, and stop if the command works |
1070 | - rm -rf conftest.dir |
1071 | - mkdir conftest.dir |
1072 | - echo GrepMe > conftest.dir/file |
1073 | - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
1074 | - rm -rf conftest.dir |
1075 | - if test -s conftest.tar; then |
1076 | - AM_RUN_LOG([$am__untar <conftest.tar]) |
1077 | - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
1078 | - fi |
1079 | -done |
1080 | -rm -rf conftest.dir |
1081 | - |
1082 | -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
1083 | -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
1084 | + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |
1085 | + |
1086 | + [m4_case([$1], |
1087 | + [ustar], |
1088 | + [# The POSIX 1988 'ustar' format is defined with fixed-size fields. |
1089 | + # There is notably a 21 bits limit for the UID and the GID. In fact, |
1090 | + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 |
1091 | + # and bug#13588). |
1092 | + am_max_uid=2097151 # 2^21 - 1 |
1093 | + am_max_gid=$am_max_uid |
1094 | + # The $UID and $GID variables are not portable, so we need to resort |
1095 | + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls |
1096 | + # below are definitely unexpected, so allow the users to see them |
1097 | + # (that is, avoid stderr redirection). |
1098 | + am_uid=`id -u || echo unknown` |
1099 | + am_gid=`id -g || echo unknown` |
1100 | + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) |
1101 | + if test $am_uid -le $am_max_uid; then |
1102 | + AC_MSG_RESULT([yes]) |
1103 | + else |
1104 | + AC_MSG_RESULT([no]) |
1105 | + _am_tools=none |
1106 | + fi |
1107 | + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) |
1108 | + if test $am_gid -le $am_max_gid; then |
1109 | + AC_MSG_RESULT([yes]) |
1110 | + else |
1111 | + AC_MSG_RESULT([no]) |
1112 | + _am_tools=none |
1113 | + fi], |
1114 | + |
1115 | + [pax], |
1116 | + [], |
1117 | + |
1118 | + [m4_fatal([Unknown tar format])]) |
1119 | + |
1120 | + AC_MSG_CHECKING([how to create a $1 tar archive]) |
1121 | + |
1122 | + # Go ahead even if we have the value already cached. We do so because we |
1123 | + # need to set the values for the 'am__tar' and 'am__untar' variables. |
1124 | + _am_tools=${am_cv_prog_tar_$1-$_am_tools} |
1125 | + |
1126 | + for _am_tool in $_am_tools; do |
1127 | + case $_am_tool in |
1128 | + gnutar) |
1129 | + for _am_tar in tar gnutar gtar; do |
1130 | + AM_RUN_LOG([$_am_tar --version]) && break |
1131 | + done |
1132 | + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
1133 | + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
1134 | + am__untar="$_am_tar -xf -" |
1135 | + ;; |
1136 | + plaintar) |
1137 | + # Must skip GNU tar: if it does not support --format= it doesn't create |
1138 | + # ustar tarball either. |
1139 | + (tar --version) >/dev/null 2>&1 && continue |
1140 | + am__tar='tar chf - "$$tardir"' |
1141 | + am__tar_='tar chf - "$tardir"' |
1142 | + am__untar='tar xf -' |
1143 | + ;; |
1144 | + pax) |
1145 | + am__tar='pax -L -x $1 -w "$$tardir"' |
1146 | + am__tar_='pax -L -x $1 -w "$tardir"' |
1147 | + am__untar='pax -r' |
1148 | + ;; |
1149 | + cpio) |
1150 | + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
1151 | + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
1152 | + am__untar='cpio -i -H $1 -d' |
1153 | + ;; |
1154 | + none) |
1155 | + am__tar=false |
1156 | + am__tar_=false |
1157 | + am__untar=false |
1158 | + ;; |
1159 | + esac |
1160 | + |
1161 | + # If the value was cached, stop now. We just wanted to have am__tar |
1162 | + # and am__untar set. |
1163 | + test -n "${am_cv_prog_tar_$1}" && break |
1164 | + |
1165 | + # tar/untar a dummy directory, and stop if the command works. |
1166 | + rm -rf conftest.dir |
1167 | + mkdir conftest.dir |
1168 | + echo GrepMe > conftest.dir/file |
1169 | + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
1170 | + rm -rf conftest.dir |
1171 | + if test -s conftest.tar; then |
1172 | + AM_RUN_LOG([$am__untar <conftest.tar]) |
1173 | + AM_RUN_LOG([cat conftest.dir/file]) |
1174 | + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
1175 | + fi |
1176 | + done |
1177 | + rm -rf conftest.dir |
1178 | + |
1179 | + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
1180 | + AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
1181 | + |
1182 | AC_SUBST([am__tar]) |
1183 | AC_SUBST([am__untar]) |
1184 | ]) # _AM_PROG_TAR |
1185 | |
1186 | === added file 'bin/.cherry-ignore' |
1187 | --- bin/.cherry-ignore 1970-01-01 00:00:00 +0000 |
1188 | +++ bin/.cherry-ignore 2024-05-07 03:08:38 +0000 |
1189 | @@ -0,0 +1,9 @@ |
1190 | +# This patch does not apply cleanly, author says it can be skipped. |
1191 | +dff3eccd158d648482bb47118ef5d57a9186e5a4 |
1192 | + |
1193 | +# And this one depends on the above, author says it too can be skipped. |
1194 | +ac35ded4733883037316d556af596524e5e02535 |
1195 | + |
1196 | +# This patch introduces some regressions. See: |
1197 | +# https://bugs.freedesktop.org/show_bug.cgi?id=77443 |
1198 | +1afe3359258a9e89b62c8638761f52d78f6d1cbc |
1199 | |
1200 | === modified file 'bin/ar-lib' |
1201 | --- bin/ar-lib 2014-02-25 14:29:26 +0000 |
1202 | +++ bin/ar-lib 2024-05-07 03:08:38 +0000 |
1203 | @@ -4,7 +4,7 @@ |
1204 | me=ar-lib |
1205 | scriptversion=2012-03-01.08; # UTC |
1206 | |
1207 | -# Copyright (C) 2010-2012 Free Software Foundation, Inc. |
1208 | +# Copyright (C) 2010-2013 Free Software Foundation, Inc. |
1209 | # Written by Peter Rosin <peda@lysator.liu.se>. |
1210 | # |
1211 | # This program is free software; you can redistribute it and/or modify |
1212 | |
1213 | === modified file 'bin/compile' |
1214 | --- bin/compile 2014-02-25 14:29:26 +0000 |
1215 | +++ bin/compile 2024-05-07 03:08:38 +0000 |
1216 | @@ -1,9 +1,9 @@ |
1217 | #! /bin/sh |
1218 | # Wrapper for compilers which do not understand '-c -o'. |
1219 | |
1220 | -scriptversion=2012-03-05.13; # UTC |
1221 | +scriptversion=2012-10-14.11; # UTC |
1222 | |
1223 | -# Copyright (C) 1999-2012 Free Software Foundation, Inc. |
1224 | +# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
1225 | # Written by Tom Tromey <tromey@cygnus.com>. |
1226 | # |
1227 | # This program is free software; you can redistribute it and/or modify |
1228 | @@ -112,6 +112,11 @@ |
1229 | lib=$dir/$lib.lib |
1230 | break |
1231 | fi |
1232 | + if test -f "$dir/lib$lib.a"; then |
1233 | + found=yes |
1234 | + lib=$dir/lib$lib.a |
1235 | + break |
1236 | + fi |
1237 | done |
1238 | IFS=$save_IFS |
1239 | |
1240 | |
1241 | === modified file 'bin/config.guess' |
1242 | --- bin/config.guess 2014-03-31 09:56:17 +0000 |
1243 | +++ bin/config.guess 2024-05-07 03:08:38 +0000 |
1244 | @@ -1,14 +1,12 @@ |
1245 | #! /bin/sh |
1246 | # Attempt to guess a canonical system name. |
1247 | -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
1248 | -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
1249 | -# 2011, 2012 Free Software Foundation, Inc. |
1250 | +# Copyright 1992-2013 Free Software Foundation, Inc. |
1251 | |
1252 | -timestamp='2012-06-10' |
1253 | +timestamp='2013-06-10' |
1254 | |
1255 | # This file is free software; you can redistribute it and/or modify it |
1256 | # under the terms of the GNU General Public License as published by |
1257 | -# the Free Software Foundation; either version 2 of the License, or |
1258 | +# the Free Software Foundation; either version 3 of the License, or |
1259 | # (at your option) any later version. |
1260 | # |
1261 | # This program is distributed in the hope that it will be useful, but |
1262 | @@ -22,19 +20,17 @@ |
1263 | # As a special exception to the GNU General Public License, if you |
1264 | # distribute this file as part of a program that contains a |
1265 | # configuration script generated by Autoconf, you may include it under |
1266 | -# the same distribution terms that you use for the rest of that program. |
1267 | - |
1268 | - |
1269 | -# Originally written by Per Bothner. Please send patches (context |
1270 | -# diff format) to <config-patches@gnu.org> and include a ChangeLog |
1271 | -# entry. |
1272 | +# the same distribution terms that you use for the rest of that |
1273 | +# program. This Exception is an additional permission under section 7 |
1274 | +# of the GNU General Public License, version 3 ("GPLv3"). |
1275 | # |
1276 | -# This script attempts to guess a canonical system name similar to |
1277 | -# config.sub. If it succeeds, it prints the system name on stdout, and |
1278 | -# exits with 0. Otherwise, it exits with 1. |
1279 | +# Originally written by Per Bothner. |
1280 | # |
1281 | # You can get the latest version of this script from: |
1282 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
1283 | +# |
1284 | +# Please send patches with a ChangeLog entry to config-patches@gnu.org. |
1285 | + |
1286 | |
1287 | me=`echo "$0" | sed -e 's,.*/,,'` |
1288 | |
1289 | @@ -54,9 +50,7 @@ |
1290 | GNU config.guess ($timestamp) |
1291 | |
1292 | Originally written by Per Bothner. |
1293 | -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
1294 | -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
1295 | -Free Software Foundation, Inc. |
1296 | +Copyright 1992-2013 Free Software Foundation, Inc. |
1297 | |
1298 | This is free software; see the source for copying conditions. There is NO |
1299 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
1300 | @@ -138,6 +132,27 @@ |
1301 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
1302 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
1303 | |
1304 | +case "${UNAME_SYSTEM}" in |
1305 | +Linux|GNU|GNU/*) |
1306 | + # If the system lacks a compiler, then just pick glibc. |
1307 | + # We could probably try harder. |
1308 | + LIBC=gnu |
1309 | + |
1310 | + eval $set_cc_for_build |
1311 | + cat <<-EOF > $dummy.c |
1312 | + #include <features.h> |
1313 | + #if defined(__UCLIBC__) |
1314 | + LIBC=uclibc |
1315 | + #elif defined(__dietlibc__) |
1316 | + LIBC=dietlibc |
1317 | + #else |
1318 | + LIBC=gnu |
1319 | + #endif |
1320 | + EOF |
1321 | + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` |
1322 | + ;; |
1323 | +esac |
1324 | + |
1325 | # Note: order is significant - the case branches are not exclusive. |
1326 | |
1327 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
1328 | @@ -200,6 +215,10 @@ |
1329 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
1330 | echo "${machine}-${os}${release}" |
1331 | exit ;; |
1332 | + *:Bitrig:*:*) |
1333 | + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` |
1334 | + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} |
1335 | + exit ;; |
1336 | *:OpenBSD:*:*) |
1337 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
1338 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} |
1339 | @@ -302,7 +321,7 @@ |
1340 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
1341 | echo arm-acorn-riscix${UNAME_RELEASE} |
1342 | exit ;; |
1343 | - arm:riscos:*:*|arm:RISCOS:*:*) |
1344 | + arm*:riscos:*:*|arm*:RISCOS:*:*) |
1345 | echo arm-unknown-riscos |
1346 | exit ;; |
1347 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
1348 | @@ -801,6 +820,9 @@ |
1349 | i*:CYGWIN*:*) |
1350 | echo ${UNAME_MACHINE}-pc-cygwin |
1351 | exit ;; |
1352 | + *:MINGW64*:*) |
1353 | + echo ${UNAME_MACHINE}-pc-mingw64 |
1354 | + exit ;; |
1355 | *:MINGW*:*) |
1356 | echo ${UNAME_MACHINE}-pc-mingw32 |
1357 | exit ;; |
1358 | @@ -852,21 +874,21 @@ |
1359 | exit ;; |
1360 | *:GNU:*:*) |
1361 | # the GNU system |
1362 | - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` |
1363 | + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` |
1364 | exit ;; |
1365 | *:GNU/*:*:*) |
1366 | # other systems with GNU libc and userland |
1367 | - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu |
1368 | + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} |
1369 | exit ;; |
1370 | i*86:Minix:*:*) |
1371 | echo ${UNAME_MACHINE}-pc-minix |
1372 | exit ;; |
1373 | aarch64:Linux:*:*) |
1374 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1375 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1376 | exit ;; |
1377 | aarch64_be:Linux:*:*) |
1378 | UNAME_MACHINE=aarch64_be |
1379 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1380 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1381 | exit ;; |
1382 | alpha:Linux:*:*) |
1383 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
1384 | @@ -879,59 +901,54 @@ |
1385 | EV68*) UNAME_MACHINE=alphaev68 ;; |
1386 | esac |
1387 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
1388 | - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
1389 | - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
1390 | + if test "$?" = 0 ; then LIBC="gnulibc1" ; fi |
1391 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1392 | + exit ;; |
1393 | + arc:Linux:*:* | arceb:Linux:*:*) |
1394 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1395 | exit ;; |
1396 | arm*:Linux:*:*) |
1397 | eval $set_cc_for_build |
1398 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
1399 | | grep -q __ARM_EABI__ |
1400 | then |
1401 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1402 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1403 | else |
1404 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
1405 | | grep -q __ARM_PCS_VFP |
1406 | then |
1407 | - echo ${UNAME_MACHINE}-unknown-linux-gnueabi |
1408 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi |
1409 | else |
1410 | - echo ${UNAME_MACHINE}-unknown-linux-gnueabihf |
1411 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf |
1412 | fi |
1413 | fi |
1414 | exit ;; |
1415 | avr32*:Linux:*:*) |
1416 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1417 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1418 | exit ;; |
1419 | cris:Linux:*:*) |
1420 | - echo ${UNAME_MACHINE}-axis-linux-gnu |
1421 | + echo ${UNAME_MACHINE}-axis-linux-${LIBC} |
1422 | exit ;; |
1423 | crisv32:Linux:*:*) |
1424 | - echo ${UNAME_MACHINE}-axis-linux-gnu |
1425 | + echo ${UNAME_MACHINE}-axis-linux-${LIBC} |
1426 | exit ;; |
1427 | frv:Linux:*:*) |
1428 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1429 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1430 | exit ;; |
1431 | hexagon:Linux:*:*) |
1432 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1433 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1434 | exit ;; |
1435 | i*86:Linux:*:*) |
1436 | - LIBC=gnu |
1437 | - eval $set_cc_for_build |
1438 | - sed 's/^ //' << EOF >$dummy.c |
1439 | - #ifdef __dietlibc__ |
1440 | - LIBC=dietlibc |
1441 | - #endif |
1442 | -EOF |
1443 | - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` |
1444 | - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" |
1445 | + echo ${UNAME_MACHINE}-pc-linux-${LIBC} |
1446 | exit ;; |
1447 | ia64:Linux:*:*) |
1448 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1449 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1450 | exit ;; |
1451 | m32r*:Linux:*:*) |
1452 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1453 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1454 | exit ;; |
1455 | m68*:Linux:*:*) |
1456 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1457 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1458 | exit ;; |
1459 | mips:Linux:*:* | mips64:Linux:*:*) |
1460 | eval $set_cc_for_build |
1461 | @@ -950,54 +967,63 @@ |
1462 | #endif |
1463 | EOF |
1464 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` |
1465 | - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
1466 | + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } |
1467 | ;; |
1468 | + or1k:Linux:*:*) |
1469 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1470 | + exit ;; |
1471 | or32:Linux:*:*) |
1472 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1473 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1474 | exit ;; |
1475 | padre:Linux:*:*) |
1476 | - echo sparc-unknown-linux-gnu |
1477 | + echo sparc-unknown-linux-${LIBC} |
1478 | exit ;; |
1479 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
1480 | - echo hppa64-unknown-linux-gnu |
1481 | + echo hppa64-unknown-linux-${LIBC} |
1482 | exit ;; |
1483 | parisc:Linux:*:* | hppa:Linux:*:*) |
1484 | # Look for CPU level |
1485 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
1486 | - PA7*) echo hppa1.1-unknown-linux-gnu ;; |
1487 | - PA8*) echo hppa2.0-unknown-linux-gnu ;; |
1488 | - *) echo hppa-unknown-linux-gnu ;; |
1489 | + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; |
1490 | + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; |
1491 | + *) echo hppa-unknown-linux-${LIBC} ;; |
1492 | esac |
1493 | exit ;; |
1494 | ppc64:Linux:*:*) |
1495 | - echo powerpc64-unknown-linux-gnu |
1496 | + echo powerpc64-unknown-linux-${LIBC} |
1497 | exit ;; |
1498 | ppc:Linux:*:*) |
1499 | - echo powerpc-unknown-linux-gnu |
1500 | + echo powerpc-unknown-linux-${LIBC} |
1501 | + exit ;; |
1502 | + ppc64le:Linux:*:*) |
1503 | + echo powerpc64le-unknown-linux-${LIBC} |
1504 | + exit ;; |
1505 | + ppcle:Linux:*:*) |
1506 | + echo powerpcle-unknown-linux-${LIBC} |
1507 | exit ;; |
1508 | s390:Linux:*:* | s390x:Linux:*:*) |
1509 | - echo ${UNAME_MACHINE}-ibm-linux |
1510 | + echo ${UNAME_MACHINE}-ibm-linux-${LIBC} |
1511 | exit ;; |
1512 | sh64*:Linux:*:*) |
1513 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1514 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1515 | exit ;; |
1516 | sh*:Linux:*:*) |
1517 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1518 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1519 | exit ;; |
1520 | sparc:Linux:*:* | sparc64:Linux:*:*) |
1521 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1522 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1523 | exit ;; |
1524 | tile*:Linux:*:*) |
1525 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1526 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1527 | exit ;; |
1528 | vax:Linux:*:*) |
1529 | - echo ${UNAME_MACHINE}-dec-linux-gnu |
1530 | + echo ${UNAME_MACHINE}-dec-linux-${LIBC} |
1531 | exit ;; |
1532 | x86_64:Linux:*:*) |
1533 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1534 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1535 | exit ;; |
1536 | xtensa*:Linux:*:*) |
1537 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1538 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
1539 | exit ;; |
1540 | i*86:DYNIX/ptx:4*:*) |
1541 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1542 | @@ -1201,6 +1227,9 @@ |
1543 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. |
1544 | echo i586-pc-haiku |
1545 | exit ;; |
1546 | + x86_64:Haiku:*:*) |
1547 | + echo x86_64-unknown-haiku |
1548 | + exit ;; |
1549 | SX-4:SUPER-UX:*:*) |
1550 | echo sx4-nec-superux${UNAME_RELEASE} |
1551 | exit ;; |
1552 | @@ -1227,19 +1256,21 @@ |
1553 | exit ;; |
1554 | *:Darwin:*:*) |
1555 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1556 | - case $UNAME_PROCESSOR in |
1557 | - i386) |
1558 | - eval $set_cc_for_build |
1559 | - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
1560 | - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
1561 | - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
1562 | - grep IS_64BIT_ARCH >/dev/null |
1563 | - then |
1564 | - UNAME_PROCESSOR="x86_64" |
1565 | - fi |
1566 | - fi ;; |
1567 | - unknown) UNAME_PROCESSOR=powerpc ;; |
1568 | - esac |
1569 | + eval $set_cc_for_build |
1570 | + if test "$UNAME_PROCESSOR" = unknown ; then |
1571 | + UNAME_PROCESSOR=powerpc |
1572 | + fi |
1573 | + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
1574 | + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
1575 | + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
1576 | + grep IS_64BIT_ARCH >/dev/null |
1577 | + then |
1578 | + case $UNAME_PROCESSOR in |
1579 | + i386) UNAME_PROCESSOR=x86_64 ;; |
1580 | + powerpc) UNAME_PROCESSOR=powerpc64 ;; |
1581 | + esac |
1582 | + fi |
1583 | + fi |
1584 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
1585 | exit ;; |
1586 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
1587 | @@ -1330,9 +1361,6 @@ |
1588 | exit ;; |
1589 | esac |
1590 | |
1591 | -#echo '(No uname command or uname output not recognized.)' 1>&2 |
1592 | -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 |
1593 | - |
1594 | eval $set_cc_for_build |
1595 | cat >$dummy.c <<EOF |
1596 | #ifdef _SEQUENT_ |
1597 | |
1598 | === modified file 'bin/config.sub' |
1599 | --- bin/config.sub 2014-03-31 09:56:17 +0000 |
1600 | +++ bin/config.sub 2024-05-07 03:08:38 +0000 |
1601 | @@ -1,24 +1,18 @@ |
1602 | #! /bin/sh |
1603 | # Configuration validation subroutine script. |
1604 | -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
1605 | -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
1606 | -# 2011, 2012 Free Software Foundation, Inc. |
1607 | - |
1608 | -timestamp='2012-04-18' |
1609 | - |
1610 | -# This file is (in principle) common to ALL GNU software. |
1611 | -# The presence of a machine in this file suggests that SOME GNU software |
1612 | -# can handle that machine. It does not imply ALL GNU software can. |
1613 | -# |
1614 | -# This file is free software; you can redistribute it and/or modify |
1615 | -# it under the terms of the GNU General Public License as published by |
1616 | -# the Free Software Foundation; either version 2 of the License, or |
1617 | +# Copyright 1992-2013 Free Software Foundation, Inc. |
1618 | + |
1619 | +timestamp='2013-08-10' |
1620 | + |
1621 | +# This file is free software; you can redistribute it and/or modify it |
1622 | +# under the terms of the GNU General Public License as published by |
1623 | +# the Free Software Foundation; either version 3 of the License, or |
1624 | # (at your option) any later version. |
1625 | # |
1626 | -# This program is distributed in the hope that it will be useful, |
1627 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1628 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1629 | -# GNU General Public License for more details. |
1630 | +# This program is distributed in the hope that it will be useful, but |
1631 | +# WITHOUT ANY WARRANTY; without even the implied warranty of |
1632 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1633 | +# General Public License for more details. |
1634 | # |
1635 | # You should have received a copy of the GNU General Public License |
1636 | # along with this program; if not, see <http://www.gnu.org/licenses/>. |
1637 | @@ -26,11 +20,12 @@ |
1638 | # As a special exception to the GNU General Public License, if you |
1639 | # distribute this file as part of a program that contains a |
1640 | # configuration script generated by Autoconf, you may include it under |
1641 | -# the same distribution terms that you use for the rest of that program. |
1642 | - |
1643 | - |
1644 | -# Please send patches to <config-patches@gnu.org>. Submit a context |
1645 | -# diff and a properly formatted GNU ChangeLog entry. |
1646 | +# the same distribution terms that you use for the rest of that |
1647 | +# program. This Exception is an additional permission under section 7 |
1648 | +# of the GNU General Public License, version 3 ("GPLv3"). |
1649 | + |
1650 | + |
1651 | +# Please send patches with a ChangeLog entry to config-patches@gnu.org. |
1652 | # |
1653 | # Configuration subroutine to validate and canonicalize a configuration type. |
1654 | # Supply the specified configuration type as an argument. |
1655 | @@ -73,9 +68,7 @@ |
1656 | version="\ |
1657 | GNU config.sub ($timestamp) |
1658 | |
1659 | -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
1660 | -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
1661 | -Free Software Foundation, Inc. |
1662 | +Copyright 1992-2013 Free Software Foundation, Inc. |
1663 | |
1664 | This is free software; see the source for copying conditions. There is NO |
1665 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
1666 | @@ -123,7 +116,7 @@ |
1667 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
1668 | case $maybe_os in |
1669 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
1670 | - linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
1671 | + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
1672 | knetbsd*-gnu* | netbsd*-gnu* | \ |
1673 | kopensolaris*-gnu* | \ |
1674 | storm-chaos* | os2-emx* | rtmk-nova*) |
1675 | @@ -156,7 +149,7 @@ |
1676 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
1677 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
1678 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
1679 | - -apple | -axis | -knuth | -cray | -microblaze) |
1680 | + -apple | -axis | -knuth | -cray | -microblaze*) |
1681 | os= |
1682 | basic_machine=$1 |
1683 | ;; |
1684 | @@ -259,10 +252,12 @@ |
1685 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
1686 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
1687 | | am33_2.0 \ |
1688 | - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ |
1689 | - | be32 | be64 \ |
1690 | + | arc | arceb \ |
1691 | + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ |
1692 | + | avr | avr32 \ |
1693 | + | be32 | be64 \ |
1694 | | bfin \ |
1695 | - | c4x | clipper \ |
1696 | + | c4x | c8051 | clipper \ |
1697 | | d10v | d30v | dlx | dsp16xx \ |
1698 | | epiphany \ |
1699 | | fido | fr30 | frv \ |
1700 | @@ -273,7 +268,7 @@ |
1701 | | le32 | le64 \ |
1702 | | lm32 \ |
1703 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
1704 | - | maxq | mb | microblaze | mcore | mep | metag \ |
1705 | + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ |
1706 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
1707 | | mips16 \ |
1708 | | mips64 | mips64el \ |
1709 | @@ -291,16 +286,17 @@ |
1710 | | mipsisa64r2 | mipsisa64r2el \ |
1711 | | mipsisa64sb1 | mipsisa64sb1el \ |
1712 | | mipsisa64sr71k | mipsisa64sr71kel \ |
1713 | + | mipsr5900 | mipsr5900el \ |
1714 | | mipstx39 | mipstx39el \ |
1715 | | mn10200 | mn10300 \ |
1716 | | moxie \ |
1717 | | mt \ |
1718 | | msp430 \ |
1719 | | nds32 | nds32le | nds32be \ |
1720 | - | nios | nios2 \ |
1721 | + | nios | nios2 | nios2eb | nios2el \ |
1722 | | ns16k | ns32k \ |
1723 | | open8 \ |
1724 | - | or32 \ |
1725 | + | or1k | or32 \ |
1726 | | pdp10 | pdp11 | pj | pjl \ |
1727 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
1728 | | pyramid \ |
1729 | @@ -370,13 +366,13 @@ |
1730 | | aarch64-* | aarch64_be-* \ |
1731 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
1732 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
1733 | - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
1734 | + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ |
1735 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
1736 | | avr-* | avr32-* \ |
1737 | | be32-* | be64-* \ |
1738 | | bfin-* | bs2000-* \ |
1739 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
1740 | - | clipper-* | craynv-* | cydra-* \ |
1741 | + | c8051-* | clipper-* | craynv-* | cydra-* \ |
1742 | | d10v-* | d30v-* | dlx-* \ |
1743 | | elxsi-* \ |
1744 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
1745 | @@ -389,7 +385,8 @@ |
1746 | | lm32-* \ |
1747 | | m32c-* | m32r-* | m32rle-* \ |
1748 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
1749 | - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ |
1750 | + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
1751 | + | microblaze-* | microblazeel-* \ |
1752 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
1753 | | mips16-* \ |
1754 | | mips64-* | mips64el-* \ |
1755 | @@ -407,12 +404,13 @@ |
1756 | | mipsisa64r2-* | mipsisa64r2el-* \ |
1757 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
1758 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
1759 | + | mipsr5900-* | mipsr5900el-* \ |
1760 | | mipstx39-* | mipstx39el-* \ |
1761 | | mmix-* \ |
1762 | | mt-* \ |
1763 | | msp430-* \ |
1764 | | nds32-* | nds32le-* | nds32be-* \ |
1765 | - | nios-* | nios2-* \ |
1766 | + | nios-* | nios2-* | nios2eb-* | nios2el-* \ |
1767 | | none-* | np1-* | ns16k-* | ns32k-* \ |
1768 | | open8-* \ |
1769 | | orion-* \ |
1770 | @@ -788,11 +786,15 @@ |
1771 | basic_machine=ns32k-utek |
1772 | os=-sysv |
1773 | ;; |
1774 | - microblaze) |
1775 | + microblaze*) |
1776 | basic_machine=microblaze-xilinx |
1777 | ;; |
1778 | + mingw64) |
1779 | + basic_machine=x86_64-pc |
1780 | + os=-mingw64 |
1781 | + ;; |
1782 | mingw32) |
1783 | - basic_machine=i386-pc |
1784 | + basic_machine=i686-pc |
1785 | os=-mingw32 |
1786 | ;; |
1787 | mingw32ce) |
1788 | @@ -828,7 +830,7 @@ |
1789 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
1790 | ;; |
1791 | msys) |
1792 | - basic_machine=i386-pc |
1793 | + basic_machine=i686-pc |
1794 | os=-msys |
1795 | ;; |
1796 | mvs) |
1797 | @@ -1019,7 +1021,11 @@ |
1798 | basic_machine=i586-unknown |
1799 | os=-pw32 |
1800 | ;; |
1801 | - rdos) |
1802 | + rdos | rdos64) |
1803 | + basic_machine=x86_64-pc |
1804 | + os=-rdos |
1805 | + ;; |
1806 | + rdos32) |
1807 | basic_machine=i386-pc |
1808 | os=-rdos |
1809 | ;; |
1810 | @@ -1346,21 +1352,21 @@ |
1811 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1812 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1813 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
1814 | - | -sym* | -kopensolaris* \ |
1815 | + | -sym* | -kopensolaris* | -plan9* \ |
1816 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1817 | | -aos* | -aros* \ |
1818 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1819 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
1820 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
1821 | - | -openbsd* | -solidbsd* \ |
1822 | + | -bitrig* | -openbsd* | -solidbsd* \ |
1823 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
1824 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
1825 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1826 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1827 | | -chorusos* | -chorusrdb* | -cegcc* \ |
1828 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
1829 | - | -mingw32* | -linux-gnu* | -linux-android* \ |
1830 | - | -linux-newlib* | -linux-uclibc* \ |
1831 | + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
1832 | + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
1833 | | -uxpv* | -beos* | -mpeix* | -udk* \ |
1834 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1835 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1836 | @@ -1492,9 +1498,6 @@ |
1837 | -aros*) |
1838 | os=-aros |
1839 | ;; |
1840 | - -kaos*) |
1841 | - os=-kaos |
1842 | - ;; |
1843 | -zvmoe) |
1844 | os=-zvmoe |
1845 | ;; |
1846 | @@ -1543,6 +1546,9 @@ |
1847 | c4x-* | tic4x-*) |
1848 | os=-coff |
1849 | ;; |
1850 | + c8051-*) |
1851 | + os=-elf |
1852 | + ;; |
1853 | hexagon-*) |
1854 | os=-elf |
1855 | ;; |
1856 | @@ -1586,6 +1592,9 @@ |
1857 | mips*-*) |
1858 | os=-elf |
1859 | ;; |
1860 | + or1k-*) |
1861 | + os=-elf |
1862 | + ;; |
1863 | or32-*) |
1864 | os=-coff |
1865 | ;; |
1866 | |
1867 | === modified file 'bin/depcomp' |
1868 | --- bin/depcomp 2014-02-25 14:29:26 +0000 |
1869 | +++ bin/depcomp 2024-05-07 03:08:38 +0000 |
1870 | @@ -1,9 +1,9 @@ |
1871 | #! /bin/sh |
1872 | # depcomp - compile a program generating dependencies as side-effects |
1873 | |
1874 | -scriptversion=2012-03-27.16; # UTC |
1875 | +scriptversion=2013-05-30.07; # UTC |
1876 | |
1877 | -# Copyright (C) 1999-2012 Free Software Foundation, Inc. |
1878 | +# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
1879 | |
1880 | # This program is free software; you can redistribute it and/or modify |
1881 | # it under the terms of the GNU General Public License as published by |
1882 | @@ -27,9 +27,9 @@ |
1883 | |
1884 | case $1 in |
1885 | '') |
1886 | - echo "$0: No command. Try '$0 --help' for more information." 1>&2 |
1887 | - exit 1; |
1888 | - ;; |
1889 | + echo "$0: No command. Try '$0 --help' for more information." 1>&2 |
1890 | + exit 1; |
1891 | + ;; |
1892 | -h | --h*) |
1893 | cat <<\EOF |
1894 | Usage: depcomp [--help] [--version] PROGRAM [ARGS] |
1895 | @@ -56,11 +56,65 @@ |
1896 | ;; |
1897 | esac |
1898 | |
1899 | +# Get the directory component of the given path, and save it in the |
1900 | +# global variables '$dir'. Note that this directory component will |
1901 | +# be either empty or ending with a '/' character. This is deliberate. |
1902 | +set_dir_from () |
1903 | +{ |
1904 | + case $1 in |
1905 | + */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; |
1906 | + *) dir=;; |
1907 | + esac |
1908 | +} |
1909 | + |
1910 | +# Get the suffix-stripped basename of the given path, and save it the |
1911 | +# global variable '$base'. |
1912 | +set_base_from () |
1913 | +{ |
1914 | + base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` |
1915 | +} |
1916 | + |
1917 | +# If no dependency file was actually created by the compiler invocation, |
1918 | +# we still have to create a dummy depfile, to avoid errors with the |
1919 | +# Makefile "include basename.Plo" scheme. |
1920 | +make_dummy_depfile () |
1921 | +{ |
1922 | + echo "#dummy" > "$depfile" |
1923 | +} |
1924 | + |
1925 | +# Factor out some common post-processing of the generated depfile. |
1926 | +# Requires the auxiliary global variable '$tmpdepfile' to be set. |
1927 | +aix_post_process_depfile () |
1928 | +{ |
1929 | + # If the compiler actually managed to produce a dependency file, |
1930 | + # post-process it. |
1931 | + if test -f "$tmpdepfile"; then |
1932 | + # Each line is of the form 'foo.o: dependency.h'. |
1933 | + # Do two passes, one to just change these to |
1934 | + # $object: dependency.h |
1935 | + # and one to simply output |
1936 | + # dependency.h: |
1937 | + # which is needed to avoid the deleted-header problem. |
1938 | + { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" |
1939 | + sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" |
1940 | + } > "$depfile" |
1941 | + rm -f "$tmpdepfile" |
1942 | + else |
1943 | + make_dummy_depfile |
1944 | + fi |
1945 | +} |
1946 | + |
1947 | # A tabulation character. |
1948 | tab=' ' |
1949 | # A newline character. |
1950 | nl=' |
1951 | ' |
1952 | +# Character ranges might be problematic outside the C locale. |
1953 | +# These definitions help. |
1954 | +upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ |
1955 | +lower=abcdefghijklmnopqrstuvwxyz |
1956 | +digits=0123456789 |
1957 | +alpha=${upper}${lower} |
1958 | |
1959 | if test -z "$depmode" || test -z "$source" || test -z "$object"; then |
1960 | echo "depcomp: Variables source, object and depmode must be set" 1>&2 |
1961 | @@ -74,6 +128,9 @@ |
1962 | |
1963 | rm -f "$tmpdepfile" |
1964 | |
1965 | +# Avoid interferences from the environment. |
1966 | +gccflag= dashmflag= |
1967 | + |
1968 | # Some modes work just like other modes, but use different flags. We |
1969 | # parameterize here, but still list the modes in the big case below, |
1970 | # to make depend.m4 easier to write. Note that we *cannot* use a case |
1971 | @@ -85,32 +142,32 @@ |
1972 | fi |
1973 | |
1974 | if test "$depmode" = dashXmstdout; then |
1975 | - # This is just like dashmstdout with a different argument. |
1976 | - dashmflag=-xM |
1977 | - depmode=dashmstdout |
1978 | + # This is just like dashmstdout with a different argument. |
1979 | + dashmflag=-xM |
1980 | + depmode=dashmstdout |
1981 | fi |
1982 | |
1983 | cygpath_u="cygpath -u -f -" |
1984 | if test "$depmode" = msvcmsys; then |
1985 | - # This is just like msvisualcpp but w/o cygpath translation. |
1986 | - # Just convert the backslash-escaped backslashes to single forward |
1987 | - # slashes to satisfy depend.m4 |
1988 | - cygpath_u='sed s,\\\\,/,g' |
1989 | - depmode=msvisualcpp |
1990 | + # This is just like msvisualcpp but w/o cygpath translation. |
1991 | + # Just convert the backslash-escaped backslashes to single forward |
1992 | + # slashes to satisfy depend.m4 |
1993 | + cygpath_u='sed s,\\\\,/,g' |
1994 | + depmode=msvisualcpp |
1995 | fi |
1996 | |
1997 | if test "$depmode" = msvc7msys; then |
1998 | - # This is just like msvc7 but w/o cygpath translation. |
1999 | - # Just convert the backslash-escaped backslashes to single forward |
2000 | - # slashes to satisfy depend.m4 |
2001 | - cygpath_u='sed s,\\\\,/,g' |
2002 | - depmode=msvc7 |
2003 | + # This is just like msvc7 but w/o cygpath translation. |
2004 | + # Just convert the backslash-escaped backslashes to single forward |
2005 | + # slashes to satisfy depend.m4 |
2006 | + cygpath_u='sed s,\\\\,/,g' |
2007 | + depmode=msvc7 |
2008 | fi |
2009 | |
2010 | if test "$depmode" = xlc; then |
2011 | - # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations. |
2012 | - gccflag=-qmakedep=gcc,-MF |
2013 | - depmode=gcc |
2014 | + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. |
2015 | + gccflag=-qmakedep=gcc,-MF |
2016 | + depmode=gcc |
2017 | fi |
2018 | |
2019 | case "$depmode" in |
2020 | @@ -133,8 +190,7 @@ |
2021 | done |
2022 | "$@" |
2023 | stat=$? |
2024 | - if test $stat -eq 0; then : |
2025 | - else |
2026 | + if test $stat -ne 0; then |
2027 | rm -f "$tmpdepfile" |
2028 | exit $stat |
2029 | fi |
2030 | @@ -142,13 +198,17 @@ |
2031 | ;; |
2032 | |
2033 | gcc) |
2034 | +## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. |
2035 | +## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. |
2036 | +## (see the conditional assignment to $gccflag above). |
2037 | ## There are various ways to get dependency output from gcc. Here's |
2038 | ## why we pick this rather obscure method: |
2039 | ## - Don't want to use -MD because we'd like the dependencies to end |
2040 | ## up in a subdir. Having to rename by hand is ugly. |
2041 | ## (We might end up doing this anyway to support other compilers.) |
2042 | ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like |
2043 | -## -MM, not -M (despite what the docs say). |
2044 | +## -MM, not -M (despite what the docs say). Also, it might not be |
2045 | +## supported by the other compilers which use the 'gcc' depmode. |
2046 | ## - Using -M directly means running the compiler twice (even worse |
2047 | ## than renaming). |
2048 | if test -z "$gccflag"; then |
2049 | @@ -156,15 +216,14 @@ |
2050 | fi |
2051 | "$@" -Wp,"$gccflag$tmpdepfile" |
2052 | stat=$? |
2053 | - if test $stat -eq 0; then : |
2054 | - else |
2055 | + if test $stat -ne 0; then |
2056 | rm -f "$tmpdepfile" |
2057 | exit $stat |
2058 | fi |
2059 | rm -f "$depfile" |
2060 | echo "$object : \\" > "$depfile" |
2061 | - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz |
2062 | -## The second -e expression handles DOS-style file names with drive letters. |
2063 | + # The second -e expression handles DOS-style file names with drive |
2064 | + # letters. |
2065 | sed -e 's/^[^:]*: / /' \ |
2066 | -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" |
2067 | ## This next piece of magic avoids the "deleted header file" problem. |
2068 | @@ -173,15 +232,15 @@ |
2069 | ## typically no way to rebuild the header). We avoid this by adding |
2070 | ## dummy dependencies for each header file. Too bad gcc doesn't do |
2071 | ## this for us directly. |
2072 | - tr ' ' "$nl" < "$tmpdepfile" | |
2073 | ## Some versions of gcc put a space before the ':'. On the theory |
2074 | ## that the space means something, we add a space to the output as |
2075 | ## well. hp depmode also adds that space, but also prefixes the VPATH |
2076 | ## to the object. Take care to not repeat it in the output. |
2077 | ## Some versions of the HPUX 10.20 sed can't process this invocation |
2078 | ## correctly. Breaking it into two sed invocations is a workaround. |
2079 | - sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ |
2080 | - | sed -e 's/$/ :/' >> "$depfile" |
2081 | + tr ' ' "$nl" < "$tmpdepfile" \ |
2082 | + | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ |
2083 | + | sed -e 's/$/ :/' >> "$depfile" |
2084 | rm -f "$tmpdepfile" |
2085 | ;; |
2086 | |
2087 | @@ -199,8 +258,7 @@ |
2088 | "$@" -MDupdate "$tmpdepfile" |
2089 | fi |
2090 | stat=$? |
2091 | - if test $stat -eq 0; then : |
2092 | - else |
2093 | + if test $stat -ne 0; then |
2094 | rm -f "$tmpdepfile" |
2095 | exit $stat |
2096 | fi |
2097 | @@ -208,7 +266,6 @@ |
2098 | |
2099 | if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files |
2100 | echo "$object : \\" > "$depfile" |
2101 | - |
2102 | # Clip off the initial element (the dependent). Don't try to be |
2103 | # clever and replace this with sed code, as IRIX sed won't handle |
2104 | # lines with more than a fixed number of characters (4096 in |
2105 | @@ -216,19 +273,15 @@ |
2106 | # the IRIX cc adds comments like '#:fec' to the end of the |
2107 | # dependency line. |
2108 | tr ' ' "$nl" < "$tmpdepfile" \ |
2109 | - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ |
2110 | - tr "$nl" ' ' >> "$depfile" |
2111 | + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ |
2112 | + | tr "$nl" ' ' >> "$depfile" |
2113 | echo >> "$depfile" |
2114 | - |
2115 | # The second pass generates a dummy entry for each header file. |
2116 | tr ' ' "$nl" < "$tmpdepfile" \ |
2117 | - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ |
2118 | - >> "$depfile" |
2119 | + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ |
2120 | + >> "$depfile" |
2121 | else |
2122 | - # The sourcefile does not contain any dependencies, so just |
2123 | - # store a dummy comment line, to avoid errors with the Makefile |
2124 | - # "include basename.Plo" scheme. |
2125 | - echo "#dummy" > "$depfile" |
2126 | + make_dummy_depfile |
2127 | fi |
2128 | rm -f "$tmpdepfile" |
2129 | ;; |
2130 | @@ -246,9 +299,8 @@ |
2131 | # current directory. Also, the AIX compiler puts '$object:' at the |
2132 | # start of each line; $object doesn't have directory information. |
2133 | # Version 6 uses the directory in both cases. |
2134 | - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
2135 | - test "x$dir" = "x$object" && dir= |
2136 | - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` |
2137 | + set_dir_from "$object" |
2138 | + set_base_from "$object" |
2139 | if test "$libtool" = yes; then |
2140 | tmpdepfile1=$dir$base.u |
2141 | tmpdepfile2=$base.u |
2142 | @@ -261,9 +313,7 @@ |
2143 | "$@" -M |
2144 | fi |
2145 | stat=$? |
2146 | - |
2147 | - if test $stat -eq 0; then : |
2148 | - else |
2149 | + if test $stat -ne 0; then |
2150 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" |
2151 | exit $stat |
2152 | fi |
2153 | @@ -272,65 +322,113 @@ |
2154 | do |
2155 | test -f "$tmpdepfile" && break |
2156 | done |
2157 | - if test -f "$tmpdepfile"; then |
2158 | - # Each line is of the form 'foo.o: dependent.h'. |
2159 | - # Do two passes, one to just change these to |
2160 | - # '$object: dependent.h' and one to simply 'dependent.h:'. |
2161 | - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" |
2162 | - sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" |
2163 | - else |
2164 | - # The sourcefile does not contain any dependencies, so just |
2165 | - # store a dummy comment line, to avoid errors with the Makefile |
2166 | - # "include basename.Plo" scheme. |
2167 | - echo "#dummy" > "$depfile" |
2168 | + aix_post_process_depfile |
2169 | + ;; |
2170 | + |
2171 | +tcc) |
2172 | + # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 |
2173 | + # FIXME: That version still under development at the moment of writing. |
2174 | + # Make that this statement remains true also for stable, released |
2175 | + # versions. |
2176 | + # It will wrap lines (doesn't matter whether long or short) with a |
2177 | + # trailing '\', as in: |
2178 | + # |
2179 | + # foo.o : \ |
2180 | + # foo.c \ |
2181 | + # foo.h \ |
2182 | + # |
2183 | + # It will put a trailing '\' even on the last line, and will use leading |
2184 | + # spaces rather than leading tabs (at least since its commit 0394caf7 |
2185 | + # "Emit spaces for -MD"). |
2186 | + "$@" -MD -MF "$tmpdepfile" |
2187 | + stat=$? |
2188 | + if test $stat -ne 0; then |
2189 | + rm -f "$tmpdepfile" |
2190 | + exit $stat |
2191 | fi |
2192 | + rm -f "$depfile" |
2193 | + # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. |
2194 | + # We have to change lines of the first kind to '$object: \'. |
2195 | + sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" |
2196 | + # And for each line of the second kind, we have to emit a 'dep.h:' |
2197 | + # dummy dependency, to avoid the deleted-header problem. |
2198 | + sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" |
2199 | rm -f "$tmpdepfile" |
2200 | ;; |
2201 | |
2202 | -icc) |
2203 | - # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'. |
2204 | - # However on |
2205 | - # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c |
2206 | - # ICC 7.0 will fill foo.d with something like |
2207 | - # foo.o: sub/foo.c |
2208 | - # foo.o: sub/foo.h |
2209 | - # which is wrong. We want |
2210 | - # sub/foo.o: sub/foo.c |
2211 | - # sub/foo.o: sub/foo.h |
2212 | - # sub/foo.c: |
2213 | - # sub/foo.h: |
2214 | - # ICC 7.1 will output |
2215 | +## The order of this option in the case statement is important, since the |
2216 | +## shell code in configure will try each of these formats in the order |
2217 | +## listed in this file. A plain '-MD' option would be understood by many |
2218 | +## compilers, so we must ensure this comes after the gcc and icc options. |
2219 | +pgcc) |
2220 | + # Portland's C compiler understands '-MD'. |
2221 | + # Will always output deps to 'file.d' where file is the root name of the |
2222 | + # source file under compilation, even if file resides in a subdirectory. |
2223 | + # The object file name does not affect the name of the '.d' file. |
2224 | + # pgcc 10.2 will output |
2225 | # foo.o: sub/foo.c sub/foo.h |
2226 | - # and will wrap long lines using '\': |
2227 | + # and will wrap long lines using '\' : |
2228 | # foo.o: sub/foo.c ... \ |
2229 | # sub/foo.h ... \ |
2230 | # ... |
2231 | - # tcc 0.9.26 (FIXME still under development at the moment of writing) |
2232 | - # will emit a similar output, but also prepend the continuation lines |
2233 | - # with horizontal tabulation characters. |
2234 | - "$@" -MD -MF "$tmpdepfile" |
2235 | - stat=$? |
2236 | - if test $stat -eq 0; then : |
2237 | - else |
2238 | + set_dir_from "$object" |
2239 | + # Use the source, not the object, to determine the base name, since |
2240 | + # that's sadly what pgcc will do too. |
2241 | + set_base_from "$source" |
2242 | + tmpdepfile=$base.d |
2243 | + |
2244 | + # For projects that build the same source file twice into different object |
2245 | + # files, the pgcc approach of using the *source* file root name can cause |
2246 | + # problems in parallel builds. Use a locking strategy to avoid stomping on |
2247 | + # the same $tmpdepfile. |
2248 | + lockdir=$base.d-lock |
2249 | + trap " |
2250 | + echo '$0: caught signal, cleaning up...' >&2 |
2251 | + rmdir '$lockdir' |
2252 | + exit 1 |
2253 | + " 1 2 13 15 |
2254 | + numtries=100 |
2255 | + i=$numtries |
2256 | + while test $i -gt 0; do |
2257 | + # mkdir is a portable test-and-set. |
2258 | + if mkdir "$lockdir" 2>/dev/null; then |
2259 | + # This process acquired the lock. |
2260 | + "$@" -MD |
2261 | + stat=$? |
2262 | + # Release the lock. |
2263 | + rmdir "$lockdir" |
2264 | + break |
2265 | + else |
2266 | + # If the lock is being held by a different process, wait |
2267 | + # until the winning process is done or we timeout. |
2268 | + while test -d "$lockdir" && test $i -gt 0; do |
2269 | + sleep 1 |
2270 | + i=`expr $i - 1` |
2271 | + done |
2272 | + fi |
2273 | + i=`expr $i - 1` |
2274 | + done |
2275 | + trap - 1 2 13 15 |
2276 | + if test $i -le 0; then |
2277 | + echo "$0: failed to acquire lock after $numtries attempts" >&2 |
2278 | + echo "$0: check lockdir '$lockdir'" >&2 |
2279 | + exit 1 |
2280 | + fi |
2281 | + |
2282 | + if test $stat -ne 0; then |
2283 | rm -f "$tmpdepfile" |
2284 | exit $stat |
2285 | fi |
2286 | rm -f "$depfile" |
2287 | - # Each line is of the form 'foo.o: dependent.h', |
2288 | - # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'. |
2289 | + # Each line is of the form `foo.o: dependent.h', |
2290 | + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. |
2291 | # Do two passes, one to just change these to |
2292 | - # '$object: dependent.h' and one to simply 'dependent.h:'. |
2293 | - sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \ |
2294 | - < "$tmpdepfile" > "$depfile" |
2295 | - sed ' |
2296 | - s/[ '"$tab"'][ '"$tab"']*/ /g |
2297 | - s/^ *// |
2298 | - s/ *\\*$// |
2299 | - s/^[^:]*: *// |
2300 | - /^$/d |
2301 | - /:$/d |
2302 | - s/$/ :/ |
2303 | - ' < "$tmpdepfile" >> "$depfile" |
2304 | + # `$object: dependent.h' and one to simply `dependent.h:'. |
2305 | + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" |
2306 | + # Some versions of the HPUX 10.20 sed can't process this invocation |
2307 | + # correctly. Breaking it into two sed invocations is a workaround. |
2308 | + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ |
2309 | + | sed -e 's/$/ :/' >> "$depfile" |
2310 | rm -f "$tmpdepfile" |
2311 | ;; |
2312 | |
2313 | @@ -341,9 +439,8 @@ |
2314 | # 'foo.d', which lands next to the object file, wherever that |
2315 | # happens to be. |
2316 | # Much of this is similar to the tru64 case; see comments there. |
2317 | - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
2318 | - test "x$dir" = "x$object" && dir= |
2319 | - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` |
2320 | + set_dir_from "$object" |
2321 | + set_base_from "$object" |
2322 | if test "$libtool" = yes; then |
2323 | tmpdepfile1=$dir$base.d |
2324 | tmpdepfile2=$dir.libs/$base.d |
2325 | @@ -354,8 +451,7 @@ |
2326 | "$@" +Maked |
2327 | fi |
2328 | stat=$? |
2329 | - if test $stat -eq 0; then : |
2330 | - else |
2331 | + if test $stat -ne 0; then |
2332 | rm -f "$tmpdepfile1" "$tmpdepfile2" |
2333 | exit $stat |
2334 | fi |
2335 | @@ -365,76 +461,61 @@ |
2336 | test -f "$tmpdepfile" && break |
2337 | done |
2338 | if test -f "$tmpdepfile"; then |
2339 | - sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" |
2340 | + sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" |
2341 | # Add 'dependent.h:' lines. |
2342 | sed -ne '2,${ |
2343 | - s/^ *// |
2344 | - s/ \\*$// |
2345 | - s/$/:/ |
2346 | - p |
2347 | - }' "$tmpdepfile" >> "$depfile" |
2348 | + s/^ *// |
2349 | + s/ \\*$// |
2350 | + s/$/:/ |
2351 | + p |
2352 | + }' "$tmpdepfile" >> "$depfile" |
2353 | else |
2354 | - echo "#dummy" > "$depfile" |
2355 | + make_dummy_depfile |
2356 | fi |
2357 | rm -f "$tmpdepfile" "$tmpdepfile2" |
2358 | ;; |
2359 | |
2360 | tru64) |
2361 | - # The Tru64 compiler uses -MD to generate dependencies as a side |
2362 | - # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. |
2363 | - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put |
2364 | - # dependencies in 'foo.d' instead, so we check for that too. |
2365 | - # Subdirectories are respected. |
2366 | - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
2367 | - test "x$dir" = "x$object" && dir= |
2368 | - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` |
2369 | - |
2370 | - if test "$libtool" = yes; then |
2371 | - # With Tru64 cc, shared objects can also be used to make a |
2372 | - # static library. This mechanism is used in libtool 1.4 series to |
2373 | - # handle both shared and static libraries in a single compilation. |
2374 | - # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. |
2375 | - # |
2376 | - # With libtool 1.5 this exception was removed, and libtool now |
2377 | - # generates 2 separate objects for the 2 libraries. These two |
2378 | - # compilations output dependencies in $dir.libs/$base.o.d and |
2379 | - # in $dir$base.o.d. We have to check for both files, because |
2380 | - # one of the two compilations can be disabled. We should prefer |
2381 | - # $dir$base.o.d over $dir.libs/$base.o.d because the latter is |
2382 | - # automatically cleaned when .libs/ is deleted, while ignoring |
2383 | - # the former would cause a distcleancheck panic. |
2384 | - tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 |
2385 | - tmpdepfile2=$dir$base.o.d # libtool 1.5 |
2386 | - tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 |
2387 | - tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 |
2388 | - "$@" -Wc,-MD |
2389 | - else |
2390 | - tmpdepfile1=$dir$base.o.d |
2391 | - tmpdepfile2=$dir$base.d |
2392 | - tmpdepfile3=$dir$base.d |
2393 | - tmpdepfile4=$dir$base.d |
2394 | - "$@" -MD |
2395 | - fi |
2396 | - |
2397 | - stat=$? |
2398 | - if test $stat -eq 0; then : |
2399 | - else |
2400 | - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" |
2401 | - exit $stat |
2402 | - fi |
2403 | - |
2404 | - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" |
2405 | - do |
2406 | - test -f "$tmpdepfile" && break |
2407 | - done |
2408 | - if test -f "$tmpdepfile"; then |
2409 | - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" |
2410 | - sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" |
2411 | - else |
2412 | - echo "#dummy" > "$depfile" |
2413 | - fi |
2414 | - rm -f "$tmpdepfile" |
2415 | - ;; |
2416 | + # The Tru64 compiler uses -MD to generate dependencies as a side |
2417 | + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. |
2418 | + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put |
2419 | + # dependencies in 'foo.d' instead, so we check for that too. |
2420 | + # Subdirectories are respected. |
2421 | + set_dir_from "$object" |
2422 | + set_base_from "$object" |
2423 | + |
2424 | + if test "$libtool" = yes; then |
2425 | + # Libtool generates 2 separate objects for the 2 libraries. These |
2426 | + # two compilations output dependencies in $dir.libs/$base.o.d and |
2427 | + # in $dir$base.o.d. We have to check for both files, because |
2428 | + # one of the two compilations can be disabled. We should prefer |
2429 | + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is |
2430 | + # automatically cleaned when .libs/ is deleted, while ignoring |
2431 | + # the former would cause a distcleancheck panic. |
2432 | + tmpdepfile1=$dir$base.o.d # libtool 1.5 |
2433 | + tmpdepfile2=$dir.libs/$base.o.d # Likewise. |
2434 | + tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 |
2435 | + "$@" -Wc,-MD |
2436 | + else |
2437 | + tmpdepfile1=$dir$base.d |
2438 | + tmpdepfile2=$dir$base.d |
2439 | + tmpdepfile3=$dir$base.d |
2440 | + "$@" -MD |
2441 | + fi |
2442 | + |
2443 | + stat=$? |
2444 | + if test $stat -ne 0; then |
2445 | + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" |
2446 | + exit $stat |
2447 | + fi |
2448 | + |
2449 | + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" |
2450 | + do |
2451 | + test -f "$tmpdepfile" && break |
2452 | + done |
2453 | + # Same post-processing that is required for AIX mode. |
2454 | + aix_post_process_depfile |
2455 | + ;; |
2456 | |
2457 | msvc7) |
2458 | if test "$libtool" = yes; then |
2459 | @@ -445,8 +526,7 @@ |
2460 | "$@" $showIncludes > "$tmpdepfile" |
2461 | stat=$? |
2462 | grep -v '^Note: including file: ' "$tmpdepfile" |
2463 | - if test "$stat" = 0; then : |
2464 | - else |
2465 | + if test $stat -ne 0; then |
2466 | rm -f "$tmpdepfile" |
2467 | exit $stat |
2468 | fi |
2469 | @@ -472,6 +552,7 @@ |
2470 | G |
2471 | p |
2472 | }' >> "$depfile" |
2473 | + echo >> "$depfile" # make sure the fragment doesn't end with a backslash |
2474 | rm -f "$tmpdepfile" |
2475 | ;; |
2476 | |
2477 | @@ -523,13 +604,14 @@ |
2478 | # in the target name. This is to cope with DOS-style filenames: |
2479 | # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. |
2480 | "$@" $dashmflag | |
2481 | - sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile" |
2482 | + sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" |
2483 | rm -f "$depfile" |
2484 | cat < "$tmpdepfile" > "$depfile" |
2485 | - tr ' ' "$nl" < "$tmpdepfile" | \ |
2486 | -## Some versions of the HPUX 10.20 sed can't process this invocation |
2487 | -## correctly. Breaking it into two sed invocations is a workaround. |
2488 | - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" |
2489 | + # Some versions of the HPUX 10.20 sed can't process this sed invocation |
2490 | + # correctly. Breaking it into two sed invocations is a workaround. |
2491 | + tr ' ' "$nl" < "$tmpdepfile" \ |
2492 | + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ |
2493 | + | sed -e 's/$/ :/' >> "$depfile" |
2494 | rm -f "$tmpdepfile" |
2495 | ;; |
2496 | |
2497 | @@ -582,10 +664,12 @@ |
2498 | # makedepend may prepend the VPATH from the source file name to the object. |
2499 | # No need to regex-escape $object, excess matching of '.' is harmless. |
2500 | sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" |
2501 | - sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \ |
2502 | -## Some versions of the HPUX 10.20 sed can't process this invocation |
2503 | -## correctly. Breaking it into two sed invocations is a workaround. |
2504 | - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" |
2505 | + # Some versions of the HPUX 10.20 sed can't process the last invocation |
2506 | + # correctly. Breaking it into two sed invocations is a workaround. |
2507 | + sed '1,2d' "$tmpdepfile" \ |
2508 | + | tr ' ' "$nl" \ |
2509 | + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ |
2510 | + | sed -e 's/$/ :/' >> "$depfile" |
2511 | rm -f "$tmpdepfile" "$tmpdepfile".bak |
2512 | ;; |
2513 | |
2514 | @@ -621,10 +705,10 @@ |
2515 | esac |
2516 | done |
2517 | |
2518 | - "$@" -E | |
2519 | - sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ |
2520 | - -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | |
2521 | - sed '$ s: \\$::' > "$tmpdepfile" |
2522 | + "$@" -E \ |
2523 | + | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ |
2524 | + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ |
2525 | + | sed '$ s: \\$::' > "$tmpdepfile" |
2526 | rm -f "$depfile" |
2527 | echo "$object : \\" > "$depfile" |
2528 | cat < "$tmpdepfile" >> "$depfile" |
2529 | @@ -656,15 +740,15 @@ |
2530 | shift |
2531 | ;; |
2532 | "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") |
2533 | - set fnord "$@" |
2534 | - shift |
2535 | - shift |
2536 | - ;; |
2537 | + set fnord "$@" |
2538 | + shift |
2539 | + shift |
2540 | + ;; |
2541 | *) |
2542 | - set fnord "$@" "$arg" |
2543 | - shift |
2544 | - shift |
2545 | - ;; |
2546 | + set fnord "$@" "$arg" |
2547 | + shift |
2548 | + shift |
2549 | + ;; |
2550 | esac |
2551 | done |
2552 | "$@" -E 2>/dev/null | |
2553 | |
2554 | === modified file 'bin/get-pick-list.sh' |
2555 | --- bin/get-pick-list.sh 2013-10-22 12:17:27 +0000 |
2556 | +++ bin/get-pick-list.sh 2024-05-07 03:08:38 +0000 |
2557 | @@ -14,7 +14,7 @@ |
2558 | sed -e 's/^[[:space:]]*(cherry picked from commit[[:space:]]*//' -e 's/)//' > already_picked |
2559 | |
2560 | # Grep for commits that were marked as a candidate for the stable tree. |
2561 | -git log --reverse --pretty=%H -i --grep='^\([[:space:]]*NOTE: .*[Cc]andidate\|CC:.*mesa-stable\)' HEAD..origin/master |\ |
2562 | +git log --reverse --pretty=%H -i --grep='^\([[:space:]]*NOTE: .*[Cc]andidate\|CC:.*10\.1.*mesa-stable\)' HEAD..origin/master |\ |
2563 | while read sha |
2564 | do |
2565 | # Check to see whether the patch is on the ignore list. |
2566 | |
2567 | === modified file 'bin/ltmain.sh' |
2568 | --- bin/ltmain.sh 2014-02-25 14:29:26 +0000 |
2569 | +++ bin/ltmain.sh 2024-05-07 03:08:38 +0000 |
2570 | @@ -70,7 +70,7 @@ |
2571 | # compiler: $LTCC |
2572 | # compiler flags: $LTCFLAGS |
2573 | # linker: $LD (gnu? $with_gnu_ld) |
2574 | -# $progname: (GNU libtool) 2.4.2 |
2575 | +# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1.7 |
2576 | # automake: $automake_version |
2577 | # autoconf: $autoconf_version |
2578 | # |
2579 | @@ -80,7 +80,7 @@ |
2580 | |
2581 | PROGRAM=libtool |
2582 | PACKAGE=libtool |
2583 | -VERSION=2.4.2 |
2584 | +VERSION="2.4.2 Debian-2.4.2-1.7" |
2585 | TIMESTAMP="" |
2586 | package_revision=1.3337 |
2587 | |
2588 | @@ -6124,7 +6124,10 @@ |
2589 | case $pass in |
2590 | dlopen) libs="$dlfiles" ;; |
2591 | dlpreopen) libs="$dlprefiles" ;; |
2592 | - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; |
2593 | + link) |
2594 | + libs="$deplibs %DEPLIBS%" |
2595 | + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" |
2596 | + ;; |
2597 | esac |
2598 | fi |
2599 | if test "$linkmode,$pass" = "lib,dlpreopen"; then |
2600 | @@ -6444,19 +6447,19 @@ |
2601 | # It is a libtool convenience library, so add in its objects. |
2602 | func_append convenience " $ladir/$objdir/$old_library" |
2603 | func_append old_convenience " $ladir/$objdir/$old_library" |
2604 | + tmp_libs= |
2605 | + for deplib in $dependency_libs; do |
2606 | + deplibs="$deplib $deplibs" |
2607 | + if $opt_preserve_dup_deps ; then |
2608 | + case "$tmp_libs " in |
2609 | + *" $deplib "*) func_append specialdeplibs " $deplib" ;; |
2610 | + esac |
2611 | + fi |
2612 | + func_append tmp_libs " $deplib" |
2613 | + done |
2614 | elif test "$linkmode" != prog && test "$linkmode" != lib; then |
2615 | func_fatal_error "\`$lib' is not a convenience library" |
2616 | fi |
2617 | - tmp_libs= |
2618 | - for deplib in $dependency_libs; do |
2619 | - deplibs="$deplib $deplibs" |
2620 | - if $opt_preserve_dup_deps ; then |
2621 | - case "$tmp_libs " in |
2622 | - *" $deplib "*) func_append specialdeplibs " $deplib" ;; |
2623 | - esac |
2624 | - fi |
2625 | - func_append tmp_libs " $deplib" |
2626 | - done |
2627 | continue |
2628 | fi # $pass = conv |
2629 | |
2630 | @@ -7349,6 +7352,9 @@ |
2631 | revision="$number_minor" |
2632 | lt_irix_increment=no |
2633 | ;; |
2634 | + *) |
2635 | + func_fatal_configuration "$modename: unknown library version type \`$version_type'" |
2636 | + ;; |
2637 | esac |
2638 | ;; |
2639 | no) |
2640 | |
2641 | === modified file 'bin/missing' |
2642 | --- bin/missing 2014-02-25 14:29:26 +0000 |
2643 | +++ bin/missing 2024-05-07 03:08:38 +0000 |
2644 | @@ -1,10 +1,10 @@ |
2645 | #! /bin/sh |
2646 | -# Common stub for a few missing GNU programs while installing. |
2647 | - |
2648 | -scriptversion=2012-01-06.18; # UTC |
2649 | - |
2650 | -# Copyright (C) 1996-2012 Free Software Foundation, Inc. |
2651 | -# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
2652 | +# Common wrapper for a few potentially missing GNU programs. |
2653 | + |
2654 | +scriptversion=2013-10-28.13; # UTC |
2655 | + |
2656 | +# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
2657 | +# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
2658 | |
2659 | # This program is free software; you can redistribute it and/or modify |
2660 | # it under the terms of the GNU General Public License as published by |
2661 | @@ -29,61 +29,33 @@ |
2662 | exit 1 |
2663 | fi |
2664 | |
2665 | -run=: |
2666 | -sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' |
2667 | -sed_minuso='s/.* -o \([^ ]*\).*/\1/p' |
2668 | - |
2669 | -# In the cases where this matters, 'missing' is being run in the |
2670 | -# srcdir already. |
2671 | -if test -f configure.ac; then |
2672 | - configure_ac=configure.ac |
2673 | -else |
2674 | - configure_ac=configure.in |
2675 | -fi |
2676 | - |
2677 | -msg="missing on your system" |
2678 | - |
2679 | case $1 in |
2680 | ---run) |
2681 | - # Try to run requested program, and just exit if it succeeds. |
2682 | - run= |
2683 | - shift |
2684 | - "$@" && exit 0 |
2685 | - # Exit code 63 means version mismatch. This often happens |
2686 | - # when the user try to use an ancient version of a tool on |
2687 | - # a file that requires a minimum version. In this case we |
2688 | - # we should proceed has if the program had been absent, or |
2689 | - # if --run hadn't been passed. |
2690 | - if test $? = 63; then |
2691 | - run=: |
2692 | - msg="probably too old" |
2693 | - fi |
2694 | - ;; |
2695 | + |
2696 | + --is-lightweight) |
2697 | + # Used by our autoconf macros to check whether the available missing |
2698 | + # script is modern enough. |
2699 | + exit 0 |
2700 | + ;; |
2701 | + |
2702 | + --run) |
2703 | + # Back-compat with the calling convention used by older automake. |
2704 | + shift |
2705 | + ;; |
2706 | |
2707 | -h|--h|--he|--hel|--help) |
2708 | echo "\ |
2709 | $0 [OPTION]... PROGRAM [ARGUMENT]... |
2710 | |
2711 | -Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an |
2712 | -error status if there is no known handling for PROGRAM. |
2713 | +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due |
2714 | +to PROGRAM being missing or too old. |
2715 | |
2716 | Options: |
2717 | -h, --help display this help and exit |
2718 | -v, --version output version information and exit |
2719 | - --run try to run the given command, and emulate it if it fails |
2720 | |
2721 | Supported PROGRAM values: |
2722 | - aclocal touch file 'aclocal.m4' |
2723 | - autoconf touch file 'configure' |
2724 | - autoheader touch file 'config.h.in' |
2725 | - autom4te touch the output file, or create a stub one |
2726 | - automake touch all 'Makefile.in' files |
2727 | - bison create 'y.tab.[ch]', if possible, from existing .[ch] |
2728 | - flex create 'lex.yy.c', if possible, from existing .c |
2729 | - help2man touch the output file |
2730 | - lex create 'lex.yy.c', if possible, from existing .c |
2731 | - makeinfo touch the output file |
2732 | - yacc create 'y.tab.[ch]', if possible, from existing .[ch] |
2733 | + aclocal autoconf autoheader autom4te automake makeinfo |
2734 | + bison yacc flex lex help2man |
2735 | |
2736 | Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and |
2737 | 'g' are ignored when checking the name. |
2738 | @@ -98,228 +70,141 @@ |
2739 | ;; |
2740 | |
2741 | -*) |
2742 | - echo 1>&2 "$0: Unknown '$1' option" |
2743 | + echo 1>&2 "$0: unknown '$1' option" |
2744 | echo 1>&2 "Try '$0 --help' for more information" |
2745 | exit 1 |
2746 | ;; |
2747 | |
2748 | esac |
2749 | |
2750 | -# normalize program name to check for. |
2751 | -program=`echo "$1" | sed ' |
2752 | - s/^gnu-//; t |
2753 | - s/^gnu//; t |
2754 | - s/^g//; t'` |
2755 | - |
2756 | -# Now exit if we have it, but it failed. Also exit now if we |
2757 | -# don't have it and --version was passed (most likely to detect |
2758 | -# the program). This is about non-GNU programs, so use $1 not |
2759 | -# $program. |
2760 | -case $1 in |
2761 | - lex*|yacc*) |
2762 | - # Not GNU programs, they don't have --version. |
2763 | - ;; |
2764 | - |
2765 | - *) |
2766 | - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then |
2767 | - # We have it, but it failed. |
2768 | - exit 1 |
2769 | - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then |
2770 | - # Could not run --version or --help. This is probably someone |
2771 | - # running '$TOOL --version' or '$TOOL --help' to check whether |
2772 | - # $TOOL exists and not knowing $TOOL uses missing. |
2773 | - exit 1 |
2774 | - fi |
2775 | - ;; |
2776 | -esac |
2777 | - |
2778 | -# If it does not exist, or fails to run (possibly an outdated version), |
2779 | -# try to emulate it. |
2780 | -case $program in |
2781 | - aclocal*) |
2782 | - echo 1>&2 "\ |
2783 | -WARNING: '$1' is $msg. You should only need it if |
2784 | - you modified 'acinclude.m4' or '${configure_ac}'. You might want |
2785 | - to install the Automake and Perl packages. Grab them from |
2786 | - any GNU archive site." |
2787 | - touch aclocal.m4 |
2788 | - ;; |
2789 | - |
2790 | - autoconf*) |
2791 | - echo 1>&2 "\ |
2792 | -WARNING: '$1' is $msg. You should only need it if |
2793 | - you modified '${configure_ac}'. You might want to install the |
2794 | - Autoconf and GNU m4 packages. Grab them from any GNU |
2795 | - archive site." |
2796 | - touch configure |
2797 | - ;; |
2798 | - |
2799 | - autoheader*) |
2800 | - echo 1>&2 "\ |
2801 | -WARNING: '$1' is $msg. You should only need it if |
2802 | - you modified 'acconfig.h' or '${configure_ac}'. You might want |
2803 | - to install the Autoconf and GNU m4 packages. Grab them |
2804 | - from any GNU archive site." |
2805 | - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` |
2806 | - test -z "$files" && files="config.h" |
2807 | - touch_files= |
2808 | - for f in $files; do |
2809 | - case $f in |
2810 | - *:*) touch_files="$touch_files "`echo "$f" | |
2811 | - sed -e 's/^[^:]*://' -e 's/:.*//'`;; |
2812 | - *) touch_files="$touch_files $f.in";; |
2813 | - esac |
2814 | - done |
2815 | - touch $touch_files |
2816 | - ;; |
2817 | - |
2818 | - automake*) |
2819 | - echo 1>&2 "\ |
2820 | -WARNING: '$1' is $msg. You should only need it if |
2821 | - you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'. |
2822 | - You might want to install the Automake and Perl packages. |
2823 | - Grab them from any GNU archive site." |
2824 | - find . -type f -name Makefile.am -print | |
2825 | - sed 's/\.am$/.in/' | |
2826 | - while read f; do touch "$f"; done |
2827 | - ;; |
2828 | - |
2829 | - autom4te*) |
2830 | - echo 1>&2 "\ |
2831 | -WARNING: '$1' is needed, but is $msg. |
2832 | - You might have modified some files without having the |
2833 | - proper tools for further handling them. |
2834 | - You can get '$1' as part of Autoconf from any GNU |
2835 | - archive site." |
2836 | - |
2837 | - file=`echo "$*" | sed -n "$sed_output"` |
2838 | - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` |
2839 | - if test -f "$file"; then |
2840 | - touch $file |
2841 | - else |
2842 | - test -z "$file" || exec >$file |
2843 | - echo "#! /bin/sh" |
2844 | - echo "# Created by GNU Automake missing as a replacement of" |
2845 | - echo "# $ $@" |
2846 | - echo "exit 0" |
2847 | - chmod +x $file |
2848 | - exit 1 |
2849 | - fi |
2850 | - ;; |
2851 | - |
2852 | - bison*|yacc*) |
2853 | - echo 1>&2 "\ |
2854 | -WARNING: '$1' $msg. You should only need it if |
2855 | - you modified a '.y' file. You may need the Bison package |
2856 | - in order for those modifications to take effect. You can get |
2857 | - Bison from any GNU archive site." |
2858 | - rm -f y.tab.c y.tab.h |
2859 | - if test $# -ne 1; then |
2860 | - eval LASTARG=\${$#} |
2861 | - case $LASTARG in |
2862 | - *.y) |
2863 | - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` |
2864 | - if test -f "$SRCFILE"; then |
2865 | - cp "$SRCFILE" y.tab.c |
2866 | - fi |
2867 | - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` |
2868 | - if test -f "$SRCFILE"; then |
2869 | - cp "$SRCFILE" y.tab.h |
2870 | - fi |
2871 | - ;; |
2872 | - esac |
2873 | - fi |
2874 | - if test ! -f y.tab.h; then |
2875 | - echo >y.tab.h |
2876 | - fi |
2877 | - if test ! -f y.tab.c; then |
2878 | - echo 'main() { return 0; }' >y.tab.c |
2879 | - fi |
2880 | - ;; |
2881 | - |
2882 | - lex*|flex*) |
2883 | - echo 1>&2 "\ |
2884 | -WARNING: '$1' is $msg. You should only need it if |
2885 | - you modified a '.l' file. You may need the Flex package |
2886 | - in order for those modifications to take effect. You can get |
2887 | - Flex from any GNU archive site." |
2888 | - rm -f lex.yy.c |
2889 | - if test $# -ne 1; then |
2890 | - eval LASTARG=\${$#} |
2891 | - case $LASTARG in |
2892 | - *.l) |
2893 | - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` |
2894 | - if test -f "$SRCFILE"; then |
2895 | - cp "$SRCFILE" lex.yy.c |
2896 | - fi |
2897 | - ;; |
2898 | - esac |
2899 | - fi |
2900 | - if test ! -f lex.yy.c; then |
2901 | - echo 'main() { return 0; }' >lex.yy.c |
2902 | - fi |
2903 | - ;; |
2904 | - |
2905 | - help2man*) |
2906 | - echo 1>&2 "\ |
2907 | -WARNING: '$1' is $msg. You should only need it if |
2908 | - you modified a dependency of a manual page. You may need the |
2909 | - Help2man package in order for those modifications to take |
2910 | - effect. You can get Help2man from any GNU archive site." |
2911 | - |
2912 | - file=`echo "$*" | sed -n "$sed_output"` |
2913 | - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` |
2914 | - if test -f "$file"; then |
2915 | - touch $file |
2916 | - else |
2917 | - test -z "$file" || exec >$file |
2918 | - echo ".ab help2man is required to generate this page" |
2919 | - exit $? |
2920 | - fi |
2921 | - ;; |
2922 | - |
2923 | - makeinfo*) |
2924 | - echo 1>&2 "\ |
2925 | -WARNING: '$1' is $msg. You should only need it if |
2926 | - you modified a '.texi' or '.texinfo' file, or any other file |
2927 | - indirectly affecting the aspect of the manual. The spurious |
2928 | - call might also be the consequence of using a buggy 'make' (AIX, |
2929 | - DU, IRIX). You might want to install the Texinfo package or |
2930 | - the GNU make package. Grab either from any GNU archive site." |
2931 | - # The file to touch is that specified with -o ... |
2932 | - file=`echo "$*" | sed -n "$sed_output"` |
2933 | - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` |
2934 | - if test -z "$file"; then |
2935 | - # ... or it is the one specified with @setfilename ... |
2936 | - infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` |
2937 | - file=`sed -n ' |
2938 | - /^@setfilename/{ |
2939 | - s/.* \([^ ]*\) *$/\1/ |
2940 | - p |
2941 | - q |
2942 | - }' $infile` |
2943 | - # ... or it is derived from the source name (dir/f.texi becomes f.info) |
2944 | - test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info |
2945 | - fi |
2946 | - # If the file does not exist, the user really needs makeinfo; |
2947 | - # let's fail without touching anything. |
2948 | - test -f $file || exit 1 |
2949 | - touch $file |
2950 | - ;; |
2951 | - |
2952 | - *) |
2953 | - echo 1>&2 "\ |
2954 | -WARNING: '$1' is needed, and is $msg. |
2955 | - You might have modified some files without having the |
2956 | - proper tools for further handling them. Check the 'README' file, |
2957 | - it often tells you about the needed prerequisites for installing |
2958 | - this package. You may also peek at any GNU archive site, in case |
2959 | - some other package would contain this missing '$1' program." |
2960 | - exit 1 |
2961 | - ;; |
2962 | -esac |
2963 | - |
2964 | -exit 0 |
2965 | +# Run the given program, remember its exit status. |
2966 | +"$@"; st=$? |
2967 | + |
2968 | +# If it succeeded, we are done. |
2969 | +test $st -eq 0 && exit 0 |
2970 | + |
2971 | +# Also exit now if we it failed (or wasn't found), and '--version' was |
2972 | +# passed; such an option is passed most likely to detect whether the |
2973 | +# program is present and works. |
2974 | +case $2 in --version|--help) exit $st;; esac |
2975 | + |
2976 | +# Exit code 63 means version mismatch. This often happens when the user |
2977 | +# tries to use an ancient version of a tool on a file that requires a |
2978 | +# minimum version. |
2979 | +if test $st -eq 63; then |
2980 | + msg="probably too old" |
2981 | +elif test $st -eq 127; then |
2982 | + # Program was missing. |
2983 | + msg="missing on your system" |
2984 | +else |
2985 | + # Program was found and executed, but failed. Give up. |
2986 | + exit $st |
2987 | +fi |
2988 | + |
2989 | +perl_URL=http://www.perl.org/ |
2990 | +flex_URL=http://flex.sourceforge.net/ |
2991 | +gnu_software_URL=http://www.gnu.org/software |
2992 | + |
2993 | +program_details () |
2994 | +{ |
2995 | + case $1 in |
2996 | + aclocal|automake) |
2997 | + echo "The '$1' program is part of the GNU Automake package:" |
2998 | + echo "<$gnu_software_URL/automake>" |
2999 | + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" |
3000 | + echo "<$gnu_software_URL/autoconf>" |
3001 | + echo "<$gnu_software_URL/m4/>" |
3002 | + echo "<$perl_URL>" |
3003 | + ;; |
3004 | + autoconf|autom4te|autoheader) |
3005 | + echo "The '$1' program is part of the GNU Autoconf package:" |
3006 | + echo "<$gnu_software_URL/autoconf/>" |
3007 | + echo "It also requires GNU m4 and Perl in order to run:" |
3008 | + echo "<$gnu_software_URL/m4/>" |
3009 | + echo "<$perl_URL>" |
3010 | + ;; |
3011 | + esac |
3012 | +} |
3013 | + |
3014 | +give_advice () |
3015 | +{ |
3016 | + # Normalize program name to check for. |
3017 | + normalized_program=`echo "$1" | sed ' |
3018 | + s/^gnu-//; t |
3019 | + s/^gnu//; t |
3020 | + s/^g//; t'` |
3021 | + |
3022 | + printf '%s\n' "'$1' is $msg." |
3023 | + |
3024 | + configure_deps="'configure.ac' or m4 files included by 'configure.ac'" |
3025 | + case $normalized_program in |
3026 | + autoconf*) |
3027 | + echo "You should only need it if you modified 'configure.ac'," |
3028 | + echo "or m4 files included by it." |
3029 | + program_details 'autoconf' |
3030 | + ;; |
3031 | + autoheader*) |
3032 | + echo "You should only need it if you modified 'acconfig.h' or" |
3033 | + echo "$configure_deps." |
3034 | + program_details 'autoheader' |
3035 | + ;; |
3036 | + automake*) |
3037 | + echo "You should only need it if you modified 'Makefile.am' or" |
3038 | + echo "$configure_deps." |
3039 | + program_details 'automake' |
3040 | + ;; |
3041 | + aclocal*) |
3042 | + echo "You should only need it if you modified 'acinclude.m4' or" |
3043 | + echo "$configure_deps." |
3044 | + program_details 'aclocal' |
3045 | + ;; |
3046 | + autom4te*) |
3047 | + echo "You might have modified some maintainer files that require" |
3048 | + echo "the 'autom4te' program to be rebuilt." |
3049 | + program_details 'autom4te' |
3050 | + ;; |
3051 | + bison*|yacc*) |
3052 | + echo "You should only need it if you modified a '.y' file." |
3053 | + echo "You may want to install the GNU Bison package:" |
3054 | + echo "<$gnu_software_URL/bison/>" |
3055 | + ;; |
3056 | + lex*|flex*) |
3057 | + echo "You should only need it if you modified a '.l' file." |
3058 | + echo "You may want to install the Fast Lexical Analyzer package:" |
3059 | + echo "<$flex_URL>" |
3060 | + ;; |
3061 | + help2man*) |
3062 | + echo "You should only need it if you modified a dependency" \ |
3063 | + "of a man page." |
3064 | + echo "You may want to install the GNU Help2man package:" |
3065 | + echo "<$gnu_software_URL/help2man/>" |
3066 | + ;; |
3067 | + makeinfo*) |
3068 | + echo "You should only need it if you modified a '.texi' file, or" |
3069 | + echo "any other file indirectly affecting the aspect of the manual." |
3070 | + echo "You might want to install the Texinfo package:" |
3071 | + echo "<$gnu_software_URL/texinfo/>" |
3072 | + echo "The spurious makeinfo call might also be the consequence of" |
3073 | + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" |
3074 | + echo "want to install GNU make:" |
3075 | + echo "<$gnu_software_URL/make/>" |
3076 | + ;; |
3077 | + *) |
3078 | + echo "You might have modified some files without having the proper" |
3079 | + echo "tools for further handling them. Check the 'README' file, it" |
3080 | + echo "often tells you about the needed prerequisites for installing" |
3081 | + echo "this package. You may also peek at any GNU archive site, in" |
3082 | + echo "case some other package contains this missing '$1' program." |
3083 | + ;; |
3084 | + esac |
3085 | +} |
3086 | + |
3087 | +give_advice "$1" | sed -e '1s/^/WARNING: /' \ |
3088 | + -e '2,$s/^/ /' >&2 |
3089 | + |
3090 | +# Propagate the correct exit status (expected to be 127 for a program |
3091 | +# not found, 63 for a program that failed due to version mismatch). |
3092 | +exit $st |
3093 | |
3094 | # Local variables: |
3095 | # eval: (add-hook 'write-file-hooks 'time-stamp) |
3096 | |
3097 | === added file 'bin/test-driver' |
3098 | --- bin/test-driver 1970-01-01 00:00:00 +0000 |
3099 | +++ bin/test-driver 2024-05-07 03:08:38 +0000 |
3100 | @@ -0,0 +1,139 @@ |
3101 | +#! /bin/sh |
3102 | +# test-driver - basic testsuite driver script. |
3103 | + |
3104 | +scriptversion=2013-07-13.22; # UTC |
3105 | + |
3106 | +# Copyright (C) 2011-2013 Free Software Foundation, Inc. |
3107 | +# |
3108 | +# This program is free software; you can redistribute it and/or modify |
3109 | +# it under the terms of the GNU General Public License as published by |
3110 | +# the Free Software Foundation; either version 2, or (at your option) |
3111 | +# any later version. |
3112 | +# |
3113 | +# This program is distributed in the hope that it will be useful, |
3114 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
3115 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3116 | +# GNU General Public License for more details. |
3117 | +# |
3118 | +# You should have received a copy of the GNU General Public License |
3119 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
3120 | + |
3121 | +# As a special exception to the GNU General Public License, if you |
3122 | +# distribute this file as part of a program that contains a |
3123 | +# configuration script generated by Autoconf, you may include it under |
3124 | +# the same distribution terms that you use for the rest of that program. |
3125 | + |
3126 | +# This file is maintained in Automake, please report |
3127 | +# bugs to <bug-automake@gnu.org> or send patches to |
3128 | +# <automake-patches@gnu.org>. |
3129 | + |
3130 | +# Make unconditional expansion of undefined variables an error. This |
3131 | +# helps a lot in preventing typo-related bugs. |
3132 | +set -u |
3133 | + |
3134 | +usage_error () |
3135 | +{ |
3136 | + echo "$0: $*" >&2 |
3137 | + print_usage >&2 |
3138 | + exit 2 |
3139 | +} |
3140 | + |
3141 | +print_usage () |
3142 | +{ |
3143 | + cat <<END |
3144 | +Usage: |
3145 | + test-driver --test-name=NAME --log-file=PATH --trs-file=PATH |
3146 | + [--expect-failure={yes|no}] [--color-tests={yes|no}] |
3147 | + [--enable-hard-errors={yes|no}] [--] |
3148 | + TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS] |
3149 | +The '--test-name', '--log-file' and '--trs-file' options are mandatory. |
3150 | +END |
3151 | +} |
3152 | + |
3153 | +test_name= # Used for reporting. |
3154 | +log_file= # Where to save the output of the test script. |
3155 | +trs_file= # Where to save the metadata of the test run. |
3156 | +expect_failure=no |
3157 | +color_tests=no |
3158 | +enable_hard_errors=yes |
3159 | +while test $# -gt 0; do |
3160 | + case $1 in |
3161 | + --help) print_usage; exit $?;; |
3162 | + --version) echo "test-driver $scriptversion"; exit $?;; |
3163 | + --test-name) test_name=$2; shift;; |
3164 | + --log-file) log_file=$2; shift;; |
3165 | + --trs-file) trs_file=$2; shift;; |
3166 | + --color-tests) color_tests=$2; shift;; |
3167 | + --expect-failure) expect_failure=$2; shift;; |
3168 | + --enable-hard-errors) enable_hard_errors=$2; shift;; |
3169 | + --) shift; break;; |
3170 | + -*) usage_error "invalid option: '$1'";; |
3171 | + *) break;; |
3172 | + esac |
3173 | + shift |
3174 | +done |
3175 | + |
3176 | +missing_opts= |
3177 | +test x"$test_name" = x && missing_opts="$missing_opts --test-name" |
3178 | +test x"$log_file" = x && missing_opts="$missing_opts --log-file" |
3179 | +test x"$trs_file" = x && missing_opts="$missing_opts --trs-file" |
3180 | +if test x"$missing_opts" != x; then |
3181 | + usage_error "the following mandatory options are missing:$missing_opts" |
3182 | +fi |
3183 | + |
3184 | +if test $# -eq 0; then |
3185 | + usage_error "missing argument" |
3186 | +fi |
3187 | + |
3188 | +if test $color_tests = yes; then |
3189 | + # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'. |
3190 | + red='[0;31m' # Red. |
3191 | + grn='[0;32m' # Green. |
3192 | + lgn='[1;32m' # Light green. |
3193 | + blu='[1;34m' # Blue. |
3194 | + mgn='[0;35m' # Magenta. |
3195 | + std='[m' # No color. |
3196 | +else |
3197 | + red= grn= lgn= blu= mgn= std= |
3198 | +fi |
3199 | + |
3200 | +do_exit='rm -f $log_file $trs_file; (exit $st); exit $st' |
3201 | +trap "st=129; $do_exit" 1 |
3202 | +trap "st=130; $do_exit" 2 |
3203 | +trap "st=141; $do_exit" 13 |
3204 | +trap "st=143; $do_exit" 15 |
3205 | + |
3206 | +# Test script is run here. |
3207 | +"$@" >$log_file 2>&1 |
3208 | +estatus=$? |
3209 | +if test $enable_hard_errors = no && test $estatus -eq 99; then |
3210 | + estatus=1 |
3211 | +fi |
3212 | + |
3213 | +case $estatus:$expect_failure in |
3214 | + 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; |
3215 | + 0:*) col=$grn res=PASS recheck=no gcopy=no;; |
3216 | + 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; |
3217 | + 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; |
3218 | + *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; |
3219 | + *:*) col=$red res=FAIL recheck=yes gcopy=yes;; |
3220 | +esac |
3221 | + |
3222 | +# Report outcome to console. |
3223 | +echo "${col}${res}${std}: $test_name" |
3224 | + |
3225 | +# Register the test result, and other relevant metadata. |
3226 | +echo ":test-result: $res" > $trs_file |
3227 | +echo ":global-test-result: $res" >> $trs_file |
3228 | +echo ":recheck: $recheck" >> $trs_file |
3229 | +echo ":copy-in-global-log: $gcopy" >> $trs_file |
3230 | + |
3231 | +# Local Variables: |
3232 | +# mode: shell-script |
3233 | +# sh-indentation: 2 |
3234 | +# eval: (add-hook 'write-file-hooks 'time-stamp) |
3235 | +# time-stamp-start: "scriptversion=" |
3236 | +# time-stamp-format: "%:y-%02m-%02d.%02H" |
3237 | +# time-stamp-time-zone: "UTC" |
3238 | +# time-stamp-end: "; # UTC" |
3239 | +# End: |
3240 | |
3241 | === modified file 'configure' |
3242 | --- configure 2014-03-31 09:56:17 +0000 |
3243 | +++ configure 2024-05-07 03:08:38 +0000 |
3244 | @@ -1,6 +1,6 @@ |
3245 | #! /bin/sh |
3246 | # Guess values for system-dependent variables and create Makefiles. |
3247 | -# Generated by GNU Autoconf 2.69 for Mesa 10.1.0. |
3248 | +# Generated by GNU Autoconf 2.69 for Mesa 10.1.3. |
3249 | # |
3250 | # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa>. |
3251 | # |
3252 | @@ -591,8 +591,8 @@ |
3253 | # Identity of this package. |
3254 | PACKAGE_NAME='Mesa' |
3255 | PACKAGE_TARNAME='mesa' |
3256 | -PACKAGE_VERSION='10.1.0' |
3257 | -PACKAGE_STRING='Mesa 10.1.0' |
3258 | +PACKAGE_VERSION='10.1.3' |
3259 | +PACKAGE_STRING='Mesa 10.1.3' |
3260 | PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa' |
3261 | PACKAGE_URL='' |
3262 | |
3263 | @@ -1099,7 +1099,7 @@ |
3264 | with_max_width |
3265 | with_max_height |
3266 | enable_gallium_llvm |
3267 | -with_llvm_shared_libs |
3268 | +enable_llvm_shared_libs |
3269 | with_llvm_prefix |
3270 | with_xvmc_libdir |
3271 | with_vdpau_libdir |
3272 | @@ -1703,7 +1703,7 @@ |
3273 | # Omit some internal or obsolete options to make the list less imposing. |
3274 | # This message is too long to be a string in the A/UX 3.1 sh. |
3275 | cat <<_ACEOF |
3276 | -\`configure' configures Mesa 10.1.0 to adapt to many kinds of systems. |
3277 | +\`configure' configures Mesa 10.1.3 to adapt to many kinds of systems. |
3278 | |
3279 | Usage: $0 [OPTION]... [VAR=VALUE]... |
3280 | |
3281 | @@ -1774,7 +1774,7 @@ |
3282 | |
3283 | if test -n "$ac_init_help"; then |
3284 | case $ac_init_help in |
3285 | - short | recursive ) echo "Configuration of Mesa 10.1.0:";; |
3286 | + short | recursive ) echo "Configuration of Mesa 10.1.3:";; |
3287 | esac |
3288 | cat <<\_ACEOF |
3289 | |
3290 | @@ -1809,7 +1809,7 @@ |
3291 | --enable-gles2 enable support for OpenGL ES 2.x API [default=no] |
3292 | --enable-openvg enable support for OpenVG API [default=no] |
3293 | --enable-dri enable DRI modules [default=enabled] |
3294 | - --enable-dri3 enable DRI3 [default=enabled] |
3295 | + --enable-dri3 enable DRI3 [default=auto] |
3296 | --enable-glx enable GLX library [default=enabled] |
3297 | --enable-osmesa enable OSMesa library [default=disabled] |
3298 | --enable-gallium-osmesa enable Gallium implementation of the OSMesa library |
3299 | @@ -1842,6 +1842,8 @@ |
3300 | --enable-glx-tls enable TLS support in GLX [default=disabled] |
3301 | --enable-gallium-llvm build gallium LLVM support [default=enabled on |
3302 | x86/x86_64] |
3303 | + --enable-llvm-shared-libs |
3304 | + link with LLVM shared libraries [default=enabled] |
3305 | |
3306 | Optional Packages: |
3307 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
3308 | @@ -1880,7 +1882,6 @@ |
3309 | directory for EGL drivers [[default=${libdir}/egl]] |
3310 | --with-max-width=N Maximum framebuffer width (4096) |
3311 | --with-max-height=N Maximum framebuffer height (4096) |
3312 | - --with-llvm-shared-libs link with LLVM shared libraries [default=disabled] |
3313 | --with-llvm-prefix Prefix for LLVM installations in non-standard |
3314 | locations |
3315 | --with-xvmc-libdir=DIR directory for the XVMC libraries [default=${libdir}] |
3316 | @@ -2052,7 +2053,7 @@ |
3317 | test -n "$ac_init_help" && exit $ac_status |
3318 | if $ac_init_version; then |
3319 | cat <<\_ACEOF |
3320 | -Mesa configure 10.1.0 |
3321 | +Mesa configure 10.1.3 |
3322 | generated by GNU Autoconf 2.69 |
3323 | |
3324 | Copyright (C) 2012 Free Software Foundation, Inc. |
3325 | @@ -2725,7 +2726,7 @@ |
3326 | This file contains any messages produced by compilers while |
3327 | running configure, to aid debugging if configure makes a mistake. |
3328 | |
3329 | -It was created by Mesa $as_me 10.1.0, which was |
3330 | +It was created by Mesa $as_me 10.1.3, which was |
3331 | generated by GNU Autoconf 2.69. Invocation command line was |
3332 | |
3333 | $ $0 $@ |
3334 | @@ -3214,7 +3215,7 @@ |
3335 | NONENONEs,x,x, && |
3336 | program_prefix=${target_alias}- |
3337 | |
3338 | -am__api_version='1.12' |
3339 | +am__api_version='1.14' |
3340 | |
3341 | # Find a good install program. We prefer a C program (faster), |
3342 | # so one script is as good as another. But avoid the broken or |
3343 | @@ -3398,8 +3399,8 @@ |
3344 | esac |
3345 | fi |
3346 | # Use eval to expand $SHELL |
3347 | -if eval "$MISSING --run true"; then |
3348 | - am_missing_run="$MISSING --run " |
3349 | +if eval "$MISSING --is-lightweight"; then |
3350 | + am_missing_run="$MISSING " |
3351 | else |
3352 | am_missing_run= |
3353 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
3354 | @@ -3639,6 +3640,45 @@ |
3355 | fi |
3356 | rmdir .tst 2>/dev/null |
3357 | |
3358 | +# Check whether --enable-silent-rules was given. |
3359 | +if test "${enable_silent_rules+set}" = set; then : |
3360 | + enableval=$enable_silent_rules; |
3361 | +fi |
3362 | + |
3363 | +case $enable_silent_rules in # ((( |
3364 | + yes) AM_DEFAULT_VERBOSITY=0;; |
3365 | + no) AM_DEFAULT_VERBOSITY=1;; |
3366 | + *) AM_DEFAULT_VERBOSITY=1;; |
3367 | +esac |
3368 | +am_make=${MAKE-make} |
3369 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
3370 | +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
3371 | +if ${am_cv_make_support_nested_variables+:} false; then : |
3372 | + $as_echo_n "(cached) " >&6 |
3373 | +else |
3374 | + if $as_echo 'TRUE=$(BAR$(V)) |
3375 | +BAR0=false |
3376 | +BAR1=true |
3377 | +V=1 |
3378 | +am__doit: |
3379 | + @$(TRUE) |
3380 | +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
3381 | + am_cv_make_support_nested_variables=yes |
3382 | +else |
3383 | + am_cv_make_support_nested_variables=no |
3384 | +fi |
3385 | +fi |
3386 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
3387 | +$as_echo "$am_cv_make_support_nested_variables" >&6; } |
3388 | +if test $am_cv_make_support_nested_variables = yes; then |
3389 | + AM_V='$(V)' |
3390 | + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
3391 | +else |
3392 | + AM_V=$AM_DEFAULT_VERBOSITY |
3393 | + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
3394 | +fi |
3395 | +AM_BACKSLASH='\' |
3396 | + |
3397 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3398 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
3399 | # is not polluted with repeated "-I." |
3400 | @@ -3661,7 +3701,7 @@ |
3401 | |
3402 | # Define the identity of the package. |
3403 | PACKAGE='mesa' |
3404 | - VERSION='10.1.0' |
3405 | + VERSION='10.1.3' |
3406 | |
3407 | |
3408 | cat >>confdefs.h <<_ACEOF |
3409 | @@ -3701,6 +3741,10 @@ |
3410 | # in the wild :-( We should find a proper way to deprecate it ... |
3411 | AMTAR='$${TAR-tar}' |
3412 | |
3413 | + |
3414 | +# We'll loop over all known methods to create a tar archive until one works. |
3415 | +_am_tools='gnutar pax cpio none' |
3416 | + |
3417 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3418 | |
3419 | |
3420 | @@ -3708,6 +3752,49 @@ |
3421 | |
3422 | |
3423 | |
3424 | +# POSIX will say in a future version that running "rm -f" with no argument |
3425 | +# is OK; and we want to be able to make that assumption in our Makefile |
3426 | +# recipes. So use an aggressive probe to check that the usage we want is |
3427 | +# actually supported "in the wild" to an acceptable degree. |
3428 | +# See automake bug#10828. |
3429 | +# To make any issue more visible, cause the running configure to be aborted |
3430 | +# by default if the 'rm' program in use doesn't match our expectations; the |
3431 | +# user can still override this though. |
3432 | +if rm -f && rm -fr && rm -rf; then : OK; else |
3433 | + cat >&2 <<'END' |
3434 | +Oops! |
3435 | + |
3436 | +Your 'rm' program seems unable to run without file operands specified |
3437 | +on the command line, even when the '-f' option is present. This is contrary |
3438 | +to the behaviour of most rm programs out there, and not conforming with |
3439 | +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
3440 | + |
3441 | +Please tell bug-automake@gnu.org about your system, including the value |
3442 | +of your $PATH and any error possibly output before this message. This |
3443 | +can help us improve future automake versions. |
3444 | + |
3445 | +END |
3446 | + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
3447 | + echo 'Configuration will proceed anyway, since you have set the' >&2 |
3448 | + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
3449 | + echo >&2 |
3450 | + else |
3451 | + cat >&2 <<'END' |
3452 | +Aborting the configuration process, to ensure you take notice of the issue. |
3453 | + |
3454 | +You can download and install GNU coreutils to get an 'rm' implementation |
3455 | +that behaves properly: <http://www.gnu.org/software/coreutils/>. |
3456 | + |
3457 | +If you want to complete the configuration process using your problematic |
3458 | +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
3459 | +to "yes", and re-run configure. |
3460 | + |
3461 | +END |
3462 | + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
3463 | + fi |
3464 | +fi |
3465 | + |
3466 | + |
3467 | # Support silent build rules, requires at least automake-1.11. Disable |
3468 | # by either passing --disable-silent-rules to configure or passing V=1 |
3469 | # to make |
3470 | @@ -4603,6 +4690,65 @@ |
3471 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3472 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3473 | |
3474 | +ac_ext=c |
3475 | +ac_cpp='$CPP $CPPFLAGS' |
3476 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3477 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3478 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3479 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
3480 | +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
3481 | +if ${am_cv_prog_cc_c_o+:} false; then : |
3482 | + $as_echo_n "(cached) " >&6 |
3483 | +else |
3484 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3485 | +/* end confdefs.h. */ |
3486 | + |
3487 | +int |
3488 | +main () |
3489 | +{ |
3490 | + |
3491 | + ; |
3492 | + return 0; |
3493 | +} |
3494 | +_ACEOF |
3495 | + # Make sure it works both with $CC and with simple cc. |
3496 | + # Following AC_PROG_CC_C_O, we do the test twice because some |
3497 | + # compilers refuse to overwrite an existing .o file with -o, |
3498 | + # though they will create one. |
3499 | + am_cv_prog_cc_c_o=yes |
3500 | + for am_i in 1 2; do |
3501 | + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
3502 | + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
3503 | + ac_status=$? |
3504 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3505 | + (exit $ac_status); } \ |
3506 | + && test -f conftest2.$ac_objext; then |
3507 | + : OK |
3508 | + else |
3509 | + am_cv_prog_cc_c_o=no |
3510 | + break |
3511 | + fi |
3512 | + done |
3513 | + rm -f core conftest* |
3514 | + unset am_i |
3515 | +fi |
3516 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
3517 | +$as_echo "$am_cv_prog_cc_c_o" >&6; } |
3518 | +if test "$am_cv_prog_cc_c_o" != yes; then |
3519 | + # Losing compiler, so override with the script. |
3520 | + # FIXME: It is wrong to rewrite CC. |
3521 | + # But if we don't then we get into trouble of one sort or another. |
3522 | + # A longer-term fix would be to have automake use am__CC in this case, |
3523 | + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3524 | + CC="$am_aux_dir/compile $CC" |
3525 | +fi |
3526 | +ac_ext=c |
3527 | +ac_cpp='$CPP $CPPFLAGS' |
3528 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3529 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3530 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3531 | + |
3532 | + |
3533 | depcc="$CC" am_compiler_list= |
3534 | |
3535 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3536 | @@ -4839,7 +4985,13 @@ |
3537 | if ${am_cv_ar_interface+:} false; then : |
3538 | $as_echo_n "(cached) " >&6 |
3539 | else |
3540 | - am_cv_ar_interface=ar |
3541 | + ac_ext=c |
3542 | +ac_cpp='$CPP $CPPFLAGS' |
3543 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3544 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3545 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3546 | + |
3547 | + am_cv_ar_interface=ar |
3548 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3549 | /* end confdefs.h. */ |
3550 | int some_variable = 0; |
3551 | @@ -4870,6 +5022,11 @@ |
3552 | |
3553 | fi |
3554 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3555 | + ac_ext=c |
3556 | +ac_cpp='$CPP $CPPFLAGS' |
3557 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3558 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3559 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3560 | |
3561 | fi |
3562 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 |
3563 | @@ -5584,6 +5741,65 @@ |
3564 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3565 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3566 | |
3567 | +ac_ext=c |
3568 | +ac_cpp='$CPP $CPPFLAGS' |
3569 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3570 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3571 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3572 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
3573 | +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
3574 | +if ${am_cv_prog_cc_c_o+:} false; then : |
3575 | + $as_echo_n "(cached) " >&6 |
3576 | +else |
3577 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3578 | +/* end confdefs.h. */ |
3579 | + |
3580 | +int |
3581 | +main () |
3582 | +{ |
3583 | + |
3584 | + ; |
3585 | + return 0; |
3586 | +} |
3587 | +_ACEOF |
3588 | + # Make sure it works both with $CC and with simple cc. |
3589 | + # Following AC_PROG_CC_C_O, we do the test twice because some |
3590 | + # compilers refuse to overwrite an existing .o file with -o, |
3591 | + # though they will create one. |
3592 | + am_cv_prog_cc_c_o=yes |
3593 | + for am_i in 1 2; do |
3594 | + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
3595 | + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
3596 | + ac_status=$? |
3597 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3598 | + (exit $ac_status); } \ |
3599 | + && test -f conftest2.$ac_objext; then |
3600 | + : OK |
3601 | + else |
3602 | + am_cv_prog_cc_c_o=no |
3603 | + break |
3604 | + fi |
3605 | + done |
3606 | + rm -f core conftest* |
3607 | + unset am_i |
3608 | +fi |
3609 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
3610 | +$as_echo "$am_cv_prog_cc_c_o" >&6; } |
3611 | +if test "$am_cv_prog_cc_c_o" != yes; then |
3612 | + # Losing compiler, so override with the script. |
3613 | + # FIXME: It is wrong to rewrite CC. |
3614 | + # But if we don't then we get into trouble of one sort or another. |
3615 | + # A longer-term fix would be to have automake use am__CC in this case, |
3616 | + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3617 | + CC="$am_aux_dir/compile $CC" |
3618 | +fi |
3619 | +ac_ext=c |
3620 | +ac_cpp='$CPP $CPPFLAGS' |
3621 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3622 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3623 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3624 | + |
3625 | + |
3626 | depcc="$CC" am_compiler_list= |
3627 | |
3628 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3629 | @@ -6097,131 +6313,6 @@ |
3630 | fi |
3631 | |
3632 | |
3633 | -if test "x$CC" != xcc; then |
3634 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 |
3635 | -$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } |
3636 | -else |
3637 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 |
3638 | -$as_echo_n "checking whether cc understands -c and -o together... " >&6; } |
3639 | -fi |
3640 | -set dummy $CC; ac_cc=`$as_echo "$2" | |
3641 | - sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
3642 | -if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : |
3643 | - $as_echo_n "(cached) " >&6 |
3644 | -else |
3645 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3646 | -/* end confdefs.h. */ |
3647 | - |
3648 | -int |
3649 | -main () |
3650 | -{ |
3651 | - |
3652 | - ; |
3653 | - return 0; |
3654 | -} |
3655 | -_ACEOF |
3656 | -# Make sure it works both with $CC and with simple cc. |
3657 | -# We do the test twice because some compilers refuse to overwrite an |
3658 | -# existing .o file with -o, though they will create one. |
3659 | -ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
3660 | -rm -f conftest2.* |
3661 | -if { { case "(($ac_try" in |
3662 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3663 | - *) ac_try_echo=$ac_try;; |
3664 | -esac |
3665 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3666 | -$as_echo "$ac_try_echo"; } >&5 |
3667 | - (eval "$ac_try") 2>&5 |
3668 | - ac_status=$? |
3669 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3670 | - test $ac_status = 0; } && |
3671 | - test -f conftest2.$ac_objext && { { case "(($ac_try" in |
3672 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3673 | - *) ac_try_echo=$ac_try;; |
3674 | -esac |
3675 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3676 | -$as_echo "$ac_try_echo"; } >&5 |
3677 | - (eval "$ac_try") 2>&5 |
3678 | - ac_status=$? |
3679 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3680 | - test $ac_status = 0; }; |
3681 | -then |
3682 | - eval ac_cv_prog_cc_${ac_cc}_c_o=yes |
3683 | - if test "x$CC" != xcc; then |
3684 | - # Test first that cc exists at all. |
3685 | - if { ac_try='cc -c conftest.$ac_ext >&5' |
3686 | - { { case "(($ac_try" in |
3687 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3688 | - *) ac_try_echo=$ac_try;; |
3689 | -esac |
3690 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3691 | -$as_echo "$ac_try_echo"; } >&5 |
3692 | - (eval "$ac_try") 2>&5 |
3693 | - ac_status=$? |
3694 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3695 | - test $ac_status = 0; }; }; then |
3696 | - ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
3697 | - rm -f conftest2.* |
3698 | - if { { case "(($ac_try" in |
3699 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3700 | - *) ac_try_echo=$ac_try;; |
3701 | -esac |
3702 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3703 | -$as_echo "$ac_try_echo"; } >&5 |
3704 | - (eval "$ac_try") 2>&5 |
3705 | - ac_status=$? |
3706 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3707 | - test $ac_status = 0; } && |
3708 | - test -f conftest2.$ac_objext && { { case "(($ac_try" in |
3709 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3710 | - *) ac_try_echo=$ac_try;; |
3711 | -esac |
3712 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3713 | -$as_echo "$ac_try_echo"; } >&5 |
3714 | - (eval "$ac_try") 2>&5 |
3715 | - ac_status=$? |
3716 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3717 | - test $ac_status = 0; }; |
3718 | - then |
3719 | - # cc works too. |
3720 | - : |
3721 | - else |
3722 | - # cc exists but doesn't like -o. |
3723 | - eval ac_cv_prog_cc_${ac_cc}_c_o=no |
3724 | - fi |
3725 | - fi |
3726 | - fi |
3727 | -else |
3728 | - eval ac_cv_prog_cc_${ac_cc}_c_o=no |
3729 | -fi |
3730 | -rm -f core conftest* |
3731 | - |
3732 | -fi |
3733 | -if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then |
3734 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3735 | -$as_echo "yes" >&6; } |
3736 | -else |
3737 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3738 | -$as_echo "no" >&6; } |
3739 | - |
3740 | -$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h |
3741 | - |
3742 | -fi |
3743 | - |
3744 | -# FIXME: we rely on the cache variable name because |
3745 | -# there is no other way. |
3746 | -set dummy $CC |
3747 | -am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
3748 | -eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
3749 | -if test "$am_t" != yes; then |
3750 | - # Losing compiler, so override with the script. |
3751 | - # FIXME: It is wrong to rewrite CC. |
3752 | - # But if we don't then we get into trouble of one sort or another. |
3753 | - # A longer-term fix would be to have automake use am__CC in this case, |
3754 | - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3755 | - CC="$am_aux_dir/compile $CC" |
3756 | -fi |
3757 | - |
3758 | |
3759 | # By default we simply use the C compiler to build assembly code. |
3760 | |
3761 | @@ -7352,7 +7443,8 @@ |
3762 | ;; |
3763 | *) |
3764 | lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
3765 | - if test -n "$lt_cv_sys_max_cmd_len"; then |
3766 | + if test -n "$lt_cv_sys_max_cmd_len" && \ |
3767 | + test undefined != "$lt_cv_sys_max_cmd_len"; then |
3768 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
3769 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
3770 | else |
3771 | @@ -7753,10 +7845,6 @@ |
3772 | fi |
3773 | ;; |
3774 | |
3775 | -gnu*) |
3776 | - lt_cv_deplibs_check_method=pass_all |
3777 | - ;; |
3778 | - |
3779 | haiku*) |
3780 | lt_cv_deplibs_check_method=pass_all |
3781 | ;; |
3782 | @@ -7795,11 +7883,11 @@ |
3783 | ;; |
3784 | |
3785 | # This must be glibc/ELF. |
3786 | -linux* | k*bsd*-gnu | kopensolaris*-gnu) |
3787 | +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
3788 | lt_cv_deplibs_check_method=pass_all |
3789 | ;; |
3790 | |
3791 | -netbsd*) |
3792 | +netbsd* | netbsdelf*-gnu) |
3793 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
3794 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
3795 | else |
3796 | @@ -8876,7 +8964,7 @@ |
3797 | rm -rf conftest* |
3798 | ;; |
3799 | |
3800 | -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
3801 | +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
3802 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
3803 | # Find out which ABI we are using. |
3804 | echo 'int i;' > conftest.$ac_ext |
3805 | @@ -8892,9 +8980,19 @@ |
3806 | LD="${LD-ld} -m elf_i386_fbsd" |
3807 | ;; |
3808 | x86_64-*linux*) |
3809 | - LD="${LD-ld} -m elf_i386" |
3810 | - ;; |
3811 | - ppc64-*linux*|powerpc64-*linux*) |
3812 | + case `/usr/bin/file conftest.o` in |
3813 | + *x86-64*) |
3814 | + LD="${LD-ld} -m elf32_x86_64" |
3815 | + ;; |
3816 | + *) |
3817 | + LD="${LD-ld} -m elf_i386" |
3818 | + ;; |
3819 | + esac |
3820 | + ;; |
3821 | + powerpc64le-*) |
3822 | + LD="${LD-ld} -m elf32lppclinux" |
3823 | + ;; |
3824 | + powerpc64-*) |
3825 | LD="${LD-ld} -m elf32ppclinux" |
3826 | ;; |
3827 | s390x-*linux*) |
3828 | @@ -8913,7 +9011,10 @@ |
3829 | x86_64-*linux*) |
3830 | LD="${LD-ld} -m elf_x86_64" |
3831 | ;; |
3832 | - ppc*-*linux*|powerpc*-*linux*) |
3833 | + powerpcle-*) |
3834 | + LD="${LD-ld} -m elf64lppc" |
3835 | + ;; |
3836 | + powerpc-*) |
3837 | LD="${LD-ld} -m elf64ppc" |
3838 | ;; |
3839 | s390*-*linux*|s390*-*tpf*) |
3840 | @@ -10594,7 +10695,7 @@ |
3841 | lt_prog_compiler_static='-non_shared' |
3842 | ;; |
3843 | |
3844 | - linux* | k*bsd*-gnu | kopensolaris*-gnu) |
3845 | + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
3846 | case $cc_basename in |
3847 | # old Intel for x86_64 which still supported -KPIC. |
3848 | ecc*) |
3849 | @@ -11072,6 +11173,9 @@ |
3850 | openbsd*) |
3851 | with_gnu_ld=no |
3852 | ;; |
3853 | + linux* | k*bsd*-gnu | gnu*) |
3854 | + link_all_deplibs=no |
3855 | + ;; |
3856 | esac |
3857 | |
3858 | ld_shlibs=yes |
3859 | @@ -11293,7 +11397,7 @@ |
3860 | fi |
3861 | ;; |
3862 | |
3863 | - netbsd*) |
3864 | + netbsd* | netbsdelf*-gnu) |
3865 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
3866 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
3867 | wlarc= |
3868 | @@ -11470,6 +11574,7 @@ |
3869 | if test "$aix_use_runtimelinking" = yes; then |
3870 | shared_flag="$shared_flag "'${wl}-G' |
3871 | fi |
3872 | + link_all_deplibs=no |
3873 | else |
3874 | # not using gcc |
3875 | if test "$host_cpu" = ia64; then |
3876 | @@ -11923,7 +12028,7 @@ |
3877 | link_all_deplibs=yes |
3878 | ;; |
3879 | |
3880 | - netbsd*) |
3881 | + netbsd* | netbsdelf*-gnu) |
3882 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
3883 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
3884 | else |
3885 | @@ -12760,17 +12865,6 @@ |
3886 | esac |
3887 | ;; |
3888 | |
3889 | -gnu*) |
3890 | - version_type=linux # correct to gnu/linux during the next big refactor |
3891 | - need_lib_prefix=no |
3892 | - need_version=no |
3893 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
3894 | - soname_spec='${libname}${release}${shared_ext}$major' |
3895 | - shlibpath_var=LD_LIBRARY_PATH |
3896 | - shlibpath_overrides_runpath=no |
3897 | - hardcode_into_libs=yes |
3898 | - ;; |
3899 | - |
3900 | haiku*) |
3901 | version_type=linux # correct to gnu/linux during the next big refactor |
3902 | need_lib_prefix=no |
3903 | @@ -12887,7 +12981,7 @@ |
3904 | ;; |
3905 | |
3906 | # This must be glibc/ELF. |
3907 | -linux* | k*bsd*-gnu | kopensolaris*-gnu) |
3908 | +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
3909 | version_type=linux # correct to gnu/linux during the next big refactor |
3910 | need_lib_prefix=no |
3911 | need_version=no |
3912 | @@ -12936,14 +13030,10 @@ |
3913 | # before this can be enabled. |
3914 | hardcode_into_libs=yes |
3915 | |
3916 | - # Add ABI-specific directories to the system library path. |
3917 | - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
3918 | - |
3919 | # Append ld.so.conf contents to the search path |
3920 | if test -f /etc/ld.so.conf; then |
3921 | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
3922 | - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
3923 | - |
3924 | + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
3925 | fi |
3926 | |
3927 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
3928 | @@ -12955,6 +13045,18 @@ |
3929 | dynamic_linker='GNU/Linux ld.so' |
3930 | ;; |
3931 | |
3932 | +netbsdelf*-gnu) |
3933 | + version_type=linux |
3934 | + need_lib_prefix=no |
3935 | + need_version=no |
3936 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
3937 | + soname_spec='${libname}${release}${shared_ext}$major' |
3938 | + shlibpath_var=LD_LIBRARY_PATH |
3939 | + shlibpath_overrides_runpath=no |
3940 | + hardcode_into_libs=yes |
3941 | + dynamic_linker='NetBSD ld.elf_so' |
3942 | + ;; |
3943 | + |
3944 | netbsd*) |
3945 | version_type=sunos |
3946 | need_lib_prefix=no |
3947 | @@ -14702,9 +14804,6 @@ |
3948 | ld_shlibs_CXX=yes |
3949 | ;; |
3950 | |
3951 | - gnu*) |
3952 | - ;; |
3953 | - |
3954 | haiku*) |
3955 | archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
3956 | link_all_deplibs_CXX=yes |
3957 | @@ -14866,7 +14965,7 @@ |
3958 | inherit_rpath_CXX=yes |
3959 | ;; |
3960 | |
3961 | - linux* | k*bsd*-gnu | kopensolaris*-gnu) |
3962 | + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
3963 | case $cc_basename in |
3964 | KCC*) |
3965 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
3966 | @@ -15726,7 +15825,7 @@ |
3967 | ;; |
3968 | esac |
3969 | ;; |
3970 | - linux* | k*bsd*-gnu | kopensolaris*-gnu) |
3971 | + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
3972 | case $cc_basename in |
3973 | KCC*) |
3974 | # KAI C++ Compiler |
3975 | @@ -15790,7 +15889,7 @@ |
3976 | ;; |
3977 | esac |
3978 | ;; |
3979 | - netbsd*) |
3980 | + netbsd* | netbsdelf*-gnu) |
3981 | ;; |
3982 | *qnx* | *nto*) |
3983 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
3984 | @@ -16161,6 +16260,9 @@ |
3985 | ;; |
3986 | esac |
3987 | ;; |
3988 | + linux* | k*bsd*-gnu | gnu*) |
3989 | + link_all_deplibs_CXX=no |
3990 | + ;; |
3991 | *) |
3992 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
3993 | ;; |
3994 | @@ -16595,17 +16697,6 @@ |
3995 | esac |
3996 | ;; |
3997 | |
3998 | -gnu*) |
3999 | - version_type=linux # correct to gnu/linux during the next big refactor |
4000 | - need_lib_prefix=no |
4001 | - need_version=no |
4002 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
4003 | - soname_spec='${libname}${release}${shared_ext}$major' |
4004 | - shlibpath_var=LD_LIBRARY_PATH |
4005 | - shlibpath_overrides_runpath=no |
4006 | - hardcode_into_libs=yes |
4007 | - ;; |
4008 | - |
4009 | haiku*) |
4010 | version_type=linux # correct to gnu/linux during the next big refactor |
4011 | need_lib_prefix=no |
4012 | @@ -16722,7 +16813,7 @@ |
4013 | ;; |
4014 | |
4015 | # This must be glibc/ELF. |
4016 | -linux* | k*bsd*-gnu | kopensolaris*-gnu) |
4017 | +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
4018 | version_type=linux # correct to gnu/linux during the next big refactor |
4019 | need_lib_prefix=no |
4020 | need_version=no |
4021 | @@ -16771,14 +16862,10 @@ |
4022 | # before this can be enabled. |
4023 | hardcode_into_libs=yes |
4024 | |
4025 | - # Add ABI-specific directories to the system library path. |
4026 | - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
4027 | - |
4028 | # Append ld.so.conf contents to the search path |
4029 | if test -f /etc/ld.so.conf; then |
4030 | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
4031 | - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
4032 | - |
4033 | + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
4034 | fi |
4035 | |
4036 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
4037 | @@ -16790,6 +16877,18 @@ |
4038 | dynamic_linker='GNU/Linux ld.so' |
4039 | ;; |
4040 | |
4041 | +netbsdelf*-gnu) |
4042 | + version_type=linux |
4043 | + need_lib_prefix=no |
4044 | + need_version=no |
4045 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
4046 | + soname_spec='${libname}${release}${shared_ext}$major' |
4047 | + shlibpath_var=LD_LIBRARY_PATH |
4048 | + shlibpath_overrides_runpath=no |
4049 | + hardcode_into_libs=yes |
4050 | + dynamic_linker='NetBSD ld.elf_so' |
4051 | + ;; |
4052 | + |
4053 | netbsd*) |
4054 | version_type=sunos |
4055 | need_lib_prefix=no |
4056 | @@ -18781,11 +18880,20 @@ |
4057 | enable_dri=yes |
4058 | fi |
4059 | |
4060 | + |
4061 | +case "$host_os" in |
4062 | +linux*) |
4063 | + dri3_default=yes |
4064 | + ;; |
4065 | +*) |
4066 | + dri3_default=no |
4067 | + ;; |
4068 | +esac |
4069 | # Check whether --enable-dri3 was given. |
4070 | if test "${enable_dri3+set}" = set; then : |
4071 | enableval=$enable_dri3; enable_dri3="$enableval" |
4072 | else |
4073 | - enable_dri3=yes |
4074 | + enable_dri3="$dri3_default" |
4075 | fi |
4076 | |
4077 | # Check whether --enable-glx was given. |
4078 | @@ -19164,6 +19272,13 @@ |
4079 | DEFINES="$DEFINES -DHAVE_LIBDRM" |
4080 | fi |
4081 | |
4082 | +case "$host_os" in |
4083 | +linux*) |
4084 | + need_libudev=yes ;; |
4085 | +*) |
4086 | + need_libudev=no ;; |
4087 | +esac |
4088 | + |
4089 | |
4090 | pkg_failed=no |
4091 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDEV" >&5 |
4092 | @@ -19557,9 +19672,6 @@ |
4093 | fi |
4094 | GL_PC_REQ_PRIV="$GL_PC_REQ_PRIV libdrm >= $LIBDRM_REQUIRED" |
4095 | if test x"$enable_dri3" = xyes; then |
4096 | - if test x"$have_libudev" != xyes; then |
4097 | - as_fn_error $? "DRI3 requires libudev >= $LIBUDEV_REQUIRED" "$LINENO" 5 |
4098 | - fi |
4099 | |
4100 | pkg_failed=no |
4101 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI3PROTO" >&5 |
4102 | @@ -20088,7 +20200,7 @@ |
4103 | gnu*) |
4104 | DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1" |
4105 | DEFINES="$DEFINES -DHAVE_ALIAS" |
4106 | - ;; |
4107 | + ;; |
4108 | solaris*) |
4109 | DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1" |
4110 | ;; |
4111 | @@ -20109,8 +20221,8 @@ |
4112 | |
4113 | # Check for expat |
4114 | if test -n "$PKG_CONFIG" && \ |
4115 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"EXPAT\""; } >&5 |
4116 | - ($PKG_CONFIG --exists --print-errors "EXPAT") 2>&5 |
4117 | + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5 |
4118 | + ($PKG_CONFIG --exists --print-errors "expat") 2>&5 |
4119 | ac_status=$? |
4120 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4121 | test $ac_status = 0; }; then |
4122 | @@ -20608,8 +20720,8 @@ |
4123 | esac |
4124 | fi |
4125 | if test "x$enable_gbm" = xyes; then |
4126 | - if test x"$have_libudev" != xyes; then |
4127 | - as_fn_error $? "gbm needs udev" "$LINENO" 5 |
4128 | + if test "x$need_libudev$have_libudev" = xyesno; then |
4129 | + as_fn_error $? "gbm requires udev >= $LIBUDEV_REQUIRED" "$LINENO" 5 |
4130 | fi |
4131 | |
4132 | if test "x$enable_dri" = xyes; then |
4133 | @@ -20627,7 +20739,11 @@ |
4134 | HAVE_GBM_FALSE= |
4135 | fi |
4136 | |
4137 | -GBM_PC_REQ_PRIV="libudev" |
4138 | +if test "x$need_libudev" = xyes; then |
4139 | + GBM_PC_REQ_PRIV="libudev >= $LIBUDEV_REQUIRED" |
4140 | +else |
4141 | + GBM_PC_REQ_PRIV="" |
4142 | +fi |
4143 | GBM_PC_LIB_PRIV="$DLOPEN_LIBS" |
4144 | |
4145 | |
4146 | @@ -21378,9 +21494,9 @@ |
4147 | ;; |
4148 | esac |
4149 | |
4150 | - case "$plat$have_libudev" in |
4151 | - waylandno|drmno) |
4152 | - as_fn_error $? "cannot build $plat platfrom without udev" "$LINENO" 5 ;; |
4153 | + case "$plat$need_libudev$have_libudev" in |
4154 | + waylandyesno|drmyesno) |
4155 | + as_fn_error $? "cannot build $plat platform without udev >= $LIBUDEV_REQUIRED" "$LINENO" 5 ;; |
4156 | esac |
4157 | done |
4158 | |
4159 | @@ -21505,12 +21621,11 @@ |
4160 | fi |
4161 | |
4162 | |
4163 | - |
4164 | -# Check whether --with-llvm-shared-libs was given. |
4165 | -if test "${with_llvm_shared_libs+set}" = set; then : |
4166 | - withval=$with_llvm_shared_libs; |
4167 | +# Check whether --enable-llvm-shared-libs was given. |
4168 | +if test "${enable_llvm_shared_libs+set}" = set; then : |
4169 | + enableval=$enable_llvm_shared_libs; |
4170 | else |
4171 | - with_llvm_shared_libs=no |
4172 | + with_llvm_shared_libs=yes |
4173 | fi |
4174 | |
4175 | |
4176 | @@ -21896,77 +22011,9 @@ |
4177 | |
4178 | gallium_require_drm_loader() { |
4179 | if test "x$enable_gallium_loader" = xyes; then |
4180 | - |
4181 | -pkg_failed=no |
4182 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDEV" >&5 |
4183 | -$as_echo_n "checking for LIBUDEV... " >&6; } |
4184 | - |
4185 | -if test -n "$LIBUDEV_CFLAGS"; then |
4186 | - pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS" |
4187 | - elif test -n "$PKG_CONFIG"; then |
4188 | - if test -n "$PKG_CONFIG" && \ |
4189 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5 |
4190 | - ($PKG_CONFIG --exists --print-errors "libudev") 2>&5 |
4191 | - ac_status=$? |
4192 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4193 | - test $ac_status = 0; }; then |
4194 | - pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null` |
4195 | - test "x$?" != "x0" && pkg_failed=yes |
4196 | -else |
4197 | - pkg_failed=yes |
4198 | -fi |
4199 | - else |
4200 | - pkg_failed=untried |
4201 | -fi |
4202 | -if test -n "$LIBUDEV_LIBS"; then |
4203 | - pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS" |
4204 | - elif test -n "$PKG_CONFIG"; then |
4205 | - if test -n "$PKG_CONFIG" && \ |
4206 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5 |
4207 | - ($PKG_CONFIG --exists --print-errors "libudev") 2>&5 |
4208 | - ac_status=$? |
4209 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4210 | - test $ac_status = 0; }; then |
4211 | - pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null` |
4212 | - test "x$?" != "x0" && pkg_failed=yes |
4213 | -else |
4214 | - pkg_failed=yes |
4215 | -fi |
4216 | - else |
4217 | - pkg_failed=untried |
4218 | -fi |
4219 | - |
4220 | - |
4221 | - |
4222 | -if test $pkg_failed = yes; then |
4223 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4224 | -$as_echo "no" >&6; } |
4225 | - |
4226 | -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4227 | - _pkg_short_errors_supported=yes |
4228 | -else |
4229 | - _pkg_short_errors_supported=no |
4230 | -fi |
4231 | - if test $_pkg_short_errors_supported = yes; then |
4232 | - LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1` |
4233 | - else |
4234 | - LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1` |
4235 | + if test "x$need_libudev$have_libudev" = xyesno; then |
4236 | + as_fn_error $? "Gallium drm loader requires libudev >= $LIBUDEV_REQUIRED" "$LINENO" 5 |
4237 | fi |
4238 | - # Put the nasty error message in config.log where it belongs |
4239 | - echo "$LIBUDEV_PKG_ERRORS" >&5 |
4240 | - |
4241 | - as_fn_error $? "Gallium drm loader requires libudev" "$LINENO" 5 |
4242 | -elif test $pkg_failed = untried; then |
4243 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4244 | -$as_echo "no" >&6; } |
4245 | - as_fn_error $? "Gallium drm loader requires libudev" "$LINENO" 5 |
4246 | -else |
4247 | - LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS |
4248 | - LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS |
4249 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4250 | -$as_echo "yes" >&6; } |
4251 | - |
4252 | -fi |
4253 | if test "x$have_libdrm" != xyes; then |
4254 | as_fn_error $? "Gallium drm loader requires libdrm >= $LIBDRM_REQUIRED" "$LINENO" 5 |
4255 | fi |
4256 | @@ -24083,7 +24130,7 @@ |
4257 | # report actual input values of CONFIG_FILES etc. instead of their |
4258 | # values after options handling. |
4259 | ac_log=" |
4260 | -This file was extended by Mesa $as_me 10.1.0, which was |
4261 | +This file was extended by Mesa $as_me 10.1.3, which was |
4262 | generated by GNU Autoconf 2.69. Invocation command line was |
4263 | |
4264 | CONFIG_FILES = $CONFIG_FILES |
4265 | @@ -24140,7 +24187,7 @@ |
4266 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4267 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
4268 | ac_cs_version="\\ |
4269 | -Mesa config.status 10.1.0 |
4270 | +Mesa config.status 10.1.3 |
4271 | configured by $0, generated by GNU Autoconf 2.69, |
4272 | with options \\"\$ac_cs_config\\" |
4273 | |
4274 | @@ -25185,7 +25232,7 @@ |
4275 | |
4276 | case $ac_file$ac_mode in |
4277 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
4278 | - # Autoconf 2.62 quotes --file arguments for eval, but not when files |
4279 | + # Older Autoconf quotes --file arguments for eval, but not when files |
4280 | # are listed without --file. Let's play safe and only enable the eval |
4281 | # if we detect the quoting. |
4282 | case $CONFIG_FILES in |
4283 | @@ -25236,7 +25283,7 @@ |
4284 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
4285 | test -z "$DEPDIR" && continue |
4286 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
4287 | - test -z "am__include" && continue |
4288 | + test -z "$am__include" && continue |
4289 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
4290 | # Find all dependency output files, they are included files with |
4291 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
4292 | |
4293 | === modified file 'configure.ac' |
4294 | --- configure.ac 2014-02-25 14:29:26 +0000 |
4295 | +++ configure.ac 2024-05-07 03:08:38 +0000 |
4296 | @@ -542,11 +542,20 @@ |
4297 | [enable DRI modules @<:@default=enabled@:>@])], |
4298 | [enable_dri="$enableval"], |
4299 | [enable_dri=yes]) |
4300 | + |
4301 | +case "$host_os" in |
4302 | +linux*) |
4303 | + dri3_default=yes |
4304 | + ;; |
4305 | +*) |
4306 | + dri3_default=no |
4307 | + ;; |
4308 | +esac |
4309 | AC_ARG_ENABLE([dri3], |
4310 | [AS_HELP_STRING([--enable-dri3], |
4311 | - [enable DRI3 @<:@default=enabled@:>@])], |
4312 | + [enable DRI3 @<:@default=auto@:>@])], |
4313 | [enable_dri3="$enableval"], |
4314 | - [enable_dri3=yes]) |
4315 | + [enable_dri3="$dri3_default"]) |
4316 | AC_ARG_ENABLE([glx], |
4317 | [AS_HELP_STRING([--enable-glx], |
4318 | [enable GLX library @<:@default=enabled@:>@])], |
4319 | @@ -771,6 +780,13 @@ |
4320 | DEFINES="$DEFINES -DHAVE_LIBDRM" |
4321 | fi |
4322 | |
4323 | +case "$host_os" in |
4324 | +linux*) |
4325 | + need_libudev=yes ;; |
4326 | +*) |
4327 | + need_libudev=no ;; |
4328 | +esac |
4329 | + |
4330 | PKG_CHECK_MODULES([LIBUDEV], [libudev >= $LIBUDEV_REQUIRED], |
4331 | have_libudev=yes, have_libudev=no) |
4332 | |
4333 | @@ -830,9 +846,6 @@ |
4334 | PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED]) |
4335 | GL_PC_REQ_PRIV="$GL_PC_REQ_PRIV libdrm >= $LIBDRM_REQUIRED" |
4336 | if test x"$enable_dri3" = xyes; then |
4337 | - if test x"$have_libudev" != xyes; then |
4338 | - AC_MSG_ERROR([DRI3 requires libudev >= $LIBUDEV_REQUIRED]) |
4339 | - fi |
4340 | PKG_CHECK_MODULES([DRI3PROTO], [dri3proto >= $DRI3PROTO_REQUIRED]) |
4341 | PKG_CHECK_MODULES([PRESENTPROTO], [presentproto >= $PRESENTPROTO_REQUIRED]) |
4342 | fi |
4343 | @@ -1017,7 +1030,7 @@ |
4344 | gnu*) |
4345 | DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1" |
4346 | DEFINES="$DEFINES -DHAVE_ALIAS" |
4347 | - ;; |
4348 | + ;; |
4349 | solaris*) |
4350 | DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1" |
4351 | ;; |
4352 | @@ -1037,7 +1050,7 @@ |
4353 | DRI_DIRS=`echo "$DRI_DIRS" | $SED 's/ */ /g'` |
4354 | |
4355 | # Check for expat |
4356 | - PKG_CHECK_EXISTS([EXPAT], [have_expat=yes], [have_expat=no]) |
4357 | + PKG_CHECK_EXISTS([expat], [have_expat=yes], [have_expat=no]) |
4358 | if test "x$have_expat" = "xyes"; then |
4359 | PKG_CHECK_MODULES([EXPAT], [expat], [], |
4360 | AC_MSG_ERROR([Expat required for DRI.])) |
4361 | @@ -1178,8 +1191,8 @@ |
4362 | esac |
4363 | fi |
4364 | if test "x$enable_gbm" = xyes; then |
4365 | - if test x"$have_libudev" != xyes; then |
4366 | - AC_MSG_ERROR([gbm needs udev]) |
4367 | + if test "x$need_libudev$have_libudev" = xyesno; then |
4368 | + AC_MSG_ERROR([gbm requires udev >= $LIBUDEV_REQUIRED]) |
4369 | fi |
4370 | |
4371 | if test "x$enable_dri" = xyes; then |
4372 | @@ -1190,7 +1203,11 @@ |
4373 | fi |
4374 | fi |
4375 | AM_CONDITIONAL(HAVE_GBM, test "x$enable_gbm" = xyes) |
4376 | -GBM_PC_REQ_PRIV="libudev" |
4377 | +if test "x$need_libudev" = xyes; then |
4378 | + GBM_PC_REQ_PRIV="libudev >= $LIBUDEV_REQUIRED" |
4379 | +else |
4380 | + GBM_PC_REQ_PRIV="" |
4381 | +fi |
4382 | GBM_PC_LIB_PRIV="$DLOPEN_LIBS" |
4383 | AC_SUBST([GBM_PC_REQ_PRIV]) |
4384 | AC_SUBST([GBM_PC_LIB_PRIV]) |
4385 | @@ -1461,9 +1478,9 @@ |
4386 | ;; |
4387 | esac |
4388 | |
4389 | - case "$plat$have_libudev" in |
4390 | - waylandno|drmno) |
4391 | - AC_MSG_ERROR([cannot build $plat platfrom without udev]) ;; |
4392 | + case "$plat$need_libudev$have_libudev" in |
4393 | + waylandyesno|drmyesno) |
4394 | + AC_MSG_ERROR([cannot build $plat platform without udev >= $LIBUDEV_REQUIRED]) ;; |
4395 | esac |
4396 | done |
4397 | |
4398 | @@ -1529,11 +1546,11 @@ |
4399 | [enable_gallium_llvm="$enableval"], |
4400 | [enable_gallium_llvm=auto]) |
4401 | |
4402 | -AC_ARG_WITH([llvm-shared-libs], |
4403 | - [AS_HELP_STRING([--with-llvm-shared-libs], |
4404 | - [link with LLVM shared libraries @<:@default=disabled@:>@])], |
4405 | +AC_ARG_ENABLE([llvm-shared-libs], |
4406 | + [AS_HELP_STRING([--enable-llvm-shared-libs], |
4407 | + [link with LLVM shared libraries @<:@default=enabled@:>@])], |
4408 | [], |
4409 | - [with_llvm_shared_libs=no]) |
4410 | + [with_llvm_shared_libs=yes]) |
4411 | |
4412 | AC_ARG_WITH([llvm-prefix], |
4413 | [AS_HELP_STRING([--with-llvm-prefix], |
4414 | @@ -1702,8 +1719,9 @@ |
4415 | |
4416 | gallium_require_drm_loader() { |
4417 | if test "x$enable_gallium_loader" = xyes; then |
4418 | - PKG_CHECK_MODULES([LIBUDEV], [libudev], [], |
4419 | - AC_MSG_ERROR([Gallium drm loader requires libudev])) |
4420 | + if test "x$need_libudev$have_libudev" = xyesno; then |
4421 | + AC_MSG_ERROR([Gallium drm loader requires libudev >= $LIBUDEV_REQUIRED]) |
4422 | + fi |
4423 | if test "x$have_libdrm" != xyes; then |
4424 | AC_MSG_ERROR([Gallium drm loader requires libdrm >= $LIBDRM_REQUIRED]) |
4425 | fi |
4426 | |
4427 | === modified file 'debian/changelog' |
4428 | --- debian/changelog 2014-04-14 09:59:17 +0000 |
4429 | +++ debian/changelog 2024-05-07 03:08:38 +0000 |
4430 | @@ -1,3 +1,45 @@ |
4431 | +mesa (10.1.3-0ubuntu0.1) trusty; urgency=medium |
4432 | + |
4433 | + * Copy package back to trusty. |
4434 | + |
4435 | + -- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Mon, 12 May 2014 12:11:50 +0200 |
4436 | + |
4437 | +mesa (10.1.3-0ubuntu1) utopic; urgency=medium |
4438 | + |
4439 | + [ Maarten Lankhorst ] |
4440 | + * Merge from unreleased debian-unstable. |
4441 | + |
4442 | + [ Timo Aaltonen ] |
4443 | + * fix-gpu-hangs-on-bdw.diff: Upstream commit to fix various GPU hangs |
4444 | + on Broadwell. (LP: #1318589) |
4445 | + |
4446 | + -- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Mon, 12 May 2014 09:51:08 +0000 |
4447 | + |
4448 | +mesa (10.1.3-1) UNRELEASED; urgency=medium |
4449 | + |
4450 | + * New upstream release. |
4451 | + |
4452 | + -- Timo Aaltonen <tjaalton@ubuntu.com> Sat, 10 May 2014 01:20:18 +0300 |
4453 | + |
4454 | +mesa (10.1.2-1) unstable; urgency=medium |
4455 | + |
4456 | + [ Andreas Boll ] |
4457 | + * New upstream release. |
4458 | + + i965: Don't enable reset notification support on Gen4-5 (Closes: #746557) |
4459 | + |
4460 | + -- Julien Cristau <jcristau@debian.org> Tue, 06 May 2014 09:31:26 +0200 |
4461 | + |
4462 | +mesa (10.1.1-1) unstable; urgency=low |
4463 | + |
4464 | + [ Andreas Boll ] |
4465 | + * New upstream release. |
4466 | + * Relax ocl-icd-libopencl1 dependency to allow the generic virtual |
4467 | + libopencl1 as a valid alternative (Closes: #745765). |
4468 | + * Add missing separator between dependency items '${misc:Depends}' |
4469 | + and 'libglapi-mesa (= ${binary:Version})'. |
4470 | + |
4471 | + -- Julien Cristau <jcristau@debian.org> Sun, 27 Apr 2014 19:51:45 +0200 |
4472 | + |
4473 | mesa (10.1.0-4ubuntu5) trusty; urgency=medium |
4474 | |
4475 | * enable-bdw.diff: Enable Broadwell support. (LP: #1300258) |
4476 | @@ -31,12 +73,17 @@ |
4477 | |
4478 | -- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Mon, 31 Mar 2014 09:56:17 +0000 |
4479 | |
4480 | -mesa (10.1.0-5) UNRELEASED; urgency=low |
4481 | - |
4482 | - * Add explicit libudev1 dependency. |
4483 | - - libudev is being dlsym'd now, but still a dependency. |
4484 | - |
4485 | - -- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Mon, 31 Mar 2014 11:25:48 +0200 |
4486 | +mesa (10.1.0-5) unstable; urgency=low |
4487 | + |
4488 | + [ Maarten Lankhorst ] |
4489 | + * Add explicit libudev1 dependency (LP: #1296947) |
4490 | + - libudev is being dlopened now, but still a dependency. |
4491 | + |
4492 | + [ Julien Cristau ] |
4493 | + * Fix libegl1-mesa-dev installability on hurd, which doesn't have |
4494 | + libegl1-mesa-drivers (closes: #742335). Thanks, Pino Toscano! |
4495 | + |
4496 | + -- Julien Cristau <jcristau@debian.org> Mon, 31 Mar 2014 15:58:53 +0200 |
4497 | |
4498 | mesa (10.1.0-4) unstable; urgency=medium |
4499 | |
4500 | |
4501 | === modified file 'debian/control' |
4502 | --- debian/control 2014-03-31 09:56:17 +0000 |
4503 | +++ debian/control 2024-05-07 03:08:38 +0000 |
4504 | @@ -147,8 +147,8 @@ |
4505 | Depends: |
4506 | ${shlibs:Depends}, |
4507 | ${misc:Depends}, |
4508 | - libudev1 | libudev0, |
4509 | -Recommends: libegl1-mesa-drivers |
4510 | + libudev1 [linux-any] | libudev0 [linux-any], |
4511 | +Recommends: libegl1-mesa-drivers [!hurd-any] |
4512 | Provides: libegl1-x11 |
4513 | Conflicts: libegl1-x11 |
4514 | Replaces: libegl1-x11 |
4515 | @@ -183,7 +183,7 @@ |
4516 | Architecture: any |
4517 | Depends: |
4518 | libegl1-mesa (= ${binary:Version}), |
4519 | - libegl1-mesa-drivers (= ${binary:Version}), |
4520 | + libegl1-mesa-drivers (= ${binary:Version}) [!hurd-any], |
4521 | libdrm-dev (>= 2.4.52) [!hurd-any], |
4522 | x11proto-dri2-dev (>= 2.6), |
4523 | x11proto-gl-dev (>= 1.4.14), |
4524 | @@ -476,7 +476,7 @@ |
4525 | Architecture: any |
4526 | Depends: |
4527 | ${shlibs:Depends}, |
4528 | - ${misc:Depends} |
4529 | + ${misc:Depends}, |
4530 | libglapi-mesa (= ${binary:Version}), |
4531 | libudev1 | libudev0, |
4532 | Recommends: libgl1-mesa-dri (>= 7.2) |
4533 | @@ -727,5 +727,3 @@ |
4534 | post-processing for the supported graphics cards. |
4535 | . |
4536 | This package contains the debugging symbols for the VDPAU drivers. |
4537 | - |
4538 | -# vim: tw=0 |
4539 | |
4540 | === removed file 'debian/patches/cso-fix-sampler-view-count.patch' |
4541 | --- debian/patches/cso-fix-sampler-view-count.patch 2014-04-10 12:08:10 +0000 |
4542 | +++ debian/patches/cso-fix-sampler-view-count.patch 1970-01-01 00:00:00 +0000 |
4543 | @@ -1,43 +0,0 @@ |
4544 | -From 60aae7370934953a6f679fc5309ae567fc3f462c Mon Sep 17 00:00:00 2001 |
4545 | -From: Brian Paul <brianp@vmware.com> |
4546 | -Date: Wed, 2 Apr 2014 08:54:41 -0600 |
4547 | -Subject: [PATCH 1/3] cso: fix sampler view count in cso_set_sampler_views() |
4548 | - |
4549 | -We want to call pipe->set_sampler_views() with count being the |
4550 | -maximum of the old number of sampler views and the new number. |
4551 | -This makes sure we null-out any old sampler views. |
4552 | - |
4553 | -We already do the same thing for sampler states in single_sampler_done(). |
4554 | -Fixes some assertions seen in the VMware driver with XA tracker. |
4555 | - |
4556 | -Cc: "10.0" "10.1" <mesa-stable@lists.freedesktop.org> |
4557 | -Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> |
4558 | -Tested-by: Thomas Hellstrom <thellstrom@vmware.com> |
4559 | -Reviewed-by: Roland Scheidegger <sroland@vmware.com> |
4560 | ---- |
4561 | - src/gallium/auxiliary/cso_cache/cso_context.c | 7 ++++--- |
4562 | - 1 file changed, 4 insertions(+), 3 deletions(-) |
4563 | - |
4564 | -diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c |
4565 | -index 2dcf01d..9fe0a97 100644 |
4566 | ---- a/src/gallium/auxiliary/cso_cache/cso_context.c |
4567 | -+++ b/src/gallium/auxiliary/cso_cache/cso_context.c |
4568 | -@@ -1187,11 +1187,12 @@ cso_set_sampler_views(struct cso_context *ctx, |
4569 | - pipe_sampler_view_reference(&info->views[i], NULL); |
4570 | - } |
4571 | - |
4572 | -- info->nr_views = count; |
4573 | -- |
4574 | - /* bind the new sampler views */ |
4575 | -- ctx->pipe->set_sampler_views(ctx->pipe, shader_stage, 0, count, |
4576 | -+ ctx->pipe->set_sampler_views(ctx->pipe, shader_stage, 0, |
4577 | -+ MAX2(info->nr_views, count), |
4578 | - info->views); |
4579 | -+ |
4580 | -+ info->nr_views = count; |
4581 | - } |
4582 | - |
4583 | - |
4584 | --- |
4585 | -1.9.1 |
4586 | - |
4587 | |
4588 | === modified file 'debian/patches/egl-platform-mir.patch' |
4589 | --- debian/patches/egl-platform-mir.patch 2014-02-19 17:19:12 +0000 |
4590 | +++ debian/patches/egl-platform-mir.patch 2024-05-07 03:08:38 +0000 |
4591 | @@ -1,6 +1,6 @@ |
4592 | --- a/configure.ac |
4593 | +++ b/configure.ac |
4594 | -@@ -1468,7 +1468,9 @@ |
4595 | +@@ -1474,7 +1474,9 @@ |
4596 | |
4597 | android|fbdev|gdi|null) |
4598 | ;; |
4599 | @@ -11,7 +11,7 @@ |
4600 | *) |
4601 | AC_MSG_ERROR([EGL platform '$plat' does not exist]) |
4602 | ;; |
4603 | -@@ -1497,6 +1499,7 @@ |
4604 | +@@ -1503,6 +1505,7 @@ |
4605 | AM_CONDITIONAL(HAVE_EGL_PLATFORM_DRM, echo "$egl_platforms" | grep 'drm' >/dev/null 2>&1) |
4606 | AM_CONDITIONAL(HAVE_EGL_PLATFORM_FBDEV, echo "$egl_platforms" | grep 'fbdev' >/dev/null 2>&1) |
4607 | AM_CONDITIONAL(HAVE_EGL_PLATFORM_NULL, echo "$egl_platforms" | grep 'null' >/dev/null 2>&1) |
4608 | @@ -65,7 +65,7 @@ |
4609 | +endif |
4610 | --- a/src/egl/drivers/dri2/egl_dri2.c |
4611 | +++ b/src/egl/drivers/dri2/egl_dri2.c |
4612 | -@@ -639,6 +639,12 @@ |
4613 | +@@ -638,6 +638,12 @@ |
4614 | return EGL_TRUE; |
4615 | return dri2_initialize_wayland(drv, disp); |
4616 | #endif |
4617 | @@ -75,9 +75,9 @@ |
4618 | + return EGL_TRUE; |
4619 | + return dri2_initialize_mir(drv, disp); |
4620 | +#endif |
4621 | - #endif |
4622 | #ifdef HAVE_ANDROID_PLATFORM |
4623 | case _EGL_PLATFORM_ANDROID: |
4624 | + if (disp->Options.TestOnly) |
4625 | --- a/src/egl/drivers/dri2/egl_dri2.h |
4626 | +++ b/src/egl/drivers/dri2/egl_dri2.h |
4627 | @@ -64,6 +64,11 @@ |
4628 | |
4629 | === added file 'debian/patches/fix-gpu-hangs-on-bdw.diff' |
4630 | --- debian/patches/fix-gpu-hangs-on-bdw.diff 1970-01-01 00:00:00 +0000 |
4631 | +++ debian/patches/fix-gpu-hangs-on-bdw.diff 2024-05-07 03:08:38 +0000 |
4632 | @@ -0,0 +1,89 @@ |
4633 | +commit 9584959123b0453cf5313722357e3abb9f736aa7 |
4634 | +Author: Kenneth Graunke <kenneth@whitecape.org> |
4635 | +Date: Thu May 8 16:44:37 2014 -0700 |
4636 | + |
4637 | + i965: Fix GPU hangs on Broadwell in shaders with some control flow. |
4638 | + |
4639 | + According to the documentation, we need to set the source 0 register |
4640 | + type to IMM for flow control instructions that have both JIP and UIP. |
4641 | + |
4642 | + Fixes GPU hangs in approximately 10 Piglit tests, 5 es3conform tests, |
4643 | + Unigine Crypt, a WebGL raytracer demo, and several Steam titles. |
4644 | + |
4645 | + Cc: "10.2" <mesa-stable@lists.freedesktop.org> |
4646 | + Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75478 |
4647 | + Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75878 |
4648 | + Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76939 |
4649 | + Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> |
4650 | + Tested-by: Topi Pohjolainen <topi.pohjolainen@intel.com> |
4651 | + Tested-by: Kristian Høgsberg <krh@bitplanet.net> |
4652 | + Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> |
4653 | + Reviewed-by: Matt Turner <mattst88@gmail.com> |
4654 | + |
4655 | +diff --git a/src/mesa/drivers/dri/i965/gen8_generator.cpp b/src/mesa/drivers/dri/i965/gen8_generator.cpp |
4656 | +index dd434a7..faca9c0 100644 |
4657 | +--- a/src/mesa/drivers/dri/i965/gen8_generator.cpp |
4658 | ++++ b/src/mesa/drivers/dri/i965/gen8_generator.cpp |
4659 | +@@ -422,6 +422,7 @@ gen8_generator::IF(unsigned predicate) |
4660 | + { |
4661 | + gen8_instruction *inst = next_inst(BRW_OPCODE_IF); |
4662 | + gen8_set_dst(brw, inst, vec1(retype(brw_null_reg(), BRW_REGISTER_TYPE_D))); |
4663 | ++ gen8_set_src0(brw, inst, brw_imm_d(0)); |
4664 | + gen8_set_exec_size(inst, default_state.exec_size); |
4665 | + gen8_set_pred_control(inst, predicate); |
4666 | + gen8_set_mask_control(inst, BRW_MASK_ENABLE); |
4667 | +@@ -435,6 +436,7 @@ gen8_generator::ELSE() |
4668 | + { |
4669 | + gen8_instruction *inst = next_inst(BRW_OPCODE_ELSE); |
4670 | + gen8_set_dst(brw, inst, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); |
4671 | ++ gen8_set_src0(brw, inst, brw_imm_d(0)); |
4672 | + gen8_set_mask_control(inst, BRW_MASK_ENABLE); |
4673 | + push_if_stack(inst); |
4674 | + return inst; |
4675 | +@@ -456,6 +458,7 @@ gen8_generator::ENDIF() |
4676 | + |
4677 | + gen8_instruction *endif_inst = next_inst(BRW_OPCODE_ENDIF); |
4678 | + gen8_set_mask_control(endif_inst, BRW_MASK_ENABLE); |
4679 | ++ gen8_set_src0(brw, endif_inst, brw_imm_d(0)); |
4680 | + patch_IF_ELSE(if_inst, else_inst, endif_inst); |
4681 | + |
4682 | + return endif_inst; |
4683 | +@@ -577,8 +580,7 @@ gen8_generator::BREAK() |
4684 | + { |
4685 | + gen8_instruction *inst = next_inst(BRW_OPCODE_BREAK); |
4686 | + gen8_set_dst(brw, inst, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); |
4687 | +- gen8_set_src0(brw, inst, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); |
4688 | +- gen8_set_src1(brw, inst, brw_imm_d(0)); |
4689 | ++ gen8_set_src0(brw, inst, brw_imm_d(0)); |
4690 | + gen8_set_exec_size(inst, default_state.exec_size); |
4691 | + return inst; |
4692 | + } |
4693 | +@@ -588,8 +590,7 @@ gen8_generator::CONTINUE() |
4694 | + { |
4695 | + gen8_instruction *inst = next_inst(BRW_OPCODE_CONTINUE); |
4696 | + gen8_set_dst(brw, inst, brw_ip_reg()); |
4697 | +- gen8_set_src0(brw, inst, brw_ip_reg()); |
4698 | +- gen8_set_src1(brw, inst, brw_imm_d(0)); |
4699 | ++ gen8_set_src0(brw, inst, brw_imm_d(0)); |
4700 | + gen8_set_exec_size(inst, default_state.exec_size); |
4701 | + return inst; |
4702 | + } |
4703 | +@@ -601,8 +602,7 @@ gen8_generator::WHILE() |
4704 | + gen8_instruction *while_inst = next_inst(BRW_OPCODE_WHILE); |
4705 | + |
4706 | + gen8_set_dst(brw, while_inst, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); |
4707 | +- gen8_set_src0(brw, while_inst, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); |
4708 | +- gen8_set_src1(brw, while_inst, brw_imm_ud(0)); |
4709 | ++ gen8_set_src0(brw, while_inst, brw_imm_d(0)); |
4710 | + gen8_set_jip(while_inst, 16 * (do_inst - while_inst)); |
4711 | + gen8_set_exec_size(while_inst, default_state.exec_size); |
4712 | + |
4713 | +@@ -614,7 +614,7 @@ gen8_generator::HALT() |
4714 | + { |
4715 | + gen8_instruction *inst = next_inst(BRW_OPCODE_HALT); |
4716 | + gen8_set_dst(brw, inst, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); |
4717 | +- gen8_set_src0(brw, inst, retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); |
4718 | ++ gen8_set_src0(brw, inst, brw_imm_d(0)); |
4719 | + gen8_set_exec_size(inst, default_state.exec_size); |
4720 | + gen8_set_mask_control(inst, BRW_MASK_DISABLE); |
4721 | + return inst; |
4722 | |
4723 | === modified file 'debian/patches/series' |
4724 | --- debian/patches/series 2014-04-14 09:59:17 +0000 |
4725 | +++ debian/patches/series 2024-05-07 03:08:38 +0000 |
4726 | @@ -13,8 +13,6 @@ |
4727 | fix-bsymbolic-madness.patch |
4728 | fix-kwin.diff |
4729 | i965-dont-call-abort-on-unknown-dev.diff |
4730 | -cso-fix-sampler-view-count.patch |
4731 | -svga-replace-sampler-assertion.patch |
4732 | -svga-move-dirty-buffers.patch |
4733 | enable-bdw.diff |
4734 | fix-unity-on-bdw.diff |
4735 | +fix-gpu-hangs-on-bdw.diff |
4736 | |
4737 | === removed file 'debian/patches/svga-move-dirty-buffers.patch' |
4738 | --- debian/patches/svga-move-dirty-buffers.patch 2014-04-10 12:08:10 +0000 |
4739 | +++ debian/patches/svga-move-dirty-buffers.patch 1970-01-01 00:00:00 +0000 |
4740 | @@ -1,47 +0,0 @@ |
4741 | -From 192c69d964a2da49bf0654d9bb2c0de48c788207 Mon Sep 17 00:00:00 2001 |
4742 | -From: Brian Paul <brianp@vmware.com> |
4743 | -Date: Wed, 9 Apr 2014 11:35:54 -0600 |
4744 | -Subject: [PATCH 3/3] svga: move LIST_INITHEAD(dirty_buffers) earlier in |
4745 | - svga_context_create() |
4746 | - |
4747 | -Fixes a crash in svga_context_flush_buffers() if we use the 'draw' module |
4748 | -for AA lines (when the device doesn't support that feature). We need to |
4749 | -initialize this list before we setup the swtnl pieces. |
4750 | - |
4751 | -Found/fixed by Charmaine Lee. |
4752 | - |
4753 | -Cc: "10.0" <mesa-stable@lists.freedesktop.org> |
4754 | -Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> |
4755 | -Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> |
4756 | - |
4757 | -Conflicts: |
4758 | - src/gallium/drivers/svga/svga_context.c |
4759 | ---- |
4760 | - src/gallium/drivers/svga/svga_context.c | 4 ++-- |
4761 | - 1 file changed, 2 insertions(+), 2 deletions(-) |
4762 | - |
4763 | -diff --git a/src/gallium/drivers/svga/svga_context.c b/src/gallium/drivers/svga/svga_context.c |
4764 | -index 4da9a65..0ffff9c 100644 |
4765 | ---- a/src/gallium/drivers/svga/svga_context.c |
4766 | -+++ b/src/gallium/drivers/svga/svga_context.c |
4767 | -@@ -92,6 +92,8 @@ struct pipe_context *svga_context_create( struct pipe_screen *screen, |
4768 | - if (svga == NULL) |
4769 | - goto no_svga; |
4770 | - |
4771 | -+ LIST_INITHEAD(&svga->dirty_buffers); |
4772 | -+ |
4773 | - svga->pipe.screen = screen; |
4774 | - svga->pipe.priv = priv; |
4775 | - svga->pipe.destroy = svga_destroy; |
4776 | -@@ -154,8 +156,6 @@ struct pipe_context *svga_context_create( struct pipe_screen *screen, |
4777 | - |
4778 | - svga->dirty = ~0; |
4779 | - |
4780 | -- LIST_INITHEAD(&svga->dirty_buffers); |
4781 | -- |
4782 | - return &svga->pipe; |
4783 | - |
4784 | - no_state: |
4785 | --- |
4786 | -1.9.1 |
4787 | - |
4788 | |
4789 | === removed file 'debian/patches/svga-replace-sampler-assertion.patch' |
4790 | --- debian/patches/svga-replace-sampler-assertion.patch 2014-04-10 12:08:10 +0000 |
4791 | +++ debian/patches/svga-replace-sampler-assertion.patch 1970-01-01 00:00:00 +0000 |
4792 | @@ -1,96 +0,0 @@ |
4793 | -From 172f80cf326d5e2b105b422e9dc479f19cb07c96 Mon Sep 17 00:00:00 2001 |
4794 | -From: Brian Paul <brianp@vmware.com> |
4795 | -Date: Thu, 3 Apr 2014 08:45:42 -0600 |
4796 | -Subject: [PATCH 2/3] svga: replace sampler assertion with conditional |
4797 | - |
4798 | -For TEX instructions, the set of samplers and sampler views should |
4799 | -be consistent. The XA state tracker sometimes passes an inconsistent |
4800 | -set of samplers and sampler views. Rather than assert and die, issue |
4801 | -a warning. |
4802 | - |
4803 | -v2: add debugging code to detect inconsistent state. |
4804 | -v3: also check for null sampler in svga_state_tss.c |
4805 | - |
4806 | -Cc: "10.0" "10.1" <mesa-stable@lists.freedesktop.org> |
4807 | -Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> |
4808 | ---- |
4809 | - src/gallium/drivers/svga/svga_state_fs.c | 36 +++++++++++++++++++++++++++---- |
4810 | - src/gallium/drivers/svga/svga_state_tss.c | 2 +- |
4811 | - 2 files changed, 33 insertions(+), 5 deletions(-) |
4812 | - |
4813 | -diff --git a/src/gallium/drivers/svga/svga_state_fs.c b/src/gallium/drivers/svga/svga_state_fs.c |
4814 | -index dde739c..7931528 100644 |
4815 | ---- a/src/gallium/drivers/svga/svga_state_fs.c |
4816 | -+++ b/src/gallium/drivers/svga/svga_state_fs.c |
4817 | -@@ -235,15 +235,43 @@ make_fs_key(const struct svga_context *svga, |
4818 | - if (svga->curr.blend->need_white_fragments) { |
4819 | - key->white_fragments = 1; |
4820 | - } |
4821 | -- |
4822 | -+ |
4823 | -+#ifdef DEBUG |
4824 | -+ /* |
4825 | -+ * We expect a consistent set of samplers and sampler views. |
4826 | -+ * Do some debug checks/warnings here. |
4827 | -+ */ |
4828 | -+ { |
4829 | -+ static boolean warned = FALSE; |
4830 | -+ unsigned i, n = MAX2(svga->curr.num_sampler_views, |
4831 | -+ svga->curr.num_samplers); |
4832 | -+ /* Only warn once to prevent too much debug output */ |
4833 | -+ if (!warned) { |
4834 | -+ if (svga->curr.num_sampler_views != svga->curr.num_samplers) { |
4835 | -+ debug_printf("svga: mismatched number of sampler views (%u) " |
4836 | -+ "vs. samplers (%u)\n", |
4837 | -+ svga->curr.num_sampler_views, |
4838 | -+ svga->curr.num_samplers); |
4839 | -+ } |
4840 | -+ for (i = 0; i < n; i++) { |
4841 | -+ if ((svga->curr.sampler_views[i] == NULL) != |
4842 | -+ (svga->curr.sampler[i] == NULL)) |
4843 | -+ debug_printf("sampler_view[%u] = %p but sampler[%u] = %p\n", |
4844 | -+ i, svga->curr.sampler_views[i], |
4845 | -+ i, svga->curr.sampler[i]); |
4846 | -+ } |
4847 | -+ warned = TRUE; |
4848 | -+ } |
4849 | -+ } |
4850 | -+#endif |
4851 | -+ |
4852 | - /* XXX: want to limit this to the textures that the shader actually |
4853 | - * refers to. |
4854 | - * |
4855 | - * SVGA_NEW_TEXTURE_BINDING | SVGA_NEW_SAMPLER |
4856 | - */ |
4857 | - for (i = 0; i < svga->curr.num_sampler_views; i++) { |
4858 | -- if (svga->curr.sampler_views[i]) { |
4859 | -- assert(svga->curr.sampler[i]); |
4860 | -+ if (svga->curr.sampler_views[i] && svga->curr.sampler[i]) { |
4861 | - assert(svga->curr.sampler_views[i]->texture); |
4862 | - key->tex[i].texture_target = svga->curr.sampler_views[i]->texture->target; |
4863 | - if (!svga->curr.sampler[i]->normalized_coords) { |
4864 | -@@ -262,7 +290,7 @@ make_fs_key(const struct svga_context *svga, |
4865 | - |
4866 | - idx = 0; |
4867 | - for (i = 0; i < svga->curr.num_samplers; ++i) { |
4868 | -- if (svga->curr.sampler_views[i]) { |
4869 | -+ if (svga->curr.sampler_views[i] && svga->curr.sampler[i]) { |
4870 | - struct pipe_resource *tex = svga->curr.sampler_views[i]->texture; |
4871 | - struct svga_texture *stex = svga_texture(tex); |
4872 | - SVGA3dSurfaceFormat format = stex->key.format; |
4873 | -diff --git a/src/gallium/drivers/svga/svga_state_tss.c b/src/gallium/drivers/svga/svga_state_tss.c |
4874 | -index 988372f..0ab571c 100644 |
4875 | ---- a/src/gallium/drivers/svga/svga_state_tss.c |
4876 | -+++ b/src/gallium/drivers/svga/svga_state_tss.c |
4877 | -@@ -85,7 +85,7 @@ update_tss_binding(struct svga_context *svga, |
4878 | - struct pipe_sampler_view *sv = svga->curr.sampler_views[i]; |
4879 | - |
4880 | - /* get min max lod */ |
4881 | -- if (sv) { |
4882 | -+ if (sv && s) { |
4883 | - min_lod = MAX2(0, (s->view_min_lod + sv->u.tex.first_level)); |
4884 | - max_lod = MIN2(s->view_max_lod + sv->u.tex.first_level, |
4885 | - sv->texture->last_level); |
4886 | --- |
4887 | -1.9.1 |
4888 | - |
4889 | |
4890 | === added file 'docs/relnotes/10.1.1.html' |
4891 | --- docs/relnotes/10.1.1.html 1970-01-01 00:00:00 +0000 |
4892 | +++ docs/relnotes/10.1.1.html 2024-05-07 03:08:38 +0000 |
4893 | @@ -0,0 +1,254 @@ |
4894 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
4895 | +<html lang="en"> |
4896 | +<head> |
4897 | + <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
4898 | + <title>Mesa Release Notes</title> |
4899 | + <link rel="stylesheet" type="text/css" href="../mesa.css"> |
4900 | +</head> |
4901 | +<body> |
4902 | + |
4903 | +<div class="header"> |
4904 | + <h1>The Mesa 3D Graphics Library</h1> |
4905 | +</div> |
4906 | + |
4907 | +<iframe src="../contents.html"></iframe> |
4908 | +<div class="content"> |
4909 | + |
4910 | +<h1>Mesa 10.1.1 Release Notes / (April 18, 2014)</h1> |
4911 | + |
4912 | +<p> |
4913 | +Mesa 10.1.1 is a bug fix release which fixes bugs found since the 10.1 release. |
4914 | +</p> |
4915 | +<p> |
4916 | +Mesa 10.1.1 implements the OpenGL 3.3 API, but the version reported by |
4917 | +glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / |
4918 | +glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. |
4919 | +Some drivers don't support all the features required in OpenGL 3.3. OpenGL |
4920 | +3.3 is <strong>only</strong> available if requested at context creation |
4921 | +because compatibility contexts are not supported. |
4922 | +</p> |
4923 | + |
4924 | + |
4925 | +<h2>MD5 checksums</h2> |
4926 | +<pre> |
4927 | +96e63674ccfa98e7ec6eb4fee3f770c3 MesaLib-10.1.1.tar.gz |
4928 | +1fde7ed079df7aeb9b6a744ca033de8d MesaLib-10.1.1.tar.bz2 |
4929 | +e64d0a562638664b13d2edf22321df59 MesaLib-10.1.1.zip |
4930 | +</pre> |
4931 | + |
4932 | + |
4933 | +<h2>New features</h2> |
4934 | +<p>None</p> |
4935 | + |
4936 | +<h2>Bug fixes</h2> |
4937 | + |
4938 | +<ul> |
4939 | + |
4940 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=71547">Bug 71547</a> - compilation failure :#error "SSE4.1 instruction set not enabled"</li> |
4941 | + |
4942 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=74868">Bug 74868</a> - r600g: Diablo III Crashes After a few minutes</li> |
4943 | + |
4944 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=74988">Bug 74988</a> - Buffer overrun (segfault) decompressing ETC2 texture in GLBenchmark 3.0 Manhattan</li> |
4945 | + |
4946 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=75279">Bug 75279</a> - XCloseDisplay() takes one minute around nouveau_dri.so, freezing Firefox startup</li> |
4947 | + |
4948 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=75543">Bug 75543</a> - OSMesa Gallium OSMesaMakeCurrent</li> |
4949 | + |
4950 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=75660">Bug 75660</a> - u_inlines.h:277:pipe_buffer_map_range: Assertion `length' failed.</li> |
4951 | + |
4952 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=76323">Bug 76323</a> - GLSL compiler ignores layout(binding=N) on uniform blocks</li> |
4953 | + |
4954 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=76377">Bug 76377</a> - DRI3 should only be enabled on Linux due to a udev dependency</li> |
4955 | + |
4956 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=76749">Bug 76749</a> - [HSW] DOTA world lighting has no effect</li> |
4957 | + |
4958 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=77102">Bug 77102</a> - gallium nouveau has no profile in vdpau and libva</li> |
4959 | + |
4960 | +<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=77207">Bug 77207</a> - [ivb/hsw] batch overwritten with garbage</li> |
4961 | + |
4962 | +</ul> |
4963 | + |
4964 | +<h2>Changes</h2> |
4965 | + |
4966 | +<p>Aaron Watry (1):</p> |
4967 | +<ul> |
4968 | + <li>gallium/util: Fix memory leak</li> |
4969 | +</ul> |
4970 | + |
4971 | +<p>Alexander von Gluck IV (1):</p> |
4972 | +<ul> |
4973 | + <li>haiku: Fix build through scons corrections and viewport fixes</li> |
4974 | +</ul> |
4975 | + |
4976 | +<p>Anuj Phogat (2):</p> |
4977 | +<ul> |
4978 | + <li>mesa: Set initial internal format of a texture to GL_RGBA</li> |
4979 | + <li>mesa: Allow GL_DEPTH_COMPONENT and GL_DEPTH_STENCIL combinations in glTexImage{123}D()</li> |
4980 | +</ul> |
4981 | + |
4982 | +<p>Brian Paul (12):</p> |
4983 | +<ul> |
4984 | + <li>softpipe: use 64-bit arithmetic in softpipe_resource_layout()</li> |
4985 | + <li>mesa: don't call ctx->Driver.ClearBufferSubData() if size==0</li> |
4986 | + <li>st/osmesa: check buffer size when searching for buffers</li> |
4987 | + <li>mesa: fix copy & paste bugs in pack_ubyte_SARGB8()</li> |
4988 | + <li>mesa: fix copy & paste bugs in pack_ubyte_SRGB8()</li> |
4989 | + <li>c11/threads: don't include assert.h if the assert macro is already defined</li> |
4990 | + <li>mesa: fix unpack_Z32_FLOAT_X24S8() / unpack_Z32_FLOAT() mix-up</li> |
4991 | + <li>st/mesa: add null pointer checking in query object functions</li> |
4992 | + <li>mesa: fix glMultiDrawArrays inside a display list</li> |
4993 | + <li>cso: fix sampler view count in cso_set_sampler_views()</li> |
4994 | + <li>svga: replace sampler assertion with conditional</li> |
4995 | + <li>svga: move LIST_INITHEAD(dirty_buffers) earlier in svga_context_create()</li> |
4996 | +</ul> |
4997 | + |
4998 | +<p>Carl Worth (3):</p> |
4999 | +<ul> |
5000 | + <li>cherry-ignore: Ignore a few patches</li> |
The diff has been truncated for viewing.