~ubuntu-branches/debian/squeeze/ffcall/squeeze

« back to all changes in this revision

Viewing changes to src/m4/test.m4

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2010-06-26 15:29:30 UTC
  • mfrom: (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100626152930-c09y01gk3szcnykn
Tags: 1.10+cvs20100619-2
Ship to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl -*- Autoconf -*-
2
 
dnl Copyright (C) 2005-2006 Free Software Foundation, Inc.
3
 
dnl This file is free software, distributed under the terms of the GNU
4
 
dnl General Public License.  As a special exception to the GNU General
5
 
dnl Public License, this file may be distributed as part of a program
6
 
dnl that contains a configuration script generated by Autoconf, under
7
 
dnl the same distribution terms as the rest of that program.
8
 
 
9
 
dnl From Sam Steingold.
10
 
 
11
 
AC_PREREQ(2.13)
12
 
 
13
 
AC_DEFUN([CL_TEST_NT],[dnl check that test(1) can serve as make(1)
14
 
AC_CACHE_CHECK(whether test -nt works, cl_cv_test_nt, [
15
 
rm -f conftestfile1 conftestfile2
16
 
touch conftestfile1
17
 
# see makemake.in, rule "anymodule":
18
 
if (test -f conftestfile1 -a conftestfile1 -nt conftestfile2) 1>&5 2>&5
19
 
then cl_cv_test_nt=yes
20
 
else cl_cv_test_nt=no
21
 
fi
22
 
rm -f conftestfile1
23
 
])
24
 
TEST_NT=${cl_cv_test_nt-no}
25
 
AC_SUBST(TEST_NT)dnl
26
 
])