~cmiller/ubuntu/trusty/icewm/translations-cause-crash-lp447883

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Eduard Bloch
  • Date: 2009-01-26 00:18:14 UTC
  • mfrom: (1.3.1 upstream) (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090126001814-ea5ceoy4uroruz72
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61.
 
3
# Generated by GNU Autoconf 2.63.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
9
## --------------------- ##
15
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
16
  emulate sh
17
17
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
19
  # is contrary to our usage.  Disable this feature.
20
20
  alias -g '${1+"$@"}'='"$@"'
21
21
  setopt NO_GLOB_SUBST
37
37
as_cr_digits='0123456789'
38
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
39
 
 
40
as_nl='
 
41
'
 
42
export as_nl
 
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
51
79
fi
52
80
 
53
81
# Support unset when possible.
63
91
# there to prevent editors from complaining about space-tab.
64
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
93
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
94
IFS=" ""        $as_nl"
69
95
 
70
96
# Find who we are.  Look in the path if we contain no directory separator.
87
113
  as_myself=$0
88
114
fi
89
115
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
117
  { (exit 1); exit 1; }
92
118
fi
93
119
 
100
126
PS4='+ '
101
127
 
102
128
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
114
133
 
115
134
# Required to use basename.
116
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
132
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
152
         X"$0" : 'X\(//\)$' \| \
134
153
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
 
154
$as_echo X/"$0" |
136
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
156
            s//\1/
138
157
            q
158
177
  as_have_required=no
159
178
fi
160
179
 
161
 
  if test $as_have_required = yes &&     (eval ":
 
180
  if test $as_have_required = yes &&     (eval ":
162
181
(as_func_return () {
163
182
  (exit \$1)
164
183
}
240
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
260
  emulate sh
242
261
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
244
263
  # is contrary to our usage.  Disable this feature.
245
264
  alias -g '${1+"$@"}'='"$@"'
246
265
  setopt NO_GLOB_SUBST
261
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
281
  emulate sh
263
282
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
284
  # is contrary to our usage.  Disable this feature.
266
285
  alias -g '${1+"$@"}'='"$@"'
267
286
  setopt NO_GLOB_SUBST
341
360
 
342
361
      if test "x$CONFIG_SHELL" != x; then
343
362
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
363
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
364
        done
 
365
        export CONFIG_SHELL
 
366
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
367
fi
349
368
 
350
369
 
413
432
 
414
433
test \$exitcode = 0") || {
415
434
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
 
435
  echo Please tell bug-autoconf@gnu.org about your system,
 
436
  echo including any error possibly output before this message.
 
437
  echo This can help us improve future autoconf versions.
 
438
  echo Configuration will now proceed without shell functions.
419
439
}
420
440
 
421
441
 
451
471
      s/-\n.*//
452
472
    ' >$as_me.lineno &&
453
473
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
475
   { (exit 1); exit 1; }; }
456
476
 
457
477
  # Don't try to exec as it changes $[0], causing all sort of problems
479
499
*)
480
500
  ECHO_N='-n';;
481
501
esac
482
 
 
483
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
504
  as_expr=expr
492
511
  rm -f conf$$.dir/conf$$.file
493
512
else
494
513
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
514
  mkdir conf$$.dir 2>/dev/null
496
515
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
516
if (echo >conf$$.file) 2>/dev/null; then
 
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
518
    as_ln_s='ln -s'
 
519
    # ... but there are two gotchas:
 
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
522
    # In both cases, we have to default to `cp -p'.
 
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
524
      as_ln_s='cp -p'
 
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
526
    as_ln_s=ln
 
527
  else
505
528
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
529
  fi
508
530
else
509
531
  as_ln_s='cp -p'
510
532
fi
529
551
  as_test_x='
530
552
    eval sh -c '\''
531
553
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
554
        test -d "$1/.";
533
555
      else
534
556
        case $1 in
535
 
        -*)set "./$1";;
 
557
        -*)set "./$1";;
536
558
        esac;
537
559
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
560
        ???[sx]*):;;*)false;;esac;fi
613
635
# include <unistd.h>
614
636
#endif"
615
637
 
616
 
ac_subst_vars='SHELL
 
638
ac_subst_vars='LTLIBOBJS
 
639
LIBOBJS
 
640
INSTALLMAN
 
641
INSTALLETC
 
642
INSTALLLIB
 
643
INSTALLBIN
 
644
INSTALLDIR
 
645
INSTALL
 
646
BINFILES
 
647
TESTCASES
 
648
APPLICATIONS
 
649
TARGETS_INSTALL
 
650
TARGETS
 
651
TESTBINS
 
652
TESTOBJS
 
653
BASEBINS
 
654
BASEOBJS
 
655
GWMDIR
 
656
MANDIR
 
657
DOCDIR
 
658
KDEDIR
 
659
LOCDIR
 
660
CFGDIR
 
661
LIBDIR
 
662
BINDIR
 
663
PREFIX
 
664
GNOME2_LIBS
 
665
GNOME1_LIBS
 
666
AUDIO_LIBS
 
667
IMAGE_LIBS
 
668
CORE_LIBS
 
669
GNOME2_CFLAGS
 
670
GNOME1_CFLAGS
 
671
AUDIO_CFLAGS
 
672
IMAGE_CFLAGS
 
673
CORE_CFLAGS
 
674
GCCDEP
 
675
DEBUG
 
676
HOSTCPU
 
677
HOSTOS
 
678
VERSION
 
679
PACKAGE
 
680
CONFIG_KDE_MENU_DIR
 
681
CONFIG_GNOME2_MENU_DIR
 
682
CONFIG_GNOME1_MENU_DIR
 
683
GNOME_VER
 
684
GNOME1_CONFIG
 
685
MKFONTDIR
 
686
IMLIB_CONFIG
 
687
ESD_CONFIG
 
688
PKG_CONFIG
 
689
XFT_CONFIG
 
690
NLS_MOFILES
 
691
NLS_POXFILES
 
692
NLS_POFILES
 
693
NLS_SOURCES
 
694
MSGFMT
 
695
MSGMERGE
 
696
XGETTEXT
 
697
X_EXTRA_LIBS
 
698
X_LIBS
 
699
X_PRE_LIBS
 
700
X_CFLAGS
 
701
XMKMF
 
702
EGREP
 
703
GREP
 
704
CXXCPP
 
705
INSTALL_DATA
 
706
INSTALL_SCRIPT
 
707
INSTALL_PROGRAM
 
708
HOSTCXX_LINK
 
709
HOSTCXX
 
710
CXX_LINK
 
711
OBJEXT
 
712
EXEEXT
 
713
ac_ct_CXX
 
714
CPPFLAGS
 
715
LDFLAGS
 
716
CXXFLAGS
 
717
CXX
 
718
target_os
 
719
target_vendor
 
720
target_cpu
 
721
target
 
722
host_os
 
723
host_vendor
 
724
host_cpu
 
725
host
 
726
build_os
 
727
build_vendor
 
728
build_cpu
 
729
build
 
730
target_alias
 
731
host_alias
 
732
build_alias
 
733
LIBS
 
734
ECHO_T
 
735
ECHO_N
 
736
ECHO_C
 
737
DEFS
 
738
mandir
 
739
localedir
 
740
libdir
 
741
psdir
 
742
pdfdir
 
743
dvidir
 
744
htmldir
 
745
infodir
 
746
docdir
 
747
oldincludedir
 
748
includedir
 
749
localstatedir
 
750
sharedstatedir
 
751
sysconfdir
 
752
datadir
 
753
datarootdir
 
754
libexecdir
 
755
sbindir
 
756
bindir
 
757
program_transform_name
 
758
prefix
 
759
exec_prefix
 
760
PACKAGE_BUGREPORT
 
761
PACKAGE_STRING
 
762
PACKAGE_VERSION
 
763
PACKAGE_TARNAME
 
764
PACKAGE_NAME
617
765
PATH_SEPARATOR
618
 
PACKAGE_NAME
619
 
PACKAGE_TARNAME
620
 
PACKAGE_VERSION
621
 
PACKAGE_STRING
622
 
PACKAGE_BUGREPORT
623
 
exec_prefix
624
 
prefix
625
 
program_transform_name
626
 
bindir
627
 
sbindir
628
 
libexecdir
629
 
datarootdir
630
 
datadir
631
 
sysconfdir
632
 
sharedstatedir
633
 
localstatedir
634
 
includedir
635
 
oldincludedir
636
 
docdir
637
 
infodir
638
 
htmldir
639
 
dvidir
640
 
pdfdir
641
 
psdir
642
 
libdir
643
 
localedir
644
 
mandir
645
 
DEFS
646
 
ECHO_C
647
 
ECHO_N
648
 
ECHO_T
649
 
LIBS
650
 
build_alias
651
 
host_alias
652
 
target_alias
653
 
build
654
 
build_cpu
655
 
build_vendor
656
 
build_os
657
 
host
658
 
host_cpu
659
 
host_vendor
660
 
host_os
661
 
target
662
 
target_cpu
663
 
target_vendor
664
 
target_os
665
 
CXX
666
 
CXXFLAGS
667
 
LDFLAGS
668
 
CPPFLAGS
669
 
ac_ct_CXX
670
 
EXEEXT
671
 
OBJEXT
672
 
CXX_LINK
673
 
HOSTCXX
674
 
HOSTCXX_LINK
675
 
INSTALL_PROGRAM
676
 
INSTALL_SCRIPT
677
 
INSTALL_DATA
678
 
CXXCPP
679
 
GREP
680
 
EGREP
681
 
XMKMF
682
 
X_CFLAGS
683
 
X_PRE_LIBS
684
 
X_LIBS
685
 
X_EXTRA_LIBS
686
 
XGETTEXT
687
 
MSGMERGE
688
 
MSGFMT
689
 
NLS_SOURCES
690
 
NLS_POFILES
691
 
NLS_POXFILES
692
 
NLS_MOFILES
693
 
XFT_CONFIG
694
 
PKG_CONFIG
695
 
ESD_CONFIG
696
 
IMLIB_CONFIG
697
 
MKFONTDIR
698
 
GNOME1_CONFIG
699
 
GNOME_VER
700
 
CONFIG_GNOME1_MENU_DIR
701
 
CONFIG_GNOME2_MENU_DIR
702
 
CONFIG_KDE_MENU_DIR
703
 
PACKAGE
704
 
VERSION
705
 
HOSTOS
706
 
HOSTCPU
707
 
DEBUG
708
 
GCCDEP
709
 
CORE_CFLAGS
710
 
IMAGE_CFLAGS
711
 
AUDIO_CFLAGS
712
 
GNOME1_CFLAGS
713
 
GNOME2_CFLAGS
714
 
CORE_LIBS
715
 
IMAGE_LIBS
716
 
AUDIO_LIBS
717
 
GNOME1_LIBS
718
 
GNOME2_LIBS
719
 
PREFIX
720
 
BINDIR
721
 
LIBDIR
722
 
CFGDIR
723
 
LOCDIR
724
 
KDEDIR
725
 
DOCDIR
726
 
MANDIR
727
 
GWMDIR
728
 
BASEOBJS
729
 
BASEBINS
730
 
TESTOBJS
731
 
TESTBINS
732
 
TARGETS
733
 
TARGETS_INSTALL
734
 
APPLICATIONS
735
 
TESTCASES
736
 
BINFILES
737
 
INSTALL
738
 
INSTALLDIR
739
 
INSTALLBIN
740
 
INSTALLLIB
741
 
INSTALLETC
742
 
INSTALLMAN
743
 
LIBOBJS
744
 
LTLIBOBJS'
 
766
SHELL'
745
767
ac_subst_files=''
 
768
ac_user_opts='
 
769
enable_option_checking
 
770
with_x
 
771
enable_depend
 
772
enable_debug
 
773
enable_i18n
 
774
with_unicode_set
 
775
enable_nls
 
776
enable_sm
 
777
enable_shape
 
778
enable_shaped_decorations
 
779
enable_gradients
 
780
enable_antialiasing
 
781
enable_xrandr
 
782
enable_corefonts
 
783
enable_xfreetype
 
784
enable_guievents
 
785
with_icesound
 
786
with_esd_config
 
787
enable_xinerama
 
788
enable_x86_asm
 
789
enable_prefs
 
790
enable_keyconf
 
791
enable_menuconf
 
792
enable_winoptions
 
793
enable_taskbar
 
794
enable_winmenu
 
795
enable_lite
 
796
with_gnome_root_property
 
797
with_imlib
 
798
with_xpm
 
799
with_mkfontdir
 
800
with_kdedatadir
 
801
with_libdir
 
802
with_cfgdir
 
803
with_docdir
 
804
enable_menus_gnome1
 
805
enable_menus_gnome2
 
806
'
746
807
      ac_precious_vars='build_alias
747
808
host_alias
748
809
target_alias
759
820
# Initialize some variables set by options.
760
821
ac_init_help=
761
822
ac_init_version=false
 
823
ac_unrecognized_opts=
 
824
ac_unrecognized_sep=
762
825
# The variables have the same names as the options, with
763
826
# dashes changed to underlines.
764
827
cache_file=/dev/null
857
920
    datarootdir=$ac_optarg ;;
858
921
 
859
922
  -disable-* | --disable-*)
860
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
923
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861
924
    # Reject names that are not valid shell variable names.
862
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
863
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
925
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
926
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
864
927
   { (exit 1); exit 1; }; }
865
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
866
 
    eval enable_$ac_feature=no ;;
 
928
    ac_useropt_orig=$ac_useropt
 
929
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
930
    case $ac_user_opts in
 
931
      *"
 
932
"enable_$ac_useropt"
 
933
"*) ;;
 
934
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
935
         ac_unrecognized_sep=', ';;
 
936
    esac
 
937
    eval enable_$ac_useropt=no ;;
867
938
 
868
939
  -docdir | --docdir | --docdi | --doc | --do)
869
940
    ac_prev=docdir ;;
876
947
    dvidir=$ac_optarg ;;
877
948
 
878
949
  -enable-* | --enable-*)
879
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
950
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880
951
    # Reject names that are not valid shell variable names.
881
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
882
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
952
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
953
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
883
954
   { (exit 1); exit 1; }; }
884
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
885
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
955
    ac_useropt_orig=$ac_useropt
 
956
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
957
    case $ac_user_opts in
 
958
      *"
 
959
"enable_$ac_useropt"
 
960
"*) ;;
 
961
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
962
         ac_unrecognized_sep=', ';;
 
963
    esac
 
964
    eval enable_$ac_useropt=\$ac_optarg ;;
886
965
 
887
966
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
888
967
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1073
1152
    ac_init_version=: ;;
1074
1153
 
1075
1154
  -with-* | --with-*)
1076
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1155
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1077
1156
    # Reject names that are not valid shell variable names.
1078
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1079
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1157
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1158
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1080
1159
   { (exit 1); exit 1; }; }
1081
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1082
 
    eval with_$ac_package=\$ac_optarg ;;
 
1160
    ac_useropt_orig=$ac_useropt
 
1161
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1162
    case $ac_user_opts in
 
1163
      *"
 
1164
"with_$ac_useropt"
 
1165
"*) ;;
 
1166
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1167
         ac_unrecognized_sep=', ';;
 
1168
    esac
 
1169
    eval with_$ac_useropt=\$ac_optarg ;;
1083
1170
 
1084
1171
  -without-* | --without-*)
1085
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1172
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1086
1173
    # Reject names that are not valid shell variable names.
1087
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1088
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1174
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1175
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1089
1176
   { (exit 1); exit 1; }; }
1090
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1091
 
    eval with_$ac_package=no ;;
 
1177
    ac_useropt_orig=$ac_useropt
 
1178
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1179
    case $ac_user_opts in
 
1180
      *"
 
1181
"with_$ac_useropt"
 
1182
"*) ;;
 
1183
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1184
         ac_unrecognized_sep=', ';;
 
1185
    esac
 
1186
    eval with_$ac_useropt=no ;;
1092
1187
 
1093
1188
  --x)
1094
1189
    # Obsolete; use --with-x.
1108
1203
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109
1204
    x_libraries=$ac_optarg ;;
1110
1205
 
1111
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1206
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1112
1207
Try \`$0 --help' for more information." >&2
1113
1208
   { (exit 1); exit 1; }; }
1114
1209
    ;;
1117
1212
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1118
1213
    # Reject names that are not valid shell variable names.
1119
1214
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1120
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1215
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1121
1216
   { (exit 1); exit 1; }; }
1122
1217
    eval $ac_envvar=\$ac_optarg
1123
1218
    export $ac_envvar ;;
1124
1219
 
1125
1220
  *)
1126
1221
    # FIXME: should be removed in autoconf 3.0.
1127
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1222
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1128
1223
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1224
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1130
1225
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1131
1226
    ;;
1132
1227
 
1135
1230
 
1136
1231
if test -n "$ac_prev"; then
1137
1232
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1233
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1139
1234
   { (exit 1); exit 1; }; }
1140
1235
fi
1141
1236
 
1142
 
# Be sure to have absolute directory names.
 
1237
if test -n "$ac_unrecognized_opts"; then
 
1238
  case $enable_option_checking in
 
1239
    no) ;;
 
1240
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1241
   { (exit 1); exit 1; }; } ;;
 
1242
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1243
  esac
 
1244
fi
 
1245
 
 
1246
# Check all directory arguments for consistency.
1143
1247
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144
1248
                datadir sysconfdir sharedstatedir localstatedir includedir \
1145
1249
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146
1250
                libdir localedir mandir
1147
1251
do
1148
1252
  eval ac_val=\$$ac_var
 
1253
  # Remove trailing slashes.
 
1254
  case $ac_val in
 
1255
    */ )
 
1256
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1257
      eval $ac_var=\$ac_val;;
 
1258
  esac
 
1259
  # Be sure to have absolute directory names.
1149
1260
  case $ac_val in
1150
1261
    [\\/$]* | ?:[\\/]* )  continue;;
1151
1262
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1152
1263
  esac
1153
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1264
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1154
1265
   { (exit 1); exit 1; }; }
1155
1266
done
1156
1267
 
1165
1276
if test "x$host_alias" != x; then
1166
1277
  if test "x$build_alias" = x; then
1167
1278
    cross_compiling=maybe
1168
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1279
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1169
1280
    If a cross compiler is detected then cross compile mode will be used." >&2
1170
1281
  elif test "x$build_alias" != "x$host_alias"; then
1171
1282
    cross_compiling=yes
1181
1292
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1182
1293
ac_ls_di=`ls -di .` &&
1183
1294
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1184
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1295
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1185
1296
   { (exit 1); exit 1; }; }
1186
1297
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1298
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1188
1299
   { (exit 1); exit 1; }; }
1189
1300
 
1190
1301
 
1192
1303
if test -z "$srcdir"; then
1193
1304
  ac_srcdir_defaulted=yes
1194
1305
  # Try the directory containing this script, then the parent directory.
1195
 
  ac_confdir=`$as_dirname -- "$0" ||
1196
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197
 
         X"$0" : 'X\(//\)[^/]' \| \
1198
 
         X"$0" : 'X\(//\)$' \| \
1199
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1200
 
echo X"$0" |
 
1306
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1307
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1308
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1309
         X"$as_myself" : 'X\(//\)$' \| \
 
1310
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1311
$as_echo X"$as_myself" |
1201
1312
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202
1313
            s//\1/
1203
1314
            q
1224
1335
fi
1225
1336
if test ! -r "$srcdir/$ac_unique_file"; then
1226
1337
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1338
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1228
1339
   { (exit 1); exit 1; }; }
1229
1340
fi
1230
1341
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1231
1342
ac_abs_confdir=`(
1232
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1343
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1233
1344
   { (exit 1); exit 1; }; }
1234
1345
        pwd)`
1235
1346
# When building in place, set srcdir=.
1278
1389
 
1279
1390
Installation directories:
1280
1391
  --prefix=PREFIX         install architecture-independent files in PREFIX
1281
 
                          [$ac_default_prefix]
 
1392
                          [$ac_default_prefix]
1282
1393
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1283
 
                          [PREFIX]
 
1394
                          [PREFIX]
1284
1395
 
1285
1396
By default, \`make install' will install all the files in
1286
1397
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1290
1401
For better control, use the options below.
1291
1402
 
1292
1403
Fine tuning of the installation directories:
1293
 
  --bindir=DIR           user executables [EPREFIX/bin]
1294
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1295
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1296
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1297
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1298
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1299
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1300
 
  --includedir=DIR       C header files [PREFIX/include]
1301
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1302
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1303
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1304
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1305
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1306
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1307
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1308
 
  --htmldir=DIR          html documentation [DOCDIR]
1309
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1310
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1311
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1404
  --bindir=DIR            user executables [EPREFIX/bin]
 
1405
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1406
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1407
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1408
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1409
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1410
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1411
  --includedir=DIR        C header files [PREFIX/include]
 
1412
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1413
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1414
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1415
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1416
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1417
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1418
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1419
  --htmldir=DIR           html documentation [DOCDIR]
 
1420
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1421
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1422
  --psdir=DIR             ps documentation [DOCDIR]
1312
1423
_ACEOF
1313
1424
 
1314
1425
  cat <<\_ACEOF
1329
1440
  cat <<\_ACEOF
1330
1441
 
1331
1442
Optional Features:
 
1443
  --disable-option-checking  ignore unrecognized --enable/--with options
1332
1444
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1333
1445
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1334
1446
  --enable-depend Automatic .h dependencies. Requires GNU make and gcc.
1406
1518
if test "$ac_init_help" = "recursive"; then
1407
1519
  # If there are subdirs, report their specific --help.
1408
1520
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1409
 
    test -d "$ac_dir" || continue
 
1521
    test -d "$ac_dir" ||
 
1522
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1523
      continue
1410
1524
    ac_builddir=.
1411
1525
 
1412
1526
case "$ac_dir" in
1413
1527
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414
1528
*)
1415
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1529
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1416
1530
  # A ".." for each directory in $ac_dir_suffix.
1417
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1531
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1418
1532
  case $ac_top_builddir_sub in
1419
1533
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420
1534
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1450
1564
      echo &&
1451
1565
      $SHELL "$ac_srcdir/configure" --help=recursive
1452
1566
    else
1453
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1567
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1454
1568
    fi || ac_status=$?
1455
1569
    cd "$ac_pwd" || { ac_status=$?; break; }
1456
1570
  done
1460
1574
if $ac_init_version; then
1461
1575
  cat <<\_ACEOF
1462
1576
configure
1463
 
generated by GNU Autoconf 2.61
 
1577
generated by GNU Autoconf 2.63
1464
1578
 
1465
1579
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1466
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1580
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1467
1581
This configure script is free software; the Free Software Foundation
1468
1582
gives unlimited permission to copy, distribute and modify it.
1469
1583
_ACEOF
1474
1588
running configure, to aid debugging if configure makes a mistake.
1475
1589
 
1476
1590
It was created by $as_me, which was
1477
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1591
generated by GNU Autoconf 2.63.  Invocation command line was
1478
1592
 
1479
1593
  $ $0 $@
1480
1594
 
1510
1624
do
1511
1625
  IFS=$as_save_IFS
1512
1626
  test -z "$as_dir" && as_dir=.
1513
 
  echo "PATH: $as_dir"
 
1627
  $as_echo "PATH: $as_dir"
1514
1628
done
1515
1629
IFS=$as_save_IFS
1516
1630
 
1545
1659
    | -silent | --silent | --silen | --sile | --sil)
1546
1660
      continue ;;
1547
1661
    *\'*)
1548
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1662
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1549
1663
    esac
1550
1664
    case $ac_pass in
1551
1665
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1597
1711
    case $ac_val in #(
1598
1712
    *${as_nl}*)
1599
1713
      case $ac_var in #(
1600
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1601
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1714
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1715
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1602
1716
      esac
1603
1717
      case $ac_var in #(
1604
1718
      _ | IFS | as_nl) ;; #(
 
1719
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1605
1720
      *) $as_unset $ac_var ;;
1606
1721
      esac ;;
1607
1722
    esac
1631
1746
    do
1632
1747
      eval ac_val=\$$ac_var
1633
1748
      case $ac_val in
1634
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1749
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635
1750
      esac
1636
 
      echo "$ac_var='\''$ac_val'\''"
 
1751
      $as_echo "$ac_var='\''$ac_val'\''"
1637
1752
    done | sort
1638
1753
    echo
1639
1754
 
1648
1763
      do
1649
1764
        eval ac_val=\$$ac_var
1650
1765
        case $ac_val in
1651
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1766
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1652
1767
        esac
1653
 
        echo "$ac_var='\''$ac_val'\''"
 
1768
        $as_echo "$ac_var='\''$ac_val'\''"
1654
1769
      done | sort
1655
1770
      echo
1656
1771
    fi
1666
1781
      echo
1667
1782
    fi
1668
1783
    test "$ac_signal" != 0 &&
1669
 
      echo "$as_me: caught signal $ac_signal"
1670
 
    echo "$as_me: exit $exit_status"
 
1784
      $as_echo "$as_me: caught signal $ac_signal"
 
1785
    $as_echo "$as_me: exit $exit_status"
1671
1786
  } >&5
1672
1787
  rm -f core *.core core.conftest.* &&
1673
1788
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1709
1824
 
1710
1825
 
1711
1826
# Let the site file select an alternate cache file if it wants to.
1712
 
# Prefer explicitly selected file to automatically selected ones.
 
1827
# Prefer an explicitly selected file to automatically selected ones.
 
1828
ac_site_file1=NONE
 
1829
ac_site_file2=NONE
1713
1830
if test -n "$CONFIG_SITE"; then
1714
 
  set x "$CONFIG_SITE"
 
1831
  ac_site_file1=$CONFIG_SITE
1715
1832
elif test "x$prefix" != xNONE; then
1716
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1833
  ac_site_file1=$prefix/share/config.site
 
1834
  ac_site_file2=$prefix/etc/config.site
1717
1835
else
1718
 
  set x "$ac_default_prefix/share/config.site" \
1719
 
        "$ac_default_prefix/etc/config.site"
 
1836
  ac_site_file1=$ac_default_prefix/share/config.site
 
1837
  ac_site_file2=$ac_default_prefix/etc/config.site
1720
1838
fi
1721
 
shift
1722
 
for ac_site_file
 
1839
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1723
1840
do
 
1841
  test "x$ac_site_file" = xNONE && continue
1724
1842
  if test -r "$ac_site_file"; then
1725
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1726
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1843
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1844
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1727
1845
    sed 's/^/| /' "$ac_site_file" >&5
1728
1846
    . "$ac_site_file"
1729
1847
  fi
1733
1851
  # Some versions of bash will fail to source /dev/null (special
1734
1852
  # files actually), so we avoid doing that.
1735
1853
  if test -f "$cache_file"; then
1736
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1737
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1854
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1855
$as_echo "$as_me: loading cache $cache_file" >&6;}
1738
1856
    case $cache_file in
1739
1857
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1740
1858
      *)                      . "./$cache_file";;
1741
1859
    esac
1742
1860
  fi
1743
1861
else
1744
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1745
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1862
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1863
$as_echo "$as_me: creating cache $cache_file" >&6;}
1746
1864
  >$cache_file
1747
1865
fi
1748
1866
 
1756
1874
  eval ac_new_val=\$ac_env_${ac_var}_value
1757
1875
  case $ac_old_set,$ac_new_set in
1758
1876
    set,)
1759
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1760
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1877
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1878
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1761
1879
      ac_cache_corrupted=: ;;
1762
1880
    ,set)
1763
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1764
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1881
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1882
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1765
1883
      ac_cache_corrupted=: ;;
1766
1884
    ,);;
1767
1885
    *)
1768
1886
      if test "x$ac_old_val" != "x$ac_new_val"; then
1769
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1770
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1771
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1772
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1773
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1774
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1775
 
        ac_cache_corrupted=:
 
1887
        # differences in whitespace do not lead to failure.
 
1888
        ac_old_val_w=`echo x $ac_old_val`
 
1889
        ac_new_val_w=`echo x $ac_new_val`
 
1890
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1891
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1892
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1893
          ac_cache_corrupted=:
 
1894
        else
 
1895
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1896
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1897
          eval $ac_var=\$ac_old_val
 
1898
        fi
 
1899
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1900
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1901
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1902
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1776
1903
      fi;;
1777
1904
  esac
1778
1905
  # Pass precious variables to config.status.
1779
1906
  if test "$ac_new_set" = set; then
1780
1907
    case $ac_new_val in
1781
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1908
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1782
1909
    *) ac_arg=$ac_var=$ac_new_val ;;
1783
1910
    esac
1784
1911
    case " $ac_configure_args " in
1788
1915
  fi
1789
1916
done
1790
1917
if $ac_cache_corrupted; then
1791
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1792
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1793
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1794
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1918
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1919
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1920
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1921
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1922
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1923
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1795
1924
   { (exit 1); exit 1; }; }
1796
1925
fi
1797
1926
 
1838
1967
  fi
1839
1968
done
1840
1969
if test -z "$ac_aux_dir"; then
1841
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1842
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1970
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1971
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1843
1972
   { (exit 1); exit 1; }; }
1844
1973
fi
1845
1974
 
1854
1983
 
1855
1984
# Make sure we can run config.sub.
1856
1985
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1857
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1858
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
1986
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
1987
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1859
1988
   { (exit 1); exit 1; }; }
1860
1989
 
1861
 
{ echo "$as_me:$LINENO: checking build system type" >&5
1862
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
1990
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
1991
$as_echo_n "checking build system type... " >&6; }
1863
1992
if test "${ac_cv_build+set}" = set; then
1864
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1993
  $as_echo_n "(cached) " >&6
1865
1994
else
1866
1995
  ac_build_alias=$build_alias
1867
1996
test "x$ac_build_alias" = x &&
1868
1997
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1869
1998
test "x$ac_build_alias" = x &&
1870
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1871
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
1999
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2000
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1872
2001
   { (exit 1); exit 1; }; }
1873
2002
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1874
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1875
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
2003
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2004
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1876
2005
   { (exit 1); exit 1; }; }
1877
2006
 
1878
2007
fi
1879
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1880
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2008
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2009
$as_echo "$ac_cv_build" >&6; }
1881
2010
case $ac_cv_build in
1882
2011
*-*-*) ;;
1883
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1884
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2012
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2013
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1885
2014
   { (exit 1); exit 1; }; };;
1886
2015
esac
1887
2016
build=$ac_cv_build
1898
2027
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1899
2028
 
1900
2029
 
1901
 
{ echo "$as_me:$LINENO: checking host system type" >&5
1902
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
2030
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2031
$as_echo_n "checking host system type... " >&6; }
1903
2032
if test "${ac_cv_host+set}" = set; then
1904
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2033
  $as_echo_n "(cached) " >&6
1905
2034
else
1906
2035
  if test "x$host_alias" = x; then
1907
2036
  ac_cv_host=$ac_cv_build
1908
2037
else
1909
2038
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1910
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1911
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
2039
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2040
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1912
2041
   { (exit 1); exit 1; }; }
1913
2042
fi
1914
2043
 
1915
2044
fi
1916
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1917
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2045
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2046
$as_echo "$ac_cv_host" >&6; }
1918
2047
case $ac_cv_host in
1919
2048
*-*-*) ;;
1920
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1921
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2049
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2050
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
1922
2051
   { (exit 1); exit 1; }; };;
1923
2052
esac
1924
2053
host=$ac_cv_host
1935
2064
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1936
2065
 
1937
2066
 
1938
 
{ echo "$as_me:$LINENO: checking target system type" >&5
1939
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
 
2067
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
 
2068
$as_echo_n "checking target system type... " >&6; }
1940
2069
if test "${ac_cv_target+set}" = set; then
1941
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2070
  $as_echo_n "(cached) " >&6
1942
2071
else
1943
2072
  if test "x$target_alias" = x; then
1944
2073
  ac_cv_target=$ac_cv_host
1945
2074
else
1946
2075
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1947
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1948
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
 
2076
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
2077
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1949
2078
   { (exit 1); exit 1; }; }
1950
2079
fi
1951
2080
 
1952
2081
fi
1953
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1954
 
echo "${ECHO_T}$ac_cv_target" >&6; }
 
2082
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2083
$as_echo "$ac_cv_target" >&6; }
1955
2084
case $ac_cv_target in
1956
2085
*-*-*) ;;
1957
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1958
 
echo "$as_me: error: invalid value of canonical target" >&2;}
 
2086
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
2087
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
1959
2088
   { (exit 1); exit 1; }; };;
1960
2089
esac
1961
2090
target=$ac_cv_target
2005
2134
  do
2006
2135
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2007
2136
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2008
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2009
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2137
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2138
$as_echo_n "checking for $ac_word... " >&6; }
2010
2139
if test "${ac_cv_prog_CXX+set}" = set; then
2011
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2140
  $as_echo_n "(cached) " >&6
2012
2141
else
2013
2142
  if test -n "$CXX"; then
2014
2143
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2021
2150
  for ac_exec_ext in '' $ac_executable_extensions; do
2022
2151
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2023
2152
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2024
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2153
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025
2154
    break 2
2026
2155
  fi
2027
2156
done
2032
2161
fi
2033
2162
CXX=$ac_cv_prog_CXX
2034
2163
if test -n "$CXX"; then
2035
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
2036
 
echo "${ECHO_T}$CXX" >&6; }
 
2164
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
2165
$as_echo "$CXX" >&6; }
2037
2166
else
2038
 
  { echo "$as_me:$LINENO: result: no" >&5
2039
 
echo "${ECHO_T}no" >&6; }
 
2167
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2168
$as_echo "no" >&6; }
2040
2169
fi
2041
2170
 
2042
2171
 
2049
2178
do
2050
2179
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2051
2180
set dummy $ac_prog; ac_word=$2
2052
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2053
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2181
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2182
$as_echo_n "checking for $ac_word... " >&6; }
2054
2183
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2055
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2184
  $as_echo_n "(cached) " >&6
2056
2185
else
2057
2186
  if test -n "$ac_ct_CXX"; then
2058
2187
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2065
2194
  for ac_exec_ext in '' $ac_executable_extensions; do
2066
2195
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2067
2196
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2068
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2197
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069
2198
    break 2
2070
2199
  fi
2071
2200
done
2076
2205
fi
2077
2206
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2078
2207
if test -n "$ac_ct_CXX"; then
2079
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2080
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
2208
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
2209
$as_echo "$ac_ct_CXX" >&6; }
2081
2210
else
2082
 
  { echo "$as_me:$LINENO: result: no" >&5
2083
 
echo "${ECHO_T}no" >&6; }
 
2211
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2212
$as_echo "no" >&6; }
2084
2213
fi
2085
2214
 
2086
2215
 
2092
2221
  else
2093
2222
    case $cross_compiling:$ac_tool_warned in
2094
2223
yes:)
2095
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2096
 
whose name does not start with the host triplet.  If you think this
2097
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2098
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2099
 
whose name does not start with the host triplet.  If you think this
2100
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2224
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2225
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2101
2226
ac_tool_warned=yes ;;
2102
2227
esac
2103
2228
    CXX=$ac_ct_CXX
2107
2232
  fi
2108
2233
fi
2109
2234
# Provide some information about the compiler.
2110
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2111
 
ac_compiler=`set X $ac_compile; echo $2`
 
2235
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
2236
set X $ac_compile
 
2237
ac_compiler=$2
2112
2238
{ (ac_try="$ac_compiler --version >&5"
2113
2239
case "(($ac_try" in
2114
2240
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2115
2241
  *) ac_try_echo=$ac_try;;
2116
2242
esac
2117
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2243
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2244
$as_echo "$ac_try_echo") >&5
2118
2245
  (eval "$ac_compiler --version >&5") 2>&5
2119
2246
  ac_status=$?
2120
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2247
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121
2248
  (exit $ac_status); }
2122
2249
{ (ac_try="$ac_compiler -v >&5"
2123
2250
case "(($ac_try" in
2124
2251
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2125
2252
  *) ac_try_echo=$ac_try;;
2126
2253
esac
2127
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2254
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2255
$as_echo "$ac_try_echo") >&5
2128
2256
  (eval "$ac_compiler -v >&5") 2>&5
2129
2257
  ac_status=$?
2130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2258
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131
2259
  (exit $ac_status); }
2132
2260
{ (ac_try="$ac_compiler -V >&5"
2133
2261
case "(($ac_try" in
2134
2262
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2135
2263
  *) ac_try_echo=$ac_try;;
2136
2264
esac
2137
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2265
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2266
$as_echo "$ac_try_echo") >&5
2138
2267
  (eval "$ac_compiler -V >&5") 2>&5
2139
2268
  ac_status=$?
2140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2269
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141
2270
  (exit $ac_status); }
2142
2271
 
2143
2272
cat >conftest.$ac_ext <<_ACEOF
2156
2285
}
2157
2286
_ACEOF
2158
2287
ac_clean_files_save=$ac_clean_files
2159
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2288
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2160
2289
# Try to create an executable without -o first, disregard a.out.
2161
2290
# It will help us diagnose broken compilers, and finding out an intuition
2162
2291
# of exeext.
2163
 
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2164
 
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2165
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2166
 
#
2167
 
# List of possible output files, starting from the most likely.
2168
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2169
 
# only as a last resort.  b.out is created by i960 compilers.
2170
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2171
 
#
2172
 
# The IRIX 6 linker writes into existing files which may not be
2173
 
# executable, retaining their permissions.  Remove them first so a
2174
 
# subsequent execution test works.
 
2292
{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
 
2293
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
2294
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2295
 
 
2296
# The possible output files:
 
2297
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2298
 
2175
2299
ac_rmfiles=
2176
2300
for ac_file in $ac_files
2177
2301
do
2178
2302
  case $ac_file in
2179
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2303
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2180
2304
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2181
2305
  esac
2182
2306
done
2187
2311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2188
2312
  *) ac_try_echo=$ac_try;;
2189
2313
esac
2190
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2314
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2315
$as_echo "$ac_try_echo") >&5
2191
2316
  (eval "$ac_link_default") 2>&5
2192
2317
  ac_status=$?
2193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2318
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194
2319
  (exit $ac_status); }; then
2195
2320
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2196
2321
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2201
2326
do
2202
2327
  test -f "$ac_file" || continue
2203
2328
  case $ac_file in
2204
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2329
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2205
2330
        ;;
2206
2331
    [ab].out )
2207
2332
        # We found the default executable, but exeext='' is most
2228
2353
  ac_file=''
2229
2354
fi
2230
2355
 
2231
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2232
 
echo "${ECHO_T}$ac_file" >&6; }
 
2356
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2357
$as_echo "$ac_file" >&6; }
2233
2358
if test -z "$ac_file"; then
2234
 
  echo "$as_me: failed program was:" >&5
 
2359
  $as_echo "$as_me: failed program was:" >&5
2235
2360
sed 's/^/| /' conftest.$ac_ext >&5
2236
2361
 
2237
 
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
 
2362
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2363
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2364
{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2238
2365
See \`config.log' for more details." >&5
2239
 
echo "$as_me: error: C++ compiler cannot create executables
 
2366
$as_echo "$as_me: error: C++ compiler cannot create executables
2240
2367
See \`config.log' for more details." >&2;}
2241
 
   { (exit 77); exit 77; }; }
 
2368
   { (exit 77); exit 77; }; }; }
2242
2369
fi
2243
2370
 
2244
2371
ac_exeext=$ac_cv_exeext
2245
2372
 
2246
2373
# Check that the compiler produces executables we can run.  If not, either
2247
2374
# the compiler is broken, or we cross compile.
2248
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2249
 
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
 
2375
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
 
2376
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2250
2377
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2251
2378
# If not cross compiling, check that we can run a simple program.
2252
2379
if test "$cross_compiling" != yes; then
2255
2382
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2256
2383
  *) ac_try_echo=$ac_try;;
2257
2384
esac
2258
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2385
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2386
$as_echo "$ac_try_echo") >&5
2259
2387
  (eval "$ac_try") 2>&5
2260
2388
  ac_status=$?
2261
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2389
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262
2390
  (exit $ac_status); }; }; then
2263
2391
    cross_compiling=no
2264
2392
  else
2265
2393
    if test "$cross_compiling" = maybe; then
2266
2394
        cross_compiling=yes
2267
2395
    else
2268
 
        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
 
2396
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2397
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2398
{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2269
2399
If you meant to cross compile, use \`--host'.
2270
2400
See \`config.log' for more details." >&5
2271
 
echo "$as_me: error: cannot run C++ compiled programs.
 
2401
$as_echo "$as_me: error: cannot run C++ compiled programs.
2272
2402
If you meant to cross compile, use \`--host'.
2273
2403
See \`config.log' for more details." >&2;}
2274
 
   { (exit 1); exit 1; }; }
 
2404
   { (exit 1); exit 1; }; }; }
2275
2405
    fi
2276
2406
  fi
2277
2407
fi
2278
 
{ echo "$as_me:$LINENO: result: yes" >&5
2279
 
echo "${ECHO_T}yes" >&6; }
 
2408
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2409
$as_echo "yes" >&6; }
2280
2410
 
2281
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2411
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2282
2412
ac_clean_files=$ac_clean_files_save
2283
2413
# Check that the compiler produces executables we can run.  If not, either
2284
2414
# the compiler is broken, or we cross compile.
2285
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2286
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2287
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2288
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2415
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2416
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2417
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2418
$as_echo "$cross_compiling" >&6; }
2289
2419
 
2290
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2291
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2420
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2421
$as_echo_n "checking for suffix of executables... " >&6; }
2292
2422
if { (ac_try="$ac_link"
2293
2423
case "(($ac_try" in
2294
2424
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2295
2425
  *) ac_try_echo=$ac_try;;
2296
2426
esac
2297
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2427
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2428
$as_echo "$ac_try_echo") >&5
2298
2429
  (eval "$ac_link") 2>&5
2299
2430
  ac_status=$?
2300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2431
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301
2432
  (exit $ac_status); }; then
2302
2433
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2303
2434
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2306
2437
for ac_file in conftest.exe conftest conftest.*; do
2307
2438
  test -f "$ac_file" || continue
2308
2439
  case $ac_file in
2309
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2440
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2310
2441
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2311
2442
          break;;
2312
2443
    * ) break;;
2313
2444
  esac
2314
2445
done
2315
2446
else
2316
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2447
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2448
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2449
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2317
2450
See \`config.log' for more details." >&5
2318
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2451
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2319
2452
See \`config.log' for more details." >&2;}
2320
 
   { (exit 1); exit 1; }; }
 
2453
   { (exit 1); exit 1; }; }; }
2321
2454
fi
2322
2455
 
2323
2456
rm -f conftest$ac_cv_exeext
2324
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2325
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2457
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2458
$as_echo "$ac_cv_exeext" >&6; }
2326
2459
 
2327
2460
rm -f conftest.$ac_ext
2328
2461
EXEEXT=$ac_cv_exeext
2329
2462
ac_exeext=$EXEEXT
2330
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2331
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2463
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2464
$as_echo_n "checking for suffix of object files... " >&6; }
2332
2465
if test "${ac_cv_objext+set}" = set; then
2333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2466
  $as_echo_n "(cached) " >&6
2334
2467
else
2335
2468
  cat >conftest.$ac_ext <<_ACEOF
2336
2469
/* confdefs.h.  */
2353
2486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2354
2487
  *) ac_try_echo=$ac_try;;
2355
2488
esac
2356
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2489
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2490
$as_echo "$ac_try_echo") >&5
2357
2491
  (eval "$ac_compile") 2>&5
2358
2492
  ac_status=$?
2359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2493
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360
2494
  (exit $ac_status); }; then
2361
2495
  for ac_file in conftest.o conftest.obj conftest.*; do
2362
2496
  test -f "$ac_file" || continue;
2363
2497
  case $ac_file in
2364
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2498
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2365
2499
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2366
2500
       break;;
2367
2501
  esac
2368
2502
done
2369
2503
else
2370
 
  echo "$as_me: failed program was:" >&5
 
2504
  $as_echo "$as_me: failed program was:" >&5
2371
2505
sed 's/^/| /' conftest.$ac_ext >&5
2372
2506
 
2373
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2507
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2508
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2509
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2374
2510
See \`config.log' for more details." >&5
2375
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2511
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2376
2512
See \`config.log' for more details." >&2;}
2377
 
   { (exit 1); exit 1; }; }
 
2513
   { (exit 1); exit 1; }; }; }
2378
2514
fi
2379
2515
 
2380
2516
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2381
2517
fi
2382
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2383
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2518
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2519
$as_echo "$ac_cv_objext" >&6; }
2384
2520
OBJEXT=$ac_cv_objext
2385
2521
ac_objext=$OBJEXT
2386
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2387
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
2522
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
2523
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2388
2524
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2389
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2525
  $as_echo_n "(cached) " >&6
2390
2526
else
2391
2527
  cat >conftest.$ac_ext <<_ACEOF
2392
2528
/* confdefs.h.  */
2412
2548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413
2549
  *) ac_try_echo=$ac_try;;
2414
2550
esac
2415
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2551
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2552
$as_echo "$ac_try_echo") >&5
2416
2553
  (eval "$ac_compile") 2>conftest.er1
2417
2554
  ac_status=$?
2418
2555
  grep -v '^ *+' conftest.er1 >conftest.err
2419
2556
  rm -f conftest.er1
2420
2557
  cat conftest.err >&5
2421
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2558
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422
2559
  (exit $ac_status); } && {
2423
2560
         test -z "$ac_cxx_werror_flag" ||
2424
2561
         test ! -s conftest.err
2425
2562
       } && test -s conftest.$ac_objext; then
2426
2563
  ac_compiler_gnu=yes
2427
2564
else
2428
 
  echo "$as_me: failed program was:" >&5
 
2565
  $as_echo "$as_me: failed program was:" >&5
2429
2566
sed 's/^/| /' conftest.$ac_ext >&5
2430
2567
 
2431
2568
        ac_compiler_gnu=no
2435
2572
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2436
2573
 
2437
2574
fi
2438
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2439
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2440
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
2575
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
2576
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
2577
if test $ac_compiler_gnu = yes; then
 
2578
  GXX=yes
 
2579
else
 
2580
  GXX=
 
2581
fi
2441
2582
ac_test_CXXFLAGS=${CXXFLAGS+set}
2442
2583
ac_save_CXXFLAGS=$CXXFLAGS
2443
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2444
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
2584
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
2585
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2445
2586
if test "${ac_cv_prog_cxx_g+set}" = set; then
2446
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2587
  $as_echo_n "(cached) " >&6
2447
2588
else
2448
2589
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2449
2590
   ac_cxx_werror_flag=yes
2470
2611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2471
2612
  *) ac_try_echo=$ac_try;;
2472
2613
esac
2473
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2614
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2615
$as_echo "$ac_try_echo") >&5
2474
2616
  (eval "$ac_compile") 2>conftest.er1
2475
2617
  ac_status=$?
2476
2618
  grep -v '^ *+' conftest.er1 >conftest.err
2477
2619
  rm -f conftest.er1
2478
2620
  cat conftest.err >&5
2479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2621
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480
2622
  (exit $ac_status); } && {
2481
2623
         test -z "$ac_cxx_werror_flag" ||
2482
2624
         test ! -s conftest.err
2483
2625
       } && test -s conftest.$ac_objext; then
2484
2626
  ac_cv_prog_cxx_g=yes
2485
2627
else
2486
 
  echo "$as_me: failed program was:" >&5
 
2628
  $as_echo "$as_me: failed program was:" >&5
2487
2629
sed 's/^/| /' conftest.$ac_ext >&5
2488
2630
 
2489
2631
        CXXFLAGS=""
2508
2650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2509
2651
  *) ac_try_echo=$ac_try;;
2510
2652
esac
2511
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2653
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2654
$as_echo "$ac_try_echo") >&5
2512
2655
  (eval "$ac_compile") 2>conftest.er1
2513
2656
  ac_status=$?
2514
2657
  grep -v '^ *+' conftest.er1 >conftest.err
2515
2658
  rm -f conftest.er1
2516
2659
  cat conftest.err >&5
2517
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2660
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518
2661
  (exit $ac_status); } && {
2519
2662
         test -z "$ac_cxx_werror_flag" ||
2520
2663
         test ! -s conftest.err
2521
2664
       } && test -s conftest.$ac_objext; then
2522
2665
  :
2523
2666
else
2524
 
  echo "$as_me: failed program was:" >&5
 
2667
  $as_echo "$as_me: failed program was:" >&5
2525
2668
sed 's/^/| /' conftest.$ac_ext >&5
2526
2669
 
2527
2670
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2547
2690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548
2691
  *) ac_try_echo=$ac_try;;
2549
2692
esac
2550
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2693
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2694
$as_echo "$ac_try_echo") >&5
2551
2695
  (eval "$ac_compile") 2>conftest.er1
2552
2696
  ac_status=$?
2553
2697
  grep -v '^ *+' conftest.er1 >conftest.err
2554
2698
  rm -f conftest.er1
2555
2699
  cat conftest.err >&5
2556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2700
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557
2701
  (exit $ac_status); } && {
2558
2702
         test -z "$ac_cxx_werror_flag" ||
2559
2703
         test ! -s conftest.err
2560
2704
       } && test -s conftest.$ac_objext; then
2561
2705
  ac_cv_prog_cxx_g=yes
2562
2706
else
2563
 
  echo "$as_me: failed program was:" >&5
 
2707
  $as_echo "$as_me: failed program was:" >&5
2564
2708
sed 's/^/| /' conftest.$ac_ext >&5
2565
2709
 
2566
2710
 
2575
2719
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2576
2720
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2577
2721
fi
2578
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2579
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
2722
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
2723
$as_echo "$ac_cv_prog_cxx_g" >&6; }
2580
2724
if test "$ac_test_CXXFLAGS" = set; then
2581
2725
  CXXFLAGS=$ac_save_CXXFLAGS
2582
2726
elif test $ac_cv_prog_cxx_g = yes; then
2606
2750
 
2607
2751
ice_save_CXXFLAGS=$CXXFLAGS
2608
2752
CXXFLAGS="-fno-rtti $CXXFLAGS"
2609
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts no_rtti" >&5
2610
 
echo $ECHO_N "checking whether the C++ compiler ($CXX) accepts no_rtti... $ECHO_C" >&6; }
 
2753
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts no_rtti" >&5
 
2754
$as_echo_n "checking whether the C++ compiler ($CXX) accepts no_rtti... " >&6; }
2611
2755
cat >conftest.$ac_ext <<_ACEOF
2612
2756
/* confdefs.h.  */
2613
2757
_ACEOF
2629
2773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630
2774
  *) ac_try_echo=$ac_try;;
2631
2775
esac
2632
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2776
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2777
$as_echo "$ac_try_echo") >&5
2633
2778
  (eval "$ac_compile") 2>conftest.er1
2634
2779
  ac_status=$?
2635
2780
  grep -v '^ *+' conftest.er1 >conftest.err
2636
2781
  rm -f conftest.er1
2637
2782
  cat conftest.err >&5
2638
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2783
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639
2784
  (exit $ac_status); } && {
2640
2785
         test -z "$ac_cxx_werror_flag" ||
2641
2786
         test ! -s conftest.err
2642
2787
       } && test -s conftest.$ac_objext; then
2643
2788
  ice_tmp_result=yes
2644
2789
else
2645
 
  echo "$as_me: failed program was:" >&5
 
2790
  $as_echo "$as_me: failed program was:" >&5
2646
2791
sed 's/^/| /' conftest.$ac_ext >&5
2647
2792
 
2648
2793
        ice_tmp_result=no; CXXFLAGS=$ice_save_CXXFLAGS
2649
2794
fi
2650
2795
 
2651
2796
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2652
 
{ echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
2653
 
echo "${ECHO_T}$ice_tmp_result" >&6; }
 
2797
{ $as_echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
 
2798
$as_echo "$ice_tmp_result" >&6; }
2654
2799
no_rtti_ok=$ice_tmp_result
2655
2800
 
2656
2801
fi
2659
2804
 
2660
2805
ice_save_CXXFLAGS=$CXXFLAGS
2661
2806
CXXFLAGS="-features=no%except $CXXFLAGS"
2662
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts no_exceptions" >&5
2663
 
echo $ECHO_N "checking whether the C++ compiler ($CXX) accepts no_exceptions... $ECHO_C" >&6; }
 
2807
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts no_exceptions" >&5
 
2808
$as_echo_n "checking whether the C++ compiler ($CXX) accepts no_exceptions... " >&6; }
2664
2809
cat >conftest.$ac_ext <<_ACEOF
2665
2810
/* confdefs.h.  */
2666
2811
_ACEOF
2682
2827
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683
2828
  *) ac_try_echo=$ac_try;;
2684
2829
esac
2685
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2830
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2831
$as_echo "$ac_try_echo") >&5
2686
2832
  (eval "$ac_compile") 2>conftest.er1
2687
2833
  ac_status=$?
2688
2834
  grep -v '^ *+' conftest.er1 >conftest.err
2689
2835
  rm -f conftest.er1
2690
2836
  cat conftest.err >&5
2691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2837
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692
2838
  (exit $ac_status); } && {
2693
2839
         test -z "$ac_cxx_werror_flag" ||
2694
2840
         test ! -s conftest.err
2695
2841
       } && test -s conftest.$ac_objext; then
2696
2842
  ice_tmp_result=yes
2697
2843
else
2698
 
  echo "$as_me: failed program was:" >&5
 
2844
  $as_echo "$as_me: failed program was:" >&5
2699
2845
sed 's/^/| /' conftest.$ac_ext >&5
2700
2846
 
2701
2847
        ice_tmp_result=no; CXXFLAGS=$ice_save_CXXFLAGS
2702
2848
fi
2703
2849
 
2704
2850
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2705
 
{ echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
2706
 
echo "${ECHO_T}$ice_tmp_result" >&6; }
 
2851
{ $as_echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
 
2852
$as_echo "$ice_tmp_result" >&6; }
2707
2853
no_exceptions_ok=$ice_tmp_result
2708
2854
 
2709
2855
  else
2712
2858
 
2713
2859
ice_save_CXXFLAGS=$CXXFLAGS
2714
2860
CXXFLAGS="-fno-exceptions $CXXFLAGS"
2715
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts no_exceptions" >&5
2716
 
echo $ECHO_N "checking whether the C++ compiler ($CXX) accepts no_exceptions... $ECHO_C" >&6; }
 
2861
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts no_exceptions" >&5
 
2862
$as_echo_n "checking whether the C++ compiler ($CXX) accepts no_exceptions... " >&6; }
2717
2863
cat >conftest.$ac_ext <<_ACEOF
2718
2864
/* confdefs.h.  */
2719
2865
_ACEOF
2735
2881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736
2882
  *) ac_try_echo=$ac_try;;
2737
2883
esac
2738
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2884
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2885
$as_echo "$ac_try_echo") >&5
2739
2886
  (eval "$ac_compile") 2>conftest.er1
2740
2887
  ac_status=$?
2741
2888
  grep -v '^ *+' conftest.er1 >conftest.err
2742
2889
  rm -f conftest.er1
2743
2890
  cat conftest.err >&5
2744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2891
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745
2892
  (exit $ac_status); } && {
2746
2893
         test -z "$ac_cxx_werror_flag" ||
2747
2894
         test ! -s conftest.err
2748
2895
       } && test -s conftest.$ac_objext; then
2749
2896
  ice_tmp_result=yes
2750
2897
else
2751
 
  echo "$as_me: failed program was:" >&5
 
2898
  $as_echo "$as_me: failed program was:" >&5
2752
2899
sed 's/^/| /' conftest.$ac_ext >&5
2753
2900
 
2754
2901
        ice_tmp_result=no; CXXFLAGS=$ice_save_CXXFLAGS
2755
2902
fi
2756
2903
 
2757
2904
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758
 
{ echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
2759
 
echo "${ECHO_T}$ice_tmp_result" >&6; }
 
2905
{ $as_echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
 
2906
$as_echo "$ice_tmp_result" >&6; }
2760
2907
no_exceptions_ok=$ice_tmp_result
2761
2908
 
2762
2909
      if test x"$no_exceptions_ok" = xno; then
2763
2910
 
2764
2911
ice_save_CXXFLAGS=$CXXFLAGS
2765
2912
CXXFLAGS="-fno-handle-exceptions $CXXFLAGS"
2766
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts no_exceptions" >&5
2767
 
echo $ECHO_N "checking whether the C++ compiler ($CXX) accepts no_exceptions... $ECHO_C" >&6; }
 
2913
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts no_exceptions" >&5
 
2914
$as_echo_n "checking whether the C++ compiler ($CXX) accepts no_exceptions... " >&6; }
2768
2915
cat >conftest.$ac_ext <<_ACEOF
2769
2916
/* confdefs.h.  */
2770
2917
_ACEOF
2786
2933
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787
2934
  *) ac_try_echo=$ac_try;;
2788
2935
esac
2789
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2936
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2937
$as_echo "$ac_try_echo") >&5
2790
2938
  (eval "$ac_compile") 2>conftest.er1
2791
2939
  ac_status=$?
2792
2940
  grep -v '^ *+' conftest.er1 >conftest.err
2793
2941
  rm -f conftest.er1
2794
2942
  cat conftest.err >&5
2795
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2943
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796
2944
  (exit $ac_status); } && {
2797
2945
         test -z "$ac_cxx_werror_flag" ||
2798
2946
         test ! -s conftest.err
2799
2947
       } && test -s conftest.$ac_objext; then
2800
2948
  ice_tmp_result=yes
2801
2949
else
2802
 
  echo "$as_me: failed program was:" >&5
 
2950
  $as_echo "$as_me: failed program was:" >&5
2803
2951
sed 's/^/| /' conftest.$ac_ext >&5
2804
2952
 
2805
2953
        ice_tmp_result=no; CXXFLAGS=$ice_save_CXXFLAGS
2806
2954
fi
2807
2955
 
2808
2956
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2809
 
{ echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
2810
 
echo "${ECHO_T}$ice_tmp_result" >&6; }
 
2957
{ $as_echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
 
2958
$as_echo "$ice_tmp_result" >&6; }
2811
2959
no_exceptions_ok=$ice_tmp_result
2812
2960
 
2813
2961
      fi
2820
2968
 
2821
2969
ice_save_CXXFLAGS=$CXXFLAGS
2822
2970
CXXFLAGS="-Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -Woverloaded-virtual -W $CXXFLAGS"
2823
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts warn_xxx" >&5
2824
 
echo $ECHO_N "checking whether the C++ compiler ($CXX) accepts warn_xxx... $ECHO_C" >&6; }
 
2971
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts warn_xxx" >&5
 
2972
$as_echo_n "checking whether the C++ compiler ($CXX) accepts warn_xxx... " >&6; }
2825
2973
cat >conftest.$ac_ext <<_ACEOF
2826
2974
/* confdefs.h.  */
2827
2975
_ACEOF
2843
2991
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844
2992
  *) ac_try_echo=$ac_try;;
2845
2993
esac
2846
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2994
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2995
$as_echo "$ac_try_echo") >&5
2847
2996
  (eval "$ac_compile") 2>conftest.er1
2848
2997
  ac_status=$?
2849
2998
  grep -v '^ *+' conftest.er1 >conftest.err
2850
2999
  rm -f conftest.er1
2851
3000
  cat conftest.err >&5
2852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3001
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853
3002
  (exit $ac_status); } && {
2854
3003
         test -z "$ac_cxx_werror_flag" ||
2855
3004
         test ! -s conftest.err
2856
3005
       } && test -s conftest.$ac_objext; then
2857
3006
  ice_tmp_result=yes
2858
3007
else
2859
 
  echo "$as_me: failed program was:" >&5
 
3008
  $as_echo "$as_me: failed program was:" >&5
2860
3009
sed 's/^/| /' conftest.$ac_ext >&5
2861
3010
 
2862
3011
        ice_tmp_result=no; CXXFLAGS=$ice_save_CXXFLAGS
2863
3012
fi
2864
3013
 
2865
3014
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866
 
{ echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
2867
 
echo "${ECHO_T}$ice_tmp_result" >&6; }
 
3015
{ $as_echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
 
3016
$as_echo "$ice_tmp_result" >&6; }
2868
3017
warn_xxx_ok=$ice_tmp_result
2869
3018
 
2870
3019
 
2871
3020
ice_save_CXXFLAGS=$CXXFLAGS
2872
3021
CXXFLAGS="-fpermissive $CXXFLAGS"
2873
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts permissive" >&5
2874
 
echo $ECHO_N "checking whether the C++ compiler ($CXX) accepts permissive... $ECHO_C" >&6; }
 
3022
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts permissive" >&5
 
3023
$as_echo_n "checking whether the C++ compiler ($CXX) accepts permissive... " >&6; }
2875
3024
cat >conftest.$ac_ext <<_ACEOF
2876
3025
/* confdefs.h.  */
2877
3026
_ACEOF
2893
3042
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894
3043
  *) ac_try_echo=$ac_try;;
2895
3044
esac
2896
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3045
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3046
$as_echo "$ac_try_echo") >&5
2897
3047
  (eval "$ac_compile") 2>conftest.er1
2898
3048
  ac_status=$?
2899
3049
  grep -v '^ *+' conftest.er1 >conftest.err
2900
3050
  rm -f conftest.er1
2901
3051
  cat conftest.err >&5
2902
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3052
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903
3053
  (exit $ac_status); } && {
2904
3054
         test -z "$ac_cxx_werror_flag" ||
2905
3055
         test ! -s conftest.err
2906
3056
       } && test -s conftest.$ac_objext; then
2907
3057
  ice_tmp_result=yes
2908
3058
else
2909
 
  echo "$as_me: failed program was:" >&5
 
3059
  $as_echo "$as_me: failed program was:" >&5
2910
3060
sed 's/^/| /' conftest.$ac_ext >&5
2911
3061
 
2912
3062
        ice_tmp_result=no; CXXFLAGS=$ice_save_CXXFLAGS
2913
3063
fi
2914
3064
 
2915
3065
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2916
 
{ echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
2917
 
echo "${ECHO_T}$ice_tmp_result" >&6; }
 
3066
{ $as_echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
 
3067
$as_echo "$ice_tmp_result" >&6; }
2918
3068
permissive_ok=$ice_tmp_result
2919
3069
 
2920
3070
else
2922
3072
 
2923
3073
ice_save_CXXFLAGS=$CXXFLAGS
2924
3074
CXXFLAGS="-w0 $CXXFLAGS"
2925
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts warn_xxx" >&5
2926
 
echo $ECHO_N "checking whether the C++ compiler ($CXX) accepts warn_xxx... $ECHO_C" >&6; }
 
3075
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX) accepts warn_xxx" >&5
 
3076
$as_echo_n "checking whether the C++ compiler ($CXX) accepts warn_xxx... " >&6; }
2927
3077
cat >conftest.$ac_ext <<_ACEOF
2928
3078
/* confdefs.h.  */
2929
3079
_ACEOF
2945
3095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946
3096
  *) ac_try_echo=$ac_try;;
2947
3097
esac
2948
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3098
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3099
$as_echo "$ac_try_echo") >&5
2949
3100
  (eval "$ac_compile") 2>conftest.er1
2950
3101
  ac_status=$?
2951
3102
  grep -v '^ *+' conftest.er1 >conftest.err
2952
3103
  rm -f conftest.er1
2953
3104
  cat conftest.err >&5
2954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3105
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955
3106
  (exit $ac_status); } && {
2956
3107
         test -z "$ac_cxx_werror_flag" ||
2957
3108
         test ! -s conftest.err
2958
3109
       } && test -s conftest.$ac_objext; then
2959
3110
  ice_tmp_result=yes
2960
3111
else
2961
 
  echo "$as_me: failed program was:" >&5
 
3112
  $as_echo "$as_me: failed program was:" >&5
2962
3113
sed 's/^/| /' conftest.$ac_ext >&5
2963
3114
 
2964
3115
        ice_tmp_result=no; CXXFLAGS=$ice_save_CXXFLAGS
2965
3116
fi
2966
3117
 
2967
3118
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2968
 
{ echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
2969
 
echo "${ECHO_T}$ice_tmp_result" >&6; }
 
3119
{ $as_echo "$as_me:$LINENO: result: $ice_tmp_result" >&5
 
3120
$as_echo "$ice_tmp_result" >&6; }
2970
3121
warn_xxx_ok=$ice_tmp_result
2971
3122
 
2972
3123
  fi
3013
3164
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3014
3165
# OS/2's system install, which has a completely different semantic
3015
3166
# ./install, which can be erroneously created by make from ./install.sh.
3016
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3017
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
3167
# Reject install programs that cannot install multiple files.
 
3168
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3169
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3018
3170
if test -z "$INSTALL"; then
3019
3171
if test "${ac_cv_path_install+set}" = set; then
3020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3172
  $as_echo_n "(cached) " >&6
3021
3173
else
3022
3174
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023
3175
for as_dir in $PATH
3046
3198
            # program-specific install script used by HP pwplus--don't use.
3047
3199
            :
3048
3200
          else
3049
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3050
 
            break 3
 
3201
            rm -rf conftest.one conftest.two conftest.dir
 
3202
            echo one > conftest.one
 
3203
            echo two > conftest.two
 
3204
            mkdir conftest.dir
 
3205
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
3206
              test -s conftest.one && test -s conftest.two &&
 
3207
              test -s conftest.dir/conftest.one &&
 
3208
              test -s conftest.dir/conftest.two
 
3209
            then
 
3210
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3211
              break 3
 
3212
            fi
3051
3213
          fi
3052
3214
        fi
3053
3215
      done
3054
3216
    done
3055
3217
    ;;
3056
3218
esac
 
3219
 
3057
3220
done
3058
3221
IFS=$as_save_IFS
3059
3222
 
 
3223
rm -rf conftest.one conftest.two conftest.dir
3060
3224
 
3061
3225
fi
3062
3226
  if test "${ac_cv_path_install+set}" = set; then
3069
3233
    INSTALL=$ac_install_sh
3070
3234
  fi
3071
3235
fi
3072
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3073
 
echo "${ECHO_T}$INSTALL" >&6; }
 
3236
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3237
$as_echo "$INSTALL" >&6; }
3074
3238
 
3075
3239
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3076
3240
# It thinks the first close brace ends the variable substitution.
3088
3252
 
3089
3253
ac_header_dirent=no
3090
3254
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3091
 
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3092
 
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3093
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
 
3255
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 
3256
{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 
3257
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3094
3258
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3095
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3259
  $as_echo_n "(cached) " >&6
3096
3260
else
3097
3261
  cat >conftest.$ac_ext <<_ACEOF
3098
3262
/* confdefs.h.  */
3118
3282
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119
3283
  *) ac_try_echo=$ac_try;;
3120
3284
esac
3121
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3285
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3286
$as_echo "$ac_try_echo") >&5
3122
3287
  (eval "$ac_compile") 2>conftest.er1
3123
3288
  ac_status=$?
3124
3289
  grep -v '^ *+' conftest.er1 >conftest.err
3125
3290
  rm -f conftest.er1
3126
3291
  cat conftest.err >&5
3127
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3292
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128
3293
  (exit $ac_status); } && {
3129
3294
         test -z "$ac_cxx_werror_flag" ||
3130
3295
         test ! -s conftest.err
3131
3296
       } && test -s conftest.$ac_objext; then
3132
3297
  eval "$as_ac_Header=yes"
3133
3298
else
3134
 
  echo "$as_me: failed program was:" >&5
 
3299
  $as_echo "$as_me: failed program was:" >&5
3135
3300
sed 's/^/| /' conftest.$ac_ext >&5
3136
3301
 
3137
3302
        eval "$as_ac_Header=no"
3139
3304
 
3140
3305
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3141
3306
fi
3142
 
ac_res=`eval echo '${'$as_ac_Header'}'`
3143
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3144
 
echo "${ECHO_T}$ac_res" >&6; }
3145
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
3307
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
3308
                 $as_echo "$as_val"'`
 
3309
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
3310
$as_echo "$ac_res" >&6; }
 
3311
as_val=`eval 'as_val=${'$as_ac_Header'}
 
3312
                 $as_echo "$as_val"'`
 
3313
   if test "x$as_val" = x""yes; then
3146
3314
  cat >>confdefs.h <<_ACEOF
3147
 
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 
3315
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3148
3316
_ACEOF
3149
3317
 
3150
3318
ac_header_dirent=$ac_hdr; break
3153
3321
done
3154
3322
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3155
3323
if test $ac_header_dirent = dirent.h; then
3156
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3157
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
3324
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
3325
$as_echo_n "checking for library containing opendir... " >&6; }
3158
3326
if test "${ac_cv_search_opendir+set}" = set; then
3159
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3327
  $as_echo_n "(cached) " >&6
3160
3328
else
3161
3329
  ac_func_search_save_LIBS=$LIBS
3162
3330
cat >conftest.$ac_ext <<_ACEOF
3194
3362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195
3363
  *) ac_try_echo=$ac_try;;
3196
3364
esac
3197
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3365
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3366
$as_echo "$ac_try_echo") >&5
3198
3367
  (eval "$ac_link") 2>conftest.er1
3199
3368
  ac_status=$?
3200
3369
  grep -v '^ *+' conftest.er1 >conftest.err
3201
3370
  rm -f conftest.er1
3202
3371
  cat conftest.err >&5
3203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3372
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204
3373
  (exit $ac_status); } && {
3205
3374
         test -z "$ac_cxx_werror_flag" ||
3206
3375
         test ! -s conftest.err
3207
 
       } && test -s conftest$ac_exeext &&
3208
 
       $as_test_x conftest$ac_exeext; then
 
3376
       } && test -s conftest$ac_exeext && {
 
3377
         test "$cross_compiling" = yes ||
 
3378
         $as_test_x conftest$ac_exeext
 
3379
       }; then
3209
3380
  ac_cv_search_opendir=$ac_res
3210
3381
else
3211
 
  echo "$as_me: failed program was:" >&5
 
3382
  $as_echo "$as_me: failed program was:" >&5
3212
3383
sed 's/^/| /' conftest.$ac_ext >&5
3213
3384
 
3214
3385
 
3215
3386
fi
3216
3387
 
 
3388
rm -rf conftest.dSYM
3217
3389
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3218
3390
      conftest$ac_exeext
3219
3391
  if test "${ac_cv_search_opendir+set}" = set; then
3228
3400
rm conftest.$ac_ext
3229
3401
LIBS=$ac_func_search_save_LIBS
3230
3402
fi
3231
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3232
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
3403
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
3404
$as_echo "$ac_cv_search_opendir" >&6; }
3233
3405
ac_res=$ac_cv_search_opendir
3234
3406
if test "$ac_res" != no; then
3235
3407
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3237
3409
fi
3238
3410
 
3239
3411
else
3240
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3241
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
3412
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
3413
$as_echo_n "checking for library containing opendir... " >&6; }
3242
3414
if test "${ac_cv_search_opendir+set}" = set; then
3243
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3415
  $as_echo_n "(cached) " >&6
3244
3416
else
3245
3417
  ac_func_search_save_LIBS=$LIBS
3246
3418
cat >conftest.$ac_ext <<_ACEOF
3278
3450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279
3451
  *) ac_try_echo=$ac_try;;
3280
3452
esac
3281
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3453
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3454
$as_echo "$ac_try_echo") >&5
3282
3455
  (eval "$ac_link") 2>conftest.er1
3283
3456
  ac_status=$?
3284
3457
  grep -v '^ *+' conftest.er1 >conftest.err
3285
3458
  rm -f conftest.er1
3286
3459
  cat conftest.err >&5
3287
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3460
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288
3461
  (exit $ac_status); } && {
3289
3462
         test -z "$ac_cxx_werror_flag" ||
3290
3463
         test ! -s conftest.err
3291
 
       } && test -s conftest$ac_exeext &&
3292
 
       $as_test_x conftest$ac_exeext; then
 
3464
       } && test -s conftest$ac_exeext && {
 
3465
         test "$cross_compiling" = yes ||
 
3466
         $as_test_x conftest$ac_exeext
 
3467
       }; then
3293
3468
  ac_cv_search_opendir=$ac_res
3294
3469
else
3295
 
  echo "$as_me: failed program was:" >&5
 
3470
  $as_echo "$as_me: failed program was:" >&5
3296
3471
sed 's/^/| /' conftest.$ac_ext >&5
3297
3472
 
3298
3473
 
3299
3474
fi
3300
3475
 
 
3476
rm -rf conftest.dSYM
3301
3477
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3302
3478
      conftest$ac_exeext
3303
3479
  if test "${ac_cv_search_opendir+set}" = set; then
3312
3488
rm conftest.$ac_ext
3313
3489
LIBS=$ac_func_search_save_LIBS
3314
3490
fi
3315
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3316
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
3491
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
3492
$as_echo "$ac_cv_search_opendir" >&6; }
3317
3493
ac_res=$ac_cv_search_opendir
3318
3494
if test "$ac_res" != no; then
3319
3495
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3322
3498
 
3323
3499
fi
3324
3500
 
3325
 
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3326
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
 
3501
{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
3502
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
3327
3503
if test "${ac_cv_header_sys_wait_h+set}" = set; then
3328
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3504
  $as_echo_n "(cached) " >&6
3329
3505
else
3330
3506
  cat >conftest.$ac_ext <<_ACEOF
3331
3507
/* confdefs.h.  */
3358
3534
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359
3535
  *) ac_try_echo=$ac_try;;
3360
3536
esac
3361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3537
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3538
$as_echo "$ac_try_echo") >&5
3362
3539
  (eval "$ac_compile") 2>conftest.er1
3363
3540
  ac_status=$?
3364
3541
  grep -v '^ *+' conftest.er1 >conftest.err
3365
3542
  rm -f conftest.er1
3366
3543
  cat conftest.err >&5
3367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3544
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368
3545
  (exit $ac_status); } && {
3369
3546
         test -z "$ac_cxx_werror_flag" ||
3370
3547
         test ! -s conftest.err
3371
3548
       } && test -s conftest.$ac_objext; then
3372
3549
  ac_cv_header_sys_wait_h=yes
3373
3550
else
3374
 
  echo "$as_me: failed program was:" >&5
 
3551
  $as_echo "$as_me: failed program was:" >&5
3375
3552
sed 's/^/| /' conftest.$ac_ext >&5
3376
3553
 
3377
3554
        ac_cv_header_sys_wait_h=no
3379
3556
 
3380
3557
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381
3558
fi
3382
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3383
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
 
3559
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
3560
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
3384
3561
if test $ac_cv_header_sys_wait_h = yes; then
3385
3562
 
3386
3563
cat >>confdefs.h <<\_ACEOF
3394
3571
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395
3572
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396
3573
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3397
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3398
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
3574
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
3575
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3399
3576
if test -z "$CXXCPP"; then
3400
3577
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
3401
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3578
  $as_echo_n "(cached) " >&6
3402
3579
else
3403
3580
      # Double quotes because CXXCPP needs to be expanded
3404
3581
    for CXXCPP in "$CXX -E" "/lib/cpp"
3430
3607
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431
3608
  *) ac_try_echo=$ac_try;;
3432
3609
esac
3433
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3610
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3611
$as_echo "$ac_try_echo") >&5
3434
3612
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3435
3613
  ac_status=$?
3436
3614
  grep -v '^ *+' conftest.er1 >conftest.err
3437
3615
  rm -f conftest.er1
3438
3616
  cat conftest.err >&5
3439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3617
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440
3618
  (exit $ac_status); } >/dev/null && {
3441
3619
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3442
3620
         test ! -s conftest.err
3443
3621
       }; then
3444
3622
  :
3445
3623
else
3446
 
  echo "$as_me: failed program was:" >&5
 
3624
  $as_echo "$as_me: failed program was:" >&5
3447
3625
sed 's/^/| /' conftest.$ac_ext >&5
3448
3626
 
3449
3627
  # Broken: fails on valid input.
3467
3645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468
3646
  *) ac_try_echo=$ac_try;;
3469
3647
esac
3470
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3648
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3649
$as_echo "$ac_try_echo") >&5
3471
3650
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3472
3651
  ac_status=$?
3473
3652
  grep -v '^ *+' conftest.er1 >conftest.err
3474
3653
  rm -f conftest.er1
3475
3654
  cat conftest.err >&5
3476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3655
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477
3656
  (exit $ac_status); } >/dev/null && {
3478
3657
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3479
3658
         test ! -s conftest.err
3481
3660
  # Broken: success on invalid input.
3482
3661
continue
3483
3662
else
3484
 
  echo "$as_me: failed program was:" >&5
 
3663
  $as_echo "$as_me: failed program was:" >&5
3485
3664
sed 's/^/| /' conftest.$ac_ext >&5
3486
3665
 
3487
3666
  # Passes both tests.
3506
3685
else
3507
3686
  ac_cv_prog_CXXCPP=$CXXCPP
3508
3687
fi
3509
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
3510
 
echo "${ECHO_T}$CXXCPP" >&6; }
 
3688
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
3689
$as_echo "$CXXCPP" >&6; }
3511
3690
ac_preproc_ok=false
3512
3691
for ac_cxx_preproc_warn_flag in '' yes
3513
3692
do
3535
3714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3536
3715
  *) ac_try_echo=$ac_try;;
3537
3716
esac
3538
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3717
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3718
$as_echo "$ac_try_echo") >&5
3539
3719
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3540
3720
  ac_status=$?
3541
3721
  grep -v '^ *+' conftest.er1 >conftest.err
3542
3722
  rm -f conftest.er1
3543
3723
  cat conftest.err >&5
3544
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3724
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545
3725
  (exit $ac_status); } >/dev/null && {
3546
3726
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3547
3727
         test ! -s conftest.err
3548
3728
       }; then
3549
3729
  :
3550
3730
else
3551
 
  echo "$as_me: failed program was:" >&5
 
3731
  $as_echo "$as_me: failed program was:" >&5
3552
3732
sed 's/^/| /' conftest.$ac_ext >&5
3553
3733
 
3554
3734
  # Broken: fails on valid input.
3572
3752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3573
3753
  *) ac_try_echo=$ac_try;;
3574
3754
esac
3575
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3755
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3756
$as_echo "$ac_try_echo") >&5
3576
3757
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3577
3758
  ac_status=$?
3578
3759
  grep -v '^ *+' conftest.er1 >conftest.err
3579
3760
  rm -f conftest.er1
3580
3761
  cat conftest.err >&5
3581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3762
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582
3763
  (exit $ac_status); } >/dev/null && {
3583
3764
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3584
3765
         test ! -s conftest.err
3586
3767
  # Broken: success on invalid input.
3587
3768
continue
3588
3769
else
3589
 
  echo "$as_me: failed program was:" >&5
 
3770
  $as_echo "$as_me: failed program was:" >&5
3590
3771
sed 's/^/| /' conftest.$ac_ext >&5
3591
3772
 
3592
3773
  # Passes both tests.
3602
3783
if $ac_preproc_ok; then
3603
3784
  :
3604
3785
else
3605
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
3786
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3787
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3788
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3606
3789
See \`config.log' for more details." >&5
3607
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
3790
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3608
3791
See \`config.log' for more details." >&2;}
3609
 
   { (exit 1); exit 1; }; }
 
3792
   { (exit 1); exit 1; }; }; }
3610
3793
fi
3611
3794
 
3612
3795
ac_ext=cpp
3616
3799
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3617
3800
 
3618
3801
 
3619
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3620
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3621
 
if test "${ac_cv_path_GREP+set}" = set; then
3622
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3623
 
else
3624
 
  # Extract the first word of "grep ggrep" to use in msg output
3625
 
if test -z "$GREP"; then
3626
 
set dummy grep ggrep; ac_prog_name=$2
3627
 
if test "${ac_cv_path_GREP+set}" = set; then
3628
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3629
 
else
 
3802
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3803
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3804
if test "${ac_cv_path_GREP+set}" = set; then
 
3805
  $as_echo_n "(cached) " >&6
 
3806
else
 
3807
  if test -z "$GREP"; then
3630
3808
  ac_path_GREP_found=false
3631
 
# Loop through the user's path and test for each of PROGNAME-LIST
3632
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3809
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3810
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633
3811
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3634
3812
do
3635
3813
  IFS=$as_save_IFS
3636
3814
  test -z "$as_dir" && as_dir=.
3637
3815
  for ac_prog in grep ggrep; do
3638
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3639
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3640
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3641
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
3816
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3817
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3818
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3819
# Check for GNU ac_path_GREP and select it if it is found.
3642
3820
  # Check for GNU $ac_path_GREP
3643
3821
case `"$ac_path_GREP" --version 2>&1` in
3644
3822
*GNU*)
3645
3823
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3646
3824
*)
3647
3825
  ac_count=0
3648
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3826
  $as_echo_n 0123456789 >"conftest.in"
3649
3827
  while :
3650
3828
  do
3651
3829
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3652
3830
    mv "conftest.tmp" "conftest.in"
3653
3831
    cp "conftest.in" "conftest.nl"
3654
 
    echo 'GREP' >> "conftest.nl"
 
3832
    $as_echo 'GREP' >> "conftest.nl"
3655
3833
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3656
3834
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3657
3835
    ac_count=`expr $ac_count + 1`
3666
3844
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3667
3845
esac
3668
3846
 
3669
 
 
3670
 
    $ac_path_GREP_found && break 3
 
3847
      $ac_path_GREP_found && break 3
 
3848
    done
3671
3849
  done
3672
3850
done
3673
 
 
3674
 
done
3675
3851
IFS=$as_save_IFS
3676
 
 
3677
 
 
3678
 
fi
3679
 
 
3680
 
GREP="$ac_cv_path_GREP"
3681
 
if test -z "$GREP"; then
3682
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3683
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3852
  if test -z "$ac_cv_path_GREP"; then
 
3853
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3854
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3684
3855
   { (exit 1); exit 1; }; }
3685
 
fi
3686
 
 
 
3856
  fi
3687
3857
else
3688
3858
  ac_cv_path_GREP=$GREP
3689
3859
fi
3690
3860
 
3691
 
 
3692
3861
fi
3693
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3694
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3862
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3863
$as_echo "$ac_cv_path_GREP" >&6; }
3695
3864
 GREP="$ac_cv_path_GREP"
3696
3865
 
3697
3866
 
3698
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3699
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3867
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3868
$as_echo_n "checking for egrep... " >&6; }
3700
3869
if test "${ac_cv_path_EGREP+set}" = set; then
3701
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3870
  $as_echo_n "(cached) " >&6
3702
3871
else
3703
3872
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3704
3873
   then ac_cv_path_EGREP="$GREP -E"
3705
3874
   else
3706
 
     # Extract the first word of "egrep" to use in msg output
3707
 
if test -z "$EGREP"; then
3708
 
set dummy egrep; ac_prog_name=$2
3709
 
if test "${ac_cv_path_EGREP+set}" = set; then
3710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3711
 
else
 
3875
     if test -z "$EGREP"; then
3712
3876
  ac_path_EGREP_found=false
3713
 
# Loop through the user's path and test for each of PROGNAME-LIST
3714
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3877
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3878
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715
3879
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3716
3880
do
3717
3881
  IFS=$as_save_IFS
3718
3882
  test -z "$as_dir" && as_dir=.
3719
3883
  for ac_prog in egrep; do
3720
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3721
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3722
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3723
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3884
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3885
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3886
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3887
# Check for GNU ac_path_EGREP and select it if it is found.
3724
3888
  # Check for GNU $ac_path_EGREP
3725
3889
case `"$ac_path_EGREP" --version 2>&1` in
3726
3890
*GNU*)
3727
3891
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3728
3892
*)
3729
3893
  ac_count=0
3730
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3894
  $as_echo_n 0123456789 >"conftest.in"
3731
3895
  while :
3732
3896
  do
3733
3897
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3734
3898
    mv "conftest.tmp" "conftest.in"
3735
3899
    cp "conftest.in" "conftest.nl"
3736
 
    echo 'EGREP' >> "conftest.nl"
 
3900
    $as_echo 'EGREP' >> "conftest.nl"
3737
3901
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3738
3902
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3739
3903
    ac_count=`expr $ac_count + 1`
3748
3912
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3749
3913
esac
3750
3914
 
3751
 
 
3752
 
    $ac_path_EGREP_found && break 3
 
3915
      $ac_path_EGREP_found && break 3
 
3916
    done
3753
3917
  done
3754
3918
done
3755
 
 
3756
 
done
3757
3919
IFS=$as_save_IFS
3758
 
 
3759
 
 
3760
 
fi
3761
 
 
3762
 
EGREP="$ac_cv_path_EGREP"
3763
 
if test -z "$EGREP"; then
3764
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3765
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3920
  if test -z "$ac_cv_path_EGREP"; then
 
3921
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3922
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3766
3923
   { (exit 1); exit 1; }; }
3767
 
fi
3768
 
 
 
3924
  fi
3769
3925
else
3770
3926
  ac_cv_path_EGREP=$EGREP
3771
3927
fi
3772
3928
 
3773
 
 
3774
3929
   fi
3775
3930
fi
3776
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3777
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3931
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3932
$as_echo "$ac_cv_path_EGREP" >&6; }
3778
3933
 EGREP="$ac_cv_path_EGREP"
3779
3934
 
3780
3935
 
3781
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3782
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
3936
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3937
$as_echo_n "checking for ANSI C header files... " >&6; }
3783
3938
if test "${ac_cv_header_stdc+set}" = set; then
3784
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3939
  $as_echo_n "(cached) " >&6
3785
3940
else
3786
3941
  cat >conftest.$ac_ext <<_ACEOF
3787
3942
/* confdefs.h.  */
3808
3963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809
3964
  *) ac_try_echo=$ac_try;;
3810
3965
esac
3811
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3966
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3967
$as_echo "$ac_try_echo") >&5
3812
3968
  (eval "$ac_compile") 2>conftest.er1
3813
3969
  ac_status=$?
3814
3970
  grep -v '^ *+' conftest.er1 >conftest.err
3815
3971
  rm -f conftest.er1
3816
3972
  cat conftest.err >&5
3817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3973
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818
3974
  (exit $ac_status); } && {
3819
3975
         test -z "$ac_cxx_werror_flag" ||
3820
3976
         test ! -s conftest.err
3821
3977
       } && test -s conftest.$ac_objext; then
3822
3978
  ac_cv_header_stdc=yes
3823
3979
else
3824
 
  echo "$as_me: failed program was:" >&5
 
3980
  $as_echo "$as_me: failed program was:" >&5
3825
3981
sed 's/^/| /' conftest.$ac_ext >&5
3826
3982
 
3827
3983
        ac_cv_header_stdc=no
3913
4069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3914
4070
  *) ac_try_echo=$ac_try;;
3915
4071
esac
3916
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4072
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4073
$as_echo "$ac_try_echo") >&5
3917
4074
  (eval "$ac_link") 2>&5
3918
4075
  ac_status=$?
3919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4076
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920
4077
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3921
4078
  { (case "(($ac_try" in
3922
4079
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923
4080
  *) ac_try_echo=$ac_try;;
3924
4081
esac
3925
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4082
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4083
$as_echo "$ac_try_echo") >&5
3926
4084
  (eval "$ac_try") 2>&5
3927
4085
  ac_status=$?
3928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4086
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929
4087
  (exit $ac_status); }; }; then
3930
4088
  :
3931
4089
else
3932
 
  echo "$as_me: program exited with status $ac_status" >&5
3933
 
echo "$as_me: failed program was:" >&5
 
4090
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4091
$as_echo "$as_me: failed program was:" >&5
3934
4092
sed 's/^/| /' conftest.$ac_ext >&5
3935
4093
 
3936
4094
( exit $ac_status )
3937
4095
ac_cv_header_stdc=no
3938
4096
fi
 
4097
rm -rf conftest.dSYM
3939
4098
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3940
4099
fi
3941
4100
 
3942
4101
 
3943
4102
fi
3944
4103
fi
3945
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3946
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4104
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4105
$as_echo "$ac_cv_header_stdc" >&6; }
3947
4106
if test $ac_cv_header_stdc = yes; then
3948
4107
 
3949
4108
cat >>confdefs.h <<\_ACEOF
3965
4124
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3966
4125
                  inttypes.h stdint.h unistd.h
3967
4126
do
3968
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3969
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3970
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4127
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4128
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4129
$as_echo_n "checking for $ac_header... " >&6; }
3971
4130
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3972
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4131
  $as_echo_n "(cached) " >&6
3973
4132
else
3974
4133
  cat >conftest.$ac_ext <<_ACEOF
3975
4134
/* confdefs.h.  */
3987
4146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988
4147
  *) ac_try_echo=$ac_try;;
3989
4148
esac
3990
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4149
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4150
$as_echo "$ac_try_echo") >&5
3991
4151
  (eval "$ac_compile") 2>conftest.er1
3992
4152
  ac_status=$?
3993
4153
  grep -v '^ *+' conftest.er1 >conftest.err
3994
4154
  rm -f conftest.er1
3995
4155
  cat conftest.err >&5
3996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4156
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997
4157
  (exit $ac_status); } && {
3998
4158
         test -z "$ac_cxx_werror_flag" ||
3999
4159
         test ! -s conftest.err
4000
4160
       } && test -s conftest.$ac_objext; then
4001
4161
  eval "$as_ac_Header=yes"
4002
4162
else
4003
 
  echo "$as_me: failed program was:" >&5
 
4163
  $as_echo "$as_me: failed program was:" >&5
4004
4164
sed 's/^/| /' conftest.$ac_ext >&5
4005
4165
 
4006
4166
        eval "$as_ac_Header=no"
4008
4168
 
4009
4169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4010
4170
fi
4011
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4012
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4013
 
echo "${ECHO_T}$ac_res" >&6; }
4014
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4171
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4172
                 $as_echo "$as_val"'`
 
4173
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4174
$as_echo "$ac_res" >&6; }
 
4175
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4176
                 $as_echo "$as_val"'`
 
4177
   if test "x$as_val" = x""yes; then
4015
4178
  cat >>confdefs.h <<_ACEOF
4016
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4179
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4017
4180
_ACEOF
4018
4181
 
4019
4182
fi
4029
4192
 
4030
4193
for ac_header in fcntl.h limits.h strings.h sys/ioctl.h sys/time.h unistd.h
4031
4194
do
4032
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4033
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4034
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4035
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4036
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4037
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4195
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4196
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4197
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4198
$as_echo_n "checking for $ac_header... " >&6; }
 
4199
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4200
  $as_echo_n "(cached) " >&6
4038
4201
fi
4039
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4040
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4041
 
echo "${ECHO_T}$ac_res" >&6; }
 
4202
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4203
                 $as_echo "$as_val"'`
 
4204
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4205
$as_echo "$ac_res" >&6; }
4042
4206
else
4043
4207
  # Is the header compilable?
4044
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4045
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4208
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4209
$as_echo_n "checking $ac_header usability... " >&6; }
4046
4210
cat >conftest.$ac_ext <<_ACEOF
4047
4211
/* confdefs.h.  */
4048
4212
_ACEOF
4058
4222
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059
4223
  *) ac_try_echo=$ac_try;;
4060
4224
esac
4061
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4225
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4226
$as_echo "$ac_try_echo") >&5
4062
4227
  (eval "$ac_compile") 2>conftest.er1
4063
4228
  ac_status=$?
4064
4229
  grep -v '^ *+' conftest.er1 >conftest.err
4065
4230
  rm -f conftest.er1
4066
4231
  cat conftest.err >&5
4067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4232
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068
4233
  (exit $ac_status); } && {
4069
4234
         test -z "$ac_cxx_werror_flag" ||
4070
4235
         test ! -s conftest.err
4071
4236
       } && test -s conftest.$ac_objext; then
4072
4237
  ac_header_compiler=yes
4073
4238
else
4074
 
  echo "$as_me: failed program was:" >&5
 
4239
  $as_echo "$as_me: failed program was:" >&5
4075
4240
sed 's/^/| /' conftest.$ac_ext >&5
4076
4241
 
4077
4242
        ac_header_compiler=no
4078
4243
fi
4079
4244
 
4080
4245
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4082
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4246
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4247
$as_echo "$ac_header_compiler" >&6; }
4083
4248
 
4084
4249
# Is the header present?
4085
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4086
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4250
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4251
$as_echo_n "checking $ac_header presence... " >&6; }
4087
4252
cat >conftest.$ac_ext <<_ACEOF
4088
4253
/* confdefs.h.  */
4089
4254
_ACEOF
4097
4262
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098
4263
  *) ac_try_echo=$ac_try;;
4099
4264
esac
4100
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4265
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4266
$as_echo "$ac_try_echo") >&5
4101
4267
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4102
4268
  ac_status=$?
4103
4269
  grep -v '^ *+' conftest.er1 >conftest.err
4104
4270
  rm -f conftest.er1
4105
4271
  cat conftest.err >&5
4106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4272
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107
4273
  (exit $ac_status); } >/dev/null && {
4108
4274
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4109
4275
         test ! -s conftest.err
4110
4276
       }; then
4111
4277
  ac_header_preproc=yes
4112
4278
else
4113
 
  echo "$as_me: failed program was:" >&5
 
4279
  $as_echo "$as_me: failed program was:" >&5
4114
4280
sed 's/^/| /' conftest.$ac_ext >&5
4115
4281
 
4116
4282
  ac_header_preproc=no
4117
4283
fi
4118
4284
 
4119
4285
rm -f conftest.err conftest.$ac_ext
4120
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4121
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4286
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4287
$as_echo "$ac_header_preproc" >&6; }
4122
4288
 
4123
4289
# So?  What about this header?
4124
4290
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4125
4291
  yes:no: )
4126
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4127
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4128
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4129
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4292
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4293
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4294
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4295
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4130
4296
    ac_header_preproc=yes
4131
4297
    ;;
4132
4298
  no:yes:* )
4133
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4134
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4135
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4136
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4137
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4138
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4139
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4140
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4141
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4142
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4143
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4144
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4299
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4300
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4301
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4302
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4303
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4304
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4305
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4306
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4307
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4308
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4309
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4310
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4145
4311
 
4146
4312
    ;;
4147
4313
esac
4148
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4149
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4314
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4315
$as_echo_n "checking for $ac_header... " >&6; }
4150
4316
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4151
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4317
  $as_echo_n "(cached) " >&6
4152
4318
else
4153
4319
  eval "$as_ac_Header=\$ac_header_preproc"
4154
4320
fi
4155
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4156
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4157
 
echo "${ECHO_T}$ac_res" >&6; }
 
4321
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4322
                 $as_echo "$as_val"'`
 
4323
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4324
$as_echo "$ac_res" >&6; }
4158
4325
 
4159
4326
fi
4160
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4327
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4328
                 $as_echo "$as_val"'`
 
4329
   if test "x$as_val" = x""yes; then
4161
4330
  cat >>confdefs.h <<_ACEOF
4162
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4331
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4163
4332
_ACEOF
4164
4333
 
4165
4334
fi
4170
4339
 
4171
4340
for ac_header in linux/threads.h linux/tasks.h
4172
4341
do
4173
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4174
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4175
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4176
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4177
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4178
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4342
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4343
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4344
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4345
$as_echo_n "checking for $ac_header... " >&6; }
 
4346
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4347
  $as_echo_n "(cached) " >&6
4179
4348
fi
4180
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4181
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4182
 
echo "${ECHO_T}$ac_res" >&6; }
 
4349
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4350
                 $as_echo "$as_val"'`
 
4351
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4352
$as_echo "$ac_res" >&6; }
4183
4353
else
4184
4354
  # Is the header compilable?
4185
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4186
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4355
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4356
$as_echo_n "checking $ac_header usability... " >&6; }
4187
4357
cat >conftest.$ac_ext <<_ACEOF
4188
4358
/* confdefs.h.  */
4189
4359
_ACEOF
4199
4369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4200
4370
  *) ac_try_echo=$ac_try;;
4201
4371
esac
4202
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4372
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4373
$as_echo "$ac_try_echo") >&5
4203
4374
  (eval "$ac_compile") 2>conftest.er1
4204
4375
  ac_status=$?
4205
4376
  grep -v '^ *+' conftest.er1 >conftest.err
4206
4377
  rm -f conftest.er1
4207
4378
  cat conftest.err >&5
4208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4379
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209
4380
  (exit $ac_status); } && {
4210
4381
         test -z "$ac_cxx_werror_flag" ||
4211
4382
         test ! -s conftest.err
4212
4383
       } && test -s conftest.$ac_objext; then
4213
4384
  ac_header_compiler=yes
4214
4385
else
4215
 
  echo "$as_me: failed program was:" >&5
 
4386
  $as_echo "$as_me: failed program was:" >&5
4216
4387
sed 's/^/| /' conftest.$ac_ext >&5
4217
4388
 
4218
4389
        ac_header_compiler=no
4219
4390
fi
4220
4391
 
4221
4392
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4223
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4393
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4394
$as_echo "$ac_header_compiler" >&6; }
4224
4395
 
4225
4396
# Is the header present?
4226
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4227
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4397
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4398
$as_echo_n "checking $ac_header presence... " >&6; }
4228
4399
cat >conftest.$ac_ext <<_ACEOF
4229
4400
/* confdefs.h.  */
4230
4401
_ACEOF
4238
4409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239
4410
  *) ac_try_echo=$ac_try;;
4240
4411
esac
4241
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4412
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4413
$as_echo "$ac_try_echo") >&5
4242
4414
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4243
4415
  ac_status=$?
4244
4416
  grep -v '^ *+' conftest.er1 >conftest.err
4245
4417
  rm -f conftest.er1
4246
4418
  cat conftest.err >&5
4247
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4419
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248
4420
  (exit $ac_status); } >/dev/null && {
4249
4421
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4250
4422
         test ! -s conftest.err
4251
4423
       }; then
4252
4424
  ac_header_preproc=yes
4253
4425
else
4254
 
  echo "$as_me: failed program was:" >&5
 
4426
  $as_echo "$as_me: failed program was:" >&5
4255
4427
sed 's/^/| /' conftest.$ac_ext >&5
4256
4428
 
4257
4429
  ac_header_preproc=no
4258
4430
fi
4259
4431
 
4260
4432
rm -f conftest.err conftest.$ac_ext
4261
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4262
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4433
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4434
$as_echo "$ac_header_preproc" >&6; }
4263
4435
 
4264
4436
# So?  What about this header?
4265
4437
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4266
4438
  yes:no: )
4267
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4268
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4269
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4270
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4439
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4440
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4441
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4442
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4271
4443
    ac_header_preproc=yes
4272
4444
    ;;
4273
4445
  no:yes:* )
4274
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4275
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4276
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4277
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4278
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4279
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4280
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4281
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4282
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4283
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4284
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4285
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4446
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4447
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4448
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4449
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4450
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4451
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4452
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4453
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4454
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4455
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4456
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4457
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4286
4458
 
4287
4459
    ;;
4288
4460
esac
4289
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4290
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4461
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4462
$as_echo_n "checking for $ac_header... " >&6; }
4291
4463
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4292
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4464
  $as_echo_n "(cached) " >&6
4293
4465
else
4294
4466
  eval "$as_ac_Header=\$ac_header_preproc"
4295
4467
fi
4296
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4297
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4298
 
echo "${ECHO_T}$ac_res" >&6; }
 
4468
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4469
                 $as_echo "$as_val"'`
 
4470
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4471
$as_echo "$ac_res" >&6; }
4299
4472
 
4300
4473
fi
4301
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4474
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4475
                 $as_echo "$as_val"'`
 
4476
   if test "x$as_val" = x""yes; then
4302
4477
  cat >>confdefs.h <<_ACEOF
4303
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4478
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4304
4479
_ACEOF
4305
4480
 
4306
4481
fi
4314
4489
 
4315
4490
for ac_header in sched.h sys/dkstat.h sys/param.h sys/sysctl.h uvm/uvm_param.h
4316
4491
do
4317
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4318
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4319
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4320
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4321
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4322
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4492
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4493
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4494
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4495
$as_echo_n "checking for $ac_header... " >&6; }
 
4496
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4497
  $as_echo_n "(cached) " >&6
4323
4498
fi
4324
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4325
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4326
 
echo "${ECHO_T}$ac_res" >&6; }
 
4499
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4500
                 $as_echo "$as_val"'`
 
4501
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4502
$as_echo "$ac_res" >&6; }
4327
4503
else
4328
4504
  # Is the header compilable?
4329
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4330
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4505
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4506
$as_echo_n "checking $ac_header usability... " >&6; }
4331
4507
cat >conftest.$ac_ext <<_ACEOF
4332
4508
/* confdefs.h.  */
4333
4509
_ACEOF
4343
4519
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4344
4520
  *) ac_try_echo=$ac_try;;
4345
4521
esac
4346
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4522
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4523
$as_echo "$ac_try_echo") >&5
4347
4524
  (eval "$ac_compile") 2>conftest.er1
4348
4525
  ac_status=$?
4349
4526
  grep -v '^ *+' conftest.er1 >conftest.err
4350
4527
  rm -f conftest.er1
4351
4528
  cat conftest.err >&5
4352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4529
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353
4530
  (exit $ac_status); } && {
4354
4531
         test -z "$ac_cxx_werror_flag" ||
4355
4532
         test ! -s conftest.err
4356
4533
       } && test -s conftest.$ac_objext; then
4357
4534
  ac_header_compiler=yes
4358
4535
else
4359
 
  echo "$as_me: failed program was:" >&5
 
4536
  $as_echo "$as_me: failed program was:" >&5
4360
4537
sed 's/^/| /' conftest.$ac_ext >&5
4361
4538
 
4362
4539
        ac_header_compiler=no
4363
4540
fi
4364
4541
 
4365
4542
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4366
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4367
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4543
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4544
$as_echo "$ac_header_compiler" >&6; }
4368
4545
 
4369
4546
# Is the header present?
4370
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4371
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4547
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4548
$as_echo_n "checking $ac_header presence... " >&6; }
4372
4549
cat >conftest.$ac_ext <<_ACEOF
4373
4550
/* confdefs.h.  */
4374
4551
_ACEOF
4382
4559
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4383
4560
  *) ac_try_echo=$ac_try;;
4384
4561
esac
4385
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4562
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4563
$as_echo "$ac_try_echo") >&5
4386
4564
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4387
4565
  ac_status=$?
4388
4566
  grep -v '^ *+' conftest.er1 >conftest.err
4389
4567
  rm -f conftest.er1
4390
4568
  cat conftest.err >&5
4391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4569
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392
4570
  (exit $ac_status); } >/dev/null && {
4393
4571
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4394
4572
         test ! -s conftest.err
4395
4573
       }; then
4396
4574
  ac_header_preproc=yes
4397
4575
else
4398
 
  echo "$as_me: failed program was:" >&5
 
4576
  $as_echo "$as_me: failed program was:" >&5
4399
4577
sed 's/^/| /' conftest.$ac_ext >&5
4400
4578
 
4401
4579
  ac_header_preproc=no
4402
4580
fi
4403
4581
 
4404
4582
rm -f conftest.err conftest.$ac_ext
4405
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4406
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4583
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4584
$as_echo "$ac_header_preproc" >&6; }
4407
4585
 
4408
4586
# So?  What about this header?
4409
4587
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4410
4588
  yes:no: )
4411
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4412
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4413
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4414
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4589
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4590
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4591
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4592
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4415
4593
    ac_header_preproc=yes
4416
4594
    ;;
4417
4595
  no:yes:* )
4418
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4419
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4420
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4421
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4422
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4423
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4424
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4425
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4426
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4427
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4428
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4429
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4596
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4597
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4598
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4599
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4600
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4601
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4602
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4603
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4604
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4605
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4606
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4607
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4430
4608
 
4431
4609
    ;;
4432
4610
esac
4433
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4434
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4611
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4612
$as_echo_n "checking for $ac_header... " >&6; }
4435
4613
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4436
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4614
  $as_echo_n "(cached) " >&6
4437
4615
else
4438
4616
  eval "$as_ac_Header=\$ac_header_preproc"
4439
4617
fi
4440
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4441
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4442
 
echo "${ECHO_T}$ac_res" >&6; }
 
4618
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4619
                 $as_echo "$as_val"'`
 
4620
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4621
$as_echo "$ac_res" >&6; }
4443
4622
 
4444
4623
fi
4445
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4624
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4625
                 $as_echo "$as_val"'`
 
4626
   if test "x$as_val" = x""yes; then
4446
4627
  cat >>confdefs.h <<_ACEOF
4447
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4628
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4448
4629
_ACEOF
4449
4630
 
4450
4631
fi
4455
4636
 
4456
4637
for ac_header in libgen.h
4457
4638
do
4458
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4459
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4460
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4461
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4462
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4463
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4639
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4640
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4641
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4642
$as_echo_n "checking for $ac_header... " >&6; }
 
4643
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4644
  $as_echo_n "(cached) " >&6
4464
4645
fi
4465
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4466
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4467
 
echo "${ECHO_T}$ac_res" >&6; }
 
4646
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4647
                 $as_echo "$as_val"'`
 
4648
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4649
$as_echo "$ac_res" >&6; }
4468
4650
else
4469
4651
  # Is the header compilable?
4470
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4471
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4652
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4653
$as_echo_n "checking $ac_header usability... " >&6; }
4472
4654
cat >conftest.$ac_ext <<_ACEOF
4473
4655
/* confdefs.h.  */
4474
4656
_ACEOF
4484
4666
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4485
4667
  *) ac_try_echo=$ac_try;;
4486
4668
esac
4487
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4669
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4670
$as_echo "$ac_try_echo") >&5
4488
4671
  (eval "$ac_compile") 2>conftest.er1
4489
4672
  ac_status=$?
4490
4673
  grep -v '^ *+' conftest.er1 >conftest.err
4491
4674
  rm -f conftest.er1
4492
4675
  cat conftest.err >&5
4493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4676
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494
4677
  (exit $ac_status); } && {
4495
4678
         test -z "$ac_cxx_werror_flag" ||
4496
4679
         test ! -s conftest.err
4497
4680
       } && test -s conftest.$ac_objext; then
4498
4681
  ac_header_compiler=yes
4499
4682
else
4500
 
  echo "$as_me: failed program was:" >&5
 
4683
  $as_echo "$as_me: failed program was:" >&5
4501
4684
sed 's/^/| /' conftest.$ac_ext >&5
4502
4685
 
4503
4686
        ac_header_compiler=no
4504
4687
fi
4505
4688
 
4506
4689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4508
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4690
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4691
$as_echo "$ac_header_compiler" >&6; }
4509
4692
 
4510
4693
# Is the header present?
4511
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4512
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4694
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4695
$as_echo_n "checking $ac_header presence... " >&6; }
4513
4696
cat >conftest.$ac_ext <<_ACEOF
4514
4697
/* confdefs.h.  */
4515
4698
_ACEOF
4523
4706
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4524
4707
  *) ac_try_echo=$ac_try;;
4525
4708
esac
4526
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4709
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4710
$as_echo "$ac_try_echo") >&5
4527
4711
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4528
4712
  ac_status=$?
4529
4713
  grep -v '^ *+' conftest.er1 >conftest.err
4530
4714
  rm -f conftest.er1
4531
4715
  cat conftest.err >&5
4532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4716
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533
4717
  (exit $ac_status); } >/dev/null && {
4534
4718
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4535
4719
         test ! -s conftest.err
4536
4720
       }; then
4537
4721
  ac_header_preproc=yes
4538
4722
else
4539
 
  echo "$as_me: failed program was:" >&5
 
4723
  $as_echo "$as_me: failed program was:" >&5
4540
4724
sed 's/^/| /' conftest.$ac_ext >&5
4541
4725
 
4542
4726
  ac_header_preproc=no
4543
4727
fi
4544
4728
 
4545
4729
rm -f conftest.err conftest.$ac_ext
4546
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4547
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4730
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4731
$as_echo "$ac_header_preproc" >&6; }
4548
4732
 
4549
4733
# So?  What about this header?
4550
4734
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4551
4735
  yes:no: )
4552
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4553
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4554
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4555
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4736
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4737
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4738
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4739
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4556
4740
    ac_header_preproc=yes
4557
4741
    ;;
4558
4742
  no:yes:* )
4559
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4560
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4561
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4562
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4563
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4564
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4565
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4566
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4567
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4568
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4569
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4570
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4743
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4744
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4745
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4746
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4747
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4748
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4749
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4750
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4751
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4752
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4753
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4754
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4571
4755
 
4572
4756
    ;;
4573
4757
esac
4574
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4575
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4758
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4759
$as_echo_n "checking for $ac_header... " >&6; }
4576
4760
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4577
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4761
  $as_echo_n "(cached) " >&6
4578
4762
else
4579
4763
  eval "$as_ac_Header=\$ac_header_preproc"
4580
4764
fi
4581
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4582
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4583
 
echo "${ECHO_T}$ac_res" >&6; }
 
4765
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4766
                 $as_echo "$as_val"'`
 
4767
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4768
$as_echo "$ac_res" >&6; }
4584
4769
 
4585
4770
fi
4586
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4771
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4772
                 $as_echo "$as_val"'`
 
4773
   if test "x$as_val" = x""yes; then
4587
4774
  cat >>confdefs.h <<_ACEOF
4588
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4775
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4589
4776
_ACEOF
4590
4777
 
4591
4778
fi
4594
4781
 
4595
4782
for ac_header in machine/apmvar.h
4596
4783
do
4597
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4598
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4599
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4600
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4601
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4602
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4784
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4785
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4786
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4787
$as_echo_n "checking for $ac_header... " >&6; }
 
4788
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4789
  $as_echo_n "(cached) " >&6
4603
4790
fi
4604
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4605
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4606
 
echo "${ECHO_T}$ac_res" >&6; }
 
4791
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4792
                 $as_echo "$as_val"'`
 
4793
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4794
$as_echo "$ac_res" >&6; }
4607
4795
else
4608
4796
  # Is the header compilable?
4609
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4610
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4797
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4798
$as_echo_n "checking $ac_header usability... " >&6; }
4611
4799
cat >conftest.$ac_ext <<_ACEOF
4612
4800
/* confdefs.h.  */
4613
4801
_ACEOF
4623
4811
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624
4812
  *) ac_try_echo=$ac_try;;
4625
4813
esac
4626
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4814
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4815
$as_echo "$ac_try_echo") >&5
4627
4816
  (eval "$ac_compile") 2>conftest.er1
4628
4817
  ac_status=$?
4629
4818
  grep -v '^ *+' conftest.er1 >conftest.err
4630
4819
  rm -f conftest.er1
4631
4820
  cat conftest.err >&5
4632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4821
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633
4822
  (exit $ac_status); } && {
4634
4823
         test -z "$ac_cxx_werror_flag" ||
4635
4824
         test ! -s conftest.err
4636
4825
       } && test -s conftest.$ac_objext; then
4637
4826
  ac_header_compiler=yes
4638
4827
else
4639
 
  echo "$as_me: failed program was:" >&5
 
4828
  $as_echo "$as_me: failed program was:" >&5
4640
4829
sed 's/^/| /' conftest.$ac_ext >&5
4641
4830
 
4642
4831
        ac_header_compiler=no
4643
4832
fi
4644
4833
 
4645
4834
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4647
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4835
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4836
$as_echo "$ac_header_compiler" >&6; }
4648
4837
 
4649
4838
# Is the header present?
4650
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4651
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4839
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4840
$as_echo_n "checking $ac_header presence... " >&6; }
4652
4841
cat >conftest.$ac_ext <<_ACEOF
4653
4842
/* confdefs.h.  */
4654
4843
_ACEOF
4662
4851
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663
4852
  *) ac_try_echo=$ac_try;;
4664
4853
esac
4665
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4854
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4855
$as_echo "$ac_try_echo") >&5
4666
4856
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4667
4857
  ac_status=$?
4668
4858
  grep -v '^ *+' conftest.er1 >conftest.err
4669
4859
  rm -f conftest.er1
4670
4860
  cat conftest.err >&5
4671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4861
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672
4862
  (exit $ac_status); } >/dev/null && {
4673
4863
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4674
4864
         test ! -s conftest.err
4675
4865
       }; then
4676
4866
  ac_header_preproc=yes
4677
4867
else
4678
 
  echo "$as_me: failed program was:" >&5
 
4868
  $as_echo "$as_me: failed program was:" >&5
4679
4869
sed 's/^/| /' conftest.$ac_ext >&5
4680
4870
 
4681
4871
  ac_header_preproc=no
4682
4872
fi
4683
4873
 
4684
4874
rm -f conftest.err conftest.$ac_ext
4685
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4686
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4875
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4876
$as_echo "$ac_header_preproc" >&6; }
4687
4877
 
4688
4878
# So?  What about this header?
4689
4879
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4690
4880
  yes:no: )
4691
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4692
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4693
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4694
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4881
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4882
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4883
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4884
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4695
4885
    ac_header_preproc=yes
4696
4886
    ;;
4697
4887
  no:yes:* )
4698
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4699
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4700
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4701
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4702
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4703
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4704
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4705
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4706
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4707
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4708
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4709
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4888
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4889
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4890
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4891
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4892
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4893
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4894
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4895
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4896
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4897
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4898
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4899
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4710
4900
 
4711
4901
    ;;
4712
4902
esac
4713
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4714
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4903
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4904
$as_echo_n "checking for $ac_header... " >&6; }
4715
4905
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4716
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4906
  $as_echo_n "(cached) " >&6
4717
4907
else
4718
4908
  eval "$as_ac_Header=\$ac_header_preproc"
4719
4909
fi
4720
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4721
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4722
 
echo "${ECHO_T}$ac_res" >&6; }
 
4910
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4911
                 $as_echo "$as_val"'`
 
4912
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4913
$as_echo "$ac_res" >&6; }
4723
4914
 
4724
4915
fi
4725
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4916
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4917
                 $as_echo "$as_val"'`
 
4918
   if test "x$as_val" = x""yes; then
4726
4919
  cat >>confdefs.h <<_ACEOF
4727
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4920
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4728
4921
_ACEOF
4729
4922
 
4730
4923
fi
4734
4927
 
4735
4928
for ac_header in machine/apm_bios.h
4736
4929
do
4737
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4738
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4739
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4740
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4741
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4742
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4930
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4931
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4932
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4933
$as_echo_n "checking for $ac_header... " >&6; }
 
4934
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4935
  $as_echo_n "(cached) " >&6
4743
4936
fi
4744
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4745
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4746
 
echo "${ECHO_T}$ac_res" >&6; }
 
4937
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4938
                 $as_echo "$as_val"'`
 
4939
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4940
$as_echo "$ac_res" >&6; }
4747
4941
else
4748
4942
  # Is the header compilable?
4749
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4750
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4943
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4944
$as_echo_n "checking $ac_header usability... " >&6; }
4751
4945
cat >conftest.$ac_ext <<_ACEOF
4752
4946
/* confdefs.h.  */
4753
4947
_ACEOF
4763
4957
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4764
4958
  *) ac_try_echo=$ac_try;;
4765
4959
esac
4766
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4960
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4961
$as_echo "$ac_try_echo") >&5
4767
4962
  (eval "$ac_compile") 2>conftest.er1
4768
4963
  ac_status=$?
4769
4964
  grep -v '^ *+' conftest.er1 >conftest.err
4770
4965
  rm -f conftest.er1
4771
4966
  cat conftest.err >&5
4772
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4967
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773
4968
  (exit $ac_status); } && {
4774
4969
         test -z "$ac_cxx_werror_flag" ||
4775
4970
         test ! -s conftest.err
4776
4971
       } && test -s conftest.$ac_objext; then
4777
4972
  ac_header_compiler=yes
4778
4973
else
4779
 
  echo "$as_me: failed program was:" >&5
 
4974
  $as_echo "$as_me: failed program was:" >&5
4780
4975
sed 's/^/| /' conftest.$ac_ext >&5
4781
4976
 
4782
4977
        ac_header_compiler=no
4783
4978
fi
4784
4979
 
4785
4980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4787
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4981
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4982
$as_echo "$ac_header_compiler" >&6; }
4788
4983
 
4789
4984
# Is the header present?
4790
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4791
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4985
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4986
$as_echo_n "checking $ac_header presence... " >&6; }
4792
4987
cat >conftest.$ac_ext <<_ACEOF
4793
4988
/* confdefs.h.  */
4794
4989
_ACEOF
4802
4997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4803
4998
  *) ac_try_echo=$ac_try;;
4804
4999
esac
4805
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5000
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5001
$as_echo "$ac_try_echo") >&5
4806
5002
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4807
5003
  ac_status=$?
4808
5004
  grep -v '^ *+' conftest.er1 >conftest.err
4809
5005
  rm -f conftest.er1
4810
5006
  cat conftest.err >&5
4811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5007
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812
5008
  (exit $ac_status); } >/dev/null && {
4813
5009
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4814
5010
         test ! -s conftest.err
4815
5011
       }; then
4816
5012
  ac_header_preproc=yes
4817
5013
else
4818
 
  echo "$as_me: failed program was:" >&5
 
5014
  $as_echo "$as_me: failed program was:" >&5
4819
5015
sed 's/^/| /' conftest.$ac_ext >&5
4820
5016
 
4821
5017
  ac_header_preproc=no
4822
5018
fi
4823
5019
 
4824
5020
rm -f conftest.err conftest.$ac_ext
4825
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4826
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
5021
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5022
$as_echo "$ac_header_preproc" >&6; }
4827
5023
 
4828
5024
# So?  What about this header?
4829
5025
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4830
5026
  yes:no: )
4831
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4832
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4833
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4834
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5027
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5028
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5029
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5030
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4835
5031
    ac_header_preproc=yes
4836
5032
    ;;
4837
5033
  no:yes:* )
4838
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4839
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4840
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4841
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4842
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4843
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4844
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4845
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4846
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4847
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4848
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4849
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5034
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5035
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5036
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5037
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5038
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5039
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5040
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5041
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5042
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5043
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5044
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5045
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4850
5046
 
4851
5047
    ;;
4852
5048
esac
4853
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4854
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5049
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5050
$as_echo_n "checking for $ac_header... " >&6; }
4855
5051
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4856
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5052
  $as_echo_n "(cached) " >&6
4857
5053
else
4858
5054
  eval "$as_ac_Header=\$ac_header_preproc"
4859
5055
fi
4860
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4861
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4862
 
echo "${ECHO_T}$ac_res" >&6; }
 
5056
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5057
                 $as_echo "$as_val"'`
 
5058
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5059
$as_echo "$ac_res" >&6; }
4863
5060
 
4864
5061
fi
4865
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5062
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5063
                 $as_echo "$as_val"'`
 
5064
   if test "x$as_val" = x""yes; then
4866
5065
  cat >>confdefs.h <<_ACEOF
4867
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5066
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4868
5067
_ACEOF
4869
5068
 
4870
5069
fi
4875
5074
 
4876
5075
for ac_header in kstat.h
4877
5076
do
4878
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4879
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4880
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4881
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4882
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4883
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5077
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5078
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5079
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5080
$as_echo_n "checking for $ac_header... " >&6; }
 
5081
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5082
  $as_echo_n "(cached) " >&6
4884
5083
fi
4885
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4886
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4887
 
echo "${ECHO_T}$ac_res" >&6; }
 
5084
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5085
                 $as_echo "$as_val"'`
 
5086
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5087
$as_echo "$ac_res" >&6; }
4888
5088
else
4889
5089
  # Is the header compilable?
4890
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4891
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
5090
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5091
$as_echo_n "checking $ac_header usability... " >&6; }
4892
5092
cat >conftest.$ac_ext <<_ACEOF
4893
5093
/* confdefs.h.  */
4894
5094
_ACEOF
4904
5104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905
5105
  *) ac_try_echo=$ac_try;;
4906
5106
esac
4907
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5107
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5108
$as_echo "$ac_try_echo") >&5
4908
5109
  (eval "$ac_compile") 2>conftest.er1
4909
5110
  ac_status=$?
4910
5111
  grep -v '^ *+' conftest.er1 >conftest.err
4911
5112
  rm -f conftest.er1
4912
5113
  cat conftest.err >&5
4913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5114
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914
5115
  (exit $ac_status); } && {
4915
5116
         test -z "$ac_cxx_werror_flag" ||
4916
5117
         test ! -s conftest.err
4917
5118
       } && test -s conftest.$ac_objext; then
4918
5119
  ac_header_compiler=yes
4919
5120
else
4920
 
  echo "$as_me: failed program was:" >&5
 
5121
  $as_echo "$as_me: failed program was:" >&5
4921
5122
sed 's/^/| /' conftest.$ac_ext >&5
4922
5123
 
4923
5124
        ac_header_compiler=no
4924
5125
fi
4925
5126
 
4926
5127
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4928
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
5128
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5129
$as_echo "$ac_header_compiler" >&6; }
4929
5130
 
4930
5131
# Is the header present?
4931
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4932
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
5132
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5133
$as_echo_n "checking $ac_header presence... " >&6; }
4933
5134
cat >conftest.$ac_ext <<_ACEOF
4934
5135
/* confdefs.h.  */
4935
5136
_ACEOF
4943
5144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4944
5145
  *) ac_try_echo=$ac_try;;
4945
5146
esac
4946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5147
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5148
$as_echo "$ac_try_echo") >&5
4947
5149
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4948
5150
  ac_status=$?
4949
5151
  grep -v '^ *+' conftest.er1 >conftest.err
4950
5152
  rm -f conftest.er1
4951
5153
  cat conftest.err >&5
4952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5154
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953
5155
  (exit $ac_status); } >/dev/null && {
4954
5156
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4955
5157
         test ! -s conftest.err
4956
5158
       }; then
4957
5159
  ac_header_preproc=yes
4958
5160
else
4959
 
  echo "$as_me: failed program was:" >&5
 
5161
  $as_echo "$as_me: failed program was:" >&5
4960
5162
sed 's/^/| /' conftest.$ac_ext >&5
4961
5163
 
4962
5164
  ac_header_preproc=no
4963
5165
fi
4964
5166
 
4965
5167
rm -f conftest.err conftest.$ac_ext
4966
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4967
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
5168
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5169
$as_echo "$ac_header_preproc" >&6; }
4968
5170
 
4969
5171
# So?  What about this header?
4970
5172
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4971
5173
  yes:no: )
4972
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4973
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4974
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4975
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5174
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5175
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5176
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5177
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4976
5178
    ac_header_preproc=yes
4977
5179
    ;;
4978
5180
  no:yes:* )
4979
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4980
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4981
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4982
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4983
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4984
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4985
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4986
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4987
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4988
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4989
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4990
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5181
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5182
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5183
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5184
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5185
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5186
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5187
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5188
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5189
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5190
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5191
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5192
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4991
5193
 
4992
5194
    ;;
4993
5195
esac
4994
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4995
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5196
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5197
$as_echo_n "checking for $ac_header... " >&6; }
4996
5198
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4997
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5199
  $as_echo_n "(cached) " >&6
4998
5200
else
4999
5201
  eval "$as_ac_Header=\$ac_header_preproc"
5000
5202
fi
5001
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5002
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5003
 
echo "${ECHO_T}$ac_res" >&6; }
 
5203
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5204
                 $as_echo "$as_val"'`
 
5205
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5206
$as_echo "$ac_res" >&6; }
5004
5207
 
5005
5208
fi
5006
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5209
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5210
                 $as_echo "$as_val"'`
 
5211
   if test "x$as_val" = x""yes; then
5007
5212
  cat >>confdefs.h <<_ACEOF
5008
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5213
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5009
5214
_ACEOF
5010
5215
  CORE_LIBS="${CORE_LIBS} -lkstat"
5011
5216
 
5012
 
    { echo "$as_me:$LINENO: checking if have old kstat" >&5
5013
 
echo $ECHO_N "checking if have old kstat... $ECHO_C" >&6; }
 
5217
    { $as_echo "$as_me:$LINENO: checking if have old kstat" >&5
 
5218
$as_echo_n "checking if have old kstat... " >&6; }
5014
5219
    cat >conftest.$ac_ext <<_ACEOF
5015
5220
/* confdefs.h.  */
5016
5221
_ACEOF
5032
5237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5033
5238
  *) ac_try_echo=$ac_try;;
5034
5239
esac
5035
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5240
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5241
$as_echo "$ac_try_echo") >&5
5036
5242
  (eval "$ac_compile") 2>conftest.er1
5037
5243
  ac_status=$?
5038
5244
  grep -v '^ *+' conftest.er1 >conftest.err
5039
5245
  rm -f conftest.er1
5040
5246
  cat conftest.err >&5
5041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5247
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042
5248
  (exit $ac_status); } && {
5043
5249
         test -z "$ac_cxx_werror_flag" ||
5044
5250
         test ! -s conftest.err
5045
5251
       } && test -s conftest.$ac_objext; then
5046
 
   { echo "$as_me:$LINENO: result: no" >&5
5047
 
echo "${ECHO_T}no" >&6; }
 
5252
   { $as_echo "$as_me:$LINENO: result: no" >&5
 
5253
$as_echo "no" >&6; }
5048
5254
else
5049
 
  echo "$as_me: failed program was:" >&5
 
5255
  $as_echo "$as_me: failed program was:" >&5
5050
5256
sed 's/^/| /' conftest.$ac_ext >&5
5051
5257
 
5052
 
         { echo "$as_me:$LINENO: result: yes" >&5
5053
 
echo "${ECHO_T}yes" >&6; }
 
5258
         { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5259
$as_echo "yes" >&6; }
5054
5260
 
5055
5261
cat >>confdefs.h <<\_ACEOF
5056
5262
#define HAVE_OLD_KSTAT 1
5064
5270
done
5065
5271
 
5066
5272
 
5067
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
5068
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
 
5273
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
 
5274
$as_echo_n "checking for size_t... " >&6; }
5069
5275
if test "${ac_cv_type_size_t+set}" = set; then
5070
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5276
  $as_echo_n "(cached) " >&6
5071
5277
else
 
5278
  ac_cv_type_size_t=no
 
5279
cat >conftest.$ac_ext <<_ACEOF
 
5280
/* confdefs.h.  */
 
5281
_ACEOF
 
5282
cat confdefs.h >>conftest.$ac_ext
 
5283
cat >>conftest.$ac_ext <<_ACEOF
 
5284
/* end confdefs.h.  */
 
5285
$ac_includes_default
 
5286
int
 
5287
main ()
 
5288
{
 
5289
if (sizeof (size_t))
 
5290
       return 0;
 
5291
  ;
 
5292
  return 0;
 
5293
}
 
5294
_ACEOF
 
5295
rm -f conftest.$ac_objext
 
5296
if { (ac_try="$ac_compile"
 
5297
case "(($ac_try" in
 
5298
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5299
  *) ac_try_echo=$ac_try;;
 
5300
esac
 
5301
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5302
$as_echo "$ac_try_echo") >&5
 
5303
  (eval "$ac_compile") 2>conftest.er1
 
5304
  ac_status=$?
 
5305
  grep -v '^ *+' conftest.er1 >conftest.err
 
5306
  rm -f conftest.er1
 
5307
  cat conftest.err >&5
 
5308
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5309
  (exit $ac_status); } && {
 
5310
         test -z "$ac_cxx_werror_flag" ||
 
5311
         test ! -s conftest.err
 
5312
       } && test -s conftest.$ac_objext; then
5072
5313
  cat >conftest.$ac_ext <<_ACEOF
5073
5314
/* confdefs.h.  */
5074
5315
_ACEOF
5076
5317
cat >>conftest.$ac_ext <<_ACEOF
5077
5318
/* end confdefs.h.  */
5078
5319
$ac_includes_default
5079
 
typedef size_t ac__type_new_;
5080
5320
int
5081
5321
main ()
5082
5322
{
5083
 
if ((ac__type_new_ *) 0)
5084
 
  return 0;
5085
 
if (sizeof (ac__type_new_))
5086
 
  return 0;
 
5323
if (sizeof ((size_t)))
 
5324
          return 0;
5087
5325
  ;
5088
5326
  return 0;
5089
5327
}
5094
5332
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095
5333
  *) ac_try_echo=$ac_try;;
5096
5334
esac
5097
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5335
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5336
$as_echo "$ac_try_echo") >&5
5098
5337
  (eval "$ac_compile") 2>conftest.er1
5099
5338
  ac_status=$?
5100
5339
  grep -v '^ *+' conftest.er1 >conftest.err
5101
5340
  rm -f conftest.er1
5102
5341
  cat conftest.err >&5
5103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5342
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104
5343
  (exit $ac_status); } && {
5105
5344
         test -z "$ac_cxx_werror_flag" ||
5106
5345
         test ! -s conftest.err
5107
5346
       } && test -s conftest.$ac_objext; then
5108
 
  ac_cv_type_size_t=yes
5109
 
else
5110
 
  echo "$as_me: failed program was:" >&5
5111
 
sed 's/^/| /' conftest.$ac_ext >&5
5112
 
 
5113
 
        ac_cv_type_size_t=no
5114
 
fi
5115
 
 
5116
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5117
 
fi
5118
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5119
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5120
 
if test $ac_cv_type_size_t = yes; then
 
5347
  :
 
5348
else
 
5349
  $as_echo "$as_me: failed program was:" >&5
 
5350
sed 's/^/| /' conftest.$ac_ext >&5
 
5351
 
 
5352
        ac_cv_type_size_t=yes
 
5353
fi
 
5354
 
 
5355
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5356
else
 
5357
  $as_echo "$as_me: failed program was:" >&5
 
5358
sed 's/^/| /' conftest.$ac_ext >&5
 
5359
 
 
5360
 
 
5361
fi
 
5362
 
 
5363
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5364
fi
 
5365
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
5366
$as_echo "$ac_cv_type_size_t" >&6; }
 
5367
if test "x$ac_cv_type_size_t" = x""yes; then
5121
5368
  :
5122
5369
else
5123
5370
 
5127
5374
 
5128
5375
fi
5129
5376
 
5130
 
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5131
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
 
5377
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
5378
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5132
5379
if test "${ac_cv_header_time+set}" = set; then
5133
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5380
  $as_echo_n "(cached) " >&6
5134
5381
else
5135
5382
  cat >conftest.$ac_ext <<_ACEOF
5136
5383
/* confdefs.h.  */
5157
5404
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5158
5405
  *) ac_try_echo=$ac_try;;
5159
5406
esac
5160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5407
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5408
$as_echo "$ac_try_echo") >&5
5161
5409
  (eval "$ac_compile") 2>conftest.er1
5162
5410
  ac_status=$?
5163
5411
  grep -v '^ *+' conftest.er1 >conftest.err
5164
5412
  rm -f conftest.er1
5165
5413
  cat conftest.err >&5
5166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5414
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167
5415
  (exit $ac_status); } && {
5168
5416
         test -z "$ac_cxx_werror_flag" ||
5169
5417
         test ! -s conftest.err
5170
5418
       } && test -s conftest.$ac_objext; then
5171
5419
  ac_cv_header_time=yes
5172
5420
else
5173
 
  echo "$as_me: failed program was:" >&5
 
5421
  $as_echo "$as_me: failed program was:" >&5
5174
5422
sed 's/^/| /' conftest.$ac_ext >&5
5175
5423
 
5176
5424
        ac_cv_header_time=no
5178
5426
 
5179
5427
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5180
5428
fi
5181
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5182
 
echo "${ECHO_T}$ac_cv_header_time" >&6; }
 
5429
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
5430
$as_echo "$ac_cv_header_time" >&6; }
5183
5431
if test $ac_cv_header_time = yes; then
5184
5432
 
5185
5433
cat >>confdefs.h <<\_ACEOF
5188
5436
 
5189
5437
fi
5190
5438
 
5191
 
{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5192
 
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
 
5439
{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
 
5440
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5193
5441
if test "${ac_cv_struct_tm+set}" = set; then
5194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5442
  $as_echo_n "(cached) " >&6
5195
5443
else
5196
5444
  cat >conftest.$ac_ext <<_ACEOF
5197
5445
/* confdefs.h.  */
5207
5455
{
5208
5456
struct tm tm;
5209
5457
                                     int *p = &tm.tm_sec;
5210
 
                                     return !p;
 
5458
                                     return !p;
5211
5459
  ;
5212
5460
  return 0;
5213
5461
}
5218
5466
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5219
5467
  *) ac_try_echo=$ac_try;;
5220
5468
esac
5221
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5469
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5470
$as_echo "$ac_try_echo") >&5
5222
5471
  (eval "$ac_compile") 2>conftest.er1
5223
5472
  ac_status=$?
5224
5473
  grep -v '^ *+' conftest.er1 >conftest.err
5225
5474
  rm -f conftest.er1
5226
5475
  cat conftest.err >&5
5227
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5476
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228
5477
  (exit $ac_status); } && {
5229
5478
         test -z "$ac_cxx_werror_flag" ||
5230
5479
         test ! -s conftest.err
5231
5480
       } && test -s conftest.$ac_objext; then
5232
5481
  ac_cv_struct_tm=time.h
5233
5482
else
5234
 
  echo "$as_me: failed program was:" >&5
 
5483
  $as_echo "$as_me: failed program was:" >&5
5235
5484
sed 's/^/| /' conftest.$ac_ext >&5
5236
5485
 
5237
5486
        ac_cv_struct_tm=sys/time.h
5239
5488
 
5240
5489
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5241
5490
fi
5242
 
{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5243
 
echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
 
5491
{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
 
5492
$as_echo "$ac_cv_struct_tm" >&6; }
5244
5493
if test $ac_cv_struct_tm = sys/time.h; then
5245
5494
 
5246
5495
cat >>confdefs.h <<\_ACEOF
5250
5499
fi
5251
5500
 
5252
5501
 
5253
 
{ echo "$as_me:$LINENO: checking for char" >&5
5254
 
echo $ECHO_N "checking for char... $ECHO_C" >&6; }
5255
 
if test "${ac_cv_type_char+set}" = set; then
5256
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5257
 
else
5258
 
  cat >conftest.$ac_ext <<_ACEOF
5259
 
/* confdefs.h.  */
5260
 
_ACEOF
5261
 
cat confdefs.h >>conftest.$ac_ext
5262
 
cat >>conftest.$ac_ext <<_ACEOF
5263
 
/* end confdefs.h.  */
5264
 
$ac_includes_default
5265
 
typedef char ac__type_new_;
5266
 
int
5267
 
main ()
5268
 
{
5269
 
if ((ac__type_new_ *) 0)
5270
 
  return 0;
5271
 
if (sizeof (ac__type_new_))
5272
 
  return 0;
5273
 
  ;
5274
 
  return 0;
5275
 
}
5276
 
_ACEOF
5277
 
rm -f conftest.$ac_objext
5278
 
if { (ac_try="$ac_compile"
5279
 
case "(($ac_try" in
5280
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281
 
  *) ac_try_echo=$ac_try;;
5282
 
esac
5283
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5284
 
  (eval "$ac_compile") 2>conftest.er1
5285
 
  ac_status=$?
5286
 
  grep -v '^ *+' conftest.er1 >conftest.err
5287
 
  rm -f conftest.er1
5288
 
  cat conftest.err >&5
5289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290
 
  (exit $ac_status); } && {
5291
 
         test -z "$ac_cxx_werror_flag" ||
5292
 
         test ! -s conftest.err
5293
 
       } && test -s conftest.$ac_objext; then
5294
 
  ac_cv_type_char=yes
5295
 
else
5296
 
  echo "$as_me: failed program was:" >&5
5297
 
sed 's/^/| /' conftest.$ac_ext >&5
5298
 
 
5299
 
        ac_cv_type_char=no
5300
 
fi
5301
 
 
5302
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5303
 
fi
5304
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
5305
 
echo "${ECHO_T}$ac_cv_type_char" >&6; }
5306
 
 
5307
5502
# The cast to long int works around a bug in the HP C Compiler
5308
5503
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5309
5504
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5310
5505
# This bug is HP SR number 8606223364.
5311
 
{ echo "$as_me:$LINENO: checking size of char" >&5
5312
 
echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
 
5506
{ $as_echo "$as_me:$LINENO: checking size of char" >&5
 
5507
$as_echo_n "checking size of char... " >&6; }
5313
5508
if test "${ac_cv_sizeof_char+set}" = set; then
5314
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5509
  $as_echo_n "(cached) " >&6
5315
5510
else
5316
5511
  if test "$cross_compiling" = yes; then
5317
5512
  # Depending upon the size, compute the lo and hi bounds.
5322
5517
cat >>conftest.$ac_ext <<_ACEOF
5323
5518
/* end confdefs.h.  */
5324
5519
$ac_includes_default
5325
 
   typedef char ac__type_sizeof_;
5326
5520
int
5327
5521
main ()
5328
5522
{
5329
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
 
5523
static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= 0)];
5330
5524
test_array [0] = 0
5331
5525
 
5332
5526
  ;
5339
5533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5340
5534
  *) ac_try_echo=$ac_try;;
5341
5535
esac
5342
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5536
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5537
$as_echo "$ac_try_echo") >&5
5343
5538
  (eval "$ac_compile") 2>conftest.er1
5344
5539
  ac_status=$?
5345
5540
  grep -v '^ *+' conftest.er1 >conftest.err
5346
5541
  rm -f conftest.er1
5347
5542
  cat conftest.err >&5
5348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5543
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349
5544
  (exit $ac_status); } && {
5350
5545
         test -z "$ac_cxx_werror_flag" ||
5351
5546
         test ! -s conftest.err
5359
5554
cat >>conftest.$ac_ext <<_ACEOF
5360
5555
/* end confdefs.h.  */
5361
5556
$ac_includes_default
5362
 
   typedef char ac__type_sizeof_;
5363
5557
int
5364
5558
main ()
5365
5559
{
5366
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 
5560
static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
5367
5561
test_array [0] = 0
5368
5562
 
5369
5563
  ;
5376
5570
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5377
5571
  *) ac_try_echo=$ac_try;;
5378
5572
esac
5379
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5573
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5574
$as_echo "$ac_try_echo") >&5
5380
5575
  (eval "$ac_compile") 2>conftest.er1
5381
5576
  ac_status=$?
5382
5577
  grep -v '^ *+' conftest.er1 >conftest.err
5383
5578
  rm -f conftest.er1
5384
5579
  cat conftest.err >&5
5385
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5580
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386
5581
  (exit $ac_status); } && {
5387
5582
         test -z "$ac_cxx_werror_flag" ||
5388
5583
         test ! -s conftest.err
5389
5584
       } && test -s conftest.$ac_objext; then
5390
5585
  ac_hi=$ac_mid; break
5391
5586
else
5392
 
  echo "$as_me: failed program was:" >&5
 
5587
  $as_echo "$as_me: failed program was:" >&5
5393
5588
sed 's/^/| /' conftest.$ac_ext >&5
5394
5589
 
5395
5590
        ac_lo=`expr $ac_mid + 1`
5403
5598
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5404
5599
  done
5405
5600
else
5406
 
  echo "$as_me: failed program was:" >&5
 
5601
  $as_echo "$as_me: failed program was:" >&5
5407
5602
sed 's/^/| /' conftest.$ac_ext >&5
5408
5603
 
5409
5604
        cat >conftest.$ac_ext <<_ACEOF
5413
5608
cat >>conftest.$ac_ext <<_ACEOF
5414
5609
/* end confdefs.h.  */
5415
5610
$ac_includes_default
5416
 
   typedef char ac__type_sizeof_;
5417
5611
int
5418
5612
main ()
5419
5613
{
5420
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
 
5614
static int test_array [1 - 2 * !(((long int) (sizeof (char))) < 0)];
5421
5615
test_array [0] = 0
5422
5616
 
5423
5617
  ;
5430
5624
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5431
5625
  *) ac_try_echo=$ac_try;;
5432
5626
esac
5433
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5627
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5628
$as_echo "$ac_try_echo") >&5
5434
5629
  (eval "$ac_compile") 2>conftest.er1
5435
5630
  ac_status=$?
5436
5631
  grep -v '^ *+' conftest.er1 >conftest.err
5437
5632
  rm -f conftest.er1
5438
5633
  cat conftest.err >&5
5439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5634
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440
5635
  (exit $ac_status); } && {
5441
5636
         test -z "$ac_cxx_werror_flag" ||
5442
5637
         test ! -s conftest.err
5450
5645
cat >>conftest.$ac_ext <<_ACEOF
5451
5646
/* end confdefs.h.  */
5452
5647
$ac_includes_default
5453
 
   typedef char ac__type_sizeof_;
5454
5648
int
5455
5649
main ()
5456
5650
{
5457
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
 
5651
static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= $ac_mid)];
5458
5652
test_array [0] = 0
5459
5653
 
5460
5654
  ;
5467
5661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5468
5662
  *) ac_try_echo=$ac_try;;
5469
5663
esac
5470
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5664
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5665
$as_echo "$ac_try_echo") >&5
5471
5666
  (eval "$ac_compile") 2>conftest.er1
5472
5667
  ac_status=$?
5473
5668
  grep -v '^ *+' conftest.er1 >conftest.err
5474
5669
  rm -f conftest.er1
5475
5670
  cat conftest.err >&5
5476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5671
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477
5672
  (exit $ac_status); } && {
5478
5673
         test -z "$ac_cxx_werror_flag" ||
5479
5674
         test ! -s conftest.err
5480
5675
       } && test -s conftest.$ac_objext; then
5481
5676
  ac_lo=$ac_mid; break
5482
5677
else
5483
 
  echo "$as_me: failed program was:" >&5
 
5678
  $as_echo "$as_me: failed program was:" >&5
5484
5679
sed 's/^/| /' conftest.$ac_ext >&5
5485
5680
 
5486
5681
        ac_hi=`expr '(' $ac_mid ')' - 1`
5494
5689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5495
5690
  done
5496
5691
else
5497
 
  echo "$as_me: failed program was:" >&5
 
5692
  $as_echo "$as_me: failed program was:" >&5
5498
5693
sed 's/^/| /' conftest.$ac_ext >&5
5499
5694
 
5500
5695
        ac_lo= ac_hi=
5514
5709
cat >>conftest.$ac_ext <<_ACEOF
5515
5710
/* end confdefs.h.  */
5516
5711
$ac_includes_default
5517
 
   typedef char ac__type_sizeof_;
5518
5712
int
5519
5713
main ()
5520
5714
{
5521
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 
5715
static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
5522
5716
test_array [0] = 0
5523
5717
 
5524
5718
  ;
5531
5725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5532
5726
  *) ac_try_echo=$ac_try;;
5533
5727
esac
5534
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5729
$as_echo "$ac_try_echo") >&5
5535
5730
  (eval "$ac_compile") 2>conftest.er1
5536
5731
  ac_status=$?
5537
5732
  grep -v '^ *+' conftest.er1 >conftest.err
5538
5733
  rm -f conftest.er1
5539
5734
  cat conftest.err >&5
5540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5735
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541
5736
  (exit $ac_status); } && {
5542
5737
         test -z "$ac_cxx_werror_flag" ||
5543
5738
         test ! -s conftest.err
5544
5739
       } && test -s conftest.$ac_objext; then
5545
5740
  ac_hi=$ac_mid
5546
5741
else
5547
 
  echo "$as_me: failed program was:" >&5
 
5742
  $as_echo "$as_me: failed program was:" >&5
5548
5743
sed 's/^/| /' conftest.$ac_ext >&5
5549
5744
 
5550
5745
        ac_lo=`expr '(' $ac_mid ')' + 1`
5555
5750
case $ac_lo in
5556
5751
?*) ac_cv_sizeof_char=$ac_lo;;
5557
5752
'') if test "$ac_cv_type_char" = yes; then
5558
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
 
5753
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5754
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5755
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
5559
5756
See \`config.log' for more details." >&5
5560
 
echo "$as_me: error: cannot compute sizeof (char)
 
5757
$as_echo "$as_me: error: cannot compute sizeof (char)
5561
5758
See \`config.log' for more details." >&2;}
5562
 
   { (exit 77); exit 77; }; }
 
5759
   { (exit 77); exit 77; }; }; }
5563
5760
   else
5564
5761
     ac_cv_sizeof_char=0
5565
5762
   fi ;;
5572
5769
cat >>conftest.$ac_ext <<_ACEOF
5573
5770
/* end confdefs.h.  */
5574
5771
$ac_includes_default
5575
 
   typedef char ac__type_sizeof_;
5576
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5577
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
5772
static long int longval () { return (long int) (sizeof (char)); }
 
5773
static unsigned long int ulongval () { return (long int) (sizeof (char)); }
5578
5774
#include <stdio.h>
5579
5775
#include <stdlib.h>
5580
5776
int
5584
5780
  FILE *f = fopen ("conftest.val", "w");
5585
5781
  if (! f)
5586
5782
    return 1;
5587
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
 
5783
  if (((long int) (sizeof (char))) < 0)
5588
5784
    {
5589
5785
      long int i = longval ();
5590
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
5786
      if (i != ((long int) (sizeof (char))))
5591
5787
        return 1;
5592
 
      fprintf (f, "%ld\n", i);
 
5788
      fprintf (f, "%ld", i);
5593
5789
    }
5594
5790
  else
5595
5791
    {
5596
5792
      unsigned long int i = ulongval ();
5597
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
5793
      if (i != ((long int) (sizeof (char))))
5598
5794
        return 1;
5599
 
      fprintf (f, "%lu\n", i);
 
5795
      fprintf (f, "%lu", i);
5600
5796
    }
 
5797
  /* Do not output a trailing newline, as this causes \r\n confusion
 
5798
     on some platforms.  */
5601
5799
  return ferror (f) || fclose (f) != 0;
5602
5800
 
5603
5801
  ;
5610
5808
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5611
5809
  *) ac_try_echo=$ac_try;;
5612
5810
esac
5613
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5811
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5812
$as_echo "$ac_try_echo") >&5
5614
5813
  (eval "$ac_link") 2>&5
5615
5814
  ac_status=$?
5616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5815
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5617
5816
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5618
5817
  { (case "(($ac_try" in
5619
5818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5620
5819
  *) ac_try_echo=$ac_try;;
5621
5820
esac
5622
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5821
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5822
$as_echo "$ac_try_echo") >&5
5623
5823
  (eval "$ac_try") 2>&5
5624
5824
  ac_status=$?
5625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5825
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626
5826
  (exit $ac_status); }; }; then
5627
5827
  ac_cv_sizeof_char=`cat conftest.val`
5628
5828
else
5629
 
  echo "$as_me: program exited with status $ac_status" >&5
5630
 
echo "$as_me: failed program was:" >&5
 
5829
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5830
$as_echo "$as_me: failed program was:" >&5
5631
5831
sed 's/^/| /' conftest.$ac_ext >&5
5632
5832
 
5633
5833
( exit $ac_status )
5634
5834
if test "$ac_cv_type_char" = yes; then
5635
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
 
5835
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5836
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5837
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
5636
5838
See \`config.log' for more details." >&5
5637
 
echo "$as_me: error: cannot compute sizeof (char)
 
5839
$as_echo "$as_me: error: cannot compute sizeof (char)
5638
5840
See \`config.log' for more details." >&2;}
5639
 
   { (exit 77); exit 77; }; }
 
5841
   { (exit 77); exit 77; }; }; }
5640
5842
   else
5641
5843
     ac_cv_sizeof_char=0
5642
5844
   fi
5643
5845
fi
 
5846
rm -rf conftest.dSYM
5644
5847
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5645
5848
fi
5646
5849
rm -f conftest.val
5647
5850
fi
5648
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
5649
 
echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
 
5851
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
 
5852
$as_echo "$ac_cv_sizeof_char" >&6; }
5650
5853
 
5651
5854
 
5652
5855
 
5655
5858
_ACEOF
5656
5859
 
5657
5860
 
5658
 
{ echo "$as_me:$LINENO: checking for short" >&5
5659
 
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
5660
 
if test "${ac_cv_type_short+set}" = set; then
5661
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5662
 
else
5663
 
  cat >conftest.$ac_ext <<_ACEOF
5664
 
/* confdefs.h.  */
5665
 
_ACEOF
5666
 
cat confdefs.h >>conftest.$ac_ext
5667
 
cat >>conftest.$ac_ext <<_ACEOF
5668
 
/* end confdefs.h.  */
5669
 
$ac_includes_default
5670
 
typedef short ac__type_new_;
5671
 
int
5672
 
main ()
5673
 
{
5674
 
if ((ac__type_new_ *) 0)
5675
 
  return 0;
5676
 
if (sizeof (ac__type_new_))
5677
 
  return 0;
5678
 
  ;
5679
 
  return 0;
5680
 
}
5681
 
_ACEOF
5682
 
rm -f conftest.$ac_objext
5683
 
if { (ac_try="$ac_compile"
5684
 
case "(($ac_try" in
5685
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5686
 
  *) ac_try_echo=$ac_try;;
5687
 
esac
5688
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5689
 
  (eval "$ac_compile") 2>conftest.er1
5690
 
  ac_status=$?
5691
 
  grep -v '^ *+' conftest.er1 >conftest.err
5692
 
  rm -f conftest.er1
5693
 
  cat conftest.err >&5
5694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695
 
  (exit $ac_status); } && {
5696
 
         test -z "$ac_cxx_werror_flag" ||
5697
 
         test ! -s conftest.err
5698
 
       } && test -s conftest.$ac_objext; then
5699
 
  ac_cv_type_short=yes
5700
 
else
5701
 
  echo "$as_me: failed program was:" >&5
5702
 
sed 's/^/| /' conftest.$ac_ext >&5
5703
 
 
5704
 
        ac_cv_type_short=no
5705
 
fi
5706
 
 
5707
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5708
 
fi
5709
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5710
 
echo "${ECHO_T}$ac_cv_type_short" >&6; }
5711
 
 
5712
5861
# The cast to long int works around a bug in the HP C Compiler
5713
5862
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5714
5863
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5715
5864
# This bug is HP SR number 8606223364.
5716
 
{ echo "$as_me:$LINENO: checking size of short" >&5
5717
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
 
5865
{ $as_echo "$as_me:$LINENO: checking size of short" >&5
 
5866
$as_echo_n "checking size of short... " >&6; }
5718
5867
if test "${ac_cv_sizeof_short+set}" = set; then
5719
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5868
  $as_echo_n "(cached) " >&6
5720
5869
else
5721
5870
  if test "$cross_compiling" = yes; then
5722
5871
  # Depending upon the size, compute the lo and hi bounds.
5727
5876
cat >>conftest.$ac_ext <<_ACEOF
5728
5877
/* end confdefs.h.  */
5729
5878
$ac_includes_default
5730
 
   typedef short ac__type_sizeof_;
5731
5879
int
5732
5880
main ()
5733
5881
{
5734
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
 
5882
static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
5735
5883
test_array [0] = 0
5736
5884
 
5737
5885
  ;
5744
5892
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5745
5893
  *) ac_try_echo=$ac_try;;
5746
5894
esac
5747
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5895
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5896
$as_echo "$ac_try_echo") >&5
5748
5897
  (eval "$ac_compile") 2>conftest.er1
5749
5898
  ac_status=$?
5750
5899
  grep -v '^ *+' conftest.er1 >conftest.err
5751
5900
  rm -f conftest.er1
5752
5901
  cat conftest.err >&5
5753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5902
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754
5903
  (exit $ac_status); } && {
5755
5904
         test -z "$ac_cxx_werror_flag" ||
5756
5905
         test ! -s conftest.err
5764
5913
cat >>conftest.$ac_ext <<_ACEOF
5765
5914
/* end confdefs.h.  */
5766
5915
$ac_includes_default
5767
 
   typedef short ac__type_sizeof_;
5768
5916
int
5769
5917
main ()
5770
5918
{
5771
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 
5919
static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
5772
5920
test_array [0] = 0
5773
5921
 
5774
5922
  ;
5781
5929
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5782
5930
  *) ac_try_echo=$ac_try;;
5783
5931
esac
5784
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5932
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5933
$as_echo "$ac_try_echo") >&5
5785
5934
  (eval "$ac_compile") 2>conftest.er1
5786
5935
  ac_status=$?
5787
5936
  grep -v '^ *+' conftest.er1 >conftest.err
5788
5937
  rm -f conftest.er1
5789
5938
  cat conftest.err >&5
5790
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5939
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791
5940
  (exit $ac_status); } && {
5792
5941
         test -z "$ac_cxx_werror_flag" ||
5793
5942
         test ! -s conftest.err
5794
5943
       } && test -s conftest.$ac_objext; then
5795
5944
  ac_hi=$ac_mid; break
5796
5945
else
5797
 
  echo "$as_me: failed program was:" >&5
 
5946
  $as_echo "$as_me: failed program was:" >&5
5798
5947
sed 's/^/| /' conftest.$ac_ext >&5
5799
5948
 
5800
5949
        ac_lo=`expr $ac_mid + 1`
5808
5957
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5809
5958
  done
5810
5959
else
5811
 
  echo "$as_me: failed program was:" >&5
 
5960
  $as_echo "$as_me: failed program was:" >&5
5812
5961
sed 's/^/| /' conftest.$ac_ext >&5
5813
5962
 
5814
5963
        cat >conftest.$ac_ext <<_ACEOF
5818
5967
cat >>conftest.$ac_ext <<_ACEOF
5819
5968
/* end confdefs.h.  */
5820
5969
$ac_includes_default
5821
 
   typedef short ac__type_sizeof_;
5822
5970
int
5823
5971
main ()
5824
5972
{
5825
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
 
5973
static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
5826
5974
test_array [0] = 0
5827
5975
 
5828
5976
  ;
5835
5983
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5836
5984
  *) ac_try_echo=$ac_try;;
5837
5985
esac
5838
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5986
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5987
$as_echo "$ac_try_echo") >&5
5839
5988
  (eval "$ac_compile") 2>conftest.er1
5840
5989
  ac_status=$?
5841
5990
  grep -v '^ *+' conftest.er1 >conftest.err
5842
5991
  rm -f conftest.er1
5843
5992
  cat conftest.err >&5
5844
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5993
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845
5994
  (exit $ac_status); } && {
5846
5995
         test -z "$ac_cxx_werror_flag" ||
5847
5996
         test ! -s conftest.err
5855
6004
cat >>conftest.$ac_ext <<_ACEOF
5856
6005
/* end confdefs.h.  */
5857
6006
$ac_includes_default
5858
 
   typedef short ac__type_sizeof_;
5859
6007
int
5860
6008
main ()
5861
6009
{
5862
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
 
6010
static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
5863
6011
test_array [0] = 0
5864
6012
 
5865
6013
  ;
5872
6020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5873
6021
  *) ac_try_echo=$ac_try;;
5874
6022
esac
5875
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6023
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6024
$as_echo "$ac_try_echo") >&5
5876
6025
  (eval "$ac_compile") 2>conftest.er1
5877
6026
  ac_status=$?
5878
6027
  grep -v '^ *+' conftest.er1 >conftest.err
5879
6028
  rm -f conftest.er1
5880
6029
  cat conftest.err >&5
5881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6030
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882
6031
  (exit $ac_status); } && {
5883
6032
         test -z "$ac_cxx_werror_flag" ||
5884
6033
         test ! -s conftest.err
5885
6034
       } && test -s conftest.$ac_objext; then
5886
6035
  ac_lo=$ac_mid; break
5887
6036
else
5888
 
  echo "$as_me: failed program was:" >&5
 
6037
  $as_echo "$as_me: failed program was:" >&5
5889
6038
sed 's/^/| /' conftest.$ac_ext >&5
5890
6039
 
5891
6040
        ac_hi=`expr '(' $ac_mid ')' - 1`
5899
6048
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5900
6049
  done
5901
6050
else
5902
 
  echo "$as_me: failed program was:" >&5
 
6051
  $as_echo "$as_me: failed program was:" >&5
5903
6052
sed 's/^/| /' conftest.$ac_ext >&5
5904
6053
 
5905
6054
        ac_lo= ac_hi=
5919
6068
cat >>conftest.$ac_ext <<_ACEOF
5920
6069
/* end confdefs.h.  */
5921
6070
$ac_includes_default
5922
 
   typedef short ac__type_sizeof_;
5923
6071
int
5924
6072
main ()
5925
6073
{
5926
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 
6074
static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
5927
6075
test_array [0] = 0
5928
6076
 
5929
6077
  ;
5936
6084
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5937
6085
  *) ac_try_echo=$ac_try;;
5938
6086
esac
5939
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6087
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6088
$as_echo "$ac_try_echo") >&5
5940
6089
  (eval "$ac_compile") 2>conftest.er1
5941
6090
  ac_status=$?
5942
6091
  grep -v '^ *+' conftest.er1 >conftest.err
5943
6092
  rm -f conftest.er1
5944
6093
  cat conftest.err >&5
5945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6094
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946
6095
  (exit $ac_status); } && {
5947
6096
         test -z "$ac_cxx_werror_flag" ||
5948
6097
         test ! -s conftest.err
5949
6098
       } && test -s conftest.$ac_objext; then
5950
6099
  ac_hi=$ac_mid
5951
6100
else
5952
 
  echo "$as_me: failed program was:" >&5
 
6101
  $as_echo "$as_me: failed program was:" >&5
5953
6102
sed 's/^/| /' conftest.$ac_ext >&5
5954
6103
 
5955
6104
        ac_lo=`expr '(' $ac_mid ')' + 1`
5960
6109
case $ac_lo in
5961
6110
?*) ac_cv_sizeof_short=$ac_lo;;
5962
6111
'') if test "$ac_cv_type_short" = yes; then
5963
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
 
6112
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6113
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6114
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5964
6115
See \`config.log' for more details." >&5
5965
 
echo "$as_me: error: cannot compute sizeof (short)
 
6116
$as_echo "$as_me: error: cannot compute sizeof (short)
5966
6117
See \`config.log' for more details." >&2;}
5967
 
   { (exit 77); exit 77; }; }
 
6118
   { (exit 77); exit 77; }; }; }
5968
6119
   else
5969
6120
     ac_cv_sizeof_short=0
5970
6121
   fi ;;
5977
6128
cat >>conftest.$ac_ext <<_ACEOF
5978
6129
/* end confdefs.h.  */
5979
6130
$ac_includes_default
5980
 
   typedef short ac__type_sizeof_;
5981
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5982
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
6131
static long int longval () { return (long int) (sizeof (short)); }
 
6132
static unsigned long int ulongval () { return (long int) (sizeof (short)); }
5983
6133
#include <stdio.h>
5984
6134
#include <stdlib.h>
5985
6135
int
5989
6139
  FILE *f = fopen ("conftest.val", "w");
5990
6140
  if (! f)
5991
6141
    return 1;
5992
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
 
6142
  if (((long int) (sizeof (short))) < 0)
5993
6143
    {
5994
6144
      long int i = longval ();
5995
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
6145
      if (i != ((long int) (sizeof (short))))
5996
6146
        return 1;
5997
 
      fprintf (f, "%ld\n", i);
 
6147
      fprintf (f, "%ld", i);
5998
6148
    }
5999
6149
  else
6000
6150
    {
6001
6151
      unsigned long int i = ulongval ();
6002
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
6152
      if (i != ((long int) (sizeof (short))))
6003
6153
        return 1;
6004
 
      fprintf (f, "%lu\n", i);
 
6154
      fprintf (f, "%lu", i);
6005
6155
    }
 
6156
  /* Do not output a trailing newline, as this causes \r\n confusion
 
6157
     on some platforms.  */
6006
6158
  return ferror (f) || fclose (f) != 0;
6007
6159
 
6008
6160
  ;
6015
6167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6016
6168
  *) ac_try_echo=$ac_try;;
6017
6169
esac
6018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6170
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6171
$as_echo "$ac_try_echo") >&5
6019
6172
  (eval "$ac_link") 2>&5
6020
6173
  ac_status=$?
6021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6174
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022
6175
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6023
6176
  { (case "(($ac_try" in
6024
6177
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6025
6178
  *) ac_try_echo=$ac_try;;
6026
6179
esac
6027
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6180
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6181
$as_echo "$ac_try_echo") >&5
6028
6182
  (eval "$ac_try") 2>&5
6029
6183
  ac_status=$?
6030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6184
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031
6185
  (exit $ac_status); }; }; then
6032
6186
  ac_cv_sizeof_short=`cat conftest.val`
6033
6187
else
6034
 
  echo "$as_me: program exited with status $ac_status" >&5
6035
 
echo "$as_me: failed program was:" >&5
 
6188
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
6189
$as_echo "$as_me: failed program was:" >&5
6036
6190
sed 's/^/| /' conftest.$ac_ext >&5
6037
6191
 
6038
6192
( exit $ac_status )
6039
6193
if test "$ac_cv_type_short" = yes; then
6040
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
 
6194
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6195
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6196
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
6041
6197
See \`config.log' for more details." >&5
6042
 
echo "$as_me: error: cannot compute sizeof (short)
 
6198
$as_echo "$as_me: error: cannot compute sizeof (short)
6043
6199
See \`config.log' for more details." >&2;}
6044
 
   { (exit 77); exit 77; }; }
 
6200
   { (exit 77); exit 77; }; }; }
6045
6201
   else
6046
6202
     ac_cv_sizeof_short=0
6047
6203
   fi
6048
6204
fi
 
6205
rm -rf conftest.dSYM
6049
6206
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6050
6207
fi
6051
6208
rm -f conftest.val
6052
6209
fi
6053
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
6054
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
 
6210
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
 
6211
$as_echo "$ac_cv_sizeof_short" >&6; }
6055
6212
 
6056
6213
 
6057
6214
 
6060
6217
_ACEOF
6061
6218
 
6062
6219
 
6063
 
{ echo "$as_me:$LINENO: checking for int" >&5
6064
 
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
6065
 
if test "${ac_cv_type_int+set}" = set; then
6066
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6067
 
else
6068
 
  cat >conftest.$ac_ext <<_ACEOF
6069
 
/* confdefs.h.  */
6070
 
_ACEOF
6071
 
cat confdefs.h >>conftest.$ac_ext
6072
 
cat >>conftest.$ac_ext <<_ACEOF
6073
 
/* end confdefs.h.  */
6074
 
$ac_includes_default
6075
 
typedef int ac__type_new_;
6076
 
int
6077
 
main ()
6078
 
{
6079
 
if ((ac__type_new_ *) 0)
6080
 
  return 0;
6081
 
if (sizeof (ac__type_new_))
6082
 
  return 0;
6083
 
  ;
6084
 
  return 0;
6085
 
}
6086
 
_ACEOF
6087
 
rm -f conftest.$ac_objext
6088
 
if { (ac_try="$ac_compile"
6089
 
case "(($ac_try" in
6090
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6091
 
  *) ac_try_echo=$ac_try;;
6092
 
esac
6093
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6094
 
  (eval "$ac_compile") 2>conftest.er1
6095
 
  ac_status=$?
6096
 
  grep -v '^ *+' conftest.er1 >conftest.err
6097
 
  rm -f conftest.er1
6098
 
  cat conftest.err >&5
6099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100
 
  (exit $ac_status); } && {
6101
 
         test -z "$ac_cxx_werror_flag" ||
6102
 
         test ! -s conftest.err
6103
 
       } && test -s conftest.$ac_objext; then
6104
 
  ac_cv_type_int=yes
6105
 
else
6106
 
  echo "$as_me: failed program was:" >&5
6107
 
sed 's/^/| /' conftest.$ac_ext >&5
6108
 
 
6109
 
        ac_cv_type_int=no
6110
 
fi
6111
 
 
6112
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6113
 
fi
6114
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6115
 
echo "${ECHO_T}$ac_cv_type_int" >&6; }
6116
 
 
6117
6220
# The cast to long int works around a bug in the HP C Compiler
6118
6221
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6119
6222
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6120
6223
# This bug is HP SR number 8606223364.
6121
 
{ echo "$as_me:$LINENO: checking size of int" >&5
6122
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
 
6224
{ $as_echo "$as_me:$LINENO: checking size of int" >&5
 
6225
$as_echo_n "checking size of int... " >&6; }
6123
6226
if test "${ac_cv_sizeof_int+set}" = set; then
6124
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6227
  $as_echo_n "(cached) " >&6
6125
6228
else
6126
6229
  if test "$cross_compiling" = yes; then
6127
6230
  # Depending upon the size, compute the lo and hi bounds.
6132
6235
cat >>conftest.$ac_ext <<_ACEOF
6133
6236
/* end confdefs.h.  */
6134
6237
$ac_includes_default
6135
 
   typedef int ac__type_sizeof_;
6136
6238
int
6137
6239
main ()
6138
6240
{
6139
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
 
6241
static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
6140
6242
test_array [0] = 0
6141
6243
 
6142
6244
  ;
6149
6251
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6150
6252
  *) ac_try_echo=$ac_try;;
6151
6253
esac
6152
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6254
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6255
$as_echo "$ac_try_echo") >&5
6153
6256
  (eval "$ac_compile") 2>conftest.er1
6154
6257
  ac_status=$?
6155
6258
  grep -v '^ *+' conftest.er1 >conftest.err
6156
6259
  rm -f conftest.er1
6157
6260
  cat conftest.err >&5
6158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6261
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159
6262
  (exit $ac_status); } && {
6160
6263
         test -z "$ac_cxx_werror_flag" ||
6161
6264
         test ! -s conftest.err
6169
6272
cat >>conftest.$ac_ext <<_ACEOF
6170
6273
/* end confdefs.h.  */
6171
6274
$ac_includes_default
6172
 
   typedef int ac__type_sizeof_;
6173
6275
int
6174
6276
main ()
6175
6277
{
6176
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 
6278
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
6177
6279
test_array [0] = 0
6178
6280
 
6179
6281
  ;
6186
6288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6187
6289
  *) ac_try_echo=$ac_try;;
6188
6290
esac
6189
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6292
$as_echo "$ac_try_echo") >&5
6190
6293
  (eval "$ac_compile") 2>conftest.er1
6191
6294
  ac_status=$?
6192
6295
  grep -v '^ *+' conftest.er1 >conftest.err
6193
6296
  rm -f conftest.er1
6194
6297
  cat conftest.err >&5
6195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6298
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196
6299
  (exit $ac_status); } && {
6197
6300
         test -z "$ac_cxx_werror_flag" ||
6198
6301
         test ! -s conftest.err
6199
6302
       } && test -s conftest.$ac_objext; then
6200
6303
  ac_hi=$ac_mid; break
6201
6304
else
6202
 
  echo "$as_me: failed program was:" >&5
 
6305
  $as_echo "$as_me: failed program was:" >&5
6203
6306
sed 's/^/| /' conftest.$ac_ext >&5
6204
6307
 
6205
6308
        ac_lo=`expr $ac_mid + 1`
6213
6316
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6214
6317
  done
6215
6318
else
6216
 
  echo "$as_me: failed program was:" >&5
 
6319
  $as_echo "$as_me: failed program was:" >&5
6217
6320
sed 's/^/| /' conftest.$ac_ext >&5
6218
6321
 
6219
6322
        cat >conftest.$ac_ext <<_ACEOF
6223
6326
cat >>conftest.$ac_ext <<_ACEOF
6224
6327
/* end confdefs.h.  */
6225
6328
$ac_includes_default
6226
 
   typedef int ac__type_sizeof_;
6227
6329
int
6228
6330
main ()
6229
6331
{
6230
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
 
6332
static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
6231
6333
test_array [0] = 0
6232
6334
 
6233
6335
  ;
6240
6342
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6241
6343
  *) ac_try_echo=$ac_try;;
6242
6344
esac
6243
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6345
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6346
$as_echo "$ac_try_echo") >&5
6244
6347
  (eval "$ac_compile") 2>conftest.er1
6245
6348
  ac_status=$?
6246
6349
  grep -v '^ *+' conftest.er1 >conftest.err
6247
6350
  rm -f conftest.er1
6248
6351
  cat conftest.err >&5
6249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6352
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250
6353
  (exit $ac_status); } && {
6251
6354
         test -z "$ac_cxx_werror_flag" ||
6252
6355
         test ! -s conftest.err
6260
6363
cat >>conftest.$ac_ext <<_ACEOF
6261
6364
/* end confdefs.h.  */
6262
6365
$ac_includes_default
6263
 
   typedef int ac__type_sizeof_;
6264
6366
int
6265
6367
main ()
6266
6368
{
6267
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
 
6369
static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
6268
6370
test_array [0] = 0
6269
6371
 
6270
6372
  ;
6277
6379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6278
6380
  *) ac_try_echo=$ac_try;;
6279
6381
esac
6280
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6382
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6383
$as_echo "$ac_try_echo") >&5
6281
6384
  (eval "$ac_compile") 2>conftest.er1
6282
6385
  ac_status=$?
6283
6386
  grep -v '^ *+' conftest.er1 >conftest.err
6284
6387
  rm -f conftest.er1
6285
6388
  cat conftest.err >&5
6286
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6389
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287
6390
  (exit $ac_status); } && {
6288
6391
         test -z "$ac_cxx_werror_flag" ||
6289
6392
         test ! -s conftest.err
6290
6393
       } && test -s conftest.$ac_objext; then
6291
6394
  ac_lo=$ac_mid; break
6292
6395
else
6293
 
  echo "$as_me: failed program was:" >&5
 
6396
  $as_echo "$as_me: failed program was:" >&5
6294
6397
sed 's/^/| /' conftest.$ac_ext >&5
6295
6398
 
6296
6399
        ac_hi=`expr '(' $ac_mid ')' - 1`
6304
6407
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6305
6408
  done
6306
6409
else
6307
 
  echo "$as_me: failed program was:" >&5
 
6410
  $as_echo "$as_me: failed program was:" >&5
6308
6411
sed 's/^/| /' conftest.$ac_ext >&5
6309
6412
 
6310
6413
        ac_lo= ac_hi=
6324
6427
cat >>conftest.$ac_ext <<_ACEOF
6325
6428
/* end confdefs.h.  */
6326
6429
$ac_includes_default
6327
 
   typedef int ac__type_sizeof_;
6328
6430
int
6329
6431
main ()
6330
6432
{
6331
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 
6433
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
6332
6434
test_array [0] = 0
6333
6435
 
6334
6436
  ;
6341
6443
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6342
6444
  *) ac_try_echo=$ac_try;;
6343
6445
esac
6344
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6446
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6447
$as_echo "$ac_try_echo") >&5
6345
6448
  (eval "$ac_compile") 2>conftest.er1
6346
6449
  ac_status=$?
6347
6450
  grep -v '^ *+' conftest.er1 >conftest.err
6348
6451
  rm -f conftest.er1
6349
6452
  cat conftest.err >&5
6350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6453
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351
6454
  (exit $ac_status); } && {
6352
6455
         test -z "$ac_cxx_werror_flag" ||
6353
6456
         test ! -s conftest.err
6354
6457
       } && test -s conftest.$ac_objext; then
6355
6458
  ac_hi=$ac_mid
6356
6459
else
6357
 
  echo "$as_me: failed program was:" >&5
 
6460
  $as_echo "$as_me: failed program was:" >&5
6358
6461
sed 's/^/| /' conftest.$ac_ext >&5
6359
6462
 
6360
6463
        ac_lo=`expr '(' $ac_mid ')' + 1`
6365
6468
case $ac_lo in
6366
6469
?*) ac_cv_sizeof_int=$ac_lo;;
6367
6470
'') if test "$ac_cv_type_int" = yes; then
6368
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
 
6471
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6472
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6473
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6369
6474
See \`config.log' for more details." >&5
6370
 
echo "$as_me: error: cannot compute sizeof (int)
 
6475
$as_echo "$as_me: error: cannot compute sizeof (int)
6371
6476
See \`config.log' for more details." >&2;}
6372
 
   { (exit 77); exit 77; }; }
 
6477
   { (exit 77); exit 77; }; }; }
6373
6478
   else
6374
6479
     ac_cv_sizeof_int=0
6375
6480
   fi ;;
6382
6487
cat >>conftest.$ac_ext <<_ACEOF
6383
6488
/* end confdefs.h.  */
6384
6489
$ac_includes_default
6385
 
   typedef int ac__type_sizeof_;
6386
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6387
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
6490
static long int longval () { return (long int) (sizeof (int)); }
 
6491
static unsigned long int ulongval () { return (long int) (sizeof (int)); }
6388
6492
#include <stdio.h>
6389
6493
#include <stdlib.h>
6390
6494
int
6394
6498
  FILE *f = fopen ("conftest.val", "w");
6395
6499
  if (! f)
6396
6500
    return 1;
6397
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
 
6501
  if (((long int) (sizeof (int))) < 0)
6398
6502
    {
6399
6503
      long int i = longval ();
6400
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
6504
      if (i != ((long int) (sizeof (int))))
6401
6505
        return 1;
6402
 
      fprintf (f, "%ld\n", i);
 
6506
      fprintf (f, "%ld", i);
6403
6507
    }
6404
6508
  else
6405
6509
    {
6406
6510
      unsigned long int i = ulongval ();
6407
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
6511
      if (i != ((long int) (sizeof (int))))
6408
6512
        return 1;
6409
 
      fprintf (f, "%lu\n", i);
 
6513
      fprintf (f, "%lu", i);
6410
6514
    }
 
6515
  /* Do not output a trailing newline, as this causes \r\n confusion
 
6516
     on some platforms.  */
6411
6517
  return ferror (f) || fclose (f) != 0;
6412
6518
 
6413
6519
  ;
6420
6526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6421
6527
  *) ac_try_echo=$ac_try;;
6422
6528
esac
6423
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6529
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6530
$as_echo "$ac_try_echo") >&5
6424
6531
  (eval "$ac_link") 2>&5
6425
6532
  ac_status=$?
6426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6533
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427
6534
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6428
6535
  { (case "(($ac_try" in
6429
6536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6430
6537
  *) ac_try_echo=$ac_try;;
6431
6538
esac
6432
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6539
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6540
$as_echo "$ac_try_echo") >&5
6433
6541
  (eval "$ac_try") 2>&5
6434
6542
  ac_status=$?
6435
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6543
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436
6544
  (exit $ac_status); }; }; then
6437
6545
  ac_cv_sizeof_int=`cat conftest.val`
6438
6546
else
6439
 
  echo "$as_me: program exited with status $ac_status" >&5
6440
 
echo "$as_me: failed program was:" >&5
 
6547
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
6548
$as_echo "$as_me: failed program was:" >&5
6441
6549
sed 's/^/| /' conftest.$ac_ext >&5
6442
6550
 
6443
6551
( exit $ac_status )
6444
6552
if test "$ac_cv_type_int" = yes; then
6445
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
 
6553
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6554
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6555
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6446
6556
See \`config.log' for more details." >&5
6447
 
echo "$as_me: error: cannot compute sizeof (int)
 
6557
$as_echo "$as_me: error: cannot compute sizeof (int)
6448
6558
See \`config.log' for more details." >&2;}
6449
 
   { (exit 77); exit 77; }; }
 
6559
   { (exit 77); exit 77; }; }; }
6450
6560
   else
6451
6561
     ac_cv_sizeof_int=0
6452
6562
   fi
6453
6563
fi
 
6564
rm -rf conftest.dSYM
6454
6565
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6455
6566
fi
6456
6567
rm -f conftest.val
6457
6568
fi
6458
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6459
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
 
6569
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
 
6570
$as_echo "$ac_cv_sizeof_int" >&6; }
6460
6571
 
6461
6572
 
6462
6573
 
6465
6576
_ACEOF
6466
6577
 
6467
6578
 
6468
 
{ echo "$as_me:$LINENO: checking for long" >&5
6469
 
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
6470
 
if test "${ac_cv_type_long+set}" = set; then
6471
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6472
 
else
6473
 
  cat >conftest.$ac_ext <<_ACEOF
6474
 
/* confdefs.h.  */
6475
 
_ACEOF
6476
 
cat confdefs.h >>conftest.$ac_ext
6477
 
cat >>conftest.$ac_ext <<_ACEOF
6478
 
/* end confdefs.h.  */
6479
 
$ac_includes_default
6480
 
typedef long ac__type_new_;
6481
 
int
6482
 
main ()
6483
 
{
6484
 
if ((ac__type_new_ *) 0)
6485
 
  return 0;
6486
 
if (sizeof (ac__type_new_))
6487
 
  return 0;
6488
 
  ;
6489
 
  return 0;
6490
 
}
6491
 
_ACEOF
6492
 
rm -f conftest.$ac_objext
6493
 
if { (ac_try="$ac_compile"
6494
 
case "(($ac_try" in
6495
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6496
 
  *) ac_try_echo=$ac_try;;
6497
 
esac
6498
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6499
 
  (eval "$ac_compile") 2>conftest.er1
6500
 
  ac_status=$?
6501
 
  grep -v '^ *+' conftest.er1 >conftest.err
6502
 
  rm -f conftest.er1
6503
 
  cat conftest.err >&5
6504
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505
 
  (exit $ac_status); } && {
6506
 
         test -z "$ac_cxx_werror_flag" ||
6507
 
         test ! -s conftest.err
6508
 
       } && test -s conftest.$ac_objext; then
6509
 
  ac_cv_type_long=yes
6510
 
else
6511
 
  echo "$as_me: failed program was:" >&5
6512
 
sed 's/^/| /' conftest.$ac_ext >&5
6513
 
 
6514
 
        ac_cv_type_long=no
6515
 
fi
6516
 
 
6517
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6518
 
fi
6519
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6520
 
echo "${ECHO_T}$ac_cv_type_long" >&6; }
6521
 
 
6522
6579
# The cast to long int works around a bug in the HP C Compiler
6523
6580
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6524
6581
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6525
6582
# This bug is HP SR number 8606223364.
6526
 
{ echo "$as_me:$LINENO: checking size of long" >&5
6527
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
 
6583
{ $as_echo "$as_me:$LINENO: checking size of long" >&5
 
6584
$as_echo_n "checking size of long... " >&6; }
6528
6585
if test "${ac_cv_sizeof_long+set}" = set; then
6529
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6586
  $as_echo_n "(cached) " >&6
6530
6587
else
6531
6588
  if test "$cross_compiling" = yes; then
6532
6589
  # Depending upon the size, compute the lo and hi bounds.
6537
6594
cat >>conftest.$ac_ext <<_ACEOF
6538
6595
/* end confdefs.h.  */
6539
6596
$ac_includes_default
6540
 
   typedef long ac__type_sizeof_;
6541
6597
int
6542
6598
main ()
6543
6599
{
6544
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
 
6600
static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
6545
6601
test_array [0] = 0
6546
6602
 
6547
6603
  ;
6554
6610
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6555
6611
  *) ac_try_echo=$ac_try;;
6556
6612
esac
6557
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6613
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6614
$as_echo "$ac_try_echo") >&5
6558
6615
  (eval "$ac_compile") 2>conftest.er1
6559
6616
  ac_status=$?
6560
6617
  grep -v '^ *+' conftest.er1 >conftest.err
6561
6618
  rm -f conftest.er1
6562
6619
  cat conftest.err >&5
6563
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6620
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564
6621
  (exit $ac_status); } && {
6565
6622
         test -z "$ac_cxx_werror_flag" ||
6566
6623
         test ! -s conftest.err
6574
6631
cat >>conftest.$ac_ext <<_ACEOF
6575
6632
/* end confdefs.h.  */
6576
6633
$ac_includes_default
6577
 
   typedef long ac__type_sizeof_;
6578
6634
int
6579
6635
main ()
6580
6636
{
6581
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 
6637
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
6582
6638
test_array [0] = 0
6583
6639
 
6584
6640
  ;
6591
6647
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6592
6648
  *) ac_try_echo=$ac_try;;
6593
6649
esac
6594
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6650
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6651
$as_echo "$ac_try_echo") >&5
6595
6652
  (eval "$ac_compile") 2>conftest.er1
6596
6653
  ac_status=$?
6597
6654
  grep -v '^ *+' conftest.er1 >conftest.err
6598
6655
  rm -f conftest.er1
6599
6656
  cat conftest.err >&5
6600
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6657
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601
6658
  (exit $ac_status); } && {
6602
6659
         test -z "$ac_cxx_werror_flag" ||
6603
6660
         test ! -s conftest.err
6604
6661
       } && test -s conftest.$ac_objext; then
6605
6662
  ac_hi=$ac_mid; break
6606
6663
else
6607
 
  echo "$as_me: failed program was:" >&5
 
6664
  $as_echo "$as_me: failed program was:" >&5
6608
6665
sed 's/^/| /' conftest.$ac_ext >&5
6609
6666
 
6610
6667
        ac_lo=`expr $ac_mid + 1`
6618
6675
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6619
6676
  done
6620
6677
else
6621
 
  echo "$as_me: failed program was:" >&5
 
6678
  $as_echo "$as_me: failed program was:" >&5
6622
6679
sed 's/^/| /' conftest.$ac_ext >&5
6623
6680
 
6624
6681
        cat >conftest.$ac_ext <<_ACEOF
6628
6685
cat >>conftest.$ac_ext <<_ACEOF
6629
6686
/* end confdefs.h.  */
6630
6687
$ac_includes_default
6631
 
   typedef long ac__type_sizeof_;
6632
6688
int
6633
6689
main ()
6634
6690
{
6635
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
 
6691
static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
6636
6692
test_array [0] = 0
6637
6693
 
6638
6694
  ;
6645
6701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6646
6702
  *) ac_try_echo=$ac_try;;
6647
6703
esac
6648
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6704
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6705
$as_echo "$ac_try_echo") >&5
6649
6706
  (eval "$ac_compile") 2>conftest.er1
6650
6707
  ac_status=$?
6651
6708
  grep -v '^ *+' conftest.er1 >conftest.err
6652
6709
  rm -f conftest.er1
6653
6710
  cat conftest.err >&5
6654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6711
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655
6712
  (exit $ac_status); } && {
6656
6713
         test -z "$ac_cxx_werror_flag" ||
6657
6714
         test ! -s conftest.err
6665
6722
cat >>conftest.$ac_ext <<_ACEOF
6666
6723
/* end confdefs.h.  */
6667
6724
$ac_includes_default
6668
 
   typedef long ac__type_sizeof_;
6669
6725
int
6670
6726
main ()
6671
6727
{
6672
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
 
6728
static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
6673
6729
test_array [0] = 0
6674
6730
 
6675
6731
  ;
6682
6738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6683
6739
  *) ac_try_echo=$ac_try;;
6684
6740
esac
6685
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6741
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6742
$as_echo "$ac_try_echo") >&5
6686
6743
  (eval "$ac_compile") 2>conftest.er1
6687
6744
  ac_status=$?
6688
6745
  grep -v '^ *+' conftest.er1 >conftest.err
6689
6746
  rm -f conftest.er1
6690
6747
  cat conftest.err >&5
6691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6748
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692
6749
  (exit $ac_status); } && {
6693
6750
         test -z "$ac_cxx_werror_flag" ||
6694
6751
         test ! -s conftest.err
6695
6752
       } && test -s conftest.$ac_objext; then
6696
6753
  ac_lo=$ac_mid; break
6697
6754
else
6698
 
  echo "$as_me: failed program was:" >&5
 
6755
  $as_echo "$as_me: failed program was:" >&5
6699
6756
sed 's/^/| /' conftest.$ac_ext >&5
6700
6757
 
6701
6758
        ac_hi=`expr '(' $ac_mid ')' - 1`
6709
6766
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6710
6767
  done
6711
6768
else
6712
 
  echo "$as_me: failed program was:" >&5
 
6769
  $as_echo "$as_me: failed program was:" >&5
6713
6770
sed 's/^/| /' conftest.$ac_ext >&5
6714
6771
 
6715
6772
        ac_lo= ac_hi=
6729
6786
cat >>conftest.$ac_ext <<_ACEOF
6730
6787
/* end confdefs.h.  */
6731
6788
$ac_includes_default
6732
 
   typedef long ac__type_sizeof_;
6733
6789
int
6734
6790
main ()
6735
6791
{
6736
 
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 
6792
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
6737
6793
test_array [0] = 0
6738
6794
 
6739
6795
  ;
6746
6802
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6747
6803
  *) ac_try_echo=$ac_try;;
6748
6804
esac
6749
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6805
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6806
$as_echo "$ac_try_echo") >&5
6750
6807
  (eval "$ac_compile") 2>conftest.er1
6751
6808
  ac_status=$?
6752
6809
  grep -v '^ *+' conftest.er1 >conftest.err
6753
6810
  rm -f conftest.er1
6754
6811
  cat conftest.err >&5
6755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6812
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756
6813
  (exit $ac_status); } && {
6757
6814
         test -z "$ac_cxx_werror_flag" ||
6758
6815
         test ! -s conftest.err
6759
6816
       } && test -s conftest.$ac_objext; then
6760
6817
  ac_hi=$ac_mid
6761
6818
else
6762
 
  echo "$as_me: failed program was:" >&5
 
6819
  $as_echo "$as_me: failed program was:" >&5
6763
6820
sed 's/^/| /' conftest.$ac_ext >&5
6764
6821
 
6765
6822
        ac_lo=`expr '(' $ac_mid ')' + 1`
6770
6827
case $ac_lo in
6771
6828
?*) ac_cv_sizeof_long=$ac_lo;;
6772
6829
'') if test "$ac_cv_type_long" = yes; then
6773
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
 
6830
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6831
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6832
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6774
6833
See \`config.log' for more details." >&5
6775
 
echo "$as_me: error: cannot compute sizeof (long)
 
6834
$as_echo "$as_me: error: cannot compute sizeof (long)
6776
6835
See \`config.log' for more details." >&2;}
6777
 
   { (exit 77); exit 77; }; }
 
6836
   { (exit 77); exit 77; }; }; }
6778
6837
   else
6779
6838
     ac_cv_sizeof_long=0
6780
6839
   fi ;;
6787
6846
cat >>conftest.$ac_ext <<_ACEOF
6788
6847
/* end confdefs.h.  */
6789
6848
$ac_includes_default
6790
 
   typedef long ac__type_sizeof_;
6791
 
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6792
 
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
6849
static long int longval () { return (long int) (sizeof (long)); }
 
6850
static unsigned long int ulongval () { return (long int) (sizeof (long)); }
6793
6851
#include <stdio.h>
6794
6852
#include <stdlib.h>
6795
6853
int
6799
6857
  FILE *f = fopen ("conftest.val", "w");
6800
6858
  if (! f)
6801
6859
    return 1;
6802
 
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
 
6860
  if (((long int) (sizeof (long))) < 0)
6803
6861
    {
6804
6862
      long int i = longval ();
6805
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
6863
      if (i != ((long int) (sizeof (long))))
6806
6864
        return 1;
6807
 
      fprintf (f, "%ld\n", i);
 
6865
      fprintf (f, "%ld", i);
6808
6866
    }
6809
6867
  else
6810
6868
    {
6811
6869
      unsigned long int i = ulongval ();
6812
 
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
6870
      if (i != ((long int) (sizeof (long))))
6813
6871
        return 1;
6814
 
      fprintf (f, "%lu\n", i);
 
6872
      fprintf (f, "%lu", i);
6815
6873
    }
 
6874
  /* Do not output a trailing newline, as this causes \r\n confusion
 
6875
     on some platforms.  */
6816
6876
  return ferror (f) || fclose (f) != 0;
6817
6877
 
6818
6878
  ;
6825
6885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6826
6886
  *) ac_try_echo=$ac_try;;
6827
6887
esac
6828
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6888
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6889
$as_echo "$ac_try_echo") >&5
6829
6890
  (eval "$ac_link") 2>&5
6830
6891
  ac_status=$?
6831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6892
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832
6893
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6833
6894
  { (case "(($ac_try" in
6834
6895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6835
6896
  *) ac_try_echo=$ac_try;;
6836
6897
esac
6837
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6898
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6899
$as_echo "$ac_try_echo") >&5
6838
6900
  (eval "$ac_try") 2>&5
6839
6901
  ac_status=$?
6840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6902
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841
6903
  (exit $ac_status); }; }; then
6842
6904
  ac_cv_sizeof_long=`cat conftest.val`
6843
6905
else
6844
 
  echo "$as_me: program exited with status $ac_status" >&5
6845
 
echo "$as_me: failed program was:" >&5
 
6906
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
6907
$as_echo "$as_me: failed program was:" >&5
6846
6908
sed 's/^/| /' conftest.$ac_ext >&5
6847
6909
 
6848
6910
( exit $ac_status )
6849
6911
if test "$ac_cv_type_long" = yes; then
6850
 
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
 
6912
     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6913
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6914
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6851
6915
See \`config.log' for more details." >&5
6852
 
echo "$as_me: error: cannot compute sizeof (long)
 
6916
$as_echo "$as_me: error: cannot compute sizeof (long)
6853
6917
See \`config.log' for more details." >&2;}
6854
 
   { (exit 77); exit 77; }; }
 
6918
   { (exit 77); exit 77; }; }; }
6855
6919
   else
6856
6920
     ac_cv_sizeof_long=0
6857
6921
   fi
6858
6922
fi
 
6923
rm -rf conftest.dSYM
6859
6924
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6860
6925
fi
6861
6926
rm -f conftest.val
6862
6927
fi
6863
 
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6864
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
 
6928
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 
6929
$as_echo "$ac_cv_sizeof_long" >&6; }
6865
6930
 
6866
6931
 
6867
6932
 
6871
6936
 
6872
6937
 
6873
6938
 
6874
 
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6875
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
 
6939
{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
6940
$as_echo_n "checking return type of signal handlers... " >&6; }
6876
6941
if test "${ac_cv_type_signal+set}" = set; then
6877
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6942
  $as_echo_n "(cached) " >&6
6878
6943
else
6879
6944
  cat >conftest.$ac_ext <<_ACEOF
6880
6945
/* confdefs.h.  */
6899
6964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6900
6965
  *) ac_try_echo=$ac_try;;
6901
6966
esac
6902
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6967
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6968
$as_echo "$ac_try_echo") >&5
6903
6969
  (eval "$ac_compile") 2>conftest.er1
6904
6970
  ac_status=$?
6905
6971
  grep -v '^ *+' conftest.er1 >conftest.err
6906
6972
  rm -f conftest.er1
6907
6973
  cat conftest.err >&5
6908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6974
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909
6975
  (exit $ac_status); } && {
6910
6976
         test -z "$ac_cxx_werror_flag" ||
6911
6977
         test ! -s conftest.err
6912
6978
       } && test -s conftest.$ac_objext; then
6913
6979
  ac_cv_type_signal=int
6914
6980
else
6915
 
  echo "$as_me: failed program was:" >&5
 
6981
  $as_echo "$as_me: failed program was:" >&5
6916
6982
sed 's/^/| /' conftest.$ac_ext >&5
6917
6983
 
6918
6984
        ac_cv_type_signal=void
6920
6986
 
6921
6987
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6922
6988
fi
6923
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6924
 
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
 
6989
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
6990
$as_echo "$ac_cv_type_signal" >&6; }
6925
6991
 
6926
6992
cat >>confdefs.h <<_ACEOF
6927
6993
#define RETSIGTYPE $ac_cv_type_signal
6931
6997
 
6932
6998
for ac_func in strftime
6933
6999
do
6934
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6935
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6936
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
7000
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7001
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7002
$as_echo_n "checking for $ac_func... " >&6; }
6937
7003
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6938
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7004
  $as_echo_n "(cached) " >&6
6939
7005
else
6940
7006
  cat >conftest.$ac_ext <<_ACEOF
6941
7007
/* confdefs.h.  */
6988
7054
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6989
7055
  *) ac_try_echo=$ac_try;;
6990
7056
esac
6991
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7057
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7058
$as_echo "$ac_try_echo") >&5
6992
7059
  (eval "$ac_link") 2>conftest.er1
6993
7060
  ac_status=$?
6994
7061
  grep -v '^ *+' conftest.er1 >conftest.err
6995
7062
  rm -f conftest.er1
6996
7063
  cat conftest.err >&5
6997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7064
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998
7065
  (exit $ac_status); } && {
6999
7066
         test -z "$ac_cxx_werror_flag" ||
7000
7067
         test ! -s conftest.err
7001
 
       } && test -s conftest$ac_exeext &&
7002
 
       $as_test_x conftest$ac_exeext; then
 
7068
       } && test -s conftest$ac_exeext && {
 
7069
         test "$cross_compiling" = yes ||
 
7070
         $as_test_x conftest$ac_exeext
 
7071
       }; then
7003
7072
  eval "$as_ac_var=yes"
7004
7073
else
7005
 
  echo "$as_me: failed program was:" >&5
 
7074
  $as_echo "$as_me: failed program was:" >&5
7006
7075
sed 's/^/| /' conftest.$ac_ext >&5
7007
7076
 
7008
7077
        eval "$as_ac_var=no"
7009
7078
fi
7010
7079
 
 
7080
rm -rf conftest.dSYM
7011
7081
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7012
7082
      conftest$ac_exeext conftest.$ac_ext
7013
7083
fi
7014
 
ac_res=`eval echo '${'$as_ac_var'}'`
7015
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7016
 
echo "${ECHO_T}$ac_res" >&6; }
7017
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
7084
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7085
                 $as_echo "$as_val"'`
 
7086
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7087
$as_echo "$ac_res" >&6; }
 
7088
as_val=`eval 'as_val=${'$as_ac_var'}
 
7089
                 $as_echo "$as_val"'`
 
7090
   if test "x$as_val" = x""yes; then
7018
7091
  cat >>confdefs.h <<_ACEOF
7019
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7092
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7020
7093
_ACEOF
7021
7094
 
7022
7095
else
7023
7096
  # strftime is in -lintl on SCO UNIX.
7024
 
{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
7025
 
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
 
7097
{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
 
7098
$as_echo_n "checking for strftime in -lintl... " >&6; }
7026
7099
if test "${ac_cv_lib_intl_strftime+set}" = set; then
7027
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7100
  $as_echo_n "(cached) " >&6
7028
7101
else
7029
7102
  ac_check_lib_save_LIBS=$LIBS
7030
7103
LIBS="-lintl  $LIBS"
7056
7129
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7057
7130
  *) ac_try_echo=$ac_try;;
7058
7131
esac
7059
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7132
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7133
$as_echo "$ac_try_echo") >&5
7060
7134
  (eval "$ac_link") 2>conftest.er1
7061
7135
  ac_status=$?
7062
7136
  grep -v '^ *+' conftest.er1 >conftest.err
7063
7137
  rm -f conftest.er1
7064
7138
  cat conftest.err >&5
7065
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7139
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066
7140
  (exit $ac_status); } && {
7067
7141
         test -z "$ac_cxx_werror_flag" ||
7068
7142
         test ! -s conftest.err
7069
 
       } && test -s conftest$ac_exeext &&
7070
 
       $as_test_x conftest$ac_exeext; then
 
7143
       } && test -s conftest$ac_exeext && {
 
7144
         test "$cross_compiling" = yes ||
 
7145
         $as_test_x conftest$ac_exeext
 
7146
       }; then
7071
7147
  ac_cv_lib_intl_strftime=yes
7072
7148
else
7073
 
  echo "$as_me: failed program was:" >&5
 
7149
  $as_echo "$as_me: failed program was:" >&5
7074
7150
sed 's/^/| /' conftest.$ac_ext >&5
7075
7151
 
7076
7152
        ac_cv_lib_intl_strftime=no
7077
7153
fi
7078
7154
 
 
7155
rm -rf conftest.dSYM
7079
7156
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7080
7157
      conftest$ac_exeext conftest.$ac_ext
7081
7158
LIBS=$ac_check_lib_save_LIBS
7082
7159
fi
7083
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
7084
 
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
7085
 
if test $ac_cv_lib_intl_strftime = yes; then
 
7160
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
 
7161
$as_echo "$ac_cv_lib_intl_strftime" >&6; }
 
7162
if test "x$ac_cv_lib_intl_strftime" = x""yes; then
7086
7163
  cat >>confdefs.h <<\_ACEOF
7087
7164
#define HAVE_STRFTIME 1
7088
7165
_ACEOF
7096
7173
 
7097
7174
for ac_func in vprintf
7098
7175
do
7099
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7100
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7101
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
7176
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7177
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7178
$as_echo_n "checking for $ac_func... " >&6; }
7102
7179
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7103
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7180
  $as_echo_n "(cached) " >&6
7104
7181
else
7105
7182
  cat >conftest.$ac_ext <<_ACEOF
7106
7183
/* confdefs.h.  */
7153
7230
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7154
7231
  *) ac_try_echo=$ac_try;;
7155
7232
esac
7156
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7233
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7234
$as_echo "$ac_try_echo") >&5
7157
7235
  (eval "$ac_link") 2>conftest.er1
7158
7236
  ac_status=$?
7159
7237
  grep -v '^ *+' conftest.er1 >conftest.err
7160
7238
  rm -f conftest.er1
7161
7239
  cat conftest.err >&5
7162
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7240
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163
7241
  (exit $ac_status); } && {
7164
7242
         test -z "$ac_cxx_werror_flag" ||
7165
7243
         test ! -s conftest.err
7166
 
       } && test -s conftest$ac_exeext &&
7167
 
       $as_test_x conftest$ac_exeext; then
 
7244
       } && test -s conftest$ac_exeext && {
 
7245
         test "$cross_compiling" = yes ||
 
7246
         $as_test_x conftest$ac_exeext
 
7247
       }; then
7168
7248
  eval "$as_ac_var=yes"
7169
7249
else
7170
 
  echo "$as_me: failed program was:" >&5
 
7250
  $as_echo "$as_me: failed program was:" >&5
7171
7251
sed 's/^/| /' conftest.$ac_ext >&5
7172
7252
 
7173
7253
        eval "$as_ac_var=no"
7174
7254
fi
7175
7255
 
 
7256
rm -rf conftest.dSYM
7176
7257
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7177
7258
      conftest$ac_exeext conftest.$ac_ext
7178
7259
fi
7179
 
ac_res=`eval echo '${'$as_ac_var'}'`
7180
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7181
 
echo "${ECHO_T}$ac_res" >&6; }
7182
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
7260
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7261
                 $as_echo "$as_val"'`
 
7262
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7263
$as_echo "$ac_res" >&6; }
 
7264
as_val=`eval 'as_val=${'$as_ac_var'}
 
7265
                 $as_echo "$as_val"'`
 
7266
   if test "x$as_val" = x""yes; then
7183
7267
  cat >>confdefs.h <<_ACEOF
7184
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7268
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7185
7269
_ACEOF
7186
7270
 
7187
 
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
7188
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
 
7271
{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
 
7272
$as_echo_n "checking for _doprnt... " >&6; }
7189
7273
if test "${ac_cv_func__doprnt+set}" = set; then
7190
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7274
  $as_echo_n "(cached) " >&6
7191
7275
else
7192
7276
  cat >conftest.$ac_ext <<_ACEOF
7193
7277
/* confdefs.h.  */
7240
7324
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7241
7325
  *) ac_try_echo=$ac_try;;
7242
7326
esac
7243
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7327
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7328
$as_echo "$ac_try_echo") >&5
7244
7329
  (eval "$ac_link") 2>conftest.er1
7245
7330
  ac_status=$?
7246
7331
  grep -v '^ *+' conftest.er1 >conftest.err
7247
7332
  rm -f conftest.er1
7248
7333
  cat conftest.err >&5
7249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7334
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250
7335
  (exit $ac_status); } && {
7251
7336
         test -z "$ac_cxx_werror_flag" ||
7252
7337
         test ! -s conftest.err
7253
 
       } && test -s conftest$ac_exeext &&
7254
 
       $as_test_x conftest$ac_exeext; then
 
7338
       } && test -s conftest$ac_exeext && {
 
7339
         test "$cross_compiling" = yes ||
 
7340
         $as_test_x conftest$ac_exeext
 
7341
       }; then
7255
7342
  ac_cv_func__doprnt=yes
7256
7343
else
7257
 
  echo "$as_me: failed program was:" >&5
 
7344
  $as_echo "$as_me: failed program was:" >&5
7258
7345
sed 's/^/| /' conftest.$ac_ext >&5
7259
7346
 
7260
7347
        ac_cv_func__doprnt=no
7261
7348
fi
7262
7349
 
 
7350
rm -rf conftest.dSYM
7263
7351
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7264
7352
      conftest$ac_exeext conftest.$ac_ext
7265
7353
fi
7266
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
7267
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
7268
 
if test $ac_cv_func__doprnt = yes; then
 
7354
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
 
7355
$as_echo "$ac_cv_func__doprnt" >&6; }
 
7356
if test "x$ac_cv_func__doprnt" = x""yes; then
7269
7357
 
7270
7358
cat >>confdefs.h <<\_ACEOF
7271
7359
#define HAVE_DOPRNT 1
7286
7374
 
7287
7375
for ac_func in gettimeofday putenv select socket strtol strtoul basename
7288
7376
do
7289
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7290
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7291
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
7377
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7378
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7379
$as_echo_n "checking for $ac_func... " >&6; }
7292
7380
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7381
  $as_echo_n "(cached) " >&6
7294
7382
else
7295
7383
  cat >conftest.$ac_ext <<_ACEOF
7296
7384
/* confdefs.h.  */
7343
7431
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7344
7432
  *) ac_try_echo=$ac_try;;
7345
7433
esac
7346
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7434
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7435
$as_echo "$ac_try_echo") >&5
7347
7436
  (eval "$ac_link") 2>conftest.er1
7348
7437
  ac_status=$?
7349
7438
  grep -v '^ *+' conftest.er1 >conftest.err
7350
7439
  rm -f conftest.er1
7351
7440
  cat conftest.err >&5
7352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7441
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353
7442
  (exit $ac_status); } && {
7354
7443
         test -z "$ac_cxx_werror_flag" ||
7355
7444
         test ! -s conftest.err
7356
 
       } && test -s conftest$ac_exeext &&
7357
 
       $as_test_x conftest$ac_exeext; then
 
7445
       } && test -s conftest$ac_exeext && {
 
7446
         test "$cross_compiling" = yes ||
 
7447
         $as_test_x conftest$ac_exeext
 
7448
       }; then
7358
7449
  eval "$as_ac_var=yes"
7359
7450
else
7360
 
  echo "$as_me: failed program was:" >&5
 
7451
  $as_echo "$as_me: failed program was:" >&5
7361
7452
sed 's/^/| /' conftest.$ac_ext >&5
7362
7453
 
7363
7454
        eval "$as_ac_var=no"
7364
7455
fi
7365
7456
 
 
7457
rm -rf conftest.dSYM
7366
7458
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7367
7459
      conftest$ac_exeext conftest.$ac_ext
7368
7460
fi
7369
 
ac_res=`eval echo '${'$as_ac_var'}'`
7370
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7371
 
echo "${ECHO_T}$ac_res" >&6; }
7372
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
7461
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7462
                 $as_echo "$as_val"'`
 
7463
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7464
$as_echo "$ac_res" >&6; }
 
7465
as_val=`eval 'as_val=${'$as_ac_var'}
 
7466
                 $as_echo "$as_val"'`
 
7467
   if test "x$as_val" = x""yes; then
7373
7468
  cat >>confdefs.h <<_ACEOF
7374
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7469
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7375
7470
_ACEOF
7376
7471
 
7377
7472
fi
7380
7475
 
7381
7476
for ac_func in sysctlbyname
7382
7477
do
7383
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7384
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7385
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
7478
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7479
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7480
$as_echo_n "checking for $ac_func... " >&6; }
7386
7481
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7482
  $as_echo_n "(cached) " >&6
7388
7483
else
7389
7484
  cat >conftest.$ac_ext <<_ACEOF
7390
7485
/* confdefs.h.  */
7437
7532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438
7533
  *) ac_try_echo=$ac_try;;
7439
7534
esac
7440
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7535
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7536
$as_echo "$ac_try_echo") >&5
7441
7537
  (eval "$ac_link") 2>conftest.er1
7442
7538
  ac_status=$?
7443
7539
  grep -v '^ *+' conftest.er1 >conftest.err
7444
7540
  rm -f conftest.er1
7445
7541
  cat conftest.err >&5
7446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7542
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447
7543
  (exit $ac_status); } && {
7448
7544
         test -z "$ac_cxx_werror_flag" ||
7449
7545
         test ! -s conftest.err
7450
 
       } && test -s conftest$ac_exeext &&
7451
 
       $as_test_x conftest$ac_exeext; then
 
7546
       } && test -s conftest$ac_exeext && {
 
7547
         test "$cross_compiling" = yes ||
 
7548
         $as_test_x conftest$ac_exeext
 
7549
       }; then
7452
7550
  eval "$as_ac_var=yes"
7453
7551
else
7454
 
  echo "$as_me: failed program was:" >&5
 
7552
  $as_echo "$as_me: failed program was:" >&5
7455
7553
sed 's/^/| /' conftest.$ac_ext >&5
7456
7554
 
7457
7555
        eval "$as_ac_var=no"
7458
7556
fi
7459
7557
 
 
7558
rm -rf conftest.dSYM
7460
7559
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7461
7560
      conftest$ac_exeext conftest.$ac_ext
7462
7561
fi
7463
 
ac_res=`eval echo '${'$as_ac_var'}'`
7464
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7465
 
echo "${ECHO_T}$ac_res" >&6; }
7466
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
7562
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7563
                 $as_echo "$as_val"'`
 
7564
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7565
$as_echo "$ac_res" >&6; }
 
7566
as_val=`eval 'as_val=${'$as_ac_var'}
 
7567
                 $as_echo "$as_val"'`
 
7568
   if test "x$as_val" = x""yes; then
7467
7569
  cat >>confdefs.h <<_ACEOF
7468
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7570
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7469
7571
_ACEOF
7470
7572
 
7471
7573
fi
7475
7577
 
7476
7578
for ac_header in sys/select.h sys/socket.h
7477
7579
do
7478
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7479
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7481
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7482
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7580
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7581
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7582
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7583
$as_echo_n "checking for $ac_header... " >&6; }
 
7584
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7585
  $as_echo_n "(cached) " >&6
7484
7586
fi
7485
 
ac_res=`eval echo '${'$as_ac_Header'}'`
7486
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7487
 
echo "${ECHO_T}$ac_res" >&6; }
 
7587
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7588
                 $as_echo "$as_val"'`
 
7589
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7590
$as_echo "$ac_res" >&6; }
7488
7591
else
7489
7592
  # Is the header compilable?
7490
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7491
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
7593
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
7594
$as_echo_n "checking $ac_header usability... " >&6; }
7492
7595
cat >conftest.$ac_ext <<_ACEOF
7493
7596
/* confdefs.h.  */
7494
7597
_ACEOF
7504
7607
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7505
7608
  *) ac_try_echo=$ac_try;;
7506
7609
esac
7507
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7610
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7611
$as_echo "$ac_try_echo") >&5
7508
7612
  (eval "$ac_compile") 2>conftest.er1
7509
7613
  ac_status=$?
7510
7614
  grep -v '^ *+' conftest.er1 >conftest.err
7511
7615
  rm -f conftest.er1
7512
7616
  cat conftest.err >&5
7513
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7617
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514
7618
  (exit $ac_status); } && {
7515
7619
         test -z "$ac_cxx_werror_flag" ||
7516
7620
         test ! -s conftest.err
7517
7621
       } && test -s conftest.$ac_objext; then
7518
7622
  ac_header_compiler=yes
7519
7623
else
7520
 
  echo "$as_me: failed program was:" >&5
 
7624
  $as_echo "$as_me: failed program was:" >&5
7521
7625
sed 's/^/| /' conftest.$ac_ext >&5
7522
7626
 
7523
7627
        ac_header_compiler=no
7524
7628
fi
7525
7629
 
7526
7630
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7527
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7528
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
7631
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
7632
$as_echo "$ac_header_compiler" >&6; }
7529
7633
 
7530
7634
# Is the header present?
7531
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7532
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
7635
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
7636
$as_echo_n "checking $ac_header presence... " >&6; }
7533
7637
cat >conftest.$ac_ext <<_ACEOF
7534
7638
/* confdefs.h.  */
7535
7639
_ACEOF
7543
7647
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7544
7648
  *) ac_try_echo=$ac_try;;
7545
7649
esac
7546
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7650
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7651
$as_echo "$ac_try_echo") >&5
7547
7652
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7548
7653
  ac_status=$?
7549
7654
  grep -v '^ *+' conftest.er1 >conftest.err
7550
7655
  rm -f conftest.er1
7551
7656
  cat conftest.err >&5
7552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7657
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553
7658
  (exit $ac_status); } >/dev/null && {
7554
7659
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7555
7660
         test ! -s conftest.err
7556
7661
       }; then
7557
7662
  ac_header_preproc=yes
7558
7663
else
7559
 
  echo "$as_me: failed program was:" >&5
 
7664
  $as_echo "$as_me: failed program was:" >&5
7560
7665
sed 's/^/| /' conftest.$ac_ext >&5
7561
7666
 
7562
7667
  ac_header_preproc=no
7563
7668
fi
7564
7669
 
7565
7670
rm -f conftest.err conftest.$ac_ext
7566
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7567
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
7671
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
7672
$as_echo "$ac_header_preproc" >&6; }
7568
7673
 
7569
7674
# So?  What about this header?
7570
7675
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7571
7676
  yes:no: )
7572
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7573
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7574
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7575
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
7677
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
7678
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
7679
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
7680
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7576
7681
    ac_header_preproc=yes
7577
7682
    ;;
7578
7683
  no:yes:* )
7579
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7580
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7581
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7582
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7583
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7584
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7585
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7586
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7587
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7588
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7589
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7590
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
7684
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
7685
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
7686
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
7687
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
7688
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
7689
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
7690
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
7691
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
7692
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
7693
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
7694
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
7695
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7591
7696
 
7592
7697
    ;;
7593
7698
esac
7594
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7595
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
7699
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7700
$as_echo_n "checking for $ac_header... " >&6; }
7596
7701
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7597
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7702
  $as_echo_n "(cached) " >&6
7598
7703
else
7599
7704
  eval "$as_ac_Header=\$ac_header_preproc"
7600
7705
fi
7601
 
ac_res=`eval echo '${'$as_ac_Header'}'`
7602
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
7603
 
echo "${ECHO_T}$ac_res" >&6; }
 
7706
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7707
                 $as_echo "$as_val"'`
 
7708
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7709
$as_echo "$ac_res" >&6; }
7604
7710
 
7605
7711
fi
7606
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
7712
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7713
                 $as_echo "$as_val"'`
 
7714
   if test "x$as_val" = x""yes; then
7607
7715
  cat >>confdefs.h <<_ACEOF
7608
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7716
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7609
7717
_ACEOF
7610
7718
 
7611
7719
fi
7612
7720
 
7613
7721
done
7614
7722
 
7615
 
{ echo "$as_me:$LINENO: checking types of arguments for select" >&5
7616
 
echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
 
7723
{ $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
 
7724
$as_echo_n "checking types of arguments for select... " >&6; }
7617
7725
if test "${ac_cv_func_select_args+set}" = set; then
7618
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7726
  $as_echo_n "(cached) " >&6
7619
7727
else
7620
7728
  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
7621
7729
 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
7650
7758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7651
7759
  *) ac_try_echo=$ac_try;;
7652
7760
esac
7653
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7761
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7762
$as_echo "$ac_try_echo") >&5
7654
7763
  (eval "$ac_compile") 2>conftest.er1
7655
7764
  ac_status=$?
7656
7765
  grep -v '^ *+' conftest.er1 >conftest.err
7657
7766
  rm -f conftest.er1
7658
7767
  cat conftest.err >&5
7659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7768
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660
7769
  (exit $ac_status); } && {
7661
7770
         test -z "$ac_cxx_werror_flag" ||
7662
7771
         test ! -s conftest.err
7663
7772
       } && test -s conftest.$ac_objext; then
7664
7773
  ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
7665
7774
else
7666
 
  echo "$as_me: failed program was:" >&5
 
7775
  $as_echo "$as_me: failed program was:" >&5
7667
7776
sed 's/^/| /' conftest.$ac_ext >&5
7668
7777
 
7669
7778
 
7677
7786
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
7678
7787
 
7679
7788
fi
7680
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
7681
 
echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
 
7789
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
 
7790
$as_echo "$ac_cv_func_select_args" >&6; }
7682
7791
ac_save_IFS=$IFS; IFS=','
7683
7792
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
7684
7793
IFS=$ac_save_IFS
7701
7810
rm -f conftest*
7702
7811
 
7703
7812
 
7704
 
{ echo "$as_me:$LINENO: checking for getloadavg" >&5
7705
 
echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6; }
 
7813
{ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5
 
7814
$as_echo_n "checking for getloadavg... " >&6; }
7706
7815
cat >conftest.$ac_ext <<_ACEOF
7707
7816
/* confdefs.h.  */
7708
7817
_ACEOF
7724
7833
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7725
7834
  *) ac_try_echo=$ac_try;;
7726
7835
esac
7727
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7836
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7837
$as_echo "$ac_try_echo") >&5
7728
7838
  (eval "$ac_link") 2>conftest.er1
7729
7839
  ac_status=$?
7730
7840
  grep -v '^ *+' conftest.er1 >conftest.err
7731
7841
  rm -f conftest.er1
7732
7842
  cat conftest.err >&5
7733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7843
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734
7844
  (exit $ac_status); } && {
7735
7845
         test -z "$ac_cxx_werror_flag" ||
7736
7846
         test ! -s conftest.err
7737
 
       } && test -s conftest$ac_exeext &&
7738
 
       $as_test_x conftest$ac_exeext; then
7739
 
   { echo "$as_me:$LINENO: result: yes" >&5
7740
 
echo "${ECHO_T}yes" >&6; }
 
7847
       } && test -s conftest$ac_exeext && {
 
7848
         test "$cross_compiling" = yes ||
 
7849
         $as_test_x conftest$ac_exeext
 
7850
       }; then
 
7851
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7852
$as_echo "yes" >&6; }
7741
7853
 
7742
7854
cat >>confdefs.h <<\_ACEOF
7743
7855
#define HAVE_GETLOADAVG2 1
7744
7856
_ACEOF
7745
7857
 
7746
7858
else
7747
 
  echo "$as_me: failed program was:" >&5
 
7859
  $as_echo "$as_me: failed program was:" >&5
7748
7860
sed 's/^/| /' conftest.$ac_ext >&5
7749
7861
 
7750
 
         { echo "$as_me:$LINENO: result: no" >&5
7751
 
echo "${ECHO_T}no" >&6; }
 
7862
         { $as_echo "$as_me:$LINENO: result: no" >&5
 
7863
$as_echo "no" >&6; }
7752
7864
fi
7753
7865
 
 
7866
rm -rf conftest.dSYM
7754
7867
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7755
7868
      conftest$ac_exeext conftest.$ac_ext
7756
7869
 
7757
 
{ echo "$as_me:$LINENO: checking for kern.cp_time" >&5
7758
 
echo $ECHO_N "checking for kern.cp_time... $ECHO_C" >&6; }
 
7870
{ $as_echo "$as_me:$LINENO: checking for kern.cp_time" >&5
 
7871
$as_echo_n "checking for kern.cp_time... " >&6; }
7759
7872
if /sbin/sysctl kern.cp_time 2>&1 | grep 'kern.cp_time *[:=]' >/dev/null; then
7760
 
  { echo "$as_me:$LINENO: result: yes" >&5
7761
 
echo "${ECHO_T}yes" >&6; }
 
7873
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7874
$as_echo "yes" >&6; }
7762
7875
 
7763
7876
cat >>confdefs.h <<\_ACEOF
7764
7877
#define HAVE_SYSCTL_CP_TIME 1
7765
7878
_ACEOF
7766
7879
 
7767
7880
else
7768
 
  { echo "$as_me:$LINENO: result: no" >&5
7769
 
echo "${ECHO_T}no" >&6; }
 
7881
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7882
$as_echo "no" >&6; }
7770
7883
fi
7771
7884
 
7772
 
{ echo "$as_me:$LINENO: checking for X" >&5
7773
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
 
7885
{ $as_echo "$as_me:$LINENO: checking for X" >&5
 
7886
$as_echo_n "checking for X... " >&6; }
7774
7887
 
7775
7888
 
7776
7889
# Check whether --with-x was given.
7784
7897
  have_x=disabled
7785
7898
else
7786
7899
  case $x_includes,$x_libraries in #(
7787
 
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
7788
 
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
 
7900
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
 
7901
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
7789
7902
   { (exit 1); exit 1; }; };; #(
7790
7903
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
7791
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7904
  $as_echo_n "(cached) " >&6
7792
7905
else
7793
7906
  # One or both of the vars are not set, and there is no cached value.
7794
7907
ac_x_includes=no ac_x_libraries=no
7809
7922
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7810
7923
    done
7811
7924
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7812
 
    for ac_extension in a so sl; do
 
7925
    for ac_extension in a so sl dylib la dll; do
7813
7926
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7814
7927
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
7815
7928
        ac_im_usrlibdir=$ac_im_libdir; break
7823
7936
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7824
7937
    esac
7825
7938
    case $ac_im_usrlibdir in
7826
 
        /usr/lib | /lib) ;;
 
7939
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7827
7940
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7828
7941
    esac
7829
7942
  fi
7884
7997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7885
7998
  *) ac_try_echo=$ac_try;;
7886
7999
esac
7887
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8000
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8001
$as_echo "$ac_try_echo") >&5
7888
8002
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7889
8003
  ac_status=$?
7890
8004
  grep -v '^ *+' conftest.er1 >conftest.err
7891
8005
  rm -f conftest.er1
7892
8006
  cat conftest.err >&5
7893
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8007
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894
8008
  (exit $ac_status); } >/dev/null && {
7895
8009
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7896
8010
         test ! -s conftest.err
7898
8012
  # We can compile using X headers with no special include directory.
7899
8013
ac_x_includes=
7900
8014
else
7901
 
  echo "$as_me: failed program was:" >&5
 
8015
  $as_echo "$as_me: failed program was:" >&5
7902
8016
sed 's/^/| /' conftest.$ac_ext >&5
7903
8017
 
7904
8018
  for ac_dir in $ac_x_header_dirs; do
7939
8053
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7940
8054
  *) ac_try_echo=$ac_try;;
7941
8055
esac
7942
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8056
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8057
$as_echo "$ac_try_echo") >&5
7943
8058
  (eval "$ac_link") 2>conftest.er1
7944
8059
  ac_status=$?
7945
8060
  grep -v '^ *+' conftest.er1 >conftest.err
7946
8061
  rm -f conftest.er1
7947
8062
  cat conftest.err >&5
7948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8063
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949
8064
  (exit $ac_status); } && {
7950
8065
         test -z "$ac_cxx_werror_flag" ||
7951
8066
         test ! -s conftest.err
7952
 
       } && test -s conftest$ac_exeext &&
7953
 
       $as_test_x conftest$ac_exeext; then
 
8067
       } && test -s conftest$ac_exeext && {
 
8068
         test "$cross_compiling" = yes ||
 
8069
         $as_test_x conftest$ac_exeext
 
8070
       }; then
7954
8071
  LIBS=$ac_save_LIBS
7955
8072
# We can link X programs with no special library path.
7956
8073
ac_x_libraries=
7957
8074
else
7958
 
  echo "$as_me: failed program was:" >&5
 
8075
  $as_echo "$as_me: failed program was:" >&5
7959
8076
sed 's/^/| /' conftest.$ac_ext >&5
7960
8077
 
7961
8078
        LIBS=$ac_save_LIBS
7962
 
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
8079
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7963
8080
do
7964
8081
  # Don't even attempt the hair of trying to link an X program!
7965
 
  for ac_extension in a so sl; do
 
8082
  for ac_extension in a so sl dylib la dll; do
7966
8083
    if test -r "$ac_dir/libX11.$ac_extension"; then
7967
8084
      ac_x_libraries=$ac_dir
7968
8085
      break 2
7971
8088
done
7972
8089
fi
7973
8090
 
 
8091
rm -rf conftest.dSYM
7974
8092
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7975
8093
      conftest$ac_exeext conftest.$ac_ext
7976
8094
fi # $ac_x_libraries = no
7993
8111
fi # $with_x != no
7994
8112
 
7995
8113
if test "$have_x" != yes; then
7996
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
7997
 
echo "${ECHO_T}$have_x" >&6; }
 
8114
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
 
8115
$as_echo "$have_x" >&6; }
7998
8116
  no_x=yes
7999
8117
else
8000
8118
  # If each of the values was on the command line, it overrides each guess.
8004
8122
  ac_cv_have_x="have_x=yes\
8005
8123
        ac_x_includes='$x_includes'\
8006
8124
        ac_x_libraries='$x_libraries'"
8007
 
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8008
 
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
 
8125
  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
 
8126
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8009
8127
fi
8010
8128
 
8011
8129
if test "$no_x" = yes; then
8026
8144
    X_LIBS="$X_LIBS -L$x_libraries"
8027
8145
    # For Solaris; some versions of Sun CC require a space after -R and
8028
8146
    # others require no space.  Words are not sufficient . . . .
8029
 
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
8030
 
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
 
8147
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
8148
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
8031
8149
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8032
8150
    ac_xsave_cxx_werror_flag=$ac_cxx_werror_flag
8033
8151
    ac_cxx_werror_flag=yes
8052
8170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8053
8171
  *) ac_try_echo=$ac_try;;
8054
8172
esac
8055
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8173
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8174
$as_echo "$ac_try_echo") >&5
8056
8175
  (eval "$ac_link") 2>conftest.er1
8057
8176
  ac_status=$?
8058
8177
  grep -v '^ *+' conftest.er1 >conftest.err
8059
8178
  rm -f conftest.er1
8060
8179
  cat conftest.err >&5
8061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8180
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062
8181
  (exit $ac_status); } && {
8063
8182
         test -z "$ac_cxx_werror_flag" ||
8064
8183
         test ! -s conftest.err
8065
 
       } && test -s conftest$ac_exeext &&
8066
 
       $as_test_x conftest$ac_exeext; then
8067
 
  { echo "$as_me:$LINENO: result: no" >&5
8068
 
echo "${ECHO_T}no" >&6; }
 
8184
       } && test -s conftest$ac_exeext && {
 
8185
         test "$cross_compiling" = yes ||
 
8186
         $as_test_x conftest$ac_exeext
 
8187
       }; then
 
8188
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8189
$as_echo "no" >&6; }
8069
8190
       X_LIBS="$X_LIBS -R$x_libraries"
8070
8191
else
8071
 
  echo "$as_me: failed program was:" >&5
 
8192
  $as_echo "$as_me: failed program was:" >&5
8072
8193
sed 's/^/| /' conftest.$ac_ext >&5
8073
8194
 
8074
8195
        LIBS="$ac_xsave_LIBS -R $x_libraries"
8093
8214
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8094
8215
  *) ac_try_echo=$ac_try;;
8095
8216
esac
8096
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8217
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8218
$as_echo "$ac_try_echo") >&5
8097
8219
  (eval "$ac_link") 2>conftest.er1
8098
8220
  ac_status=$?
8099
8221
  grep -v '^ *+' conftest.er1 >conftest.err
8100
8222
  rm -f conftest.er1
8101
8223
  cat conftest.err >&5
8102
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8224
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103
8225
  (exit $ac_status); } && {
8104
8226
         test -z "$ac_cxx_werror_flag" ||
8105
8227
         test ! -s conftest.err
8106
 
       } && test -s conftest$ac_exeext &&
8107
 
       $as_test_x conftest$ac_exeext; then
8108
 
  { echo "$as_me:$LINENO: result: yes" >&5
8109
 
echo "${ECHO_T}yes" >&6; }
 
8228
       } && test -s conftest$ac_exeext && {
 
8229
         test "$cross_compiling" = yes ||
 
8230
         $as_test_x conftest$ac_exeext
 
8231
       }; then
 
8232
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8233
$as_echo "yes" >&6; }
8110
8234
          X_LIBS="$X_LIBS -R $x_libraries"
8111
8235
else
8112
 
  echo "$as_me: failed program was:" >&5
 
8236
  $as_echo "$as_me: failed program was:" >&5
8113
8237
sed 's/^/| /' conftest.$ac_ext >&5
8114
8238
 
8115
 
        { echo "$as_me:$LINENO: result: neither works" >&5
8116
 
echo "${ECHO_T}neither works" >&6; }
 
8239
        { $as_echo "$as_me:$LINENO: result: neither works" >&5
 
8240
$as_echo "neither works" >&6; }
8117
8241
fi
8118
8242
 
 
8243
rm -rf conftest.dSYM
8119
8244
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8120
8245
      conftest$ac_exeext conftest.$ac_ext
8121
8246
fi
8122
8247
 
 
8248
rm -rf conftest.dSYM
8123
8249
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8124
8250
      conftest$ac_exeext conftest.$ac_ext
8125
8251
    ac_cxx_werror_flag=$ac_xsave_cxx_werror_flag
8165
8291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8166
8292
  *) ac_try_echo=$ac_try;;
8167
8293
esac
8168
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8294
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8295
$as_echo "$ac_try_echo") >&5
8169
8296
  (eval "$ac_link") 2>conftest.er1
8170
8297
  ac_status=$?
8171
8298
  grep -v '^ *+' conftest.er1 >conftest.err
8172
8299
  rm -f conftest.er1
8173
8300
  cat conftest.err >&5
8174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8301
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175
8302
  (exit $ac_status); } && {
8176
8303
         test -z "$ac_cxx_werror_flag" ||
8177
8304
         test ! -s conftest.err
8178
 
       } && test -s conftest$ac_exeext &&
8179
 
       $as_test_x conftest$ac_exeext; then
 
8305
       } && test -s conftest$ac_exeext && {
 
8306
         test "$cross_compiling" = yes ||
 
8307
         $as_test_x conftest$ac_exeext
 
8308
       }; then
8180
8309
  :
8181
8310
else
8182
 
  echo "$as_me: failed program was:" >&5
 
8311
  $as_echo "$as_me: failed program was:" >&5
8183
8312
sed 's/^/| /' conftest.$ac_ext >&5
8184
8313
 
8185
 
        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8186
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
 
8314
        { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
8315
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8187
8316
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8188
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8317
  $as_echo_n "(cached) " >&6
8189
8318
else
8190
8319
  ac_check_lib_save_LIBS=$LIBS
8191
8320
LIBS="-ldnet  $LIBS"
8217
8346
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8218
8347
  *) ac_try_echo=$ac_try;;
8219
8348
esac
8220
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8349
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8350
$as_echo "$ac_try_echo") >&5
8221
8351
  (eval "$ac_link") 2>conftest.er1
8222
8352
  ac_status=$?
8223
8353
  grep -v '^ *+' conftest.er1 >conftest.err
8224
8354
  rm -f conftest.er1
8225
8355
  cat conftest.err >&5
8226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8356
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227
8357
  (exit $ac_status); } && {
8228
8358
         test -z "$ac_cxx_werror_flag" ||
8229
8359
         test ! -s conftest.err
8230
 
       } && test -s conftest$ac_exeext &&
8231
 
       $as_test_x conftest$ac_exeext; then
 
8360
       } && test -s conftest$ac_exeext && {
 
8361
         test "$cross_compiling" = yes ||
 
8362
         $as_test_x conftest$ac_exeext
 
8363
       }; then
8232
8364
  ac_cv_lib_dnet_dnet_ntoa=yes
8233
8365
else
8234
 
  echo "$as_me: failed program was:" >&5
 
8366
  $as_echo "$as_me: failed program was:" >&5
8235
8367
sed 's/^/| /' conftest.$ac_ext >&5
8236
8368
 
8237
8369
        ac_cv_lib_dnet_dnet_ntoa=no
8238
8370
fi
8239
8371
 
 
8372
rm -rf conftest.dSYM
8240
8373
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8241
8374
      conftest$ac_exeext conftest.$ac_ext
8242
8375
LIBS=$ac_check_lib_save_LIBS
8243
8376
fi
8244
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8245
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8246
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
 
8377
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
8378
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
8379
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
8247
8380
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8248
8381
fi
8249
8382
 
8250
8383
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8251
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
8252
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
 
8384
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
8385
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8253
8386
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
8254
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8387
  $as_echo_n "(cached) " >&6
8255
8388
else
8256
8389
  ac_check_lib_save_LIBS=$LIBS
8257
8390
LIBS="-ldnet_stub  $LIBS"
8283
8416
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8284
8417
  *) ac_try_echo=$ac_try;;
8285
8418
esac
8286
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8419
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8420
$as_echo "$ac_try_echo") >&5
8287
8421
  (eval "$ac_link") 2>conftest.er1
8288
8422
  ac_status=$?
8289
8423
  grep -v '^ *+' conftest.er1 >conftest.err
8290
8424
  rm -f conftest.er1
8291
8425
  cat conftest.err >&5
8292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8426
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293
8427
  (exit $ac_status); } && {
8294
8428
         test -z "$ac_cxx_werror_flag" ||
8295
8429
         test ! -s conftest.err
8296
 
       } && test -s conftest$ac_exeext &&
8297
 
       $as_test_x conftest$ac_exeext; then
 
8430
       } && test -s conftest$ac_exeext && {
 
8431
         test "$cross_compiling" = yes ||
 
8432
         $as_test_x conftest$ac_exeext
 
8433
       }; then
8298
8434
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
8299
8435
else
8300
 
  echo "$as_me: failed program was:" >&5
 
8436
  $as_echo "$as_me: failed program was:" >&5
8301
8437
sed 's/^/| /' conftest.$ac_ext >&5
8302
8438
 
8303
8439
        ac_cv_lib_dnet_stub_dnet_ntoa=no
8304
8440
fi
8305
8441
 
 
8442
rm -rf conftest.dSYM
8306
8443
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8307
8444
      conftest$ac_exeext conftest.$ac_ext
8308
8445
LIBS=$ac_check_lib_save_LIBS
8309
8446
fi
8310
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8311
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8312
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
 
8447
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
8448
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
8449
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
8313
8450
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8314
8451
fi
8315
8452
 
8316
8453
    fi
8317
8454
fi
8318
8455
 
 
8456
rm -rf conftest.dSYM
8319
8457
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8320
8458
      conftest$ac_exeext conftest.$ac_ext
8321
8459
    LIBS="$ac_xsave_LIBS"
8328
8466
    # on Irix 5.2, according to T.E. Dickey.
8329
8467
    # The functions gethostbyname, getservbyname, and inet_addr are
8330
8468
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8331
 
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
8332
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
 
8469
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
8470
$as_echo_n "checking for gethostbyname... " >&6; }
8333
8471
if test "${ac_cv_func_gethostbyname+set}" = set; then
8334
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8472
  $as_echo_n "(cached) " >&6
8335
8473
else
8336
8474
  cat >conftest.$ac_ext <<_ACEOF
8337
8475
/* confdefs.h.  */
8384
8522
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8385
8523
  *) ac_try_echo=$ac_try;;
8386
8524
esac
8387
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8525
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8526
$as_echo "$ac_try_echo") >&5
8388
8527
  (eval "$ac_link") 2>conftest.er1
8389
8528
  ac_status=$?
8390
8529
  grep -v '^ *+' conftest.er1 >conftest.err
8391
8530
  rm -f conftest.er1
8392
8531
  cat conftest.err >&5
8393
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8532
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394
8533
  (exit $ac_status); } && {
8395
8534
         test -z "$ac_cxx_werror_flag" ||
8396
8535
         test ! -s conftest.err
8397
 
       } && test -s conftest$ac_exeext &&
8398
 
       $as_test_x conftest$ac_exeext; then
 
8536
       } && test -s conftest$ac_exeext && {
 
8537
         test "$cross_compiling" = yes ||
 
8538
         $as_test_x conftest$ac_exeext
 
8539
       }; then
8399
8540
  ac_cv_func_gethostbyname=yes
8400
8541
else
8401
 
  echo "$as_me: failed program was:" >&5
 
8542
  $as_echo "$as_me: failed program was:" >&5
8402
8543
sed 's/^/| /' conftest.$ac_ext >&5
8403
8544
 
8404
8545
        ac_cv_func_gethostbyname=no
8405
8546
fi
8406
8547
 
 
8548
rm -rf conftest.dSYM
8407
8549
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8408
8550
      conftest$ac_exeext conftest.$ac_ext
8409
8551
fi
8410
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8411
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
 
8552
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
8553
$as_echo "$ac_cv_func_gethostbyname" >&6; }
8412
8554
 
8413
8555
    if test $ac_cv_func_gethostbyname = no; then
8414
 
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8415
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
 
8556
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
8557
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8416
8558
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
8417
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8559
  $as_echo_n "(cached) " >&6
8418
8560
else
8419
8561
  ac_check_lib_save_LIBS=$LIBS
8420
8562
LIBS="-lnsl  $LIBS"
8446
8588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8447
8589
  *) ac_try_echo=$ac_try;;
8448
8590
esac
8449
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8591
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8592
$as_echo "$ac_try_echo") >&5
8450
8593
  (eval "$ac_link") 2>conftest.er1
8451
8594
  ac_status=$?
8452
8595
  grep -v '^ *+' conftest.er1 >conftest.err
8453
8596
  rm -f conftest.er1
8454
8597
  cat conftest.err >&5
8455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8598
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456
8599
  (exit $ac_status); } && {
8457
8600
         test -z "$ac_cxx_werror_flag" ||
8458
8601
         test ! -s conftest.err
8459
 
       } && test -s conftest$ac_exeext &&
8460
 
       $as_test_x conftest$ac_exeext; then
 
8602
       } && test -s conftest$ac_exeext && {
 
8603
         test "$cross_compiling" = yes ||
 
8604
         $as_test_x conftest$ac_exeext
 
8605
       }; then
8461
8606
  ac_cv_lib_nsl_gethostbyname=yes
8462
8607
else
8463
 
  echo "$as_me: failed program was:" >&5
 
8608
  $as_echo "$as_me: failed program was:" >&5
8464
8609
sed 's/^/| /' conftest.$ac_ext >&5
8465
8610
 
8466
8611
        ac_cv_lib_nsl_gethostbyname=no
8467
8612
fi
8468
8613
 
 
8614
rm -rf conftest.dSYM
8469
8615
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8470
8616
      conftest$ac_exeext conftest.$ac_ext
8471
8617
LIBS=$ac_check_lib_save_LIBS
8472
8618
fi
8473
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8474
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
8475
 
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
8619
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
8620
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
8621
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
8476
8622
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8477
8623
fi
8478
8624
 
8479
8625
      if test $ac_cv_lib_nsl_gethostbyname = no; then
8480
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8481
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
 
8626
        { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
8627
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8482
8628
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8629
  $as_echo_n "(cached) " >&6
8484
8630
else
8485
8631
  ac_check_lib_save_LIBS=$LIBS
8486
8632
LIBS="-lbsd  $LIBS"
8512
8658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8513
8659
  *) ac_try_echo=$ac_try;;
8514
8660
esac
8515
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8661
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8662
$as_echo "$ac_try_echo") >&5
8516
8663
  (eval "$ac_link") 2>conftest.er1
8517
8664
  ac_status=$?
8518
8665
  grep -v '^ *+' conftest.er1 >conftest.err
8519
8666
  rm -f conftest.er1
8520
8667
  cat conftest.err >&5
8521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8668
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522
8669
  (exit $ac_status); } && {
8523
8670
         test -z "$ac_cxx_werror_flag" ||
8524
8671
         test ! -s conftest.err
8525
 
       } && test -s conftest$ac_exeext &&
8526
 
       $as_test_x conftest$ac_exeext; then
 
8672
       } && test -s conftest$ac_exeext && {
 
8673
         test "$cross_compiling" = yes ||
 
8674
         $as_test_x conftest$ac_exeext
 
8675
       }; then
8527
8676
  ac_cv_lib_bsd_gethostbyname=yes
8528
8677
else
8529
 
  echo "$as_me: failed program was:" >&5
 
8678
  $as_echo "$as_me: failed program was:" >&5
8530
8679
sed 's/^/| /' conftest.$ac_ext >&5
8531
8680
 
8532
8681
        ac_cv_lib_bsd_gethostbyname=no
8533
8682
fi
8534
8683
 
 
8684
rm -rf conftest.dSYM
8535
8685
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8536
8686
      conftest$ac_exeext conftest.$ac_ext
8537
8687
LIBS=$ac_check_lib_save_LIBS
8538
8688
fi
8539
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8540
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
8541
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
 
8689
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
8690
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
8691
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
8542
8692
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8543
8693
fi
8544
8694
 
8552
8702
    # variants that don't use the name server (or something).  -lsocket
8553
8703
    # must be given before -lnsl if both are needed.  We assume that
8554
8704
    # if connect needs -lnsl, so does gethostbyname.
8555
 
    { echo "$as_me:$LINENO: checking for connect" >&5
8556
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
 
8705
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
 
8706
$as_echo_n "checking for connect... " >&6; }
8557
8707
if test "${ac_cv_func_connect+set}" = set; then
8558
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8708
  $as_echo_n "(cached) " >&6
8559
8709
else
8560
8710
  cat >conftest.$ac_ext <<_ACEOF
8561
8711
/* confdefs.h.  */
8608
8758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8609
8759
  *) ac_try_echo=$ac_try;;
8610
8760
esac
8611
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8761
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8762
$as_echo "$ac_try_echo") >&5
8612
8763
  (eval "$ac_link") 2>conftest.er1
8613
8764
  ac_status=$?
8614
8765
  grep -v '^ *+' conftest.er1 >conftest.err
8615
8766
  rm -f conftest.er1
8616
8767
  cat conftest.err >&5
8617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8768
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618
8769
  (exit $ac_status); } && {
8619
8770
         test -z "$ac_cxx_werror_flag" ||
8620
8771
         test ! -s conftest.err
8621
 
       } && test -s conftest$ac_exeext &&
8622
 
       $as_test_x conftest$ac_exeext; then
 
8772
       } && test -s conftest$ac_exeext && {
 
8773
         test "$cross_compiling" = yes ||
 
8774
         $as_test_x conftest$ac_exeext
 
8775
       }; then
8623
8776
  ac_cv_func_connect=yes
8624
8777
else
8625
 
  echo "$as_me: failed program was:" >&5
 
8778
  $as_echo "$as_me: failed program was:" >&5
8626
8779
sed 's/^/| /' conftest.$ac_ext >&5
8627
8780
 
8628
8781
        ac_cv_func_connect=no
8629
8782
fi
8630
8783
 
 
8784
rm -rf conftest.dSYM
8631
8785
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8632
8786
      conftest$ac_exeext conftest.$ac_ext
8633
8787
fi
8634
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8635
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
 
8788
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
8789
$as_echo "$ac_cv_func_connect" >&6; }
8636
8790
 
8637
8791
    if test $ac_cv_func_connect = no; then
8638
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8639
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
 
8792
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
8793
$as_echo_n "checking for connect in -lsocket... " >&6; }
8640
8794
if test "${ac_cv_lib_socket_connect+set}" = set; then
8641
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8795
  $as_echo_n "(cached) " >&6
8642
8796
else
8643
8797
  ac_check_lib_save_LIBS=$LIBS
8644
8798
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8670
8824
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8671
8825
  *) ac_try_echo=$ac_try;;
8672
8826
esac
8673
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8827
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8828
$as_echo "$ac_try_echo") >&5
8674
8829
  (eval "$ac_link") 2>conftest.er1
8675
8830
  ac_status=$?
8676
8831
  grep -v '^ *+' conftest.er1 >conftest.err
8677
8832
  rm -f conftest.er1
8678
8833
  cat conftest.err >&5
8679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8834
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680
8835
  (exit $ac_status); } && {
8681
8836
         test -z "$ac_cxx_werror_flag" ||
8682
8837
         test ! -s conftest.err
8683
 
       } && test -s conftest$ac_exeext &&
8684
 
       $as_test_x conftest$ac_exeext; then
 
8838
       } && test -s conftest$ac_exeext && {
 
8839
         test "$cross_compiling" = yes ||
 
8840
         $as_test_x conftest$ac_exeext
 
8841
       }; then
8685
8842
  ac_cv_lib_socket_connect=yes
8686
8843
else
8687
 
  echo "$as_me: failed program was:" >&5
 
8844
  $as_echo "$as_me: failed program was:" >&5
8688
8845
sed 's/^/| /' conftest.$ac_ext >&5
8689
8846
 
8690
8847
        ac_cv_lib_socket_connect=no
8691
8848
fi
8692
8849
 
 
8850
rm -rf conftest.dSYM
8693
8851
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8694
8852
      conftest$ac_exeext conftest.$ac_ext
8695
8853
LIBS=$ac_check_lib_save_LIBS
8696
8854
fi
8697
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8698
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
8699
 
if test $ac_cv_lib_socket_connect = yes; then
 
8855
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
8856
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
8857
if test "x$ac_cv_lib_socket_connect" = x""yes; then
8700
8858
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8701
8859
fi
8702
8860
 
8703
8861
    fi
8704
8862
 
8705
8863
    # Guillermo Gomez says -lposix is necessary on A/UX.
8706
 
    { echo "$as_me:$LINENO: checking for remove" >&5
8707
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
 
8864
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
 
8865
$as_echo_n "checking for remove... " >&6; }
8708
8866
if test "${ac_cv_func_remove+set}" = set; then
8709
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8867
  $as_echo_n "(cached) " >&6
8710
8868
else
8711
8869
  cat >conftest.$ac_ext <<_ACEOF
8712
8870
/* confdefs.h.  */
8759
8917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8760
8918
  *) ac_try_echo=$ac_try;;
8761
8919
esac
8762
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8920
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8921
$as_echo "$ac_try_echo") >&5
8763
8922
  (eval "$ac_link") 2>conftest.er1
8764
8923
  ac_status=$?
8765
8924
  grep -v '^ *+' conftest.er1 >conftest.err
8766
8925
  rm -f conftest.er1
8767
8926
  cat conftest.err >&5
8768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8927
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769
8928
  (exit $ac_status); } && {
8770
8929
         test -z "$ac_cxx_werror_flag" ||
8771
8930
         test ! -s conftest.err
8772
 
       } && test -s conftest$ac_exeext &&
8773
 
       $as_test_x conftest$ac_exeext; then
 
8931
       } && test -s conftest$ac_exeext && {
 
8932
         test "$cross_compiling" = yes ||
 
8933
         $as_test_x conftest$ac_exeext
 
8934
       }; then
8774
8935
  ac_cv_func_remove=yes
8775
8936
else
8776
 
  echo "$as_me: failed program was:" >&5
 
8937
  $as_echo "$as_me: failed program was:" >&5
8777
8938
sed 's/^/| /' conftest.$ac_ext >&5
8778
8939
 
8779
8940
        ac_cv_func_remove=no
8780
8941
fi
8781
8942
 
 
8943
rm -rf conftest.dSYM
8782
8944
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8783
8945
      conftest$ac_exeext conftest.$ac_ext
8784
8946
fi
8785
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8786
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
 
8947
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
8948
$as_echo "$ac_cv_func_remove" >&6; }
8787
8949
 
8788
8950
    if test $ac_cv_func_remove = no; then
8789
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8790
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
 
8951
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
8952
$as_echo_n "checking for remove in -lposix... " >&6; }
8791
8953
if test "${ac_cv_lib_posix_remove+set}" = set; then
8792
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8954
  $as_echo_n "(cached) " >&6
8793
8955
else
8794
8956
  ac_check_lib_save_LIBS=$LIBS
8795
8957
LIBS="-lposix  $LIBS"
8821
8983
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8822
8984
  *) ac_try_echo=$ac_try;;
8823
8985
esac
8824
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8986
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8987
$as_echo "$ac_try_echo") >&5
8825
8988
  (eval "$ac_link") 2>conftest.er1
8826
8989
  ac_status=$?
8827
8990
  grep -v '^ *+' conftest.er1 >conftest.err
8828
8991
  rm -f conftest.er1
8829
8992
  cat conftest.err >&5
8830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8993
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831
8994
  (exit $ac_status); } && {
8832
8995
         test -z "$ac_cxx_werror_flag" ||
8833
8996
         test ! -s conftest.err
8834
 
       } && test -s conftest$ac_exeext &&
8835
 
       $as_test_x conftest$ac_exeext; then
 
8997
       } && test -s conftest$ac_exeext && {
 
8998
         test "$cross_compiling" = yes ||
 
8999
         $as_test_x conftest$ac_exeext
 
9000
       }; then
8836
9001
  ac_cv_lib_posix_remove=yes
8837
9002
else
8838
 
  echo "$as_me: failed program was:" >&5
 
9003
  $as_echo "$as_me: failed program was:" >&5
8839
9004
sed 's/^/| /' conftest.$ac_ext >&5
8840
9005
 
8841
9006
        ac_cv_lib_posix_remove=no
8842
9007
fi
8843
9008
 
 
9009
rm -rf conftest.dSYM
8844
9010
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8845
9011
      conftest$ac_exeext conftest.$ac_ext
8846
9012
LIBS=$ac_check_lib_save_LIBS
8847
9013
fi
8848
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8849
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
8850
 
if test $ac_cv_lib_posix_remove = yes; then
 
9014
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
9015
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
9016
if test "x$ac_cv_lib_posix_remove" = x""yes; then
8851
9017
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8852
9018
fi
8853
9019
 
8854
9020
    fi
8855
9021
 
8856
9022
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8857
 
    { echo "$as_me:$LINENO: checking for shmat" >&5
8858
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
 
9023
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
 
9024
$as_echo_n "checking for shmat... " >&6; }
8859
9025
if test "${ac_cv_func_shmat+set}" = set; then
8860
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9026
  $as_echo_n "(cached) " >&6
8861
9027
else
8862
9028
  cat >conftest.$ac_ext <<_ACEOF
8863
9029
/* confdefs.h.  */
8910
9076
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8911
9077
  *) ac_try_echo=$ac_try;;
8912
9078
esac
8913
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9079
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9080
$as_echo "$ac_try_echo") >&5
8914
9081
  (eval "$ac_link") 2>conftest.er1
8915
9082
  ac_status=$?
8916
9083
  grep -v '^ *+' conftest.er1 >conftest.err
8917
9084
  rm -f conftest.er1
8918
9085
  cat conftest.err >&5
8919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9086
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920
9087
  (exit $ac_status); } && {
8921
9088
         test -z "$ac_cxx_werror_flag" ||
8922
9089
         test ! -s conftest.err
8923
 
       } && test -s conftest$ac_exeext &&
8924
 
       $as_test_x conftest$ac_exeext; then
 
9090
       } && test -s conftest$ac_exeext && {
 
9091
         test "$cross_compiling" = yes ||
 
9092
         $as_test_x conftest$ac_exeext
 
9093
       }; then
8925
9094
  ac_cv_func_shmat=yes
8926
9095
else
8927
 
  echo "$as_me: failed program was:" >&5
 
9096
  $as_echo "$as_me: failed program was:" >&5
8928
9097
sed 's/^/| /' conftest.$ac_ext >&5
8929
9098
 
8930
9099
        ac_cv_func_shmat=no
8931
9100
fi
8932
9101
 
 
9102
rm -rf conftest.dSYM
8933
9103
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8934
9104
      conftest$ac_exeext conftest.$ac_ext
8935
9105
fi
8936
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
8937
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
 
9106
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
9107
$as_echo "$ac_cv_func_shmat" >&6; }
8938
9108
 
8939
9109
    if test $ac_cv_func_shmat = no; then
8940
 
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
8941
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
 
9110
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
9111
$as_echo_n "checking for shmat in -lipc... " >&6; }
8942
9112
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
8943
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9113
  $as_echo_n "(cached) " >&6
8944
9114
else
8945
9115
  ac_check_lib_save_LIBS=$LIBS
8946
9116
LIBS="-lipc  $LIBS"
8972
9142
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8973
9143
  *) ac_try_echo=$ac_try;;
8974
9144
esac
8975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9145
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9146
$as_echo "$ac_try_echo") >&5
8976
9147
  (eval "$ac_link") 2>conftest.er1
8977
9148
  ac_status=$?
8978
9149
  grep -v '^ *+' conftest.er1 >conftest.err
8979
9150
  rm -f conftest.er1
8980
9151
  cat conftest.err >&5
8981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9152
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982
9153
  (exit $ac_status); } && {
8983
9154
         test -z "$ac_cxx_werror_flag" ||
8984
9155
         test ! -s conftest.err
8985
 
       } && test -s conftest$ac_exeext &&
8986
 
       $as_test_x conftest$ac_exeext; then
 
9156
       } && test -s conftest$ac_exeext && {
 
9157
         test "$cross_compiling" = yes ||
 
9158
         $as_test_x conftest$ac_exeext
 
9159
       }; then
8987
9160
  ac_cv_lib_ipc_shmat=yes
8988
9161
else
8989
 
  echo "$as_me: failed program was:" >&5
 
9162
  $as_echo "$as_me: failed program was:" >&5
8990
9163
sed 's/^/| /' conftest.$ac_ext >&5
8991
9164
 
8992
9165
        ac_cv_lib_ipc_shmat=no
8993
9166
fi
8994
9167
 
 
9168
rm -rf conftest.dSYM
8995
9169
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8996
9170
      conftest$ac_exeext conftest.$ac_ext
8997
9171
LIBS=$ac_check_lib_save_LIBS
8998
9172
fi
8999
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
9000
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
9001
 
if test $ac_cv_lib_ipc_shmat = yes; then
 
9173
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
9174
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
9175
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
9002
9176
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9003
9177
fi
9004
9178
 
9014
9188
  # These have to be linked with before -lX11, unlike the other
9015
9189
  # libraries we check for below, so use a different variable.
9016
9190
  # John Interrante, Karl Berry
9017
 
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
9018
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
 
9191
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
9192
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9019
9193
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
9020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9194
  $as_echo_n "(cached) " >&6
9021
9195
else
9022
9196
  ac_check_lib_save_LIBS=$LIBS
9023
9197
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9049
9223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9050
9224
  *) ac_try_echo=$ac_try;;
9051
9225
esac
9052
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9226
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9227
$as_echo "$ac_try_echo") >&5
9053
9228
  (eval "$ac_link") 2>conftest.er1
9054
9229
  ac_status=$?
9055
9230
  grep -v '^ *+' conftest.er1 >conftest.err
9056
9231
  rm -f conftest.er1
9057
9232
  cat conftest.err >&5
9058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9233
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059
9234
  (exit $ac_status); } && {
9060
9235
         test -z "$ac_cxx_werror_flag" ||
9061
9236
         test ! -s conftest.err
9062
 
       } && test -s conftest$ac_exeext &&
9063
 
       $as_test_x conftest$ac_exeext; then
 
9237
       } && test -s conftest$ac_exeext && {
 
9238
         test "$cross_compiling" = yes ||
 
9239
         $as_test_x conftest$ac_exeext
 
9240
       }; then
9064
9241
  ac_cv_lib_ICE_IceConnectionNumber=yes
9065
9242
else
9066
 
  echo "$as_me: failed program was:" >&5
 
9243
  $as_echo "$as_me: failed program was:" >&5
9067
9244
sed 's/^/| /' conftest.$ac_ext >&5
9068
9245
 
9069
9246
        ac_cv_lib_ICE_IceConnectionNumber=no
9070
9247
fi
9071
9248
 
 
9249
rm -rf conftest.dSYM
9072
9250
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9073
9251
      conftest$ac_exeext conftest.$ac_ext
9074
9252
LIBS=$ac_check_lib_save_LIBS
9075
9253
fi
9076
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9077
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9078
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
 
9254
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
9255
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
9256
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
9079
9257
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9080
9258
fi
9081
9259
 
9085
9263
 
9086
9264
 
9087
9265
if test x"$no_x" != x; then
9088
 
  { { echo "$as_me:$LINENO: error: X Window System or development libraries not found. Make sure you have headers and libraries installed!" >&5
9089
 
echo "$as_me: error: X Window System or development libraries not found. Make sure you have headers and libraries installed!" >&2;}
 
9266
  { { $as_echo "$as_me:$LINENO: error: X Window System or development libraries not found. Make sure you have headers and libraries installed!" >&5
 
9267
$as_echo "$as_me: error: X Window System or development libraries not found. Make sure you have headers and libraries installed!" >&2;}
9090
9268
   { (exit 1); exit 1; }; }
9091
9269
fi
9092
9270
 
9124
9302
 
9125
9303
for ac_header in langinfo.h
9126
9304
do
9127
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9128
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9129
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
9130
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9131
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9132
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9305
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9306
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9307
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9308
$as_echo_n "checking for $ac_header... " >&6; }
 
9309
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9310
  $as_echo_n "(cached) " >&6
9133
9311
fi
9134
 
ac_res=`eval echo '${'$as_ac_Header'}'`
9135
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9136
 
echo "${ECHO_T}$ac_res" >&6; }
 
9312
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9313
                 $as_echo "$as_val"'`
 
9314
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9315
$as_echo "$ac_res" >&6; }
9137
9316
else
9138
9317
  # Is the header compilable?
9139
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9140
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
9318
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
9319
$as_echo_n "checking $ac_header usability... " >&6; }
9141
9320
cat >conftest.$ac_ext <<_ACEOF
9142
9321
/* confdefs.h.  */
9143
9322
_ACEOF
9153
9332
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9154
9333
  *) ac_try_echo=$ac_try;;
9155
9334
esac
9156
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9335
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9336
$as_echo "$ac_try_echo") >&5
9157
9337
  (eval "$ac_compile") 2>conftest.er1
9158
9338
  ac_status=$?
9159
9339
  grep -v '^ *+' conftest.er1 >conftest.err
9160
9340
  rm -f conftest.er1
9161
9341
  cat conftest.err >&5
9162
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9342
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163
9343
  (exit $ac_status); } && {
9164
9344
         test -z "$ac_cxx_werror_flag" ||
9165
9345
         test ! -s conftest.err
9166
9346
       } && test -s conftest.$ac_objext; then
9167
9347
  ac_header_compiler=yes
9168
9348
else
9169
 
  echo "$as_me: failed program was:" >&5
 
9349
  $as_echo "$as_me: failed program was:" >&5
9170
9350
sed 's/^/| /' conftest.$ac_ext >&5
9171
9351
 
9172
9352
        ac_header_compiler=no
9173
9353
fi
9174
9354
 
9175
9355
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9176
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9177
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
9356
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
9357
$as_echo "$ac_header_compiler" >&6; }
9178
9358
 
9179
9359
# Is the header present?
9180
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9181
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
9360
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
9361
$as_echo_n "checking $ac_header presence... " >&6; }
9182
9362
cat >conftest.$ac_ext <<_ACEOF
9183
9363
/* confdefs.h.  */
9184
9364
_ACEOF
9192
9372
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9193
9373
  *) ac_try_echo=$ac_try;;
9194
9374
esac
9195
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9375
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9376
$as_echo "$ac_try_echo") >&5
9196
9377
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9197
9378
  ac_status=$?
9198
9379
  grep -v '^ *+' conftest.er1 >conftest.err
9199
9380
  rm -f conftest.er1
9200
9381
  cat conftest.err >&5
9201
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9382
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202
9383
  (exit $ac_status); } >/dev/null && {
9203
9384
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9204
9385
         test ! -s conftest.err
9205
9386
       }; then
9206
9387
  ac_header_preproc=yes
9207
9388
else
9208
 
  echo "$as_me: failed program was:" >&5
 
9389
  $as_echo "$as_me: failed program was:" >&5
9209
9390
sed 's/^/| /' conftest.$ac_ext >&5
9210
9391
 
9211
9392
  ac_header_preproc=no
9212
9393
fi
9213
9394
 
9214
9395
rm -f conftest.err conftest.$ac_ext
9215
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9216
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
9396
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
9397
$as_echo "$ac_header_preproc" >&6; }
9217
9398
 
9218
9399
# So?  What about this header?
9219
9400
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9220
9401
  yes:no: )
9221
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9222
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9223
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9224
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
9402
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
9403
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
9404
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
9405
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9225
9406
    ac_header_preproc=yes
9226
9407
    ;;
9227
9408
  no:yes:* )
9228
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9229
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9230
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9231
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9232
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9233
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9234
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9235
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9236
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9237
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9238
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9239
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
9409
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
9410
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
9411
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
9412
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
9413
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
9414
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
9415
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
9416
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
9417
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
9418
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
9419
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
9420
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9240
9421
 
9241
9422
    ;;
9242
9423
esac
9243
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9244
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
9424
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9425
$as_echo_n "checking for $ac_header... " >&6; }
9245
9426
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9246
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9427
  $as_echo_n "(cached) " >&6
9247
9428
else
9248
9429
  eval "$as_ac_Header=\$ac_header_preproc"
9249
9430
fi
9250
 
ac_res=`eval echo '${'$as_ac_Header'}'`
9251
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9252
 
echo "${ECHO_T}$ac_res" >&6; }
 
9431
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9432
                 $as_echo "$as_val"'`
 
9433
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9434
$as_echo "$ac_res" >&6; }
9253
9435
 
9254
9436
fi
9255
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
9437
as_val=`eval 'as_val=${'$as_ac_Header'}
 
9438
                 $as_echo "$as_val"'`
 
9439
   if test "x$as_val" = x""yes; then
9256
9440
  cat >>confdefs.h <<_ACEOF
9257
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9441
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9258
9442
_ACEOF
9259
9443
 
9260
9444
else
9261
 
   { { echo "$as_me:$LINENO: error: I18N support has been requested but langinfo.h wasn�t found.
 
9445
   { { $as_echo "$as_me:$LINENO: error: I18N support has been requested but langinfo.h wasn�t found.
9262
9446
*** Check your system configuration." >&5
9263
 
echo "$as_me: error: I18N support has been requested but langinfo.h wasn�t found.
 
9447
$as_echo "$as_me: error: I18N support has been requested but langinfo.h wasn�t found.
9264
9448
*** Check your system configuration." >&2;}
9265
9449
   { (exit 1); exit 1; }; }
9266
9450
fi
9267
9451
 
9268
9452
done
9269
9453
 
9270
 
      { echo "$as_me:$LINENO: checking for nl_langinfo" >&5
9271
 
echo $ECHO_N "checking for nl_langinfo... $ECHO_C" >&6; }
 
9454
      { $as_echo "$as_me:$LINENO: checking for nl_langinfo" >&5
 
9455
$as_echo_n "checking for nl_langinfo... " >&6; }
9272
9456
if test "${ac_cv_func_nl_langinfo+set}" = set; then
9273
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9457
  $as_echo_n "(cached) " >&6
9274
9458
else
9275
9459
  cat >conftest.$ac_ext <<_ACEOF
9276
9460
/* confdefs.h.  */
9323
9507
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9324
9508
  *) ac_try_echo=$ac_try;;
9325
9509
esac
9326
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9510
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9511
$as_echo "$ac_try_echo") >&5
9327
9512
  (eval "$ac_link") 2>conftest.er1
9328
9513
  ac_status=$?
9329
9514
  grep -v '^ *+' conftest.er1 >conftest.err
9330
9515
  rm -f conftest.er1
9331
9516
  cat conftest.err >&5
9332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9517
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333
9518
  (exit $ac_status); } && {
9334
9519
         test -z "$ac_cxx_werror_flag" ||
9335
9520
         test ! -s conftest.err
9336
 
       } && test -s conftest$ac_exeext &&
9337
 
       $as_test_x conftest$ac_exeext; then
 
9521
       } && test -s conftest$ac_exeext && {
 
9522
         test "$cross_compiling" = yes ||
 
9523
         $as_test_x conftest$ac_exeext
 
9524
       }; then
9338
9525
  ac_cv_func_nl_langinfo=yes
9339
9526
else
9340
 
  echo "$as_me: failed program was:" >&5
 
9527
  $as_echo "$as_me: failed program was:" >&5
9341
9528
sed 's/^/| /' conftest.$ac_ext >&5
9342
9529
 
9343
9530
        ac_cv_func_nl_langinfo=no
9344
9531
fi
9345
9532
 
 
9533
rm -rf conftest.dSYM
9346
9534
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9347
9535
      conftest$ac_exeext conftest.$ac_ext
9348
9536
fi
9349
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_nl_langinfo" >&5
9350
 
echo "${ECHO_T}$ac_cv_func_nl_langinfo" >&6; }
9351
 
if test $ac_cv_func_nl_langinfo = yes; then
 
9537
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_nl_langinfo" >&5
 
9538
$as_echo "$ac_cv_func_nl_langinfo" >&6; }
 
9539
if test "x$ac_cv_func_nl_langinfo" = x""yes; then
9352
9540
  :
9353
9541
else
9354
 
   { { echo "$as_me:$LINENO: error: I18N support has been requested but nl_langinfo wasn�t found.
 
9542
   { { $as_echo "$as_me:$LINENO: error: I18N support has been requested but nl_langinfo wasn�t found.
9355
9543
*** Check your system configuration." >&5
9356
 
echo "$as_me: error: I18N support has been requested but nl_langinfo wasn�t found.
 
9544
$as_echo "$as_me: error: I18N support has been requested but nl_langinfo wasn�t found.
9357
9545
*** Check your system configuration." >&2;}
9358
9546
   { (exit 1); exit 1; }; }
9359
9547
fi
9362
9550
      ice_nl_codesets=""
9363
9551
 
9364
9552
 
9365
 
  { echo "$as_me:$LINENO: checking whether nl_langinfo supports CODESET" >&5
9366
 
echo $ECHO_N "checking whether nl_langinfo supports CODESET... $ECHO_C" >&6; }
 
9553
  { $as_echo "$as_me:$LINENO: checking whether nl_langinfo supports CODESET" >&5
 
9554
$as_echo_n "checking whether nl_langinfo supports CODESET... " >&6; }
9367
9555
  cat >conftest.$ac_ext <<_ACEOF
9368
9556
/* confdefs.h.  */
9369
9557
_ACEOF
9387
9575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9388
9576
  *) ac_try_echo=$ac_try;;
9389
9577
esac
9390
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9578
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9579
$as_echo "$ac_try_echo") >&5
9391
9580
  (eval "$ac_compile") 2>conftest.er1
9392
9581
  ac_status=$?
9393
9582
  grep -v '^ *+' conftest.er1 >conftest.err
9394
9583
  rm -f conftest.er1
9395
9584
  cat conftest.err >&5
9396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9585
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397
9586
  (exit $ac_status); } && {
9398
9587
         test -z "$ac_cxx_werror_flag" ||
9399
9588
         test ! -s conftest.err
9400
9589
       } && test -s conftest.$ac_objext; then
9401
 
   { echo "$as_me:$LINENO: result: yes" >&5
9402
 
echo "${ECHO_T}yes" >&6; }
 
9590
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
9591
$as_echo "yes" >&6; }
9403
9592
       ice_nl_codesets="${ice_nl_codesets} CODESET,"
9404
9593
else
9405
 
  echo "$as_me: failed program was:" >&5
 
9594
  $as_echo "$as_me: failed program was:" >&5
9406
9595
sed 's/^/| /' conftest.$ac_ext >&5
9407
9596
 
9408
 
         { echo "$as_me:$LINENO: result: no" >&5
9409
 
echo "${ECHO_T}no" >&6; }
 
9597
         { $as_echo "$as_me:$LINENO: result: no" >&5
 
9598
$as_echo "no" >&6; }
9410
9599
      have_CODESET=no
9411
9600
fi
9412
9601
 
9413
9602
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9414
9603
 
9415
9604
 
9416
 
  { echo "$as_me:$LINENO: checking whether nl_langinfo supports _NL_CTYPE_CODESET_NAME" >&5
9417
 
echo $ECHO_N "checking whether nl_langinfo supports _NL_CTYPE_CODESET_NAME... $ECHO_C" >&6; }
 
9605
  { $as_echo "$as_me:$LINENO: checking whether nl_langinfo supports _NL_CTYPE_CODESET_NAME" >&5
 
9606
$as_echo_n "checking whether nl_langinfo supports _NL_CTYPE_CODESET_NAME... " >&6; }
9418
9607
  cat >conftest.$ac_ext <<_ACEOF
9419
9608
/* confdefs.h.  */
9420
9609
_ACEOF
9438
9627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9439
9628
  *) ac_try_echo=$ac_try;;
9440
9629
esac
9441
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9630
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9631
$as_echo "$ac_try_echo") >&5
9442
9632
  (eval "$ac_compile") 2>conftest.er1
9443
9633
  ac_status=$?
9444
9634
  grep -v '^ *+' conftest.er1 >conftest.err
9445
9635
  rm -f conftest.er1
9446
9636
  cat conftest.err >&5
9447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9637
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448
9638
  (exit $ac_status); } && {
9449
9639
         test -z "$ac_cxx_werror_flag" ||
9450
9640
         test ! -s conftest.err
9451
9641
       } && test -s conftest.$ac_objext; then
9452
 
   { echo "$as_me:$LINENO: result: yes" >&5
9453
 
echo "${ECHO_T}yes" >&6; }
 
9642
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
9643
$as_echo "yes" >&6; }
9454
9644
       ice_nl_codesets="${ice_nl_codesets} _NL_CTYPE_CODESET_NAME,"
9455
9645
else
9456
 
  echo "$as_me: failed program was:" >&5
 
9646
  $as_echo "$as_me: failed program was:" >&5
9457
9647
sed 's/^/| /' conftest.$ac_ext >&5
9458
9648
 
9459
 
         { echo "$as_me:$LINENO: result: no" >&5
9460
 
echo "${ECHO_T}no" >&6; }
 
9649
         { $as_echo "$as_me:$LINENO: result: no" >&5
 
9650
$as_echo "no" >&6; }
9461
9651
      have__NL_CTYPE_CODESET_NAME=no
9462
9652
fi
9463
9653
 
9465
9655
 
9466
9656
 
9467
9657
      if test "${ice_nl_codesets}" = ""; then
9468
 
        { { echo "$as_me:$LINENO: error: I18N support has been requested but nl_langinfo doesn't
 
9658
        { { $as_echo "$as_me:$LINENO: error: I18N support has been requested but nl_langinfo doesn't
9469
9659
*** return any information about the locale's codeset. Check your manuals.
9470
9660
*** Ask your vendor. Contact icewm-devel@lists.sourceforge.net when you know
9471
9661
*** the name of the locale-dependent parameter for your platform." >&5
9472
 
echo "$as_me: error: I18N support has been requested but nl_langinfo doesn't
 
9662
$as_echo "$as_me: error: I18N support has been requested but nl_langinfo doesn't
9473
9663
*** return any information about the locale's codeset. Check your manuals.
9474
9664
*** Ask your vendor. Contact icewm-devel@lists.sourceforge.net when you know
9475
9665
*** the name of the locale-dependent parameter for your platform." >&2;}
9488
9678
 
9489
9679
for ac_header in iconv.h
9490
9680
do
9491
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9492
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9493
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
9494
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9495
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9496
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9681
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9682
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9683
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9684
$as_echo_n "checking for $ac_header... " >&6; }
 
9685
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9686
  $as_echo_n "(cached) " >&6
9497
9687
fi
9498
 
ac_res=`eval echo '${'$as_ac_Header'}'`
9499
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9500
 
echo "${ECHO_T}$ac_res" >&6; }
 
9688
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9689
                 $as_echo "$as_val"'`
 
9690
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9691
$as_echo "$ac_res" >&6; }
9501
9692
else
9502
9693
  # Is the header compilable?
9503
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9504
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
9694
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
9695
$as_echo_n "checking $ac_header usability... " >&6; }
9505
9696
cat >conftest.$ac_ext <<_ACEOF
9506
9697
/* confdefs.h.  */
9507
9698
_ACEOF
9517
9708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9518
9709
  *) ac_try_echo=$ac_try;;
9519
9710
esac
9520
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9711
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9712
$as_echo "$ac_try_echo") >&5
9521
9713
  (eval "$ac_compile") 2>conftest.er1
9522
9714
  ac_status=$?
9523
9715
  grep -v '^ *+' conftest.er1 >conftest.err
9524
9716
  rm -f conftest.er1
9525
9717
  cat conftest.err >&5
9526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9718
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527
9719
  (exit $ac_status); } && {
9528
9720
         test -z "$ac_cxx_werror_flag" ||
9529
9721
         test ! -s conftest.err
9530
9722
       } && test -s conftest.$ac_objext; then
9531
9723
  ac_header_compiler=yes
9532
9724
else
9533
 
  echo "$as_me: failed program was:" >&5
 
9725
  $as_echo "$as_me: failed program was:" >&5
9534
9726
sed 's/^/| /' conftest.$ac_ext >&5
9535
9727
 
9536
9728
        ac_header_compiler=no
9537
9729
fi
9538
9730
 
9539
9731
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9540
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9541
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
9732
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
9733
$as_echo "$ac_header_compiler" >&6; }
9542
9734
 
9543
9735
# Is the header present?
9544
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9545
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
9736
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
9737
$as_echo_n "checking $ac_header presence... " >&6; }
9546
9738
cat >conftest.$ac_ext <<_ACEOF
9547
9739
/* confdefs.h.  */
9548
9740
_ACEOF
9556
9748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9557
9749
  *) ac_try_echo=$ac_try;;
9558
9750
esac
9559
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9751
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9752
$as_echo "$ac_try_echo") >&5
9560
9753
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9561
9754
  ac_status=$?
9562
9755
  grep -v '^ *+' conftest.er1 >conftest.err
9563
9756
  rm -f conftest.er1
9564
9757
  cat conftest.err >&5
9565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9758
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566
9759
  (exit $ac_status); } >/dev/null && {
9567
9760
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9568
9761
         test ! -s conftest.err
9569
9762
       }; then
9570
9763
  ac_header_preproc=yes
9571
9764
else
9572
 
  echo "$as_me: failed program was:" >&5
 
9765
  $as_echo "$as_me: failed program was:" >&5
9573
9766
sed 's/^/| /' conftest.$ac_ext >&5
9574
9767
 
9575
9768
  ac_header_preproc=no
9576
9769
fi
9577
9770
 
9578
9771
rm -f conftest.err conftest.$ac_ext
9579
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9580
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
9772
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
9773
$as_echo "$ac_header_preproc" >&6; }
9581
9774
 
9582
9775
# So?  What about this header?
9583
9776
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9584
9777
  yes:no: )
9585
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9586
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9587
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9588
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
9778
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
9779
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
9780
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
9781
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9589
9782
    ac_header_preproc=yes
9590
9783
    ;;
9591
9784
  no:yes:* )
9592
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9593
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9594
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9595
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9596
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9597
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9598
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9599
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9600
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9601
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9602
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9603
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
9785
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
9786
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
9787
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
9788
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
9789
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
9790
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
9791
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
9792
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
9793
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
9794
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
9795
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
9796
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9604
9797
 
9605
9798
    ;;
9606
9799
esac
9607
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9608
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
9800
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9801
$as_echo_n "checking for $ac_header... " >&6; }
9609
9802
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9610
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9803
  $as_echo_n "(cached) " >&6
9611
9804
else
9612
9805
  eval "$as_ac_Header=\$ac_header_preproc"
9613
9806
fi
9614
 
ac_res=`eval echo '${'$as_ac_Header'}'`
9615
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9616
 
echo "${ECHO_T}$ac_res" >&6; }
 
9807
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9808
                 $as_echo "$as_val"'`
 
9809
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9810
$as_echo "$ac_res" >&6; }
9617
9811
 
9618
9812
fi
9619
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
9813
as_val=`eval 'as_val=${'$as_ac_Header'}
 
9814
                 $as_echo "$as_val"'`
 
9815
   if test "x$as_val" = x""yes; then
9620
9816
  cat >>confdefs.h <<_ACEOF
9621
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9817
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9622
9818
_ACEOF
9623
9819
 
9624
9820
else
9625
 
   { { echo "$as_me:$LINENO: error: I18N support has been requested but iconv.h wasn�t found.
 
9821
   { { $as_echo "$as_me:$LINENO: error: I18N support has been requested but iconv.h wasn�t found.
9626
9822
*** Check your system configuration.
9627
9823
***
9628
9824
*** You might have to upgrade your C runtime library. If your system is
9631
9827
*** from ftp://ftp.gnu.org/pub/gnu/libiconv/.
9632
9828
***
9633
9829
*** Alternatively you could call configure with the --disable-i18n switch." >&5
9634
 
echo "$as_me: error: I18N support has been requested but iconv.h wasn�t found.
 
9830
$as_echo "$as_me: error: I18N support has been requested but iconv.h wasn�t found.
9635
9831
*** Check your system configuration.
9636
9832
***
9637
9833
*** You might have to upgrade your C runtime library. If your system is
9646
9842
done
9647
9843
 
9648
9844
 
9649
 
      { echo "$as_me:$LINENO: checking whether _libiconv_version is declared" >&5
9650
 
echo $ECHO_N "checking whether _libiconv_version is declared... $ECHO_C" >&6; }
 
9845
      { $as_echo "$as_me:$LINENO: checking whether _libiconv_version is declared" >&5
 
9846
$as_echo_n "checking whether _libiconv_version is declared... " >&6; }
9651
9847
if test "${ac_cv_have_decl__libiconv_version+set}" = set; then
9652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9848
  $as_echo_n "(cached) " >&6
9653
9849
else
9654
9850
  cat >conftest.$ac_ext <<_ACEOF
9655
9851
/* confdefs.h.  */
9676
9872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9677
9873
  *) ac_try_echo=$ac_try;;
9678
9874
esac
9679
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9875
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9876
$as_echo "$ac_try_echo") >&5
9680
9877
  (eval "$ac_compile") 2>conftest.er1
9681
9878
  ac_status=$?
9682
9879
  grep -v '^ *+' conftest.er1 >conftest.err
9683
9880
  rm -f conftest.er1
9684
9881
  cat conftest.err >&5
9685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9882
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686
9883
  (exit $ac_status); } && {
9687
9884
         test -z "$ac_cxx_werror_flag" ||
9688
9885
         test ! -s conftest.err
9689
9886
       } && test -s conftest.$ac_objext; then
9690
9887
  ac_cv_have_decl__libiconv_version=yes
9691
9888
else
9692
 
  echo "$as_me: failed program was:" >&5
 
9889
  $as_echo "$as_me: failed program was:" >&5
9693
9890
sed 's/^/| /' conftest.$ac_ext >&5
9694
9891
 
9695
9892
        ac_cv_have_decl__libiconv_version=no
9697
9894
 
9698
9895
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9699
9896
fi
9700
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__libiconv_version" >&5
9701
 
echo "${ECHO_T}$ac_cv_have_decl__libiconv_version" >&6; }
9702
 
if test $ac_cv_have_decl__libiconv_version = yes; then
9703
 
   { echo "$as_me:$LINENO: result: assuming iconv.h belongs to GNU libiconv" >&5
9704
 
echo "${ECHO_T}assuming iconv.h belongs to GNU libiconv" >&6; }
 
9897
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl__libiconv_version" >&5
 
9898
$as_echo "$ac_cv_have_decl__libiconv_version" >&6; }
 
9899
if test "x$ac_cv_have_decl__libiconv_version" = x""yes; then
 
9900
   { $as_echo "$as_me:$LINENO: result: assuming iconv.h belongs to GNU libiconv" >&5
 
9901
$as_echo "assuming iconv.h belongs to GNU libiconv" >&6; }
9705
9902
        LIBS="-liconv $LIBS"
9706
9903
        cat >conftest.$ac_ext <<_ACEOF
9707
9904
/* confdefs.h.  */
9724
9921
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9725
9922
  *) ac_try_echo=$ac_try;;
9726
9923
esac
9727
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9924
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9925
$as_echo "$ac_try_echo") >&5
9728
9926
  (eval "$ac_link") 2>conftest.er1
9729
9927
  ac_status=$?
9730
9928
  grep -v '^ *+' conftest.er1 >conftest.err
9731
9929
  rm -f conftest.er1
9732
9930
  cat conftest.err >&5
9733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9931
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734
9932
  (exit $ac_status); } && {
9735
9933
         test -z "$ac_cxx_werror_flag" ||
9736
9934
         test ! -s conftest.err
9737
 
       } && test -s conftest$ac_exeext &&
9738
 
       $as_test_x conftest$ac_exeext; then
 
9935
       } && test -s conftest$ac_exeext && {
 
9936
         test "$cross_compiling" = yes ||
 
9937
         $as_test_x conftest$ac_exeext
 
9938
       }; then
9739
9939
  cat >conftest.$ac_ext <<_ACEOF
9740
9940
/* confdefs.h.  */
9741
9941
_ACEOF
9757
9957
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9758
9958
  *) ac_try_echo=$ac_try;;
9759
9959
esac
9760
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9960
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9961
$as_echo "$ac_try_echo") >&5
9761
9962
  (eval "$ac_link") 2>conftest.er1
9762
9963
  ac_status=$?
9763
9964
  grep -v '^ *+' conftest.er1 >conftest.err
9764
9965
  rm -f conftest.er1
9765
9966
  cat conftest.err >&5
9766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9967
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767
9968
  (exit $ac_status); } && {
9768
9969
         test -z "$ac_cxx_werror_flag" ||
9769
9970
         test ! -s conftest.err
9770
 
       } && test -s conftest$ac_exeext &&
9771
 
       $as_test_x conftest$ac_exeext; then
 
9971
       } && test -s conftest$ac_exeext && {
 
9972
         test "$cross_compiling" = yes ||
 
9973
         $as_test_x conftest$ac_exeext
 
9974
       }; then
9772
9975
  cat >conftest.$ac_ext <<_ACEOF
9773
9976
/* confdefs.h.  */
9774
9977
_ACEOF
9790
9993
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9791
9994
  *) ac_try_echo=$ac_try;;
9792
9995
esac
9793
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9996
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9997
$as_echo "$ac_try_echo") >&5
9794
9998
  (eval "$ac_link") 2>conftest.er1
9795
9999
  ac_status=$?
9796
10000
  grep -v '^ *+' conftest.er1 >conftest.err
9797
10001
  rm -f conftest.er1
9798
10002
  cat conftest.err >&5
9799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10003
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9800
10004
  (exit $ac_status); } && {
9801
10005
         test -z "$ac_cxx_werror_flag" ||
9802
10006
         test ! -s conftest.err
9803
 
       } && test -s conftest$ac_exeext &&
9804
 
       $as_test_x conftest$ac_exeext; then
 
10007
       } && test -s conftest$ac_exeext && {
 
10008
         test "$cross_compiling" = yes ||
 
10009
         $as_test_x conftest$ac_exeext
 
10010
       }; then
9805
10011
  CXXFLAGS="${CXXFLAGS}"
9806
10012
        CORE_LIBS="${CORE_LIBS} -liconv"
9807
10013
 
9810
10016
_ACEOF
9811
10017
 
9812
10018
else
9813
 
  echo "$as_me: failed program was:" >&5
 
10019
  $as_echo "$as_me: failed program was:" >&5
9814
10020
sed 's/^/| /' conftest.$ac_ext >&5
9815
10021
 
9816
 
        { { echo "$as_me:$LINENO: error: iconv.h appears to be part of libiconv but linking failed.
 
10022
        { { $as_echo "$as_me:$LINENO: error: iconv.h appears to be part of libiconv but linking failed.
9817
10023
*** Check your system configuration.
9818
10024
***
9819
10025
*** You might have to upgrade your C runtime library. If your system is
9822
10028
*** from ftp://ftp.gnu.org/pub/gnu/libiconv/.
9823
10029
***
9824
10030
*** Alternatively you could call configure with the --disable-i18n switch." >&5
9825
 
echo "$as_me: error: iconv.h appears to be part of libiconv but linking failed.
 
10031
$as_echo "$as_me: error: iconv.h appears to be part of libiconv but linking failed.
9826
10032
*** Check your system configuration.
9827
10033
***
9828
10034
*** You might have to upgrade your C runtime library. If your system is
9834
10040
   { (exit 1); exit 1; }; }
9835
10041
fi
9836
10042
 
9837
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9838
 
      conftest$ac_exeext conftest.$ac_ext
9839
 
else
9840
 
  echo "$as_me: failed program was:" >&5
9841
 
sed 's/^/| /' conftest.$ac_ext >&5
9842
 
 
9843
 
 
9844
 
fi
9845
 
 
9846
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9847
 
      conftest$ac_exeext conftest.$ac_ext
9848
 
else
9849
 
  echo "$as_me: failed program was:" >&5
9850
 
sed 's/^/| /' conftest.$ac_ext >&5
9851
 
 
9852
 
 
9853
 
fi
9854
 
 
9855
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9856
 
      conftest$ac_exeext conftest.$ac_ext
9857
 
else
9858
 
   { echo "$as_me:$LINENO: result: assuming iconv.h belongs to the C library" >&5
9859
 
echo "${ECHO_T}assuming iconv.h belongs to the C library" >&6; }
 
10043
rm -rf conftest.dSYM
 
10044
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10045
      conftest$ac_exeext conftest.$ac_ext
 
10046
else
 
10047
  $as_echo "$as_me: failed program was:" >&5
 
10048
sed 's/^/| /' conftest.$ac_ext >&5
 
10049
 
 
10050
 
 
10051
fi
 
10052
 
 
10053
rm -rf conftest.dSYM
 
10054
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10055
      conftest$ac_exeext conftest.$ac_ext
 
10056
else
 
10057
  $as_echo "$as_me: failed program was:" >&5
 
10058
sed 's/^/| /' conftest.$ac_ext >&5
 
10059
 
 
10060
 
 
10061
fi
 
10062
 
 
10063
rm -rf conftest.dSYM
 
10064
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10065
      conftest$ac_exeext conftest.$ac_ext
 
10066
else
 
10067
   { $as_echo "$as_me:$LINENO: result: assuming iconv.h belongs to the C library" >&5
 
10068
$as_echo "assuming iconv.h belongs to the C library" >&6; }
9860
10069
 
9861
10070
 
9862
10071
 
9863
10072
for ac_func in iconv iconv_open iconv_close
9864
10073
do
9865
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9866
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9867
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
10074
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
10075
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
10076
$as_echo_n "checking for $ac_func... " >&6; }
9868
10077
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9869
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10078
  $as_echo_n "(cached) " >&6
9870
10079
else
9871
10080
  cat >conftest.$ac_ext <<_ACEOF
9872
10081
/* confdefs.h.  */
9919
10128
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9920
10129
  *) ac_try_echo=$ac_try;;
9921
10130
esac
9922
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10131
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10132
$as_echo "$ac_try_echo") >&5
9923
10133
  (eval "$ac_link") 2>conftest.er1
9924
10134
  ac_status=$?
9925
10135
  grep -v '^ *+' conftest.er1 >conftest.err
9926
10136
  rm -f conftest.er1
9927
10137
  cat conftest.err >&5
9928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10138
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929
10139
  (exit $ac_status); } && {
9930
10140
         test -z "$ac_cxx_werror_flag" ||
9931
10141
         test ! -s conftest.err
9932
 
       } && test -s conftest$ac_exeext &&
9933
 
       $as_test_x conftest$ac_exeext; then
 
10142
       } && test -s conftest$ac_exeext && {
 
10143
         test "$cross_compiling" = yes ||
 
10144
         $as_test_x conftest$ac_exeext
 
10145
       }; then
9934
10146
  eval "$as_ac_var=yes"
9935
10147
else
9936
 
  echo "$as_me: failed program was:" >&5
 
10148
  $as_echo "$as_me: failed program was:" >&5
9937
10149
sed 's/^/| /' conftest.$ac_ext >&5
9938
10150
 
9939
10151
        eval "$as_ac_var=no"
9940
10152
fi
9941
10153
 
 
10154
rm -rf conftest.dSYM
9942
10155
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9943
10156
      conftest$ac_exeext conftest.$ac_ext
9944
10157
fi
9945
 
ac_res=`eval echo '${'$as_ac_var'}'`
9946
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9947
 
echo "${ECHO_T}$ac_res" >&6; }
9948
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
10158
ac_res=`eval 'as_val=${'$as_ac_var'}
 
10159
                 $as_echo "$as_val"'`
 
10160
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
10161
$as_echo "$ac_res" >&6; }
 
10162
as_val=`eval 'as_val=${'$as_ac_var'}
 
10163
                 $as_echo "$as_val"'`
 
10164
   if test "x$as_val" = x""yes; then
9949
10165
  cat >>confdefs.h <<_ACEOF
9950
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
10166
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9951
10167
_ACEOF
9952
10168
 
9953
10169
else
9954
 
  { { echo "$as_me:$LINENO: error: iconv.h appears to be part of libc but linking failed.
 
10170
  { { $as_echo "$as_me:$LINENO: error: iconv.h appears to be part of libc but linking failed.
9955
10171
*** Check your system configuration.
9956
10172
***
9957
10173
*** You might have to upgrade your C runtime library. If your system is
9960
10176
*** from ftp://ftp.gnu.org/pub/gnu/libiconv/.
9961
10177
***
9962
10178
*** Alternatively you could call configure with the --disable-i18n switch." >&5
9963
 
echo "$as_me: error: iconv.h appears to be part of libc but linking failed.
 
10179
$as_echo "$as_me: error: iconv.h appears to be part of libc but linking failed.
9964
10180
*** Check your system configuration.
9965
10181
***
9966
10182
*** You might have to upgrade your C runtime library. If your system is
9994
10210
          ice_sufficent_iconv=no
9995
10211
 
9996
10212
 
9997
 
  { echo "$as_me:$LINENO: checking whether iconv converts from UTF-8 to $with_unicode_set" >&5
9998
 
echo $ECHO_N "checking whether iconv converts from UTF-8 to $with_unicode_set... $ECHO_C" >&6; }
 
10213
  { $as_echo "$as_me:$LINENO: checking whether iconv converts from UTF-8 to $with_unicode_set" >&5
 
10214
$as_echo_n "checking whether iconv converts from UTF-8 to $with_unicode_set... " >&6; }
9999
10215
  if test "$cross_compiling" = yes; then
10000
 
    { echo "$as_me:$LINENO: result: no (cross)" >&5
10001
 
echo "${ECHO_T}no (cross)" >&6; };
 
10216
    { $as_echo "$as_me:$LINENO: result: no (cross)" >&5
 
10217
$as_echo "no (cross)" >&6; };
10002
10218
else
10003
10219
  cat >conftest.$ac_ext <<_ACEOF
10004
10220
/* confdefs.h.  */
10024
10240
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10025
10241
  *) ac_try_echo=$ac_try;;
10026
10242
esac
10027
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10243
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10244
$as_echo "$ac_try_echo") >&5
10028
10245
  (eval "$ac_link") 2>&5
10029
10246
  ac_status=$?
10030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10247
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031
10248
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10032
10249
  { (case "(($ac_try" in
10033
10250
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10034
10251
  *) ac_try_echo=$ac_try;;
10035
10252
esac
10036
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10253
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10254
$as_echo "$ac_try_echo") >&5
10037
10255
  (eval "$ac_try") 2>&5
10038
10256
  ac_status=$?
10039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10257
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040
10258
  (exit $ac_status); }; }; then
10041
 
   { echo "$as_me:$LINENO: result: yes" >&5
10042
 
echo "${ECHO_T}yes" >&6; }; ice_sufficent_iconv=yes
 
10259
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10260
$as_echo "yes" >&6; }; ice_sufficent_iconv=yes
10043
10261
else
10044
 
  echo "$as_me: program exited with status $ac_status" >&5
10045
 
echo "$as_me: failed program was:" >&5
 
10262
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
10263
$as_echo "$as_me: failed program was:" >&5
10046
10264
sed 's/^/| /' conftest.$ac_ext >&5
10047
10265
 
10048
10266
( exit $ac_status )
10049
 
 { echo "$as_me:$LINENO: result: no" >&5
10050
 
echo "${ECHO_T}no" >&6; };
 
10267
 { $as_echo "$as_me:$LINENO: result: no" >&5
 
10268
$as_echo "no" >&6; };
10051
10269
fi
 
10270
rm -rf conftest.dSYM
10052
10271
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10053
10272
fi
10054
10273
 
10056
10275
 
10057
10276
          if test "$ice_sufficent_iconv" != "yes"
10058
10277
          then
10059
 
            { echo "$as_me:$LINENO: WARNING: Your implementation of iconv doesn't grok TRANSLIT" >&5
10060
 
echo "$as_me: WARNING: Your implementation of iconv doesn't grok TRANSLIT" >&2;}
 
10278
            { $as_echo "$as_me:$LINENO: WARNING: Your implementation of iconv doesn't grok TRANSLIT" >&5
 
10279
$as_echo "$as_me: WARNING: Your implementation of iconv doesn't grok TRANSLIT" >&2;}
10061
10280
            with_unicode_set=UCS-4
10062
10281
          fi
10063
10282
      fi
10065
10284
      ice_sufficent_iconv=no
10066
10285
 
10067
10286
 
10068
 
  { echo "$as_me:$LINENO: checking whether iconv converts from ISO-8859-1 to $with_unicode_set" >&5
10069
 
echo $ECHO_N "checking whether iconv converts from ISO-8859-1 to $with_unicode_set... $ECHO_C" >&6; }
 
10287
  { $as_echo "$as_me:$LINENO: checking whether iconv converts from ISO-8859-1 to $with_unicode_set" >&5
 
10288
$as_echo_n "checking whether iconv converts from ISO-8859-1 to $with_unicode_set... " >&6; }
10070
10289
  if test "$cross_compiling" = yes; then
10071
 
    { echo "$as_me:$LINENO: result: no (cross)" >&5
10072
 
echo "${ECHO_T}no (cross)" >&6; };
 
10290
    { $as_echo "$as_me:$LINENO: result: no (cross)" >&5
 
10291
$as_echo "no (cross)" >&6; };
10073
10292
else
10074
10293
  cat >conftest.$ac_ext <<_ACEOF
10075
10294
/* confdefs.h.  */
10095
10314
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10096
10315
  *) ac_try_echo=$ac_try;;
10097
10316
esac
10098
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10317
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10318
$as_echo "$ac_try_echo") >&5
10099
10319
  (eval "$ac_link") 2>&5
10100
10320
  ac_status=$?
10101
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10321
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102
10322
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10103
10323
  { (case "(($ac_try" in
10104
10324
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10105
10325
  *) ac_try_echo=$ac_try;;
10106
10326
esac
10107
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10327
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10328
$as_echo "$ac_try_echo") >&5
10108
10329
  (eval "$ac_try") 2>&5
10109
10330
  ac_status=$?
10110
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10331
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111
10332
  (exit $ac_status); }; }; then
10112
 
   { echo "$as_me:$LINENO: result: yes" >&5
10113
 
echo "${ECHO_T}yes" >&6; }; { echo "$as_me:$LINENO: checking whether iconv converts from ISO-8859-2 to $with_unicode_set" >&5
10114
 
echo $ECHO_N "checking whether iconv converts from ISO-8859-2 to $with_unicode_set... $ECHO_C" >&6; }
 
10333
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10334
$as_echo "yes" >&6; }; { $as_echo "$as_me:$LINENO: checking whether iconv converts from ISO-8859-2 to $with_unicode_set" >&5
 
10335
$as_echo_n "checking whether iconv converts from ISO-8859-2 to $with_unicode_set... " >&6; }
10115
10336
  if test "$cross_compiling" = yes; then
10116
 
    { echo "$as_me:$LINENO: result: no (cross)" >&5
10117
 
echo "${ECHO_T}no (cross)" >&6; };
 
10337
    { $as_echo "$as_me:$LINENO: result: no (cross)" >&5
 
10338
$as_echo "no (cross)" >&6; };
10118
10339
else
10119
10340
  cat >conftest.$ac_ext <<_ACEOF
10120
10341
/* confdefs.h.  */
10140
10361
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10141
10362
  *) ac_try_echo=$ac_try;;
10142
10363
esac
10143
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10364
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10365
$as_echo "$ac_try_echo") >&5
10144
10366
  (eval "$ac_link") 2>&5
10145
10367
  ac_status=$?
10146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10368
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147
10369
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10148
10370
  { (case "(($ac_try" in
10149
10371
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10150
10372
  *) ac_try_echo=$ac_try;;
10151
10373
esac
10152
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10374
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10375
$as_echo "$ac_try_echo") >&5
10153
10376
  (eval "$ac_try") 2>&5
10154
10377
  ac_status=$?
10155
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10378
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156
10379
  (exit $ac_status); }; }; then
10157
 
   { echo "$as_me:$LINENO: result: yes" >&5
10158
 
echo "${ECHO_T}yes" >&6; }; { echo "$as_me:$LINENO: checking whether iconv converts from UTF-8 to $with_unicode_set" >&5
10159
 
echo $ECHO_N "checking whether iconv converts from UTF-8 to $with_unicode_set... $ECHO_C" >&6; }
 
10380
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10381
$as_echo "yes" >&6; }; { $as_echo "$as_me:$LINENO: checking whether iconv converts from UTF-8 to $with_unicode_set" >&5
 
10382
$as_echo_n "checking whether iconv converts from UTF-8 to $with_unicode_set... " >&6; }
10160
10383
  if test "$cross_compiling" = yes; then
10161
 
    { echo "$as_me:$LINENO: result: no (cross)" >&5
10162
 
echo "${ECHO_T}no (cross)" >&6; };
 
10384
    { $as_echo "$as_me:$LINENO: result: no (cross)" >&5
 
10385
$as_echo "no (cross)" >&6; };
10163
10386
else
10164
10387
  cat >conftest.$ac_ext <<_ACEOF
10165
10388
/* confdefs.h.  */
10185
10408
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10186
10409
  *) ac_try_echo=$ac_try;;
10187
10410
esac
10188
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10411
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10412
$as_echo "$ac_try_echo") >&5
10189
10413
  (eval "$ac_link") 2>&5
10190
10414
  ac_status=$?
10191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10415
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192
10416
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10193
10417
  { (case "(($ac_try" in
10194
10418
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10195
10419
  *) ac_try_echo=$ac_try;;
10196
10420
esac
10197
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10421
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10422
$as_echo "$ac_try_echo") >&5
10198
10423
  (eval "$ac_try") 2>&5
10199
10424
  ac_status=$?
10200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10425
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201
10426
  (exit $ac_status); }; }; then
10202
 
   { echo "$as_me:$LINENO: result: yes" >&5
10203
 
echo "${ECHO_T}yes" >&6; }; ice_sufficent_iconv=yes
10204
 
else
10205
 
  echo "$as_me: program exited with status $ac_status" >&5
10206
 
echo "$as_me: failed program was:" >&5
10207
 
sed 's/^/| /' conftest.$ac_ext >&5
10208
 
 
10209
 
( exit $ac_status )
10210
 
 { echo "$as_me:$LINENO: result: no" >&5
10211
 
echo "${ECHO_T}no" >&6; };
10212
 
fi
10213
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10214
 
fi
10215
 
 
10216
 
 
10217
 
else
10218
 
  echo "$as_me: program exited with status $ac_status" >&5
10219
 
echo "$as_me: failed program was:" >&5
10220
 
sed 's/^/| /' conftest.$ac_ext >&5
10221
 
 
10222
 
( exit $ac_status )
10223
 
 { echo "$as_me:$LINENO: result: no" >&5
10224
 
echo "${ECHO_T}no" >&6; };
10225
 
fi
10226
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10227
 
fi
10228
 
 
10229
 
 
10230
 
else
10231
 
  echo "$as_me: program exited with status $ac_status" >&5
10232
 
echo "$as_me: failed program was:" >&5
10233
 
sed 's/^/| /' conftest.$ac_ext >&5
10234
 
 
10235
 
( exit $ac_status )
10236
 
 { echo "$as_me:$LINENO: result: no" >&5
10237
 
echo "${ECHO_T}no" >&6; };
10238
 
fi
 
10427
   { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10428
$as_echo "yes" >&6; }; ice_sufficent_iconv=yes
 
10429
else
 
10430
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
10431
$as_echo "$as_me: failed program was:" >&5
 
10432
sed 's/^/| /' conftest.$ac_ext >&5
 
10433
 
 
10434
( exit $ac_status )
 
10435
 { $as_echo "$as_me:$LINENO: result: no" >&5
 
10436
$as_echo "no" >&6; };
 
10437
fi
 
10438
rm -rf conftest.dSYM
 
10439
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
10440
fi
 
10441
 
 
10442
 
 
10443
else
 
10444
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
10445
$as_echo "$as_me: failed program was:" >&5
 
10446
sed 's/^/| /' conftest.$ac_ext >&5
 
10447
 
 
10448
( exit $ac_status )
 
10449
 { $as_echo "$as_me:$LINENO: result: no" >&5
 
10450
$as_echo "no" >&6; };
 
10451
fi
 
10452
rm -rf conftest.dSYM
 
10453
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
10454
fi
 
10455
 
 
10456
 
 
10457
else
 
10458
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
10459
$as_echo "$as_me: failed program was:" >&5
 
10460
sed 's/^/| /' conftest.$ac_ext >&5
 
10461
 
 
10462
( exit $ac_status )
 
10463
 { $as_echo "$as_me:$LINENO: result: no" >&5
 
10464
$as_echo "no" >&6; };
 
10465
fi
 
10466
rm -rf conftest.dSYM
10239
10467
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10240
10468
fi
10241
10469
 
10245
10473
 
10246
10474
      if test "$ice_sufficent_iconv" != "yes"
10247
10475
      then
10248
 
        { { echo "$as_me:$LINENO: error: Your implementation of iconv isn't able to perform
 
10476
        { { $as_echo "$as_me:$LINENO: error: Your implementation of iconv isn't able to perform
10249
10477
*** the codeset conversions required. Check your system configuration.
10250
10478
***
10251
10479
*** You might have to upgrade your C runtime library. If your system is
10254
10482
*** from ftp://ftp.gnu.org/pub/gnu/libiconv/.
10255
10483
***
10256
10484
*** Alternatively you could call configure with the --disable-i18n switch." >&5
10257
 
echo "$as_me: error: Your implementation of iconv isn't able to perform
 
10485
$as_echo "$as_me: error: Your implementation of iconv isn't able to perform
10258
10486
*** the codeset conversions required. Check your system configuration.
10259
10487
***
10260
10488
*** You might have to upgrade your C runtime library. If your system is
10281
10509
 
10282
10510
 
10283
10511
if test "$enable_nls" != "no"; then
10284
 
  { echo "$as_me:$LINENO: checking for bindtextdomain" >&5
10285
 
echo $ECHO_N "checking for bindtextdomain... $ECHO_C" >&6; }
 
10512
  { $as_echo "$as_me:$LINENO: checking for bindtextdomain" >&5
 
10513
$as_echo_n "checking for bindtextdomain... " >&6; }
10286
10514
if test "${ac_cv_func_bindtextdomain+set}" = set; then
10287
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10515
  $as_echo_n "(cached) " >&6
10288
10516
else
10289
10517
  cat >conftest.$ac_ext <<_ACEOF
10290
10518
/* confdefs.h.  */
10337
10565
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10338
10566
  *) ac_try_echo=$ac_try;;
10339
10567
esac
10340
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10568
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10569
$as_echo "$ac_try_echo") >&5
10341
10570
  (eval "$ac_link") 2>conftest.er1
10342
10571
  ac_status=$?
10343
10572
  grep -v '^ *+' conftest.er1 >conftest.err
10344
10573
  rm -f conftest.er1
10345
10574
  cat conftest.err >&5
10346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10575
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347
10576
  (exit $ac_status); } && {
10348
10577
         test -z "$ac_cxx_werror_flag" ||
10349
10578
         test ! -s conftest.err
10350
 
       } && test -s conftest$ac_exeext &&
10351
 
       $as_test_x conftest$ac_exeext; then
 
10579
       } && test -s conftest$ac_exeext && {
 
10580
         test "$cross_compiling" = yes ||
 
10581
         $as_test_x conftest$ac_exeext
 
10582
       }; then
10352
10583
  ac_cv_func_bindtextdomain=yes
10353
10584
else
10354
 
  echo "$as_me: failed program was:" >&5
 
10585
  $as_echo "$as_me: failed program was:" >&5
10355
10586
sed 's/^/| /' conftest.$ac_ext >&5
10356
10587
 
10357
10588
        ac_cv_func_bindtextdomain=no
10358
10589
fi
10359
10590
 
 
10591
rm -rf conftest.dSYM
10360
10592
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10361
10593
      conftest$ac_exeext conftest.$ac_ext
10362
10594
fi
10363
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bindtextdomain" >&5
10364
 
echo "${ECHO_T}$ac_cv_func_bindtextdomain" >&6; }
10365
 
if test $ac_cv_func_bindtextdomain = yes; then
 
10595
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bindtextdomain" >&5
 
10596
$as_echo "$ac_cv_func_bindtextdomain" >&6; }
 
10597
if test "x$ac_cv_func_bindtextdomain" = x""yes; then
10366
10598
  :
10367
10599
else
10368
 
   { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
10369
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
 
10600
   { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
10601
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
10370
10602
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
10371
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10603
  $as_echo_n "(cached) " >&6
10372
10604
else
10373
10605
  ac_check_lib_save_LIBS=$LIBS
10374
10606
LIBS="-lintl  $LIBS"
10400
10632
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10401
10633
  *) ac_try_echo=$ac_try;;
10402
10634
esac
10403
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10635
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10636
$as_echo "$ac_try_echo") >&5
10404
10637
  (eval "$ac_link") 2>conftest.er1
10405
10638
  ac_status=$?
10406
10639
  grep -v '^ *+' conftest.er1 >conftest.err
10407
10640
  rm -f conftest.er1
10408
10641
  cat conftest.err >&5
10409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10642
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410
10643
  (exit $ac_status); } && {
10411
10644
         test -z "$ac_cxx_werror_flag" ||
10412
10645
         test ! -s conftest.err
10413
 
       } && test -s conftest$ac_exeext &&
10414
 
       $as_test_x conftest$ac_exeext; then
 
10646
       } && test -s conftest$ac_exeext && {
 
10647
         test "$cross_compiling" = yes ||
 
10648
         $as_test_x conftest$ac_exeext
 
10649
       }; then
10415
10650
  ac_cv_lib_intl_bindtextdomain=yes
10416
10651
else
10417
 
  echo "$as_me: failed program was:" >&5
 
10652
  $as_echo "$as_me: failed program was:" >&5
10418
10653
sed 's/^/| /' conftest.$ac_ext >&5
10419
10654
 
10420
10655
        ac_cv_lib_intl_bindtextdomain=no
10421
10656
fi
10422
10657
 
 
10658
rm -rf conftest.dSYM
10423
10659
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10424
10660
      conftest$ac_exeext conftest.$ac_ext
10425
10661
LIBS=$ac_check_lib_save_LIBS
10426
10662
fi
10427
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
10428
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
10429
 
if test $ac_cv_lib_intl_bindtextdomain = yes; then
 
10663
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
10664
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
10665
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
10430
10666
   CORE_LIBS="${CORE_LIBS} -lintl"
10431
10667
 
10432
10668
else
10433
 
   { { echo "$as_me:$LINENO: error: NLS (national language support) has been requested but
 
10669
   { { $as_echo "$as_me:$LINENO: error: NLS (national language support) has been requested but
10434
10670
*** the 'bindtextdomain' function neither has been found in your C runtime library
10435
10671
*** nor in an external library called 'libintl'.
10436
10672
***
10438
10674
*** from ftp://ftp.gnu.org/pub/gnu/gettext/.
10439
10675
***
10440
10676
*** Alternatively you could call configure with the --disable-nls switch." >&5
10441
 
echo "$as_me: error: NLS (national language support) has been requested but
 
10677
$as_echo "$as_me: error: NLS (national language support) has been requested but
10442
10678
*** the 'bindtextdomain' function neither has been found in your C runtime library
10443
10679
*** nor in an external library called 'libintl'.
10444
10680
***
10462
10698
 
10463
10699
  # Extract the first word of "xgettext", so it can be a program name with args.
10464
10700
set dummy xgettext; ac_word=$2
10465
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10466
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
10701
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10702
$as_echo_n "checking for $ac_word... " >&6; }
10467
10703
if test "${ac_cv_path_XGETTEXT+set}" = set; then
10468
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10704
  $as_echo_n "(cached) " >&6
10469
10705
else
10470
10706
  case $XGETTEXT in
10471
10707
  [\\/]* | ?:[\\/]*)
10480
10716
  for ac_exec_ext in '' $ac_executable_extensions; do
10481
10717
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10482
10718
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
10483
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10719
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10484
10720
    break 2
10485
10721
  fi
10486
10722
done
10492
10728
fi
10493
10729
XGETTEXT=$ac_cv_path_XGETTEXT
10494
10730
if test -n "$XGETTEXT"; then
10495
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
10496
 
echo "${ECHO_T}$XGETTEXT" >&6; }
 
10731
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
10732
$as_echo "$XGETTEXT" >&6; }
10497
10733
else
10498
 
  { echo "$as_me:$LINENO: result: no" >&5
10499
 
echo "${ECHO_T}no" >&6; }
 
10734
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10735
$as_echo "no" >&6; }
10500
10736
fi
10501
10737
 
10502
10738
 
10503
10739
  # Extract the first word of "msgmerge", so it can be a program name with args.
10504
10740
set dummy msgmerge; ac_word=$2
10505
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10506
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
10741
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10742
$as_echo_n "checking for $ac_word... " >&6; }
10507
10743
if test "${ac_cv_path_MSGMERGE+set}" = set; then
10508
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10744
  $as_echo_n "(cached) " >&6
10509
10745
else
10510
10746
  case $MSGMERGE in
10511
10747
  [\\/]* | ?:[\\/]*)
10520
10756
  for ac_exec_ext in '' $ac_executable_extensions; do
10521
10757
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10522
10758
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
10523
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10759
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10524
10760
    break 2
10525
10761
  fi
10526
10762
done
10532
10768
fi
10533
10769
MSGMERGE=$ac_cv_path_MSGMERGE
10534
10770
if test -n "$MSGMERGE"; then
10535
 
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
10536
 
echo "${ECHO_T}$MSGMERGE" >&6; }
 
10771
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
10772
$as_echo "$MSGMERGE" >&6; }
10537
10773
else
10538
 
  { echo "$as_me:$LINENO: result: no" >&5
10539
 
echo "${ECHO_T}no" >&6; }
 
10774
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10775
$as_echo "no" >&6; }
10540
10776
fi
10541
10777
 
10542
10778
 
10543
10779
  # Extract the first word of "msgfmt", so it can be a program name with args.
10544
10780
set dummy msgfmt; ac_word=$2
10545
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10546
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
10781
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10782
$as_echo_n "checking for $ac_word... " >&6; }
10547
10783
if test "${ac_cv_path_MSGFMT+set}" = set; then
10548
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10784
  $as_echo_n "(cached) " >&6
10549
10785
else
10550
10786
  case $MSGFMT in
10551
10787
  [\\/]* | ?:[\\/]*)
10560
10796
  for ac_exec_ext in '' $ac_executable_extensions; do
10561
10797
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10562
10798
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
10563
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10799
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10564
10800
    break 2
10565
10801
  fi
10566
10802
done
10572
10808
fi
10573
10809
MSGFMT=$ac_cv_path_MSGFMT
10574
10810
if test -n "$MSGFMT"; then
10575
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
10576
 
echo "${ECHO_T}$MSGFMT" >&6; }
 
10811
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
10812
$as_echo "$MSGFMT" >&6; }
10577
10813
else
10578
 
  { echo "$as_me:$LINENO: result: no" >&5
10579
 
echo "${ECHO_T}no" >&6; }
 
10814
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10815
$as_echo "no" >&6; }
10580
10816
fi
10581
10817
 
10582
10818
 
10585
10821
  MSGFMT="${MSGFMT}" # --check --statistics --verbose"
10586
10822
 
10587
10823
  if test ! -x "$MSGFMT" ; then
10588
 
     { { echo "$as_me:$LINENO: error: 'msgfmt' not found. Perhaps you need to install 'gettext'?." >&5
10589
 
echo "$as_me: error: 'msgfmt' not found. Perhaps you need to install 'gettext'?." >&2;}
 
10824
     { { $as_echo "$as_me:$LINENO: error: 'msgfmt' not found. Perhaps you need to install 'gettext'?." >&5
 
10825
$as_echo "$as_me: error: 'msgfmt' not found. Perhaps you need to install 'gettext'?." >&2;}
10590
10826
   { (exit 1); exit 1; }; }
10591
10827
  fi
10592
10828
 
10615
10851
no_x_libs=$LIBS
10616
10852
LIBS=$CORE_LIBS
10617
10853
 
10618
 
{ echo "$as_me:$LINENO: checking for XInternAtoms in -lX11" >&5
10619
 
echo $ECHO_N "checking for XInternAtoms in -lX11... $ECHO_C" >&6; }
 
10854
{ $as_echo "$as_me:$LINENO: checking for XInternAtoms in -lX11" >&5
 
10855
$as_echo_n "checking for XInternAtoms in -lX11... " >&6; }
10620
10856
if test "${ac_cv_lib_X11_XInternAtoms+set}" = set; then
10621
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10857
  $as_echo_n "(cached) " >&6
10622
10858
else
10623
10859
  ac_check_lib_save_LIBS=$LIBS
10624
10860
LIBS="-lX11  $LIBS"
10650
10886
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10651
10887
  *) ac_try_echo=$ac_try;;
10652
10888
esac
10653
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10889
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10890
$as_echo "$ac_try_echo") >&5
10654
10891
  (eval "$ac_link") 2>conftest.er1
10655
10892
  ac_status=$?
10656
10893
  grep -v '^ *+' conftest.er1 >conftest.err
10657
10894
  rm -f conftest.er1
10658
10895
  cat conftest.err >&5
10659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10896
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660
10897
  (exit $ac_status); } && {
10661
10898
         test -z "$ac_cxx_werror_flag" ||
10662
10899
         test ! -s conftest.err
10663
 
       } && test -s conftest$ac_exeext &&
10664
 
       $as_test_x conftest$ac_exeext; then
 
10900
       } && test -s conftest$ac_exeext && {
 
10901
         test "$cross_compiling" = yes ||
 
10902
         $as_test_x conftest$ac_exeext
 
10903
       }; then
10665
10904
  ac_cv_lib_X11_XInternAtoms=yes
10666
10905
else
10667
 
  echo "$as_me: failed program was:" >&5
 
10906
  $as_echo "$as_me: failed program was:" >&5
10668
10907
sed 's/^/| /' conftest.$ac_ext >&5
10669
10908
 
10670
10909
        ac_cv_lib_X11_XInternAtoms=no
10671
10910
fi
10672
10911
 
 
10912
rm -rf conftest.dSYM
10673
10913
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10674
10914
      conftest$ac_exeext conftest.$ac_ext
10675
10915
LIBS=$ac_check_lib_save_LIBS
10676
10916
fi
10677
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XInternAtoms" >&5
10678
 
echo "${ECHO_T}$ac_cv_lib_X11_XInternAtoms" >&6; }
10679
 
if test $ac_cv_lib_X11_XInternAtoms = yes; then
 
10917
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XInternAtoms" >&5
 
10918
$as_echo "$ac_cv_lib_X11_XInternAtoms" >&6; }
 
10919
if test "x$ac_cv_lib_X11_XInternAtoms" = x""yes; then
10680
10920
 
10681
10921
cat >>confdefs.h <<\_ACEOF
10682
10922
#define HAVE_XINTERNATOMS 1
10691
10931
fi
10692
10932
 
10693
10933
  if test "$enable_sm" != "no"; then
10694
 
    { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
10695
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
 
10934
    { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
10935
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10696
10936
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
10697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10937
  $as_echo_n "(cached) " >&6
10698
10938
else
10699
10939
  ac_check_lib_save_LIBS=$LIBS
10700
10940
LIBS="-lICE  $LIBS"
10726
10966
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10727
10967
  *) ac_try_echo=$ac_try;;
10728
10968
esac
10729
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10969
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10970
$as_echo "$ac_try_echo") >&5
10730
10971
  (eval "$ac_link") 2>conftest.er1
10731
10972
  ac_status=$?
10732
10973
  grep -v '^ *+' conftest.er1 >conftest.err
10733
10974
  rm -f conftest.er1
10734
10975
  cat conftest.err >&5
10735
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10976
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736
10977
  (exit $ac_status); } && {
10737
10978
         test -z "$ac_cxx_werror_flag" ||
10738
10979
         test ! -s conftest.err
10739
 
       } && test -s conftest$ac_exeext &&
10740
 
       $as_test_x conftest$ac_exeext; then
 
10980
       } && test -s conftest$ac_exeext && {
 
10981
         test "$cross_compiling" = yes ||
 
10982
         $as_test_x conftest$ac_exeext
 
10983
       }; then
10741
10984
  ac_cv_lib_ICE_IceConnectionNumber=yes
10742
10985
else
10743
 
  echo "$as_me: failed program was:" >&5
 
10986
  $as_echo "$as_me: failed program was:" >&5
10744
10987
sed 's/^/| /' conftest.$ac_ext >&5
10745
10988
 
10746
10989
        ac_cv_lib_ICE_IceConnectionNumber=no
10747
10990
fi
10748
10991
 
 
10992
rm -rf conftest.dSYM
10749
10993
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10750
10994
      conftest$ac_exeext conftest.$ac_ext
10751
10995
LIBS=$ac_check_lib_save_LIBS
10752
10996
fi
10753
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10754
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10755
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
 
10997
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
10998
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
10999
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
10756
11000
 
10757
11001
cat >>confdefs.h <<\_ACEOF
10758
11002
#define CONFIG_SESSION 1
10759
11003
_ACEOF
10760
11004
 
10761
11005
else
10762
 
   { echo "$as_me:$LINENO: WARNING: Unable to use X shared memory extension" >&5
10763
 
echo "$as_me: WARNING: Unable to use X shared memory extension" >&2;}
 
11006
   { $as_echo "$as_me:$LINENO: WARNING: Unable to use X shared memory extension" >&5
 
11007
$as_echo "$as_me: WARNING: Unable to use X shared memory extension" >&2;}
10764
11008
fi
10765
11009
 
10766
11010
  fi
10772
11016
fi
10773
11017
 
10774
11018
  if test "$enable_shape" != "no"; then
10775
 
    { echo "$as_me:$LINENO: checking for XShapeCombineRectangles in -lXext" >&5
10776
 
echo $ECHO_N "checking for XShapeCombineRectangles in -lXext... $ECHO_C" >&6; }
 
11019
    { $as_echo "$as_me:$LINENO: checking for XShapeCombineRectangles in -lXext" >&5
 
11020
$as_echo_n "checking for XShapeCombineRectangles in -lXext... " >&6; }
10777
11021
if test "${ac_cv_lib_Xext_XShapeCombineRectangles+set}" = set; then
10778
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11022
  $as_echo_n "(cached) " >&6
10779
11023
else
10780
11024
  ac_check_lib_save_LIBS=$LIBS
10781
11025
LIBS="-lXext  $LIBS"
10807
11051
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10808
11052
  *) ac_try_echo=$ac_try;;
10809
11053
esac
10810
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11054
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11055
$as_echo "$ac_try_echo") >&5
10811
11056
  (eval "$ac_link") 2>conftest.er1
10812
11057
  ac_status=$?
10813
11058
  grep -v '^ *+' conftest.er1 >conftest.err
10814
11059
  rm -f conftest.er1
10815
11060
  cat conftest.err >&5
10816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11061
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817
11062
  (exit $ac_status); } && {
10818
11063
         test -z "$ac_cxx_werror_flag" ||
10819
11064
         test ! -s conftest.err
10820
 
       } && test -s conftest$ac_exeext &&
10821
 
       $as_test_x conftest$ac_exeext; then
 
11065
       } && test -s conftest$ac_exeext && {
 
11066
         test "$cross_compiling" = yes ||
 
11067
         $as_test_x conftest$ac_exeext
 
11068
       }; then
10822
11069
  ac_cv_lib_Xext_XShapeCombineRectangles=yes
10823
11070
else
10824
 
  echo "$as_me: failed program was:" >&5
 
11071
  $as_echo "$as_me: failed program was:" >&5
10825
11072
sed 's/^/| /' conftest.$ac_ext >&5
10826
11073
 
10827
11074
        ac_cv_lib_Xext_XShapeCombineRectangles=no
10828
11075
fi
10829
11076
 
 
11077
rm -rf conftest.dSYM
10830
11078
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10831
11079
      conftest$ac_exeext conftest.$ac_ext
10832
11080
LIBS=$ac_check_lib_save_LIBS
10833
11081
fi
10834
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeCombineRectangles" >&5
10835
 
echo "${ECHO_T}$ac_cv_lib_Xext_XShapeCombineRectangles" >&6; }
10836
 
if test $ac_cv_lib_Xext_XShapeCombineRectangles = yes; then
 
11082
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeCombineRectangles" >&5
 
11083
$as_echo "$ac_cv_lib_Xext_XShapeCombineRectangles" >&6; }
 
11084
if test "x$ac_cv_lib_Xext_XShapeCombineRectangles" = x""yes; then
10837
11085
   CORE_LIBS="${CORE_LIBS} -lXext"
10838
11086
 
10839
11087
cat >>confdefs.h <<\_ACEOF
10842
11090
 
10843
11091
        ac_have_shape=yes
10844
11092
else
10845
 
   { echo "$as_me:$LINENO: WARNING: Unable to use X shape extension" >&5
10846
 
echo "$as_me: WARNING: Unable to use X shape extension" >&2;}
 
11093
   { $as_echo "$as_me:$LINENO: WARNING: Unable to use X shape extension" >&5
 
11094
$as_echo "$as_me: WARNING: Unable to use X shape extension" >&2;}
10847
11095
fi
10848
11096
 
10849
11097
  fi
10924
11172
 
10925
11173
 
10926
11174
  if test "$enable_corefonts" != "yes" -a "$enable_xfreetype" = no; then
10927
 
     { { echo "$as_me:$LINENO: error: \"xfreetype or core fonts must be enabled\"" >&5
10928
 
echo "$as_me: error: \"xfreetype or core fonts must be enabled\"" >&2;}
 
11175
     { { $as_echo "$as_me:$LINENO: error: \"xfreetype or core fonts must be enabled\"" >&5
 
11176
$as_echo "$as_me: error: \"xfreetype or core fonts must be enabled\"" >&2;}
10929
11177
   { (exit 1); exit 1; }; }
10930
11178
  fi
10931
11179
  if test "$enable_xfreetype" != "no" -o "$enable_xfreetype" = "implied"; then
10932
11180
    # Extract the first word of "xft-config", so it can be a program name with args.
10933
11181
set dummy xft-config; ac_word=$2
10934
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10935
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11182
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11183
$as_echo_n "checking for $ac_word... " >&6; }
10936
11184
if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
10937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11185
  $as_echo_n "(cached) " >&6
10938
11186
else
10939
11187
  case $XFT_CONFIG in
10940
11188
  [\\/]* | ?:[\\/]*)
10949
11197
  for ac_exec_ext in '' $ac_executable_extensions; do
10950
11198
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10951
11199
    ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10952
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11200
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10953
11201
    break 2
10954
11202
  fi
10955
11203
done
10961
11209
fi
10962
11210
XFT_CONFIG=$ac_cv_path_XFT_CONFIG
10963
11211
if test -n "$XFT_CONFIG"; then
10964
 
  { echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5
10965
 
echo "${ECHO_T}$XFT_CONFIG" >&6; }
 
11212
  { $as_echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5
 
11213
$as_echo "$XFT_CONFIG" >&6; }
10966
11214
else
10967
 
  { echo "$as_me:$LINENO: result: no" >&5
10968
 
echo "${ECHO_T}no" >&6; }
 
11215
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11216
$as_echo "no" >&6; }
10969
11217
fi
10970
11218
 
10971
11219
 
10972
11220
    if test "${XFT_CONFIG}" = ""; then
10973
11221
      # Extract the first word of "pkg-config", so it can be a program name with args.
10974
11222
set dummy pkg-config; ac_word=$2
10975
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10976
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11223
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11224
$as_echo_n "checking for $ac_word... " >&6; }
10977
11225
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10978
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11226
  $as_echo_n "(cached) " >&6
10979
11227
else
10980
11228
  case $PKG_CONFIG in
10981
11229
  [\\/]* | ?:[\\/]*)
10990
11238
  for ac_exec_ext in '' $ac_executable_extensions; do
10991
11239
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10992
11240
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10993
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11241
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10994
11242
    break 2
10995
11243
  fi
10996
11244
done
11002
11250
fi
11003
11251
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11004
11252
if test -n "$PKG_CONFIG"; then
11005
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11006
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
11253
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
11254
$as_echo "$PKG_CONFIG" >&6; }
11007
11255
else
11008
 
  { echo "$as_me:$LINENO: result: no" >&5
11009
 
echo "${ECHO_T}no" >&6; }
 
11256
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11257
$as_echo "no" >&6; }
11010
11258
fi
11011
11259
 
11012
11260
 
11032
11280
 
11033
11281
for ac_header in X11/Xft/Xft.h
11034
11282
do
11035
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11036
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11037
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
11038
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11039
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11283
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
11284
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
11285
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
11286
$as_echo_n "checking for $ac_header... " >&6; }
 
11287
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
11288
  $as_echo_n "(cached) " >&6
11041
11289
fi
11042
 
ac_res=`eval echo '${'$as_ac_Header'}'`
11043
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
11044
 
echo "${ECHO_T}$ac_res" >&6; }
 
11290
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
11291
                 $as_echo "$as_val"'`
 
11292
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
11293
$as_echo "$ac_res" >&6; }
11045
11294
else
11046
11295
  # Is the header compilable?
11047
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11048
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
11296
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
11297
$as_echo_n "checking $ac_header usability... " >&6; }
11049
11298
cat >conftest.$ac_ext <<_ACEOF
11050
11299
/* confdefs.h.  */
11051
11300
_ACEOF
11061
11310
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11062
11311
  *) ac_try_echo=$ac_try;;
11063
11312
esac
11064
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11313
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11314
$as_echo "$ac_try_echo") >&5
11065
11315
  (eval "$ac_compile") 2>conftest.er1
11066
11316
  ac_status=$?
11067
11317
  grep -v '^ *+' conftest.er1 >conftest.err
11068
11318
  rm -f conftest.er1
11069
11319
  cat conftest.err >&5
11070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11320
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071
11321
  (exit $ac_status); } && {
11072
11322
         test -z "$ac_cxx_werror_flag" ||
11073
11323
         test ! -s conftest.err
11074
11324
       } && test -s conftest.$ac_objext; then
11075
11325
  ac_header_compiler=yes
11076
11326
else
11077
 
  echo "$as_me: failed program was:" >&5
 
11327
  $as_echo "$as_me: failed program was:" >&5
11078
11328
sed 's/^/| /' conftest.$ac_ext >&5
11079
11329
 
11080
11330
        ac_header_compiler=no
11081
11331
fi
11082
11332
 
11083
11333
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11084
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11085
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
11334
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
11335
$as_echo "$ac_header_compiler" >&6; }
11086
11336
 
11087
11337
# Is the header present?
11088
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11089
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
11338
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
11339
$as_echo_n "checking $ac_header presence... " >&6; }
11090
11340
cat >conftest.$ac_ext <<_ACEOF
11091
11341
/* confdefs.h.  */
11092
11342
_ACEOF
11100
11350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101
11351
  *) ac_try_echo=$ac_try;;
11102
11352
esac
11103
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11353
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11354
$as_echo "$ac_try_echo") >&5
11104
11355
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11105
11356
  ac_status=$?
11106
11357
  grep -v '^ *+' conftest.er1 >conftest.err
11107
11358
  rm -f conftest.er1
11108
11359
  cat conftest.err >&5
11109
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11360
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110
11361
  (exit $ac_status); } >/dev/null && {
11111
11362
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11112
11363
         test ! -s conftest.err
11113
11364
       }; then
11114
11365
  ac_header_preproc=yes
11115
11366
else
11116
 
  echo "$as_me: failed program was:" >&5
 
11367
  $as_echo "$as_me: failed program was:" >&5
11117
11368
sed 's/^/| /' conftest.$ac_ext >&5
11118
11369
 
11119
11370
  ac_header_preproc=no
11120
11371
fi
11121
11372
 
11122
11373
rm -f conftest.err conftest.$ac_ext
11123
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11124
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
11374
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
11375
$as_echo "$ac_header_preproc" >&6; }
11125
11376
 
11126
11377
# So?  What about this header?
11127
11378
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11128
11379
  yes:no: )
11129
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11130
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11131
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11132
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
11380
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
11381
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
11382
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
11383
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11133
11384
    ac_header_preproc=yes
11134
11385
    ;;
11135
11386
  no:yes:* )
11136
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11137
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11138
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11139
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11140
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11141
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11142
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11143
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11144
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11145
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11146
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11147
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
11387
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
11388
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
11389
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
11390
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
11391
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
11392
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
11393
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
11394
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
11395
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
11396
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
11397
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
11398
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11148
11399
 
11149
11400
    ;;
11150
11401
esac
11151
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11152
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
11402
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
11403
$as_echo_n "checking for $ac_header... " >&6; }
11153
11404
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11154
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11405
  $as_echo_n "(cached) " >&6
11155
11406
else
11156
11407
  eval "$as_ac_Header=\$ac_header_preproc"
11157
11408
fi
11158
 
ac_res=`eval echo '${'$as_ac_Header'}'`
11159
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
11160
 
echo "${ECHO_T}$ac_res" >&6; }
 
11409
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
11410
                 $as_echo "$as_val"'`
 
11411
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
11412
$as_echo "$ac_res" >&6; }
11161
11413
 
11162
11414
fi
11163
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
11415
as_val=`eval 'as_val=${'$as_ac_Header'}
 
11416
                 $as_echo "$as_val"'`
 
11417
   if test "x$as_val" = x""yes; then
11164
11418
  cat >>confdefs.h <<_ACEOF
11165
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11419
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11166
11420
_ACEOF
11167
 
  { echo "$as_me:$LINENO: checking for XftDrawCreate in -lXft" >&5
11168
 
echo $ECHO_N "checking for XftDrawCreate in -lXft... $ECHO_C" >&6; }
 
11421
  { $as_echo "$as_me:$LINENO: checking for XftDrawCreate in -lXft" >&5
 
11422
$as_echo_n "checking for XftDrawCreate in -lXft... " >&6; }
11169
11423
if test "${ac_cv_lib_Xft_XftDrawCreate+set}" = set; then
11170
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11424
  $as_echo_n "(cached) " >&6
11171
11425
else
11172
11426
  ac_check_lib_save_LIBS=$LIBS
11173
11427
LIBS="-lXft  $LIBS"
11199
11453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11200
11454
  *) ac_try_echo=$ac_try;;
11201
11455
esac
11202
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11456
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11457
$as_echo "$ac_try_echo") >&5
11203
11458
  (eval "$ac_link") 2>conftest.er1
11204
11459
  ac_status=$?
11205
11460
  grep -v '^ *+' conftest.er1 >conftest.err
11206
11461
  rm -f conftest.er1
11207
11462
  cat conftest.err >&5
11208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11463
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209
11464
  (exit $ac_status); } && {
11210
11465
         test -z "$ac_cxx_werror_flag" ||
11211
11466
         test ! -s conftest.err
11212
 
       } && test -s conftest$ac_exeext &&
11213
 
       $as_test_x conftest$ac_exeext; then
 
11467
       } && test -s conftest$ac_exeext && {
 
11468
         test "$cross_compiling" = yes ||
 
11469
         $as_test_x conftest$ac_exeext
 
11470
       }; then
11214
11471
  ac_cv_lib_Xft_XftDrawCreate=yes
11215
11472
else
11216
 
  echo "$as_me: failed program was:" >&5
 
11473
  $as_echo "$as_me: failed program was:" >&5
11217
11474
sed 's/^/| /' conftest.$ac_ext >&5
11218
11475
 
11219
11476
        ac_cv_lib_Xft_XftDrawCreate=no
11220
11477
fi
11221
11478
 
 
11479
rm -rf conftest.dSYM
11222
11480
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11223
11481
      conftest$ac_exeext conftest.$ac_ext
11224
11482
LIBS=$ac_check_lib_save_LIBS
11225
11483
fi
11226
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawCreate" >&5
11227
 
echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawCreate" >&6; }
11228
 
if test $ac_cv_lib_Xft_XftDrawCreate = yes; then
 
11484
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawCreate" >&5
 
11485
$as_echo "$ac_cv_lib_Xft_XftDrawCreate" >&6; }
 
11486
if test "x$ac_cv_lib_Xft_XftDrawCreate" = x""yes; then
11229
11487
 
11230
11488
cat >>confdefs.h <<\_ACEOF
11231
11489
#define CONFIG_XFREETYPE 1
11236
11494
          features="${features} xfreetype"
11237
11495
else
11238
11496
   if test "$enable_xfreetype" != "implied"; then
11239
 
            { { echo "$as_me:$LINENO: error: Xft support has been requested but libraries were not found.
 
11497
            { { $as_echo "$as_me:$LINENO: error: Xft support has been requested but libraries were not found.
11240
11498
  *** Configure your X server to support XFreeType.
11241
11499
  *** Information about how to do this can be found in RELNOTES for XFree86." >&5
11242
 
echo "$as_me: error: Xft support has been requested but libraries were not found.
 
11500
$as_echo "$as_me: error: Xft support has been requested but libraries were not found.
11243
11501
  *** Configure your X server to support XFreeType.
11244
11502
  *** Information about how to do this can be found in RELNOTES for XFree86." >&2;}
11245
11503
   { (exit 1); exit 1; }; }
11248
11506
 
11249
11507
else
11250
11508
   if test "$enable_xfreetype" != "implied"; then
11251
 
          { { echo "$as_me:$LINENO: error: Xft support has been requested but headers were not found.
 
11509
          { { $as_echo "$as_me:$LINENO: error: Xft support has been requested but headers were not found.
11252
11510
  *** Configure your X server to support XFreeType.
11253
11511
  *** Information about how to do this can be found in RELNOTES for XFree86." >&5
11254
 
echo "$as_me: error: Xft support has been requested but headers were not found.
 
11512
$as_echo "$as_me: error: Xft support has been requested but headers were not found.
11255
11513
  *** Configure your X server to support XFreeType.
11256
11514
  *** Information about how to do this can be found in RELNOTES for XFree86." >&2;}
11257
11515
   { (exit 1); exit 1; }; }
11306
11564
 
11307
11565
for ac_header in Y2/Y.h
11308
11566
do
11309
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11310
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11311
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
11312
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11313
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11314
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11567
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
11568
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
11569
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
11570
$as_echo_n "checking for $ac_header... " >&6; }
 
11571
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
11572
  $as_echo_n "(cached) " >&6
11315
11573
fi
11316
 
ac_res=`eval echo '${'$as_ac_Header'}'`
11317
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
11318
 
echo "${ECHO_T}$ac_res" >&6; }
 
11574
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
11575
                 $as_echo "$as_val"'`
 
11576
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
11577
$as_echo "$ac_res" >&6; }
11319
11578
else
11320
11579
  # Is the header compilable?
11321
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11322
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
11580
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
11581
$as_echo_n "checking $ac_header usability... " >&6; }
11323
11582
cat >conftest.$ac_ext <<_ACEOF
11324
11583
/* confdefs.h.  */
11325
11584
_ACEOF
11335
11594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11336
11595
  *) ac_try_echo=$ac_try;;
11337
11596
esac
11338
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11597
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11598
$as_echo "$ac_try_echo") >&5
11339
11599
  (eval "$ac_compile") 2>conftest.er1
11340
11600
  ac_status=$?
11341
11601
  grep -v '^ *+' conftest.er1 >conftest.err
11342
11602
  rm -f conftest.er1
11343
11603
  cat conftest.err >&5
11344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11604
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345
11605
  (exit $ac_status); } && {
11346
11606
         test -z "$ac_cxx_werror_flag" ||
11347
11607
         test ! -s conftest.err
11348
11608
       } && test -s conftest.$ac_objext; then
11349
11609
  ac_header_compiler=yes
11350
11610
else
11351
 
  echo "$as_me: failed program was:" >&5
 
11611
  $as_echo "$as_me: failed program was:" >&5
11352
11612
sed 's/^/| /' conftest.$ac_ext >&5
11353
11613
 
11354
11614
        ac_header_compiler=no
11355
11615
fi
11356
11616
 
11357
11617
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11358
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11359
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
11618
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
11619
$as_echo "$ac_header_compiler" >&6; }
11360
11620
 
11361
11621
# Is the header present?
11362
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11363
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
11622
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
11623
$as_echo_n "checking $ac_header presence... " >&6; }
11364
11624
cat >conftest.$ac_ext <<_ACEOF
11365
11625
/* confdefs.h.  */
11366
11626
_ACEOF
11374
11634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11375
11635
  *) ac_try_echo=$ac_try;;
11376
11636
esac
11377
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11637
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11638
$as_echo "$ac_try_echo") >&5
11378
11639
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11379
11640
  ac_status=$?
11380
11641
  grep -v '^ *+' conftest.er1 >conftest.err
11381
11642
  rm -f conftest.er1
11382
11643
  cat conftest.err >&5
11383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11644
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384
11645
  (exit $ac_status); } >/dev/null && {
11385
11646
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11386
11647
         test ! -s conftest.err
11387
11648
       }; then
11388
11649
  ac_header_preproc=yes
11389
11650
else
11390
 
  echo "$as_me: failed program was:" >&5
 
11651
  $as_echo "$as_me: failed program was:" >&5
11391
11652
sed 's/^/| /' conftest.$ac_ext >&5
11392
11653
 
11393
11654
  ac_header_preproc=no
11394
11655
fi
11395
11656
 
11396
11657
rm -f conftest.err conftest.$ac_ext
11397
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11398
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
11658
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
11659
$as_echo "$ac_header_preproc" >&6; }
11399
11660
 
11400
11661
# So?  What about this header?
11401
11662
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11402
11663
  yes:no: )
11403
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11404
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11405
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11406
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
11664
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
11665
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
11666
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
11667
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11407
11668
    ac_header_preproc=yes
11408
11669
    ;;
11409
11670
  no:yes:* )
11410
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11411
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11412
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11413
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11414
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11415
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11416
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11417
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11418
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11419
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11420
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11421
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
11671
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
11672
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
11673
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
11674
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
11675
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
11676
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
11677
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
11678
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
11679
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
11680
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
11681
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
11682
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11422
11683
 
11423
11684
    ;;
11424
11685
esac
11425
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11426
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
11686
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
11687
$as_echo_n "checking for $ac_header... " >&6; }
11427
11688
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11689
  $as_echo_n "(cached) " >&6
11429
11690
else
11430
11691
  eval "$as_ac_Header=\$ac_header_preproc"
11431
11692
fi
11432
 
ac_res=`eval echo '${'$as_ac_Header'}'`
11433
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
11434
 
echo "${ECHO_T}$ac_res" >&6; }
 
11693
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
11694
                 $as_echo "$as_val"'`
 
11695
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
11696
$as_echo "$ac_res" >&6; }
11435
11697
 
11436
11698
fi
11437
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
11699
as_val=`eval 'as_val=${'$as_ac_Header'}
 
11700
                 $as_echo "$as_val"'`
 
11701
   if test "x$as_val" = x""yes; then
11438
11702
  cat >>confdefs.h <<_ACEOF
11439
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11703
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11440
11704
_ACEOF
11441
 
 { echo "$as_me:$LINENO: checking for YOpenConnection in -lY2" >&5
11442
 
echo $ECHO_N "checking for YOpenConnection in -lY2... $ECHO_C" >&6; }
 
11705
 { $as_echo "$as_me:$LINENO: checking for YOpenConnection in -lY2" >&5
 
11706
$as_echo_n "checking for YOpenConnection in -lY2... " >&6; }
11443
11707
if test "${ac_cv_lib_Y2_YOpenConnection+set}" = set; then
11444
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11708
  $as_echo_n "(cached) " >&6
11445
11709
else
11446
11710
  ac_check_lib_save_LIBS=$LIBS
11447
11711
LIBS="-lY2  $LIBS"
11473
11737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11474
11738
  *) ac_try_echo=$ac_try;;
11475
11739
esac
11476
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11740
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11741
$as_echo "$ac_try_echo") >&5
11477
11742
  (eval "$ac_link") 2>conftest.er1
11478
11743
  ac_status=$?
11479
11744
  grep -v '^ *+' conftest.er1 >conftest.err
11480
11745
  rm -f conftest.er1
11481
11746
  cat conftest.err >&5
11482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11747
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483
11748
  (exit $ac_status); } && {
11484
11749
         test -z "$ac_cxx_werror_flag" ||
11485
11750
         test ! -s conftest.err
11486
 
       } && test -s conftest$ac_exeext &&
11487
 
       $as_test_x conftest$ac_exeext; then
 
11751
       } && test -s conftest$ac_exeext && {
 
11752
         test "$cross_compiling" = yes ||
 
11753
         $as_test_x conftest$ac_exeext
 
11754
       }; then
11488
11755
  ac_cv_lib_Y2_YOpenConnection=yes
11489
11756
else
11490
 
  echo "$as_me: failed program was:" >&5
 
11757
  $as_echo "$as_me: failed program was:" >&5
11491
11758
sed 's/^/| /' conftest.$ac_ext >&5
11492
11759
 
11493
11760
        ac_cv_lib_Y2_YOpenConnection=no
11494
11761
fi
11495
11762
 
 
11763
rm -rf conftest.dSYM
11496
11764
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11497
11765
      conftest$ac_exeext conftest.$ac_ext
11498
11766
LIBS=$ac_check_lib_save_LIBS
11499
11767
fi
11500
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Y2_YOpenConnection" >&5
11501
 
echo "${ECHO_T}$ac_cv_lib_Y2_YOpenConnection" >&6; }
11502
 
if test $ac_cv_lib_Y2_YOpenConnection = yes; then
 
11768
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Y2_YOpenConnection" >&5
 
11769
$as_echo "$ac_cv_lib_Y2_YOpenConnection" >&6; }
 
11770
if test "x$ac_cv_lib_Y2_YOpenConnection" = x""yes; then
11503
11771
 
11504
11772
cat >>confdefs.h <<\_ACEOF
11505
11773
#define ENABLE_YIFF 1
11522
11790
else
11523
11791
    # Extract the first word of "esd-config", so it can be a program name with args.
11524
11792
set dummy esd-config; ac_word=$2
11525
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11526
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11793
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11794
$as_echo_n "checking for $ac_word... " >&6; }
11527
11795
if test "${ac_cv_path_ESD_CONFIG+set}" = set; then
11528
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11796
  $as_echo_n "(cached) " >&6
11529
11797
else
11530
11798
  case $ESD_CONFIG in
11531
11799
  [\\/]* | ?:[\\/]*)
11540
11808
  for ac_exec_ext in '' $ac_executable_extensions; do
11541
11809
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11542
11810
    ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11543
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11811
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11544
11812
    break 2
11545
11813
  fi
11546
11814
done
11552
11820
fi
11553
11821
ESD_CONFIG=$ac_cv_path_ESD_CONFIG
11554
11822
if test -n "$ESD_CONFIG"; then
11555
 
  { echo "$as_me:$LINENO: result: $ESD_CONFIG" >&5
11556
 
echo "${ECHO_T}$ESD_CONFIG" >&6; }
 
11823
  { $as_echo "$as_me:$LINENO: result: $ESD_CONFIG" >&5
 
11824
$as_echo "$ESD_CONFIG" >&6; }
11557
11825
else
11558
 
  { echo "$as_me:$LINENO: result: no" >&5
11559
 
echo "${ECHO_T}no" >&6; }
 
11826
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11827
$as_echo "no" >&6; }
11560
11828
fi
11561
11829
 
11562
11830
 
11576
11844
 
11577
11845
for ac_header in esd.h
11578
11846
do
11579
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11580
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11581
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
11582
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11583
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11584
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11847
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
11848
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
11849
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
11850
$as_echo_n "checking for $ac_header... " >&6; }
 
11851
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
11852
  $as_echo_n "(cached) " >&6
11585
11853
fi
11586
 
ac_res=`eval echo '${'$as_ac_Header'}'`
11587
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
11588
 
echo "${ECHO_T}$ac_res" >&6; }
 
11854
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
11855
                 $as_echo "$as_val"'`
 
11856
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
11857
$as_echo "$ac_res" >&6; }
11589
11858
else
11590
11859
  # Is the header compilable?
11591
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11592
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
11860
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
11861
$as_echo_n "checking $ac_header usability... " >&6; }
11593
11862
cat >conftest.$ac_ext <<_ACEOF
11594
11863
/* confdefs.h.  */
11595
11864
_ACEOF
11605
11874
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11606
11875
  *) ac_try_echo=$ac_try;;
11607
11876
esac
11608
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11877
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11878
$as_echo "$ac_try_echo") >&5
11609
11879
  (eval "$ac_compile") 2>conftest.er1
11610
11880
  ac_status=$?
11611
11881
  grep -v '^ *+' conftest.er1 >conftest.err
11612
11882
  rm -f conftest.er1
11613
11883
  cat conftest.err >&5
11614
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11884
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615
11885
  (exit $ac_status); } && {
11616
11886
         test -z "$ac_cxx_werror_flag" ||
11617
11887
         test ! -s conftest.err
11618
11888
       } && test -s conftest.$ac_objext; then
11619
11889
  ac_header_compiler=yes
11620
11890
else
11621
 
  echo "$as_me: failed program was:" >&5
 
11891
  $as_echo "$as_me: failed program was:" >&5
11622
11892
sed 's/^/| /' conftest.$ac_ext >&5
11623
11893
 
11624
11894
        ac_header_compiler=no
11625
11895
fi
11626
11896
 
11627
11897
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11628
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11629
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
11898
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
11899
$as_echo "$ac_header_compiler" >&6; }
11630
11900
 
11631
11901
# Is the header present?
11632
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11633
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
11902
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
11903
$as_echo_n "checking $ac_header presence... " >&6; }
11634
11904
cat >conftest.$ac_ext <<_ACEOF
11635
11905
/* confdefs.h.  */
11636
11906
_ACEOF
11644
11914
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11645
11915
  *) ac_try_echo=$ac_try;;
11646
11916
esac
11647
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11917
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11918
$as_echo "$ac_try_echo") >&5
11648
11919
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11649
11920
  ac_status=$?
11650
11921
  grep -v '^ *+' conftest.er1 >conftest.err
11651
11922
  rm -f conftest.er1
11652
11923
  cat conftest.err >&5
11653
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11924
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654
11925
  (exit $ac_status); } >/dev/null && {
11655
11926
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
11656
11927
         test ! -s conftest.err
11657
11928
       }; then
11658
11929
  ac_header_preproc=yes
11659
11930
else
11660
 
  echo "$as_me: failed program was:" >&5
 
11931
  $as_echo "$as_me: failed program was:" >&5
11661
11932
sed 's/^/| /' conftest.$ac_ext >&5
11662
11933
 
11663
11934
  ac_header_preproc=no
11664
11935
fi
11665
11936
 
11666
11937
rm -f conftest.err conftest.$ac_ext
11667
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11668
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
11938
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
11939
$as_echo "$ac_header_preproc" >&6; }
11669
11940
 
11670
11941
# So?  What about this header?
11671
11942
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11672
11943
  yes:no: )
11673
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11674
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11675
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11676
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
11944
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
11945
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
11946
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
11947
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11677
11948
    ac_header_preproc=yes
11678
11949
    ;;
11679
11950
  no:yes:* )
11680
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11681
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11682
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11683
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11684
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11685
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11686
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11687
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11688
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11689
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11690
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11691
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
11951
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
11952
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
11953
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
11954
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
11955
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
11956
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
11957
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
11958
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
11959
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
11960
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
11961
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
11962
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11692
11963
 
11693
11964
    ;;
11694
11965
esac
11695
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11696
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
11966
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
11967
$as_echo_n "checking for $ac_header... " >&6; }
11697
11968
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11698
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11969
  $as_echo_n "(cached) " >&6
11699
11970
else
11700
11971
  eval "$as_ac_Header=\$ac_header_preproc"
11701
11972
fi
11702
 
ac_res=`eval echo '${'$as_ac_Header'}'`
11703
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
11704
 
echo "${ECHO_T}$ac_res" >&6; }
 
11973
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
11974
                 $as_echo "$as_val"'`
 
11975
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
11976
$as_echo "$ac_res" >&6; }
11705
11977
 
11706
11978
fi
11707
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
11979
as_val=`eval 'as_val=${'$as_ac_Header'}
 
11980
                 $as_echo "$as_val"'`
 
11981
   if test "x$as_val" = x""yes; then
11708
11982
  cat >>confdefs.h <<_ACEOF
11709
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11983
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11710
11984
_ACEOF
11711
11985
 
11712
11986
else
11713
 
   { { echo "$as_me:$LINENO: error: Invalid compiler flags returned by ${ESD_CONFIG}.
 
11987
   { { $as_echo "$as_me:$LINENO: error: Invalid compiler flags returned by ${ESD_CONFIG}.
11714
11988
*** Check your installation." >&5
11715
 
echo "$as_me: error: Invalid compiler flags returned by ${ESD_CONFIG}.
 
11989
$as_echo "$as_me: error: Invalid compiler flags returned by ${ESD_CONFIG}.
11716
11990
*** Check your installation." >&2;}
11717
11991
   { (exit 1); exit 1; }; }
11718
11992
fi
11720
11994
done
11721
11995
 
11722
11996
 
11723
 
{ echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11724
 
echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
 
11997
{ $as_echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
 
11998
$as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
11725
11999
if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12000
  $as_echo_n "(cached) " >&6
11727
12001
else
11728
12002
  ac_check_lib_save_LIBS=$LIBS
11729
12003
LIBS="-lesd  $LIBS"
11755
12029
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11756
12030
  *) ac_try_echo=$ac_try;;
11757
12031
esac
11758
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12032
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12033
$as_echo "$ac_try_echo") >&5
11759
12034
  (eval "$ac_link") 2>conftest.er1
11760
12035
  ac_status=$?
11761
12036
  grep -v '^ *+' conftest.er1 >conftest.err
11762
12037
  rm -f conftest.er1
11763
12038
  cat conftest.err >&5
11764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12039
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765
12040
  (exit $ac_status); } && {
11766
12041
         test -z "$ac_cxx_werror_flag" ||
11767
12042
         test ! -s conftest.err
11768
 
       } && test -s conftest$ac_exeext &&
11769
 
       $as_test_x conftest$ac_exeext; then
 
12043
       } && test -s conftest$ac_exeext && {
 
12044
         test "$cross_compiling" = yes ||
 
12045
         $as_test_x conftest$ac_exeext
 
12046
       }; then
11770
12047
  ac_cv_lib_esd_esd_open_sound=yes
11771
12048
else
11772
 
  echo "$as_me: failed program was:" >&5
 
12049
  $as_echo "$as_me: failed program was:" >&5
11773
12050
sed 's/^/| /' conftest.$ac_ext >&5
11774
12051
 
11775
12052
        ac_cv_lib_esd_esd_open_sound=no
11776
12053
fi
11777
12054
 
 
12055
rm -rf conftest.dSYM
11778
12056
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11779
12057
      conftest$ac_exeext conftest.$ac_ext
11780
12058
LIBS=$ac_check_lib_save_LIBS
11781
12059
fi
11782
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11783
 
echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11784
 
if test $ac_cv_lib_esd_esd_open_sound = yes; then
 
12060
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
 
12061
$as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
 
12062
if test "x$ac_cv_lib_esd_esd_open_sound" = x""yes; then
11785
12063
  cat >>confdefs.h <<_ACEOF
11786
12064
#define HAVE_LIBESD 1
11787
12065
_ACEOF
11789
12067
  LIBS="-lesd $LIBS"
11790
12068
 
11791
12069
else
11792
 
   { { echo "$as_me:$LINENO: error: Invalid linker flags returned by ${ESD_CONFIG}.
 
12070
   { { $as_echo "$as_me:$LINENO: error: Invalid linker flags returned by ${ESD_CONFIG}.
11793
12071
*** Check your installation." >&5
11794
 
echo "$as_me: error: Invalid linker flags returned by ${ESD_CONFIG}.
 
12072
$as_echo "$as_me: error: Invalid linker flags returned by ${ESD_CONFIG}.
11795
12073
*** Check your installation." >&2;}
11796
12074
   { (exit 1); exit 1; }; }
11797
12075
fi
11812
12090
              CONFIG_ESD=yes
11813
12091
            fi;;
11814
12092
          *)
11815
 
            { echo "$as_me:$LINENO: WARNING: Invalid audio interface: ${iface}" >&5
11816
 
echo "$as_me: WARNING: Invalid audio interface: ${iface}" >&2;}
 
12093
            { $as_echo "$as_me:$LINENO: WARNING: Invalid audio interface: ${iface}" >&5
 
12094
$as_echo "$as_me: WARNING: Invalid audio interface: ${iface}" >&2;}
11817
12095
        esac
11818
12096
      done
11819
12097
 
11823
12101
      done
11824
12102
 
11825
12103
      if test "${audio_support}" = ""; then
11826
 
        { { echo "$as_me:$LINENO: error: You have to specify at least one valid audio interface." >&5
11827
 
echo "$as_me: error: You have to specify at least one valid audio interface." >&2;}
 
12104
        { { $as_echo "$as_me:$LINENO: error: You have to specify at least one valid audio interface." >&5
 
12105
$as_echo "$as_me: error: You have to specify at least one valid audio interface." >&2;}
11828
12106
   { (exit 1); exit 1; }; }
11829
12107
      else
11830
12108
        APPLICATIONS="${APPLICATIONS} icesound"
11842
12120
    echo ;
11843
12121
  else
11844
12122
    LIBS="$LIBS -lXinerama -lXext "
11845
 
    { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
11846
 
echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
 
12123
    { $as_echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
 
12124
$as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
11847
12125
if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
11848
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12126
  $as_echo_n "(cached) " >&6
11849
12127
else
11850
12128
  ac_check_lib_save_LIBS=$LIBS
11851
12129
LIBS="-lXinerama  $LIBS"
11877
12155
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11878
12156
  *) ac_try_echo=$ac_try;;
11879
12157
esac
11880
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12158
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12159
$as_echo "$ac_try_echo") >&5
11881
12160
  (eval "$ac_link") 2>conftest.er1
11882
12161
  ac_status=$?
11883
12162
  grep -v '^ *+' conftest.er1 >conftest.err
11884
12163
  rm -f conftest.er1
11885
12164
  cat conftest.err >&5
11886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12165
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887
12166
  (exit $ac_status); } && {
11888
12167
         test -z "$ac_cxx_werror_flag" ||
11889
12168
         test ! -s conftest.err
11890
 
       } && test -s conftest$ac_exeext &&
11891
 
       $as_test_x conftest$ac_exeext; then
 
12169
       } && test -s conftest$ac_exeext && {
 
12170
         test "$cross_compiling" = yes ||
 
12171
         $as_test_x conftest$ac_exeext
 
12172
       }; then
11892
12173
  ac_cv_lib_Xinerama_XineramaQueryScreens=yes
11893
12174
else
11894
 
  echo "$as_me: failed program was:" >&5
 
12175
  $as_echo "$as_me: failed program was:" >&5
11895
12176
sed 's/^/| /' conftest.$ac_ext >&5
11896
12177
 
11897
12178
        ac_cv_lib_Xinerama_XineramaQueryScreens=no
11898
12179
fi
11899
12180
 
 
12181
rm -rf conftest.dSYM
11900
12182
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11901
12183
      conftest$ac_exeext conftest.$ac_ext
11902
12184
LIBS=$ac_check_lib_save_LIBS
11903
12185
fi
11904
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
11905
 
echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
11906
 
if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
 
12186
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
 
12187
$as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
 
12188
if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then
11907
12189
 
11908
12190
        CORE_LIBS="-lXinerama $CORE_LIBS"
11909
12191
 
11912
12194
_ACEOF
11913
12195
 
11914
12196
else
11915
 
   { { echo "$as_me:$LINENO: error: Xinerama can not be found" >&5
11916
 
echo "$as_me: error: Xinerama can not be found" >&2;}
 
12197
   { { $as_echo "$as_me:$LINENO: error: Xinerama can not be found" >&5
 
12198
$as_echo "$as_me: error: Xinerama can not be found" >&2;}
11917
12199
   { (exit 1); exit 1; }; }
11918
12200
fi
11919
12201
 
12175
12457
 
12176
12458
if test "${with_imlib_sign}" = "yes"; then
12177
12459
  if test "${with_xpm_sign}" = "yes"; then
12178
 
    { { echo "$as_me:$LINENO: error: libXpm and Imlib can not be used in the same time" >&5
12179
 
echo "$as_me: error: libXpm and Imlib can not be used in the same time" >&2;}
 
12460
    { { $as_echo "$as_me:$LINENO: error: libXpm and Imlib can not be used in the same time" >&5
 
12461
$as_echo "$as_me: error: libXpm and Imlib can not be used in the same time" >&2;}
12180
12462
   { (exit 1); exit 1; }; }
12181
12463
  fi
12182
12464
fi
12184
12466
if test "${with_imlib_sign}" = "yes"; then
12185
12467
  # Extract the first word of "imlib-config", so it can be a program name with args.
12186
12468
set dummy imlib-config; ac_word=$2
12187
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12188
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
12469
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12470
$as_echo_n "checking for $ac_word... " >&6; }
12189
12471
if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then
12190
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12472
  $as_echo_n "(cached) " >&6
12191
12473
else
12192
12474
  case $IMLIB_CONFIG in
12193
12475
  [\\/]* | ?:[\\/]*)
12202
12484
  for ac_exec_ext in '' $ac_executable_extensions; do
12203
12485
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12204
12486
    ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12205
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12487
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12206
12488
    break 2
12207
12489
  fi
12208
12490
done
12214
12496
fi
12215
12497
IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG
12216
12498
if test -n "$IMLIB_CONFIG"; then
12217
 
  { echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5
12218
 
echo "${ECHO_T}$IMLIB_CONFIG" >&6; }
 
12499
  { $as_echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5
 
12500
$as_echo "$IMLIB_CONFIG" >&6; }
12219
12501
else
12220
 
  { echo "$as_me:$LINENO: result: no" >&5
12221
 
echo "${ECHO_T}no" >&6; }
 
12502
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12503
$as_echo "no" >&6; }
12222
12504
fi
12223
12505
 
12224
12506
 
12225
12507
  if test "${IMLIB_CONFIG}" = ""; then
12226
 
    { { echo "$as_me:$LINENO: error: imlib-config can not be found" >&5
12227
 
echo "$as_me: error: imlib-config can not be found" >&2;}
 
12508
    { { $as_echo "$as_me:$LINENO: error: imlib-config can not be found" >&5
 
12509
$as_echo "$as_me: error: imlib-config can not be found" >&2;}
12228
12510
   { (exit 1); exit 1; }; }
12229
12511
  else
12230
12512
    IMAGE_CFLAGS=`$IMLIB_CONFIG --cflags`
12245
12527
    xpm_cflags="-I${with_xpm_arg}/include"
12246
12528
    xpm_lflags="-L${with_xpm_arg}/lib"
12247
12529
  fi
12248
 
  { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
12249
 
echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; }
 
12530
  { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
 
12531
$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
12250
12532
if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
12251
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12533
  $as_echo_n "(cached) " >&6
12252
12534
else
12253
12535
  ac_check_lib_save_LIBS=$LIBS
12254
12536
LIBS="-lXpm  $xpm_lflags  $LIBS"
12280
12562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12281
12563
  *) ac_try_echo=$ac_try;;
12282
12564
esac
12283
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12566
$as_echo "$ac_try_echo") >&5
12284
12567
  (eval "$ac_link") 2>conftest.er1
12285
12568
  ac_status=$?
12286
12569
  grep -v '^ *+' conftest.er1 >conftest.err
12287
12570
  rm -f conftest.er1
12288
12571
  cat conftest.err >&5
12289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290
12573
  (exit $ac_status); } && {
12291
12574
         test -z "$ac_cxx_werror_flag" ||
12292
12575
         test ! -s conftest.err
12293
 
       } && test -s conftest$ac_exeext &&
12294
 
       $as_test_x conftest$ac_exeext; then
 
12576
       } && test -s conftest$ac_exeext && {
 
12577
         test "$cross_compiling" = yes ||
 
12578
         $as_test_x conftest$ac_exeext
 
12579
       }; then
12295
12580
  ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
12296
12581
else
12297
 
  echo "$as_me: failed program was:" >&5
 
12582
  $as_echo "$as_me: failed program was:" >&5
12298
12583
sed 's/^/| /' conftest.$ac_ext >&5
12299
12584
 
12300
12585
        ac_cv_lib_Xpm_XpmReadFileToPixmap=no
12301
12586
fi
12302
12587
 
 
12588
rm -rf conftest.dSYM
12303
12589
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12304
12590
      conftest$ac_exeext conftest.$ac_ext
12305
12591
LIBS=$ac_check_lib_save_LIBS
12306
12592
fi
12307
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
12308
 
echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
12309
 
if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
 
12593
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
 
12594
$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
 
12595
if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then
12310
12596
   IMAGE_CFLAGS="${xpm_cflags}"
12311
12597
      IMAGE_LIBS="${xpm_lflags} -lXpm"
12312
12598
 
12318
12604
      no_imlib=yes
12319
12605
else
12320
12606
  # if test "${with_xpm_sign}" = ""; then
12321
 
        { { echo "$as_me:$LINENO: error: libXpm can not be found" >&5
12322
 
echo "$as_me: error: libXpm can not be found" >&2;}
 
12607
        { { $as_echo "$as_me:$LINENO: error: libXpm can not be found" >&5
 
12608
$as_echo "$as_me: error: libXpm can not be found" >&2;}
12323
12609
   { (exit 1); exit 1; }; }
12324
12610
     # fi
12325
12611
 
12336
12622
else
12337
12623
   # Extract the first word of "mkfontdir", so it can be a program name with args.
12338
12624
set dummy mkfontdir; ac_word=$2
12339
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12340
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
12625
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12626
$as_echo_n "checking for $ac_word... " >&6; }
12341
12627
if test "${ac_cv_path_MKFONTDIR+set}" = set; then
12342
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12628
  $as_echo_n "(cached) " >&6
12343
12629
else
12344
12630
  case $MKFONTDIR in
12345
12631
  [\\/]* | ?:[\\/]*)
12355
12641
  for ac_exec_ext in '' $ac_executable_extensions; do
12356
12642
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12357
12643
    ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext"
12358
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12644
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12359
12645
    break 2
12360
12646
  fi
12361
12647
done
12367
12653
fi
12368
12654
MKFONTDIR=$ac_cv_path_MKFONTDIR
12369
12655
if test -n "$MKFONTDIR"; then
12370
 
  { echo "$as_me:$LINENO: result: $MKFONTDIR" >&5
12371
 
echo "${ECHO_T}$MKFONTDIR" >&6; }
 
12656
  { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5
 
12657
$as_echo "$MKFONTDIR" >&6; }
12372
12658
else
12373
 
  { echo "$as_me:$LINENO: result: no" >&5
12374
 
echo "${ECHO_T}no" >&6; }
 
12659
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12660
$as_echo "no" >&6; }
12375
12661
fi
12376
12662
 
12377
12663
 
12385
12671
# Check whether --with-kdedatadir was given.
12386
12672
if test "${with_kdedatadir+set}" = set; then
12387
12673
  withval=$with_kdedatadir;  if test x"$with_kdedatadir" = x -o "$with_kdedatadir" = "yes"; then
12388
 
      { { echo "$as_me:$LINENO: error: Invalid usage of --with-kdedatadir argument" >&5
12389
 
echo "$as_me: error: Invalid usage of --with-kdedatadir argument" >&2;}
 
12674
      { { $as_echo "$as_me:$LINENO: error: Invalid usage of --with-kdedatadir argument" >&5
 
12675
$as_echo "$as_me: error: Invalid usage of --with-kdedatadir argument" >&2;}
12390
12676
   { (exit 1); exit 1; }; }
12391
12677
    else
12392
12678
      kdedatadir=$with_kdedatadir
12405
12691
# Check whether --with-libdir was given.
12406
12692
if test "${with_libdir+set}" = set; then
12407
12693
  withval=$with_libdir;  if test x"$with_libdir" = x -o "$with_libdir" = "yes"; then
12408
 
      { { echo "$as_me:$LINENO: error: Invalid usage of --with-libdir argument" >&5
12409
 
echo "$as_me: error: Invalid usage of --with-libdir argument" >&2;}
 
12694
      { { $as_echo "$as_me:$LINENO: error: Invalid usage of --with-libdir argument" >&5
 
12695
$as_echo "$as_me: error: Invalid usage of --with-libdir argument" >&2;}
12410
12696
   { (exit 1); exit 1; }; }
12411
12697
    else
12412
12698
      libdatadir=$with_libdir
12420
12706
# Check whether --with-cfgdir was given.
12421
12707
if test "${with_cfgdir+set}" = set; then
12422
12708
  withval=$with_cfgdir;  if test x"$with_cfgdir" = x -o "$with_cfgdir" = "yes"; then
12423
 
      { { echo "$as_me:$LINENO: error: Invalid usage of --with-cfgdir argument" >&5
12424
 
echo "$as_me: error: Invalid usage of --with-cfgdir argument" >&2;}
 
12709
      { { $as_echo "$as_me:$LINENO: error: Invalid usage of --with-cfgdir argument" >&5
 
12710
$as_echo "$as_me: error: Invalid usage of --with-cfgdir argument" >&2;}
12425
12711
   { (exit 1); exit 1; }; }
12426
12712
    else
12427
12713
      cfgdatadir=$with_cfgdir
12435
12721
# Check whether --with-docdir was given.
12436
12722
if test "${with_docdir+set}" = set; then
12437
12723
  withval=$with_docdir;  if test x"$with_docdir" = x -o "$with_docdir" = "yes"; then
12438
 
      { { echo "$as_me:$LINENO: error: Invalid usage of --with-docdir argument" >&5
12439
 
echo "$as_me: error: Invalid usage of --with-docdir argument" >&2;}
 
12724
      { { $as_echo "$as_me:$LINENO: error: Invalid usage of --with-docdir argument" >&5
 
12725
$as_echo "$as_me: error: Invalid usage of --with-docdir argument" >&2;}
12440
12726
   { (exit 1); exit 1; }; }
12441
12727
    else
12442
12728
      docdir=$with_docdir
12451
12737
  enableval=$enable_menus_gnome1;  if test "${enable_menus_gnome1}" = "yes"; then
12452
12738
      # Extract the first word of "gnome-config", so it can be a program name with args.
12453
12739
set dummy gnome-config; ac_word=$2
12454
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12455
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
12740
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12741
$as_echo_n "checking for $ac_word... " >&6; }
12456
12742
if test "${ac_cv_path_GNOME1_CONFIG+set}" = set; then
12457
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12743
  $as_echo_n "(cached) " >&6
12458
12744
else
12459
12745
  case $GNOME1_CONFIG in
12460
12746
  [\\/]* | ?:[\\/]*)
12469
12755
  for ac_exec_ext in '' $ac_executable_extensions; do
12470
12756
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12471
12757
    ac_cv_path_GNOME1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12472
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12758
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12473
12759
    break 2
12474
12760
  fi
12475
12761
done
12481
12767
fi
12482
12768
GNOME1_CONFIG=$ac_cv_path_GNOME1_CONFIG
12483
12769
if test -n "$GNOME1_CONFIG"; then
12484
 
  { echo "$as_me:$LINENO: result: $GNOME1_CONFIG" >&5
12485
 
echo "${ECHO_T}$GNOME1_CONFIG" >&6; }
 
12770
  { $as_echo "$as_me:$LINENO: result: $GNOME1_CONFIG" >&5
 
12771
$as_echo "$GNOME1_CONFIG" >&6; }
12486
12772
else
12487
 
  { echo "$as_me:$LINENO: result: no" >&5
12488
 
echo "${ECHO_T}no" >&6; }
 
12773
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12774
$as_echo "no" >&6; }
12489
12775
fi
12490
12776
 
12491
12777
 
12507
12793
      fi
12508
12794
 
12509
12795
      if test "${GNOME1_CFLAGS}" = ""; then
12510
 
        { { echo "$as_me:$LINENO: error: gnome-config can not be found.
 
12796
        { { $as_echo "$as_me:$LINENO: error: gnome-config can not be found.
12511
12797
*** Install the GNOME�s development packages." >&5
12512
 
echo "$as_me: error: gnome-config can not be found.
 
12798
$as_echo "$as_me: error: gnome-config can not be found.
12513
12799
*** Install the GNOME�s development packages." >&2;}
12514
12800
   { (exit 1); exit 1; }; }
12515
12801
      fi
12522
12808
  enableval=$enable_menus_gnome2;  if test "${enable_menus_gnome2}" = "yes"; then
12523
12809
      # Extract the first word of "pkg-config", so it can be a program name with args.
12524
12810
set dummy pkg-config; ac_word=$2
12525
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12526
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
12811
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12812
$as_echo_n "checking for $ac_word... " >&6; }
12527
12813
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12528
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12814
  $as_echo_n "(cached) " >&6
12529
12815
else
12530
12816
  case $PKG_CONFIG in
12531
12817
  [\\/]* | ?:[\\/]*)
12540
12826
  for ac_exec_ext in '' $ac_executable_extensions; do
12541
12827
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12542
12828
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12543
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12829
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12544
12830
    break 2
12545
12831
  fi
12546
12832
done
12552
12838
fi
12553
12839
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12554
12840
if test -n "$PKG_CONFIG"; then
12555
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12556
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
12841
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12842
$as_echo "$PKG_CONFIG" >&6; }
12557
12843
else
12558
 
  { echo "$as_me:$LINENO: result: no" >&5
12559
 
echo "${ECHO_T}no" >&6; }
 
12844
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12845
$as_echo "no" >&6; }
12560
12846
fi
12561
12847
 
12562
12848
 
12579
12865
      fi
12580
12866
 
12581
12867
      if test "${GNOME2_CFLAGS}" = ""; then
12582
 
        { { echo "$as_me:$LINENO: error: gnome 2 can not be found via pkg-config.
 
12868
        { { $as_echo "$as_me:$LINENO: error: gnome 2 can not be found via pkg-config.
12583
12869
*** Install the GNOME�s development packages." >&5
12584
 
echo "$as_me: error: gnome 2 can not be found via pkg-config.
 
12870
$as_echo "$as_me: error: gnome 2 can not be found via pkg-config.
12585
12871
*** Install the GNOME�s development packages." >&2;}
12586
12872
   { (exit 1); exit 1; }; }
12587
12873
      fi
12863
13149
    case $ac_val in #(
12864
13150
    *${as_nl}*)
12865
13151
      case $ac_var in #(
12866
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12867
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
13152
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
13153
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12868
13154
      esac
12869
13155
      case $ac_var in #(
12870
13156
      _ | IFS | as_nl) ;; #(
 
13157
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12871
13158
      *) $as_unset $ac_var ;;
12872
13159
      esac ;;
12873
13160
    esac
12900
13187
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12901
13188
  if test -w "$cache_file"; then
12902
13189
    test "x$cache_file" != "x/dev/null" &&
12903
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12904
 
echo "$as_me: updating cache $cache_file" >&6;}
 
13190
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
13191
$as_echo "$as_me: updating cache $cache_file" >&6;}
12905
13192
    cat confcache >$cache_file
12906
13193
  else
12907
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12908
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
13194
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
13195
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12909
13196
  fi
12910
13197
fi
12911
13198
rm -f confcache
12921
13208
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12922
13209
  # 1. Remove the extension, and $U if already installed.
12923
13210
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12924
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
13211
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12925
13212
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12926
13213
  #    will be set to the directory where LIBOBJS objects are built.
12927
13214
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12934
13221
 
12935
13222
 
12936
13223
: ${CONFIG_STATUS=./config.status}
 
13224
ac_write_fail=0
12937
13225
ac_clean_files_save=$ac_clean_files
12938
13226
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12939
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12940
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
12941
 
cat >$CONFIG_STATUS <<_ACEOF
 
13227
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
13228
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
13229
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12942
13230
#! $SHELL
12943
13231
# Generated by $as_me.
12944
13232
# Run this file to recreate the current configuration.
12951
13239
SHELL=\${CONFIG_SHELL-$SHELL}
12952
13240
_ACEOF
12953
13241
 
12954
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13242
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12955
13243
## --------------------- ##
12956
13244
## M4sh Initialization.  ##
12957
13245
## --------------------- ##
12961
13249
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12962
13250
  emulate sh
12963
13251
  NULLCMD=:
12964
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
13252
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12965
13253
  # is contrary to our usage.  Disable this feature.
12966
13254
  alias -g '${1+"$@"}'='"$@"'
12967
13255
  setopt NO_GLOB_SUBST
12983
13271
as_cr_digits='0123456789'
12984
13272
as_cr_alnum=$as_cr_Letters$as_cr_digits
12985
13273
 
 
13274
as_nl='
 
13275
'
 
13276
export as_nl
 
13277
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
13278
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
13279
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
13280
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
13281
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13282
  as_echo='printf %s\n'
 
13283
  as_echo_n='printf %s'
 
13284
else
 
13285
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
13286
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
13287
    as_echo_n='/usr/ucb/echo -n'
 
13288
  else
 
13289
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
13290
    as_echo_n_body='eval
 
13291
      arg=$1;
 
13292
      case $arg in
 
13293
      *"$as_nl"*)
 
13294
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
13295
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
13296
      esac;
 
13297
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
13298
    '
 
13299
    export as_echo_n_body
 
13300
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
13301
  fi
 
13302
  export as_echo_body
 
13303
  as_echo='sh -c $as_echo_body as_echo'
 
13304
fi
 
13305
 
12986
13306
# The user is always right.
12987
13307
if test "${PATH_SEPARATOR+set}" != set; then
12988
 
  echo "#! /bin/sh" >conf$$.sh
12989
 
  echo  "exit 0"   >>conf$$.sh
12990
 
  chmod +x conf$$.sh
12991
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12992
 
    PATH_SEPARATOR=';'
12993
 
  else
12994
 
    PATH_SEPARATOR=:
12995
 
  fi
12996
 
  rm -f conf$$.sh
 
13308
  PATH_SEPARATOR=:
 
13309
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
13310
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
13311
      PATH_SEPARATOR=';'
 
13312
  }
12997
13313
fi
12998
13314
 
12999
13315
# Support unset when possible.
13009
13325
# there to prevent editors from complaining about space-tab.
13010
13326
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13011
13327
# splitting by setting IFS to empty value.)
13012
 
as_nl='
13013
 
'
13014
13328
IFS=" ""        $as_nl"
13015
13329
 
13016
13330
# Find who we are.  Look in the path if we contain no directory separator.
13033
13347
  as_myself=$0
13034
13348
fi
13035
13349
if test ! -f "$as_myself"; then
13036
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
13350
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13037
13351
  { (exit 1); exit 1; }
13038
13352
fi
13039
13353
 
13046
13360
PS4='+ '
13047
13361
 
13048
13362
# NLS nuisances.
13049
 
for as_var in \
13050
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13051
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13052
 
  LC_TELEPHONE LC_TIME
13053
 
do
13054
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13055
 
    eval $as_var=C; export $as_var
13056
 
  else
13057
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13058
 
  fi
13059
 
done
 
13363
LC_ALL=C
 
13364
export LC_ALL
 
13365
LANGUAGE=C
 
13366
export LANGUAGE
13060
13367
 
13061
13368
# Required to use basename.
13062
13369
if expr a : '\(a\)' >/dev/null 2>&1 &&
13078
13385
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13079
13386
         X"$0" : 'X\(//\)$' \| \
13080
13387
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13081
 
echo X/"$0" |
 
13388
$as_echo X/"$0" |
13082
13389
    sed '/^.*\/\([^/][^/]*\)\/*$/{
13083
13390
            s//\1/
13084
13391
            q
13129
13436
      s/-\n.*//
13130
13437
    ' >$as_me.lineno &&
13131
13438
  chmod +x "$as_me.lineno" ||
13132
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
13439
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13133
13440
   { (exit 1); exit 1; }; }
13134
13441
 
13135
13442
  # Don't try to exec as it changes $[0], causing all sort of problems
13157
13464
*)
13158
13465
  ECHO_N='-n';;
13159
13466
esac
13160
 
 
13161
13467
if expr a : '\(a\)' >/dev/null 2>&1 &&
13162
13468
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13163
13469
  as_expr=expr
13170
13476
  rm -f conf$$.dir/conf$$.file
13171
13477
else
13172
13478
  rm -f conf$$.dir
13173
 
  mkdir conf$$.dir
 
13479
  mkdir conf$$.dir 2>/dev/null
13174
13480
fi
13175
 
echo >conf$$.file
13176
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
13177
 
  as_ln_s='ln -s'
13178
 
  # ... but there are two gotchas:
13179
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13180
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13181
 
  # In both cases, we have to default to `cp -p'.
13182
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
13481
if (echo >conf$$.file) 2>/dev/null; then
 
13482
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
13483
    as_ln_s='ln -s'
 
13484
    # ... but there are two gotchas:
 
13485
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
13486
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
13487
    # In both cases, we have to default to `cp -p'.
 
13488
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
13489
      as_ln_s='cp -p'
 
13490
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
13491
    as_ln_s=ln
 
13492
  else
13183
13493
    as_ln_s='cp -p'
13184
 
elif ln conf$$.file conf$$ 2>/dev/null; then
13185
 
  as_ln_s=ln
 
13494
  fi
13186
13495
else
13187
13496
  as_ln_s='cp -p'
13188
13497
fi
13207
13516
  as_test_x='
13208
13517
    eval sh -c '\''
13209
13518
      if test -d "$1"; then
13210
 
        test -d "$1/.";
 
13519
        test -d "$1/.";
13211
13520
      else
13212
13521
        case $1 in
13213
 
        -*)set "./$1";;
 
13522
        -*)set "./$1";;
13214
13523
        esac;
13215
13524
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13216
13525
        ???[sx]*):;;*)false;;esac;fi
13233
13542
# values after options handling.
13234
13543
ac_log="
13235
13544
This file was extended by $as_me, which was
13236
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
13545
generated by GNU Autoconf 2.63.  Invocation command line was
13237
13546
 
13238
13547
  CONFIG_FILES    = $CONFIG_FILES
13239
13548
  CONFIG_HEADERS  = $CONFIG_HEADERS
13246
13555
 
13247
13556
_ACEOF
13248
13557
 
13249
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13558
case $ac_config_files in *"
 
13559
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
13560
esac
 
13561
 
 
13562
case $ac_config_headers in *"
 
13563
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
13564
esac
 
13565
 
 
13566
 
 
13567
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13250
13568
# Files that config.status was made for.
13251
13569
config_files="$ac_config_files"
13252
13570
config_headers="$ac_config_headers"
13254
13572
 
13255
13573
_ACEOF
13256
13574
 
13257
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13575
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13258
13576
ac_cs_usage="\
13259
13577
\`$as_me' instantiates files from templates according to the
13260
13578
current configuration.
13261
13579
 
13262
 
Usage: $0 [OPTIONS] [FILE]...
 
13580
Usage: $0 [OPTION]... [FILE]...
13263
13581
 
13264
13582
  -h, --help       print this help, then exit
13265
13583
  -V, --version    print version number and configuration settings, then exit
13266
 
  -q, --quiet      do not print progress messages
 
13584
  -q, --quiet, --silent
 
13585
                   do not print progress messages
13267
13586
  -d, --debug      don't remove temporary files
13268
13587
      --recheck    update $as_me by reconfiguring in the same conditions
13269
 
  --file=FILE[:TEMPLATE]
13270
 
                   instantiate the configuration file FILE
13271
 
  --header=FILE[:TEMPLATE]
13272
 
                   instantiate the configuration header FILE
 
13588
      --file=FILE[:TEMPLATE]
 
13589
                   instantiate the configuration file FILE
 
13590
      --header=FILE[:TEMPLATE]
 
13591
                   instantiate the configuration header FILE
13273
13592
 
13274
13593
Configuration files:
13275
13594
$config_files
13283
13602
Report bugs to <bug-autoconf@gnu.org>."
13284
13603
 
13285
13604
_ACEOF
13286
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13605
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13287
13606
ac_cs_version="\\
13288
13607
config.status
13289
 
configured by $0, generated by GNU Autoconf 2.61,
13290
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
13608
configured by $0, generated by GNU Autoconf 2.63,
 
13609
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13291
13610
 
13292
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
13611
Copyright (C) 2008 Free Software Foundation, Inc.
13293
13612
This config.status script is free software; the Free Software Foundation
13294
13613
gives unlimited permission to copy, distribute and modify it."
13295
13614
 
13296
13615
ac_pwd='$ac_pwd'
13297
13616
srcdir='$srcdir'
13298
13617
INSTALL='$INSTALL'
 
13618
test -n "\$AWK" || AWK=awk
13299
13619
_ACEOF
13300
13620
 
13301
 
cat >>$CONFIG_STATUS <<\_ACEOF
13302
 
# If no file are specified by the user, then we need to provide default
13303
 
# value.  By we need to know if files were specified by the user.
 
13621
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13622
# The default lists apply if the user does not specify any file.
13304
13623
ac_need_defaults=:
13305
13624
while test $# != 0
13306
13625
do
13322
13641
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13323
13642
    ac_cs_recheck=: ;;
13324
13643
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13325
 
    echo "$ac_cs_version"; exit ;;
 
13644
    $as_echo "$ac_cs_version"; exit ;;
13326
13645
  --debug | --debu | --deb | --de | --d | -d )
13327
13646
    debug=: ;;
13328
13647
  --file | --fil | --fi | --f )
13329
13648
    $ac_shift
13330
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
13649
    case $ac_optarg in
 
13650
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13651
    esac
 
13652
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13331
13653
    ac_need_defaults=false;;
13332
13654
  --header | --heade | --head | --hea )
13333
13655
    $ac_shift
13334
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
13656
    case $ac_optarg in
 
13657
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13658
    esac
 
13659
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13335
13660
    ac_need_defaults=false;;
13336
13661
  --he | --h)
13337
13662
    # Conflict between --help and --header
13338
 
    { echo "$as_me: error: ambiguous option: $1
 
13663
    { $as_echo "$as_me: error: ambiguous option: $1
13339
13664
Try \`$0 --help' for more information." >&2
13340
13665
   { (exit 1); exit 1; }; };;
13341
13666
  --help | --hel | -h )
13342
 
    echo "$ac_cs_usage"; exit ;;
 
13667
    $as_echo "$ac_cs_usage"; exit ;;
13343
13668
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13344
13669
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13345
13670
    ac_cs_silent=: ;;
13346
13671
 
13347
13672
  # This is an error.
13348
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
13673
  -*) { $as_echo "$as_me: error: unrecognized option: $1
13349
13674
Try \`$0 --help' for more information." >&2
13350
13675
   { (exit 1); exit 1; }; } ;;
13351
13676
 
13364
13689
fi
13365
13690
 
13366
13691
_ACEOF
13367
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13692
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13368
13693
if \$ac_cs_recheck; then
13369
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13370
 
  CONFIG_SHELL=$SHELL
 
13694
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13695
  shift
 
13696
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
13697
  CONFIG_SHELL='$SHELL'
13371
13698
  export CONFIG_SHELL
13372
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13699
  exec "\$@"
13373
13700
fi
13374
13701
 
13375
13702
_ACEOF
13376
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13703
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13377
13704
exec 5>>config.log
13378
13705
{
13379
13706
  echo
13380
13707
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13381
13708
## Running $as_me. ##
13382
13709
_ASBOX
13383
 
  echo "$ac_log"
 
13710
  $as_echo "$ac_log"
13384
13711
} >&5
13385
13712
 
13386
13713
_ACEOF
13387
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13714
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13388
13715
#
13389
13716
# INIT-COMMANDS
13390
13717
#
13395
13722
 
13396
13723
_ACEOF
13397
13724
 
13398
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13725
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13399
13726
 
13400
13727
# Handling of arguments.
13401
13728
for ac_config_target in $ac_config_targets
13412
13739
    "lib/toolbar") CONFIG_FILES="$CONFIG_FILES lib/toolbar" ;;
13413
13740
    "lib/winoptions") CONFIG_FILES="$CONFIG_FILES lib/winoptions" ;;
13414
13741
 
13415
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13416
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
13742
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
13743
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13417
13744
   { (exit 1); exit 1; }; };;
13418
13745
  esac
13419
13746
done
13454
13781
  (umask 077 && mkdir "$tmp")
13455
13782
} ||
13456
13783
{
13457
 
   echo "$me: cannot create a temporary directory in ." >&2
 
13784
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
13458
13785
   { (exit 1); exit 1; }
13459
13786
}
13460
13787
 
13461
 
#
13462
 
# Set up the sed scripts for CONFIG_FILES section.
13463
 
#
13464
 
 
13465
 
# No need to generate the scripts if there are no CONFIG_FILES.
13466
 
# This happens for instance when ./config.status config.h
 
13788
# Set up the scripts for CONFIG_FILES section.
 
13789
# No need to generate them if there are no CONFIG_FILES.
 
13790
# This happens for instance with `./config.status config.h'.
13467
13791
if test -n "$CONFIG_FILES"; then
13468
13792
 
13469
 
_ACEOF
13470
 
 
13471
 
 
13472
 
 
13473
 
ac_delim='%!_!# '
13474
 
for ac_last_try in false false false false false :; do
13475
 
  cat >conf$$subs.sed <<_ACEOF
13476
 
SHELL!$SHELL$ac_delim
13477
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13478
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13479
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13480
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13481
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13482
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13483
 
exec_prefix!$exec_prefix$ac_delim
13484
 
prefix!$prefix$ac_delim
13485
 
program_transform_name!$program_transform_name$ac_delim
13486
 
bindir!$bindir$ac_delim
13487
 
sbindir!$sbindir$ac_delim
13488
 
libexecdir!$libexecdir$ac_delim
13489
 
datarootdir!$datarootdir$ac_delim
13490
 
datadir!$datadir$ac_delim
13491
 
sysconfdir!$sysconfdir$ac_delim
13492
 
sharedstatedir!$sharedstatedir$ac_delim
13493
 
localstatedir!$localstatedir$ac_delim
13494
 
includedir!$includedir$ac_delim
13495
 
oldincludedir!$oldincludedir$ac_delim
13496
 
docdir!$docdir$ac_delim
13497
 
infodir!$infodir$ac_delim
13498
 
htmldir!$htmldir$ac_delim
13499
 
dvidir!$dvidir$ac_delim
13500
 
pdfdir!$pdfdir$ac_delim
13501
 
psdir!$psdir$ac_delim
13502
 
libdir!$libdir$ac_delim
13503
 
localedir!$localedir$ac_delim
13504
 
mandir!$mandir$ac_delim
13505
 
DEFS!$DEFS$ac_delim
13506
 
ECHO_C!$ECHO_C$ac_delim
13507
 
ECHO_N!$ECHO_N$ac_delim
13508
 
ECHO_T!$ECHO_T$ac_delim
13509
 
LIBS!$LIBS$ac_delim
13510
 
build_alias!$build_alias$ac_delim
13511
 
host_alias!$host_alias$ac_delim
13512
 
target_alias!$target_alias$ac_delim
13513
 
build!$build$ac_delim
13514
 
build_cpu!$build_cpu$ac_delim
13515
 
build_vendor!$build_vendor$ac_delim
13516
 
build_os!$build_os$ac_delim
13517
 
host!$host$ac_delim
13518
 
host_cpu!$host_cpu$ac_delim
13519
 
host_vendor!$host_vendor$ac_delim
13520
 
host_os!$host_os$ac_delim
13521
 
target!$target$ac_delim
13522
 
target_cpu!$target_cpu$ac_delim
13523
 
target_vendor!$target_vendor$ac_delim
13524
 
target_os!$target_os$ac_delim
13525
 
CXX!$CXX$ac_delim
13526
 
CXXFLAGS!$CXXFLAGS$ac_delim
13527
 
LDFLAGS!$LDFLAGS$ac_delim
13528
 
CPPFLAGS!$CPPFLAGS$ac_delim
13529
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
13530
 
EXEEXT!$EXEEXT$ac_delim
13531
 
OBJEXT!$OBJEXT$ac_delim
13532
 
CXX_LINK!$CXX_LINK$ac_delim
13533
 
HOSTCXX!$HOSTCXX$ac_delim
13534
 
HOSTCXX_LINK!$HOSTCXX_LINK$ac_delim
13535
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13536
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13537
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
13538
 
CXXCPP!$CXXCPP$ac_delim
13539
 
GREP!$GREP$ac_delim
13540
 
EGREP!$EGREP$ac_delim
13541
 
XMKMF!$XMKMF$ac_delim
13542
 
X_CFLAGS!$X_CFLAGS$ac_delim
13543
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
13544
 
X_LIBS!$X_LIBS$ac_delim
13545
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
13546
 
XGETTEXT!$XGETTEXT$ac_delim
13547
 
MSGMERGE!$MSGMERGE$ac_delim
13548
 
MSGFMT!$MSGFMT$ac_delim
13549
 
NLS_SOURCES!$NLS_SOURCES$ac_delim
13550
 
NLS_POFILES!$NLS_POFILES$ac_delim
13551
 
NLS_POXFILES!$NLS_POXFILES$ac_delim
13552
 
NLS_MOFILES!$NLS_MOFILES$ac_delim
13553
 
XFT_CONFIG!$XFT_CONFIG$ac_delim
13554
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
13555
 
ESD_CONFIG!$ESD_CONFIG$ac_delim
13556
 
IMLIB_CONFIG!$IMLIB_CONFIG$ac_delim
13557
 
MKFONTDIR!$MKFONTDIR$ac_delim
13558
 
GNOME1_CONFIG!$GNOME1_CONFIG$ac_delim
13559
 
GNOME_VER!$GNOME_VER$ac_delim
13560
 
CONFIG_GNOME1_MENU_DIR!$CONFIG_GNOME1_MENU_DIR$ac_delim
13561
 
CONFIG_GNOME2_MENU_DIR!$CONFIG_GNOME2_MENU_DIR$ac_delim
13562
 
CONFIG_KDE_MENU_DIR!$CONFIG_KDE_MENU_DIR$ac_delim
13563
 
PACKAGE!$PACKAGE$ac_delim
13564
 
VERSION!$VERSION$ac_delim
13565
 
HOSTOS!$HOSTOS$ac_delim
13566
 
HOSTCPU!$HOSTCPU$ac_delim
13567
 
DEBUG!$DEBUG$ac_delim
13568
 
GCCDEP!$GCCDEP$ac_delim
13569
 
CORE_CFLAGS!$CORE_CFLAGS$ac_delim
13570
 
IMAGE_CFLAGS!$IMAGE_CFLAGS$ac_delim
13571
 
AUDIO_CFLAGS!$AUDIO_CFLAGS$ac_delim
13572
 
GNOME1_CFLAGS!$GNOME1_CFLAGS$ac_delim
13573
 
_ACEOF
13574
 
 
13575
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13576
 
    break
13577
 
  elif $ac_last_try; then
13578
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13579
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13580
 
   { (exit 1); exit 1; }; }
13581
 
  else
13582
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13583
 
  fi
13584
 
done
13585
 
 
13586
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13587
 
if test -n "$ac_eof"; then
13588
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13589
 
  ac_eof=`expr $ac_eof + 1`
13590
 
fi
13591
 
 
13592
 
cat >>$CONFIG_STATUS <<_ACEOF
13593
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13594
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13595
 
_ACEOF
13596
 
sed '
13597
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13598
 
s/^/s,@/; s/!/@,|#_!!_#|/
13599
 
:n
13600
 
t n
13601
 
s/'"$ac_delim"'$/,g/; t
13602
 
s/$/\\/; p
13603
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13604
 
' >>$CONFIG_STATUS <conf$$subs.sed
13605
 
rm -f conf$$subs.sed
13606
 
cat >>$CONFIG_STATUS <<_ACEOF
13607
 
CEOF$ac_eof
13608
 
_ACEOF
13609
 
 
13610
 
 
13611
 
ac_delim='%!_!# '
13612
 
for ac_last_try in false false false false false :; do
13613
 
  cat >conf$$subs.sed <<_ACEOF
13614
 
GNOME2_CFLAGS!$GNOME2_CFLAGS$ac_delim
13615
 
CORE_LIBS!$CORE_LIBS$ac_delim
13616
 
IMAGE_LIBS!$IMAGE_LIBS$ac_delim
13617
 
AUDIO_LIBS!$AUDIO_LIBS$ac_delim
13618
 
GNOME1_LIBS!$GNOME1_LIBS$ac_delim
13619
 
GNOME2_LIBS!$GNOME2_LIBS$ac_delim
13620
 
PREFIX!$PREFIX$ac_delim
13621
 
BINDIR!$BINDIR$ac_delim
13622
 
LIBDIR!$LIBDIR$ac_delim
13623
 
CFGDIR!$CFGDIR$ac_delim
13624
 
LOCDIR!$LOCDIR$ac_delim
13625
 
KDEDIR!$KDEDIR$ac_delim
13626
 
DOCDIR!$DOCDIR$ac_delim
13627
 
MANDIR!$MANDIR$ac_delim
13628
 
GWMDIR!$GWMDIR$ac_delim
13629
 
BASEOBJS!$BASEOBJS$ac_delim
13630
 
BASEBINS!$BASEBINS$ac_delim
13631
 
TESTOBJS!$TESTOBJS$ac_delim
13632
 
TESTBINS!$TESTBINS$ac_delim
13633
 
TARGETS!$TARGETS$ac_delim
13634
 
TARGETS_INSTALL!$TARGETS_INSTALL$ac_delim
13635
 
APPLICATIONS!$APPLICATIONS$ac_delim
13636
 
TESTCASES!$TESTCASES$ac_delim
13637
 
BINFILES!$BINFILES$ac_delim
13638
 
INSTALL!$INSTALL$ac_delim
13639
 
INSTALLDIR!$INSTALLDIR$ac_delim
13640
 
INSTALLBIN!$INSTALLBIN$ac_delim
13641
 
INSTALLLIB!$INSTALLLIB$ac_delim
13642
 
INSTALLETC!$INSTALLETC$ac_delim
13643
 
INSTALLMAN!$INSTALLMAN$ac_delim
13644
 
LIBOBJS!$LIBOBJS$ac_delim
13645
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
13646
 
_ACEOF
13647
 
 
13648
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then
13649
 
    break
13650
 
  elif $ac_last_try; then
13651
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13652
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13653
 
   { (exit 1); exit 1; }; }
13654
 
  else
13655
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13656
 
  fi
13657
 
done
13658
 
 
13659
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13660
 
if test -n "$ac_eof"; then
13661
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13662
 
  ac_eof=`expr $ac_eof + 1`
13663
 
fi
13664
 
 
13665
 
cat >>$CONFIG_STATUS <<_ACEOF
13666
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13667
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13668
 
_ACEOF
13669
 
sed '
13670
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13671
 
s/^/s,@/; s/!/@,|#_!!_#|/
13672
 
:n
13673
 
t n
13674
 
s/'"$ac_delim"'$/,g/; t
13675
 
s/$/\\/; p
13676
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13677
 
' >>$CONFIG_STATUS <conf$$subs.sed
13678
 
rm -f conf$$subs.sed
13679
 
cat >>$CONFIG_STATUS <<_ACEOF
13680
 
:end
13681
 
s/|#_!!_#|//g
13682
 
CEOF$ac_eof
13683
 
_ACEOF
13684
 
 
 
13793
 
 
13794
ac_cr='
 
 
b"'"
 
13795
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
13796
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
13797
  ac_cs_awk_cr='\\r'
 
13798
else
 
13799
  ac_cs_awk_cr=$ac_cr
 
13800
fi
 
13801
 
 
13802
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
13803
_ACEOF
 
13804
 
 
13805
 
 
13806
{
 
13807
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
13808
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
13809
  echo "_ACEOF"
 
13810
} >conf$$subs.sh ||
 
13811
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
13812
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
13813
   { (exit 1); exit 1; }; }
 
13814
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
13815
ac_delim='%!_!# '
 
13816
for ac_last_try in false false false false false :; do
 
13817
  . ./conf$$subs.sh ||
 
13818
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
13819
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
13820
   { (exit 1); exit 1; }; }
 
13821
 
 
13822
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
13823
  if test $ac_delim_n = $ac_delim_num; then
 
13824
    break
 
13825
  elif $ac_last_try; then
 
13826
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
13827
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
13828
   { (exit 1); exit 1; }; }
 
13829
  else
 
13830
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
13831
  fi
 
13832
done
 
13833
rm -f conf$$subs.sh
 
13834
 
 
13835
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13836
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
13837
_ACEOF
 
13838
sed -n '
 
13839
h
 
13840
s/^/S["/; s/!.*/"]=/
 
13841
p
 
13842
g
 
13843
s/^[^!]*!//
 
13844
:repl
 
13845
t repl
 
13846
s/'"$ac_delim"'$//
 
13847
t delim
 
13848
:nl
 
13849
h
 
13850
s/\(.\{148\}\).*/\1/
 
13851
t more1
 
13852
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
13853
p
 
13854
n
 
13855
b repl
 
13856
:more1
 
13857
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
13858
p
 
13859
g
 
13860
s/.\{148\}//
 
13861
t nl
 
13862
:delim
 
13863
h
 
13864
s/\(.\{148\}\).*/\1/
 
13865
t more2
 
13866
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
13867
p
 
13868
b
 
13869
:more2
 
13870
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
13871
p
 
13872
g
 
13873
s/.\{148\}//
 
13874
t delim
 
13875
' <conf$$subs.awk | sed '
 
13876
/^[^""]/{
 
13877
  N
 
13878
  s/\n//
 
13879
}
 
13880
' >>$CONFIG_STATUS || ac_write_fail=1
 
13881
rm -f conf$$subs.awk
 
13882
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13883
_ACAWK
 
13884
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
13885
  for (key in S) S_is_set[key] = 1
 
13886
  FS = ""
 
13887
 
 
13888
}
 
13889
{
 
13890
  line = $ 0
 
13891
  nfields = split(line, field, "@")
 
13892
  substed = 0
 
13893
  len = length(field[1])
 
13894
  for (i = 2; i < nfields; i++) {
 
13895
    key = field[i]
 
13896
    keylen = length(key)
 
13897
    if (S_is_set[key]) {
 
13898
      value = S[key]
 
13899
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
13900
      len += length(value) + length(field[++i])
 
13901
      substed = 1
 
13902
    } else
 
13903
      len += 1 + keylen
 
13904
  }
 
13905
 
 
13906
  print line
 
13907
}
 
13908
 
 
13909
_ACAWK
 
13910
_ACEOF
 
13911
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13912
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
13913
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
13914
else
 
13915
  cat
 
13916
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
13917
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
13918
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
13919
   { (exit 1); exit 1; }; }
 
13920
_ACEOF
13685
13921
 
13686
13922
# VPATH may cause trouble with some makes, so we remove $(srcdir),
13687
13923
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13698
13934
}'
13699
13935
fi
13700
13936
 
13701
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13937
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13702
13938
fi # test -n "$CONFIG_FILES"
13703
13939
 
13704
 
 
13705
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
13940
# Set up the scripts for CONFIG_HEADERS section.
 
13941
# No need to generate them if there are no CONFIG_HEADERS.
 
13942
# This happens for instance with `./config.status Makefile'.
 
13943
if test -n "$CONFIG_HEADERS"; then
 
13944
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
13945
BEGIN {
 
13946
_ACEOF
 
13947
 
 
13948
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
13949
# here-document in config.status, that substitutes the proper values into
 
13950
# config.h.in to produce config.h.
 
13951
 
 
13952
# Create a delimiter string that does not exist in confdefs.h, to ease
 
13953
# handling of long lines.
 
13954
ac_delim='%!_!# '
 
13955
for ac_last_try in false false :; do
 
13956
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
13957
  if test -z "$ac_t"; then
 
13958
    break
 
13959
  elif $ac_last_try; then
 
13960
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
13961
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
13962
   { (exit 1); exit 1; }; }
 
13963
  else
 
13964
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
13965
  fi
 
13966
done
 
13967
 
 
13968
# For the awk script, D is an array of macro values keyed by name,
 
13969
# likewise P contains macro parameters if any.  Preserve backslash
 
13970
# newline sequences.
 
13971
 
 
13972
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
13973
sed -n '
 
13974
s/.\{148\}/&'"$ac_delim"'/g
 
13975
t rset
 
13976
:rset
 
13977
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
13978
t def
 
13979
d
 
13980
:def
 
13981
s/\\$//
 
13982
t bsnl
 
13983
s/["\\]/\\&/g
 
13984
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
13985
D["\1"]=" \3"/p
 
13986
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
13987
d
 
13988
:bsnl
 
13989
s/["\\]/\\&/g
 
13990
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
13991
D["\1"]=" \3\\\\\\n"\\/p
 
13992
t cont
 
13993
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
13994
t cont
 
13995
d
 
13996
:cont
 
13997
n
 
13998
s/.\{148\}/&'"$ac_delim"'/g
 
13999
t clear
 
14000
:clear
 
14001
s/\\$//
 
14002
t bsnlc
 
14003
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
14004
d
 
14005
:bsnlc
 
14006
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
14007
b cont
 
14008
' <confdefs.h | sed '
 
14009
s/'"$ac_delim"'/"\\\
 
14010
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
14011
 
 
14012
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14013
  for (key in D) D_is_set[key] = 1
 
14014
  FS = ""
 
14015
}
 
14016
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
14017
  line = \$ 0
 
14018
  split(line, arg, " ")
 
14019
  if (arg[1] == "#") {
 
14020
    defundef = arg[2]
 
14021
    mac1 = arg[3]
 
14022
  } else {
 
14023
    defundef = substr(arg[1], 2)
 
14024
    mac1 = arg[2]
 
14025
  }
 
14026
  split(mac1, mac2, "(") #)
 
14027
  macro = mac2[1]
 
14028
  prefix = substr(line, 1, index(line, defundef) - 1)
 
14029
  if (D_is_set[macro]) {
 
14030
    # Preserve the white space surrounding the "#".
 
14031
    print prefix "define", macro P[macro] D[macro]
 
14032
    next
 
14033
  } else {
 
14034
    # Replace #undef with comments.  This is necessary, for example,
 
14035
    # in the case of _POSIX_SOURCE, which is predefined and required
 
14036
    # on some systems where configure will not decide to define it.
 
14037
    if (defundef == "undef") {
 
14038
      print "/*", prefix defundef, macro, "*/"
 
14039
      next
 
14040
    }
 
14041
  }
 
14042
}
 
14043
{ print }
 
14044
_ACAWK
 
14045
_ACEOF
 
14046
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14047
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
14048
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
14049
   { (exit 1); exit 1; }; }
 
14050
fi # test -n "$CONFIG_HEADERS"
 
14051
 
 
14052
 
 
14053
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
14054
shift
 
14055
for ac_tag
13706
14056
do
13707
14057
  case $ac_tag in
13708
14058
  :[FHLC]) ac_mode=$ac_tag; continue;;
13709
14059
  esac
13710
14060
  case $ac_mode$ac_tag in
13711
14061
  :[FHL]*:*);;
13712
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13713
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
14062
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
14063
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13714
14064
   { (exit 1); exit 1; }; };;
13715
14065
  :[FH]-) ac_tag=-:-;;
13716
14066
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13739
14089
           [\\/$]*) false;;
13740
14090
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13741
14091
           esac ||
13742
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13743
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
14092
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
14093
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13744
14094
   { (exit 1); exit 1; }; };;
13745
14095
      esac
13746
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
14096
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
14097
      ac_file_inputs="$ac_file_inputs '$ac_f'"
13747
14098
    done
13748
14099
 
13749
14100
    # Let's still pretend it is `configure' which instantiates (i.e., don't
13750
14101
    # use $as_me), people would be surprised to read:
13751
14102
    #    /* config.h.  Generated by config.status.  */
13752
 
    configure_input="Generated from "`IFS=:
13753
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
14103
    configure_input='Generated from '`
 
14104
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
14105
        `' by configure.'
13754
14106
    if test x"$ac_file" != x-; then
13755
14107
      configure_input="$ac_file.  $configure_input"
13756
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
13757
 
echo "$as_me: creating $ac_file" >&6;}
 
14108
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
14109
$as_echo "$as_me: creating $ac_file" >&6;}
13758
14110
    fi
 
14111
    # Neutralize special characters interpreted by sed in replacement strings.
 
14112
    case $configure_input in #(
 
14113
    *\&* | *\|* | *\\* )
 
14114
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
14115
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
14116
    *) ac_sed_conf_input=$configure_input;;
 
14117
    esac
13759
14118
 
13760
14119
    case $ac_tag in
13761
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
14120
    *:-:* | *:-) cat >"$tmp/stdin" \
 
14121
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14122
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14123
   { (exit 1); exit 1; }; } ;;
13762
14124
    esac
13763
14125
    ;;
13764
14126
  esac
13768
14130
         X"$ac_file" : 'X\(//\)[^/]' \| \
13769
14131
         X"$ac_file" : 'X\(//\)$' \| \
13770
14132
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13771
 
echo X"$ac_file" |
 
14133
$as_echo X"$ac_file" |
13772
14134
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13773
14135
            s//\1/
13774
14136
            q
13794
14156
    as_dirs=
13795
14157
    while :; do
13796
14158
      case $as_dir in #(
13797
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
14159
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13798
14160
      *) as_qdir=$as_dir;;
13799
14161
      esac
13800
14162
      as_dirs="'$as_qdir' $as_dirs"
13803
14165
         X"$as_dir" : 'X\(//\)[^/]' \| \
13804
14166
         X"$as_dir" : 'X\(//\)$' \| \
13805
14167
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13806
 
echo X"$as_dir" |
 
14168
$as_echo X"$as_dir" |
13807
14169
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13808
14170
            s//\1/
13809
14171
            q
13824
14186
      test -d "$as_dir" && break
13825
14187
    done
13826
14188
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13827
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13828
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
14189
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
14190
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13829
14191
   { (exit 1); exit 1; }; }; }
13830
14192
  ac_builddir=.
13831
14193
 
13832
14194
case "$ac_dir" in
13833
14195
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13834
14196
*)
13835
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
14197
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13836
14198
  # A ".." for each directory in $ac_dir_suffix.
13837
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
14199
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13838
14200
  case $ac_top_builddir_sub in
13839
14201
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13840
14202
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13874
14236
  esac
13875
14237
_ACEOF
13876
14238
 
13877
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14239
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13878
14240
# If the template does not know about datarootdir, expand it.
13879
14241
# FIXME: This hack should be removed a few years after 2.60.
13880
14242
ac_datarootdir_hack=; ac_datarootdir_seen=
13881
14243
 
13882
 
case `sed -n '/datarootdir/ {
 
14244
ac_sed_dataroot='
 
14245
/datarootdir/ {
13883
14246
  p
13884
14247
  q
13885
14248
}
13888
14251
/@infodir@/p
13889
14252
/@localedir@/p
13890
14253
/@mandir@/p
13891
 
' $ac_file_inputs` in
 
14254
'
 
14255
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13892
14256
*datarootdir*) ac_datarootdir_seen=yes;;
13893
14257
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13894
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13895
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
14258
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
14259
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13896
14260
_ACEOF
13897
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14261
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13898
14262
  ac_datarootdir_hack='
13899
14263
  s&@datadir@&$datadir&g
13900
14264
  s&@docdir@&$docdir&g
13908
14272
# Neutralize VPATH when `$srcdir' = `.'.
13909
14273
# Shell code in configure.ac might set extrasub.
13910
14274
# FIXME: do we really want to maintain this feature?
13911
 
cat >>$CONFIG_STATUS <<_ACEOF
13912
 
  sed "$ac_vpsub
 
14275
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14276
ac_sed_extra="$ac_vpsub
13913
14277
$extrasub
13914
14278
_ACEOF
13915
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14279
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13916
14280
:t
13917
14281
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13918
 
s&@configure_input@&$configure_input&;t t
 
14282
s|@configure_input@|$ac_sed_conf_input|;t t
13919
14283
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
14284
s&@top_build_prefix@&$ac_top_build_prefix&;t t
13920
14285
s&@srcdir@&$ac_srcdir&;t t
13921
14286
s&@abs_srcdir@&$ac_abs_srcdir&;t t
13922
14287
s&@top_srcdir@&$ac_top_srcdir&;t t
13926
14291
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13927
14292
s&@INSTALL@&$ac_INSTALL&;t t
13928
14293
$ac_datarootdir_hack
13929
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
14294
"
 
14295
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
14296
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14297
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14298
   { (exit 1); exit 1; }; }
13930
14299
 
13931
14300
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13932
14301
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13933
14302
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13934
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14303
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13935
14304
which seems to be undefined.  Please make sure it is defined." >&5
13936
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14305
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13937
14306
which seems to be undefined.  Please make sure it is defined." >&2;}
13938
14307
 
13939
14308
  rm -f "$tmp/stdin"
13940
14309
  case $ac_file in
13941
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
13942
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13943
 
  esac
 
14310
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
14311
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
14312
  esac \
 
14313
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14314
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14315
   { (exit 1); exit 1; }; }
13944
14316
 ;;
13945
14317
  :H)
13946
14318
  #
13947
14319
  # CONFIG_HEADER
13948
14320
  #
13949
 
_ACEOF
13950
 
 
13951
 
# Transform confdefs.h into a sed script `conftest.defines', that
13952
 
# substitutes the proper values into config.h.in to produce config.h.
13953
 
rm -f conftest.defines conftest.tail
13954
 
# First, append a space to every undef/define line, to ease matching.
13955
 
echo 's/$/ /' >conftest.defines
13956
 
# Then, protect against being on the right side of a sed subst, or in
13957
 
# an unquoted here document, in config.status.  If some macros were
13958
 
# called several times there might be several #defines for the same
13959
 
# symbol, which is useless.  But do not sort them, since the last
13960
 
# AC_DEFINE must be honored.
13961
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13962
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13963
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
13964
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
13965
 
# just an empty string.
13966
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
13967
 
ac_dB='\\)[      (].*,\\1define\\2'
13968
 
ac_dC=' '
13969
 
ac_dD=' ,'
13970
 
 
13971
 
uniq confdefs.h |
13972
 
  sed -n '
13973
 
        t rset
13974
 
        :rset
13975
 
        s/^[     ]*#[    ]*define[       ][      ]*//
13976
 
        t ok
13977
 
        d
13978
 
        :ok
13979
 
        s/[\\&,]/\\&/g
13980
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13981
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13982
 
  ' >>conftest.defines
13983
 
 
13984
 
# Remove the space that was appended to ease matching.
13985
 
# Then replace #undef with comments.  This is necessary, for
13986
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
13987
 
# on some systems where configure will not decide to define it.
13988
 
# (The regexp can be short, since the line contains either #define or #undef.)
13989
 
echo 's/ $//
13990
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
13991
 
 
13992
 
# Break up conftest.defines:
13993
 
ac_max_sed_lines=50
13994
 
 
13995
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13996
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13997
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13998
 
# et cetera.
13999
 
ac_in='$ac_file_inputs'
14000
 
ac_out='"$tmp/out1"'
14001
 
ac_nxt='"$tmp/out2"'
14002
 
 
14003
 
while :
14004
 
do
14005
 
  # Write a here document:
14006
 
    cat >>$CONFIG_STATUS <<_ACEOF
14007
 
    # First, check the format of the line:
14008
 
    cat >"\$tmp/defines.sed" <<\\CEOF
14009
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
14010
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
14011
 
b
14012
 
:def
14013
 
_ACEOF
14014
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14015
 
  echo 'CEOF
14016
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14017
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14018
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14019
 
  grep . conftest.tail >/dev/null || break
14020
 
  rm -f conftest.defines
14021
 
  mv conftest.tail conftest.defines
14022
 
done
14023
 
rm -f conftest.defines conftest.tail
14024
 
 
14025
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
14026
 
cat >>$CONFIG_STATUS <<\_ACEOF
14027
14321
  if test x"$ac_file" != x-; then
14028
 
    echo "/* $configure_input  */" >"$tmp/config.h"
14029
 
    cat "$ac_result" >>"$tmp/config.h"
14030
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14031
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14032
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
14322
    {
 
14323
      $as_echo "/* $configure_input  */" \
 
14324
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
14325
    } >"$tmp/config.h" \
 
14326
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14327
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14328
   { (exit 1); exit 1; }; }
 
14329
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
14330
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
14331
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14033
14332
    else
14034
 
      rm -f $ac_file
14035
 
      mv "$tmp/config.h" $ac_file
 
14333
      rm -f "$ac_file"
 
14334
      mv "$tmp/config.h" "$ac_file" \
 
14335
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14336
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14337
   { (exit 1); exit 1; }; }
14036
14338
    fi
14037
14339
  else
14038
 
    echo "/* $configure_input  */"
14039
 
    cat "$ac_result"
 
14340
    $as_echo "/* $configure_input  */" \
 
14341
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
14342
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
14343
$as_echo "$as_me: error: could not create -" >&2;}
 
14344
   { (exit 1); exit 1; }; }
14040
14345
  fi
14041
 
  rm -f "$tmp/out12"
14042
14346
 ;;
14043
14347
 
14044
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14045
 
echo "$as_me: executing $ac_file commands" >&6;}
 
14348
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
14349
$as_echo "$as_me: executing $ac_file commands" >&6;}
14046
14350
 ;;
14047
14351
  esac
14048
14352
 
14069
14373
chmod +x $CONFIG_STATUS
14070
14374
ac_clean_files=$ac_clean_files_save
14071
14375
 
 
14376
test $ac_write_fail = 0 ||
 
14377
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
14378
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
14379
   { (exit 1); exit 1; }; }
 
14380
 
14072
14381
 
14073
14382
# configure is writing to config.log, and then calls config.status.
14074
14383
# config.status does its own redirection, appending to config.log.
14090
14399
  # would make configure fail if this is the last instruction.
14091
14400
  $ac_cs_success || { (exit 1); exit 1; }
14092
14401
fi
14093
 
 
14094
 
 
14095
 
{ echo "$as_me:$LINENO: result: " >&5
14096
 
echo "${ECHO_T}" >&6; }
 
14402
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
14403
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
14404
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
14405
fi
 
14406
 
 
14407
 
 
14408
{ $as_echo "$as_me:$LINENO: result: " >&5
 
14409
$as_echo "" >&6; }
14097
14410
(
14098
14411
 
14099
14412
  ice_stored_prefix="${prefix}"
14113
14426
  prefix="${ice_stored_prefix}"
14114
14427
  exec_prefix="${ice_stored_exec_prefix}"
14115
14428
 
14116
 
  { echo "$as_me:$LINENO: result: Build targets: $ice_value" >&5
14117
 
echo "${ECHO_T}Build targets: $ice_value" >&6; }
 
14429
  { $as_echo "$as_me:$LINENO: result: Build targets: $ice_value" >&5
 
14430
$as_echo "Build targets: $ice_value" >&6; }
14118
14431
)
14119
14432
(
14120
14433
 
14135
14448
  prefix="${ice_stored_prefix}"
14136
14449
  exec_prefix="${ice_stored_exec_prefix}"
14137
14450
 
14138
 
  { echo "$as_me:$LINENO: result: Applications: $ice_value" >&5
14139
 
echo "${ECHO_T}Applications: $ice_value" >&6; }
 
14451
  { $as_echo "$as_me:$LINENO: result: Applications: $ice_value" >&5
 
14452
$as_echo "Applications: $ice_value" >&6; }
14140
14453
)
14141
14454
(
14142
14455
 
14157
14470
  prefix="${ice_stored_prefix}"
14158
14471
  exec_prefix="${ice_stored_exec_prefix}"
14159
14472
 
14160
 
  { echo "$as_me:$LINENO: result: Image library: $ice_value" >&5
14161
 
echo "${ECHO_T}Image library: $ice_value" >&6; }
 
14473
  { $as_echo "$as_me:$LINENO: result: Image library: $ice_value" >&5
 
14474
$as_echo "Image library: $ice_value" >&6; }
14162
14475
)
14163
14476
(
14164
14477
 
14179
14492
  prefix="${ice_stored_prefix}"
14180
14493
  exec_prefix="${ice_stored_exec_prefix}"
14181
14494
 
14182
 
  { echo "$as_me:$LINENO: result: Audio support: $ice_value" >&5
14183
 
echo "${ECHO_T}Audio support: $ice_value" >&6; }
 
14495
  { $as_echo "$as_me:$LINENO: result: Audio support: $ice_value" >&5
 
14496
$as_echo "Audio support: $ice_value" >&6; }
14184
14497
)
14185
14498
(
14186
14499
 
14201
14514
  prefix="${ice_stored_prefix}"
14202
14515
  exec_prefix="${ice_stored_exec_prefix}"
14203
14516
 
14204
 
  { echo "$as_me:$LINENO: result: Features: $ice_value" >&5
14205
 
echo "${ECHO_T}Features: $ice_value" >&6; }
 
14517
  { $as_echo "$as_me:$LINENO: result: Features: $ice_value" >&5
 
14518
$as_echo "Features: $ice_value" >&6; }
14206
14519
)
14207
14520
(
14208
14521
 
14223
14536
  prefix="${ice_stored_prefix}"
14224
14537
  exec_prefix="${ice_stored_exec_prefix}"
14225
14538
 
14226
 
  { echo "$as_me:$LINENO: result: Paths: PREFIX: $ice_value" >&5
14227
 
echo "${ECHO_T}Paths: PREFIX: $ice_value" >&6; }
 
14539
  { $as_echo "$as_me:$LINENO: result: Paths: PREFIX: $ice_value" >&5
 
14540
$as_echo "Paths: PREFIX: $ice_value" >&6; }
14228
14541
)
14229
14542
(
14230
14543
 
14245
14558
  prefix="${ice_stored_prefix}"
14246
14559
  exec_prefix="${ice_stored_exec_prefix}"
14247
14560
 
14248
 
  { echo "$as_me:$LINENO: result:        BINDIR: $ice_value" >&5
14249
 
echo "${ECHO_T}       BINDIR: $ice_value" >&6; }
 
14561
  { $as_echo "$as_me:$LINENO: result:        BINDIR: $ice_value" >&5
 
14562
$as_echo "       BINDIR: $ice_value" >&6; }
14250
14563
)
14251
14564
(
14252
14565
 
14267
14580
  prefix="${ice_stored_prefix}"
14268
14581
  exec_prefix="${ice_stored_exec_prefix}"
14269
14582
 
14270
 
  { echo "$as_me:$LINENO: result:        LOCDIR: $ice_value" >&5
14271
 
echo "${ECHO_T}       LOCDIR: $ice_value" >&6; }
 
14583
  { $as_echo "$as_me:$LINENO: result:        LOCDIR: $ice_value" >&5
 
14584
$as_echo "       LOCDIR: $ice_value" >&6; }
14272
14585
)
14273
14586
(
14274
14587
 
14289
14602
  prefix="${ice_stored_prefix}"
14290
14603
  exec_prefix="${ice_stored_exec_prefix}"
14291
14604
 
14292
 
  { echo "$as_me:$LINENO: result:        LIBDIR: $ice_value" >&5
14293
 
echo "${ECHO_T}       LIBDIR: $ice_value" >&6; }
 
14605
  { $as_echo "$as_me:$LINENO: result:        LIBDIR: $ice_value" >&5
 
14606
$as_echo "       LIBDIR: $ice_value" >&6; }
14294
14607
)
14295
14608
(
14296
14609
 
14311
14624
  prefix="${ice_stored_prefix}"
14312
14625
  exec_prefix="${ice_stored_exec_prefix}"
14313
14626
 
14314
 
  { echo "$as_me:$LINENO: result:        CFGDIR: $ice_value" >&5
14315
 
echo "${ECHO_T}       CFGDIR: $ice_value" >&6; }
 
14627
  { $as_echo "$as_me:$LINENO: result:        CFGDIR: $ice_value" >&5
 
14628
$as_echo "       CFGDIR: $ice_value" >&6; }
14316
14629
)
14317
14630
(
14318
14631
 
14333
14646
  prefix="${ice_stored_prefix}"
14334
14647
  exec_prefix="${ice_stored_exec_prefix}"
14335
14648
 
14336
 
  { echo "$as_me:$LINENO: result:        KDEDIR: $ice_value" >&5
14337
 
echo "${ECHO_T}       KDEDIR: $ice_value" >&6; }
 
14649
  { $as_echo "$as_me:$LINENO: result:        KDEDIR: $ice_value" >&5
 
14650
$as_echo "       KDEDIR: $ice_value" >&6; }
14338
14651
)
14339
14652
(
14340
14653
 
14355
14668
  prefix="${ice_stored_prefix}"
14356
14669
  exec_prefix="${ice_stored_exec_prefix}"
14357
14670
 
14358
 
  { echo "$as_me:$LINENO: result:        DOCDIR: $ice_value" >&5
14359
 
echo "${ECHO_T}       DOCDIR: $ice_value" >&6; }
 
14671
  { $as_echo "$as_me:$LINENO: result:        DOCDIR: $ice_value" >&5
 
14672
$as_echo "       DOCDIR: $ice_value" >&6; }
14360
14673
)
14361
14674
(
14362
14675
 
14377
14690
  prefix="${ice_stored_prefix}"
14378
14691
  exec_prefix="${ice_stored_exec_prefix}"
14379
14692
 
14380
 
  { echo "$as_me:$LINENO: result:        MANDIR: $ice_value" >&5
14381
 
echo "${ECHO_T}       MANDIR: $ice_value" >&6; }
 
14693
  { $as_echo "$as_me:$LINENO: result:        MANDIR: $ice_value" >&5
 
14694
$as_echo "       MANDIR: $ice_value" >&6; }
14382
14695
)