diff options
author | Timo Savinen <tjsa@iki.fi> | 2005-09-22 15:39:00 +0000 |
---|---|---|
committer | Hadrien Dorio <hadrien.dorio@gmail.com> | 2017-12-16 00:23:56 +0100 |
commit | 35d0e8a808dd1382d5236d1f6f8bfe62b2ebefee (patch) | |
tree | e84242391375fab6b6e15963b4b1e0be5296b0bd /configure.ac | |
download | binary-block-editor-35d0e8a808dd1382d5236d1f6f8bfe62b2ebefee.tar.gz binary-block-editor-35d0e8a808dd1382d5236d1f6f8bfe62b2ebefee.zip |
0.1.0
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..826c679 --- /dev/null +++ b/configure.ac @@ -0,0 +1,39 @@ +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(bbe, 0.1.0, tjsa@iki.fi) +AC_CONFIG_SRCDIR(src/bbe.c) +AC_CONFIG_AUX_DIR(config) +AM_INIT_AUTOMAKE + +dnl create a config.h file (Automake will add -DHAVE_CONFIG_H) +AC_CONFIG_HEADER(config.h) + +AC_SUBST(VERSION) + +ISODATE=`date +%Y-%m-%d` +AC_SUBST(ISODATE) + +AC_CANONICAL_HOST + +dnl Checks for programs. +AC_PROG_INSTALL +AC_PROG_CC +AC_GNU_SOURCE + +dnl Checks for libraries. + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS(features.h errno.h getopt.h) + + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_SYS_LARGEFILE +AC_SYS_LONG_FILE_NAMES +AC_CHECK_TYPES(off_t) +AC_CHECK_TYPES(long long) + +dnl Checks for library functions. + +AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile]) +AC_OUTPUT |