forked from openjdk/valhalla
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'lworld' into JDK-8325106
- Loading branch information
Showing
356 changed files
with
8,629 additions
and
5,921 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
# questions. | ||
# | ||
|
||
# | ||
# | ||
# Copyright © 2004 Scott James Remnant <[email protected]>. | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
|
@@ -54,18 +54,18 @@ AC_DEFUN([PKG_PROG_PKG_CONFIG], | |
m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) | ||
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl | ||
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | ||
AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | ||
AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | ||
fi | ||
if test -n "$PKG_CONFIG"; then | ||
_pkg_min_version=m4_default([$1], [0.9.0]) | ||
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) | ||
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | ||
AC_MSG_RESULT([yes]) | ||
else | ||
AC_MSG_RESULT([no]) | ||
PKG_CONFIG="" | ||
fi | ||
_pkg_min_version=m4_default([$1], [0.9.0]) | ||
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) | ||
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | ||
AC_MSG_RESULT([yes]) | ||
else | ||
AC_MSG_RESULT([no]) | ||
PKG_CONFIG="" | ||
fi | ||
fi[]dnl | ||
])# PKG_PROG_PKG_CONFIG | ||
|
||
|
@@ -97,7 +97,7 @@ m4_define([_PKG_CONFIG], | |
elif test -n "$PKG_CONFIG"; then | ||
PKG_CHECK_EXISTS([$3], | ||
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], | ||
[pkg_failed=yes]) | ||
[pkg_failed=yes]) | ||
else | ||
pkg_failed=untried | ||
fi[]dnl | ||
|
@@ -143,14 +143,14 @@ See the pkg-config man page for more details.]) | |
if test $pkg_failed = yes; then | ||
_PKG_SHORT_ERRORS_SUPPORTED | ||
if test $_pkg_short_errors_supported = yes; then | ||
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` | ||
else | ||
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` | ||
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` | ||
else | ||
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` | ||
fi | ||
# Put the nasty error message in config.log where it belongs | ||
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD | ||
# Put the nasty error message in config.log where it belongs | ||
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD | ||
ifelse([$4], , [AC_MSG_ERROR(dnl | ||
ifelse([$4], , [AC_MSG_ERROR(dnl | ||
[Package requirements ($2) were not met: | ||
$$1_PKG_ERRORS | ||
|
@@ -160,22 +160,22 @@ installed software in a non-standard prefix. | |
_PKG_TEXT | ||
])], | ||
[AC_MSG_RESULT([no]) | ||
[AC_MSG_RESULT([no]) | ||
$4]) | ||
elif test $pkg_failed = untried; then | ||
ifelse([$4], , [AC_MSG_FAILURE(dnl | ||
ifelse([$4], , [AC_MSG_FAILURE(dnl | ||
[The pkg-config script could not be found or is too old. Make sure it | ||
is in your PATH or set the PKG_CONFIG environment variable to the full | ||
path to pkg-config. | ||
_PKG_TEXT | ||
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], | ||
[$4]) | ||
[$4]) | ||
else | ||
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | ||
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS | ||
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | ||
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS | ||
AC_MSG_RESULT([yes]) | ||
ifelse([$3], , :, [$3]) | ||
ifelse([$3], , :, [$3]) | ||
fi[]dnl | ||
])# PKG_CHECK_MODULES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.