+++ freeipmi-1.6.4/configure 2020-03-19 11:45:16.446752870 +0000 --- freeipmi-1.6.4/configure 2019-08-21 23:26:47.000000000 +0100 @@ -12458,7 +12458,7 @@ $as_echo "#define WITH_ENCRYPTION 1" >>confdefs.h fi - +wc << COMMENT if test x"${ac_with_encryption}" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_md_open in -lgcrypt" >&5 $as_echo_n "checking for gcry_md_open in -lgcrypt... " >&6; } @@ -12490,6 +12490,7 @@ else ac_cv_lib_gcrypt_gcry_md_open=no fi + rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS @@ -12537,6 +12538,16 @@ fi GCRYPT_LIBS=-lgcrypt fi +COMMENT + +ac_cv_lib_gcrypt_gcry_md_open=yes +have_gcrypt_header=yes +have_gcrypt=yes +have_gcrypt_threads=yes +GCRYPT_LIBS=-lgcrypt + cat >>confdefs.h <<_ACEOF +#define HAVE_GCRYPT_H 1 +_ACEOF ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" ==================== xxx PKG_CONFIG_PATH=/home/user/freeipmi/target/lib/pkgconfig LDFLAGS='-L/home/user/freeipmi/target/lib' CFLAGS='-I/home/user/freeipmi/target/include' ./configure --disable-shared --prefix=/usr --with-dont-check-for-root --sysconfdir=/etc 960 find . -type f -name Makefile | xargs sed -i 's|$(LN_S) -f $(sbindir)/|$(LN_S) -f |g' xxx find . -name \*.in '!' -name Makefile.in '!' -name '*.*.in'| xargs sed -i -e 's|exec \@.*SBINDIR\@|FN=$(realpath --no-symlinks -- $0)\nexec ${FN%/*}|g'