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.
15 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
17 AC_PROG_GCC_TRADITIONAL
21 AM_CONDITIONAL(DEVELOP_VER, test $DEVELOP_VER = yes)
25 #AC_DEFINE([SD_JOURNAL_SUPPORT], [], [Description])
27 AM_CONDITIONAL(SD_JOURNAL_SUPPORT, test $SD_JOURNAL_SUPPORT = yes)
29 #AM_CONDITIONAL([ARCH_IS_ARM], [test "x$ARCH" = "xarm"])
30 if test "x$ARCH" = "xarm" ; then
31 DLOG_CFLAGS="-D__arm__"
39 dnl AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
40 # Checks for libraries.
41 # Checks for header files.
43 AC_CHECK_HEADERS([stdlib.h unistd.h ])
45 # Checks for typedefs, structures, and compiler characteristics.
54 # Checks for library functions.
57 AC_CHECK_FUNCS([memset])
60 AC_CONFIG_FILES([Makefile dlog.pc])