]> git.ipfire.org Git - thirdparty/bird.git/blame - sysdep/config.h
Merge branch 'master' into int-new
[thirdparty/bird.git] / sysdep / config.h
CommitLineData
58ef912c 1/*
2f9bcf97
MM
2 * This file contains all parameters dependent on the
3 * operating system and build-time configuration.
58ef912c
MM
4 */
5
6#ifndef _BIRD_CONFIG_H_
7#define _BIRD_CONFIG_H_
8
c36a298c
OZ
9#define XSTR2(X) #X
10#define XSTR1(X) XSTR2(X)
11
b9672a84 12/* BIRD version */
c36a298c
OZ
13#ifdef GIT_LABEL
14#define BIRD_VERSION XSTR1(GIT_LABEL)
15#else
4db4ac72 16#define BIRD_VERSION "2.0.1"
c36a298c 17#endif
b9672a84 18
2f9bcf97
MM
19/* Include parameters determined by configure script */
20#include "sysdep/autoconf.h"
58ef912c 21
2f9bcf97
MM
22/* Include OS configuration file as chosen in autoconf.h */
23#include SYSCONF_INCLUDE
58ef912c 24
ea3582a6
MM
25#ifndef MACROS_ONLY
26
cd44b466
MM
27/*
28 * Of course we could add the paths to autoconf.h, but autoconf
29 * is stupid and puts make-specific substitutious to the paths.
30 */
f9254d23
MM
31#include "sysdep/paths.h"
32
58ef912c 33/* Types */
c253ec3a 34
5d6dc930
OZ
35#include <stdint.h>
36typedef int8_t s8;
37typedef uint8_t u8;
38typedef int16_t s16;
39typedef uint16_t u16;
40typedef int32_t s32;
41typedef uint32_t u32;
42typedef int64_t s64;
43typedef uint64_t u64;
44typedef uint8_t byte;
45typedef uint16_t word;
6a8d3f1c 46typedef unsigned int uint;
58ef912c 47
ea3582a6
MM
48#endif
49
58ef912c 50#endif