Kill #ifdef HAVE_CONFIG_H

There no longer is an Xcode project for which it is needed.
This commit is contained in:
Jonathan Schleifer 2018-11-05 23:30:18 +01:00
parent b3244f0d9d
commit d76fc4129d
No known key found for this signature in database
GPG key ID: D83A76BFE376345E
20 changed files with 20 additions and 53 deletions

1
.gitignore vendored
View file

@ -2,6 +2,7 @@
*.dylib *.dylib
*.o *.o
*.so *.so
*.so.*
*~ *~
.deps .deps
aclocal.m4 aclocal.m4

View file

@ -3,7 +3,7 @@ set -e
# Set a version for OpenBSD # Set a version for OpenBSD
: ${AUTOCONF_VERSION:=2.69} : ${AUTOCONF_VERSION:=2.69}
: ${AUTOMAKE_VERSION:=1.15} : ${AUTOMAKE_VERSION:=1.16}
export AUTOCONF_VERSION AUTOMAKE_VERSION export AUTOCONF_VERSION AUTOMAKE_VERSION
aclocal -I build-aux/m4 aclocal -I build-aux/m4

View file

@ -37,7 +37,7 @@ INCLUDES = ${SRCS:.m=.h} \
include ../buildsys.mk include ../buildsys.mk
CPPFLAGS += -I.. -DHAVE_CONFIG_H CPPFLAGS += -I..
LD = ${OBJC} LD = ${OBJC}
FRAMEWORK_LIBS := ${OBJOPENSSL_FRAMEWORK_LIBS} ${OBJFW_FRAMEWORK_LIBS} ${LIBS} FRAMEWORK_LIBS := ${OBJOPENSSL_FRAMEWORK_LIBS} ${OBJFW_FRAMEWORK_LIBS} ${LIBS}
LIBS := ${OBJOPENSSL_LIBS} ${OBJFW_LIBS} ${LIBS} LIBS := ${OBJOPENSSL_LIBS} ${OBJFW_LIBS} ${LIBS}

View file

@ -21,9 +21,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#import "XMPPAuthenticator.h" #import "XMPPAuthenticator.h"

View file

@ -20,9 +20,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#import "XMPPCallback.h" #import "XMPPCallback.h"

View file

@ -22,9 +22,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#define XMPP_CONNECTION_M #define XMPP_CONNECTION_M

View file

@ -20,9 +20,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#import "XMPPEXTERNALAuth.h" #import "XMPPEXTERNALAuth.h"

View file

@ -21,9 +21,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#include <stdlib.h> #include <stdlib.h>

View file

@ -20,9 +20,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#include <stdlib.h> #include <stdlib.h>

View file

@ -21,9 +21,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#import "namespaces.h" #import "namespaces.h"
#import "XMPPIQ.h" #import "XMPPIQ.h"

View file

@ -21,9 +21,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#include <string.h> #include <string.h>

View file

@ -21,9 +21,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#import "XMPPMessage.h" #import "XMPPMessage.h"
#import "namespaces.h" #import "namespaces.h"

View file

@ -20,9 +20,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#import <ObjFW/ObjFW.h> #import <ObjFW/ObjFW.h>
#import <ObjFW/OFData.h> #import <ObjFW/OFData.h>

View file

@ -20,9 +20,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#import "XMPPPLAINAuth.h" #import "XMPPPLAINAuth.h"
#import "XMPPExceptions.h" #import "XMPPExceptions.h"

View file

@ -21,9 +21,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#include <inttypes.h> #include <inttypes.h>

View file

@ -21,9 +21,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#define XMPP_ROSTER_M #define XMPP_ROSTER_M

View file

@ -21,9 +21,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#import "XMPPRosterItem.h" #import "XMPPRosterItem.h"
#import "XMPPJID.h" #import "XMPPJID.h"

View file

@ -21,9 +21,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>

View file

@ -21,9 +21,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#import "XMPPStanza.h" #import "XMPPStanza.h"
#import "XMPPJID.h" #import "XMPPJID.h"

View file

@ -20,9 +20,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef HAVE_CONFIG_H #include "config.h"
# include "config.h"
#endif
#import "XMPPXMLElementBuilder.h" #import "XMPPXMLElementBuilder.h"