summaryrefslogtreecommitdiff
path: root/sysdep/autoconf.h.in
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-01-09 15:02:11 +0000
committerMartin Mares <mj@ucw.cz>1999-01-09 15:02:11 +0000
commit2f9bcf9713523f6fefecd143cc2aa2a8dda7f27f (patch)
tree3580ae083792f0e84fae328028cb59d2144769e6 /sysdep/autoconf.h.in
parent6996f459c6d8e6205bbacd83e3656b47635f7d6d (diff)
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.
Diffstat (limited to 'sysdep/autoconf.h.in')
-rw-r--r--sysdep/autoconf.h.in42
1 files changed, 42 insertions, 0 deletions
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 <syslog.h> and syslog() */
+#undef HAVE_SYSLOG
+
+/* Path to configuration files */
+#define PATH_CONFIG_DIR ?