summaryrefslogtreecommitdiff
path: root/fltk-config.in
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-08-08 15:08:06 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-08-08 15:08:06 +0000
commit87a8b2d9c7199440a40b28dfba97275304b2344d (patch)
tree92835152a9deb25148a94430ba29a99ca801d37c /fltk-config.in
parentff88ea3ec5c5c1162d96c95a22cf44d3f6194e52 (diff)
Add --cc and --cxx options to fltk-config, which show the compilers that
were used to compile FLTK... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fltk-config.in')
-rwxr-xr-xfltk-config.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/fltk-config.in b/fltk-config.in
index 92aa6760f..c714943ef 100755
--- a/fltk-config.in
+++ b/fltk-config.in
@@ -51,8 +51,8 @@ libdir=@libdir@
srcdir=@srcdir@
# compiler names
-CXX="@CXX@"
CC="@CC@"
+CXX="@CXX@"
# post-process command (only needed for MacOS)
POSTBUILD="@POSTBUILD@"
@@ -111,6 +111,8 @@ Options telling what we are doing:
[--use-forms] use forms compatibility layer
Options telling what information we request:
+ [--cc] return C compiler used to compile FLTK
+ [--cxx] return C++ compiler used to compile FLTK
[--cflags] return flags to compile C using FLTK
[--cxxflags] return flags to compile C++ using FLTK
[--ldflags] return flags to link against FLTK
@@ -154,6 +156,12 @@ do
--api-version)
echo $APIVERSION
;;
+ --cc)
+ echo $CC
+ ;;
+ --cxx)
+ echo $CXX
+ ;;
--use-gl | --use-glut)
use_gl=yes
;;