Originally committed as revision 14729 to svn://svn.ffmpeg.org/ffmpeg/trunk
ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale
CFLAGS := -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
- -D_ISOC9X_SOURCE -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(OPTFLAGS)
+ -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(OPTFLAGS)
%.o: %.c
$(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
tests: $(TESTS)
--include $(DEPS)
+#-include $(DEPS)
vhook="default"
# build settings
+add_cflags '-D_ISOC9X_SOURCE'
SHFLAGS='-shared -Wl,-soname,$$(@F)'
VHOOKSHFLAGS='$(SHFLAGS)'
FFSERVERLDFLAGS=-Wl,-E
# test for C99 functions in math.h
for func in llrint lrint lrintf round roundf; do
check_exec <<EOF && enable $func || disable $func
-#define _ISOC9X_SOURCE 1
#include <math.h>
int main(void) { return ($func(3.999f) > 0)?0:1; }
EOF