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.
9
dnl From Sam Steingold.
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
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
24
TEST_NT=${cl_cv_test_nt-no}