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

Last change on this file 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
  • m4/acinclude.m4

    old new  
    266266CPPFLAGS="${GL_CFLAGS} ${CPPFLAGS}"
    267267ax_save_LIBS="${LIBS}"
    268268LIBS=""
    269 ax_check_libs="-lopengl32 -lGL"
     269ax_check_libs="-lopengl32"
    270270for ax_lib in ${ax_check_libs}; do
    271271  AS_IF([test X$ax_compiler_ms = Xyes],
    272272        [ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`],
     
    402402[AX_CHECK_GLU_PROGRAM],
    403403[ax_cv_check_glu_libglu=yes],
    404404[LIBS=""
    405 ax_check_libs="-lglu32 -lGLU"
     405ax_check_libs="-lglu32"
    406406for ax_lib in ${ax_check_libs}; do
    407407  AS_IF([test X$ax_compiler_ms = Xyes],
    408408        [ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`],
     
    540540CPPFLAGS="${GLUT_CFLAGS} ${CPPFLAGS}"
    541541ax_save_LIBS="${LIBS}"
    542542LIBS=""
    543 ax_check_libs="-lglut32 -lglut"
     543ax_check_libs="-lglut32"
    544544for ax_lib in ${ax_check_libs}; do
    545545  AS_IF([test X$ax_compiler_ms = Xyes],
    546546        [ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`],
Note: See TracBrowser for help on using the repository browser.