From 845be2e98e455e964aac70971323341914296796 Mon Sep 17 00:00:00 2001 From: cristiangreco Date: Thu, 20 Jan 2011 18:40:43 +0000 Subject: [PATCH] configure.ac: fix to correctly export deprecated functions build options to python bindings. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index f09a60faf..d19e4dec9 100644 --- a/configure.ac +++ b/configure.ac @@ -323,6 +323,7 @@ AS_CASE(["$ARG_ENABLE_DEPRECATED"], ["no"|"off"], [ AC_MSG_RESULT([no]) 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_ERROR([Unknown option "$ARG_ENABLE_DEPRECATED". Use either "yes" or "no".])]