Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 654042 | Differences between
and this patch

Collapse All | Expand All

(-)a/m4/libgcrypt.m4 (-4 / +4 lines)
Lines 23-29 Link Here
23
dnl with a changed API.
23
dnl with a changed API.
24
dnl
24
dnl
25
dnl If a prefix option is not used, the config script is first
25
dnl If a prefix option is not used, the config script is first
26
dnl searched in $SYSROOT/bin and then along $PATH.  If the used
26
dnl searched in $SYSROOT/usr/bin and then along $PATH.  If the used
27
dnl config script does not match the host specification the script
27
dnl config script does not match the host specification the script
28
dnl is added to the gpg_config_script_warn variable.
28
dnl is added to the gpg_config_script_warn variable.
29
dnl
29
dnl
Lines 35-46 Link Here
35
     libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="")
35
     libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="")
36
  if test x"${LIBGCRYPT_CONFIG}" = x ; then
36
  if test x"${LIBGCRYPT_CONFIG}" = x ; then
37
     if test x"${libgcrypt_config_prefix}" != x ; then
37
     if test x"${libgcrypt_config_prefix}" != x ; then
38
        LIBGCRYPT_CONFIG="${libgcrypt_config_prefix}/bin/libgcrypt-config"
38
        LIBGCRYPT_CONFIG="${libgcrypt_config_prefix}/usr/bin/libgcrypt-config"
39
     else
39
     else
40
       case "${SYSROOT}" in
40
       case "${SYSROOT}" in
41
         /*)
41
         /*)
42
           if test -x "${SYSROOT}/bin/libgcrypt-config" ; then
42
           if test -x "${SYSROOT}/usr/bin/libgcrypt-config" ; then
43
             LIBGCRYPT_CONFIG="${SYSROOT}/bin/libgcrypt-config"
43
             LIBGCRYPT_CONFIG="${SYSROOT}/usr/bin/libgcrypt-config"
44
           fi
44
           fi
45
           ;;
45
           ;;
46
         '')
46
         '')

Return to bug 654042