diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-11-28 23:00:51 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-11-28 23:00:51 +0100 |
commit | f712188c6240cb6f77791b4f05e55b1a001d4037 (patch) | |
tree | 172d6267972676e507507c3dec899bc55adc8dd7 | |
parent | dfde8e08f71cfd24c9c247962bb4ddbed0b089fa (diff) |
Add HAVE_CONFIG_H define so other platforms can build without config.h
-rw-r--r-- | bitlbee.h | 2 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -34,7 +34,9 @@ #define MAX_STRING 128 +#if HAVE_CONFIG_H #include "config.h" +#endif #include <fcntl.h> #include <time.h> @@ -118,6 +118,8 @@ fi echo CFLAGS+=-I`pwd` -I`pwd`/protocols -I. >> Makefile.settings +echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings + if [ -n "$CC" ]; then echo "CC=$CC" >> Makefile.settings; elif type gcc > /dev/null 2> /dev/null; then |