[PATCH libevdev] build: set AC_CONFIG_SRCDIR

David Herrmann dh.herrmann at gmail.com
Mon Nov 4 22:58:24 PST 2013


This macro is used to verify that $srcdir is set correctly by testing for
existance of the passed file. Shouldn't hurt setting it to catch wrong
build setups.

Cc: Gaetan Nadon <memsize at videotron.ca>
Signed-off-by: David Herrmann <dh.herrmann at gmail.com>
---
Hi

I tested this with both "libevdev/libevdev.c" and "Makefile.am" as Gaetan
suggested. Both didn't fix the warning I get:
  /bin/sh: /home/david/missing: No such file or directory
  configure: WARNING: 'missing' script is too old or missing
So to fix it, the AUX_DIR patch from the ML is still needed. Anyhow, I think
both can be applied without breaking anything.

Thanks
David

A bit more context if someone needs it (I get this during ./configure):
  checking for minix/config.h... no
  checking whether it is safe to define __EXTENSIONS__... yes
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  /bin/sh: /home/david/missing: No such file or directory
  configure: WARNING: 'missing' script is too old or missing
  checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  checking for gawk... gawk
  checking whether make sets $(MAKE)... yes
  checking for style of include used by make... GNU
Fixed by setting AUX_DIR as sent to the ML.

configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index d25ae0c..522d704 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,7 @@ AC_INIT([libevdev],
         [libevdev],
         [])
 
+AC_CONFIG_SRCDIR([libevdev/libevdev.c])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 AC_USE_SYSTEM_EXTENSIONS
-- 
1.8.4.2



More information about the Input-tools mailing list