diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..81503a6 --- /dev/null +++ b/configure.ac @@ -0,0 +1,37 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +#AC_PREREQ([2.69]) +AC_INIT([filestreamproxy], [1.0.0], [oskwon@marusys.com]) +AM_INIT_AUTOMAKE([filestreamproxy], [1.0.0]) + +#AC_CONFIG_SRCDIR([main.cpp]) +AC_CONFIG_HEADERS([config.h]) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE + +# Checks for programs. +AC_PROG_CC +AC_PROG_CXX + +AC_CONFIG_MACRO_DIR([m4]) + +AC_CHECK_LIB(pthread, pthread_create) +PTHREAD_LIBS=-pthread +AC_SUBST(PTHREAD_LIBS) + +# Checks for libraries. +AC_SUBST(PLATFORM) + +# Checks for header files. +AC_SUBST(INCPATH) + +# Checks for typedefs, structures, and compiler characteristics. + +# Checks for library functions. + +AC_CONFIG_FILES([Makefile src/Makefile]) +AC_OUTPUT + |