| 40263:8066acc5ed93 | 40282:35b4a6224d6d |
|---|---|
| 1 ####################################################################### | 1 ####################################################################### |
| 2 # Check for Internationalized Domain Name support | 2 # Check for Internationalized Domain Name support |
| 3 ####################################################################### | 3 ####################################################################### |
| 4 | |
| 5 idn = dependency('libidn', version : '>= 0.0.0', required : get_option('idn')) | |
| 6 if idn.found() | |
| 7 use_idn = [ '-DUSE_IDN' ] | |
| 8 else | |
| 9 use_idn = [] | |
| 10 endif | |
| 11 | 4 |
| 12 JABBERSOURCES = [ | 5 JABBERSOURCES = [ |
| 13 'adhoccommands.c', | 6 'adhoccommands.c', |
| 14 'adhoccommands.h', | 7 'adhoccommands.h', |
| 15 'auth.c', | 8 'auth.c', |
| 113 jabber_link_args = [] | 106 jabber_link_args = [] |
| 114 endif | 107 endif |
| 115 | 108 |
| 116 if DYNAMIC_JABBER | 109 if DYNAMIC_JABBER |
| 117 jabber_prpl = shared_library('jabber', JABBERSOURCES, | 110 jabber_prpl = shared_library('jabber', JABBERSOURCES, |
| 118 c_args : use_idn, | |
| 119 link_args : jabber_link_args, | 111 link_args : jabber_link_args, |
| 120 dependencies : [gstreamer, idn, libxml, sasl, libpurple_dep, libsoup, glib, gio, math, ws2_32], | 112 dependencies : [gstreamer, idn, libxml, sasl, libpurple_dep, libsoup, glib, gio, math, ws2_32], |
| 121 install : true, install_dir : PURPLE_PLUGINDIR) | 113 install : true, install_dir : PURPLE_PLUGINDIR) |
| 122 | 114 |
| 123 subdir('tests') | 115 subdir('tests') |