autogen.sh 340 Bytes
Newer Older
1 2
#!/bin/sh
#
3 4
VERSION=version.m4

Jakob Schlyter's avatar
Jakob Schlyter committed
5
if [ `dirname $0` = ".." ]; then
6
	if [ -f ../${VERSION} ]; then
7 8
		echo Creating ${VERSION} &&
		rm -f ${VERSION} &&
9 10 11
		ln ../${VERSION} ${VERSION} 2>/dev/null ||
		ln -s ../${VERSION} ${VERSION} 2>/dev/null ||
		cp ../${VERSION} ${VERSION}
12
	fi
13
fi &&
14

15
echo "Running autoreconf" &&
16
autoreconf --install --force