Lines 1-45
Link Here
|
1 |
--- configure.orig 2015-12-22 17:04:20.271630000 +0100 |
1 |
--- configure.orig 2017-01-05 15:52:21 UTC |
2 |
+++ configure 2015-12-22 17:05:17.669976000 +0100 |
2 |
+++ configure |
3 |
@@ -858,6 +858,8 @@ |
3 |
@@ -1962,7 +1962,7 @@ Optional Features: |
4 |
GLPROTO_CFLAGS |
4 |
Disable writable .text section on x86 (decreases |
5 |
XLIBGL_LIBS |
5 |
performance) [default=disabled] |
6 |
XLIBGL_CFLAGS |
6 |
--enable-gallium-llvm build gallium LLVM support [default=enabled on |
7 |
+LIBDEVQ_LIBS |
7 |
- x86/x86_64] |
8 |
+LIBDEVQ_CFLAGS |
8 |
+ x86/amd64] |
9 |
LIBUDEV_LIBS |
9 |
--enable-llvm-shared-libs |
10 |
LIBUDEV_CFLAGS |
10 |
link with LLVM shared libraries [default=enabled] |
11 |
MESA_LLVM |
11 |
--enable-valgrind Build mesa with valgrind support (default: auto) |
12 |
@@ -1156,6 +1158,8 @@ |
12 |
@@ -9622,7 +9622,7 @@ mips64*-*linux*) |
13 |
LIBDRM_LIBS |
13 |
rm -rf conftest* |
14 |
LIBUDEV_CFLAGS |
14 |
;; |
15 |
LIBUDEV_LIBS |
|
|
16 |
+LIBDEVQ_CFLAGS |
17 |
+LIBDEVQ_LIBS |
18 |
XLIBGL_CFLAGS |
19 |
XLIBGL_LIBS |
20 |
GLPROTO_CFLAGS |
21 |
@@ -1966,6 +1970,10 @@ |
22 |
C compiler flags for LIBUDEV, overriding pkg-config |
23 |
LIBUDEV_LIBS |
24 |
linker flags for LIBUDEV, overriding pkg-config |
25 |
+ LIBDEVQ_CFLAGS |
26 |
+ C compiler flags for LIBDEVQ, overriding pkg-config |
27 |
+ LIBDEVQ_LIBS |
28 |
+ linker flags for LIBDEVQ, overriding pkg-config |
29 |
XLIBGL_CFLAGS |
30 |
C compiler flags for XLIBGL, overriding pkg-config |
31 |
XLIBGL_LIBS linker flags for XLIBGL, overriding pkg-config |
32 |
@@ -5246,6 +5254,7 @@ |
33 |
DRI3PROTO_REQUIRED=1.0 |
34 |
PRESENTPROTO_REQUIRED=1.0 |
35 |
LIBUDEV_REQUIRED=151 |
36 |
+LIBDEVQ_REQUIRED=0.0.2 |
37 |
GLPROTO_REQUIRED=1.4.14 |
38 |
LIBOMXIL_BELLAGIO_REQUIRED=0.0 |
39 |
LIBVA_REQUIRED=0.35.0 |
40 |
@@ -21035,7 +21044,7 @@ |
41 |
|
15 |
|
|
|
16 |
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
17 |
+amd64-*kfreebsd*-gnu|amd64-*linux*|powerpc*-*linux*| \ |
18 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
19 |
# Find out what ABI is being produced by ac_compile, and set linker |
20 |
# options accordingly. Note that the listed cases only cover the |
21 |
@@ -9639,13 +9639,13 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* |
22 |
case `/usr/bin/file conftest.o` in |
23 |
*32-bit*) |
24 |
case $host in |
25 |
- x86_64-*kfreebsd*-gnu) |
26 |
+ amd64-*kfreebsd*-gnu) |
27 |
LD="${LD-ld} -m elf_i386_fbsd" |
28 |
;; |
29 |
- x86_64-*linux*) |
30 |
+ amd64-*linux*) |
31 |
case `/usr/bin/file conftest.o` in |
32 |
*x86-64*) |
33 |
- LD="${LD-ld} -m elf32_x86_64" |
34 |
+ LD="${LD-ld} -m elf32_amd64" |
35 |
;; |
36 |
*) |
37 |
LD="${LD-ld} -m elf_i386" |
38 |
@@ -9668,11 +9668,11 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* |
39 |
;; |
40 |
*64-bit*) |
41 |
case $host in |
42 |
- x86_64-*kfreebsd*-gnu) |
43 |
- LD="${LD-ld} -m elf_x86_64_fbsd" |
44 |
+ amd64-*kfreebsd*-gnu) |
45 |
+ LD="${LD-ld} -m elf_amd64_fbsd" |
46 |
;; |
47 |
- x86_64-*linux*) |
48 |
- LD="${LD-ld} -m elf_x86_64" |
49 |
+ amd64-*linux*) |
50 |
+ LD="${LD-ld} -m elf_amd64" |
51 |
;; |
52 |
powerpcle-*linux*) |
53 |
LD="${LD-ld} -m elf64lppc" |
54 |
@@ -9754,8 +9754,8 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; } |
55 |
case $lt_cv_prog_gnu_ld in |
56 |
yes*) |
57 |
case $host in |
58 |
- i?86-*-solaris*|x86_64-*-solaris*) |
59 |
- LD="${LD-ld} -m elf_x86_64" |
60 |
+ i?86-*-solaris*|amd64-*-solaris*) |
61 |
+ LD="${LD-ld} -m elf_amd64" |
62 |
;; |
63 |
sparc*-*-solaris*) |
64 |
LD="${LD-ld} -m elf64_sparc" |
65 |
@@ -11464,7 +11464,7 @@ lt_prog_compiler_static= |
42 |
|
66 |
|
|
|
67 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
68 |
case $cc_basename in |
69 |
- # old Intel for x86_64, which still supported -KPIC. |
70 |
+ # old Intel for amd64, which still supported -KPIC. |
71 |
ecc*) |
72 |
lt_prog_compiler_wl='-Wl,' |
73 |
lt_prog_compiler_pic='-KPIC' |
74 |
@@ -11907,7 +11907,7 @@ $as_echo_n "checking whether the $compil |
75 |
hardcode_minus_L=no |
76 |
hardcode_shlibpath_var=unsupported |
77 |
inherit_rpath=no |
78 |
- link_all_deplibs=unknown |
79 |
+ link_all_deplibs=no |
80 |
module_cmds= |
81 |
module_expsym_cmds= |
82 |
old_archive_from_new_cmds= |
83 |
@@ -12206,7 +12206,7 @@ _LT_EOF |
84 |
wlarc= |
85 |
else |
86 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
87 |
- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
88 |
+ archive_expsym_cmds='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' |
89 |
fi |
90 |
;; |
91 |
|
92 |
@@ -12225,7 +12225,7 @@ _LT_EOF |
93 |
_LT_EOF |
94 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
95 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
96 |
- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
97 |
+ archive_expsym_cmds='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' |
98 |
else |
99 |
ld_shlibs=no |
100 |
fi |
101 |
@@ -12254,7 +12254,7 @@ _LT_EOF |
102 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
103 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
104 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
105 |
- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
106 |
+ archive_expsym_cmds='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' |
107 |
else |
108 |
ld_shlibs=no |
109 |
fi |
110 |
@@ -12272,7 +12272,7 @@ _LT_EOF |
111 |
*) |
112 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
113 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
114 |
- archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
115 |
+ archive_expsym_cmds='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' |
116 |
else |
117 |
ld_shlibs=no |
118 |
fi |
119 |
@@ -12920,7 +12920,7 @@ $as_echo "$lt_cv_irix_exported_symbol" > |
120 |
hardcode_direct_absolute=yes |
121 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
122 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
123 |
- archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' |
124 |
+ archive_expsym_cmds='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-version-script,$lib-ver' |
125 |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
126 |
export_dynamic_flag_spec='$wl-E' |
127 |
else |
128 |
@@ -13769,7 +13769,7 @@ freebsd* | dragonfly*) |
129 |
version_type=freebsd-$objformat |
130 |
case $version_type in |
131 |
freebsd-elf*) |
132 |
- library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
133 |
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' |
134 |
soname_spec='$libname$release$shared_ext$major' |
135 |
need_version=no |
136 |
need_lib_prefix=no |
137 |
@@ -14901,7 +14901,7 @@ striplib= |
138 |
old_striplib= |
139 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
140 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
141 |
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
142 |
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "strip" >/dev/null; then |
143 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
144 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
146 |
@@ -15153,7 +15153,7 @@ hardcode_automatic_CXX=no |
147 |
inherit_rpath_CXX=no |
148 |
module_cmds_CXX= |
149 |
module_expsym_cmds_CXX= |
150 |
-link_all_deplibs_CXX=unknown |
151 |
+link_all_deplibs_CXX=no |
152 |
old_archive_cmds_CXX=$old_archive_cmds |
153 |
reload_flag_CXX=$reload_flag |
154 |
reload_cmds_CXX=$reload_cmds |
155 |
@@ -15364,7 +15364,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld |
156 |
# archiving commands below assume that GNU ld is being used. |
157 |
if test yes = "$with_gnu_ld"; then |
158 |
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
159 |
- archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
160 |
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' |
161 |
|
162 |
hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' |
163 |
export_dynamic_flag_spec_CXX='$wl--export-dynamic' |
164 |
@@ -16056,7 +16056,7 @@ fi |
165 |
case `$CC -V 2>&1` in |
166 |
*"Version 7."*) |
167 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
168 |
- archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
169 |
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' |
170 |
;; |
171 |
*) # Version 8.0 or newer |
172 |
tmp_idyn= |
173 |
@@ -16064,7 +16064,7 @@ fi |
174 |
ia64*) tmp_idyn=' -i_dynamic';; |
175 |
esac |
176 |
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
177 |
- archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
178 |
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' |
179 |
;; |
180 |
esac |
181 |
archive_cmds_need_lc_CXX=no |
182 |
@@ -16096,7 +16096,7 @@ fi |
183 |
;; |
184 |
*) # Version 6 and above use weak symbols |
185 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
186 |
- archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
187 |
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' |
188 |
;; |
189 |
esac |
190 |
|
191 |
@@ -16107,7 +16107,7 @@ fi |
192 |
cxx*) |
193 |
# Compaq C++ |
194 |
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
195 |
- archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' |
196 |
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-version-script $wl$lib-ver' |
197 |
|
198 |
runpath_var=LD_RUN_PATH |
199 |
hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
200 |
@@ -16141,7 +16141,7 @@ fi |
201 |
# Sun C++ 5.9 |
202 |
no_undefined_flag_CXX=' -zdefs' |
203 |
archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
204 |
- archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' |
205 |
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-version-script $wl$lib-ver' |
206 |
hardcode_libdir_flag_spec_CXX='-R$libdir' |
207 |
whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
208 |
compiler_needs_object_CXX=yes |
209 |
@@ -16209,7 +16209,7 @@ fi |
210 |
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
211 |
hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' |
212 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then |
213 |
- archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' |
214 |
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-version-script,$lib-ver -o $lib' |
215 |
export_dynamic_flag_spec_CXX='$wl-E' |
216 |
whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
217 |
fi |
218 |
@@ -16844,7 +16844,7 @@ lt_prog_compiler_static_CXX= |
219 |
lt_prog_compiler_pic_CXX='-fPIC' |
220 |
;; |
221 |
ecpc* ) |
222 |
- # old Intel C++ for x86_64, which still supported -KPIC. |
223 |
+ # old Intel C++ for amd64, which still supported -KPIC. |
224 |
lt_prog_compiler_wl_CXX='-Wl,' |
225 |
lt_prog_compiler_pic_CXX='-KPIC' |
226 |
lt_prog_compiler_static_CXX='-static' |
227 |
@@ -17731,7 +17731,7 @@ freebsd* | dragonfly*) |
228 |
version_type=freebsd-$objformat |
229 |
case $version_type in |
230 |
freebsd-elf*) |
231 |
- library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
232 |
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' |
233 |
soname_spec='$libname$release$shared_ext$major' |
234 |
need_version=no |
235 |
need_lib_prefix=no |
236 |
@@ -20328,7 +20328,7 @@ if ac_fn_c_try_compile "$LINENO"; then : |
237 |
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do |
238 |
if test -n "$ac_prev"; then |
239 |
case $ac_word in |
240 |
- i?86 | x86_64 | ppc | ppc64) |
241 |
+ i?86 | amd64 | ppc | ppc64) |
242 |
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then |
243 |
ac_arch=$ac_word |
244 |
else |
245 |
@@ -20915,10 +20915,10 @@ asm_arch="" |
246 |
$as_echo_n "checking whether to enable assembly... " >&6; } |
247 |
test "x$enable_asm" = xno && { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
248 |
$as_echo "no" >&6; } |
249 |
-# disable if cross compiling on x86/x86_64 since we must run gen_matypes |
250 |
+# disable if cross compiling on x86/amd64 since we must run gen_matypes |
251 |
if test "x$enable_asm" = xyes -a "x$cross_compiling" = xyes; then |
252 |
case "$host_cpu" in |
253 |
- i?86 | x86_64 | amd64) |
254 |
+ i?86 | amd64 | amd64) |
255 |
if test "x$host_cpu" != "x$target_cpu"; then |
256 |
enable_asm=no |
257 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, cross compiling" >&5 |
258 |
@@ -20937,10 +20937,10 @@ if test "x$enable_asm" = xyes; then |
259 |
;; |
260 |
esac |
261 |
;; |
262 |
- x86_64|amd64) |
263 |
+ amd64|amd64) |
264 |
case "$host_os" in |
265 |
linux* | *freebsd* | dragonfly* | *netbsd* | openbsd*) |
266 |
- asm_arch=x86_64 |
267 |
+ asm_arch=amd64 |
268 |
;; |
269 |
esac |
270 |
;; |
271 |
@@ -20959,10 +20959,10 @@ if test "x$enable_asm" = xyes; then |
272 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, x86" >&5 |
273 |
$as_echo "yes, x86" >&6; } |
274 |
;; |
275 |
- x86_64|amd64) |
276 |
+ amd64|amd64) |
277 |
DEFINES="$DEFINES -DUSE_X86_64_ASM" |
278 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, x86_64" >&5 |
279 |
-$as_echo "yes, x86_64" >&6; } |
280 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, amd64" >&5 |
281 |
+$as_echo "yes, amd64" >&6; } |
282 |
;; |
283 |
sparc) |
284 |
DEFINES="$DEFINES -DUSE_SPARC_ASM" |
285 |
@@ -21955,7 +21955,7 @@ fi |
286 |
|
287 |
|
43 |
case "$host_os" in |
288 |
case "$host_os" in |
44 |
-linux*) |
289 |
-linux*) |
45 |
+linux*|freebsd*) |
290 |
+linux*|freebsd*) |
Lines 46-153
Link Here
|
46 |
dri3_default=yes |
291 |
dri3_default=yes |
47 |
;; |
292 |
;; |
48 |
*) |
293 |
*) |
49 |
@@ -21543,6 +21552,78 @@ |
294 |
@@ -23968,6 +23968,18 @@ if test "x$enable_dri" = xyes; then |
50 |
have_libudev=yes |
|
|
51 |
fi |
52 |
|
53 |
+ |
54 |
+pkg_failed=no |
55 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDEVQ" >&5 |
56 |
+$as_echo_n "checking for LIBDEVQ... " >&6; } |
57 |
+ |
58 |
+if test -n "$LIBDEVQ_CFLAGS"; then |
59 |
+ pkg_cv_LIBDEVQ_CFLAGS="$LIBDEVQ_CFLAGS" |
60 |
+ elif test -n "$PKG_CONFIG"; then |
61 |
+ if test -n "$PKG_CONFIG" && \ |
62 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdevq-1.0 >= \$LIBDEVQ_REQUIRED\""; } >&5 |
63 |
+ ($PKG_CONFIG --exists --print-errors "libdevq-1.0 >= $LIBDEVQ_REQUIRED") 2>&5 |
64 |
+ ac_status=$? |
65 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
66 |
+ test $ac_status = 0; }; then |
67 |
+ pkg_cv_LIBDEVQ_CFLAGS=`$PKG_CONFIG --cflags "libdevq-1.0 >= $LIBDEVQ_REQUIRED" 2>/dev/null` |
68 |
+ test "x$?" != "x0" && pkg_failed=yes |
69 |
+else |
70 |
+ pkg_failed=yes |
71 |
+fi |
72 |
+ else |
73 |
+ pkg_failed=untried |
74 |
+fi |
75 |
+if test -n "$LIBDEVQ_LIBS"; then |
76 |
+ pkg_cv_LIBDEVQ_LIBS="$LIBDEVQ_LIBS" |
77 |
+ elif test -n "$PKG_CONFIG"; then |
78 |
+ if test -n "$PKG_CONFIG" && \ |
79 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdevq-1.0 >= \$LIBDEVQ_REQUIRED\""; } >&5 |
80 |
+ ($PKG_CONFIG --exists --print-errors "libdevq-1.0 >= $LIBDEVQ_REQUIRED") 2>&5 |
81 |
+ ac_status=$? |
82 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
83 |
+ test $ac_status = 0; }; then |
84 |
+ pkg_cv_LIBDEVQ_LIBS=`$PKG_CONFIG --libs "libdevq-1.0 >= $LIBDEVQ_REQUIRED" 2>/dev/null` |
85 |
+ test "x$?" != "x0" && pkg_failed=yes |
86 |
+else |
87 |
+ pkg_failed=yes |
88 |
+fi |
89 |
+ else |
90 |
+ pkg_failed=untried |
91 |
+fi |
92 |
+ |
93 |
+ |
94 |
+ |
95 |
+if test $pkg_failed = yes; then |
96 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
97 |
+$as_echo "no" >&6; } |
98 |
+ |
99 |
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
100 |
+ _pkg_short_errors_supported=yes |
101 |
+else |
102 |
+ _pkg_short_errors_supported=no |
103 |
+fi |
104 |
+ if test $_pkg_short_errors_supported = yes; then |
105 |
+ LIBDEVQ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdevq-1.0 >= $LIBDEVQ_REQUIRED" 2>&1` |
106 |
+ else |
107 |
+ LIBDEVQ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdevq-1.0 >= $LIBDEVQ_REQUIRED" 2>&1` |
108 |
+ fi |
109 |
+ # Put the nasty error message in config.log where it belongs |
110 |
+ echo "$LIBDEVQ_PKG_ERRORS" >&5 |
111 |
+ |
112 |
+ have_libdevq=no |
113 |
+elif test $pkg_failed = untried; then |
114 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
115 |
+$as_echo "no" >&6; } |
116 |
+ have_libdevq=no |
117 |
+else |
118 |
+ LIBDEVQ_CFLAGS=$pkg_cv_LIBDEVQ_CFLAGS |
119 |
+ LIBDEVQ_LIBS=$pkg_cv_LIBDEVQ_LIBS |
120 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
121 |
+$as_echo "yes" >&6; } |
122 |
+ have_libdevq=yes |
123 |
+fi |
124 |
+ |
125 |
# Check whether --enable-sysfs was given. |
126 |
if test "${enable_sysfs+set}" = set; then : |
127 |
enableval=$enable_sysfs; have_sysfs="$enableval" |
128 |
@@ -22258,6 +22339,10 @@ |
129 |
DEFINES="$DEFINES -DHAVE_LIBUDEV" |
130 |
have_pci_id=yes |
131 |
fi |
132 |
+if test "$have_libdevq" = yes; then |
133 |
+ DEFINES="$DEFINES -DHAVE_LIBDEVQ" |
134 |
+ have_pci_id=yes |
135 |
+fi |
136 |
|
137 |
if test "$have_sysfs" = yes; then |
138 |
DEFINES="$DEFINES -DHAVE_SYSFS" |
139 |
@@ -22396,6 +22481,22 @@ |
140 |
;; |
295 |
;; |
141 |
gnu*) |
296 |
*freebsd* | dragonfly* | *netbsd* | openbsd*) |
142 |
DEFINES="$DEFINES -DHAVE_ALIAS" |
297 |
DEFINES="$DEFINES -DHAVE_ALIAS" |
143 |
+ if test "x$enable_dri3" = xyes; then |
298 |
+ if test "x$enable_dri3" = xyes; then |
144 |
+ DEFINES="$DEFINES -DHAVE_DRI3" |
299 |
+ DEFINES="$DEFINES -DHAVE_DRI3" |
145 |
+ fi |
300 |
+ fi |
146 |
+ |
301 |
+ |
147 |
+ if test "x$have_libdevq" != xyes; then |
|
|
148 |
+ as_fn_error $? "libdevq required for building DRI" "$LINENO" 5 |
149 |
+ fi |
150 |
+ |
151 |
+ case "$host_cpu" in |
302 |
+ case "$host_cpu" in |
152 |
+ powerpc* | sparc*) |
303 |
+ powerpc* | sparc*) |
153 |
+ # Build only the drivers for cards that exist on PowerPC/sparc |
304 |
+ # Build only the drivers for cards that exist on PowerPC/sparc |
Lines 157-174
Link Here
|
157 |
+ ;; |
308 |
+ ;; |
158 |
+ esac |
309 |
+ esac |
159 |
;; |
310 |
;; |
160 |
cygwin*) |
311 |
gnu*) |
161 |
if test "x$with_dri_drivers" = "xyes"; then |
312 |
DEFINES="$DEFINES -DHAVE_ALIAS" |
162 |
@@ -23195,6 +23296,8 @@ |
313 |
@@ -25849,9 +25861,19 @@ if test "x$enable_opencl" = xyes; then |
163 |
|
|
|
164 |
if test "x$need_pci_id$have_libudev" = xyesyes; then |
165 |
GBM_PC_REQ_PRIV="libudev >= $LIBUDEV_REQUIRED" |
166 |
+elif test "x$need_libdevq" = xyes; then |
167 |
+ GBM_PC_REQ_PRIV="libdevq-1.0 >= $LIBDEVQ_REQUIRED" |
168 |
else |
169 |
GBM_PC_REQ_PRIV="" |
170 |
fi |
171 |
@@ -24018,9 +24121,19 @@ |
172 |
as_fn_error $? "cannot enable OpenCL without Gallium" "$LINENO" 5 |
314 |
as_fn_error $? "cannot enable OpenCL without Gallium" "$LINENO" 5 |
173 |
fi |
315 |
fi |
174 |
|
316 |
|
Lines 188-194
Link Here
|
188 |
|
330 |
|
189 |
if test "x$have_libclc" = xno; then |
331 |
if test "x$have_libclc" = xno; then |
190 |
as_fn_error $? "pkg-config cannot find libclc.pc which is required to build clover. |
332 |
as_fn_error $? "pkg-config cannot find libclc.pc which is required to build clover. |
191 |
@@ -24835,9 +24948,6 @@ |
333 |
@@ -26375,26 +26397,26 @@ fi |
|
|
334 |
strip_unwanted_llvm_flags() { |
335 |
# Use \> (marks the end of the word) |
336 |
echo `$1` | sed \ |
337 |
- -e 's/-march=\S*//g' \ |
338 |
- -e 's/-mtune=\S*//g' \ |
339 |
- -e 's/-mcpu=\S*//g' \ |
340 |
- -e 's/-DNDEBUG\>//g' \ |
341 |
- -e 's/-D_GNU_SOURCE\>//g' \ |
342 |
- -e 's/-pedantic\>//g' \ |
343 |
- -e 's/-Wcovered-switch-default\>//g' \ |
344 |
- -e 's/-O.\>//g' \ |
345 |
- -e 's/-g\>//g' \ |
346 |
- -e 's/-Wall\>//g' \ |
347 |
- -e 's/-Wcast-qual\>//g' \ |
348 |
- -e 's/-Woverloaded-virtual\>//g' \ |
349 |
- -e 's/-fcolor-diagnostics\>//g' \ |
350 |
- -e 's/-fdata-sections\>//g' \ |
351 |
- -e 's/-ffunction-sections\>//g' \ |
352 |
- -e 's/-fno-exceptions\>//g' \ |
353 |
- -e 's/-fomit-frame-pointer\>//g' \ |
354 |
- -e 's/-fvisibility-inlines-hidden\>//g' \ |
355 |
- -e 's/-fPIC\>//g' \ |
356 |
- -e 's/-fstack-protector-strong\>//g' |
357 |
+ -e 's/-march=[:graph:]* //g' \ |
358 |
+ -e 's/-mtune=[:graph:]* //g' \ |
359 |
+ -e 's/-mcpu=[:graph:]* //g' \ |
360 |
+ -e 's/-DNDEBUG[[:>:]]//g' \ |
361 |
+ -e 's/-D_GNU_SOURCE[[:>:]]//g' \ |
362 |
+ -e 's/-pedantic[[:>:]]//g' \ |
363 |
+ -e 's/-Wcovered-switch-default[[:>:]]//g' \ |
364 |
+ -e 's/-O.[[:>:]]//g' \ |
365 |
+ -e 's/-g[[:>:]]//g' \ |
366 |
+ -e 's/-Wall[[:>:]]//g' \ |
367 |
+ -e 's/-Wcast-qual[[:>:]]//g' \ |
368 |
+ -e 's/-Woverloaded-virtual[[:>:]]//g' \ |
369 |
+ -e 's/-fcolor-diagnostics[[:>:]]//g' \ |
370 |
+ -e 's/-fdata-sections[[:>:]]//g' \ |
371 |
+ -e 's/-ffunction-sections[[:>:]]//g' \ |
372 |
+ -e 's/-fno-exceptions[[:>:]]//g' \ |
373 |
+ -e 's/-fomit-frame-pointer[[:>:]]//g' \ |
374 |
+ -e 's/-fvisibility-inlines-hidden[[:>:]]//g' \ |
375 |
+ -e 's/-fPIC[[:>:]]//g' \ |
376 |
+ -e 's/-fstack-protector-strong[[:>:]]//g' |
377 |
} |
378 |
|
379 |
llvm_check_version_for() { |
380 |
@@ -26410,7 +26432,7 @@ if test -z "$with_gallium_drivers"; then |
381 |
fi |
382 |
if test "x$enable_gallium_llvm" = xauto; then |
383 |
case "$host_cpu" in |
384 |
- i*86|x86_64|amd64) enable_gallium_llvm=yes;; |
385 |
+ i*86|amd64|amd64) enable_gallium_llvm=yes;; |
386 |
esac |
387 |
fi |
388 |
if test "x$enable_gallium_llvm" = xyes || test "x$HAVE_RADEON_VULKAN" = xyes; then |
389 |
@@ -26670,9 +26692,6 @@ fi |
192 |
CLANG_LIBDIR=${LLVM_LIBDIR} |
390 |
CLANG_LIBDIR=${LLVM_LIBDIR} |
193 |
fi |
391 |
fi |
194 |
CLANG_RESOURCE_DIR=$CLANG_LIBDIR/clang/${LLVM_VERSION} |
392 |
CLANG_RESOURCE_DIR=$CLANG_LIBDIR/clang/${LLVM_VERSION} |
Lines 198-200
Link Here
|
198 |
fi |
396 |
fi |
199 |
else |
397 |
else |
200 |
MESA_LLVM=0 |
398 |
MESA_LLVM=0 |
|
|
399 |
@@ -26752,7 +26771,7 @@ gallium_require_llvm() { |
400 |
if test "x$MESA_LLVM" = x0; then |
401 |
case "$host" in *gnux32) return;; esac |
402 |
case "$host_cpu" in |
403 |
- i*86|x86_64|amd64) as_fn_error $? "LLVM is required to build $1 on x86 and x86_64" "$LINENO" 5;; |
404 |
+ i*86|amd64|amd64) as_fn_error $? "LLVM is required to build $1 on x86 and amd64" "$LINENO" 5;; |
405 |
esac |
406 |
fi |
407 |
} |
408 |
@@ -28207,7 +28226,7 @@ else |
409 |
fi |
410 |
|
411 |
|
412 |
- if test "x$asm_arch" = xx86 -o "x$asm_arch" = xx86_64; then |
413 |
+ if test "x$asm_arch" = xx86 -o "x$asm_arch" = xamd64; then |
414 |
HAVE_X86_ASM_TRUE= |
415 |
HAVE_X86_ASM_FALSE='#' |
416 |
else |
417 |
@@ -28215,7 +28234,7 @@ else |
418 |
HAVE_X86_ASM_FALSE= |
419 |
fi |
420 |
|
421 |
- if test "x$asm_arch" = xx86_64; then |
422 |
+ if test "x$asm_arch" = xamd64; then |
423 |
HAVE_X86_64_ASM_TRUE= |
424 |
HAVE_X86_64_ASM_FALSE='#' |
425 |
else |