comparison make/autoconf/help.m4 @ 57834:00d9f8de0e3d

Automatic merge with records-and-sealed
author mcimadamore
date Thu, 19 Sep 2019 15:47:00 +0000
parents d7852bb72332
children
comparison
equal deleted inserted replaced
14:dbcd880296d7 16:235f9fa77d36
32 [ 32 [
33 # Print a helpful message on how to acquire the necessary build dependency. 33 # Print a helpful message on how to acquire the necessary build dependency.
34 # $1 is the help tag: cups, alsa etc 34 # $1 is the help tag: cups, alsa etc
35 MISSING_DEPENDENCY=$1 35 MISSING_DEPENDENCY=$1
36 36
37 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then 37 if test "x$MISSING_DEPENDENCY" = "xopenjdk"; then
38 HELP_MSG="OpenJDK distributions are available at http://jdk.java.net/."
39 elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
38 cygwin_help $MISSING_DEPENDENCY 40 cygwin_help $MISSING_DEPENDENCY
39 elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then 41 elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
40 msys_help $MISSING_DEPENDENCY 42 msys_help $MISSING_DEPENDENCY
41 else 43 else
42 PKGHANDLER_COMMAND= 44 PKGHANDLER_COMMAND=
89 case $1 in 91 case $1 in
90 reduced) 92 reduced)
91 PKGHANDLER_COMMAND="sudo apt-get install gcc-multilib g++-multilib" ;; 93 PKGHANDLER_COMMAND="sudo apt-get install gcc-multilib g++-multilib" ;;
92 devkit) 94 devkit)
93 PKGHANDLER_COMMAND="sudo apt-get install build-essential" ;; 95 PKGHANDLER_COMMAND="sudo apt-get install build-essential" ;;
94 openjdk)
95 PKGHANDLER_COMMAND="sudo apt-get install openjdk-8-jdk" ;;
96 alsa) 96 alsa)
97 PKGHANDLER_COMMAND="sudo apt-get install libasound2-dev" ;; 97 PKGHANDLER_COMMAND="sudo apt-get install libasound2-dev" ;;
98 cups) 98 cups)
99 PKGHANDLER_COMMAND="sudo apt-get install libcups2-dev" ;; 99 PKGHANDLER_COMMAND="sudo apt-get install libcups2-dev" ;;
100 fontconfig) 100 fontconfig)
133 133
134 yum_help() { 134 yum_help() {
135 case $1 in 135 case $1 in
136 devkit) 136 devkit)
137 PKGHANDLER_COMMAND="sudo yum groupinstall \"Development Tools\"" ;; 137 PKGHANDLER_COMMAND="sudo yum groupinstall \"Development Tools\"" ;;
138 openjdk)
139 PKGHANDLER_COMMAND="sudo yum install java-1.8.0-openjdk-devel" ;;
140 alsa) 138 alsa)
141 PKGHANDLER_COMMAND="sudo yum install alsa-lib-devel" ;; 139 PKGHANDLER_COMMAND="sudo yum install alsa-lib-devel" ;;
142 cups) 140 cups)
143 PKGHANDLER_COMMAND="sudo yum install cups-devel" ;; 141 PKGHANDLER_COMMAND="sudo yum install cups-devel" ;;
144 fontconfig) 142 fontconfig)
152 esac 150 esac
153 } 151 }
154 152
155 brew_help() { 153 brew_help() {
156 case $1 in 154 case $1 in
157 openjdk)
158 PKGHANDLER_COMMAND="brew cask install java" ;;
159 freetype) 155 freetype)
160 PKGHANDLER_COMMAND="brew install freetype" ;; 156 PKGHANDLER_COMMAND="brew install freetype" ;;
161 ccache) 157 ccache)
162 PKGHANDLER_COMMAND="brew install ccache" ;; 158 PKGHANDLER_COMMAND="brew install ccache" ;;
163 esac 159 esac