--- tiff-3.8.2.old/configure +++ tiff-3.8.2/configure @@ -19893,7 +19893,7 @@ else ax_try_lib="${ax_lib}" fi - LIBS="${ax_try_lib} ${GLUT_LIBS} ${ax_save_LIBS}" + LIBS="-L/usr/X11R6/lib ${ax_try_lib} ${GLUT_LIBS} ${ax_save_LIBS}" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -19905,12 +19905,11 @@ # include # endif # include -int -main () +int main() { -glutMainLoop() - ; - return 0; + glutInit (&argc, argv); + glutMainLoop(); + return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext