Ticket #2096: configure.diff
File configure.diff, 2.0 KB (added by , 18 years ago) |
---|
-
configure
131 131 echo " --enable-opengl-vsync enable OpenGL vsync method" 132 132 echo " --enable-directfb enable DirectFB (Linux non-X11 video)" 133 133 echo " --enable-directx enable DirectX (Microsoft video)" 134 echo " --enable-macgo7007 enable Mac OS X GO7007 (Plextor Convertx) recorder" 134 135 #echo "" 135 136 #echo "NOTE: The object files are build at the place where configure is launched" 136 137 exit 1 … … 423 424 PROFILEFLAGS="" 424 425 proc_opt="no" 425 426 v4l="no" 427 mac_go7007="no" 426 428 valgrind="no" 427 429 frontend="yes" 428 430 backend="no" … … 762 764 extralibs="" 763 765 darwin="yes" 764 766 strip="strip -x" 767 mac_go7007="yes" 765 768 installstrip="" 766 769 FFLDFLAGS="-Wl,-search_paths_first" 767 770 SLIBSUF=".dylib" … … 1100 1103 ;; 1101 1104 --disable-firewire) firewire_cable_box="no" 1102 1105 ;; 1106 --enable-macgo7007) mac_go7007="yes" 1107 ;; 1108 --disable-macgo7007) mac_go7007="no" 1109 ;; 1103 1110 --enable-dbox2) dbox2_dvb_box="yes" 1104 1111 ;; 1105 1112 --disable-dbox2) dbox2_dvb_box="no" … … 2254 2261 check_cflags -Wall 2255 2262 check_cflags -Wno-switch 2256 2263 2264 case "`$cc -v 2>&1 | grep version`" in 2265 *gcc*) 2266 CFLAGS="-Wall -Wno-switch -Wno-non-virtual-dtor $CFLAGS" 2267 ;; 2268 *) 2269 ;; 2270 esac 2271 2257 2272 # not all compilers support -Os 2258 2273 test "$optimize" = "small" && check_cflags -Os 2259 2274 … … 2631 2646 echo "DBox2 support $dbox2_dvb_box" 2632 2647 echo "HDHomeRun sup. $hdhomerun_box" 2633 2648 echo "CRC Ip Rec sup. $ip_network_recorder" 2649 echo "Mac GO7007 support $mac_go7007" 2634 2650 echo "FreeBox support $freebox_box" 2635 2651 fi 2636 2652 … … 3338 3354 CCONFIG="$CCONFIG using_ip_rec" 3339 3355 fi 3340 3356 3357 if 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 3361 fi 3362 3341 3363 if test x"$freebox_box" = x"yes" ; then 3342 3364 CCONFIG="$CCONFIG using_freebox using_live" 3343 3365 CONFIG_DEFINES="$CONFIG_DEFINES USING_FREEBOX"