updated libquantum 0.2.1 source files

This commit is contained in:
libquantum
2016-10-27 04:14:06 +09:00
parent dc03271227
commit ce2bb44638
22 changed files with 473 additions and 346 deletions

View File

@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
AC_INIT([libquantum], [0.2.0], [libquantum@enyo.de])
AC_INIT([libquantum], [0.2.1], [libquantum@enyo.de])
AC_CONFIG_SRCDIR([classic.c])
AC_CONFIG_HEADER([config.h])
@@ -12,7 +12,6 @@ AC_PROG_INSTALL
AC_PROG_LIBTOOL
# Checks for libraries.
# FIXME: Replace `main' with a function in `-lm':
AC_CHECK_LIB([m], [sqrt])
# Checks for header files.
@@ -72,8 +71,22 @@ then
fi
AC_MSG_RESULT($I)
# Substitute fields in quantum.h.in
AC_SUBST(MU_TYPE)
AC_SUBST(CF_TYPE)
# Profiling check
AC_ARG_ENABLE(profiling,
[ --enable-profiling compile with profiling support],
[CFLAGS="$CFLAGS -pg"],
[])
# Enable -Wall for gcc
if test $CC = "gcc"
then
CFLAGS="$CFLAGS -Wall"
fi
# Write the output files
AC_CONFIG_FILES([Makefile quantum.h])
AC_OUTPUT
AC_OUTPUT