~ubuntu-branches/ubuntu/precise/grcm/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Luca Niccoli
  • Date: 2009-04-04 00:23:55 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20090404002355-hgzcfwns8vis1mmx
Tags: 0.1.6-1
* Adopt package.
* New upstream release.
* Repackage from scratch using quilt.
* Use debhelper 7
* Set Standards Version to 3.8.1
* Move build system to latest automake in Debian.

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.59.
 
3
# Generated by GNU Autoconf 2.53.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 
6
# Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
 
9
 
 
10
if expr a : '\(a\)' >/dev/null 2>&1; then
 
11
  as_expr=expr
 
12
else
 
13
  as_expr=false
 
14
fi
 
15
 
 
16
 
8
17
## --------------------- ##
9
18
## M4sh Initialization.  ##
10
19
## --------------------- ##
13
22
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
23
  emulate sh
15
24
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
25
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
26
  set -o posix
21
27
fi
22
 
DUALCASE=1; export DUALCASE # for MKS sh
23
28
 
 
29
# NLS nuisances.
24
30
# Support unset when possible.
25
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
31
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26
32
  as_unset=unset
27
33
else
28
34
  as_unset=false
29
35
fi
30
36
 
31
 
 
32
 
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
34
 
PS1='$ '
35
 
PS2='> '
36
 
PS4='+ '
37
 
 
38
 
# NLS nuisances.
39
 
for as_var in \
40
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
 
  LC_TELEPHONE LC_TIME
43
 
do
44
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
 
    eval $as_var=C; export $as_var
46
 
  else
47
 
    $as_unset $as_var
48
 
  fi
49
 
done
50
 
 
51
 
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
53
 
  as_expr=expr
54
 
else
55
 
  as_expr=false
56
 
fi
57
 
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59
 
  as_basename=basename
60
 
else
61
 
  as_basename=false
62
 
fi
 
37
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
 
38
    { $as_unset LANG || test "${LANG+set}" != set; } ||
 
39
      { LANG=C; export LANG; }
 
40
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
 
41
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
 
42
      { LC_ALL=C; export LC_ALL; }
 
43
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
 
44
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
 
45
      { LC_TIME=C; export LC_TIME; }
 
46
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
 
47
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
 
48
      { LC_CTYPE=C; export LC_CTYPE; }
 
49
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
 
50
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
 
51
      { LANGUAGE=C; export LANGUAGE; }
 
52
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
 
53
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
 
54
      { LC_COLLATE=C; export LC_COLLATE; }
 
55
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
 
56
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
 
57
      { LC_NUMERIC=C; export LC_NUMERIC; }
 
58
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
 
59
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
 
60
      { LC_MESSAGES=C; export LC_MESSAGES; }
63
61
 
64
62
 
65
63
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
64
as_me=`(basename "$0") 2>/dev/null ||
67
65
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
66
         X"$0" : 'X\(//\)$' \| \
69
67
         X"$0" : 'X\(/\)$' \| \
74
72
          /^X\/\(\/\).*/{ s//\1/; q; }
75
73
          s/.*/./; q'`
76
74
 
77
 
 
78
75
# PATH needs CR, and LINENO needs CR and PATH.
79
76
# Avoid depending upon Character Ranges.
80
77
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
85
82
 
86
83
# The user is always right.
87
84
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
85
  echo "#! /bin/sh" >conftest.sh
 
86
  echo  "exit 0"   >>conftest.sh
 
87
  chmod +x conftest.sh
 
88
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
92
89
    PATH_SEPARATOR=';'
93
90
  else
94
91
    PATH_SEPARATOR=:
95
92
  fi
96
 
  rm -f conf$$.sh
 
93
  rm -f conftest.sh
97
94
fi
98
95
 
99
96
 
141
138
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
139
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
140
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
141
             CONFIG_SHELL=$as_dir/$as_base
147
142
             export CONFIG_SHELL
148
143
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
215
210
fi
216
211
rm -f conf$$ conf$$.exe conf$$.file
217
212
 
218
 
if mkdir -p . 2>/dev/null; then
219
 
  as_mkdir_p=:
220
 
else
221
 
  test -d ./-p && rmdir ./-p
222
 
  as_mkdir_p=false
223
 
fi
224
 
 
225
213
as_executable_p="test -f"
226
214
 
227
215
# Sed expression to map a string onto a valid CPP name.
228
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
216
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229
217
 
230
218
# Sed expression to map a string onto a valid variable name.
231
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
219
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
232
220
 
233
221
 
234
222
# IFS
238
226
IFS="   $as_nl"
239
227
 
240
228
# CDPATH.
241
 
$as_unset CDPATH
 
229
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
242
230
 
243
231
 
244
232
# Name of the host.
252
240
# Initializations.
253
241
#
254
242
ac_default_prefix=/usr/local
255
 
ac_config_libobj_dir=.
256
243
cross_compiling=no
257
244
subdirs=
258
245
MFLAGS=
309
296
# include <unistd.h>
310
297
#endif"
311
298
 
312
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP WARN_CFLAGS PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GETTEXT_PACKAGE RANLIB ac_ct_RANLIB ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS'
313
 
ac_subst_files=''
314
299
 
315
300
# Initialize some variables set by options.
316
301
ac_init_help=
668
653
 
669
654
# Be sure to have absolute paths.
670
655
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
656
              localstatedir libdir includedir oldincludedir infodir mandir
672
657
do
673
658
  eval ac_val=$`echo $ac_var`
674
659
  case $ac_val in
708
693
  # Try the directory containing this script, then its parent.
709
694
  ac_confdir=`(dirname "$0") 2>/dev/null ||
710
695
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711
 
         X"$0" : 'X\(//\)[^/]' \| \
712
 
         X"$0" : 'X\(//\)$' \| \
713
 
         X"$0" : 'X\(/\)' \| \
714
 
         .     : '\(.\)' 2>/dev/null ||
 
696
         X"$0" : 'X\(//\)[^/]' \| \
 
697
         X"$0" : 'X\(//\)$' \| \
 
698
         X"$0" : 'X\(/\)' \| \
 
699
         .     : '\(.\)' 2>/dev/null ||
715
700
echo X"$0" |
716
701
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717
702
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
734
719
   { (exit 1); exit 1; }; }
735
720
  fi
736
721
fi
737
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739
 
   { (exit 1); exit 1; }; }
740
722
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741
723
ac_env_build_alias_set=${build_alias+set}
742
724
ac_env_build_alias_value=$build_alias
803
785
  cat <<_ACEOF
804
786
Installation directories:
805
787
  --prefix=PREFIX         install architecture-independent files in PREFIX
806
 
                          [$ac_default_prefix]
 
788
                          [$ac_default_prefix]
807
789
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
808
 
                          [PREFIX]
 
790
                          [PREFIX]
809
791
 
810
792
By default, \`make install' will install all the files in
811
793
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
895
877
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
896
878
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
897
879
esac
898
 
 
899
 
# Do not use `cd foo && pwd` to compute absolute paths, because
900
 
# the directories may not exist.
901
 
case `pwd` in
902
 
.) ac_abs_builddir="$ac_dir";;
903
 
*)
904
 
  case "$ac_dir" in
905
 
  .) ac_abs_builddir=`pwd`;;
906
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
907
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
908
 
  esac;;
909
 
esac
910
 
case $ac_abs_builddir in
911
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
912
 
*)
913
 
  case ${ac_top_builddir}. in
914
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
915
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
916
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
917
 
  esac;;
918
 
esac
919
 
case $ac_abs_builddir in
920
 
.) ac_abs_srcdir=$ac_srcdir;;
921
 
*)
922
 
  case $ac_srcdir in
923
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
924
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
925
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
926
 
  esac;;
927
 
esac
928
 
case $ac_abs_builddir in
929
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
930
 
*)
931
 
  case $ac_top_srcdir in
932
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
933
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
934
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
935
 
  esac;;
936
 
esac
 
880
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
881
# absolute.
 
882
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
883
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
 
884
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
885
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
937
886
 
938
887
    cd $ac_dir
939
888
    # Check for guested configure; otherwise get Cygnus style configure.
944
893
      echo
945
894
      $SHELL $ac_srcdir/configure  --help=recursive
946
895
    elif test -f $ac_srcdir/configure.ac ||
947
 
           test -f $ac_srcdir/configure.in; then
 
896
           test -f $ac_srcdir/configure.in; then
948
897
      echo
949
898
      $ac_configure --help
950
899
    else
951
900
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
952
901
    fi
953
 
    cd "$ac_popdir"
 
902
    cd $ac_popdir
954
903
  done
955
904
fi
956
905
 
958
907
if $ac_init_version; then
959
908
  cat <<\_ACEOF
960
909
 
961
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
910
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 
911
Free Software Foundation, Inc.
962
912
This configure script is free software; the Free Software Foundation
963
913
gives unlimited permission to copy, distribute and modify it.
964
914
_ACEOF
970
920
running configure, to aid debugging if configure makes a mistake.
971
921
 
972
922
It was created by $as_me, which was
973
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
923
generated by GNU Autoconf 2.53.  Invocation command line was
974
924
 
975
925
  $ $0 $@
976
926
 
1022
972
 
1023
973
# Keep a trace of the command line.
1024
974
# Strip out --no-create and --no-recursion so they do not pile up.
1025
 
# Strip out --silent because we don't want to record it for future runs.
1026
975
# Also quote any args containing shell meta-characters.
1027
 
# Make two passes to allow for proper duplicate-argument suppression.
1028
976
ac_configure_args=
1029
 
ac_configure_args0=
1030
 
ac_configure_args1=
1031
977
ac_sep=
1032
 
ac_must_keep_next=false
1033
 
for ac_pass in 1 2
 
978
for ac_arg
1034
979
do
1035
 
  for ac_arg
1036
 
  do
1037
 
    case $ac_arg in
1038
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1039
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040
 
    | -silent | --silent | --silen | --sile | --sil)
1041
 
      continue ;;
1042
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1044
 
    esac
1045
 
    case $ac_pass in
1046
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1047
 
    2)
1048
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1049
 
      if test $ac_must_keep_next = true; then
1050
 
        ac_must_keep_next=false # Got value, back to normal.
1051
 
      else
1052
 
        case $ac_arg in
1053
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1054
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1055
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1056
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1057
 
            case "$ac_configure_args0 " in
1058
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1059
 
            esac
1060
 
            ;;
1061
 
          -* ) ac_must_keep_next=true ;;
1062
 
        esac
1063
 
      fi
1064
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1065
 
      # Get rid of the leading space.
1066
 
      ac_sep=" "
1067
 
      ;;
1068
 
    esac
1069
 
  done
 
980
  case $ac_arg in
 
981
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
982
  | --no-cr | --no-c | -n ) continue ;;
 
983
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
984
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
985
    continue ;;
 
986
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
987
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
988
  esac
 
989
  case " $ac_configure_args " in
 
990
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
991
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
992
       ac_sep=" " ;;
 
993
  esac
 
994
  # Get rid of the leading space.
1070
995
done
1071
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1072
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1073
996
 
1074
997
# When interrupted or exit'd, cleanup temporary files, and complete
1075
998
# config.log.  We remove comments because anyway the quotes in there
1080
1003
  # Save into config.log some information that might help in debugging.
1081
1004
  {
1082
1005
    echo
1083
 
 
1084
1006
    cat <<\_ASBOX
1085
1007
## ---------------- ##
1086
1008
## Cache variables. ##
1093
1015
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1094
1016
    *ac_space=\ *)
1095
1017
      sed -n \
1096
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1097
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1018
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1019
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1098
1020
      ;;
1099
1021
    *)
1100
1022
      sed -n \
1101
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1023
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1102
1024
      ;;
1103
1025
    esac;
1104
1026
}
1105
1027
    echo
1106
 
 
1107
 
    cat <<\_ASBOX
1108
 
## ----------------- ##
1109
 
## Output variables. ##
1110
 
## ----------------- ##
1111
 
_ASBOX
1112
 
    echo
1113
 
    for ac_var in $ac_subst_vars
1114
 
    do
1115
 
      eval ac_val=$`echo $ac_var`
1116
 
      echo "$ac_var='"'"'$ac_val'"'"'"
1117
 
    done | sort
1118
 
    echo
1119
 
 
1120
 
    if test -n "$ac_subst_files"; then
1121
 
      cat <<\_ASBOX
1122
 
## ------------- ##
1123
 
## Output files. ##
1124
 
## ------------- ##
1125
 
_ASBOX
1126
 
      echo
1127
 
      for ac_var in $ac_subst_files
1128
 
      do
1129
 
        eval ac_val=$`echo $ac_var`
1130
 
        echo "$ac_var='"'"'$ac_val'"'"'"
1131
 
      done | sort
1132
 
      echo
1133
 
    fi
1134
 
 
1135
1028
    if test -s confdefs.h; then
1136
1029
      cat <<\_ASBOX
1137
1030
## ----------- ##
1139
1032
## ----------- ##
1140
1033
_ASBOX
1141
1034
      echo
1142
 
      sed "/^$/d" confdefs.h | sort
 
1035
      sed "/^$/d" confdefs.h
1143
1036
      echo
1144
1037
    fi
1145
1038
    test "$ac_signal" != 0 &&
1146
1039
      echo "$as_me: caught signal $ac_signal"
1147
1040
    echo "$as_me: exit $exit_status"
1148
1041
  } >&5
1149
 
  rm -f core *.core &&
 
1042
  rm -f core core.* *.core &&
1150
1043
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1151
1044
    exit $exit_status
1152
1045
     ' 0
1226
1119
# value.
1227
1120
ac_cache_corrupted=false
1228
1121
for ac_var in `(set) 2>&1 |
1229
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1122
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1230
1123
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1231
1124
  eval ac_new_set=\$ac_env_${ac_var}_set
1232
1125
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1243
1136
    ,);;
1244
1137
    *)
1245
1138
      if test "x$ac_old_val" != "x$ac_new_val"; then
1246
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1139
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1247
1140
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1248
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1141
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1249
1142
echo "$as_me:   former value:  $ac_old_val" >&2;}
1250
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1143
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1251
1144
echo "$as_me:   current value: $ac_new_val" >&2;}
1252
 
        ac_cache_corrupted=:
 
1145
        ac_cache_corrupted=:
1253
1146
      fi;;
1254
1147
  esac
1255
1148
  # Pass precious variables to config.status.
1296
1189
 
1297
1190
 
1298
1191
 
1299
 
 
1300
1192
am__api_version="1.4"
1301
1193
ac_aux_dir=
1302
1194
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1334
1226
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1335
1227
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1336
1228
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1337
 
# OS/2's system install, which has a completely different semantic
1338
1229
# ./install, which can be erroneously created by make from ./install.sh.
1339
1230
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1340
1231
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1351
1242
case $as_dir/ in
1352
1243
  ./ | .// | /cC/* | \
1353
1244
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1354
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1355
1245
  /usr/ucb/* ) ;;
1356
1246
  *)
1357
1247
    # OSF1 and SCO ODT 3.0 have their own names for install.
1359
1249
    # by default.
1360
1250
    for ac_prog in ginstall scoinst install; do
1361
1251
      for ac_exec_ext in '' $ac_executable_extensions; do
1362
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1363
 
          if test $ac_prog = install &&
1364
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1365
 
            # AIX install.  It has an incompatible calling convention.
1366
 
            :
1367
 
          elif test $ac_prog = install &&
1368
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1369
 
            # program-specific install script used by HP pwplus--don't use.
1370
 
            :
1371
 
          else
1372
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1373
 
            break 3
1374
 
          fi
1375
 
        fi
 
1252
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1253
          if test $ac_prog = install &&
 
1254
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1255
            # AIX install.  It has an incompatible calling convention.
 
1256
            :
 
1257
          elif test $ac_prog = install &&
 
1258
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1259
            # program-specific install script used by HP pwplus--don't use.
 
1260
            :
 
1261
          else
 
1262
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1263
            break 3
 
1264
          fi
 
1265
        fi
1376
1266
      done
1377
1267
    done
1378
1268
    ;;
1460
1350
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1461
1351
rm conftest.sed
1462
1352
 
1463
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1464
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1465
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
1353
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
 
1354
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
 
1355
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1466
1356
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1467
1357
  echo $ECHO_N "(cached) $ECHO_C" >&6
1468
1358
else
1469
1359
  cat >conftest.make <<\_ACEOF
1470
1360
all:
1471
 
        @echo 'ac_maketemp="$(MAKE)"'
 
1361
        @echo 'ac_maketemp="${MAKE}"'
1472
1362
_ACEOF
1473
1363
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1474
1364
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1612
1502
 
1613
1503
 
1614
1504
 
1615
 
          ac_config_headers="$ac_config_headers config.h"
 
1505
ac_config_headers="$ac_config_headers config.h"
1616
1506
 
1617
 
          ac_config_commands="$ac_config_commands default-1"
 
1507
ac_config_commands="$ac_config_commands default-1"
1618
1508
 
1619
1509
 
1620
1510
ac_ext=c
1821
1711
    # However, it has the same basename, so the bogon will be chosen
1822
1712
    # first if we set CC to just the basename; use the full file name.
1823
1713
    shift
1824
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
1714
    set dummy "$as_dir/$ac_word" ${1+"$@"}
 
1715
    shift
 
1716
    ac_cv_prog_CC="$@"
1825
1717
  fi
1826
1718
fi
1827
1719
fi
1926
1818
fi
1927
1819
 
1928
1820
 
1929
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1930
 
See \`config.log' for more details." >&5
1931
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
1932
 
See \`config.log' for more details." >&2;}
 
1821
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
 
1822
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1933
1823
   { (exit 1); exit 1; }; }
1934
1824
 
1935
1825
# Provide some information about the compiler.
1953
1843
  (exit $ac_status); }
1954
1844
 
1955
1845
cat >conftest.$ac_ext <<_ACEOF
1956
 
/* confdefs.h.  */
1957
 
_ACEOF
1958
 
cat confdefs.h >>conftest.$ac_ext
1959
 
cat >>conftest.$ac_ext <<_ACEOF
1960
 
/* end confdefs.h.  */
 
1846
#line $LINENO "configure"
 
1847
#include "confdefs.h"
1961
1848
 
 
1849
#ifdef F77_DUMMY_MAIN
 
1850
#  ifdef __cplusplus
 
1851
     extern "C"
 
1852
#  endif
 
1853
   int F77_DUMMY_MAIN() { return 1; }
 
1854
#endif
1962
1855
int
1963
1856
main ()
1964
1857
{
1968
1861
}
1969
1862
_ACEOF
1970
1863
ac_clean_files_save=$ac_clean_files
1971
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
1864
ac_clean_files="$ac_clean_files a.out a.exe"
1972
1865
# Try to create an executable without -o first, disregard a.out.
1973
1866
# It will help us diagnose broken compilers, and finding out an intuition
1974
1867
# of exeext.
1975
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1976
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
1868
echo "$as_me:$LINENO: checking for C compiler default output" >&5
 
1869
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1977
1870
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1978
1871
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1979
1872
  (eval $ac_link_default) 2>&5
1987
1880
# Be careful to initialize this variable, since it used to be cached.
1988
1881
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1989
1882
ac_cv_exeext=
1990
 
# b.out is created by i960 compilers.
1991
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1992
 
do
1993
 
  test -f "$ac_file" || continue
 
1883
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
 
1884
                ls a.out conftest 2>/dev/null;
 
1885
                ls a.* conftest.* 2>/dev/null`; do
1994
1886
  case $ac_file in
1995
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1996
 
        ;;
1997
 
    conftest.$ac_ext )
1998
 
        # This is the source file.
1999
 
        ;;
2000
 
    [ab].out )
2001
 
        # We found the default executable, but exeext='' is most
2002
 
        # certainly right.
2003
 
        break;;
2004
 
    *.* )
2005
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2006
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2007
 
        # but it would be cool to find out if it's true.  Does anybody
2008
 
        # maintain Libtool? --akim.
2009
 
        export ac_cv_exeext
2010
 
        break;;
2011
 
    * )
2012
 
        break;;
 
1887
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
 
1888
    a.out ) # We found the default executable, but exeext='' is most
 
1889
            # certainly right.
 
1890
            break;;
 
1891
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
1892
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
 
1893
          export ac_cv_exeext
 
1894
          break;;
 
1895
    * ) break;;
2013
1896
  esac
2014
1897
done
2015
1898
else
2016
1899
  echo "$as_me: failed program was:" >&5
2017
 
sed 's/^/| /' conftest.$ac_ext >&5
2018
 
 
2019
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2020
 
See \`config.log' for more details." >&5
2021
 
echo "$as_me: error: C compiler cannot create executables
2022
 
See \`config.log' for more details." >&2;}
 
1900
cat conftest.$ac_ext >&5
 
1901
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
 
1902
echo "$as_me: error: C compiler cannot create executables" >&2;}
2023
1903
   { (exit 77); exit 77; }; }
2024
1904
fi
2025
1905
 
2046
1926
        cross_compiling=yes
2047
1927
    else
2048
1928
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2049
 
If you meant to cross compile, use \`--host'.
2050
 
See \`config.log' for more details." >&5
 
1929
If you meant to cross compile, use \`--host'." >&5
2051
1930
echo "$as_me: error: cannot run C compiled programs.
2052
 
If you meant to cross compile, use \`--host'.
2053
 
See \`config.log' for more details." >&2;}
 
1931
If you meant to cross compile, use \`--host'." >&2;}
2054
1932
   { (exit 1); exit 1; }; }
2055
1933
    fi
2056
1934
  fi
2058
1936
echo "$as_me:$LINENO: result: yes" >&5
2059
1937
echo "${ECHO_T}yes" >&6
2060
1938
 
2061
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
1939
rm -f a.out a.exe conftest$ac_cv_exeext
2062
1940
ac_clean_files=$ac_clean_files_save
2063
1941
# Check the compiler produces executables we can run.  If not, either
2064
1942
# the compiler is broken, or we cross compile.
2078
1956
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2079
1957
# work properly (i.e., refer to `conftest.exe'), while it won't with
2080
1958
# `rm'.
2081
 
for ac_file in conftest.exe conftest conftest.*; do
2082
 
  test -f "$ac_file" || continue
 
1959
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2083
1960
  case $ac_file in
2084
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
1961
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2085
1962
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2086
 
          export ac_cv_exeext
2087
 
          break;;
 
1963
          export ac_cv_exeext
 
1964
          break;;
2088
1965
    * ) break;;
2089
1966
  esac
2090
1967
done
2091
1968
else
2092
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2093
 
See \`config.log' for more details." >&5
2094
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2095
 
See \`config.log' for more details." >&2;}
 
1969
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
 
1970
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2096
1971
   { (exit 1); exit 1; }; }
2097
1972
fi
2098
1973
 
2109
1984
  echo $ECHO_N "(cached) $ECHO_C" >&6
2110
1985
else
2111
1986
  cat >conftest.$ac_ext <<_ACEOF
2112
 
/* confdefs.h.  */
2113
 
_ACEOF
2114
 
cat confdefs.h >>conftest.$ac_ext
2115
 
cat >>conftest.$ac_ext <<_ACEOF
2116
 
/* end confdefs.h.  */
 
1987
#line $LINENO "configure"
 
1988
#include "confdefs.h"
2117
1989
 
 
1990
#ifdef F77_DUMMY_MAIN
 
1991
#  ifdef __cplusplus
 
1992
     extern "C"
 
1993
#  endif
 
1994
   int F77_DUMMY_MAIN() { return 1; }
 
1995
#endif
2118
1996
int
2119
1997
main ()
2120
1998
{
2131
2009
  (exit $ac_status); }; then
2132
2010
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2133
2011
  case $ac_file in
2134
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2012
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2135
2013
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2136
2014
       break;;
2137
2015
  esac
2138
2016
done
2139
2017
else
2140
2018
  echo "$as_me: failed program was:" >&5
2141
 
sed 's/^/| /' conftest.$ac_ext >&5
2142
 
 
2143
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2144
 
See \`config.log' for more details." >&5
2145
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2146
 
See \`config.log' for more details." >&2;}
 
2019
cat conftest.$ac_ext >&5
 
2020
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
 
2021
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2147
2022
   { (exit 1); exit 1; }; }
2148
2023
fi
2149
2024
 
2159
2034
  echo $ECHO_N "(cached) $ECHO_C" >&6
2160
2035
else
2161
2036
  cat >conftest.$ac_ext <<_ACEOF
2162
 
/* confdefs.h.  */
2163
 
_ACEOF
2164
 
cat confdefs.h >>conftest.$ac_ext
2165
 
cat >>conftest.$ac_ext <<_ACEOF
2166
 
/* end confdefs.h.  */
 
2037
#line $LINENO "configure"
 
2038
#include "confdefs.h"
2167
2039
 
 
2040
#ifdef F77_DUMMY_MAIN
 
2041
#  ifdef __cplusplus
 
2042
     extern "C"
 
2043
#  endif
 
2044
   int F77_DUMMY_MAIN() { return 1; }
 
2045
#endif
2168
2046
int
2169
2047
main ()
2170
2048
{
2178
2056
_ACEOF
2179
2057
rm -f conftest.$ac_objext
2180
2058
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2181
 
  (eval $ac_compile) 2>conftest.er1
 
2059
  (eval $ac_compile) 2>&5
2182
2060
  ac_status=$?
2183
 
  grep -v '^ *+' conftest.er1 >conftest.err
2184
 
  rm -f conftest.er1
2185
 
  cat conftest.err >&5
2186
2061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187
2062
  (exit $ac_status); } &&
2188
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2189
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190
 
  (eval $ac_try) 2>&5
2191
 
  ac_status=$?
2192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193
 
  (exit $ac_status); }; } &&
2194
 
         { ac_try='test -s conftest.$ac_objext'
 
2063
         { ac_try='test -s conftest.$ac_objext'
2195
2064
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196
2065
  (eval $ac_try) 2>&5
2197
2066
  ac_status=$?
2200
2069
  ac_compiler_gnu=yes
2201
2070
else
2202
2071
  echo "$as_me: failed program was:" >&5
2203
 
sed 's/^/| /' conftest.$ac_ext >&5
2204
 
 
 
2072
cat conftest.$ac_ext >&5
2205
2073
ac_compiler_gnu=no
2206
2074
fi
2207
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2075
rm -f conftest.$ac_objext conftest.$ac_ext
2208
2076
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2209
2077
 
2210
2078
fi
2220
2088
  echo $ECHO_N "(cached) $ECHO_C" >&6
2221
2089
else
2222
2090
  cat >conftest.$ac_ext <<_ACEOF
2223
 
/* confdefs.h.  */
2224
 
_ACEOF
2225
 
cat confdefs.h >>conftest.$ac_ext
2226
 
cat >>conftest.$ac_ext <<_ACEOF
2227
 
/* end confdefs.h.  */
 
2091
#line $LINENO "configure"
 
2092
#include "confdefs.h"
2228
2093
 
 
2094
#ifdef F77_DUMMY_MAIN
 
2095
#  ifdef __cplusplus
 
2096
     extern "C"
 
2097
#  endif
 
2098
   int F77_DUMMY_MAIN() { return 1; }
 
2099
#endif
2229
2100
int
2230
2101
main ()
2231
2102
{
2236
2107
_ACEOF
2237
2108
rm -f conftest.$ac_objext
2238
2109
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2239
 
  (eval $ac_compile) 2>conftest.er1
 
2110
  (eval $ac_compile) 2>&5
2240
2111
  ac_status=$?
2241
 
  grep -v '^ *+' conftest.er1 >conftest.err
2242
 
  rm -f conftest.er1
2243
 
  cat conftest.err >&5
2244
2112
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245
2113
  (exit $ac_status); } &&
2246
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2247
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2248
 
  (eval $ac_try) 2>&5
2249
 
  ac_status=$?
2250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251
 
  (exit $ac_status); }; } &&
2252
 
         { ac_try='test -s conftest.$ac_objext'
 
2114
         { ac_try='test -s conftest.$ac_objext'
2253
2115
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2254
2116
  (eval $ac_try) 2>&5
2255
2117
  ac_status=$?
2258
2120
  ac_cv_prog_cc_g=yes
2259
2121
else
2260
2122
  echo "$as_me: failed program was:" >&5
2261
 
sed 's/^/| /' conftest.$ac_ext >&5
2262
 
 
 
2123
cat conftest.$ac_ext >&5
2263
2124
ac_cv_prog_cc_g=no
2264
2125
fi
2265
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2126
rm -f conftest.$ac_objext conftest.$ac_ext
2266
2127
fi
2267
2128
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2268
2129
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2281
2142
    CFLAGS=
2282
2143
  fi
2283
2144
fi
2284
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2285
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2286
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2287
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2288
 
else
2289
 
  ac_cv_prog_cc_stdc=no
2290
 
ac_save_CC=$CC
2291
 
cat >conftest.$ac_ext <<_ACEOF
2292
 
/* confdefs.h.  */
2293
 
_ACEOF
2294
 
cat confdefs.h >>conftest.$ac_ext
2295
 
cat >>conftest.$ac_ext <<_ACEOF
2296
 
/* end confdefs.h.  */
2297
 
#include <stdarg.h>
2298
 
#include <stdio.h>
2299
 
#include <sys/types.h>
2300
 
#include <sys/stat.h>
2301
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2302
 
struct buf { int x; };
2303
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2304
 
static char *e (p, i)
2305
 
     char **p;
2306
 
     int i;
2307
 
{
2308
 
  return p[i];
2309
 
}
2310
 
static char *f (char * (*g) (char **, int), char **p, ...)
2311
 
{
2312
 
  char *s;
2313
 
  va_list v;
2314
 
  va_start (v,p);
2315
 
  s = g (p, va_arg (v,int));
2316
 
  va_end (v);
2317
 
  return s;
2318
 
}
2319
 
 
2320
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2321
 
   function prototypes and stuff, but not '\xHH' hex character constants.
2322
 
   These don't provoke an error unfortunately, instead are silently treated
2323
 
   as 'x'.  The following induces an error, until -std1 is added to get
2324
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2325
 
   array size at least.  It's necessary to write '\x00'==0 to get something
2326
 
   that's true only with -std1.  */
2327
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2328
 
 
2329
 
int test (int i, double x);
2330
 
struct s1 {int (*f) (int a);};
2331
 
struct s2 {int (*f) (double a);};
2332
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2333
 
int argc;
2334
 
char **argv;
2335
 
int
2336
 
main ()
2337
 
{
2338
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2339
 
  ;
2340
 
  return 0;
2341
 
}
2342
 
_ACEOF
2343
 
# Don't try gcc -ansi; that turns off useful extensions and
2344
 
# breaks some systems' header files.
2345
 
# AIX                   -qlanglvl=ansi
2346
 
# Ultrix and OSF/1      -std1
2347
 
# HP-UX 10.20 and later -Ae
2348
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2349
 
# SVR4                  -Xc -D__EXTENSIONS__
2350
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2351
 
do
2352
 
  CC="$ac_save_CC $ac_arg"
2353
 
  rm -f conftest.$ac_objext
2354
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355
 
  (eval $ac_compile) 2>conftest.er1
2356
 
  ac_status=$?
2357
 
  grep -v '^ *+' conftest.er1 >conftest.err
2358
 
  rm -f conftest.er1
2359
 
  cat conftest.err >&5
2360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361
 
  (exit $ac_status); } &&
2362
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364
 
  (eval $ac_try) 2>&5
2365
 
  ac_status=$?
2366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367
 
  (exit $ac_status); }; } &&
2368
 
         { ac_try='test -s conftest.$ac_objext'
2369
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370
 
  (eval $ac_try) 2>&5
2371
 
  ac_status=$?
2372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373
 
  (exit $ac_status); }; }; then
2374
 
  ac_cv_prog_cc_stdc=$ac_arg
2375
 
break
2376
 
else
2377
 
  echo "$as_me: failed program was:" >&5
2378
 
sed 's/^/| /' conftest.$ac_ext >&5
2379
 
 
2380
 
fi
2381
 
rm -f conftest.err conftest.$ac_objext
2382
 
done
2383
 
rm -f conftest.$ac_ext conftest.$ac_objext
2384
 
CC=$ac_save_CC
2385
 
 
2386
 
fi
2387
 
 
2388
 
case "x$ac_cv_prog_cc_stdc" in
2389
 
  x|xno)
2390
 
    echo "$as_me:$LINENO: result: none needed" >&5
2391
 
echo "${ECHO_T}none needed" >&6 ;;
2392
 
  *)
2393
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2394
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2395
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2396
 
esac
2397
 
 
2398
2145
# Some people use a C++ compiler to compile C.  Since we use `exit',
2399
2146
# in C++ we need to declare it.  In case someone uses the same compiler
2400
2147
# for both compiling C and C++ we need to have the C++ compiler decide
2406
2153
_ACEOF
2407
2154
rm -f conftest.$ac_objext
2408
2155
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2409
 
  (eval $ac_compile) 2>conftest.er1
 
2156
  (eval $ac_compile) 2>&5
2410
2157
  ac_status=$?
2411
 
  grep -v '^ *+' conftest.er1 >conftest.err
2412
 
  rm -f conftest.er1
2413
 
  cat conftest.err >&5
2414
2158
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415
2159
  (exit $ac_status); } &&
2416
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2417
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418
 
  (eval $ac_try) 2>&5
2419
 
  ac_status=$?
2420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421
 
  (exit $ac_status); }; } &&
2422
 
         { ac_try='test -s conftest.$ac_objext'
 
2160
         { ac_try='test -s conftest.$ac_objext'
2423
2161
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424
2162
  (eval $ac_try) 2>&5
2425
2163
  ac_status=$?
2426
2164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427
2165
  (exit $ac_status); }; }; then
2428
2166
  for ac_declaration in \
2429
 
   '' \
 
2167
   ''\
 
2168
   '#include <stdlib.h>' \
2430
2169
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2431
2170
   'extern "C" void std::exit (int); using std::exit;' \
2432
2171
   'extern "C" void exit (int) throw ();' \
2434
2173
   'void exit (int);'
2435
2174
do
2436
2175
  cat >conftest.$ac_ext <<_ACEOF
2437
 
/* confdefs.h.  */
2438
 
_ACEOF
2439
 
cat confdefs.h >>conftest.$ac_ext
2440
 
cat >>conftest.$ac_ext <<_ACEOF
2441
 
/* end confdefs.h.  */
2442
 
$ac_declaration
 
2176
#line $LINENO "configure"
 
2177
#include "confdefs.h"
2443
2178
#include <stdlib.h>
 
2179
$ac_declaration
 
2180
#ifdef F77_DUMMY_MAIN
 
2181
#  ifdef __cplusplus
 
2182
     extern "C"
 
2183
#  endif
 
2184
   int F77_DUMMY_MAIN() { return 1; }
 
2185
#endif
2444
2186
int
2445
2187
main ()
2446
2188
{
2451
2193
_ACEOF
2452
2194
rm -f conftest.$ac_objext
2453
2195
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2454
 
  (eval $ac_compile) 2>conftest.er1
 
2196
  (eval $ac_compile) 2>&5
2455
2197
  ac_status=$?
2456
 
  grep -v '^ *+' conftest.er1 >conftest.err
2457
 
  rm -f conftest.er1
2458
 
  cat conftest.err >&5
2459
2198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460
2199
  (exit $ac_status); } &&
2461
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2462
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463
 
  (eval $ac_try) 2>&5
2464
 
  ac_status=$?
2465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466
 
  (exit $ac_status); }; } &&
2467
 
         { ac_try='test -s conftest.$ac_objext'
 
2200
         { ac_try='test -s conftest.$ac_objext'
2468
2201
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469
2202
  (eval $ac_try) 2>&5
2470
2203
  ac_status=$?
2473
2206
  :
2474
2207
else
2475
2208
  echo "$as_me: failed program was:" >&5
2476
 
sed 's/^/| /' conftest.$ac_ext >&5
2477
 
 
 
2209
cat conftest.$ac_ext >&5
2478
2210
continue
2479
2211
fi
2480
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2212
rm -f conftest.$ac_objext conftest.$ac_ext
2481
2213
  cat >conftest.$ac_ext <<_ACEOF
2482
 
/* confdefs.h.  */
2483
 
_ACEOF
2484
 
cat confdefs.h >>conftest.$ac_ext
2485
 
cat >>conftest.$ac_ext <<_ACEOF
2486
 
/* end confdefs.h.  */
 
2214
#line $LINENO "configure"
 
2215
#include "confdefs.h"
2487
2216
$ac_declaration
 
2217
#ifdef F77_DUMMY_MAIN
 
2218
#  ifdef __cplusplus
 
2219
     extern "C"
 
2220
#  endif
 
2221
   int F77_DUMMY_MAIN() { return 1; }
 
2222
#endif
2488
2223
int
2489
2224
main ()
2490
2225
{
2495
2230
_ACEOF
2496
2231
rm -f conftest.$ac_objext
2497
2232
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2498
 
  (eval $ac_compile) 2>conftest.er1
 
2233
  (eval $ac_compile) 2>&5
2499
2234
  ac_status=$?
2500
 
  grep -v '^ *+' conftest.er1 >conftest.err
2501
 
  rm -f conftest.er1
2502
 
  cat conftest.err >&5
2503
2235
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504
2236
  (exit $ac_status); } &&
2505
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2506
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507
 
  (eval $ac_try) 2>&5
2508
 
  ac_status=$?
2509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510
 
  (exit $ac_status); }; } &&
2511
 
         { ac_try='test -s conftest.$ac_objext'
 
2237
         { ac_try='test -s conftest.$ac_objext'
2512
2238
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513
2239
  (eval $ac_try) 2>&5
2514
2240
  ac_status=$?
2517
2243
  break
2518
2244
else
2519
2245
  echo "$as_me: failed program was:" >&5
2520
 
sed 's/^/| /' conftest.$ac_ext >&5
2521
 
 
 
2246
cat conftest.$ac_ext >&5
2522
2247
fi
2523
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2248
rm -f conftest.$ac_objext conftest.$ac_ext
2524
2249
done
2525
2250
rm -f conftest*
2526
2251
if test -n "$ac_declaration"; then
2531
2256
 
2532
2257
else
2533
2258
  echo "$as_me: failed program was:" >&5
2534
 
sed 's/^/| /' conftest.$ac_ext >&5
2535
 
 
 
2259
cat conftest.$ac_ext >&5
2536
2260
fi
2537
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2261
rm -f conftest.$ac_objext conftest.$ac_ext
2538
2262
ac_ext=c
2539
2263
ac_cpp='$CPP $CPPFLAGS'
2540
2264
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2551
2275
  ac_check_lib_save_LIBS=$LIBS
2552
2276
LIBS="-lcposix  $LIBS"
2553
2277
cat >conftest.$ac_ext <<_ACEOF
2554
 
/* confdefs.h.  */
2555
 
_ACEOF
2556
 
cat confdefs.h >>conftest.$ac_ext
2557
 
cat >>conftest.$ac_ext <<_ACEOF
2558
 
/* end confdefs.h.  */
 
2278
#line $LINENO "configure"
 
2279
#include "confdefs.h"
2559
2280
 
2560
2281
/* Override any gcc2 internal prototype to avoid an error.  */
2561
2282
#ifdef __cplusplus
2564
2285
/* We use char because int might match the return type of a gcc2
2565
2286
   builtin and then its argument prototype would still apply.  */
2566
2287
char strerror ();
 
2288
#ifdef F77_DUMMY_MAIN
 
2289
#  ifdef __cplusplus
 
2290
     extern "C"
 
2291
#  endif
 
2292
   int F77_DUMMY_MAIN() { return 1; }
 
2293
#endif
2567
2294
int
2568
2295
main ()
2569
2296
{
2574
2301
_ACEOF
2575
2302
rm -f conftest.$ac_objext conftest$ac_exeext
2576
2303
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2577
 
  (eval $ac_link) 2>conftest.er1
 
2304
  (eval $ac_link) 2>&5
2578
2305
  ac_status=$?
2579
 
  grep -v '^ *+' conftest.er1 >conftest.err
2580
 
  rm -f conftest.er1
2581
 
  cat conftest.err >&5
2582
2306
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583
2307
  (exit $ac_status); } &&
2584
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2585
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586
 
  (eval $ac_try) 2>&5
2587
 
  ac_status=$?
2588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589
 
  (exit $ac_status); }; } &&
2590
 
         { ac_try='test -s conftest$ac_exeext'
 
2308
         { ac_try='test -s conftest$ac_exeext'
2591
2309
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592
2310
  (eval $ac_try) 2>&5
2593
2311
  ac_status=$?
2596
2314
  ac_cv_lib_cposix_strerror=yes
2597
2315
else
2598
2316
  echo "$as_me: failed program was:" >&5
2599
 
sed 's/^/| /' conftest.$ac_ext >&5
2600
 
 
 
2317
cat conftest.$ac_ext >&5
2601
2318
ac_cv_lib_cposix_strerror=no
2602
2319
fi
2603
 
rm -f conftest.err conftest.$ac_objext \
2604
 
      conftest$ac_exeext conftest.$ac_ext
 
2320
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2605
2321
LIBS=$ac_check_lib_save_LIBS
2606
2322
fi
2607
2323
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2816
2532
    # However, it has the same basename, so the bogon will be chosen
2817
2533
    # first if we set CC to just the basename; use the full file name.
2818
2534
    shift
2819
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2535
    set dummy "$as_dir/$ac_word" ${1+"$@"}
 
2536
    shift
 
2537
    ac_cv_prog_CC="$@"
2820
2538
  fi
2821
2539
fi
2822
2540
fi
2921
2639
fi
2922
2640
 
2923
2641
 
2924
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2925
 
See \`config.log' for more details." >&5
2926
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2927
 
See \`config.log' for more details." >&2;}
 
2642
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
 
2643
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2928
2644
   { (exit 1); exit 1; }; }
2929
2645
 
2930
2646
# Provide some information about the compiler.
2953
2669
  echo $ECHO_N "(cached) $ECHO_C" >&6
2954
2670
else
2955
2671
  cat >conftest.$ac_ext <<_ACEOF
2956
 
/* confdefs.h.  */
2957
 
_ACEOF
2958
 
cat confdefs.h >>conftest.$ac_ext
2959
 
cat >>conftest.$ac_ext <<_ACEOF
2960
 
/* end confdefs.h.  */
 
2672
#line $LINENO "configure"
 
2673
#include "confdefs.h"
2961
2674
 
 
2675
#ifdef F77_DUMMY_MAIN
 
2676
#  ifdef __cplusplus
 
2677
     extern "C"
 
2678
#  endif
 
2679
   int F77_DUMMY_MAIN() { return 1; }
 
2680
#endif
2962
2681
int
2963
2682
main ()
2964
2683
{
2972
2691
_ACEOF
2973
2692
rm -f conftest.$ac_objext
2974
2693
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2975
 
  (eval $ac_compile) 2>conftest.er1
 
2694
  (eval $ac_compile) 2>&5
2976
2695
  ac_status=$?
2977
 
  grep -v '^ *+' conftest.er1 >conftest.err
2978
 
  rm -f conftest.er1
2979
 
  cat conftest.err >&5
2980
2696
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
2697
  (exit $ac_status); } &&
2982
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2983
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984
 
  (eval $ac_try) 2>&5
2985
 
  ac_status=$?
2986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
 
  (exit $ac_status); }; } &&
2988
 
         { ac_try='test -s conftest.$ac_objext'
 
2698
         { ac_try='test -s conftest.$ac_objext'
2989
2699
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990
2700
  (eval $ac_try) 2>&5
2991
2701
  ac_status=$?
2994
2704
  ac_compiler_gnu=yes
2995
2705
else
2996
2706
  echo "$as_me: failed program was:" >&5
2997
 
sed 's/^/| /' conftest.$ac_ext >&5
2998
 
 
 
2707
cat conftest.$ac_ext >&5
2999
2708
ac_compiler_gnu=no
3000
2709
fi
3001
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2710
rm -f conftest.$ac_objext conftest.$ac_ext
3002
2711
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3003
2712
 
3004
2713
fi
3014
2723
  echo $ECHO_N "(cached) $ECHO_C" >&6
3015
2724
else
3016
2725
  cat >conftest.$ac_ext <<_ACEOF
3017
 
/* confdefs.h.  */
3018
 
_ACEOF
3019
 
cat confdefs.h >>conftest.$ac_ext
3020
 
cat >>conftest.$ac_ext <<_ACEOF
3021
 
/* end confdefs.h.  */
 
2726
#line $LINENO "configure"
 
2727
#include "confdefs.h"
3022
2728
 
 
2729
#ifdef F77_DUMMY_MAIN
 
2730
#  ifdef __cplusplus
 
2731
     extern "C"
 
2732
#  endif
 
2733
   int F77_DUMMY_MAIN() { return 1; }
 
2734
#endif
3023
2735
int
3024
2736
main ()
3025
2737
{
3030
2742
_ACEOF
3031
2743
rm -f conftest.$ac_objext
3032
2744
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3033
 
  (eval $ac_compile) 2>conftest.er1
 
2745
  (eval $ac_compile) 2>&5
3034
2746
  ac_status=$?
3035
 
  grep -v '^ *+' conftest.er1 >conftest.err
3036
 
  rm -f conftest.er1
3037
 
  cat conftest.err >&5
3038
2747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039
2748
  (exit $ac_status); } &&
3040
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3041
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3042
 
  (eval $ac_try) 2>&5
3043
 
  ac_status=$?
3044
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045
 
  (exit $ac_status); }; } &&
3046
 
         { ac_try='test -s conftest.$ac_objext'
 
2749
         { ac_try='test -s conftest.$ac_objext'
3047
2750
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048
2751
  (eval $ac_try) 2>&5
3049
2752
  ac_status=$?
3052
2755
  ac_cv_prog_cc_g=yes
3053
2756
else
3054
2757
  echo "$as_me: failed program was:" >&5
3055
 
sed 's/^/| /' conftest.$ac_ext >&5
3056
 
 
 
2758
cat conftest.$ac_ext >&5
3057
2759
ac_cv_prog_cc_g=no
3058
2760
fi
3059
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2761
rm -f conftest.$ac_objext conftest.$ac_ext
3060
2762
fi
3061
2763
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3062
2764
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3075
2777
    CFLAGS=
3076
2778
  fi
3077
2779
fi
3078
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3079
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3080
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3081
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3082
 
else
3083
 
  ac_cv_prog_cc_stdc=no
3084
 
ac_save_CC=$CC
3085
 
cat >conftest.$ac_ext <<_ACEOF
3086
 
/* confdefs.h.  */
3087
 
_ACEOF
3088
 
cat confdefs.h >>conftest.$ac_ext
3089
 
cat >>conftest.$ac_ext <<_ACEOF
3090
 
/* end confdefs.h.  */
3091
 
#include <stdarg.h>
3092
 
#include <stdio.h>
3093
 
#include <sys/types.h>
3094
 
#include <sys/stat.h>
3095
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3096
 
struct buf { int x; };
3097
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3098
 
static char *e (p, i)
3099
 
     char **p;
3100
 
     int i;
3101
 
{
3102
 
  return p[i];
3103
 
}
3104
 
static char *f (char * (*g) (char **, int), char **p, ...)
3105
 
{
3106
 
  char *s;
3107
 
  va_list v;
3108
 
  va_start (v,p);
3109
 
  s = g (p, va_arg (v,int));
3110
 
  va_end (v);
3111
 
  return s;
3112
 
}
3113
 
 
3114
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3115
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3116
 
   These don't provoke an error unfortunately, instead are silently treated
3117
 
   as 'x'.  The following induces an error, until -std1 is added to get
3118
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3119
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3120
 
   that's true only with -std1.  */
3121
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3122
 
 
3123
 
int test (int i, double x);
3124
 
struct s1 {int (*f) (int a);};
3125
 
struct s2 {int (*f) (double a);};
3126
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3127
 
int argc;
3128
 
char **argv;
3129
 
int
3130
 
main ()
3131
 
{
3132
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3133
 
  ;
3134
 
  return 0;
3135
 
}
3136
 
_ACEOF
3137
 
# Don't try gcc -ansi; that turns off useful extensions and
3138
 
# breaks some systems' header files.
3139
 
# AIX                   -qlanglvl=ansi
3140
 
# Ultrix and OSF/1      -std1
3141
 
# HP-UX 10.20 and later -Ae
3142
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3143
 
# SVR4                  -Xc -D__EXTENSIONS__
3144
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3145
 
do
3146
 
  CC="$ac_save_CC $ac_arg"
3147
 
  rm -f conftest.$ac_objext
3148
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149
 
  (eval $ac_compile) 2>conftest.er1
3150
 
  ac_status=$?
3151
 
  grep -v '^ *+' conftest.er1 >conftest.err
3152
 
  rm -f conftest.er1
3153
 
  cat conftest.err >&5
3154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155
 
  (exit $ac_status); } &&
3156
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3157
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158
 
  (eval $ac_try) 2>&5
3159
 
  ac_status=$?
3160
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161
 
  (exit $ac_status); }; } &&
3162
 
         { ac_try='test -s conftest.$ac_objext'
3163
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164
 
  (eval $ac_try) 2>&5
3165
 
  ac_status=$?
3166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167
 
  (exit $ac_status); }; }; then
3168
 
  ac_cv_prog_cc_stdc=$ac_arg
3169
 
break
3170
 
else
3171
 
  echo "$as_me: failed program was:" >&5
3172
 
sed 's/^/| /' conftest.$ac_ext >&5
3173
 
 
3174
 
fi
3175
 
rm -f conftest.err conftest.$ac_objext
3176
 
done
3177
 
rm -f conftest.$ac_ext conftest.$ac_objext
3178
 
CC=$ac_save_CC
3179
 
 
3180
 
fi
3181
 
 
3182
 
case "x$ac_cv_prog_cc_stdc" in
3183
 
  x|xno)
3184
 
    echo "$as_me:$LINENO: result: none needed" >&5
3185
 
echo "${ECHO_T}none needed" >&6 ;;
3186
 
  *)
3187
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3188
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3189
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
3190
 
esac
3191
 
 
3192
2780
# Some people use a C++ compiler to compile C.  Since we use `exit',
3193
2781
# in C++ we need to declare it.  In case someone uses the same compiler
3194
2782
# for both compiling C and C++ we need to have the C++ compiler decide
3200
2788
_ACEOF
3201
2789
rm -f conftest.$ac_objext
3202
2790
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3203
 
  (eval $ac_compile) 2>conftest.er1
 
2791
  (eval $ac_compile) 2>&5
3204
2792
  ac_status=$?
3205
 
  grep -v '^ *+' conftest.er1 >conftest.err
3206
 
  rm -f conftest.er1
3207
 
  cat conftest.err >&5
3208
2793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209
2794
  (exit $ac_status); } &&
3210
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3211
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3212
 
  (eval $ac_try) 2>&5
3213
 
  ac_status=$?
3214
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215
 
  (exit $ac_status); }; } &&
3216
 
         { ac_try='test -s conftest.$ac_objext'
 
2795
         { ac_try='test -s conftest.$ac_objext'
3217
2796
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218
2797
  (eval $ac_try) 2>&5
3219
2798
  ac_status=$?
3220
2799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221
2800
  (exit $ac_status); }; }; then
3222
2801
  for ac_declaration in \
3223
 
   '' \
 
2802
   ''\
 
2803
   '#include <stdlib.h>' \
3224
2804
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3225
2805
   'extern "C" void std::exit (int); using std::exit;' \
3226
2806
   'extern "C" void exit (int) throw ();' \
3228
2808
   'void exit (int);'
3229
2809
do
3230
2810
  cat >conftest.$ac_ext <<_ACEOF
3231
 
/* confdefs.h.  */
3232
 
_ACEOF
3233
 
cat confdefs.h >>conftest.$ac_ext
3234
 
cat >>conftest.$ac_ext <<_ACEOF
3235
 
/* end confdefs.h.  */
3236
 
$ac_declaration
 
2811
#line $LINENO "configure"
 
2812
#include "confdefs.h"
3237
2813
#include <stdlib.h>
 
2814
$ac_declaration
 
2815
#ifdef F77_DUMMY_MAIN
 
2816
#  ifdef __cplusplus
 
2817
     extern "C"
 
2818
#  endif
 
2819
   int F77_DUMMY_MAIN() { return 1; }
 
2820
#endif
3238
2821
int
3239
2822
main ()
3240
2823
{
3245
2828
_ACEOF
3246
2829
rm -f conftest.$ac_objext
3247
2830
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3248
 
  (eval $ac_compile) 2>conftest.er1
 
2831
  (eval $ac_compile) 2>&5
3249
2832
  ac_status=$?
3250
 
  grep -v '^ *+' conftest.er1 >conftest.err
3251
 
  rm -f conftest.er1
3252
 
  cat conftest.err >&5
3253
2833
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254
2834
  (exit $ac_status); } &&
3255
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3256
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257
 
  (eval $ac_try) 2>&5
3258
 
  ac_status=$?
3259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260
 
  (exit $ac_status); }; } &&
3261
 
         { ac_try='test -s conftest.$ac_objext'
 
2835
         { ac_try='test -s conftest.$ac_objext'
3262
2836
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263
2837
  (eval $ac_try) 2>&5
3264
2838
  ac_status=$?
3267
2841
  :
3268
2842
else
3269
2843
  echo "$as_me: failed program was:" >&5
3270
 
sed 's/^/| /' conftest.$ac_ext >&5
3271
 
 
 
2844
cat conftest.$ac_ext >&5
3272
2845
continue
3273
2846
fi
3274
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2847
rm -f conftest.$ac_objext conftest.$ac_ext
3275
2848
  cat >conftest.$ac_ext <<_ACEOF
3276
 
/* confdefs.h.  */
3277
 
_ACEOF
3278
 
cat confdefs.h >>conftest.$ac_ext
3279
 
cat >>conftest.$ac_ext <<_ACEOF
3280
 
/* end confdefs.h.  */
 
2849
#line $LINENO "configure"
 
2850
#include "confdefs.h"
3281
2851
$ac_declaration
 
2852
#ifdef F77_DUMMY_MAIN
 
2853
#  ifdef __cplusplus
 
2854
     extern "C"
 
2855
#  endif
 
2856
   int F77_DUMMY_MAIN() { return 1; }
 
2857
#endif
3282
2858
int
3283
2859
main ()
3284
2860
{
3289
2865
_ACEOF
3290
2866
rm -f conftest.$ac_objext
3291
2867
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3292
 
  (eval $ac_compile) 2>conftest.er1
 
2868
  (eval $ac_compile) 2>&5
3293
2869
  ac_status=$?
3294
 
  grep -v '^ *+' conftest.er1 >conftest.err
3295
 
  rm -f conftest.er1
3296
 
  cat conftest.err >&5
3297
2870
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298
2871
  (exit $ac_status); } &&
3299
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3300
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301
 
  (eval $ac_try) 2>&5
3302
 
  ac_status=$?
3303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304
 
  (exit $ac_status); }; } &&
3305
 
         { ac_try='test -s conftest.$ac_objext'
 
2872
         { ac_try='test -s conftest.$ac_objext'
3306
2873
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307
2874
  (eval $ac_try) 2>&5
3308
2875
  ac_status=$?
3311
2878
  break
3312
2879
else
3313
2880
  echo "$as_me: failed program was:" >&5
3314
 
sed 's/^/| /' conftest.$ac_ext >&5
3315
 
 
 
2881
cat conftest.$ac_ext >&5
3316
2882
fi
3317
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2883
rm -f conftest.$ac_objext conftest.$ac_ext
3318
2884
done
3319
2885
rm -f conftest*
3320
2886
if test -n "$ac_declaration"; then
3325
2891
 
3326
2892
else
3327
2893
  echo "$as_me: failed program was:" >&5
3328
 
sed 's/^/| /' conftest.$ac_ext >&5
3329
 
 
 
2894
cat conftest.$ac_ext >&5
3330
2895
fi
3331
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2896
rm -f conftest.$ac_objext conftest.$ac_ext
3332
2897
ac_ext=c
3333
2898
ac_cpp='$CPP $CPPFLAGS'
3334
2899
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3355
2920
do
3356
2921
  CC="$ac_save_CC $ac_arg"
3357
2922
  cat >conftest.$ac_ext <<_ACEOF
3358
 
/* confdefs.h.  */
3359
 
_ACEOF
3360
 
cat confdefs.h >>conftest.$ac_ext
3361
 
cat >>conftest.$ac_ext <<_ACEOF
3362
 
/* end confdefs.h.  */
 
2923
#line $LINENO "configure"
 
2924
#include "confdefs.h"
3363
2925
#include <stdarg.h>
3364
2926
#include <stdio.h>
3365
2927
#include <sys/types.h>
3389
2951
int argc;
3390
2952
char **argv;
3391
2953
 
 
2954
#ifdef F77_DUMMY_MAIN
 
2955
#  ifdef __cplusplus
 
2956
     extern "C"
 
2957
#  endif
 
2958
   int F77_DUMMY_MAIN() { return 1; }
 
2959
#endif
3392
2960
int
3393
2961
main ()
3394
2962
{
3401
2969
_ACEOF
3402
2970
rm -f conftest.$ac_objext
3403
2971
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3404
 
  (eval $ac_compile) 2>conftest.er1
 
2972
  (eval $ac_compile) 2>&5
3405
2973
  ac_status=$?
3406
 
  grep -v '^ *+' conftest.er1 >conftest.err
3407
 
  rm -f conftest.er1
3408
 
  cat conftest.err >&5
3409
2974
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410
2975
  (exit $ac_status); } &&
3411
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3412
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413
 
  (eval $ac_try) 2>&5
3414
 
  ac_status=$?
3415
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416
 
  (exit $ac_status); }; } &&
3417
 
         { ac_try='test -s conftest.$ac_objext'
 
2976
         { ac_try='test -s conftest.$ac_objext'
3418
2977
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3419
2978
  (eval $ac_try) 2>&5
3420
2979
  ac_status=$?
3423
2982
  am_cv_prog_cc_stdc="$ac_arg"; break
3424
2983
else
3425
2984
  echo "$as_me: failed program was:" >&5
3426
 
sed 's/^/| /' conftest.$ac_ext >&5
3427
 
 
 
2985
cat conftest.$ac_ext >&5
3428
2986
fi
3429
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2987
rm -f conftest.$ac_objext conftest.$ac_ext
3430
2988
done
3431
2989
CC="$ac_save_CC"
3432
2990
 
3467
3025
do
3468
3026
  # Use a header file that comes with gcc, so configuring glibc
3469
3027
  # with a fresh cross-compiler works.
3470
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3471
 
  # <limits.h> exists even on freestanding compilers.
3472
3028
  # On the NeXT, cc -E runs the code through the compiler's parser,
3473
3029
  # not just through cpp. "Syntax error" is here to catch this case.
3474
3030
  cat >conftest.$ac_ext <<_ACEOF
3475
 
/* confdefs.h.  */
3476
 
_ACEOF
3477
 
cat confdefs.h >>conftest.$ac_ext
3478
 
cat >>conftest.$ac_ext <<_ACEOF
3479
 
/* end confdefs.h.  */
3480
 
#ifdef __STDC__
3481
 
# include <limits.h>
3482
 
#else
3483
 
# include <assert.h>
3484
 
#endif
3485
 
                     Syntax error
 
3031
#line $LINENO "configure"
 
3032
#include "confdefs.h"
 
3033
#include <assert.h>
 
3034
                     Syntax error
3486
3035
_ACEOF
3487
3036
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3488
3037
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3489
3038
  ac_status=$?
3490
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
3039
  egrep -v '^ *\+' conftest.er1 >conftest.err
3491
3040
  rm -f conftest.er1
3492
3041
  cat conftest.err >&5
3493
3042
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494
3043
  (exit $ac_status); } >/dev/null; then
3495
3044
  if test -s conftest.err; then
3496
3045
    ac_cpp_err=$ac_c_preproc_warn_flag
3497
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3498
3046
  else
3499
3047
    ac_cpp_err=
3500
3048
  fi
3505
3053
  :
3506
3054
else
3507
3055
  echo "$as_me: failed program was:" >&5
3508
 
sed 's/^/| /' conftest.$ac_ext >&5
3509
 
 
 
3056
  cat conftest.$ac_ext >&5
3510
3057
  # Broken: fails on valid input.
3511
3058
continue
3512
3059
fi
3515
3062
  # OK, works on sane cases.  Now check whether non-existent headers
3516
3063
  # can be detected and how.
3517
3064
  cat >conftest.$ac_ext <<_ACEOF
3518
 
/* confdefs.h.  */
3519
 
_ACEOF
3520
 
cat confdefs.h >>conftest.$ac_ext
3521
 
cat >>conftest.$ac_ext <<_ACEOF
3522
 
/* end confdefs.h.  */
 
3065
#line $LINENO "configure"
 
3066
#include "confdefs.h"
3523
3067
#include <ac_nonexistent.h>
3524
3068
_ACEOF
3525
3069
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3526
3070
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3527
3071
  ac_status=$?
3528
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
3072
  egrep -v '^ *\+' conftest.er1 >conftest.err
3529
3073
  rm -f conftest.er1
3530
3074
  cat conftest.err >&5
3531
3075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532
3076
  (exit $ac_status); } >/dev/null; then
3533
3077
  if test -s conftest.err; then
3534
3078
    ac_cpp_err=$ac_c_preproc_warn_flag
3535
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3536
3079
  else
3537
3080
    ac_cpp_err=
3538
3081
  fi
3544
3087
continue
3545
3088
else
3546
3089
  echo "$as_me: failed program was:" >&5
3547
 
sed 's/^/| /' conftest.$ac_ext >&5
3548
 
 
 
3090
  cat conftest.$ac_ext >&5
3549
3091
  # Passes both tests.
3550
3092
ac_preproc_ok=:
3551
3093
break
3574
3116
do
3575
3117
  # Use a header file that comes with gcc, so configuring glibc
3576
3118
  # with a fresh cross-compiler works.
3577
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578
 
  # <limits.h> exists even on freestanding compilers.
3579
3119
  # On the NeXT, cc -E runs the code through the compiler's parser,
3580
3120
  # not just through cpp. "Syntax error" is here to catch this case.
3581
3121
  cat >conftest.$ac_ext <<_ACEOF
3582
 
/* confdefs.h.  */
3583
 
_ACEOF
3584
 
cat confdefs.h >>conftest.$ac_ext
3585
 
cat >>conftest.$ac_ext <<_ACEOF
3586
 
/* end confdefs.h.  */
3587
 
#ifdef __STDC__
3588
 
# include <limits.h>
3589
 
#else
3590
 
# include <assert.h>
3591
 
#endif
3592
 
                     Syntax error
 
3122
#line $LINENO "configure"
 
3123
#include "confdefs.h"
 
3124
#include <assert.h>
 
3125
                     Syntax error
3593
3126
_ACEOF
3594
3127
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3595
3128
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3596
3129
  ac_status=$?
3597
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
3130
  egrep -v '^ *\+' conftest.er1 >conftest.err
3598
3131
  rm -f conftest.er1
3599
3132
  cat conftest.err >&5
3600
3133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601
3134
  (exit $ac_status); } >/dev/null; then
3602
3135
  if test -s conftest.err; then
3603
3136
    ac_cpp_err=$ac_c_preproc_warn_flag
3604
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3605
3137
  else
3606
3138
    ac_cpp_err=
3607
3139
  fi
3612
3144
  :
3613
3145
else
3614
3146
  echo "$as_me: failed program was:" >&5
3615
 
sed 's/^/| /' conftest.$ac_ext >&5
3616
 
 
 
3147
  cat conftest.$ac_ext >&5
3617
3148
  # Broken: fails on valid input.
3618
3149
continue
3619
3150
fi
3622
3153
  # OK, works on sane cases.  Now check whether non-existent headers
3623
3154
  # can be detected and how.
3624
3155
  cat >conftest.$ac_ext <<_ACEOF
3625
 
/* confdefs.h.  */
3626
 
_ACEOF
3627
 
cat confdefs.h >>conftest.$ac_ext
3628
 
cat >>conftest.$ac_ext <<_ACEOF
3629
 
/* end confdefs.h.  */
 
3156
#line $LINENO "configure"
 
3157
#include "confdefs.h"
3630
3158
#include <ac_nonexistent.h>
3631
3159
_ACEOF
3632
3160
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3633
3161
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3634
3162
  ac_status=$?
3635
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
3163
  egrep -v '^ *\+' conftest.er1 >conftest.err
3636
3164
  rm -f conftest.er1
3637
3165
  cat conftest.err >&5
3638
3166
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639
3167
  (exit $ac_status); } >/dev/null; then
3640
3168
  if test -s conftest.err; then
3641
3169
    ac_cpp_err=$ac_c_preproc_warn_flag
3642
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3643
3170
  else
3644
3171
    ac_cpp_err=
3645
3172
  fi
3651
3178
continue
3652
3179
else
3653
3180
  echo "$as_me: failed program was:" >&5
3654
 
sed 's/^/| /' conftest.$ac_ext >&5
3655
 
 
 
3181
  cat conftest.$ac_ext >&5
3656
3182
  # Passes both tests.
3657
3183
ac_preproc_ok=:
3658
3184
break
3665
3191
if $ac_preproc_ok; then
3666
3192
  :
3667
3193
else
3668
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3669
 
See \`config.log' for more details." >&5
3670
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3671
 
See \`config.log' for more details." >&2;}
 
3194
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
 
3195
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3672
3196
   { (exit 1); exit 1; }; }
3673
3197
fi
3674
3198
 
3679
3203
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680
3204
 
3681
3205
 
3682
 
echo "$as_me:$LINENO: checking for egrep" >&5
3683
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3684
 
if test "${ac_cv_prog_egrep+set}" = set; then
3685
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3686
 
else
3687
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3688
 
    then ac_cv_prog_egrep='grep -E'
3689
 
    else ac_cv_prog_egrep='egrep'
3690
 
    fi
3691
 
fi
3692
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3693
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3694
 
 EGREP=$ac_cv_prog_egrep
3695
 
 
3696
 
 
3697
3206
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3698
3207
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3699
3208
if test "${ac_cv_header_stdc+set}" = set; then
3700
3209
  echo $ECHO_N "(cached) $ECHO_C" >&6
3701
3210
else
3702
3211
  cat >conftest.$ac_ext <<_ACEOF
3703
 
/* confdefs.h.  */
3704
 
_ACEOF
3705
 
cat confdefs.h >>conftest.$ac_ext
3706
 
cat >>conftest.$ac_ext <<_ACEOF
3707
 
/* end confdefs.h.  */
 
3212
#line $LINENO "configure"
 
3213
#include "confdefs.h"
3708
3214
#include <stdlib.h>
3709
3215
#include <stdarg.h>
3710
3216
#include <string.h>
3711
3217
#include <float.h>
3712
3218
 
3713
 
int
3714
 
main ()
3715
 
{
3716
 
 
3717
 
  ;
3718
 
  return 0;
3719
 
}
3720
3219
_ACEOF
3721
 
rm -f conftest.$ac_objext
3722
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3723
 
  (eval $ac_compile) 2>conftest.er1
 
3220
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3221
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3724
3222
  ac_status=$?
3725
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
3223
  egrep -v '^ *\+' conftest.er1 >conftest.err
3726
3224
  rm -f conftest.er1
3727
3225
  cat conftest.err >&5
3728
3226
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
 
  (exit $ac_status); } &&
3730
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3731
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3732
 
  (eval $ac_try) 2>&5
3733
 
  ac_status=$?
3734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735
 
  (exit $ac_status); }; } &&
3736
 
         { ac_try='test -s conftest.$ac_objext'
3737
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3738
 
  (eval $ac_try) 2>&5
3739
 
  ac_status=$?
3740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741
 
  (exit $ac_status); }; }; then
 
3227
  (exit $ac_status); } >/dev/null; then
 
3228
  if test -s conftest.err; then
 
3229
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3230
  else
 
3231
    ac_cpp_err=
 
3232
  fi
 
3233
else
 
3234
  ac_cpp_err=yes
 
3235
fi
 
3236
if test -z "$ac_cpp_err"; then
3742
3237
  ac_cv_header_stdc=yes
3743
3238
else
3744
3239
  echo "$as_me: failed program was:" >&5
3745
 
sed 's/^/| /' conftest.$ac_ext >&5
3746
 
 
3747
 
ac_cv_header_stdc=no
 
3240
  cat conftest.$ac_ext >&5
 
3241
  ac_cv_header_stdc=no
3748
3242
fi
3749
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3243
rm -f conftest.err conftest.$ac_ext
3750
3244
 
3751
3245
if test $ac_cv_header_stdc = yes; then
3752
3246
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3753
3247
  cat >conftest.$ac_ext <<_ACEOF
3754
 
/* confdefs.h.  */
3755
 
_ACEOF
3756
 
cat confdefs.h >>conftest.$ac_ext
3757
 
cat >>conftest.$ac_ext <<_ACEOF
3758
 
/* end confdefs.h.  */
 
3248
#line $LINENO "configure"
 
3249
#include "confdefs.h"
3759
3250
#include <string.h>
3760
3251
 
3761
3252
_ACEOF
3762
3253
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3763
 
  $EGREP "memchr" >/dev/null 2>&1; then
 
3254
  egrep "memchr" >/dev/null 2>&1; then
3764
3255
  :
3765
3256
else
3766
3257
  ac_cv_header_stdc=no
3772
3263
if test $ac_cv_header_stdc = yes; then
3773
3264
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3774
3265
  cat >conftest.$ac_ext <<_ACEOF
3775
 
/* confdefs.h.  */
3776
 
_ACEOF
3777
 
cat confdefs.h >>conftest.$ac_ext
3778
 
cat >>conftest.$ac_ext <<_ACEOF
3779
 
/* end confdefs.h.  */
 
3266
#line $LINENO "configure"
 
3267
#include "confdefs.h"
3780
3268
#include <stdlib.h>
3781
3269
 
3782
3270
_ACEOF
3783
3271
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3784
 
  $EGREP "free" >/dev/null 2>&1; then
 
3272
  egrep "free" >/dev/null 2>&1; then
3785
3273
  :
3786
3274
else
3787
3275
  ac_cv_header_stdc=no
3796
3284
  :
3797
3285
else
3798
3286
  cat >conftest.$ac_ext <<_ACEOF
3799
 
/* confdefs.h.  */
3800
 
_ACEOF
3801
 
cat confdefs.h >>conftest.$ac_ext
3802
 
cat >>conftest.$ac_ext <<_ACEOF
3803
 
/* end confdefs.h.  */
 
3287
#line $LINENO "configure"
 
3288
#include "confdefs.h"
3804
3289
#include <ctype.h>
3805
3290
#if ((' ' & 0x0FF) == 0x020)
3806
3291
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3807
3292
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3808
3293
#else
3809
 
# define ISLOWER(c) \
3810
 
                   (('a' <= (c) && (c) <= 'i') \
3811
 
                     || ('j' <= (c) && (c) <= 'r') \
3812
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3294
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
 
3295
                     || ('j' <= (c) && (c) <= 'r') \
 
3296
                     || ('s' <= (c) && (c) <= 'z'))
3813
3297
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3814
3298
#endif
3815
3299
 
3820
3304
  int i;
3821
3305
  for (i = 0; i < 256; i++)
3822
3306
    if (XOR (islower (i), ISLOWER (i))
3823
 
        || toupper (i) != TOUPPER (i))
 
3307
        || toupper (i) != TOUPPER (i))
3824
3308
      exit(2);
3825
3309
  exit (0);
3826
3310
}
3840
3324
else
3841
3325
  echo "$as_me: program exited with status $ac_status" >&5
3842
3326
echo "$as_me: failed program was:" >&5
3843
 
sed 's/^/| /' conftest.$ac_ext >&5
3844
 
 
 
3327
cat conftest.$ac_ext >&5
3845
3328
( exit $ac_status )
3846
3329
ac_cv_header_stdc=no
3847
3330
fi
3848
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3331
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3849
3332
fi
3850
3333
fi
3851
3334
fi
3903
3386
                echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
3904
3387
echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6
3905
3388
                cat >conftest.$ac_ext <<_ACEOF
3906
 
/* confdefs.h.  */
3907
 
_ACEOF
3908
 
cat confdefs.h >>conftest.$ac_ext
3909
 
cat >>conftest.$ac_ext <<_ACEOF
3910
 
/* end confdefs.h.  */
 
3389
#line $LINENO "configure"
 
3390
#include "confdefs.h"
3911
3391
 
 
3392
#ifdef F77_DUMMY_MAIN
 
3393
#  ifdef __cplusplus
 
3394
     extern "C"
 
3395
#  endif
 
3396
   int F77_DUMMY_MAIN() { return 1; }
 
3397
#endif
3912
3398
int
3913
3399
main ()
3914
3400
{
3919
3405
_ACEOF
3920
3406
rm -f conftest.$ac_objext
3921
3407
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3922
 
  (eval $ac_compile) 2>conftest.er1
 
3408
  (eval $ac_compile) 2>&5
3923
3409
  ac_status=$?
3924
 
  grep -v '^ *+' conftest.er1 >conftest.err
3925
 
  rm -f conftest.er1
3926
 
  cat conftest.err >&5
3927
3410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928
3411
  (exit $ac_status); } &&
3929
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3930
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931
 
  (eval $ac_try) 2>&5
3932
 
  ac_status=$?
3933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934
 
  (exit $ac_status); }; } &&
3935
 
         { ac_try='test -s conftest.$ac_objext'
 
3412
         { ac_try='test -s conftest.$ac_objext'
3936
3413
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937
3414
  (eval $ac_try) 2>&5
3938
3415
  ac_status=$?
3941
3418
  has_option=yes
3942
3419
else
3943
3420
  echo "$as_me: failed program was:" >&5
3944
 
sed 's/^/| /' conftest.$ac_ext >&5
3945
 
 
 
3421
cat conftest.$ac_ext >&5
3946
3422
has_option=no
3947
3423
fi
3948
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3424
rm -f conftest.$ac_objext conftest.$ac_ext
3949
3425
                CFLAGS="$SAVE_CFLAGS"
3950
3426
                echo "$as_me:$LINENO: result: $has_option" >&5
3951
3427
echo "${ECHO_T}$has_option" >&6
4111
3587
_ACEOF
4112
3588
 
4113
3589
 
4114
 
ALL_LINGUAS="hu"
 
3590
ALL_LINGUAS=""
4115
3591
if test -n "$ac_tool_prefix"; then
4116
3592
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4117
3593
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4192
3668
  RANLIB="$ac_cv_prog_RANLIB"
4193
3669
fi
4194
3670
 
 
3671
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
3672
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
3673
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3674
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3675
else
 
3676
  ac_cv_prog_cc_stdc=no
 
3677
ac_save_CC=$CC
 
3678
cat >conftest.$ac_ext <<_ACEOF
 
3679
#line $LINENO "configure"
 
3680
#include "confdefs.h"
 
3681
#include <stdarg.h>
 
3682
#include <stdio.h>
 
3683
#include <sys/types.h>
 
3684
#include <sys/stat.h>
 
3685
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3686
struct buf { int x; };
 
3687
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3688
static char *e (p, i)
 
3689
     char **p;
 
3690
     int i;
 
3691
{
 
3692
  return p[i];
 
3693
}
 
3694
static char *f (char * (*g) (char **, int), char **p, ...)
 
3695
{
 
3696
  char *s;
 
3697
  va_list v;
 
3698
  va_start (v,p);
 
3699
  s = g (p, va_arg (v,int));
 
3700
  va_end (v);
 
3701
  return s;
 
3702
}
 
3703
int test (int i, double x);
 
3704
struct s1 {int (*f) (int a);};
 
3705
struct s2 {int (*f) (double a);};
 
3706
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3707
int argc;
 
3708
char **argv;
 
3709
#ifdef F77_DUMMY_MAIN
 
3710
#  ifdef __cplusplus
 
3711
     extern "C"
 
3712
#  endif
 
3713
   int F77_DUMMY_MAIN() { return 1; }
 
3714
#endif
 
3715
int
 
3716
main ()
 
3717
{
 
3718
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3719
  ;
 
3720
  return 0;
 
3721
}
 
3722
_ACEOF
 
3723
# Don't try gcc -ansi; that turns off useful extensions and
 
3724
# breaks some systems' header files.
 
3725
# AIX                   -qlanglvl=ansi
 
3726
# Ultrix and OSF/1      -std1
 
3727
# HP-UX 10.20 and later -Ae
 
3728
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
3729
# SVR4                  -Xc -D__EXTENSIONS__
 
3730
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3731
do
 
3732
  CC="$ac_save_CC $ac_arg"
 
3733
  rm -f conftest.$ac_objext
 
3734
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3735
  (eval $ac_compile) 2>&5
 
3736
  ac_status=$?
 
3737
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3738
  (exit $ac_status); } &&
 
3739
         { ac_try='test -s conftest.$ac_objext'
 
3740
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3741
  (eval $ac_try) 2>&5
 
3742
  ac_status=$?
 
3743
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3744
  (exit $ac_status); }; }; then
 
3745
  ac_cv_prog_cc_stdc=$ac_arg
 
3746
break
 
3747
else
 
3748
  echo "$as_me: failed program was:" >&5
 
3749
cat conftest.$ac_ext >&5
 
3750
fi
 
3751
rm -f conftest.$ac_objext
 
3752
done
 
3753
rm -f conftest.$ac_ext conftest.$ac_objext
 
3754
CC=$ac_save_CC
 
3755
 
 
3756
fi
 
3757
 
 
3758
case "x$ac_cv_prog_cc_stdc" in
 
3759
  x|xno)
 
3760
    echo "$as_me:$LINENO: result: none needed" >&5
 
3761
echo "${ECHO_T}none needed" >&6 ;;
 
3762
  *)
 
3763
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
3764
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
3765
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3766
esac
 
3767
 
4195
3768
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4196
3769
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4197
3770
if test "${ac_cv_c_const+set}" = set; then
4198
3771
  echo $ECHO_N "(cached) $ECHO_C" >&6
4199
3772
else
4200
3773
  cat >conftest.$ac_ext <<_ACEOF
4201
 
/* confdefs.h.  */
4202
 
_ACEOF
4203
 
cat confdefs.h >>conftest.$ac_ext
4204
 
cat >>conftest.$ac_ext <<_ACEOF
4205
 
/* end confdefs.h.  */
 
3774
#line $LINENO "configure"
 
3775
#include "confdefs.h"
4206
3776
 
 
3777
#ifdef F77_DUMMY_MAIN
 
3778
#  ifdef __cplusplus
 
3779
     extern "C"
 
3780
#  endif
 
3781
   int F77_DUMMY_MAIN() { return 1; }
 
3782
#endif
4207
3783
int
4208
3784
main ()
4209
3785
{
4260
3836
_ACEOF
4261
3837
rm -f conftest.$ac_objext
4262
3838
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4263
 
  (eval $ac_compile) 2>conftest.er1
 
3839
  (eval $ac_compile) 2>&5
4264
3840
  ac_status=$?
4265
 
  grep -v '^ *+' conftest.er1 >conftest.err
4266
 
  rm -f conftest.er1
4267
 
  cat conftest.err >&5
4268
3841
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269
3842
  (exit $ac_status); } &&
4270
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4271
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4272
 
  (eval $ac_try) 2>&5
4273
 
  ac_status=$?
4274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275
 
  (exit $ac_status); }; } &&
4276
 
         { ac_try='test -s conftest.$ac_objext'
 
3843
         { ac_try='test -s conftest.$ac_objext'
4277
3844
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4278
3845
  (eval $ac_try) 2>&5
4279
3846
  ac_status=$?
4282
3849
  ac_cv_c_const=yes
4283
3850
else
4284
3851
  echo "$as_me: failed program was:" >&5
4285
 
sed 's/^/| /' conftest.$ac_ext >&5
4286
 
 
 
3852
cat conftest.$ac_ext >&5
4287
3853
ac_cv_c_const=no
4288
3854
fi
4289
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3855
rm -f conftest.$ac_objext conftest.$ac_ext
4290
3856
fi
4291
3857
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4292
3858
echo "${ECHO_T}$ac_cv_c_const" >&6
4306
3872
  ac_cv_c_inline=no
4307
3873
for ac_kw in inline __inline__ __inline; do
4308
3874
  cat >conftest.$ac_ext <<_ACEOF
4309
 
/* confdefs.h.  */
4310
 
_ACEOF
4311
 
cat confdefs.h >>conftest.$ac_ext
4312
 
cat >>conftest.$ac_ext <<_ACEOF
4313
 
/* end confdefs.h.  */
 
3875
#line $LINENO "configure"
 
3876
#include "confdefs.h"
4314
3877
#ifndef __cplusplus
4315
 
typedef int foo_t;
4316
 
static $ac_kw foo_t static_foo () {return 0; }
4317
 
$ac_kw foo_t foo () {return 0; }
 
3878
static $ac_kw int static_foo () {return 0; }
 
3879
$ac_kw int foo () {return 0; }
4318
3880
#endif
4319
3881
 
4320
3882
_ACEOF
4321
3883
rm -f conftest.$ac_objext
4322
3884
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4323
 
  (eval $ac_compile) 2>conftest.er1
 
3885
  (eval $ac_compile) 2>&5
4324
3886
  ac_status=$?
4325
 
  grep -v '^ *+' conftest.er1 >conftest.err
4326
 
  rm -f conftest.er1
4327
 
  cat conftest.err >&5
4328
3887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329
3888
  (exit $ac_status); } &&
4330
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4331
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4332
 
  (eval $ac_try) 2>&5
4333
 
  ac_status=$?
4334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335
 
  (exit $ac_status); }; } &&
4336
 
         { ac_try='test -s conftest.$ac_objext'
 
3889
         { ac_try='test -s conftest.$ac_objext'
4337
3890
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338
3891
  (eval $ac_try) 2>&5
4339
3892
  ac_status=$?
4342
3895
  ac_cv_c_inline=$ac_kw; break
4343
3896
else
4344
3897
  echo "$as_me: failed program was:" >&5
4345
 
sed 's/^/| /' conftest.$ac_ext >&5
4346
 
 
 
3898
cat conftest.$ac_ext >&5
4347
3899
fi
4348
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3900
rm -f conftest.$ac_objext conftest.$ac_ext
4349
3901
done
4350
3902
 
4351
3903
fi
4352
3904
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4353
3905
echo "${ECHO_T}$ac_cv_c_inline" >&6
4354
 
 
4355
 
 
4356
3906
case $ac_cv_c_inline in
4357
3907
  inline | yes) ;;
4358
 
  *)
4359
 
    case $ac_cv_c_inline in
4360
 
      no) ac_val=;;
4361
 
      *) ac_val=$ac_cv_c_inline;;
4362
 
    esac
4363
 
    cat >>confdefs.h <<_ACEOF
4364
 
#ifndef __cplusplus
4365
 
#define inline $ac_val
4366
 
#endif
4367
 
_ACEOF
4368
 
    ;;
 
3908
  no)
 
3909
cat >>confdefs.h <<\_ACEOF
 
3910
#define inline
 
3911
_ACEOF
 
3912
 ;;
 
3913
  *)  cat >>confdefs.h <<_ACEOF
 
3914
#define inline $ac_cv_c_inline
 
3915
_ACEOF
 
3916
 ;;
4369
3917
esac
4370
3918
 
4371
3919
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4379
3927
 
4380
3928
 
4381
3929
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4382
 
                  inttypes.h stdint.h unistd.h
 
3930
                  inttypes.h stdint.h unistd.h
4383
3931
do
4384
3932
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4385
3933
echo "$as_me:$LINENO: checking for $ac_header" >&5
4388
3936
  echo $ECHO_N "(cached) $ECHO_C" >&6
4389
3937
else
4390
3938
  cat >conftest.$ac_ext <<_ACEOF
4391
 
/* confdefs.h.  */
4392
 
_ACEOF
4393
 
cat confdefs.h >>conftest.$ac_ext
4394
 
cat >>conftest.$ac_ext <<_ACEOF
4395
 
/* end confdefs.h.  */
 
3939
#line $LINENO "configure"
 
3940
#include "confdefs.h"
4396
3941
$ac_includes_default
4397
3942
 
4398
3943
#include <$ac_header>
4399
3944
_ACEOF
4400
3945
rm -f conftest.$ac_objext
4401
3946
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4402
 
  (eval $ac_compile) 2>conftest.er1
 
3947
  (eval $ac_compile) 2>&5
4403
3948
  ac_status=$?
4404
 
  grep -v '^ *+' conftest.er1 >conftest.err
4405
 
  rm -f conftest.er1
4406
 
  cat conftest.err >&5
4407
3949
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408
3950
  (exit $ac_status); } &&
4409
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4410
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4411
 
  (eval $ac_try) 2>&5
4412
 
  ac_status=$?
4413
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414
 
  (exit $ac_status); }; } &&
4415
 
         { ac_try='test -s conftest.$ac_objext'
 
3951
         { ac_try='test -s conftest.$ac_objext'
4416
3952
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417
3953
  (eval $ac_try) 2>&5
4418
3954
  ac_status=$?
4421
3957
  eval "$as_ac_Header=yes"
4422
3958
else
4423
3959
  echo "$as_me: failed program was:" >&5
4424
 
sed 's/^/| /' conftest.$ac_ext >&5
4425
 
 
 
3960
cat conftest.$ac_ext >&5
4426
3961
eval "$as_ac_Header=no"
4427
3962
fi
4428
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3963
rm -f conftest.$ac_objext conftest.$ac_ext
4429
3964
fi
4430
3965
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4431
3966
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4445
3980
  echo $ECHO_N "(cached) $ECHO_C" >&6
4446
3981
else
4447
3982
  cat >conftest.$ac_ext <<_ACEOF
4448
 
/* confdefs.h.  */
4449
 
_ACEOF
4450
 
cat confdefs.h >>conftest.$ac_ext
4451
 
cat >>conftest.$ac_ext <<_ACEOF
4452
 
/* end confdefs.h.  */
 
3983
#line $LINENO "configure"
 
3984
#include "confdefs.h"
4453
3985
$ac_includes_default
 
3986
#ifdef F77_DUMMY_MAIN
 
3987
#  ifdef __cplusplus
 
3988
     extern "C"
 
3989
#  endif
 
3990
   int F77_DUMMY_MAIN() { return 1; }
 
3991
#endif
4454
3992
int
4455
3993
main ()
4456
3994
{
4464
4002
_ACEOF
4465
4003
rm -f conftest.$ac_objext
4466
4004
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4467
 
  (eval $ac_compile) 2>conftest.er1
 
4005
  (eval $ac_compile) 2>&5
4468
4006
  ac_status=$?
4469
 
  grep -v '^ *+' conftest.er1 >conftest.err
4470
 
  rm -f conftest.er1
4471
 
  cat conftest.err >&5
4472
4007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473
4008
  (exit $ac_status); } &&
4474
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4475
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476
 
  (eval $ac_try) 2>&5
4477
 
  ac_status=$?
4478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479
 
  (exit $ac_status); }; } &&
4480
 
         { ac_try='test -s conftest.$ac_objext'
 
4009
         { ac_try='test -s conftest.$ac_objext'
4481
4010
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482
4011
  (eval $ac_try) 2>&5
4483
4012
  ac_status=$?
4486
4015
  ac_cv_type_off_t=yes
4487
4016
else
4488
4017
  echo "$as_me: failed program was:" >&5
4489
 
sed 's/^/| /' conftest.$ac_ext >&5
4490
 
 
 
4018
cat conftest.$ac_ext >&5
4491
4019
ac_cv_type_off_t=no
4492
4020
fi
4493
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4021
rm -f conftest.$ac_objext conftest.$ac_ext
4494
4022
fi
4495
4023
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4496
4024
echo "${ECHO_T}$ac_cv_type_off_t" >&6
4510
4038
  echo $ECHO_N "(cached) $ECHO_C" >&6
4511
4039
else
4512
4040
  cat >conftest.$ac_ext <<_ACEOF
4513
 
/* confdefs.h.  */
4514
 
_ACEOF
4515
 
cat confdefs.h >>conftest.$ac_ext
4516
 
cat >>conftest.$ac_ext <<_ACEOF
4517
 
/* end confdefs.h.  */
 
4041
#line $LINENO "configure"
 
4042
#include "confdefs.h"
4518
4043
$ac_includes_default
 
4044
#ifdef F77_DUMMY_MAIN
 
4045
#  ifdef __cplusplus
 
4046
     extern "C"
 
4047
#  endif
 
4048
   int F77_DUMMY_MAIN() { return 1; }
 
4049
#endif
4519
4050
int
4520
4051
main ()
4521
4052
{
4529
4060
_ACEOF
4530
4061
rm -f conftest.$ac_objext
4531
4062
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4532
 
  (eval $ac_compile) 2>conftest.er1
 
4063
  (eval $ac_compile) 2>&5
4533
4064
  ac_status=$?
4534
 
  grep -v '^ *+' conftest.er1 >conftest.err
4535
 
  rm -f conftest.er1
4536
 
  cat conftest.err >&5
4537
4065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538
4066
  (exit $ac_status); } &&
4539
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4540
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4541
 
  (eval $ac_try) 2>&5
4542
 
  ac_status=$?
4543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544
 
  (exit $ac_status); }; } &&
4545
 
         { ac_try='test -s conftest.$ac_objext'
 
4067
         { ac_try='test -s conftest.$ac_objext'
4546
4068
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547
4069
  (eval $ac_try) 2>&5
4548
4070
  ac_status=$?
4551
4073
  ac_cv_type_size_t=yes
4552
4074
else
4553
4075
  echo "$as_me: failed program was:" >&5
4554
 
sed 's/^/| /' conftest.$ac_ext >&5
4555
 
 
 
4076
cat conftest.$ac_ext >&5
4556
4077
ac_cv_type_size_t=no
4557
4078
fi
4558
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4079
rm -f conftest.$ac_objext conftest.$ac_ext
4559
4080
fi
4560
4081
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4561
4082
echo "${ECHO_T}$ac_cv_type_size_t" >&6
4577
4098
  echo $ECHO_N "(cached) $ECHO_C" >&6
4578
4099
else
4579
4100
  cat >conftest.$ac_ext <<_ACEOF
4580
 
/* confdefs.h.  */
4581
 
_ACEOF
4582
 
cat confdefs.h >>conftest.$ac_ext
4583
 
cat >>conftest.$ac_ext <<_ACEOF
4584
 
/* end confdefs.h.  */
 
4101
#line $LINENO "configure"
 
4102
#include "confdefs.h"
4585
4103
#include <alloca.h>
 
4104
#ifdef F77_DUMMY_MAIN
 
4105
#  ifdef __cplusplus
 
4106
     extern "C"
 
4107
#  endif
 
4108
   int F77_DUMMY_MAIN() { return 1; }
 
4109
#endif
4586
4110
int
4587
4111
main ()
4588
4112
{
4593
4117
_ACEOF
4594
4118
rm -f conftest.$ac_objext conftest$ac_exeext
4595
4119
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4596
 
  (eval $ac_link) 2>conftest.er1
 
4120
  (eval $ac_link) 2>&5
4597
4121
  ac_status=$?
4598
 
  grep -v '^ *+' conftest.er1 >conftest.err
4599
 
  rm -f conftest.er1
4600
 
  cat conftest.err >&5
4601
4122
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602
4123
  (exit $ac_status); } &&
4603
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4604
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4605
 
  (eval $ac_try) 2>&5
4606
 
  ac_status=$?
4607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608
 
  (exit $ac_status); }; } &&
4609
 
         { ac_try='test -s conftest$ac_exeext'
 
4124
         { ac_try='test -s conftest$ac_exeext'
4610
4125
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611
4126
  (eval $ac_try) 2>&5
4612
4127
  ac_status=$?
4615
4130
  ac_cv_working_alloca_h=yes
4616
4131
else
4617
4132
  echo "$as_me: failed program was:" >&5
4618
 
sed 's/^/| /' conftest.$ac_ext >&5
4619
 
 
 
4133
cat conftest.$ac_ext >&5
4620
4134
ac_cv_working_alloca_h=no
4621
4135
fi
4622
 
rm -f conftest.err conftest.$ac_objext \
4623
 
      conftest$ac_exeext conftest.$ac_ext
 
4136
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4624
4137
fi
4625
4138
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
4626
4139
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4638
4151
  echo $ECHO_N "(cached) $ECHO_C" >&6
4639
4152
else
4640
4153
  cat >conftest.$ac_ext <<_ACEOF
4641
 
/* confdefs.h.  */
4642
 
_ACEOF
4643
 
cat confdefs.h >>conftest.$ac_ext
4644
 
cat >>conftest.$ac_ext <<_ACEOF
4645
 
/* end confdefs.h.  */
 
4154
#line $LINENO "configure"
 
4155
#include "confdefs.h"
4646
4156
#ifdef __GNUC__
4647
4157
# define alloca __builtin_alloca
4648
4158
#else
4664
4174
# endif
4665
4175
#endif
4666
4176
 
 
4177
#ifdef F77_DUMMY_MAIN
 
4178
#  ifdef __cplusplus
 
4179
     extern "C"
 
4180
#  endif
 
4181
   int F77_DUMMY_MAIN() { return 1; }
 
4182
#endif
4667
4183
int
4668
4184
main ()
4669
4185
{
4674
4190
_ACEOF
4675
4191
rm -f conftest.$ac_objext conftest$ac_exeext
4676
4192
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4677
 
  (eval $ac_link) 2>conftest.er1
 
4193
  (eval $ac_link) 2>&5
4678
4194
  ac_status=$?
4679
 
  grep -v '^ *+' conftest.er1 >conftest.err
4680
 
  rm -f conftest.er1
4681
 
  cat conftest.err >&5
4682
4195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683
4196
  (exit $ac_status); } &&
4684
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4685
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4686
 
  (eval $ac_try) 2>&5
4687
 
  ac_status=$?
4688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689
 
  (exit $ac_status); }; } &&
4690
 
         { ac_try='test -s conftest$ac_exeext'
 
4197
         { ac_try='test -s conftest$ac_exeext'
4691
4198
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4692
4199
  (eval $ac_try) 2>&5
4693
4200
  ac_status=$?
4696
4203
  ac_cv_func_alloca_works=yes
4697
4204
else
4698
4205
  echo "$as_me: failed program was:" >&5
4699
 
sed 's/^/| /' conftest.$ac_ext >&5
4700
 
 
 
4206
cat conftest.$ac_ext >&5
4701
4207
ac_cv_func_alloca_works=no
4702
4208
fi
4703
 
rm -f conftest.err conftest.$ac_objext \
4704
 
      conftest$ac_exeext conftest.$ac_ext
 
4209
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4705
4210
fi
4706
4211
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
4707
4212
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4731
4236
  echo $ECHO_N "(cached) $ECHO_C" >&6
4732
4237
else
4733
4238
  cat >conftest.$ac_ext <<_ACEOF
4734
 
/* confdefs.h.  */
4735
 
_ACEOF
4736
 
cat confdefs.h >>conftest.$ac_ext
4737
 
cat >>conftest.$ac_ext <<_ACEOF
4738
 
/* end confdefs.h.  */
 
4239
#line $LINENO "configure"
 
4240
#include "confdefs.h"
4739
4241
#if defined(CRAY) && ! defined(CRAY2)
4740
4242
webecray
4741
4243
#else
4744
4246
 
4745
4247
_ACEOF
4746
4248
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4747
 
  $EGREP "webecray" >/dev/null 2>&1; then
 
4249
  egrep "webecray" >/dev/null 2>&1; then
4748
4250
  ac_cv_os_cray=yes
4749
4251
else
4750
4252
  ac_cv_os_cray=no
4763
4265
  echo $ECHO_N "(cached) $ECHO_C" >&6
4764
4266
else
4765
4267
  cat >conftest.$ac_ext <<_ACEOF
4766
 
/* confdefs.h.  */
4767
 
_ACEOF
4768
 
cat confdefs.h >>conftest.$ac_ext
4769
 
cat >>conftest.$ac_ext <<_ACEOF
4770
 
/* end confdefs.h.  */
4771
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4772
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4773
 
#define $ac_func innocuous_$ac_func
4774
 
 
 
4268
#line $LINENO "configure"
 
4269
#include "confdefs.h"
4775
4270
/* System header to define __stub macros and hopefully few prototypes,
4776
 
    which can conflict with char $ac_func (); below.
4777
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778
 
    <limits.h> exists even on freestanding compilers.  */
4779
 
 
4780
 
#ifdef __STDC__
4781
 
# include <limits.h>
4782
 
#else
4783
 
# include <assert.h>
4784
 
#endif
4785
 
 
4786
 
#undef $ac_func
4787
 
 
 
4271
    which can conflict with char $ac_func (); below.  */
 
4272
#include <assert.h>
4788
4273
/* Override any gcc2 internal prototype to avoid an error.  */
4789
4274
#ifdef __cplusplus
4790
4275
extern "C"
4791
 
{
4792
4276
#endif
4793
4277
/* We use char because int might match the return type of a gcc2
4794
4278
   builtin and then its argument prototype would still apply.  */
4795
4279
char $ac_func ();
 
4280
char (*f) ();
 
4281
 
 
4282
#ifdef F77_DUMMY_MAIN
 
4283
#  ifdef __cplusplus
 
4284
     extern "C"
 
4285
#  endif
 
4286
   int F77_DUMMY_MAIN() { return 1; }
 
4287
#endif
 
4288
int
 
4289
main ()
 
4290
{
4796
4291
/* The GNU C library defines this for functions which it implements
4797
4292
    to always fail with ENOSYS.  Some functions are actually named
4798
4293
    something starting with __ and the normal name is an alias.  */
4799
4294
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4800
4295
choke me
4801
4296
#else
4802
 
char (*f) () = $ac_func;
4803
 
#endif
4804
 
#ifdef __cplusplus
4805
 
}
 
4297
f = $ac_func;
4806
4298
#endif
4807
4299
 
4808
 
int
4809
 
main ()
4810
 
{
4811
 
return f != $ac_func;
4812
4300
  ;
4813
4301
  return 0;
4814
4302
}
4815
4303
_ACEOF
4816
4304
rm -f conftest.$ac_objext conftest$ac_exeext
4817
4305
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4818
 
  (eval $ac_link) 2>conftest.er1
 
4306
  (eval $ac_link) 2>&5
4819
4307
  ac_status=$?
4820
 
  grep -v '^ *+' conftest.er1 >conftest.err
4821
 
  rm -f conftest.er1
4822
 
  cat conftest.err >&5
4823
4308
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824
4309
  (exit $ac_status); } &&
4825
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4826
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827
 
  (eval $ac_try) 2>&5
4828
 
  ac_status=$?
4829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830
 
  (exit $ac_status); }; } &&
4831
 
         { ac_try='test -s conftest$ac_exeext'
 
4310
         { ac_try='test -s conftest$ac_exeext'
4832
4311
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4833
4312
  (eval $ac_try) 2>&5
4834
4313
  ac_status=$?
4837
4316
  eval "$as_ac_var=yes"
4838
4317
else
4839
4318
  echo "$as_me: failed program was:" >&5
4840
 
sed 's/^/| /' conftest.$ac_ext >&5
4841
 
 
 
4319
cat conftest.$ac_ext >&5
4842
4320
eval "$as_ac_var=no"
4843
4321
fi
4844
 
rm -f conftest.err conftest.$ac_objext \
4845
 
      conftest$ac_exeext conftest.$ac_ext
 
4322
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4846
4323
fi
4847
4324
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4848
4325
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4867
4344
  ac_cv_c_stack_direction=0
4868
4345
else
4869
4346
  cat >conftest.$ac_ext <<_ACEOF
4870
 
/* confdefs.h.  */
4871
 
_ACEOF
4872
 
cat confdefs.h >>conftest.$ac_ext
4873
 
cat >>conftest.$ac_ext <<_ACEOF
4874
 
/* end confdefs.h.  */
 
4347
#line $LINENO "configure"
 
4348
#include "confdefs.h"
4875
4349
int
4876
4350
find_stack_direction ()
4877
4351
{
4907
4381
else
4908
4382
  echo "$as_me: program exited with status $ac_status" >&5
4909
4383
echo "$as_me: failed program was:" >&5
4910
 
sed 's/^/| /' conftest.$ac_ext >&5
4911
 
 
 
4384
cat conftest.$ac_ext >&5
4912
4385
( exit $ac_status )
4913
4386
ac_cv_c_stack_direction=-1
4914
4387
fi
4915
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4388
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4916
4389
fi
4917
4390
fi
4918
4391
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4943
4416
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4944
4417
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4945
4418
cat >conftest.$ac_ext <<_ACEOF
4946
 
/* confdefs.h.  */
4947
 
_ACEOF
4948
 
cat confdefs.h >>conftest.$ac_ext
4949
 
cat >>conftest.$ac_ext <<_ACEOF
4950
 
/* end confdefs.h.  */
 
4419
#line $LINENO "configure"
 
4420
#include "confdefs.h"
4951
4421
$ac_includes_default
4952
4422
#include <$ac_header>
4953
4423
_ACEOF
4954
4424
rm -f conftest.$ac_objext
4955
4425
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4956
 
  (eval $ac_compile) 2>conftest.er1
 
4426
  (eval $ac_compile) 2>&5
4957
4427
  ac_status=$?
4958
 
  grep -v '^ *+' conftest.er1 >conftest.err
4959
 
  rm -f conftest.er1
4960
 
  cat conftest.err >&5
4961
4428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962
4429
  (exit $ac_status); } &&
4963
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4964
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4965
 
  (eval $ac_try) 2>&5
4966
 
  ac_status=$?
4967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968
 
  (exit $ac_status); }; } &&
4969
 
         { ac_try='test -s conftest.$ac_objext'
 
4430
         { ac_try='test -s conftest.$ac_objext'
4970
4431
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4971
4432
  (eval $ac_try) 2>&5
4972
4433
  ac_status=$?
4975
4436
  ac_header_compiler=yes
4976
4437
else
4977
4438
  echo "$as_me: failed program was:" >&5
4978
 
sed 's/^/| /' conftest.$ac_ext >&5
4979
 
 
 
4439
cat conftest.$ac_ext >&5
4980
4440
ac_header_compiler=no
4981
4441
fi
4982
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4442
rm -f conftest.$ac_objext conftest.$ac_ext
4983
4443
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4984
4444
echo "${ECHO_T}$ac_header_compiler" >&6
4985
4445
 
4987
4447
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4988
4448
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4989
4449
cat >conftest.$ac_ext <<_ACEOF
4990
 
/* confdefs.h.  */
4991
 
_ACEOF
4992
 
cat confdefs.h >>conftest.$ac_ext
4993
 
cat >>conftest.$ac_ext <<_ACEOF
4994
 
/* end confdefs.h.  */
 
4450
#line $LINENO "configure"
 
4451
#include "confdefs.h"
4995
4452
#include <$ac_header>
4996
4453
_ACEOF
4997
4454
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4998
4455
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4999
4456
  ac_status=$?
5000
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
4457
  egrep -v '^ *\+' conftest.er1 >conftest.err
5001
4458
  rm -f conftest.er1
5002
4459
  cat conftest.err >&5
5003
4460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004
4461
  (exit $ac_status); } >/dev/null; then
5005
4462
  if test -s conftest.err; then
5006
4463
    ac_cpp_err=$ac_c_preproc_warn_flag
5007
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5008
4464
  else
5009
4465
    ac_cpp_err=
5010
4466
  fi
5015
4471
  ac_header_preproc=yes
5016
4472
else
5017
4473
  echo "$as_me: failed program was:" >&5
5018
 
sed 's/^/| /' conftest.$ac_ext >&5
5019
 
 
 
4474
  cat conftest.$ac_ext >&5
5020
4475
  ac_header_preproc=no
5021
4476
fi
5022
4477
rm -f conftest.err conftest.$ac_ext
5024
4479
echo "${ECHO_T}$ac_header_preproc" >&6
5025
4480
 
5026
4481
# So?  What about this header?
5027
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5028
 
  yes:no: )
 
4482
case $ac_header_compiler:$ac_header_preproc in
 
4483
  yes:no )
5029
4484
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5030
4485
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5031
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5032
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5033
 
    ac_header_preproc=yes
5034
 
    ;;
5035
 
  no:yes:* )
 
4486
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4487
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
4488
  no:yes )
5036
4489
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5037
4490
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5038
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5039
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5040
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5041
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5042
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5043
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4491
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
 
4492
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5044
4493
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5045
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5046
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5047
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5048
 
    (
5049
 
      cat <<\_ASBOX
5050
 
## ------------------------------------------ ##
5051
 
## Report this to the AC_PACKAGE_NAME lists.  ##
5052
 
## ------------------------------------------ ##
5053
 
_ASBOX
5054
 
    ) |
5055
 
      sed "s/^/$as_me: WARNING:     /" >&2
5056
 
    ;;
 
4494
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5057
4495
esac
5058
4496
echo "$as_me:$LINENO: checking for $ac_header" >&5
5059
4497
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5060
4498
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5061
4499
  echo $ECHO_N "(cached) $ECHO_C" >&6
5062
4500
else
5063
 
  eval "$as_ac_Header=\$ac_header_preproc"
 
4501
  eval "$as_ac_Header=$ac_header_preproc"
5064
4502
fi
5065
4503
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5066
4504
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5085
4523
  echo $ECHO_N "(cached) $ECHO_C" >&6
5086
4524
else
5087
4525
  cat >conftest.$ac_ext <<_ACEOF
5088
 
/* confdefs.h.  */
5089
 
_ACEOF
5090
 
cat confdefs.h >>conftest.$ac_ext
5091
 
cat >>conftest.$ac_ext <<_ACEOF
5092
 
/* end confdefs.h.  */
5093
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5094
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5095
 
#define $ac_func innocuous_$ac_func
5096
 
 
 
4526
#line $LINENO "configure"
 
4527
#include "confdefs.h"
5097
4528
/* System header to define __stub macros and hopefully few prototypes,
5098
 
    which can conflict with char $ac_func (); below.
5099
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5100
 
    <limits.h> exists even on freestanding compilers.  */
5101
 
 
5102
 
#ifdef __STDC__
5103
 
# include <limits.h>
5104
 
#else
5105
 
# include <assert.h>
5106
 
#endif
5107
 
 
5108
 
#undef $ac_func
5109
 
 
 
4529
    which can conflict with char $ac_func (); below.  */
 
4530
#include <assert.h>
5110
4531
/* Override any gcc2 internal prototype to avoid an error.  */
5111
4532
#ifdef __cplusplus
5112
4533
extern "C"
5113
 
{
5114
4534
#endif
5115
4535
/* We use char because int might match the return type of a gcc2
5116
4536
   builtin and then its argument prototype would still apply.  */
5117
4537
char $ac_func ();
 
4538
char (*f) ();
 
4539
 
 
4540
#ifdef F77_DUMMY_MAIN
 
4541
#  ifdef __cplusplus
 
4542
     extern "C"
 
4543
#  endif
 
4544
   int F77_DUMMY_MAIN() { return 1; }
 
4545
#endif
 
4546
int
 
4547
main ()
 
4548
{
5118
4549
/* The GNU C library defines this for functions which it implements
5119
4550
    to always fail with ENOSYS.  Some functions are actually named
5120
4551
    something starting with __ and the normal name is an alias.  */
5121
4552
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5122
4553
choke me
5123
4554
#else
5124
 
char (*f) () = $ac_func;
5125
 
#endif
5126
 
#ifdef __cplusplus
5127
 
}
 
4555
f = $ac_func;
5128
4556
#endif
5129
4557
 
5130
 
int
5131
 
main ()
5132
 
{
5133
 
return f != $ac_func;
5134
4558
  ;
5135
4559
  return 0;
5136
4560
}
5137
4561
_ACEOF
5138
4562
rm -f conftest.$ac_objext conftest$ac_exeext
5139
4563
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5140
 
  (eval $ac_link) 2>conftest.er1
 
4564
  (eval $ac_link) 2>&5
5141
4565
  ac_status=$?
5142
 
  grep -v '^ *+' conftest.er1 >conftest.err
5143
 
  rm -f conftest.er1
5144
 
  cat conftest.err >&5
5145
4566
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146
4567
  (exit $ac_status); } &&
5147
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5148
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5149
 
  (eval $ac_try) 2>&5
5150
 
  ac_status=$?
5151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152
 
  (exit $ac_status); }; } &&
5153
 
         { ac_try='test -s conftest$ac_exeext'
 
4568
         { ac_try='test -s conftest$ac_exeext'
5154
4569
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155
4570
  (eval $ac_try) 2>&5
5156
4571
  ac_status=$?
5159
4574
  eval "$as_ac_var=yes"
5160
4575
else
5161
4576
  echo "$as_me: failed program was:" >&5
5162
 
sed 's/^/| /' conftest.$ac_ext >&5
5163
 
 
 
4577
cat conftest.$ac_ext >&5
5164
4578
eval "$as_ac_var=no"
5165
4579
fi
5166
 
rm -f conftest.err conftest.$ac_objext \
5167
 
      conftest$ac_exeext conftest.$ac_ext
 
4580
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5168
4581
fi
5169
4582
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5170
4583
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5185
4598
  ac_cv_func_mmap_fixed_mapped=no
5186
4599
else
5187
4600
  cat >conftest.$ac_ext <<_ACEOF
5188
 
/* confdefs.h.  */
5189
 
_ACEOF
5190
 
cat confdefs.h >>conftest.$ac_ext
5191
 
cat >>conftest.$ac_ext <<_ACEOF
5192
 
/* end confdefs.h.  */
 
4601
#line $LINENO "configure"
 
4602
#include "confdefs.h"
5193
4603
$ac_includes_default
5194
4604
/* malloc might have been renamed as rpl_malloc. */
5195
4605
#undef malloc
5292
4702
  data2 = (char *) malloc (2 * pagesize);
5293
4703
  if (!data2)
5294
4704
    exit (1);
5295
 
  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
 
4705
  data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
5296
4706
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5297
 
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
 
4707
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
5298
4708
    exit (1);
5299
4709
  for (i = 0; i < pagesize; ++i)
5300
4710
    if (*(data + i) != *(data2 + i))
5332
4742
else
5333
4743
  echo "$as_me: program exited with status $ac_status" >&5
5334
4744
echo "$as_me: failed program was:" >&5
5335
 
sed 's/^/| /' conftest.$ac_ext >&5
5336
 
 
 
4745
cat conftest.$ac_ext >&5
5337
4746
( exit $ac_status )
5338
4747
ac_cv_func_mmap_fixed_mapped=no
5339
4748
fi
5340
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4749
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5341
4750
fi
5342
4751
fi
5343
4752
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5377
4786
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5378
4787
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5379
4788
cat >conftest.$ac_ext <<_ACEOF
5380
 
/* confdefs.h.  */
5381
 
_ACEOF
5382
 
cat confdefs.h >>conftest.$ac_ext
5383
 
cat >>conftest.$ac_ext <<_ACEOF
5384
 
/* end confdefs.h.  */
 
4789
#line $LINENO "configure"
 
4790
#include "confdefs.h"
5385
4791
$ac_includes_default
5386
4792
#include <$ac_header>
5387
4793
_ACEOF
5388
4794
rm -f conftest.$ac_objext
5389
4795
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5390
 
  (eval $ac_compile) 2>conftest.er1
 
4796
  (eval $ac_compile) 2>&5
5391
4797
  ac_status=$?
5392
 
  grep -v '^ *+' conftest.er1 >conftest.err
5393
 
  rm -f conftest.er1
5394
 
  cat conftest.err >&5
5395
4798
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396
4799
  (exit $ac_status); } &&
5397
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5398
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5399
 
  (eval $ac_try) 2>&5
5400
 
  ac_status=$?
5401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402
 
  (exit $ac_status); }; } &&
5403
 
         { ac_try='test -s conftest.$ac_objext'
 
4800
         { ac_try='test -s conftest.$ac_objext'
5404
4801
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405
4802
  (eval $ac_try) 2>&5
5406
4803
  ac_status=$?
5409
4806
  ac_header_compiler=yes
5410
4807
else
5411
4808
  echo "$as_me: failed program was:" >&5
5412
 
sed 's/^/| /' conftest.$ac_ext >&5
5413
 
 
 
4809
cat conftest.$ac_ext >&5
5414
4810
ac_header_compiler=no
5415
4811
fi
5416
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4812
rm -f conftest.$ac_objext conftest.$ac_ext
5417
4813
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5418
4814
echo "${ECHO_T}$ac_header_compiler" >&6
5419
4815
 
5421
4817
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5422
4818
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5423
4819
cat >conftest.$ac_ext <<_ACEOF
5424
 
/* confdefs.h.  */
5425
 
_ACEOF
5426
 
cat confdefs.h >>conftest.$ac_ext
5427
 
cat >>conftest.$ac_ext <<_ACEOF
5428
 
/* end confdefs.h.  */
 
4820
#line $LINENO "configure"
 
4821
#include "confdefs.h"
5429
4822
#include <$ac_header>
5430
4823
_ACEOF
5431
4824
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5432
4825
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5433
4826
  ac_status=$?
5434
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
4827
  egrep -v '^ *\+' conftest.er1 >conftest.err
5435
4828
  rm -f conftest.er1
5436
4829
  cat conftest.err >&5
5437
4830
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438
4831
  (exit $ac_status); } >/dev/null; then
5439
4832
  if test -s conftest.err; then
5440
4833
    ac_cpp_err=$ac_c_preproc_warn_flag
5441
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5442
4834
  else
5443
4835
    ac_cpp_err=
5444
4836
  fi
5449
4841
  ac_header_preproc=yes
5450
4842
else
5451
4843
  echo "$as_me: failed program was:" >&5
5452
 
sed 's/^/| /' conftest.$ac_ext >&5
5453
 
 
 
4844
  cat conftest.$ac_ext >&5
5454
4845
  ac_header_preproc=no
5455
4846
fi
5456
4847
rm -f conftest.err conftest.$ac_ext
5458
4849
echo "${ECHO_T}$ac_header_preproc" >&6
5459
4850
 
5460
4851
# So?  What about this header?
5461
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5462
 
  yes:no: )
 
4852
case $ac_header_compiler:$ac_header_preproc in
 
4853
  yes:no )
5463
4854
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5464
4855
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5465
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5466
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5467
 
    ac_header_preproc=yes
5468
 
    ;;
5469
 
  no:yes:* )
 
4856
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4857
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
 
4858
  no:yes )
5470
4859
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5471
4860
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5472
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5473
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5474
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5475
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5476
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5477
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4861
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
 
4862
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5478
4863
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5479
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5480
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5481
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5482
 
    (
5483
 
      cat <<\_ASBOX
5484
 
## ------------------------------------------ ##
5485
 
## Report this to the AC_PACKAGE_NAME lists.  ##
5486
 
## ------------------------------------------ ##
5487
 
_ASBOX
5488
 
    ) |
5489
 
      sed "s/^/$as_me: WARNING:     /" >&2
5490
 
    ;;
 
4864
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5491
4865
esac
5492
4866
echo "$as_me:$LINENO: checking for $ac_header" >&5
5493
4867
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5494
4868
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5495
4869
  echo $ECHO_N "(cached) $ECHO_C" >&6
5496
4870
else
5497
 
  eval "$as_ac_Header=\$ac_header_preproc"
 
4871
  eval "$as_ac_Header=$ac_header_preproc"
5498
4872
fi
5499
4873
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5500
4874
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5530
4904
  echo $ECHO_N "(cached) $ECHO_C" >&6
5531
4905
else
5532
4906
  cat >conftest.$ac_ext <<_ACEOF
5533
 
/* confdefs.h.  */
5534
 
_ACEOF
5535
 
cat confdefs.h >>conftest.$ac_ext
5536
 
cat >>conftest.$ac_ext <<_ACEOF
5537
 
/* end confdefs.h.  */
5538
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5539
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5540
 
#define $ac_func innocuous_$ac_func
5541
 
 
 
4907
#line $LINENO "configure"
 
4908
#include "confdefs.h"
5542
4909
/* System header to define __stub macros and hopefully few prototypes,
5543
 
    which can conflict with char $ac_func (); below.
5544
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5545
 
    <limits.h> exists even on freestanding compilers.  */
5546
 
 
5547
 
#ifdef __STDC__
5548
 
# include <limits.h>
5549
 
#else
5550
 
# include <assert.h>
5551
 
#endif
5552
 
 
5553
 
#undef $ac_func
5554
 
 
 
4910
    which can conflict with char $ac_func (); below.  */
 
4911
#include <assert.h>
5555
4912
/* Override any gcc2 internal prototype to avoid an error.  */
5556
4913
#ifdef __cplusplus
5557
4914
extern "C"
5558
 
{
5559
4915
#endif
5560
4916
/* We use char because int might match the return type of a gcc2
5561
4917
   builtin and then its argument prototype would still apply.  */
5562
4918
char $ac_func ();
 
4919
char (*f) ();
 
4920
 
 
4921
#ifdef F77_DUMMY_MAIN
 
4922
#  ifdef __cplusplus
 
4923
     extern "C"
 
4924
#  endif
 
4925
   int F77_DUMMY_MAIN() { return 1; }
 
4926
#endif
 
4927
int
 
4928
main ()
 
4929
{
5563
4930
/* The GNU C library defines this for functions which it implements
5564
4931
    to always fail with ENOSYS.  Some functions are actually named
5565
4932
    something starting with __ and the normal name is an alias.  */
5566
4933
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5567
4934
choke me
5568
4935
#else
5569
 
char (*f) () = $ac_func;
5570
 
#endif
5571
 
#ifdef __cplusplus
5572
 
}
 
4936
f = $ac_func;
5573
4937
#endif
5574
4938
 
5575
 
int
5576
 
main ()
5577
 
{
5578
 
return f != $ac_func;
5579
4939
  ;
5580
4940
  return 0;
5581
4941
}
5582
4942
_ACEOF
5583
4943
rm -f conftest.$ac_objext conftest$ac_exeext
5584
4944
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5585
 
  (eval $ac_link) 2>conftest.er1
 
4945
  (eval $ac_link) 2>&5
5586
4946
  ac_status=$?
5587
 
  grep -v '^ *+' conftest.er1 >conftest.err
5588
 
  rm -f conftest.er1
5589
 
  cat conftest.err >&5
5590
4947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591
4948
  (exit $ac_status); } &&
5592
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5593
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5594
 
  (eval $ac_try) 2>&5
5595
 
  ac_status=$?
5596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597
 
  (exit $ac_status); }; } &&
5598
 
         { ac_try='test -s conftest$ac_exeext'
 
4949
         { ac_try='test -s conftest$ac_exeext'
5599
4950
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5600
4951
  (eval $ac_try) 2>&5
5601
4952
  ac_status=$?
5604
4955
  eval "$as_ac_var=yes"
5605
4956
else
5606
4957
  echo "$as_me: failed program was:" >&5
5607
 
sed 's/^/| /' conftest.$ac_ext >&5
5608
 
 
 
4958
cat conftest.$ac_ext >&5
5609
4959
eval "$as_ac_var=no"
5610
4960
fi
5611
 
rm -f conftest.err conftest.$ac_objext \
5612
 
      conftest$ac_exeext conftest.$ac_ext
 
4961
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5613
4962
fi
5614
4963
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5615
4964
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5629
4978
  echo $ECHO_N "(cached) $ECHO_C" >&6
5630
4979
else
5631
4980
  cat >conftest.$ac_ext <<_ACEOF
5632
 
/* confdefs.h.  */
5633
 
_ACEOF
5634
 
cat confdefs.h >>conftest.$ac_ext
5635
 
cat >>conftest.$ac_ext <<_ACEOF
5636
 
/* end confdefs.h.  */
 
4981
#line $LINENO "configure"
 
4982
#include "confdefs.h"
5637
4983
#include <locale.h>
 
4984
#ifdef F77_DUMMY_MAIN
 
4985
#  ifdef __cplusplus
 
4986
     extern "C"
 
4987
#  endif
 
4988
   int F77_DUMMY_MAIN() { return 1; }
 
4989
#endif
5638
4990
int
5639
4991
main ()
5640
4992
{
5645
4997
_ACEOF
5646
4998
rm -f conftest.$ac_objext conftest$ac_exeext
5647
4999
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5648
 
  (eval $ac_link) 2>conftest.er1
 
5000
  (eval $ac_link) 2>&5
5649
5001
  ac_status=$?
5650
 
  grep -v '^ *+' conftest.er1 >conftest.err
5651
 
  rm -f conftest.er1
5652
 
  cat conftest.err >&5
5653
5002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654
5003
  (exit $ac_status); } &&
5655
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5656
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5657
 
  (eval $ac_try) 2>&5
5658
 
  ac_status=$?
5659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660
 
  (exit $ac_status); }; } &&
5661
 
         { ac_try='test -s conftest$ac_exeext'
 
5004
         { ac_try='test -s conftest$ac_exeext'
5662
5005
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5663
5006
  (eval $ac_try) 2>&5
5664
5007
  ac_status=$?
5667
5010
  am_cv_val_LC_MESSAGES=yes
5668
5011
else
5669
5012
  echo "$as_me: failed program was:" >&5
5670
 
sed 's/^/| /' conftest.$ac_ext >&5
5671
 
 
 
5013
cat conftest.$ac_ext >&5
5672
5014
am_cv_val_LC_MESSAGES=no
5673
5015
fi
5674
 
rm -f conftest.err conftest.$ac_objext \
5675
 
      conftest$ac_exeext conftest.$ac_ext
 
5016
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5676
5017
fi
5677
5018
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
5678
5019
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
5709
5050
echo "$as_me:$LINENO: checking libintl.h usability" >&5
5710
5051
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
5711
5052
cat >conftest.$ac_ext <<_ACEOF
5712
 
/* confdefs.h.  */
5713
 
_ACEOF
5714
 
cat confdefs.h >>conftest.$ac_ext
5715
 
cat >>conftest.$ac_ext <<_ACEOF
5716
 
/* end confdefs.h.  */
 
5053
#line $LINENO "configure"
 
5054
#include "confdefs.h"
5717
5055
$ac_includes_default
5718
5056
#include <libintl.h>
5719
5057
_ACEOF
5720
5058
rm -f conftest.$ac_objext
5721
5059
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5722
 
  (eval $ac_compile) 2>conftest.er1
 
5060
  (eval $ac_compile) 2>&5
5723
5061
  ac_status=$?
5724
 
  grep -v '^ *+' conftest.er1 >conftest.err
5725
 
  rm -f conftest.er1
5726
 
  cat conftest.err >&5
5727
5062
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728
5063
  (exit $ac_status); } &&
5729
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5731
 
  (eval $ac_try) 2>&5
5732
 
  ac_status=$?
5733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734
 
  (exit $ac_status); }; } &&
5735
 
         { ac_try='test -s conftest.$ac_objext'
 
5064
         { ac_try='test -s conftest.$ac_objext'
5736
5065
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5737
5066
  (eval $ac_try) 2>&5
5738
5067
  ac_status=$?
5741
5070
  ac_header_compiler=yes
5742
5071
else
5743
5072
  echo "$as_me: failed program was:" >&5
5744
 
sed 's/^/| /' conftest.$ac_ext >&5
5745
 
 
 
5073
cat conftest.$ac_ext >&5
5746
5074
ac_header_compiler=no
5747
5075
fi
5748
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5076
rm -f conftest.$ac_objext conftest.$ac_ext
5749
5077
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5750
5078
echo "${ECHO_T}$ac_header_compiler" >&6
5751
5079
 
5753
5081
echo "$as_me:$LINENO: checking libintl.h presence" >&5
5754
5082
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
5755
5083
cat >conftest.$ac_ext <<_ACEOF
5756
 
/* confdefs.h.  */
5757
 
_ACEOF
5758
 
cat confdefs.h >>conftest.$ac_ext
5759
 
cat >>conftest.$ac_ext <<_ACEOF
5760
 
/* end confdefs.h.  */
 
5084
#line $LINENO "configure"
 
5085
#include "confdefs.h"
5761
5086
#include <libintl.h>
5762
5087
_ACEOF
5763
5088
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5764
5089
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5765
5090
  ac_status=$?
5766
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
5091
  egrep -v '^ *\+' conftest.er1 >conftest.err
5767
5092
  rm -f conftest.er1
5768
5093
  cat conftest.err >&5
5769
5094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770
5095
  (exit $ac_status); } >/dev/null; then
5771
5096
  if test -s conftest.err; then
5772
5097
    ac_cpp_err=$ac_c_preproc_warn_flag
5773
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5774
5098
  else
5775
5099
    ac_cpp_err=
5776
5100
  fi
5781
5105
  ac_header_preproc=yes
5782
5106
else
5783
5107
  echo "$as_me: failed program was:" >&5
5784
 
sed 's/^/| /' conftest.$ac_ext >&5
5785
 
 
 
5108
  cat conftest.$ac_ext >&5
5786
5109
  ac_header_preproc=no
5787
5110
fi
5788
5111
rm -f conftest.err conftest.$ac_ext
5790
5113
echo "${ECHO_T}$ac_header_preproc" >&6
5791
5114
 
5792
5115
# So?  What about this header?
5793
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5794
 
  yes:no: )
 
5116
case $ac_header_compiler:$ac_header_preproc in
 
5117
  yes:no )
5795
5118
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5796
5119
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5797
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5798
 
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5799
 
    ac_header_preproc=yes
5800
 
    ;;
5801
 
  no:yes:* )
 
5120
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 
5121
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
 
5122
  no:yes )
5802
5123
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5803
5124
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5804
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
5805
 
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
5806
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5807
 
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5808
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
5809
 
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5125
    { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
 
5126
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5810
5127
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5811
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5812
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5813
 
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5814
 
    (
5815
 
      cat <<\_ASBOX
5816
 
## ------------------------------------------ ##
5817
 
## Report this to the AC_PACKAGE_NAME lists.  ##
5818
 
## ------------------------------------------ ##
5819
 
_ASBOX
5820
 
    ) |
5821
 
      sed "s/^/$as_me: WARNING:     /" >&2
5822
 
    ;;
 
5128
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
5823
5129
esac
5824
5130
echo "$as_me:$LINENO: checking for libintl.h" >&5
5825
5131
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
5839
5145
  echo $ECHO_N "(cached) $ECHO_C" >&6
5840
5146
else
5841
5147
  cat >conftest.$ac_ext <<_ACEOF
5842
 
/* confdefs.h.  */
5843
 
_ACEOF
5844
 
cat confdefs.h >>conftest.$ac_ext
5845
 
cat >>conftest.$ac_ext <<_ACEOF
5846
 
/* end confdefs.h.  */
 
5148
#line $LINENO "configure"
 
5149
#include "confdefs.h"
5847
5150
#include <libintl.h>
 
5151
#ifdef F77_DUMMY_MAIN
 
5152
#  ifdef __cplusplus
 
5153
     extern "C"
 
5154
#  endif
 
5155
   int F77_DUMMY_MAIN() { return 1; }
 
5156
#endif
5848
5157
int
5849
5158
main ()
5850
5159
{
5855
5164
_ACEOF
5856
5165
rm -f conftest.$ac_objext conftest$ac_exeext
5857
5166
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5858
 
  (eval $ac_link) 2>conftest.er1
 
5167
  (eval $ac_link) 2>&5
5859
5168
  ac_status=$?
5860
 
  grep -v '^ *+' conftest.er1 >conftest.err
5861
 
  rm -f conftest.er1
5862
 
  cat conftest.err >&5
5863
5169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864
5170
  (exit $ac_status); } &&
5865
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5866
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867
 
  (eval $ac_try) 2>&5
5868
 
  ac_status=$?
5869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870
 
  (exit $ac_status); }; } &&
5871
 
         { ac_try='test -s conftest$ac_exeext'
 
5171
         { ac_try='test -s conftest$ac_exeext'
5872
5172
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873
5173
  (eval $ac_try) 2>&5
5874
5174
  ac_status=$?
5877
5177
  gt_cv_func_dgettext_libc=yes
5878
5178
else
5879
5179
  echo "$as_me: failed program was:" >&5
5880
 
sed 's/^/| /' conftest.$ac_ext >&5
5881
 
 
 
5180
cat conftest.$ac_ext >&5
5882
5181
gt_cv_func_dgettext_libc=no
5883
5182
fi
5884
 
rm -f conftest.err conftest.$ac_objext \
5885
 
      conftest$ac_exeext conftest.$ac_ext
 
5183
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5886
5184
fi
5887
5185
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
5888
5186
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
5899
5197
  ac_check_lib_save_LIBS=$LIBS
5900
5198
LIBS="-lintl  $LIBS"
5901
5199
cat >conftest.$ac_ext <<_ACEOF
5902
 
/* confdefs.h.  */
5903
 
_ACEOF
5904
 
cat confdefs.h >>conftest.$ac_ext
5905
 
cat >>conftest.$ac_ext <<_ACEOF
5906
 
/* end confdefs.h.  */
 
5200
#line $LINENO "configure"
 
5201
#include "confdefs.h"
5907
5202
 
5908
5203
/* Override any gcc2 internal prototype to avoid an error.  */
5909
5204
#ifdef __cplusplus
5912
5207
/* We use char because int might match the return type of a gcc2
5913
5208
   builtin and then its argument prototype would still apply.  */
5914
5209
char bindtextdomain ();
 
5210
#ifdef F77_DUMMY_MAIN
 
5211
#  ifdef __cplusplus
 
5212
     extern "C"
 
5213
#  endif
 
5214
   int F77_DUMMY_MAIN() { return 1; }
 
5215
#endif
5915
5216
int
5916
5217
main ()
5917
5218
{
5922
5223
_ACEOF
5923
5224
rm -f conftest.$ac_objext conftest$ac_exeext
5924
5225
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5925
 
  (eval $ac_link) 2>conftest.er1
 
5226
  (eval $ac_link) 2>&5
5926
5227
  ac_status=$?
5927
 
  grep -v '^ *+' conftest.er1 >conftest.err
5928
 
  rm -f conftest.er1
5929
 
  cat conftest.err >&5
5930
5228
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931
5229
  (exit $ac_status); } &&
5932
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5933
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934
 
  (eval $ac_try) 2>&5
5935
 
  ac_status=$?
5936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937
 
  (exit $ac_status); }; } &&
5938
 
         { ac_try='test -s conftest$ac_exeext'
 
5230
         { ac_try='test -s conftest$ac_exeext'
5939
5231
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940
5232
  (eval $ac_try) 2>&5
5941
5233
  ac_status=$?
5944
5236
  ac_cv_lib_intl_bindtextdomain=yes
5945
5237
else
5946
5238
  echo "$as_me: failed program was:" >&5
5947
 
sed 's/^/| /' conftest.$ac_ext >&5
5948
 
 
 
5239
cat conftest.$ac_ext >&5
5949
5240
ac_cv_lib_intl_bindtextdomain=no
5950
5241
fi
5951
 
rm -f conftest.err conftest.$ac_objext \
5952
 
      conftest$ac_exeext conftest.$ac_ext
 
5242
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5953
5243
LIBS=$ac_check_lib_save_LIBS
5954
5244
fi
5955
5245
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5963
5253
  ac_check_lib_save_LIBS=$LIBS
5964
5254
LIBS="-lintl  $LIBS"
5965
5255
cat >conftest.$ac_ext <<_ACEOF
5966
 
/* confdefs.h.  */
5967
 
_ACEOF
5968
 
cat confdefs.h >>conftest.$ac_ext
5969
 
cat >>conftest.$ac_ext <<_ACEOF
5970
 
/* end confdefs.h.  */
 
5256
#line $LINENO "configure"
 
5257
#include "confdefs.h"
5971
5258
 
5972
5259
/* Override any gcc2 internal prototype to avoid an error.  */
5973
5260
#ifdef __cplusplus
5976
5263
/* We use char because int might match the return type of a gcc2
5977
5264
   builtin and then its argument prototype would still apply.  */
5978
5265
char dgettext ();
 
5266
#ifdef F77_DUMMY_MAIN
 
5267
#  ifdef __cplusplus
 
5268
     extern "C"
 
5269
#  endif
 
5270
   int F77_DUMMY_MAIN() { return 1; }
 
5271
#endif
5979
5272
int
5980
5273
main ()
5981
5274
{
5986
5279
_ACEOF
5987
5280
rm -f conftest.$ac_objext conftest$ac_exeext
5988
5281
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5989
 
  (eval $ac_link) 2>conftest.er1
 
5282
  (eval $ac_link) 2>&5
5990
5283
  ac_status=$?
5991
 
  grep -v '^ *+' conftest.er1 >conftest.err
5992
 
  rm -f conftest.er1
5993
 
  cat conftest.err >&5
5994
5284
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995
5285
  (exit $ac_status); } &&
5996
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5997
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5998
 
  (eval $ac_try) 2>&5
5999
 
  ac_status=$?
6000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001
 
  (exit $ac_status); }; } &&
6002
 
         { ac_try='test -s conftest$ac_exeext'
 
5286
         { ac_try='test -s conftest$ac_exeext'
6003
5287
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004
5288
  (eval $ac_try) 2>&5
6005
5289
  ac_status=$?
6008
5292
  ac_cv_lib_intl_dgettext=yes
6009
5293
else
6010
5294
  echo "$as_me: failed program was:" >&5
6011
 
sed 's/^/| /' conftest.$ac_ext >&5
6012
 
 
 
5295
cat conftest.$ac_ext >&5
6013
5296
ac_cv_lib_intl_dgettext=no
6014
5297
fi
6015
 
rm -f conftest.err conftest.$ac_objext \
6016
 
      conftest$ac_exeext conftest.$ac_ext
 
5298
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6017
5299
LIBS=$ac_check_lib_save_LIBS
6018
5300
fi
6019
5301
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6038
5320
  ac_check_lib_save_LIBS=$LIBS
6039
5321
LIBS="-lintl -liconv $LIBS"
6040
5322
cat >conftest.$ac_ext <<_ACEOF
6041
 
/* confdefs.h.  */
6042
 
_ACEOF
6043
 
cat confdefs.h >>conftest.$ac_ext
6044
 
cat >>conftest.$ac_ext <<_ACEOF
6045
 
/* end confdefs.h.  */
 
5323
#line $LINENO "configure"
 
5324
#include "confdefs.h"
6046
5325
 
6047
5326
/* Override any gcc2 internal prototype to avoid an error.  */
6048
5327
#ifdef __cplusplus
6051
5330
/* We use char because int might match the return type of a gcc2
6052
5331
   builtin and then its argument prototype would still apply.  */
6053
5332
char dcgettext ();
 
5333
#ifdef F77_DUMMY_MAIN
 
5334
#  ifdef __cplusplus
 
5335
     extern "C"
 
5336
#  endif
 
5337
   int F77_DUMMY_MAIN() { return 1; }
 
5338
#endif
6054
5339
int
6055
5340
main ()
6056
5341
{
6061
5346
_ACEOF
6062
5347
rm -f conftest.$ac_objext conftest$ac_exeext
6063
5348
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6064
 
  (eval $ac_link) 2>conftest.er1
 
5349
  (eval $ac_link) 2>&5
6065
5350
  ac_status=$?
6066
 
  grep -v '^ *+' conftest.er1 >conftest.err
6067
 
  rm -f conftest.er1
6068
 
  cat conftest.err >&5
6069
5351
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6070
5352
  (exit $ac_status); } &&
6071
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6072
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6073
 
  (eval $ac_try) 2>&5
6074
 
  ac_status=$?
6075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076
 
  (exit $ac_status); }; } &&
6077
 
         { ac_try='test -s conftest$ac_exeext'
 
5353
         { ac_try='test -s conftest$ac_exeext'
6078
5354
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079
5355
  (eval $ac_try) 2>&5
6080
5356
  ac_status=$?
6083
5359
  ac_cv_lib_intl_dcgettext=yes
6084
5360
else
6085
5361
  echo "$as_me: failed program was:" >&5
6086
 
sed 's/^/| /' conftest.$ac_ext >&5
6087
 
 
 
5362
cat conftest.$ac_ext >&5
6088
5363
ac_cv_lib_intl_dcgettext=no
6089
5364
fi
6090
 
rm -f conftest.err conftest.$ac_objext \
6091
 
      conftest$ac_exeext conftest.$ac_ext
 
5365
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6092
5366
LIBS=$ac_check_lib_save_LIBS
6093
5367
fi
6094
5368
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
6160
5434
  echo $ECHO_N "(cached) $ECHO_C" >&6
6161
5435
else
6162
5436
  cat >conftest.$ac_ext <<_ACEOF
6163
 
/* confdefs.h.  */
6164
 
_ACEOF
6165
 
cat confdefs.h >>conftest.$ac_ext
6166
 
cat >>conftest.$ac_ext <<_ACEOF
6167
 
/* end confdefs.h.  */
6168
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6169
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6170
 
#define $ac_func innocuous_$ac_func
6171
 
 
 
5437
#line $LINENO "configure"
 
5438
#include "confdefs.h"
6172
5439
/* System header to define __stub macros and hopefully few prototypes,
6173
 
    which can conflict with char $ac_func (); below.
6174
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6175
 
    <limits.h> exists even on freestanding compilers.  */
6176
 
 
6177
 
#ifdef __STDC__
6178
 
# include <limits.h>
6179
 
#else
6180
 
# include <assert.h>
6181
 
#endif
6182
 
 
6183
 
#undef $ac_func
6184
 
 
 
5440
    which can conflict with char $ac_func (); below.  */
 
5441
#include <assert.h>
6185
5442
/* Override any gcc2 internal prototype to avoid an error.  */
6186
5443
#ifdef __cplusplus
6187
5444
extern "C"
6188
 
{
6189
5445
#endif
6190
5446
/* We use char because int might match the return type of a gcc2
6191
5447
   builtin and then its argument prototype would still apply.  */
6192
5448
char $ac_func ();
 
5449
char (*f) ();
 
5450
 
 
5451
#ifdef F77_DUMMY_MAIN
 
5452
#  ifdef __cplusplus
 
5453
     extern "C"
 
5454
#  endif
 
5455
   int F77_DUMMY_MAIN() { return 1; }
 
5456
#endif
 
5457
int
 
5458
main ()
 
5459
{
6193
5460
/* The GNU C library defines this for functions which it implements
6194
5461
    to always fail with ENOSYS.  Some functions are actually named
6195
5462
    something starting with __ and the normal name is an alias.  */
6196
5463
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6197
5464
choke me
6198
5465
#else
6199
 
char (*f) () = $ac_func;
6200
 
#endif
6201
 
#ifdef __cplusplus
6202
 
}
 
5466
f = $ac_func;
6203
5467
#endif
6204
5468
 
6205
 
int
6206
 
main ()
6207
 
{
6208
 
return f != $ac_func;
6209
5469
  ;
6210
5470
  return 0;
6211
5471
}
6212
5472
_ACEOF
6213
5473
rm -f conftest.$ac_objext conftest$ac_exeext
6214
5474
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6215
 
  (eval $ac_link) 2>conftest.er1
 
5475
  (eval $ac_link) 2>&5
6216
5476
  ac_status=$?
6217
 
  grep -v '^ *+' conftest.er1 >conftest.err
6218
 
  rm -f conftest.er1
6219
 
  cat conftest.err >&5
6220
5477
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221
5478
  (exit $ac_status); } &&
6222
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6223
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6224
 
  (eval $ac_try) 2>&5
6225
 
  ac_status=$?
6226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227
 
  (exit $ac_status); }; } &&
6228
 
         { ac_try='test -s conftest$ac_exeext'
 
5479
         { ac_try='test -s conftest$ac_exeext'
6229
5480
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6230
5481
  (eval $ac_try) 2>&5
6231
5482
  ac_status=$?
6234
5485
  eval "$as_ac_var=yes"
6235
5486
else
6236
5487
  echo "$as_me: failed program was:" >&5
6237
 
sed 's/^/| /' conftest.$ac_ext >&5
6238
 
 
 
5488
cat conftest.$ac_ext >&5
6239
5489
eval "$as_ac_var=no"
6240
5490
fi
6241
 
rm -f conftest.err conftest.$ac_objext \
6242
 
      conftest$ac_exeext conftest.$ac_ext
 
5491
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6243
5492
fi
6244
5493
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6245
5494
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6328
5577
fi
6329
5578
 
6330
5579
              cat >conftest.$ac_ext <<_ACEOF
6331
 
/* confdefs.h.  */
6332
 
_ACEOF
6333
 
cat confdefs.h >>conftest.$ac_ext
6334
 
cat >>conftest.$ac_ext <<_ACEOF
6335
 
/* end confdefs.h.  */
 
5580
#line $LINENO "configure"
 
5581
#include "confdefs.h"
6336
5582
 
 
5583
#ifdef F77_DUMMY_MAIN
 
5584
#  ifdef __cplusplus
 
5585
     extern "C"
 
5586
#  endif
 
5587
   int F77_DUMMY_MAIN() { return 1; }
 
5588
#endif
6337
5589
int
6338
5590
main ()
6339
5591
{
6345
5597
_ACEOF
6346
5598
rm -f conftest.$ac_objext conftest$ac_exeext
6347
5599
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6348
 
  (eval $ac_link) 2>conftest.er1
 
5600
  (eval $ac_link) 2>&5
6349
5601
  ac_status=$?
6350
 
  grep -v '^ *+' conftest.er1 >conftest.err
6351
 
  rm -f conftest.er1
6352
 
  cat conftest.err >&5
6353
5602
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354
5603
  (exit $ac_status); } &&
6355
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6356
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6357
 
  (eval $ac_try) 2>&5
6358
 
  ac_status=$?
6359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360
 
  (exit $ac_status); }; } &&
6361
 
         { ac_try='test -s conftest$ac_exeext'
 
5604
         { ac_try='test -s conftest$ac_exeext'
6362
5605
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363
5606
  (eval $ac_try) 2>&5
6364
5607
  ac_status=$?
6368
5611
                 DATADIRNAME=share
6369
5612
else
6370
5613
  echo "$as_me: failed program was:" >&5
6371
 
sed 's/^/| /' conftest.$ac_ext >&5
6372
 
 
 
5614
cat conftest.$ac_ext >&5
6373
5615
CATOBJEXT=.mo
6374
5616
                 DATADIRNAME=lib
6375
5617
fi
6376
 
rm -f conftest.err conftest.$ac_objext \
6377
 
      conftest$ac_exeext conftest.$ac_ext
 
5618
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6378
5619
              INSTOBJEXT=.mo
6379
5620
            fi
6380
5621
          fi
6418
5659
    # We need to process the po/ directory.
6419
5660
    POSUB=po
6420
5661
 
6421
 
              ac_config_commands="$ac_config_commands default-2"
 
5662
    ac_config_commands="$ac_config_commands default-2"
6422
5663
 
6423
5664
 
6424
5665
                for lang in $ALL_LINGUAS; do
6475
5716
echo "$as_me:$LINENO: checking linux/version.h usability" >&5
6476
5717
echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
6477
5718
cat >conftest.$ac_ext <<_ACEOF
6478
 
/* confdefs.h.  */
6479
 
_ACEOF
6480
 
cat confdefs.h >>conftest.$ac_ext
6481
 
cat >>conftest.$ac_ext <<_ACEOF
6482
 
/* end confdefs.h.  */
 
5719
#line $LINENO "configure"
 
5720
#include "confdefs.h"
6483
5721
$ac_includes_default
6484
5722
#include <linux/version.h>
6485
5723
_ACEOF
6486
5724
rm -f conftest.$ac_objext
6487
5725
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6488
 
  (eval $ac_compile) 2>conftest.er1
 
5726
  (eval $ac_compile) 2>&5
6489
5727
  ac_status=$?
6490
 
  grep -v '^ *+' conftest.er1 >conftest.err
6491
 
  rm -f conftest.er1
6492
 
  cat conftest.err >&5
6493
5728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494
5729
  (exit $ac_status); } &&
6495
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6496
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6497
 
  (eval $ac_try) 2>&5
6498
 
  ac_status=$?
6499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500
 
  (exit $ac_status); }; } &&
6501
 
         { ac_try='test -s conftest.$ac_objext'
 
5730
         { ac_try='test -s conftest.$ac_objext'
6502
5731
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503
5732
  (eval $ac_try) 2>&5
6504
5733
  ac_status=$?
6507
5736
  ac_header_compiler=yes
6508
5737
else
6509
5738
  echo "$as_me: failed program was:" >&5
6510
 
sed 's/^/| /' conftest.$ac_ext >&5
6511
 
 
 
5739
cat conftest.$ac_ext >&5
6512
5740
ac_header_compiler=no
6513
5741
fi
6514
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5742
rm -f conftest.$ac_objext conftest.$ac_ext
6515
5743
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6516
5744
echo "${ECHO_T}$ac_header_compiler" >&6
6517
5745
 
6519
5747
echo "$as_me:$LINENO: checking linux/version.h presence" >&5
6520
5748
echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
6521
5749
cat >conftest.$ac_ext <<_ACEOF
6522
 
/* confdefs.h.  */
6523
 
_ACEOF
6524
 
cat confdefs.h >>conftest.$ac_ext
6525
 
cat >>conftest.$ac_ext <<_ACEOF
6526
 
/* end confdefs.h.  */
 
5750
#line $LINENO "configure"
 
5751
#include "confdefs.h"
6527
5752
#include <linux/version.h>
6528
5753
_ACEOF
6529
5754
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6530
5755
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6531
5756
  ac_status=$?
6532
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
5757
  egrep -v '^ *\+' conftest.er1 >conftest.err
6533
5758
  rm -f conftest.er1
6534
5759
  cat conftest.err >&5
6535
5760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536
5761
  (exit $ac_status); } >/dev/null; then
6537
5762
  if test -s conftest.err; then
6538
5763
    ac_cpp_err=$ac_c_preproc_warn_flag
6539
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6540
5764
  else
6541
5765
    ac_cpp_err=
6542
5766
  fi
6547
5771
  ac_header_preproc=yes
6548
5772
else
6549
5773
  echo "$as_me: failed program was:" >&5
6550
 
sed 's/^/| /' conftest.$ac_ext >&5
6551
 
 
 
5774
  cat conftest.$ac_ext >&5
6552
5775
  ac_header_preproc=no
6553
5776
fi
6554
5777
rm -f conftest.err conftest.$ac_ext
6556
5779
echo "${ECHO_T}$ac_header_preproc" >&6
6557
5780
 
6558
5781
# So?  What about this header?
6559
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6560
 
  yes:no: )
 
5782
case $ac_header_compiler:$ac_header_preproc in
 
5783
  yes:no )
6561
5784
    { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
6562
5785
echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6563
 
    { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
6564
 
echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
6565
 
    ac_header_preproc=yes
6566
 
    ;;
6567
 
  no:yes:* )
 
5786
    { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
 
5787
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;};;
 
5788
  no:yes )
6568
5789
    { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
6569
5790
echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
6570
 
    { echo "$as_me:$LINENO: WARNING: linux/version.h:     check for missing prerequisite headers?" >&5
6571
 
echo "$as_me: WARNING: linux/version.h:     check for missing prerequisite headers?" >&2;}
6572
 
    { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
6573
 
echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
6574
 
    { echo "$as_me:$LINENO: WARNING: linux/version.h:     section \"Present But Cannot Be Compiled\"" >&5
6575
 
echo "$as_me: WARNING: linux/version.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5791
    { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
 
5792
echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
6576
5793
    { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
6577
 
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
6578
 
    { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
6579
 
echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
6580
 
    (
6581
 
      cat <<\_ASBOX
6582
 
## ------------------------------------------ ##
6583
 
## Report this to the AC_PACKAGE_NAME lists.  ##
6584
 
## ------------------------------------------ ##
6585
 
_ASBOX
6586
 
    ) |
6587
 
      sed "s/^/$as_me: WARNING:     /" >&2
6588
 
    ;;
 
5794
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;};;
6589
5795
esac
6590
5796
echo "$as_me:$LINENO: checking for linux/version.h" >&5
6591
5797
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
6633
5839
        < $srcdir/po/POTFILES.in > po/POTFILES
6634
5840
 
6635
5841
 
6636
 
                                                            ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in help/Makefile help/C/Makefile pixmaps/Makefile"
 
5842
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in help/Makefile help/C/Makefile pixmaps/Makefile"
6637
5843
cat >confcache <<\_ACEOF
6638
5844
# This file is a shell script that caches the results of configure
6639
5845
# tests run on this system so they can be shared between configure
6644
5850
# config.status only pays attention to the cache file if you give it
6645
5851
# the --recheck option to rerun configure.
6646
5852
#
6647
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
5853
# `ac_cv_env_foo' variables (set or unset) will be overriden when
6648
5854
# loading this file, other *unset* `ac_cv_foo' will be assigned the
6649
5855
# following values.
6650
5856
 
6662
5868
      # `set' does not quote correctly, so add quotes (double-quote
6663
5869
      # substitution turns \\\\ into \\, and sed turns \\ into \).
6664
5870
      sed -n \
6665
 
        "s/'/'\\\\''/g;
6666
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
5871
        "s/'/'\\\\''/g;
 
5872
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6667
5873
      ;;
6668
5874
    *)
6669
5875
      # `set' quotes correctly as required by POSIX, so do not add quotes.
6670
5876
      sed -n \
6671
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
5877
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6672
5878
      ;;
6673
5879
    esac;
6674
5880
} |
6679
5885
     t end
6680
5886
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6681
5887
     : end' >>confcache
6682
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
5888
if cmp -s $cache_file confcache; then :; else
6683
5889
  if test -w $cache_file; then
6684
5890
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6685
5891
    cat confcache >$cache_file
6698
5904
# trailing colons and then remove the whole line if VPATH becomes empty
6699
5905
# (actually we leave an empty line to preserve line numbers).
6700
5906
if test "x$srcdir" = x.; then
6701
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
5907
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
6702
5908
s/:*\$(srcdir):*/:/;
6703
5909
s/:*\${srcdir}:*/:/;
6704
5910
s/:*@srcdir@:*/:/;
6705
 
s/^\([^=]*=[     ]*\):*/\1/;
 
5911
s/^\([^=]*=[    ]*\):*/\1/;
6706
5912
s/:*$//;
6707
 
s/^[^=]*=[       ]*$//;
 
5913
s/^[^=]*=[      ]*$//;
6708
5914
}'
6709
5915
fi
6710
5916
 
6711
5917
DEFS=-DHAVE_CONFIG_H
6712
5918
 
6713
 
ac_libobjs=
6714
 
ac_ltlibobjs=
6715
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6716
 
  # 1. Remove the extension, and $U if already installed.
6717
 
  ac_i=`echo "$ac_i" |
6718
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6719
 
  # 2. Add them.
6720
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6721
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6722
 
done
6723
 
LIBOBJS=$ac_libobjs
6724
 
 
6725
 
LTLIBOBJS=$ac_ltlibobjs
6726
 
 
6727
 
 
6728
5919
 
6729
5920
: ${CONFIG_STATUS=./config.status}
6730
5921
ac_clean_files_save=$ac_clean_files
6739
5930
# configure, is in config.log if it exists.
6740
5931
 
6741
5932
debug=false
6742
 
ac_cs_recheck=false
6743
 
ac_cs_silent=false
6744
5933
SHELL=\${CONFIG_SHELL-$SHELL}
6745
5934
_ACEOF
6746
5935
 
6747
5936
cat >>$CONFIG_STATUS <<\_ACEOF
 
5937
 
6748
5938
## --------------------- ##
6749
5939
## M4sh Initialization.  ##
6750
5940
## --------------------- ##
6753
5943
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6754
5944
  emulate sh
6755
5945
  NULLCMD=:
6756
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6757
 
  # is contrary to our usage.  Disable this feature.
6758
 
  alias -g '${1+"$@"}'='"$@"'
6759
5946
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6760
5947
  set -o posix
6761
5948
fi
6762
 
DUALCASE=1; export DUALCASE # for MKS sh
6763
5949
 
 
5950
# NLS nuisances.
6764
5951
# Support unset when possible.
6765
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5952
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6766
5953
  as_unset=unset
6767
5954
else
6768
5955
  as_unset=false
6769
5956
fi
6770
5957
 
6771
 
 
6772
 
# Work around bugs in pre-3.0 UWIN ksh.
6773
 
$as_unset ENV MAIL MAILPATH
6774
 
PS1='$ '
6775
 
PS2='> '
6776
 
PS4='+ '
6777
 
 
6778
 
# NLS nuisances.
6779
 
for as_var in \
6780
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6781
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6782
 
  LC_TELEPHONE LC_TIME
6783
 
do
6784
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6785
 
    eval $as_var=C; export $as_var
6786
 
  else
6787
 
    $as_unset $as_var
6788
 
  fi
6789
 
done
6790
 
 
6791
 
# Required to use basename.
6792
 
if expr a : '\(a\)' >/dev/null 2>&1; then
6793
 
  as_expr=expr
6794
 
else
6795
 
  as_expr=false
6796
 
fi
6797
 
 
6798
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6799
 
  as_basename=basename
6800
 
else
6801
 
  as_basename=false
6802
 
fi
 
5958
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
 
5959
    { $as_unset LANG || test "${LANG+set}" != set; } ||
 
5960
      { LANG=C; export LANG; }
 
5961
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
 
5962
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
 
5963
      { LC_ALL=C; export LC_ALL; }
 
5964
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
 
5965
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
 
5966
      { LC_TIME=C; export LC_TIME; }
 
5967
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
 
5968
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
 
5969
      { LC_CTYPE=C; export LC_CTYPE; }
 
5970
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
 
5971
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
 
5972
      { LANGUAGE=C; export LANGUAGE; }
 
5973
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
 
5974
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
 
5975
      { LC_COLLATE=C; export LC_COLLATE; }
 
5976
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
 
5977
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
 
5978
      { LC_NUMERIC=C; export LC_NUMERIC; }
 
5979
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
 
5980
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
 
5981
      { LC_MESSAGES=C; export LC_MESSAGES; }
6803
5982
 
6804
5983
 
6805
5984
# Name of the executable.
6806
 
as_me=`$as_basename "$0" ||
 
5985
as_me=`(basename "$0") 2>/dev/null ||
6807
5986
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6808
5987
         X"$0" : 'X\(//\)$' \| \
6809
5988
         X"$0" : 'X\(/\)$' \| \
6814
5993
          /^X\/\(\/\).*/{ s//\1/; q; }
6815
5994
          s/.*/./; q'`
6816
5995
 
6817
 
 
6818
5996
# PATH needs CR, and LINENO needs CR and PATH.
6819
5997
# Avoid depending upon Character Ranges.
6820
5998
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6825
6003
 
6826
6004
# The user is always right.
6827
6005
if test "${PATH_SEPARATOR+set}" != set; then
6828
 
  echo "#! /bin/sh" >conf$$.sh
6829
 
  echo  "exit 0"   >>conf$$.sh
6830
 
  chmod +x conf$$.sh
6831
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
6006
  echo "#! /bin/sh" >conftest.sh
 
6007
  echo  "exit 0"   >>conftest.sh
 
6008
  chmod +x conftest.sh
 
6009
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
6832
6010
    PATH_SEPARATOR=';'
6833
6011
  else
6834
6012
    PATH_SEPARATOR=:
6835
6013
  fi
6836
 
  rm -f conf$$.sh
 
6014
  rm -f conftest.sh
6837
6015
fi
6838
6016
 
6839
6017
 
6882
6060
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6883
6061
  test "x$as_lineno_1" != "x$as_lineno_2" &&
6884
6062
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
6885
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6886
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6887
6063
             CONFIG_SHELL=$as_dir/$as_base
6888
6064
             export CONFIG_SHELL
6889
6065
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6957
6133
fi
6958
6134
rm -f conf$$ conf$$.exe conf$$.file
6959
6135
 
6960
 
if mkdir -p . 2>/dev/null; then
6961
 
  as_mkdir_p=:
6962
 
else
6963
 
  test -d ./-p && rmdir ./-p
6964
 
  as_mkdir_p=false
6965
 
fi
6966
 
 
6967
6136
as_executable_p="test -f"
6968
6137
 
6969
6138
# Sed expression to map a string onto a valid CPP name.
6970
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
6139
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6971
6140
 
6972
6141
# Sed expression to map a string onto a valid variable name.
6973
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
6142
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6974
6143
 
6975
6144
 
6976
6145
# IFS
6980
6149
IFS="   $as_nl"
6981
6150
 
6982
6151
# CDPATH.
6983
 
$as_unset CDPATH
 
6152
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
6984
6153
 
6985
6154
exec 6>&1
6986
6155
 
6997
6166
cat >&5 <<_CSEOF
6998
6167
 
6999
6168
This file was extended by $as_me, which was
7000
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
6169
generated by GNU Autoconf 2.53.  Invocation command line was
7001
6170
 
7002
6171
  CONFIG_FILES    = $CONFIG_FILES
7003
6172
  CONFIG_HEADERS  = $CONFIG_HEADERS
7037
6206
 
7038
6207
  -h, --help       print this help, then exit
7039
6208
  -V, --version    print version number, then exit
7040
 
  -q, --quiet      do not print progress messages
7041
6209
  -d, --debug      don't remove temporary files
7042
6210
      --recheck    update $as_me by reconfiguring in the same conditions
7043
6211
  --file=FILE[:TEMPLATE]
7044
 
                   instantiate the configuration file FILE
 
6212
                   instantiate the configuration file FILE
7045
6213
  --header=FILE[:TEMPLATE]
7046
 
                   instantiate the configuration header FILE
 
6214
                   instantiate the configuration header FILE
7047
6215
 
7048
6216
Configuration files:
7049
6217
$config_files
7060
6228
cat >>$CONFIG_STATUS <<_ACEOF
7061
6229
ac_cs_version="\\
7062
6230
config.status
7063
 
configured by $0, generated by GNU Autoconf 2.59,
 
6231
configured by $0, generated by GNU Autoconf 2.53,
7064
6232
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7065
6233
 
7066
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
6234
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
 
6235
Free Software Foundation, Inc.
7067
6236
This config.status script is free software; the Free Software Foundation
7068
6237
gives unlimited permission to copy, distribute and modify it."
7069
6238
srcdir=$srcdir
7080
6249
  --*=*)
7081
6250
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
7082
6251
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7083
 
    ac_shift=:
7084
 
    ;;
7085
 
  -*)
7086
 
    ac_option=$1
7087
 
    ac_optarg=$2
7088
 
    ac_shift=shift
7089
 
    ;;
 
6252
    shift
 
6253
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
 
6254
    shift
 
6255
    ;;
 
6256
  -*);;
7090
6257
  *) # This is not an option, so the user has probably given explicit
7091
6258
     # arguments.
7092
 
     ac_option=$1
7093
6259
     ac_need_defaults=false;;
7094
6260
  esac
7095
6261
 
7096
 
  case $ac_option in
 
6262
  case $1 in
7097
6263
  # Handling of the options.
7098
6264
_ACEOF
7099
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6265
cat >>$CONFIG_STATUS <<_ACEOF
7100
6266
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7101
 
    ac_cs_recheck=: ;;
 
6267
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
 
6268
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
 
6269
_ACEOF
 
6270
cat >>$CONFIG_STATUS <<\_ACEOF
7102
6271
  --version | --vers* | -V )
7103
6272
    echo "$ac_cs_version"; exit 0 ;;
7104
6273
  --he | --h)
7113
6282
  --debug | --d* | -d )
7114
6283
    debug=: ;;
7115
6284
  --file | --fil | --fi | --f )
7116
 
    $ac_shift
7117
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
6285
    shift
 
6286
    CONFIG_FILES="$CONFIG_FILES $1"
7118
6287
    ac_need_defaults=false;;
7119
6288
  --header | --heade | --head | --hea )
7120
 
    $ac_shift
7121
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
6289
    shift
 
6290
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
7122
6291
    ac_need_defaults=false;;
7123
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7124
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7125
 
    ac_cs_silent=: ;;
7126
6292
 
7127
6293
  # This is an error.
7128
6294
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7137
6303
  shift
7138
6304
done
7139
6305
 
7140
 
ac_configure_extra_args=
7141
 
 
7142
 
if $ac_cs_silent; then
7143
 
  exec 6>/dev/null
7144
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
7145
 
fi
7146
 
 
7147
 
_ACEOF
7148
 
cat >>$CONFIG_STATUS <<_ACEOF
7149
 
if \$ac_cs_recheck; then
7150
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7151
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7152
 
fi
7153
 
 
7154
6306
_ACEOF
7155
6307
 
7156
6308
cat >>$CONFIG_STATUS <<_ACEOF
7195
6347
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7196
6348
fi
7197
6349
 
7198
 
# Have a temporary directory for convenience.  Make it in the build tree
7199
 
# simply because there is no reason to put it here, and in addition,
7200
 
# creating and moving files from /tmp can sometimes cause problems.
7201
6350
# Create a temporary directory, and hook for its removal unless debugging.
7202
6351
$debug ||
7203
6352
{
7206
6355
}
7207
6356
 
7208
6357
# Create a (secure) tmp directory for tmp files.
7209
 
 
 
6358
: ${TMPDIR=/tmp}
7210
6359
{
7211
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
6360
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7212
6361
  test -n "$tmp" && test -d "$tmp"
7213
6362
}  ||
7214
6363
{
7215
 
  tmp=./confstat$$-$RANDOM
 
6364
  tmp=$TMPDIR/cs$$-$RANDOM
7216
6365
  (umask 077 && mkdir $tmp)
7217
6366
} ||
7218
6367
{
7219
 
   echo "$me: cannot create a temporary directory in ." >&2
 
6368
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7220
6369
   { (exit 1); exit 1; }
7221
6370
}
7222
6371
 
7286
6435
s,@EXEEXT@,$EXEEXT,;t t
7287
6436
s,@OBJEXT@,$OBJEXT,;t t
7288
6437
s,@CPP@,$CPP,;t t
7289
 
s,@EGREP@,$EGREP,;t t
7290
6438
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7291
6439
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
7292
6440
s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t
7310
6458
s,@POFILES@,$POFILES,;t t
7311
6459
s,@POSUB@,$POSUB,;t t
7312
6460
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7313
 
s,@LIBOBJS@,$LIBOBJS,;t t
7314
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7315
6461
CEOF
7316
6462
 
7317
6463
_ACEOF
7341
6487
      (echo ':t
7342
6488
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7343
6489
      if test -z "$ac_sed_cmds"; then
7344
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
6490
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7345
6491
      else
7346
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
6492
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7347
6493
      fi
7348
6494
      ac_sed_frag=`expr $ac_sed_frag + 1`
7349
6495
      ac_beg=$ac_end
7361
6507
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7362
6508
  case $ac_file in
7363
6509
  - | *:- | *:-:* ) # input from stdin
7364
 
        cat >$tmp/stdin
7365
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7366
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6510
        cat >$tmp/stdin
 
6511
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6512
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7367
6513
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7368
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6514
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7369
6515
  * )   ac_file_in=$ac_file.in ;;
7370
6516
  esac
7371
6517
 
7372
6518
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7373
6519
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7374
6520
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7375
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
7376
 
         X"$ac_file" : 'X\(//\)$' \| \
7377
 
         X"$ac_file" : 'X\(/\)' \| \
7378
 
         .     : '\(.\)' 2>/dev/null ||
 
6521
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6522
         X"$ac_file" : 'X\(//\)$' \| \
 
6523
         X"$ac_file" : 'X\(/\)' \| \
 
6524
         .     : '\(.\)' 2>/dev/null ||
7379
6525
echo X"$ac_file" |
7380
6526
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7381
6527
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7382
6528
          /^X\(\/\/\)$/{ s//\1/; q; }
7383
6529
          /^X\(\/\).*/{ s//\1/; q; }
7384
6530
          s/.*/./; q'`
7385
 
  { if $as_mkdir_p; then
7386
 
    mkdir -p "$ac_dir"
7387
 
  else
7388
 
    as_dir="$ac_dir"
7389
 
    as_dirs=
7390
 
    while test ! -d "$as_dir"; do
7391
 
      as_dirs="$as_dir $as_dirs"
7392
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7393
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7394
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
7395
 
         X"$as_dir" : 'X\(//\)$' \| \
7396
 
         X"$as_dir" : 'X\(/\)' \| \
7397
 
         .     : '\(.\)' 2>/dev/null ||
7398
 
echo X"$as_dir" |
7399
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7400
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7401
 
          /^X\(\/\/\)$/{ s//\1/; q; }
7402
 
          /^X\(\/\).*/{ s//\1/; q; }
7403
 
          s/.*/./; q'`
7404
 
    done
7405
 
    test ! -n "$as_dirs" || mkdir $as_dirs
7406
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7407
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7408
 
   { (exit 1); exit 1; }; }; }
 
6531
  { case "$ac_dir" in
 
6532
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
 
6533
  *)                      as_incr_dir=.;;
 
6534
esac
 
6535
as_dummy="$ac_dir"
 
6536
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
 
6537
  case $as_mkdir_dir in
 
6538
    # Skip DOS drivespec
 
6539
    ?:) as_incr_dir=$as_mkdir_dir ;;
 
6540
    *)
 
6541
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
 
6542
      test -d "$as_incr_dir" ||
 
6543
        mkdir "$as_incr_dir" ||
 
6544
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
 
6545
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
 
6546
   { (exit 1); exit 1; }; }
 
6547
    ;;
 
6548
  esac
 
6549
done; }
7409
6550
 
7410
6551
  ac_builddir=.
7411
6552
 
7432
6573
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7433
6574
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
7434
6575
esac
7435
 
 
7436
 
# Do not use `cd foo && pwd` to compute absolute paths, because
7437
 
# the directories may not exist.
7438
 
case `pwd` in
7439
 
.) ac_abs_builddir="$ac_dir";;
7440
 
*)
7441
 
  case "$ac_dir" in
7442
 
  .) ac_abs_builddir=`pwd`;;
7443
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7444
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
7445
 
  esac;;
7446
 
esac
7447
 
case $ac_abs_builddir in
7448
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7449
 
*)
7450
 
  case ${ac_top_builddir}. in
7451
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
7452
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7453
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7454
 
  esac;;
7455
 
esac
7456
 
case $ac_abs_builddir in
7457
 
.) ac_abs_srcdir=$ac_srcdir;;
7458
 
*)
7459
 
  case $ac_srcdir in
7460
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
7461
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7462
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7463
 
  esac;;
7464
 
esac
7465
 
case $ac_abs_builddir in
7466
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
7467
 
*)
7468
 
  case $ac_top_srcdir in
7469
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
7470
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7471
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7472
 
  esac;;
7473
 
esac
 
6576
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
6577
# absolute.
 
6578
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
6579
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
 
6580
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
6581
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7474
6582
 
7475
6583
 
7476
6584
  case $INSTALL in
7478
6586
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7479
6587
  esac
7480
6588
 
 
6589
  if test x"$ac_file" != x-; then
 
6590
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
6591
echo "$as_me: creating $ac_file" >&6;}
 
6592
    rm -f "$ac_file"
 
6593
  fi
7481
6594
  # Let's still pretend it is `configure' which instantiates (i.e., don't
7482
6595
  # use $as_me), people would be surprised to read:
7483
6596
  #    /* config.h.  Generated by config.status.  */
7487
6600
    configure_input="$ac_file.  "
7488
6601
  fi
7489
6602
  configure_input=$configure_input"Generated from `echo $ac_file_in |
7490
 
                                     sed 's,.*/,,'` by configure."
 
6603
                                     sed 's,.*/,,'` by configure."
7491
6604
 
7492
6605
  # First look for the input files in the build tree, otherwise in the
7493
6606
  # src tree.
7496
6609
      case $f in
7497
6610
      -) echo $tmp/stdin ;;
7498
6611
      [\\/$]*)
7499
 
         # Absolute (can't be DOS-style, as IFS=:)
7500
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6612
         # Absolute (can't be DOS-style, as IFS=:)
 
6613
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7501
6614
echo "$as_me: error: cannot find input file: $f" >&2;}
7502
6615
   { (exit 1); exit 1; }; }
7503
 
         echo "$f";;
 
6616
         echo $f;;
7504
6617
      *) # Relative
7505
 
         if test -f "$f"; then
7506
 
           # Build tree
7507
 
           echo "$f"
7508
 
         elif test -f "$srcdir/$f"; then
7509
 
           # Source tree
7510
 
           echo "$srcdir/$f"
7511
 
         else
7512
 
           # /dev/null tree
7513
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6618
         if test -f "$f"; then
 
6619
           # Build tree
 
6620
           echo $f
 
6621
         elif test -f "$srcdir/$f"; then
 
6622
           # Source tree
 
6623
           echo $srcdir/$f
 
6624
         else
 
6625
           # /dev/null tree
 
6626
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7514
6627
echo "$as_me: error: cannot find input file: $f" >&2;}
7515
6628
   { (exit 1); exit 1; }; }
7516
 
         fi;;
 
6629
         fi;;
7517
6630
      esac
7518
6631
    done` || { (exit 1); exit 1; }
7519
 
 
7520
 
  if test x"$ac_file" != x-; then
7521
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
7522
 
echo "$as_me: creating $ac_file" >&6;}
7523
 
    rm -f "$ac_file"
7524
 
  fi
7525
6632
_ACEOF
7526
6633
cat >>$CONFIG_STATUS <<_ACEOF
7527
6634
  sed "$ac_vpsub
7561
6668
# NAME is the cpp macro being defined and VALUE is the value it is being given.
7562
6669
#
7563
6670
# ac_d sets the value in "#define NAME VALUE" lines.
7564
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
7565
 
ac_dB='[         ].*$,\1#\2'
 
6671
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
 
6672
ac_dB='[        ].*$,\1#\2'
7566
6673
ac_dC=' '
7567
6674
ac_dD=',;t'
7568
6675
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7569
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
6676
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
7570
6677
ac_uB='$,\1#\2define\3'
7571
6678
ac_uC=' '
7572
6679
ac_uD=',;t'
7575
6682
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7576
6683
  case $ac_file in
7577
6684
  - | *:- | *:-:* ) # input from stdin
7578
 
        cat >$tmp/stdin
7579
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7580
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6685
        cat >$tmp/stdin
 
6686
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
6687
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7581
6688
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7582
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
6689
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7583
6690
  * )   ac_file_in=$ac_file.in ;;
7584
6691
  esac
7585
6692
 
7593
6700
      case $f in
7594
6701
      -) echo $tmp/stdin ;;
7595
6702
      [\\/$]*)
7596
 
         # Absolute (can't be DOS-style, as IFS=:)
7597
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6703
         # Absolute (can't be DOS-style, as IFS=:)
 
6704
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7598
6705
echo "$as_me: error: cannot find input file: $f" >&2;}
7599
6706
   { (exit 1); exit 1; }; }
7600
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
7601
 
         echo "$f";;
 
6707
         echo $f;;
7602
6708
      *) # Relative
7603
 
         if test -f "$f"; then
7604
 
           # Build tree
7605
 
           echo "$f"
7606
 
         elif test -f "$srcdir/$f"; then
7607
 
           # Source tree
7608
 
           echo "$srcdir/$f"
7609
 
         else
7610
 
           # /dev/null tree
7611
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
6709
         if test -f "$f"; then
 
6710
           # Build tree
 
6711
           echo $f
 
6712
         elif test -f "$srcdir/$f"; then
 
6713
           # Source tree
 
6714
           echo $srcdir/$f
 
6715
         else
 
6716
           # /dev/null tree
 
6717
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7612
6718
echo "$as_me: error: cannot find input file: $f" >&2;}
7613
6719
   { (exit 1); exit 1; }; }
7614
 
         fi;;
 
6720
         fi;;
7615
6721
      esac
7616
6722
    done` || { (exit 1); exit 1; }
7617
6723
  # Remove the trailing spaces.
7618
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
 
6724
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
7619
6725
 
7620
6726
_ACEOF
7621
6727
 
7638
6744
s,[\\$`],\\&,g
7639
6745
t clear
7640
6746
: clear
7641
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
6747
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7642
6748
t end
7643
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
6749
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7644
6750
: end
7645
6751
_ACEOF
7646
6752
# If some macros were called several times there might be several times
7654
6760
# example, in the case of _POSIX_SOURCE, which is predefined and required
7655
6761
# on some systems where configure will not decide to define it.
7656
6762
cat >>conftest.undefs <<\_ACEOF
7657
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
6763
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7658
6764
_ACEOF
7659
6765
 
7660
6766
# Break up conftest.defines because some shells have a limit on the size
7661
6767
# of here documents, and old seds have small limits too (100 cmds).
7662
6768
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7663
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
6769
echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7664
6770
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7665
6771
echo '  :' >>$CONFIG_STATUS
7666
6772
rm -f conftest.tail
7669
6775
  # Write a limited-size here document to $tmp/defines.sed.
7670
6776
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7671
6777
  # Speed up: don't consider the non `#define' lines.
7672
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
6778
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
7673
6779
  # Work around the forget-to-reset-the-flag bug.
7674
6780
  echo 't clr' >>$CONFIG_STATUS
7675
6781
  echo ': clr' >>$CONFIG_STATUS
7684
6790
  mv conftest.tail conftest.defines
7685
6791
done
7686
6792
rm -f conftest.defines
7687
 
echo '  fi # grep' >>$CONFIG_STATUS
 
6793
echo '  fi # egrep' >>$CONFIG_STATUS
7688
6794
echo >>$CONFIG_STATUS
7689
6795
 
7690
6796
# Break up conftest.undefs because some shells have a limit on the size
7696
6802
  # Write a limited-size here document to $tmp/undefs.sed.
7697
6803
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7698
6804
  # Speed up: don't consider the non `#undef'
7699
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
6805
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
7700
6806
  # Work around the forget-to-reset-the-flag bug.
7701
6807
  echo 't clr' >>$CONFIG_STATUS
7702
6808
  echo ': clr' >>$CONFIG_STATUS
7724
6830
  cat $tmp/in >>$tmp/config.h
7725
6831
  rm -f $tmp/in
7726
6832
  if test x"$ac_file" != x-; then
7727
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
6833
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
7728
6834
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7729
6835
echo "$as_me: $ac_file is unchanged" >&6;}
7730
6836
    else
7731
6837
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7732
6838
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7733
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
7734
 
         X"$ac_file" : 'X\(//\)$' \| \
7735
 
         X"$ac_file" : 'X\(/\)' \| \
7736
 
         .     : '\(.\)' 2>/dev/null ||
 
6839
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
6840
         X"$ac_file" : 'X\(//\)$' \| \
 
6841
         X"$ac_file" : 'X\(/\)' \| \
 
6842
         .     : '\(.\)' 2>/dev/null ||
7737
6843
echo X"$ac_file" |
7738
6844
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7739
6845
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7740
6846
          /^X\(\/\/\)$/{ s//\1/; q; }
7741
6847
          /^X\(\/\).*/{ s//\1/; q; }
7742
6848
          s/.*/./; q'`
7743
 
      { if $as_mkdir_p; then
7744
 
    mkdir -p "$ac_dir"
7745
 
  else
7746
 
    as_dir="$ac_dir"
7747
 
    as_dirs=
7748
 
    while test ! -d "$as_dir"; do
7749
 
      as_dirs="$as_dir $as_dirs"
7750
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7751
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7752
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
7753
 
         X"$as_dir" : 'X\(//\)$' \| \
7754
 
         X"$as_dir" : 'X\(/\)' \| \
7755
 
         .     : '\(.\)' 2>/dev/null ||
7756
 
echo X"$as_dir" |
7757
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7758
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7759
 
          /^X\(\/\/\)$/{ s//\1/; q; }
7760
 
          /^X\(\/\).*/{ s//\1/; q; }
7761
 
          s/.*/./; q'`
7762
 
    done
7763
 
    test ! -n "$as_dirs" || mkdir $as_dirs
7764
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7765
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7766
 
   { (exit 1); exit 1; }; }; }
 
6849
      { case "$ac_dir" in
 
6850
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
 
6851
  *)                      as_incr_dir=.;;
 
6852
esac
 
6853
as_dummy="$ac_dir"
 
6854
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
 
6855
  case $as_mkdir_dir in
 
6856
    # Skip DOS drivespec
 
6857
    ?:) as_incr_dir=$as_mkdir_dir ;;
 
6858
    *)
 
6859
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
 
6860
      test -d "$as_incr_dir" ||
 
6861
        mkdir "$as_incr_dir" ||
 
6862
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
 
6863
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
 
6864
   { (exit 1); exit 1; }; }
 
6865
    ;;
 
6866
  esac
 
6867
done; }
7767
6868
 
7768
6869
      rm -f $ac_file
7769
6870
      mv $tmp/config.h $ac_file
7784
6885
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7785
6886
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7786
6887
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7787
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
7788
 
         X"$ac_dest" : 'X\(//\)$' \| \
7789
 
         X"$ac_dest" : 'X\(/\)' \| \
7790
 
         .     : '\(.\)' 2>/dev/null ||
 
6888
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
6889
         X"$ac_dest" : 'X\(//\)$' \| \
 
6890
         X"$ac_dest" : 'X\(/\)' \| \
 
6891
         .     : '\(.\)' 2>/dev/null ||
7791
6892
echo X"$ac_dest" |
7792
6893
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7793
6894
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7794
6895
          /^X\(\/\/\)$/{ s//\1/; q; }
7795
6896
          /^X\(\/\).*/{ s//\1/; q; }
7796
6897
          s/.*/./; q'`
7797
 
  { if $as_mkdir_p; then
7798
 
    mkdir -p "$ac_dir"
7799
 
  else
7800
 
    as_dir="$ac_dir"
7801
 
    as_dirs=
7802
 
    while test ! -d "$as_dir"; do
7803
 
      as_dirs="$as_dir $as_dirs"
7804
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7805
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7806
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
7807
 
         X"$as_dir" : 'X\(//\)$' \| \
7808
 
         X"$as_dir" : 'X\(/\)' \| \
7809
 
         .     : '\(.\)' 2>/dev/null ||
7810
 
echo X"$as_dir" |
7811
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7812
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7813
 
          /^X\(\/\/\)$/{ s//\1/; q; }
7814
 
          /^X\(\/\).*/{ s//\1/; q; }
7815
 
          s/.*/./; q'`
7816
 
    done
7817
 
    test ! -n "$as_dirs" || mkdir $as_dirs
7818
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7819
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7820
 
   { (exit 1); exit 1; }; }; }
7821
 
 
7822
6898
  ac_builddir=.
7823
6899
 
7824
6900
if test "$ac_dir" != .; then
7844
6920
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7845
6921
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
7846
6922
esac
7847
 
 
7848
 
# Do not use `cd foo && pwd` to compute absolute paths, because
7849
 
# the directories may not exist.
7850
 
case `pwd` in
7851
 
.) ac_abs_builddir="$ac_dir";;
7852
 
*)
7853
 
  case "$ac_dir" in
7854
 
  .) ac_abs_builddir=`pwd`;;
7855
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7856
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
7857
 
  esac;;
7858
 
esac
7859
 
case $ac_abs_builddir in
7860
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7861
 
*)
7862
 
  case ${ac_top_builddir}. in
7863
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
7864
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7865
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7866
 
  esac;;
7867
 
esac
7868
 
case $ac_abs_builddir in
7869
 
.) ac_abs_srcdir=$ac_srcdir;;
7870
 
*)
7871
 
  case $ac_srcdir in
7872
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
7873
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7874
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7875
 
  esac;;
7876
 
esac
7877
 
case $ac_abs_builddir in
7878
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
7879
 
*)
7880
 
  case $ac_top_srcdir in
7881
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
7882
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7883
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7884
 
  esac;;
7885
 
esac
 
6923
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 
6924
# absolute.
 
6925
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
 
6926
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
 
6927
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 
6928
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7886
6929
 
7887
6930
 
7888
6931
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7914
6957
# need to make the FD available again.
7915
6958
if test "$no_create" != yes; then
7916
6959
  ac_cs_success=:
7917
 
  ac_config_status_args=
7918
 
  test "$silent" = yes &&
7919
 
    ac_config_status_args="$ac_config_status_args --quiet"
7920
6960
  exec 5>/dev/null
7921
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
6961
  $SHELL $CONFIG_STATUS || ac_cs_success=false
7922
6962
  exec 5>>config.log
7923
6963
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7924
6964
  # would make configure fail if this is the last instruction.