24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
diff -Naur graphviz-2.44.1-orig/configure.ac graphviz-2.44.1/configure.ac
|
|
--- graphviz-2.44.1-orig/configure.ac 2020-06-29 11:47:18.000000000 +0300
|
|
+++ graphviz-2.44.1/configure.ac 2020-10-30 13:16:53.166940100 +0300
|
|
@@ -294,7 +294,7 @@
|
|
TCLSH=$withval,)
|
|
|
|
if test "x$TCLSH" = "x"; then
|
|
- AC_PATH_PROGS(TCLSH,[tclsh8.6 tclsh8.5 tclsh8.4 tclsh8.3 tclsh],[],[/usr/bin])
|
|
+ AC_PATH_PROGS(TCLSH,[tclsh86 tclsh8.6 tclsh85 tclsh8.5 tclsh84 tclsh8.4 tclsh83 tclsh8.3 tclsh],[],[/usr/bin])
|
|
# if test "x$TCLSH" = "x"; then
|
|
# AC_MSG_ERROR([Unable to find a tclsh. Tclsh is a required program for building graphviz, independent of wether tcl-based graphviz products are built])
|
|
# use_tcl="No (tclsh unavailable)"
|
|
@@ -2696,8 +2696,8 @@
|
|
LDFLAGS="$LDFLAGS $GLUT_LIBS"
|
|
|
|
AC_CHECK_HEADER(GL/glut.h,
|
|
- AC_CHECK_LIB(glut,main,
|
|
- [GLUT_LIBS="$GLUT_LIBS -lglut"
|
|
+ AC_CHECK_LIB(freeglut,main,
|
|
+ [GLUT_LIBS="$GLUT_LIBS -lfreeglut"
|
|
use_glut="Yes"
|
|
AC_DEFINE_UNQUOTED(HAVE_GLUT,1,[Define if you have the GLUT library])],
|
|
use_glut="No (missing libglut)"
|