[InterNetNews/inn] ce9a78: Do not include config.h in installed header files

Julien ÉLIE noreply at github.com
Fri Nov 18 21:16:08 UTC 2022


  Branch: refs/heads/2.7
  Home:   https://github.com/InterNetNews/inn
  Commit: ce9a7835cd27c050fa98d09757ed453ab6cc0964
      https://github.com/InterNetNews/inn/commit/ce9a7835cd27c050fa98d09757ed453ab6cc0964
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M include/Makefile
    M include/portable/stdbool.h
    M support/getrra-c-util

  Log Message:
  -----------
  Do not include config.h in installed header files

Including inn/storage.h in an external program makes its build fail
because of the inclusion of config.h from inn/portable-stdbool.h
unless CONFIG_H_INCLUDED is defined.
This behaviour can be improved: we now unconditionaly include config.h
in portable/stdbool.h, and inn/system.h in inn/portable-stdbool.h.

This fixes the build of external programs like newsx (where that issue was
detected).


  Commit: 824c410205cc7495122a854b38de2387e21f2404
      https://github.com/InterNetNews/inn/commit/824c410205cc7495122a854b38de2387e21f2404
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M include/Makefile

  Log Message:
  -----------
  Fix the name of the included file in comments


  Commit: f6820dffb9f5040928a2d6cc5668bdc7d43456b2
      https://github.com/InterNetNews/inn/commit/f6820dffb9f5040928a2d6cc5668bdc7d43456b2
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M include/inn/buffer.h
    M include/inn/concat.h
    M include/inn/confparse.h
    M include/inn/fdflag.h
    M include/inn/hashtab.h
    M include/inn/history.h
    M include/inn/innconf.h
    M include/inn/libinn.h
    M include/inn/list.h
    M include/inn/messages.h
    M include/inn/network-innbind.h
    M include/inn/network.h
    M include/inn/nntp.h
    M include/inn/qio.h
    M include/inn/secrets.h
    M include/inn/sequence.h
    M include/inn/storage.h
    M include/inn/timer.h
    M include/inn/tst.h
    M include/inn/utility.h
    M include/inn/vector.h
    M include/inn/wire.h
    M include/inn/xwrite.h
    M innfeed/innfeed.h
    M support/getrra-c-util

  Log Message:
  -----------
  Remove useless inclusion of inn/system.h and inn/portable-stdbool.h


  Commit: a59184e8a05932777c963688710d9d8502e8968b
      https://github.com/InterNetNews/inn/commit/a59184e8a05932777c963688710d9d8502e8968b
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M include/Makefile
    M include/inn/inndcomm.h
    M support/mksystem

  Log Message:
  -----------
  Add more Autoconf results in inn/system.h

A few Autoconf results were still used in inn/inndcomm.h,
inn/portable-getaddrinfo.h, inn/portable-getnameinfo.h and
inn/portable-socket.h files without being prepended with "INN_".  It is now
fixed, and these files correctly take the results from inn/system.h.

External programs using our include files will now always get the right
behaviour.


  Commit: a3c67b5d258dc5edb8586331eff003c9a08240f7
      https://github.com/InterNetNews/inn/commit/a3c67b5d258dc5edb8586331eff003c9a08240f7
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M doc/pod/news.pod

  Log Message:
  -----------
  Update NEWS with the fix of included headers


  Commit: 73c67c88114bc31082e104f0d2a3eff05224bd37
      https://github.com/InterNetNews/inn/commit/73c67c88114bc31082e104f0d2a3eff05224bd37
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M authprogs/Makefile
    M backends/Makefile
    M control/Makefile
    M expire/Makefile
    M frontends/Makefile
    M history/Makefile
    M innd/Makefile
    M innfeed/Makefile
    M lib/Makefile
    M nnrpd/Makefile
    M storage/Makefile

  Log Message:
  -----------
  Regenerate make dependencies


Compare: https://github.com/InterNetNews/inn/compare/3c1bae1fa01a...73c67c88114b


More information about the inn-committers mailing list