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)