[Ffmpeg-cvslog] r7049 - in trunk: configure libavformat/Makefile
mru
subversion
Tue Nov 14 04:55:26 CET 2006
Author: mru
Date: Tue Nov 14 04:55:26 2006
New Revision: 7049
Modified:
trunk/configure
trunk/libavformat/Makefile
Log:
check for inet_aton in configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Tue Nov 14 04:55:26 2006
@@ -411,6 +411,7 @@
freetype2
gprof
imlib2
+ inet_aton
localtime_r
lrintf
malloc_h
@@ -567,7 +568,6 @@
SHFLAGS='-shared -Wl,-soname,$@'
VHOOKSHFLAGS='$(SHFLAGS)'
beos_netserver="no"
-need_inet_aton="no"
protocols="yes"
ffmpeg="yes"
ffserver="yes"
@@ -631,7 +631,6 @@
extralibs="-lbind -lsocket"
else
beos_netserver="yes"
-need_inet_aton="yes"
extralibs="-lnet"
fi ;;
SunOS)
@@ -643,7 +642,6 @@
FFLDFLAGS=""
FFSERVERLDFLAGS=""
SHFLAGS="-shared -Wl,-h,\$@"
-need_inet_aton="yes"
add_extralibs "-lsocket -lnsl"
;;
NetBSD)
@@ -1419,6 +1417,7 @@
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 @@
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
Modified: trunk/libavformat/Makefile
==============================================================================
--- trunk/libavformat/Makefile (original)
+++ trunk/libavformat/Makefile Tue Nov 14 04:55:26 2006
@@ -167,7 +167,7 @@
OBJS+= file.o
ifeq ($(CONFIG_NETWORK),yes)
OBJS+= udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o mpegts.o base64.o rtp_h264.o
-ifeq ($(NEED_INET_ATON),yes)
+ifneq ($(HAVE_INET_ATON),yes)
OBJS+= barpainet.o
endif
endif
More information about the ffmpeg-cvslog
mailing list