mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 16:12:13 +08:00
More doco updates.
Enable tooltips by default, and don't enable them when setting the tooltip value, since that will negate any changes a program might make when displaying the file chooser dialog, etc. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+18
-8
@@ -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.29 2001/11/27 22:03:29 easysw Exp $"
|
||||
dnl "$Id: configure.in,v 1.33.2.31.2.30 2001/11/28 20:43:43 easysw Exp $"
|
||||
dnl
|
||||
dnl Configuration script for the Fast Light Tool Kit (FLTK).
|
||||
dnl
|
||||
@@ -99,6 +99,15 @@ AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries [defau
|
||||
if test x$enable_shared = xyes; then
|
||||
PICFLAG=1
|
||||
case $uname in
|
||||
*BSD* | Darwin*)
|
||||
DSONAME="libfltk.$FL_API_VERSION.dylib"
|
||||
GLDSONAME="libfltk_gl.$FL_API_VERSION.dylib"
|
||||
DSOCOMMAND="ld $DSOFLAGS -dylib /usr/lib/dylib1.o -lc"
|
||||
if test "$libdir" != "/usr/lib"; then
|
||||
DSOLINK="-Wl,-rpath,$libdir"
|
||||
fi
|
||||
;;
|
||||
|
||||
SunOS* | UNIX_S*)
|
||||
DSONAME="libfltk.so.$FL_API_VERSION"
|
||||
GLDSONAME="libfltk_gl.so.$FL_API_VERSION"
|
||||
@@ -240,17 +249,19 @@ AC_CHECK_HEADER(png.h,
|
||||
dnl Restore original LIBS settings...
|
||||
LIBS="$SAVELIBS"
|
||||
|
||||
dnl See if we are compiling with CygWin or MingW32...
|
||||
AC_CYGWIN
|
||||
AC_EXEEXT
|
||||
|
||||
dnl Check for standard graphics API and OpenGL...
|
||||
EXEEXT=
|
||||
HLINKS=
|
||||
|
||||
case $uname in
|
||||
CYGWIN*)
|
||||
dnl Cygwin environment...
|
||||
LIBS="$LIBS -lgdi32 -lwsock32"
|
||||
CFLAGS="$CFLAGS -DWIN32"
|
||||
CXXFLAGS="$CXXFLAGS -DWIN32"
|
||||
EXEEXT=".exe"
|
||||
LIBS="$LIBS -mwindows -lgdi32 -lwsock32"
|
||||
CFLAGS="$CFLAGS -mwindows -DWIN32"
|
||||
CXXFLAGS="$CXXFLAGS -mwindows -DWIN32"
|
||||
HLINKS="#"
|
||||
if test x$enable_gl != xno; then
|
||||
AC_CHECK_HEADER(GL/gl.h,
|
||||
@@ -349,7 +360,6 @@ case $uname in
|
||||
fi)
|
||||
esac
|
||||
|
||||
AC_SUBST(EXEEXT)
|
||||
AC_SUBST(HLINKS)
|
||||
AC_SUBST(GLDEMOS)
|
||||
AC_SUBST(GLLIB)
|
||||
@@ -568,5 +578,5 @@ 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.29 2001/11/27 22:03:29 easysw Exp $".
|
||||
dnl End of "$Id: configure.in,v 1.33.2.31.2.30 2001/11/28 20:43:43 easysw Exp $".
|
||||
dnl
|
||||
|
||||
Reference in New Issue
Block a user