use -Wl on -no-undefined as it is a linker option:


git-svn-id: https://gnunet.org/svn/libmicrohttpd@32033 140774ce-b5e7-0310-ab8b-a85725594a96
Add decl check for _stati64 (required for newer plibc)

Remove redundant -no-undefined (it's part of mandatory MHD_LIB_LDFLAGS
now)

Remove --export-all-symbols for W32 (visibility is used instead)
Add -fvisibility=hidden configure check (shamelessly borrowed from GTK)

Remove unused -export-symbols-regex check

Define _MHD_EXTERN to "extern" if it's undefined (this is what clients
get)

Mark all public functions with _MHD_EXTERN

Remove HIDDEN_SYMBOL definition

Don't mark hidden functions with HIDDEN_SYMBOL (everything that is not
explicitly public is hidden by default now)

Change constructor macros a bit to apply _MHD_EXTERN to them cleanly

Use HIDDEN_VISIBILITY_CFLAGS when compiling libraries

Remove EXPORT.sym files, don't mention them in EXTRA_DIST, don't use
them to define a list of exported functions

Remove redundant -no-undefined, make sure only the one that gets into
Makefiles directly remains, remove -Wl prefix from it



git-svn-id: https://gnunet.org/svn/libmicrohttpd@32036 140774ce-b5e7-0310-ab8b-a85725594a96
Replace CLOSE() -> close()
Can be used directly on W32