~ubuntu-branches/ubuntu/trusty/xterm/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2010-03-31 12:32:27 UTC
  • mfrom: (1.1.17 upstream) (11.1.17 sid)
  • Revision ID: james.westby@ubuntu.com-20100331123227-8a6qwmyciob6j88y
Tags: 256-1ubuntu1
* Merge from Debian unstable.
* Revert the libutempter change for lucid. (LP: #539473)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2386
2386
                        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
2387
2387
 
2388
2388
                        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
2389
 
                        && test -z "${cf_tst_cflags}" \
2390
 
                        && cf_fix_cppflags=yes
 
2389
                                && test -z "${cf_tst_cflags}" \
 
2390
                                && cf_fix_cppflags=yes
2391
2391
 
2392
2392
                        if test $cf_fix_cppflags = yes ; then
2393
2393
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
2402
2402
                *$cf_add_cflags) #(vi
2403
2403
                        ;;
2404
2404
                *) #(vi
 
2405
                        case $cf_add_cflags in #(vi
 
2406
                        -D*)
 
2407
                                cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 
2408
 
 
2409
CPPFLAGS=`echo "$CPPFLAGS" | \
 
2410
        sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
 
2411
                -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 
2412
 
 
2413
                                ;;
 
2414
                        esac
2405
2415
                        cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
2406
2416
                        ;;
2407
2417
                esac
2417
2427
        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
2418
2428
 
2419
2429
        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
2420
 
        && test -z "${cf_tst_cflags}" \
2421
 
        && cf_fix_cppflags=no
 
2430
                && test -z "${cf_tst_cflags}" \
 
2431
                && cf_fix_cppflags=no
2422
2432
        ;;
2423
2433
esac
2424
2434
done
2439
2449
fi
2440
2450
 
2441
2451
        cat >conftest.$ac_ext <<_ACEOF
2442
 
#line 2442 "configure"
 
2452
#line 2452 "configure"
2443
2453
#include "confdefs.h"
2444
2454
 
2445
2455
#ifndef CC_HAS_PROTOS
2460
2470
}
2461
2471
_ACEOF
2462
2472
rm -f conftest.$ac_objext
2463
 
if { (eval echo "$as_me:2463: \"$ac_compile\"") >&5
 
2473
if { (eval echo "$as_me:2473: \"$ac_compile\"") >&5
2464
2474
  (eval $ac_compile) 2>&5
2465
2475
  ac_status=$?
2466
 
  echo "$as_me:2466: \$? = $ac_status" >&5
 
2476
  echo "$as_me:2476: \$? = $ac_status" >&5
2467
2477
  (exit $ac_status); } &&
2468
2478
         { ac_try='test -s conftest.$ac_objext'
2469
 
  { (eval echo "$as_me:2469: \"$ac_try\"") >&5
 
2479
  { (eval echo "$as_me:2479: \"$ac_try\"") >&5
2470
2480
  (eval $ac_try) 2>&5
2471
2481
  ac_status=$?
2472
 
  echo "$as_me:2472: \$? = $ac_status" >&5
 
2482
  echo "$as_me:2482: \$? = $ac_status" >&5
2473
2483
  (exit $ac_status); }; }; then
2474
2484
  cf_cv_ansi_cc="$cf_arg"; break
2475
2485
else
2482
2492
CPPFLAGS="$cf_save_CPPFLAGS"
2483
2493
 
2484
2494
fi
2485
 
echo "$as_me:2485: result: $cf_cv_ansi_cc" >&5
 
2495
echo "$as_me:2495: result: $cf_cv_ansi_cc" >&5
2486
2496
echo "${ECHO_T}$cf_cv_ansi_cc" >&6
2487
2497
 
2488
2498
if test "$cf_cv_ansi_cc" != "no"; then
2504
2514
                        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
2505
2515
 
2506
2516
                        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
2507
 
                        && test -z "${cf_tst_cflags}" \
2508
 
                        && cf_fix_cppflags=yes
 
2517
                                && test -z "${cf_tst_cflags}" \
 
2518
                                && cf_fix_cppflags=yes
2509
2519
 
2510
2520
                        if test $cf_fix_cppflags = yes ; then
2511
2521
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
2520
2530
                *$cf_add_cflags) #(vi
2521
2531
                        ;;
2522
2532
                *) #(vi
 
2533
                        case $cf_add_cflags in #(vi
 
2534
                        -D*)
 
2535
                                cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 
2536
 
 
2537
CPPFLAGS=`echo "$CPPFLAGS" | \
 
2538
        sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
 
2539
                -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 
2540
 
 
2541
                                ;;
 
2542
                        esac
2523
2543
                        cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
2524
2544
                        ;;
2525
2545
                esac
2535
2555
        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
2536
2556
 
2537
2557
        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
2538
 
        && test -z "${cf_tst_cflags}" \
2539
 
        && cf_fix_cppflags=no
 
2558
                && test -z "${cf_tst_cflags}" \
 
2559
                && cf_fix_cppflags=no
2540
2560
        ;;
2541
2561
esac
2542
2562
done
2564
2584
fi
2565
2585
fi
2566
2586
 
2567
 
echo "$as_me:2567: checking for $CC option to accept ANSI C" >&5
 
2587
echo "$as_me:2587: checking for $CC option to accept ANSI C" >&5
2568
2588
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2569
2589
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2570
2590
  echo $ECHO_N "(cached) $ECHO_C" >&6
2572
2592
  ac_cv_prog_cc_stdc=no
2573
2593
ac_save_CC=$CC
2574
2594
cat >conftest.$ac_ext <<_ACEOF
2575
 
#line 2575 "configure"
 
2595
#line 2595 "configure"
2576
2596
#include "confdefs.h"
2577
2597
#include <stdarg.h>
2578
2598
#include <stdio.h>
2621
2641
do
2622
2642
  CC="$ac_save_CC $ac_arg"
2623
2643
  rm -f conftest.$ac_objext
2624
 
if { (eval echo "$as_me:2624: \"$ac_compile\"") >&5
 
2644
if { (eval echo "$as_me:2644: \"$ac_compile\"") >&5
2625
2645
  (eval $ac_compile) 2>&5
2626
2646
  ac_status=$?
2627
 
  echo "$as_me:2627: \$? = $ac_status" >&5
 
2647
  echo "$as_me:2647: \$? = $ac_status" >&5
2628
2648
  (exit $ac_status); } &&
2629
2649
         { ac_try='test -s conftest.$ac_objext'
2630
 
  { (eval echo "$as_me:2630: \"$ac_try\"") >&5
 
2650
  { (eval echo "$as_me:2650: \"$ac_try\"") >&5
2631
2651
  (eval $ac_try) 2>&5
2632
2652
  ac_status=$?
2633
 
  echo "$as_me:2633: \$? = $ac_status" >&5
 
2653
  echo "$as_me:2653: \$? = $ac_status" >&5
2634
2654
  (exit $ac_status); }; }; then
2635
2655
  ac_cv_prog_cc_stdc=$ac_arg
2636
2656
break
2647
2667
 
2648
2668
case "x$ac_cv_prog_cc_stdc" in
2649
2669
  x|xno)
2650
 
    echo "$as_me:2650: result: none needed" >&5
 
2670
    echo "$as_me:2670: result: none needed" >&5
2651
2671
echo "${ECHO_T}none needed" >&6 ;;
2652
2672
  *)
2653
 
    echo "$as_me:2653: result: $ac_cv_prog_cc_stdc" >&5
 
2673
    echo "$as_me:2673: result: $ac_cv_prog_cc_stdc" >&5
2654
2674
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2655
2675
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2656
2676
esac
2657
2677
 
2658
 
echo "$as_me:2658: checking for an ANSI C-conforming const" >&5
 
2678
echo "$as_me:2678: checking for an ANSI C-conforming const" >&5
2659
2679
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2660
2680
if test "${ac_cv_c_const+set}" = set; then
2661
2681
  echo $ECHO_N "(cached) $ECHO_C" >&6
2662
2682
else
2663
2683
  cat >conftest.$ac_ext <<_ACEOF
2664
 
#line 2664 "configure"
 
2684
#line 2684 "configure"
2665
2685
#include "confdefs.h"
2666
2686
 
2667
2687
int
2719
2739
}
2720
2740
_ACEOF
2721
2741
rm -f conftest.$ac_objext
2722
 
if { (eval echo "$as_me:2722: \"$ac_compile\"") >&5
 
2742
if { (eval echo "$as_me:2742: \"$ac_compile\"") >&5
2723
2743
  (eval $ac_compile) 2>&5
2724
2744
  ac_status=$?
2725
 
  echo "$as_me:2725: \$? = $ac_status" >&5
 
2745
  echo "$as_me:2745: \$? = $ac_status" >&5
2726
2746
  (exit $ac_status); } &&
2727
2747
         { ac_try='test -s conftest.$ac_objext'
2728
 
  { (eval echo "$as_me:2728: \"$ac_try\"") >&5
 
2748
  { (eval echo "$as_me:2748: \"$ac_try\"") >&5
2729
2749
  (eval $ac_try) 2>&5
2730
2750
  ac_status=$?
2731
 
  echo "$as_me:2731: \$? = $ac_status" >&5
 
2751
  echo "$as_me:2751: \$? = $ac_status" >&5
2732
2752
  (exit $ac_status); }; }; then
2733
2753
  ac_cv_c_const=yes
2734
2754
else
2738
2758
fi
2739
2759
rm -f conftest.$ac_objext conftest.$ac_ext
2740
2760
fi
2741
 
echo "$as_me:2741: result: $ac_cv_c_const" >&5
 
2761
echo "$as_me:2761: result: $ac_cv_c_const" >&5
2742
2762
echo "${ECHO_T}$ac_cv_c_const" >&6
2743
2763
if test $ac_cv_c_const = no; then
2744
2764
 
2765
2785
#define PROG_EXT "$PROG_EXT"
2766
2786
EOF
2767
2787
 
2768
 
echo "$as_me:2768: checking if $CC -U and -D options work together" >&5
2769
 
echo $ECHO_N "checking if $CC -U and -D options work together... $ECHO_C" >&6
2770
 
if test "${cf_cv_cc_u_d_options+set}" = set; then
2771
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2772
 
else
2773
 
 
2774
 
        cf_save_CPPFLAGS="$CPPFLAGS"
2775
 
        CPPFLAGS="-UU_D_OPTIONS -DU_D_OPTIONS -DD_U_OPTIONS -UD_U_OPTIONS"
2776
 
        cat >conftest.$ac_ext <<_ACEOF
2777
 
#line 2777 "configure"
2778
 
#include "confdefs.h"
2779
 
 
2780
 
int
2781
 
main ()
2782
 
{
2783
 
 
2784
 
#ifndef U_D_OPTIONS
2785
 
make an undefined-error
2786
 
#endif
2787
 
#ifdef  D_U_OPTIONS
2788
 
make a defined-error
2789
 
#endif
2790
 
 
2791
 
  ;
2792
 
  return 0;
2793
 
}
2794
 
_ACEOF
2795
 
rm -f conftest.$ac_objext
2796
 
if { (eval echo "$as_me:2796: \"$ac_compile\"") >&5
2797
 
  (eval $ac_compile) 2>&5
2798
 
  ac_status=$?
2799
 
  echo "$as_me:2799: \$? = $ac_status" >&5
2800
 
  (exit $ac_status); } &&
2801
 
         { ac_try='test -s conftest.$ac_objext'
2802
 
  { (eval echo "$as_me:2802: \"$ac_try\"") >&5
2803
 
  (eval $ac_try) 2>&5
2804
 
  ac_status=$?
2805
 
  echo "$as_me:2805: \$? = $ac_status" >&5
2806
 
  (exit $ac_status); }; }; then
2807
 
 
2808
 
        cf_cv_cc_u_d_options=yes
2809
 
else
2810
 
  echo "$as_me: failed program was:" >&5
2811
 
cat conftest.$ac_ext >&5
2812
 
 
2813
 
        cf_cv_cc_u_d_options=no
2814
 
fi
2815
 
rm -f conftest.$ac_objext conftest.$ac_ext
2816
 
        CPPFLAGS="$cf_save_CPPFLAGS"
2817
 
 
2818
 
fi
2819
 
echo "$as_me:2819: result: $cf_cv_cc_u_d_options" >&5
2820
 
echo "${ECHO_T}$cf_cv_cc_u_d_options" >&6
2821
 
 
2822
2788
cf_XOPEN_SOURCE=500
2823
2789
cf_POSIX_C_SOURCE=199506L
 
2790
cf_xopen_source=
2824
2791
 
2825
2792
case $host_os in #(vi
2826
2793
aix[456]*) #(vi
2827
 
        CPPFLAGS="$CPPFLAGS -D_ALL_SOURCE"
 
2794
        cf_xopen_source="-D_ALL_SOURCE"
 
2795
        ;;
 
2796
darwin[0-8].*) #(vi
 
2797
        cf_xopen_source="-D_APPLE_C_SOURCE"
 
2798
        ;;
 
2799
darwin*) #(vi
 
2800
        cf_xopen_source="-D_DARWIN_C_SOURCE"
2828
2801
        ;;
2829
2802
freebsd*|dragonfly*) #(vi
2830
2803
        # 5.x headers associate
2832
2805
        #       _XOPEN_SOURCE=500 with _POSIX_C_SOURCE=199506L
2833
2806
        cf_POSIX_C_SOURCE=200112L
2834
2807
        cf_XOPEN_SOURCE=600
2835
 
        CPPFLAGS="$CPPFLAGS -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
 
2808
        cf_xopen_source="-D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
 
2809
        ;;
 
2810
hpux11*) #(vi
 
2811
        cf_xopen_source="-D_HPUX_SOURCE -D_XOPEN_SOURCE=500"
2836
2812
        ;;
2837
2813
hpux*) #(vi
2838
 
        CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE"
 
2814
        cf_xopen_source="-D_HPUX_SOURCE"
2839
2815
        ;;
2840
2816
irix[56].*) #(vi
2841
 
        CPPFLAGS="$CPPFLAGS -D_SGI_SOURCE"
 
2817
        cf_xopen_source="-D_SGI_SOURCE"
2842
2818
        ;;
2843
2819
linux*|gnu*|mint*|k*bsd*-gnu) #(vi
2844
2820
 
2845
 
echo "$as_me:2845: checking if we must define _GNU_SOURCE" >&5
 
2821
echo "$as_me:2821: checking if we must define _GNU_SOURCE" >&5
2846
2822
echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6
2847
2823
if test "${cf_cv_gnu_source+set}" = set; then
2848
2824
  echo $ECHO_N "(cached) $ECHO_C" >&6
2849
2825
else
2850
2826
 
2851
2827
cat >conftest.$ac_ext <<_ACEOF
2852
 
#line 2852 "configure"
 
2828
#line 2828 "configure"
2853
2829
#include "confdefs.h"
2854
2830
#include <sys/types.h>
2855
2831
int
2864
2840
}
2865
2841
_ACEOF
2866
2842
rm -f conftest.$ac_objext
2867
 
if { (eval echo "$as_me:2867: \"$ac_compile\"") >&5
 
2843
if { (eval echo "$as_me:2843: \"$ac_compile\"") >&5
2868
2844
  (eval $ac_compile) 2>&5
2869
2845
  ac_status=$?
2870
 
  echo "$as_me:2870: \$? = $ac_status" >&5
 
2846
  echo "$as_me:2846: \$? = $ac_status" >&5
2871
2847
  (exit $ac_status); } &&
2872
2848
         { ac_try='test -s conftest.$ac_objext'
2873
 
  { (eval echo "$as_me:2873: \"$ac_try\"") >&5
 
2849
  { (eval echo "$as_me:2849: \"$ac_try\"") >&5
2874
2850
  (eval $ac_try) 2>&5
2875
2851
  ac_status=$?
2876
 
  echo "$as_me:2876: \$? = $ac_status" >&5
 
2852
  echo "$as_me:2852: \$? = $ac_status" >&5
2877
2853
  (exit $ac_status); }; }; then
2878
2854
  cf_cv_gnu_source=no
2879
2855
else
2882
2858
cf_save="$CPPFLAGS"
2883
2859
         CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
2884
2860
         cat >conftest.$ac_ext <<_ACEOF
2885
 
#line 2885 "configure"
 
2861
#line 2861 "configure"
2886
2862
#include "confdefs.h"
2887
2863
#include <sys/types.h>
2888
2864
int
2897
2873
}
2898
2874
_ACEOF
2899
2875
rm -f conftest.$ac_objext
2900
 
if { (eval echo "$as_me:2900: \"$ac_compile\"") >&5
 
2876
if { (eval echo "$as_me:2876: \"$ac_compile\"") >&5
2901
2877
  (eval $ac_compile) 2>&5
2902
2878
  ac_status=$?
2903
 
  echo "$as_me:2903: \$? = $ac_status" >&5
 
2879
  echo "$as_me:2879: \$? = $ac_status" >&5
2904
2880
  (exit $ac_status); } &&
2905
2881
         { ac_try='test -s conftest.$ac_objext'
2906
 
  { (eval echo "$as_me:2906: \"$ac_try\"") >&5
 
2882
  { (eval echo "$as_me:2882: \"$ac_try\"") >&5
2907
2883
  (eval $ac_try) 2>&5
2908
2884
  ac_status=$?
2909
 
  echo "$as_me:2909: \$? = $ac_status" >&5
 
2885
  echo "$as_me:2885: \$? = $ac_status" >&5
2910
2886
  (exit $ac_status); }; }; then
2911
2887
  cf_cv_gnu_source=no
2912
2888
else
2921
2897
rm -f conftest.$ac_objext conftest.$ac_ext
2922
2898
 
2923
2899
fi
2924
 
echo "$as_me:2924: result: $cf_cv_gnu_source" >&5
 
2900
echo "$as_me:2900: result: $cf_cv_gnu_source" >&5
2925
2901
echo "${ECHO_T}$cf_cv_gnu_source" >&6
2926
2902
test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
2927
2903
 
2936
2912
        # setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw
2937
2913
        ;;
2938
2914
osf[45]*) #(vi
2939
 
        CPPFLAGS="$CPPFLAGS -D_OSF_SOURCE"
 
2915
        cf_xopen_source="-D_OSF_SOURCE"
2940
2916
        ;;
2941
2917
nto-qnx*) #(vi
2942
 
        CPPFLAGS="$CPPFLAGS -D_QNX_SOURCE"
 
2918
        cf_xopen_source="-D_QNX_SOURCE"
2943
2919
        ;;
2944
2920
sco*) #(vi
2945
2921
        # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
2946
2922
        ;;
2947
2923
solaris*) #(vi
2948
 
        CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
 
2924
        cf_xopen_source="-D__EXTENSIONS__"
2949
2925
        ;;
2950
2926
*)
2951
 
        echo "$as_me:2951: checking if we should define _XOPEN_SOURCE" >&5
 
2927
        echo "$as_me:2927: checking if we should define _XOPEN_SOURCE" >&5
2952
2928
echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
2953
2929
if test "${cf_cv_xopen_source+set}" = set; then
2954
2930
  echo $ECHO_N "(cached) $ECHO_C" >&6
2955
2931
else
2956
2932
 
2957
2933
        cat >conftest.$ac_ext <<_ACEOF
2958
 
#line 2958 "configure"
 
2934
#line 2934 "configure"
2959
2935
#include "confdefs.h"
2960
2936
#include <sys/types.h>
2961
2937
int
2970
2946
}
2971
2947
_ACEOF
2972
2948
rm -f conftest.$ac_objext
2973
 
if { (eval echo "$as_me:2973: \"$ac_compile\"") >&5
 
2949
if { (eval echo "$as_me:2949: \"$ac_compile\"") >&5
2974
2950
  (eval $ac_compile) 2>&5
2975
2951
  ac_status=$?
2976
 
  echo "$as_me:2976: \$? = $ac_status" >&5
 
2952
  echo "$as_me:2952: \$? = $ac_status" >&5
2977
2953
  (exit $ac_status); } &&
2978
2954
         { ac_try='test -s conftest.$ac_objext'
2979
 
  { (eval echo "$as_me:2979: \"$ac_try\"") >&5
 
2955
  { (eval echo "$as_me:2955: \"$ac_try\"") >&5
2980
2956
  (eval $ac_try) 2>&5
2981
2957
  ac_status=$?
2982
 
  echo "$as_me:2982: \$? = $ac_status" >&5
 
2958
  echo "$as_me:2958: \$? = $ac_status" >&5
2983
2959
  (exit $ac_status); }; }; then
2984
2960
  cf_cv_xopen_source=no
2985
2961
else
2988
2964
cf_save="$CPPFLAGS"
2989
2965
         CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
2990
2966
         cat >conftest.$ac_ext <<_ACEOF
2991
 
#line 2991 "configure"
 
2967
#line 2967 "configure"
2992
2968
#include "confdefs.h"
2993
2969
#include <sys/types.h>
2994
2970
int
3003
2979
}
3004
2980
_ACEOF
3005
2981
rm -f conftest.$ac_objext
3006
 
if { (eval echo "$as_me:3006: \"$ac_compile\"") >&5
 
2982
if { (eval echo "$as_me:2982: \"$ac_compile\"") >&5
3007
2983
  (eval $ac_compile) 2>&5
3008
2984
  ac_status=$?
3009
 
  echo "$as_me:3009: \$? = $ac_status" >&5
 
2985
  echo "$as_me:2985: \$? = $ac_status" >&5
3010
2986
  (exit $ac_status); } &&
3011
2987
         { ac_try='test -s conftest.$ac_objext'
3012
 
  { (eval echo "$as_me:3012: \"$ac_try\"") >&5
 
2988
  { (eval echo "$as_me:2988: \"$ac_try\"") >&5
3013
2989
  (eval $ac_try) 2>&5
3014
2990
  ac_status=$?
3015
 
  echo "$as_me:3015: \$? = $ac_status" >&5
 
2991
  echo "$as_me:2991: \$? = $ac_status" >&5
3016
2992
  (exit $ac_status); }; }; then
3017
2993
  cf_cv_xopen_source=no
3018
2994
else
3027
3003
rm -f conftest.$ac_objext conftest.$ac_ext
3028
3004
 
3029
3005
fi
3030
 
echo "$as_me:3030: result: $cf_cv_xopen_source" >&5
 
3006
echo "$as_me:3006: result: $cf_cv_xopen_source" >&5
3031
3007
echo "${ECHO_T}$cf_cv_xopen_source" >&6
3032
3008
        if test "$cf_cv_xopen_source" != no ; then
3033
3009
 
3034
 
# remove _XOPEN_SOURCE symbol from $CFLAGS
3035
3010
CFLAGS=`echo "$CFLAGS" | \
3036
 
        sed     -e 's/-[UD]_XOPEN_SOURCE\(=[^   ]*\)\?[         ]/ /g' \
3037
 
                -e 's/-[UD]_XOPEN_SOURCE\(=[^   ]*\)\?$//g'`
3038
 
 
3039
 
# remove _XOPEN_SOURCE symbol from $CPPFLAGS
3040
 
CPPFLAGS=`echo "$CPPFLAGS" | \
3041
 
        sed     -e 's/-[UD]_XOPEN_SOURCE\(=[^   ]*\)\?[         ]/ /g' \
3042
 
                -e 's/-[UD]_XOPEN_SOURCE\(=[^   ]*\)\?$//g'`
3043
 
 
3044
 
                test "$cf_cv_cc_u_d_options" = yes && \
3045
 
                        CPPFLAGS="$CPPFLAGS -U_XOPEN_SOURCE"
3046
 
                CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_cv_xopen_source"
 
3011
        sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
 
3012
                -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
 
3013
 
 
3014
CPPFLAGS=`echo "$CPPFLAGS" | \
 
3015
        sed     -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?[         ]/ /g' \
 
3016
                -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^       ]*\)\?$//g'`
 
3017
 
 
3018
                cf_temp_xopen_source="-D_XOPEN_SOURCE=$cf_cv_xopen_source"
 
3019
 
 
3020
cf_fix_cppflags=no
 
3021
cf_new_cflags=
 
3022
cf_new_cppflags=
 
3023
cf_new_extra_cppflags=
 
3024
 
 
3025
for cf_add_cflags in $cf_temp_xopen_source
 
3026
do
 
3027
case $cf_fix_cppflags in
 
3028
no)
 
3029
        case $cf_add_cflags in #(vi
 
3030
        -undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
 
3031
                case $cf_add_cflags in
 
3032
                -D*)
 
3033
                        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
 
3034
 
 
3035
                        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
 
3036
                                && test -z "${cf_tst_cflags}" \
 
3037
                                && cf_fix_cppflags=yes
 
3038
 
 
3039
                        if test $cf_fix_cppflags = yes ; then
 
3040
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
 
3041
                                continue
 
3042
                        elif test "${cf_tst_cflags}" = "\"'" ; then
 
3043
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
 
3044
                                continue
 
3045
                        fi
 
3046
                        ;;
 
3047
                esac
 
3048
                case "$CPPFLAGS" in
 
3049
                *$cf_add_cflags) #(vi
 
3050
                        ;;
 
3051
                *) #(vi
 
3052
                        case $cf_add_cflags in #(vi
 
3053
                        -D*)
 
3054
                                cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 
3055
 
 
3056
CPPFLAGS=`echo "$CPPFLAGS" | \
 
3057
        sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
 
3058
                -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 
3059
 
 
3060
                                ;;
 
3061
                        esac
 
3062
                        cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
 
3063
                        ;;
 
3064
                esac
 
3065
                ;;
 
3066
        *)
 
3067
                cf_new_cflags="$cf_new_cflags $cf_add_cflags"
 
3068
                ;;
 
3069
        esac
 
3070
        ;;
 
3071
yes)
 
3072
        cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
 
3073
 
 
3074
        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
 
3075
 
 
3076
        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
 
3077
                && test -z "${cf_tst_cflags}" \
 
3078
                && cf_fix_cppflags=no
 
3079
        ;;
 
3080
esac
 
3081
done
 
3082
 
 
3083
if test -n "$cf_new_cflags" ; then
 
3084
 
 
3085
        CFLAGS="$CFLAGS $cf_new_cflags"
 
3086
fi
 
3087
 
 
3088
if test -n "$cf_new_cppflags" ; then
 
3089
 
 
3090
        CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
 
3091
fi
 
3092
 
 
3093
if test -n "$cf_new_extra_cppflags" ; then
 
3094
 
 
3095
        EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
 
3096
fi
 
3097
 
3047
3098
        fi
3048
3099
 
3049
3100
cf_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE
3051
3102
cf_save_CFLAGS="$CFLAGS"
3052
3103
cf_save_CPPFLAGS="$CPPFLAGS"
3053
3104
 
3054
 
# remove _POSIX_C_SOURCE symbol from $cf_save_CFLAGS
3055
3105
cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \
3056
 
        sed     -e 's/-[UD]_POSIX_C_SOURCE\(=[^         ]*\)\?[         ]/ /g' \
3057
 
                -e 's/-[UD]_POSIX_C_SOURCE\(=[^         ]*\)\?$//g'`
 
3106
        sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
 
3107
                -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
3058
3108
 
3059
 
# remove _POSIX_C_SOURCE symbol from $cf_save_CPPFLAGS
3060
3109
cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
3061
 
        sed     -e 's/-[UD]_POSIX_C_SOURCE\(=[^         ]*\)\?[         ]/ /g' \
3062
 
                -e 's/-[UD]_POSIX_C_SOURCE\(=[^         ]*\)\?$//g'`
 
3110
        sed     -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?[         ]/ /g' \
 
3111
                -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^     ]*\)\?$//g'`
3063
3112
 
3064
 
echo "$as_me:3064: checking if we should define _POSIX_C_SOURCE" >&5
 
3113
echo "$as_me:3113: checking if we should define _POSIX_C_SOURCE" >&5
3065
3114
echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
3066
3115
if test "${cf_cv_posix_c_source+set}" = set; then
3067
3116
  echo $ECHO_N "(cached) $ECHO_C" >&6
3068
3117
else
3069
3118
 
3070
 
echo "${as_me-configure}:3070: testing if the symbol is already defined go no further ..." 1>&5
 
3119
echo "${as_me-configure}:3119: testing if the symbol is already defined go no further ..." 1>&5
3071
3120
 
3072
3121
        cat >conftest.$ac_ext <<_ACEOF
3073
 
#line 3073 "configure"
 
3122
#line 3122 "configure"
3074
3123
#include "confdefs.h"
3075
3124
#include <sys/types.h>
3076
3125
int
3085
3134
}
3086
3135
_ACEOF
3087
3136
rm -f conftest.$ac_objext
3088
 
if { (eval echo "$as_me:3088: \"$ac_compile\"") >&5
 
3137
if { (eval echo "$as_me:3137: \"$ac_compile\"") >&5
3089
3138
  (eval $ac_compile) 2>&5
3090
3139
  ac_status=$?
3091
 
  echo "$as_me:3091: \$? = $ac_status" >&5
 
3140
  echo "$as_me:3140: \$? = $ac_status" >&5
3092
3141
  (exit $ac_status); } &&
3093
3142
         { ac_try='test -s conftest.$ac_objext'
3094
 
  { (eval echo "$as_me:3094: \"$ac_try\"") >&5
 
3143
  { (eval echo "$as_me:3143: \"$ac_try\"") >&5
3095
3144
  (eval $ac_try) 2>&5
3096
3145
  ac_status=$?
3097
 
  echo "$as_me:3097: \$? = $ac_status" >&5
 
3146
  echo "$as_me:3146: \$? = $ac_status" >&5
3098
3147
  (exit $ac_status); }; }; then
3099
3148
  cf_cv_posix_c_source=no
3100
3149
else
3115
3164
         esac
3116
3165
         if test "$cf_want_posix_source" = yes ; then
3117
3166
                cat >conftest.$ac_ext <<_ACEOF
3118
 
#line 3118 "configure"
 
3167
#line 3167 "configure"
3119
3168
#include "confdefs.h"
3120
3169
#include <sys/types.h>
3121
3170
int
3130
3179
}
3131
3180
_ACEOF
3132
3181
rm -f conftest.$ac_objext
3133
 
if { (eval echo "$as_me:3133: \"$ac_compile\"") >&5
 
3182
if { (eval echo "$as_me:3182: \"$ac_compile\"") >&5
3134
3183
  (eval $ac_compile) 2>&5
3135
3184
  ac_status=$?
3136
 
  echo "$as_me:3136: \$? = $ac_status" >&5
 
3185
  echo "$as_me:3185: \$? = $ac_status" >&5
3137
3186
  (exit $ac_status); } &&
3138
3187
         { ac_try='test -s conftest.$ac_objext'
3139
 
  { (eval echo "$as_me:3139: \"$ac_try\"") >&5
 
3188
  { (eval echo "$as_me:3188: \"$ac_try\"") >&5
3140
3189
  (eval $ac_try) 2>&5
3141
3190
  ac_status=$?
3142
 
  echo "$as_me:3142: \$? = $ac_status" >&5
 
3191
  echo "$as_me:3191: \$? = $ac_status" >&5
3143
3192
  (exit $ac_status); }; }; then
3144
3193
  :
3145
3194
else
3150
3199
rm -f conftest.$ac_objext conftest.$ac_ext
3151
3200
         fi
3152
3201
 
3153
 
echo "${as_me-configure}:3153: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
 
3202
echo "${as_me-configure}:3202: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
3154
3203
 
3155
3204
         CFLAGS="$cf_trim_CFLAGS"
3156
3205
         CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source"
3157
3206
 
3158
 
echo "${as_me-configure}:3158: testing if the second compile does not leave our definition intact error ..." 1>&5
 
3207
echo "${as_me-configure}:3207: testing if the second compile does not leave our definition intact error ..." 1>&5
3159
3208
 
3160
3209
         cat >conftest.$ac_ext <<_ACEOF
3161
 
#line 3161 "configure"
 
3210
#line 3210 "configure"
3162
3211
#include "confdefs.h"
3163
3212
#include <sys/types.h>
3164
3213
int
3173
3222
}
3174
3223
_ACEOF
3175
3224
rm -f conftest.$ac_objext
3176
 
if { (eval echo "$as_me:3176: \"$ac_compile\"") >&5
 
3225
if { (eval echo "$as_me:3225: \"$ac_compile\"") >&5
3177
3226
  (eval $ac_compile) 2>&5
3178
3227
  ac_status=$?
3179
 
  echo "$as_me:3179: \$? = $ac_status" >&5
 
3228
  echo "$as_me:3228: \$? = $ac_status" >&5
3180
3229
  (exit $ac_status); } &&
3181
3230
         { ac_try='test -s conftest.$ac_objext'
3182
 
  { (eval echo "$as_me:3182: \"$ac_try\"") >&5
 
3231
  { (eval echo "$as_me:3231: \"$ac_try\"") >&5
3183
3232
  (eval $ac_try) 2>&5
3184
3233
  ac_status=$?
3185
 
  echo "$as_me:3185: \$? = $ac_status" >&5
 
3234
  echo "$as_me:3234: \$? = $ac_status" >&5
3186
3235
  (exit $ac_status); }; }; then
3187
3236
  :
3188
3237
else
3198
3247
rm -f conftest.$ac_objext conftest.$ac_ext
3199
3248
 
3200
3249
fi
3201
 
echo "$as_me:3201: result: $cf_cv_posix_c_source" >&5
 
3250
echo "$as_me:3250: result: $cf_cv_posix_c_source" >&5
3202
3251
echo "${ECHO_T}$cf_cv_posix_c_source" >&6
3203
3252
 
3204
3253
if test "$cf_cv_posix_c_source" != no ; then
3205
3254
        CFLAGS="$cf_trim_CFLAGS"
3206
3255
        CPPFLAGS="$cf_trim_CPPFLAGS"
3207
 
        if test "$cf_cv_cc_u_d_options" = yes ; then
3208
 
                cf_temp_posix_c_source=`echo "$cf_cv_posix_c_source" | \
3209
 
                                sed -e 's/-D/-U/g' -e 's/=[^    ]*//g'`
3210
 
                CPPFLAGS="$CPPFLAGS $cf_temp_posix_c_source"
3211
 
        fi
3212
 
        CPPFLAGS="$CPPFLAGS $cf_cv_posix_c_source"
3213
 
fi
3214
 
 
3215
 
        ;;
3216
 
esac
3217
 
 
3218
 
echo "$as_me:3218: checking if SIGWINCH is defined" >&5
 
3256
 
 
3257
cf_fix_cppflags=no
 
3258
cf_new_cflags=
 
3259
cf_new_cppflags=
 
3260
cf_new_extra_cppflags=
 
3261
 
 
3262
for cf_add_cflags in $cf_cv_posix_c_source
 
3263
do
 
3264
case $cf_fix_cppflags in
 
3265
no)
 
3266
        case $cf_add_cflags in #(vi
 
3267
        -undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
 
3268
                case $cf_add_cflags in
 
3269
                -D*)
 
3270
                        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
 
3271
 
 
3272
                        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
 
3273
                                && test -z "${cf_tst_cflags}" \
 
3274
                                && cf_fix_cppflags=yes
 
3275
 
 
3276
                        if test $cf_fix_cppflags = yes ; then
 
3277
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
 
3278
                                continue
 
3279
                        elif test "${cf_tst_cflags}" = "\"'" ; then
 
3280
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
 
3281
                                continue
 
3282
                        fi
 
3283
                        ;;
 
3284
                esac
 
3285
                case "$CPPFLAGS" in
 
3286
                *$cf_add_cflags) #(vi
 
3287
                        ;;
 
3288
                *) #(vi
 
3289
                        case $cf_add_cflags in #(vi
 
3290
                        -D*)
 
3291
                                cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 
3292
 
 
3293
CPPFLAGS=`echo "$CPPFLAGS" | \
 
3294
        sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
 
3295
                -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 
3296
 
 
3297
                                ;;
 
3298
                        esac
 
3299
                        cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
 
3300
                        ;;
 
3301
                esac
 
3302
                ;;
 
3303
        *)
 
3304
                cf_new_cflags="$cf_new_cflags $cf_add_cflags"
 
3305
                ;;
 
3306
        esac
 
3307
        ;;
 
3308
yes)
 
3309
        cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
 
3310
 
 
3311
        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
 
3312
 
 
3313
        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
 
3314
                && test -z "${cf_tst_cflags}" \
 
3315
                && cf_fix_cppflags=no
 
3316
        ;;
 
3317
esac
 
3318
done
 
3319
 
 
3320
if test -n "$cf_new_cflags" ; then
 
3321
 
 
3322
        CFLAGS="$CFLAGS $cf_new_cflags"
 
3323
fi
 
3324
 
 
3325
if test -n "$cf_new_cppflags" ; then
 
3326
 
 
3327
        CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
 
3328
fi
 
3329
 
 
3330
if test -n "$cf_new_extra_cppflags" ; then
 
3331
 
 
3332
        EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
 
3333
fi
 
3334
 
 
3335
fi
 
3336
 
 
3337
        ;;
 
3338
esac
 
3339
 
 
3340
if test -n "$cf_xopen_source" ; then
 
3341
 
 
3342
cf_fix_cppflags=no
 
3343
cf_new_cflags=
 
3344
cf_new_cppflags=
 
3345
cf_new_extra_cppflags=
 
3346
 
 
3347
for cf_add_cflags in $cf_xopen_source
 
3348
do
 
3349
case $cf_fix_cppflags in
 
3350
no)
 
3351
        case $cf_add_cflags in #(vi
 
3352
        -undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
 
3353
                case $cf_add_cflags in
 
3354
                -D*)
 
3355
                        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
 
3356
 
 
3357
                        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
 
3358
                                && test -z "${cf_tst_cflags}" \
 
3359
                                && cf_fix_cppflags=yes
 
3360
 
 
3361
                        if test $cf_fix_cppflags = yes ; then
 
3362
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
 
3363
                                continue
 
3364
                        elif test "${cf_tst_cflags}" = "\"'" ; then
 
3365
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
 
3366
                                continue
 
3367
                        fi
 
3368
                        ;;
 
3369
                esac
 
3370
                case "$CPPFLAGS" in
 
3371
                *$cf_add_cflags) #(vi
 
3372
                        ;;
 
3373
                *) #(vi
 
3374
                        case $cf_add_cflags in #(vi
 
3375
                        -D*)
 
3376
                                cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 
3377
 
 
3378
CPPFLAGS=`echo "$CPPFLAGS" | \
 
3379
        sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
 
3380
                -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 
3381
 
 
3382
                                ;;
 
3383
                        esac
 
3384
                        cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
 
3385
                        ;;
 
3386
                esac
 
3387
                ;;
 
3388
        *)
 
3389
                cf_new_cflags="$cf_new_cflags $cf_add_cflags"
 
3390
                ;;
 
3391
        esac
 
3392
        ;;
 
3393
yes)
 
3394
        cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
 
3395
 
 
3396
        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
 
3397
 
 
3398
        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
 
3399
                && test -z "${cf_tst_cflags}" \
 
3400
                && cf_fix_cppflags=no
 
3401
        ;;
 
3402
esac
 
3403
done
 
3404
 
 
3405
if test -n "$cf_new_cflags" ; then
 
3406
 
 
3407
        CFLAGS="$CFLAGS $cf_new_cflags"
 
3408
fi
 
3409
 
 
3410
if test -n "$cf_new_cppflags" ; then
 
3411
 
 
3412
        CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
 
3413
fi
 
3414
 
 
3415
if test -n "$cf_new_extra_cppflags" ; then
 
3416
 
 
3417
        EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
 
3418
fi
 
3419
 
 
3420
fi
 
3421
 
 
3422
echo "$as_me:3422: checking if SIGWINCH is defined" >&5
3219
3423
echo $ECHO_N "checking if SIGWINCH is defined... $ECHO_C" >&6
3220
3424
if test "${cf_cv_define_sigwinch+set}" = set; then
3221
3425
  echo $ECHO_N "(cached) $ECHO_C" >&6
3222
3426
else
3223
3427
 
3224
3428
        cat >conftest.$ac_ext <<_ACEOF
3225
 
#line 3225 "configure"
 
3429
#line 3429 "configure"
3226
3430
#include "confdefs.h"
3227
3431
 
3228
3432
#include <sys/types.h>
3237
3441
}
3238
3442
_ACEOF
3239
3443
rm -f conftest.$ac_objext
3240
 
if { (eval echo "$as_me:3240: \"$ac_compile\"") >&5
 
3444
if { (eval echo "$as_me:3444: \"$ac_compile\"") >&5
3241
3445
  (eval $ac_compile) 2>&5
3242
3446
  ac_status=$?
3243
 
  echo "$as_me:3243: \$? = $ac_status" >&5
 
3447
  echo "$as_me:3447: \$? = $ac_status" >&5
3244
3448
  (exit $ac_status); } &&
3245
3449
         { ac_try='test -s conftest.$ac_objext'
3246
 
  { (eval echo "$as_me:3246: \"$ac_try\"") >&5
 
3450
  { (eval echo "$as_me:3450: \"$ac_try\"") >&5
3247
3451
  (eval $ac_try) 2>&5
3248
3452
  ac_status=$?
3249
 
  echo "$as_me:3249: \$? = $ac_status" >&5
 
3453
  echo "$as_me:3453: \$? = $ac_status" >&5
3250
3454
  (exit $ac_status); }; }; then
3251
3455
  cf_cv_define_sigwinch=yes
3252
3456
else
3253
3457
  echo "$as_me: failed program was:" >&5
3254
3458
cat conftest.$ac_ext >&5
3255
3459
cat >conftest.$ac_ext <<_ACEOF
3256
 
#line 3256 "configure"
 
3460
#line 3460 "configure"
3257
3461
#include "confdefs.h"
3258
3462
 
3259
3463
#undef _XOPEN_SOURCE
3271
3475
}
3272
3476
_ACEOF
3273
3477
rm -f conftest.$ac_objext
3274
 
if { (eval echo "$as_me:3274: \"$ac_compile\"") >&5
 
3478
if { (eval echo "$as_me:3478: \"$ac_compile\"") >&5
3275
3479
  (eval $ac_compile) 2>&5
3276
3480
  ac_status=$?
3277
 
  echo "$as_me:3277: \$? = $ac_status" >&5
 
3481
  echo "$as_me:3481: \$? = $ac_status" >&5
3278
3482
  (exit $ac_status); } &&
3279
3483
         { ac_try='test -s conftest.$ac_objext'
3280
 
  { (eval echo "$as_me:3280: \"$ac_try\"") >&5
 
3484
  { (eval echo "$as_me:3484: \"$ac_try\"") >&5
3281
3485
  (eval $ac_try) 2>&5
3282
3486
  ac_status=$?
3283
 
  echo "$as_me:3283: \$? = $ac_status" >&5
 
3487
  echo "$as_me:3487: \$? = $ac_status" >&5
3284
3488
  (exit $ac_status); }; }; then
3285
3489
  cf_cv_define_sigwinch=maybe
3286
3490
else
3294
3498
rm -f conftest.$ac_objext conftest.$ac_ext
3295
3499
 
3296
3500
fi
3297
 
echo "$as_me:3297: result: $cf_cv_define_sigwinch" >&5
 
3501
echo "$as_me:3501: result: $cf_cv_define_sigwinch" >&5
3298
3502
echo "${ECHO_T}$cf_cv_define_sigwinch" >&6
3299
3503
 
3300
3504
if test "$cf_cv_define_sigwinch" = maybe ; then
3301
 
echo "$as_me:3301: checking for actual SIGWINCH definition" >&5
 
3505
echo "$as_me:3505: checking for actual SIGWINCH definition" >&5
3302
3506
echo $ECHO_N "checking for actual SIGWINCH definition... $ECHO_C" >&6
3303
3507
if test "${cf_cv_fixup_sigwinch+set}" = set; then
3304
3508
  echo $ECHO_N "(cached) $ECHO_C" >&6
3309
3513
while test $cf_sigwinch != 1
3310
3514
do
3311
3515
        cat >conftest.$ac_ext <<_ACEOF
3312
 
#line 3312 "configure"
 
3516
#line 3516 "configure"
3313
3517
#include "confdefs.h"
3314
3518
 
3315
3519
#undef _XOPEN_SOURCE
3331
3535
}
3332
3536
_ACEOF
3333
3537
rm -f conftest.$ac_objext
3334
 
if { (eval echo "$as_me:3334: \"$ac_compile\"") >&5
 
3538
if { (eval echo "$as_me:3538: \"$ac_compile\"") >&5
3335
3539
  (eval $ac_compile) 2>&5
3336
3540
  ac_status=$?
3337
 
  echo "$as_me:3337: \$? = $ac_status" >&5
 
3541
  echo "$as_me:3541: \$? = $ac_status" >&5
3338
3542
  (exit $ac_status); } &&
3339
3543
         { ac_try='test -s conftest.$ac_objext'
3340
 
  { (eval echo "$as_me:3340: \"$ac_try\"") >&5
 
3544
  { (eval echo "$as_me:3544: \"$ac_try\"") >&5
3341
3545
  (eval $ac_try) 2>&5
3342
3546
  ac_status=$?
3343
 
  echo "$as_me:3343: \$? = $ac_status" >&5
 
3547
  echo "$as_me:3547: \$? = $ac_status" >&5
3344
3548
  (exit $ac_status); }; }; then
3345
3549
  cf_cv_fixup_sigwinch=$cf_sigwinch
3346
3550
         break
3354
3558
done
3355
3559
 
3356
3560
fi
3357
 
echo "$as_me:3357: result: $cf_cv_fixup_sigwinch" >&5
 
3561
echo "$as_me:3561: result: $cf_cv_fixup_sigwinch" >&5
3358
3562
echo "${ECHO_T}$cf_cv_fixup_sigwinch" >&6
3359
3563
 
3360
3564
        if test "$cf_cv_fixup_sigwinch" != unknown ; then
3375
3579
 
3376
3580
do
3377
3581
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3378
 
echo "$as_me:3378: checking for $ac_header" >&5
 
3582
echo "$as_me:3582: checking for $ac_header" >&5
3379
3583
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3380
3584
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3381
3585
  echo $ECHO_N "(cached) $ECHO_C" >&6
3382
3586
else
3383
3587
  cat >conftest.$ac_ext <<_ACEOF
3384
 
#line 3384 "configure"
 
3588
#line 3588 "configure"
3385
3589
#include "confdefs.h"
3386
3590
#include <$ac_header>
3387
3591
_ACEOF
3388
 
if { (eval echo "$as_me:3388: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3592
if { (eval echo "$as_me:3592: \"$ac_cpp conftest.$ac_ext\"") >&5
3389
3593
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3390
3594
  ac_status=$?
3391
3595
  egrep -v '^ *\+' conftest.er1 >conftest.err
3392
3596
  rm -f conftest.er1
3393
3597
  cat conftest.err >&5
3394
 
  echo "$as_me:3394: \$? = $ac_status" >&5
 
3598
  echo "$as_me:3598: \$? = $ac_status" >&5
3395
3599
  (exit $ac_status); } >/dev/null; then
3396
3600
  if test -s conftest.err; then
3397
3601
    ac_cpp_err=$ac_c_preproc_warn_flag
3410
3614
fi
3411
3615
rm -f conftest.err conftest.$ac_ext
3412
3616
fi
3413
 
echo "$as_me:3413: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
3617
echo "$as_me:3617: result: `eval echo '${'$as_ac_Header'}'`" >&5
3414
3618
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3415
3619
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3416
3620
  cat >>confdefs.h <<EOF
3420
3624
fi
3421
3625
done
3422
3626
 
3423
 
echo "$as_me:3423: checking whether time.h and sys/time.h may both be included" >&5
 
3627
echo "$as_me:3627: checking whether time.h and sys/time.h may both be included" >&5
3424
3628
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3425
3629
if test "${ac_cv_header_time+set}" = set; then
3426
3630
  echo $ECHO_N "(cached) $ECHO_C" >&6
3427
3631
else
3428
3632
  cat >conftest.$ac_ext <<_ACEOF
3429
 
#line 3429 "configure"
 
3633
#line 3633 "configure"
3430
3634
#include "confdefs.h"
3431
3635
#include <sys/types.h>
3432
3636
#include <sys/time.h>
3442
3646
}
3443
3647
_ACEOF
3444
3648
rm -f conftest.$ac_objext
3445
 
if { (eval echo "$as_me:3445: \"$ac_compile\"") >&5
 
3649
if { (eval echo "$as_me:3649: \"$ac_compile\"") >&5
3446
3650
  (eval $ac_compile) 2>&5
3447
3651
  ac_status=$?
3448
 
  echo "$as_me:3448: \$? = $ac_status" >&5
 
3652
  echo "$as_me:3652: \$? = $ac_status" >&5
3449
3653
  (exit $ac_status); } &&
3450
3654
         { ac_try='test -s conftest.$ac_objext'
3451
 
  { (eval echo "$as_me:3451: \"$ac_try\"") >&5
 
3655
  { (eval echo "$as_me:3655: \"$ac_try\"") >&5
3452
3656
  (eval $ac_try) 2>&5
3453
3657
  ac_status=$?
3454
 
  echo "$as_me:3454: \$? = $ac_status" >&5
 
3658
  echo "$as_me:3658: \$? = $ac_status" >&5
3455
3659
  (exit $ac_status); }; }; then
3456
3660
  ac_cv_header_time=yes
3457
3661
else
3461
3665
fi
3462
3666
rm -f conftest.$ac_objext conftest.$ac_ext
3463
3667
fi
3464
 
echo "$as_me:3464: result: $ac_cv_header_time" >&5
 
3668
echo "$as_me:3668: result: $ac_cv_header_time" >&5
3465
3669
echo "${ECHO_T}$ac_cv_header_time" >&6
3466
3670
if test $ac_cv_header_time = yes; then
3467
3671
 
3471
3675
 
3472
3676
fi
3473
3677
 
3474
 
  echo "$as_me:3474: checking for nl_langinfo and CODESET" >&5
 
3678
  echo "$as_me:3678: checking for nl_langinfo and CODESET" >&5
3475
3679
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
3476
3680
if test "${am_cv_langinfo_codeset+set}" = set; then
3477
3681
  echo $ECHO_N "(cached) $ECHO_C" >&6
3478
3682
else
3479
3683
  cat >conftest.$ac_ext <<_ACEOF
3480
 
#line 3480 "configure"
 
3684
#line 3684 "configure"
3481
3685
#include "confdefs.h"
3482
3686
#include <langinfo.h>
3483
3687
int
3489
3693
}
3490
3694
_ACEOF
3491
3695
rm -f conftest.$ac_objext conftest$ac_exeext
3492
 
if { (eval echo "$as_me:3492: \"$ac_link\"") >&5
 
3696
if { (eval echo "$as_me:3696: \"$ac_link\"") >&5
3493
3697
  (eval $ac_link) 2>&5
3494
3698
  ac_status=$?
3495
 
  echo "$as_me:3495: \$? = $ac_status" >&5
 
3699
  echo "$as_me:3699: \$? = $ac_status" >&5
3496
3700
  (exit $ac_status); } &&
3497
3701
         { ac_try='test -s conftest$ac_exeext'
3498
 
  { (eval echo "$as_me:3498: \"$ac_try\"") >&5
 
3702
  { (eval echo "$as_me:3702: \"$ac_try\"") >&5
3499
3703
  (eval $ac_try) 2>&5
3500
3704
  ac_status=$?
3501
 
  echo "$as_me:3501: \$? = $ac_status" >&5
 
3705
  echo "$as_me:3705: \$? = $ac_status" >&5
3502
3706
  (exit $ac_status); }; }; then
3503
3707
  am_cv_langinfo_codeset=yes
3504
3708
else
3509
3713
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3510
3714
 
3511
3715
fi
3512
 
echo "$as_me:3512: result: $am_cv_langinfo_codeset" >&5
 
3716
echo "$as_me:3716: result: $am_cv_langinfo_codeset" >&5
3513
3717
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
3514
3718
  if test $am_cv_langinfo_codeset = yes; then
3515
3719
 
3521
3725
 
3522
3726
###     checks for typedefs
3523
3727
 
3524
 
echo "$as_me:3524: checking for signal global datatype" >&5
 
3728
echo "$as_me:3728: checking for signal global datatype" >&5
3525
3729
echo $ECHO_N "checking for signal global datatype... $ECHO_C" >&6
3526
3730
if test "${cf_cv_sig_atomic_t+set}" = set; then
3527
3731
  echo $ECHO_N "(cached) $ECHO_C" >&6
3533
3737
                "int"
3534
3738
        do
3535
3739
        cat >conftest.$ac_ext <<_ACEOF
3536
 
#line 3536 "configure"
 
3740
#line 3740 "configure"
3537
3741
#include "confdefs.h"
3538
3742
 
3539
3743
#include <sys/types.h>
3556
3760
}
3557
3761
_ACEOF
3558
3762
rm -f conftest.$ac_objext
3559
 
if { (eval echo "$as_me:3559: \"$ac_compile\"") >&5
 
3763
if { (eval echo "$as_me:3763: \"$ac_compile\"") >&5
3560
3764
  (eval $ac_compile) 2>&5
3561
3765
  ac_status=$?
3562
 
  echo "$as_me:3562: \$? = $ac_status" >&5
 
3766
  echo "$as_me:3766: \$? = $ac_status" >&5
3563
3767
  (exit $ac_status); } &&
3564
3768
         { ac_try='test -s conftest.$ac_objext'
3565
 
  { (eval echo "$as_me:3565: \"$ac_try\"") >&5
 
3769
  { (eval echo "$as_me:3769: \"$ac_try\"") >&5
3566
3770
  (eval $ac_try) 2>&5
3567
3771
  ac_status=$?
3568
 
  echo "$as_me:3568: \$? = $ac_status" >&5
 
3772
  echo "$as_me:3772: \$? = $ac_status" >&5
3569
3773
  (exit $ac_status); }; }; then
3570
3774
  cf_cv_sig_atomic_t=$cf_type
3571
3775
else
3579
3783
 
3580
3784
fi
3581
3785
 
3582
 
echo "$as_me:3582: result: $cf_cv_sig_atomic_t" >&5
 
3786
echo "$as_me:3786: result: $cf_cv_sig_atomic_t" >&5
3583
3787
echo "${ECHO_T}$cf_cv_sig_atomic_t" >&6
3584
3788
test "$cf_cv_sig_atomic_t" != no && cat >>confdefs.h <<EOF
3585
3789
#define SIG_ATOMIC_T $cf_cv_sig_atomic_t
3586
3790
EOF
3587
3791
 
3588
 
echo "$as_me:3588: checking for size_t in <sys/types.h> or <stdio.h>" >&5
 
3792
echo "$as_me:3792: checking for size_t in <sys/types.h> or <stdio.h>" >&5
3589
3793
echo $ECHO_N "checking for size_t in <sys/types.h> or <stdio.h>... $ECHO_C" >&6
3590
3794
if test "${cf_cv_type_size_t+set}" = set; then
3591
3795
  echo $ECHO_N "(cached) $ECHO_C" >&6
3592
3796
else
3593
3797
 
3594
3798
        cat >conftest.$ac_ext <<_ACEOF
3595
 
#line 3595 "configure"
 
3799
#line 3799 "configure"
3596
3800
#include "confdefs.h"
3597
3801
 
3598
3802
#include <sys/types.h>
3610
3814
}
3611
3815
_ACEOF
3612
3816
rm -f conftest.$ac_objext
3613
 
if { (eval echo "$as_me:3613: \"$ac_compile\"") >&5
 
3817
if { (eval echo "$as_me:3817: \"$ac_compile\"") >&5
3614
3818
  (eval $ac_compile) 2>&5
3615
3819
  ac_status=$?
3616
 
  echo "$as_me:3616: \$? = $ac_status" >&5
 
3820
  echo "$as_me:3820: \$? = $ac_status" >&5
3617
3821
  (exit $ac_status); } &&
3618
3822
         { ac_try='test -s conftest.$ac_objext'
3619
 
  { (eval echo "$as_me:3619: \"$ac_try\"") >&5
 
3823
  { (eval echo "$as_me:3823: \"$ac_try\"") >&5
3620
3824
  (eval $ac_try) 2>&5
3621
3825
  ac_status=$?
3622
 
  echo "$as_me:3622: \$? = $ac_status" >&5
 
3826
  echo "$as_me:3826: \$? = $ac_status" >&5
3623
3827
  (exit $ac_status); }; }; then
3624
3828
  cf_cv_type_size_t=yes
3625
3829
else
3631
3835
 
3632
3836
fi
3633
3837
 
3634
 
echo "$as_me:3634: result: $cf_cv_type_size_t" >&5
 
3838
echo "$as_me:3838: result: $cf_cv_type_size_t" >&5
3635
3839
echo "${ECHO_T}$cf_cv_type_size_t" >&6
3636
3840
test $cf_cv_type_size_t = no && cat >>confdefs.h <<\EOF
3637
3841
#define size_t unsigned
3638
3842
EOF
3639
3843
 
3640
 
echo "$as_me:3640: checking for ANSI C header files" >&5
 
3844
echo "$as_me:3844: checking for ANSI C header files" >&5
3641
3845
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3642
3846
if test "${ac_cv_header_stdc+set}" = set; then
3643
3847
  echo $ECHO_N "(cached) $ECHO_C" >&6
3644
3848
else
3645
3849
  cat >conftest.$ac_ext <<_ACEOF
3646
 
#line 3646 "configure"
 
3850
#line 3850 "configure"
3647
3851
#include "confdefs.h"
3648
3852
#include <stdlib.h>
3649
3853
#include <stdarg.h>
3651
3855
#include <float.h>
3652
3856
 
3653
3857
_ACEOF
3654
 
if { (eval echo "$as_me:3654: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3858
if { (eval echo "$as_me:3858: \"$ac_cpp conftest.$ac_ext\"") >&5
3655
3859
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3656
3860
  ac_status=$?
3657
3861
  egrep -v '^ *\+' conftest.er1 >conftest.err
3658
3862
  rm -f conftest.er1
3659
3863
  cat conftest.err >&5
3660
 
  echo "$as_me:3660: \$? = $ac_status" >&5
 
3864
  echo "$as_me:3864: \$? = $ac_status" >&5
3661
3865
  (exit $ac_status); } >/dev/null; then
3662
3866
  if test -s conftest.err; then
3663
3867
    ac_cpp_err=$ac_c_preproc_warn_flag
3679
3883
if test $ac_cv_header_stdc = yes; then
3680
3884
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3681
3885
  cat >conftest.$ac_ext <<_ACEOF
3682
 
#line 3682 "configure"
 
3886
#line 3886 "configure"
3683
3887
#include "confdefs.h"
3684
3888
#include <string.h>
3685
3889
 
3697
3901
if test $ac_cv_header_stdc = yes; then
3698
3902
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3699
3903
  cat >conftest.$ac_ext <<_ACEOF
3700
 
#line 3700 "configure"
 
3904
#line 3904 "configure"
3701
3905
#include "confdefs.h"
3702
3906
#include <stdlib.h>
3703
3907
 
3718
3922
  :
3719
3923
else
3720
3924
  cat >conftest.$ac_ext <<_ACEOF
3721
 
#line 3721 "configure"
 
3925
#line 3925 "configure"
3722
3926
#include "confdefs.h"
3723
3927
#include <ctype.h>
3724
3928
#if ((' ' & 0x0FF) == 0x020)
3744
3948
}
3745
3949
_ACEOF
3746
3950
rm -f conftest$ac_exeext
3747
 
if { (eval echo "$as_me:3747: \"$ac_link\"") >&5
 
3951
if { (eval echo "$as_me:3951: \"$ac_link\"") >&5
3748
3952
  (eval $ac_link) 2>&5
3749
3953
  ac_status=$?
3750
 
  echo "$as_me:3750: \$? = $ac_status" >&5
 
3954
  echo "$as_me:3954: \$? = $ac_status" >&5
3751
3955
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3752
 
  { (eval echo "$as_me:3752: \"$ac_try\"") >&5
 
3956
  { (eval echo "$as_me:3956: \"$ac_try\"") >&5
3753
3957
  (eval $ac_try) 2>&5
3754
3958
  ac_status=$?
3755
 
  echo "$as_me:3755: \$? = $ac_status" >&5
 
3959
  echo "$as_me:3959: \$? = $ac_status" >&5
3756
3960
  (exit $ac_status); }; }; then
3757
3961
  :
3758
3962
else
3765
3969
fi
3766
3970
fi
3767
3971
fi
3768
 
echo "$as_me:3768: result: $ac_cv_header_stdc" >&5
 
3972
echo "$as_me:3972: result: $ac_cv_header_stdc" >&5
3769
3973
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3770
3974
if test $ac_cv_header_stdc = yes; then
3771
3975
 
3781
3985
                  inttypes.h stdint.h unistd.h
3782
3986
do
3783
3987
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3784
 
echo "$as_me:3784: checking for $ac_header" >&5
 
3988
echo "$as_me:3988: checking for $ac_header" >&5
3785
3989
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3786
3990
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3787
3991
  echo $ECHO_N "(cached) $ECHO_C" >&6
3788
3992
else
3789
3993
  cat >conftest.$ac_ext <<_ACEOF
3790
 
#line 3790 "configure"
 
3994
#line 3994 "configure"
3791
3995
#include "confdefs.h"
3792
3996
$ac_includes_default
3793
3997
#include <$ac_header>
3794
3998
_ACEOF
3795
3999
rm -f conftest.$ac_objext
3796
 
if { (eval echo "$as_me:3796: \"$ac_compile\"") >&5
 
4000
if { (eval echo "$as_me:4000: \"$ac_compile\"") >&5
3797
4001
  (eval $ac_compile) 2>&5
3798
4002
  ac_status=$?
3799
 
  echo "$as_me:3799: \$? = $ac_status" >&5
 
4003
  echo "$as_me:4003: \$? = $ac_status" >&5
3800
4004
  (exit $ac_status); } &&
3801
4005
         { ac_try='test -s conftest.$ac_objext'
3802
 
  { (eval echo "$as_me:3802: \"$ac_try\"") >&5
 
4006
  { (eval echo "$as_me:4006: \"$ac_try\"") >&5
3803
4007
  (eval $ac_try) 2>&5
3804
4008
  ac_status=$?
3805
 
  echo "$as_me:3805: \$? = $ac_status" >&5
 
4009
  echo "$as_me:4009: \$? = $ac_status" >&5
3806
4010
  (exit $ac_status); }; }; then
3807
4011
  eval "$as_ac_Header=yes"
3808
4012
else
3812
4016
fi
3813
4017
rm -f conftest.$ac_objext conftest.$ac_ext
3814
4018
fi
3815
 
echo "$as_me:3815: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4019
echo "$as_me:4019: result: `eval echo '${'$as_ac_Header'}'`" >&5
3816
4020
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3817
4021
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3818
4022
  cat >>confdefs.h <<EOF
3822
4026
fi
3823
4027
done
3824
4028
 
3825
 
echo "$as_me:3825: checking for time_t" >&5
 
4029
echo "$as_me:4029: checking for time_t" >&5
3826
4030
echo $ECHO_N "checking for time_t... $ECHO_C" >&6
3827
4031
if test "${ac_cv_type_time_t+set}" = set; then
3828
4032
  echo $ECHO_N "(cached) $ECHO_C" >&6
3829
4033
else
3830
4034
  cat >conftest.$ac_ext <<_ACEOF
3831
 
#line 3831 "configure"
 
4035
#line 4035 "configure"
3832
4036
#include "confdefs.h"
3833
4037
$ac_includes_default
3834
4038
int
3843
4047
}
3844
4048
_ACEOF
3845
4049
rm -f conftest.$ac_objext
3846
 
if { (eval echo "$as_me:3846: \"$ac_compile\"") >&5
 
4050
if { (eval echo "$as_me:4050: \"$ac_compile\"") >&5
3847
4051
  (eval $ac_compile) 2>&5
3848
4052
  ac_status=$?
3849
 
  echo "$as_me:3849: \$? = $ac_status" >&5
 
4053
  echo "$as_me:4053: \$? = $ac_status" >&5
3850
4054
  (exit $ac_status); } &&
3851
4055
         { ac_try='test -s conftest.$ac_objext'
3852
 
  { (eval echo "$as_me:3852: \"$ac_try\"") >&5
 
4056
  { (eval echo "$as_me:4056: \"$ac_try\"") >&5
3853
4057
  (eval $ac_try) 2>&5
3854
4058
  ac_status=$?
3855
 
  echo "$as_me:3855: \$? = $ac_status" >&5
 
4059
  echo "$as_me:4059: \$? = $ac_status" >&5
3856
4060
  (exit $ac_status); }; }; then
3857
4061
  ac_cv_type_time_t=yes
3858
4062
else
3862
4066
fi
3863
4067
rm -f conftest.$ac_objext conftest.$ac_ext
3864
4068
fi
3865
 
echo "$as_me:3865: result: $ac_cv_type_time_t" >&5
 
4069
echo "$as_me:4069: result: $ac_cv_type_time_t" >&5
3866
4070
echo "${ECHO_T}$ac_cv_type_time_t" >&6
3867
4071
if test $ac_cv_type_time_t = yes; then
3868
4072
  :
3874
4078
 
3875
4079
fi
3876
4080
 
3877
 
echo "$as_me:3877: checking for mode_t" >&5
 
4081
echo "$as_me:4081: checking for mode_t" >&5
3878
4082
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
3879
4083
if test "${ac_cv_type_mode_t+set}" = set; then
3880
4084
  echo $ECHO_N "(cached) $ECHO_C" >&6
3881
4085
else
3882
4086
  cat >conftest.$ac_ext <<_ACEOF
3883
 
#line 3883 "configure"
 
4087
#line 4087 "configure"
3884
4088
#include "confdefs.h"
3885
4089
$ac_includes_default
3886
4090
int
3895
4099
}
3896
4100
_ACEOF
3897
4101
rm -f conftest.$ac_objext
3898
 
if { (eval echo "$as_me:3898: \"$ac_compile\"") >&5
 
4102
if { (eval echo "$as_me:4102: \"$ac_compile\"") >&5
3899
4103
  (eval $ac_compile) 2>&5
3900
4104
  ac_status=$?
3901
 
  echo "$as_me:3901: \$? = $ac_status" >&5
 
4105
  echo "$as_me:4105: \$? = $ac_status" >&5
3902
4106
  (exit $ac_status); } &&
3903
4107
         { ac_try='test -s conftest.$ac_objext'
3904
 
  { (eval echo "$as_me:3904: \"$ac_try\"") >&5
 
4108
  { (eval echo "$as_me:4108: \"$ac_try\"") >&5
3905
4109
  (eval $ac_try) 2>&5
3906
4110
  ac_status=$?
3907
 
  echo "$as_me:3907: \$? = $ac_status" >&5
 
4111
  echo "$as_me:4111: \$? = $ac_status" >&5
3908
4112
  (exit $ac_status); }; }; then
3909
4113
  ac_cv_type_mode_t=yes
3910
4114
else
3914
4118
fi
3915
4119
rm -f conftest.$ac_objext conftest.$ac_ext
3916
4120
fi
3917
 
echo "$as_me:3917: result: $ac_cv_type_mode_t" >&5
 
4121
echo "$as_me:4121: result: $ac_cv_type_mode_t" >&5
3918
4122
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
3919
4123
if test $ac_cv_type_mode_t = yes; then
3920
4124
  :
3926
4130
 
3927
4131
fi
3928
4132
 
3929
 
echo "$as_me:3929: checking for pid_t" >&5
 
4133
echo "$as_me:4133: checking for pid_t" >&5
3930
4134
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3931
4135
if test "${ac_cv_type_pid_t+set}" = set; then
3932
4136
  echo $ECHO_N "(cached) $ECHO_C" >&6
3933
4137
else
3934
4138
  cat >conftest.$ac_ext <<_ACEOF
3935
 
#line 3935 "configure"
 
4139
#line 4139 "configure"
3936
4140
#include "confdefs.h"
3937
4141
$ac_includes_default
3938
4142
int
3947
4151
}
3948
4152
_ACEOF
3949
4153
rm -f conftest.$ac_objext
3950
 
if { (eval echo "$as_me:3950: \"$ac_compile\"") >&5
 
4154
if { (eval echo "$as_me:4154: \"$ac_compile\"") >&5
3951
4155
  (eval $ac_compile) 2>&5
3952
4156
  ac_status=$?
3953
 
  echo "$as_me:3953: \$? = $ac_status" >&5
 
4157
  echo "$as_me:4157: \$? = $ac_status" >&5
3954
4158
  (exit $ac_status); } &&
3955
4159
         { ac_try='test -s conftest.$ac_objext'
3956
 
  { (eval echo "$as_me:3956: \"$ac_try\"") >&5
 
4160
  { (eval echo "$as_me:4160: \"$ac_try\"") >&5
3957
4161
  (eval $ac_try) 2>&5
3958
4162
  ac_status=$?
3959
 
  echo "$as_me:3959: \$? = $ac_status" >&5
 
4163
  echo "$as_me:4163: \$? = $ac_status" >&5
3960
4164
  (exit $ac_status); }; }; then
3961
4165
  ac_cv_type_pid_t=yes
3962
4166
else
3966
4170
fi
3967
4171
rm -f conftest.$ac_objext conftest.$ac_ext
3968
4172
fi
3969
 
echo "$as_me:3969: result: $ac_cv_type_pid_t" >&5
 
4173
echo "$as_me:4173: result: $ac_cv_type_pid_t" >&5
3970
4174
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
3971
4175
if test $ac_cv_type_pid_t = yes; then
3972
4176
  :
3978
4182
 
3979
4183
fi
3980
4184
 
3981
 
echo "$as_me:3981: checking for uid_t in sys/types.h" >&5
 
4185
echo "$as_me:4185: checking for uid_t in sys/types.h" >&5
3982
4186
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
3983
4187
if test "${ac_cv_type_uid_t+set}" = set; then
3984
4188
  echo $ECHO_N "(cached) $ECHO_C" >&6
3985
4189
else
3986
4190
  cat >conftest.$ac_ext <<_ACEOF
3987
 
#line 3987 "configure"
 
4191
#line 4191 "configure"
3988
4192
#include "confdefs.h"
3989
4193
#include <sys/types.h>
3990
4194
 
3998
4202
rm -f conftest*
3999
4203
 
4000
4204
fi
4001
 
echo "$as_me:4001: result: $ac_cv_type_uid_t" >&5
 
4205
echo "$as_me:4205: result: $ac_cv_type_uid_t" >&5
4002
4206
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
4003
4207
if test $ac_cv_type_uid_t = no; then
4004
4208
 
4012
4216
 
4013
4217
fi
4014
4218
 
4015
 
echo "$as_me:4015: checking for off_t" >&5
 
4219
echo "$as_me:4219: checking for off_t" >&5
4016
4220
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4017
4221
if test "${ac_cv_type_off_t+set}" = set; then
4018
4222
  echo $ECHO_N "(cached) $ECHO_C" >&6
4019
4223
else
4020
4224
  cat >conftest.$ac_ext <<_ACEOF
4021
 
#line 4021 "configure"
 
4225
#line 4225 "configure"
4022
4226
#include "confdefs.h"
4023
4227
$ac_includes_default
4024
4228
int
4033
4237
}
4034
4238
_ACEOF
4035
4239
rm -f conftest.$ac_objext
4036
 
if { (eval echo "$as_me:4036: \"$ac_compile\"") >&5
 
4240
if { (eval echo "$as_me:4240: \"$ac_compile\"") >&5
4037
4241
  (eval $ac_compile) 2>&5
4038
4242
  ac_status=$?
4039
 
  echo "$as_me:4039: \$? = $ac_status" >&5
 
4243
  echo "$as_me:4243: \$? = $ac_status" >&5
4040
4244
  (exit $ac_status); } &&
4041
4245
         { ac_try='test -s conftest.$ac_objext'
4042
 
  { (eval echo "$as_me:4042: \"$ac_try\"") >&5
 
4246
  { (eval echo "$as_me:4246: \"$ac_try\"") >&5
4043
4247
  (eval $ac_try) 2>&5
4044
4248
  ac_status=$?
4045
 
  echo "$as_me:4045: \$? = $ac_status" >&5
 
4249
  echo "$as_me:4249: \$? = $ac_status" >&5
4046
4250
  (exit $ac_status); }; }; then
4047
4251
  ac_cv_type_off_t=yes
4048
4252
else
4052
4256
fi
4053
4257
rm -f conftest.$ac_objext conftest.$ac_ext
4054
4258
fi
4055
 
echo "$as_me:4055: result: $ac_cv_type_off_t" >&5
 
4259
echo "$as_me:4259: result: $ac_cv_type_off_t" >&5
4056
4260
echo "${ECHO_T}$ac_cv_type_off_t" >&6
4057
4261
if test $ac_cv_type_off_t = yes; then
4058
4262
  :
4081
4285
        wcwidth
4082
4286
do
4083
4287
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4084
 
echo "$as_me:4084: checking for $ac_func" >&5
 
4288
echo "$as_me:4288: checking for $ac_func" >&5
4085
4289
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4086
4290
if eval "test \"\${$as_ac_var+set}\" = set"; then
4087
4291
  echo $ECHO_N "(cached) $ECHO_C" >&6
4088
4292
else
4089
4293
  cat >conftest.$ac_ext <<_ACEOF
4090
 
#line 4090 "configure"
 
4294
#line 4294 "configure"
4091
4295
#include "confdefs.h"
4092
4296
/* System header to define __stub macros and hopefully few prototypes,
4093
4297
    which can conflict with char $ac_func (); below.  */
4118
4322
}
4119
4323
_ACEOF
4120
4324
rm -f conftest.$ac_objext conftest$ac_exeext
4121
 
if { (eval echo "$as_me:4121: \"$ac_link\"") >&5
 
4325
if { (eval echo "$as_me:4325: \"$ac_link\"") >&5
4122
4326
  (eval $ac_link) 2>&5
4123
4327
  ac_status=$?
4124
 
  echo "$as_me:4124: \$? = $ac_status" >&5
 
4328
  echo "$as_me:4328: \$? = $ac_status" >&5
4125
4329
  (exit $ac_status); } &&
4126
4330
         { ac_try='test -s conftest$ac_exeext'
4127
 
  { (eval echo "$as_me:4127: \"$ac_try\"") >&5
 
4331
  { (eval echo "$as_me:4331: \"$ac_try\"") >&5
4128
4332
  (eval $ac_try) 2>&5
4129
4333
  ac_status=$?
4130
 
  echo "$as_me:4130: \$? = $ac_status" >&5
 
4334
  echo "$as_me:4334: \$? = $ac_status" >&5
4131
4335
  (exit $ac_status); }; }; then
4132
4336
  eval "$as_ac_var=yes"
4133
4337
else
4137
4341
fi
4138
4342
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4139
4343
fi
4140
 
echo "$as_me:4140: result: `eval echo '${'$as_ac_var'}'`" >&5
 
4344
echo "$as_me:4344: result: `eval echo '${'$as_ac_var'}'`" >&5
4141
4345
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4142
4346
if test `eval echo '${'$as_ac_var'}'` = yes; then
4143
4347
  cat >>confdefs.h <<EOF
4147
4351
fi
4148
4352
done
4149
4353
 
4150
 
echo "$as_me:4150: checking for memmove" >&5
 
4354
echo "$as_me:4354: checking for memmove" >&5
4151
4355
echo $ECHO_N "checking for memmove... $ECHO_C" >&6
4152
4356
if test "${ac_cv_func_memmove+set}" = set; then
4153
4357
  echo $ECHO_N "(cached) $ECHO_C" >&6
4154
4358
else
4155
4359
  cat >conftest.$ac_ext <<_ACEOF
4156
 
#line 4156 "configure"
 
4360
#line 4360 "configure"
4157
4361
#include "confdefs.h"
4158
4362
/* System header to define __stub macros and hopefully few prototypes,
4159
4363
    which can conflict with char memmove (); below.  */
4184
4388
}
4185
4389
_ACEOF
4186
4390
rm -f conftest.$ac_objext conftest$ac_exeext
4187
 
if { (eval echo "$as_me:4187: \"$ac_link\"") >&5
 
4391
if { (eval echo "$as_me:4391: \"$ac_link\"") >&5
4188
4392
  (eval $ac_link) 2>&5
4189
4393
  ac_status=$?
4190
 
  echo "$as_me:4190: \$? = $ac_status" >&5
 
4394
  echo "$as_me:4394: \$? = $ac_status" >&5
4191
4395
  (exit $ac_status); } &&
4192
4396
         { ac_try='test -s conftest$ac_exeext'
4193
 
  { (eval echo "$as_me:4193: \"$ac_try\"") >&5
 
4397
  { (eval echo "$as_me:4397: \"$ac_try\"") >&5
4194
4398
  (eval $ac_try) 2>&5
4195
4399
  ac_status=$?
4196
 
  echo "$as_me:4196: \$? = $ac_status" >&5
 
4400
  echo "$as_me:4400: \$? = $ac_status" >&5
4197
4401
  (exit $ac_status); }; }; then
4198
4402
  ac_cv_func_memmove=yes
4199
4403
else
4203
4407
fi
4204
4408
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4205
4409
fi
4206
 
echo "$as_me:4206: result: $ac_cv_func_memmove" >&5
 
4410
echo "$as_me:4410: result: $ac_cv_func_memmove" >&5
4207
4411
echo "${ECHO_T}$ac_cv_func_memmove" >&6
4208
4412
if test $ac_cv_func_memmove = yes; then
4209
4413
  :
4210
4414
else
4211
4415
 
4212
 
echo "$as_me:4212: checking for bcopy" >&5
 
4416
echo "$as_me:4416: checking for bcopy" >&5
4213
4417
echo $ECHO_N "checking for bcopy... $ECHO_C" >&6
4214
4418
if test "${ac_cv_func_bcopy+set}" = set; then
4215
4419
  echo $ECHO_N "(cached) $ECHO_C" >&6
4216
4420
else
4217
4421
  cat >conftest.$ac_ext <<_ACEOF
4218
 
#line 4218 "configure"
 
4422
#line 4422 "configure"
4219
4423
#include "confdefs.h"
4220
4424
/* System header to define __stub macros and hopefully few prototypes,
4221
4425
    which can conflict with char bcopy (); below.  */
4246
4450
}
4247
4451
_ACEOF
4248
4452
rm -f conftest.$ac_objext conftest$ac_exeext
4249
 
if { (eval echo "$as_me:4249: \"$ac_link\"") >&5
 
4453
if { (eval echo "$as_me:4453: \"$ac_link\"") >&5
4250
4454
  (eval $ac_link) 2>&5
4251
4455
  ac_status=$?
4252
 
  echo "$as_me:4252: \$? = $ac_status" >&5
 
4456
  echo "$as_me:4456: \$? = $ac_status" >&5
4253
4457
  (exit $ac_status); } &&
4254
4458
         { ac_try='test -s conftest$ac_exeext'
4255
 
  { (eval echo "$as_me:4255: \"$ac_try\"") >&5
 
4459
  { (eval echo "$as_me:4459: \"$ac_try\"") >&5
4256
4460
  (eval $ac_try) 2>&5
4257
4461
  ac_status=$?
4258
 
  echo "$as_me:4258: \$? = $ac_status" >&5
 
4462
  echo "$as_me:4462: \$? = $ac_status" >&5
4259
4463
  (exit $ac_status); }; }; then
4260
4464
  ac_cv_func_bcopy=yes
4261
4465
else
4265
4469
fi
4266
4470
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4267
4471
fi
4268
 
echo "$as_me:4268: result: $ac_cv_func_bcopy" >&5
 
4472
echo "$as_me:4472: result: $ac_cv_func_bcopy" >&5
4269
4473
echo "${ECHO_T}$ac_cv_func_bcopy" >&6
4270
4474
if test $ac_cv_func_bcopy = yes; then
4271
4475
 
4272
 
        echo "$as_me:4272: checking if bcopy does overlapping moves" >&5
 
4476
        echo "$as_me:4476: checking if bcopy does overlapping moves" >&5
4273
4477
echo $ECHO_N "checking if bcopy does overlapping moves... $ECHO_C" >&6
4274
4478
if test "${cf_cv_good_bcopy+set}" = set; then
4275
4479
  echo $ECHO_N "(cached) $ECHO_C" >&6
4279
4483
  cf_cv_good_bcopy=unknown
4280
4484
else
4281
4485
  cat >conftest.$ac_ext <<_ACEOF
4282
 
#line 4282 "configure"
 
4486
#line 4486 "configure"
4283
4487
#include "confdefs.h"
4284
4488
 
4285
4489
int main() {
4293
4497
 
4294
4498
_ACEOF
4295
4499
rm -f conftest$ac_exeext
4296
 
if { (eval echo "$as_me:4296: \"$ac_link\"") >&5
 
4500
if { (eval echo "$as_me:4500: \"$ac_link\"") >&5
4297
4501
  (eval $ac_link) 2>&5
4298
4502
  ac_status=$?
4299
 
  echo "$as_me:4299: \$? = $ac_status" >&5
 
4503
  echo "$as_me:4503: \$? = $ac_status" >&5
4300
4504
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4301
 
  { (eval echo "$as_me:4301: \"$ac_try\"") >&5
 
4505
  { (eval echo "$as_me:4505: \"$ac_try\"") >&5
4302
4506
  (eval $ac_try) 2>&5
4303
4507
  ac_status=$?
4304
 
  echo "$as_me:4304: \$? = $ac_status" >&5
 
4508
  echo "$as_me:4508: \$? = $ac_status" >&5
4305
4509
  (exit $ac_status); }; }; then
4306
4510
  cf_cv_good_bcopy=yes
4307
4511
else
4314
4518
fi
4315
4519
 
4316
4520
fi
4317
 
echo "$as_me:4317: result: $cf_cv_good_bcopy" >&5
 
4521
echo "$as_me:4521: result: $cf_cv_good_bcopy" >&5
4318
4522
echo "${ECHO_T}$cf_cv_good_bcopy" >&6
4319
4523
 
4320
4524
else
4338
4542
for ac_header in lastlog.h paths.h
4339
4543
do
4340
4544
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4341
 
echo "$as_me:4341: checking for $ac_header" >&5
 
4545
echo "$as_me:4545: checking for $ac_header" >&5
4342
4546
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4343
4547
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4344
4548
  echo $ECHO_N "(cached) $ECHO_C" >&6
4345
4549
else
4346
4550
  cat >conftest.$ac_ext <<_ACEOF
4347
 
#line 4347 "configure"
 
4551
#line 4551 "configure"
4348
4552
#include "confdefs.h"
4349
4553
#include <$ac_header>
4350
4554
_ACEOF
4351
 
if { (eval echo "$as_me:4351: \"$ac_cpp conftest.$ac_ext\"") >&5
 
4555
if { (eval echo "$as_me:4555: \"$ac_cpp conftest.$ac_ext\"") >&5
4352
4556
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4353
4557
  ac_status=$?
4354
4558
  egrep -v '^ *\+' conftest.er1 >conftest.err
4355
4559
  rm -f conftest.er1
4356
4560
  cat conftest.err >&5
4357
 
  echo "$as_me:4357: \$? = $ac_status" >&5
 
4561
  echo "$as_me:4561: \$? = $ac_status" >&5
4358
4562
  (exit $ac_status); } >/dev/null; then
4359
4563
  if test -s conftest.err; then
4360
4564
    ac_cpp_err=$ac_c_preproc_warn_flag
4373
4577
fi
4374
4578
rm -f conftest.err conftest.$ac_ext
4375
4579
fi
4376
 
echo "$as_me:4376: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4580
echo "$as_me:4580: result: `eval echo '${'$as_ac_Header'}'`" >&5
4377
4581
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4378
4582
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4379
4583
  cat >>confdefs.h <<EOF
4383
4587
fi
4384
4588
done
4385
4589
 
4386
 
echo "$as_me:4386: checking for lastlog path" >&5
 
4590
echo "$as_me:4590: checking for lastlog path" >&5
4387
4591
echo $ECHO_N "checking for lastlog path... $ECHO_C" >&6
4388
4592
if test "${cf_cv_path_lastlog+set}" = set; then
4389
4593
  echo $ECHO_N "(cached) $ECHO_C" >&6
4390
4594
else
4391
4595
 
4392
4596
cat >conftest.$ac_ext <<_ACEOF
4393
 
#line 4393 "configure"
 
4597
#line 4597 "configure"
4394
4598
#include "confdefs.h"
4395
4599
 
4396
4600
#include <sys/types.h>
4410
4614
}
4411
4615
_ACEOF
4412
4616
rm -f conftest.$ac_objext
4413
 
if { (eval echo "$as_me:4413: \"$ac_compile\"") >&5
 
4617
if { (eval echo "$as_me:4617: \"$ac_compile\"") >&5
4414
4618
  (eval $ac_compile) 2>&5
4415
4619
  ac_status=$?
4416
 
  echo "$as_me:4416: \$? = $ac_status" >&5
 
4620
  echo "$as_me:4620: \$? = $ac_status" >&5
4417
4621
  (exit $ac_status); } &&
4418
4622
         { ac_try='test -s conftest.$ac_objext'
4419
 
  { (eval echo "$as_me:4419: \"$ac_try\"") >&5
 
4623
  { (eval echo "$as_me:4623: \"$ac_try\"") >&5
4420
4624
  (eval $ac_try) 2>&5
4421
4625
  ac_status=$?
4422
 
  echo "$as_me:4422: \$? = $ac_status" >&5
 
4626
  echo "$as_me:4626: \$? = $ac_status" >&5
4423
4627
  (exit $ac_status); }; }; then
4424
4628
  cf_cv_path_lastlog="_PATH_LASTLOG"
4425
4629
else
4434
4638
rm -f conftest.$ac_objext conftest.$ac_ext
4435
4639
 
4436
4640
fi
4437
 
echo "$as_me:4437: result: $cf_cv_path_lastlog" >&5
 
4641
echo "$as_me:4641: result: $cf_cv_path_lastlog" >&5
4438
4642
echo "${ECHO_T}$cf_cv_path_lastlog" >&6
4439
4643
test $cf_cv_path_lastlog != no && cat >>confdefs.h <<\EOF
4440
4644
#define USE_LASTLOG 1
4441
4645
EOF
4442
4646
 
4443
 
echo "$as_me:4443: checking for utmp implementation" >&5
 
4647
echo "$as_me:4647: checking for utmp implementation" >&5
4444
4648
echo $ECHO_N "checking for utmp implementation... $ECHO_C" >&6
4445
4649
if test "${cf_cv_have_utmp+set}" = set; then
4446
4650
  echo $ECHO_N "(cached) $ECHO_C" >&6
4457
4661
#endif
4458
4662
"
4459
4663
        cat >conftest.$ac_ext <<_ACEOF
4460
 
#line 4460 "configure"
 
4664
#line 4664 "configure"
4461
4665
#include "confdefs.h"
4462
4666
$cf_utmp_includes
4463
4667
int
4471
4675
}
4472
4676
_ACEOF
4473
4677
rm -f conftest.$ac_objext
4474
 
if { (eval echo "$as_me:4474: \"$ac_compile\"") >&5
 
4678
if { (eval echo "$as_me:4678: \"$ac_compile\"") >&5
4475
4679
  (eval $ac_compile) 2>&5
4476
4680
  ac_status=$?
4477
 
  echo "$as_me:4477: \$? = $ac_status" >&5
 
4681
  echo "$as_me:4681: \$? = $ac_status" >&5
4478
4682
  (exit $ac_status); } &&
4479
4683
         { ac_try='test -s conftest.$ac_objext'
4480
 
  { (eval echo "$as_me:4480: \"$ac_try\"") >&5
 
4684
  { (eval echo "$as_me:4684: \"$ac_try\"") >&5
4481
4685
  (eval $ac_try) 2>&5
4482
4686
  ac_status=$?
4483
 
  echo "$as_me:4483: \$? = $ac_status" >&5
 
4687
  echo "$as_me:4687: \$? = $ac_status" >&5
4484
4688
  (exit $ac_status); }; }; then
4485
4689
  cf_cv_have_utmp=$cf_header
4486
4690
         break
4489
4693
cat conftest.$ac_ext >&5
4490
4694
 
4491
4695
        cat >conftest.$ac_ext <<_ACEOF
4492
 
#line 4492 "configure"
 
4696
#line 4696 "configure"
4493
4697
#include "confdefs.h"
4494
4698
$cf_utmp_includes
4495
4699
int
4503
4707
}
4504
4708
_ACEOF
4505
4709
rm -f conftest.$ac_objext
4506
 
if { (eval echo "$as_me:4506: \"$ac_compile\"") >&5
 
4710
if { (eval echo "$as_me:4710: \"$ac_compile\"") >&5
4507
4711
  (eval $ac_compile) 2>&5
4508
4712
  ac_status=$?
4509
 
  echo "$as_me:4509: \$? = $ac_status" >&5
 
4713
  echo "$as_me:4713: \$? = $ac_status" >&5
4510
4714
  (exit $ac_status); } &&
4511
4715
         { ac_try='test -s conftest.$ac_objext'
4512
 
  { (eval echo "$as_me:4512: \"$ac_try\"") >&5
 
4716
  { (eval echo "$as_me:4716: \"$ac_try\"") >&5
4513
4717
  (eval $ac_try) 2>&5
4514
4718
  ac_status=$?
4515
 
  echo "$as_me:4515: \$? = $ac_status" >&5
 
4719
  echo "$as_me:4719: \$? = $ac_status" >&5
4516
4720
  (exit $ac_status); }; }; then
4517
4721
  cf_cv_have_utmp=$cf_header
4518
4722
         break
4527
4731
done
4528
4732
 
4529
4733
fi
4530
 
echo "$as_me:4530: result: $cf_cv_have_utmp" >&5
 
4734
echo "$as_me:4734: result: $cf_cv_have_utmp" >&5
4531
4735
echo "${ECHO_T}$cf_cv_have_utmp" >&6
4532
4736
 
4533
4737
if test $cf_cv_have_utmp != no ; then
4540
4744
EOF
4541
4745
 
4542
4746
if test $cf_cv_have_utmp != no ; then
4543
 
echo "$as_me:4543: checking if ${cf_cv_have_utmp}.ut_host is declared" >&5
 
4747
echo "$as_me:4747: checking if ${cf_cv_have_utmp}.ut_host is declared" >&5
4544
4748
echo $ECHO_N "checking if ${cf_cv_have_utmp}.ut_host is declared... $ECHO_C" >&6
4545
4749
if test "${cf_cv_have_utmp_ut_host+set}" = set; then
4546
4750
  echo $ECHO_N "(cached) $ECHO_C" >&6
4547
4751
else
4548
4752
 
4549
4753
        cat >conftest.$ac_ext <<_ACEOF
4550
 
#line 4550 "configure"
 
4754
#line 4754 "configure"
4551
4755
#include "confdefs.h"
4552
4756
 
4553
4757
#include <sys/types.h>
4561
4765
}
4562
4766
_ACEOF
4563
4767
rm -f conftest.$ac_objext
4564
 
if { (eval echo "$as_me:4564: \"$ac_compile\"") >&5
 
4768
if { (eval echo "$as_me:4768: \"$ac_compile\"") >&5
4565
4769
  (eval $ac_compile) 2>&5
4566
4770
  ac_status=$?
4567
 
  echo "$as_me:4567: \$? = $ac_status" >&5
 
4771
  echo "$as_me:4771: \$? = $ac_status" >&5
4568
4772
  (exit $ac_status); } &&
4569
4773
         { ac_try='test -s conftest.$ac_objext'
4570
 
  { (eval echo "$as_me:4570: \"$ac_try\"") >&5
 
4774
  { (eval echo "$as_me:4774: \"$ac_try\"") >&5
4571
4775
  (eval $ac_try) 2>&5
4572
4776
  ac_status=$?
4573
 
  echo "$as_me:4573: \$? = $ac_status" >&5
 
4777
  echo "$as_me:4777: \$? = $ac_status" >&5
4574
4778
  (exit $ac_status); }; }; then
4575
4779
  cf_cv_have_utmp_ut_host=yes
4576
4780
else
4582
4786
 
4583
4787
fi
4584
4788
 
4585
 
echo "$as_me:4585: result: $cf_cv_have_utmp_ut_host" >&5
 
4789
echo "$as_me:4789: result: $cf_cv_have_utmp_ut_host" >&5
4586
4790
echo "${ECHO_T}$cf_cv_have_utmp_ut_host" >&6
4587
4791
test $cf_cv_have_utmp_ut_host != no && cat >>confdefs.h <<\EOF
4588
4792
#define HAVE_UTMP_UT_HOST 1
4591
4795
fi
4592
4796
 
4593
4797
if test $cf_cv_have_utmp != no ; then
4594
 
echo "$as_me:4594: checking if ${cf_cv_have_utmp}.ut_syslen is declared" >&5
 
4798
echo "$as_me:4798: checking if ${cf_cv_have_utmp}.ut_syslen is declared" >&5
4595
4799
echo $ECHO_N "checking if ${cf_cv_have_utmp}.ut_syslen is declared... $ECHO_C" >&6
4596
4800
if test "${cf_cv_have_utmp_ut_syslen+set}" = set; then
4597
4801
  echo $ECHO_N "(cached) $ECHO_C" >&6
4598
4802
else
4599
4803
 
4600
4804
        cat >conftest.$ac_ext <<_ACEOF
4601
 
#line 4601 "configure"
 
4805
#line 4805 "configure"
4602
4806
#include "confdefs.h"
4603
4807
 
4604
4808
#include <sys/types.h>
4612
4816
}
4613
4817
_ACEOF
4614
4818
rm -f conftest.$ac_objext
4615
 
if { (eval echo "$as_me:4615: \"$ac_compile\"") >&5
 
4819
if { (eval echo "$as_me:4819: \"$ac_compile\"") >&5
4616
4820
  (eval $ac_compile) 2>&5
4617
4821
  ac_status=$?
4618
 
  echo "$as_me:4618: \$? = $ac_status" >&5
 
4822
  echo "$as_me:4822: \$? = $ac_status" >&5
4619
4823
  (exit $ac_status); } &&
4620
4824
         { ac_try='test -s conftest.$ac_objext'
4621
 
  { (eval echo "$as_me:4621: \"$ac_try\"") >&5
 
4825
  { (eval echo "$as_me:4825: \"$ac_try\"") >&5
4622
4826
  (eval $ac_try) 2>&5
4623
4827
  ac_status=$?
4624
 
  echo "$as_me:4624: \$? = $ac_status" >&5
 
4828
  echo "$as_me:4828: \$? = $ac_status" >&5
4625
4829
  (exit $ac_status); }; }; then
4626
4830
  cf_cv_have_utmp_ut_syslen=yes
4627
4831
else
4633
4837
 
4634
4838
fi
4635
4839
 
4636
 
echo "$as_me:4636: result: $cf_cv_have_utmp_ut_syslen" >&5
 
4840
echo "$as_me:4840: result: $cf_cv_have_utmp_ut_syslen" >&5
4637
4841
echo "${ECHO_T}$cf_cv_have_utmp_ut_syslen" >&6
4638
4842
test $cf_cv_have_utmp_ut_syslen != no && cat >>confdefs.h <<\EOF
4639
4843
#define HAVE_UTMP_UT_SYSLEN 1
4642
4846
fi
4643
4847
 
4644
4848
if test $cf_cv_have_utmp != no ; then
4645
 
echo "$as_me:4645: checking if ${cf_cv_have_utmp}.ut_name is declared" >&5
 
4849
echo "$as_me:4849: checking if ${cf_cv_have_utmp}.ut_name is declared" >&5
4646
4850
echo $ECHO_N "checking if ${cf_cv_have_utmp}.ut_name is declared... $ECHO_C" >&6
4647
4851
if test "${cf_cv_have_utmp_ut_name+set}" = set; then
4648
4852
  echo $ECHO_N "(cached) $ECHO_C" >&6
4659
4863
"
4660
4864
for cf_header in ut_name ut_user ; do
4661
4865
        cat >conftest.$ac_ext <<_ACEOF
4662
 
#line 4662 "configure"
 
4866
#line 4866 "configure"
4663
4867
#include "confdefs.h"
4664
4868
$cf_utmp_includes
4665
4869
int
4673
4877
}
4674
4878
_ACEOF
4675
4879
rm -f conftest.$ac_objext
4676
 
if { (eval echo "$as_me:4676: \"$ac_compile\"") >&5
 
4880
if { (eval echo "$as_me:4880: \"$ac_compile\"") >&5
4677
4881
  (eval $ac_compile) 2>&5
4678
4882
  ac_status=$?
4679
 
  echo "$as_me:4679: \$? = $ac_status" >&5
 
4883
  echo "$as_me:4883: \$? = $ac_status" >&5
4680
4884
  (exit $ac_status); } &&
4681
4885
         { ac_try='test -s conftest.$ac_objext'
4682
 
  { (eval echo "$as_me:4682: \"$ac_try\"") >&5
 
4886
  { (eval echo "$as_me:4886: \"$ac_try\"") >&5
4683
4887
  (eval $ac_try) 2>&5
4684
4888
  ac_status=$?
4685
 
  echo "$as_me:4685: \$? = $ac_status" >&5
 
4889
  echo "$as_me:4889: \$? = $ac_status" >&5
4686
4890
  (exit $ac_status); }; }; then
4687
4891
  cf_cv_have_utmp_ut_name=$cf_header
4688
4892
         break
4694
4898
done
4695
4899
 
4696
4900
fi
4697
 
echo "$as_me:4697: result: $cf_cv_have_utmp_ut_name" >&5
 
4901
echo "$as_me:4901: result: $cf_cv_have_utmp_ut_name" >&5
4698
4902
echo "${ECHO_T}$cf_cv_have_utmp_ut_name" >&6
4699
4903
 
4700
4904
case $cf_cv_have_utmp_ut_name in #(vi
4701
4905
no) #(vi
4702
 
        { { echo "$as_me:4702: error: Cannot find declaration for ut.ut_name" >&5
 
4906
        { { echo "$as_me:4906: error: Cannot find declaration for ut.ut_name" >&5
4703
4907
echo "$as_me: error: Cannot find declaration for ut.ut_name" >&2;}
4704
4908
   { (exit 1); exit 1; }; }
4705
4909
        ;;
4713
4917
fi
4714
4918
 
4715
4919
if test $cf_cv_have_utmp != no ; then
4716
 
echo "$as_me:4716: checking for exit-status in $cf_cv_have_utmp" >&5
 
4920
echo "$as_me:4920: checking for exit-status in $cf_cv_have_utmp" >&5
4717
4921
echo $ECHO_N "checking for exit-status in $cf_cv_have_utmp... $ECHO_C" >&6
4718
4922
if test "${cf_cv_have_utmp_ut_xstatus+set}" = set; then
4719
4923
  echo $ECHO_N "(cached) $ECHO_C" >&6
4726
4930
        ut_exit.ut_exit
4727
4931
do
4728
4932
cat >conftest.$ac_ext <<_ACEOF
4729
 
#line 4729 "configure"
 
4933
#line 4933 "configure"
4730
4934
#include "confdefs.h"
4731
4935
 
4732
4936
#include <sys/types.h>
4740
4944
}
4741
4945
_ACEOF
4742
4946
rm -f conftest.$ac_objext
4743
 
if { (eval echo "$as_me:4743: \"$ac_compile\"") >&5
 
4947
if { (eval echo "$as_me:4947: \"$ac_compile\"") >&5
4744
4948
  (eval $ac_compile) 2>&5
4745
4949
  ac_status=$?
4746
 
  echo "$as_me:4746: \$? = $ac_status" >&5
 
4950
  echo "$as_me:4950: \$? = $ac_status" >&5
4747
4951
  (exit $ac_status); } &&
4748
4952
         { ac_try='test -s conftest.$ac_objext'
4749
 
  { (eval echo "$as_me:4749: \"$ac_try\"") >&5
 
4953
  { (eval echo "$as_me:4953: \"$ac_try\"") >&5
4750
4954
  (eval $ac_try) 2>&5
4751
4955
  ac_status=$?
4752
 
  echo "$as_me:4752: \$? = $ac_status" >&5
 
4956
  echo "$as_me:4956: \$? = $ac_status" >&5
4753
4957
  (exit $ac_status); }; }; then
4754
4958
  cf_cv_have_utmp_ut_xstatus=$cf_result
4755
4959
         break
4762
4966
done
4763
4967
 
4764
4968
fi
4765
 
echo "$as_me:4765: result: $cf_cv_have_utmp_ut_xstatus" >&5
 
4969
echo "$as_me:4969: result: $cf_cv_have_utmp_ut_xstatus" >&5
4766
4970
echo "${ECHO_T}$cf_cv_have_utmp_ut_xstatus" >&6
4767
4971
if test $cf_cv_have_utmp_ut_xstatus != no ; then
4768
4972
        cat >>confdefs.h <<\EOF
4777
4981
fi
4778
4982
 
4779
4983
if test $cf_cv_have_utmp != no ; then
4780
 
echo "$as_me:4780: checking if ${cf_cv_have_utmp}.ut_xtime is declared" >&5
 
4984
echo "$as_me:4984: checking if ${cf_cv_have_utmp}.ut_xtime is declared" >&5
4781
4985
echo $ECHO_N "checking if ${cf_cv_have_utmp}.ut_xtime is declared... $ECHO_C" >&6
4782
4986
if test "${cf_cv_have_utmp_ut_xtime+set}" = set; then
4783
4987
  echo $ECHO_N "(cached) $ECHO_C" >&6
4784
4988
else
4785
4989
 
4786
4990
        cat >conftest.$ac_ext <<_ACEOF
4787
 
#line 4787 "configure"
 
4991
#line 4991 "configure"
4788
4992
#include "confdefs.h"
4789
4993
 
4790
4994
#include <sys/types.h>
4798
5002
}
4799
5003
_ACEOF
4800
5004
rm -f conftest.$ac_objext
4801
 
if { (eval echo "$as_me:4801: \"$ac_compile\"") >&5
 
5005
if { (eval echo "$as_me:5005: \"$ac_compile\"") >&5
4802
5006
  (eval $ac_compile) 2>&5
4803
5007
  ac_status=$?
4804
 
  echo "$as_me:4804: \$? = $ac_status" >&5
 
5008
  echo "$as_me:5008: \$? = $ac_status" >&5
4805
5009
  (exit $ac_status); } &&
4806
5010
         { ac_try='test -s conftest.$ac_objext'
4807
 
  { (eval echo "$as_me:4807: \"$ac_try\"") >&5
 
5011
  { (eval echo "$as_me:5011: \"$ac_try\"") >&5
4808
5012
  (eval $ac_try) 2>&5
4809
5013
  ac_status=$?
4810
 
  echo "$as_me:4810: \$? = $ac_status" >&5
 
5014
  echo "$as_me:5014: \$? = $ac_status" >&5
4811
5015
  (exit $ac_status); }; }; then
4812
5016
  cf_cv_have_utmp_ut_xtime=yes
4813
5017
else
4814
5018
  echo "$as_me: failed program was:" >&5
4815
5019
cat conftest.$ac_ext >&5
4816
5020
cat >conftest.$ac_ext <<_ACEOF
4817
 
#line 4817 "configure"
 
5021
#line 5021 "configure"
4818
5022
#include "confdefs.h"
4819
5023
 
4820
5024
#include <sys/types.h>
4828
5032
}
4829
5033
_ACEOF
4830
5034
rm -f conftest.$ac_objext
4831
 
if { (eval echo "$as_me:4831: \"$ac_compile\"") >&5
 
5035
if { (eval echo "$as_me:5035: \"$ac_compile\"") >&5
4832
5036
  (eval $ac_compile) 2>&5
4833
5037
  ac_status=$?
4834
 
  echo "$as_me:4834: \$? = $ac_status" >&5
 
5038
  echo "$as_me:5038: \$? = $ac_status" >&5
4835
5039
  (exit $ac_status); } &&
4836
5040
         { ac_try='test -s conftest.$ac_objext'
4837
 
  { (eval echo "$as_me:4837: \"$ac_try\"") >&5
 
5041
  { (eval echo "$as_me:5041: \"$ac_try\"") >&5
4838
5042
  (eval $ac_try) 2>&5
4839
5043
  ac_status=$?
4840
 
  echo "$as_me:4840: \$? = $ac_status" >&5
 
5044
  echo "$as_me:5044: \$? = $ac_status" >&5
4841
5045
  (exit $ac_status); }; }; then
4842
5046
  cf_cv_have_utmp_ut_xtime=define
4843
5047
else
4851
5055
rm -f conftest.$ac_objext conftest.$ac_ext
4852
5056
 
4853
5057
fi
4854
 
echo "$as_me:4854: result: $cf_cv_have_utmp_ut_xtime" >&5
 
5058
echo "$as_me:5058: result: $cf_cv_have_utmp_ut_xtime" >&5
4855
5059
echo "${ECHO_T}$cf_cv_have_utmp_ut_xtime" >&6
4856
5060
if test $cf_cv_have_utmp_ut_xtime != no ; then
4857
5061
        cat >>confdefs.h <<\EOF
4868
5072
fi
4869
5073
 
4870
5074
if test $cf_cv_have_utmp != no ; then
4871
 
echo "$as_me:4871: checking if ${cf_cv_have_utmp}.ut_session is declared" >&5
 
5075
echo "$as_me:5075: checking if ${cf_cv_have_utmp}.ut_session is declared" >&5
4872
5076
echo $ECHO_N "checking if ${cf_cv_have_utmp}.ut_session is declared... $ECHO_C" >&6
4873
5077
if test "${cf_cv_have_utmp_ut_session+set}" = set; then
4874
5078
  echo $ECHO_N "(cached) $ECHO_C" >&6
4875
5079
else
4876
5080
 
4877
5081
        cat >conftest.$ac_ext <<_ACEOF
4878
 
#line 4878 "configure"
 
5082
#line 5082 "configure"
4879
5083
#include "confdefs.h"
4880
5084
 
4881
5085
#include <sys/types.h>
4889
5093
}
4890
5094
_ACEOF
4891
5095
rm -f conftest.$ac_objext
4892
 
if { (eval echo "$as_me:4892: \"$ac_compile\"") >&5
 
5096
if { (eval echo "$as_me:5096: \"$ac_compile\"") >&5
4893
5097
  (eval $ac_compile) 2>&5
4894
5098
  ac_status=$?
4895
 
  echo "$as_me:4895: \$? = $ac_status" >&5
 
5099
  echo "$as_me:5099: \$? = $ac_status" >&5
4896
5100
  (exit $ac_status); } &&
4897
5101
         { ac_try='test -s conftest.$ac_objext'
4898
 
  { (eval echo "$as_me:4898: \"$ac_try\"") >&5
 
5102
  { (eval echo "$as_me:5102: \"$ac_try\"") >&5
4899
5103
  (eval $ac_try) 2>&5
4900
5104
  ac_status=$?
4901
 
  echo "$as_me:4901: \$? = $ac_status" >&5
 
5105
  echo "$as_me:5105: \$? = $ac_status" >&5
4902
5106
  (exit $ac_status); }; }; then
4903
5107
  cf_cv_have_utmp_ut_session=yes
4904
5108
else
4909
5113
rm -f conftest.$ac_objext conftest.$ac_ext
4910
5114
 
4911
5115
fi
4912
 
echo "$as_me:4912: result: $cf_cv_have_utmp_ut_session" >&5
 
5116
echo "$as_me:5116: result: $cf_cv_have_utmp_ut_session" >&5
4913
5117
echo "${ECHO_T}$cf_cv_have_utmp_ut_session" >&6
4914
5118
if test $cf_cv_have_utmp_ut_session != no ; then
4915
5119
        cat >>confdefs.h <<\EOF
4919
5123
fi
4920
5124
fi
4921
5125
 
4922
 
echo "$as_me:4922: checking if $cf_cv_have_utmp is SYSV flavor" >&5
 
5126
echo "$as_me:5126: checking if $cf_cv_have_utmp is SYSV flavor" >&5
4923
5127
echo $ECHO_N "checking if $cf_cv_have_utmp is SYSV flavor... $ECHO_C" >&6
4924
5128
if test "${cf_cv_sysv_utmp+set}" = set; then
4925
5129
  echo $ECHO_N "(cached) $ECHO_C" >&6
4927
5131
 
4928
5132
test "$cf_cv_have_utmp" = "utmp" && cf_prefix="ut" || cf_prefix="utx"
4929
5133
cat >conftest.$ac_ext <<_ACEOF
4930
 
#line 4930 "configure"
 
5134
#line 5134 "configure"
4931
5135
#include "confdefs.h"
4932
5136
 
4933
5137
#include <sys/types.h>
4946
5150
}
4947
5151
_ACEOF
4948
5152
rm -f conftest.$ac_objext conftest$ac_exeext
4949
 
if { (eval echo "$as_me:4949: \"$ac_link\"") >&5
 
5153
if { (eval echo "$as_me:5153: \"$ac_link\"") >&5
4950
5154
  (eval $ac_link) 2>&5
4951
5155
  ac_status=$?
4952
 
  echo "$as_me:4952: \$? = $ac_status" >&5
 
5156
  echo "$as_me:5156: \$? = $ac_status" >&5
4953
5157
  (exit $ac_status); } &&
4954
5158
         { ac_try='test -s conftest$ac_exeext'
4955
 
  { (eval echo "$as_me:4955: \"$ac_try\"") >&5
 
5159
  { (eval echo "$as_me:5159: \"$ac_try\"") >&5
4956
5160
  (eval $ac_try) 2>&5
4957
5161
  ac_status=$?
4958
 
  echo "$as_me:4958: \$? = $ac_status" >&5
 
5162
  echo "$as_me:5162: \$? = $ac_status" >&5
4959
5163
  (exit $ac_status); }; }; then
4960
5164
  cf_cv_sysv_utmp=yes
4961
5165
else
4966
5170
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4967
5171
 
4968
5172
fi
4969
 
echo "$as_me:4969: result: $cf_cv_sysv_utmp" >&5
 
5173
echo "$as_me:5173: result: $cf_cv_sysv_utmp" >&5
4970
5174
echo "${ECHO_T}$cf_cv_sysv_utmp" >&6
4971
5175
test $cf_cv_sysv_utmp = yes && cat >>confdefs.h <<\EOF
4972
5176
#define USE_SYSV_UTMP 1
4977
5181
for ac_header in lastlog.h
4978
5182
do
4979
5183
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4980
 
echo "$as_me:4980: checking for $ac_header" >&5
 
5184
echo "$as_me:5184: checking for $ac_header" >&5
4981
5185
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4982
5186
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4983
5187
  echo $ECHO_N "(cached) $ECHO_C" >&6
4984
5188
else
4985
5189
  cat >conftest.$ac_ext <<_ACEOF
4986
 
#line 4986 "configure"
 
5190
#line 5190 "configure"
4987
5191
#include "confdefs.h"
4988
5192
#include <$ac_header>
4989
5193
_ACEOF
4990
 
if { (eval echo "$as_me:4990: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5194
if { (eval echo "$as_me:5194: \"$ac_cpp conftest.$ac_ext\"") >&5
4991
5195
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4992
5196
  ac_status=$?
4993
5197
  egrep -v '^ *\+' conftest.er1 >conftest.err
4994
5198
  rm -f conftest.er1
4995
5199
  cat conftest.err >&5
4996
 
  echo "$as_me:4996: \$? = $ac_status" >&5
 
5200
  echo "$as_me:5200: \$? = $ac_status" >&5
4997
5201
  (exit $ac_status); } >/dev/null; then
4998
5202
  if test -s conftest.err; then
4999
5203
    ac_cpp_err=$ac_c_preproc_warn_flag
5012
5216
fi
5013
5217
rm -f conftest.err conftest.$ac_ext
5014
5218
fi
5015
 
echo "$as_me:5015: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
5219
echo "$as_me:5219: result: `eval echo '${'$as_ac_Header'}'`" >&5
5016
5220
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5017
5221
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5018
5222
  cat >>confdefs.h <<EOF
5022
5226
fi
5023
5227
done
5024
5228
 
5025
 
echo "$as_me:5025: checking for struct lastlog" >&5
 
5229
echo "$as_me:5229: checking for struct lastlog" >&5
5026
5230
echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
5027
5231
if test "${cf_cv_struct_lastlog+set}" = set; then
5028
5232
  echo $ECHO_N "(cached) $ECHO_C" >&6
5033
5237
cf_cv_struct_lastlog=unknown
5034
5238
else
5035
5239
  cat >conftest.$ac_ext <<_ACEOF
5036
 
#line 5036 "configure"
 
5240
#line 5240 "configure"
5037
5241
#include "confdefs.h"
5038
5242
 
5039
5243
#include <sys/types.h>
5047
5251
}
5048
5252
_ACEOF
5049
5253
rm -f conftest$ac_exeext
5050
 
if { (eval echo "$as_me:5050: \"$ac_link\"") >&5
 
5254
if { (eval echo "$as_me:5254: \"$ac_link\"") >&5
5051
5255
  (eval $ac_link) 2>&5
5052
5256
  ac_status=$?
5053
 
  echo "$as_me:5053: \$? = $ac_status" >&5
 
5257
  echo "$as_me:5257: \$? = $ac_status" >&5
5054
5258
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5055
 
  { (eval echo "$as_me:5055: \"$ac_try\"") >&5
 
5259
  { (eval echo "$as_me:5259: \"$ac_try\"") >&5
5056
5260
  (eval $ac_try) 2>&5
5057
5261
  ac_status=$?
5058
 
  echo "$as_me:5058: \$? = $ac_status" >&5
 
5262
  echo "$as_me:5262: \$? = $ac_status" >&5
5059
5263
  (exit $ac_status); }; }; then
5060
5264
 
5061
5265
cf_cv_struct_lastlog=yes
5069
5273
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5070
5274
fi
5071
5275
fi
5072
 
echo "$as_me:5072: result: $cf_cv_struct_lastlog" >&5
 
5276
echo "$as_me:5276: result: $cf_cv_struct_lastlog" >&5
5073
5277
echo "${ECHO_T}$cf_cv_struct_lastlog" >&6
5074
5278
 
5075
5279
test $cf_cv_struct_lastlog != no && cat >>confdefs.h <<\EOF
5081
5285
 
5082
5286
do
5083
5287
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5084
 
echo "$as_me:5084: checking for $ac_header" >&5
 
5288
echo "$as_me:5288: checking for $ac_header" >&5
5085
5289
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5086
5290
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5087
5291
  echo $ECHO_N "(cached) $ECHO_C" >&6
5088
5292
else
5089
5293
  cat >conftest.$ac_ext <<_ACEOF
5090
 
#line 5090 "configure"
 
5294
#line 5294 "configure"
5091
5295
#include "confdefs.h"
5092
5296
#include <$ac_header>
5093
5297
_ACEOF
5094
 
if { (eval echo "$as_me:5094: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5298
if { (eval echo "$as_me:5298: \"$ac_cpp conftest.$ac_ext\"") >&5
5095
5299
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5096
5300
  ac_status=$?
5097
5301
  egrep -v '^ *\+' conftest.er1 >conftest.err
5098
5302
  rm -f conftest.er1
5099
5303
  cat conftest.err >&5
5100
 
  echo "$as_me:5100: \$? = $ac_status" >&5
 
5304
  echo "$as_me:5304: \$? = $ac_status" >&5
5101
5305
  (exit $ac_status); } >/dev/null; then
5102
5306
  if test -s conftest.err; then
5103
5307
    ac_cpp_err=$ac_c_preproc_warn_flag
5116
5320
fi
5117
5321
rm -f conftest.err conftest.$ac_ext
5118
5322
fi
5119
 
echo "$as_me:5119: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
5323
echo "$as_me:5323: result: `eval echo '${'$as_ac_Header'}'`" >&5
5120
5324
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5121
5325
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5122
5326
  cat >>confdefs.h <<EOF
5126
5330
fi
5127
5331
done
5128
5332
 
5129
 
echo "$as_me:5129: checking if POSIX saved-ids are supported" >&5
 
5333
echo "$as_me:5333: checking if POSIX saved-ids are supported" >&5
5130
5334
echo $ECHO_N "checking if POSIX saved-ids are supported... $ECHO_C" >&6
5131
5335
if test "${cf_cv_posix_saved_ids+set}" = set; then
5132
5336
  echo $ECHO_N "(cached) $ECHO_C" >&6
5133
5337
else
5134
5338
 
5135
5339
cat >conftest.$ac_ext <<_ACEOF
5136
 
#line 5136 "configure"
 
5340
#line 5340 "configure"
5137
5341
#include "confdefs.h"
5138
5342
 
5139
5343
#include <unistd.h>
5161
5365
}
5162
5366
_ACEOF
5163
5367
rm -f conftest.$ac_objext conftest$ac_exeext
5164
 
if { (eval echo "$as_me:5164: \"$ac_link\"") >&5
 
5368
if { (eval echo "$as_me:5368: \"$ac_link\"") >&5
5165
5369
  (eval $ac_link) 2>&5
5166
5370
  ac_status=$?
5167
 
  echo "$as_me:5167: \$? = $ac_status" >&5
 
5371
  echo "$as_me:5371: \$? = $ac_status" >&5
5168
5372
  (exit $ac_status); } &&
5169
5373
         { ac_try='test -s conftest$ac_exeext'
5170
 
  { (eval echo "$as_me:5170: \"$ac_try\"") >&5
 
5374
  { (eval echo "$as_me:5374: \"$ac_try\"") >&5
5171
5375
  (eval $ac_try) 2>&5
5172
5376
  ac_status=$?
5173
 
  echo "$as_me:5173: \$? = $ac_status" >&5
 
5377
  echo "$as_me:5377: \$? = $ac_status" >&5
5174
5378
  (exit $ac_status); }; }; then
5175
5379
  cf_cv_posix_saved_ids=yes
5176
5380
 
5182
5386
  cf_cv_posix_saved_ids=unknown
5183
5387
else
5184
5388
  cat >conftest.$ac_ext <<_ACEOF
5185
 
#line 5185 "configure"
 
5389
#line 5389 "configure"
5186
5390
#include "confdefs.h"
5187
5391
 
5188
5392
#ifdef HAVE_STDLIB_H
5197
5401
}
5198
5402
_ACEOF
5199
5403
rm -f conftest$ac_exeext
5200
 
if { (eval echo "$as_me:5200: \"$ac_link\"") >&5
 
5404
if { (eval echo "$as_me:5404: \"$ac_link\"") >&5
5201
5405
  (eval $ac_link) 2>&5
5202
5406
  ac_status=$?
5203
 
  echo "$as_me:5203: \$? = $ac_status" >&5
 
5407
  echo "$as_me:5407: \$? = $ac_status" >&5
5204
5408
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5205
 
  { (eval echo "$as_me:5205: \"$ac_try\"") >&5
 
5409
  { (eval echo "$as_me:5409: \"$ac_try\"") >&5
5206
5410
  (eval $ac_try) 2>&5
5207
5411
  ac_status=$?
5208
 
  echo "$as_me:5208: \$? = $ac_status" >&5
 
5412
  echo "$as_me:5412: \$? = $ac_status" >&5
5209
5413
  (exit $ac_status); }; }; then
5210
5414
  cf_cv_posix_saved_ids=yes
5211
5415
else
5221
5425
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5222
5426
 
5223
5427
fi
5224
 
echo "$as_me:5224: result: $cf_cv_posix_saved_ids" >&5
 
5428
echo "$as_me:5428: result: $cf_cv_posix_saved_ids" >&5
5225
5429
echo "${ECHO_T}$cf_cv_posix_saved_ids" >&6
5226
5430
 
5227
5431
test "$cf_cv_posix_saved_ids" = yes && cat >>confdefs.h <<\EOF
5236
5440
test -n "$TERMCAP" && cf_TERMVAR="$TERM"
5237
5441
test -z "$cf_TERMVAR" && cf_TERMVAR=vt100
5238
5442
 
5239
 
echo "$as_me:5239: checking if we want full tgetent function" >&5
 
5443
echo "$as_me:5443: checking if we want full tgetent function" >&5
5240
5444
echo $ECHO_N "checking if we want full tgetent function... $ECHO_C" >&6
5241
5445
 
5242
5446
# Check whether --enable-full-tgetent or --disable-full-tgetent was given.
5253
5457
  cf_full_tgetent=yes
5254
5458
 
5255
5459
fi;
5256
 
echo "$as_me:5256: result: $cf_full_tgetent" >&5
 
5460
echo "$as_me:5460: result: $cf_full_tgetent" >&5
5257
5461
echo "${ECHO_T}$cf_full_tgetent" >&6
5258
5462
 
5259
5463
if test "$cf_full_tgetent" = yes ; then
5262
5466
        cf_test_message="tgetent"
5263
5467
fi
5264
5468
 
5265
 
echo "$as_me:5265: checking for $cf_test_message function" >&5
 
5469
echo "$as_me:5469: checking for $cf_test_message function" >&5
5266
5470
echo $ECHO_N "checking for $cf_test_message function... $ECHO_C" >&6
5267
5471
if test "${cf_cv_lib_tgetent+set}" = set; then
5268
5472
  echo $ECHO_N "(cached) $ECHO_C" >&6
5284
5488
  echo "cross-compiling, cannot verify if a termcap/tgetent is present in $cf_termlib" 1>&5
5285
5489
else
5286
5490
  cat >conftest.$ac_ext <<_ACEOF
5287
 
#line 5287 "configure"
 
5491
#line 5491 "configure"
5288
5492
#include "confdefs.h"
5289
5493
 
5290
5494
/* terminfo implementations ignore the buffer argument, making it useless for
5299
5503
        ${cf_cv_main_return:-return} ($cf_TERMTST); }
5300
5504
_ACEOF
5301
5505
rm -f conftest$ac_exeext
5302
 
if { (eval echo "$as_me:5302: \"$ac_link\"") >&5
 
5506
if { (eval echo "$as_me:5506: \"$ac_link\"") >&5
5303
5507
  (eval $ac_link) 2>&5
5304
5508
  ac_status=$?
5305
 
  echo "$as_me:5305: \$? = $ac_status" >&5
 
5509
  echo "$as_me:5509: \$? = $ac_status" >&5
5306
5510
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5307
 
  { (eval echo "$as_me:5307: \"$ac_try\"") >&5
 
5511
  { (eval echo "$as_me:5511: \"$ac_try\"") >&5
5308
5512
  (eval $ac_try) 2>&5
5309
5513
  ac_status=$?
5310
 
  echo "$as_me:5310: \$? = $ac_status" >&5
 
5514
  echo "$as_me:5514: \$? = $ac_status" >&5
5311
5515
  (exit $ac_status); }; }; then
5312
5516
  echo "yes, there is a termcap/tgetent in $cf_termlib" 1>&5
5313
5517
         if test -n "$cf_termlib" ; then
5328
5532
LIBS="$cf_save_LIBS"
5329
5533
 
5330
5534
fi
5331
 
echo "$as_me:5331: result: $cf_cv_lib_tgetent" >&5
 
5535
echo "$as_me:5535: result: $cf_cv_lib_tgetent" >&5
5332
5536
echo "${ECHO_T}$cf_cv_lib_tgetent" >&6
5333
5537
 
5334
5538
# If we found a working tgetent(), set LIBS and check for termcap.h.
5341
5545
#define USE_TERMCAP 1
5342
5546
EOF
5343
5547
 
5344
 
        cat >conftest.$ac_ext <<_ACEOF
5345
 
#line 5345 "configure"
 
5548
        if test "$cf_full_tgetent" = no ; then
 
5549
                cat >conftest.$ac_ext <<_ACEOF
 
5550
#line 5550 "configure"
5346
5551
#include "confdefs.h"
5347
5552
 
5348
5553
#include <termcap.h>
5358
5563
}
5359
5564
_ACEOF
5360
5565
rm -f conftest.$ac_objext
5361
 
if { (eval echo "$as_me:5361: \"$ac_compile\"") >&5
 
5566
if { (eval echo "$as_me:5566: \"$ac_compile\"") >&5
5362
5567
  (eval $ac_compile) 2>&5
5363
5568
  ac_status=$?
5364
 
  echo "$as_me:5364: \$? = $ac_status" >&5
 
5569
  echo "$as_me:5569: \$? = $ac_status" >&5
5365
5570
  (exit $ac_status); } &&
5366
5571
         { ac_try='test -s conftest.$ac_objext'
5367
 
  { (eval echo "$as_me:5367: \"$ac_try\"") >&5
 
5572
  { (eval echo "$as_me:5572: \"$ac_try\"") >&5
5368
5573
  (eval $ac_try) 2>&5
5369
5574
  ac_status=$?
5370
 
  echo "$as_me:5370: \$? = $ac_status" >&5
 
5575
  echo "$as_me:5575: \$? = $ac_status" >&5
5371
5576
  (exit $ac_status); }; }; then
5372
5577
  cat >>confdefs.h <<\EOF
5373
5578
#define HAVE_TERMCAP_H 1
5378
5583
cat conftest.$ac_ext >&5
5379
5584
fi
5380
5585
rm -f conftest.$ac_objext conftest.$ac_ext
 
5586
        else
 
5587
 
 
5588
for ac_header in termcap.h
 
5589
do
 
5590
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5591
echo "$as_me:5591: checking for $ac_header" >&5
 
5592
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
5593
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5594
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5595
else
 
5596
  cat >conftest.$ac_ext <<_ACEOF
 
5597
#line 5597 "configure"
 
5598
#include "confdefs.h"
 
5599
#include <$ac_header>
 
5600
_ACEOF
 
5601
if { (eval echo "$as_me:5601: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5602
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5603
  ac_status=$?
 
5604
  egrep -v '^ *\+' conftest.er1 >conftest.err
 
5605
  rm -f conftest.er1
 
5606
  cat conftest.err >&5
 
5607
  echo "$as_me:5607: \$? = $ac_status" >&5
 
5608
  (exit $ac_status); } >/dev/null; then
 
5609
  if test -s conftest.err; then
 
5610
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5611
  else
 
5612
    ac_cpp_err=
 
5613
  fi
 
5614
else
 
5615
  ac_cpp_err=yes
 
5616
fi
 
5617
if test -z "$ac_cpp_err"; then
 
5618
  eval "$as_ac_Header=yes"
 
5619
else
 
5620
  echo "$as_me: failed program was:" >&5
 
5621
  cat conftest.$ac_ext >&5
 
5622
  eval "$as_ac_Header=no"
 
5623
fi
 
5624
rm -f conftest.err conftest.$ac_ext
 
5625
fi
 
5626
echo "$as_me:5626: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
5627
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5628
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5629
  cat >>confdefs.h <<EOF
 
5630
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5631
EOF
 
5632
 
 
5633
fi
 
5634
done
 
5635
 
 
5636
        fi
5381
5637
else
5382
5638
        # If we didn't find a tgetent() that supports the buffer
5383
5639
        # argument, look again to see whether we can find even
5384
5640
        # a crippled one.  A crippled tgetent() is still useful to
5385
5641
        # validate values for the TERM environment variable given to
5386
5642
        # child processes.
5387
 
        echo "$as_me:5387: checking for partial tgetent function" >&5
 
5643
        echo "$as_me:5643: checking for partial tgetent function" >&5
5388
5644
echo $ECHO_N "checking for partial tgetent function... $ECHO_C" >&6
5389
5645
if test "${cf_cv_lib_part_tgetent+set}" = set; then
5390
5646
  echo $ECHO_N "(cached) $ECHO_C" >&6
5394
5650
        for cf_termlib in $cf_TERMLIB ; do
5395
5651
                LIBS="$cf_save_LIBS -l$cf_termlib"
5396
5652
                cat >conftest.$ac_ext <<_ACEOF
5397
 
#line 5397 "configure"
 
5653
#line 5653 "configure"
5398
5654
#include "confdefs.h"
5399
5655
 
5400
5656
int
5406
5662
}
5407
5663
_ACEOF
5408
5664
rm -f conftest.$ac_objext conftest$ac_exeext
5409
 
if { (eval echo "$as_me:5409: \"$ac_link\"") >&5
 
5665
if { (eval echo "$as_me:5665: \"$ac_link\"") >&5
5410
5666
  (eval $ac_link) 2>&5
5411
5667
  ac_status=$?
5412
 
  echo "$as_me:5412: \$? = $ac_status" >&5
 
5668
  echo "$as_me:5668: \$? = $ac_status" >&5
5413
5669
  (exit $ac_status); } &&
5414
5670
         { ac_try='test -s conftest$ac_exeext'
5415
 
  { (eval echo "$as_me:5415: \"$ac_try\"") >&5
 
5671
  { (eval echo "$as_me:5671: \"$ac_try\"") >&5
5416
5672
  (eval $ac_try) 2>&5
5417
5673
  ac_status=$?
5418
 
  echo "$as_me:5418: \$? = $ac_status" >&5
 
5674
  echo "$as_me:5674: \$? = $ac_status" >&5
5419
5675
  (exit $ac_status); }; }; then
5420
5676
  echo "there is a terminfo/tgetent in $cf_termlib" 1>&5
5421
5677
                         cf_cv_lib_part_tgetent="-l$cf_termlib"
5429
5685
        LIBS="$cf_save_LIBS"
5430
5686
 
5431
5687
fi
5432
 
echo "$as_me:5432: result: $cf_cv_lib_part_tgetent" >&5
 
5688
echo "$as_me:5688: result: $cf_cv_lib_part_tgetent" >&5
5433
5689
echo "${ECHO_T}$cf_cv_lib_part_tgetent" >&6
5434
5690
 
5435
5691
        if test "$cf_cv_lib_part_tgetent" != no ; then
5438
5694
for ac_header in termcap.h
5439
5695
do
5440
5696
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5441
 
echo "$as_me:5441: checking for $ac_header" >&5
 
5697
echo "$as_me:5697: checking for $ac_header" >&5
5442
5698
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5443
5699
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5444
5700
  echo $ECHO_N "(cached) $ECHO_C" >&6
5445
5701
else
5446
5702
  cat >conftest.$ac_ext <<_ACEOF
5447
 
#line 5447 "configure"
 
5703
#line 5703 "configure"
5448
5704
#include "confdefs.h"
5449
5705
#include <$ac_header>
5450
5706
_ACEOF
5451
 
if { (eval echo "$as_me:5451: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5707
if { (eval echo "$as_me:5707: \"$ac_cpp conftest.$ac_ext\"") >&5
5452
5708
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5453
5709
  ac_status=$?
5454
5710
  egrep -v '^ *\+' conftest.er1 >conftest.err
5455
5711
  rm -f conftest.er1
5456
5712
  cat conftest.err >&5
5457
 
  echo "$as_me:5457: \$? = $ac_status" >&5
 
5713
  echo "$as_me:5713: \$? = $ac_status" >&5
5458
5714
  (exit $ac_status); } >/dev/null; then
5459
5715
  if test -s conftest.err; then
5460
5716
    ac_cpp_err=$ac_c_preproc_warn_flag
5473
5729
fi
5474
5730
rm -f conftest.err conftest.$ac_ext
5475
5731
fi
5476
 
echo "$as_me:5476: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
5732
echo "$as_me:5732: result: `eval echo '${'$as_ac_Header'}'`" >&5
5477
5733
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5478
5734
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5479
5735
  cat >>confdefs.h <<EOF
5492
5748
        fi
5493
5749
fi
5494
5750
 
5495
 
echo "$as_me:5495: checking for directory to install resource files" >&5
 
5751
echo "$as_me:5751: checking for directory to install resource files" >&5
5496
5752
echo $ECHO_N "checking for directory to install resource files... $ECHO_C" >&6
5497
5753
 
5498
5754
# Check whether --with-app-defaults or --without-app-defaults was given.
5528
5784
  withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
5529
5785
  ;;
5530
5786
*)
5531
 
  { { echo "$as_me:5531: error: expected a pathname, not \"$withval\"" >&5
 
5787
  { { echo "$as_me:5787: error: expected a pathname, not \"$withval\"" >&5
5532
5788
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
5533
5789
   { (exit 1); exit 1; }; }
5534
5790
  ;;
5537
5793
fi
5538
5794
appsdir="$withval"
5539
5795
 
5540
 
echo "$as_me:5540: result: $appsdir" >&5
 
5796
echo "$as_me:5796: result: $appsdir" >&5
5541
5797
echo "${ECHO_T}$appsdir" >&6
5542
5798
 
5543
5799
no_appsdir=
5544
5800
test "$appsdir" = no && no_appsdir="#"
5545
5801
 
5546
 
echo "$as_me:5546: checking for directory to install icons" >&5
 
5802
echo "$as_me:5802: checking for directory to install icons" >&5
5547
5803
echo $ECHO_N "checking for directory to install icons... $ECHO_C" >&6
5548
5804
 
5549
5805
# Check whether --with-icondir or --without-icondir was given.
5579
5835
  withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
5580
5836
  ;;
5581
5837
*)
5582
 
  { { echo "$as_me:5582: error: expected a pathname, not \"$withval\"" >&5
 
5838
  { { echo "$as_me:5838: error: expected a pathname, not \"$withval\"" >&5
5583
5839
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
5584
5840
   { (exit 1); exit 1; }; }
5585
5841
  ;;
5588
5844
fi
5589
5845
icondir="$withval"
5590
5846
 
5591
 
echo "$as_me:5591: result: $icondir" >&5
 
5847
echo "$as_me:5847: result: $icondir" >&5
5592
5848
echo "${ECHO_T}$icondir" >&6
5593
5849
 
5594
5850
no_icondir=
5595
5851
test "$icondir" = no && no_icondir="#"
5596
5852
 
5597
5853
# Comment-out the install-desktop rule if the desktop-utils are not found.
5598
 
echo "$as_me:5598: checking if you want to install desktop files" >&5
 
5854
echo "$as_me:5854: checking if you want to install desktop files" >&5
5599
5855
echo $ECHO_N "checking if you want to install desktop files... $ECHO_C" >&6
5600
5856
 
5601
5857
# Check whether --enable-desktop or --disable-desktop was given.
5612
5868
  enable_desktop=$enableval
5613
5869
 
5614
5870
fi;
5615
 
echo "$as_me:5615: result: $enable_desktop" >&5
 
5871
echo "$as_me:5871: result: $enable_desktop" >&5
5616
5872
echo "${ECHO_T}$enable_desktop" >&6
5617
5873
 
5618
5874
desktop_utils=
5619
5875
if test "$enable_desktop" = yes ; then
5620
5876
# Extract the first word of "desktop-file-install", so it can be a program name with args.
5621
5877
set dummy desktop-file-install; ac_word=$2
5622
 
echo "$as_me:5622: checking for $ac_word" >&5
 
5878
echo "$as_me:5878: checking for $ac_word" >&5
5623
5879
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5624
5880
if test "${ac_cv_prog_desktop_utils+set}" = set; then
5625
5881
  echo $ECHO_N "(cached) $ECHO_C" >&6
5634
5890
  test -z "$ac_dir" && ac_dir=.
5635
5891
  $as_executable_p "$ac_dir/$ac_word" || continue
5636
5892
ac_cv_prog_desktop_utils="yes"
5637
 
echo "$as_me:5637: found $ac_dir/$ac_word" >&5
 
5893
echo "$as_me:5893: found $ac_dir/$ac_word" >&5
5638
5894
break
5639
5895
done
5640
5896
 
5643
5899
fi
5644
5900
desktop_utils=$ac_cv_prog_desktop_utils
5645
5901
if test -n "$desktop_utils"; then
5646
 
  echo "$as_me:5646: result: $desktop_utils" >&5
 
5902
  echo "$as_me:5902: result: $desktop_utils" >&5
5647
5903
echo "${ECHO_T}$desktop_utils" >&6
5648
5904
else
5649
 
  echo "$as_me:5649: result: no" >&5
 
5905
  echo "$as_me:5905: result: no" >&5
5650
5906
echo "${ECHO_T}no" >&6
5651
5907
fi
5652
5908
 
5656
5912
 
5657
5913
# inherit SINSTALL_OPTS from environment to allow packager to customize it.
5658
5914
 
5659
 
echo "$as_me:5659: checking for install-permissions reference" >&5
 
5915
echo "$as_me:5915: checking for install-permissions reference" >&5
5660
5916
echo $ECHO_N "checking for install-permissions reference... $ECHO_C" >&6
5661
5917
 
5662
5918
# Check whether --with-reference or --without-reference was given.
5666
5922
else
5667
5923
  with_reference=xterm
5668
5924
fi;
5669
 
echo "$as_me:5669: result: $with_reference" >&5
 
5925
echo "$as_me:5925: result: $with_reference" >&5
5670
5926
echo "${ECHO_T}$with_reference" >&6
5671
5927
 
5672
5928
with_full_paths=yes
5681
5937
do
5682
5938
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5683
5939
set dummy $ac_prog; ac_word=$2
5684
 
echo "$as_me:5684: checking for $ac_word" >&5
 
5940
echo "$as_me:5940: checking for $ac_word" >&5
5685
5941
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5686
5942
if test "${ac_cv_path_XTERM_PATH+set}" = set; then
5687
5943
  echo $ECHO_N "(cached) $ECHO_C" >&6
5698
5954
  test -z "$ac_dir" && ac_dir=.
5699
5955
  if $as_executable_p "$ac_dir/$ac_word"; then
5700
5956
   ac_cv_path_XTERM_PATH="$ac_dir/$ac_word"
5701
 
   echo "$as_me:5701: found $ac_dir/$ac_word" >&5
 
5957
   echo "$as_me:5957: found $ac_dir/$ac_word" >&5
5702
5958
   break
5703
5959
fi
5704
5960
done
5709
5965
XTERM_PATH=$ac_cv_path_XTERM_PATH
5710
5966
 
5711
5967
if test -n "$XTERM_PATH"; then
5712
 
  echo "$as_me:5712: result: $XTERM_PATH" >&5
 
5968
  echo "$as_me:5968: result: $XTERM_PATH" >&5
5713
5969
echo "${ECHO_T}$XTERM_PATH" >&6
5714
5970
else
5715
 
  echo "$as_me:5715: result: no" >&5
 
5971
  echo "$as_me:5971: result: no" >&5
5716
5972
echo "${ECHO_T}no" >&6
5717
5973
fi
5718
5974
 
5771
6027
 
5772
6028
if test -n "$cf_path_prog" ; then
5773
6029
 
5774
 
echo "${as_me-configure}:5774: testing defining path for ${cf_path_prog} ..." 1>&5
 
6030
echo "${as_me-configure}:6030: testing defining path for ${cf_path_prog} ..." 1>&5
5775
6031
 
5776
6032
        cat >>confdefs.h <<EOF
5777
6033
#define XTERM_PATH_PATH "$cf_path_prog"
5791
6047
if test "$program_transform_name" != "'s,,,'" ; then
5792
6048
cf_name=`echo "$program_transform_name" | sed -e 's,\\$\\$,$,g'`
5793
6049
cf_name=`echo xterm |sed -e "$cf_name"`
5794
 
echo "$as_me:5794: checking for symbolic link to create to $cf_name" >&5
 
6050
echo "$as_me:6050: checking for symbolic link to create to $cf_name" >&5
5795
6051
echo $ECHO_N "checking for symbolic link to create to $cf_name... $ECHO_C" >&6
5796
6052
 
5797
6053
# Check whether --with-xterm-symlink or --without-xterm-symlink was given.
5801
6057
else
5802
6058
  with_symlink=xterm
5803
6059
fi;
5804
 
echo "$as_me:5804: result: $with_symlink" >&5
 
6060
echo "$as_me:6060: result: $with_symlink" >&5
5805
6061
echo "${ECHO_T}$with_symlink" >&6
5806
6062
test "$with_symlink" = yes && with_symlink=xterm
5807
6063
test -n "$with_symlink" && \
5810
6066
        XTERM_SYMLINK="$with_symlink"
5811
6067
fi
5812
6068
 
5813
 
echo "$as_me:5813: checking if you want to disable setuid" >&5
 
6069
echo "$as_me:6069: checking if you want to disable setuid" >&5
5814
6070
echo $ECHO_N "checking if you want to disable setuid... $ECHO_C" >&6
5815
6071
 
5816
6072
# Check whether --enable-setuid or --disable-setuid was given.
5827
6083
  disable_setuid=no
5828
6084
 
5829
6085
fi;
5830
 
echo "$as_me:5830: result: $disable_setuid" >&5
 
6086
echo "$as_me:6086: result: $disable_setuid" >&5
5831
6087
echo "${ECHO_T}$disable_setuid" >&6
5832
6088
 
5833
 
echo "$as_me:5833: checking if you want to disable setgid" >&5
 
6089
echo "$as_me:6089: checking if you want to disable setgid" >&5
5834
6090
echo $ECHO_N "checking if you want to disable setgid... $ECHO_C" >&6
5835
6091
 
5836
6092
# Check whether --enable-setgid or --disable-setgid was given.
5847
6103
  disable_setgid=no
5848
6104
 
5849
6105
fi;
5850
 
echo "$as_me:5850: result: $disable_setgid" >&5
 
6106
echo "$as_me:6106: result: $disable_setgid" >&5
5851
6107
echo "${ECHO_T}$disable_setgid" >&6
5852
6108
 
5853
 
echo "$as_me:5853: checking if you want to run xterm setuid to a given user" >&5
 
6109
echo "$as_me:6109: checking if you want to run xterm setuid to a given user" >&5
5854
6110
echo $ECHO_N "checking if you want to run xterm setuid to a given user... $ECHO_C" >&6
5855
6111
 
5856
6112
# Check whether --with-setuid or --without-setuid was given.
5860
6116
else
5861
6117
  use_given_setuid=no
5862
6118
fi;
5863
 
echo "$as_me:5863: result: $use_given_setuid" >&5
 
6119
echo "$as_me:6119: result: $use_given_setuid" >&5
5864
6120
echo "${ECHO_T}$use_given_setuid" >&6
5865
6121
 
5866
6122
if test "$use_given_setuid" != no ; then
5872
6128
        SINSTALL_OPTS="$SINSTALL_OPTS u+s -u $cf_cv_given_setuid"
5873
6129
fi
5874
6130
 
5875
 
echo "$as_me:5875: checking if you want to run xterm setgid to match utmp/utmpx file" >&5
 
6131
echo "$as_me:6131: checking if you want to run xterm setgid to match utmp/utmpx file" >&5
5876
6132
echo $ECHO_N "checking if you want to run xterm setgid to match utmp/utmpx file... $ECHO_C" >&6
5877
6133
 
5878
6134
# Check whether --with-utmp-setgid or --without-utmp-setgid was given.
5882
6138
else
5883
6139
  use_utmp_setgid=no
5884
6140
fi;
5885
 
echo "$as_me:5885: result: $use_utmp_setgid" >&5
 
6141
echo "$as_me:6141: result: $use_utmp_setgid" >&5
5886
6142
echo "${ECHO_T}$use_utmp_setgid" >&6
5887
6143
 
5888
6144
if test "$use_utmp_setgid" != no ; then
5889
6145
        if test "$use_utmp_setgid" = yes ; then
5890
6146
 
5891
6147
if test $cf_cv_have_utmp != no ; then
5892
 
echo "$as_me:5892: checking for utmp/utmpx group" >&5
 
6148
echo "$as_me:6148: checking for utmp/utmpx group" >&5
5893
6149
echo $ECHO_N "checking for utmp/utmpx group... $ECHO_C" >&6
5894
6150
if test "${cf_cv_utmp_group+set}" = set; then
5895
6151
  echo $ECHO_N "(cached) $ECHO_C" >&6
5931
6187
done
5932
6188
 
5933
6189
fi
5934
 
echo "$as_me:5934: result: $cf_cv_utmp_group" >&5
 
6190
echo "$as_me:6190: result: $cf_cv_utmp_group" >&5
5935
6191
echo "${ECHO_T}$cf_cv_utmp_group" >&6
5936
6192
else
5937
 
        { { echo "$as_me:5937: error: cannot find utmp group" >&5
 
6193
        { { echo "$as_me:6193: error: cannot find utmp group" >&5
5938
6194
echo "$as_me: error: cannot find utmp group" >&2;}
5939
6195
   { (exit 1); exit 1; }; }
5940
6196
fi
5943
6199
                cf_cv_utmp_group=$use_utmp_setgid
5944
6200
        fi
5945
6201
        if test "$cf_cv_posix_saved_ids" != yes ; then
5946
 
                { { echo "$as_me:5946: error: Your system does not support POSIX saved-ids" >&5
 
6202
                { { echo "$as_me:6202: error: Your system does not support POSIX saved-ids" >&5
5947
6203
echo "$as_me: error: Your system does not support POSIX saved-ids" >&2;}
5948
6204
   { (exit 1); exit 1; }; }
5949
6205
        fi
5954
6210
        SINSTALL_OPTS="$SINSTALL_OPTS g+s -g $cf_cv_utmp_group"
5955
6211
fi
5956
6212
 
5957
 
echo "$as_me:5957: checking if you want to link with utempter" >&5
 
6213
echo "$as_me:6213: checking if you want to link with utempter" >&5
5958
6214
echo $ECHO_N "checking if you want to link with utempter... $ECHO_C" >&6
5959
6215
 
5960
6216
# Check whether --with-utempter or --without-utempter was given.
5964
6220
else
5965
6221
  use_utempter=no
5966
6222
fi;
5967
 
echo "$as_me:5967: result: $use_utempter" >&5
 
6223
echo "$as_me:6223: result: $use_utempter" >&5
5968
6224
echo "${ECHO_T}$use_utempter" >&6
5969
6225
 
5970
6226
if test "$use_utempter" = yes ; then
5971
6227
 
5972
 
echo "$as_me:5972: checking if we can link with utempter library" >&5
 
6228
echo "$as_me:6228: checking if we can link with utempter library" >&5
5973
6229
echo $ECHO_N "checking if we can link with utempter library... $ECHO_C" >&6
5974
6230
if test "${cf_cv_have_utempter+set}" = set; then
5975
6231
  echo $ECHO_N "(cached) $ECHO_C" >&6
5978
6234
cf_save_LIBS="$LIBS"
5979
6235
LIBS="-lutempter $LIBS"
5980
6236
cat >conftest.$ac_ext <<_ACEOF
5981
 
#line 5981 "configure"
 
6237
#line 6237 "configure"
5982
6238
#include "confdefs.h"
5983
6239
 
5984
6240
#include <utempter.h>
5995
6251
}
5996
6252
_ACEOF
5997
6253
rm -f conftest.$ac_objext conftest$ac_exeext
5998
 
if { (eval echo "$as_me:5998: \"$ac_link\"") >&5
 
6254
if { (eval echo "$as_me:6254: \"$ac_link\"") >&5
5999
6255
  (eval $ac_link) 2>&5
6000
6256
  ac_status=$?
6001
 
  echo "$as_me:6001: \$? = $ac_status" >&5
 
6257
  echo "$as_me:6257: \$? = $ac_status" >&5
6002
6258
  (exit $ac_status); } &&
6003
6259
         { ac_try='test -s conftest$ac_exeext'
6004
 
  { (eval echo "$as_me:6004: \"$ac_try\"") >&5
 
6260
  { (eval echo "$as_me:6260: \"$ac_try\"") >&5
6005
6261
  (eval $ac_try) 2>&5
6006
6262
  ac_status=$?
6007
 
  echo "$as_me:6007: \$? = $ac_status" >&5
 
6263
  echo "$as_me:6263: \$? = $ac_status" >&5
6008
6264
  (exit $ac_status); }; }; then
6009
6265
 
6010
6266
        cf_cv_have_utempter=yes
6018
6274
LIBS="$cf_save_LIBS"
6019
6275
 
6020
6276
fi
6021
 
echo "$as_me:6021: result: $cf_cv_have_utempter" >&5
 
6277
echo "$as_me:6277: result: $cf_cv_have_utempter" >&5
6022
6278
echo "${ECHO_T}$cf_cv_have_utempter" >&6
6023
6279
if test "$cf_cv_have_utempter" = yes ; then
6024
6280
        cat >>confdefs.h <<\EOF
6040
6296
                disable_setuid=yes
6041
6297
                test -n "$verbose" && echo "    No --disable-setuid option given, force to yes" 1>&6
6042
6298
 
6043
 
echo "${as_me-configure}:6043: testing No --disable-setuid option given, force to yes ..." 1>&5
 
6299
echo "${as_me-configure}:6299: testing No --disable-setuid option given, force to yes ..." 1>&5
6044
6300
 
6045
6301
        fi
6046
6302
fi
6047
6303
 
6048
6304
###     checks for external data
6049
6305
 
6050
 
echo "$as_me:6050: checking if external errno is declared" >&5
 
6306
echo "$as_me:6306: checking if external errno is declared" >&5
6051
6307
echo $ECHO_N "checking if external errno is declared... $ECHO_C" >&6
6052
6308
if test "${cf_cv_dcl_errno+set}" = set; then
6053
6309
  echo $ECHO_N "(cached) $ECHO_C" >&6
6054
6310
else
6055
6311
 
6056
6312
    cat >conftest.$ac_ext <<_ACEOF
6057
 
#line 6057 "configure"
 
6313
#line 6313 "configure"
6058
6314
#include "confdefs.h"
6059
6315
 
6060
6316
#ifdef HAVE_STDLIB_H
6072
6328
}
6073
6329
_ACEOF
6074
6330
rm -f conftest.$ac_objext
6075
 
if { (eval echo "$as_me:6075: \"$ac_compile\"") >&5
 
6331
if { (eval echo "$as_me:6331: \"$ac_compile\"") >&5
6076
6332
  (eval $ac_compile) 2>&5
6077
6333
  ac_status=$?
6078
 
  echo "$as_me:6078: \$? = $ac_status" >&5
 
6334
  echo "$as_me:6334: \$? = $ac_status" >&5
6079
6335
  (exit $ac_status); } &&
6080
6336
         { ac_try='test -s conftest.$ac_objext'
6081
 
  { (eval echo "$as_me:6081: \"$ac_try\"") >&5
 
6337
  { (eval echo "$as_me:6337: \"$ac_try\"") >&5
6082
6338
  (eval $ac_try) 2>&5
6083
6339
  ac_status=$?
6084
 
  echo "$as_me:6084: \$? = $ac_status" >&5
 
6340
  echo "$as_me:6340: \$? = $ac_status" >&5
6085
6341
  (exit $ac_status); }; }; then
6086
6342
  cf_cv_dcl_errno=yes
6087
6343
else
6092
6348
rm -f conftest.$ac_objext conftest.$ac_ext
6093
6349
 
6094
6350
fi
6095
 
echo "$as_me:6095: result: $cf_cv_dcl_errno" >&5
 
6351
echo "$as_me:6351: result: $cf_cv_dcl_errno" >&5
6096
6352
echo "${ECHO_T}$cf_cv_dcl_errno" >&6
6097
6353
 
6098
6354
if test "$cf_cv_dcl_errno" = no ; then
6107
6363
 
6108
6364
# It's possible (for near-UNIX clones) that the data doesn't exist
6109
6365
 
6110
 
echo "$as_me:6110: checking if external errno exists" >&5
 
6366
echo "$as_me:6366: checking if external errno exists" >&5
6111
6367
echo $ECHO_N "checking if external errno exists... $ECHO_C" >&6
6112
6368
if test "${cf_cv_have_errno+set}" = set; then
6113
6369
  echo $ECHO_N "(cached) $ECHO_C" >&6
6114
6370
else
6115
6371
 
6116
6372
    cat >conftest.$ac_ext <<_ACEOF
6117
 
#line 6117 "configure"
 
6373
#line 6373 "configure"
6118
6374
#include "confdefs.h"
6119
6375
 
6120
6376
#undef errno
6129
6385
}
6130
6386
_ACEOF
6131
6387
rm -f conftest.$ac_objext conftest$ac_exeext
6132
 
if { (eval echo "$as_me:6132: \"$ac_link\"") >&5
 
6388
if { (eval echo "$as_me:6388: \"$ac_link\"") >&5
6133
6389
  (eval $ac_link) 2>&5
6134
6390
  ac_status=$?
6135
 
  echo "$as_me:6135: \$? = $ac_status" >&5
 
6391
  echo "$as_me:6391: \$? = $ac_status" >&5
6136
6392
  (exit $ac_status); } &&
6137
6393
         { ac_try='test -s conftest$ac_exeext'
6138
 
  { (eval echo "$as_me:6138: \"$ac_try\"") >&5
 
6394
  { (eval echo "$as_me:6394: \"$ac_try\"") >&5
6139
6395
  (eval $ac_try) 2>&5
6140
6396
  ac_status=$?
6141
 
  echo "$as_me:6141: \$? = $ac_status" >&5
 
6397
  echo "$as_me:6397: \$? = $ac_status" >&5
6142
6398
  (exit $ac_status); }; }; then
6143
6399
  cf_cv_have_errno=yes
6144
6400
else
6149
6405
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6150
6406
 
6151
6407
fi
6152
 
echo "$as_me:6152: result: $cf_cv_have_errno" >&5
 
6408
echo "$as_me:6408: result: $cf_cv_have_errno" >&5
6153
6409
echo "${ECHO_T}$cf_cv_have_errno" >&6
6154
6410
 
6155
6411
if test "$cf_cv_have_errno" = yes ; then
6162
6418
 
6163
6419
fi
6164
6420
 
6165
 
echo "$as_me:6165: checking for explicit tty group name" >&5
 
6421
echo "$as_me:6421: checking for explicit tty group name" >&5
6166
6422
echo $ECHO_N "checking for explicit tty group name... $ECHO_C" >&6
6167
6423
 
6168
6424
# Check whether --with-tty-group or --without-tty-group was given.
6174
6430
fi;
6175
6431
test -z "$cf_tty_group"    && cf_tty_group=auto...
6176
6432
test "$cf_tty_group" = yes && cf_tty_group=auto...
6177
 
echo "$as_me:6177: result: $cf_tty_group" >&5
 
6433
echo "$as_me:6433: result: $cf_tty_group" >&5
6178
6434
echo "${ECHO_T}$cf_tty_group" >&6
6179
6435
 
6180
6436
if test "$cf_tty_group" = "auto..." ; then
6181
 
echo "$as_me:6181: checking for tty group name" >&5
 
6437
echo "$as_me:6437: checking for tty group name" >&5
6182
6438
echo $ECHO_N "checking for tty group name... $ECHO_C" >&6
6183
6439
if test "${cf_cv_tty_group_name+set}" = set; then
6184
6440
  echo $ECHO_N "(cached) $ECHO_C" >&6
6231
6487
fi
6232
6488
 
6233
6489
fi
6234
 
echo "$as_me:6234: result: $cf_cv_tty_group_name" >&5
 
6490
echo "$as_me:6490: result: $cf_cv_tty_group_name" >&5
6235
6491
echo "${ECHO_T}$cf_cv_tty_group_name" >&6
6236
6492
cf_tty_group="$cf_cv_tty_group_name"
6237
6493
else
6250
6506
# does apply to the device.  We cannot perform this test if we are in batch
6251
6507
# mode, or if we are cross-compiling.
6252
6508
 
6253
 
echo "$as_me:6253: checking if we may use the $cf_tty_group group" >&5
 
6509
echo "$as_me:6509: checking if we may use the $cf_tty_group group" >&5
6254
6510
echo $ECHO_N "checking if we may use the $cf_tty_group group... $ECHO_C" >&6
6255
6511
if test "${cf_cv_tty_group+set}" = set; then
6256
6512
  echo $ECHO_N "(cached) $ECHO_C" >&6
6263
6519
  cf_cv_tty_group=unknown
6264
6520
else
6265
6521
  cat >conftest.$ac_ext <<_ACEOF
6266
 
#line 6266 "configure"
 
6522
#line 6522 "configure"
6267
6523
#include "confdefs.h"
6268
6524
 
6269
6525
#include <unistd.h>
6289
6545
 
6290
6546
_ACEOF
6291
6547
rm -f conftest$ac_exeext
6292
 
if { (eval echo "$as_me:6292: \"$ac_link\"") >&5
 
6548
if { (eval echo "$as_me:6548: \"$ac_link\"") >&5
6293
6549
  (eval $ac_link) 2>&5
6294
6550
  ac_status=$?
6295
 
  echo "$as_me:6295: \$? = $ac_status" >&5
 
6551
  echo "$as_me:6551: \$? = $ac_status" >&5
6296
6552
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6297
 
  { (eval echo "$as_me:6297: \"$ac_try\"") >&5
 
6553
  { (eval echo "$as_me:6553: \"$ac_try\"") >&5
6298
6554
  (eval $ac_try) 2>&5
6299
6555
  ac_status=$?
6300
 
  echo "$as_me:6300: \$? = $ac_status" >&5
 
6556
  echo "$as_me:6556: \$? = $ac_status" >&5
6301
6557
  (exit $ac_status); }; }; then
6302
6558
  cf_cv_tty_group=yes
6303
6559
else
6315
6571
fi
6316
6572
 
6317
6573
fi
6318
 
echo "$as_me:6318: result: $cf_cv_tty_group" >&5
 
6574
echo "$as_me:6574: result: $cf_cv_tty_group" >&5
6319
6575
echo "${ECHO_T}$cf_cv_tty_group" >&6
6320
6576
 
6321
6577
if test $cf_cv_tty_group = no ; then
6322
 
        { echo "$as_me:6322: WARNING: Cannot use $cf_tty_group group" >&5
 
6578
        { echo "$as_me:6578: WARNING: Cannot use $cf_tty_group group" >&5
6323
6579
echo "$as_me: WARNING: Cannot use $cf_tty_group group" >&2;}
6324
6580
else
6325
6581
        cat >>confdefs.h <<\EOF
6330
6586
 
6331
6587
###     checks for system services and user specified options
6332
6588
 
6333
 
echo "$as_me:6333: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
6589
echo "$as_me:6589: checking for sys/wait.h that is POSIX.1 compatible" >&5
6334
6590
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
6335
6591
if test "${ac_cv_header_sys_wait_h+set}" = set; then
6336
6592
  echo $ECHO_N "(cached) $ECHO_C" >&6
6337
6593
else
6338
6594
  cat >conftest.$ac_ext <<_ACEOF
6339
 
#line 6339 "configure"
 
6595
#line 6595 "configure"
6340
6596
#include "confdefs.h"
6341
6597
#include <sys/types.h>
6342
6598
#include <sys/wait.h>
6358
6614
}
6359
6615
_ACEOF
6360
6616
rm -f conftest.$ac_objext
6361
 
if { (eval echo "$as_me:6361: \"$ac_compile\"") >&5
 
6617
if { (eval echo "$as_me:6617: \"$ac_compile\"") >&5
6362
6618
  (eval $ac_compile) 2>&5
6363
6619
  ac_status=$?
6364
 
  echo "$as_me:6364: \$? = $ac_status" >&5
 
6620
  echo "$as_me:6620: \$? = $ac_status" >&5
6365
6621
  (exit $ac_status); } &&
6366
6622
         { ac_try='test -s conftest.$ac_objext'
6367
 
  { (eval echo "$as_me:6367: \"$ac_try\"") >&5
 
6623
  { (eval echo "$as_me:6623: \"$ac_try\"") >&5
6368
6624
  (eval $ac_try) 2>&5
6369
6625
  ac_status=$?
6370
 
  echo "$as_me:6370: \$? = $ac_status" >&5
 
6626
  echo "$as_me:6626: \$? = $ac_status" >&5
6371
6627
  (exit $ac_status); }; }; then
6372
6628
  ac_cv_header_sys_wait_h=yes
6373
6629
else
6377
6633
fi
6378
6634
rm -f conftest.$ac_objext conftest.$ac_ext
6379
6635
fi
6380
 
echo "$as_me:6380: result: $ac_cv_header_sys_wait_h" >&5
 
6636
echo "$as_me:6636: result: $ac_cv_header_sys_wait_h" >&5
6381
6637
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6382
6638
if test $ac_cv_header_sys_wait_h = yes; then
6383
6639
 
6387
6643
 
6388
6644
fi
6389
6645
 
6390
 
echo "$as_me:6390: checking for POSIX wait functions" >&5
 
6646
echo "$as_me:6646: checking for POSIX wait functions" >&5
6391
6647
echo $ECHO_N "checking for POSIX wait functions... $ECHO_C" >&6
6392
6648
if test "${cf_cv_posix_wait+set}" = set; then
6393
6649
  echo $ECHO_N "(cached) $ECHO_C" >&6
6394
6650
else
6395
6651
 
6396
6652
cat >conftest.$ac_ext <<_ACEOF
6397
 
#line 6397 "configure"
 
6653
#line 6653 "configure"
6398
6654
#include "confdefs.h"
6399
6655
 
6400
6656
#include <stdlib.h>
6417
6673
}
6418
6674
_ACEOF
6419
6675
rm -f conftest.$ac_objext conftest$ac_exeext
6420
 
if { (eval echo "$as_me:6420: \"$ac_link\"") >&5
 
6676
if { (eval echo "$as_me:6676: \"$ac_link\"") >&5
6421
6677
  (eval $ac_link) 2>&5
6422
6678
  ac_status=$?
6423
 
  echo "$as_me:6423: \$? = $ac_status" >&5
 
6679
  echo "$as_me:6679: \$? = $ac_status" >&5
6424
6680
  (exit $ac_status); } &&
6425
6681
         { ac_try='test -s conftest$ac_exeext'
6426
 
  { (eval echo "$as_me:6426: \"$ac_try\"") >&5
 
6682
  { (eval echo "$as_me:6682: \"$ac_try\"") >&5
6427
6683
  (eval $ac_try) 2>&5
6428
6684
  ac_status=$?
6429
 
  echo "$as_me:6429: \$? = $ac_status" >&5
 
6685
  echo "$as_me:6685: \$? = $ac_status" >&5
6430
6686
  (exit $ac_status); }; }; then
6431
6687
  cf_cv_posix_wait=yes
6432
6688
else
6437
6693
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6438
6694
 
6439
6695
fi
6440
 
echo "$as_me:6440: result: $cf_cv_posix_wait" >&5
 
6696
echo "$as_me:6696: result: $cf_cv_posix_wait" >&5
6441
6697
echo "${ECHO_T}$cf_cv_posix_wait" >&6
6442
6698
test "$cf_cv_posix_wait" = yes && cat >>confdefs.h <<\EOF
6443
6699
#define USE_POSIX_WAIT 1
6444
6700
EOF
6445
6701
 
6446
 
echo "$as_me:6446: checking if external sys_nerr is declared" >&5
 
6702
echo "$as_me:6702: checking if external sys_nerr is declared" >&5
6447
6703
echo $ECHO_N "checking if external sys_nerr is declared... $ECHO_C" >&6
6448
6704
if test "${cf_cv_dcl_sys_nerr+set}" = set; then
6449
6705
  echo $ECHO_N "(cached) $ECHO_C" >&6
6450
6706
else
6451
6707
 
6452
6708
    cat >conftest.$ac_ext <<_ACEOF
6453
 
#line 6453 "configure"
 
6709
#line 6709 "configure"
6454
6710
#include "confdefs.h"
6455
6711
 
6456
6712
#ifdef HAVE_STDLIB_H
6468
6724
}
6469
6725
_ACEOF
6470
6726
rm -f conftest.$ac_objext
6471
 
if { (eval echo "$as_me:6471: \"$ac_compile\"") >&5
 
6727
if { (eval echo "$as_me:6727: \"$ac_compile\"") >&5
6472
6728
  (eval $ac_compile) 2>&5
6473
6729
  ac_status=$?
6474
 
  echo "$as_me:6474: \$? = $ac_status" >&5
 
6730
  echo "$as_me:6730: \$? = $ac_status" >&5
6475
6731
  (exit $ac_status); } &&
6476
6732
         { ac_try='test -s conftest.$ac_objext'
6477
 
  { (eval echo "$as_me:6477: \"$ac_try\"") >&5
 
6733
  { (eval echo "$as_me:6733: \"$ac_try\"") >&5
6478
6734
  (eval $ac_try) 2>&5
6479
6735
  ac_status=$?
6480
 
  echo "$as_me:6480: \$? = $ac_status" >&5
 
6736
  echo "$as_me:6736: \$? = $ac_status" >&5
6481
6737
  (exit $ac_status); }; }; then
6482
6738
  cf_cv_dcl_sys_nerr=yes
6483
6739
else
6488
6744
rm -f conftest.$ac_objext conftest.$ac_ext
6489
6745
 
6490
6746
fi
6491
 
echo "$as_me:6491: result: $cf_cv_dcl_sys_nerr" >&5
 
6747
echo "$as_me:6747: result: $cf_cv_dcl_sys_nerr" >&5
6492
6748
echo "${ECHO_T}$cf_cv_dcl_sys_nerr" >&6
6493
6749
 
6494
6750
if test "$cf_cv_dcl_sys_nerr" = no ; then
6503
6759
 
6504
6760
# It's possible (for near-UNIX clones) that the data doesn't exist
6505
6761
 
6506
 
echo "$as_me:6506: checking if external sys_nerr exists" >&5
 
6762
echo "$as_me:6762: checking if external sys_nerr exists" >&5
6507
6763
echo $ECHO_N "checking if external sys_nerr exists... $ECHO_C" >&6
6508
6764
if test "${cf_cv_have_sys_nerr+set}" = set; then
6509
6765
  echo $ECHO_N "(cached) $ECHO_C" >&6
6510
6766
else
6511
6767
 
6512
6768
    cat >conftest.$ac_ext <<_ACEOF
6513
 
#line 6513 "configure"
 
6769
#line 6769 "configure"
6514
6770
#include "confdefs.h"
6515
6771
 
6516
6772
#undef sys_nerr
6525
6781
}
6526
6782
_ACEOF
6527
6783
rm -f conftest.$ac_objext conftest$ac_exeext
6528
 
if { (eval echo "$as_me:6528: \"$ac_link\"") >&5
 
6784
if { (eval echo "$as_me:6784: \"$ac_link\"") >&5
6529
6785
  (eval $ac_link) 2>&5
6530
6786
  ac_status=$?
6531
 
  echo "$as_me:6531: \$? = $ac_status" >&5
 
6787
  echo "$as_me:6787: \$? = $ac_status" >&5
6532
6788
  (exit $ac_status); } &&
6533
6789
         { ac_try='test -s conftest$ac_exeext'
6534
 
  { (eval echo "$as_me:6534: \"$ac_try\"") >&5
 
6790
  { (eval echo "$as_me:6790: \"$ac_try\"") >&5
6535
6791
  (eval $ac_try) 2>&5
6536
6792
  ac_status=$?
6537
 
  echo "$as_me:6537: \$? = $ac_status" >&5
 
6793
  echo "$as_me:6793: \$? = $ac_status" >&5
6538
6794
  (exit $ac_status); }; }; then
6539
6795
  cf_cv_have_sys_nerr=yes
6540
6796
else
6545
6801
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6546
6802
 
6547
6803
fi
6548
 
echo "$as_me:6548: result: $cf_cv_have_sys_nerr" >&5
 
6804
echo "$as_me:6804: result: $cf_cv_have_sys_nerr" >&5
6549
6805
echo "${ECHO_T}$cf_cv_have_sys_nerr" >&6
6550
6806
 
6551
6807
if test "$cf_cv_have_sys_nerr" = yes ; then
6558
6814
 
6559
6815
fi
6560
6816
 
6561
 
echo "$as_me:6561: checking if external sys_errlist is declared" >&5
 
6817
echo "$as_me:6817: checking if external sys_errlist is declared" >&5
6562
6818
echo $ECHO_N "checking if external sys_errlist is declared... $ECHO_C" >&6
6563
6819
if test "${cf_cv_dcl_sys_errlist+set}" = set; then
6564
6820
  echo $ECHO_N "(cached) $ECHO_C" >&6
6565
6821
else
6566
6822
 
6567
6823
    cat >conftest.$ac_ext <<_ACEOF
6568
 
#line 6568 "configure"
 
6824
#line 6824 "configure"
6569
6825
#include "confdefs.h"
6570
6826
 
6571
6827
#ifdef HAVE_STDLIB_H
6583
6839
}
6584
6840
_ACEOF
6585
6841
rm -f conftest.$ac_objext
6586
 
if { (eval echo "$as_me:6586: \"$ac_compile\"") >&5
 
6842
if { (eval echo "$as_me:6842: \"$ac_compile\"") >&5
6587
6843
  (eval $ac_compile) 2>&5
6588
6844
  ac_status=$?
6589
 
  echo "$as_me:6589: \$? = $ac_status" >&5
 
6845
  echo "$as_me:6845: \$? = $ac_status" >&5
6590
6846
  (exit $ac_status); } &&
6591
6847
         { ac_try='test -s conftest.$ac_objext'
6592
 
  { (eval echo "$as_me:6592: \"$ac_try\"") >&5
 
6848
  { (eval echo "$as_me:6848: \"$ac_try\"") >&5
6593
6849
  (eval $ac_try) 2>&5
6594
6850
  ac_status=$?
6595
 
  echo "$as_me:6595: \$? = $ac_status" >&5
 
6851
  echo "$as_me:6851: \$? = $ac_status" >&5
6596
6852
  (exit $ac_status); }; }; then
6597
6853
  cf_cv_dcl_sys_errlist=yes
6598
6854
else
6603
6859
rm -f conftest.$ac_objext conftest.$ac_ext
6604
6860
 
6605
6861
fi
6606
 
echo "$as_me:6606: result: $cf_cv_dcl_sys_errlist" >&5
 
6862
echo "$as_me:6862: result: $cf_cv_dcl_sys_errlist" >&5
6607
6863
echo "${ECHO_T}$cf_cv_dcl_sys_errlist" >&6
6608
6864
 
6609
6865
if test "$cf_cv_dcl_sys_errlist" = no ; then
6618
6874
 
6619
6875
# It's possible (for near-UNIX clones) that the data doesn't exist
6620
6876
 
6621
 
echo "$as_me:6621: checking if external sys_errlist exists" >&5
 
6877
echo "$as_me:6877: checking if external sys_errlist exists" >&5
6622
6878
echo $ECHO_N "checking if external sys_errlist exists... $ECHO_C" >&6
6623
6879
if test "${cf_cv_have_sys_errlist+set}" = set; then
6624
6880
  echo $ECHO_N "(cached) $ECHO_C" >&6
6625
6881
else
6626
6882
 
6627
6883
    cat >conftest.$ac_ext <<_ACEOF
6628
 
#line 6628 "configure"
 
6884
#line 6884 "configure"
6629
6885
#include "confdefs.h"
6630
6886
 
6631
6887
#undef sys_errlist
6640
6896
}
6641
6897
_ACEOF
6642
6898
rm -f conftest.$ac_objext conftest$ac_exeext
6643
 
if { (eval echo "$as_me:6643: \"$ac_link\"") >&5
 
6899
if { (eval echo "$as_me:6899: \"$ac_link\"") >&5
6644
6900
  (eval $ac_link) 2>&5
6645
6901
  ac_status=$?
6646
 
  echo "$as_me:6646: \$? = $ac_status" >&5
 
6902
  echo "$as_me:6902: \$? = $ac_status" >&5
6647
6903
  (exit $ac_status); } &&
6648
6904
         { ac_try='test -s conftest$ac_exeext'
6649
 
  { (eval echo "$as_me:6649: \"$ac_try\"") >&5
 
6905
  { (eval echo "$as_me:6905: \"$ac_try\"") >&5
6650
6906
  (eval $ac_try) 2>&5
6651
6907
  ac_status=$?
6652
 
  echo "$as_me:6652: \$? = $ac_status" >&5
 
6908
  echo "$as_me:6908: \$? = $ac_status" >&5
6653
6909
  (exit $ac_status); }; }; then
6654
6910
  cf_cv_have_sys_errlist=yes
6655
6911
else
6660
6916
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6661
6917
 
6662
6918
fi
6663
 
echo "$as_me:6663: result: $cf_cv_have_sys_errlist" >&5
 
6919
echo "$as_me:6919: result: $cf_cv_have_sys_errlist" >&5
6664
6920
echo "${ECHO_T}$cf_cv_have_sys_errlist" >&6
6665
6921
 
6666
6922
if test "$cf_cv_have_sys_errlist" = yes ; then
6680
6936
 
6681
6937
do
6682
6938
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6683
 
echo "$as_me:6683: checking for $ac_header" >&5
 
6939
echo "$as_me:6939: checking for $ac_header" >&5
6684
6940
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6685
6941
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6686
6942
  echo $ECHO_N "(cached) $ECHO_C" >&6
6687
6943
else
6688
6944
  cat >conftest.$ac_ext <<_ACEOF
6689
 
#line 6689 "configure"
 
6945
#line 6945 "configure"
6690
6946
#include "confdefs.h"
6691
6947
#include <$ac_header>
6692
6948
_ACEOF
6693
 
if { (eval echo "$as_me:6693: \"$ac_cpp conftest.$ac_ext\"") >&5
 
6949
if { (eval echo "$as_me:6949: \"$ac_cpp conftest.$ac_ext\"") >&5
6694
6950
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6695
6951
  ac_status=$?
6696
6952
  egrep -v '^ *\+' conftest.er1 >conftest.err
6697
6953
  rm -f conftest.er1
6698
6954
  cat conftest.err >&5
6699
 
  echo "$as_me:6699: \$? = $ac_status" >&5
 
6955
  echo "$as_me:6955: \$? = $ac_status" >&5
6700
6956
  (exit $ac_status); } >/dev/null; then
6701
6957
  if test -s conftest.err; then
6702
6958
    ac_cpp_err=$ac_c_preproc_warn_flag
6715
6971
fi
6716
6972
rm -f conftest.err conftest.$ac_ext
6717
6973
fi
6718
 
echo "$as_me:6718: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
6974
echo "$as_me:6974: result: `eval echo '${'$as_ac_Header'}'`" >&5
6719
6975
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6720
6976
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6721
6977
  cat >>confdefs.h <<EOF
6725
6981
fi
6726
6982
done
6727
6983
 
6728
 
echo "$as_me:6728: checking if we should define SYSV" >&5
 
6984
echo "$as_me:6984: checking if we should define SYSV" >&5
6729
6985
echo $ECHO_N "checking if we should define SYSV... $ECHO_C" >&6
6730
6986
if test "${cf_cv_sysv+set}" = set; then
6731
6987
  echo $ECHO_N "(cached) $ECHO_C" >&6
6732
6988
else
6733
6989
 
6734
6990
cat >conftest.$ac_ext <<_ACEOF
6735
 
#line 6735 "configure"
 
6991
#line 6991 "configure"
6736
6992
#include "confdefs.h"
6737
6993
 
6738
6994
#undef  SYSV
6776
7032
}
6777
7033
_ACEOF
6778
7034
rm -f conftest.$ac_objext
6779
 
if { (eval echo "$as_me:6779: \"$ac_compile\"") >&5
 
7035
if { (eval echo "$as_me:7035: \"$ac_compile\"") >&5
6780
7036
  (eval $ac_compile) 2>&5
6781
7037
  ac_status=$?
6782
 
  echo "$as_me:6782: \$? = $ac_status" >&5
 
7038
  echo "$as_me:7038: \$? = $ac_status" >&5
6783
7039
  (exit $ac_status); } &&
6784
7040
         { ac_try='test -s conftest.$ac_objext'
6785
 
  { (eval echo "$as_me:6785: \"$ac_try\"") >&5
 
7041
  { (eval echo "$as_me:7041: \"$ac_try\"") >&5
6786
7042
  (eval $ac_try) 2>&5
6787
7043
  ac_status=$?
6788
 
  echo "$as_me:6788: \$? = $ac_status" >&5
 
7044
  echo "$as_me:7044: \$? = $ac_status" >&5
6789
7045
  (exit $ac_status); }; }; then
6790
7046
  cf_cv_sysv=yes
6791
7047
else
6796
7052
rm -f conftest.$ac_objext conftest.$ac_ext
6797
7053
 
6798
7054
fi
6799
 
echo "$as_me:6799: result: $cf_cv_sysv" >&5
 
7055
echo "$as_me:7055: result: $cf_cv_sysv" >&5
6800
7056
echo "${ECHO_T}$cf_cv_sysv" >&6
6801
7057
test "$cf_cv_sysv" = yes && cat >>confdefs.h <<\EOF
6802
7058
#define SYSV 1
6803
7059
EOF
6804
7060
 
6805
 
echo "$as_me:6805: checking for elf_begin in -lelf" >&5
 
7061
echo "$as_me:7061: checking for elf_begin in -lelf" >&5
6806
7062
echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
6807
7063
if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
6808
7064
  echo $ECHO_N "(cached) $ECHO_C" >&6
6810
7066
  ac_check_lib_save_LIBS=$LIBS
6811
7067
LIBS="-lelf  $LIBS"
6812
7068
cat >conftest.$ac_ext <<_ACEOF
6813
 
#line 6813 "configure"
 
7069
#line 7069 "configure"
6814
7070
#include "confdefs.h"
6815
7071
 
6816
7072
/* Override any gcc2 internal prototype to avoid an error.  */
6829
7085
}
6830
7086
_ACEOF
6831
7087
rm -f conftest.$ac_objext conftest$ac_exeext
6832
 
if { (eval echo "$as_me:6832: \"$ac_link\"") >&5
 
7088
if { (eval echo "$as_me:7088: \"$ac_link\"") >&5
6833
7089
  (eval $ac_link) 2>&5
6834
7090
  ac_status=$?
6835
 
  echo "$as_me:6835: \$? = $ac_status" >&5
 
7091
  echo "$as_me:7091: \$? = $ac_status" >&5
6836
7092
  (exit $ac_status); } &&
6837
7093
         { ac_try='test -s conftest$ac_exeext'
6838
 
  { (eval echo "$as_me:6838: \"$ac_try\"") >&5
 
7094
  { (eval echo "$as_me:7094: \"$ac_try\"") >&5
6839
7095
  (eval $ac_try) 2>&5
6840
7096
  ac_status=$?
6841
 
  echo "$as_me:6841: \$? = $ac_status" >&5
 
7097
  echo "$as_me:7097: \$? = $ac_status" >&5
6842
7098
  (exit $ac_status); }; }; then
6843
7099
  ac_cv_lib_elf_elf_begin=yes
6844
7100
else
6849
7105
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6850
7106
LIBS=$ac_check_lib_save_LIBS
6851
7107
fi
6852
 
echo "$as_me:6852: result: $ac_cv_lib_elf_elf_begin" >&5
 
7108
echo "$as_me:7108: result: $ac_cv_lib_elf_elf_begin" >&5
6853
7109
echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
6854
7110
if test $ac_cv_lib_elf_elf_begin = yes; then
6855
7111
 
6856
 
echo "$as_me:6856: checking if this is an SVR4 system" >&5
 
7112
echo "$as_me:7112: checking if this is an SVR4 system" >&5
6857
7113
echo $ECHO_N "checking if this is an SVR4 system... $ECHO_C" >&6
6858
7114
if test "${cf_cv_svr4+set}" = set; then
6859
7115
  echo $ECHO_N "(cached) $ECHO_C" >&6
6860
7116
else
6861
7117
 
6862
7118
cat >conftest.$ac_ext <<_ACEOF
6863
 
#line 6863 "configure"
 
7119
#line 7119 "configure"
6864
7120
#include "confdefs.h"
6865
7121
 
6866
7122
#include <elf.h>
6886
7142
}
6887
7143
_ACEOF
6888
7144
rm -f conftest.$ac_objext
6889
 
if { (eval echo "$as_me:6889: \"$ac_compile\"") >&5
 
7145
if { (eval echo "$as_me:7145: \"$ac_compile\"") >&5
6890
7146
  (eval $ac_compile) 2>&5
6891
7147
  ac_status=$?
6892
 
  echo "$as_me:6892: \$? = $ac_status" >&5
 
7148
  echo "$as_me:7148: \$? = $ac_status" >&5
6893
7149
  (exit $ac_status); } &&
6894
7150
         { ac_try='test -s conftest.$ac_objext'
6895
 
  { (eval echo "$as_me:6895: \"$ac_try\"") >&5
 
7151
  { (eval echo "$as_me:7151: \"$ac_try\"") >&5
6896
7152
  (eval $ac_try) 2>&5
6897
7153
  ac_status=$?
6898
 
  echo "$as_me:6898: \$? = $ac_status" >&5
 
7154
  echo "$as_me:7154: \$? = $ac_status" >&5
6899
7155
  (exit $ac_status); }; }; then
6900
7156
  cf_cv_svr4=yes
6901
7157
else
6906
7162
rm -f conftest.$ac_objext conftest.$ac_ext
6907
7163
 
6908
7164
fi
6909
 
echo "$as_me:6909: result: $cf_cv_svr4" >&5
 
7165
echo "$as_me:7165: result: $cf_cv_svr4" >&5
6910
7166
echo "${ECHO_T}$cf_cv_svr4" >&6
6911
7167
 
6912
7168
fi
6915
7171
#define SVR4 1
6916
7172
EOF
6917
7173
 
6918
 
echo "$as_me:6918: checking for X" >&5
 
7174
echo "$as_me:7174: checking for X" >&5
6919
7175
echo $ECHO_N "checking for X... $ECHO_C" >&6
6920
7176
 
6921
7177
# Check whether --with-x or --without-x was given.
7012
7268
  # Guess where to find include files, by looking for Intrinsic.h.
7013
7269
  # First, try using that file with no special directory specified.
7014
7270
  cat >conftest.$ac_ext <<_ACEOF
7015
 
#line 7015 "configure"
 
7271
#line 7271 "configure"
7016
7272
#include "confdefs.h"
7017
7273
#include <X11/Intrinsic.h>
7018
7274
_ACEOF
7019
 
if { (eval echo "$as_me:7019: \"$ac_cpp conftest.$ac_ext\"") >&5
 
7275
if { (eval echo "$as_me:7275: \"$ac_cpp conftest.$ac_ext\"") >&5
7020
7276
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7021
7277
  ac_status=$?
7022
7278
  egrep -v '^ *\+' conftest.er1 >conftest.err
7023
7279
  rm -f conftest.er1
7024
7280
  cat conftest.err >&5
7025
 
  echo "$as_me:7025: \$? = $ac_status" >&5
 
7281
  echo "$as_me:7281: \$? = $ac_status" >&5
7026
7282
  (exit $ac_status); } >/dev/null; then
7027
7283
  if test -s conftest.err; then
7028
7284
    ac_cpp_err=$ac_c_preproc_warn_flag
7055
7311
  ac_save_LIBS=$LIBS
7056
7312
  LIBS="-lXt $LIBS"
7057
7313
  cat >conftest.$ac_ext <<_ACEOF
7058
 
#line 7058 "configure"
 
7314
#line 7314 "configure"
7059
7315
#include "confdefs.h"
7060
7316
#include <X11/Intrinsic.h>
7061
7317
int
7067
7323
}
7068
7324
_ACEOF
7069
7325
rm -f conftest.$ac_objext conftest$ac_exeext
7070
 
if { (eval echo "$as_me:7070: \"$ac_link\"") >&5
 
7326
if { (eval echo "$as_me:7326: \"$ac_link\"") >&5
7071
7327
  (eval $ac_link) 2>&5
7072
7328
  ac_status=$?
7073
 
  echo "$as_me:7073: \$? = $ac_status" >&5
 
7329
  echo "$as_me:7329: \$? = $ac_status" >&5
7074
7330
  (exit $ac_status); } &&
7075
7331
         { ac_try='test -s conftest$ac_exeext'
7076
 
  { (eval echo "$as_me:7076: \"$ac_try\"") >&5
 
7332
  { (eval echo "$as_me:7332: \"$ac_try\"") >&5
7077
7333
  (eval $ac_try) 2>&5
7078
7334
  ac_status=$?
7079
 
  echo "$as_me:7079: \$? = $ac_status" >&5
 
7335
  echo "$as_me:7335: \$? = $ac_status" >&5
7080
7336
  (exit $ac_status); }; }; then
7081
7337
  LIBS=$ac_save_LIBS
7082
7338
# We can link X programs with no special library path.
7114
7370
fi # $with_x != no
7115
7371
 
7116
7372
if test "$have_x" != yes; then
7117
 
  echo "$as_me:7117: result: $have_x" >&5
 
7373
  echo "$as_me:7373: result: $have_x" >&5
7118
7374
echo "${ECHO_T}$have_x" >&6
7119
7375
  no_x=yes
7120
7376
else
7124
7380
  # Update the cache value to reflect the command line values.
7125
7381
  ac_cv_have_x="have_x=yes \
7126
7382
                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7127
 
  echo "$as_me:7127: result: libraries $x_libraries, headers $x_includes" >&5
 
7383
  echo "$as_me:7383: result: libraries $x_libraries, headers $x_includes" >&5
7128
7384
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
7129
7385
fi
7130
7386
 
7148
7404
    # others require no space.  Words are not sufficient . . . .
7149
7405
    case `(uname -sr) 2>/dev/null` in
7150
7406
    "SunOS 5"*)
7151
 
      echo "$as_me:7151: checking whether -R must be followed by a space" >&5
 
7407
      echo "$as_me:7407: checking whether -R must be followed by a space" >&5
7152
7408
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
7153
7409
      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7154
7410
      cat >conftest.$ac_ext <<_ACEOF
7155
 
#line 7155 "configure"
 
7411
#line 7411 "configure"
7156
7412
#include "confdefs.h"
7157
7413
 
7158
7414
int
7164
7420
}
7165
7421
_ACEOF
7166
7422
rm -f conftest.$ac_objext conftest$ac_exeext
7167
 
if { (eval echo "$as_me:7167: \"$ac_link\"") >&5
 
7423
if { (eval echo "$as_me:7423: \"$ac_link\"") >&5
7168
7424
  (eval $ac_link) 2>&5
7169
7425
  ac_status=$?
7170
 
  echo "$as_me:7170: \$? = $ac_status" >&5
 
7426
  echo "$as_me:7426: \$? = $ac_status" >&5
7171
7427
  (exit $ac_status); } &&
7172
7428
         { ac_try='test -s conftest$ac_exeext'
7173
 
  { (eval echo "$as_me:7173: \"$ac_try\"") >&5
 
7429
  { (eval echo "$as_me:7429: \"$ac_try\"") >&5
7174
7430
  (eval $ac_try) 2>&5
7175
7431
  ac_status=$?
7176
 
  echo "$as_me:7176: \$? = $ac_status" >&5
 
7432
  echo "$as_me:7432: \$? = $ac_status" >&5
7177
7433
  (exit $ac_status); }; }; then
7178
7434
  ac_R_nospace=yes
7179
7435
else
7183
7439
fi
7184
7440
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7185
7441
      if test $ac_R_nospace = yes; then
7186
 
        echo "$as_me:7186: result: no" >&5
 
7442
        echo "$as_me:7442: result: no" >&5
7187
7443
echo "${ECHO_T}no" >&6
7188
7444
        X_LIBS="$X_LIBS -R$x_libraries"
7189
7445
      else
7190
7446
        LIBS="$ac_xsave_LIBS -R $x_libraries"
7191
7447
        cat >conftest.$ac_ext <<_ACEOF
7192
 
#line 7192 "configure"
 
7448
#line 7448 "configure"
7193
7449
#include "confdefs.h"
7194
7450
 
7195
7451
int
7201
7457
}
7202
7458
_ACEOF
7203
7459
rm -f conftest.$ac_objext conftest$ac_exeext
7204
 
if { (eval echo "$as_me:7204: \"$ac_link\"") >&5
 
7460
if { (eval echo "$as_me:7460: \"$ac_link\"") >&5
7205
7461
  (eval $ac_link) 2>&5
7206
7462
  ac_status=$?
7207
 
  echo "$as_me:7207: \$? = $ac_status" >&5
 
7463
  echo "$as_me:7463: \$? = $ac_status" >&5
7208
7464
  (exit $ac_status); } &&
7209
7465
         { ac_try='test -s conftest$ac_exeext'
7210
 
  { (eval echo "$as_me:7210: \"$ac_try\"") >&5
 
7466
  { (eval echo "$as_me:7466: \"$ac_try\"") >&5
7211
7467
  (eval $ac_try) 2>&5
7212
7468
  ac_status=$?
7213
 
  echo "$as_me:7213: \$? = $ac_status" >&5
 
7469
  echo "$as_me:7469: \$? = $ac_status" >&5
7214
7470
  (exit $ac_status); }; }; then
7215
7471
  ac_R_space=yes
7216
7472
else
7220
7476
fi
7221
7477
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7222
7478
        if test $ac_R_space = yes; then
7223
 
          echo "$as_me:7223: result: yes" >&5
 
7479
          echo "$as_me:7479: result: yes" >&5
7224
7480
echo "${ECHO_T}yes" >&6
7225
7481
          X_LIBS="$X_LIBS -R $x_libraries"
7226
7482
        else
7227
 
          echo "$as_me:7227: result: neither works" >&5
 
7483
          echo "$as_me:7483: result: neither works" >&5
7228
7484
echo "${ECHO_T}neither works" >&6
7229
7485
        fi
7230
7486
      fi
7244
7500
    # the Alpha needs dnet_stub (dnet does not exist).
7245
7501
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7246
7502
    cat >conftest.$ac_ext <<_ACEOF
7247
 
#line 7247 "configure"
 
7503
#line 7503 "configure"
7248
7504
#include "confdefs.h"
7249
7505
 
7250
7506
/* Override any gcc2 internal prototype to avoid an error.  */
7263
7519
}
7264
7520
_ACEOF
7265
7521
rm -f conftest.$ac_objext conftest$ac_exeext
7266
 
if { (eval echo "$as_me:7266: \"$ac_link\"") >&5
 
7522
if { (eval echo "$as_me:7522: \"$ac_link\"") >&5
7267
7523
  (eval $ac_link) 2>&5
7268
7524
  ac_status=$?
7269
 
  echo "$as_me:7269: \$? = $ac_status" >&5
 
7525
  echo "$as_me:7525: \$? = $ac_status" >&5
7270
7526
  (exit $ac_status); } &&
7271
7527
         { ac_try='test -s conftest$ac_exeext'
7272
 
  { (eval echo "$as_me:7272: \"$ac_try\"") >&5
 
7528
  { (eval echo "$as_me:7528: \"$ac_try\"") >&5
7273
7529
  (eval $ac_try) 2>&5
7274
7530
  ac_status=$?
7275
 
  echo "$as_me:7275: \$? = $ac_status" >&5
 
7531
  echo "$as_me:7531: \$? = $ac_status" >&5
7276
7532
  (exit $ac_status); }; }; then
7277
7533
  :
7278
7534
else
7279
7535
  echo "$as_me: failed program was:" >&5
7280
7536
cat conftest.$ac_ext >&5
7281
 
echo "$as_me:7281: checking for dnet_ntoa in -ldnet" >&5
 
7537
echo "$as_me:7537: checking for dnet_ntoa in -ldnet" >&5
7282
7538
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
7283
7539
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7284
7540
  echo $ECHO_N "(cached) $ECHO_C" >&6
7286
7542
  ac_check_lib_save_LIBS=$LIBS
7287
7543
LIBS="-ldnet  $LIBS"
7288
7544
cat >conftest.$ac_ext <<_ACEOF
7289
 
#line 7289 "configure"
 
7545
#line 7545 "configure"
7290
7546
#include "confdefs.h"
7291
7547
 
7292
7548
/* Override any gcc2 internal prototype to avoid an error.  */
7305
7561
}
7306
7562
_ACEOF
7307
7563
rm -f conftest.$ac_objext conftest$ac_exeext
7308
 
if { (eval echo "$as_me:7308: \"$ac_link\"") >&5
 
7564
if { (eval echo "$as_me:7564: \"$ac_link\"") >&5
7309
7565
  (eval $ac_link) 2>&5
7310
7566
  ac_status=$?
7311
 
  echo "$as_me:7311: \$? = $ac_status" >&5
 
7567
  echo "$as_me:7567: \$? = $ac_status" >&5
7312
7568
  (exit $ac_status); } &&
7313
7569
         { ac_try='test -s conftest$ac_exeext'
7314
 
  { (eval echo "$as_me:7314: \"$ac_try\"") >&5
 
7570
  { (eval echo "$as_me:7570: \"$ac_try\"") >&5
7315
7571
  (eval $ac_try) 2>&5
7316
7572
  ac_status=$?
7317
 
  echo "$as_me:7317: \$? = $ac_status" >&5
 
7573
  echo "$as_me:7573: \$? = $ac_status" >&5
7318
7574
  (exit $ac_status); }; }; then
7319
7575
  ac_cv_lib_dnet_dnet_ntoa=yes
7320
7576
else
7325
7581
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7326
7582
LIBS=$ac_check_lib_save_LIBS
7327
7583
fi
7328
 
echo "$as_me:7328: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
7584
echo "$as_me:7584: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7329
7585
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
7330
7586
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7331
7587
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7332
7588
fi
7333
7589
 
7334
7590
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7335
 
      echo "$as_me:7335: checking for dnet_ntoa in -ldnet_stub" >&5
 
7591
      echo "$as_me:7591: checking for dnet_ntoa in -ldnet_stub" >&5
7336
7592
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
7337
7593
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7338
7594
  echo $ECHO_N "(cached) $ECHO_C" >&6
7340
7596
  ac_check_lib_save_LIBS=$LIBS
7341
7597
LIBS="-ldnet_stub  $LIBS"
7342
7598
cat >conftest.$ac_ext <<_ACEOF
7343
 
#line 7343 "configure"
 
7599
#line 7599 "configure"
7344
7600
#include "confdefs.h"
7345
7601
 
7346
7602
/* Override any gcc2 internal prototype to avoid an error.  */
7359
7615
}
7360
7616
_ACEOF
7361
7617
rm -f conftest.$ac_objext conftest$ac_exeext
7362
 
if { (eval echo "$as_me:7362: \"$ac_link\"") >&5
 
7618
if { (eval echo "$as_me:7618: \"$ac_link\"") >&5
7363
7619
  (eval $ac_link) 2>&5
7364
7620
  ac_status=$?
7365
 
  echo "$as_me:7365: \$? = $ac_status" >&5
 
7621
  echo "$as_me:7621: \$? = $ac_status" >&5
7366
7622
  (exit $ac_status); } &&
7367
7623
         { ac_try='test -s conftest$ac_exeext'
7368
 
  { (eval echo "$as_me:7368: \"$ac_try\"") >&5
 
7624
  { (eval echo "$as_me:7624: \"$ac_try\"") >&5
7369
7625
  (eval $ac_try) 2>&5
7370
7626
  ac_status=$?
7371
 
  echo "$as_me:7371: \$? = $ac_status" >&5
 
7627
  echo "$as_me:7627: \$? = $ac_status" >&5
7372
7628
  (exit $ac_status); }; }; then
7373
7629
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
7374
7630
else
7379
7635
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7380
7636
LIBS=$ac_check_lib_save_LIBS
7381
7637
fi
7382
 
echo "$as_me:7382: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
7638
echo "$as_me:7638: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7383
7639
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7384
7640
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7385
7641
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7398
7654
    # on Irix 5.2, according to T.E. Dickey.
7399
7655
    # The functions gethostbyname, getservbyname, and inet_addr are
7400
7656
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7401
 
    echo "$as_me:7401: checking for gethostbyname" >&5
 
7657
    echo "$as_me:7657: checking for gethostbyname" >&5
7402
7658
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
7403
7659
if test "${ac_cv_func_gethostbyname+set}" = set; then
7404
7660
  echo $ECHO_N "(cached) $ECHO_C" >&6
7405
7661
else
7406
7662
  cat >conftest.$ac_ext <<_ACEOF
7407
 
#line 7407 "configure"
 
7663
#line 7663 "configure"
7408
7664
#include "confdefs.h"
7409
7665
/* System header to define __stub macros and hopefully few prototypes,
7410
7666
    which can conflict with char gethostbyname (); below.  */
7435
7691
}
7436
7692
_ACEOF
7437
7693
rm -f conftest.$ac_objext conftest$ac_exeext
7438
 
if { (eval echo "$as_me:7438: \"$ac_link\"") >&5
 
7694
if { (eval echo "$as_me:7694: \"$ac_link\"") >&5
7439
7695
  (eval $ac_link) 2>&5
7440
7696
  ac_status=$?
7441
 
  echo "$as_me:7441: \$? = $ac_status" >&5
 
7697
  echo "$as_me:7697: \$? = $ac_status" >&5
7442
7698
  (exit $ac_status); } &&
7443
7699
         { ac_try='test -s conftest$ac_exeext'
7444
 
  { (eval echo "$as_me:7444: \"$ac_try\"") >&5
 
7700
  { (eval echo "$as_me:7700: \"$ac_try\"") >&5
7445
7701
  (eval $ac_try) 2>&5
7446
7702
  ac_status=$?
7447
 
  echo "$as_me:7447: \$? = $ac_status" >&5
 
7703
  echo "$as_me:7703: \$? = $ac_status" >&5
7448
7704
  (exit $ac_status); }; }; then
7449
7705
  ac_cv_func_gethostbyname=yes
7450
7706
else
7454
7710
fi
7455
7711
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7456
7712
fi
7457
 
echo "$as_me:7457: result: $ac_cv_func_gethostbyname" >&5
 
7713
echo "$as_me:7713: result: $ac_cv_func_gethostbyname" >&5
7458
7714
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
7459
7715
 
7460
7716
    if test $ac_cv_func_gethostbyname = no; then
7461
 
      echo "$as_me:7461: checking for gethostbyname in -lnsl" >&5
 
7717
      echo "$as_me:7717: checking for gethostbyname in -lnsl" >&5
7462
7718
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
7463
7719
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7464
7720
  echo $ECHO_N "(cached) $ECHO_C" >&6
7466
7722
  ac_check_lib_save_LIBS=$LIBS
7467
7723
LIBS="-lnsl  $LIBS"
7468
7724
cat >conftest.$ac_ext <<_ACEOF
7469
 
#line 7469 "configure"
 
7725
#line 7725 "configure"
7470
7726
#include "confdefs.h"
7471
7727
 
7472
7728
/* Override any gcc2 internal prototype to avoid an error.  */
7485
7741
}
7486
7742
_ACEOF
7487
7743
rm -f conftest.$ac_objext conftest$ac_exeext
7488
 
if { (eval echo "$as_me:7488: \"$ac_link\"") >&5
 
7744
if { (eval echo "$as_me:7744: \"$ac_link\"") >&5
7489
7745
  (eval $ac_link) 2>&5
7490
7746
  ac_status=$?
7491
 
  echo "$as_me:7491: \$? = $ac_status" >&5
 
7747
  echo "$as_me:7747: \$? = $ac_status" >&5
7492
7748
  (exit $ac_status); } &&
7493
7749
         { ac_try='test -s conftest$ac_exeext'
7494
 
  { (eval echo "$as_me:7494: \"$ac_try\"") >&5
 
7750
  { (eval echo "$as_me:7750: \"$ac_try\"") >&5
7495
7751
  (eval $ac_try) 2>&5
7496
7752
  ac_status=$?
7497
 
  echo "$as_me:7497: \$? = $ac_status" >&5
 
7753
  echo "$as_me:7753: \$? = $ac_status" >&5
7498
7754
  (exit $ac_status); }; }; then
7499
7755
  ac_cv_lib_nsl_gethostbyname=yes
7500
7756
else
7505
7761
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7506
7762
LIBS=$ac_check_lib_save_LIBS
7507
7763
fi
7508
 
echo "$as_me:7508: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
7764
echo "$as_me:7764: result: $ac_cv_lib_nsl_gethostbyname" >&5
7509
7765
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
7510
7766
if test $ac_cv_lib_nsl_gethostbyname = yes; then
7511
7767
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7512
7768
fi
7513
7769
 
7514
7770
      if test $ac_cv_lib_nsl_gethostbyname = no; then
7515
 
        echo "$as_me:7515: checking for gethostbyname in -lbsd" >&5
 
7771
        echo "$as_me:7771: checking for gethostbyname in -lbsd" >&5
7516
7772
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
7517
7773
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
7518
7774
  echo $ECHO_N "(cached) $ECHO_C" >&6
7520
7776
  ac_check_lib_save_LIBS=$LIBS
7521
7777
LIBS="-lbsd  $LIBS"
7522
7778
cat >conftest.$ac_ext <<_ACEOF
7523
 
#line 7523 "configure"
 
7779
#line 7779 "configure"
7524
7780
#include "confdefs.h"
7525
7781
 
7526
7782
/* Override any gcc2 internal prototype to avoid an error.  */
7539
7795
}
7540
7796
_ACEOF
7541
7797
rm -f conftest.$ac_objext conftest$ac_exeext
7542
 
if { (eval echo "$as_me:7542: \"$ac_link\"") >&5
 
7798
if { (eval echo "$as_me:7798: \"$ac_link\"") >&5
7543
7799
  (eval $ac_link) 2>&5
7544
7800
  ac_status=$?
7545
 
  echo "$as_me:7545: \$? = $ac_status" >&5
 
7801
  echo "$as_me:7801: \$? = $ac_status" >&5
7546
7802
  (exit $ac_status); } &&
7547
7803
         { ac_try='test -s conftest$ac_exeext'
7548
 
  { (eval echo "$as_me:7548: \"$ac_try\"") >&5
 
7804
  { (eval echo "$as_me:7804: \"$ac_try\"") >&5
7549
7805
  (eval $ac_try) 2>&5
7550
7806
  ac_status=$?
7551
 
  echo "$as_me:7551: \$? = $ac_status" >&5
 
7807
  echo "$as_me:7807: \$? = $ac_status" >&5
7552
7808
  (exit $ac_status); }; }; then
7553
7809
  ac_cv_lib_bsd_gethostbyname=yes
7554
7810
else
7559
7815
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7560
7816
LIBS=$ac_check_lib_save_LIBS
7561
7817
fi
7562
 
echo "$as_me:7562: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
7818
echo "$as_me:7818: result: $ac_cv_lib_bsd_gethostbyname" >&5
7563
7819
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
7564
7820
if test $ac_cv_lib_bsd_gethostbyname = yes; then
7565
7821
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7575
7831
    # variants that don't use the nameserver (or something).  -lsocket
7576
7832
    # must be given before -lnsl if both are needed.  We assume that
7577
7833
    # if connect needs -lnsl, so does gethostbyname.
7578
 
    echo "$as_me:7578: checking for connect" >&5
 
7834
    echo "$as_me:7834: checking for connect" >&5
7579
7835
echo $ECHO_N "checking for connect... $ECHO_C" >&6
7580
7836
if test "${ac_cv_func_connect+set}" = set; then
7581
7837
  echo $ECHO_N "(cached) $ECHO_C" >&6
7582
7838
else
7583
7839
  cat >conftest.$ac_ext <<_ACEOF
7584
 
#line 7584 "configure"
 
7840
#line 7840 "configure"
7585
7841
#include "confdefs.h"
7586
7842
/* System header to define __stub macros and hopefully few prototypes,
7587
7843
    which can conflict with char connect (); below.  */
7612
7868
}
7613
7869
_ACEOF
7614
7870
rm -f conftest.$ac_objext conftest$ac_exeext
7615
 
if { (eval echo "$as_me:7615: \"$ac_link\"") >&5
 
7871
if { (eval echo "$as_me:7871: \"$ac_link\"") >&5
7616
7872
  (eval $ac_link) 2>&5
7617
7873
  ac_status=$?
7618
 
  echo "$as_me:7618: \$? = $ac_status" >&5
 
7874
  echo "$as_me:7874: \$? = $ac_status" >&5
7619
7875
  (exit $ac_status); } &&
7620
7876
         { ac_try='test -s conftest$ac_exeext'
7621
 
  { (eval echo "$as_me:7621: \"$ac_try\"") >&5
 
7877
  { (eval echo "$as_me:7877: \"$ac_try\"") >&5
7622
7878
  (eval $ac_try) 2>&5
7623
7879
  ac_status=$?
7624
 
  echo "$as_me:7624: \$? = $ac_status" >&5
 
7880
  echo "$as_me:7880: \$? = $ac_status" >&5
7625
7881
  (exit $ac_status); }; }; then
7626
7882
  ac_cv_func_connect=yes
7627
7883
else
7631
7887
fi
7632
7888
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7633
7889
fi
7634
 
echo "$as_me:7634: result: $ac_cv_func_connect" >&5
 
7890
echo "$as_me:7890: result: $ac_cv_func_connect" >&5
7635
7891
echo "${ECHO_T}$ac_cv_func_connect" >&6
7636
7892
 
7637
7893
    if test $ac_cv_func_connect = no; then
7638
 
      echo "$as_me:7638: checking for connect in -lsocket" >&5
 
7894
      echo "$as_me:7894: checking for connect in -lsocket" >&5
7639
7895
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
7640
7896
if test "${ac_cv_lib_socket_connect+set}" = set; then
7641
7897
  echo $ECHO_N "(cached) $ECHO_C" >&6
7643
7899
  ac_check_lib_save_LIBS=$LIBS
7644
7900
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7645
7901
cat >conftest.$ac_ext <<_ACEOF
7646
 
#line 7646 "configure"
 
7902
#line 7902 "configure"
7647
7903
#include "confdefs.h"
7648
7904
 
7649
7905
/* Override any gcc2 internal prototype to avoid an error.  */
7662
7918
}
7663
7919
_ACEOF
7664
7920
rm -f conftest.$ac_objext conftest$ac_exeext
7665
 
if { (eval echo "$as_me:7665: \"$ac_link\"") >&5
 
7921
if { (eval echo "$as_me:7921: \"$ac_link\"") >&5
7666
7922
  (eval $ac_link) 2>&5
7667
7923
  ac_status=$?
7668
 
  echo "$as_me:7668: \$? = $ac_status" >&5
 
7924
  echo "$as_me:7924: \$? = $ac_status" >&5
7669
7925
  (exit $ac_status); } &&
7670
7926
         { ac_try='test -s conftest$ac_exeext'
7671
 
  { (eval echo "$as_me:7671: \"$ac_try\"") >&5
 
7927
  { (eval echo "$as_me:7927: \"$ac_try\"") >&5
7672
7928
  (eval $ac_try) 2>&5
7673
7929
  ac_status=$?
7674
 
  echo "$as_me:7674: \$? = $ac_status" >&5
 
7930
  echo "$as_me:7930: \$? = $ac_status" >&5
7675
7931
  (exit $ac_status); }; }; then
7676
7932
  ac_cv_lib_socket_connect=yes
7677
7933
else
7682
7938
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7683
7939
LIBS=$ac_check_lib_save_LIBS
7684
7940
fi
7685
 
echo "$as_me:7685: result: $ac_cv_lib_socket_connect" >&5
 
7941
echo "$as_me:7941: result: $ac_cv_lib_socket_connect" >&5
7686
7942
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
7687
7943
if test $ac_cv_lib_socket_connect = yes; then
7688
7944
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7691
7947
    fi
7692
7948
 
7693
7949
    # Guillermo Gomez says -lposix is necessary on A/UX.
7694
 
    echo "$as_me:7694: checking for remove" >&5
 
7950
    echo "$as_me:7950: checking for remove" >&5
7695
7951
echo $ECHO_N "checking for remove... $ECHO_C" >&6
7696
7952
if test "${ac_cv_func_remove+set}" = set; then
7697
7953
  echo $ECHO_N "(cached) $ECHO_C" >&6
7698
7954
else
7699
7955
  cat >conftest.$ac_ext <<_ACEOF
7700
 
#line 7700 "configure"
 
7956
#line 7956 "configure"
7701
7957
#include "confdefs.h"
7702
7958
/* System header to define __stub macros and hopefully few prototypes,
7703
7959
    which can conflict with char remove (); below.  */
7728
7984
}
7729
7985
_ACEOF
7730
7986
rm -f conftest.$ac_objext conftest$ac_exeext
7731
 
if { (eval echo "$as_me:7731: \"$ac_link\"") >&5
 
7987
if { (eval echo "$as_me:7987: \"$ac_link\"") >&5
7732
7988
  (eval $ac_link) 2>&5
7733
7989
  ac_status=$?
7734
 
  echo "$as_me:7734: \$? = $ac_status" >&5
 
7990
  echo "$as_me:7990: \$? = $ac_status" >&5
7735
7991
  (exit $ac_status); } &&
7736
7992
         { ac_try='test -s conftest$ac_exeext'
7737
 
  { (eval echo "$as_me:7737: \"$ac_try\"") >&5
 
7993
  { (eval echo "$as_me:7993: \"$ac_try\"") >&5
7738
7994
  (eval $ac_try) 2>&5
7739
7995
  ac_status=$?
7740
 
  echo "$as_me:7740: \$? = $ac_status" >&5
 
7996
  echo "$as_me:7996: \$? = $ac_status" >&5
7741
7997
  (exit $ac_status); }; }; then
7742
7998
  ac_cv_func_remove=yes
7743
7999
else
7747
8003
fi
7748
8004
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7749
8005
fi
7750
 
echo "$as_me:7750: result: $ac_cv_func_remove" >&5
 
8006
echo "$as_me:8006: result: $ac_cv_func_remove" >&5
7751
8007
echo "${ECHO_T}$ac_cv_func_remove" >&6
7752
8008
 
7753
8009
    if test $ac_cv_func_remove = no; then
7754
 
      echo "$as_me:7754: checking for remove in -lposix" >&5
 
8010
      echo "$as_me:8010: checking for remove in -lposix" >&5
7755
8011
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
7756
8012
if test "${ac_cv_lib_posix_remove+set}" = set; then
7757
8013
  echo $ECHO_N "(cached) $ECHO_C" >&6
7759
8015
  ac_check_lib_save_LIBS=$LIBS
7760
8016
LIBS="-lposix  $LIBS"
7761
8017
cat >conftest.$ac_ext <<_ACEOF
7762
 
#line 7762 "configure"
 
8018
#line 8018 "configure"
7763
8019
#include "confdefs.h"
7764
8020
 
7765
8021
/* Override any gcc2 internal prototype to avoid an error.  */
7778
8034
}
7779
8035
_ACEOF
7780
8036
rm -f conftest.$ac_objext conftest$ac_exeext
7781
 
if { (eval echo "$as_me:7781: \"$ac_link\"") >&5
 
8037
if { (eval echo "$as_me:8037: \"$ac_link\"") >&5
7782
8038
  (eval $ac_link) 2>&5
7783
8039
  ac_status=$?
7784
 
  echo "$as_me:7784: \$? = $ac_status" >&5
 
8040
  echo "$as_me:8040: \$? = $ac_status" >&5
7785
8041
  (exit $ac_status); } &&
7786
8042
         { ac_try='test -s conftest$ac_exeext'
7787
 
  { (eval echo "$as_me:7787: \"$ac_try\"") >&5
 
8043
  { (eval echo "$as_me:8043: \"$ac_try\"") >&5
7788
8044
  (eval $ac_try) 2>&5
7789
8045
  ac_status=$?
7790
 
  echo "$as_me:7790: \$? = $ac_status" >&5
 
8046
  echo "$as_me:8046: \$? = $ac_status" >&5
7791
8047
  (exit $ac_status); }; }; then
7792
8048
  ac_cv_lib_posix_remove=yes
7793
8049
else
7798
8054
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7799
8055
LIBS=$ac_check_lib_save_LIBS
7800
8056
fi
7801
 
echo "$as_me:7801: result: $ac_cv_lib_posix_remove" >&5
 
8057
echo "$as_me:8057: result: $ac_cv_lib_posix_remove" >&5
7802
8058
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
7803
8059
if test $ac_cv_lib_posix_remove = yes; then
7804
8060
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7807
8063
    fi
7808
8064
 
7809
8065
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7810
 
    echo "$as_me:7810: checking for shmat" >&5
 
8066
    echo "$as_me:8066: checking for shmat" >&5
7811
8067
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
7812
8068
if test "${ac_cv_func_shmat+set}" = set; then
7813
8069
  echo $ECHO_N "(cached) $ECHO_C" >&6
7814
8070
else
7815
8071
  cat >conftest.$ac_ext <<_ACEOF
7816
 
#line 7816 "configure"
 
8072
#line 8072 "configure"
7817
8073
#include "confdefs.h"
7818
8074
/* System header to define __stub macros and hopefully few prototypes,
7819
8075
    which can conflict with char shmat (); below.  */
7844
8100
}
7845
8101
_ACEOF
7846
8102
rm -f conftest.$ac_objext conftest$ac_exeext
7847
 
if { (eval echo "$as_me:7847: \"$ac_link\"") >&5
 
8103
if { (eval echo "$as_me:8103: \"$ac_link\"") >&5
7848
8104
  (eval $ac_link) 2>&5
7849
8105
  ac_status=$?
7850
 
  echo "$as_me:7850: \$? = $ac_status" >&5
 
8106
  echo "$as_me:8106: \$? = $ac_status" >&5
7851
8107
  (exit $ac_status); } &&
7852
8108
         { ac_try='test -s conftest$ac_exeext'
7853
 
  { (eval echo "$as_me:7853: \"$ac_try\"") >&5
 
8109
  { (eval echo "$as_me:8109: \"$ac_try\"") >&5
7854
8110
  (eval $ac_try) 2>&5
7855
8111
  ac_status=$?
7856
 
  echo "$as_me:7856: \$? = $ac_status" >&5
 
8112
  echo "$as_me:8112: \$? = $ac_status" >&5
7857
8113
  (exit $ac_status); }; }; then
7858
8114
  ac_cv_func_shmat=yes
7859
8115
else
7863
8119
fi
7864
8120
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7865
8121
fi
7866
 
echo "$as_me:7866: result: $ac_cv_func_shmat" >&5
 
8122
echo "$as_me:8122: result: $ac_cv_func_shmat" >&5
7867
8123
echo "${ECHO_T}$ac_cv_func_shmat" >&6
7868
8124
 
7869
8125
    if test $ac_cv_func_shmat = no; then
7870
 
      echo "$as_me:7870: checking for shmat in -lipc" >&5
 
8126
      echo "$as_me:8126: checking for shmat in -lipc" >&5
7871
8127
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
7872
8128
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
7873
8129
  echo $ECHO_N "(cached) $ECHO_C" >&6
7875
8131
  ac_check_lib_save_LIBS=$LIBS
7876
8132
LIBS="-lipc  $LIBS"
7877
8133
cat >conftest.$ac_ext <<_ACEOF
7878
 
#line 7878 "configure"
 
8134
#line 8134 "configure"
7879
8135
#include "confdefs.h"
7880
8136
 
7881
8137
/* Override any gcc2 internal prototype to avoid an error.  */
7894
8150
}
7895
8151
_ACEOF
7896
8152
rm -f conftest.$ac_objext conftest$ac_exeext
7897
 
if { (eval echo "$as_me:7897: \"$ac_link\"") >&5
 
8153
if { (eval echo "$as_me:8153: \"$ac_link\"") >&5
7898
8154
  (eval $ac_link) 2>&5
7899
8155
  ac_status=$?
7900
 
  echo "$as_me:7900: \$? = $ac_status" >&5
 
8156
  echo "$as_me:8156: \$? = $ac_status" >&5
7901
8157
  (exit $ac_status); } &&
7902
8158
         { ac_try='test -s conftest$ac_exeext'
7903
 
  { (eval echo "$as_me:7903: \"$ac_try\"") >&5
 
8159
  { (eval echo "$as_me:8159: \"$ac_try\"") >&5
7904
8160
  (eval $ac_try) 2>&5
7905
8161
  ac_status=$?
7906
 
  echo "$as_me:7906: \$? = $ac_status" >&5
 
8162
  echo "$as_me:8162: \$? = $ac_status" >&5
7907
8163
  (exit $ac_status); }; }; then
7908
8164
  ac_cv_lib_ipc_shmat=yes
7909
8165
else
7914
8170
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7915
8171
LIBS=$ac_check_lib_save_LIBS
7916
8172
fi
7917
 
echo "$as_me:7917: result: $ac_cv_lib_ipc_shmat" >&5
 
8173
echo "$as_me:8173: result: $ac_cv_lib_ipc_shmat" >&5
7918
8174
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
7919
8175
if test $ac_cv_lib_ipc_shmat = yes; then
7920
8176
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7932
8188
  # These have to be linked with before -lX11, unlike the other
7933
8189
  # libraries we check for below, so use a different variable.
7934
8190
  # John Interrante, Karl Berry
7935
 
  echo "$as_me:7935: checking for IceConnectionNumber in -lICE" >&5
 
8191
  echo "$as_me:8191: checking for IceConnectionNumber in -lICE" >&5
7936
8192
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
7937
8193
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
7938
8194
  echo $ECHO_N "(cached) $ECHO_C" >&6
7940
8196
  ac_check_lib_save_LIBS=$LIBS
7941
8197
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7942
8198
cat >conftest.$ac_ext <<_ACEOF
7943
 
#line 7943 "configure"
 
8199
#line 8199 "configure"
7944
8200
#include "confdefs.h"
7945
8201
 
7946
8202
/* Override any gcc2 internal prototype to avoid an error.  */
7959
8215
}
7960
8216
_ACEOF
7961
8217
rm -f conftest.$ac_objext conftest$ac_exeext
7962
 
if { (eval echo "$as_me:7962: \"$ac_link\"") >&5
 
8218
if { (eval echo "$as_me:8218: \"$ac_link\"") >&5
7963
8219
  (eval $ac_link) 2>&5
7964
8220
  ac_status=$?
7965
 
  echo "$as_me:7965: \$? = $ac_status" >&5
 
8221
  echo "$as_me:8221: \$? = $ac_status" >&5
7966
8222
  (exit $ac_status); } &&
7967
8223
         { ac_try='test -s conftest$ac_exeext'
7968
 
  { (eval echo "$as_me:7968: \"$ac_try\"") >&5
 
8224
  { (eval echo "$as_me:8224: \"$ac_try\"") >&5
7969
8225
  (eval $ac_try) 2>&5
7970
8226
  ac_status=$?
7971
 
  echo "$as_me:7971: \$? = $ac_status" >&5
 
8227
  echo "$as_me:8227: \$? = $ac_status" >&5
7972
8228
  (exit $ac_status); }; }; then
7973
8229
  ac_cv_lib_ICE_IceConnectionNumber=yes
7974
8230
else
7979
8235
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7980
8236
LIBS=$ac_check_lib_save_LIBS
7981
8237
fi
7982
 
echo "$as_me:7982: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
8238
echo "$as_me:8238: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7983
8239
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
7984
8240
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
7985
8241
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7997
8253
 
7998
8254
test -n "$verbose" && echo "    checking additions to CFLAGS" 1>&6
7999
8255
 
8000
 
echo "${as_me-configure}:8000: testing checking additions to CFLAGS ..." 1>&5
 
8256
echo "${as_me-configure}:8256: testing checking additions to CFLAGS ..." 1>&5
8001
8257
 
8002
8258
cf_check_cflags="$CFLAGS"
8003
8259
cf_check_cppflags="$CPPFLAGS"
8018
8274
                        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
8019
8275
 
8020
8276
                        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
8021
 
                        && test -z "${cf_tst_cflags}" \
8022
 
                        && cf_fix_cppflags=yes
 
8277
                                && test -z "${cf_tst_cflags}" \
 
8278
                                && cf_fix_cppflags=yes
8023
8279
 
8024
8280
                        if test $cf_fix_cppflags = yes ; then
8025
8281
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
8034
8290
                *$cf_add_cflags) #(vi
8035
8291
                        ;;
8036
8292
                *) #(vi
 
8293
                        case $cf_add_cflags in #(vi
 
8294
                        -D*)
 
8295
                                cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 
8296
 
 
8297
CPPFLAGS=`echo "$CPPFLAGS" | \
 
8298
        sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
 
8299
                -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 
8300
 
 
8301
                                ;;
 
8302
                        esac
8037
8303
                        cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
8038
8304
                        ;;
8039
8305
                esac
8049
8315
        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
8050
8316
 
8051
8317
        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
8052
 
        && test -z "${cf_tst_cflags}" \
8053
 
        && cf_fix_cppflags=no
 
8318
                && test -z "${cf_tst_cflags}" \
 
8319
                && cf_fix_cppflags=no
8054
8320
        ;;
8055
8321
esac
8056
8322
done
8058
8324
if test -n "$cf_new_cflags" ; then
8059
8325
        test -n "$verbose" && echo "    add to \$CFLAGS $cf_new_cflags" 1>&6
8060
8326
 
8061
 
echo "${as_me-configure}:8061: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
 
8327
echo "${as_me-configure}:8327: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
8062
8328
 
8063
8329
        CFLAGS="$CFLAGS $cf_new_cflags"
8064
8330
fi
8066
8332
if test -n "$cf_new_cppflags" ; then
8067
8333
        test -n "$verbose" && echo "    add to \$CPPFLAGS $cf_new_cppflags" 1>&6
8068
8334
 
8069
 
echo "${as_me-configure}:8069: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
 
8335
echo "${as_me-configure}:8335: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
8070
8336
 
8071
8337
        CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
8072
8338
fi
8074
8340
if test -n "$cf_new_extra_cppflags" ; then
8075
8341
        test -n "$verbose" && echo "    add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6
8076
8342
 
8077
 
echo "${as_me-configure}:8077: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
 
8343
echo "${as_me-configure}:8343: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
8078
8344
 
8079
8345
        EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
8080
8346
fi
8081
8347
 
8082
8348
if test "$cf_check_cflags" != "$CFLAGS" ; then
8083
8349
cat >conftest.$ac_ext <<_ACEOF
8084
 
#line 8084 "configure"
 
8350
#line 8350 "configure"
8085
8351
#include "confdefs.h"
8086
8352
#include <stdio.h>
8087
8353
int
8093
8359
}
8094
8360
_ACEOF
8095
8361
rm -f conftest.$ac_objext conftest$ac_exeext
8096
 
if { (eval echo "$as_me:8096: \"$ac_link\"") >&5
 
8362
if { (eval echo "$as_me:8362: \"$ac_link\"") >&5
8097
8363
  (eval $ac_link) 2>&5
8098
8364
  ac_status=$?
8099
 
  echo "$as_me:8099: \$? = $ac_status" >&5
 
8365
  echo "$as_me:8365: \$? = $ac_status" >&5
8100
8366
  (exit $ac_status); } &&
8101
8367
         { ac_try='test -s conftest$ac_exeext'
8102
 
  { (eval echo "$as_me:8102: \"$ac_try\"") >&5
 
8368
  { (eval echo "$as_me:8368: \"$ac_try\"") >&5
8103
8369
  (eval $ac_try) 2>&5
8104
8370
  ac_status=$?
8105
 
  echo "$as_me:8105: \$? = $ac_status" >&5
 
8371
  echo "$as_me:8371: \$? = $ac_status" >&5
8106
8372
  (exit $ac_status); }; }; then
8107
8373
  :
8108
8374
else
8110
8376
cat conftest.$ac_ext >&5
8111
8377
test -n "$verbose" && echo "    test-compile failed.  Undoing change to \$CFLAGS" 1>&6
8112
8378
 
8113
 
echo "${as_me-configure}:8113: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
 
8379
echo "${as_me-configure}:8379: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
8114
8380
 
8115
8381
         if test "$cf_check_cppflags" != "$CPPFLAGS" ; then
8116
8382
                 test -n "$verbose" && echo "   but keeping change to \$CPPFLAGS" 1>&6
8117
8383
 
8118
 
echo "${as_me-configure}:8118: testing but keeping change to \$CPPFLAGS ..." 1>&5
 
8384
echo "${as_me-configure}:8384: testing but keeping change to \$CPPFLAGS ..." 1>&5
8119
8385
 
8120
8386
         fi
8121
8387
         CFLAGS="$cf_check_flags"
8123
8389
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8124
8390
fi
8125
8391
 
8126
 
echo "$as_me:8126: checking for XOpenDisplay" >&5
 
8392
echo "$as_me:8392: checking for XOpenDisplay" >&5
8127
8393
echo $ECHO_N "checking for XOpenDisplay... $ECHO_C" >&6
8128
8394
if test "${ac_cv_func_XOpenDisplay+set}" = set; then
8129
8395
  echo $ECHO_N "(cached) $ECHO_C" >&6
8130
8396
else
8131
8397
  cat >conftest.$ac_ext <<_ACEOF
8132
 
#line 8132 "configure"
 
8398
#line 8398 "configure"
8133
8399
#include "confdefs.h"
8134
8400
/* System header to define __stub macros and hopefully few prototypes,
8135
8401
    which can conflict with char XOpenDisplay (); below.  */
8160
8426
}
8161
8427
_ACEOF
8162
8428
rm -f conftest.$ac_objext conftest$ac_exeext
8163
 
if { (eval echo "$as_me:8163: \"$ac_link\"") >&5
 
8429
if { (eval echo "$as_me:8429: \"$ac_link\"") >&5
8164
8430
  (eval $ac_link) 2>&5
8165
8431
  ac_status=$?
8166
 
  echo "$as_me:8166: \$? = $ac_status" >&5
 
8432
  echo "$as_me:8432: \$? = $ac_status" >&5
8167
8433
  (exit $ac_status); } &&
8168
8434
         { ac_try='test -s conftest$ac_exeext'
8169
 
  { (eval echo "$as_me:8169: \"$ac_try\"") >&5
 
8435
  { (eval echo "$as_me:8435: \"$ac_try\"") >&5
8170
8436
  (eval $ac_try) 2>&5
8171
8437
  ac_status=$?
8172
 
  echo "$as_me:8172: \$? = $ac_status" >&5
 
8438
  echo "$as_me:8438: \$? = $ac_status" >&5
8173
8439
  (exit $ac_status); }; }; then
8174
8440
  ac_cv_func_XOpenDisplay=yes
8175
8441
else
8179
8445
fi
8180
8446
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8181
8447
fi
8182
 
echo "$as_me:8182: result: $ac_cv_func_XOpenDisplay" >&5
 
8448
echo "$as_me:8448: result: $ac_cv_func_XOpenDisplay" >&5
8183
8449
echo "${ECHO_T}$ac_cv_func_XOpenDisplay" >&6
8184
8450
if test $ac_cv_func_XOpenDisplay = yes; then
8185
8451
  :
8186
8452
else
8187
8453
 
8188
 
echo "$as_me:8188: checking for XOpenDisplay in -lX11" >&5
 
8454
echo "$as_me:8454: checking for XOpenDisplay in -lX11" >&5
8189
8455
echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
8190
8456
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
8191
8457
  echo $ECHO_N "(cached) $ECHO_C" >&6
8193
8459
  ac_check_lib_save_LIBS=$LIBS
8194
8460
LIBS="-lX11 $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS"
8195
8461
cat >conftest.$ac_ext <<_ACEOF
8196
 
#line 8196 "configure"
 
8462
#line 8462 "configure"
8197
8463
#include "confdefs.h"
8198
8464
 
8199
8465
/* Override any gcc2 internal prototype to avoid an error.  */
8212
8478
}
8213
8479
_ACEOF
8214
8480
rm -f conftest.$ac_objext conftest$ac_exeext
8215
 
if { (eval echo "$as_me:8215: \"$ac_link\"") >&5
 
8481
if { (eval echo "$as_me:8481: \"$ac_link\"") >&5
8216
8482
  (eval $ac_link) 2>&5
8217
8483
  ac_status=$?
8218
 
  echo "$as_me:8218: \$? = $ac_status" >&5
 
8484
  echo "$as_me:8484: \$? = $ac_status" >&5
8219
8485
  (exit $ac_status); } &&
8220
8486
         { ac_try='test -s conftest$ac_exeext'
8221
 
  { (eval echo "$as_me:8221: \"$ac_try\"") >&5
 
8487
  { (eval echo "$as_me:8487: \"$ac_try\"") >&5
8222
8488
  (eval $ac_try) 2>&5
8223
8489
  ac_status=$?
8224
 
  echo "$as_me:8224: \$? = $ac_status" >&5
 
8490
  echo "$as_me:8490: \$? = $ac_status" >&5
8225
8491
  (exit $ac_status); }; }; then
8226
8492
  ac_cv_lib_X11_XOpenDisplay=yes
8227
8493
else
8232
8498
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8233
8499
LIBS=$ac_check_lib_save_LIBS
8234
8500
fi
8235
 
echo "$as_me:8235: result: $ac_cv_lib_X11_XOpenDisplay" >&5
 
8501
echo "$as_me:8501: result: $ac_cv_lib_X11_XOpenDisplay" >&5
8236
8502
echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
8237
8503
if test $ac_cv_lib_X11_XOpenDisplay = yes; then
8238
8504
  LIBS="-lX11 $LIBS"
8240
8506
 
8241
8507
fi
8242
8508
 
8243
 
echo "$as_me:8243: checking for XtAppInitialize" >&5
 
8509
echo "$as_me:8509: checking for XtAppInitialize" >&5
8244
8510
echo $ECHO_N "checking for XtAppInitialize... $ECHO_C" >&6
8245
8511
if test "${ac_cv_func_XtAppInitialize+set}" = set; then
8246
8512
  echo $ECHO_N "(cached) $ECHO_C" >&6
8247
8513
else
8248
8514
  cat >conftest.$ac_ext <<_ACEOF
8249
 
#line 8249 "configure"
 
8515
#line 8515 "configure"
8250
8516
#include "confdefs.h"
8251
8517
/* System header to define __stub macros and hopefully few prototypes,
8252
8518
    which can conflict with char XtAppInitialize (); below.  */
8277
8543
}
8278
8544
_ACEOF
8279
8545
rm -f conftest.$ac_objext conftest$ac_exeext
8280
 
if { (eval echo "$as_me:8280: \"$ac_link\"") >&5
 
8546
if { (eval echo "$as_me:8546: \"$ac_link\"") >&5
8281
8547
  (eval $ac_link) 2>&5
8282
8548
  ac_status=$?
8283
 
  echo "$as_me:8283: \$? = $ac_status" >&5
 
8549
  echo "$as_me:8549: \$? = $ac_status" >&5
8284
8550
  (exit $ac_status); } &&
8285
8551
         { ac_try='test -s conftest$ac_exeext'
8286
 
  { (eval echo "$as_me:8286: \"$ac_try\"") >&5
 
8552
  { (eval echo "$as_me:8552: \"$ac_try\"") >&5
8287
8553
  (eval $ac_try) 2>&5
8288
8554
  ac_status=$?
8289
 
  echo "$as_me:8289: \$? = $ac_status" >&5
 
8555
  echo "$as_me:8555: \$? = $ac_status" >&5
8290
8556
  (exit $ac_status); }; }; then
8291
8557
  ac_cv_func_XtAppInitialize=yes
8292
8558
else
8296
8562
fi
8297
8563
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8298
8564
fi
8299
 
echo "$as_me:8299: result: $ac_cv_func_XtAppInitialize" >&5
 
8565
echo "$as_me:8565: result: $ac_cv_func_XtAppInitialize" >&5
8300
8566
echo "${ECHO_T}$ac_cv_func_XtAppInitialize" >&6
8301
8567
if test $ac_cv_func_XtAppInitialize = yes; then
8302
8568
  :
8303
8569
else
8304
8570
 
8305
 
echo "$as_me:8305: checking for XtAppInitialize in -lXt" >&5
 
8571
echo "$as_me:8571: checking for XtAppInitialize in -lXt" >&5
8306
8572
echo $ECHO_N "checking for XtAppInitialize in -lXt... $ECHO_C" >&6
8307
8573
if test "${ac_cv_lib_Xt_XtAppInitialize+set}" = set; then
8308
8574
  echo $ECHO_N "(cached) $ECHO_C" >&6
8310
8576
  ac_check_lib_save_LIBS=$LIBS
8311
8577
LIBS="-lXt $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS"
8312
8578
cat >conftest.$ac_ext <<_ACEOF
8313
 
#line 8313 "configure"
 
8579
#line 8579 "configure"
8314
8580
#include "confdefs.h"
8315
8581
 
8316
8582
/* Override any gcc2 internal prototype to avoid an error.  */
8329
8595
}
8330
8596
_ACEOF
8331
8597
rm -f conftest.$ac_objext conftest$ac_exeext
8332
 
if { (eval echo "$as_me:8332: \"$ac_link\"") >&5
 
8598
if { (eval echo "$as_me:8598: \"$ac_link\"") >&5
8333
8599
  (eval $ac_link) 2>&5
8334
8600
  ac_status=$?
8335
 
  echo "$as_me:8335: \$? = $ac_status" >&5
 
8601
  echo "$as_me:8601: \$? = $ac_status" >&5
8336
8602
  (exit $ac_status); } &&
8337
8603
         { ac_try='test -s conftest$ac_exeext'
8338
 
  { (eval echo "$as_me:8338: \"$ac_try\"") >&5
 
8604
  { (eval echo "$as_me:8604: \"$ac_try\"") >&5
8339
8605
  (eval $ac_try) 2>&5
8340
8606
  ac_status=$?
8341
 
  echo "$as_me:8341: \$? = $ac_status" >&5
 
8607
  echo "$as_me:8607: \$? = $ac_status" >&5
8342
8608
  (exit $ac_status); }; }; then
8343
8609
  ac_cv_lib_Xt_XtAppInitialize=yes
8344
8610
else
8349
8615
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8350
8616
LIBS=$ac_check_lib_save_LIBS
8351
8617
fi
8352
 
echo "$as_me:8352: result: $ac_cv_lib_Xt_XtAppInitialize" >&5
 
8618
echo "$as_me:8618: result: $ac_cv_lib_Xt_XtAppInitialize" >&5
8353
8619
echo "${ECHO_T}$ac_cv_lib_Xt_XtAppInitialize" >&6
8354
8620
if test $ac_cv_lib_Xt_XtAppInitialize = yes; then
8355
8621
  cat >>confdefs.h <<\EOF
8363
8629
fi
8364
8630
 
8365
8631
if test $cf_have_X_LIBS = no ; then
8366
 
        { echo "$as_me:8366: WARNING: Unable to successfully link X Toolkit library (-lXt) with
 
8632
        { echo "$as_me:8632: WARNING: Unable to successfully link X Toolkit library (-lXt) with
8367
8633
test program.  You will have to check and add the proper libraries by hand
8368
8634
to makefile." >&5
8369
8635
echo "$as_me: WARNING: Unable to successfully link X Toolkit library (-lXt) with
8379
8645
 
8380
8646
do
8381
8647
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8382
 
echo "$as_me:8382: checking for $ac_header" >&5
 
8648
echo "$as_me:8648: checking for $ac_header" >&5
8383
8649
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8384
8650
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8385
8651
  echo $ECHO_N "(cached) $ECHO_C" >&6
8386
8652
else
8387
8653
  cat >conftest.$ac_ext <<_ACEOF
8388
 
#line 8388 "configure"
 
8654
#line 8654 "configure"
8389
8655
#include "confdefs.h"
8390
8656
#include <$ac_header>
8391
8657
_ACEOF
8392
 
if { (eval echo "$as_me:8392: \"$ac_cpp conftest.$ac_ext\"") >&5
 
8658
if { (eval echo "$as_me:8658: \"$ac_cpp conftest.$ac_ext\"") >&5
8393
8659
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8394
8660
  ac_status=$?
8395
8661
  egrep -v '^ *\+' conftest.er1 >conftest.err
8396
8662
  rm -f conftest.er1
8397
8663
  cat conftest.err >&5
8398
 
  echo "$as_me:8398: \$? = $ac_status" >&5
 
8664
  echo "$as_me:8664: \$? = $ac_status" >&5
8399
8665
  (exit $ac_status); } >/dev/null; then
8400
8666
  if test -s conftest.err; then
8401
8667
    ac_cpp_err=$ac_c_preproc_warn_flag
8414
8680
fi
8415
8681
rm -f conftest.err conftest.$ac_ext
8416
8682
fi
8417
 
echo "$as_me:8417: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
8683
echo "$as_me:8683: result: `eval echo '${'$as_ac_Header'}'`" >&5
8418
8684
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8419
8685
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8420
8686
  cat >>confdefs.h <<EOF
8426
8692
 
8427
8693
cf_x_athena=${cf_x_athena-Xaw}
8428
8694
 
8429
 
echo "$as_me:8429: checking if you want to link with Xaw 3d library" >&5
 
8695
echo "$as_me:8695: checking if you want to link with Xaw 3d library" >&5
8430
8696
echo $ECHO_N "checking if you want to link with Xaw 3d library... $ECHO_C" >&6
8431
8697
withval=
8432
8698
 
8437
8703
fi;
8438
8704
if test "$withval" = yes ; then
8439
8705
        cf_x_athena=Xaw3d
8440
 
        echo "$as_me:8440: result: yes" >&5
 
8706
        echo "$as_me:8706: result: yes" >&5
8441
8707
echo "${ECHO_T}yes" >&6
8442
8708
else
8443
 
        echo "$as_me:8443: result: no" >&5
 
8709
        echo "$as_me:8709: result: no" >&5
8444
8710
echo "${ECHO_T}no" >&6
8445
8711
fi
8446
8712
 
8447
 
echo "$as_me:8447: checking if you want to link with neXT Athena library" >&5
 
8713
echo "$as_me:8713: checking if you want to link with neXT Athena library" >&5
8448
8714
echo $ECHO_N "checking if you want to link with neXT Athena library... $ECHO_C" >&6
8449
8715
withval=
8450
8716
 
8455
8721
fi;
8456
8722
if test "$withval" = yes ; then
8457
8723
        cf_x_athena=neXtaw
8458
 
        echo "$as_me:8458: result: yes" >&5
 
8724
        echo "$as_me:8724: result: yes" >&5
8459
8725
echo "${ECHO_T}yes" >&6
8460
8726
else
8461
 
        echo "$as_me:8461: result: no" >&5
 
8727
        echo "$as_me:8727: result: no" >&5
8462
8728
echo "${ECHO_T}no" >&6
8463
8729
fi
8464
8730
 
8465
 
echo "$as_me:8465: checking if you want to link with Athena-Plus library" >&5
 
8731
echo "$as_me:8731: checking if you want to link with Athena-Plus library" >&5
8466
8732
echo $ECHO_N "checking if you want to link with Athena-Plus library... $ECHO_C" >&6
8467
8733
withval=
8468
8734
 
8473
8739
fi;
8474
8740
if test "$withval" = yes ; then
8475
8741
        cf_x_athena=XawPlus
8476
 
        echo "$as_me:8476: result: yes" >&5
 
8742
        echo "$as_me:8742: result: yes" >&5
8477
8743
echo "${ECHO_T}yes" >&6
8478
8744
else
8479
 
        echo "$as_me:8479: result: no" >&5
 
8745
        echo "$as_me:8745: result: no" >&5
8480
8746
echo "${ECHO_T}no" >&6
8481
8747
fi
8482
8748
 
8483
 
echo "$as_me:8483: checking for XextCreateExtension in -lXext" >&5
 
8749
echo "$as_me:8749: checking for XextCreateExtension in -lXext" >&5
8484
8750
echo $ECHO_N "checking for XextCreateExtension in -lXext... $ECHO_C" >&6
8485
8751
if test "${ac_cv_lib_Xext_XextCreateExtension+set}" = set; then
8486
8752
  echo $ECHO_N "(cached) $ECHO_C" >&6
8488
8754
  ac_check_lib_save_LIBS=$LIBS
8489
8755
LIBS="-lXext  $LIBS"
8490
8756
cat >conftest.$ac_ext <<_ACEOF
8491
 
#line 8491 "configure"
 
8757
#line 8757 "configure"
8492
8758
#include "confdefs.h"
8493
8759
 
8494
8760
/* Override any gcc2 internal prototype to avoid an error.  */
8507
8773
}
8508
8774
_ACEOF
8509
8775
rm -f conftest.$ac_objext conftest$ac_exeext
8510
 
if { (eval echo "$as_me:8510: \"$ac_link\"") >&5
 
8776
if { (eval echo "$as_me:8776: \"$ac_link\"") >&5
8511
8777
  (eval $ac_link) 2>&5
8512
8778
  ac_status=$?
8513
 
  echo "$as_me:8513: \$? = $ac_status" >&5
 
8779
  echo "$as_me:8779: \$? = $ac_status" >&5
8514
8780
  (exit $ac_status); } &&
8515
8781
         { ac_try='test -s conftest$ac_exeext'
8516
 
  { (eval echo "$as_me:8516: \"$ac_try\"") >&5
 
8782
  { (eval echo "$as_me:8782: \"$ac_try\"") >&5
8517
8783
  (eval $ac_try) 2>&5
8518
8784
  ac_status=$?
8519
 
  echo "$as_me:8519: \$? = $ac_status" >&5
 
8785
  echo "$as_me:8785: \$? = $ac_status" >&5
8520
8786
  (exit $ac_status); }; }; then
8521
8787
  ac_cv_lib_Xext_XextCreateExtension=yes
8522
8788
else
8527
8793
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8528
8794
LIBS=$ac_check_lib_save_LIBS
8529
8795
fi
8530
 
echo "$as_me:8530: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
 
8796
echo "$as_me:8796: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
8531
8797
echo "${ECHO_T}$ac_cv_lib_Xext_XextCreateExtension" >&6
8532
8798
if test $ac_cv_lib_Xext_XextCreateExtension = yes; then
8533
8799
  LIBS="-lXext $LIBS"
8549
8815
                cf_test=X11/$cf_x_athena_root/SimpleMenu.h
8550
8816
                if test $cf_path != default ; then
8551
8817
                        CPPFLAGS="$cf_save -I$cf_path/include"
8552
 
                        echo "$as_me:8552: checking for $cf_test in $cf_path" >&5
 
8818
                        echo "$as_me:8818: checking for $cf_test in $cf_path" >&5
8553
8819
echo $ECHO_N "checking for $cf_test in $cf_path... $ECHO_C" >&6
8554
8820
                else
8555
 
                        echo "$as_me:8555: checking for $cf_test" >&5
 
8821
                        echo "$as_me:8821: checking for $cf_test" >&5
8556
8822
echo $ECHO_N "checking for $cf_test... $ECHO_C" >&6
8557
8823
                fi
8558
8824
                cat >conftest.$ac_ext <<_ACEOF
8559
 
#line 8559 "configure"
 
8825
#line 8825 "configure"
8560
8826
#include "confdefs.h"
8561
8827
 
8562
8828
#include <X11/Intrinsic.h>
8570
8836
}
8571
8837
_ACEOF
8572
8838
rm -f conftest.$ac_objext
8573
 
if { (eval echo "$as_me:8573: \"$ac_compile\"") >&5
 
8839
if { (eval echo "$as_me:8839: \"$ac_compile\"") >&5
8574
8840
  (eval $ac_compile) 2>&5
8575
8841
  ac_status=$?
8576
 
  echo "$as_me:8576: \$? = $ac_status" >&5
 
8842
  echo "$as_me:8842: \$? = $ac_status" >&5
8577
8843
  (exit $ac_status); } &&
8578
8844
         { ac_try='test -s conftest.$ac_objext'
8579
 
  { (eval echo "$as_me:8579: \"$ac_try\"") >&5
 
8845
  { (eval echo "$as_me:8845: \"$ac_try\"") >&5
8580
8846
  (eval $ac_try) 2>&5
8581
8847
  ac_status=$?
8582
 
  echo "$as_me:8582: \$? = $ac_status" >&5
 
8848
  echo "$as_me:8848: \$? = $ac_status" >&5
8583
8849
  (exit $ac_status); }; }; then
8584
8850
  cf_result=yes
8585
8851
else
8588
8854
cf_result=no
8589
8855
fi
8590
8856
rm -f conftest.$ac_objext conftest.$ac_ext
8591
 
                echo "$as_me:8591: result: $cf_result" >&5
 
8857
                echo "$as_me:8857: result: $cf_result" >&5
8592
8858
echo "${ECHO_T}$cf_result" >&6
8593
8859
                if test "$cf_result" = yes ; then
8594
8860
                        cf_x_athena_include=$cf_path
8600
8866
done
8601
8867
 
8602
8868
if test -z "$cf_x_athena_include" ; then
8603
 
        { echo "$as_me:8603: WARNING: Unable to successfully find Athena header files with test program" >&5
 
8869
        { echo "$as_me:8869: WARNING: Unable to successfully find Athena header files with test program" >&5
8604
8870
echo "$as_me: WARNING: Unable to successfully find Athena header files with test program" >&2;}
8605
8871
elif test "$cf_x_athena_include" != default ; then
8606
8872
        CPPFLAGS="$CPPFLAGS -I$cf_x_athena_include"
8625
8891
                        cf_test=XawSimpleMenuAddGlobalActions
8626
8892
                        if test $cf_path != default ; then
8627
8893
                                LIBS="-L$cf_path/lib $cf_lib $LIBS"
8628
 
                                echo "$as_me:8628: checking for $cf_lib in $cf_path" >&5
 
8894
                                echo "$as_me:8894: checking for $cf_lib in $cf_path" >&5
8629
8895
echo $ECHO_N "checking for $cf_lib in $cf_path... $ECHO_C" >&6
8630
8896
                        else
8631
8897
                                LIBS="$cf_lib $LIBS"
8632
 
                                echo "$as_me:8632: checking for $cf_test in $cf_lib" >&5
 
8898
                                echo "$as_me:8898: checking for $cf_test in $cf_lib" >&5
8633
8899
echo $ECHO_N "checking for $cf_test in $cf_lib... $ECHO_C" >&6
8634
8900
                        fi
8635
8901
                        cat >conftest.$ac_ext <<_ACEOF
8636
 
#line 8636 "configure"
 
8902
#line 8902 "configure"
8637
8903
#include "confdefs.h"
8638
8904
 
8639
8905
int
8645
8911
}
8646
8912
_ACEOF
8647
8913
rm -f conftest.$ac_objext conftest$ac_exeext
8648
 
if { (eval echo "$as_me:8648: \"$ac_link\"") >&5
 
8914
if { (eval echo "$as_me:8914: \"$ac_link\"") >&5
8649
8915
  (eval $ac_link) 2>&5
8650
8916
  ac_status=$?
8651
 
  echo "$as_me:8651: \$? = $ac_status" >&5
 
8917
  echo "$as_me:8917: \$? = $ac_status" >&5
8652
8918
  (exit $ac_status); } &&
8653
8919
         { ac_try='test -s conftest$ac_exeext'
8654
 
  { (eval echo "$as_me:8654: \"$ac_try\"") >&5
 
8920
  { (eval echo "$as_me:8920: \"$ac_try\"") >&5
8655
8921
  (eval $ac_try) 2>&5
8656
8922
  ac_status=$?
8657
 
  echo "$as_me:8657: \$? = $ac_status" >&5
 
8923
  echo "$as_me:8923: \$? = $ac_status" >&5
8658
8924
  (exit $ac_status); }; }; then
8659
8925
  cf_result=yes
8660
8926
else
8663
8929
cf_result=no
8664
8930
fi
8665
8931
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8666
 
                        echo "$as_me:8666: result: $cf_result" >&5
 
8932
                        echo "$as_me:8932: result: $cf_result" >&5
8667
8933
echo "${ECHO_T}$cf_result" >&6
8668
8934
                        if test "$cf_result" = yes ; then
8669
8935
                                cf_x_athena_lib="$cf_lib"
8675
8941
done
8676
8942
 
8677
8943
if test -z "$cf_x_athena_lib" ; then
8678
 
        { { echo "$as_me:8678: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5
 
8944
        { { echo "$as_me:8944: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5
8679
8945
echo "$as_me: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&2;}
8680
8946
   { (exit 1); exit 1; }; }
8681
8947
fi
8689
8955
for ac_header in X11/Xpoll.h
8690
8956
do
8691
8957
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8692
 
echo "$as_me:8692: checking for $ac_header" >&5
 
8958
echo "$as_me:8958: checking for $ac_header" >&5
8693
8959
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8694
8960
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8695
8961
  echo $ECHO_N "(cached) $ECHO_C" >&6
8696
8962
else
8697
8963
  cat >conftest.$ac_ext <<_ACEOF
8698
 
#line 8698 "configure"
 
8964
#line 8964 "configure"
8699
8965
#include "confdefs.h"
8700
8966
#include <$ac_header>
8701
8967
_ACEOF
8702
 
if { (eval echo "$as_me:8702: \"$ac_cpp conftest.$ac_ext\"") >&5
 
8968
if { (eval echo "$as_me:8968: \"$ac_cpp conftest.$ac_ext\"") >&5
8703
8969
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8704
8970
  ac_status=$?
8705
8971
  egrep -v '^ *\+' conftest.er1 >conftest.err
8706
8972
  rm -f conftest.er1
8707
8973
  cat conftest.err >&5
8708
 
  echo "$as_me:8708: \$? = $ac_status" >&5
 
8974
  echo "$as_me:8974: \$? = $ac_status" >&5
8709
8975
  (exit $ac_status); } >/dev/null; then
8710
8976
  if test -s conftest.err; then
8711
8977
    ac_cpp_err=$ac_c_preproc_warn_flag
8724
8990
fi
8725
8991
rm -f conftest.err conftest.$ac_ext
8726
8992
fi
8727
 
echo "$as_me:8727: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
8993
echo "$as_me:8993: result: `eval echo '${'$as_ac_Header'}'`" >&5
8728
8994
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8729
8995
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8730
8996
  cat >>confdefs.h <<EOF
8734
9000
fi
8735
9001
done
8736
9002
 
8737
 
echo "$as_me:8737: checking for declaration of fd_set" >&5
 
9003
echo "$as_me:9003: checking for declaration of fd_set" >&5
8738
9004
echo $ECHO_N "checking for declaration of fd_set... $ECHO_C" >&6
8739
9005
if test "${cf_cv_type_fd_set+set}" = set; then
8740
9006
  echo $ECHO_N "(cached) $ECHO_C" >&6
8741
9007
else
8742
9008
 
8743
 
echo "${as_me-configure}:8743: testing sys/types alone ..." 1>&5
 
9009
echo "${as_me-configure}:9009: testing sys/types alone ..." 1>&5
8744
9010
 
8745
9011
cat >conftest.$ac_ext <<_ACEOF
8746
 
#line 8746 "configure"
 
9012
#line 9012 "configure"
8747
9013
#include "confdefs.h"
8748
9014
 
8749
9015
#include <sys/types.h>
8756
9022
}
8757
9023
_ACEOF
8758
9024
rm -f conftest.$ac_objext
8759
 
if { (eval echo "$as_me:8759: \"$ac_compile\"") >&5
 
9025
if { (eval echo "$as_me:9025: \"$ac_compile\"") >&5
8760
9026
  (eval $ac_compile) 2>&5
8761
9027
  ac_status=$?
8762
 
  echo "$as_me:8762: \$? = $ac_status" >&5
 
9028
  echo "$as_me:9028: \$? = $ac_status" >&5
8763
9029
  (exit $ac_status); } &&
8764
9030
         { ac_try='test -s conftest.$ac_objext'
8765
 
  { (eval echo "$as_me:8765: \"$ac_try\"") >&5
 
9031
  { (eval echo "$as_me:9031: \"$ac_try\"") >&5
8766
9032
  (eval $ac_try) 2>&5
8767
9033
  ac_status=$?
8768
 
  echo "$as_me:8768: \$? = $ac_status" >&5
 
9034
  echo "$as_me:9034: \$? = $ac_status" >&5
8769
9035
  (exit $ac_status); }; }; then
8770
9036
  cf_cv_type_fd_set=sys/types.h
8771
9037
else
8772
9038
  echo "$as_me: failed program was:" >&5
8773
9039
cat conftest.$ac_ext >&5
8774
9040
 
8775
 
echo "${as_me-configure}:8775: testing X11/Xpoll.h ..." 1>&5
 
9041
echo "${as_me-configure}:9041: testing X11/Xpoll.h ..." 1>&5
8776
9042
 
8777
9043
cat >conftest.$ac_ext <<_ACEOF
8778
 
#line 8778 "configure"
 
9044
#line 9044 "configure"
8779
9045
#include "confdefs.h"
8780
9046
 
8781
9047
#ifdef HAVE_X11_XPOLL_H
8790
9056
}
8791
9057
_ACEOF
8792
9058
rm -f conftest.$ac_objext
8793
 
if { (eval echo "$as_me:8793: \"$ac_compile\"") >&5
 
9059
if { (eval echo "$as_me:9059: \"$ac_compile\"") >&5
8794
9060
  (eval $ac_compile) 2>&5
8795
9061
  ac_status=$?
8796
 
  echo "$as_me:8796: \$? = $ac_status" >&5
 
9062
  echo "$as_me:9062: \$? = $ac_status" >&5
8797
9063
  (exit $ac_status); } &&
8798
9064
         { ac_try='test -s conftest.$ac_objext'
8799
 
  { (eval echo "$as_me:8799: \"$ac_try\"") >&5
 
9065
  { (eval echo "$as_me:9065: \"$ac_try\"") >&5
8800
9066
  (eval $ac_try) 2>&5
8801
9067
  ac_status=$?
8802
 
  echo "$as_me:8802: \$? = $ac_status" >&5
 
9068
  echo "$as_me:9068: \$? = $ac_status" >&5
8803
9069
  (exit $ac_status); }; }; then
8804
9070
  cf_cv_type_fd_set=X11/Xpoll.h
8805
9071
else
8806
9072
  echo "$as_me: failed program was:" >&5
8807
9073
cat conftest.$ac_ext >&5
8808
9074
 
8809
 
echo "${as_me-configure}:8809: testing sys/select.h ..." 1>&5
 
9075
echo "${as_me-configure}:9075: testing sys/select.h ..." 1>&5
8810
9076
 
8811
9077
cat >conftest.$ac_ext <<_ACEOF
8812
 
#line 8812 "configure"
 
9078
#line 9078 "configure"
8813
9079
#include "confdefs.h"
8814
9080
 
8815
9081
#include <sys/types.h>
8823
9089
}
8824
9090
_ACEOF
8825
9091
rm -f conftest.$ac_objext
8826
 
if { (eval echo "$as_me:8826: \"$ac_compile\"") >&5
 
9092
if { (eval echo "$as_me:9092: \"$ac_compile\"") >&5
8827
9093
  (eval $ac_compile) 2>&5
8828
9094
  ac_status=$?
8829
 
  echo "$as_me:8829: \$? = $ac_status" >&5
 
9095
  echo "$as_me:9095: \$? = $ac_status" >&5
8830
9096
  (exit $ac_status); } &&
8831
9097
         { ac_try='test -s conftest.$ac_objext'
8832
 
  { (eval echo "$as_me:8832: \"$ac_try\"") >&5
 
9098
  { (eval echo "$as_me:9098: \"$ac_try\"") >&5
8833
9099
  (eval $ac_try) 2>&5
8834
9100
  ac_status=$?
8835
 
  echo "$as_me:8835: \$? = $ac_status" >&5
 
9101
  echo "$as_me:9101: \$? = $ac_status" >&5
8836
9102
  (exit $ac_status); }; }; then
8837
9103
  cf_cv_type_fd_set=sys/select.h
8838
9104
else
8846
9112
fi
8847
9113
rm -f conftest.$ac_objext conftest.$ac_ext
8848
9114
fi
8849
 
echo "$as_me:8849: result: $cf_cv_type_fd_set" >&5
 
9115
echo "$as_me:9115: result: $cf_cv_type_fd_set" >&5
8850
9116
echo "${ECHO_T}$cf_cv_type_fd_set" >&6
8851
9117
if test $cf_cv_type_fd_set = sys/select.h ; then
8852
9118
        cat >>confdefs.h <<\EOF
8855
9121
 
8856
9122
fi
8857
9123
 
8858
 
echo "$as_me:8858: checking for declaration of fd_mask" >&5
 
9124
echo "$as_me:9124: checking for declaration of fd_mask" >&5
8859
9125
echo $ECHO_N "checking for declaration of fd_mask... $ECHO_C" >&6
8860
9126
if test "${cf_cv_type_fd_mask+set}" = set; then
8861
9127
  echo $ECHO_N "(cached) $ECHO_C" >&6
8863
9129
 
8864
9130
    if test x$cf_cv_type_fd_set = xX11/Xpoll.h ; then
8865
9131
        cat >conftest.$ac_ext <<_ACEOF
8866
 
#line 8866 "configure"
 
9132
#line 9132 "configure"
8867
9133
#include "confdefs.h"
8868
9134
 
8869
9135
#include <X11/Xpoll.h>
8876
9142
}
8877
9143
_ACEOF
8878
9144
rm -f conftest.$ac_objext
8879
 
if { (eval echo "$as_me:8879: \"$ac_compile\"") >&5
 
9145
if { (eval echo "$as_me:9145: \"$ac_compile\"") >&5
8880
9146
  (eval $ac_compile) 2>&5
8881
9147
  ac_status=$?
8882
 
  echo "$as_me:8882: \$? = $ac_status" >&5
 
9148
  echo "$as_me:9148: \$? = $ac_status" >&5
8883
9149
  (exit $ac_status); } &&
8884
9150
         { ac_try='test -s conftest.$ac_objext'
8885
 
  { (eval echo "$as_me:8885: \"$ac_try\"") >&5
 
9151
  { (eval echo "$as_me:9151: \"$ac_try\"") >&5
8886
9152
  (eval $ac_try) 2>&5
8887
9153
  ac_status=$?
8888
 
  echo "$as_me:8888: \$? = $ac_status" >&5
 
9154
  echo "$as_me:9154: \$? = $ac_status" >&5
8889
9155
  (exit $ac_status); }; }; then
8890
9156
  :
8891
9157
else
8892
9158
  echo "$as_me: failed program was:" >&5
8893
9159
cat conftest.$ac_ext >&5
8894
9160
 
8895
 
echo "${as_me-configure}:8895: testing if we must define CSRG_BASED ..." 1>&5
 
9161
echo "${as_me-configure}:9161: testing if we must define CSRG_BASED ..." 1>&5
8896
9162
 
8897
9163
# Xosdefs.h on Mac OS X may not define this (but it should).
8898
9164
            cat >conftest.$ac_ext <<_ACEOF
8899
 
#line 8899 "configure"
 
9165
#line 9165 "configure"
8900
9166
#include "confdefs.h"
8901
9167
 
8902
9168
#define CSRG_BASED
8910
9176
}
8911
9177
_ACEOF
8912
9178
rm -f conftest.$ac_objext
8913
 
if { (eval echo "$as_me:8913: \"$ac_compile\"") >&5
 
9179
if { (eval echo "$as_me:9179: \"$ac_compile\"") >&5
8914
9180
  (eval $ac_compile) 2>&5
8915
9181
  ac_status=$?
8916
 
  echo "$as_me:8916: \$? = $ac_status" >&5
 
9182
  echo "$as_me:9182: \$? = $ac_status" >&5
8917
9183
  (exit $ac_status); } &&
8918
9184
         { ac_try='test -s conftest.$ac_objext'
8919
 
  { (eval echo "$as_me:8919: \"$ac_try\"") >&5
 
9185
  { (eval echo "$as_me:9185: \"$ac_try\"") >&5
8920
9186
  (eval $ac_try) 2>&5
8921
9187
  ac_status=$?
8922
 
  echo "$as_me:8922: \$? = $ac_status" >&5
 
9188
  echo "$as_me:9188: \$? = $ac_status" >&5
8923
9189
  (exit $ac_status); }; }; then
8924
9190
  cf_cv_type_fd_mask=CSRG_BASED
8925
9191
else
8934
9200
    fi
8935
9201
 
8936
9202
fi
8937
 
echo "$as_me:8937: result: $cf_cv_type_fd_mask" >&5
 
9203
echo "$as_me:9203: result: $cf_cv_type_fd_mask" >&5
8938
9204
echo "${ECHO_T}$cf_cv_type_fd_mask" >&6
8939
9205
if test x$cf_cv_type_fd_mask = xCSRG_BASED ; then
8940
9206
    cat >>confdefs.h <<\EOF
8943
9209
 
8944
9210
fi
8945
9211
 
8946
 
echo "$as_me:8946: checking for IRIX 6.5 baud-rate redefinitions" >&5
 
9212
echo "$as_me:9212: checking for IRIX 6.5 baud-rate redefinitions" >&5
8947
9213
echo $ECHO_N "checking for IRIX 6.5 baud-rate redefinitions... $ECHO_C" >&6
8948
9214
if test "${cf_cv_termio_c_ispeed+set}" = set; then
8949
9215
  echo $ECHO_N "(cached) $ECHO_C" >&6
8950
9216
else
8951
9217
 
8952
9218
cat >conftest.$ac_ext <<_ACEOF
8953
 
#line 8953 "configure"
 
9219
#line 9219 "configure"
8954
9220
#include "confdefs.h"
8955
9221
 
8956
9222
#include <sys/types.h>
8968
9234
}
8969
9235
_ACEOF
8970
9236
rm -f conftest.$ac_objext
8971
 
if { (eval echo "$as_me:8971: \"$ac_compile\"") >&5
 
9237
if { (eval echo "$as_me:9237: \"$ac_compile\"") >&5
8972
9238
  (eval $ac_compile) 2>&5
8973
9239
  ac_status=$?
8974
 
  echo "$as_me:8974: \$? = $ac_status" >&5
 
9240
  echo "$as_me:9240: \$? = $ac_status" >&5
8975
9241
  (exit $ac_status); } &&
8976
9242
         { ac_try='test -s conftest.$ac_objext'
8977
 
  { (eval echo "$as_me:8977: \"$ac_try\"") >&5
 
9243
  { (eval echo "$as_me:9243: \"$ac_try\"") >&5
8978
9244
  (eval $ac_try) 2>&5
8979
9245
  ac_status=$?
8980
 
  echo "$as_me:8980: \$? = $ac_status" >&5
 
9246
  echo "$as_me:9246: \$? = $ac_status" >&5
8981
9247
  (exit $ac_status); }; }; then
8982
9248
  cf_cv_termio_c_ispeed=yes
8983
9249
 
8989
9255
rm -f conftest.$ac_objext conftest.$ac_ext
8990
9256
 
8991
9257
fi
8992
 
echo "$as_me:8992: result: $cf_cv_termio_c_ispeed" >&5
 
9258
echo "$as_me:9258: result: $cf_cv_termio_c_ispeed" >&5
8993
9259
echo "${ECHO_T}$cf_cv_termio_c_ispeed" >&6
8994
9260
test "$cf_cv_termio_c_ispeed" = yes && cat >>confdefs.h <<\EOF
8995
9261
#define HAVE_TERMIO_C_ISPEED 1
9002
9268
case $host_os in #(vi
9003
9269
freebsd*|netbsd*|dragonfly*) # 2004/8/15 - revisit this if/when grantpt is known to work.
9004
9270
 
9005
 
echo "$as_me:9005: checking for openpty in -lutil" >&5
 
9271
echo "$as_me:9271: checking for openpty in -lutil" >&5
9006
9272
echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
9007
9273
if test "${ac_cv_lib_util_openpty+set}" = set; then
9008
9274
  echo $ECHO_N "(cached) $ECHO_C" >&6
9010
9276
  ac_check_lib_save_LIBS=$LIBS
9011
9277
LIBS="-lutil  $LIBS"
9012
9278
cat >conftest.$ac_ext <<_ACEOF
9013
 
#line 9013 "configure"
 
9279
#line 9279 "configure"
9014
9280
#include "confdefs.h"
9015
9281
 
9016
9282
/* Override any gcc2 internal prototype to avoid an error.  */
9029
9295
}
9030
9296
_ACEOF
9031
9297
rm -f conftest.$ac_objext conftest$ac_exeext
9032
 
if { (eval echo "$as_me:9032: \"$ac_link\"") >&5
 
9298
if { (eval echo "$as_me:9298: \"$ac_link\"") >&5
9033
9299
  (eval $ac_link) 2>&5
9034
9300
  ac_status=$?
9035
 
  echo "$as_me:9035: \$? = $ac_status" >&5
 
9301
  echo "$as_me:9301: \$? = $ac_status" >&5
9036
9302
  (exit $ac_status); } &&
9037
9303
         { ac_try='test -s conftest$ac_exeext'
9038
 
  { (eval echo "$as_me:9038: \"$ac_try\"") >&5
 
9304
  { (eval echo "$as_me:9304: \"$ac_try\"") >&5
9039
9305
  (eval $ac_try) 2>&5
9040
9306
  ac_status=$?
9041
 
  echo "$as_me:9041: \$? = $ac_status" >&5
 
9307
  echo "$as_me:9307: \$? = $ac_status" >&5
9042
9308
  (exit $ac_status); }; }; then
9043
9309
  ac_cv_lib_util_openpty=yes
9044
9310
else
9049
9315
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9050
9316
LIBS=$ac_check_lib_save_LIBS
9051
9317
fi
9052
 
echo "$as_me:9052: result: $ac_cv_lib_util_openpty" >&5
 
9318
echo "$as_me:9318: result: $ac_cv_lib_util_openpty" >&5
9053
9319
echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
9054
9320
if test $ac_cv_lib_util_openpty = yes; then
9055
9321
  cat >>confdefs.h <<EOF
9066
9332
for ac_func in grantpt
9067
9333
do
9068
9334
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9069
 
echo "$as_me:9069: checking for $ac_func" >&5
 
9335
echo "$as_me:9335: checking for $ac_func" >&5
9070
9336
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9071
9337
if eval "test \"\${$as_ac_var+set}\" = set"; then
9072
9338
  echo $ECHO_N "(cached) $ECHO_C" >&6
9073
9339
else
9074
9340
  cat >conftest.$ac_ext <<_ACEOF
9075
 
#line 9075 "configure"
 
9341
#line 9341 "configure"
9076
9342
#include "confdefs.h"
9077
9343
/* System header to define __stub macros and hopefully few prototypes,
9078
9344
    which can conflict with char $ac_func (); below.  */
9103
9369
}
9104
9370
_ACEOF
9105
9371
rm -f conftest.$ac_objext conftest$ac_exeext
9106
 
if { (eval echo "$as_me:9106: \"$ac_link\"") >&5
 
9372
if { (eval echo "$as_me:9372: \"$ac_link\"") >&5
9107
9373
  (eval $ac_link) 2>&5
9108
9374
  ac_status=$?
9109
 
  echo "$as_me:9109: \$? = $ac_status" >&5
 
9375
  echo "$as_me:9375: \$? = $ac_status" >&5
9110
9376
  (exit $ac_status); } &&
9111
9377
         { ac_try='test -s conftest$ac_exeext'
9112
 
  { (eval echo "$as_me:9112: \"$ac_try\"") >&5
 
9378
  { (eval echo "$as_me:9378: \"$ac_try\"") >&5
9113
9379
  (eval $ac_try) 2>&5
9114
9380
  ac_status=$?
9115
 
  echo "$as_me:9115: \$? = $ac_status" >&5
 
9381
  echo "$as_me:9381: \$? = $ac_status" >&5
9116
9382
  (exit $ac_status); }; }; then
9117
9383
  eval "$as_ac_var=yes"
9118
9384
else
9122
9388
fi
9123
9389
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9124
9390
fi
9125
 
echo "$as_me:9125: result: `eval echo '${'$as_ac_var'}'`" >&5
 
9391
echo "$as_me:9391: result: `eval echo '${'$as_ac_var'}'`" >&5
9126
9392
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9127
9393
if test `eval echo '${'$as_ac_var'}'` = yes; then
9128
9394
  cat >>confdefs.h <<EOF
9131
9397
 
9132
9398
else
9133
9399
 
9134
 
echo "$as_me:9134: checking for openpty in -lutil" >&5
 
9400
echo "$as_me:9400: checking for openpty in -lutil" >&5
9135
9401
echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
9136
9402
if test "${ac_cv_lib_util_openpty+set}" = set; then
9137
9403
  echo $ECHO_N "(cached) $ECHO_C" >&6
9139
9405
  ac_check_lib_save_LIBS=$LIBS
9140
9406
LIBS="-lutil  $LIBS"
9141
9407
cat >conftest.$ac_ext <<_ACEOF
9142
 
#line 9142 "configure"
 
9408
#line 9408 "configure"
9143
9409
#include "confdefs.h"
9144
9410
 
9145
9411
/* Override any gcc2 internal prototype to avoid an error.  */
9158
9424
}
9159
9425
_ACEOF
9160
9426
rm -f conftest.$ac_objext conftest$ac_exeext
9161
 
if { (eval echo "$as_me:9161: \"$ac_link\"") >&5
 
9427
if { (eval echo "$as_me:9427: \"$ac_link\"") >&5
9162
9428
  (eval $ac_link) 2>&5
9163
9429
  ac_status=$?
9164
 
  echo "$as_me:9164: \$? = $ac_status" >&5
 
9430
  echo "$as_me:9430: \$? = $ac_status" >&5
9165
9431
  (exit $ac_status); } &&
9166
9432
         { ac_try='test -s conftest$ac_exeext'
9167
 
  { (eval echo "$as_me:9167: \"$ac_try\"") >&5
 
9433
  { (eval echo "$as_me:9433: \"$ac_try\"") >&5
9168
9434
  (eval $ac_try) 2>&5
9169
9435
  ac_status=$?
9170
 
  echo "$as_me:9170: \$? = $ac_status" >&5
 
9436
  echo "$as_me:9436: \$? = $ac_status" >&5
9171
9437
  (exit $ac_status); }; }; then
9172
9438
  ac_cv_lib_util_openpty=yes
9173
9439
else
9178
9444
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9179
9445
LIBS=$ac_check_lib_save_LIBS
9180
9446
fi
9181
 
echo "$as_me:9181: result: $ac_cv_lib_util_openpty" >&5
 
9447
echo "$as_me:9447: result: $ac_cv_lib_util_openpty" >&5
9182
9448
echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
9183
9449
if test $ac_cv_lib_util_openpty = yes; then
9184
9450
  cat >>confdefs.h <<EOF
9195
9461
        ;;
9196
9462
esac
9197
9463
 
9198
 
echo "$as_me:9198: checking for XKB Bell extension" >&5
 
9464
echo "$as_me:9464: checking for XKB Bell extension" >&5
9199
9465
echo $ECHO_N "checking for XKB Bell extension... $ECHO_C" >&6
9200
9466
if test "${cf_cv_xkb_bell_ext+set}" = set; then
9201
9467
  echo $ECHO_N "(cached) $ECHO_C" >&6
9202
9468
else
9203
9469
 
9204
9470
cat >conftest.$ac_ext <<_ACEOF
9205
 
#line 9205 "configure"
 
9471
#line 9471 "configure"
9206
9472
#include "confdefs.h"
9207
9473
 
9208
9474
#include <X11/Intrinsic.h>
9222
9488
}
9223
9489
_ACEOF
9224
9490
rm -f conftest.$ac_objext conftest$ac_exeext
9225
 
if { (eval echo "$as_me:9225: \"$ac_link\"") >&5
 
9491
if { (eval echo "$as_me:9491: \"$ac_link\"") >&5
9226
9492
  (eval $ac_link) 2>&5
9227
9493
  ac_status=$?
9228
 
  echo "$as_me:9228: \$? = $ac_status" >&5
 
9494
  echo "$as_me:9494: \$? = $ac_status" >&5
9229
9495
  (exit $ac_status); } &&
9230
9496
         { ac_try='test -s conftest$ac_exeext'
9231
 
  { (eval echo "$as_me:9231: \"$ac_try\"") >&5
 
9497
  { (eval echo "$as_me:9497: \"$ac_try\"") >&5
9232
9498
  (eval $ac_try) 2>&5
9233
9499
  ac_status=$?
9234
 
  echo "$as_me:9234: \$? = $ac_status" >&5
 
9500
  echo "$as_me:9500: \$? = $ac_status" >&5
9235
9501
  (exit $ac_status); }; }; then
9236
9502
  cf_cv_xkb_bell_ext=yes
9237
9503
else
9242
9508
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9243
9509
 
9244
9510
fi
9245
 
echo "$as_me:9245: result: $cf_cv_xkb_bell_ext" >&5
 
9511
echo "$as_me:9511: result: $cf_cv_xkb_bell_ext" >&5
9246
9512
echo "${ECHO_T}$cf_cv_xkb_bell_ext" >&6
9247
9513
test "$cf_cv_xkb_bell_ext" = yes && cat >>confdefs.h <<\EOF
9248
9514
#define HAVE_XKB_BELL_EXT 1
9251
9517
for ac_func in Xutf8LookupString
9252
9518
do
9253
9519
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9254
 
echo "$as_me:9254: checking for $ac_func" >&5
 
9520
echo "$as_me:9520: checking for $ac_func" >&5
9255
9521
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9256
9522
if eval "test \"\${$as_ac_var+set}\" = set"; then
9257
9523
  echo $ECHO_N "(cached) $ECHO_C" >&6
9258
9524
else
9259
9525
  cat >conftest.$ac_ext <<_ACEOF
9260
 
#line 9260 "configure"
 
9526
#line 9526 "configure"
9261
9527
#include "confdefs.h"
9262
9528
/* System header to define __stub macros and hopefully few prototypes,
9263
9529
    which can conflict with char $ac_func (); below.  */
9288
9554
}
9289
9555
_ACEOF
9290
9556
rm -f conftest.$ac_objext conftest$ac_exeext
9291
 
if { (eval echo "$as_me:9291: \"$ac_link\"") >&5
 
9557
if { (eval echo "$as_me:9557: \"$ac_link\"") >&5
9292
9558
  (eval $ac_link) 2>&5
9293
9559
  ac_status=$?
9294
 
  echo "$as_me:9294: \$? = $ac_status" >&5
 
9560
  echo "$as_me:9560: \$? = $ac_status" >&5
9295
9561
  (exit $ac_status); } &&
9296
9562
         { ac_try='test -s conftest$ac_exeext'
9297
 
  { (eval echo "$as_me:9297: \"$ac_try\"") >&5
 
9563
  { (eval echo "$as_me:9563: \"$ac_try\"") >&5
9298
9564
  (eval $ac_try) 2>&5
9299
9565
  ac_status=$?
9300
 
  echo "$as_me:9300: \$? = $ac_status" >&5
 
9566
  echo "$as_me:9566: \$? = $ac_status" >&5
9301
9567
  (exit $ac_status); }; }; then
9302
9568
  eval "$as_ac_var=yes"
9303
9569
else
9307
9573
fi
9308
9574
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9309
9575
fi
9310
 
echo "$as_me:9310: result: `eval echo '${'$as_ac_var'}'`" >&5
 
9576
echo "$as_me:9576: result: `eval echo '${'$as_ac_var'}'`" >&5
9311
9577
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9312
9578
if test `eval echo '${'$as_ac_var'}'` = yes; then
9313
9579
  cat >>confdefs.h <<EOF
9323
9589
fi
9324
9590
done
9325
9591
 
9326
 
echo "$as_me:9326: checking if you want narrow prototypes for X libraries" >&5
 
9592
echo "$as_me:9592: checking if you want narrow prototypes for X libraries" >&5
9327
9593
echo $ECHO_N "checking if you want narrow prototypes for X libraries... $ECHO_C" >&6
9328
9594
 
9329
9595
case `$ac_config_guess` in #(vi
9349
9615
  enable_narrowproto=$cf_default_narrowproto
9350
9616
 
9351
9617
fi;
9352
 
echo "$as_me:9352: result: $enable_narrowproto" >&5
 
9618
echo "$as_me:9618: result: $enable_narrowproto" >&5
9353
9619
echo "${ECHO_T}$enable_narrowproto" >&6
9354
9620
 
9355
 
echo "$as_me:9355: checking if we should use imake to help" >&5
 
9621
echo "$as_me:9621: checking if we should use imake to help" >&5
9356
9622
echo $ECHO_N "checking if we should use imake to help... $ECHO_C" >&6
9357
9623
 
9358
9624
# Check whether --enable-imake or --disable-imake was given.
9369
9635
  enable_imake=yes
9370
9636
 
9371
9637
fi;
9372
 
echo "$as_me:9372: result: $enable_imake" >&5
 
9638
echo "$as_me:9638: result: $enable_imake" >&5
9373
9639
echo "${ECHO_T}$enable_imake" >&6
9374
9640
 
9375
9641
if test "$enable_imake" = yes ; then
9378
9644
do
9379
9645
  # Extract the first word of "$ac_prog", so it can be a program name with args.
9380
9646
set dummy $ac_prog; ac_word=$2
9381
 
echo "$as_me:9381: checking for $ac_word" >&5
 
9647
echo "$as_me:9647: checking for $ac_word" >&5
9382
9648
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9383
9649
if test "${ac_cv_path_IMAKE+set}" = set; then
9384
9650
  echo $ECHO_N "(cached) $ECHO_C" >&6
9395
9661
  test -z "$ac_dir" && ac_dir=.
9396
9662
  if $as_executable_p "$ac_dir/$ac_word"; then
9397
9663
   ac_cv_path_IMAKE="$ac_dir/$ac_word"
9398
 
   echo "$as_me:9398: found $ac_dir/$ac_word" >&5
 
9664
   echo "$as_me:9664: found $ac_dir/$ac_word" >&5
9399
9665
   break
9400
9666
fi
9401
9667
done
9406
9672
IMAKE=$ac_cv_path_IMAKE
9407
9673
 
9408
9674
if test -n "$IMAKE"; then
9409
 
  echo "$as_me:9409: result: $IMAKE" >&5
 
9675
  echo "$as_me:9675: result: $IMAKE" >&5
9410
9676
echo "${ECHO_T}$IMAKE" >&6
9411
9677
else
9412
 
  echo "$as_me:9412: result: no" >&5
 
9678
  echo "$as_me:9678: result: no" >&5
9413
9679
echo "${ECHO_T}no" >&6
9414
9680
fi
9415
9681
 
9469
9735
        then
9470
9736
                test -n "$verbose" && echo "    Using $IMAKE $cf_imake_opts" 1>&6
9471
9737
 
9472
 
echo "${as_me-configure}:9472: testing Using $IMAKE $cf_imake_opts ..." 1>&5
 
9738
echo "${as_me-configure}:9738: testing Using $IMAKE $cf_imake_opts ..." 1>&5
9473
9739
 
9474
9740
        else
9475
9741
                # sometimes imake doesn't have the config path compiled in.  Find it.
9487
9753
                        esac
9488
9754
                done
9489
9755
                if test -z "$cf_config" ; then
9490
 
                        { echo "$as_me:9490: WARNING: Could not find imake config-directory" >&5
 
9756
                        { echo "$as_me:9756: WARNING: Could not find imake config-directory" >&5
9491
9757
echo "$as_me: WARNING: Could not find imake config-directory" >&2;}
9492
9758
                else
9493
9759
                        cf_imake_opts="$cf_imake_opts -I$cf_config"
9495
9761
                        then
9496
9762
                                test -n "$verbose" && echo "    Using $IMAKE $cf_config" 1>&6
9497
9763
 
9498
 
echo "${as_me-configure}:9498: testing Using $IMAKE $cf_config ..." 1>&5
 
9764
echo "${as_me-configure}:9764: testing Using $IMAKE $cf_config ..." 1>&5
9499
9765
 
9500
9766
                        else
9501
 
                                { echo "$as_me:9501: WARNING: Cannot run $IMAKE" >&5
 
9767
                                { echo "$as_me:9767: WARNING: Cannot run $IMAKE" >&5
9502
9768
echo "$as_me: WARNING: Cannot run $IMAKE" >&2;}
9503
9769
                        fi
9504
9770
                fi
9542
9808
                else
9543
9809
                    test -n "$verbose" && echo "        suppressed \"$cf_nostdinc\" and \"$cf_std_incl\"" 1>&6
9544
9810
 
9545
 
echo "${as_me-configure}:9545: testing suppressed \"$cf_nostdinc\" and \"$cf_std_incl\" ..." 1>&5
 
9811
echo "${as_me-configure}:9811: testing suppressed \"$cf_nostdinc\" and \"$cf_std_incl\" ..." 1>&5
9546
9812
 
9547
9813
                    IMAKE_CFLAGS="$cf_cpp_opts"
9548
9814
                fi
9564
9830
 
9565
9831
test -n "$verbose" && echo "    IMAKE_CFLAGS $IMAKE_CFLAGS" 1>&6
9566
9832
 
9567
 
echo "${as_me-configure}:9567: testing IMAKE_CFLAGS $IMAKE_CFLAGS ..." 1>&5
 
9833
echo "${as_me-configure}:9833: testing IMAKE_CFLAGS $IMAKE_CFLAGS ..." 1>&5
9568
9834
 
9569
9835
test -n "$verbose" && echo "    IMAKE_LOADFLAGS $IMAKE_LOADFLAGS" 1>&6
9570
9836
 
9571
 
echo "${as_me-configure}:9571: testing IMAKE_LOADFLAGS $IMAKE_LOADFLAGS ..." 1>&5
 
9837
echo "${as_me-configure}:9837: testing IMAKE_LOADFLAGS $IMAKE_LOADFLAGS ..." 1>&5
9572
9838
 
9573
9839
fi
9574
9840
 
9590
9856
                        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
9591
9857
 
9592
9858
                        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
9593
 
                        && test -z "${cf_tst_cflags}" \
9594
 
                        && cf_fix_cppflags=yes
 
9859
                                && test -z "${cf_tst_cflags}" \
 
9860
                                && cf_fix_cppflags=yes
9595
9861
 
9596
9862
                        if test $cf_fix_cppflags = yes ; then
9597
9863
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
9606
9872
                *$cf_add_cflags) #(vi
9607
9873
                        ;;
9608
9874
                *) #(vi
 
9875
                        case $cf_add_cflags in #(vi
 
9876
                        -D*)
 
9877
                                cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 
9878
 
 
9879
CPPFLAGS=`echo "$CPPFLAGS" | \
 
9880
        sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
 
9881
                -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 
9882
 
 
9883
                                ;;
 
9884
                        esac
9609
9885
                        cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
9610
9886
                        ;;
9611
9887
                esac
9621
9897
        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
9622
9898
 
9623
9899
        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
9624
 
        && test -z "${cf_tst_cflags}" \
9625
 
        && cf_fix_cppflags=no
 
9900
                && test -z "${cf_tst_cflags}" \
 
9901
                && cf_fix_cppflags=no
9626
9902
        ;;
9627
9903
esac
9628
9904
done
9647
9923
        IMAKE_LOADFLAGS=
9648
9924
        test -n "$verbose" && echo "    make fallback definitions" 1>&6
9649
9925
 
9650
 
echo "${as_me-configure}:9650: testing make fallback definitions ..." 1>&5
 
9926
echo "${as_me-configure}:9926: testing make fallback definitions ..." 1>&5
9651
9927
 
9652
9928
        # We prefer config.guess' values when we can get them, to avoid
9653
9929
        # inconsistent results with uname (AIX for instance).  However,
9708
9984
                        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
9709
9985
 
9710
9986
                        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
9711
 
                        && test -z "${cf_tst_cflags}" \
9712
 
                        && cf_fix_cppflags=yes
 
9987
                                && test -z "${cf_tst_cflags}" \
 
9988
                                && cf_fix_cppflags=yes
9713
9989
 
9714
9990
                        if test $cf_fix_cppflags = yes ; then
9715
9991
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
9724
10000
                *$cf_add_cflags) #(vi
9725
10001
                        ;;
9726
10002
                *) #(vi
 
10003
                        case $cf_add_cflags in #(vi
 
10004
                        -D*)
 
10005
                                cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 
10006
 
 
10007
CPPFLAGS=`echo "$CPPFLAGS" | \
 
10008
        sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
 
10009
                -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 
10010
 
 
10011
                                ;;
 
10012
                        esac
9727
10013
                        cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
9728
10014
                        ;;
9729
10015
                esac
9739
10025
        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
9740
10026
 
9741
10027
        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
9742
 
        && test -z "${cf_tst_cflags}" \
9743
 
        && cf_fix_cppflags=no
 
10028
                && test -z "${cf_tst_cflags}" \
 
10029
                && cf_fix_cppflags=no
9744
10030
        ;;
9745
10031
esac
9746
10032
done
9762
10048
 
9763
10049
fi
9764
10050
 
9765
 
echo "$as_me:9765: checking for default terminal-id" >&5
 
10051
echo "$as_me:10051: checking for default terminal-id" >&5
9766
10052
echo $ECHO_N "checking for default terminal-id... $ECHO_C" >&6
9767
10053
 
9768
10054
# Check whether --with-terminal-id or --without-terminal-id was given.
9772
10058
else
9773
10059
  default_termid=vt100
9774
10060
fi;
9775
 
echo "$as_me:9775: result: $default_termid" >&5
 
10061
echo "$as_me:10061: result: $default_termid" >&5
9776
10062
echo "${ECHO_T}$default_termid" >&6
9777
10063
case $default_termid in
9778
10064
vt*)    default_termid=`echo $default_termid | sed -e 's/^..//'`
9782
10068
#define DFT_DECID "$default_termid"
9783
10069
EOF
9784
10070
 
9785
 
echo "$as_me:9785: checking for default terminal-type" >&5
 
10071
echo "$as_me:10071: checking for default terminal-type" >&5
9786
10072
echo $ECHO_N "checking for default terminal-type... $ECHO_C" >&6
9787
10073
 
9788
10074
# Check whether --with-terminal-type or --without-terminal-type was given.
9792
10078
else
9793
10079
  default_TERM=xterm
9794
10080
fi;
9795
 
echo "$as_me:9795: result: $default_TERM" >&5
 
10081
echo "$as_me:10081: result: $default_TERM" >&5
9796
10082
echo "${ECHO_T}$default_TERM" >&6
9797
10083
cat >>confdefs.h <<EOF
9798
10084
#define DFT_TERMTYPE "$default_TERM"
9799
10085
EOF
9800
10086
 
9801
 
echo "$as_me:9801: checking for private terminfo-directory" >&5
 
10087
# Extract the first word of "tic", so it can be a program name with args.
 
10088
set dummy tic; ac_word=$2
 
10089
echo "$as_me:10089: checking for $ac_word" >&5
 
10090
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
10091
if test "${ac_cv_prog_cf_tic_prog+set}" = set; then
 
10092
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10093
else
 
10094
  if test -n "$cf_tic_prog"; then
 
10095
  ac_cv_prog_cf_tic_prog="$cf_tic_prog" # Let the user override the test.
 
10096
else
 
10097
  ac_save_IFS=$IFS; IFS=$ac_path_separator
 
10098
ac_dummy="$PATH"
 
10099
for ac_dir in $ac_dummy; do
 
10100
  IFS=$ac_save_IFS
 
10101
  test -z "$ac_dir" && ac_dir=.
 
10102
  $as_executable_p "$ac_dir/$ac_word" || continue
 
10103
ac_cv_prog_cf_tic_prog="yes"
 
10104
echo "$as_me:10104: found $ac_dir/$ac_word" >&5
 
10105
break
 
10106
done
 
10107
 
 
10108
  test -z "$ac_cv_prog_cf_tic_prog" && ac_cv_prog_cf_tic_prog="no"
 
10109
fi
 
10110
fi
 
10111
cf_tic_prog=$ac_cv_prog_cf_tic_prog
 
10112
if test -n "$cf_tic_prog"; then
 
10113
  echo "$as_me:10113: result: $cf_tic_prog" >&5
 
10114
echo "${ECHO_T}$cf_tic_prog" >&6
 
10115
else
 
10116
  echo "$as_me:10116: result: no" >&5
 
10117
echo "${ECHO_T}no" >&6
 
10118
fi
 
10119
 
 
10120
if test "$cf_tic_prog" = yes ; then
 
10121
        echo "$as_me:10121: checking for private terminfo-directory" >&5
9802
10122
echo $ECHO_N "checking for private terminfo-directory... $ECHO_C" >&6
9803
10123
 
9804
10124
# Check whether --with-own-terminfo or --without-own-terminfo was given.
9808
10128
else
9809
10129
  TERMINFO_DIR=${TERMINFO-none}
9810
10130
fi;
9811
 
echo "$as_me:9811: result: $TERMINFO_DIR" >&5
 
10131
        echo "$as_me:10131: result: $TERMINFO_DIR" >&5
9812
10132
echo "${ECHO_T}$TERMINFO_DIR" >&6
9813
 
if test "$TERMINFO_DIR" = yes ; then
9814
 
        { echo "$as_me:9814: WARNING: no value given" >&5
 
10133
        if test "$TERMINFO_DIR" = yes ; then
 
10134
                { echo "$as_me:10134: WARNING: no value given" >&5
9815
10135
echo "$as_me: WARNING: no value given" >&2;}
9816
 
elif test "$TERMINFO_DIR" != none ; then
9817
 
        if test -d $TERMINFO_DIR ; then
9818
 
                cat >>confdefs.h <<EOF
 
10136
        elif test "$TERMINFO_DIR" != none ; then
 
10137
                if test -d $TERMINFO_DIR ; then
 
10138
                        cat >>confdefs.h <<EOF
9819
10139
#define OWN_TERMINFO_DIR "$TERMINFO_DIR"
9820
10140
EOF
9821
10141
 
9822
 
        else
9823
 
                { echo "$as_me:9823: WARNING: not a directory" >&5
 
10142
                else
 
10143
                        { echo "$as_me:10143: WARNING: not a directory" >&5
9824
10144
echo "$as_me: WARNING: not a directory" >&2;}
9825
 
        fi
9826
 
elif test "$prefix" != NONE ; then
9827
 
        TERMINFO_DIR='${prefix}/lib/terminfo'
9828
 
elif test -d /usr/lib/terminfo ; then
9829
 
        TERMINFO_DIR=/usr/lib/terminfo
 
10145
                fi
 
10146
        elif test "$prefix" != NONE ; then
 
10147
                TERMINFO_DIR='${prefix}/lib/terminfo'
 
10148
        elif test -d /usr/lib/terminfo ; then
 
10149
                TERMINFO_DIR=/usr/lib/terminfo
 
10150
        else
 
10151
                TERMINFO_DIR=
 
10152
        fi
 
10153
        SET_TERMINFO=
 
10154
        if test -n "$TERMINFO_DIR" ; then
 
10155
                TERMINFO_DIR='$(DESTDIR)'$TERMINFO_DIR
 
10156
                SET_TERMINFO='TERMINFO=$(TERMINFO_DIR)'
 
10157
        fi
 
10158
        no_ticprog=
9830
10159
else
 
10160
        no_ticprog="#"
9831
10161
        TERMINFO_DIR=
9832
 
fi
9833
 
SET_TERMINFO=
9834
 
if test -n "$TERMINFO_DIR" ; then
9835
 
        TERMINFO_DIR='$(DESTDIR)'$TERMINFO_DIR
9836
 
        SET_TERMINFO='TERMINFO=$(TERMINFO_DIR)'
 
10162
        SET_TERMINFO=
9837
10163
fi
9838
10164
 
9839
10165
###############################################################################
9840
10166
 
9841
 
echo "$as_me:9841: checking if you want active-icons" >&5
 
10167
echo "$as_me:10167: checking if you want active-icons" >&5
9842
10168
echo $ECHO_N "checking if you want active-icons... $ECHO_C" >&6
9843
10169
 
9844
10170
# Check whether --enable-active-icon or --disable-active-icon was given.
9855
10181
  enable_active_icon=yes
9856
10182
 
9857
10183
fi;
9858
 
echo "$as_me:9858: result: $enable_active_icon" >&5
 
10184
echo "$as_me:10184: result: $enable_active_icon" >&5
9859
10185
echo "${ECHO_T}$enable_active_icon" >&6
9860
10186
if test "$enable_active_icon" = no ; then
9861
10187
        cat >>confdefs.h <<\EOF
9864
10190
 
9865
10191
fi
9866
10192
 
9867
 
echo "$as_me:9867: checking if you want ANSI color" >&5
 
10193
echo "$as_me:10193: checking if you want ANSI color" >&5
9868
10194
echo $ECHO_N "checking if you want ANSI color... $ECHO_C" >&6
9869
10195
 
9870
10196
# Check whether --enable-ansi-color or --disable-ansi-color was given.
9881
10207
  enable_ansi_color=yes
9882
10208
 
9883
10209
fi;
9884
 
echo "$as_me:9884: result: $enable_ansi_color" >&5
 
10210
echo "$as_me:10210: result: $enable_ansi_color" >&5
9885
10211
echo "${ECHO_T}$enable_ansi_color" >&6
9886
10212
test "$enable_ansi_color" = no && cat >>confdefs.h <<\EOF
9887
10213
#define OPT_ISO_COLORS 0
9889
10215
 
9890
10216
if test "$enable_ansi_color" = yes ; then
9891
10217
 
9892
 
        echo "$as_me:9892: checking if you want 16 colors like aixterm" >&5
 
10218
        echo "$as_me:10218: checking if you want 16 colors like aixterm" >&5
9893
10219
echo $ECHO_N "checking if you want 16 colors like aixterm... $ECHO_C" >&6
9894
10220
 
9895
10221
# Check whether --enable-16-color or --disable-16-color was given.
9906
10232
  enable_16_color=yes
9907
10233
 
9908
10234
fi;
9909
 
        echo "$as_me:9909: result: $enable_16_color" >&5
 
10235
        echo "$as_me:10235: result: $enable_16_color" >&5
9910
10236
echo "${ECHO_T}$enable_16_color" >&6
9911
10237
        test "$enable_16_color" = no && cat >>confdefs.h <<\EOF
9912
10238
#define OPT_AIX_COLORS 0
9913
10239
EOF
9914
10240
 
9915
 
        echo "$as_me:9915: checking if you want 256 colors" >&5
 
10241
        echo "$as_me:10241: checking if you want 256 colors" >&5
9916
10242
echo $ECHO_N "checking if you want 256 colors... $ECHO_C" >&6
9917
10243
 
9918
10244
# Check whether --enable-256-color or --disable-256-color was given.
9929
10255
  enable_256_color=no
9930
10256
 
9931
10257
fi;
9932
 
        echo "$as_me:9932: result: $enable_256_color" >&5
 
10258
        echo "$as_me:10258: result: $enable_256_color" >&5
9933
10259
echo "${ECHO_T}$enable_256_color" >&6
9934
10260
        if test "$enable_256_color" = yes ; then
9935
10261
                CHARPROC_DEPS="$CHARPROC_DEPS 256colres.h"
9939
10265
EOF
9940
10266
 
9941
10267
        else
9942
 
        echo "$as_me:9942: checking if you want 88 colors" >&5
 
10268
        echo "$as_me:10268: checking if you want 88 colors" >&5
9943
10269
echo $ECHO_N "checking if you want 88 colors... $ECHO_C" >&6
9944
10270
 
9945
10271
# Check whether --enable-88-color or --disable-88-color was given.
9956
10282
  enable_88_color=no
9957
10283
 
9958
10284
fi;
9959
 
        echo "$as_me:9959: result: $enable_88_color" >&5
 
10285
        echo "$as_me:10285: result: $enable_88_color" >&5
9960
10286
echo "${ECHO_T}$enable_88_color" >&6
9961
10287
        if test "$enable_88_color" = yes ; then
9962
10288
                CHARPROC_DEPS="$CHARPROC_DEPS 88colres.h"
9970
10296
 
9971
10297
fi
9972
10298
 
9973
 
echo "$as_me:9973: checking if you want blinking cursor" >&5
 
10299
echo "$as_me:10299: checking if you want blinking cursor" >&5
9974
10300
echo $ECHO_N "checking if you want blinking cursor... $ECHO_C" >&6
9975
10301
 
9976
10302
# Check whether --enable-blink-cursor or --disable-blink-cursor was given.
9987
10313
  enable_blink_curs=yes
9988
10314
 
9989
10315
fi;
9990
 
echo "$as_me:9990: result: $enable_blink_curs" >&5
 
10316
echo "$as_me:10316: result: $enable_blink_curs" >&5
9991
10317
echo "${ECHO_T}$enable_blink_curs" >&6
9992
10318
test "$enable_blink_curs" = no && cat >>confdefs.h <<\EOF
9993
10319
#define OPT_BLINK_CURS 0
9994
10320
EOF
9995
10321
 
9996
 
echo "$as_me:9996: checking if you want to ignore Linux's broken palette-strings" >&5
 
10322
echo "$as_me:10322: checking if you want to ignore Linux's broken palette-strings" >&5
9997
10323
echo $ECHO_N "checking if you want to ignore Linux's broken palette-strings... $ECHO_C" >&6
9998
10324
 
9999
10325
case $host_os in #(vi
10017
10343
  enable_broken_osc=$enableval
10018
10344
 
10019
10345
fi;
10020
 
echo "$as_me:10020: result: $enable_broken_osc" >&5
 
10346
echo "$as_me:10346: result: $enable_broken_osc" >&5
10021
10347
echo "${ECHO_T}$enable_broken_osc" >&6
10022
10348
if test "$enable_broken_osc" = yes ; then
10023
10349
        cat >>confdefs.h <<\EOF
10031
10357
 
10032
10358
fi
10033
10359
 
10034
 
echo "$as_me:10034: checking if you want to allow broken string-terminators" >&5
 
10360
echo "$as_me:10360: checking if you want to allow broken string-terminators" >&5
10035
10361
echo $ECHO_N "checking if you want to allow broken string-terminators... $ECHO_C" >&6
10036
10362
 
10037
10363
# Check whether --enable-broken-st or --disable-broken-st was given.
10048
10374
  enable_broken_st=no
10049
10375
 
10050
10376
fi;
10051
 
echo "$as_me:10051: result: $enable_broken_st" >&5
 
10377
echo "$as_me:10377: result: $enable_broken_st" >&5
10052
10378
echo "${ECHO_T}$enable_broken_st" >&6
10053
10379
test "$enable_broken_st" = no && cat >>confdefs.h <<\EOF
10054
10380
#define OPT_BROKEN_ST 0
10055
10381
EOF
10056
10382
 
10057
 
echo "$as_me:10057: checking if you want printable 128-159" >&5
 
10383
echo "$as_me:10383: checking if you want printable 128-159" >&5
10058
10384
echo $ECHO_N "checking if you want printable 128-159... $ECHO_C" >&6
10059
10385
 
10060
10386
# Check whether --enable-c1-print or --disable-c1-print was given.
10071
10397
  enable_c1_print=yes
10072
10398
 
10073
10399
fi;
10074
 
echo "$as_me:10074: result: $enable_c1_print" >&5
 
10400
echo "$as_me:10400: result: $enable_c1_print" >&5
10075
10401
echo "${ECHO_T}$enable_c1_print" >&6
10076
10402
test "$enable_c1_print" = no && cat >>confdefs.h <<\EOF
10077
10403
#define OPT_C1_PRINT 0
10079
10405
 
10080
10406
if test "$enable_ansi_color" = yes ; then
10081
10407
 
10082
 
        echo "$as_me:10082: checking if you want bold colors mapped like IBM PC" >&5
 
10408
        echo "$as_me:10408: checking if you want bold colors mapped like IBM PC" >&5
10083
10409
echo $ECHO_N "checking if you want bold colors mapped like IBM PC... $ECHO_C" >&6
10084
10410
 
10085
10411
# Check whether --enable-bold-color or --disable-bold-color was given.
10096
10422
  enable_pc_color=yes
10097
10423
 
10098
10424
fi;
10099
 
        echo "$as_me:10099: result: $enable_pc_color" >&5
 
10425
        echo "$as_me:10425: result: $enable_pc_color" >&5
10100
10426
echo "${ECHO_T}$enable_pc_color" >&6
10101
10427
        test "$enable_pc_color" = no && cat >>confdefs.h <<\EOF
10102
10428
#define OPT_PC_COLORS 0
10103
10429
EOF
10104
10430
 
10105
 
        echo "$as_me:10105: checking if you want separate color-classes" >&5
 
10431
        echo "$as_me:10431: checking if you want separate color-classes" >&5
10106
10432
echo $ECHO_N "checking if you want separate color-classes... $ECHO_C" >&6
10107
10433
 
10108
10434
# Check whether --enable-color-class or --disable-color-class was given.
10119
10445
  enable_color_class=yes
10120
10446
 
10121
10447
fi;
10122
 
        echo "$as_me:10122: result: $enable_color_class" >&5
 
10448
        echo "$as_me:10448: result: $enable_color_class" >&5
10123
10449
echo "${ECHO_T}$enable_color_class" >&6
10124
10450
        test "$enable_color_class" = no && cat >>confdefs.h <<\EOF
10125
10451
#define OPT_COLOR_CLASS FALSE
10126
10452
EOF
10127
10453
 
10128
 
        echo "$as_me:10128: checking if you want color-mode enabled by default" >&5
 
10454
        echo "$as_me:10454: checking if you want color-mode enabled by default" >&5
10129
10455
echo $ECHO_N "checking if you want color-mode enabled by default... $ECHO_C" >&6
10130
10456
 
10131
10457
# Check whether --enable-color-mode or --disable-color-mode was given.
10142
10468
  default_colormode=yes
10143
10469
 
10144
10470
fi;
10145
 
        echo "$as_me:10145: result: $default_colormode" >&5
 
10471
        echo "$as_me:10471: result: $default_colormode" >&5
10146
10472
echo "${ECHO_T}$default_colormode" >&6
10147
10473
        test "$default_colormode" = no && cat >>confdefs.h <<\EOF
10148
10474
#define DFT_COLORMODE FALSE
10150
10476
 
10151
10477
fi
10152
10478
 
10153
 
echo "$as_me:10153: checking if you want support for color highlighting" >&5
 
10479
echo "$as_me:10479: checking if you want support for color highlighting" >&5
10154
10480
echo $ECHO_N "checking if you want support for color highlighting... $ECHO_C" >&6
10155
10481
 
10156
10482
# Check whether --enable-highlighting or --disable-highlighting was given.
10167
10493
  default_highlight=yes
10168
10494
 
10169
10495
fi;
10170
 
echo "$as_me:10170: result: $default_highlight" >&5
 
10496
echo "$as_me:10496: result: $default_highlight" >&5
10171
10497
echo "${ECHO_T}$default_highlight" >&6
10172
10498
test "$default_highlight" = no && cat >>confdefs.h <<\EOF
10173
10499
#define OPT_HIGHLIGHT_COLOR 0
10174
10500
EOF
10175
10501
 
10176
 
echo "$as_me:10176: checking if you want support for doublesize characters" >&5
 
10502
echo "$as_me:10502: checking if you want support for doublesize characters" >&5
10177
10503
echo $ECHO_N "checking if you want support for doublesize characters... $ECHO_C" >&6
10178
10504
 
10179
10505
# Check whether --enable-doublechars or --disable-doublechars was given.
10190
10516
  enable_doublechars=yes
10191
10517
 
10192
10518
fi;
10193
 
echo "$as_me:10193: result: $enable_doublechars" >&5
 
10519
echo "$as_me:10519: result: $enable_doublechars" >&5
10194
10520
echo "${ECHO_T}$enable_doublechars" >&6
10195
10521
test "$enable_doublechars" = no && cat >>confdefs.h <<\EOF
10196
10522
#define OPT_DEC_CHRSET 0
10197
10523
EOF
10198
10524
 
10199
 
echo "$as_me:10199: checking if you want fallback-support for box characters" >&5
 
10525
echo "$as_me:10525: checking if you want fallback-support for box characters" >&5
10200
10526
echo $ECHO_N "checking if you want fallback-support for box characters... $ECHO_C" >&6
10201
10527
 
10202
10528
# Check whether --enable-boxchars or --disable-boxchars was given.
10213
10539
  enable_boxchars=yes
10214
10540
 
10215
10541
fi;
10216
 
echo "$as_me:10216: result: $enable_boxchars" >&5
 
10542
echo "$as_me:10542: result: $enable_boxchars" >&5
10217
10543
echo "${ECHO_T}$enable_boxchars" >&6
10218
10544
test "$enable_boxchars" = no && cat >>confdefs.h <<\EOF
10219
10545
#define OPT_BOX_CHARS 0
10220
10546
EOF
10221
10547
 
10222
 
echo "$as_me:10222: checking if you want to allow spawning new xterms" >&5
 
10548
echo "$as_me:10548: checking if you want to allow spawning new xterms" >&5
10223
10549
echo $ECHO_N "checking if you want to allow spawning new xterms... $ECHO_C" >&6
10224
10550
 
10225
10551
# Check whether --enable-exec-xterm or --disable-exec-xterm was given.
10236
10562
  enable_exec_xterm=no
10237
10563
 
10238
10564
fi;
10239
 
echo "$as_me:10239: result: $enable_exec_xterm" >&5
 
10565
echo "$as_me:10565: result: $enable_exec_xterm" >&5
10240
10566
echo "${ECHO_T}$enable_exec_xterm" >&6
10241
10567
if test "$enable_exec_xterm" = yes ; then
10242
10568
 
10243
 
echo "$as_me:10243: checking for proc tree with cwd-support" >&5
 
10569
echo "$as_me:10569: checking for proc tree with cwd-support" >&5
10244
10570
echo $ECHO_N "checking for proc tree with cwd-support... $ECHO_C" >&6
10245
10571
if test "${cf_cv_procfs_cwd+set}" = set; then
10246
10572
  echo $ECHO_N "(cached) $ECHO_C" >&6
10259
10585
done
10260
10586
 
10261
10587
fi
10262
 
echo "$as_me:10262: result: $cf_cv_procfs_cwd" >&5
 
10588
echo "$as_me:10588: result: $cf_cv_procfs_cwd" >&5
10263
10589
echo "${ECHO_T}$cf_cv_procfs_cwd" >&6
10264
10590
 
10265
10591
        if test "$cf_cv_procfs_cwd" = no ; then
10266
 
                { echo "$as_me:10266: WARNING: no suitable proc filesystem found" >&5
 
10592
                { echo "$as_me:10592: WARNING: no suitable proc filesystem found" >&5
10267
10593
echo "$as_me: WARNING: no suitable proc filesystem found" >&2;}
10268
10594
        else
10269
10595
                cat >>confdefs.h <<EOF
10277
10603
        fi
10278
10604
fi
10279
10605
 
10280
 
echo "$as_me:10280: checking if you want to use FreeType library" >&5
 
10606
echo "$as_me:10606: checking if you want to use FreeType library" >&5
10281
10607
echo $ECHO_N "checking if you want to use FreeType library... $ECHO_C" >&6
10282
10608
 
10283
10609
# Check whether --enable-freetype or --disable-freetype was given.
10294
10620
  enable_freetype=yes
10295
10621
 
10296
10622
fi;
10297
 
echo "$as_me:10297: result: $enable_freetype" >&5
 
10623
echo "$as_me:10623: result: $enable_freetype" >&5
10298
10624
echo "${ECHO_T}$enable_freetype" >&6
10299
10625
if test "$enable_freetype" = yes ; then
10300
10626
 
10301
 
echo "$as_me:10301: checking if you want to use pkg-config" >&5
 
10627
echo "$as_me:10627: checking if you want to use pkg-config" >&5
10302
10628
echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6
10303
10629
 
10304
10630
# Check whether --with-pkg-config or --without-pkg-config was given.
10308
10634
else
10309
10635
  cf_pkg_config=yes
10310
10636
fi;
10311
 
echo "$as_me:10311: result: $cf_pkg_config" >&5
 
10637
echo "$as_me:10637: result: $cf_pkg_config" >&5
10312
10638
echo "${ECHO_T}$cf_pkg_config" >&6
10313
10639
 
10314
10640
case $cf_pkg_config in #(vi
10318
10644
yes) #(vi
10319
10645
        # Extract the first word of "pkg-config", so it can be a program name with args.
10320
10646
set dummy pkg-config; ac_word=$2
10321
 
echo "$as_me:10321: checking for $ac_word" >&5
 
10647
echo "$as_me:10647: checking for $ac_word" >&5
10322
10648
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10323
10649
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10324
10650
  echo $ECHO_N "(cached) $ECHO_C" >&6
10335
10661
  test -z "$ac_dir" && ac_dir=.
10336
10662
  if $as_executable_p "$ac_dir/$ac_word"; then
10337
10663
   ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
10338
 
   echo "$as_me:10338: found $ac_dir/$ac_word" >&5
 
10664
   echo "$as_me:10664: found $ac_dir/$ac_word" >&5
10339
10665
   break
10340
10666
fi
10341
10667
done
10347
10673
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10348
10674
 
10349
10675
if test -n "$PKG_CONFIG"; then
10350
 
  echo "$as_me:10350: result: $PKG_CONFIG" >&5
 
10676
  echo "$as_me:10676: result: $PKG_CONFIG" >&5
10351
10677
echo "${ECHO_T}$PKG_CONFIG" >&6
10352
10678
else
10353
 
  echo "$as_me:10353: result: no" >&5
 
10679
  echo "$as_me:10679: result: no" >&5
10354
10680
echo "${ECHO_T}no" >&6
10355
10681
fi
10356
10682
 
10388
10714
  PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
10389
10715
  ;;
10390
10716
*)
10391
 
  { { echo "$as_me:10391: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
 
10717
  { { echo "$as_me:10717: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
10392
10718
echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;}
10393
10719
   { (exit 1); exit 1; }; }
10394
10720
  ;;
10400
10726
FREETYPE_CONFIG=none
10401
10727
FREETYPE_PARAMS=
10402
10728
 
10403
 
echo "$as_me:10403: checking if you specified -D/-I options for FreeType" >&5
 
10729
echo "$as_me:10729: checking if you specified -D/-I options for FreeType" >&5
10404
10730
echo $ECHO_N "checking if you specified -D/-I options for FreeType... $ECHO_C" >&6
10405
10731
 
10406
10732
# Check whether --with-freetype-cflags or --without-freetype-cflags was given.
10410
10736
else
10411
10737
  cf_cv_x_freetype_incs=no
10412
10738
fi;
10413
 
echo "$as_me:10413: result: $cf_cv_x_freetype_incs" >&5
 
10739
echo "$as_me:10739: result: $cf_cv_x_freetype_incs" >&5
10414
10740
echo "${ECHO_T}$cf_cv_x_freetype_incs" >&6
10415
10741
 
10416
 
echo "$as_me:10416: checking if you specified -L/-l options for FreeType" >&5
 
10742
echo "$as_me:10742: checking if you specified -L/-l options for FreeType" >&5
10417
10743
echo $ECHO_N "checking if you specified -L/-l options for FreeType... $ECHO_C" >&6
10418
10744
 
10419
10745
# Check whether --with-freetype-libs or --without-freetype-libs was given.
10423
10749
else
10424
10750
  cf_cv_x_freetype_libs=no
10425
10751
fi;
10426
 
echo "$as_me:10426: result: $cf_cv_x_freetype_libs" >&5
 
10752
echo "$as_me:10752: result: $cf_cv_x_freetype_libs" >&5
10427
10753
echo "${ECHO_T}$cf_cv_x_freetype_libs" >&6
10428
10754
 
10429
10755
if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists xft; then
10432
10758
else
10433
10759
        # Extract the first word of "xft-config", so it can be a program name with args.
10434
10760
set dummy xft-config; ac_word=$2
10435
 
echo "$as_me:10435: checking for $ac_word" >&5
 
10761
echo "$as_me:10761: checking for $ac_word" >&5
10436
10762
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10437
10763
if test "${ac_cv_path_FREETYPE_XFT_CONFIG+set}" = set; then
10438
10764
  echo $ECHO_N "(cached) $ECHO_C" >&6
10449
10775
  test -z "$ac_dir" && ac_dir=.
10450
10776
  if $as_executable_p "$ac_dir/$ac_word"; then
10451
10777
   ac_cv_path_FREETYPE_XFT_CONFIG="$ac_dir/$ac_word"
10452
 
   echo "$as_me:10452: found $ac_dir/$ac_word" >&5
 
10778
   echo "$as_me:10778: found $ac_dir/$ac_word" >&5
10453
10779
   break
10454
10780
fi
10455
10781
done
10461
10787
FREETYPE_XFT_CONFIG=$ac_cv_path_FREETYPE_XFT_CONFIG
10462
10788
 
10463
10789
if test -n "$FREETYPE_XFT_CONFIG"; then
10464
 
  echo "$as_me:10464: result: $FREETYPE_XFT_CONFIG" >&5
 
10790
  echo "$as_me:10790: result: $FREETYPE_XFT_CONFIG" >&5
10465
10791
echo "${ECHO_T}$FREETYPE_XFT_CONFIG" >&6
10466
10792
else
10467
 
  echo "$as_me:10467: result: no" >&5
 
10793
  echo "$as_me:10793: result: no" >&5
10468
10794
echo "${ECHO_T}no" >&6
10469
10795
fi
10470
10796
 
10474
10800
                cf_extra_freetype_libs="-lXft"
10475
10801
                # Extract the first word of "freetype-config", so it can be a program name with args.
10476
10802
set dummy freetype-config; ac_word=$2
10477
 
echo "$as_me:10477: checking for $ac_word" >&5
 
10803
echo "$as_me:10803: checking for $ac_word" >&5
10478
10804
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10479
10805
if test "${ac_cv_path_FREETYPE_OLD_CONFIG+set}" = set; then
10480
10806
  echo $ECHO_N "(cached) $ECHO_C" >&6
10491
10817
  test -z "$ac_dir" && ac_dir=.
10492
10818
  if $as_executable_p "$ac_dir/$ac_word"; then
10493
10819
   ac_cv_path_FREETYPE_OLD_CONFIG="$ac_dir/$ac_word"
10494
 
   echo "$as_me:10494: found $ac_dir/$ac_word" >&5
 
10820
   echo "$as_me:10820: found $ac_dir/$ac_word" >&5
10495
10821
   break
10496
10822
fi
10497
10823
done
10503
10829
FREETYPE_OLD_CONFIG=$ac_cv_path_FREETYPE_OLD_CONFIG
10504
10830
 
10505
10831
if test -n "$FREETYPE_OLD_CONFIG"; then
10506
 
  echo "$as_me:10506: result: $FREETYPE_OLD_CONFIG" >&5
 
10832
  echo "$as_me:10832: result: $FREETYPE_OLD_CONFIG" >&5
10507
10833
echo "${ECHO_T}$FREETYPE_OLD_CONFIG" >&6
10508
10834
else
10509
 
  echo "$as_me:10509: result: no" >&5
 
10835
  echo "$as_me:10835: result: no" >&5
10510
10836
echo "${ECHO_T}no" >&6
10511
10837
fi
10512
10838
 
10515
10841
                fi
10516
10842
        fi
10517
10843
fi
10518
 
echo "$as_me:10518: checking for FreeType config" >&5
 
10844
echo "$as_me:10844: checking for FreeType config" >&5
10519
10845
echo $ECHO_N "checking for FreeType config... $ECHO_C" >&6
10520
 
echo "$as_me:10520: result: $FREETYPE_CONFIG $FREETYPE_PARAMS" >&5
 
10846
echo "$as_me:10846: result: $FREETYPE_CONFIG $FREETYPE_PARAMS" >&5
10521
10847
echo "${ECHO_T}$FREETYPE_CONFIG $FREETYPE_PARAMS" >&6
10522
10848
 
10523
10849
if test "$FREETYPE_CONFIG" != none ; then
10524
10850
 
10525
10851
        if test "$cf_cv_x_freetype_incs" = no ; then
10526
 
                echo "$as_me:10526: checking for $FREETYPE_CONFIG cflags" >&5
 
10852
                echo "$as_me:10852: checking for $FREETYPE_CONFIG cflags" >&5
10527
10853
echo $ECHO_N "checking for $FREETYPE_CONFIG cflags... $ECHO_C" >&6
10528
10854
                cf_cv_x_freetype_incs="`$FREETYPE_CONFIG $FREETYPE_PARAMS --cflags 2>/dev/null`"
10529
 
                echo "$as_me:10529: result: $cf_cv_x_freetype_incs" >&5
 
10855
                echo "$as_me:10855: result: $cf_cv_x_freetype_incs" >&5
10530
10856
echo "${ECHO_T}$cf_cv_x_freetype_incs" >&6
10531
10857
        fi
10532
10858
 
10533
10859
        if test "$cf_cv_x_freetype_libs" = no ; then
10534
 
                echo "$as_me:10534: checking for $FREETYPE_CONFIG libs" >&5
 
10860
                echo "$as_me:10860: checking for $FREETYPE_CONFIG libs" >&5
10535
10861
echo $ECHO_N "checking for $FREETYPE_CONFIG libs... $ECHO_C" >&6
10536
10862
                cf_cv_x_freetype_libs="$cf_extra_freetype_libs `$FREETYPE_CONFIG $FREETYPE_PARAMS --libs 2>/dev/null`"
10537
 
                echo "$as_me:10537: result: $cf_cv_x_freetype_libs" >&5
 
10863
                echo "$as_me:10863: result: $cf_cv_x_freetype_libs" >&5
10538
10864
echo "${ECHO_T}$cf_cv_x_freetype_libs" >&6
10539
10865
        fi
10540
10866
 
10548
10874
        cf_cv_x_freetype_libs=-lXft
10549
10875
fi
10550
10876
 
10551
 
echo "$as_me:10551: checking if we can link with FreeType libraries" >&5
 
10877
echo "$as_me:10877: checking if we can link with FreeType libraries" >&5
10552
10878
echo $ECHO_N "checking if we can link with FreeType libraries... $ECHO_C" >&6
10553
10879
 
10554
10880
cf_save_LIBS="$LIBS"
10558
10884
CPPFLAGS="$CPPFLAGS $cf_cv_x_freetype_incs"
10559
10885
 
10560
10886
cat >conftest.$ac_ext <<_ACEOF
10561
 
#line 10561 "configure"
 
10887
#line 10887 "configure"
10562
10888
#include "confdefs.h"
10563
10889
 
10564
10890
#include <X11/Xlib.h>
10574
10900
}
10575
10901
_ACEOF
10576
10902
rm -f conftest.$ac_objext conftest$ac_exeext
10577
 
if { (eval echo "$as_me:10577: \"$ac_link\"") >&5
 
10903
if { (eval echo "$as_me:10903: \"$ac_link\"") >&5
10578
10904
  (eval $ac_link) 2>&5
10579
10905
  ac_status=$?
10580
 
  echo "$as_me:10580: \$? = $ac_status" >&5
 
10906
  echo "$as_me:10906: \$? = $ac_status" >&5
10581
10907
  (exit $ac_status); } &&
10582
10908
         { ac_try='test -s conftest$ac_exeext'
10583
 
  { (eval echo "$as_me:10583: \"$ac_try\"") >&5
 
10909
  { (eval echo "$as_me:10909: \"$ac_try\"") >&5
10584
10910
  (eval $ac_try) 2>&5
10585
10911
  ac_status=$?
10586
 
  echo "$as_me:10586: \$? = $ac_status" >&5
 
10912
  echo "$as_me:10912: \$? = $ac_status" >&5
10587
10913
  (exit $ac_status); }; }; then
10588
10914
  cf_cv_found_freetype=yes
10589
10915
else
10592
10918
cf_cv_found_freetype=no
10593
10919
fi
10594
10920
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10595
 
echo "$as_me:10595: result: $cf_cv_found_freetype" >&5
 
10921
echo "$as_me:10921: result: $cf_cv_found_freetype" >&5
10596
10922
echo "${ECHO_T}$cf_cv_found_freetype" >&6
10597
10923
 
10598
10924
LIBS="$cf_save_LIBS"
10617
10943
                        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
10618
10944
 
10619
10945
                        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
10620
 
                        && test -z "${cf_tst_cflags}" \
10621
 
                        && cf_fix_cppflags=yes
 
10946
                                && test -z "${cf_tst_cflags}" \
 
10947
                                && cf_fix_cppflags=yes
10622
10948
 
10623
10949
                        if test $cf_fix_cppflags = yes ; then
10624
10950
                                cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
10633
10959
                *$cf_add_cflags) #(vi
10634
10960
                        ;;
10635
10961
                *) #(vi
 
10962
                        case $cf_add_cflags in #(vi
 
10963
                        -D*)
 
10964
                                cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
 
10965
 
 
10966
CPPFLAGS=`echo "$CPPFLAGS" | \
 
10967
        sed     -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?[         ]/ /g' \
 
10968
                -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^    ]*\)\?$//g'`
 
10969
 
 
10970
                                ;;
 
10971
                        esac
10636
10972
                        cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
10637
10973
                        ;;
10638
10974
                esac
10648
10984
        cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
10649
10985
 
10650
10986
        test "${cf_add_cflags}" != "${cf_tst_cflags}" \
10651
 
        && test -z "${cf_tst_cflags}" \
10652
 
        && cf_fix_cppflags=no
 
10987
                && test -z "${cf_tst_cflags}" \
 
10988
                && cf_fix_cppflags=no
10653
10989
        ;;
10654
10990
esac
10655
10991
done
10680
11016
 
10681
11017
do
10682
11018
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10683
 
echo "$as_me:10683: checking for $ac_func" >&5
 
11019
echo "$as_me:11019: checking for $ac_func" >&5
10684
11020
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10685
11021
if eval "test \"\${$as_ac_var+set}\" = set"; then
10686
11022
  echo $ECHO_N "(cached) $ECHO_C" >&6
10687
11023
else
10688
11024
  cat >conftest.$ac_ext <<_ACEOF
10689
 
#line 10689 "configure"
 
11025
#line 11025 "configure"
10690
11026
#include "confdefs.h"
10691
11027
/* System header to define __stub macros and hopefully few prototypes,
10692
11028
    which can conflict with char $ac_func (); below.  */
10717
11053
}
10718
11054
_ACEOF
10719
11055
rm -f conftest.$ac_objext conftest$ac_exeext
10720
 
if { (eval echo "$as_me:10720: \"$ac_link\"") >&5
 
11056
if { (eval echo "$as_me:11056: \"$ac_link\"") >&5
10721
11057
  (eval $ac_link) 2>&5
10722
11058
  ac_status=$?
10723
 
  echo "$as_me:10723: \$? = $ac_status" >&5
 
11059
  echo "$as_me:11059: \$? = $ac_status" >&5
10724
11060
  (exit $ac_status); } &&
10725
11061
         { ac_try='test -s conftest$ac_exeext'
10726
 
  { (eval echo "$as_me:10726: \"$ac_try\"") >&5
 
11062
  { (eval echo "$as_me:11062: \"$ac_try\"") >&5
10727
11063
  (eval $ac_try) 2>&5
10728
11064
  ac_status=$?
10729
 
  echo "$as_me:10729: \$? = $ac_status" >&5
 
11065
  echo "$as_me:11065: \$? = $ac_status" >&5
10730
11066
  (exit $ac_status); }; }; then
10731
11067
  eval "$as_ac_var=yes"
10732
11068
else
10736
11072
fi
10737
11073
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10738
11074
fi
10739
 
echo "$as_me:10739: result: `eval echo '${'$as_ac_var'}'`" >&5
 
11075
echo "$as_me:11075: result: `eval echo '${'$as_ac_var'}'`" >&5
10740
11076
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10741
11077
if test `eval echo '${'$as_ac_var'}'` = yes; then
10742
11078
  cat >>confdefs.h <<EOF
10747
11083
done
10748
11084
 
10749
11085
else
10750
 
        { echo "$as_me:10750: WARNING: No libraries found for FreeType" >&5
 
11086
        { echo "$as_me:11086: WARNING: No libraries found for FreeType" >&5
10751
11087
echo "$as_me: WARNING: No libraries found for FreeType" >&2;}
10752
11088
        CPPFLAGS=`echo "$CPPFLAGS" | sed -e s/-DXRENDERFONT//`
10753
11089
fi
10758
11094
        CPPFLAGS=`echo "$CPPFLAGS" | sed -e s/-DXRENDERFONT//`
10759
11095
fi
10760
11096
 
10761
 
echo "$as_me:10761: checking if you want support for HP-style function keys" >&5
 
11097
echo "$as_me:11097: checking if you want support for HP-style function keys" >&5
10762
11098
echo $ECHO_N "checking if you want support for HP-style function keys... $ECHO_C" >&6
10763
11099
 
10764
11100
# Check whether --enable-hp-fkeys or --disable-hp-fkeys was given.
10775
11111
  enable_hp_fkeys=no
10776
11112
 
10777
11113
fi;
10778
 
echo "$as_me:10778: result: $enable_hp_fkeys" >&5
 
11114
echo "$as_me:11114: result: $enable_hp_fkeys" >&5
10779
11115
echo "${ECHO_T}$enable_hp_fkeys" >&6
10780
11116
if test "$enable_hp_fkeys" = yes ; then
10781
11117
        cat >>confdefs.h <<\EOF
10784
11120
 
10785
11121
fi
10786
11122
 
10787
 
echo "$as_me:10787: checking if you want support for SCO-style function keys" >&5
 
11123
echo "$as_me:11123: checking if you want support for SCO-style function keys" >&5
10788
11124
echo $ECHO_N "checking if you want support for SCO-style function keys... $ECHO_C" >&6
10789
11125
 
10790
11126
# Check whether --enable-sco-fkeys or --disable-sco-fkeys was given.
10801
11137
  enable_sco_fkeys=no
10802
11138
 
10803
11139
fi;
10804
 
echo "$as_me:10804: result: $enable_sco_fkeys" >&5
 
11140
echo "$as_me:11140: result: $enable_sco_fkeys" >&5
10805
11141
echo "${ECHO_T}$enable_sco_fkeys" >&6
10806
11142
if test "$enable_sco_fkeys" = yes ; then
10807
11143
        cat >>confdefs.h <<\EOF
10810
11146
 
10811
11147
fi
10812
11148
 
10813
 
echo "$as_me:10813: checking if you want support for Sun-style function keys" >&5
 
11149
echo "$as_me:11149: checking if you want support for Sun-style function keys" >&5
10814
11150
echo $ECHO_N "checking if you want support for Sun-style function keys... $ECHO_C" >&6
10815
11151
 
10816
11152
# Check whether --enable-sun-fkeys or --disable-sun-fkeys was given.
10827
11163
  enable_sun_fkeys=yes
10828
11164
 
10829
11165
fi;
10830
 
echo "$as_me:10830: result: $enable_sun_fkeys" >&5
 
11166
echo "$as_me:11166: result: $enable_sun_fkeys" >&5
10831
11167
echo "${ECHO_T}$enable_sun_fkeys" >&6
10832
11168
if test "$enable_sun_fkeys" = no ; then
10833
11169
        cat >>confdefs.h <<\EOF
10836
11172
 
10837
11173
fi
10838
11174
 
10839
 
echo "$as_me:10839: checking if you want saved-lines stored as a FIFO" >&5
 
11175
echo "$as_me:11175: checking if you want saved-lines stored as a FIFO" >&5
10840
11176
echo $ECHO_N "checking if you want saved-lines stored as a FIFO... $ECHO_C" >&6
10841
11177
 
10842
11178
# Check whether --enable-fifo-lines or --disable-fifo-lines was given.
10853
11189
  enable_fifo_lines=yes
10854
11190
 
10855
11191
fi;
10856
 
echo "$as_me:10856: result: $enable_fifo_lines" >&5
 
11192
echo "$as_me:11192: result: $enable_fifo_lines" >&5
10857
11193
echo "${ECHO_T}$enable_fifo_lines" >&6
10858
11194
if test "$enable_fifo_lines" = yes ; then
10859
11195
        cat >>confdefs.h <<\EOF
10862
11198
 
10863
11199
fi
10864
11200
 
10865
 
echo "$as_me:10865: checking if you want support for internationalization" >&5
 
11201
echo "$as_me:11201: checking if you want support for internationalization" >&5
10866
11202
echo $ECHO_N "checking if you want support for internationalization... $ECHO_C" >&6
10867
11203
 
10868
11204
# Check whether --enable-i18n or --disable-i18n was given.
10879
11215
  enable_i18n=yes
10880
11216
 
10881
11217
fi;
10882
 
echo "$as_me:10882: result: $enable_i18n" >&5
 
11218
echo "$as_me:11218: result: $enable_i18n" >&5
10883
11219
echo "${ECHO_T}$enable_i18n" >&6
10884
11220
if test "$enable_i18n" = no ; then
10885
11221
        cat >>confdefs.h <<\EOF
10888
11224
 
10889
11225
fi
10890
11226
 
10891
 
echo "$as_me:10891: checking if you want support for initial-erase setup" >&5
 
11227
echo "$as_me:11227: checking if you want support for initial-erase setup" >&5
10892
11228
echo $ECHO_N "checking if you want support for initial-erase setup... $ECHO_C" >&6
10893
11229
 
10894
11230
# Check whether --enable-initial-erase or --disable-initial-erase was given.
10905
11241
  enable_ie=yes
10906
11242
 
10907
11243
fi;
10908
 
echo "$as_me:10908: result: $enable_ie" >&5
 
11244
echo "$as_me:11244: result: $enable_ie" >&5
10909
11245
echo "${ECHO_T}$enable_ie" >&6
10910
11246
if test "$enable_ie" = no ; then
10911
11247
        cat >>confdefs.h <<\EOF
10914
11250
 
10915
11251
fi
10916
11252
 
10917
 
echo "$as_me:10917: checking if you want support for input-method" >&5
 
11253
echo "$as_me:11253: checking if you want support for input-method" >&5
10918
11254
echo $ECHO_N "checking if you want support for input-method... $ECHO_C" >&6
10919
11255
 
10920
11256
# Check whether --enable-input-method or --disable-input-method was given.
10931
11267
  enable_ximp=yes
10932
11268
 
10933
11269
fi;
10934
 
echo "$as_me:10934: result: $enable_ximp" >&5
 
11270
echo "$as_me:11270: result: $enable_ximp" >&5
10935
11271
echo "${ECHO_T}$enable_ximp" >&6
10936
11272
 
10937
 
echo "$as_me:10937: checking if X libraries support input-method" >&5
 
11273
echo "$as_me:11273: checking if X libraries support input-method" >&5
10938
11274
echo $ECHO_N "checking if X libraries support input-method... $ECHO_C" >&6
10939
11275
if test "${cf_cv_input_method+set}" = set; then
10940
11276
  echo $ECHO_N "(cached) $ECHO_C" >&6
10941
11277
else
10942
11278
 
10943
11279
cat >conftest.$ac_ext <<_ACEOF
10944
 
#line 10944 "configure"
 
11280
#line 11280 "configure"
10945
11281
#include "confdefs.h"
10946
11282
 
10947
11283
#include <X11/IntrinsicP.h>
10973
11309
}
10974
11310
_ACEOF
10975
11311
rm -f conftest.$ac_objext conftest$ac_exeext
10976
 
if { (eval echo "$as_me:10976: \"$ac_link\"") >&5
 
11312
if { (eval echo "$as_me:11312: \"$ac_link\"") >&5
10977
11313
  (eval $ac_link) 2>&5
10978
11314
  ac_status=$?
10979
 
  echo "$as_me:10979: \$? = $ac_status" >&5
 
11315
  echo "$as_me:11315: \$? = $ac_status" >&5
10980
11316
  (exit $ac_status); } &&
10981
11317
         { ac_try='test -s conftest$ac_exeext'
10982
 
  { (eval echo "$as_me:10982: \"$ac_try\"") >&5
 
11318
  { (eval echo "$as_me:11318: \"$ac_try\"") >&5
10983
11319
  (eval $ac_try) 2>&5
10984
11320
  ac_status=$?
10985
 
  echo "$as_me:10985: \$? = $ac_status" >&5
 
11321
  echo "$as_me:11321: \$? = $ac_status" >&5
10986
11322
  (exit $ac_status); }; }; then
10987
11323
  cf_cv_input_method=yes
10988
11324
else
10992
11328
fi
10993
11329
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10994
11330
fi
10995
 
echo "$as_me:10995: result: $cf_cv_input_method" >&5
 
11331
echo "$as_me:11331: result: $cf_cv_input_method" >&5
10996
11332
echo "${ECHO_T}$cf_cv_input_method" >&6
10997
11333
 
10998
11334
test "$cf_cv_input_method" = no && enable_ximp=no
11003
11339
 
11004
11340
fi
11005
11341
 
11006
 
echo "$as_me:11006: checking if you want support for load-vt-fonts" >&5
 
11342
echo "$as_me:11342: checking if you want support for load-vt-fonts" >&5
11007
11343
echo $ECHO_N "checking if you want support for load-vt-fonts... $ECHO_C" >&6
11008
11344
 
11009
11345
# Check whether --enable-load-vt-fonts or --disable-load-vt-fonts was given.
11020
11356
  enable_load_vt_fonts=no
11021
11357
 
11022
11358
fi;
11023
 
echo "$as_me:11023: result: $enable_load_vt_fonts" >&5
 
11359
echo "$as_me:11359: result: $enable_load_vt_fonts" >&5
11024
11360
echo "${ECHO_T}$enable_load_vt_fonts" >&6
11025
11361
if test "$enable_load_vt_fonts" = yes ; then
11026
11362
        cat >>confdefs.h <<\EOF
11029
11365
 
11030
11366
fi
11031
11367
 
11032
 
echo "$as_me:11032: checking if you want support for logging" >&5
 
11368
echo "$as_me:11368: checking if you want support for logging" >&5
11033
11369
echo $ECHO_N "checking if you want support for logging... $ECHO_C" >&6
11034
11370
 
11035
11371
# Check whether --enable-logging or --disable-logging was given.
11046
11382
  enable_logging=no
11047
11383
 
11048
11384
fi;
11049
 
echo "$as_me:11049: result: $enable_logging" >&5
 
11385
echo "$as_me:11385: result: $enable_logging" >&5
11050
11386
echo "${ECHO_T}$enable_logging" >&6
11051
11387
if test "$enable_logging" = yes ; then
11052
11388
        cat >>confdefs.h <<\EOF
11053
11389
#define ALLOWLOGGING 1
11054
11390
EOF
11055
11391
 
11056
 
        echo "$as_me:11056: checking if you want to allow logging via a pipe" >&5
 
11392
        echo "$as_me:11392: checking if you want to allow logging via a pipe" >&5
11057
11393
echo $ECHO_N "checking if you want to allow logging via a pipe... $ECHO_C" >&6
11058
11394
 
11059
11395
# Check whether --enable-logfile-exec or --disable-logfile-exec was given.
11070
11406
  enable_log_exec=no
11071
11407
 
11072
11408
fi;
11073
 
        echo "$as_me:11073: result: $enable_log_exec" >&5
 
11409
        echo "$as_me:11409: result: $enable_log_exec" >&5
11074
11410
echo "${ECHO_T}$enable_log_exec" >&6
11075
11411
        if test "$enable_log_exec" = yes ; then
11076
11412
                cat >>confdefs.h <<\EOF
11080
11416
        fi
11081
11417
fi
11082
11418
 
11083
 
echo "$as_me:11083: checking if you want support for iconify/maximize translations" >&5
 
11419
echo "$as_me:11419: checking if you want support for iconify/maximize translations" >&5
11084
11420
echo $ECHO_N "checking if you want support for iconify/maximize translations... $ECHO_C" >&6
11085
11421
 
11086
11422
# Check whether --enable-maximize or --disable-maximize was given.
11097
11433
  enable_maximize=yes
11098
11434
 
11099
11435
fi;
11100
 
echo "$as_me:11100: result: $enable_maximize" >&5
 
11436
echo "$as_me:11436: result: $enable_maximize" >&5
11101
11437
echo "${ECHO_T}$enable_maximize" >&6
11102
11438
test "$enable_maximize" = no && cat >>confdefs.h <<\EOF
11103
11439
#define OPT_MAXIMIZE 0
11104
11440
EOF
11105
11441
 
11106
 
echo "$as_me:11106: checking if you want NumLock to override keyboard tables" >&5
 
11442
echo "$as_me:11442: checking if you want NumLock to override keyboard tables" >&5
11107
11443
echo $ECHO_N "checking if you want NumLock to override keyboard tables... $ECHO_C" >&6
11108
11444
 
11109
11445
# Check whether --enable-num-lock or --disable-num-lock was given.
11120
11456
  enable_numlock=yes
11121
11457
 
11122
11458
fi;
11123
 
echo "$as_me:11123: result: $enable_numlock" >&5
 
11459
echo "$as_me:11459: result: $enable_numlock" >&5
11124
11460
echo "${ECHO_T}$enable_numlock" >&6
11125
11461
test "$enable_numlock" = no && cat >>confdefs.h <<\EOF
11126
11462
#define OPT_NUM_LOCK 0
11127
11463
EOF
11128
11464
 
11129
 
echo "$as_me:11129: checking if you want support for get/set of base64 selection data" >&5
 
11465
echo "$as_me:11465: checking if you want support for get/set of base64 selection data" >&5
11130
11466
echo $ECHO_N "checking if you want support for get/set of base64 selection data... $ECHO_C" >&6
11131
11467
 
11132
11468
# Check whether --enable-paste64 or --disable-paste64 was given.
11143
11479
  enable_paste64=yes
11144
11480
 
11145
11481
fi;
11146
 
echo "$as_me:11146: result: $enable_paste64" >&5
 
11482
echo "$as_me:11482: result: $enable_paste64" >&5
11147
11483
echo "${ECHO_T}$enable_paste64" >&6
11148
11484
if test "$enable_paste64" = yes ; then
11149
11485
        cat >>confdefs.h <<\EOF
11157
11493
 
11158
11494
fi
11159
11495
 
11160
 
echo "$as_me:11160: checking if you want support for pty-handshaking" >&5
 
11496
echo "$as_me:11496: checking if you want support for pty-handshaking" >&5
11161
11497
echo $ECHO_N "checking if you want support for pty-handshaking... $ECHO_C" >&6
11162
11498
 
11163
11499
# Check whether --enable-pty-handshake or --disable-pty-handshake was given.
11174
11510
  enable_pty_handshake=yes
11175
11511
 
11176
11512
fi;
11177
 
echo "$as_me:11177: result: $enable_pty_handshake" >&5
 
11513
echo "$as_me:11513: result: $enable_pty_handshake" >&5
11178
11514
echo "${ECHO_T}$enable_pty_handshake" >&6
11179
11515
if test "$enable_pty_handshake" = yes ; then
11180
11516
        cat >>confdefs.h <<\EOF
11188
11524
 
11189
11525
fi
11190
11526
 
11191
 
echo "$as_me:11191: checking if you want support for mouse in readline applications" >&5
 
11527
echo "$as_me:11527: checking if you want support for mouse in readline applications" >&5
11192
11528
echo $ECHO_N "checking if you want support for mouse in readline applications... $ECHO_C" >&6
11193
11529
 
11194
11530
# Check whether --enable-readline-mouse or --disable-readline-mouse was given.
11205
11541
  enable_readline_mouse=no
11206
11542
 
11207
11543
fi;
11208
 
echo "$as_me:11208: result: $enable_readline_mouse" >&5
 
11544
echo "$as_me:11544: result: $enable_readline_mouse" >&5
11209
11545
echo "${ECHO_T}$enable_readline_mouse" >&6
11210
11546
if test "$enable_readline_mouse" = yes ; then
11211
11547
        cat >>confdefs.h <<\EOF
11214
11550
 
11215
11551
fi
11216
11552
 
11217
 
echo "$as_me:11217: checking if you want support for regular-expression selections" >&5
 
11553
echo "$as_me:11553: checking if you want support for regular-expression selections" >&5
11218
11554
echo $ECHO_N "checking if you want support for regular-expression selections... $ECHO_C" >&6
11219
11555
 
11220
11556
# Check whether --enable-regex or --disable-regex was given.
11231
11567
  enable_regex=yes
11232
11568
 
11233
11569
fi;
11234
 
echo "$as_me:11234: result: $enable_regex" >&5
 
11570
echo "$as_me:11570: result: $enable_regex" >&5
11235
11571
echo "${ECHO_T}$enable_regex" >&6
11236
11572
if test "$enable_regex" = yes ; then
11237
11573
 
11238
 
echo "$as_me:11238: checking if you want to use PCRE for regular-expressions" >&5
 
11574
echo "$as_me:11574: checking if you want to use PCRE for regular-expressions" >&5
11239
11575
echo $ECHO_N "checking if you want to use PCRE for regular-expressions... $ECHO_C" >&6
11240
11576
 
11241
11577
# Check whether --with-pcre or --without-pcre was given.
11244
11580
 
11245
11581
fi;
11246
11582
test -z "$with_pcre" && with_pcre=no
11247
 
echo "$as_me:11247: result: $with_pcre" >&5
 
11583
echo "$as_me:11583: result: $with_pcre" >&5
11248
11584
echo "${ECHO_T}$with_pcre" >&6
11249
11585
 
11250
11586
if test "$with_pcre" != no ; then
11251
 
        echo "$as_me:11251: checking for pcre_compile in -lpcre" >&5
 
11587
        echo "$as_me:11587: checking for pcre_compile in -lpcre" >&5
11252
11588
echo $ECHO_N "checking for pcre_compile in -lpcre... $ECHO_C" >&6
11253
11589
if test "${ac_cv_lib_pcre_pcre_compile+set}" = set; then
11254
11590
  echo $ECHO_N "(cached) $ECHO_C" >&6
11256
11592
  ac_check_lib_save_LIBS=$LIBS
11257
11593
LIBS="-lpcre  $LIBS"
11258
11594
cat >conftest.$ac_ext <<_ACEOF
11259
 
#line 11259 "configure"
 
11595
#line 11595 "configure"
11260
11596
#include "confdefs.h"
11261
11597
 
11262
11598
/* Override any gcc2 internal prototype to avoid an error.  */
11275
11611
}
11276
11612
_ACEOF
11277
11613
rm -f conftest.$ac_objext conftest$ac_exeext
11278
 
if { (eval echo "$as_me:11278: \"$ac_link\"") >&5
 
11614
if { (eval echo "$as_me:11614: \"$ac_link\"") >&5
11279
11615
  (eval $ac_link) 2>&5
11280
11616
  ac_status=$?
11281
 
  echo "$as_me:11281: \$? = $ac_status" >&5
 
11617
  echo "$as_me:11617: \$? = $ac_status" >&5
11282
11618
  (exit $ac_status); } &&
11283
11619
         { ac_try='test -s conftest$ac_exeext'
11284
 
  { (eval echo "$as_me:11284: \"$ac_try\"") >&5
 
11620
  { (eval echo "$as_me:11620: \"$ac_try\"") >&5
11285
11621
  (eval $ac_try) 2>&5
11286
11622
  ac_status=$?
11287
 
  echo "$as_me:11287: \$? = $ac_status" >&5
 
11623
  echo "$as_me:11623: \$? = $ac_status" >&5
11288
11624
  (exit $ac_status); }; }; then
11289
11625
  ac_cv_lib_pcre_pcre_compile=yes
11290
11626
else
11295
11631
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11296
11632
LIBS=$ac_check_lib_save_LIBS
11297
11633
fi
11298
 
echo "$as_me:11298: result: $ac_cv_lib_pcre_pcre_compile" >&5
 
11634
echo "$as_me:11634: result: $ac_cv_lib_pcre_pcre_compile" >&5
11299
11635
echo "${ECHO_T}$ac_cv_lib_pcre_pcre_compile" >&6
11300
11636
if test $ac_cv_lib_pcre_pcre_compile = yes; then
11301
 
  echo "$as_me:11301: checking for pcreposix.h" >&5
 
11637
  echo "$as_me:11637: checking for pcreposix.h" >&5
11302
11638
echo $ECHO_N "checking for pcreposix.h... $ECHO_C" >&6
11303
11639
if test "${ac_cv_header_pcreposix_h+set}" = set; then
11304
11640
  echo $ECHO_N "(cached) $ECHO_C" >&6
11305
11641
else
11306
11642
  cat >conftest.$ac_ext <<_ACEOF
11307
 
#line 11307 "configure"
 
11643
#line 11643 "configure"
11308
11644
#include "confdefs.h"
11309
11645
#include <pcreposix.h>
11310
11646
_ACEOF
11311
 
if { (eval echo "$as_me:11311: \"$ac_cpp conftest.$ac_ext\"") >&5
 
11647
if { (eval echo "$as_me:11647: \"$ac_cpp conftest.$ac_ext\"") >&5
11312
11648
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11313
11649
  ac_status=$?
11314
11650
  egrep -v '^ *\+' conftest.er1 >conftest.err
11315
11651
  rm -f conftest.er1
11316
11652
  cat conftest.err >&5
11317
 
  echo "$as_me:11317: \$? = $ac_status" >&5
 
11653
  echo "$as_me:11653: \$? = $ac_status" >&5
11318
11654
  (exit $ac_status); } >/dev/null; then
11319
11655
  if test -s conftest.err; then
11320
11656
    ac_cpp_err=$ac_c_preproc_warn_flag
11333
11669
fi
11334
11670
rm -f conftest.err conftest.$ac_ext
11335
11671
fi
11336
 
echo "$as_me:11336: result: $ac_cv_header_pcreposix_h" >&5
 
11672
echo "$as_me:11672: result: $ac_cv_header_pcreposix_h" >&5
11337
11673
echo "${ECHO_T}$ac_cv_header_pcreposix_h" >&6
11338
11674
if test $ac_cv_header_pcreposix_h = yes; then
11339
 
  echo "$as_me:11339: checking for pcreposix_regcomp in -lpcreposix" >&5
 
11675
  echo "$as_me:11675: checking for pcreposix_regcomp in -lpcreposix" >&5
11340
11676
echo $ECHO_N "checking for pcreposix_regcomp in -lpcreposix... $ECHO_C" >&6
11341
11677
if test "${ac_cv_lib_pcreposix_pcreposix_regcomp+set}" = set; then
11342
11678
  echo $ECHO_N "(cached) $ECHO_C" >&6
11344
11680
  ac_check_lib_save_LIBS=$LIBS
11345
11681
LIBS="-lpcreposix "-lpcre" $LIBS"
11346
11682
cat >conftest.$ac_ext <<_ACEOF
11347
 
#line 11347 "configure"
 
11683
#line 11683 "configure"
11348
11684
#include "confdefs.h"
11349
11685
 
11350
11686
/* Override any gcc2 internal prototype to avoid an error.  */
11363
11699
}
11364
11700
_ACEOF
11365
11701
rm -f conftest.$ac_objext conftest$ac_exeext
11366
 
if { (eval echo "$as_me:11366: \"$ac_link\"") >&5
 
11702
if { (eval echo "$as_me:11702: \"$ac_link\"") >&5
11367
11703
  (eval $ac_link) 2>&5
11368
11704
  ac_status=$?
11369
 
  echo "$as_me:11369: \$? = $ac_status" >&5
 
11705
  echo "$as_me:11705: \$? = $ac_status" >&5
11370
11706
  (exit $ac_status); } &&
11371
11707
         { ac_try='test -s conftest$ac_exeext'
11372
 
  { (eval echo "$as_me:11372: \"$ac_try\"") >&5
 
11708
  { (eval echo "$as_me:11708: \"$ac_try\"") >&5
11373
11709
  (eval $ac_try) 2>&5
11374
11710
  ac_status=$?
11375
 
  echo "$as_me:11375: \$? = $ac_status" >&5
 
11711
  echo "$as_me:11711: \$? = $ac_status" >&5
11376
11712
  (exit $ac_status); }; }; then
11377
11713
  ac_cv_lib_pcreposix_pcreposix_regcomp=yes
11378
11714
else
11383
11719
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11384
11720
LIBS=$ac_check_lib_save_LIBS
11385
11721
fi
11386
 
echo "$as_me:11386: result: $ac_cv_lib_pcreposix_pcreposix_regcomp" >&5
 
11722
echo "$as_me:11722: result: $ac_cv_lib_pcreposix_pcreposix_regcomp" >&5
11387
11723
echo "${ECHO_T}$ac_cv_lib_pcreposix_pcreposix_regcomp" >&6
11388
11724
if test $ac_cv_lib_pcreposix_pcreposix_regcomp = yes; then
11389
11725
  cat >>confdefs.h <<\EOF
11396
11732
 
11397
11733
                                 LIBS="-lpcreposix -lpcre $LIBS"
11398
11734
else
11399
 
  { { echo "$as_me:11399: error: Cannot find PCRE POSIX library" >&5
 
11735
  { { echo "$as_me:11735: error: Cannot find PCRE POSIX library" >&5
11400
11736
echo "$as_me: error: Cannot find PCRE POSIX library" >&2;}
11401
11737
   { (exit 1); exit 1; }; }
11402
11738
fi
11403
11739
 
11404
11740
else
11405
 
  { { echo "$as_me:11405: error: Cannot find PCRE POSIX header" >&5
 
11741
  { { echo "$as_me:11741: error: Cannot find PCRE POSIX header" >&5
11406
11742
echo "$as_me: error: Cannot find PCRE POSIX header" >&2;}
11407
11743
   { (exit 1); exit 1; }; }
11408
11744
fi
11409
11745
 
11410
11746
else
11411
 
  { { echo "$as_me:11411: error: Cannot find PCRE library" >&5
 
11747
  { { echo "$as_me:11747: error: Cannot find PCRE library" >&5
11412
11748
echo "$as_me: error: Cannot find PCRE library" >&2;}
11413
11749
   { (exit 1); exit 1; }; }
11414
11750
fi
11417
11753
 
11418
11754
        if test "$with_pcre" = no ; then
11419
11755
 
11420
 
echo "$as_me:11420: checking for regular-expression headers" >&5
 
11756
echo "$as_me:11756: checking for regcomp" >&5
 
11757
echo $ECHO_N "checking for regcomp... $ECHO_C" >&6
 
11758
if test "${ac_cv_func_regcomp+set}" = set; then
 
11759
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11760
else
 
11761
  cat >conftest.$ac_ext <<_ACEOF
 
11762
#line 11762 "configure"
 
11763
#include "confdefs.h"
 
11764
/* System header to define __stub macros and hopefully few prototypes,
 
11765
    which can conflict with char regcomp (); below.  */
 
11766
#include <assert.h>
 
11767
/* Override any gcc2 internal prototype to avoid an error.  */
 
11768
#ifdef __cplusplus
 
11769
extern "C"
 
11770
#endif
 
11771
/* We use char because int might match the return type of a gcc2
 
11772
   builtin and then its argument prototype would still apply.  */
 
11773
char regcomp ();
 
11774
char (*f) ();
 
11775
 
 
11776
int
 
11777
main ()
 
11778
{
 
11779
/* The GNU C library defines this for functions which it implements
 
11780
    to always fail with ENOSYS.  Some functions are actually named
 
11781
    something starting with __ and the normal name is an alias.  */
 
11782
#if defined (__stub_regcomp) || defined (__stub___regcomp)
 
11783
choke me
 
11784
#else
 
11785
f = regcomp;
 
11786
#endif
 
11787
 
 
11788
  ;
 
11789
  return 0;
 
11790
}
 
11791
_ACEOF
 
11792
rm -f conftest.$ac_objext conftest$ac_exeext
 
11793
if { (eval echo "$as_me:11793: \"$ac_link\"") >&5
 
11794
  (eval $ac_link) 2>&5
 
11795
  ac_status=$?
 
11796
  echo "$as_me:11796: \$? = $ac_status" >&5
 
11797
  (exit $ac_status); } &&
 
11798
         { ac_try='test -s conftest$ac_exeext'
 
11799
  { (eval echo "$as_me:11799: \"$ac_try\"") >&5
 
11800
  (eval $ac_try) 2>&5
 
11801
  ac_status=$?
 
11802
  echo "$as_me:11802: \$? = $ac_status" >&5
 
11803
  (exit $ac_status); }; }; then
 
11804
  ac_cv_func_regcomp=yes
 
11805
else
 
11806
  echo "$as_me: failed program was:" >&5
 
11807
cat conftest.$ac_ext >&5
 
11808
ac_cv_func_regcomp=no
 
11809
fi
 
11810
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
11811
fi
 
11812
echo "$as_me:11812: result: $ac_cv_func_regcomp" >&5
 
11813
echo "${ECHO_T}$ac_cv_func_regcomp" >&6
 
11814
if test $ac_cv_func_regcomp = yes; then
 
11815
  :
 
11816
else
 
11817
 
 
11818
        echo "$as_me:11818: checking for regcomp in -lregex" >&5
 
11819
echo $ECHO_N "checking for regcomp in -lregex... $ECHO_C" >&6
 
11820
if test "${ac_cv_lib_regex_regcomp+set}" = set; then
 
11821
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11822
else
 
11823
  ac_check_lib_save_LIBS=$LIBS
 
11824
LIBS="-lregex  $LIBS"
 
11825
cat >conftest.$ac_ext <<_ACEOF
 
11826
#line 11826 "configure"
 
11827
#include "confdefs.h"
 
11828
 
 
11829
/* Override any gcc2 internal prototype to avoid an error.  */
 
11830
#ifdef __cplusplus
 
11831
extern "C"
 
11832
#endif
 
11833
/* We use char because int might match the return type of a gcc2
 
11834
   builtin and then its argument prototype would still apply.  */
 
11835
char regcomp ();
 
11836
int
 
11837
main ()
 
11838
{
 
11839
regcomp ();
 
11840
  ;
 
11841
  return 0;
 
11842
}
 
11843
_ACEOF
 
11844
rm -f conftest.$ac_objext conftest$ac_exeext
 
11845
if { (eval echo "$as_me:11845: \"$ac_link\"") >&5
 
11846
  (eval $ac_link) 2>&5
 
11847
  ac_status=$?
 
11848
  echo "$as_me:11848: \$? = $ac_status" >&5
 
11849
  (exit $ac_status); } &&
 
11850
         { ac_try='test -s conftest$ac_exeext'
 
11851
  { (eval echo "$as_me:11851: \"$ac_try\"") >&5
 
11852
  (eval $ac_try) 2>&5
 
11853
  ac_status=$?
 
11854
  echo "$as_me:11854: \$? = $ac_status" >&5
 
11855
  (exit $ac_status); }; }; then
 
11856
  ac_cv_lib_regex_regcomp=yes
 
11857
else
 
11858
  echo "$as_me: failed program was:" >&5
 
11859
cat conftest.$ac_ext >&5
 
11860
ac_cv_lib_regex_regcomp=no
 
11861
fi
 
11862
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
11863
LIBS=$ac_check_lib_save_LIBS
 
11864
fi
 
11865
echo "$as_me:11865: result: $ac_cv_lib_regex_regcomp" >&5
 
11866
echo "${ECHO_T}$ac_cv_lib_regex_regcomp" >&6
 
11867
if test $ac_cv_lib_regex_regcomp = yes; then
 
11868
  LIBS="-lregex $LIBS"
 
11869
else
 
11870
 
 
11871
                echo "$as_me:11871: checking for regcomp in -lre" >&5
 
11872
echo $ECHO_N "checking for regcomp in -lre... $ECHO_C" >&6
 
11873
if test "${ac_cv_lib_re_regcomp+set}" = set; then
 
11874
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11875
else
 
11876
  ac_check_lib_save_LIBS=$LIBS
 
11877
LIBS="-lre  $LIBS"
 
11878
cat >conftest.$ac_ext <<_ACEOF
 
11879
#line 11879 "configure"
 
11880
#include "confdefs.h"
 
11881
 
 
11882
/* Override any gcc2 internal prototype to avoid an error.  */
 
11883
#ifdef __cplusplus
 
11884
extern "C"
 
11885
#endif
 
11886
/* We use char because int might match the return type of a gcc2
 
11887
   builtin and then its argument prototype would still apply.  */
 
11888
char regcomp ();
 
11889
int
 
11890
main ()
 
11891
{
 
11892
regcomp ();
 
11893
  ;
 
11894
  return 0;
 
11895
}
 
11896
_ACEOF
 
11897
rm -f conftest.$ac_objext conftest$ac_exeext
 
11898
if { (eval echo "$as_me:11898: \"$ac_link\"") >&5
 
11899
  (eval $ac_link) 2>&5
 
11900
  ac_status=$?
 
11901
  echo "$as_me:11901: \$? = $ac_status" >&5
 
11902
  (exit $ac_status); } &&
 
11903
         { ac_try='test -s conftest$ac_exeext'
 
11904
  { (eval echo "$as_me:11904: \"$ac_try\"") >&5
 
11905
  (eval $ac_try) 2>&5
 
11906
  ac_status=$?
 
11907
  echo "$as_me:11907: \$? = $ac_status" >&5
 
11908
  (exit $ac_status); }; }; then
 
11909
  ac_cv_lib_re_regcomp=yes
 
11910
else
 
11911
  echo "$as_me: failed program was:" >&5
 
11912
cat conftest.$ac_ext >&5
 
11913
ac_cv_lib_re_regcomp=no
 
11914
fi
 
11915
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
11916
LIBS=$ac_check_lib_save_LIBS
 
11917
fi
 
11918
echo "$as_me:11918: result: $ac_cv_lib_re_regcomp" >&5
 
11919
echo "${ECHO_T}$ac_cv_lib_re_regcomp" >&6
 
11920
if test $ac_cv_lib_re_regcomp = yes; then
 
11921
  LIBS="-lre $LIBS"
 
11922
else
 
11923
 
 
11924
                        echo "$as_me:11924: checking for compile" >&5
 
11925
echo $ECHO_N "checking for compile... $ECHO_C" >&6
 
11926
if test "${ac_cv_func_compile+set}" = set; then
 
11927
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11928
else
 
11929
  cat >conftest.$ac_ext <<_ACEOF
 
11930
#line 11930 "configure"
 
11931
#include "confdefs.h"
 
11932
/* System header to define __stub macros and hopefully few prototypes,
 
11933
    which can conflict with char compile (); below.  */
 
11934
#include <assert.h>
 
11935
/* Override any gcc2 internal prototype to avoid an error.  */
 
11936
#ifdef __cplusplus
 
11937
extern "C"
 
11938
#endif
 
11939
/* We use char because int might match the return type of a gcc2
 
11940
   builtin and then its argument prototype would still apply.  */
 
11941
char compile ();
 
11942
char (*f) ();
 
11943
 
 
11944
int
 
11945
main ()
 
11946
{
 
11947
/* The GNU C library defines this for functions which it implements
 
11948
    to always fail with ENOSYS.  Some functions are actually named
 
11949
    something starting with __ and the normal name is an alias.  */
 
11950
#if defined (__stub_compile) || defined (__stub___compile)
 
11951
choke me
 
11952
#else
 
11953
f = compile;
 
11954
#endif
 
11955
 
 
11956
  ;
 
11957
  return 0;
 
11958
}
 
11959
_ACEOF
 
11960
rm -f conftest.$ac_objext conftest$ac_exeext
 
11961
if { (eval echo "$as_me:11961: \"$ac_link\"") >&5
 
11962
  (eval $ac_link) 2>&5
 
11963
  ac_status=$?
 
11964
  echo "$as_me:11964: \$? = $ac_status" >&5
 
11965
  (exit $ac_status); } &&
 
11966
         { ac_try='test -s conftest$ac_exeext'
 
11967
  { (eval echo "$as_me:11967: \"$ac_try\"") >&5
 
11968
  (eval $ac_try) 2>&5
 
11969
  ac_status=$?
 
11970
  echo "$as_me:11970: \$? = $ac_status" >&5
 
11971
  (exit $ac_status); }; }; then
 
11972
  ac_cv_func_compile=yes
 
11973
else
 
11974
  echo "$as_me: failed program was:" >&5
 
11975
cat conftest.$ac_ext >&5
 
11976
ac_cv_func_compile=no
 
11977
fi
 
11978
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
11979
fi
 
11980
echo "$as_me:11980: result: $ac_cv_func_compile" >&5
 
11981
echo "${ECHO_T}$ac_cv_func_compile" >&6
 
11982
if test $ac_cv_func_compile = yes; then
 
11983
  :
 
11984
else
 
11985
 
 
11986
                                echo "$as_me:11986: checking for compile in -lgen" >&5
 
11987
echo $ECHO_N "checking for compile in -lgen... $ECHO_C" >&6
 
11988
if test "${ac_cv_lib_gen_compile+set}" = set; then
 
11989
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11990
else
 
11991
  ac_check_lib_save_LIBS=$LIBS
 
11992
LIBS="-lgen  $LIBS"
 
11993
cat >conftest.$ac_ext <<_ACEOF
 
11994
#line 11994 "configure"
 
11995
#include "confdefs.h"
 
11996
 
 
11997
/* Override any gcc2 internal prototype to avoid an error.  */
 
11998
#ifdef __cplusplus
 
11999
extern "C"
 
12000
#endif
 
12001
/* We use char because int might match the return type of a gcc2
 
12002
   builtin and then its argument prototype would still apply.  */
 
12003
char compile ();
 
12004
int
 
12005
main ()
 
12006
{
 
12007
compile ();
 
12008
  ;
 
12009
  return 0;
 
12010
}
 
12011
_ACEOF
 
12012
rm -f conftest.$ac_objext conftest$ac_exeext
 
12013
if { (eval echo "$as_me:12013: \"$ac_link\"") >&5
 
12014
  (eval $ac_link) 2>&5
 
12015
  ac_status=$?
 
12016
  echo "$as_me:12016: \$? = $ac_status" >&5
 
12017
  (exit $ac_status); } &&
 
12018
         { ac_try='test -s conftest$ac_exeext'
 
12019
  { (eval echo "$as_me:12019: \"$ac_try\"") >&5
 
12020
  (eval $ac_try) 2>&5
 
12021
  ac_status=$?
 
12022
  echo "$as_me:12022: \$? = $ac_status" >&5
 
12023
  (exit $ac_status); }; }; then
 
12024
  ac_cv_lib_gen_compile=yes
 
12025
else
 
12026
  echo "$as_me: failed program was:" >&5
 
12027
cat conftest.$ac_ext >&5
 
12028
ac_cv_lib_gen_compile=no
 
12029
fi
 
12030
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
12031
LIBS=$ac_check_lib_save_LIBS
 
12032
fi
 
12033
echo "$as_me:12033: result: $ac_cv_lib_gen_compile" >&5
 
12034
echo "${ECHO_T}$ac_cv_lib_gen_compile" >&6
 
12035
if test $ac_cv_lib_gen_compile = yes; then
 
12036
  LIBS="-lgen $LIBS"
 
12037
else
 
12038
 
 
12039
                                        { echo "$as_me:12039: WARNING: cannot find regular expression library" >&5
 
12040
echo "$as_me: WARNING: cannot find regular expression library" >&2;}
 
12041
 
 
12042
fi
 
12043
 
 
12044
fi
 
12045
 
 
12046
fi
 
12047
 
 
12048
fi
 
12049
 
 
12050
fi
 
12051
 
 
12052
echo "$as_me:12052: checking for regular-expression headers" >&5
11421
12053
echo $ECHO_N "checking for regular-expression headers... $ECHO_C" >&6
11422
 
if test "${cf_cv_regex+set}" = set; then
 
12054
if test "${cf_cv_regex_hdrs+set}" = set; then
11423
12055
  echo $ECHO_N "(cached) $ECHO_C" >&6
11424
12056
else
11425
12057
 
 
12058
cf_cv_regex_hdrs=no
11426
12059
cat >conftest.$ac_ext <<_ACEOF
11427
 
#line 11427 "configure"
 
12060
#line 12060 "configure"
11428
12061
#include "confdefs.h"
11429
12062
#include <sys/types.h>
11430
12063
#include <regex.h>
11442
12075
}
11443
12076
_ACEOF
11444
12077
rm -f conftest.$ac_objext conftest$ac_exeext
11445
 
if { (eval echo "$as_me:11445: \"$ac_link\"") >&5
 
12078
if { (eval echo "$as_me:12078: \"$ac_link\"") >&5
11446
12079
  (eval $ac_link) 2>&5
11447
12080
  ac_status=$?
11448
 
  echo "$as_me:11448: \$? = $ac_status" >&5
 
12081
  echo "$as_me:12081: \$? = $ac_status" >&5
11449
12082
  (exit $ac_status); } &&
11450
12083
         { ac_try='test -s conftest$ac_exeext'
11451
 
  { (eval echo "$as_me:11451: \"$ac_try\"") >&5
 
12084
  { (eval echo "$as_me:12084: \"$ac_try\"") >&5
11452
12085
  (eval $ac_try) 2>&5
11453
12086
  ac_status=$?
11454
 
  echo "$as_me:11454: \$? = $ac_status" >&5
 
12087
  echo "$as_me:12087: \$? = $ac_status" >&5
11455
12088
  (exit $ac_status); }; }; then
11456
 
  cf_cv_regex="regex.h"
 
12089
  cf_cv_regex_hdrs="regex.h"
11457
12090
else
11458
12091
  echo "$as_me: failed program was:" >&5
11459
12092
cat conftest.$ac_ext >&5
11460
12093
 
11461
12094
        cat >conftest.$ac_ext <<_ACEOF
11462
 
#line 11462 "configure"
 
12095
#line 12095 "configure"
11463
12096
#include "confdefs.h"
11464
12097
#include <regexp.h>
11465
12098
int
11474
12107
}
11475
12108
_ACEOF
11476
12109
rm -f conftest.$ac_objext conftest$ac_exeext
11477
 
if { (eval echo "$as_me:11477: \"$ac_link\"") >&5
 
12110
if { (eval echo "$as_me:12110: \"$ac_link\"") >&5
11478
12111
  (eval $ac_link) 2>&5
11479
12112
  ac_status=$?
11480
 
  echo "$as_me:11480: \$? = $ac_status" >&5
 
12113
  echo "$as_me:12113: \$? = $ac_status" >&5
11481
12114
  (exit $ac_status); } &&
11482
12115
         { ac_try='test -s conftest$ac_exeext'
11483
 
  { (eval echo "$as_me:11483: \"$ac_try\"") >&5
 
12116
  { (eval echo "$as_me:12116: \"$ac_try\"") >&5
11484
12117
  (eval $ac_try) 2>&5
11485
12118
  ac_status=$?
11486
 
  echo "$as_me:11486: \$? = $ac_status" >&5
 
12119
  echo "$as_me:12119: \$? = $ac_status" >&5
11487
12120
  (exit $ac_status); }; }; then
11488
 
  cf_cv_regex="regexp.h"
 
12121
  cf_cv_regex_hdrs="regexp.h"
11489
12122
else
11490
12123
  echo "$as_me: failed program was:" >&5
11491
12124
cat conftest.$ac_ext >&5
11492
12125
 
11493
 
                cf_save_LIBS="$LIBS"
11494
 
                LIBS="-lgen $LIBS"
11495
12126
                cat >conftest.$ac_ext <<_ACEOF
11496
 
#line 11496 "configure"
 
12127
#line 12127 "configure"
11497
12128
#include "confdefs.h"
11498
12129
#include <regexpr.h>
11499
12130
int
11508
12139
}
11509
12140
_ACEOF
11510
12141
rm -f conftest.$ac_objext conftest$ac_exeext
11511
 
if { (eval echo "$as_me:11511: \"$ac_link\"") >&5
 
12142
if { (eval echo "$as_me:12142: \"$ac_link\"") >&5
11512
12143
  (eval $ac_link) 2>&5
11513
12144
  ac_status=$?
11514
 
  echo "$as_me:11514: \$? = $ac_status" >&5
 
12145
  echo "$as_me:12145: \$? = $ac_status" >&5
11515
12146
  (exit $ac_status); } &&
11516
12147
         { ac_try='test -s conftest$ac_exeext'
11517
 
  { (eval echo "$as_me:11517: \"$ac_try\"") >&5
 
12148
  { (eval echo "$as_me:12148: \"$ac_try\"") >&5
11518
12149
  (eval $ac_try) 2>&5
11519
12150
  ac_status=$?
11520
 
  echo "$as_me:11520: \$? = $ac_status" >&5
 
12151
  echo "$as_me:12151: \$? = $ac_status" >&5
11521
12152
  (exit $ac_status); }; }; then
11522
 
  cf_cv_regex="regexpr.h"
 
12153
  cf_cv_regex_hdrs="regexpr.h"
11523
12154
else
11524
12155
  echo "$as_me: failed program was:" >&5
11525
12156
cat conftest.$ac_ext >&5
11526
 
LIBS="$cf_save_LIBS"
11527
 
fi
11528
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11529
 
fi
11530
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11531
 
fi
11532
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11533
 
 
11534
 
fi
11535
 
 
11536
 
echo "$as_me:11536: result: $cf_cv_regex" >&5
11537
 
echo "${ECHO_T}$cf_cv_regex" >&6
11538
 
case $cf_cv_regex in
11539
 
        regex.h)   cat >>confdefs.h <<\EOF
 
12157
fi
 
12158
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
12159
fi
 
12160
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
12161
fi
 
12162
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
12163
 
 
12164
fi
 
12165
echo "$as_me:12165: result: $cf_cv_regex_hdrs" >&5
 
12166
echo "${ECHO_T}$cf_cv_regex_hdrs" >&6
 
12167
 
 
12168
case $cf_cv_regex_hdrs in #(vi
 
12169
    no)        { echo "$as_me:12169: WARNING: no regular expression header found" >&5
 
12170
echo "$as_me: WARNING: no regular expression header found" >&2;} ;; #(vi
 
12171
    regex.h)   cat >>confdefs.h <<\EOF
11540
12172
#define HAVE_REGEX_H_FUNCS 1
11541
12173
EOF
11542
 
 ;;
11543
 
        regexp.h)  cat >>confdefs.h <<\EOF
 
12174
 ;; #(vi
 
12175
    regexp.h)  cat >>confdefs.h <<\EOF
11544
12176
#define HAVE_REGEXP_H_FUNCS 1
11545
12177
EOF
11546
 
 ;;
11547
 
        regexpr.h) cat >>confdefs.h <<\EOF
 
12178
 ;; #(vi
 
12179
    regexpr.h) cat >>confdefs.h <<\EOF
11548
12180
#define HAVE_REGEXPR_H_FUNCS 1
11549
12181
EOF
11550
12182
 ;;
11551
12183
esac
11552
12184
 
11553
 
                if test "X$cf_cv_regex" != "Xregex.h" ; then
11554
 
                        { { echo "$as_me:11554: error: Only POSIX or PCRE regular expressions are supported" >&5
 
12185
                if test "X$cf_cv_regex_hdrs" != "Xregex.h" ; then
 
12186
                        { { echo "$as_me:12186: error: Only POSIX or PCRE regular expressions are supported" >&5
11555
12187
echo "$as_me: error: Only POSIX or PCRE regular expressions are supported" >&2;}
11556
12188
   { (exit 1); exit 1; }; }
11557
12189
                fi
11562
12194
 
11563
12195
fi
11564
12196
 
11565
 
echo "$as_me:11565: checking if you want support for right-scrollbar" >&5
 
12197
echo "$as_me:12197: checking if you want support for right-scrollbar" >&5
11566
12198
echo $ECHO_N "checking if you want support for right-scrollbar... $ECHO_C" >&6
11567
12199
 
11568
12200
# Check whether --enable-rightbar or --disable-rightbar was given.
11579
12211
  enable_rightbar=yes
11580
12212
 
11581
12213
fi;
11582
 
echo "$as_me:11582: result: $enable_rightbar" >&5
 
12214
echo "$as_me:12214: result: $enable_rightbar" >&5
11583
12215
echo "${ECHO_T}$enable_rightbar" >&6
11584
12216
if test "$enable_rightbar" = yes ; then
11585
12217
        cat >>confdefs.h <<\EOF
11588
12220
 
11589
12221
fi
11590
12222
 
11591
 
echo "$as_me:11591: checking if you want check for redundant name-change" >&5
 
12223
echo "$as_me:12223: checking if you want check for redundant name-change" >&5
11592
12224
echo $ECHO_N "checking if you want check for redundant name-change... $ECHO_C" >&6
11593
12225
 
11594
12226
# Check whether --enable-samename or --disable-samename was given.
11605
12237
  enable_samename=yes
11606
12238
 
11607
12239
fi;
11608
 
echo "$as_me:11608: result: $enable_samename" >&5
 
12240
echo "$as_me:12240: result: $enable_samename" >&5
11609
12241
echo "${ECHO_T}$enable_samename" >&6
11610
12242
test "$enable_samename" = no && cat >>confdefs.h <<\EOF
11611
12243
#define OPT_SAME_NAME 0
11612
12244
EOF
11613
12245
 
11614
 
echo "$as_me:11614: checking if you want support for session management" >&5
 
12246
echo "$as_me:12246: checking if you want support for session management" >&5
11615
12247
echo $ECHO_N "checking if you want support for session management... $ECHO_C" >&6
11616
12248
 
11617
12249
# Check whether --enable-session-mgt or --disable-session-mgt was given.
11628
12260
  enable_session_mgt=yes
11629
12261
 
11630
12262
fi;
11631
 
echo "$as_me:11631: result: $enable_session_mgt" >&5
 
12263
echo "$as_me:12263: result: $enable_session_mgt" >&5
11632
12264
echo "${ECHO_T}$enable_session_mgt" >&6
11633
12265
test "$enable_session_mgt" = no && cat >>confdefs.h <<\EOF
11634
12266
#define OPT_SESSION_MGT 0
11635
12267
EOF
11636
12268
 
11637
 
echo "$as_me:11637: checking if you want to use termcap function-keys" >&5
 
12269
echo "$as_me:12269: checking if you want to use termcap function-keys" >&5
11638
12270
echo $ECHO_N "checking if you want to use termcap function-keys... $ECHO_C" >&6
11639
12271
 
11640
12272
# Check whether --enable-tcap-fkeys or --disable-tcap-fkeys was given.
11651
12283
  enable_tcap_fkeys=yes
11652
12284
 
11653
12285
fi;
11654
 
echo "$as_me:11654: result: $enable_tcap_fkeys" >&5
 
12286
echo "$as_me:12286: result: $enable_tcap_fkeys" >&5
11655
12287
echo "${ECHO_T}$enable_tcap_fkeys" >&6
11656
12288
test "$enable_tcap_fkeys" = yes && cat >>confdefs.h <<\EOF
11657
12289
#define OPT_TCAP_FKEYS 1
11658
12290
EOF
11659
12291
 
11660
 
echo "$as_me:11660: checking if you want to use termcap-query/report" >&5
 
12292
echo "$as_me:12292: checking if you want to use termcap-query/report" >&5
11661
12293
echo $ECHO_N "checking if you want to use termcap-query/report... $ECHO_C" >&6
11662
12294
 
11663
12295
# Check whether --enable-tcap-query or --disable-tcap-query was given.
11674
12306
  enable_tcap_query=yes
11675
12307
 
11676
12308
fi;
11677
 
echo "$as_me:11677: result: $enable_tcap_query" >&5
 
12309
echo "$as_me:12309: result: $enable_tcap_query" >&5
11678
12310
echo "${ECHO_T}$enable_tcap_query" >&6
11679
12311
test "$enable_tcap_query" = yes && cat >>confdefs.h <<\EOF
11680
12312
#define OPT_TCAP_QUERY 1
11681
12313
EOF
11682
12314
 
11683
 
echo "$as_me:11683: checking if you want support for tek4014" >&5
 
12315
echo "$as_me:12315: checking if you want support for tek4014" >&5
11684
12316
echo $ECHO_N "checking if you want support for tek4014... $ECHO_C" >&6
11685
12317
 
11686
12318
# Check whether --enable-tek4014 or --disable-tek4014 was given.
11697
12329
  enable_tek4014=yes
11698
12330
 
11699
12331
fi;
11700
 
echo "$as_me:11700: result: $enable_tek4014" >&5
 
12332
echo "$as_me:12332: result: $enable_tek4014" >&5
11701
12333
echo "${ECHO_T}$enable_tek4014" >&6
11702
12334
if test "$enable_tek4014" = no ; then
11703
12335
        cat >>confdefs.h <<\EOF
11710
12342
        EXTRAOBJS="$EXTRAOBJS TekPrsTbl.o Tekproc.o"
11711
12343
fi
11712
12344
 
11713
 
echo "$as_me:11713: checking if you want pulldown menus with a toolbar" >&5
 
12345
echo "$as_me:12345: checking if you want pulldown menus with a toolbar" >&5
11714
12346
echo $ECHO_N "checking if you want pulldown menus with a toolbar... $ECHO_C" >&6
11715
12347
 
11716
12348
# Check whether --enable-toolbar or --disable-toolbar was given.
11727
12359
  enable_toolbar=no
11728
12360
 
11729
12361
fi;
11730
 
echo "$as_me:11730: result: $enable_toolbar" >&5
 
12362
echo "$as_me:12362: result: $enable_toolbar" >&5
11731
12363
echo "${ECHO_T}$enable_toolbar" >&6
11732
12364
if test "$enable_toolbar" = yes ; then
11733
12365
        cat >>confdefs.h <<\EOF
11736
12368
 
11737
12369
fi
11738
12370
 
11739
 
echo "$as_me:11739: checking if you want VT52 emulation" >&5
 
12371
echo "$as_me:12371: checking if you want VT52 emulation" >&5
11740
12372
echo $ECHO_N "checking if you want VT52 emulation... $ECHO_C" >&6
11741
12373
 
11742
12374
# Check whether --enable-vt52 or --disable-vt52 was given.
11753
12385
  enable_vt52=yes
11754
12386
 
11755
12387
fi;
11756
 
echo "$as_me:11756: result: $enable_vt52" >&5
 
12388
echo "$as_me:12388: result: $enable_vt52" >&5
11757
12389
echo "${ECHO_T}$enable_vt52" >&6
11758
12390
test "$enable_vt52" = no && cat >>confdefs.h <<\EOF
11759
12391
#define OPT_VT52_MODE 0
11760
12392
EOF
11761
12393
 
11762
 
echo "$as_me:11762: checking if you want to use mini-luit/Latin9 built-in support" >&5
 
12394
echo "$as_me:12394: checking if you want to use mini-luit/Latin9 built-in support" >&5
11763
12395
echo $ECHO_N "checking if you want to use mini-luit/Latin9 built-in support... $ECHO_C" >&6
11764
12396
 
11765
12397
# Check whether --enable-mini-luit or --disable-mini-luit was given.
11776
12408
  enable_mini_luit=no
11777
12409
 
11778
12410
fi;
11779
 
echo "$as_me:11779: result: $enable_mini_luit" >&5
 
12411
echo "$as_me:12411: result: $enable_mini_luit" >&5
11780
12412
echo "${ECHO_T}$enable_mini_luit" >&6
11781
12413
if test "$enable_mini_luit" = yes ; then
11782
12414
        cat >>confdefs.h <<\EOF
11785
12417
 
11786
12418
fi
11787
12419
 
11788
 
echo "$as_me:11788: checking if you want to use luit" >&5
 
12420
echo "$as_me:12420: checking if you want to use luit" >&5
11789
12421
echo $ECHO_N "checking if you want to use luit... $ECHO_C" >&6
11790
12422
 
11791
12423
# Check whether --enable-luit or --disable-luit was given.
11802
12434
  enable_luit=$enable_mini_luit
11803
12435
 
11804
12436
fi;
11805
 
echo "$as_me:11805: result: $enable_luit" >&5
 
12437
echo "$as_me:12437: result: $enable_luit" >&5
11806
12438
echo "${ECHO_T}$enable_luit" >&6
11807
12439
if test "$enable_luit" = yes ; then
11808
12440
        cat >>confdefs.h <<\EOF
11814
12446
do
11815
12447
  # Extract the first word of "$ac_prog", so it can be a program name with args.
11816
12448
set dummy $ac_prog; ac_word=$2
11817
 
echo "$as_me:11817: checking for $ac_word" >&5
 
12449
echo "$as_me:12449: checking for $ac_word" >&5
11818
12450
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11819
12451
if test "${ac_cv_path_LUIT+set}" = set; then
11820
12452
  echo $ECHO_N "(cached) $ECHO_C" >&6
11831
12463
  test -z "$ac_dir" && ac_dir=.
11832
12464
  if $as_executable_p "$ac_dir/$ac_word"; then
11833
12465
   ac_cv_path_LUIT="$ac_dir/$ac_word"
11834
 
   echo "$as_me:11834: found $ac_dir/$ac_word" >&5
 
12466
   echo "$as_me:12466: found $ac_dir/$ac_word" >&5
11835
12467
   break
11836
12468
fi
11837
12469
done
11842
12474
LUIT=$ac_cv_path_LUIT
11843
12475
 
11844
12476
if test -n "$LUIT"; then
11845
 
  echo "$as_me:11845: result: $LUIT" >&5
 
12477
  echo "$as_me:12477: result: $LUIT" >&5
11846
12478
echo "${ECHO_T}$LUIT" >&6
11847
12479
else
11848
 
  echo "$as_me:11848: result: no" >&5
 
12480
  echo "$as_me:12480: result: no" >&5
11849
12481
echo "${ECHO_T}no" >&6
11850
12482
fi
11851
12483
 
11904
12536
 
11905
12537
if test -n "$cf_path_prog" ; then
11906
12538
 
11907
 
echo "${as_me-configure}:11907: testing defining path for ${cf_path_prog} ..." 1>&5
 
12539
echo "${as_me-configure}:12539: testing defining path for ${cf_path_prog} ..." 1>&5
11908
12540
 
11909
12541
        cat >>confdefs.h <<EOF
11910
12542
#define LUIT_PATH "$cf_path_prog"
11918
12550
 
11919
12551
fi
11920
12552
 
11921
 
echo "$as_me:11921: checking if you want wide-character support" >&5
 
12553
echo "$as_me:12553: checking if you want wide-character support" >&5
11922
12554
echo $ECHO_N "checking if you want wide-character support... $ECHO_C" >&6
11923
12555
 
11924
12556
# Check whether --enable-wide-chars or --disable-wide-chars was given.
11935
12567
  enable_wchar=$enable_luit
11936
12568
 
11937
12569
fi;
11938
 
echo "$as_me:11938: result: $enable_wchar" >&5
 
12570
echo "$as_me:12570: result: $enable_wchar" >&5
11939
12571
echo "${ECHO_T}$enable_wchar" >&6
11940
12572
 
11941
 
echo "$as_me:11941: checking if you want only 16-bit character support" >&5
 
12573
echo "$as_me:12573: checking if you want only 16-bit character support" >&5
11942
12574
echo $ECHO_N "checking if you want only 16-bit character support... $ECHO_C" >&6
11943
12575
 
11944
12576
# Check whether --enable-16bit-chars or --disable-16bit-chars was given.
11955
12587
  enable_16bit_chars=no
11956
12588
 
11957
12589
fi;
11958
 
echo "$as_me:11958: result: $enable_16bit_chars" >&5
 
12590
echo "$as_me:12590: result: $enable_16bit_chars" >&5
11959
12591
echo "${ECHO_T}$enable_16bit_chars" >&6
11960
12592
 
11961
12593
if test "$enable_16bit_chars" = yes ; then
11976
12608
        EXTRAOBJS="$EXTRAOBJS charclass.o precompose.o wcwidth.o"
11977
12609
fi
11978
12610
 
11979
 
echo "$as_me:11979: checking if you want dynamic-abbreviation support" >&5
 
12611
echo "$as_me:12611: checking if you want dynamic-abbreviation support" >&5
11980
12612
echo $ECHO_N "checking if you want dynamic-abbreviation support... $ECHO_C" >&6
11981
12613
 
11982
12614
# Check whether --enable-dabbrev or --disable-dabbrev was given.
11993
12625
  enable_dabbrev=no
11994
12626
 
11995
12627
fi;
11996
 
echo "$as_me:11996: result: $enable_dabbrev" >&5
 
12628
echo "$as_me:12628: result: $enable_dabbrev" >&5
11997
12629
echo "${ECHO_T}$enable_dabbrev" >&6
11998
12630
if test "$enable_dabbrev" = yes ; then
11999
12631
        cat >>confdefs.h <<\EOF
12002
12634
 
12003
12635
fi
12004
12636
 
12005
 
echo "$as_me:12005: checking if you want DECterm Locator support" >&5
 
12637
echo "$as_me:12637: checking if you want DECterm Locator support" >&5
12006
12638
echo $ECHO_N "checking if you want DECterm Locator support... $ECHO_C" >&6
12007
12639
 
12008
12640
# Check whether --enable-dec-locator or --disable-dec-locator was given.
12019
12651
  enable_dec_locator=no
12020
12652
 
12021
12653
fi;
12022
 
echo "$as_me:12022: result: $enable_dec_locator" >&5
 
12654
echo "$as_me:12654: result: $enable_dec_locator" >&5
12023
12655
echo "${ECHO_T}$enable_dec_locator" >&6
12024
12656
if test "$enable_dec_locator" = yes ; then
12025
12657
        cat >>confdefs.h <<\EOF
12028
12660
 
12029
12661
fi
12030
12662
 
12031
 
echo "$as_me:12031: checking if you want VT420 rectangle support" >&5
 
12663
echo "$as_me:12663: checking if you want VT420 rectangle support" >&5
12032
12664
echo $ECHO_N "checking if you want VT420 rectangle support... $ECHO_C" >&6
12033
12665
 
12034
12666
# Check whether --enable-rectangles or --disable-rectangles was given.
12045
12677
  enable_rectangles=yes
12046
12678
 
12047
12679
fi;
12048
 
echo "$as_me:12048: result: $enable_rectangles" >&5
 
12680
echo "$as_me:12680: result: $enable_rectangles" >&5
12049
12681
echo "${ECHO_T}$enable_rectangles" >&6
12050
12682
if test "$enable_rectangles" = yes ; then
12051
12683
        cat >>confdefs.h <<\EOF
12054
12686
 
12055
12687
fi
12056
12688
 
12057
 
echo "$as_me:12057: checking if you want -ziconbeep option" >&5
 
12689
echo "$as_me:12689: checking if you want -ziconbeep option" >&5
12058
12690
echo $ECHO_N "checking if you want -ziconbeep option... $ECHO_C" >&6
12059
12691
 
12060
12692
# Check whether --enable-ziconbeep or --disable-ziconbeep was given.
12071
12703
  enable_ziconbeep=yes
12072
12704
 
12073
12705
fi;
12074
 
echo "$as_me:12074: result: $enable_ziconbeep" >&5
 
12706
echo "$as_me:12706: result: $enable_ziconbeep" >&5
12075
12707
echo "${ECHO_T}$enable_ziconbeep" >&6
12076
12708
test "$enable_ziconbeep" = no && cat >>confdefs.h <<\EOF
12077
12709
#define OPT_ZICONBEEP 0
12079
12711
 
12080
12712
###############################################################################
12081
12713
 
12082
 
echo "$as_me:12082: checking if you want debugging traces" >&5
 
12714
echo "$as_me:12714: checking if you want debugging traces" >&5
12083
12715
echo $ECHO_N "checking if you want debugging traces... $ECHO_C" >&6
12084
12716
 
12085
12717
# Check whether --enable-trace or --disable-trace was given.
12096
12728
  enable_trace=no
12097
12729
 
12098
12730
fi;
12099
 
echo "$as_me:12099: result: $enable_trace" >&5
 
12731
echo "$as_me:12731: result: $enable_trace" >&5
12100
12732
echo "${ECHO_T}$enable_trace" >&6
12101
12733
if test "$enable_trace" = yes ; then
12102
12734
        cat >>confdefs.h <<\EOF
12107
12739
        EXTRAOBJS="$EXTRAOBJS trace.o"
12108
12740
fi
12109
12741
 
12110
 
echo "$as_me:12110: checking if you want to test memory leaks" >&5
 
12742
echo "$as_me:12742: checking if you want to test memory leaks" >&5
12111
12743
echo $ECHO_N "checking if you want to test memory leaks... $ECHO_C" >&6
12112
12744
 
12113
12745
# Check whether --enable-leaks or --disable-leaks was given.
12124
12756
  disable_leaks=no
12125
12757
 
12126
12758
fi;
12127
 
echo "$as_me:12127: result: $disable_leaks" >&5
 
12759
echo "$as_me:12759: result: $disable_leaks" >&5
12128
12760
echo "${ECHO_T}$disable_leaks" >&6
12129
12761
if test "$disable_leaks" = yes ; then
12130
12762
        cat >>confdefs.h <<\EOF
12133
12765
 
12134
12766
fi
12135
12767
 
12136
 
echo "$as_me:12136: checking if you want to see long compiling messages" >&5
 
12768
echo "$as_me:12768: checking if you want to see long compiling messages" >&5
12137
12769
echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6
12138
12770
 
12139
12771
# Check whether --enable-echo or --disable-echo was given.
12144
12776
 
12145
12777
    ECHO_LT='--silent'
12146
12778
    ECHO_LD='@echo linking $@;'
12147
 
    RULE_CC='   @echo compiling $<'
12148
 
    SHOW_CC='   @echo compiling $@'
 
12779
    RULE_CC='@echo compiling $<'
 
12780
    SHOW_CC='@echo compiling $@'
12149
12781
    ECHO_CC='@'
12150
12782
 
12151
12783
  else
12152
12784
 
12153
12785
    ECHO_LT=''
12154
12786
    ECHO_LD=''
12155
 
    RULE_CC='# compiling'
12156
 
    SHOW_CC='# compiling'
 
12787
    RULE_CC=''
 
12788
    SHOW_CC=''
12157
12789
    ECHO_CC=''
12158
12790
 
12159
12791
  fi
12162
12794
 
12163
12795
    ECHO_LT=''
12164
12796
    ECHO_LD=''
12165
 
    RULE_CC='# compiling'
12166
 
    SHOW_CC='# compiling'
 
12797
    RULE_CC=''
 
12798
    SHOW_CC=''
12167
12799
    ECHO_CC=''
12168
12800
 
12169
12801
fi;
12170
 
echo "$as_me:12170: result: $enableval" >&5
 
12802
echo "$as_me:12802: result: $enableval" >&5
12171
12803
echo "${ECHO_T}$enableval" >&6
12172
12804
 
12173
 
echo "$as_me:12173: checking if you want magic cookie emulation" >&5
 
12805
echo "$as_me:12805: checking if you want magic cookie emulation" >&5
12174
12806
echo $ECHO_N "checking if you want magic cookie emulation... $ECHO_C" >&6
12175
12807
 
12176
12808
# Check whether --enable-xmc-glitch or --disable-xmc-glitch was given.
12187
12819
  enable_xmc=no
12188
12820
 
12189
12821
fi;
12190
 
echo "$as_me:12190: result: $enable_xmc" >&5
 
12822
echo "$as_me:12822: result: $enable_xmc" >&5
12191
12823
echo "${ECHO_T}$enable_xmc" >&6
12192
12824
if test "$enable_xmc" = yes ; then
12193
12825
        cat >>confdefs.h <<\EOF
12201
12833
for ac_func in tigetstr
12202
12834
do
12203
12835
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12204
 
echo "$as_me:12204: checking for $ac_func" >&5
 
12836
echo "$as_me:12836: checking for $ac_func" >&5
12205
12837
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12206
12838
if eval "test \"\${$as_ac_var+set}\" = set"; then
12207
12839
  echo $ECHO_N "(cached) $ECHO_C" >&6
12208
12840
else
12209
12841
  cat >conftest.$ac_ext <<_ACEOF
12210
 
#line 12210 "configure"
 
12842
#line 12842 "configure"
12211
12843
#include "confdefs.h"
12212
12844
/* System header to define __stub macros and hopefully few prototypes,
12213
12845
    which can conflict with char $ac_func (); below.  */
12238
12870
}
12239
12871
_ACEOF
12240
12872
rm -f conftest.$ac_objext conftest$ac_exeext
12241
 
if { (eval echo "$as_me:12241: \"$ac_link\"") >&5
 
12873
if { (eval echo "$as_me:12873: \"$ac_link\"") >&5
12242
12874
  (eval $ac_link) 2>&5
12243
12875
  ac_status=$?
12244
 
  echo "$as_me:12244: \$? = $ac_status" >&5
 
12876
  echo "$as_me:12876: \$? = $ac_status" >&5
12245
12877
  (exit $ac_status); } &&
12246
12878
         { ac_try='test -s conftest$ac_exeext'
12247
 
  { (eval echo "$as_me:12247: \"$ac_try\"") >&5
 
12879
  { (eval echo "$as_me:12879: \"$ac_try\"") >&5
12248
12880
  (eval $ac_try) 2>&5
12249
12881
  ac_status=$?
12250
 
  echo "$as_me:12250: \$? = $ac_status" >&5
 
12882
  echo "$as_me:12882: \$? = $ac_status" >&5
12251
12883
  (exit $ac_status); }; }; then
12252
12884
  eval "$as_ac_var=yes"
12253
12885
else
12257
12889
fi
12258
12890
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12259
12891
fi
12260
 
echo "$as_me:12260: result: `eval echo '${'$as_ac_var'}'`" >&5
 
12892
echo "$as_me:12892: result: `eval echo '${'$as_ac_var'}'`" >&5
12261
12893
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12262
12894
if test `eval echo '${'$as_ac_var'}'` = yes; then
12263
12895
  cat >>confdefs.h <<EOF
12272
12904
for ac_func in use_extended_names
12273
12905
do
12274
12906
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12275
 
echo "$as_me:12275: checking for $ac_func" >&5
 
12907
echo "$as_me:12907: checking for $ac_func" >&5
12276
12908
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12277
12909
if eval "test \"\${$as_ac_var+set}\" = set"; then
12278
12910
  echo $ECHO_N "(cached) $ECHO_C" >&6
12279
12911
else
12280
12912
  cat >conftest.$ac_ext <<_ACEOF
12281
 
#line 12281 "configure"
 
12913
#line 12913 "configure"
12282
12914
#include "confdefs.h"
12283
12915
/* System header to define __stub macros and hopefully few prototypes,
12284
12916
    which can conflict with char $ac_func (); below.  */
12309
12941
}
12310
12942
_ACEOF
12311
12943
rm -f conftest.$ac_objext conftest$ac_exeext
12312
 
if { (eval echo "$as_me:12312: \"$ac_link\"") >&5
 
12944
if { (eval echo "$as_me:12944: \"$ac_link\"") >&5
12313
12945
  (eval $ac_link) 2>&5
12314
12946
  ac_status=$?
12315
 
  echo "$as_me:12315: \$? = $ac_status" >&5
 
12947
  echo "$as_me:12947: \$? = $ac_status" >&5
12316
12948
  (exit $ac_status); } &&
12317
12949
         { ac_try='test -s conftest$ac_exeext'
12318
 
  { (eval echo "$as_me:12318: \"$ac_try\"") >&5
 
12950
  { (eval echo "$as_me:12950: \"$ac_try\"") >&5
12319
12951
  (eval $ac_try) 2>&5
12320
12952
  ac_status=$?
12321
 
  echo "$as_me:12321: \$? = $ac_status" >&5
 
12953
  echo "$as_me:12953: \$? = $ac_status" >&5
12322
12954
  (exit $ac_status); }; }; then
12323
12955
  eval "$as_ac_var=yes"
12324
12956
else
12328
12960
fi
12329
12961
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12330
12962
fi
12331
 
echo "$as_me:12331: result: `eval echo '${'$as_ac_var'}'`" >&5
 
12963
echo "$as_me:12963: result: `eval echo '${'$as_ac_var'}'`" >&5
12332
12964
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12333
12965
if test `eval echo '${'$as_ac_var'}'` = yes; then
12334
12966
  cat >>confdefs.h <<EOF
12341
12973
fi
12342
12974
 
12343
12975
if test -n "$GCC" ; then
12344
 
echo "$as_me:12344: checking if you want to turn on gcc warnings" >&5
 
12976
echo "$as_me:12976: checking if you want to turn on gcc warnings" >&5
12345
12977
echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6
12346
12978
 
12347
12979
# Check whether --enable-warnings or --disable-warnings was given.
12358
12990
  with_warnings=no
12359
12991
 
12360
12992
fi;
12361
 
echo "$as_me:12361: result: $with_warnings" >&5
 
12993
echo "$as_me:12993: result: $with_warnings" >&5
12362
12994
echo "${ECHO_T}$with_warnings" >&6
12363
12995
if test "$with_warnings" = yes
12364
12996
then
12381
13013
EOF
12382
13014
if test "$GCC" = yes
12383
13015
then
12384
 
        { echo "$as_me:12384: checking for $CC __attribute__ directives..." >&5
 
13016
        { echo "$as_me:13016: checking for $CC __attribute__ directives..." >&5
12385
13017
echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
12386
13018
cat > conftest.$ac_ext <<EOF
12387
 
#line 12387 "${as_me-configure}"
 
13019
#line 13019 "${as_me-configure}"
12388
13020
#include "confdefs.h"
12389
13021
#include "conftest.h"
12390
13022
#include "conftest.i"
12403
13035
extern void foo(void) GCC_NORETURN;
12404
13036
int main(int argc GCC_UNUSED, char *argv[] GCC_UNUSED) { return 0; }
12405
13037
EOF
 
13038
        cf_printf_attribute=no
 
13039
        cf_scanf_attribute=no
12406
13040
        for cf_attribute in scanf printf unused noreturn
12407
13041
        do
12408
13042
 
12410
13044
 
12411
13045
                cf_directive="__attribute__(($cf_attribute))"
12412
13046
                echo "checking for $CC $cf_directive" 1>&5
12413
 
                case $cf_attribute in
12414
 
                scanf|printf)
12415
 
                cat >conftest.h <<EOF
12416
 
#define GCC_$cf_ATTRIBUTE 1
12417
 
EOF
12418
 
                        ;;
12419
 
                *)
12420
 
                cat >conftest.h <<EOF
 
13047
 
 
13048
                case $cf_attribute in #(vi
 
13049
                printf) #(vi
 
13050
                        cf_printf_attribute=yes
 
13051
                        cat >conftest.h <<EOF
 
13052
#define GCC_$cf_ATTRIBUTE 1
 
13053
EOF
 
13054
                        ;;
 
13055
                scanf) #(vi
 
13056
                        cf_scanf_attribute=yes
 
13057
                        cat >conftest.h <<EOF
 
13058
#define GCC_$cf_ATTRIBUTE 1
 
13059
EOF
 
13060
                        ;;
 
13061
                *) #(vi
 
13062
                        cat >conftest.h <<EOF
12421
13063
#define GCC_$cf_ATTRIBUTE $cf_directive
12422
13064
EOF
12423
13065
                        ;;
12424
13066
                esac
12425
 
                if { (eval echo "$as_me:12425: \"$ac_compile\"") >&5
 
13067
 
 
13068
                if { (eval echo "$as_me:13068: \"$ac_compile\"") >&5
12426
13069
  (eval $ac_compile) 2>&5
12427
13070
  ac_status=$?
12428
 
  echo "$as_me:12428: \$? = $ac_status" >&5
 
13071
  echo "$as_me:13071: \$? = $ac_status" >&5
12429
13072
  (exit $ac_status); }; then
12430
 
                        test -n "$verbose" && echo "$as_me:12430: result: ... $cf_attribute" >&5
 
13073
                        test -n "$verbose" && echo "$as_me:13073: result: ... $cf_attribute" >&5
12431
13074
echo "${ECHO_T}... $cf_attribute" >&6
12432
13075
                        cat conftest.h >>confdefs.h
 
13076
                        case $cf_attribute in #(vi
 
13077
                        printf) #(vi
 
13078
                                if test "$cf_printf_attribute" = no ; then
 
13079
                                        cat >>confdefs.h <<EOF
 
13080
#define GCC_PRINTFLIKE(fmt,var) /* nothing */
 
13081
EOF
 
13082
                                else
 
13083
                                        cat >>confdefs.h <<EOF
 
13084
#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
 
13085
EOF
 
13086
                                fi
 
13087
                                ;;
 
13088
                        scanf) #(vi
 
13089
                                if test "$cf_scanf_attribute" = no ; then
 
13090
                                        cat >>confdefs.h <<EOF
 
13091
#define GCC_SCANFLIKE(fmt,var) /* nothing */
 
13092
EOF
 
13093
                                else
 
13094
                                        cat >>confdefs.h <<EOF
 
13095
#define GCC_SCANFLIKE(fmt,var)  __attribute__((format(scanf,fmt,var)))
 
13096
EOF
 
13097
                                fi
 
13098
                                ;;
 
13099
                        esac
12433
13100
                fi
12434
13101
        done
12435
13102
else
12440
13107
 
12441
13108
GCC_VERSION=none
12442
13109
if test "$GCC" = yes ; then
12443
 
        echo "$as_me:12443: checking version of $CC" >&5
 
13110
        echo "$as_me:13110: checking version of $CC" >&5
12444
13111
echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
12445
13112
        GCC_VERSION="`${CC} --version| sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
12446
13113
        test -z "$GCC_VERSION" && GCC_VERSION=unknown
12447
 
        echo "$as_me:12447: result: $GCC_VERSION" >&5
 
13114
        echo "$as_me:13114: result: $GCC_VERSION" >&5
12448
13115
echo "${ECHO_T}$GCC_VERSION" >&6
12449
13116
fi
12450
13117
 
12453
13120
if test "$GCC" = yes ; then
12454
13121
        case $host_os in
12455
13122
        linux*|gnu*)
12456
 
                echo "$as_me:12456: checking if this is really Intel C compiler" >&5
 
13123
                echo "$as_me:13123: checking if this is really Intel C compiler" >&5
12457
13124
echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
12458
13125
                cf_save_CFLAGS="$CFLAGS"
12459
13126
                CFLAGS="$CFLAGS -no-gcc"
12460
13127
                cat >conftest.$ac_ext <<_ACEOF
12461
 
#line 12461 "configure"
 
13128
#line 13128 "configure"
12462
13129
#include "confdefs.h"
12463
13130
 
12464
13131
int
12475
13142
}
12476
13143
_ACEOF
12477
13144
rm -f conftest.$ac_objext
12478
 
if { (eval echo "$as_me:12478: \"$ac_compile\"") >&5
 
13145
if { (eval echo "$as_me:13145: \"$ac_compile\"") >&5
12479
13146
  (eval $ac_compile) 2>&5
12480
13147
  ac_status=$?
12481
 
  echo "$as_me:12481: \$? = $ac_status" >&5
 
13148
  echo "$as_me:13148: \$? = $ac_status" >&5
12482
13149
  (exit $ac_status); } &&
12483
13150
         { ac_try='test -s conftest.$ac_objext'
12484
 
  { (eval echo "$as_me:12484: \"$ac_try\"") >&5
 
13151
  { (eval echo "$as_me:13151: \"$ac_try\"") >&5
12485
13152
  (eval $ac_try) 2>&5
12486
13153
  ac_status=$?
12487
 
  echo "$as_me:12487: \$? = $ac_status" >&5
 
13154
  echo "$as_me:13154: \$? = $ac_status" >&5
12488
13155
  (exit $ac_status); }; }; then
12489
13156
  INTEL_COMPILER=yes
12490
13157
cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"
12495
13162
fi
12496
13163
rm -f conftest.$ac_objext conftest.$ac_ext
12497
13164
                CFLAGS="$cf_save_CFLAGS"
12498
 
                echo "$as_me:12498: result: $INTEL_COMPILER" >&5
 
13165
                echo "$as_me:13165: result: $INTEL_COMPILER" >&5
12499
13166
echo "${ECHO_T}$INTEL_COMPILER" >&6
12500
13167
                ;;
12501
13168
        esac
12502
13169
fi
12503
13170
 
12504
13171
cat > conftest.$ac_ext <<EOF
12505
 
#line 12505 "${as_me-configure}"
 
13172
#line 13172 "${as_me-configure}"
12506
13173
int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
12507
13174
EOF
12508
13175
 
12519
13186
# remark #981: operands are evaluated in unspecified order
12520
13187
# warning #279: controlling expression is constant
12521
13188
 
12522
 
        { echo "$as_me:12522: checking for $CC warning options..." >&5
 
13189
        { echo "$as_me:13189: checking for $CC warning options..." >&5
12523
13190
echo "$as_me: checking for $CC warning options..." >&6;}
12524
13191
        cf_save_CFLAGS="$CFLAGS"
12525
13192
        EXTRA_CFLAGS="-Wall"
12535
13202
                wd981
12536
13203
        do
12537
13204
                CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
12538
 
                if { (eval echo "$as_me:12538: \"$ac_compile\"") >&5
 
13205
                if { (eval echo "$as_me:13205: \"$ac_compile\"") >&5
12539
13206
  (eval $ac_compile) 2>&5
12540
13207
  ac_status=$?
12541
 
  echo "$as_me:12541: \$? = $ac_status" >&5
 
13208
  echo "$as_me:13208: \$? = $ac_status" >&5
12542
13209
  (exit $ac_status); }; then
12543
 
                        test -n "$verbose" && echo "$as_me:12543: result: ... -$cf_opt" >&5
 
13210
                        test -n "$verbose" && echo "$as_me:13210: result: ... -$cf_opt" >&5
12544
13211
echo "${ECHO_T}... -$cf_opt" >&6
12545
13212
                        EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
12546
13213
                fi
12549
13216
 
12550
13217
elif test "$GCC" = yes
12551
13218
then
12552
 
        { echo "$as_me:12552: checking for $CC warning options..." >&5
 
13219
        { echo "$as_me:13219: checking for $CC warning options..." >&5
12553
13220
echo "$as_me: checking for $CC warning options..." >&6;}
12554
13221
        cf_save_CFLAGS="$CFLAGS"
12555
13222
        EXTRA_CFLAGS="-W -Wall"
12569
13236
                Wundef $cf_warn_CONST Wdeclaration-after-statement Wextra Wno-unknown-pragmas Wswitch-enum
12570
13237
        do
12571
13238
                CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
12572
 
                if { (eval echo "$as_me:12572: \"$ac_compile\"") >&5
 
13239
                if { (eval echo "$as_me:13239: \"$ac_compile\"") >&5
12573
13240
  (eval $ac_compile) 2>&5
12574
13241
  ac_status=$?
12575
 
  echo "$as_me:12575: \$? = $ac_status" >&5
 
13242
  echo "$as_me:13242: \$? = $ac_status" >&5
12576
13243
  (exit $ac_status); }; then
12577
 
                        test -n "$verbose" && echo "$as_me:12577: result: ... -$cf_opt" >&5
 
13244
                        test -n "$verbose" && echo "$as_me:13244: result: ... -$cf_opt" >&5
12578
13245
echo "${ECHO_T}... -$cf_opt" >&6
12579
13246
                        case $cf_opt in #(vi
12580
13247
                        Wcast-qual) #(vi
12585
13252
                                [34].*)
12586
13253
                                        test -n "$verbose" && echo "    feature is broken in gcc $GCC_VERSION" 1>&6
12587
13254
 
12588
 
echo "${as_me-configure}:12588: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
 
13255
echo "${as_me-configure}:13255: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
12589
13256
 
12590
13257
                                        continue;;
12591
13258
                                esac
12717
13384
: ${CONFIG_STATUS=./config.status}
12718
13385
ac_clean_files_save=$ac_clean_files
12719
13386
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12720
 
{ echo "$as_me:12720: creating $CONFIG_STATUS" >&5
 
13387
{ echo "$as_me:13387: creating $CONFIG_STATUS" >&5
12721
13388
echo "$as_me: creating $CONFIG_STATUS" >&6;}
12722
13389
cat >$CONFIG_STATUS <<_ACEOF
12723
13390
#! $SHELL
12890
13557
    echo "$ac_cs_version"; exit 0 ;;
12891
13558
  --he | --h)
12892
13559
    # Conflict between --help and --header
12893
 
    { { echo "$as_me:12893: error: ambiguous option: $1
 
13560
    { { echo "$as_me:13560: error: ambiguous option: $1
12894
13561
Try \`$0 --help' for more information." >&5
12895
13562
echo "$as_me: error: ambiguous option: $1
12896
13563
Try \`$0 --help' for more information." >&2;}
12909
13576
    ac_need_defaults=false;;
12910
13577
 
12911
13578
  # This is an error.
12912
 
  -*) { { echo "$as_me:12912: error: unrecognized option: $1
 
13579
  -*) { { echo "$as_me:13579: error: unrecognized option: $1
12913
13580
Try \`$0 --help' for more information." >&5
12914
13581
echo "$as_me: error: unrecognized option: $1
12915
13582
Try \`$0 --help' for more information." >&2;}
12946
13613
  # Handling of arguments.
12947
13614
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12948
13615
  "xtermcfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS xtermcfg.h:xtermcfg.hin" ;;
12949
 
  *) { { echo "$as_me:12949: error: invalid argument: $ac_config_target" >&5
 
13616
  *) { { echo "$as_me:13616: error: invalid argument: $ac_config_target" >&5
12950
13617
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12951
13618
   { (exit 1); exit 1; }; };;
12952
13619
  esac
13067
13734
s,@IMAKE@,$IMAKE,;t t
13068
13735
s,@IMAKE_CFLAGS@,$IMAKE_CFLAGS,;t t
13069
13736
s,@IMAKE_LOADFLAGS@,$IMAKE_LOADFLAGS,;t t
 
13737
s,@cf_tic_prog@,$cf_tic_prog,;t t
 
13738
s,@no_ticprog@,$no_ticprog,;t t
13070
13739
s,@TERMINFO_DIR@,$TERMINFO_DIR,;t t
13071
13740
s,@SET_TERMINFO@,$SET_TERMINFO,;t t
13072
13741
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
13202
13871
  esac
13203
13872
 
13204
13873
  if test x"$ac_file" != x-; then
13205
 
    { echo "$as_me:13205: creating $ac_file" >&5
 
13874
    { echo "$as_me:13874: creating $ac_file" >&5
13206
13875
echo "$as_me: creating $ac_file" >&6;}
13207
13876
    rm -f "$ac_file"
13208
13877
  fi
13220
13889
      -) echo $tmp/stdin ;;
13221
13890
      [\\/$]*)
13222
13891
         # Absolute (can't be DOS-style, as IFS=:)
13223
 
         test -f "$f" || { { echo "$as_me:13223: error: cannot find input file: $f" >&5
 
13892
         test -f "$f" || { { echo "$as_me:13892: error: cannot find input file: $f" >&5
13224
13893
echo "$as_me: error: cannot find input file: $f" >&2;}
13225
13894
   { (exit 1); exit 1; }; }
13226
13895
         echo $f;;
13233
13902
           echo $srcdir/$f
13234
13903
         else
13235
13904
           # /dev/null tree
13236
 
           { { echo "$as_me:13236: error: cannot find input file: $f" >&5
 
13905
           { { echo "$as_me:13905: error: cannot find input file: $f" >&5
13237
13906
echo "$as_me: error: cannot find input file: $f" >&2;}
13238
13907
   { (exit 1); exit 1; }; }
13239
13908
         fi;;
13299
13968
  * )   ac_file_in=$ac_file.in ;;
13300
13969
  esac
13301
13970
 
13302
 
  test x"$ac_file" != x- && { echo "$as_me:13302: creating $ac_file" >&5
 
13971
  test x"$ac_file" != x- && { echo "$as_me:13971: creating $ac_file" >&5
13303
13972
echo "$as_me: creating $ac_file" >&6;}
13304
13973
 
13305
13974
  # First look for the input files in the build tree, otherwise in the
13310
13979
      -) echo $tmp/stdin ;;
13311
13980
      [\\/$]*)
13312
13981
         # Absolute (can't be DOS-style, as IFS=:)
13313
 
         test -f "$f" || { { echo "$as_me:13313: error: cannot find input file: $f" >&5
 
13982
         test -f "$f" || { { echo "$as_me:13982: error: cannot find input file: $f" >&5
13314
13983
echo "$as_me: error: cannot find input file: $f" >&2;}
13315
13984
   { (exit 1); exit 1; }; }
13316
13985
         echo $f;;
13323
13992
           echo $srcdir/$f
13324
13993
         else
13325
13994
           # /dev/null tree
13326
 
           { { echo "$as_me:13326: error: cannot find input file: $f" >&5
 
13995
           { { echo "$as_me:13995: error: cannot find input file: $f" >&5
13327
13996
echo "$as_me: error: cannot find input file: $f" >&2;}
13328
13997
   { (exit 1); exit 1; }; }
13329
13998
         fi;;
13441
14110
  rm -f $tmp/in
13442
14111
  if test x"$ac_file" != x-; then
13443
14112
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13444
 
      { echo "$as_me:13444: $ac_file is unchanged" >&5
 
14113
      { echo "$as_me:14113: $ac_file is unchanged" >&5
13445
14114
echo "$as_me: $ac_file is unchanged" >&6;}
13446
14115
    else
13447
14116
      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \