Check types of structures

2007-11-20 Thread Jason Curl
Hello, There are the autoconf macros AC_CHECK_TYPE, AC_CHECK_SIZEOF and AC_CHECK_MEMBER. I would like to check the size of a member inside a structure. Does this already exist in autoconf? On Interix, the type for "struct timeval.tv_usec" is "long", while on Linux it is "suseconds_t". I'd ra

Creating the dir in AC_CONFIG_AUX_DIR(dir)

2007-11-20 Thread Kamaljit Singh
Hi, I was trying to use the AC_CONFIG_AUX_DIR(dir) to use the "aux" dir so that the various scripts that are required are populated by automake and do not clutter the "top dir". I dont want this directory to pre-exist but be created on the fly when autoconf is run. Any ideas how to accomplis

Re: Creating the dir in AC_CONFIG_AUX_DIR(dir)

2007-11-20 Thread Eric Blake
Kamaljit Singh rocketmail.com> writes: > I was trying to use the AC_CONFIG_AUX_DIR(dir) to use the "aux" dir Don't use "aux". It makes your project non-portable to Windows machines. Instead, consider using the name "build-aux". > I dont want this directory to pre-exist but be created on th

Re: Possible bug in Makefile 3.81

2007-11-20 Thread Karl Berry
My understanding is that [ and test have been synonyms for a long time, Well, they were always "synonyms" in the sense that they were (typically, at least) hard links to each other. But the behavior obviously differs; [ has to strip a trailing ] argument. There were bugs in that parsing