-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfigure.ac
38 lines (31 loc) · 841 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
36
37
38
# Process this file with autoconf to produce a configure script.
AC_INIT(scsi_src/src/t2elem.cc)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE(scsi_src, 0.1)
AM_CONFIG_HEADER(config.h)
# Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AM_PROG_CC_STDC
AC_PROG_INSTALL
AC_PROG_LN_S
# Use g++ instead of gcc to treat all code as c++ code.
# In particular, to load gstdc++ for Python ctypes.
AC_PROG_CXX(g++)
AC_PROG_F77(gfortran)
# Lex and Yacc.
AC_PROG_LEX
AC_PROG_YACC
# Enable shared libraries.
LT_INIT
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([stdlib.h string.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
# Checks for library functions.
AC_OUTPUT(Makefile
scsi_src/Makefile scsi_src/src/Makefile scsi_src/TPSA/Makefile
scsi_src/python/Makefile)