summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/aclocal.m4
diff options
context:
space:
mode:
authorKeith Marshall <keithmarshall@@users.sf.net>2006-09-10 14:44:55 +0000
committerKeith Marshall <keithmarshall@@users.sf.net>2006-09-10 14:44:55 +0000
commit7146ace87f5c3a8c91b241baf9e6382ba01deb2e (patch)
treed6cceb63e677b4fb8d5fc6dee555befcee3594a6 /winsup/mingw/aclocal.m4
parent635f4bd398f6b7dc7650bf210ec4bff4cdc39554 (diff)
downloadcygnal-7146ace87f5c3a8c91b241baf9e6382ba01deb2e.tar.gz
cygnal-7146ace87f5c3a8c91b241baf9e6382ba01deb2e.tar.bz2
cygnal-7146ace87f5c3a8c91b241baf9e6382ba01deb2e.zip
* aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
Redundant macros; deleted. * configure.in (LIB_AC_PROG_CC): Replaced by... (AC_PROG_CC): ...this. * configure: Regenerated.
Diffstat (limited to 'winsup/mingw/aclocal.m4')
-rw-r--r--winsup/mingw/aclocal.m455
1 files changed, 9 insertions, 46 deletions
diff --git a/winsup/mingw/aclocal.m4 b/winsup/mingw/aclocal.m4
index 6d3387ada..b4070368c 100644
--- a/winsup/mingw/aclocal.m4
+++ b/winsup/mingw/aclocal.m4
@@ -1,5 +1,11 @@
-# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
-
+# aclocal.m4 for MinGW Runtime package. -*- Autoconf -*-
+#
+# This provides configure definitions used by all the winsup
+# configure.in files.
+#
+# The following is copied from `no-executables.m4', in the top
+# `src/config' directory.
+#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
@@ -73,47 +79,4 @@ fi)
m4_divert_pop()dnl
])# GCC_NO_EXECUTABLES
-dnl This provides configure definitions used by all the winsup
-dnl configure.in files.
-
-# FIXME: We temporarily define our own version of AC_PROG_CC. This is
-# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
-# are probably using a cross compiler, which will not be able to fully
-# link an executable. This should really be fixed in autoconf
-# itself.
-
-AC_DEFUN([LIB_AC_PROG_CC_GNU],
-[AC_CACHE_CHECK(whether we are using GNU C, ac_cv_prog_gcc,
-[dnl The semicolon is to pacify NeXT's syntax-checking cpp.
-cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if AC_TRY_COMMAND(${CC-cc} -E conftest.c) | egrep yes >/dev/null 2>&1; then
- ac_cv_prog_gcc=yes
-else
- ac_cv_prog_gcc=no
-fi])])
-
-AC_DEFUN([LIB_AC_PROG_CC],
-[AC_BEFORE([$0], [AC_PROG_CPP])dnl
-AC_CHECK_TOOL(CC, gcc, gcc)
-: ${CC:=gcc}
-AC_PROG_CC
-test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
-])
-
-AC_DEFUN([LIB_AC_PROG_CXX],
-[AC_BEFORE([$0], [AC_PROG_CPP])dnl
-AC_CHECK_TOOL(CXX, g++, g++)
-if test -z "$CXX"; then
- AC_CHECK_TOOL(CXX, g++, c++, , , )
- : ${CXX:=g++}
- AC_PROG_CXX
- test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
-fi
-
-CXXFLAGS='$(CFLAGS)'
-])
-
+# $RCSfile$: end of file: vim: ft=config