aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac50
1 files changed, 50 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..8241db8
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,50 @@
+dnl Copyright (C) 2015 Gediminas Jakutis
+dnl
+dnl This configure.ac is free software; you can redistribute it and/or
+dnl modify it under the terms of the GNU Lesser General Public
+dnl License as published by the Free Software Foundation; version 2.1
+dnl of the License.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+dnl Lesser General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU Lesser General Public
+dnl License along with this library; if not, write to the Free Software
+dnl Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.13])
+
+m4_define(LIBRIN_VERSION, m4_normalize(m4_include(VERSION)))
+AC_INIT([librin], [LIBRIN_VERSION], [gediminas@varciai.lt])
+AC_CONFIG_SRCDIR([src/float/float.c])
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIRS([m4])
+
+# Checks for programs.
+AC_PROG_CC
+AC_PROG_INSTALL
+AM_INIT_AUTOMAKE
+LT_INIT
+
+# Checks for header files.
+AC_CHECK_HEADERS([inttypes.h stdio.h stdint.h stdlib.h string.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_TYPE_INT32_T
+AC_TYPE_INT64_T
+AC_TYPE_SIZE_T
+AC_TYPE_UINT32_T
+AC_TYPE_UINT64_T
+
+# Checks for library functions.
+
+AC_CONFIG_FILES([Makefile
+ src/Makefile
+ src/diagnostic/Makefile
+ src/float/Makefile
+ test/Makefile])
+AC_OUTPUT