Edit

kc3-lang/automake/m4/protos.m4

Branch :

  • Show log

    Commit

  • Author : Alexandre Duret-Lutz
    Date : 2006-04-09 07:46:56
    Hash : d2e34792
    Message : * automake.in (%ignored_configure_vars): New variable. (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill %ignored_configure_vars. (define_configure_variable): Declare ignored configure variables as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR w.r.t. VAR_SILENT. * m4/substign.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add substign.m4. * m4/cond.m4: _AM_SUBST_IGNORE $1_TRUE and $1_FALSE (PR automake/477). * m4/depend.m4: _AM_SUBST_IGNORE AMDEPBACKSLASH. * m4/protos.m4: _AM_SUBST_IGNORE ANSI2KNR. * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined. * tests/amsubst.test: New file. * tests/Makefile.am (TESTS): Add it.

  • m4/protos.m4
  • ## ------------------------------- ##                       -*- Autoconf -*-
    ## Check for function prototypes.  ##
    ## From Franc,ois Pinard           ##
    ## ------------------------------- ##
    # Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2006
    # Free Software Foundation, Inc.
    #
    # This file is free software; the Free Software Foundation
    # gives unlimited permission to copy and/or distribute it,
    # with or without modifications, as long as this notice is preserved.
    
    # serial 5
    
    AC_DEFUN([AM_C_PROTOTYPES],
    [AC_REQUIRE([AC_C_PROTOTYPES])
    if test "$ac_cv_prog_cc_stdc" != no; then
      U= ANSI2KNR=
    else
      U=_ ANSI2KNR=./ansi2knr
    fi
    # Ensure some checks needed by ansi2knr itself.
    AC_REQUIRE([AC_HEADER_STDC])
    AC_CHECK_HEADERS([string.h])
    AC_SUBST([U])dnl
    AC_SUBST([ANSI2KNR])dnl
    _AM_SUBST_NOTMAKE([ANSI2KNR])dnl
    ])
    
    AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])