mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
#1441: configure doesn't work on FreeBSD, because of bashism in PEERID_PREFIX.
This commit is contained in:
parent
b995928ab6
commit
9917e924ba
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ AC_CONFIG_SRCDIR(libtransmission/transmission.h)
|
||||||
AM_INIT_AUTOMAKE([1.9 tar-ustar])
|
AM_INIT_AUTOMAKE([1.9 tar-ustar])
|
||||||
AC_PROG_LIBTOOL
|
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])
|
AC_DEFINE(TR_UNSTABLE, 1, [Define to 1 if this is an unstable version of Transmission])
|
||||||
TR_UNSTABLE=yes
|
TR_UNSTABLE=yes
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue