Commits
Ryan Schmidt authored fd3e64ac2d1
1 + | Remove questionable build system sanity test which causes the build to |
2 + | fail on Sierra. |
3 + | --- aclocal.m4.orig 2002-08-20 01:01:53.000000000 -0500 |
4 + | +++ aclocal.m4 2016-10-24 09:20:01.000000000 -0500 |
5 + | |
6 + | AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) |
7 + | AC_REQUIRE([AC_PROG_MAKE_SET])]) |
8 + | |
9 + | -# |
10 + | -# Check to make sure that the build environment is sane. |
11 + | -# |
12 + | - |
13 + | -AC_DEFUN([AM_SANITY_CHECK], |
14 + | -[AC_MSG_CHECKING([whether build environment is sane]) |
15 + | -# Just in case |
16 + | -sleep 1 |
17 + | -echo timestamp > conftestfile |
18 + | -# Do `set' in a subshell so we don't clobber the current shell's |
19 + | -# arguments. Must try -L first in case configure is actually a |
20 + | -# symlink; some systems play weird games with the mod time of symlinks |
21 + | -# (eg FreeBSD returns the mod time of the symlink's containing |
22 + | -# directory). |
23 + | -if ( |
24 + | - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` |
25 + | - if test "[$]*" = "X"; then |
26 + | - # -L didn't work. |
27 + | - set X `ls -t $srcdir/configure conftestfile` |
28 + | - fi |
29 + | - if test "[$]*" != "X $srcdir/configure conftestfile" \ |
30 + | - && test "[$]*" != "X conftestfile $srcdir/configure"; then |
31 + | - |
32 + | - # If neither matched, then we have a broken ls. This can happen |
33 + | - # if, for instance, CONFIG_SHELL is bash and it inherits a |
34 + | - # broken ls alias from the environment. This has actually |
35 + | - # happened. Such a system could not be considered "sane". |
36 + | - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
37 + | -alias in your environment]) |
38 + | - fi |
39 + | - |
40 + | - test "[$]2" = conftestfile |
41 + | - ) |
42 + | -then |
43 + | - # Ok. |
44 + | - : |
45 + | -else |
46 + | - AC_MSG_ERROR([newly created file is older than distributed files! |
47 + | -Check your system clock]) |
48 + | -fi |
49 + | -rm -f conftest* |
50 + | -AC_MSG_RESULT(yes)]) |
51 + | - |
52 + | dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) |
53 + | dnl The program must properly implement --version. |
54 + | AC_DEFUN([AM_MISSING_PROG], |