"Fossies" - the Fresh Open Source Software Archive

Member "mapgenerator-1.1.2/configure.in" (20 Aug 2005, 963 Bytes) of package /linux/www/old/mapgenerator-1.1.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 AC_INIT(src/main.cpp)
    3 
    4 AM_INIT_AUTOMAKE(src/mapgenerator,1.1.2)
    5 
    6 AM_CONFIG_HEADER(config.h)
    7 
    8 AC_PROG_CC
    9 
   10 AC_PROG_CXX
   11 
   12 AC_PROG_INSTALL
   13 
   14 AC_PROG_LIBTOOL
   15 
   16 AC_ARG_ENABLE(debug,[  --enable-debug          use to enable debug (only defines DEBUG, maybe you also want to set CXXFLAGS!)],[AC_DEFINE(DEBUG,,Define to enable extra debugging output)])
   17 	
   18 AC_PATH_PROG(FLTKConf,fltk-config,false)
   19 if test $FLTKConf = "false" 
   20 then
   21 AC_MSG_ERROR(fltk-config not found)
   22 fi
   23 
   24 FLTK_LIBS=`$FLTKConf --ldflags`
   25 FLTK_FLAGS=`$FLTKConf --cxxflags`
   26 
   27 AC_SUBST(FLTK_LIBS)
   28 AC_SUBST(FLTK_FLAGS)
   29 
   30 PKG_CHECK_MODULES(DEPS, libpng >= 1.0)
   31 AC_SUBST(DEPS_CFLAGS)
   32 AC_SUBST(DEPS_LIBS)
   33 
   34 #AC_CHECK_LIB([jpeg], [jpeg_stdio_src],,[AC_MSG_ERROR(libjpeg not found)])
   35 #AC_CHECK_LIB([gif], [DGifOpenFileName],,[AC_MSG_ERROR(libgif not found)])
   36 
   37 AC_CHECK_HEADER(jpeglib.h,,[AC_MSG_ERROR(jpeglib.h not found)])
   38 AC_CHECK_HEADER(gif_lib.h,,[AC_MSG_ERROR(gif_lib.h not found)])
   39 
   40 AC_OUTPUT(Makefile src/Makefile)
   41