diff --git a/mythtv/configure b/mythtv/configure index 7e4d47e263c..55221423a7e 100755 --- a/mythtv/configure +++ b/mythtv/configure @@ -843,6 +843,13 @@ check_cxx(){ check_cmd $cxx $CPPFLAGS $CXXFLAGS "$@" $CXX_C -o $TMPO $TMPCPP } +check_ecxx(){ + log check_cxx "$@" + cat > $TMPCPP + log_file $TMPCPP + check_cmd $cxx $CPPFLAGS $CXXFLAGS $ECXXFLAGS "$@" $CXX_C -o $TMPO $TMPCPP +} + check_cpp(){ log check_cpp "$@" cat > $TMPC @@ -5275,7 +5282,7 @@ fi if $(pkg-config --exists QtWebKit) ; then enable qtwebkit else - check_cxx ${qt_inc} ${qt_inc}/QtCore < int main(void){ return 0; } EOF @@ -5286,7 +5293,7 @@ enabled qtwebkit || die "Error! QtWebkit headers not found" if $(pkg-config --exists QtScript) ; then enable qtscript else - check_cxx ${qt_inc} < int main(void){ return 0; } EOF @@ -5299,7 +5306,7 @@ if ! disabled qtdbus; then if $(pkg-config --exists QtDBus) ; then enable qtdbus else - check_cxx ${qt_inc} < #include int main(void)