Add COPYING for MIT
[platform/core/uifw/libgbm.git] / configure.ac
1 AC_INIT(libgbm, [1.0.0], lsj119@samsung.com)
2
3 AC_CONFIG_SRCDIR(configure.ac)
4 AC_CONFIG_HEADERS([config.h])
5
6 AM_INIT_AUTOMAKE(1.6 foreign subdir-objects)
7 AM_SILENT_RULES([yes])
8
9 # Checks for programs.
10 AC_PROG_CC
11 AC_PROG_LIBTOOL
12
13 PKG_CHECK_MODULES([TBM], [libtbm wayland-tbm-server], [have_tbm=yes], [have_tbm=no])
14 if test x$have_tbm = xyes; then
15    AC_DEFINE([HAVE_TBM], [1], [Build the tbm backend])
16 fi
17
18 AM_CONDITIONAL(HAVE_TBM, test "x$have_tbm" = "xyes")
19 AC_CONFIG_FILES([
20    Makefile
21    gbm.pc
22 ])
23 AC_OUTPUT
24