-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfigure.ac
35 lines (25 loc) · 945 Bytes
/
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
34
35
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT([fptree], [0.1], [[email protected]])
AC_CONFIG_SRCDIR([src/transactions.hh])
AC_CONFIG_HEADERS([config.h])
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([foreign dist-zip])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_PROG_CXX
AC_TYPE_SIZE_T
case $host_os in
*mingw32*|*cygwin*)
is_windows=yes;
esac
AM_CONDITIONAL([WINDOWS], [test "$is_windows" = "yes"])
AC_ARG_ENABLE([pretty-tree-printing],
[AS_HELP_STRING([--enable-pretty-tree-printing],
[Use alternative tree dumping format])],,
[enable_pretty_tree_printing=no])
if test "$enable_pretty_tree_printing" = "yes"; then
AC_DEFINE([WITH_PRETTY_TREE_PRINTING], [1],
[Define to Use alternative tree dumping format])
fi
AC_CONFIG_FILES([Makefile])
AC_OUTPUT