"Fossies" - the Fresh Open Source Software Archive

Member "g3data-1.5.4/configure.ac" (14 Jan 2011, 1130 Bytes) of package /linux/privat/old/g3data-1.5.4.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 #                                               -*- Autoconf -*-
    2 # Process this file with autoconf to produce a configure script.
    3 
    4 AC_PREREQ([2.66])
    5 AC_INIT([g3data], [1.5.4])
    6 
    7 # Put compiled object files into the same sub-directory as their sources
    8 # and quiet make
    9 AM_INIT_AUTOMAKE([1.11 subdir-objects])
   10 AM_SILENT_RULES([yes])
   11 
   12 AC_CONFIG_SRCDIR([g3data/main.c])
   13 AC_CONFIG_HEADERS([config.h])
   14 
   15 WARNING_FLAGS="-W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
   16 AC_SUBST(WARNING_FLAGS)
   17 
   18 # Checks for programs.
   19 AC_PROG_CC
   20 AM_PROG_CC_C_O
   21 AC_PROG_INSTALL
   22 AC_PROG_MAKE_SET
   23 PKG_PROG_PKG_CONFIG
   24 
   25 # Checks for libraries.
   26 AC_CHECK_LIB([m], [log])
   27 PKG_CHECK_MODULES([GLIB], [glib-2.0])
   28 PKG_CHECK_MODULES([GTK], [gtk+-2.0])
   29 
   30 # Checks for header files.
   31 AC_CHECK_HEADERS([stdlib.h string.h math.h])
   32 
   33 # Checks for typedefs, structures, and compiler characteristics.
   34 
   35 # Checks for library functions.
   36 AC_FUNC_MALLOC
   37 AC_FUNC_REALLOC
   38 AC_CHECK_FUNCS([strstr])
   39 
   40 AC_CONFIG_FILES([Makefile
   41                  doc/Makefile
   42                  data/Makefile])
   43 AC_OUTPUT