From 3d7def7562ebfad927acc60bf4d20b4de018994b Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 29 Feb 2004 18:25:35 +0000 Subject: [PATCH] hack to set KBUILD_BASENAME --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9fd9701e..fe13f0fe 100644 --- a/configure.ac +++ b/configure.ac @@ -50,7 +50,9 @@ CC=$LINUX_CC #ERROR_CFLAGS="-Werror" -[COMEDI_CFLAGS="$ERROR_CFLAGS -I\$(top_srcdir)/include/ -DKBUILD_MODNAME=\$(shell echo \$@ | sed 's/\(.*\)\.o/\1/g' | sed 's/\(.*\)_ko.*/\1/g')"] +[COMEDI_CFLAGS="$ERROR_CFLAGS -I\$(top_srcdir)/include/\ + -DKBUILD_MODNAME=\$(shell echo \$@ | sed 's/\(.*\)\.o/\1/g' | sed 's/\(.*\)_ko.*/\1/g')\ + -DKBUILD_BASENAME=\$(shell echo \$< | sed 's/\(.*\)\.c/\1/g')"] AC_SUBST(COMEDI_CFLAGS) AC_ARG_ENABLE([pcmcia],[ --disable-pcmcia Disable support for PCMCIA devices], -- 2.26.2