2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([dlog], [1.0], yk.yun@samsung.com)
6 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
7 AC_CONFIG_HEADERS([config.h:config.hin])
9 AC_CONFIG_MACRO_DIR([m4])
13 # Checks for programs.
16 AC_PROG_GCC_TRADITIONAL
20 AM_CONDITIONAL(DEVELOP_VER, test $DEVELOP_VER = yes)
24 AC_DEFINE([SD_JOURNAL_SUPPORT], [], [Description])
26 AM_CONDITIONAL(SD_JOURNAL_SUPPORT, test $SD_JOURNAL_SUPPORT = yes)
28 #AM_CONDITIONAL([ARCH_IS_ARM], [test "x$ARCH" = "xarm"])
29 if test "x$ARCH" = "xarm" ; then
30 DLOG_CFLAGS="-D__arm__"
38 dnl AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
39 # Checks for libraries.
40 # Checks for header files.
42 AC_CHECK_HEADERS([stdlib.h unistd.h ])
44 # Checks for typedefs, structures, and compiler characteristics.
53 # Checks for library functions.
56 AC_CHECK_FUNCS([memset])
59 AC_CONFIG_FILES([Makefile dlog.pc])