|
From: | jemarch |
Subject: | Re: [pdf-devel] libgcrypt when cross-compiling with mingw32 |
Date: | Mon, 17 Nov 2008 21:14:03 +0100 |
User-agent: | Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Why don't we use AC_CHECK_LIB() to check for libgcrypt? If we want the >=1.2.4 check we can put in AC_CHECK_LIB a function which is available in 1.2.4 and not in previous versions. The problem is that libgcrypt.m4 relies in the use of a command-line tool: libgcrypt-config. Fortunately libgcrypt-config is a shell script with hard-coded values and I suppose that we could use the --libgcrypt-prefix=/usr/mingw32 if we install the mingw32 compiled version of libgcrypt on /usr/mingw32: (from libgcrypt.m4) LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config I suppose that you have the cross-compiled version of libgcrypt installed. If it is the case please try to use the --libgcrypt-prefix option to configure. The generated libgcrypt-config should to the right thing.
[Prev in Thread] | Current Thread | [Next in Thread] |