Mercurial > mplayer.hg
diff configure @ 21857:8d9e6b4fbf4d
Split strl.c into strl(cat|cpy).c and move #ifdefs into the build system.
author | diego |
---|---|
date | Wed, 10 Jan 2007 20:23:24 +0000 |
parents | e268886eb13d |
children | 492ed5c89a64 |
line wrap: on
line diff
--- a/configure Wed Jan 10 19:35:41 2007 +0000 +++ b/configure Wed Jan 10 20:23:24 2007 +0000 @@ -3411,8 +3411,10 @@ cc_check && _strlcpy=yes if test "$_strlcpy" = yes ; then _def_strlcpy='#define HAVE_STRLCPY 1' + _need_strlcpy=no else _def_strlcpy='#undef HAVE_STRLCPY' + _need_strlcpy=yes fi echores "$_strlcpy" @@ -3425,8 +3427,10 @@ cc_check && _strlcat=yes if test "$_strlcat" = yes ; then _def_strlcat='#define HAVE_STRLCAT 1' + _need_strlcat=no else _def_strlcat='#undef HAVE_STRLCAT' + _need_strlcat=yes fi echores "$_strlcat" @@ -7488,6 +7492,8 @@ NEED_GLOB = $_need_glob NEED_SCANDIR = $_need_scandir NEED_SETENV = $_need_setenv +NEED_STRLCAT = $_need_strlcat +NEED_STRLCPY = $_need_strlcpy NEED_STRSEP = $_need_strsep NEED_SWAB = $_need_swab NEED_VSSCANF = $_need_vsscanf