-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
29 lines (22 loc) · 736 Bytes
/
configure.ac
File metadata and controls
29 lines (22 loc) · 736 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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.67])
AC_CONFIG_SRCDIR([])
AM_INIT_AUTOMAKE(unp, 0.1)
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
LT_INIT
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_ARG_ENABLE(debug, [ --enable-debug Enable DEBUG output. ],
[ CXXFLAGS="-g2 -O0 -DDEBUG -Wall -Werror" ],
[ CXXFLAGS="-O3 -Wall -Werror" ])
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([Makefile src/Makefile test/Makefile])
AC_OUTPUT