# HG changeset patch # User Stefan Monnier # Date 1213985920 0 # Node ID ac3d7f9c33d501848e070193316118569c8a7f9a # Parent d5ad6b6af42d746ad8db27143a9ece3149158c04 Update. diff -r d5ad6b6af42d -r ac3d7f9c33d5 configure --- a/configure Fri Jun 20 18:12:01 2008 +0000 +++ b/configure Fri Jun 20 18:18:40 2008 +0000 @@ -16364,6 +16364,8 @@ + + for ac_func in gethostname getdomainname dup2 \ rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ @@ -16372,7 +16374,8 @@ __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ sendto recvfrom getsockopt setsockopt getsockname getpeername \ gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ -memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign +memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ +cfmakeraw cfsetspeed do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -18979,11 +18982,13 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -int -main () -{ -return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); +#include /* for off_t */ + #include +int +main () +{ +int (*fp) (FILE *, off_t, int) = fseeko; + return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ; return 0; } @@ -19023,11 +19028,13 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #define _LARGEFILE_SOURCE 1 -#include -int -main () -{ -return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); +#include /* for off_t */ + #include +int +main () +{ +int (*fp) (FILE *, off_t, int) = fseeko; + return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); ; return 0; } diff -r d5ad6b6af42d -r ac3d7f9c33d5 src/config.in --- a/src/config.in Fri Jun 20 18:12:01 2008 +0000 +++ b/src/config.in Fri Jun 20 18:18:40 2008 +0000 @@ -106,6 +106,12 @@ /* Define to 1 if you have the `cbrt' function. */ #undef HAVE_CBRT +/* Define to 1 if you have the `cfmakeraw' function. */ +#undef HAVE_CFMAKERAW + +/* Define to 1 if you have the `cfsetspeed' function. */ +#undef HAVE_CFSETSPEED + /* Define to 1 if you have the `closedir' function. */ #undef HAVE_CLOSEDIR