"Fossies" - the Fresh Open Source Software Archive

Member "sitecopy-0.16.6/m4/neon/neon-test.m4" (28 Dec 2006, 1421 Bytes) of archive /linux/www/sitecopy-0.16.6.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.

    1 # Copyright (C) 2001-2006 Joe Orton <joe@manyfish.co.uk>    -*- autoconf -*-
    2 #
    3 # This file is free software; you may copy and/or distribute it with
    4 # or without modifications, as long as this notice is preserved.
    5 # This software is distributed in the hope that it will be useful, but
    6 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even
    7 # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    8 # PURPOSE.
    9 
   10 # The above license applies to THIS FILE ONLY, the neon library code
   11 # itself may be copied and distributed under the terms of the GNU
   12 # LGPL, see COPYING.LIB for more details
   13 
   14 # This file is part of the neon HTTP/WebDAV client library.
   15 # See http://www.webdav.org/neon/ for the latest version. 
   16 # Please send any feedback to <neon@webdav.org>
   17 
   18 # Tests needed for the neon-test common test code.
   19 
   20 AC_DEFUN([NE_FORMAT_TIMET], [
   21 NEON_FORMAT(time_t, [
   22 #ifdef HAVE_SYS_TIME_H
   23 #include <sys/time.h>
   24 #endif])
   25 ])
   26 
   27 AC_DEFUN([NEON_TEST], [
   28 
   29 AC_REQUIRE([NEON_COMMON_CHECKS])
   30 AC_REQUIRE([NE_FORMAT_TIMET])
   31 
   32 AC_REQUIRE([AC_TYPE_PID_T])
   33 AC_REQUIRE([AC_HEADER_TIME])
   34 
   35 dnl NEON_XML_PARSER may add things (e.g. -I/usr/local/include) to 
   36 dnl CPPFLAGS which make "gcc -Werror" fail in NEON_FORMAT; suggest
   37 dnl this macro is used first.
   38 AC_BEFORE([$0], [NEON_XML_PARSER])
   39 
   40 AC_CHECK_HEADERS(sys/time.h stdint.h locale.h)
   41 
   42 AC_CHECK_FUNCS(pipe isatty usleep shutdown setlocale)
   43 
   44 AC_REQUIRE([NE_FIND_AR])
   45 
   46 ])