diff options
author | wm4 <wm4@nowhere> | 2014-11-17 21:22:21 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-17 21:22:21 +0100 |
commit | 2f9467cfd2574af44f97ee89b460c410a5a3c85a (patch) | |
tree | 2ae50d584c136b84778cff4429ec9dbddf780d6d /configure.ac | |
parent | 0c0b3f57aa688f3d2b38c5faf8178dad45302aa0 (diff) | |
download | libass-2f9467cfd2574af44f97ee89b460c410a5a3c85a.tar.bz2 libass-2f9467cfd2574af44f97ee89b460c410a5a3c85a.tar.xz |
Provide a strndup() fallback
This standard function is not available everywhere, so we detect it and
provide a fallback if missing.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5575dfdb..abcb474c 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ AC_TYPE_UINT32_T AC_TYPE_UINT8_T # Checks for library functions. -AC_CHECK_FUNCS([mkdir strcasecmp strdup strtol]) +AC_CHECK_FUNCS([mkdir strcasecmp strdup strndup strtol]) # Checks for libraries. AC_SEARCH_LIBS([iconv_open], [iconv], AC_DEFINE(CONFIG_ICONV, 1, [use iconv])) |