File: configure.ac

package info (click to toggle)
libsmithwaterman 0.0%2Bgit20160702.2610e25-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 296 kB
  • sloc: cpp: 2,115; makefile: 59; sh: 16
file content (61 lines) | stat: -rw-r--r-- 1,605 bytes parent folder | download | duplicates (5)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_INIT(smithwaterman, 0.0, erik.garrison@bc.edu)
AC_CONFIG_HEADERS([config.h])

AC_PREREQ(2.57)

#	Directory that contains install-sh and other auxiliary files
AC_CONFIG_AUX_DIR([config])

################################################################################
#	According to (http://www.mail-archive.com/autoconf@gnu.org/msg14232.html)
#		this macro should be after AC_INIT but before AM_INIT_AUTOMAKE
################################################################################
AC_CONFIG_MACRO_DIR(config)

AM_INIT_AUTOMAKE([1.6 foreign dist-zip tar-ustar filename-length-max=299])

LIB_VERSION=0:0

AC_SUBST([VERSION])
AC_SUBST([LIB_VERSION])

AC_SUBST([VERSION])

# Checks for programs.
AC_PROG_LN_S
AC_PROG_INSTALL
AC_PROG_LIBTOOL

################################################################################
# calling AC_PROG_CXX resets CXXFLAGS, we use our own flags set in the
#	the AX_CXXFLAGS macro below.
# So we cache the argument to configure
#	here in ARG_CXX_FLAGS (so that our macro does not override them)
################################################################################
ARG_CXX_FLAGS="$CXXFLAGS"
AC_PROG_CXX

#Ranlib handled by check for libtool
CXXFLAGS="$ARG_CXX_FLAGS"
AX_CXXFLAGS

AC_SUBST(CXXFLAGS)

CPPFLAGS="-I\$(top_srcdir) $CPPFLAGS"
# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])

AC_PROG_MAKE_SET

AC_CONFIG_FILES([
	Makefile
	libsmithwaterman.pc
	])
AC_OUTPUT