configure.in
changeset 1062 3e637850c02b
parent 1047 ffaaf7ecf685
child 1127 fb8818ee9112
     1.1 --- a/configure.in	Wed May 18 17:02:17 2005 +0000
     1.2 +++ b/configure.in	Fri May 20 07:34:34 2005 +0000
     1.3 @@ -1855,6 +1855,15 @@
     1.4      AC_MSG_RESULT($have_gcc_altivec)
     1.5  }
     1.6  
     1.7 +dnl Check for a valid linux/version.h
     1.8 +CheckLinuxVersion()
     1.9 +{
    1.10 +    AC_CHECK_HEADER(linux/version.h, have_linux_version_h=yes)
    1.11 +    if test x$have_linux_version_h = xyes; then
    1.12 +        CFLAGS="$CFLAGS -DHAVE_LINUX_VERSION_H"
    1.13 +    fi
    1.14 +}
    1.15 +
    1.16  case "$target" in
    1.17      *-*-linux*|*-*-gnu*|*-*-k*bsd*-gnu)
    1.18          case "$target" in
    1.19 @@ -1889,6 +1898,8 @@
    1.20          CheckPTHREAD
    1.21          CheckSIGACTION
    1.22          CheckAltivec
    1.23 +        CheckLinuxVersion
    1.24 +
    1.25          # Set up files for the main() stub
    1.26          if test "x$video_qtopia" = "xyes"; then
    1.27            SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"