This is so the correct 'strip' is used when cross-compiling.
AC_DEFINE_UNQUOTED(COMEDI_MICROVERSION, $COMEDI_MICROVERSION, [Comedi micro version])
AC_PROG_CC()
-AC_PATH_PROG(STRIP,strip)
+AC_PATH_TOOL([STRIP],[strip])
AC_PATH_PROG([DEPMOD], [depmod], [no], [$PATH:/sbin:/usr/sbin:/usr/local/sbin])
if test "$DEPMOD" == "no" ; then
AC_MSG_ERROR([unable to find the 'depmod' program.])
AC_DEFUN([AS_LINUX_MODTOOL],
[
- AC_PATH_PROG(STRIP, strip)
+ AC_PATH_TOOL([STRIP], [strip])
AC_PATH_PROG([DEPMOD], [depmod], [no], [$PATH:/sbin:/usr/sbin:/usr/local/sbin])
dnl this can be overridden in Makefile.am