RADEON: use DSTCACHE_CTLSTAT rather than RB2D_DSTCACHE_CTLSTAT
[platform/upstream/libdrm.git] / configure.ac
index 4fb505d..7820334 100644 (file)
 #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 AC_PREREQ(2.57)
-AC_INIT([libdrm], 1.0.0, [dri-devel@lists.sourceforge.net], libdrm)
+AC_INIT([libdrm], 2.3.1, [dri-devel@lists.sourceforge.net], libdrm)
 AC_CONFIG_SRCDIR([Makefile.am])
 AM_INIT_AUTOMAKE([dist-bzip2])
 
 AM_CONFIG_HEADER([libdrm/config.h])
 
+AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
 AC_PROG_CC
 
 AC_HEADER_STDC
+AC_SYS_LARGEFILE
 
-AC_ARG_ENABLE(system, AC_HELP_STRING([--enable-system],
-              [Configure to be the system libdrm]),
-              [SYSTEM=$enableval], [SYSTEM=no])
-AM_CONDITIONAL(SYSTEM, [test x$SYSTEM = xyes])
-if test x$SYSTEM = xyes; then
-    libdir=/lib
-    includedir=/usr/include
-    pkgconfigdir=/usr/lib/pkgconfig
-else
-    pkgconfigdir=${libdir}/pkgconfig
-fi
+pkgconfigdir=${libdir}/pkgconfig
 AC_SUBST(pkgconfigdir)
 
-AC_OUTPUT([Makefile libdrm/Makefile libdrm.pc])
+AC_OUTPUT([
+       Makefile
+       libdrm/Makefile
+       shared-core/Makefile
+       tests/Makefile
+       libdrm.pc])