~ubuntu-branches/ubuntu/feisty/unifdef/feisty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Bob Proulx
  • Date: 2004-07-03 18:09:39 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040703180939-iv7azs869mqz47p8
Tags: 1.0+20030701-1
* Switch to current FreeBSD version version of unifdef.  This is
  effectively a switch to a new upstream version.  Really it is
  switching to a different branching of the original code base.
* Suggestion to switch to the newer FreeBSD version. (Closes: #234054)
* Whitespace is now allowed at the beginning of #if line before the '#'
  character.  (Closes: #204349)
* Whitespace is now generally ignored around the preprocessor
  directives.  This allows indention of preprocessor control flow.
* Previously only "#ifdef" and "#ifndef" preprocessor controls were
  handled giving the program the justifiable name of "unifdef".  Now
  general "#if" processing such as "#if defined(FOO)" and boolean
  expresions of those constructs are allowed.

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.53.
 
3
# Generated by GNU Autoconf 2.59.
4
4
#
5
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
 
# Free Software Foundation, Inc.
 
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# 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
 
 
17
8
## --------------------- ##
18
9
## M4sh Initialization.  ##
19
10
## --------------------- ##
22
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23
14
  emulate sh
24
15
  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+"$@"}'='"$@"'
25
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26
20
  set -o posix
27
21
fi
 
22
DUALCASE=1; export DUALCASE # for MKS sh
28
23
 
29
 
# NLS nuisances.
30
24
# Support unset when possible.
31
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
26
  as_unset=unset
33
27
else
34
28
  as_unset=false
35
29
fi
36
30
 
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; }
 
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
61
63
 
62
64
 
63
65
# Name of the executable.
64
 
as_me=`(basename "$0") 2>/dev/null ||
 
66
as_me=`$as_basename "$0" ||
65
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66
68
         X"$0" : 'X\(//\)$' \| \
67
69
         X"$0" : 'X\(/\)$' \| \
72
74
          /^X\/\(\/\).*/{ s//\1/; q; }
73
75
          s/.*/./; q'`
74
76
 
 
77
 
75
78
# PATH needs CR, and LINENO needs CR and PATH.
76
79
# Avoid depending upon Character Ranges.
77
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82
85
 
83
86
# The user is always right.
84
87
if test "${PATH_SEPARATOR+set}" != set; 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
 
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
89
92
    PATH_SEPARATOR=';'
90
93
  else
91
94
    PATH_SEPARATOR=:
92
95
  fi
93
 
  rm -f conftest.sh
 
96
  rm -f conf$$.sh
94
97
fi
95
98
 
96
99
 
138
141
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139
142
  test "x$as_lineno_1" != "x$as_lineno_2" &&
140
143
  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; }
141
146
             CONFIG_SHELL=$as_dir/$as_base
142
147
             export CONFIG_SHELL
143
148
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
210
215
fi
211
216
rm -f conf$$ conf$$.exe conf$$.file
212
217
 
 
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
 
213
225
as_executable_p="test -f"
214
226
 
215
227
# Sed expression to map a string onto a valid CPP name.
216
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
217
229
 
218
230
# Sed expression to map a string onto a valid variable name.
219
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
220
232
 
221
233
 
222
234
# IFS
226
238
IFS="   $as_nl"
227
239
 
228
240
# CDPATH.
229
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
 
241
$as_unset CDPATH
230
242
 
231
243
 
232
244
# Name of the host.
240
252
# Initializations.
241
253
#
242
254
ac_default_prefix=/usr/local
 
255
ac_config_libobj_dir=.
243
256
cross_compiling=no
244
257
subdirs=
245
258
MFLAGS=
259
272
PACKAGE_BUGREPORT=
260
273
 
261
274
ac_unique_file="configure.ac"
 
275
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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot LN_S RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBOBJS LTLIBOBJS'
 
276
ac_subst_files=''
262
277
 
263
278
# Initialize some variables set by options.
264
279
ac_init_help=
616
631
 
617
632
# Be sure to have absolute paths.
618
633
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
619
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
634
              localstatedir libdir includedir oldincludedir infodir mandir
620
635
do
621
636
  eval ac_val=$`echo $ac_var`
622
637
  case $ac_val in
656
671
  # Try the directory containing this script, then its parent.
657
672
  ac_confdir=`(dirname "$0") 2>/dev/null ||
658
673
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
659
 
         X"$0" : 'X\(//\)[^/]' \| \
660
 
         X"$0" : 'X\(//\)$' \| \
661
 
         X"$0" : 'X\(/\)' \| \
662
 
         .     : '\(.\)' 2>/dev/null ||
 
674
         X"$0" : 'X\(//\)[^/]' \| \
 
675
         X"$0" : 'X\(//\)$' \| \
 
676
         X"$0" : 'X\(/\)' \| \
 
677
         .     : '\(.\)' 2>/dev/null ||
663
678
echo X"$0" |
664
679
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
665
680
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682
697
   { (exit 1); exit 1; }; }
683
698
  fi
684
699
fi
 
700
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
701
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
702
   { (exit 1); exit 1; }; }
685
703
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
686
704
ac_env_build_alias_set=${build_alias+set}
687
705
ac_env_build_alias_value=$build_alias
744
762
  cat <<_ACEOF
745
763
Installation directories:
746
764
  --prefix=PREFIX         install architecture-independent files in PREFIX
747
 
                          [$ac_default_prefix]
 
765
                          [$ac_default_prefix]
748
766
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
749
 
                          [PREFIX]
 
767
                          [PREFIX]
750
768
 
751
769
By default, \`make install' will install all the files in
752
770
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
786
804
Optional Features:
787
805
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
788
806
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
789
 
  --disable-dependency-tracking Speeds up one-time builds
790
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
807
  --disable-dependency-tracking  speeds up one-time build
 
808
  --enable-dependency-tracking   do not reject slow dependency extractors
791
809
 
792
810
Some influential environment variables:
793
811
  CC          C compiler command
833
851
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
834
852
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
835
853
esac
836
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
837
 
# absolute.
838
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
839
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
840
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
841
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
854
 
 
855
# Do not use `cd foo && pwd` to compute absolute paths, because
 
856
# the directories may not exist.
 
857
case `pwd` in
 
858
.) ac_abs_builddir="$ac_dir";;
 
859
*)
 
860
  case "$ac_dir" in
 
861
  .) ac_abs_builddir=`pwd`;;
 
862
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
863
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
864
  esac;;
 
865
esac
 
866
case $ac_abs_builddir in
 
867
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
868
*)
 
869
  case ${ac_top_builddir}. in
 
870
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
871
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
872
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
873
  esac;;
 
874
esac
 
875
case $ac_abs_builddir in
 
876
.) ac_abs_srcdir=$ac_srcdir;;
 
877
*)
 
878
  case $ac_srcdir in
 
879
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
880
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
881
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
882
  esac;;
 
883
esac
 
884
case $ac_abs_builddir in
 
885
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
886
*)
 
887
  case $ac_top_srcdir in
 
888
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
889
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
890
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
891
  esac;;
 
892
esac
842
893
 
843
894
    cd $ac_dir
844
895
    # Check for guested configure; otherwise get Cygnus style configure.
849
900
      echo
850
901
      $SHELL $ac_srcdir/configure  --help=recursive
851
902
    elif test -f $ac_srcdir/configure.ac ||
852
 
           test -f $ac_srcdir/configure.in; then
 
903
           test -f $ac_srcdir/configure.in; then
853
904
      echo
854
905
      $ac_configure --help
855
906
    else
856
907
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
857
908
    fi
858
 
    cd $ac_popdir
 
909
    cd "$ac_popdir"
859
910
  done
860
911
fi
861
912
 
863
914
if $ac_init_version; then
864
915
  cat <<\_ACEOF
865
916
 
866
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
867
 
Free Software Foundation, Inc.
 
917
Copyright (C) 2003 Free Software Foundation, Inc.
868
918
This configure script is free software; the Free Software Foundation
869
919
gives unlimited permission to copy, distribute and modify it.
870
920
_ACEOF
876
926
running configure, to aid debugging if configure makes a mistake.
877
927
 
878
928
It was created by $as_me, which was
879
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
929
generated by GNU Autoconf 2.59.  Invocation command line was
880
930
 
881
931
  $ $0 $@
882
932
 
928
978
 
929
979
# Keep a trace of the command line.
930
980
# Strip out --no-create and --no-recursion so they do not pile up.
 
981
# Strip out --silent because we don't want to record it for future runs.
931
982
# Also quote any args containing shell meta-characters.
 
983
# Make two passes to allow for proper duplicate-argument suppression.
932
984
ac_configure_args=
 
985
ac_configure_args0=
 
986
ac_configure_args1=
933
987
ac_sep=
934
 
for ac_arg
 
988
ac_must_keep_next=false
 
989
for ac_pass in 1 2
935
990
do
936
 
  case $ac_arg in
937
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
938
 
  | --no-cr | --no-c | -n ) continue ;;
939
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
940
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
941
 
    continue ;;
942
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
943
 
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
944
 
  esac
945
 
  case " $ac_configure_args " in
946
 
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
947
 
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
948
 
       ac_sep=" " ;;
949
 
  esac
950
 
  # Get rid of the leading space.
 
991
  for ac_arg
 
992
  do
 
993
    case $ac_arg in
 
994
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
995
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
996
    | -silent | --silent | --silen | --sile | --sil)
 
997
      continue ;;
 
998
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
999
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1000
    esac
 
1001
    case $ac_pass in
 
1002
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1003
    2)
 
1004
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1005
      if test $ac_must_keep_next = true; then
 
1006
        ac_must_keep_next=false # Got value, back to normal.
 
1007
      else
 
1008
        case $ac_arg in
 
1009
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1010
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1011
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1012
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1013
            case "$ac_configure_args0 " in
 
1014
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1015
            esac
 
1016
            ;;
 
1017
          -* ) ac_must_keep_next=true ;;
 
1018
        esac
 
1019
      fi
 
1020
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1021
      # Get rid of the leading space.
 
1022
      ac_sep=" "
 
1023
      ;;
 
1024
    esac
 
1025
  done
951
1026
done
 
1027
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1028
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
952
1029
 
953
1030
# When interrupted or exit'd, cleanup temporary files, and complete
954
1031
# config.log.  We remove comments because anyway the quotes in there
959
1036
  # Save into config.log some information that might help in debugging.
960
1037
  {
961
1038
    echo
 
1039
 
962
1040
    cat <<\_ASBOX
963
1041
## ---------------- ##
964
1042
## Cache variables. ##
971
1049
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
972
1050
    *ac_space=\ *)
973
1051
      sed -n \
974
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
975
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1052
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1053
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
976
1054
      ;;
977
1055
    *)
978
1056
      sed -n \
979
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1057
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
980
1058
      ;;
981
1059
    esac;
982
1060
}
983
1061
    echo
 
1062
 
 
1063
    cat <<\_ASBOX
 
1064
## ----------------- ##
 
1065
## Output variables. ##
 
1066
## ----------------- ##
 
1067
_ASBOX
 
1068
    echo
 
1069
    for ac_var in $ac_subst_vars
 
1070
    do
 
1071
      eval ac_val=$`echo $ac_var`
 
1072
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1073
    done | sort
 
1074
    echo
 
1075
 
 
1076
    if test -n "$ac_subst_files"; then
 
1077
      cat <<\_ASBOX
 
1078
## ------------- ##
 
1079
## Output files. ##
 
1080
## ------------- ##
 
1081
_ASBOX
 
1082
      echo
 
1083
      for ac_var in $ac_subst_files
 
1084
      do
 
1085
        eval ac_val=$`echo $ac_var`
 
1086
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1087
      done | sort
 
1088
      echo
 
1089
    fi
 
1090
 
984
1091
    if test -s confdefs.h; then
985
1092
      cat <<\_ASBOX
986
1093
## ----------- ##
988
1095
## ----------- ##
989
1096
_ASBOX
990
1097
      echo
991
 
      sed "/^$/d" confdefs.h
 
1098
      sed "/^$/d" confdefs.h | sort
992
1099
      echo
993
1100
    fi
994
1101
    test "$ac_signal" != 0 &&
995
1102
      echo "$as_me: caught signal $ac_signal"
996
1103
    echo "$as_me: exit $exit_status"
997
1104
  } >&5
998
 
  rm -f core core.* *.core &&
 
1105
  rm -f core *.core &&
999
1106
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1000
1107
    exit $exit_status
1001
1108
     ' 0
1075
1182
# value.
1076
1183
ac_cache_corrupted=false
1077
1184
for ac_var in `(set) 2>&1 |
1078
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1185
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1079
1186
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1080
1187
  eval ac_new_set=\$ac_env_${ac_var}_set
1081
1188
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1092
1199
    ,);;
1093
1200
    *)
1094
1201
      if test "x$ac_old_val" != "x$ac_new_val"; then
1095
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1202
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1096
1203
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1097
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1204
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1098
1205
echo "$as_me:   former value:  $ac_old_val" >&2;}
1099
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1206
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1100
1207
echo "$as_me:   current value: $ac_new_val" >&2;}
1101
 
        ac_cache_corrupted=:
 
1208
        ac_cache_corrupted=:
1102
1209
      fi;;
1103
1210
  esac
1104
1211
  # Pass precious variables to config.status.
1145
1252
 
1146
1253
 
1147
1254
 
 
1255
 
 
1256
am__api_version="1.8"
1148
1257
ac_aux_dir=
1149
1258
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1150
1259
  if test -f $ac_dir/install-sh; then
1181
1290
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1182
1291
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1183
1292
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1293
# OS/2's system install, which has a completely different semantic
1184
1294
# ./install, which can be erroneously created by make from ./install.sh.
1185
1295
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1186
1296
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1197
1307
case $as_dir/ in
1198
1308
  ./ | .// | /cC/* | \
1199
1309
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1310
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1200
1311
  /usr/ucb/* ) ;;
1201
1312
  *)
1202
1313
    # OSF1 and SCO ODT 3.0 have their own names for install.
1204
1315
    # by default.
1205
1316
    for ac_prog in ginstall scoinst install; do
1206
1317
      for ac_exec_ext in '' $ac_executable_extensions; do
1207
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1208
 
          if test $ac_prog = install &&
1209
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1210
 
            # AIX install.  It has an incompatible calling convention.
1211
 
            :
1212
 
          elif test $ac_prog = install &&
1213
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1214
 
            # program-specific install script used by HP pwplus--don't use.
1215
 
            :
1216
 
          else
1217
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1218
 
            break 3
1219
 
          fi
1220
 
        fi
 
1318
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1319
          if test $ac_prog = install &&
 
1320
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1321
            # AIX install.  It has an incompatible calling convention.
 
1322
            :
 
1323
          elif test $ac_prog = install &&
 
1324
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1325
            # program-specific install script used by HP pwplus--don't use.
 
1326
            :
 
1327
          else
 
1328
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1329
            break 3
 
1330
          fi
 
1331
        fi
1221
1332
      done
1222
1333
    done
1223
1334
    ;;
1305
1416
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1306
1417
rm conftest.sed
1307
1418
 
1308
 
 
1309
1419
# expand $ac_aux_dir to an absolute path
1310
 
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
 
1420
am_aux_dir=`cd $ac_aux_dir && pwd`
1311
1421
 
1312
1422
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1313
1423
# Use eval to expand $SHELL
1315
1425
  am_missing_run="$MISSING --run "
1316
1426
else
1317
1427
  am_missing_run=
1318
 
  am_backtick='`'
1319
 
  { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1320
 
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
 
1428
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1429
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1430
fi
 
1431
 
 
1432
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1433
  # Keeping the `.' argument allows $(mkdir_p) to be used without
 
1434
  # argument.  Indeed, we sometimes output rules like
 
1435
  #   $(mkdir_p) $(somedir)
 
1436
  # where $(somedir) is conditionally defined.
 
1437
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
 
1438
  # expensive solution, as it forces Make to start a sub-shell.)
 
1439
  mkdir_p='mkdir -p -- .'
 
1440
else
 
1441
  # On NextStep and OpenStep, the `mkdir' command does not
 
1442
  # recognize any option.  It will interpret all options as
 
1443
  # directories to create, and then abort because `.' already
 
1444
  # exists.
 
1445
  for d in ./-p ./--version;
 
1446
  do
 
1447
    test -d $d && rmdir $d
 
1448
  done
 
1449
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1450
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1451
    mkdir_p='$(mkinstalldirs)'
 
1452
  else
 
1453
    mkdir_p='$(install_sh) -d'
 
1454
  fi
1321
1455
fi
1322
1456
 
1323
1457
for ac_prog in gawk mawk nawk awk
1360
1494
  test -n "$AWK" && break
1361
1495
done
1362
1496
 
1363
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1364
 
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1365
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1497
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1498
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
1499
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1366
1500
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1367
1501
  echo $ECHO_N "(cached) $ECHO_C" >&6
1368
1502
else
1369
1503
  cat >conftest.make <<\_ACEOF
1370
1504
all:
1371
 
        @echo 'ac_maketemp="${MAKE}"'
 
1505
        @echo 'ac_maketemp="$(MAKE)"'
1372
1506
_ACEOF
1373
1507
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1374
1508
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1389
1523
  SET_MAKE="MAKE=${MAKE-make}"
1390
1524
fi
1391
1525
 
1392
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1393
 
if test "${enable_dependency_tracking+set}" = set; then
1394
 
  enableval="$enable_dependency_tracking"
1395
 
 
1396
 
fi;
1397
 
if test "x$enable_dependency_tracking" != xno; then
1398
 
  am_depcomp="$ac_aux_dir/depcomp"
1399
 
  AMDEPBACKSLASH='\'
1400
 
fi
1401
 
 
1402
 
 
1403
 
if test "x$enable_dependency_tracking" != xno; then
1404
 
  AMDEP_TRUE=
1405
 
  AMDEP_FALSE='#'
1406
 
else
1407
 
  AMDEP_TRUE='#'
1408
 
  AMDEP_FALSE=
1409
 
fi
1410
 
 
1411
 
 
1412
 
 
1413
 
 
1414
 
rm -f .deps 2>/dev/null
1415
 
mkdir .deps 2>/dev/null
1416
 
if test -d .deps; then
1417
 
  DEPDIR=.deps
1418
 
else
1419
 
  # MS-DOS does not allow filenames that begin with a dot.
1420
 
  DEPDIR=_deps
1421
 
fi
1422
 
rmdir .deps 2>/dev/null
1423
 
 
 
1526
rm -rf .tst 2>/dev/null
 
1527
mkdir .tst 2>/dev/null
 
1528
if test -d .tst; then
 
1529
  am__leading_dot=.
 
1530
else
 
1531
  am__leading_dot=_
 
1532
fi
 
1533
rmdir .tst 2>/dev/null
1424
1534
 
1425
1535
# test to see if srcdir already configured
1426
 
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
 
1536
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1427
1537
   test -f $srcdir/config.status; then
1428
1538
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1429
1539
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1430
1540
   { (exit 1); exit 1; }; }
1431
1541
fi
1432
1542
 
 
1543
# test whether we have cygpath
 
1544
if test -z "$CYGPATH_W"; then
 
1545
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
1546
    CYGPATH_W='cygpath -w'
 
1547
  else
 
1548
    CYGPATH_W=echo
 
1549
  fi
 
1550
fi
 
1551
 
 
1552
 
1433
1553
# Define the identity of the package.
1434
 
PACKAGE=unifdef
1435
 
VERSION=1.0
 
1554
 PACKAGE=unifdef
 
1555
 VERSION=1.0+20030701
 
1556
 
1436
1557
 
1437
1558
cat >>confdefs.h <<_ACEOF
1438
1559
#define PACKAGE "$PACKAGE"
1443
1564
#define VERSION "$VERSION"
1444
1565
_ACEOF
1445
1566
 
1446
 
 
1447
 
# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
1448
 
# the ones we care about.
1449
 
 
1450
 
# Autoconf 2.50 always computes EXEEXT.  However we need to be
1451
 
# compatible with 2.13, for now.  So we always define EXEEXT, but we
1452
 
# don't compute it.
1453
 
 
1454
 
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
1455
 
# requests that it be used.  This is a bit dumb.
1456
 
: ${OBJEXT=o}
1457
 
 
1458
 
 
1459
1567
# Some tools Automake needs.
1460
1568
 
1461
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
 
1569
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1462
1570
 
1463
1571
 
1464
1572
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1465
1573
 
1466
1574
 
1467
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
 
1575
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1468
1576
 
1469
1577
 
1470
1578
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1477
1585
 
1478
1586
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1479
1587
 
 
1588
# Installed binaries are usually stripped using `strip' when the user
 
1589
# run `make install-strip'.  However `strip' might not be the right
 
1590
# tool to use in cross-compilation environments, therefore Automake
 
1591
# will honor the `STRIP' environment variable to overrule this program.
 
1592
if test "$cross_compiling" != no; then
 
1593
  if test -n "$ac_tool_prefix"; then
 
1594
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
1595
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
1596
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1597
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1598
if test "${ac_cv_prog_STRIP+set}" = set; then
 
1599
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1600
else
 
1601
  if test -n "$STRIP"; then
 
1602
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1603
else
 
1604
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1605
for as_dir in $PATH
 
1606
do
 
1607
  IFS=$as_save_IFS
 
1608
  test -z "$as_dir" && as_dir=.
 
1609
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1610
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1611
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
1612
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1613
    break 2
 
1614
  fi
 
1615
done
 
1616
done
 
1617
 
 
1618
fi
 
1619
fi
 
1620
STRIP=$ac_cv_prog_STRIP
 
1621
if test -n "$STRIP"; then
 
1622
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
1623
echo "${ECHO_T}$STRIP" >&6
 
1624
else
 
1625
  echo "$as_me:$LINENO: result: no" >&5
 
1626
echo "${ECHO_T}no" >&6
 
1627
fi
 
1628
 
 
1629
fi
 
1630
if test -z "$ac_cv_prog_STRIP"; then
 
1631
  ac_ct_STRIP=$STRIP
 
1632
  # Extract the first word of "strip", so it can be a program name with args.
 
1633
set dummy strip; ac_word=$2
 
1634
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1635
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1636
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
1637
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1638
else
 
1639
  if test -n "$ac_ct_STRIP"; then
 
1640
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1641
else
 
1642
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1643
for as_dir in $PATH
 
1644
do
 
1645
  IFS=$as_save_IFS
 
1646
  test -z "$as_dir" && as_dir=.
 
1647
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1648
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1649
    ac_cv_prog_ac_ct_STRIP="strip"
 
1650
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1651
    break 2
 
1652
  fi
 
1653
done
 
1654
done
 
1655
 
 
1656
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
1657
fi
 
1658
fi
 
1659
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
1660
if test -n "$ac_ct_STRIP"; then
 
1661
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
1662
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
1663
else
 
1664
  echo "$as_me:$LINENO: result: no" >&5
 
1665
echo "${ECHO_T}no" >&6
 
1666
fi
 
1667
 
 
1668
  STRIP=$ac_ct_STRIP
 
1669
else
 
1670
  STRIP="$ac_cv_prog_STRIP"
 
1671
fi
 
1672
 
 
1673
fi
1480
1674
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1481
1675
 
1482
1676
# We need awk for the "check" target.  The system "awk" is bad on
1483
1677
# some platforms.
1484
1678
 
1485
1679
 
 
1680
 
 
1681
 
1486
1682
for ac_prog in gawk mawk nawk awk
1487
1683
do
1488
1684
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1534
1730
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1535
1731
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1536
1732
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1733
# OS/2's system install, which has a completely different semantic
1537
1734
# ./install, which can be erroneously created by make from ./install.sh.
1538
1735
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1539
1736
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1550
1747
case $as_dir/ in
1551
1748
  ./ | .// | /cC/* | \
1552
1749
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1750
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1553
1751
  /usr/ucb/* ) ;;
1554
1752
  *)
1555
1753
    # OSF1 and SCO ODT 3.0 have their own names for install.
1557
1755
    # by default.
1558
1756
    for ac_prog in ginstall scoinst install; do
1559
1757
      for ac_exec_ext in '' $ac_executable_extensions; do
1560
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1561
 
          if test $ac_prog = install &&
1562
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1563
 
            # AIX install.  It has an incompatible calling convention.
1564
 
            :
1565
 
          elif test $ac_prog = install &&
1566
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1567
 
            # program-specific install script used by HP pwplus--don't use.
1568
 
            :
1569
 
          else
1570
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1571
 
            break 3
1572
 
          fi
1573
 
        fi
 
1758
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1759
          if test $ac_prog = install &&
 
1760
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1761
            # AIX install.  It has an incompatible calling convention.
 
1762
            :
 
1763
          elif test $ac_prog = install &&
 
1764
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1765
            # program-specific install script used by HP pwplus--don't use.
 
1766
            :
 
1767
          else
 
1768
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1769
            break 3
 
1770
          fi
 
1771
        fi
1574
1772
      done
1575
1773
    done
1576
1774
    ;;
1895
2093
    # However, it has the same basename, so the bogon will be chosen
1896
2094
    # first if we set CC to just the basename; use the full file name.
1897
2095
    shift
1898
 
    set dummy "$as_dir/$ac_word" ${1+"$@"}
1899
 
    shift
1900
 
    ac_cv_prog_CC="$@"
 
2096
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1901
2097
  fi
1902
2098
fi
1903
2099
fi
2002
2198
fi
2003
2199
 
2004
2200
 
2005
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2006
 
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
 
2201
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2202
See \`config.log' for more details." >&5
 
2203
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2204
See \`config.log' for more details." >&2;}
2007
2205
   { (exit 1); exit 1; }; }
2008
2206
 
2009
2207
# Provide some information about the compiler.
2027
2225
  (exit $ac_status); }
2028
2226
 
2029
2227
cat >conftest.$ac_ext <<_ACEOF
2030
 
#line $LINENO "configure"
2031
 
#include "confdefs.h"
 
2228
/* confdefs.h.  */
 
2229
_ACEOF
 
2230
cat confdefs.h >>conftest.$ac_ext
 
2231
cat >>conftest.$ac_ext <<_ACEOF
 
2232
/* end confdefs.h.  */
2032
2233
 
2033
 
#ifdef F77_DUMMY_MAIN
2034
 
#  ifdef __cplusplus
2035
 
     extern "C"
2036
 
#  endif
2037
 
   int F77_DUMMY_MAIN() { return 1; }
2038
 
#endif
2039
2234
int
2040
2235
main ()
2041
2236
{
2045
2240
}
2046
2241
_ACEOF
2047
2242
ac_clean_files_save=$ac_clean_files
2048
 
ac_clean_files="$ac_clean_files a.out a.exe"
 
2243
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2049
2244
# Try to create an executable without -o first, disregard a.out.
2050
2245
# It will help us diagnose broken compilers, and finding out an intuition
2051
2246
# of exeext.
2052
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2053
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2247
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2248
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2054
2249
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2055
2250
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2056
2251
  (eval $ac_link_default) 2>&5
2064
2259
# Be careful to initialize this variable, since it used to be cached.
2065
2260
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2066
2261
ac_cv_exeext=
2067
 
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2068
 
                ls a.out conftest 2>/dev/null;
2069
 
                ls a.* conftest.* 2>/dev/null`; do
 
2262
# b.out is created by i960 compilers.
 
2263
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2264
do
 
2265
  test -f "$ac_file" || continue
2070
2266
  case $ac_file in
2071
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2072
 
    a.out ) # We found the default executable, but exeext='' is most
2073
 
            # certainly right.
2074
 
            break;;
2075
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2076
 
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2077
 
          export ac_cv_exeext
2078
 
          break;;
2079
 
    * ) break;;
 
2267
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
2268
        ;;
 
2269
    conftest.$ac_ext )
 
2270
        # This is the source file.
 
2271
        ;;
 
2272
    [ab].out )
 
2273
        # We found the default executable, but exeext='' is most
 
2274
        # certainly right.
 
2275
        break;;
 
2276
    *.* )
 
2277
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2278
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2279
        # but it would be cool to find out if it's true.  Does anybody
 
2280
        # maintain Libtool? --akim.
 
2281
        export ac_cv_exeext
 
2282
        break;;
 
2283
    * )
 
2284
        break;;
2080
2285
  esac
2081
2286
done
2082
2287
else
2083
2288
  echo "$as_me: failed program was:" >&5
2084
 
cat conftest.$ac_ext >&5
2085
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2086
 
echo "$as_me: error: C compiler cannot create executables" >&2;}
 
2289
sed 's/^/| /' conftest.$ac_ext >&5
 
2290
 
 
2291
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2292
See \`config.log' for more details." >&5
 
2293
echo "$as_me: error: C compiler cannot create executables
 
2294
See \`config.log' for more details." >&2;}
2087
2295
   { (exit 77); exit 77; }; }
2088
2296
fi
2089
2297
 
2110
2318
        cross_compiling=yes
2111
2319
    else
2112
2320
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2113
 
If you meant to cross compile, use \`--host'." >&5
 
2321
If you meant to cross compile, use \`--host'.
 
2322
See \`config.log' for more details." >&5
2114
2323
echo "$as_me: error: cannot run C compiled programs.
2115
 
If you meant to cross compile, use \`--host'." >&2;}
 
2324
If you meant to cross compile, use \`--host'.
 
2325
See \`config.log' for more details." >&2;}
2116
2326
   { (exit 1); exit 1; }; }
2117
2327
    fi
2118
2328
  fi
2120
2330
echo "$as_me:$LINENO: result: yes" >&5
2121
2331
echo "${ECHO_T}yes" >&6
2122
2332
 
2123
 
rm -f a.out a.exe conftest$ac_cv_exeext
 
2333
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2124
2334
ac_clean_files=$ac_clean_files_save
2125
2335
# Check the compiler produces executables we can run.  If not, either
2126
2336
# the compiler is broken, or we cross compile.
2140
2350
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2141
2351
# work properly (i.e., refer to `conftest.exe'), while it won't with
2142
2352
# `rm'.
2143
 
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
 
2353
for ac_file in conftest.exe conftest conftest.*; do
 
2354
  test -f "$ac_file" || continue
2144
2355
  case $ac_file in
2145
 
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
 
2356
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2146
2357
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2147
 
          export ac_cv_exeext
2148
 
          break;;
 
2358
          export ac_cv_exeext
 
2359
          break;;
2149
2360
    * ) break;;
2150
2361
  esac
2151
2362
done
2152
2363
else
2153
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2154
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
 
2364
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2365
See \`config.log' for more details." >&5
 
2366
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2367
See \`config.log' for more details." >&2;}
2155
2368
   { (exit 1); exit 1; }; }
2156
2369
fi
2157
2370
 
2168
2381
  echo $ECHO_N "(cached) $ECHO_C" >&6
2169
2382
else
2170
2383
  cat >conftest.$ac_ext <<_ACEOF
2171
 
#line $LINENO "configure"
2172
 
#include "confdefs.h"
 
2384
/* confdefs.h.  */
 
2385
_ACEOF
 
2386
cat confdefs.h >>conftest.$ac_ext
 
2387
cat >>conftest.$ac_ext <<_ACEOF
 
2388
/* end confdefs.h.  */
2173
2389
 
2174
 
#ifdef F77_DUMMY_MAIN
2175
 
#  ifdef __cplusplus
2176
 
     extern "C"
2177
 
#  endif
2178
 
   int F77_DUMMY_MAIN() { return 1; }
2179
 
#endif
2180
2390
int
2181
2391
main ()
2182
2392
{
2193
2403
  (exit $ac_status); }; then
2194
2404
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2195
2405
  case $ac_file in
2196
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
 
2406
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2197
2407
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2198
2408
       break;;
2199
2409
  esac
2200
2410
done
2201
2411
else
2202
2412
  echo "$as_me: failed program was:" >&5
2203
 
cat conftest.$ac_ext >&5
2204
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2205
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
 
2413
sed 's/^/| /' conftest.$ac_ext >&5
 
2414
 
 
2415
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2416
See \`config.log' for more details." >&5
 
2417
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2418
See \`config.log' for more details." >&2;}
2206
2419
   { (exit 1); exit 1; }; }
2207
2420
fi
2208
2421
 
2218
2431
  echo $ECHO_N "(cached) $ECHO_C" >&6
2219
2432
else
2220
2433
  cat >conftest.$ac_ext <<_ACEOF
2221
 
#line $LINENO "configure"
2222
 
#include "confdefs.h"
 
2434
/* confdefs.h.  */
 
2435
_ACEOF
 
2436
cat confdefs.h >>conftest.$ac_ext
 
2437
cat >>conftest.$ac_ext <<_ACEOF
 
2438
/* end confdefs.h.  */
2223
2439
 
2224
 
#ifdef F77_DUMMY_MAIN
2225
 
#  ifdef __cplusplus
2226
 
     extern "C"
2227
 
#  endif
2228
 
   int F77_DUMMY_MAIN() { return 1; }
2229
 
#endif
2230
2440
int
2231
2441
main ()
2232
2442
{
2240
2450
_ACEOF
2241
2451
rm -f conftest.$ac_objext
2242
2452
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2243
 
  (eval $ac_compile) 2>&5
 
2453
  (eval $ac_compile) 2>conftest.er1
2244
2454
  ac_status=$?
 
2455
  grep -v '^ *+' conftest.er1 >conftest.err
 
2456
  rm -f conftest.er1
 
2457
  cat conftest.err >&5
2245
2458
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246
2459
  (exit $ac_status); } &&
2247
 
         { ac_try='test -s conftest.$ac_objext'
 
2460
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2461
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2462
  (eval $ac_try) 2>&5
 
2463
  ac_status=$?
 
2464
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2465
  (exit $ac_status); }; } &&
 
2466
         { ac_try='test -s conftest.$ac_objext'
2248
2467
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2249
2468
  (eval $ac_try) 2>&5
2250
2469
  ac_status=$?
2253
2472
  ac_compiler_gnu=yes
2254
2473
else
2255
2474
  echo "$as_me: failed program was:" >&5
2256
 
cat conftest.$ac_ext >&5
 
2475
sed 's/^/| /' conftest.$ac_ext >&5
 
2476
 
2257
2477
ac_compiler_gnu=no
2258
2478
fi
2259
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2479
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2260
2480
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2261
2481
 
2262
2482
fi
2272
2492
  echo $ECHO_N "(cached) $ECHO_C" >&6
2273
2493
else
2274
2494
  cat >conftest.$ac_ext <<_ACEOF
2275
 
#line $LINENO "configure"
2276
 
#include "confdefs.h"
 
2495
/* confdefs.h.  */
 
2496
_ACEOF
 
2497
cat confdefs.h >>conftest.$ac_ext
 
2498
cat >>conftest.$ac_ext <<_ACEOF
 
2499
/* end confdefs.h.  */
2277
2500
 
2278
 
#ifdef F77_DUMMY_MAIN
2279
 
#  ifdef __cplusplus
2280
 
     extern "C"
2281
 
#  endif
2282
 
   int F77_DUMMY_MAIN() { return 1; }
2283
 
#endif
2284
2501
int
2285
2502
main ()
2286
2503
{
2291
2508
_ACEOF
2292
2509
rm -f conftest.$ac_objext
2293
2510
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2294
 
  (eval $ac_compile) 2>&5
 
2511
  (eval $ac_compile) 2>conftest.er1
2295
2512
  ac_status=$?
 
2513
  grep -v '^ *+' conftest.er1 >conftest.err
 
2514
  rm -f conftest.er1
 
2515
  cat conftest.err >&5
2296
2516
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297
2517
  (exit $ac_status); } &&
2298
 
         { ac_try='test -s conftest.$ac_objext'
 
2518
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2519
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2520
  (eval $ac_try) 2>&5
 
2521
  ac_status=$?
 
2522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2523
  (exit $ac_status); }; } &&
 
2524
         { ac_try='test -s conftest.$ac_objext'
2299
2525
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300
2526
  (eval $ac_try) 2>&5
2301
2527
  ac_status=$?
2304
2530
  ac_cv_prog_cc_g=yes
2305
2531
else
2306
2532
  echo "$as_me: failed program was:" >&5
2307
 
cat conftest.$ac_ext >&5
 
2533
sed 's/^/| /' conftest.$ac_ext >&5
 
2534
 
2308
2535
ac_cv_prog_cc_g=no
2309
2536
fi
2310
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2537
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2311
2538
fi
2312
2539
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2313
2540
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2326
2553
    CFLAGS=
2327
2554
  fi
2328
2555
fi
 
2556
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
2557
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
2558
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2559
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2560
else
 
2561
  ac_cv_prog_cc_stdc=no
 
2562
ac_save_CC=$CC
 
2563
cat >conftest.$ac_ext <<_ACEOF
 
2564
/* confdefs.h.  */
 
2565
_ACEOF
 
2566
cat confdefs.h >>conftest.$ac_ext
 
2567
cat >>conftest.$ac_ext <<_ACEOF
 
2568
/* end confdefs.h.  */
 
2569
#include <stdarg.h>
 
2570
#include <stdio.h>
 
2571
#include <sys/types.h>
 
2572
#include <sys/stat.h>
 
2573
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
2574
struct buf { int x; };
 
2575
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
2576
static char *e (p, i)
 
2577
     char **p;
 
2578
     int i;
 
2579
{
 
2580
  return p[i];
 
2581
}
 
2582
static char *f (char * (*g) (char **, int), char **p, ...)
 
2583
{
 
2584
  char *s;
 
2585
  va_list v;
 
2586
  va_start (v,p);
 
2587
  s = g (p, va_arg (v,int));
 
2588
  va_end (v);
 
2589
  return s;
 
2590
}
 
2591
 
 
2592
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2593
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2594
   These don't provoke an error unfortunately, instead are silently treated
 
2595
   as 'x'.  The following induces an error, until -std1 is added to get
 
2596
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2597
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2598
   that's true only with -std1.  */
 
2599
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2600
 
 
2601
int test (int i, double x);
 
2602
struct s1 {int (*f) (int a);};
 
2603
struct s2 {int (*f) (double a);};
 
2604
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
2605
int argc;
 
2606
char **argv;
 
2607
int
 
2608
main ()
 
2609
{
 
2610
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2611
  ;
 
2612
  return 0;
 
2613
}
 
2614
_ACEOF
 
2615
# Don't try gcc -ansi; that turns off useful extensions and
 
2616
# breaks some systems' header files.
 
2617
# AIX                   -qlanglvl=ansi
 
2618
# Ultrix and OSF/1      -std1
 
2619
# HP-UX 10.20 and later -Ae
 
2620
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
2621
# SVR4                  -Xc -D__EXTENSIONS__
 
2622
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2623
do
 
2624
  CC="$ac_save_CC $ac_arg"
 
2625
  rm -f conftest.$ac_objext
 
2626
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2627
  (eval $ac_compile) 2>conftest.er1
 
2628
  ac_status=$?
 
2629
  grep -v '^ *+' conftest.er1 >conftest.err
 
2630
  rm -f conftest.er1
 
2631
  cat conftest.err >&5
 
2632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2633
  (exit $ac_status); } &&
 
2634
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2635
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2636
  (eval $ac_try) 2>&5
 
2637
  ac_status=$?
 
2638
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2639
  (exit $ac_status); }; } &&
 
2640
         { ac_try='test -s conftest.$ac_objext'
 
2641
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2642
  (eval $ac_try) 2>&5
 
2643
  ac_status=$?
 
2644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2645
  (exit $ac_status); }; }; then
 
2646
  ac_cv_prog_cc_stdc=$ac_arg
 
2647
break
 
2648
else
 
2649
  echo "$as_me: failed program was:" >&5
 
2650
sed 's/^/| /' conftest.$ac_ext >&5
 
2651
 
 
2652
fi
 
2653
rm -f conftest.err conftest.$ac_objext
 
2654
done
 
2655
rm -f conftest.$ac_ext conftest.$ac_objext
 
2656
CC=$ac_save_CC
 
2657
 
 
2658
fi
 
2659
 
 
2660
case "x$ac_cv_prog_cc_stdc" in
 
2661
  x|xno)
 
2662
    echo "$as_me:$LINENO: result: none needed" >&5
 
2663
echo "${ECHO_T}none needed" >&6 ;;
 
2664
  *)
 
2665
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2666
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2667
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2668
esac
 
2669
 
2329
2670
# Some people use a C++ compiler to compile C.  Since we use `exit',
2330
2671
# in C++ we need to declare it.  In case someone uses the same compiler
2331
2672
# for both compiling C and C++ we need to have the C++ compiler decide
2337
2678
_ACEOF
2338
2679
rm -f conftest.$ac_objext
2339
2680
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2340
 
  (eval $ac_compile) 2>&5
 
2681
  (eval $ac_compile) 2>conftest.er1
2341
2682
  ac_status=$?
 
2683
  grep -v '^ *+' conftest.er1 >conftest.err
 
2684
  rm -f conftest.er1
 
2685
  cat conftest.err >&5
2342
2686
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343
2687
  (exit $ac_status); } &&
2344
 
         { ac_try='test -s conftest.$ac_objext'
 
2688
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2689
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2690
  (eval $ac_try) 2>&5
 
2691
  ac_status=$?
 
2692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2693
  (exit $ac_status); }; } &&
 
2694
         { ac_try='test -s conftest.$ac_objext'
2345
2695
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2346
2696
  (eval $ac_try) 2>&5
2347
2697
  ac_status=$?
2348
2698
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349
2699
  (exit $ac_status); }; }; then
2350
2700
  for ac_declaration in \
2351
 
   ''\
2352
 
   '#include <stdlib.h>' \
 
2701
   '' \
2353
2702
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2354
2703
   'extern "C" void std::exit (int); using std::exit;' \
2355
2704
   'extern "C" void exit (int) throw ();' \
2357
2706
   'void exit (int);'
2358
2707
do
2359
2708
  cat >conftest.$ac_ext <<_ACEOF
2360
 
#line $LINENO "configure"
2361
 
#include "confdefs.h"
 
2709
/* confdefs.h.  */
 
2710
_ACEOF
 
2711
cat confdefs.h >>conftest.$ac_ext
 
2712
cat >>conftest.$ac_ext <<_ACEOF
 
2713
/* end confdefs.h.  */
 
2714
$ac_declaration
2362
2715
#include <stdlib.h>
2363
 
$ac_declaration
2364
 
#ifdef F77_DUMMY_MAIN
2365
 
#  ifdef __cplusplus
2366
 
     extern "C"
2367
 
#  endif
2368
 
   int F77_DUMMY_MAIN() { return 1; }
2369
 
#endif
2370
2716
int
2371
2717
main ()
2372
2718
{
2377
2723
_ACEOF
2378
2724
rm -f conftest.$ac_objext
2379
2725
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2380
 
  (eval $ac_compile) 2>&5
 
2726
  (eval $ac_compile) 2>conftest.er1
2381
2727
  ac_status=$?
 
2728
  grep -v '^ *+' conftest.er1 >conftest.err
 
2729
  rm -f conftest.er1
 
2730
  cat conftest.err >&5
2382
2731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383
2732
  (exit $ac_status); } &&
2384
 
         { ac_try='test -s conftest.$ac_objext'
 
2733
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2734
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2735
  (eval $ac_try) 2>&5
 
2736
  ac_status=$?
 
2737
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2738
  (exit $ac_status); }; } &&
 
2739
         { ac_try='test -s conftest.$ac_objext'
2385
2740
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386
2741
  (eval $ac_try) 2>&5
2387
2742
  ac_status=$?
2390
2745
  :
2391
2746
else
2392
2747
  echo "$as_me: failed program was:" >&5
2393
 
cat conftest.$ac_ext >&5
 
2748
sed 's/^/| /' conftest.$ac_ext >&5
 
2749
 
2394
2750
continue
2395
2751
fi
2396
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2752
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2397
2753
  cat >conftest.$ac_ext <<_ACEOF
2398
 
#line $LINENO "configure"
2399
 
#include "confdefs.h"
 
2754
/* confdefs.h.  */
 
2755
_ACEOF
 
2756
cat confdefs.h >>conftest.$ac_ext
 
2757
cat >>conftest.$ac_ext <<_ACEOF
 
2758
/* end confdefs.h.  */
2400
2759
$ac_declaration
2401
 
#ifdef F77_DUMMY_MAIN
2402
 
#  ifdef __cplusplus
2403
 
     extern "C"
2404
 
#  endif
2405
 
   int F77_DUMMY_MAIN() { return 1; }
2406
 
#endif
2407
2760
int
2408
2761
main ()
2409
2762
{
2414
2767
_ACEOF
2415
2768
rm -f conftest.$ac_objext
2416
2769
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2417
 
  (eval $ac_compile) 2>&5
 
2770
  (eval $ac_compile) 2>conftest.er1
2418
2771
  ac_status=$?
 
2772
  grep -v '^ *+' conftest.er1 >conftest.err
 
2773
  rm -f conftest.er1
 
2774
  cat conftest.err >&5
2419
2775
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420
2776
  (exit $ac_status); } &&
2421
 
         { ac_try='test -s conftest.$ac_objext'
 
2777
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2778
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2779
  (eval $ac_try) 2>&5
 
2780
  ac_status=$?
 
2781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2782
  (exit $ac_status); }; } &&
 
2783
         { ac_try='test -s conftest.$ac_objext'
2422
2784
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423
2785
  (eval $ac_try) 2>&5
2424
2786
  ac_status=$?
2427
2789
  break
2428
2790
else
2429
2791
  echo "$as_me: failed program was:" >&5
2430
 
cat conftest.$ac_ext >&5
 
2792
sed 's/^/| /' conftest.$ac_ext >&5
 
2793
 
2431
2794
fi
2432
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2795
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2433
2796
done
2434
2797
rm -f conftest*
2435
2798
if test -n "$ac_declaration"; then
2440
2803
 
2441
2804
else
2442
2805
  echo "$as_me: failed program was:" >&5
2443
 
cat conftest.$ac_ext >&5
 
2806
sed 's/^/| /' conftest.$ac_ext >&5
 
2807
 
2444
2808
fi
2445
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2809
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2446
2810
ac_ext=c
2447
2811
ac_cpp='$CPP $CPPFLAGS'
2448
2812
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2449
2813
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2450
2814
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2451
 
 
2452
 
ac_config_commands="$ac_config_commands default-1"
 
2815
DEPDIR="${am__leading_dot}deps"
 
2816
 
 
2817
          ac_config_commands="$ac_config_commands depfiles"
 
2818
 
2453
2819
 
2454
2820
am_make=${MAKE-make}
2455
2821
cat > confinc << 'END'
2456
 
doit:
 
2822
am__doit:
2457
2823
        @echo done
 
2824
.PHONY: am__doit
2458
2825
END
2459
2826
# If we don't find an include directive, just comment out the code.
2460
2827
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2461
2828
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2462
 
am__include='#'
 
2829
am__include="#"
2463
2830
am__quote=
2464
2831
_am_result=none
2465
2832
# First try GNU make style include.
2469
2836
# In particular we don't look at `^make:' because GNU make might
2470
2837
# be invoked under some other name (usually "gmake"), in which
2471
2838
# case it prints its new name instead of `make'.
2472
 
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
 
2839
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2473
2840
   am__include=include
2474
2841
   am__quote=
2475
2842
   _am_result=GNU
2479
2846
   echo '.include "confinc"' > confmf
2480
2847
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2481
2848
      am__include=.include
2482
 
      am__quote='"'
 
2849
      am__quote="\""
2483
2850
      _am_result=BSD
2484
2851
   fi
2485
2852
fi
2489
2856
echo "${ECHO_T}$_am_result" >&6
2490
2857
rm -f confinc confmf
2491
2858
 
 
2859
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2860
if test "${enable_dependency_tracking+set}" = set; then
 
2861
  enableval="$enable_dependency_tracking"
 
2862
 
 
2863
fi;
 
2864
if test "x$enable_dependency_tracking" != xno; then
 
2865
  am_depcomp="$ac_aux_dir/depcomp"
 
2866
  AMDEPBACKSLASH='\'
 
2867
fi
 
2868
 
 
2869
 
 
2870
if test "x$enable_dependency_tracking" != xno; then
 
2871
  AMDEP_TRUE=
 
2872
  AMDEP_FALSE='#'
 
2873
else
 
2874
  AMDEP_TRUE='#'
 
2875
  AMDEP_FALSE=
 
2876
fi
 
2877
 
 
2878
 
 
2879
 
2492
2880
 
2493
2881
depcc="$CC"   am_compiler_list=
2494
2882
 
2508
2896
  # using a relative directory.
2509
2897
  cp "$am_depcomp" conftest.dir
2510
2898
  cd conftest.dir
 
2899
  # We will build objects and dependencies in a subdirectory because
 
2900
  # it helps to detect inapplicable dependency modes.  For instance
 
2901
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
2902
  # side effect of compilation, but ICC will put the dependencies in
 
2903
  # the current directory while Tru64 will put them in the object
 
2904
  # directory.
 
2905
  mkdir sub
2511
2906
 
2512
2907
  am_cv_CC_dependencies_compiler_type=none
2513
2908
  if test "$am_compiler_list" = ""; then
2514
2909
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2515
2910
  fi
2516
2911
  for depmode in $am_compiler_list; do
 
2912
    # Setup a source with many dependencies, because some compilers
 
2913
    # like to wrap large dependency lists on column 80 (with \), and
 
2914
    # we should not choose a depcomp mode which is confused by this.
 
2915
    #
2517
2916
    # We need to recreate these files for each test, as the compiler may
2518
2917
    # overwrite some of them when testing with obscure command lines.
2519
2918
    # This happens at least with the AIX C compiler.
2520
 
    echo '#include "conftest.h"' > conftest.c
2521
 
    echo 'int i;' > conftest.h
2522
 
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
2919
    : > sub/conftest.c
 
2920
    for i in 1 2 3 4 5 6; do
 
2921
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
2922
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2923
      # Solaris 8's {/usr,}/bin/sh.
 
2924
      touch sub/conftst$i.h
 
2925
    done
 
2926
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2523
2927
 
2524
2928
    case $depmode in
2525
2929
    nosideeffect)
2537
2941
    # mode.  It turns out that the SunPro C++ compiler does not properly
2538
2942
    # handle `-M -o', and we need to detect this.
2539
2943
    if depmode=$depmode \
2540
 
       source=conftest.c object=conftest.o \
2541
 
       depfile=conftest.Po tmpdepfile=conftest.TPo \
2542
 
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2543
 
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
2944
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
2945
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
2946
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
2947
         >/dev/null 2>conftest.err &&
 
2948
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
2949
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2544
2950
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2545
 
      am_cv_CC_dependencies_compiler_type=$depmode
2546
 
      break
 
2951
      # icc doesn't choke on unknown options, it will just issue warnings
 
2952
      # or remarks (even with -Werror).  So we grep stderr for any message
 
2953
      # that says an option was ignored or not supported.
 
2954
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
2955
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
2956
      # The diagnosis changed in icc 8.0:
 
2957
      #   icc: Command line remark: option '-MP' not supported
 
2958
      if (grep 'ignoring option' conftest.err ||
 
2959
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
2960
        am_cv_CC_dependencies_compiler_type=$depmode
 
2961
        break
 
2962
      fi
2547
2963
    fi
2548
2964
  done
2549
2965
 
2556
2972
fi
2557
2973
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2558
2974
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2559
 
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2560
 
 
2561
 
 
2562
 
 
2563
 
ac_config_files="$ac_config_files Makefile"
 
2975
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
2976
 
 
2977
 
 
2978
 
 
2979
if
 
2980
  test "x$enable_dependency_tracking" != xno \
 
2981
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
2982
  am__fastdepCC_TRUE=
 
2983
  am__fastdepCC_FALSE='#'
 
2984
else
 
2985
  am__fastdepCC_TRUE='#'
 
2986
  am__fastdepCC_FALSE=
 
2987
fi
 
2988
 
 
2989
 
 
2990
 
 
2991
 
 
2992
 
 
2993
 
 
2994
for ac_func in strlcat strlcpy
 
2995
do
 
2996
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
2997
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
2998
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
2999
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
3000
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3001
else
 
3002
  cat >conftest.$ac_ext <<_ACEOF
 
3003
/* confdefs.h.  */
 
3004
_ACEOF
 
3005
cat confdefs.h >>conftest.$ac_ext
 
3006
cat >>conftest.$ac_ext <<_ACEOF
 
3007
/* end confdefs.h.  */
 
3008
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
3009
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
3010
#define $ac_func innocuous_$ac_func
 
3011
 
 
3012
/* System header to define __stub macros and hopefully few prototypes,
 
3013
    which can conflict with char $ac_func (); below.
 
3014
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3015
    <limits.h> exists even on freestanding compilers.  */
 
3016
 
 
3017
#ifdef __STDC__
 
3018
# include <limits.h>
 
3019
#else
 
3020
# include <assert.h>
 
3021
#endif
 
3022
 
 
3023
#undef $ac_func
 
3024
 
 
3025
/* Override any gcc2 internal prototype to avoid an error.  */
 
3026
#ifdef __cplusplus
 
3027
extern "C"
 
3028
{
 
3029
#endif
 
3030
/* We use char because int might match the return type of a gcc2
 
3031
   builtin and then its argument prototype would still apply.  */
 
3032
char $ac_func ();
 
3033
/* The GNU C library defines this for functions which it implements
 
3034
    to always fail with ENOSYS.  Some functions are actually named
 
3035
    something starting with __ and the normal name is an alias.  */
 
3036
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
3037
choke me
 
3038
#else
 
3039
char (*f) () = $ac_func;
 
3040
#endif
 
3041
#ifdef __cplusplus
 
3042
}
 
3043
#endif
 
3044
 
 
3045
int
 
3046
main ()
 
3047
{
 
3048
return f != $ac_func;
 
3049
  ;
 
3050
  return 0;
 
3051
}
 
3052
_ACEOF
 
3053
rm -f conftest.$ac_objext conftest$ac_exeext
 
3054
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3055
  (eval $ac_link) 2>conftest.er1
 
3056
  ac_status=$?
 
3057
  grep -v '^ *+' conftest.er1 >conftest.err
 
3058
  rm -f conftest.er1
 
3059
  cat conftest.err >&5
 
3060
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3061
  (exit $ac_status); } &&
 
3062
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3063
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3064
  (eval $ac_try) 2>&5
 
3065
  ac_status=$?
 
3066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3067
  (exit $ac_status); }; } &&
 
3068
         { ac_try='test -s conftest$ac_exeext'
 
3069
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3070
  (eval $ac_try) 2>&5
 
3071
  ac_status=$?
 
3072
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3073
  (exit $ac_status); }; }; then
 
3074
  eval "$as_ac_var=yes"
 
3075
else
 
3076
  echo "$as_me: failed program was:" >&5
 
3077
sed 's/^/| /' conftest.$ac_ext >&5
 
3078
 
 
3079
eval "$as_ac_var=no"
 
3080
fi
 
3081
rm -f conftest.err conftest.$ac_objext \
 
3082
      conftest$ac_exeext conftest.$ac_ext
 
3083
fi
 
3084
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
3085
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
3086
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
3087
  cat >>confdefs.h <<_ACEOF
 
3088
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
3089
_ACEOF
 
3090
 
 
3091
fi
 
3092
done
 
3093
 
 
3094
 
 
3095
                              ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile"
2564
3096
cat >confcache <<\_ACEOF
2565
3097
# This file is a shell script that caches the results of configure
2566
3098
# tests run on this system so they can be shared between configure
2571
3103
# config.status only pays attention to the cache file if you give it
2572
3104
# the --recheck option to rerun configure.
2573
3105
#
2574
 
# `ac_cv_env_foo' variables (set or unset) will be overriden when
 
3106
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2575
3107
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2576
3108
# following values.
2577
3109
 
2589
3121
      # `set' does not quote correctly, so add quotes (double-quote
2590
3122
      # substitution turns \\\\ into \\, and sed turns \\ into \).
2591
3123
      sed -n \
2592
 
        "s/'/'\\\\''/g;
2593
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
3124
        "s/'/'\\\\''/g;
 
3125
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2594
3126
      ;;
2595
3127
    *)
2596
3128
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2597
3129
      sed -n \
2598
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3130
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2599
3131
      ;;
2600
3132
    esac;
2601
3133
} |
2606
3138
     t end
2607
3139
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2608
3140
     : end' >>confcache
2609
 
if cmp -s $cache_file confcache; then :; else
 
3141
if diff $cache_file confcache >/dev/null 2>&1; then :; else
2610
3142
  if test -w $cache_file; then
2611
3143
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2612
3144
    cat confcache >$cache_file
2625
3157
# trailing colons and then remove the whole line if VPATH becomes empty
2626
3158
# (actually we leave an empty line to preserve line numbers).
2627
3159
if test "x$srcdir" = x.; then
2628
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
3160
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2629
3161
s/:*\$(srcdir):*/:/;
2630
3162
s/:*\${srcdir}:*/:/;
2631
3163
s/:*@srcdir@:*/:/;
2632
 
s/^\([^=]*=[    ]*\):*/\1/;
 
3164
s/^\([^=]*=[     ]*\):*/\1/;
2633
3165
s/:*$//;
2634
 
s/^[^=]*=[      ]*$//;
 
3166
s/^[^=]*=[       ]*$//;
2635
3167
}'
2636
3168
fi
2637
3169
 
2645
3177
cat >confdef2opt.sed <<\_ACEOF
2646
3178
t clear
2647
3179
: clear
2648
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
3180
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2649
3181
t quote
2650
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
3182
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2651
3183
t quote
2652
3184
d
2653
3185
: quote
2654
 
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
 
3186
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2655
3187
s,\[,\\&,g
2656
3188
s,\],\\&,g
2657
3189
s,\$,$$,g
2668
3200
rm -f confdef2opt.sed
2669
3201
 
2670
3202
 
 
3203
ac_libobjs=
 
3204
ac_ltlibobjs=
 
3205
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
3206
  # 1. Remove the extension, and $U if already installed.
 
3207
  ac_i=`echo "$ac_i" |
 
3208
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
3209
  # 2. Add them.
 
3210
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
3211
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
3212
done
 
3213
LIBOBJS=$ac_libobjs
 
3214
 
 
3215
LTLIBOBJS=$ac_ltlibobjs
 
3216
 
 
3217
 
 
3218
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
3219
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
3220
Usually this means the macro was only invoked conditionally." >&5
 
3221
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
3222
Usually this means the macro was only invoked conditionally." >&2;}
 
3223
   { (exit 1); exit 1; }; }
 
3224
fi
 
3225
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
3226
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
3227
Usually this means the macro was only invoked conditionally." >&5
 
3228
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
3229
Usually this means the macro was only invoked conditionally." >&2;}
 
3230
   { (exit 1); exit 1; }; }
 
3231
fi
2671
3232
 
2672
3233
: ${CONFIG_STATUS=./config.status}
2673
3234
ac_clean_files_save=$ac_clean_files
2682
3243
# configure, is in config.log if it exists.
2683
3244
 
2684
3245
debug=false
 
3246
ac_cs_recheck=false
 
3247
ac_cs_silent=false
2685
3248
SHELL=\${CONFIG_SHELL-$SHELL}
2686
3249
_ACEOF
2687
3250
 
2688
3251
cat >>$CONFIG_STATUS <<\_ACEOF
2689
 
 
2690
3252
## --------------------- ##
2691
3253
## M4sh Initialization.  ##
2692
3254
## --------------------- ##
2695
3257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2696
3258
  emulate sh
2697
3259
  NULLCMD=:
 
3260
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
3261
  # is contrary to our usage.  Disable this feature.
 
3262
  alias -g '${1+"$@"}'='"$@"'
2698
3263
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2699
3264
  set -o posix
2700
3265
fi
 
3266
DUALCASE=1; export DUALCASE # for MKS sh
2701
3267
 
2702
 
# NLS nuisances.
2703
3268
# Support unset when possible.
2704
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
3269
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2705
3270
  as_unset=unset
2706
3271
else
2707
3272
  as_unset=false
2708
3273
fi
2709
3274
 
2710
 
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
2711
 
    { $as_unset LANG || test "${LANG+set}" != set; } ||
2712
 
      { LANG=C; export LANG; }
2713
 
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
2714
 
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
2715
 
      { LC_ALL=C; export LC_ALL; }
2716
 
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
2717
 
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
2718
 
      { LC_TIME=C; export LC_TIME; }
2719
 
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
2720
 
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
2721
 
      { LC_CTYPE=C; export LC_CTYPE; }
2722
 
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
2723
 
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
2724
 
      { LANGUAGE=C; export LANGUAGE; }
2725
 
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
2726
 
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
2727
 
      { LC_COLLATE=C; export LC_COLLATE; }
2728
 
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
2729
 
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
2730
 
      { LC_NUMERIC=C; export LC_NUMERIC; }
2731
 
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
2732
 
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
2733
 
      { LC_MESSAGES=C; export LC_MESSAGES; }
 
3275
 
 
3276
# Work around bugs in pre-3.0 UWIN ksh.
 
3277
$as_unset ENV MAIL MAILPATH
 
3278
PS1='$ '
 
3279
PS2='> '
 
3280
PS4='+ '
 
3281
 
 
3282
# NLS nuisances.
 
3283
for as_var in \
 
3284
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
3285
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
3286
  LC_TELEPHONE LC_TIME
 
3287
do
 
3288
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
3289
    eval $as_var=C; export $as_var
 
3290
  else
 
3291
    $as_unset $as_var
 
3292
  fi
 
3293
done
 
3294
 
 
3295
# Required to use basename.
 
3296
if expr a : '\(a\)' >/dev/null 2>&1; then
 
3297
  as_expr=expr
 
3298
else
 
3299
  as_expr=false
 
3300
fi
 
3301
 
 
3302
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
3303
  as_basename=basename
 
3304
else
 
3305
  as_basename=false
 
3306
fi
2734
3307
 
2735
3308
 
2736
3309
# Name of the executable.
2737
 
as_me=`(basename "$0") 2>/dev/null ||
 
3310
as_me=`$as_basename "$0" ||
2738
3311
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2739
3312
         X"$0" : 'X\(//\)$' \| \
2740
3313
         X"$0" : 'X\(/\)$' \| \
2745
3318
          /^X\/\(\/\).*/{ s//\1/; q; }
2746
3319
          s/.*/./; q'`
2747
3320
 
 
3321
 
2748
3322
# PATH needs CR, and LINENO needs CR and PATH.
2749
3323
# Avoid depending upon Character Ranges.
2750
3324
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2755
3329
 
2756
3330
# The user is always right.
2757
3331
if test "${PATH_SEPARATOR+set}" != set; then
2758
 
  echo "#! /bin/sh" >conftest.sh
2759
 
  echo  "exit 0"   >>conftest.sh
2760
 
  chmod +x conftest.sh
2761
 
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
 
3332
  echo "#! /bin/sh" >conf$$.sh
 
3333
  echo  "exit 0"   >>conf$$.sh
 
3334
  chmod +x conf$$.sh
 
3335
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2762
3336
    PATH_SEPARATOR=';'
2763
3337
  else
2764
3338
    PATH_SEPARATOR=:
2765
3339
  fi
2766
 
  rm -f conftest.sh
 
3340
  rm -f conf$$.sh
2767
3341
fi
2768
3342
 
2769
3343
 
2812
3386
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2813
3387
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2814
3388
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
3389
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
3390
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2815
3391
             CONFIG_SHELL=$as_dir/$as_base
2816
3392
             export CONFIG_SHELL
2817
3393
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2885
3461
fi
2886
3462
rm -f conf$$ conf$$.exe conf$$.file
2887
3463
 
 
3464
if mkdir -p . 2>/dev/null; then
 
3465
  as_mkdir_p=:
 
3466
else
 
3467
  test -d ./-p && rmdir ./-p
 
3468
  as_mkdir_p=false
 
3469
fi
 
3470
 
2888
3471
as_executable_p="test -f"
2889
3472
 
2890
3473
# Sed expression to map a string onto a valid CPP name.
2891
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
3474
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2892
3475
 
2893
3476
# Sed expression to map a string onto a valid variable name.
2894
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
3477
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2895
3478
 
2896
3479
 
2897
3480
# IFS
2901
3484
IFS="   $as_nl"
2902
3485
 
2903
3486
# CDPATH.
2904
 
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
 
3487
$as_unset CDPATH
2905
3488
 
2906
3489
exec 6>&1
2907
3490
 
2918
3501
cat >&5 <<_CSEOF
2919
3502
 
2920
3503
This file was extended by $as_me, which was
2921
 
generated by GNU Autoconf 2.53.  Invocation command line was
 
3504
generated by GNU Autoconf 2.59.  Invocation command line was
2922
3505
 
2923
3506
  CONFIG_FILES    = $CONFIG_FILES
2924
3507
  CONFIG_HEADERS  = $CONFIG_HEADERS
2958
3541
 
2959
3542
  -h, --help       print this help, then exit
2960
3543
  -V, --version    print version number, then exit
 
3544
  -q, --quiet      do not print progress messages
2961
3545
  -d, --debug      don't remove temporary files
2962
3546
      --recheck    update $as_me by reconfiguring in the same conditions
2963
3547
  --file=FILE[:TEMPLATE]
2964
 
                   instantiate the configuration file FILE
 
3548
                   instantiate the configuration file FILE
2965
3549
 
2966
3550
Configuration files:
2967
3551
$config_files
2975
3559
cat >>$CONFIG_STATUS <<_ACEOF
2976
3560
ac_cs_version="\\
2977
3561
config.status
2978
 
configured by $0, generated by GNU Autoconf 2.53,
 
3562
configured by $0, generated by GNU Autoconf 2.59,
2979
3563
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2980
3564
 
2981
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2982
 
Free Software Foundation, Inc.
 
3565
Copyright (C) 2003 Free Software Foundation, Inc.
2983
3566
This config.status script is free software; the Free Software Foundation
2984
3567
gives unlimited permission to copy, distribute and modify it."
2985
3568
srcdir=$srcdir
2996
3579
  --*=*)
2997
3580
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2998
3581
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2999
 
    shift
3000
 
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3001
 
    shift
3002
 
    ;;
3003
 
  -*);;
 
3582
    ac_shift=:
 
3583
    ;;
 
3584
  -*)
 
3585
    ac_option=$1
 
3586
    ac_optarg=$2
 
3587
    ac_shift=shift
 
3588
    ;;
3004
3589
  *) # This is not an option, so the user has probably given explicit
3005
3590
     # arguments.
 
3591
     ac_option=$1
3006
3592
     ac_need_defaults=false;;
3007
3593
  esac
3008
3594
 
3009
 
  case $1 in
 
3595
  case $ac_option in
3010
3596
  # Handling of the options.
3011
3597
_ACEOF
3012
 
cat >>$CONFIG_STATUS <<_ACEOF
 
3598
cat >>$CONFIG_STATUS <<\_ACEOF
3013
3599
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3014
 
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3015
 
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3016
 
_ACEOF
3017
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
3600
    ac_cs_recheck=: ;;
3018
3601
  --version | --vers* | -V )
3019
3602
    echo "$ac_cs_version"; exit 0 ;;
3020
3603
  --he | --h)
3029
3612
  --debug | --d* | -d )
3030
3613
    debug=: ;;
3031
3614
  --file | --fil | --fi | --f )
3032
 
    shift
3033
 
    CONFIG_FILES="$CONFIG_FILES $1"
 
3615
    $ac_shift
 
3616
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3034
3617
    ac_need_defaults=false;;
3035
3618
  --header | --heade | --head | --hea )
3036
 
    shift
3037
 
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
 
3619
    $ac_shift
 
3620
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3038
3621
    ac_need_defaults=false;;
 
3622
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
3623
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
3624
    ac_cs_silent=: ;;
3039
3625
 
3040
3626
  # This is an error.
3041
3627
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3050
3636
  shift
3051
3637
done
3052
3638
 
 
3639
ac_configure_extra_args=
 
3640
 
 
3641
if $ac_cs_silent; then
 
3642
  exec 6>/dev/null
 
3643
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
3644
fi
 
3645
 
 
3646
_ACEOF
 
3647
cat >>$CONFIG_STATUS <<_ACEOF
 
3648
if \$ac_cs_recheck; then
 
3649
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
3650
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
3651
fi
 
3652
 
3053
3653
_ACEOF
3054
3654
 
3055
3655
cat >>$CONFIG_STATUS <<_ACEOF
3057
3657
# INIT-COMMANDS section.
3058
3658
#
3059
3659
 
3060
 
AMDEP_TRUE="$AMDEP_TRUE"
3061
 
ac_aux_dir="$ac_aux_dir"
 
3660
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3062
3661
 
3063
3662
_ACEOF
3064
3663
 
3070
3669
  case "$ac_config_target" in
3071
3670
  # Handling of arguments.
3072
3671
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3073
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
3672
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
3673
  "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
3674
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3074
3675
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3075
3676
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3076
3677
   { (exit 1); exit 1; }; };;
3086
3687
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3087
3688
fi
3088
3689
 
 
3690
# Have a temporary directory for convenience.  Make it in the build tree
 
3691
# simply because there is no reason to put it here, and in addition,
 
3692
# creating and moving files from /tmp can sometimes cause problems.
3089
3693
# Create a temporary directory, and hook for its removal unless debugging.
3090
3694
$debug ||
3091
3695
{
3094
3698
}
3095
3699
 
3096
3700
# Create a (secure) tmp directory for tmp files.
3097
 
: ${TMPDIR=/tmp}
 
3701
 
3098
3702
{
3099
 
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
 
3703
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3100
3704
  test -n "$tmp" && test -d "$tmp"
3101
3705
}  ||
3102
3706
{
3103
 
  tmp=$TMPDIR/cs$$-$RANDOM
 
3707
  tmp=./confstat$$-$RANDOM
3104
3708
  (umask 077 && mkdir $tmp)
3105
3709
} ||
3106
3710
{
3107
 
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
 
3711
   echo "$me: cannot create a temporary directory in ." >&2
3108
3712
   { (exit 1); exit 1; }
3109
3713
}
3110
3714
 
3155
3759
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3156
3760
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3157
3761
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
3762
s,@CYGPATH_W@,$CYGPATH_W,;t t
3158
3763
s,@PACKAGE@,$PACKAGE,;t t
3159
3764
s,@VERSION@,$VERSION,;t t
3160
 
s,@EXEEXT@,$EXEEXT,;t t
3161
 
s,@OBJEXT@,$OBJEXT,;t t
3162
3765
s,@ACLOCAL@,$ACLOCAL,;t t
3163
3766
s,@AUTOCONF@,$AUTOCONF,;t t
3164
3767
s,@AUTOMAKE@,$AUTOMAKE,;t t
3166
3769
s,@MAKEINFO@,$MAKEINFO,;t t
3167
3770
s,@AMTAR@,$AMTAR,;t t
3168
3771
s,@install_sh@,$install_sh,;t t
 
3772
s,@STRIP@,$STRIP,;t t
 
3773
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3169
3774
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
3775
s,@mkdir_p@,$mkdir_p,;t t
3170
3776
s,@AWK@,$AWK,;t t
3171
3777
s,@SET_MAKE@,$SET_MAKE,;t t
3172
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3173
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3174
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3175
 
s,@DEPDIR@,$DEPDIR,;t t
 
3778
s,@am__leading_dot@,$am__leading_dot,;t t
3176
3779
s,@LN_S@,$LN_S,;t t
3177
3780
s,@RANLIB@,$RANLIB,;t t
3178
3781
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3181
3784
s,@LDFLAGS@,$LDFLAGS,;t t
3182
3785
s,@CPPFLAGS@,$CPPFLAGS,;t t
3183
3786
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
3787
s,@EXEEXT@,$EXEEXT,;t t
 
3788
s,@OBJEXT@,$OBJEXT,;t t
 
3789
s,@DEPDIR@,$DEPDIR,;t t
3184
3790
s,@am__include@,$am__include,;t t
3185
3791
s,@am__quote@,$am__quote,;t t
 
3792
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
3793
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
3794
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3186
3795
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
3796
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
3797
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
 
3798
s,@LIBOBJS@,$LIBOBJS,;t t
 
3799
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3187
3800
CEOF
3188
3801
 
3189
3802
_ACEOF
3213
3826
      (echo ':t
3214
3827
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3215
3828
      if test -z "$ac_sed_cmds"; then
3216
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
3829
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3217
3830
      else
3218
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
3831
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3219
3832
      fi
3220
3833
      ac_sed_frag=`expr $ac_sed_frag + 1`
3221
3834
      ac_beg=$ac_end
3233
3846
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3234
3847
  case $ac_file in
3235
3848
  - | *:- | *:-:* ) # input from stdin
3236
 
        cat >$tmp/stdin
3237
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3238
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
3849
        cat >$tmp/stdin
 
3850
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
3851
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3239
3852
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3240
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
3853
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3241
3854
  * )   ac_file_in=$ac_file.in ;;
3242
3855
  esac
3243
3856
 
3244
3857
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3245
3858
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3246
3859
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3247
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
3248
 
         X"$ac_file" : 'X\(//\)$' \| \
3249
 
         X"$ac_file" : 'X\(/\)' \| \
3250
 
         .     : '\(.\)' 2>/dev/null ||
 
3860
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
3861
         X"$ac_file" : 'X\(//\)$' \| \
 
3862
         X"$ac_file" : 'X\(/\)' \| \
 
3863
         .     : '\(.\)' 2>/dev/null ||
3251
3864
echo X"$ac_file" |
3252
3865
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3253
3866
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3254
3867
          /^X\(\/\/\)$/{ s//\1/; q; }
3255
3868
          /^X\(\/\).*/{ s//\1/; q; }
3256
3869
          s/.*/./; q'`
3257
 
  { case "$ac_dir" in
3258
 
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3259
 
  *)                      as_incr_dir=.;;
3260
 
esac
3261
 
as_dummy="$ac_dir"
3262
 
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3263
 
  case $as_mkdir_dir in
3264
 
    # Skip DOS drivespec
3265
 
    ?:) as_incr_dir=$as_mkdir_dir ;;
3266
 
    *)
3267
 
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
3268
 
      test -d "$as_incr_dir" ||
3269
 
        mkdir "$as_incr_dir" ||
3270
 
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3271
 
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3272
 
   { (exit 1); exit 1; }; }
3273
 
    ;;
3274
 
  esac
3275
 
done; }
 
3870
  { if $as_mkdir_p; then
 
3871
    mkdir -p "$ac_dir"
 
3872
  else
 
3873
    as_dir="$ac_dir"
 
3874
    as_dirs=
 
3875
    while test ! -d "$as_dir"; do
 
3876
      as_dirs="$as_dir $as_dirs"
 
3877
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
3878
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3879
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
3880
         X"$as_dir" : 'X\(//\)$' \| \
 
3881
         X"$as_dir" : 'X\(/\)' \| \
 
3882
         .     : '\(.\)' 2>/dev/null ||
 
3883
echo X"$as_dir" |
 
3884
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3885
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3886
          /^X\(\/\/\)$/{ s//\1/; q; }
 
3887
          /^X\(\/\).*/{ s//\1/; q; }
 
3888
          s/.*/./; q'`
 
3889
    done
 
3890
    test ! -n "$as_dirs" || mkdir $as_dirs
 
3891
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
3892
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
3893
   { (exit 1); exit 1; }; }; }
3276
3894
 
3277
3895
  ac_builddir=.
3278
3896
 
3299
3917
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3300
3918
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3301
3919
esac
3302
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3303
 
# absolute.
3304
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3305
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3306
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3307
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
3920
 
 
3921
# Do not use `cd foo && pwd` to compute absolute paths, because
 
3922
# the directories may not exist.
 
3923
case `pwd` in
 
3924
.) ac_abs_builddir="$ac_dir";;
 
3925
*)
 
3926
  case "$ac_dir" in
 
3927
  .) ac_abs_builddir=`pwd`;;
 
3928
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
3929
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
3930
  esac;;
 
3931
esac
 
3932
case $ac_abs_builddir in
 
3933
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
3934
*)
 
3935
  case ${ac_top_builddir}. in
 
3936
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
3937
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
3938
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
3939
  esac;;
 
3940
esac
 
3941
case $ac_abs_builddir in
 
3942
.) ac_abs_srcdir=$ac_srcdir;;
 
3943
*)
 
3944
  case $ac_srcdir in
 
3945
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
3946
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
3947
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
3948
  esac;;
 
3949
esac
 
3950
case $ac_abs_builddir in
 
3951
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
3952
*)
 
3953
  case $ac_top_srcdir in
 
3954
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
3955
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
3956
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
3957
  esac;;
 
3958
esac
3308
3959
 
3309
3960
 
3310
3961
  case $INSTALL in
3312
3963
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3313
3964
  esac
3314
3965
 
3315
 
  if test x"$ac_file" != x-; then
3316
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
3317
 
echo "$as_me: creating $ac_file" >&6;}
3318
 
    rm -f "$ac_file"
3319
 
  fi
3320
3966
  # Let's still pretend it is `configure' which instantiates (i.e., don't
3321
3967
  # use $as_me), people would be surprised to read:
3322
3968
  #    /* config.h.  Generated by config.status.  */
3326
3972
    configure_input="$ac_file.  "
3327
3973
  fi
3328
3974
  configure_input=$configure_input"Generated from `echo $ac_file_in |
3329
 
                                     sed 's,.*/,,'` by configure."
 
3975
                                     sed 's,.*/,,'` by configure."
3330
3976
 
3331
3977
  # First look for the input files in the build tree, otherwise in the
3332
3978
  # src tree.
3335
3981
      case $f in
3336
3982
      -) echo $tmp/stdin ;;
3337
3983
      [\\/$]*)
3338
 
         # Absolute (can't be DOS-style, as IFS=:)
3339
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
3984
         # Absolute (can't be DOS-style, as IFS=:)
 
3985
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3340
3986
echo "$as_me: error: cannot find input file: $f" >&2;}
3341
3987
   { (exit 1); exit 1; }; }
3342
 
         echo $f;;
 
3988
         echo "$f";;
3343
3989
      *) # Relative
3344
 
         if test -f "$f"; then
3345
 
           # Build tree
3346
 
           echo $f
3347
 
         elif test -f "$srcdir/$f"; then
3348
 
           # Source tree
3349
 
           echo $srcdir/$f
3350
 
         else
3351
 
           # /dev/null tree
3352
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
3990
         if test -f "$f"; then
 
3991
           # Build tree
 
3992
           echo "$f"
 
3993
         elif test -f "$srcdir/$f"; then
 
3994
           # Source tree
 
3995
           echo "$srcdir/$f"
 
3996
         else
 
3997
           # /dev/null tree
 
3998
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3353
3999
echo "$as_me: error: cannot find input file: $f" >&2;}
3354
4000
   { (exit 1); exit 1; }; }
3355
 
         fi;;
 
4001
         fi;;
3356
4002
      esac
3357
4003
    done` || { (exit 1); exit 1; }
 
4004
 
 
4005
  if test x"$ac_file" != x-; then
 
4006
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
4007
echo "$as_me: creating $ac_file" >&6;}
 
4008
    rm -f "$ac_file"
 
4009
  fi
3358
4010
_ACEOF
3359
4011
cat >>$CONFIG_STATUS <<_ACEOF
3360
4012
  sed "$ac_vpsub
3394
4046
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3395
4047
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3396
4048
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3397
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
3398
 
         X"$ac_dest" : 'X\(//\)$' \| \
3399
 
         X"$ac_dest" : 'X\(/\)' \| \
3400
 
         .     : '\(.\)' 2>/dev/null ||
 
4049
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
4050
         X"$ac_dest" : 'X\(//\)$' \| \
 
4051
         X"$ac_dest" : 'X\(/\)' \| \
 
4052
         .     : '\(.\)' 2>/dev/null ||
3401
4053
echo X"$ac_dest" |
3402
4054
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3403
4055
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3404
4056
          /^X\(\/\/\)$/{ s//\1/; q; }
3405
4057
          /^X\(\/\).*/{ s//\1/; q; }
3406
4058
          s/.*/./; q'`
 
4059
  { if $as_mkdir_p; then
 
4060
    mkdir -p "$ac_dir"
 
4061
  else
 
4062
    as_dir="$ac_dir"
 
4063
    as_dirs=
 
4064
    while test ! -d "$as_dir"; do
 
4065
      as_dirs="$as_dir $as_dirs"
 
4066
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4067
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4068
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4069
         X"$as_dir" : 'X\(//\)$' \| \
 
4070
         X"$as_dir" : 'X\(/\)' \| \
 
4071
         .     : '\(.\)' 2>/dev/null ||
 
4072
echo X"$as_dir" |
 
4073
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4074
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4075
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4076
          /^X\(\/\).*/{ s//\1/; q; }
 
4077
          s/.*/./; q'`
 
4078
    done
 
4079
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4080
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
4081
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4082
   { (exit 1); exit 1; }; }; }
 
4083
 
3407
4084
  ac_builddir=.
3408
4085
 
3409
4086
if test "$ac_dir" != .; then
3429
4106
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3430
4107
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3431
4108
esac
3432
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3433
 
# absolute.
3434
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3435
 
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3436
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3437
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4109
 
 
4110
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4111
# the directories may not exist.
 
4112
case `pwd` in
 
4113
.) ac_abs_builddir="$ac_dir";;
 
4114
*)
 
4115
  case "$ac_dir" in
 
4116
  .) ac_abs_builddir=`pwd`;;
 
4117
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
4118
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
4119
  esac;;
 
4120
esac
 
4121
case $ac_abs_builddir in
 
4122
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4123
*)
 
4124
  case ${ac_top_builddir}. in
 
4125
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
4126
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4127
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
4128
  esac;;
 
4129
esac
 
4130
case $ac_abs_builddir in
 
4131
.) ac_abs_srcdir=$ac_srcdir;;
 
4132
*)
 
4133
  case $ac_srcdir in
 
4134
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
4135
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
4136
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
4137
  esac;;
 
4138
esac
 
4139
case $ac_abs_builddir in
 
4140
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4141
*)
 
4142
  case $ac_top_srcdir in
 
4143
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
4144
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4145
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
4146
  esac;;
 
4147
esac
3438
4148
 
3439
4149
 
3440
4150
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3441
4151
echo "$as_me: executing $ac_dest commands" >&6;}
3442
4152
  case $ac_dest in
3443
 
    default-1 )
3444
 
test x"$AMDEP_TRUE" != x"" ||
3445
 
for mf in $CONFIG_FILES; do
3446
 
  case "$mf" in
3447
 
  Makefile) dirpart=.;;
3448
 
  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
3449
 
  *) continue;;
3450
 
  esac
 
4153
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
4154
  # Strip MF so we end up with the name of the file.
 
4155
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
4156
  # Check whether this is an Automake generated Makefile or not.
 
4157
  # We used to match only the files named `Makefile.in', but
 
4158
  # some people rename them; so instead we look at the file content.
 
4159
  # Grep'ing the first line is not enough: some people post-process
 
4160
  # each Makefile.in and add a new line on top of each file to say so.
 
4161
  # So let's grep whole file.
 
4162
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
4163
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
4164
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4165
         X"$mf" : 'X\(//\)[^/]' \| \
 
4166
         X"$mf" : 'X\(//\)$' \| \
 
4167
         X"$mf" : 'X\(/\)' \| \
 
4168
         .     : '\(.\)' 2>/dev/null ||
 
4169
echo X"$mf" |
 
4170
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4171
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4172
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4173
          /^X\(\/\).*/{ s//\1/; q; }
 
4174
          s/.*/./; q'`
 
4175
  else
 
4176
    continue
 
4177
  fi
3451
4178
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
3452
4179
  # Extract the definition of DEP_FILES from the Makefile without
3453
4180
  # running `make'.
3454
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
4181
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3455
4182
  test -z "$DEPDIR" && continue
3456
4183
  # When using ansi2knr, U may be empty or an underscore; expand it
3457
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
4184
  U=`sed -n 's/^U = //p' < "$mf"`
3458
4185
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3459
4186
  # We invoke sed twice because it is the simplest approach to
3460
4187
  # changing $(DEPDIR) to its actual value in the expansion.
3461
 
  for file in `sed -n -e '
 
4188
  for file in `sed -n '
3462
4189
    /^DEP_FILES = .*\\\\$/ {
3463
4190
      s/^DEP_FILES = //
3464
4191
      :loop
3472
4199
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3473
4200
    # Make sure the directory exists.
3474
4201
    test -f "$dirpart/$file" && continue
3475
 
    fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
3476
 
    $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
 
4202
    fdir=`(dirname "$file") 2>/dev/null ||
 
4203
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4204
         X"$file" : 'X\(//\)[^/]' \| \
 
4205
         X"$file" : 'X\(//\)$' \| \
 
4206
         X"$file" : 'X\(/\)' \| \
 
4207
         .     : '\(.\)' 2>/dev/null ||
 
4208
echo X"$file" |
 
4209
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4210
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4211
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4212
          /^X\(\/\).*/{ s//\1/; q; }
 
4213
          s/.*/./; q'`
 
4214
    { if $as_mkdir_p; then
 
4215
    mkdir -p $dirpart/$fdir
 
4216
  else
 
4217
    as_dir=$dirpart/$fdir
 
4218
    as_dirs=
 
4219
    while test ! -d "$as_dir"; do
 
4220
      as_dirs="$as_dir $as_dirs"
 
4221
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4222
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4223
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4224
         X"$as_dir" : 'X\(//\)$' \| \
 
4225
         X"$as_dir" : 'X\(/\)' \| \
 
4226
         .     : '\(.\)' 2>/dev/null ||
 
4227
echo X"$as_dir" |
 
4228
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
4229
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
4230
          /^X\(\/\/\)$/{ s//\1/; q; }
 
4231
          /^X\(\/\).*/{ s//\1/; q; }
 
4232
          s/.*/./; q'`
 
4233
    done
 
4234
    test ! -n "$as_dirs" || mkdir $as_dirs
 
4235
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 
4236
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
4237
   { (exit 1); exit 1; }; }; }
 
4238
 
3477
4239
    # echo "creating $dirpart/$file"
3478
4240
    echo '# dummy' > "$dirpart/$file"
3479
4241
  done
3501
4263
# need to make the FD available again.
3502
4264
if test "$no_create" != yes; then
3503
4265
  ac_cs_success=:
 
4266
  ac_config_status_args=
 
4267
  test "$silent" = yes &&
 
4268
    ac_config_status_args="$ac_config_status_args --quiet"
3504
4269
  exec 5>/dev/null
3505
 
  $SHELL $CONFIG_STATUS || ac_cs_success=false
 
4270
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3506
4271
  exec 5>>config.log
3507
4272
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3508
4273
  # would make configure fail if this is the last instruction.