configure.ac: fix to correctly export deprecated functions build options to
python bindings.
This commit is contained in:
parent
c6c7ed16f6
commit
845be2e98e
|
@ -323,6 +323,7 @@ AS_CASE(["$ARG_ENABLE_DEPRECATED"],
|
||||||
["no"|"off"], [
|
["no"|"off"], [
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
AC_DEFINE([TORRENT_NO_DEPRECATE],[1],[Define to exclude all deprecated functions from the API.])
|
AC_DEFINE([TORRENT_NO_DEPRECATE],[1],[Define to exclude all deprecated functions from the API.])
|
||||||
|
COMPILETIME_OPTIONS+="-DTORRENT_NO_DEPRECATE "
|
||||||
],
|
],
|
||||||
[AC_MSG_RESULT([$ARG_ENABLE_DEPRECATED])
|
[AC_MSG_RESULT([$ARG_ENABLE_DEPRECATED])
|
||||||
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_DEPRECATED". Use either "yes" or "no".])]
|
AC_MSG_ERROR([Unknown option "$ARG_ENABLE_DEPRECATED". Use either "yes" or "no".])]
|
||||||
|
|
Loading…
Reference in New Issue