source: trunk/dports/graphics/tiff/files/patch-acinclude.m4.diff @ 139036

Last change on this file since 139036 was 120378, checked in by mcalhoun@…, 6 years ago
  • prevent the use of X11, especially X11 OpenGL (should fix #43642)
  • allow OpenGL to be used even when X11 is not being used
  • remove obsolete configure arguments
  • apply slightly less invasive patch to solve #41280
File size: 1008 bytes
RevLine 
[120378]1--- m4/acinclude.m4.orig        2014-05-25 05:30:58.000000000 -0700
2+++ m4/acinclude.m4     2010-07-08 09:10:23.000000000 -0700
3@@ -266,7 +266,7 @@
4 CPPFLAGS="${GL_CFLAGS} ${CPPFLAGS}"
5 ax_save_LIBS="${LIBS}"
6 LIBS=""
7-ax_check_libs="-lopengl32 -lGL"
8+ax_check_libs="-lopengl32"
9 for ax_lib in ${ax_check_libs}; do
10   AS_IF([test X$ax_compiler_ms = Xyes],
11         [ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`],
12@@ -402,7 +402,7 @@
13 [AX_CHECK_GLU_PROGRAM],
14 [ax_cv_check_glu_libglu=yes],
15 [LIBS=""
16-ax_check_libs="-lglu32 -lGLU"
17+ax_check_libs="-lglu32"
18 for ax_lib in ${ax_check_libs}; do
19   AS_IF([test X$ax_compiler_ms = Xyes],
20         [ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`],
21@@ -540,7 +540,7 @@
22 CPPFLAGS="${GLUT_CFLAGS} ${CPPFLAGS}"
23 ax_save_LIBS="${LIBS}"
24 LIBS=""
25-ax_check_libs="-lglut32 -lglut"
26+ax_check_libs="-lglut32"
27 for ax_lib in ${ax_check_libs}; do
28   AS_IF([test X$ax_compiler_ms = Xyes],
29         [ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`],
Note: See TracBrowser for help on using the repository browser.