From 4242bcb144522857f7bfe4fbfa33e9e7b8ba0b84 Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Mon, 14 Sep 2015 00:34:37 +0000 Subject: [PATCH] Check environment for group API --- ext/tox/extconf.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ext/tox/extconf.rb b/ext/tox/extconf.rb index 6fb1c32..1a7d3b0 100755 --- a/ext/tox/extconf.rb +++ b/ext/tox/extconf.rb @@ -8,6 +8,7 @@ LIBTOXCORE = 'toxcore' have_header 'time.h' and have_header 'tox/tox.h' and +have_header 'tox/tox_old.h' and have_func 'sprintf' and have_func 'sscanf' and @@ -27,5 +28,9 @@ have_library LIBTOXCORE, 'tox_friend_add_norequest' and have_library LIBTOXCORE, 'tox_friend_send_message' and have_library LIBTOXCORE, 'tox_callback_friend_request' and have_library LIBTOXCORE, 'tox_callback_friend_message' and +have_library LIBTOXCORE, 'tox_join_groupchat' and +have_library LIBTOXCORE, 'tox_group_message_send' and +have_library LIBTOXCORE, 'tox_callback_group_invite' and +have_library LIBTOXCORE, 'tox_callback_group_message' and create_makefile "#{NAME}/#{NAME}" or exit(1)