1. 10 Jun, 2010 2 commits
    • John Koleszar's avatar
      Fix MinGW toolchain detection · 330dd67b
      John Koleszar authored
      Updated the comment in change I6bef2ab5, but missed adding the code to
      the commit.
      
      Change-Id: I14d300489b79730e3995175bfe5f9271b569abe3
      330dd67b
    • Philip Jägenstedt's avatar
      Detect toolchain based on gcc -dumpmachine · ffd5b58f
      Philip Jägenstedt authored
      Using uname fails e.g. on a 64-bit machine with a 32-bit toolchain.
      The following gcc -dumpmachine strings have been verified:
       * 32-bit Linux gives i486-linux-gnu
       * 64-bit Linux gives x86_64-linux-gnu
       * Mac OS X 10.5 gives i686-apple-darwin9
       * MinGW gives mingw32
      
      *darwin8* and *bsd* can safely be assumed to be correct, but *cygwin*
      is a guess.
      
      Change-Id: I6bef2ab5e97cbd3410aa66b0c4f84d2231884b05
      ffd5b58f
  2. 06 Jun, 2010 1 commit
  3. 05 Jun, 2010 2 commits
    • John Koleszar's avatar
      shared library support (.so) · 7aa97a35
      John Koleszar authored
      This patch adds support for building shared libraries when configured
      with the --enable-shared switch.
      
      Building DLLs would require more invasive changes to the sample
      utilities than I want to make in this patch, since on Windows you can't
      use the address of an imported symbol in a static initializer. The best
      way to work around this is proably to build the codec interface mapping
      table with an init() function, but dll support is of questionable value
      anyway, since most windows users will probably use a media framework
      lib like webmdshow, which links this library in staticly.
      
      Change-Id: Iafb48900549b0c6b67f4a05d3b790b2643d026f4
      7aa97a35
    • alexc's avatar
      Remove some bashism from the shell scripts. · 9a27722b
      alexc authored
      Note that configure.sh still uses the bashism $(RANDOM).
      9a27722b
  4. 04 Jun, 2010 1 commit
  5. 28 May, 2010 1 commit
    • John Koleszar's avatar
      configure: update script headers · 0d719655
      John Koleszar authored
      The libvpx build system was influenced by the clever design of the
      FFmpeg configure script. Say so in the script header, and provide a
      little introduction.
      
      Change-Id: I4d134c77f9032d1dde72b852b444e98676b85326
      0d719655
  6. 27 May, 2010 1 commit
    • John Koleszar's avatar
      configure: support --prefix, --libdir · 670af3aa
      John Koleszar authored
      Support --prefix, --libdir as a conventional way of specifying the default
      installation directories. libdir is required to be a subdirectory of prefix
      at this time.
      
      Change-Id: If45d9e3129efcde83c05b7766accc9017988e715
      670af3aa
  7. 25 May, 2010 3 commits
    • John Koleszar's avatar
      configure: detect toolchain if not specified · 98058bcc
      John Koleszar authored
      Try to select an optimized target based on the host's uname, as this
      is the expected behavior of most configure scripts.
      
      Change-Id: I1408ece70c43487902ea6edc6450d6a55abc424a
      98058bcc
    • John Koleszar's avatar
      install includes in DIST_DIR/include/vpx, move vpx_codec/ to vpx/ · b7492341
      John Koleszar authored
      This renames the vpx_codec/ directory to vpx/, to allow applications
      to more consistently reference these includes with the vpx/ prefix.
      This allows the includes to be installed in /usr/local/include/vpx
      rather than polluting the system includes directory with an
      excessive number of includes.
      
      Change-Id: I7b0652a20543d93f38f421c60b0bbccde4d61b4f
      b7492341
    • John Koleszar's avatar
      make: make install target behave as expected · ee8bcb1a
      John Koleszar authored
      Split the 'make install' target into two: install and dist. dist
      retains the old make install behavior of building a "distribution"
      release, with source files, build system, etc. install does what
      one one expects -- installs into a tree in the filesystem, /usr/local
      by default.
      
      Change-Id: I0805681ac10f853ef94cdc3aa70981c6bea81b45
      ee8bcb1a
  8. 24 May, 2010 1 commit
    • John Koleszar's avatar
      configure: support --enable-pic for generic-gnu · 75befc7a
      John Koleszar authored
      Allows the default generic-gnu target, which is selected if no
      target is specified, to be build in PIC mode. The generic-gnu target
      was not being selected as a gcc target, because it doesn't end in
      gcc.
      
      Change-Id: I28a2a420109c34fd87a20911f6455c8d8d5ded75
      75befc7a
  9. 21 May, 2010 2 commits
    • John Koleszar's avatar
      configure: remove HAVE_CONFIG_H · 1df0314e
      John Koleszar authored
      This doesn't play well with autotools, and the preprocessor magic is
      confusing and unhelpful in the vp8-only context.
      
      Change-Id: I2fcb57e6eb7876ecb58509da608dc21f26077ff1
      1df0314e
    • Justin Clift's avatar
      makefile: fix error message due to missing quotes · af515467
      Justin Clift authored
      1 liner bug fix for issue #10.  Surrounding quotation marks were
      missing from a variable, causing a warning message inside a test
      clause.
      
      Change-Id: Ia21421f77c309bbd87332547374241269bbe5326
      af515467
  10. 18 May, 2010 1 commit