"Fossies" - the Fresh Open Source Software Archive

Member "xtermcontrol-3.8/configure.ac" (4 May 2021, 1240 Bytes) of package /linux/privat/xtermcontrol-3.8.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. See also the latest Fossies "Diffs" side-by-side code changes report for "configure.ac": 3.7_vs_3.8.

    1 #                                               -*- Autoconf -*-
    2 # Process this file with autoconf to produce a configure script.
    3 #
    4 # Compile pedantic and with debug symbols:
    5 #    CFLAGS="-ggdb -Wall -Wextra -pedantic -std=c89 -O0" ./configure
    6 #
    7 # Verbose output can be enabled with
    8 #    "./configure --disable-silent-rules" or "make V=1"
    9 #
   10 
   11 AC_INIT([xtermcontrol],[3.8],[])
   12 AC_CONFIG_SRCDIR([src/xtermcontrol.c])
   13 AC_CONFIG_HEADERS([config.h])
   14 
   15 AM_INIT_AUTOMAKE
   16 
   17 XTC_PACKAGE_DATE
   18 XTC_PACKAGE_YEAR
   19 
   20 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
   21 
   22 # Checks for programs.
   23 AC_PROG_CC
   24 
   25 # features of Posix that are extensions to C (define _GNU_SOURCE)
   26 AC_USE_SYSTEM_EXTENSIONS
   27 
   28 # Checks for header files.
   29 AC_CHECK_INCLUDES_DEFAULT
   30 AC_PROG_EGREP
   31 
   32 AC_CHECK_HEADERS([fcntl.h libintl.h stdlib.h string.h strings.h termios.h unistd.h wchar.h])
   33 
   34 # Checks for typedefs, structures, and compiler characteristics.
   35 AC_C_CONST
   36 AC_TYPE_SIZE_T
   37 
   38 # Checks for library functions.
   39 AC_FUNC_MALLOC
   40 AC_CHECK_FUNCS([memset regcomp strchr strrchr strstr])
   41 AC_CHECK_FUNC([snprintf], [], AC_MSG_ERROR([required function missing]))
   42 
   43 AC_CONFIG_FILES([Makefile
   44                  doc/Makefile
   45                  src/Makefile
   46                  tests/Makefile])
   47 AC_OUTPUT