Wireshark-bugs: [Wireshark-bugs] [Bug 4281] ./autogen.sh fails for wireshark build
Date: Fri, 11 Dec 2009 09:49:03 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4281

--- Comment #6 from Matt P <parrisimo@xxxxxxxxx> 2009-12-11 09:49:02 PST ---
(In reply to comment #5)
> What does the command
> 
>     egrep PKG_CONFIG /usr/X11/share/aclocal/pkg.m4
> 
> print?

# PKG_PROG_PKG_CONFIG([MIN-VERSION])
AC_DEFUN([PKG_PROG_PKG_CONFIG],
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
    AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
if test -n "$PKG_CONFIG"; then
    if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
        PKG_CONFIG=""
])# PKG_PROG_PKG_CONFIG
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
if test -n "$PKG_CONFIG" && \
    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
m4_define([_PKG_CONFIG],
 elif test -n "$PKG_CONFIG"; then
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
])# _PKG_CONFIG
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
            $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2"
2>&1`
            $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
Consider adjusting the PKG_CONFIG_PATH environment variable if you
is in your PATH or set the PKG_CONFIG environment variable to the full

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.