summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorunknown <brian@avenger.(none)>2004-12-06 10:04:16 -0800
committerunknown <brian@avenger.(none)>2004-12-06 10:04:16 -0800
commit3a5f7eab1dd3a9e5d8a8f1a7c273e155a6c351f1 (patch)
tree40b35141bfa0ff9e210d77d1f46610227160340a /config
parente0dad0555d0721529b6b46fc75c99c20607a0c13 (diff)
downloadmariadb-git-3a5f7eab1dd3a9e5d8a8f1a7c273e155a6c351f1.tar.gz
Removed the need for our own sanity check file (which was just the default anyways).
BitKeeper/deleted/.del-sanity.m4~bce40721a813daac: Delete: config/ac-macros/sanity.m4 configure.in: Removed the need for our own sanity check.
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/sanity.m463
1 files changed, 0 insertions, 63 deletions
diff --git a/config/ac-macros/sanity.m4 b/config/ac-macros/sanity.m4
deleted file mode 100644
index 3904bdd983f..00000000000
--- a/config/ac-macros/sanity.m4
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# Check to make sure that the build environment is sane.
-#
-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 3
-
-# AM_SANITY_CHECK
-# ---------------
-AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftest.file`
- fi
- rm -f conftest.file
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
-alias in your environment])
- fi
-
- test "$[2]" = conftest.file
- )
-then
- # Ok.
- :
-else
- AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT(yes)])