ait/os/config.h.in
branchom
changeset 2 c9bf2537109a
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ait/os/config.h.in	Tue Nov 12 11:31:34 2013 +0100
     1.3 @@ -0,0 +1,107 @@
     1.4 +/**
     1.5 + * config.h.in
     1.6 + *
     1.7 + * Template for config.h
     1.8 + * This file gets modified and expanded by cmake.
     1.9 + *
    1.10 + * Copyright (C) 2012, 2013 AIT Austrian Institute of Technology
    1.11 + * AIT Austrian Institute of Technology GmbH
    1.12 + * Donau-City-Strasse 1 | 1220 Vienna | Austria
    1.13 + * http://www.ait.ac.at
    1.14 + *
    1.15 + * This library is free software; you can redistribute it and/or
    1.16 + * modify it under the terms of the GNU Lesser General Public
    1.17 + * License version 2.1 as published by the Free Software Foundation.
    1.18 + *
    1.19 + * This library is distributed in the hope that it will be useful,
    1.20 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.21 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.22 + * Lesser General Public License for more details.
    1.23 + *
    1.24 + * You should have received a copy of the GNU Lesser General Public
    1.25 + * License along with this library; if not, write to the
    1.26 + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    1.27 + * Boston, MA 02110-1301, USA.
    1.28 + */
    1.29 +
    1.30 +
    1.31 +#ifndef __CONFIG_H
    1.32 +#define __CONFIG_H
    1.33 +
    1.34 +
    1.35 +// ------------------------------------------------------------
    1.36 +// check defs (headers only)
    1.37 +
    1.38 +
    1.39 +// standard C headers
    1.40 +#cmakedefine HAVE_STDIO_H 1
    1.41 +#cmakedefine HAVE_STDDEF_H 1
    1.42 +#cmakedefine HAVE_STDLIB_H 1
    1.43 +#cmakedefine HAVE_INTTYPES_H 1
    1.44 +#cmakedefine HAVE_MEMORY_H 1
    1.45 +#cmakedefine HAVE_STRING_H 1
    1.46 +#cmakedefine HAVE_UNISTD_H 1
    1.47 +
    1.48 +// stdbool.h
    1.49 +#cmakedefine HAVE_STDBOOL_H 1
    1.50 +
    1.51 +// endian.h
    1.52 +#cmakedefine HAVE_ENDIAN_H 1
    1.53 +
    1.54 +// time system headers
    1.55 +#cmakedefine HAVE_SYS_TIME_H 1
    1.56 +#cmakedefine HAVE_SYS_TIMES_H 1
    1.57 +#cmakedefine HAVE_TIME_H 1
    1.58 +
    1.59 +// files
    1.60 +#cmakedefine HAVE_FCNTL_H 1
    1.61 +#cmakedefine HAVE_SYS_STAT_H 1
    1.62 +
    1.63 +
    1.64 +// some math
    1.65 +#cmakedefine HAVE_MATH_H 1
    1.66 +
    1.67 +// networking
    1.68 +#cmakedefine HAVE_NETDB_H 1
    1.69 +#cmakedefine HAVE_IFADDRS_H 1
    1.70 +#cmakedefine HAVE_NETINET_IN_H 1
    1.71 +#cmakedefine HAVE_ARPA_INET_H 1
    1.72 +#cmakedefine HAVE_SYS_SOCKET_H 1
    1.73 +#cmakedefine HAVE_SYS_UN_H 1
    1.74 +
    1.75 +// assert.h
    1.76 +#cmakedefine HAVE_ASSERT_H 1
    1.77 +
    1.78 +// signal.h
    1.79 +#cmakedefine HAVE_SIGNAL_H 1
    1.80 +
    1.81 +// sys/uio.h
    1.82 +#cmakedefine HAVE_SYS_UIO_H 1
    1.83 +
    1.84 +// syslog.h
    1.85 +#cmakedefine HAVE_SYSLOG_H 1
    1.86 +
    1.87 +// errno.h
    1.88 +#cmakedefine HAVE_ERRNO_H 1
    1.89 +
    1.90 +// limits.h
    1.91 +#cmakedefine HAVE_LIMITS_H 1
    1.92 +
    1.93 +// memory management
    1.94 +#cmakedefine HAVE_SYS_MMAN_H 1
    1.95 +
    1.96 +// directory entries
    1.97 +#cmakedefine HAVE_DIRENT_H 1
    1.98 +
    1.99 +// sys/uio.h
   1.100 +#cmakedefine HAVE_SYS_UIO_H 1
   1.101 +
   1.102 +// iconv.h
   1.103 +#cmakedefine HAVE_ICONV_H 1
   1.104 +
   1.105 +// fuse
   1.106 +#cmakedefine HAVE_FUSE_H 1
   1.107 +
   1.108 +
   1.109 +#endif
   1.110 +