Oui j'ai simplifie le fichier configure.ac pour que le ./configure passe (il me plantait aussi avant).# -*- Autoconf -*-# Process this file with autoconf to produce a configure script.AC_PREREQ(2.61)AC_INIT(gameandwatch, 0.1,
rreale@bol.com.br)AM_INIT_AUTOMAKE(gameandwatch, 0.1)AC_CONFIG_SRCDIR([src/gamewatch.cpp])AC_CONFIG_HEADER([config.h])# Checks for programs.AC_PROG_CXXAC_PROG_CC# initializeCXXFLAGS="-DGW_USE_ZDATA"LIBS="-lzzip"# Checks for libraries.# Use the macro SDL provides to check the installed version of the SDL# development environment. Abort the configuration process if the# minimum version we require isn't available.# Add the SDL preprocessor flags and libraries to the build processCFLAGS="$CFLAGS $SDL_CFLAGS"CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"LIBS="$LIBS $SDL_LIBS"# Check for SDL_mixerLIBS="$LIBS -lSDL_mixer"# Check for SDL_ttfLIBS="$LIBS -lSDL_ttf"# Check for SDL_imageLIBS="$LIBS -lSDL_image"# Check for SDL_gfxLIBS="$LIBS -lSDL_gfx"# boost-filesystemLIBS="$LIBS $BOOST_LDFLAGS -lboost_filesystem"# Checks for header files.# Checks for typedefs, structures, and compiler characteristics.AC_HEADER_STDBOOLAC_C_CONSTAC_TYPE_MODE_TAC_STRUCT_TM# Checks for library functions.AC_CHECK_FUNCS([atexit])AC_OUTPUT(Makefile src/Makefile data/Makefile doc/Makefile)Et ensuite modifie quelques lignes au makefile du dossier src:CPPFLAGS = -I/usr/local/include/boost-1_35/ -I/usr/local/include/SDL/etLIBS = -lSDL -lzzip -lSDL_mixer -lSDL_ttf -lSDL_image -lSDL_gfx -lboost_filesystem-mt-1_35 -lboost_system-mt-1_35 -lSDLMain -framework CocoaParce que sinon il ne me trouvait pas des headers de la librairies boost. Le framework Cocoa et la lib SDLmain, c'est specifique au mac, sinon il y a une erreur comme quoi le main est introuvable...Je ne sais pas si c'est la facon la plus elegante de faire tourner ca, mais je ne m'y connais pas assez en ./configure/Makefile pour le faire plus proprement ;)