common/autoconf/libraries.m4

changeset 1304
c27cb0ab944f
parent 980
d6db2aec371e
child 1482
8fb429038513
child 2206
7ba4e17574e0
equal deleted inserted replaced
1292:c98ebe8e91ac 1304:c27cb0ab944f
1 # 1 #
2 # Copyright (c) 2011, 2012, 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
63 if test "x$OPENJDK_TARGET_OS" = xmacosx; then 63 if test "x$OPENJDK_TARGET_OS" = xmacosx; then
64 AC_MSG_CHECKING([what is not needed on MacOSX?]) 64 AC_MSG_CHECKING([what is not needed on MacOSX?])
65 ALSA_NOT_NEEDED=yes 65 ALSA_NOT_NEEDED=yes
66 PULSE_NOT_NEEDED=yes 66 PULSE_NOT_NEEDED=yes
67 X11_NOT_NEEDED=yes 67 X11_NOT_NEEDED=yes
68 # If the java runtime framework is disabled, then we need X11.
69 # This will be adjusted below.
70 AC_MSG_RESULT([alsa pulse x11]) 68 AC_MSG_RESULT([alsa pulse x11])
71 fi 69 fi
72 70
73 if test "x$OPENJDK_TARGET_OS" = xbsd; then 71 if test "x$OPENJDK_TARGET_OS" = xbsd; then
74 AC_MSG_CHECKING([what is not needed on bsd?]) 72 AC_MSG_CHECKING([what is not needed on bsd?])
82 80
83 if test "x$SUPPORT_HEADFUL" = xno; then 81 if test "x$SUPPORT_HEADFUL" = xno; then
84 X11_NOT_NEEDED=yes 82 X11_NOT_NEEDED=yes
85 fi 83 fi
86 84
87 ############################################################################### 85 # Deprecated and now ignored
88 #
89 # Check for MacOSX support for OpenJDK.
90 #
91
92 BASIC_DEPRECATED_ARG_ENABLE(macosx-runtime-support, macosx_runtime_support) 86 BASIC_DEPRECATED_ARG_ENABLE(macosx-runtime-support, macosx_runtime_support)
93
94 AC_MSG_CHECKING([for Mac OS X Java Framework])
95 if test -f /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Headers/JavaRuntimeSupport.h; then
96 AC_MSG_RESULT([/System/Library/Frameworks/JavaVM.framework])
97 else
98 AC_MSG_RESULT([no])
99 fi
100 ]) 87 ])
101 88
102 AC_DEFUN_ONCE([LIB_SETUP_X11], 89 AC_DEFUN_ONCE([LIB_SETUP_X11],
103 [ 90 [
104 91

mercurial