summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-10 20:23:24 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-10 20:23:24 +0000
commit33593191d37494cecf6bac5e7981a8d062f49818 (patch)
treea37e69e582912a089e1a84653629988da0fbd626 /configure
parent7db81061d745e47e6aae1b947c7a5b40084529de (diff)
downloadmpv-33593191d37494cecf6bac5e7981a8d062f49818.tar.bz2
mpv-33593191d37494cecf6bac5e7981a8d062f49818.tar.xz
Split strl.c into strl(cat|cpy).c and move #ifdefs into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21875 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index c3db8a4a22..e0164a2c53 100755
--- a/configure
+++ b/configure
@@ -3411,8 +3411,10 @@ _strlcpy=no
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 @@ _strlcat=no
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_FTELLO = $_need_ftello
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