Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2879 in orxonox.OLD for orxonox/trunk/configure.ac


Ignore:
Timestamp:
Nov 17, 2004, 11:09:14 AM (21 years ago)
Author:
bensch
Message:

orxonox/trunk: fix for configure.ac checks one header before checking system headers. Now works better.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure.ac

    r2819 r2879  
    1515
    1616
    17 # checking gl header (has to be here because of a Linux error)
    18    AC_CHECK_HEADERS(GL/gl.h ,,
    19       [AC_MSG_ERROR([cannot find opengl headers]) ])
     17
     18AC_CHECK_HEADERS(,,,)
    2019
    2120
     
    3635        #done before loop
    3736
     37# checking gl header (has to be here because of a Linux error)
     38   AC_CHECK_HEADERS(GL/gl.h ,,
     39      [AC_MSG_ERROR([cannot find opengl headers]) ])
    3840#   checking for Windows openGl library
    3941    AC_CHECK_LIB([opengl32], [main], FOUND_opengl32=yes, "gl/gl.h")
     
    104106 Linux="yes"
    105107
    106 # checking gl header
    107         #has been done befor linux-check
     108# checking gl header (has to be here because of a Linux error)
     109   AC_CHECK_HEADERS(GL/gl.h ,,
     110      [AC_MSG_ERROR([cannot find opengl headers]) ])
    108111
    109112#  checking for Unix GL
Note: See TracChangeset for help on using the changeset viewer.