Changeset e14fc1897f10ce1cb506fcadd2ecaaab2e746b5c

Show
Ignore:
Timestamp:
23/07/04 18:43:22 (4 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1090601002 +0000
git-parent:

[6550c5d7c8f583b09c0cf06f9ec2de8cf1b184e4]

git-author:
Gildas Bazin <gbazin@videolan.org> 1090601002 +0000
Message:

* configure.ac: added glwin32 and fixed linkage of the opengl module on win32.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    r634e231 re14fc18  
    24892489if test "${enable_opengl}" != "no" && test "${SYS}" != "beos"; then 
    24902490  AC_CHECK_HEADERS(GL/gl.h, [ 
    2491       VLC_ADD_PLUGINS([opengl]) 
     2491    VLC_ADD_PLUGINS([opengl]) 
     2492    if test "${SYS}" != "mingw32"; then 
    24922493      VLC_ADD_LDFLAGS([opengl],[-L${x_libraries} -lGL -lGLU]) 
     2494    else 
     2495      VLC_ADD_LDFLAGS([opengl],[-lopengl32]) 
     2496    fi 
    24932497  ]) 
    2494   CPPFLAGS="${CPPFLAGS_save}" 
    24952498fi 
    24962499 
     
    27202723      AC_CHECK_HEADERS(ddraw.h, 
    27212724      [ VLC_ADD_PLUGINS([vout_directx aout_directx]) 
    2722         VLC_ADD_LDFLAGS([vout_directx],[-lgdi32]) ]) 
     2725        VLC_ADD_LDFLAGS([vout_directx],[-lgdi32]) 
     2726        dnl to be moved when dependance is removed 
     2727        AC_CHECK_HEADERS(GL/gl.h, [ 
     2728            VLC_ADD_PLUGINS([glwin32]) 
     2729            VLC_ADD_LDFLAGS([glwin32],[-lopengl32 -lgdi32]) 
     2730        ]) ]) 
    27232731    else 
    27242732      AC_MSG_CHECKING(for directX headers in ${with_directx}) 
     
    34403448if test "${enable_galaktos}" = "yes" 
    34413449then 
     3450  AC_CHECK_HEADERS(GL/gl.h, [ 
    34423451    VLC_ADD_PLUGINS([galaktos]) 
    3443     VLC_ADD_LDFLAGS([galaktos],[-lGL -lGLU]) 
     3452    if test "${SYS}" != "mingw32"; then 
     3453      VLC_ADD_LDFLAGS([galaktos],[-L${x_libraries} -lGL -lGLU]) 
     3454    else 
     3455      VLC_ADD_LDFLAGS([galaktos],[-lopengl32]) 
     3456    fi 
     3457  ]) 
    34443458fi 
    34453459