Robert Schwebel <[EMAIL PROTECTED]> writes: > The test in acinclude.m4 just tries to compile this statement: > > #include <errno.h> > void *p = (void *) &program_invocation_name; > > This works on both, uClibc and glibc, as they both use the same headers. > If this is compiled with -D_GNU_SOURCE the extern variable is defined.
The configure test compiles this code and tries to link it to form an executable. It's not just a check of the include files. If the test succeeds, that indicates that you really have program_invocation_name. If you don't have it, the test should get link errors. > I've no idea how the symbol came into the library. Do you know what the > "V" means in the first case? It doesn't seem to be a function. It's not a function. program_invocation_name is a variable of type char *. /Niels
