"Fossies" - the Fresh Open Source Software Archive

Member "mod_rrd-1.0.1/configure.ac" (5 Dec 2019, 1413 Bytes) of package /linux/www/apache_httpd_modules/mod_rrd-1.0.1.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.0.0_vs_1.0.1.

    1 #                                               -*- Autoconf -*-
    2 # Process this file with autoconf to produce a configure script.
    3 
    4 AC_PREREQ(2.61)
    5 AC_INIT(mod_rrd, 1.0.1, minfrin@sharp.fm)
    6 AM_INIT_AUTOMAKE([dist-bzip2])
    7 AC_CONFIG_FILES([Makefile mod_rrd.spec])
    8 AC_CONFIG_SRCDIR([mod_rrd.c])
    9 AC_CONFIG_HEADER(config.h)
   10 
   11 # Checks for programs.
   12 AC_PROG_CC
   13 AC_ARG_WITH(apxs,
   14     [  --with-apxs=PATH        path to Apache apxs],
   15     [
   16         if test "$withval" = "yes"; then
   17             AC_PATH_PROGS(APXS, apxs apxs2, reject, $PATH:/usr/sbin)
   18         else
   19             APXS=$withval
   20             AC_SUBST(APXS)
   21         fi
   22     ],
   23     [
   24         AC_PATH_PROGS(APXS, apxs apxs2, reject, $PATH:/usr/sbin)
   25     ])
   26 if test "$APXS" = "reject"; then
   27   AC_MSG_ERROR([Could not find apxs on the path.])
   28 fi
   29 
   30 # Make sure the Apache include files are found
   31 CPPFLAGS="$CPPFLAGS -I`$APXS -q INCLUDEDIR`"
   32 CFLAGS="$CFLAGS -I`$APXS -q INCLUDEDIR`"
   33 
   34 # Checks for libraries.
   35 PKG_CHECK_MODULES(apr, apr-1 >= 1.2)
   36 PKG_CHECK_MODULES(apu, apr-util-1 >= 1.2)
   37 PKG_CHECK_MODULES(librrd, librrd >= 1.4)
   38 
   39 # Make sure we use rrdtool paths
   40 CFLAGS="$CFLAGS $librrd_CFLAGS"
   41 CPPFLAGS="$CPPFLAGS $librrd_CPPFLAGS"
   42 LDFLAGS="$LDFLAGS $librrd_LIBS"
   43 
   44 # Checks for header files.
   45 AC_CHECK_HEADERS(sys/xattr.h)
   46 
   47 # Checks for typedefs, structures, and compiler characteristics.
   48 AC_TYPE_SIZE_T
   49 
   50 # Checks for library functions.
   51 
   52 AC_SUBST(PACKAGE_VERSION)
   53 AC_OUTPUT