toxon
/
lita-tox
Archived
1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lita-tox/ext/tox/extconf.rb

23 lines
714 B
Ruby
Raw Normal View History

2015-07-25 13:16:16 +00:00
#!/usr/bin/env ruby
require 'mkmf'
NAME = 'tox'
2015-09-09 19:00:18 +00:00
LIBTOXCORE = 'toxcore'
2015-09-12 17:35:42 +00:00
have_library LIBTOXCORE, 'tox_options_default' and
have_library LIBTOXCORE, 'tox_new' and
have_library LIBTOXCORE, 'tox_get_savedata_size' and
have_library LIBTOXCORE, 'tox_get_savedata' and
have_library LIBTOXCORE, 'tox_self_get_address' and
have_library LIBTOXCORE, 'tox_bootstrap' and
2015-09-12 17:53:41 +00:00
have_library LIBTOXCORE, 'tox_kill' and
have_library LIBTOXCORE, 'tox_version_is_compatible' and
2015-09-13 10:36:55 +00:00
have_library LIBTOXCORE, 'tox_iteration_interval' and
have_library LIBTOXCORE, 'tox_iterate' and
2015-09-13 11:42:38 +00:00
have_library LIBTOXCORE, 'tox_friend_add_norequest' and
2015-09-13 11:44:20 +00:00
have_library LIBTOXCORE, 'tox_friend_send_message' and
2015-09-12 17:35:42 +00:00
create_makefile "#{NAME}/#{NAME}" or exit(1)