source: trunk/essentials/app-arch/tar/m4/tempname.m4

Last change on this file was 3342, checked in by bird, 18 years ago

tar 1.16.1

File size: 652 bytes
Line 
1#serial 2
2
3# Copyright (C) 2006 Free Software Foundation, Inc.
4# This file is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# glibc provides __gen_tempname as a wrapper for mk[ds]temp. Expose
9# it as a public API, and provide it on systems that are lacking.
10AC_DEFUN([gl_FUNC_GEN_TEMPNAME],
11[
12 AC_REQUIRE([AC_SYS_LARGEFILE])
13
14 AC_LIBOBJ([tempname])
15 gl_PREREQ_TEMPNAME
16])
17
18# Prerequisites of lib/tempname.c.
19AC_DEFUN([gl_PREREQ_TEMPNAME],
20[
21 AC_CHECK_HEADERS_ONCE([sys/time.h])
22 AC_CHECK_FUNCS_ONCE([gettimeofday])
23])
Note: See TracBrowser for help on using the repository browser.