"Fossies" - the Fresh Open Source Software Archive

Member "duff-0.5.2/configure.ac" (28 Jan 2012, 1268 Bytes) of package /linux/privat/old/duff-0.5.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 #                                               -*- Autoconf -*-
    2 # Process this file with autoconf to produce a configure script.
    3 
    4 AC_PREREQ(2.61)
    5 AC_INIT([duff], [0.5.2], [elmindreda@elmindreda.org], [duff], [http://duff.sourceforge.net/])
    6 AC_CONFIG_SRCDIR([src/duff.c])
    7 AC_CONFIG_AUX_DIR([build-aux])
    8 AM_INIT_AUTOMAKE([check-news dist-bzip2])
    9 AM_CONFIG_HEADER([src/config.h])
   10 AC_GNU_SOURCE
   11 AM_GNU_GETTEXT([external])
   12 
   13 # Checks for programs.
   14 AC_PROG_CC
   15 AC_PROG_LN_S
   16 
   17 # Checks for libraries.
   18 
   19 # Checks for header files.
   20 AC_HEADER_STDC
   21 AC_HEADER_DIRENT
   22 AC_CHECK_HEADERS([assert.h sys/param.h ctype.h errno.h limits.h locale.h stdio.h stdarg.h])
   23 
   24 # Checks for typedefs, structures, and compiler characteristics.
   25 AC_SYS_LARGEFILE
   26 AC_C_CONST
   27 AC_C_INLINE
   28 AC_TYPE_MODE_T
   29 AC_TYPE_SIZE_T
   30 AC_TYPE_OFF_T
   31 
   32 # Check for endianness (for sha1-asaddi).
   33 AC_C_BIGENDIAN([], [], [AC_MSG_ERROR([Unable to detect endianness.])])
   34 
   35 # Checks for library functions.
   36 AC_FUNC_ERROR_AT_LINE
   37 AC_FUNC_MALLOC
   38 AC_FUNC_STAT
   39 AC_FUNC_LSTAT
   40 AC_FUNC_FSEEKO
   41 AC_FUNC_CLOSEDIR_VOID
   42 AC_CHECK_FUNCS([strdup strerror memset strchr strrchr strtoull], \
   43   [], [AC_MSG_ERROR([Function not found])])
   44 AC_CHECK_FUNCS([asprintf vasprintf])
   45 
   46 AC_OUTPUT([Makefile lib/Makefile src/Makefile po/Makefile.in man/Makefile])
   47