cvs commit: hugs98/src config.h.in hugs98/src/unix .cvsignore aclocal.m4 configure configure.in

panne 2003/08/08 09:19:24 PDT Modified files: src config.h.in src/unix .cvsignore aclocal.m4 configure configure.in Log: * Synched OpenGL detection stuff with the one in fptools, so Hugs + OpenGL/GLUT should work on Mac OS X. * Format configure help strings with a macro Revision Changes Path 1.28 +5 -0 hugs98/src/config.h.in 1.3 +1 -0 hugs98/src/unix/.cvsignore 1.16 +8 -5 hugs98/src/unix/aclocal.m4 1.67 +412 -32 hugs98/src/unix/configure 1.72 +112 -20 hugs98/src/unix/configure.in

On Fri, Aug 08, 2003 at 09:19:24AM -0700, Sven Panne wrote:
* Synched OpenGL detection stuff with the one in fptools, so Hugs + OpenGL/GLUT should work on Mac OS X. * Format configure help strings with a macro
Shall we make --disable-hopengl the default? (Since not everyone will have the libraries.)

Ross Paterson wrote:
Shall we make --disable-hopengl the default? (Since not everyone will have the libraries.)
Well, having it enabled by default was rather intentional, although a bit like guerrilla tactics... >:-) OpenGL comes for free with every major platform where Hugs runs (WinDoze 95/98/2000/XP, Linux, MacOS X, very probably FreeBSD, ...), so it makes sense to build it by default. And even if it is not there, it doesn't hurt the building procedure. The only minor point is that WinDoze doesn't ship with a GLUT DLL, but as I proposed in a recent mail, it might make sense to ship this with the .msi. Cheers, S.

On Mon, Aug 11, 2003 at 12:33:01PM +0200, Sven Panne wrote:
Ross Paterson wrote:
Shall we make --disable-hopengl the default? (Since not everyone will have the libraries.)
Well, having it enabled by default was rather intentional, although a bit like guerrilla tactics... >:-)
Yes, it is.
OpenGL comes for free with every major platform where Hugs runs (WinDoze 95/98/2000/XP, Linux, MacOS X, very probably FreeBSD, ...), so it makes sense to build it by default. And even if it is not there, it doesn't hurt the building procedure.
Even though Linux and BSD distributions usually include the libs, they are highly compartmentalized, and the user may not have the development versions installed. It's true that the build will produce a working Hugs system without hopengl, but users will see lots of error messages, and that tends to panic them.
The only minor point is that WinDoze doesn't ship with a GLUT DLL, but as I proposed in a recent mail, it might make sense to ship this with the .msi.
That's a binary distribution -- no problem there.

OK, perhaps --enable-hopengl's default should be "autodetect", i.e. the libraries get converted when configure detects working headers and libs. I'll see what I can do... BTW, is there a release timetable for Hugs yet? Cheers, S.

On Mon, Aug 11, 2003 at 01:43:09PM +0200, Sven Panne wrote:
OK, perhaps --enable-hopengl's default should be "autodetect", i.e. the libraries get converted when configure detects working headers and libs. I'll see what I can do...
Thanks. BTW, have you considered putting all this stuff in a separate configure in libraries/OpenGL (like the one in ghc)? It would save on duplication. Decoupling a bit from Hugs might also make it easier to distribute updates more frequently than Hugs releases, which have historically been well spaced.

Ross Paterson wrote:
Thanks. BTW, have you considered putting all this stuff in a separate configure in libraries/OpenGL (like the one in ghc)? [...]
Quite some time ago I tried to make the whole fptools autoconf stuff a bit more modular, but I failed for several reasons. I don't remember exactly what went wrong, but I guess it was my inability to fully comprehend the increasingly complex autoconf suite. %-] Perhaps it's time to try again, but I'm a bit reluctant to do it when a release is imminent... Cheers, S.

On Monday, August 11, 2003, at 02:33 AM, Ross Paterson wrote:
On Fri, Aug 08, 2003 at 09:19:24AM -0700, Sven Panne wrote:
* Synched OpenGL detection stuff with the one in fptools, so Hugs + OpenGL/GLUT should work on Mac OS X. * Format configure help strings with a macro
Shall we make --disable-hopengl the default? (Since not everyone will have the libraries.)
If there's detection stuff, I'm afraid it doesn't work very well. Well, at least `make rpm' fails on my machine when it gets to the GLUT files (I think it is convert_libraries that's failing). I end up leaving the GLUT files out of the tar file. --Jeff
participants (4)
-
Jeffrey R Lewis
-
Ross Paterson
-
Sven Panne
-
Sven Panne