pike.git / src / configure.in

version» Context lines:

pike.git/src/configure.in:2779:   AC_C_CONST      # The above doesn't find IBM C's buggy const.      if test "$ac_cv_c_const" = "yes"; then    AC_MSG_CHECKING(if const really does work)    AC_CACHE_VAL(pike_cv_c_really_const,[    AC_TRY_COMPILE([   const int foo(int bar) { return bar; }    ], [ -  return bar(0); +  return foo(0);    ], [    pike_cv_c_really_const=yes    ], [    pike_cv_c_really_const=no    ])    ])       AC_MSG_RESULT($pike_cv_c_really_const)    if test "x$pike_cv_c_really_const" = xno ; then    AC_DEFINE(const, [])