From: Frank Mori Hess Date: Sat, 2 Oct 2004 00:27:13 +0000 (+0000) Subject: check for modpost in two possible locations X-Git-Tag: r0_7_69 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c28da121cce1eb1132862729faa92782f2b4262f;p=comedi.git check for modpost in two possible locations --- diff --git a/m4/as-linux.m4 b/m4/as-linux.m4 index 1e4a1f92..e694421f 100644 --- a/m4/as-linux.m4 +++ b/m4/as-linux.m4 @@ -496,7 +496,6 @@ EOF LINUX_MODULE_EXT=".ko" LINUX_CFLAGS="$LINUX_CFLAGS $LINUX_CFLAGS_MODULE" - LINUX_MODPOST="$LINUX_DIR/scripts/modpost" AC_SUBST(LINUX_ARCH) AC_SUBST(LINUX_AFLAGS) @@ -509,9 +508,10 @@ EOF AC_SUBST(LINUX_LD) AC_SUBST(LINUX_AS) AC_SUBST(LINUX_MODULE_EXT) - AC_SUBST(LINUX_MODPOST) AC_MSG_RESULT([$LINUX_CFLAGS]) + + AC_PATH_PROG([LINUX_MODPOST], ["modpost"], ["no"], ["$LINUX_DIR/scripts:$LINUX_DIR/scripts/mod"]) ])