curl tool: use configuration files from lib directory

Configuration files such as curl_config.h and all config-*.h no longer exist
nor are generated/copied into 'src' directory, now these only exist in 'lib'
directory from where curl tool sources uses them.

Additionally old src/setup.h has been refactored into src/tool_setup.h which
now pulls lib/setup.h

The possibility of a makefile needing an include path adjustment exists.
This commit is contained in:
Yang Tse
2012-04-06 23:35:15 +02:00
parent 376b4d48fe
commit 919c97fa65
97 changed files with 324 additions and 1296 deletions

View File

@@ -1,5 +1,5 @@
#ifndef HEADER_CURL_LIB_SETUP_H
#define HEADER_CURL_LIB_SETUP_H
#ifndef HEADER_CURL_SETUP_H
#define HEADER_CURL_SETUP_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
@@ -54,8 +54,12 @@
# include "config-mac.h"
#endif
#ifdef __riscos__
# include "config-riscos.h"
#endif
#ifdef __AMIGA__
# include "amigaos.h"
# include "config-amigaos.h"
#endif
#ifdef __SYMBIAN32__
@@ -281,6 +285,16 @@
# include <ioLib.h> /* for basic I/O interface functions */
#endif
#ifdef __AMIGA__
# ifndef __ixemul__
# include <exec/types.h>
# include <exec/execbase.h>
# include <proto/exec.h>
# include <proto/dos.h>
# define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0)
# endif
#endif
#include <stdio.h>
#ifdef HAVE_ASSERT_H
#include <assert.h>
@@ -640,4 +654,4 @@ int netware_init(void);
# define SHUT_RDWR 0x02
#endif
#endif /* HEADER_CURL_LIB_SETUP_H */
#endif /* HEADER_CURL_SETUP_H */