summaryrefslogtreecommitdiff
path: root/fltk-config.in
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-02-20 13:02:27 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-02-20 13:02:27 +0000
commit50274f8d85151d82b8f7945d9de044fe5e74bd52 (patch)
treef3cf28443f8b9f0daea2d052892999d31a432325 /fltk-config.in
parentbe3181a39a1ba2030be9df0ece67cdadda0b435f (diff)
Update copyright in FLUID "about" window.
Update fltk-config to support all C++ file extensions. Make background of FLTK logo transparent. Disable overlays if the scheme is set. Fix table cell formatting in Fl_Help_View. Still need to resolve an issue with column widths vs. table widths. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fltk-config.in')
-rwxr-xr-xfltk-config.in22
1 files changed, 20 insertions, 2 deletions
diff --git a/fltk-config.in b/fltk-config.in
index ff05a0397..077cce3c8 100755
--- a/fltk-config.in
+++ b/fltk-config.in
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# "$Id: fltk-config.in,v 1.12.2.7 2002/01/01 15:11:27 easysw Exp $"
+# "$Id: fltk-config.in,v 1.12.2.8 2002/02/20 13:02:25 easysw Exp $"
#
# FLTK configuration utility.
#
@@ -200,7 +200,25 @@ if test -n "$echo_help"; then usage 1
fi
if test -n "$compile"; then
- prog=`basename $compile .cxx`
+ case $compile in
+ *.cxx)
+ prog=`basename $compile .cxx`
+ ;;
+ *.cpp)
+ prog=`basename $compile .cpp`
+ ;;
+ *.cc)
+ prog=`basename $compile .cc`
+ ;;
+ *.C)
+ prog=`basename $compile .C`
+ ;;
+ *)
+ echo "ERROR: Unknown/bad C++ source file extension on \"$compile\"!"
+ exit 1
+ ;;
+ esac
+
post=$prog
echo $CXX $CXXFLAGS -o $prog $compile $LDSTATIC