-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfigure.ac
More file actions
37 lines (24 loc) · 733 Bytes
/
configure.ac
File metadata and controls
37 lines (24 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
dnl Process this file with autoconf to produce a configure script.
AC_INIT([mem], [1.0.3])
AC_CONFIG_SRCDIR([src/memsys.cc])
AM_INIT_AUTOMAKE
dnl Get rid of all the -D stuff
AM_CONFIG_HEADER([config.h])
AC_PROG_MAKE_SET
dnl Compiler checks
AC_PROG_CXX
AC_PROG_CC
dnl keep correct libtool macros in tree
AC_CONFIG_MACRO_DIR([m4])
dnl Initialise libtool
AC_PROG_LIBTOOL
dnl Make C++ the default
AC_LANG_CPLUSPLUS
AC_REQUIRE_CPP
dnl Check for some header files.
AC_CHECK_HEADERS([stdlib.h float.h math.h sstream string fstream iostream], [], [AC_MSG_ERROR(missing header; please fix)])
dnl Installation program
AC_PROG_INSTALL
dnl The Makefiles to create
AC_CONFIG_FILES([Makefile src/Makefile include/Makefile])
AC_OUTPUT