Checkin tiny_libmaker (ar replacement) by Timovj Lahde

This commit is contained in:
grischka
2008-03-08 19:55:47 +00:00
parent 265dddbecf
commit 2eaa1104f7
7 changed files with 393 additions and 72 deletions

15
configure vendored
View File

@ -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 <<EOF
int main(void) {
#if __GNUC__ >= 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