summaryrefslogtreecommitdiffstats
path: root/gcc/acinclude.m4
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-14 08:10:41 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-14 08:10:41 +0000
commitc7cc973b32dacc96ccbe4a7612f8cd2698739f77 (patch)
treee1649df2ad83de07dc779eac38c55ae683384d82 /gcc/acinclude.m4
parent727a2c40983fa2885a0f7c95807e42002f19297b (diff)
downloadppe42-gcc-c7cc973b32dacc96ccbe4a7612f8cd2698739f77.tar.gz
ppe42-gcc-c7cc973b32dacc96ccbe4a7612f8cd2698739f77.zip
gcc:
2007-06-14 Paolo Bonzini <bonzini@gnu.org> * acinclude.m4 (gcc_AC_CHECK_PROG_VER): Remove. * aclocal.m4: Regenerate. * configure.ac: Use ACX_PROG_CC_WARNING_OPTS, ACX_PROG_CC_WARNINGS_ARE_ERRORS, ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_CHECK_PROG_VER. * configure: Regenerate. * Makefile.in (LOOSE_WARN): Subst loose_warn. * Makefile.in (quickstrap): Build libgcc too. libiberty: 2007-06-14 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4: Include config/warnings.m4. * configure.ac: Use ACX_PROG_CC_WARNING_OPTS. * configure: Regenerate. config: 2007-06-14 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125700 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/acinclude.m4')
-rw-r--r--gcc/acinclude.m428
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/acinclude.m4 b/gcc/acinclude.m4
index ec1931ce398..70322c75e6b 100644
--- a/gcc/acinclude.m4
+++ b/gcc/acinclude.m4
@@ -295,34 +295,6 @@ if test $gcc_cv_func_mmap_anon = yes; then
fi
])
-dnl Locate a program and check that its version is acceptable.
-dnl AC_PROG_CHECK_VER(var, name, version-switch,
-dnl version-extract-regexp, version-glob)
-AC_DEFUN([gcc_AC_CHECK_PROG_VER],
-[AC_REQUIRE([gcc_AC_BUILD_EXEEXT])
-AC_CHECK_PROG([$1], [$2], [$2])
-if test -n "[$]$1"; then
- # Found it, now check the version.
- AC_CACHE_CHECK(for modern $2, gcc_cv_prog_$2_modern,
-[changequote(<<,>>)dnl
- ac_prog_version=`<<$>>$1 $3 2>&1 |
- sed -n 's/^.*patsubst(<<$4>>,/,\/).*$/\1/p'`
-changequote([,])dnl
- echo "configure:__oline__: version of $2 is $ac_prog_version" >&AS_MESSAGE_LOG_FD
-changequote(<<,>>)dnl
- case $ac_prog_version in
- '') gcc_cv_prog_$2_modern=no;;
- <<$5>>)
- gcc_cv_prog_$2_modern=yes;;
- *) gcc_cv_prog_$2_modern=no;;
- esac
-changequote([,])dnl
-])
-else
- gcc_cv_prog_$2_modern=no
-fi
-])
-
dnl Determine if enumerated bitfields are unsigned. ISO C says they can
dnl be either signed or unsigned.
dnl
OpenPOWER on IntegriCloud