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.
---
 autogen.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index a3cc937..300b54d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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()
 {
-- 
1.7.11.4


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to