diff --git a/appl/ftp/config.h.in b/appl/ftp/config.h.in index ef5fe7a55..ca2ce1b35 100644 --- a/appl/ftp/config.h.in +++ b/appl/ftp/config.h.in @@ -9,6 +9,9 @@ /* Define if you have the gethostbyname function. */ #undef HAVE_GETHOSTBYNAME +/* Define if you have the mmap function. */ +#undef HAVE_MMAP + /* Define if you have the setproctitle function. */ #undef HAVE_SETPROCTITLE @@ -21,6 +24,9 @@ /* Define if you have the header file. */ #undef HAVE_PATHS_H +/* Define if you have the header file. */ +#undef HAVE_SYS_MMAN_H + /* Define if you have the header file. */ #undef HAVE_SYS_SELECT_H diff --git a/appl/ftp/configure b/appl/ftp/configure index e00939afe..6d342cdad 100755 --- a/appl/ftp/configure +++ b/appl/ftp/configure @@ -872,7 +872,7 @@ else fi LD_FLAGS="$krb_cv_ld_flags" -for ac_hdr in sys/select.h paths.h bsd/bsd.h +for ac_hdr in sys/select.h paths.h bsd/bsd.h sys/mman.h do ac_safe=`echo "$ac_hdr" | tr './\055' '___'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 @@ -1067,7 +1067,7 @@ EOF esac -for ac_func in setproctitle +for ac_func in setproctitle mmap do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then