From 72fb7da67df0005854805eaf9533bca3f8aff6e3 Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Tue, 26 Jul 2005 14:23:45 +0000
Subject: [PATCH] Use OPENGL_ALL_LIB, not ...LIBS, add Geomview stuff.

cH.
---
 configure.ac | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 1293a0f..409756c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,7 @@ AC_CONFIG_FILES([Makefile gnu-compat/Makefile
                  alberta_util/Makefile alberta_util/src/Makefile
                  alberta_util/src/alberta_util_inlines.h.in
 		 add_ons/Makefile
+		 add_ons/geomview/Makefile
 		 add_ons/grape/Makefile
 		 add_ons/grape/mesh/Makefile
                  add_ons/grape/mesh/2d/Makefile
@@ -248,7 +249,7 @@ ALBERTA_CHECK_PACKAGE(opengl, GL, ,${X_ALL_LIBS}, GL/gl.h,,,required)
 dnl
 dnl check for optional package gltools
 dnl
-ALBERTA_CHECK_PACKAGE(gltools, gltools, , ${X_ALL_LIBS}, glmesh.h,,,optional)
+ALBERTA_CHECK_PACKAGE(gltools, gltools, ,${OPENGL_ALL_LIB} ${X_ALL_LIBS}, glmesh.h,,,optional)
 
 dnl
 dnl GRAPE interface stuff
@@ -260,6 +261,12 @@ dnl MeshTV interface stuff
 dnl
 ALBERTA_CHECK_PACKAGE(silo, silo, ,, silo.h, , ,optional)
 
+dnl
+dnl Geomview interface, should not depend on any other installed
+dnl library, just a conversion tool.
+dnl
+AM_CONDITIONAL(GEOMVIEW, true)
+
 dnl
 dnl Debugging
 dnl
-- 
GitLab