Remove unused variable 'bindir' from fltk-config and fix CMake local usage.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser
2015-02-06 17:03:54 +00:00
parent 8e19bc8c6d
commit 1e249a9804
2 changed files with 3 additions and 7 deletions
+2 -4
View File
@@ -4,7 +4,7 @@
# #
# FLTK configuration utility. # FLTK configuration utility.
# #
# Copyright 2000-2010 by Bill Spitzak and others. # Copyright 2000-2015 by Bill Spitzak and others.
# Original version Copyright 2000 by James Dean Palmer # Original version Copyright 2000 by James Dean Palmer
# Adapted by Vincent Penne and Michael Sweet # Adapted by Vincent Penne and Michael Sweet
# #
@@ -31,7 +31,6 @@ selfdir=`dirname "$0"`
prefix=@CMAKE_INSTALL_PREFIX@ prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix} exec_prefix=${prefix}
exec_prefix_set=no exec_prefix_set=no
bindir=@PREFIX_BIN@
includedir=@PREFIX_INCLUDE@ includedir=@PREFIX_INCLUDE@
libdir=@PREFIX_LIB@ libdir=@PREFIX_LIB@
srcdir=. srcdir=.
@@ -50,8 +49,7 @@ OPTIM="@OPTION_OPTIM@"
CAIROFLAGS="@CAIROFLAGS@" CAIROFLAGS="@CAIROFLAGS@"
# Check for local invocation, and update paths accordingly... # Check for local invocation, and update paths accordingly...
if test -f "$selfdir/bin/UseFLTK.cmake"; then if test -f "$selfdir/bin/fluid"; then
bindir="$selfdir/bin/fluid"
includedir="@FLTK_SOURCE_DIR@" includedir="@FLTK_SOURCE_DIR@"
libdir="$selfdir/lib" libdir="$selfdir/lib"
+1 -3
View File
@@ -4,7 +4,7 @@
# #
# FLTK configuration utility. # FLTK configuration utility.
# #
# Copyright 2000-2010 by Bill Spitzak and others. # Copyright 2000-2015 by Bill Spitzak and others.
# Original version Copyright 2000 by James Dean Palmer # Original version Copyright 2000 by James Dean Palmer
# Adapted by Vincent Penne and Michael Sweet # Adapted by Vincent Penne and Michael Sweet
# #
@@ -31,7 +31,6 @@ selfdir=`dirname "$0"`
prefix=@prefix@ prefix=@prefix@
exec_prefix=@exec_prefix@ exec_prefix=@exec_prefix@
exec_prefix_set=no exec_prefix_set=no
bindir=@bindir@
includedir=@includedir@ includedir=@includedir@
libdir=@libdir@ libdir=@libdir@
srcdir=@srcdir@ srcdir=@srcdir@
@@ -51,7 +50,6 @@ CAIROFLAGS="@CAIROFLAGS@"
# Check for local invocation, and update paths accordingly... # Check for local invocation, and update paths accordingly...
if test -f "$selfdir/FL/Fl_Window.H"; then if test -f "$selfdir/FL/Fl_Window.H"; then
bindir="$selfdir/fluid"
includedir="$selfdir" includedir="$selfdir"
libdir="$selfdir/lib" libdir="$selfdir/lib"