configure.
+Daniel (24 November 2005)
+- Doug Kaufman provided a set of patches to make curl build fine on DJGPP
+ again using configure.
+
+- Yang Tse provided a whole series of patches to clear up compiler warnings on
+ MSVC 6.
+
Daniel (17 November 2005)
- I extended a patch from David Shaw to make libcurl _always_ provide an error
string in the given error buffer to address the flaw mention on 21 sep 2005.
This release includes the following bugfixes:
+ o builds fine on DJGPP
o CURLOPT_ERRORBUFFER is now always filled in on errors
o curl outputs error on bad --limit-rate units
o fixed libcurl's use of poll() on cygwin
Dave Dribin, Bradford Bruce, Temprimus, Ofer, Dima Barsky, Amol Pattekar, Jaz
Fresh, tommink[at]post.pl, Gisle Vanem, Nis Jorgensen, Vilmos Nebehaj,
Dmitry Bartsevich, David Lang, Eugene Kotlyarov, Jan Kunder, Yang Tse,
- Quagmire, Albert Chin, David Shaw
+ Quagmire, Albert Chin, David Shaw, Doug Kaufman
Thanks! (and sorry if I forgot to mention someone)
dnl AC_PROG_GCC_TRADITIONAL
AC_TYPE_SIGNAL
dnl AC_FUNC_VPRINTF
+case $host in
+ *msdosdjgpp)
+ ac_cv_func_pipe=no
+ skipcheck_pipe=yes
+ AC_MSG_NOTICE([skip check for pipe on msdosdjgpp])
+ ;;
+esac
AC_CHECK_FUNCS( strtoll \
socket \
select \
dnl if found
[],
dnl if not found, $ac_func is the name we check for
- func="$ac_func"
+func="$ac_func"
+if test "skipcheck_$func" != "yes"; then
AC_MSG_CHECKING([deeper for $func])
AC_TRY_LINK( [],
[ $func ();],
AC_DEFINE_UNQUOTED($def, 1, [If you have $func]),
AC_MSG_RESULT(but still no)
)
-
+fi
)
dnl For some reason, the check above doesn't properly detect select() with
#ifdef HAVE_LIBGEN_H
#include <libgen.h>
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
)
AC_MSG_CHECKING([if we are Mac OS X (to disable poll)])
#define sread(x,y,z) read_s(x,y,z)
#define swrite(x,y,z) write_s(x,y,z)
#define select(n,r,w,x,t) select_s(n,r,w,x,t)
+#define ioctl(x,y,z) ioctlsocket(x,y,(char *)(z))
#define IOCTL_3_ARGS
#include <tcp.h>
#ifdef word
#endif
#define DIR_CHAR "/"
+#ifndef DOT_CHAR
#define DOT_CHAR "."
+#endif
#ifdef DJGPP
#undef DOT_CHAR
if(data->set.ioctl) {
curlioerr err;
- err = data->set.ioctl(data, CURLIOCMD_RESTARTREAD,
+ err = (data->set.ioctl) (data, CURLIOCMD_RESTARTREAD,
data->set.ioctl_client);
infof(data, "the ioctl callback returned %d\n", (int)err);
#ifdef word
#undef word
#endif
+#ifndef HAVE_LIMITS_H
#define HAVE_LIMITS_H /* we have limits.h */
+#endif
#define DIR_CHAR "/"
#define DOT_CHAR "_"
#else