12163
if test -n "$cf_cv_lib_part_tgetent"; then
12165
for ac_func in use_extended_names
12167
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12168
echo "$as_me:12168: checking for $ac_func" >&5
12169
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12170
if eval "test \"\${$as_ac_var+set}\" = set"; then
12171
echo $ECHO_N "(cached) $ECHO_C" >&6
12173
cat >conftest.$ac_ext <<_ACEOF
12174
#line 12174 "configure"
12175
#include "confdefs.h"
12176
/* System header to define __stub macros and hopefully few prototypes,
12177
which can conflict with char $ac_func (); below. */
12178
#include <assert.h>
12179
/* Override any gcc2 internal prototype to avoid an error. */
12183
/* We use char because int might match the return type of a gcc2
12184
builtin and then its argument prototype would still apply. */
12191
/* The GNU C library defines this for functions which it implements
12192
to always fail with ENOSYS. Some functions are actually named
12193
something starting with __ and the normal name is an alias. */
12194
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12204
rm -f conftest.$ac_objext conftest$ac_exeext
12205
if { (eval echo "$as_me:12205: \"$ac_link\"") >&5
12206
(eval $ac_link) 2>&5
12208
echo "$as_me:12208: \$? = $ac_status" >&5
12209
(exit $ac_status); } &&
12210
{ ac_try='test -s conftest$ac_exeext'
12211
{ (eval echo "$as_me:12211: \"$ac_try\"") >&5
12212
(eval $ac_try) 2>&5
12214
echo "$as_me:12214: \$? = $ac_status" >&5
12215
(exit $ac_status); }; }; then
12216
eval "$as_ac_var=yes"
12218
echo "$as_me: failed program was:" >&5
12219
cat conftest.$ac_ext >&5
12220
eval "$as_ac_var=no"
12222
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12224
echo "$as_me:12224: result: `eval echo '${'$as_ac_var'}'`" >&5
12225
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12226
if test `eval echo '${'$as_ac_var'}'` = yes; then
12227
cat >>confdefs.h <<EOF
12228
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12163
12236
if test -n "$GCC" ; then
12164
echo "$as_me:12164: checking if you want to turn on gcc warnings" >&5
12237
echo "$as_me:12237: checking if you want to turn on gcc warnings" >&5
12165
12238
echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6
12167
12240
# Check whether --enable-warnings or --disable-warnings was given.
12202
12275
if test "$GCC" = yes
12204
{ echo "$as_me:12204: checking for $CC __attribute__ directives..." >&5
12277
{ echo "$as_me:12277: checking for $CC __attribute__ directives..." >&5
12205
12278
echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
12206
12279
cat > conftest.$ac_ext <<EOF
12207
#line 12207 "${as_me-configure}"
12280
#line 12280 "${as_me-configure}"
12208
12281
#include "confdefs.h"
12209
12282
#include "conftest.h"
12210
12283
#include "conftest.i"
12245
if { (eval echo "$as_me:12245: \"$ac_compile\"") >&5
12318
if { (eval echo "$as_me:12318: \"$ac_compile\"") >&5
12246
12319
(eval $ac_compile) 2>&5
12248
echo "$as_me:12248: \$? = $ac_status" >&5
12321
echo "$as_me:12321: \$? = $ac_status" >&5
12249
12322
(exit $ac_status); }; then
12250
test -n "$verbose" && echo "$as_me:12250: result: ... $cf_attribute" >&5
12323
test -n "$verbose" && echo "$as_me:12323: result: ... $cf_attribute" >&5
12251
12324
echo "${ECHO_T}... $cf_attribute" >&6
12252
12325
cat conftest.h >>confdefs.h
12261
12334
GCC_VERSION=none
12262
12335
if test "$GCC" = yes ; then
12263
echo "$as_me:12263: checking version of $CC" >&5
12336
echo "$as_me:12336: checking version of $CC" >&5
12264
12337
echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
12265
12338
GCC_VERSION="`${CC} --version| sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
12266
12339
test -z "$GCC_VERSION" && GCC_VERSION=unknown
12267
echo "$as_me:12267: result: $GCC_VERSION" >&5
12340
echo "$as_me:12340: result: $GCC_VERSION" >&5
12268
12341
echo "${ECHO_T}$GCC_VERSION" >&6
12273
12346
if test "$GCC" = yes ; then
12274
12347
case $host_os in
12276
echo "$as_me:12276: checking if this is really Intel C compiler" >&5
12349
echo "$as_me:12349: checking if this is really Intel C compiler" >&5
12277
12350
echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
12278
12351
cf_save_CFLAGS="$CFLAGS"
12279
12352
CFLAGS="$CFLAGS -no-gcc"
12280
12353
cat >conftest.$ac_ext <<_ACEOF
12281
#line 12281 "configure"
12354
#line 12354 "configure"
12282
12355
#include "confdefs.h"
12297
12370
rm -f conftest.$ac_objext
12298
if { (eval echo "$as_me:12298: \"$ac_compile\"") >&5
12371
if { (eval echo "$as_me:12371: \"$ac_compile\"") >&5
12299
12372
(eval $ac_compile) 2>&5
12301
echo "$as_me:12301: \$? = $ac_status" >&5
12374
echo "$as_me:12374: \$? = $ac_status" >&5
12302
12375
(exit $ac_status); } &&
12303
12376
{ ac_try='test -s conftest.$ac_objext'
12304
{ (eval echo "$as_me:12304: \"$ac_try\"") >&5
12377
{ (eval echo "$as_me:12377: \"$ac_try\"") >&5
12305
12378
(eval $ac_try) 2>&5
12307
echo "$as_me:12307: \$? = $ac_status" >&5
12380
echo "$as_me:12380: \$? = $ac_status" >&5
12308
12381
(exit $ac_status); }; }; then
12309
12382
INTEL_COMPILER=yes
12310
12383
cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
12316
12389
rm -f conftest.$ac_objext conftest.$ac_ext
12317
12390
CFLAGS="$cf_save_CFLAGS"
12318
echo "$as_me:12318: result: $INTEL_COMPILER" >&5
12391
echo "$as_me:12391: result: $INTEL_COMPILER" >&5
12319
12392
echo "${ECHO_T}$INTEL_COMPILER" >&6
12324
12397
cat > conftest.$ac_ext <<EOF
12325
#line 12325 "${as_me-configure}"
12398
#line 12398 "${as_me-configure}"
12326
12399
int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
12340
12413
# remark #981: operands are evaluated in unspecified order
12341
12414
# warning #269: invalid format string conversion
12343
{ echo "$as_me:12343: checking for $CC warning options..." >&5
12416
{ echo "$as_me:12416: checking for $CC warning options..." >&5
12344
12417
echo "$as_me: checking for $CC warning options..." >&6;}
12345
12418
cf_save_CFLAGS="$CFLAGS"
12346
12419
EXTRA_CFLAGS="-Wall"
12359
12432
CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
12360
if { (eval echo "$as_me:12360: \"$ac_compile\"") >&5
12433
if { (eval echo "$as_me:12433: \"$ac_compile\"") >&5
12361
12434
(eval $ac_compile) 2>&5
12363
echo "$as_me:12363: \$? = $ac_status" >&5
12436
echo "$as_me:12436: \$? = $ac_status" >&5
12364
12437
(exit $ac_status); }; then
12365
test -n "$verbose" && echo "$as_me:12365: result: ... -$cf_opt" >&5
12438
test -n "$verbose" && echo "$as_me:12438: result: ... -$cf_opt" >&5
12366
12439
echo "${ECHO_T}... -$cf_opt" >&6
12367
12440
EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
12391
12464
Wundef $cf_warn_CONST Wdeclaration-after-statement Wextra Wno-unknown-pragmas Wswitch-enum
12393
12466
CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
12394
if { (eval echo "$as_me:12394: \"$ac_compile\"") >&5
12467
if { (eval echo "$as_me:12467: \"$ac_compile\"") >&5
12395
12468
(eval $ac_compile) 2>&5
12397
echo "$as_me:12397: \$? = $ac_status" >&5
12470
echo "$as_me:12470: \$? = $ac_status" >&5
12398
12471
(exit $ac_status); }; then
12399
test -n "$verbose" && echo "$as_me:12399: result: ... -$cf_opt" >&5
12472
test -n "$verbose" && echo "$as_me:12472: result: ... -$cf_opt" >&5
12400
12473
echo "${ECHO_T}... -$cf_opt" >&6
12401
12474
case $cf_opt in #(vi
12402
12475
Wcast-qual) #(vi
12539
12612
: ${CONFIG_STATUS=./config.status}
12540
12613
ac_clean_files_save=$ac_clean_files
12541
12614
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12542
{ echo "$as_me:12542: creating $CONFIG_STATUS" >&5
12615
{ echo "$as_me:12615: creating $CONFIG_STATUS" >&5
12543
12616
echo "$as_me: creating $CONFIG_STATUS" >&6;}
12544
12617
cat >$CONFIG_STATUS <<_ACEOF
12712
12785
echo "$ac_cs_version"; exit 0 ;;
12714
12787
# Conflict between --help and --header
12715
{ { echo "$as_me:12715: error: ambiguous option: $1
12788
{ { echo "$as_me:12788: error: ambiguous option: $1
12716
12789
Try \`$0 --help' for more information." >&5
12717
12790
echo "$as_me: error: ambiguous option: $1
12718
12791
Try \`$0 --help' for more information." >&2;}
12731
12804
ac_need_defaults=false;;
12733
12806
# This is an error.
12734
-*) { { echo "$as_me:12734: error: unrecognized option: $1
12807
-*) { { echo "$as_me:12807: error: unrecognized option: $1
12735
12808
Try \`$0 --help' for more information." >&5
12736
12809
echo "$as_me: error: unrecognized option: $1
12737
12810
Try \`$0 --help' for more information." >&2;}
12768
12841
# Handling of arguments.
12769
12842
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12770
12843
"xtermcfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS xtermcfg.h:xtermcfg.hin" ;;
12771
*) { { echo "$as_me:12771: error: invalid argument: $ac_config_target" >&5
12844
*) { { echo "$as_me:12844: error: invalid argument: $ac_config_target" >&5
12772
12845
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12773
12846
{ (exit 1); exit 1; }; };;
13042
13115
-) echo $tmp/stdin ;;
13044
13117
# Absolute (can't be DOS-style, as IFS=:)
13045
test -f "$f" || { { echo "$as_me:13045: error: cannot find input file: $f" >&5
13118
test -f "$f" || { { echo "$as_me:13118: error: cannot find input file: $f" >&5
13046
13119
echo "$as_me: error: cannot find input file: $f" >&2;}
13047
13120
{ (exit 1); exit 1; }; }
13121
13194
* ) ac_file_in=$ac_file.in ;;
13124
test x"$ac_file" != x- && { echo "$as_me:13124: creating $ac_file" >&5
13197
test x"$ac_file" != x- && { echo "$as_me:13197: creating $ac_file" >&5
13125
13198
echo "$as_me: creating $ac_file" >&6;}
13127
13200
# First look for the input files in the build tree, otherwise in the
13132
13205
-) echo $tmp/stdin ;;
13134
13207
# Absolute (can't be DOS-style, as IFS=:)
13135
test -f "$f" || { { echo "$as_me:13135: error: cannot find input file: $f" >&5
13208
test -f "$f" || { { echo "$as_me:13208: error: cannot find input file: $f" >&5
13136
13209
echo "$as_me: error: cannot find input file: $f" >&2;}
13137
13210
{ (exit 1); exit 1; }; }
13263
13336
rm -f $tmp/in
13264
13337
if test x"$ac_file" != x-; then
13265
13338
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13266
{ echo "$as_me:13266: $ac_file is unchanged" >&5
13339
{ echo "$as_me:13339: $ac_file is unchanged" >&5
13267
13340
echo "$as_me: $ac_file is unchanged" >&6;}
13269
13342
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \