AC_CONFIG_SRCDIR needs to point to a unique file
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 23 Apr 2016 19:28:31 +0000 (21:28 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 23 Apr 2016 19:28:31 +0000 (21:28 +0200)
AC_CONFIG_SRCDIR is a bit of a misnomer, in that it should
point to a unique file in the top source directory, not to
the directory itself.

configure.ac

index 73dd27e..1fcab1c 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT([collectd],[m4_esyscmd(./version-gen.sh)])
-AC_CONFIG_SRCDIR(src/)
+AC_CONFIG_SRCDIR(src/target_set.c)
 AC_CONFIG_HEADERS(src/config.h)
 AC_CONFIG_AUX_DIR([libltdl/config])