Skip to content

configure checks for pkg-config but not used #18

Description

@reedjc

While wdns does provide a pkg-config .pc file, it doesn't use any pkg-config files to build. The configure.ac checks for the pkg-config so it can guess a path for installing its wdns.pc file but if doesn't exist it aborts (AC_MSG_ERROR([pkg-config is required!])).

It should not abort. The default standard is fine. My suggestion is to just remove the else there.

Two other related also minor issues:

  • uses grep -q which is not portable (well some autoconf-family code may use it and some doesn't)

  • configure --help shows default path for the pkg-cpnfig but not true for most systems:

    --with-pkgconfigdir pkg-config installation directory
    ['${prefix}/libdata/pkgconfig']

For most systems it is ${prefix}/lib/pkgconfig.

That second problem is probably copy-and-pasted from libmy. The third problem is a file included from libmy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions