--On Tuesday, June 19, 2001 20:08:16 +0200 Werner Koch <[EMAIL PROTECTED]> wrote:

>  || On Tue, 19 Jun 2001 19:52:06 +0200
>  || Sebastian Hagedorn <[EMAIL PROTECTED]> 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 
configure.in?

--On Tuesday, June 19, 2001 20:14:52 +0200 Akim Demaille <[EMAIL PROTECTED]> 
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 
here goes:

AC_DEFUN(AC_SYS_LARGEFILE,
  [AC_ARG_ENABLE(largefile,
     [  --disable-largefile     omit support for large files])
   if test "$enable_largefile" != no; then

     AC_CACHE_CHECK([for special C compiler options needed for large files],
       ac_cv_sys_largefile_CC,
       [ac_cv_sys_largefile_CC=no
        if test "$GCC" != 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="$CC"
            CC="$CC -n32"
            AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, ,
              ac_cv_sys_largefile_CC=' -n32')
            CC="$ac_save_CC"])
        fi])
     if test "$ac_cv_sys_largefile_CC" != no; then
       CC="$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ürtel 156
50823 Köln
http://www.spinfo.uni-koeln.de/~hgd/

PGP signature

Reply via email to