diff options
author | Kibum Kim <kb0929.kim@samsung.com> | 2012-01-07 00:48:23 +0900 |
---|---|---|
committer | Kibum Kim <kb0929.kim@samsung.com> | 2012-01-07 00:48:23 +0900 |
commit | f9d83a01bec07bb3f306aee363b0ae6781e13799 (patch) | |
tree | 627b656278e7855b1742836dbc5ffd20a318d3d1 /configure.ac | |
parent | 15ef29532556d1797e516bb3ecde2498a9b8c8e0 (diff) | |
download | libmm-session-f9d83a01bec07bb3f306aee363b0ae6781e13799.tar.gz libmm-session-f9d83a01bec07bb3f306aee363b0ae6781e13799.tar.bz2 libmm-session-f9d83a01bec07bb3f306aee363b0ae6781e13799.zip |
Git init
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..738bc56 --- /dev/null +++ b/configure.ac @@ -0,0 +1,42 @@ +AC_PREREQ(2.61) +AC_INIT(MMSESSION, 1.0, BUG-REPORT-ADDRESS) +AC_CONFIG_HEADER([config.h]) + +AM_INIT_AUTOMAKE(mm-session, 1.0) + +# Checks for programs. +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_MAKE_SET +AC_PROG_LIBTOOL + +# Checks for libraries. +PKG_CHECK_MODULES(AUDIOSESSIONMGR, audio-session-mgr) +AC_SUBST(AUDIOSESSIONMGR_CFLAGS) +AC_SUBST(AUDIOSESSIONMGR_LIBS) + +PKG_CHECK_MODULES(MMCOMMON, mm-common) +AC_SUBST(MMCOMMON_CFLAGS) +AC_SUBST(MMCOMMON_LIBS) + +PKG_CHECK_MODULES(DLOG, dlog) +AC_SUBST(DLOG_CFLAGS) +AC_SUBST(DLOG_LIBS) + +# Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS([sys/types.h sys/stat.h fcntl.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_HEADER_STDBOOL +AC_C_CONST +AC_TYPE_MODE_T + +# Checks for library functions. +#AC_FUNC_MALLOC +#AC_CHECK_FUNCS([memset]) + +AC_CONFIG_FILES([Makefile + mm-session.pc + ]) +AC_OUTPUT |