I removed leading 'curl' path on the 'curlbuild.h' include statement in
curl.h, adjusting auto-makefiles include path, to enhance portability to OS's without an orthogonal directory tree structure such as OS/400.
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -6,6 +6,11 @@
|
|||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
|
Yang Tse (5 Nov 2009)
|
||||||
|
- I removed leading 'curl' path on the 'curlbuild.h' include statement in
|
||||||
|
curl.h, adjusting auto-makefiles include path, to enhance portability to
|
||||||
|
OS's without an orthogonal directory tree structure such as OS/400.
|
||||||
|
|
||||||
Daniel Stenberg (4 Nov 2009)
|
Daniel Stenberg (4 Nov 2009)
|
||||||
- I fixed several problems with the transfer progress meter. It showed the
|
- I fixed several problems with the transfer progress meter. It showed the
|
||||||
wrong percentage for small files, most notable for <1000 bytes and could
|
wrong percentage for small files, most notable for <1000 bytes and could
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ This release includes the following changes:
|
|||||||
This release includes the following bugfixes:
|
This release includes the following bugfixes:
|
||||||
|
|
||||||
o progress meter percentage and transfer time estimates fixes
|
o progress meter percentage and transfer time estimates fixes
|
||||||
|
o portability enhancement for OS's without orthogonal directory tree structure
|
||||||
|
|
||||||
This release includes the following known bugs:
|
This release includes the following known bugs:
|
||||||
|
|
||||||
|
|||||||
@@ -12,10 +12,12 @@ EXTRA_DIST = README Makefile.example Makefile.inc Makefile.m32 \
|
|||||||
# being currently built and tested are searched before the library which
|
# being currently built and tested are searched before the library which
|
||||||
# might possibly already be installed in the system.
|
# might possibly already be installed in the system.
|
||||||
#
|
#
|
||||||
# $(top_builddir)/include is for libcurl's generated curl/curlbuild.h file
|
# $(top_builddir)/include/curl for generated curlbuild.h included from curl.h
|
||||||
|
# $(top_builddir)/include for generated curlbuild.h included from lib/setup.h
|
||||||
# $(top_srcdir)/include is for libcurl's external include files
|
# $(top_srcdir)/include is for libcurl's external include files
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include \
|
INCLUDES = -I$(top_builddir)/include/curl \
|
||||||
|
-I$(top_builddir)/include \
|
||||||
-I$(top_srcdir)/include
|
-I$(top_srcdir)/include
|
||||||
|
|
||||||
LIBDIR = $(top_builddir)/lib
|
LIBDIR = $(top_builddir)/lib
|
||||||
|
|||||||
@@ -31,16 +31,8 @@
|
|||||||
* http://cool.haxx.se/mailman/listinfo/curl-library/
|
* http://cool.haxx.se/mailman/listinfo/curl-library/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* Leading 'curl' path on the 'curlbuild.h' include statement is
|
|
||||||
* required to properly allow building outside of the source tree,
|
|
||||||
* due to the fact that in this case 'curlbuild.h' is generated in
|
|
||||||
* a subdirectory of the build tree while 'curl.h actually remains
|
|
||||||
* in a subdirectory of the source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "curlver.h" /* libcurl version defines */
|
#include "curlver.h" /* libcurl version defines */
|
||||||
#include "curl/curlbuild.h" /* libcurl build definitions */
|
#include "curlbuild.h" /* libcurl build definitions */
|
||||||
#include "curlrules.h" /* libcurl rules enforcement */
|
#include "curlrules.h" /* libcurl rules enforcement */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -50,7 +50,8 @@ LIBCURL_LIBS = @LIBCURL_LIBS@
|
|||||||
# being currently built and tested are searched before the library which
|
# being currently built and tested are searched before the library which
|
||||||
# might possibly already be installed in the system.
|
# might possibly already be installed in the system.
|
||||||
#
|
#
|
||||||
# $(top_builddir)/include is for libcurl's generated curl/curlbuild.h file
|
# $(top_builddir)/include/curl for generated curlbuild.h included from curl.h
|
||||||
|
# $(top_builddir)/include for generated curlbuild.h included from lib/setup.h
|
||||||
# $(top_srcdir)/include is for libcurl's external include files
|
# $(top_srcdir)/include is for libcurl's external include files
|
||||||
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
|
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
|
||||||
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "private" files
|
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "private" files
|
||||||
@@ -58,14 +59,16 @@ LIBCURL_LIBS = @LIBCURL_LIBS@
|
|||||||
# $(top_srcdir)/ares is for in-tree c-ares's external include files
|
# $(top_srcdir)/ares is for in-tree c-ares's external include files
|
||||||
|
|
||||||
if USE_EMBEDDED_ARES
|
if USE_EMBEDDED_ARES
|
||||||
INCLUDES = -I$(top_builddir)/include \
|
INCLUDES = -I$(top_builddir)/include/curl \
|
||||||
|
-I$(top_builddir)/include \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_builddir)/lib \
|
-I$(top_builddir)/lib \
|
||||||
-I$(top_srcdir)/lib \
|
-I$(top_srcdir)/lib \
|
||||||
-I$(top_builddir)/ares \
|
-I$(top_builddir)/ares \
|
||||||
-I$(top_srcdir)/ares
|
-I$(top_srcdir)/ares
|
||||||
else
|
else
|
||||||
INCLUDES = -I$(top_builddir)/include \
|
INCLUDES = -I$(top_builddir)/include/curl \
|
||||||
|
-I$(top_builddir)/include \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_builddir)/lib \
|
-I$(top_builddir)/lib \
|
||||||
-I$(top_srcdir)/lib
|
-I$(top_srcdir)/lib
|
||||||
|
|||||||
@@ -27,14 +27,16 @@ AUTOMAKE_OPTIONS = foreign nostdinc
|
|||||||
# being currently built and tested are searched before the library which
|
# being currently built and tested are searched before the library which
|
||||||
# might possibly already be installed in the system.
|
# might possibly already be installed in the system.
|
||||||
#
|
#
|
||||||
# $(top_builddir)/include is for libcurl's generated curl/curlbuild.h file
|
# $(top_builddir)/include/curl for generated curlbuild.h included from curl.h
|
||||||
|
# $(top_builddir)/include for generated curlbuild.h included from lib/setup.h
|
||||||
# $(top_srcdir)/include is for libcurl's external include files
|
# $(top_srcdir)/include is for libcurl's external include files
|
||||||
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
|
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
|
||||||
# $(top_builddir)/src is for curl's generated src/curl_config.h file
|
# $(top_builddir)/src is for curl's generated src/curl_config.h file
|
||||||
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files
|
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files
|
||||||
# $(top_srcdir)/src is for curl's src/setup.h and "curl-private" files
|
# $(top_srcdir)/src is for curl's src/setup.h and "curl-private" files
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include \
|
INCLUDES = -I$(top_builddir)/include/curl \
|
||||||
|
-I$(top_builddir)/include \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_builddir)/lib \
|
-I$(top_builddir)/lib \
|
||||||
-I$(top_builddir)/src \
|
-I$(top_builddir)/src \
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ AUTOMAKE_OPTIONS = foreign nostdinc
|
|||||||
# being currently built and tested are searched before the library which
|
# being currently built and tested are searched before the library which
|
||||||
# might possibly already be installed in the system.
|
# might possibly already be installed in the system.
|
||||||
#
|
#
|
||||||
# $(top_builddir)/include is for libcurl's generated curl/curlbuild.h file
|
# $(top_builddir)/include/curl for generated curlbuild.h included from curl.h
|
||||||
|
# $(top_builddir)/include for generated curlbuild.h included from lib/setup.h
|
||||||
# $(top_srcdir)/include is for libcurl's external include files
|
# $(top_srcdir)/include is for libcurl's external include files
|
||||||
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
|
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
|
||||||
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files
|
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files
|
||||||
@@ -35,14 +36,16 @@ AUTOMAKE_OPTIONS = foreign nostdinc
|
|||||||
# $(top_srcdir)/ares is for in-tree c-ares's external include files
|
# $(top_srcdir)/ares is for in-tree c-ares's external include files
|
||||||
|
|
||||||
if USE_EMBEDDED_ARES
|
if USE_EMBEDDED_ARES
|
||||||
INCLUDES = -I$(top_builddir)/include \
|
INCLUDES = -I$(top_builddir)/include/curl \
|
||||||
|
-I$(top_builddir)/include \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_builddir)/lib \
|
-I$(top_builddir)/lib \
|
||||||
-I$(top_srcdir)/lib \
|
-I$(top_srcdir)/lib \
|
||||||
-I$(top_builddir)/ares \
|
-I$(top_builddir)/ares \
|
||||||
-I$(top_srcdir)/ares
|
-I$(top_srcdir)/ares
|
||||||
else
|
else
|
||||||
INCLUDES = -I$(top_builddir)/include \
|
INCLUDES = -I$(top_builddir)/include/curl \
|
||||||
|
-I$(top_builddir)/include \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_builddir)/lib \
|
-I$(top_builddir)/lib \
|
||||||
-I$(top_srcdir)/lib
|
-I$(top_srcdir)/lib
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ AUTOMAKE_OPTIONS = foreign nostdinc
|
|||||||
# being currently built and tested are searched before the library which
|
# being currently built and tested are searched before the library which
|
||||||
# might possibly already be installed in the system.
|
# might possibly already be installed in the system.
|
||||||
#
|
#
|
||||||
# $(top_builddir)/include is for libcurl's generated curl/curlbuild.h file
|
# $(top_builddir)/include/curl for generated curlbuild.h included from curl.h
|
||||||
|
# $(top_builddir)/include for generated curlbuild.h included from lib/setup.h
|
||||||
# $(top_srcdir)/include is for libcurl's external include files
|
# $(top_srcdir)/include is for libcurl's external include files
|
||||||
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
|
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
|
||||||
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files
|
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files
|
||||||
@@ -35,14 +36,16 @@ AUTOMAKE_OPTIONS = foreign nostdinc
|
|||||||
# $(top_srcdir)/ares is for in-tree c-ares's external include files
|
# $(top_srcdir)/ares is for in-tree c-ares's external include files
|
||||||
|
|
||||||
if USE_EMBEDDED_ARES
|
if USE_EMBEDDED_ARES
|
||||||
INCLUDES = -I$(top_builddir)/include \
|
INCLUDES = -I$(top_builddir)/include/curl \
|
||||||
|
-I$(top_builddir)/include \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_builddir)/lib \
|
-I$(top_builddir)/lib \
|
||||||
-I$(top_srcdir)/lib \
|
-I$(top_srcdir)/lib \
|
||||||
-I$(top_builddir)/ares \
|
-I$(top_builddir)/ares \
|
||||||
-I$(top_srcdir)/ares
|
-I$(top_srcdir)/ares
|
||||||
else
|
else
|
||||||
INCLUDES = -I$(top_builddir)/include \
|
INCLUDES = -I$(top_builddir)/include/curl \
|
||||||
|
-I$(top_builddir)/include \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_builddir)/lib \
|
-I$(top_builddir)/lib \
|
||||||
-I$(top_srcdir)/lib
|
-I$(top_srcdir)/lib
|
||||||
|
|||||||
Reference in New Issue
Block a user