~ubuntu-branches/debian/wheezy/courier/wheezy

« back to all changes in this revision

Viewing changes to gdbmobj/configure

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Hornburg (Racke)
  • Date: 2009-03-08 16:42:08 UTC
  • mfrom: (1.2.1 upstream) (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090308164208-nlve2wtx9bbrulmd
Tags: 0.61.2-1
* New upstream release.
* Lintian:
  - fix chown in courier-webadmin postinst
  - removed courier-base preinst
  - added debhelper token to courier-mta.preinst
  - removed *.conffiles

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for gdbmobj 0.10.
 
3
# Generated by GNU Autoconf 2.63 for gdbmobj 0.10.
4
4
#
5
5
# Report bugs to <courier-users@lists.sourceforge.net>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
9
# This configure script is free software; the Free Software Foundation
10
10
# gives unlimited permission to copy, distribute and modify it.
11
11
## --------------------- ##
17
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
18
  emulate sh
19
19
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
21
  # is contrary to our usage.  Disable this feature.
22
22
  alias -g '${1+"$@"}'='"$@"'
23
23
  setopt NO_GLOB_SUBST
39
39
as_cr_digits='0123456789'
40
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
41
 
 
42
as_nl='
 
43
'
 
44
export as_nl
 
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
42
74
# The user is always right.
43
75
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
53
81
fi
54
82
 
55
83
# Support unset when possible.
65
93
# there to prevent editors from complaining about space-tab.
66
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
95
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
96
IFS=" ""        $as_nl"
71
97
 
72
98
# Find who we are.  Look in the path if we contain no directory separator.
89
115
  as_myself=$0
90
116
fi
91
117
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
119
  { (exit 1); exit 1; }
94
120
fi
95
121
 
102
128
PS4='+ '
103
129
 
104
130
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
116
135
 
117
136
# Required to use basename.
118
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
134
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
154
         X"$0" : 'X\(//\)$' \| \
136
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
 
156
$as_echo X/"$0" |
138
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
158
            s//\1/
140
159
            q
160
179
  as_have_required=no
161
180
fi
162
181
 
163
 
  if test $as_have_required = yes &&     (eval ":
 
182
  if test $as_have_required = yes &&     (eval ":
164
183
(as_func_return () {
165
184
  (exit \$1)
166
185
}
242
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
262
  emulate sh
244
263
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
246
265
  # is contrary to our usage.  Disable this feature.
247
266
  alias -g '${1+"$@"}'='"$@"'
248
267
  setopt NO_GLOB_SUBST
263
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
283
  emulate sh
265
284
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267
286
  # is contrary to our usage.  Disable this feature.
268
287
  alias -g '${1+"$@"}'='"$@"'
269
288
  setopt NO_GLOB_SUBST
343
362
 
344
363
      if test "x$CONFIG_SHELL" != x; then
345
364
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
 
367
        export CONFIG_SHELL
 
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
369
fi
351
370
 
352
371
 
415
434
 
416
435
test \$exitcode = 0") || {
417
436
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
421
441
}
422
442
 
423
443
 
453
473
      s/-\n.*//
454
474
    ' >$as_me.lineno &&
455
475
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
477
   { (exit 1); exit 1; }; }
458
478
 
459
479
  # Don't try to exec as it changes $[0], causing all sort of problems
481
501
*)
482
502
  ECHO_N='-n';;
483
503
esac
484
 
 
485
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
506
  as_expr=expr
494
513
  rm -f conf$$.dir/conf$$.file
495
514
else
496
515
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
498
517
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
518
if (echo >conf$$.file) 2>/dev/null; then
 
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
520
    as_ln_s='ln -s'
 
521
    # ... but there are two gotchas:
 
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
524
    # In both cases, we have to default to `cp -p'.
 
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
526
      as_ln_s='cp -p'
 
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
528
    as_ln_s=ln
 
529
  else
507
530
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
531
  fi
510
532
else
511
533
  as_ln_s='cp -p'
512
534
fi
531
553
  as_test_x='
532
554
    eval sh -c '\''
533
555
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
556
        test -d "$1/.";
535
557
      else
536
558
        case $1 in
537
 
        -*)set "./$1";;
 
559
        -*)set "./$1";;
538
560
        esac;
539
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
562
        ???[sx]*):;;*)false;;esac;fi
769
791
# include <unistd.h>
770
792
#endif"
771
793
 
772
 
ac_subst_vars='SHELL
 
794
ac_subst_vars='LTLIBOBJS
 
795
LIBOBJS
 
796
FOUND_GDBM_FALSE
 
797
FOUND_GDBM_TRUE
 
798
LIBGDBM
 
799
LIBTOOL
 
800
ac_ct_F77
 
801
FFLAGS
 
802
F77
 
803
CXXCPP
 
804
NMEDIT
 
805
DSYMUTIL
 
806
RANLIB
 
807
AR
 
808
ECHO
 
809
LN_S
 
810
SED
 
811
host_os
 
812
host_vendor
 
813
host_cpu
 
814
host
 
815
build_os
 
816
build_vendor
 
817
build_cpu
 
818
build
 
819
am__fastdepCXX_FALSE
 
820
am__fastdepCXX_TRUE
 
821
CXXDEPMODE
 
822
ac_ct_CXX
 
823
CXXFLAGS
 
824
CXX
 
825
EGREP
 
826
GREP
 
827
CPP
 
828
am__fastdepCC_FALSE
 
829
am__fastdepCC_TRUE
 
830
CCDEPMODE
 
831
AMDEPBACKSLASH
 
832
AMDEP_FALSE
 
833
AMDEP_TRUE
 
834
am__quote
 
835
am__include
 
836
DEPDIR
 
837
OBJEXT
 
838
EXEEXT
 
839
ac_ct_CC
 
840
CPPFLAGS
 
841
LDFLAGS
 
842
CFLAGS
 
843
CC
 
844
am__untar
 
845
am__tar
 
846
AMTAR
 
847
am__leading_dot
 
848
SET_MAKE
 
849
AWK
 
850
mkdir_p
 
851
MKDIR_P
 
852
INSTALL_STRIP_PROGRAM
 
853
STRIP
 
854
install_sh
 
855
MAKEINFO
 
856
AUTOHEADER
 
857
AUTOMAKE
 
858
AUTOCONF
 
859
ACLOCAL
 
860
VERSION
 
861
PACKAGE
 
862
CYGPATH_W
 
863
am__isrc
 
864
INSTALL_DATA
 
865
INSTALL_SCRIPT
 
866
INSTALL_PROGRAM
 
867
target_alias
 
868
host_alias
 
869
build_alias
 
870
LIBS
 
871
ECHO_T
 
872
ECHO_N
 
873
ECHO_C
 
874
DEFS
 
875
mandir
 
876
localedir
 
877
libdir
 
878
psdir
 
879
pdfdir
 
880
dvidir
 
881
htmldir
 
882
infodir
 
883
docdir
 
884
oldincludedir
 
885
includedir
 
886
localstatedir
 
887
sharedstatedir
 
888
sysconfdir
 
889
datadir
 
890
datarootdir
 
891
libexecdir
 
892
sbindir
 
893
bindir
 
894
program_transform_name
 
895
prefix
 
896
exec_prefix
 
897
PACKAGE_BUGREPORT
 
898
PACKAGE_STRING
 
899
PACKAGE_VERSION
 
900
PACKAGE_TARNAME
 
901
PACKAGE_NAME
773
902
PATH_SEPARATOR
774
 
PACKAGE_NAME
775
 
PACKAGE_TARNAME
776
 
PACKAGE_VERSION
777
 
PACKAGE_STRING
778
 
PACKAGE_BUGREPORT
779
 
exec_prefix
780
 
prefix
781
 
program_transform_name
782
 
bindir
783
 
sbindir
784
 
libexecdir
785
 
datarootdir
786
 
datadir
787
 
sysconfdir
788
 
sharedstatedir
789
 
localstatedir
790
 
includedir
791
 
oldincludedir
792
 
docdir
793
 
infodir
794
 
htmldir
795
 
dvidir
796
 
pdfdir
797
 
psdir
798
 
libdir
799
 
localedir
800
 
mandir
801
 
DEFS
802
 
ECHO_C
803
 
ECHO_N
804
 
ECHO_T
805
 
LIBS
806
 
build_alias
807
 
host_alias
808
 
target_alias
809
 
INSTALL_PROGRAM
810
 
INSTALL_SCRIPT
811
 
INSTALL_DATA
812
 
am__isrc
813
 
CYGPATH_W
814
 
PACKAGE
815
 
VERSION
816
 
ACLOCAL
817
 
AUTOCONF
818
 
AUTOMAKE
819
 
AUTOHEADER
820
 
MAKEINFO
821
 
install_sh
822
 
STRIP
823
 
INSTALL_STRIP_PROGRAM
824
 
mkdir_p
825
 
AWK
826
 
SET_MAKE
827
 
am__leading_dot
828
 
AMTAR
829
 
am__tar
830
 
am__untar
831
 
CC
832
 
CFLAGS
833
 
LDFLAGS
834
 
CPPFLAGS
835
 
ac_ct_CC
836
 
EXEEXT
837
 
OBJEXT
838
 
DEPDIR
839
 
am__include
840
 
am__quote
841
 
AMDEP_TRUE
842
 
AMDEP_FALSE
843
 
AMDEPBACKSLASH
844
 
CCDEPMODE
845
 
am__fastdepCC_TRUE
846
 
am__fastdepCC_FALSE
847
 
CPP
848
 
GREP
849
 
EGREP
850
 
CXX
851
 
CXXFLAGS
852
 
ac_ct_CXX
853
 
CXXDEPMODE
854
 
am__fastdepCXX_TRUE
855
 
am__fastdepCXX_FALSE
856
 
build
857
 
build_cpu
858
 
build_vendor
859
 
build_os
860
 
host
861
 
host_cpu
862
 
host_vendor
863
 
host_os
864
 
SED
865
 
LN_S
866
 
ECHO
867
 
AR
868
 
RANLIB
869
 
CXXCPP
870
 
F77
871
 
FFLAGS
872
 
ac_ct_F77
873
 
LIBTOOL
874
 
LIBGDBM
875
 
FOUND_GDBM_TRUE
876
 
FOUND_GDBM_FALSE
877
 
LIBOBJS
878
 
LTLIBOBJS'
 
903
SHELL'
879
904
ac_subst_files=''
 
905
ac_user_opts='
 
906
enable_option_checking
 
907
enable_dependency_tracking
 
908
enable_shared
 
909
enable_static
 
910
enable_fast_install
 
911
with_gnu_ld
 
912
enable_libtool_lock
 
913
with_pic
 
914
with_tags
 
915
'
880
916
      ac_precious_vars='build_alias
881
917
host_alias
882
918
target_alias
897
933
# Initialize some variables set by options.
898
934
ac_init_help=
899
935
ac_init_version=false
 
936
ac_unrecognized_opts=
 
937
ac_unrecognized_sep=
900
938
# The variables have the same names as the options, with
901
939
# dashes changed to underlines.
902
940
cache_file=/dev/null
995
1033
    datarootdir=$ac_optarg ;;
996
1034
 
997
1035
  -disable-* | --disable-*)
998
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1036
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999
1037
    # Reject names that are not valid shell variable names.
1000
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1001
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1038
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1039
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1002
1040
   { (exit 1); exit 1; }; }
1003
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1004
 
    eval enable_$ac_feature=no ;;
 
1041
    ac_useropt_orig=$ac_useropt
 
1042
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1043
    case $ac_user_opts in
 
1044
      *"
 
1045
"enable_$ac_useropt"
 
1046
"*) ;;
 
1047
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1048
         ac_unrecognized_sep=', ';;
 
1049
    esac
 
1050
    eval enable_$ac_useropt=no ;;
1005
1051
 
1006
1052
  -docdir | --docdir | --docdi | --doc | --do)
1007
1053
    ac_prev=docdir ;;
1014
1060
    dvidir=$ac_optarg ;;
1015
1061
 
1016
1062
  -enable-* | --enable-*)
1017
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1063
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018
1064
    # Reject names that are not valid shell variable names.
1019
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1020
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1065
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1066
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1021
1067
   { (exit 1); exit 1; }; }
1022
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1023
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1068
    ac_useropt_orig=$ac_useropt
 
1069
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1070
    case $ac_user_opts in
 
1071
      *"
 
1072
"enable_$ac_useropt"
 
1073
"*) ;;
 
1074
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1075
         ac_unrecognized_sep=', ';;
 
1076
    esac
 
1077
    eval enable_$ac_useropt=\$ac_optarg ;;
1024
1078
 
1025
1079
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1026
1080
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211
1265
    ac_init_version=: ;;
1212
1266
 
1213
1267
  -with-* | --with-*)
1214
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1268
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215
1269
    # Reject names that are not valid shell variable names.
1216
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1217
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1270
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1271
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1218
1272
   { (exit 1); exit 1; }; }
1219
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1220
 
    eval with_$ac_package=\$ac_optarg ;;
 
1273
    ac_useropt_orig=$ac_useropt
 
1274
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1275
    case $ac_user_opts in
 
1276
      *"
 
1277
"with_$ac_useropt"
 
1278
"*) ;;
 
1279
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1280
         ac_unrecognized_sep=', ';;
 
1281
    esac
 
1282
    eval with_$ac_useropt=\$ac_optarg ;;
1221
1283
 
1222
1284
  -without-* | --without-*)
1223
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1285
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1224
1286
    # Reject names that are not valid shell variable names.
1225
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1226
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1287
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1288
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1227
1289
   { (exit 1); exit 1; }; }
1228
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1229
 
    eval with_$ac_package=no ;;
 
1290
    ac_useropt_orig=$ac_useropt
 
1291
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1292
    case $ac_user_opts in
 
1293
      *"
 
1294
"with_$ac_useropt"
 
1295
"*) ;;
 
1296
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1297
         ac_unrecognized_sep=', ';;
 
1298
    esac
 
1299
    eval with_$ac_useropt=no ;;
1230
1300
 
1231
1301
  --x)
1232
1302
    # Obsolete; use --with-x.
1246
1316
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1247
1317
    x_libraries=$ac_optarg ;;
1248
1318
 
1249
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1319
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1250
1320
Try \`$0 --help' for more information." >&2
1251
1321
   { (exit 1); exit 1; }; }
1252
1322
    ;;
1255
1325
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1256
1326
    # Reject names that are not valid shell variable names.
1257
1327
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1258
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1328
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1259
1329
   { (exit 1); exit 1; }; }
1260
1330
    eval $ac_envvar=\$ac_optarg
1261
1331
    export $ac_envvar ;;
1262
1332
 
1263
1333
  *)
1264
1334
    # FIXME: should be removed in autoconf 3.0.
1265
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1335
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1266
1336
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1267
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1337
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1268
1338
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1269
1339
    ;;
1270
1340
 
1273
1343
 
1274
1344
if test -n "$ac_prev"; then
1275
1345
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1276
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1346
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1277
1347
   { (exit 1); exit 1; }; }
1278
1348
fi
1279
1349
 
1280
 
# Be sure to have absolute directory names.
 
1350
if test -n "$ac_unrecognized_opts"; then
 
1351
  case $enable_option_checking in
 
1352
    no) ;;
 
1353
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1354
   { (exit 1); exit 1; }; } ;;
 
1355
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1356
  esac
 
1357
fi
 
1358
 
 
1359
# Check all directory arguments for consistency.
1281
1360
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1282
1361
                datadir sysconfdir sharedstatedir localstatedir includedir \
1283
1362
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1284
1363
                libdir localedir mandir
1285
1364
do
1286
1365
  eval ac_val=\$$ac_var
 
1366
  # Remove trailing slashes.
 
1367
  case $ac_val in
 
1368
    */ )
 
1369
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1370
      eval $ac_var=\$ac_val;;
 
1371
  esac
 
1372
  # Be sure to have absolute directory names.
1287
1373
  case $ac_val in
1288
1374
    [\\/$]* | ?:[\\/]* )  continue;;
1289
1375
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1290
1376
  esac
1291
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1377
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1292
1378
   { (exit 1); exit 1; }; }
1293
1379
done
1294
1380
 
1303
1389
if test "x$host_alias" != x; then
1304
1390
  if test "x$build_alias" = x; then
1305
1391
    cross_compiling=maybe
1306
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1392
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1307
1393
    If a cross compiler is detected then cross compile mode will be used." >&2
1308
1394
  elif test "x$build_alias" != "x$host_alias"; then
1309
1395
    cross_compiling=yes
1319
1405
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1320
1406
ac_ls_di=`ls -di .` &&
1321
1407
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1322
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1408
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1323
1409
   { (exit 1); exit 1; }; }
1324
1410
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1411
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1326
1412
   { (exit 1); exit 1; }; }
1327
1413
 
1328
1414
 
1330
1416
if test -z "$srcdir"; then
1331
1417
  ac_srcdir_defaulted=yes
1332
1418
  # Try the directory containing this script, then the parent directory.
1333
 
  ac_confdir=`$as_dirname -- "$0" ||
1334
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335
 
         X"$0" : 'X\(//\)[^/]' \| \
1336
 
         X"$0" : 'X\(//\)$' \| \
1337
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1338
 
echo X"$0" |
 
1419
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1420
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1421
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1422
         X"$as_myself" : 'X\(//\)$' \| \
 
1423
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1424
$as_echo X"$as_myself" |
1339
1425
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1340
1426
            s//\1/
1341
1427
            q
1362
1448
fi
1363
1449
if test ! -r "$srcdir/$ac_unique_file"; then
1364
1450
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1365
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1451
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1366
1452
   { (exit 1); exit 1; }; }
1367
1453
fi
1368
1454
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1369
1455
ac_abs_confdir=`(
1370
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1456
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1371
1457
   { (exit 1); exit 1; }; }
1372
1458
        pwd)`
1373
1459
# When building in place, set srcdir=.
1416
1502
 
1417
1503
Installation directories:
1418
1504
  --prefix=PREFIX         install architecture-independent files in PREFIX
1419
 
                          [$ac_default_prefix]
 
1505
                          [$ac_default_prefix]
1420
1506
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1421
 
                          [PREFIX]
 
1507
                          [PREFIX]
1422
1508
 
1423
1509
By default, \`make install' will install all the files in
1424
1510
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1428
1514
For better control, use the options below.
1429
1515
 
1430
1516
Fine tuning of the installation directories:
1431
 
  --bindir=DIR           user executables [EPREFIX/bin]
1432
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1433
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1434
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1435
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1436
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1437
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1438
 
  --includedir=DIR       C header files [PREFIX/include]
1439
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1440
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1441
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1442
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1443
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1444
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1445
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/gdbmobj]
1446
 
  --htmldir=DIR          html documentation [DOCDIR]
1447
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1448
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1449
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1517
  --bindir=DIR            user executables [EPREFIX/bin]
 
1518
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1519
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1520
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1521
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1522
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1523
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1524
  --includedir=DIR        C header files [PREFIX/include]
 
1525
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1526
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1527
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1528
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1529
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1530
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1531
  --docdir=DIR            documentation root [DATAROOTDIR/doc/gdbmobj]
 
1532
  --htmldir=DIR           html documentation [DOCDIR]
 
1533
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1534
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1535
  --psdir=DIR             ps documentation [DOCDIR]
1450
1536
_ACEOF
1451
1537
 
1452
1538
  cat <<\_ACEOF
1469
1555
  cat <<\_ACEOF
1470
1556
 
1471
1557
Optional Features:
 
1558
  --disable-option-checking  ignore unrecognized --enable/--with options
1472
1559
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1473
1560
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1474
1561
  --disable-dependency-tracking  speeds up one-time build
1513
1600
if test "$ac_init_help" = "recursive"; then
1514
1601
  # If there are subdirs, report their specific --help.
1515
1602
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1516
 
    test -d "$ac_dir" || continue
 
1603
    test -d "$ac_dir" ||
 
1604
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1605
      continue
1517
1606
    ac_builddir=.
1518
1607
 
1519
1608
case "$ac_dir" in
1520
1609
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521
1610
*)
1522
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1611
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1523
1612
  # A ".." for each directory in $ac_dir_suffix.
1524
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1613
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1525
1614
  case $ac_top_builddir_sub in
1526
1615
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527
1616
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1557
1646
      echo &&
1558
1647
      $SHELL "$ac_srcdir/configure" --help=recursive
1559
1648
    else
1560
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1649
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561
1650
    fi || ac_status=$?
1562
1651
    cd "$ac_pwd" || { ac_status=$?; break; }
1563
1652
  done
1567
1656
if $ac_init_version; then
1568
1657
  cat <<\_ACEOF
1569
1658
gdbmobj configure 0.10
1570
 
generated by GNU Autoconf 2.61
 
1659
generated by GNU Autoconf 2.63
1571
1660
 
1572
1661
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1573
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1662
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1574
1663
This configure script is free software; the Free Software Foundation
1575
1664
gives unlimited permission to copy, distribute and modify it.
1576
1665
_ACEOF
1581
1670
running configure, to aid debugging if configure makes a mistake.
1582
1671
 
1583
1672
It was created by gdbmobj $as_me 0.10, which was
1584
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1673
generated by GNU Autoconf 2.63.  Invocation command line was
1585
1674
 
1586
1675
  $ $0 $@
1587
1676
 
1617
1706
do
1618
1707
  IFS=$as_save_IFS
1619
1708
  test -z "$as_dir" && as_dir=.
1620
 
  echo "PATH: $as_dir"
 
1709
  $as_echo "PATH: $as_dir"
1621
1710
done
1622
1711
IFS=$as_save_IFS
1623
1712
 
1652
1741
    | -silent | --silent | --silen | --sile | --sil)
1653
1742
      continue ;;
1654
1743
    *\'*)
1655
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1744
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1656
1745
    esac
1657
1746
    case $ac_pass in
1658
1747
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1704
1793
    case $ac_val in #(
1705
1794
    *${as_nl}*)
1706
1795
      case $ac_var in #(
1707
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1708
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1796
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1797
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1709
1798
      esac
1710
1799
      case $ac_var in #(
1711
1800
      _ | IFS | as_nl) ;; #(
 
1801
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1712
1802
      *) $as_unset $ac_var ;;
1713
1803
      esac ;;
1714
1804
    esac
1738
1828
    do
1739
1829
      eval ac_val=\$$ac_var
1740
1830
      case $ac_val in
1741
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1831
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1742
1832
      esac
1743
 
      echo "$ac_var='\''$ac_val'\''"
 
1833
      $as_echo "$ac_var='\''$ac_val'\''"
1744
1834
    done | sort
1745
1835
    echo
1746
1836
 
1755
1845
      do
1756
1846
        eval ac_val=\$$ac_var
1757
1847
        case $ac_val in
1758
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1848
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1759
1849
        esac
1760
 
        echo "$ac_var='\''$ac_val'\''"
 
1850
        $as_echo "$ac_var='\''$ac_val'\''"
1761
1851
      done | sort
1762
1852
      echo
1763
1853
    fi
1773
1863
      echo
1774
1864
    fi
1775
1865
    test "$ac_signal" != 0 &&
1776
 
      echo "$as_me: caught signal $ac_signal"
1777
 
    echo "$as_me: exit $exit_status"
 
1866
      $as_echo "$as_me: caught signal $ac_signal"
 
1867
    $as_echo "$as_me: exit $exit_status"
1778
1868
  } >&5
1779
1869
  rm -f core *.core core.conftest.* &&
1780
1870
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1816
1906
 
1817
1907
 
1818
1908
# Let the site file select an alternate cache file if it wants to.
1819
 
# Prefer explicitly selected file to automatically selected ones.
 
1909
# Prefer an explicitly selected file to automatically selected ones.
 
1910
ac_site_file1=NONE
 
1911
ac_site_file2=NONE
1820
1912
if test -n "$CONFIG_SITE"; then
1821
 
  set x "$CONFIG_SITE"
 
1913
  ac_site_file1=$CONFIG_SITE
1822
1914
elif test "x$prefix" != xNONE; then
1823
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1915
  ac_site_file1=$prefix/share/config.site
 
1916
  ac_site_file2=$prefix/etc/config.site
1824
1917
else
1825
 
  set x "$ac_default_prefix/share/config.site" \
1826
 
        "$ac_default_prefix/etc/config.site"
 
1918
  ac_site_file1=$ac_default_prefix/share/config.site
 
1919
  ac_site_file2=$ac_default_prefix/etc/config.site
1827
1920
fi
1828
 
shift
1829
 
for ac_site_file
 
1921
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1830
1922
do
 
1923
  test "x$ac_site_file" = xNONE && continue
1831
1924
  if test -r "$ac_site_file"; then
1832
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1833
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1925
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1926
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1834
1927
    sed 's/^/| /' "$ac_site_file" >&5
1835
1928
    . "$ac_site_file"
1836
1929
  fi
1840
1933
  # Some versions of bash will fail to source /dev/null (special
1841
1934
  # files actually), so we avoid doing that.
1842
1935
  if test -f "$cache_file"; then
1843
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1844
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1936
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1937
$as_echo "$as_me: loading cache $cache_file" >&6;}
1845
1938
    case $cache_file in
1846
1939
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1847
1940
      *)                      . "./$cache_file";;
1848
1941
    esac
1849
1942
  fi
1850
1943
else
1851
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1852
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1944
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1945
$as_echo "$as_me: creating cache $cache_file" >&6;}
1853
1946
  >$cache_file
1854
1947
fi
1855
1948
 
1863
1956
  eval ac_new_val=\$ac_env_${ac_var}_value
1864
1957
  case $ac_old_set,$ac_new_set in
1865
1958
    set,)
1866
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1867
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1959
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1960
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1868
1961
      ac_cache_corrupted=: ;;
1869
1962
    ,set)
1870
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1871
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1963
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1964
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1872
1965
      ac_cache_corrupted=: ;;
1873
1966
    ,);;
1874
1967
    *)
1875
1968
      if test "x$ac_old_val" != "x$ac_new_val"; then
1876
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1877
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1878
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1879
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1880
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1881
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1882
 
        ac_cache_corrupted=:
 
1969
        # differences in whitespace do not lead to failure.
 
1970
        ac_old_val_w=`echo x $ac_old_val`
 
1971
        ac_new_val_w=`echo x $ac_new_val`
 
1972
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1973
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1974
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1975
          ac_cache_corrupted=:
 
1976
        else
 
1977
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1978
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1979
          eval $ac_var=\$ac_old_val
 
1980
        fi
 
1981
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1982
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1983
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1984
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1883
1985
      fi;;
1884
1986
  esac
1885
1987
  # Pass precious variables to config.status.
1886
1988
  if test "$ac_new_set" = set; then
1887
1989
    case $ac_new_val in
1888
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1990
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1889
1991
    *) ac_arg=$ac_var=$ac_new_val ;;
1890
1992
    esac
1891
1993
    case " $ac_configure_args " in
1895
1997
  fi
1896
1998
done
1897
1999
if $ac_cache_corrupted; then
1898
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1899
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1900
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1901
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2000
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2001
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2002
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2003
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2004
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2005
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1902
2006
   { (exit 1); exit 1; }; }
1903
2007
fi
1904
2008
 
1956
2060
  fi
1957
2061
done
1958
2062
if test -z "$ac_aux_dir"; then
1959
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1960
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2063
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2064
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1961
2065
   { (exit 1); exit 1; }; }
1962
2066
fi
1963
2067
 
1983
2087
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1984
2088
# OS/2's system install, which has a completely different semantic
1985
2089
# ./install, which can be erroneously created by make from ./install.sh.
1986
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1987
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2090
# Reject install programs that cannot install multiple files.
 
2091
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2092
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1988
2093
if test -z "$INSTALL"; then
1989
2094
if test "${ac_cv_path_install+set}" = set; then
1990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2095
  $as_echo_n "(cached) " >&6
1991
2096
else
1992
2097
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993
2098
for as_dir in $PATH
2016
2121
            # program-specific install script used by HP pwplus--don't use.
2017
2122
            :
2018
2123
          else
2019
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2020
 
            break 3
 
2124
            rm -rf conftest.one conftest.two conftest.dir
 
2125
            echo one > conftest.one
 
2126
            echo two > conftest.two
 
2127
            mkdir conftest.dir
 
2128
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2129
              test -s conftest.one && test -s conftest.two &&
 
2130
              test -s conftest.dir/conftest.one &&
 
2131
              test -s conftest.dir/conftest.two
 
2132
            then
 
2133
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2134
              break 3
 
2135
            fi
2021
2136
          fi
2022
2137
        fi
2023
2138
      done
2024
2139
    done
2025
2140
    ;;
2026
2141
esac
 
2142
 
2027
2143
done
2028
2144
IFS=$as_save_IFS
2029
2145
 
 
2146
rm -rf conftest.one conftest.two conftest.dir
2030
2147
 
2031
2148
fi
2032
2149
  if test "${ac_cv_path_install+set}" = set; then
2039
2156
    INSTALL=$ac_install_sh
2040
2157
  fi
2041
2158
fi
2042
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2043
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2159
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2160
$as_echo "$INSTALL" >&6; }
2044
2161
 
2045
2162
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2046
2163
# It thinks the first close brace ends the variable substitution.
2050
2167
 
2051
2168
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2052
2169
 
2053
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2054
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2170
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2171
$as_echo_n "checking whether build environment is sane... " >&6; }
2055
2172
# Just in case
2056
2173
sleep 1
2057
2174
echo timestamp > conftest.file
2074
2191
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2075
2192
      # broken ls alias from the environment.  This has actually
2076
2193
      # happened.  Such a system could not be considered "sane".
2077
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2194
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2078
2195
alias in your environment" >&5
2079
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2196
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2080
2197
alias in your environment" >&2;}
2081
2198
   { (exit 1); exit 1; }; }
2082
2199
   fi
2087
2204
   # Ok.
2088
2205
   :
2089
2206
else
2090
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2207
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2091
2208
Check your system clock" >&5
2092
 
echo "$as_me: error: newly created file is older than distributed files!
 
2209
$as_echo "$as_me: error: newly created file is older than distributed files!
2093
2210
Check your system clock" >&2;}
2094
2211
   { (exit 1); exit 1; }; }
2095
2212
fi
2096
 
{ echo "$as_me:$LINENO: result: yes" >&5
2097
 
echo "${ECHO_T}yes" >&6; }
 
2213
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2214
$as_echo "yes" >&6; }
2098
2215
test "$program_prefix" != NONE &&
2099
2216
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2100
2217
# Use a double $ so make ignores it.
2101
2218
test "$program_suffix" != NONE &&
2102
2219
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2103
 
# Double any \ or $.  echo might interpret backslashes.
 
2220
# Double any \ or $.
2104
2221
# By default was `s,x,x', remove it if useless.
2105
 
cat <<\_ACEOF >conftest.sed
2106
 
s/[\\$]/&&/g;s/;s,x,x,$//
2107
 
_ACEOF
2108
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2109
 
rm -f conftest.sed
 
2222
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2223
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2110
2224
 
2111
2225
# expand $ac_aux_dir to an absolute path
2112
2226
am_aux_dir=`cd $ac_aux_dir && pwd`
2117
2231
  am_missing_run="$MISSING --run "
2118
2232
else
2119
2233
  am_missing_run=
2120
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2121
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2234
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2235
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2122
2236
fi
2123
2237
 
2124
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2125
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2238
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2239
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2126
2240
if test -z "$MKDIR_P"; then
2127
2241
  if test "${ac_cv_path_mkdir+set}" = set; then
2128
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2242
  $as_echo_n "(cached) " >&6
2129
2243
else
2130
2244
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131
2245
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2160
2274
    MKDIR_P="$ac_install_sh -d"
2161
2275
  fi
2162
2276
fi
2163
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2164
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2277
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2278
$as_echo "$MKDIR_P" >&6; }
2165
2279
 
2166
2280
mkdir_p="$MKDIR_P"
2167
2281
case $mkdir_p in
2173
2287
do
2174
2288
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2175
2289
set dummy $ac_prog; ac_word=$2
2176
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2177
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2290
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2291
$as_echo_n "checking for $ac_word... " >&6; }
2178
2292
if test "${ac_cv_prog_AWK+set}" = set; then
2179
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2293
  $as_echo_n "(cached) " >&6
2180
2294
else
2181
2295
  if test -n "$AWK"; then
2182
2296
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2189
2303
  for ac_exec_ext in '' $ac_executable_extensions; do
2190
2304
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191
2305
    ac_cv_prog_AWK="$ac_prog"
2192
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2306
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193
2307
    break 2
2194
2308
  fi
2195
2309
done
2200
2314
fi
2201
2315
AWK=$ac_cv_prog_AWK
2202
2316
if test -n "$AWK"; then
2203
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2204
 
echo "${ECHO_T}$AWK" >&6; }
 
2317
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2318
$as_echo "$AWK" >&6; }
2205
2319
else
2206
 
  { echo "$as_me:$LINENO: result: no" >&5
2207
 
echo "${ECHO_T}no" >&6; }
 
2320
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2321
$as_echo "no" >&6; }
2208
2322
fi
2209
2323
 
2210
2324
 
2211
2325
  test -n "$AWK" && break
2212
2326
done
2213
2327
 
2214
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2215
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2216
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2328
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2329
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2330
set x ${MAKE-make}
 
2331
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2217
2332
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2218
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2333
  $as_echo_n "(cached) " >&6
2219
2334
else
2220
2335
  cat >conftest.make <<\_ACEOF
2221
2336
SHELL = /bin/sh
2232
2347
rm -f conftest.make
2233
2348
fi
2234
2349
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2235
 
  { echo "$as_me:$LINENO: result: yes" >&5
2236
 
echo "${ECHO_T}yes" >&6; }
 
2350
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2351
$as_echo "yes" >&6; }
2237
2352
  SET_MAKE=
2238
2353
else
2239
 
  { echo "$as_me:$LINENO: result: no" >&5
2240
 
echo "${ECHO_T}no" >&6; }
 
2354
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2355
$as_echo "no" >&6; }
2241
2356
  SET_MAKE="MAKE=${MAKE-make}"
2242
2357
fi
2243
2358
 
2256
2371
  am__isrc=' -I$(srcdir)'
2257
2372
  # test to see if srcdir already configured
2258
2373
  if test -f $srcdir/config.status; then
2259
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2260
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2374
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2375
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2261
2376
   { (exit 1); exit 1; }; }
2262
2377
  fi
2263
2378
fi
2303
2418
  if test -n "$ac_tool_prefix"; then
2304
2419
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2305
2420
set dummy ${ac_tool_prefix}strip; ac_word=$2
2306
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2307
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2421
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2422
$as_echo_n "checking for $ac_word... " >&6; }
2308
2423
if test "${ac_cv_prog_STRIP+set}" = set; then
2309
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2424
  $as_echo_n "(cached) " >&6
2310
2425
else
2311
2426
  if test -n "$STRIP"; then
2312
2427
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2319
2434
  for ac_exec_ext in '' $ac_executable_extensions; do
2320
2435
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321
2436
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2322
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2437
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323
2438
    break 2
2324
2439
  fi
2325
2440
done
2330
2445
fi
2331
2446
STRIP=$ac_cv_prog_STRIP
2332
2447
if test -n "$STRIP"; then
2333
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2334
 
echo "${ECHO_T}$STRIP" >&6; }
 
2448
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2449
$as_echo "$STRIP" >&6; }
2335
2450
else
2336
 
  { echo "$as_me:$LINENO: result: no" >&5
2337
 
echo "${ECHO_T}no" >&6; }
 
2451
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2452
$as_echo "no" >&6; }
2338
2453
fi
2339
2454
 
2340
2455
 
2343
2458
  ac_ct_STRIP=$STRIP
2344
2459
  # Extract the first word of "strip", so it can be a program name with args.
2345
2460
set dummy strip; ac_word=$2
2346
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2347
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2461
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2462
$as_echo_n "checking for $ac_word... " >&6; }
2348
2463
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2349
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2464
  $as_echo_n "(cached) " >&6
2350
2465
else
2351
2466
  if test -n "$ac_ct_STRIP"; then
2352
2467
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2359
2474
  for ac_exec_ext in '' $ac_executable_extensions; do
2360
2475
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361
2476
    ac_cv_prog_ac_ct_STRIP="strip"
2362
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2477
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363
2478
    break 2
2364
2479
  fi
2365
2480
done
2370
2485
fi
2371
2486
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2372
2487
if test -n "$ac_ct_STRIP"; then
2373
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2374
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2488
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2489
$as_echo "$ac_ct_STRIP" >&6; }
2375
2490
else
2376
 
  { echo "$as_me:$LINENO: result: no" >&5
2377
 
echo "${ECHO_T}no" >&6; }
 
2491
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2492
$as_echo "no" >&6; }
2378
2493
fi
2379
2494
 
2380
2495
  if test "x$ac_ct_STRIP" = x; then
2382
2497
  else
2383
2498
    case $cross_compiling:$ac_tool_warned in
2384
2499
yes:)
2385
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2386
 
whose name does not start with the host triplet.  If you think this
2387
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2388
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2389
 
whose name does not start with the host triplet.  If you think this
2390
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2500
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2501
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2391
2502
ac_tool_warned=yes ;;
2392
2503
esac
2393
2504
    STRIP=$ac_ct_STRIP
2414
2525
ac_config_headers="$ac_config_headers config.h"
2415
2526
 
2416
2527
 
 
2528
DEPDIR="${am__leading_dot}deps"
 
2529
 
 
2530
ac_config_commands="$ac_config_commands depfiles"
 
2531
 
 
2532
 
 
2533
am_make=${MAKE-make}
 
2534
cat > confinc << 'END'
 
2535
am__doit:
 
2536
        @echo done
 
2537
.PHONY: am__doit
 
2538
END
 
2539
# If we don't find an include directive, just comment out the code.
 
2540
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2541
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2542
am__include="#"
 
2543
am__quote=
 
2544
_am_result=none
 
2545
# First try GNU make style include.
 
2546
echo "include confinc" > confmf
 
2547
# We grep out `Entering directory' and `Leaving directory'
 
2548
# messages which can occur if `w' ends up in MAKEFLAGS.
 
2549
# In particular we don't look at `^make:' because GNU make might
 
2550
# be invoked under some other name (usually "gmake"), in which
 
2551
# case it prints its new name instead of `make'.
 
2552
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2553
   am__include=include
 
2554
   am__quote=
 
2555
   _am_result=GNU
 
2556
fi
 
2557
# Now try BSD make style include.
 
2558
if test "$am__include" = "#"; then
 
2559
   echo '.include "confinc"' > confmf
 
2560
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
2561
      am__include=.include
 
2562
      am__quote="\""
 
2563
      _am_result=BSD
 
2564
   fi
 
2565
fi
 
2566
 
 
2567
 
 
2568
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2569
$as_echo "$_am_result" >&6; }
 
2570
rm -f confinc confmf
 
2571
 
 
2572
# Check whether --enable-dependency-tracking was given.
 
2573
if test "${enable_dependency_tracking+set}" = set; then
 
2574
  enableval=$enable_dependency_tracking;
 
2575
fi
 
2576
 
 
2577
if test "x$enable_dependency_tracking" != xno; then
 
2578
  am_depcomp="$ac_aux_dir/depcomp"
 
2579
  AMDEPBACKSLASH='\'
 
2580
fi
 
2581
 if test "x$enable_dependency_tracking" != xno; then
 
2582
  AMDEP_TRUE=
 
2583
  AMDEP_FALSE='#'
 
2584
else
 
2585
  AMDEP_TRUE='#'
 
2586
  AMDEP_FALSE=
 
2587
fi
 
2588
 
 
2589
 
2417
2590
ac_ext=c
2418
2591
ac_cpp='$CPP $CPPFLAGS'
2419
2592
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2422
2595
if test -n "$ac_tool_prefix"; then
2423
2596
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2424
2597
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2425
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2426
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2598
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2599
$as_echo_n "checking for $ac_word... " >&6; }
2427
2600
if test "${ac_cv_prog_CC+set}" = set; then
2428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2601
  $as_echo_n "(cached) " >&6
2429
2602
else
2430
2603
  if test -n "$CC"; then
2431
2604
  ac_cv_prog_CC="$CC" # Let the user override the test.
2438
2611
  for ac_exec_ext in '' $ac_executable_extensions; do
2439
2612
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440
2613
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2441
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2614
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442
2615
    break 2
2443
2616
  fi
2444
2617
done
2449
2622
fi
2450
2623
CC=$ac_cv_prog_CC
2451
2624
if test -n "$CC"; then
2452
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2453
 
echo "${ECHO_T}$CC" >&6; }
 
2625
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2626
$as_echo "$CC" >&6; }
2454
2627
else
2455
 
  { echo "$as_me:$LINENO: result: no" >&5
2456
 
echo "${ECHO_T}no" >&6; }
 
2628
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2629
$as_echo "no" >&6; }
2457
2630
fi
2458
2631
 
2459
2632
 
2462
2635
  ac_ct_CC=$CC
2463
2636
  # Extract the first word of "gcc", so it can be a program name with args.
2464
2637
set dummy gcc; ac_word=$2
2465
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2466
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2638
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2639
$as_echo_n "checking for $ac_word... " >&6; }
2467
2640
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2468
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2641
  $as_echo_n "(cached) " >&6
2469
2642
else
2470
2643
  if test -n "$ac_ct_CC"; then
2471
2644
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2478
2651
  for ac_exec_ext in '' $ac_executable_extensions; do
2479
2652
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480
2653
    ac_cv_prog_ac_ct_CC="gcc"
2481
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2654
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482
2655
    break 2
2483
2656
  fi
2484
2657
done
2489
2662
fi
2490
2663
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2491
2664
if test -n "$ac_ct_CC"; then
2492
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2493
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2665
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2666
$as_echo "$ac_ct_CC" >&6; }
2494
2667
else
2495
 
  { echo "$as_me:$LINENO: result: no" >&5
2496
 
echo "${ECHO_T}no" >&6; }
 
2668
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2669
$as_echo "no" >&6; }
2497
2670
fi
2498
2671
 
2499
2672
  if test "x$ac_ct_CC" = x; then
2501
2674
  else
2502
2675
    case $cross_compiling:$ac_tool_warned in
2503
2676
yes:)
2504
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2505
 
whose name does not start with the host triplet.  If you think this
2506
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2507
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2508
 
whose name does not start with the host triplet.  If you think this
2509
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2677
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2678
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2510
2679
ac_tool_warned=yes ;;
2511
2680
esac
2512
2681
    CC=$ac_ct_CC
2519
2688
          if test -n "$ac_tool_prefix"; then
2520
2689
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2521
2690
set dummy ${ac_tool_prefix}cc; ac_word=$2
2522
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2523
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2691
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2692
$as_echo_n "checking for $ac_word... " >&6; }
2524
2693
if test "${ac_cv_prog_CC+set}" = set; then
2525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2694
  $as_echo_n "(cached) " >&6
2526
2695
else
2527
2696
  if test -n "$CC"; then
2528
2697
  ac_cv_prog_CC="$CC" # Let the user override the test.
2535
2704
  for ac_exec_ext in '' $ac_executable_extensions; do
2536
2705
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537
2706
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2538
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2707
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2539
2708
    break 2
2540
2709
  fi
2541
2710
done
2546
2715
fi
2547
2716
CC=$ac_cv_prog_CC
2548
2717
if test -n "$CC"; then
2549
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2550
 
echo "${ECHO_T}$CC" >&6; }
 
2718
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2719
$as_echo "$CC" >&6; }
2551
2720
else
2552
 
  { echo "$as_me:$LINENO: result: no" >&5
2553
 
echo "${ECHO_T}no" >&6; }
 
2721
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2722
$as_echo "no" >&6; }
2554
2723
fi
2555
2724
 
2556
2725
 
2559
2728
if test -z "$CC"; then
2560
2729
  # Extract the first word of "cc", so it can be a program name with args.
2561
2730
set dummy cc; ac_word=$2
2562
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2563
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2731
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2732
$as_echo_n "checking for $ac_word... " >&6; }
2564
2733
if test "${ac_cv_prog_CC+set}" = set; then
2565
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2734
  $as_echo_n "(cached) " >&6
2566
2735
else
2567
2736
  if test -n "$CC"; then
2568
2737
  ac_cv_prog_CC="$CC" # Let the user override the test.
2580
2749
       continue
2581
2750
     fi
2582
2751
    ac_cv_prog_CC="cc"
2583
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2752
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2584
2753
    break 2
2585
2754
  fi
2586
2755
done
2603
2772
fi
2604
2773
CC=$ac_cv_prog_CC
2605
2774
if test -n "$CC"; then
2606
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2607
 
echo "${ECHO_T}$CC" >&6; }
 
2775
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2776
$as_echo "$CC" >&6; }
2608
2777
else
2609
 
  { echo "$as_me:$LINENO: result: no" >&5
2610
 
echo "${ECHO_T}no" >&6; }
 
2778
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2779
$as_echo "no" >&6; }
2611
2780
fi
2612
2781
 
2613
2782
 
2618
2787
  do
2619
2788
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2620
2789
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2621
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2622
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2790
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2791
$as_echo_n "checking for $ac_word... " >&6; }
2623
2792
if test "${ac_cv_prog_CC+set}" = set; then
2624
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2793
  $as_echo_n "(cached) " >&6
2625
2794
else
2626
2795
  if test -n "$CC"; then
2627
2796
  ac_cv_prog_CC="$CC" # Let the user override the test.
2634
2803
  for ac_exec_ext in '' $ac_executable_extensions; do
2635
2804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636
2805
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2637
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2806
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2638
2807
    break 2
2639
2808
  fi
2640
2809
done
2645
2814
fi
2646
2815
CC=$ac_cv_prog_CC
2647
2816
if test -n "$CC"; then
2648
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2649
 
echo "${ECHO_T}$CC" >&6; }
 
2817
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2818
$as_echo "$CC" >&6; }
2650
2819
else
2651
 
  { echo "$as_me:$LINENO: result: no" >&5
2652
 
echo "${ECHO_T}no" >&6; }
 
2820
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2821
$as_echo "no" >&6; }
2653
2822
fi
2654
2823
 
2655
2824
 
2662
2831
do
2663
2832
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2664
2833
set dummy $ac_prog; ac_word=$2
2665
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2666
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2834
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2835
$as_echo_n "checking for $ac_word... " >&6; }
2667
2836
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2668
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2837
  $as_echo_n "(cached) " >&6
2669
2838
else
2670
2839
  if test -n "$ac_ct_CC"; then
2671
2840
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2678
2847
  for ac_exec_ext in '' $ac_executable_extensions; do
2679
2848
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680
2849
    ac_cv_prog_ac_ct_CC="$ac_prog"
2681
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2850
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682
2851
    break 2
2683
2852
  fi
2684
2853
done
2689
2858
fi
2690
2859
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2691
2860
if test -n "$ac_ct_CC"; then
2692
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2693
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2861
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2862
$as_echo "$ac_ct_CC" >&6; }
2694
2863
else
2695
 
  { echo "$as_me:$LINENO: result: no" >&5
2696
 
echo "${ECHO_T}no" >&6; }
 
2864
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2865
$as_echo "no" >&6; }
2697
2866
fi
2698
2867
 
2699
2868
 
2705
2874
  else
2706
2875
    case $cross_compiling:$ac_tool_warned in
2707
2876
yes:)
2708
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2709
 
whose name does not start with the host triplet.  If you think this
2710
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2711
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2712
 
whose name does not start with the host triplet.  If you think this
2713
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2877
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2878
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2714
2879
ac_tool_warned=yes ;;
2715
2880
esac
2716
2881
    CC=$ac_ct_CC
2720
2885
fi
2721
2886
 
2722
2887
 
2723
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2888
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2889
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2890
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2724
2891
See \`config.log' for more details." >&5
2725
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2892
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2726
2893
See \`config.log' for more details." >&2;}
2727
 
   { (exit 1); exit 1; }; }
 
2894
   { (exit 1); exit 1; }; }; }
2728
2895
 
2729
2896
# Provide some information about the compiler.
2730
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2731
 
ac_compiler=`set X $ac_compile; echo $2`
 
2897
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2898
set X $ac_compile
 
2899
ac_compiler=$2
2732
2900
{ (ac_try="$ac_compiler --version >&5"
2733
2901
case "(($ac_try" in
2734
2902
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735
2903
  *) ac_try_echo=$ac_try;;
2736
2904
esac
2737
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2905
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2906
$as_echo "$ac_try_echo") >&5
2738
2907
  (eval "$ac_compiler --version >&5") 2>&5
2739
2908
  ac_status=$?
2740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2909
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741
2910
  (exit $ac_status); }
2742
2911
{ (ac_try="$ac_compiler -v >&5"
2743
2912
case "(($ac_try" in
2744
2913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745
2914
  *) ac_try_echo=$ac_try;;
2746
2915
esac
2747
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2916
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2917
$as_echo "$ac_try_echo") >&5
2748
2918
  (eval "$ac_compiler -v >&5") 2>&5
2749
2919
  ac_status=$?
2750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2920
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751
2921
  (exit $ac_status); }
2752
2922
{ (ac_try="$ac_compiler -V >&5"
2753
2923
case "(($ac_try" in
2754
2924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755
2925
  *) ac_try_echo=$ac_try;;
2756
2926
esac
2757
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2927
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2928
$as_echo "$ac_try_echo") >&5
2758
2929
  (eval "$ac_compiler -V >&5") 2>&5
2759
2930
  ac_status=$?
2760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2931
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761
2932
  (exit $ac_status); }
2762
2933
 
2763
2934
cat >conftest.$ac_ext <<_ACEOF
2776
2947
}
2777
2948
_ACEOF
2778
2949
ac_clean_files_save=$ac_clean_files
2779
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2950
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2780
2951
# Try to create an executable without -o first, disregard a.out.
2781
2952
# It will help us diagnose broken compilers, and finding out an intuition
2782
2953
# of exeext.
2783
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2784
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2785
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2786
 
#
2787
 
# List of possible output files, starting from the most likely.
2788
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2789
 
# only as a last resort.  b.out is created by i960 compilers.
2790
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2791
 
#
2792
 
# The IRIX 6 linker writes into existing files which may not be
2793
 
# executable, retaining their permissions.  Remove them first so a
2794
 
# subsequent execution test works.
 
2954
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2955
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2956
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2957
 
 
2958
# The possible output files:
 
2959
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2960
 
2795
2961
ac_rmfiles=
2796
2962
for ac_file in $ac_files
2797
2963
do
2798
2964
  case $ac_file in
2799
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2965
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2800
2966
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2801
2967
  esac
2802
2968
done
2807
2973
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808
2974
  *) ac_try_echo=$ac_try;;
2809
2975
esac
2810
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2976
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2977
$as_echo "$ac_try_echo") >&5
2811
2978
  (eval "$ac_link_default") 2>&5
2812
2979
  ac_status=$?
2813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2980
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814
2981
  (exit $ac_status); }; then
2815
2982
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2816
2983
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2821
2988
do
2822
2989
  test -f "$ac_file" || continue
2823
2990
  case $ac_file in
2824
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2991
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2825
2992
        ;;
2826
2993
    [ab].out )
2827
2994
        # We found the default executable, but exeext='' is most
2848
3015
  ac_file=''
2849
3016
fi
2850
3017
 
2851
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2852
 
echo "${ECHO_T}$ac_file" >&6; }
 
3018
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3019
$as_echo "$ac_file" >&6; }
2853
3020
if test -z "$ac_file"; then
2854
 
  echo "$as_me: failed program was:" >&5
 
3021
  $as_echo "$as_me: failed program was:" >&5
2855
3022
sed 's/^/| /' conftest.$ac_ext >&5
2856
3023
 
2857
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3024
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3025
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3026
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2858
3027
See \`config.log' for more details." >&5
2859
 
echo "$as_me: error: C compiler cannot create executables
 
3028
$as_echo "$as_me: error: C compiler cannot create executables
2860
3029
See \`config.log' for more details." >&2;}
2861
 
   { (exit 77); exit 77; }; }
 
3030
   { (exit 77); exit 77; }; }; }
2862
3031
fi
2863
3032
 
2864
3033
ac_exeext=$ac_cv_exeext
2865
3034
 
2866
3035
# Check that the compiler produces executables we can run.  If not, either
2867
3036
# the compiler is broken, or we cross compile.
2868
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2869
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3037
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3038
$as_echo_n "checking whether the C compiler works... " >&6; }
2870
3039
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2871
3040
# If not cross compiling, check that we can run a simple program.
2872
3041
if test "$cross_compiling" != yes; then
2875
3044
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876
3045
  *) ac_try_echo=$ac_try;;
2877
3046
esac
2878
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3047
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3048
$as_echo "$ac_try_echo") >&5
2879
3049
  (eval "$ac_try") 2>&5
2880
3050
  ac_status=$?
2881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3051
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882
3052
  (exit $ac_status); }; }; then
2883
3053
    cross_compiling=no
2884
3054
  else
2885
3055
    if test "$cross_compiling" = maybe; then
2886
3056
        cross_compiling=yes
2887
3057
    else
2888
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3058
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3059
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3060
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2889
3061
If you meant to cross compile, use \`--host'.
2890
3062
See \`config.log' for more details." >&5
2891
 
echo "$as_me: error: cannot run C compiled programs.
 
3063
$as_echo "$as_me: error: cannot run C compiled programs.
2892
3064
If you meant to cross compile, use \`--host'.
2893
3065
See \`config.log' for more details." >&2;}
2894
 
   { (exit 1); exit 1; }; }
 
3066
   { (exit 1); exit 1; }; }; }
2895
3067
    fi
2896
3068
  fi
2897
3069
fi
2898
 
{ echo "$as_me:$LINENO: result: yes" >&5
2899
 
echo "${ECHO_T}yes" >&6; }
 
3070
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3071
$as_echo "yes" >&6; }
2900
3072
 
2901
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3073
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2902
3074
ac_clean_files=$ac_clean_files_save
2903
3075
# Check that the compiler produces executables we can run.  If not, either
2904
3076
# the compiler is broken, or we cross compile.
2905
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2906
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2907
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2908
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3077
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3078
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3079
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3080
$as_echo "$cross_compiling" >&6; }
2909
3081
 
2910
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2911
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3082
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3083
$as_echo_n "checking for suffix of executables... " >&6; }
2912
3084
if { (ac_try="$ac_link"
2913
3085
case "(($ac_try" in
2914
3086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915
3087
  *) ac_try_echo=$ac_try;;
2916
3088
esac
2917
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3089
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3090
$as_echo "$ac_try_echo") >&5
2918
3091
  (eval "$ac_link") 2>&5
2919
3092
  ac_status=$?
2920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3093
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921
3094
  (exit $ac_status); }; then
2922
3095
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2923
3096
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2926
3099
for ac_file in conftest.exe conftest conftest.*; do
2927
3100
  test -f "$ac_file" || continue
2928
3101
  case $ac_file in
2929
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3102
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2930
3103
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2931
3104
          break;;
2932
3105
    * ) break;;
2933
3106
  esac
2934
3107
done
2935
3108
else
2936
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3109
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3110
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3111
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2937
3112
See \`config.log' for more details." >&5
2938
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3113
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2939
3114
See \`config.log' for more details." >&2;}
2940
 
   { (exit 1); exit 1; }; }
 
3115
   { (exit 1); exit 1; }; }; }
2941
3116
fi
2942
3117
 
2943
3118
rm -f conftest$ac_cv_exeext
2944
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2945
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3119
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3120
$as_echo "$ac_cv_exeext" >&6; }
2946
3121
 
2947
3122
rm -f conftest.$ac_ext
2948
3123
EXEEXT=$ac_cv_exeext
2949
3124
ac_exeext=$EXEEXT
2950
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2951
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3125
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3126
$as_echo_n "checking for suffix of object files... " >&6; }
2952
3127
if test "${ac_cv_objext+set}" = set; then
2953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3128
  $as_echo_n "(cached) " >&6
2954
3129
else
2955
3130
  cat >conftest.$ac_ext <<_ACEOF
2956
3131
/* confdefs.h.  */
2973
3148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974
3149
  *) ac_try_echo=$ac_try;;
2975
3150
esac
2976
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3151
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3152
$as_echo "$ac_try_echo") >&5
2977
3153
  (eval "$ac_compile") 2>&5
2978
3154
  ac_status=$?
2979
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3155
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980
3156
  (exit $ac_status); }; then
2981
3157
  for ac_file in conftest.o conftest.obj conftest.*; do
2982
3158
  test -f "$ac_file" || continue;
2983
3159
  case $ac_file in
2984
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3160
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2985
3161
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2986
3162
       break;;
2987
3163
  esac
2988
3164
done
2989
3165
else
2990
 
  echo "$as_me: failed program was:" >&5
 
3166
  $as_echo "$as_me: failed program was:" >&5
2991
3167
sed 's/^/| /' conftest.$ac_ext >&5
2992
3168
 
2993
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3169
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3170
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3171
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2994
3172
See \`config.log' for more details." >&5
2995
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3173
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2996
3174
See \`config.log' for more details." >&2;}
2997
 
   { (exit 1); exit 1; }; }
 
3175
   { (exit 1); exit 1; }; }; }
2998
3176
fi
2999
3177
 
3000
3178
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3001
3179
fi
3002
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3003
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3180
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3181
$as_echo "$ac_cv_objext" >&6; }
3004
3182
OBJEXT=$ac_cv_objext
3005
3183
ac_objext=$OBJEXT
3006
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3007
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3184
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3185
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3008
3186
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3009
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3187
  $as_echo_n "(cached) " >&6
3010
3188
else
3011
3189
  cat >conftest.$ac_ext <<_ACEOF
3012
3190
/* confdefs.h.  */
3032
3210
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033
3211
  *) ac_try_echo=$ac_try;;
3034
3212
esac
3035
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3213
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3214
$as_echo "$ac_try_echo") >&5
3036
3215
  (eval "$ac_compile") 2>conftest.er1
3037
3216
  ac_status=$?
3038
3217
  grep -v '^ *+' conftest.er1 >conftest.err
3039
3218
  rm -f conftest.er1
3040
3219
  cat conftest.err >&5
3041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3220
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042
3221
  (exit $ac_status); } && {
3043
3222
         test -z "$ac_c_werror_flag" ||
3044
3223
         test ! -s conftest.err
3045
3224
       } && test -s conftest.$ac_objext; then
3046
3225
  ac_compiler_gnu=yes
3047
3226
else
3048
 
  echo "$as_me: failed program was:" >&5
 
3227
  $as_echo "$as_me: failed program was:" >&5
3049
3228
sed 's/^/| /' conftest.$ac_ext >&5
3050
3229
 
3051
3230
        ac_compiler_gnu=no
3055
3234
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3056
3235
 
3057
3236
fi
3058
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3059
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3060
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3237
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3238
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3239
if test $ac_compiler_gnu = yes; then
 
3240
  GCC=yes
 
3241
else
 
3242
  GCC=
 
3243
fi
3061
3244
ac_test_CFLAGS=${CFLAGS+set}
3062
3245
ac_save_CFLAGS=$CFLAGS
3063
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3064
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3246
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3247
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3065
3248
if test "${ac_cv_prog_cc_g+set}" = set; then
3066
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3249
  $as_echo_n "(cached) " >&6
3067
3250
else
3068
3251
  ac_save_c_werror_flag=$ac_c_werror_flag
3069
3252
   ac_c_werror_flag=yes
3090
3273
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091
3274
  *) ac_try_echo=$ac_try;;
3092
3275
esac
3093
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3276
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3277
$as_echo "$ac_try_echo") >&5
3094
3278
  (eval "$ac_compile") 2>conftest.er1
3095
3279
  ac_status=$?
3096
3280
  grep -v '^ *+' conftest.er1 >conftest.err
3097
3281
  rm -f conftest.er1
3098
3282
  cat conftest.err >&5
3099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3283
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100
3284
  (exit $ac_status); } && {
3101
3285
         test -z "$ac_c_werror_flag" ||
3102
3286
         test ! -s conftest.err
3103
3287
       } && test -s conftest.$ac_objext; then
3104
3288
  ac_cv_prog_cc_g=yes
3105
3289
else
3106
 
  echo "$as_me: failed program was:" >&5
 
3290
  $as_echo "$as_me: failed program was:" >&5
3107
3291
sed 's/^/| /' conftest.$ac_ext >&5
3108
3292
 
3109
3293
        CFLAGS=""
3128
3312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129
3313
  *) ac_try_echo=$ac_try;;
3130
3314
esac
3131
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3315
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3316
$as_echo "$ac_try_echo") >&5
3132
3317
  (eval "$ac_compile") 2>conftest.er1
3133
3318
  ac_status=$?
3134
3319
  grep -v '^ *+' conftest.er1 >conftest.err
3135
3320
  rm -f conftest.er1
3136
3321
  cat conftest.err >&5
3137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3322
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138
3323
  (exit $ac_status); } && {
3139
3324
         test -z "$ac_c_werror_flag" ||
3140
3325
         test ! -s conftest.err
3141
3326
       } && test -s conftest.$ac_objext; then
3142
3327
  :
3143
3328
else
3144
 
  echo "$as_me: failed program was:" >&5
 
3329
  $as_echo "$as_me: failed program was:" >&5
3145
3330
sed 's/^/| /' conftest.$ac_ext >&5
3146
3331
 
3147
3332
        ac_c_werror_flag=$ac_save_c_werror_flag
3167
3352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168
3353
  *) ac_try_echo=$ac_try;;
3169
3354
esac
3170
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3355
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3356
$as_echo "$ac_try_echo") >&5
3171
3357
  (eval "$ac_compile") 2>conftest.er1
3172
3358
  ac_status=$?
3173
3359
  grep -v '^ *+' conftest.er1 >conftest.err
3174
3360
  rm -f conftest.er1
3175
3361
  cat conftest.err >&5
3176
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3362
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177
3363
  (exit $ac_status); } && {
3178
3364
         test -z "$ac_c_werror_flag" ||
3179
3365
         test ! -s conftest.err
3180
3366
       } && test -s conftest.$ac_objext; then
3181
3367
  ac_cv_prog_cc_g=yes
3182
3368
else
3183
 
  echo "$as_me: failed program was:" >&5
 
3369
  $as_echo "$as_me: failed program was:" >&5
3184
3370
sed 's/^/| /' conftest.$ac_ext >&5
3185
3371
 
3186
3372
 
3195
3381
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196
3382
   ac_c_werror_flag=$ac_save_c_werror_flag
3197
3383
fi
3198
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3199
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3384
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3385
$as_echo "$ac_cv_prog_cc_g" >&6; }
3200
3386
if test "$ac_test_CFLAGS" = set; then
3201
3387
  CFLAGS=$ac_save_CFLAGS
3202
3388
elif test $ac_cv_prog_cc_g = yes; then
3212
3398
    CFLAGS=
3213
3399
  fi
3214
3400
fi
3215
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3216
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3401
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3402
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3217
3403
if test "${ac_cv_prog_cc_c89+set}" = set; then
3218
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3404
  $as_echo_n "(cached) " >&6
3219
3405
else
3220
3406
  ac_cv_prog_cc_c89=no
3221
3407
ac_save_CC=$CC
3286
3472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287
3473
  *) ac_try_echo=$ac_try;;
3288
3474
esac
3289
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3475
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3476
$as_echo "$ac_try_echo") >&5
3290
3477
  (eval "$ac_compile") 2>conftest.er1
3291
3478
  ac_status=$?
3292
3479
  grep -v '^ *+' conftest.er1 >conftest.err
3293
3480
  rm -f conftest.er1
3294
3481
  cat conftest.err >&5
3295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3482
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296
3483
  (exit $ac_status); } && {
3297
3484
         test -z "$ac_c_werror_flag" ||
3298
3485
         test ! -s conftest.err
3299
3486
       } && test -s conftest.$ac_objext; then
3300
3487
  ac_cv_prog_cc_c89=$ac_arg
3301
3488
else
3302
 
  echo "$as_me: failed program was:" >&5
 
3489
  $as_echo "$as_me: failed program was:" >&5
3303
3490
sed 's/^/| /' conftest.$ac_ext >&5
3304
3491
 
3305
3492
 
3315
3502
# AC_CACHE_VAL
3316
3503
case "x$ac_cv_prog_cc_c89" in
3317
3504
  x)
3318
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3319
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3505
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3506
$as_echo "none needed" >&6; } ;;
3320
3507
  xno)
3321
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3322
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3508
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3509
$as_echo "unsupported" >&6; } ;;
3323
3510
  *)
3324
3511
    CC="$CC $ac_cv_prog_cc_c89"
3325
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3326
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3512
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3513
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3327
3514
esac
3328
3515
 
3329
3516
 
3332
3519
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333
3520
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334
3521
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335
 
DEPDIR="${am__leading_dot}deps"
3336
 
 
3337
 
ac_config_commands="$ac_config_commands depfiles"
3338
 
 
3339
 
 
3340
 
am_make=${MAKE-make}
3341
 
cat > confinc << 'END'
3342
 
am__doit:
3343
 
        @echo done
3344
 
.PHONY: am__doit
3345
 
END
3346
 
# If we don't find an include directive, just comment out the code.
3347
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3348
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3349
 
am__include="#"
3350
 
am__quote=
3351
 
_am_result=none
3352
 
# First try GNU make style include.
3353
 
echo "include confinc" > confmf
3354
 
# We grep out `Entering directory' and `Leaving directory'
3355
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3356
 
# In particular we don't look at `^make:' because GNU make might
3357
 
# be invoked under some other name (usually "gmake"), in which
3358
 
# case it prints its new name instead of `make'.
3359
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3360
 
   am__include=include
3361
 
   am__quote=
3362
 
   _am_result=GNU
3363
 
fi
3364
 
# Now try BSD make style include.
3365
 
if test "$am__include" = "#"; then
3366
 
   echo '.include "confinc"' > confmf
3367
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3368
 
      am__include=.include
3369
 
      am__quote="\""
3370
 
      _am_result=BSD
3371
 
   fi
3372
 
fi
3373
 
 
3374
 
 
3375
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3376
 
echo "${ECHO_T}$_am_result" >&6; }
3377
 
rm -f confinc confmf
3378
 
 
3379
 
# Check whether --enable-dependency-tracking was given.
3380
 
if test "${enable_dependency_tracking+set}" = set; then
3381
 
  enableval=$enable_dependency_tracking;
3382
 
fi
3383
 
 
3384
 
if test "x$enable_dependency_tracking" != xno; then
3385
 
  am_depcomp="$ac_aux_dir/depcomp"
3386
 
  AMDEPBACKSLASH='\'
3387
 
fi
3388
 
 if test "x$enable_dependency_tracking" != xno; then
3389
 
  AMDEP_TRUE=
3390
 
  AMDEP_FALSE='#'
3391
 
else
3392
 
  AMDEP_TRUE='#'
3393
 
  AMDEP_FALSE=
3394
 
fi
3395
 
 
3396
 
 
3397
3522
 
3398
3523
depcc="$CC"   am_compiler_list=
3399
3524
 
3400
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3401
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3525
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3526
$as_echo_n "checking dependency style of $depcc... " >&6; }
3402
3527
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3528
  $as_echo_n "(cached) " >&6
3404
3529
else
3405
3530
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3406
3531
  # We make a subdir and do the tests there.  Otherwise we can end up
3488
3613
fi
3489
3614
 
3490
3615
fi
3491
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3492
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3616
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3617
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3493
3618
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3494
3619
 
3495
3620
 if
3509
3634
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510
3635
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511
3636
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3512
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3513
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3637
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3638
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3514
3639
# On Suns, sometimes $CPP names a directory.
3515
3640
if test -n "$CPP" && test -d "$CPP"; then
3516
3641
  CPP=
3517
3642
fi
3518
3643
if test -z "$CPP"; then
3519
3644
  if test "${ac_cv_prog_CPP+set}" = set; then
3520
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3645
  $as_echo_n "(cached) " >&6
3521
3646
else
3522
3647
      # Double quotes because CPP needs to be expanded
3523
3648
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3549
3674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550
3675
  *) ac_try_echo=$ac_try;;
3551
3676
esac
3552
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3677
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3678
$as_echo "$ac_try_echo") >&5
3553
3679
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3554
3680
  ac_status=$?
3555
3681
  grep -v '^ *+' conftest.er1 >conftest.err
3556
3682
  rm -f conftest.er1
3557
3683
  cat conftest.err >&5
3558
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3684
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559
3685
  (exit $ac_status); } >/dev/null && {
3560
3686
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561
3687
         test ! -s conftest.err
3562
3688
       }; then
3563
3689
  :
3564
3690
else
3565
 
  echo "$as_me: failed program was:" >&5
 
3691
  $as_echo "$as_me: failed program was:" >&5
3566
3692
sed 's/^/| /' conftest.$ac_ext >&5
3567
3693
 
3568
3694
  # Broken: fails on valid input.
3586
3712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587
3713
  *) ac_try_echo=$ac_try;;
3588
3714
esac
3589
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3715
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3716
$as_echo "$ac_try_echo") >&5
3590
3717
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3591
3718
  ac_status=$?
3592
3719
  grep -v '^ *+' conftest.er1 >conftest.err
3593
3720
  rm -f conftest.er1
3594
3721
  cat conftest.err >&5
3595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3722
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596
3723
  (exit $ac_status); } >/dev/null && {
3597
3724
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3598
3725
         test ! -s conftest.err
3600
3727
  # Broken: success on invalid input.
3601
3728
continue
3602
3729
else
3603
 
  echo "$as_me: failed program was:" >&5
 
3730
  $as_echo "$as_me: failed program was:" >&5
3604
3731
sed 's/^/| /' conftest.$ac_ext >&5
3605
3732
 
3606
3733
  # Passes both tests.
3625
3752
else
3626
3753
  ac_cv_prog_CPP=$CPP
3627
3754
fi
3628
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3629
 
echo "${ECHO_T}$CPP" >&6; }
 
3755
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3756
$as_echo "$CPP" >&6; }
3630
3757
ac_preproc_ok=false
3631
3758
for ac_c_preproc_warn_flag in '' yes
3632
3759
do
3654
3781
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655
3782
  *) ac_try_echo=$ac_try;;
3656
3783
esac
3657
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3784
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3785
$as_echo "$ac_try_echo") >&5
3658
3786
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3659
3787
  ac_status=$?
3660
3788
  grep -v '^ *+' conftest.er1 >conftest.err
3661
3789
  rm -f conftest.er1
3662
3790
  cat conftest.err >&5
3663
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3791
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664
3792
  (exit $ac_status); } >/dev/null && {
3665
3793
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666
3794
         test ! -s conftest.err
3667
3795
       }; then
3668
3796
  :
3669
3797
else
3670
 
  echo "$as_me: failed program was:" >&5
 
3798
  $as_echo "$as_me: failed program was:" >&5
3671
3799
sed 's/^/| /' conftest.$ac_ext >&5
3672
3800
 
3673
3801
  # Broken: fails on valid input.
3691
3819
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3692
3820
  *) ac_try_echo=$ac_try;;
3693
3821
esac
3694
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3822
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3823
$as_echo "$ac_try_echo") >&5
3695
3824
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3696
3825
  ac_status=$?
3697
3826
  grep -v '^ *+' conftest.er1 >conftest.err
3698
3827
  rm -f conftest.er1
3699
3828
  cat conftest.err >&5
3700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3829
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701
3830
  (exit $ac_status); } >/dev/null && {
3702
3831
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3703
3832
         test ! -s conftest.err
3705
3834
  # Broken: success on invalid input.
3706
3835
continue
3707
3836
else
3708
 
  echo "$as_me: failed program was:" >&5
 
3837
  $as_echo "$as_me: failed program was:" >&5
3709
3838
sed 's/^/| /' conftest.$ac_ext >&5
3710
3839
 
3711
3840
  # Passes both tests.
3721
3850
if $ac_preproc_ok; then
3722
3851
  :
3723
3852
else
3724
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3853
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3854
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3855
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3725
3856
See \`config.log' for more details." >&5
3726
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3857
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3727
3858
See \`config.log' for more details." >&2;}
3728
 
   { (exit 1); exit 1; }; }
 
3859
   { (exit 1); exit 1; }; }; }
3729
3860
fi
3730
3861
 
3731
3862
ac_ext=c
3735
3866
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736
3867
 
3737
3868
 
3738
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3739
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3740
 
if test "${ac_cv_path_GREP+set}" = set; then
3741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3742
 
else
3743
 
  # Extract the first word of "grep ggrep" to use in msg output
3744
 
if test -z "$GREP"; then
3745
 
set dummy grep ggrep; ac_prog_name=$2
3746
 
if test "${ac_cv_path_GREP+set}" = set; then
3747
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3748
 
else
 
3869
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3870
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3871
if test "${ac_cv_path_GREP+set}" = set; then
 
3872
  $as_echo_n "(cached) " >&6
 
3873
else
 
3874
  if test -z "$GREP"; then
3749
3875
  ac_path_GREP_found=false
3750
 
# Loop through the user's path and test for each of PROGNAME-LIST
3751
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3876
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3877
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752
3878
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3753
3879
do
3754
3880
  IFS=$as_save_IFS
3755
3881
  test -z "$as_dir" && as_dir=.
3756
3882
  for ac_prog in grep ggrep; do
3757
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3758
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3759
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3760
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
3883
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3884
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3885
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3886
# Check for GNU ac_path_GREP and select it if it is found.
3761
3887
  # Check for GNU $ac_path_GREP
3762
3888
case `"$ac_path_GREP" --version 2>&1` in
3763
3889
*GNU*)
3764
3890
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3765
3891
*)
3766
3892
  ac_count=0
3767
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3893
  $as_echo_n 0123456789 >"conftest.in"
3768
3894
  while :
3769
3895
  do
3770
3896
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3771
3897
    mv "conftest.tmp" "conftest.in"
3772
3898
    cp "conftest.in" "conftest.nl"
3773
 
    echo 'GREP' >> "conftest.nl"
 
3899
    $as_echo 'GREP' >> "conftest.nl"
3774
3900
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3775
3901
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3776
3902
    ac_count=`expr $ac_count + 1`
3785
3911
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3786
3912
esac
3787
3913
 
3788
 
 
3789
 
    $ac_path_GREP_found && break 3
 
3914
      $ac_path_GREP_found && break 3
 
3915
    done
3790
3916
  done
3791
3917
done
3792
 
 
3793
 
done
3794
3918
IFS=$as_save_IFS
3795
 
 
3796
 
 
3797
 
fi
3798
 
 
3799
 
GREP="$ac_cv_path_GREP"
3800
 
if test -z "$GREP"; then
3801
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3802
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3919
  if test -z "$ac_cv_path_GREP"; then
 
3920
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3921
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3803
3922
   { (exit 1); exit 1; }; }
3804
 
fi
3805
 
 
 
3923
  fi
3806
3924
else
3807
3925
  ac_cv_path_GREP=$GREP
3808
3926
fi
3809
3927
 
3810
 
 
3811
3928
fi
3812
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3813
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3929
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3930
$as_echo "$ac_cv_path_GREP" >&6; }
3814
3931
 GREP="$ac_cv_path_GREP"
3815
3932
 
3816
3933
 
3817
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3818
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3934
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3935
$as_echo_n "checking for egrep... " >&6; }
3819
3936
if test "${ac_cv_path_EGREP+set}" = set; then
3820
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3937
  $as_echo_n "(cached) " >&6
3821
3938
else
3822
3939
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3823
3940
   then ac_cv_path_EGREP="$GREP -E"
3824
3941
   else
3825
 
     # Extract the first word of "egrep" to use in msg output
3826
 
if test -z "$EGREP"; then
3827
 
set dummy egrep; ac_prog_name=$2
3828
 
if test "${ac_cv_path_EGREP+set}" = set; then
3829
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3830
 
else
 
3942
     if test -z "$EGREP"; then
3831
3943
  ac_path_EGREP_found=false
3832
 
# Loop through the user's path and test for each of PROGNAME-LIST
3833
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3944
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3945
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834
3946
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3835
3947
do
3836
3948
  IFS=$as_save_IFS
3837
3949
  test -z "$as_dir" && as_dir=.
3838
3950
  for ac_prog in egrep; do
3839
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3840
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3841
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3842
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3951
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3952
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3953
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3954
# Check for GNU ac_path_EGREP and select it if it is found.
3843
3955
  # Check for GNU $ac_path_EGREP
3844
3956
case `"$ac_path_EGREP" --version 2>&1` in
3845
3957
*GNU*)
3846
3958
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3847
3959
*)
3848
3960
  ac_count=0
3849
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3961
  $as_echo_n 0123456789 >"conftest.in"
3850
3962
  while :
3851
3963
  do
3852
3964
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3853
3965
    mv "conftest.tmp" "conftest.in"
3854
3966
    cp "conftest.in" "conftest.nl"
3855
 
    echo 'EGREP' >> "conftest.nl"
 
3967
    $as_echo 'EGREP' >> "conftest.nl"
3856
3968
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3857
3969
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3858
3970
    ac_count=`expr $ac_count + 1`
3867
3979
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3868
3980
esac
3869
3981
 
3870
 
 
3871
 
    $ac_path_EGREP_found && break 3
 
3982
      $ac_path_EGREP_found && break 3
 
3983
    done
3872
3984
  done
3873
3985
done
3874
 
 
3875
 
done
3876
3986
IFS=$as_save_IFS
3877
 
 
3878
 
 
3879
 
fi
3880
 
 
3881
 
EGREP="$ac_cv_path_EGREP"
3882
 
if test -z "$EGREP"; then
3883
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3884
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3987
  if test -z "$ac_cv_path_EGREP"; then
 
3988
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3989
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3885
3990
   { (exit 1); exit 1; }; }
3886
 
fi
3887
 
 
 
3991
  fi
3888
3992
else
3889
3993
  ac_cv_path_EGREP=$EGREP
3890
3994
fi
3891
3995
 
3892
 
 
3893
3996
   fi
3894
3997
fi
3895
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3896
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3998
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3999
$as_echo "$ac_cv_path_EGREP" >&6; }
3897
4000
 EGREP="$ac_cv_path_EGREP"
3898
4001
 
3899
4002
 
3900
 
 
3901
 
{ echo "$as_me:$LINENO: checking for AIX" >&5
3902
 
echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3903
 
cat >conftest.$ac_ext <<_ACEOF
3904
 
/* confdefs.h.  */
3905
 
_ACEOF
3906
 
cat confdefs.h >>conftest.$ac_ext
3907
 
cat >>conftest.$ac_ext <<_ACEOF
3908
 
/* end confdefs.h.  */
3909
 
#ifdef _AIX
3910
 
  yes
3911
 
#endif
3912
 
 
3913
 
_ACEOF
3914
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3915
 
  $EGREP "yes" >/dev/null 2>&1; then
3916
 
  { echo "$as_me:$LINENO: result: yes" >&5
3917
 
echo "${ECHO_T}yes" >&6; }
3918
 
cat >>confdefs.h <<\_ACEOF
3919
 
#define _ALL_SOURCE 1
3920
 
_ACEOF
3921
 
 
3922
 
else
3923
 
  { echo "$as_me:$LINENO: result: no" >&5
3924
 
echo "${ECHO_T}no" >&6; }
3925
 
fi
3926
 
rm -f conftest*
3927
 
 
3928
 
 
3929
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3930
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4003
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4004
$as_echo_n "checking for ANSI C header files... " >&6; }
3931
4005
if test "${ac_cv_header_stdc+set}" = set; then
3932
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4006
  $as_echo_n "(cached) " >&6
3933
4007
else
3934
4008
  cat >conftest.$ac_ext <<_ACEOF
3935
4009
/* confdefs.h.  */
3956
4030
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3957
4031
  *) ac_try_echo=$ac_try;;
3958
4032
esac
3959
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4033
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4034
$as_echo "$ac_try_echo") >&5
3960
4035
  (eval "$ac_compile") 2>conftest.er1
3961
4036
  ac_status=$?
3962
4037
  grep -v '^ *+' conftest.er1 >conftest.err
3963
4038
  rm -f conftest.er1
3964
4039
  cat conftest.err >&5
3965
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4040
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966
4041
  (exit $ac_status); } && {
3967
4042
         test -z "$ac_c_werror_flag" ||
3968
4043
         test ! -s conftest.err
3969
4044
       } && test -s conftest.$ac_objext; then
3970
4045
  ac_cv_header_stdc=yes
3971
4046
else
3972
 
  echo "$as_me: failed program was:" >&5
 
4047
  $as_echo "$as_me: failed program was:" >&5
3973
4048
sed 's/^/| /' conftest.$ac_ext >&5
3974
4049
 
3975
4050
        ac_cv_header_stdc=no
4061
4136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062
4137
  *) ac_try_echo=$ac_try;;
4063
4138
esac
4064
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4139
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4140
$as_echo "$ac_try_echo") >&5
4065
4141
  (eval "$ac_link") 2>&5
4066
4142
  ac_status=$?
4067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4143
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068
4144
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4069
4145
  { (case "(($ac_try" in
4070
4146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071
4147
  *) ac_try_echo=$ac_try;;
4072
4148
esac
4073
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4149
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4150
$as_echo "$ac_try_echo") >&5
4074
4151
  (eval "$ac_try") 2>&5
4075
4152
  ac_status=$?
4076
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4153
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077
4154
  (exit $ac_status); }; }; then
4078
4155
  :
4079
4156
else
4080
 
  echo "$as_me: program exited with status $ac_status" >&5
4081
 
echo "$as_me: failed program was:" >&5
 
4157
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4158
$as_echo "$as_me: failed program was:" >&5
4082
4159
sed 's/^/| /' conftest.$ac_ext >&5
4083
4160
 
4084
4161
( exit $ac_status )
4085
4162
ac_cv_header_stdc=no
4086
4163
fi
 
4164
rm -rf conftest.dSYM
4087
4165
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4088
4166
fi
4089
4167
 
4090
4168
 
4091
4169
fi
4092
4170
fi
4093
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4094
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4171
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4172
$as_echo "$ac_cv_header_stdc" >&6; }
4095
4173
if test $ac_cv_header_stdc = yes; then
4096
4174
 
4097
4175
cat >>confdefs.h <<\_ACEOF
4113
4191
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4114
4192
                  inttypes.h stdint.h unistd.h
4115
4193
do
4116
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4117
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4118
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4194
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4195
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4196
$as_echo_n "checking for $ac_header... " >&6; }
4119
4197
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4120
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4198
  $as_echo_n "(cached) " >&6
4121
4199
else
4122
4200
  cat >conftest.$ac_ext <<_ACEOF
4123
4201
/* confdefs.h.  */
4135
4213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136
4214
  *) ac_try_echo=$ac_try;;
4137
4215
esac
4138
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4216
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4217
$as_echo "$ac_try_echo") >&5
4139
4218
  (eval "$ac_compile") 2>conftest.er1
4140
4219
  ac_status=$?
4141
4220
  grep -v '^ *+' conftest.er1 >conftest.err
4142
4221
  rm -f conftest.er1
4143
4222
  cat conftest.err >&5
4144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4223
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145
4224
  (exit $ac_status); } && {
4146
4225
         test -z "$ac_c_werror_flag" ||
4147
4226
         test ! -s conftest.err
4148
4227
       } && test -s conftest.$ac_objext; then
4149
4228
  eval "$as_ac_Header=yes"
4150
4229
else
4151
 
  echo "$as_me: failed program was:" >&5
 
4230
  $as_echo "$as_me: failed program was:" >&5
4152
4231
sed 's/^/| /' conftest.$ac_ext >&5
4153
4232
 
4154
4233
        eval "$as_ac_Header=no"
4156
4235
 
4157
4236
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158
4237
fi
4159
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4160
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4161
 
echo "${ECHO_T}$ac_res" >&6; }
4162
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4238
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4239
                 $as_echo "$as_val"'`
 
4240
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4241
$as_echo "$ac_res" >&6; }
 
4242
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4243
                 $as_echo "$as_val"'`
 
4244
   if test "x$as_val" = x""yes; then
4163
4245
  cat >>confdefs.h <<_ACEOF
4164
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4246
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4165
4247
_ACEOF
4166
4248
 
4167
4249
fi
4169
4251
done
4170
4252
 
4171
4253
 
4172
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
4173
 
  { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4174
 
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4175
 
if test "${ac_cv_header_minix_config_h+set}" = set; then
4176
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4254
 
 
4255
  if test "${ac_cv_header_minix_config_h+set}" = set; then
 
4256
  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
 
4257
$as_echo_n "checking for minix/config.h... " >&6; }
 
4258
if test "${ac_cv_header_minix_config_h+set}" = set; then
 
4259
  $as_echo_n "(cached) " >&6
4177
4260
fi
4178
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4179
 
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
 
4261
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
 
4262
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4180
4263
else
4181
4264
  # Is the header compilable?
4182
 
{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4183
 
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
 
4265
{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
 
4266
$as_echo_n "checking minix/config.h usability... " >&6; }
4184
4267
cat >conftest.$ac_ext <<_ACEOF
4185
4268
/* confdefs.h.  */
4186
4269
_ACEOF
4196
4279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4197
4280
  *) ac_try_echo=$ac_try;;
4198
4281
esac
4199
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4282
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4283
$as_echo "$ac_try_echo") >&5
4200
4284
  (eval "$ac_compile") 2>conftest.er1
4201
4285
  ac_status=$?
4202
4286
  grep -v '^ *+' conftest.er1 >conftest.err
4203
4287
  rm -f conftest.er1
4204
4288
  cat conftest.err >&5
4205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4289
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206
4290
  (exit $ac_status); } && {
4207
4291
         test -z "$ac_c_werror_flag" ||
4208
4292
         test ! -s conftest.err
4209
4293
       } && test -s conftest.$ac_objext; then
4210
4294
  ac_header_compiler=yes
4211
4295
else
4212
 
  echo "$as_me: failed program was:" >&5
 
4296
  $as_echo "$as_me: failed program was:" >&5
4213
4297
sed 's/^/| /' conftest.$ac_ext >&5
4214
4298
 
4215
4299
        ac_header_compiler=no
4216
4300
fi
4217
4301
 
4218
4302
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4220
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4303
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4304
$as_echo "$ac_header_compiler" >&6; }
4221
4305
 
4222
4306
# Is the header present?
4223
 
{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4224
 
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
 
4307
{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
 
4308
$as_echo_n "checking minix/config.h presence... " >&6; }
4225
4309
cat >conftest.$ac_ext <<_ACEOF
4226
4310
/* confdefs.h.  */
4227
4311
_ACEOF
4235
4319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236
4320
  *) ac_try_echo=$ac_try;;
4237
4321
esac
4238
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4322
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4323
$as_echo "$ac_try_echo") >&5
4239
4324
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4240
4325
  ac_status=$?
4241
4326
  grep -v '^ *+' conftest.er1 >conftest.err
4242
4327
  rm -f conftest.er1
4243
4328
  cat conftest.err >&5
4244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4329
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245
4330
  (exit $ac_status); } >/dev/null && {
4246
4331
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4247
4332
         test ! -s conftest.err
4248
4333
       }; then
4249
4334
  ac_header_preproc=yes
4250
4335
else
4251
 
  echo "$as_me: failed program was:" >&5
 
4336
  $as_echo "$as_me: failed program was:" >&5
4252
4337
sed 's/^/| /' conftest.$ac_ext >&5
4253
4338
 
4254
4339
  ac_header_preproc=no
4255
4340
fi
4256
4341
 
4257
4342
rm -f conftest.err conftest.$ac_ext
4258
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4259
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4343
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4344
$as_echo "$ac_header_preproc" >&6; }
4260
4345
 
4261
4346
# So?  What about this header?
4262
4347
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4263
4348
  yes:no: )
4264
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4265
 
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4266
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4267
 
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
 
4349
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
4350
$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4351
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
 
4352
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4268
4353
    ac_header_preproc=yes
4269
4354
    ;;
4270
4355
  no:yes:* )
4271
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4272
 
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4273
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
4274
 
echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
4275
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4276
 
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4277
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
4278
 
echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4279
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4280
 
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4281
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4282
 
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
 
4356
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
 
4357
$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
 
4358
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
 
4359
$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
 
4360
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
 
4361
$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
 
4362
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
 
4363
$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4364
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
 
4365
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
 
4366
    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
 
4367
$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4283
4368
    ( cat <<\_ASBOX
4284
4369
## -------------------------------------------------- ##
4285
4370
## Report this to courier-users@lists.sourceforge.net ##
4288
4373
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4289
4374
    ;;
4290
4375
esac
4291
 
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
4292
 
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
 
4376
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
 
4377
$as_echo_n "checking for minix/config.h... " >&6; }
4293
4378
if test "${ac_cv_header_minix_config_h+set}" = set; then
4294
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4379
  $as_echo_n "(cached) " >&6
4295
4380
else
4296
4381
  ac_cv_header_minix_config_h=$ac_header_preproc
4297
4382
fi
4298
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4299
 
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
 
4383
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
 
4384
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4300
4385
 
4301
4386
fi
4302
 
if test $ac_cv_header_minix_config_h = yes; then
 
4387
if test "x$ac_cv_header_minix_config_h" = x""yes; then
4303
4388
  MINIX=yes
4304
4389
else
4305
4390
  MINIX=
4306
4391
fi
4307
4392
 
4308
4393
 
4309
 
if test "$MINIX" = yes; then
 
4394
  if test "$MINIX" = yes; then
4310
4395
 
4311
4396
cat >>confdefs.h <<\_ACEOF
4312
4397
#define _POSIX_SOURCE 1
4322
4407
#define _MINIX 1
4323
4408
_ACEOF
4324
4409
 
4325
 
fi
4326
 
 
4327
 
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
4328
 
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
 
4410
  fi
 
4411
 
 
4412
 
 
4413
 
 
4414
  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
 
4415
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 
4416
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
 
4417
  $as_echo_n "(cached) " >&6
 
4418
else
 
4419
  cat >conftest.$ac_ext <<_ACEOF
 
4420
/* confdefs.h.  */
 
4421
_ACEOF
 
4422
cat confdefs.h >>conftest.$ac_ext
 
4423
cat >>conftest.$ac_ext <<_ACEOF
 
4424
/* end confdefs.h.  */
 
4425
 
 
4426
#         define __EXTENSIONS__ 1
 
4427
          $ac_includes_default
 
4428
int
 
4429
main ()
 
4430
{
 
4431
 
 
4432
  ;
 
4433
  return 0;
 
4434
}
 
4435
_ACEOF
 
4436
rm -f conftest.$ac_objext
 
4437
if { (ac_try="$ac_compile"
 
4438
case "(($ac_try" in
 
4439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4440
  *) ac_try_echo=$ac_try;;
 
4441
esac
 
4442
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4443
$as_echo "$ac_try_echo") >&5
 
4444
  (eval "$ac_compile") 2>conftest.er1
 
4445
  ac_status=$?
 
4446
  grep -v '^ *+' conftest.er1 >conftest.err
 
4447
  rm -f conftest.er1
 
4448
  cat conftest.err >&5
 
4449
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4450
  (exit $ac_status); } && {
 
4451
         test -z "$ac_c_werror_flag" ||
 
4452
         test ! -s conftest.err
 
4453
       } && test -s conftest.$ac_objext; then
 
4454
  ac_cv_safe_to_define___extensions__=yes
 
4455
else
 
4456
  $as_echo "$as_me: failed program was:" >&5
 
4457
sed 's/^/| /' conftest.$ac_ext >&5
 
4458
 
 
4459
        ac_cv_safe_to_define___extensions__=no
 
4460
fi
 
4461
 
 
4462
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4463
fi
 
4464
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
 
4465
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
 
4466
  test $ac_cv_safe_to_define___extensions__ = yes &&
 
4467
    cat >>confdefs.h <<\_ACEOF
 
4468
#define __EXTENSIONS__ 1
 
4469
_ACEOF
 
4470
 
 
4471
  cat >>confdefs.h <<\_ACEOF
 
4472
#define _ALL_SOURCE 1
 
4473
_ACEOF
 
4474
 
 
4475
  cat >>confdefs.h <<\_ACEOF
 
4476
#define _GNU_SOURCE 1
 
4477
_ACEOF
 
4478
 
 
4479
  cat >>confdefs.h <<\_ACEOF
 
4480
#define _POSIX_PTHREAD_SEMANTICS 1
 
4481
_ACEOF
 
4482
 
 
4483
  cat >>confdefs.h <<\_ACEOF
 
4484
#define _TANDEM_SOURCE 1
 
4485
_ACEOF
 
4486
 
 
4487
 
 
4488
ac_ext=c
 
4489
ac_cpp='$CPP $CPPFLAGS'
 
4490
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4491
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4492
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4493
if test -n "$ac_tool_prefix"; then
 
4494
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4495
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4496
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4497
$as_echo_n "checking for $ac_word... " >&6; }
 
4498
if test "${ac_cv_prog_CC+set}" = set; then
 
4499
  $as_echo_n "(cached) " >&6
 
4500
else
 
4501
  if test -n "$CC"; then
 
4502
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4503
else
 
4504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4505
for as_dir in $PATH
 
4506
do
 
4507
  IFS=$as_save_IFS
 
4508
  test -z "$as_dir" && as_dir=.
 
4509
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4510
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4511
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4512
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4513
    break 2
 
4514
  fi
 
4515
done
 
4516
done
 
4517
IFS=$as_save_IFS
 
4518
 
 
4519
fi
 
4520
fi
 
4521
CC=$ac_cv_prog_CC
 
4522
if test -n "$CC"; then
 
4523
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4524
$as_echo "$CC" >&6; }
 
4525
else
 
4526
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4527
$as_echo "no" >&6; }
 
4528
fi
 
4529
 
 
4530
 
 
4531
fi
 
4532
if test -z "$ac_cv_prog_CC"; then
 
4533
  ac_ct_CC=$CC
 
4534
  # Extract the first word of "gcc", so it can be a program name with args.
 
4535
set dummy gcc; ac_word=$2
 
4536
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4537
$as_echo_n "checking for $ac_word... " >&6; }
 
4538
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4539
  $as_echo_n "(cached) " >&6
 
4540
else
 
4541
  if test -n "$ac_ct_CC"; then
 
4542
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4543
else
 
4544
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4545
for as_dir in $PATH
 
4546
do
 
4547
  IFS=$as_save_IFS
 
4548
  test -z "$as_dir" && as_dir=.
 
4549
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4550
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4551
    ac_cv_prog_ac_ct_CC="gcc"
 
4552
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4553
    break 2
 
4554
  fi
 
4555
done
 
4556
done
 
4557
IFS=$as_save_IFS
 
4558
 
 
4559
fi
 
4560
fi
 
4561
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4562
if test -n "$ac_ct_CC"; then
 
4563
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4564
$as_echo "$ac_ct_CC" >&6; }
 
4565
else
 
4566
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4567
$as_echo "no" >&6; }
 
4568
fi
 
4569
 
 
4570
  if test "x$ac_ct_CC" = x; then
 
4571
    CC=""
 
4572
  else
 
4573
    case $cross_compiling:$ac_tool_warned in
 
4574
yes:)
 
4575
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4576
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4577
ac_tool_warned=yes ;;
 
4578
esac
 
4579
    CC=$ac_ct_CC
 
4580
  fi
 
4581
else
 
4582
  CC="$ac_cv_prog_CC"
 
4583
fi
 
4584
 
 
4585
if test -z "$CC"; then
 
4586
          if test -n "$ac_tool_prefix"; then
 
4587
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4588
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4589
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4590
$as_echo_n "checking for $ac_word... " >&6; }
 
4591
if test "${ac_cv_prog_CC+set}" = set; then
 
4592
  $as_echo_n "(cached) " >&6
 
4593
else
 
4594
  if test -n "$CC"; then
 
4595
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4596
else
 
4597
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4598
for as_dir in $PATH
 
4599
do
 
4600
  IFS=$as_save_IFS
 
4601
  test -z "$as_dir" && as_dir=.
 
4602
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4604
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4605
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4606
    break 2
 
4607
  fi
 
4608
done
 
4609
done
 
4610
IFS=$as_save_IFS
 
4611
 
 
4612
fi
 
4613
fi
 
4614
CC=$ac_cv_prog_CC
 
4615
if test -n "$CC"; then
 
4616
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4617
$as_echo "$CC" >&6; }
 
4618
else
 
4619
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4620
$as_echo "no" >&6; }
 
4621
fi
 
4622
 
 
4623
 
 
4624
  fi
 
4625
fi
 
4626
if test -z "$CC"; then
 
4627
  # Extract the first word of "cc", so it can be a program name with args.
 
4628
set dummy cc; ac_word=$2
 
4629
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4630
$as_echo_n "checking for $ac_word... " >&6; }
 
4631
if test "${ac_cv_prog_CC+set}" = set; then
 
4632
  $as_echo_n "(cached) " >&6
 
4633
else
 
4634
  if test -n "$CC"; then
 
4635
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4636
else
 
4637
  ac_prog_rejected=no
 
4638
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4639
for as_dir in $PATH
 
4640
do
 
4641
  IFS=$as_save_IFS
 
4642
  test -z "$as_dir" && as_dir=.
 
4643
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4644
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4645
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4646
       ac_prog_rejected=yes
 
4647
       continue
 
4648
     fi
 
4649
    ac_cv_prog_CC="cc"
 
4650
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4651
    break 2
 
4652
  fi
 
4653
done
 
4654
done
 
4655
IFS=$as_save_IFS
 
4656
 
 
4657
if test $ac_prog_rejected = yes; then
 
4658
  # We found a bogon in the path, so make sure we never use it.
 
4659
  set dummy $ac_cv_prog_CC
 
4660
  shift
 
4661
  if test $# != 0; then
 
4662
    # We chose a different compiler from the bogus one.
 
4663
    # However, it has the same basename, so the bogon will be chosen
 
4664
    # first if we set CC to just the basename; use the full file name.
 
4665
    shift
 
4666
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4667
  fi
 
4668
fi
 
4669
fi
 
4670
fi
 
4671
CC=$ac_cv_prog_CC
 
4672
if test -n "$CC"; then
 
4673
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4674
$as_echo "$CC" >&6; }
 
4675
else
 
4676
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4677
$as_echo "no" >&6; }
 
4678
fi
 
4679
 
 
4680
 
 
4681
fi
 
4682
if test -z "$CC"; then
 
4683
  if test -n "$ac_tool_prefix"; then
 
4684
  for ac_prog in cl.exe
 
4685
  do
 
4686
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4687
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4688
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4689
$as_echo_n "checking for $ac_word... " >&6; }
 
4690
if test "${ac_cv_prog_CC+set}" = set; then
 
4691
  $as_echo_n "(cached) " >&6
 
4692
else
 
4693
  if test -n "$CC"; then
 
4694
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4695
else
 
4696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4697
for as_dir in $PATH
 
4698
do
 
4699
  IFS=$as_save_IFS
 
4700
  test -z "$as_dir" && as_dir=.
 
4701
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4702
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4703
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4704
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4705
    break 2
 
4706
  fi
 
4707
done
 
4708
done
 
4709
IFS=$as_save_IFS
 
4710
 
 
4711
fi
 
4712
fi
 
4713
CC=$ac_cv_prog_CC
 
4714
if test -n "$CC"; then
 
4715
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4716
$as_echo "$CC" >&6; }
 
4717
else
 
4718
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4719
$as_echo "no" >&6; }
 
4720
fi
 
4721
 
 
4722
 
 
4723
    test -n "$CC" && break
 
4724
  done
 
4725
fi
 
4726
if test -z "$CC"; then
 
4727
  ac_ct_CC=$CC
 
4728
  for ac_prog in cl.exe
 
4729
do
 
4730
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4731
set dummy $ac_prog; ac_word=$2
 
4732
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4733
$as_echo_n "checking for $ac_word... " >&6; }
 
4734
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4735
  $as_echo_n "(cached) " >&6
 
4736
else
 
4737
  if test -n "$ac_ct_CC"; then
 
4738
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4739
else
 
4740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4741
for as_dir in $PATH
 
4742
do
 
4743
  IFS=$as_save_IFS
 
4744
  test -z "$as_dir" && as_dir=.
 
4745
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4746
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4747
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4748
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4749
    break 2
 
4750
  fi
 
4751
done
 
4752
done
 
4753
IFS=$as_save_IFS
 
4754
 
 
4755
fi
 
4756
fi
 
4757
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4758
if test -n "$ac_ct_CC"; then
 
4759
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4760
$as_echo "$ac_ct_CC" >&6; }
 
4761
else
 
4762
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4763
$as_echo "no" >&6; }
 
4764
fi
 
4765
 
 
4766
 
 
4767
  test -n "$ac_ct_CC" && break
 
4768
done
 
4769
 
 
4770
  if test "x$ac_ct_CC" = x; then
 
4771
    CC=""
 
4772
  else
 
4773
    case $cross_compiling:$ac_tool_warned in
 
4774
yes:)
 
4775
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4776
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4777
ac_tool_warned=yes ;;
 
4778
esac
 
4779
    CC=$ac_ct_CC
 
4780
  fi
 
4781
fi
 
4782
 
 
4783
fi
 
4784
 
 
4785
 
 
4786
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4787
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4788
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4789
See \`config.log' for more details." >&5
 
4790
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4791
See \`config.log' for more details." >&2;}
 
4792
   { (exit 1); exit 1; }; }; }
 
4793
 
 
4794
# Provide some information about the compiler.
 
4795
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4796
set X $ac_compile
 
4797
ac_compiler=$2
 
4798
{ (ac_try="$ac_compiler --version >&5"
 
4799
case "(($ac_try" in
 
4800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4801
  *) ac_try_echo=$ac_try;;
 
4802
esac
 
4803
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4804
$as_echo "$ac_try_echo") >&5
 
4805
  (eval "$ac_compiler --version >&5") 2>&5
 
4806
  ac_status=$?
 
4807
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4808
  (exit $ac_status); }
 
4809
{ (ac_try="$ac_compiler -v >&5"
 
4810
case "(($ac_try" in
 
4811
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4812
  *) ac_try_echo=$ac_try;;
 
4813
esac
 
4814
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4815
$as_echo "$ac_try_echo") >&5
 
4816
  (eval "$ac_compiler -v >&5") 2>&5
 
4817
  ac_status=$?
 
4818
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4819
  (exit $ac_status); }
 
4820
{ (ac_try="$ac_compiler -V >&5"
 
4821
case "(($ac_try" in
 
4822
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4823
  *) ac_try_echo=$ac_try;;
 
4824
esac
 
4825
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4826
$as_echo "$ac_try_echo") >&5
 
4827
  (eval "$ac_compiler -V >&5") 2>&5
 
4828
  ac_status=$?
 
4829
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4830
  (exit $ac_status); }
 
4831
 
 
4832
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4833
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4834
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4835
  $as_echo_n "(cached) " >&6
 
4836
else
 
4837
  cat >conftest.$ac_ext <<_ACEOF
 
4838
/* confdefs.h.  */
 
4839
_ACEOF
 
4840
cat confdefs.h >>conftest.$ac_ext
 
4841
cat >>conftest.$ac_ext <<_ACEOF
 
4842
/* end confdefs.h.  */
 
4843
 
 
4844
int
 
4845
main ()
 
4846
{
 
4847
#ifndef __GNUC__
 
4848
       choke me
 
4849
#endif
 
4850
 
 
4851
  ;
 
4852
  return 0;
 
4853
}
 
4854
_ACEOF
 
4855
rm -f conftest.$ac_objext
 
4856
if { (ac_try="$ac_compile"
 
4857
case "(($ac_try" in
 
4858
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4859
  *) ac_try_echo=$ac_try;;
 
4860
esac
 
4861
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4862
$as_echo "$ac_try_echo") >&5
 
4863
  (eval "$ac_compile") 2>conftest.er1
 
4864
  ac_status=$?
 
4865
  grep -v '^ *+' conftest.er1 >conftest.err
 
4866
  rm -f conftest.er1
 
4867
  cat conftest.err >&5
 
4868
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4869
  (exit $ac_status); } && {
 
4870
         test -z "$ac_c_werror_flag" ||
 
4871
         test ! -s conftest.err
 
4872
       } && test -s conftest.$ac_objext; then
 
4873
  ac_compiler_gnu=yes
 
4874
else
 
4875
  $as_echo "$as_me: failed program was:" >&5
 
4876
sed 's/^/| /' conftest.$ac_ext >&5
 
4877
 
 
4878
        ac_compiler_gnu=no
 
4879
fi
 
4880
 
 
4881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4882
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4883
 
 
4884
fi
 
4885
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4886
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4887
if test $ac_compiler_gnu = yes; then
 
4888
  GCC=yes
 
4889
else
 
4890
  GCC=
 
4891
fi
 
4892
ac_test_CFLAGS=${CFLAGS+set}
 
4893
ac_save_CFLAGS=$CFLAGS
 
4894
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4895
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4896
if test "${ac_cv_prog_cc_g+set}" = set; then
 
4897
  $as_echo_n "(cached) " >&6
 
4898
else
 
4899
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4900
   ac_c_werror_flag=yes
 
4901
   ac_cv_prog_cc_g=no
 
4902
   CFLAGS="-g"
 
4903
   cat >conftest.$ac_ext <<_ACEOF
 
4904
/* confdefs.h.  */
 
4905
_ACEOF
 
4906
cat confdefs.h >>conftest.$ac_ext
 
4907
cat >>conftest.$ac_ext <<_ACEOF
 
4908
/* end confdefs.h.  */
 
4909
 
 
4910
int
 
4911
main ()
 
4912
{
 
4913
 
 
4914
  ;
 
4915
  return 0;
 
4916
}
 
4917
_ACEOF
 
4918
rm -f conftest.$ac_objext
 
4919
if { (ac_try="$ac_compile"
 
4920
case "(($ac_try" in
 
4921
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4922
  *) ac_try_echo=$ac_try;;
 
4923
esac
 
4924
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4925
$as_echo "$ac_try_echo") >&5
 
4926
  (eval "$ac_compile") 2>conftest.er1
 
4927
  ac_status=$?
 
4928
  grep -v '^ *+' conftest.er1 >conftest.err
 
4929
  rm -f conftest.er1
 
4930
  cat conftest.err >&5
 
4931
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4932
  (exit $ac_status); } && {
 
4933
         test -z "$ac_c_werror_flag" ||
 
4934
         test ! -s conftest.err
 
4935
       } && test -s conftest.$ac_objext; then
 
4936
  ac_cv_prog_cc_g=yes
 
4937
else
 
4938
  $as_echo "$as_me: failed program was:" >&5
 
4939
sed 's/^/| /' conftest.$ac_ext >&5
 
4940
 
 
4941
        CFLAGS=""
 
4942
      cat >conftest.$ac_ext <<_ACEOF
 
4943
/* confdefs.h.  */
 
4944
_ACEOF
 
4945
cat confdefs.h >>conftest.$ac_ext
 
4946
cat >>conftest.$ac_ext <<_ACEOF
 
4947
/* end confdefs.h.  */
 
4948
 
 
4949
int
 
4950
main ()
 
4951
{
 
4952
 
 
4953
  ;
 
4954
  return 0;
 
4955
}
 
4956
_ACEOF
 
4957
rm -f conftest.$ac_objext
 
4958
if { (ac_try="$ac_compile"
 
4959
case "(($ac_try" in
 
4960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4961
  *) ac_try_echo=$ac_try;;
 
4962
esac
 
4963
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4964
$as_echo "$ac_try_echo") >&5
 
4965
  (eval "$ac_compile") 2>conftest.er1
 
4966
  ac_status=$?
 
4967
  grep -v '^ *+' conftest.er1 >conftest.err
 
4968
  rm -f conftest.er1
 
4969
  cat conftest.err >&5
 
4970
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4971
  (exit $ac_status); } && {
 
4972
         test -z "$ac_c_werror_flag" ||
 
4973
         test ! -s conftest.err
 
4974
       } && test -s conftest.$ac_objext; then
 
4975
  :
 
4976
else
 
4977
  $as_echo "$as_me: failed program was:" >&5
 
4978
sed 's/^/| /' conftest.$ac_ext >&5
 
4979
 
 
4980
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4981
         CFLAGS="-g"
 
4982
         cat >conftest.$ac_ext <<_ACEOF
 
4983
/* confdefs.h.  */
 
4984
_ACEOF
 
4985
cat confdefs.h >>conftest.$ac_ext
 
4986
cat >>conftest.$ac_ext <<_ACEOF
 
4987
/* end confdefs.h.  */
 
4988
 
 
4989
int
 
4990
main ()
 
4991
{
 
4992
 
 
4993
  ;
 
4994
  return 0;
 
4995
}
 
4996
_ACEOF
 
4997
rm -f conftest.$ac_objext
 
4998
if { (ac_try="$ac_compile"
 
4999
case "(($ac_try" in
 
5000
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5001
  *) ac_try_echo=$ac_try;;
 
5002
esac
 
5003
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5004
$as_echo "$ac_try_echo") >&5
 
5005
  (eval "$ac_compile") 2>conftest.er1
 
5006
  ac_status=$?
 
5007
  grep -v '^ *+' conftest.er1 >conftest.err
 
5008
  rm -f conftest.er1
 
5009
  cat conftest.err >&5
 
5010
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5011
  (exit $ac_status); } && {
 
5012
         test -z "$ac_c_werror_flag" ||
 
5013
         test ! -s conftest.err
 
5014
       } && test -s conftest.$ac_objext; then
 
5015
  ac_cv_prog_cc_g=yes
 
5016
else
 
5017
  $as_echo "$as_me: failed program was:" >&5
 
5018
sed 's/^/| /' conftest.$ac_ext >&5
 
5019
 
 
5020
 
 
5021
fi
 
5022
 
 
5023
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5024
fi
 
5025
 
 
5026
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5027
fi
 
5028
 
 
5029
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5030
   ac_c_werror_flag=$ac_save_c_werror_flag
 
5031
fi
 
5032
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
5033
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
5034
if test "$ac_test_CFLAGS" = set; then
 
5035
  CFLAGS=$ac_save_CFLAGS
 
5036
elif test $ac_cv_prog_cc_g = yes; then
 
5037
  if test "$GCC" = yes; then
 
5038
    CFLAGS="-g -O2"
 
5039
  else
 
5040
    CFLAGS="-g"
 
5041
  fi
 
5042
else
 
5043
  if test "$GCC" = yes; then
 
5044
    CFLAGS="-O2"
 
5045
  else
 
5046
    CFLAGS=
 
5047
  fi
 
5048
fi
 
5049
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
5050
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
5051
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
5052
  $as_echo_n "(cached) " >&6
 
5053
else
 
5054
  ac_cv_prog_cc_c89=no
 
5055
ac_save_CC=$CC
 
5056
cat >conftest.$ac_ext <<_ACEOF
 
5057
/* confdefs.h.  */
 
5058
_ACEOF
 
5059
cat confdefs.h >>conftest.$ac_ext
 
5060
cat >>conftest.$ac_ext <<_ACEOF
 
5061
/* end confdefs.h.  */
 
5062
#include <stdarg.h>
 
5063
#include <stdio.h>
 
5064
#include <sys/types.h>
 
5065
#include <sys/stat.h>
 
5066
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
5067
struct buf { int x; };
 
5068
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
5069
static char *e (p, i)
 
5070
     char **p;
 
5071
     int i;
 
5072
{
 
5073
  return p[i];
 
5074
}
 
5075
static char *f (char * (*g) (char **, int), char **p, ...)
 
5076
{
 
5077
  char *s;
 
5078
  va_list v;
 
5079
  va_start (v,p);
 
5080
  s = g (p, va_arg (v,int));
 
5081
  va_end (v);
 
5082
  return s;
 
5083
}
 
5084
 
 
5085
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5086
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5087
   These don't provoke an error unfortunately, instead are silently treated
 
5088
   as 'x'.  The following induces an error, until -std is added to get
 
5089
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5090
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5091
   that's true only with -std.  */
 
5092
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5093
 
 
5094
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5095
   inside strings and character constants.  */
 
5096
#define FOO(x) 'x'
 
5097
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5098
 
 
5099
int test (int i, double x);
 
5100
struct s1 {int (*f) (int a);};
 
5101
struct s2 {int (*f) (double a);};
 
5102
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
5103
int argc;
 
5104
char **argv;
 
5105
int
 
5106
main ()
 
5107
{
 
5108
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
5109
  ;
 
5110
  return 0;
 
5111
}
 
5112
_ACEOF
 
5113
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5114
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5115
do
 
5116
  CC="$ac_save_CC $ac_arg"
 
5117
  rm -f conftest.$ac_objext
 
5118
if { (ac_try="$ac_compile"
 
5119
case "(($ac_try" in
 
5120
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5121
  *) ac_try_echo=$ac_try;;
 
5122
esac
 
5123
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5124
$as_echo "$ac_try_echo") >&5
 
5125
  (eval "$ac_compile") 2>conftest.er1
 
5126
  ac_status=$?
 
5127
  grep -v '^ *+' conftest.er1 >conftest.err
 
5128
  rm -f conftest.er1
 
5129
  cat conftest.err >&5
 
5130
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5131
  (exit $ac_status); } && {
 
5132
         test -z "$ac_c_werror_flag" ||
 
5133
         test ! -s conftest.err
 
5134
       } && test -s conftest.$ac_objext; then
 
5135
  ac_cv_prog_cc_c89=$ac_arg
 
5136
else
 
5137
  $as_echo "$as_me: failed program was:" >&5
 
5138
sed 's/^/| /' conftest.$ac_ext >&5
 
5139
 
 
5140
 
 
5141
fi
 
5142
 
 
5143
rm -f core conftest.err conftest.$ac_objext
 
5144
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
5145
done
 
5146
rm -f conftest.$ac_ext
 
5147
CC=$ac_save_CC
 
5148
 
 
5149
fi
 
5150
# AC_CACHE_VAL
 
5151
case "x$ac_cv_prog_cc_c89" in
 
5152
  x)
 
5153
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
5154
$as_echo "none needed" >&6; } ;;
 
5155
  xno)
 
5156
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
5157
$as_echo "unsupported" >&6; } ;;
 
5158
  *)
 
5159
    CC="$CC $ac_cv_prog_cc_c89"
 
5160
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5161
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
5162
esac
 
5163
 
 
5164
 
 
5165
ac_ext=c
 
5166
ac_cpp='$CPP $CPPFLAGS'
 
5167
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5168
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5169
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5170
 
 
5171
depcc="$CC"   am_compiler_list=
 
5172
 
 
5173
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5174
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5175
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
5176
  $as_echo_n "(cached) " >&6
 
5177
else
 
5178
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5179
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5180
  # making bogus files that we don't know about and never remove.  For
 
5181
  # instance it was reported that on HP-UX the gcc test will end up
 
5182
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5183
  # in D'.
 
5184
  mkdir conftest.dir
 
5185
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5186
  # using a relative directory.
 
5187
  cp "$am_depcomp" conftest.dir
 
5188
  cd conftest.dir
 
5189
  # We will build objects and dependencies in a subdirectory because
 
5190
  # it helps to detect inapplicable dependency modes.  For instance
 
5191
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5192
  # side effect of compilation, but ICC will put the dependencies in
 
5193
  # the current directory while Tru64 will put them in the object
 
5194
  # directory.
 
5195
  mkdir sub
 
5196
 
 
5197
  am_cv_CC_dependencies_compiler_type=none
 
5198
  if test "$am_compiler_list" = ""; then
 
5199
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5200
  fi
 
5201
  for depmode in $am_compiler_list; do
 
5202
    # Setup a source with many dependencies, because some compilers
 
5203
    # like to wrap large dependency lists on column 80 (with \), and
 
5204
    # we should not choose a depcomp mode which is confused by this.
 
5205
    #
 
5206
    # We need to recreate these files for each test, as the compiler may
 
5207
    # overwrite some of them when testing with obscure command lines.
 
5208
    # This happens at least with the AIX C compiler.
 
5209
    : > sub/conftest.c
 
5210
    for i in 1 2 3 4 5 6; do
 
5211
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5212
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5213
      # Solaris 8's {/usr,}/bin/sh.
 
5214
      touch sub/conftst$i.h
 
5215
    done
 
5216
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5217
 
 
5218
    case $depmode in
 
5219
    nosideeffect)
 
5220
      # after this tag, mechanisms are not by side-effect, so they'll
 
5221
      # only be used when explicitly requested
 
5222
      if test "x$enable_dependency_tracking" = xyes; then
 
5223
        continue
 
5224
      else
 
5225
        break
 
5226
      fi
 
5227
      ;;
 
5228
    none) break ;;
 
5229
    esac
 
5230
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5231
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5232
    # handle `-M -o', and we need to detect this.
 
5233
    if depmode=$depmode \
 
5234
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5235
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5236
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5237
         >/dev/null 2>conftest.err &&
 
5238
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
5239
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5240
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5241
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5242
      # icc doesn't choke on unknown options, it will just issue warnings
 
5243
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5244
      # that says an option was ignored or not supported.
 
5245
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5246
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5247
      # The diagnosis changed in icc 8.0:
 
5248
      #   icc: Command line remark: option '-MP' not supported
 
5249
      if (grep 'ignoring option' conftest.err ||
 
5250
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5251
        am_cv_CC_dependencies_compiler_type=$depmode
 
5252
        break
 
5253
      fi
 
5254
    fi
 
5255
  done
 
5256
 
 
5257
  cd ..
 
5258
  rm -rf conftest.dir
 
5259
else
 
5260
  am_cv_CC_dependencies_compiler_type=none
 
5261
fi
 
5262
 
 
5263
fi
 
5264
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5265
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
5266
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
5267
 
 
5268
 if
 
5269
  test "x$enable_dependency_tracking" != xno \
 
5270
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
5271
  am__fastdepCC_TRUE=
 
5272
  am__fastdepCC_FALSE='#'
 
5273
else
 
5274
  am__fastdepCC_TRUE='#'
 
5275
  am__fastdepCC_FALSE=
 
5276
fi
 
5277
 
 
5278
 
 
5279
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
5280
$as_echo_n "checking for library containing strerror... " >&6; }
4329
5281
if test "${ac_cv_search_strerror+set}" = set; then
4330
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5282
  $as_echo_n "(cached) " >&6
4331
5283
else
4332
5284
  ac_func_search_save_LIBS=$LIBS
4333
5285
cat >conftest.$ac_ext <<_ACEOF
4365
5317
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366
5318
  *) ac_try_echo=$ac_try;;
4367
5319
esac
4368
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5320
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5321
$as_echo "$ac_try_echo") >&5
4369
5322
  (eval "$ac_link") 2>conftest.er1
4370
5323
  ac_status=$?
4371
5324
  grep -v '^ *+' conftest.er1 >conftest.err
4372
5325
  rm -f conftest.er1
4373
5326
  cat conftest.err >&5
4374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5327
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375
5328
  (exit $ac_status); } && {
4376
5329
         test -z "$ac_c_werror_flag" ||
4377
5330
         test ! -s conftest.err
4378
 
       } && test -s conftest$ac_exeext &&
4379
 
       $as_test_x conftest$ac_exeext; then
 
5331
       } && test -s conftest$ac_exeext && {
 
5332
         test "$cross_compiling" = yes ||
 
5333
         $as_test_x conftest$ac_exeext
 
5334
       }; then
4380
5335
  ac_cv_search_strerror=$ac_res
4381
5336
else
4382
 
  echo "$as_me: failed program was:" >&5
 
5337
  $as_echo "$as_me: failed program was:" >&5
4383
5338
sed 's/^/| /' conftest.$ac_ext >&5
4384
5339
 
4385
5340
 
4386
5341
fi
4387
5342
 
 
5343
rm -rf conftest.dSYM
4388
5344
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4389
5345
      conftest$ac_exeext
4390
5346
  if test "${ac_cv_search_strerror+set}" = set; then
4399
5355
rm conftest.$ac_ext
4400
5356
LIBS=$ac_func_search_save_LIBS
4401
5357
fi
4402
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4403
 
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
5358
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
5359
$as_echo "$ac_cv_search_strerror" >&6; }
4404
5360
ac_res=$ac_cv_search_strerror
4405
5361
if test "$ac_res" != no; then
4406
5362
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4411
5367
do
4412
5368
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4413
5369
set dummy $ac_prog; ac_word=$2
4414
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4415
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5370
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5371
$as_echo_n "checking for $ac_word... " >&6; }
4416
5372
if test "${ac_cv_prog_AWK+set}" = set; then
4417
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5373
  $as_echo_n "(cached) " >&6
4418
5374
else
4419
5375
  if test -n "$AWK"; then
4420
5376
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4427
5383
  for ac_exec_ext in '' $ac_executable_extensions; do
4428
5384
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429
5385
    ac_cv_prog_AWK="$ac_prog"
4430
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5386
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4431
5387
    break 2
4432
5388
  fi
4433
5389
done
4438
5394
fi
4439
5395
AWK=$ac_cv_prog_AWK
4440
5396
if test -n "$AWK"; then
4441
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
4442
 
echo "${ECHO_T}$AWK" >&6; }
 
5397
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
5398
$as_echo "$AWK" >&6; }
4443
5399
else
4444
 
  { echo "$as_me:$LINENO: result: no" >&5
4445
 
echo "${ECHO_T}no" >&6; }
 
5400
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5401
$as_echo "no" >&6; }
4446
5402
fi
4447
5403
 
4448
5404
 
4463
5419
  do
4464
5420
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4465
5421
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4466
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4467
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5422
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5423
$as_echo_n "checking for $ac_word... " >&6; }
4468
5424
if test "${ac_cv_prog_CXX+set}" = set; then
4469
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5425
  $as_echo_n "(cached) " >&6
4470
5426
else
4471
5427
  if test -n "$CXX"; then
4472
5428
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4479
5435
  for ac_exec_ext in '' $ac_executable_extensions; do
4480
5436
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4481
5437
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4482
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5438
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4483
5439
    break 2
4484
5440
  fi
4485
5441
done
4490
5446
fi
4491
5447
CXX=$ac_cv_prog_CXX
4492
5448
if test -n "$CXX"; then
4493
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
4494
 
echo "${ECHO_T}$CXX" >&6; }
 
5449
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
5450
$as_echo "$CXX" >&6; }
4495
5451
else
4496
 
  { echo "$as_me:$LINENO: result: no" >&5
4497
 
echo "${ECHO_T}no" >&6; }
 
5452
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5453
$as_echo "no" >&6; }
4498
5454
fi
4499
5455
 
4500
5456
 
4507
5463
do
4508
5464
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4509
5465
set dummy $ac_prog; ac_word=$2
4510
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4511
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5466
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5467
$as_echo_n "checking for $ac_word... " >&6; }
4512
5468
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4513
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5469
  $as_echo_n "(cached) " >&6
4514
5470
else
4515
5471
  if test -n "$ac_ct_CXX"; then
4516
5472
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4523
5479
  for ac_exec_ext in '' $ac_executable_extensions; do
4524
5480
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4525
5481
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4526
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5482
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4527
5483
    break 2
4528
5484
  fi
4529
5485
done
4534
5490
fi
4535
5491
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4536
5492
if test -n "$ac_ct_CXX"; then
4537
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4538
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
5493
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5494
$as_echo "$ac_ct_CXX" >&6; }
4539
5495
else
4540
 
  { echo "$as_me:$LINENO: result: no" >&5
4541
 
echo "${ECHO_T}no" >&6; }
 
5496
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5497
$as_echo "no" >&6; }
4542
5498
fi
4543
5499
 
4544
5500
 
4550
5506
  else
4551
5507
    case $cross_compiling:$ac_tool_warned in
4552
5508
yes:)
4553
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4554
 
whose name does not start with the host triplet.  If you think this
4555
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4556
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4557
 
whose name does not start with the host triplet.  If you think this
4558
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5509
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5510
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4559
5511
ac_tool_warned=yes ;;
4560
5512
esac
4561
5513
    CXX=$ac_ct_CXX
4565
5517
  fi
4566
5518
fi
4567
5519
# Provide some information about the compiler.
4568
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4569
 
ac_compiler=`set X $ac_compile; echo $2`
 
5520
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
5521
set X $ac_compile
 
5522
ac_compiler=$2
4570
5523
{ (ac_try="$ac_compiler --version >&5"
4571
5524
case "(($ac_try" in
4572
5525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4573
5526
  *) ac_try_echo=$ac_try;;
4574
5527
esac
4575
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5528
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5529
$as_echo "$ac_try_echo") >&5
4576
5530
  (eval "$ac_compiler --version >&5") 2>&5
4577
5531
  ac_status=$?
4578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5532
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579
5533
  (exit $ac_status); }
4580
5534
{ (ac_try="$ac_compiler -v >&5"
4581
5535
case "(($ac_try" in
4582
5536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4583
5537
  *) ac_try_echo=$ac_try;;
4584
5538
esac
4585
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5539
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5540
$as_echo "$ac_try_echo") >&5
4586
5541
  (eval "$ac_compiler -v >&5") 2>&5
4587
5542
  ac_status=$?
4588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5543
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589
5544
  (exit $ac_status); }
4590
5545
{ (ac_try="$ac_compiler -V >&5"
4591
5546
case "(($ac_try" in
4592
5547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593
5548
  *) ac_try_echo=$ac_try;;
4594
5549
esac
4595
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5550
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5551
$as_echo "$ac_try_echo") >&5
4596
5552
  (eval "$ac_compiler -V >&5") 2>&5
4597
5553
  ac_status=$?
4598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5554
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599
5555
  (exit $ac_status); }
4600
5556
 
4601
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4602
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
5557
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5558
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4603
5559
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4604
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5560
  $as_echo_n "(cached) " >&6
4605
5561
else
4606
5562
  cat >conftest.$ac_ext <<_ACEOF
4607
5563
/* confdefs.h.  */
4627
5583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4628
5584
  *) ac_try_echo=$ac_try;;
4629
5585
esac
4630
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5586
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5587
$as_echo "$ac_try_echo") >&5
4631
5588
  (eval "$ac_compile") 2>conftest.er1
4632
5589
  ac_status=$?
4633
5590
  grep -v '^ *+' conftest.er1 >conftest.err
4634
5591
  rm -f conftest.er1
4635
5592
  cat conftest.err >&5
4636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5593
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637
5594
  (exit $ac_status); } && {
4638
5595
         test -z "$ac_cxx_werror_flag" ||
4639
5596
         test ! -s conftest.err
4640
5597
       } && test -s conftest.$ac_objext; then
4641
5598
  ac_compiler_gnu=yes
4642
5599
else
4643
 
  echo "$as_me: failed program was:" >&5
 
5600
  $as_echo "$as_me: failed program was:" >&5
4644
5601
sed 's/^/| /' conftest.$ac_ext >&5
4645
5602
 
4646
5603
        ac_compiler_gnu=no
4650
5607
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4651
5608
 
4652
5609
fi
4653
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4654
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4655
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
5610
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5611
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
5612
if test $ac_compiler_gnu = yes; then
 
5613
  GXX=yes
 
5614
else
 
5615
  GXX=
 
5616
fi
4656
5617
ac_test_CXXFLAGS=${CXXFLAGS+set}
4657
5618
ac_save_CXXFLAGS=$CXXFLAGS
4658
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4659
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
5619
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5620
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4660
5621
if test "${ac_cv_prog_cxx_g+set}" = set; then
4661
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5622
  $as_echo_n "(cached) " >&6
4662
5623
else
4663
5624
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4664
5625
   ac_cxx_werror_flag=yes
4685
5646
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4686
5647
  *) ac_try_echo=$ac_try;;
4687
5648
esac
4688
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5649
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5650
$as_echo "$ac_try_echo") >&5
4689
5651
  (eval "$ac_compile") 2>conftest.er1
4690
5652
  ac_status=$?
4691
5653
  grep -v '^ *+' conftest.er1 >conftest.err
4692
5654
  rm -f conftest.er1
4693
5655
  cat conftest.err >&5
4694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5656
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695
5657
  (exit $ac_status); } && {
4696
5658
         test -z "$ac_cxx_werror_flag" ||
4697
5659
         test ! -s conftest.err
4698
5660
       } && test -s conftest.$ac_objext; then
4699
5661
  ac_cv_prog_cxx_g=yes
4700
5662
else
4701
 
  echo "$as_me: failed program was:" >&5
 
5663
  $as_echo "$as_me: failed program was:" >&5
4702
5664
sed 's/^/| /' conftest.$ac_ext >&5
4703
5665
 
4704
5666
        CXXFLAGS=""
4723
5685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4724
5686
  *) ac_try_echo=$ac_try;;
4725
5687
esac
4726
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5688
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5689
$as_echo "$ac_try_echo") >&5
4727
5690
  (eval "$ac_compile") 2>conftest.er1
4728
5691
  ac_status=$?
4729
5692
  grep -v '^ *+' conftest.er1 >conftest.err
4730
5693
  rm -f conftest.er1
4731
5694
  cat conftest.err >&5
4732
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5695
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733
5696
  (exit $ac_status); } && {
4734
5697
         test -z "$ac_cxx_werror_flag" ||
4735
5698
         test ! -s conftest.err
4736
5699
       } && test -s conftest.$ac_objext; then
4737
5700
  :
4738
5701
else
4739
 
  echo "$as_me: failed program was:" >&5
 
5702
  $as_echo "$as_me: failed program was:" >&5
4740
5703
sed 's/^/| /' conftest.$ac_ext >&5
4741
5704
 
4742
5705
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4762
5725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4763
5726
  *) ac_try_echo=$ac_try;;
4764
5727
esac
4765
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5729
$as_echo "$ac_try_echo") >&5
4766
5730
  (eval "$ac_compile") 2>conftest.er1
4767
5731
  ac_status=$?
4768
5732
  grep -v '^ *+' conftest.er1 >conftest.err
4769
5733
  rm -f conftest.er1
4770
5734
  cat conftest.err >&5
4771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5735
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772
5736
  (exit $ac_status); } && {
4773
5737
         test -z "$ac_cxx_werror_flag" ||
4774
5738
         test ! -s conftest.err
4775
5739
       } && test -s conftest.$ac_objext; then
4776
5740
  ac_cv_prog_cxx_g=yes
4777
5741
else
4778
 
  echo "$as_me: failed program was:" >&5
 
5742
  $as_echo "$as_me: failed program was:" >&5
4779
5743
sed 's/^/| /' conftest.$ac_ext >&5
4780
5744
 
4781
5745
 
4790
5754
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4791
5755
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4792
5756
fi
4793
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4794
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
5757
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5758
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4795
5759
if test "$ac_test_CXXFLAGS" = set; then
4796
5760
  CXXFLAGS=$ac_save_CXXFLAGS
4797
5761
elif test $ac_cv_prog_cxx_g = yes; then
4815
5779
 
4816
5780
depcc="$CXX"  am_compiler_list=
4817
5781
 
4818
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4819
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
5782
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5783
$as_echo_n "checking dependency style of $depcc... " >&6; }
4820
5784
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4821
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5785
  $as_echo_n "(cached) " >&6
4822
5786
else
4823
5787
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4824
5788
  # We make a subdir and do the tests there.  Otherwise we can end up
4906
5870
fi
4907
5871
 
4908
5872
fi
4909
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4910
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
5873
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5874
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4911
5875
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4912
5876
 
4913
5877
 if
4995
5959
 
4996
5960
# Make sure we can run config.sub.
4997
5961
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4998
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4999
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
5962
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
5963
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5000
5964
   { (exit 1); exit 1; }; }
5001
5965
 
5002
 
{ echo "$as_me:$LINENO: checking build system type" >&5
5003
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
5966
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
5967
$as_echo_n "checking build system type... " >&6; }
5004
5968
if test "${ac_cv_build+set}" = set; then
5005
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5969
  $as_echo_n "(cached) " >&6
5006
5970
else
5007
5971
  ac_build_alias=$build_alias
5008
5972
test "x$ac_build_alias" = x &&
5009
5973
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5010
5974
test "x$ac_build_alias" = x &&
5011
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5012
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
5975
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
5976
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5013
5977
   { (exit 1); exit 1; }; }
5014
5978
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5015
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5016
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
5979
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
5980
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5017
5981
   { (exit 1); exit 1; }; }
5018
5982
 
5019
5983
fi
5020
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5021
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
5984
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
5985
$as_echo "$ac_cv_build" >&6; }
5022
5986
case $ac_cv_build in
5023
5987
*-*-*) ;;
5024
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5025
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
5988
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
5989
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
5026
5990
   { (exit 1); exit 1; }; };;
5027
5991
esac
5028
5992
build=$ac_cv_build
5039
6003
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5040
6004
 
5041
6005
 
5042
 
{ echo "$as_me:$LINENO: checking host system type" >&5
5043
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
6006
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
6007
$as_echo_n "checking host system type... " >&6; }
5044
6008
if test "${ac_cv_host+set}" = set; then
5045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6009
  $as_echo_n "(cached) " >&6
5046
6010
else
5047
6011
  if test "x$host_alias" = x; then
5048
6012
  ac_cv_host=$ac_cv_build
5049
6013
else
5050
6014
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5051
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5052
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
6015
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
6016
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5053
6017
   { (exit 1); exit 1; }; }
5054
6018
fi
5055
6019
 
5056
6020
fi
5057
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5058
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
6021
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
6022
$as_echo "$ac_cv_host" >&6; }
5059
6023
case $ac_cv_host in
5060
6024
*-*-*) ;;
5061
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5062
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
6025
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
6026
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
5063
6027
   { (exit 1); exit 1; }; };;
5064
6028
esac
5065
6029
host=$ac_cv_host
5076
6040
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5077
6041
 
5078
6042
 
5079
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5080
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
 
6043
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
6044
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5081
6045
if test "${lt_cv_path_SED+set}" = set; then
5082
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6046
  $as_echo_n "(cached) " >&6
5083
6047
else
5084
6048
  # Loop through the user's path and test for sed and gsed.
5085
6049
# Then use that list of sed's as ones to test for truncation.
5132
6096
 
5133
6097
SED=$lt_cv_path_SED
5134
6098
 
5135
 
{ echo "$as_me:$LINENO: result: $SED" >&5
5136
 
echo "${ECHO_T}$SED" >&6; }
 
6099
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
 
6100
$as_echo "$SED" >&6; }
5137
6101
 
5138
6102
 
5139
6103
# Check whether --with-gnu-ld was given.
5146
6110
ac_prog=ld
5147
6111
if test "$GCC" = yes; then
5148
6112
  # Check if gcc -print-prog-name=ld gives a path.
5149
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5150
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
6113
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
6114
$as_echo_n "checking for ld used by $CC... " >&6; }
5151
6115
  case $host in
5152
6116
  *-*-mingw*)
5153
6117
    # gcc leaves a trailing carriage return which upsets mingw
5176
6140
    ;;
5177
6141
  esac
5178
6142
elif test "$with_gnu_ld" = yes; then
5179
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
5180
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
6143
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
6144
$as_echo_n "checking for GNU ld... " >&6; }
5181
6145
else
5182
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5183
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
6146
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
6147
$as_echo_n "checking for non-GNU ld... " >&6; }
5184
6148
fi
5185
6149
if test "${lt_cv_path_LD+set}" = set; then
5186
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6150
  $as_echo_n "(cached) " >&6
5187
6151
else
5188
6152
  if test -z "$LD"; then
5189
6153
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5213
6177
 
5214
6178
LD="$lt_cv_path_LD"
5215
6179
if test -n "$LD"; then
5216
 
  { echo "$as_me:$LINENO: result: $LD" >&5
5217
 
echo "${ECHO_T}$LD" >&6; }
 
6180
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
6181
$as_echo "$LD" >&6; }
5218
6182
else
5219
 
  { echo "$as_me:$LINENO: result: no" >&5
5220
 
echo "${ECHO_T}no" >&6; }
 
6183
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6184
$as_echo "no" >&6; }
5221
6185
fi
5222
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5223
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
6186
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
6187
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5224
6188
   { (exit 1); exit 1; }; }
5225
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5226
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
6189
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
6190
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5227
6191
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5228
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6192
  $as_echo_n "(cached) " >&6
5229
6193
else
5230
6194
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5231
6195
case `$LD -v 2>&1 </dev/null` in
5237
6201
  ;;
5238
6202
esac
5239
6203
fi
5240
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5241
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
6204
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
6205
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5242
6206
with_gnu_ld=$lt_cv_prog_gnu_ld
5243
6207
 
5244
6208
 
5245
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5246
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 
6209
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6210
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5247
6211
if test "${lt_cv_ld_reload_flag+set}" = set; then
5248
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6212
  $as_echo_n "(cached) " >&6
5249
6213
else
5250
6214
  lt_cv_ld_reload_flag='-r'
5251
6215
fi
5252
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5253
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
6216
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6217
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5254
6218
reload_flag=$lt_cv_ld_reload_flag
5255
6219
case $reload_flag in
5256
6220
"" | " "*) ;;
5267
6231
    ;;
5268
6232
esac
5269
6233
 
5270
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5271
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
6234
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
6235
$as_echo_n "checking for BSD-compatible nm... " >&6; }
5272
6236
if test "${lt_cv_path_NM+set}" = set; then
5273
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6237
  $as_echo_n "(cached) " >&6
5274
6238
else
5275
6239
  if test -n "$NM"; then
5276
6240
  # Let the user override the test.
5316
6280
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5317
6281
fi
5318
6282
fi
5319
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5320
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 
6283
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
6284
$as_echo "$lt_cv_path_NM" >&6; }
5321
6285
NM="$lt_cv_path_NM"
5322
6286
 
5323
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5324
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
6287
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6288
$as_echo_n "checking whether ln -s works... " >&6; }
5325
6289
LN_S=$as_ln_s
5326
6290
if test "$LN_S" = "ln -s"; then
5327
 
  { echo "$as_me:$LINENO: result: yes" >&5
5328
 
echo "${ECHO_T}yes" >&6; }
 
6291
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6292
$as_echo "yes" >&6; }
5329
6293
else
5330
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5331
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
6294
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6295
$as_echo "no, using $LN_S" >&6; }
5332
6296
fi
5333
6297
 
5334
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5335
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
6298
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6299
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5336
6300
if test "${lt_cv_deplibs_check_method+set}" = set; then
5337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6301
  $as_echo_n "(cached) " >&6
5338
6302
else
5339
6303
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5340
6304
lt_cv_file_magic_test_file=
5351
6315
# whether `pass_all' will *always* work, you probably want this one.
5352
6316
 
5353
6317
case $host_os in
5354
 
aix4* | aix5*)
 
6318
aix[4-9]*)
5355
6319
  lt_cv_deplibs_check_method=pass_all
5356
6320
  ;;
5357
6321
 
5517
6481
esac
5518
6482
 
5519
6483
fi
5520
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5521
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
6484
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6485
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5522
6486
file_magic_cmd=$lt_cv_file_magic_cmd
5523
6487
deplibs_check_method=$lt_cv_deplibs_check_method
5524
6488
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5551
6515
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5552
6516
  (eval $ac_compile) 2>&5
5553
6517
  ac_status=$?
5554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6518
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555
6519
  (exit $ac_status); }; then
5556
6520
    case `/usr/bin/file conftest.$ac_objext` in
5557
6521
    *ELF-32*)
5566
6530
  ;;
5567
6531
*-*-irix6*)
5568
6532
  # Find out which ABI we are using.
5569
 
  echo '#line 5569 "configure"' > conftest.$ac_ext
 
6533
  echo '#line 6533 "configure"' > conftest.$ac_ext
5570
6534
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5571
6535
  (eval $ac_compile) 2>&5
5572
6536
  ac_status=$?
5573
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6537
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574
6538
  (exit $ac_status); }; then
5575
6539
   if test "$lt_cv_prog_gnu_ld" = yes; then
5576
6540
    case `/usr/bin/file conftest.$ac_objext` in
5608
6572
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5609
6573
  (eval $ac_compile) 2>&5
5610
6574
  ac_status=$?
5611
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6575
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612
6576
  (exit $ac_status); }; then
5613
6577
    case `/usr/bin/file conftest.o` in
5614
6578
    *32-bit*)
5659
6623
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5660
6624
  SAVE_CFLAGS="$CFLAGS"
5661
6625
  CFLAGS="$CFLAGS -belf"
5662
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5663
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 
6626
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6627
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5664
6628
if test "${lt_cv_cc_needs_belf+set}" = set; then
5665
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6629
  $as_echo_n "(cached) " >&6
5666
6630
else
5667
6631
  ac_ext=c
5668
6632
ac_cpp='$CPP $CPPFLAGS'
5691
6655
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5692
6656
  *) ac_try_echo=$ac_try;;
5693
6657
esac
5694
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6658
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6659
$as_echo "$ac_try_echo") >&5
5695
6660
  (eval "$ac_link") 2>conftest.er1
5696
6661
  ac_status=$?
5697
6662
  grep -v '^ *+' conftest.er1 >conftest.err
5698
6663
  rm -f conftest.er1
5699
6664
  cat conftest.err >&5
5700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6665
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701
6666
  (exit $ac_status); } && {
5702
6667
         test -z "$ac_c_werror_flag" ||
5703
6668
         test ! -s conftest.err
5704
 
       } && test -s conftest$ac_exeext &&
5705
 
       $as_test_x conftest$ac_exeext; then
 
6669
       } && test -s conftest$ac_exeext && {
 
6670
         test "$cross_compiling" = yes ||
 
6671
         $as_test_x conftest$ac_exeext
 
6672
       }; then
5706
6673
  lt_cv_cc_needs_belf=yes
5707
6674
else
5708
 
  echo "$as_me: failed program was:" >&5
 
6675
  $as_echo "$as_me: failed program was:" >&5
5709
6676
sed 's/^/| /' conftest.$ac_ext >&5
5710
6677
 
5711
6678
        lt_cv_cc_needs_belf=no
5712
6679
fi
5713
6680
 
 
6681
rm -rf conftest.dSYM
5714
6682
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5715
6683
      conftest$ac_exeext conftest.$ac_ext
5716
6684
     ac_ext=c
5720
6688
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5721
6689
 
5722
6690
fi
5723
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5724
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
6691
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6692
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5725
6693
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5726
6694
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5727
6695
    CFLAGS="$SAVE_CFLAGS"
5733
6701
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5734
6702
  (eval $ac_compile) 2>&5
5735
6703
  ac_status=$?
5736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6704
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737
6705
  (exit $ac_status); }; then
5738
6706
    case `/usr/bin/file conftest.o` in
5739
6707
    *64-bit*)
5740
6708
      case $lt_cv_prog_gnu_ld in
5741
6709
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5742
 
      *)    LD="${LD-ld} -64" ;;
 
6710
      *)
 
6711
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6712
          LD="${LD-ld} -64"
 
6713
        fi
 
6714
        ;;
5743
6715
      esac
5744
6716
      ;;
5745
6717
    esac
5756
6728
 
5757
6729
for ac_header in dlfcn.h
5758
6730
do
5759
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5760
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5761
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5762
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5763
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5764
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6731
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6732
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6733
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6734
$as_echo_n "checking for $ac_header... " >&6; }
 
6735
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6736
  $as_echo_n "(cached) " >&6
5765
6737
fi
5766
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5767
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5768
 
echo "${ECHO_T}$ac_res" >&6; }
 
6738
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6739
                 $as_echo "$as_val"'`
 
6740
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6741
$as_echo "$ac_res" >&6; }
5769
6742
else
5770
6743
  # Is the header compilable?
5771
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5772
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
6744
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6745
$as_echo_n "checking $ac_header usability... " >&6; }
5773
6746
cat >conftest.$ac_ext <<_ACEOF
5774
6747
/* confdefs.h.  */
5775
6748
_ACEOF
5785
6758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5786
6759
  *) ac_try_echo=$ac_try;;
5787
6760
esac
5788
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6761
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6762
$as_echo "$ac_try_echo") >&5
5789
6763
  (eval "$ac_compile") 2>conftest.er1
5790
6764
  ac_status=$?
5791
6765
  grep -v '^ *+' conftest.er1 >conftest.err
5792
6766
  rm -f conftest.er1
5793
6767
  cat conftest.err >&5
5794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6768
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795
6769
  (exit $ac_status); } && {
5796
6770
         test -z "$ac_c_werror_flag" ||
5797
6771
         test ! -s conftest.err
5798
6772
       } && test -s conftest.$ac_objext; then
5799
6773
  ac_header_compiler=yes
5800
6774
else
5801
 
  echo "$as_me: failed program was:" >&5
 
6775
  $as_echo "$as_me: failed program was:" >&5
5802
6776
sed 's/^/| /' conftest.$ac_ext >&5
5803
6777
 
5804
6778
        ac_header_compiler=no
5805
6779
fi
5806
6780
 
5807
6781
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5808
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5809
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
6782
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6783
$as_echo "$ac_header_compiler" >&6; }
5810
6784
 
5811
6785
# Is the header present?
5812
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5813
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
6786
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6787
$as_echo_n "checking $ac_header presence... " >&6; }
5814
6788
cat >conftest.$ac_ext <<_ACEOF
5815
6789
/* confdefs.h.  */
5816
6790
_ACEOF
5824
6798
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5825
6799
  *) ac_try_echo=$ac_try;;
5826
6800
esac
5827
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6801
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6802
$as_echo "$ac_try_echo") >&5
5828
6803
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5829
6804
  ac_status=$?
5830
6805
  grep -v '^ *+' conftest.er1 >conftest.err
5831
6806
  rm -f conftest.er1
5832
6807
  cat conftest.err >&5
5833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6808
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834
6809
  (exit $ac_status); } >/dev/null && {
5835
6810
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5836
6811
         test ! -s conftest.err
5837
6812
       }; then
5838
6813
  ac_header_preproc=yes
5839
6814
else
5840
 
  echo "$as_me: failed program was:" >&5
 
6815
  $as_echo "$as_me: failed program was:" >&5
5841
6816
sed 's/^/| /' conftest.$ac_ext >&5
5842
6817
 
5843
6818
  ac_header_preproc=no
5844
6819
fi
5845
6820
 
5846
6821
rm -f conftest.err conftest.$ac_ext
5847
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5848
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
6822
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6823
$as_echo "$ac_header_preproc" >&6; }
5849
6824
 
5850
6825
# So?  What about this header?
5851
6826
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5852
6827
  yes:no: )
5853
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5854
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5855
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5856
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
6828
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
6829
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
6830
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
6831
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5857
6832
    ac_header_preproc=yes
5858
6833
    ;;
5859
6834
  no:yes:* )
5860
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5861
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5862
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5863
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5864
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5865
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5866
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5867
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5868
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5869
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5870
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5871
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
6835
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
6836
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
6837
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
6838
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
6839
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
6840
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
6841
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
6842
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6843
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
6844
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
6845
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
6846
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5872
6847
    ( cat <<\_ASBOX
5873
6848
## -------------------------------------------------- ##
5874
6849
## Report this to courier-users@lists.sourceforge.net ##
5877
6852
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5878
6853
    ;;
5879
6854
esac
5880
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5881
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6855
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6856
$as_echo_n "checking for $ac_header... " >&6; }
5882
6857
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5883
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6858
  $as_echo_n "(cached) " >&6
5884
6859
else
5885
6860
  eval "$as_ac_Header=\$ac_header_preproc"
5886
6861
fi
5887
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5888
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5889
 
echo "${ECHO_T}$ac_res" >&6; }
 
6862
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6863
                 $as_echo "$as_val"'`
 
6864
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6865
$as_echo "$ac_res" >&6; }
5890
6866
 
5891
6867
fi
5892
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6868
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6869
                 $as_echo "$as_val"'`
 
6870
   if test "x$as_val" = x""yes; then
5893
6871
  cat >>confdefs.h <<_ACEOF
5894
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6872
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5895
6873
_ACEOF
5896
6874
 
5897
6875
fi
5908
6886
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5909
6887
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5910
6888
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5911
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5912
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
6889
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6890
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5913
6891
if test -z "$CXXCPP"; then
5914
6892
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5915
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6893
  $as_echo_n "(cached) " >&6
5916
6894
else
5917
6895
      # Double quotes because CXXCPP needs to be expanded
5918
6896
    for CXXCPP in "$CXX -E" "/lib/cpp"
5944
6922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5945
6923
  *) ac_try_echo=$ac_try;;
5946
6924
esac
5947
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6925
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6926
$as_echo "$ac_try_echo") >&5
5948
6927
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5949
6928
  ac_status=$?
5950
6929
  grep -v '^ *+' conftest.er1 >conftest.err
5951
6930
  rm -f conftest.er1
5952
6931
  cat conftest.err >&5
5953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6932
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954
6933
  (exit $ac_status); } >/dev/null && {
5955
6934
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5956
6935
         test ! -s conftest.err
5957
6936
       }; then
5958
6937
  :
5959
6938
else
5960
 
  echo "$as_me: failed program was:" >&5
 
6939
  $as_echo "$as_me: failed program was:" >&5
5961
6940
sed 's/^/| /' conftest.$ac_ext >&5
5962
6941
 
5963
6942
  # Broken: fails on valid input.
5981
6960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5982
6961
  *) ac_try_echo=$ac_try;;
5983
6962
esac
5984
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6963
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6964
$as_echo "$ac_try_echo") >&5
5985
6965
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5986
6966
  ac_status=$?
5987
6967
  grep -v '^ *+' conftest.er1 >conftest.err
5988
6968
  rm -f conftest.er1
5989
6969
  cat conftest.err >&5
5990
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6970
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991
6971
  (exit $ac_status); } >/dev/null && {
5992
6972
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5993
6973
         test ! -s conftest.err
5995
6975
  # Broken: success on invalid input.
5996
6976
continue
5997
6977
else
5998
 
  echo "$as_me: failed program was:" >&5
 
6978
  $as_echo "$as_me: failed program was:" >&5
5999
6979
sed 's/^/| /' conftest.$ac_ext >&5
6000
6980
 
6001
6981
  # Passes both tests.
6020
7000
else
6021
7001
  ac_cv_prog_CXXCPP=$CXXCPP
6022
7002
fi
6023
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6024
 
echo "${ECHO_T}$CXXCPP" >&6; }
 
7003
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
7004
$as_echo "$CXXCPP" >&6; }
6025
7005
ac_preproc_ok=false
6026
7006
for ac_cxx_preproc_warn_flag in '' yes
6027
7007
do
6049
7029
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6050
7030
  *) ac_try_echo=$ac_try;;
6051
7031
esac
6052
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7032
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7033
$as_echo "$ac_try_echo") >&5
6053
7034
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6054
7035
  ac_status=$?
6055
7036
  grep -v '^ *+' conftest.er1 >conftest.err
6056
7037
  rm -f conftest.er1
6057
7038
  cat conftest.err >&5
6058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7039
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059
7040
  (exit $ac_status); } >/dev/null && {
6060
7041
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6061
7042
         test ! -s conftest.err
6062
7043
       }; then
6063
7044
  :
6064
7045
else
6065
 
  echo "$as_me: failed program was:" >&5
 
7046
  $as_echo "$as_me: failed program was:" >&5
6066
7047
sed 's/^/| /' conftest.$ac_ext >&5
6067
7048
 
6068
7049
  # Broken: fails on valid input.
6086
7067
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6087
7068
  *) ac_try_echo=$ac_try;;
6088
7069
esac
6089
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7070
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7071
$as_echo "$ac_try_echo") >&5
6090
7072
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6091
7073
  ac_status=$?
6092
7074
  grep -v '^ *+' conftest.er1 >conftest.err
6093
7075
  rm -f conftest.er1
6094
7076
  cat conftest.err >&5
6095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7077
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096
7078
  (exit $ac_status); } >/dev/null && {
6097
7079
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6098
7080
         test ! -s conftest.err
6100
7082
  # Broken: success on invalid input.
6101
7083
continue
6102
7084
else
6103
 
  echo "$as_me: failed program was:" >&5
 
7085
  $as_echo "$as_me: failed program was:" >&5
6104
7086
sed 's/^/| /' conftest.$ac_ext >&5
6105
7087
 
6106
7088
  # Passes both tests.
6116
7098
if $ac_preproc_ok; then
6117
7099
  :
6118
7100
else
6119
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
7101
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7102
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7103
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6120
7104
See \`config.log' for more details." >&5
6121
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
7105
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6122
7106
See \`config.log' for more details." >&2;}
6123
 
   { (exit 1); exit 1; }; }
 
7107
   { (exit 1); exit 1; }; }; }
6124
7108
fi
6125
7109
 
6126
7110
ac_ext=cpp
6141
7125
  do
6142
7126
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6143
7127
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6144
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6145
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7128
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7129
$as_echo_n "checking for $ac_word... " >&6; }
6146
7130
if test "${ac_cv_prog_F77+set}" = set; then
6147
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7131
  $as_echo_n "(cached) " >&6
6148
7132
else
6149
7133
  if test -n "$F77"; then
6150
7134
  ac_cv_prog_F77="$F77" # Let the user override the test.
6157
7141
  for ac_exec_ext in '' $ac_executable_extensions; do
6158
7142
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6159
7143
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6160
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7144
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161
7145
    break 2
6162
7146
  fi
6163
7147
done
6168
7152
fi
6169
7153
F77=$ac_cv_prog_F77
6170
7154
if test -n "$F77"; then
6171
 
  { echo "$as_me:$LINENO: result: $F77" >&5
6172
 
echo "${ECHO_T}$F77" >&6; }
 
7155
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
 
7156
$as_echo "$F77" >&6; }
6173
7157
else
6174
 
  { echo "$as_me:$LINENO: result: no" >&5
6175
 
echo "${ECHO_T}no" >&6; }
 
7158
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7159
$as_echo "no" >&6; }
6176
7160
fi
6177
7161
 
6178
7162
 
6185
7169
do
6186
7170
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6187
7171
set dummy $ac_prog; ac_word=$2
6188
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6189
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7172
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7173
$as_echo_n "checking for $ac_word... " >&6; }
6190
7174
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6191
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7175
  $as_echo_n "(cached) " >&6
6192
7176
else
6193
7177
  if test -n "$ac_ct_F77"; then
6194
7178
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6201
7185
  for ac_exec_ext in '' $ac_executable_extensions; do
6202
7186
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203
7187
    ac_cv_prog_ac_ct_F77="$ac_prog"
6204
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7188
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6205
7189
    break 2
6206
7190
  fi
6207
7191
done
6212
7196
fi
6213
7197
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6214
7198
if test -n "$ac_ct_F77"; then
6215
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6216
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
 
7199
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
7200
$as_echo "$ac_ct_F77" >&6; }
6217
7201
else
6218
 
  { echo "$as_me:$LINENO: result: no" >&5
6219
 
echo "${ECHO_T}no" >&6; }
 
7202
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7203
$as_echo "no" >&6; }
6220
7204
fi
6221
7205
 
6222
7206
 
6228
7212
  else
6229
7213
    case $cross_compiling:$ac_tool_warned in
6230
7214
yes:)
6231
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6232
 
whose name does not start with the host triplet.  If you think this
6233
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6234
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6235
 
whose name does not start with the host triplet.  If you think this
6236
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7215
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7216
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6237
7217
ac_tool_warned=yes ;;
6238
7218
esac
6239
7219
    F77=$ac_ct_F77
6242
7222
 
6243
7223
 
6244
7224
# Provide some information about the compiler.
6245
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6246
 
ac_compiler=`set X $ac_compile; echo $2`
 
7225
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 
7226
set X $ac_compile
 
7227
ac_compiler=$2
6247
7228
{ (ac_try="$ac_compiler --version >&5"
6248
7229
case "(($ac_try" in
6249
7230
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6250
7231
  *) ac_try_echo=$ac_try;;
6251
7232
esac
6252
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7233
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7234
$as_echo "$ac_try_echo") >&5
6253
7235
  (eval "$ac_compiler --version >&5") 2>&5
6254
7236
  ac_status=$?
6255
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7237
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256
7238
  (exit $ac_status); }
6257
7239
{ (ac_try="$ac_compiler -v >&5"
6258
7240
case "(($ac_try" in
6259
7241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6260
7242
  *) ac_try_echo=$ac_try;;
6261
7243
esac
6262
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7244
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7245
$as_echo "$ac_try_echo") >&5
6263
7246
  (eval "$ac_compiler -v >&5") 2>&5
6264
7247
  ac_status=$?
6265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7248
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266
7249
  (exit $ac_status); }
6267
7250
{ (ac_try="$ac_compiler -V >&5"
6268
7251
case "(($ac_try" in
6269
7252
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6270
7253
  *) ac_try_echo=$ac_try;;
6271
7254
esac
6272
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7255
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7256
$as_echo "$ac_try_echo") >&5
6273
7257
  (eval "$ac_compiler -V >&5") 2>&5
6274
7258
  ac_status=$?
6275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7259
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276
7260
  (exit $ac_status); }
6277
7261
rm -f a.out
6278
7262
 
6280
7264
# input file.  (Note that this only needs to work for GNU compilers.)
6281
7265
ac_save_ext=$ac_ext
6282
7266
ac_ext=F
6283
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6284
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
 
7267
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
7268
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6285
7269
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6286
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7270
  $as_echo_n "(cached) " >&6
6287
7271
else
6288
7272
  cat >conftest.$ac_ext <<_ACEOF
6289
7273
      program main
6299
7283
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6300
7284
  *) ac_try_echo=$ac_try;;
6301
7285
esac
6302
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7286
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7287
$as_echo "$ac_try_echo") >&5
6303
7288
  (eval "$ac_compile") 2>conftest.er1
6304
7289
  ac_status=$?
6305
7290
  grep -v '^ *+' conftest.er1 >conftest.err
6306
7291
  rm -f conftest.er1
6307
7292
  cat conftest.err >&5
6308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7293
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309
7294
  (exit $ac_status); } && {
6310
7295
         test -z "$ac_f77_werror_flag" ||
6311
7296
         test ! -s conftest.err
6312
7297
       } && test -s conftest.$ac_objext; then
6313
7298
  ac_compiler_gnu=yes
6314
7299
else
6315
 
  echo "$as_me: failed program was:" >&5
 
7300
  $as_echo "$as_me: failed program was:" >&5
6316
7301
sed 's/^/| /' conftest.$ac_ext >&5
6317
7302
 
6318
7303
        ac_compiler_gnu=no
6322
7307
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6323
7308
 
6324
7309
fi
6325
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6326
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
 
7310
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
7311
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6327
7312
ac_ext=$ac_save_ext
6328
7313
ac_test_FFLAGS=${FFLAGS+set}
6329
7314
ac_save_FFLAGS=$FFLAGS
6330
7315
FFLAGS=
6331
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6332
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
 
7316
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
7317
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
6333
7318
if test "${ac_cv_prog_f77_g+set}" = set; then
6334
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7319
  $as_echo_n "(cached) " >&6
6335
7320
else
6336
7321
  FFLAGS=-g
6337
7322
cat >conftest.$ac_ext <<_ACEOF
6345
7330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346
7331
  *) ac_try_echo=$ac_try;;
6347
7332
esac
6348
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7333
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7334
$as_echo "$ac_try_echo") >&5
6349
7335
  (eval "$ac_compile") 2>conftest.er1
6350
7336
  ac_status=$?
6351
7337
  grep -v '^ *+' conftest.er1 >conftest.err
6352
7338
  rm -f conftest.er1
6353
7339
  cat conftest.err >&5
6354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7340
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355
7341
  (exit $ac_status); } && {
6356
7342
         test -z "$ac_f77_werror_flag" ||
6357
7343
         test ! -s conftest.err
6358
7344
       } && test -s conftest.$ac_objext; then
6359
7345
  ac_cv_prog_f77_g=yes
6360
7346
else
6361
 
  echo "$as_me: failed program was:" >&5
 
7347
  $as_echo "$as_me: failed program was:" >&5
6362
7348
sed 's/^/| /' conftest.$ac_ext >&5
6363
7349
 
6364
7350
        ac_cv_prog_f77_g=no
6367
7353
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6368
7354
 
6369
7355
fi
6370
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6371
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
 
7356
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
7357
$as_echo "$ac_cv_prog_f77_g" >&6; }
6372
7358
if test "$ac_test_FFLAGS" = set; then
6373
7359
  FFLAGS=$ac_save_FFLAGS
6374
7360
elif test $ac_cv_prog_f77_g = yes; then
6385
7371
  fi
6386
7372
fi
6387
7373
 
6388
 
G77=`test $ac_compiler_gnu = yes && echo yes`
 
7374
if test $ac_compiler_gnu = yes; then
 
7375
  G77=yes
 
7376
else
 
7377
  G77=
 
7378
fi
6389
7379
ac_ext=c
6390
7380
ac_cpp='$CPP $CPPFLAGS'
6391
7381
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6395
7385
 
6396
7386
 
6397
7387
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6398
 
 
6399
7388
# find the maximum length of command line arguments
6400
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6401
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
 
7389
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
7390
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6402
7391
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7392
  $as_echo_n "(cached) " >&6
6404
7393
else
6405
7394
    i=0
6406
7395
  teststring="ABCD"
6509
7498
fi
6510
7499
 
6511
7500
if test -n $lt_cv_sys_max_cmd_len ; then
6512
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6513
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
7501
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
7502
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6514
7503
else
6515
 
  { echo "$as_me:$LINENO: result: none" >&5
6516
 
echo "${ECHO_T}none" >&6; }
 
7504
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
7505
$as_echo "none" >&6; }
6517
7506
fi
6518
7507
 
6519
7508
 
6521
7510
 
6522
7511
 
6523
7512
# Check for command to grab the raw symbol name followed by C symbol from nm.
6524
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6525
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
7513
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
7514
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6526
7515
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6527
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7516
  $as_echo_n "(cached) " >&6
6528
7517
else
6529
7518
 
6530
7519
# These are sane defaults that work on at least a few old systems.
6629
7618
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6630
7619
  (eval $ac_compile) 2>&5
6631
7620
  ac_status=$?
6632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7621
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633
7622
  (exit $ac_status); }; then
6634
7623
    # Now try to grab the symbols.
6635
7624
    nlist=conftest.nm
6636
7625
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6637
7626
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6638
7627
  ac_status=$?
6639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7628
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640
7629
  (exit $ac_status); } && test -s "$nlist"; then
6641
7630
      # Try sorting and uniquifying the output.
6642
7631
      if sort "$nlist" | uniq > "$nlist"T; then
6691
7680
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6692
7681
  (eval $ac_link) 2>&5
6693
7682
  ac_status=$?
6694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7683
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695
7684
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6696
7685
            pipe_works=yes
6697
7686
          fi
6710
7699
    echo "$progname: failed program was:" >&5
6711
7700
    cat conftest.$ac_ext >&5
6712
7701
  fi
6713
 
  rm -f conftest* conftst*
 
7702
  rm -rf conftest* conftst*
6714
7703
 
6715
7704
  # Do not use the global_symbol_pipe unless it works.
6716
7705
  if test "$pipe_works" = yes; then
6726
7715
  lt_cv_sys_global_symbol_to_cdecl=
6727
7716
fi
6728
7717
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6729
 
  { echo "$as_me:$LINENO: result: failed" >&5
6730
 
echo "${ECHO_T}failed" >&6; }
 
7718
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7719
$as_echo "failed" >&6; }
6731
7720
else
6732
 
  { echo "$as_me:$LINENO: result: ok" >&5
6733
 
echo "${ECHO_T}ok" >&6; }
 
7721
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7722
$as_echo "ok" >&6; }
6734
7723
fi
6735
7724
 
6736
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6737
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
7725
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7726
$as_echo_n "checking for objdir... " >&6; }
6738
7727
if test "${lt_cv_objdir+set}" = set; then
6739
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7728
  $as_echo_n "(cached) " >&6
6740
7729
else
6741
7730
  rm -f .libs 2>/dev/null
6742
7731
mkdir .libs 2>/dev/null
6748
7737
fi
6749
7738
rmdir .libs 2>/dev/null
6750
7739
fi
6751
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6752
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
7740
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7741
$as_echo "$lt_cv_objdir" >&6; }
6753
7742
objdir=$lt_cv_objdir
6754
7743
 
6755
7744
 
6800
7789
if test -n "$ac_tool_prefix"; then
6801
7790
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6802
7791
set dummy ${ac_tool_prefix}ar; ac_word=$2
6803
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6804
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7792
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7793
$as_echo_n "checking for $ac_word... " >&6; }
6805
7794
if test "${ac_cv_prog_AR+set}" = set; then
6806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7795
  $as_echo_n "(cached) " >&6
6807
7796
else
6808
7797
  if test -n "$AR"; then
6809
7798
  ac_cv_prog_AR="$AR" # Let the user override the test.
6816
7805
  for ac_exec_ext in '' $ac_executable_extensions; do
6817
7806
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6818
7807
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6819
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7808
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6820
7809
    break 2
6821
7810
  fi
6822
7811
done
6827
7816
fi
6828
7817
AR=$ac_cv_prog_AR
6829
7818
if test -n "$AR"; then
6830
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6831
 
echo "${ECHO_T}$AR" >&6; }
 
7819
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
7820
$as_echo "$AR" >&6; }
6832
7821
else
6833
 
  { echo "$as_me:$LINENO: result: no" >&5
6834
 
echo "${ECHO_T}no" >&6; }
 
7822
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7823
$as_echo "no" >&6; }
6835
7824
fi
6836
7825
 
6837
7826
 
6840
7829
  ac_ct_AR=$AR
6841
7830
  # Extract the first word of "ar", so it can be a program name with args.
6842
7831
set dummy ar; ac_word=$2
6843
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6844
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7832
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7833
$as_echo_n "checking for $ac_word... " >&6; }
6845
7834
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7835
  $as_echo_n "(cached) " >&6
6847
7836
else
6848
7837
  if test -n "$ac_ct_AR"; then
6849
7838
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6856
7845
  for ac_exec_ext in '' $ac_executable_extensions; do
6857
7846
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6858
7847
    ac_cv_prog_ac_ct_AR="ar"
6859
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7848
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6860
7849
    break 2
6861
7850
  fi
6862
7851
done
6867
7856
fi
6868
7857
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6869
7858
if test -n "$ac_ct_AR"; then
6870
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6871
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
7859
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7860
$as_echo "$ac_ct_AR" >&6; }
6872
7861
else
6873
 
  { echo "$as_me:$LINENO: result: no" >&5
6874
 
echo "${ECHO_T}no" >&6; }
 
7862
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7863
$as_echo "no" >&6; }
6875
7864
fi
6876
7865
 
6877
7866
  if test "x$ac_ct_AR" = x; then
6879
7868
  else
6880
7869
    case $cross_compiling:$ac_tool_warned in
6881
7870
yes:)
6882
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6883
 
whose name does not start with the host triplet.  If you think this
6884
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6885
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6886
 
whose name does not start with the host triplet.  If you think this
6887
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7871
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7872
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6888
7873
ac_tool_warned=yes ;;
6889
7874
esac
6890
7875
    AR=$ac_ct_AR
6896
7881
if test -n "$ac_tool_prefix"; then
6897
7882
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6898
7883
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6899
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6900
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7884
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7885
$as_echo_n "checking for $ac_word... " >&6; }
6901
7886
if test "${ac_cv_prog_RANLIB+set}" = set; then
6902
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7887
  $as_echo_n "(cached) " >&6
6903
7888
else
6904
7889
  if test -n "$RANLIB"; then
6905
7890
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6912
7897
  for ac_exec_ext in '' $ac_executable_extensions; do
6913
7898
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914
7899
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6915
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7900
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6916
7901
    break 2
6917
7902
  fi
6918
7903
done
6923
7908
fi
6924
7909
RANLIB=$ac_cv_prog_RANLIB
6925
7910
if test -n "$RANLIB"; then
6926
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6927
 
echo "${ECHO_T}$RANLIB" >&6; }
 
7911
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7912
$as_echo "$RANLIB" >&6; }
6928
7913
else
6929
 
  { echo "$as_me:$LINENO: result: no" >&5
6930
 
echo "${ECHO_T}no" >&6; }
 
7914
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7915
$as_echo "no" >&6; }
6931
7916
fi
6932
7917
 
6933
7918
 
6936
7921
  ac_ct_RANLIB=$RANLIB
6937
7922
  # Extract the first word of "ranlib", so it can be a program name with args.
6938
7923
set dummy ranlib; ac_word=$2
6939
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6940
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7924
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7925
$as_echo_n "checking for $ac_word... " >&6; }
6941
7926
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6942
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7927
  $as_echo_n "(cached) " >&6
6943
7928
else
6944
7929
  if test -n "$ac_ct_RANLIB"; then
6945
7930
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6952
7937
  for ac_exec_ext in '' $ac_executable_extensions; do
6953
7938
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954
7939
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6955
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7940
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6956
7941
    break 2
6957
7942
  fi
6958
7943
done
6963
7948
fi
6964
7949
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6965
7950
if test -n "$ac_ct_RANLIB"; then
6966
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6967
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
7951
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7952
$as_echo "$ac_ct_RANLIB" >&6; }
6968
7953
else
6969
 
  { echo "$as_me:$LINENO: result: no" >&5
6970
 
echo "${ECHO_T}no" >&6; }
 
7954
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7955
$as_echo "no" >&6; }
6971
7956
fi
6972
7957
 
6973
7958
  if test "x$ac_ct_RANLIB" = x; then
6975
7960
  else
6976
7961
    case $cross_compiling:$ac_tool_warned in
6977
7962
yes:)
6978
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6979
 
whose name does not start with the host triplet.  If you think this
6980
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6981
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6982
 
whose name does not start with the host triplet.  If you think this
6983
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7963
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7964
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6984
7965
ac_tool_warned=yes ;;
6985
7966
esac
6986
7967
    RANLIB=$ac_ct_RANLIB
6992
7973
if test -n "$ac_tool_prefix"; then
6993
7974
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6994
7975
set dummy ${ac_tool_prefix}strip; ac_word=$2
6995
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6996
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7976
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7977
$as_echo_n "checking for $ac_word... " >&6; }
6997
7978
if test "${ac_cv_prog_STRIP+set}" = set; then
6998
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7979
  $as_echo_n "(cached) " >&6
6999
7980
else
7000
7981
  if test -n "$STRIP"; then
7001
7982
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7008
7989
  for ac_exec_ext in '' $ac_executable_extensions; do
7009
7990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7010
7991
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7011
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7992
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7012
7993
    break 2
7013
7994
  fi
7014
7995
done
7019
8000
fi
7020
8001
STRIP=$ac_cv_prog_STRIP
7021
8002
if test -n "$STRIP"; then
7022
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
7023
 
echo "${ECHO_T}$STRIP" >&6; }
 
8003
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
8004
$as_echo "$STRIP" >&6; }
7024
8005
else
7025
 
  { echo "$as_me:$LINENO: result: no" >&5
7026
 
echo "${ECHO_T}no" >&6; }
 
8006
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8007
$as_echo "no" >&6; }
7027
8008
fi
7028
8009
 
7029
8010
 
7032
8013
  ac_ct_STRIP=$STRIP
7033
8014
  # Extract the first word of "strip", so it can be a program name with args.
7034
8015
set dummy strip; ac_word=$2
7035
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7036
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8016
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8017
$as_echo_n "checking for $ac_word... " >&6; }
7037
8018
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7038
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8019
  $as_echo_n "(cached) " >&6
7039
8020
else
7040
8021
  if test -n "$ac_ct_STRIP"; then
7041
8022
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7048
8029
  for ac_exec_ext in '' $ac_executable_extensions; do
7049
8030
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050
8031
    ac_cv_prog_ac_ct_STRIP="strip"
7051
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8032
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7052
8033
    break 2
7053
8034
  fi
7054
8035
done
7059
8040
fi
7060
8041
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7061
8042
if test -n "$ac_ct_STRIP"; then
7062
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7063
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
8043
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
8044
$as_echo "$ac_ct_STRIP" >&6; }
7064
8045
else
7065
 
  { echo "$as_me:$LINENO: result: no" >&5
7066
 
echo "${ECHO_T}no" >&6; }
 
8046
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8047
$as_echo "no" >&6; }
7067
8048
fi
7068
8049
 
7069
8050
  if test "x$ac_ct_STRIP" = x; then
7071
8052
  else
7072
8053
    case $cross_compiling:$ac_tool_warned in
7073
8054
yes:)
7074
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7075
 
whose name does not start with the host triplet.  If you think this
7076
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7077
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7078
 
whose name does not start with the host triplet.  If you think this
7079
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8055
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8056
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7080
8057
ac_tool_warned=yes ;;
7081
8058
esac
7082
8059
    STRIP=$ac_ct_STRIP
7139
8116
case $deplibs_check_method in
7140
8117
file_magic*)
7141
8118
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7142
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7143
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
8119
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8120
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7144
8121
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7145
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8122
  $as_echo_n "(cached) " >&6
7146
8123
else
7147
8124
  case $MAGIC_CMD in
7148
8125
[\\/*] |  ?:[\\/]*)
7192
8169
 
7193
8170
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7194
8171
if test -n "$MAGIC_CMD"; then
7195
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7196
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8172
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8173
$as_echo "$MAGIC_CMD" >&6; }
7197
8174
else
7198
 
  { echo "$as_me:$LINENO: result: no" >&5
7199
 
echo "${ECHO_T}no" >&6; }
 
8175
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8176
$as_echo "no" >&6; }
7200
8177
fi
7201
8178
 
7202
8179
if test -z "$lt_cv_path_MAGIC_CMD"; then
7203
8180
  if test -n "$ac_tool_prefix"; then
7204
 
    { echo "$as_me:$LINENO: checking for file" >&5
7205
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
8181
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8182
$as_echo_n "checking for file... " >&6; }
7206
8183
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7207
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8184
  $as_echo_n "(cached) " >&6
7208
8185
else
7209
8186
  case $MAGIC_CMD in
7210
8187
[\\/*] |  ?:[\\/]*)
7254
8231
 
7255
8232
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7256
8233
if test -n "$MAGIC_CMD"; then
7257
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7258
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8234
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8235
$as_echo "$MAGIC_CMD" >&6; }
7259
8236
else
7260
 
  { echo "$as_me:$LINENO: result: no" >&5
7261
 
echo "${ECHO_T}no" >&6; }
 
8237
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8238
$as_echo "no" >&6; }
7262
8239
fi
7263
8240
 
7264
8241
  else
7270
8247
  ;;
7271
8248
esac
7272
8249
 
 
8250
 
 
8251
  case $host_os in
 
8252
    rhapsody* | darwin*)
 
8253
    if test -n "$ac_tool_prefix"; then
 
8254
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
8255
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
8256
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8257
$as_echo_n "checking for $ac_word... " >&6; }
 
8258
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
8259
  $as_echo_n "(cached) " >&6
 
8260
else
 
8261
  if test -n "$DSYMUTIL"; then
 
8262
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
8263
else
 
8264
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8265
for as_dir in $PATH
 
8266
do
 
8267
  IFS=$as_save_IFS
 
8268
  test -z "$as_dir" && as_dir=.
 
8269
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8270
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8271
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
8272
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8273
    break 2
 
8274
  fi
 
8275
done
 
8276
done
 
8277
IFS=$as_save_IFS
 
8278
 
 
8279
fi
 
8280
fi
 
8281
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
8282
if test -n "$DSYMUTIL"; then
 
8283
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
8284
$as_echo "$DSYMUTIL" >&6; }
 
8285
else
 
8286
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8287
$as_echo "no" >&6; }
 
8288
fi
 
8289
 
 
8290
 
 
8291
fi
 
8292
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
8293
  ac_ct_DSYMUTIL=$DSYMUTIL
 
8294
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
8295
set dummy dsymutil; ac_word=$2
 
8296
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8297
$as_echo_n "checking for $ac_word... " >&6; }
 
8298
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
8299
  $as_echo_n "(cached) " >&6
 
8300
else
 
8301
  if test -n "$ac_ct_DSYMUTIL"; then
 
8302
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
8303
else
 
8304
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8305
for as_dir in $PATH
 
8306
do
 
8307
  IFS=$as_save_IFS
 
8308
  test -z "$as_dir" && as_dir=.
 
8309
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8310
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8311
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
8312
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8313
    break 2
 
8314
  fi
 
8315
done
 
8316
done
 
8317
IFS=$as_save_IFS
 
8318
 
 
8319
fi
 
8320
fi
 
8321
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
8322
if test -n "$ac_ct_DSYMUTIL"; then
 
8323
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
8324
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
8325
else
 
8326
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8327
$as_echo "no" >&6; }
 
8328
fi
 
8329
 
 
8330
  if test "x$ac_ct_DSYMUTIL" = x; then
 
8331
    DSYMUTIL=":"
 
8332
  else
 
8333
    case $cross_compiling:$ac_tool_warned in
 
8334
yes:)
 
8335
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8336
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8337
ac_tool_warned=yes ;;
 
8338
esac
 
8339
    DSYMUTIL=$ac_ct_DSYMUTIL
 
8340
  fi
 
8341
else
 
8342
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
8343
fi
 
8344
 
 
8345
    if test -n "$ac_tool_prefix"; then
 
8346
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
8347
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
8348
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8349
$as_echo_n "checking for $ac_word... " >&6; }
 
8350
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
8351
  $as_echo_n "(cached) " >&6
 
8352
else
 
8353
  if test -n "$NMEDIT"; then
 
8354
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
8355
else
 
8356
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8357
for as_dir in $PATH
 
8358
do
 
8359
  IFS=$as_save_IFS
 
8360
  test -z "$as_dir" && as_dir=.
 
8361
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8362
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8363
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
8364
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8365
    break 2
 
8366
  fi
 
8367
done
 
8368
done
 
8369
IFS=$as_save_IFS
 
8370
 
 
8371
fi
 
8372
fi
 
8373
NMEDIT=$ac_cv_prog_NMEDIT
 
8374
if test -n "$NMEDIT"; then
 
8375
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
8376
$as_echo "$NMEDIT" >&6; }
 
8377
else
 
8378
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8379
$as_echo "no" >&6; }
 
8380
fi
 
8381
 
 
8382
 
 
8383
fi
 
8384
if test -z "$ac_cv_prog_NMEDIT"; then
 
8385
  ac_ct_NMEDIT=$NMEDIT
 
8386
  # Extract the first word of "nmedit", so it can be a program name with args.
 
8387
set dummy nmedit; ac_word=$2
 
8388
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8389
$as_echo_n "checking for $ac_word... " >&6; }
 
8390
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
8391
  $as_echo_n "(cached) " >&6
 
8392
else
 
8393
  if test -n "$ac_ct_NMEDIT"; then
 
8394
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
8395
else
 
8396
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8397
for as_dir in $PATH
 
8398
do
 
8399
  IFS=$as_save_IFS
 
8400
  test -z "$as_dir" && as_dir=.
 
8401
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8402
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8403
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
8404
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8405
    break 2
 
8406
  fi
 
8407
done
 
8408
done
 
8409
IFS=$as_save_IFS
 
8410
 
 
8411
fi
 
8412
fi
 
8413
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
8414
if test -n "$ac_ct_NMEDIT"; then
 
8415
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
8416
$as_echo "$ac_ct_NMEDIT" >&6; }
 
8417
else
 
8418
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8419
$as_echo "no" >&6; }
 
8420
fi
 
8421
 
 
8422
  if test "x$ac_ct_NMEDIT" = x; then
 
8423
    NMEDIT=":"
 
8424
  else
 
8425
    case $cross_compiling:$ac_tool_warned in
 
8426
yes:)
 
8427
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8428
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8429
ac_tool_warned=yes ;;
 
8430
esac
 
8431
    NMEDIT=$ac_ct_NMEDIT
 
8432
  fi
 
8433
else
 
8434
  NMEDIT="$ac_cv_prog_NMEDIT"
 
8435
fi
 
8436
 
 
8437
 
 
8438
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
8439
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
8440
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
8441
  $as_echo_n "(cached) " >&6
 
8442
else
 
8443
  lt_cv_apple_cc_single_mod=no
 
8444
      if test -z "${LT_MULTI_MODULE}"; then
 
8445
   # By default we will add the -single_module flag. You can override
 
8446
   # by either setting the environment variable LT_MULTI_MODULE
 
8447
   # non-empty at configure time, or by adding -multi_module to the
 
8448
   # link flags.
 
8449
   echo "int foo(void){return 1;}" > conftest.c
 
8450
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8451
     -dynamiclib ${wl}-single_module conftest.c
 
8452
   if test -f libconftest.dylib; then
 
8453
     lt_cv_apple_cc_single_mod=yes
 
8454
     rm -rf libconftest.dylib*
 
8455
   fi
 
8456
   rm conftest.c
 
8457
      fi
 
8458
fi
 
8459
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
8460
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
8461
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
8462
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
8463
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
8464
  $as_echo_n "(cached) " >&6
 
8465
else
 
8466
  lt_cv_ld_exported_symbols_list=no
 
8467
      save_LDFLAGS=$LDFLAGS
 
8468
      echo "_main" > conftest.sym
 
8469
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
8470
      cat >conftest.$ac_ext <<_ACEOF
 
8471
/* confdefs.h.  */
 
8472
_ACEOF
 
8473
cat confdefs.h >>conftest.$ac_ext
 
8474
cat >>conftest.$ac_ext <<_ACEOF
 
8475
/* end confdefs.h.  */
 
8476
 
 
8477
int
 
8478
main ()
 
8479
{
 
8480
 
 
8481
  ;
 
8482
  return 0;
 
8483
}
 
8484
_ACEOF
 
8485
rm -f conftest.$ac_objext conftest$ac_exeext
 
8486
if { (ac_try="$ac_link"
 
8487
case "(($ac_try" in
 
8488
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8489
  *) ac_try_echo=$ac_try;;
 
8490
esac
 
8491
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8492
$as_echo "$ac_try_echo") >&5
 
8493
  (eval "$ac_link") 2>conftest.er1
 
8494
  ac_status=$?
 
8495
  grep -v '^ *+' conftest.er1 >conftest.err
 
8496
  rm -f conftest.er1
 
8497
  cat conftest.err >&5
 
8498
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8499
  (exit $ac_status); } && {
 
8500
         test -z "$ac_c_werror_flag" ||
 
8501
         test ! -s conftest.err
 
8502
       } && test -s conftest$ac_exeext && {
 
8503
         test "$cross_compiling" = yes ||
 
8504
         $as_test_x conftest$ac_exeext
 
8505
       }; then
 
8506
  lt_cv_ld_exported_symbols_list=yes
 
8507
else
 
8508
  $as_echo "$as_me: failed program was:" >&5
 
8509
sed 's/^/| /' conftest.$ac_ext >&5
 
8510
 
 
8511
        lt_cv_ld_exported_symbols_list=no
 
8512
fi
 
8513
 
 
8514
rm -rf conftest.dSYM
 
8515
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8516
      conftest$ac_exeext conftest.$ac_ext
 
8517
   LDFLAGS="$save_LDFLAGS"
 
8518
 
 
8519
fi
 
8520
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
8521
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8522
    case $host_os in
 
8523
    rhapsody* | darwin1.[0123])
 
8524
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
8525
    darwin1.*)
 
8526
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8527
    darwin*)
 
8528
      # if running on 10.5 or later, the deployment target defaults
 
8529
      # to the OS version, if on x86, and 10.4, the deployment
 
8530
      # target defaults to 10.4. Don't you love it?
 
8531
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
8532
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8533
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8534
   10.[012]*)
 
8535
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8536
   10.*)
 
8537
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8538
      esac
 
8539
    ;;
 
8540
  esac
 
8541
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
8542
      _lt_dar_single_mod='$single_module'
 
8543
    fi
 
8544
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
8545
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
8546
    else
 
8547
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
8548
    fi
 
8549
    if test "$DSYMUTIL" != ":"; then
 
8550
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
8551
    else
 
8552
      _lt_dsymutil=
 
8553
    fi
 
8554
    ;;
 
8555
  esac
 
8556
 
 
8557
 
7273
8558
enable_dlopen=no
7274
8559
enable_win32_dll=no
7275
8560
 
7335
8620
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7336
8621
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7337
8622
_lt_linker_boilerplate=`cat conftest.err`
7338
 
$rm conftest*
 
8623
$rm -r conftest*
7339
8624
 
7340
8625
 
7341
8626
 
7345
8630
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7346
8631
 
7347
8632
 
7348
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7349
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
8633
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8634
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7350
8635
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7351
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8636
  $as_echo_n "(cached) " >&6
7352
8637
else
7353
8638
  lt_cv_prog_compiler_rtti_exceptions=no
7354
8639
  ac_outfile=conftest.$ac_objext
7363
8648
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7364
8649
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7365
8650
   -e 's:$: $lt_compiler_flag:'`
7366
 
   (eval echo "\"\$as_me:7366: $lt_compile\"" >&5)
 
8651
   (eval echo "\"\$as_me:8651: $lt_compile\"" >&5)
7367
8652
   (eval "$lt_compile" 2>conftest.err)
7368
8653
   ac_status=$?
7369
8654
   cat conftest.err >&5
7370
 
   echo "$as_me:7370: \$? = $ac_status" >&5
 
8655
   echo "$as_me:8655: \$? = $ac_status" >&5
7371
8656
   if (exit $ac_status) && test -s "$ac_outfile"; then
7372
8657
     # The compiler can only warn and ignore the option if not recognized
7373
8658
     # So say no if there are warnings other than the usual output.
7380
8665
   $rm conftest*
7381
8666
 
7382
8667
fi
7383
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7384
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8668
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8669
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7385
8670
 
7386
8671
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7387
8672
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7395
8680
lt_prog_compiler_pic=
7396
8681
lt_prog_compiler_static=
7397
8682
 
7398
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7399
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
8683
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8684
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7400
8685
 
7401
8686
  if test "$GCC" = yes; then
7402
8687
    lt_prog_compiler_wl='-Wl,'
7627
8912
    esac
7628
8913
  fi
7629
8914
 
7630
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7631
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
8915
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8916
$as_echo "$lt_prog_compiler_pic" >&6; }
7632
8917
 
7633
8918
#
7634
8919
# Check to make sure the PIC flag actually works.
7635
8920
#
7636
8921
if test -n "$lt_prog_compiler_pic"; then
7637
8922
 
7638
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7639
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7640
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7641
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8923
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8924
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8925
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8926
  $as_echo_n "(cached) " >&6
7642
8927
else
7643
 
  lt_prog_compiler_pic_works=no
 
8928
  lt_cv_prog_compiler_pic_works=no
7644
8929
  ac_outfile=conftest.$ac_objext
7645
8930
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7646
8931
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7653
8938
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7654
8939
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7655
8940
   -e 's:$: $lt_compiler_flag:'`
7656
 
   (eval echo "\"\$as_me:7656: $lt_compile\"" >&5)
 
8941
   (eval echo "\"\$as_me:8941: $lt_compile\"" >&5)
7657
8942
   (eval "$lt_compile" 2>conftest.err)
7658
8943
   ac_status=$?
7659
8944
   cat conftest.err >&5
7660
 
   echo "$as_me:7660: \$? = $ac_status" >&5
 
8945
   echo "$as_me:8945: \$? = $ac_status" >&5
7661
8946
   if (exit $ac_status) && test -s "$ac_outfile"; then
7662
8947
     # The compiler can only warn and ignore the option if not recognized
7663
8948
     # So say no if there are warnings other than the usual output.
7664
8949
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7665
8950
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7666
8951
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7667
 
       lt_prog_compiler_pic_works=yes
 
8952
       lt_cv_prog_compiler_pic_works=yes
7668
8953
     fi
7669
8954
   fi
7670
8955
   $rm conftest*
7671
8956
 
7672
8957
fi
7673
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7674
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
8958
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8959
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7675
8960
 
7676
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
8961
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7677
8962
    case $lt_prog_compiler_pic in
7678
8963
     "" | " "*) ;;
7679
8964
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7698
8983
# Check to make sure the static flag actually works.
7699
8984
#
7700
8985
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7701
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7702
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7703
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7704
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8986
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8987
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8988
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8989
  $as_echo_n "(cached) " >&6
7705
8990
else
7706
 
  lt_prog_compiler_static_works=no
 
8991
  lt_cv_prog_compiler_static_works=no
7707
8992
   save_LDFLAGS="$LDFLAGS"
7708
8993
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7709
8994
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7716
9001
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7717
9002
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7718
9003
       if diff conftest.exp conftest.er2 >/dev/null; then
7719
 
         lt_prog_compiler_static_works=yes
 
9004
         lt_cv_prog_compiler_static_works=yes
7720
9005
       fi
7721
9006
     else
7722
 
       lt_prog_compiler_static_works=yes
 
9007
       lt_cv_prog_compiler_static_works=yes
7723
9008
     fi
7724
9009
   fi
7725
 
   $rm conftest*
 
9010
   $rm -r conftest*
7726
9011
   LDFLAGS="$save_LDFLAGS"
7727
9012
 
7728
9013
fi
7729
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7730
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
9014
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9015
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7731
9016
 
7732
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
9017
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7733
9018
    :
7734
9019
else
7735
9020
    lt_prog_compiler_static=
7736
9021
fi
7737
9022
 
7738
9023
 
7739
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7740
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
9024
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9025
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7741
9026
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7742
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9027
  $as_echo_n "(cached) " >&6
7743
9028
else
7744
9029
  lt_cv_prog_compiler_c_o=no
7745
9030
   $rm -r conftest 2>/dev/null
7757
9042
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7758
9043
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7759
9044
   -e 's:$: $lt_compiler_flag:'`
7760
 
   (eval echo "\"\$as_me:7760: $lt_compile\"" >&5)
 
9045
   (eval echo "\"\$as_me:9045: $lt_compile\"" >&5)
7761
9046
   (eval "$lt_compile" 2>out/conftest.err)
7762
9047
   ac_status=$?
7763
9048
   cat out/conftest.err >&5
7764
 
   echo "$as_me:7764: \$? = $ac_status" >&5
 
9049
   echo "$as_me:9049: \$? = $ac_status" >&5
7765
9050
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7766
9051
   then
7767
9052
     # The compiler can only warn and ignore the option if not recognized
7783
9068
   $rm conftest*
7784
9069
 
7785
9070
fi
7786
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7787
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9071
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9072
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7788
9073
 
7789
9074
 
7790
9075
hard_links="nottested"
7791
9076
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7792
9077
  # do not overwrite the value of need_locks provided by the user
7793
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7794
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9078
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9079
$as_echo_n "checking if we can lock with hard links... " >&6; }
7795
9080
  hard_links=yes
7796
9081
  $rm conftest*
7797
9082
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7798
9083
  touch conftest.a
7799
9084
  ln conftest.a conftest.b 2>&5 || hard_links=no
7800
9085
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7801
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7802
 
echo "${ECHO_T}$hard_links" >&6; }
 
9086
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9087
$as_echo "$hard_links" >&6; }
7803
9088
  if test "$hard_links" = no; then
7804
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7805
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9089
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9090
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7806
9091
    need_locks=warn
7807
9092
  fi
7808
9093
else
7809
9094
  need_locks=no
7810
9095
fi
7811
9096
 
7812
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7813
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9097
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9098
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7814
9099
 
7815
9100
  runpath_var=
7816
9101
  allow_undefined_flag=
7841
9126
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7842
9127
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7843
9128
  # as well as any symbol that contains `d'.
7844
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9129
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7845
9130
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7846
9131
  # platforms (ab)use it in PIC code, but their linkers get confused if
7847
9132
  # the symbol is explicitly referenced.  Since portable code cannot
7848
9133
  # rely on this symbol name, it's probably fine to never include it in
7849
9134
  # preloaded symbol tables.
 
9135
  # Exclude shared library initialization/finalization symbols.
7850
9136
  extract_expsyms_cmds=
7851
9137
  # Just being paranoid about ensuring that cc_basename is set.
7852
9138
  for cc_temp in $compiler""; do
7905
9191
 
7906
9192
    # See if GNU ld supports shared libraries.
7907
9193
    case $host_os in
7908
 
    aix3* | aix4* | aix5*)
 
9194
    aix[3-9]*)
7909
9195
      # On AIX/PPC, the GNU linker is very broken
7910
9196
      if test "$host_cpu" != ia64; then
7911
9197
        ld_shlibs=no
8124
9410
      fi
8125
9411
      ;;
8126
9412
 
8127
 
    aix4* | aix5*)
 
9413
    aix[4-9]*)
8128
9414
      if test "$host_cpu" = ia64; then
8129
9415
        # On IA64, the linker does run time linking by default, so we don't
8130
9416
        # have to do anything special.
8144
9430
        # Test if we are trying to use run time linking or normal
8145
9431
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8146
9432
        # need to do runtime linking.
8147
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
9433
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8148
9434
          for ld_flag in $LDFLAGS; do
8149
9435
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8150
9436
            aix_use_runtimelinking=yes
8239
9525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8240
9526
  *) ac_try_echo=$ac_try;;
8241
9527
esac
8242
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9528
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9529
$as_echo "$ac_try_echo") >&5
8243
9530
  (eval "$ac_link") 2>conftest.er1
8244
9531
  ac_status=$?
8245
9532
  grep -v '^ *+' conftest.er1 >conftest.err
8246
9533
  rm -f conftest.er1
8247
9534
  cat conftest.err >&5
8248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9535
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249
9536
  (exit $ac_status); } && {
8250
9537
         test -z "$ac_c_werror_flag" ||
8251
9538
         test ! -s conftest.err
8252
 
       } && test -s conftest$ac_exeext &&
8253
 
       $as_test_x conftest$ac_exeext; then
 
9539
       } && test -s conftest$ac_exeext && {
 
9540
         test "$cross_compiling" = yes ||
 
9541
         $as_test_x conftest$ac_exeext
 
9542
       }; then
8254
9543
 
8255
9544
lt_aix_libpath_sed='
8256
9545
    /Import File Strings/,/^$/ {
8265
9554
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8266
9555
fi
8267
9556
else
8268
 
  echo "$as_me: failed program was:" >&5
 
9557
  $as_echo "$as_me: failed program was:" >&5
8269
9558
sed 's/^/| /' conftest.$ac_ext >&5
8270
9559
 
8271
9560
 
8272
9561
fi
8273
9562
 
 
9563
rm -rf conftest.dSYM
8274
9564
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8275
9565
      conftest$ac_exeext conftest.$ac_ext
8276
9566
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8305
9595
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306
9596
  *) ac_try_echo=$ac_try;;
8307
9597
esac
8308
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9598
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9599
$as_echo "$ac_try_echo") >&5
8309
9600
  (eval "$ac_link") 2>conftest.er1
8310
9601
  ac_status=$?
8311
9602
  grep -v '^ *+' conftest.er1 >conftest.err
8312
9603
  rm -f conftest.er1
8313
9604
  cat conftest.err >&5
8314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9605
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315
9606
  (exit $ac_status); } && {
8316
9607
         test -z "$ac_c_werror_flag" ||
8317
9608
         test ! -s conftest.err
8318
 
       } && test -s conftest$ac_exeext &&
8319
 
       $as_test_x conftest$ac_exeext; then
 
9609
       } && test -s conftest$ac_exeext && {
 
9610
         test "$cross_compiling" = yes ||
 
9611
         $as_test_x conftest$ac_exeext
 
9612
       }; then
8320
9613
 
8321
9614
lt_aix_libpath_sed='
8322
9615
    /Import File Strings/,/^$/ {
8331
9624
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8332
9625
fi
8333
9626
else
8334
 
  echo "$as_me: failed program was:" >&5
 
9627
  $as_echo "$as_me: failed program was:" >&5
8335
9628
sed 's/^/| /' conftest.$ac_ext >&5
8336
9629
 
8337
9630
 
8338
9631
fi
8339
9632
 
 
9633
rm -rf conftest.dSYM
8340
9634
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8341
9635
      conftest$ac_exeext conftest.$ac_ext
8342
9636
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8416
9710
      link_all_deplibs=yes
8417
9711
    if test "$GCC" = yes ; then
8418
9712
        output_verbose_link_cmd='echo'
8419
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8420
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8421
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8422
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8423
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9713
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9714
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9715
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
9716
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8424
9717
    else
8425
9718
      case $cc_basename in
8426
9719
        xlc*)
8789
10082
    esac
8790
10083
  fi
8791
10084
 
8792
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8793
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10085
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10086
$as_echo "$ld_shlibs" >&6; }
8794
10087
test "$ld_shlibs" = no && can_build_shared=no
8795
10088
 
8796
10089
#
8810
10103
      # Test whether the compiler implicitly links with -lc since on some
8811
10104
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8812
10105
      # to ld, don't add -lc before -lgcc.
8813
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8814
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
10106
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10107
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8815
10108
      $rm conftest*
8816
10109
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8817
10110
 
8818
10111
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8819
10112
  (eval $ac_compile) 2>&5
8820
10113
  ac_status=$?
8821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10114
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822
10115
  (exit $ac_status); } 2>conftest.err; then
8823
10116
        soname=conftest
8824
10117
        lib=conftest
8836
10129
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8837
10130
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8838
10131
  ac_status=$?
8839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10132
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840
10133
  (exit $ac_status); }
8841
10134
        then
8842
10135
          archive_cmds_need_lc=no
8848
10141
        cat conftest.err 1>&5
8849
10142
      fi
8850
10143
      $rm conftest*
8851
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8852
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10144
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10145
$as_echo "$archive_cmds_need_lc" >&6; }
8853
10146
      ;;
8854
10147
    esac
8855
10148
  fi
8856
10149
  ;;
8857
10150
esac
8858
10151
 
8859
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8860
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
10152
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10153
$as_echo_n "checking dynamic linker characteristics... " >&6; }
8861
10154
library_names_spec=
8862
10155
libname_spec='lib$name'
8863
10156
soname_spec=
8940
10233
  soname_spec='${libname}${release}${shared_ext}$major'
8941
10234
  ;;
8942
10235
 
8943
 
aix4* | aix5*)
 
10236
aix[4-9]*)
8944
10237
  version_type=linux
8945
10238
  need_lib_prefix=no
8946
10239
  need_version=no
9460
10753
  dynamic_linker=no
9461
10754
  ;;
9462
10755
esac
9463
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9464
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
10756
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10757
$as_echo "$dynamic_linker" >&6; }
9465
10758
test "$dynamic_linker" = no && can_build_shared=no
9466
10759
 
 
10760
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10761
  $as_echo_n "(cached) " >&6
 
10762
else
 
10763
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
10764
fi
 
10765
 
 
10766
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10767
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10768
  $as_echo_n "(cached) " >&6
 
10769
else
 
10770
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
10771
fi
 
10772
 
 
10773
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10774
 
9467
10775
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9468
10776
if test "$GCC" = yes; then
9469
10777
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9470
10778
fi
9471
10779
 
9472
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9473
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
10780
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10781
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9474
10782
hardcode_action=
9475
10783
if test -n "$hardcode_libdir_flag_spec" || \
9476
10784
   test -n "$runpath_var" || \
9494
10802
  # directories.
9495
10803
  hardcode_action=unsupported
9496
10804
fi
9497
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9498
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
10805
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10806
$as_echo "$hardcode_action" >&6; }
9499
10807
 
9500
10808
if test "$hardcode_action" = relink; then
9501
10809
  # Fast installation is not supported
9508
10816
 
9509
10817
striplib=
9510
10818
old_striplib=
9511
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9512
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
10819
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10820
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
9513
10821
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9514
10822
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9515
10823
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9516
 
  { echo "$as_me:$LINENO: result: yes" >&5
9517
 
echo "${ECHO_T}yes" >&6; }
 
10824
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10825
$as_echo "yes" >&6; }
9518
10826
else
9519
10827
# FIXME - insert some real tests, host_os isn't really good enough
9520
10828
  case $host_os in
9522
10830
       if test -n "$STRIP" ; then
9523
10831
         striplib="$STRIP -x"
9524
10832
         old_striplib="$STRIP -S"
9525
 
         { echo "$as_me:$LINENO: result: yes" >&5
9526
 
echo "${ECHO_T}yes" >&6; }
 
10833
         { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10834
$as_echo "yes" >&6; }
9527
10835
       else
9528
 
  { echo "$as_me:$LINENO: result: no" >&5
9529
 
echo "${ECHO_T}no" >&6; }
 
10836
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10837
$as_echo "no" >&6; }
9530
10838
fi
9531
10839
       ;;
9532
10840
   *)
9533
 
  { echo "$as_me:$LINENO: result: no" >&5
9534
 
echo "${ECHO_T}no" >&6; }
 
10841
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10842
$as_echo "no" >&6; }
9535
10843
    ;;
9536
10844
  esac
9537
10845
fi
9563
10871
 
9564
10872
  darwin*)
9565
10873
  # if libdl is installed we need to link against it
9566
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9567
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
10874
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10875
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9568
10876
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9569
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10877
  $as_echo_n "(cached) " >&6
9570
10878
else
9571
10879
  ac_check_lib_save_LIBS=$LIBS
9572
10880
LIBS="-ldl  $LIBS"
9598
10906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9599
10907
  *) ac_try_echo=$ac_try;;
9600
10908
esac
9601
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10909
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10910
$as_echo "$ac_try_echo") >&5
9602
10911
  (eval "$ac_link") 2>conftest.er1
9603
10912
  ac_status=$?
9604
10913
  grep -v '^ *+' conftest.er1 >conftest.err
9605
10914
  rm -f conftest.er1
9606
10915
  cat conftest.err >&5
9607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10916
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608
10917
  (exit $ac_status); } && {
9609
10918
         test -z "$ac_c_werror_flag" ||
9610
10919
         test ! -s conftest.err
9611
 
       } && test -s conftest$ac_exeext &&
9612
 
       $as_test_x conftest$ac_exeext; then
 
10920
       } && test -s conftest$ac_exeext && {
 
10921
         test "$cross_compiling" = yes ||
 
10922
         $as_test_x conftest$ac_exeext
 
10923
       }; then
9613
10924
  ac_cv_lib_dl_dlopen=yes
9614
10925
else
9615
 
  echo "$as_me: failed program was:" >&5
 
10926
  $as_echo "$as_me: failed program was:" >&5
9616
10927
sed 's/^/| /' conftest.$ac_ext >&5
9617
10928
 
9618
10929
        ac_cv_lib_dl_dlopen=no
9619
10930
fi
9620
10931
 
 
10932
rm -rf conftest.dSYM
9621
10933
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9622
10934
      conftest$ac_exeext conftest.$ac_ext
9623
10935
LIBS=$ac_check_lib_save_LIBS
9624
10936
fi
9625
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9626
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9627
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10937
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10938
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10939
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9628
10940
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9629
10941
else
9630
10942
 
9637
10949
   ;;
9638
10950
 
9639
10951
  *)
9640
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9641
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
10952
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
10953
$as_echo_n "checking for shl_load... " >&6; }
9642
10954
if test "${ac_cv_func_shl_load+set}" = set; then
9643
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10955
  $as_echo_n "(cached) " >&6
9644
10956
else
9645
10957
  cat >conftest.$ac_ext <<_ACEOF
9646
10958
/* confdefs.h.  */
9693
11005
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9694
11006
  *) ac_try_echo=$ac_try;;
9695
11007
esac
9696
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11008
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11009
$as_echo "$ac_try_echo") >&5
9697
11010
  (eval "$ac_link") 2>conftest.er1
9698
11011
  ac_status=$?
9699
11012
  grep -v '^ *+' conftest.er1 >conftest.err
9700
11013
  rm -f conftest.er1
9701
11014
  cat conftest.err >&5
9702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11015
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703
11016
  (exit $ac_status); } && {
9704
11017
         test -z "$ac_c_werror_flag" ||
9705
11018
         test ! -s conftest.err
9706
 
       } && test -s conftest$ac_exeext &&
9707
 
       $as_test_x conftest$ac_exeext; then
 
11019
       } && test -s conftest$ac_exeext && {
 
11020
         test "$cross_compiling" = yes ||
 
11021
         $as_test_x conftest$ac_exeext
 
11022
       }; then
9708
11023
  ac_cv_func_shl_load=yes
9709
11024
else
9710
 
  echo "$as_me: failed program was:" >&5
 
11025
  $as_echo "$as_me: failed program was:" >&5
9711
11026
sed 's/^/| /' conftest.$ac_ext >&5
9712
11027
 
9713
11028
        ac_cv_func_shl_load=no
9714
11029
fi
9715
11030
 
 
11031
rm -rf conftest.dSYM
9716
11032
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9717
11033
      conftest$ac_exeext conftest.$ac_ext
9718
11034
fi
9719
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9720
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9721
 
if test $ac_cv_func_shl_load = yes; then
 
11035
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11036
$as_echo "$ac_cv_func_shl_load" >&6; }
 
11037
if test "x$ac_cv_func_shl_load" = x""yes; then
9722
11038
  lt_cv_dlopen="shl_load"
9723
11039
else
9724
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9725
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
11040
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11041
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9726
11042
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9727
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11043
  $as_echo_n "(cached) " >&6
9728
11044
else
9729
11045
  ac_check_lib_save_LIBS=$LIBS
9730
11046
LIBS="-ldld  $LIBS"
9756
11072
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9757
11073
  *) ac_try_echo=$ac_try;;
9758
11074
esac
9759
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11075
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11076
$as_echo "$ac_try_echo") >&5
9760
11077
  (eval "$ac_link") 2>conftest.er1
9761
11078
  ac_status=$?
9762
11079
  grep -v '^ *+' conftest.er1 >conftest.err
9763
11080
  rm -f conftest.er1
9764
11081
  cat conftest.err >&5
9765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11082
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766
11083
  (exit $ac_status); } && {
9767
11084
         test -z "$ac_c_werror_flag" ||
9768
11085
         test ! -s conftest.err
9769
 
       } && test -s conftest$ac_exeext &&
9770
 
       $as_test_x conftest$ac_exeext; then
 
11086
       } && test -s conftest$ac_exeext && {
 
11087
         test "$cross_compiling" = yes ||
 
11088
         $as_test_x conftest$ac_exeext
 
11089
       }; then
9771
11090
  ac_cv_lib_dld_shl_load=yes
9772
11091
else
9773
 
  echo "$as_me: failed program was:" >&5
 
11092
  $as_echo "$as_me: failed program was:" >&5
9774
11093
sed 's/^/| /' conftest.$ac_ext >&5
9775
11094
 
9776
11095
        ac_cv_lib_dld_shl_load=no
9777
11096
fi
9778
11097
 
 
11098
rm -rf conftest.dSYM
9779
11099
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9780
11100
      conftest$ac_exeext conftest.$ac_ext
9781
11101
LIBS=$ac_check_lib_save_LIBS
9782
11102
fi
9783
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9784
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9785
 
if test $ac_cv_lib_dld_shl_load = yes; then
9786
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
11103
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11104
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11105
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11106
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9787
11107
else
9788
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9789
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
11108
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
11109
$as_echo_n "checking for dlopen... " >&6; }
9790
11110
if test "${ac_cv_func_dlopen+set}" = set; then
9791
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11111
  $as_echo_n "(cached) " >&6
9792
11112
else
9793
11113
  cat >conftest.$ac_ext <<_ACEOF
9794
11114
/* confdefs.h.  */
9841
11161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9842
11162
  *) ac_try_echo=$ac_try;;
9843
11163
esac
9844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11164
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11165
$as_echo "$ac_try_echo") >&5
9845
11166
  (eval "$ac_link") 2>conftest.er1
9846
11167
  ac_status=$?
9847
11168
  grep -v '^ *+' conftest.er1 >conftest.err
9848
11169
  rm -f conftest.er1
9849
11170
  cat conftest.err >&5
9850
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11171
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851
11172
  (exit $ac_status); } && {
9852
11173
         test -z "$ac_c_werror_flag" ||
9853
11174
         test ! -s conftest.err
9854
 
       } && test -s conftest$ac_exeext &&
9855
 
       $as_test_x conftest$ac_exeext; then
 
11175
       } && test -s conftest$ac_exeext && {
 
11176
         test "$cross_compiling" = yes ||
 
11177
         $as_test_x conftest$ac_exeext
 
11178
       }; then
9856
11179
  ac_cv_func_dlopen=yes
9857
11180
else
9858
 
  echo "$as_me: failed program was:" >&5
 
11181
  $as_echo "$as_me: failed program was:" >&5
9859
11182
sed 's/^/| /' conftest.$ac_ext >&5
9860
11183
 
9861
11184
        ac_cv_func_dlopen=no
9862
11185
fi
9863
11186
 
 
11187
rm -rf conftest.dSYM
9864
11188
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9865
11189
      conftest$ac_exeext conftest.$ac_ext
9866
11190
fi
9867
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9868
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9869
 
if test $ac_cv_func_dlopen = yes; then
 
11191
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11192
$as_echo "$ac_cv_func_dlopen" >&6; }
 
11193
if test "x$ac_cv_func_dlopen" = x""yes; then
9870
11194
  lt_cv_dlopen="dlopen"
9871
11195
else
9872
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9873
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11196
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11197
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9874
11198
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9875
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11199
  $as_echo_n "(cached) " >&6
9876
11200
else
9877
11201
  ac_check_lib_save_LIBS=$LIBS
9878
11202
LIBS="-ldl  $LIBS"
9904
11228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9905
11229
  *) ac_try_echo=$ac_try;;
9906
11230
esac
9907
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11231
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11232
$as_echo "$ac_try_echo") >&5
9908
11233
  (eval "$ac_link") 2>conftest.er1
9909
11234
  ac_status=$?
9910
11235
  grep -v '^ *+' conftest.er1 >conftest.err
9911
11236
  rm -f conftest.er1
9912
11237
  cat conftest.err >&5
9913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11238
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914
11239
  (exit $ac_status); } && {
9915
11240
         test -z "$ac_c_werror_flag" ||
9916
11241
         test ! -s conftest.err
9917
 
       } && test -s conftest$ac_exeext &&
9918
 
       $as_test_x conftest$ac_exeext; then
 
11242
       } && test -s conftest$ac_exeext && {
 
11243
         test "$cross_compiling" = yes ||
 
11244
         $as_test_x conftest$ac_exeext
 
11245
       }; then
9919
11246
  ac_cv_lib_dl_dlopen=yes
9920
11247
else
9921
 
  echo "$as_me: failed program was:" >&5
 
11248
  $as_echo "$as_me: failed program was:" >&5
9922
11249
sed 's/^/| /' conftest.$ac_ext >&5
9923
11250
 
9924
11251
        ac_cv_lib_dl_dlopen=no
9925
11252
fi
9926
11253
 
 
11254
rm -rf conftest.dSYM
9927
11255
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9928
11256
      conftest$ac_exeext conftest.$ac_ext
9929
11257
LIBS=$ac_check_lib_save_LIBS
9930
11258
fi
9931
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9932
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9933
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11259
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11260
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11261
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9934
11262
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9935
11263
else
9936
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9937
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
11264
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11265
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9938
11266
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9939
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11267
  $as_echo_n "(cached) " >&6
9940
11268
else
9941
11269
  ac_check_lib_save_LIBS=$LIBS
9942
11270
LIBS="-lsvld  $LIBS"
9968
11296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9969
11297
  *) ac_try_echo=$ac_try;;
9970
11298
esac
9971
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11299
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11300
$as_echo "$ac_try_echo") >&5
9972
11301
  (eval "$ac_link") 2>conftest.er1
9973
11302
  ac_status=$?
9974
11303
  grep -v '^ *+' conftest.er1 >conftest.err
9975
11304
  rm -f conftest.er1
9976
11305
  cat conftest.err >&5
9977
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11306
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978
11307
  (exit $ac_status); } && {
9979
11308
         test -z "$ac_c_werror_flag" ||
9980
11309
         test ! -s conftest.err
9981
 
       } && test -s conftest$ac_exeext &&
9982
 
       $as_test_x conftest$ac_exeext; then
 
11310
       } && test -s conftest$ac_exeext && {
 
11311
         test "$cross_compiling" = yes ||
 
11312
         $as_test_x conftest$ac_exeext
 
11313
       }; then
9983
11314
  ac_cv_lib_svld_dlopen=yes
9984
11315
else
9985
 
  echo "$as_me: failed program was:" >&5
 
11316
  $as_echo "$as_me: failed program was:" >&5
9986
11317
sed 's/^/| /' conftest.$ac_ext >&5
9987
11318
 
9988
11319
        ac_cv_lib_svld_dlopen=no
9989
11320
fi
9990
11321
 
 
11322
rm -rf conftest.dSYM
9991
11323
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9992
11324
      conftest$ac_exeext conftest.$ac_ext
9993
11325
LIBS=$ac_check_lib_save_LIBS
9994
11326
fi
9995
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9996
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9997
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11327
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11328
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11329
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
9998
11330
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9999
11331
else
10000
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10001
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
11332
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11333
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10002
11334
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10003
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11335
  $as_echo_n "(cached) " >&6
10004
11336
else
10005
11337
  ac_check_lib_save_LIBS=$LIBS
10006
11338
LIBS="-ldld  $LIBS"
10032
11364
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10033
11365
  *) ac_try_echo=$ac_try;;
10034
11366
esac
10035
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11367
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11368
$as_echo "$ac_try_echo") >&5
10036
11369
  (eval "$ac_link") 2>conftest.er1
10037
11370
  ac_status=$?
10038
11371
  grep -v '^ *+' conftest.er1 >conftest.err
10039
11372
  rm -f conftest.er1
10040
11373
  cat conftest.err >&5
10041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11374
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042
11375
  (exit $ac_status); } && {
10043
11376
         test -z "$ac_c_werror_flag" ||
10044
11377
         test ! -s conftest.err
10045
 
       } && test -s conftest$ac_exeext &&
10046
 
       $as_test_x conftest$ac_exeext; then
 
11378
       } && test -s conftest$ac_exeext && {
 
11379
         test "$cross_compiling" = yes ||
 
11380
         $as_test_x conftest$ac_exeext
 
11381
       }; then
10047
11382
  ac_cv_lib_dld_dld_link=yes
10048
11383
else
10049
 
  echo "$as_me: failed program was:" >&5
 
11384
  $as_echo "$as_me: failed program was:" >&5
10050
11385
sed 's/^/| /' conftest.$ac_ext >&5
10051
11386
 
10052
11387
        ac_cv_lib_dld_dld_link=no
10053
11388
fi
10054
11389
 
 
11390
rm -rf conftest.dSYM
10055
11391
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10056
11392
      conftest$ac_exeext conftest.$ac_ext
10057
11393
LIBS=$ac_check_lib_save_LIBS
10058
11394
fi
10059
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10060
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10061
 
if test $ac_cv_lib_dld_dld_link = yes; then
10062
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
11395
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11396
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11397
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11398
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10063
11399
fi
10064
11400
 
10065
11401
 
10097
11433
    save_LIBS="$LIBS"
10098
11434
    LIBS="$lt_cv_dlopen_libs $LIBS"
10099
11435
 
10100
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10101
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
11436
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11437
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10102
11438
if test "${lt_cv_dlopen_self+set}" = set; then
10103
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11439
  $as_echo_n "(cached) " >&6
10104
11440
else
10105
11441
          if test "$cross_compiling" = yes; then :
10106
11442
  lt_cv_dlopen_self=cross
10108
11444
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10109
11445
  lt_status=$lt_dlunknown
10110
11446
  cat > conftest.$ac_ext <<EOF
10111
 
#line 10111 "configure"
 
11447
#line 11447 "configure"
10112
11448
#include "confdefs.h"
10113
11449
 
10114
11450
#if HAVE_DLFCN_H
10174
11510
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10175
11511
  (eval $ac_link) 2>&5
10176
11512
  ac_status=$?
10177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11513
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178
11514
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10179
11515
    (./conftest; exit; ) >&5 2>/dev/null
10180
11516
    lt_status=$?
10192
11528
 
10193
11529
 
10194
11530
fi
10195
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10196
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
11531
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11532
$as_echo "$lt_cv_dlopen_self" >&6; }
10197
11533
 
10198
11534
    if test "x$lt_cv_dlopen_self" = xyes; then
10199
11535
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10200
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10201
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
11536
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11537
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10202
11538
if test "${lt_cv_dlopen_self_static+set}" = set; then
10203
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11539
  $as_echo_n "(cached) " >&6
10204
11540
else
10205
11541
          if test "$cross_compiling" = yes; then :
10206
11542
  lt_cv_dlopen_self_static=cross
10208
11544
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10209
11545
  lt_status=$lt_dlunknown
10210
11546
  cat > conftest.$ac_ext <<EOF
10211
 
#line 10211 "configure"
 
11547
#line 11547 "configure"
10212
11548
#include "confdefs.h"
10213
11549
 
10214
11550
#if HAVE_DLFCN_H
10274
11610
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10275
11611
  (eval $ac_link) 2>&5
10276
11612
  ac_status=$?
10277
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11613
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278
11614
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10279
11615
    (./conftest; exit; ) >&5 2>/dev/null
10280
11616
    lt_status=$?
10292
11628
 
10293
11629
 
10294
11630
fi
10295
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10296
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
11631
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11632
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10297
11633
    fi
10298
11634
 
10299
11635
    CPPFLAGS="$save_CPPFLAGS"
10315
11651
 
10316
11652
 
10317
11653
# Report which library types will actually be built
10318
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10319
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10320
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10321
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
11654
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11655
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11656
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11657
$as_echo "$can_build_shared" >&6; }
10322
11658
 
10323
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10324
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
11659
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11660
$as_echo_n "checking whether to build shared libraries... " >&6; }
10325
11661
test "$can_build_shared" = "no" && enable_shared=no
10326
11662
 
10327
11663
# On AIX, shared libraries and static libraries use the same namespace, and
10335
11671
  fi
10336
11672
  ;;
10337
11673
 
10338
 
aix4* | aix5*)
 
11674
aix[4-9]*)
10339
11675
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10340
11676
    test "$enable_shared" = yes && enable_static=no
10341
11677
  fi
10342
11678
    ;;
10343
11679
esac
10344
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10345
 
echo "${ECHO_T}$enable_shared" >&6; }
 
11680
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11681
$as_echo "$enable_shared" >&6; }
10346
11682
 
10347
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10348
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
11683
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11684
$as_echo_n "checking whether to build static libraries... " >&6; }
10349
11685
# Make sure either enable_shared or enable_static is yes.
10350
11686
test "$enable_shared" = yes || enable_static=yes
10351
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10352
 
echo "${ECHO_T}$enable_static" >&6; }
 
11687
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11688
$as_echo "$enable_static" >&6; }
10353
11689
 
10354
11690
# The else clause should only fire when bootstrapping the
10355
11691
# libtool distribution, otherwise you forgot to ship ltmain.sh
10391
11727
    predeps \
10392
11728
    postdeps \
10393
11729
    compiler_lib_search_path \
 
11730
    compiler_lib_search_dirs \
10394
11731
    archive_cmds \
10395
11732
    archive_expsym_cmds \
10396
11733
    postinstall_cmds \
10441
11778
cfgfile="${ofile}T"
10442
11779
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10443
11780
  $rm -f "$cfgfile"
10444
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10445
 
echo "$as_me: creating $ofile" >&6;}
 
11781
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
 
11782
$as_echo "$as_me: creating $ofile" >&6;}
10446
11783
 
10447
11784
  cat <<__EOF__ >> "$cfgfile"
10448
11785
#! $SHELL
10451
11788
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10452
11789
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10453
11790
#
10454
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 
11791
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10455
11792
# Free Software Foundation, Inc.
10456
11793
#
10457
11794
# This file is part of GNU Libtool:
10687
12024
# shared library.
10688
12025
postdeps=$lt_postdeps
10689
12026
 
 
12027
# The directories searched by this compiler when creating a shared
 
12028
# library
 
12029
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
12030
 
10690
12031
# The library search path used internally by the compiler when linking
10691
12032
# a shared library.
10692
12033
compiler_lib_search_path=$lt_compiler_lib_search_path
10850
12191
 
10851
12192
if test -f "$ltmain" && test -n "$tagnames"; then
10852
12193
  if test ! -f "${ofile}"; then
10853
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10854
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 
12194
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 
12195
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10855
12196
  fi
10856
12197
 
10857
12198
  if test -z "$LTCC"; then
10858
12199
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10859
12200
    if test -z "$LTCC"; then
10860
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10861
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 
12201
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 
12202
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10862
12203
    else
10863
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10864
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 
12204
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 
12205
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10865
12206
    fi
10866
12207
  fi
10867
12208
  if test -z "$LTCFLAGS"; then
10878
12219
    # Check whether tagname contains only valid characters
10879
12220
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10880
12221
    "") ;;
10881
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10882
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
 
12222
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 
12223
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
10883
12224
   { (exit 1); exit 1; }; }
10884
12225
        ;;
10885
12226
    esac
10886
12227
 
10887
12228
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10888
12229
    then
10889
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10890
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 
12230
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 
12231
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10891
12232
   { (exit 1); exit 1; }; }
10892
12233
    fi
10893
12234
 
10935
12276
predeps_CXX=
10936
12277
postdeps_CXX=
10937
12278
compiler_lib_search_path_CXX=
 
12279
compiler_lib_search_dirs_CXX=
10938
12280
 
10939
12281
# Source file extension for C++ test sources.
10940
12282
ac_ext=cpp
10972
12314
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10973
12315
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10974
12316
_lt_linker_boilerplate=`cat conftest.err`
10975
 
$rm conftest*
 
12317
$rm -r conftest*
10976
12318
 
10977
12319
 
10978
12320
# Allow CC to be a program name with arguments.
11029
12371
ac_prog=ld
11030
12372
if test "$GCC" = yes; then
11031
12373
  # Check if gcc -print-prog-name=ld gives a path.
11032
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11033
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
12374
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
12375
$as_echo_n "checking for ld used by $CC... " >&6; }
11034
12376
  case $host in
11035
12377
  *-*-mingw*)
11036
12378
    # gcc leaves a trailing carriage return which upsets mingw
11059
12401
    ;;
11060
12402
  esac
11061
12403
elif test "$with_gnu_ld" = yes; then
11062
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11063
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
12404
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
12405
$as_echo_n "checking for GNU ld... " >&6; }
11064
12406
else
11065
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11066
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
12407
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
12408
$as_echo_n "checking for non-GNU ld... " >&6; }
11067
12409
fi
11068
12410
if test "${lt_cv_path_LD+set}" = set; then
11069
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12411
  $as_echo_n "(cached) " >&6
11070
12412
else
11071
12413
  if test -z "$LD"; then
11072
12414
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11096
12438
 
11097
12439
LD="$lt_cv_path_LD"
11098
12440
if test -n "$LD"; then
11099
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11100
 
echo "${ECHO_T}$LD" >&6; }
 
12441
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
12442
$as_echo "$LD" >&6; }
11101
12443
else
11102
 
  { echo "$as_me:$LINENO: result: no" >&5
11103
 
echo "${ECHO_T}no" >&6; }
 
12444
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12445
$as_echo "no" >&6; }
11104
12446
fi
11105
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11106
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
12447
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
12448
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11107
12449
   { (exit 1); exit 1; }; }
11108
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11109
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
12450
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
12451
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11110
12452
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11111
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12453
  $as_echo_n "(cached) " >&6
11112
12454
else
11113
12455
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11114
12456
case `$LD -v 2>&1 </dev/null` in
11120
12462
  ;;
11121
12463
esac
11122
12464
fi
11123
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11124
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
12465
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
12466
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
11125
12467
with_gnu_ld=$lt_cv_prog_gnu_ld
11126
12468
 
11127
12469
 
11171
12513
fi
11172
12514
 
11173
12515
# PORTME: fill in a description of your system's C++ link characteristics
11174
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11175
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
12516
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12517
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11176
12518
ld_shlibs_CXX=yes
11177
12519
case $host_os in
11178
12520
  aix3*)
11179
12521
    # FIXME: insert proper C++ library support
11180
12522
    ld_shlibs_CXX=no
11181
12523
    ;;
11182
 
  aix4* | aix5*)
 
12524
  aix[4-9]*)
11183
12525
    if test "$host_cpu" = ia64; then
11184
12526
      # On IA64, the linker does run time linking by default, so we don't
11185
12527
      # have to do anything special.
11192
12534
      # Test if we are trying to use run time linking or normal
11193
12535
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11194
12536
      # need to do runtime linking.
11195
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
12537
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11196
12538
        for ld_flag in $LDFLAGS; do
11197
12539
          case $ld_flag in
11198
12540
          *-brtl*)
11289
12631
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11290
12632
  *) ac_try_echo=$ac_try;;
11291
12633
esac
11292
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12634
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12635
$as_echo "$ac_try_echo") >&5
11293
12636
  (eval "$ac_link") 2>conftest.er1
11294
12637
  ac_status=$?
11295
12638
  grep -v '^ *+' conftest.er1 >conftest.err
11296
12639
  rm -f conftest.er1
11297
12640
  cat conftest.err >&5
11298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12641
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299
12642
  (exit $ac_status); } && {
11300
12643
         test -z "$ac_cxx_werror_flag" ||
11301
12644
         test ! -s conftest.err
11302
 
       } && test -s conftest$ac_exeext &&
11303
 
       $as_test_x conftest$ac_exeext; then
 
12645
       } && test -s conftest$ac_exeext && {
 
12646
         test "$cross_compiling" = yes ||
 
12647
         $as_test_x conftest$ac_exeext
 
12648
       }; then
11304
12649
 
11305
12650
lt_aix_libpath_sed='
11306
12651
    /Import File Strings/,/^$/ {
11315
12660
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11316
12661
fi
11317
12662
else
11318
 
  echo "$as_me: failed program was:" >&5
 
12663
  $as_echo "$as_me: failed program was:" >&5
11319
12664
sed 's/^/| /' conftest.$ac_ext >&5
11320
12665
 
11321
12666
 
11322
12667
fi
11323
12668
 
 
12669
rm -rf conftest.dSYM
11324
12670
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11325
12671
      conftest$ac_exeext conftest.$ac_ext
11326
12672
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11356
12702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11357
12703
  *) ac_try_echo=$ac_try;;
11358
12704
esac
11359
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12705
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12706
$as_echo "$ac_try_echo") >&5
11360
12707
  (eval "$ac_link") 2>conftest.er1
11361
12708
  ac_status=$?
11362
12709
  grep -v '^ *+' conftest.er1 >conftest.err
11363
12710
  rm -f conftest.er1
11364
12711
  cat conftest.err >&5
11365
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12712
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366
12713
  (exit $ac_status); } && {
11367
12714
         test -z "$ac_cxx_werror_flag" ||
11368
12715
         test ! -s conftest.err
11369
 
       } && test -s conftest$ac_exeext &&
11370
 
       $as_test_x conftest$ac_exeext; then
 
12716
       } && test -s conftest$ac_exeext && {
 
12717
         test "$cross_compiling" = yes ||
 
12718
         $as_test_x conftest$ac_exeext
 
12719
       }; then
11371
12720
 
11372
12721
lt_aix_libpath_sed='
11373
12722
    /Import File Strings/,/^$/ {
11382
12731
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11383
12732
fi
11384
12733
else
11385
 
  echo "$as_me: failed program was:" >&5
 
12734
  $as_echo "$as_me: failed program was:" >&5
11386
12735
sed 's/^/| /' conftest.$ac_ext >&5
11387
12736
 
11388
12737
 
11389
12738
fi
11390
12739
 
 
12740
rm -rf conftest.dSYM
11391
12741
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11392
12742
      conftest$ac_exeext conftest.$ac_ext
11393
12743
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11450
12800
    fi
11451
12801
  ;;
11452
12802
      darwin* | rhapsody*)
11453
 
        case $host_os in
11454
 
        rhapsody* | darwin1.[012])
11455
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11456
 
         ;;
11457
 
       *) # Darwin 1.3 on
11458
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11459
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11460
 
         else
11461
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11462
 
             10.[012])
11463
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11464
 
               ;;
11465
 
             10.*)
11466
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11467
 
               ;;
11468
 
           esac
11469
 
         fi
11470
 
         ;;
11471
 
        esac
11472
12803
      archive_cmds_need_lc_CXX=no
11473
12804
      hardcode_direct_CXX=no
11474
12805
      hardcode_automatic_CXX=yes
11475
12806
      hardcode_shlibpath_var_CXX=unsupported
11476
12807
      whole_archive_flag_spec_CXX=''
11477
12808
      link_all_deplibs_CXX=yes
11478
 
 
11479
 
    if test "$GXX" = yes ; then
11480
 
      lt_int_apple_cc_single_mod=no
 
12809
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
12810
      if test "$GXX" = yes ; then
11481
12811
      output_verbose_link_cmd='echo'
11482
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11483
 
       lt_int_apple_cc_single_mod=yes
 
12812
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12813
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12814
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
12815
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
12816
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
12817
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
12818
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11484
12819
      fi
11485
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11486
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11487
 
      else
11488
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11489
 
        fi
11490
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11491
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11492
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11493
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11494
 
          else
11495
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11496
 
          fi
11497
 
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11498
12820
      else
11499
12821
      case $cc_basename in
11500
12822
        xlc*)
11745
13067
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11746
13068
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11747
13069
        ;;
11748
 
      pgCC*)
 
13070
      pgCC* | pgcpp*)
11749
13071
        # Portland Group C++ compiler
11750
13072
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11751
13073
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12145
13467
    ld_shlibs_CXX=no
12146
13468
    ;;
12147
13469
esac
12148
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12149
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
13470
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13471
$as_echo "$ld_shlibs_CXX" >&6; }
12150
13472
test "$ld_shlibs_CXX" = no && can_build_shared=no
12151
13473
 
12152
13474
GCC_CXX="$GXX"
12153
13475
LD_CXX="$LD"
12154
13476
 
12155
 
 
12156
13477
cat > conftest.$ac_ext <<EOF
12157
13478
class Foo
12158
13479
{
12166
13487
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12167
13488
  (eval $ac_compile) 2>&5
12168
13489
  ac_status=$?
12169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13490
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170
13491
  (exit $ac_status); }; then
12171
13492
  # Parse the compiler output and extract the necessary
12172
13493
  # objects, libraries and library flags.
12254
13575
 
12255
13576
$rm -f confest.$objext
12256
13577
 
 
13578
compiler_lib_search_dirs_CXX=
 
13579
if test -n "$compiler_lib_search_path_CXX"; then
 
13580
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
13581
fi
 
13582
 
12257
13583
# PORTME: override above test on systems where it is broken
12258
13584
case $host_os in
12259
13585
interix[3-9]*)
12309
13635
  ;;
12310
13636
esac
12311
13637
 
12312
 
 
12313
13638
case " $postdeps_CXX " in
12314
13639
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12315
13640
esac
12318
13643
lt_prog_compiler_pic_CXX=
12319
13644
lt_prog_compiler_static_CXX=
12320
13645
 
12321
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12322
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
13646
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
13647
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12323
13648
 
12324
13649
  # C++ specific cases for pic, static, wl, etc.
12325
13650
  if test "$GXX" = yes; then
12385
13710
    esac
12386
13711
  else
12387
13712
    case $host_os in
12388
 
      aix4* | aix5*)
 
13713
      aix[4-9]*)
12389
13714
        # All AIX code is PIC.
12390
13715
        if test "$host_cpu" = ia64; then
12391
13716
          # AIX 5 now supports IA64 processor
12481
13806
            lt_prog_compiler_pic_CXX='-KPIC'
12482
13807
            lt_prog_compiler_static_CXX='-static'
12483
13808
            ;;
12484
 
          pgCC*)
 
13809
          pgCC* | pgcpp*)
12485
13810
            # Portland Group C++ compiler.
12486
13811
            lt_prog_compiler_wl_CXX='-Wl,'
12487
13812
            lt_prog_compiler_pic_CXX='-fpic'
12602
13927
    esac
12603
13928
  fi
12604
13929
 
12605
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12606
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
13930
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
13931
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12607
13932
 
12608
13933
#
12609
13934
# Check to make sure the PIC flag actually works.
12610
13935
#
12611
13936
if test -n "$lt_prog_compiler_pic_CXX"; then
12612
13937
 
12613
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12614
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12615
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12616
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13938
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13939
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
13940
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
13941
  $as_echo_n "(cached) " >&6
12617
13942
else
12618
 
  lt_prog_compiler_pic_works_CXX=no
 
13943
  lt_cv_prog_compiler_pic_works_CXX=no
12619
13944
  ac_outfile=conftest.$ac_objext
12620
13945
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12621
13946
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12628
13953
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12629
13954
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12630
13955
   -e 's:$: $lt_compiler_flag:'`
12631
 
   (eval echo "\"\$as_me:12631: $lt_compile\"" >&5)
 
13956
   (eval echo "\"\$as_me:13956: $lt_compile\"" >&5)
12632
13957
   (eval "$lt_compile" 2>conftest.err)
12633
13958
   ac_status=$?
12634
13959
   cat conftest.err >&5
12635
 
   echo "$as_me:12635: \$? = $ac_status" >&5
 
13960
   echo "$as_me:13960: \$? = $ac_status" >&5
12636
13961
   if (exit $ac_status) && test -s "$ac_outfile"; then
12637
13962
     # The compiler can only warn and ignore the option if not recognized
12638
13963
     # So say no if there are warnings other than the usual output.
12639
13964
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12640
13965
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12641
13966
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12642
 
       lt_prog_compiler_pic_works_CXX=yes
 
13967
       lt_cv_prog_compiler_pic_works_CXX=yes
12643
13968
     fi
12644
13969
   fi
12645
13970
   $rm conftest*
12646
13971
 
12647
13972
fi
12648
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12649
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
13973
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13974
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12650
13975
 
12651
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
13976
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12652
13977
    case $lt_prog_compiler_pic_CXX in
12653
13978
     "" | " "*) ;;
12654
13979
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12673
13998
# Check to make sure the static flag actually works.
12674
13999
#
12675
14000
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12676
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12677
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12678
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12679
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14001
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14002
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
14003
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
14004
  $as_echo_n "(cached) " >&6
12680
14005
else
12681
 
  lt_prog_compiler_static_works_CXX=no
 
14006
  lt_cv_prog_compiler_static_works_CXX=no
12682
14007
   save_LDFLAGS="$LDFLAGS"
12683
14008
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12684
14009
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12691
14016
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12692
14017
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12693
14018
       if diff conftest.exp conftest.er2 >/dev/null; then
12694
 
         lt_prog_compiler_static_works_CXX=yes
 
14019
         lt_cv_prog_compiler_static_works_CXX=yes
12695
14020
       fi
12696
14021
     else
12697
 
       lt_prog_compiler_static_works_CXX=yes
 
14022
       lt_cv_prog_compiler_static_works_CXX=yes
12698
14023
     fi
12699
14024
   fi
12700
 
   $rm conftest*
 
14025
   $rm -r conftest*
12701
14026
   LDFLAGS="$save_LDFLAGS"
12702
14027
 
12703
14028
fi
12704
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12705
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
14029
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14030
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12706
14031
 
12707
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
14032
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12708
14033
    :
12709
14034
else
12710
14035
    lt_prog_compiler_static_CXX=
12711
14036
fi
12712
14037
 
12713
14038
 
12714
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12715
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
14039
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14040
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12716
14041
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12717
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14042
  $as_echo_n "(cached) " >&6
12718
14043
else
12719
14044
  lt_cv_prog_compiler_c_o_CXX=no
12720
14045
   $rm -r conftest 2>/dev/null
12732
14057
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12733
14058
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12734
14059
   -e 's:$: $lt_compiler_flag:'`
12735
 
   (eval echo "\"\$as_me:12735: $lt_compile\"" >&5)
 
14060
   (eval echo "\"\$as_me:14060: $lt_compile\"" >&5)
12736
14061
   (eval "$lt_compile" 2>out/conftest.err)
12737
14062
   ac_status=$?
12738
14063
   cat out/conftest.err >&5
12739
 
   echo "$as_me:12739: \$? = $ac_status" >&5
 
14064
   echo "$as_me:14064: \$? = $ac_status" >&5
12740
14065
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12741
14066
   then
12742
14067
     # The compiler can only warn and ignore the option if not recognized
12758
14083
   $rm conftest*
12759
14084
 
12760
14085
fi
12761
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12762
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14086
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14087
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12763
14088
 
12764
14089
 
12765
14090
hard_links="nottested"
12766
14091
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12767
14092
  # do not overwrite the value of need_locks provided by the user
12768
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12769
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
14093
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14094
$as_echo_n "checking if we can lock with hard links... " >&6; }
12770
14095
  hard_links=yes
12771
14096
  $rm conftest*
12772
14097
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12773
14098
  touch conftest.a
12774
14099
  ln conftest.a conftest.b 2>&5 || hard_links=no
12775
14100
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12776
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12777
 
echo "${ECHO_T}$hard_links" >&6; }
 
14101
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
14102
$as_echo "$hard_links" >&6; }
12778
14103
  if test "$hard_links" = no; then
12779
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12780
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14104
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14105
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12781
14106
    need_locks=warn
12782
14107
  fi
12783
14108
else
12784
14109
  need_locks=no
12785
14110
fi
12786
14111
 
12787
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12788
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
14112
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14113
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12789
14114
 
12790
14115
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12791
14116
  case $host_os in
12792
 
  aix4* | aix5*)
 
14117
  aix[4-9]*)
12793
14118
    # If we're using GNU nm, then we don't want the "-C" option.
12794
14119
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12795
14120
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12808
14133
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12809
14134
  ;;
12810
14135
  esac
 
14136
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12811
14137
 
12812
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12813
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
14138
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14139
$as_echo "$ld_shlibs_CXX" >&6; }
12814
14140
test "$ld_shlibs_CXX" = no && can_build_shared=no
12815
14141
 
12816
14142
#
12830
14156
      # Test whether the compiler implicitly links with -lc since on some
12831
14157
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12832
14158
      # to ld, don't add -lc before -lgcc.
12833
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12834
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
14159
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14160
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12835
14161
      $rm conftest*
12836
14162
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12837
14163
 
12838
14164
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12839
14165
  (eval $ac_compile) 2>&5
12840
14166
  ac_status=$?
12841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14167
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842
14168
  (exit $ac_status); } 2>conftest.err; then
12843
14169
        soname=conftest
12844
14170
        lib=conftest
12856
14182
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12857
14183
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12858
14184
  ac_status=$?
12859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14185
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860
14186
  (exit $ac_status); }
12861
14187
        then
12862
14188
          archive_cmds_need_lc_CXX=no
12868
14194
        cat conftest.err 1>&5
12869
14195
      fi
12870
14196
      $rm conftest*
12871
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12872
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
14197
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
14198
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
12873
14199
      ;;
12874
14200
    esac
12875
14201
  fi
12876
14202
  ;;
12877
14203
esac
12878
14204
 
12879
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12880
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
14205
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14206
$as_echo_n "checking dynamic linker characteristics... " >&6; }
12881
14207
library_names_spec=
12882
14208
libname_spec='lib$name'
12883
14209
soname_spec=
12909
14235
  soname_spec='${libname}${release}${shared_ext}$major'
12910
14236
  ;;
12911
14237
 
12912
 
aix4* | aix5*)
 
14238
aix[4-9]*)
12913
14239
  version_type=linux
12914
14240
  need_lib_prefix=no
12915
14241
  need_version=no
13428
14754
  dynamic_linker=no
13429
14755
  ;;
13430
14756
esac
13431
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13432
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
14757
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
14758
$as_echo "$dynamic_linker" >&6; }
13433
14759
test "$dynamic_linker" = no && can_build_shared=no
13434
14760
 
 
14761
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14762
  $as_echo_n "(cached) " >&6
 
14763
else
 
14764
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
14765
fi
 
14766
 
 
14767
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14768
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14769
  $as_echo_n "(cached) " >&6
 
14770
else
 
14771
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
14772
fi
 
14773
 
 
14774
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14775
 
13435
14776
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13436
14777
if test "$GCC" = yes; then
13437
14778
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13438
14779
fi
13439
14780
 
13440
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13441
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
14781
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
14782
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13442
14783
hardcode_action_CXX=
13443
14784
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13444
14785
   test -n "$runpath_var_CXX" || \
13462
14803
  # directories.
13463
14804
  hardcode_action_CXX=unsupported
13464
14805
fi
13465
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13466
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
 
14806
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
14807
$as_echo "$hardcode_action_CXX" >&6; }
13467
14808
 
13468
14809
if test "$hardcode_action_CXX" = relink; then
13469
14810
  # Fast installation is not supported
13515
14856
    predeps_CXX \
13516
14857
    postdeps_CXX \
13517
14858
    compiler_lib_search_path_CXX \
 
14859
    compiler_lib_search_dirs_CXX \
13518
14860
    archive_cmds_CXX \
13519
14861
    archive_expsym_cmds_CXX \
13520
14862
    postinstall_cmds_CXX \
13763
15105
# shared library.
13764
15106
postdeps=$lt_postdeps_CXX
13765
15107
 
 
15108
# The directories searched by this compiler when creating a shared
 
15109
# library
 
15110
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
15111
 
13766
15112
# The library search path used internally by the compiler when linking
13767
15113
# a shared library.
13768
15114
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13977
15323
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13978
15324
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13979
15325
_lt_linker_boilerplate=`cat conftest.err`
13980
 
$rm conftest*
 
15326
$rm -r conftest*
13981
15327
 
13982
15328
 
13983
15329
# Allow CC to be a program name with arguments.
13996
15342
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13997
15343
 
13998
15344
 
13999
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14000
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14001
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14002
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
15345
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
15346
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
15347
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
15348
$as_echo "$can_build_shared" >&6; }
14003
15349
 
14004
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14005
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
15350
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
15351
$as_echo_n "checking whether to build shared libraries... " >&6; }
14006
15352
test "$can_build_shared" = "no" && enable_shared=no
14007
15353
 
14008
15354
# On AIX, shared libraries and static libraries use the same namespace, and
14015
15361
    postinstall_cmds='$RANLIB $lib'
14016
15362
  fi
14017
15363
  ;;
14018
 
aix4* | aix5*)
 
15364
aix[4-9]*)
14019
15365
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14020
15366
    test "$enable_shared" = yes && enable_static=no
14021
15367
  fi
14022
15368
  ;;
14023
15369
esac
14024
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14025
 
echo "${ECHO_T}$enable_shared" >&6; }
 
15370
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
15371
$as_echo "$enable_shared" >&6; }
14026
15372
 
14027
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14028
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
15373
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
15374
$as_echo_n "checking whether to build static libraries... " >&6; }
14029
15375
# Make sure either enable_shared or enable_static is yes.
14030
15376
test "$enable_shared" = yes || enable_static=yes
14031
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14032
 
echo "${ECHO_T}$enable_static" >&6; }
 
15377
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
15378
$as_echo "$enable_static" >&6; }
14033
15379
 
14034
15380
GCC_F77="$G77"
14035
15381
LD_F77="$LD"
14038
15384
lt_prog_compiler_pic_F77=
14039
15385
lt_prog_compiler_static_F77=
14040
15386
 
14041
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14042
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
15387
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
15388
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14043
15389
 
14044
15390
  if test "$GCC" = yes; then
14045
15391
    lt_prog_compiler_wl_F77='-Wl,'
14270
15616
    esac
14271
15617
  fi
14272
15618
 
14273
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14274
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
 
15619
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
15620
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
14275
15621
 
14276
15622
#
14277
15623
# Check to make sure the PIC flag actually works.
14278
15624
#
14279
15625
if test -n "$lt_prog_compiler_pic_F77"; then
14280
15626
 
14281
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14282
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14283
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14284
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15627
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
15628
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
 
15629
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
 
15630
  $as_echo_n "(cached) " >&6
14285
15631
else
14286
 
  lt_prog_compiler_pic_works_F77=no
 
15632
  lt_cv_prog_compiler_pic_works_F77=no
14287
15633
  ac_outfile=conftest.$ac_objext
14288
15634
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14289
15635
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14296
15642
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14297
15643
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14298
15644
   -e 's:$: $lt_compiler_flag:'`
14299
 
   (eval echo "\"\$as_me:14299: $lt_compile\"" >&5)
 
15645
   (eval echo "\"\$as_me:15645: $lt_compile\"" >&5)
14300
15646
   (eval "$lt_compile" 2>conftest.err)
14301
15647
   ac_status=$?
14302
15648
   cat conftest.err >&5
14303
 
   echo "$as_me:14303: \$? = $ac_status" >&5
 
15649
   echo "$as_me:15649: \$? = $ac_status" >&5
14304
15650
   if (exit $ac_status) && test -s "$ac_outfile"; then
14305
15651
     # The compiler can only warn and ignore the option if not recognized
14306
15652
     # So say no if there are warnings other than the usual output.
14307
15653
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14308
15654
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14309
15655
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14310
 
       lt_prog_compiler_pic_works_F77=yes
 
15656
       lt_cv_prog_compiler_pic_works_F77=yes
14311
15657
     fi
14312
15658
   fi
14313
15659
   $rm conftest*
14314
15660
 
14315
15661
fi
14316
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14317
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
15662
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
15663
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
14318
15664
 
14319
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
15665
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14320
15666
    case $lt_prog_compiler_pic_F77 in
14321
15667
     "" | " "*) ;;
14322
15668
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14341
15687
# Check to make sure the static flag actually works.
14342
15688
#
14343
15689
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14344
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14345
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14346
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14347
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15690
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
15691
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
15692
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
 
15693
  $as_echo_n "(cached) " >&6
14348
15694
else
14349
 
  lt_prog_compiler_static_works_F77=no
 
15695
  lt_cv_prog_compiler_static_works_F77=no
14350
15696
   save_LDFLAGS="$LDFLAGS"
14351
15697
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14352
15698
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14359
15705
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14360
15706
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14361
15707
       if diff conftest.exp conftest.er2 >/dev/null; then
14362
 
         lt_prog_compiler_static_works_F77=yes
 
15708
         lt_cv_prog_compiler_static_works_F77=yes
14363
15709
       fi
14364
15710
     else
14365
 
       lt_prog_compiler_static_works_F77=yes
 
15711
       lt_cv_prog_compiler_static_works_F77=yes
14366
15712
     fi
14367
15713
   fi
14368
 
   $rm conftest*
 
15714
   $rm -r conftest*
14369
15715
   LDFLAGS="$save_LDFLAGS"
14370
15716
 
14371
15717
fi
14372
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14373
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
15718
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
15719
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
14374
15720
 
14375
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
15721
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14376
15722
    :
14377
15723
else
14378
15724
    lt_prog_compiler_static_F77=
14379
15725
fi
14380
15726
 
14381
15727
 
14382
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14383
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
15728
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
15729
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14384
15730
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14385
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15731
  $as_echo_n "(cached) " >&6
14386
15732
else
14387
15733
  lt_cv_prog_compiler_c_o_F77=no
14388
15734
   $rm -r conftest 2>/dev/null
14400
15746
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14401
15747
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14402
15748
   -e 's:$: $lt_compiler_flag:'`
14403
 
   (eval echo "\"\$as_me:14403: $lt_compile\"" >&5)
 
15749
   (eval echo "\"\$as_me:15749: $lt_compile\"" >&5)
14404
15750
   (eval "$lt_compile" 2>out/conftest.err)
14405
15751
   ac_status=$?
14406
15752
   cat out/conftest.err >&5
14407
 
   echo "$as_me:14407: \$? = $ac_status" >&5
 
15753
   echo "$as_me:15753: \$? = $ac_status" >&5
14408
15754
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14409
15755
   then
14410
15756
     # The compiler can only warn and ignore the option if not recognized
14426
15772
   $rm conftest*
14427
15773
 
14428
15774
fi
14429
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14430
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
 
15775
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
15776
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14431
15777
 
14432
15778
 
14433
15779
hard_links="nottested"
14434
15780
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14435
15781
  # do not overwrite the value of need_locks provided by the user
14436
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14437
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
15782
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
15783
$as_echo_n "checking if we can lock with hard links... " >&6; }
14438
15784
  hard_links=yes
14439
15785
  $rm conftest*
14440
15786
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14441
15787
  touch conftest.a
14442
15788
  ln conftest.a conftest.b 2>&5 || hard_links=no
14443
15789
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14444
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14445
 
echo "${ECHO_T}$hard_links" >&6; }
 
15790
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
15791
$as_echo "$hard_links" >&6; }
14446
15792
  if test "$hard_links" = no; then
14447
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14448
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
15793
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
15794
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14449
15795
    need_locks=warn
14450
15796
  fi
14451
15797
else
14452
15798
  need_locks=no
14453
15799
fi
14454
15800
 
14455
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14456
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
15801
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15802
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14457
15803
 
14458
15804
  runpath_var=
14459
15805
  allow_undefined_flag_F77=
14484
15830
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14485
15831
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14486
15832
  # as well as any symbol that contains `d'.
14487
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
15833
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14488
15834
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14489
15835
  # platforms (ab)use it in PIC code, but their linkers get confused if
14490
15836
  # the symbol is explicitly referenced.  Since portable code cannot
14491
15837
  # rely on this symbol name, it's probably fine to never include it in
14492
15838
  # preloaded symbol tables.
 
15839
  # Exclude shared library initialization/finalization symbols.
14493
15840
  extract_expsyms_cmds=
14494
15841
  # Just being paranoid about ensuring that cc_basename is set.
14495
15842
  for cc_temp in $compiler""; do
14548
15895
 
14549
15896
    # See if GNU ld supports shared libraries.
14550
15897
    case $host_os in
14551
 
    aix3* | aix4* | aix5*)
 
15898
    aix[3-9]*)
14552
15899
      # On AIX/PPC, the GNU linker is very broken
14553
15900
      if test "$host_cpu" != ia64; then
14554
15901
        ld_shlibs_F77=no
14767
16114
      fi
14768
16115
      ;;
14769
16116
 
14770
 
    aix4* | aix5*)
 
16117
    aix[4-9]*)
14771
16118
      if test "$host_cpu" = ia64; then
14772
16119
        # On IA64, the linker does run time linking by default, so we don't
14773
16120
        # have to do anything special.
14787
16134
        # Test if we are trying to use run time linking or normal
14788
16135
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14789
16136
        # need to do runtime linking.
14790
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
16137
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14791
16138
          for ld_flag in $LDFLAGS; do
14792
16139
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14793
16140
            aix_use_runtimelinking=yes
14872
16219
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14873
16220
  *) ac_try_echo=$ac_try;;
14874
16221
esac
14875
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16222
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16223
$as_echo "$ac_try_echo") >&5
14876
16224
  (eval "$ac_link") 2>conftest.er1
14877
16225
  ac_status=$?
14878
16226
  grep -v '^ *+' conftest.er1 >conftest.err
14879
16227
  rm -f conftest.er1
14880
16228
  cat conftest.err >&5
14881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16229
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882
16230
  (exit $ac_status); } && {
14883
16231
         test -z "$ac_f77_werror_flag" ||
14884
16232
         test ! -s conftest.err
14885
 
       } && test -s conftest$ac_exeext &&
14886
 
       $as_test_x conftest$ac_exeext; then
 
16233
       } && test -s conftest$ac_exeext && {
 
16234
         test "$cross_compiling" = yes ||
 
16235
         $as_test_x conftest$ac_exeext
 
16236
       }; then
14887
16237
 
14888
16238
lt_aix_libpath_sed='
14889
16239
    /Import File Strings/,/^$/ {
14898
16248
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14899
16249
fi
14900
16250
else
14901
 
  echo "$as_me: failed program was:" >&5
 
16251
  $as_echo "$as_me: failed program was:" >&5
14902
16252
sed 's/^/| /' conftest.$ac_ext >&5
14903
16253
 
14904
16254
 
14905
16255
fi
14906
16256
 
 
16257
rm -rf conftest.dSYM
14907
16258
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14908
16259
      conftest$ac_exeext conftest.$ac_ext
14909
16260
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14928
16279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14929
16280
  *) ac_try_echo=$ac_try;;
14930
16281
esac
14931
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16282
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16283
$as_echo "$ac_try_echo") >&5
14932
16284
  (eval "$ac_link") 2>conftest.er1
14933
16285
  ac_status=$?
14934
16286
  grep -v '^ *+' conftest.er1 >conftest.err
14935
16287
  rm -f conftest.er1
14936
16288
  cat conftest.err >&5
14937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16289
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938
16290
  (exit $ac_status); } && {
14939
16291
         test -z "$ac_f77_werror_flag" ||
14940
16292
         test ! -s conftest.err
14941
 
       } && test -s conftest$ac_exeext &&
14942
 
       $as_test_x conftest$ac_exeext; then
 
16293
       } && test -s conftest$ac_exeext && {
 
16294
         test "$cross_compiling" = yes ||
 
16295
         $as_test_x conftest$ac_exeext
 
16296
       }; then
14943
16297
 
14944
16298
lt_aix_libpath_sed='
14945
16299
    /Import File Strings/,/^$/ {
14954
16308
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14955
16309
fi
14956
16310
else
14957
 
  echo "$as_me: failed program was:" >&5
 
16311
  $as_echo "$as_me: failed program was:" >&5
14958
16312
sed 's/^/| /' conftest.$ac_ext >&5
14959
16313
 
14960
16314
 
14961
16315
fi
14962
16316
 
 
16317
rm -rf conftest.dSYM
14963
16318
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14964
16319
      conftest$ac_exeext conftest.$ac_ext
14965
16320
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15039
16394
      link_all_deplibs_F77=yes
15040
16395
    if test "$GCC" = yes ; then
15041
16396
        output_verbose_link_cmd='echo'
15042
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15043
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15044
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15045
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15046
 
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
16397
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
16398
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
16399
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
16400
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15047
16401
    else
15048
16402
      case $cc_basename in
15049
16403
        xlc*)
15412
16766
    esac
15413
16767
  fi
15414
16768
 
15415
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15416
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
 
16769
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
16770
$as_echo "$ld_shlibs_F77" >&6; }
15417
16771
test "$ld_shlibs_F77" = no && can_build_shared=no
15418
16772
 
15419
16773
#
15433
16787
      # Test whether the compiler implicitly links with -lc since on some
15434
16788
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15435
16789
      # to ld, don't add -lc before -lgcc.
15436
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15437
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
16790
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
16791
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15438
16792
      $rm conftest*
15439
16793
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15440
16794
 
15441
16795
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15442
16796
  (eval $ac_compile) 2>&5
15443
16797
  ac_status=$?
15444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16798
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445
16799
  (exit $ac_status); } 2>conftest.err; then
15446
16800
        soname=conftest
15447
16801
        lib=conftest
15459
16813
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15460
16814
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15461
16815
  ac_status=$?
15462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16816
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463
16817
  (exit $ac_status); }
15464
16818
        then
15465
16819
          archive_cmds_need_lc_F77=no
15471
16825
        cat conftest.err 1>&5
15472
16826
      fi
15473
16827
      $rm conftest*
15474
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15475
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
 
16828
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
16829
$as_echo "$archive_cmds_need_lc_F77" >&6; }
15476
16830
      ;;
15477
16831
    esac
15478
16832
  fi
15479
16833
  ;;
15480
16834
esac
15481
16835
 
15482
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15483
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
16836
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
16837
$as_echo_n "checking dynamic linker characteristics... " >&6; }
15484
16838
library_names_spec=
15485
16839
libname_spec='lib$name'
15486
16840
soname_spec=
15512
16866
  soname_spec='${libname}${release}${shared_ext}$major'
15513
16867
  ;;
15514
16868
 
15515
 
aix4* | aix5*)
 
16869
aix[4-9]*)
15516
16870
  version_type=linux
15517
16871
  need_lib_prefix=no
15518
16872
  need_version=no
16031
17385
  dynamic_linker=no
16032
17386
  ;;
16033
17387
esac
16034
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16035
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
17388
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
17389
$as_echo "$dynamic_linker" >&6; }
16036
17390
test "$dynamic_linker" = no && can_build_shared=no
16037
17391
 
 
17392
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
17393
  $as_echo_n "(cached) " >&6
 
17394
else
 
17395
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
17396
fi
 
17397
 
 
17398
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
17399
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
17400
  $as_echo_n "(cached) " >&6
 
17401
else
 
17402
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
17403
fi
 
17404
 
 
17405
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
17406
 
16038
17407
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16039
17408
if test "$GCC" = yes; then
16040
17409
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16041
17410
fi
16042
17411
 
16043
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16044
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
17412
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
17413
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16045
17414
hardcode_action_F77=
16046
17415
if test -n "$hardcode_libdir_flag_spec_F77" || \
16047
17416
   test -n "$runpath_var_F77" || \
16065
17434
  # directories.
16066
17435
  hardcode_action_F77=unsupported
16067
17436
fi
16068
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16069
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
 
17437
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
17438
$as_echo "$hardcode_action_F77" >&6; }
16070
17439
 
16071
17440
if test "$hardcode_action_F77" = relink; then
16072
17441
  # Fast installation is not supported
16118
17487
    predeps_F77 \
16119
17488
    postdeps_F77 \
16120
17489
    compiler_lib_search_path_F77 \
 
17490
    compiler_lib_search_dirs_F77 \
16121
17491
    archive_cmds_F77 \
16122
17492
    archive_expsym_cmds_F77 \
16123
17493
    postinstall_cmds_F77 \
16366
17736
# shared library.
16367
17737
postdeps=$lt_postdeps_F77
16368
17738
 
 
17739
# The directories searched by this compiler when creating a shared
 
17740
# library
 
17741
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
17742
 
16369
17743
# The library search path used internally by the compiler when linking
16370
17744
# a shared library.
16371
17745
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16540
17914
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16541
17915
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16542
17916
_lt_linker_boilerplate=`cat conftest.err`
16543
 
$rm conftest*
 
17917
$rm -r conftest*
16544
17918
 
16545
17919
 
16546
17920
# Allow CC to be a program name with arguments.
16571
17945
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16572
17946
 
16573
17947
 
16574
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16575
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
17948
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
17949
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16576
17950
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16577
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17951
  $as_echo_n "(cached) " >&6
16578
17952
else
16579
17953
  lt_cv_prog_compiler_rtti_exceptions=no
16580
17954
  ac_outfile=conftest.$ac_objext
16589
17963
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16590
17964
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16591
17965
   -e 's:$: $lt_compiler_flag:'`
16592
 
   (eval echo "\"\$as_me:16592: $lt_compile\"" >&5)
 
17966
   (eval echo "\"\$as_me:17966: $lt_compile\"" >&5)
16593
17967
   (eval "$lt_compile" 2>conftest.err)
16594
17968
   ac_status=$?
16595
17969
   cat conftest.err >&5
16596
 
   echo "$as_me:16596: \$? = $ac_status" >&5
 
17970
   echo "$as_me:17970: \$? = $ac_status" >&5
16597
17971
   if (exit $ac_status) && test -s "$ac_outfile"; then
16598
17972
     # The compiler can only warn and ignore the option if not recognized
16599
17973
     # So say no if there are warnings other than the usual output.
16606
17980
   $rm conftest*
16607
17981
 
16608
17982
fi
16609
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16610
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
17983
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
17984
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16611
17985
 
16612
17986
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16613
17987
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16621
17995
lt_prog_compiler_pic_GCJ=
16622
17996
lt_prog_compiler_static_GCJ=
16623
17997
 
16624
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16625
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
17998
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
17999
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16626
18000
 
16627
18001
  if test "$GCC" = yes; then
16628
18002
    lt_prog_compiler_wl_GCJ='-Wl,'
16653
18027
      # built for inclusion in a dll (and should export symbols for example).
16654
18028
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16655
18029
      # (--disable-auto-import) libraries
16656
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18030
 
16657
18031
      ;;
16658
18032
 
16659
18033
    darwin* | rhapsody*)
16723
18097
    mingw* | cygwin* | pw32* | os2*)
16724
18098
      # This hack is so that the source file can tell whether it is being
16725
18099
      # built for inclusion in a dll (and should export symbols for example).
16726
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18100
 
16727
18101
      ;;
16728
18102
 
16729
18103
    hpux9* | hpux10* | hpux11*)
16853
18227
    esac
16854
18228
  fi
16855
18229
 
16856
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16857
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
 
18230
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
18231
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
16858
18232
 
16859
18233
#
16860
18234
# Check to make sure the PIC flag actually works.
16861
18235
#
16862
18236
if test -n "$lt_prog_compiler_pic_GCJ"; then
16863
18237
 
16864
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16865
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16866
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16867
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18238
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
18239
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
 
18240
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
 
18241
  $as_echo_n "(cached) " >&6
16868
18242
else
16869
 
  lt_prog_compiler_pic_works_GCJ=no
 
18243
  lt_cv_prog_compiler_pic_works_GCJ=no
16870
18244
  ac_outfile=conftest.$ac_objext
16871
18245
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16872
18246
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16879
18253
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16880
18254
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16881
18255
   -e 's:$: $lt_compiler_flag:'`
16882
 
   (eval echo "\"\$as_me:16882: $lt_compile\"" >&5)
 
18256
   (eval echo "\"\$as_me:18256: $lt_compile\"" >&5)
16883
18257
   (eval "$lt_compile" 2>conftest.err)
16884
18258
   ac_status=$?
16885
18259
   cat conftest.err >&5
16886
 
   echo "$as_me:16886: \$? = $ac_status" >&5
 
18260
   echo "$as_me:18260: \$? = $ac_status" >&5
16887
18261
   if (exit $ac_status) && test -s "$ac_outfile"; then
16888
18262
     # The compiler can only warn and ignore the option if not recognized
16889
18263
     # So say no if there are warnings other than the usual output.
16890
18264
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16891
18265
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16892
18266
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16893
 
       lt_prog_compiler_pic_works_GCJ=yes
 
18267
       lt_cv_prog_compiler_pic_works_GCJ=yes
16894
18268
     fi
16895
18269
   fi
16896
18270
   $rm conftest*
16897
18271
 
16898
18272
fi
16899
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16900
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
18273
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
18274
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
16901
18275
 
16902
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
18276
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
16903
18277
    case $lt_prog_compiler_pic_GCJ in
16904
18278
     "" | " "*) ;;
16905
18279
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16924
18298
# Check to make sure the static flag actually works.
16925
18299
#
16926
18300
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16927
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16928
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16929
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18301
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
18302
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
18303
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
 
18304
  $as_echo_n "(cached) " >&6
16931
18305
else
16932
 
  lt_prog_compiler_static_works_GCJ=no
 
18306
  lt_cv_prog_compiler_static_works_GCJ=no
16933
18307
   save_LDFLAGS="$LDFLAGS"
16934
18308
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16935
18309
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16942
18316
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16943
18317
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16944
18318
       if diff conftest.exp conftest.er2 >/dev/null; then
16945
 
         lt_prog_compiler_static_works_GCJ=yes
 
18319
         lt_cv_prog_compiler_static_works_GCJ=yes
16946
18320
       fi
16947
18321
     else
16948
 
       lt_prog_compiler_static_works_GCJ=yes
 
18322
       lt_cv_prog_compiler_static_works_GCJ=yes
16949
18323
     fi
16950
18324
   fi
16951
 
   $rm conftest*
 
18325
   $rm -r conftest*
16952
18326
   LDFLAGS="$save_LDFLAGS"
16953
18327
 
16954
18328
fi
16955
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16956
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
18329
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
18330
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
16957
18331
 
16958
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
18332
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
16959
18333
    :
16960
18334
else
16961
18335
    lt_prog_compiler_static_GCJ=
16962
18336
fi
16963
18337
 
16964
18338
 
16965
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16966
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
18339
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
18340
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16967
18341
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16968
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18342
  $as_echo_n "(cached) " >&6
16969
18343
else
16970
18344
  lt_cv_prog_compiler_c_o_GCJ=no
16971
18345
   $rm -r conftest 2>/dev/null
16983
18357
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16984
18358
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16985
18359
   -e 's:$: $lt_compiler_flag:'`
16986
 
   (eval echo "\"\$as_me:16986: $lt_compile\"" >&5)
 
18360
   (eval echo "\"\$as_me:18360: $lt_compile\"" >&5)
16987
18361
   (eval "$lt_compile" 2>out/conftest.err)
16988
18362
   ac_status=$?
16989
18363
   cat out/conftest.err >&5
16990
 
   echo "$as_me:16990: \$? = $ac_status" >&5
 
18364
   echo "$as_me:18364: \$? = $ac_status" >&5
16991
18365
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16992
18366
   then
16993
18367
     # The compiler can only warn and ignore the option if not recognized
17009
18383
   $rm conftest*
17010
18384
 
17011
18385
fi
17012
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17013
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
 
18386
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
18387
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17014
18388
 
17015
18389
 
17016
18390
hard_links="nottested"
17017
18391
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17018
18392
  # do not overwrite the value of need_locks provided by the user
17019
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17020
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
18393
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
18394
$as_echo_n "checking if we can lock with hard links... " >&6; }
17021
18395
  hard_links=yes
17022
18396
  $rm conftest*
17023
18397
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17024
18398
  touch conftest.a
17025
18399
  ln conftest.a conftest.b 2>&5 || hard_links=no
17026
18400
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17027
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17028
 
echo "${ECHO_T}$hard_links" >&6; }
 
18401
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
18402
$as_echo "$hard_links" >&6; }
17029
18403
  if test "$hard_links" = no; then
17030
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17031
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
18404
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
18405
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17032
18406
    need_locks=warn
17033
18407
  fi
17034
18408
else
17035
18409
  need_locks=no
17036
18410
fi
17037
18411
 
17038
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17039
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
18412
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
18413
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17040
18414
 
17041
18415
  runpath_var=
17042
18416
  allow_undefined_flag_GCJ=
17067
18441
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17068
18442
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17069
18443
  # as well as any symbol that contains `d'.
17070
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
18444
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17071
18445
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17072
18446
  # platforms (ab)use it in PIC code, but their linkers get confused if
17073
18447
  # the symbol is explicitly referenced.  Since portable code cannot
17074
18448
  # rely on this symbol name, it's probably fine to never include it in
17075
18449
  # preloaded symbol tables.
 
18450
  # Exclude shared library initialization/finalization symbols.
17076
18451
  extract_expsyms_cmds=
17077
18452
  # Just being paranoid about ensuring that cc_basename is set.
17078
18453
  for cc_temp in $compiler""; do
17131
18506
 
17132
18507
    # See if GNU ld supports shared libraries.
17133
18508
    case $host_os in
17134
 
    aix3* | aix4* | aix5*)
 
18509
    aix[3-9]*)
17135
18510
      # On AIX/PPC, the GNU linker is very broken
17136
18511
      if test "$host_cpu" != ia64; then
17137
18512
        ld_shlibs_GCJ=no
17350
18725
      fi
17351
18726
      ;;
17352
18727
 
17353
 
    aix4* | aix5*)
 
18728
    aix[4-9]*)
17354
18729
      if test "$host_cpu" = ia64; then
17355
18730
        # On IA64, the linker does run time linking by default, so we don't
17356
18731
        # have to do anything special.
17370
18745
        # Test if we are trying to use run time linking or normal
17371
18746
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17372
18747
        # need to do runtime linking.
17373
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
18748
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17374
18749
          for ld_flag in $LDFLAGS; do
17375
18750
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17376
18751
            aix_use_runtimelinking=yes
17465
18840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17466
18841
  *) ac_try_echo=$ac_try;;
17467
18842
esac
17468
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18843
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18844
$as_echo "$ac_try_echo") >&5
17469
18845
  (eval "$ac_link") 2>conftest.er1
17470
18846
  ac_status=$?
17471
18847
  grep -v '^ *+' conftest.er1 >conftest.err
17472
18848
  rm -f conftest.er1
17473
18849
  cat conftest.err >&5
17474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18850
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475
18851
  (exit $ac_status); } && {
17476
18852
         test -z "$ac_c_werror_flag" ||
17477
18853
         test ! -s conftest.err
17478
 
       } && test -s conftest$ac_exeext &&
17479
 
       $as_test_x conftest$ac_exeext; then
 
18854
       } && test -s conftest$ac_exeext && {
 
18855
         test "$cross_compiling" = yes ||
 
18856
         $as_test_x conftest$ac_exeext
 
18857
       }; then
17480
18858
 
17481
18859
lt_aix_libpath_sed='
17482
18860
    /Import File Strings/,/^$/ {
17491
18869
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17492
18870
fi
17493
18871
else
17494
 
  echo "$as_me: failed program was:" >&5
 
18872
  $as_echo "$as_me: failed program was:" >&5
17495
18873
sed 's/^/| /' conftest.$ac_ext >&5
17496
18874
 
17497
18875
 
17498
18876
fi
17499
18877
 
 
18878
rm -rf conftest.dSYM
17500
18879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17501
18880
      conftest$ac_exeext conftest.$ac_ext
17502
18881
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17531
18910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532
18911
  *) ac_try_echo=$ac_try;;
17533
18912
esac
17534
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18913
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18914
$as_echo "$ac_try_echo") >&5
17535
18915
  (eval "$ac_link") 2>conftest.er1
17536
18916
  ac_status=$?
17537
18917
  grep -v '^ *+' conftest.er1 >conftest.err
17538
18918
  rm -f conftest.er1
17539
18919
  cat conftest.err >&5
17540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18920
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541
18921
  (exit $ac_status); } && {
17542
18922
         test -z "$ac_c_werror_flag" ||
17543
18923
         test ! -s conftest.err
17544
 
       } && test -s conftest$ac_exeext &&
17545
 
       $as_test_x conftest$ac_exeext; then
 
18924
       } && test -s conftest$ac_exeext && {
 
18925
         test "$cross_compiling" = yes ||
 
18926
         $as_test_x conftest$ac_exeext
 
18927
       }; then
17546
18928
 
17547
18929
lt_aix_libpath_sed='
17548
18930
    /Import File Strings/,/^$/ {
17557
18939
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17558
18940
fi
17559
18941
else
17560
 
  echo "$as_me: failed program was:" >&5
 
18942
  $as_echo "$as_me: failed program was:" >&5
17561
18943
sed 's/^/| /' conftest.$ac_ext >&5
17562
18944
 
17563
18945
 
17564
18946
fi
17565
18947
 
 
18948
rm -rf conftest.dSYM
17566
18949
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17567
18950
      conftest$ac_exeext conftest.$ac_ext
17568
18951
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17642
19025
      link_all_deplibs_GCJ=yes
17643
19026
    if test "$GCC" = yes ; then
17644
19027
        output_verbose_link_cmd='echo'
17645
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17646
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17647
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17648
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17649
 
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
19028
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
19029
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
19030
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
19031
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17650
19032
    else
17651
19033
      case $cc_basename in
17652
19034
        xlc*)
18015
19397
    esac
18016
19398
  fi
18017
19399
 
18018
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18019
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
 
19400
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
19401
$as_echo "$ld_shlibs_GCJ" >&6; }
18020
19402
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18021
19403
 
18022
19404
#
18036
19418
      # Test whether the compiler implicitly links with -lc since on some
18037
19419
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18038
19420
      # to ld, don't add -lc before -lgcc.
18039
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18040
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
19421
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
19422
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18041
19423
      $rm conftest*
18042
19424
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18043
19425
 
18044
19426
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18045
19427
  (eval $ac_compile) 2>&5
18046
19428
  ac_status=$?
18047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19429
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048
19430
  (exit $ac_status); } 2>conftest.err; then
18049
19431
        soname=conftest
18050
19432
        lib=conftest
18062
19444
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18063
19445
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18064
19446
  ac_status=$?
18065
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19447
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066
19448
  (exit $ac_status); }
18067
19449
        then
18068
19450
          archive_cmds_need_lc_GCJ=no
18074
19456
        cat conftest.err 1>&5
18075
19457
      fi
18076
19458
      $rm conftest*
18077
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18078
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
 
19459
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
19460
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
18079
19461
      ;;
18080
19462
    esac
18081
19463
  fi
18082
19464
  ;;
18083
19465
esac
18084
19466
 
18085
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18086
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
19467
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
19468
$as_echo_n "checking dynamic linker characteristics... " >&6; }
18087
19469
library_names_spec=
18088
19470
libname_spec='lib$name'
18089
19471
soname_spec=
18115
19497
  soname_spec='${libname}${release}${shared_ext}$major'
18116
19498
  ;;
18117
19499
 
18118
 
aix4* | aix5*)
 
19500
aix[4-9]*)
18119
19501
  version_type=linux
18120
19502
  need_lib_prefix=no
18121
19503
  need_version=no
18634
20016
  dynamic_linker=no
18635
20017
  ;;
18636
20018
esac
18637
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18638
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
20019
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
20020
$as_echo "$dynamic_linker" >&6; }
18639
20021
test "$dynamic_linker" = no && can_build_shared=no
18640
20022
 
 
20023
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
20024
  $as_echo_n "(cached) " >&6
 
20025
else
 
20026
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
20027
fi
 
20028
 
 
20029
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
20030
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
20031
  $as_echo_n "(cached) " >&6
 
20032
else
 
20033
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
20034
fi
 
20035
 
 
20036
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
20037
 
18641
20038
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18642
20039
if test "$GCC" = yes; then
18643
20040
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18644
20041
fi
18645
20042
 
18646
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18647
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
20043
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
20044
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18648
20045
hardcode_action_GCJ=
18649
20046
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18650
20047
   test -n "$runpath_var_GCJ" || \
18668
20065
  # directories.
18669
20066
  hardcode_action_GCJ=unsupported
18670
20067
fi
18671
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18672
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
 
20068
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
20069
$as_echo "$hardcode_action_GCJ" >&6; }
18673
20070
 
18674
20071
if test "$hardcode_action_GCJ" = relink; then
18675
20072
  # Fast installation is not supported
18721
20118
    predeps_GCJ \
18722
20119
    postdeps_GCJ \
18723
20120
    compiler_lib_search_path_GCJ \
 
20121
    compiler_lib_search_dirs_GCJ \
18724
20122
    archive_cmds_GCJ \
18725
20123
    archive_expsym_cmds_GCJ \
18726
20124
    postinstall_cmds_GCJ \
18969
20367
# shared library.
18970
20368
postdeps=$lt_postdeps_GCJ
18971
20369
 
 
20370
# The directories searched by this compiler when creating a shared
 
20371
# library
 
20372
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
20373
 
18972
20374
# The library search path used internally by the compiler when linking
18973
20375
# a shared library.
18974
20376
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19142
20544
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19143
20545
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19144
20546
_lt_linker_boilerplate=`cat conftest.err`
19145
 
$rm conftest*
 
20547
$rm -r conftest*
19146
20548
 
19147
20549
 
19148
20550
# Allow CC to be a program name with arguments.
19202
20604
    predeps_RC \
19203
20605
    postdeps_RC \
19204
20606
    compiler_lib_search_path_RC \
 
20607
    compiler_lib_search_dirs_RC \
19205
20608
    archive_cmds_RC \
19206
20609
    archive_expsym_cmds_RC \
19207
20610
    postinstall_cmds_RC \
19450
20853
# shared library.
19451
20854
postdeps=$lt_postdeps_RC
19452
20855
 
 
20856
# The directories searched by this compiler when creating a shared
 
20857
# library
 
20858
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
20859
 
19453
20860
# The library search path used internally by the compiler when linking
19454
20861
# a shared library.
19455
20862
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19582
20989
        ;;
19583
20990
 
19584
20991
      *)
19585
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19586
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 
20992
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 
20993
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19587
20994
   { (exit 1); exit 1; }; }
19588
20995
        ;;
19589
20996
      esac
19602
21009
    chmod +x "$ofile"
19603
21010
  else
19604
21011
    rm -f "${ofile}T"
19605
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19606
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 
21012
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 
21013
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19607
21014
   { (exit 1); exit 1; }; }
19608
21015
  fi
19609
21016
fi
19640
21047
 
19641
21048
 
19642
21049
saveLIBS="$LIBS"
19643
 
{ echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
19644
 
echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6; }
 
21050
{ $as_echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
 
21051
$as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
19645
21052
if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then
19646
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21053
  $as_echo_n "(cached) " >&6
19647
21054
else
19648
21055
  ac_check_lib_save_LIBS=$LIBS
19649
21056
LIBS="-lgdbm  $LIBS"
19675
21082
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19676
21083
  *) ac_try_echo=$ac_try;;
19677
21084
esac
19678
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21085
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21086
$as_echo "$ac_try_echo") >&5
19679
21087
  (eval "$ac_link") 2>conftest.er1
19680
21088
  ac_status=$?
19681
21089
  grep -v '^ *+' conftest.er1 >conftest.err
19682
21090
  rm -f conftest.er1
19683
21091
  cat conftest.err >&5
19684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21092
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685
21093
  (exit $ac_status); } && {
19686
21094
         test -z "$ac_c_werror_flag" ||
19687
21095
         test ! -s conftest.err
19688
 
       } && test -s conftest$ac_exeext &&
19689
 
       $as_test_x conftest$ac_exeext; then
 
21096
       } && test -s conftest$ac_exeext && {
 
21097
         test "$cross_compiling" = yes ||
 
21098
         $as_test_x conftest$ac_exeext
 
21099
       }; then
19690
21100
  ac_cv_lib_gdbm_gdbm_open=yes
19691
21101
else
19692
 
  echo "$as_me: failed program was:" >&5
 
21102
  $as_echo "$as_me: failed program was:" >&5
19693
21103
sed 's/^/| /' conftest.$ac_ext >&5
19694
21104
 
19695
21105
        ac_cv_lib_gdbm_gdbm_open=no
19696
21106
fi
19697
21107
 
 
21108
rm -rf conftest.dSYM
19698
21109
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19699
21110
      conftest$ac_exeext conftest.$ac_ext
19700
21111
LIBS=$ac_check_lib_save_LIBS
19701
21112
fi
19702
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
19703
 
echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6; }
19704
 
if test $ac_cv_lib_gdbm_gdbm_open = yes; then
 
21113
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
 
21114
$as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
 
21115
if test "x$ac_cv_lib_gdbm_gdbm_open" = x""yes; then
19705
21116
   LIBGDBM=-lgdbm ; LIBS="-lgdbm $LIBS"
19706
21117
fi
19707
21118
 
19708
21119
 
19709
 
{ echo "$as_me:$LINENO: checking for gdbm_open" >&5
19710
 
echo $ECHO_N "checking for gdbm_open... $ECHO_C" >&6; }
 
21120
{ $as_echo "$as_me:$LINENO: checking for gdbm_open" >&5
 
21121
$as_echo_n "checking for gdbm_open... " >&6; }
19711
21122
if test "${ac_cv_func_gdbm_open+set}" = set; then
19712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21123
  $as_echo_n "(cached) " >&6
19713
21124
else
19714
21125
  cat >conftest.$ac_ext <<_ACEOF
19715
21126
/* confdefs.h.  */
19762
21173
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19763
21174
  *) ac_try_echo=$ac_try;;
19764
21175
esac
19765
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21176
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21177
$as_echo "$ac_try_echo") >&5
19766
21178
  (eval "$ac_link") 2>conftest.er1
19767
21179
  ac_status=$?
19768
21180
  grep -v '^ *+' conftest.er1 >conftest.err
19769
21181
  rm -f conftest.er1
19770
21182
  cat conftest.err >&5
19771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21183
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772
21184
  (exit $ac_status); } && {
19773
21185
         test -z "$ac_c_werror_flag" ||
19774
21186
         test ! -s conftest.err
19775
 
       } && test -s conftest$ac_exeext &&
19776
 
       $as_test_x conftest$ac_exeext; then
 
21187
       } && test -s conftest$ac_exeext && {
 
21188
         test "$cross_compiling" = yes ||
 
21189
         $as_test_x conftest$ac_exeext
 
21190
       }; then
19777
21191
  ac_cv_func_gdbm_open=yes
19778
21192
else
19779
 
  echo "$as_me: failed program was:" >&5
 
21193
  $as_echo "$as_me: failed program was:" >&5
19780
21194
sed 's/^/| /' conftest.$ac_ext >&5
19781
21195
 
19782
21196
        ac_cv_func_gdbm_open=no
19783
21197
fi
19784
21198
 
 
21199
rm -rf conftest.dSYM
19785
21200
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19786
21201
      conftest$ac_exeext conftest.$ac_ext
19787
21202
fi
19788
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_gdbm_open" >&5
19789
 
echo "${ECHO_T}$ac_cv_func_gdbm_open" >&6; }
19790
 
if test $ac_cv_func_gdbm_open = yes; then
 
21203
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdbm_open" >&5
 
21204
$as_echo "$ac_cv_func_gdbm_open" >&6; }
 
21205
if test "x$ac_cv_func_gdbm_open" = x""yes; then
19791
21206
  FOUND_GDBM=1
19792
21207
else
19793
21208
  FOUND_GDBM=0
19799
21214
 
19800
21215
for ac_func in gdbm_fdesc
19801
21216
do
19802
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19803
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
19804
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21217
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
21218
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21219
$as_echo_n "checking for $ac_func... " >&6; }
19805
21220
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21221
  $as_echo_n "(cached) " >&6
19807
21222
else
19808
21223
  cat >conftest.$ac_ext <<_ACEOF
19809
21224
/* confdefs.h.  */
19856
21271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19857
21272
  *) ac_try_echo=$ac_try;;
19858
21273
esac
19859
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21274
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21275
$as_echo "$ac_try_echo") >&5
19860
21276
  (eval "$ac_link") 2>conftest.er1
19861
21277
  ac_status=$?
19862
21278
  grep -v '^ *+' conftest.er1 >conftest.err
19863
21279
  rm -f conftest.er1
19864
21280
  cat conftest.err >&5
19865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21281
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866
21282
  (exit $ac_status); } && {
19867
21283
         test -z "$ac_c_werror_flag" ||
19868
21284
         test ! -s conftest.err
19869
 
       } && test -s conftest$ac_exeext &&
19870
 
       $as_test_x conftest$ac_exeext; then
 
21285
       } && test -s conftest$ac_exeext && {
 
21286
         test "$cross_compiling" = yes ||
 
21287
         $as_test_x conftest$ac_exeext
 
21288
       }; then
19871
21289
  eval "$as_ac_var=yes"
19872
21290
else
19873
 
  echo "$as_me: failed program was:" >&5
 
21291
  $as_echo "$as_me: failed program was:" >&5
19874
21292
sed 's/^/| /' conftest.$ac_ext >&5
19875
21293
 
19876
21294
        eval "$as_ac_var=no"
19877
21295
fi
19878
21296
 
 
21297
rm -rf conftest.dSYM
19879
21298
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19880
21299
      conftest$ac_exeext conftest.$ac_ext
19881
21300
fi
19882
 
ac_res=`eval echo '${'$as_ac_var'}'`
19883
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
19884
 
echo "${ECHO_T}$ac_res" >&6; }
19885
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
21301
ac_res=`eval 'as_val=${'$as_ac_var'}
 
21302
                 $as_echo "$as_val"'`
 
21303
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21304
$as_echo "$ac_res" >&6; }
 
21305
as_val=`eval 'as_val=${'$as_ac_var'}
 
21306
                 $as_echo "$as_val"'`
 
21307
   if test "x$as_val" = x""yes; then
19886
21308
  cat >>confdefs.h <<_ACEOF
19887
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
21309
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19888
21310
_ACEOF
19889
21311
 
19890
21312
fi
19895
21317
 
19896
21318
for ac_header in unistd.h fcntl.h
19897
21319
do
19898
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19899
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19900
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
19901
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19902
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19903
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21320
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
21321
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21322
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21323
$as_echo_n "checking for $ac_header... " >&6; }
 
21324
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21325
  $as_echo_n "(cached) " >&6
19904
21326
fi
19905
 
ac_res=`eval echo '${'$as_ac_Header'}'`
19906
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
19907
 
echo "${ECHO_T}$ac_res" >&6; }
 
21327
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21328
                 $as_echo "$as_val"'`
 
21329
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21330
$as_echo "$ac_res" >&6; }
19908
21331
else
19909
21332
  # Is the header compilable?
19910
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19911
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
21333
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21334
$as_echo_n "checking $ac_header usability... " >&6; }
19912
21335
cat >conftest.$ac_ext <<_ACEOF
19913
21336
/* confdefs.h.  */
19914
21337
_ACEOF
19924
21347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19925
21348
  *) ac_try_echo=$ac_try;;
19926
21349
esac
19927
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21350
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21351
$as_echo "$ac_try_echo") >&5
19928
21352
  (eval "$ac_compile") 2>conftest.er1
19929
21353
  ac_status=$?
19930
21354
  grep -v '^ *+' conftest.er1 >conftest.err
19931
21355
  rm -f conftest.er1
19932
21356
  cat conftest.err >&5
19933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21357
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934
21358
  (exit $ac_status); } && {
19935
21359
         test -z "$ac_c_werror_flag" ||
19936
21360
         test ! -s conftest.err
19937
21361
       } && test -s conftest.$ac_objext; then
19938
21362
  ac_header_compiler=yes
19939
21363
else
19940
 
  echo "$as_me: failed program was:" >&5
 
21364
  $as_echo "$as_me: failed program was:" >&5
19941
21365
sed 's/^/| /' conftest.$ac_ext >&5
19942
21366
 
19943
21367
        ac_header_compiler=no
19944
21368
fi
19945
21369
 
19946
21370
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19947
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19948
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
21371
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21372
$as_echo "$ac_header_compiler" >&6; }
19949
21373
 
19950
21374
# Is the header present?
19951
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
19952
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
21375
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21376
$as_echo_n "checking $ac_header presence... " >&6; }
19953
21377
cat >conftest.$ac_ext <<_ACEOF
19954
21378
/* confdefs.h.  */
19955
21379
_ACEOF
19963
21387
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19964
21388
  *) ac_try_echo=$ac_try;;
19965
21389
esac
19966
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21390
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21391
$as_echo "$ac_try_echo") >&5
19967
21392
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19968
21393
  ac_status=$?
19969
21394
  grep -v '^ *+' conftest.er1 >conftest.err
19970
21395
  rm -f conftest.er1
19971
21396
  cat conftest.err >&5
19972
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21397
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973
21398
  (exit $ac_status); } >/dev/null && {
19974
21399
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19975
21400
         test ! -s conftest.err
19976
21401
       }; then
19977
21402
  ac_header_preproc=yes
19978
21403
else
19979
 
  echo "$as_me: failed program was:" >&5
 
21404
  $as_echo "$as_me: failed program was:" >&5
19980
21405
sed 's/^/| /' conftest.$ac_ext >&5
19981
21406
 
19982
21407
  ac_header_preproc=no
19983
21408
fi
19984
21409
 
19985
21410
rm -f conftest.err conftest.$ac_ext
19986
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19987
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
21411
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21412
$as_echo "$ac_header_preproc" >&6; }
19988
21413
 
19989
21414
# So?  What about this header?
19990
21415
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19991
21416
  yes:no: )
19992
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19993
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19994
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19995
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21417
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
21418
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
21419
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21420
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19996
21421
    ac_header_preproc=yes
19997
21422
    ;;
19998
21423
  no:yes:* )
19999
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20000
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20001
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20002
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20003
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20004
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20005
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20006
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20007
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20008
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20009
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20010
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
21424
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
21425
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
21426
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21427
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21428
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21429
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21430
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21431
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
21432
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
21433
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21434
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21435
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20011
21436
    ( cat <<\_ASBOX
20012
21437
## -------------------------------------------------- ##
20013
21438
## Report this to courier-users@lists.sourceforge.net ##
20016
21441
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20017
21442
    ;;
20018
21443
esac
20019
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20020
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21444
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21445
$as_echo_n "checking for $ac_header... " >&6; }
20021
21446
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20022
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21447
  $as_echo_n "(cached) " >&6
20023
21448
else
20024
21449
  eval "$as_ac_Header=\$ac_header_preproc"
20025
21450
fi
20026
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20027
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20028
 
echo "${ECHO_T}$ac_res" >&6; }
 
21451
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
21452
                 $as_echo "$as_val"'`
 
21453
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21454
$as_echo "$ac_res" >&6; }
20029
21455
 
20030
21456
fi
20031
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
21457
as_val=`eval 'as_val=${'$as_ac_Header'}
 
21458
                 $as_echo "$as_val"'`
 
21459
   if test "x$as_val" = x""yes; then
20032
21460
  cat >>confdefs.h <<_ACEOF
20033
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
21461
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20034
21462
_ACEOF
20035
21463
 
20036
21464
fi
20052
21480
 
20053
21481
 
20054
21482
 
20055
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20056
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
 
21483
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
21484
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20057
21485
if test "${ac_cv_c_const+set}" = set; then
20058
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21486
  $as_echo_n "(cached) " >&6
20059
21487
else
20060
21488
  cat >conftest.$ac_ext <<_ACEOF
20061
21489
/* confdefs.h.  */
20127
21555
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128
21556
  *) ac_try_echo=$ac_try;;
20129
21557
esac
20130
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21558
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21559
$as_echo "$ac_try_echo") >&5
20131
21560
  (eval "$ac_compile") 2>conftest.er1
20132
21561
  ac_status=$?
20133
21562
  grep -v '^ *+' conftest.er1 >conftest.err
20134
21563
  rm -f conftest.er1
20135
21564
  cat conftest.err >&5
20136
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21565
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137
21566
  (exit $ac_status); } && {
20138
21567
         test -z "$ac_c_werror_flag" ||
20139
21568
         test ! -s conftest.err
20140
21569
       } && test -s conftest.$ac_objext; then
20141
21570
  ac_cv_c_const=yes
20142
21571
else
20143
 
  echo "$as_me: failed program was:" >&5
 
21572
  $as_echo "$as_me: failed program was:" >&5
20144
21573
sed 's/^/| /' conftest.$ac_ext >&5
20145
21574
 
20146
21575
        ac_cv_c_const=no
20148
21577
 
20149
21578
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20150
21579
fi
20151
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20152
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
21580
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
21581
$as_echo "$ac_cv_c_const" >&6; }
20153
21582
if test $ac_cv_c_const = no; then
20154
21583
 
20155
21584
cat >>confdefs.h <<\_ACEOF
20156
 
#define const
 
21585
#define const /**/
20157
21586
_ACEOF
20158
21587
 
20159
21588
fi
20160
21589
 
20161
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
20162
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
 
21590
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
 
21591
$as_echo_n "checking for size_t... " >&6; }
20163
21592
if test "${ac_cv_type_size_t+set}" = set; then
20164
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21593
  $as_echo_n "(cached) " >&6
20165
21594
else
 
21595
  ac_cv_type_size_t=no
 
21596
cat >conftest.$ac_ext <<_ACEOF
 
21597
/* confdefs.h.  */
 
21598
_ACEOF
 
21599
cat confdefs.h >>conftest.$ac_ext
 
21600
cat >>conftest.$ac_ext <<_ACEOF
 
21601
/* end confdefs.h.  */
 
21602
$ac_includes_default
 
21603
int
 
21604
main ()
 
21605
{
 
21606
if (sizeof (size_t))
 
21607
       return 0;
 
21608
  ;
 
21609
  return 0;
 
21610
}
 
21611
_ACEOF
 
21612
rm -f conftest.$ac_objext
 
21613
if { (ac_try="$ac_compile"
 
21614
case "(($ac_try" in
 
21615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21616
  *) ac_try_echo=$ac_try;;
 
21617
esac
 
21618
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21619
$as_echo "$ac_try_echo") >&5
 
21620
  (eval "$ac_compile") 2>conftest.er1
 
21621
  ac_status=$?
 
21622
  grep -v '^ *+' conftest.er1 >conftest.err
 
21623
  rm -f conftest.er1
 
21624
  cat conftest.err >&5
 
21625
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21626
  (exit $ac_status); } && {
 
21627
         test -z "$ac_c_werror_flag" ||
 
21628
         test ! -s conftest.err
 
21629
       } && test -s conftest.$ac_objext; then
20166
21630
  cat >conftest.$ac_ext <<_ACEOF
20167
21631
/* confdefs.h.  */
20168
21632
_ACEOF
20170
21634
cat >>conftest.$ac_ext <<_ACEOF
20171
21635
/* end confdefs.h.  */
20172
21636
$ac_includes_default
20173
 
typedef size_t ac__type_new_;
20174
21637
int
20175
21638
main ()
20176
21639
{
20177
 
if ((ac__type_new_ *) 0)
20178
 
  return 0;
20179
 
if (sizeof (ac__type_new_))
20180
 
  return 0;
 
21640
if (sizeof ((size_t)))
 
21641
          return 0;
20181
21642
  ;
20182
21643
  return 0;
20183
21644
}
20188
21649
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20189
21650
  *) ac_try_echo=$ac_try;;
20190
21651
esac
20191
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21652
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21653
$as_echo "$ac_try_echo") >&5
20192
21654
  (eval "$ac_compile") 2>conftest.er1
20193
21655
  ac_status=$?
20194
21656
  grep -v '^ *+' conftest.er1 >conftest.err
20195
21657
  rm -f conftest.er1
20196
21658
  cat conftest.err >&5
20197
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21659
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198
21660
  (exit $ac_status); } && {
20199
21661
         test -z "$ac_c_werror_flag" ||
20200
21662
         test ! -s conftest.err
20201
21663
       } && test -s conftest.$ac_objext; then
20202
 
  ac_cv_type_size_t=yes
20203
 
else
20204
 
  echo "$as_me: failed program was:" >&5
20205
 
sed 's/^/| /' conftest.$ac_ext >&5
20206
 
 
20207
 
        ac_cv_type_size_t=no
20208
 
fi
20209
 
 
20210
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20211
 
fi
20212
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20213
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20214
 
if test $ac_cv_type_size_t = yes; then
 
21664
  :
 
21665
else
 
21666
  $as_echo "$as_me: failed program was:" >&5
 
21667
sed 's/^/| /' conftest.$ac_ext >&5
 
21668
 
 
21669
        ac_cv_type_size_t=yes
 
21670
fi
 
21671
 
 
21672
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21673
else
 
21674
  $as_echo "$as_me: failed program was:" >&5
 
21675
sed 's/^/| /' conftest.$ac_ext >&5
 
21676
 
 
21677
 
 
21678
fi
 
21679
 
 
21680
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21681
fi
 
21682
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
21683
$as_echo "$ac_cv_type_size_t" >&6; }
 
21684
if test "x$ac_cv_type_size_t" = x""yes; then
20215
21685
  :
20216
21686
else
20217
21687
 
20229
21699
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20230
21700
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20231
21701
 
20232
 
{ echo "$as_me:$LINENO: checking if the C++ compiler needs -fhandle-exceptions" >&5
20233
 
echo $ECHO_N "checking if the C++ compiler needs -fhandle-exceptions... $ECHO_C" >&6; }
20234
 
if test "${ac_cxx_need_handlexceptions+set}" = set; then
20235
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21702
{ $as_echo "$as_me:$LINENO: checking if the C++ compiler needs -fhandle-exceptions" >&5
 
21703
$as_echo_n "checking if the C++ compiler needs -fhandle-exceptions... " >&6; }
 
21704
if test "${ac_cv_need_handlexceptions+set}" = set; then
 
21705
  $as_echo_n "(cached) " >&6
20236
21706
else
20237
21707
  cat >conftest.$ac_ext <<_ACEOF
20238
21708
/* confdefs.h.  */
20257
21727
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20258
21728
  *) ac_try_echo=$ac_try;;
20259
21729
esac
20260
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21730
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21731
$as_echo "$ac_try_echo") >&5
20261
21732
  (eval "$ac_compile") 2>conftest.er1
20262
21733
  ac_status=$?
20263
21734
  grep -v '^ *+' conftest.er1 >conftest.err
20264
21735
  rm -f conftest.er1
20265
21736
  cat conftest.err >&5
20266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21737
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267
21738
  (exit $ac_status); } && {
20268
21739
         test -z "$ac_cxx_werror_flag" ||
20269
21740
         test ! -s conftest.err
20270
21741
       } && test -s conftest.$ac_objext; then
20271
 
  ac_cxx_need_handlexceptions=no
 
21742
  ac_cv_need_handlexceptions=no
20272
21743
else
20273
 
  echo "$as_me: failed program was:" >&5
 
21744
  $as_echo "$as_me: failed program was:" >&5
20274
21745
sed 's/^/| /' conftest.$ac_ext >&5
20275
21746
 
20276
 
        ac_cxx_need_handlexceptions=yes
 
21747
        ac_cv_need_handlexceptions=yes
20277
21748
fi
20278
21749
 
20279
21750
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20280
21751
 
20281
21752
fi
20282
 
{ echo "$as_me:$LINENO: result: $ac_cxx_need_handlexceptions" >&5
20283
 
echo "${ECHO_T}$ac_cxx_need_handlexceptions" >&6; }
 
21753
{ $as_echo "$as_me:$LINENO: result: $ac_cv_need_handlexceptions" >&5
 
21754
$as_echo "$ac_cv_need_handlexceptions" >&6; }
20284
21755
 
20285
 
if test "$ac_cxx_need_handlexceptions" = "yes"
 
21756
if test "$ac_cv_need_handlexceptions" = "yes"
20286
21757
then
20287
21758
        case "$CXXFLAGS" in
20288
21759
        *handle-exceptions*)
20323
21794
    case $ac_val in #(
20324
21795
    *${as_nl}*)
20325
21796
      case $ac_var in #(
20326
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20327
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
21797
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
21798
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20328
21799
      esac
20329
21800
      case $ac_var in #(
20330
21801
      _ | IFS | as_nl) ;; #(
 
21802
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20331
21803
      *) $as_unset $ac_var ;;
20332
21804
      esac ;;
20333
21805
    esac
20360
21832
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20361
21833
  if test -w "$cache_file"; then
20362
21834
    test "x$cache_file" != "x/dev/null" &&
20363
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20364
 
echo "$as_me: updating cache $cache_file" >&6;}
 
21835
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
21836
$as_echo "$as_me: updating cache $cache_file" >&6;}
20365
21837
    cat confcache >$cache_file
20366
21838
  else
20367
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20368
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
21839
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
21840
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20369
21841
  fi
20370
21842
fi
20371
21843
rm -f confcache
20381
21853
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20382
21854
  # 1. Remove the extension, and $U if already installed.
20383
21855
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20384
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
21856
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20385
21857
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20386
21858
  #    will be set to the directory where LIBOBJS objects are built.
20387
21859
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20393
21865
 
20394
21866
 
20395
21867
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20396
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20397
 
Usually this means the macro was only invoked conditionally." >&5
20398
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
20399
 
Usually this means the macro was only invoked conditionally." >&2;}
20400
 
   { (exit 1); exit 1; }; }
20401
 
fi
20402
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20403
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20404
 
Usually this means the macro was only invoked conditionally." >&5
20405
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
21868
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
21869
Usually this means the macro was only invoked conditionally." >&5
 
21870
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
21871
Usually this means the macro was only invoked conditionally." >&2;}
 
21872
   { (exit 1); exit 1; }; }
 
21873
fi
 
21874
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
21875
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
21876
Usually this means the macro was only invoked conditionally." >&5
 
21877
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
21878
Usually this means the macro was only invoked conditionally." >&2;}
 
21879
   { (exit 1); exit 1; }; }
 
21880
fi
 
21881
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
21882
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
21883
Usually this means the macro was only invoked conditionally." >&5
 
21884
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20406
21885
Usually this means the macro was only invoked conditionally." >&2;}
20407
21886
   { (exit 1); exit 1; }; }
20408
21887
fi
20409
21888
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20410
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
21889
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20411
21890
Usually this means the macro was only invoked conditionally." >&5
20412
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
21891
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20413
21892
Usually this means the macro was only invoked conditionally." >&2;}
20414
21893
   { (exit 1); exit 1; }; }
20415
21894
fi
20416
21895
if test -z "${FOUND_GDBM_TRUE}" && test -z "${FOUND_GDBM_FALSE}"; then
20417
 
  { { echo "$as_me:$LINENO: error: conditional \"FOUND_GDBM\" was never defined.
 
21896
  { { $as_echo "$as_me:$LINENO: error: conditional \"FOUND_GDBM\" was never defined.
20418
21897
Usually this means the macro was only invoked conditionally." >&5
20419
 
echo "$as_me: error: conditional \"FOUND_GDBM\" was never defined.
 
21898
$as_echo "$as_me: error: conditional \"FOUND_GDBM\" was never defined.
20420
21899
Usually this means the macro was only invoked conditionally." >&2;}
20421
21900
   { (exit 1); exit 1; }; }
20422
21901
fi
20423
21902
 
20424
21903
: ${CONFIG_STATUS=./config.status}
 
21904
ac_write_fail=0
20425
21905
ac_clean_files_save=$ac_clean_files
20426
21906
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20427
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20428
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
20429
 
cat >$CONFIG_STATUS <<_ACEOF
 
21907
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
21908
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
21909
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20430
21910
#! $SHELL
20431
21911
# Generated by $as_me.
20432
21912
# Run this file to recreate the current configuration.
20439
21919
SHELL=\${CONFIG_SHELL-$SHELL}
20440
21920
_ACEOF
20441
21921
 
20442
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21922
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20443
21923
## --------------------- ##
20444
21924
## M4sh Initialization.  ##
20445
21925
## --------------------- ##
20449
21929
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20450
21930
  emulate sh
20451
21931
  NULLCMD=:
20452
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21932
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20453
21933
  # is contrary to our usage.  Disable this feature.
20454
21934
  alias -g '${1+"$@"}'='"$@"'
20455
21935
  setopt NO_GLOB_SUBST
20471
21951
as_cr_digits='0123456789'
20472
21952
as_cr_alnum=$as_cr_Letters$as_cr_digits
20473
21953
 
 
21954
as_nl='
 
21955
'
 
21956
export as_nl
 
21957
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
21958
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
21959
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
21960
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
21961
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
21962
  as_echo='printf %s\n'
 
21963
  as_echo_n='printf %s'
 
21964
else
 
21965
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
21966
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
21967
    as_echo_n='/usr/ucb/echo -n'
 
21968
  else
 
21969
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
21970
    as_echo_n_body='eval
 
21971
      arg=$1;
 
21972
      case $arg in
 
21973
      *"$as_nl"*)
 
21974
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
21975
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
21976
      esac;
 
21977
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
21978
    '
 
21979
    export as_echo_n_body
 
21980
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
21981
  fi
 
21982
  export as_echo_body
 
21983
  as_echo='sh -c $as_echo_body as_echo'
 
21984
fi
 
21985
 
20474
21986
# The user is always right.
20475
21987
if test "${PATH_SEPARATOR+set}" != set; then
20476
 
  echo "#! /bin/sh" >conf$$.sh
20477
 
  echo  "exit 0"   >>conf$$.sh
20478
 
  chmod +x conf$$.sh
20479
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20480
 
    PATH_SEPARATOR=';'
20481
 
  else
20482
 
    PATH_SEPARATOR=:
20483
 
  fi
20484
 
  rm -f conf$$.sh
 
21988
  PATH_SEPARATOR=:
 
21989
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
21990
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
21991
      PATH_SEPARATOR=';'
 
21992
  }
20485
21993
fi
20486
21994
 
20487
21995
# Support unset when possible.
20497
22005
# there to prevent editors from complaining about space-tab.
20498
22006
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
20499
22007
# splitting by setting IFS to empty value.)
20500
 
as_nl='
20501
 
'
20502
22008
IFS=" ""        $as_nl"
20503
22009
 
20504
22010
# Find who we are.  Look in the path if we contain no directory separator.
20521
22027
  as_myself=$0
20522
22028
fi
20523
22029
if test ! -f "$as_myself"; then
20524
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22030
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20525
22031
  { (exit 1); exit 1; }
20526
22032
fi
20527
22033
 
20534
22040
PS4='+ '
20535
22041
 
20536
22042
# NLS nuisances.
20537
 
for as_var in \
20538
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20539
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20540
 
  LC_TELEPHONE LC_TIME
20541
 
do
20542
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20543
 
    eval $as_var=C; export $as_var
20544
 
  else
20545
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20546
 
  fi
20547
 
done
 
22043
LC_ALL=C
 
22044
export LC_ALL
 
22045
LANGUAGE=C
 
22046
export LANGUAGE
20548
22047
 
20549
22048
# Required to use basename.
20550
22049
if expr a : '\(a\)' >/dev/null 2>&1 &&
20566
22065
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20567
22066
         X"$0" : 'X\(//\)$' \| \
20568
22067
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20569
 
echo X/"$0" |
 
22068
$as_echo X/"$0" |
20570
22069
    sed '/^.*\/\([^/][^/]*\)\/*$/{
20571
22070
            s//\1/
20572
22071
            q
20617
22116
      s/-\n.*//
20618
22117
    ' >$as_me.lineno &&
20619
22118
  chmod +x "$as_me.lineno" ||
20620
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
22119
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20621
22120
   { (exit 1); exit 1; }; }
20622
22121
 
20623
22122
  # Don't try to exec as it changes $[0], causing all sort of problems
20645
22144
*)
20646
22145
  ECHO_N='-n';;
20647
22146
esac
20648
 
 
20649
22147
if expr a : '\(a\)' >/dev/null 2>&1 &&
20650
22148
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20651
22149
  as_expr=expr
20658
22156
  rm -f conf$$.dir/conf$$.file
20659
22157
else
20660
22158
  rm -f conf$$.dir
20661
 
  mkdir conf$$.dir
 
22159
  mkdir conf$$.dir 2>/dev/null
20662
22160
fi
20663
 
echo >conf$$.file
20664
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
20665
 
  as_ln_s='ln -s'
20666
 
  # ... but there are two gotchas:
20667
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20668
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20669
 
  # In both cases, we have to default to `cp -p'.
20670
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
22161
if (echo >conf$$.file) 2>/dev/null; then
 
22162
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
22163
    as_ln_s='ln -s'
 
22164
    # ... but there are two gotchas:
 
22165
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
22166
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
22167
    # In both cases, we have to default to `cp -p'.
 
22168
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
22169
      as_ln_s='cp -p'
 
22170
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
22171
    as_ln_s=ln
 
22172
  else
20671
22173
    as_ln_s='cp -p'
20672
 
elif ln conf$$.file conf$$ 2>/dev/null; then
20673
 
  as_ln_s=ln
 
22174
  fi
20674
22175
else
20675
22176
  as_ln_s='cp -p'
20676
22177
fi
20695
22196
  as_test_x='
20696
22197
    eval sh -c '\''
20697
22198
      if test -d "$1"; then
20698
 
        test -d "$1/.";
 
22199
        test -d "$1/.";
20699
22200
      else
20700
22201
        case $1 in
20701
 
        -*)set "./$1";;
 
22202
        -*)set "./$1";;
20702
22203
        esac;
20703
22204
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20704
22205
        ???[sx]*):;;*)false;;esac;fi
20721
22222
# values after options handling.
20722
22223
ac_log="
20723
22224
This file was extended by gdbmobj $as_me 0.10, which was
20724
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
22225
generated by GNU Autoconf 2.63.  Invocation command line was
20725
22226
 
20726
22227
  CONFIG_FILES    = $CONFIG_FILES
20727
22228
  CONFIG_HEADERS  = $CONFIG_HEADERS
20734
22235
 
20735
22236
_ACEOF
20736
22237
 
20737
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22238
case $ac_config_files in *"
 
22239
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
22240
esac
 
22241
 
 
22242
case $ac_config_headers in *"
 
22243
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
22244
esac
 
22245
 
 
22246
 
 
22247
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20738
22248
# Files that config.status was made for.
20739
22249
config_files="$ac_config_files"
20740
22250
config_headers="$ac_config_headers"
20742
22252
 
20743
22253
_ACEOF
20744
22254
 
20745
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22255
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20746
22256
ac_cs_usage="\
20747
22257
\`$as_me' instantiates files from templates according to the
20748
22258
current configuration.
20749
22259
 
20750
 
Usage: $0 [OPTIONS] [FILE]...
 
22260
Usage: $0 [OPTION]... [FILE]...
20751
22261
 
20752
22262
  -h, --help       print this help, then exit
20753
22263
  -V, --version    print version number and configuration settings, then exit
20754
 
  -q, --quiet      do not print progress messages
 
22264
  -q, --quiet, --silent
 
22265
                   do not print progress messages
20755
22266
  -d, --debug      don't remove temporary files
20756
22267
      --recheck    update $as_me by reconfiguring in the same conditions
20757
 
  --file=FILE[:TEMPLATE]
20758
 
                   instantiate the configuration file FILE
20759
 
  --header=FILE[:TEMPLATE]
20760
 
                   instantiate the configuration header FILE
 
22268
      --file=FILE[:TEMPLATE]
 
22269
                   instantiate the configuration file FILE
 
22270
      --header=FILE[:TEMPLATE]
 
22271
                   instantiate the configuration header FILE
20761
22272
 
20762
22273
Configuration files:
20763
22274
$config_files
20771
22282
Report bugs to <bug-autoconf@gnu.org>."
20772
22283
 
20773
22284
_ACEOF
20774
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22285
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20775
22286
ac_cs_version="\\
20776
22287
gdbmobj config.status 0.10
20777
 
configured by $0, generated by GNU Autoconf 2.61,
20778
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
22288
configured by $0, generated by GNU Autoconf 2.63,
 
22289
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20779
22290
 
20780
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
22291
Copyright (C) 2008 Free Software Foundation, Inc.
20781
22292
This config.status script is free software; the Free Software Foundation
20782
22293
gives unlimited permission to copy, distribute and modify it."
20783
22294
 
20785
22296
srcdir='$srcdir'
20786
22297
INSTALL='$INSTALL'
20787
22298
MKDIR_P='$MKDIR_P'
 
22299
AWK='$AWK'
 
22300
test -n "\$AWK" || AWK=awk
20788
22301
_ACEOF
20789
22302
 
20790
 
cat >>$CONFIG_STATUS <<\_ACEOF
20791
 
# If no file are specified by the user, then we need to provide default
20792
 
# value.  By we need to know if files were specified by the user.
 
22303
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22304
# The default lists apply if the user does not specify any file.
20793
22305
ac_need_defaults=:
20794
22306
while test $# != 0
20795
22307
do
20811
22323
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20812
22324
    ac_cs_recheck=: ;;
20813
22325
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20814
 
    echo "$ac_cs_version"; exit ;;
 
22326
    $as_echo "$ac_cs_version"; exit ;;
20815
22327
  --debug | --debu | --deb | --de | --d | -d )
20816
22328
    debug=: ;;
20817
22329
  --file | --fil | --fi | --f )
20818
22330
    $ac_shift
20819
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
22331
    case $ac_optarg in
 
22332
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22333
    esac
 
22334
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
20820
22335
    ac_need_defaults=false;;
20821
22336
  --header | --heade | --head | --hea )
20822
22337
    $ac_shift
20823
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
22338
    case $ac_optarg in
 
22339
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22340
    esac
 
22341
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
20824
22342
    ac_need_defaults=false;;
20825
22343
  --he | --h)
20826
22344
    # Conflict between --help and --header
20827
 
    { echo "$as_me: error: ambiguous option: $1
 
22345
    { $as_echo "$as_me: error: ambiguous option: $1
20828
22346
Try \`$0 --help' for more information." >&2
20829
22347
   { (exit 1); exit 1; }; };;
20830
22348
  --help | --hel | -h )
20831
 
    echo "$ac_cs_usage"; exit ;;
 
22349
    $as_echo "$ac_cs_usage"; exit ;;
20832
22350
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20833
22351
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20834
22352
    ac_cs_silent=: ;;
20835
22353
 
20836
22354
  # This is an error.
20837
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
22355
  -*) { $as_echo "$as_me: error: unrecognized option: $1
20838
22356
Try \`$0 --help' for more information." >&2
20839
22357
   { (exit 1); exit 1; }; } ;;
20840
22358
 
20853
22371
fi
20854
22372
 
20855
22373
_ACEOF
20856
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22374
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20857
22375
if \$ac_cs_recheck; then
20858
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20859
 
  CONFIG_SHELL=$SHELL
 
22376
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22377
  shift
 
22378
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
22379
  CONFIG_SHELL='$SHELL'
20860
22380
  export CONFIG_SHELL
20861
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22381
  exec "\$@"
20862
22382
fi
20863
22383
 
20864
22384
_ACEOF
20865
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22385
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20866
22386
exec 5>>config.log
20867
22387
{
20868
22388
  echo
20869
22389
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20870
22390
## Running $as_me. ##
20871
22391
_ASBOX
20872
 
  echo "$ac_log"
 
22392
  $as_echo "$ac_log"
20873
22393
} >&5
20874
22394
 
20875
22395
_ACEOF
20876
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22396
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20877
22397
#
20878
22398
# INIT-COMMANDS
20879
22399
#
20881
22401
 
20882
22402
_ACEOF
20883
22403
 
20884
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22404
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20885
22405
 
20886
22406
# Handling of arguments.
20887
22407
for ac_config_target in $ac_config_targets
20891
22411
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20892
22412
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20893
22413
 
20894
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20895
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
22414
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
22415
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20896
22416
   { (exit 1); exit 1; }; };;
20897
22417
  esac
20898
22418
done
20933
22453
  (umask 077 && mkdir "$tmp")
20934
22454
} ||
20935
22455
{
20936
 
   echo "$me: cannot create a temporary directory in ." >&2
 
22456
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
20937
22457
   { (exit 1); exit 1; }
20938
22458
}
20939
22459
 
20940
 
#
20941
 
# Set up the sed scripts for CONFIG_FILES section.
20942
 
#
20943
 
 
20944
 
# No need to generate the scripts if there are no CONFIG_FILES.
20945
 
# This happens for instance when ./config.status config.h
 
22460
# Set up the scripts for CONFIG_FILES section.
 
22461
# No need to generate them if there are no CONFIG_FILES.
 
22462
# This happens for instance with `./config.status config.h'.
20946
22463
if test -n "$CONFIG_FILES"; then
20947
22464
 
20948
 
_ACEOF
20949
 
 
20950
 
 
20951
 
 
20952
 
ac_delim='%!_!# '
20953
 
for ac_last_try in false false false false false :; do
20954
 
  cat >conf$$subs.sed <<_ACEOF
20955
 
SHELL!$SHELL$ac_delim
20956
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20957
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20958
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20959
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20960
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20961
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20962
 
exec_prefix!$exec_prefix$ac_delim
20963
 
prefix!$prefix$ac_delim
20964
 
program_transform_name!$program_transform_name$ac_delim
20965
 
bindir!$bindir$ac_delim
20966
 
sbindir!$sbindir$ac_delim
20967
 
libexecdir!$libexecdir$ac_delim
20968
 
datarootdir!$datarootdir$ac_delim
20969
 
datadir!$datadir$ac_delim
20970
 
sysconfdir!$sysconfdir$ac_delim
20971
 
sharedstatedir!$sharedstatedir$ac_delim
20972
 
localstatedir!$localstatedir$ac_delim
20973
 
includedir!$includedir$ac_delim
20974
 
oldincludedir!$oldincludedir$ac_delim
20975
 
docdir!$docdir$ac_delim
20976
 
infodir!$infodir$ac_delim
20977
 
htmldir!$htmldir$ac_delim
20978
 
dvidir!$dvidir$ac_delim
20979
 
pdfdir!$pdfdir$ac_delim
20980
 
psdir!$psdir$ac_delim
20981
 
libdir!$libdir$ac_delim
20982
 
localedir!$localedir$ac_delim
20983
 
mandir!$mandir$ac_delim
20984
 
DEFS!$DEFS$ac_delim
20985
 
ECHO_C!$ECHO_C$ac_delim
20986
 
ECHO_N!$ECHO_N$ac_delim
20987
 
ECHO_T!$ECHO_T$ac_delim
20988
 
LIBS!$LIBS$ac_delim
20989
 
build_alias!$build_alias$ac_delim
20990
 
host_alias!$host_alias$ac_delim
20991
 
target_alias!$target_alias$ac_delim
20992
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20993
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20994
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
20995
 
am__isrc!$am__isrc$ac_delim
20996
 
CYGPATH_W!$CYGPATH_W$ac_delim
20997
 
PACKAGE!$PACKAGE$ac_delim
20998
 
VERSION!$VERSION$ac_delim
20999
 
ACLOCAL!$ACLOCAL$ac_delim
21000
 
AUTOCONF!$AUTOCONF$ac_delim
21001
 
AUTOMAKE!$AUTOMAKE$ac_delim
21002
 
AUTOHEADER!$AUTOHEADER$ac_delim
21003
 
MAKEINFO!$MAKEINFO$ac_delim
21004
 
install_sh!$install_sh$ac_delim
21005
 
STRIP!$STRIP$ac_delim
21006
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21007
 
mkdir_p!$mkdir_p$ac_delim
21008
 
AWK!$AWK$ac_delim
21009
 
SET_MAKE!$SET_MAKE$ac_delim
21010
 
am__leading_dot!$am__leading_dot$ac_delim
21011
 
AMTAR!$AMTAR$ac_delim
21012
 
am__tar!$am__tar$ac_delim
21013
 
am__untar!$am__untar$ac_delim
21014
 
CC!$CC$ac_delim
21015
 
CFLAGS!$CFLAGS$ac_delim
21016
 
LDFLAGS!$LDFLAGS$ac_delim
21017
 
CPPFLAGS!$CPPFLAGS$ac_delim
21018
 
ac_ct_CC!$ac_ct_CC$ac_delim
21019
 
EXEEXT!$EXEEXT$ac_delim
21020
 
OBJEXT!$OBJEXT$ac_delim
21021
 
DEPDIR!$DEPDIR$ac_delim
21022
 
am__include!$am__include$ac_delim
21023
 
am__quote!$am__quote$ac_delim
21024
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21025
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21026
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21027
 
CCDEPMODE!$CCDEPMODE$ac_delim
21028
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21029
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21030
 
CPP!$CPP$ac_delim
21031
 
GREP!$GREP$ac_delim
21032
 
EGREP!$EGREP$ac_delim
21033
 
CXX!$CXX$ac_delim
21034
 
CXXFLAGS!$CXXFLAGS$ac_delim
21035
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
21036
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
21037
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21038
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21039
 
build!$build$ac_delim
21040
 
build_cpu!$build_cpu$ac_delim
21041
 
build_vendor!$build_vendor$ac_delim
21042
 
build_os!$build_os$ac_delim
21043
 
host!$host$ac_delim
21044
 
host_cpu!$host_cpu$ac_delim
21045
 
host_vendor!$host_vendor$ac_delim
21046
 
host_os!$host_os$ac_delim
21047
 
SED!$SED$ac_delim
21048
 
LN_S!$LN_S$ac_delim
21049
 
ECHO!$ECHO$ac_delim
21050
 
AR!$AR$ac_delim
21051
 
RANLIB!$RANLIB$ac_delim
21052
 
_ACEOF
21053
 
 
21054
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21055
 
    break
21056
 
  elif $ac_last_try; then
21057
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21058
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21059
 
   { (exit 1); exit 1; }; }
21060
 
  else
21061
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21062
 
  fi
21063
 
done
21064
 
 
21065
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21066
 
if test -n "$ac_eof"; then
21067
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21068
 
  ac_eof=`expr $ac_eof + 1`
21069
 
fi
21070
 
 
21071
 
cat >>$CONFIG_STATUS <<_ACEOF
21072
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21073
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21074
 
_ACEOF
21075
 
sed '
21076
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21077
 
s/^/s,@/; s/!/@,|#_!!_#|/
21078
 
:n
21079
 
t n
21080
 
s/'"$ac_delim"'$/,g/; t
21081
 
s/$/\\/; p
21082
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21083
 
' >>$CONFIG_STATUS <conf$$subs.sed
21084
 
rm -f conf$$subs.sed
21085
 
cat >>$CONFIG_STATUS <<_ACEOF
21086
 
CEOF$ac_eof
21087
 
_ACEOF
21088
 
 
21089
 
 
21090
 
ac_delim='%!_!# '
21091
 
for ac_last_try in false false false false false :; do
21092
 
  cat >conf$$subs.sed <<_ACEOF
21093
 
CXXCPP!$CXXCPP$ac_delim
21094
 
F77!$F77$ac_delim
21095
 
FFLAGS!$FFLAGS$ac_delim
21096
 
ac_ct_F77!$ac_ct_F77$ac_delim
21097
 
LIBTOOL!$LIBTOOL$ac_delim
21098
 
LIBGDBM!$LIBGDBM$ac_delim
21099
 
FOUND_GDBM_TRUE!$FOUND_GDBM_TRUE$ac_delim
21100
 
FOUND_GDBM_FALSE!$FOUND_GDBM_FALSE$ac_delim
21101
 
LIBOBJS!$LIBOBJS$ac_delim
21102
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
21103
 
_ACEOF
21104
 
 
21105
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
21106
 
    break
21107
 
  elif $ac_last_try; then
21108
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21109
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21110
 
   { (exit 1); exit 1; }; }
21111
 
  else
21112
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21113
 
  fi
21114
 
done
21115
 
 
21116
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21117
 
if test -n "$ac_eof"; then
21118
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21119
 
  ac_eof=`expr $ac_eof + 1`
21120
 
fi
21121
 
 
21122
 
cat >>$CONFIG_STATUS <<_ACEOF
21123
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21124
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21125
 
_ACEOF
21126
 
sed '
21127
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21128
 
s/^/s,@/; s/!/@,|#_!!_#|/
21129
 
:n
21130
 
t n
21131
 
s/'"$ac_delim"'$/,g/; t
21132
 
s/$/\\/; p
21133
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21134
 
' >>$CONFIG_STATUS <conf$$subs.sed
21135
 
rm -f conf$$subs.sed
21136
 
cat >>$CONFIG_STATUS <<_ACEOF
21137
 
:end
21138
 
s/|#_!!_#|//g
21139
 
CEOF$ac_eof
21140
 
_ACEOF
21141
 
 
 
22465
 
 
22466
ac_cr='
 
 
b"'"
 
22467
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
22468
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
22469
  ac_cs_awk_cr='\\r'
 
22470
else
 
22471
  ac_cs_awk_cr=$ac_cr
 
22472
fi
 
22473
 
 
22474
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
22475
_ACEOF
 
22476
 
 
22477
 
 
22478
{
 
22479
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
22480
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
22481
  echo "_ACEOF"
 
22482
} >conf$$subs.sh ||
 
22483
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22484
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22485
   { (exit 1); exit 1; }; }
 
22486
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
22487
ac_delim='%!_!# '
 
22488
for ac_last_try in false false false false false :; do
 
22489
  . ./conf$$subs.sh ||
 
22490
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22491
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22492
   { (exit 1); exit 1; }; }
 
22493
 
 
22494
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
22495
  if test $ac_delim_n = $ac_delim_num; then
 
22496
    break
 
22497
  elif $ac_last_try; then
 
22498
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22499
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22500
   { (exit 1); exit 1; }; }
 
22501
  else
 
22502
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22503
  fi
 
22504
done
 
22505
rm -f conf$$subs.sh
 
22506
 
 
22507
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22508
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
22509
_ACEOF
 
22510
sed -n '
 
22511
h
 
22512
s/^/S["/; s/!.*/"]=/
 
22513
p
 
22514
g
 
22515
s/^[^!]*!//
 
22516
:repl
 
22517
t repl
 
22518
s/'"$ac_delim"'$//
 
22519
t delim
 
22520
:nl
 
22521
h
 
22522
s/\(.\{148\}\).*/\1/
 
22523
t more1
 
22524
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
22525
p
 
22526
n
 
22527
b repl
 
22528
:more1
 
22529
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
22530
p
 
22531
g
 
22532
s/.\{148\}//
 
22533
t nl
 
22534
:delim
 
22535
h
 
22536
s/\(.\{148\}\).*/\1/
 
22537
t more2
 
22538
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
22539
p
 
22540
b
 
22541
:more2
 
22542
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
22543
p
 
22544
g
 
22545
s/.\{148\}//
 
22546
t delim
 
22547
' <conf$$subs.awk | sed '
 
22548
/^[^""]/{
 
22549
  N
 
22550
  s/\n//
 
22551
}
 
22552
' >>$CONFIG_STATUS || ac_write_fail=1
 
22553
rm -f conf$$subs.awk
 
22554
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22555
_ACAWK
 
22556
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
22557
  for (key in S) S_is_set[key] = 1
 
22558
  FS = ""
 
22559
 
 
22560
}
 
22561
{
 
22562
  line = $ 0
 
22563
  nfields = split(line, field, "@")
 
22564
  substed = 0
 
22565
  len = length(field[1])
 
22566
  for (i = 2; i < nfields; i++) {
 
22567
    key = field[i]
 
22568
    keylen = length(key)
 
22569
    if (S_is_set[key]) {
 
22570
      value = S[key]
 
22571
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
22572
      len += length(value) + length(field[++i])
 
22573
      substed = 1
 
22574
    } else
 
22575
      len += 1 + keylen
 
22576
  }
 
22577
 
 
22578
  print line
 
22579
}
 
22580
 
 
22581
_ACAWK
 
22582
_ACEOF
 
22583
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22584
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
22585
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
22586
else
 
22587
  cat
 
22588
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
22589
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
22590
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
22591
   { (exit 1); exit 1; }; }
 
22592
_ACEOF
21142
22593
 
21143
22594
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21144
22595
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21155
22606
}'
21156
22607
fi
21157
22608
 
21158
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22609
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21159
22610
fi # test -n "$CONFIG_FILES"
21160
22611
 
21161
 
 
21162
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
22612
# Set up the scripts for CONFIG_HEADERS section.
 
22613
# No need to generate them if there are no CONFIG_HEADERS.
 
22614
# This happens for instance with `./config.status Makefile'.
 
22615
if test -n "$CONFIG_HEADERS"; then
 
22616
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
22617
BEGIN {
 
22618
_ACEOF
 
22619
 
 
22620
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
22621
# here-document in config.status, that substitutes the proper values into
 
22622
# config.h.in to produce config.h.
 
22623
 
 
22624
# Create a delimiter string that does not exist in confdefs.h, to ease
 
22625
# handling of long lines.
 
22626
ac_delim='%!_!# '
 
22627
for ac_last_try in false false :; do
 
22628
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
22629
  if test -z "$ac_t"; then
 
22630
    break
 
22631
  elif $ac_last_try; then
 
22632
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
22633
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
22634
   { (exit 1); exit 1; }; }
 
22635
  else
 
22636
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22637
  fi
 
22638
done
 
22639
 
 
22640
# For the awk script, D is an array of macro values keyed by name,
 
22641
# likewise P contains macro parameters if any.  Preserve backslash
 
22642
# newline sequences.
 
22643
 
 
22644
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
22645
sed -n '
 
22646
s/.\{148\}/&'"$ac_delim"'/g
 
22647
t rset
 
22648
:rset
 
22649
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
22650
t def
 
22651
d
 
22652
:def
 
22653
s/\\$//
 
22654
t bsnl
 
22655
s/["\\]/\\&/g
 
22656
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
22657
D["\1"]=" \3"/p
 
22658
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
22659
d
 
22660
:bsnl
 
22661
s/["\\]/\\&/g
 
22662
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
22663
D["\1"]=" \3\\\\\\n"\\/p
 
22664
t cont
 
22665
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
22666
t cont
 
22667
d
 
22668
:cont
 
22669
n
 
22670
s/.\{148\}/&'"$ac_delim"'/g
 
22671
t clear
 
22672
:clear
 
22673
s/\\$//
 
22674
t bsnlc
 
22675
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
22676
d
 
22677
:bsnlc
 
22678
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
22679
b cont
 
22680
' <confdefs.h | sed '
 
22681
s/'"$ac_delim"'/"\\\
 
22682
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
22683
 
 
22684
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22685
  for (key in D) D_is_set[key] = 1
 
22686
  FS = ""
 
22687
}
 
22688
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
22689
  line = \$ 0
 
22690
  split(line, arg, " ")
 
22691
  if (arg[1] == "#") {
 
22692
    defundef = arg[2]
 
22693
    mac1 = arg[3]
 
22694
  } else {
 
22695
    defundef = substr(arg[1], 2)
 
22696
    mac1 = arg[2]
 
22697
  }
 
22698
  split(mac1, mac2, "(") #)
 
22699
  macro = mac2[1]
 
22700
  prefix = substr(line, 1, index(line, defundef) - 1)
 
22701
  if (D_is_set[macro]) {
 
22702
    # Preserve the white space surrounding the "#".
 
22703
    print prefix "define", macro P[macro] D[macro]
 
22704
    next
 
22705
  } else {
 
22706
    # Replace #undef with comments.  This is necessary, for example,
 
22707
    # in the case of _POSIX_SOURCE, which is predefined and required
 
22708
    # on some systems where configure will not decide to define it.
 
22709
    if (defundef == "undef") {
 
22710
      print "/*", prefix defundef, macro, "*/"
 
22711
      next
 
22712
    }
 
22713
  }
 
22714
}
 
22715
{ print }
 
22716
_ACAWK
 
22717
_ACEOF
 
22718
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22719
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
22720
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
22721
   { (exit 1); exit 1; }; }
 
22722
fi # test -n "$CONFIG_HEADERS"
 
22723
 
 
22724
 
 
22725
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
22726
shift
 
22727
for ac_tag
21163
22728
do
21164
22729
  case $ac_tag in
21165
22730
  :[FHLC]) ac_mode=$ac_tag; continue;;
21166
22731
  esac
21167
22732
  case $ac_mode$ac_tag in
21168
22733
  :[FHL]*:*);;
21169
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21170
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
22734
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
22735
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
21171
22736
   { (exit 1); exit 1; }; };;
21172
22737
  :[FH]-) ac_tag=-:-;;
21173
22738
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21196
22761
           [\\/$]*) false;;
21197
22762
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21198
22763
           esac ||
21199
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21200
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
22764
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
22765
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21201
22766
   { (exit 1); exit 1; }; };;
21202
22767
      esac
21203
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
22768
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
22769
      ac_file_inputs="$ac_file_inputs '$ac_f'"
21204
22770
    done
21205
22771
 
21206
22772
    # Let's still pretend it is `configure' which instantiates (i.e., don't
21207
22773
    # use $as_me), people would be surprised to read:
21208
22774
    #    /* config.h.  Generated by config.status.  */
21209
 
    configure_input="Generated from "`IFS=:
21210
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
22775
    configure_input='Generated from '`
 
22776
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
22777
        `' by configure.'
21211
22778
    if test x"$ac_file" != x-; then
21212
22779
      configure_input="$ac_file.  $configure_input"
21213
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
21214
 
echo "$as_me: creating $ac_file" >&6;}
 
22780
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
22781
$as_echo "$as_me: creating $ac_file" >&6;}
21215
22782
    fi
 
22783
    # Neutralize special characters interpreted by sed in replacement strings.
 
22784
    case $configure_input in #(
 
22785
    *\&* | *\|* | *\\* )
 
22786
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
22787
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
22788
    *) ac_sed_conf_input=$configure_input;;
 
22789
    esac
21216
22790
 
21217
22791
    case $ac_tag in
21218
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
22792
    *:-:* | *:-) cat >"$tmp/stdin" \
 
22793
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
22794
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
22795
   { (exit 1); exit 1; }; } ;;
21219
22796
    esac
21220
22797
    ;;
21221
22798
  esac
21225
22802
         X"$ac_file" : 'X\(//\)[^/]' \| \
21226
22803
         X"$ac_file" : 'X\(//\)$' \| \
21227
22804
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21228
 
echo X"$ac_file" |
 
22805
$as_echo X"$ac_file" |
21229
22806
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21230
22807
            s//\1/
21231
22808
            q
21251
22828
    as_dirs=
21252
22829
    while :; do
21253
22830
      case $as_dir in #(
21254
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
22831
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21255
22832
      *) as_qdir=$as_dir;;
21256
22833
      esac
21257
22834
      as_dirs="'$as_qdir' $as_dirs"
21260
22837
         X"$as_dir" : 'X\(//\)[^/]' \| \
21261
22838
         X"$as_dir" : 'X\(//\)$' \| \
21262
22839
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21263
 
echo X"$as_dir" |
 
22840
$as_echo X"$as_dir" |
21264
22841
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21265
22842
            s//\1/
21266
22843
            q
21281
22858
      test -d "$as_dir" && break
21282
22859
    done
21283
22860
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21284
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21285
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
22861
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22862
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21286
22863
   { (exit 1); exit 1; }; }; }
21287
22864
  ac_builddir=.
21288
22865
 
21289
22866
case "$ac_dir" in
21290
22867
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21291
22868
*)
21292
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
22869
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21293
22870
  # A ".." for each directory in $ac_dir_suffix.
21294
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
22871
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21295
22872
  case $ac_top_builddir_sub in
21296
22873
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21297
22874
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21336
22913
  esac
21337
22914
_ACEOF
21338
22915
 
21339
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22916
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21340
22917
# If the template does not know about datarootdir, expand it.
21341
22918
# FIXME: This hack should be removed a few years after 2.60.
21342
22919
ac_datarootdir_hack=; ac_datarootdir_seen=
21343
22920
 
21344
 
case `sed -n '/datarootdir/ {
 
22921
ac_sed_dataroot='
 
22922
/datarootdir/ {
21345
22923
  p
21346
22924
  q
21347
22925
}
21350
22928
/@infodir@/p
21351
22929
/@localedir@/p
21352
22930
/@mandir@/p
21353
 
' $ac_file_inputs` in
 
22931
'
 
22932
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21354
22933
*datarootdir*) ac_datarootdir_seen=yes;;
21355
22934
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21356
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21357
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
22935
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
22936
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21358
22937
_ACEOF
21359
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22938
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21360
22939
  ac_datarootdir_hack='
21361
22940
  s&@datadir@&$datadir&g
21362
22941
  s&@docdir@&$docdir&g
21370
22949
# Neutralize VPATH when `$srcdir' = `.'.
21371
22950
# Shell code in configure.ac might set extrasub.
21372
22951
# FIXME: do we really want to maintain this feature?
21373
 
cat >>$CONFIG_STATUS <<_ACEOF
21374
 
  sed "$ac_vpsub
 
22952
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22953
ac_sed_extra="$ac_vpsub
21375
22954
$extrasub
21376
22955
_ACEOF
21377
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22956
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21378
22957
:t
21379
22958
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21380
 
s&@configure_input@&$configure_input&;t t
 
22959
s|@configure_input@|$ac_sed_conf_input|;t t
21381
22960
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
22961
s&@top_build_prefix@&$ac_top_build_prefix&;t t
21382
22962
s&@srcdir@&$ac_srcdir&;t t
21383
22963
s&@abs_srcdir@&$ac_abs_srcdir&;t t
21384
22964
s&@top_srcdir@&$ac_top_srcdir&;t t
21389
22969
s&@INSTALL@&$ac_INSTALL&;t t
21390
22970
s&@MKDIR_P@&$ac_MKDIR_P&;t t
21391
22971
$ac_datarootdir_hack
21392
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
22972
"
 
22973
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
22974
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
22975
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
22976
   { (exit 1); exit 1; }; }
21393
22977
 
21394
22978
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21395
22979
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21396
22980
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21397
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
22981
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21398
22982
which seems to be undefined.  Please make sure it is defined." >&5
21399
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
22983
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21400
22984
which seems to be undefined.  Please make sure it is defined." >&2;}
21401
22985
 
21402
22986
  rm -f "$tmp/stdin"
21403
22987
  case $ac_file in
21404
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
21405
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21406
 
  esac
 
22988
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
22989
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
22990
  esac \
 
22991
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
22992
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
22993
   { (exit 1); exit 1; }; }
21407
22994
 ;;
21408
22995
  :H)
21409
22996
  #
21410
22997
  # CONFIG_HEADER
21411
22998
  #
21412
 
_ACEOF
21413
 
 
21414
 
# Transform confdefs.h into a sed script `conftest.defines', that
21415
 
# substitutes the proper values into config.h.in to produce config.h.
21416
 
rm -f conftest.defines conftest.tail
21417
 
# First, append a space to every undef/define line, to ease matching.
21418
 
echo 's/$/ /' >conftest.defines
21419
 
# Then, protect against being on the right side of a sed subst, or in
21420
 
# an unquoted here document, in config.status.  If some macros were
21421
 
# called several times there might be several #defines for the same
21422
 
# symbol, which is useless.  But do not sort them, since the last
21423
 
# AC_DEFINE must be honored.
21424
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21425
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21426
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
21427
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
21428
 
# just an empty string.
21429
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
21430
 
ac_dB='\\)[      (].*,\\1define\\2'
21431
 
ac_dC=' '
21432
 
ac_dD=' ,'
21433
 
 
21434
 
uniq confdefs.h |
21435
 
  sed -n '
21436
 
        t rset
21437
 
        :rset
21438
 
        s/^[     ]*#[    ]*define[       ][      ]*//
21439
 
        t ok
21440
 
        d
21441
 
        :ok
21442
 
        s/[\\&,]/\\&/g
21443
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21444
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21445
 
  ' >>conftest.defines
21446
 
 
21447
 
# Remove the space that was appended to ease matching.
21448
 
# Then replace #undef with comments.  This is necessary, for
21449
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
21450
 
# on some systems where configure will not decide to define it.
21451
 
# (The regexp can be short, since the line contains either #define or #undef.)
21452
 
echo 's/ $//
21453
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
21454
 
 
21455
 
# Break up conftest.defines:
21456
 
ac_max_sed_lines=50
21457
 
 
21458
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21459
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21460
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21461
 
# et cetera.
21462
 
ac_in='$ac_file_inputs'
21463
 
ac_out='"$tmp/out1"'
21464
 
ac_nxt='"$tmp/out2"'
21465
 
 
21466
 
while :
21467
 
do
21468
 
  # Write a here document:
21469
 
    cat >>$CONFIG_STATUS <<_ACEOF
21470
 
    # First, check the format of the line:
21471
 
    cat >"\$tmp/defines.sed" <<\\CEOF
21472
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
21473
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
21474
 
b
21475
 
:def
21476
 
_ACEOF
21477
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21478
 
  echo 'CEOF
21479
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21480
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
21481
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
21482
 
  grep . conftest.tail >/dev/null || break
21483
 
  rm -f conftest.defines
21484
 
  mv conftest.tail conftest.defines
21485
 
done
21486
 
rm -f conftest.defines conftest.tail
21487
 
 
21488
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
21489
 
cat >>$CONFIG_STATUS <<\_ACEOF
21490
22999
  if test x"$ac_file" != x-; then
21491
 
    echo "/* $configure_input  */" >"$tmp/config.h"
21492
 
    cat "$ac_result" >>"$tmp/config.h"
21493
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21494
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21495
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
23000
    {
 
23001
      $as_echo "/* $configure_input  */" \
 
23002
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
23003
    } >"$tmp/config.h" \
 
23004
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23005
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23006
   { (exit 1); exit 1; }; }
 
23007
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
23008
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
23009
$as_echo "$as_me: $ac_file is unchanged" >&6;}
21496
23010
    else
21497
 
      rm -f $ac_file
21498
 
      mv "$tmp/config.h" $ac_file
 
23011
      rm -f "$ac_file"
 
23012
      mv "$tmp/config.h" "$ac_file" \
 
23013
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23014
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23015
   { (exit 1); exit 1; }; }
21499
23016
    fi
21500
23017
  else
21501
 
    echo "/* $configure_input  */"
21502
 
    cat "$ac_result"
 
23018
    $as_echo "/* $configure_input  */" \
 
23019
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
23020
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
23021
$as_echo "$as_me: error: could not create -" >&2;}
 
23022
   { (exit 1); exit 1; }; }
21503
23023
  fi
21504
 
  rm -f "$tmp/out12"
21505
 
# Compute $ac_file's index in $config_headers.
21506
 
_am_arg=$ac_file
 
23024
# Compute "$ac_file"'s index in $config_headers.
 
23025
_am_arg="$ac_file"
21507
23026
_am_stamp_count=1
21508
23027
for _am_header in $config_headers :; do
21509
23028
  case $_am_header in
21518
23037
         X"$_am_arg" : 'X\(//\)[^/]' \| \
21519
23038
         X"$_am_arg" : 'X\(//\)$' \| \
21520
23039
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21521
 
echo X"$_am_arg" |
 
23040
$as_echo X"$_am_arg" |
21522
23041
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21523
23042
            s//\1/
21524
23043
            q
21538
23057
          s/.*/./; q'`/stamp-h$_am_stamp_count
21539
23058
 ;;
21540
23059
 
21541
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21542
 
echo "$as_me: executing $ac_file commands" >&6;}
 
23060
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
23061
$as_echo "$as_me: executing $ac_file commands" >&6;}
21543
23062
 ;;
21544
23063
  esac
21545
23064
 
21561
23080
         X"$mf" : 'X\(//\)[^/]' \| \
21562
23081
         X"$mf" : 'X\(//\)$' \| \
21563
23082
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21564
 
echo X"$mf" |
 
23083
$as_echo X"$mf" |
21565
23084
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21566
23085
            s//\1/
21567
23086
            q
21605
23124
         X"$file" : 'X\(//\)[^/]' \| \
21606
23125
         X"$file" : 'X\(//\)$' \| \
21607
23126
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21608
 
echo X"$file" |
 
23127
$as_echo X"$file" |
21609
23128
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21610
23129
            s//\1/
21611
23130
            q
21631
23150
    as_dirs=
21632
23151
    while :; do
21633
23152
      case $as_dir in #(
21634
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23153
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21635
23154
      *) as_qdir=$as_dir;;
21636
23155
      esac
21637
23156
      as_dirs="'$as_qdir' $as_dirs"
21640
23159
         X"$as_dir" : 'X\(//\)[^/]' \| \
21641
23160
         X"$as_dir" : 'X\(//\)$' \| \
21642
23161
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21643
 
echo X"$as_dir" |
 
23162
$as_echo X"$as_dir" |
21644
23163
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21645
23164
            s//\1/
21646
23165
            q
21661
23180
      test -d "$as_dir" && break
21662
23181
    done
21663
23182
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21664
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21665
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
23183
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23184
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21666
23185
   { (exit 1); exit 1; }; }; }
21667
23186
    # echo "creating $dirpart/$file"
21668
23187
    echo '# dummy' > "$dirpart/$file"
21679
23198
chmod +x $CONFIG_STATUS
21680
23199
ac_clean_files=$ac_clean_files_save
21681
23200
 
 
23201
test $ac_write_fail = 0 ||
 
23202
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
23203
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
23204
   { (exit 1); exit 1; }; }
 
23205
 
21682
23206
 
21683
23207
# configure is writing to config.log, and then calls config.status.
21684
23208
# config.status does its own redirection, appending to config.log.
21700
23224
  # would make configure fail if this is the last instruction.
21701
23225
  $ac_cs_success || { (exit 1); exit 1; }
21702
23226
fi
 
23227
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
23228
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
23229
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
23230
fi
21703
23231