configure.ac: remove AC_SEARCH_LIBS for libintl
authormonojenkins <releng@xamarin.com>
Wed, 22 Jan 2020 20:28:45 +0000 (20:28 +0000)
committermonojenkins <releng@xamarin.com>
Wed, 22 Jan 2020 20:28:45 +0000 (20:28 +0000)
This causes an additional dependency of mono on libintl which we didn't have before.
Reported by a user on gitter, it's problematic on macOS since it makes the mono binary depend on the libintl we ship in the Mono .pkg.

It was introduced in Mono 6.6 by https://github.com/mono/mono/commit/18e0ebfe89be0a175d2f904b9bb1ec6816daa318

src/mono/configure.ac

index 7a038f59e9f151219ec819c367d4fe9ae91b921d..410592c65db590521f450df2424a3eba3e7720cf 100644 (file)
@@ -2947,13 +2947,6 @@ if test x$host_win32 = xno; then
        AC_SEARCH_LIBS(shm_open, pthread rt posix4) 
        AC_CHECK_FUNCS(shm_open)
 
-       dnl ********************************
-       dnl ***  Checks for gettext lib  ***
-       dnl ********************************
-       # This is needed for some hackery for AIX;
-       # Mono itself doesn't use it, but DllMap includes it
-       AC_SEARCH_LIBS([gettext], [intl])
-
        dnl ********************************
        dnl *** Checks for timezone stuff **
        dnl ********************************