"Fossies" - the Fresh Open Source Software Archive

Member "mlmmj-1.3.0/configure.ac" (24 May 2017, 1659 Bytes) of package /linux/privat/mlmmj-1.3.0.tar.bz2:


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": 1.2.19.0_vs_1.3.0.

    1 # Process this file with autoconf to produce a configure script.
    2 AC_INIT(mlmmj, esyscmd([tr -d '\n' < VERSION]), maintainer@mlmmj.org)
    3 
    4 VERSION=$PACKAGE_VERSION
    5 AC_SUBST(VERSION)
    6 
    7 AM_INIT_AUTOMAKE([subdir-objects])
    8 AC_CONFIG_SRCDIR([src/mlmmj-receive.c])
    9 AM_CONFIG_HEADER([config.h])
   10 
   11 # Checks for programs.
   12 AC_PROG_CC
   13 
   14 # Checks for libraries.
   15 AC_CHECK_LIB(socket,socket)
   16 AC_CHECK_LIB(nsl,gethostbyname)
   17 AC_CHECK_LIB(iconv,iconv_open)
   18 
   19 # Checks for header files.
   20 AC_HEADER_STDC
   21 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stddef.h stdlib.h string.h])
   22 AC_CHECK_HEADERS([sys/socket.h syslog.h unistd.h time.h])
   23 AC_CHECK_HEADER([iconv.h])
   24 
   25 # Checks for typedefs, structures, and compiler characteristics.
   26 AC_C_CONST
   27 AC_TYPE_SIZE_T
   28 
   29 savex=$exec_prefix
   30 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   31 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
   32 tmp=$datadir/$PACKAGE/text.skel
   33 while textlibdir=`eval echo "$tmp"`; test "x$textlibdir" != "x$tmp"; do tmp=$textlibdir; done
   34 exec_prefix=$savex
   35 
   36 AC_SUBST(textlibdir)
   37 
   38 AC_ARG_ENABLE([receive-strip],
   39   AS_HELP_STRING([--enable-receive-strip],
   40                  [build mlmmj-receive-strip (default is no)]))
   41 AM_CONDITIONAL(WANT_RECEIVESTRIP, test x"$enable_receive_strip" = xyes)
   42 
   43 # Checks for library functions.
   44 AC_FUNC_MALLOC
   45 AC_CHECK_FUNCS([ftruncate memset socket strerror strncasecmp snprintf fcntl])
   46 AC_CHECK_FUNCS([nanosleep time strftime syslog regcomp regexec])
   47 
   48 AC_CONFIG_FILES([Makefile])
   49 AC_CONFIG_FILES([src/Makefile])
   50 AC_CONFIG_FILES([src/mlmmj-make-ml])
   51 AC_CONFIG_FILES([listtexts/Makefile])
   52 AC_CONFIG_FILES([contrib/Makefile])
   53 AC_CONFIG_FILES([contrib/receivestrip/Makefile])
   54 AC_OUTPUT