From: Frank Mori Hess Date: Fri, 6 Jun 2003 14:07:58 +0000 (+0000) Subject: added some m4 quoting (fixes docbook warning message with comma), added X-Git-Tag: r0_7_21~90 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7af1cc7f5ede78b87c996706f8ee4ef7e08b6009;p=comedilib.git added some m4 quoting (fixes docbook warning message with comma), added warning message when python binding will not be compiled. --- diff --git a/comedi_calibrate/comedi_calibrate.c b/comedi_calibrate/comedi_calibrate.c index d070aa0..a8716d8 100644 --- a/comedi_calibrate/comedi_calibrate.c +++ b/comedi_calibrate/comedi_calibrate.c @@ -975,7 +975,7 @@ double check_gain_chan_x( calibration_setup_t *setup, linear_fit_t *l,unsigned i sum_err=0; for(i=0;i*stepdev, &sv); diff --git a/configure.ac b/configure.ac index 0d8cde2..8f1507e 100644 --- a/configure.ac +++ b/configure.ac @@ -26,18 +26,18 @@ AC_SUBST(COMEDILIB_CFLAGS) AC_SUBST(COMEDILIB_LIBS) AM_PATH_PYTHON -AM_CHECK_PYTHON_HEADERS(HAVE_PYTHON=yes,HAVE_PYTHON=no) -AM_CONDITIONAL(HAVE_PYTHON, test "x$HAVE_PYTHON" = xyes) +AM_CHECK_PYTHON_HEADERS(HAVE_PYTHON=yes,[HAVE_PYTHON=no;AC_MSG_WARN([python headers not found, disabling python binding])]) +AM_CONDITIONAL(HAVE_PYTHON, [test "x$HAVE_PYTHON" = xyes]) -AS_COMPILER_FLAG(-fno-strict-aliasing,PYTHON_QUIET="$PYTHON_QUIET -fno-strict-aliasing", true ) -AS_COMPILER_FLAG(-Wno-unused-function,PYTHON_QUIET="$PYTHON_QUIET -Wno-unused-function", true ) +AS_COMPILER_FLAG([-fno-strict-aliasing],[PYTHON_QUIET="$PYTHON_QUIET -fno-strict-aliasing"], true ) +AS_COMPILER_FLAG([-Wno-unused-function],[PYTHON_QUIET="$PYTHON_QUIET -Wno-unused-function"], true ) AC_SUBST(PYTHON_QUIET) AC_PATH_PROG(JW_PATH, jw, no) if test x$JW_PATH = xno ; then - AC_MSG_WARN(docbook-tools (jw) not found, disabling documentation) + AC_MSG_WARN([docbook-tools (jw) not found, disabling documentation]) fi -AM_CONDITIONAL(HAVE_DOCBOOK, test "x$JW_PATH" != xno) +AM_CONDITIONAL(HAVE_DOCBOOK, [test "x$JW_PATH" != xno]) AC_CONFIG_FILES(