~serge-hallyn/ubuntu/natty/libcgroup/upstart

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Jon Bernard
  • Date: 2010-12-15 11:20:42 UTC
  • mfrom: (1.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20101215112042-ww4izbh92r8e05d2
Tags: 0.37-1
* [59d325] New upstream version 0.37
* [bb3923] Set source format to 3.0 (quilt)
* [084091] Bump Standards-Version to 3.9.1
* [3504c3] Update watchfile to look for bzip2 files
* [41151b] Convert patches to git-buldpackage's patch queue format
  (Closes: #604635)

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 libcgroup 0.36.2.
 
3
# Generated by GNU Autoconf 2.67 for libcgroup 0.37.
4
4
#
5
5
# Report bugs to <http://sourceforge.net/tracker/?group_id=218421&atid=1043649>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
11
11
#
12
12
#
13
13
# This configure script is free software; the Free Software Foundation
320
320
      test -d "$as_dir" && break
321
321
    done
322
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
323
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
324
 
325
325
 
326
326
} # as_fn_mkdir_p
360
360
fi # as_fn_arith
361
361
 
362
362
 
363
 
# as_fn_error ERROR [LINENO LOG_FD]
364
 
# ---------------------------------
 
363
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
364
# ----------------------------------------
365
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
 
# script with status $?, using 1 if that was 0.
 
367
# script with STATUS, using 1 if that was 0.
368
368
as_fn_error ()
369
369
{
370
 
  as_status=$?; test $as_status -eq 0 && as_status=1
371
 
  if test "$3"; then
372
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
370
  as_status=$1; test $as_status -eq 0 && as_status=1
 
371
  if test "$4"; then
 
372
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374
374
  fi
375
 
  $as_echo "$as_me: error: $1" >&2
 
375
  $as_echo "$as_me: error: $2" >&2
376
376
  as_fn_exit $as_status
377
377
} # as_fn_error
378
378
 
683
683
exec 6>&1
684
684
 
685
685
# Name of the host.
686
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
686
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687
687
# so uname gets run too.
688
688
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
689
 
702
702
# Identity of this package.
703
703
PACKAGE_NAME='libcgroup'
704
704
PACKAGE_TARNAME='libcgroup'
705
 
PACKAGE_VERSION='0.36.2'
706
 
PACKAGE_STRING='libcgroup 0.36.2'
 
705
PACKAGE_VERSION='0.37'
 
706
PACKAGE_STRING='libcgroup 0.37'
707
707
PACKAGE_BUGREPORT='http://sourceforge.net/tracker/?group_id=218421&atid=1043649'
708
708
PACKAGE_URL=''
709
709
 
976
976
  fi
977
977
 
978
978
  case $ac_option in
979
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980
 
  *)    ac_optarg=yes ;;
 
979
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
980
  *=)   ac_optarg= ;;
 
981
  *)    ac_optarg=yes ;;
981
982
  esac
982
983
 
983
984
  # Accept the important Cygnus configure options, so we can diagnose typos.
1022
1023
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1023
1024
    # Reject names that are not valid shell variable names.
1024
1025
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1026
      as_fn_error $? "invalid feature name: $ac_useropt"
1026
1027
    ac_useropt_orig=$ac_useropt
1027
1028
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028
1029
    case $ac_user_opts in
1048
1049
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1049
1050
    # Reject names that are not valid shell variable names.
1050
1051
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1051
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1052
      as_fn_error $? "invalid feature name: $ac_useropt"
1052
1053
    ac_useropt_orig=$ac_useropt
1053
1054
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054
1055
    case $ac_user_opts in
1252
1253
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1253
1254
    # Reject names that are not valid shell variable names.
1254
1255
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255
 
      as_fn_error "invalid package name: $ac_useropt"
 
1256
      as_fn_error $? "invalid package name: $ac_useropt"
1256
1257
    ac_useropt_orig=$ac_useropt
1257
1258
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258
1259
    case $ac_user_opts in
1268
1269
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1269
1270
    # Reject names that are not valid shell variable names.
1270
1271
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1271
 
      as_fn_error "invalid package name: $ac_useropt"
 
1272
      as_fn_error $? "invalid package name: $ac_useropt"
1272
1273
    ac_useropt_orig=$ac_useropt
1273
1274
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1274
1275
    case $ac_user_opts in
1298
1299
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1299
1300
    x_libraries=$ac_optarg ;;
1300
1301
 
1301
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1302
 
Try \`$0 --help' for more information."
 
1302
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1303
Try \`$0 --help' for more information"
1303
1304
    ;;
1304
1305
 
1305
1306
  *=*)
1307
1308
    # Reject names that are not valid shell variable names.
1308
1309
    case $ac_envvar in #(
1309
1310
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1310
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1311
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1311
1312
    esac
1312
1313
    eval $ac_envvar=\$ac_optarg
1313
1314
    export $ac_envvar ;;
1325
1326
 
1326
1327
if test -n "$ac_prev"; then
1327
1328
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1328
 
  as_fn_error "missing argument to $ac_option"
 
1329
  as_fn_error $? "missing argument to $ac_option"
1329
1330
fi
1330
1331
 
1331
1332
if test -n "$ac_unrecognized_opts"; then
1332
1333
  case $enable_option_checking in
1333
1334
    no) ;;
1334
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1335
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1335
1336
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1336
1337
  esac
1337
1338
fi
1354
1355
    [\\/$]* | ?:[\\/]* )  continue;;
1355
1356
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1356
1357
  esac
1357
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1358
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1358
1359
done
1359
1360
 
1360
1361
# There might be people who depend on the old broken behavior: `$host'
1368
1369
if test "x$host_alias" != x; then
1369
1370
  if test "x$build_alias" = x; then
1370
1371
    cross_compiling=maybe
1371
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1372
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1372
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1373
    If a cross compiler is detected then cross compile mode will be used" >&2
1373
1374
  elif test "x$build_alias" != "x$host_alias"; then
1374
1375
    cross_compiling=yes
1375
1376
  fi
1384
1385
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1385
1386
ac_ls_di=`ls -di .` &&
1386
1387
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1387
 
  as_fn_error "working directory cannot be determined"
 
1388
  as_fn_error $? "working directory cannot be determined"
1388
1389
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1389
 
  as_fn_error "pwd does not report name of working directory"
 
1390
  as_fn_error $? "pwd does not report name of working directory"
1390
1391
 
1391
1392
 
1392
1393
# Find the source files, if location was not specified.
1425
1426
fi
1426
1427
if test ! -r "$srcdir/$ac_unique_file"; then
1427
1428
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1428
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1429
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1429
1430
fi
1430
1431
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1431
1432
ac_abs_confdir=`(
1432
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1433
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1433
1434
        pwd)`
1434
1435
# When building in place, set srcdir=.
1435
1436
if test "$ac_abs_confdir" = "$ac_pwd"; then
1455
1456
  # Omit some internal or obsolete options to make the list less imposing.
1456
1457
  # This message is too long to be a string in the A/UX 3.1 sh.
1457
1458
  cat <<_ACEOF
1458
 
\`configure' configures libcgroup 0.36.2 to adapt to many kinds of systems.
 
1459
\`configure' configures libcgroup 0.37 to adapt to many kinds of systems.
1459
1460
 
1460
1461
Usage: $0 [OPTION]... [VAR=VALUE]...
1461
1462
 
1469
1470
      --help=short        display options specific to this package
1470
1471
      --help=recursive    display the short help of all the included packages
1471
1472
  -V, --version           display version information and exit
1472
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1473
  -q, --quiet, --silent   do not print \`checking ...' messages
1473
1474
      --cache-file=FILE   cache test results in FILE [disabled]
1474
1475
  -C, --config-cache      alias for \`--cache-file=config.cache'
1475
1476
  -n, --no-create         do not create output files
1525
1526
 
1526
1527
if test -n "$ac_init_help"; then
1527
1528
  case $ac_init_help in
1528
 
     short | recursive ) echo "Configuration of libcgroup 0.36.2:";;
 
1529
     short | recursive ) echo "Configuration of libcgroup 0.37:";;
1529
1530
   esac
1530
1531
  cat <<\_ACEOF
1531
1532
 
1646
1647
test -n "$ac_init_help" && exit $ac_status
1647
1648
if $ac_init_version; then
1648
1649
  cat <<\_ACEOF
1649
 
libcgroup configure 0.36.2
1650
 
generated by GNU Autoconf 2.65
 
1650
libcgroup configure 0.37
 
1651
generated by GNU Autoconf 2.67
1651
1652
 
1652
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1653
Copyright (C) 2010 Free Software Foundation, Inc.
1653
1654
This configure script is free software; the Free Software Foundation
1654
1655
gives unlimited permission to copy, distribute and modify it.
1655
1656
_ACEOF
1791
1792
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792
1793
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793
1794
$as_echo_n "checking for $2... " >&6; }
1794
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1795
if eval "test \"\${$3+set}\"" = set; then :
1795
1796
  $as_echo_n "(cached) " >&6
1796
1797
else
1797
1798
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834
1835
    mv -f conftest.er1 conftest.err
1835
1836
  fi
1836
1837
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837
 
  test $ac_status = 0; } >/dev/null && {
 
1838
  test $ac_status = 0; } > conftest.i && {
1838
1839
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1839
1840
         test ! -s conftest.err
1840
1841
       }; then :
1900
1901
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901
1902
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902
1903
$as_echo_n "checking for $2... " >&6; }
1903
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1904
if eval "test \"\${$3+set}\"" = set; then :
1904
1905
  $as_echo_n "(cached) " >&6
1905
1906
else
1906
1907
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980
1981
    mv -f conftest.er1 conftest.err
1981
1982
  fi
1982
1983
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983
 
  test $ac_status = 0; } >/dev/null && {
 
1984
  test $ac_status = 0; } > conftest.i && {
1984
1985
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1985
1986
         test ! -s conftest.err
1986
1987
       }; then :
2050
2051
ac_fn_c_check_header_mongrel ()
2051
2052
{
2052
2053
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2054
  if eval "test \"\${$3+set}\"" = set; then :
2054
2055
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055
2056
$as_echo_n "checking for $2... " >&6; }
2056
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2057
if eval "test \"\${$3+set}\"" = set; then :
2057
2058
  $as_echo_n "(cached) " >&6
2058
2059
fi
2059
2060
eval ac_res=\$$3
2089
2090
else
2090
2091
  ac_header_preproc=no
2091
2092
fi
2092
 
rm -f conftest.err conftest.$ac_ext
 
2093
rm -f conftest.err conftest.i conftest.$ac_ext
2093
2094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2094
2095
$as_echo "$ac_header_preproc" >&6; }
2095
2096
 
2112
2113
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2113
2114
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2114
2115
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2115
 
( cat <<\_ASBOX
2116
 
## --------------------------------------------------------------------------- ##
 
2116
( $as_echo "## --------------------------------------------------------------------------- ##
2117
2117
## Report this to http://sourceforge.net/tracker/?group_id=218421&atid=1043649 ##
2118
 
## --------------------------------------------------------------------------- ##
2119
 
_ASBOX
 
2118
## --------------------------------------------------------------------------- ##"
2120
2119
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2121
2120
    ;;
2122
2121
esac
2123
2122
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2124
2123
$as_echo_n "checking for $2... " >&6; }
2125
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2124
if eval "test \"\${$3+set}\"" = set; then :
2126
2125
  $as_echo_n "(cached) " >&6
2127
2126
else
2128
2127
  eval "$3=\$ac_header_compiler"
2144
2143
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2145
2144
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2146
2145
$as_echo_n "checking for $2... " >&6; }
2147
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2146
if eval "test \"\${$3+set}\"" = set; then :
2148
2147
  $as_echo_n "(cached) " >&6
2149
2148
else
2150
2149
  eval "$3=no"
2198
2197
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2199
2198
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2200
2199
$as_echo_n "checking for int$2_t... " >&6; }
2201
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2200
if eval "test \"\${$3+set}\"" = set; then :
2202
2201
  $as_echo_n "(cached) " >&6
2203
2202
else
2204
2203
  eval "$3=no"
2209
2208
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210
2209
/* end confdefs.h.  */
2211
2210
$ac_includes_default
 
2211
             enum { N = $2 / 2 - 1 };
2212
2212
int
2213
2213
main ()
2214
2214
{
2215
 
static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 };
2216
 
             0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
 
2215
static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2217
2216
test_array [0] = 0
2218
2217
 
2219
2218
  ;
2224
2223
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225
2224
/* end confdefs.h.  */
2226
2225
$ac_includes_default
 
2226
                enum { N = $2 / 2 - 1 };
2227
2227
int
2228
2228
main ()
2229
2229
{
2230
 
static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 };
2231
 
                ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
 
2230
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2232
2231
                 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2233
2232
test_array [0] = 0
2234
2233
 
2249
2248
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2250
2249
fi
2251
2250
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2252
 
       eval as_val=\$$3
2253
 
   if test "x$as_val" = x""no; then :
 
2251
       if eval test \"x\$"$3"\" = x"no"; then :
2254
2252
 
2255
2253
else
2256
2254
  break
2267
2265
This file contains any messages produced by compilers while
2268
2266
running configure, to aid debugging if configure makes a mistake.
2269
2267
 
2270
 
It was created by libcgroup $as_me 0.36.2, which was
2271
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2268
It was created by libcgroup $as_me 0.37, which was
 
2269
generated by GNU Autoconf 2.67.  Invocation command line was
2272
2270
 
2273
2271
  $ $0 $@
2274
2272
 
2378
2376
  {
2379
2377
    echo
2380
2378
 
2381
 
    cat <<\_ASBOX
2382
 
## ---------------- ##
 
2379
    $as_echo "## ---------------- ##
2383
2380
## Cache variables. ##
2384
 
## ---------------- ##
2385
 
_ASBOX
 
2381
## ---------------- ##"
2386
2382
    echo
2387
2383
    # The following way of writing the cache mishandles newlines in values,
2388
2384
(
2416
2412
)
2417
2413
    echo
2418
2414
 
2419
 
    cat <<\_ASBOX
2420
 
## ----------------- ##
 
2415
    $as_echo "## ----------------- ##
2421
2416
## Output variables. ##
2422
 
## ----------------- ##
2423
 
_ASBOX
 
2417
## ----------------- ##"
2424
2418
    echo
2425
2419
    for ac_var in $ac_subst_vars
2426
2420
    do
2433
2427
    echo
2434
2428
 
2435
2429
    if test -n "$ac_subst_files"; then
2436
 
      cat <<\_ASBOX
2437
 
## ------------------- ##
 
2430
      $as_echo "## ------------------- ##
2438
2431
## File substitutions. ##
2439
 
## ------------------- ##
2440
 
_ASBOX
 
2432
## ------------------- ##"
2441
2433
      echo
2442
2434
      for ac_var in $ac_subst_files
2443
2435
      do
2451
2443
    fi
2452
2444
 
2453
2445
    if test -s confdefs.h; then
2454
 
      cat <<\_ASBOX
2455
 
## ----------- ##
 
2446
      $as_echo "## ----------- ##
2456
2447
## confdefs.h. ##
2457
 
## ----------- ##
2458
 
_ASBOX
 
2448
## ----------- ##"
2459
2449
      echo
2460
2450
      cat confdefs.h
2461
2451
      echo
2510
2500
ac_site_file1=NONE
2511
2501
ac_site_file2=NONE
2512
2502
if test -n "$CONFIG_SITE"; then
2513
 
  ac_site_file1=$CONFIG_SITE
 
2503
  # We do not want a PATH search for config.site.
 
2504
  case $CONFIG_SITE in #((
 
2505
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2506
    */*) ac_site_file1=$CONFIG_SITE;;
 
2507
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2508
  esac
2514
2509
elif test "x$prefix" != xNONE; then
2515
2510
  ac_site_file1=$prefix/share/config.site
2516
2511
  ac_site_file2=$prefix/etc/config.site
2525
2520
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2526
2521
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2527
2522
    sed 's/^/| /' "$ac_site_file" >&5
2528
 
    . "$ac_site_file"
 
2523
    . "$ac_site_file" \
 
2524
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2525
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2526
as_fn_error $? "failed to load site script $ac_site_file
 
2527
See \`config.log' for more details" "$LINENO" 5 ; }
2529
2528
  fi
2530
2529
done
2531
2530
 
2601
2600
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602
2601
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2603
2602
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2604
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2603
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2605
2604
fi
2606
2605
## -------------------- ##
2607
2606
## Main body of script. ##
2618
2617
 
2619
2618
ac_aux_dir=
2620
2619
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2621
 
  for ac_t in install-sh install.sh shtool; do
2622
 
    if test -f "$ac_dir/$ac_t"; then
2623
 
      ac_aux_dir=$ac_dir
2624
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2625
 
      break 2
2626
 
    fi
2627
 
  done
 
2620
  if test -f "$ac_dir/install-sh"; then
 
2621
    ac_aux_dir=$ac_dir
 
2622
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2623
    break
 
2624
  elif test -f "$ac_dir/install.sh"; then
 
2625
    ac_aux_dir=$ac_dir
 
2626
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2627
    break
 
2628
  elif test -f "$ac_dir/shtool"; then
 
2629
    ac_aux_dir=$ac_dir
 
2630
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2631
    break
 
2632
  fi
2628
2633
done
2629
2634
if test -z "$ac_aux_dir"; then
2630
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2635
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2631
2636
fi
2632
2637
 
2633
2638
# These three variables are undocumented and unsupported,
2743
2748
'
2744
2749
case `pwd` in
2745
2750
  *[\\\"\#\$\&\'\`$am_lf]*)
2746
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2751
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2747
2752
esac
2748
2753
case $srcdir in
2749
2754
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2750
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2755
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2751
2756
esac
2752
2757
 
2753
2758
# Do `set' in a subshell so we don't clobber the current shell's
2769
2774
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2770
2775
      # broken ls alias from the environment.  This has actually
2771
2776
      # happened.  Such a system could not be considered "sane".
2772
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2777
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2773
2778
alias in your environment" "$LINENO" 5
2774
2779
   fi
2775
2780
 
2779
2784
   # Ok.
2780
2785
   :
2781
2786
else
2782
 
   as_fn_error "newly created file is older than distributed files!
 
2787
   as_fn_error $? "newly created file is older than distributed files!
2783
2788
Check your system clock" "$LINENO" 5
2784
2789
fi
2785
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3017
3022
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3018
3023
set x ${MAKE-make}
3019
3024
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3020
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3025
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3021
3026
  $as_echo_n "(cached) " >&6
3022
3027
else
3023
3028
  cat >conftest.make <<\_ACEOF
3025
3030
all:
3026
3031
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3027
3032
_ACEOF
3028
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3033
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3029
3034
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3030
3035
  *@@@%%%=?*=@@@%%%*)
3031
3036
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3059
3064
  am__isrc=' -I$(srcdir)'
3060
3065
  # test to see if srcdir already configured
3061
3066
  if test -f $srcdir/config.status; then
3062
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3067
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3063
3068
  fi
3064
3069
fi
3065
3070
 
3075
3080
 
3076
3081
# Define the identity of the package.
3077
3082
 PACKAGE='libcgroup'
3078
 
 VERSION='0.36.2'
 
3083
 VERSION='0.37'
3079
3084
 
3080
3085
 
3081
3086
cat >>confdefs.h <<_ACEOF
3134
3139
 
3135
3140
LIBRARY_VERSION_MINOR=0
3136
3141
 
3137
 
LIBRARY_VERSION_RELEASE=36
 
3142
LIBRARY_VERSION_RELEASE=37
3138
3143
 
3139
3144
 
3140
3145
# we do not want static libraries
3276
3281
if test "${enable_cgred_socket+set}" = set; then :
3277
3282
  enableval=$enable_cgred_socket;
3278
3283
                if test "x$enableval" = xno -o "x$enableval" = xyes; then
3279
 
                        as_fn_error "Provide valid path with --enable-cgred-socket option." "$LINENO" 5
 
3284
                        as_fn_error $? "Provide valid path with --enable-cgred-socket option." "$LINENO" 5
3280
3285
                else
3281
3286
                        socket_path="$enableval"
3282
3287
                fi
3294
3299
if test "${enable_pam_module_dir+set}" = set; then :
3295
3300
  enableval=$enable_pam_module_dir;
3296
3301
                if test "x$enableval" = xno -o "x$enableval" = xyes; then
3297
 
                        as_fn_error "Provide valid path with --enable-pam-module-dir option." "$LINENO" 5
 
3302
                        as_fn_error $? "Provide valid path with --enable-pam-module-dir option." "$LINENO" 5
3298
3303
                else
3299
3304
                        pam_module_dir="$enableval"
3300
3305
                fi
3528
3533
 
3529
3534
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530
3535
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531
 
{ as_fn_set_status 77
3532
 
as_fn_error "C++ compiler cannot create executables
3533
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3536
as_fn_error 77 "C++ compiler cannot create executables
 
3537
See \`config.log' for more details" "$LINENO" 5 ; }
3534
3538
else
3535
3539
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3536
3540
$as_echo "yes" >&6; }
3572
3576
else
3573
3577
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3574
3578
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3575
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3576
 
See \`config.log' for more details." "$LINENO" 5; }
 
3579
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3580
See \`config.log' for more details" "$LINENO" 5 ; }
3577
3581
fi
3578
3582
rm -f conftest conftest$ac_cv_exeext
3579
3583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3630
3634
    else
3631
3635
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632
3636
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3633
 
as_fn_error "cannot run C++ compiled programs.
 
3637
as_fn_error $? "cannot run C++ compiled programs.
3634
3638
If you meant to cross compile, use \`--host'.
3635
 
See \`config.log' for more details." "$LINENO" 5; }
 
3639
See \`config.log' for more details" "$LINENO" 5 ; }
3636
3640
    fi
3637
3641
  fi
3638
3642
fi
3683
3687
 
3684
3688
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3685
3689
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3686
 
as_fn_error "cannot compute suffix of object files: cannot compile
3687
 
See \`config.log' for more details." "$LINENO" 5; }
 
3690
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3691
See \`config.log' for more details" "$LINENO" 5 ; }
3688
3692
fi
3689
3693
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3690
3694
fi
4302
4306
 
4303
4307
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4304
4308
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4305
 
as_fn_error "no acceptable C compiler found in \$PATH
4306
 
See \`config.log' for more details." "$LINENO" 5; }
 
4309
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4310
See \`config.log' for more details" "$LINENO" 5 ; }
4307
4311
 
4308
4312
# Provide some information about the compiler.
4309
4313
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4751
4755
 
4752
4756
 
4753
4757
    if test "$REALLY_YACC" = ""; then
4754
 
        as_fn_error "This program cannot be built unless a version of yacc is installed." "$LINENO" 5
 
4758
        as_fn_error $? "This program cannot be built unless a version of yacc is installed." "$LINENO" 5
4755
4759
    fi
4756
4760
fi
4757
4761
 
4840
4844
elif test -f lexyy.c; then
4841
4845
  ac_cv_prog_lex_root=lexyy
4842
4846
else
4843
 
  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
 
4847
  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4844
4848
fi
4845
4849
fi
4846
4850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4916
4920
  LEX=${am_missing_run}flex
4917
4921
fi
4918
4922
if test "$LEX" != flex; then
4919
 
    as_fn_error "This program cannot be built unless flex is installed." "$LINENO" 5
 
4923
    as_fn_error $? "This program cannot be built unless flex is installed." "$LINENO" 5
4920
4924
fi
4921
4925
case `pwd` in
4922
4926
  *\ * | *\     *)
4945
4949
 
4946
4950
# Make sure we can run config.sub.
4947
4951
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4948
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4952
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4949
4953
 
4950
4954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4951
4955
$as_echo_n "checking build system type... " >&6; }
4956
4960
test "x$ac_build_alias" = x &&
4957
4961
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4958
4962
test "x$ac_build_alias" = x &&
4959
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4963
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4960
4964
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4961
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4965
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4962
4966
 
4963
4967
fi
4964
4968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4965
4969
$as_echo "$ac_cv_build" >&6; }
4966
4970
case $ac_cv_build in
4967
4971
*-*-*) ;;
4968
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4972
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4969
4973
esac
4970
4974
build=$ac_cv_build
4971
4975
ac_save_IFS=$IFS; IFS='-'
4990
4994
  ac_cv_host=$ac_cv_build
4991
4995
else
4992
4996
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4993
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4997
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4994
4998
fi
4995
4999
 
4996
5000
fi
4998
5002
$as_echo "$ac_cv_host" >&6; }
4999
5003
case $ac_cv_host in
5000
5004
*-*-*) ;;
5001
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
5005
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5002
5006
esac
5003
5007
host=$ac_cv_host
5004
5008
ac_save_IFS=$IFS; IFS='-'
5071
5075
  done
5072
5076
IFS=$as_save_IFS
5073
5077
  if test -z "$ac_cv_path_SED"; then
5074
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5078
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5075
5079
  fi
5076
5080
else
5077
5081
  ac_cv_path_SED=$SED
5147
5151
  done
5148
5152
IFS=$as_save_IFS
5149
5153
  if test -z "$ac_cv_path_GREP"; then
5150
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5154
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5151
5155
  fi
5152
5156
else
5153
5157
  ac_cv_path_GREP=$GREP
5213
5217
  done
5214
5218
IFS=$as_save_IFS
5215
5219
  if test -z "$ac_cv_path_EGREP"; then
5216
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5220
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5217
5221
  fi
5218
5222
else
5219
5223
  ac_cv_path_EGREP=$EGREP
5280
5284
  done
5281
5285
IFS=$as_save_IFS
5282
5286
  if test -z "$ac_cv_path_FGREP"; then
5283
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5287
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5284
5288
  fi
5285
5289
else
5286
5290
  ac_cv_path_FGREP=$FGREP
5396
5400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5397
5401
$as_echo "no" >&6; }
5398
5402
fi
5399
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5403
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5400
5404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5401
5405
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5402
5406
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5598
5602
else
5599
5603
  lt_cv_nm_interface="BSD nm"
5600
5604
  echo "int some_variable = 0;" > conftest.$ac_ext
5601
 
  (eval echo "\"\$as_me:5601: $ac_compile\"" >&5)
 
5605
  (eval echo "\"\$as_me:5605: $ac_compile\"" >&5)
5602
5606
  (eval "$ac_compile" 2>conftest.err)
5603
5607
  cat conftest.err >&5
5604
 
  (eval echo "\"\$as_me:5604: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5608
  (eval echo "\"\$as_me:5608: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5605
5609
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5606
5610
  cat conftest.err >&5
5607
 
  (eval echo "\"\$as_me:5607: output\"" >&5)
 
5611
  (eval echo "\"\$as_me:5611: output\"" >&5)
5608
5612
  cat conftest.out >&5
5609
5613
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5610
5614
    lt_cv_nm_interface="MS dumpbin"
6070
6074
  ;;
6071
6075
 
6072
6076
# This must be Linux ELF.
6073
 
linux* | k*bsd*-gnu)
 
6077
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6074
6078
  lt_cv_deplibs_check_method=pass_all
6075
6079
  ;;
6076
6080
 
6077
 
netbsd*)
 
6081
netbsd* | netbsdelf*-gnu)
6078
6082
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6079
6083
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6080
6084
  else
6809
6813
  ;;
6810
6814
*-*-irix6*)
6811
6815
  # Find out which ABI we are using.
6812
 
  echo '#line 6812 "configure"' > conftest.$ac_ext
 
6816
  echo '#line 6816 "configure"' > conftest.$ac_ext
6813
6817
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6814
6818
  (eval $ac_compile) 2>&5
6815
6819
  ac_status=$?
7598
7602
  # Broken: fails on valid input.
7599
7603
continue
7600
7604
fi
7601
 
rm -f conftest.err conftest.$ac_ext
 
7605
rm -f conftest.err conftest.i conftest.$ac_ext
7602
7606
 
7603
7607
  # OK, works on sane cases.  Now check whether nonexistent headers
7604
7608
  # can be detected and how.
7614
7618
ac_preproc_ok=:
7615
7619
break
7616
7620
fi
7617
 
rm -f conftest.err conftest.$ac_ext
 
7621
rm -f conftest.err conftest.i conftest.$ac_ext
7618
7622
 
7619
7623
done
7620
7624
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7621
 
rm -f conftest.err conftest.$ac_ext
 
7625
rm -f conftest.i conftest.err conftest.$ac_ext
7622
7626
if $ac_preproc_ok; then :
7623
7627
  break
7624
7628
fi
7657
7661
  # Broken: fails on valid input.
7658
7662
continue
7659
7663
fi
7660
 
rm -f conftest.err conftest.$ac_ext
 
7664
rm -f conftest.err conftest.i conftest.$ac_ext
7661
7665
 
7662
7666
  # OK, works on sane cases.  Now check whether nonexistent headers
7663
7667
  # can be detected and how.
7673
7677
ac_preproc_ok=:
7674
7678
break
7675
7679
fi
7676
 
rm -f conftest.err conftest.$ac_ext
 
7680
rm -f conftest.err conftest.i conftest.$ac_ext
7677
7681
 
7678
7682
done
7679
7683
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7680
 
rm -f conftest.err conftest.$ac_ext
 
7684
rm -f conftest.i conftest.err conftest.$ac_ext
7681
7685
if $ac_preproc_ok; then :
7682
7686
 
7683
7687
else
7684
7688
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7685
7689
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7686
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7687
 
See \`config.log' for more details." "$LINENO" 5; }
 
7690
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7691
See \`config.log' for more details" "$LINENO" 5 ; }
7688
7692
fi
7689
7693
 
7690
7694
ac_ext=c
7813
7817
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7814
7818
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7815
7819
"
7816
 
eval as_val=\$$as_ac_Header
7817
 
   if test "x$as_val" = x""yes; then :
 
7820
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7818
7821
  cat >>confdefs.h <<_ACEOF
7819
7822
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7820
7823
_ACEOF
8264
8267
  # Broken: fails on valid input.
8265
8268
continue
8266
8269
fi
8267
 
rm -f conftest.err conftest.$ac_ext
 
8270
rm -f conftest.err conftest.i conftest.$ac_ext
8268
8271
 
8269
8272
  # OK, works on sane cases.  Now check whether nonexistent headers
8270
8273
  # can be detected and how.
8280
8283
ac_preproc_ok=:
8281
8284
break
8282
8285
fi
8283
 
rm -f conftest.err conftest.$ac_ext
 
8286
rm -f conftest.err conftest.i conftest.$ac_ext
8284
8287
 
8285
8288
done
8286
8289
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8287
 
rm -f conftest.err conftest.$ac_ext
 
8290
rm -f conftest.i conftest.err conftest.$ac_ext
8288
8291
if $ac_preproc_ok; then :
8289
8292
  break
8290
8293
fi
8323
8326
  # Broken: fails on valid input.
8324
8327
continue
8325
8328
fi
8326
 
rm -f conftest.err conftest.$ac_ext
 
8329
rm -f conftest.err conftest.i conftest.$ac_ext
8327
8330
 
8328
8331
  # OK, works on sane cases.  Now check whether nonexistent headers
8329
8332
  # can be detected and how.
8339
8342
ac_preproc_ok=:
8340
8343
break
8341
8344
fi
8342
 
rm -f conftest.err conftest.$ac_ext
 
8345
rm -f conftest.err conftest.i conftest.$ac_ext
8343
8346
 
8344
8347
done
8345
8348
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8346
 
rm -f conftest.err conftest.$ac_ext
 
8349
rm -f conftest.i conftest.err conftest.$ac_ext
8347
8350
if $ac_preproc_ok; then :
8348
8351
 
8349
8352
else
8832
8835
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8833
8836
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8834
8837
   -e 's:$: $lt_compiler_flag:'`
8835
 
   (eval echo "\"\$as_me:8835: $lt_compile\"" >&5)
 
8838
   (eval echo "\"\$as_me:8838: $lt_compile\"" >&5)
8836
8839
   (eval "$lt_compile" 2>conftest.err)
8837
8840
   ac_status=$?
8838
8841
   cat conftest.err >&5
8839
 
   echo "$as_me:8839: \$? = $ac_status" >&5
 
8842
   echo "$as_me:8842: \$? = $ac_status" >&5
8840
8843
   if (exit $ac_status) && test -s "$ac_outfile"; then
8841
8844
     # The compiler can only warn and ignore the option if not recognized
8842
8845
     # So say no if there are warnings other than the usual output.
9001
9004
      lt_prog_compiler_static='-non_shared'
9002
9005
      ;;
9003
9006
 
9004
 
    linux* | k*bsd*-gnu)
 
9007
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9005
9008
      case $cc_basename in
9006
9009
      # old Intel for x86_64 which still supported -KPIC.
9007
9010
      ecc*)
9171
9174
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9172
9175
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9173
9176
   -e 's:$: $lt_compiler_flag:'`
9174
 
   (eval echo "\"\$as_me:9174: $lt_compile\"" >&5)
 
9177
   (eval echo "\"\$as_me:9177: $lt_compile\"" >&5)
9175
9178
   (eval "$lt_compile" 2>conftest.err)
9176
9179
   ac_status=$?
9177
9180
   cat conftest.err >&5
9178
 
   echo "$as_me:9178: \$? = $ac_status" >&5
 
9181
   echo "$as_me:9181: \$? = $ac_status" >&5
9179
9182
   if (exit $ac_status) && test -s "$ac_outfile"; then
9180
9183
     # The compiler can only warn and ignore the option if not recognized
9181
9184
     # So say no if there are warnings other than the usual output.
9276
9279
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9277
9280
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9278
9281
   -e 's:$: $lt_compiler_flag:'`
9279
 
   (eval echo "\"\$as_me:9279: $lt_compile\"" >&5)
 
9282
   (eval echo "\"\$as_me:9282: $lt_compile\"" >&5)
9280
9283
   (eval "$lt_compile" 2>out/conftest.err)
9281
9284
   ac_status=$?
9282
9285
   cat out/conftest.err >&5
9283
 
   echo "$as_me:9283: \$? = $ac_status" >&5
 
9286
   echo "$as_me:9286: \$? = $ac_status" >&5
9284
9287
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9285
9288
   then
9286
9289
     # The compiler can only warn and ignore the option if not recognized
9331
9334
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9332
9335
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9333
9336
   -e 's:$: $lt_compiler_flag:'`
9334
 
   (eval echo "\"\$as_me:9334: $lt_compile\"" >&5)
 
9337
   (eval echo "\"\$as_me:9337: $lt_compile\"" >&5)
9335
9338
   (eval "$lt_compile" 2>out/conftest.err)
9336
9339
   ac_status=$?
9337
9340
   cat out/conftest.err >&5
9338
 
   echo "$as_me:9338: \$? = $ac_status" >&5
 
9341
   echo "$as_me:9341: \$? = $ac_status" >&5
9339
9342
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9340
9343
   then
9341
9344
     # The compiler can only warn and ignore the option if not recognized
9450
9453
  openbsd*)
9451
9454
    with_gnu_ld=no
9452
9455
    ;;
 
9456
  linux* | k*bsd*-gnu)
 
9457
    link_all_deplibs=no
 
9458
    ;;
9453
9459
  esac
9454
9460
 
9455
9461
  ld_shlibs=yes
9471
9477
    fi
9472
9478
    supports_anon_versioning=no
9473
9479
    case `$LD -v 2>&1` in
 
9480
      *GNU\ gold*) supports_anon_versioning=yes ;;
9474
9481
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9475
9482
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9476
9483
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9562
9569
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9563
9570
      ;;
9564
9571
 
9565
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9572
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9566
9573
      tmp_diet=no
9567
9574
      if test "$host_os" = linux-dietlibc; then
9568
9575
        case $cc_basename in
9632
9639
      fi
9633
9640
      ;;
9634
9641
 
9635
 
    netbsd*)
 
9642
    netbsd* | netbsdelf*-gnu)
9636
9643
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9637
9644
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9638
9645
        wlarc=
9807
9814
        if test "$aix_use_runtimelinking" = yes; then
9808
9815
          shared_flag="$shared_flag "'${wl}-G'
9809
9816
        fi
 
9817
        link_all_deplibs=no
9810
9818
      else
9811
9819
        # not using gcc
9812
9820
        if test "$host_cpu" = ia64; then
10133
10141
      link_all_deplibs=yes
10134
10142
      ;;
10135
10143
 
10136
 
    netbsd*)
 
10144
    netbsd* | netbsdelf*-gnu)
10137
10145
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10138
10146
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10139
10147
      else
11023
11031
  ;;
11024
11032
 
11025
11033
# This must be Linux ELF.
11026
 
linux* | k*bsd*-gnu)
 
11034
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11027
11035
  version_type=linux
11028
11036
  need_lib_prefix=no
11029
11037
  need_version=no
11063
11071
  # before this can be enabled.
11064
11072
  hardcode_into_libs=yes
11065
11073
 
11066
 
  # Add ABI-specific directories to the system library path.
11067
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11068
 
 
11069
11074
  # Append ld.so.conf contents to the search path
11070
11075
  if test -f /etc/ld.so.conf; then
11071
11076
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11072
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
11077
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11073
11078
  fi
11074
11079
 
11075
11080
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11081
11086
  dynamic_linker='GNU/Linux ld.so'
11082
11087
  ;;
11083
11088
 
 
11089
netbsdelf*-gnu)
 
11090
  version_type=linux
 
11091
  need_lib_prefix=no
 
11092
  need_version=no
 
11093
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11094
  soname_spec='${libname}${release}${shared_ext}$major'
 
11095
  shlibpath_var=LD_LIBRARY_PATH
 
11096
  shlibpath_overrides_runpath=no
 
11097
  hardcode_into_libs=yes
 
11098
  dynamic_linker='NetBSD ld.elf_so'
 
11099
  ;;
 
11100
 
11084
11101
netbsd*)
11085
11102
  version_type=sunos
11086
11103
  need_lib_prefix=no
11701
11718
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11702
11719
  lt_status=$lt_dlunknown
11703
11720
  cat > conftest.$ac_ext <<_LT_EOF
11704
 
#line 11704 "configure"
 
11721
#line 11721 "configure"
11705
11722
#include "confdefs.h"
11706
11723
 
11707
11724
#if HAVE_DLFCN_H
11797
11814
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11798
11815
  lt_status=$lt_dlunknown
11799
11816
  cat > conftest.$ac_ext <<_LT_EOF
11800
 
#line 11800 "configure"
 
11817
#line 11817 "configure"
11801
11818
#include "confdefs.h"
11802
11819
 
11803
11820
#if HAVE_DLFCN_H
12212
12229
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12213
12230
$as_echo "no" >&6; }
12214
12231
fi
12215
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
12232
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12216
12233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12217
12234
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12218
12235
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12737
12754
        inherit_rpath_CXX=yes
12738
12755
        ;;
12739
12756
 
12740
 
      linux* | k*bsd*-gnu)
 
12757
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
12741
12758
        case $cc_basename in
12742
12759
          KCC*)
12743
12760
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13565
13582
            ;;
13566
13583
        esac
13567
13584
        ;;
13568
 
      linux* | k*bsd*-gnu)
 
13585
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13569
13586
        case $cc_basename in
13570
13587
          KCC*)
13571
13588
            # KAI C++ Compiler
13629
13646
            ;;
13630
13647
        esac
13631
13648
        ;;
13632
 
      netbsd*)
 
13649
      netbsd* | netbsdelf*-gnu)
13633
13650
        ;;
13634
13651
      *qnx* | *nto*)
13635
13652
        # QNX uses GNU C++, but need to define -shared option too, otherwise
13753
13770
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13754
13771
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13755
13772
   -e 's:$: $lt_compiler_flag:'`
13756
 
   (eval echo "\"\$as_me:13756: $lt_compile\"" >&5)
 
13773
   (eval echo "\"\$as_me:13773: $lt_compile\"" >&5)
13757
13774
   (eval "$lt_compile" 2>conftest.err)
13758
13775
   ac_status=$?
13759
13776
   cat conftest.err >&5
13760
 
   echo "$as_me:13760: \$? = $ac_status" >&5
 
13777
   echo "$as_me:13777: \$? = $ac_status" >&5
13761
13778
   if (exit $ac_status) && test -s "$ac_outfile"; then
13762
13779
     # The compiler can only warn and ignore the option if not recognized
13763
13780
     # So say no if there are warnings other than the usual output.
13852
13869
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13853
13870
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13854
13871
   -e 's:$: $lt_compiler_flag:'`
13855
 
   (eval echo "\"\$as_me:13855: $lt_compile\"" >&5)
 
13872
   (eval echo "\"\$as_me:13872: $lt_compile\"" >&5)
13856
13873
   (eval "$lt_compile" 2>out/conftest.err)
13857
13874
   ac_status=$?
13858
13875
   cat out/conftest.err >&5
13859
 
   echo "$as_me:13859: \$? = $ac_status" >&5
 
13876
   echo "$as_me:13876: \$? = $ac_status" >&5
13860
13877
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13861
13878
   then
13862
13879
     # The compiler can only warn and ignore the option if not recognized
13904
13921
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13905
13922
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13906
13923
   -e 's:$: $lt_compiler_flag:'`
13907
 
   (eval echo "\"\$as_me:13907: $lt_compile\"" >&5)
 
13924
   (eval echo "\"\$as_me:13924: $lt_compile\"" >&5)
13908
13925
   (eval "$lt_compile" 2>out/conftest.err)
13909
13926
   ac_status=$?
13910
13927
   cat out/conftest.err >&5
13911
 
   echo "$as_me:13911: \$? = $ac_status" >&5
 
13928
   echo "$as_me:13928: \$? = $ac_status" >&5
13912
13929
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13913
13930
   then
13914
13931
     # The compiler can only warn and ignore the option if not recognized
13980
13997
  cygwin* | mingw* | cegcc*)
13981
13998
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13982
13999
  ;;
 
14000
  linux* | k*bsd*-gnu)
 
14001
    link_all_deplibs_CXX=no
 
14002
  ;;
13983
14003
  *)
13984
14004
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13985
14005
  ;;
14479
14499
  ;;
14480
14500
 
14481
14501
# This must be Linux ELF.
14482
 
linux* | k*bsd*-gnu)
 
14502
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14483
14503
  version_type=linux
14484
14504
  need_lib_prefix=no
14485
14505
  need_version=no
14519
14539
  # before this can be enabled.
14520
14540
  hardcode_into_libs=yes
14521
14541
 
14522
 
  # Add ABI-specific directories to the system library path.
14523
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14524
 
 
14525
14542
  # Append ld.so.conf contents to the search path
14526
14543
  if test -f /etc/ld.so.conf; then
14527
14544
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14528
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
14545
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14529
14546
  fi
14530
14547
 
14531
14548
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14537
14554
  dynamic_linker='GNU/Linux ld.so'
14538
14555
  ;;
14539
14556
 
 
14557
netbsdelf*-gnu)
 
14558
  version_type=linux
 
14559
  need_lib_prefix=no
 
14560
  need_version=no
 
14561
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14562
  soname_spec='${libname}${release}${shared_ext}$major'
 
14563
  shlibpath_var=LD_LIBRARY_PATH
 
14564
  shlibpath_overrides_runpath=no
 
14565
  hardcode_into_libs=yes
 
14566
  dynamic_linker='NetBSD ld.elf_so'
 
14567
  ;;
 
14568
 
14540
14569
netbsd*)
14541
14570
  version_type=sunos
14542
14571
  need_lib_prefix=no
14866
14895
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
14867
14896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14868
14897
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
14869
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
 
14898
if eval "test \"\${$as_ac_Header+set}\"" = set; then :
14870
14899
  $as_echo_n "(cached) " >&6
14871
14900
else
14872
14901
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14893
14922
eval ac_res=\$$as_ac_Header
14894
14923
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14895
14924
$as_echo "$ac_res" >&6; }
14896
 
eval as_val=\$$as_ac_Header
14897
 
   if test "x$as_val" = x""yes; then :
 
14925
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14898
14926
  cat >>confdefs.h <<_ACEOF
14899
14927
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
14900
14928
_ACEOF
15136
15164
do :
15137
15165
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15138
15166
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15139
 
eval as_val=\$$as_ac_Header
15140
 
   if test "x$as_val" = x""yes; then :
 
15167
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15141
15168
  cat >>confdefs.h <<_ACEOF
15142
15169
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15143
15170
_ACEOF
15809
15836
do :
15810
15837
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15811
15838
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15812
 
eval as_val=\$$as_ac_var
15813
 
   if test "x$as_val" = x""yes; then :
 
15839
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15814
15840
  cat >>confdefs.h <<_ACEOF
15815
15841
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15816
15842
_ACEOF
15861
15887
                                                                        :
15862
15888
 
15863
15889
else
15864
 
  as_fn_error "Cannot compile PAM module without libpam!" "$LINENO" 5
 
15890
  as_fn_error $? "Cannot compile PAM module without libpam!" "$LINENO" 5
15865
15891
fi
15866
15892
 
15867
15893
 
15869
15895
do :
15870
15896
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15871
15897
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15872
 
eval as_val=\$$as_ac_Header
15873
 
   if test "x$as_val" = x""yes; then :
 
15898
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15874
15899
  cat >>confdefs.h <<_ACEOF
15875
15900
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15876
15901
_ACEOF
15877
15902
 
15878
15903
else
15879
 
  as_fn_error "Cannot compile PAM module without necessary
 
15904
  as_fn_error $? "Cannot compile PAM module without necessary
15880
15905
                header files!" "$LINENO" 5
15881
15906
fi
15882
15907
 
15972
15997
 
15973
15998
ac_libobjs=
15974
15999
ac_ltlibobjs=
 
16000
U=
15975
16001
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15976
16002
  # 1. Remove the extension, and $U if already installed.
15977
16003
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15995
16021
fi
15996
16022
 
15997
16023
if test -z "${WITH_TOOLS_TRUE}" && test -z "${WITH_TOOLS_FALSE}"; then
15998
 
  as_fn_error "conditional \"WITH_TOOLS\" was never defined.
 
16024
  as_fn_error $? "conditional \"WITH_TOOLS\" was never defined.
15999
16025
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16000
16026
fi
16001
16027
if test -z "${WITH_PAM_TRUE}" && test -z "${WITH_PAM_FALSE}"; then
16002
 
  as_fn_error "conditional \"WITH_PAM\" was never defined.
 
16028
  as_fn_error $? "conditional \"WITH_PAM\" was never defined.
16003
16029
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16004
16030
fi
16005
16031
if test -z "${WITH_DAEMON_TRUE}" && test -z "${WITH_DAEMON_FALSE}"; then
16006
 
  as_fn_error "conditional \"WITH_DAEMON\" was never defined.
 
16032
  as_fn_error $? "conditional \"WITH_DAEMON\" was never defined.
16007
16033
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16008
16034
fi
16009
16035
if test -z "${WITH_INITSCRIPT_INSTALL_TRUE}" && test -z "${WITH_INITSCRIPT_INSTALL_FALSE}"; then
16010
 
  as_fn_error "conditional \"WITH_INITSCRIPT_INSTALL\" was never defined.
 
16036
  as_fn_error $? "conditional \"WITH_INITSCRIPT_INSTALL\" was never defined.
16011
16037
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16012
16038
fi
16013
16039
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16014
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
16040
  as_fn_error $? "conditional \"AMDEP\" was never defined.
16015
16041
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16016
16042
fi
16017
16043
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16018
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
16044
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16019
16045
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16020
16046
fi
16021
16047
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16022
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
16048
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16023
16049
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16024
16050
fi
16025
16051
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16026
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
16052
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16027
16053
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16028
16054
fi
16029
16055
 
16173
16199
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16174
16200
 
16175
16201
 
16176
 
# as_fn_error ERROR [LINENO LOG_FD]
16177
 
# ---------------------------------
 
16202
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
16203
# ----------------------------------------
16178
16204
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16179
16205
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16180
 
# script with status $?, using 1 if that was 0.
 
16206
# script with STATUS, using 1 if that was 0.
16181
16207
as_fn_error ()
16182
16208
{
16183
 
  as_status=$?; test $as_status -eq 0 && as_status=1
16184
 
  if test "$3"; then
16185
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16186
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
16209
  as_status=$1; test $as_status -eq 0 && as_status=1
 
16210
  if test "$4"; then
 
16211
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
16212
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16187
16213
  fi
16188
 
  $as_echo "$as_me: error: $1" >&2
 
16214
  $as_echo "$as_me: error: $2" >&2
16189
16215
  as_fn_exit $as_status
16190
16216
} # as_fn_error
16191
16217
 
16381
16407
      test -d "$as_dir" && break
16382
16408
    done
16383
16409
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16384
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
16410
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16385
16411
 
16386
16412
 
16387
16413
} # as_fn_mkdir_p
16434
16460
# report actual input values of CONFIG_FILES etc. instead of their
16435
16461
# values after options handling.
16436
16462
ac_log="
16437
 
This file was extended by libcgroup $as_me 0.36.2, which was
16438
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
16463
This file was extended by libcgroup $as_me 0.37, which was
 
16464
generated by GNU Autoconf 2.67.  Invocation command line was
16439
16465
 
16440
16466
  CONFIG_FILES    = $CONFIG_FILES
16441
16467
  CONFIG_HEADERS  = $CONFIG_HEADERS
16500
16526
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16501
16527
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16502
16528
ac_cs_version="\\
16503
 
libcgroup config.status 0.36.2
16504
 
configured by $0, generated by GNU Autoconf 2.65,
 
16529
libcgroup config.status 0.37
 
16530
configured by $0, generated by GNU Autoconf 2.67,
16505
16531
  with options \\"\$ac_cs_config\\"
16506
16532
 
16507
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
16533
Copyright (C) 2010 Free Software Foundation, Inc.
16508
16534
This config.status script is free software; the Free Software Foundation
16509
16535
gives unlimited permission to copy, distribute and modify it."
16510
16536
 
16522
16548
while test $# != 0
16523
16549
do
16524
16550
  case $1 in
16525
 
  --*=*)
 
16551
  --*=?*)
16526
16552
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16527
16553
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16528
16554
    ac_shift=:
16529
16555
    ;;
 
16556
  --*=)
 
16557
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
16558
    ac_optarg=
 
16559
    ac_shift=:
 
16560
    ;;
16530
16561
  *)
16531
16562
    ac_option=$1
16532
16563
    ac_optarg=$2
16548
16579
    $ac_shift
16549
16580
    case $ac_optarg in
16550
16581
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16582
    '') as_fn_error $? "missing file argument" ;;
16551
16583
    esac
16552
16584
    as_fn_append CONFIG_FILES " '$ac_optarg'"
16553
16585
    ac_need_defaults=false;;
16560
16592
    ac_need_defaults=false;;
16561
16593
  --he | --h)
16562
16594
    # Conflict between --help and --header
16563
 
    as_fn_error "ambiguous option: \`$1'
 
16595
    as_fn_error $? "ambiguous option: \`$1'
16564
16596
Try \`$0 --help' for more information.";;
16565
16597
  --help | --hel | -h )
16566
16598
    $as_echo "$ac_cs_usage"; exit ;;
16569
16601
    ac_cs_silent=: ;;
16570
16602
 
16571
16603
  # This is an error.
16572
 
  -*) as_fn_error "unrecognized option: \`$1'
 
16604
  -*) as_fn_error $? "unrecognized option: \`$1'
16573
16605
Try \`$0 --help' for more information." ;;
16574
16606
 
16575
16607
  *) as_fn_append ac_config_targets " $1"
16994
17026
    "libcgroup.pc") CONFIG_FILES="$CONFIG_FILES libcgroup.pc" ;;
16995
17027
    "dist/libcgroup.spec") CONFIG_FILES="$CONFIG_FILES dist/libcgroup.spec:dist/libcgroup.spec.in" ;;
16996
17028
 
16997
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
17029
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16998
17030
  esac
16999
17031
done
17000
17032
 
17032
17064
{
17033
17065
  tmp=./conf$$-$RANDOM
17034
17066
  (umask 077 && mkdir "$tmp")
17035
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
17067
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17036
17068
 
17037
17069
# Set up the scripts for CONFIG_FILES section.
17038
17070
# No need to generate them if there are no CONFIG_FILES.
17049
17081
fi
17050
17082
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17051
17083
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17052
 
  ac_cs_awk_cr='\r'
 
17084
  ac_cs_awk_cr='\\r'
17053
17085
else
17054
17086
  ac_cs_awk_cr=$ac_cr
17055
17087
fi
17063
17095
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17064
17096
  echo "_ACEOF"
17065
17097
} >conf$$subs.sh ||
17066
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17067
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
17098
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
17099
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17068
17100
ac_delim='%!_!# '
17069
17101
for ac_last_try in false false false false false :; do
17070
17102
  . ./conf$$subs.sh ||
17071
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17103
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17072
17104
 
17073
17105
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17074
17106
  if test $ac_delim_n = $ac_delim_num; then
17075
17107
    break
17076
17108
  elif $ac_last_try; then
17077
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17109
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17078
17110
  else
17079
17111
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17080
17112
  fi
17163
17195
else
17164
17196
  cat
17165
17197
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17166
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
17198
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17167
17199
_ACEOF
17168
17200
 
17169
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
17170
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
17201
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
17202
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17171
17203
# trailing colons and then remove the whole line if VPATH becomes empty
17172
17204
# (actually we leave an empty line to preserve line numbers).
17173
17205
if test "x$srcdir" = x.; then
17174
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
17175
 
s/:*\$(srcdir):*/:/
17176
 
s/:*\${srcdir}:*/:/
17177
 
s/:*@srcdir@:*/:/
17178
 
s/^\([^=]*=[     ]*\):*/\1/
 
17206
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
17207
h
 
17208
s///
 
17209
s/^/:/
 
17210
s/[      ]*$/:/
 
17211
s/:\$(srcdir):/:/g
 
17212
s/:\${srcdir}:/:/g
 
17213
s/:@srcdir@:/:/g
 
17214
s/^:*//
17179
17215
s/:*$//
 
17216
x
 
17217
s/\(=[   ]*\).*/\1/
 
17218
G
 
17219
s/\n//
17180
17220
s/^[^=]*=[       ]*$//
17181
17221
}'
17182
17222
fi
17204
17244
  if test -z "$ac_t"; then
17205
17245
    break
17206
17246
  elif $ac_last_try; then
17207
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
17247
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17208
17248
  else
17209
17249
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17210
17250
  fi
17289
17329
_ACAWK
17290
17330
_ACEOF
17291
17331
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17292
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
17332
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17293
17333
fi # test -n "$CONFIG_HEADERS"
17294
17334
 
17295
17335
 
17302
17342
  esac
17303
17343
  case $ac_mode$ac_tag in
17304
17344
  :[FHL]*:*);;
17305
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
17345
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17306
17346
  :[FH]-) ac_tag=-:-;;
17307
17347
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17308
17348
  esac
17330
17370
           [\\/$]*) false;;
17331
17371
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17332
17372
           esac ||
17333
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
17373
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17334
17374
      esac
17335
17375
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17336
17376
      as_fn_append ac_file_inputs " '$ac_f'"
17357
17397
 
17358
17398
    case $ac_tag in
17359
17399
    *:-:* | *:-) cat >"$tmp/stdin" \
17360
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
17400
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
17361
17401
    esac
17362
17402
    ;;
17363
17403
  esac
17494
17534
$ac_datarootdir_hack
17495
17535
"
17496
17536
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17497
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17537
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17498
17538
 
17499
17539
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17500
17540
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17501
17541
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17502
17542
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17503
 
which seems to be undefined.  Please make sure it is defined." >&5
 
17543
which seems to be undefined.  Please make sure it is defined" >&5
17504
17544
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17505
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
17545
which seems to be undefined.  Please make sure it is defined" >&2;}
17506
17546
 
17507
17547
  rm -f "$tmp/stdin"
17508
17548
  case $ac_file in
17509
17549
  -) cat "$tmp/out" && rm -f "$tmp/out";;
17510
17550
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17511
17551
  esac \
17512
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17552
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17513
17553
 ;;
17514
17554
  :H)
17515
17555
  #
17520
17560
      $as_echo "/* $configure_input  */" \
17521
17561
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17522
17562
    } >"$tmp/config.h" \
17523
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17563
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17524
17564
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17525
17565
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17526
17566
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17527
17567
    else
17528
17568
      rm -f "$ac_file"
17529
17569
      mv "$tmp/config.h" "$ac_file" \
17530
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17570
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17531
17571
    fi
17532
17572
  else
17533
17573
    $as_echo "/* $configure_input  */" \
17534
17574
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17535
 
      || as_fn_error "could not create -" "$LINENO" 5
 
17575
      || as_fn_error $? "could not create -" "$LINENO" 5
17536
17576
  fi
17537
17577
# Compute "$ac_file"'s index in $config_headers.
17538
17578
_am_arg="$ac_file"
18484
18524
ac_clean_files=$ac_clean_files_save
18485
18525
 
18486
18526
test $ac_write_fail = 0 ||
18487
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
18527
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18488
18528
 
18489
18529
 
18490
18530
# configure is writing to config.log, and then calls config.status.
18505
18545
  exec 5>>config.log
18506
18546
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18507
18547
  # would make configure fail if this is the last instruction.
18508
 
  $ac_cs_success || as_fn_exit $?
 
18548
  $ac_cs_success || as_fn_exit 1
18509
18549
fi
18510
18550
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18511
18551
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5