/[bison]/bison/m4/timevar.m4
ViewVC logotype

Diff of /bison/m4/timevar.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by akim, Sun Oct 13 19:39:29 2002 UTC revision 1.4 by eggert, Thu Mar 13 00:25:33 2003 UTC
# Line 1  Line 1 
1  # -*- Autoconf -*-  # -*- Autoconf -*-
2  # Checks required to run `timevar', a time tracker.  # Checks required to run `timevar', a time tracker.
3  #  #
4  # Copyright (C) 2002 Free Software Foundation, Inc.  # Copyright (C) 2002, 2003 Free Software Foundation, Inc.
5  #  #
6  # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
7  # it under the terms of the GNU General Public License as published by  # it under the terms of the GNU General Public License as published by
# Line 18  Line 18 
18  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19  # 02111-1307  USA  # 02111-1307  USA
20    
21  # serial 1  # serial 2
22    
23  AC_DEFUN([BISON_PREREQ_TIMEVAR],  AC_DEFUN([BISON_PREREQ_TIMEVAR],
24  [AC_CHECK_HEADERS([sys/resource.h sys/time.h sys/times.h])  [AC_CHECK_HEADERS([sys/time.h sys/times.h])
25     AC_CHECK_HEADERS([sys/resource.h],,,
26       [$ac_includes_default
27    #if HAVE_SYS_TIME_H
28    # include <sys/time.h>
29    #endif
30    #ifdef HAVE_SYS_TIMES_H
31    # include <sys/times.h>
32    #endif
33    ])
34  AC_CHECK_FUNCS([times])  AC_CHECK_FUNCS([times])
35    
36  AC_CHECK_DECLS([getrusage, times, clock, sysconf], [], [],  AC_CHECK_DECLS([getrusage, times, clock, sysconf], [], [],

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26