have_library: checking for glVertex3d() in -lopengl32.lib... -------------------- no

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lopengl32.lib  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
conftest.c: In function 't':
conftest.c:4: error: 'glVertex3d' undeclared (first use in this function)
conftest.c:4: error: (Each undeclared identifier is reported only once
conftest.c:4: error: for each function it appears in.)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { void ((*volatile p)()); p = (void ((*)()))glVertex3d; return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lopengl32.lib  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
/usr/bin/ld: cannot find -lopengl32.lib
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { glVertex3d(); return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

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

have_library: checking for main() in -lopengl32... -------------------- no

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lopengl32  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
conftest.c: In function 't':
conftest.c:4: error: 'main' undeclared (first use in this function)
conftest.c:4: error: (Each undeclared identifier is reported only once
conftest.c:4: error: for each function it appears in.)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lopengl32  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
/usr/bin/ld: cannot find -lopengl32
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { main(); return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

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

have_library: checking for glVertex3d() in -lGL... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lGL  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
conftest.c: In function 't':
conftest.c:4: error: 'glVertex3d' undeclared (first use in this function)
conftest.c:4: error: (Each undeclared identifier is reported only once
conftest.c:4: error: for each function it appears in.)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { void ((*volatile p)()); p = (void ((*)()))glVertex3d; return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lGL  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { glVertex3d(); return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

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

have_library: checking for gluLookAt() in -lGLU... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic    -lGL  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lGLU -lGL  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
conftest.c: In function 't':
conftest.c:4: error: 'gluLookAt' undeclared (first use in this function)
conftest.c:4: error: (Each undeclared identifier is reported only once
conftest.c:4: error: for each function it appears in.)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { void ((*volatile p)()); p = (void ((*)()))gluLookAt; return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic    -lGL  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lGLU -lGL  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { gluLookAt(); return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

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

have_library: checking for glutSolidTeapot() in -lglut... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic    -lGLU -lGL  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lglut -lGLU -lGL  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
conftest.c: In function 't':
conftest.c:4: error: 'glutSolidTeapot' undeclared (first use in this function)
conftest.c:4: error: (Each undeclared identifier is reported only once
conftest.c:4: error: for each function it appears in.)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { void ((*volatile p)()); p = (void ((*)()))glutSolidTeapot; return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic    -lGLU -lGL  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lglut -lGLU -lGL  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { glutSolidTeapot(); return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

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

have_header: checking for GL/gl.h... -------------------- yes

"cpp -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <GL/gl.h>
/* end */

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

have_header: checking for GL/glu.h... -------------------- yes

"cpp -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <GL/glu.h>
/* end */

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

have_header: checking for GL/glut.h... -------------------- yes

"cpp -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <GL/glut.h>
/* end */

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

have_header: checking for GL/glx.h... -------------------- yes

"cpp -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <GL/glx.h>
/* end */

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

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

"cpp -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <dlfcn.h>
/* end */

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

have_header: checking for windows.h... -------------------- no

"cpp -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC  conftest.c -o conftest.i"
conftest.c:3:21: error: windows.h: No such file or directory
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <windows.h>
/* end */

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

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

"cpp -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <stdint.h>
/* end */

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

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

"cpp -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <inttypes.h>
/* end */

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

have_func: checking for wglGetProcAddress() in wingdi.h... -------------------- no

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic    -lglut -lGLU -lGL  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lglut -lGLU -lGL  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
conftest.c:3:20: error: wingdi.h: No such file or directory
conftest.c: In function 't':
conftest.c:6: error: 'wglGetProcAddress' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <wingdi.h>
 4: 
 5: /*top*/
 6: int t() { void ((*volatile p)()); p = (void ((*)()))wglGetProcAddress; return 0; }
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     printf("%p", &t);
11:   }
12: 
13:   return 0;
14: }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic    -lglut -lGLU -lGL  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lglut -lGLU -lGL  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
conftest.c:3:20: error: wingdi.h: No such file or directory
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <wingdi.h>
 4: 
 5: /*top*/
 6: int t() { wglGetProcAddress(); return 0; }
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     printf("%p", &t);
11:   }
12: 
13:   return 0;
14: }
/* end */

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

have_struct_member: checking for struct RFloat.float_value... -------------------- yes

"cc -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int s = (char *)&((struct RFloat*)0)->float_value - (char *)0;
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &s);
 9:   }
10: 
11:   return 0;
12: }
/* end */

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

have_type: checking for int64_t in stdint.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <stdint.h>
4: 
5: /*top*/
6: typedef int64_t conftest_type;
7: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

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

have_type: checking for uint64_t in stdint.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9//i386-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <stdint.h>
4: 
5: /*top*/
6: typedef uint64_t conftest_type;
7: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

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

extconf.h is:
/* begin */
 1: #ifndef EXTCONF_H
 2: #define EXTCONF_H
 3: #define HAVE_GL_GL_H 1
 4: #define HAVE_GL_GLU_H 1
 5: #define HAVE_GL_GLUT_H 1
 6: #define HAVE_GL_GLX_H 1
 7: #define HAVE_DLFCN_H 1
 8: #define HAVE_STDINT_H 1
 9: #define HAVE_INTTYPES_H 1
10: #define HAVE_STRUCT_RFLOAT_FLOAT_VALUE 1
11: #define HAVE_ST_FLOAT_VALUE 1
12: #define HAVE_TYPE_INT64_T 1
13: #define HAVE_TYPE_UINT64_T 1
14: #define HAVE_SINGLE_BYTE_STRINGS 1
15: #endif
/* end */

