Declare a private dependency on libdl.

The new linker requires that the consumers of a library link against
the libraries that that library depends on, which is supported by
Libs.private.

Fixes #16
Fix a typo in the Makefile.am.

Fixes #15 (and make dist when built out of tree)
Add missing make dist of gen_dispatch.py.

Fixes distcheck when built out of tree (not that I'm using make dist
for distributing releases, currently).
Fix typo in gles2 dlsym setup

If you happened to do both GLES2 and GLES1 in a process, it meant that
you'd try to look up v1 procs in the v2 API, and lose.  Caught by
piglit oes_fixed_point-attribute-arrays.
Test for using GLES1/2 without GLX installed.
Fix using epoxy on systems with only EGL and GLES1 or GLES2.

Fixes #19
Add a COPYING file describing the two licenses for the project code.

Fixes #20
Fix compiler warnings in the tests.

I didn't have CWARNFLAGS in the Makefile.am, so lots of things that
would generate warnings had crept in.
Enable compiler warnings in the tests.
Fix a missing \n on printing out failure to dlsym().
Import registry from SVN 25146
Use LDADD instead of LDFLAGS/DEPENDENCIES.

This is a lot shorter to type, and still gets the dependencies to work
(tested with touch src/dispatch_common.c; make check, and touch
src/egl_common.c; make check).
List X11_LIBS after lib{egl,glx}_common.

Fixes linking with --as-needed.
Add missing dependency on libdl.

Everything I'd linked against the library so far already had a libdl
dependency (through libX11, for example), so I hadn't noticed.
Merge branch 'khronos-registry'
Define the rest of the khrplatform.h types, and prevent its inclusion.

One of the problems with krhplatform.h (besides it being a terrible
idea in the first place) is that it's not present on many systems at
all, including apple, win32, and linux before late 2009.

So, unless we introduce the first ./configure dependency to the core
library build, we really do need to define these standard types to
their standard values.  But if we allow khrplatform.h inclusion as
well, we'll get long-vs-int redefinition warnings on 32-bit.  So, we
have to completely replicate the header, which is a thing we've done
for everything else except for eglplatform.h.

A testcase will be used to make sure that our types don't drift from
the system khrplatform.h types, if it even exists.

Fixes #17
Add a test that khrplatform.h (if present) agrees with us.
Use the same typedefs as upstream khrplatform.h in a couple cases.

This should avoid any differences we might end up with compared to
system khrplatform.h.
Add a missing \n on an error message.
debian: Fix copy-and-paste from libx11 packaging.