Go to file
Yang Tse 5a053ffe80 build: fix circular header inclusion with other packages
This commit renames lib/setup.h to lib/curl_setup.h and
renames lib/setup_once.h to lib/curl_setup_once.h.

Removes the need and usage of a header inclusion guard foreign
to libcurl. [1]

Removes the need and presence of an alarming notice we carried
in old setup_once.h [2]

----------------------------------------

1 - lib/setup_once.h used __SETUP_ONCE_H macro as header inclusion guard
    up to commit ec691ca3 which changed this to HEADER_CURL_SETUP_ONCE_H,
    this single inclusion guard is enough to ensure that inclusion of
    lib/setup_once.h done from lib/setup.h is only done once.

    Additionally lib/setup.h has always used __SETUP_ONCE_H macro to
    protect inclusion of setup_once.h even after commit ec691ca3, this
    was to avoid a circular header inclusion triggered when building a
    c-ares enabled version with c-ares sources available which also has
    a setup_once.h header. Commit ec691ca3 exposes the real nature of
    __SETUP_ONCE_H usage in lib/setup.h, it is a header inclusion guard
    foreign to libcurl belonging to c-ares's setup_once.h

    The renaming this commit does, fixes the circular header inclusion,
    and as such removes the need and usage of a header inclusion guard
    foreign to libcurl. Macro __SETUP_ONCE_H no longer used in libcurl.

2 - Due to the circular interdependency of old lib/setup_once.h and the
    c-ares setup_once.h header, old file lib/setup_once.h has carried
    back from 2006 up to now days an alarming and prominent notice about
    the need of keeping libcurl's and c-ares's setup_once.h in sync.

    Given that this commit fixes the circular interdependency, the need
    and presence of mentioned notice is removed.

    All mentioned interdependencies come back from now old days when
    the c-ares project lived inside a curl subdirectory. This commit
    removes last traces of such fact.
2013-01-09 00:49:50 +01:00
CMake
docs build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
include build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
lib build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
m4 build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
packages build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
perl
src build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
tests build: fix circular header inclusion with other packages 2013-01-09 00:49:50 +01:00
winbuild Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
.gitattributes
.gitignore
acinclude.m4 configure: fix cross pkg-config detection 2012-12-08 22:10:02 +01:00
Android.mk
buildconf Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
buildconf.bat curl tool: renaming hugehelp files to tool_hugehelp 2012-12-26 23:30:54 +01:00
CHANGES
CHANGES.0
CMakeLists.txt Revert changes relative to lib/*.[ch] recent renaming 2013-01-06 18:20:27 +01:00
configure.ac Revert "configure: update req to 2.59" 2013-01-08 19:02:13 +01:00
COPYING
CTestConfig.cmake
curl-config.in build: prevent global LIBS from influencing src and lib build targets 2012-12-03 22:41:18 +01:00
curl-style.el
GIT-INFO curl tool: renaming hugehelp files to tool_hugehelp 2012-12-26 23:30:54 +01:00
install-sh
libcurl.pc.in build: prevent global LIBS from influencing src and lib build targets 2012-12-03 22:41:18 +01:00
log2changes.pl
MacOSX-Framework
Makefile.am test: offer "automake" output and check for perl better 2012-11-23 11:56:26 +01:00
Makefile.dist
Makefile.msvc.names
maketgz
missing
mkinstalldirs
README
RELEASE-NOTES RELEASE-NOTES: synced with e3ed2b82e6 2012-12-27 20:15:07 +01:00
sample.emacs
TODO-RELEASE TODO-RELEASE: cleanup for 7.28.0 2012-10-09 00:34:16 +02:00
vc6curl.dsw

                                  _   _ ____  _
                              ___| | | |  _ \| |
                             / __| | | | |_) | |
                            | (__| |_| |  _ <| |___
                             \___|\___/|_| \_\_____|

README

  Curl is a command line tool for transferring data specified with URL
  syntax. Find out how to use curl by reading the curl.1 man page or the
  MANUAL document. Find out how to install Curl by reading the INSTALL
  document.

  libcurl is the library curl is using to do its job. It is readily
  available to be used by your software. Read the libcurl.3 man page to
  learn how!

  You find answers to the most frequent questions we get in the FAQ document.

  Study the COPYING file for distribution terms and similar. If you distribute
  curl binaries or other binaries that involve libcurl, you might enjoy the
  LICENSE-MIXING document.

CONTACT

  If you have problems, questions, ideas or suggestions, please contact us
  by posting to a suitable mailing list. See http://curl.haxx.se/mail/

  All contributors to the project are listed in the THANKS document.

WEB SITE

  Visit the curl web site for the latest news and downloads:

        http://curl.haxx.se/

GIT

  To download the very latest source off the GIT server do this:

    git clone git://github.com/bagder/curl.git

  (you'll get a directory named curl created, filled with the source code)

NOTICE

  Curl contains pieces of source code that is Copyright (c) 1998, 1999
  Kungliga Tekniska Högskolan. This notice is included here to comply with the
  distribution terms.