#1441: configure doesn't work on FreeBSD, because of bashism in PEERID_PREFIX.

This commit is contained in:
Charles Kerr 2008-11-08 20:09:19 +00:00
parent b995928ab6
commit 9917e924ba
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ AC_CONFIG_SRCDIR(libtransmission/transmission.h)
AM_INIT_AUTOMAKE([1.9 tar-ustar])
AC_PROG_LIBTOOL
if test "x${PEERID_PREFIX: -2:1}" = "xZ"; then
if test m4_substr(peer_id_prefix,6,1) = "Z"; then
AC_DEFINE(TR_UNSTABLE, 1, [Define to 1 if this is an unstable version of Transmission])
TR_UNSTABLE=yes
fi