Add copyright notices to tests.
[asdcplib.git] / configure.ac
index f65642f9cbda04ea800a730871ccf0f0bd9a0ad7..84ed3484af162dbeda6433c867d357a18eb09f87 100644 (file)
@@ -14,7 +14,7 @@ AC_PREREQ([2.59])
 # 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.19], [asdcplib@cinecert.com])
+AC_INIT([asdcplib], [1.3.19a], [asdcplib@cinecert.com])
 
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_SRCDIR([src/KM_error.h])
@@ -42,6 +42,22 @@ AX_LIB_XERCES
 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])