~ubuntu-branches/ubuntu/wily/gpm/wily

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Peter Eisentraut
  • Date: 2009-04-24 18:41:08 UTC
  • mfrom: (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090424184108-5asldbyqe6g6gorq
Tags: 1.20.4-3.2
* Non-maintainer upload.
* debian/patches/070_struct_ucred: fix FTBFS. Closes: #520853

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# From configure.in configure.in.
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.61.
 
4
# Generated by GNU Autoconf 2.63.
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8
8
# This configure script is free software; the Free Software Foundation
9
9
# gives unlimited permission to copy, distribute and modify it.
10
10
## --------------------- ##
16
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
17
  emulate sh
18
18
  NULLCMD=:
19
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
20
  # is contrary to our usage.  Disable this feature.
21
21
  alias -g '${1+"$@"}'='"$@"'
22
22
  setopt NO_GLOB_SUBST
38
38
as_cr_digits='0123456789'
39
39
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
40
 
 
41
as_nl='
 
42
'
 
43
export as_nl
 
44
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
45
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='printf %s\n'
 
50
  as_echo_n='printf %s'
 
51
else
 
52
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
53
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
54
    as_echo_n='/usr/ucb/echo -n'
 
55
  else
 
56
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
57
    as_echo_n_body='eval
 
58
      arg=$1;
 
59
      case $arg in
 
60
      *"$as_nl"*)
 
61
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
62
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
63
      esac;
 
64
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
65
    '
 
66
    export as_echo_n_body
 
67
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
68
  fi
 
69
  export as_echo_body
 
70
  as_echo='sh -c $as_echo_body as_echo'
 
71
fi
 
72
 
41
73
# The user is always right.
42
74
if test "${PATH_SEPARATOR+set}" != set; then
43
 
  echo "#! /bin/sh" >conf$$.sh
44
 
  echo  "exit 0"   >>conf$$.sh
45
 
  chmod +x conf$$.sh
46
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
47
 
    PATH_SEPARATOR=';'
48
 
  else
49
 
    PATH_SEPARATOR=:
50
 
  fi
51
 
  rm -f conf$$.sh
 
75
  PATH_SEPARATOR=:
 
76
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
77
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
78
      PATH_SEPARATOR=';'
 
79
  }
52
80
fi
53
81
 
54
82
# Support unset when possible.
64
92
# there to prevent editors from complaining about space-tab.
65
93
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
66
94
# splitting by setting IFS to empty value.)
67
 
as_nl='
68
 
'
69
95
IFS=" ""        $as_nl"
70
96
 
71
97
# Find who we are.  Look in the path if we contain no directory separator.
88
114
  as_myself=$0
89
115
fi
90
116
if test ! -f "$as_myself"; then
91
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
117
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92
118
  { (exit 1); exit 1; }
93
119
fi
94
120
 
101
127
PS4='+ '
102
128
 
103
129
# NLS nuisances.
104
 
for as_var in \
105
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
106
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107
 
  LC_TELEPHONE LC_TIME
108
 
do
109
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110
 
    eval $as_var=C; export $as_var
111
 
  else
112
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113
 
  fi
114
 
done
 
130
LC_ALL=C
 
131
export LC_ALL
 
132
LANGUAGE=C
 
133
export LANGUAGE
115
134
 
116
135
# Required to use basename.
117
136
if expr a : '\(a\)' >/dev/null 2>&1 &&
133
152
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
134
153
         X"$0" : 'X\(//\)$' \| \
135
154
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136
 
echo X/"$0" |
 
155
$as_echo X/"$0" |
137
156
    sed '/^.*\/\([^/][^/]*\)\/*$/{
138
157
            s//\1/
139
158
            q
159
178
  as_have_required=no
160
179
fi
161
180
 
162
 
  if test $as_have_required = yes &&     (eval ":
 
181
  if test $as_have_required = yes &&     (eval ":
163
182
(as_func_return () {
164
183
  (exit \$1)
165
184
}
241
260
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242
261
  emulate sh
243
262
  NULLCMD=:
244
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
263
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
245
264
  # is contrary to our usage.  Disable this feature.
246
265
  alias -g '${1+"$@"}'='"$@"'
247
266
  setopt NO_GLOB_SUBST
262
281
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
263
282
  emulate sh
264
283
  NULLCMD=:
265
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
284
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266
285
  # is contrary to our usage.  Disable this feature.
267
286
  alias -g '${1+"$@"}'='"$@"'
268
287
  setopt NO_GLOB_SUBST
342
361
 
343
362
      if test "x$CONFIG_SHELL" != x; then
344
363
  for as_var in BASH_ENV ENV
345
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
346
 
        done
347
 
        export CONFIG_SHELL
348
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
364
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
365
        done
 
366
        export CONFIG_SHELL
 
367
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
349
368
fi
350
369
 
351
370
 
414
433
 
415
434
test \$exitcode = 0") || {
416
435
  echo No shell found that supports shell functions.
417
 
  echo Please tell autoconf@gnu.org about your system,
418
 
  echo including any error possibly output before this
419
 
  echo message
 
436
  echo Please tell bug-autoconf@gnu.org about your system,
 
437
  echo including any error possibly output before this message.
 
438
  echo This can help us improve future autoconf versions.
 
439
  echo Configuration will now proceed without shell functions.
420
440
}
421
441
 
422
442
 
452
472
      s/-\n.*//
453
473
    ' >$as_me.lineno &&
454
474
  chmod +x "$as_me.lineno" ||
455
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
475
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
456
476
   { (exit 1); exit 1; }; }
457
477
 
458
478
  # Don't try to exec as it changes $[0], causing all sort of problems
480
500
*)
481
501
  ECHO_N='-n';;
482
502
esac
483
 
 
484
503
if expr a : '\(a\)' >/dev/null 2>&1 &&
485
504
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
486
505
  as_expr=expr
493
512
  rm -f conf$$.dir/conf$$.file
494
513
else
495
514
  rm -f conf$$.dir
496
 
  mkdir conf$$.dir
 
515
  mkdir conf$$.dir 2>/dev/null
497
516
fi
498
 
echo >conf$$.file
499
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
500
 
  as_ln_s='ln -s'
501
 
  # ... but there are two gotchas:
502
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504
 
  # In both cases, we have to default to `cp -p'.
505
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
517
if (echo >conf$$.file) 2>/dev/null; then
 
518
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
519
    as_ln_s='ln -s'
 
520
    # ... but there are two gotchas:
 
521
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
522
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
523
    # In both cases, we have to default to `cp -p'.
 
524
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
525
      as_ln_s='cp -p'
 
526
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
527
    as_ln_s=ln
 
528
  else
506
529
    as_ln_s='cp -p'
507
 
elif ln conf$$.file conf$$ 2>/dev/null; then
508
 
  as_ln_s=ln
 
530
  fi
509
531
else
510
532
  as_ln_s='cp -p'
511
533
fi
530
552
  as_test_x='
531
553
    eval sh -c '\''
532
554
      if test -d "$1"; then
533
 
        test -d "$1/.";
 
555
        test -d "$1/.";
534
556
      else
535
557
        case $1 in
536
 
        -*)set "./$1";;
 
558
        -*)set "./$1";;
537
559
        esac;
538
560
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
539
561
        ???[sx]*):;;*)false;;esac;fi
614
636
# include <unistd.h>
615
637
#endif"
616
638
 
617
 
ac_subst_vars='SHELL
 
639
ac_subst_vars='LTLIBOBJS
 
640
LIBOBJS
 
641
lispdir
 
642
SHARED_LIBS
 
643
CURSES_OBJS
 
644
SOLDFLAGS
 
645
PICFLAGS
 
646
SHLIB
 
647
ELISP
 
648
EMACS
 
649
abi_full
 
650
abi_lev
 
651
release_date
 
652
release
 
653
GPMXTERM
 
654
ALLOCA
 
655
EGREP
 
656
GREP
 
657
CPP
 
658
emacs
 
659
SED
 
660
DIFF
 
661
MAKEINFO
 
662
TEXINDEX
 
663
TEX
 
664
TEXI2HTML
 
665
DVIPS
 
666
LN_S
 
667
YFLAGS
 
668
YACC
 
669
INSTALL_DATA
 
670
INSTALL_SCRIPT
 
671
INSTALL_PROGRAM
 
672
RANLIB
 
673
OBJEXT
 
674
EXEEXT
 
675
ac_ct_CC
 
676
CPPFLAGS
 
677
LDFLAGS
 
678
CFLAGS
 
679
CC
 
680
target_alias
 
681
host_alias
 
682
build_alias
 
683
LIBS
 
684
ECHO_T
 
685
ECHO_N
 
686
ECHO_C
 
687
DEFS
 
688
mandir
 
689
localedir
 
690
libdir
 
691
psdir
 
692
pdfdir
 
693
dvidir
 
694
htmldir
 
695
infodir
 
696
docdir
 
697
oldincludedir
 
698
includedir
 
699
localstatedir
 
700
sharedstatedir
 
701
sysconfdir
 
702
datadir
 
703
datarootdir
 
704
libexecdir
 
705
sbindir
 
706
bindir
 
707
program_transform_name
 
708
prefix
 
709
exec_prefix
 
710
PACKAGE_BUGREPORT
 
711
PACKAGE_STRING
 
712
PACKAGE_VERSION
 
713
PACKAGE_TARNAME
 
714
PACKAGE_NAME
618
715
PATH_SEPARATOR
619
 
PACKAGE_NAME
620
 
PACKAGE_TARNAME
621
 
PACKAGE_VERSION
622
 
PACKAGE_STRING
623
 
PACKAGE_BUGREPORT
624
 
exec_prefix
625
 
prefix
626
 
program_transform_name
627
 
bindir
628
 
sbindir
629
 
libexecdir
630
 
datarootdir
631
 
datadir
632
 
sysconfdir
633
 
sharedstatedir
634
 
localstatedir
635
 
includedir
636
 
oldincludedir
637
 
docdir
638
 
infodir
639
 
htmldir
640
 
dvidir
641
 
pdfdir
642
 
psdir
643
 
libdir
644
 
localedir
645
 
mandir
646
 
DEFS
647
 
ECHO_C
648
 
ECHO_N
649
 
ECHO_T
650
 
LIBS
651
 
build_alias
652
 
host_alias
653
 
target_alias
654
 
CC
655
 
CFLAGS
656
 
LDFLAGS
657
 
CPPFLAGS
658
 
ac_ct_CC
659
 
EXEEXT
660
 
OBJEXT
661
 
RANLIB
662
 
INSTALL_PROGRAM
663
 
INSTALL_SCRIPT
664
 
INSTALL_DATA
665
 
YACC
666
 
YFLAGS
667
 
LN_S
668
 
DVIPS
669
 
TEXI2HTML
670
 
TEX
671
 
TEXINDEX
672
 
MAKEINFO
673
 
DIFF
674
 
SED
675
 
emacs
676
 
CPP
677
 
GREP
678
 
EGREP
679
 
ALLOCA
680
 
GPMXTERM
681
 
release
682
 
release_date
683
 
abi_lev
684
 
abi_full
685
 
EMACS
686
 
ELISP
687
 
SHLIB
688
 
PICFLAGS
689
 
SOLDFLAGS
690
 
CURSES_OBJS
691
 
SHARED_LIBS
692
 
lispdir
693
 
LIBOBJS
694
 
LTLIBOBJS'
 
716
SHELL'
695
717
ac_subst_files=''
 
718
ac_user_opts='
 
719
enable_option_checking
 
720
with_curses
 
721
'
696
722
      ac_precious_vars='build_alias
697
723
host_alias
698
724
target_alias
709
735
# Initialize some variables set by options.
710
736
ac_init_help=
711
737
ac_init_version=false
 
738
ac_unrecognized_opts=
 
739
ac_unrecognized_sep=
712
740
# The variables have the same names as the options, with
713
741
# dashes changed to underlines.
714
742
cache_file=/dev/null
807
835
    datarootdir=$ac_optarg ;;
808
836
 
809
837
  -disable-* | --disable-*)
810
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
838
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811
839
    # Reject names that are not valid shell variable names.
812
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
813
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
840
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
841
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
814
842
   { (exit 1); exit 1; }; }
815
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
816
 
    eval enable_$ac_feature=no ;;
 
843
    ac_useropt_orig=$ac_useropt
 
844
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
845
    case $ac_user_opts in
 
846
      *"
 
847
"enable_$ac_useropt"
 
848
"*) ;;
 
849
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
850
         ac_unrecognized_sep=', ';;
 
851
    esac
 
852
    eval enable_$ac_useropt=no ;;
817
853
 
818
854
  -docdir | --docdir | --docdi | --doc | --do)
819
855
    ac_prev=docdir ;;
826
862
    dvidir=$ac_optarg ;;
827
863
 
828
864
  -enable-* | --enable-*)
829
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
865
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
830
866
    # Reject names that are not valid shell variable names.
831
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
832
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
867
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
868
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
833
869
   { (exit 1); exit 1; }; }
834
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
835
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
870
    ac_useropt_orig=$ac_useropt
 
871
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
872
    case $ac_user_opts in
 
873
      *"
 
874
"enable_$ac_useropt"
 
875
"*) ;;
 
876
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
877
         ac_unrecognized_sep=', ';;
 
878
    esac
 
879
    eval enable_$ac_useropt=\$ac_optarg ;;
836
880
 
837
881
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
838
882
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1023
1067
    ac_init_version=: ;;
1024
1068
 
1025
1069
  -with-* | --with-*)
1026
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1070
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1027
1071
    # Reject names that are not valid shell variable names.
1028
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1029
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1072
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1073
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1030
1074
   { (exit 1); exit 1; }; }
1031
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1032
 
    eval with_$ac_package=\$ac_optarg ;;
 
1075
    ac_useropt_orig=$ac_useropt
 
1076
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1077
    case $ac_user_opts in
 
1078
      *"
 
1079
"with_$ac_useropt"
 
1080
"*) ;;
 
1081
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1082
         ac_unrecognized_sep=', ';;
 
1083
    esac
 
1084
    eval with_$ac_useropt=\$ac_optarg ;;
1033
1085
 
1034
1086
  -without-* | --without-*)
1035
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1087
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1036
1088
    # Reject names that are not valid shell variable names.
1037
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1038
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1089
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1090
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1039
1091
   { (exit 1); exit 1; }; }
1040
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1041
 
    eval with_$ac_package=no ;;
 
1092
    ac_useropt_orig=$ac_useropt
 
1093
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1094
    case $ac_user_opts in
 
1095
      *"
 
1096
"with_$ac_useropt"
 
1097
"*) ;;
 
1098
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1099
         ac_unrecognized_sep=', ';;
 
1100
    esac
 
1101
    eval with_$ac_useropt=no ;;
1042
1102
 
1043
1103
  --x)
1044
1104
    # Obsolete; use --with-x.
1058
1118
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1059
1119
    x_libraries=$ac_optarg ;;
1060
1120
 
1061
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1121
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1062
1122
Try \`$0 --help' for more information." >&2
1063
1123
   { (exit 1); exit 1; }; }
1064
1124
    ;;
1067
1127
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1068
1128
    # Reject names that are not valid shell variable names.
1069
1129
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1070
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1130
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1071
1131
   { (exit 1); exit 1; }; }
1072
1132
    eval $ac_envvar=\$ac_optarg
1073
1133
    export $ac_envvar ;;
1074
1134
 
1075
1135
  *)
1076
1136
    # FIXME: should be removed in autoconf 3.0.
1077
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1137
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1078
1138
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1079
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1139
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1080
1140
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1081
1141
    ;;
1082
1142
 
1085
1145
 
1086
1146
if test -n "$ac_prev"; then
1087
1147
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1088
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1148
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1089
1149
   { (exit 1); exit 1; }; }
1090
1150
fi
1091
1151
 
1092
 
# Be sure to have absolute directory names.
 
1152
if test -n "$ac_unrecognized_opts"; then
 
1153
  case $enable_option_checking in
 
1154
    no) ;;
 
1155
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1156
   { (exit 1); exit 1; }; } ;;
 
1157
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1158
  esac
 
1159
fi
 
1160
 
 
1161
# Check all directory arguments for consistency.
1093
1162
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1094
1163
                datadir sysconfdir sharedstatedir localstatedir includedir \
1095
1164
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1096
1165
                libdir localedir mandir
1097
1166
do
1098
1167
  eval ac_val=\$$ac_var
 
1168
  # Remove trailing slashes.
 
1169
  case $ac_val in
 
1170
    */ )
 
1171
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1172
      eval $ac_var=\$ac_val;;
 
1173
  esac
 
1174
  # Be sure to have absolute directory names.
1099
1175
  case $ac_val in
1100
1176
    [\\/$]* | ?:[\\/]* )  continue;;
1101
1177
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1102
1178
  esac
1103
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1179
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1104
1180
   { (exit 1); exit 1; }; }
1105
1181
done
1106
1182
 
1115
1191
if test "x$host_alias" != x; then
1116
1192
  if test "x$build_alias" = x; then
1117
1193
    cross_compiling=maybe
1118
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1194
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1119
1195
    If a cross compiler is detected then cross compile mode will be used." >&2
1120
1196
  elif test "x$build_alias" != "x$host_alias"; then
1121
1197
    cross_compiling=yes
1131
1207
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1132
1208
ac_ls_di=`ls -di .` &&
1133
1209
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1134
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1210
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1135
1211
   { (exit 1); exit 1; }; }
1136
1212
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1137
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1213
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1138
1214
   { (exit 1); exit 1; }; }
1139
1215
 
1140
1216
 
1142
1218
if test -z "$srcdir"; then
1143
1219
  ac_srcdir_defaulted=yes
1144
1220
  # Try the directory containing this script, then the parent directory.
1145
 
  ac_confdir=`$as_dirname -- "$0" ||
1146
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1147
 
         X"$0" : 'X\(//\)[^/]' \| \
1148
 
         X"$0" : 'X\(//\)$' \| \
1149
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1150
 
echo X"$0" |
 
1221
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1222
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1223
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1224
         X"$as_myself" : 'X\(//\)$' \| \
 
1225
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1226
$as_echo X"$as_myself" |
1151
1227
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1152
1228
            s//\1/
1153
1229
            q
1174
1250
fi
1175
1251
if test ! -r "$srcdir/$ac_unique_file"; then
1176
1252
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1177
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1253
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1178
1254
   { (exit 1); exit 1; }; }
1179
1255
fi
1180
1256
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1181
1257
ac_abs_confdir=`(
1182
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1258
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1183
1259
   { (exit 1); exit 1; }; }
1184
1260
        pwd)`
1185
1261
# When building in place, set srcdir=.
1228
1304
 
1229
1305
Installation directories:
1230
1306
  --prefix=PREFIX         install architecture-independent files in PREFIX
1231
 
                          [$ac_default_prefix]
 
1307
                          [$ac_default_prefix]
1232
1308
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1233
 
                          [PREFIX]
 
1309
                          [PREFIX]
1234
1310
 
1235
1311
By default, \`make install' will install all the files in
1236
1312
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1240
1316
For better control, use the options below.
1241
1317
 
1242
1318
Fine tuning of the installation directories:
1243
 
  --bindir=DIR           user executables [EPREFIX/bin]
1244
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1245
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1246
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1247
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1248
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1249
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1250
 
  --includedir=DIR       C header files [PREFIX/include]
1251
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1252
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1253
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1254
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1255
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1256
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1257
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1258
 
  --htmldir=DIR          html documentation [DOCDIR]
1259
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1260
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1261
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1319
  --bindir=DIR            user executables [EPREFIX/bin]
 
1320
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1321
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1322
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1323
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1324
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1325
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1326
  --includedir=DIR        C header files [PREFIX/include]
 
1327
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1328
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1329
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1330
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1331
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1332
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1333
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1334
  --htmldir=DIR           html documentation [DOCDIR]
 
1335
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1336
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1337
  --psdir=DIR             ps documentation [DOCDIR]
1262
1338
_ACEOF
1263
1339
 
1264
1340
  cat <<\_ACEOF
1299
1375
if test "$ac_init_help" = "recursive"; then
1300
1376
  # If there are subdirs, report their specific --help.
1301
1377
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1302
 
    test -d "$ac_dir" || continue
 
1378
    test -d "$ac_dir" ||
 
1379
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1380
      continue
1303
1381
    ac_builddir=.
1304
1382
 
1305
1383
case "$ac_dir" in
1306
1384
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1307
1385
*)
1308
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1386
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1309
1387
  # A ".." for each directory in $ac_dir_suffix.
1310
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1388
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1311
1389
  case $ac_top_builddir_sub in
1312
1390
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1313
1391
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1343
1421
      echo &&
1344
1422
      $SHELL "$ac_srcdir/configure" --help=recursive
1345
1423
    else
1346
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1424
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1347
1425
    fi || ac_status=$?
1348
1426
    cd "$ac_pwd" || { ac_status=$?; break; }
1349
1427
  done
1353
1431
if $ac_init_version; then
1354
1432
  cat <<\_ACEOF
1355
1433
configure
1356
 
generated by GNU Autoconf 2.61
 
1434
generated by GNU Autoconf 2.63
1357
1435
 
1358
1436
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1359
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1437
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1360
1438
This configure script is free software; the Free Software Foundation
1361
1439
gives unlimited permission to copy, distribute and modify it.
1362
1440
_ACEOF
1367
1445
running configure, to aid debugging if configure makes a mistake.
1368
1446
 
1369
1447
It was created by $as_me, which was
1370
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1448
generated by GNU Autoconf 2.63.  Invocation command line was
1371
1449
 
1372
1450
  $ $0 $@
1373
1451
 
1403
1481
do
1404
1482
  IFS=$as_save_IFS
1405
1483
  test -z "$as_dir" && as_dir=.
1406
 
  echo "PATH: $as_dir"
 
1484
  $as_echo "PATH: $as_dir"
1407
1485
done
1408
1486
IFS=$as_save_IFS
1409
1487
 
1438
1516
    | -silent | --silent | --silen | --sile | --sil)
1439
1517
      continue ;;
1440
1518
    *\'*)
1441
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1519
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1442
1520
    esac
1443
1521
    case $ac_pass in
1444
1522
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1490
1568
    case $ac_val in #(
1491
1569
    *${as_nl}*)
1492
1570
      case $ac_var in #(
1493
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1494
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1571
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1572
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1495
1573
      esac
1496
1574
      case $ac_var in #(
1497
1575
      _ | IFS | as_nl) ;; #(
 
1576
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1498
1577
      *) $as_unset $ac_var ;;
1499
1578
      esac ;;
1500
1579
    esac
1524
1603
    do
1525
1604
      eval ac_val=\$$ac_var
1526
1605
      case $ac_val in
1527
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1606
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1528
1607
      esac
1529
 
      echo "$ac_var='\''$ac_val'\''"
 
1608
      $as_echo "$ac_var='\''$ac_val'\''"
1530
1609
    done | sort
1531
1610
    echo
1532
1611
 
1541
1620
      do
1542
1621
        eval ac_val=\$$ac_var
1543
1622
        case $ac_val in
1544
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1623
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545
1624
        esac
1546
 
        echo "$ac_var='\''$ac_val'\''"
 
1625
        $as_echo "$ac_var='\''$ac_val'\''"
1547
1626
      done | sort
1548
1627
      echo
1549
1628
    fi
1559
1638
      echo
1560
1639
    fi
1561
1640
    test "$ac_signal" != 0 &&
1562
 
      echo "$as_me: caught signal $ac_signal"
1563
 
    echo "$as_me: exit $exit_status"
 
1641
      $as_echo "$as_me: caught signal $ac_signal"
 
1642
    $as_echo "$as_me: exit $exit_status"
1564
1643
  } >&5
1565
1644
  rm -f core *.core core.conftest.* &&
1566
1645
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1602
1681
 
1603
1682
 
1604
1683
# Let the site file select an alternate cache file if it wants to.
1605
 
# Prefer explicitly selected file to automatically selected ones.
 
1684
# Prefer an explicitly selected file to automatically selected ones.
 
1685
ac_site_file1=NONE
 
1686
ac_site_file2=NONE
1606
1687
if test -n "$CONFIG_SITE"; then
1607
 
  set x "$CONFIG_SITE"
 
1688
  ac_site_file1=$CONFIG_SITE
1608
1689
elif test "x$prefix" != xNONE; then
1609
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1690
  ac_site_file1=$prefix/share/config.site
 
1691
  ac_site_file2=$prefix/etc/config.site
1610
1692
else
1611
 
  set x "$ac_default_prefix/share/config.site" \
1612
 
        "$ac_default_prefix/etc/config.site"
 
1693
  ac_site_file1=$ac_default_prefix/share/config.site
 
1694
  ac_site_file2=$ac_default_prefix/etc/config.site
1613
1695
fi
1614
 
shift
1615
 
for ac_site_file
 
1696
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1616
1697
do
 
1698
  test "x$ac_site_file" = xNONE && continue
1617
1699
  if test -r "$ac_site_file"; then
1618
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1619
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1700
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1701
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1620
1702
    sed 's/^/| /' "$ac_site_file" >&5
1621
1703
    . "$ac_site_file"
1622
1704
  fi
1626
1708
  # Some versions of bash will fail to source /dev/null (special
1627
1709
  # files actually), so we avoid doing that.
1628
1710
  if test -f "$cache_file"; then
1629
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1630
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1711
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1712
$as_echo "$as_me: loading cache $cache_file" >&6;}
1631
1713
    case $cache_file in
1632
1714
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1633
1715
      *)                      . "./$cache_file";;
1634
1716
    esac
1635
1717
  fi
1636
1718
else
1637
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1638
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1719
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1720
$as_echo "$as_me: creating cache $cache_file" >&6;}
1639
1721
  >$cache_file
1640
1722
fi
1641
1723
 
1649
1731
  eval ac_new_val=\$ac_env_${ac_var}_value
1650
1732
  case $ac_old_set,$ac_new_set in
1651
1733
    set,)
1652
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1653
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1734
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1735
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1654
1736
      ac_cache_corrupted=: ;;
1655
1737
    ,set)
1656
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1657
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1738
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1739
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1658
1740
      ac_cache_corrupted=: ;;
1659
1741
    ,);;
1660
1742
    *)
1661
1743
      if test "x$ac_old_val" != "x$ac_new_val"; then
1662
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1663
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1664
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1665
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1666
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1667
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1668
 
        ac_cache_corrupted=:
 
1744
        # differences in whitespace do not lead to failure.
 
1745
        ac_old_val_w=`echo x $ac_old_val`
 
1746
        ac_new_val_w=`echo x $ac_new_val`
 
1747
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1748
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1749
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1750
          ac_cache_corrupted=:
 
1751
        else
 
1752
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1753
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1754
          eval $ac_var=\$ac_old_val
 
1755
        fi
 
1756
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1757
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1758
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1759
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1669
1760
      fi;;
1670
1761
  esac
1671
1762
  # Pass precious variables to config.status.
1672
1763
  if test "$ac_new_set" = set; then
1673
1764
    case $ac_new_val in
1674
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1765
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1675
1766
    *) ac_arg=$ac_var=$ac_new_val ;;
1676
1767
    esac
1677
1768
    case " $ac_configure_args " in
1681
1772
  fi
1682
1773
done
1683
1774
if $ac_cache_corrupted; then
1684
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1685
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1686
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1687
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1775
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1776
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1777
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1778
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1779
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1780
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1688
1781
   { (exit 1); exit 1; }; }
1689
1782
fi
1690
1783
 
1752
1845
if test -n "$ac_tool_prefix"; then
1753
1846
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1754
1847
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1755
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1756
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1848
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1849
$as_echo_n "checking for $ac_word... " >&6; }
1757
1850
if test "${ac_cv_prog_CC+set}" = set; then
1758
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1851
  $as_echo_n "(cached) " >&6
1759
1852
else
1760
1853
  if test -n "$CC"; then
1761
1854
  ac_cv_prog_CC="$CC" # Let the user override the test.
1768
1861
  for ac_exec_ext in '' $ac_executable_extensions; do
1769
1862
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1770
1863
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1771
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1864
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772
1865
    break 2
1773
1866
  fi
1774
1867
done
1779
1872
fi
1780
1873
CC=$ac_cv_prog_CC
1781
1874
if test -n "$CC"; then
1782
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1783
 
echo "${ECHO_T}$CC" >&6; }
 
1875
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
1876
$as_echo "$CC" >&6; }
1784
1877
else
1785
 
  { echo "$as_me:$LINENO: result: no" >&5
1786
 
echo "${ECHO_T}no" >&6; }
 
1878
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
1879
$as_echo "no" >&6; }
1787
1880
fi
1788
1881
 
1789
1882
 
1792
1885
  ac_ct_CC=$CC
1793
1886
  # Extract the first word of "gcc", so it can be a program name with args.
1794
1887
set dummy gcc; ac_word=$2
1795
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1796
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1888
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1889
$as_echo_n "checking for $ac_word... " >&6; }
1797
1890
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1891
  $as_echo_n "(cached) " >&6
1799
1892
else
1800
1893
  if test -n "$ac_ct_CC"; then
1801
1894
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1808
1901
  for ac_exec_ext in '' $ac_executable_extensions; do
1809
1902
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1810
1903
    ac_cv_prog_ac_ct_CC="gcc"
1811
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1904
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1812
1905
    break 2
1813
1906
  fi
1814
1907
done
1819
1912
fi
1820
1913
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1821
1914
if test -n "$ac_ct_CC"; then
1822
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1823
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
1915
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1916
$as_echo "$ac_ct_CC" >&6; }
1824
1917
else
1825
 
  { echo "$as_me:$LINENO: result: no" >&5
1826
 
echo "${ECHO_T}no" >&6; }
 
1918
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
1919
$as_echo "no" >&6; }
1827
1920
fi
1828
1921
 
1829
1922
  if test "x$ac_ct_CC" = x; then
1831
1924
  else
1832
1925
    case $cross_compiling:$ac_tool_warned in
1833
1926
yes:)
1834
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1835
 
whose name does not start with the host triplet.  If you think this
1836
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
1837
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1838
 
whose name does not start with the host triplet.  If you think this
1839
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
1927
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
1928
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1840
1929
ac_tool_warned=yes ;;
1841
1930
esac
1842
1931
    CC=$ac_ct_CC
1849
1938
          if test -n "$ac_tool_prefix"; then
1850
1939
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1851
1940
set dummy ${ac_tool_prefix}cc; ac_word=$2
1852
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1853
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1941
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1942
$as_echo_n "checking for $ac_word... " >&6; }
1854
1943
if test "${ac_cv_prog_CC+set}" = set; then
1855
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1944
  $as_echo_n "(cached) " >&6
1856
1945
else
1857
1946
  if test -n "$CC"; then
1858
1947
  ac_cv_prog_CC="$CC" # Let the user override the test.
1865
1954
  for ac_exec_ext in '' $ac_executable_extensions; do
1866
1955
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1867
1956
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1868
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1957
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869
1958
    break 2
1870
1959
  fi
1871
1960
done
1876
1965
fi
1877
1966
CC=$ac_cv_prog_CC
1878
1967
if test -n "$CC"; then
1879
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1880
 
echo "${ECHO_T}$CC" >&6; }
 
1968
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
1969
$as_echo "$CC" >&6; }
1881
1970
else
1882
 
  { echo "$as_me:$LINENO: result: no" >&5
1883
 
echo "${ECHO_T}no" >&6; }
 
1971
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
1972
$as_echo "no" >&6; }
1884
1973
fi
1885
1974
 
1886
1975
 
1889
1978
if test -z "$CC"; then
1890
1979
  # Extract the first word of "cc", so it can be a program name with args.
1891
1980
set dummy cc; ac_word=$2
1892
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1893
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1981
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1982
$as_echo_n "checking for $ac_word... " >&6; }
1894
1983
if test "${ac_cv_prog_CC+set}" = set; then
1895
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1984
  $as_echo_n "(cached) " >&6
1896
1985
else
1897
1986
  if test -n "$CC"; then
1898
1987
  ac_cv_prog_CC="$CC" # Let the user override the test.
1910
1999
       continue
1911
2000
     fi
1912
2001
    ac_cv_prog_CC="cc"
1913
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2002
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914
2003
    break 2
1915
2004
  fi
1916
2005
done
1933
2022
fi
1934
2023
CC=$ac_cv_prog_CC
1935
2024
if test -n "$CC"; then
1936
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1937
 
echo "${ECHO_T}$CC" >&6; }
 
2025
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2026
$as_echo "$CC" >&6; }
1938
2027
else
1939
 
  { echo "$as_me:$LINENO: result: no" >&5
1940
 
echo "${ECHO_T}no" >&6; }
 
2028
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2029
$as_echo "no" >&6; }
1941
2030
fi
1942
2031
 
1943
2032
 
1948
2037
  do
1949
2038
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1950
2039
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1951
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1952
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2040
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2041
$as_echo_n "checking for $ac_word... " >&6; }
1953
2042
if test "${ac_cv_prog_CC+set}" = set; then
1954
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2043
  $as_echo_n "(cached) " >&6
1955
2044
else
1956
2045
  if test -n "$CC"; then
1957
2046
  ac_cv_prog_CC="$CC" # Let the user override the test.
1964
2053
  for ac_exec_ext in '' $ac_executable_extensions; do
1965
2054
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1966
2055
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1967
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2056
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1968
2057
    break 2
1969
2058
  fi
1970
2059
done
1975
2064
fi
1976
2065
CC=$ac_cv_prog_CC
1977
2066
if test -n "$CC"; then
1978
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1979
 
echo "${ECHO_T}$CC" >&6; }
 
2067
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2068
$as_echo "$CC" >&6; }
1980
2069
else
1981
 
  { echo "$as_me:$LINENO: result: no" >&5
1982
 
echo "${ECHO_T}no" >&6; }
 
2070
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2071
$as_echo "no" >&6; }
1983
2072
fi
1984
2073
 
1985
2074
 
1992
2081
do
1993
2082
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1994
2083
set dummy $ac_prog; ac_word=$2
1995
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1996
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2084
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2085
$as_echo_n "checking for $ac_word... " >&6; }
1997
2086
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1998
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2087
  $as_echo_n "(cached) " >&6
1999
2088
else
2000
2089
  if test -n "$ac_ct_CC"; then
2001
2090
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2008
2097
  for ac_exec_ext in '' $ac_executable_extensions; do
2009
2098
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2010
2099
    ac_cv_prog_ac_ct_CC="$ac_prog"
2011
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2100
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012
2101
    break 2
2013
2102
  fi
2014
2103
done
2019
2108
fi
2020
2109
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2021
2110
if test -n "$ac_ct_CC"; then
2022
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2023
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2111
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2112
$as_echo "$ac_ct_CC" >&6; }
2024
2113
else
2025
 
  { echo "$as_me:$LINENO: result: no" >&5
2026
 
echo "${ECHO_T}no" >&6; }
 
2114
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2115
$as_echo "no" >&6; }
2027
2116
fi
2028
2117
 
2029
2118
 
2035
2124
  else
2036
2125
    case $cross_compiling:$ac_tool_warned in
2037
2126
yes:)
2038
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2039
 
whose name does not start with the host triplet.  If you think this
2040
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2041
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2042
 
whose name does not start with the host triplet.  If you think this
2043
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2127
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2128
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2044
2129
ac_tool_warned=yes ;;
2045
2130
esac
2046
2131
    CC=$ac_ct_CC
2050
2135
fi
2051
2136
 
2052
2137
 
2053
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2138
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2139
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2140
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2054
2141
See \`config.log' for more details." >&5
2055
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2142
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2056
2143
See \`config.log' for more details." >&2;}
2057
 
   { (exit 1); exit 1; }; }
 
2144
   { (exit 1); exit 1; }; }; }
2058
2145
 
2059
2146
# Provide some information about the compiler.
2060
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2061
 
ac_compiler=`set X $ac_compile; echo $2`
 
2147
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2148
set X $ac_compile
 
2149
ac_compiler=$2
2062
2150
{ (ac_try="$ac_compiler --version >&5"
2063
2151
case "(($ac_try" in
2064
2152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2065
2153
  *) ac_try_echo=$ac_try;;
2066
2154
esac
2067
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2155
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2156
$as_echo "$ac_try_echo") >&5
2068
2157
  (eval "$ac_compiler --version >&5") 2>&5
2069
2158
  ac_status=$?
2070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2159
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071
2160
  (exit $ac_status); }
2072
2161
{ (ac_try="$ac_compiler -v >&5"
2073
2162
case "(($ac_try" in
2074
2163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2075
2164
  *) ac_try_echo=$ac_try;;
2076
2165
esac
2077
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2166
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2167
$as_echo "$ac_try_echo") >&5
2078
2168
  (eval "$ac_compiler -v >&5") 2>&5
2079
2169
  ac_status=$?
2080
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2170
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081
2171
  (exit $ac_status); }
2082
2172
{ (ac_try="$ac_compiler -V >&5"
2083
2173
case "(($ac_try" in
2084
2174
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2085
2175
  *) ac_try_echo=$ac_try;;
2086
2176
esac
2087
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2177
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2178
$as_echo "$ac_try_echo") >&5
2088
2179
  (eval "$ac_compiler -V >&5") 2>&5
2089
2180
  ac_status=$?
2090
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2181
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091
2182
  (exit $ac_status); }
2092
2183
 
2093
2184
cat >conftest.$ac_ext <<_ACEOF
2106
2197
}
2107
2198
_ACEOF
2108
2199
ac_clean_files_save=$ac_clean_files
2109
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2200
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2110
2201
# Try to create an executable without -o first, disregard a.out.
2111
2202
# It will help us diagnose broken compilers, and finding out an intuition
2112
2203
# of exeext.
2113
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2114
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2115
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2116
 
#
2117
 
# List of possible output files, starting from the most likely.
2118
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2119
 
# only as a last resort.  b.out is created by i960 compilers.
2120
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2121
 
#
2122
 
# The IRIX 6 linker writes into existing files which may not be
2123
 
# executable, retaining their permissions.  Remove them first so a
2124
 
# subsequent execution test works.
 
2204
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2205
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2206
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2207
 
 
2208
# The possible output files:
 
2209
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2210
 
2125
2211
ac_rmfiles=
2126
2212
for ac_file in $ac_files
2127
2213
do
2128
2214
  case $ac_file in
2129
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2215
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2130
2216
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2131
2217
  esac
2132
2218
done
2137
2223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2138
2224
  *) ac_try_echo=$ac_try;;
2139
2225
esac
2140
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2226
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2227
$as_echo "$ac_try_echo") >&5
2141
2228
  (eval "$ac_link_default") 2>&5
2142
2229
  ac_status=$?
2143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2230
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144
2231
  (exit $ac_status); }; then
2145
2232
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2146
2233
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2151
2238
do
2152
2239
  test -f "$ac_file" || continue
2153
2240
  case $ac_file in
2154
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2241
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2155
2242
        ;;
2156
2243
    [ab].out )
2157
2244
        # We found the default executable, but exeext='' is most
2178
2265
  ac_file=''
2179
2266
fi
2180
2267
 
2181
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2182
 
echo "${ECHO_T}$ac_file" >&6; }
 
2268
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2269
$as_echo "$ac_file" >&6; }
2183
2270
if test -z "$ac_file"; then
2184
 
  echo "$as_me: failed program was:" >&5
 
2271
  $as_echo "$as_me: failed program was:" >&5
2185
2272
sed 's/^/| /' conftest.$ac_ext >&5
2186
2273
 
2187
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2274
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2275
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2276
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2188
2277
See \`config.log' for more details." >&5
2189
 
echo "$as_me: error: C compiler cannot create executables
 
2278
$as_echo "$as_me: error: C compiler cannot create executables
2190
2279
See \`config.log' for more details." >&2;}
2191
 
   { (exit 77); exit 77; }; }
 
2280
   { (exit 77); exit 77; }; }; }
2192
2281
fi
2193
2282
 
2194
2283
ac_exeext=$ac_cv_exeext
2195
2284
 
2196
2285
# Check that the compiler produces executables we can run.  If not, either
2197
2286
# the compiler is broken, or we cross compile.
2198
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2199
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2287
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2288
$as_echo_n "checking whether the C compiler works... " >&6; }
2200
2289
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2201
2290
# If not cross compiling, check that we can run a simple program.
2202
2291
if test "$cross_compiling" != yes; then
2205
2294
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2206
2295
  *) ac_try_echo=$ac_try;;
2207
2296
esac
2208
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2297
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2298
$as_echo "$ac_try_echo") >&5
2209
2299
  (eval "$ac_try") 2>&5
2210
2300
  ac_status=$?
2211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2301
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212
2302
  (exit $ac_status); }; }; then
2213
2303
    cross_compiling=no
2214
2304
  else
2215
2305
    if test "$cross_compiling" = maybe; then
2216
2306
        cross_compiling=yes
2217
2307
    else
2218
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2308
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2309
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2310
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2219
2311
If you meant to cross compile, use \`--host'.
2220
2312
See \`config.log' for more details." >&5
2221
 
echo "$as_me: error: cannot run C compiled programs.
 
2313
$as_echo "$as_me: error: cannot run C compiled programs.
2222
2314
If you meant to cross compile, use \`--host'.
2223
2315
See \`config.log' for more details." >&2;}
2224
 
   { (exit 1); exit 1; }; }
 
2316
   { (exit 1); exit 1; }; }; }
2225
2317
    fi
2226
2318
  fi
2227
2319
fi
2228
 
{ echo "$as_me:$LINENO: result: yes" >&5
2229
 
echo "${ECHO_T}yes" >&6; }
 
2320
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2321
$as_echo "yes" >&6; }
2230
2322
 
2231
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2323
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2232
2324
ac_clean_files=$ac_clean_files_save
2233
2325
# Check that the compiler produces executables we can run.  If not, either
2234
2326
# the compiler is broken, or we cross compile.
2235
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2236
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2237
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2238
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2327
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2328
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2329
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2330
$as_echo "$cross_compiling" >&6; }
2239
2331
 
2240
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2241
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2332
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2333
$as_echo_n "checking for suffix of executables... " >&6; }
2242
2334
if { (ac_try="$ac_link"
2243
2335
case "(($ac_try" in
2244
2336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2245
2337
  *) ac_try_echo=$ac_try;;
2246
2338
esac
2247
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2339
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2340
$as_echo "$ac_try_echo") >&5
2248
2341
  (eval "$ac_link") 2>&5
2249
2342
  ac_status=$?
2250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2343
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251
2344
  (exit $ac_status); }; then
2252
2345
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2253
2346
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2256
2349
for ac_file in conftest.exe conftest conftest.*; do
2257
2350
  test -f "$ac_file" || continue
2258
2351
  case $ac_file in
2259
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2352
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2260
2353
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2261
2354
          break;;
2262
2355
    * ) break;;
2263
2356
  esac
2264
2357
done
2265
2358
else
2266
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2359
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2360
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2361
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2267
2362
See \`config.log' for more details." >&5
2268
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2363
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2269
2364
See \`config.log' for more details." >&2;}
2270
 
   { (exit 1); exit 1; }; }
 
2365
   { (exit 1); exit 1; }; }; }
2271
2366
fi
2272
2367
 
2273
2368
rm -f conftest$ac_cv_exeext
2274
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2275
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2369
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2370
$as_echo "$ac_cv_exeext" >&6; }
2276
2371
 
2277
2372
rm -f conftest.$ac_ext
2278
2373
EXEEXT=$ac_cv_exeext
2279
2374
ac_exeext=$EXEEXT
2280
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2281
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2375
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2376
$as_echo_n "checking for suffix of object files... " >&6; }
2282
2377
if test "${ac_cv_objext+set}" = set; then
2283
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2378
  $as_echo_n "(cached) " >&6
2284
2379
else
2285
2380
  cat >conftest.$ac_ext <<_ACEOF
2286
2381
/* confdefs.h.  */
2303
2398
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2304
2399
  *) ac_try_echo=$ac_try;;
2305
2400
esac
2306
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2401
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2402
$as_echo "$ac_try_echo") >&5
2307
2403
  (eval "$ac_compile") 2>&5
2308
2404
  ac_status=$?
2309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2405
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310
2406
  (exit $ac_status); }; then
2311
2407
  for ac_file in conftest.o conftest.obj conftest.*; do
2312
2408
  test -f "$ac_file" || continue;
2313
2409
  case $ac_file in
2314
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2410
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2315
2411
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2316
2412
       break;;
2317
2413
  esac
2318
2414
done
2319
2415
else
2320
 
  echo "$as_me: failed program was:" >&5
 
2416
  $as_echo "$as_me: failed program was:" >&5
2321
2417
sed 's/^/| /' conftest.$ac_ext >&5
2322
2418
 
2323
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2419
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2420
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2421
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2324
2422
See \`config.log' for more details." >&5
2325
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2423
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2326
2424
See \`config.log' for more details." >&2;}
2327
 
   { (exit 1); exit 1; }; }
 
2425
   { (exit 1); exit 1; }; }; }
2328
2426
fi
2329
2427
 
2330
2428
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2331
2429
fi
2332
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2333
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2430
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2431
$as_echo "$ac_cv_objext" >&6; }
2334
2432
OBJEXT=$ac_cv_objext
2335
2433
ac_objext=$OBJEXT
2336
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2337
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
2434
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2435
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2338
2436
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2339
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2437
  $as_echo_n "(cached) " >&6
2340
2438
else
2341
2439
  cat >conftest.$ac_ext <<_ACEOF
2342
2440
/* confdefs.h.  */
2362
2460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363
2461
  *) ac_try_echo=$ac_try;;
2364
2462
esac
2365
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2463
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2464
$as_echo "$ac_try_echo") >&5
2366
2465
  (eval "$ac_compile") 2>conftest.er1
2367
2466
  ac_status=$?
2368
2467
  grep -v '^ *+' conftest.er1 >conftest.err
2369
2468
  rm -f conftest.er1
2370
2469
  cat conftest.err >&5
2371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2470
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372
2471
  (exit $ac_status); } && {
2373
2472
         test -z "$ac_c_werror_flag" ||
2374
2473
         test ! -s conftest.err
2375
2474
       } && test -s conftest.$ac_objext; then
2376
2475
  ac_compiler_gnu=yes
2377
2476
else
2378
 
  echo "$as_me: failed program was:" >&5
 
2477
  $as_echo "$as_me: failed program was:" >&5
2379
2478
sed 's/^/| /' conftest.$ac_ext >&5
2380
2479
 
2381
2480
        ac_compiler_gnu=no
2385
2484
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2386
2485
 
2387
2486
fi
2388
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2389
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2390
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2487
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2488
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
2489
if test $ac_compiler_gnu = yes; then
 
2490
  GCC=yes
 
2491
else
 
2492
  GCC=
 
2493
fi
2391
2494
ac_test_CFLAGS=${CFLAGS+set}
2392
2495
ac_save_CFLAGS=$CFLAGS
2393
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2394
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
2496
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2497
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2395
2498
if test "${ac_cv_prog_cc_g+set}" = set; then
2396
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2499
  $as_echo_n "(cached) " >&6
2397
2500
else
2398
2501
  ac_save_c_werror_flag=$ac_c_werror_flag
2399
2502
   ac_c_werror_flag=yes
2420
2523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2421
2524
  *) ac_try_echo=$ac_try;;
2422
2525
esac
2423
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2526
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2527
$as_echo "$ac_try_echo") >&5
2424
2528
  (eval "$ac_compile") 2>conftest.er1
2425
2529
  ac_status=$?
2426
2530
  grep -v '^ *+' conftest.er1 >conftest.err
2427
2531
  rm -f conftest.er1
2428
2532
  cat conftest.err >&5
2429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2533
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430
2534
  (exit $ac_status); } && {
2431
2535
         test -z "$ac_c_werror_flag" ||
2432
2536
         test ! -s conftest.err
2433
2537
       } && test -s conftest.$ac_objext; then
2434
2538
  ac_cv_prog_cc_g=yes
2435
2539
else
2436
 
  echo "$as_me: failed program was:" >&5
 
2540
  $as_echo "$as_me: failed program was:" >&5
2437
2541
sed 's/^/| /' conftest.$ac_ext >&5
2438
2542
 
2439
2543
        CFLAGS=""
2458
2562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2459
2563
  *) ac_try_echo=$ac_try;;
2460
2564
esac
2461
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2566
$as_echo "$ac_try_echo") >&5
2462
2567
  (eval "$ac_compile") 2>conftest.er1
2463
2568
  ac_status=$?
2464
2569
  grep -v '^ *+' conftest.er1 >conftest.err
2465
2570
  rm -f conftest.er1
2466
2571
  cat conftest.err >&5
2467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468
2573
  (exit $ac_status); } && {
2469
2574
         test -z "$ac_c_werror_flag" ||
2470
2575
         test ! -s conftest.err
2471
2576
       } && test -s conftest.$ac_objext; then
2472
2577
  :
2473
2578
else
2474
 
  echo "$as_me: failed program was:" >&5
 
2579
  $as_echo "$as_me: failed program was:" >&5
2475
2580
sed 's/^/| /' conftest.$ac_ext >&5
2476
2581
 
2477
2582
        ac_c_werror_flag=$ac_save_c_werror_flag
2497
2602
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498
2603
  *) ac_try_echo=$ac_try;;
2499
2604
esac
2500
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2605
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2606
$as_echo "$ac_try_echo") >&5
2501
2607
  (eval "$ac_compile") 2>conftest.er1
2502
2608
  ac_status=$?
2503
2609
  grep -v '^ *+' conftest.er1 >conftest.err
2504
2610
  rm -f conftest.er1
2505
2611
  cat conftest.err >&5
2506
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2612
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507
2613
  (exit $ac_status); } && {
2508
2614
         test -z "$ac_c_werror_flag" ||
2509
2615
         test ! -s conftest.err
2510
2616
       } && test -s conftest.$ac_objext; then
2511
2617
  ac_cv_prog_cc_g=yes
2512
2618
else
2513
 
  echo "$as_me: failed program was:" >&5
 
2619
  $as_echo "$as_me: failed program was:" >&5
2514
2620
sed 's/^/| /' conftest.$ac_ext >&5
2515
2621
 
2516
2622
 
2525
2631
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2526
2632
   ac_c_werror_flag=$ac_save_c_werror_flag
2527
2633
fi
2528
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2529
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
2634
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2635
$as_echo "$ac_cv_prog_cc_g" >&6; }
2530
2636
if test "$ac_test_CFLAGS" = set; then
2531
2637
  CFLAGS=$ac_save_CFLAGS
2532
2638
elif test $ac_cv_prog_cc_g = yes; then
2542
2648
    CFLAGS=
2543
2649
  fi
2544
2650
fi
2545
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2546
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
2651
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2652
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2547
2653
if test "${ac_cv_prog_cc_c89+set}" = set; then
2548
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2654
  $as_echo_n "(cached) " >&6
2549
2655
else
2550
2656
  ac_cv_prog_cc_c89=no
2551
2657
ac_save_CC=$CC
2616
2722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617
2723
  *) ac_try_echo=$ac_try;;
2618
2724
esac
2619
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2725
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2726
$as_echo "$ac_try_echo") >&5
2620
2727
  (eval "$ac_compile") 2>conftest.er1
2621
2728
  ac_status=$?
2622
2729
  grep -v '^ *+' conftest.er1 >conftest.err
2623
2730
  rm -f conftest.er1
2624
2731
  cat conftest.err >&5
2625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2732
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626
2733
  (exit $ac_status); } && {
2627
2734
         test -z "$ac_c_werror_flag" ||
2628
2735
         test ! -s conftest.err
2629
2736
       } && test -s conftest.$ac_objext; then
2630
2737
  ac_cv_prog_cc_c89=$ac_arg
2631
2738
else
2632
 
  echo "$as_me: failed program was:" >&5
 
2739
  $as_echo "$as_me: failed program was:" >&5
2633
2740
sed 's/^/| /' conftest.$ac_ext >&5
2634
2741
 
2635
2742
 
2645
2752
# AC_CACHE_VAL
2646
2753
case "x$ac_cv_prog_cc_c89" in
2647
2754
  x)
2648
 
    { echo "$as_me:$LINENO: result: none needed" >&5
2649
 
echo "${ECHO_T}none needed" >&6; } ;;
 
2755
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
2756
$as_echo "none needed" >&6; } ;;
2650
2757
  xno)
2651
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
2652
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
2758
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
2759
$as_echo "unsupported" >&6; } ;;
2653
2760
  *)
2654
2761
    CC="$CC $ac_cv_prog_cc_c89"
2655
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2656
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
2762
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
2763
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2657
2764
esac
2658
2765
 
2659
2766
 
2666
2773
if test -n "$ac_tool_prefix"; then
2667
2774
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2668
2775
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2669
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2670
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2776
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2777
$as_echo_n "checking for $ac_word... " >&6; }
2671
2778
if test "${ac_cv_prog_RANLIB+set}" = set; then
2672
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2779
  $as_echo_n "(cached) " >&6
2673
2780
else
2674
2781
  if test -n "$RANLIB"; then
2675
2782
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2682
2789
  for ac_exec_ext in '' $ac_executable_extensions; do
2683
2790
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684
2791
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2685
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2792
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686
2793
    break 2
2687
2794
  fi
2688
2795
done
2693
2800
fi
2694
2801
RANLIB=$ac_cv_prog_RANLIB
2695
2802
if test -n "$RANLIB"; then
2696
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
2697
 
echo "${ECHO_T}$RANLIB" >&6; }
 
2803
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
2804
$as_echo "$RANLIB" >&6; }
2698
2805
else
2699
 
  { echo "$as_me:$LINENO: result: no" >&5
2700
 
echo "${ECHO_T}no" >&6; }
 
2806
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2807
$as_echo "no" >&6; }
2701
2808
fi
2702
2809
 
2703
2810
 
2706
2813
  ac_ct_RANLIB=$RANLIB
2707
2814
  # Extract the first word of "ranlib", so it can be a program name with args.
2708
2815
set dummy ranlib; ac_word=$2
2709
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2710
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2816
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2817
$as_echo_n "checking for $ac_word... " >&6; }
2711
2818
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2819
  $as_echo_n "(cached) " >&6
2713
2820
else
2714
2821
  if test -n "$ac_ct_RANLIB"; then
2715
2822
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2722
2829
  for ac_exec_ext in '' $ac_executable_extensions; do
2723
2830
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724
2831
    ac_cv_prog_ac_ct_RANLIB="ranlib"
2725
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2832
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2726
2833
    break 2
2727
2834
  fi
2728
2835
done
2733
2840
fi
2734
2841
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2735
2842
if test -n "$ac_ct_RANLIB"; then
2736
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2737
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
2843
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
2844
$as_echo "$ac_ct_RANLIB" >&6; }
2738
2845
else
2739
 
  { echo "$as_me:$LINENO: result: no" >&5
2740
 
echo "${ECHO_T}no" >&6; }
 
2846
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2847
$as_echo "no" >&6; }
2741
2848
fi
2742
2849
 
2743
2850
  if test "x$ac_ct_RANLIB" = x; then
2745
2852
  else
2746
2853
    case $cross_compiling:$ac_tool_warned in
2747
2854
yes:)
2748
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2749
 
whose name does not start with the host triplet.  If you think this
2750
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2751
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2752
 
whose name does not start with the host triplet.  If you think this
2753
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2855
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2856
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2754
2857
ac_tool_warned=yes ;;
2755
2858
esac
2756
2859
    RANLIB=$ac_ct_RANLIB
2776
2879
  fi
2777
2880
done
2778
2881
if test -z "$ac_aux_dir"; then
2779
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2780
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2882
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2883
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2781
2884
   { (exit 1); exit 1; }; }
2782
2885
fi
2783
2886
 
2803
2906
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2804
2907
# OS/2's system install, which has a completely different semantic
2805
2908
# ./install, which can be erroneously created by make from ./install.sh.
2806
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2807
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2909
# Reject install programs that cannot install multiple files.
 
2910
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2911
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2808
2912
if test -z "$INSTALL"; then
2809
2913
if test "${ac_cv_path_install+set}" = set; then
2810
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2914
  $as_echo_n "(cached) " >&6
2811
2915
else
2812
2916
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813
2917
for as_dir in $PATH
2836
2940
            # program-specific install script used by HP pwplus--don't use.
2837
2941
            :
2838
2942
          else
2839
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2840
 
            break 3
 
2943
            rm -rf conftest.one conftest.two conftest.dir
 
2944
            echo one > conftest.one
 
2945
            echo two > conftest.two
 
2946
            mkdir conftest.dir
 
2947
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2948
              test -s conftest.one && test -s conftest.two &&
 
2949
              test -s conftest.dir/conftest.one &&
 
2950
              test -s conftest.dir/conftest.two
 
2951
            then
 
2952
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2953
              break 3
 
2954
            fi
2841
2955
          fi
2842
2956
        fi
2843
2957
      done
2844
2958
    done
2845
2959
    ;;
2846
2960
esac
 
2961
 
2847
2962
done
2848
2963
IFS=$as_save_IFS
2849
2964
 
 
2965
rm -rf conftest.one conftest.two conftest.dir
2850
2966
 
2851
2967
fi
2852
2968
  if test "${ac_cv_path_install+set}" = set; then
2859
2975
    INSTALL=$ac_install_sh
2860
2976
  fi
2861
2977
fi
2862
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2863
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2978
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2979
$as_echo "$INSTALL" >&6; }
2864
2980
 
2865
2981
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2866
2982
# It thinks the first close brace ends the variable substitution.
2874
2990
do
2875
2991
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2876
2992
set dummy $ac_prog; ac_word=$2
2877
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2878
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2993
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2994
$as_echo_n "checking for $ac_word... " >&6; }
2879
2995
if test "${ac_cv_prog_YACC+set}" = set; then
2880
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2996
  $as_echo_n "(cached) " >&6
2881
2997
else
2882
2998
  if test -n "$YACC"; then
2883
2999
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
2890
3006
  for ac_exec_ext in '' $ac_executable_extensions; do
2891
3007
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2892
3008
    ac_cv_prog_YACC="$ac_prog"
2893
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3009
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2894
3010
    break 2
2895
3011
  fi
2896
3012
done
2901
3017
fi
2902
3018
YACC=$ac_cv_prog_YACC
2903
3019
if test -n "$YACC"; then
2904
 
  { echo "$as_me:$LINENO: result: $YACC" >&5
2905
 
echo "${ECHO_T}$YACC" >&6; }
 
3020
  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
 
3021
$as_echo "$YACC" >&6; }
2906
3022
else
2907
 
  { echo "$as_me:$LINENO: result: no" >&5
2908
 
echo "${ECHO_T}no" >&6; }
 
3023
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3024
$as_echo "no" >&6; }
2909
3025
fi
2910
3026
 
2911
3027
 
2913
3029
done
2914
3030
test -n "$YACC" || YACC="yacc"
2915
3031
 
2916
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
2917
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
3032
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
3033
$as_echo_n "checking whether ln -s works... " >&6; }
2918
3034
LN_S=$as_ln_s
2919
3035
if test "$LN_S" = "ln -s"; then
2920
 
  { echo "$as_me:$LINENO: result: yes" >&5
2921
 
echo "${ECHO_T}yes" >&6; }
 
3036
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3037
$as_echo "yes" >&6; }
2922
3038
else
2923
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2924
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
3039
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
3040
$as_echo "no, using $LN_S" >&6; }
2925
3041
fi
2926
3042
 
2927
3043
 
2928
3044
# check for programs.
2929
3045
# Extract the first word of "dvips", so it can be a program name with args.
2930
3046
set dummy dvips; ac_word=$2
2931
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2932
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3047
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3048
$as_echo_n "checking for $ac_word... " >&6; }
2933
3049
if test "${ac_cv_path_DVIPS+set}" = set; then
2934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3050
  $as_echo_n "(cached) " >&6
2935
3051
else
2936
3052
  case $DVIPS in
2937
3053
  [\\/]* | ?:[\\/]*)
2946
3062
  for ac_exec_ext in '' $ac_executable_extensions; do
2947
3063
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948
3064
    ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext"
2949
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3065
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2950
3066
    break 2
2951
3067
  fi
2952
3068
done
2959
3075
fi
2960
3076
DVIPS=$ac_cv_path_DVIPS
2961
3077
if test -n "$DVIPS"; then
2962
 
  { echo "$as_me:$LINENO: result: $DVIPS" >&5
2963
 
echo "${ECHO_T}$DVIPS" >&6; }
 
3078
  { $as_echo "$as_me:$LINENO: result: $DVIPS" >&5
 
3079
$as_echo "$DVIPS" >&6; }
2964
3080
else
2965
 
  { echo "$as_me:$LINENO: result: no" >&5
2966
 
echo "${ECHO_T}no" >&6; }
 
3081
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3082
$as_echo "no" >&6; }
2967
3083
fi
2968
3084
 
2969
3085
 
2970
3086
# Extract the first word of "texi2html", so it can be a program name with args.
2971
3087
set dummy texi2html; ac_word=$2
2972
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2973
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3088
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3089
$as_echo_n "checking for $ac_word... " >&6; }
2974
3090
if test "${ac_cv_path_TEXI2HTML+set}" = set; then
2975
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3091
  $as_echo_n "(cached) " >&6
2976
3092
else
2977
3093
  case $TEXI2HTML in
2978
3094
  [\\/]* | ?:[\\/]*)
2987
3103
  for ac_exec_ext in '' $ac_executable_extensions; do
2988
3104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989
3105
    ac_cv_path_TEXI2HTML="$as_dir/$ac_word$ac_exec_ext"
2990
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3106
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2991
3107
    break 2
2992
3108
  fi
2993
3109
done
3000
3116
fi
3001
3117
TEXI2HTML=$ac_cv_path_TEXI2HTML
3002
3118
if test -n "$TEXI2HTML"; then
3003
 
  { echo "$as_me:$LINENO: result: $TEXI2HTML" >&5
3004
 
echo "${ECHO_T}$TEXI2HTML" >&6; }
 
3119
  { $as_echo "$as_me:$LINENO: result: $TEXI2HTML" >&5
 
3120
$as_echo "$TEXI2HTML" >&6; }
3005
3121
else
3006
 
  { echo "$as_me:$LINENO: result: no" >&5
3007
 
echo "${ECHO_T}no" >&6; }
 
3122
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3123
$as_echo "no" >&6; }
3008
3124
fi
3009
3125
 
3010
3126
 
3011
3127
# Extract the first word of "tex", so it can be a program name with args.
3012
3128
set dummy tex; ac_word=$2
3013
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3014
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3129
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3130
$as_echo_n "checking for $ac_word... " >&6; }
3015
3131
if test "${ac_cv_path_TEX+set}" = set; then
3016
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3132
  $as_echo_n "(cached) " >&6
3017
3133
else
3018
3134
  case $TEX in
3019
3135
  [\\/]* | ?:[\\/]*)
3028
3144
  for ac_exec_ext in '' $ac_executable_extensions; do
3029
3145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030
3146
    ac_cv_path_TEX="$as_dir/$ac_word$ac_exec_ext"
3031
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3147
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032
3148
    break 2
3033
3149
  fi
3034
3150
done
3041
3157
fi
3042
3158
TEX=$ac_cv_path_TEX
3043
3159
if test -n "$TEX"; then
3044
 
  { echo "$as_me:$LINENO: result: $TEX" >&5
3045
 
echo "${ECHO_T}$TEX" >&6; }
 
3160
  { $as_echo "$as_me:$LINENO: result: $TEX" >&5
 
3161
$as_echo "$TEX" >&6; }
3046
3162
else
3047
 
  { echo "$as_me:$LINENO: result: no" >&5
3048
 
echo "${ECHO_T}no" >&6; }
 
3163
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3164
$as_echo "no" >&6; }
3049
3165
fi
3050
3166
 
3051
3167
 
3052
3168
# Extract the first word of "texindex", so it can be a program name with args.
3053
3169
set dummy texindex; ac_word=$2
3054
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3055
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3170
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3171
$as_echo_n "checking for $ac_word... " >&6; }
3056
3172
if test "${ac_cv_path_TEXINDEX+set}" = set; then
3057
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3173
  $as_echo_n "(cached) " >&6
3058
3174
else
3059
3175
  case $TEXINDEX in
3060
3176
  [\\/]* | ?:[\\/]*)
3069
3185
  for ac_exec_ext in '' $ac_executable_extensions; do
3070
3186
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071
3187
    ac_cv_path_TEXINDEX="$as_dir/$ac_word$ac_exec_ext"
3072
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3188
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3073
3189
    break 2
3074
3190
  fi
3075
3191
done
3082
3198
fi
3083
3199
TEXINDEX=$ac_cv_path_TEXINDEX
3084
3200
if test -n "$TEXINDEX"; then
3085
 
  { echo "$as_me:$LINENO: result: $TEXINDEX" >&5
3086
 
echo "${ECHO_T}$TEXINDEX" >&6; }
 
3201
  { $as_echo "$as_me:$LINENO: result: $TEXINDEX" >&5
 
3202
$as_echo "$TEXINDEX" >&6; }
3087
3203
else
3088
 
  { echo "$as_me:$LINENO: result: no" >&5
3089
 
echo "${ECHO_T}no" >&6; }
 
3204
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3205
$as_echo "no" >&6; }
3090
3206
fi
3091
3207
 
3092
3208
 
3093
3209
# Extract the first word of "makeinfo", so it can be a program name with args.
3094
3210
set dummy makeinfo; ac_word=$2
3095
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3096
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3211
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3212
$as_echo_n "checking for $ac_word... " >&6; }
3097
3213
if test "${ac_cv_path_MAKEINFO+set}" = set; then
3098
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3214
  $as_echo_n "(cached) " >&6
3099
3215
else
3100
3216
  case $MAKEINFO in
3101
3217
  [\\/]* | ?:[\\/]*)
3110
3226
  for ac_exec_ext in '' $ac_executable_extensions; do
3111
3227
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112
3228
    ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
3113
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3229
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3114
3230
    break 2
3115
3231
  fi
3116
3232
done
3123
3239
fi
3124
3240
MAKEINFO=$ac_cv_path_MAKEINFO
3125
3241
if test -n "$MAKEINFO"; then
3126
 
  { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
3127
 
echo "${ECHO_T}$MAKEINFO" >&6; }
 
3242
  { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
 
3243
$as_echo "$MAKEINFO" >&6; }
3128
3244
else
3129
 
  { echo "$as_me:$LINENO: result: no" >&5
3130
 
echo "${ECHO_T}no" >&6; }
 
3245
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3246
$as_echo "no" >&6; }
3131
3247
fi
3132
3248
 
3133
3249
 
3134
3250
# Extract the first word of "diff", so it can be a program name with args.
3135
3251
set dummy diff; ac_word=$2
3136
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3137
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3252
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3253
$as_echo_n "checking for $ac_word... " >&6; }
3138
3254
if test "${ac_cv_path_DIFF+set}" = set; then
3139
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3255
  $as_echo_n "(cached) " >&6
3140
3256
else
3141
3257
  case $DIFF in
3142
3258
  [\\/]* | ?:[\\/]*)
3151
3267
  for ac_exec_ext in '' $ac_executable_extensions; do
3152
3268
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3153
3269
    ac_cv_path_DIFF="$as_dir/$ac_word$ac_exec_ext"
3154
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3270
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3155
3271
    break 2
3156
3272
  fi
3157
3273
done
3164
3280
fi
3165
3281
DIFF=$ac_cv_path_DIFF
3166
3282
if test -n "$DIFF"; then
3167
 
  { echo "$as_me:$LINENO: result: $DIFF" >&5
3168
 
echo "${ECHO_T}$DIFF" >&6; }
 
3283
  { $as_echo "$as_me:$LINENO: result: $DIFF" >&5
 
3284
$as_echo "$DIFF" >&6; }
3169
3285
else
3170
 
  { echo "$as_me:$LINENO: result: no" >&5
3171
 
echo "${ECHO_T}no" >&6; }
 
3286
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3287
$as_echo "no" >&6; }
3172
3288
fi
3173
3289
 
3174
3290
 
3175
3291
# Extract the first word of "sed", so it can be a program name with args.
3176
3292
set dummy sed; ac_word=$2
3177
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3178
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3293
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3294
$as_echo_n "checking for $ac_word... " >&6; }
3179
3295
if test "${ac_cv_path_SED+set}" = set; then
3180
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3296
  $as_echo_n "(cached) " >&6
3181
3297
else
3182
3298
  case $SED in
3183
3299
  [\\/]* | ?:[\\/]*)
3192
3308
  for ac_exec_ext in '' $ac_executable_extensions; do
3193
3309
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3194
3310
    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
3195
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3311
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3196
3312
    break 2
3197
3313
  fi
3198
3314
done
3205
3321
fi
3206
3322
SED=$ac_cv_path_SED
3207
3323
if test -n "$SED"; then
3208
 
  { echo "$as_me:$LINENO: result: $SED" >&5
3209
 
echo "${ECHO_T}$SED" >&6; }
 
3324
  { $as_echo "$as_me:$LINENO: result: $SED" >&5
 
3325
$as_echo "$SED" >&6; }
3210
3326
else
3211
 
  { echo "$as_me:$LINENO: result: no" >&5
3212
 
echo "${ECHO_T}no" >&6; }
 
3327
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3328
$as_echo "no" >&6; }
3213
3329
fi
3214
3330
 
3215
3331
 
3216
3332
# Extract the first word of "emacs", so it can be a program name with args.
3217
3333
set dummy emacs; ac_word=$2
3218
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3219
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3334
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3335
$as_echo_n "checking for $ac_word... " >&6; }
3220
3336
if test "${ac_cv_path_emacs+set}" = set; then
3221
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3337
  $as_echo_n "(cached) " >&6
3222
3338
else
3223
3339
  case $emacs in
3224
3340
  [\\/]* | ?:[\\/]*)
3233
3349
  for ac_exec_ext in '' $ac_executable_extensions; do
3234
3350
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235
3351
    ac_cv_path_emacs="$as_dir/$ac_word$ac_exec_ext"
3236
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3352
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3237
3353
    break 2
3238
3354
  fi
3239
3355
done
3246
3362
fi
3247
3363
emacs=$ac_cv_path_emacs
3248
3364
if test -n "$emacs"; then
3249
 
  { echo "$as_me:$LINENO: result: $emacs" >&5
3250
 
echo "${ECHO_T}$emacs" >&6; }
 
3365
  { $as_echo "$as_me:$LINENO: result: $emacs" >&5
 
3366
$as_echo "$emacs" >&6; }
3251
3367
else
3252
 
  { echo "$as_me:$LINENO: result: no" >&5
3253
 
echo "${ECHO_T}no" >&6; }
 
3368
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3369
$as_echo "no" >&6; }
3254
3370
fi
3255
3371
 
3256
3372
 
3264
3380
fi
3265
3381
 
3266
3382
if test $EMACS != : ; then
3267
 
        { echo "$as_me:$LINENO: checking where to install Emacs Lisp files" >&5
3268
 
echo $ECHO_N "checking where to install Emacs Lisp files... $ECHO_C" >&6; }
 
3383
        { $as_echo "$as_me:$LINENO: checking where to install Emacs Lisp files" >&5
 
3384
$as_echo_n "checking where to install Emacs Lisp files... " >&6; }
3269
3385
if test "${itz_cv_path_site_lisp+set}" = set; then
3270
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3386
  $as_echo_n "(cached) " >&6
3271
3387
else
3272
3388
  eval itz_cv_path_site_lisp=`${EMACS} -batch -l ${srcdir}/exec.el -exec "(mapcar 'print load-path)" 2>/dev/null |
3273
3389
sed -e '/^$/d' | sed -n -e 2p`
3276
3392
x*) itz_cv_path_site_lisp='${datadir}/emacs/site-lisp' ;;
3277
3393
esac
3278
3394
fi
3279
 
{ echo "$as_me:$LINENO: result: $itz_cv_path_site_lisp" >&5
3280
 
echo "${ECHO_T}$itz_cv_path_site_lisp" >&6; }
 
3395
{ $as_echo "$as_me:$LINENO: result: $itz_cv_path_site_lisp" >&5
 
3396
$as_echo "$itz_cv_path_site_lisp" >&6; }
3281
3397
 
3282
3398
        lispdir=${itz_cv_path_site_lisp}
3283
3399
else
3290
3406
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291
3407
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292
3408
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3293
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3294
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3409
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3410
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3295
3411
# On Suns, sometimes $CPP names a directory.
3296
3412
if test -n "$CPP" && test -d "$CPP"; then
3297
3413
  CPP=
3298
3414
fi
3299
3415
if test -z "$CPP"; then
3300
3416
  if test "${ac_cv_prog_CPP+set}" = set; then
3301
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3417
  $as_echo_n "(cached) " >&6
3302
3418
else
3303
3419
      # Double quotes because CPP needs to be expanded
3304
3420
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3330
3446
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331
3447
  *) ac_try_echo=$ac_try;;
3332
3448
esac
3333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3449
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3450
$as_echo "$ac_try_echo") >&5
3334
3451
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3335
3452
  ac_status=$?
3336
3453
  grep -v '^ *+' conftest.er1 >conftest.err
3337
3454
  rm -f conftest.er1
3338
3455
  cat conftest.err >&5
3339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3456
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340
3457
  (exit $ac_status); } >/dev/null && {
3341
3458
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3342
3459
         test ! -s conftest.err
3343
3460
       }; then
3344
3461
  :
3345
3462
else
3346
 
  echo "$as_me: failed program was:" >&5
 
3463
  $as_echo "$as_me: failed program was:" >&5
3347
3464
sed 's/^/| /' conftest.$ac_ext >&5
3348
3465
 
3349
3466
  # Broken: fails on valid input.
3367
3484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368
3485
  *) ac_try_echo=$ac_try;;
3369
3486
esac
3370
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3487
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3488
$as_echo "$ac_try_echo") >&5
3371
3489
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3372
3490
  ac_status=$?
3373
3491
  grep -v '^ *+' conftest.er1 >conftest.err
3374
3492
  rm -f conftest.er1
3375
3493
  cat conftest.err >&5
3376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3494
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377
3495
  (exit $ac_status); } >/dev/null && {
3378
3496
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3379
3497
         test ! -s conftest.err
3381
3499
  # Broken: success on invalid input.
3382
3500
continue
3383
3501
else
3384
 
  echo "$as_me: failed program was:" >&5
 
3502
  $as_echo "$as_me: failed program was:" >&5
3385
3503
sed 's/^/| /' conftest.$ac_ext >&5
3386
3504
 
3387
3505
  # Passes both tests.
3406
3524
else
3407
3525
  ac_cv_prog_CPP=$CPP
3408
3526
fi
3409
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3410
 
echo "${ECHO_T}$CPP" >&6; }
 
3527
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3528
$as_echo "$CPP" >&6; }
3411
3529
ac_preproc_ok=false
3412
3530
for ac_c_preproc_warn_flag in '' yes
3413
3531
do
3435
3553
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3436
3554
  *) ac_try_echo=$ac_try;;
3437
3555
esac
3438
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3556
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3557
$as_echo "$ac_try_echo") >&5
3439
3558
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3440
3559
  ac_status=$?
3441
3560
  grep -v '^ *+' conftest.er1 >conftest.err
3442
3561
  rm -f conftest.er1
3443
3562
  cat conftest.err >&5
3444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3563
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445
3564
  (exit $ac_status); } >/dev/null && {
3446
3565
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3447
3566
         test ! -s conftest.err
3448
3567
       }; then
3449
3568
  :
3450
3569
else
3451
 
  echo "$as_me: failed program was:" >&5
 
3570
  $as_echo "$as_me: failed program was:" >&5
3452
3571
sed 's/^/| /' conftest.$ac_ext >&5
3453
3572
 
3454
3573
  # Broken: fails on valid input.
3472
3591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473
3592
  *) ac_try_echo=$ac_try;;
3474
3593
esac
3475
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3594
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3595
$as_echo "$ac_try_echo") >&5
3476
3596
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3477
3597
  ac_status=$?
3478
3598
  grep -v '^ *+' conftest.er1 >conftest.err
3479
3599
  rm -f conftest.er1
3480
3600
  cat conftest.err >&5
3481
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3601
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482
3602
  (exit $ac_status); } >/dev/null && {
3483
3603
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3484
3604
         test ! -s conftest.err
3486
3606
  # Broken: success on invalid input.
3487
3607
continue
3488
3608
else
3489
 
  echo "$as_me: failed program was:" >&5
 
3609
  $as_echo "$as_me: failed program was:" >&5
3490
3610
sed 's/^/| /' conftest.$ac_ext >&5
3491
3611
 
3492
3612
  # Passes both tests.
3502
3622
if $ac_preproc_ok; then
3503
3623
  :
3504
3624
else
3505
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3625
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3626
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3627
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3506
3628
See \`config.log' for more details." >&5
3507
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3629
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3508
3630
See \`config.log' for more details." >&2;}
3509
 
   { (exit 1); exit 1; }; }
 
3631
   { (exit 1); exit 1; }; }; }
3510
3632
fi
3511
3633
 
3512
3634
ac_ext=c
3516
3638
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3517
3639
 
3518
3640
 
3519
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3520
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3521
 
if test "${ac_cv_path_GREP+set}" = set; then
3522
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3523
 
else
3524
 
  # Extract the first word of "grep ggrep" to use in msg output
3525
 
if test -z "$GREP"; then
3526
 
set dummy grep ggrep; ac_prog_name=$2
3527
 
if test "${ac_cv_path_GREP+set}" = set; then
3528
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3529
 
else
 
3641
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3642
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3643
if test "${ac_cv_path_GREP+set}" = set; then
 
3644
  $as_echo_n "(cached) " >&6
 
3645
else
 
3646
  if test -z "$GREP"; then
3530
3647
  ac_path_GREP_found=false
3531
 
# Loop through the user's path and test for each of PROGNAME-LIST
3532
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3648
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3649
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533
3650
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3534
3651
do
3535
3652
  IFS=$as_save_IFS
3536
3653
  test -z "$as_dir" && as_dir=.
3537
3654
  for ac_prog in grep ggrep; do
3538
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3539
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3540
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3541
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
3655
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3656
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3657
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3658
# Check for GNU ac_path_GREP and select it if it is found.
3542
3659
  # Check for GNU $ac_path_GREP
3543
3660
case `"$ac_path_GREP" --version 2>&1` in
3544
3661
*GNU*)
3545
3662
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3546
3663
*)
3547
3664
  ac_count=0
3548
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3665
  $as_echo_n 0123456789 >"conftest.in"
3549
3666
  while :
3550
3667
  do
3551
3668
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3552
3669
    mv "conftest.tmp" "conftest.in"
3553
3670
    cp "conftest.in" "conftest.nl"
3554
 
    echo 'GREP' >> "conftest.nl"
 
3671
    $as_echo 'GREP' >> "conftest.nl"
3555
3672
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3556
3673
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3557
3674
    ac_count=`expr $ac_count + 1`
3566
3683
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3567
3684
esac
3568
3685
 
3569
 
 
3570
 
    $ac_path_GREP_found && break 3
 
3686
      $ac_path_GREP_found && break 3
 
3687
    done
3571
3688
  done
3572
3689
done
3573
 
 
3574
 
done
3575
3690
IFS=$as_save_IFS
3576
 
 
3577
 
 
3578
 
fi
3579
 
 
3580
 
GREP="$ac_cv_path_GREP"
3581
 
if test -z "$GREP"; then
3582
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3583
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3691
  if test -z "$ac_cv_path_GREP"; then
 
3692
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3693
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3584
3694
   { (exit 1); exit 1; }; }
3585
 
fi
3586
 
 
 
3695
  fi
3587
3696
else
3588
3697
  ac_cv_path_GREP=$GREP
3589
3698
fi
3590
3699
 
3591
 
 
3592
3700
fi
3593
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3594
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3701
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3702
$as_echo "$ac_cv_path_GREP" >&6; }
3595
3703
 GREP="$ac_cv_path_GREP"
3596
3704
 
3597
3705
 
3598
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3599
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3706
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3707
$as_echo_n "checking for egrep... " >&6; }
3600
3708
if test "${ac_cv_path_EGREP+set}" = set; then
3601
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3709
  $as_echo_n "(cached) " >&6
3602
3710
else
3603
3711
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3604
3712
   then ac_cv_path_EGREP="$GREP -E"
3605
3713
   else
3606
 
     # Extract the first word of "egrep" to use in msg output
3607
 
if test -z "$EGREP"; then
3608
 
set dummy egrep; ac_prog_name=$2
3609
 
if test "${ac_cv_path_EGREP+set}" = set; then
3610
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3611
 
else
 
3714
     if test -z "$EGREP"; then
3612
3715
  ac_path_EGREP_found=false
3613
 
# Loop through the user's path and test for each of PROGNAME-LIST
3614
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3716
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3717
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615
3718
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3616
3719
do
3617
3720
  IFS=$as_save_IFS
3618
3721
  test -z "$as_dir" && as_dir=.
3619
3722
  for ac_prog in egrep; do
3620
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3621
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3622
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3623
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3723
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3724
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3725
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3726
# Check for GNU ac_path_EGREP and select it if it is found.
3624
3727
  # Check for GNU $ac_path_EGREP
3625
3728
case `"$ac_path_EGREP" --version 2>&1` in
3626
3729
*GNU*)
3627
3730
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3628
3731
*)
3629
3732
  ac_count=0
3630
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3733
  $as_echo_n 0123456789 >"conftest.in"
3631
3734
  while :
3632
3735
  do
3633
3736
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3634
3737
    mv "conftest.tmp" "conftest.in"
3635
3738
    cp "conftest.in" "conftest.nl"
3636
 
    echo 'EGREP' >> "conftest.nl"
 
3739
    $as_echo 'EGREP' >> "conftest.nl"
3637
3740
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3638
3741
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3639
3742
    ac_count=`expr $ac_count + 1`
3648
3751
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3649
3752
esac
3650
3753
 
3651
 
 
3652
 
    $ac_path_EGREP_found && break 3
 
3754
      $ac_path_EGREP_found && break 3
 
3755
    done
3653
3756
  done
3654
3757
done
3655
 
 
3656
 
done
3657
3758
IFS=$as_save_IFS
3658
 
 
3659
 
 
3660
 
fi
3661
 
 
3662
 
EGREP="$ac_cv_path_EGREP"
3663
 
if test -z "$EGREP"; then
3664
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3665
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3759
  if test -z "$ac_cv_path_EGREP"; then
 
3760
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3761
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3666
3762
   { (exit 1); exit 1; }; }
3667
 
fi
3668
 
 
 
3763
  fi
3669
3764
else
3670
3765
  ac_cv_path_EGREP=$EGREP
3671
3766
fi
3672
3767
 
3673
 
 
3674
3768
   fi
3675
3769
fi
3676
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3677
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3770
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3771
$as_echo "$ac_cv_path_EGREP" >&6; }
3678
3772
 EGREP="$ac_cv_path_EGREP"
3679
3773
 
3680
3774
 
3681
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3682
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
3775
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3776
$as_echo_n "checking for ANSI C header files... " >&6; }
3683
3777
if test "${ac_cv_header_stdc+set}" = set; then
3684
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3778
  $as_echo_n "(cached) " >&6
3685
3779
else
3686
3780
  cat >conftest.$ac_ext <<_ACEOF
3687
3781
/* confdefs.h.  */
3708
3802
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709
3803
  *) ac_try_echo=$ac_try;;
3710
3804
esac
3711
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3805
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3806
$as_echo "$ac_try_echo") >&5
3712
3807
  (eval "$ac_compile") 2>conftest.er1
3713
3808
  ac_status=$?
3714
3809
  grep -v '^ *+' conftest.er1 >conftest.err
3715
3810
  rm -f conftest.er1
3716
3811
  cat conftest.err >&5
3717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3812
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718
3813
  (exit $ac_status); } && {
3719
3814
         test -z "$ac_c_werror_flag" ||
3720
3815
         test ! -s conftest.err
3721
3816
       } && test -s conftest.$ac_objext; then
3722
3817
  ac_cv_header_stdc=yes
3723
3818
else
3724
 
  echo "$as_me: failed program was:" >&5
 
3819
  $as_echo "$as_me: failed program was:" >&5
3725
3820
sed 's/^/| /' conftest.$ac_ext >&5
3726
3821
 
3727
3822
        ac_cv_header_stdc=no
3813
3908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814
3909
  *) ac_try_echo=$ac_try;;
3815
3910
esac
3816
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3911
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3912
$as_echo "$ac_try_echo") >&5
3817
3913
  (eval "$ac_link") 2>&5
3818
3914
  ac_status=$?
3819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3915
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820
3916
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3821
3917
  { (case "(($ac_try" in
3822
3918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823
3919
  *) ac_try_echo=$ac_try;;
3824
3920
esac
3825
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3921
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3922
$as_echo "$ac_try_echo") >&5
3826
3923
  (eval "$ac_try") 2>&5
3827
3924
  ac_status=$?
3828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3925
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829
3926
  (exit $ac_status); }; }; then
3830
3927
  :
3831
3928
else
3832
 
  echo "$as_me: program exited with status $ac_status" >&5
3833
 
echo "$as_me: failed program was:" >&5
 
3929
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
3930
$as_echo "$as_me: failed program was:" >&5
3834
3931
sed 's/^/| /' conftest.$ac_ext >&5
3835
3932
 
3836
3933
( exit $ac_status )
3837
3934
ac_cv_header_stdc=no
3838
3935
fi
 
3936
rm -rf conftest.dSYM
3839
3937
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3840
3938
fi
3841
3939
 
3842
3940
 
3843
3941
fi
3844
3942
fi
3845
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3846
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
3943
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3944
$as_echo "$ac_cv_header_stdc" >&6; }
3847
3945
if test $ac_cv_header_stdc = yes; then
3848
3946
 
3849
3947
cat >>confdefs.h <<\_ACEOF
3865
3963
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3866
3964
                  inttypes.h stdint.h unistd.h
3867
3965
do
3868
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3869
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3870
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
3966
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3967
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3968
$as_echo_n "checking for $ac_header... " >&6; }
3871
3969
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3872
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3970
  $as_echo_n "(cached) " >&6
3873
3971
else
3874
3972
  cat >conftest.$ac_ext <<_ACEOF
3875
3973
/* confdefs.h.  */
3887
3985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888
3986
  *) ac_try_echo=$ac_try;;
3889
3987
esac
3890
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3988
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3989
$as_echo "$ac_try_echo") >&5
3891
3990
  (eval "$ac_compile") 2>conftest.er1
3892
3991
  ac_status=$?
3893
3992
  grep -v '^ *+' conftest.er1 >conftest.err
3894
3993
  rm -f conftest.er1
3895
3994
  cat conftest.err >&5
3896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3995
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897
3996
  (exit $ac_status); } && {
3898
3997
         test -z "$ac_c_werror_flag" ||
3899
3998
         test ! -s conftest.err
3900
3999
       } && test -s conftest.$ac_objext; then
3901
4000
  eval "$as_ac_Header=yes"
3902
4001
else
3903
 
  echo "$as_me: failed program was:" >&5
 
4002
  $as_echo "$as_me: failed program was:" >&5
3904
4003
sed 's/^/| /' conftest.$ac_ext >&5
3905
4004
 
3906
4005
        eval "$as_ac_Header=no"
3908
4007
 
3909
4008
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3910
4009
fi
3911
 
ac_res=`eval echo '${'$as_ac_Header'}'`
3912
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3913
 
echo "${ECHO_T}$ac_res" >&6; }
3914
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4010
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4011
                 $as_echo "$as_val"'`
 
4012
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4013
$as_echo "$ac_res" >&6; }
 
4014
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4015
                 $as_echo "$as_val"'`
 
4016
   if test "x$as_val" = x""yes; then
3915
4017
  cat >>confdefs.h <<_ACEOF
3916
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4018
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3917
4019
_ACEOF
3918
4020
 
3919
4021
fi
3927
4029
 
3928
4030
 
3929
4031
 
3930
 
for ac_header in syslog.h linux/input.h linux/joystick.h ncurses.h ncurses/curses.h curses.h
 
4032
 
 
4033
for ac_header in syslog.h linux/input.h linux/joystick.h ncurses.h ncurses/curses.h curses.h term.h
3931
4034
do
3932
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3933
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3934
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
3935
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3936
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4035
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4036
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4037
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4038
$as_echo_n "checking for $ac_header... " >&6; }
 
4039
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4040
  $as_echo_n "(cached) " >&6
3938
4041
fi
3939
 
ac_res=`eval echo '${'$as_ac_Header'}'`
3940
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3941
 
echo "${ECHO_T}$ac_res" >&6; }
 
4042
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4043
                 $as_echo "$as_val"'`
 
4044
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4045
$as_echo "$ac_res" >&6; }
3942
4046
else
3943
4047
  # Is the header compilable?
3944
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3945
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4048
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4049
$as_echo_n "checking $ac_header usability... " >&6; }
3946
4050
cat >conftest.$ac_ext <<_ACEOF
3947
4051
/* confdefs.h.  */
3948
4052
_ACEOF
3958
4062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959
4063
  *) ac_try_echo=$ac_try;;
3960
4064
esac
3961
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4065
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4066
$as_echo "$ac_try_echo") >&5
3962
4067
  (eval "$ac_compile") 2>conftest.er1
3963
4068
  ac_status=$?
3964
4069
  grep -v '^ *+' conftest.er1 >conftest.err
3965
4070
  rm -f conftest.er1
3966
4071
  cat conftest.err >&5
3967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4072
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968
4073
  (exit $ac_status); } && {
3969
4074
         test -z "$ac_c_werror_flag" ||
3970
4075
         test ! -s conftest.err
3971
4076
       } && test -s conftest.$ac_objext; then
3972
4077
  ac_header_compiler=yes
3973
4078
else
3974
 
  echo "$as_me: failed program was:" >&5
 
4079
  $as_echo "$as_me: failed program was:" >&5
3975
4080
sed 's/^/| /' conftest.$ac_ext >&5
3976
4081
 
3977
4082
        ac_header_compiler=no
3978
4083
fi
3979
4084
 
3980
4085
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3982
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4086
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4087
$as_echo "$ac_header_compiler" >&6; }
3983
4088
 
3984
4089
# Is the header present?
3985
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
3986
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4090
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4091
$as_echo_n "checking $ac_header presence... " >&6; }
3987
4092
cat >conftest.$ac_ext <<_ACEOF
3988
4093
/* confdefs.h.  */
3989
4094
_ACEOF
3997
4102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998
4103
  *) ac_try_echo=$ac_try;;
3999
4104
esac
4000
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4105
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4106
$as_echo "$ac_try_echo") >&5
4001
4107
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4002
4108
  ac_status=$?
4003
4109
  grep -v '^ *+' conftest.er1 >conftest.err
4004
4110
  rm -f conftest.er1
4005
4111
  cat conftest.err >&5
4006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4112
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007
4113
  (exit $ac_status); } >/dev/null && {
4008
4114
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4009
4115
         test ! -s conftest.err
4010
4116
       }; then
4011
4117
  ac_header_preproc=yes
4012
4118
else
4013
 
  echo "$as_me: failed program was:" >&5
 
4119
  $as_echo "$as_me: failed program was:" >&5
4014
4120
sed 's/^/| /' conftest.$ac_ext >&5
4015
4121
 
4016
4122
  ac_header_preproc=no
4017
4123
fi
4018
4124
 
4019
4125
rm -f conftest.err conftest.$ac_ext
4020
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4021
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4126
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4127
$as_echo "$ac_header_preproc" >&6; }
4022
4128
 
4023
4129
# So?  What about this header?
4024
4130
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4025
4131
  yes:no: )
4026
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4027
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4028
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4029
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4132
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4133
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4134
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4135
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4030
4136
    ac_header_preproc=yes
4031
4137
    ;;
4032
4138
  no:yes:* )
4033
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4034
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4035
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4036
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4037
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4038
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4039
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4040
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4041
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4042
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4043
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4044
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4139
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4140
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4141
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4142
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4143
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4144
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4145
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4146
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4147
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4148
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4149
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4150
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4045
4151
 
4046
4152
    ;;
4047
4153
esac
4048
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4049
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4154
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4155
$as_echo_n "checking for $ac_header... " >&6; }
4050
4156
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4051
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4157
  $as_echo_n "(cached) " >&6
4052
4158
else
4053
4159
  eval "$as_ac_Header=\$ac_header_preproc"
4054
4160
fi
4055
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4056
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4057
 
echo "${ECHO_T}$ac_res" >&6; }
 
4161
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4162
                 $as_echo "$as_val"'`
 
4163
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4164
$as_echo "$ac_res" >&6; }
4058
4165
 
4059
4166
fi
4060
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4167
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4168
                 $as_echo "$as_val"'`
 
4169
   if test "x$as_val" = x""yes; then
4061
4170
  cat >>confdefs.h <<_ACEOF
4062
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4171
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4063
4172
_ACEOF
4064
4173
 
4065
4174
fi
4078
4187
 
4079
4188
case $with_curses in
4080
4189
No|no|N|n) : ;;
4081
 
        *) if   test ${ac_cv_header_ncurses_h} = yes ||
 
4190
        *) if : || test ${ac_cv_header_ncurses_h} = yes ||
4082
4191
                test ${ac_cv_header_ncurses_curses_h} = yes ||
4083
4192
                test ${ac_cv_header_curses_h} = yes ; then
4084
4193
        CURSES_OBJS=lib/libcurses.o ; fi ;;
4089
4198
 
4090
4199
for ac_header in sys/sysmacros.h linux/major.h linux/tty.h
4091
4200
do
4092
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4093
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4094
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4095
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4096
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4097
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4201
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4202
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4203
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4204
$as_echo_n "checking for $ac_header... " >&6; }
 
4205
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4206
  $as_echo_n "(cached) " >&6
4098
4207
fi
4099
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4100
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4101
 
echo "${ECHO_T}$ac_res" >&6; }
 
4208
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4209
                 $as_echo "$as_val"'`
 
4210
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4211
$as_echo "$ac_res" >&6; }
4102
4212
else
4103
4213
  # Is the header compilable?
4104
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4105
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4214
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4215
$as_echo_n "checking $ac_header usability... " >&6; }
4106
4216
cat >conftest.$ac_ext <<_ACEOF
4107
4217
/* confdefs.h.  */
4108
4218
_ACEOF
4118
4228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119
4229
  *) ac_try_echo=$ac_try;;
4120
4230
esac
4121
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4231
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4232
$as_echo "$ac_try_echo") >&5
4122
4233
  (eval "$ac_compile") 2>conftest.er1
4123
4234
  ac_status=$?
4124
4235
  grep -v '^ *+' conftest.er1 >conftest.err
4125
4236
  rm -f conftest.er1
4126
4237
  cat conftest.err >&5
4127
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4238
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128
4239
  (exit $ac_status); } && {
4129
4240
         test -z "$ac_c_werror_flag" ||
4130
4241
         test ! -s conftest.err
4131
4242
       } && test -s conftest.$ac_objext; then
4132
4243
  ac_header_compiler=yes
4133
4244
else
4134
 
  echo "$as_me: failed program was:" >&5
 
4245
  $as_echo "$as_me: failed program was:" >&5
4135
4246
sed 's/^/| /' conftest.$ac_ext >&5
4136
4247
 
4137
4248
        ac_header_compiler=no
4138
4249
fi
4139
4250
 
4140
4251
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4142
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4252
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4253
$as_echo "$ac_header_compiler" >&6; }
4143
4254
 
4144
4255
# Is the header present?
4145
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4146
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4256
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4257
$as_echo_n "checking $ac_header presence... " >&6; }
4147
4258
cat >conftest.$ac_ext <<_ACEOF
4148
4259
/* confdefs.h.  */
4149
4260
_ACEOF
4157
4268
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158
4269
  *) ac_try_echo=$ac_try;;
4159
4270
esac
4160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4271
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4272
$as_echo "$ac_try_echo") >&5
4161
4273
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4162
4274
  ac_status=$?
4163
4275
  grep -v '^ *+' conftest.er1 >conftest.err
4164
4276
  rm -f conftest.er1
4165
4277
  cat conftest.err >&5
4166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4278
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167
4279
  (exit $ac_status); } >/dev/null && {
4168
4280
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4169
4281
         test ! -s conftest.err
4170
4282
       }; then
4171
4283
  ac_header_preproc=yes
4172
4284
else
4173
 
  echo "$as_me: failed program was:" >&5
 
4285
  $as_echo "$as_me: failed program was:" >&5
4174
4286
sed 's/^/| /' conftest.$ac_ext >&5
4175
4287
 
4176
4288
  ac_header_preproc=no
4177
4289
fi
4178
4290
 
4179
4291
rm -f conftest.err conftest.$ac_ext
4180
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4181
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4292
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4293
$as_echo "$ac_header_preproc" >&6; }
4182
4294
 
4183
4295
# So?  What about this header?
4184
4296
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4185
4297
  yes:no: )
4186
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4187
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4188
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4189
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4298
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4299
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4300
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4301
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4190
4302
    ac_header_preproc=yes
4191
4303
    ;;
4192
4304
  no:yes:* )
4193
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4194
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4195
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4196
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4197
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4198
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4199
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4200
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4201
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4202
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4203
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4204
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4305
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4306
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4307
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4308
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4309
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4310
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4311
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4312
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4313
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4314
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4315
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4316
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4205
4317
 
4206
4318
    ;;
4207
4319
esac
4208
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4209
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4320
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4321
$as_echo_n "checking for $ac_header... " >&6; }
4210
4322
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4323
  $as_echo_n "(cached) " >&6
4212
4324
else
4213
4325
  eval "$as_ac_Header=\$ac_header_preproc"
4214
4326
fi
4215
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4216
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4217
 
echo "${ECHO_T}$ac_res" >&6; }
 
4327
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4328
                 $as_echo "$as_val"'`
 
4329
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4330
$as_echo "$ac_res" >&6; }
4218
4331
 
4219
4332
fi
4220
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4333
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4334
                 $as_echo "$as_val"'`
 
4335
   if test "x$as_val" = x""yes; then
4221
4336
  cat >>confdefs.h <<_ACEOF
4222
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4337
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4223
4338
_ACEOF
4224
4339
 
4225
4340
fi
4227
4342
done
4228
4343
 
4229
4344
 
4230
 
{ echo "$as_me:$LINENO: checking for __u32" >&5
4231
 
echo $ECHO_N "checking for __u32... $ECHO_C" >&6; }
 
4345
{ $as_echo "$as_me:$LINENO: checking for __u32" >&5
 
4346
$as_echo_n "checking for __u32... " >&6; }
4232
4347
if test "${itz_cv_type___u32+set}" = set; then
4233
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4348
  $as_echo_n "(cached) " >&6
4234
4349
else
4235
4350
  cat >conftest.$ac_ext <<_ACEOF
4236
4351
/* confdefs.h.  */
4258
4373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4259
4374
  *) ac_try_echo=$ac_try;;
4260
4375
esac
4261
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4376
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4377
$as_echo "$ac_try_echo") >&5
4262
4378
  (eval "$ac_compile") 2>conftest.er1
4263
4379
  ac_status=$?
4264
4380
  grep -v '^ *+' conftest.er1 >conftest.err
4265
4381
  rm -f conftest.er1
4266
4382
  cat conftest.err >&5
4267
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4383
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268
4384
  (exit $ac_status); } && {
4269
4385
         test -z "$ac_c_werror_flag" ||
4270
4386
         test ! -s conftest.err
4271
4387
       } && test -s conftest.$ac_objext; then
4272
4388
  itz_cv_type___u32=yes
4273
4389
else
4274
 
  echo "$as_me: failed program was:" >&5
 
4390
  $as_echo "$as_me: failed program was:" >&5
4275
4391
sed 's/^/| /' conftest.$ac_ext >&5
4276
4392
 
4277
4393
        itz_cv_type___u32=no
4279
4395
 
4280
4396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4281
4397
fi
4282
 
{ echo "$as_me:$LINENO: result: $itz_cv_type___u32" >&5
4283
 
echo "${ECHO_T}$itz_cv_type___u32" >&6; }
 
4398
{ $as_echo "$as_me:$LINENO: result: $itz_cv_type___u32" >&5
 
4399
$as_echo "$itz_cv_type___u32" >&6; }
4284
4400
 
4285
4401
if test ${itz_cv_type___u32} = yes || test ${ac_cv_type___u32} = yes ; then
4286
4402
 
4290
4406
 
4291
4407
fi
4292
4408
 
4293
 
{ echo "$as_me:$LINENO: checking whether system is ELF" >&5
4294
 
echo $ECHO_N "checking whether system is ELF... $ECHO_C" >&6; }
 
4409
{ $as_echo "$as_me:$LINENO: checking whether system is ELF" >&5
 
4410
$as_echo_n "checking whether system is ELF... " >&6; }
4295
4411
if test "${itz_cv_sys_elf+set}" = set; then
4296
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4412
  $as_echo_n "(cached) " >&6
4297
4413
else
4298
4414
  cat >conftest.$ac_ext <<_ACEOF
4299
4415
/* confdefs.h.  */
4317
4433
rm -f conftest*
4318
4434
 
4319
4435
fi
4320
 
{ echo "$as_me:$LINENO: result: $itz_cv_sys_elf" >&5
4321
 
echo "${ECHO_T}$itz_cv_sys_elf" >&6; }
 
4436
{ $as_echo "$as_me:$LINENO: result: $itz_cv_sys_elf" >&5
 
4437
$as_echo "$itz_cv_sys_elf" >&6; }
4322
4438
if test ${itz_cv_sys_elf} = yes && test x${ac_cv_c_compiler_gnu} = xyes ; then
4323
4439
        PICFLAGS="-DPIC -fPIC"
4324
4440
        SOLDFLAGS="-fPIC -shared -Wl,-soname,"
4337
4453
 
4338
4454
for ac_func in vsyslog syslog
4339
4455
do
4340
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4341
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4342
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
4456
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
4457
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
4458
$as_echo_n "checking for $ac_func... " >&6; }
4343
4459
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4344
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4460
  $as_echo_n "(cached) " >&6
4345
4461
else
4346
4462
  cat >conftest.$ac_ext <<_ACEOF
4347
4463
/* confdefs.h.  */
4394
4510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4395
4511
  *) ac_try_echo=$ac_try;;
4396
4512
esac
4397
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4513
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4514
$as_echo "$ac_try_echo") >&5
4398
4515
  (eval "$ac_link") 2>conftest.er1
4399
4516
  ac_status=$?
4400
4517
  grep -v '^ *+' conftest.er1 >conftest.err
4401
4518
  rm -f conftest.er1
4402
4519
  cat conftest.err >&5
4403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4520
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404
4521
  (exit $ac_status); } && {
4405
4522
         test -z "$ac_c_werror_flag" ||
4406
4523
         test ! -s conftest.err
4407
 
       } && test -s conftest$ac_exeext &&
4408
 
       $as_test_x conftest$ac_exeext; then
 
4524
       } && test -s conftest$ac_exeext && {
 
4525
         test "$cross_compiling" = yes ||
 
4526
         $as_test_x conftest$ac_exeext
 
4527
       }; then
4409
4528
  eval "$as_ac_var=yes"
4410
4529
else
4411
 
  echo "$as_me: failed program was:" >&5
 
4530
  $as_echo "$as_me: failed program was:" >&5
4412
4531
sed 's/^/| /' conftest.$ac_ext >&5
4413
4532
 
4414
4533
        eval "$as_ac_var=no"
4415
4534
fi
4416
4535
 
 
4536
rm -rf conftest.dSYM
4417
4537
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4418
4538
      conftest$ac_exeext conftest.$ac_ext
4419
4539
fi
4420
 
ac_res=`eval echo '${'$as_ac_var'}'`
4421
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4422
 
echo "${ECHO_T}$ac_res" >&6; }
4423
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4540
ac_res=`eval 'as_val=${'$as_ac_var'}
 
4541
                 $as_echo "$as_val"'`
 
4542
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4543
$as_echo "$ac_res" >&6; }
 
4544
as_val=`eval 'as_val=${'$as_ac_var'}
 
4545
                 $as_echo "$as_val"'`
 
4546
   if test "x$as_val" = x""yes; then
4424
4547
  cat >>confdefs.h <<_ACEOF
4425
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4548
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4426
4549
_ACEOF
4427
4550
 
4428
4551
fi
4430
4553
 
4431
4554
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4432
4555
# for constant arguments.  Useless!
4433
 
{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
4434
 
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
 
4556
{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
 
4557
$as_echo_n "checking for working alloca.h... " >&6; }
4435
4558
if test "${ac_cv_working_alloca_h+set}" = set; then
4436
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4559
  $as_echo_n "(cached) " >&6
4437
4560
else
4438
4561
  cat >conftest.$ac_ext <<_ACEOF
4439
4562
/* confdefs.h.  */
4457
4580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458
4581
  *) ac_try_echo=$ac_try;;
4459
4582
esac
4460
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4583
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4584
$as_echo "$ac_try_echo") >&5
4461
4585
  (eval "$ac_link") 2>conftest.er1
4462
4586
  ac_status=$?
4463
4587
  grep -v '^ *+' conftest.er1 >conftest.err
4464
4588
  rm -f conftest.er1
4465
4589
  cat conftest.err >&5
4466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4590
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467
4591
  (exit $ac_status); } && {
4468
4592
         test -z "$ac_c_werror_flag" ||
4469
4593
         test ! -s conftest.err
4470
 
       } && test -s conftest$ac_exeext &&
4471
 
       $as_test_x conftest$ac_exeext; then
 
4594
       } && test -s conftest$ac_exeext && {
 
4595
         test "$cross_compiling" = yes ||
 
4596
         $as_test_x conftest$ac_exeext
 
4597
       }; then
4472
4598
  ac_cv_working_alloca_h=yes
4473
4599
else
4474
 
  echo "$as_me: failed program was:" >&5
 
4600
  $as_echo "$as_me: failed program was:" >&5
4475
4601
sed 's/^/| /' conftest.$ac_ext >&5
4476
4602
 
4477
4603
        ac_cv_working_alloca_h=no
4478
4604
fi
4479
4605
 
 
4606
rm -rf conftest.dSYM
4480
4607
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4481
4608
      conftest$ac_exeext conftest.$ac_ext
4482
4609
fi
4483
 
{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
4484
 
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
 
4610
{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
 
4611
$as_echo "$ac_cv_working_alloca_h" >&6; }
4485
4612
if test $ac_cv_working_alloca_h = yes; then
4486
4613
 
4487
4614
cat >>confdefs.h <<\_ACEOF
4490
4617
 
4491
4618
fi
4492
4619
 
4493
 
{ echo "$as_me:$LINENO: checking for alloca" >&5
4494
 
echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
 
4620
{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
 
4621
$as_echo_n "checking for alloca... " >&6; }
4495
4622
if test "${ac_cv_func_alloca_works+set}" = set; then
4496
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4623
  $as_echo_n "(cached) " >&6
4497
4624
else
4498
4625
  cat >conftest.$ac_ext <<_ACEOF
4499
4626
/* confdefs.h.  */
4537
4664
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538
4665
  *) ac_try_echo=$ac_try;;
4539
4666
esac
4540
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4667
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4668
$as_echo "$ac_try_echo") >&5
4541
4669
  (eval "$ac_link") 2>conftest.er1
4542
4670
  ac_status=$?
4543
4671
  grep -v '^ *+' conftest.er1 >conftest.err
4544
4672
  rm -f conftest.er1
4545
4673
  cat conftest.err >&5
4546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4674
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547
4675
  (exit $ac_status); } && {
4548
4676
         test -z "$ac_c_werror_flag" ||
4549
4677
         test ! -s conftest.err
4550
 
       } && test -s conftest$ac_exeext &&
4551
 
       $as_test_x conftest$ac_exeext; then
 
4678
       } && test -s conftest$ac_exeext && {
 
4679
         test "$cross_compiling" = yes ||
 
4680
         $as_test_x conftest$ac_exeext
 
4681
       }; then
4552
4682
  ac_cv_func_alloca_works=yes
4553
4683
else
4554
 
  echo "$as_me: failed program was:" >&5
 
4684
  $as_echo "$as_me: failed program was:" >&5
4555
4685
sed 's/^/| /' conftest.$ac_ext >&5
4556
4686
 
4557
4687
        ac_cv_func_alloca_works=no
4558
4688
fi
4559
4689
 
 
4690
rm -rf conftest.dSYM
4560
4691
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4561
4692
      conftest$ac_exeext conftest.$ac_ext
4562
4693
fi
4563
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
4564
 
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
 
4694
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
 
4695
$as_echo "$ac_cv_func_alloca_works" >&6; }
4565
4696
 
4566
4697
if test $ac_cv_func_alloca_works = yes; then
4567
4698
 
4582
4713
_ACEOF
4583
4714
 
4584
4715
 
4585
 
{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
4586
 
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
 
4716
{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
 
4717
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4587
4718
if test "${ac_cv_os_cray+set}" = set; then
4588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4719
  $as_echo_n "(cached) " >&6
4589
4720
else
4590
4721
  cat >conftest.$ac_ext <<_ACEOF
4591
4722
/* confdefs.h.  */
4609
4740
rm -f conftest*
4610
4741
 
4611
4742
fi
4612
 
{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
4613
 
echo "${ECHO_T}$ac_cv_os_cray" >&6; }
 
4743
{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
 
4744
$as_echo "$ac_cv_os_cray" >&6; }
4614
4745
if test $ac_cv_os_cray = yes; then
4615
4746
  for ac_func in _getb67 GETB67 getb67; do
4616
 
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4617
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4618
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
4747
    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
4748
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
4749
$as_echo_n "checking for $ac_func... " >&6; }
4619
4750
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4620
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4751
  $as_echo_n "(cached) " >&6
4621
4752
else
4622
4753
  cat >conftest.$ac_ext <<_ACEOF
4623
4754
/* confdefs.h.  */
4670
4801
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4671
4802
  *) ac_try_echo=$ac_try;;
4672
4803
esac
4673
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4804
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4805
$as_echo "$ac_try_echo") >&5
4674
4806
  (eval "$ac_link") 2>conftest.er1
4675
4807
  ac_status=$?
4676
4808
  grep -v '^ *+' conftest.er1 >conftest.err
4677
4809
  rm -f conftest.er1
4678
4810
  cat conftest.err >&5
4679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4811
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680
4812
  (exit $ac_status); } && {
4681
4813
         test -z "$ac_c_werror_flag" ||
4682
4814
         test ! -s conftest.err
4683
 
       } && test -s conftest$ac_exeext &&
4684
 
       $as_test_x conftest$ac_exeext; then
 
4815
       } && test -s conftest$ac_exeext && {
 
4816
         test "$cross_compiling" = yes ||
 
4817
         $as_test_x conftest$ac_exeext
 
4818
       }; then
4685
4819
  eval "$as_ac_var=yes"
4686
4820
else
4687
 
  echo "$as_me: failed program was:" >&5
 
4821
  $as_echo "$as_me: failed program was:" >&5
4688
4822
sed 's/^/| /' conftest.$ac_ext >&5
4689
4823
 
4690
4824
        eval "$as_ac_var=no"
4691
4825
fi
4692
4826
 
 
4827
rm -rf conftest.dSYM
4693
4828
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4694
4829
      conftest$ac_exeext conftest.$ac_ext
4695
4830
fi
4696
 
ac_res=`eval echo '${'$as_ac_var'}'`
4697
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4698
 
echo "${ECHO_T}$ac_res" >&6; }
4699
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4831
ac_res=`eval 'as_val=${'$as_ac_var'}
 
4832
                 $as_echo "$as_val"'`
 
4833
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4834
$as_echo "$ac_res" >&6; }
 
4835
as_val=`eval 'as_val=${'$as_ac_var'}
 
4836
                 $as_echo "$as_val"'`
 
4837
   if test "x$as_val" = x""yes; then
4700
4838
 
4701
4839
cat >>confdefs.h <<_ACEOF
4702
4840
#define CRAY_STACKSEG_END $ac_func
4708
4846
  done
4709
4847
fi
4710
4848
 
4711
 
{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4712
 
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
 
4849
{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
 
4850
$as_echo_n "checking stack direction for C alloca... " >&6; }
4713
4851
if test "${ac_cv_c_stack_direction+set}" = set; then
4714
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4852
  $as_echo_n "(cached) " >&6
4715
4853
else
4716
4854
  if test "$cross_compiling" = yes; then
4717
4855
  ac_cv_c_stack_direction=0
4749
4887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750
4888
  *) ac_try_echo=$ac_try;;
4751
4889
esac
4752
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4890
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4891
$as_echo "$ac_try_echo") >&5
4753
4892
  (eval "$ac_link") 2>&5
4754
4893
  ac_status=$?
4755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4894
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756
4895
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4757
4896
  { (case "(($ac_try" in
4758
4897
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759
4898
  *) ac_try_echo=$ac_try;;
4760
4899
esac
4761
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4900
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4901
$as_echo "$ac_try_echo") >&5
4762
4902
  (eval "$ac_try") 2>&5
4763
4903
  ac_status=$?
4764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4904
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765
4905
  (exit $ac_status); }; }; then
4766
4906
  ac_cv_c_stack_direction=1
4767
4907
else
4768
 
  echo "$as_me: program exited with status $ac_status" >&5
4769
 
echo "$as_me: failed program was:" >&5
 
4908
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4909
$as_echo "$as_me: failed program was:" >&5
4770
4910
sed 's/^/| /' conftest.$ac_ext >&5
4771
4911
 
4772
4912
( exit $ac_status )
4773
4913
ac_cv_c_stack_direction=-1
4774
4914
fi
 
4915
rm -rf conftest.dSYM
4775
4916
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4776
4917
fi
4777
4918
 
4778
4919
 
4779
4920
fi
4780
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4781
 
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
 
4921
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
 
4922
$as_echo "$ac_cv_c_stack_direction" >&6; }
4782
4923
 
4783
4924
cat >>confdefs.h <<_ACEOF
4784
4925
#define STACK_DIRECTION $ac_cv_c_stack_direction
4788
4929
fi
4789
4930
 
4790
4931
 
 
4932
if false; then          # we actually don't want -lcurses
4791
4933
case $with_curses in
4792
4934
No|no|N|n) SHARED_LIBS=-lc ;;
4793
4935
*)
4796
4938
    for i in tinfo ncurses termcap termlib; do
4797
4939
        if test x$LIBS = x; then
4798
4940
 
4799
 
as_ac_Lib=`echo "ac_cv_lib_$i''_tputs" | $as_tr_sh`
4800
 
{ echo "$as_me:$LINENO: checking for tputs in -l$i" >&5
4801
 
echo $ECHO_N "checking for tputs in -l$i... $ECHO_C" >&6; }
 
4941
as_ac_Lib=`$as_echo "ac_cv_lib_$i''_tputs" | $as_tr_sh`
 
4942
{ $as_echo "$as_me:$LINENO: checking for tputs in -l$i" >&5
 
4943
$as_echo_n "checking for tputs in -l$i... " >&6; }
4802
4944
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
4803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4945
  $as_echo_n "(cached) " >&6
4804
4946
else
4805
4947
  ac_check_lib_save_LIBS=$LIBS
4806
4948
LIBS="-l$i  $LIBS"
4832
4974
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833
4975
  *) ac_try_echo=$ac_try;;
4834
4976
esac
4835
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4977
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4978
$as_echo "$ac_try_echo") >&5
4836
4979
  (eval "$ac_link") 2>conftest.er1
4837
4980
  ac_status=$?
4838
4981
  grep -v '^ *+' conftest.er1 >conftest.err
4839
4982
  rm -f conftest.er1
4840
4983
  cat conftest.err >&5
4841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4984
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842
4985
  (exit $ac_status); } && {
4843
4986
         test -z "$ac_c_werror_flag" ||
4844
4987
         test ! -s conftest.err
4845
 
       } && test -s conftest$ac_exeext &&
4846
 
       $as_test_x conftest$ac_exeext; then
 
4988
       } && test -s conftest$ac_exeext && {
 
4989
         test "$cross_compiling" = yes ||
 
4990
         $as_test_x conftest$ac_exeext
 
4991
       }; then
4847
4992
  eval "$as_ac_Lib=yes"
4848
4993
else
4849
 
  echo "$as_me: failed program was:" >&5
 
4994
  $as_echo "$as_me: failed program was:" >&5
4850
4995
sed 's/^/| /' conftest.$ac_ext >&5
4851
4996
 
4852
4997
        eval "$as_ac_Lib=no"
4853
4998
fi
4854
4999
 
 
5000
rm -rf conftest.dSYM
4855
5001
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4856
5002
      conftest$ac_exeext conftest.$ac_ext
4857
5003
LIBS=$ac_check_lib_save_LIBS
4858
5004
fi
4859
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
4860
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4861
 
echo "${ECHO_T}$ac_res" >&6; }
4862
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
5005
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
5006
                 $as_echo "$as_val"'`
 
5007
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5008
$as_echo "$ac_res" >&6; }
 
5009
as_val=`eval 'as_val=${'$as_ac_Lib'}
 
5010
                 $as_echo "$as_val"'`
 
5011
   if test "x$as_val" = x""yes; then
4863
5012
  cat >>confdefs.h <<_ACEOF
4864
 
#define `echo "HAVE_LIB$i" | $as_tr_cpp` 1
 
5013
#define `$as_echo "HAVE_LIB$i" | $as_tr_cpp` 1
4865
5014
_ACEOF
4866
5015
 
4867
5016
  LIBS="-l$i $LIBS"
4875
5024
    for i in ncurses curses; do
4876
5025
        if test x$LIBS = x; then
4877
5026
 
4878
 
as_ac_Lib=`echo "ac_cv_lib_$i''_wgetch" | $as_tr_sh`
4879
 
{ echo "$as_me:$LINENO: checking for wgetch in -l$i" >&5
4880
 
echo $ECHO_N "checking for wgetch in -l$i... $ECHO_C" >&6; }
 
5027
as_ac_Lib=`$as_echo "ac_cv_lib_$i''_wgetch" | $as_tr_sh`
 
5028
{ $as_echo "$as_me:$LINENO: checking for wgetch in -l$i" >&5
 
5029
$as_echo_n "checking for wgetch in -l$i... " >&6; }
4881
5030
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
4882
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5031
  $as_echo_n "(cached) " >&6
4883
5032
else
4884
5033
  ac_check_lib_save_LIBS=$LIBS
4885
5034
LIBS="-l$i $TERMLIBS $LIBS"
4911
5060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4912
5061
  *) ac_try_echo=$ac_try;;
4913
5062
esac
4914
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5063
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5064
$as_echo "$ac_try_echo") >&5
4915
5065
  (eval "$ac_link") 2>conftest.er1
4916
5066
  ac_status=$?
4917
5067
  grep -v '^ *+' conftest.er1 >conftest.err
4918
5068
  rm -f conftest.er1
4919
5069
  cat conftest.err >&5
4920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5070
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921
5071
  (exit $ac_status); } && {
4922
5072
         test -z "$ac_c_werror_flag" ||
4923
5073
         test ! -s conftest.err
4924
 
       } && test -s conftest$ac_exeext &&
4925
 
       $as_test_x conftest$ac_exeext; then
 
5074
       } && test -s conftest$ac_exeext && {
 
5075
         test "$cross_compiling" = yes ||
 
5076
         $as_test_x conftest$ac_exeext
 
5077
       }; then
4926
5078
  eval "$as_ac_Lib=yes"
4927
5079
else
4928
 
  echo "$as_me: failed program was:" >&5
 
5080
  $as_echo "$as_me: failed program was:" >&5
4929
5081
sed 's/^/| /' conftest.$ac_ext >&5
4930
5082
 
4931
5083
        eval "$as_ac_Lib=no"
4932
5084
fi
4933
5085
 
 
5086
rm -rf conftest.dSYM
4934
5087
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4935
5088
      conftest$ac_exeext conftest.$ac_ext
4936
5089
LIBS=$ac_check_lib_save_LIBS
4937
5090
fi
4938
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
4939
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4940
 
echo "${ECHO_T}$ac_res" >&6; }
4941
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
5091
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
5092
                 $as_echo "$as_val"'`
 
5093
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5094
$as_echo "$ac_res" >&6; }
 
5095
as_val=`eval 'as_val=${'$as_ac_Lib'}
 
5096
                 $as_echo "$as_val"'`
 
5097
   if test "x$as_val" = x""yes; then
4942
5098
  cat >>confdefs.h <<_ACEOF
4943
 
#define `echo "HAVE_LIB$i" | $as_tr_cpp` 1
 
5099
#define `$as_echo "HAVE_LIB$i" | $as_tr_cpp` 1
4944
5100
_ACEOF
4945
5101
 
4946
5102
  LIBS="-l$i $LIBS"
4950
5106
        else :; fi
4951
5107
    done
4952
5108
    SHARED_LIBS="$LIBS $TERMLIBS -lc"
4953
 
    LIBS=$SAVELIBS ;;
 
5109
    LIBS="$LIBS $SAVELIBS" ;;
4954
5110
esac
 
5111
fi
4955
5112
 
4956
5113
GPMXTERM=
4957
5114
 
5000
5157
    case $ac_val in #(
5001
5158
    *${as_nl}*)
5002
5159
      case $ac_var in #(
5003
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5004
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
5160
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
5161
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5005
5162
      esac
5006
5163
      case $ac_var in #(
5007
5164
      _ | IFS | as_nl) ;; #(
 
5165
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5008
5166
      *) $as_unset $ac_var ;;
5009
5167
      esac ;;
5010
5168
    esac
5037
5195
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5038
5196
  if test -w "$cache_file"; then
5039
5197
    test "x$cache_file" != "x/dev/null" &&
5040
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5041
 
echo "$as_me: updating cache $cache_file" >&6;}
 
5198
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
5199
$as_echo "$as_me: updating cache $cache_file" >&6;}
5042
5200
    cat confcache >$cache_file
5043
5201
  else
5044
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5045
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
5202
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
5203
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5046
5204
  fi
5047
5205
fi
5048
5206
rm -f confcache
5058
5216
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5059
5217
  # 1. Remove the extension, and $U if already installed.
5060
5218
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5061
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
5219
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5062
5220
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5063
5221
  #    will be set to the directory where LIBOBJS objects are built.
5064
5222
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5071
5229
 
5072
5230
 
5073
5231
: ${CONFIG_STATUS=./config.status}
 
5232
ac_write_fail=0
5074
5233
ac_clean_files_save=$ac_clean_files
5075
5234
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5076
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5077
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5078
 
cat >$CONFIG_STATUS <<_ACEOF
 
5235
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
5236
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
5237
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5079
5238
#! $SHELL
5080
5239
# Generated by $as_me.
5081
5240
# Run this file to recreate the current configuration.
5088
5247
SHELL=\${CONFIG_SHELL-$SHELL}
5089
5248
_ACEOF
5090
5249
 
5091
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5250
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5092
5251
## --------------------- ##
5093
5252
## M4sh Initialization.  ##
5094
5253
## --------------------- ##
5098
5257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5099
5258
  emulate sh
5100
5259
  NULLCMD=:
5101
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
5260
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5102
5261
  # is contrary to our usage.  Disable this feature.
5103
5262
  alias -g '${1+"$@"}'='"$@"'
5104
5263
  setopt NO_GLOB_SUBST
5120
5279
as_cr_digits='0123456789'
5121
5280
as_cr_alnum=$as_cr_Letters$as_cr_digits
5122
5281
 
 
5282
as_nl='
 
5283
'
 
5284
export as_nl
 
5285
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
5286
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5287
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
5288
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
5289
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
5290
  as_echo='printf %s\n'
 
5291
  as_echo_n='printf %s'
 
5292
else
 
5293
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
5294
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
5295
    as_echo_n='/usr/ucb/echo -n'
 
5296
  else
 
5297
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
5298
    as_echo_n_body='eval
 
5299
      arg=$1;
 
5300
      case $arg in
 
5301
      *"$as_nl"*)
 
5302
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
5303
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
5304
      esac;
 
5305
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
5306
    '
 
5307
    export as_echo_n_body
 
5308
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
5309
  fi
 
5310
  export as_echo_body
 
5311
  as_echo='sh -c $as_echo_body as_echo'
 
5312
fi
 
5313
 
5123
5314
# The user is always right.
5124
5315
if test "${PATH_SEPARATOR+set}" != set; then
5125
 
  echo "#! /bin/sh" >conf$$.sh
5126
 
  echo  "exit 0"   >>conf$$.sh
5127
 
  chmod +x conf$$.sh
5128
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5129
 
    PATH_SEPARATOR=';'
5130
 
  else
5131
 
    PATH_SEPARATOR=:
5132
 
  fi
5133
 
  rm -f conf$$.sh
 
5316
  PATH_SEPARATOR=:
 
5317
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
5318
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
5319
      PATH_SEPARATOR=';'
 
5320
  }
5134
5321
fi
5135
5322
 
5136
5323
# Support unset when possible.
5146
5333
# there to prevent editors from complaining about space-tab.
5147
5334
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5148
5335
# splitting by setting IFS to empty value.)
5149
 
as_nl='
5150
 
'
5151
5336
IFS=" ""        $as_nl"
5152
5337
 
5153
5338
# Find who we are.  Look in the path if we contain no directory separator.
5170
5355
  as_myself=$0
5171
5356
fi
5172
5357
if test ! -f "$as_myself"; then
5173
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
5358
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5174
5359
  { (exit 1); exit 1; }
5175
5360
fi
5176
5361
 
5183
5368
PS4='+ '
5184
5369
 
5185
5370
# NLS nuisances.
5186
 
for as_var in \
5187
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5188
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5189
 
  LC_TELEPHONE LC_TIME
5190
 
do
5191
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5192
 
    eval $as_var=C; export $as_var
5193
 
  else
5194
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5195
 
  fi
5196
 
done
 
5371
LC_ALL=C
 
5372
export LC_ALL
 
5373
LANGUAGE=C
 
5374
export LANGUAGE
5197
5375
 
5198
5376
# Required to use basename.
5199
5377
if expr a : '\(a\)' >/dev/null 2>&1 &&
5215
5393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5216
5394
         X"$0" : 'X\(//\)$' \| \
5217
5395
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5218
 
echo X/"$0" |
 
5396
$as_echo X/"$0" |
5219
5397
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5220
5398
            s//\1/
5221
5399
            q
5266
5444
      s/-\n.*//
5267
5445
    ' >$as_me.lineno &&
5268
5446
  chmod +x "$as_me.lineno" ||
5269
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
5447
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5270
5448
   { (exit 1); exit 1; }; }
5271
5449
 
5272
5450
  # Don't try to exec as it changes $[0], causing all sort of problems
5294
5472
*)
5295
5473
  ECHO_N='-n';;
5296
5474
esac
5297
 
 
5298
5475
if expr a : '\(a\)' >/dev/null 2>&1 &&
5299
5476
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5300
5477
  as_expr=expr
5307
5484
  rm -f conf$$.dir/conf$$.file
5308
5485
else
5309
5486
  rm -f conf$$.dir
5310
 
  mkdir conf$$.dir
 
5487
  mkdir conf$$.dir 2>/dev/null
5311
5488
fi
5312
 
echo >conf$$.file
5313
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
5314
 
  as_ln_s='ln -s'
5315
 
  # ... but there are two gotchas:
5316
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5317
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5318
 
  # In both cases, we have to default to `cp -p'.
5319
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
5489
if (echo >conf$$.file) 2>/dev/null; then
 
5490
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
5491
    as_ln_s='ln -s'
 
5492
    # ... but there are two gotchas:
 
5493
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
5494
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
5495
    # In both cases, we have to default to `cp -p'.
 
5496
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
5497
      as_ln_s='cp -p'
 
5498
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
5499
    as_ln_s=ln
 
5500
  else
5320
5501
    as_ln_s='cp -p'
5321
 
elif ln conf$$.file conf$$ 2>/dev/null; then
5322
 
  as_ln_s=ln
 
5502
  fi
5323
5503
else
5324
5504
  as_ln_s='cp -p'
5325
5505
fi
5344
5524
  as_test_x='
5345
5525
    eval sh -c '\''
5346
5526
      if test -d "$1"; then
5347
 
        test -d "$1/.";
 
5527
        test -d "$1/.";
5348
5528
      else
5349
5529
        case $1 in
5350
 
        -*)set "./$1";;
 
5530
        -*)set "./$1";;
5351
5531
        esac;
5352
5532
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5353
5533
        ???[sx]*):;;*)false;;esac;fi
5370
5550
# values after options handling.
5371
5551
ac_log="
5372
5552
This file was extended by $as_me, which was
5373
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
5553
generated by GNU Autoconf 2.63.  Invocation command line was
5374
5554
 
5375
5555
  CONFIG_FILES    = $CONFIG_FILES
5376
5556
  CONFIG_HEADERS  = $CONFIG_HEADERS
5383
5563
 
5384
5564
_ACEOF
5385
5565
 
5386
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5566
case $ac_config_files in *"
 
5567
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
5568
esac
 
5569
 
 
5570
case $ac_config_headers in *"
 
5571
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
5572
esac
 
5573
 
 
5574
 
 
5575
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5387
5576
# Files that config.status was made for.
5388
5577
config_files="$ac_config_files"
5389
5578
config_headers="$ac_config_headers"
5390
5579
 
5391
5580
_ACEOF
5392
5581
 
5393
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5582
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5394
5583
ac_cs_usage="\
5395
5584
\`$as_me' instantiates files from templates according to the
5396
5585
current configuration.
5397
5586
 
5398
 
Usage: $0 [OPTIONS] [FILE]...
 
5587
Usage: $0 [OPTION]... [FILE]...
5399
5588
 
5400
5589
  -h, --help       print this help, then exit
5401
5590
  -V, --version    print version number and configuration settings, then exit
5402
 
  -q, --quiet      do not print progress messages
 
5591
  -q, --quiet, --silent
 
5592
                   do not print progress messages
5403
5593
  -d, --debug      don't remove temporary files
5404
5594
      --recheck    update $as_me by reconfiguring in the same conditions
5405
 
  --file=FILE[:TEMPLATE]
5406
 
                   instantiate the configuration file FILE
5407
 
  --header=FILE[:TEMPLATE]
5408
 
                   instantiate the configuration header FILE
 
5595
      --file=FILE[:TEMPLATE]
 
5596
                   instantiate the configuration file FILE
 
5597
      --header=FILE[:TEMPLATE]
 
5598
                   instantiate the configuration header FILE
5409
5599
 
5410
5600
Configuration files:
5411
5601
$config_files
5416
5606
Report bugs to <bug-autoconf@gnu.org>."
5417
5607
 
5418
5608
_ACEOF
5419
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5609
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5420
5610
ac_cs_version="\\
5421
5611
config.status
5422
 
configured by $0, generated by GNU Autoconf 2.61,
5423
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
5612
configured by $0, generated by GNU Autoconf 2.63,
 
5613
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5424
5614
 
5425
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
5615
Copyright (C) 2008 Free Software Foundation, Inc.
5426
5616
This config.status script is free software; the Free Software Foundation
5427
5617
gives unlimited permission to copy, distribute and modify it."
5428
5618
 
5429
5619
ac_pwd='$ac_pwd'
5430
5620
srcdir='$srcdir'
5431
5621
INSTALL='$INSTALL'
 
5622
test -n "\$AWK" || AWK=awk
5432
5623
_ACEOF
5433
5624
 
5434
 
cat >>$CONFIG_STATUS <<\_ACEOF
5435
 
# If no file are specified by the user, then we need to provide default
5436
 
# value.  By we need to know if files were specified by the user.
 
5625
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5626
# The default lists apply if the user does not specify any file.
5437
5627
ac_need_defaults=:
5438
5628
while test $# != 0
5439
5629
do
5455
5645
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5456
5646
    ac_cs_recheck=: ;;
5457
5647
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5458
 
    echo "$ac_cs_version"; exit ;;
 
5648
    $as_echo "$ac_cs_version"; exit ;;
5459
5649
  --debug | --debu | --deb | --de | --d | -d )
5460
5650
    debug=: ;;
5461
5651
  --file | --fil | --fi | --f )
5462
5652
    $ac_shift
5463
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
5653
    case $ac_optarg in
 
5654
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5655
    esac
 
5656
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5464
5657
    ac_need_defaults=false;;
5465
5658
  --header | --heade | --head | --hea )
5466
5659
    $ac_shift
5467
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
5660
    case $ac_optarg in
 
5661
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5662
    esac
 
5663
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5468
5664
    ac_need_defaults=false;;
5469
5665
  --he | --h)
5470
5666
    # Conflict between --help and --header
5471
 
    { echo "$as_me: error: ambiguous option: $1
 
5667
    { $as_echo "$as_me: error: ambiguous option: $1
5472
5668
Try \`$0 --help' for more information." >&2
5473
5669
   { (exit 1); exit 1; }; };;
5474
5670
  --help | --hel | -h )
5475
 
    echo "$ac_cs_usage"; exit ;;
 
5671
    $as_echo "$ac_cs_usage"; exit ;;
5476
5672
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5477
5673
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5478
5674
    ac_cs_silent=: ;;
5479
5675
 
5480
5676
  # This is an error.
5481
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
5677
  -*) { $as_echo "$as_me: error: unrecognized option: $1
5482
5678
Try \`$0 --help' for more information." >&2
5483
5679
   { (exit 1); exit 1; }; } ;;
5484
5680
 
5497
5693
fi
5498
5694
 
5499
5695
_ACEOF
5500
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5696
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5501
5697
if \$ac_cs_recheck; then
5502
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5503
 
  CONFIG_SHELL=$SHELL
 
5698
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5699
  shift
 
5700
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
5701
  CONFIG_SHELL='$SHELL'
5504
5702
  export CONFIG_SHELL
5505
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5703
  exec "\$@"
5506
5704
fi
5507
5705
 
5508
5706
_ACEOF
5509
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5707
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5510
5708
exec 5>>config.log
5511
5709
{
5512
5710
  echo
5513
5711
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5514
5712
## Running $as_me. ##
5515
5713
_ASBOX
5516
 
  echo "$ac_log"
 
5714
  $as_echo "$ac_log"
5517
5715
} >&5
5518
5716
 
5519
5717
_ACEOF
5520
 
cat >>$CONFIG_STATUS <<_ACEOF
 
5718
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5521
5719
_ACEOF
5522
5720
 
5523
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5721
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5524
5722
 
5525
5723
# Handling of arguments.
5526
5724
for ac_config_target in $ac_config_targets
5534
5732
    "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
5535
5733
    "doc/doc.gpm") CONFIG_FILES="$CONFIG_FILES doc/doc.gpm" ;;
5536
5734
 
5537
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5538
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
5735
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
5736
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5539
5737
   { (exit 1); exit 1; }; };;
5540
5738
  esac
5541
5739
done
5575
5773
  (umask 077 && mkdir "$tmp")
5576
5774
} ||
5577
5775
{
5578
 
   echo "$me: cannot create a temporary directory in ." >&2
 
5776
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
5579
5777
   { (exit 1); exit 1; }
5580
5778
}
5581
5779
 
5582
 
#
5583
 
# Set up the sed scripts for CONFIG_FILES section.
5584
 
#
5585
 
 
5586
 
# No need to generate the scripts if there are no CONFIG_FILES.
5587
 
# This happens for instance when ./config.status config.h
 
5780
# Set up the scripts for CONFIG_FILES section.
 
5781
# No need to generate them if there are no CONFIG_FILES.
 
5782
# This happens for instance with `./config.status config.h'.
5588
5783
if test -n "$CONFIG_FILES"; then
5589
5784
 
 
5785
 
 
5786
ac_cr='
 
 
b"'"
 
5787
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
5788
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
5789
  ac_cs_awk_cr='\\r'
 
5790
else
 
5791
  ac_cs_awk_cr=$ac_cr
 
5792
fi
 
5793
 
 
5794
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5590
5795
_ACEOF
5591
5796
 
5592
5797
 
5593
 
 
 
5798
{
 
5799
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
5800
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
5801
  echo "_ACEOF"
 
5802
} >conf$$subs.sh ||
 
5803
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
5804
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
5805
   { (exit 1); exit 1; }; }
 
5806
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5594
5807
ac_delim='%!_!# '
5595
5808
for ac_last_try in false false false false false :; do
5596
 
  cat >conf$$subs.sed <<_ACEOF
5597
 
SHELL!$SHELL$ac_delim
5598
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5599
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5600
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5601
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5602
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5603
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5604
 
exec_prefix!$exec_prefix$ac_delim
5605
 
prefix!$prefix$ac_delim
5606
 
program_transform_name!$program_transform_name$ac_delim
5607
 
bindir!$bindir$ac_delim
5608
 
sbindir!$sbindir$ac_delim
5609
 
libexecdir!$libexecdir$ac_delim
5610
 
datarootdir!$datarootdir$ac_delim
5611
 
datadir!$datadir$ac_delim
5612
 
sysconfdir!$sysconfdir$ac_delim
5613
 
sharedstatedir!$sharedstatedir$ac_delim
5614
 
localstatedir!$localstatedir$ac_delim
5615
 
includedir!$includedir$ac_delim
5616
 
oldincludedir!$oldincludedir$ac_delim
5617
 
docdir!$docdir$ac_delim
5618
 
infodir!$infodir$ac_delim
5619
 
htmldir!$htmldir$ac_delim
5620
 
dvidir!$dvidir$ac_delim
5621
 
pdfdir!$pdfdir$ac_delim
5622
 
psdir!$psdir$ac_delim
5623
 
libdir!$libdir$ac_delim
5624
 
localedir!$localedir$ac_delim
5625
 
mandir!$mandir$ac_delim
5626
 
DEFS!$DEFS$ac_delim
5627
 
ECHO_C!$ECHO_C$ac_delim
5628
 
ECHO_N!$ECHO_N$ac_delim
5629
 
ECHO_T!$ECHO_T$ac_delim
5630
 
LIBS!$LIBS$ac_delim
5631
 
build_alias!$build_alias$ac_delim
5632
 
host_alias!$host_alias$ac_delim
5633
 
target_alias!$target_alias$ac_delim
5634
 
CC!$CC$ac_delim
5635
 
CFLAGS!$CFLAGS$ac_delim
5636
 
LDFLAGS!$LDFLAGS$ac_delim
5637
 
CPPFLAGS!$CPPFLAGS$ac_delim
5638
 
ac_ct_CC!$ac_ct_CC$ac_delim
5639
 
EXEEXT!$EXEEXT$ac_delim
5640
 
OBJEXT!$OBJEXT$ac_delim
5641
 
RANLIB!$RANLIB$ac_delim
5642
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5643
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5644
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
5645
 
YACC!$YACC$ac_delim
5646
 
YFLAGS!$YFLAGS$ac_delim
5647
 
LN_S!$LN_S$ac_delim
5648
 
DVIPS!$DVIPS$ac_delim
5649
 
TEXI2HTML!$TEXI2HTML$ac_delim
5650
 
TEX!$TEX$ac_delim
5651
 
TEXINDEX!$TEXINDEX$ac_delim
5652
 
MAKEINFO!$MAKEINFO$ac_delim
5653
 
DIFF!$DIFF$ac_delim
5654
 
SED!$SED$ac_delim
5655
 
emacs!$emacs$ac_delim
5656
 
CPP!$CPP$ac_delim
5657
 
GREP!$GREP$ac_delim
5658
 
EGREP!$EGREP$ac_delim
5659
 
ALLOCA!$ALLOCA$ac_delim
5660
 
GPMXTERM!$GPMXTERM$ac_delim
5661
 
release!$release$ac_delim
5662
 
release_date!$release_date$ac_delim
5663
 
abi_lev!$abi_lev$ac_delim
5664
 
abi_full!$abi_full$ac_delim
5665
 
EMACS!$EMACS$ac_delim
5666
 
ELISP!$ELISP$ac_delim
5667
 
SHLIB!$SHLIB$ac_delim
5668
 
PICFLAGS!$PICFLAGS$ac_delim
5669
 
SOLDFLAGS!$SOLDFLAGS$ac_delim
5670
 
CURSES_OBJS!$CURSES_OBJS$ac_delim
5671
 
SHARED_LIBS!$SHARED_LIBS$ac_delim
5672
 
lispdir!$lispdir$ac_delim
5673
 
LIBOBJS!$LIBOBJS$ac_delim
5674
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
5675
 
_ACEOF
 
5809
  . ./conf$$subs.sh ||
 
5810
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
5811
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
5812
   { (exit 1); exit 1; }; }
5676
5813
 
5677
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
 
5814
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
5815
  if test $ac_delim_n = $ac_delim_num; then
5678
5816
    break
5679
5817
  elif $ac_last_try; then
5680
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5681
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
5818
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
5819
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5682
5820
   { (exit 1); exit 1; }; }
5683
5821
  else
5684
5822
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5685
5823
  fi
5686
5824
done
5687
 
 
5688
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5689
 
if test -n "$ac_eof"; then
5690
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5691
 
  ac_eof=`expr $ac_eof + 1`
5692
 
fi
5693
 
 
5694
 
cat >>$CONFIG_STATUS <<_ACEOF
5695
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5696
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5697
 
_ACEOF
5698
 
sed '
5699
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5700
 
s/^/s,@/; s/!/@,|#_!!_#|/
5701
 
:n
5702
 
t n
5703
 
s/'"$ac_delim"'$/,g/; t
5704
 
s/$/\\/; p
5705
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5706
 
' >>$CONFIG_STATUS <conf$$subs.sed
5707
 
rm -f conf$$subs.sed
5708
 
cat >>$CONFIG_STATUS <<_ACEOF
5709
 
:end
5710
 
s/|#_!!_#|//g
5711
 
CEOF$ac_eof
5712
 
_ACEOF
5713
 
 
 
5825
rm -f conf$$subs.sh
 
5826
 
 
5827
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5828
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5829
_ACEOF
 
5830
sed -n '
 
5831
h
 
5832
s/^/S["/; s/!.*/"]=/
 
5833
p
 
5834
g
 
5835
s/^[^!]*!//
 
5836
:repl
 
5837
t repl
 
5838
s/'"$ac_delim"'$//
 
5839
t delim
 
5840
:nl
 
5841
h
 
5842
s/\(.\{148\}\).*/\1/
 
5843
t more1
 
5844
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
5845
p
 
5846
n
 
5847
b repl
 
5848
:more1
 
5849
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
5850
p
 
5851
g
 
5852
s/.\{148\}//
 
5853
t nl
 
5854
:delim
 
5855
h
 
5856
s/\(.\{148\}\).*/\1/
 
5857
t more2
 
5858
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
5859
p
 
5860
b
 
5861
:more2
 
5862
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
5863
p
 
5864
g
 
5865
s/.\{148\}//
 
5866
t delim
 
5867
' <conf$$subs.awk | sed '
 
5868
/^[^""]/{
 
5869
  N
 
5870
  s/\n//
 
5871
}
 
5872
' >>$CONFIG_STATUS || ac_write_fail=1
 
5873
rm -f conf$$subs.awk
 
5874
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5875
_ACAWK
 
5876
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
5877
  for (key in S) S_is_set[key] = 1
 
5878
  FS = ""
 
5879
 
 
5880
}
 
5881
{
 
5882
  line = $ 0
 
5883
  nfields = split(line, field, "@")
 
5884
  substed = 0
 
5885
  len = length(field[1])
 
5886
  for (i = 2; i < nfields; i++) {
 
5887
    key = field[i]
 
5888
    keylen = length(key)
 
5889
    if (S_is_set[key]) {
 
5890
      value = S[key]
 
5891
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
5892
      len += length(value) + length(field[++i])
 
5893
      substed = 1
 
5894
    } else
 
5895
      len += 1 + keylen
 
5896
  }
 
5897
 
 
5898
  print line
 
5899
}
 
5900
 
 
5901
_ACAWK
 
5902
_ACEOF
 
5903
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5904
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
5905
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
5906
else
 
5907
  cat
 
5908
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
5909
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
5910
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
5911
   { (exit 1); exit 1; }; }
 
5912
_ACEOF
5714
5913
 
5715
5914
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5716
5915
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5727
5926
}'
5728
5927
fi
5729
5928
 
5730
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5929
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5731
5930
fi # test -n "$CONFIG_FILES"
5732
5931
 
5733
 
 
5734
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
 
5932
# Set up the scripts for CONFIG_HEADERS section.
 
5933
# No need to generate them if there are no CONFIG_HEADERS.
 
5934
# This happens for instance with `./config.status Makefile'.
 
5935
if test -n "$CONFIG_HEADERS"; then
 
5936
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
5937
BEGIN {
 
5938
_ACEOF
 
5939
 
 
5940
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
5941
# here-document in config.status, that substitutes the proper values into
 
5942
# config.h.in to produce config.h.
 
5943
 
 
5944
# Create a delimiter string that does not exist in confdefs.h, to ease
 
5945
# handling of long lines.
 
5946
ac_delim='%!_!# '
 
5947
for ac_last_try in false false :; do
 
5948
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
5949
  if test -z "$ac_t"; then
 
5950
    break
 
5951
  elif $ac_last_try; then
 
5952
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
5953
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
5954
   { (exit 1); exit 1; }; }
 
5955
  else
 
5956
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
5957
  fi
 
5958
done
 
5959
 
 
5960
# For the awk script, D is an array of macro values keyed by name,
 
5961
# likewise P contains macro parameters if any.  Preserve backslash
 
5962
# newline sequences.
 
5963
 
 
5964
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
5965
sed -n '
 
5966
s/.\{148\}/&'"$ac_delim"'/g
 
5967
t rset
 
5968
:rset
 
5969
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
5970
t def
 
5971
d
 
5972
:def
 
5973
s/\\$//
 
5974
t bsnl
 
5975
s/["\\]/\\&/g
 
5976
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
5977
D["\1"]=" \3"/p
 
5978
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
5979
d
 
5980
:bsnl
 
5981
s/["\\]/\\&/g
 
5982
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
5983
D["\1"]=" \3\\\\\\n"\\/p
 
5984
t cont
 
5985
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
5986
t cont
 
5987
d
 
5988
:cont
 
5989
n
 
5990
s/.\{148\}/&'"$ac_delim"'/g
 
5991
t clear
 
5992
:clear
 
5993
s/\\$//
 
5994
t bsnlc
 
5995
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
5996
d
 
5997
:bsnlc
 
5998
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
5999
b cont
 
6000
' <confdefs.h | sed '
 
6001
s/'"$ac_delim"'/"\\\
 
6002
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
6003
 
 
6004
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6005
  for (key in D) D_is_set[key] = 1
 
6006
  FS = ""
 
6007
}
 
6008
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
6009
  line = \$ 0
 
6010
  split(line, arg, " ")
 
6011
  if (arg[1] == "#") {
 
6012
    defundef = arg[2]
 
6013
    mac1 = arg[3]
 
6014
  } else {
 
6015
    defundef = substr(arg[1], 2)
 
6016
    mac1 = arg[2]
 
6017
  }
 
6018
  split(mac1, mac2, "(") #)
 
6019
  macro = mac2[1]
 
6020
  prefix = substr(line, 1, index(line, defundef) - 1)
 
6021
  if (D_is_set[macro]) {
 
6022
    # Preserve the white space surrounding the "#".
 
6023
    print prefix "define", macro P[macro] D[macro]
 
6024
    next
 
6025
  } else {
 
6026
    # Replace #undef with comments.  This is necessary, for example,
 
6027
    # in the case of _POSIX_SOURCE, which is predefined and required
 
6028
    # on some systems where configure will not decide to define it.
 
6029
    if (defundef == "undef") {
 
6030
      print "/*", prefix defundef, macro, "*/"
 
6031
      next
 
6032
    }
 
6033
  }
 
6034
}
 
6035
{ print }
 
6036
_ACAWK
 
6037
_ACEOF
 
6038
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6039
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
6040
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
6041
   { (exit 1); exit 1; }; }
 
6042
fi # test -n "$CONFIG_HEADERS"
 
6043
 
 
6044
 
 
6045
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 
6046
shift
 
6047
for ac_tag
5735
6048
do
5736
6049
  case $ac_tag in
5737
6050
  :[FHLC]) ac_mode=$ac_tag; continue;;
5738
6051
  esac
5739
6052
  case $ac_mode$ac_tag in
5740
6053
  :[FHL]*:*);;
5741
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5742
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
6054
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
6055
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5743
6056
   { (exit 1); exit 1; }; };;
5744
6057
  :[FH]-) ac_tag=-:-;;
5745
6058
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5768
6081
           [\\/$]*) false;;
5769
6082
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5770
6083
           esac ||
5771
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5772
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
6084
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
6085
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5773
6086
   { (exit 1); exit 1; }; };;
5774
6087
      esac
5775
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
6088
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
6089
      ac_file_inputs="$ac_file_inputs '$ac_f'"
5776
6090
    done
5777
6091
 
5778
6092
    # Let's still pretend it is `configure' which instantiates (i.e., don't
5779
6093
    # use $as_me), people would be surprised to read:
5780
6094
    #    /* config.h.  Generated by config.status.  */
5781
 
    configure_input="Generated from "`IFS=:
5782
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
6095
    configure_input='Generated from '`
 
6096
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
6097
        `' by configure.'
5783
6098
    if test x"$ac_file" != x-; then
5784
6099
      configure_input="$ac_file.  $configure_input"
5785
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
5786
 
echo "$as_me: creating $ac_file" >&6;}
 
6100
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
6101
$as_echo "$as_me: creating $ac_file" >&6;}
5787
6102
    fi
 
6103
    # Neutralize special characters interpreted by sed in replacement strings.
 
6104
    case $configure_input in #(
 
6105
    *\&* | *\|* | *\\* )
 
6106
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
6107
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
6108
    *) ac_sed_conf_input=$configure_input;;
 
6109
    esac
5788
6110
 
5789
6111
    case $ac_tag in
5790
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
6112
    *:-:* | *:-) cat >"$tmp/stdin" \
 
6113
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6114
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6115
   { (exit 1); exit 1; }; } ;;
5791
6116
    esac
5792
6117
    ;;
5793
6118
  esac
5797
6122
         X"$ac_file" : 'X\(//\)[^/]' \| \
5798
6123
         X"$ac_file" : 'X\(//\)$' \| \
5799
6124
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5800
 
echo X"$ac_file" |
 
6125
$as_echo X"$ac_file" |
5801
6126
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5802
6127
            s//\1/
5803
6128
            q
5823
6148
    as_dirs=
5824
6149
    while :; do
5825
6150
      case $as_dir in #(
5826
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
6151
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5827
6152
      *) as_qdir=$as_dir;;
5828
6153
      esac
5829
6154
      as_dirs="'$as_qdir' $as_dirs"
5832
6157
         X"$as_dir" : 'X\(//\)[^/]' \| \
5833
6158
         X"$as_dir" : 'X\(//\)$' \| \
5834
6159
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5835
 
echo X"$as_dir" |
 
6160
$as_echo X"$as_dir" |
5836
6161
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5837
6162
            s//\1/
5838
6163
            q
5853
6178
      test -d "$as_dir" && break
5854
6179
    done
5855
6180
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5856
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5857
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
6181
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
6182
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5858
6183
   { (exit 1); exit 1; }; }; }
5859
6184
  ac_builddir=.
5860
6185
 
5861
6186
case "$ac_dir" in
5862
6187
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5863
6188
*)
5864
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
6189
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5865
6190
  # A ".." for each directory in $ac_dir_suffix.
5866
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
6191
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5867
6192
  case $ac_top_builddir_sub in
5868
6193
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5869
6194
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5903
6228
  esac
5904
6229
_ACEOF
5905
6230
 
5906
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6231
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5907
6232
# If the template does not know about datarootdir, expand it.
5908
6233
# FIXME: This hack should be removed a few years after 2.60.
5909
6234
ac_datarootdir_hack=; ac_datarootdir_seen=
5910
6235
 
5911
 
case `sed -n '/datarootdir/ {
 
6236
ac_sed_dataroot='
 
6237
/datarootdir/ {
5912
6238
  p
5913
6239
  q
5914
6240
}
5917
6243
/@infodir@/p
5918
6244
/@localedir@/p
5919
6245
/@mandir@/p
5920
 
' $ac_file_inputs` in
 
6246
'
 
6247
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5921
6248
*datarootdir*) ac_datarootdir_seen=yes;;
5922
6249
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5923
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5924
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
6250
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
6251
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5925
6252
_ACEOF
5926
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6253
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5927
6254
  ac_datarootdir_hack='
5928
6255
  s&@datadir@&$datadir&g
5929
6256
  s&@docdir@&$docdir&g
5937
6264
# Neutralize VPATH when `$srcdir' = `.'.
5938
6265
# Shell code in configure.ac might set extrasub.
5939
6266
# FIXME: do we really want to maintain this feature?
5940
 
cat >>$CONFIG_STATUS <<_ACEOF
5941
 
  sed "$ac_vpsub
 
6267
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6268
ac_sed_extra="$ac_vpsub
5942
6269
$extrasub
5943
6270
_ACEOF
5944
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6271
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5945
6272
:t
5946
6273
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5947
 
s&@configure_input@&$configure_input&;t t
 
6274
s|@configure_input@|$ac_sed_conf_input|;t t
5948
6275
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
6276
s&@top_build_prefix@&$ac_top_build_prefix&;t t
5949
6277
s&@srcdir@&$ac_srcdir&;t t
5950
6278
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5951
6279
s&@top_srcdir@&$ac_top_srcdir&;t t
5955
6283
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5956
6284
s&@INSTALL@&$ac_INSTALL&;t t
5957
6285
$ac_datarootdir_hack
5958
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
6286
"
 
6287
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
6288
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6289
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6290
   { (exit 1); exit 1; }; }
5959
6291
 
5960
6292
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5961
6293
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5962
6294
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5963
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6295
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5964
6296
which seems to be undefined.  Please make sure it is defined." >&5
5965
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
6297
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5966
6298
which seems to be undefined.  Please make sure it is defined." >&2;}
5967
6299
 
5968
6300
  rm -f "$tmp/stdin"
5969
6301
  case $ac_file in
5970
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
5971
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5972
 
  esac
 
6302
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
6303
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
6304
  esac \
 
6305
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6306
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6307
   { (exit 1); exit 1; }; }
5973
6308
 ;;
5974
6309
  :H)
5975
6310
  #
5976
6311
  # CONFIG_HEADER
5977
6312
  #
5978
 
_ACEOF
5979
 
 
5980
 
# Transform confdefs.h into a sed script `conftest.defines', that
5981
 
# substitutes the proper values into config.h.in to produce config.h.
5982
 
rm -f conftest.defines conftest.tail
5983
 
# First, append a space to every undef/define line, to ease matching.
5984
 
echo 's/$/ /' >conftest.defines
5985
 
# Then, protect against being on the right side of a sed subst, or in
5986
 
# an unquoted here document, in config.status.  If some macros were
5987
 
# called several times there might be several #defines for the same
5988
 
# symbol, which is useless.  But do not sort them, since the last
5989
 
# AC_DEFINE must be honored.
5990
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5991
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5992
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
5993
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
5994
 
# just an empty string.
5995
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
5996
 
ac_dB='\\)[      (].*,\\1define\\2'
5997
 
ac_dC=' '
5998
 
ac_dD=' ,'
5999
 
 
6000
 
uniq confdefs.h |
6001
 
  sed -n '
6002
 
        t rset
6003
 
        :rset
6004
 
        s/^[     ]*#[    ]*define[       ][      ]*//
6005
 
        t ok
6006
 
        d
6007
 
        :ok
6008
 
        s/[\\&,]/\\&/g
6009
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6010
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6011
 
  ' >>conftest.defines
6012
 
 
6013
 
# Remove the space that was appended to ease matching.
6014
 
# Then replace #undef with comments.  This is necessary, for
6015
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
6016
 
# on some systems where configure will not decide to define it.
6017
 
# (The regexp can be short, since the line contains either #define or #undef.)
6018
 
echo 's/ $//
6019
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
6020
 
 
6021
 
# Break up conftest.defines:
6022
 
ac_max_sed_lines=50
6023
 
 
6024
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6025
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6026
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6027
 
# et cetera.
6028
 
ac_in='$ac_file_inputs'
6029
 
ac_out='"$tmp/out1"'
6030
 
ac_nxt='"$tmp/out2"'
6031
 
 
6032
 
while :
6033
 
do
6034
 
  # Write a here document:
6035
 
    cat >>$CONFIG_STATUS <<_ACEOF
6036
 
    # First, check the format of the line:
6037
 
    cat >"\$tmp/defines.sed" <<\\CEOF
6038
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
6039
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
6040
 
b
6041
 
:def
6042
 
_ACEOF
6043
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6044
 
  echo 'CEOF
6045
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6046
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6047
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6048
 
  grep . conftest.tail >/dev/null || break
6049
 
  rm -f conftest.defines
6050
 
  mv conftest.tail conftest.defines
6051
 
done
6052
 
rm -f conftest.defines conftest.tail
6053
 
 
6054
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
6055
 
cat >>$CONFIG_STATUS <<\_ACEOF
6056
6313
  if test x"$ac_file" != x-; then
6057
 
    echo "/* $configure_input  */" >"$tmp/config.h"
6058
 
    cat "$ac_result" >>"$tmp/config.h"
6059
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6060
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6061
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
6314
    {
 
6315
      $as_echo "/* $configure_input  */" \
 
6316
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
6317
    } >"$tmp/config.h" \
 
6318
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6319
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6320
   { (exit 1); exit 1; }; }
 
6321
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
6322
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
6323
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6062
6324
    else
6063
 
      rm -f $ac_file
6064
 
      mv "$tmp/config.h" $ac_file
 
6325
      rm -f "$ac_file"
 
6326
      mv "$tmp/config.h" "$ac_file" \
 
6327
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6328
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6329
   { (exit 1); exit 1; }; }
6065
6330
    fi
6066
6331
  else
6067
 
    echo "/* $configure_input  */"
6068
 
    cat "$ac_result"
 
6332
    $as_echo "/* $configure_input  */" \
 
6333
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
6334
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
6335
$as_echo "$as_me: error: could not create -" >&2;}
 
6336
   { (exit 1); exit 1; }; }
6069
6337
  fi
6070
 
  rm -f "$tmp/out12"
6071
6338
 ;;
6072
6339
 
6073
6340
 
6081
6348
chmod +x $CONFIG_STATUS
6082
6349
ac_clean_files=$ac_clean_files_save
6083
6350
 
 
6351
test $ac_write_fail = 0 ||
 
6352
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
6353
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
6354
   { (exit 1); exit 1; }; }
 
6355
 
6084
6356
 
6085
6357
# configure is writing to config.log, and then calls config.status.
6086
6358
# config.status does its own redirection, appending to config.log.
6102
6374
  # would make configure fail if this is the last instruction.
6103
6375
  $ac_cs_success || { (exit 1); exit 1; }
6104
6376
fi
 
6377
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
6378
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
6379
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
6380
fi
6105
6381