]> Creatis software - gdcm.git/blob - configure.in
added autoconf tools for library (src) and C++ test (Test) compilation
[gdcm.git] / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(src/gdcmDict.cxx)
3
4 AC_PREFIX_DEFAULT(/usr/local/DCMlib)
5
6 AM_INIT_AUTOMAKE(DCMlib, 0.1.0)
7 AM_MAINTAINER_MODE
8 AM_CONFIG_HEADER(src/config.h)
9
10 CFLAGS="-Wall -g"
11 CXXFLAGS="-Wall -g"
12
13 dnl Checks for programs.
14 AM_PROG_LIBTOOL
15 AC_PROG_CXX
16 AC_PROG_CC
17 AC_PROG_CPP
18 AC_PROG_INSTALL
19 AC_PROG_LN_S
20 AC_PROG_MAKE_SET
21
22 dnl Checks for header files.
23 AC_HEADER_STDC
24
25 dnl Checks for typedefs, structures, and compiler characteristics.
26 AC_C_CONST
27 AC_TYPE_SIZE_T
28 AC_STRUCT_TM
29
30 dnl Checks for endianness
31 AC_C_BIGENDIAN
32
33 dnl Checks for int and long size
34 AC_CHECK_SIZEOF(char, 1)
35 AC_CHECK_SIZEOF(short, 2)
36 AC_CHECK_SIZEOF(int, 4)
37 AC_CHECK_SIZEOF(long, 4)
38 AC_CHECK_SIZEOF(long long, 8)
39
40 dnl produce Makefile.in files
41 AC_OUTPUT([
42 Makefile 
43 src/Makefile
44 Test/Makefile])