comparison configure.in @ 63:cfd6175f9334

Start work on pst2dii to convert to Summation dii load file format.
author Carl Byington <carl@five-ten-sg.com>
date Sat, 23 Feb 2008 14:36:17 -0800
parents b4f025d95441
children 90aa7814ad1f
comparison
equal deleted inserted replaced
62:ee4e0d00bc94 63:cfd6175f9334
1 AC_PREREQ(2.59) 1 AC_PREREQ(2.59)
2 AC_INIT(libpst,0.6.7,carl@five-ten-sg.com) 2 AC_INIT(libpst,0.6.8,carl@five-ten-sg.com)
3 AC_CONFIG_SRCDIR([config.h.in]) 3 AC_CONFIG_SRCDIR([config.h.in])
4 AC_CONFIG_HEADER([config.h]) 4 AC_CONFIG_HEADER([config.h])
5 5
6 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) 6 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
7
8 # Checks for programs.
9 my_build_dii=yes
10 AC_PATH_PROG(CONVERT, convert)
11 if test "x$CONVERT" = x ; then
12 AC_MSG_WARN([convert not found. pst2dii disabled])
13 my_build_dii=no
14 fi
15 AM_CONDITIONAL(BUILD_DII, test $my_build_dii = yes)
7 16
8 # Checks for programs. 17 # Checks for programs.
9 AC_PROG_CXX 18 AC_PROG_CXX
10 AC_PROG_CC 19 AC_PROG_CC
11 AC_PROG_CPP 20 AC_PROG_CPP
21 AM_CONDITIONAL(NEED_XGETOPT, [test yes = no ]), 30 AM_CONDITIONAL(NEED_XGETOPT, [test yes = no ]),
22 AM_CONDITIONAL(NEED_XGETOPT, [test yes = yes]) 31 AM_CONDITIONAL(NEED_XGETOPT, [test yes = yes])
23 ) 32 )
24 AC_HEADER_DIRENT 33 AC_HEADER_DIRENT
25 AC_HEADER_STDC 34 AC_HEADER_STDC
26 AC_CHECK_HEADERS([limits.h malloc.h netinet/in.h stdint.h stdlib.h string.h sys/param.h wchar.h]) 35 AC_CHECK_HEADERS([fcntl.h limits.h malloc.h netinet/in.h stdint.h stdlib.h string.h sys/param.h wchar.h])
27 36
28 # Checks for typedefs, structures, and compiler characteristics. 37 # Checks for typedefs, structures, and compiler characteristics.
29 AC_HEADER_STDBOOL 38 AC_HEADER_STDBOOL
30 AC_C_CONST 39 AC_C_CONST
31 AC_TYPE_OFF_T 40 AC_TYPE_OFF_T
68 html/Makefile \ 77 html/Makefile \
69 info/Makefile \ 78 info/Makefile \
70 man/Makefile \ 79 man/Makefile \
71 src/Makefile \ 80 src/Makefile \
72 src/version.h \ 81 src/version.h \
82 src/pst2dii.cpp \
73 xml/Makefile \ 83 xml/Makefile \
74 xml/libpst \ 84 xml/libpst \
75 ) 85 )