Line | |
---|
1 | #serial 7
|
---|
2 |
|
---|
3 | dnl From Jim Meyering
|
---|
4 | dnl Replace the utime function on systems that need it.
|
---|
5 |
|
---|
6 | # Copyright (C) 1998, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
|
---|
7 | # This file is free software; the Free Software Foundation
|
---|
8 | # gives unlimited permission to copy and/or distribute it,
|
---|
9 | # with or without modifications, as long as this notice is preserved.
|
---|
10 |
|
---|
11 | dnl FIXME
|
---|
12 |
|
---|
13 | AC_DEFUN([gl_FUNC_UTIME],
|
---|
14 | [
|
---|
15 | AC_REQUIRE([AC_FUNC_UTIME_NULL])
|
---|
16 | if test $ac_cv_func_utime_null = no; then
|
---|
17 | AC_LIBOBJ(utime)
|
---|
18 | AC_DEFINE(utime, rpl_utime,
|
---|
19 | [Define to rpl_utime if the replacement function should be used.])
|
---|
20 | gl_PREREQ_UTIME
|
---|
21 | fi
|
---|
22 | ])
|
---|
23 |
|
---|
24 | # Prerequisites of lib/utime.c.
|
---|
25 | AC_DEFUN([gl_PREREQ_UTIME],
|
---|
26 | [
|
---|
27 | AC_CHECK_HEADERS_ONCE(utime.h)
|
---|
28 | AC_REQUIRE([gl_CHECK_TYPE_STRUCT_UTIMBUF])
|
---|
29 | gl_FUNC_UTIMES_NULL
|
---|
30 | ])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.