bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] configure.ac rewrite


From: Mats Erik Andersson
Subject: Re: [bug-inetutils] configure.ac rewrite
Date: Sat, 18 Jun 2011 18:56:26 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

lördag den 18 juni 2011 klockan 10:39 skrev Alfred M. Szmidt detta:
> So every ten years I seem to manage to rewrite configure.ac to follow
> more modern principles.  Here is this decades version that I am
> working one.  Mats, if you have time, could you try it out?  I am
> guessing that things will break, I haven't really tested it very much
> other than "it compiles on my box" and I know that some checks are
> skipped.

My actions:

   * Using HEAD, and 'rsync -Ca' into fresh location.
   * Inserting 'signal' in 'bootstrap.conf'.
   * Bootstrap using GNU/Linux.
   * Transport to OpenBSD and NexentaCore.

Results:

   * Both systems are able to complete the configuration.
   * Run 'gmake' on OpenBSD, 'make' on NexentaCore.

   * OpenBSD:

     - The checking with 'config.status' does not spawn
       a reconfiguration. This is in contrast to the old
       'configuration.ac'!

     - The GNUlib portion compiles without fuzz.

     - Compilation proceeds in 'libinetutils/', until

         CC   daemon.o
       daemon.c:108: error: syntax error before "waitdaemon_timeout"
       daemon.c:109: warning: return type defaults to `int'
       daemon.c: In function `waitdaemon':
       daemon.c.142: warning: passing arg 2 of `signal' from incompatible \
                             pointer type
       gmake[2]: ...

     - Using the old 'configure.ac', the compilation would go to completion

   * NexentaCore:

     - 'config.status' initiates a renew configuration run.
       This happened also yesterday.

     - The GNUlib portion compiles without fuzz.

     - Compilation proceeds in 'libinetutils/', until

         CC   cleansess.o
       cleansess.c: In function 'cleanup_session':
       cleansess.c:58: warning: implicit declaration of 'logout'
       cleansess.c:59: warning: implicit declaration of 'logwtmp'
         CC   daemon.o
       daemon.c:108: error: expected '=', ',', ';', 'asm' or '__attribute__' \
                              before 'waitdaemon_timeout'
       daemon.c: In function 'waitdaemon':
       daemon.c:142: error: 'waitdaemon_timeout' undeclared (first use ... )
                              ...
       make[2]: ...

     - This is less progress that the old 'configure.ac' allowed yesterday.
       No complaints about 'argv.o', but 'cleansess.o' is already the second
       attempted object file.

Since both systems complain about 'daemon.o', some relevant setting must
have eludd your attention.

Best regards,
  Mats



reply via email to

[Prev in Thread] Current Thread [Next in Thread]