mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
nuke the i flag from sed. it's no longer needed and breaks on bsd
This commit is contained in:
parent
50e545292a
commit
e935351cd1
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
#! /bin/sh
|
||||
# Check Autoconf version
|
||||
if [ -x `which autoconf` ]; then
|
||||
AC_VER=`autoconf --version | head -1 | sed 's/^[^0-9]*//i'`
|
||||
AC_VER=`autoconf --version | head -1 | sed 's/^[^0-9]*//'`
|
||||
AC_VER_MAJOR=`echo $AC_VER | cut -f1 -d'.'`
|
||||
AC_VER_MINOR=`echo $AC_VER | cut -f2 -d'.' | sed 's/[^0-9]*$//i'`
|
||||
AC_VER_MINOR=`echo $AC_VER | cut -f2 -d'.' | sed 's/[^0-9]*$//'`
|
||||
|
||||
if [ "$AC_VER_MAJOR" -lt "2" ]; then
|
||||
echo "Autoconf 2.13 or greater needed to build configure."
|
||||
|
|
Loading…
Reference in a new issue