~ubuntu-branches/debian/sid/libvdpau/sid

« back to all changes in this revision

Viewing changes to debian/patches/autoreconf_-fi.patch

  • Committer: Bazaar Package Importer
  • Author(s): Russ Allbery, Andreas Beckmann, Russ Allbery
  • Date: 2010-05-22 19:11:37 UTC
  • Revision ID: james.westby@ubuntu.com-20100522191137-srxx0f7ec26jmofc
Tags: 0.4-4
[ Andreas Beckmann ]
* Build lib32vdpau1 [amd64], so we can replace nvidia-libvdpau-ia32.
  Build rules inspired by lib32z1. (Closes: #572206)
* lib32vdpau1: take over postinst script from nvidia-libvdpau-ia32.
* Add lib{,32}vdpau1.symbols.
* libvdpau-dev: do not ship /usr/lib/vdpau/libvdpau_trace.so, won't be used.
* libvdpau1: cleanup /usr/lib/libvdpau_trace.so left over by some old
  versions of the nvidia-libvdpau* packages.

[ Russ Allbery ]
* Link libvdpau with libX11 since it uses symbols from that library.
* Add myself to Uploaders.
* Convert debian/copyright to the DEP-5 format and add the slightly
  different license used for two of the source files.
* Version the Conflicts and Replaces against nvidia-libvdpau1*.
* Also remove /usr/lib/libvdpau_nvidia.so, left by some old versions of
  the nvidia-libvdpau* packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Patch that has changes after autoreconf -fi.
2
2
==========================================================================
3
 
--- a/Makefile.in
4
 
+++ b/Makefile.in
 
3
--- libvdpau.orig/Makefile.in
 
4
+++ libvdpau/Makefile.in
5
5
@@ -1,4 +1,4 @@
6
6
-# Makefile.in generated by automake 1.11 from Makefile.am.
7
7
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
58
58
        *.zip*) \
59
59
          unzip $(distdir).zip ;;\
60
60
        esac
61
 
--- a/aclocal.m4
62
 
+++ b/aclocal.m4
 
61
--- libvdpau.orig/aclocal.m4
 
62
+++ libvdpau/aclocal.m4
63
63
@@ -1,4 +1,4 @@
64
64
-# generated automatically by aclocal 1.11 -*- Autoconf -*-
65
65
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
178
178
 m4_ifndef([AC_AUTOCONF_VERSION],
179
179
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
180
180
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
181
 
--- a/config.guess
182
 
+++ b/config.guess
 
181
--- libvdpau.orig/config.guess
 
182
+++ libvdpau/config.guess
183
183
@@ -1,10 +1,10 @@
184
184
 #! /bin/sh
185
185
 # Attempt to guess a canonical system name.
186
186
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
187
187
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
188
 
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 
188
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
189
189
 #   Free Software Foundation, Inc.
190
190
 
191
191
-timestamp='2009-04-27'
192
 
+timestamp='2009-06-10'
 
192
+timestamp='2009-12-30'
193
193
 
194
194
 # This file is free software; you can redistribute it and/or modify it
195
195
 # under the terms of the GNU General Public License as published by
196
 
@@ -170,7 +170,7 @@
 
196
@@ -27,16 +27,16 @@
 
197
 # the same distribution terms that you use for the rest of that program.
 
198
 
 
199
 
 
200
-# Originally written by Per Bothner <per@bothner.com>.
 
201
-# Please send patches to <config-patches@gnu.org>.  Submit a context
 
202
-# diff and a properly formatted ChangeLog entry.
 
203
+# Originally written by Per Bothner.  Please send patches (context
 
204
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
 
205
+# entry.
 
206
 #
 
207
 # This script attempts to guess a canonical system name similar to
 
208
 # config.sub.  If it succeeds, it prints the system name on stdout, and
 
209
 # exits with 0.  Otherwise, it exits with 1.
 
210
 #
 
211
-# The plan is that this can be called by configure scripts if you
 
212
-# don't specify an explicit build system type.
 
213
+# You can get the latest version of this script from:
 
214
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
 
215
 
 
216
 me=`echo "$0" | sed -e 's,.*/,,'`
 
217
 
 
218
@@ -56,8 +56,9 @@
 
219
 GNU config.guess ($timestamp)
 
220
 
 
221
 Originally written by Per Bothner.
 
222
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
 
223
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
224
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
 
225
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
 
226
+Software Foundation, Inc.
 
227
 
 
228
 This is free software; see the source for copying conditions.  There is NO
 
229
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
 
230
@@ -170,7 +171,7 @@
197
231
            arm*|i386|m68k|ns32k|sh3*|sparc|vax)
198
232
                eval $set_cc_for_build
199
233
                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
202
236
                then
203
237
                    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
204
238
                    # Return netbsd for either.  FIX?
205
 
@@ -656,7 +656,7 @@
 
239
@@ -333,6 +334,9 @@
 
240
     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
 
241
        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 
242
        exit ;;
 
243
+    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
 
244
+       echo i386-pc-auroraux${UNAME_RELEASE}
 
245
+       exit ;;
 
246
     i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
 
247
        eval $set_cc_for_build
 
248
        SUN_ARCH="i386"
 
249
@@ -656,7 +660,7 @@
206
250
            # => hppa64-hp-hpux11.23
207
251
 
208
252
            if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
211
255
            then
212
256
                HP_ARCH="hppa2.0w"
213
257
            else
214
 
@@ -822,6 +822,9 @@
 
258
@@ -807,12 +811,12 @@
 
259
     i*:PW*:*)
 
260
        echo ${UNAME_MACHINE}-pc-pw32
 
261
        exit ;;
 
262
-    *:Interix*:[3456]*)
 
263
+    *:Interix*:*)
 
264
        case ${UNAME_MACHINE} in
 
265
            x86)
 
266
                echo i586-pc-interix${UNAME_RELEASE}
 
267
                exit ;;
 
268
-           EM64T | authenticamd | genuineintel)
 
269
+           authenticamd | genuineintel | EM64T)
 
270
                echo x86_64-unknown-interix${UNAME_RELEASE}
 
271
                exit ;;
 
272
            IA64)
 
273
@@ -822,6 +826,9 @@
215
274
     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
216
275
        echo i${UNAME_MACHINE}-pc-mks
217
276
        exit ;;
221
280
     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
222
281
        # How do we know it's Interix rather than the generic POSIX subsystem?
223
282
        # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
224
 
@@ -882,40 +885,17 @@
 
283
@@ -851,6 +858,20 @@
 
284
     i*86:Minix:*:*)
 
285
        echo ${UNAME_MACHINE}-pc-minix
 
286
        exit ;;
 
287
+    alpha:Linux:*:*)
 
288
+       case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
 
289
+         EV5)   UNAME_MACHINE=alphaev5 ;;
 
290
+         EV56)  UNAME_MACHINE=alphaev56 ;;
 
291
+         PCA56) UNAME_MACHINE=alphapca56 ;;
 
292
+         PCA57) UNAME_MACHINE=alphapca56 ;;
 
293
+         EV6)   UNAME_MACHINE=alphaev6 ;;
 
294
+         EV67)  UNAME_MACHINE=alphaev67 ;;
 
295
+         EV68*) UNAME_MACHINE=alphaev68 ;;
 
296
+        esac
 
297
+       objdump --private-headers /bin/sh | grep -q ld.so.1
 
298
+       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 
299
+       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
 
300
+       exit ;;
 
301
     arm*:Linux:*:*)
 
302
        eval $set_cc_for_build
 
303
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
 
304
@@ -873,6 +894,17 @@
 
305
     frv:Linux:*:*)
 
306
        echo frv-unknown-linux-gnu
 
307
        exit ;;
 
308
+    i*86:Linux:*:*)
 
309
+       LIBC=gnu
 
310
+       eval $set_cc_for_build
 
311
+       sed 's/^        //' << EOF >$dummy.c
 
312
+       #ifdef __dietlibc__
 
313
+       LIBC=dietlibc
 
314
+       #endif
 
315
+EOF
 
316
+       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
 
317
+       echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
 
318
+       exit ;;
 
319
     ia64:Linux:*:*)
 
320
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
321
        exit ;;
 
322
@@ -882,78 +914,34 @@
225
323
     m68*:Linux:*:*)
226
324
        echo ${UNAME_MACHINE}-unknown-linux-gnu
227
325
        exit ;;
228
326
-    mips:Linux:*:*)
229
 
+    mips:Linux:*:* | mips64:Linux:*:*)
230
 
        eval $set_cc_for_build
231
 
        sed 's/^        //' << EOF >$dummy.c
232
 
        #undef CPU
 
327
-       eval $set_cc_for_build
 
328
-       sed 's/^        //' << EOF >$dummy.c
 
329
-       #undef CPU
233
330
-       #undef mips
234
331
-       #undef mipsel
235
 
+       #undef ${UNAME_MACHINE}
236
 
+       #undef ${UNAME_MACHINE}el
237
 
        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
 
332
-       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
238
333
-       CPU=mipsel
239
 
+       CPU=${UNAME_MACHINE}el
240
 
        #else
241
 
        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
 
334
-       #else
 
335
-       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
242
336
-       CPU=mips
243
337
-       #else
244
338
-       CPU=
253
347
-       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
254
348
-       ;;
255
349
-    mips64:Linux:*:*)
256
 
-       eval $set_cc_for_build
257
 
-       sed 's/^        //' << EOF >$dummy.c
258
 
-       #undef CPU
 
350
+    mips:Linux:*:* | mips64:Linux:*:*)
 
351
        eval $set_cc_for_build
 
352
        sed 's/^        //' << EOF >$dummy.c
 
353
        #undef CPU
259
354
-       #undef mips64
260
355
-       #undef mips64el
261
 
-       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
 
356
+       #undef ${UNAME_MACHINE}
 
357
+       #undef ${UNAME_MACHINE}el
 
358
        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
262
359
-       CPU=mips64el
263
 
-       #else
264
 
-       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
 
360
+       CPU=${UNAME_MACHINE}el
 
361
        #else
 
362
        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
265
363
-       CPU=mips64
266
364
+       CPU=${UNAME_MACHINE}
267
365
        #else
268
366
        CPU=
269
367
        #endif
270
 
@@ -947,7 +927,7 @@
271
 
          EV67)  UNAME_MACHINE=alphaev67 ;;
272
 
          EV68*) UNAME_MACHINE=alphaev68 ;;
273
 
         esac
 
368
        #endif
 
369
 EOF
 
370
-       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
 
371
-           /^CPU/{
 
372
-               s: ::g
 
373
-               p
 
374
-           }'`"
 
375
+       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
 
376
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 
377
        ;;
 
378
     or32:Linux:*:*)
 
379
        echo or32-unknown-linux-gnu
 
380
        exit ;;
 
381
-    ppc:Linux:*:*)
 
382
-       echo powerpc-unknown-linux-gnu
 
383
-       exit ;;
 
384
-    ppc64:Linux:*:*)
 
385
-       echo powerpc64-unknown-linux-gnu
 
386
-       exit ;;
 
387
-    alpha:Linux:*:*)
 
388
-       case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
 
389
-         EV5)   UNAME_MACHINE=alphaev5 ;;
 
390
-         EV56)  UNAME_MACHINE=alphaev56 ;;
 
391
-         PCA56) UNAME_MACHINE=alphapca56 ;;
 
392
-         PCA57) UNAME_MACHINE=alphapca56 ;;
 
393
-         EV6)   UNAME_MACHINE=alphaev6 ;;
 
394
-         EV67)  UNAME_MACHINE=alphaev67 ;;
 
395
-         EV68*) UNAME_MACHINE=alphaev68 ;;
 
396
-        esac
274
397
-       objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
275
 
+       objdump --private-headers /bin/sh | grep -q ld.so.1
276
 
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
277
 
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
278
 
        exit ;;
279
 
@@ -1001,14 +981,6 @@
280
 
          elf32-i386)
281
 
                TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
282
 
                ;;
 
398
-       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 
399
-       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
 
400
-       exit ;;
 
401
     padre:Linux:*:*)
 
402
        echo sparc-unknown-linux-gnu
 
403
        exit ;;
 
404
+    parisc64:Linux:*:* | hppa64:Linux:*:*)
 
405
+       echo hppa64-unknown-linux-gnu
 
406
+       exit ;;
 
407
     parisc:Linux:*:* | hppa:Linux:*:*)
 
408
        # Look for CPU level
 
409
        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
 
410
@@ -962,8 +950,11 @@
 
411
          *)    echo hppa-unknown-linux-gnu ;;
 
412
        esac
 
413
        exit ;;
 
414
-    parisc64:Linux:*:* | hppa64:Linux:*:*)
 
415
-       echo hppa64-unknown-linux-gnu
 
416
+    ppc64:Linux:*:*)
 
417
+       echo powerpc64-unknown-linux-gnu
 
418
+       exit ;;
 
419
+    ppc:Linux:*:*)
 
420
+       echo powerpc-unknown-linux-gnu
 
421
        exit ;;
 
422
     s390:Linux:*:* | s390x:Linux:*:*)
 
423
        echo ${UNAME_MACHINE}-ibm-linux
 
424
@@ -986,66 +977,6 @@
 
425
     xtensa*:Linux:*:*)
 
426
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
427
        exit ;;
 
428
-    i*86:Linux:*:*)
 
429
-       # The BFD linker knows what the default object file format is, so
 
430
-       # first see if it will tell us. cd to the root directory to prevent
 
431
-       # problems with other programs or directories called `ld' in the path.
 
432
-       # Set LC_ALL=C to ensure ld outputs messages in English.
 
433
-       ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
 
434
-                        | sed -ne '/supported targets:/!d
 
435
-                                   s/[         ][      ]*/ /g
 
436
-                                   s/.*supported targets: *//
 
437
-                                   s/ .*//
 
438
-                                   p'`
 
439
-        case "$ld_supported_targets" in
 
440
-         elf32-i386)
 
441
-               TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
 
442
-               ;;
283
443
-         a.out-i386-linux)
284
444
-               echo "${UNAME_MACHINE}-pc-linux-gnuaout"
285
445
-               exit ;;
288
448
-               # one that does not give us useful --help.
289
449
-               echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
290
450
-               exit ;;
291
 
        esac
292
 
        # Determine whether the default compiler is a.out or elf
293
 
        eval $set_cc_for_build
294
 
@@ -1074,7 +1046,7 @@
 
451
-       esac
 
452
-       # Determine whether the default compiler is a.out or elf
 
453
-       eval $set_cc_for_build
 
454
-       sed 's/^        //' << EOF >$dummy.c
 
455
-       #include <features.h>
 
456
-       #ifdef __ELF__
 
457
-       # ifdef __GLIBC__
 
458
-       #  if __GLIBC__ >= 2
 
459
-       LIBC=gnu
 
460
-       #  else
 
461
-       LIBC=gnulibc1
 
462
-       #  endif
 
463
-       # else
 
464
-       LIBC=gnulibc1
 
465
-       # endif
 
466
-       #else
 
467
-       #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
 
468
-       LIBC=gnu
 
469
-       #else
 
470
-       LIBC=gnuaout
 
471
-       #endif
 
472
-       #endif
 
473
-       #ifdef __dietlibc__
 
474
-       LIBC=dietlibc
 
475
-       #endif
 
476
-EOF
 
477
-       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
 
478
-           /^LIBC/{
 
479
-               s: ::g
 
480
-               p
 
481
-           }'`"
 
482
-       test x"${LIBC}" != x && {
 
483
-               echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
 
484
-               exit
 
485
-       }
 
486
-       test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
 
487
-       ;;
 
488
     i*86:DYNIX/ptx:4*:*)
 
489
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
 
490
        # earlier versions are messed up and put the nodename in both
 
491
@@ -1074,7 +1005,7 @@
295
492
     i*86:syllable:*:*)
296
493
        echo ${UNAME_MACHINE}-pc-syllable
297
494
        exit ;;
300
497
        echo i386-unknown-lynxos${UNAME_RELEASE}
301
498
        exit ;;
302
499
     i*86:*DOS:*:*)
303
 
@@ -1182,7 +1154,7 @@
 
500
@@ -1182,7 +1113,7 @@
304
501
     rs6000:LynxOS:2.*:*)
305
502
        echo rs6000-unknown-lynxos${UNAME_RELEASE}
306
503
        exit ;;
309
506
        echo powerpc-unknown-lynxos${UNAME_RELEASE}
310
507
        exit ;;
311
508
     SM[BE]S:UNIX_SV:*:*)
312
 
--- a/config.sub
313
 
+++ b/config.sub
 
509
@@ -1275,6 +1206,16 @@
 
510
     *:Darwin:*:*)
 
511
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
 
512
        case $UNAME_PROCESSOR in
 
513
+           i386)
 
514
+               eval $set_cc_for_build
 
515
+               if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
 
516
+                 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
 
517
+                     (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
 
518
+                     grep IS_64BIT_ARCH >/dev/null
 
519
+                 then
 
520
+                     UNAME_PROCESSOR="x86_64"
 
521
+                 fi
 
522
+               fi ;;
 
523
            unknown) UNAME_PROCESSOR=powerpc ;;
 
524
        esac
 
525
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
 
526
--- libvdpau.orig/config.sub
 
527
+++ libvdpau/config.sub
314
528
@@ -1,10 +1,10 @@
315
529
 #! /bin/sh
316
530
 # Configuration validation subroutine script.
317
531
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
318
532
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
319
 
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 
533
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
320
534
 #   Free Software Foundation, Inc.
321
535
 
322
536
-timestamp='2009-04-17'
323
 
+timestamp='2009-06-11'
 
537
+timestamp='2010-01-22'
324
538
 
325
539
 # This file is (in principle) common to ALL GNU software.
326
540
 # The presence of a machine in this file suggests that SOME GNU software
327
 
@@ -153,6 +153,9 @@
 
541
@@ -32,13 +32,16 @@
 
542
 
 
543
 
 
544
 # Please send patches to <config-patches@gnu.org>.  Submit a context
 
545
-# diff and a properly formatted ChangeLog entry.
 
546
+# diff and a properly formatted GNU ChangeLog entry.
 
547
 #
 
548
 # Configuration subroutine to validate and canonicalize a configuration type.
 
549
 # Supply the specified configuration type as an argument.
 
550
 # If it is invalid, we print an error message on stderr and exit with code 1.
 
551
 # Otherwise, we print the canonical config type on stdout and succeed.
 
552
 
 
553
+# You can get the latest version of this script from:
 
554
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 
555
+
 
556
 # This file is supposed to be the same for all GNU packages
 
557
 # and recognize all the CPU types, system types and aliases
 
558
 # that are meaningful with *any* GNU software.
 
559
@@ -72,8 +75,9 @@
 
560
 version="\
 
561
 GNU config.sub ($timestamp)
 
562
 
 
563
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
 
564
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
565
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
 
566
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
 
567
+Software Foundation, Inc.
 
568
 
 
569
 This is free software; see the source for copying conditions.  There is NO
 
570
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
 
571
@@ -149,10 +153,13 @@
 
572
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
 
573
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
 
574
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
 
575
-       -apple | -axis | -knuth | -cray)
 
576
+       -apple | -axis | -knuth | -cray | -microblaze)
328
577
                os=
329
578
                basic_machine=$1
330
579
                ;;
334
583
        -sim | -cisco | -oki | -wec | -winbond)
335
584
                os=
336
585
                basic_machine=$1
337
 
@@ -467,6 +470,10 @@
 
586
@@ -281,6 +288,7 @@
 
587
        | pdp10 | pdp11 | pj | pjl \
 
588
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 
589
        | pyramid \
 
590
+       | rx \
 
591
        | score \
 
592
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
593
        | sh64 | sh64le \
 
594
@@ -288,13 +296,14 @@
 
595
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
 
596
        | spu | strongarm \
 
597
        | tahoe | thumb | tic4x | tic80 | tron \
 
598
+       | ubicom32 \
 
599
        | v850 | v850e \
 
600
        | we32k \
 
601
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
 
602
        | z8k | z80)
 
603
                basic_machine=$basic_machine-unknown
 
604
                ;;
 
605
-       m6811 | m68hc11 | m6812 | m68hc12)
 
606
+       m6811 | m68hc11 | m6812 | m68hc12 | picochip)
 
607
                # Motorola 68HC11/12.
 
608
                basic_machine=$basic_machine-unknown
 
609
                os=-none
 
610
@@ -337,7 +346,7 @@
 
611
        | lm32-* \
 
612
        | m32c-* | m32r-* | m32rle-* \
 
613
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 
614
-       | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
 
615
+       | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
 
616
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 
617
        | mips16-* \
 
618
        | mips64-* | mips64el-* \
 
619
@@ -365,15 +374,17 @@
 
620
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
 
621
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 
622
        | pyramid-* \
 
623
-       | romp-* | rs6000-* \
 
624
+       | romp-* | rs6000-* | rx-* \
 
625
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
626
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 
627
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 
628
        | sparclite-* \
 
629
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
 
630
        | tahoe-* | thumb-* \
 
631
-       | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
 
632
+       | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
633
+       | tile-* | tilegx-* \
 
634
        | tron-* \
 
635
+       | ubicom32-* \
 
636
        | v850-* | v850e-* | vax-* \
 
637
        | we32k-* \
 
638
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
639
@@ -467,6 +478,10 @@
338
640
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
339
641
                os=-linux
340
642
                ;;
345
647
        c90)
346
648
                basic_machine=c90-cray
347
649
                os=-unicos
348
 
@@ -1260,7 +1267,7 @@
 
650
@@ -719,6 +734,9 @@
 
651
                basic_machine=ns32k-utek
 
652
                os=-sysv
 
653
                ;;
 
654
+        microblaze)
 
655
+               basic_machine=microblaze-xilinx
 
656
+               ;;
 
657
        mingw32)
 
658
                basic_machine=i386-pc
 
659
                os=-mingw32
 
660
@@ -1069,6 +1087,11 @@
 
661
                basic_machine=tic6x-unknown
 
662
                os=-coff
 
663
                ;;
 
664
+        # This must be matched before tile*.
 
665
+        tilegx*)
 
666
+               basic_machine=tilegx-unknown
 
667
+               os=-linux-gnu
 
668
+               ;;
 
669
        tile*)
 
670
                basic_machine=tile-unknown
 
671
                os=-linux-gnu
 
672
@@ -1240,6 +1263,9 @@
 
673
         # First match some system type aliases
 
674
         # that might get confused with valid system types.
 
675
        # -solaris* is a basic system type, with this one exception.
 
676
+        -auroraux)
 
677
+               os=-auroraux
 
678
+               ;;
 
679
        -solaris1 | -solaris1.*)
 
680
                os=`echo $os | sed -e 's|solaris1|sunos4|'`
 
681
                ;;
 
682
@@ -1260,9 +1286,9 @@
349
683
        # Each alternative MUST END IN A *, to match a version number.
350
684
        # -sysv* is not here because it comes later, after sysvr4.
351
685
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
352
686
-             | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
 
687
-             | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
688
-             | -kopensolaris* \
353
689
+             | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
354
 
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
355
 
              | -kopensolaris* \
 
690
+             | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
 
691
+             | -sym* | -kopensolaris* \
356
692
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
357
 
@@ -1613,7 +1620,7 @@
 
693
              | -aos* | -aros* \
 
694
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 
695
@@ -1283,7 +1309,7 @@
 
696
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 
697
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 
698
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
 
699
-             | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 
700
+             | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
 
701
        # Remember, each alternative MUST END IN *, to match a version number.
 
702
                ;;
 
703
        -qnx*)
 
704
@@ -1416,6 +1442,8 @@
 
705
        -dicos*)
 
706
                os=-dicos
 
707
                ;;
 
708
+        -nacl*)
 
709
+               ;;
 
710
        -none)
 
711
                ;;
 
712
        *)
 
713
@@ -1613,7 +1641,7 @@
358
714
                        -sunos*)
359
715
                                vendor=sun
360
716
                                ;;
363
719
                                vendor=ibm
364
720
                                ;;
365
721
                        -beos*)
366
 
--- a/configure
367
 
+++ b/configure
 
722
--- libvdpau.orig/configure
 
723
+++ libvdpau/configure
368
724
@@ -1,12 +1,14 @@
369
725
 #! /bin/sh
370
726
 # Guess values for system-dependent variables and create Makefiles.
1018
1374
 t more2
1019
1375
 s/["\\]/\\&/g; s/^/"/; s/$/"/
1020
1376
 p
1021
 
--- a/depcomp
1022
 
+++ b/depcomp
 
1377
--- libvdpau.orig/depcomp
 
1378
+++ libvdpau/depcomp
1023
1379
@@ -1,10 +1,10 @@
1024
1380
 #! /bin/sh
1025
1381
 # depcomp - compile a program generating dependencies as side-effects
1221
1577
+# time-stamp-time-zone: "UTC"
1222
1578
+# time-stamp-end: "; # UTC"
1223
1579
 # End:
1224
 
--- a/doc/Makefile.in
1225
 
+++ b/doc/Makefile.in
 
1580
--- libvdpau.orig/doc/Makefile.in
 
1581
+++ libvdpau/doc/Makefile.in
1226
1582
@@ -1,4 +1,4 @@
1227
1583
-# Makefile.in generated by automake 1.11 from Makefile.am.
1228
1584
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
1229
1585
 # @configure_input@
1230
1586
 
1231
1587
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1232
 
--- a/install-sh
1233
 
+++ b/install-sh
 
1588
--- libvdpau.orig/install-sh
 
1589
+++ libvdpau/install-sh
1234
1590
@@ -1,7 +1,7 @@
1235
1591
 #!/bin/sh
1236
1592
 # install - install a program, script, or datafile
1248
1604
+# time-stamp-time-zone: "UTC"
1249
1605
+# time-stamp-end: "; # UTC"
1250
1606
 # End:
1251
 
--- a/ltmain.sh
1252
 
+++ b/ltmain.sh
 
1607
--- libvdpau.orig/ltmain.sh
 
1608
+++ libvdpau/ltmain.sh
1253
1609
@@ -1,6 +1,6 @@
1254
1610
 # Generated from ltmain.m4sh.
1255
1611
 
1317
1673
              case $deplib in
1318
1674
              -L*) path="$deplib" ;;
1319
1675
              *.la)
1320
 
--- a/missing
1321
 
+++ b/missing
 
1676
--- libvdpau.orig/missing
 
1677
+++ libvdpau/missing
1322
1678
@@ -1,10 +1,10 @@
1323
1679
 #! /bin/sh
1324
1680
 # Common stub for a few missing GNU programs while installing.
1474
1830
+# time-stamp-time-zone: "UTC"
1475
1831
+# time-stamp-end: "; # UTC"
1476
1832
 # End:
1477
 
--- a/src/Makefile.in
1478
 
+++ b/src/Makefile.in
 
1833
--- libvdpau.orig/src/Makefile.in
 
1834
+++ libvdpau/src/Makefile.in
1479
1835
@@ -1,4 +1,4 @@
1480
1836
-# Makefile.in generated by automake 1.11 from Makefile.am.
1481
1837
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
1482
1838
 # @configure_input@
1483
1839
 
1484
1840
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1485
 
--- a/trace/Makefile.in
1486
 
+++ b/trace/Makefile.in
 
1841
@@ -72,7 +72,8 @@
 
1842
        "$(DESTDIR)$(libvdpauincludedir)"
 
1843
 LTLIBRARIES = $(lib_LTLIBRARIES)
 
1844
 am__DEPENDENCIES_1 =
 
1845
-libvdpau_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
 
1846
+libvdpau_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
 
1847
+       $(am__DEPENDENCIES_1)
 
1848
 am__libvdpau_la_SOURCES_DIST = vdpau_wrapper.c mesa_dri2.c mesa_dri2.h
 
1849
 @DRI2_TRUE@am__objects_1 = mesa_dri2.lo
 
1850
 am_libvdpau_la_OBJECTS = vdpau_wrapper.lo $(am__objects_1)
 
1851
@@ -247,7 +248,8 @@
 
1852
 
 
1853
 libvdpau_la_LIBADD = \
 
1854
     $(DLOPEN_LIBS) \
 
1855
-    $(XEXT_LIBS)
 
1856
+    $(XEXT_LIBS) \
 
1857
+    $(X11_LIBS)
 
1858
 
 
1859
 libvdpau_la_LDFLAGS = -version-info 1:0:0 -no-undefined
 
1860
 libvdpauincludedir = $(includedir)/vdpau
 
1861
--- libvdpau.orig/trace/Makefile.in
 
1862
+++ libvdpau/trace/Makefile.in
1487
1863
@@ -1,4 +1,4 @@
1488
1864
-# Makefile.in generated by automake 1.11 from Makefile.am.
1489
1865
+# Makefile.in generated by automake 1.11.1 from Makefile.am.