From 2eaa1104f7af7afa13e5e9a36020efaa33c0e050 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 8 Mar 2008 19:55:47 +0000 Subject: Checkin tiny_libmaker (ar replacement) by Timovj Lahde --- configure | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 56fe798..a98f078 100755 --- a/configure +++ b/configure @@ -181,7 +181,20 @@ EOF gcc_major="2" if $cc -o $TMPO $TMPC 2> /dev/null ; then - gcc_major="3" + gcc_major="3" +fi +cat > $TMPC <= 4 +return 0; +#else +#error gcc < 4 +#endif +} +EOF + +if $cc -o $TMPO $TMPC 2> /dev/null ; then + gcc_major="4" fi if test x"$1" = x"-h" -o x"$1" = x"--help" ; then -- cgit v1.3.1