diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-06-16 23:19:27 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-06-16 23:19:27 +0000 |
commit | 70fbe7822024d0acc68df3607ff25bf8d7a71751 (patch) | |
tree | 553cd2ef8cfc936fc890113596db2c4478fe5163 /configure.in | |
download | librcd-70fbe7822024d0acc68df3607ff25bf8d7a71751.tar.gz librcd-70fbe7822024d0acc68df3607ff25bf8d7a71751.tar.bz2 librcd-70fbe7822024d0acc68df3607ff25bf8d7a71751.tar.xz librcd-70fbe7822024d0acc68df3607ff25bf8d7a71751.zip |
initial import
(automatically generated log message)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..04ccc7c --- /dev/null +++ b/configure.in @@ -0,0 +1,39 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(src/librcd.c) + +PACKAGE=librcd +LIBRCD_VERSION_MAJOR=0 +LIBRCD_VERSION_MINOR=1 +LIBRCD_VERSION_SUBMINOR=5 +LIBRCD_VERSION=$LIBRCD_VERSION_MAJOR.$LIBRCD_VERSION_MINOR.$LIBRCD_VERSION_SUBMINOR +VERSION=$LIBRCD_VERSION +LIBRCD_VERSION_INFO=`echo $LIBRCD_VERSION | awk -F. '{ printf "%d:%d:%d", $1+$2, $3, $2 }'` + +AC_SUBST(LIBRCD_VERSION) +AC_SUBST(LIBRCD_VERSION_MAJOR) +AC_SUBST(LIBRCD_VERSION_MINOR) +AC_SUBST(LIBRCD_VERSION_SUBMINOR) +AC_SUBST(LIBRCD_VERSION_INFO) + +AM_INIT_AUTOMAKE($PACKAGE, $VERSION) + +AC_PROG_CC +AC_PROG_INSTALL +AM_PROG_LIBTOOL + +AC_PATH_PROG(RM, rm, /bin/rm) +AC_PATH_PROG(MV, mv, /bin/mv) +AC_PATH_PROG(TAR, tar, /bin/tar) + +dnl Checks for programs. + +dnl Checks for libraries. + +dnl Checks for header files. + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST + +dnl Checks for library functions. + +AC_OUTPUT(src/Makefile Makefile librcd.spec) |