summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-11-14 03:55:26 +0000
committerMåns Rullgård <mans@mansr.com>2006-11-14 03:55:26 +0000
commit2e1913b193b67f974de82922ef4852bc742a5100 (patch)
tree2f92e123c5ae939928a7b56583eee26ccdcf5b81 /configure
parentfa28bc16f0d18ab1ce7aa2e608757d809f737394 (diff)
downloadffmpeg-streaming-2e1913b193b67f974de82922ef4852bc742a5100.zip
ffmpeg-streaming-2e1913b193b67f974de82922ef4852bc742a5100.tar.gz
check for inet_aton in configure
Originally committed as revision 7049 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 2 insertions, 7 deletions
diff --git a/configure b/configure
index 9fd9f38..3819e76 100755
--- a/configure
+++ b/configure
@@ -411,6 +411,7 @@ HAVE_LIST='
freetype2
gprof
imlib2
+ inet_aton
localtime_r
lrintf
malloc_h
@@ -567,7 +568,6 @@ mpegaudio_hp="yes"
SHFLAGS='-shared -Wl,-soname,$@'
VHOOKSHFLAGS='$(SHFLAGS)'
beos_netserver="no"
-need_inet_aton="no"
protocols="yes"
ffmpeg="yes"
ffserver="yes"
@@ -631,7 +631,6 @@ if (echo $BEINCLUDES|grep 'headers/be/bone' >/dev/null); then
extralibs="-lbind -lsocket"
else
beos_netserver="yes"
-need_inet_aton="yes"
extralibs="-lnet"
fi ;;
SunOS)
@@ -643,7 +642,6 @@ make="gmake"
FFLDFLAGS=""
FFSERVERLDFLAGS=""
SHFLAGS="-shared -Wl,-h,\$@"
-need_inet_aton="yes"
add_extralibs "-lsocket -lnsl"
;;
NetBSD)
@@ -1419,6 +1417,7 @@ fi
check_header byteswap.h && byteswap_h=yes || byteswap_h=no
+check_func inet_aton && inet_aton=yes || inet_aton=no
check_func localtime_r && localtime_r=yes || localtime_r=no
enabled zlib && check_lib zlib.h zlibVersion -lz || zlib="no"
@@ -2010,10 +2009,6 @@ if test "$targetos" = "Darwin"; then
echo "#define CONFIG_DARWIN 1" >> $TMPH
fi
-if test "$need_inet_aton" = "yes" ; then
- echo "NEED_INET_ATON=yes" >> config.mak
-fi
-
echo "#define restrict $_restrict" >> $TMPH
if test "$optimize" = "small"; then
OpenPOWER on IntegriCloud