Changeset 55347 in vbox
- Timestamp:
- Apr 21, 2015 9:35:17 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r51968 r55347 72 72 OUT_PATH_OVERRIDE=0 73 73 SETUP_WINE= 74 ONLY_ADDITIONS=0 74 75 TARGET_MACHINE="" 75 76 TARGET_CPU="" … … 2297 2298 [ "$OS" != "darwin" ] && echo " --setup-wine setup a Wine directory and register the hhc hack" 2298 2299 cat << EOF 2300 --only-additions only build the Guest Additions 2299 2301 2300 2302 Paths: … … 2564 2566 [ "$OS" != "darwin" ] && SETUP_WINE=1 2565 2567 ;; 2568 --only-additions) 2569 ONLY_ADDITIONS=1 2570 ;; 2566 2571 *) 2567 2572 echo … … 2657 2662 2658 2663 # extpack 2659 if [ $OSE -eq 0 ]; then 2664 if [ $ONLY_ADDITIONS -eq 1 ]; then 2665 cnf_append "VBOX_WITH_EXTPACK_PUEL_BUILD" "" 2666 elif [ $OSE -eq 0 ]; then 2660 2667 if [ $WITH_EXTPACK -eq 1 ]; then 2661 2668 BUILD_LIBSSL=1 … … 2693 2700 # the tools 2694 2701 check_gcc 2695 check_open_watcom 2696 [ "$OS" != "darwin" ] && check_iasl 2697 # don't check for yasm for the time beeing as 0.40 and 0.50 both have known bugs 2698 # [ "$OS" != "darwin" ] && check_yasm 2699 [ "$OS" != "darwin" ] && check_xsltproc 2700 [ "$OS" != "darwin" ] && check_mkisofs 2702 if [ $ONLY_ADDITIONS -eq 0 ]; then 2703 check_open_watcom 2704 [ "$OS" != "darwin" ] && check_iasl 2705 # don't check for yasm for the time beeing as 0.40 and 0.50 both have known bugs 2706 # [ "$OS" != "darwin" ] && check_yasm 2707 [ "$OS" != "darwin" ] && check_xsltproc 2708 [ "$OS" != "darwin" ] && check_mkisofs 2709 fi 2701 2710 2702 2711 # the libraries 2703 [ "$OS" != "darwin" ] && check_pthread 2704 check_libxml2 2705 [ $WITH_LIBIDL -eq 1 ] && check_libidl 2706 check_ssl 2707 check_curl 2708 [ $WITH_LIBVPX -eq 1 ] && check_vpx 2709 [ "$OS" != "darwin" ] && check_z 2710 [ "$OS" != "darwin" ] && check_png 2711 [ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam 2712 [ $WITH_SDL -eq 1 ] && check_sdl 2713 [ $WITH_SDL_TTF -eq 1 -a $OSE -eq 0 ] && check_sdl_ttf 2714 [ $WITH_X11 -eq 1 ] && check_x 2715 # TODO check for xcomposite-dev (X11/extensions/Xcomposite.h, additions only) 2716 # TODO check for libxdamange-dev (X11/extensions/Xdamage.h, additions only) 2717 [ $WITH_X11 -eq 1 ] && check_xcursor 2718 [ $WITH_X11 -eq 1 ] && check_xinerama 2719 [ $WITH_X11 -eq 1 ] && check_xrandr 2720 [ $WITH_OPENGL -eq 1 ] && check_opengl 2721 [ $WITH_QT4 -eq 1 ] && check_qt4 2722 [ $WITH_PYTHON -eq 1 ] && check_python 2723 [ $WITH_JAVA -eq 1 ] && check_java 2724 2725 # PulseAudio 2726 if [ "$OS" = "linux" -o "$OS" = "freebsd" ]; then 2727 if [ $WITH_PULSE -eq 1 ]; then 2728 check_pulse 2729 elif [ $WITH_PULSE -eq 0 ]; then 2730 cnf_append "VBOX_WITH_PULSE" "" 2731 fi 2712 if [ $ONLY_ADDITIONS -eq 0 ]; then 2713 [ "$OS" != "darwin" ] && check_pthread 2714 check_libxml2 2715 [ $WITH_LIBIDL -eq 1 ] && check_libidl 2716 check_ssl 2717 check_curl 2718 [ $WITH_LIBVPX -eq 1 ] && check_vpx 2719 [ "$OS" != "darwin" ] && check_z 2720 [ "$OS" != "darwin" ] && check_png 2721 [ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam 2722 [ $WITH_SDL -eq 1 ] && check_sdl 2723 [ $WITH_SDL_TTF -eq 1 -a $OSE -eq 0 ] && check_sdl_ttf 2724 [ $WITH_X11 -eq 1 ] && check_x 2725 # TODO check for xcomposite-dev (X11/extensions/Xcomposite.h, additions only) 2726 # TODO check for libxdamange-dev (X11/extensions/Xdamage.h, additions only) 2727 [ $WITH_X11 -eq 1 ] && check_xcursor 2728 [ $WITH_X11 -eq 1 ] && check_xinerama 2729 [ $WITH_X11 -eq 1 ] && check_xrandr 2730 [ $WITH_OPENGL -eq 1 ] && check_opengl 2731 [ $WITH_QT4 -eq 1 ] && check_qt4 2732 [ $WITH_PYTHON -eq 1 ] && check_python 2733 [ $WITH_JAVA -eq 1 ] && check_java 2734 2735 # PulseAudio 2736 if [ "$OS" = "linux" -o "$OS" = "freebsd" ]; then 2737 if [ $WITH_PULSE -eq 1 ]; then 2738 check_pulse 2739 elif [ $WITH_PULSE -eq 0 ]; then 2740 cnf_append "VBOX_WITH_PULSE" "" 2741 fi 2742 fi 2732 2743 fi 2733 2744 … … 2744 2755 cnf_append "VBOX_WITH_ADDITION_DRIVERS" "" 2745 2756 fi 2746 if [ $WITH_ALSA -eq 1 ]; then 2747 check_alsa 2748 else 2749 cnf_append "VBOX_WITH_ALSA" "" 2750 fi 2751 if [ $WITH_DBUS -eq 0 ]; then 2752 cnf_append "VBOX_WITH_DBUS" "" 2753 fi 2754 if [ $WITH_DEVMAPPER -eq 1 ]; then 2755 check_libdevmapper 2756 else 2757 cnf_append "VBOX_WITH_DEVMAPPER" "" 2758 fi 2759 check_libcap 2757 if [ $ONLY_ADDITIONS -eq 0 ]; then 2758 if [ $WITH_ALSA -eq 1 ]; then 2759 check_alsa 2760 else 2761 cnf_append "VBOX_WITH_ALSA" "" 2762 fi 2763 if [ $WITH_DBUS -eq 0 ]; then 2764 cnf_append "VBOX_WITH_DBUS" "" 2765 fi 2766 if [ $WITH_DEVMAPPER -eq 1 ]; then 2767 check_libdevmapper 2768 else 2769 cnf_append "VBOX_WITH_DEVMAPPER" "" 2770 fi 2771 check_libcap 2772 fi 2760 2773 check_compiler_h 2761 [ "$BUILD_MACHINE" = "amd64" -a $WITH_VMMRAW -eq 1 ] && check_32bit2774 [ $ONLY_ADDITIONS -eq 0 -a "$BUILD_MACHINE" = "amd64" -a $WITH_VMMRAW -eq 1 ] && check_32bit 2762 2775 # tools/common/makeself* 2763 2776 [ $OSE -ge 1 ] && check_makeself … … 2766 2779 [ -n "$SETUP_WINE" ] && setup_wine 2767 2780 2768 if [ $ WITH_GSOAP -eq 1 ]; then2781 if [ $ONLY_ADDITIONS -eq 0 -a $WITH_GSOAP -eq 1 ]; then 2769 2782 check_gsoap 2770 2783 else … … 2775 2788 2776 2789 # UDPTUNNEL 2777 if [ $ WITH_UDPTUNNEL -eq 0 ]; then2790 if [ $ONLY_ADDITIONS -eq 0 -a $WITH_UDPTUNNEL -eq 0 ]; then 2778 2791 cnf_append "VBOX_WITH_UDPTUNNEL" "" 2779 2792 fi 2780 2793 2781 2794 # VDE 2782 if [ "$OS" = "linux" -o "$OS" = "freebsd" ]; then2795 if [ $ONLY_ADDITIONS -eq 0 -a "$OS" = "linux" -o "$OS" = "freebsd" ]; then 2783 2796 if [ $WITH_VDE -eq 1 ]; then 2784 2797 cnf_append "VBOX_WITH_VDE" "1" … … 2787 2800 2788 2801 # DOCS 2789 if [ $ WITH_DOCS -eq 0 ]; then2802 if [ $ONLY_ADDITIONS -eq 1 -o $WITH_DOCS -eq 0 ]; then 2790 2803 cnf_append "VBOX_WITH_DOCS" "" 2791 2804 cnf_append "VBOX_WITH_DOCS_PACKING" "" … … 2793 2806 2794 2807 # VNC server support 2795 if [ $O SE -ge 1 ]; then2808 if [ $ONLY_ADDITIONS -eq 0 -a $OSE -ge 1 ]; then 2796 2809 if [ $WITH_VNC = 1 ]; then 2797 2810 check_vncserver … … 2799 2812 cnf_append "VBOX_WITH_EXTPACK_VNC" "" 2800 2813 fi 2814 fi 2815 2816 if [ $ONLY_ADDITIONS -eq 1 ]; then 2817 cnf_append "VBOX_ONLY_ADDITIONS" "1" 2801 2818 fi 2802 2819 … … 2821 2838 echo "" 2822 2839 fi 2823 if [ $WITH_HARDENING -gt 0 ]; then 2840 if [ $ONLY_ADDITIONS -eq 1 ]; then 2841 echo "" 2842 echo " Tree configured to build only the Guest Additions" 2843 echo "" 2844 elif [ $WITH_HARDENING -gt 0 ]; then 2824 2845 echo "" 2825 2846 echo " +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++"
Note:
See TracChangeset
for help on using the changeset viewer.