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
This commit is contained in:
parent
691e338071
commit
f10b778a56
@ -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 $".
|
||||
//
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user