common/autoconf/help.m4
changeset 32921 8e0250dfa145
parent 32809 a24b5324b595
child 33950 7757ee805a0c
equal deleted inserted replaced
32920:5bea8a04f0a5 32921:8e0250dfa145
     1 #
     1 #
     2 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    29 ])
    29 ])
    30 
    30 
    31 AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
    31 AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
    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: freetype, cups, pulse, alsa etc
    34   # $1 is the help tag: freetype, 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$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
    38     cygwin_help $MISSING_DEPENDENCY
    38     cygwin_help $MISSING_DEPENDENCY
    39   elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
    39   elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
   107       PKGHANDLER_COMMAND="sudo apt-get install libasound2-dev" ;;
   107       PKGHANDLER_COMMAND="sudo apt-get install libasound2-dev" ;;
   108     cups)
   108     cups)
   109       PKGHANDLER_COMMAND="sudo apt-get install libcups2-dev" ;;
   109       PKGHANDLER_COMMAND="sudo apt-get install libcups2-dev" ;;
   110     freetype)
   110     freetype)
   111       PKGHANDLER_COMMAND="sudo apt-get install libfreetype6-dev" ;;
   111       PKGHANDLER_COMMAND="sudo apt-get install libfreetype6-dev" ;;
   112     pulse)
   112     ffi)
   113       PKGHANDLER_COMMAND="sudo apt-get install libpulse-dev" ;;
   113       PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;;
   114     x11)
   114     x11)
   115       PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
   115       PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
   116     ccache)
   116     ccache)
   117       PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
   117       PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
   118   esac
   118   esac
   128       PKGHANDLER_COMMAND="sudo yum install alsa-lib-devel" ;;
   128       PKGHANDLER_COMMAND="sudo yum install alsa-lib-devel" ;;
   129     cups)
   129     cups)
   130       PKGHANDLER_COMMAND="sudo yum install cups-devel" ;;
   130       PKGHANDLER_COMMAND="sudo yum install cups-devel" ;;
   131     freetype)
   131     freetype)
   132       PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;;
   132       PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;;
   133     pulse)
       
   134       PKGHANDLER_COMMAND="sudo yum install pulseaudio-libs-devel" ;;
       
   135     x11)
   133     x11)
   136       PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel" ;;
   134       PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel" ;;
   137     ccache)
   135     ccache)
   138       PKGHANDLER_COMMAND="sudo yum install ccache" ;;
   136       PKGHANDLER_COMMAND="sudo yum install ccache" ;;
   139   esac
   137   esac