changeset 14:6e6700dd252f

Updated configure.in to check only for fltk2-config.
author jcid
date Fri, 19 Oct 2007 17:39:27 +0200
parents 43a14f7e2c2c
children a15e6c075023
files ChangeLog configure.in
diffstat 2 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Oct 18 17:37:33 2007 +0200
+++ b/ChangeLog	Fri Oct 19 17:39:27 2007 +0200
@@ -49,6 +49,7 @@
 +- Fixed calcHashValue() to only return non-negative numbers (was SEGFAULT).
  - Improved scrolling performance on large pages by copying screen data
     instead of rendering.
+ - Updated configure.in to check only for fltk2-config.
    Patches: Johannes Hofmann
 +- Improved FLTK library detection at configure time.
    Patch: Frank Gevaerts
--- a/configure.in	Thu Oct 18 17:37:33 2007 +0200
+++ b/configure.in	Fri Oct 19 17:39:27 2007 +0200
@@ -149,14 +149,8 @@
      LIBFLTK_CXXFLAGS=`fltk2-config --cxxflags`
      LIBFLTK_CFLAGS=`fltk2-config --cflags`
      LIBFLTK_LIBS=`fltk2-config --use-images --ldflags`
-else if sh -c "fltk-config --version" >/dev/null 2>&1
-     then AC_MSG_RESULT(yes)
-          LIBFLTK_CXXFLAGS=`fltk-config --cxxflags`
-          LIBFLTK_CFLAGS=`fltk-config --cflags`
-          LIBFLTK_LIBS=`fltk-config --ldflags`
-     else AC_MSG_RESULT(no)
-          AC_ERROR(FLTK2 must be installed!)
-     fi
+else AC_MSG_RESULT(no)
+     AC_ERROR(FLTK2 must be installed!)
 fi