1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
AC_PREREQ([2.60])
AC_INIT([libexynos],
[1.0.0],
[https://www.tizen.org],
[libexynos])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([1.10 foreign dist-bzip2])
AM_MAINTAINER_MODE([enable])
i
# Check for programs
AM_PROG_AS
AC_PROG_CC
AC_PROG_CXX
AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE
AC_FUNC_ALLOCA
#AC_CONFIG_MACRO_DIR([m4])
LT_PREREQ([2.2])
LT_INIT([disable-static])
# Enable quiet compiles on automake 1.11.
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
#PKG_CHECK_MODULES(TDM_EXYNOS, dlog)
#PKG_CHECK_MODULES(UDEV, libudev, [udev=yes], [udev=no])
#if test x"$udev" = xyes; then
# AC_DEFINE(HAVE_UDEV,1,[Enable udev-based monitor hotplug detection])
#fi
#AC_SUBST(DLOG_LIBS)
# Initialize libtooldnl use dlog ------------------------------------------------------------------
AC_ARG_ENABLE(dlog, AC_HELP_STRING([--enable-dlog], [using dlog]),
[
case "${enableval}" in
yes) USE_DLOG=yes ;;
no) USE_DLOG=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-dlog) ;;
esac
],[USE_DLOG=no])
if test "x$USE_DLOG" = "xyes"; then
PKG_CHECK_MODULES(DLOG, dlog)
AC_SUBST(DLOG_CFLAGS)
AC_SUBST(DLOG_LIBS)
fi
AM_CONDITIONAL(USE_DLOG, test "x$USE_DLOG" = "xyes")
dnl end -----------------------------------------------------------------------
# set the dir for the tbm module
DEFAULT_MODULE_PATH="${libdir}"
# For enumerating devices in test case
AC_OUTPUT([
Makefile
libv4l2/Makefile
libswconverter/Makefile
libcsc/Makefile
libgscaler/Makefile
libion/Makefile])
echo ""
echo "$PACKAGE_STRING will be compiled with:"
echo ""
echo ""
|