From 2b6502db43082b605a0e94bc92552def2a7b3aef Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Mon, 10 Jul 2006 10:06:34 +0000 Subject: [PATCH] Replaced AC_PATH_PROG with AC_PATH_TOOL when detecting the 'strip' program. This is so the correct 'strip' is used when cross-compiling. --- configure.ac | 2 +- m4/as-modtool.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index f69d02f3..7fa375c5 100644 --- a/configure.ac +++ b/configure.ac @@ -32,7 +32,7 @@ AC_DEFINE_UNQUOTED(COMEDI_MINORVERSION, $COMEDI_MINORVERSION, [Comedi minor vers 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.]) diff --git a/m4/as-modtool.m4 b/m4/as-modtool.m4 index 8de3c4ae..628a708a 100644 --- a/m4/as-modtool.m4 +++ b/m4/as-modtool.m4 @@ -28,7 +28,7 @@ dnl modpost step 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 -- 2.26.2