2 # Process this file with autoconf to produce a configure script.
5 # If you change this, you should update the libtool version number specified
6 # in src/Makefile.am. Read <http://www.gnu.org/software/libtool/manual.html#Versioning>
7 # for suggestions on doing so.
9 # The version number consists of three segments: major, API minor, and
10 # implementation minor. Whenever a change is made to AS_DCP.h, the API minor
11 # version will increment. Changes made to the internal implementation will
12 # result in the incrementing of the implementation minor version.
14 # For example, if asdcplib version 1.0.0 were modified to accomodate changes
15 # in file format, and if no changes were made to AS_DCP.h, the new version would be
16 # 1.0.1. If changes were also required in AS_DCP.h, the new version would be 1.1.1.
17 AC_INIT([asdcplib], [1.3.19a], [asdcplib@cinecert.com])
19 AC_CONFIG_AUX_DIR([build-aux])
20 AC_CONFIG_SRCDIR([src/KM_error.h])
21 #AC_CONFIG_HEADER([src/config.h])
22 AM_INIT_AUTOMAKE([1.9 foreign])
24 # Checks for programs.
34 if test "$ac_cv_sys_largefile_CC" != no; then
35 CXX=$CXX$ac_cv_sys_largefile_CC
38 AX_LIB_OPENSSL([0.9.7])
41 #AM_PATH_PYTHON([2.3], , [:])
44 AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])
45 AC_ARG_ENABLE([freedist],
46 [ --enable-freedist Ensure source distribution is of BSD-licensed code.],
47 [case "${enableval}" in
50 *) AC_MSG_ERROR([bad value ${enableval} for --enable-freedist]) ;;
51 esac],[freedist=false])
52 AM_CONDITIONAL([FREEDIST], [test x$freedist = xtrue])
53 AC_ARG_ENABLE([dev-headers],
54 [ --enable-dev-headers Install development headers],
55 [case "${enableval}" in
56 yes) dev_headers=true ;;
57 no) dev_headers=false ;;
58 *) AC_MSG_ERROR([bad value ${enableval} for --enable-dev-headers]) ;;
59 esac],[dev_headers=false])
60 AM_CONDITIONAL([DEV_HEADERS], [test x$dev_headers = xtrue])
62 # Checks for libraries.
63 AC_CHECK_LIB([pthread], [pthread_create])
65 # Checks for header files.
68 #AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h wchar.h])
70 # Checks for typedefs, structures, and compiler characteristics.
77 # Checks for library functions.
78 #AC_FUNC_CLOSEDIR_VOID
82 #AC_CHECK_FUNCS([getcwd memset regcomp strchr strerror strrchr strstr strtol])
84 AC_CONFIG_FILES([Makefile