From fe05aef13e4b4254c6e31901a2aa3d98b1c28bfd Mon Sep 17 00:00:00 2001
From: Daniel Koester <Koester@Math.Uni-Augsburg.DE>
Date: Mon, 11 Nov 2002 16:27:52 +0000
Subject: [PATCH] now checking for libGL if libMesaGL not found (Linux-case)

---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 824c414..f0d9fed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,7 +85,8 @@ esac
 
 case "$build_os" in
 *linux*)
-	AC_CHECK_LIB(MesaGL, main)
+	AC_CHECK_LIB(MesaGL, main,,
+                     [AC_CHECK_LIB(GL, main)])
 	AC_CHECK_LIB(g2c, main)
 	AC_CHECK_LIB(blas, main,,
 		[AC_MSG_WARN([Problems with libblas, also tried lg2c for Linux...])
-- 
GitLab