common/autoconf/help.m4

changeset 2203
28b247535e18
parent 972
f3697e0783e2
child 2206
7ba4e17574e0
equal deleted inserted replaced
2198:67122a315e79 2203:28b247535e18
153 153
154 AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS], 154 AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
155 [ 155 [
156 # Finally output some useful information to the user 156 # Finally output some useful information to the user
157 157
158 if test "x$CCACHE_FOUND" != x; then
159 if test "x$HAS_GOOD_CCACHE" = x; then
160 CCACHE_STATUS="installed, but disabled (version older than 3.1.4)"
161 CCACHE_HELP_MSG="You have ccache installed, but it is a version prior to 3.1.4. Try upgrading."
162 else
163 CCACHE_STATUS="installed and in use"
164 fi
165 else
166 if test "x$GCC" = xyes; then
167 CCACHE_STATUS="not installed (consider installing)"
168 CCACHE_HELP_MSG="You do not have ccache installed. Try installing it."
169 else
170 CCACHE_STATUS="not available for your system"
171 fi
172 fi
173
174 printf "\n" 158 printf "\n"
175 printf "====================================================\n" 159 printf "====================================================\n"
176 printf "A new configuration has been successfully created in\n" 160 printf "A new configuration has been successfully created in\n"
177 printf "$OUTPUT_ROOT\n" 161 printf "$OUTPUT_ROOT\n"
178 if test "x$CONFIGURE_COMMAND_LINE" != x; then 162 if test "x$CONFIGURE_COMMAND_LINE" != x; then
199 183
200 printf "\n" 184 printf "\n"
201 printf "Build performance summary:\n" 185 printf "Build performance summary:\n"
202 printf "* Cores to use: $JOBS\n" 186 printf "* Cores to use: $JOBS\n"
203 printf "* Memory limit: $MEMORY_SIZE MB\n" 187 printf "* Memory limit: $MEMORY_SIZE MB\n"
204 printf "* ccache status: $CCACHE_STATUS\n" 188 if test "x$CCACHE_STATUS" != "x"; then
205 printf "\n" 189 printf "* ccache status: $CCACHE_STATUS\n"
206 190 fi
207 if test "x$CCACHE_HELP_MSG" != x && test "x$HIDE_PERFORMANCE_HINTS" = "xno"; then 191 printf "\n"
208 printf "Build performance tip: ccache gives a tremendous speedup for C++ recompilations.\n"
209 printf "$CCACHE_HELP_MSG\n"
210 HELP_MSG_MISSING_DEPENDENCY([ccache])
211 printf "$HELP_MSG\n"
212 printf "\n"
213 fi
214 192
215 if test "x$BUILDING_MULTIPLE_JVM_VARIANTS" = "xyes"; then 193 if test "x$BUILDING_MULTIPLE_JVM_VARIANTS" = "xyes"; then
216 printf "NOTE: You have requested to build more than one version of the JVM, which\n" 194 printf "NOTE: You have requested to build more than one version of the JVM, which\n"
217 printf "will result in longer build times.\n" 195 printf "will result in longer build times.\n"
218 printf "\n" 196 printf "\n"

mercurial