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.
5
5
# Report bugs to <http://sourceforge.net/tracker/?group_id=218421&atid=1043649>.
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,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
13
# This configure script is free software; the Free Software Foundation
320
320
test -d "$as_dir" && break
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"
326
326
} # as_fn_mkdir_p
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.
370
as_status=$?; test $as_status -eq 0 && as_status=1
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
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
375
$as_echo "$as_me: error: $1" >&2
375
$as_echo "$as_me: error: $2" >&2
376
376
as_fn_exit $as_status
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`
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'
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 ;;
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"
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'" ;;
1312
1313
eval $ac_envvar=\$ac_optarg
1313
1314
export $ac_envvar ;;
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"
1331
1332
if test -n "$ac_unrecognized_opts"; then
1332
1333
case $enable_option_checking in
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 ;;
1354
1355
[\\/$]* | ?:[\\/]* ) continue;;
1355
1356
NONE | '' ) case $ac_var in *prefix ) continue;; 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"
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
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"
1392
1393
# Find the source files, if location was not specified.
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"
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"
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.
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.
1460
1461
Usage: $0 [OPTION]... [VAR=VALUE]...
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
1646
1647
test -n "$ac_init_help" && exit $ac_status
1647
1648
if $ac_init_version; then
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
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.
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
1797
1798
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834
1835
mv -f conftest.er1 conftest.err
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
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
1906
1907
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980
1981
mv -f conftest.er1 conftest.err
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
2050
2051
ac_fn_c_check_header_mongrel ()
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
2059
2060
eval ac_res=\$$3
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;}
2116
## --------------------------------------------------------------------------- ##
2116
( $as_echo "## --------------------------------------------------------------------------- ##
2117
2117
## Report this to http://sourceforge.net/tracker/?group_id=218421&atid=1043649 ##
2118
## --------------------------------------------------------------------------- ##
2118
## --------------------------------------------------------------------------- ##"
2120
2119
) | sed "s/^/$as_me: WARNING: /" >&2
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
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
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
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 };
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
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 };
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
2267
2265
This file contains any messages produced by compilers while
2268
2266
running configure, to aid debugging if configure makes a mistake.
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
2435
2429
if test -n "$ac_subst_files"; then
2437
## ------------------- ##
2430
$as_echo "## ------------------- ##
2438
2431
## File substitutions. ##
2439
## ------------------- ##
2432
## ------------------- ##"
2442
2434
for ac_var in $ac_subst_files
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;;
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
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 ; }
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
2606
2605
## -------------------- ##
2607
2606
## Main body of script. ##
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
2624
ac_install_sh="$ac_aux_dir/$ac_t -c"
2620
if test -f "$ac_dir/install-sh"; then
2622
ac_install_sh="$ac_aux_dir/install-sh -c"
2624
elif test -f "$ac_dir/install.sh"; then
2626
ac_install_sh="$ac_aux_dir/install.sh -c"
2628
elif test -f "$ac_dir/shtool"; then
2630
ac_install_sh="$ac_aux_dir/shtool install -c"
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
2633
2638
# These three variables are undocumented and unsupported,
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 ;;
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 ;;
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
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
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
3023
3028
cat >conftest.make <<\_ACEOF
3026
3031
@echo '@@@%%%=$(MAKE)=@@@%%%'
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
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
3281
3286
socket_path="$enableval"
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
3299
3304
pam_module_dir="$enableval"
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 ; }
3535
3539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3536
3540
$as_echo "yes" >&6; }
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 ; }
3578
3582
rm -f conftest conftest$ac_cv_exeext
3579
3583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
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 ; }
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 ; }
3689
3693
rm -f conftest.$ac_cv_objext conftest.$ac_ext
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 ; }
4308
4312
# Provide some information about the compiler.
4309
4313
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4840
4844
elif test -f lexyy.c; then
4841
4845
ac_cv_prog_lex_root=lexyy
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
4846
4850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4916
4920
LEX=${am_missing_run}flex
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
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
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
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
4968
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4972
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4970
4974
build=$ac_cv_build
4971
4975
ac_save_IFS=$IFS; IFS='-'
5396
5400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5397
5401
$as_echo "no" >&6; }
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 :
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"
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
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)$'
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
7598
7602
# Broken: fails on valid input.
7601
rm -f conftest.err conftest.$ac_ext
7605
rm -f conftest.err conftest.i conftest.$ac_ext
7603
7607
# OK, works on sane cases. Now check whether nonexistent headers
7604
7608
# can be detected and how.
7614
7618
ac_preproc_ok=:
7617
rm -f conftest.err conftest.$ac_ext
7621
rm -f conftest.err conftest.i conftest.$ac_ext
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 :
7657
7661
# Broken: fails on valid input.
7660
rm -f conftest.err conftest.$ac_ext
7664
rm -f conftest.err conftest.i conftest.$ac_ext
7662
7666
# OK, works on sane cases. Now check whether nonexistent headers
7663
7667
# can be detected and how.
7673
7677
ac_preproc_ok=:
7676
rm -f conftest.err conftest.$ac_ext
7680
rm -f conftest.err conftest.i conftest.$ac_ext
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 :
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 ; }
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
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
8264
8267
# Broken: fails on valid input.
8267
rm -f conftest.err conftest.$ac_ext
8270
rm -f conftest.err conftest.i conftest.$ac_ext
8269
8272
# OK, works on sane cases. Now check whether nonexistent headers
8270
8273
# can be detected and how.
8280
8283
ac_preproc_ok=:
8283
rm -f conftest.err conftest.$ac_ext
8286
rm -f conftest.err conftest.i conftest.$ac_ext
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 :
8323
8326
# Broken: fails on valid input.
8326
rm -f conftest.err conftest.$ac_ext
8329
rm -f conftest.err conftest.i conftest.$ac_ext
8328
8331
# OK, works on sane cases. Now check whether nonexistent headers
8329
8332
# can be detected and how.
8339
8342
ac_preproc_ok=:
8342
rm -f conftest.err conftest.$ac_ext
8345
rm -f conftest.err conftest.i conftest.$ac_ext
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 :
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)
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.
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)
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)
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
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)
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
9341
9344
# The compiler can only warn and ignore the option if not recognized
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'
9565
gnu* | linux* | tpf* | k*bsd*-gnu)
9572
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9567
9574
if test "$host_os" = linux-dietlibc; then
9568
9575
case $cc_basename in
11063
11071
# before this can be enabled.
11064
11072
hardcode_into_libs=yes
11066
# Add ABI-specific directories to the system library path.
11067
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
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"
11075
11080
# We used to test for /lib/ld.so.1 and disable shared libraries on
11081
11086
dynamic_linker='GNU/Linux ld.so'
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'
11085
11102
version_type=sunos
11086
11103
need_lib_prefix=no
12212
12229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12213
12230
$as_echo "no" >&6; }
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 :
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)
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)
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
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)
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
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'
14000
linux* | k*bsd*-gnu)
14001
link_all_deplibs_CXX=no
13984
14004
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14519
14539
# before this can be enabled.
14520
14540
hardcode_into_libs=yes
14522
# Add ABI-specific directories to the system library path.
14523
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
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"
14531
14548
# We used to test for /lib/ld.so.1 and disable shared libraries on
14537
14554
dynamic_linker='GNU/Linux ld.so'
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'
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
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
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
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
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
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
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
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
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
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
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
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
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
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
16173
16199
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 ()
16183
as_status=$?; test $as_status -eq 0 && as_status=1
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
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
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
16381
16407
test -d "$as_dir" && break
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"
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.
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
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\\"
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."
16560
16592
ac_need_defaults=false;;
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 ;;
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" ;;
16997
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17029
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
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
17037
17069
# Set up the scripts for CONFIG_FILES section.
17038
17070
# No need to generate them if there are no CONFIG_FILES.
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
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
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
17079
17111
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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
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}:*/:/
17178
s/^\([^=]*=[ ]*\):*/\1/
17206
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17180
17220
s/^[^=]*=[ ]*$//
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"
17330
17370
[\\/$]*) false;;
17331
17371
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
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 ;;
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'"
17494
17534
$ac_datarootdir_hack
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
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;}
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";;
17512
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17552
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
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;}
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
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
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
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
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
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