mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
92 lines
2.7 KiB
Diff
92 lines
2.7 KiB
Diff
--- configure.orig 2023-10-03 00:29:10
|
|||
|
|
+++ configure 2023-10-03 04:05:13
|
||
|
|
@@ -23440,88 +23440,8 @@
|
||
|
|
esac
|
||
|
|
done
|
||
|
|
IFS=$as_save_IFS
|
||
|
|
-
|
||
|
|
-if test "x$with_builtin_blake2" = xyes; then :
|
||
|
|
-
|
||
|
|
-
|
||
|
|
-pkg_failed=no
|
||
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBB2" >&5
|
||
|
|
-$as_echo_n "checking for LIBB2... " >&6; }
|
||
|
|
-
|
||
|
|
-if test -n "$LIBB2_CFLAGS"; then
|
||
|
|
- pkg_cv_LIBB2_CFLAGS="$LIBB2_CFLAGS"
|
||
|
|
- elif test -n "$PKG_CONFIG"; then
|
||
|
|
- if test -n "$PKG_CONFIG" && \
|
||
|
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libb2\""; } >&5
|
||
|
|
- ($PKG_CONFIG --exists --print-errors "libb2") 2>&5
|
||
|
|
- ac_status=$?
|
||
|
|
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||
|
|
- test $ac_status = 0; }; then
|
||
|
|
- pkg_cv_LIBB2_CFLAGS=`$PKG_CONFIG --cflags "libb2" 2>/dev/null`
|
||
|
|
- test "x$?" != "x0" && pkg_failed=yes
|
||
|
|
-else
|
||
|
|
- pkg_failed=yes
|
||
|
|
-fi
|
||
|
|
- else
|
||
|
|
- pkg_failed=untried
|
||
|
|
-fi
|
||
|
|
-if test -n "$LIBB2_LIBS"; then
|
||
|
|
- pkg_cv_LIBB2_LIBS="$LIBB2_LIBS"
|
||
|
|
- elif test -n "$PKG_CONFIG"; then
|
||
|
|
- if test -n "$PKG_CONFIG" && \
|
||
|
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libb2\""; } >&5
|
||
|
|
- ($PKG_CONFIG --exists --print-errors "libb2") 2>&5
|
||
|
|
- ac_status=$?
|
||
|
|
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||
|
|
- test $ac_status = 0; }; then
|
||
|
|
- pkg_cv_LIBB2_LIBS=`$PKG_CONFIG --libs "libb2" 2>/dev/null`
|
||
|
|
- test "x$?" != "x0" && pkg_failed=yes
|
||
|
|
-else
|
||
|
|
- pkg_failed=yes
|
||
|
|
-fi
|
||
|
|
- else
|
||
|
|
- pkg_failed=untried
|
||
|
|
-fi
|
||
|
|
|
||
|
|
|
||
|
|
-
|
||
|
|
-if test $pkg_failed = yes; then
|
||
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||
|
|
-$as_echo "no" >&6; }
|
||
|
|
-
|
||
|
|
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
||
|
|
- _pkg_short_errors_supported=yes
|
||
|
|
-else
|
||
|
|
- _pkg_short_errors_supported=no
|
||
|
|
-fi
|
||
|
|
- if test $_pkg_short_errors_supported = yes; then
|
||
|
|
- LIBB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libb2" 2>&1`
|
||
|
|
- else
|
||
|
|
- LIBB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libb2" 2>&1`
|
||
|
|
- fi
|
||
|
|
- # Put the nasty error message in config.log where it belongs
|
||
|
|
- echo "$LIBB2_PKG_ERRORS" >&5
|
||
|
|
-
|
||
|
|
- have_libb2=no
|
||
|
|
-elif test $pkg_failed = untried; then
|
||
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||
|
|
-$as_echo "no" >&6; }
|
||
|
|
- have_libb2=no
|
||
|
|
-else
|
||
|
|
- LIBB2_CFLAGS=$pkg_cv_LIBB2_CFLAGS
|
||
|
|
- LIBB2_LIBS=$pkg_cv_LIBB2_LIBS
|
||
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||
|
|
-$as_echo "yes" >&6; }
|
||
|
|
-
|
||
|
|
- have_libb2=yes
|
||
|
|
-
|
||
|
|
-$as_echo "#define HAVE_LIBB2 1" >>confdefs.h
|
||
|
|
-
|
||
|
|
-
|
||
|
|
-fi
|
||
|
|
-
|
||
|
|
-fi
|
||
|
|
-
|
||
|
|
# Check whether to disable test modules. Once set, setup.py will not build
|
||
|
|
# test extension modules and "make install" will not install test suites.
|
||
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --disable-test-modules" >&5
|