Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From d9b954bd9d0b084d9a1f5159a9f0c45802a51809 Mon Sep 17 00:00:00 2001 |
| 2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> |
| 3 | Date: Mon, 22 Apr 2013 16:28:16 +0000 |
| 4 | |
| 5 | --- |
| 6 | configure.ac | 8 ++++---- |
| 7 | 1 file changed, 4 insertions(+), 4 deletions(-) |
| 8 | |
| 9 | diff --git a/configure.ac b/configure.ac |
| 10 | index e869a6a0..101d6f9f 100644 |
| 11 | --- a/configure.ac |
| 12 | +++ b/configure.ac |
| 13 | @@ -2514,20 +2514,20 @@ AC_ARG_WITH([libgcrypt], |
| 14 | if test -f "$withval" && test -x "$withval"; then |
| 15 | with_libgcrypt_config="$withval" |
| 16 | with_libgcrypt="yes" |
| 17 | - else if test -f "$withval/bin/gcrypt-config" && test -x "$withval/bin/gcrypt-config"; then |
| 18 | - with_libgcrypt_config="$withval/bin/gcrypt-config" |
| 19 | + else if test -f "$withval/bin/pkg-config" && test -x "$withval/bin/pkg-config"; then |
| 20 | + with_libgcrypt_config="$withval/bin/pkg-config" |
| 21 | with_libgcrypt="yes" |
| 22 | else if test -d "$withval"; then |
| 23 | GCRYPT_CPPFLAGS="$GCRYPT_CPPFLAGS -I$withval/include" |
| 24 | GCRYPT_LDFLAGS="$GCRYPT_LDFLAGS -L$withval/lib" |
| 25 | with_libgcrypt="yes" |
| 26 | else |
| 27 | - with_libgcrypt_config="gcrypt-config" |
| 28 | + with_libgcrypt_config="pkg-config" |
| 29 | with_libgcrypt="$withval" |
| 30 | fi; fi; fi |
| 31 | ], |
| 32 | [ |
| 33 | - with_libgcrypt_config="libgcrypt-config" |
| 34 | + with_libgcrypt_config="libpkg-config" |
| 35 | with_libgcrypt="yes" |
| 36 | ] |
| 37 | ) |