~maxb/debian/lenny/nullmailer/backport

« back to all changes in this revision

Viewing changes to configure

  • Committer: Max Bowsher
  • Date: 2010-09-27 20:26:31 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: maxb@f2s.com-20100927202631-dlned2r5zdrr8tq1
Tags: 1:1.05-0maxb1~lenny1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61.
 
3
# Generated by GNU Autoconf 2.63.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
9
## --------------------- ##
15
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
16
  emulate sh
17
17
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
19
  # is contrary to our usage.  Disable this feature.
20
20
  alias -g '${1+"$@"}'='"$@"'
21
21
  setopt NO_GLOB_SUBST
37
37
as_cr_digits='0123456789'
38
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
39
 
 
40
as_nl='
 
41
'
 
42
export as_nl
 
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
51
79
fi
52
80
 
53
81
# Support unset when possible.
63
91
# there to prevent editors from complaining about space-tab.
64
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
93
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
94
IFS=" ""        $as_nl"
69
95
 
70
96
# Find who we are.  Look in the path if we contain no directory separator.
87
113
  as_myself=$0
88
114
fi
89
115
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
117
  { (exit 1); exit 1; }
92
118
fi
93
119
 
100
126
PS4='+ '
101
127
 
102
128
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
114
133
 
115
134
# Required to use basename.
116
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
132
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
152
         X"$0" : 'X\(//\)$' \| \
134
153
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
 
154
$as_echo X/"$0" |
136
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
156
            s//\1/
138
157
            q
158
177
  as_have_required=no
159
178
fi
160
179
 
161
 
  if test $as_have_required = yes &&     (eval ":
 
180
  if test $as_have_required = yes &&     (eval ":
162
181
(as_func_return () {
163
182
  (exit \$1)
164
183
}
240
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
260
  emulate sh
242
261
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
244
263
  # is contrary to our usage.  Disable this feature.
245
264
  alias -g '${1+"$@"}'='"$@"'
246
265
  setopt NO_GLOB_SUBST
261
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
281
  emulate sh
263
282
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
284
  # is contrary to our usage.  Disable this feature.
266
285
  alias -g '${1+"$@"}'='"$@"'
267
286
  setopt NO_GLOB_SUBST
341
360
 
342
361
      if test "x$CONFIG_SHELL" != x; then
343
362
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
363
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
364
        done
 
365
        export CONFIG_SHELL
 
366
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
367
fi
349
368
 
350
369
 
413
432
 
414
433
test \$exitcode = 0") || {
415
434
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
 
435
  echo Please tell bug-autoconf@gnu.org about your system,
 
436
  echo including any error possibly output before this message.
 
437
  echo This can help us improve future autoconf versions.
 
438
  echo Configuration will now proceed without shell functions.
419
439
}
420
440
 
421
441
 
451
471
      s/-\n.*//
452
472
    ' >$as_me.lineno &&
453
473
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
475
   { (exit 1); exit 1; }; }
456
476
 
457
477
  # Don't try to exec as it changes $[0], causing all sort of problems
479
499
*)
480
500
  ECHO_N='-n';;
481
501
esac
482
 
 
483
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
504
  as_expr=expr
492
511
  rm -f conf$$.dir/conf$$.file
493
512
else
494
513
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
514
  mkdir conf$$.dir 2>/dev/null
496
515
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
516
if (echo >conf$$.file) 2>/dev/null; then
 
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
518
    as_ln_s='ln -s'
 
519
    # ... but there are two gotchas:
 
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
522
    # In both cases, we have to default to `cp -p'.
 
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
524
      as_ln_s='cp -p'
 
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
526
    as_ln_s=ln
 
527
  else
505
528
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
529
  fi
508
530
else
509
531
  as_ln_s='cp -p'
510
532
fi
529
551
  as_test_x='
530
552
    eval sh -c '\''
531
553
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
554
        test -d "$1/.";
533
555
      else
534
556
        case $1 in
535
 
        -*)set "./$1";;
 
557
        -*)set "./$1";;
536
558
        esac;
537
559
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
560
        ???[sx]*):;;*)false;;esac;fi
613
635
# include <unistd.h>
614
636
#endif"
615
637
 
616
 
ac_subst_vars='SHELL
 
638
ac_subst_vars='LTLIBOBJS
 
639
LIBOBJS
 
640
FDBUF_NO_MYSTRING_FALSE
 
641
FDBUF_NO_MYSTRING_TRUE
 
642
EGREP
 
643
GREP
 
644
CPP
 
645
MKDIR
 
646
RM
 
647
RANLIB
 
648
am__fastdepCXX_FALSE
 
649
am__fastdepCXX_TRUE
 
650
CXXDEPMODE
 
651
ac_ct_CXX
 
652
CXXFLAGS
 
653
CXX
 
654
am__fastdepCC_FALSE
 
655
am__fastdepCC_TRUE
 
656
CCDEPMODE
 
657
AMDEPBACKSLASH
 
658
AMDEP_FALSE
 
659
AMDEP_TRUE
 
660
am__quote
 
661
am__include
 
662
DEPDIR
 
663
OBJEXT
 
664
EXEEXT
 
665
ac_ct_CC
 
666
CPPFLAGS
 
667
LDFLAGS
 
668
CFLAGS
 
669
CC
 
670
am__untar
 
671
am__tar
 
672
AMTAR
 
673
am__leading_dot
 
674
SET_MAKE
 
675
AWK
 
676
mkdir_p
 
677
MKDIR_P
 
678
INSTALL_STRIP_PROGRAM
 
679
STRIP
 
680
install_sh
 
681
MAKEINFO
 
682
AUTOHEADER
 
683
AUTOMAKE
 
684
AUTOCONF
 
685
ACLOCAL
 
686
VERSION
 
687
PACKAGE
 
688
CYGPATH_W
 
689
am__isrc
 
690
INSTALL_DATA
 
691
INSTALL_SCRIPT
 
692
INSTALL_PROGRAM
 
693
target_alias
 
694
host_alias
 
695
build_alias
 
696
LIBS
 
697
ECHO_T
 
698
ECHO_N
 
699
ECHO_C
 
700
DEFS
 
701
mandir
 
702
localedir
 
703
libdir
 
704
psdir
 
705
pdfdir
 
706
dvidir
 
707
htmldir
 
708
infodir
 
709
docdir
 
710
oldincludedir
 
711
includedir
 
712
localstatedir
 
713
sharedstatedir
 
714
sysconfdir
 
715
datadir
 
716
datarootdir
 
717
libexecdir
 
718
sbindir
 
719
bindir
 
720
program_transform_name
 
721
prefix
 
722
exec_prefix
 
723
PACKAGE_BUGREPORT
 
724
PACKAGE_STRING
 
725
PACKAGE_VERSION
 
726
PACKAGE_TARNAME
 
727
PACKAGE_NAME
617
728
PATH_SEPARATOR
618
 
PACKAGE_NAME
619
 
PACKAGE_TARNAME
620
 
PACKAGE_VERSION
621
 
PACKAGE_STRING
622
 
PACKAGE_BUGREPORT
623
 
exec_prefix
624
 
prefix
625
 
program_transform_name
626
 
bindir
627
 
sbindir
628
 
libexecdir
629
 
datarootdir
630
 
datadir
631
 
sysconfdir
632
 
sharedstatedir
633
 
localstatedir
634
 
includedir
635
 
oldincludedir
636
 
docdir
637
 
infodir
638
 
htmldir
639
 
dvidir
640
 
pdfdir
641
 
psdir
642
 
libdir
643
 
localedir
644
 
mandir
645
 
DEFS
646
 
ECHO_C
647
 
ECHO_N
648
 
ECHO_T
649
 
LIBS
650
 
build_alias
651
 
host_alias
652
 
target_alias
653
 
INSTALL_PROGRAM
654
 
INSTALL_SCRIPT
655
 
INSTALL_DATA
656
 
am__isrc
657
 
CYGPATH_W
658
 
PACKAGE
659
 
VERSION
660
 
ACLOCAL
661
 
AUTOCONF
662
 
AUTOMAKE
663
 
AUTOHEADER
664
 
MAKEINFO
665
 
install_sh
666
 
STRIP
667
 
INSTALL_STRIP_PROGRAM
668
 
mkdir_p
669
 
AWK
670
 
SET_MAKE
671
 
am__leading_dot
672
 
AMTAR
673
 
am__tar
674
 
am__untar
675
 
CC
676
 
CFLAGS
677
 
LDFLAGS
678
 
CPPFLAGS
679
 
ac_ct_CC
680
 
EXEEXT
681
 
OBJEXT
682
 
DEPDIR
683
 
am__include
684
 
am__quote
685
 
AMDEP_TRUE
686
 
AMDEP_FALSE
687
 
AMDEPBACKSLASH
688
 
CCDEPMODE
689
 
am__fastdepCC_TRUE
690
 
am__fastdepCC_FALSE
691
 
CXX
692
 
CXXFLAGS
693
 
ac_ct_CXX
694
 
CXXDEPMODE
695
 
am__fastdepCXX_TRUE
696
 
am__fastdepCXX_FALSE
697
 
RANLIB
698
 
RM
699
 
MKDIR
700
 
CPP
701
 
GREP
702
 
EGREP
703
 
FDBUF_NO_MYSTRING_TRUE
704
 
FDBUF_NO_MYSTRING_FALSE
705
 
LIBOBJS
706
 
LTLIBOBJS'
 
729
SHELL'
707
730
ac_subst_files=''
 
731
ac_user_opts='
 
732
enable_option_checking
 
733
enable_dependency_tracking
 
734
'
708
735
      ac_precious_vars='build_alias
709
736
host_alias
710
737
target_alias
722
749
# Initialize some variables set by options.
723
750
ac_init_help=
724
751
ac_init_version=false
 
752
ac_unrecognized_opts=
 
753
ac_unrecognized_sep=
725
754
# The variables have the same names as the options, with
726
755
# dashes changed to underlines.
727
756
cache_file=/dev/null
820
849
    datarootdir=$ac_optarg ;;
821
850
 
822
851
  -disable-* | --disable-*)
823
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
852
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824
853
    # Reject names that are not valid shell variable names.
825
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
826
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
854
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
855
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
827
856
   { (exit 1); exit 1; }; }
828
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
829
 
    eval enable_$ac_feature=no ;;
 
857
    ac_useropt_orig=$ac_useropt
 
858
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
859
    case $ac_user_opts in
 
860
      *"
 
861
"enable_$ac_useropt"
 
862
"*) ;;
 
863
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
864
         ac_unrecognized_sep=', ';;
 
865
    esac
 
866
    eval enable_$ac_useropt=no ;;
830
867
 
831
868
  -docdir | --docdir | --docdi | --doc | --do)
832
869
    ac_prev=docdir ;;
839
876
    dvidir=$ac_optarg ;;
840
877
 
841
878
  -enable-* | --enable-*)
842
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
879
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
843
880
    # Reject names that are not valid shell variable names.
844
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
845
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
881
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
882
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
846
883
   { (exit 1); exit 1; }; }
847
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
848
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
884
    ac_useropt_orig=$ac_useropt
 
885
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
886
    case $ac_user_opts in
 
887
      *"
 
888
"enable_$ac_useropt"
 
889
"*) ;;
 
890
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
891
         ac_unrecognized_sep=', ';;
 
892
    esac
 
893
    eval enable_$ac_useropt=\$ac_optarg ;;
849
894
 
850
895
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
851
896
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1036
1081
    ac_init_version=: ;;
1037
1082
 
1038
1083
  -with-* | --with-*)
1039
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1084
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1040
1085
    # Reject names that are not valid shell variable names.
1041
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1042
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1086
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1087
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1043
1088
   { (exit 1); exit 1; }; }
1044
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1045
 
    eval with_$ac_package=\$ac_optarg ;;
 
1089
    ac_useropt_orig=$ac_useropt
 
1090
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1091
    case $ac_user_opts in
 
1092
      *"
 
1093
"with_$ac_useropt"
 
1094
"*) ;;
 
1095
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1096
         ac_unrecognized_sep=', ';;
 
1097
    esac
 
1098
    eval with_$ac_useropt=\$ac_optarg ;;
1046
1099
 
1047
1100
  -without-* | --without-*)
1048
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1101
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1049
1102
    # Reject names that are not valid shell variable names.
1050
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1051
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1103
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1104
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1052
1105
   { (exit 1); exit 1; }; }
1053
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1054
 
    eval with_$ac_package=no ;;
 
1106
    ac_useropt_orig=$ac_useropt
 
1107
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1108
    case $ac_user_opts in
 
1109
      *"
 
1110
"with_$ac_useropt"
 
1111
"*) ;;
 
1112
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1113
         ac_unrecognized_sep=', ';;
 
1114
    esac
 
1115
    eval with_$ac_useropt=no ;;
1055
1116
 
1056
1117
  --x)
1057
1118
    # Obsolete; use --with-x.
1071
1132
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1072
1133
    x_libraries=$ac_optarg ;;
1073
1134
 
1074
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1135
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1075
1136
Try \`$0 --help' for more information." >&2
1076
1137
   { (exit 1); exit 1; }; }
1077
1138
    ;;
1080
1141
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1081
1142
    # Reject names that are not valid shell variable names.
1082
1143
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1083
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1144
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1084
1145
   { (exit 1); exit 1; }; }
1085
1146
    eval $ac_envvar=\$ac_optarg
1086
1147
    export $ac_envvar ;;
1087
1148
 
1088
1149
  *)
1089
1150
    # FIXME: should be removed in autoconf 3.0.
1090
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1151
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1091
1152
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1092
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1153
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1093
1154
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1094
1155
    ;;
1095
1156
 
1098
1159
 
1099
1160
if test -n "$ac_prev"; then
1100
1161
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1101
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1162
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1102
1163
   { (exit 1); exit 1; }; }
1103
1164
fi
1104
1165
 
1105
 
# Be sure to have absolute directory names.
 
1166
if test -n "$ac_unrecognized_opts"; then
 
1167
  case $enable_option_checking in
 
1168
    no) ;;
 
1169
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1170
   { (exit 1); exit 1; }; } ;;
 
1171
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1172
  esac
 
1173
fi
 
1174
 
 
1175
# Check all directory arguments for consistency.
1106
1176
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1107
1177
                datadir sysconfdir sharedstatedir localstatedir includedir \
1108
1178
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1109
1179
                libdir localedir mandir
1110
1180
do
1111
1181
  eval ac_val=\$$ac_var
 
1182
  # Remove trailing slashes.
 
1183
  case $ac_val in
 
1184
    */ )
 
1185
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1186
      eval $ac_var=\$ac_val;;
 
1187
  esac
 
1188
  # Be sure to have absolute directory names.
1112
1189
  case $ac_val in
1113
1190
    [\\/$]* | ?:[\\/]* )  continue;;
1114
1191
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1115
1192
  esac
1116
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1193
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1117
1194
   { (exit 1); exit 1; }; }
1118
1195
done
1119
1196
 
1128
1205
if test "x$host_alias" != x; then
1129
1206
  if test "x$build_alias" = x; then
1130
1207
    cross_compiling=maybe
1131
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1208
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1132
1209
    If a cross compiler is detected then cross compile mode will be used." >&2
1133
1210
  elif test "x$build_alias" != "x$host_alias"; then
1134
1211
    cross_compiling=yes
1144
1221
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1145
1222
ac_ls_di=`ls -di .` &&
1146
1223
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1147
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1224
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1148
1225
   { (exit 1); exit 1; }; }
1149
1226
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1150
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1227
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1151
1228
   { (exit 1); exit 1; }; }
1152
1229
 
1153
1230
 
1155
1232
if test -z "$srcdir"; then
1156
1233
  ac_srcdir_defaulted=yes
1157
1234
  # Try the directory containing this script, then the parent directory.
1158
 
  ac_confdir=`$as_dirname -- "$0" ||
1159
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1160
 
         X"$0" : 'X\(//\)[^/]' \| \
1161
 
         X"$0" : 'X\(//\)$' \| \
1162
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1163
 
echo X"$0" |
 
1235
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1236
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1237
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1238
         X"$as_myself" : 'X\(//\)$' \| \
 
1239
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1240
$as_echo X"$as_myself" |
1164
1241
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1165
1242
            s//\1/
1166
1243
            q
1187
1264
fi
1188
1265
if test ! -r "$srcdir/$ac_unique_file"; then
1189
1266
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1190
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1267
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1191
1268
   { (exit 1); exit 1; }; }
1192
1269
fi
1193
1270
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1194
1271
ac_abs_confdir=`(
1195
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1272
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1196
1273
   { (exit 1); exit 1; }; }
1197
1274
        pwd)`
1198
1275
# When building in place, set srcdir=.
1241
1318
 
1242
1319
Installation directories:
1243
1320
  --prefix=PREFIX         install architecture-independent files in PREFIX
1244
 
                          [$ac_default_prefix]
 
1321
                          [$ac_default_prefix]
1245
1322
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1246
 
                          [PREFIX]
 
1323
                          [PREFIX]
1247
1324
 
1248
1325
By default, \`make install' will install all the files in
1249
1326
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1253
1330
For better control, use the options below.
1254
1331
 
1255
1332
Fine tuning of the installation directories:
1256
 
  --bindir=DIR           user executables [EPREFIX/bin]
1257
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1258
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1259
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1260
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1261
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1262
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1263
 
  --includedir=DIR       C header files [PREFIX/include]
1264
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1265
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1266
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1267
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1268
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1269
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1270
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1271
 
  --htmldir=DIR          html documentation [DOCDIR]
1272
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1273
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1274
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1333
  --bindir=DIR            user executables [EPREFIX/bin]
 
1334
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1335
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1336
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1337
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1338
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1339
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1340
  --includedir=DIR        C header files [PREFIX/include]
 
1341
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1342
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1343
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1344
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1345
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1346
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1347
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1348
  --htmldir=DIR           html documentation [DOCDIR]
 
1349
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1350
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1351
  --psdir=DIR             ps documentation [DOCDIR]
1275
1352
_ACEOF
1276
1353
 
1277
1354
  cat <<\_ACEOF
1288
1365
  cat <<\_ACEOF
1289
1366
 
1290
1367
Optional Features:
 
1368
  --disable-option-checking  ignore unrecognized --enable/--with options
1291
1369
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1292
1370
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1293
1371
  --disable-dependency-tracking  speeds up one-time build
1315
1393
if test "$ac_init_help" = "recursive"; then
1316
1394
  # If there are subdirs, report their specific --help.
1317
1395
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1318
 
    test -d "$ac_dir" || continue
 
1396
    test -d "$ac_dir" ||
 
1397
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1398
      continue
1319
1399
    ac_builddir=.
1320
1400
 
1321
1401
case "$ac_dir" in
1322
1402
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1323
1403
*)
1324
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1404
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1325
1405
  # A ".." for each directory in $ac_dir_suffix.
1326
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1406
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1327
1407
  case $ac_top_builddir_sub in
1328
1408
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329
1409
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1359
1439
      echo &&
1360
1440
      $SHELL "$ac_srcdir/configure" --help=recursive
1361
1441
    else
1362
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1442
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1363
1443
    fi || ac_status=$?
1364
1444
    cd "$ac_pwd" || { ac_status=$?; break; }
1365
1445
  done
1369
1449
if $ac_init_version; then
1370
1450
  cat <<\_ACEOF
1371
1451
configure
1372
 
generated by GNU Autoconf 2.61
 
1452
generated by GNU Autoconf 2.63
1373
1453
 
1374
1454
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1375
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1455
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1376
1456
This configure script is free software; the Free Software Foundation
1377
1457
gives unlimited permission to copy, distribute and modify it.
1378
1458
_ACEOF
1383
1463
running configure, to aid debugging if configure makes a mistake.
1384
1464
 
1385
1465
It was created by $as_me, which was
1386
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1466
generated by GNU Autoconf 2.63.  Invocation command line was
1387
1467
 
1388
1468
  $ $0 $@
1389
1469
 
1419
1499
do
1420
1500
  IFS=$as_save_IFS
1421
1501
  test -z "$as_dir" && as_dir=.
1422
 
  echo "PATH: $as_dir"
 
1502
  $as_echo "PATH: $as_dir"
1423
1503
done
1424
1504
IFS=$as_save_IFS
1425
1505
 
1454
1534
    | -silent | --silent | --silen | --sile | --sil)
1455
1535
      continue ;;
1456
1536
    *\'*)
1457
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1537
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1458
1538
    esac
1459
1539
    case $ac_pass in
1460
1540
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1506
1586
    case $ac_val in #(
1507
1587
    *${as_nl}*)
1508
1588
      case $ac_var in #(
1509
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1510
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1589
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1590
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1511
1591
      esac
1512
1592
      case $ac_var in #(
1513
1593
      _ | IFS | as_nl) ;; #(
 
1594
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1514
1595
      *) $as_unset $ac_var ;;
1515
1596
      esac ;;
1516
1597
    esac
1540
1621
    do
1541
1622
      eval ac_val=\$$ac_var
1542
1623
      case $ac_val in
1543
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1624
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1544
1625
      esac
1545
 
      echo "$ac_var='\''$ac_val'\''"
 
1626
      $as_echo "$ac_var='\''$ac_val'\''"
1546
1627
    done | sort
1547
1628
    echo
1548
1629
 
1557
1638
      do
1558
1639
        eval ac_val=\$$ac_var
1559
1640
        case $ac_val in
1560
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1641
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1561
1642
        esac
1562
 
        echo "$ac_var='\''$ac_val'\''"
 
1643
        $as_echo "$ac_var='\''$ac_val'\''"
1563
1644
      done | sort
1564
1645
      echo
1565
1646
    fi
1575
1656
      echo
1576
1657
    fi
1577
1658
    test "$ac_signal" != 0 &&
1578
 
      echo "$as_me: caught signal $ac_signal"
1579
 
    echo "$as_me: exit $exit_status"
 
1659
      $as_echo "$as_me: caught signal $ac_signal"
 
1660
    $as_echo "$as_me: exit $exit_status"
1580
1661
  } >&5
1581
1662
  rm -f core *.core core.conftest.* &&
1582
1663
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1618
1699
 
1619
1700
 
1620
1701
# Let the site file select an alternate cache file if it wants to.
1621
 
# Prefer explicitly selected file to automatically selected ones.
 
1702
# Prefer an explicitly selected file to automatically selected ones.
 
1703
ac_site_file1=NONE
 
1704
ac_site_file2=NONE
1622
1705
if test -n "$CONFIG_SITE"; then
1623
 
  set x "$CONFIG_SITE"
 
1706
  ac_site_file1=$CONFIG_SITE
1624
1707
elif test "x$prefix" != xNONE; then
1625
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1708
  ac_site_file1=$prefix/share/config.site
 
1709
  ac_site_file2=$prefix/etc/config.site
1626
1710
else
1627
 
  set x "$ac_default_prefix/share/config.site" \
1628
 
        "$ac_default_prefix/etc/config.site"
 
1711
  ac_site_file1=$ac_default_prefix/share/config.site
 
1712
  ac_site_file2=$ac_default_prefix/etc/config.site
1629
1713
fi
1630
 
shift
1631
 
for ac_site_file
 
1714
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1632
1715
do
 
1716
  test "x$ac_site_file" = xNONE && continue
1633
1717
  if test -r "$ac_site_file"; then
1634
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1635
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1718
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1719
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1636
1720
    sed 's/^/| /' "$ac_site_file" >&5
1637
1721
    . "$ac_site_file"
1638
1722
  fi
1642
1726
  # Some versions of bash will fail to source /dev/null (special
1643
1727
  # files actually), so we avoid doing that.
1644
1728
  if test -f "$cache_file"; then
1645
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1646
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1729
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1730
$as_echo "$as_me: loading cache $cache_file" >&6;}
1647
1731
    case $cache_file in
1648
1732
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1649
1733
      *)                      . "./$cache_file";;
1650
1734
    esac
1651
1735
  fi
1652
1736
else
1653
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1654
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1737
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1738
$as_echo "$as_me: creating cache $cache_file" >&6;}
1655
1739
  >$cache_file
1656
1740
fi
1657
1741
 
1665
1749
  eval ac_new_val=\$ac_env_${ac_var}_value
1666
1750
  case $ac_old_set,$ac_new_set in
1667
1751
    set,)
1668
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1669
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1752
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1753
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1670
1754
      ac_cache_corrupted=: ;;
1671
1755
    ,set)
1672
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1673
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1756
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1757
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1674
1758
      ac_cache_corrupted=: ;;
1675
1759
    ,);;
1676
1760
    *)
1677
1761
      if test "x$ac_old_val" != "x$ac_new_val"; then
1678
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1679
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1680
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1681
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1682
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1683
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1684
 
        ac_cache_corrupted=:
 
1762
        # differences in whitespace do not lead to failure.
 
1763
        ac_old_val_w=`echo x $ac_old_val`
 
1764
        ac_new_val_w=`echo x $ac_new_val`
 
1765
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1766
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1767
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1768
          ac_cache_corrupted=:
 
1769
        else
 
1770
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1771
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1772
          eval $ac_var=\$ac_old_val
 
1773
        fi
 
1774
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1775
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1776
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1777
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1685
1778
      fi;;
1686
1779
  esac
1687
1780
  # Pass precious variables to config.status.
1688
1781
  if test "$ac_new_set" = set; then
1689
1782
    case $ac_new_val in
1690
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1783
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1691
1784
    *) ac_arg=$ac_var=$ac_new_val ;;
1692
1785
    esac
1693
1786
    case " $ac_configure_args " in
1697
1790
  fi
1698
1791
done
1699
1792
if $ac_cache_corrupted; then
1700
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1701
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1702
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1703
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1793
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1794
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1795
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1796
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1797
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1798
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1704
1799
   { (exit 1); exit 1; }; }
1705
1800
fi
1706
1801
 
1747
1842
  fi
1748
1843
done
1749
1844
if test -z "$ac_aux_dir"; then
1750
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1751
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1845
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1846
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1752
1847
   { (exit 1); exit 1; }; }
1753
1848
fi
1754
1849
 
1774
1869
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1775
1870
# OS/2's system install, which has a completely different semantic
1776
1871
# ./install, which can be erroneously created by make from ./install.sh.
1777
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1778
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
1872
# Reject install programs that cannot install multiple files.
 
1873
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1874
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1779
1875
if test -z "$INSTALL"; then
1780
1876
if test "${ac_cv_path_install+set}" = set; then
1781
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1877
  $as_echo_n "(cached) " >&6
1782
1878
else
1783
1879
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784
1880
for as_dir in $PATH
1807
1903
            # program-specific install script used by HP pwplus--don't use.
1808
1904
            :
1809
1905
          else
1810
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1811
 
            break 3
 
1906
            rm -rf conftest.one conftest.two conftest.dir
 
1907
            echo one > conftest.one
 
1908
            echo two > conftest.two
 
1909
            mkdir conftest.dir
 
1910
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
1911
              test -s conftest.one && test -s conftest.two &&
 
1912
              test -s conftest.dir/conftest.one &&
 
1913
              test -s conftest.dir/conftest.two
 
1914
            then
 
1915
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1916
              break 3
 
1917
            fi
1812
1918
          fi
1813
1919
        fi
1814
1920
      done
1815
1921
    done
1816
1922
    ;;
1817
1923
esac
 
1924
 
1818
1925
done
1819
1926
IFS=$as_save_IFS
1820
1927
 
 
1928
rm -rf conftest.one conftest.two conftest.dir
1821
1929
 
1822
1930
fi
1823
1931
  if test "${ac_cv_path_install+set}" = set; then
1830
1938
    INSTALL=$ac_install_sh
1831
1939
  fi
1832
1940
fi
1833
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1834
 
echo "${ECHO_T}$INSTALL" >&6; }
 
1941
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1942
$as_echo "$INSTALL" >&6; }
1835
1943
 
1836
1944
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1837
1945
# It thinks the first close brace ends the variable substitution.
1841
1949
 
1842
1950
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1843
1951
 
1844
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1845
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
1952
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1953
$as_echo_n "checking whether build environment is sane... " >&6; }
1846
1954
# Just in case
1847
1955
sleep 1
1848
1956
echo timestamp > conftest.file
1865
1973
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1866
1974
      # broken ls alias from the environment.  This has actually
1867
1975
      # happened.  Such a system could not be considered "sane".
1868
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
1976
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1869
1977
alias in your environment" >&5
1870
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
1978
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1871
1979
alias in your environment" >&2;}
1872
1980
   { (exit 1); exit 1; }; }
1873
1981
   fi
1878
1986
   # Ok.
1879
1987
   :
1880
1988
else
1881
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
1989
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1882
1990
Check your system clock" >&5
1883
 
echo "$as_me: error: newly created file is older than distributed files!
 
1991
$as_echo "$as_me: error: newly created file is older than distributed files!
1884
1992
Check your system clock" >&2;}
1885
1993
   { (exit 1); exit 1; }; }
1886
1994
fi
1887
 
{ echo "$as_me:$LINENO: result: yes" >&5
1888
 
echo "${ECHO_T}yes" >&6; }
 
1995
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
1996
$as_echo "yes" >&6; }
1889
1997
test "$program_prefix" != NONE &&
1890
1998
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1891
1999
# Use a double $ so make ignores it.
1892
2000
test "$program_suffix" != NONE &&
1893
2001
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1894
 
# Double any \ or $.  echo might interpret backslashes.
 
2002
# Double any \ or $.
1895
2003
# By default was `s,x,x', remove it if useless.
1896
 
cat <<\_ACEOF >conftest.sed
1897
 
s/[\\$]/&&/g;s/;s,x,x,$//
1898
 
_ACEOF
1899
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1900
 
rm -f conftest.sed
 
2004
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2005
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1901
2006
 
1902
2007
# expand $ac_aux_dir to an absolute path
1903
2008
am_aux_dir=`cd $ac_aux_dir && pwd`
1908
2013
  am_missing_run="$MISSING --run "
1909
2014
else
1910
2015
  am_missing_run=
1911
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1912
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2016
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2017
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1913
2018
fi
1914
2019
 
1915
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1916
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2020
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2021
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1917
2022
if test -z "$MKDIR_P"; then
1918
2023
  if test "${ac_cv_path_mkdir+set}" = set; then
1919
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2024
  $as_echo_n "(cached) " >&6
1920
2025
else
1921
2026
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922
2027
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1951
2056
    MKDIR_P="$ac_install_sh -d"
1952
2057
  fi
1953
2058
fi
1954
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1955
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2059
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2060
$as_echo "$MKDIR_P" >&6; }
1956
2061
 
1957
2062
mkdir_p="$MKDIR_P"
1958
2063
case $mkdir_p in
1964
2069
do
1965
2070
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1966
2071
set dummy $ac_prog; ac_word=$2
1967
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1968
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2072
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2073
$as_echo_n "checking for $ac_word... " >&6; }
1969
2074
if test "${ac_cv_prog_AWK+set}" = set; then
1970
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2075
  $as_echo_n "(cached) " >&6
1971
2076
else
1972
2077
  if test -n "$AWK"; then
1973
2078
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1980
2085
  for ac_exec_ext in '' $ac_executable_extensions; do
1981
2086
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1982
2087
    ac_cv_prog_AWK="$ac_prog"
1983
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2088
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984
2089
    break 2
1985
2090
  fi
1986
2091
done
1991
2096
fi
1992
2097
AWK=$ac_cv_prog_AWK
1993
2098
if test -n "$AWK"; then
1994
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
1995
 
echo "${ECHO_T}$AWK" >&6; }
 
2099
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2100
$as_echo "$AWK" >&6; }
1996
2101
else
1997
 
  { echo "$as_me:$LINENO: result: no" >&5
1998
 
echo "${ECHO_T}no" >&6; }
 
2102
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2103
$as_echo "no" >&6; }
1999
2104
fi
2000
2105
 
2001
2106
 
2002
2107
  test -n "$AWK" && break
2003
2108
done
2004
2109
 
2005
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2006
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2007
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2110
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2111
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2112
set x ${MAKE-make}
 
2113
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2008
2114
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2009
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2115
  $as_echo_n "(cached) " >&6
2010
2116
else
2011
2117
  cat >conftest.make <<\_ACEOF
2012
2118
SHELL = /bin/sh
2023
2129
rm -f conftest.make
2024
2130
fi
2025
2131
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2026
 
  { echo "$as_me:$LINENO: result: yes" >&5
2027
 
echo "${ECHO_T}yes" >&6; }
 
2132
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2133
$as_echo "yes" >&6; }
2028
2134
  SET_MAKE=
2029
2135
else
2030
 
  { echo "$as_me:$LINENO: result: no" >&5
2031
 
echo "${ECHO_T}no" >&6; }
 
2136
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2137
$as_echo "no" >&6; }
2032
2138
  SET_MAKE="MAKE=${MAKE-make}"
2033
2139
fi
2034
2140
 
2047
2153
  am__isrc=' -I$(srcdir)'
2048
2154
  # test to see if srcdir already configured
2049
2155
  if test -f $srcdir/config.status; then
2050
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2051
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2156
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2157
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2052
2158
   { (exit 1); exit 1; }; }
2053
2159
  fi
2054
2160
fi
2065
2171
 
2066
2172
# Define the identity of the package.
2067
2173
 PACKAGE=nullmailer
2068
 
 VERSION=1.04
 
2174
 VERSION=1.05
2069
2175
 
2070
2176
 
2071
2177
cat >>confdefs.h <<_ACEOF
2103
2209
  if test -n "$ac_tool_prefix"; then
2104
2210
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2105
2211
set dummy ${ac_tool_prefix}strip; ac_word=$2
2106
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2107
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2212
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2213
$as_echo_n "checking for $ac_word... " >&6; }
2108
2214
if test "${ac_cv_prog_STRIP+set}" = set; then
2109
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2215
  $as_echo_n "(cached) " >&6
2110
2216
else
2111
2217
  if test -n "$STRIP"; then
2112
2218
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2119
2225
  for ac_exec_ext in '' $ac_executable_extensions; do
2120
2226
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2121
2227
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2122
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2228
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123
2229
    break 2
2124
2230
  fi
2125
2231
done
2130
2236
fi
2131
2237
STRIP=$ac_cv_prog_STRIP
2132
2238
if test -n "$STRIP"; then
2133
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2134
 
echo "${ECHO_T}$STRIP" >&6; }
 
2239
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2240
$as_echo "$STRIP" >&6; }
2135
2241
else
2136
 
  { echo "$as_me:$LINENO: result: no" >&5
2137
 
echo "${ECHO_T}no" >&6; }
 
2242
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2243
$as_echo "no" >&6; }
2138
2244
fi
2139
2245
 
2140
2246
 
2143
2249
  ac_ct_STRIP=$STRIP
2144
2250
  # Extract the first word of "strip", so it can be a program name with args.
2145
2251
set dummy strip; ac_word=$2
2146
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2147
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2252
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2253
$as_echo_n "checking for $ac_word... " >&6; }
2148
2254
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2149
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2255
  $as_echo_n "(cached) " >&6
2150
2256
else
2151
2257
  if test -n "$ac_ct_STRIP"; then
2152
2258
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2159
2265
  for ac_exec_ext in '' $ac_executable_extensions; do
2160
2266
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161
2267
    ac_cv_prog_ac_ct_STRIP="strip"
2162
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2268
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163
2269
    break 2
2164
2270
  fi
2165
2271
done
2170
2276
fi
2171
2277
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2172
2278
if test -n "$ac_ct_STRIP"; then
2173
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2174
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2279
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2280
$as_echo "$ac_ct_STRIP" >&6; }
2175
2281
else
2176
 
  { echo "$as_me:$LINENO: result: no" >&5
2177
 
echo "${ECHO_T}no" >&6; }
 
2282
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2283
$as_echo "no" >&6; }
2178
2284
fi
2179
2285
 
2180
2286
  if test "x$ac_ct_STRIP" = x; then
2182
2288
  else
2183
2289
    case $cross_compiling:$ac_tool_warned in
2184
2290
yes:)
2185
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2186
 
whose name does not start with the host triplet.  If you think this
2187
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2188
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2189
 
whose name does not start with the host triplet.  If you think this
2190
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2291
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2292
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2191
2293
ac_tool_warned=yes ;;
2192
2294
esac
2193
2295
    STRIP=$ac_ct_STRIP
2213
2315
 
2214
2316
ac_config_headers="$ac_config_headers config.h"
2215
2317
 
2216
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2217
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2218
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2318
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2319
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2320
set x ${MAKE-make}
 
2321
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2219
2322
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2323
  $as_echo_n "(cached) " >&6
2221
2324
else
2222
2325
  cat >conftest.make <<\_ACEOF
2223
2326
SHELL = /bin/sh
2234
2337
rm -f conftest.make
2235
2338
fi
2236
2339
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2237
 
  { echo "$as_me:$LINENO: result: yes" >&5
2238
 
echo "${ECHO_T}yes" >&6; }
 
2340
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2341
$as_echo "yes" >&6; }
2239
2342
  SET_MAKE=
2240
2343
else
2241
 
  { echo "$as_me:$LINENO: result: no" >&5
2242
 
echo "${ECHO_T}no" >&6; }
 
2344
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2345
$as_echo "no" >&6; }
2243
2346
  SET_MAKE="MAKE=${MAKE-make}"
2244
2347
fi
2245
2348
 
2252
2355
if test -n "$ac_tool_prefix"; then
2253
2356
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2254
2357
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2255
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2256
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2358
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2359
$as_echo_n "checking for $ac_word... " >&6; }
2257
2360
if test "${ac_cv_prog_CC+set}" = set; then
2258
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2361
  $as_echo_n "(cached) " >&6
2259
2362
else
2260
2363
  if test -n "$CC"; then
2261
2364
  ac_cv_prog_CC="$CC" # Let the user override the test.
2268
2371
  for ac_exec_ext in '' $ac_executable_extensions; do
2269
2372
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2270
2373
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2271
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2374
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2272
2375
    break 2
2273
2376
  fi
2274
2377
done
2279
2382
fi
2280
2383
CC=$ac_cv_prog_CC
2281
2384
if test -n "$CC"; then
2282
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2283
 
echo "${ECHO_T}$CC" >&6; }
 
2385
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2386
$as_echo "$CC" >&6; }
2284
2387
else
2285
 
  { echo "$as_me:$LINENO: result: no" >&5
2286
 
echo "${ECHO_T}no" >&6; }
 
2388
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2389
$as_echo "no" >&6; }
2287
2390
fi
2288
2391
 
2289
2392
 
2292
2395
  ac_ct_CC=$CC
2293
2396
  # Extract the first word of "gcc", so it can be a program name with args.
2294
2397
set dummy gcc; ac_word=$2
2295
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2296
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2398
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2399
$as_echo_n "checking for $ac_word... " >&6; }
2297
2400
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2401
  $as_echo_n "(cached) " >&6
2299
2402
else
2300
2403
  if test -n "$ac_ct_CC"; then
2301
2404
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2308
2411
  for ac_exec_ext in '' $ac_executable_extensions; do
2309
2412
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2310
2413
    ac_cv_prog_ac_ct_CC="gcc"
2311
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2414
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312
2415
    break 2
2313
2416
  fi
2314
2417
done
2319
2422
fi
2320
2423
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2321
2424
if test -n "$ac_ct_CC"; then
2322
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2323
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2425
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2426
$as_echo "$ac_ct_CC" >&6; }
2324
2427
else
2325
 
  { echo "$as_me:$LINENO: result: no" >&5
2326
 
echo "${ECHO_T}no" >&6; }
 
2428
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2429
$as_echo "no" >&6; }
2327
2430
fi
2328
2431
 
2329
2432
  if test "x$ac_ct_CC" = x; then
2331
2434
  else
2332
2435
    case $cross_compiling:$ac_tool_warned in
2333
2436
yes:)
2334
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2335
 
whose name does not start with the host triplet.  If you think this
2336
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2337
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2338
 
whose name does not start with the host triplet.  If you think this
2339
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2437
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2438
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2340
2439
ac_tool_warned=yes ;;
2341
2440
esac
2342
2441
    CC=$ac_ct_CC
2349
2448
          if test -n "$ac_tool_prefix"; then
2350
2449
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2351
2450
set dummy ${ac_tool_prefix}cc; ac_word=$2
2352
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2353
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2451
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2452
$as_echo_n "checking for $ac_word... " >&6; }
2354
2453
if test "${ac_cv_prog_CC+set}" = set; then
2355
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2454
  $as_echo_n "(cached) " >&6
2356
2455
else
2357
2456
  if test -n "$CC"; then
2358
2457
  ac_cv_prog_CC="$CC" # Let the user override the test.
2365
2464
  for ac_exec_ext in '' $ac_executable_extensions; do
2366
2465
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2367
2466
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2368
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2467
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369
2468
    break 2
2370
2469
  fi
2371
2470
done
2376
2475
fi
2377
2476
CC=$ac_cv_prog_CC
2378
2477
if test -n "$CC"; then
2379
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2380
 
echo "${ECHO_T}$CC" >&6; }
 
2478
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2479
$as_echo "$CC" >&6; }
2381
2480
else
2382
 
  { echo "$as_me:$LINENO: result: no" >&5
2383
 
echo "${ECHO_T}no" >&6; }
 
2481
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2482
$as_echo "no" >&6; }
2384
2483
fi
2385
2484
 
2386
2485
 
2389
2488
if test -z "$CC"; then
2390
2489
  # Extract the first word of "cc", so it can be a program name with args.
2391
2490
set dummy cc; ac_word=$2
2392
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2393
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2491
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2492
$as_echo_n "checking for $ac_word... " >&6; }
2394
2493
if test "${ac_cv_prog_CC+set}" = set; then
2395
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2494
  $as_echo_n "(cached) " >&6
2396
2495
else
2397
2496
  if test -n "$CC"; then
2398
2497
  ac_cv_prog_CC="$CC" # Let the user override the test.
2410
2509
       continue
2411
2510
     fi
2412
2511
    ac_cv_prog_CC="cc"
2413
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2512
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2414
2513
    break 2
2415
2514
  fi
2416
2515
done
2433
2532
fi
2434
2533
CC=$ac_cv_prog_CC
2435
2534
if test -n "$CC"; then
2436
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2437
 
echo "${ECHO_T}$CC" >&6; }
 
2535
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2536
$as_echo "$CC" >&6; }
2438
2537
else
2439
 
  { echo "$as_me:$LINENO: result: no" >&5
2440
 
echo "${ECHO_T}no" >&6; }
 
2538
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2539
$as_echo "no" >&6; }
2441
2540
fi
2442
2541
 
2443
2542
 
2448
2547
  do
2449
2548
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2450
2549
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2451
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2452
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2550
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2551
$as_echo_n "checking for $ac_word... " >&6; }
2453
2552
if test "${ac_cv_prog_CC+set}" = set; then
2454
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2553
  $as_echo_n "(cached) " >&6
2455
2554
else
2456
2555
  if test -n "$CC"; then
2457
2556
  ac_cv_prog_CC="$CC" # Let the user override the test.
2464
2563
  for ac_exec_ext in '' $ac_executable_extensions; do
2465
2564
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466
2565
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2467
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2566
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2468
2567
    break 2
2469
2568
  fi
2470
2569
done
2475
2574
fi
2476
2575
CC=$ac_cv_prog_CC
2477
2576
if test -n "$CC"; then
2478
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2479
 
echo "${ECHO_T}$CC" >&6; }
 
2577
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2578
$as_echo "$CC" >&6; }
2480
2579
else
2481
 
  { echo "$as_me:$LINENO: result: no" >&5
2482
 
echo "${ECHO_T}no" >&6; }
 
2580
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2581
$as_echo "no" >&6; }
2483
2582
fi
2484
2583
 
2485
2584
 
2492
2591
do
2493
2592
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2494
2593
set dummy $ac_prog; ac_word=$2
2495
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2496
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2594
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2595
$as_echo_n "checking for $ac_word... " >&6; }
2497
2596
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2498
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2597
  $as_echo_n "(cached) " >&6
2499
2598
else
2500
2599
  if test -n "$ac_ct_CC"; then
2501
2600
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2508
2607
  for ac_exec_ext in '' $ac_executable_extensions; do
2509
2608
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2510
2609
    ac_cv_prog_ac_ct_CC="$ac_prog"
2511
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2610
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2512
2611
    break 2
2513
2612
  fi
2514
2613
done
2519
2618
fi
2520
2619
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2521
2620
if test -n "$ac_ct_CC"; then
2522
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2523
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2621
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2622
$as_echo "$ac_ct_CC" >&6; }
2524
2623
else
2525
 
  { echo "$as_me:$LINENO: result: no" >&5
2526
 
echo "${ECHO_T}no" >&6; }
 
2624
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2625
$as_echo "no" >&6; }
2527
2626
fi
2528
2627
 
2529
2628
 
2535
2634
  else
2536
2635
    case $cross_compiling:$ac_tool_warned in
2537
2636
yes:)
2538
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2539
 
whose name does not start with the host triplet.  If you think this
2540
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2541
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2542
 
whose name does not start with the host triplet.  If you think this
2543
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2637
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2638
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2544
2639
ac_tool_warned=yes ;;
2545
2640
esac
2546
2641
    CC=$ac_ct_CC
2550
2645
fi
2551
2646
 
2552
2647
 
2553
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2648
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2649
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2650
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2554
2651
See \`config.log' for more details." >&5
2555
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2652
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2556
2653
See \`config.log' for more details." >&2;}
2557
 
   { (exit 1); exit 1; }; }
 
2654
   { (exit 1); exit 1; }; }; }
2558
2655
 
2559
2656
# Provide some information about the compiler.
2560
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2561
 
ac_compiler=`set X $ac_compile; echo $2`
 
2657
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2658
set X $ac_compile
 
2659
ac_compiler=$2
2562
2660
{ (ac_try="$ac_compiler --version >&5"
2563
2661
case "(($ac_try" in
2564
2662
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565
2663
  *) ac_try_echo=$ac_try;;
2566
2664
esac
2567
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2665
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2666
$as_echo "$ac_try_echo") >&5
2568
2667
  (eval "$ac_compiler --version >&5") 2>&5
2569
2668
  ac_status=$?
2570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2669
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571
2670
  (exit $ac_status); }
2572
2671
{ (ac_try="$ac_compiler -v >&5"
2573
2672
case "(($ac_try" in
2574
2673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575
2674
  *) ac_try_echo=$ac_try;;
2576
2675
esac
2577
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2676
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2677
$as_echo "$ac_try_echo") >&5
2578
2678
  (eval "$ac_compiler -v >&5") 2>&5
2579
2679
  ac_status=$?
2580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2680
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581
2681
  (exit $ac_status); }
2582
2682
{ (ac_try="$ac_compiler -V >&5"
2583
2683
case "(($ac_try" in
2584
2684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585
2685
  *) ac_try_echo=$ac_try;;
2586
2686
esac
2587
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2687
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2688
$as_echo "$ac_try_echo") >&5
2588
2689
  (eval "$ac_compiler -V >&5") 2>&5
2589
2690
  ac_status=$?
2590
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2691
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591
2692
  (exit $ac_status); }
2592
2693
 
2593
2694
cat >conftest.$ac_ext <<_ACEOF
2606
2707
}
2607
2708
_ACEOF
2608
2709
ac_clean_files_save=$ac_clean_files
2609
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2710
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2610
2711
# Try to create an executable without -o first, disregard a.out.
2611
2712
# It will help us diagnose broken compilers, and finding out an intuition
2612
2713
# of exeext.
2613
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2614
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2615
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2616
 
#
2617
 
# List of possible output files, starting from the most likely.
2618
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2619
 
# only as a last resort.  b.out is created by i960 compilers.
2620
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2621
 
#
2622
 
# The IRIX 6 linker writes into existing files which may not be
2623
 
# executable, retaining their permissions.  Remove them first so a
2624
 
# subsequent execution test works.
 
2714
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2715
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2716
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2717
 
 
2718
# The possible output files:
 
2719
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2720
 
2625
2721
ac_rmfiles=
2626
2722
for ac_file in $ac_files
2627
2723
do
2628
2724
  case $ac_file in
2629
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2725
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2630
2726
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2631
2727
  esac
2632
2728
done
2637
2733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638
2734
  *) ac_try_echo=$ac_try;;
2639
2735
esac
2640
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2736
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2737
$as_echo "$ac_try_echo") >&5
2641
2738
  (eval "$ac_link_default") 2>&5
2642
2739
  ac_status=$?
2643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2740
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644
2741
  (exit $ac_status); }; then
2645
2742
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2646
2743
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2651
2748
do
2652
2749
  test -f "$ac_file" || continue
2653
2750
  case $ac_file in
2654
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2751
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2655
2752
        ;;
2656
2753
    [ab].out )
2657
2754
        # We found the default executable, but exeext='' is most
2678
2775
  ac_file=''
2679
2776
fi
2680
2777
 
2681
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2682
 
echo "${ECHO_T}$ac_file" >&6; }
 
2778
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2779
$as_echo "$ac_file" >&6; }
2683
2780
if test -z "$ac_file"; then
2684
 
  echo "$as_me: failed program was:" >&5
 
2781
  $as_echo "$as_me: failed program was:" >&5
2685
2782
sed 's/^/| /' conftest.$ac_ext >&5
2686
2783
 
2687
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2784
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2785
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2786
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2688
2787
See \`config.log' for more details." >&5
2689
 
echo "$as_me: error: C compiler cannot create executables
 
2788
$as_echo "$as_me: error: C compiler cannot create executables
2690
2789
See \`config.log' for more details." >&2;}
2691
 
   { (exit 77); exit 77; }; }
 
2790
   { (exit 77); exit 77; }; }; }
2692
2791
fi
2693
2792
 
2694
2793
ac_exeext=$ac_cv_exeext
2695
2794
 
2696
2795
# Check that the compiler produces executables we can run.  If not, either
2697
2796
# the compiler is broken, or we cross compile.
2698
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2699
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2797
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2798
$as_echo_n "checking whether the C compiler works... " >&6; }
2700
2799
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2701
2800
# If not cross compiling, check that we can run a simple program.
2702
2801
if test "$cross_compiling" != yes; then
2705
2804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706
2805
  *) ac_try_echo=$ac_try;;
2707
2806
esac
2708
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2807
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2808
$as_echo "$ac_try_echo") >&5
2709
2809
  (eval "$ac_try") 2>&5
2710
2810
  ac_status=$?
2711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2811
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712
2812
  (exit $ac_status); }; }; then
2713
2813
    cross_compiling=no
2714
2814
  else
2715
2815
    if test "$cross_compiling" = maybe; then
2716
2816
        cross_compiling=yes
2717
2817
    else
2718
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2818
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2819
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2820
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2719
2821
If you meant to cross compile, use \`--host'.
2720
2822
See \`config.log' for more details." >&5
2721
 
echo "$as_me: error: cannot run C compiled programs.
 
2823
$as_echo "$as_me: error: cannot run C compiled programs.
2722
2824
If you meant to cross compile, use \`--host'.
2723
2825
See \`config.log' for more details." >&2;}
2724
 
   { (exit 1); exit 1; }; }
 
2826
   { (exit 1); exit 1; }; }; }
2725
2827
    fi
2726
2828
  fi
2727
2829
fi
2728
 
{ echo "$as_me:$LINENO: result: yes" >&5
2729
 
echo "${ECHO_T}yes" >&6; }
 
2830
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2831
$as_echo "yes" >&6; }
2730
2832
 
2731
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2833
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2732
2834
ac_clean_files=$ac_clean_files_save
2733
2835
# Check that the compiler produces executables we can run.  If not, either
2734
2836
# the compiler is broken, or we cross compile.
2735
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2736
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2737
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2738
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2837
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2838
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2839
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2840
$as_echo "$cross_compiling" >&6; }
2739
2841
 
2740
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2741
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2842
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2843
$as_echo_n "checking for suffix of executables... " >&6; }
2742
2844
if { (ac_try="$ac_link"
2743
2845
case "(($ac_try" in
2744
2846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745
2847
  *) ac_try_echo=$ac_try;;
2746
2848
esac
2747
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2849
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2850
$as_echo "$ac_try_echo") >&5
2748
2851
  (eval "$ac_link") 2>&5
2749
2852
  ac_status=$?
2750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2853
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751
2854
  (exit $ac_status); }; then
2752
2855
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2753
2856
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2756
2859
for ac_file in conftest.exe conftest conftest.*; do
2757
2860
  test -f "$ac_file" || continue
2758
2861
  case $ac_file in
2759
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2862
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2760
2863
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2761
2864
          break;;
2762
2865
    * ) break;;
2763
2866
  esac
2764
2867
done
2765
2868
else
2766
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2869
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2870
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2871
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2767
2872
See \`config.log' for more details." >&5
2768
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2873
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2769
2874
See \`config.log' for more details." >&2;}
2770
 
   { (exit 1); exit 1; }; }
 
2875
   { (exit 1); exit 1; }; }; }
2771
2876
fi
2772
2877
 
2773
2878
rm -f conftest$ac_cv_exeext
2774
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2775
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2879
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2880
$as_echo "$ac_cv_exeext" >&6; }
2776
2881
 
2777
2882
rm -f conftest.$ac_ext
2778
2883
EXEEXT=$ac_cv_exeext
2779
2884
ac_exeext=$EXEEXT
2780
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2781
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2885
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2886
$as_echo_n "checking for suffix of object files... " >&6; }
2782
2887
if test "${ac_cv_objext+set}" = set; then
2783
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2888
  $as_echo_n "(cached) " >&6
2784
2889
else
2785
2890
  cat >conftest.$ac_ext <<_ACEOF
2786
2891
/* confdefs.h.  */
2803
2908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804
2909
  *) ac_try_echo=$ac_try;;
2805
2910
esac
2806
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2911
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2912
$as_echo "$ac_try_echo") >&5
2807
2913
  (eval "$ac_compile") 2>&5
2808
2914
  ac_status=$?
2809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2915
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810
2916
  (exit $ac_status); }; then
2811
2917
  for ac_file in conftest.o conftest.obj conftest.*; do
2812
2918
  test -f "$ac_file" || continue;
2813
2919
  case $ac_file in
2814
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2920
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2815
2921
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2816
2922
       break;;
2817
2923
  esac
2818
2924
done
2819
2925
else
2820
 
  echo "$as_me: failed program was:" >&5
 
2926
  $as_echo "$as_me: failed program was:" >&5
2821
2927
sed 's/^/| /' conftest.$ac_ext >&5
2822
2928
 
2823
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2929
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2930
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2931
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2824
2932
See \`config.log' for more details." >&5
2825
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2933
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2826
2934
See \`config.log' for more details." >&2;}
2827
 
   { (exit 1); exit 1; }; }
 
2935
   { (exit 1); exit 1; }; }; }
2828
2936
fi
2829
2937
 
2830
2938
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2831
2939
fi
2832
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2833
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2940
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2941
$as_echo "$ac_cv_objext" >&6; }
2834
2942
OBJEXT=$ac_cv_objext
2835
2943
ac_objext=$OBJEXT
2836
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2837
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
2944
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2945
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2838
2946
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2839
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2947
  $as_echo_n "(cached) " >&6
2840
2948
else
2841
2949
  cat >conftest.$ac_ext <<_ACEOF
2842
2950
/* confdefs.h.  */
2862
2970
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863
2971
  *) ac_try_echo=$ac_try;;
2864
2972
esac
2865
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2973
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2974
$as_echo "$ac_try_echo") >&5
2866
2975
  (eval "$ac_compile") 2>conftest.er1
2867
2976
  ac_status=$?
2868
2977
  grep -v '^ *+' conftest.er1 >conftest.err
2869
2978
  rm -f conftest.er1
2870
2979
  cat conftest.err >&5
2871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2980
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872
2981
  (exit $ac_status); } && {
2873
2982
         test -z "$ac_c_werror_flag" ||
2874
2983
         test ! -s conftest.err
2875
2984
       } && test -s conftest.$ac_objext; then
2876
2985
  ac_compiler_gnu=yes
2877
2986
else
2878
 
  echo "$as_me: failed program was:" >&5
 
2987
  $as_echo "$as_me: failed program was:" >&5
2879
2988
sed 's/^/| /' conftest.$ac_ext >&5
2880
2989
 
2881
2990
        ac_compiler_gnu=no
2885
2994
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2886
2995
 
2887
2996
fi
2888
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2889
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2890
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2997
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2998
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
2999
if test $ac_compiler_gnu = yes; then
 
3000
  GCC=yes
 
3001
else
 
3002
  GCC=
 
3003
fi
2891
3004
ac_test_CFLAGS=${CFLAGS+set}
2892
3005
ac_save_CFLAGS=$CFLAGS
2893
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2894
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3006
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3007
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2895
3008
if test "${ac_cv_prog_cc_g+set}" = set; then
2896
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3009
  $as_echo_n "(cached) " >&6
2897
3010
else
2898
3011
  ac_save_c_werror_flag=$ac_c_werror_flag
2899
3012
   ac_c_werror_flag=yes
2920
3033
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921
3034
  *) ac_try_echo=$ac_try;;
2922
3035
esac
2923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3036
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3037
$as_echo "$ac_try_echo") >&5
2924
3038
  (eval "$ac_compile") 2>conftest.er1
2925
3039
  ac_status=$?
2926
3040
  grep -v '^ *+' conftest.er1 >conftest.err
2927
3041
  rm -f conftest.er1
2928
3042
  cat conftest.err >&5
2929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3043
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930
3044
  (exit $ac_status); } && {
2931
3045
         test -z "$ac_c_werror_flag" ||
2932
3046
         test ! -s conftest.err
2933
3047
       } && test -s conftest.$ac_objext; then
2934
3048
  ac_cv_prog_cc_g=yes
2935
3049
else
2936
 
  echo "$as_me: failed program was:" >&5
 
3050
  $as_echo "$as_me: failed program was:" >&5
2937
3051
sed 's/^/| /' conftest.$ac_ext >&5
2938
3052
 
2939
3053
        CFLAGS=""
2958
3072
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959
3073
  *) ac_try_echo=$ac_try;;
2960
3074
esac
2961
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3075
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3076
$as_echo "$ac_try_echo") >&5
2962
3077
  (eval "$ac_compile") 2>conftest.er1
2963
3078
  ac_status=$?
2964
3079
  grep -v '^ *+' conftest.er1 >conftest.err
2965
3080
  rm -f conftest.er1
2966
3081
  cat conftest.err >&5
2967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3082
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968
3083
  (exit $ac_status); } && {
2969
3084
         test -z "$ac_c_werror_flag" ||
2970
3085
         test ! -s conftest.err
2971
3086
       } && test -s conftest.$ac_objext; then
2972
3087
  :
2973
3088
else
2974
 
  echo "$as_me: failed program was:" >&5
 
3089
  $as_echo "$as_me: failed program was:" >&5
2975
3090
sed 's/^/| /' conftest.$ac_ext >&5
2976
3091
 
2977
3092
        ac_c_werror_flag=$ac_save_c_werror_flag
2997
3112
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998
3113
  *) ac_try_echo=$ac_try;;
2999
3114
esac
3000
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3115
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3116
$as_echo "$ac_try_echo") >&5
3001
3117
  (eval "$ac_compile") 2>conftest.er1
3002
3118
  ac_status=$?
3003
3119
  grep -v '^ *+' conftest.er1 >conftest.err
3004
3120
  rm -f conftest.er1
3005
3121
  cat conftest.err >&5
3006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3122
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007
3123
  (exit $ac_status); } && {
3008
3124
         test -z "$ac_c_werror_flag" ||
3009
3125
         test ! -s conftest.err
3010
3126
       } && test -s conftest.$ac_objext; then
3011
3127
  ac_cv_prog_cc_g=yes
3012
3128
else
3013
 
  echo "$as_me: failed program was:" >&5
 
3129
  $as_echo "$as_me: failed program was:" >&5
3014
3130
sed 's/^/| /' conftest.$ac_ext >&5
3015
3131
 
3016
3132
 
3025
3141
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026
3142
   ac_c_werror_flag=$ac_save_c_werror_flag
3027
3143
fi
3028
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3029
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3144
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3145
$as_echo "$ac_cv_prog_cc_g" >&6; }
3030
3146
if test "$ac_test_CFLAGS" = set; then
3031
3147
  CFLAGS=$ac_save_CFLAGS
3032
3148
elif test $ac_cv_prog_cc_g = yes; then
3042
3158
    CFLAGS=
3043
3159
  fi
3044
3160
fi
3045
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3046
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3161
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3162
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3047
3163
if test "${ac_cv_prog_cc_c89+set}" = set; then
3048
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3164
  $as_echo_n "(cached) " >&6
3049
3165
else
3050
3166
  ac_cv_prog_cc_c89=no
3051
3167
ac_save_CC=$CC
3116
3232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117
3233
  *) ac_try_echo=$ac_try;;
3118
3234
esac
3119
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3235
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3236
$as_echo "$ac_try_echo") >&5
3120
3237
  (eval "$ac_compile") 2>conftest.er1
3121
3238
  ac_status=$?
3122
3239
  grep -v '^ *+' conftest.er1 >conftest.err
3123
3240
  rm -f conftest.er1
3124
3241
  cat conftest.err >&5
3125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3242
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126
3243
  (exit $ac_status); } && {
3127
3244
         test -z "$ac_c_werror_flag" ||
3128
3245
         test ! -s conftest.err
3129
3246
       } && test -s conftest.$ac_objext; then
3130
3247
  ac_cv_prog_cc_c89=$ac_arg
3131
3248
else
3132
 
  echo "$as_me: failed program was:" >&5
 
3249
  $as_echo "$as_me: failed program was:" >&5
3133
3250
sed 's/^/| /' conftest.$ac_ext >&5
3134
3251
 
3135
3252
 
3145
3262
# AC_CACHE_VAL
3146
3263
case "x$ac_cv_prog_cc_c89" in
3147
3264
  x)
3148
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3149
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3265
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3266
$as_echo "none needed" >&6; } ;;
3150
3267
  xno)
3151
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3152
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3268
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3269
$as_echo "unsupported" >&6; } ;;
3153
3270
  *)
3154
3271
    CC="$CC $ac_cv_prog_cc_c89"
3155
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3156
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3272
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3273
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3157
3274
esac
3158
3275
 
3159
3276
 
3174
3291
.PHONY: am__doit
3175
3292
END
3176
3293
# If we don't find an include directive, just comment out the code.
3177
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3178
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3294
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3295
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3179
3296
am__include="#"
3180
3297
am__quote=
3181
3298
_am_result=none
3202
3319
fi
3203
3320
 
3204
3321
 
3205
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3206
 
echo "${ECHO_T}$_am_result" >&6; }
 
3322
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3323
$as_echo "$_am_result" >&6; }
3207
3324
rm -f confinc confmf
3208
3325
 
3209
3326
# Check whether --enable-dependency-tracking was given.
3227
3344
 
3228
3345
depcc="$CC"   am_compiler_list=
3229
3346
 
3230
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3231
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3347
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3348
$as_echo_n "checking dependency style of $depcc... " >&6; }
3232
3349
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3233
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3350
  $as_echo_n "(cached) " >&6
3234
3351
else
3235
3352
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3236
3353
  # We make a subdir and do the tests there.  Otherwise we can end up
3318
3435
fi
3319
3436
 
3320
3437
fi
3321
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3322
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3438
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3439
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3323
3440
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3324
3441
 
3325
3442
 if
3347
3464
  do
3348
3465
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3349
3466
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3350
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3351
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3467
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3468
$as_echo_n "checking for $ac_word... " >&6; }
3352
3469
if test "${ac_cv_prog_CXX+set}" = set; then
3353
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3470
  $as_echo_n "(cached) " >&6
3354
3471
else
3355
3472
  if test -n "$CXX"; then
3356
3473
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3363
3480
  for ac_exec_ext in '' $ac_executable_extensions; do
3364
3481
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3365
3482
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3366
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3483
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3367
3484
    break 2
3368
3485
  fi
3369
3486
done
3374
3491
fi
3375
3492
CXX=$ac_cv_prog_CXX
3376
3493
if test -n "$CXX"; then
3377
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
3378
 
echo "${ECHO_T}$CXX" >&6; }
 
3494
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
3495
$as_echo "$CXX" >&6; }
3379
3496
else
3380
 
  { echo "$as_me:$LINENO: result: no" >&5
3381
 
echo "${ECHO_T}no" >&6; }
 
3497
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3498
$as_echo "no" >&6; }
3382
3499
fi
3383
3500
 
3384
3501
 
3391
3508
do
3392
3509
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3393
3510
set dummy $ac_prog; ac_word=$2
3394
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3395
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3511
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3512
$as_echo_n "checking for $ac_word... " >&6; }
3396
3513
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3397
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3514
  $as_echo_n "(cached) " >&6
3398
3515
else
3399
3516
  if test -n "$ac_ct_CXX"; then
3400
3517
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3407
3524
  for ac_exec_ext in '' $ac_executable_extensions; do
3408
3525
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409
3526
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3410
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3527
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3411
3528
    break 2
3412
3529
  fi
3413
3530
done
3418
3535
fi
3419
3536
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3420
3537
if test -n "$ac_ct_CXX"; then
3421
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3422
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
3538
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
3539
$as_echo "$ac_ct_CXX" >&6; }
3423
3540
else
3424
 
  { echo "$as_me:$LINENO: result: no" >&5
3425
 
echo "${ECHO_T}no" >&6; }
 
3541
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3542
$as_echo "no" >&6; }
3426
3543
fi
3427
3544
 
3428
3545
 
3434
3551
  else
3435
3552
    case $cross_compiling:$ac_tool_warned in
3436
3553
yes:)
3437
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3438
 
whose name does not start with the host triplet.  If you think this
3439
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3440
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3441
 
whose name does not start with the host triplet.  If you think this
3442
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3554
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3555
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3443
3556
ac_tool_warned=yes ;;
3444
3557
esac
3445
3558
    CXX=$ac_ct_CXX
3449
3562
  fi
3450
3563
fi
3451
3564
# Provide some information about the compiler.
3452
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3453
 
ac_compiler=`set X $ac_compile; echo $2`
 
3565
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
3566
set X $ac_compile
 
3567
ac_compiler=$2
3454
3568
{ (ac_try="$ac_compiler --version >&5"
3455
3569
case "(($ac_try" in
3456
3570
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457
3571
  *) ac_try_echo=$ac_try;;
3458
3572
esac
3459
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3573
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3574
$as_echo "$ac_try_echo") >&5
3460
3575
  (eval "$ac_compiler --version >&5") 2>&5
3461
3576
  ac_status=$?
3462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3577
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463
3578
  (exit $ac_status); }
3464
3579
{ (ac_try="$ac_compiler -v >&5"
3465
3580
case "(($ac_try" in
3466
3581
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467
3582
  *) ac_try_echo=$ac_try;;
3468
3583
esac
3469
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3584
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3585
$as_echo "$ac_try_echo") >&5
3470
3586
  (eval "$ac_compiler -v >&5") 2>&5
3471
3587
  ac_status=$?
3472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3588
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473
3589
  (exit $ac_status); }
3474
3590
{ (ac_try="$ac_compiler -V >&5"
3475
3591
case "(($ac_try" in
3476
3592
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
3593
  *) ac_try_echo=$ac_try;;
3478
3594
esac
3479
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3595
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3596
$as_echo "$ac_try_echo") >&5
3480
3597
  (eval "$ac_compiler -V >&5") 2>&5
3481
3598
  ac_status=$?
3482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3599
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483
3600
  (exit $ac_status); }
3484
3601
 
3485
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3486
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
3602
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
3603
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3487
3604
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3488
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3605
  $as_echo_n "(cached) " >&6
3489
3606
else
3490
3607
  cat >conftest.$ac_ext <<_ACEOF
3491
3608
/* confdefs.h.  */
3511
3628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512
3629
  *) ac_try_echo=$ac_try;;
3513
3630
esac
3514
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3631
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3632
$as_echo "$ac_try_echo") >&5
3515
3633
  (eval "$ac_compile") 2>conftest.er1
3516
3634
  ac_status=$?
3517
3635
  grep -v '^ *+' conftest.er1 >conftest.err
3518
3636
  rm -f conftest.er1
3519
3637
  cat conftest.err >&5
3520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3638
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521
3639
  (exit $ac_status); } && {
3522
3640
         test -z "$ac_cxx_werror_flag" ||
3523
3641
         test ! -s conftest.err
3524
3642
       } && test -s conftest.$ac_objext; then
3525
3643
  ac_compiler_gnu=yes
3526
3644
else
3527
 
  echo "$as_me: failed program was:" >&5
 
3645
  $as_echo "$as_me: failed program was:" >&5
3528
3646
sed 's/^/| /' conftest.$ac_ext >&5
3529
3647
 
3530
3648
        ac_compiler_gnu=no
3534
3652
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3535
3653
 
3536
3654
fi
3537
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3538
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3539
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
3655
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
3656
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
3657
if test $ac_compiler_gnu = yes; then
 
3658
  GXX=yes
 
3659
else
 
3660
  GXX=
 
3661
fi
3540
3662
ac_test_CXXFLAGS=${CXXFLAGS+set}
3541
3663
ac_save_CXXFLAGS=$CXXFLAGS
3542
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3543
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
3664
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
3665
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3544
3666
if test "${ac_cv_prog_cxx_g+set}" = set; then
3545
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3667
  $as_echo_n "(cached) " >&6
3546
3668
else
3547
3669
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3548
3670
   ac_cxx_werror_flag=yes
3569
3691
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570
3692
  *) ac_try_echo=$ac_try;;
3571
3693
esac
3572
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3694
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3695
$as_echo "$ac_try_echo") >&5
3573
3696
  (eval "$ac_compile") 2>conftest.er1
3574
3697
  ac_status=$?
3575
3698
  grep -v '^ *+' conftest.er1 >conftest.err
3576
3699
  rm -f conftest.er1
3577
3700
  cat conftest.err >&5
3578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3701
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579
3702
  (exit $ac_status); } && {
3580
3703
         test -z "$ac_cxx_werror_flag" ||
3581
3704
         test ! -s conftest.err
3582
3705
       } && test -s conftest.$ac_objext; then
3583
3706
  ac_cv_prog_cxx_g=yes
3584
3707
else
3585
 
  echo "$as_me: failed program was:" >&5
 
3708
  $as_echo "$as_me: failed program was:" >&5
3586
3709
sed 's/^/| /' conftest.$ac_ext >&5
3587
3710
 
3588
3711
        CXXFLAGS=""
3607
3730
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608
3731
  *) ac_try_echo=$ac_try;;
3609
3732
esac
3610
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3733
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3734
$as_echo "$ac_try_echo") >&5
3611
3735
  (eval "$ac_compile") 2>conftest.er1
3612
3736
  ac_status=$?
3613
3737
  grep -v '^ *+' conftest.er1 >conftest.err
3614
3738
  rm -f conftest.er1
3615
3739
  cat conftest.err >&5
3616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3740
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617
3741
  (exit $ac_status); } && {
3618
3742
         test -z "$ac_cxx_werror_flag" ||
3619
3743
         test ! -s conftest.err
3620
3744
       } && test -s conftest.$ac_objext; then
3621
3745
  :
3622
3746
else
3623
 
  echo "$as_me: failed program was:" >&5
 
3747
  $as_echo "$as_me: failed program was:" >&5
3624
3748
sed 's/^/| /' conftest.$ac_ext >&5
3625
3749
 
3626
3750
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3646
3770
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647
3771
  *) ac_try_echo=$ac_try;;
3648
3772
esac
3649
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3773
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3774
$as_echo "$ac_try_echo") >&5
3650
3775
  (eval "$ac_compile") 2>conftest.er1
3651
3776
  ac_status=$?
3652
3777
  grep -v '^ *+' conftest.er1 >conftest.err
3653
3778
  rm -f conftest.er1
3654
3779
  cat conftest.err >&5
3655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3780
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656
3781
  (exit $ac_status); } && {
3657
3782
         test -z "$ac_cxx_werror_flag" ||
3658
3783
         test ! -s conftest.err
3659
3784
       } && test -s conftest.$ac_objext; then
3660
3785
  ac_cv_prog_cxx_g=yes
3661
3786
else
3662
 
  echo "$as_me: failed program was:" >&5
 
3787
  $as_echo "$as_me: failed program was:" >&5
3663
3788
sed 's/^/| /' conftest.$ac_ext >&5
3664
3789
 
3665
3790
 
3674
3799
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675
3800
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3676
3801
fi
3677
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3678
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
3802
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
3803
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3679
3804
if test "$ac_test_CXXFLAGS" = set; then
3680
3805
  CXXFLAGS=$ac_save_CXXFLAGS
3681
3806
elif test $ac_cv_prog_cxx_g = yes; then
3699
3824
 
3700
3825
depcc="$CXX"  am_compiler_list=
3701
3826
 
3702
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3703
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3827
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3828
$as_echo_n "checking dependency style of $depcc... " >&6; }
3704
3829
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3705
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3830
  $as_echo_n "(cached) " >&6
3706
3831
else
3707
3832
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3708
3833
  # We make a subdir and do the tests there.  Otherwise we can end up
3790
3915
fi
3791
3916
 
3792
3917
fi
3793
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3794
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
3918
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
3919
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3795
3920
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3796
3921
 
3797
3922
 if
3805
3930
fi
3806
3931
 
3807
3932
 
3808
 
{ echo "$as_me:$LINENO: checking whether ${CXX-g++} accepts -fno-rtti" >&5
3809
 
echo $ECHO_N "checking whether ${CXX-g++} accepts -fno-rtti... $ECHO_C" >&6; }
 
3933
{ $as_echo "$as_me:$LINENO: checking whether ${CXX-g++} accepts -fno-rtti" >&5
 
3934
$as_echo_n "checking whether ${CXX-g++} accepts -fno-rtti... " >&6; }
3810
3935
if test "${local_cv_flag_NO_RTTI+set}" = set; then
3811
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3936
  $as_echo_n "(cached) " >&6
3812
3937
else
3813
3938
  echo >conftest.cc
3814
3939
if ${CXX-g++} ${CXXFLAGS} -c -fno-rtti conftest.cc >/dev/null 2>&1; then
3820
3945
fi
3821
3946
rm -f conftest*
3822
3947
fi
3823
 
{ echo "$as_me:$LINENO: result: $local_cv_flag_NO_RTTI" >&5
3824
 
echo "${ECHO_T}$local_cv_flag_NO_RTTI" >&6; }
 
3948
{ $as_echo "$as_me:$LINENO: result: $local_cv_flag_NO_RTTI" >&5
 
3949
$as_echo "$local_cv_flag_NO_RTTI" >&6; }
3825
3950
test "$local_cv_flag_NO_RTTI" = yes && CXXFLAGS="$CXXFLAGS -fno-rtti"
3826
3951
 
3827
 
{ echo "$as_me:$LINENO: checking whether ${CXX-g++} accepts -fno-exceptions" >&5
3828
 
echo $ECHO_N "checking whether ${CXX-g++} accepts -fno-exceptions... $ECHO_C" >&6; }
 
3952
{ $as_echo "$as_me:$LINENO: checking whether ${CXX-g++} accepts -fno-exceptions" >&5
 
3953
$as_echo_n "checking whether ${CXX-g++} accepts -fno-exceptions... " >&6; }
3829
3954
if test "${local_cv_flag_NO_EXCEPTIONS+set}" = set; then
3830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3955
  $as_echo_n "(cached) " >&6
3831
3956
else
3832
3957
  echo >conftest.cc
3833
3958
if ${CXX-g++} ${CXXFLAGS} -c -fno-exceptions conftest.cc >/dev/null 2>&1; then
3839
3964
fi
3840
3965
rm -f conftest*
3841
3966
fi
3842
 
{ echo "$as_me:$LINENO: result: $local_cv_flag_NO_EXCEPTIONS" >&5
3843
 
echo "${ECHO_T}$local_cv_flag_NO_EXCEPTIONS" >&6; }
 
3967
{ $as_echo "$as_me:$LINENO: result: $local_cv_flag_NO_EXCEPTIONS" >&5
 
3968
$as_echo "$local_cv_flag_NO_EXCEPTIONS" >&6; }
3844
3969
test "$local_cv_flag_NO_EXCEPTIONS" = yes && CXXFLAGS="$CXXFLAGS -fno-exceptions"
3845
3970
 
3846
3971
 
3860
3985
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3861
3986
# OS/2's system install, which has a completely different semantic
3862
3987
# ./install, which can be erroneously created by make from ./install.sh.
3863
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3864
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
3988
# Reject install programs that cannot install multiple files.
 
3989
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3990
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3865
3991
if test -z "$INSTALL"; then
3866
3992
if test "${ac_cv_path_install+set}" = set; then
3867
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3993
  $as_echo_n "(cached) " >&6
3868
3994
else
3869
3995
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870
3996
for as_dir in $PATH
3893
4019
            # program-specific install script used by HP pwplus--don't use.
3894
4020
            :
3895
4021
          else
3896
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3897
 
            break 3
 
4022
            rm -rf conftest.one conftest.two conftest.dir
 
4023
            echo one > conftest.one
 
4024
            echo two > conftest.two
 
4025
            mkdir conftest.dir
 
4026
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
4027
              test -s conftest.one && test -s conftest.two &&
 
4028
              test -s conftest.dir/conftest.one &&
 
4029
              test -s conftest.dir/conftest.two
 
4030
            then
 
4031
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
4032
              break 3
 
4033
            fi
3898
4034
          fi
3899
4035
        fi
3900
4036
      done
3901
4037
    done
3902
4038
    ;;
3903
4039
esac
 
4040
 
3904
4041
done
3905
4042
IFS=$as_save_IFS
3906
4043
 
 
4044
rm -rf conftest.one conftest.two conftest.dir
3907
4045
 
3908
4046
fi
3909
4047
  if test "${ac_cv_path_install+set}" = set; then
3916
4054
    INSTALL=$ac_install_sh
3917
4055
  fi
3918
4056
fi
3919
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3920
 
echo "${ECHO_T}$INSTALL" >&6; }
 
4057
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
4058
$as_echo "$INSTALL" >&6; }
3921
4059
 
3922
4060
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3923
4061
# It thinks the first close brace ends the variable substitution.
3930
4068
if test -n "$ac_tool_prefix"; then
3931
4069
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3932
4070
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3933
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3934
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4071
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4072
$as_echo_n "checking for $ac_word... " >&6; }
3935
4073
if test "${ac_cv_prog_RANLIB+set}" = set; then
3936
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4074
  $as_echo_n "(cached) " >&6
3937
4075
else
3938
4076
  if test -n "$RANLIB"; then
3939
4077
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3946
4084
  for ac_exec_ext in '' $ac_executable_extensions; do
3947
4085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3948
4086
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3949
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4087
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3950
4088
    break 2
3951
4089
  fi
3952
4090
done
3957
4095
fi
3958
4096
RANLIB=$ac_cv_prog_RANLIB
3959
4097
if test -n "$RANLIB"; then
3960
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
3961
 
echo "${ECHO_T}$RANLIB" >&6; }
 
4098
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
4099
$as_echo "$RANLIB" >&6; }
3962
4100
else
3963
 
  { echo "$as_me:$LINENO: result: no" >&5
3964
 
echo "${ECHO_T}no" >&6; }
 
4101
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4102
$as_echo "no" >&6; }
3965
4103
fi
3966
4104
 
3967
4105
 
3970
4108
  ac_ct_RANLIB=$RANLIB
3971
4109
  # Extract the first word of "ranlib", so it can be a program name with args.
3972
4110
set dummy ranlib; ac_word=$2
3973
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3974
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4111
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4112
$as_echo_n "checking for $ac_word... " >&6; }
3975
4113
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3976
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4114
  $as_echo_n "(cached) " >&6
3977
4115
else
3978
4116
  if test -n "$ac_ct_RANLIB"; then
3979
4117
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3986
4124
  for ac_exec_ext in '' $ac_executable_extensions; do
3987
4125
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3988
4126
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3989
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4127
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3990
4128
    break 2
3991
4129
  fi
3992
4130
done
3997
4135
fi
3998
4136
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3999
4137
if test -n "$ac_ct_RANLIB"; then
4000
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4001
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
4138
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
4139
$as_echo "$ac_ct_RANLIB" >&6; }
4002
4140
else
4003
 
  { echo "$as_me:$LINENO: result: no" >&5
4004
 
echo "${ECHO_T}no" >&6; }
 
4141
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4142
$as_echo "no" >&6; }
4005
4143
fi
4006
4144
 
4007
4145
  if test "x$ac_ct_RANLIB" = x; then
4009
4147
  else
4010
4148
    case $cross_compiling:$ac_tool_warned in
4011
4149
yes:)
4012
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4013
 
whose name does not start with the host triplet.  If you think this
4014
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4015
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4016
 
whose name does not start with the host triplet.  If you think this
4017
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4150
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4151
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4018
4152
ac_tool_warned=yes ;;
4019
4153
esac
4020
4154
    RANLIB=$ac_ct_RANLIB
4025
4159
 
4026
4160
# Extract the first word of "strip", so it can be a program name with args.
4027
4161
set dummy strip; ac_word=$2
4028
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4029
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4162
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4163
$as_echo_n "checking for $ac_word... " >&6; }
4030
4164
if test "${ac_cv_path_STRIP+set}" = set; then
4031
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4165
  $as_echo_n "(cached) " >&6
4032
4166
else
4033
4167
  case $STRIP in
4034
4168
  [\\/]* | ?:[\\/]*)
4043
4177
  for ac_exec_ext in '' $ac_executable_extensions; do
4044
4178
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4045
4179
    ac_cv_path_STRIP="$as_dir/$ac_word$ac_exec_ext"
4046
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4180
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4047
4181
    break 2
4048
4182
  fi
4049
4183
done
4055
4189
fi
4056
4190
STRIP=$ac_cv_path_STRIP
4057
4191
if test -n "$STRIP"; then
4058
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
4059
 
echo "${ECHO_T}$STRIP" >&6; }
 
4192
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
4193
$as_echo "$STRIP" >&6; }
4060
4194
else
4061
 
  { echo "$as_me:$LINENO: result: no" >&5
4062
 
echo "${ECHO_T}no" >&6; }
 
4195
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4196
$as_echo "no" >&6; }
4063
4197
fi
4064
4198
 
4065
4199
 
4066
4200
# Extract the first word of "rm", so it can be a program name with args.
4067
4201
set dummy rm; ac_word=$2
4068
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4069
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4202
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4203
$as_echo_n "checking for $ac_word... " >&6; }
4070
4204
if test "${ac_cv_path_RM+set}" = set; then
4071
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4205
  $as_echo_n "(cached) " >&6
4072
4206
else
4073
4207
  case $RM in
4074
4208
  [\\/]* | ?:[\\/]*)
4083
4217
  for ac_exec_ext in '' $ac_executable_extensions; do
4084
4218
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4085
4219
    ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4086
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4220
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4087
4221
    break 2
4088
4222
  fi
4089
4223
done
4095
4229
fi
4096
4230
RM=$ac_cv_path_RM
4097
4231
if test -n "$RM"; then
4098
 
  { echo "$as_me:$LINENO: result: $RM" >&5
4099
 
echo "${ECHO_T}$RM" >&6; }
 
4232
  { $as_echo "$as_me:$LINENO: result: $RM" >&5
 
4233
$as_echo "$RM" >&6; }
4100
4234
else
4101
 
  { echo "$as_me:$LINENO: result: no" >&5
4102
 
echo "${ECHO_T}no" >&6; }
 
4235
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4236
$as_echo "no" >&6; }
4103
4237
fi
4104
4238
 
4105
4239
 
4106
4240
# Extract the first word of "mkdir", so it can be a program name with args.
4107
4241
set dummy mkdir; ac_word=$2
4108
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4109
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4242
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4243
$as_echo_n "checking for $ac_word... " >&6; }
4110
4244
if test "${ac_cv_path_MKDIR+set}" = set; then
4111
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4245
  $as_echo_n "(cached) " >&6
4112
4246
else
4113
4247
  case $MKDIR in
4114
4248
  [\\/]* | ?:[\\/]*)
4123
4257
  for ac_exec_ext in '' $ac_executable_extensions; do
4124
4258
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4125
4259
    ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
4126
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4260
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4127
4261
    break 2
4128
4262
  fi
4129
4263
done
4135
4269
fi
4136
4270
MKDIR=$ac_cv_path_MKDIR
4137
4271
if test -n "$MKDIR"; then
4138
 
  { echo "$as_me:$LINENO: result: $MKDIR" >&5
4139
 
echo "${ECHO_T}$MKDIR" >&6; }
 
4272
  { $as_echo "$as_me:$LINENO: result: $MKDIR" >&5
 
4273
$as_echo "$MKDIR" >&6; }
4140
4274
else
4141
 
  { echo "$as_me:$LINENO: result: no" >&5
4142
 
echo "${ECHO_T}no" >&6; }
 
4275
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4276
$as_echo "no" >&6; }
4143
4277
fi
4144
4278
 
4145
4279
 
4146
4280
 
4147
4281
 
4148
4282
 
4149
 
{ echo "$as_me:$LINENO: checking for socket in -lxnet" >&5
4150
 
echo $ECHO_N "checking for socket in -lxnet... $ECHO_C" >&6; }
 
4283
{ $as_echo "$as_me:$LINENO: checking for socket in -lxnet" >&5
 
4284
$as_echo_n "checking for socket in -lxnet... " >&6; }
4151
4285
if test "${ac_cv_lib_xnet_socket+set}" = set; then
4152
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4286
  $as_echo_n "(cached) " >&6
4153
4287
else
4154
4288
  ac_check_lib_save_LIBS=$LIBS
4155
4289
LIBS="-lxnet  $LIBS"
4181
4315
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182
4316
  *) ac_try_echo=$ac_try;;
4183
4317
esac
4184
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4318
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4319
$as_echo "$ac_try_echo") >&5
4185
4320
  (eval "$ac_link") 2>conftest.er1
4186
4321
  ac_status=$?
4187
4322
  grep -v '^ *+' conftest.er1 >conftest.err
4188
4323
  rm -f conftest.er1
4189
4324
  cat conftest.err >&5
4190
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4325
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191
4326
  (exit $ac_status); } && {
4192
4327
         test -z "$ac_c_werror_flag" ||
4193
4328
         test ! -s conftest.err
4194
 
       } && test -s conftest$ac_exeext &&
4195
 
       $as_test_x conftest$ac_exeext; then
 
4329
       } && test -s conftest$ac_exeext && {
 
4330
         test "$cross_compiling" = yes ||
 
4331
         $as_test_x conftest$ac_exeext
 
4332
       }; then
4196
4333
  ac_cv_lib_xnet_socket=yes
4197
4334
else
4198
 
  echo "$as_me: failed program was:" >&5
 
4335
  $as_echo "$as_me: failed program was:" >&5
4199
4336
sed 's/^/| /' conftest.$ac_ext >&5
4200
4337
 
4201
4338
        ac_cv_lib_xnet_socket=no
4202
4339
fi
4203
4340
 
 
4341
rm -rf conftest.dSYM
4204
4342
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4205
4343
      conftest$ac_exeext conftest.$ac_ext
4206
4344
LIBS=$ac_check_lib_save_LIBS
4207
4345
fi
4208
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_socket" >&5
4209
 
echo "${ECHO_T}$ac_cv_lib_xnet_socket" >&6; }
4210
 
if test $ac_cv_lib_xnet_socket = yes; then
 
4346
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_socket" >&5
 
4347
$as_echo "$ac_cv_lib_xnet_socket" >&6; }
 
4348
if test "x$ac_cv_lib_xnet_socket" = x""yes; then
4211
4349
  cat >>confdefs.h <<_ACEOF
4212
4350
#define HAVE_LIBXNET 1
4213
4351
_ACEOF
4217
4355
fi
4218
4356
 
4219
4357
 
4220
 
{ echo "$as_me:$LINENO: checking for socket in -linet" >&5
4221
 
echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6; }
 
4358
{ $as_echo "$as_me:$LINENO: checking for socket in -linet" >&5
 
4359
$as_echo_n "checking for socket in -linet... " >&6; }
4222
4360
if test "${ac_cv_lib_inet_socket+set}" = set; then
4223
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4361
  $as_echo_n "(cached) " >&6
4224
4362
else
4225
4363
  ac_check_lib_save_LIBS=$LIBS
4226
4364
LIBS="-linet  $LIBS"
4252
4390
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4253
4391
  *) ac_try_echo=$ac_try;;
4254
4392
esac
4255
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4393
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4394
$as_echo "$ac_try_echo") >&5
4256
4395
  (eval "$ac_link") 2>conftest.er1
4257
4396
  ac_status=$?
4258
4397
  grep -v '^ *+' conftest.er1 >conftest.err
4259
4398
  rm -f conftest.er1
4260
4399
  cat conftest.err >&5
4261
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4400
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262
4401
  (exit $ac_status); } && {
4263
4402
         test -z "$ac_c_werror_flag" ||
4264
4403
         test ! -s conftest.err
4265
 
       } && test -s conftest$ac_exeext &&
4266
 
       $as_test_x conftest$ac_exeext; then
 
4404
       } && test -s conftest$ac_exeext && {
 
4405
         test "$cross_compiling" = yes ||
 
4406
         $as_test_x conftest$ac_exeext
 
4407
       }; then
4267
4408
  ac_cv_lib_inet_socket=yes
4268
4409
else
4269
 
  echo "$as_me: failed program was:" >&5
 
4410
  $as_echo "$as_me: failed program was:" >&5
4270
4411
sed 's/^/| /' conftest.$ac_ext >&5
4271
4412
 
4272
4413
        ac_cv_lib_inet_socket=no
4273
4414
fi
4274
4415
 
 
4416
rm -rf conftest.dSYM
4275
4417
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4276
4418
      conftest$ac_exeext conftest.$ac_ext
4277
4419
LIBS=$ac_check_lib_save_LIBS
4278
4420
fi
4279
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5
4280
 
echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6; }
4281
 
if test $ac_cv_lib_inet_socket = yes; then
 
4421
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5
 
4422
$as_echo "$ac_cv_lib_inet_socket" >&6; }
 
4423
if test "x$ac_cv_lib_inet_socket" = x""yes; then
4282
4424
  cat >>confdefs.h <<_ACEOF
4283
4425
#define HAVE_LIBINET 1
4284
4426
_ACEOF
4288
4430
fi
4289
4431
 
4290
4432
 
4291
 
{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4292
 
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
 
4433
{ $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
 
4434
$as_echo_n "checking for socket in -lsocket... " >&6; }
4293
4435
if test "${ac_cv_lib_socket_socket+set}" = set; then
4294
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4436
  $as_echo_n "(cached) " >&6
4295
4437
else
4296
4438
  ac_check_lib_save_LIBS=$LIBS
4297
4439
LIBS="-lsocket  $LIBS"
4323
4465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324
4466
  *) ac_try_echo=$ac_try;;
4325
4467
esac
4326
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4468
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4469
$as_echo "$ac_try_echo") >&5
4327
4470
  (eval "$ac_link") 2>conftest.er1
4328
4471
  ac_status=$?
4329
4472
  grep -v '^ *+' conftest.er1 >conftest.err
4330
4473
  rm -f conftest.er1
4331
4474
  cat conftest.err >&5
4332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4475
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333
4476
  (exit $ac_status); } && {
4334
4477
         test -z "$ac_c_werror_flag" ||
4335
4478
         test ! -s conftest.err
4336
 
       } && test -s conftest$ac_exeext &&
4337
 
       $as_test_x conftest$ac_exeext; then
 
4479
       } && test -s conftest$ac_exeext && {
 
4480
         test "$cross_compiling" = yes ||
 
4481
         $as_test_x conftest$ac_exeext
 
4482
       }; then
4338
4483
  ac_cv_lib_socket_socket=yes
4339
4484
else
4340
 
  echo "$as_me: failed program was:" >&5
 
4485
  $as_echo "$as_me: failed program was:" >&5
4341
4486
sed 's/^/| /' conftest.$ac_ext >&5
4342
4487
 
4343
4488
        ac_cv_lib_socket_socket=no
4344
4489
fi
4345
4490
 
 
4491
rm -rf conftest.dSYM
4346
4492
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4347
4493
      conftest$ac_exeext conftest.$ac_ext
4348
4494
LIBS=$ac_check_lib_save_LIBS
4349
4495
fi
4350
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4351
 
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
4352
 
if test $ac_cv_lib_socket_socket = yes; then
 
4496
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
 
4497
$as_echo "$ac_cv_lib_socket_socket" >&6; }
 
4498
if test "x$ac_cv_lib_socket_socket" = x""yes; then
4353
4499
  cat >>confdefs.h <<_ACEOF
4354
4500
#define HAVE_LIBSOCKET 1
4355
4501
_ACEOF
4366
4512
 
4367
4513
ac_header_dirent=no
4368
4514
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4369
 
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4370
 
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4371
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
 
4515
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 
4516
{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 
4517
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4372
4518
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4373
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4519
  $as_echo_n "(cached) " >&6
4374
4520
else
4375
4521
  cat >conftest.$ac_ext <<_ACEOF
4376
4522
/* confdefs.h.  */
4396
4542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4397
4543
  *) ac_try_echo=$ac_try;;
4398
4544
esac
4399
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4545
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4546
$as_echo "$ac_try_echo") >&5
4400
4547
  (eval "$ac_compile") 2>conftest.er1
4401
4548
  ac_status=$?
4402
4549
  grep -v '^ *+' conftest.er1 >conftest.err
4403
4550
  rm -f conftest.er1
4404
4551
  cat conftest.err >&5
4405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4552
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406
4553
  (exit $ac_status); } && {
4407
4554
         test -z "$ac_c_werror_flag" ||
4408
4555
         test ! -s conftest.err
4409
4556
       } && test -s conftest.$ac_objext; then
4410
4557
  eval "$as_ac_Header=yes"
4411
4558
else
4412
 
  echo "$as_me: failed program was:" >&5
 
4559
  $as_echo "$as_me: failed program was:" >&5
4413
4560
sed 's/^/| /' conftest.$ac_ext >&5
4414
4561
 
4415
4562
        eval "$as_ac_Header=no"
4417
4564
 
4418
4565
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4419
4566
fi
4420
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4421
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4422
 
echo "${ECHO_T}$ac_res" >&6; }
4423
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4567
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4568
                 $as_echo "$as_val"'`
 
4569
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4570
$as_echo "$ac_res" >&6; }
 
4571
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4572
                 $as_echo "$as_val"'`
 
4573
   if test "x$as_val" = x""yes; then
4424
4574
  cat >>confdefs.h <<_ACEOF
4425
 
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 
4575
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4426
4576
_ACEOF
4427
4577
 
4428
4578
ac_header_dirent=$ac_hdr; break
4431
4581
done
4432
4582
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4433
4583
if test $ac_header_dirent = dirent.h; then
4434
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4435
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
4584
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
4585
$as_echo_n "checking for library containing opendir... " >&6; }
4436
4586
if test "${ac_cv_search_opendir+set}" = set; then
4437
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4587
  $as_echo_n "(cached) " >&6
4438
4588
else
4439
4589
  ac_func_search_save_LIBS=$LIBS
4440
4590
cat >conftest.$ac_ext <<_ACEOF
4472
4622
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4473
4623
  *) ac_try_echo=$ac_try;;
4474
4624
esac
4475
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4625
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4626
$as_echo "$ac_try_echo") >&5
4476
4627
  (eval "$ac_link") 2>conftest.er1
4477
4628
  ac_status=$?
4478
4629
  grep -v '^ *+' conftest.er1 >conftest.err
4479
4630
  rm -f conftest.er1
4480
4631
  cat conftest.err >&5
4481
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4632
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482
4633
  (exit $ac_status); } && {
4483
4634
         test -z "$ac_c_werror_flag" ||
4484
4635
         test ! -s conftest.err
4485
 
       } && test -s conftest$ac_exeext &&
4486
 
       $as_test_x conftest$ac_exeext; then
 
4636
       } && test -s conftest$ac_exeext && {
 
4637
         test "$cross_compiling" = yes ||
 
4638
         $as_test_x conftest$ac_exeext
 
4639
       }; then
4487
4640
  ac_cv_search_opendir=$ac_res
4488
4641
else
4489
 
  echo "$as_me: failed program was:" >&5
 
4642
  $as_echo "$as_me: failed program was:" >&5
4490
4643
sed 's/^/| /' conftest.$ac_ext >&5
4491
4644
 
4492
4645
 
4493
4646
fi
4494
4647
 
 
4648
rm -rf conftest.dSYM
4495
4649
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4496
4650
      conftest$ac_exeext
4497
4651
  if test "${ac_cv_search_opendir+set}" = set; then
4506
4660
rm conftest.$ac_ext
4507
4661
LIBS=$ac_func_search_save_LIBS
4508
4662
fi
4509
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4510
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
4663
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
4664
$as_echo "$ac_cv_search_opendir" >&6; }
4511
4665
ac_res=$ac_cv_search_opendir
4512
4666
if test "$ac_res" != no; then
4513
4667
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4515
4669
fi
4516
4670
 
4517
4671
else
4518
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4519
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
4672
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
4673
$as_echo_n "checking for library containing opendir... " >&6; }
4520
4674
if test "${ac_cv_search_opendir+set}" = set; then
4521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4675
  $as_echo_n "(cached) " >&6
4522
4676
else
4523
4677
  ac_func_search_save_LIBS=$LIBS
4524
4678
cat >conftest.$ac_ext <<_ACEOF
4556
4710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4557
4711
  *) ac_try_echo=$ac_try;;
4558
4712
esac
4559
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4713
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4714
$as_echo "$ac_try_echo") >&5
4560
4715
  (eval "$ac_link") 2>conftest.er1
4561
4716
  ac_status=$?
4562
4717
  grep -v '^ *+' conftest.er1 >conftest.err
4563
4718
  rm -f conftest.er1
4564
4719
  cat conftest.err >&5
4565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4720
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566
4721
  (exit $ac_status); } && {
4567
4722
         test -z "$ac_c_werror_flag" ||
4568
4723
         test ! -s conftest.err
4569
 
       } && test -s conftest$ac_exeext &&
4570
 
       $as_test_x conftest$ac_exeext; then
 
4724
       } && test -s conftest$ac_exeext && {
 
4725
         test "$cross_compiling" = yes ||
 
4726
         $as_test_x conftest$ac_exeext
 
4727
       }; then
4571
4728
  ac_cv_search_opendir=$ac_res
4572
4729
else
4573
 
  echo "$as_me: failed program was:" >&5
 
4730
  $as_echo "$as_me: failed program was:" >&5
4574
4731
sed 's/^/| /' conftest.$ac_ext >&5
4575
4732
 
4576
4733
 
4577
4734
fi
4578
4735
 
 
4736
rm -rf conftest.dSYM
4579
4737
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4580
4738
      conftest$ac_exeext
4581
4739
  if test "${ac_cv_search_opendir+set}" = set; then
4590
4748
rm conftest.$ac_ext
4591
4749
LIBS=$ac_func_search_save_LIBS
4592
4750
fi
4593
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4594
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
4751
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
4752
$as_echo "$ac_cv_search_opendir" >&6; }
4595
4753
ac_res=$ac_cv_search_opendir
4596
4754
if test "$ac_res" != no; then
4597
4755
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4605
4763
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606
4764
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607
4765
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4608
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4609
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
4766
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4767
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4610
4768
# On Suns, sometimes $CPP names a directory.
4611
4769
if test -n "$CPP" && test -d "$CPP"; then
4612
4770
  CPP=
4613
4771
fi
4614
4772
if test -z "$CPP"; then
4615
4773
  if test "${ac_cv_prog_CPP+set}" = set; then
4616
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4774
  $as_echo_n "(cached) " >&6
4617
4775
else
4618
4776
      # Double quotes because CPP needs to be expanded
4619
4777
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4645
4803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4646
4804
  *) ac_try_echo=$ac_try;;
4647
4805
esac
4648
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4806
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4807
$as_echo "$ac_try_echo") >&5
4649
4808
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4650
4809
  ac_status=$?
4651
4810
  grep -v '^ *+' conftest.er1 >conftest.err
4652
4811
  rm -f conftest.er1
4653
4812
  cat conftest.err >&5
4654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4813
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655
4814
  (exit $ac_status); } >/dev/null && {
4656
4815
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4657
4816
         test ! -s conftest.err
4658
4817
       }; then
4659
4818
  :
4660
4819
else
4661
 
  echo "$as_me: failed program was:" >&5
 
4820
  $as_echo "$as_me: failed program was:" >&5
4662
4821
sed 's/^/| /' conftest.$ac_ext >&5
4663
4822
 
4664
4823
  # Broken: fails on valid input.
4682
4841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4683
4842
  *) ac_try_echo=$ac_try;;
4684
4843
esac
4685
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4844
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4845
$as_echo "$ac_try_echo") >&5
4686
4846
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4687
4847
  ac_status=$?
4688
4848
  grep -v '^ *+' conftest.er1 >conftest.err
4689
4849
  rm -f conftest.er1
4690
4850
  cat conftest.err >&5
4691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4851
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692
4852
  (exit $ac_status); } >/dev/null && {
4693
4853
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4694
4854
         test ! -s conftest.err
4696
4856
  # Broken: success on invalid input.
4697
4857
continue
4698
4858
else
4699
 
  echo "$as_me: failed program was:" >&5
 
4859
  $as_echo "$as_me: failed program was:" >&5
4700
4860
sed 's/^/| /' conftest.$ac_ext >&5
4701
4861
 
4702
4862
  # Passes both tests.
4721
4881
else
4722
4882
  ac_cv_prog_CPP=$CPP
4723
4883
fi
4724
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4725
 
echo "${ECHO_T}$CPP" >&6; }
 
4884
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4885
$as_echo "$CPP" >&6; }
4726
4886
ac_preproc_ok=false
4727
4887
for ac_c_preproc_warn_flag in '' yes
4728
4888
do
4750
4910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4751
4911
  *) ac_try_echo=$ac_try;;
4752
4912
esac
4753
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4913
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4914
$as_echo "$ac_try_echo") >&5
4754
4915
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4755
4916
  ac_status=$?
4756
4917
  grep -v '^ *+' conftest.er1 >conftest.err
4757
4918
  rm -f conftest.er1
4758
4919
  cat conftest.err >&5
4759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4920
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760
4921
  (exit $ac_status); } >/dev/null && {
4761
4922
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4762
4923
         test ! -s conftest.err
4763
4924
       }; then
4764
4925
  :
4765
4926
else
4766
 
  echo "$as_me: failed program was:" >&5
 
4927
  $as_echo "$as_me: failed program was:" >&5
4767
4928
sed 's/^/| /' conftest.$ac_ext >&5
4768
4929
 
4769
4930
  # Broken: fails on valid input.
4787
4948
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4788
4949
  *) ac_try_echo=$ac_try;;
4789
4950
esac
4790
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4951
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4952
$as_echo "$ac_try_echo") >&5
4791
4953
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4792
4954
  ac_status=$?
4793
4955
  grep -v '^ *+' conftest.er1 >conftest.err
4794
4956
  rm -f conftest.er1
4795
4957
  cat conftest.err >&5
4796
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4958
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797
4959
  (exit $ac_status); } >/dev/null && {
4798
4960
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4799
4961
         test ! -s conftest.err
4801
4963
  # Broken: success on invalid input.
4802
4964
continue
4803
4965
else
4804
 
  echo "$as_me: failed program was:" >&5
 
4966
  $as_echo "$as_me: failed program was:" >&5
4805
4967
sed 's/^/| /' conftest.$ac_ext >&5
4806
4968
 
4807
4969
  # Passes both tests.
4817
4979
if $ac_preproc_ok; then
4818
4980
  :
4819
4981
else
4820
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
4982
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4983
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4984
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4821
4985
See \`config.log' for more details." >&5
4822
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
4986
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4823
4987
See \`config.log' for more details." >&2;}
4824
 
   { (exit 1); exit 1; }; }
 
4988
   { (exit 1); exit 1; }; }; }
4825
4989
fi
4826
4990
 
4827
4991
ac_ext=c
4831
4995
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4832
4996
 
4833
4997
 
4834
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4835
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4836
 
if test "${ac_cv_path_GREP+set}" = set; then
4837
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4838
 
else
4839
 
  # Extract the first word of "grep ggrep" to use in msg output
4840
 
if test -z "$GREP"; then
4841
 
set dummy grep ggrep; ac_prog_name=$2
4842
 
if test "${ac_cv_path_GREP+set}" = set; then
4843
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4844
 
else
 
4998
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4999
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5000
if test "${ac_cv_path_GREP+set}" = set; then
 
5001
  $as_echo_n "(cached) " >&6
 
5002
else
 
5003
  if test -z "$GREP"; then
4845
5004
  ac_path_GREP_found=false
4846
 
# Loop through the user's path and test for each of PROGNAME-LIST
4847
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5005
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5006
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848
5007
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4849
5008
do
4850
5009
  IFS=$as_save_IFS
4851
5010
  test -z "$as_dir" && as_dir=.
4852
5011
  for ac_prog in grep ggrep; do
4853
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4854
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4855
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4856
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
5012
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5013
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5014
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5015
# Check for GNU ac_path_GREP and select it if it is found.
4857
5016
  # Check for GNU $ac_path_GREP
4858
5017
case `"$ac_path_GREP" --version 2>&1` in
4859
5018
*GNU*)
4860
5019
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4861
5020
*)
4862
5021
  ac_count=0
4863
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5022
  $as_echo_n 0123456789 >"conftest.in"
4864
5023
  while :
4865
5024
  do
4866
5025
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4867
5026
    mv "conftest.tmp" "conftest.in"
4868
5027
    cp "conftest.in" "conftest.nl"
4869
 
    echo 'GREP' >> "conftest.nl"
 
5028
    $as_echo 'GREP' >> "conftest.nl"
4870
5029
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4871
5030
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4872
5031
    ac_count=`expr $ac_count + 1`
4881
5040
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4882
5041
esac
4883
5042
 
4884
 
 
4885
 
    $ac_path_GREP_found && break 3
 
5043
      $ac_path_GREP_found && break 3
 
5044
    done
4886
5045
  done
4887
5046
done
4888
 
 
4889
 
done
4890
5047
IFS=$as_save_IFS
4891
 
 
4892
 
 
4893
 
fi
4894
 
 
4895
 
GREP="$ac_cv_path_GREP"
4896
 
if test -z "$GREP"; then
4897
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4898
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5048
  if test -z "$ac_cv_path_GREP"; then
 
5049
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5050
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4899
5051
   { (exit 1); exit 1; }; }
4900
 
fi
4901
 
 
 
5052
  fi
4902
5053
else
4903
5054
  ac_cv_path_GREP=$GREP
4904
5055
fi
4905
5056
 
4906
 
 
4907
5057
fi
4908
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4909
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
5058
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5059
$as_echo "$ac_cv_path_GREP" >&6; }
4910
5060
 GREP="$ac_cv_path_GREP"
4911
5061
 
4912
5062
 
4913
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4914
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
5063
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5064
$as_echo_n "checking for egrep... " >&6; }
4915
5065
if test "${ac_cv_path_EGREP+set}" = set; then
4916
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5066
  $as_echo_n "(cached) " >&6
4917
5067
else
4918
5068
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4919
5069
   then ac_cv_path_EGREP="$GREP -E"
4920
5070
   else
4921
 
     # Extract the first word of "egrep" to use in msg output
4922
 
if test -z "$EGREP"; then
4923
 
set dummy egrep; ac_prog_name=$2
4924
 
if test "${ac_cv_path_EGREP+set}" = set; then
4925
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4926
 
else
 
5071
     if test -z "$EGREP"; then
4927
5072
  ac_path_EGREP_found=false
4928
 
# Loop through the user's path and test for each of PROGNAME-LIST
4929
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5073
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5074
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930
5075
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4931
5076
do
4932
5077
  IFS=$as_save_IFS
4933
5078
  test -z "$as_dir" && as_dir=.
4934
5079
  for ac_prog in egrep; do
4935
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4936
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4937
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4938
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
5080
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5081
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5082
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5083
# Check for GNU ac_path_EGREP and select it if it is found.
4939
5084
  # Check for GNU $ac_path_EGREP
4940
5085
case `"$ac_path_EGREP" --version 2>&1` in
4941
5086
*GNU*)
4942
5087
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4943
5088
*)
4944
5089
  ac_count=0
4945
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5090
  $as_echo_n 0123456789 >"conftest.in"
4946
5091
  while :
4947
5092
  do
4948
5093
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4949
5094
    mv "conftest.tmp" "conftest.in"
4950
5095
    cp "conftest.in" "conftest.nl"
4951
 
    echo 'EGREP' >> "conftest.nl"
 
5096
    $as_echo 'EGREP' >> "conftest.nl"
4952
5097
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4953
5098
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4954
5099
    ac_count=`expr $ac_count + 1`
4963
5108
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4964
5109
esac
4965
5110
 
4966
 
 
4967
 
    $ac_path_EGREP_found && break 3
 
5111
      $ac_path_EGREP_found && break 3
 
5112
    done
4968
5113
  done
4969
5114
done
4970
 
 
4971
 
done
4972
5115
IFS=$as_save_IFS
4973
 
 
4974
 
 
4975
 
fi
4976
 
 
4977
 
EGREP="$ac_cv_path_EGREP"
4978
 
if test -z "$EGREP"; then
4979
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4980
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5116
  if test -z "$ac_cv_path_EGREP"; then
 
5117
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5118
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4981
5119
   { (exit 1); exit 1; }; }
4982
 
fi
4983
 
 
 
5120
  fi
4984
5121
else
4985
5122
  ac_cv_path_EGREP=$EGREP
4986
5123
fi
4987
5124
 
4988
 
 
4989
5125
   fi
4990
5126
fi
4991
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4992
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
5127
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5128
$as_echo "$ac_cv_path_EGREP" >&6; }
4993
5129
 EGREP="$ac_cv_path_EGREP"
4994
5130
 
4995
5131
 
4996
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4997
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
5132
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5133
$as_echo_n "checking for ANSI C header files... " >&6; }
4998
5134
if test "${ac_cv_header_stdc+set}" = set; then
4999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5135
  $as_echo_n "(cached) " >&6
5000
5136
else
5001
5137
  cat >conftest.$ac_ext <<_ACEOF
5002
5138
/* confdefs.h.  */
5023
5159
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5024
5160
  *) ac_try_echo=$ac_try;;
5025
5161
esac
5026
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5162
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5163
$as_echo "$ac_try_echo") >&5
5027
5164
  (eval "$ac_compile") 2>conftest.er1
5028
5165
  ac_status=$?
5029
5166
  grep -v '^ *+' conftest.er1 >conftest.err
5030
5167
  rm -f conftest.er1
5031
5168
  cat conftest.err >&5
5032
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5169
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033
5170
  (exit $ac_status); } && {
5034
5171
         test -z "$ac_c_werror_flag" ||
5035
5172
         test ! -s conftest.err
5036
5173
       } && test -s conftest.$ac_objext; then
5037
5174
  ac_cv_header_stdc=yes
5038
5175
else
5039
 
  echo "$as_me: failed program was:" >&5
 
5176
  $as_echo "$as_me: failed program was:" >&5
5040
5177
sed 's/^/| /' conftest.$ac_ext >&5
5041
5178
 
5042
5179
        ac_cv_header_stdc=no
5128
5265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5129
5266
  *) ac_try_echo=$ac_try;;
5130
5267
esac
5131
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5268
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5269
$as_echo "$ac_try_echo") >&5
5132
5270
  (eval "$ac_link") 2>&5
5133
5271
  ac_status=$?
5134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5272
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135
5273
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5136
5274
  { (case "(($ac_try" in
5137
5275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5138
5276
  *) ac_try_echo=$ac_try;;
5139
5277
esac
5140
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5278
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5279
$as_echo "$ac_try_echo") >&5
5141
5280
  (eval "$ac_try") 2>&5
5142
5281
  ac_status=$?
5143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5282
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144
5283
  (exit $ac_status); }; }; then
5145
5284
  :
5146
5285
else
5147
 
  echo "$as_me: program exited with status $ac_status" >&5
5148
 
echo "$as_me: failed program was:" >&5
 
5286
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5287
$as_echo "$as_me: failed program was:" >&5
5149
5288
sed 's/^/| /' conftest.$ac_ext >&5
5150
5289
 
5151
5290
( exit $ac_status )
5152
5291
ac_cv_header_stdc=no
5153
5292
fi
 
5293
rm -rf conftest.dSYM
5154
5294
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5155
5295
fi
5156
5296
 
5157
5297
 
5158
5298
fi
5159
5299
fi
5160
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5161
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
5300
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5301
$as_echo "$ac_cv_header_stdc" >&6; }
5162
5302
if test $ac_cv_header_stdc = yes; then
5163
5303
 
5164
5304
cat >>confdefs.h <<\_ACEOF
5167
5307
 
5168
5308
fi
5169
5309
 
5170
 
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5171
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
 
5310
{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
5311
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
5172
5312
if test "${ac_cv_header_sys_wait_h+set}" = set; then
5173
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5313
  $as_echo_n "(cached) " >&6
5174
5314
else
5175
5315
  cat >conftest.$ac_ext <<_ACEOF
5176
5316
/* confdefs.h.  */
5203
5343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5204
5344
  *) ac_try_echo=$ac_try;;
5205
5345
esac
5206
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5346
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5347
$as_echo "$ac_try_echo") >&5
5207
5348
  (eval "$ac_compile") 2>conftest.er1
5208
5349
  ac_status=$?
5209
5350
  grep -v '^ *+' conftest.er1 >conftest.err
5210
5351
  rm -f conftest.er1
5211
5352
  cat conftest.err >&5
5212
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5353
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213
5354
  (exit $ac_status); } && {
5214
5355
         test -z "$ac_c_werror_flag" ||
5215
5356
         test ! -s conftest.err
5216
5357
       } && test -s conftest.$ac_objext; then
5217
5358
  ac_cv_header_sys_wait_h=yes
5218
5359
else
5219
 
  echo "$as_me: failed program was:" >&5
 
5360
  $as_echo "$as_me: failed program was:" >&5
5220
5361
sed 's/^/| /' conftest.$ac_ext >&5
5221
5362
 
5222
5363
        ac_cv_header_sys_wait_h=no
5224
5365
 
5225
5366
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5226
5367
fi
5227
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5228
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
 
5368
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
5369
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
5229
5370
if test $ac_cv_header_sys_wait_h = yes; then
5230
5371
 
5231
5372
cat >>confdefs.h <<\_ACEOF
5234
5375
 
5235
5376
fi
5236
5377
 
5237
 
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5238
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
 
5378
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
5379
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5239
5380
if test "${ac_cv_header_time+set}" = set; then
5240
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5381
  $as_echo_n "(cached) " >&6
5241
5382
else
5242
5383
  cat >conftest.$ac_ext <<_ACEOF
5243
5384
/* confdefs.h.  */
5264
5405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265
5406
  *) ac_try_echo=$ac_try;;
5266
5407
esac
5267
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5408
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5409
$as_echo "$ac_try_echo") >&5
5268
5410
  (eval "$ac_compile") 2>conftest.er1
5269
5411
  ac_status=$?
5270
5412
  grep -v '^ *+' conftest.er1 >conftest.err
5271
5413
  rm -f conftest.er1
5272
5414
  cat conftest.err >&5
5273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5415
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274
5416
  (exit $ac_status); } && {
5275
5417
         test -z "$ac_c_werror_flag" ||
5276
5418
         test ! -s conftest.err
5277
5419
       } && test -s conftest.$ac_objext; then
5278
5420
  ac_cv_header_time=yes
5279
5421
else
5280
 
  echo "$as_me: failed program was:" >&5
 
5422
  $as_echo "$as_me: failed program was:" >&5
5281
5423
sed 's/^/| /' conftest.$ac_ext >&5
5282
5424
 
5283
5425
        ac_cv_header_time=no
5285
5427
 
5286
5428
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5287
5429
fi
5288
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5289
 
echo "${ECHO_T}$ac_cv_header_time" >&6; }
 
5430
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
5431
$as_echo "$ac_cv_header_time" >&6; }
5290
5432
if test $ac_cv_header_time = yes; then
5291
5433
 
5292
5434
cat >>confdefs.h <<\_ACEOF
5308
5450
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5309
5451
                  inttypes.h stdint.h unistd.h
5310
5452
do
5311
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5312
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5313
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5453
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5454
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5455
$as_echo_n "checking for $ac_header... " >&6; }
5314
5456
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5315
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5457
  $as_echo_n "(cached) " >&6
5316
5458
else
5317
5459
  cat >conftest.$ac_ext <<_ACEOF
5318
5460
/* confdefs.h.  */
5330
5472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5331
5473
  *) ac_try_echo=$ac_try;;
5332
5474
esac
5333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5475
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5476
$as_echo "$ac_try_echo") >&5
5334
5477
  (eval "$ac_compile") 2>conftest.er1
5335
5478
  ac_status=$?
5336
5479
  grep -v '^ *+' conftest.er1 >conftest.err
5337
5480
  rm -f conftest.er1
5338
5481
  cat conftest.err >&5
5339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5482
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340
5483
  (exit $ac_status); } && {
5341
5484
         test -z "$ac_c_werror_flag" ||
5342
5485
         test ! -s conftest.err
5343
5486
       } && test -s conftest.$ac_objext; then
5344
5487
  eval "$as_ac_Header=yes"
5345
5488
else
5346
 
  echo "$as_me: failed program was:" >&5
 
5489
  $as_echo "$as_me: failed program was:" >&5
5347
5490
sed 's/^/| /' conftest.$ac_ext >&5
5348
5491
 
5349
5492
        eval "$as_ac_Header=no"
5351
5494
 
5352
5495
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5353
5496
fi
5354
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5355
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5356
 
echo "${ECHO_T}$ac_res" >&6; }
5357
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5497
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5498
                 $as_echo "$as_val"'`
 
5499
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5500
$as_echo "$ac_res" >&6; }
 
5501
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5502
                 $as_echo "$as_val"'`
 
5503
   if test "x$as_val" = x""yes; then
5358
5504
  cat >>confdefs.h <<_ACEOF
5359
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5505
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5360
5506
_ACEOF
5361
5507
 
5362
5508
fi
5368
5514
 
5369
5515
for ac_header in sys/time.h unistd.h
5370
5516
do
5371
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5372
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5373
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5374
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5375
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5376
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5517
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5518
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5519
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5520
$as_echo_n "checking for $ac_header... " >&6; }
 
5521
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5522
  $as_echo_n "(cached) " >&6
5377
5523
fi
5378
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5379
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5380
 
echo "${ECHO_T}$ac_res" >&6; }
 
5524
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5525
                 $as_echo "$as_val"'`
 
5526
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5527
$as_echo "$ac_res" >&6; }
5381
5528
else
5382
5529
  # Is the header compilable?
5383
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5384
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
5530
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5531
$as_echo_n "checking $ac_header usability... " >&6; }
5385
5532
cat >conftest.$ac_ext <<_ACEOF
5386
5533
/* confdefs.h.  */
5387
5534
_ACEOF
5397
5544
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5398
5545
  *) ac_try_echo=$ac_try;;
5399
5546
esac
5400
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5547
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5548
$as_echo "$ac_try_echo") >&5
5401
5549
  (eval "$ac_compile") 2>conftest.er1
5402
5550
  ac_status=$?
5403
5551
  grep -v '^ *+' conftest.er1 >conftest.err
5404
5552
  rm -f conftest.er1
5405
5553
  cat conftest.err >&5
5406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5554
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407
5555
  (exit $ac_status); } && {
5408
5556
         test -z "$ac_c_werror_flag" ||
5409
5557
         test ! -s conftest.err
5410
5558
       } && test -s conftest.$ac_objext; then
5411
5559
  ac_header_compiler=yes
5412
5560
else
5413
 
  echo "$as_me: failed program was:" >&5
 
5561
  $as_echo "$as_me: failed program was:" >&5
5414
5562
sed 's/^/| /' conftest.$ac_ext >&5
5415
5563
 
5416
5564
        ac_header_compiler=no
5417
5565
fi
5418
5566
 
5419
5567
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5420
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5421
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
5568
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5569
$as_echo "$ac_header_compiler" >&6; }
5422
5570
 
5423
5571
# Is the header present?
5424
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5425
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
5572
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5573
$as_echo_n "checking $ac_header presence... " >&6; }
5426
5574
cat >conftest.$ac_ext <<_ACEOF
5427
5575
/* confdefs.h.  */
5428
5576
_ACEOF
5436
5584
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5437
5585
  *) ac_try_echo=$ac_try;;
5438
5586
esac
5439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5587
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5588
$as_echo "$ac_try_echo") >&5
5440
5589
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5441
5590
  ac_status=$?
5442
5591
  grep -v '^ *+' conftest.er1 >conftest.err
5443
5592
  rm -f conftest.er1
5444
5593
  cat conftest.err >&5
5445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5594
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446
5595
  (exit $ac_status); } >/dev/null && {
5447
5596
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5448
5597
         test ! -s conftest.err
5449
5598
       }; then
5450
5599
  ac_header_preproc=yes
5451
5600
else
5452
 
  echo "$as_me: failed program was:" >&5
 
5601
  $as_echo "$as_me: failed program was:" >&5
5453
5602
sed 's/^/| /' conftest.$ac_ext >&5
5454
5603
 
5455
5604
  ac_header_preproc=no
5456
5605
fi
5457
5606
 
5458
5607
rm -f conftest.err conftest.$ac_ext
5459
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5460
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
5608
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5609
$as_echo "$ac_header_preproc" >&6; }
5461
5610
 
5462
5611
# So?  What about this header?
5463
5612
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5464
5613
  yes:no: )
5465
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5466
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5467
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5468
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5614
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5615
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5616
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5617
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5469
5618
    ac_header_preproc=yes
5470
5619
    ;;
5471
5620
  no:yes:* )
5472
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5473
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5474
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5475
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5476
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5477
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5478
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5479
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5480
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5481
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5482
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5483
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5621
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5622
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5623
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5624
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5625
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5626
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5627
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5628
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5629
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5630
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5631
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5632
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5484
5633
 
5485
5634
    ;;
5486
5635
esac
5487
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5488
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5636
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5637
$as_echo_n "checking for $ac_header... " >&6; }
5489
5638
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5639
  $as_echo_n "(cached) " >&6
5491
5640
else
5492
5641
  eval "$as_ac_Header=\$ac_header_preproc"
5493
5642
fi
5494
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5495
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5496
 
echo "${ECHO_T}$ac_res" >&6; }
 
5643
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5644
                 $as_echo "$as_val"'`
 
5645
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5646
$as_echo "$ac_res" >&6; }
5497
5647
 
5498
5648
fi
5499
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5649
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5650
                 $as_echo "$as_val"'`
 
5651
   if test "x$as_val" = x""yes; then
5500
5652
  cat >>confdefs.h <<_ACEOF
5501
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5653
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5502
5654
_ACEOF
5503
5655
 
5504
5656
fi
5506
5658
done
5507
5659
 
5508
5660
 
5509
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
5510
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
 
5661
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
 
5662
$as_echo_n "checking for size_t... " >&6; }
5511
5663
if test "${ac_cv_type_size_t+set}" = set; then
5512
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5664
  $as_echo_n "(cached) " >&6
5513
5665
else
 
5666
  ac_cv_type_size_t=no
 
5667
cat >conftest.$ac_ext <<_ACEOF
 
5668
/* confdefs.h.  */
 
5669
_ACEOF
 
5670
cat confdefs.h >>conftest.$ac_ext
 
5671
cat >>conftest.$ac_ext <<_ACEOF
 
5672
/* end confdefs.h.  */
 
5673
$ac_includes_default
 
5674
int
 
5675
main ()
 
5676
{
 
5677
if (sizeof (size_t))
 
5678
       return 0;
 
5679
  ;
 
5680
  return 0;
 
5681
}
 
5682
_ACEOF
 
5683
rm -f conftest.$ac_objext
 
5684
if { (ac_try="$ac_compile"
 
5685
case "(($ac_try" in
 
5686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5687
  *) ac_try_echo=$ac_try;;
 
5688
esac
 
5689
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5690
$as_echo "$ac_try_echo") >&5
 
5691
  (eval "$ac_compile") 2>conftest.er1
 
5692
  ac_status=$?
 
5693
  grep -v '^ *+' conftest.er1 >conftest.err
 
5694
  rm -f conftest.er1
 
5695
  cat conftest.err >&5
 
5696
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5697
  (exit $ac_status); } && {
 
5698
         test -z "$ac_c_werror_flag" ||
 
5699
         test ! -s conftest.err
 
5700
       } && test -s conftest.$ac_objext; then
5514
5701
  cat >conftest.$ac_ext <<_ACEOF
5515
5702
/* confdefs.h.  */
5516
5703
_ACEOF
5518
5705
cat >>conftest.$ac_ext <<_ACEOF
5519
5706
/* end confdefs.h.  */
5520
5707
$ac_includes_default
5521
 
typedef size_t ac__type_new_;
5522
5708
int
5523
5709
main ()
5524
5710
{
5525
 
if ((ac__type_new_ *) 0)
5526
 
  return 0;
5527
 
if (sizeof (ac__type_new_))
5528
 
  return 0;
 
5711
if (sizeof ((size_t)))
 
5712
          return 0;
5529
5713
  ;
5530
5714
  return 0;
5531
5715
}
5536
5720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5537
5721
  *) ac_try_echo=$ac_try;;
5538
5722
esac
5539
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5723
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5724
$as_echo "$ac_try_echo") >&5
5540
5725
  (eval "$ac_compile") 2>conftest.er1
5541
5726
  ac_status=$?
5542
5727
  grep -v '^ *+' conftest.er1 >conftest.err
5543
5728
  rm -f conftest.er1
5544
5729
  cat conftest.err >&5
5545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5730
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546
5731
  (exit $ac_status); } && {
5547
5732
         test -z "$ac_c_werror_flag" ||
5548
5733
         test ! -s conftest.err
5549
5734
       } && test -s conftest.$ac_objext; then
5550
 
  ac_cv_type_size_t=yes
5551
 
else
5552
 
  echo "$as_me: failed program was:" >&5
5553
 
sed 's/^/| /' conftest.$ac_ext >&5
5554
 
 
5555
 
        ac_cv_type_size_t=no
5556
 
fi
5557
 
 
5558
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5559
 
fi
5560
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5561
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5562
 
if test $ac_cv_type_size_t = yes; then
 
5735
  :
 
5736
else
 
5737
  $as_echo "$as_me: failed program was:" >&5
 
5738
sed 's/^/| /' conftest.$ac_ext >&5
 
5739
 
 
5740
        ac_cv_type_size_t=yes
 
5741
fi
 
5742
 
 
5743
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5744
else
 
5745
  $as_echo "$as_me: failed program was:" >&5
 
5746
sed 's/^/| /' conftest.$ac_ext >&5
 
5747
 
 
5748
 
 
5749
fi
 
5750
 
 
5751
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5752
fi
 
5753
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
5754
$as_echo "$ac_cv_type_size_t" >&6; }
 
5755
if test "x$ac_cv_type_size_t" = x""yes; then
5563
5756
  :
5564
5757
else
5565
5758
 
5571
5764
 
5572
5765
 
5573
5766
 
5574
 
         { echo "$as_me:$LINENO: checking whether struct tm contains tm_isdst" >&5
5575
 
echo $ECHO_N "checking whether struct tm contains tm_isdst... $ECHO_C" >&6; }
 
5767
         { $as_echo "$as_me:$LINENO: checking whether struct tm contains tm_isdst" >&5
 
5768
$as_echo_n "checking whether struct tm contains tm_isdst... " >&6; }
5576
5769
if test "${local_cv_flag_TM_HAS_ISDST+set}" = set; then
5577
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5770
  $as_echo_n "(cached) " >&6
5578
5771
else
5579
5772
  cat >conftest.$ac_ext <<_ACEOF
5580
5773
 
5597
5790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5598
5791
  *) ac_try_echo=$ac_try;;
5599
5792
esac
5600
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5793
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5794
$as_echo "$ac_try_echo") >&5
5601
5795
  (eval "$ac_compile") 2>conftest.er1
5602
5796
  ac_status=$?
5603
5797
  grep -v '^ *+' conftest.er1 >conftest.err
5604
5798
  rm -f conftest.er1
5605
5799
  cat conftest.err >&5
5606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5800
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607
5801
  (exit $ac_status); } && {
5608
5802
         test -z "$ac_c_werror_flag" ||
5609
5803
         test ! -s conftest.err
5610
5804
       } && test -s conftest.$ac_objext; then
5611
5805
  local_cv_flag_TM_HAS_ISDST=yes
5612
5806
else
5613
 
  echo "$as_me: failed program was:" >&5
 
5807
  $as_echo "$as_me: failed program was:" >&5
5614
5808
sed 's/^/| /' conftest.$ac_ext >&5
5615
5809
 
5616
5810
        local_cv_flag_TM_HAS_ISDST=no
5618
5812
 
5619
5813
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5620
5814
fi
5621
 
{ echo "$as_me:$LINENO: result: $local_cv_flag_TM_HAS_ISDST" >&5
5622
 
echo "${ECHO_T}$local_cv_flag_TM_HAS_ISDST" >&6; }
 
5815
{ $as_echo "$as_me:$LINENO: result: $local_cv_flag_TM_HAS_ISDST" >&5
 
5816
$as_echo "$local_cv_flag_TM_HAS_ISDST" >&6; }
5623
5817
 
5624
 
         { echo "$as_me:$LINENO: checking whether struct tm contains __tm_isdst" >&5
5625
 
echo $ECHO_N "checking whether struct tm contains __tm_isdst... $ECHO_C" >&6; }
 
5818
         { $as_echo "$as_me:$LINENO: checking whether struct tm contains __tm_isdst" >&5
 
5819
$as_echo_n "checking whether struct tm contains __tm_isdst... " >&6; }
5626
5820
if test "${local_cv_flag_TM_HAS___ISDST+set}" = set; then
5627
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5821
  $as_echo_n "(cached) " >&6
5628
5822
else
5629
5823
  cat >conftest.$ac_ext <<_ACEOF
5630
5824
 
5647
5841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5648
5842
  *) ac_try_echo=$ac_try;;
5649
5843
esac
5650
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5844
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5845
$as_echo "$ac_try_echo") >&5
5651
5846
  (eval "$ac_compile") 2>conftest.er1
5652
5847
  ac_status=$?
5653
5848
  grep -v '^ *+' conftest.er1 >conftest.err
5654
5849
  rm -f conftest.er1
5655
5850
  cat conftest.err >&5
5656
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5851
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657
5852
  (exit $ac_status); } && {
5658
5853
         test -z "$ac_c_werror_flag" ||
5659
5854
         test ! -s conftest.err
5660
5855
       } && test -s conftest.$ac_objext; then
5661
5856
  local_cv_flag_TM_HAS___ISDST=yes
5662
5857
else
5663
 
  echo "$as_me: failed program was:" >&5
 
5858
  $as_echo "$as_me: failed program was:" >&5
5664
5859
sed 's/^/| /' conftest.$ac_ext >&5
5665
5860
 
5666
5861
        local_cv_flag_TM_HAS___ISDST=no
5668
5863
 
5669
5864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5670
5865
fi
5671
 
{ echo "$as_me:$LINENO: result: $local_cv_flag_TM_HAS___ISDST" >&5
5672
 
echo "${ECHO_T}$local_cv_flag_TM_HAS___ISDST" >&6; }
 
5866
{ $as_echo "$as_me:$LINENO: result: $local_cv_flag_TM_HAS___ISDST" >&5
 
5867
$as_echo "$local_cv_flag_TM_HAS___ISDST" >&6; }
5673
5868
 
5674
5869
        if test "$local_cv_flag_TM_HAS_ISDST" = yes
5675
5870
        then
5684
5879
_ACEOF
5685
5880
 
5686
5881
        fi
5687
 
         { echo "$as_me:$LINENO: checking whether struct tm contains tm_gmtoff" >&5
5688
 
echo $ECHO_N "checking whether struct tm contains tm_gmtoff... $ECHO_C" >&6; }
 
5882
         { $as_echo "$as_me:$LINENO: checking whether struct tm contains tm_gmtoff" >&5
 
5883
$as_echo_n "checking whether struct tm contains tm_gmtoff... " >&6; }
5689
5884
if test "${local_cv_flag_TM_HAS_GMTOFF+set}" = set; then
5690
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5885
  $as_echo_n "(cached) " >&6
5691
5886
else
5692
5887
  cat >conftest.$ac_ext <<_ACEOF
5693
5888
 
5710
5905
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5711
5906
  *) ac_try_echo=$ac_try;;
5712
5907
esac
5713
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5908
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5909
$as_echo "$ac_try_echo") >&5
5714
5910
  (eval "$ac_compile") 2>conftest.er1
5715
5911
  ac_status=$?
5716
5912
  grep -v '^ *+' conftest.er1 >conftest.err
5717
5913
  rm -f conftest.er1
5718
5914
  cat conftest.err >&5
5719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5915
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720
5916
  (exit $ac_status); } && {
5721
5917
         test -z "$ac_c_werror_flag" ||
5722
5918
         test ! -s conftest.err
5723
5919
       } && test -s conftest.$ac_objext; then
5724
5920
  local_cv_flag_TM_HAS_GMTOFF=yes
5725
5921
else
5726
 
  echo "$as_me: failed program was:" >&5
 
5922
  $as_echo "$as_me: failed program was:" >&5
5727
5923
sed 's/^/| /' conftest.$ac_ext >&5
5728
5924
 
5729
5925
        local_cv_flag_TM_HAS_GMTOFF=no
5731
5927
 
5732
5928
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5733
5929
fi
5734
 
{ echo "$as_me:$LINENO: result: $local_cv_flag_TM_HAS_GMTOFF" >&5
5735
 
echo "${ECHO_T}$local_cv_flag_TM_HAS_GMTOFF" >&6; }
 
5930
{ $as_echo "$as_me:$LINENO: result: $local_cv_flag_TM_HAS_GMTOFF" >&5
 
5931
$as_echo "$local_cv_flag_TM_HAS_GMTOFF" >&6; }
5736
5932
 
5737
 
         { echo "$as_me:$LINENO: checking whether struct tm contains __tm_gmtoff" >&5
5738
 
echo $ECHO_N "checking whether struct tm contains __tm_gmtoff... $ECHO_C" >&6; }
 
5933
         { $as_echo "$as_me:$LINENO: checking whether struct tm contains __tm_gmtoff" >&5
 
5934
$as_echo_n "checking whether struct tm contains __tm_gmtoff... " >&6; }
5739
5935
if test "${local_cv_flag_TM_HAS___GMTOFF+set}" = set; then
5740
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5936
  $as_echo_n "(cached) " >&6
5741
5937
else
5742
5938
  cat >conftest.$ac_ext <<_ACEOF
5743
5939
 
5760
5956
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5761
5957
  *) ac_try_echo=$ac_try;;
5762
5958
esac
5763
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5959
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5960
$as_echo "$ac_try_echo") >&5
5764
5961
  (eval "$ac_compile") 2>conftest.er1
5765
5962
  ac_status=$?
5766
5963
  grep -v '^ *+' conftest.er1 >conftest.err
5767
5964
  rm -f conftest.er1
5768
5965
  cat conftest.err >&5
5769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5966
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770
5967
  (exit $ac_status); } && {
5771
5968
         test -z "$ac_c_werror_flag" ||
5772
5969
         test ! -s conftest.err
5773
5970
       } && test -s conftest.$ac_objext; then
5774
5971
  local_cv_flag_TM_HAS___GMTOFF=yes
5775
5972
else
5776
 
  echo "$as_me: failed program was:" >&5
 
5973
  $as_echo "$as_me: failed program was:" >&5
5777
5974
sed 's/^/| /' conftest.$ac_ext >&5
5778
5975
 
5779
5976
        local_cv_flag_TM_HAS___GMTOFF=no
5781
5978
 
5782
5979
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5783
5980
fi
5784
 
{ echo "$as_me:$LINENO: result: $local_cv_flag_TM_HAS___GMTOFF" >&5
5785
 
echo "${ECHO_T}$local_cv_flag_TM_HAS___GMTOFF" >&6; }
 
5981
{ $as_echo "$as_me:$LINENO: result: $local_cv_flag_TM_HAS___GMTOFF" >&5
 
5982
$as_echo "$local_cv_flag_TM_HAS___GMTOFF" >&6; }
5786
5983
 
5787
5984
        if test "$local_cv_flag_TM_HAS_GMTOFF" = yes
5788
5985
        then
5799
5996
        fi
5800
5997
 
5801
5998
 
5802
 
   { echo "$as_me:$LINENO: checking whether struct utsname contains domainname" >&5
5803
 
echo $ECHO_N "checking whether struct utsname contains domainname... $ECHO_C" >&6; }
 
5999
   { $as_echo "$as_me:$LINENO: checking whether struct utsname contains domainname" >&5
 
6000
$as_echo_n "checking whether struct utsname contains domainname... " >&6; }
5804
6001
if test "${local_cv_flag_UTSNAME_HAS_DOMAINNAME+set}" = set; then
5805
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6002
  $as_echo_n "(cached) " >&6
5806
6003
else
5807
6004
  cat >conftest.$ac_ext <<_ACEOF
5808
6005
 
5816
6013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5817
6014
  *) ac_try_echo=$ac_try;;
5818
6015
esac
5819
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6016
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6017
$as_echo "$ac_try_echo") >&5
5820
6018
  (eval "$ac_compile") 2>conftest.er1
5821
6019
  ac_status=$?
5822
6020
  grep -v '^ *+' conftest.er1 >conftest.err
5823
6021
  rm -f conftest.er1
5824
6022
  cat conftest.err >&5
5825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6023
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826
6024
  (exit $ac_status); } && {
5827
6025
         test -z "$ac_c_werror_flag" ||
5828
6026
         test ! -s conftest.err
5829
6027
       } && test -s conftest.$ac_objext; then
5830
6028
  local_cv_flag_UTSNAME_HAS_DOMAINNAME=yes
5831
6029
else
5832
 
  echo "$as_me: failed program was:" >&5
 
6030
  $as_echo "$as_me: failed program was:" >&5
5833
6031
sed 's/^/| /' conftest.$ac_ext >&5
5834
6032
 
5835
6033
        local_cv_flag_UTSNAME_HAS_DOMAINNAME=no
5837
6035
 
5838
6036
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5839
6037
fi
5840
 
{ echo "$as_me:$LINENO: result: $local_cv_flag_UTSNAME_HAS_DOMAINNAME" >&5
5841
 
echo "${ECHO_T}$local_cv_flag_UTSNAME_HAS_DOMAINNAME" >&6; }
 
6038
{ $as_echo "$as_me:$LINENO: result: $local_cv_flag_UTSNAME_HAS_DOMAINNAME" >&5
 
6039
$as_echo "$local_cv_flag_UTSNAME_HAS_DOMAINNAME" >&6; }
5842
6040
 
5843
 
   { echo "$as_me:$LINENO: checking whether struct utsname contains __domainname" >&5
5844
 
echo $ECHO_N "checking whether struct utsname contains __domainname... $ECHO_C" >&6; }
 
6041
   { $as_echo "$as_me:$LINENO: checking whether struct utsname contains __domainname" >&5
 
6042
$as_echo_n "checking whether struct utsname contains __domainname... " >&6; }
5845
6043
if test "${local_cv_flag_UTSNAME_HAS___DOMAINNAME+set}" = set; then
5846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6044
  $as_echo_n "(cached) " >&6
5847
6045
else
5848
6046
  cat >conftest.$ac_ext <<_ACEOF
5849
6047
 
5857
6055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5858
6056
  *) ac_try_echo=$ac_try;;
5859
6057
esac
5860
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6058
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6059
$as_echo "$ac_try_echo") >&5
5861
6060
  (eval "$ac_compile") 2>conftest.er1
5862
6061
  ac_status=$?
5863
6062
  grep -v '^ *+' conftest.er1 >conftest.err
5864
6063
  rm -f conftest.er1
5865
6064
  cat conftest.err >&5
5866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6065
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867
6066
  (exit $ac_status); } && {
5868
6067
         test -z "$ac_c_werror_flag" ||
5869
6068
         test ! -s conftest.err
5870
6069
       } && test -s conftest.$ac_objext; then
5871
6070
  local_cv_flag_UTSNAME_HAS___DOMAINNAME=yes
5872
6071
else
5873
 
  echo "$as_me: failed program was:" >&5
 
6072
  $as_echo "$as_me: failed program was:" >&5
5874
6073
sed 's/^/| /' conftest.$ac_ext >&5
5875
6074
 
5876
6075
        local_cv_flag_UTSNAME_HAS___DOMAINNAME=no
5878
6077
 
5879
6078
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5880
6079
fi
5881
 
{ echo "$as_me:$LINENO: result: $local_cv_flag_UTSNAME_HAS___DOMAINNAME" >&5
5882
 
echo "${ECHO_T}$local_cv_flag_UTSNAME_HAS___DOMAINNAME" >&6; }
 
6080
{ $as_echo "$as_me:$LINENO: result: $local_cv_flag_UTSNAME_HAS___DOMAINNAME" >&5
 
6081
$as_echo "$local_cv_flag_UTSNAME_HAS___DOMAINNAME" >&6; }
5883
6082
 
5884
6083
  if test "$local_cv_flag_UTSNAME_HAS_DOMAINNAME" = yes
5885
6084
  then
5895
6094
 
5896
6095
  fi
5897
6096
 
5898
 
 { echo "$as_me:$LINENO: checking whether named pipes are buggy" >&5
5899
 
echo $ECHO_N "checking whether named pipes are buggy... $ECHO_C" >&6; }
 
6097
 { $as_echo "$as_me:$LINENO: checking whether named pipes are buggy" >&5
 
6098
$as_echo_n "checking whether named pipes are buggy... " >&6; }
5900
6099
if test "${local_cv_flag_NAMEDPIPEBUG+set}" = set; then
5901
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6100
  $as_echo_n "(cached) " >&6
5902
6101
else
5903
6102
  cat >conftest.c <<EOF
5904
6103
#include <fcntl.h>
5935
6134
        fi
5936
6135
        rm -f conftest*
5937
6136
fi
5938
 
{ echo "$as_me:$LINENO: result: $local_cv_flag_NAMEDPIPEBUG" >&5
5939
 
echo "${ECHO_T}$local_cv_flag_NAMEDPIPEBUG" >&6; }
 
6137
{ $as_echo "$as_me:$LINENO: result: $local_cv_flag_NAMEDPIPEBUG" >&5
 
6138
$as_echo "$local_cv_flag_NAMEDPIPEBUG" >&6; }
5940
6139
 
5941
6140
 
5942
6141
 
5943
6142
 
5944
6143
for ac_func in setenv srandom
5945
6144
do
5946
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5947
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5948
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
6145
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6146
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
6147
$as_echo_n "checking for $ac_func... " >&6; }
5949
6148
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5950
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6149
  $as_echo_n "(cached) " >&6
5951
6150
else
5952
6151
  cat >conftest.$ac_ext <<_ACEOF
5953
6152
/* confdefs.h.  */
6000
6199
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6001
6200
  *) ac_try_echo=$ac_try;;
6002
6201
esac
6003
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6202
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6203
$as_echo "$ac_try_echo") >&5
6004
6204
  (eval "$ac_link") 2>conftest.er1
6005
6205
  ac_status=$?
6006
6206
  grep -v '^ *+' conftest.er1 >conftest.err
6007
6207
  rm -f conftest.er1
6008
6208
  cat conftest.err >&5
6009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6209
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010
6210
  (exit $ac_status); } && {
6011
6211
         test -z "$ac_c_werror_flag" ||
6012
6212
         test ! -s conftest.err
6013
 
       } && test -s conftest$ac_exeext &&
6014
 
       $as_test_x conftest$ac_exeext; then
 
6213
       } && test -s conftest$ac_exeext && {
 
6214
         test "$cross_compiling" = yes ||
 
6215
         $as_test_x conftest$ac_exeext
 
6216
       }; then
6015
6217
  eval "$as_ac_var=yes"
6016
6218
else
6017
 
  echo "$as_me: failed program was:" >&5
 
6219
  $as_echo "$as_me: failed program was:" >&5
6018
6220
sed 's/^/| /' conftest.$ac_ext >&5
6019
6221
 
6020
6222
        eval "$as_ac_var=no"
6021
6223
fi
6022
6224
 
 
6225
rm -rf conftest.dSYM
6023
6226
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6024
6227
      conftest$ac_exeext conftest.$ac_ext
6025
6228
fi
6026
 
ac_res=`eval echo '${'$as_ac_var'}'`
6027
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6028
 
echo "${ECHO_T}$ac_res" >&6; }
6029
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
6229
ac_res=`eval 'as_val=${'$as_ac_var'}
 
6230
                 $as_echo "$as_val"'`
 
6231
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6232
$as_echo "$ac_res" >&6; }
 
6233
as_val=`eval 'as_val=${'$as_ac_var'}
 
6234
                 $as_echo "$as_val"'`
 
6235
   if test "x$as_val" = x""yes; then
6030
6236
  cat >>confdefs.h <<_ACEOF
6031
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6237
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6032
6238
_ACEOF
6033
6239
 
6034
6240
fi
6078
6284
    case $ac_val in #(
6079
6285
    *${as_nl}*)
6080
6286
      case $ac_var in #(
6081
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6082
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
6287
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
6288
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6083
6289
      esac
6084
6290
      case $ac_var in #(
6085
6291
      _ | IFS | as_nl) ;; #(
 
6292
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6086
6293
      *) $as_unset $ac_var ;;
6087
6294
      esac ;;
6088
6295
    esac
6115
6322
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6116
6323
  if test -w "$cache_file"; then
6117
6324
    test "x$cache_file" != "x/dev/null" &&
6118
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6119
 
echo "$as_me: updating cache $cache_file" >&6;}
 
6325
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
6326
$as_echo "$as_me: updating cache $cache_file" >&6;}
6120
6327
    cat confcache >$cache_file
6121
6328
  else
6122
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6123
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
6329
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
6330
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6124
6331
  fi
6125
6332
fi
6126
6333
rm -f confcache
6136
6343
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6137
6344
  # 1. Remove the extension, and $U if already installed.
6138
6345
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6139
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
6346
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6140
6347
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6141
6348
  #    will be set to the directory where LIBOBJS objects are built.
6142
6349
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6148
6355
 
6149
6356
 
6150
6357
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6151
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
6358
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6152
6359
Usually this means the macro was only invoked conditionally." >&5
6153
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
6360
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
6154
6361
Usually this means the macro was only invoked conditionally." >&2;}
6155
6362
   { (exit 1); exit 1; }; }
6156
6363
fi
6157
6364
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6158
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
6365
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6159
6366
Usually this means the macro was only invoked conditionally." >&5
6160
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
6367
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6161
6368
Usually this means the macro was only invoked conditionally." >&2;}
6162
6369
   { (exit 1); exit 1; }; }
6163
6370
fi
6164
6371
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6165
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
6372
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6166
6373
Usually this means the macro was only invoked conditionally." >&5
6167
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
6374
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6168
6375
Usually this means the macro was only invoked conditionally." >&2;}
6169
6376
   { (exit 1); exit 1; }; }
6170
6377
fi
6171
6378
if test -z "${FDBUF_NO_MYSTRING_TRUE}" && test -z "${FDBUF_NO_MYSTRING_FALSE}"; then
6172
 
  { { echo "$as_me:$LINENO: error: conditional \"FDBUF_NO_MYSTRING\" was never defined.
 
6379
  { { $as_echo "$as_me:$LINENO: error: conditional \"FDBUF_NO_MYSTRING\" was never defined.
6173
6380
Usually this means the macro was only invoked conditionally." >&5
6174
 
echo "$as_me: error: conditional \"FDBUF_NO_MYSTRING\" was never defined.
 
6381
$as_echo "$as_me: error: conditional \"FDBUF_NO_MYSTRING\" was never defined.
6175
6382
Usually this means the macro was only invoked conditionally." >&2;}
6176
6383
   { (exit 1); exit 1; }; }
6177
6384
fi
6178
6385
 
6179
6386
: ${CONFIG_STATUS=./config.status}
 
6387
ac_write_fail=0
6180
6388
ac_clean_files_save=$ac_clean_files
6181
6389
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6182
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6183
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6184
 
cat >$CONFIG_STATUS <<_ACEOF
 
6390
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
6391
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
6392
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6185
6393
#! $SHELL
6186
6394
# Generated by $as_me.
6187
6395
# Run this file to recreate the current configuration.
6194
6402
SHELL=\${CONFIG_SHELL-$SHELL}
6195
6403
_ACEOF
6196
6404
 
6197
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6405
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6198
6406
## --------------------- ##
6199
6407
## M4sh Initialization.  ##
6200
6408
## --------------------- ##
6204
6412
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6205
6413
  emulate sh
6206
6414
  NULLCMD=:
6207
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
6415
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6208
6416
  # is contrary to our usage.  Disable this feature.
6209
6417
  alias -g '${1+"$@"}'='"$@"'
6210
6418
  setopt NO_GLOB_SUBST
6226
6434
as_cr_digits='0123456789'
6227
6435
as_cr_alnum=$as_cr_Letters$as_cr_digits
6228
6436
 
 
6437
as_nl='
 
6438
'
 
6439
export as_nl
 
6440
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
6441
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
6442
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
6443
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
6444
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6445
  as_echo='printf %s\n'
 
6446
  as_echo_n='printf %s'
 
6447
else
 
6448
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
6449
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
6450
    as_echo_n='/usr/ucb/echo -n'
 
6451
  else
 
6452
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
6453
    as_echo_n_body='eval
 
6454
      arg=$1;
 
6455
      case $arg in
 
6456
      *"$as_nl"*)
 
6457
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
6458
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
6459
      esac;
 
6460
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
6461
    '
 
6462
    export as_echo_n_body
 
6463
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
6464
  fi
 
6465
  export as_echo_body
 
6466
  as_echo='sh -c $as_echo_body as_echo'
 
6467
fi
 
6468
 
6229
6469
# The user is always right.
6230
6470
if test "${PATH_SEPARATOR+set}" != set; then
6231
 
  echo "#! /bin/sh" >conf$$.sh
6232
 
  echo  "exit 0"   >>conf$$.sh
6233
 
  chmod +x conf$$.sh
6234
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6235
 
    PATH_SEPARATOR=';'
6236
 
  else
6237
 
    PATH_SEPARATOR=:
6238
 
  fi
6239
 
  rm -f conf$$.sh
 
6471
  PATH_SEPARATOR=:
 
6472
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
6473
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
6474
      PATH_SEPARATOR=';'
 
6475
  }
6240
6476
fi
6241
6477
 
6242
6478
# Support unset when possible.
6252
6488
# there to prevent editors from complaining about space-tab.
6253
6489
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6254
6490
# splitting by setting IFS to empty value.)
6255
 
as_nl='
6256
 
'
6257
6491
IFS=" ""        $as_nl"
6258
6492
 
6259
6493
# Find who we are.  Look in the path if we contain no directory separator.
6276
6510
  as_myself=$0
6277
6511
fi
6278
6512
if test ! -f "$as_myself"; then
6279
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
6513
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6280
6514
  { (exit 1); exit 1; }
6281
6515
fi
6282
6516
 
6289
6523
PS4='+ '
6290
6524
 
6291
6525
# NLS nuisances.
6292
 
for as_var in \
6293
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6294
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6295
 
  LC_TELEPHONE LC_TIME
6296
 
do
6297
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6298
 
    eval $as_var=C; export $as_var
6299
 
  else
6300
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6301
 
  fi
6302
 
done
 
6526
LC_ALL=C
 
6527
export LC_ALL
 
6528
LANGUAGE=C
 
6529
export LANGUAGE
6303
6530
 
6304
6531
# Required to use basename.
6305
6532
if expr a : '\(a\)' >/dev/null 2>&1 &&
6321
6548
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6322
6549
         X"$0" : 'X\(//\)$' \| \
6323
6550
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6324
 
echo X/"$0" |
 
6551
$as_echo X/"$0" |
6325
6552
    sed '/^.*\/\([^/][^/]*\)\/*$/{
6326
6553
            s//\1/
6327
6554
            q
6372
6599
      s/-\n.*//
6373
6600
    ' >$as_me.lineno &&
6374
6601
  chmod +x "$as_me.lineno" ||
6375
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
6602
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6376
6603
   { (exit 1); exit 1; }; }
6377
6604
 
6378
6605
  # Don't try to exec as it changes $[0], causing all sort of problems
6400
6627
*)
6401
6628
  ECHO_N='-n';;
6402
6629
esac
6403
 
 
6404
6630
if expr a : '\(a\)' >/dev/null 2>&1 &&
6405
6631
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6406
6632
  as_expr=expr
6413
6639
  rm -f conf$$.dir/conf$$.file
6414
6640
else
6415
6641
  rm -f conf$$.dir
6416
 
  mkdir conf$$.dir
 
6642
  mkdir conf$$.dir 2>/dev/null
6417
6643
fi
6418
 
echo >conf$$.file
6419
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
6420
 
  as_ln_s='ln -s'
6421
 
  # ... but there are two gotchas:
6422
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6423
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6424
 
  # In both cases, we have to default to `cp -p'.
6425
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6644
if (echo >conf$$.file) 2>/dev/null; then
 
6645
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
6646
    as_ln_s='ln -s'
 
6647
    # ... but there are two gotchas:
 
6648
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
6649
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
6650
    # In both cases, we have to default to `cp -p'.
 
6651
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6652
      as_ln_s='cp -p'
 
6653
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
6654
    as_ln_s=ln
 
6655
  else
6426
6656
    as_ln_s='cp -p'
6427
 
elif ln conf$$.file conf$$ 2>/dev/null; then
6428
 
  as_ln_s=ln
 
6657
  fi
6429
6658
else
6430
6659
  as_ln_s='cp -p'
6431
6660
fi
6450
6679
  as_test_x='
6451
6680
    eval sh -c '\''
6452
6681
      if test -d "$1"; then
6453
 
        test -d "$1/.";
 
6682
        test -d "$1/.";
6454
6683
      else
6455
6684
        case $1 in
6456
 
        -*)set "./$1";;
 
6685
        -*)set "./$1";;
6457
6686
        esac;
6458
6687
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6459
6688
        ???[sx]*):;;*)false;;esac;fi
6476
6705
# values after options handling.
6477
6706
ac_log="
6478
6707
This file was extended by $as_me, which was
6479
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
6708
generated by GNU Autoconf 2.63.  Invocation command line was
6480
6709
 
6481
6710
  CONFIG_FILES    = $CONFIG_FILES
6482
6711
  CONFIG_HEADERS  = $CONFIG_HEADERS
6489
6718
 
6490
6719
_ACEOF
6491
6720
 
6492
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6721
case $ac_config_files in *"
 
6722
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
6723
esac
 
6724
 
 
6725
case $ac_config_headers in *"
 
6726
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
6727
esac
 
6728
 
 
6729
 
 
6730
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6493
6731
# Files that config.status was made for.
6494
6732
config_files="$ac_config_files"
6495
6733
config_headers="$ac_config_headers"
6497
6735
 
6498
6736
_ACEOF
6499
6737
 
6500
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6738
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6501
6739
ac_cs_usage="\
6502
6740
\`$as_me' instantiates files from templates according to the
6503
6741
current configuration.
6504
6742
 
6505
 
Usage: $0 [OPTIONS] [FILE]...
 
6743
Usage: $0 [OPTION]... [FILE]...
6506
6744
 
6507
6745
  -h, --help       print this help, then exit
6508
6746
  -V, --version    print version number and configuration settings, then exit
6509
 
  -q, --quiet      do not print progress messages
 
6747
  -q, --quiet, --silent
 
6748
                   do not print progress messages
6510
6749
  -d, --debug      don't remove temporary files
6511
6750
      --recheck    update $as_me by reconfiguring in the same conditions
6512
 
  --file=FILE[:TEMPLATE]
6513
 
                   instantiate the configuration file FILE
6514
 
  --header=FILE[:TEMPLATE]
6515
 
                   instantiate the configuration header FILE
 
6751
      --file=FILE[:TEMPLATE]
 
6752
                   instantiate the configuration file FILE
 
6753
      --header=FILE[:TEMPLATE]
 
6754
                   instantiate the configuration header FILE
6516
6755
 
6517
6756
Configuration files:
6518
6757
$config_files
6526
6765
Report bugs to <bug-autoconf@gnu.org>."
6527
6766
 
6528
6767
_ACEOF
6529
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6768
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6530
6769
ac_cs_version="\\
6531
6770
config.status
6532
 
configured by $0, generated by GNU Autoconf 2.61,
6533
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
6771
configured by $0, generated by GNU Autoconf 2.63,
 
6772
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6534
6773
 
6535
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
6774
Copyright (C) 2008 Free Software Foundation, Inc.
6536
6775
This config.status script is free software; the Free Software Foundation
6537
6776
gives unlimited permission to copy, distribute and modify it."
6538
6777
 
6540
6779
srcdir='$srcdir'
6541
6780
INSTALL='$INSTALL'
6542
6781
MKDIR_P='$MKDIR_P'
 
6782
AWK='$AWK'
 
6783
test -n "\$AWK" || AWK=awk
6543
6784
_ACEOF
6544
6785
 
6545
 
cat >>$CONFIG_STATUS <<\_ACEOF
6546
 
# If no file are specified by the user, then we need to provide default
6547
 
# value.  By we need to know if files were specified by the user.
 
6786
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6787
# The default lists apply if the user does not specify any file.
6548
6788
ac_need_defaults=:
6549
6789
while test $# != 0
6550
6790
do
6566
6806
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6567
6807
    ac_cs_recheck=: ;;
6568
6808
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6569
 
    echo "$ac_cs_version"; exit ;;
 
6809
    $as_echo "$ac_cs_version"; exit ;;
6570
6810
  --debug | --debu | --deb | --de | --d | -d )
6571
6811
    debug=: ;;
6572
6812
  --file | --fil | --fi | --f )
6573
6813
    $ac_shift
6574
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
6814
    case $ac_optarg in
 
6815
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6816
    esac
 
6817
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6575
6818
    ac_need_defaults=false;;
6576
6819
  --header | --heade | --head | --hea )
6577
6820
    $ac_shift
6578
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
6821
    case $ac_optarg in
 
6822
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6823
    esac
 
6824
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6579
6825
    ac_need_defaults=false;;
6580
6826
  --he | --h)
6581
6827
    # Conflict between --help and --header
6582
 
    { echo "$as_me: error: ambiguous option: $1
 
6828
    { $as_echo "$as_me: error: ambiguous option: $1
6583
6829
Try \`$0 --help' for more information." >&2
6584
6830
   { (exit 1); exit 1; }; };;
6585
6831
  --help | --hel | -h )
6586
 
    echo "$ac_cs_usage"; exit ;;
 
6832
    $as_echo "$ac_cs_usage"; exit ;;
6587
6833
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6588
6834
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6589
6835
    ac_cs_silent=: ;;
6590
6836
 
6591
6837
  # This is an error.
6592
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
6838
  -*) { $as_echo "$as_me: error: unrecognized option: $1
6593
6839
Try \`$0 --help' for more information." >&2
6594
6840
   { (exit 1); exit 1; }; } ;;
6595
6841
 
6608
6854
fi
6609
6855
 
6610
6856
_ACEOF
6611
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6857
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6612
6858
if \$ac_cs_recheck; then
6613
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6614
 
  CONFIG_SHELL=$SHELL
 
6859
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6860
  shift
 
6861
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
6862
  CONFIG_SHELL='$SHELL'
6615
6863
  export CONFIG_SHELL
6616
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6864
  exec "\$@"
6617
6865
fi
6618
6866
 
6619
6867
_ACEOF
6620
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6868
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6621
6869
exec 5>>config.log
6622
6870
{
6623
6871
  echo
6624
6872
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6625
6873
## Running $as_me. ##
6626
6874
_ASBOX
6627
 
  echo "$ac_log"
 
6875
  $as_echo "$ac_log"
6628
6876
} >&5
6629
6877
 
6630
6878
_ACEOF
6631
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6879
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6632
6880
#
6633
6881
# INIT-COMMANDS
6634
6882
#
6636
6884
 
6637
6885
_ACEOF
6638
6886
 
6639
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6887
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6640
6888
 
6641
6889
# Handling of arguments.
6642
6890
for ac_config_target in $ac_config_targets
6654
6902
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6655
6903
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
6656
6904
 
6657
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6658
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
6905
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
6906
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6659
6907
   { (exit 1); exit 1; }; };;
6660
6908
  esac
6661
6909
done
6696
6944
  (umask 077 && mkdir "$tmp")
6697
6945
} ||
6698
6946
{
6699
 
   echo "$me: cannot create a temporary directory in ." >&2
 
6947
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
6700
6948
   { (exit 1); exit 1; }
6701
6949
}
6702
6950
 
6703
 
#
6704
 
# Set up the sed scripts for CONFIG_FILES section.
6705
 
#
6706
 
 
6707
 
# No need to generate the scripts if there are no CONFIG_FILES.
6708
 
# This happens for instance when ./config.status config.h
 
6951
# Set up the scripts for CONFIG_FILES section.
 
6952
# No need to generate them if there are no CONFIG_FILES.
 
6953
# This happens for instance with `./config.status config.h'.
6709
6954
if test -n "$CONFIG_FILES"; then
6710
6955
 
 
6956
 
 
6957
ac_cr='
 
 
b"'"
 
6958
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
6959
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
6960
  ac_cs_awk_cr='\\r'
 
6961
else
 
6962
  ac_cs_awk_cr=$ac_cr
 
6963
fi
 
6964
 
 
6965
echo 'BEGIN {' >"$tmp/subs1.awk" &&
6711
6966
_ACEOF
6712
6967
 
6713
6968
 
6714
 
 
 
6969
{
 
6970
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
6971
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
6972
  echo "_ACEOF"
 
6973
} >conf$$subs.sh ||
 
6974
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6975
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6976
   { (exit 1); exit 1; }; }
 
6977
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6715
6978
ac_delim='%!_!# '
6716
6979
for ac_last_try in false false false false false :; do
6717
 
  cat >conf$$subs.sed <<_ACEOF
6718
 
SHELL!$SHELL$ac_delim
6719
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6720
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6721
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6722
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6723
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6724
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6725
 
exec_prefix!$exec_prefix$ac_delim
6726
 
prefix!$prefix$ac_delim
6727
 
program_transform_name!$program_transform_name$ac_delim
6728
 
bindir!$bindir$ac_delim
6729
 
sbindir!$sbindir$ac_delim
6730
 
libexecdir!$libexecdir$ac_delim
6731
 
datarootdir!$datarootdir$ac_delim
6732
 
datadir!$datadir$ac_delim
6733
 
sysconfdir!$sysconfdir$ac_delim
6734
 
sharedstatedir!$sharedstatedir$ac_delim
6735
 
localstatedir!$localstatedir$ac_delim
6736
 
includedir!$includedir$ac_delim
6737
 
oldincludedir!$oldincludedir$ac_delim
6738
 
docdir!$docdir$ac_delim
6739
 
infodir!$infodir$ac_delim
6740
 
htmldir!$htmldir$ac_delim
6741
 
dvidir!$dvidir$ac_delim
6742
 
pdfdir!$pdfdir$ac_delim
6743
 
psdir!$psdir$ac_delim
6744
 
libdir!$libdir$ac_delim
6745
 
localedir!$localedir$ac_delim
6746
 
mandir!$mandir$ac_delim
6747
 
DEFS!$DEFS$ac_delim
6748
 
ECHO_C!$ECHO_C$ac_delim
6749
 
ECHO_N!$ECHO_N$ac_delim
6750
 
ECHO_T!$ECHO_T$ac_delim
6751
 
LIBS!$LIBS$ac_delim
6752
 
build_alias!$build_alias$ac_delim
6753
 
host_alias!$host_alias$ac_delim
6754
 
target_alias!$target_alias$ac_delim
6755
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6756
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6757
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
6758
 
am__isrc!$am__isrc$ac_delim
6759
 
CYGPATH_W!$CYGPATH_W$ac_delim
6760
 
PACKAGE!$PACKAGE$ac_delim
6761
 
VERSION!$VERSION$ac_delim
6762
 
ACLOCAL!$ACLOCAL$ac_delim
6763
 
AUTOCONF!$AUTOCONF$ac_delim
6764
 
AUTOMAKE!$AUTOMAKE$ac_delim
6765
 
AUTOHEADER!$AUTOHEADER$ac_delim
6766
 
MAKEINFO!$MAKEINFO$ac_delim
6767
 
install_sh!$install_sh$ac_delim
6768
 
STRIP!$STRIP$ac_delim
6769
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6770
 
mkdir_p!$mkdir_p$ac_delim
6771
 
AWK!$AWK$ac_delim
6772
 
SET_MAKE!$SET_MAKE$ac_delim
6773
 
am__leading_dot!$am__leading_dot$ac_delim
6774
 
AMTAR!$AMTAR$ac_delim
6775
 
am__tar!$am__tar$ac_delim
6776
 
am__untar!$am__untar$ac_delim
6777
 
CC!$CC$ac_delim
6778
 
CFLAGS!$CFLAGS$ac_delim
6779
 
LDFLAGS!$LDFLAGS$ac_delim
6780
 
CPPFLAGS!$CPPFLAGS$ac_delim
6781
 
ac_ct_CC!$ac_ct_CC$ac_delim
6782
 
EXEEXT!$EXEEXT$ac_delim
6783
 
OBJEXT!$OBJEXT$ac_delim
6784
 
DEPDIR!$DEPDIR$ac_delim
6785
 
am__include!$am__include$ac_delim
6786
 
am__quote!$am__quote$ac_delim
6787
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6788
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6789
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6790
 
CCDEPMODE!$CCDEPMODE$ac_delim
6791
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6792
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6793
 
CXX!$CXX$ac_delim
6794
 
CXXFLAGS!$CXXFLAGS$ac_delim
6795
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
6796
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
6797
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
6798
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
6799
 
RANLIB!$RANLIB$ac_delim
6800
 
RM!$RM$ac_delim
6801
 
MKDIR!$MKDIR$ac_delim
6802
 
CPP!$CPP$ac_delim
6803
 
GREP!$GREP$ac_delim
6804
 
EGREP!$EGREP$ac_delim
6805
 
FDBUF_NO_MYSTRING_TRUE!$FDBUF_NO_MYSTRING_TRUE$ac_delim
6806
 
FDBUF_NO_MYSTRING_FALSE!$FDBUF_NO_MYSTRING_FALSE$ac_delim
6807
 
LIBOBJS!$LIBOBJS$ac_delim
6808
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
6809
 
_ACEOF
 
6980
  . ./conf$$subs.sh ||
 
6981
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6982
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6983
   { (exit 1); exit 1; }; }
6810
6984
 
6811
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
 
6985
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
6986
  if test $ac_delim_n = $ac_delim_num; then
6812
6987
    break
6813
6988
  elif $ac_last_try; then
6814
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6815
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6989
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6990
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6816
6991
   { (exit 1); exit 1; }; }
6817
6992
  else
6818
6993
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6819
6994
  fi
6820
6995
done
6821
 
 
6822
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6823
 
if test -n "$ac_eof"; then
6824
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6825
 
  ac_eof=`expr $ac_eof + 1`
6826
 
fi
6827
 
 
6828
 
cat >>$CONFIG_STATUS <<_ACEOF
6829
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6830
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6831
 
_ACEOF
6832
 
sed '
6833
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6834
 
s/^/s,@/; s/!/@,|#_!!_#|/
6835
 
:n
6836
 
t n
6837
 
s/'"$ac_delim"'$/,g/; t
6838
 
s/$/\\/; p
6839
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6840
 
' >>$CONFIG_STATUS <conf$$subs.sed
6841
 
rm -f conf$$subs.sed
6842
 
cat >>$CONFIG_STATUS <<_ACEOF
6843
 
:end
6844
 
s/|#_!!_#|//g
6845
 
CEOF$ac_eof
6846
 
_ACEOF
6847
 
 
 
6996
rm -f conf$$subs.sh
 
6997
 
 
6998
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6999
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
7000
_ACEOF
 
7001
sed -n '
 
7002
h
 
7003
s/^/S["/; s/!.*/"]=/
 
7004
p
 
7005
g
 
7006
s/^[^!]*!//
 
7007
:repl
 
7008
t repl
 
7009
s/'"$ac_delim"'$//
 
7010
t delim
 
7011
:nl
 
7012
h
 
7013
s/\(.\{148\}\).*/\1/
 
7014
t more1
 
7015
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
7016
p
 
7017
n
 
7018
b repl
 
7019
:more1
 
7020
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
7021
p
 
7022
g
 
7023
s/.\{148\}//
 
7024
t nl
 
7025
:delim
 
7026
h
 
7027
s/\(.\{148\}\).*/\1/
 
7028
t more2
 
7029
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
7030
p
 
7031
b
 
7032
:more2
 
7033
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
7034
p
 
7035
g
 
7036
s/.\{148\}//
 
7037
t delim
 
7038
' <conf$$subs.awk | sed '
 
7039
/^[^""]/{
 
7040
  N
 
7041
  s/\n//
 
7042
}
 
7043
' >>$CONFIG_STATUS || ac_write_fail=1
 
7044
rm -f conf$$subs.awk
 
7045
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7046
_ACAWK
 
7047
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
7048
  for (key in S) S_is_set[key] = 1
 
7049
  FS = ""
 
7050
 
 
7051
}
 
7052
{
 
7053
  line = $ 0
 
7054
  nfields = split(line, field, "@")
 
7055
  substed = 0
 
7056
  len = length(field[1])
 
7057
  for (i = 2; i < nfields; i++) {
 
7058
    key = field[i]
 
7059
    keylen = length(key)
 
7060
    if (S_is_set[key]) {
 
7061
      value = S[key]
 
7062
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
7063
      len += length(value) + length(field[++i])
 
7064
      substed = 1
 
7065
    } else
 
7066
      len += 1 + keylen
 
7067
  }
 
7068
 
 
7069
  print line
 
7070
}
 
7071
 
 
7072
_ACAWK
 
7073
_ACEOF
 
7074
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7075
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
7076
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
7077
else
 
7078
  cat
 
7079
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
7080
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
7081
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
7082
   { (exit 1); exit 1; }; }
 
7083
_ACEOF
6848
7084
 
6849
7085
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6850
7086
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6861
7097
}'
6862
7098
fi
6863
7099
 
6864
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7100
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6865
7101
fi # test -n "$CONFIG_FILES"
6866
7102
 
6867
 
 
6868
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
7103
# Set up the scripts for CONFIG_HEADERS section.
 
7104
# No need to generate them if there are no CONFIG_HEADERS.
 
7105
# This happens for instance with `./config.status Makefile'.
 
7106
if test -n "$CONFIG_HEADERS"; then
 
7107
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
7108
BEGIN {
 
7109
_ACEOF
 
7110
 
 
7111
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
7112
# here-document in config.status, that substitutes the proper values into
 
7113
# config.h.in to produce config.h.
 
7114
 
 
7115
# Create a delimiter string that does not exist in confdefs.h, to ease
 
7116
# handling of long lines.
 
7117
ac_delim='%!_!# '
 
7118
for ac_last_try in false false :; do
 
7119
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
7120
  if test -z "$ac_t"; then
 
7121
    break
 
7122
  elif $ac_last_try; then
 
7123
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
7124
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
7125
   { (exit 1); exit 1; }; }
 
7126
  else
 
7127
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
7128
  fi
 
7129
done
 
7130
 
 
7131
# For the awk script, D is an array of macro values keyed by name,
 
7132
# likewise P contains macro parameters if any.  Preserve backslash
 
7133
# newline sequences.
 
7134
 
 
7135
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
7136
sed -n '
 
7137
s/.\{148\}/&'"$ac_delim"'/g
 
7138
t rset
 
7139
:rset
 
7140
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
7141
t def
 
7142
d
 
7143
:def
 
7144
s/\\$//
 
7145
t bsnl
 
7146
s/["\\]/\\&/g
 
7147
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
7148
D["\1"]=" \3"/p
 
7149
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
7150
d
 
7151
:bsnl
 
7152
s/["\\]/\\&/g
 
7153
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
7154
D["\1"]=" \3\\\\\\n"\\/p
 
7155
t cont
 
7156
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
7157
t cont
 
7158
d
 
7159
:cont
 
7160
n
 
7161
s/.\{148\}/&'"$ac_delim"'/g
 
7162
t clear
 
7163
:clear
 
7164
s/\\$//
 
7165
t bsnlc
 
7166
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
7167
d
 
7168
:bsnlc
 
7169
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
7170
b cont
 
7171
' <confdefs.h | sed '
 
7172
s/'"$ac_delim"'/"\\\
 
7173
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
7174
 
 
7175
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7176
  for (key in D) D_is_set[key] = 1
 
7177
  FS = ""
 
7178
}
 
7179
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
7180
  line = \$ 0
 
7181
  split(line, arg, " ")
 
7182
  if (arg[1] == "#") {
 
7183
    defundef = arg[2]
 
7184
    mac1 = arg[3]
 
7185
  } else {
 
7186
    defundef = substr(arg[1], 2)
 
7187
    mac1 = arg[2]
 
7188
  }
 
7189
  split(mac1, mac2, "(") #)
 
7190
  macro = mac2[1]
 
7191
  prefix = substr(line, 1, index(line, defundef) - 1)
 
7192
  if (D_is_set[macro]) {
 
7193
    # Preserve the white space surrounding the "#".
 
7194
    print prefix "define", macro P[macro] D[macro]
 
7195
    next
 
7196
  } else {
 
7197
    # Replace #undef with comments.  This is necessary, for example,
 
7198
    # in the case of _POSIX_SOURCE, which is predefined and required
 
7199
    # on some systems where configure will not decide to define it.
 
7200
    if (defundef == "undef") {
 
7201
      print "/*", prefix defundef, macro, "*/"
 
7202
      next
 
7203
    }
 
7204
  }
 
7205
}
 
7206
{ print }
 
7207
_ACAWK
 
7208
_ACEOF
 
7209
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7210
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
7211
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
7212
   { (exit 1); exit 1; }; }
 
7213
fi # test -n "$CONFIG_HEADERS"
 
7214
 
 
7215
 
 
7216
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
7217
shift
 
7218
for ac_tag
6869
7219
do
6870
7220
  case $ac_tag in
6871
7221
  :[FHLC]) ac_mode=$ac_tag; continue;;
6872
7222
  esac
6873
7223
  case $ac_mode$ac_tag in
6874
7224
  :[FHL]*:*);;
6875
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6876
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
7225
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
7226
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6877
7227
   { (exit 1); exit 1; }; };;
6878
7228
  :[FH]-) ac_tag=-:-;;
6879
7229
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6902
7252
           [\\/$]*) false;;
6903
7253
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6904
7254
           esac ||
6905
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6906
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
7255
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
7256
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6907
7257
   { (exit 1); exit 1; }; };;
6908
7258
      esac
6909
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
7259
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
7260
      ac_file_inputs="$ac_file_inputs '$ac_f'"
6910
7261
    done
6911
7262
 
6912
7263
    # Let's still pretend it is `configure' which instantiates (i.e., don't
6913
7264
    # use $as_me), people would be surprised to read:
6914
7265
    #    /* config.h.  Generated by config.status.  */
6915
 
    configure_input="Generated from "`IFS=:
6916
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
7266
    configure_input='Generated from '`
 
7267
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
7268
        `' by configure.'
6917
7269
    if test x"$ac_file" != x-; then
6918
7270
      configure_input="$ac_file.  $configure_input"
6919
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
6920
 
echo "$as_me: creating $ac_file" >&6;}
 
7271
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
7272
$as_echo "$as_me: creating $ac_file" >&6;}
6921
7273
    fi
 
7274
    # Neutralize special characters interpreted by sed in replacement strings.
 
7275
    case $configure_input in #(
 
7276
    *\&* | *\|* | *\\* )
 
7277
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
7278
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
7279
    *) ac_sed_conf_input=$configure_input;;
 
7280
    esac
6922
7281
 
6923
7282
    case $ac_tag in
6924
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
7283
    *:-:* | *:-) cat >"$tmp/stdin" \
 
7284
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7285
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7286
   { (exit 1); exit 1; }; } ;;
6925
7287
    esac
6926
7288
    ;;
6927
7289
  esac
6931
7293
         X"$ac_file" : 'X\(//\)[^/]' \| \
6932
7294
         X"$ac_file" : 'X\(//\)$' \| \
6933
7295
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6934
 
echo X"$ac_file" |
 
7296
$as_echo X"$ac_file" |
6935
7297
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6936
7298
            s//\1/
6937
7299
            q
6957
7319
    as_dirs=
6958
7320
    while :; do
6959
7321
      case $as_dir in #(
6960
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
7322
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6961
7323
      *) as_qdir=$as_dir;;
6962
7324
      esac
6963
7325
      as_dirs="'$as_qdir' $as_dirs"
6966
7328
         X"$as_dir" : 'X\(//\)[^/]' \| \
6967
7329
         X"$as_dir" : 'X\(//\)$' \| \
6968
7330
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6969
 
echo X"$as_dir" |
 
7331
$as_echo X"$as_dir" |
6970
7332
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6971
7333
            s//\1/
6972
7334
            q
6987
7349
      test -d "$as_dir" && break
6988
7350
    done
6989
7351
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6990
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6991
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
7352
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
7353
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6992
7354
   { (exit 1); exit 1; }; }; }
6993
7355
  ac_builddir=.
6994
7356
 
6995
7357
case "$ac_dir" in
6996
7358
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6997
7359
*)
6998
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
7360
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6999
7361
  # A ".." for each directory in $ac_dir_suffix.
7000
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
7362
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7001
7363
  case $ac_top_builddir_sub in
7002
7364
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7003
7365
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7042
7404
  esac
7043
7405
_ACEOF
7044
7406
 
7045
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7407
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7046
7408
# If the template does not know about datarootdir, expand it.
7047
7409
# FIXME: This hack should be removed a few years after 2.60.
7048
7410
ac_datarootdir_hack=; ac_datarootdir_seen=
7049
7411
 
7050
 
case `sed -n '/datarootdir/ {
 
7412
ac_sed_dataroot='
 
7413
/datarootdir/ {
7051
7414
  p
7052
7415
  q
7053
7416
}
7056
7419
/@infodir@/p
7057
7420
/@localedir@/p
7058
7421
/@mandir@/p
7059
 
' $ac_file_inputs` in
 
7422
'
 
7423
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7060
7424
*datarootdir*) ac_datarootdir_seen=yes;;
7061
7425
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7062
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7063
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
7426
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
7427
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7064
7428
_ACEOF
7065
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7429
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7066
7430
  ac_datarootdir_hack='
7067
7431
  s&@datadir@&$datadir&g
7068
7432
  s&@docdir@&$docdir&g
7076
7440
# Neutralize VPATH when `$srcdir' = `.'.
7077
7441
# Shell code in configure.ac might set extrasub.
7078
7442
# FIXME: do we really want to maintain this feature?
7079
 
cat >>$CONFIG_STATUS <<_ACEOF
7080
 
  sed "$ac_vpsub
 
7443
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7444
ac_sed_extra="$ac_vpsub
7081
7445
$extrasub
7082
7446
_ACEOF
7083
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7447
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7084
7448
:t
7085
7449
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7086
 
s&@configure_input@&$configure_input&;t t
 
7450
s|@configure_input@|$ac_sed_conf_input|;t t
7087
7451
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
7452
s&@top_build_prefix@&$ac_top_build_prefix&;t t
7088
7453
s&@srcdir@&$ac_srcdir&;t t
7089
7454
s&@abs_srcdir@&$ac_abs_srcdir&;t t
7090
7455
s&@top_srcdir@&$ac_top_srcdir&;t t
7095
7460
s&@INSTALL@&$ac_INSTALL&;t t
7096
7461
s&@MKDIR_P@&$ac_MKDIR_P&;t t
7097
7462
$ac_datarootdir_hack
7098
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
7463
"
 
7464
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
7465
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7466
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7467
   { (exit 1); exit 1; }; }
7099
7468
 
7100
7469
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7101
7470
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7102
7471
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7103
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7472
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7104
7473
which seems to be undefined.  Please make sure it is defined." >&5
7105
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7474
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7106
7475
which seems to be undefined.  Please make sure it is defined." >&2;}
7107
7476
 
7108
7477
  rm -f "$tmp/stdin"
7109
7478
  case $ac_file in
7110
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
7111
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7112
 
  esac
 
7479
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
7480
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
7481
  esac \
 
7482
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7483
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7484
   { (exit 1); exit 1; }; }
7113
7485
 ;;
7114
7486
  :H)
7115
7487
  #
7116
7488
  # CONFIG_HEADER
7117
7489
  #
7118
 
_ACEOF
7119
 
 
7120
 
# Transform confdefs.h into a sed script `conftest.defines', that
7121
 
# substitutes the proper values into config.h.in to produce config.h.
7122
 
rm -f conftest.defines conftest.tail
7123
 
# First, append a space to every undef/define line, to ease matching.
7124
 
echo 's/$/ /' >conftest.defines
7125
 
# Then, protect against being on the right side of a sed subst, or in
7126
 
# an unquoted here document, in config.status.  If some macros were
7127
 
# called several times there might be several #defines for the same
7128
 
# symbol, which is useless.  But do not sort them, since the last
7129
 
# AC_DEFINE must be honored.
7130
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7131
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7132
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
7133
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
7134
 
# just an empty string.
7135
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
7136
 
ac_dB='\\)[      (].*,\\1define\\2'
7137
 
ac_dC=' '
7138
 
ac_dD=' ,'
7139
 
 
7140
 
uniq confdefs.h |
7141
 
  sed -n '
7142
 
        t rset
7143
 
        :rset
7144
 
        s/^[     ]*#[    ]*define[       ][      ]*//
7145
 
        t ok
7146
 
        d
7147
 
        :ok
7148
 
        s/[\\&,]/\\&/g
7149
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7150
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7151
 
  ' >>conftest.defines
7152
 
 
7153
 
# Remove the space that was appended to ease matching.
7154
 
# Then replace #undef with comments.  This is necessary, for
7155
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
7156
 
# on some systems where configure will not decide to define it.
7157
 
# (The regexp can be short, since the line contains either #define or #undef.)
7158
 
echo 's/ $//
7159
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
7160
 
 
7161
 
# Break up conftest.defines:
7162
 
ac_max_sed_lines=50
7163
 
 
7164
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7165
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7166
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7167
 
# et cetera.
7168
 
ac_in='$ac_file_inputs'
7169
 
ac_out='"$tmp/out1"'
7170
 
ac_nxt='"$tmp/out2"'
7171
 
 
7172
 
while :
7173
 
do
7174
 
  # Write a here document:
7175
 
    cat >>$CONFIG_STATUS <<_ACEOF
7176
 
    # First, check the format of the line:
7177
 
    cat >"\$tmp/defines.sed" <<\\CEOF
7178
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
7179
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
7180
 
b
7181
 
:def
7182
 
_ACEOF
7183
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7184
 
  echo 'CEOF
7185
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7186
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7187
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7188
 
  grep . conftest.tail >/dev/null || break
7189
 
  rm -f conftest.defines
7190
 
  mv conftest.tail conftest.defines
7191
 
done
7192
 
rm -f conftest.defines conftest.tail
7193
 
 
7194
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
7195
 
cat >>$CONFIG_STATUS <<\_ACEOF
7196
7490
  if test x"$ac_file" != x-; then
7197
 
    echo "/* $configure_input  */" >"$tmp/config.h"
7198
 
    cat "$ac_result" >>"$tmp/config.h"
7199
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7200
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7201
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
7491
    {
 
7492
      $as_echo "/* $configure_input  */" \
 
7493
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
7494
    } >"$tmp/config.h" \
 
7495
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7496
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7497
   { (exit 1); exit 1; }; }
 
7498
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
7499
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
7500
$as_echo "$as_me: $ac_file is unchanged" >&6;}
7202
7501
    else
7203
 
      rm -f $ac_file
7204
 
      mv "$tmp/config.h" $ac_file
 
7502
      rm -f "$ac_file"
 
7503
      mv "$tmp/config.h" "$ac_file" \
 
7504
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7505
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7506
   { (exit 1); exit 1; }; }
7205
7507
    fi
7206
7508
  else
7207
 
    echo "/* $configure_input  */"
7208
 
    cat "$ac_result"
 
7509
    $as_echo "/* $configure_input  */" \
 
7510
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
7511
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
7512
$as_echo "$as_me: error: could not create -" >&2;}
 
7513
   { (exit 1); exit 1; }; }
7209
7514
  fi
7210
 
  rm -f "$tmp/out12"
7211
 
# Compute $ac_file's index in $config_headers.
 
7515
# Compute "$ac_file"'s index in $config_headers.
 
7516
_am_arg="$ac_file"
7212
7517
_am_stamp_count=1
7213
7518
for _am_header in $config_headers :; do
7214
7519
  case $_am_header in
7215
 
    $ac_file | $ac_file:* )
 
7520
    $_am_arg | $_am_arg:* )
7216
7521
      break ;;
7217
7522
    * )
7218
7523
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7219
7524
  esac
7220
7525
done
7221
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
7222
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7223
 
         X$ac_file : 'X\(//\)[^/]' \| \
7224
 
         X$ac_file : 'X\(//\)$' \| \
7225
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
7226
 
echo X$ac_file |
 
7526
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
7527
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7528
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
7529
         X"$_am_arg" : 'X\(//\)$' \| \
 
7530
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
7531
$as_echo X"$_am_arg" |
7227
7532
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7228
7533
            s//\1/
7229
7534
            q
7243
7548
          s/.*/./; q'`/stamp-h$_am_stamp_count
7244
7549
 ;;
7245
7550
 
7246
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7247
 
echo "$as_me: executing $ac_file commands" >&6;}
 
7551
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
7552
$as_echo "$as_me: executing $ac_file commands" >&6;}
7248
7553
 ;;
7249
7554
  esac
7250
7555
 
7251
7556
 
7252
7557
  case $ac_file$ac_mode in
7253
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
7558
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
7559
# are listed without --file.  Let's play safe and only enable the eval
 
7560
# if we detect the quoting.
 
7561
case $CONFIG_FILES in
 
7562
*\'*) eval set x "$CONFIG_FILES" ;;
 
7563
*)   set x $CONFIG_FILES ;;
 
7564
esac
 
7565
shift
 
7566
for mf
 
7567
do
7254
7568
  # Strip MF so we end up with the name of the file.
7255
7569
  mf=`echo "$mf" | sed -e 's/:.*$//'`
7256
7570
  # Check whether this is an Automake generated Makefile or not.
7260
7574
  # each Makefile.in and add a new line on top of each file to say so.
7261
7575
  # Grep'ing the whole file is not good either: AIX grep has a line
7262
7576
  # limit of 2048, but all sed's we know have understand at least 4000.
7263
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
7577
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7264
7578
    dirpart=`$as_dirname -- "$mf" ||
7265
7579
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7266
7580
         X"$mf" : 'X\(//\)[^/]' \| \
7267
7581
         X"$mf" : 'X\(//\)$' \| \
7268
7582
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7269
 
echo X"$mf" |
 
7583
$as_echo X"$mf" |
7270
7584
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7271
7585
            s//\1/
7272
7586
            q
7310
7624
         X"$file" : 'X\(//\)[^/]' \| \
7311
7625
         X"$file" : 'X\(//\)$' \| \
7312
7626
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7313
 
echo X"$file" |
 
7627
$as_echo X"$file" |
7314
7628
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7315
7629
            s//\1/
7316
7630
            q
7336
7650
    as_dirs=
7337
7651
    while :; do
7338
7652
      case $as_dir in #(
7339
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
7653
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7340
7654
      *) as_qdir=$as_dir;;
7341
7655
      esac
7342
7656
      as_dirs="'$as_qdir' $as_dirs"
7345
7659
         X"$as_dir" : 'X\(//\)[^/]' \| \
7346
7660
         X"$as_dir" : 'X\(//\)$' \| \
7347
7661
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7348
 
echo X"$as_dir" |
 
7662
$as_echo X"$as_dir" |
7349
7663
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7350
7664
            s//\1/
7351
7665
            q
7366
7680
      test -d "$as_dir" && break
7367
7681
    done
7368
7682
    test -z "$as_dirs" || eval "mkdir $as_dirs"
7369
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7370
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
7683
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
7684
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7371
7685
   { (exit 1); exit 1; }; }; }
7372
7686
    # echo "creating $dirpart/$file"
7373
7687
    echo '# dummy' > "$dirpart/$file"
7384
7698
chmod +x $CONFIG_STATUS
7385
7699
ac_clean_files=$ac_clean_files_save
7386
7700
 
 
7701
test $ac_write_fail = 0 ||
 
7702
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
7703
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
7704
   { (exit 1); exit 1; }; }
 
7705
 
7387
7706
 
7388
7707
# configure is writing to config.log, and then calls config.status.
7389
7708
# config.status does its own redirection, appending to config.log.
7405
7724
  # would make configure fail if this is the last instruction.
7406
7725
  $ac_cs_success || { (exit 1); exit 1; }
7407
7726
fi
 
7727
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
7728
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
7729
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
7730
fi
7408
7731