Edit

kc3-lang/automake/m4/obstack.m4

Branch :

  • Show log

    Commit

  • Author : Akim Demaille
    Date : 2000-08-02 08:59:16
    Hash : 4b893ece
    Message : * m4: Quote properly the name of the macros being defined. Use `#' instead of `dnl' where appropriate. * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just quote. Don't quote passive characters. Pull the AC_PREREQ outside the macro. * m4/init.m4: Pull the AC_PREREQ outside the macro.

  • m4/obstack.m4
  • # From Jim Meyering.
    # FIXME: migrate into libit.
    
    AC_DEFUN([AM_FUNC_OBSTACK],
    [AC_CACHE_CHECK([for obstacks], am_cv_func_obstack,
     [AC_TRY_LINK([#include "obstack.h"],
    	      [struct obstack *mem;obstack_free(mem,(char *) 0)],
    	      am_cv_func_obstack=yes,
    	      am_cv_func_obstack=no)])
     if test $am_cv_func_obstack = yes; then
       AC_DEFINE(HAVE_OBSTACK,1,[Define if libc includes obstacks])
     else
       LIBOBJS="$LIBOBJS obstack.$ac_objext"
     fi
    ])