aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: crypto detection  (Read 1707 times)

dusoft

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
crypto detection
« on: July 14, 2004, 12:09:59 AM »

Hi, configure script have error. At least in my bash, it incorrectly determines crypto++ distribution. It always get mdk_suse_fc, when i have built it from sources Current configure, from line 9604:
Code: [Select]
CRYPTO_PP_STYLE="gentoo_debian"
grep "5.1" $crypto_prefix/crypto++/cryptlib.h > /dev/null 2>&1
CRYPTO=$?
if test "$CRYPTO" != 0; then
grep "5.1" $crypto_prefix/cryptopp/cryptlib.h > /dev/null 2>&1
CRYPTO_PP_STYLE="mdk_suse_fc"
CRYPTO=$?
fi
if test "$CRYPTO" != 0; then
grep "5.1" $crypto_prefix/crypto-5.1/cryptlib.h > /dev/null 2>&1
CRYPTO_PP_STYLE="sources"
CRYPTO=$?

When I've changed it to:
Code: [Select]
CRYPTO_PP_STYLE="gentoo_debian"
grep "5.1" $crypto_prefix/crypto++/cryptlib.h > /dev/null 2>&1
CRYPTO=$?
if test "$CRYPTO" != 0; then
CRYPTO_PP_STYLE="mdk_suse_fc"
grep "5.1" $crypto_prefix/cryptopp/cryptlib.h > /dev/null 2>&1
CRYPTO=$?
fi
if test "$CRYPTO" != 0; then
CRYPTO_PP_STYLE="sources"
grep "5.1" $crypto_prefix/crypto-5.1/cryptlib.h > /dev/null 2>&1
CRYPTO=$?
problem has been solved.
« Last Edit: July 15, 2004, 03:20:16 AM by dusoft »
Logged