Config.status on OS X
   
    Sebastian Hagedorn
     
    Hagedorn@spinfo.uni-koeln.de
       
    Wed Jun 20 16:06:02 2001
    
    
  
--==========81895628==========
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
--On Tuesday, June 19, 2001 20:08:16 +0200 Werner Koch <wk@gnupg.org> =
wrote:
>  || On Tue, 19 Jun 2001 19:52:06 +0200
>  || Sebastian Hagedorn <Hagedorn@spinfo.uni-koeln.de> wrote:
>
>  sh> takes minutes between tests), but it is successful. Then, when I try
>  sh> to run autoconf 2.50 with the configure.in from gnupg-1.0.5 I get
> this
>
> Autoconf 2.13 and 2.50 are not compatible.  You can't just replace
> autoconf without changing some of the GnuPG config stuff.
Well, I guess that explains that...
So, would you be willing to include a 'unset CDPATH' to gnupg's=20
configure.in?
--On Tuesday, June 19, 2001 20:14:52 +0200 Akim Demaille <akim@epita.fr>=20
wrote:
>| Then, when I try
>| to run autoconf 2.50 with the configure.in from gnupg-1.0.5 I get this
>| result:
>|
>|
>| [localhost:~/ftp/gnupg-1.0.5] hgd% autoconf -v
>| ./aclocal.m4:798: error: m4_defn: undefined: _m4_divert_diversion
>| acspecific.m4:434: AC_SYS_LARGEFILE is expanded from...
>| ./aclocal.m4:798: the top level
>|
>| I have no idea what this means...
>
> Well, have a look a ./aclocal.m4:798 and tell us what's in there.
In the light of Werner Koch's comment I'm not sure how useful this is, but=20
here goes:
AC_DEFUN(AC_SYS_LARGEFILE,
  [AC_ARG_ENABLE(largefile,
     [  --disable-largefile     omit support for large files])
   if test "$enable_largefile" !=3D no; then
     AC_CACHE_CHECK([for special C compiler options needed for large =
files],
       ac_cv_sys_largefile_CC,
       [ac_cv_sys_largefile_CC=3Dno
        if test "$GCC" !=3D yes; then
         # IRIX 6.2 and later do not support large files by default,
         # so use the C compiler's -n32 option if that helps.
         AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , ,
           [ac_save_CC=3D"$CC"
            CC=3D"$CC -n32"
            AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, ,
              ac_cv_sys_largefile_CC=3D' -n32')
            CC=3D"$ac_save_CC"])
        fi])
     if test "$ac_cv_sys_largefile_CC" !=3D no; then
       CC=3D"$CC$ac_cv_sys_largefile_CC"
     fi
     AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
       ac_cv_sys_file_offset_bits,
       [Number of bits in a file offset, on hosts where this is settable.])
     AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
       ac_cv_sys_largefile_source,
       [Define to make ftello visible on some hosts (e.g. HP-UX 10.20).],
       [#include <stdio.h>], [return !ftello;])
     AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
       ac_cv_sys_large_files,
       [Define for large files, on AIX-style hosts.])
     AC_SYS_LARGEFILE_MACRO_VALUE(_XOPEN_SOURCE, 500,
       ac_cv_sys_xopen_source,
       [Define to make ftello visible on some hosts (e.g. glibc 2.1.3).],
       [#include <stdio.h>], [return !ftello;])
   fi
  ])
Greetings, Sebastian
--
Sebastian Hagedorn
Ehrenfeldg=FCrtel 156
50823 K=F6ln
http://www.spinfo.uni-koeln.de/~hgd/
--==========81895628==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
--==========81895628==========--