autoconf iconv test broken #168

Closed
opened 2026-10-05 04:02:10 +02:00 by adam · 3 comments
Owner

The current iconv testing done within the autoconf script is broken on OS's that use gettext and fails to detect the presence of iconv. The problem is that the snippet of code generated by autoconf to detect the presence of iconv does not include the iconv.h header which is required. Using the autoconf macro from gettext itself would resolve this issue.

The current iconv testing done within the autoconf script is broken on OS's that use gettext and fails to detect the presence of iconv. The problem is that the snippet of code generated by autoconf to detect the presence of iconv does not include the iconv.h header which is _required_. Using the autoconf macro from gettext itself would resolve this issue. <!-- github-sync-id:8439109 -->
adam closed this issue 2026-10-05 04:02:10 +02:00
Author
Owner

Uhm, what magic does your iconv.h do? Does it #define iconv to something else or what?

Uhm, what magic does your iconv.h do? Does it #define iconv to something else or what? <!-- github-comment-id:10472256 -->
Author
Owner

It is not "my" iconv.h. It is gettext. The header does define the symbol to another name if gettext is used on an OS where its a standalone library (libintl) instead of a plugin to libc (GLIBC).

It is not "my" iconv.h. It is gettext. The header does define the symbol to another name if gettext is used on an OS where its a standalone library (libintl) instead of a plugin to libc (GLIBC). <!-- github-comment-id:10472447 -->
Author
Owner

May you give us the fix, since you already looked at the issue anyway?

May you give us the fix, since you already looked at the issue anyway? <!-- github-comment-id:10512519 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#168