aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index b47529b..a0241eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
-AC_INIT([libtuberia], [1.0.0])
+AC_INIT([libtuberia], [1.0.0], [nicolas.dato at gmail.com], [libtuberia], [https://git.ndato.com/libtuberia])
AC_CONFIG_SRCDIR([src/tuberia.c])
AC_CONFIG_HEADERS([config.h])
AC_PREFIX_DEFAULT([/usr])
@@ -18,6 +18,8 @@ AM_PROG_AR
AM_CFLAGS="-Wall -Wextra -Werror -pedantic"
AC_SUBST([AM_CFLAGS])
+PKG_INSTALLDIR
+
# Checks for libraries.
AC_CHECK_LIB([pthread], [pthread_self])
AS_VAR_SET([has_ffmpeg], [yes])
@@ -43,7 +45,7 @@ AC_ARG_ENABLE([itc-test], AS_HELP_STRING([--disable-itc-test], [Disable ITC test
AC_ARG_ENABLE([tuberia-test], AS_HELP_STRING([--disable-tuberia-test], [Disable Tuberia test]), [], [enable_tuberia_test="yes"])
AC_ARG_ENABLE([valgrind], AS_HELP_STRING([--disable-valgrind], [Disable the use of valgrind in tests]), [], [enable_valgrind="yes"])
-AS_VAR_IF([has_valgrind], [yes], [], [AS_VAR_SET([enable_valgrind], [no])])
+AS_VAR_IF([has_valgrind], [no], [AS_VAR_SET([enable_valgrind], [no])], [])
AS_VAR_IF([has_avcodec], [no], [AS_VAR_SET([enable_examples], [no])], [])
AS_VAR_IF([has_avformat], [no], [AS_VAR_SET([enable_examples], [no])], [])
AS_VAR_IF([has_avutil], [no], [AS_VAR_SET([enable_examples], [no])], [])
@@ -76,4 +78,5 @@ AC_MSG_NOTICE([prefix: $prefix])
AC_MSG_NOTICE([exec_prefix: $exec_prefix])
AC_MSG_NOTICE([libdir: $libdir])
AC_MSG_NOTICE([includedir: $includedir])
+AC_MSG_NOTICE([pkgconfigdir: $pkgconfigdir])