1
dnl Copyright (C) 1993-2002 Free Software Foundation, Inc.
2
dnl This file is free software, distributed under the terms of the GNU
3
dnl General Public License. As a special exception to the GNU General
4
dnl Public License, this file may be distributed as part of a program
5
dnl that contains a configuration script generated by Autoconf, under
6
dnl the same distribution terms as the rest of that program.
8
dnl From Bruno Haible, Marcus Daniels.
12
AC_DEFUN([CL_CC_NEED_DEEMA],
13
[AC_REQUIRE([AC_PROG_CPP])
14
AC_CACHE_CHECK(whether CPP likes empty macro arguments, cl_cv_prog_cc_ema, [
15
AC_TRY_CPP([#define divide(x,y,q_zuw,r_zuw) (r_zuw(x)-(q_zuw(x)/(y))*(y))
16
foo(x,y) int x,y; { int q; divide(x,y,q=,); return q; }],
17
cl_cv_prog_cc_ema=yes, cl_cv_prog_cc_ema=no)
19
if test $cl_cv_prog_cc_ema = yes; then
24
AC_SUBST(CC_NEED_DEEMA)dnl