projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f90569
)
check for modpost in two possible locations
r0_7_69
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 2 Oct 2004 00:27:13 +0000
(
00:27
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 2 Oct 2004 00:27:13 +0000
(
00:27
+0000)
m4/as-linux.m4
patch
|
blob
|
history
diff --git
a/m4/as-linux.m4
b/m4/as-linux.m4
index 1e4a1f92a9125de59fac3526f3d26dccc5143c19..e694421f4b0d38d6f97b94a50f5fc7c0bd62bec8 100644
(file)
--- 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"])
])