Move Autoconf's macro definitions into config.h.
This makes "make" output slightly more readable.
This commit is contained in:
1 parent
f24230f9d9
commit
f730dded18
44 files changed
+45
No files matched your search
@@ -1,5 +1,6 @@
|
||||
AC_PREREQ(2.59)
|
||||
AC_INIT(openflow, v0.8.1, info@openflowswitch.org)
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
AC_PROG_CC
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <getopt.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "buffer.h"
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "command-line.h"
|
||||
#include <getopt.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "csum.h"
|
||||
|
||||
/* Returns the IP checksum of the 'n' bytes in 'data'. */
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "daemon.h"
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "dhcp-client.h"
|
||||
#include <arpa/inet.h>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "dhcp.h"
|
||||
#include <arpa/inet.h>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "dpif.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "dynamic-string.h"
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
* advertising or publicity pertaining to the Software or any
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include "fatal-signal.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "fault.h"
|
||||
#include <dlfcn.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
* advertising or publicity pertaining to the Software or any
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <sys/types.h>
|
||||
#include "flow.h"
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
* advertising or publicity pertaining to the Software or any
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include "hash.h"
|
||||
|
||||
uint32_t
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "learning-switch.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
* advertising or publicity pertaining to the Software or any
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include "list.h"
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "mac-learning.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "netdev.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "netlink.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "ofp-print.h"
|
||||
#include "xtoxll.h"
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "poll-loop.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "queue.h"
|
||||
#include <assert.h>
|
||||
#include "buffer.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "random.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "rconn.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "socket-util.h"
|
||||
#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "util.h"
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "vconn.h"
|
||||
#include <arpa/inet.h>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "vconn-ssl.h"
|
||||
#include "dhparams.h"
|
||||
#include <assert.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "vconn.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "vconn.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "vlog-socket.h"
|
||||
#include <errno.h>
|
||||
#include <sys/un.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "vlog.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <errno.h>
|
||||
#include <getopt.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "chain.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "crc32.h"
|
||||
|
||||
void
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "switch-flow.h"
|
||||
#include <arpa/inet.h>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <errno.h>
|
||||
#include <getopt.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "table.h"
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "table.h"
|
||||
#include <stdlib.h>
|
||||
#include "flow.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "dhcp-client.h"
|
||||
#include <arpa/inet.h>
|
||||
#include <getopt.h>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/* A non-exhaustive test for some of the functions and macros declared in
|
||||
* list.h. */
|
||||
|
||||
#include <config.h>
|
||||
#include "list.h"
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <config.h>
|
||||
#include "type-props.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <errno.h>
|
||||
#include <getopt.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
* advertising or publicity pertaining to the Software or any
|
||||
* derivatives without specific, written prior permission.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include "vlog.h"
|
||||
|
||||
#include <dirent.h>
|
||||
|
||||
Reference in new issue
Block a user