From: Frank Mori Hess Date: Sun, 29 Feb 2004 18:25:35 +0000 (+0000) Subject: hack to set KBUILD_BASENAME X-Git-Tag: r0_7_69~100 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3d7def7562ebfad927acc60bf4d20b4de018994b;p=comedi.git hack to set KBUILD_BASENAME --- 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],