0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.65.
|
|
2 |
# Generated by GNU Autoconf 2.68.
|
3 | 3 |
#
|
4 | 4 |
#
|
5 | 5 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
6 | |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
7 | |
# Inc.
|
|
6 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
|
7 |
# Foundation, Inc.
|
8 | 8 |
#
|
9 | 9 |
#
|
10 | 10 |
# This configure script is free software; the Free Software Foundation
|
|
88 | 88 |
IFS=" "" $as_nl"
|
89 | 89 |
|
90 | 90 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
91 |
as_myself=
|
91 | 92 |
case $0 in #((
|
92 | 93 |
*[\\/]* ) as_myself=$0 ;;
|
93 | 94 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
213 | 214 |
# We cannot yet assume a decent shell, so we have to provide a
|
214 | 215 |
# neutralization value for shells without unset; and this also
|
215 | 216 |
# works around shells that cannot unset nonexistent variables.
|
|
217 |
# Preserve -v and -x to the replacement shell.
|
216 | 218 |
BASH_ENV=/dev/null
|
217 | 219 |
ENV=/dev/null
|
218 | 220 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
219 | 221 |
export CONFIG_SHELL
|
220 | |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
222 |
case $- in # ((((
|
|
223 |
*v*x* | *x*v* ) as_opts=-vx ;;
|
|
224 |
*v* ) as_opts=-v ;;
|
|
225 |
*x* ) as_opts=-x ;;
|
|
226 |
* ) as_opts= ;;
|
|
227 |
esac
|
|
228 |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
|
221 | 229 |
fi
|
222 | 230 |
|
223 | 231 |
if test x$as_have_required = xno; then :
|
|
315 | 323 |
test -d "$as_dir" && break
|
316 | 324 |
done
|
317 | 325 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
318 | |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
326 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
319 | 327 |
|
320 | 328 |
|
321 | 329 |
} # as_fn_mkdir_p
|
|
355 | 363 |
fi # as_fn_arith
|
356 | 364 |
|
357 | 365 |
|
358 | |
# as_fn_error ERROR [LINENO LOG_FD]
|
359 | |
# ---------------------------------
|
|
366 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
367 |
# ----------------------------------------
|
360 | 368 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
361 | 369 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
362 | |
# script with status $?, using 1 if that was 0.
|
|
370 |
# script with STATUS, using 1 if that was 0.
|
363 | 371 |
as_fn_error ()
|
364 | 372 |
{
|
365 | |
as_status=$?; test $as_status -eq 0 && as_status=1
|
366 | |
if test "$3"; then
|
367 | |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
368 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
373 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
374 |
if test "$4"; then
|
|
375 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
376 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
369 | 377 |
fi
|
370 | |
$as_echo "$as_me: error: $1" >&2
|
|
378 |
$as_echo "$as_me: error: $2" >&2
|
371 | 379 |
as_fn_exit $as_status
|
372 | 380 |
} # as_fn_error
|
373 | 381 |
|
|
529 | 537 |
exec 6>&1
|
530 | 538 |
|
531 | 539 |
# Name of the host.
|
532 | |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
540 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
533 | 541 |
# so uname gets run too.
|
534 | 542 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
535 | 543 |
|
|
594 | 602 |
am__EXEEXT_TRUE
|
595 | 603 |
LTLIBOBJS
|
596 | 604 |
LIBOBJS
|
597 | |
CXXCPP
|
598 | 605 |
EGREP
|
599 | 606 |
GREP
|
600 | |
CPP
|
|
607 |
CXXCPP
|
601 | 608 |
am__fastdepCC_FALSE
|
602 | 609 |
am__fastdepCC_TRUE
|
603 | 610 |
CCDEPMODE
|
|
697 | 704 |
CCC
|
698 | 705 |
CC
|
699 | 706 |
CFLAGS
|
700 | |
CPP
|
701 | 707 |
CXXCPP'
|
702 | 708 |
|
703 | 709 |
|
|
761 | 767 |
fi
|
762 | 768 |
|
763 | 769 |
case $ac_option in
|
764 | |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
765 | |
*) ac_optarg=yes ;;
|
|
770 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
771 |
*=) ac_optarg= ;;
|
|
772 |
*) ac_optarg=yes ;;
|
766 | 773 |
esac
|
767 | 774 |
|
768 | 775 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
807 | 814 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
808 | 815 |
# Reject names that are not valid shell variable names.
|
809 | 816 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
810 | |
as_fn_error "invalid feature name: $ac_useropt"
|
|
817 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
811 | 818 |
ac_useropt_orig=$ac_useropt
|
812 | 819 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
813 | 820 |
case $ac_user_opts in
|
|
833 | 840 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
834 | 841 |
# Reject names that are not valid shell variable names.
|
835 | 842 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
836 | |
as_fn_error "invalid feature name: $ac_useropt"
|
|
843 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
837 | 844 |
ac_useropt_orig=$ac_useropt
|
838 | 845 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
839 | 846 |
case $ac_user_opts in
|
|
1037 | 1044 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1038 | 1045 |
# Reject names that are not valid shell variable names.
|
1039 | 1046 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1040 | |
as_fn_error "invalid package name: $ac_useropt"
|
|
1047 |
as_fn_error $? "invalid package name: $ac_useropt"
|
1041 | 1048 |
ac_useropt_orig=$ac_useropt
|
1042 | 1049 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1043 | 1050 |
case $ac_user_opts in
|
|
1053 | 1060 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1054 | 1061 |
# Reject names that are not valid shell variable names.
|
1055 | 1062 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1056 | |
as_fn_error "invalid package name: $ac_useropt"
|
|
1063 |
as_fn_error $? "invalid package name: $ac_useropt"
|
1057 | 1064 |
ac_useropt_orig=$ac_useropt
|
1058 | 1065 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1059 | 1066 |
case $ac_user_opts in
|
|
1083 | 1090 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1084 | 1091 |
x_libraries=$ac_optarg ;;
|
1085 | 1092 |
|
1086 | |
-*) as_fn_error "unrecognized option: \`$ac_option'
|
1087 | |
Try \`$0 --help' for more information."
|
|
1093 |
-*) as_fn_error $? "unrecognized option: \`$ac_option'
|
|
1094 |
Try \`$0 --help' for more information"
|
1088 | 1095 |
;;
|
1089 | 1096 |
|
1090 | 1097 |
*=*)
|
|
1092 | 1099 |
# Reject names that are not valid shell variable names.
|
1093 | 1100 |
case $ac_envvar in #(
|
1094 | 1101 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
1095 | |
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
|
1102 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
1096 | 1103 |
esac
|
1097 | 1104 |
eval $ac_envvar=\$ac_optarg
|
1098 | 1105 |
export $ac_envvar ;;
|
|
1102 | 1109 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1103 | 1110 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1104 | 1111 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1105 | |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
|
1112 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
1106 | 1113 |
;;
|
1107 | 1114 |
|
1108 | 1115 |
esac
|
|
1110 | 1117 |
|
1111 | 1118 |
if test -n "$ac_prev"; then
|
1112 | 1119 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1113 | |
as_fn_error "missing argument to $ac_option"
|
|
1120 |
as_fn_error $? "missing argument to $ac_option"
|
1114 | 1121 |
fi
|
1115 | 1122 |
|
1116 | 1123 |
if test -n "$ac_unrecognized_opts"; then
|
1117 | 1124 |
case $enable_option_checking in
|
1118 | 1125 |
no) ;;
|
1119 | |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
|
1126 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
1120 | 1127 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1121 | 1128 |
esac
|
1122 | 1129 |
fi
|
|
1139 | 1146 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1140 | 1147 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1141 | 1148 |
esac
|
1142 | |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
|
1149 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
1143 | 1150 |
done
|
1144 | 1151 |
|
1145 | 1152 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1153 | 1160 |
if test "x$host_alias" != x; then
|
1154 | 1161 |
if test "x$build_alias" = x; then
|
1155 | 1162 |
cross_compiling=maybe
|
1156 | |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1157 | |
If a cross compiler is detected then cross compile mode will be used." >&2
|
|
1163 |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
|
1164 |
If a cross compiler is detected then cross compile mode will be used" >&2
|
1158 | 1165 |
elif test "x$build_alias" != "x$host_alias"; then
|
1159 | 1166 |
cross_compiling=yes
|
1160 | 1167 |
fi
|
|
1169 | 1176 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1170 | 1177 |
ac_ls_di=`ls -di .` &&
|
1171 | 1178 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1172 | |
as_fn_error "working directory cannot be determined"
|
|
1179 |
as_fn_error $? "working directory cannot be determined"
|
1173 | 1180 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1174 | |
as_fn_error "pwd does not report name of working directory"
|
|
1181 |
as_fn_error $? "pwd does not report name of working directory"
|
1175 | 1182 |
|
1176 | 1183 |
|
1177 | 1184 |
# Find the source files, if location was not specified.
|
|
1210 | 1217 |
fi
|
1211 | 1218 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1212 | 1219 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1213 | |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
|
1220 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
1214 | 1221 |
fi
|
1215 | 1222 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1216 | 1223 |
ac_abs_confdir=`(
|
1217 | |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
|
1224 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
1218 | 1225 |
pwd)`
|
1219 | 1226 |
# When building in place, set srcdir=.
|
1220 | 1227 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1254 | 1261 |
--help=short display options specific to this package
|
1255 | 1262 |
--help=recursive display the short help of all the included packages
|
1256 | 1263 |
-V, --version display version information and exit
|
1257 | |
-q, --quiet, --silent do not print \`checking...' messages
|
|
1264 |
-q, --quiet, --silent do not print \`checking ...' messages
|
1258 | 1265 |
--cache-file=FILE cache test results in FILE [disabled]
|
1259 | 1266 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
1260 | 1267 |
-n, --no-create do not create output files
|
|
1325 | 1332 |
you have headers in a nonstandard directory <include dir>
|
1326 | 1333 |
CC C compiler command
|
1327 | 1334 |
CFLAGS C compiler flags
|
1328 | |
CPP C preprocessor
|
1329 | 1335 |
CXXCPP C++ preprocessor
|
1330 | 1336 |
|
1331 | 1337 |
Use these variables to override the choices made by `configure' or to help
|
|
1395 | 1401 |
if $ac_init_version; then
|
1396 | 1402 |
cat <<\_ACEOF
|
1397 | 1403 |
configure
|
1398 | |
generated by GNU Autoconf 2.65
|
1399 | |
|
1400 | |
Copyright (C) 2009 Free Software Foundation, Inc.
|
|
1404 |
generated by GNU Autoconf 2.68
|
|
1405 |
|
|
1406 |
Copyright (C) 2010 Free Software Foundation, Inc.
|
1401 | 1407 |
This configure script is free software; the Free Software Foundation
|
1402 | 1408 |
gives unlimited permission to copy, distribute and modify it.
|
1403 | 1409 |
_ACEOF
|
|
1441 | 1447 |
|
1442 | 1448 |
ac_retval=1
|
1443 | 1449 |
fi
|
1444 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1450 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1445 | 1451 |
as_fn_set_status $ac_retval
|
1446 | 1452 |
|
1447 | 1453 |
} # ac_fn_cxx_try_compile
|
|
1479 | 1485 |
|
1480 | 1486 |
ac_retval=1
|
1481 | 1487 |
fi
|
1482 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1488 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1483 | 1489 |
as_fn_set_status $ac_retval
|
1484 | 1490 |
|
1485 | 1491 |
} # ac_fn_c_try_compile
|
1486 | 1492 |
|
1487 | |
# ac_fn_c_try_cpp LINENO
|
1488 | |
# ----------------------
|
|
1493 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1494 |
# -------------------------------------------------------
|
|
1495 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1496 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1497 |
ac_fn_c_check_header_compile ()
|
|
1498 |
{
|
|
1499 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1500 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1501 |
$as_echo_n "checking for $2... " >&6; }
|
|
1502 |
if eval \${$3+:} false; then :
|
|
1503 |
$as_echo_n "(cached) " >&6
|
|
1504 |
else
|
|
1505 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1506 |
/* end confdefs.h. */
|
|
1507 |
$4
|
|
1508 |
#include <$2>
|
|
1509 |
_ACEOF
|
|
1510 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1511 |
eval "$3=yes"
|
|
1512 |
else
|
|
1513 |
eval "$3=no"
|
|
1514 |
fi
|
|
1515 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1516 |
fi
|
|
1517 |
eval ac_res=\$$3
|
|
1518 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1519 |
$as_echo "$ac_res" >&6; }
|
|
1520 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1521 |
|
|
1522 |
} # ac_fn_c_check_header_compile
|
|
1523 |
|
|
1524 |
# ac_fn_cxx_try_cpp LINENO
|
|
1525 |
# ------------------------
|
1489 | 1526 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
1490 | |
ac_fn_c_try_cpp ()
|
|
1527 |
ac_fn_cxx_try_cpp ()
|
1491 | 1528 |
{
|
1492 | 1529 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1493 | 1530 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1505 | 1542 |
mv -f conftest.er1 conftest.err
|
1506 | 1543 |
fi
|
1507 | 1544 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1508 | |
test $ac_status = 0; } >/dev/null && {
|
1509 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1545 |
test $ac_status = 0; } > conftest.i && {
|
|
1546 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
1510 | 1547 |
test ! -s conftest.err
|
1511 | 1548 |
}; then :
|
1512 | 1549 |
ac_retval=0
|
|
1516 | 1553 |
|
1517 | 1554 |
ac_retval=1
|
1518 | 1555 |
fi
|
1519 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1556 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1520 | 1557 |
as_fn_set_status $ac_retval
|
1521 | 1558 |
|
1522 | |
} # ac_fn_c_try_cpp
|
1523 | |
|
1524 | |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1525 | |
# -------------------------------------------------------
|
|
1559 |
} # ac_fn_cxx_try_cpp
|
|
1560 |
|
|
1561 |
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1562 |
# ---------------------------------------------------------
|
1526 | 1563 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
1527 | 1564 |
# the include files in INCLUDES and setting the cache variable VAR
|
1528 | 1565 |
# accordingly.
|
1529 | |
ac_fn_c_check_header_mongrel ()
|
|
1566 |
ac_fn_cxx_check_header_mongrel ()
|
1530 | 1567 |
{
|
1531 | 1568 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1532 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1569 |
if eval \${$3+:} false; then :
|
1533 | 1570 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1534 | 1571 |
$as_echo_n "checking for $2... " >&6; }
|
1535 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1572 |
if eval \${$3+:} false; then :
|
1536 | 1573 |
$as_echo_n "(cached) " >&6
|
1537 | 1574 |
fi
|
1538 | 1575 |
eval ac_res=\$$3
|
|
1547 | 1584 |
$4
|
1548 | 1585 |
#include <$2>
|
1549 | 1586 |
_ACEOF
|
1550 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1587 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
1551 | 1588 |
ac_header_compiler=yes
|
1552 | 1589 |
else
|
1553 | 1590 |
ac_header_compiler=no
|
|
1563 | 1600 |
/* end confdefs.h. */
|
1564 | 1601 |
#include <$2>
|
1565 | 1602 |
_ACEOF
|
1566 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
1603 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
1567 | 1604 |
ac_header_preproc=yes
|
1568 | 1605 |
else
|
1569 | 1606 |
ac_header_preproc=no
|
1570 | 1607 |
fi
|
1571 | |
rm -f conftest.err conftest.$ac_ext
|
|
1608 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
1572 | 1609 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
1573 | 1610 |
$as_echo "$ac_header_preproc" >&6; }
|
1574 | 1611 |
|
1575 | 1612 |
# So? What about this header?
|
1576 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
1613 |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
|
1577 | 1614 |
yes:no: )
|
1578 | 1615 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
1579 | 1616 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1595 | 1632 |
esac
|
1596 | 1633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1597 | 1634 |
$as_echo_n "checking for $2... " >&6; }
|
1598 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1635 |
if eval \${$3+:} false; then :
|
1599 | 1636 |
$as_echo_n "(cached) " >&6
|
1600 | 1637 |
else
|
1601 | 1638 |
eval "$3=\$ac_header_compiler"
|
|
1604 | 1641 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1605 | 1642 |
$as_echo "$ac_res" >&6; }
|
1606 | 1643 |
fi
|
1607 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1608 | |
|
1609 | |
} # ac_fn_c_check_header_mongrel
|
1610 | |
|
1611 | |
# ac_fn_c_try_run LINENO
|
1612 | |
# ----------------------
|
|
1644 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1645 |
|
|
1646 |
} # ac_fn_cxx_check_header_mongrel
|
|
1647 |
|
|
1648 |
# ac_fn_cxx_try_run LINENO
|
|
1649 |
# ------------------------
|
1613 | 1650 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
1614 | 1651 |
# that executables *can* be run.
|
1615 | |
ac_fn_c_try_run ()
|
|
1652 |
ac_fn_cxx_try_run ()
|
1616 | 1653 |
{
|
1617 | 1654 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1618 | 1655 |
if { { ac_try="$ac_link"
|
|
1645 | 1682 |
ac_retval=$ac_status
|
1646 | 1683 |
fi
|
1647 | 1684 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1648 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1685 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1649 | 1686 |
as_fn_set_status $ac_retval
|
1650 | 1687 |
|
1651 | |
} # ac_fn_c_try_run
|
1652 | |
|
1653 | |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
1654 | |
# -------------------------------------------------------
|
|
1688 |
} # ac_fn_cxx_try_run
|
|
1689 |
|
|
1690 |
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1691 |
# ---------------------------------------------------------
|
1655 | 1692 |
# Tests whether HEADER exists and can be compiled using the include files in
|
1656 | 1693 |
# INCLUDES, setting the cache variable VAR accordingly.
|
1657 | |
ac_fn_c_check_header_compile ()
|
|
1694 |
ac_fn_cxx_check_header_compile ()
|
1658 | 1695 |
{
|
1659 | 1696 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1660 | 1697 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1661 | 1698 |
$as_echo_n "checking for $2... " >&6; }
|
1662 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1699 |
if eval \${$3+:} false; then :
|
1663 | 1700 |
$as_echo_n "(cached) " >&6
|
1664 | 1701 |
else
|
1665 | 1702 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1667 | 1704 |
$4
|
1668 | 1705 |
#include <$2>
|
1669 | 1706 |
_ACEOF
|
1670 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1707 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
1671 | 1708 |
eval "$3=yes"
|
1672 | 1709 |
else
|
1673 | 1710 |
eval "$3=no"
|
|
1677 | 1714 |
eval ac_res=\$$3
|
1678 | 1715 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1679 | 1716 |
$as_echo "$ac_res" >&6; }
|
1680 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1681 | |
|
1682 | |
} # ac_fn_c_check_header_compile
|
1683 | |
|
1684 | |
# ac_fn_c_try_link LINENO
|
1685 | |
# -----------------------
|
|
1717 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1718 |
|
|
1719 |
} # ac_fn_cxx_check_header_compile
|
|
1720 |
|
|
1721 |
# ac_fn_cxx_try_link LINENO
|
|
1722 |
# -------------------------
|
1686 | 1723 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
1687 | |
ac_fn_c_try_link ()
|
|
1724 |
ac_fn_cxx_try_link ()
|
1688 | 1725 |
{
|
1689 | 1726 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1690 | 1727 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1704 | 1741 |
fi
|
1705 | 1742 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1706 | 1743 |
test $ac_status = 0; } && {
|
1707 | |
test -z "$ac_c_werror_flag" ||
|
|
1744 |
test -z "$ac_cxx_werror_flag" ||
|
1708 | 1745 |
test ! -s conftest.err
|
1709 | 1746 |
} && test -s conftest$ac_exeext && {
|
1710 | 1747 |
test "$cross_compiling" = yes ||
|
|
1722 | 1759 |
# interfere with the next link command; also delete a directory that is
|
1723 | 1760 |
# left behind by Apple's compiler. We do this before executing the actions.
|
1724 | 1761 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1725 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1762 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
1726 | 1763 |
as_fn_set_status $ac_retval
|
1727 | 1764 |
|
1728 | |
} # ac_fn_c_try_link
|
1729 | |
|
1730 | |
# ac_fn_cxx_try_cpp LINENO
|
1731 | |
# ------------------------
|
1732 | |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
1733 | |
ac_fn_cxx_try_cpp ()
|
1734 | |
{
|
1735 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1736 | |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
1737 | |
case "(($ac_try" in
|
1738 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1739 | |
*) ac_try_echo=$ac_try;;
|
1740 | |
esac
|
1741 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1742 | |
$as_echo "$ac_try_echo"; } >&5
|
1743 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1744 | |
ac_status=$?
|
1745 | |
if test -s conftest.err; then
|
1746 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1747 | |
cat conftest.er1 >&5
|
1748 | |
mv -f conftest.er1 conftest.err
|
1749 | |
fi
|
1750 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1751 | |
test $ac_status = 0; } >/dev/null && {
|
1752 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
1753 | |
test ! -s conftest.err
|
1754 | |
}; then :
|
1755 | |
ac_retval=0
|
1756 | |
else
|
1757 | |
$as_echo "$as_me: failed program was:" >&5
|
1758 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1759 | |
|
1760 | |
ac_retval=1
|
1761 | |
fi
|
1762 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1763 | |
as_fn_set_status $ac_retval
|
1764 | |
|
1765 | |
} # ac_fn_cxx_try_cpp
|
1766 | |
|
1767 | |
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1768 | |
# ---------------------------------------------------------
|
1769 | |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
1770 | |
# the include files in INCLUDES and setting the cache variable VAR
|
1771 | |
# accordingly.
|
1772 | |
ac_fn_cxx_check_header_mongrel ()
|
1773 | |
{
|
1774 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1775 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1776 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1777 | |
$as_echo_n "checking for $2... " >&6; }
|
1778 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1779 | |
$as_echo_n "(cached) " >&6
|
1780 | |
fi
|
1781 | |
eval ac_res=\$$3
|
1782 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1783 | |
$as_echo "$ac_res" >&6; }
|
1784 | |
else
|
1785 | |
# Is the header compilable?
|
1786 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
1787 | |
$as_echo_n "checking $2 usability... " >&6; }
|
1788 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1789 | |
/* end confdefs.h. */
|
1790 | |
$4
|
1791 | |
#include <$2>
|
1792 | |
_ACEOF
|
1793 | |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
1794 | |
ac_header_compiler=yes
|
1795 | |
else
|
1796 | |
ac_header_compiler=no
|
1797 | |
fi
|
1798 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1799 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
1800 | |
$as_echo "$ac_header_compiler" >&6; }
|
1801 | |
|
1802 | |
# Is the header present?
|
1803 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
1804 | |
$as_echo_n "checking $2 presence... " >&6; }
|
1805 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1806 | |
/* end confdefs.h. */
|
1807 | |
#include <$2>
|
1808 | |
_ACEOF
|
1809 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
1810 | |
ac_header_preproc=yes
|
1811 | |
else
|
1812 | |
ac_header_preproc=no
|
1813 | |
fi
|
1814 | |
rm -f conftest.err conftest.$ac_ext
|
1815 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
1816 | |
$as_echo "$ac_header_preproc" >&6; }
|
1817 | |
|
1818 | |
# So? What about this header?
|
1819 | |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
|
1820 | |
yes:no: )
|
1821 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
1822 | |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
1823 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1824 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1825 | |
;;
|
1826 | |
no:yes:* )
|
1827 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
1828 | |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
1829 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
1830 | |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
1831 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
1832 | |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
1833 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
1834 | |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
1835 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1836 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1837 | |
;;
|
1838 | |
esac
|
1839 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1840 | |
$as_echo_n "checking for $2... " >&6; }
|
1841 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1842 | |
$as_echo_n "(cached) " >&6
|
1843 | |
else
|
1844 | |
eval "$3=\$ac_header_compiler"
|
1845 | |
fi
|
1846 | |
eval ac_res=\$$3
|
1847 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1848 | |
$as_echo "$ac_res" >&6; }
|
1849 | |
fi
|
1850 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1851 | |
|
1852 | |
} # ac_fn_cxx_check_header_mongrel
|
|
1765 |
} # ac_fn_cxx_try_link
|
1853 | 1766 |
cat >config.log <<_ACEOF
|
1854 | 1767 |
This file contains any messages produced by compilers while
|
1855 | 1768 |
running configure, to aid debugging if configure makes a mistake.
|
1856 | 1769 |
|
1857 | 1770 |
It was created by $as_me, which was
|
1858 | |
generated by GNU Autoconf 2.65. Invocation command line was
|
|
1771 |
generated by GNU Autoconf 2.68. Invocation command line was
|
1859 | 1772 |
|
1860 | 1773 |
$ $0 $@
|
1861 | 1774 |
|
|
1965 | 1878 |
{
|
1966 | 1879 |
echo
|
1967 | 1880 |
|
1968 | |
cat <<\_ASBOX
|
1969 | |
## ---------------- ##
|
|
1881 |
$as_echo "## ---------------- ##
|
1970 | 1882 |
## Cache variables. ##
|
1971 | |
## ---------------- ##
|
1972 | |
_ASBOX
|
|
1883 |
## ---------------- ##"
|
1973 | 1884 |
echo
|
1974 | 1885 |
# The following way of writing the cache mishandles newlines in values,
|
1975 | 1886 |
(
|
|
2003 | 1914 |
)
|
2004 | 1915 |
echo
|
2005 | 1916 |
|
2006 | |
cat <<\_ASBOX
|
2007 | |
## ----------------- ##
|
|
1917 |
$as_echo "## ----------------- ##
|
2008 | 1918 |
## Output variables. ##
|
2009 | |
## ----------------- ##
|
2010 | |
_ASBOX
|
|
1919 |
## ----------------- ##"
|
2011 | 1920 |
echo
|
2012 | 1921 |
for ac_var in $ac_subst_vars
|
2013 | 1922 |
do
|
|
2020 | 1929 |
echo
|
2021 | 1930 |
|
2022 | 1931 |
if test -n "$ac_subst_files"; then
|
2023 | |
cat <<\_ASBOX
|
2024 | |
## ------------------- ##
|
|
1932 |
$as_echo "## ------------------- ##
|
2025 | 1933 |
## File substitutions. ##
|
2026 | |
## ------------------- ##
|
2027 | |
_ASBOX
|
|
1934 |
## ------------------- ##"
|
2028 | 1935 |
echo
|
2029 | 1936 |
for ac_var in $ac_subst_files
|
2030 | 1937 |
do
|
|
2038 | 1945 |
fi
|
2039 | 1946 |
|
2040 | 1947 |
if test -s confdefs.h; then
|
2041 | |
cat <<\_ASBOX
|
2042 | |
## ----------- ##
|
|
1948 |
$as_echo "## ----------- ##
|
2043 | 1949 |
## confdefs.h. ##
|
2044 | |
## ----------- ##
|
2045 | |
_ASBOX
|
|
1950 |
## ----------- ##"
|
2046 | 1951 |
echo
|
2047 | 1952 |
cat confdefs.h
|
2048 | 1953 |
echo
|
|
2097 | 2002 |
ac_site_file1=NONE
|
2098 | 2003 |
ac_site_file2=NONE
|
2099 | 2004 |
if test -n "$CONFIG_SITE"; then
|
2100 | |
ac_site_file1=$CONFIG_SITE
|
|
2005 |
# We do not want a PATH search for config.site.
|
|
2006 |
case $CONFIG_SITE in #((
|
|
2007 |
-*) ac_site_file1=./$CONFIG_SITE;;
|
|
2008 |
*/*) ac_site_file1=$CONFIG_SITE;;
|
|
2009 |
*) ac_site_file1=./$CONFIG_SITE;;
|
|
2010 |
esac
|
2101 | 2011 |
elif test "x$prefix" != xNONE; then
|
2102 | 2012 |
ac_site_file1=$prefix/share/config.site
|
2103 | 2013 |
ac_site_file2=$prefix/etc/config.site
|
|
2112 | 2022 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
2113 | 2023 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
2114 | 2024 |
sed 's/^/| /' "$ac_site_file" >&5
|
2115 | |
. "$ac_site_file"
|
|
2025 |
. "$ac_site_file" \
|
|
2026 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2027 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2028 |
as_fn_error $? "failed to load site script $ac_site_file
|
|
2029 |
See \`config.log' for more details" "$LINENO" 5; }
|
2116 | 2030 |
fi
|
2117 | 2031 |
done
|
2118 | 2032 |
|
|
2188 | 2102 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2189 | 2103 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2190 | 2104 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2191 | |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2105 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
2192 | 2106 |
fi
|
2193 | 2107 |
## -------------------- ##
|
2194 | 2108 |
## Main body of script. ##
|
|
2207 | 2121 |
|
2208 | 2122 |
ac_aux_dir=
|
2209 | 2123 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
2210 | |
for ac_t in install-sh install.sh shtool; do
|
2211 | |
if test -f "$ac_dir/$ac_t"; then
|
2212 | |
ac_aux_dir=$ac_dir
|
2213 | |
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
2214 | |
break 2
|
2215 | |
fi
|
2216 | |
done
|
|
2124 |
if test -f "$ac_dir/install-sh"; then
|
|
2125 |
ac_aux_dir=$ac_dir
|
|
2126 |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
|
2127 |
break
|
|
2128 |
elif test -f "$ac_dir/install.sh"; then
|
|
2129 |
ac_aux_dir=$ac_dir
|
|
2130 |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
|
2131 |
break
|
|
2132 |
elif test -f "$ac_dir/shtool"; then
|
|
2133 |
ac_aux_dir=$ac_dir
|
|
2134 |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
|
2135 |
break
|
|
2136 |
fi
|
2217 | 2137 |
done
|
2218 | 2138 |
if test -z "$ac_aux_dir"; then
|
2219 | |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
|
2139 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
2220 | 2140 |
fi
|
2221 | 2141 |
|
2222 | 2142 |
# These three variables are undocumented and unsupported,
|
|
2245 | 2165 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2246 | 2166 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
2247 | 2167 |
if test -z "$INSTALL"; then
|
2248 | |
if test "${ac_cv_path_install+set}" = set; then :
|
|
2168 |
if ${ac_cv_path_install+:} false; then :
|
2249 | 2169 |
$as_echo_n "(cached) " >&6
|
2250 | 2170 |
else
|
2251 | 2171 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2332 | 2252 |
'
|
2333 | 2253 |
case `pwd` in
|
2334 | 2254 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
2335 | |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
|
|
2255 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
|
2336 | 2256 |
esac
|
2337 | 2257 |
case $srcdir in
|
2338 | 2258 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
2339 | |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
|
2259 |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
2340 | 2260 |
esac
|
2341 | 2261 |
|
2342 | 2262 |
# Do `set' in a subshell so we don't clobber the current shell's
|
|
2358 | 2278 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
2359 | 2279 |
# broken ls alias from the environment. This has actually
|
2360 | 2280 |
# happened. Such a system could not be considered "sane".
|
2361 | |
as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
|
2281 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
2362 | 2282 |
alias in your environment" "$LINENO" 5
|
2363 | 2283 |
fi
|
2364 | 2284 |
|
|
2368 | 2288 |
# Ok.
|
2369 | 2289 |
:
|
2370 | 2290 |
else
|
2371 | |
as_fn_error "newly created file is older than distributed files!
|
|
2291 |
as_fn_error $? "newly created file is older than distributed files!
|
2372 | 2292 |
Check your system clock" "$LINENO" 5
|
2373 | 2293 |
fi
|
2374 | 2294 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2422 | 2342 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2423 | 2343 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2424 | 2344 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2425 | |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
|
2345 |
if ${ac_cv_prog_STRIP+:} false; then :
|
2426 | 2346 |
$as_echo_n "(cached) " >&6
|
2427 | 2347 |
else
|
2428 | 2348 |
if test -n "$STRIP"; then
|
|
2462 | 2382 |
set dummy strip; ac_word=$2
|
2463 | 2383 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2464 | 2384 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2465 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
|
2385 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
2466 | 2386 |
$as_echo_n "(cached) " >&6
|
2467 | 2387 |
else
|
2468 | 2388 |
if test -n "$ac_ct_STRIP"; then
|
|
2515 | 2435 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
2516 | 2436 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
2517 | 2437 |
if test -z "$MKDIR_P"; then
|
2518 | |
if test "${ac_cv_path_mkdir+set}" = set; then :
|
|
2438 |
if ${ac_cv_path_mkdir+:} false; then :
|
2519 | 2439 |
$as_echo_n "(cached) " >&6
|
2520 | 2440 |
else
|
2521 | 2441 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2566 | 2486 |
set dummy $ac_prog; ac_word=$2
|
2567 | 2487 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2568 | 2488 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2569 | |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
|
2489 |
if ${ac_cv_prog_AWK+:} false; then :
|
2570 | 2490 |
$as_echo_n "(cached) " >&6
|
2571 | 2491 |
else
|
2572 | 2492 |
if test -n "$AWK"; then
|
|
2606 | 2526 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2607 | 2527 |
set x ${MAKE-make}
|
2608 | 2528 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2609 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
2529 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
2610 | 2530 |
$as_echo_n "(cached) " >&6
|
2611 | 2531 |
else
|
2612 | 2532 |
cat >conftest.make <<\_ACEOF
|
|
2614 | 2534 |
all:
|
2615 | 2535 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
2616 | 2536 |
_ACEOF
|
2617 | |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
2537 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
2618 | 2538 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
2619 | 2539 |
*@@@%%%=?*=@@@%%%*)
|
2620 | 2540 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
|
2648 | 2568 |
am__isrc=' -I$(srcdir)'
|
2649 | 2569 |
# test to see if srcdir already configured
|
2650 | 2570 |
if test -f $srcdir/config.status; then
|
2651 | |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
|
2571 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
2652 | 2572 |
fi
|
2653 | 2573 |
fi
|
2654 | 2574 |
|
|
2664 | 2584 |
|
2665 | 2585 |
# Define the identity of the package.
|
2666 | 2586 |
PACKAGE=squidview
|
2667 | |
VERSION=0.76
|
|
2587 |
VERSION=0.79
|
2668 | 2588 |
|
2669 | 2589 |
|
2670 | 2590 |
cat >>confdefs.h <<_ACEOF
|
|
2720 | 2640 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2721 | 2641 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2722 | 2642 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2723 | |
if test "${ac_cv_prog_CXX+set}" = set; then :
|
|
2643 |
if ${ac_cv_prog_CXX+:} false; then :
|
2724 | 2644 |
$as_echo_n "(cached) " >&6
|
2725 | 2645 |
else
|
2726 | 2646 |
if test -n "$CXX"; then
|
|
2764 | 2684 |
set dummy $ac_prog; ac_word=$2
|
2765 | 2685 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2766 | 2686 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2767 | |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
|
2687 |
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
2768 | 2688 |
$as_echo_n "(cached) " >&6
|
2769 | 2689 |
else
|
2770 | 2690 |
if test -n "$ac_ct_CXX"; then
|
|
2927 | 2847 |
|
2928 | 2848 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2929 | 2849 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2930 | |
{ as_fn_set_status 77
|
2931 | |
as_fn_error "C++ compiler cannot create executables
|
2932 | |
See \`config.log' for more details." "$LINENO" 5; }; }
|
|
2850 |
as_fn_error 77 "C++ compiler cannot create executables
|
|
2851 |
See \`config.log' for more details" "$LINENO" 5; }
|
2933 | 2852 |
else
|
2934 | 2853 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2935 | 2854 |
$as_echo "yes" >&6; }
|
|
2971 | 2890 |
else
|
2972 | 2891 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2973 | 2892 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2974 | |
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
2975 | |
See \`config.log' for more details." "$LINENO" 5; }
|
|
2893 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
|
2894 |
See \`config.log' for more details" "$LINENO" 5; }
|
2976 | 2895 |
fi
|
2977 | 2896 |
rm -f conftest conftest$ac_cv_exeext
|
2978 | 2897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
|
3029 | 2948 |
else
|
3030 | 2949 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3031 | 2950 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3032 | |
as_fn_error "cannot run C++ compiled programs.
|
|
2951 |
as_fn_error $? "cannot run C++ compiled programs.
|
3033 | 2952 |
If you meant to cross compile, use \`--host'.
|
3034 | |
See \`config.log' for more details." "$LINENO" 5; }
|
|
2953 |
See \`config.log' for more details" "$LINENO" 5; }
|
3035 | 2954 |
fi
|
3036 | 2955 |
fi
|
3037 | 2956 |
fi
|
|
3042 | 2961 |
ac_clean_files=$ac_clean_files_save
|
3043 | 2962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
3044 | 2963 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
3045 | |
if test "${ac_cv_objext+set}" = set; then :
|
|
2964 |
if ${ac_cv_objext+:} false; then :
|
3046 | 2965 |
$as_echo_n "(cached) " >&6
|
3047 | 2966 |
else
|
3048 | 2967 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3082 | 3001 |
|
3083 | 3002 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3084 | 3003 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3085 | |
as_fn_error "cannot compute suffix of object files: cannot compile
|
3086 | |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3004 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
|
3005 |
See \`config.log' for more details" "$LINENO" 5; }
|
3087 | 3006 |
fi
|
3088 | 3007 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
3089 | 3008 |
fi
|
|
3093 | 3012 |
ac_objext=$OBJEXT
|
3094 | 3013 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
3095 | 3014 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
3096 | |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
|
3015 |
if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
3097 | 3016 |
$as_echo_n "(cached) " >&6
|
3098 | 3017 |
else
|
3099 | 3018 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3130 | 3049 |
ac_save_CXXFLAGS=$CXXFLAGS
|
3131 | 3050 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
3132 | 3051 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
3133 | |
if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
|
3052 |
if ${ac_cv_prog_cxx_g+:} false; then :
|
3134 | 3053 |
$as_echo_n "(cached) " >&6
|
3135 | 3054 |
else
|
3136 | 3055 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
|
3278 | 3197 |
|
3279 | 3198 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3280 | 3199 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3281 | |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
|
|
3200 |
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
|
3282 | 3201 |
$as_echo_n "(cached) " >&6
|
3283 | 3202 |
else
|
3284 | 3203 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
3413 | 3332 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
3414 | 3333 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3415 | 3334 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3416 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
3335 |
if ${ac_cv_prog_CC+:} false; then :
|
3417 | 3336 |
$as_echo_n "(cached) " >&6
|
3418 | 3337 |
else
|
3419 | 3338 |
if test -n "$CC"; then
|
|
3453 | 3372 |
set dummy gcc; ac_word=$2
|
3454 | 3373 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3455 | 3374 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3456 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
|
3375 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
3457 | 3376 |
$as_echo_n "(cached) " >&6
|
3458 | 3377 |
else
|
3459 | 3378 |
if test -n "$ac_ct_CC"; then
|
|
3506 | 3425 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
3507 | 3426 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3508 | 3427 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3509 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
3428 |
if ${ac_cv_prog_CC+:} false; then :
|
3510 | 3429 |
$as_echo_n "(cached) " >&6
|
3511 | 3430 |
else
|
3512 | 3431 |
if test -n "$CC"; then
|
|
3546 | 3465 |
set dummy cc; ac_word=$2
|
3547 | 3466 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3548 | 3467 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3549 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
3468 |
if ${ac_cv_prog_CC+:} false; then :
|
3550 | 3469 |
$as_echo_n "(cached) " >&6
|
3551 | 3470 |
else
|
3552 | 3471 |
if test -n "$CC"; then
|
|
3605 | 3524 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3606 | 3525 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3607 | 3526 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3608 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
3527 |
if ${ac_cv_prog_CC+:} false; then :
|
3609 | 3528 |
$as_echo_n "(cached) " >&6
|
3610 | 3529 |
else
|
3611 | 3530 |
if test -n "$CC"; then
|
|
3649 | 3568 |
set dummy $ac_prog; ac_word=$2
|
3650 | 3569 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3651 | 3570 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3652 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
|
3571 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
3653 | 3572 |
$as_echo_n "(cached) " >&6
|
3654 | 3573 |
else
|
3655 | 3574 |
if test -n "$ac_ct_CC"; then
|
|
3703 | 3622 |
|
3704 | 3623 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3705 | 3624 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3706 | |
as_fn_error "no acceptable C compiler found in \$PATH
|
3707 | |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3625 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
|
3626 |
See \`config.log' for more details" "$LINENO" 5; }
|
3708 | 3627 |
|
3709 | 3628 |
# Provide some information about the compiler.
|
3710 | 3629 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
3733 | 3652 |
|
3734 | 3653 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
3735 | 3654 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
3736 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
|
3655 |
if ${ac_cv_c_compiler_gnu+:} false; then :
|
3737 | 3656 |
$as_echo_n "(cached) " >&6
|
3738 | 3657 |
else
|
3739 | 3658 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3770 | 3689 |
ac_save_CFLAGS=$CFLAGS
|
3771 | 3690 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
3772 | 3691 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
3773 | |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
|
3692 |
if ${ac_cv_prog_cc_g+:} false; then :
|
3774 | 3693 |
$as_echo_n "(cached) " >&6
|
3775 | 3694 |
else
|
3776 | 3695 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
|
3848 | 3767 |
fi
|
3849 | 3768 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
3850 | 3769 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3851 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
|
3770 |
if ${ac_cv_prog_cc_c89+:} false; then :
|
3852 | 3771 |
$as_echo_n "(cached) " >&6
|
3853 | 3772 |
else
|
3854 | 3773 |
ac_cv_prog_cc_c89=no
|
|
3947 | 3866 |
|
3948 | 3867 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3949 | 3868 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3950 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
|
3869 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
3951 | 3870 |
$as_echo_n "(cached) " >&6
|
3952 | 3871 |
else
|
3953 | 3872 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
4071 | 3990 |
|
4072 | 3991 |
|
4073 | 3992 |
|
4074 | |
ac_ext=c
|
4075 | |
ac_cpp='$CPP $CPPFLAGS'
|
4076 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4077 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4078 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4079 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
4080 | |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
4081 | |
# On Suns, sometimes $CPP names a directory.
|
4082 | |
if test -n "$CPP" && test -d "$CPP"; then
|
4083 | |
CPP=
|
4084 | |
fi
|
4085 | |
if test -z "$CPP"; then
|
4086 | |
if test "${ac_cv_prog_CPP+set}" = set; then :
|
|
3993 |
for ac_header in curses.h
|
|
3994 |
do :
|
|
3995 |
ac_fn_c_check_header_compile "$LINENO" "curses.h" "ac_cv_header_curses_h" "\
|
|
3996 |
as_fn_error $? \"header missing\" \"$LINENO\" 5
|
|
3997 |
"
|
|
3998 |
if test "x$ac_cv_header_curses_h" = xyes; then :
|
|
3999 |
cat >>confdefs.h <<_ACEOF
|
|
4000 |
#define HAVE_CURSES_H 1
|
|
4001 |
_ACEOF
|
|
4002 |
signal.h sys/time.h sys/types.h sys/stat.h \
|
|
4003 |
unistd.h fcntl.h time.h stdlib.h math.h stdio.h
|
|
4004 |
fi
|
|
4005 |
|
|
4006 |
done
|
|
4007 |
|
|
4008 |
|
|
4009 |
ac_ext=cpp
|
|
4010 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
4011 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
4012 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
4013 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
4014 |
|
|
4015 |
|
|
4016 |
ac_ext=cpp
|
|
4017 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
4018 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
4019 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
4020 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
4021 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
|
4022 |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
|
4023 |
if test -z "$CXXCPP"; then
|
|
4024 |
if ${ac_cv_prog_CXXCPP+:} false; then :
|
4087 | 4025 |
$as_echo_n "(cached) " >&6
|
4088 | 4026 |
else
|
4089 | |
# Double quotes because CPP needs to be expanded
|
4090 | |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
4027 |
# Double quotes because CXXCPP needs to be expanded
|
|
4028 |
for CXXCPP in "$CXX -E" "/lib/cpp"
|
4091 | 4029 |
do
|
4092 | 4030 |
ac_preproc_ok=false
|
4093 | |
for ac_c_preproc_warn_flag in '' yes
|
|
4031 |
for ac_cxx_preproc_warn_flag in '' yes
|
4094 | 4032 |
do
|
4095 | 4033 |
# Use a header file that comes with gcc, so configuring glibc
|
4096 | 4034 |
# with a fresh cross-compiler works.
|
|
4107 | 4045 |
#endif
|
4108 | 4046 |
Syntax error
|
4109 | 4047 |
_ACEOF
|
4110 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4048 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
4111 | 4049 |
|
4112 | 4050 |
else
|
4113 | 4051 |
# Broken: fails on valid input.
|
4114 | 4052 |
continue
|
4115 | 4053 |
fi
|
4116 | |
rm -f conftest.err conftest.$ac_ext
|
|
4054 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4117 | 4055 |
|
4118 | 4056 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4119 | 4057 |
# can be detected and how.
|
|
4121 | 4059 |
/* end confdefs.h. */
|
4122 | 4060 |
#include <ac_nonexistent.h>
|
4123 | 4061 |
_ACEOF
|
4124 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4062 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
4125 | 4063 |
# Broken: success on invalid input.
|
4126 | 4064 |
continue
|
4127 | 4065 |
else
|
|
4129 | 4067 |
ac_preproc_ok=:
|
4130 | 4068 |
break
|
4131 | 4069 |
fi
|
4132 | |
rm -f conftest.err conftest.$ac_ext
|
|
4070 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4133 | 4071 |
|
4134 | 4072 |
done
|
4135 | 4073 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4136 | |
rm -f conftest.err conftest.$ac_ext
|
|
4074 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
4137 | 4075 |
if $ac_preproc_ok; then :
|
4138 | 4076 |
break
|
4139 | 4077 |
fi
|
4140 | 4078 |
|
4141 | 4079 |
done
|
4142 | |
ac_cv_prog_CPP=$CPP
|
4143 | |
|
4144 | |
fi
|
4145 | |
CPP=$ac_cv_prog_CPP
|
4146 | |
else
|
4147 | |
ac_cv_prog_CPP=$CPP
|
4148 | |
fi
|
4149 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
4150 | |
$as_echo "$CPP" >&6; }
|
|
4080 |
ac_cv_prog_CXXCPP=$CXXCPP
|
|
4081 |
|
|
4082 |
fi
|
|
4083 |
CXXCPP=$ac_cv_prog_CXXCPP
|
|
4084 |
else
|
|
4085 |
ac_cv_prog_CXXCPP=$CXXCPP
|
|
4086 |
fi
|
|
4087 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
|
4088 |
$as_echo "$CXXCPP" >&6; }
|
4151 | 4089 |
ac_preproc_ok=false
|
4152 | |
for ac_c_preproc_warn_flag in '' yes
|
|
4090 |
for ac_cxx_preproc_warn_flag in '' yes
|
4153 | 4091 |
do
|
4154 | 4092 |
# Use a header file that comes with gcc, so configuring glibc
|
4155 | 4093 |
# with a fresh cross-compiler works.
|
|
4166 | 4104 |
#endif
|
4167 | 4105 |
Syntax error
|
4168 | 4106 |
_ACEOF
|
4169 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4107 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
4170 | 4108 |
|
4171 | 4109 |
else
|
4172 | 4110 |
# Broken: fails on valid input.
|
4173 | 4111 |
continue
|
4174 | 4112 |
fi
|
4175 | |
rm -f conftest.err conftest.$ac_ext
|
|
4113 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4176 | 4114 |
|
4177 | 4115 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4178 | 4116 |
# can be detected and how.
|
|
4180 | 4118 |
/* end confdefs.h. */
|
4181 | 4119 |
#include <ac_nonexistent.h>
|
4182 | 4120 |
_ACEOF
|
4183 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4121 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
4184 | 4122 |
# Broken: success on invalid input.
|
4185 | 4123 |
continue
|
4186 | 4124 |
else
|
|
4188 | 4126 |
ac_preproc_ok=:
|
4189 | 4127 |
break
|
4190 | 4128 |
fi
|
4191 | |
rm -f conftest.err conftest.$ac_ext
|
|
4129 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4192 | 4130 |
|
4193 | 4131 |
done
|
4194 | 4132 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4195 | |
rm -f conftest.err conftest.$ac_ext
|
|
4133 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
4196 | 4134 |
if $ac_preproc_ok; then :
|
4197 | 4135 |
|
4198 | 4136 |
else
|
4199 | 4137 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4200 | 4138 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
4201 | |
as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
4202 | |
See \`config.log' for more details." "$LINENO" 5; }
|
4203 | |
fi
|
4204 | |
|
4205 | |
ac_ext=c
|
4206 | |
ac_cpp='$CPP $CPPFLAGS'
|
4207 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4208 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4209 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
4139 |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
|
|
4140 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
4141 |
fi
|
|
4142 |
|
|
4143 |
ac_ext=cpp
|
|
4144 |
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
4145 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
4146 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
4147 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
4210 | 4148 |
|
4211 | 4149 |
|
4212 | 4150 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
4213 | 4151 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
4214 | |
if test "${ac_cv_path_GREP+set}" = set; then :
|
|
4152 |
if ${ac_cv_path_GREP+:} false; then :
|
4215 | 4153 |
$as_echo_n "(cached) " >&6
|
4216 | 4154 |
else
|
4217 | 4155 |
if test -z "$GREP"; then
|
|
4260 | 4198 |
done
|
4261 | 4199 |
IFS=$as_save_IFS
|
4262 | 4200 |
if test -z "$ac_cv_path_GREP"; then
|
4263 | |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
4201 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
4264 | 4202 |
fi
|
4265 | 4203 |
else
|
4266 | 4204 |
ac_cv_path_GREP=$GREP
|
|
4274 | 4212 |
|
4275 | 4213 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
4276 | 4214 |
$as_echo_n "checking for egrep... " >&6; }
|
4277 | |
if test "${ac_cv_path_EGREP+set}" = set; then :
|
|
4215 |
if ${ac_cv_path_EGREP+:} false; then :
|
4278 | 4216 |
$as_echo_n "(cached) " >&6
|
4279 | 4217 |
else
|
4280 | 4218 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
4326 | 4264 |
done
|
4327 | 4265 |
IFS=$as_save_IFS
|
4328 | 4266 |
if test -z "$ac_cv_path_EGREP"; then
|
4329 | |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
4267 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
4330 | 4268 |
fi
|
4331 | 4269 |
else
|
4332 | 4270 |
ac_cv_path_EGREP=$EGREP
|
|
4341 | 4279 |
|
4342 | 4280 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
4343 | 4281 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
4344 | |
if test "${ac_cv_header_stdc+set}" = set; then :
|
|
4282 |
if ${ac_cv_header_stdc+:} false; then :
|
4345 | 4283 |
$as_echo_n "(cached) " >&6
|
4346 | 4284 |
else
|
4347 | 4285 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4359 | 4297 |
return 0;
|
4360 | 4298 |
}
|
4361 | 4299 |
_ACEOF
|
4362 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4300 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
4363 | 4301 |
ac_cv_header_stdc=yes
|
4364 | 4302 |
else
|
4365 | 4303 |
ac_cv_header_stdc=no
|
|
4432 | 4370 |
return 0;
|
4433 | 4371 |
}
|
4434 | 4372 |
_ACEOF
|
4435 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
4373 |
if ac_fn_cxx_try_run "$LINENO"; then :
|
4436 | 4374 |
|
4437 | 4375 |
else
|
4438 | 4376 |
ac_cv_header_stdc=no
|
|
4456 | 4394 |
inttypes.h stdint.h unistd.h
|
4457 | 4395 |
do :
|
4458 | 4396 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4459 | |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
4397 |
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
4460 | 4398 |
"
|
4461 | |
eval as_val=\$$as_ac_Header
|
4462 | |
if test "x$as_val" = x""yes; then :
|
|
4399 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
4463 | 4400 |
cat >>confdefs.h <<_ACEOF
|
4464 | 4401 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4465 | 4402 |
_ACEOF
|
|
4469 | 4406 |
done
|
4470 | 4407 |
|
4471 | 4408 |
|
4472 | |
for ac_header in curses.h signal.h sys/time.h sys/types.h sys/stat.h \
|
4473 | |
unistd.h fcntl.h time.h stdlib.h math.h
|
4474 | |
do :
|
4475 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4476 | |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
4477 | |
eval as_val=\$$as_ac_Header
|
4478 | |
if test "x$as_val" = x""yes; then :
|
4479 | |
cat >>confdefs.h <<_ACEOF
|
4480 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4481 | |
_ACEOF
|
4482 | |
|
4483 | |
else
|
4484 | |
\
|
4485 | |
as_fn_error "header missing" "$LINENO" 5
|
4486 | |
fi
|
4487 | |
|
4488 | |
done
|
4489 | |
|
4490 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lncurses" >&5
|
4491 | |
$as_echo_n "checking for wgetch in -lncurses... " >&6; }
|
4492 | |
if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then :
|
|
4409 |
ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
|
|
4410 |
if test "x$ac_cv_header_string" = xyes; then :
|
|
4411 |
|
|
4412 |
else
|
|
4413 |
as_fn_error $? "C++ STL string class missing" "$LINENO" 5
|
|
4414 |
fi
|
|
4415 |
|
|
4416 |
|
|
4417 |
ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default"
|
|
4418 |
if test "x$ac_cv_header_vector" = xyes; then :
|
|
4419 |
|
|
4420 |
else
|
|
4421 |
as_fn_error $? "C++ STL vector class missing" "$LINENO" 5
|
|
4422 |
fi
|
|
4423 |
|
|
4424 |
|
|
4425 |
ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
|
|
4426 |
if test "x$ac_cv_header_algorithm" = xyes; then :
|
|
4427 |
|
|
4428 |
else
|
|
4429 |
as_fn_error $? "C++ STL algorithm class missing" "$LINENO" 5
|
|
4430 |
fi
|
|
4431 |
|
|
4432 |
|
|
4433 |
|
|
4434 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: Checking curses library name" >&5
|
|
4435 |
$as_echo "$as_me: Checking curses library name" >&6;}
|
|
4436 |
sv_curses=no
|
|
4437 |
|
|
4438 |
if test "x$sv_curses" = xno; then
|
|
4439 |
sv_test=ncurses
|
|
4440 |
sv_pass="no"
|
|
4441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking name is $sv_test" >&5
|
|
4442 |
$as_echo_n "checking name is $sv_test... " >&6; }
|
|
4443 |
LIBS="-l$sv_test"
|
|
4444 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4445 |
/* end confdefs.h. */
|
|
4446 |
#include <curses.h>
|
|
4447 |
int
|
|
4448 |
main ()
|
|
4449 |
{
|
|
4450 |
initscr();
|
|
4451 |
;
|
|
4452 |
return 0;
|
|
4453 |
}
|
|
4454 |
_ACEOF
|
|
4455 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
4456 |
sv_pass="yes"
|
|
4457 |
fi
|
|
4458 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4459 |
conftest$ac_exeext conftest.$ac_ext
|
|
4460 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sv_pass" >&5
|
|
4461 |
$as_echo "$sv_pass" >&6; }
|
|
4462 |
test "$sv_pass" = yes && sv_curses=$sv_test
|
|
4463 |
unset LIBS
|
|
4464 |
fi
|
|
4465 |
|
|
4466 |
|
|
4467 |
if test "x$sv_curses" = xno; then
|
|
4468 |
sv_test=curses
|
|
4469 |
sv_pass="no"
|
|
4470 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking name is $sv_test" >&5
|
|
4471 |
$as_echo_n "checking name is $sv_test... " >&6; }
|
|
4472 |
LIBS="-l$sv_test"
|
|
4473 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4474 |
/* end confdefs.h. */
|
|
4475 |
#include <curses.h>
|
|
4476 |
int
|
|
4477 |
main ()
|
|
4478 |
{
|
|
4479 |
initscr();
|
|
4480 |
;
|
|
4481 |
return 0;
|
|
4482 |
}
|
|
4483 |
_ACEOF
|
|
4484 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
4485 |
sv_pass="yes"
|
|
4486 |
fi
|
|
4487 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4488 |
conftest$ac_exeext conftest.$ac_ext
|
|
4489 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sv_pass" >&5
|
|
4490 |
$as_echo "$sv_pass" >&6; }
|
|
4491 |
test "$sv_pass" = yes && sv_curses=$sv_test
|
|
4492 |
unset LIBS
|
|
4493 |
fi
|
|
4494 |
|
|
4495 |
if test "x$sv_curses" = xno; then
|
|
4496 |
as_fn_error $? "No suitable curses found" "$LINENO" 5
|
|
4497 |
fi
|
|
4498 |
as_ac_Lib=`$as_echo "ac_cv_lib_$sv_curses''_wgetch" | $as_tr_sh`
|
|
4499 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -l$sv_curses" >&5
|
|
4500 |
$as_echo_n "checking for wgetch in -l$sv_curses... " >&6; }
|
|
4501 |
if eval \${$as_ac_Lib+:} false; then :
|
4493 | 4502 |
$as_echo_n "(cached) " >&6
|
4494 | 4503 |
else
|
4495 | 4504 |
ac_check_lib_save_LIBS=$LIBS
|
4496 | |
LIBS="-lncurses $LIBS"
|
|
4505 |
LIBS="-l$sv_curses $LIBS"
|
4497 | 4506 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4498 | 4507 |
/* end confdefs.h. */
|
4499 | 4508 |
|
|
4512 | 4521 |
return 0;
|
4513 | 4522 |
}
|
4514 | 4523 |
_ACEOF
|
4515 | |
if ac_fn_c_try_link "$LINENO"; then :
|
4516 | |
ac_cv_lib_ncurses_wgetch=yes
|
4517 | |
else
|
4518 | |
ac_cv_lib_ncurses_wgetch=no
|
|
4524 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
4525 |
eval "$as_ac_Lib=yes"
|
|
4526 |
else
|
|
4527 |
eval "$as_ac_Lib=no"
|
4519 | 4528 |
fi
|
4520 | 4529 |
rm -f core conftest.err conftest.$ac_objext \
|
4521 | 4530 |
conftest$ac_exeext conftest.$ac_ext
|
4522 | 4531 |
LIBS=$ac_check_lib_save_LIBS
|
4523 | 4532 |
fi
|
4524 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_wgetch" >&5
|
4525 | |
$as_echo "$ac_cv_lib_ncurses_wgetch" >&6; }
|
4526 | |
if test "x$ac_cv_lib_ncurses_wgetch" = x""yes; then :
|
|
4533 |
eval ac_res=\$$as_ac_Lib
|
|
4534 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
4535 |
$as_echo "$ac_res" >&6; }
|
|
4536 |
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
|
4527 | 4537 |
cat >>confdefs.h <<_ACEOF
|
4528 | |
#define HAVE_LIBNCURSES 1
|
4529 | |
_ACEOF
|
4530 | |
|
4531 | |
LIBS="-lncurses $LIBS"
|
4532 | |
|
4533 | |
else
|
4534 | |
as_fn_error "recent ncurses installed?" "$LINENO" 5
|
4535 | |
fi
|
4536 | |
|
4537 | |
|
4538 | |
ac_ext=cpp
|
4539 | |
ac_cpp='$CXXCPP $CPPFLAGS'
|
4540 | |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4541 | |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4542 | |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
4543 | |
|
4544 | |
|
4545 | |
ac_ext=cpp
|
4546 | |
ac_cpp='$CXXCPP $CPPFLAGS'
|
4547 | |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4548 | |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4549 | |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
4550 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
4551 | |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
4552 | |
if test -z "$CXXCPP"; then
|
4553 | |
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
|
4554 | |
$as_echo_n "(cached) " >&6
|
4555 | |
else
|
4556 | |
# Double quotes because CXXCPP needs to be expanded
|
4557 | |
for CXXCPP in "$CXX -E" "/lib/cpp"
|
4558 | |
do
|
4559 | |
ac_preproc_ok=false
|
4560 | |
for ac_cxx_preproc_warn_flag in '' yes
|
4561 | |
do
|
4562 | |
# Use a header file that comes with gcc, so configuring glibc
|
4563 | |
# with a fresh cross-compiler works.
|
4564 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
4565 | |
# <limits.h> exists even on freestanding compilers.
|
4566 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4567 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
4568 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4538 |
#define `$as_echo "HAVE_LIB$sv_curses" | $as_tr_cpp` 1
|
|
4539 |
_ACEOF
|
|
4540 |
|
|
4541 |
LIBS="-l$sv_curses $LIBS"
|
|
4542 |
|
|
4543 |
else
|
|
4544 |
as_fn_error $? "Curses support is not complete?" "$LINENO" 5
|
|
4545 |
fi
|
|
4546 |
|
|
4547 |
|
|
4548 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking large file support" >&5
|
|
4549 |
$as_echo_n "checking large file support... " >&6; }
|
|
4550 |
sv_large="no"
|
|
4551 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4569 | 4552 |
/* end confdefs.h. */
|
4570 | |
#ifdef __STDC__
|
4571 | |
# include <limits.h>
|
4572 | |
#else
|
4573 | |
# include <assert.h>
|
4574 | |
#endif
|
4575 | |
Syntax error
|
4576 | |
_ACEOF
|
4577 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
4578 | |
|
4579 | |
else
|
4580 | |
# Broken: fails on valid input.
|
4581 | |
continue
|
4582 | |
fi
|
4583 | |
rm -f conftest.err conftest.$ac_ext
|
4584 | |
|
4585 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
4586 | |
# can be detected and how.
|
4587 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4588 | |
/* end confdefs.h. */
|
4589 | |
#include <ac_nonexistent.h>
|
4590 | |
_ACEOF
|
4591 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
4592 | |
# Broken: success on invalid input.
|
4593 | |
continue
|
4594 | |
else
|
4595 | |
# Passes both tests.
|
4596 | |
ac_preproc_ok=:
|
4597 | |
break
|
4598 | |
fi
|
4599 | |
rm -f conftest.err conftest.$ac_ext
|
4600 | |
|
4601 | |
done
|
4602 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4603 | |
rm -f conftest.err conftest.$ac_ext
|
4604 | |
if $ac_preproc_ok; then :
|
4605 | |
break
|
4606 | |
fi
|
4607 | |
|
4608 | |
done
|
4609 | |
ac_cv_prog_CXXCPP=$CXXCPP
|
4610 | |
|
4611 | |
fi
|
4612 | |
CXXCPP=$ac_cv_prog_CXXCPP
|
4613 | |
else
|
4614 | |
ac_cv_prog_CXXCPP=$CXXCPP
|
4615 | |
fi
|
4616 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
4617 | |
$as_echo "$CXXCPP" >&6; }
|
4618 | |
ac_preproc_ok=false
|
4619 | |
for ac_cxx_preproc_warn_flag in '' yes
|
4620 | |
do
|
4621 | |
# Use a header file that comes with gcc, so configuring glibc
|
4622 | |
# with a fresh cross-compiler works.
|
4623 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
4624 | |
# <limits.h> exists even on freestanding compilers.
|
4625 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4626 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
4627 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4628 | |
/* end confdefs.h. */
|
4629 | |
#ifdef __STDC__
|
4630 | |
# include <limits.h>
|
4631 | |
#else
|
4632 | |
# include <assert.h>
|
4633 | |
#endif
|
4634 | |
Syntax error
|
4635 | |
_ACEOF
|
4636 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
4637 | |
|
4638 | |
else
|
4639 | |
# Broken: fails on valid input.
|
4640 | |
continue
|
4641 | |
fi
|
4642 | |
rm -f conftest.err conftest.$ac_ext
|
4643 | |
|
4644 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
4645 | |
# can be detected and how.
|
4646 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4647 | |
/* end confdefs.h. */
|
4648 | |
#include <ac_nonexistent.h>
|
4649 | |
_ACEOF
|
4650 | |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
4651 | |
# Broken: success on invalid input.
|
4652 | |
continue
|
4653 | |
else
|
4654 | |
# Passes both tests.
|
4655 | |
ac_preproc_ok=:
|
4656 | |
break
|
4657 | |
fi
|
4658 | |
rm -f conftest.err conftest.$ac_ext
|
4659 | |
|
4660 | |
done
|
4661 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4662 | |
rm -f conftest.err conftest.$ac_ext
|
4663 | |
if $ac_preproc_ok; then :
|
4664 | |
|
4665 | |
else
|
4666 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4667 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
4668 | |
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
|
4669 | |
See \`config.log' for more details." "$LINENO" 5; }
|
4670 | |
fi
|
4671 | |
|
4672 | |
ac_ext=cpp
|
4673 | |
ac_cpp='$CXXCPP $CPPFLAGS'
|
4674 | |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4675 | |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4676 | |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
4677 | |
|
4678 | |
|
4679 | |
ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
|
4680 | |
if test "x$ac_cv_header_string" = x""yes; then :
|
4681 | |
|
4682 | |
else
|
4683 | |
as_fn_error "C++ STL string class missing" "$LINENO" 5
|
4684 | |
fi
|
4685 | |
|
4686 | |
|
4687 | |
ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default"
|
4688 | |
if test "x$ac_cv_header_vector" = x""yes; then :
|
4689 | |
|
4690 | |
else
|
4691 | |
as_fn_error "C++ STL vector class missing" "$LINENO" 5
|
4692 | |
fi
|
4693 | |
|
4694 | |
|
4695 | |
ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
|
4696 | |
if test "x$ac_cv_header_algorithm" = x""yes; then :
|
4697 | |
|
4698 | |
else
|
4699 | |
as_fn_error "C++ STL algorithm class missing" "$LINENO" 5
|
4700 | |
fi
|
4701 | |
|
4702 | |
|
|
4553 |
|
|
4554 |
#include <sys/types.h>
|
|
4555 |
#include <sys/stat.h>
|
|
4556 |
#include <fcntl.h>
|
|
4557 |
|
|
4558 |
int
|
|
4559 |
main ()
|
|
4560 |
{
|
|
4561 |
open ("file", O_RDONLY | O_LARGEFILE);
|
|
4562 |
;
|
|
4563 |
return 0;
|
|
4564 |
}
|
|
4565 |
_ACEOF
|
|
4566 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
4567 |
sv_large="yes"
|
|
4568 |
fi
|
|
4569 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4570 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sv_large" >&5
|
|
4571 |
$as_echo "$sv_large" >&6; }
|
|
4572 |
if test "$sv_large" = yes; then
|
|
4573 |
|
|
4574 |
$as_echo "#define LARGE_FILE 1" >>confdefs.h
|
|
4575 |
|
|
4576 |
CPPFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $CPPFLAGS"
|
|
4577 |
fi
|
4703 | 4578 |
|
4704 | 4579 |
ac_config_files="$ac_config_files Makefile"
|
4705 | 4580 |
|
|
4767 | 4642 |
:end' >>confcache
|
4768 | 4643 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
4769 | 4644 |
if test -w "$cache_file"; then
|
4770 | |
test "x$cache_file" != "x/dev/null" &&
|
|
4645 |
if test "x$cache_file" != "x/dev/null"; then
|
4771 | 4646 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
4772 | 4647 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
4773 | |
cat confcache >$cache_file
|
|
4648 |
if test ! -f "$cache_file" || test -h "$cache_file"; then
|
|
4649 |
cat confcache >"$cache_file"
|
|
4650 |
else
|
|
4651 |
case $cache_file in #(
|
|
4652 |
*/* | ?:*)
|
|
4653 |
mv -f confcache "$cache_file"$$ &&
|
|
4654 |
mv -f "$cache_file"$$ "$cache_file" ;; #(
|
|
4655 |
*)
|
|
4656 |
mv -f confcache "$cache_file" ;;
|
|
4657 |
esac
|
|
4658 |
fi
|
|
4659 |
fi
|
4774 | 4660 |
else
|
4775 | 4661 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
4776 | 4662 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
4786 | 4672 |
|
4787 | 4673 |
ac_libobjs=
|
4788 | 4674 |
ac_ltlibobjs=
|
|
4675 |
U=
|
4789 | 4676 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
4790 | 4677 |
# 1. Remove the extension, and $U if already installed.
|
4791 | 4678 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
|
4809 | 4696 |
fi
|
4810 | 4697 |
|
4811 | 4698 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
4812 | |
as_fn_error "conditional \"AMDEP\" was never defined.
|
|
4699 |
as_fn_error $? "conditional \"AMDEP\" was never defined.
|
4813 | 4700 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
4814 | 4701 |
fi
|
4815 | 4702 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
4816 | |
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
|
|
4703 |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
|
4817 | 4704 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
4818 | 4705 |
fi
|
4819 | 4706 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
4820 | |
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
|
4707 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
4821 | 4708 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
4822 | 4709 |
fi
|
4823 | 4710 |
|
4824 | |
: ${CONFIG_STATUS=./config.status}
|
|
4711 |
: "${CONFIG_STATUS=./config.status}"
|
4825 | 4712 |
ac_write_fail=0
|
4826 | 4713 |
ac_clean_files_save=$ac_clean_files
|
4827 | 4714 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
|
4922 | 4809 |
IFS=" "" $as_nl"
|
4923 | 4810 |
|
4924 | 4811 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
4812 |
as_myself=
|
4925 | 4813 |
case $0 in #((
|
4926 | 4814 |
*[\\/]* ) as_myself=$0 ;;
|
4927 | 4815 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4967 | 4855 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
4968 | 4856 |
|
4969 | 4857 |
|
4970 | |
# as_fn_error ERROR [LINENO LOG_FD]
|
4971 | |
# ---------------------------------
|
|
4858 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
4859 |
# ----------------------------------------
|
4972 | 4860 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
4973 | 4861 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
4974 | |
# script with status $?, using 1 if that was 0.
|
|
4862 |
# script with STATUS, using 1 if that was 0.
|
4975 | 4863 |
as_fn_error ()
|
4976 | 4864 |
{
|
4977 | |
as_status=$?; test $as_status -eq 0 && as_status=1
|
4978 | |
if test "$3"; then
|
4979 | |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
4980 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
4865 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
4866 |
if test "$4"; then
|
|
4867 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
4868 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
4981 | 4869 |
fi
|
4982 | |
$as_echo "$as_me: error: $1" >&2
|
|
4870 |
$as_echo "$as_me: error: $2" >&2
|
4983 | 4871 |
as_fn_exit $as_status
|
4984 | 4872 |
} # as_fn_error
|
4985 | 4873 |
|
|
5175 | 5063 |
test -d "$as_dir" && break
|
5176 | 5064 |
done
|
5177 | 5065 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
5178 | |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
5066 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
5179 | 5067 |
|
5180 | 5068 |
|
5181 | 5069 |
} # as_fn_mkdir_p
|
|
5229 | 5117 |
# values after options handling.
|
5230 | 5118 |
ac_log="
|
5231 | 5119 |
This file was extended by $as_me, which was
|
5232 | |
generated by GNU Autoconf 2.65. Invocation command line was
|
|
5120 |
generated by GNU Autoconf 2.68. Invocation command line was
|
5233 | 5121 |
|
5234 | 5122 |
CONFIG_FILES = $CONFIG_FILES
|
5235 | 5123 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
5295 | 5183 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
5296 | 5184 |
ac_cs_version="\\
|
5297 | 5185 |
config.status
|
5298 | |
configured by $0, generated by GNU Autoconf 2.65,
|
|
5186 |
configured by $0, generated by GNU Autoconf 2.68,
|
5299 | 5187 |
with options \\"\$ac_cs_config\\"
|
5300 | 5188 |
|
5301 | |
Copyright (C) 2009 Free Software Foundation, Inc.
|
|
5189 |
Copyright (C) 2010 Free Software Foundation, Inc.
|
5302 | 5190 |
This config.status script is free software; the Free Software Foundation
|
5303 | 5191 |
gives unlimited permission to copy, distribute and modify it."
|
5304 | 5192 |
|
|
5316 | 5204 |
while test $# != 0
|
5317 | 5205 |
do
|
5318 | 5206 |
case $1 in
|
5319 | |
--*=*)
|
|
5207 |
--*=?*)
|
5320 | 5208 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
5321 | 5209 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
5210 |
ac_shift=:
|
|
5211 |
;;
|
|
5212 |
--*=)
|
|
5213 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
5214 |
ac_optarg=
|
5322 | 5215 |
ac_shift=:
|
5323 | 5216 |
;;
|
5324 | 5217 |
*)
|
|
5342 | 5235 |
$ac_shift
|
5343 | 5236 |
case $ac_optarg in
|
5344 | 5237 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
5238 |
'') as_fn_error $? "missing file argument" ;;
|
5345 | 5239 |
esac
|
5346 | 5240 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
5347 | 5241 |
ac_need_defaults=false;;
|
|
5354 | 5248 |
ac_need_defaults=false;;
|
5355 | 5249 |
--he | --h)
|
5356 | 5250 |
# Conflict between --help and --header
|
5357 | |
as_fn_error "ambiguous option: \`$1'
|
|
5251 |
as_fn_error $? "ambiguous option: \`$1'
|
5358 | 5252 |
Try \`$0 --help' for more information.";;
|
5359 | 5253 |
--help | --hel | -h )
|
5360 | 5254 |
$as_echo "$ac_cs_usage"; exit ;;
|
|
5363 | 5257 |
ac_cs_silent=: ;;
|
5364 | 5258 |
|
5365 | 5259 |
# This is an error.
|
5366 | |
-*) as_fn_error "unrecognized option: \`$1'
|
|
5260 |
-*) as_fn_error $? "unrecognized option: \`$1'
|
5367 | 5261 |
Try \`$0 --help' for more information." ;;
|
5368 | 5262 |
|
5369 | 5263 |
*) as_fn_append ac_config_targets " $1"
|
|
5421 | 5315 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
5422 | 5316 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
5423 | 5317 |
|
5424 | |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
|
5318 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
5425 | 5319 |
esac
|
5426 | 5320 |
done
|
5427 | 5321 |
|
|
5444 | 5338 |
# after its creation but before its name has been assigned to `$tmp'.
|
5445 | 5339 |
$debug ||
|
5446 | 5340 |
{
|
5447 | |
tmp=
|
|
5341 |
tmp= ac_tmp=
|
5448 | 5342 |
trap 'exit_status=$?
|
5449 | |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
5343 |
: "${ac_tmp:=$tmp}"
|
|
5344 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
5450 | 5345 |
' 0
|
5451 | 5346 |
trap 'as_fn_exit 1' 1 2 13 15
|
5452 | 5347 |
}
|
|
5454 | 5349 |
|
5455 | 5350 |
{
|
5456 | 5351 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
5457 | |
test -n "$tmp" && test -d "$tmp"
|
|
5352 |
test -d "$tmp"
|
5458 | 5353 |
} ||
|
5459 | 5354 |
{
|
5460 | 5355 |
tmp=./conf$$-$RANDOM
|
5461 | 5356 |
(umask 077 && mkdir "$tmp")
|
5462 | |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
|
5357 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
|
5358 |
ac_tmp=$tmp
|
5463 | 5359 |
|
5464 | 5360 |
# Set up the scripts for CONFIG_FILES section.
|
5465 | 5361 |
# No need to generate them if there are no CONFIG_FILES.
|
|
5476 | 5372 |
fi
|
5477 | 5373 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
5478 | 5374 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
5479 | |
ac_cs_awk_cr='\r'
|
|
5375 |
ac_cs_awk_cr='\\r'
|
5480 | 5376 |
else
|
5481 | 5377 |
ac_cs_awk_cr=$ac_cr
|
5482 | 5378 |
fi
|
5483 | 5379 |
|
5484 | |
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
|
5380 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
5485 | 5381 |
_ACEOF
|
5486 | 5382 |
|
5487 | 5383 |
|
|
5490 | 5386 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
5491 | 5387 |
echo "_ACEOF"
|
5492 | 5388 |
} >conf$$subs.sh ||
|
5493 | |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
5494 | |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
|
5389 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
5390 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
5495 | 5391 |
ac_delim='%!_!# '
|
5496 | 5392 |
for ac_last_try in false false false false false :; do
|
5497 | 5393 |
. ./conf$$subs.sh ||
|
5498 | |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
5394 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
5499 | 5395 |
|
5500 | 5396 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
5501 | 5397 |
if test $ac_delim_n = $ac_delim_num; then
|
5502 | 5398 |
break
|
5503 | 5399 |
elif $ac_last_try; then
|
5504 | |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
5400 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
5505 | 5401 |
else
|
5506 | 5402 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
5507 | 5403 |
fi
|
|
5509 | 5405 |
rm -f conf$$subs.sh
|
5510 | 5406 |
|
5511 | 5407 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
5512 | |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
|
5408 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
5513 | 5409 |
_ACEOF
|
5514 | 5410 |
sed -n '
|
5515 | 5411 |
h
|
|
5557 | 5453 |
rm -f conf$$subs.awk
|
5558 | 5454 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
5559 | 5455 |
_ACAWK
|
5560 | |
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
|
5456 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
5561 | 5457 |
for (key in S) S_is_set[key] = 1
|
5562 | 5458 |
FS = ""
|
5563 | 5459 |
|
|
5589 | 5485 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
5590 | 5486 |
else
|
5591 | 5487 |
cat
|
5592 | |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
5593 | |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
5594 | |
_ACEOF
|
5595 | |
|
5596 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
5597 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
5488 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
|
5489 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
|
5490 |
_ACEOF
|
|
5491 |
|
|
5492 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
|
5493 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
5598 | 5494 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
5599 | 5495 |
# (actually we leave an empty line to preserve line numbers).
|
5600 | 5496 |
if test "x$srcdir" = x.; then
|
5601 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
5602 | |
s/:*\$(srcdir):*/:/
|
5603 | |
s/:*\${srcdir}:*/:/
|
5604 | |
s/:*@srcdir@:*/:/
|
5605 | |
s/^\([^=]*=[ ]*\):*/\1/
|
|
5497 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
|
5498 |
h
|
|
5499 |
s///
|
|
5500 |
s/^/:/
|
|
5501 |
s/[ ]*$/:/
|
|
5502 |
s/:\$(srcdir):/:/g
|
|
5503 |
s/:\${srcdir}:/:/g
|
|
5504 |
s/:@srcdir@:/:/g
|
|
5505 |
s/^:*//
|
5606 | 5506 |
s/:*$//
|
|
5507 |
x
|
|
5508 |
s/\(=[ ]*\).*/\1/
|
|
5509 |
G
|
|
5510 |
s/\n//
|
5607 | 5511 |
s/^[^=]*=[ ]*$//
|
5608 | 5512 |
}'
|
5609 | 5513 |
fi
|
|
5615 | 5519 |
# No need to generate them if there are no CONFIG_HEADERS.
|
5616 | 5520 |
# This happens for instance with `./config.status Makefile'.
|
5617 | 5521 |
if test -n "$CONFIG_HEADERS"; then
|
5618 | |
cat >"$tmp/defines.awk" <<\_ACAWK ||
|
|
5522 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
5619 | 5523 |
BEGIN {
|
5620 | 5524 |
_ACEOF
|
5621 | 5525 |
|
|
5627 | 5531 |
# handling of long lines.
|
5628 | 5532 |
ac_delim='%!_!# '
|
5629 | 5533 |
for ac_last_try in false false :; do
|
5630 | |
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
5631 | |
if test -z "$ac_t"; then
|
|
5534 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
|
5535 |
if test -z "$ac_tt"; then
|
5632 | 5536 |
break
|
5633 | 5537 |
elif $ac_last_try; then
|
5634 | |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
|
5538 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
5635 | 5539 |
else
|
5636 | 5540 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
5637 | 5541 |
fi
|
|
5716 | 5620 |
_ACAWK
|
5717 | 5621 |
_ACEOF
|
5718 | 5622 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5719 | |
as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
|
5623 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
5720 | 5624 |
fi # test -n "$CONFIG_HEADERS"
|
5721 | 5625 |
|
5722 | 5626 |
|
|
5729 | 5633 |
esac
|
5730 | 5634 |
case $ac_mode$ac_tag in
|
5731 | 5635 |
:[FHL]*:*);;
|
5732 | |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
|
5636 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
5733 | 5637 |
:[FH]-) ac_tag=-:-;;
|
5734 | 5638 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
5735 | 5639 |
esac
|
|
5748 | 5652 |
for ac_f
|
5749 | 5653 |
do
|
5750 | 5654 |
case $ac_f in
|
5751 | |
-) ac_f="$tmp/stdin";;
|
|
5655 |
-) ac_f="$ac_tmp/stdin";;
|
5752 | 5656 |
*) # Look for the file first in the build tree, then in the source tree
|
5753 | 5657 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
5754 | 5658 |
# because $ac_f cannot contain `:'.
|
|
5757 | 5661 |
[\\/$]*) false;;
|
5758 | 5662 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
5759 | 5663 |
esac ||
|
5760 | |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
|
5664 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
5761 | 5665 |
esac
|
5762 | 5666 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
5763 | 5667 |
as_fn_append ac_file_inputs " '$ac_f'"
|
|
5783 | 5687 |
esac
|
5784 | 5688 |
|
5785 | 5689 |
case $ac_tag in
|
5786 | |
*:-:* | *:-) cat >"$tmp/stdin" \
|
5787 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
|
5690 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
|
5691 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
5788 | 5692 |
esac
|
5789 | 5693 |
;;
|
5790 | 5694 |
esac
|
|
5920 | 5824 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
5921 | 5825 |
$ac_datarootdir_hack
|
5922 | 5826 |
"
|
5923 | |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
5924 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
5827 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
|
5828 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
5925 | 5829 |
|
5926 | 5830 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
5927 | |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
5928 | |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
|
5831 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
|
5832 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
|
5833 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
5929 | 5834 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
5930 | |
which seems to be undefined. Please make sure it is defined." >&5
|
|
5835 |
which seems to be undefined. Please make sure it is defined" >&5
|
5931 | 5836 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
5932 | |
which seems to be undefined. Please make sure it is defined." >&2;}
|
5933 | |
|
5934 | |
rm -f "$tmp/stdin"
|
|
5837 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
|
5838 |
|
|
5839 |
rm -f "$ac_tmp/stdin"
|
5935 | 5840 |
case $ac_file in
|
5936 | |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
5937 | |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
|
5841 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
|
5842 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
5938 | 5843 |
esac \
|
5939 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
5844 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
5940 | 5845 |
;;
|
5941 | 5846 |
:H)
|
5942 | 5847 |
#
|
|
5945 | 5850 |
if test x"$ac_file" != x-; then
|
5946 | 5851 |
{
|
5947 | 5852 |
$as_echo "/* $configure_input */" \
|
5948 | |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
5949 | |
} >"$tmp/config.h" \
|
5950 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
5951 | |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
|
5853 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
|
5854 |
} >"$ac_tmp/config.h" \
|
|
5855 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
5856 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
5952 | 5857 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
5953 | 5858 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
5954 | 5859 |
else
|
5955 | 5860 |
rm -f "$ac_file"
|
5956 | |
mv "$tmp/config.h" "$ac_file" \
|
5957 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
5861 |
mv "$ac_tmp/config.h" "$ac_file" \
|
|
5862 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
5958 | 5863 |
fi
|
5959 | 5864 |
else
|
5960 | 5865 |
$as_echo "/* $configure_input */" \
|
5961 | |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
5962 | |
|| as_fn_error "could not create -" "$LINENO" 5
|
|
5866 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
|
5867 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
5963 | 5868 |
fi
|
5964 | 5869 |
# Compute "$ac_file"'s index in $config_headers.
|
5965 | 5870 |
_am_arg="$ac_file"
|
|
6109 | 6014 |
ac_clean_files=$ac_clean_files_save
|
6110 | 6015 |
|
6111 | 6016 |
test $ac_write_fail = 0 ||
|
6112 | |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
|
6017 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
6113 | 6018 |
|
6114 | 6019 |
|
6115 | 6020 |
# configure is writing to config.log, and then calls config.status.
|
|
6130 | 6035 |
exec 5>>config.log
|
6131 | 6036 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
6132 | 6037 |
# would make configure fail if this is the last instruction.
|
6133 | |
$ac_cs_success || as_fn_exit $?
|
|
6038 |
$ac_cs_success || as_fn_exit 1
|
6134 | 6039 |
fi
|
6135 | 6040 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
6136 | 6041 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|