Make it really work this time...

2003/05/25 20:40:26+01:00 cantab.net!aia21

(Logical change 1.136)
edge.strict_endians
cantab.net!aia21 2003-05-26 12:58:41 +00:00
parent c161a9b33e
commit b38ca6c1d0
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/sh
if test -z "$1"; then
echo "This program is only to be run by the ./configure script."
exit 1
fi
# Get the gcc version. Can't do this in configure.ac as automake refuses to
# preserve the square brackets while generating the configure script.
$1 --version 2>&1 | head -1 | sed s/"egcs-"// | sed s/"gcc (GCC) \([0-9]\.[0-9]*\).*"/"\1"/