AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 2012

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2012.06.24 18:59 "Update of tiffgt.c", by Christophe Deroulers
2012.07.06 13:15 "Re: Update of tiffgt.c", by Robert Wilson

2012.06.24 18:59 "Update of tiffgt.c", by Christophe Deroulers

   Dear all,

  As I understand, since tiff 4.0 the configure script doesn't recognize 
the option --with_apple_opengl_framework anymore. Indeed, this option was 
removed from autoconf-gl-macros (from which AX_CHECK_GL in m4/acinclude.m4 
is taken) as of 2007-11-29.

  Therefore, I suggest cleaning up tools/tiffgt.c to remove the use of 
HAVE_APPLE_OPENGL_FRAMEWORK -- here is a patch.

  Best wishes,

   Christophe Deroulers

Laboratory IMNC & Physics Dept. of the University Paris Diderot-Paris 7

--- tiffgt.c.orig	2010-07-01 17:56:56.000000000 +0200
+++ tiffgt.c	2012-06-24 20:46:29.000000000 +0200
@@ -31,13 +31,8 @@
 #include <string.h>
 #include <unistd.h>
 
-#if HAVE_APPLE_OPENGL_FRAMEWORK
-# include <OpenGL/gl.h>
-# include <GLUT/glut.h>
-#else
-# include <GL/gl.h>
-# include <GL/glut.h>
-#endif
+#include <GL/gl.h>
+#include <GL/glut.h>
 
 #include "tiffio.h"
 #include "tiffiop.h"