Here's your answer, hope it's not too much:

>> Mario Obejas <[EMAIL PROTECTED]> wrote
>cc: [EMAIL PROTECTED]
>Subject: Re: file locking, 2.4.1 vs. 2.4.2 
>Date: Mon, 19 Feb 2001 17:44:54 -0500
>From: "John R. Jackson" <[EMAIL PROTECTED]>
>
>>    When running configure for 2.4.2p1, I get:
>>checking whether posix fcntl locking works... no
>>...
>>    When running configure for 2.4.1p1, I get:
>>checking whether posix fcntl locking works... yes
>>...
>>Did the test for file locking change?
>
>"John R. Jackson" <[EMAIL PROTECTED]> wrote
>
>It's possible.  What's in config.log for the failing case?  It could
>be the locking test program just has a compilation problem.
>
In file included from common-src/amflock.c:48,
                 from configure:19266:
common-src/amanda.h:509: parse error before `areads_dataready'
common-src/amanda.h:509: warning: data definition has no type or storage class
configure: failed program was:
#line 19261 "configure"
#include "confdefs.h"

#undef  ASSERTIONS
#define CONFIGURE_TEST
#define USE_LNLOCK
#include "./common-src/amflock.c"
#include "./common-src/alloc.c"
#include "./common-src/error.c"
#include "./common-src/snprintf.c"

All the locking programs fail the same way, at the same 
line 509 in amanda.h, in 2.4.2, whereas it declares posix 
locking works right away in 2.4.1.

Comparing the config.cache (2.4.2 on the left, 2.4.1 on the right):

diff -bwt config.cache.sorted ../amanda-2.4.1
15,16d14
< ac_cv_build_system_type=${ac_cv_build_system_type='sparc-auspex-sunos4.1.4'}
< ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}
18,19d15
< ac_cv_cygwin=${ac_cv_cygwin='no'}
< ac_cv_exeext=${ac_cv_exeext='no'}
84d79
< ac_cv_func_setmntent=${ac_cv_func_setmntent='yes'}
104d98
< ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp='yes'}
123d116
< ac_cv_header_camlib_h=${ac_cv_header_camlib_h='no'}
147,148d139
< ac_cv_header_scsi_scsi_ioctl_h=${ac_cv_header_scsi_scsi_ioctl_h='no'}
< ac_cv_header_scsi_sg_h=${ac_cv_header_scsi_sg_h='no'}
154d144
< ac_cv_header_sys_dsreq_h=${ac_cv_header_sys_dsreq_h='no'}
162d151
< ac_cv_header_sys_mtio_h=${ac_cv_header_sys_mtio_h='yes'}
164d152
< ac_cv_header_sys_scarray_h=${ac_cv_header_sys_scarray_h='no'}
166,168d153
< ac_cv_header_sys_scsi_impl_uscsi_h=${ac_cv_header_sys_scsi_impl_uscsi_h='no'}
< ac_cv_header_sys_scsi_scsi_ioctl_h=${ac_cv_header_sys_scsi_scsi_ioctl_h='no'}
< ac_cv_header_sys_scsiio_h=${ac_cv_header_sys_scsiio_h='no'}
174d158
< ac_cv_header_sys_tape_h=${ac_cv_header_sys_tape_h='no'}
185d168
< ac_cv_host_system_type=${ac_cv_host_system_type='sparc-auspex-sunos4.1.4'}
200,201d182
< ac_cv_mingw32=${ac_cv_mingw32='no'}
< ac_cv_objext=${ac_cv_objext='o'}
221d201
< ac_cv_prog_AMTAR=${ac_cv_prog_AMTAR='gnutar'}
239d218
< ac_cv_target_system_type=${ac_cv_target_system_type='sparc-auspex-sunos4.1.4'}
252d230
< amanda_cv_flock_filelocking=${amanda_cv_flock_filelocking='no'}
258,260c236,237
< amanda_cv_lnlock_filelocking=${amanda_cv_lnlock_filelocking='no'}
< amanda_cv_lockf_filelocking=${amanda_cv_lockf_filelocking='no'}
< amanda_cv_posix_filelocking=${amanda_cv_posix_filelocking='no'}
---
> amanda_cv_libtool_macros=${amanda_cv_libtool_macros='no'}
> amanda_cv_posix_filelocking=${amanda_cv_posix_filelocking='yes'}
264c241,242
< cf_cv_arg_union_wait=${cf_cv_arg_union_wait='no'}
---
> cf_cv_arg_union_wait=${cf_cv_arg_union_wait='yes'}
> cf_cv_decl_union_wait=${cf_cv_decl_union_wait='yes'}
321d298
< ice_cv_have_strcasecmp_decl=${ice_cv_have_strcasecmp_decl='no'}


Jeez, I hope this helps.

TIA,
Mario Obejas
Engineering Automation & Computing
Raytheon Electronic Systems
310-334-7201 (Voice)
310-366-4867 (Pager)

Reply via email to