From a5778a1864570ae097099363377f2b3b05c17737 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 25 Mar 1999 15:26:44 +0000 Subject: Updated README and distribution packages to use v1.0.1. Updated makefiles and makeincludes to use DSONAME and GLDLIBS. Updated configure.in to use DSONAME instead of LIBNAME. Updated editor example code in documentation. Added ANSI C++ changes to make things compile with the latest EGCS compiler. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- README | 5 ++-- configure.in | 29 ++++++++++----------- documentation/editor.html | 34 ++++++++++++------------- documentation/index.html | 4 +-- documentation/preface.html | 4 +-- fluid/Makefile | 17 +++++++------ makefiles/makeinclude.cygnus | 9 ++++--- makefiles/makeinclude.mingw32 | 9 ++++--- makeinclude.in | 8 +++--- packages/dunix/fltk.key | 8 +++--- packages/dunix/makedist.sh | 16 ++++++------ packages/hpux/fltk.info | 14 +++++----- packages/hpux/makedist.sh | 7 ++--- packages/irix/fltk.list | 2 +- packages/irix/fltk.spec | 16 ++++++------ packages/irix/fltk5x.list | 2 +- packages/irix/makedist.sh | 2 +- packages/linux/fltk.spec | 6 ++--- packages/linux/makedist.sh | 28 ++++++++++++++++---- packages/solaris-intel/fltk.pkginfo | 6 ++--- packages/solaris-intel/fltk.prototype | 2 +- packages/solaris-intel/makedist.sh | 6 ++--- packages/solaris-sparc/fltk.pkginfo | 6 ++--- packages/solaris-sparc/fltk.prototype | 2 +- packages/solaris-sparc/makedist.sh | 6 ++--- src/Fl_Clock.cxx | 6 ++--- src/Makefile | 48 ++++++++++++++++++++--------------- test/Makefile | 20 ++++++++++++--- test/checkers.cxx | 8 +++--- 29 files changed, 186 insertions(+), 144 deletions(-) diff --git a/README b/README index ef24b8d82..31d76b4db 100644 --- a/README +++ b/README @@ -1,6 +1,5 @@ - -README - Fast Light Tool Kit (FLTK) Version 1.0 ------------------------------------------------ +README - Fast Light Tool Kit (FLTK) Version 1.0.1 +------------------------------------------------- WHAT IS FLTK? diff --git a/configure.in b/configure.in index 78dd990ca..98429a871 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 1999/03/10 14:22:29 mike Exp $" +dnl# "$Id: configure.in,v 1.33.2.1 1999/03/25 15:26:28 mike Exp $" dnl# dnl# Configuration script for the Fast Light Tool Kit (FLTK). dnl# @@ -36,6 +36,7 @@ else LIBCOMMAND="ar crs" fi DSOCOMMAND="echo" +DSONAME="" dnl# Get the operating system and version number... @@ -61,31 +62,26 @@ if eval "test x$enable_shared = xyes"; then PICFLAG=1 case $uname in SunOS* | UNIX_S*) - LIBNAME="libfltk.so.1" - DSOCOMMAND="\$(CXX) -Wl,-h,\$(LIBNAME) \$(LDLIBS) -G $DEBUGFLAG -o" - ln -s libfltk.so.1 lib/libfltk.so + DSONAME="libfltk.so.1" + DSOCOMMAND="\$(CXX) -Wl,-h,libfltk.so.1 \$(LDLIBS) -G $DEBUGFLAG -o" ;; HP-UX*) - LIBNAME="libfltk.sl.1" + DSONAME="libfltk.sl.1" DSOCOMMAND="ld -b -z +h libfltk.sl.1 $DEBUGFLAG -o" - ln -s libfltk.sl.1 lib/libfltk.sl ;; OSF1*) - LIBNAME="libfltk.so.1" - DSOCOMMAND="\$(CXX) -Wl,-soname,\$(LIBNAME) \$(LDLIBS) -shared $DEBUGFLAG -o" - ln -s libfltk.so.1 lib/libfltk.so + DSONAME="libfltk.so.1" + DSOCOMMAND="\$(CXX) -Wl,-soname,libfltk.so.1 \$(LDLIBS) -shared $DEBUGFLAG -o" ;; IRIX*) - LIBNAME="libfltk.so.1" - DSOCOMMAND="\$(CXX) -soname \$(LIBNAME) \$(LDLIBS) -shared $DEBUGFLAG -o" - ln -s libfltk.so.1 lib/libfltk.so + DSONAME="libfltk.so.1" + DSOCOMMAND="\$(CXX) -soname libfltk.so.1 \$(LDLIBS) -shared $DEBUGFLAG -o" ;; *) echo "Warning: shared libraries may not be supported. Trying -shared" echo " option with compiler." - LIBNAME="libfltk.so.1" - DSOCOMMAND="\$(CXX) -Wl,-soname,\$(LIBNAME) \$(LDLIBS) -shared $DEBUGFLAG -o" - ln -s libfltk.so.1 lib/libfltk.so + DSONAME="libfltk.so.1" + DSOCOMMAND="\$(CXX) -Wl,-soname,libfltk.so.1 \$(LDLIBS) -shared $DEBUGFLAG -o" ;; esac fi]) @@ -227,6 +223,7 @@ fi CFLAGS="$DEBUGFLAG $CFLAGS" CXXFLAGS="$DEBUGFLAG $CXXFLAGS" +AC_SUBST(DSONAME) AC_SUBST(DSOCOMMAND) AC_SUBST(LIBNAME) AC_SUBST(LIBCOMMAND) @@ -235,5 +232,5 @@ AC_CONFIG_HEADER(config.h:configh.in) AC_OUTPUT(makeinclude) dnl# -dnl# End of "$Id: configure.in,v 1.33 1999/03/10 14:22:29 mike Exp $". +dnl# End of "$Id: configure.in,v 1.33.2.1 1999/03/25 15:26:28 mike Exp $". dnl# diff --git a/documentation/editor.html b/documentation/editor.html index b76dd81af..e2aa51dde 100644 --- a/documentation/editor.html +++ b/documentation/editor.html @@ -56,27 +56,27 @@ items in a menubar: