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

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
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/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
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_library: checking for main() in -lz... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
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_library: checking for main() in -lm... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
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_library: checking for main() in -lssl... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lm -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lssl -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
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_library: checking for main() in -lcrypto... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lssl -lm -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lcrypto -lssl -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
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_func: checking for localtime_r()... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lcrypto -lssl -lm -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lcrypto -lssl -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))localtime_r; return 0; }
/* end */

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

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

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lcrypto -lssl -lm -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lcrypto -lssl -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))gmtime_r; return 0; }
/* end */

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

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

"cc -E -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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 <mysql.h>
/* end */

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

have_const: checking for MYSQL_TYPE_STRING in mysql.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mysql.h>
4: 
5: /*top*/
6: typedef int conftest_type;
7: conftest_type conftestval = (int)MYSQL_TYPE_STRING;
/* end */

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

have_const: checking for MYSQL_TYPE_BIT in mysql.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mysql.h>
4: 
5: /*top*/
6: typedef int conftest_type;
7: conftest_type conftestval = (int)MYSQL_TYPE_BIT;
/* end */

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

have_const: checking for MYSQL_TYPE_NEWDECIMAL in mysql.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mysql.h>
4: 
5: /*top*/
6: typedef int conftest_type;
7: conftest_type conftestval = (int)MYSQL_TYPE_NEWDECIMAL;
/* end */

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

have_func: checking for mysql_query() in mysql.h... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lcrypto -lssl -lm -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lcrypto -lssl -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mysql.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
/* end */

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

have_func: checking for mysql_ssl_set() in mysql.h... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lcrypto -lssl -lm -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lcrypto -lssl -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mysql.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_ssl_set; return 0; }
/* end */

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

have_func: checking for mysql_sqlstate() in mysql.h... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lcrypto -lssl -lm -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lcrypto -lssl -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mysql.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_sqlstate; return 0; }
/* end */

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

have_func: checking for mysql_get_ssl_cipher() in mysql.h... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lcrypto -lssl -lm -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lcrypto -lssl -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mysql.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_get_ssl_cipher; return 0; }
/* end */

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

have_func: checking for mysql_set_character_set() in mysql.h... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lcrypto -lssl -lm -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lcrypto -lssl -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mysql.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_set_character_set; return 0; }
/* end */

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

have_func: checking for mysql_get_server_version() in mysql.h... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -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/mysql -Wl,-R/usr/local/lib/mysql -L. -L/usr/local/lib -Wl,-E    -lcrypto -lssl -lm -lz -lmysqlclient  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lcrypto -lssl -lm -lz -lmysqlclient  -pthread -lm   -lc"
/usr/local/lib/libmysqlclient.so.21.0: warning: stpcpy() is dangerous GNU crap; don't use it
/usr/local/lib/libmysqlclient.so.21.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libmysqlclient.so.21.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mysql.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_get_server_version; return 0; }
/* end */

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

have_struct_member: checking for MYSQL_FIELD.charsetnr in mysql.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/x86_64-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/include/mysql -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <mysql.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int s = (char *)&((MYSQL_FIELD*)0)->charsetnr - (char *)0;
/* end */

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

