12961
13091
- { { echo "$as_me:$LINENO: error: this packages requires a curses library" >&5
12962
13092
-echo "$as_me: error: this packages requires a curses library" >&2;}
12963
13093
- { (exit 1); exit 1; }; }
13096
- { echo "$as_me:$LINENO: checking for curses library" >&5
13097
-echo $ECHO_N "checking for curses library... $ECHO_C" >&6; }
13098
- { echo "$as_me:$LINENO: result: $curseslib" >&5
13099
-echo "${ECHO_T}$curseslib" >&6; }
13100
- { echo "$as_me:$LINENO: checking for curses header name" >&5
13101
-echo $ECHO_N "checking for curses header name... $ECHO_C" >&6; }
13102
- { echo "$as_me:$LINENO: result: $CURSESINC" >&5
13103
-echo "${ECHO_T}$CURSESINC" >&6; }
13104
- { echo "$as_me:$LINENO: checking for curses compiler flags" >&5
13105
-echo $ECHO_N "checking for curses compiler flags... $ECHO_C" >&6; }
13106
- { echo "$as_me:$LINENO: result: $CURSES_CFLAGS" >&5
13107
-echo "${ECHO_T}$CURSES_CFLAGS" >&6; }
12964
13108
+ as_fn_error "this packages requires a curses library" "$LINENO" 5
12968
@@ -8256,7 +6954,7 @@
13111
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses library" >&5
13112
+$as_echo_n "checking for curses library... " >&6; }
13113
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curseslib" >&5
13114
+$as_echo "$curseslib" >&6; }
13115
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses header name" >&5
13116
+$as_echo_n "checking for curses header name... " >&6; }
13117
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURSESINC" >&5
13118
+$as_echo "$CURSESINC" >&6; }
13119
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses compiler flags" >&5
13120
+$as_echo_n "checking for curses compiler flags... " >&6; }
13121
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURSES_CFLAGS" >&5
13122
+$as_echo "$CURSES_CFLAGS" >&6; }
13124
if test -n "$CURSESLIBDIR"; then
13125
if test "-L$CURSESLIBDIR " = "$(echo $CURSESLIB | cut -c-$((${#CURSESLIBDIR}+3)) )"; then
13126
@@ -8300,82 +7085,33 @@
13128
LIBS="$CURSESLIB $LIBS"
13130
- cat >conftest.$ac_ext <<_ACEOF
13133
-cat confdefs.h >>conftest.$ac_ext
13134
-cat >>conftest.$ac_ext <<_ACEOF
13135
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13136
/* end confdefs.h. */
13146
-rm -f conftest.$ac_objext conftest$ac_exeext
13147
-if { (ac_try="$ac_link"
13148
-case "(($ac_try" in
13149
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13150
- *) ac_try_echo=$ac_try;;
13152
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13153
- (eval "$ac_link") 2>conftest.er1
13155
- grep -v '^ *+' conftest.er1 >conftest.err
13156
- rm -f conftest.er1
13157
- cat conftest.err >&5
13158
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159
- (exit $ac_status); } &&
13160
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13161
- { (case "(($ac_try" in
13162
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13163
- *) ac_try_echo=$ac_try;;
13165
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13166
- (eval "$ac_try") 2>&5
13168
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169
- (exit $ac_status); }; } &&
13170
- { ac_try='test -s conftest$ac_exeext'
13171
- { (case "(($ac_try" in
13172
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13173
- *) ac_try_echo=$ac_try;;
13175
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13176
- (eval "$ac_try") 2>&5
13178
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179
- (exit $ac_status); }; }; then
13184
+if ac_fn_c_try_link "$LINENO"; then :
13185
HAVE_CURSES_ESCDELAY="yes"
13187
- echo "$as_me: failed program was:" >&5
13188
-sed 's/^/| /' conftest.$ac_ext >&5
13193
rm -f core conftest.err conftest.$ac_objext \
13194
- conftest$ac_exeext conftest.$ac_ext
13195
+ conftest$ac_exeext conftest.$ac_ext
13196
if test "$HAVE_CURSES_ESCDELAY" = "yes"; then
13198
-cat >>confdefs.h <<\_ACEOF
13199
-#define HAVE_CURSES_ESCDELAY 1
13201
+$as_echo "#define HAVE_CURSES_ESCDELAY 1" >>confdefs.h
13205
if test "$USE_NLS" = "yes"; then
13206
- { echo "$as_me:$LINENO: checking for curses NLS support" >&5
13207
-echo $ECHO_N "checking for curses NLS support... $ECHO_C" >&6; }
13208
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses NLS support" >&5
13209
+$as_echo_n "checking for curses NLS support... " >&6; }
13210
if test "$curseslib" = "curses"; then
13211
- cat >conftest.$ac_ext <<_ACEOF
13214
-cat confdefs.h >>conftest.$ac_ext
13215
-cat >>conftest.$ac_ext <<_ACEOF
13216
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13217
/* end confdefs.h. */
13219
#define _XOPEN_SOURCE 1
13220
@@ -8393,141 +7129,32 @@
13224
-rm -f conftest.$ac_objext conftest$ac_exeext
13225
-if { (ac_try="$ac_link"
13226
-case "(($ac_try" in
13227
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13228
- *) ac_try_echo=$ac_try;;
13230
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13231
- (eval "$ac_link") 2>conftest.er1
13233
- grep -v '^ *+' conftest.er1 >conftest.err
13234
- rm -f conftest.er1
13235
- cat conftest.err >&5
13236
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237
- (exit $ac_status); } &&
13238
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13239
- { (case "(($ac_try" in
13240
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13241
- *) ac_try_echo=$ac_try;;
13243
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13244
- (eval "$ac_try") 2>&5
13246
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247
- (exit $ac_status); }; } &&
13248
- { ac_try='test -s conftest$ac_exeext'
13249
- { (case "(($ac_try" in
13250
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13251
- *) ac_try_echo=$ac_try;;
13253
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13254
- (eval "$ac_try") 2>&5
13256
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257
- (exit $ac_status); }; }; then
13258
+if ac_fn_c_try_link "$LINENO"; then :
13261
- echo "$as_me: failed program was:" >&5
13262
-sed 's/^/| /' conftest.$ac_ext >&5
13267
rm -f core conftest.err conftest.$ac_objext \
13268
- conftest$ac_exeext conftest.$ac_ext
13269
+ conftest$ac_exeext conftest.$ac_ext
13271
- { echo "$as_me:$LINENO: result: $CURSES_NLS" >&5
13272
-echo "${ECHO_T}$CURSES_NLS" >&6; }
13273
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURSES_NLS" >&5
13274
+$as_echo "$CURSES_NLS" >&6; }
13275
if test "$CURSES_NLS" = "yes"; then
13277
-cat >>confdefs.h <<\_ACEOF
13278
-#define ENABLE_NLS_IN_CURSES 1
13280
+$as_echo "#define ENABLE_NLS_IN_CURSES 1" >>confdefs.h
13285
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
13295
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13296
inttypes.h stdint.h unistd.h
13298
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13299
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
13300
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13301
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13302
- echo $ECHO_N "(cached) $ECHO_C" >&6
13304
- cat >conftest.$ac_ext <<_ACEOF
13307
-cat confdefs.h >>conftest.$ac_ext
13308
-cat >>conftest.$ac_ext <<_ACEOF
13309
-/* end confdefs.h. */
13310
-$ac_includes_default
13312
-#include <$ac_header>
13314
-rm -f conftest.$ac_objext
13315
-if { (ac_try="$ac_compile"
13316
-case "(($ac_try" in
13317
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13318
- *) ac_try_echo=$ac_try;;
13320
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13321
- (eval "$ac_compile") 2>conftest.er1
13323
- grep -v '^ *+' conftest.er1 >conftest.err
13324
- rm -f conftest.er1
13325
- cat conftest.err >&5
13326
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327
- (exit $ac_status); } &&
13328
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13329
- { (case "(($ac_try" in
13330
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13331
- *) ac_try_echo=$ac_try;;
13333
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13334
- (eval "$ac_try") 2>&5
13336
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337
- (exit $ac_status); }; } &&
13338
- { ac_try='test -s conftest.$ac_objext'
13339
- { (case "(($ac_try" in
13340
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13341
- *) ac_try_echo=$ac_try;;
13343
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13344
- (eval "$ac_try") 2>&5
13346
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347
- (exit $ac_status); }; }; then
13348
- eval "$as_ac_Header=yes"
13350
- echo "$as_me: failed program was:" >&5
13351
-sed 's/^/| /' conftest.$ac_ext >&5
13353
- eval "$as_ac_Header=no"
13356
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13358
-ac_res=`eval echo '${'$as_ac_Header'}'`
13359
- { echo "$as_me:$LINENO: result: $ac_res" >&5
13360
-echo "${ECHO_T}$ac_res" >&6; }
13361
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
13363
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13364
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13366
+eval as_val=\$$as_ac_Header
13367
+ if test "x$as_val" = x""yes; then :
13368
cat >>confdefs.h <<_ACEOF
13369
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13370
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13374
@@ -8535,189 +7162,31 @@
13381
for ac_header in panel.h menu.h form.h
13383
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13384
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13385
- { echo "$as_me:$LINENO: checking for $ac_header" >&5
13386
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13387
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13388
- echo $ECHO_N "(cached) $ECHO_C" >&6
13390
-ac_res=`eval echo '${'$as_ac_Header'}'`
13391
- { echo "$as_me:$LINENO: result: $ac_res" >&5
13392
-echo "${ECHO_T}$ac_res" >&6; }
13394
- # Is the header compilable?
13395
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
13396
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
13397
-cat >conftest.$ac_ext <<_ACEOF
13400
-cat confdefs.h >>conftest.$ac_ext
13401
-cat >>conftest.$ac_ext <<_ACEOF
13402
-/* end confdefs.h. */
13403
-$ac_includes_default
13404
-#include <$ac_header>
13406
-rm -f conftest.$ac_objext
13407
-if { (ac_try="$ac_compile"
13408
-case "(($ac_try" in
13409
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13410
- *) ac_try_echo=$ac_try;;
13412
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13413
- (eval "$ac_compile") 2>conftest.er1
13415
- grep -v '^ *+' conftest.er1 >conftest.err
13416
- rm -f conftest.er1
13417
- cat conftest.err >&5
13418
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13419
- (exit $ac_status); } &&
13420
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13421
- { (case "(($ac_try" in
13422
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13423
- *) ac_try_echo=$ac_try;;
13425
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13426
- (eval "$ac_try") 2>&5
13428
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429
- (exit $ac_status); }; } &&
13430
- { ac_try='test -s conftest.$ac_objext'
13431
- { (case "(($ac_try" in
13432
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13433
- *) ac_try_echo=$ac_try;;
13435
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13436
- (eval "$ac_try") 2>&5
13438
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439
- (exit $ac_status); }; }; then
13440
- ac_header_compiler=yes
13442
- echo "$as_me: failed program was:" >&5
13443
-sed 's/^/| /' conftest.$ac_ext >&5
13445
- ac_header_compiler=no
13448
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13449
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13450
-echo "${ECHO_T}$ac_header_compiler" >&6; }
13452
-# Is the header present?
13453
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
13454
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13455
-cat >conftest.$ac_ext <<_ACEOF
13458
-cat confdefs.h >>conftest.$ac_ext
13459
-cat >>conftest.$ac_ext <<_ACEOF
13460
-/* end confdefs.h. */
13461
-#include <$ac_header>
13463
-if { (ac_try="$ac_cpp conftest.$ac_ext"
13464
-case "(($ac_try" in
13465
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13466
- *) ac_try_echo=$ac_try;;
13468
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13469
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13471
- grep -v '^ *+' conftest.er1 >conftest.err
13472
- rm -f conftest.er1
13473
- cat conftest.err >&5
13474
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475
- (exit $ac_status); } >/dev/null; then
13476
- if test -s conftest.err; then
13477
- ac_cpp_err=$ac_c_preproc_warn_flag
13478
- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13485
-if test -z "$ac_cpp_err"; then
13486
- ac_header_preproc=yes
13488
- echo "$as_me: failed program was:" >&5
13489
-sed 's/^/| /' conftest.$ac_ext >&5
13491
- ac_header_preproc=no
13494
-rm -f conftest.err conftest.$ac_ext
13495
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13496
-echo "${ECHO_T}$ac_header_preproc" >&6; }
13498
-# So? What about this header?
13499
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13501
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13502
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13503
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13504
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13505
- ac_header_preproc=yes
13508
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13509
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13510
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13511
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13512
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13513
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13514
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13515
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13516
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13517
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13518
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13519
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13523
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
13524
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13525
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13526
- echo $ECHO_N "(cached) $ECHO_C" >&6
13528
- eval "$as_ac_Header=\$ac_header_preproc"
13530
-ac_res=`eval echo '${'$as_ac_Header'}'`
13531
- { echo "$as_me:$LINENO: result: $ac_res" >&5
13532
-echo "${ECHO_T}$ac_res" >&6; }
13535
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
13537
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13538
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13539
+eval as_val=\$$as_ac_Header
13540
+ if test "x$as_val" = x""yes; then :
13541
cat >>confdefs.h <<_ACEOF
13542
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13543
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13547
- { { echo "$as_me:$LINENO: error: required curses helper header not found" >&5
13548
-echo "$as_me: error: required curses helper header not found" >&2;}
13549
- { (exit 1); exit 1; }; }
13550
+ as_fn_error "required curses helper header not found" "$LINENO" 5
13555
- as_ac_Lib=`echo "ac_cv_lib_panel$NCURSESLIBSUFFIX''_new_panel" | $as_tr_sh`
13556
-{ echo "$as_me:$LINENO: checking for new_panel in -lpanel$NCURSESLIBSUFFIX" >&5
13557
-echo $ECHO_N "checking for new_panel in -lpanel$NCURSESLIBSUFFIX... $ECHO_C" >&6; }
13558
-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
13559
- echo $ECHO_N "(cached) $ECHO_C" >&6
13560
+ as_ac_Lib=`$as_echo "ac_cv_lib_panel$NCURSESLIBSUFFIX''_new_panel" | $as_tr_sh`
13561
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for new_panel in -lpanel$NCURSESLIBSUFFIX" >&5
13562
+$as_echo_n "checking for new_panel in -lpanel$NCURSESLIBSUFFIX... " >&6; }
13563
+if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
13564
+ $as_echo_n "(cached) " >&6
13566
ac_check_lib_save_LIBS=$LIBS
13567
LIBS="-lpanel$NCURSESLIBSUFFIX $LIBS"
13568
-cat >conftest.$ac_ext <<_ACEOF
13571
-cat confdefs.h >>conftest.$ac_ext
13572
-cat >>conftest.$ac_ext <<_ACEOF
13573
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574
/* end confdefs.h. */
13576
/* Override any GCC internal prototype to avoid an error.
13577
@@ -8735,76 +7204,34 @@
13581
-rm -f conftest.$ac_objext conftest$ac_exeext
13582
-if { (ac_try="$ac_link"
13583
-case "(($ac_try" in
13584
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13585
- *) ac_try_echo=$ac_try;;
13587
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13588
- (eval "$ac_link") 2>conftest.er1
13590
- grep -v '^ *+' conftest.er1 >conftest.err
13591
- rm -f conftest.er1
13592
- cat conftest.err >&5
13593
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594
- (exit $ac_status); } &&
13595
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13596
- { (case "(($ac_try" in
13597
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13598
- *) ac_try_echo=$ac_try;;
13600
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13601
- (eval "$ac_try") 2>&5
13603
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604
- (exit $ac_status); }; } &&
13605
- { ac_try='test -s conftest$ac_exeext'
13606
- { (case "(($ac_try" in
13607
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13608
- *) ac_try_echo=$ac_try;;
13610
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13611
- (eval "$ac_try") 2>&5
13613
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614
- (exit $ac_status); }; }; then
13615
+if ac_fn_c_try_link "$LINENO"; then :
13616
eval "$as_ac_Lib=yes"
13618
- echo "$as_me: failed program was:" >&5
13619
-sed 's/^/| /' conftest.$ac_ext >&5
13621
- eval "$as_ac_Lib=no"
13622
+ eval "$as_ac_Lib=no"
13625
rm -f core conftest.err conftest.$ac_objext \
13626
- conftest$ac_exeext conftest.$ac_ext
13627
+ conftest$ac_exeext conftest.$ac_ext
13628
LIBS=$ac_check_lib_save_LIBS
13630
-ac_res=`eval echo '${'$as_ac_Lib'}'`
13631
- { echo "$as_me:$LINENO: result: $ac_res" >&5
13632
-echo "${ECHO_T}$ac_res" >&6; }
13633
-if test `eval echo '${'$as_ac_Lib'}'` = yes; then
13634
+eval ac_res=\$$as_ac_Lib
13635
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13636
+$as_echo "$ac_res" >&6; }
13637
+eval as_val=\$$as_ac_Lib
13638
+ if test "x$as_val" = x""yes; then :
13639
CURSESLIB="-lpanel$NCURSESLIBSUFFIX $CURSESLIB"
13641
- { { echo "$as_me:$LINENO: error: panel$NCURSESLIBSUFFIX library not found" >&5
13642
-echo "$as_me: error: panel$NCURSESLIBSUFFIX library not found" >&2;}
13643
- { (exit 1); exit 1; }; }
13644
+ as_fn_error "panel$NCURSESLIBSUFFIX library not found" "$LINENO" 5
13647
- as_ac_Lib=`echo "ac_cv_lib_menu$NCURSESLIBSUFFIX''_new_menu" | $as_tr_sh`
13648
-{ echo "$as_me:$LINENO: checking for new_menu in -lmenu$NCURSESLIBSUFFIX" >&5
13649
-echo $ECHO_N "checking for new_menu in -lmenu$NCURSESLIBSUFFIX... $ECHO_C" >&6; }
13650
-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
13651
- echo $ECHO_N "(cached) $ECHO_C" >&6
13652
+ as_ac_Lib=`$as_echo "ac_cv_lib_menu$NCURSESLIBSUFFIX''_new_menu" | $as_tr_sh`
13653
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for new_menu in -lmenu$NCURSESLIBSUFFIX" >&5
13654
+$as_echo_n "checking for new_menu in -lmenu$NCURSESLIBSUFFIX... " >&6; }
13655
+if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
13656
+ $as_echo_n "(cached) " >&6
13658
ac_check_lib_save_LIBS=$LIBS
13659
LIBS="-lmenu$NCURSESLIBSUFFIX $LIBS"
13660
-cat >conftest.$ac_ext <<_ACEOF
13663
-cat confdefs.h >>conftest.$ac_ext
13664
-cat >>conftest.$ac_ext <<_ACEOF
13665
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13666
/* end confdefs.h. */
13668
/* Override any GCC internal prototype to avoid an error.
13669
@@ -8822,76 +7249,34 @@
13673
-rm -f conftest.$ac_objext conftest$ac_exeext
13674
-if { (ac_try="$ac_link"
13675
-case "(($ac_try" in
13676
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13677
- *) ac_try_echo=$ac_try;;
13679
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13680
- (eval "$ac_link") 2>conftest.er1
13682
- grep -v '^ *+' conftest.er1 >conftest.err
13683
- rm -f conftest.er1
13684
- cat conftest.err >&5
13685
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686
- (exit $ac_status); } &&
13687
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13688
- { (case "(($ac_try" in
13689
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13690
- *) ac_try_echo=$ac_try;;
13692
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13693
- (eval "$ac_try") 2>&5
13695
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696
- (exit $ac_status); }; } &&
13697
- { ac_try='test -s conftest$ac_exeext'
13698
- { (case "(($ac_try" in
13699
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13700
- *) ac_try_echo=$ac_try;;
13702
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13703
- (eval "$ac_try") 2>&5
13705
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706
- (exit $ac_status); }; }; then
13707
+if ac_fn_c_try_link "$LINENO"; then :
13708
eval "$as_ac_Lib=yes"
13710
- echo "$as_me: failed program was:" >&5
13711
-sed 's/^/| /' conftest.$ac_ext >&5
13713
- eval "$as_ac_Lib=no"
13714
+ eval "$as_ac_Lib=no"
13717
rm -f core conftest.err conftest.$ac_objext \
13718
- conftest$ac_exeext conftest.$ac_ext
13719
+ conftest$ac_exeext conftest.$ac_ext
13720
LIBS=$ac_check_lib_save_LIBS
13722
-ac_res=`eval echo '${'$as_ac_Lib'}'`
13723
- { echo "$as_me:$LINENO: result: $ac_res" >&5
13724
-echo "${ECHO_T}$ac_res" >&6; }
13725
-if test `eval echo '${'$as_ac_Lib'}'` = yes; then
13726
+eval ac_res=\$$as_ac_Lib
13727
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13728
+$as_echo "$ac_res" >&6; }
13729
+eval as_val=\$$as_ac_Lib
13730
+ if test "x$as_val" = x""yes; then :
13731
CURSESLIB="-lmenu$NCURSESLIBSUFFIX $CURSESLIB"
13733
- { { echo "$as_me:$LINENO: error: menu$NCURSESLIBSUFFIX library not found" >&5
13734
-echo "$as_me: error: menu$NCURSESLIBSUFFIX library not found" >&2;}
13735
- { (exit 1); exit 1; }; }
13736
+ as_fn_error "menu$NCURSESLIBSUFFIX library not found" "$LINENO" 5
13739
- as_ac_Lib=`echo "ac_cv_lib_form$NCURSESLIBSUFFIX''_new_form" | $as_tr_sh`
13740
-{ echo "$as_me:$LINENO: checking for new_form in -lform$NCURSESLIBSUFFIX" >&5
13741
-echo $ECHO_N "checking for new_form in -lform$NCURSESLIBSUFFIX... $ECHO_C" >&6; }
13742
-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
13743
- echo $ECHO_N "(cached) $ECHO_C" >&6
13744
+ as_ac_Lib=`$as_echo "ac_cv_lib_form$NCURSESLIBSUFFIX''_new_form" | $as_tr_sh`
13745
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for new_form in -lform$NCURSESLIBSUFFIX" >&5
13746
+$as_echo_n "checking for new_form in -lform$NCURSESLIBSUFFIX... " >&6; }
13747
+if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
13748
+ $as_echo_n "(cached) " >&6
13750
ac_check_lib_save_LIBS=$LIBS
13751
LIBS="-lform$NCURSESLIBSUFFIX $LIBS"
13752
-cat >conftest.$ac_ext <<_ACEOF
13755
-cat confdefs.h >>conftest.$ac_ext
13756
-cat >>conftest.$ac_ext <<_ACEOF
13757
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758
/* end confdefs.h. */
13760
/* Override any GCC internal prototype to avoid an error.
13761
@@ -8909,61 +7294,23 @@
13765
-rm -f conftest.$ac_objext conftest$ac_exeext
13766
-if { (ac_try="$ac_link"
13767
-case "(($ac_try" in
13768
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13769
- *) ac_try_echo=$ac_try;;
13771
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13772
- (eval "$ac_link") 2>conftest.er1
13774
- grep -v '^ *+' conftest.er1 >conftest.err
13775
- rm -f conftest.er1
13776
- cat conftest.err >&5
13777
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778
- (exit $ac_status); } &&
13779
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13780
- { (case "(($ac_try" in
13781
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13782
- *) ac_try_echo=$ac_try;;
13784
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13785
- (eval "$ac_try") 2>&5
13787
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788
- (exit $ac_status); }; } &&
13789
- { ac_try='test -s conftest$ac_exeext'
13790
- { (case "(($ac_try" in
13791
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13792
- *) ac_try_echo=$ac_try;;
13794
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13795
- (eval "$ac_try") 2>&5
13797
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798
- (exit $ac_status); }; }; then
13799
+if ac_fn_c_try_link "$LINENO"; then :
13800
eval "$as_ac_Lib=yes"
13802
- echo "$as_me: failed program was:" >&5
13803
-sed 's/^/| /' conftest.$ac_ext >&5
13805
- eval "$as_ac_Lib=no"
13806
+ eval "$as_ac_Lib=no"
13809
rm -f core conftest.err conftest.$ac_objext \
13810
- conftest$ac_exeext conftest.$ac_ext
13811
+ conftest$ac_exeext conftest.$ac_ext
13812
LIBS=$ac_check_lib_save_LIBS
13814
-ac_res=`eval echo '${'$as_ac_Lib'}'`
13815
- { echo "$as_me:$LINENO: result: $ac_res" >&5
13816
-echo "${ECHO_T}$ac_res" >&6; }
13817
-if test `eval echo '${'$as_ac_Lib'}'` = yes; then
13818
+eval ac_res=\$$as_ac_Lib
13819
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13820
+$as_echo "$ac_res" >&6; }
13821
+eval as_val=\$$as_ac_Lib
13822
+ if test "x$as_val" = x""yes; then :
13823
CURSESLIB="-lform$NCURSESLIBSUFFIX $CURSESLIB"
13825
- { { echo "$as_me:$LINENO: error: form$NCURSESLIBSUFFIX library not found" >&5
13826
-echo "$as_me: error: form$NCURSESLIBSUFFIX library not found" >&2;}
13827
- { (exit 1); exit 1; }; }
13828
+ as_fn_error "form$NCURSESLIBSUFFIX library not found" "$LINENO" 5
13832
@@ -8975,10 +7322,10 @@
13833
CURSESLIB="-L$CURSESLIBDIR $CURSESLIB"
13836
- { echo "$as_me:$LINENO: checking for curses linker flags" >&5
13837
-echo $ECHO_N "checking for curses linker flags... $ECHO_C" >&6; }
13838
- { echo "$as_me:$LINENO: result: $CURSESLIB" >&5
13839
-echo "${ECHO_T}$CURSESLIB" >&6; }
13840
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses linker flags" >&5
13841
+$as_echo_n "checking for curses linker flags... " >&6; }
13842
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURSESLIB" >&5
13843
+$as_echo "$CURSESLIB" >&6; }
13847
@@ -9009,7 +7356,7 @@
12971
13850
# Check whether --with-testsound was given.