[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guix building fails with undefined referrences
From: |
Ludovic Courtès |
Subject: |
Re: Guix building fails with undefined referrences |
Date: |
Thu, 22 May 2014 10:23:39 +0200 |
User-agent: |
Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) |
Manolis Ragkousis <address@hidden> skribis:
> It was created by GNU Guix configure 0.7, which was
> generated by GNU Autoconf 2.69. Invocation command line was
>
> $ ./configure
[...]
> LIBGCRYPT='libgcrypt'
> LIBGCRYPT_CFLAGS='-I/include'
> LIBGCRYPT_LIBDIR=''
> LIBGCRYPT_LIBS='-L -lgcrypt'
> LIBGCRYPT_PREFIX=''
Oops, this is a regression introduced in 14af289.
Can you confirm that the patch below solves the problem?
Thanks!
Ludo’.
diff --git a/configure.ac b/configure.ac
index 7b2a0e4..d652117 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,7 +124,9 @@ AC_ARG_WITH([libgcrypt-prefix],
LIBGCRYPT_LIBDIR="$withval/lib"
;;
esac],
- [LIBGCRYPT="libgcrypt"])
+ [LIBGCRYPT="libgcrypt"
+ LIBGCRYPT_PREFIX="no"
+ LIBGCRYPT_LIBDIR="no"])
AC_ARG_WITH([libgcrypt-libdir],
[AS_HELP_STRING([--with-libgcrypt-libdir=DIR],
@@ -141,6 +143,9 @@ AC_ARG_WITH([libgcrypt-libdir],
esac],
[if test "x$LIBGCRYPT" = x; then
LIBGCRYPT="libgcrypt"
+ fi
+ if test "x$LIBGCRYPT_LIBDIR" = x; then
+ LIBGCRYPT_LIBDIR="no"
fi])
dnl Library name suitable for `dynamic-link'.