-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using brew, <libintl.h> and the associated library are installed under /opt/brew/{include,lib}. Our configure script did not check these locations, the files were not found and thus i18n was unavailable and disabled. I've added the internal variables EXTRA_INCLUDEDIRS_TO_CHECK and EXTRA_LIBDIRS_TO_CHECK to the configure script. They expand the directories checked by check_include() and find_lib() and can be set depending on the build environment so we don't need to check these directories on every non-brew/MacOS build. We also need to use the extra include directories when building our test targets: util.test includes "common.h" which in turn includes <libintl.h> which needs extra flags as described above. Because using all $GBSCFLAGS messes up our test build, we filter only for the -I include paths.
- Loading branch information
Showing
3 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters