File: configure.in

package info (click to toggle)
zalign 0.9.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,680 kB
  • sloc: sh: 10,084; cpp: 1,948; ansic: 309; makefile: 51
file content (43 lines) | stat: -rw-r--r-- 829 bytes parent folder | download | duplicates (3)
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
38
39
40
41
42
43
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.63])
AC_INIT([zalign], [0.9.1])
AC_CONFIG_SRCDIR([src/])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])

# Automake options
AM_INIT_AUTOMAKE
AM_PROG_LIBTOOL

# Checks for programs.
AC_LANG_CPLUSPLUS
AC_PROG_CXX
AC_PROG_CC

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset])
ACX_MPI

# Set compiler and compiler flags
CXX="$MPICXX"
CFLAGS="-g -O0"
CXXFLAGS="-g -O0 -ansi -pedantic -Wall -Wextra -Wno-long-long -Wno-unused-parameter -DHAVE_MPI_CPP -lm ${CXXFLAGS}"

# Autoconf output
AC_CONFIG_FILES([
	Makefile
	src/Makefile
])
AC_OUTPUT