diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-07-01 16:54:08 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-07-01 16:54:08 +0000 |
commit | e72637a2022c33425341ab26790d19f88d18fec5 (patch) | |
tree | 6e05468152b570260c6e3dbc5ed21b1c18144caa | |
parent | 197ed6c695bd3bf8040fe5df91ceece243d78a81 (diff) | |
download | fetchmail-e72637a2022c33425341ab26790d19f88d18fec5.tar.gz fetchmail-e72637a2022c33425341ab26790d19f88d18fec5.tar.bz2 fetchmail-e72637a2022c33425341ab26790d19f88d18fec5.zip |
Some configuration cleanup.
svn path=/trunk/; revision=1133
-rw-r--r-- | Makefile.in | 3 | ||||
-rw-r--r-- | alloca.c | 2 | ||||
-rw-r--r-- | daemon.c | 2 | ||||
-rw-r--r-- | etrn.c | 5 | ||||
-rw-r--r-- | fetchmail.c | 2 | ||||
-rw-r--r-- | getopt.c | 2 | ||||
-rw-r--r-- | getopt1.c | 2 | ||||
-rw-r--r-- | getpass.c | 3 | ||||
-rw-r--r-- | imap.c | 2 | ||||
-rw-r--r-- | interface.c | 2 | ||||
-rw-r--r-- | md5c.c | 2 | ||||
-rw-r--r-- | options.c | 2 | ||||
-rw-r--r-- | pop2.c | 3 | ||||
-rw-r--r-- | pop3.c | 2 | ||||
-rw-r--r-- | rcfile_l.l | 2 | ||||
-rw-r--r-- | rcfile_y.y | 2 | ||||
-rw-r--r-- | report.c | 2 | ||||
-rw-r--r-- | socket.c | 3 | ||||
-rw-r--r-- | uid.c | 4 | ||||
-rw-r--r-- | xmalloc.c | 2 |
20 files changed, 26 insertions, 23 deletions
diff --git a/Makefile.in b/Makefile.in index 974a6b64..057b397a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -106,9 +106,8 @@ fetchmail: $(objs) rfc822: rfc822.c gcc -DTESTMAIN -g rfc822.c -o rfc822 -# -I. is needed to find config.h in the build directory. .c.o: - $(CC) $(defines) -c -I. -I$(srcdir) $(CFLAGS) $< $(OUTPUT_OPTION) + $(CC) $(defines) -c -I$(srcdir) $(CFLAGS) $< $(OUTPUT_OPTION) # lex rule .l.o: @@ -22,7 +22,7 @@ your main control loop, etc. to force garbage collection. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #ifdef emacs @@ -4,7 +4,7 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> +#include "config.h" #include <stdio.h> #include <errno.h> @@ -14,6 +14,9 @@ #include "smtp.h" #include "socket.h" +#ifdef HAVE_GETHOSTBYNAME +#include <netdb.h> + static int etrn_ok (int sock, char *argbuf) /* parse command response */ { @@ -187,4 +190,6 @@ int doETRN (struct query *ctl) return(do_protocol(ctl, &etrn)); } +#endif /* HAVE_GETHOSTBYNAME */ + /* etrn.c ends here */ diff --git a/fetchmail.c b/fetchmail.c index 28b82e96..d4edf85c 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -4,7 +4,7 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> +#include "config.h" #include <stdio.h> #include <ctype.h> @@ -27,7 +27,7 @@ #endif #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #if !defined (__STDC__) || !__STDC__ @@ -17,7 +17,7 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include "getopt.h" @@ -10,7 +10,8 @@ ***********************************************************************/ -#include <config.h> +#include "config.h" + #include <stdio.h> #include <signal.h> #include <fcntl.h> @@ -5,7 +5,7 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> +#include "config.h" #include <stdio.h> #include <string.h> #include <ctype.h> diff --git a/interface.c b/interface.c index 1dbc7d39..295bb3be 100644 --- a/interface.c +++ b/interface.c @@ -13,7 +13,7 @@ #ifdef linux -#include <config.h> +#include "config.h" #include <stdio.h> #include <string.h> #if defined(STDC_HEADERS) @@ -23,7 +23,7 @@ These notices must be retained in any copies of any part of this documentation and/or software. */ -#include <config.h> +#include "config.h" #include "md5global.h" #include "md5.h" @@ -4,7 +4,7 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> +#include "config.h" #include <stdio.h> #include <pwd.h> @@ -5,7 +5,8 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> +#include "config.h" + #ifdef POP2_ENABLE #include <stdio.h> #if defined(STDC_HEADERS) @@ -4,7 +4,7 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> +#include "config.h" #include <stdio.h> #include <string.h> @@ -6,7 +6,7 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> +#include "config.h" #include "fetchmail.h" #include "rcfile_y.h" @@ -5,7 +5,7 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> +#include "config.h" #include <stdio.h> #include <sys/types.h> #include <sys/file.h> @@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ */ #ifdef HAVE_CONFIG_H -# include <config.h> +# include "config.h" #endif #include <stdio.h> @@ -4,8 +4,7 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> - +#include "config.h" #include <stdio.h> #include <string.h> #include <sys/types.h> @@ -4,15 +4,13 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> +#include "config.h" #include <stdio.h> - #if defined(STDC_HEADERS) #include <stdlib.h> #include <string.h> #endif - #if defined(HAVE_UNISTD_H) #include <unistd.h> #endif @@ -4,7 +4,7 @@ * For license terms, see the file COPYING in this directory. */ -#include <config.h> +#include "config.h" #include <stdio.h> #include <errno.h> #include <string.h> |