📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.AC_INIT(README)dnl Setup for automakeAM_INIT_AUTOMAKE(aliens, 1.0.2)dnl Check for toolsAC_PROG_MAKE_SETAC_PROG_CCAC_PROG_INSTALLdnl Check for SDLSDL_VERSION=1.0.1AM_PATH_SDL($SDL_VERSION, :, AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))CFLAGS="$CFLAGS $SDL_CFLAGS"LIBS="$LIBS $SDL_LIBS"dnl Check for the mixer and IMGlib librarieshave_SDLmixer=noAC_CHECK_LIB(SDL_mixer, Mix_OpenAudio, have_SDLmixer=yes)if test x$have_SDLmixer != xyes; then AC_MSG_ERROR([*** Can't find the SDL_mixer libraryTry: http://www.devolution.com/~slouken/SDL/projects/SDL_mixer/])fihave_SDLimage=noAC_CHECK_LIB(SDL_image, IMG_Load_RW, have_SDLimage=yes)if test x$have_SDLimage != xyes; then AC_MSG_ERROR([*** Can't find the SDL_image libraryTry: http://www.devolution.com/~slouken/SDL/projects/SDL_image/])fi# Play the MOD music fileCFLAGS="$CFLAGS -DPLAY_MOD"# Finally create all the generated filesAC_OUTPUT([Makefile])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -