|
|
| |
if test -n "$PKG_CONFIG"; then | if test -n "$PKG_CONFIG"; then |
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ |
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"neon < 0.26\"") >&5 |
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"neon < 0.27\"") >&5 |
($PKG_CONFIG --exists --print-errors "neon < 0.26") 2>&5 |
($PKG_CONFIG --exists --print-errors "neon < 0.27") 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then | (exit $ac_status); }; then |
pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon < 0.26" 2>/dev/null` |
pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon < 0.27" 2>/dev/null` |
else | else |
pkg_failed=yes | pkg_failed=yes |
fi | fi |
|
|
fi | fi |
if test -n "$PKG_CONFIG"; then | if test -n "$PKG_CONFIG"; then |
if test -n "$PKG_CONFIG" && \ | if test -n "$PKG_CONFIG" && \ |
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"neon < 0.26\"") >&5 |
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"neon < 0.27\"") >&5 |
($PKG_CONFIG --exists --print-errors "neon < 0.26") 2>&5 |
($PKG_CONFIG --exists --print-errors "neon < 0.27") 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then | (exit $ac_status); }; then |
pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon < 0.26" 2>/dev/null` |
pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon < 0.27" 2>/dev/null` |
else | else |
pkg_failed=yes | pkg_failed=yes |
fi | fi |
|
|
fi | fi |
| |
if test $pkg_failed = yes; then | if test $pkg_failed = yes; then |
NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon < 0.26"` |
NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon < 0.27"` |
# Put the nasty error message in config.log where it belongs | # Put the nasty error message in config.log where it belongs |
echo "$NEON_PKG_ERRORS" 1>&5 | echo "$NEON_PKG_ERRORS" 1>&5 |
| |
{ { echo "$as_me:$LINENO: error: Package requirements (neon < 0.26) were not met. |
{ { echo "$as_me:$LINENO: error: Package requirements (neon < 0.27) were not met. |
Consider adjusting the PKG_CONFIG_PATH environment variable if you | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
installed software in a non-standard prefix. | installed software in a non-standard prefix. |
| |
Alternatively you may set the NEON_CFLAGS and NEON_LIBS environment variables | Alternatively you may set the NEON_CFLAGS and NEON_LIBS environment variables |
to avoid the need to call pkg-config. See the pkg-config man page for | to avoid the need to call pkg-config. See the pkg-config man page for |
more details." >&5 | more details." >&5 |
echo "$as_me: error: Package requirements (neon < 0.26) were not met. |
echo "$as_me: error: Package requirements (neon < 0.27) were not met. |
Consider adjusting the PKG_CONFIG_PATH environment variable if you | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
installed software in a non-standard prefix. | installed software in a non-standard prefix. |
| |