mesa: Changes to 'master'
Dan Nicholson
dbn at kemper.freedesktop.org
Fri Dec 28 23:43:49 UTC 2007
.gitignore | 5
Makefile | 25
bin/config.guess | 1516 ++++++++++++++++++++++++++++++++++++++++++++++++
bin/config.sub | 1626 ++++++++++++++++++++++++++++++++++++++++++++++++++++
bin/install-sh | 1
configs/.gitignore | 1
configs/autoconf.in | 104 +++
configure.ac | 872 +++++++++++++++++++++++++++
docs/autoconf.html | 290 +++++++++
docs/faq.html | 23
docs/install.html | 8
11 files changed, 4449 insertions(+), 22 deletions(-)
commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary
New commits:
commit aecec3aced1375a8e15f88e13a5dfc97f2814ba4
Merge: aac2d99dc316c069faa46dd43ff034155754c6b3 2b440d54617bf0020171ce765708e7a9b48f2185
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Fri Dec 28 15:14:32 2007 -0800
Merge branch 'autoconf2'
commit 2b440d54617bf0020171ce765708e7a9b48f2185
Merge: ab57cbaccccb30fd743ba3283251430e6bc3a071 b422e5ad3716d32f2434ca38819f4a877c7eeeeb
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 26 15:41:24 2007 -0600
Merge branch 'master' into autoconf2
commit ab57cbaccccb30fd743ba3283251430e6bc3a071
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 26 11:12:29 2007 -0600
autoconf: Helper options for adding GCC 32/64 bit flags
Two new configure options to add -m32 or -m64 to the CFLAGS and CXXFLAGS
when GCC is in use. By default, the user supplied options are
environment variables are respected, but these options are quick helps
for the common case of x86/x86_64 using GCC.
commit 4c5a2b3af214e7a0ec0742b17beb1e719552ecae
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Sun Dec 23 16:38:18 2007 -0800
autoconf: Documentation for using the autoconf'd build
Most of the options available from configure are documented on the
autoconf.html. This page is reached as an alternative provided on the
install.html page. An FAQ about why there is no configure script has
been removed.
commit f116634933cf19fe2a52a3be4e106be643cb1d0b
Merge: c79c93c0acd184e0333c1c9cedfbce11381e66e2 37406c2038c418a1d6f26b5ac5691586c9f05631
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 12 21:24:06 2007 -0800
Merge branch 'master' into autoconf2
commit c79c93c0acd184e0333c1c9cedfbce11381e66e2
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 12 18:13:04 2007 -0800
autoconf: Improve help text for demos and DRI drivers
Changed the text for the default demos to be "auto" instead of "yes"
since that didn't make much sense in this context. Added an example
value for the --with-dri-drivers option as suggested by Brian.
commit f64d6fe0d31d8134b9214324a59ad18b48361fed
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 12 17:57:45 2007 -0800
autoconf: Update bug address and fix some autoconf warnings
Point bug reports to Bugzilla like bugs.html. Also, a warning from
autoconf w.r.t. AC_OUTPUT was cleaned up.
commit a130718f448065173cf7b019e5b65a6a4334c3f7
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 12 17:49:49 2007 -0800
autoconf: Consistently use xlib for the driver name
Brian suggested that there should be more consistency using xlib vs. x11
in the configure script. Changed the options and variables to suit.
commit 3e288627cb67c81fee92f2450a802f9c0b5ad040
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 12 09:02:31 2007 -0800
autoconf: Optional assembly usage with --disable-asm
Allow the user to disable use of assembly code through the --disable-asm
option. This is only relevant on the platforms where assembly is
normally enabled such as Linux and FreeBSD.
commit 16a07fb5569a7e4d471a389f292a8b245fc12cba
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 12 09:12:15 2007 -0800
autoconf: Report the compiler options in the summary
Report the compiler flags and macros that will be used in the build.
This just provides a quick way to see what configure has silently been
doing.
commit 23656c47c9f50c3e074362f2fa857c0ce5ddaf14
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 12 09:02:31 2007 -0800
autoconf: Optional debug build with --enable-debug
Allow the user to set the compiler debug flags and macros through the
option --enable-debug. This addes -DDEBUG to the macros and -g to the
CFLAGS and CXXFLAGS if gcc and g++ are in use.
commit 41b00707e20f0c07e0dce055884c773de4b82612
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 12 08:48:30 2007 -0800
autoconf: More informative errors when pkg-config macros undefined
Added a check that PKG_PROG_PKG_CONFIG is defined before calling it so
the user can see a proper error. Without it, the generated configure
script will just pass on to the next statement and bomb with a strange
shell syntax error.
commit aab38cfc43581e0d09195c2e53092d355a09841c
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Tue Dec 11 08:21:51 2007 -0800
autoconf: Replace configs/current symlink from configure
Rather than having the user run `make autoconf' and have the Makefile
setup the configs/current -> autoconf symlink, we can just do that in
configure. This allows the user to just run `make' to build.
commit 78175579c26498b1ef0edc511855ae74b7c3b52b
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Tue Dec 11 08:13:45 2007 -0800
autoconf: Replace install-sh with symlink to minstall
Since install-sh is only used to satisfy an autoconf requirement, we
don't need the actual script. Instead, it's now just a symlink to
minstall, which provides a similar install wrapper script.
commit 79ad458ec66c5001479dd4b1e0f8f83e1713270f
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Fri Dec 7 19:11:01 2007 -0800
autoconf: Clearer help text for the enable/disable options
Make it clearer what the defaults for the AC_ARG_ENABLE options are and
how to change them.
commit a76e2452d2ae5fd0c3b6fb6eb7ba32f2e6a52f20
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Fri Dec 7 11:25:08 2007 -0800
autoconf: Since default DRI drivers to build with master
Sync the default DRI_DIRS with the configs in master. Added some of the
comments from there, too.
commit 70d0c838901138e9be585b89638f50a2696a01e9
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Fri Dec 7 11:12:20 2007 -0800
autoconf: glut doesn't need Xt
Don't link glut with libXt since it's not needed.
(see commit ce98779571eee3f51d9f571fecf8deb83dd60f78)
commit 9cad8e312f5c6dae150be7b9fd28f86e3f7a0c20
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Fri Nov 30 08:49:57 2007 -0800
autoconf: Output summary information from configure
Report some of the common settings back to the user after configure
has completed.
commit af3d2f292d5076f4b01a44601237d99c3250320c
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Thu Nov 15 08:59:57 2007 -0800
autoconf: Configurable DRI drivers
The user can request specific DRI drivers to build rather than the
default of "all that build on this platform". This allows the list of
drivers to be easily slimmed down.
This is controlled through the option --with-dri-drivers. For example:
./configure --with-driver=dri --with-dri-drivers="i965,nouveau"
Unfortunately, using this setting means the DRI drivers aren't filtered
by platform anymore and you might try to build something that doesn't
work.
commit 88586332d38b3422cec0f3ff05985d0266ae4dfd
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Thu Nov 15 08:59:57 2007 -0800
autoconf: Allow static library builds
Allow the user to specify that they want static libraries through the
--{enable,disable}-{static,shared} switches like libtool. The mesa build
only allows for one at a time, so static will be chosen if someone has
passed --enable-static or --disable-shared.
This also allows the mklib options to be set at build time. This allows
-static to be set for mklib, but any platform specific settings are
allowed by setting MKLIB_OPTIONS for configure.
Handling of the program libraries through the APP_LIB_DEPS variable is
pretty ugly, but it seems to work.
commit 8e4d14743035ba59b16e5c84246916f43487d455
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Thu Nov 15 08:59:57 2007 -0800
autoconf: Configurable demos directories
The user can request specific demos directories to build in. For
example:
./configure --with-demos="demos,xdemos"
The drawback is that we don't check for the necessary libararies in
that case, only that the directory in progs/ exists.
commit 6689f9ebcb586333d059ace12ccff950bb6411b1
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 5 21:04:15 2007 -0800
autoconf: Configure the osmesa channel size for OSMesa16 and OSMesa32
Allow the user to specify channel bits of 16 or 32 to enable OSMesa16 or
OSMesa32 instead of the default OSMesa. This option is controlled
through the option --with-osmesa-bits=BITS and is only honored when the
driver is osmesa.
The osdemos are not enabled in the 16 or 32 bit case because the
Makefile is currently hardcoded to link to -lOSMesa.
commit 979ff5153d563e5c79c17142fedecc1b45858a2f
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 5 18:47:01 2007 -0800
autoconf: Add support for osmesa-only builds
Added autoconf support for using OSMesa as the driver instead linking
it to libGL. This is enabled through --with-driver=osmesa.
To differentiate these cases, another option --enable-x11-osmesa is used
to enable or disable building OSMesa when the driver is x11.
commit 44d9914b29f1e27080756600b462d852d631d788
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 5 18:47:01 2007 -0800
autoconf: Add support for shared DRI build on linux and freebsd
Added autoconf bits to allow using DRI as the driver through the option
--with-dri-driver=DRIVER. The options are x11 (default) and dri. Three
DRI specific options for controlling the driver directory, direct
rendering and TLS are also added.
The DRI will probably not work for platforms besides linux and freebsd.
commit 72796238f86a5a1d964ed25572b69cee311e38c2
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 5 17:23:00 2007 -0800
autoconf: Include necessary files for the tarballs
Add targets to the top Makefile so that configure and the necessary
scripts are added to the tarball for distribution.
Variables are used for autoconf and aclocal in case anyone needs to use
a specific version or pass any extra flags.
commit dca1b796b74b13602c87e2628cea747aa2a985be
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Tue Oct 23 09:25:58 2007 -0700
autoconf: Initial support for an autoconf configuration
This adds the initial support for using autoconf configuration. Support
is available for shared Xlib driver builds. Later this will be extended
to dri and osmesa-only builds and possibly targetting non-X backends.
Support for static library builds will also be added.
The configure script fills in the autoconf config. This is then used by
running `make autoconf' after ./configure.
Testing has been done on Linux/GNU. The configure script tries to
faithfully reproduce the current configs/linux* and configs/freebsd*.
Other platforms can be handled later by adding similar statements and
feature tests.
Pkg-config is used to search for packages when possible. This makes the
build much more flexible and robust to the user's configuration. This
requires that the pkg-config autoconf macros pkg.m4 are included in
aclocal.m4. This requires autoconf and aclocal from autoconf and
automake, respectively.
commit d5cee90cf5c6a9eeec32ccfd85103dc1c02d135a
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Dec 5 10:25:39 2007 -0800
autoconf: Add support files required for autoconf use
The standard autoconf initialization macros require that config.guess,
config.sub and install-sh exist. The config.* scripts are from gnulib
HEAD, and the install-sh script is from automake HEAD.
More information about the mesa-commit
mailing list