From: Miek Gieben Date: Thu, 9 Dec 2004 12:49:34 +0000 (+0000) Subject: configure stuff done as Erik said X-Git-Tag: release-0.50~734 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb71394476cb766e9ae8f6ae57c5ed3848b8cbbe;p=thirdparty%2Fldns.git configure stuff done as Erik said --- diff --git a/Makefile.in b/Makefile.in index bd893b60..c4cecf77 100644 --- a/Makefile.in +++ b/Makefile.in @@ -9,7 +9,7 @@ mandir = @mandir@ CC = @CC@ OURCFLAGS = -g -Wall -Wwrite-strings #-Wunused-value -Wunused-parameter -CFLAGS = @CFLAGS@ $(OURCFLAGS) +CFLAGS = @CFLAGS@ -I$(srcdir) $(OURCFLAGS) LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ diff --git a/common.h.in b/common.h.in deleted file mode 100644 index af7eaa34..00000000 --- a/common.h.in +++ /dev/null @@ -1,77 +0,0 @@ -/* common.h.in. Generated from configure.ac by autoheader. */ - -/* Define to 1 if you have the header file. */ -#undef HAVE_ASSERT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_GETOPT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_NETINET_IN_HCTYPE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_OPENSSL_SSL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDIO_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_MOUNT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_PARAM_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* System configuration dir */ -#undef SYSCONFDIR - -/* Define to 1 if on AIX 3. - System headers sometimes define this. - We just want to avoid a redefinition error message. */ -#ifndef _ALL_SOURCE -# undef _ALL_SOURCE -#endif diff --git a/main.c b/main.c index 87ff7d2a..4f6ca2c3 100644 --- a/main.c +++ b/main.c @@ -3,7 +3,7 @@ * */ -#include "common.h" +#include #include "rdata.h" #include "rr.h" diff --git a/packet.h b/packet.h index 7551bda6..f391e814 100644 --- a/packet.h +++ b/packet.h @@ -13,7 +13,6 @@ #else #define _PACKET_H -#include "common.h" #include "rdata.h" #include "rr.h" diff --git a/prototype.h b/prototype.h index 974c0eee..be8ac32b 100644 --- a/prototype.h +++ b/prototype.h @@ -13,8 +13,6 @@ #else #define _PROTOTYPE_H -#include "common.h" - /* util.c */ void *xmalloc(size_t); void xprintf_rd_field(t_rdata_field *); diff --git a/rdata.c b/rdata.c index 9464fbf3..dcded382 100644 --- a/rdata.c +++ b/rdata.c @@ -10,7 +10,8 @@ * See the file LICENSE for the license */ -#include "common.h" +#include + #include "rdata.h" #include "prototype.h" diff --git a/rdata.h b/rdata.h index e1fdd461..035a908e 100644 --- a/rdata.h +++ b/rdata.h @@ -13,7 +13,7 @@ #else #define _RDATA_H -#include "common.h" +#include enum type_enum_rdata { diff --git a/rr.h b/rr.h index e2599cce..a78afa96 100644 --- a/rr.h +++ b/rr.h @@ -14,7 +14,6 @@ #else #define _RR_H -#include "common.h" #include "rdata.h" #include "rr.h" diff --git a/util.c b/util.c index 3e6e1a62..5922a1c3 100644 --- a/util.c +++ b/util.c @@ -10,7 +10,8 @@ * See the file LICENSE for the license */ -#include "common.h" +#include + #include "rdata.h" #include "rr.h"