From a495a9ad1e4d13a2dd41a88bfb5b2ad10be38aa0 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 31 May 1996 20:59:38 +0000 Subject: [PATCH] includes ifdef'ed and clean up-ed git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@550 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/config.h.in | 6 ++++++ appl/ftp/configure | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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