Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 455984
Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +3 lines)
Line  Link Here
0
-- a/configure
0
++ b/configure
Lines 11-20 Link Here
11
  test "$IPTSRC" || return 1
11
  test "$IPTSRC" || return 1
12
12
13
  echo -n "Checking iptables sources version: "
13
  echo -n "Checking iptables sources version: "
14
  SRC="$IPTSRC/Makefile"
14
  VER=`pkg-config --modversion xtables`
15
  test -s "$SRC" || error "Please build iptables first."
16
  VER=`sed -n 's/^\(IPTABLES_\)\?VERSION[ :]= \?//p' "$SRC"`
17
  test "$VER" || error "Unknown version of iptables."
18
  if [ "$VER" = "$IPTVER" ]; then
15
  if [ "$VER" = "$IPTVER" ]; then
19
    echo "$VER (ok)"
16
    echo "$VER (ok)"
20
  else
17
  else
Lines 155-161 Link Here
155
iptables_pkg_config() {
152
iptables_pkg_config() {
156
  if [ ! "$PKGVER" ]; then
153
  if [ ! "$PKGVER" ]; then
157
    echo -n "pkg-config for version $IPTVER exists: "
154
    echo -n "pkg-config for version $IPTVER exists: "
158
    PKGVER=`pkg-config --exact-version=$IPTVER --modversion xtables 2>/dev/null`
155
    PKGVER=`pkg-config --modversion xtables 2>/dev/null`
159
    if [ $? = 0 ]; then
156
    if [ $? = 0 ]; then
160
      echo "Yes"
157
      echo "Yes"
161
    else
158
    else

Return to bug 455984