telephony/net
Sebastian Kemper edbeb1b9a3 asterisk-chan-dongle: fix iconv lib detection
A small but important oversight crept into the last asterisk-chan-dongle
update. The iconv library detection was changed to look for iconv()
instead of libiconv().

Reminder: the autoconf macros for finding libraries do _not_ include any
extra headers when testing the compile. So the redefinitions done in
iconv.h provided by any libiconv (stub or regular) aren't visible during
the test the macros execute.

This means that when testing for iconv() the only iconv that can be
detected is the one from libc. Moreover, if the libc doesn't provide
iconv, the check will fail. Below example is with uclibc:

checking for iconv in -liconv... no
configure: error: iconv library missing
Makefile:87: recipe for target '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/asterisk-chan-dongle-asterisk16/asterisk-chan-dongle-2020-05-28-328b2b7d/.configured_a17fb5ef857664f03cd0ce37cc5ea591' failed

So, this changes the patch to look for libiconv(), again.

Also, instead of using AC_CHECK_LIB this uses AC_SEARCH_LIBS, like
upstream does. There apparently was a problem with that in the past, but
now it works fine.

checking for rm... rm
checking for library containing libiconv... -liconv
checking for sqlite3_open in -lsqlite3... yes

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-06-11 19:27:51 +02:00
..
asterisk-16.x asterisk-16.x: sort out lua detection 2020-05-16 21:00:25 +02:00
asterisk-16.x-chan-lantiq asterisk-16.x-chan-lantiq: update snapshot 2019-08-04 11:51:17 +02:00
asterisk-chan-dongle asterisk-chan-dongle: fix iconv lib detection 2020-06-11 19:27:51 +02:00
asterisk-chan-sccp Update to v4.3.2-epsilon (20190730) 2019-07-31 21:37:35 +02:00
asterisk-g72x asterisk-13.x: move package to abandoned packages 2019-07-14 19:25:59 +02:00
asterisk-opus asterisk-13.x: move package to abandoned packages 2019-07-14 19:25:59 +02:00
baresip baresip: add VP8 and VP9 module 2019-10-24 07:06:15 +02:00
freeswitch freeswitch: prevent libcheck use 2020-06-09 18:56:31 +02:00
freeswitch-mod-bcg729 freeswitch-stable-mod-bcg729: rename 2020-05-23 20:02:21 +02:00
kamailio-5.x kamailio-5.x: remove "-funroll-loops" 2020-04-24 21:09:25 +02:00
miax telephony: use PKG_HASH instead of PKG_MD5SUM 2017-10-08 10:31:59 +02:00
pcapsipdump pcapsipdump: fix missing libbsd depend 2019-10-09 19:44:17 +02:00
restund restund: allow parallel build 2019-10-13 19:04:52 +02:00
rtpengine rtpengine: work around sporadic build failures 2020-05-21 17:40:45 +02:00
rtpproxy rtpproxy: fix RTP crypto setup 2019-10-05 10:20:29 +02:00
sipgrep sipgrep: update snapshot 2019-10-05 15:57:55 +02:00
sipp sipp: bump to 3.6.0 2019-10-05 17:38:55 +02:00
siproxd siproxd: capture debug output in syslog 2018-12-08 16:53:08 -08:00
sngrep sngrep: add configuration menu 2019-12-03 13:42:28 +01:00
yate yate: Revert to internal regex implementation 2018-10-02 19:48:18 +02:00