have_func: checking for setlocale()... -------------------- yes

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/hppa-openbsd4.3 -I. -I/usr/local/include -DOPENSSL_NO_STATIC_ENGINE -O2 -pipe  -fPIC conftest.c  -L'.' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L.  -Wl,-E     -lruby-static  -lm   -lc"
conftest.c: In function `t':
conftest.c:3: error: `setlocale' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))setlocale; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/hppa-openbsd4.3 -I. -I/usr/local/include -DOPENSSL_NO_STATIC_ENGINE -O2 -pipe  -fPIC conftest.c  -L'.' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L.  -Wl,-E     -lruby-static  -lm   -lc"
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { setlocale(); return 0; }
/* end */

--------------------

have_func: checking for nl_langinfo()... -------------------- yes

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/hppa-openbsd4.3 -I. -I/usr/local/include -DOPENSSL_NO_STATIC_ENGINE -O2 -pipe  -fPIC conftest.c  -L'.' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L.  -Wl,-E     -lruby-static  -lm   -lc"
conftest.c: In function `t':
conftest.c:3: error: `nl_langinfo' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))nl_langinfo; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/hppa-openbsd4.3 -I. -I/usr/local/include -DOPENSSL_NO_STATIC_ENGINE -O2 -pipe  -fPIC conftest.c  -L'.' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L.  -Wl,-E     -lruby-static  -lm   -lc"
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { nl_langinfo(); return 0; }
/* end */

--------------------

