Some platforms require the gettext check to have args, as with
strftime
CheckForIncludeFile locale.h &&
CheckForIncludeFile libintl.h && {
ENABLE_NLS="#define ENABLE_NLS 1"
- CheckForLibrary gettext -lc || {
- CheckForLibrary gettext -lintl && {
+ CheckForLibraryWithArgs gettext '""' -lc || {
+ CheckForLibraryWithArgs gettext '""' -lintl && {
Note "Looks like -lintl is needed for gettext support."
MACHDEPLIBS="$MACHDEPLIBS -lintl"
}