Ticket #2096: configure.diff

File configure.diff, 2.0 KB (added by awk@…, 18 years ago)

patch to top level configure to enable Mac OS X GO7007 support

  • configure

     
    131131  echo "  --enable-opengl-vsync    enable OpenGL vsync method"
    132132  echo "  --enable-directfb        enable DirectFB  (Linux non-X11 video)"
    133133  echo "  --enable-directx         enable DirectX   (Microsoft video)"
     134  echo "  --enable-macgo7007       enable Mac OS X GO7007 (Plextor Convertx) recorder"
    134135  #echo ""
    135136  #echo "NOTE: The object files are build at the place where configure is launched"
    136137  exit 1
     
    423424PROFILEFLAGS=""
    424425proc_opt="no"
    425426v4l="no"
     427mac_go7007="no"
    426428valgrind="no"
    427429frontend="yes"
    428430backend="no"
     
    762764extralibs=""
    763765darwin="yes"
    764766strip="strip -x"
     767mac_go7007="yes"
    765768installstrip=""
    766769FFLDFLAGS="-Wl,-search_paths_first"
    767770SLIBSUF=".dylib"
     
    11001103  ;;
    11011104  --disable-firewire) firewire_cable_box="no"
    11021105  ;;
     1106  --enable-macgo7007) mac_go7007="yes"
     1107  ;;
     1108  --disable-macgo7007) mac_go7007="no"
     1109  ;;
    11031110  --enable-dbox2) dbox2_dvb_box="yes"
    11041111  ;;
    11051112  --disable-dbox2) dbox2_dvb_box="no"
     
    22542261check_cflags -Wall
    22552262check_cflags -Wno-switch
    22562263
     2264case "`$cc -v 2>&1 | grep version`" in
     2265    *gcc*)
     2266        CFLAGS="-Wall -Wno-switch -Wno-non-virtual-dtor $CFLAGS"
     2267        ;;
     2268    *)
     2269        ;;
     2270esac
     2271
    22572272# not all compilers support -Os
    22582273test "$optimize" = "small" && check_cflags -Os
    22592274
     
    26312646  echo "DBox2 support    $dbox2_dvb_box"
    26322647  echo "HDHomeRun sup.   $hdhomerun_box"
    26332648  echo "CRC Ip Rec sup.  $ip_network_recorder"
     2649  echo "Mac GO7007 support $mac_go7007"
    26342650  echo "FreeBox support  $freebox_box"
    26352651fi
    26362652
     
    33383354  CCONFIG="$CCONFIG using_ip_rec"
    33393355fi
    33403356
     3357if test "$mac_go7007" = "yes" ; then
     3358  CCONFIG="$CCONFIG using_mac_go7007"
     3359  echo "#define CONFIG_MAC_GO7007 1" >> $TMPH
     3360  echo "CONFIG_MAC_GO7007=yes" >> $MYTH_CONFIG_MAK
     3361fi
     3362
    33413363if test x"$freebox_box" = x"yes" ; then
    33423364    CCONFIG="$CCONFIG using_freebox using_live"
    33433365    CONFIG_DEFINES="$CONFIG_DEFINES USING_FREEBOX"