< prev index next >

common/autoconf/libraries.m4

Print this page




  42     # No X11 support on windows or macosx
  43     NEEDS_LIB_X11=false
  44   else
  45     if test "x$SUPPORT_HEADFUL" = xno; then
  46       # No X11 support if building headless-only
  47       NEEDS_LIB_X11=false
  48     else
  49       # All other instances need X11
  50       NEEDS_LIB_X11=true
  51     fi
  52   fi
  53 
  54   # Check if cups is needed
  55   if test "x$OPENJDK_TARGET_OS" = xwindows; then
  56     # Windows have a separate print system
  57     NEEDS_LIB_CUPS=false
  58   else
  59     NEEDS_LIB_CUPS=true
  60   fi
  61 
  62   # Check if freetype is needed
  63   if test "x$OPENJDK" = "xtrue"; then
  64     NEEDS_LIB_FREETYPE=true
  65   else
  66     NEEDS_LIB_FREETYPE=false
  67   fi
  68 
  69   # Check if alsa is needed
  70   if test "x$OPENJDK_TARGET_OS" = xlinux; then
  71     NEEDS_LIB_ALSA=true
  72   else
  73     NEEDS_LIB_ALSA=false
  74   fi
  75 
  76   # Check if ffi is needed
  77   if HOTSPOT_CHECK_JVM_VARIANT(zero) || HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then
  78     NEEDS_LIB_FFI=true
  79   else
  80     NEEDS_LIB_FFI=false
  81   fi
  82 ])
  83 
  84 ################################################################################
  85 # Parse library options, and setup needed libraries
  86 ################################################################################




  42     # No X11 support on windows or macosx
  43     NEEDS_LIB_X11=false
  44   else
  45     if test "x$SUPPORT_HEADFUL" = xno; then
  46       # No X11 support if building headless-only
  47       NEEDS_LIB_X11=false
  48     else
  49       # All other instances need X11
  50       NEEDS_LIB_X11=true
  51     fi
  52   fi
  53 
  54   # Check if cups is needed
  55   if test "x$OPENJDK_TARGET_OS" = xwindows; then
  56     # Windows have a separate print system
  57     NEEDS_LIB_CUPS=false
  58   else
  59     NEEDS_LIB_CUPS=true
  60   fi
  61 
  62   # A custom hook may have set this already
  63   if test "x$NEEDS_LIB_FREETYPE" = "x"; then
  64     NEEDS_LIB_FREETYPE=true


  65   fi
  66 
  67   # Check if alsa is needed
  68   if test "x$OPENJDK_TARGET_OS" = xlinux; then
  69     NEEDS_LIB_ALSA=true
  70   else
  71     NEEDS_LIB_ALSA=false
  72   fi
  73 
  74   # Check if ffi is needed
  75   if HOTSPOT_CHECK_JVM_VARIANT(zero) || HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then
  76     NEEDS_LIB_FFI=true
  77   else
  78     NEEDS_LIB_FFI=false
  79   fi
  80 ])
  81 
  82 ################################################################################
  83 # Parse library options, and setup needed libraries
  84 ################################################################################


< prev index next >