summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-11-27 22:03:29 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-11-27 22:03:29 +0000
commit1a7bbc55c54949ef02f2635137ac5c6b72ad7bbe (patch)
tree2bc3a8d83122323928c7f699913327511cc7360b
parent42df8c128819f34f572d892e8bf93cf4cf610ec6 (diff)
Configure script changes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--FL/Enumerations.H.in368
-rw-r--r--configure.in196
-rwxr-xr-xfltk-config.in26
-rw-r--r--fltk.list193
-rw-r--r--fltk.list.in202
5 files changed, 701 insertions, 284 deletions
diff --git a/FL/Enumerations.H.in b/FL/Enumerations.H.in
new file mode 100644
index 000000000..654ba8710
--- /dev/null
+++ b/FL/Enumerations.H.in
@@ -0,0 +1,368 @@
+//
+// "$Id: Enumerations.H.in,v 1.1.2.1 2001/11/27 22:03:29 easysw Exp $"
+//
+// Enumerations for the Fast Light Tool Kit (FLTK).
+//
+// Copyright 1998-2001 by Bill Spitzak and others.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Library General Public
+// License as published by the Free Software Foundation; either
+// version 2 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Library General Public License for more details.
+//
+// You should have received a copy of the GNU Library General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+// USA.
+//
+// Please report all bugs and problems to "fltk-bugs@fltk.org".
+//
+
+#ifndef Fl_Enumerations_H
+#define Fl_Enumerations_H
+
+# include "Fl_Export.H"
+
+
+//
+// The FLTK version number; this is changed slightly from the beta versions
+// because the old "const double" definition would not allow for conditional
+// compilation...
+//
+// FL_VERSION is a double that describes the major and minor version numbers.
+// Version 1.1 is actually stored as 1.01 to allow for more than 9 minor
+// releases.
+//
+// The FL_MAJOR_VERSION, FL_MINOR_VERSION, and FL_PATCH_VERSION constants
+// give the integral values for the major, minor, and patch releases
+// respectively.
+//
+
+#define FL_MAJOR_VERSION @FL_MAJOR_VERSION@
+#define FL_MINOR_VERSION @FL_MINOR_VERSION@
+#define FL_PATCH_VERSION @FL_PATCH_VERSION@
+#define FL_VERSION ((double)FL_MAJOR_VERSION + \
+ (double)FL_MINOR_VERSION * 0.01 + \
+ (double)FL_PATCH_VERSION * 0.0001)
+
+typedef unsigned char uchar;
+typedef unsigned long ulong;
+
+enum Fl_Event { // events
+ FL_NO_EVENT = 0,
+ FL_PUSH = 1,
+ FL_RELEASE = 2,
+ FL_ENTER = 3,
+ FL_LEAVE = 4,
+ FL_DRAG = 5,
+ FL_FOCUS = 6,
+ FL_UNFOCUS = 7,
+ FL_KEYDOWN = 8,
+ FL_KEYUP = 9,
+ FL_CLOSE = 10,
+ FL_MOVE = 11,
+ FL_SHORTCUT = 12,
+ FL_DEACTIVATE = 13,
+ FL_ACTIVATE = 14,
+ FL_HIDE = 15,
+ FL_SHOW = 16,
+ FL_PASTE = 17,
+ FL_SELECTIONCLEAR = 18,
+ FL_MOUSEWHEEL = 19
+};
+#define FL_KEYBOARD FL_KEYDOWN
+
+enum Fl_When { // Fl_Widget::when():
+ FL_WHEN_NEVER = 0,
+ FL_WHEN_CHANGED = 1,
+ FL_WHEN_RELEASE = 4,
+ FL_WHEN_RELEASE_ALWAYS= 6,
+ FL_WHEN_ENTER_KEY = 8,
+ FL_WHEN_ENTER_KEY_ALWAYS=10,
+ FL_WHEN_ENTER_KEY_CHANGED=11,
+ FL_WHEN_NOT_CHANGED = 2 // modifier bit to disable changed() test
+};
+
+// Fl::event_key() and Fl::get_key(n) (use ascii letters for all other keys):
+#define FL_Button 0xfee8 // use Fl_Button+FL_*_MOUSE
+#define FL_BackSpace 0xff08
+#define FL_Tab 0xff09
+#define FL_Enter 0xff0d
+#define FL_Pause 0xff13
+#define FL_Scroll_Lock 0xff14
+#define FL_Escape 0xff1b
+#define FL_Home 0xff50
+#define FL_Left 0xff51
+#define FL_Up 0xff52
+#define FL_Right 0xff53
+#define FL_Down 0xff54
+#define FL_Page_Up 0xff55
+#define FL_Page_Down 0xff56
+#define FL_End 0xff57
+#define FL_Print 0xff61
+#define FL_Insert 0xff63
+#define FL_Menu 0xff67 // the "menu/apps" key on XFree86
+#define FL_Num_Lock 0xff7f
+#define FL_KP 0xff80 // use FL_KP+'x' for 'x' on numeric keypad
+#define FL_KP_Enter 0xff8d // same as Fl_KP+'\r'
+#define FL_KP_Last 0xffbd // use to range-check keypad
+#define FL_F 0xffbd // use FL_F+n for function key n
+#define FL_F_Last 0xffe0 // use to range-check function keys
+#define FL_Shift_L 0xffe1
+#define FL_Shift_R 0xffe2
+#define FL_Control_L 0xffe3
+#define FL_Control_R 0xffe4
+#define FL_Caps_Lock 0xffe5
+#define FL_Meta_L 0xffe7 // the left MSWindows key on XFree86
+#define FL_Meta_R 0xffe8 // the right MSWindows key on XFree86
+#define FL_Alt_L 0xffe9
+#define FL_Alt_R 0xffea
+#define FL_Delete 0xffff
+
+// Fl::event_button():
+#define FL_LEFT_MOUSE 1
+#define FL_MIDDLE_MOUSE 2
+#define FL_RIGHT_MOUSE 3
+
+// Fl::event_state():
+#define FL_SHIFT 0x00010000
+#define FL_CAPS_LOCK 0x00020000
+#define FL_CTRL 0x00040000
+#define FL_ALT 0x00080000
+#define FL_NUM_LOCK 0x00100000 // most X servers do this?
+#define FL_META 0x00400000 // correct for XFree86
+#define FL_SCROLL_LOCK 0x00800000 // correct for XFree86
+#define FL_BUTTON1 0x01000000
+#define FL_BUTTON2 0x02000000
+#define FL_BUTTON3 0x04000000
+
+enum Fl_Boxtype { // boxtypes (if you change these you must fix fl_boxtype.C):
+ FL_NO_BOX = 0, FL_FLAT_BOX,
+
+ FL_UP_BOX, FL_DOWN_BOX,
+ FL_UP_FRAME, FL_DOWN_FRAME,
+ FL_THIN_UP_BOX, FL_THIN_DOWN_BOX,
+ FL_THIN_UP_FRAME, FL_THIN_DOWN_FRAME,
+ FL_ENGRAVED_BOX, FL_EMBOSSED_BOX,
+ FL_ENGRAVED_FRAME, FL_EMBOSSED_FRAME,
+ FL_BORDER_BOX, _FL_SHADOW_BOX,
+ FL_BORDER_FRAME, _FL_SHADOW_FRAME,
+ _FL_ROUNDED_BOX, _FL_RSHADOW_BOX,
+ _FL_ROUNDED_FRAME, _FL_RFLAT_BOX,
+ _FL_ROUND_UP_BOX, _FL_ROUND_DOWN_BOX,
+ _FL_DIAMOND_UP_BOX, _FL_DIAMOND_DOWN_BOX,
+ _FL_OVAL_BOX, _FL_OSHADOW_BOX,
+ _FL_OVAL_FRAME, _FL_OFLAT_BOX,
+ FL_FREE_BOXTYPE
+};
+extern FL_EXPORT Fl_Boxtype define_FL_ROUND_UP_BOX();
+#define FL_ROUND_UP_BOX define_FL_ROUND_UP_BOX()
+#define FL_ROUND_DOWN_BOX (Fl_Boxtype)(define_FL_ROUND_UP_BOX()+1)
+extern FL_EXPORT Fl_Boxtype define_FL_SHADOW_BOX();
+#define FL_SHADOW_BOX define_FL_SHADOW_BOX()
+#define FL_SHADOW_FRAME (Fl_Boxtype)(define_FL_SHADOW_BOX()+2)
+extern FL_EXPORT Fl_Boxtype define_FL_ROUNDED_BOX();
+#define FL_ROUNDED_BOX define_FL_ROUNDED_BOX()
+#define FL_ROUNDED_FRAME (Fl_Boxtype)(define_FL_ROUNDED_BOX()+2)
+extern FL_EXPORT Fl_Boxtype define_FL_RFLAT_BOX();
+#define FL_RFLAT_BOX define_FL_RFLAT_BOX()
+extern FL_EXPORT Fl_Boxtype define_FL_RSHADOW_BOX();
+#define FL_RSHADOW_BOX define_FL_RSHADOW_BOX()
+extern FL_EXPORT Fl_Boxtype define_FL_DIAMOND_BOX();
+#define FL_DIAMOND_UP_BOX define_FL_DIAMOND_BOX()
+#define FL_DIAMOND_DOWN_BOX (Fl_Boxtype)(define_FL_DIAMOND_BOX()+1)
+extern FL_EXPORT Fl_Boxtype define_FL_OVAL_BOX();
+#define FL_OVAL_BOX define_FL_OVAL_BOX()
+#define FL_OSHADOW_BOX (Fl_Boxtype)(define_FL_OVAL_BOX()+1)
+#define FL_OVAL_FRAME (Fl_Boxtype)(define_FL_OVAL_BOX()+2)
+#define FL_OFLAT_BOX (Fl_Boxtype)(define_FL_OVAL_BOX()+3)
+
+// conversions of box types to other boxtypes:
+inline Fl_Boxtype down(Fl_Boxtype b) {return (Fl_Boxtype)(b|1);}
+inline Fl_Boxtype frame(Fl_Boxtype b) {return (Fl_Boxtype)(b|2);}
+
+// back-compatability box types:
+#define FL_FRAME FL_ENGRAVED_FRAME
+#define FL_FRAME_BOX FL_ENGRAVED_BOX
+#define FL_CIRCLE_BOX FL_ROUND_DOWN_BOX
+#define FL_DIAMOND_BOX FL_DIAMOND_DOWN_BOX
+
+enum Fl_Labeltype { // labeltypes:
+ FL_NORMAL_LABEL = 0,
+ FL_NO_LABEL,
+ _FL_SHADOW_LABEL,
+ _FL_ENGRAVED_LABEL,
+ _FL_EMBOSSED_LABEL,
+ _FL_MULTI_LABEL,
+ _FL_ICON_LABEL,
+
+ FL_FREE_LABELTYPE
+};
+#define FL_SYMBOL_LABEL FL_NORMAL_LABEL
+extern Fl_Labeltype FL_EXPORT define_FL_SHADOW_LABEL();
+#define FL_SHADOW_LABEL define_FL_SHADOW_LABEL()
+extern Fl_Labeltype FL_EXPORT define_FL_ENGRAVED_LABEL();
+#define FL_ENGRAVED_LABEL define_FL_ENGRAVED_LABEL()
+extern Fl_Labeltype FL_EXPORT define_FL_EMBOSSED_LABEL();
+#define FL_EMBOSSED_LABEL define_FL_EMBOSSED_LABEL()
+
+enum Fl_Align { // align() values
+ FL_ALIGN_CENTER = 0,
+ FL_ALIGN_TOP = 1,
+ FL_ALIGN_BOTTOM = 2,
+ FL_ALIGN_LEFT = 4,
+ FL_ALIGN_RIGHT = 8,
+ FL_ALIGN_INSIDE = 16,
+ FL_ALIGN_TEXT_OVER_IMAGE = 32,
+ FL_ALIGN_IMAGE_OVER_TEXT = 0,
+ FL_ALIGN_CLIP = 64,
+ FL_ALIGN_WRAP = 128,
+ FL_ALIGN_TOP_LEFT = FL_ALIGN_TOP | FL_ALIGN_LEFT,
+ FL_ALIGN_TOP_RIGHT = FL_ALIGN_TOP | FL_ALIGN_RIGHT,
+ FL_ALIGN_BOTTOM_LEFT = FL_ALIGN_BOTTOM | FL_ALIGN_LEFT,
+ FL_ALIGN_BOTTOM_RIGHT = FL_ALIGN_BOTTOM | FL_ALIGN_RIGHT,
+ FL_ALIGN_LEFT_TOP = FL_ALIGN_TOP_LEFT,
+ FL_ALIGN_RIGHT_TOP = FL_ALIGN_TOP_RIGHT,
+ FL_ALIGN_LEFT_BOTTOM = FL_ALIGN_BOTTOM_LEFT,
+ FL_ALIGN_RIGHT_BOTTOM = FL_ALIGN_BOTTOM_RIGHT,
+ FL_ALIGN_NOWRAP = 0 // for back compatability
+};
+
+enum Fl_Font { // standard fonts
+ FL_HELVETICA = 0,
+ FL_HELVETICA_BOLD,
+ FL_HELVETICA_ITALIC,
+ FL_HELVETICA_BOLD_ITALIC,
+ FL_COURIER,
+ FL_COURIER_BOLD,
+ FL_COURIER_ITALIC,
+ FL_COURIER_BOLD_ITALIC,
+ FL_TIMES,
+ FL_TIMES_BOLD,
+ FL_TIMES_ITALIC,
+ FL_TIMES_BOLD_ITALIC,
+ FL_SYMBOL,
+ FL_SCREEN,
+ FL_SCREEN_BOLD,
+ FL_ZAPF_DINGBATS,
+
+ FL_FREE_FONT = 16, // first one to allocate
+ FL_BOLD = 1, // add this to helvetica, courier, or times
+ FL_ITALIC = 2 // add this to helvetica, courier, or times
+};
+
+extern FL_EXPORT int FL_NORMAL_SIZE;
+
+enum Fl_Color { // standard colors
+ FL_BLACK = 0,
+ FL_RED = 1,
+ FL_GREEN = 2,
+ FL_YELLOW = 3,
+ FL_BLUE = 4,
+ FL_MAGENTA = 5,
+ FL_CYAN = 6,
+ FL_WHITE = 7,
+ FL_INACTIVE_COLOR = 8,
+ FL_SELECTION_COLOR = 15,
+
+ FL_FREE_COLOR = 16,
+ FL_NUM_FREE_COLOR = 16,
+
+ FL_GRAY_RAMP = 32,
+
+ // boxtypes limit themselves to these colors so whole ramp is not allocated:
+ FL_GRAY0 = 32, // 'A'
+ FL_DARK3 = 39, // 'H'
+ FL_DARK2 = 45, // 'N'
+ FL_DARK1 = 47, // 'P'
+ FL_GRAY = 49, // 'R' default color
+ FL_LIGHT1 = 50, // 'S'
+ FL_LIGHT2 = 52, // 'U'
+ FL_LIGHT3 = 54, // 'W'
+
+ FL_COLOR_CUBE = 56
+};
+
+FL_EXPORT Fl_Color fl_inactive(Fl_Color c);
+FL_EXPORT Fl_Color fl_contrast(Fl_Color fg, Fl_Color bg);
+FL_EXPORT Fl_Color fl_color_average(Fl_Color c1, Fl_Color c2, float weight);
+inline Fl_Color fl_lighter(Fl_Color c) { return fl_color_average(c, FL_WHITE, .67f); }
+inline Fl_Color fl_darker(Fl_Color c) { return fl_color_average(c, FL_BLACK, .67f); }
+inline Fl_Color fl_rgb_color(uchar r, uchar g, uchar b) {
+ return (Fl_Color)(((((r << 8) | g) << 8) | b) << 8);
+}
+#define FL_NUM_GRAY 24
+inline Fl_Color fl_gray_ramp(int i) {return (Fl_Color)(i+FL_GRAY_RAMP);}
+#define FL_NUM_RED 5
+#define FL_NUM_GREEN 8
+#define FL_NUM_BLUE 5
+inline Fl_Color fl_color_cube(int r, int g, int b) {
+ return (Fl_Color)((b*FL_NUM_RED + r) * FL_NUM_GREEN + g + FL_COLOR_CUBE);}
+
+enum Fl_Cursor { // standard cursors
+ FL_CURSOR_DEFAULT = 0,
+ FL_CURSOR_ARROW = 35,
+ FL_CURSOR_CROSS = 66,
+ FL_CURSOR_WAIT = 76,
+ FL_CURSOR_INSERT = 77,
+ FL_CURSOR_HAND = 31,
+ FL_CURSOR_HELP = 47,
+ FL_CURSOR_MOVE = 27,
+ // fltk provides bitmaps for these:
+ FL_CURSOR_NS = 78,
+ FL_CURSOR_WE = 79,
+ FL_CURSOR_NWSE = 80,
+ FL_CURSOR_NESW = 81,
+ FL_CURSOR_NONE = 255,
+ // for back compatability (non MSWindows ones):
+ FL_CURSOR_N = 70,
+ FL_CURSOR_NE = 69,
+ FL_CURSOR_E = 49,
+ FL_CURSOR_SE = 8,
+ FL_CURSOR_S = 9,
+ FL_CURSOR_SW = 7,
+ FL_CURSOR_W = 36,
+ FL_CURSOR_NW = 68
+ //FL_CURSOR_NS = 22,
+ //FL_CURSOR_WE = 55,
+};
+
+enum { // values for "when" passed to Fl::add_fd()
+ FL_READ = 1,
+ FL_WRITE = 4,
+ FL_EXCEPT = 8
+};
+
+enum Fl_Mode { // visual types and Fl_Gl_Window::mode() (values match Glut)
+ FL_RGB = 0,
+ FL_INDEX = 1,
+ FL_SINGLE = 0,
+ FL_DOUBLE = 2,
+ FL_ACCUM = 4,
+ FL_ALPHA = 8,
+ FL_DEPTH = 16,
+ FL_STENCIL = 32,
+ FL_RGB8 = 64,
+ FL_MULTISAMPLE= 128
+};
+
+// damage masks
+
+enum Fl_Damage {
+ FL_DAMAGE_CHILD = 0x01,
+ FL_DAMAGE_EXPOSE = 0x02,
+ FL_DAMAGE_SCROLL = 0x04,
+ FL_DAMAGE_OVERLAY = 0x08,
+ FL_DAMAGE_ALL = 0x80
+};
+
+#endif
+
+//
+// End of "$Id: Enumerations.H.in,v 1.1.2.1 2001/11/27 22:03:29 easysw Exp $".
+//
diff --git a/configure.in b/configure.in
index 55a8a653f..1a854f99c 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
dnl -*- sh -*-
dnl the "configure" script is made from this by running GNU "autoconf"
dnl
-dnl "$Id: configure.in,v 1.33.2.31.2.28 2001/11/27 17:48:16 easysw Exp $"
+dnl "$Id: configure.in,v 1.33.2.31.2.29 2001/11/27 22:03:29 easysw Exp $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
@@ -25,9 +25,34 @@ dnl
dnl Please report all bugs and problems to "fltk-bugs@fltk.org".
dnl
+dnl Required file in package...
AC_INIT(src/Fl.cxx)
+dnl FLTK library versions...
+FL_MAJOR_VERSION=1
+FL_MINOR_VERSION=1
+FL_PATCH_VERSION=0
+FL_RELEASE_VERSION=b6
+FL_API_VERSION=${FL_MAJOR_VERSION}.${FL_MINOR_VERSION}
+
+AC_SUBST(FL_MAJOR_VERSION)
+AC_SUBST(FL_MINOR_VERSION)
+AC_SUBST(FL_PATCH_VERSION)
+AC_SUBST(FL_RELEASE_VERSION)
+AC_SUBST(FL_API_VERSION)
+
+dnl How do we make libraries?
AC_PROG_RANLIB
+AC_PATH_PROG(AR, ar)
+
+if test "$RANLIB" != ":"; then
+ LIBCOMMAND="$AR cr"
+else
+ LIBCOMMAND="$AR crs"
+fi
+
+DSOCOMMAND="echo"
+DSONAME=""
LINKFLTK="-lfltk"
LINKFLTKGL="-lfltk_gl"
@@ -35,13 +60,6 @@ GLDEMOS="gldemos"
LIBNAME="../lib/libfltk.a"
GLLIBNAME="../lib/libfltk_gl.a"
-if test "$RANLIB" != ":"; then
- LIBCOMMAND="ar cr"
-else
- LIBCOMMAND="ar crs"
-fi
-DSOCOMMAND="echo"
-DSONAME=""
dnl Get the operating system and version number...
@@ -61,71 +79,74 @@ CXXFLAGS="${CXXFLAGS:=}"
case $uname in
CYGWIN*)
- AC_ARG_ENABLE(cygwin, [ --enable-cygwin use the CygWin libraries [default=yes]],,
- CPPFLAGS="$CPPFLAGS -mno-cygwin"
- CFLAGS="$CFLAGS -mno-cygwin"
- CXXFLAGS="$CXXFLAGS -mno-cygwin")
+ AC_ARG_ENABLE(cygwin, [ --enable-cygwin use the CygWin libraries [default=yes]],
+ [if test x$enable_cygwin = xno; then
+ CPPFLAGS="$CPPFLAGS -mno-cygwin"
+ CFLAGS="$CFLAGS -mno-cygwin"
+ CXXFLAGS="$CXXFLAGS -mno-cygwin"
+ fi])
;;
esac
-AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],[if eval "test x$enable_debug = xyes"; then
+AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],
+ [if eval "test x$enable_debug = xyes"; then
DEBUGFLAG="-g "
-fi])
+ fi])
AC_ARG_ENABLE(gl, [ --enable-gl turn on OpenGL support [default=yes]])
AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries [default=no]],[
-DSOLINK=""
-AC_SUBST(DSOLINK)
-if test x$enable_shared = xyes; then
- PICFLAG=1
- case $uname in
- SunOS* | UNIX_S*)
- DSONAME="libfltk.so.1.1"
- GLDSONAME="libfltk_gl.so.1.1"
- DSOCOMMAND="\$(CXX) -h \$@ \$(LDLIBS) -G $DEBUGFLAG -o"
- if test "$libdir" != "/usr/lib"; then
- DSOLINK="-R$libdir"
- fi
- ;;
- HP-UX*)
- DSONAME="libfltk.sl.1.1"
- GLDSONAME="libfltk_gl.sl.1.1"
- DSOCOMMAND="ld -b -z +h \$@ $DEBUGFLAG -o"
- if test "$libdir" != "/usr/lib"; then
- DSOLINK="-Wl,-rpath,$libdir"
- fi
- ;;
- IRIX* | OSF1*)
- DSONAME="libfltk.so.1.1"
- GLDSONAME="libfltk_gl.so.1.1"
- DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ \$(LDLIBS) -shared $DEBUGFLAG -o"
- if test "$libdir" != "/usr/lib" - a "$libdir" != "/usr/lib32"; then
- DSOLINK="-Wl,-rpath,$libdir"
- fi
- ;;
- FreeBSD* | NetBSD* | OpenBSD* | Linux*)
- DSONAME="libfltk.so.1.1"
- GLDSONAME="libfltk_gl.so.1.1"
- DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ \$(LDLIBS) -shared -fPIC $DEBUGFLAG -o"
- if test "$libdir" != "/usr/lib"; then
- DSOLINK="-Wl,-rpath,$libdir"
- fi
- ;;
- AIX*)
- DSONAME="libfltk_s.a"
- GLDSONAME="libfltk_gl_s.a"
- DSOCOMMAND="\$(CXX) -Wl,-bexpall,-bM:SRE,-bnoentry -o"
- ;;
- CYGWIN*)
- AC_MSG_WARN(Shared libraries are not supported under CygWin.)
- ;;
- *)
- AC_MSG_WARN(Shared libraries may not be supported. Trying -shared option with compiler.)
- DSONAME="libfltk.so.1.1"
- GLDSONAME="libfltk_gl.so.1.1"
- DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ \$(LDLIBS) -shared $DEBUGFLAG -o"
- ;;
- esac
-fi])
+ DSOLINK=""
+ AC_SUBST(DSOLINK)
+ if test x$enable_shared = xyes; then
+ PICFLAG=1
+ case $uname in
+ SunOS* | UNIX_S*)
+ DSONAME="libfltk.so.$FL_API_VERSION"
+ GLDSONAME="libfltk_gl.so.$FL_API_VERSION"
+ DSOCOMMAND="\$(CXX) -h \$@ \$(LDLIBS) -G $DEBUGFLAG -o"
+ if test "$libdir" != "/usr/lib"; then
+ DSOLINK="-R$libdir"
+ fi
+ ;;
+ HP-UX*)
+ DSONAME="libfltk.sl.$FL_API_VERSION"
+ GLDSONAME="libfltk_gl.sl.$FL_API_VERSION"
+ DSOCOMMAND="ld -b -z +h \$@ $DEBUGFLAG -o"
+ if test "$libdir" != "/usr/lib"; then
+ DSOLINK="-Wl,-rpath,$libdir"
+ fi
+ ;;
+ IRIX* | OSF1*)
+ DSONAME="libfltk.so.$FL_API_VERSION"
+ GLDSONAME="libfltk_gl.so.$FL_API_VERSION"
+ DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ \$(LDLIBS) -shared $DEBUGFLAG -o"
+ if test "$libdir" != "/usr/lib" - a "$libdir" != "/usr/lib32"; then
+ DSOLINK="-Wl,-rpath,$libdir"
+ fi
+ ;;
+ FreeBSD* | NetBSD* | OpenBSD* | Linux*)
+ DSONAME="libfltk.so.$FL_API_VERSION"
+ GLDSONAME="libfltk_gl.so.$FL_API_VERSION"
+ DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ \$(LDLIBS) -shared -fPIC $DEBUGFLAG -o"
+ if test "$libdir" != "/usr/lib"; then
+ DSOLINK="-Wl,-rpath,$libdir"
+ fi
+ ;;
+ AIX*)
+ DSONAME="libfltk_s.a"
+ GLDSONAME="libfltk_gl_s.a"
+ DSOCOMMAND="\$(CXX) -Wl,-bexpall,-bM:SRE,-bnoentry -o"
+ ;;
+ CYGWIN*)
+ AC_MSG_WARN(Shared libraries are not supported under CygWin.)
+ ;;
+ *)
+ AC_MSG_WARN(Shared libraries may not be supported. Trying -shared option with compiler.)
+ DSONAME="libfltk.so.$FL_API_VERSION"
+ GLDSONAME="libfltk_gl.so.$FL_API_VERSION"
+ DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ \$(LDLIBS) -shared $DEBUGFLAG -o"
+ ;;
+ esac
+ fi])
AC_PROG_CC
AC_PROG_CXX
@@ -186,7 +207,7 @@ AC_CHECK_FUNC(snprintf,
AC_DEFINE(HAVE_SNPRINTF)
fi)
AC_CHECK_FUNCS(vsprintf)
-AC_CHECK_HEADER(strings.h,AC_DEFINE(HAVE_STRINGS_H))
+AC_CHECK_HEADER(strings.h, AC_DEFINE(HAVE_STRINGS_H))
AC_CHECK_FUNCS(strcasecmp)
dnl FLTK library uses math library functions...
@@ -357,29 +378,29 @@ AC_SUBST(CAT3EXT)
dnl Fix "mandir" variable...
if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/usr"; then
- case "$uname" in
- *BSD* | Darwin* | Linux*)
- # *BSD, Darwin, and Linux
- mandir="\${prefix}/share/man"
- ;;
- IRIX*)
- # SGI IRIX
- mandir="\${prefix}/share/catman"
- ;;
- esac
+ case "$uname" in
+ *BSD* | Darwin* | Linux*)
+ # *BSD, Darwin, and Linux
+ mandir="\${prefix}/share/man"
+ ;;
+ IRIX*)
+ # SGI IRIX
+ mandir="\${prefix}/share/catman"
+ ;;
+ esac
fi
dnl Fix "libdir" variable...
if test "$prefix" = NONE; then
- prefix=/usr/local
+ prefix=/usr/local
fi
if test "$exec_prefix" = NONE; then
- exec_prefix="$prefix"
+ exec_prefix="$prefix"
fi
if test "$uname" = "IRIX" -a $uversion -ge 62 -a "$libdir" = "\${exec_prefix}/lib" -a "$exec_prefix" = "/usr"; then
- libdir="/usr/lib32"
+ libdir="/usr/lib32"
fi
dnl Add warnings to compiler switches:
@@ -423,6 +444,11 @@ if test -n "$GXX"; then
# They all seem to make either no difference or enlarge
# the code by a few hundred bytes.
#
+ # "-O2" seems to be the best compromise between speed and
+ # code size. "-O3" and higher seem to make no effective
+ # different in the speed of the code, but does bloat the
+ # library 10+%.
+ #
CFLAGS="-O2 $CFLAGS"
CXXFLAGS="-O2 $CXXFLAGS"
fi
@@ -531,16 +557,16 @@ AC_SUBST(LINKFLTK)
AC_SUBST(MAKEDEPEND)
if test x$prefix = xNONE; then
- AC_DEFINE_UNQUOTED(FLTK_DOCDIR, "/usr/local/share/doc/fltk")
+ AC_DEFINE_UNQUOTED(FLTK_DOCDIR, "/usr/local/share/doc/fltk")
else
- AC_DEFINE_UNQUOTED(FLTK_DOCDIR, "$prefix/share/doc/fltk")
+ AC_DEFINE_UNQUOTED(FLTK_DOCDIR, "$prefix/share/doc/fltk")
fi
AC_CONFIG_HEADER(config.h:configh.in)
-AC_OUTPUT(makeinclude fltk-config FL/Makefile)
+AC_OUTPUT(makeinclude fltk.list fltk-config FL/Makefile FL/Enumerations.H)
chmod +x fltk-config
dnl
-dnl End of "$Id: configure.in,v 1.33.2.31.2.28 2001/11/27 17:48:16 easysw Exp $".
+dnl End of "$Id: configure.in,v 1.33.2.31.2.29 2001/11/27 22:03:29 easysw Exp $".
dnl
diff --git a/fltk-config.in b/fltk-config.in
index 7ba4b9d1b..784d74e0f 100755
--- a/fltk-config.in
+++ b/fltk-config.in
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# "$Id: fltk-config.in,v 1.12.2.3 2001/11/18 12:48:38 easysw Exp $"
+# "$Id: fltk-config.in,v 1.12.2.4 2001/11/27 22:03:29 easysw Exp $"
#
# FLTK configuration utility.
#
@@ -25,9 +25,9 @@
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
-MAJOR_VERSION=1
-MINOR_VERSION=1
-PATCH_VERSION=0
+MAJOR_VERSION=@FL_MAJOR_VERSION@
+MINOR_VERSION=@FL_MINOR_VERSION@
+PATCH_VERSION=@FL_PATCH_VERSION@
VERSION="$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION"
APIVERSION="$MAJOR_VERSION.$MINOR_VERSION"
@@ -68,18 +68,21 @@ Options:
[--version]
[--api-version]
-options telling what we are doing :
+Options telling what we are doing:
[--use-gl] use GL
[--use-images] use extra image formats (PNG, JPEG)
[--use-glut] use glut compatibility layer
-options telling what information we request
+Options telling what information we request:
[--cflags] return flags to compile C using FLTK
[--cxxflags] return flags to compile C++ using FLTK
[--ldflags] return flags to link against FLTK
[--ldstaticflags] return flags to link against static FLTK library
even if there are DSOs installed
[--libs] return FLTK libraries full path for dependencies
+
+Option to compile and link an application:
+ [--compile program.cxx]
"
exit $1
}
@@ -88,6 +91,7 @@ if test $# -eq 0; then usage 1
fi
no_plugins=no
+compile=
# Parse command line options
while test $# -gt 0
@@ -141,6 +145,10 @@ do
--libs)
echo_libs=yes
;;
+ --compile)
+ compile=$2
+ shift
+ ;;
*)
echo_help=yes
;;
@@ -182,6 +190,12 @@ LDSTATIC="$LDSTATIC -lm"
if test -n "$echo_help"; then usage 1
fi
+if test -n "$compile"; then
+ prog=`basename $compile`
+
+ $CXX $CXXFLAGS -o $prog $compile $LDSTATIC
+fi
+
if test "$echo_prefix" = "yes"; then
echo $prefix
fi
diff --git a/fltk.list b/fltk.list
deleted file mode 100644
index e773117dc..000000000
--- a/fltk.list
+++ /dev/null
@@ -1,193 +0,0 @@
-#
-# "$Id: fltk.list,v 1.1.2.6.2.6 2001/10/29 14:54:52 easysw Exp $"
-#
-# EPM product list file for the Fast Light Tool Kit (FLTK).
-#
-# (EPM can be found at http://www.easysw.com/epm)
-#
-# Copyright 1998-2001 by Bill Spitzak and others.
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Library General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Library General Public License for more details.
-#
-# You should have received a copy of the GNU Library General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-# USA.
-#
-# Please report all bugs and problems to "fltk-bugs@fltk.org".
-#
-
-%product Fast Light Tool Kit (FLTK)
-%copyright 1998-2001 by Bill Spitzak and others.
-%vendor LGPL
-%license COPYING
-%readme README
-%version 1.1.0b5
-%description FLTK is a cross-platform GUI toolkit for C++.
-
-# FLUID
-f 0555 root sys /usr/bin/fluid fluid/fluid
-f 0555 root sys /usr/bin/fltk-config fltk-config
-
-# Man pages
-%system irix
-f 0444 root sys /usr/catman/p_man/cat1/fluid.z documentation/fluid.z
-f 0444 root sys /usr/catman/p_man/cat3/fltk.z documentation/fltk.z
-%system !irix
-f 0444 root sys /usr/man/man1/fluid.1 documentation/fluid.man
-f 0444 root sys /usr/man/man3/fltk.3 documentation/fltk.man
-%system all
-
-# Library files
-%system irix-6.5
-f 0444 root sys /usr/lib32/libfltk.a lib/libfltk.a
-f 0555 root sys /usr/lib32/libfltk.so.1.1 src/libfltk.so.1.1
-l 0000 root sys /usr/lib32/libfltk.so libfltk.so.1.1
-f 0444 root sys /usr/lib32/libfltk_gl.a lib/libfltk_gl.a
-f 0555 root sys /usr/lib32/libfltk_gl.so.1.1 src/libfltk_gl.so.1.1
-l 0000 root sys /usr/lib32/libfltk_gl.so libfltk_gl.so.1.1
-%system hpux
-f 0444 root sys /usr/lib32/libfltk.a lib/libfltk.a
-f 0555 root sys /usr/lib32/libfltk.sl.1.1 src/libfltk.sl.1.1
-l 0000 root sys /usr/lib32/libfltk.sl libfltk.sl.1.1
-f 0444 root sys /usr/lib32/libfltk_gl.a lib/libfltk_gl.a
-f 0555 root sys /usr/lib32/libfltk_gl.sl.1.1 src/libfltk_gl.sl.1.1
-l 0000 root sys /usr/lib32/libfltk_gl.sl libfltk_gl.sl.1.1
-%system aix
-f 0444 root sys /usr/lib32/libfltk.a lib/libfltk.a
-f 0555 root sys /usr/lib32/libfltk_s.a src/libfltk_s.a
-f 0444 root sys /usr/lib32/libfltk_gl.a lib/libfltk_gl.a
-f 0555 root sys /usr/lib32/libfltk_gl_s.a src/libfltk_gl_s.a
-%system !irix-6.5 !hpux !aix
-f 0444 root sys /usr/lib/libfltk.a lib/libfltk.a
-f 0555 root sys /usr/lib/libfltk.so.1.1 src/libfltk.so.1.1
-l 0000 root sys /usr/lib/libfltk.so libfltk.so.1.1
-f 0444 root sys /usr/lib/libfltk_gl.a lib/libfltk_gl.a
-f 0555 root sys /usr/lib/libfltk_gl.so.1.1 src/libfltk_gl.so.1.1
-l 0000 root sys /usr/lib/libfltk_gl.so libfltk_gl.so.1.1
-%system all
-
-# Header files
-f 0444 root sys /usr/include/FL/ FL/*.H
-
-# Symlinks to handle common case problems...
-l 0000 root sys /usr/include/Fl FL
-l 0000 root sys /usr/include/FL/Enumerations.h Enumerations.H
-l 0000 root sys /usr/include/FL/Fl.h Fl.H
-l 0000 root sys /usr/include/FL/Fl_Adjuster.h Fl_Adjuster.H
-l 0000 root sys /usr/include/FL/Fl_Bitmap.h Fl_Bitmap.H
-l 0000 root sys /usr/include/FL/Fl_Box.h Fl_Box.H
-l 0000 root sys /usr/include/FL/Fl_Browser.h Fl_Browser.H
-l 0000 root sys /usr/include/FL/Fl_Browser_.h Fl_Browser_.H
-l 0000 root sys /usr/include/FL/Fl_Button.h Fl_Button.H
-l 0000 root sys /usr/include/FL/Fl_Chart.h Fl_Chart.H
-l 0000 root sys /usr/include/FL/Fl_Check_Browser.h Fl_Check_Browser.H
-l 0000 root sys /usr/include/FL/Fl_Check_Button.h Fl_Check_Button.H
-l 0000 root sys /usr/include/FL/Fl_Choice.h Fl_Choice.H
-l 0000 root sys /usr/include/FL/Fl_Clock.h Fl_Clock.H
-l 0000 root sys /usr/include/FL/Fl_Color_Chooser.h Fl_Color_Chooser.H
-l 0000 root sys /usr/include/FL/Fl_Counter.h Fl_Counter.H
-l 0000 root sys /usr/include/FL/Fl_Dial.h Fl_Dial.H
-l 0000 root sys /usr/include/FL/Fl_Double_Window.h Fl_Double_Window.H
-l 0000 root sys /usr/include/FL/Fl_File_Browser.h Fl_File_Browser.H
-l 0000 root sys /usr/include/FL/Fl_File_Chooser.h Fl_File_Chooser.H
-l 0000 root sys /usr/include/FL/Fl_File_Icon.h Fl_File_Icon.H
-l 0000 root sys /usr/include/FL/Fl_Fill_Dial.h Fl_Fill_Dial.H
-l 0000 root sys /usr/include/FL/Fl_Fill_Slider.h Fl_Fill_Slider.H
-l 0000 root sys /usr/include/FL/Fl_Float_Input.h Fl_Float_Input.H
-l 0000 root sys /usr/include/FL/Fl_FormsBitmap.h Fl_FormsBitmap.H
-l 0000 root sys /usr/include/FL/Fl_FormsPixmap.h Fl_FormsPixmap.H
-l 0000 root sys /usr/include/FL/Fl_Free.h Fl_Free.H
-l 0000 root sys /usr/include/FL/Fl_Gl_Window.h Fl_Gl_Window.H
-l 0000 root sys /usr/include/FL/Fl_Group.h Fl_Group.H
-l 0000 root sys /usr/include/FL/Fl_Help_Dialog.h Fl_Help_Dialog.H
-l 0000 root sys /usr/include/FL/Fl_Help_View.h Fl_Help_View.H
-l 0000 root sys /usr/include/FL/Fl_Hold_Browser.h Fl_Hold_Browser.H
-l 0000 root sys /usr/include/FL/Fl_Hor_Fill_Slider.h Fl_Hor_Fill_Slider.H
-l 0000 root sys /usr/include/FL/Fl_Hor_Nice_Slider.h Fl_Hor_Nice_Slider.H
-l 0000 root sys /usr/include/FL/Fl_Hor_Slider.h Fl_Hor_Slider.H
-l 0000 root sys /usr/include/FL/Fl_Hor_Value_Slider.h Fl_Hor_Value_Slider.H
-l 0000 root sys /usr/include/FL/Fl_Image.h Fl_Image.H
-l 0000 root sys /usr/include/FL/Fl_Input.h Fl_Input.H
-l 0000 root sys /usr/include/FL/Fl_Input_.h Fl_Input_.H
-l 0000 root sys /usr/include/FL/Fl_Int_Input.h Fl_Int_Input.H
-l 0000 root sys /usr/include/FL/Fl_Light_Button.h Fl_Light_Button.H
-l 0000 root sys /usr/include/FL/Fl_Line_Dial.h Fl_Line_Dial.H
-l 0000 root sys /usr/include/FL/Fl_Menu.h Fl_Menu.H
-l 0000 root sys /usr/include/FL/Fl_Menu_.h Fl_Menu_.H
-l 0000 root sys /usr/include/FL/Fl_Menu_Bar.h Fl_Menu_Bar.H
-l 0000 root sys /usr/include/FL/Fl_Menu_Button.h Fl_Menu_Button.H
-l 0000 root sys /usr/include/FL/Fl_Menu_Item.h Fl_Menu_Item.H
-l 0000 root sys /usr/include/FL/Fl_Menu_Window.h Fl_Menu_Window.H
-l 0000 root sys /usr/include/FL/Fl_Multi_Browser.h Fl_Multi_Browser.H
-l 0000 root sys /usr/include/FL/Fl_Multi_Label.h Fl_Multi_Label.H
-l 0000 root sys /usr/include/FL/Fl_Multiline_Input.h Fl_Multiline_Input.H
-l 0000 root sys /usr/include/FL/Fl_Multiline_Output.h Fl_Multiline_Output.H
-l 0000 root sys /usr/include/FL/Fl_Nice_Slider.h Fl_Nice_Slider.H
-l 0000 root sys /usr/include/FL/Fl_Object.h Fl_Object.H
-l 0000 root sys /usr/include/FL/Fl_Output.h Fl_Output.H
-l 0000 root sys /usr/include/FL/Fl_Overlay_Window.h Fl_Overlay_Window.H
-l 0000 root sys /usr/include/FL/Fl_Pack.h Fl_Pack.H
-l 0000 root sys /usr/include/FL/Fl_Pixmap.h Fl_Pixmap.H
-l 0000 root sys /usr/include/FL/Fl_Positioner.h Fl_Positioner.H
-l 0000 root sys /usr/include/FL/Fl_Progress.h Fl_Progress.H
-l 0000 root sys /usr/include/FL/Fl_Radio_Button.h Fl_Radio_Button.H
-l 0000 root sys /usr/include/FL/Fl_Radio_Light_Button.h Fl_Radio_Light_Button.H
-l 0000 root sys /usr/include/FL/Fl_Radio_Round_Button.h Fl_Radio_Round_Button.H
-l 0000 root sys /usr/include/FL/Fl_Repeat_Button.h Fl_Repeat_Button.H
-l 0000 root sys /usr/include/FL/Fl_Return_Button.h Fl_Return_Button.H
-l 0000 root sys /usr/include/FL/Fl_Roller.h Fl_Roller.H
-l 0000 root sys /usr/include/FL/Fl_Round_Button.h Fl_Round_Button.H
-l 0000 root sys /usr/include/FL/Fl_Round_Clock.h Fl_Round_Clock.H
-l 0000 root sys /usr/include/FL/Fl_Scroll.h Fl_Scroll.H
-l 0000 root sys /usr/include/FL/Fl_Scrollbar.h Fl_Scrollbar.H
-l 0000 root sys /usr/include/FL/Fl_Secret_Input.h Fl_Secret_Input.H
-l 0000 root sys /usr/include/FL/Fl_Select_Browser.h Fl_Select_Browser.H
-l 0000 root sys /usr/include/FL/Fl_Simple_Counter.h Fl_Simple_Counter.H
-l 0000 root sys /usr/include/FL/Fl_Single_Window.h Fl_Single_Window.H
-l 0000 root sys /usr/include/FL/Fl_Slider.h Fl_Slider.H
-l 0000 root sys /usr/include/FL/Fl_Tabs.h Fl_Tabs.H
-l 0000 root sys /usr/include/FL/Fl_Tile.h Fl_Tile.H
-l 0000 root sys /usr/include/FL/Fl_Timer.h Fl_Timer.H
-l 0000 root sys /usr/include/FL/Fl_Toggle_Button.h Fl_Toggle_Button.H
-l 0000 root sys /usr/include/FL/Fl_Toggle_Light_Button.h Fl_Toggle_Light_Button.H
-l 0000 root sys /usr/include/FL/Fl_Toggle_Round_Button.h Fl_Toggle_Round_Button.H
-l 0000 root sys /usr/include/FL/Fl_Tooltip.h Fl_Tooltip.H
-l 0000 root sys /usr/include/FL/Fl_Valuator.h Fl_Valuator.H
-l 0000 root sys /usr/include/FL/Fl_Value_Input.h Fl_Value_Input.H
-l 0000 root sys /usr/include/FL/Fl_Value_Output.h Fl_Value_Output.H
-l 0000 root sys /usr/include/FL/Fl_Value_Slider.h Fl_Value_Slider.H
-l 0000 root sys /usr/include/FL/Fl_Widget.h Fl_Widget.H
-l 0000 root sys /usr/include/FL/Fl_Window.h Fl_Window.H
-l 0000 root sys /usr/include/FL/filename.h filename.H
-l 0000 root sys /usr/include/FL/fl_ask.h fl_ask.H
-l 0000 root sys /usr/include/FL/fl_draw.h fl_draw.H
-l 0000 root sys /usr/include/FL/fl_file_chooser.h Fl_File_Chooser.H
-l 0000 root sys /usr/include/FL/fl_file_chooser.H Fl_File_Chooser.H
-l 0000 root sys /usr/include/FL/fl_message.h fl_message.H
-l 0000 root sys /usr/include/FL/fl_show_colormap.h fl_show_colormap.H
-l 0000 root sys /usr/include/FL/fl_show_input.h fl_show_input.H
-l 0000 root sys /usr/include/FL/forms.h forms.H
-l 0000 root sys /usr/include/FL/gl_draw.h gl_draw.H
-l 0000 root sys /usr/include/FL/glut.h glut.H
-l 0000 root sys /usr/include/FL/win32.h win32.H
-l 0000 root sys /usr/include/FL/x.h x.H
-
-# Documentation
-f 0444 root sys /usr/share/doc/fltk/ documentation/*.gif
-f 0444 root sys /usr/share/doc/fltk/ documentation/*.html
-f 0444 root sys /usr/share/doc/fltk/ documentation/*.jpg
-f 0444 root sys /usr/share/doc/fltk/COPYING COPYING
-f 0444 root sys /usr/share/doc/fltk/CHANGES CHANGES
-
-#
-# End of "$Id: fltk.list,v 1.1.2.6.2.6 2001/10/29 14:54:52 easysw Exp $".
-#
diff --git a/fltk.list.in b/fltk.list.in
new file mode 100644
index 000000000..55befb2f1
--- /dev/null
+++ b/fltk.list.in
@@ -0,0 +1,202 @@
+#
+# "$Id: fltk.list.in,v 1.1.2.1 2001/11/27 22:03:29 easysw Exp $"
+#
+# EPM product list file for the Fast Light Tool Kit (FLTK).
+#
+# (EPM can be found at http://www.easysw.com/epm/)
+#
+# Copyright 1998-2001 by Bill Spitzak and others.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Library General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Library General Public License for more details.
+#
+# You should have received a copy of the GNU Library General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA.
+#
+# Please report all bugs and problems to "fltk-bugs@fltk.org".
+#
+
+%product Fast Light Tool Kit (FLTK)
+%copyright 1998-2001 by Bill Spitzak and others.
+%vendor FLTK Development Team
+%license COPYING
+%readme README
+%version @FL_MAJOR_VERSION@.@FL_MINOR_VERSION@.@FL_PATCH_VERSION@@FL_RELEASE_VERSION@
+%description FLTK is a cross-platform GUI toolkit for C++.
+
+$prefix=@prefix@
+$exec_prefix=@exec_prefix@
+$bindir=@bindir@
+$datadir=@datadir@
+$includedir=@includedir@
+$libdir=@libdir@
+$mandir=@mandir@
+
+$CAT1EXT=@CAT1EXT@
+$CAT3EXT=@CAT3EXT@
+
+# FLUID
+f 0555 root sys $bindir/fluid fluid/fluid
+f 0555 root sys $bindir/fltk-config fltk-config
+
+# Man pages
+f 0444 root sys $mandir/cat1/fluid.$CAT1EXT documentation/fluid.$CAT3EXT
+f 0444 root sys $mandir/cat3/fltk.$CAT3EXT documentation/fltk.$CAT3EXT
+f 0444 root sys $mandir/man1/fluid.1 documentation/fluid.man
+f 0444 root sys $mandir/man3/fltk.3 documentation/fltk.man
+
+# Library files
+f 0444 root sys $libdir/libfltk.a lib/libfltk.a
+f 0444 root sys $libdir/libfltk_gl.a lib/libfltk_gl.a
+
+%system aix
+f 0555 root sys $libdir/libfltk_s.a src/libfltk_s.a
+f 0555 root sys $libdir/libfltk_gl_s.a src/libfltk_gl_s.a
+%system hpux
+f 0555 root sys $libdir/libfltk.sl.@FL_API_VERSION@ src/libfltk.sl.@FL_API_VERSION@
+l 0000 root sys $libdir/libfltk.sl libfltk.sl.@FL_API_VERSION@
+f 0555 root sys $libdir/libfltk_gl.sl.@FL_API_VERSION@ src/libfltk_gl.sl.@FL_API_VERSION@
+l 0000 root sys $libdir/libfltk_gl.sl libfltk_gl.sl.@FL_API_VERSION@
+%system darwin freebsd openbsd netbsd
+f 0555 root sys $libdir/libfltk.dylib.@FL_API_VERSION@ src/libfltk.dylib.@FL_API_VERSION@
+l 0000 root sys $libdir/libfltk.dylib libfltk.dylib.@FL_API_VERSION@
+f 0555 root sys $libdir/libfltk_gl.dylib.@FL_API_VERSION@ src/libfltk_gl.dylib.@FL_API_VERSION@
+l 0000 root sys $libdir/libfltk_gl.dylib libfltk_gl.dylib.@FL_API_VERSION@
+%system !aix !darwin !freebsd !openbsd !netbsd !hpux
+f 0555 root sys $libdir/libfltk.so.@FL_API_VERSION@ src/libfltk.so.@FL_API_VERSION@
+l 0000 root sys $libdir/libfltk.so libfltk.so.@FL_API_VERSION@
+f 0555 root sys $libdir/libfltk_gl.so.@FL_API_VERSION@ src/libfltk_gl.so.@FL_API_VERSION@
+l 0000 root sys $libdir/libfltk_gl.so libfltk_gl.so.@FL_API_VERSION@
+%system all
+
+# Header files
+f 0444 root sys $includedir/FL/ FL/*.[hH]
+
+# Symlinks to handle common case problems...
+l 0000 root sys $includedir/Fl FL
+l 0000 root sys $includedir/FL/Enumerations.h Enumerations.H
+l 0000 root sys $includedir/FL/Fl.h Fl.H
+l 0000 root sys $includedir/FL/Fl_Adjuster.h Fl_Adjuster.H
+l 0000 root sys $includedir/FL/Fl_Bitmap.h Fl_Bitmap.H
+l 0000 root sys $includedir/FL/Fl_Box.h Fl_Box.H
+l 0000 root sys $includedir/FL/Fl_Browser.h Fl_Browser.H
+l 0000 root sys $includedir/FL/Fl_Browser_.h Fl_Browser_.H
+l 0000 root sys $includedir/FL/Fl_Button.h Fl_Button.H
+l 0000 root sys $includedir/FL/Fl_Chart.h Fl_Chart.H
+l 0000 root sys $includedir/FL/Fl_Check_Browser.h Fl_Check_Browser.H
+l 0000 root sys $includedir/FL/Fl_Check_Button.h Fl_Check_Button.H
+l 0000 root sys $includedir/FL/Fl_Choice.h Fl_Choice.H
+l 0000 root sys $includedir/FL/Fl_Clock.h Fl_Clock.H
+l 0000 root sys $includedir/FL/Fl_Color_Chooser.h Fl_Color_Chooser.H
+l 0000 root sys $includedir/FL/Fl_Counter.h Fl_Counter.H
+l 0000 root sys $includedir/FL/Fl_Dial.h Fl_Dial.H
+l 0000 root sys $includedir/FL/Fl_Double_Window.h Fl_Double_Window.H
+l 0000 root sys $includedir/FL/Fl_File_Browser.h Fl_File_Browser.H
+l 0000 root sys $includedir/FL/Fl_File_Chooser.h Fl_File_Chooser.H
+l 0000 root sys $includedir/FL/Fl_File_Icon.h Fl_File_Icon.H
+l 0000 root sys $includedir/FL/Fl_Fill_Dial.h Fl_Fill_Dial.H
+l 0000 root sys $includedir/FL/Fl_Fill_Slider.h Fl_Fill_Slider.H
+l 0000 root sys $includedir/FL/Fl_Float_Input.h Fl_Float_Input.H
+l 0000 root sys $includedir/FL/Fl_FormsBitmap.h Fl_FormsBitmap.H
+l 0000 root sys $includedir/FL/Fl_FormsPixmap.h Fl_FormsPixmap.H
+l 0000 root sys $includedir/FL/Fl_Free.h Fl_Free.H
+l 0000 root sys $includedir/FL/Fl_GIF_Image.h Fl_GIF_Image.H
+l 0000 root sys $includedir/FL/Fl_Gl_Window.h Fl_Gl_Window.H
+l 0000 root sys $includedir/FL/Fl_Group.h Fl_Group.H
+l 0000 root sys $includedir/FL/Fl_Help_Dialog.h Fl_Help_Dialog.H
+l 0000 root sys $includedir/FL/Fl_Help_View.h Fl_Help_View.H
+l 0000 root sys $includedir/FL/Fl_Hold_Browser.h Fl_Hold_Browser.H
+l 0000 root sys $includedir/FL/Fl_Hor_Fill_Slider.h Fl_Hor_Fill_Slider.H
+l 0000 root sys $includedir/FL/Fl_Hor_Nice_Slider.h Fl_Hor_Nice_Slider.H
+l 0000 root sys $includedir/FL/Fl_Hor_Slider.h Fl_Hor_Slider.H
+l 0000 root sys $includedir/FL/Fl_Hor_Value_Slider.h Fl_Hor_Value_Slider.H
+l 0000 root sys $includedir/FL/Fl_Image.h Fl_Image.H
+l 0000 root sys $includedir/FL/Fl_JPEG_Image.h Fl_JPEG_Image.H
+l 0000 root sys $includedir/FL/Fl_Input.h Fl_Input.H
+l 0000 root sys $includedir/FL/Fl_Input_.h Fl_Input_.H
+l 0000 root sys $includedir/FL/Fl_Int_Input.h Fl_Int_Input.H
+l 0000 root sys $includedir/FL/Fl_Light_Button.h Fl_Light_Button.H
+l 0000 root sys $includedir/FL/Fl_Line_Dial.h Fl_Line_Dial.H
+l 0000 root sys $includedir/FL/Fl_Menu.h Fl_Menu.H
+l 0000 root sys $includedir/FL/Fl_Menu_.h Fl_Menu_.H
+l 0000 root sys $includedir/FL/Fl_Menu_Bar.h Fl_Menu_Bar.H
+l 0000 root sys $includedir/FL/Fl_Menu_Button.h Fl_Menu_Button.H
+l 0000 root sys $includedir/FL/Fl_Menu_Item.h Fl_Menu_Item.H
+l 0000 root sys $includedir/FL/Fl_Menu_Window.h Fl_Menu_Window.H
+l 0000 root sys $includedir/FL/Fl_Multi_Browser.h Fl_Multi_Browser.H
+l 0000 root sys $includedir/FL/Fl_Multi_Label.h Fl_Multi_Label.H
+l 0000 root sys $includedir/FL/Fl_Multiline_Input.h Fl_Multiline_Input.H
+l 0000 root sys $includedir/FL/Fl_Multiline_Output.h Fl_Multiline_Output.H
+l 0000 root sys $includedir/FL/Fl_Nice_Slider.h Fl_Nice_Slider.H
+l 0000 root sys $includedir/FL/Fl_Object.h Fl_Object.H
+l 0000 root sys $includedir/FL/Fl_Output.h Fl_Output.H
+l 0000 root sys $includedir/FL/Fl_Overlay_Window.h Fl_Overlay_Window.H
+l 0000 root sys $includedir/FL/Fl_Pack.h Fl_Pack.H
+l 0000 root sys $includedir/FL/Fl_Pixmap.h Fl_Pixmap.H
+l 0000 root sys $includedir/FL/Fl_PNG_Image.h Fl_PNG_Image.H
+l 0000 root sys $includedir/FL/Fl_PNM_Image.h Fl_PNM_Image.H
+l 0000 root sys $includedir/FL/Fl_Positioner.h Fl_Positioner.H
+l 0000 root sys $includedir/FL/Fl_Progress.h Fl_Progress.H
+l 0000 root sys $includedir/FL/Fl_Radio_Button.h Fl_Radio_Button.H
+l 0000 root sys $includedir/FL/Fl_Radio_Light_Button.h Fl_Radio_Light_Button.H
+l 0000 root sys $includedir/FL/Fl_Radio_Round_Button.h Fl_Radio_Round_Button.H
+l 0000 root sys $includedir/FL/Fl_Repeat_Button.h Fl_Repeat_Button.H
+l 0000 root sys $includedir/FL/Fl_Return_Button.h Fl_Return_Button.H
+l 0000 root sys $includedir/FL/Fl_Roller.h Fl_Roller.H
+l 0000 root sys $includedir/FL/Fl_Round_Button.h Fl_Round_Button.H
+l 0000 root sys $includedir/FL/Fl_Round_Clock.h Fl_Round_Clock.H
+l 0000 root sys $includedir/FL/Fl_Scroll.h Fl_Scroll.H
+l 0000 root sys $includedir/FL/Fl_Scrollbar.h Fl_Scrollbar.H
+l 0000 root sys $includedir/FL/Fl_Secret_Input.h Fl_Secret_Input.H
+l 0000 root sys $includedir/FL/Fl_Select_Browser.h Fl_Select_Browser.H
+l 0000 root sys $includedir/FL/Fl_Simple_Counter.h Fl_Simple_Counter.H
+l 0000 root sys $includedir/FL/Fl_Single_Window.h Fl_Single_Window.H
+l 0000 root sys $includedir/FL/Fl_Slider.h Fl_Slider.H
+l 0000 root sys $includedir/FL/Fl_Tabs.h Fl_Tabs.H
+l 0000 root sys $includedir/FL/Fl_Tile.h Fl_Tile.H
+l 0000 root sys $includedir/FL/Fl_Timer.h Fl_Timer.H
+l 0000 root sys $includedir/FL/Fl_Toggle_Button.h Fl_Toggle_Button.H
+l 0000 root sys $includedir/FL/Fl_Toggle_Light_Button.h Fl_Toggle_Light_Button.H
+l 0000 root sys $includedir/FL/Fl_Toggle_Round_Button.h Fl_Toggle_Round_Button.H
+l 0000 root sys $includedir/FL/Fl_Tooltip.h Fl_Tooltip.H
+l 0000 root sys $includedir/FL/Fl_Valuator.h Fl_Valuator.H
+l 0000 root sys $includedir/FL/Fl_Value_Input.h Fl_Value_Input.H
+l 0000 root sys $includedir/FL/Fl_Value_Output.h Fl_Value_Output.H
+l 0000 root sys $includedir/FL/Fl_Value_Slider.h Fl_Value_Slider.H
+l 0000 root sys $includedir/FL/Fl_Widget.h Fl_Widget.H
+l 0000 root sys $includedir/FL/Fl_Window.h Fl_Window.H
+l 0000 root sys $includedir/FL/Fl_XBM_Image.h Fl_XBM_Image.H
+l 0000 root sys $includedir/FL/Fl_XPM_Image.h Fl_XPM_Image.H
+l 0000 root sys $includedir/FL/filename.h filename.H
+l 0000 root sys $includedir/FL/fl_ask.h fl_ask.H
+l 0000 root sys $includedir/FL/fl_draw.h fl_draw.H
+l 0000 root sys $includedir/FL/fl_file_chooser.h Fl_File_Chooser.H
+l 0000 root sys $includedir/FL/fl_file_chooser.H Fl_File_Chooser.H
+l 0000 root sys $includedir/FL/fl_message.h fl_message.H
+l 0000 root sys $includedir/FL/fl_show_colormap.h fl_show_colormap.H
+l 0000 root sys $includedir/FL/fl_show_input.h fl_show_input.H
+l 0000 root sys $includedir/FL/forms.h forms.H
+l 0000 root sys $includedir/FL/gl_draw.h gl_draw.H
+l 0000 root sys $includedir/FL/glut.h glut.H
+l 0000 root sys $includedir/FL/win32.h win32.H
+l 0000 root sys $includedir/FL/x.h x.H
+
+# Documentation
+f 0444 root sys $datadir/doc/fltk/ documentation/*.gif
+f 0444 root sys $datadir/doc/fltk/ documentation/*.html
+f 0444 root sys $datadir/doc/fltk/ documentation/*.jpg
+f 0444 root sys $datadir/doc/fltk/COPYING COPYING
+f 0444 root sys $datadir/doc/fltk/CHANGES CHANGES
+
+#
+# End of "$Id: fltk.list.in,v 1.1.2.1 2001/11/27 22:03:29 easysw Exp $".
+#