have_library: checking for main() in -lpq... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -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. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static  -pthread -lm   -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main() {return 0;}
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -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. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libpq.so.5.3: warning: strcat() is almost always misused, please use strlcat()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

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

have_header: checking for libpq-fe.h... -------------------- yes

"cc -E -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <libpq-fe.h>
/* end */

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

have_header: checking for libpq/libpq-fs.h... -------------------- yes

"cc -E -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <libpq/libpq-fs.h>
/* end */

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

have_header: checking for postgres.h... -------------------- yes

"cc -E -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe -fPIC  conftest.c -o conftest.i"
In file included from /usr/local/include/postgresql/server/postgres.h:47,
                 from conftest.c:3:
/usr/local/include/postgresql/server/c.h:96:1: warning: "_" redefined
In file included from /usr/local/include/ruby-1.9.1/ruby/ruby.h:74,
                 from /usr/local/include/ruby-1.9.1/ruby.h:32,
                 from conftest.c:1:
/usr/local/include/ruby-1.9.1/ruby/defines.h:34:1: warning: this is the location of the previous definition
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <postgres.h>
/* end */

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

have_header: checking for mb/pg_wchar.h... -------------------- yes

"cc -E -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mb/pg_wchar.h>
/* end */

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

have_header: checking for catalog/pg_type.h... -------------------- yes

"cc -E -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <catalog/pg_type.h>
/* end */

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

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

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -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. -L/usr/local/lib -Wl,-E    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `PQsetClientEncoding' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))PQsetClientEncoding; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -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. -L/usr/local/lib -Wl,-E    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libpq.so.5.3: warning: strcat() is almost always misused, please use strlcat()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { PQsetClientEncoding(); return 0; }
/* end */

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

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

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -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. -L/usr/local/lib -Wl,-E    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `pg_encoding_to_char' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))pg_encoding_to_char; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -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. -L/usr/local/lib -Wl,-E    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libpq.so.5.3: warning: strcat() is almost always misused, please use strlcat()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { pg_encoding_to_char(); return 0; }
/* end */

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

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

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -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. -L/usr/local/lib -Wl,-E    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function `t':
conftest.c:5: error: `PQfreemem' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))PQfreemem; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd4.9 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -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. -L/usr/local/lib -Wl,-E    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libpq.so.5.3: warning: strcat() is almost always misused, please use strlcat()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { PQfreemem(); return 0; }
/* end */

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

