- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
configure.in
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:2k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- dnl Process this file with autoconf to produce a configure script.
- AC_INIT(README)
- dnl Setup for automake
- SDL_VERSION=1.2.3
- dnl Detect the canonical host and target build environment
- AC_CANONICAL_HOST
- AC_CANONICAL_TARGET
- dnl Setup for automake
- AM_INIT_AUTOMAKE(SDL_tests, $SDL_VERSION)
- dnl Check for tools
- AC_PROG_CC
- dnl Check for compiler environment
- AC_C_CONST
- dnl Figure out which math library to use
- case "$target" in
- *-*-cygwin* | *-*-mingw32*)
- MATHLIB=""
- SYS_GL_LIBS="-lopengl32"
- ;;
- *-*-beos*)
- MATHLIB=""
- SYS_GL_LIBS="-lGL"
- ;;
- *-*-darwin*)
- MATHLIB=""
- SYS_GL_LIBS=""
- ;;
- *-*-aix*)
- if test x$ac_cv_prog_gcc = xyes; then
- CFLAGS="-mthreads"
- fi
- SYS_GL_LIBS=""
- ;;
- *)
- MATHLIB="-lm"
- AC_PATH_X
- AC_PATH_XTRA
- if test x$have_x = xyes; then
- CFLAGS="$CFLAGS $X_CFLAGS"
- SYS_GL_LIBS="$X_LIBS -lGL"
- else
- SYS_GL_LIBS="-lGL"
- fi
- ;;
- esac
- AC_SUBST(MATHLIB)
- dnl Check for SDL
- AM_PATH_SDL($SDL_VERSION,
- :,
- AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
- )
- CFLAGS="$CFLAGS $SDL_CFLAGS"
- LIBS="$LIBS $SDL_LIBS"
- dnl Check for OpenGL
- AC_MSG_CHECKING(for OpenGL support)
- have_opengl=no
- AC_TRY_COMPILE([
- #include "SDL_opengl.h"
- ],[
- ],[
- have_opengl=yes
- ])
- AC_MSG_RESULT($have_opengl)
- if test x$have_opengl = xyes; then
- CFLAGS="$CFLAGS -DHAVE_OPENGL"
- GL_LIBS="$SYS_GL_LIBS"
- else
- GL_LIBS=""
- fi
- AC_SUBST(GL_LIBS)
- # Finally create all the generated files
- AC_OUTPUT([Makefile])