The dynamic loading test fails on Sol8x86 when not compiling in the source directory.
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1131
Reported by Per Hedbor, Idonex per@roxen.com
/home/per/src/Pike/7.3/build/sunos-5.8-i86pc/smartlink gcc -c -g -O2 -pipe
-mcpu=pentiumpro -fPIC conftest.c -o conftest.o
/home/per/src/Pike/7.3/bin/smartlink /usr/ccs/bin/ld -G -R/usr/local/lib
-L/usr/local/lib conftest.o -o conftest.so
configure:19037: /home/per/src/Pike/7.3/build/sunos-5.8-i86pc/smartlink gcc
-o conftest -g -O2 -pipe -mcpu=pentiumpro -R/usr/local/lib
-L/usr/local/lib conftest.c -ldl -lrt -lnsl -lsocket -lm -lpthread
-lthread 1>&5
configure:19032:26: dynamic_load.c: No such file or directory
configure: failed program was:
#line 19029 "configure"
#include "confdefs.h"
#define TESTING
#include "dynamic_load.c"
void testfunc2(void) { exit(0); }