configure:22610: checking whether fd passing works
configure:22685: gcc -o conftest -std=gnu99 -g -O2 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I./src/lib ./src/lib/fdpass.c conftest.c -lsocket -lnsl -lresolv >&5
configure:22685: $? = 0
configure:22685: ./conftest
configure:22685: $? = 0
configure:22708: result: yes
What is your Solaris release and which version of gcc you are using?
my test system is solaris 11.3 and I have gcc 4.5.2.
Sami