"Fossies" - the Fresh Open Source Software Archive

Member "ffe-0.3.9/configure.ac" (4 Nov 2018, 1885 Bytes) of package /linux/privat/ffe-0.3.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure.ac": 0.3.8_vs_0.3.9.

    1 #                                               -*- Autoconf -*-
    2 # Process this file with autoconf to produce a configure script.
    3 
    4 AC_PREREQ(2.61)
    5 AC_INIT([ffe], [0.3.9], [tjsa@iki.fi])
    6 AC_CONFIG_SRCDIR([src/ffe.c])
    7 AC_CONFIG_HEADER([config.h])
    8 AC_CONFIG_AUX_DIR([config])
    9 AC_GNU_SOURCE
   10 AM_INIT_AUTOMAKE
   11 
   12 AC_SUBST([VERSION])
   13 ISODATE=`date +%Y-%m-%d`
   14 AC_SUBST([ISODATE])
   15 
   16 SHELL_CMD="/bin/sh"
   17 AC_SUBST([SHELL_CMD])
   18 
   19 AC_CANONICAL_HOST
   20 AC_DEFINE_UNQUOTED([HOST],["$host"],[Host type.])
   21 AC_DEFINE_UNQUOTED([BUILD_DATE],["$ISODATE"],[Build date.])
   22 AC_DEFINE_UNQUOTED([SHELL_CMD],["$SHELL_CMD"],[Define to the shell for command substitution and input preprosessing.])
   23 
   24 # Checks for programs.
   25 AC_PROG_CC
   26 AC_PROG_INSTALL
   27 
   28 # Checks for libraries.
   29 # when compiling for mingw32 the AM_PATH_LIBGCRYPT gives false positive
   30 if test "x$cross_compiling" = xno; then
   31     AM_PATH_LIBGCRYPT([],[AC_DEFINE(HAVE_WORKING_LIBGCRYPT, 1, [Define to 1 if gcrypt is working.])],[])
   32 fi
   33 
   34 
   35 # Checks for header files.
   36 AC_HEADER_STDC
   37 AC_CHECK_HEADERS([fcntl.h features.h error.h errno.h getopt.h regex.h signal.h gcrypt.h printf.h])
   38 
   39 # Checks for typedefs, structures, and compiler characteristics.
   40 AC_C_INLINE
   41 AC_C_CONST
   42 AC_TYPE_PID_T
   43 AC_SYS_LARGEFILE
   44 AC_SYS_LONG_FILE_NAMES
   45 AC_CHECK_TYPE([regex_t],[AC_DEFINE(HAVE_REGEX, 1, [Define to 1 if regex functions are available])],,[#if HAVE_REGEX_H
   46 #include <regex.h>
   47 #endif])
   48 AC_TYPE_INT16_T
   49 AC_TYPE_INT32_T
   50 AC_TYPE_INT64_T
   51 AC_TYPE_INT8_T
   52 AC_TYPE_SIZE_T
   53 AC_TYPE_UINT16_T
   54 AC_TYPE_UINT32_T
   55 AC_TYPE_UINT64_T
   56 AC_TYPE_UINT8_T
   57 
   58 
   59 # Checks for library functions.
   60 AC_FUNC_FORK
   61 AC_CHECK_FUNCS([atexit dup2 pipe tempnam setenv putenv setmode strcasecmp sigaction parse_printf_format])
   62 AC_CHECK_FUNCS([strchr strdup strerror strstr getline getopt_long regcomp strncasecmp strcasestr])
   63 
   64 AC_CONFIG_FILES([Makefile
   65                  doc/Makefile
   66                  src/Makefile])
   67 AC_OUTPUT