# If you change this, you should update the libtool version number specified
# in src/Makefile.am. Read <http://www.gnu.org/software/libtool/manual.html#Versioning>
# for suggestions on doing so.
-AC_INIT([asdcplib], [1.3.19], [asdcplib@cinecert.com])
+
+# The version number consists of three segments: major, API minor, and
+# implementation minor. Whenever a change is made to AS_DCP.h, the API minor
+# version will increment. Changes made to the internal implementation will
+# result in the incrementing of the implementation minor version.
+#
+# For example, if asdcplib version 1.0.0 were modified to accomodate changes
+# in file format, and if no changes were made to AS_DCP.h, the new version would be
+# 1.0.1. If changes were also required in AS_DCP.h, the new version would be 1.1.1.
+AC_INIT([asdcplib], [1.3.19a], [asdcplib@cinecert.com])
+
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([src/KM_error.h])
#AC_CONFIG_HEADER([src/config.h])
CXX=$CXX$ac_cv_sys_largefile_CC
fi
-CHECK_SSL
+AX_LIB_OPENSSL([0.9.7])
AX_LIB_EXPAT
AX_LIB_XERCES
#AM_PATH_PYTHON([2.3], , [:])
AZ_PYTHON_DEFAULT
AZ_PYTHON_WITH
AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])
+AC_ARG_ENABLE([freedist],
+ [ --enable-freedist Ensure source distribution is of BSD-licensed code.],
+ [case "${enableval}" in
+ yes) freedist=true ;;
+ no) freedist=false ;;
+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-freedist]) ;;
+ esac],[freedist=false])
+ AM_CONDITIONAL([FREEDIST], [test x$freedist = xtrue])
+AC_ARG_ENABLE([dev-headers],
+ [ --enable-dev-headers Install development headers],
+ [case "${enableval}" in
+ yes) dev_headers=true ;;
+ no) dev_headers=false ;;
+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-dev-headers]) ;;
+ esac],[dev_headers=false])
+ AM_CONDITIONAL([DEV_HEADERS], [test x$dev_headers = xtrue])
# Checks for libraries.
AC_CHECK_LIB([pthread], [pthread_create])