From 2f9bcf9713523f6fefecd143cc2aa2a8dda7f27f Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 9 Jan 1999 15:02:11 +0000 Subject: First step of "autoconfization". Created a configure script which guesses most system-dependent parameters and determines name of system configuration file (sysdep/cf/...) with the remaining ones. To compile BIRD, you now need to do: autoconf # Create configure from configure.in ./configure # Run configure script make # Compile everything Configuration files: sysdep/config.h Master config file sysdep/autoconf.h Parameters determined by configure script sysdep/cf/*.h Fixed system configuration we're unable to guess. Makefiles are still the original ones, but this will change soon. --- sysdep/autoconf.h.in | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 sysdep/autoconf.h.in (limited to 'sysdep/autoconf.h.in') diff --git a/sysdep/autoconf.h.in b/sysdep/autoconf.h.in new file mode 100644 index 00000000..a1ef2f84 --- /dev/null +++ b/sysdep/autoconf.h.in @@ -0,0 +1,42 @@ +/* + * This file contains all system parameters automatically + * discovered by the configure script. + */ + +/* System configuration file */ +#define SYSCONF_INCLUDE ? + +/* Include debugging code */ +#undef DEBUGGING + +/* 8-bit integer type */ +#define INTEGER_8 ? + +/* 16-bit integer type */ +#define INTEGER_16 ? + +/* 32-bit integer type */ +#define INTEGER_32 ? + +/* CPU endianity */ +#undef CPU_LITTLE_ENDIAN +#undef CPU_BIG_ENDIAN + +/* Usual alignment for structures */ +#define CPU_STRUCT_ALIGN 1 + +/* Characteristics of time_t */ +#undef TIME_T_IS_64BIT +#undef TIME_T_IS_SIGNED + +/* Protocols compiled in */ +#undef CONFIG_STATIC +#undef CONFIG_RIP +#undef CONFIG_BGP +#undef CONFIG_OSPF + +/* We have and syslog() */ +#undef HAVE_SYSLOG + +/* Path to configuration files */ +#define PATH_CONFIG_DIR ? -- cgit v1.2.3