Date: Mon, 22 May 2006 15:43:00 -0800 From: Beech Rintoul <beech@alaskaparadise.com> To: freebsd-ports@freebsd.org Subject: Help with configure.in Message-ID: <200605221543.02228.beech@alaskaparadise.com>
next in thread | raw e-mail | index | archive | help
I'm working on a fix for proftpd. The developer sent me the following patch for configure.in: --- configure.in Thu Mar 9 09:12:35 2006 +++ configure.in Mon May 22 15:01:23 2006 @@ -161,12 +161,14 @@ [ if test "$withval" != "no" ; then LIB_OBJS="$LIB_OBJS getopt.o getopt1.o" - AC_CHECK_FUNCS(getopt) + AC_CHECK_FUNCS(getopt getopt_long) + AC_CHECK_HEADERS(getopt.h) fi ], [ LIB_OBJS="$LIB_OBJS getopt.o getopt1.o" - AC_CHECK_FUNCS(getopt) + AC_CHECK_FUNCS(getopt getopt_long) + AC_CHECK_HEADERS(getopt.h) ]) dnl Modules...'nuff said. @@ -850,7 +852,7 @@ ac_build_static_modules="modules/mod_cap.o $ac_build_static_modules" fi -AC_CHECK_HEADERS(ctype.h getopt.h crypt.h bstring.h iconv.h inttypes.h langinfo.h limits.h) +AC_CHECK_HEADERS(ctype.h crypt.h bstring.h iconv.h inttypes.h langinfo.h limits.h) AC_CHECK_HEADERS(string.h strings.h stropts.h) AC_CHECK_HEADERS(sys/file.h sys/mman.h sys/types.h sys/uio.h) @@ -1110,7 +1112,7 @@ ) AC_CHECK_FUNCS(getcwd getenv gethostbyname2 gethostname getnameinfo) -AC_CHECK_FUNCS(getopt_long gettimeofday hstrerror inet_aton inet_ntop inet_pton) +AC_CHECK_FUNCS(gettimeofday hstrerror inet_aton inet_ntop inet_pton) AC_CHECK_FUNCS(memcpy mempcpy mkdir mkstemp mlock mlockall munlock munlockall) AC_CHECK_FUNCS(rmdir select setgroups socket statfs strchr strcoll strerror) AC_CHECK_FUNCS(strsep strtol strtoull setprotoent setspent endprotoent) I added the patch with a version check for 4.x in the makefile.The patch applies cleanly, but now when it gets to the build stage it bails with the following: ===> Building for proftpd-1.3.0_2 cd . && autoconf autoconf: not found gmake: *** [configure] Error 127 *** Error code 2 What am I doing wrong? Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com ---------------------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605221543.02228.beech>