Commit d5f51b33 authored by Alex Converse's avatar Alex Converse Committed by Nathan Egge

Auto-detect wxwigets

Change-Id: I9f9140ed187cd82517481df95c5c98eebffa51a0
parent f4fa01e9
......@@ -464,6 +464,8 @@ AS_SFX = ${AS_SFX:-.asm}
EXE_SFX = ${EXE_SFX}
VCPROJ_SFX = ${VCPROJ_SFX}
RTCD_OPTIONS = ${RTCD_OPTIONS}
WX_CXXFLAGS = ${WX_CXXFLAGS}
WX_LDFLAGS = ${WX_LDFLAGS}
EOF
if enabled rvct; then cat >> $1 << EOF
......
......@@ -241,6 +241,7 @@ HAVE_LIST="
aom_ports
pthread_h
unistd_h
wxwidgets
"
EXPERIMENT_LIST="
fp_mb_stats
......@@ -648,6 +649,14 @@ EOF
check_header unistd.h # for sysconf(3) and friends.
check_header aom/aom_integer.h -I${source_path} && enable_feature aom_ports
enabled analyzer && soft_enable wxwidgets
if enabled wxwidgets; then
if ! wx-config --version > /dev/null; then
die "Couldn't find wx-config"
fi
WX_CXXFLAGS=$(wx-config --cppflags)
WX_LDFLAGS=$(wx-config --libs)
fi
}
process_toolchain() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment