From b983b285cc4f0627a1f72c9d6c510047af0ad116 Mon Sep 17 00:00:00 2001
From: Michael R Sweet FLTK uses GNU autoconf to configure itself for your UNIX platform.
The main things that the configure script will look for are the X11,
-OpenGL (or Mesa), and JPEG header and library files. Make sure that
-they are in the standard include/library locations. What Does "FLTK" Mean?
- FLTK was originally designed to be compatable with the Forms Library
+ FLTK was originally designed to be compatible with the Forms Library
written for SGI machines. In that library all the functions and
structures started with "fl_". This naming was extended to all new
methods and widgets in the C++ library, and this prefix was taken as
@@ -110,8 +110,30 @@ Kit".
the default of no options and then compile everything.
+CFLAGS=-Iincludedir; export CFLAGS +CXXFLAGS=-Iincludedir; export CXXFLAGS +LDFLAGS=-Llibdir; export LDFLAGS ++For C shell and tcsh, use: +
+setenv CFLAGS "-Iincludedir" +setenv CXXFLAGS "-Iincludedir" +setenv LDFLAGS "-Llibdir" ++By default configure will look for a C++ compiler named CC, c++, +g++, or gcc in that order. To use another compiler you need +to set the CXX environment variable: +
+CXX=xlC; export xlC +setenv CXX "xlC" ++The CC environment variable can also be used to override the default +C compiler, which is used for a few FLTK source files.
You can run configure yourself to get the exact setup you need. Type "./configure <options>", where options are:
To join the FLTK mailing list, send a message to "majordomo@easysw.com" with "subscribe fltk" in the message body. A digest of this list is available by subscribing to the "fltk-digest" -- cgit v1.2.3