diff options
author | Thomas Adam <thomas@xteddy.org> | 2013-01-31 00:14:59 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2013-01-31 00:14:59 +0000 |
commit | fe00607816308953209cb85ab92a586c1f344cde (patch) | |
tree | 305f0201f827bc6ac784778a113409cbd7b71296 | |
parent | 6e6d75610970c385c80e896a38a004985fd0ae7d (diff) | |
download | rtmux-fe00607816308953209cb85ab92a586c1f344cde.tar.gz rtmux-fe00607816308953209cb85ab92a586c1f344cde.tar.bz2 rtmux-fe00607816308953209cb85ab92a586c1f344cde.zip |
Only set AUTO{MAKE,CONF}_VERSION on OpenBSD
OpenBSD requires the presence of AUTOMAKE_VERSION and AUTOCONF_VERSION for
bootstrapping purposes. Setting these on any other system requires that
explicit version to be used, rather than what might already be installed.
Therefore, only do this when the platform is OpenBSD and ignore everything
else.
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,8 +1,10 @@ #!/bin/sh # $Id$ -[ -z "$AUTOMAKE_VERSION" ] && export AUTOMAKE_VERSION=1.10 -[ -z "$AUTOCONF_VERSION" ] && export AUTOCONF_VERSION=2.65 +if [ "x$(uname)" = "xOpenBSD" ]; then + [ -z "$AUTOMAKE_VERSION" ] && export AUTOMAKE_VERSION=1.10 + [ -z "$AUTOCONF_VERSION" ] && export AUTOCONF_VERSION=2.65 +fi die() { |