Hi Daniel,

On Wednesday 11 March 2009 23:43:39 Daniel Stenberg wrote:
> BTW, do you just build curl twice, one for each arch, and install those and
> pkg-config then does the right thing? How does it know what arch you want
> info for?

look at the attached file. This is the way how it is currently solved
in Fedora. But I am not sure if it is portable enough to be interesting
from upstream perspective.

Kamil
#include <bits/wordsize.h>

#if __WORDSIZE == 32
#include "curlbuild-32.h"
#elif __WORDSIZE == 64
#include "curlbuild-64.h"
#else
#error "Unknown word size"
#endif

Reply via email to