View | Details | Raw Unified | Return to bug 149889
Collapse All | Expand All

(-)configure (-6 / +6 lines)
Lines 1517-1523 Link Here
1517
nm_opts='-g'
1517
nm_opts='-g'
1518
1518
1519
# machine
1519
# machine
1520
arch_default=$(uname -m)
1520
arch_default=$(uname -p)
1521
cpu="generic"
1521
cpu="generic"
1522
1522
1523
# OS
1523
# OS
Lines 1564-1570 Link Here
1564
1564
1565
CC_O='-o $@'
1565
CC_O='-o $@'
1566
1566
1567
host_cflags='-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -O3 -g -Wall'
1567
host_cflags='-D_ISOC99_SOURCE -O3 -g -Wall'
1568
host_libs='-lm'
1568
host_libs='-lm'
1569
1569
1570
target_path='$(CURDIR)'
1570
target_path='$(CURDIR)'
Lines 2164-2170 Link Here
2164
    die "C compiler test failed."
2164
    die "C compiler test failed."
2165
fi
2165
fi
2166
2166
2167
add_cppflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
2167
add_cppflags -D_ISOC99_SOURCE
2168
check_cflags -std=c99
2168
check_cflags -std=c99
2169
check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
2169
check_cc -D_FILE_OFFSET_BITS=64 <<EOF && add_cppflags -D_FILE_OFFSET_BITS=64
2170
#include <stdlib.h>
2170
#include <stdlib.h>
Lines 2717-2724 Link Here
2717
    fi
2717
    fi
2718
fi
2718
fi
2719
2719
2720
check_header linux/videodev.h
2720
#check_header linux/videodev.h
2721
check_header linux/videodev2.h
2721
#check_header linux/videodev2.h
2722
check_header sys/videoio.h
2722
check_header sys/videoio.h
2723
2723
2724
check_func_headers "windows.h vfw.h" capCreateCaptureWindow "$vfwcap_indev_extralibs"
2724
check_func_headers "windows.h vfw.h" capCreateCaptureWindow "$vfwcap_indev_extralibs"
Lines 3020-3026 Link Here
3020
SRC_PATH="$source_path"
3020
SRC_PATH="$source_path"
3021
SRC_PATH_BARE=$source_path
3021
SRC_PATH_BARE=$source_path
3022
BUILD_ROOT="$PWD"
3022
BUILD_ROOT="$PWD"
3023
ARCH=$arch
3023
FFMPEG_ARCH=$arch
3024
CC=$cc
3024
CC=$cc
3025
AS=$as
3025
AS=$as
3026
LD=$ld
3026
LD=$ld

Return to bug 149889