1 --- gpac-0.8.0/configure.orig 2020-03-14 20:22:30.223421888 +0100
2 +++ gpac-0.8.0/configure 2020-03-15 14:04:05.355022427 +0100
7 - $cc -o $TMPO $TMPC $@ 0>/dev/null 2>$TMPL
8 + $cxx -o $TMPO $TMPC $@ 0>/dev/null 2>$TMPL
14 int main( void ) { return 0; }
16 -if docxx -o $TMPO $TMPC -I$local_inc/platinum $LDFLAGS -L$local_lib -lPlatinum -lPltMediaServer -lPltMediaConnect -lPltMediaRenderer -lNeptune -lZlib -lpthread ; then
17 +if docxx -I$local_inc/platinum $LDFLAGS -L$local_lib -lPlatinum -lPltMediaServer -lPltMediaConnect -lPltMediaRenderer -lNeptune -lZlib -lpthread ; then
25 -if docxx -o $TMPO $TMPC $LDFLAGS $avcap_cflags $avcap_ldflags ; then
26 +if docxx $LDFLAGS $avcap_cflags $avcap_ldflags ; then
29 if test "$darwin" = "yes" ; then
31 avcap_cflags="-I$local_inc -I$local_inc/avcap/linux"
32 avcap_ldflags="-lavcap -lpthread"
34 - if docxx -o $TMPO $TMPC $avcap_cflags $LDFLAGS -L$local_lib $avcap_ldflags ; then
35 + if docxx $avcap_cflags $LDFLAGS -L$local_lib $avcap_ldflags ; then
37 avcap_ldflags="-L$local_lib $avcap_ldflags"
40 if test "$pkg_config" != "no"; then
41 if test "$has_xul" = "no" ; then
42 if $pkg_config --exists libxul 2>>$logs ; then
43 - if docxx -o $TMPO $TMPCXX `$pkg_config --cflags libxul` `$pkg_config --libs libxul` ; then
44 + if docxx `$pkg_config --cflags libxul` `$pkg_config --libs libxul` ; then
46 xul_flags="`$pkg_config --cflags libxul` `$pkg_config --libs libxul`"