mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
040f256d54
hasn't learned about yet
21 lines
632 B
Bash
Executable file
21 lines
632 B
Bash
Executable file
#!/bin/sh
|
|
|
|
ltver=`libtool --version | sed -e 's/.*(GNU libtool) *\([0-9]\+\(\.[0-9]\+\)\+\).*/\1/'`
|
|
amver=`automake --version | grep '(GNU automake)' | sed -e 's/.*(GNU automake) *\([0-9]\+\(\.[0-9]\+\)\+\).*/\1/'`
|
|
IFS="."
|
|
set $ltver
|
|
ltver_maj=$1
|
|
ltver_min=$2
|
|
set $amver
|
|
amver_maj=$1
|
|
amver_min=$2
|
|
IFS=" "
|
|
|
|
if test $ltver_maj -gt 1 -o $ltver_maj -eq 1 -a $ltver_min -ge 4; then
|
|
if test $amver_maj -lt 1 -o $amver_maj -eq 1 -a $amver_min -le 4; then
|
|
echo 'working around libtool >= 1.4 / automake <= 1.4 incompatability'
|
|
touch ltconfig
|
|
fi
|
|
fi
|
|
|
|
aclocal && autoheader && libtoolize --automake && automake --add-missing && autoconf
|