~ubuntu-branches/ubuntu/trusty/xtables-addons/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2011-05-09 21:42:42 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110509214242-x3qc2okkyupvefoy
Tags: 1.35-1
* Imported Upstream version 1.35
* Update version numbers for DKMS package (Closes: #620662)
* Bump Standards Version to 3.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.65 for xtables-addons 1.33.
 
3
# Generated by GNU Autoconf 2.68 for xtables-addons 1.35.
4
4
#
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
9
9
#
10
10
#
11
11
# This configure script is free software; the Free Software Foundation
89
89
IFS=" ""        $as_nl"
90
90
 
91
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
92
93
case $0 in #((
93
94
  *[\\/]* ) as_myself=$0 ;;
94
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
214
215
  # We cannot yet assume a decent shell, so we have to provide a
215
216
        # neutralization value for shells without unset; and this also
216
217
        # works around shells that cannot unset nonexistent variables.
 
218
        # Preserve -v and -x to the replacement shell.
217
219
        BASH_ENV=/dev/null
218
220
        ENV=/dev/null
219
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
222
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
223
        case $- in # ((((
 
224
          *v*x* | *x*v* ) as_opts=-vx ;;
 
225
          *v* ) as_opts=-v ;;
 
226
          *x* ) as_opts=-x ;;
 
227
          * ) as_opts= ;;
 
228
        esac
 
229
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222
230
fi
223
231
 
224
232
    if test x$as_have_required = xno; then :
316
324
      test -d "$as_dir" && break
317
325
    done
318
326
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
327
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
328
 
321
329
 
322
330
} # as_fn_mkdir_p
356
364
fi # as_fn_arith
357
365
 
358
366
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
 
367
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
368
# ----------------------------------------
361
369
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
370
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
 
371
# script with STATUS, using 1 if that was 0.
364
372
as_fn_error ()
365
373
{
366
 
  as_status=$?; test $as_status -eq 0 && as_status=1
367
 
  if test "$3"; then
368
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
374
  as_status=$1; test $as_status -eq 0 && as_status=1
 
375
  if test "$4"; then
 
376
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
377
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
378
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
379
  $as_echo "$as_me: error: $2" >&2
372
380
  as_fn_exit $as_status
373
381
} # as_fn_error
374
382
 
679
687
exec 6>&1
680
688
 
681
689
# Name of the host.
682
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
690
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
691
# so uname gets run too.
684
692
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
693
 
698
706
# Identity of this package.
699
707
PACKAGE_NAME='xtables-addons'
700
708
PACKAGE_TARNAME='xtables-addons'
701
 
PACKAGE_VERSION='1.33'
702
 
PACKAGE_STRING='xtables-addons 1.33'
 
709
PACKAGE_VERSION='1.35'
 
710
PACKAGE_STRING='xtables-addons 1.35'
703
711
PACKAGE_BUGREPORT=''
704
712
PACKAGE_URL=''
705
713
 
751
759
libmnl_CFLAGS
752
760
libxtables_LIBS
753
761
libxtables_CFLAGS
 
762
PKG_CONFIG_LIBDIR
 
763
PKG_CONFIG_PATH
754
764
PKG_CONFIG
755
765
CPP
756
766
OTOOL64
883
893
CPPFLAGS
884
894
CPP
885
895
PKG_CONFIG
 
896
PKG_CONFIG_PATH
 
897
PKG_CONFIG_LIBDIR
886
898
libxtables_CFLAGS
887
899
libxtables_LIBS
888
900
libmnl_CFLAGS
949
961
  fi
950
962
 
951
963
  case $ac_option in
952
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953
 
  *)    ac_optarg=yes ;;
 
964
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
965
  *=)   ac_optarg= ;;
 
966
  *)    ac_optarg=yes ;;
954
967
  esac
955
968
 
956
969
  # Accept the important Cygnus configure options, so we can diagnose typos.
995
1008
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996
1009
    # Reject names that are not valid shell variable names.
997
1010
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1011
      as_fn_error $? "invalid feature name: $ac_useropt"
999
1012
    ac_useropt_orig=$ac_useropt
1000
1013
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001
1014
    case $ac_user_opts in
1021
1034
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022
1035
    # Reject names that are not valid shell variable names.
1023
1036
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1037
      as_fn_error $? "invalid feature name: $ac_useropt"
1025
1038
    ac_useropt_orig=$ac_useropt
1026
1039
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027
1040
    case $ac_user_opts in
1225
1238
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226
1239
    # Reject names that are not valid shell variable names.
1227
1240
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1228
 
      as_fn_error "invalid package name: $ac_useropt"
 
1241
      as_fn_error $? "invalid package name: $ac_useropt"
1229
1242
    ac_useropt_orig=$ac_useropt
1230
1243
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231
1244
    case $ac_user_opts in
1241
1254
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242
1255
    # Reject names that are not valid shell variable names.
1243
1256
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1244
 
      as_fn_error "invalid package name: $ac_useropt"
 
1257
      as_fn_error $? "invalid package name: $ac_useropt"
1245
1258
    ac_useropt_orig=$ac_useropt
1246
1259
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247
1260
    case $ac_user_opts in
1271
1284
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1272
1285
    x_libraries=$ac_optarg ;;
1273
1286
 
1274
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1275
 
Try \`$0 --help' for more information."
 
1287
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1288
Try \`$0 --help' for more information"
1276
1289
    ;;
1277
1290
 
1278
1291
  *=*)
1280
1293
    # Reject names that are not valid shell variable names.
1281
1294
    case $ac_envvar in #(
1282
1295
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1283
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1296
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1284
1297
    esac
1285
1298
    eval $ac_envvar=\$ac_optarg
1286
1299
    export $ac_envvar ;;
1290
1303
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291
1304
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1292
1305
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1306
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1294
1307
    ;;
1295
1308
 
1296
1309
  esac
1298
1311
 
1299
1312
if test -n "$ac_prev"; then
1300
1313
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1301
 
  as_fn_error "missing argument to $ac_option"
 
1314
  as_fn_error $? "missing argument to $ac_option"
1302
1315
fi
1303
1316
 
1304
1317
if test -n "$ac_unrecognized_opts"; then
1305
1318
  case $enable_option_checking in
1306
1319
    no) ;;
1307
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1320
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1308
1321
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1309
1322
  esac
1310
1323
fi
1327
1340
    [\\/$]* | ?:[\\/]* )  continue;;
1328
1341
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1329
1342
  esac
1330
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1343
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1331
1344
done
1332
1345
 
1333
1346
# There might be people who depend on the old broken behavior: `$host'
1341
1354
if test "x$host_alias" != x; then
1342
1355
  if test "x$build_alias" = x; then
1343
1356
    cross_compiling=maybe
1344
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1345
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1357
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1358
    If a cross compiler is detected then cross compile mode will be used" >&2
1346
1359
  elif test "x$build_alias" != "x$host_alias"; then
1347
1360
    cross_compiling=yes
1348
1361
  fi
1357
1370
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1358
1371
ac_ls_di=`ls -di .` &&
1359
1372
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1360
 
  as_fn_error "working directory cannot be determined"
 
1373
  as_fn_error $? "working directory cannot be determined"
1361
1374
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362
 
  as_fn_error "pwd does not report name of working directory"
 
1375
  as_fn_error $? "pwd does not report name of working directory"
1363
1376
 
1364
1377
 
1365
1378
# Find the source files, if location was not specified.
1398
1411
fi
1399
1412
if test ! -r "$srcdir/$ac_unique_file"; then
1400
1413
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1401
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1414
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1402
1415
fi
1403
1416
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404
1417
ac_abs_confdir=`(
1405
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1418
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1406
1419
        pwd)`
1407
1420
# When building in place, set srcdir=.
1408
1421
if test "$ac_abs_confdir" = "$ac_pwd"; then
1428
1441
  # Omit some internal or obsolete options to make the list less imposing.
1429
1442
  # This message is too long to be a string in the A/UX 3.1 sh.
1430
1443
  cat <<_ACEOF
1431
 
\`configure' configures xtables-addons 1.33 to adapt to many kinds of systems.
 
1444
\`configure' configures xtables-addons 1.35 to adapt to many kinds of systems.
1432
1445
 
1433
1446
Usage: $0 [OPTION]... [VAR=VALUE]...
1434
1447
 
1442
1455
      --help=short        display options specific to this package
1443
1456
      --help=recursive    display the short help of all the included packages
1444
1457
  -V, --version           display version information and exit
1445
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1458
  -q, --quiet, --silent   do not print \`checking ...' messages
1446
1459
      --cache-file=FILE   cache test results in FILE [disabled]
1447
1460
  -C, --config-cache      alias for \`--cache-file=config.cache'
1448
1461
  -n, --no-create         do not create output files
1498
1511
 
1499
1512
if test -n "$ac_init_help"; then
1500
1513
  case $ac_init_help in
1501
 
     short | recursive ) echo "Configuration of xtables-addons 1.33:";;
 
1514
     short | recursive ) echo "Configuration of xtables-addons 1.35:";;
1502
1515
   esac
1503
1516
  cat <<\_ACEOF
1504
1517
 
1537
1550
              you have headers in a nonstandard directory <include dir>
1538
1551
  CPP         C preprocessor
1539
1552
  PKG_CONFIG  path to pkg-config utility
 
1553
  PKG_CONFIG_PATH
 
1554
              directories to add to pkg-config's search path
 
1555
  PKG_CONFIG_LIBDIR
 
1556
              path overriding pkg-config's built-in search path
1540
1557
  libxtables_CFLAGS
1541
1558
              C compiler flags for libxtables, overriding pkg-config
1542
1559
  libxtables_LIBS
1611
1628
test -n "$ac_init_help" && exit $ac_status
1612
1629
if $ac_init_version; then
1613
1630
  cat <<\_ACEOF
1614
 
xtables-addons configure 1.33
1615
 
generated by GNU Autoconf 2.65
 
1631
xtables-addons configure 1.35
 
1632
generated by GNU Autoconf 2.68
1616
1633
 
1617
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1634
Copyright (C) 2010 Free Software Foundation, Inc.
1618
1635
This configure script is free software; the Free Software Foundation
1619
1636
gives unlimited permission to copy, distribute and modify it.
1620
1637
_ACEOF
1658
1675
 
1659
1676
        ac_retval=1
1660
1677
fi
1661
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1678
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662
1679
  as_fn_set_status $ac_retval
1663
1680
 
1664
1681
} # ac_fn_c_try_compile
1704
1721
  # interfere with the next link command; also delete a directory that is
1705
1722
  # left behind by Apple's compiler.  We do this before executing the actions.
1706
1723
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1707
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1724
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708
1725
  as_fn_set_status $ac_retval
1709
1726
 
1710
1727
} # ac_fn_c_try_link
1718
1735
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719
1736
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1720
1737
$as_echo_n "checking for $2... " >&6; }
1721
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1738
if eval \${$3+:} false; then :
1722
1739
  $as_echo_n "(cached) " >&6
1723
1740
else
1724
1741
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736
1753
eval ac_res=\$$3
1737
1754
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738
1755
$as_echo "$ac_res" >&6; }
1739
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1756
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740
1757
 
1741
1758
} # ac_fn_c_check_header_compile
1742
1759
 
1761
1778
    mv -f conftest.er1 conftest.err
1762
1779
  fi
1763
1780
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764
 
  test $ac_status = 0; } >/dev/null && {
 
1781
  test $ac_status = 0; } > conftest.i && {
1765
1782
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1766
1783
         test ! -s conftest.err
1767
1784
       }; then :
1772
1789
 
1773
1790
    ac_retval=1
1774
1791
fi
1775
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1792
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776
1793
  as_fn_set_status $ac_retval
1777
1794
 
1778
1795
} # ac_fn_c_try_cpp
1814
1831
       ac_retval=$ac_status
1815
1832
fi
1816
1833
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1834
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818
1835
  as_fn_set_status $ac_retval
1819
1836
 
1820
1837
} # ac_fn_c_try_run
1827
1844
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828
1845
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829
1846
$as_echo_n "checking for $2... " >&6; }
1830
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1847
if eval \${$3+:} false; then :
1831
1848
  $as_echo_n "(cached) " >&6
1832
1849
else
1833
1850
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1882
1899
eval ac_res=\$$3
1883
1900
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884
1901
$as_echo "$ac_res" >&6; }
1885
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1902
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886
1903
 
1887
1904
} # ac_fn_c_check_func
1888
1905
 
1894
1911
ac_fn_c_check_header_mongrel ()
1895
1912
{
1896
1913
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1914
  if eval \${$3+:} false; then :
1898
1915
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899
1916
$as_echo_n "checking for $2... " >&6; }
1900
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1917
if eval \${$3+:} false; then :
1901
1918
  $as_echo_n "(cached) " >&6
1902
1919
fi
1903
1920
eval ac_res=\$$3
1933
1950
else
1934
1951
  ac_header_preproc=no
1935
1952
fi
1936
 
rm -f conftest.err conftest.$ac_ext
 
1953
rm -f conftest.err conftest.i conftest.$ac_ext
1937
1954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1938
1955
$as_echo "$ac_header_preproc" >&6; }
1939
1956
 
1960
1977
esac
1961
1978
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962
1979
$as_echo_n "checking for $2... " >&6; }
1963
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1980
if eval \${$3+:} false; then :
1964
1981
  $as_echo_n "(cached) " >&6
1965
1982
else
1966
1983
  eval "$3=\$ac_header_compiler"
1969
1986
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970
1987
$as_echo "$ac_res" >&6; }
1971
1988
fi
1972
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1989
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973
1990
 
1974
1991
} # ac_fn_c_check_header_mongrel
1975
1992
cat >config.log <<_ACEOF
1976
1993
This file contains any messages produced by compilers while
1977
1994
running configure, to aid debugging if configure makes a mistake.
1978
1995
 
1979
 
It was created by xtables-addons $as_me 1.33, which was
1980
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
1996
It was created by xtables-addons $as_me 1.35, which was
 
1997
generated by GNU Autoconf 2.68.  Invocation command line was
1981
1998
 
1982
1999
  $ $0 $@
1983
2000
 
2087
2104
  {
2088
2105
    echo
2089
2106
 
2090
 
    cat <<\_ASBOX
2091
 
## ---------------- ##
 
2107
    $as_echo "## ---------------- ##
2092
2108
## Cache variables. ##
2093
 
## ---------------- ##
2094
 
_ASBOX
 
2109
## ---------------- ##"
2095
2110
    echo
2096
2111
    # The following way of writing the cache mishandles newlines in values,
2097
2112
(
2125
2140
)
2126
2141
    echo
2127
2142
 
2128
 
    cat <<\_ASBOX
2129
 
## ----------------- ##
 
2143
    $as_echo "## ----------------- ##
2130
2144
## Output variables. ##
2131
 
## ----------------- ##
2132
 
_ASBOX
 
2145
## ----------------- ##"
2133
2146
    echo
2134
2147
    for ac_var in $ac_subst_vars
2135
2148
    do
2142
2155
    echo
2143
2156
 
2144
2157
    if test -n "$ac_subst_files"; then
2145
 
      cat <<\_ASBOX
2146
 
## ------------------- ##
 
2158
      $as_echo "## ------------------- ##
2147
2159
## File substitutions. ##
2148
 
## ------------------- ##
2149
 
_ASBOX
 
2160
## ------------------- ##"
2150
2161
      echo
2151
2162
      for ac_var in $ac_subst_files
2152
2163
      do
2160
2171
    fi
2161
2172
 
2162
2173
    if test -s confdefs.h; then
2163
 
      cat <<\_ASBOX
2164
 
## ----------- ##
 
2174
      $as_echo "## ----------- ##
2165
2175
## confdefs.h. ##
2166
 
## ----------- ##
2167
 
_ASBOX
 
2176
## ----------- ##"
2168
2177
      echo
2169
2178
      cat confdefs.h
2170
2179
      echo
2219
2228
ac_site_file1=NONE
2220
2229
ac_site_file2=NONE
2221
2230
if test -n "$CONFIG_SITE"; then
2222
 
  ac_site_file1=$CONFIG_SITE
 
2231
  # We do not want a PATH search for config.site.
 
2232
  case $CONFIG_SITE in #((
 
2233
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2234
    */*) ac_site_file1=$CONFIG_SITE;;
 
2235
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2236
  esac
2223
2237
elif test "x$prefix" != xNONE; then
2224
2238
  ac_site_file1=$prefix/share/config.site
2225
2239
  ac_site_file2=$prefix/etc/config.site
2234
2248
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2235
2249
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2236
2250
    sed 's/^/| /' "$ac_site_file" >&5
2237
 
    . "$ac_site_file"
 
2251
    . "$ac_site_file" \
 
2252
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2253
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2254
as_fn_error $? "failed to load site script $ac_site_file
 
2255
See \`config.log' for more details" "$LINENO" 5; }
2238
2256
  fi
2239
2257
done
2240
2258
 
2310
2328
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2311
2329
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2312
2330
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2313
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2331
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2314
2332
fi
2315
2333
## -------------------- ##
2316
2334
## Main body of script. ##
2328
2346
 
2329
2347
ac_aux_dir=
2330
2348
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2331
 
  for ac_t in install-sh install.sh shtool; do
2332
 
    if test -f "$ac_dir/$ac_t"; then
2333
 
      ac_aux_dir=$ac_dir
2334
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2335
 
      break 2
2336
 
    fi
2337
 
  done
 
2349
  if test -f "$ac_dir/install-sh"; then
 
2350
    ac_aux_dir=$ac_dir
 
2351
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2352
    break
 
2353
  elif test -f "$ac_dir/install.sh"; then
 
2354
    ac_aux_dir=$ac_dir
 
2355
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2356
    break
 
2357
  elif test -f "$ac_dir/shtool"; then
 
2358
    ac_aux_dir=$ac_dir
 
2359
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2360
    break
 
2361
  fi
2338
2362
done
2339
2363
if test -z "$ac_aux_dir"; then
2340
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2364
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2341
2365
fi
2342
2366
 
2343
2367
# These three variables are undocumented and unsupported,
2366
2390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2367
2391
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2368
2392
if test -z "$INSTALL"; then
2369
 
if test "${ac_cv_path_install+set}" = set; then :
 
2393
if ${ac_cv_path_install+:} false; then :
2370
2394
  $as_echo_n "(cached) " >&6
2371
2395
else
2372
2396
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455
2479
'
2456
2480
case `pwd` in
2457
2481
  *[\\\"\#\$\&\'\`$am_lf]*)
2458
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2482
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2459
2483
esac
2460
2484
case $srcdir in
2461
2485
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2462
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2486
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2463
2487
esac
2464
2488
 
2465
2489
# Do `set' in a subshell so we don't clobber the current shell's
2481
2505
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2482
2506
      # broken ls alias from the environment.  This has actually
2483
2507
      # happened.  Such a system could not be considered "sane".
2484
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2508
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2485
2509
alias in your environment" "$LINENO" 5
2486
2510
   fi
2487
2511
 
2491
2515
   # Ok.
2492
2516
   :
2493
2517
else
2494
 
   as_fn_error "newly created file is older than distributed files!
 
2518
   as_fn_error $? "newly created file is older than distributed files!
2495
2519
Check your system clock" "$LINENO" 5
2496
2520
fi
2497
2521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2545
2569
set dummy ${ac_tool_prefix}strip; ac_word=$2
2546
2570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547
2571
$as_echo_n "checking for $ac_word... " >&6; }
2548
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2572
if ${ac_cv_prog_STRIP+:} false; then :
2549
2573
  $as_echo_n "(cached) " >&6
2550
2574
else
2551
2575
  if test -n "$STRIP"; then
2585
2609
set dummy strip; ac_word=$2
2586
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2587
2611
$as_echo_n "checking for $ac_word... " >&6; }
2588
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2612
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2589
2613
  $as_echo_n "(cached) " >&6
2590
2614
else
2591
2615
  if test -n "$ac_ct_STRIP"; then
2638
2662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2639
2663
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2640
2664
if test -z "$MKDIR_P"; then
2641
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2665
  if ${ac_cv_path_mkdir+:} false; then :
2642
2666
  $as_echo_n "(cached) " >&6
2643
2667
else
2644
2668
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689
2713
set dummy $ac_prog; ac_word=$2
2690
2714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691
2715
$as_echo_n "checking for $ac_word... " >&6; }
2692
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2716
if ${ac_cv_prog_AWK+:} false; then :
2693
2717
  $as_echo_n "(cached) " >&6
2694
2718
else
2695
2719
  if test -n "$AWK"; then
2729
2753
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2730
2754
set x ${MAKE-make}
2731
2755
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2732
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2756
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2733
2757
  $as_echo_n "(cached) " >&6
2734
2758
else
2735
2759
  cat >conftest.make <<\_ACEOF
2737
2761
all:
2738
2762
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2739
2763
_ACEOF
2740
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2764
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2741
2765
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2742
2766
  *@@@%%%=?*=@@@%%%*)
2743
2767
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2771
2795
  am__isrc=' -I$(srcdir)'
2772
2796
  # test to see if srcdir already configured
2773
2797
  if test -f $srcdir/config.status; then
2774
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2798
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2775
2799
  fi
2776
2800
fi
2777
2801
 
2787
2811
 
2788
2812
# Define the identity of the package.
2789
2813
 PACKAGE='xtables-addons'
2790
 
 VERSION='1.33'
 
2814
 VERSION='1.35'
2791
2815
 
2792
2816
 
2793
2817
cat >>confdefs.h <<_ACEOF
2849
2873
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2850
2874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2851
2875
$as_echo_n "checking for $ac_word... " >&6; }
2852
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2876
if ${ac_cv_prog_CC+:} false; then :
2853
2877
  $as_echo_n "(cached) " >&6
2854
2878
else
2855
2879
  if test -n "$CC"; then
2889
2913
set dummy gcc; ac_word=$2
2890
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891
2915
$as_echo_n "checking for $ac_word... " >&6; }
2892
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2916
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2893
2917
  $as_echo_n "(cached) " >&6
2894
2918
else
2895
2919
  if test -n "$ac_ct_CC"; then
2942
2966
set dummy ${ac_tool_prefix}cc; ac_word=$2
2943
2967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944
2968
$as_echo_n "checking for $ac_word... " >&6; }
2945
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2969
if ${ac_cv_prog_CC+:} false; then :
2946
2970
  $as_echo_n "(cached) " >&6
2947
2971
else
2948
2972
  if test -n "$CC"; then
2982
3006
set dummy cc; ac_word=$2
2983
3007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984
3008
$as_echo_n "checking for $ac_word... " >&6; }
2985
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3009
if ${ac_cv_prog_CC+:} false; then :
2986
3010
  $as_echo_n "(cached) " >&6
2987
3011
else
2988
3012
  if test -n "$CC"; then
3041
3065
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3042
3066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043
3067
$as_echo_n "checking for $ac_word... " >&6; }
3044
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3068
if ${ac_cv_prog_CC+:} false; then :
3045
3069
  $as_echo_n "(cached) " >&6
3046
3070
else
3047
3071
  if test -n "$CC"; then
3085
3109
set dummy $ac_prog; ac_word=$2
3086
3110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087
3111
$as_echo_n "checking for $ac_word... " >&6; }
3088
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3112
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3089
3113
  $as_echo_n "(cached) " >&6
3090
3114
else
3091
3115
  if test -n "$ac_ct_CC"; then
3139
3163
 
3140
3164
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141
3165
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142
 
as_fn_error "no acceptable C compiler found in \$PATH
3143
 
See \`config.log' for more details." "$LINENO" 5; }
 
3166
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3167
See \`config.log' for more details" "$LINENO" 5; }
3144
3168
 
3145
3169
# Provide some information about the compiler.
3146
3170
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3254
3278
 
3255
3279
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3256
3280
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3257
 
{ as_fn_set_status 77
3258
 
as_fn_error "C compiler cannot create executables
3259
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3281
as_fn_error 77 "C compiler cannot create executables
 
3282
See \`config.log' for more details" "$LINENO" 5; }
3260
3283
else
3261
3284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3262
3285
$as_echo "yes" >&6; }
3298
3321
else
3299
3322
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300
3323
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3302
 
See \`config.log' for more details." "$LINENO" 5; }
 
3324
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3325
See \`config.log' for more details" "$LINENO" 5; }
3303
3326
fi
3304
3327
rm -f conftest conftest$ac_cv_exeext
3305
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3356
3379
    else
3357
3380
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358
3381
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359
 
as_fn_error "cannot run C compiled programs.
 
3382
as_fn_error $? "cannot run C compiled programs.
3360
3383
If you meant to cross compile, use \`--host'.
3361
 
See \`config.log' for more details." "$LINENO" 5; }
 
3384
See \`config.log' for more details" "$LINENO" 5; }
3362
3385
    fi
3363
3386
  fi
3364
3387
fi
3369
3392
ac_clean_files=$ac_clean_files_save
3370
3393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3371
3394
$as_echo_n "checking for suffix of object files... " >&6; }
3372
 
if test "${ac_cv_objext+set}" = set; then :
 
3395
if ${ac_cv_objext+:} false; then :
3373
3396
  $as_echo_n "(cached) " >&6
3374
3397
else
3375
3398
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409
3432
 
3410
3433
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411
3434
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412
 
as_fn_error "cannot compute suffix of object files: cannot compile
3413
 
See \`config.log' for more details." "$LINENO" 5; }
 
3435
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3436
See \`config.log' for more details" "$LINENO" 5; }
3414
3437
fi
3415
3438
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3416
3439
fi
3420
3443
ac_objext=$OBJEXT
3421
3444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3422
3445
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3423
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3446
if ${ac_cv_c_compiler_gnu+:} false; then :
3424
3447
  $as_echo_n "(cached) " >&6
3425
3448
else
3426
3449
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457
3480
ac_save_CFLAGS=$CFLAGS
3458
3481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3459
3482
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3460
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3483
if ${ac_cv_prog_cc_g+:} false; then :
3461
3484
  $as_echo_n "(cached) " >&6
3462
3485
else
3463
3486
  ac_save_c_werror_flag=$ac_c_werror_flag
3535
3558
fi
3536
3559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3537
3560
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3538
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3561
if ${ac_cv_prog_cc_c89+:} false; then :
3539
3562
  $as_echo_n "(cached) " >&6
3540
3563
else
3541
3564
  ac_cv_prog_cc_c89=no
3696
3719
 
3697
3720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3698
3721
$as_echo_n "checking dependency style of $depcc... " >&6; }
3699
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3722
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3700
3723
  $as_echo_n "(cached) " >&6
3701
3724
else
3702
3725
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3828
3851
fi
3829
3852
set dummy $CC; ac_cc=`$as_echo "$2" |
3830
3853
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3831
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3854
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3832
3855
  $as_echo_n "(cached) " >&6
3833
3856
else
3834
3857
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985
4008
 
3986
4009
 
3987
4010
macro_version='2.2.6b'
3988
 
macro_revision='1.3017'
 
4011
macro_revision='1.3018'
3989
4012
 
3990
4013
 
3991
4014
 
4003
4026
 
4004
4027
# Make sure we can run config.sub.
4005
4028
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4006
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4029
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4007
4030
 
4008
4031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4009
4032
$as_echo_n "checking build system type... " >&6; }
4010
 
if test "${ac_cv_build+set}" = set; then :
 
4033
if ${ac_cv_build+:} false; then :
4011
4034
  $as_echo_n "(cached) " >&6
4012
4035
else
4013
4036
  ac_build_alias=$build_alias
4014
4037
test "x$ac_build_alias" = x &&
4015
4038
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4016
4039
test "x$ac_build_alias" = x &&
4017
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4040
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4018
4041
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4019
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4042
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4020
4043
 
4021
4044
fi
4022
4045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4023
4046
$as_echo "$ac_cv_build" >&6; }
4024
4047
case $ac_cv_build in
4025
4048
*-*-*) ;;
4026
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4049
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4027
4050
esac
4028
4051
build=$ac_cv_build
4029
4052
ac_save_IFS=$IFS; IFS='-'
4041
4064
 
4042
4065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4043
4066
$as_echo_n "checking host system type... " >&6; }
4044
 
if test "${ac_cv_host+set}" = set; then :
 
4067
if ${ac_cv_host+:} false; then :
4045
4068
  $as_echo_n "(cached) " >&6
4046
4069
else
4047
4070
  if test "x$host_alias" = x; then
4048
4071
  ac_cv_host=$ac_cv_build
4049
4072
else
4050
4073
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4051
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4074
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4052
4075
fi
4053
4076
 
4054
4077
fi
4056
4079
$as_echo "$ac_cv_host" >&6; }
4057
4080
case $ac_cv_host in
4058
4081
*-*-*) ;;
4059
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
4082
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4060
4083
esac
4061
4084
host=$ac_cv_host
4062
4085
ac_save_IFS=$IFS; IFS='-'
4074
4097
 
4075
4098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4076
4099
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4077
 
if test "${ac_cv_path_SED+set}" = set; then :
 
4100
if ${ac_cv_path_SED+:} false; then :
4078
4101
  $as_echo_n "(cached) " >&6
4079
4102
else
4080
4103
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4129
4152
  done
4130
4153
IFS=$as_save_IFS
4131
4154
  if test -z "$ac_cv_path_SED"; then
4132
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4155
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4133
4156
  fi
4134
4157
else
4135
4158
  ac_cv_path_SED=$SED
4156
4179
 
4157
4180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4158
4181
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4159
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4182
if ${ac_cv_path_GREP+:} false; then :
4160
4183
  $as_echo_n "(cached) " >&6
4161
4184
else
4162
4185
  if test -z "$GREP"; then
4205
4228
  done
4206
4229
IFS=$as_save_IFS
4207
4230
  if test -z "$ac_cv_path_GREP"; then
4208
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4231
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4209
4232
  fi
4210
4233
else
4211
4234
  ac_cv_path_GREP=$GREP
4219
4242
 
4220
4243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4221
4244
$as_echo_n "checking for egrep... " >&6; }
4222
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4245
if ${ac_cv_path_EGREP+:} false; then :
4223
4246
  $as_echo_n "(cached) " >&6
4224
4247
else
4225
4248
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4271
4294
  done
4272
4295
IFS=$as_save_IFS
4273
4296
  if test -z "$ac_cv_path_EGREP"; then
4274
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4297
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4275
4298
  fi
4276
4299
else
4277
4300
  ac_cv_path_EGREP=$EGREP
4286
4309
 
4287
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4288
4311
$as_echo_n "checking for fgrep... " >&6; }
4289
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4312
if ${ac_cv_path_FGREP+:} false; then :
4290
4313
  $as_echo_n "(cached) " >&6
4291
4314
else
4292
4315
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4338
4361
  done
4339
4362
IFS=$as_save_IFS
4340
4363
  if test -z "$ac_cv_path_FGREP"; then
4341
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4364
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4342
4365
  fi
4343
4366
else
4344
4367
  ac_cv_path_FGREP=$FGREP
4417
4440
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4418
4441
$as_echo_n "checking for non-GNU ld... " >&6; }
4419
4442
fi
4420
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4443
if ${lt_cv_path_LD+:} false; then :
4421
4444
  $as_echo_n "(cached) " >&6
4422
4445
else
4423
4446
  if test -z "$LD"; then
4454
4477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4455
4478
$as_echo "no" >&6; }
4456
4479
fi
4457
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4480
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4458
4481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4459
4482
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4460
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4483
if ${lt_cv_prog_gnu_ld+:} false; then :
4461
4484
  $as_echo_n "(cached) " >&6
4462
4485
else
4463
4486
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4484
4507
 
4485
4508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4486
4509
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4487
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4510
if ${lt_cv_path_NM+:} false; then :
4488
4511
  $as_echo_n "(cached) " >&6
4489
4512
else
4490
4513
  if test -n "$NM"; then
4544
4567
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4545
4568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546
4569
$as_echo_n "checking for $ac_word... " >&6; }
4547
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4570
if ${ac_cv_prog_DUMPBIN+:} false; then :
4548
4571
  $as_echo_n "(cached) " >&6
4549
4572
else
4550
4573
  if test -n "$DUMPBIN"; then
4588
4611
set dummy $ac_prog; ac_word=$2
4589
4612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590
4613
$as_echo_n "checking for $ac_word... " >&6; }
4591
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4614
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4592
4615
  $as_echo_n "(cached) " >&6
4593
4616
else
4594
4617
  if test -n "$ac_ct_DUMPBIN"; then
4651
4674
 
4652
4675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4653
4676
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4654
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4677
if ${lt_cv_nm_interface+:} false; then :
4655
4678
  $as_echo_n "(cached) " >&6
4656
4679
else
4657
4680
  lt_cv_nm_interface="BSD nm"
4658
4681
  echo "int some_variable = 0;" > conftest.$ac_ext
4659
 
  (eval echo "\"\$as_me:4659: $ac_compile\"" >&5)
 
4682
  (eval echo "\"\$as_me:4682: $ac_compile\"" >&5)
4660
4683
  (eval "$ac_compile" 2>conftest.err)
4661
4684
  cat conftest.err >&5
4662
 
  (eval echo "\"\$as_me:4662: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4685
  (eval echo "\"\$as_me:4685: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4663
4686
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4664
4687
  cat conftest.err >&5
4665
 
  (eval echo "\"\$as_me:4665: output\"" >&5)
 
4688
  (eval echo "\"\$as_me:4688: output\"" >&5)
4666
4689
  cat conftest.out >&5
4667
4690
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4668
4691
    lt_cv_nm_interface="MS dumpbin"
4686
4709
# find the maximum length of command line arguments
4687
4710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4688
4711
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4689
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4712
if ${lt_cv_sys_max_cmd_len+:} false; then :
4690
4713
  $as_echo_n "(cached) " >&6
4691
4714
else
4692
4715
    i=0
4878
4901
 
4879
4902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4880
4903
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4881
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
4904
if ${lt_cv_ld_reload_flag+:} false; then :
4882
4905
  $as_echo_n "(cached) " >&6
4883
4906
else
4884
4907
  lt_cv_ld_reload_flag='-r'
4914
4937
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4915
4938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916
4939
$as_echo_n "checking for $ac_word... " >&6; }
4917
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4940
if ${ac_cv_prog_OBJDUMP+:} false; then :
4918
4941
  $as_echo_n "(cached) " >&6
4919
4942
else
4920
4943
  if test -n "$OBJDUMP"; then
4954
4977
set dummy objdump; ac_word=$2
4955
4978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956
4979
$as_echo_n "checking for $ac_word... " >&6; }
4957
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4980
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4958
4981
  $as_echo_n "(cached) " >&6
4959
4982
else
4960
4983
  if test -n "$ac_ct_OBJDUMP"; then
5013
5036
 
5014
5037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5015
5038
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5016
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5039
if ${lt_cv_deplibs_check_method+:} false; then :
5017
5040
  $as_echo_n "(cached) " >&6
5018
5041
else
5019
5042
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5229
5252
set dummy ${ac_tool_prefix}ar; ac_word=$2
5230
5253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231
5254
$as_echo_n "checking for $ac_word... " >&6; }
5232
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5255
if ${ac_cv_prog_AR+:} false; then :
5233
5256
  $as_echo_n "(cached) " >&6
5234
5257
else
5235
5258
  if test -n "$AR"; then
5269
5292
set dummy ar; ac_word=$2
5270
5293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271
5294
$as_echo_n "checking for $ac_word... " >&6; }
5272
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5295
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5273
5296
  $as_echo_n "(cached) " >&6
5274
5297
else
5275
5298
  if test -n "$ac_ct_AR"; then
5334
5357
set dummy ${ac_tool_prefix}strip; ac_word=$2
5335
5358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336
5359
$as_echo_n "checking for $ac_word... " >&6; }
5337
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5360
if ${ac_cv_prog_STRIP+:} false; then :
5338
5361
  $as_echo_n "(cached) " >&6
5339
5362
else
5340
5363
  if test -n "$STRIP"; then
5374
5397
set dummy strip; ac_word=$2
5375
5398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376
5399
$as_echo_n "checking for $ac_word... " >&6; }
5377
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5400
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5378
5401
  $as_echo_n "(cached) " >&6
5379
5402
else
5380
5403
  if test -n "$ac_ct_STRIP"; then
5433
5456
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5434
5457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435
5458
$as_echo_n "checking for $ac_word... " >&6; }
5436
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5459
if ${ac_cv_prog_RANLIB+:} false; then :
5437
5460
  $as_echo_n "(cached) " >&6
5438
5461
else
5439
5462
  if test -n "$RANLIB"; then
5473
5496
set dummy ranlib; ac_word=$2
5474
5497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475
5498
$as_echo_n "checking for $ac_word... " >&6; }
5476
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5499
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5477
5500
  $as_echo_n "(cached) " >&6
5478
5501
else
5479
5502
  if test -n "$ac_ct_RANLIB"; then
5590
5613
# Check for command to grab the raw symbol name followed by C symbol from nm.
5591
5614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5592
5615
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5593
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
5616
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5594
5617
  $as_echo_n "(cached) " >&6
5595
5618
else
5596
5619
 
5868
5891
  ;;
5869
5892
*-*-irix6*)
5870
5893
  # Find out which ABI we are using.
5871
 
  echo '#line 5871 "configure"' > conftest.$ac_ext
 
5894
  echo '#line 5894 "configure"' > conftest.$ac_ext
5872
5895
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5873
5896
  (eval $ac_compile) 2>&5
5874
5897
  ac_status=$?
5962
5985
  CFLAGS="$CFLAGS -belf"
5963
5986
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5964
5987
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5965
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
5988
if ${lt_cv_cc_needs_belf+:} false; then :
5966
5989
  $as_echo_n "(cached) " >&6
5967
5990
else
5968
5991
  ac_ext=c
6038
6061
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6039
6062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040
6063
$as_echo_n "checking for $ac_word... " >&6; }
6041
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6064
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6042
6065
  $as_echo_n "(cached) " >&6
6043
6066
else
6044
6067
  if test -n "$DSYMUTIL"; then
6078
6101
set dummy dsymutil; ac_word=$2
6079
6102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080
6103
$as_echo_n "checking for $ac_word... " >&6; }
6081
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6104
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6082
6105
  $as_echo_n "(cached) " >&6
6083
6106
else
6084
6107
  if test -n "$ac_ct_DSYMUTIL"; then
6130
6153
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6131
6154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132
6155
$as_echo_n "checking for $ac_word... " >&6; }
6133
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6156
if ${ac_cv_prog_NMEDIT+:} false; then :
6134
6157
  $as_echo_n "(cached) " >&6
6135
6158
else
6136
6159
  if test -n "$NMEDIT"; then
6170
6193
set dummy nmedit; ac_word=$2
6171
6194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172
6195
$as_echo_n "checking for $ac_word... " >&6; }
6173
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6196
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6174
6197
  $as_echo_n "(cached) " >&6
6175
6198
else
6176
6199
  if test -n "$ac_ct_NMEDIT"; then
6222
6245
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6223
6246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6224
6247
$as_echo_n "checking for $ac_word... " >&6; }
6225
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6248
if ${ac_cv_prog_LIPO+:} false; then :
6226
6249
  $as_echo_n "(cached) " >&6
6227
6250
else
6228
6251
  if test -n "$LIPO"; then
6262
6285
set dummy lipo; ac_word=$2
6263
6286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6264
6287
$as_echo_n "checking for $ac_word... " >&6; }
6265
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6288
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6266
6289
  $as_echo_n "(cached) " >&6
6267
6290
else
6268
6291
  if test -n "$ac_ct_LIPO"; then
6314
6337
set dummy ${ac_tool_prefix}otool; ac_word=$2
6315
6338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6316
6339
$as_echo_n "checking for $ac_word... " >&6; }
6317
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6340
if ${ac_cv_prog_OTOOL+:} false; then :
6318
6341
  $as_echo_n "(cached) " >&6
6319
6342
else
6320
6343
  if test -n "$OTOOL"; then
6354
6377
set dummy otool; ac_word=$2
6355
6378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356
6379
$as_echo_n "checking for $ac_word... " >&6; }
6357
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6380
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6358
6381
  $as_echo_n "(cached) " >&6
6359
6382
else
6360
6383
  if test -n "$ac_ct_OTOOL"; then
6406
6429
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6407
6430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408
6431
$as_echo_n "checking for $ac_word... " >&6; }
6409
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6432
if ${ac_cv_prog_OTOOL64+:} false; then :
6410
6433
  $as_echo_n "(cached) " >&6
6411
6434
else
6412
6435
  if test -n "$OTOOL64"; then
6446
6469
set dummy otool64; ac_word=$2
6447
6470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448
6471
$as_echo_n "checking for $ac_word... " >&6; }
6449
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6472
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6450
6473
  $as_echo_n "(cached) " >&6
6451
6474
else
6452
6475
  if test -n "$ac_ct_OTOOL64"; then
6521
6544
 
6522
6545
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6523
6546
$as_echo_n "checking for -single_module linker flag... " >&6; }
6524
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
6547
if ${lt_cv_apple_cc_single_mod+:} false; then :
6525
6548
  $as_echo_n "(cached) " >&6
6526
6549
else
6527
6550
  lt_cv_apple_cc_single_mod=no
6550
6573
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6551
6574
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6552
6575
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6553
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
6576
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6554
6577
  $as_echo_n "(cached) " >&6
6555
6578
else
6556
6579
  lt_cv_ld_exported_symbols_list=no
6627
6650
  CPP=
6628
6651
fi
6629
6652
if test -z "$CPP"; then
6630
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
6653
  if ${ac_cv_prog_CPP+:} false; then :
6631
6654
  $as_echo_n "(cached) " >&6
6632
6655
else
6633
6656
      # Double quotes because CPP needs to be expanded
6657
6680
  # Broken: fails on valid input.
6658
6681
continue
6659
6682
fi
6660
 
rm -f conftest.err conftest.$ac_ext
 
6683
rm -f conftest.err conftest.i conftest.$ac_ext
6661
6684
 
6662
6685
  # OK, works on sane cases.  Now check whether nonexistent headers
6663
6686
  # can be detected and how.
6673
6696
ac_preproc_ok=:
6674
6697
break
6675
6698
fi
6676
 
rm -f conftest.err conftest.$ac_ext
 
6699
rm -f conftest.err conftest.i conftest.$ac_ext
6677
6700
 
6678
6701
done
6679
6702
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6680
 
rm -f conftest.err conftest.$ac_ext
 
6703
rm -f conftest.i conftest.err conftest.$ac_ext
6681
6704
if $ac_preproc_ok; then :
6682
6705
  break
6683
6706
fi
6716
6739
  # Broken: fails on valid input.
6717
6740
continue
6718
6741
fi
6719
 
rm -f conftest.err conftest.$ac_ext
 
6742
rm -f conftest.err conftest.i conftest.$ac_ext
6720
6743
 
6721
6744
  # OK, works on sane cases.  Now check whether nonexistent headers
6722
6745
  # can be detected and how.
6732
6755
ac_preproc_ok=:
6733
6756
break
6734
6757
fi
6735
 
rm -f conftest.err conftest.$ac_ext
 
6758
rm -f conftest.err conftest.i conftest.$ac_ext
6736
6759
 
6737
6760
done
6738
6761
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6739
 
rm -f conftest.err conftest.$ac_ext
 
6762
rm -f conftest.i conftest.err conftest.$ac_ext
6740
6763
if $ac_preproc_ok; then :
6741
6764
 
6742
6765
else
6743
6766
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6744
6767
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6745
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6746
 
See \`config.log' for more details." "$LINENO" 5; }
 
6768
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
6769
See \`config.log' for more details" "$LINENO" 5; }
6747
6770
fi
6748
6771
 
6749
6772
ac_ext=c
6755
6778
 
6756
6779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6757
6780
$as_echo_n "checking for ANSI C header files... " >&6; }
6758
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
6781
if ${ac_cv_header_stdc+:} false; then :
6759
6782
  $as_echo_n "(cached) " >&6
6760
6783
else
6761
6784
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6872
6895
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6873
6896
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6874
6897
"
6875
 
eval as_val=\$$as_ac_Header
6876
 
   if test "x$as_val" = x""yes; then :
 
6898
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6877
6899
  cat >>confdefs.h <<_ACEOF
6878
6900
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6879
6901
_ACEOF
6887
6909
do :
6888
6910
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6889
6911
"
6890
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
6912
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6891
6913
  cat >>confdefs.h <<_ACEOF
6892
6914
#define HAVE_DLFCN_H 1
6893
6915
_ACEOF
7041
7063
 
7042
7064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7043
7065
$as_echo_n "checking for objdir... " >&6; }
7044
 
if test "${lt_cv_objdir+set}" = set; then :
 
7066
if ${lt_cv_objdir+:} false; then :
7045
7067
  $as_echo_n "(cached) " >&6
7046
7068
else
7047
7069
  rm -f .libs 2>/dev/null
7149
7171
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7150
7172
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7151
7173
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7152
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7174
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7153
7175
  $as_echo_n "(cached) " >&6
7154
7176
else
7155
7177
  case $MAGIC_CMD in
7215
7237
  if test -n "$ac_tool_prefix"; then
7216
7238
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7217
7239
$as_echo_n "checking for file... " >&6; }
7218
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7240
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7219
7241
  $as_echo_n "(cached) " >&6
7220
7242
else
7221
7243
  case $MAGIC_CMD in
7352
7374
 
7353
7375
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7354
7376
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7355
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
7377
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7356
7378
  $as_echo_n "(cached) " >&6
7357
7379
else
7358
7380
  lt_cv_prog_compiler_rtti_exceptions=no
7368
7390
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7369
7391
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7370
7392
   -e 's:$: $lt_compiler_flag:'`
7371
 
   (eval echo "\"\$as_me:7371: $lt_compile\"" >&5)
 
7393
   (eval echo "\"\$as_me:7393: $lt_compile\"" >&5)
7372
7394
   (eval "$lt_compile" 2>conftest.err)
7373
7395
   ac_status=$?
7374
7396
   cat conftest.err >&5
7375
 
   echo "$as_me:7375: \$? = $ac_status" >&5
 
7397
   echo "$as_me:7397: \$? = $ac_status" >&5
7376
7398
   if (exit $ac_status) && test -s "$ac_outfile"; then
7377
7399
     # The compiler can only warn and ignore the option if not recognized
7378
7400
     # So say no if there are warnings other than the usual output.
7691
7713
if test -n "$lt_prog_compiler_pic"; then
7692
7714
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7693
7715
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7694
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
7716
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7695
7717
  $as_echo_n "(cached) " >&6
7696
7718
else
7697
7719
  lt_cv_prog_compiler_pic_works=no
7707
7729
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7708
7730
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7709
7731
   -e 's:$: $lt_compiler_flag:'`
7710
 
   (eval echo "\"\$as_me:7710: $lt_compile\"" >&5)
 
7732
   (eval echo "\"\$as_me:7732: $lt_compile\"" >&5)
7711
7733
   (eval "$lt_compile" 2>conftest.err)
7712
7734
   ac_status=$?
7713
7735
   cat conftest.err >&5
7714
 
   echo "$as_me:7714: \$? = $ac_status" >&5
 
7736
   echo "$as_me:7736: \$? = $ac_status" >&5
7715
7737
   if (exit $ac_status) && test -s "$ac_outfile"; then
7716
7738
     # The compiler can only warn and ignore the option if not recognized
7717
7739
     # So say no if there are warnings other than the usual output.
7750
7772
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7751
7773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7752
7774
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7753
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
7775
if ${lt_cv_prog_compiler_static_works+:} false; then :
7754
7776
  $as_echo_n "(cached) " >&6
7755
7777
else
7756
7778
  lt_cv_prog_compiler_static_works=no
7793
7815
 
7794
7816
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7795
7817
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7796
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
7818
if ${lt_cv_prog_compiler_c_o+:} false; then :
7797
7819
  $as_echo_n "(cached) " >&6
7798
7820
else
7799
7821
  lt_cv_prog_compiler_c_o=no
7812
7834
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7813
7835
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7814
7836
   -e 's:$: $lt_compiler_flag:'`
7815
 
   (eval echo "\"\$as_me:7815: $lt_compile\"" >&5)
 
7837
   (eval echo "\"\$as_me:7837: $lt_compile\"" >&5)
7816
7838
   (eval "$lt_compile" 2>out/conftest.err)
7817
7839
   ac_status=$?
7818
7840
   cat out/conftest.err >&5
7819
 
   echo "$as_me:7819: \$? = $ac_status" >&5
 
7841
   echo "$as_me:7841: \$? = $ac_status" >&5
7820
7842
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7821
7843
   then
7822
7844
     # The compiler can only warn and ignore the option if not recognized
7848
7870
 
7849
7871
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7850
7872
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7851
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
7873
if ${lt_cv_prog_compiler_c_o+:} false; then :
7852
7874
  $as_echo_n "(cached) " >&6
7853
7875
else
7854
7876
  lt_cv_prog_compiler_c_o=no
7867
7889
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7868
7890
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7869
7891
   -e 's:$: $lt_compiler_flag:'`
7870
 
   (eval echo "\"\$as_me:7870: $lt_compile\"" >&5)
 
7892
   (eval echo "\"\$as_me:7892: $lt_compile\"" >&5)
7871
7893
   (eval "$lt_compile" 2>out/conftest.err)
7872
7894
   ac_status=$?
7873
7895
   cat out/conftest.err >&5
7874
 
   echo "$as_me:7874: \$? = $ac_status" >&5
 
7896
   echo "$as_me:7896: \$? = $ac_status" >&5
7875
7897
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7876
7898
   then
7877
7899
     # The compiler can only warn and ignore the option if not recognized
8649
8671
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8650
8672
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651
8673
/* end confdefs.h.  */
8652
 
int foo(void) {}
 
8674
int foo (void) { return 0; }
8653
8675
_ACEOF
8654
8676
if ac_fn_c_try_link "$LINENO"; then :
8655
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
8677
 
 
8678
          archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8656
8679
 
8657
8680
fi
8658
8681
rm -f core conftest.err conftest.$ac_objext \
9976
9999
  # if libdl is installed we need to link against it
9977
10000
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9978
10001
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9979
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10002
if ${ac_cv_lib_dl_dlopen+:} false; then :
9980
10003
  $as_echo_n "(cached) " >&6
9981
10004
else
9982
10005
  ac_check_lib_save_LIBS=$LIBS
10010
10033
fi
10011
10034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10012
10035
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10013
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10036
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10014
10037
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10015
10038
else
10016
10039
 
10024
10047
 
10025
10048
  *)
10026
10049
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10027
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
10050
if test "x$ac_cv_func_shl_load" = xyes; then :
10028
10051
  lt_cv_dlopen="shl_load"
10029
10052
else
10030
10053
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10031
10054
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10032
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
10055
if ${ac_cv_lib_dld_shl_load+:} false; then :
10033
10056
  $as_echo_n "(cached) " >&6
10034
10057
else
10035
10058
  ac_check_lib_save_LIBS=$LIBS
10063
10086
fi
10064
10087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10065
10088
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10066
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
10089
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10067
10090
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10068
10091
else
10069
10092
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10070
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
10093
if test "x$ac_cv_func_dlopen" = xyes; then :
10071
10094
  lt_cv_dlopen="dlopen"
10072
10095
else
10073
10096
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10074
10097
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10075
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10098
if ${ac_cv_lib_dl_dlopen+:} false; then :
10076
10099
  $as_echo_n "(cached) " >&6
10077
10100
else
10078
10101
  ac_check_lib_save_LIBS=$LIBS
10106
10129
fi
10107
10130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10108
10131
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10109
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10132
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10110
10133
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10111
10134
else
10112
10135
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10113
10136
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10114
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
10137
if ${ac_cv_lib_svld_dlopen+:} false; then :
10115
10138
  $as_echo_n "(cached) " >&6
10116
10139
else
10117
10140
  ac_check_lib_save_LIBS=$LIBS
10145
10168
fi
10146
10169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10147
10170
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10148
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
10171
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10149
10172
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10150
10173
else
10151
10174
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10152
10175
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10153
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
10176
if ${ac_cv_lib_dld_dld_link+:} false; then :
10154
10177
  $as_echo_n "(cached) " >&6
10155
10178
else
10156
10179
  ac_check_lib_save_LIBS=$LIBS
10184
10207
fi
10185
10208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10186
10209
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10187
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
10210
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10188
10211
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10189
10212
fi
10190
10213
 
10225
10248
 
10226
10249
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10227
10250
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10228
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
10251
if ${lt_cv_dlopen_self+:} false; then :
10229
10252
  $as_echo_n "(cached) " >&6
10230
10253
else
10231
10254
          if test "$cross_compiling" = yes; then :
10234
10257
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10235
10258
  lt_status=$lt_dlunknown
10236
10259
  cat > conftest.$ac_ext <<_LT_EOF
10237
 
#line 10237 "configure"
 
10260
#line 10260 "configure"
10238
10261
#include "confdefs.h"
10239
10262
 
10240
10263
#if HAVE_DLFCN_H
10321
10344
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10322
10345
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10323
10346
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10324
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
10347
if ${lt_cv_dlopen_self_static+:} false; then :
10325
10348
  $as_echo_n "(cached) " >&6
10326
10349
else
10327
10350
          if test "$cross_compiling" = yes; then :
10330
10353
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10331
10354
  lt_status=$lt_dlunknown
10332
10355
  cat > conftest.$ac_ext <<_LT_EOF
10333
 
#line 10333 "configure"
 
10356
#line 10356 "configure"
10334
10357
#include "confdefs.h"
10335
10358
 
10336
10359
#if HAVE_DLFCN_H
10576
10599
for ac_header in linux/netfilter/x_tables.h
10577
10600
do :
10578
10601
  ac_fn_c_check_header_mongrel "$LINENO" "linux/netfilter/x_tables.h" "ac_cv_header_linux_netfilter_x_tables_h" "$ac_includes_default"
10579
 
if test "x$ac_cv_header_linux_netfilter_x_tables_h" = x""yes; then :
 
10602
if test "x$ac_cv_header_linux_netfilter_x_tables_h" = xyes; then :
10580
10603
  cat >>confdefs.h <<_ACEOF
10581
10604
#define HAVE_LINUX_NETFILTER_X_TABLES_H 1
10582
10605
_ACEOF
10583
10606
 
10584
10607
else
10585
 
  as_fn_error "You need to have linux/netfilter/x_tables.h, see INSTALL file for details" "$LINENO" 5
 
10608
  as_fn_error $? "You need to have linux/netfilter/x_tables.h, see INSTALL file for details" "$LINENO" 5
10586
10609
fi
10587
10610
 
10588
10611
done
10589
10612
 
10590
10613
 
10591
10614
 
 
10615
 
 
10616
 
 
10617
 
 
10618
 
10592
10619
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10593
10620
        if test -n "$ac_tool_prefix"; then
10594
10621
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10595
10622
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10596
10623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10597
10624
$as_echo_n "checking for $ac_word... " >&6; }
10598
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
10625
if ${ac_cv_path_PKG_CONFIG+:} false; then :
10599
10626
  $as_echo_n "(cached) " >&6
10600
10627
else
10601
10628
  case $PKG_CONFIG in
10638
10665
set dummy pkg-config; ac_word=$2
10639
10666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10640
10667
$as_echo_n "checking for $ac_word... " >&6; }
10641
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
10668
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10642
10669
  $as_echo_n "(cached) " >&6
10643
10670
else
10644
10671
  case $ac_pt_PKG_CONFIG in
10701
10728
$as_echo "no" >&6; }
10702
10729
                PKG_CONFIG=""
10703
10730
        fi
10704
 
 
10705
10731
fi
10706
10732
 
10707
10733
pkg_failed=no
10744
10770
 
10745
10771
 
10746
10772
if test $pkg_failed = yes; then
 
10773
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10774
$as_echo "no" >&6; }
10747
10775
 
10748
10776
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10749
10777
        _pkg_short_errors_supported=yes
10758
10786
        # Put the nasty error message in config.log where it belongs
10759
10787
        echo "$libxtables_PKG_ERRORS" >&5
10760
10788
 
10761
 
        as_fn_error "Package requirements (xtables >= 1.4.3) were not met:
 
10789
        as_fn_error $? "Package requirements (xtables >= 1.4.3) were not met:
10762
10790
 
10763
10791
$libxtables_PKG_ERRORS
10764
10792
 
10767
10795
 
10768
10796
Alternatively, you may set the environment variables libxtables_CFLAGS
10769
10797
and libxtables_LIBS to avoid the need to call pkg-config.
10770
 
See the pkg-config man page for more details.
10771
 
" "$LINENO" 5
 
10798
See the pkg-config man page for more details." "$LINENO" 5
10772
10799
elif test $pkg_failed = untried; then
 
10800
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10801
$as_echo "no" >&6; }
10773
10802
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10774
10803
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10775
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
10804
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
10776
10805
is in your PATH or set the PKG_CONFIG environment variable to the full
10777
10806
path to pkg-config.
10778
10807
 
10781
10810
See the pkg-config man page for more details.
10782
10811
 
10783
10812
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10784
 
See \`config.log' for more details." "$LINENO" 5; }
 
10813
See \`config.log' for more details" "$LINENO" 5; }
10785
10814
else
10786
10815
        libxtables_CFLAGS=$pkg_cv_libxtables_CFLAGS
10787
10816
        libxtables_LIBS=$pkg_cv_libxtables_LIBS
10788
10817
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10789
10818
$as_echo "yes" >&6; }
10790
 
        :
 
10819
 
10791
10820
fi
10792
10821
xtlibdir="$(pkg-config --variable=xtlibdir xtables)"
10793
10822
 
10831
10860
 
10832
10861
 
10833
10862
if test $pkg_failed = yes; then
 
10863
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10864
$as_echo "no" >&6; }
10834
10865
 
10835
10866
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10836
10867
        _pkg_short_errors_supported=yes
10845
10876
        # Put the nasty error message in config.log where it belongs
10846
10877
        echo "$libmnl_PKG_ERRORS" >&5
10847
10878
 
10848
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10879
        :
 
10880
elif test $pkg_failed = untried; then
 
10881
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10849
10882
$as_echo "no" >&6; }
10850
 
                :
10851
 
elif test $pkg_failed = untried; then
10852
10883
        :
10853
10884
else
10854
10885
        libmnl_CFLAGS=$pkg_cv_libmnl_CFLAGS
10875
10906
        -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
10876
10907
        -Winline -pipe";
10877
10908
 
10878
 
#
10879
 
# check kernel version
10880
 
#
10881
 
if grep -q "CentOS release 5\." /etc/redhat-release 2>/dev/null ||
10882
 
    grep -q "Red Hat Enterprise Linux Server release 5" /etc/redhat-release 2>/dev/null; then
10883
 
        # しまった!
10884
 
        # Well, just a warning. Maybe the admin updated the kernel.
10885
 
        echo "WARNING: This distribution's shipped kernel is not supported.";
10886
 
fi;
10887
10909
if test -n "$kbuilddir"; then
10888
10910
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel version that we will build against" >&5
10889
10911
$as_echo_n "checking kernel version that we will build against... " >&6; }
10908
10930
                echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
10909
10931
                if test "$kmajor" -gt 2 -o "$kminor" -gt 6 -o "$kmicro" -gt 38; then
10910
10932
                        echo "WARNING: You are trying a newer kernel. Results may vary. :-)";
 
10933
                elif test "$kmajor" -eq 2 -a "$kminor" -eq 6 -a "$kmicro" -ge 29; then
 
10934
                        :; # everything ok
10911
10935
                elif test \( "$kmajor" -lt 2 -o \
10912
10936
                    \( "$kmajor" -eq 2 -a "$kminor" -lt 6 \) -o \
10913
10937
                    \( "$kmajor" -eq 2 -a "$kminor" -eq 0 -a "$kmicro" -lt 17 \) -o \
10914
10938
                    \( "$kmajor" -eq 2 -a "$kminor" -eq 6 -a "$kmicro" -eq 18 -a \
10915
10939
                    "$kstable" -lt 5 \) \); then
10916
 
                        echo "ERROR: That kernel version is not supported. Please see INSTALL for minimum configuration.";
 
10940
                        echo "ERROR: That kernel version is not supported at all. Please see INSTALL for minimum configuration.";
10917
10941
                        exit 1;
 
10942
                else
 
10943
                        echo "WARNING: That kernel version has been recently deprecated for use with Xtables-addons). Compilation may fail.";
10918
10944
                fi;
10919
10945
        fi;
10920
10946
fi;
10923
10949
 
10924
10950
 
10925
10951
 
10926
 
ac_config_files="$ac_config_files Makefile Makefile.iptrules Makefile.mans geoip/Makefile extensions/Makefile extensions/ACCOUNT/Makefile extensions/ipset-4/Makefile extensions/ipset-5/Makefile extensions/pknock/Makefile"
 
10952
ac_config_files="$ac_config_files Makefile Makefile.iptrules Makefile.mans geoip/Makefile extensions/Makefile extensions/ACCOUNT/Makefile extensions/ipset-4/Makefile extensions/ipset-6/Makefile extensions/pknock/Makefile"
10927
10953
 
10928
10954
cat >confcache <<\_ACEOF
10929
10955
# This file is a shell script that caches the results of configure
10989
11015
     :end' >>confcache
10990
11016
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10991
11017
  if test -w "$cache_file"; then
10992
 
    test "x$cache_file" != "x/dev/null" &&
 
11018
    if test "x$cache_file" != "x/dev/null"; then
10993
11019
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10994
11020
$as_echo "$as_me: updating cache $cache_file" >&6;}
10995
 
    cat confcache >$cache_file
 
11021
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
11022
        cat confcache >"$cache_file"
 
11023
      else
 
11024
        case $cache_file in #(
 
11025
        */* | ?:*)
 
11026
          mv -f confcache "$cache_file"$$ &&
 
11027
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
11028
        *)
 
11029
          mv -f confcache "$cache_file" ;;
 
11030
        esac
 
11031
      fi
 
11032
    fi
10996
11033
  else
10997
11034
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10998
11035
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11008
11045
 
11009
11046
ac_libobjs=
11010
11047
ac_ltlibobjs=
 
11048
U=
11011
11049
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11012
11050
  # 1. Remove the extension, and $U if already installed.
11013
11051
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11031
11069
fi
11032
11070
 
11033
11071
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11034
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
11072
  as_fn_error $? "conditional \"AMDEP\" was never defined.
11035
11073
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11036
11074
fi
11037
11075
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11038
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
11076
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11039
11077
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11040
11078
fi
11041
11079
 
11042
 
: ${CONFIG_STATUS=./config.status}
 
11080
: "${CONFIG_STATUS=./config.status}"
11043
11081
ac_write_fail=0
11044
11082
ac_clean_files_save=$ac_clean_files
11045
11083
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11140
11178
IFS=" ""        $as_nl"
11141
11179
 
11142
11180
# Find who we are.  Look in the path if we contain no directory separator.
 
11181
as_myself=
11143
11182
case $0 in #((
11144
11183
  *[\\/]* ) as_myself=$0 ;;
11145
11184
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11185
11224
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11186
11225
 
11187
11226
 
11188
 
# as_fn_error ERROR [LINENO LOG_FD]
11189
 
# ---------------------------------
 
11227
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
11228
# ----------------------------------------
11190
11229
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11191
11230
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11192
 
# script with status $?, using 1 if that was 0.
 
11231
# script with STATUS, using 1 if that was 0.
11193
11232
as_fn_error ()
11194
11233
{
11195
 
  as_status=$?; test $as_status -eq 0 && as_status=1
11196
 
  if test "$3"; then
11197
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11198
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
11234
  as_status=$1; test $as_status -eq 0 && as_status=1
 
11235
  if test "$4"; then
 
11236
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
11237
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11199
11238
  fi
11200
 
  $as_echo "$as_me: error: $1" >&2
 
11239
  $as_echo "$as_me: error: $2" >&2
11201
11240
  as_fn_exit $as_status
11202
11241
} # as_fn_error
11203
11242
 
11393
11432
      test -d "$as_dir" && break
11394
11433
    done
11395
11434
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11396
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
11435
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11397
11436
 
11398
11437
 
11399
11438
} # as_fn_mkdir_p
11446
11485
# report actual input values of CONFIG_FILES etc. instead of their
11447
11486
# values after options handling.
11448
11487
ac_log="
11449
 
This file was extended by xtables-addons $as_me 1.33, which was
11450
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
11488
This file was extended by xtables-addons $as_me 1.35, which was
 
11489
generated by GNU Autoconf 2.68.  Invocation command line was
11451
11490
 
11452
11491
  CONFIG_FILES    = $CONFIG_FILES
11453
11492
  CONFIG_HEADERS  = $CONFIG_HEADERS
11512
11551
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11513
11552
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11514
11553
ac_cs_version="\\
11515
 
xtables-addons config.status 1.33
11516
 
configured by $0, generated by GNU Autoconf 2.65,
 
11554
xtables-addons config.status 1.35
 
11555
configured by $0, generated by GNU Autoconf 2.68,
11517
11556
  with options \\"\$ac_cs_config\\"
11518
11557
 
11519
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
11558
Copyright (C) 2010 Free Software Foundation, Inc.
11520
11559
This config.status script is free software; the Free Software Foundation
11521
11560
gives unlimited permission to copy, distribute and modify it."
11522
11561
 
11534
11573
while test $# != 0
11535
11574
do
11536
11575
  case $1 in
11537
 
  --*=*)
 
11576
  --*=?*)
11538
11577
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11539
11578
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11540
11579
    ac_shift=:
11541
11580
    ;;
 
11581
  --*=)
 
11582
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
11583
    ac_optarg=
 
11584
    ac_shift=:
 
11585
    ;;
11542
11586
  *)
11543
11587
    ac_option=$1
11544
11588
    ac_optarg=$2
11560
11604
    $ac_shift
11561
11605
    case $ac_optarg in
11562
11606
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
11607
    '') as_fn_error $? "missing file argument" ;;
11563
11608
    esac
11564
11609
    as_fn_append CONFIG_FILES " '$ac_optarg'"
11565
11610
    ac_need_defaults=false;;
11572
11617
    ac_need_defaults=false;;
11573
11618
  --he | --h)
11574
11619
    # Conflict between --help and --header
11575
 
    as_fn_error "ambiguous option: \`$1'
 
11620
    as_fn_error $? "ambiguous option: \`$1'
11576
11621
Try \`$0 --help' for more information.";;
11577
11622
  --help | --hel | -h )
11578
11623
    $as_echo "$ac_cs_usage"; exit ;;
11581
11626
    ac_cs_silent=: ;;
11582
11627
 
11583
11628
  # This is an error.
11584
 
  -*) as_fn_error "unrecognized option: \`$1'
 
11629
  -*) as_fn_error $? "unrecognized option: \`$1'
11585
11630
Try \`$0 --help' for more information." ;;
11586
11631
 
11587
11632
  *) as_fn_append ac_config_targets " $1"
11900
11945
    "extensions/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/Makefile" ;;
11901
11946
    "extensions/ACCOUNT/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/ACCOUNT/Makefile" ;;
11902
11947
    "extensions/ipset-4/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/ipset-4/Makefile" ;;
11903
 
    "extensions/ipset-5/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/ipset-5/Makefile" ;;
 
11948
    "extensions/ipset-6/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/ipset-6/Makefile" ;;
11904
11949
    "extensions/pknock/Makefile") CONFIG_FILES="$CONFIG_FILES extensions/pknock/Makefile" ;;
11905
11950
 
11906
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
11951
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11907
11952
  esac
11908
11953
done
11909
11954
 
11926
11971
# after its creation but before its name has been assigned to `$tmp'.
11927
11972
$debug ||
11928
11973
{
11929
 
  tmp=
 
11974
  tmp= ac_tmp=
11930
11975
  trap 'exit_status=$?
11931
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
11976
  : "${ac_tmp:=$tmp}"
 
11977
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
11932
11978
' 0
11933
11979
  trap 'as_fn_exit 1' 1 2 13 15
11934
11980
}
11936
11982
 
11937
11983
{
11938
11984
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11939
 
  test -n "$tmp" && test -d "$tmp"
 
11985
  test -d "$tmp"
11940
11986
}  ||
11941
11987
{
11942
11988
  tmp=./conf$$-$RANDOM
11943
11989
  (umask 077 && mkdir "$tmp")
11944
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
11990
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
11991
ac_tmp=$tmp
11945
11992
 
11946
11993
# Set up the scripts for CONFIG_FILES section.
11947
11994
# No need to generate them if there are no CONFIG_FILES.
11958
12005
fi
11959
12006
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11960
12007
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11961
 
  ac_cs_awk_cr='\r'
 
12008
  ac_cs_awk_cr='\\r'
11962
12009
else
11963
12010
  ac_cs_awk_cr=$ac_cr
11964
12011
fi
11965
12012
 
11966
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
12013
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
11967
12014
_ACEOF
11968
12015
 
11969
12016
 
11972
12019
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11973
12020
  echo "_ACEOF"
11974
12021
} >conf$$subs.sh ||
11975
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11976
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
12022
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
12023
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11977
12024
ac_delim='%!_!# '
11978
12025
for ac_last_try in false false false false false :; do
11979
12026
  . ./conf$$subs.sh ||
11980
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
12027
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11981
12028
 
11982
12029
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11983
12030
  if test $ac_delim_n = $ac_delim_num; then
11984
12031
    break
11985
12032
  elif $ac_last_try; then
11986
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
12033
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11987
12034
  else
11988
12035
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11989
12036
  fi
11991
12038
rm -f conf$$subs.sh
11992
12039
 
11993
12040
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11994
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
12041
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
11995
12042
_ACEOF
11996
12043
sed -n '
11997
12044
h
12039
12086
rm -f conf$$subs.awk
12040
12087
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12041
12088
_ACAWK
12042
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
12089
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12043
12090
  for (key in S) S_is_set[key] = 1
12044
12091
  FS = ""
12045
12092
 
12071
12118
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12072
12119
else
12073
12120
  cat
12074
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12075
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
12121
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
12122
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12076
12123
_ACEOF
12077
12124
 
12078
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12079
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
12125
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
12126
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12080
12127
# trailing colons and then remove the whole line if VPATH becomes empty
12081
12128
# (actually we leave an empty line to preserve line numbers).
12082
12129
if test "x$srcdir" = x.; then
12083
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
12084
 
s/:*\$(srcdir):*/:/
12085
 
s/:*\${srcdir}:*/:/
12086
 
s/:*@srcdir@:*/:/
12087
 
s/^\([^=]*=[     ]*\):*/\1/
 
12130
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
12131
h
 
12132
s///
 
12133
s/^/:/
 
12134
s/[      ]*$/:/
 
12135
s/:\$(srcdir):/:/g
 
12136
s/:\${srcdir}:/:/g
 
12137
s/:@srcdir@:/:/g
 
12138
s/^:*//
12088
12139
s/:*$//
 
12140
x
 
12141
s/\(=[   ]*\).*/\1/
 
12142
G
 
12143
s/\n//
12089
12144
s/^[^=]*=[       ]*$//
12090
12145
}'
12091
12146
fi
12097
12152
# No need to generate them if there are no CONFIG_HEADERS.
12098
12153
# This happens for instance with `./config.status Makefile'.
12099
12154
if test -n "$CONFIG_HEADERS"; then
12100
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
12155
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
12101
12156
BEGIN {
12102
12157
_ACEOF
12103
12158
 
12109
12164
# handling of long lines.
12110
12165
ac_delim='%!_!# '
12111
12166
for ac_last_try in false false :; do
12112
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12113
 
  if test -z "$ac_t"; then
 
12167
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
12168
  if test -z "$ac_tt"; then
12114
12169
    break
12115
12170
  elif $ac_last_try; then
12116
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
12171
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12117
12172
  else
12118
12173
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12119
12174
  fi
12198
12253
_ACAWK
12199
12254
_ACEOF
12200
12255
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12201
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
12256
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12202
12257
fi # test -n "$CONFIG_HEADERS"
12203
12258
 
12204
12259
 
12211
12266
  esac
12212
12267
  case $ac_mode$ac_tag in
12213
12268
  :[FHL]*:*);;
12214
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
12269
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12215
12270
  :[FH]-) ac_tag=-:-;;
12216
12271
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12217
12272
  esac
12230
12285
    for ac_f
12231
12286
    do
12232
12287
      case $ac_f in
12233
 
      -) ac_f="$tmp/stdin";;
 
12288
      -) ac_f="$ac_tmp/stdin";;
12234
12289
      *) # Look for the file first in the build tree, then in the source tree
12235
12290
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
12236
12291
         # because $ac_f cannot contain `:'.
12239
12294
           [\\/$]*) false;;
12240
12295
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12241
12296
           esac ||
12242
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
12297
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12243
12298
      esac
12244
12299
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12245
12300
      as_fn_append ac_file_inputs " '$ac_f'"
12265
12320
    esac
12266
12321
 
12267
12322
    case $ac_tag in
12268
 
    *:-:* | *:-) cat >"$tmp/stdin" \
12269
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
12323
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
12324
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12270
12325
    esac
12271
12326
    ;;
12272
12327
  esac
12402
12457
s&@MKDIR_P@&$ac_MKDIR_P&;t t
12403
12458
$ac_datarootdir_hack
12404
12459
"
12405
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12406
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
12460
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
12461
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12407
12462
 
12408
12463
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12409
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12410
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
12464
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
12465
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
12466
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
12411
12467
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12412
 
which seems to be undefined.  Please make sure it is defined." >&5
 
12468
which seems to be undefined.  Please make sure it is defined" >&5
12413
12469
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12414
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
12470
which seems to be undefined.  Please make sure it is defined" >&2;}
12415
12471
 
12416
 
  rm -f "$tmp/stdin"
 
12472
  rm -f "$ac_tmp/stdin"
12417
12473
  case $ac_file in
12418
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
12419
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
12474
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
12475
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12420
12476
  esac \
12421
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
12477
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12422
12478
 ;;
12423
12479
  :H)
12424
12480
  #
12427
12483
  if test x"$ac_file" != x-; then
12428
12484
    {
12429
12485
      $as_echo "/* $configure_input  */" \
12430
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12431
 
    } >"$tmp/config.h" \
12432
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
12433
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
12486
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
12487
    } >"$ac_tmp/config.h" \
 
12488
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
12489
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
12434
12490
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12435
12491
$as_echo "$as_me: $ac_file is unchanged" >&6;}
12436
12492
    else
12437
12493
      rm -f "$ac_file"
12438
 
      mv "$tmp/config.h" "$ac_file" \
12439
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
12494
      mv "$ac_tmp/config.h" "$ac_file" \
 
12495
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12440
12496
    fi
12441
12497
  else
12442
12498
    $as_echo "/* $configure_input  */" \
12443
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12444
 
      || as_fn_error "could not create -" "$LINENO" 5
 
12499
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
12500
      || as_fn_error $? "could not create -" "$LINENO" 5
12445
12501
  fi
12446
12502
# Compute "$ac_file"'s index in $config_headers.
12447
12503
_am_arg="$ac_file"
13225
13281
ac_clean_files=$ac_clean_files_save
13226
13282
 
13227
13283
test $ac_write_fail = 0 ||
13228
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
13284
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13229
13285
 
13230
13286
 
13231
13287
# configure is writing to config.log, and then calls config.status.
13246
13302
  exec 5>>config.log
13247
13303
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13248
13304
  # would make configure fail if this is the last instruction.
13249
 
  $ac_cs_success || as_fn_exit $?
 
13305
  $ac_cs_success || as_fn_exit 1
13250
13306
fi
13251
13307
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13252
13308
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5