i am using autoconf/automake in my currenty project. the project also use a
third-party library which comes with a header file which i should include in my
own sources. but in the header file, there is something like below:

#ifdef HAVE_LIMITS
#include <limits>
#else
#include <machine/limits.h>
#endif

so, my code including the header will never pass compile becase HAVE_LIMITS was
not set by the ./configure, hence the header will ask the <machine/limits.h>
which however does not exist on my system.

does anyone know what's the cause and gets a solution?

-- 
steven woody (id: narke)

Can two friends sleep together and still love each other in the
morning?

        - When Harry Met Sally... (1989)



Reply via email to