"Fossies" - the Fresh Open Source Software Archive

Member "xarchive-0.2.8-6/configure.ac" (27 Feb 2006, 1168 Bytes) of package /linux/privat/old/xarchive-0.2.8-6.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.59)
    5 AC_INIT(XArchive, 0.2.8-6, Lee Bigelow <ligelowbee@yahoo.com>)
    6 AC_CONFIG_AUX_DIR(config)
    7 AC_CONFIG_SRCDIR([src/main.c])
    8 AM_CONFIG_HEADER([config.h])
    9 # AM_MAINTAINER_MODE
   10 AM_INIT_AUTOMAKE([gnu])
   11 
   12 AC_GNU_SOURCE
   13 AC_CANONICAL_BUILD
   14 
   15 # Checks for programs.
   16 AC_PROG_CC
   17 AC_PATH_PROG(BASH_PROG, bash)
   18 
   19 # Checks for libraries.
   20 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6.0, ,[AC_MSG_ERROR([pkg-config could not find gtk+-2.0 >= 2.6.4 ])])
   21 
   22 # Checks for header files.
   23 AC_HEADER_DIRENT
   24 AC_HEADER_STDC
   25 AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
   26 
   27 # Checks for typedefs, structures, and compiler characteristics.
   28 AC_C_CONST
   29 
   30 # Checks for library functions.
   31 AC_REPLACE_FNMATCH
   32 AC_FUNC_MALLOC
   33 AC_CHECK_FUNCS([strtoul canonicalize_file_name getline mkdtemp])
   34 
   35 CONFIGURE_CFLAGS="$CFLAGS"
   36 
   37 AC_SUBST([CONFIGURE_CFLAGS CONFIGURE_LDFLAGS GTK_CFLAGS GTK_LIBS BASH_PROG build_os])
   38 AC_CONFIG_FILES([Makefile
   39                  src/Makefile
   40                  wrappers/Makefile
   41                  icons/Makefile
   42                  doc/Makefile])
   43 AC_OUTPUT