Include libdir in link options.

Add all compiler warnings...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2004-07-26 17:46:36 +00:00
parent 8f4fa00574
commit dd193b3820
2 changed files with 6 additions and 6 deletions

View File

@ -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.114 2004/07/23 19:26:25 easysw Exp $"
dnl "$Id: configure.in,v 1.33.2.31.2.115 2004/07/26 17:46:36 easysw Exp $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
@ -720,7 +720,7 @@ if test -n "$GCC"; then
OPTIM="-Wall -Wunused $OPTIM"
# The following additional warnings are useful for tracking down problems...
#OPTIM="-Wshadow -Wconversion -Winline $OPTIM"
OPTIM="-Wshadow -Wconversion -Winline $OPTIM"
# Set the default compiler optimizations...
if test -z "$DEBUGFLAG"; then
@ -898,5 +898,5 @@ dnl Make sure the fltk-config script is executable...
chmod +x fltk-config
dnl
dnl End of "$Id: configure.in,v 1.33.2.31.2.114 2004/07/23 19:26:25 easysw Exp $".
dnl End of "$Id: configure.in,v 1.33.2.31.2.115 2004/07/26 17:46:36 easysw Exp $".
dnl

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# "$Id: fltk-config.in,v 1.12.2.22 2004/07/06 00:18:48 easysw Exp $"
# "$Id: fltk-config.in,v 1.12.2.23 2004/07/26 17:46:36 easysw Exp $"
#
# FLTK configuration utility.
#
@ -175,7 +175,7 @@ else
fi
# Calculate needed libraries
LDSTATIC="$libdir/libfltk.a $LDLIBS"
LDSTATIC="$libs $libdir/libfltk.a $LDLIBS"
LDLIBS="$libs -lfltk$SHAREDSUFFIX $LDLIBS"
LIBS="$LIBS $libs $libdir/libfltk.a"
@ -266,5 +266,5 @@ if test "$echo_libs" = "yes"; then
fi
#
# End of "$Id: fltk-config.in,v 1.12.2.22 2004/07/06 00:18:48 easysw Exp $".
# End of "$Id: fltk-config.in,v 1.12.2.23 2004/07/26 17:46:36 easysw Exp $".
#