-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
33 lines (33 loc) · 1.05 KB
/
configure.ac
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
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([libvm68k], [2-alpha.5],
[https://github.com/vx68k/libvm68k/issues/new],,
[https://www.vx68k.org/vx68k/libvm68k])
AC_CONFIG_SRCDIR([libvm68k/execution_context.cpp])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign no-define tar-ustar])
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([sys/mman.h])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
# Checks for other features.
LT_PREREQ([2.4.6])
LT_INIT([win32-dll])
PKG_CHECK_MODULES([CPPUNIT], [cppunit],, [no_cppunit=yes])
AC_ARG_WITH([cppunit],
[AS_HELP_STRING([--with-cppunit], [use CppUnit [default=yes]])],,
[with_cppunit=yes])
if test "$with_cppunit" = no; then
no_cppunit=yes
fi
AM_CONDITIONAL([CPPUNIT], [test "$no_cppunit" != yes])
# Configuration actions.
AC_CONFIG_FILES([Makefile libvm68kapi/Makefile libvm68k/Makefile
test/Makefile])
AC_CONFIG_HEADERS([config.h])
AC_OUTPUT