From f10b778a5623b81b092626049ba9a463d6213e09 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 28 Nov 2001 15:55:33 +0000 Subject: [PATCH] Fix fltk-config --compile filename.cxx so it echos the command and uses the right output filename. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Enumerations.H | 4 ++-- fltk-config.in | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 93c15afa9..67f49f348 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -1,5 +1,5 @@ // -// "$Id: Enumerations.H,v 1.18.2.14.2.6 2001/10/29 03:44:31 easysw Exp $" +// "$Id: Enumerations.H,v 1.18.2.14.2.7 2001/11/28 15:55:33 easysw Exp $" // // Enumerations for the Fast Light Tool Kit (FLTK). // @@ -364,5 +364,5 @@ enum Fl_Damage { #endif // -// End of "$Id: Enumerations.H,v 1.18.2.14.2.6 2001/10/29 03:44:31 easysw Exp $". +// End of "$Id: Enumerations.H,v 1.18.2.14.2.7 2001/11/28 15:55:33 easysw Exp $". // diff --git a/fltk-config.in b/fltk-config.in index 784d74e0f..dfc0bc53c 100755 --- a/fltk-config.in +++ b/fltk-config.in @@ -1,6 +1,6 @@ #! /bin/sh # -# "$Id: fltk-config.in,v 1.12.2.4 2001/11/27 22:03:29 easysw Exp $" +# "$Id: fltk-config.in,v 1.12.2.5 2001/11/28 15:55:33 easysw Exp $" # # FLTK configuration utility. # @@ -191,8 +191,9 @@ if test -n "$echo_help"; then usage 1 fi if test -n "$compile"; then - prog=`basename $compile` + prog=`basename $compile .cxx` + echo $CXX $CXXFLAGS -o $prog $compile $LDSTATIC $CXX $CXXFLAGS -o $prog $compile $LDSTATIC fi