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)
22 #AM_CONDITIONAL([ARCH_IS_ARM], [test "x$ARCH" = "xarm"])
23 if test "x$ARCH" = "xarm" ; then
24 DLOG_CFLAGS="-D__arm__"
31 dnl AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
32 # Checks for libraries.
33 # Checks for header files.
35 AC_CHECK_HEADERS([stdlib.h unistd.h ])
37 # Checks for typedefs, structures, and compiler characteristics.
46 # Checks for library functions.
49 AC_CHECK_FUNCS([memset])
52 AC_CONFIG_FILES([Makefile dlog.pc])