~ubuntu-branches/ubuntu/trusty/libxpm/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau, Timo Aaltonen, Julien Cristau
  • Date: 2009-11-25 19:31:08 UTC
  • mfrom: (1.1.5 upstream) (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091125193108-53d2v3e83ejqwz5q
Tags: 1:3.5.8-1
[ Timo Aaltonen ]
* New upstream release.
* Bump the build-dep on xutils-dev (>= 1:7.5~1).

[ Julien Cristau ]
* Bump Standards-Version to 3.8.3.

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 libXpm 3.5.7.
 
3
# Generated by GNU Autoconf 2.63 for libXpm 3.5.8.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
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
728
750
# Identity of this package.
729
751
PACKAGE_NAME='libXpm'
730
752
PACKAGE_TARNAME='libXpm'
731
 
PACKAGE_VERSION='3.5.7'
732
 
PACKAGE_STRING='libXpm 3.5.7'
 
753
PACKAGE_VERSION='3.5.8'
 
754
PACKAGE_STRING='libXpm 3.5.8'
733
755
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
734
756
 
735
757
ac_unique_file="Makefile.am"
769
791
# include <unistd.h>
770
792
#endif"
771
793
 
772
 
ac_subst_vars='SHELL
773
 
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
 
MAINTAINER_MODE_TRUE
832
 
MAINTAINER_MODE_FALSE
833
 
MAINT
834
 
build
835
 
build_cpu
836
 
build_vendor
837
 
build_os
838
 
host
839
 
host_cpu
840
 
host_vendor
841
 
host_os
842
 
CC
843
 
CFLAGS
844
 
LDFLAGS
845
 
CPPFLAGS
846
 
ac_ct_CC
847
 
EXEEXT
848
 
OBJEXT
849
 
DEPDIR
850
 
am__include
851
 
am__quote
852
 
AMDEP_TRUE
853
 
AMDEP_FALSE
854
 
AMDEPBACKSLASH
855
 
CCDEPMODE
856
 
am__fastdepCC_TRUE
857
 
am__fastdepCC_FALSE
858
 
GREP
859
 
EGREP
860
 
LN_S
861
 
ECHO
862
 
AR
863
 
RANLIB
864
 
CPP
865
 
CXX
866
 
CXXFLAGS
867
 
ac_ct_CXX
868
 
CXXDEPMODE
869
 
am__fastdepCXX_TRUE
870
 
am__fastdepCXX_FALSE
871
 
CXXCPP
872
 
F77
873
 
FFLAGS
874
 
ac_ct_F77
875
 
LIBTOOL
876
 
PKG_CONFIG
877
 
XPM_CFLAGS
878
 
XPM_LIBS
 
794
ac_subst_vars='am__EXEEXT_FALSE
 
795
am__EXEEXT_TRUE
 
796
LTLIBOBJS
 
797
LIBOBJS
 
798
BUILD_SXPM_FALSE
 
799
BUILD_SXPM_TRUE
 
800
SXPM_LIBS
 
801
SXPM_CFLAGS
 
802
USE_GETTEXT_FALSE
 
803
USE_GETTEXT_TRUE
879
804
LOCALEDIR
880
 
USE_GETTEXT_TRUE
881
 
USE_GETTEXT_FALSE
882
 
SXPM_CFLAGS
883
 
SXPM_LIBS
884
 
BUILD_SXPM_TRUE
885
 
BUILD_SXPM_FALSE
 
805
XPM_LIBS
 
806
XPM_CFLAGS
 
807
PKG_CONFIG
 
808
ADMIN_MAN_DIR
 
809
DRIVER_MAN_DIR
 
810
MISC_MAN_DIR
 
811
FILE_MAN_DIR
 
812
LIB_MAN_DIR
 
813
APP_MAN_DIR
 
814
ADMIN_MAN_SUFFIX
 
815
DRIVER_MAN_SUFFIX
 
816
MISC_MAN_SUFFIX
 
817
FILE_MAN_SUFFIX
 
818
LIB_MAN_SUFFIX
886
819
APP_MAN_SUFFIX
887
 
LIB_MAN_SUFFIX
888
 
FILE_MAN_SUFFIX
889
 
MISC_MAN_SUFFIX
890
 
DRIVER_MAN_SUFFIX
891
 
ADMIN_MAN_SUFFIX
892
 
APP_MAN_DIR
893
 
LIB_MAN_DIR
894
 
FILE_MAN_DIR
895
 
MISC_MAN_DIR
896
 
DRIVER_MAN_DIR
897
 
ADMIN_MAN_DIR
898
 
LIBOBJS
899
 
LTLIBOBJS'
 
820
distcleancheck_listfiles
 
821
CHANGELOG_CMD
 
822
AM_BACKSLASH
 
823
AM_DEFAULT_VERBOSITY
 
824
CWARNFLAGS
 
825
LIBTOOL
 
826
ac_ct_F77
 
827
FFLAGS
 
828
F77
 
829
CXXCPP
 
830
am__fastdepCXX_FALSE
 
831
am__fastdepCXX_TRUE
 
832
CXXDEPMODE
 
833
ac_ct_CXX
 
834
CXXFLAGS
 
835
CXX
 
836
CPP
 
837
NMEDIT
 
838
DSYMUTIL
 
839
RANLIB
 
840
AR
 
841
ECHO
 
842
LN_S
 
843
EGREP
 
844
GREP
 
845
SED
 
846
am__fastdepCC_FALSE
 
847
am__fastdepCC_TRUE
 
848
CCDEPMODE
 
849
AMDEPBACKSLASH
 
850
AMDEP_FALSE
 
851
AMDEP_TRUE
 
852
am__quote
 
853
am__include
 
854
DEPDIR
 
855
OBJEXT
 
856
EXEEXT
 
857
ac_ct_CC
 
858
CPPFLAGS
 
859
LDFLAGS
 
860
CFLAGS
 
861
CC
 
862
host_os
 
863
host_vendor
 
864
host_cpu
 
865
host
 
866
build_os
 
867
build_vendor
 
868
build_cpu
 
869
build
 
870
MAINT
 
871
MAINTAINER_MODE_FALSE
 
872
MAINTAINER_MODE_TRUE
 
873
am__untar
 
874
am__tar
 
875
AMTAR
 
876
am__leading_dot
 
877
SET_MAKE
 
878
AWK
 
879
mkdir_p
 
880
MKDIR_P
 
881
INSTALL_STRIP_PROGRAM
 
882
STRIP
 
883
install_sh
 
884
MAKEINFO
 
885
AUTOHEADER
 
886
AUTOMAKE
 
887
AUTOCONF
 
888
ACLOCAL
 
889
VERSION
 
890
PACKAGE
 
891
CYGPATH_W
 
892
am__isrc
 
893
INSTALL_DATA
 
894
INSTALL_SCRIPT
 
895
INSTALL_PROGRAM
 
896
target_alias
 
897
host_alias
 
898
build_alias
 
899
LIBS
 
900
ECHO_T
 
901
ECHO_N
 
902
ECHO_C
 
903
DEFS
 
904
mandir
 
905
localedir
 
906
libdir
 
907
psdir
 
908
pdfdir
 
909
dvidir
 
910
htmldir
 
911
infodir
 
912
docdir
 
913
oldincludedir
 
914
includedir
 
915
localstatedir
 
916
sharedstatedir
 
917
sysconfdir
 
918
datadir
 
919
datarootdir
 
920
libexecdir
 
921
sbindir
 
922
bindir
 
923
program_transform_name
 
924
prefix
 
925
exec_prefix
 
926
PACKAGE_BUGREPORT
 
927
PACKAGE_STRING
 
928
PACKAGE_VERSION
 
929
PACKAGE_TARNAME
 
930
PACKAGE_NAME
 
931
PATH_SEPARATOR
 
932
SHELL'
900
933
ac_subst_files=''
 
934
ac_user_opts='
 
935
enable_option_checking
 
936
enable_maintainer_mode
 
937
enable_shared
 
938
enable_static
 
939
enable_fast_install
 
940
enable_dependency_tracking
 
941
with_gnu_ld
 
942
enable_libtool_lock
 
943
with_pic
 
944
with_tags
 
945
enable_silent_rules
 
946
enable_strict_compilation
 
947
with_release_version
 
948
with_localedir
 
949
enable_stat_zfile
 
950
'
901
951
      ac_precious_vars='build_alias
902
952
host_alias
903
953
target_alias
923
973
# Initialize some variables set by options.
924
974
ac_init_help=
925
975
ac_init_version=false
 
976
ac_unrecognized_opts=
 
977
ac_unrecognized_sep=
926
978
# The variables have the same names as the options, with
927
979
# dashes changed to underlines.
928
980
cache_file=/dev/null
1021
1073
    datarootdir=$ac_optarg ;;
1022
1074
 
1023
1075
  -disable-* | --disable-*)
1024
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1076
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1025
1077
    # Reject names that are not valid shell variable names.
1026
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1078
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1079
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1028
1080
   { (exit 1); exit 1; }; }
1029
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1030
 
    eval enable_$ac_feature=no ;;
 
1081
    ac_useropt_orig=$ac_useropt
 
1082
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1083
    case $ac_user_opts in
 
1084
      *"
 
1085
"enable_$ac_useropt"
 
1086
"*) ;;
 
1087
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1088
         ac_unrecognized_sep=', ';;
 
1089
    esac
 
1090
    eval enable_$ac_useropt=no ;;
1031
1091
 
1032
1092
  -docdir | --docdir | --docdi | --doc | --do)
1033
1093
    ac_prev=docdir ;;
1040
1100
    dvidir=$ac_optarg ;;
1041
1101
 
1042
1102
  -enable-* | --enable-*)
1043
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1103
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044
1104
    # Reject names that are not valid shell variable names.
1045
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1046
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1105
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1106
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1047
1107
   { (exit 1); exit 1; }; }
1048
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1049
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1108
    ac_useropt_orig=$ac_useropt
 
1109
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1110
    case $ac_user_opts in
 
1111
      *"
 
1112
"enable_$ac_useropt"
 
1113
"*) ;;
 
1114
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1115
         ac_unrecognized_sep=', ';;
 
1116
    esac
 
1117
    eval enable_$ac_useropt=\$ac_optarg ;;
1050
1118
 
1051
1119
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1052
1120
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1237
1305
    ac_init_version=: ;;
1238
1306
 
1239
1307
  -with-* | --with-*)
1240
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1308
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1241
1309
    # Reject names that are not valid shell variable names.
1242
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1310
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1311
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1244
1312
   { (exit 1); exit 1; }; }
1245
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1246
 
    eval with_$ac_package=\$ac_optarg ;;
 
1313
    ac_useropt_orig=$ac_useropt
 
1314
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1315
    case $ac_user_opts in
 
1316
      *"
 
1317
"with_$ac_useropt"
 
1318
"*) ;;
 
1319
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1320
         ac_unrecognized_sep=', ';;
 
1321
    esac
 
1322
    eval with_$ac_useropt=\$ac_optarg ;;
1247
1323
 
1248
1324
  -without-* | --without-*)
1249
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1325
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1250
1326
    # Reject names that are not valid shell variable names.
1251
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1252
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1327
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1328
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1253
1329
   { (exit 1); exit 1; }; }
1254
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1255
 
    eval with_$ac_package=no ;;
 
1330
    ac_useropt_orig=$ac_useropt
 
1331
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1332
    case $ac_user_opts in
 
1333
      *"
 
1334
"with_$ac_useropt"
 
1335
"*) ;;
 
1336
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1337
         ac_unrecognized_sep=', ';;
 
1338
    esac
 
1339
    eval with_$ac_useropt=no ;;
1256
1340
 
1257
1341
  --x)
1258
1342
    # Obsolete; use --with-x.
1272
1356
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1273
1357
    x_libraries=$ac_optarg ;;
1274
1358
 
1275
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1359
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1276
1360
Try \`$0 --help' for more information." >&2
1277
1361
   { (exit 1); exit 1; }; }
1278
1362
    ;;
1281
1365
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1282
1366
    # Reject names that are not valid shell variable names.
1283
1367
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1284
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1368
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1285
1369
   { (exit 1); exit 1; }; }
1286
1370
    eval $ac_envvar=\$ac_optarg
1287
1371
    export $ac_envvar ;;
1288
1372
 
1289
1373
  *)
1290
1374
    # FIXME: should be removed in autoconf 3.0.
1291
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1375
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1292
1376
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1293
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1377
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1294
1378
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1295
1379
    ;;
1296
1380
 
1299
1383
 
1300
1384
if test -n "$ac_prev"; then
1301
1385
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1302
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1386
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1303
1387
   { (exit 1); exit 1; }; }
1304
1388
fi
1305
1389
 
1306
 
# Be sure to have absolute directory names.
 
1390
if test -n "$ac_unrecognized_opts"; then
 
1391
  case $enable_option_checking in
 
1392
    no) ;;
 
1393
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1394
   { (exit 1); exit 1; }; } ;;
 
1395
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1396
  esac
 
1397
fi
 
1398
 
 
1399
# Check all directory arguments for consistency.
1307
1400
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1308
1401
                datadir sysconfdir sharedstatedir localstatedir includedir \
1309
1402
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1310
1403
                libdir localedir mandir
1311
1404
do
1312
1405
  eval ac_val=\$$ac_var
 
1406
  # Remove trailing slashes.
 
1407
  case $ac_val in
 
1408
    */ )
 
1409
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1410
      eval $ac_var=\$ac_val;;
 
1411
  esac
 
1412
  # Be sure to have absolute directory names.
1313
1413
  case $ac_val in
1314
1414
    [\\/$]* | ?:[\\/]* )  continue;;
1315
1415
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1316
1416
  esac
1317
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1417
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1318
1418
   { (exit 1); exit 1; }; }
1319
1419
done
1320
1420
 
1329
1429
if test "x$host_alias" != x; then
1330
1430
  if test "x$build_alias" = x; then
1331
1431
    cross_compiling=maybe
1332
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1432
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1333
1433
    If a cross compiler is detected then cross compile mode will be used." >&2
1334
1434
  elif test "x$build_alias" != "x$host_alias"; then
1335
1435
    cross_compiling=yes
1345
1445
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1346
1446
ac_ls_di=`ls -di .` &&
1347
1447
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1348
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1448
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1349
1449
   { (exit 1); exit 1; }; }
1350
1450
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1351
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1451
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1352
1452
   { (exit 1); exit 1; }; }
1353
1453
 
1354
1454
 
1356
1456
if test -z "$srcdir"; then
1357
1457
  ac_srcdir_defaulted=yes
1358
1458
  # Try the directory containing this script, then the parent directory.
1359
 
  ac_confdir=`$as_dirname -- "$0" ||
1360
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1361
 
         X"$0" : 'X\(//\)[^/]' \| \
1362
 
         X"$0" : 'X\(//\)$' \| \
1363
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1364
 
echo X"$0" |
 
1459
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1460
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1461
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1462
         X"$as_myself" : 'X\(//\)$' \| \
 
1463
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1464
$as_echo X"$as_myself" |
1365
1465
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1366
1466
            s//\1/
1367
1467
            q
1388
1488
fi
1389
1489
if test ! -r "$srcdir/$ac_unique_file"; then
1390
1490
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1391
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1491
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1392
1492
   { (exit 1); exit 1; }; }
1393
1493
fi
1394
1494
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1395
1495
ac_abs_confdir=`(
1396
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1496
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1397
1497
   { (exit 1); exit 1; }; }
1398
1498
        pwd)`
1399
1499
# When building in place, set srcdir=.
1420
1520
  # Omit some internal or obsolete options to make the list less imposing.
1421
1521
  # This message is too long to be a string in the A/UX 3.1 sh.
1422
1522
  cat <<_ACEOF
1423
 
\`configure' configures libXpm 3.5.7 to adapt to many kinds of systems.
 
1523
\`configure' configures libXpm 3.5.8 to adapt to many kinds of systems.
1424
1524
 
1425
1525
Usage: $0 [OPTION]... [VAR=VALUE]...
1426
1526
 
1442
1542
 
1443
1543
Installation directories:
1444
1544
  --prefix=PREFIX         install architecture-independent files in PREFIX
1445
 
                          [$ac_default_prefix]
 
1545
                          [$ac_default_prefix]
1446
1546
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1447
 
                          [PREFIX]
 
1547
                          [PREFIX]
1448
1548
 
1449
1549
By default, \`make install' will install all the files in
1450
1550
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1454
1554
For better control, use the options below.
1455
1555
 
1456
1556
Fine tuning of the installation directories:
1457
 
  --bindir=DIR           user executables [EPREFIX/bin]
1458
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1459
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1460
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1461
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1462
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1463
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1464
 
  --includedir=DIR       C header files [PREFIX/include]
1465
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1466
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1467
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1468
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1469
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1470
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1471
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libXpm]
1472
 
  --htmldir=DIR          html documentation [DOCDIR]
1473
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1474
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1475
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1557
  --bindir=DIR            user executables [EPREFIX/bin]
 
1558
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1559
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1560
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1561
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1562
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1563
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1564
  --includedir=DIR        C header files [PREFIX/include]
 
1565
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1566
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1567
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1568
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1569
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1570
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1571
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libXpm]
 
1572
  --htmldir=DIR           html documentation [DOCDIR]
 
1573
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1574
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1575
  --psdir=DIR             ps documentation [DOCDIR]
1476
1576
_ACEOF
1477
1577
 
1478
1578
  cat <<\_ACEOF
1490
1590
 
1491
1591
if test -n "$ac_init_help"; then
1492
1592
  case $ac_init_help in
1493
 
     short | recursive ) echo "Configuration of libXpm 3.5.7:";;
 
1593
     short | recursive ) echo "Configuration of libXpm 3.5.8:";;
1494
1594
   esac
1495
1595
  cat <<\_ACEOF
1496
1596
 
1497
1597
Optional Features:
 
1598
  --disable-option-checking  ignore unrecognized --enable/--with options
1498
1599
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1499
1600
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1500
1601
  --enable-maintainer-mode  enable make rules and dependencies not useful
1506
1607
  --disable-dependency-tracking  speeds up one-time build
1507
1608
  --enable-dependency-tracking   do not reject slow dependency extractors
1508
1609
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1610
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1611
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1612
  --enable-strict-compilation
 
1613
                          Enable all warnings from compiler and make them
 
1614
                          errors (default: disabled)
1509
1615
  --enable-stat-zfile     Search for files with .Z & .gz extensions
1510
1616
                          automatically [default=yes]
1511
1617
 
1516
1622
  --with-pic              try to use only PIC/non-PIC objects [default=use
1517
1623
                          both]
1518
1624
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1625
  --with-release-version=STRING
 
1626
                          Use release version string in package name
1519
1627
  --with-localedir=<path> Path to install message files in (default:
1520
1628
                          datadir/locale)
1521
 
  --with-release-version=STRING
1522
 
                          Use release version string in package name
1523
1629
 
1524
1630
Some influential environment variables:
1525
1631
  CC          C compiler command
1552
1658
if test "$ac_init_help" = "recursive"; then
1553
1659
  # If there are subdirs, report their specific --help.
1554
1660
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1555
 
    test -d "$ac_dir" || continue
 
1661
    test -d "$ac_dir" ||
 
1662
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1663
      continue
1556
1664
    ac_builddir=.
1557
1665
 
1558
1666
case "$ac_dir" in
1559
1667
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560
1668
*)
1561
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1669
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1562
1670
  # A ".." for each directory in $ac_dir_suffix.
1563
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1671
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1564
1672
  case $ac_top_builddir_sub in
1565
1673
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1566
1674
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1596
1704
      echo &&
1597
1705
      $SHELL "$ac_srcdir/configure" --help=recursive
1598
1706
    else
1599
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1707
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1600
1708
    fi || ac_status=$?
1601
1709
    cd "$ac_pwd" || { ac_status=$?; break; }
1602
1710
  done
1605
1713
test -n "$ac_init_help" && exit $ac_status
1606
1714
if $ac_init_version; then
1607
1715
  cat <<\_ACEOF
1608
 
libXpm configure 3.5.7
1609
 
generated by GNU Autoconf 2.61
 
1716
libXpm configure 3.5.8
 
1717
generated by GNU Autoconf 2.63
1610
1718
 
1611
1719
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1612
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1720
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1613
1721
This configure script is free software; the Free Software Foundation
1614
1722
gives unlimited permission to copy, distribute and modify it.
1615
1723
_ACEOF
1619
1727
This file contains any messages produced by compilers while
1620
1728
running configure, to aid debugging if configure makes a mistake.
1621
1729
 
1622
 
It was created by libXpm $as_me 3.5.7, which was
1623
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1730
It was created by libXpm $as_me 3.5.8, which was
 
1731
generated by GNU Autoconf 2.63.  Invocation command line was
1624
1732
 
1625
1733
  $ $0 $@
1626
1734
 
1656
1764
do
1657
1765
  IFS=$as_save_IFS
1658
1766
  test -z "$as_dir" && as_dir=.
1659
 
  echo "PATH: $as_dir"
 
1767
  $as_echo "PATH: $as_dir"
1660
1768
done
1661
1769
IFS=$as_save_IFS
1662
1770
 
1691
1799
    | -silent | --silent | --silen | --sile | --sil)
1692
1800
      continue ;;
1693
1801
    *\'*)
1694
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1802
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1695
1803
    esac
1696
1804
    case $ac_pass in
1697
1805
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1743
1851
    case $ac_val in #(
1744
1852
    *${as_nl}*)
1745
1853
      case $ac_var in #(
1746
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1747
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1854
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1855
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1748
1856
      esac
1749
1857
      case $ac_var in #(
1750
1858
      _ | IFS | as_nl) ;; #(
 
1859
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1751
1860
      *) $as_unset $ac_var ;;
1752
1861
      esac ;;
1753
1862
    esac
1777
1886
    do
1778
1887
      eval ac_val=\$$ac_var
1779
1888
      case $ac_val in
1780
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1889
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1781
1890
      esac
1782
 
      echo "$ac_var='\''$ac_val'\''"
 
1891
      $as_echo "$ac_var='\''$ac_val'\''"
1783
1892
    done | sort
1784
1893
    echo
1785
1894
 
1794
1903
      do
1795
1904
        eval ac_val=\$$ac_var
1796
1905
        case $ac_val in
1797
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1906
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1798
1907
        esac
1799
 
        echo "$ac_var='\''$ac_val'\''"
 
1908
        $as_echo "$ac_var='\''$ac_val'\''"
1800
1909
      done | sort
1801
1910
      echo
1802
1911
    fi
1812
1921
      echo
1813
1922
    fi
1814
1923
    test "$ac_signal" != 0 &&
1815
 
      echo "$as_me: caught signal $ac_signal"
1816
 
    echo "$as_me: exit $exit_status"
 
1924
      $as_echo "$as_me: caught signal $ac_signal"
 
1925
    $as_echo "$as_me: exit $exit_status"
1817
1926
  } >&5
1818
1927
  rm -f core *.core core.conftest.* &&
1819
1928
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1855
1964
 
1856
1965
 
1857
1966
# Let the site file select an alternate cache file if it wants to.
1858
 
# Prefer explicitly selected file to automatically selected ones.
 
1967
# Prefer an explicitly selected file to automatically selected ones.
 
1968
ac_site_file1=NONE
 
1969
ac_site_file2=NONE
1859
1970
if test -n "$CONFIG_SITE"; then
1860
 
  set x "$CONFIG_SITE"
 
1971
  ac_site_file1=$CONFIG_SITE
1861
1972
elif test "x$prefix" != xNONE; then
1862
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1973
  ac_site_file1=$prefix/share/config.site
 
1974
  ac_site_file2=$prefix/etc/config.site
1863
1975
else
1864
 
  set x "$ac_default_prefix/share/config.site" \
1865
 
        "$ac_default_prefix/etc/config.site"
 
1976
  ac_site_file1=$ac_default_prefix/share/config.site
 
1977
  ac_site_file2=$ac_default_prefix/etc/config.site
1866
1978
fi
1867
 
shift
1868
 
for ac_site_file
 
1979
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1869
1980
do
 
1981
  test "x$ac_site_file" = xNONE && continue
1870
1982
  if test -r "$ac_site_file"; then
1871
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1872
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1983
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1984
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1873
1985
    sed 's/^/| /' "$ac_site_file" >&5
1874
1986
    . "$ac_site_file"
1875
1987
  fi
1879
1991
  # Some versions of bash will fail to source /dev/null (special
1880
1992
  # files actually), so we avoid doing that.
1881
1993
  if test -f "$cache_file"; then
1882
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1883
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1994
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1995
$as_echo "$as_me: loading cache $cache_file" >&6;}
1884
1996
    case $cache_file in
1885
1997
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1886
1998
      *)                      . "./$cache_file";;
1887
1999
    esac
1888
2000
  fi
1889
2001
else
1890
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1891
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2002
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2003
$as_echo "$as_me: creating cache $cache_file" >&6;}
1892
2004
  >$cache_file
1893
2005
fi
1894
2006
 
1902
2014
  eval ac_new_val=\$ac_env_${ac_var}_value
1903
2015
  case $ac_old_set,$ac_new_set in
1904
2016
    set,)
1905
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1906
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2017
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2018
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1907
2019
      ac_cache_corrupted=: ;;
1908
2020
    ,set)
1909
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1910
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2021
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2022
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1911
2023
      ac_cache_corrupted=: ;;
1912
2024
    ,);;
1913
2025
    *)
1914
2026
      if test "x$ac_old_val" != "x$ac_new_val"; then
1915
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1916
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1917
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1918
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1919
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1920
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1921
 
        ac_cache_corrupted=:
 
2027
        # differences in whitespace do not lead to failure.
 
2028
        ac_old_val_w=`echo x $ac_old_val`
 
2029
        ac_new_val_w=`echo x $ac_new_val`
 
2030
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2031
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2032
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2033
          ac_cache_corrupted=:
 
2034
        else
 
2035
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2036
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2037
          eval $ac_var=\$ac_old_val
 
2038
        fi
 
2039
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2040
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2041
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2042
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1922
2043
      fi;;
1923
2044
  esac
1924
2045
  # Pass precious variables to config.status.
1925
2046
  if test "$ac_new_set" = set; then
1926
2047
    case $ac_new_val in
1927
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2048
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1928
2049
    *) ac_arg=$ac_var=$ac_new_val ;;
1929
2050
    esac
1930
2051
    case " $ac_configure_args " in
1934
2055
  fi
1935
2056
done
1936
2057
if $ac_cache_corrupted; then
1937
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1938
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1939
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1940
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2058
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2059
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2060
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2061
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2062
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2063
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1941
2064
   { (exit 1); exit 1; }; }
1942
2065
fi
1943
2066
 
1973
2096
 
1974
2097
 
1975
2098
 
1976
 
am__api_version='1.10'
 
2099
am__api_version='1.11'
1977
2100
 
1978
2101
ac_aux_dir=
1979
2102
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1992
2115
  fi
1993
2116
done
1994
2117
if test -z "$ac_aux_dir"; then
1995
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1996
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2118
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2119
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1997
2120
   { (exit 1); exit 1; }; }
1998
2121
fi
1999
2122
 
2019
2142
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2020
2143
# OS/2's system install, which has a completely different semantic
2021
2144
# ./install, which can be erroneously created by make from ./install.sh.
2022
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2023
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2145
# Reject install programs that cannot install multiple files.
 
2146
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2147
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2024
2148
if test -z "$INSTALL"; then
2025
2149
if test "${ac_cv_path_install+set}" = set; then
2026
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2150
  $as_echo_n "(cached) " >&6
2027
2151
else
2028
2152
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029
2153
for as_dir in $PATH
2052
2176
            # program-specific install script used by HP pwplus--don't use.
2053
2177
            :
2054
2178
          else
2055
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2056
 
            break 3
 
2179
            rm -rf conftest.one conftest.two conftest.dir
 
2180
            echo one > conftest.one
 
2181
            echo two > conftest.two
 
2182
            mkdir conftest.dir
 
2183
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2184
              test -s conftest.one && test -s conftest.two &&
 
2185
              test -s conftest.dir/conftest.one &&
 
2186
              test -s conftest.dir/conftest.two
 
2187
            then
 
2188
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2189
              break 3
 
2190
            fi
2057
2191
          fi
2058
2192
        fi
2059
2193
      done
2060
2194
    done
2061
2195
    ;;
2062
2196
esac
 
2197
 
2063
2198
done
2064
2199
IFS=$as_save_IFS
2065
2200
 
 
2201
rm -rf conftest.one conftest.two conftest.dir
2066
2202
 
2067
2203
fi
2068
2204
  if test "${ac_cv_path_install+set}" = set; then
2075
2211
    INSTALL=$ac_install_sh
2076
2212
  fi
2077
2213
fi
2078
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2079
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2214
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2215
$as_echo "$INSTALL" >&6; }
2080
2216
 
2081
2217
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2082
2218
# It thinks the first close brace ends the variable substitution.
2086
2222
 
2087
2223
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2088
2224
 
2089
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2090
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2225
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2226
$as_echo_n "checking whether build environment is sane... " >&6; }
2091
2227
# Just in case
2092
2228
sleep 1
2093
2229
echo timestamp > conftest.file
 
2230
# Reject unsafe characters in $srcdir or the absolute working directory
 
2231
# name.  Accept space and tab only in the latter.
 
2232
am_lf='
 
2233
'
 
2234
case `pwd` in
 
2235
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2236
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
 
2237
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
 
2238
   { (exit 1); exit 1; }; };;
 
2239
esac
 
2240
case $srcdir in
 
2241
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2242
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
 
2243
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
 
2244
   { (exit 1); exit 1; }; };;
 
2245
esac
 
2246
 
2094
2247
# Do `set' in a subshell so we don't clobber the current shell's
2095
2248
# arguments.  Must try -L first in case configure is actually a
2096
2249
# symlink; some systems play weird games with the mod time of symlinks
2097
2250
# (eg FreeBSD returns the mod time of the symlink's containing
2098
2251
# directory).
2099
2252
if (
2100
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2253
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2101
2254
   if test "$*" = "X"; then
2102
2255
      # -L didn't work.
2103
 
      set X `ls -t $srcdir/configure conftest.file`
 
2256
      set X `ls -t "$srcdir/configure" conftest.file`
2104
2257
   fi
2105
2258
   rm -f conftest.file
2106
2259
   if test "$*" != "X $srcdir/configure conftest.file" \
2110
2263
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2111
2264
      # broken ls alias from the environment.  This has actually
2112
2265
      # happened.  Such a system could not be considered "sane".
2113
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2266
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2114
2267
alias in your environment" >&5
2115
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2268
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2116
2269
alias in your environment" >&2;}
2117
2270
   { (exit 1); exit 1; }; }
2118
2271
   fi
2123
2276
   # Ok.
2124
2277
   :
2125
2278
else
2126
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2279
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2127
2280
Check your system clock" >&5
2128
 
echo "$as_me: error: newly created file is older than distributed files!
 
2281
$as_echo "$as_me: error: newly created file is older than distributed files!
2129
2282
Check your system clock" >&2;}
2130
2283
   { (exit 1); exit 1; }; }
2131
2284
fi
2132
 
{ echo "$as_me:$LINENO: result: yes" >&5
2133
 
echo "${ECHO_T}yes" >&6; }
 
2285
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2286
$as_echo "yes" >&6; }
2134
2287
test "$program_prefix" != NONE &&
2135
2288
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2136
2289
# Use a double $ so make ignores it.
2137
2290
test "$program_suffix" != NONE &&
2138
2291
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2139
 
# Double any \ or $.  echo might interpret backslashes.
 
2292
# Double any \ or $.
2140
2293
# By default was `s,x,x', remove it if useless.
2141
 
cat <<\_ACEOF >conftest.sed
2142
 
s/[\\$]/&&/g;s/;s,x,x,$//
2143
 
_ACEOF
2144
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2145
 
rm -f conftest.sed
 
2294
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2295
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2146
2296
 
2147
2297
# expand $ac_aux_dir to an absolute path
2148
2298
am_aux_dir=`cd $ac_aux_dir && pwd`
2149
2299
 
2150
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2300
if test x"${MISSING+set}" != xset; then
 
2301
  case $am_aux_dir in
 
2302
  *\ * | *\     *)
 
2303
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2304
  *)
 
2305
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2306
  esac
 
2307
fi
2151
2308
# Use eval to expand $SHELL
2152
2309
if eval "$MISSING --run true"; then
2153
2310
  am_missing_run="$MISSING --run "
2154
2311
else
2155
2312
  am_missing_run=
2156
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2157
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2158
 
fi
2159
 
 
2160
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2161
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2313
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2314
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2315
fi
 
2316
 
 
2317
if test x"${install_sh}" != xset; then
 
2318
  case $am_aux_dir in
 
2319
  *\ * | *\     *)
 
2320
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2321
  *)
 
2322
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2323
  esac
 
2324
fi
 
2325
 
 
2326
# Installed binaries are usually stripped using `strip' when the user
 
2327
# run `make install-strip'.  However `strip' might not be the right
 
2328
# tool to use in cross-compilation environments, therefore Automake
 
2329
# will honor the `STRIP' environment variable to overrule this program.
 
2330
if test "$cross_compiling" != no; then
 
2331
  if test -n "$ac_tool_prefix"; then
 
2332
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2333
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2334
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2335
$as_echo_n "checking for $ac_word... " >&6; }
 
2336
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2337
  $as_echo_n "(cached) " >&6
 
2338
else
 
2339
  if test -n "$STRIP"; then
 
2340
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2341
else
 
2342
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2343
for as_dir in $PATH
 
2344
do
 
2345
  IFS=$as_save_IFS
 
2346
  test -z "$as_dir" && as_dir=.
 
2347
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2348
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2349
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2350
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2351
    break 2
 
2352
  fi
 
2353
done
 
2354
done
 
2355
IFS=$as_save_IFS
 
2356
 
 
2357
fi
 
2358
fi
 
2359
STRIP=$ac_cv_prog_STRIP
 
2360
if test -n "$STRIP"; then
 
2361
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2362
$as_echo "$STRIP" >&6; }
 
2363
else
 
2364
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2365
$as_echo "no" >&6; }
 
2366
fi
 
2367
 
 
2368
 
 
2369
fi
 
2370
if test -z "$ac_cv_prog_STRIP"; then
 
2371
  ac_ct_STRIP=$STRIP
 
2372
  # Extract the first word of "strip", so it can be a program name with args.
 
2373
set dummy strip; ac_word=$2
 
2374
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2375
$as_echo_n "checking for $ac_word... " >&6; }
 
2376
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2377
  $as_echo_n "(cached) " >&6
 
2378
else
 
2379
  if test -n "$ac_ct_STRIP"; then
 
2380
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2381
else
 
2382
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2383
for as_dir in $PATH
 
2384
do
 
2385
  IFS=$as_save_IFS
 
2386
  test -z "$as_dir" && as_dir=.
 
2387
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2388
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2389
    ac_cv_prog_ac_ct_STRIP="strip"
 
2390
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2391
    break 2
 
2392
  fi
 
2393
done
 
2394
done
 
2395
IFS=$as_save_IFS
 
2396
 
 
2397
fi
 
2398
fi
 
2399
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2400
if test -n "$ac_ct_STRIP"; then
 
2401
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2402
$as_echo "$ac_ct_STRIP" >&6; }
 
2403
else
 
2404
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2405
$as_echo "no" >&6; }
 
2406
fi
 
2407
 
 
2408
  if test "x$ac_ct_STRIP" = x; then
 
2409
    STRIP=":"
 
2410
  else
 
2411
    case $cross_compiling:$ac_tool_warned in
 
2412
yes:)
 
2413
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2414
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2415
ac_tool_warned=yes ;;
 
2416
esac
 
2417
    STRIP=$ac_ct_STRIP
 
2418
  fi
 
2419
else
 
2420
  STRIP="$ac_cv_prog_STRIP"
 
2421
fi
 
2422
 
 
2423
fi
 
2424
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2425
 
 
2426
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2427
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2162
2428
if test -z "$MKDIR_P"; then
2163
2429
  if test "${ac_cv_path_mkdir+set}" = set; then
2164
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2430
  $as_echo_n "(cached) " >&6
2165
2431
else
2166
2432
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167
2433
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2196
2462
    MKDIR_P="$ac_install_sh -d"
2197
2463
  fi
2198
2464
fi
2199
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2200
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2465
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2466
$as_echo "$MKDIR_P" >&6; }
2201
2467
 
2202
2468
mkdir_p="$MKDIR_P"
2203
2469
case $mkdir_p in
2209
2475
do
2210
2476
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2211
2477
set dummy $ac_prog; ac_word=$2
2212
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2213
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2478
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2479
$as_echo_n "checking for $ac_word... " >&6; }
2214
2480
if test "${ac_cv_prog_AWK+set}" = set; then
2215
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2481
  $as_echo_n "(cached) " >&6
2216
2482
else
2217
2483
  if test -n "$AWK"; then
2218
2484
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2225
2491
  for ac_exec_ext in '' $ac_executable_extensions; do
2226
2492
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2227
2493
    ac_cv_prog_AWK="$ac_prog"
2228
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2494
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229
2495
    break 2
2230
2496
  fi
2231
2497
done
2236
2502
fi
2237
2503
AWK=$ac_cv_prog_AWK
2238
2504
if test -n "$AWK"; then
2239
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2240
 
echo "${ECHO_T}$AWK" >&6; }
 
2505
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2506
$as_echo "$AWK" >&6; }
2241
2507
else
2242
 
  { echo "$as_me:$LINENO: result: no" >&5
2243
 
echo "${ECHO_T}no" >&6; }
 
2508
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2509
$as_echo "no" >&6; }
2244
2510
fi
2245
2511
 
2246
2512
 
2247
2513
  test -n "$AWK" && break
2248
2514
done
2249
2515
 
2250
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2251
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2252
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2516
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2517
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2518
set x ${MAKE-make}
 
2519
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2253
2520
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2254
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2521
  $as_echo_n "(cached) " >&6
2255
2522
else
2256
2523
  cat >conftest.make <<\_ACEOF
2257
2524
SHELL = /bin/sh
2268
2535
rm -f conftest.make
2269
2536
fi
2270
2537
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2271
 
  { echo "$as_me:$LINENO: result: yes" >&5
2272
 
echo "${ECHO_T}yes" >&6; }
 
2538
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2539
$as_echo "yes" >&6; }
2273
2540
  SET_MAKE=
2274
2541
else
2275
 
  { echo "$as_me:$LINENO: result: no" >&5
2276
 
echo "${ECHO_T}no" >&6; }
 
2542
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2543
$as_echo "no" >&6; }
2277
2544
  SET_MAKE="MAKE=${MAKE-make}"
2278
2545
fi
2279
2546
 
2292
2559
  am__isrc=' -I$(srcdir)'
2293
2560
  # test to see if srcdir already configured
2294
2561
  if test -f $srcdir/config.status; then
2295
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2296
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2562
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2563
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2297
2564
   { (exit 1); exit 1; }; }
2298
2565
  fi
2299
2566
fi
2310
2577
 
2311
2578
# Define the identity of the package.
2312
2579
 PACKAGE='libXpm'
2313
 
 VERSION='3.5.7'
 
2580
 VERSION='3.5.8'
2314
2581
 
2315
2582
 
2316
2583
cat >>confdefs.h <<_ACEOF
2338
2605
 
2339
2606
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2340
2607
 
2341
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2342
 
 
2343
 
# Installed binaries are usually stripped using `strip' when the user
2344
 
# run `make install-strip'.  However `strip' might not be the right
2345
 
# tool to use in cross-compilation environments, therefore Automake
2346
 
# will honor the `STRIP' environment variable to overrule this program.
2347
 
if test "$cross_compiling" != no; then
2348
 
  if test -n "$ac_tool_prefix"; then
2349
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2350
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2351
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2352
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2353
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2354
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2355
 
else
2356
 
  if test -n "$STRIP"; then
2357
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2358
 
else
2359
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360
 
for as_dir in $PATH
2361
 
do
2362
 
  IFS=$as_save_IFS
2363
 
  test -z "$as_dir" && as_dir=.
2364
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2365
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2367
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368
 
    break 2
2369
 
  fi
2370
 
done
2371
 
done
2372
 
IFS=$as_save_IFS
2373
 
 
2374
 
fi
2375
 
fi
2376
 
STRIP=$ac_cv_prog_STRIP
2377
 
if test -n "$STRIP"; then
2378
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2379
 
echo "${ECHO_T}$STRIP" >&6; }
2380
 
else
2381
 
  { echo "$as_me:$LINENO: result: no" >&5
2382
 
echo "${ECHO_T}no" >&6; }
2383
 
fi
2384
 
 
2385
 
 
2386
 
fi
2387
 
if test -z "$ac_cv_prog_STRIP"; then
2388
 
  ac_ct_STRIP=$STRIP
2389
 
  # Extract the first word of "strip", so it can be a program name with args.
2390
 
set dummy strip; ac_word=$2
2391
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2392
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2394
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2395
 
else
2396
 
  if test -n "$ac_ct_STRIP"; then
2397
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2398
 
else
2399
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400
 
for as_dir in $PATH
2401
 
do
2402
 
  IFS=$as_save_IFS
2403
 
  test -z "$as_dir" && as_dir=.
2404
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2405
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406
 
    ac_cv_prog_ac_ct_STRIP="strip"
2407
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408
 
    break 2
2409
 
  fi
2410
 
done
2411
 
done
2412
 
IFS=$as_save_IFS
2413
 
 
2414
 
fi
2415
 
fi
2416
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2417
 
if test -n "$ac_ct_STRIP"; then
2418
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2419
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2420
 
else
2421
 
  { echo "$as_me:$LINENO: result: no" >&5
2422
 
echo "${ECHO_T}no" >&6; }
2423
 
fi
2424
 
 
2425
 
  if test "x$ac_ct_STRIP" = x; then
2426
 
    STRIP=":"
2427
 
  else
2428
 
    case $cross_compiling:$ac_tool_warned in
2429
 
yes:)
2430
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2431
 
whose name does not start with the host triplet.  If you think this
2432
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2433
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2434
 
whose name does not start with the host triplet.  If you think this
2435
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2436
 
ac_tool_warned=yes ;;
2437
 
esac
2438
 
    STRIP=$ac_ct_STRIP
2439
 
  fi
2440
 
else
2441
 
  STRIP="$ac_cv_prog_STRIP"
2442
 
fi
2443
 
 
2444
 
fi
2445
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2446
 
 
2447
2608
# We need awk for the "check" target.  The system "awk" is bad on
2448
2609
# some platforms.
2449
2610
# Always define AMTAR for backward compatibility.
2457
2618
 
2458
2619
 
2459
2620
 
2460
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2461
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2621
 
 
2622
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2623
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2462
2624
    # Check whether --enable-maintainer-mode was given.
2463
2625
if test "${enable_maintainer_mode+set}" = set; then
2464
2626
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2466
2628
  USE_MAINTAINER_MODE=no
2467
2629
fi
2468
2630
 
2469
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2470
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2631
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2632
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2471
2633
   if test $USE_MAINTAINER_MODE = yes; then
2472
2634
  MAINTAINER_MODE_TRUE=
2473
2635
  MAINTAINER_MODE_FALSE='#'
2480
2642
 
2481
2643
 
2482
2644
 
 
2645
# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG
 
2646
 
 
2647
 
 
2648
 
 
2649
 
 
2650
 
 
2651
 
 
2652
 
 
2653
 
 
2654
 
 
2655
 
 
2656
 
 
2657
 
2483
2658
ac_config_headers="$ac_config_headers config.h"
2484
2659
 
2485
2660
 
2558
2733
 
2559
2734
# Make sure we can run config.sub.
2560
2735
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2561
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2562
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
2736
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2737
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2563
2738
   { (exit 1); exit 1; }; }
2564
2739
 
2565
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2566
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
2740
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2741
$as_echo_n "checking build system type... " >&6; }
2567
2742
if test "${ac_cv_build+set}" = set; then
2568
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2743
  $as_echo_n "(cached) " >&6
2569
2744
else
2570
2745
  ac_build_alias=$build_alias
2571
2746
test "x$ac_build_alias" = x &&
2572
2747
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2573
2748
test "x$ac_build_alias" = x &&
2574
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2575
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2749
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2750
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2576
2751
   { (exit 1); exit 1; }; }
2577
2752
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2578
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2579
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
2753
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2754
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2580
2755
   { (exit 1); exit 1; }; }
2581
2756
 
2582
2757
fi
2583
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2584
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2758
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2759
$as_echo "$ac_cv_build" >&6; }
2585
2760
case $ac_cv_build in
2586
2761
*-*-*) ;;
2587
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2588
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2762
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2763
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2589
2764
   { (exit 1); exit 1; }; };;
2590
2765
esac
2591
2766
build=$ac_cv_build
2602
2777
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2603
2778
 
2604
2779
 
2605
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2606
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
2780
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2781
$as_echo_n "checking host system type... " >&6; }
2607
2782
if test "${ac_cv_host+set}" = set; then
2608
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2783
  $as_echo_n "(cached) " >&6
2609
2784
else
2610
2785
  if test "x$host_alias" = x; then
2611
2786
  ac_cv_host=$ac_cv_build
2612
2787
else
2613
2788
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2614
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2615
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
2789
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2790
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2616
2791
   { (exit 1); exit 1; }; }
2617
2792
fi
2618
2793
 
2619
2794
fi
2620
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2621
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2795
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2796
$as_echo "$ac_cv_host" >&6; }
2622
2797
case $ac_cv_host in
2623
2798
*-*-*) ;;
2624
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2625
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2799
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2800
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2626
2801
   { (exit 1); exit 1; }; };;
2627
2802
esac
2628
2803
host=$ac_cv_host
2647
2822
am_make=${MAKE-make}
2648
2823
cat > confinc << 'END'
2649
2824
am__doit:
2650
 
        @echo done
 
2825
        @echo this is the am__doit target
2651
2826
.PHONY: am__doit
2652
2827
END
2653
2828
# If we don't find an include directive, just comment out the code.
2654
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2655
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
2829
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2830
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2656
2831
am__include="#"
2657
2832
am__quote=
2658
2833
_am_result=none
2659
2834
# First try GNU make style include.
2660
2835
echo "include confinc" > confmf
2661
 
# We grep out `Entering directory' and `Leaving directory'
2662
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2663
 
# In particular we don't look at `^make:' because GNU make might
2664
 
# be invoked under some other name (usually "gmake"), in which
2665
 
# case it prints its new name instead of `make'.
2666
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2667
 
   am__include=include
2668
 
   am__quote=
2669
 
   _am_result=GNU
2670
 
fi
 
2836
# Ignore all kinds of additional output from `make'.
 
2837
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2838
*the\ am__doit\ target*)
 
2839
  am__include=include
 
2840
  am__quote=
 
2841
  _am_result=GNU
 
2842
  ;;
 
2843
esac
2671
2844
# Now try BSD make style include.
2672
2845
if test "$am__include" = "#"; then
2673
2846
   echo '.include "confinc"' > confmf
2674
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2675
 
      am__include=.include
2676
 
      am__quote="\""
2677
 
      _am_result=BSD
2678
 
   fi
 
2847
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2848
   *the\ am__doit\ target*)
 
2849
     am__include=.include
 
2850
     am__quote="\""
 
2851
     _am_result=BSD
 
2852
     ;;
 
2853
   esac
2679
2854
fi
2680
2855
 
2681
2856
 
2682
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2683
 
echo "${ECHO_T}$_am_result" >&6; }
 
2857
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2858
$as_echo "$_am_result" >&6; }
2684
2859
rm -f confinc confmf
2685
2860
 
2686
2861
# Check whether --enable-dependency-tracking was given.
2709
2884
if test -n "$ac_tool_prefix"; then
2710
2885
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2711
2886
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2712
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2713
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2887
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2888
$as_echo_n "checking for $ac_word... " >&6; }
2714
2889
if test "${ac_cv_prog_CC+set}" = set; then
2715
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2890
  $as_echo_n "(cached) " >&6
2716
2891
else
2717
2892
  if test -n "$CC"; then
2718
2893
  ac_cv_prog_CC="$CC" # Let the user override the test.
2725
2900
  for ac_exec_ext in '' $ac_executable_extensions; do
2726
2901
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727
2902
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2728
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2903
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2729
2904
    break 2
2730
2905
  fi
2731
2906
done
2736
2911
fi
2737
2912
CC=$ac_cv_prog_CC
2738
2913
if test -n "$CC"; then
2739
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2740
 
echo "${ECHO_T}$CC" >&6; }
 
2914
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2915
$as_echo "$CC" >&6; }
2741
2916
else
2742
 
  { echo "$as_me:$LINENO: result: no" >&5
2743
 
echo "${ECHO_T}no" >&6; }
 
2917
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2918
$as_echo "no" >&6; }
2744
2919
fi
2745
2920
 
2746
2921
 
2749
2924
  ac_ct_CC=$CC
2750
2925
  # Extract the first word of "gcc", so it can be a program name with args.
2751
2926
set dummy gcc; ac_word=$2
2752
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2753
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2927
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2928
$as_echo_n "checking for $ac_word... " >&6; }
2754
2929
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2755
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2930
  $as_echo_n "(cached) " >&6
2756
2931
else
2757
2932
  if test -n "$ac_ct_CC"; then
2758
2933
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2765
2940
  for ac_exec_ext in '' $ac_executable_extensions; do
2766
2941
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2767
2942
    ac_cv_prog_ac_ct_CC="gcc"
2768
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2943
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2769
2944
    break 2
2770
2945
  fi
2771
2946
done
2776
2951
fi
2777
2952
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2778
2953
if test -n "$ac_ct_CC"; then
2779
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2780
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2954
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2955
$as_echo "$ac_ct_CC" >&6; }
2781
2956
else
2782
 
  { echo "$as_me:$LINENO: result: no" >&5
2783
 
echo "${ECHO_T}no" >&6; }
 
2957
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2958
$as_echo "no" >&6; }
2784
2959
fi
2785
2960
 
2786
2961
  if test "x$ac_ct_CC" = x; then
2788
2963
  else
2789
2964
    case $cross_compiling:$ac_tool_warned in
2790
2965
yes:)
2791
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2792
 
whose name does not start with the host triplet.  If you think this
2793
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2794
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2795
 
whose name does not start with the host triplet.  If you think this
2796
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2966
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2967
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2797
2968
ac_tool_warned=yes ;;
2798
2969
esac
2799
2970
    CC=$ac_ct_CC
2806
2977
          if test -n "$ac_tool_prefix"; then
2807
2978
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2808
2979
set dummy ${ac_tool_prefix}cc; ac_word=$2
2809
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2810
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2980
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2981
$as_echo_n "checking for $ac_word... " >&6; }
2811
2982
if test "${ac_cv_prog_CC+set}" = set; then
2812
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2983
  $as_echo_n "(cached) " >&6
2813
2984
else
2814
2985
  if test -n "$CC"; then
2815
2986
  ac_cv_prog_CC="$CC" # Let the user override the test.
2822
2993
  for ac_exec_ext in '' $ac_executable_extensions; do
2823
2994
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2824
2995
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2825
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2996
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826
2997
    break 2
2827
2998
  fi
2828
2999
done
2833
3004
fi
2834
3005
CC=$ac_cv_prog_CC
2835
3006
if test -n "$CC"; then
2836
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2837
 
echo "${ECHO_T}$CC" >&6; }
 
3007
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3008
$as_echo "$CC" >&6; }
2838
3009
else
2839
 
  { echo "$as_me:$LINENO: result: no" >&5
2840
 
echo "${ECHO_T}no" >&6; }
 
3010
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3011
$as_echo "no" >&6; }
2841
3012
fi
2842
3013
 
2843
3014
 
2846
3017
if test -z "$CC"; then
2847
3018
  # Extract the first word of "cc", so it can be a program name with args.
2848
3019
set dummy cc; ac_word=$2
2849
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2850
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3020
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3021
$as_echo_n "checking for $ac_word... " >&6; }
2851
3022
if test "${ac_cv_prog_CC+set}" = set; then
2852
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3023
  $as_echo_n "(cached) " >&6
2853
3024
else
2854
3025
  if test -n "$CC"; then
2855
3026
  ac_cv_prog_CC="$CC" # Let the user override the test.
2867
3038
       continue
2868
3039
     fi
2869
3040
    ac_cv_prog_CC="cc"
2870
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3041
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871
3042
    break 2
2872
3043
  fi
2873
3044
done
2890
3061
fi
2891
3062
CC=$ac_cv_prog_CC
2892
3063
if test -n "$CC"; then
2893
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2894
 
echo "${ECHO_T}$CC" >&6; }
 
3064
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3065
$as_echo "$CC" >&6; }
2895
3066
else
2896
 
  { echo "$as_me:$LINENO: result: no" >&5
2897
 
echo "${ECHO_T}no" >&6; }
 
3067
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3068
$as_echo "no" >&6; }
2898
3069
fi
2899
3070
 
2900
3071
 
2905
3076
  do
2906
3077
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2907
3078
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2908
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2909
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3079
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3080
$as_echo_n "checking for $ac_word... " >&6; }
2910
3081
if test "${ac_cv_prog_CC+set}" = set; then
2911
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3082
  $as_echo_n "(cached) " >&6
2912
3083
else
2913
3084
  if test -n "$CC"; then
2914
3085
  ac_cv_prog_CC="$CC" # Let the user override the test.
2921
3092
  for ac_exec_ext in '' $ac_executable_extensions; do
2922
3093
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2923
3094
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2924
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3095
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2925
3096
    break 2
2926
3097
  fi
2927
3098
done
2932
3103
fi
2933
3104
CC=$ac_cv_prog_CC
2934
3105
if test -n "$CC"; then
2935
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2936
 
echo "${ECHO_T}$CC" >&6; }
 
3106
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3107
$as_echo "$CC" >&6; }
2937
3108
else
2938
 
  { echo "$as_me:$LINENO: result: no" >&5
2939
 
echo "${ECHO_T}no" >&6; }
 
3109
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3110
$as_echo "no" >&6; }
2940
3111
fi
2941
3112
 
2942
3113
 
2949
3120
do
2950
3121
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2951
3122
set dummy $ac_prog; ac_word=$2
2952
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2953
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3123
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3124
$as_echo_n "checking for $ac_word... " >&6; }
2954
3125
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2955
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3126
  $as_echo_n "(cached) " >&6
2956
3127
else
2957
3128
  if test -n "$ac_ct_CC"; then
2958
3129
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2965
3136
  for ac_exec_ext in '' $ac_executable_extensions; do
2966
3137
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2967
3138
    ac_cv_prog_ac_ct_CC="$ac_prog"
2968
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3139
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2969
3140
    break 2
2970
3141
  fi
2971
3142
done
2976
3147
fi
2977
3148
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2978
3149
if test -n "$ac_ct_CC"; then
2979
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2980
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3150
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3151
$as_echo "$ac_ct_CC" >&6; }
2981
3152
else
2982
 
  { echo "$as_me:$LINENO: result: no" >&5
2983
 
echo "${ECHO_T}no" >&6; }
 
3153
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3154
$as_echo "no" >&6; }
2984
3155
fi
2985
3156
 
2986
3157
 
2992
3163
  else
2993
3164
    case $cross_compiling:$ac_tool_warned in
2994
3165
yes:)
2995
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2996
 
whose name does not start with the host triplet.  If you think this
2997
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2998
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2999
 
whose name does not start with the host triplet.  If you think this
3000
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3166
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3167
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3001
3168
ac_tool_warned=yes ;;
3002
3169
esac
3003
3170
    CC=$ac_ct_CC
3007
3174
fi
3008
3175
 
3009
3176
 
3010
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3177
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3178
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3179
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3011
3180
See \`config.log' for more details." >&5
3012
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3181
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3013
3182
See \`config.log' for more details." >&2;}
3014
 
   { (exit 1); exit 1; }; }
 
3183
   { (exit 1); exit 1; }; }; }
3015
3184
 
3016
3185
# Provide some information about the compiler.
3017
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3018
 
ac_compiler=`set X $ac_compile; echo $2`
 
3186
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3187
set X $ac_compile
 
3188
ac_compiler=$2
3019
3189
{ (ac_try="$ac_compiler --version >&5"
3020
3190
case "(($ac_try" in
3021
3191
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022
3192
  *) ac_try_echo=$ac_try;;
3023
3193
esac
3024
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3194
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3195
$as_echo "$ac_try_echo") >&5
3025
3196
  (eval "$ac_compiler --version >&5") 2>&5
3026
3197
  ac_status=$?
3027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3198
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028
3199
  (exit $ac_status); }
3029
3200
{ (ac_try="$ac_compiler -v >&5"
3030
3201
case "(($ac_try" in
3031
3202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032
3203
  *) ac_try_echo=$ac_try;;
3033
3204
esac
3034
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3206
$as_echo "$ac_try_echo") >&5
3035
3207
  (eval "$ac_compiler -v >&5") 2>&5
3036
3208
  ac_status=$?
3037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3209
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038
3210
  (exit $ac_status); }
3039
3211
{ (ac_try="$ac_compiler -V >&5"
3040
3212
case "(($ac_try" in
3041
3213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042
3214
  *) ac_try_echo=$ac_try;;
3043
3215
esac
3044
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3216
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3217
$as_echo "$ac_try_echo") >&5
3045
3218
  (eval "$ac_compiler -V >&5") 2>&5
3046
3219
  ac_status=$?
3047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3220
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048
3221
  (exit $ac_status); }
3049
3222
 
3050
3223
cat >conftest.$ac_ext <<_ACEOF
3063
3236
}
3064
3237
_ACEOF
3065
3238
ac_clean_files_save=$ac_clean_files
3066
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3239
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3067
3240
# Try to create an executable without -o first, disregard a.out.
3068
3241
# It will help us diagnose broken compilers, and finding out an intuition
3069
3242
# of exeext.
3070
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3071
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3072
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3073
 
#
3074
 
# List of possible output files, starting from the most likely.
3075
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3076
 
# only as a last resort.  b.out is created by i960 compilers.
3077
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3078
 
#
3079
 
# The IRIX 6 linker writes into existing files which may not be
3080
 
# executable, retaining their permissions.  Remove them first so a
3081
 
# subsequent execution test works.
 
3243
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3244
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3245
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3246
 
 
3247
# The possible output files:
 
3248
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3249
 
3082
3250
ac_rmfiles=
3083
3251
for ac_file in $ac_files
3084
3252
do
3085
3253
  case $ac_file in
3086
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3254
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3087
3255
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3088
3256
  esac
3089
3257
done
3094
3262
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095
3263
  *) ac_try_echo=$ac_try;;
3096
3264
esac
3097
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3265
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3266
$as_echo "$ac_try_echo") >&5
3098
3267
  (eval "$ac_link_default") 2>&5
3099
3268
  ac_status=$?
3100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3269
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101
3270
  (exit $ac_status); }; then
3102
3271
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3103
3272
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3108
3277
do
3109
3278
  test -f "$ac_file" || continue
3110
3279
  case $ac_file in
3111
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3280
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3112
3281
        ;;
3113
3282
    [ab].out )
3114
3283
        # We found the default executable, but exeext='' is most
3135
3304
  ac_file=''
3136
3305
fi
3137
3306
 
3138
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3139
 
echo "${ECHO_T}$ac_file" >&6; }
 
3307
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3308
$as_echo "$ac_file" >&6; }
3140
3309
if test -z "$ac_file"; then
3141
 
  echo "$as_me: failed program was:" >&5
 
3310
  $as_echo "$as_me: failed program was:" >&5
3142
3311
sed 's/^/| /' conftest.$ac_ext >&5
3143
3312
 
3144
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3313
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3314
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3315
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3145
3316
See \`config.log' for more details." >&5
3146
 
echo "$as_me: error: C compiler cannot create executables
 
3317
$as_echo "$as_me: error: C compiler cannot create executables
3147
3318
See \`config.log' for more details." >&2;}
3148
 
   { (exit 77); exit 77; }; }
 
3319
   { (exit 77); exit 77; }; }; }
3149
3320
fi
3150
3321
 
3151
3322
ac_exeext=$ac_cv_exeext
3152
3323
 
3153
3324
# Check that the compiler produces executables we can run.  If not, either
3154
3325
# the compiler is broken, or we cross compile.
3155
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3156
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3326
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3327
$as_echo_n "checking whether the C compiler works... " >&6; }
3157
3328
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3158
3329
# If not cross compiling, check that we can run a simple program.
3159
3330
if test "$cross_compiling" != yes; then
3162
3333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163
3334
  *) ac_try_echo=$ac_try;;
3164
3335
esac
3165
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3336
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3337
$as_echo "$ac_try_echo") >&5
3166
3338
  (eval "$ac_try") 2>&5
3167
3339
  ac_status=$?
3168
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3340
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169
3341
  (exit $ac_status); }; }; then
3170
3342
    cross_compiling=no
3171
3343
  else
3172
3344
    if test "$cross_compiling" = maybe; then
3173
3345
        cross_compiling=yes
3174
3346
    else
3175
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3347
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3348
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3349
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3176
3350
If you meant to cross compile, use \`--host'.
3177
3351
See \`config.log' for more details." >&5
3178
 
echo "$as_me: error: cannot run C compiled programs.
 
3352
$as_echo "$as_me: error: cannot run C compiled programs.
3179
3353
If you meant to cross compile, use \`--host'.
3180
3354
See \`config.log' for more details." >&2;}
3181
 
   { (exit 1); exit 1; }; }
 
3355
   { (exit 1); exit 1; }; }; }
3182
3356
    fi
3183
3357
  fi
3184
3358
fi
3185
 
{ echo "$as_me:$LINENO: result: yes" >&5
3186
 
echo "${ECHO_T}yes" >&6; }
 
3359
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3360
$as_echo "yes" >&6; }
3187
3361
 
3188
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3362
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3189
3363
ac_clean_files=$ac_clean_files_save
3190
3364
# Check that the compiler produces executables we can run.  If not, either
3191
3365
# the compiler is broken, or we cross compile.
3192
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3193
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3194
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3195
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3366
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3367
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3368
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3369
$as_echo "$cross_compiling" >&6; }
3196
3370
 
3197
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3198
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3371
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3372
$as_echo_n "checking for suffix of executables... " >&6; }
3199
3373
if { (ac_try="$ac_link"
3200
3374
case "(($ac_try" in
3201
3375
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202
3376
  *) ac_try_echo=$ac_try;;
3203
3377
esac
3204
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3378
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3379
$as_echo "$ac_try_echo") >&5
3205
3380
  (eval "$ac_link") 2>&5
3206
3381
  ac_status=$?
3207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3382
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208
3383
  (exit $ac_status); }; then
3209
3384
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3210
3385
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3213
3388
for ac_file in conftest.exe conftest conftest.*; do
3214
3389
  test -f "$ac_file" || continue
3215
3390
  case $ac_file in
3216
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3391
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3217
3392
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3218
3393
          break;;
3219
3394
    * ) break;;
3220
3395
  esac
3221
3396
done
3222
3397
else
3223
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3398
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3399
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3400
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3224
3401
See \`config.log' for more details." >&5
3225
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3402
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3226
3403
See \`config.log' for more details." >&2;}
3227
 
   { (exit 1); exit 1; }; }
 
3404
   { (exit 1); exit 1; }; }; }
3228
3405
fi
3229
3406
 
3230
3407
rm -f conftest$ac_cv_exeext
3231
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3232
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3408
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3409
$as_echo "$ac_cv_exeext" >&6; }
3233
3410
 
3234
3411
rm -f conftest.$ac_ext
3235
3412
EXEEXT=$ac_cv_exeext
3236
3413
ac_exeext=$EXEEXT
3237
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3238
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3414
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3415
$as_echo_n "checking for suffix of object files... " >&6; }
3239
3416
if test "${ac_cv_objext+set}" = set; then
3240
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3417
  $as_echo_n "(cached) " >&6
3241
3418
else
3242
3419
  cat >conftest.$ac_ext <<_ACEOF
3243
3420
/* confdefs.h.  */
3260
3437
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261
3438
  *) ac_try_echo=$ac_try;;
3262
3439
esac
3263
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3440
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3441
$as_echo "$ac_try_echo") >&5
3264
3442
  (eval "$ac_compile") 2>&5
3265
3443
  ac_status=$?
3266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3444
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267
3445
  (exit $ac_status); }; then
3268
3446
  for ac_file in conftest.o conftest.obj conftest.*; do
3269
3447
  test -f "$ac_file" || continue;
3270
3448
  case $ac_file in
3271
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3449
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3272
3450
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3273
3451
       break;;
3274
3452
  esac
3275
3453
done
3276
3454
else
3277
 
  echo "$as_me: failed program was:" >&5
 
3455
  $as_echo "$as_me: failed program was:" >&5
3278
3456
sed 's/^/| /' conftest.$ac_ext >&5
3279
3457
 
3280
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3458
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3459
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3460
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3281
3461
See \`config.log' for more details." >&5
3282
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3462
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3283
3463
See \`config.log' for more details." >&2;}
3284
 
   { (exit 1); exit 1; }; }
 
3464
   { (exit 1); exit 1; }; }; }
3285
3465
fi
3286
3466
 
3287
3467
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3288
3468
fi
3289
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3290
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3469
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3470
$as_echo "$ac_cv_objext" >&6; }
3291
3471
OBJEXT=$ac_cv_objext
3292
3472
ac_objext=$OBJEXT
3293
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3294
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3473
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3474
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3295
3475
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3296
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3476
  $as_echo_n "(cached) " >&6
3297
3477
else
3298
3478
  cat >conftest.$ac_ext <<_ACEOF
3299
3479
/* confdefs.h.  */
3319
3499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320
3500
  *) ac_try_echo=$ac_try;;
3321
3501
esac
3322
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3502
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3503
$as_echo "$ac_try_echo") >&5
3323
3504
  (eval "$ac_compile") 2>conftest.er1
3324
3505
  ac_status=$?
3325
3506
  grep -v '^ *+' conftest.er1 >conftest.err
3326
3507
  rm -f conftest.er1
3327
3508
  cat conftest.err >&5
3328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3509
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329
3510
  (exit $ac_status); } && {
3330
3511
         test -z "$ac_c_werror_flag" ||
3331
3512
         test ! -s conftest.err
3332
3513
       } && test -s conftest.$ac_objext; then
3333
3514
  ac_compiler_gnu=yes
3334
3515
else
3335
 
  echo "$as_me: failed program was:" >&5
 
3516
  $as_echo "$as_me: failed program was:" >&5
3336
3517
sed 's/^/| /' conftest.$ac_ext >&5
3337
3518
 
3338
3519
        ac_compiler_gnu=no
3342
3523
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3343
3524
 
3344
3525
fi
3345
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3346
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3347
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3526
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3527
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3528
if test $ac_compiler_gnu = yes; then
 
3529
  GCC=yes
 
3530
else
 
3531
  GCC=
 
3532
fi
3348
3533
ac_test_CFLAGS=${CFLAGS+set}
3349
3534
ac_save_CFLAGS=$CFLAGS
3350
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3351
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3535
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3536
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3352
3537
if test "${ac_cv_prog_cc_g+set}" = set; then
3353
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3538
  $as_echo_n "(cached) " >&6
3354
3539
else
3355
3540
  ac_save_c_werror_flag=$ac_c_werror_flag
3356
3541
   ac_c_werror_flag=yes
3377
3562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378
3563
  *) ac_try_echo=$ac_try;;
3379
3564
esac
3380
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3566
$as_echo "$ac_try_echo") >&5
3381
3567
  (eval "$ac_compile") 2>conftest.er1
3382
3568
  ac_status=$?
3383
3569
  grep -v '^ *+' conftest.er1 >conftest.err
3384
3570
  rm -f conftest.er1
3385
3571
  cat conftest.err >&5
3386
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387
3573
  (exit $ac_status); } && {
3388
3574
         test -z "$ac_c_werror_flag" ||
3389
3575
         test ! -s conftest.err
3390
3576
       } && test -s conftest.$ac_objext; then
3391
3577
  ac_cv_prog_cc_g=yes
3392
3578
else
3393
 
  echo "$as_me: failed program was:" >&5
 
3579
  $as_echo "$as_me: failed program was:" >&5
3394
3580
sed 's/^/| /' conftest.$ac_ext >&5
3395
3581
 
3396
3582
        CFLAGS=""
3415
3601
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416
3602
  *) ac_try_echo=$ac_try;;
3417
3603
esac
3418
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3604
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3605
$as_echo "$ac_try_echo") >&5
3419
3606
  (eval "$ac_compile") 2>conftest.er1
3420
3607
  ac_status=$?
3421
3608
  grep -v '^ *+' conftest.er1 >conftest.err
3422
3609
  rm -f conftest.er1
3423
3610
  cat conftest.err >&5
3424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3611
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425
3612
  (exit $ac_status); } && {
3426
3613
         test -z "$ac_c_werror_flag" ||
3427
3614
         test ! -s conftest.err
3428
3615
       } && test -s conftest.$ac_objext; then
3429
3616
  :
3430
3617
else
3431
 
  echo "$as_me: failed program was:" >&5
 
3618
  $as_echo "$as_me: failed program was:" >&5
3432
3619
sed 's/^/| /' conftest.$ac_ext >&5
3433
3620
 
3434
3621
        ac_c_werror_flag=$ac_save_c_werror_flag
3454
3641
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455
3642
  *) ac_try_echo=$ac_try;;
3456
3643
esac
3457
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3644
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3645
$as_echo "$ac_try_echo") >&5
3458
3646
  (eval "$ac_compile") 2>conftest.er1
3459
3647
  ac_status=$?
3460
3648
  grep -v '^ *+' conftest.er1 >conftest.err
3461
3649
  rm -f conftest.er1
3462
3650
  cat conftest.err >&5
3463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3651
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464
3652
  (exit $ac_status); } && {
3465
3653
         test -z "$ac_c_werror_flag" ||
3466
3654
         test ! -s conftest.err
3467
3655
       } && test -s conftest.$ac_objext; then
3468
3656
  ac_cv_prog_cc_g=yes
3469
3657
else
3470
 
  echo "$as_me: failed program was:" >&5
 
3658
  $as_echo "$as_me: failed program was:" >&5
3471
3659
sed 's/^/| /' conftest.$ac_ext >&5
3472
3660
 
3473
3661
 
3482
3670
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483
3671
   ac_c_werror_flag=$ac_save_c_werror_flag
3484
3672
fi
3485
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3486
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3673
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3674
$as_echo "$ac_cv_prog_cc_g" >&6; }
3487
3675
if test "$ac_test_CFLAGS" = set; then
3488
3676
  CFLAGS=$ac_save_CFLAGS
3489
3677
elif test $ac_cv_prog_cc_g = yes; then
3499
3687
    CFLAGS=
3500
3688
  fi
3501
3689
fi
3502
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3503
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3690
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3691
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3504
3692
if test "${ac_cv_prog_cc_c89+set}" = set; then
3505
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3693
  $as_echo_n "(cached) " >&6
3506
3694
else
3507
3695
  ac_cv_prog_cc_c89=no
3508
3696
ac_save_CC=$CC
3573
3761
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574
3762
  *) ac_try_echo=$ac_try;;
3575
3763
esac
3576
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3764
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3765
$as_echo "$ac_try_echo") >&5
3577
3766
  (eval "$ac_compile") 2>conftest.er1
3578
3767
  ac_status=$?
3579
3768
  grep -v '^ *+' conftest.er1 >conftest.err
3580
3769
  rm -f conftest.er1
3581
3770
  cat conftest.err >&5
3582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3771
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583
3772
  (exit $ac_status); } && {
3584
3773
         test -z "$ac_c_werror_flag" ||
3585
3774
         test ! -s conftest.err
3586
3775
       } && test -s conftest.$ac_objext; then
3587
3776
  ac_cv_prog_cc_c89=$ac_arg
3588
3777
else
3589
 
  echo "$as_me: failed program was:" >&5
 
3778
  $as_echo "$as_me: failed program was:" >&5
3590
3779
sed 's/^/| /' conftest.$ac_ext >&5
3591
3780
 
3592
3781
 
3602
3791
# AC_CACHE_VAL
3603
3792
case "x$ac_cv_prog_cc_c89" in
3604
3793
  x)
3605
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3606
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3794
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3795
$as_echo "none needed" >&6; } ;;
3607
3796
  xno)
3608
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3609
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3797
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3798
$as_echo "unsupported" >&6; } ;;
3610
3799
  *)
3611
3800
    CC="$CC $ac_cv_prog_cc_c89"
3612
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3613
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3801
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3802
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3614
3803
esac
3615
3804
 
3616
3805
 
3622
3811
 
3623
3812
depcc="$CC"   am_compiler_list=
3624
3813
 
3625
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3626
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3814
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3815
$as_echo_n "checking dependency style of $depcc... " >&6; }
3627
3816
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3628
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3817
  $as_echo_n "(cached) " >&6
3629
3818
else
3630
3819
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3631
3820
  # We make a subdir and do the tests there.  Otherwise we can end up
3650
3839
  if test "$am_compiler_list" = ""; then
3651
3840
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3652
3841
  fi
 
3842
  am__universal=false
 
3843
  case " $depcc " in #(
 
3844
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3845
     esac
 
3846
 
3653
3847
  for depmode in $am_compiler_list; do
3654
3848
    # Setup a source with many dependencies, because some compilers
3655
3849
    # like to wrap large dependency lists on column 80 (with \), and
3667
3861
    done
3668
3862
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3669
3863
 
 
3864
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3865
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3866
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3867
    # versions had trouble with output in subdirs
 
3868
    am__obj=sub/conftest.${OBJEXT-o}
 
3869
    am__minus_obj="-o $am__obj"
3670
3870
    case $depmode in
 
3871
    gcc)
 
3872
      # This depmode causes a compiler race in universal mode.
 
3873
      test "$am__universal" = false || continue
 
3874
      ;;
3671
3875
    nosideeffect)
3672
3876
      # after this tag, mechanisms are not by side-effect, so they'll
3673
3877
      # only be used when explicitly requested
3677
3881
        break
3678
3882
      fi
3679
3883
      ;;
 
3884
    msvisualcpp | msvcmsys)
 
3885
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3886
      # not run yet.  These depmodes are late enough in the game, and
 
3887
      # so weak that their functioning should not be impacted.
 
3888
      am__obj=conftest.${OBJEXT-o}
 
3889
      am__minus_obj=
 
3890
      ;;
3680
3891
    none) break ;;
3681
3892
    esac
3682
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3683
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3684
 
    # handle `-M -o', and we need to detect this.
3685
3893
    if depmode=$depmode \
3686
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3894
       source=sub/conftest.c object=$am__obj \
3687
3895
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3688
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3896
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3689
3897
         >/dev/null 2>conftest.err &&
3690
3898
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3691
3899
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3692
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3900
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3693
3901
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3694
3902
      # icc doesn't choke on unknown options, it will just issue warnings
3695
3903
      # or remarks (even with -Werror).  So we grep stderr for any message
3713
3921
fi
3714
3922
 
3715
3923
fi
3716
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3717
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3924
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3925
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3718
3926
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3719
3927
 
3720
3928
 if
3728
3936
fi
3729
3937
 
3730
3938
 
3731
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3732
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
 
3939
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3940
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3733
3941
if test "${lt_cv_path_SED+set}" = set; then
3734
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3942
  $as_echo_n "(cached) " >&6
3735
3943
else
3736
3944
  # Loop through the user's path and test for sed and gsed.
3737
3945
# Then use that list of sed's as ones to test for truncation.
3742
3950
  test -z "$as_dir" && as_dir=.
3743
3951
  for lt_ac_prog in sed gsed; do
3744
3952
    for ac_exec_ext in '' $ac_executable_extensions; do
3745
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
3953
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3746
3954
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3747
3955
      fi
3748
3956
    done
3749
3957
  done
3750
3958
done
 
3959
IFS=$as_save_IFS
3751
3960
lt_ac_max=0
3752
3961
lt_ac_count=0
3753
3962
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3782
3991
fi
3783
3992
 
3784
3993
SED=$lt_cv_path_SED
3785
 
{ echo "$as_me:$LINENO: result: $SED" >&5
3786
 
echo "${ECHO_T}$SED" >&6; }
3787
 
 
3788
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3789
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3790
 
if test "${ac_cv_path_GREP+set}" = set; then
3791
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3792
 
else
3793
 
  # Extract the first word of "grep ggrep" to use in msg output
3794
 
if test -z "$GREP"; then
3795
 
set dummy grep ggrep; ac_prog_name=$2
3796
 
if test "${ac_cv_path_GREP+set}" = set; then
3797
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3798
 
else
 
3994
 
 
3995
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
 
3996
$as_echo "$SED" >&6; }
 
3997
 
 
3998
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3999
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4000
if test "${ac_cv_path_GREP+set}" = set; then
 
4001
  $as_echo_n "(cached) " >&6
 
4002
else
 
4003
  if test -z "$GREP"; then
3799
4004
  ac_path_GREP_found=false
3800
 
# Loop through the user's path and test for each of PROGNAME-LIST
3801
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4005
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4006
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802
4007
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3803
4008
do
3804
4009
  IFS=$as_save_IFS
3805
4010
  test -z "$as_dir" && as_dir=.
3806
4011
  for ac_prog in grep ggrep; do
3807
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3808
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3809
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3810
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4012
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4013
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4014
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4015
# Check for GNU ac_path_GREP and select it if it is found.
3811
4016
  # Check for GNU $ac_path_GREP
3812
4017
case `"$ac_path_GREP" --version 2>&1` in
3813
4018
*GNU*)
3814
4019
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3815
4020
*)
3816
4021
  ac_count=0
3817
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4022
  $as_echo_n 0123456789 >"conftest.in"
3818
4023
  while :
3819
4024
  do
3820
4025
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3821
4026
    mv "conftest.tmp" "conftest.in"
3822
4027
    cp "conftest.in" "conftest.nl"
3823
 
    echo 'GREP' >> "conftest.nl"
 
4028
    $as_echo 'GREP' >> "conftest.nl"
3824
4029
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3825
4030
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3826
4031
    ac_count=`expr $ac_count + 1`
3835
4040
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3836
4041
esac
3837
4042
 
3838
 
 
3839
 
    $ac_path_GREP_found && break 3
 
4043
      $ac_path_GREP_found && break 3
 
4044
    done
3840
4045
  done
3841
4046
done
3842
 
 
3843
 
done
3844
4047
IFS=$as_save_IFS
3845
 
 
3846
 
 
3847
 
fi
3848
 
 
3849
 
GREP="$ac_cv_path_GREP"
3850
 
if test -z "$GREP"; then
3851
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3852
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4048
  if test -z "$ac_cv_path_GREP"; then
 
4049
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4050
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3853
4051
   { (exit 1); exit 1; }; }
3854
 
fi
3855
 
 
 
4052
  fi
3856
4053
else
3857
4054
  ac_cv_path_GREP=$GREP
3858
4055
fi
3859
4056
 
3860
 
 
3861
4057
fi
3862
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3863
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4058
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4059
$as_echo "$ac_cv_path_GREP" >&6; }
3864
4060
 GREP="$ac_cv_path_GREP"
3865
4061
 
3866
4062
 
3867
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3868
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4063
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4064
$as_echo_n "checking for egrep... " >&6; }
3869
4065
if test "${ac_cv_path_EGREP+set}" = set; then
3870
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4066
  $as_echo_n "(cached) " >&6
3871
4067
else
3872
4068
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3873
4069
   then ac_cv_path_EGREP="$GREP -E"
3874
4070
   else
3875
 
     # Extract the first word of "egrep" to use in msg output
3876
 
if test -z "$EGREP"; then
3877
 
set dummy egrep; ac_prog_name=$2
3878
 
if test "${ac_cv_path_EGREP+set}" = set; then
3879
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3880
 
else
 
4071
     if test -z "$EGREP"; then
3881
4072
  ac_path_EGREP_found=false
3882
 
# Loop through the user's path and test for each of PROGNAME-LIST
3883
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4073
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4074
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884
4075
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3885
4076
do
3886
4077
  IFS=$as_save_IFS
3887
4078
  test -z "$as_dir" && as_dir=.
3888
4079
  for ac_prog in egrep; do
3889
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3890
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3891
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3892
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4080
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4081
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4082
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4083
# Check for GNU ac_path_EGREP and select it if it is found.
3893
4084
  # Check for GNU $ac_path_EGREP
3894
4085
case `"$ac_path_EGREP" --version 2>&1` in
3895
4086
*GNU*)
3896
4087
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3897
4088
*)
3898
4089
  ac_count=0
3899
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4090
  $as_echo_n 0123456789 >"conftest.in"
3900
4091
  while :
3901
4092
  do
3902
4093
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3903
4094
    mv "conftest.tmp" "conftest.in"
3904
4095
    cp "conftest.in" "conftest.nl"
3905
 
    echo 'EGREP' >> "conftest.nl"
 
4096
    $as_echo 'EGREP' >> "conftest.nl"
3906
4097
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3907
4098
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3908
4099
    ac_count=`expr $ac_count + 1`
3917
4108
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3918
4109
esac
3919
4110
 
3920
 
 
3921
 
    $ac_path_EGREP_found && break 3
 
4111
      $ac_path_EGREP_found && break 3
 
4112
    done
3922
4113
  done
3923
4114
done
3924
 
 
3925
 
done
3926
4115
IFS=$as_save_IFS
3927
 
 
3928
 
 
3929
 
fi
3930
 
 
3931
 
EGREP="$ac_cv_path_EGREP"
3932
 
if test -z "$EGREP"; then
3933
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3934
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4116
  if test -z "$ac_cv_path_EGREP"; then
 
4117
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4118
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3935
4119
   { (exit 1); exit 1; }; }
3936
 
fi
3937
 
 
 
4120
  fi
3938
4121
else
3939
4122
  ac_cv_path_EGREP=$EGREP
3940
4123
fi
3941
4124
 
3942
 
 
3943
4125
   fi
3944
4126
fi
3945
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3946
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4127
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4128
$as_echo "$ac_cv_path_EGREP" >&6; }
3947
4129
 EGREP="$ac_cv_path_EGREP"
3948
4130
 
3949
4131
 
3958
4140
ac_prog=ld
3959
4141
if test "$GCC" = yes; then
3960
4142
  # Check if gcc -print-prog-name=ld gives a path.
3961
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3962
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
4143
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4144
$as_echo_n "checking for ld used by $CC... " >&6; }
3963
4145
  case $host in
3964
4146
  *-*-mingw*)
3965
4147
    # gcc leaves a trailing carriage return which upsets mingw
3988
4170
    ;;
3989
4171
  esac
3990
4172
elif test "$with_gnu_ld" = yes; then
3991
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
3992
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
4173
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4174
$as_echo_n "checking for GNU ld... " >&6; }
3993
4175
else
3994
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3995
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
4176
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4177
$as_echo_n "checking for non-GNU ld... " >&6; }
3996
4178
fi
3997
4179
if test "${lt_cv_path_LD+set}" = set; then
3998
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4180
  $as_echo_n "(cached) " >&6
3999
4181
else
4000
4182
  if test -z "$LD"; then
4001
4183
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4025
4207
 
4026
4208
LD="$lt_cv_path_LD"
4027
4209
if test -n "$LD"; then
4028
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4029
 
echo "${ECHO_T}$LD" >&6; }
 
4210
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4211
$as_echo "$LD" >&6; }
4030
4212
else
4031
 
  { echo "$as_me:$LINENO: result: no" >&5
4032
 
echo "${ECHO_T}no" >&6; }
 
4213
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4214
$as_echo "no" >&6; }
4033
4215
fi
4034
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4035
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4216
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4217
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4036
4218
   { (exit 1); exit 1; }; }
4037
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4038
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
4219
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4220
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4039
4221
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4222
  $as_echo_n "(cached) " >&6
4041
4223
else
4042
4224
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4043
4225
case `$LD -v 2>&1 </dev/null` in
4049
4231
  ;;
4050
4232
esac
4051
4233
fi
4052
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4053
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
4234
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4235
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4054
4236
with_gnu_ld=$lt_cv_prog_gnu_ld
4055
4237
 
4056
4238
 
4057
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4058
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 
4239
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4240
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4059
4241
if test "${lt_cv_ld_reload_flag+set}" = set; then
4060
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4242
  $as_echo_n "(cached) " >&6
4061
4243
else
4062
4244
  lt_cv_ld_reload_flag='-r'
4063
4245
fi
4064
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4065
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
4246
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4247
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4066
4248
reload_flag=$lt_cv_ld_reload_flag
4067
4249
case $reload_flag in
4068
4250
"" | " "*) ;;
4079
4261
    ;;
4080
4262
esac
4081
4263
 
4082
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4083
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
4264
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4265
$as_echo_n "checking for BSD-compatible nm... " >&6; }
4084
4266
if test "${lt_cv_path_NM+set}" = set; then
4085
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4267
  $as_echo_n "(cached) " >&6
4086
4268
else
4087
4269
  if test -n "$NM"; then
4088
4270
  # Let the user override the test.
4128
4310
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4129
4311
fi
4130
4312
fi
4131
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4132
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 
4313
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4314
$as_echo "$lt_cv_path_NM" >&6; }
4133
4315
NM="$lt_cv_path_NM"
4134
4316
 
4135
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4136
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
4317
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4318
$as_echo_n "checking whether ln -s works... " >&6; }
4137
4319
LN_S=$as_ln_s
4138
4320
if test "$LN_S" = "ln -s"; then
4139
 
  { echo "$as_me:$LINENO: result: yes" >&5
4140
 
echo "${ECHO_T}yes" >&6; }
 
4321
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4322
$as_echo "yes" >&6; }
4141
4323
else
4142
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4143
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
4324
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4325
$as_echo "no, using $LN_S" >&6; }
4144
4326
fi
4145
4327
 
4146
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4147
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
4328
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4329
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4148
4330
if test "${lt_cv_deplibs_check_method+set}" = set; then
4149
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4331
  $as_echo_n "(cached) " >&6
4150
4332
else
4151
4333
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4152
4334
lt_cv_file_magic_test_file=
4163
4345
# whether `pass_all' will *always* work, you probably want this one.
4164
4346
 
4165
4347
case $host_os in
4166
 
aix4* | aix5*)
 
4348
aix[4-9]*)
4167
4349
  lt_cv_deplibs_check_method=pass_all
4168
4350
  ;;
4169
4351
 
4185
4367
 
4186
4368
mingw* | pw32*)
4187
4369
  # Base MSYS/MinGW do not provide the 'file' command needed by
4188
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4189
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4190
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4370
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4371
  # unless we find 'file', for example because we are cross-compiling.
 
4372
  if ( file / ) >/dev/null 2>&1; then
 
4373
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4374
    lt_cv_file_magic_cmd='func_win32_libid'
 
4375
  else
 
4376
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4377
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4378
  fi
4191
4379
  ;;
4192
4380
 
4193
4381
darwin* | rhapsody*)
4194
4382
  lt_cv_deplibs_check_method=pass_all
4195
4383
  ;;
4196
4384
 
4197
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
4385
freebsd* | dragonfly*)
4198
4386
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4199
4387
    case $host_cpu in
4200
4388
    i*86 )
4232
4420
  esac
4233
4421
  ;;
4234
4422
 
4235
 
interix3*)
 
4423
interix[3-9]*)
4236
4424
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4237
4425
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4238
4426
  ;;
4248
4436
  ;;
4249
4437
 
4250
4438
# This must be Linux ELF.
4251
 
linux*)
 
4439
linux* | k*bsd*-gnu)
4252
4440
  lt_cv_deplibs_check_method=pass_all
4253
4441
  ;;
4254
4442
 
4282
4470
  lt_cv_deplibs_check_method=pass_all
4283
4471
  ;;
4284
4472
 
 
4473
rdos*)
 
4474
  lt_cv_deplibs_check_method=pass_all
 
4475
  ;;
 
4476
 
4285
4477
solaris*)
4286
4478
  lt_cv_deplibs_check_method=pass_all
4287
4479
  ;;
4319
4511
esac
4320
4512
 
4321
4513
fi
4322
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4323
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
4514
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4515
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4324
4516
file_magic_cmd=$lt_cv_file_magic_cmd
4325
4517
deplibs_check_method=$lt_cv_deplibs_check_method
4326
4518
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4354
4546
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4355
4547
  (eval $ac_compile) 2>&5
4356
4548
  ac_status=$?
4357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4549
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358
4550
  (exit $ac_status); }; then
4359
4551
    case `/usr/bin/file conftest.$ac_objext` in
4360
4552
    *ELF-32*)
4369
4561
  ;;
4370
4562
*-*-irix6*)
4371
4563
  # Find out which ABI we are using.
4372
 
  echo '#line 4372 "configure"' > conftest.$ac_ext
 
4564
  echo '#line 4564 "configure"' > conftest.$ac_ext
4373
4565
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4374
4566
  (eval $ac_compile) 2>&5
4375
4567
  ac_status=$?
4376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4568
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377
4569
  (exit $ac_status); }; then
4378
4570
   if test "$lt_cv_prog_gnu_ld" = yes; then
4379
4571
    case `/usr/bin/file conftest.$ac_objext` in
4404
4596
  rm -rf conftest*
4405
4597
  ;;
4406
4598
 
4407
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
4599
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
4600
s390*-*linux*|sparc*-*linux*)
4408
4601
  # Find out which ABI we are using.
4409
4602
  echo 'int i;' > conftest.$ac_ext
4410
4603
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4411
4604
  (eval $ac_compile) 2>&5
4412
4605
  ac_status=$?
4413
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4606
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414
4607
  (exit $ac_status); }; then
4415
4608
    case `/usr/bin/file conftest.o` in
4416
4609
    *32-bit*)
4417
4610
      case $host in
 
4611
        x86_64-*kfreebsd*-gnu)
 
4612
          LD="${LD-ld} -m elf_i386_fbsd"
 
4613
          ;;
4418
4614
        x86_64-*linux*)
4419
4615
          LD="${LD-ld} -m elf_i386"
4420
4616
          ;;
4431
4627
      ;;
4432
4628
    *64-bit*)
4433
4629
      case $host in
 
4630
        x86_64-*kfreebsd*-gnu)
 
4631
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
4632
          ;;
4434
4633
        x86_64-*linux*)
4435
4634
          LD="${LD-ld} -m elf_x86_64"
4436
4635
          ;;
4454
4653
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4455
4654
  SAVE_CFLAGS="$CFLAGS"
4456
4655
  CFLAGS="$CFLAGS -belf"
4457
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4458
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 
4656
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4657
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4459
4658
if test "${lt_cv_cc_needs_belf+set}" = set; then
4460
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4659
  $as_echo_n "(cached) " >&6
4461
4660
else
4462
4661
  ac_ext=c
4463
4662
ac_cpp='$CPP $CPPFLAGS'
4486
4685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487
4686
  *) ac_try_echo=$ac_try;;
4488
4687
esac
4489
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4688
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4689
$as_echo "$ac_try_echo") >&5
4490
4690
  (eval "$ac_link") 2>conftest.er1
4491
4691
  ac_status=$?
4492
4692
  grep -v '^ *+' conftest.er1 >conftest.err
4493
4693
  rm -f conftest.er1
4494
4694
  cat conftest.err >&5
4495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4695
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496
4696
  (exit $ac_status); } && {
4497
4697
         test -z "$ac_c_werror_flag" ||
4498
4698
         test ! -s conftest.err
4499
 
       } && test -s conftest$ac_exeext &&
4500
 
       $as_test_x conftest$ac_exeext; then
 
4699
       } && test -s conftest$ac_exeext && {
 
4700
         test "$cross_compiling" = yes ||
 
4701
         $as_test_x conftest$ac_exeext
 
4702
       }; then
4501
4703
  lt_cv_cc_needs_belf=yes
4502
4704
else
4503
 
  echo "$as_me: failed program was:" >&5
 
4705
  $as_echo "$as_me: failed program was:" >&5
4504
4706
sed 's/^/| /' conftest.$ac_ext >&5
4505
4707
 
4506
4708
        lt_cv_cc_needs_belf=no
4507
4709
fi
4508
4710
 
 
4711
rm -rf conftest.dSYM
4509
4712
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4510
4713
      conftest$ac_exeext conftest.$ac_ext
4511
4714
     ac_ext=c
4515
4718
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4516
4719
 
4517
4720
fi
4518
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4519
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
4721
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4722
$as_echo "$lt_cv_cc_needs_belf" >&6; }
4520
4723
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4521
4724
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4522
4725
    CFLAGS="$SAVE_CFLAGS"
4528
4731
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4529
4732
  (eval $ac_compile) 2>&5
4530
4733
  ac_status=$?
4531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4734
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532
4735
  (exit $ac_status); }; then
4533
4736
    case `/usr/bin/file conftest.o` in
4534
4737
    *64-bit*)
4535
4738
      case $lt_cv_prog_gnu_ld in
4536
4739
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4537
 
      *)    LD="${LD-ld} -64" ;;
 
4740
      *)
 
4741
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
4742
          LD="${LD-ld} -64"
 
4743
        fi
 
4744
        ;;
4538
4745
      esac
4539
4746
      ;;
4540
4747
    esac
4553
4760
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4554
4761
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4555
4762
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4556
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4557
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
4763
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4764
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4558
4765
# On Suns, sometimes $CPP names a directory.
4559
4766
if test -n "$CPP" && test -d "$CPP"; then
4560
4767
  CPP=
4561
4768
fi
4562
4769
if test -z "$CPP"; then
4563
4770
  if test "${ac_cv_prog_CPP+set}" = set; then
4564
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4771
  $as_echo_n "(cached) " >&6
4565
4772
else
4566
4773
      # Double quotes because CPP needs to be expanded
4567
4774
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4593
4800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4594
4801
  *) ac_try_echo=$ac_try;;
4595
4802
esac
4596
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4803
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4804
$as_echo "$ac_try_echo") >&5
4597
4805
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4598
4806
  ac_status=$?
4599
4807
  grep -v '^ *+' conftest.er1 >conftest.err
4600
4808
  rm -f conftest.er1
4601
4809
  cat conftest.err >&5
4602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4810
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603
4811
  (exit $ac_status); } >/dev/null && {
4604
4812
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4605
4813
         test ! -s conftest.err
4606
4814
       }; then
4607
4815
  :
4608
4816
else
4609
 
  echo "$as_me: failed program was:" >&5
 
4817
  $as_echo "$as_me: failed program was:" >&5
4610
4818
sed 's/^/| /' conftest.$ac_ext >&5
4611
4819
 
4612
4820
  # Broken: fails on valid input.
4630
4838
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4631
4839
  *) ac_try_echo=$ac_try;;
4632
4840
esac
4633
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4841
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4842
$as_echo "$ac_try_echo") >&5
4634
4843
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4635
4844
  ac_status=$?
4636
4845
  grep -v '^ *+' conftest.er1 >conftest.err
4637
4846
  rm -f conftest.er1
4638
4847
  cat conftest.err >&5
4639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4848
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640
4849
  (exit $ac_status); } >/dev/null && {
4641
4850
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4642
4851
         test ! -s conftest.err
4644
4853
  # Broken: success on invalid input.
4645
4854
continue
4646
4855
else
4647
 
  echo "$as_me: failed program was:" >&5
 
4856
  $as_echo "$as_me: failed program was:" >&5
4648
4857
sed 's/^/| /' conftest.$ac_ext >&5
4649
4858
 
4650
4859
  # Passes both tests.
4669
4878
else
4670
4879
  ac_cv_prog_CPP=$CPP
4671
4880
fi
4672
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4673
 
echo "${ECHO_T}$CPP" >&6; }
 
4881
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4882
$as_echo "$CPP" >&6; }
4674
4883
ac_preproc_ok=false
4675
4884
for ac_c_preproc_warn_flag in '' yes
4676
4885
do
4698
4907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4699
4908
  *) ac_try_echo=$ac_try;;
4700
4909
esac
4701
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4910
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4911
$as_echo "$ac_try_echo") >&5
4702
4912
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4703
4913
  ac_status=$?
4704
4914
  grep -v '^ *+' conftest.er1 >conftest.err
4705
4915
  rm -f conftest.er1
4706
4916
  cat conftest.err >&5
4707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4917
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708
4918
  (exit $ac_status); } >/dev/null && {
4709
4919
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4710
4920
         test ! -s conftest.err
4711
4921
       }; then
4712
4922
  :
4713
4923
else
4714
 
  echo "$as_me: failed program was:" >&5
 
4924
  $as_echo "$as_me: failed program was:" >&5
4715
4925
sed 's/^/| /' conftest.$ac_ext >&5
4716
4926
 
4717
4927
  # Broken: fails on valid input.
4735
4945
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736
4946
  *) ac_try_echo=$ac_try;;
4737
4947
esac
4738
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4948
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4949
$as_echo "$ac_try_echo") >&5
4739
4950
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4740
4951
  ac_status=$?
4741
4952
  grep -v '^ *+' conftest.er1 >conftest.err
4742
4953
  rm -f conftest.er1
4743
4954
  cat conftest.err >&5
4744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4955
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745
4956
  (exit $ac_status); } >/dev/null && {
4746
4957
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4747
4958
         test ! -s conftest.err
4749
4960
  # Broken: success on invalid input.
4750
4961
continue
4751
4962
else
4752
 
  echo "$as_me: failed program was:" >&5
 
4963
  $as_echo "$as_me: failed program was:" >&5
4753
4964
sed 's/^/| /' conftest.$ac_ext >&5
4754
4965
 
4755
4966
  # Passes both tests.
4765
4976
if $ac_preproc_ok; then
4766
4977
  :
4767
4978
else
4768
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
4979
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4980
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4981
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4769
4982
See \`config.log' for more details." >&5
4770
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
4983
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4771
4984
See \`config.log' for more details." >&2;}
4772
 
   { (exit 1); exit 1; }; }
 
4985
   { (exit 1); exit 1; }; }; }
4773
4986
fi
4774
4987
 
4775
4988
ac_ext=c
4779
4992
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4780
4993
 
4781
4994
 
4782
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4783
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4995
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4996
$as_echo_n "checking for ANSI C header files... " >&6; }
4784
4997
if test "${ac_cv_header_stdc+set}" = set; then
4785
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4998
  $as_echo_n "(cached) " >&6
4786
4999
else
4787
5000
  cat >conftest.$ac_ext <<_ACEOF
4788
5001
/* confdefs.h.  */
4809
5022
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4810
5023
  *) ac_try_echo=$ac_try;;
4811
5024
esac
4812
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5025
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5026
$as_echo "$ac_try_echo") >&5
4813
5027
  (eval "$ac_compile") 2>conftest.er1
4814
5028
  ac_status=$?
4815
5029
  grep -v '^ *+' conftest.er1 >conftest.err
4816
5030
  rm -f conftest.er1
4817
5031
  cat conftest.err >&5
4818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5032
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819
5033
  (exit $ac_status); } && {
4820
5034
         test -z "$ac_c_werror_flag" ||
4821
5035
         test ! -s conftest.err
4822
5036
       } && test -s conftest.$ac_objext; then
4823
5037
  ac_cv_header_stdc=yes
4824
5038
else
4825
 
  echo "$as_me: failed program was:" >&5
 
5039
  $as_echo "$as_me: failed program was:" >&5
4826
5040
sed 's/^/| /' conftest.$ac_ext >&5
4827
5041
 
4828
5042
        ac_cv_header_stdc=no
4914
5128
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915
5129
  *) ac_try_echo=$ac_try;;
4916
5130
esac
4917
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5131
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5132
$as_echo "$ac_try_echo") >&5
4918
5133
  (eval "$ac_link") 2>&5
4919
5134
  ac_status=$?
4920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5135
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921
5136
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4922
5137
  { (case "(($ac_try" in
4923
5138
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924
5139
  *) ac_try_echo=$ac_try;;
4925
5140
esac
4926
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5141
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5142
$as_echo "$ac_try_echo") >&5
4927
5143
  (eval "$ac_try") 2>&5
4928
5144
  ac_status=$?
4929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5145
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930
5146
  (exit $ac_status); }; }; then
4931
5147
  :
4932
5148
else
4933
 
  echo "$as_me: program exited with status $ac_status" >&5
4934
 
echo "$as_me: failed program was:" >&5
 
5149
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5150
$as_echo "$as_me: failed program was:" >&5
4935
5151
sed 's/^/| /' conftest.$ac_ext >&5
4936
5152
 
4937
5153
( exit $ac_status )
4938
5154
ac_cv_header_stdc=no
4939
5155
fi
 
5156
rm -rf conftest.dSYM
4940
5157
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4941
5158
fi
4942
5159
 
4943
5160
 
4944
5161
fi
4945
5162
fi
4946
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4947
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
5163
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5164
$as_echo "$ac_cv_header_stdc" >&6; }
4948
5165
if test $ac_cv_header_stdc = yes; then
4949
5166
 
4950
5167
cat >>confdefs.h <<\_ACEOF
4966
5183
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4967
5184
                  inttypes.h stdint.h unistd.h
4968
5185
do
4969
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4970
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4971
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5186
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5187
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5188
$as_echo_n "checking for $ac_header... " >&6; }
4972
5189
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4973
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5190
  $as_echo_n "(cached) " >&6
4974
5191
else
4975
5192
  cat >conftest.$ac_ext <<_ACEOF
4976
5193
/* confdefs.h.  */
4988
5205
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4989
5206
  *) ac_try_echo=$ac_try;;
4990
5207
esac
4991
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5208
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5209
$as_echo "$ac_try_echo") >&5
4992
5210
  (eval "$ac_compile") 2>conftest.er1
4993
5211
  ac_status=$?
4994
5212
  grep -v '^ *+' conftest.er1 >conftest.err
4995
5213
  rm -f conftest.er1
4996
5214
  cat conftest.err >&5
4997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5215
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998
5216
  (exit $ac_status); } && {
4999
5217
         test -z "$ac_c_werror_flag" ||
5000
5218
         test ! -s conftest.err
5001
5219
       } && test -s conftest.$ac_objext; then
5002
5220
  eval "$as_ac_Header=yes"
5003
5221
else
5004
 
  echo "$as_me: failed program was:" >&5
 
5222
  $as_echo "$as_me: failed program was:" >&5
5005
5223
sed 's/^/| /' conftest.$ac_ext >&5
5006
5224
 
5007
5225
        eval "$as_ac_Header=no"
5009
5227
 
5010
5228
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5011
5229
fi
5012
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5013
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5014
 
echo "${ECHO_T}$ac_res" >&6; }
5015
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5230
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5231
                 $as_echo "$as_val"'`
 
5232
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5233
$as_echo "$ac_res" >&6; }
 
5234
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5235
                 $as_echo "$as_val"'`
 
5236
   if test "x$as_val" = x""yes; then
5016
5237
  cat >>confdefs.h <<_ACEOF
5017
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5238
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5018
5239
_ACEOF
5019
5240
 
5020
5241
fi
5025
5246
 
5026
5247
for ac_header in dlfcn.h
5027
5248
do
5028
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5029
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5030
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5031
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5032
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5033
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5249
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5250
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5251
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5252
$as_echo_n "checking for $ac_header... " >&6; }
 
5253
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5254
  $as_echo_n "(cached) " >&6
5034
5255
fi
5035
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5036
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5037
 
echo "${ECHO_T}$ac_res" >&6; }
 
5256
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5257
                 $as_echo "$as_val"'`
 
5258
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5259
$as_echo "$ac_res" >&6; }
5038
5260
else
5039
5261
  # Is the header compilable?
5040
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5041
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
5262
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5263
$as_echo_n "checking $ac_header usability... " >&6; }
5042
5264
cat >conftest.$ac_ext <<_ACEOF
5043
5265
/* confdefs.h.  */
5044
5266
_ACEOF
5054
5276
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5055
5277
  *) ac_try_echo=$ac_try;;
5056
5278
esac
5057
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5279
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5280
$as_echo "$ac_try_echo") >&5
5058
5281
  (eval "$ac_compile") 2>conftest.er1
5059
5282
  ac_status=$?
5060
5283
  grep -v '^ *+' conftest.er1 >conftest.err
5061
5284
  rm -f conftest.er1
5062
5285
  cat conftest.err >&5
5063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5286
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064
5287
  (exit $ac_status); } && {
5065
5288
         test -z "$ac_c_werror_flag" ||
5066
5289
         test ! -s conftest.err
5067
5290
       } && test -s conftest.$ac_objext; then
5068
5291
  ac_header_compiler=yes
5069
5292
else
5070
 
  echo "$as_me: failed program was:" >&5
 
5293
  $as_echo "$as_me: failed program was:" >&5
5071
5294
sed 's/^/| /' conftest.$ac_ext >&5
5072
5295
 
5073
5296
        ac_header_compiler=no
5074
5297
fi
5075
5298
 
5076
5299
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5078
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
5300
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5301
$as_echo "$ac_header_compiler" >&6; }
5079
5302
 
5080
5303
# Is the header present?
5081
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5082
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
5304
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5305
$as_echo_n "checking $ac_header presence... " >&6; }
5083
5306
cat >conftest.$ac_ext <<_ACEOF
5084
5307
/* confdefs.h.  */
5085
5308
_ACEOF
5093
5316
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094
5317
  *) ac_try_echo=$ac_try;;
5095
5318
esac
5096
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5319
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5320
$as_echo "$ac_try_echo") >&5
5097
5321
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5098
5322
  ac_status=$?
5099
5323
  grep -v '^ *+' conftest.er1 >conftest.err
5100
5324
  rm -f conftest.er1
5101
5325
  cat conftest.err >&5
5102
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5326
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103
5327
  (exit $ac_status); } >/dev/null && {
5104
5328
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5105
5329
         test ! -s conftest.err
5106
5330
       }; then
5107
5331
  ac_header_preproc=yes
5108
5332
else
5109
 
  echo "$as_me: failed program was:" >&5
 
5333
  $as_echo "$as_me: failed program was:" >&5
5110
5334
sed 's/^/| /' conftest.$ac_ext >&5
5111
5335
 
5112
5336
  ac_header_preproc=no
5113
5337
fi
5114
5338
 
5115
5339
rm -f conftest.err conftest.$ac_ext
5116
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5117
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
5340
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5341
$as_echo "$ac_header_preproc" >&6; }
5118
5342
 
5119
5343
# So?  What about this header?
5120
5344
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5121
5345
  yes:no: )
5122
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5123
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5124
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5125
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5346
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5347
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5348
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5349
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5126
5350
    ac_header_preproc=yes
5127
5351
    ;;
5128
5352
  no:yes:* )
5129
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5130
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5131
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5132
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5133
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5134
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5135
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5136
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5137
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5138
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5139
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5140
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5353
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5354
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5355
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5356
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5357
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5358
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5359
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5360
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5361
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5362
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5363
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5364
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5141
5365
    ( cat <<\_ASBOX
5142
5366
## ---------------------------------------------------------------------- ##
5143
5367
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
5146
5370
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5147
5371
    ;;
5148
5372
esac
5149
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5150
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5373
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5374
$as_echo_n "checking for $ac_header... " >&6; }
5151
5375
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5152
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5376
  $as_echo_n "(cached) " >&6
5153
5377
else
5154
5378
  eval "$as_ac_Header=\$ac_header_preproc"
5155
5379
fi
5156
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5157
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5158
 
echo "${ECHO_T}$ac_res" >&6; }
 
5380
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5381
                 $as_echo "$as_val"'`
 
5382
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5383
$as_echo "$ac_res" >&6; }
5159
5384
 
5160
5385
fi
5161
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5386
as_val=`eval 'as_val=${'$as_ac_Header'}
 
5387
                 $as_echo "$as_val"'`
 
5388
   if test "x$as_val" = x""yes; then
5162
5389
  cat >>confdefs.h <<_ACEOF
5163
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5390
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5164
5391
_ACEOF
5165
5392
 
5166
5393
fi
5181
5408
  do
5182
5409
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5183
5410
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5184
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5185
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5411
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5412
$as_echo_n "checking for $ac_word... " >&6; }
5186
5413
if test "${ac_cv_prog_CXX+set}" = set; then
5187
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5414
  $as_echo_n "(cached) " >&6
5188
5415
else
5189
5416
  if test -n "$CXX"; then
5190
5417
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5197
5424
  for ac_exec_ext in '' $ac_executable_extensions; do
5198
5425
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5199
5426
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5200
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5427
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5201
5428
    break 2
5202
5429
  fi
5203
5430
done
5208
5435
fi
5209
5436
CXX=$ac_cv_prog_CXX
5210
5437
if test -n "$CXX"; then
5211
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5212
 
echo "${ECHO_T}$CXX" >&6; }
 
5438
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
5439
$as_echo "$CXX" >&6; }
5213
5440
else
5214
 
  { echo "$as_me:$LINENO: result: no" >&5
5215
 
echo "${ECHO_T}no" >&6; }
 
5441
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5442
$as_echo "no" >&6; }
5216
5443
fi
5217
5444
 
5218
5445
 
5225
5452
do
5226
5453
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5227
5454
set dummy $ac_prog; ac_word=$2
5228
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5229
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5455
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5456
$as_echo_n "checking for $ac_word... " >&6; }
5230
5457
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5231
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5458
  $as_echo_n "(cached) " >&6
5232
5459
else
5233
5460
  if test -n "$ac_ct_CXX"; then
5234
5461
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5241
5468
  for ac_exec_ext in '' $ac_executable_extensions; do
5242
5469
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243
5470
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5244
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5471
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5245
5472
    break 2
5246
5473
  fi
5247
5474
done
5252
5479
fi
5253
5480
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5254
5481
if test -n "$ac_ct_CXX"; then
5255
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5256
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
5482
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5483
$as_echo "$ac_ct_CXX" >&6; }
5257
5484
else
5258
 
  { echo "$as_me:$LINENO: result: no" >&5
5259
 
echo "${ECHO_T}no" >&6; }
 
5485
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5486
$as_echo "no" >&6; }
5260
5487
fi
5261
5488
 
5262
5489
 
5268
5495
  else
5269
5496
    case $cross_compiling:$ac_tool_warned in
5270
5497
yes:)
5271
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5272
 
whose name does not start with the host triplet.  If you think this
5273
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5274
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5275
 
whose name does not start with the host triplet.  If you think this
5276
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5498
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5499
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5277
5500
ac_tool_warned=yes ;;
5278
5501
esac
5279
5502
    CXX=$ac_ct_CXX
5283
5506
  fi
5284
5507
fi
5285
5508
# Provide some information about the compiler.
5286
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5287
 
ac_compiler=`set X $ac_compile; echo $2`
 
5509
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
5510
set X $ac_compile
 
5511
ac_compiler=$2
5288
5512
{ (ac_try="$ac_compiler --version >&5"
5289
5513
case "(($ac_try" in
5290
5514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5291
5515
  *) ac_try_echo=$ac_try;;
5292
5516
esac
5293
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5517
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5518
$as_echo "$ac_try_echo") >&5
5294
5519
  (eval "$ac_compiler --version >&5") 2>&5
5295
5520
  ac_status=$?
5296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5521
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297
5522
  (exit $ac_status); }
5298
5523
{ (ac_try="$ac_compiler -v >&5"
5299
5524
case "(($ac_try" in
5300
5525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5301
5526
  *) ac_try_echo=$ac_try;;
5302
5527
esac
5303
 
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
5304
5530
  (eval "$ac_compiler -v >&5") 2>&5
5305
5531
  ac_status=$?
5306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5532
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307
5533
  (exit $ac_status); }
5308
5534
{ (ac_try="$ac_compiler -V >&5"
5309
5535
case "(($ac_try" in
5310
5536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5311
5537
  *) ac_try_echo=$ac_try;;
5312
5538
esac
5313
 
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
5314
5541
  (eval "$ac_compiler -V >&5") 2>&5
5315
5542
  ac_status=$?
5316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5543
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317
5544
  (exit $ac_status); }
5318
5545
 
5319
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5320
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
5546
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5547
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5321
5548
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5322
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5549
  $as_echo_n "(cached) " >&6
5323
5550
else
5324
5551
  cat >conftest.$ac_ext <<_ACEOF
5325
5552
/* confdefs.h.  */
5345
5572
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5346
5573
  *) ac_try_echo=$ac_try;;
5347
5574
esac
5348
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5575
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5576
$as_echo "$ac_try_echo") >&5
5349
5577
  (eval "$ac_compile") 2>conftest.er1
5350
5578
  ac_status=$?
5351
5579
  grep -v '^ *+' conftest.er1 >conftest.err
5352
5580
  rm -f conftest.er1
5353
5581
  cat conftest.err >&5
5354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5582
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355
5583
  (exit $ac_status); } && {
5356
5584
         test -z "$ac_cxx_werror_flag" ||
5357
5585
         test ! -s conftest.err
5358
5586
       } && test -s conftest.$ac_objext; then
5359
5587
  ac_compiler_gnu=yes
5360
5588
else
5361
 
  echo "$as_me: failed program was:" >&5
 
5589
  $as_echo "$as_me: failed program was:" >&5
5362
5590
sed 's/^/| /' conftest.$ac_ext >&5
5363
5591
 
5364
5592
        ac_compiler_gnu=no
5368
5596
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5369
5597
 
5370
5598
fi
5371
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5372
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5373
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
5599
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5600
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
5601
if test $ac_compiler_gnu = yes; then
 
5602
  GXX=yes
 
5603
else
 
5604
  GXX=
 
5605
fi
5374
5606
ac_test_CXXFLAGS=${CXXFLAGS+set}
5375
5607
ac_save_CXXFLAGS=$CXXFLAGS
5376
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5377
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
5608
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5609
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5378
5610
if test "${ac_cv_prog_cxx_g+set}" = set; then
5379
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5611
  $as_echo_n "(cached) " >&6
5380
5612
else
5381
5613
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5382
5614
   ac_cxx_werror_flag=yes
5403
5635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5404
5636
  *) ac_try_echo=$ac_try;;
5405
5637
esac
5406
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5638
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5639
$as_echo "$ac_try_echo") >&5
5407
5640
  (eval "$ac_compile") 2>conftest.er1
5408
5641
  ac_status=$?
5409
5642
  grep -v '^ *+' conftest.er1 >conftest.err
5410
5643
  rm -f conftest.er1
5411
5644
  cat conftest.err >&5
5412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5645
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413
5646
  (exit $ac_status); } && {
5414
5647
         test -z "$ac_cxx_werror_flag" ||
5415
5648
         test ! -s conftest.err
5416
5649
       } && test -s conftest.$ac_objext; then
5417
5650
  ac_cv_prog_cxx_g=yes
5418
5651
else
5419
 
  echo "$as_me: failed program was:" >&5
 
5652
  $as_echo "$as_me: failed program was:" >&5
5420
5653
sed 's/^/| /' conftest.$ac_ext >&5
5421
5654
 
5422
5655
        CXXFLAGS=""
5441
5674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5442
5675
  *) ac_try_echo=$ac_try;;
5443
5676
esac
5444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5677
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5678
$as_echo "$ac_try_echo") >&5
5445
5679
  (eval "$ac_compile") 2>conftest.er1
5446
5680
  ac_status=$?
5447
5681
  grep -v '^ *+' conftest.er1 >conftest.err
5448
5682
  rm -f conftest.er1
5449
5683
  cat conftest.err >&5
5450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5684
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451
5685
  (exit $ac_status); } && {
5452
5686
         test -z "$ac_cxx_werror_flag" ||
5453
5687
         test ! -s conftest.err
5454
5688
       } && test -s conftest.$ac_objext; then
5455
5689
  :
5456
5690
else
5457
 
  echo "$as_me: failed program was:" >&5
 
5691
  $as_echo "$as_me: failed program was:" >&5
5458
5692
sed 's/^/| /' conftest.$ac_ext >&5
5459
5693
 
5460
5694
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5480
5714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5481
5715
  *) ac_try_echo=$ac_try;;
5482
5716
esac
5483
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5717
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5718
$as_echo "$ac_try_echo") >&5
5484
5719
  (eval "$ac_compile") 2>conftest.er1
5485
5720
  ac_status=$?
5486
5721
  grep -v '^ *+' conftest.er1 >conftest.err
5487
5722
  rm -f conftest.er1
5488
5723
  cat conftest.err >&5
5489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5724
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490
5725
  (exit $ac_status); } && {
5491
5726
         test -z "$ac_cxx_werror_flag" ||
5492
5727
         test ! -s conftest.err
5493
5728
       } && test -s conftest.$ac_objext; then
5494
5729
  ac_cv_prog_cxx_g=yes
5495
5730
else
5496
 
  echo "$as_me: failed program was:" >&5
 
5731
  $as_echo "$as_me: failed program was:" >&5
5497
5732
sed 's/^/| /' conftest.$ac_ext >&5
5498
5733
 
5499
5734
 
5508
5743
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509
5744
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5510
5745
fi
5511
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5512
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
5746
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5747
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5513
5748
if test "$ac_test_CXXFLAGS" = set; then
5514
5749
  CXXFLAGS=$ac_save_CXXFLAGS
5515
5750
elif test $ac_cv_prog_cxx_g = yes; then
5533
5768
 
5534
5769
depcc="$CXX"  am_compiler_list=
5535
5770
 
5536
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5537
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
5771
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5772
$as_echo_n "checking dependency style of $depcc... " >&6; }
5538
5773
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5539
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5774
  $as_echo_n "(cached) " >&6
5540
5775
else
5541
5776
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5542
5777
  # We make a subdir and do the tests there.  Otherwise we can end up
5561
5796
  if test "$am_compiler_list" = ""; then
5562
5797
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5563
5798
  fi
 
5799
  am__universal=false
 
5800
  case " $depcc " in #(
 
5801
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5802
     esac
 
5803
 
5564
5804
  for depmode in $am_compiler_list; do
5565
5805
    # Setup a source with many dependencies, because some compilers
5566
5806
    # like to wrap large dependency lists on column 80 (with \), and
5578
5818
    done
5579
5819
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5580
5820
 
 
5821
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5822
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5823
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5824
    # versions had trouble with output in subdirs
 
5825
    am__obj=sub/conftest.${OBJEXT-o}
 
5826
    am__minus_obj="-o $am__obj"
5581
5827
    case $depmode in
 
5828
    gcc)
 
5829
      # This depmode causes a compiler race in universal mode.
 
5830
      test "$am__universal" = false || continue
 
5831
      ;;
5582
5832
    nosideeffect)
5583
5833
      # after this tag, mechanisms are not by side-effect, so they'll
5584
5834
      # only be used when explicitly requested
5588
5838
        break
5589
5839
      fi
5590
5840
      ;;
 
5841
    msvisualcpp | msvcmsys)
 
5842
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5843
      # not run yet.  These depmodes are late enough in the game, and
 
5844
      # so weak that their functioning should not be impacted.
 
5845
      am__obj=conftest.${OBJEXT-o}
 
5846
      am__minus_obj=
 
5847
      ;;
5591
5848
    none) break ;;
5592
5849
    esac
5593
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5594
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5595
 
    # handle `-M -o', and we need to detect this.
5596
5850
    if depmode=$depmode \
5597
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5851
       source=sub/conftest.c object=$am__obj \
5598
5852
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5599
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5853
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5600
5854
         >/dev/null 2>conftest.err &&
5601
5855
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5602
5856
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5603
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5857
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5604
5858
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5605
5859
      # icc doesn't choke on unknown options, it will just issue warnings
5606
5860
      # or remarks (even with -Werror).  So we grep stderr for any message
5624
5878
fi
5625
5879
 
5626
5880
fi
5627
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5628
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
5881
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5882
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5629
5883
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5630
5884
 
5631
5885
 if
5649
5903
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5650
5904
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5651
5905
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5652
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5653
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
5906
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5907
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5654
5908
if test -z "$CXXCPP"; then
5655
5909
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5656
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5910
  $as_echo_n "(cached) " >&6
5657
5911
else
5658
5912
      # Double quotes because CXXCPP needs to be expanded
5659
5913
    for CXXCPP in "$CXX -E" "/lib/cpp"
5685
5939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5686
5940
  *) ac_try_echo=$ac_try;;
5687
5941
esac
5688
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5942
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5943
$as_echo "$ac_try_echo") >&5
5689
5944
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5690
5945
  ac_status=$?
5691
5946
  grep -v '^ *+' conftest.er1 >conftest.err
5692
5947
  rm -f conftest.er1
5693
5948
  cat conftest.err >&5
5694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5949
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695
5950
  (exit $ac_status); } >/dev/null && {
5696
5951
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5697
5952
         test ! -s conftest.err
5698
5953
       }; then
5699
5954
  :
5700
5955
else
5701
 
  echo "$as_me: failed program was:" >&5
 
5956
  $as_echo "$as_me: failed program was:" >&5
5702
5957
sed 's/^/| /' conftest.$ac_ext >&5
5703
5958
 
5704
5959
  # Broken: fails on valid input.
5722
5977
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5723
5978
  *) ac_try_echo=$ac_try;;
5724
5979
esac
5725
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5980
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5981
$as_echo "$ac_try_echo") >&5
5726
5982
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5727
5983
  ac_status=$?
5728
5984
  grep -v '^ *+' conftest.er1 >conftest.err
5729
5985
  rm -f conftest.er1
5730
5986
  cat conftest.err >&5
5731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5987
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732
5988
  (exit $ac_status); } >/dev/null && {
5733
5989
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5734
5990
         test ! -s conftest.err
5736
5992
  # Broken: success on invalid input.
5737
5993
continue
5738
5994
else
5739
 
  echo "$as_me: failed program was:" >&5
 
5995
  $as_echo "$as_me: failed program was:" >&5
5740
5996
sed 's/^/| /' conftest.$ac_ext >&5
5741
5997
 
5742
5998
  # Passes both tests.
5761
6017
else
5762
6018
  ac_cv_prog_CXXCPP=$CXXCPP
5763
6019
fi
5764
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5765
 
echo "${ECHO_T}$CXXCPP" >&6; }
 
6020
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6021
$as_echo "$CXXCPP" >&6; }
5766
6022
ac_preproc_ok=false
5767
6023
for ac_cxx_preproc_warn_flag in '' yes
5768
6024
do
5790
6046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5791
6047
  *) ac_try_echo=$ac_try;;
5792
6048
esac
5793
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6049
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6050
$as_echo "$ac_try_echo") >&5
5794
6051
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5795
6052
  ac_status=$?
5796
6053
  grep -v '^ *+' conftest.er1 >conftest.err
5797
6054
  rm -f conftest.er1
5798
6055
  cat conftest.err >&5
5799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6056
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800
6057
  (exit $ac_status); } >/dev/null && {
5801
6058
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5802
6059
         test ! -s conftest.err
5803
6060
       }; then
5804
6061
  :
5805
6062
else
5806
 
  echo "$as_me: failed program was:" >&5
 
6063
  $as_echo "$as_me: failed program was:" >&5
5807
6064
sed 's/^/| /' conftest.$ac_ext >&5
5808
6065
 
5809
6066
  # Broken: fails on valid input.
5827
6084
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5828
6085
  *) ac_try_echo=$ac_try;;
5829
6086
esac
5830
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6087
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6088
$as_echo "$ac_try_echo") >&5
5831
6089
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5832
6090
  ac_status=$?
5833
6091
  grep -v '^ *+' conftest.er1 >conftest.err
5834
6092
  rm -f conftest.er1
5835
6093
  cat conftest.err >&5
5836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6094
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837
6095
  (exit $ac_status); } >/dev/null && {
5838
6096
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5839
6097
         test ! -s conftest.err
5841
6099
  # Broken: success on invalid input.
5842
6100
continue
5843
6101
else
5844
 
  echo "$as_me: failed program was:" >&5
 
6102
  $as_echo "$as_me: failed program was:" >&5
5845
6103
sed 's/^/| /' conftest.$ac_ext >&5
5846
6104
 
5847
6105
  # Passes both tests.
5857
6115
if $ac_preproc_ok; then
5858
6116
  :
5859
6117
else
5860
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
6118
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6119
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6120
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5861
6121
See \`config.log' for more details." >&5
5862
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
6122
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5863
6123
See \`config.log' for more details." >&2;}
5864
 
   { (exit 1); exit 1; }; }
 
6124
   { (exit 1); exit 1; }; }; }
5865
6125
fi
5866
6126
 
5867
6127
ac_ext=cpp
5882
6142
  do
5883
6143
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5884
6144
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5885
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5886
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6145
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6146
$as_echo_n "checking for $ac_word... " >&6; }
5887
6147
if test "${ac_cv_prog_F77+set}" = set; then
5888
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6148
  $as_echo_n "(cached) " >&6
5889
6149
else
5890
6150
  if test -n "$F77"; then
5891
6151
  ac_cv_prog_F77="$F77" # Let the user override the test.
5898
6158
  for ac_exec_ext in '' $ac_executable_extensions; do
5899
6159
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5900
6160
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5901
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6161
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5902
6162
    break 2
5903
6163
  fi
5904
6164
done
5909
6169
fi
5910
6170
F77=$ac_cv_prog_F77
5911
6171
if test -n "$F77"; then
5912
 
  { echo "$as_me:$LINENO: result: $F77" >&5
5913
 
echo "${ECHO_T}$F77" >&6; }
 
6172
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
 
6173
$as_echo "$F77" >&6; }
5914
6174
else
5915
 
  { echo "$as_me:$LINENO: result: no" >&5
5916
 
echo "${ECHO_T}no" >&6; }
 
6175
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6176
$as_echo "no" >&6; }
5917
6177
fi
5918
6178
 
5919
6179
 
5926
6186
do
5927
6187
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5928
6188
set dummy $ac_prog; ac_word=$2
5929
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5930
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6189
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6190
$as_echo_n "checking for $ac_word... " >&6; }
5931
6191
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5932
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6192
  $as_echo_n "(cached) " >&6
5933
6193
else
5934
6194
  if test -n "$ac_ct_F77"; then
5935
6195
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5942
6202
  for ac_exec_ext in '' $ac_executable_extensions; do
5943
6203
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5944
6204
    ac_cv_prog_ac_ct_F77="$ac_prog"
5945
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6205
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5946
6206
    break 2
5947
6207
  fi
5948
6208
done
5953
6213
fi
5954
6214
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5955
6215
if test -n "$ac_ct_F77"; then
5956
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5957
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
 
6216
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6217
$as_echo "$ac_ct_F77" >&6; }
5958
6218
else
5959
 
  { echo "$as_me:$LINENO: result: no" >&5
5960
 
echo "${ECHO_T}no" >&6; }
 
6219
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6220
$as_echo "no" >&6; }
5961
6221
fi
5962
6222
 
5963
6223
 
5969
6229
  else
5970
6230
    case $cross_compiling:$ac_tool_warned in
5971
6231
yes:)
5972
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5973
 
whose name does not start with the host triplet.  If you think this
5974
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5975
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5976
 
whose name does not start with the host triplet.  If you think this
5977
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6232
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6233
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5978
6234
ac_tool_warned=yes ;;
5979
6235
esac
5980
6236
    F77=$ac_ct_F77
5983
6239
 
5984
6240
 
5985
6241
# Provide some information about the compiler.
5986
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5987
 
ac_compiler=`set X $ac_compile; echo $2`
 
6242
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 
6243
set X $ac_compile
 
6244
ac_compiler=$2
5988
6245
{ (ac_try="$ac_compiler --version >&5"
5989
6246
case "(($ac_try" in
5990
6247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5991
6248
  *) ac_try_echo=$ac_try;;
5992
6249
esac
5993
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6250
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6251
$as_echo "$ac_try_echo") >&5
5994
6252
  (eval "$ac_compiler --version >&5") 2>&5
5995
6253
  ac_status=$?
5996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6254
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997
6255
  (exit $ac_status); }
5998
6256
{ (ac_try="$ac_compiler -v >&5"
5999
6257
case "(($ac_try" in
6000
6258
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6001
6259
  *) ac_try_echo=$ac_try;;
6002
6260
esac
6003
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6261
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6262
$as_echo "$ac_try_echo") >&5
6004
6263
  (eval "$ac_compiler -v >&5") 2>&5
6005
6264
  ac_status=$?
6006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6265
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007
6266
  (exit $ac_status); }
6008
6267
{ (ac_try="$ac_compiler -V >&5"
6009
6268
case "(($ac_try" in
6010
6269
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6011
6270
  *) ac_try_echo=$ac_try;;
6012
6271
esac
6013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6272
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6273
$as_echo "$ac_try_echo") >&5
6014
6274
  (eval "$ac_compiler -V >&5") 2>&5
6015
6275
  ac_status=$?
6016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6276
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017
6277
  (exit $ac_status); }
6018
6278
rm -f a.out
6019
6279
 
6021
6281
# input file.  (Note that this only needs to work for GNU compilers.)
6022
6282
ac_save_ext=$ac_ext
6023
6283
ac_ext=F
6024
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6025
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
 
6284
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6285
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6026
6286
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6027
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6287
  $as_echo_n "(cached) " >&6
6028
6288
else
6029
6289
  cat >conftest.$ac_ext <<_ACEOF
6030
6290
      program main
6040
6300
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6041
6301
  *) ac_try_echo=$ac_try;;
6042
6302
esac
6043
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6303
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6304
$as_echo "$ac_try_echo") >&5
6044
6305
  (eval "$ac_compile") 2>conftest.er1
6045
6306
  ac_status=$?
6046
6307
  grep -v '^ *+' conftest.er1 >conftest.err
6047
6308
  rm -f conftest.er1
6048
6309
  cat conftest.err >&5
6049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6310
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050
6311
  (exit $ac_status); } && {
6051
6312
         test -z "$ac_f77_werror_flag" ||
6052
6313
         test ! -s conftest.err
6053
6314
       } && test -s conftest.$ac_objext; then
6054
6315
  ac_compiler_gnu=yes
6055
6316
else
6056
 
  echo "$as_me: failed program was:" >&5
 
6317
  $as_echo "$as_me: failed program was:" >&5
6057
6318
sed 's/^/| /' conftest.$ac_ext >&5
6058
6319
 
6059
6320
        ac_compiler_gnu=no
6063
6324
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6064
6325
 
6065
6326
fi
6066
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6067
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
 
6327
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6328
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6068
6329
ac_ext=$ac_save_ext
6069
6330
ac_test_FFLAGS=${FFLAGS+set}
6070
6331
ac_save_FFLAGS=$FFLAGS
6071
6332
FFLAGS=
6072
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6073
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
 
6333
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6334
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
6074
6335
if test "${ac_cv_prog_f77_g+set}" = set; then
6075
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6336
  $as_echo_n "(cached) " >&6
6076
6337
else
6077
6338
  FFLAGS=-g
6078
6339
cat >conftest.$ac_ext <<_ACEOF
6086
6347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6087
6348
  *) ac_try_echo=$ac_try;;
6088
6349
esac
6089
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6350
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6351
$as_echo "$ac_try_echo") >&5
6090
6352
  (eval "$ac_compile") 2>conftest.er1
6091
6353
  ac_status=$?
6092
6354
  grep -v '^ *+' conftest.er1 >conftest.err
6093
6355
  rm -f conftest.er1
6094
6356
  cat conftest.err >&5
6095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6357
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096
6358
  (exit $ac_status); } && {
6097
6359
         test -z "$ac_f77_werror_flag" ||
6098
6360
         test ! -s conftest.err
6099
6361
       } && test -s conftest.$ac_objext; then
6100
6362
  ac_cv_prog_f77_g=yes
6101
6363
else
6102
 
  echo "$as_me: failed program was:" >&5
 
6364
  $as_echo "$as_me: failed program was:" >&5
6103
6365
sed 's/^/| /' conftest.$ac_ext >&5
6104
6366
 
6105
6367
        ac_cv_prog_f77_g=no
6108
6370
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6109
6371
 
6110
6372
fi
6111
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6112
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
 
6373
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6374
$as_echo "$ac_cv_prog_f77_g" >&6; }
6113
6375
if test "$ac_test_FFLAGS" = set; then
6114
6376
  FFLAGS=$ac_save_FFLAGS
6115
6377
elif test $ac_cv_prog_f77_g = yes; then
6126
6388
  fi
6127
6389
fi
6128
6390
 
6129
 
G77=`test $ac_compiler_gnu = yes && echo yes`
 
6391
if test $ac_compiler_gnu = yes; then
 
6392
  G77=yes
 
6393
else
 
6394
  G77=
 
6395
fi
6130
6396
ac_ext=c
6131
6397
ac_cpp='$CPP $CPPFLAGS'
6132
6398
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6136
6402
 
6137
6403
 
6138
6404
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6139
 
 
6140
6405
# find the maximum length of command line arguments
6141
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6142
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
 
6406
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6407
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6143
6408
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6409
  $as_echo_n "(cached) " >&6
6145
6410
else
6146
6411
    i=0
6147
6412
  teststring="ABCD"
6223
6488
    fi
6224
6489
    ;;
6225
6490
  *)
6226
 
    # If test is not a shell built-in, we'll probably end up computing a
6227
 
    # maximum length that is only half of the actual maximum length, but
6228
 
    # we can't tell.
6229
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6230
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6491
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6492
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6493
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6494
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6495
    else
 
6496
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6497
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6231
6498
               = "XX$teststring") >/dev/null 2>&1 &&
6232
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6233
 
            lt_cv_sys_max_cmd_len=$new_result &&
6234
 
            test $i != 17 # 1/2 MB should be enough
6235
 
    do
6236
 
      i=`expr $i + 1`
6237
 
      teststring=$teststring$teststring
6238
 
    done
6239
 
    teststring=
6240
 
    # Add a significant safety factor because C++ compilers can tack on massive
6241
 
    # amounts of additional arguments before passing them to the linker.
6242
 
    # It appears as though 1/2 is a usable value.
6243
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6499
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6500
              lt_cv_sys_max_cmd_len=$new_result &&
 
6501
              test $i != 17 # 1/2 MB should be enough
 
6502
      do
 
6503
        i=`expr $i + 1`
 
6504
        teststring=$teststring$teststring
 
6505
      done
 
6506
      teststring=
 
6507
      # Add a significant safety factor because C++ compilers can tack on massive
 
6508
      # amounts of additional arguments before passing them to the linker.
 
6509
      # It appears as though 1/2 is a usable value.
 
6510
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6511
    fi
6244
6512
    ;;
6245
6513
  esac
6246
6514
 
6247
6515
fi
6248
6516
 
6249
6517
if test -n $lt_cv_sys_max_cmd_len ; then
6250
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6251
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
6518
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6519
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6252
6520
else
6253
 
  { echo "$as_me:$LINENO: result: none" >&5
6254
 
echo "${ECHO_T}none" >&6; }
 
6521
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6522
$as_echo "none" >&6; }
6255
6523
fi
6256
6524
 
6257
6525
 
6258
6526
 
6259
6527
 
 
6528
 
6260
6529
# Check for command to grab the raw symbol name followed by C symbol from nm.
6261
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6262
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
6530
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6531
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6263
6532
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6264
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6533
  $as_echo_n "(cached) " >&6
6265
6534
else
6266
6535
 
6267
6536
# These are sane defaults that work on at least a few old systems.
6294
6563
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6295
6564
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6296
6565
  ;;
6297
 
linux*)
 
6566
linux* | k*bsd*-gnu)
6298
6567
  if test "$host_cpu" = ia64; then
6299
6568
    symcode='[ABCDGIRSTW]'
6300
6569
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6366
6635
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6367
6636
  (eval $ac_compile) 2>&5
6368
6637
  ac_status=$?
6369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6638
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370
6639
  (exit $ac_status); }; then
6371
6640
    # Now try to grab the symbols.
6372
6641
    nlist=conftest.nm
6373
6642
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6374
6643
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6375
6644
  ac_status=$?
6376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6645
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377
6646
  (exit $ac_status); } && test -s "$nlist"; then
6378
6647
      # Try sorting and uniquifying the output.
6379
6648
      if sort "$nlist" | uniq > "$nlist"T; then
6428
6697
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6429
6698
  (eval $ac_link) 2>&5
6430
6699
  ac_status=$?
6431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6700
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432
6701
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6433
6702
            pipe_works=yes
6434
6703
          fi
6447
6716
    echo "$progname: failed program was:" >&5
6448
6717
    cat conftest.$ac_ext >&5
6449
6718
  fi
6450
 
  rm -f conftest* conftst*
 
6719
  rm -rf conftest* conftst*
6451
6720
 
6452
6721
  # Do not use the global_symbol_pipe unless it works.
6453
6722
  if test "$pipe_works" = yes; then
6463
6732
  lt_cv_sys_global_symbol_to_cdecl=
6464
6733
fi
6465
6734
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6466
 
  { echo "$as_me:$LINENO: result: failed" >&5
6467
 
echo "${ECHO_T}failed" >&6; }
 
6735
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6736
$as_echo "failed" >&6; }
6468
6737
else
6469
 
  { echo "$as_me:$LINENO: result: ok" >&5
6470
 
echo "${ECHO_T}ok" >&6; }
 
6738
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6739
$as_echo "ok" >&6; }
6471
6740
fi
6472
6741
 
6473
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6474
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
6742
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
6743
$as_echo_n "checking for objdir... " >&6; }
6475
6744
if test "${lt_cv_objdir+set}" = set; then
6476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6745
  $as_echo_n "(cached) " >&6
6477
6746
else
6478
6747
  rm -f .libs 2>/dev/null
6479
6748
mkdir .libs 2>/dev/null
6485
6754
fi
6486
6755
rmdir .libs 2>/dev/null
6487
6756
fi
6488
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6489
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
6757
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6758
$as_echo "$lt_cv_objdir" >&6; }
6490
6759
objdir=$lt_cv_objdir
6491
6760
 
6492
6761
 
6537
6806
if test -n "$ac_tool_prefix"; then
6538
6807
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6539
6808
set dummy ${ac_tool_prefix}ar; ac_word=$2
6540
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6541
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6809
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6810
$as_echo_n "checking for $ac_word... " >&6; }
6542
6811
if test "${ac_cv_prog_AR+set}" = set; then
6543
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6812
  $as_echo_n "(cached) " >&6
6544
6813
else
6545
6814
  if test -n "$AR"; then
6546
6815
  ac_cv_prog_AR="$AR" # Let the user override the test.
6553
6822
  for ac_exec_ext in '' $ac_executable_extensions; do
6554
6823
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555
6824
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6556
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6825
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6557
6826
    break 2
6558
6827
  fi
6559
6828
done
6564
6833
fi
6565
6834
AR=$ac_cv_prog_AR
6566
6835
if test -n "$AR"; then
6567
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6568
 
echo "${ECHO_T}$AR" >&6; }
 
6836
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6837
$as_echo "$AR" >&6; }
6569
6838
else
6570
 
  { echo "$as_me:$LINENO: result: no" >&5
6571
 
echo "${ECHO_T}no" >&6; }
 
6839
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6840
$as_echo "no" >&6; }
6572
6841
fi
6573
6842
 
6574
6843
 
6577
6846
  ac_ct_AR=$AR
6578
6847
  # Extract the first word of "ar", so it can be a program name with args.
6579
6848
set dummy ar; ac_word=$2
6580
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6581
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6849
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6850
$as_echo_n "checking for $ac_word... " >&6; }
6582
6851
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6852
  $as_echo_n "(cached) " >&6
6584
6853
else
6585
6854
  if test -n "$ac_ct_AR"; then
6586
6855
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6593
6862
  for ac_exec_ext in '' $ac_executable_extensions; do
6594
6863
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6595
6864
    ac_cv_prog_ac_ct_AR="ar"
6596
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6865
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6597
6866
    break 2
6598
6867
  fi
6599
6868
done
6604
6873
fi
6605
6874
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6606
6875
if test -n "$ac_ct_AR"; then
6607
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6608
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
6876
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6877
$as_echo "$ac_ct_AR" >&6; }
6609
6878
else
6610
 
  { echo "$as_me:$LINENO: result: no" >&5
6611
 
echo "${ECHO_T}no" >&6; }
 
6879
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6880
$as_echo "no" >&6; }
6612
6881
fi
6613
6882
 
6614
6883
  if test "x$ac_ct_AR" = x; then
6616
6885
  else
6617
6886
    case $cross_compiling:$ac_tool_warned in
6618
6887
yes:)
6619
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6620
 
whose name does not start with the host triplet.  If you think this
6621
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6622
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6623
 
whose name does not start with the host triplet.  If you think this
6624
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6888
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6889
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6625
6890
ac_tool_warned=yes ;;
6626
6891
esac
6627
6892
    AR=$ac_ct_AR
6633
6898
if test -n "$ac_tool_prefix"; then
6634
6899
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6635
6900
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6636
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6637
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6901
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6902
$as_echo_n "checking for $ac_word... " >&6; }
6638
6903
if test "${ac_cv_prog_RANLIB+set}" = set; then
6639
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6904
  $as_echo_n "(cached) " >&6
6640
6905
else
6641
6906
  if test -n "$RANLIB"; then
6642
6907
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6649
6914
  for ac_exec_ext in '' $ac_executable_extensions; do
6650
6915
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6651
6916
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6652
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6917
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6653
6918
    break 2
6654
6919
  fi
6655
6920
done
6660
6925
fi
6661
6926
RANLIB=$ac_cv_prog_RANLIB
6662
6927
if test -n "$RANLIB"; then
6663
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6664
 
echo "${ECHO_T}$RANLIB" >&6; }
 
6928
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6929
$as_echo "$RANLIB" >&6; }
6665
6930
else
6666
 
  { echo "$as_me:$LINENO: result: no" >&5
6667
 
echo "${ECHO_T}no" >&6; }
 
6931
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6932
$as_echo "no" >&6; }
6668
6933
fi
6669
6934
 
6670
6935
 
6673
6938
  ac_ct_RANLIB=$RANLIB
6674
6939
  # Extract the first word of "ranlib", so it can be a program name with args.
6675
6940
set dummy ranlib; ac_word=$2
6676
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6677
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6941
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6942
$as_echo_n "checking for $ac_word... " >&6; }
6678
6943
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6679
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6944
  $as_echo_n "(cached) " >&6
6680
6945
else
6681
6946
  if test -n "$ac_ct_RANLIB"; then
6682
6947
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6689
6954
  for ac_exec_ext in '' $ac_executable_extensions; do
6690
6955
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6691
6956
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6692
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6957
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6693
6958
    break 2
6694
6959
  fi
6695
6960
done
6700
6965
fi
6701
6966
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6702
6967
if test -n "$ac_ct_RANLIB"; then
6703
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6704
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
6968
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6969
$as_echo "$ac_ct_RANLIB" >&6; }
6705
6970
else
6706
 
  { echo "$as_me:$LINENO: result: no" >&5
6707
 
echo "${ECHO_T}no" >&6; }
 
6971
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6972
$as_echo "no" >&6; }
6708
6973
fi
6709
6974
 
6710
6975
  if test "x$ac_ct_RANLIB" = x; then
6712
6977
  else
6713
6978
    case $cross_compiling:$ac_tool_warned in
6714
6979
yes:)
6715
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6716
 
whose name does not start with the host triplet.  If you think this
6717
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6718
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6719
 
whose name does not start with the host triplet.  If you think this
6720
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6980
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6981
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6721
6982
ac_tool_warned=yes ;;
6722
6983
esac
6723
6984
    RANLIB=$ac_ct_RANLIB
6729
6990
if test -n "$ac_tool_prefix"; then
6730
6991
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6731
6992
set dummy ${ac_tool_prefix}strip; ac_word=$2
6732
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6733
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6993
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6994
$as_echo_n "checking for $ac_word... " >&6; }
6734
6995
if test "${ac_cv_prog_STRIP+set}" = set; then
6735
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6996
  $as_echo_n "(cached) " >&6
6736
6997
else
6737
6998
  if test -n "$STRIP"; then
6738
6999
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6745
7006
  for ac_exec_ext in '' $ac_executable_extensions; do
6746
7007
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6747
7008
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6748
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7009
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6749
7010
    break 2
6750
7011
  fi
6751
7012
done
6756
7017
fi
6757
7018
STRIP=$ac_cv_prog_STRIP
6758
7019
if test -n "$STRIP"; then
6759
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6760
 
echo "${ECHO_T}$STRIP" >&6; }
 
7020
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
7021
$as_echo "$STRIP" >&6; }
6761
7022
else
6762
 
  { echo "$as_me:$LINENO: result: no" >&5
6763
 
echo "${ECHO_T}no" >&6; }
 
7023
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7024
$as_echo "no" >&6; }
6764
7025
fi
6765
7026
 
6766
7027
 
6769
7030
  ac_ct_STRIP=$STRIP
6770
7031
  # Extract the first word of "strip", so it can be a program name with args.
6771
7032
set dummy strip; ac_word=$2
6772
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6773
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7033
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7034
$as_echo_n "checking for $ac_word... " >&6; }
6774
7035
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6775
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7036
  $as_echo_n "(cached) " >&6
6776
7037
else
6777
7038
  if test -n "$ac_ct_STRIP"; then
6778
7039
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6785
7046
  for ac_exec_ext in '' $ac_executable_extensions; do
6786
7047
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6787
7048
    ac_cv_prog_ac_ct_STRIP="strip"
6788
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7049
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6789
7050
    break 2
6790
7051
  fi
6791
7052
done
6796
7057
fi
6797
7058
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6798
7059
if test -n "$ac_ct_STRIP"; then
6799
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6800
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
7060
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7061
$as_echo "$ac_ct_STRIP" >&6; }
6801
7062
else
6802
 
  { echo "$as_me:$LINENO: result: no" >&5
6803
 
echo "${ECHO_T}no" >&6; }
 
7063
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7064
$as_echo "no" >&6; }
6804
7065
fi
6805
7066
 
6806
7067
  if test "x$ac_ct_STRIP" = x; then
6808
7069
  else
6809
7070
    case $cross_compiling:$ac_tool_warned in
6810
7071
yes:)
6811
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6812
 
whose name does not start with the host triplet.  If you think this
6813
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6814
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6815
 
whose name does not start with the host triplet.  If you think this
6816
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7072
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7073
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6817
7074
ac_tool_warned=yes ;;
6818
7075
esac
6819
7076
    STRIP=$ac_ct_STRIP
6845
7102
test -z "$ac_objext" && ac_objext=o
6846
7103
 
6847
7104
# Determine commands to create old-style static archives.
6848
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
7105
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6849
7106
old_postinstall_cmds='chmod 644 $oldlib'
6850
7107
old_postuninstall_cmds=
6851
7108
 
6876
7133
case $deplibs_check_method in
6877
7134
file_magic*)
6878
7135
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6879
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6880
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
7136
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7137
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6881
7138
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6882
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7139
  $as_echo_n "(cached) " >&6
6883
7140
else
6884
7141
  case $MAGIC_CMD in
6885
7142
[\\/*] |  ?:[\\/]*)
6929
7186
 
6930
7187
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6931
7188
if test -n "$MAGIC_CMD"; then
6932
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6933
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7189
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7190
$as_echo "$MAGIC_CMD" >&6; }
6934
7191
else
6935
 
  { echo "$as_me:$LINENO: result: no" >&5
6936
 
echo "${ECHO_T}no" >&6; }
 
7192
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7193
$as_echo "no" >&6; }
6937
7194
fi
6938
7195
 
6939
7196
if test -z "$lt_cv_path_MAGIC_CMD"; then
6940
7197
  if test -n "$ac_tool_prefix"; then
6941
 
    { echo "$as_me:$LINENO: checking for file" >&5
6942
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
7198
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7199
$as_echo_n "checking for file... " >&6; }
6943
7200
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7201
  $as_echo_n "(cached) " >&6
6945
7202
else
6946
7203
  case $MAGIC_CMD in
6947
7204
[\\/*] |  ?:[\\/]*)
6991
7248
 
6992
7249
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6993
7250
if test -n "$MAGIC_CMD"; then
6994
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6995
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7251
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7252
$as_echo "$MAGIC_CMD" >&6; }
6996
7253
else
6997
 
  { echo "$as_me:$LINENO: result: no" >&5
6998
 
echo "${ECHO_T}no" >&6; }
 
7254
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7255
$as_echo "no" >&6; }
6999
7256
fi
7000
7257
 
7001
7258
  else
7007
7264
  ;;
7008
7265
esac
7009
7266
 
 
7267
 
 
7268
  case $host_os in
 
7269
    rhapsody* | darwin*)
 
7270
    if test -n "$ac_tool_prefix"; then
 
7271
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7272
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7273
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7274
$as_echo_n "checking for $ac_word... " >&6; }
 
7275
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7276
  $as_echo_n "(cached) " >&6
 
7277
else
 
7278
  if test -n "$DSYMUTIL"; then
 
7279
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7280
else
 
7281
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7282
for as_dir in $PATH
 
7283
do
 
7284
  IFS=$as_save_IFS
 
7285
  test -z "$as_dir" && as_dir=.
 
7286
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7287
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7288
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7289
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7290
    break 2
 
7291
  fi
 
7292
done
 
7293
done
 
7294
IFS=$as_save_IFS
 
7295
 
 
7296
fi
 
7297
fi
 
7298
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7299
if test -n "$DSYMUTIL"; then
 
7300
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7301
$as_echo "$DSYMUTIL" >&6; }
 
7302
else
 
7303
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7304
$as_echo "no" >&6; }
 
7305
fi
 
7306
 
 
7307
 
 
7308
fi
 
7309
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7310
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7311
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7312
set dummy dsymutil; ac_word=$2
 
7313
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7314
$as_echo_n "checking for $ac_word... " >&6; }
 
7315
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7316
  $as_echo_n "(cached) " >&6
 
7317
else
 
7318
  if test -n "$ac_ct_DSYMUTIL"; then
 
7319
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7320
else
 
7321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7322
for as_dir in $PATH
 
7323
do
 
7324
  IFS=$as_save_IFS
 
7325
  test -z "$as_dir" && as_dir=.
 
7326
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7327
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7328
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7329
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7330
    break 2
 
7331
  fi
 
7332
done
 
7333
done
 
7334
IFS=$as_save_IFS
 
7335
 
 
7336
fi
 
7337
fi
 
7338
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7339
if test -n "$ac_ct_DSYMUTIL"; then
 
7340
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7341
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7342
else
 
7343
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7344
$as_echo "no" >&6; }
 
7345
fi
 
7346
 
 
7347
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7348
    DSYMUTIL=":"
 
7349
  else
 
7350
    case $cross_compiling:$ac_tool_warned in
 
7351
yes:)
 
7352
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7353
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7354
ac_tool_warned=yes ;;
 
7355
esac
 
7356
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7357
  fi
 
7358
else
 
7359
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7360
fi
 
7361
 
 
7362
    if test -n "$ac_tool_prefix"; then
 
7363
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7364
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7365
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7366
$as_echo_n "checking for $ac_word... " >&6; }
 
7367
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7368
  $as_echo_n "(cached) " >&6
 
7369
else
 
7370
  if test -n "$NMEDIT"; then
 
7371
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7372
else
 
7373
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7374
for as_dir in $PATH
 
7375
do
 
7376
  IFS=$as_save_IFS
 
7377
  test -z "$as_dir" && as_dir=.
 
7378
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7379
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7380
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7381
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7382
    break 2
 
7383
  fi
 
7384
done
 
7385
done
 
7386
IFS=$as_save_IFS
 
7387
 
 
7388
fi
 
7389
fi
 
7390
NMEDIT=$ac_cv_prog_NMEDIT
 
7391
if test -n "$NMEDIT"; then
 
7392
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7393
$as_echo "$NMEDIT" >&6; }
 
7394
else
 
7395
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7396
$as_echo "no" >&6; }
 
7397
fi
 
7398
 
 
7399
 
 
7400
fi
 
7401
if test -z "$ac_cv_prog_NMEDIT"; then
 
7402
  ac_ct_NMEDIT=$NMEDIT
 
7403
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7404
set dummy nmedit; ac_word=$2
 
7405
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7406
$as_echo_n "checking for $ac_word... " >&6; }
 
7407
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7408
  $as_echo_n "(cached) " >&6
 
7409
else
 
7410
  if test -n "$ac_ct_NMEDIT"; then
 
7411
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7412
else
 
7413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7414
for as_dir in $PATH
 
7415
do
 
7416
  IFS=$as_save_IFS
 
7417
  test -z "$as_dir" && as_dir=.
 
7418
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7420
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7421
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7422
    break 2
 
7423
  fi
 
7424
done
 
7425
done
 
7426
IFS=$as_save_IFS
 
7427
 
 
7428
fi
 
7429
fi
 
7430
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7431
if test -n "$ac_ct_NMEDIT"; then
 
7432
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7433
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7434
else
 
7435
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7436
$as_echo "no" >&6; }
 
7437
fi
 
7438
 
 
7439
  if test "x$ac_ct_NMEDIT" = x; then
 
7440
    NMEDIT=":"
 
7441
  else
 
7442
    case $cross_compiling:$ac_tool_warned in
 
7443
yes:)
 
7444
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7445
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7446
ac_tool_warned=yes ;;
 
7447
esac
 
7448
    NMEDIT=$ac_ct_NMEDIT
 
7449
  fi
 
7450
else
 
7451
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7452
fi
 
7453
 
 
7454
 
 
7455
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7456
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7457
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7458
  $as_echo_n "(cached) " >&6
 
7459
else
 
7460
  lt_cv_apple_cc_single_mod=no
 
7461
      if test -z "${LT_MULTI_MODULE}"; then
 
7462
   # By default we will add the -single_module flag. You can override
 
7463
   # by either setting the environment variable LT_MULTI_MODULE
 
7464
   # non-empty at configure time, or by adding -multi_module to the
 
7465
   # link flags.
 
7466
   echo "int foo(void){return 1;}" > conftest.c
 
7467
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7468
     -dynamiclib ${wl}-single_module conftest.c
 
7469
   if test -f libconftest.dylib; then
 
7470
     lt_cv_apple_cc_single_mod=yes
 
7471
     rm -rf libconftest.dylib*
 
7472
   fi
 
7473
   rm conftest.c
 
7474
      fi
 
7475
fi
 
7476
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7477
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7478
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7479
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7480
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7481
  $as_echo_n "(cached) " >&6
 
7482
else
 
7483
  lt_cv_ld_exported_symbols_list=no
 
7484
      save_LDFLAGS=$LDFLAGS
 
7485
      echo "_main" > conftest.sym
 
7486
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7487
      cat >conftest.$ac_ext <<_ACEOF
 
7488
/* confdefs.h.  */
 
7489
_ACEOF
 
7490
cat confdefs.h >>conftest.$ac_ext
 
7491
cat >>conftest.$ac_ext <<_ACEOF
 
7492
/* end confdefs.h.  */
 
7493
 
 
7494
int
 
7495
main ()
 
7496
{
 
7497
 
 
7498
  ;
 
7499
  return 0;
 
7500
}
 
7501
_ACEOF
 
7502
rm -f conftest.$ac_objext conftest$ac_exeext
 
7503
if { (ac_try="$ac_link"
 
7504
case "(($ac_try" in
 
7505
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7506
  *) ac_try_echo=$ac_try;;
 
7507
esac
 
7508
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7509
$as_echo "$ac_try_echo") >&5
 
7510
  (eval "$ac_link") 2>conftest.er1
 
7511
  ac_status=$?
 
7512
  grep -v '^ *+' conftest.er1 >conftest.err
 
7513
  rm -f conftest.er1
 
7514
  cat conftest.err >&5
 
7515
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7516
  (exit $ac_status); } && {
 
7517
         test -z "$ac_c_werror_flag" ||
 
7518
         test ! -s conftest.err
 
7519
       } && test -s conftest$ac_exeext && {
 
7520
         test "$cross_compiling" = yes ||
 
7521
         $as_test_x conftest$ac_exeext
 
7522
       }; then
 
7523
  lt_cv_ld_exported_symbols_list=yes
 
7524
else
 
7525
  $as_echo "$as_me: failed program was:" >&5
 
7526
sed 's/^/| /' conftest.$ac_ext >&5
 
7527
 
 
7528
        lt_cv_ld_exported_symbols_list=no
 
7529
fi
 
7530
 
 
7531
rm -rf conftest.dSYM
 
7532
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7533
      conftest$ac_exeext conftest.$ac_ext
 
7534
   LDFLAGS="$save_LDFLAGS"
 
7535
 
 
7536
fi
 
7537
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7538
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7539
    case $host_os in
 
7540
    rhapsody* | darwin1.[0123])
 
7541
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7542
    darwin1.*)
 
7543
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7544
    darwin*)
 
7545
      # if running on 10.5 or later, the deployment target defaults
 
7546
      # to the OS version, if on x86, and 10.4, the deployment
 
7547
      # target defaults to 10.4. Don't you love it?
 
7548
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7549
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7550
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7551
   10.[012]*)
 
7552
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7553
   10.*)
 
7554
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7555
      esac
 
7556
    ;;
 
7557
  esac
 
7558
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7559
      _lt_dar_single_mod='$single_module'
 
7560
    fi
 
7561
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7562
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7563
    else
 
7564
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7565
    fi
 
7566
    if test "$DSYMUTIL" != ":"; then
 
7567
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7568
    else
 
7569
      _lt_dsymutil=
 
7570
    fi
 
7571
    ;;
 
7572
  esac
 
7573
 
 
7574
 
7010
7575
enable_dlopen=no
7011
7576
enable_win32_dll=no
7012
7577
 
7045
7610
objext=$objext
7046
7611
 
7047
7612
# Code to be used in simple compile tests
7048
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7613
lt_simple_compile_test_code="int some_variable = 0;"
7049
7614
 
7050
7615
# Code to be used in simple link tests
7051
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7616
lt_simple_link_test_code='int main(){return(0);}'
7052
7617
 
7053
7618
 
7054
7619
# If no C compiler was specified, use CC.
7063
7628
 
7064
7629
# save warnings/boilerplate of simple test code
7065
7630
ac_outfile=conftest.$ac_objext
7066
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7631
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7067
7632
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7068
7633
_lt_compiler_boilerplate=`cat conftest.err`
7069
7634
$rm conftest*
7070
7635
 
7071
7636
ac_outfile=conftest.$ac_objext
7072
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7637
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7073
7638
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7074
7639
_lt_linker_boilerplate=`cat conftest.err`
7075
 
$rm conftest*
 
7640
$rm -r conftest*
7076
7641
 
7077
7642
 
7078
7643
 
7082
7647
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7083
7648
 
7084
7649
 
7085
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7086
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
7650
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7651
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7087
7652
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7088
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7653
  $as_echo_n "(cached) " >&6
7089
7654
else
7090
7655
  lt_cv_prog_compiler_rtti_exceptions=no
7091
7656
  ac_outfile=conftest.$ac_objext
7092
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7657
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7093
7658
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7094
7659
   # Insert the option either (1) after the last *FLAGS variable, or
7095
7660
   # (2) before a word containing "conftest.", or (3) at the end.
7100
7665
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7101
7666
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7102
7667
   -e 's:$: $lt_compiler_flag:'`
7103
 
   (eval echo "\"\$as_me:7103: $lt_compile\"" >&5)
 
7668
   (eval echo "\"\$as_me:7668: $lt_compile\"" >&5)
7104
7669
   (eval "$lt_compile" 2>conftest.err)
7105
7670
   ac_status=$?
7106
7671
   cat conftest.err >&5
7107
 
   echo "$as_me:7107: \$? = $ac_status" >&5
 
7672
   echo "$as_me:7672: \$? = $ac_status" >&5
7108
7673
   if (exit $ac_status) && test -s "$ac_outfile"; then
7109
7674
     # The compiler can only warn and ignore the option if not recognized
7110
7675
     # So say no if there are warnings other than the usual output.
7117
7682
   $rm conftest*
7118
7683
 
7119
7684
fi
7120
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7121
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
7685
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7686
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7122
7687
 
7123
7688
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7124
7689
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7132
7697
lt_prog_compiler_pic=
7133
7698
lt_prog_compiler_static=
7134
7699
 
7135
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7136
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
7700
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7701
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7137
7702
 
7138
7703
  if test "$GCC" = yes; then
7139
7704
    lt_prog_compiler_wl='-Wl,'
7155
7720
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7156
7721
      ;;
7157
7722
 
7158
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7723
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7159
7724
      # PIC is the default for these OSes.
7160
7725
      ;;
7161
7726
 
7162
 
    mingw* | pw32* | os2*)
 
7727
    mingw* | cygwin* | pw32* | os2*)
7163
7728
      # This hack is so that the source file can tell whether it is being
7164
7729
      # built for inclusion in a dll (and should export symbols for example).
 
7730
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7731
      # (--disable-auto-import) libraries
7165
7732
      lt_prog_compiler_pic='-DDLL_EXPORT'
7166
7733
      ;;
7167
7734
 
7171
7738
      lt_prog_compiler_pic='-fno-common'
7172
7739
      ;;
7173
7740
 
7174
 
    interix3*)
 
7741
    interix[3-9]*)
7175
7742
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7176
7743
      # Instead, we relocate shared libraries at runtime.
7177
7744
      ;;
7229
7796
       esac
7230
7797
       ;;
7231
7798
 
7232
 
    mingw* | pw32* | os2*)
 
7799
    mingw* | cygwin* | pw32* | os2*)
7233
7800
      # This hack is so that the source file can tell whether it is being
7234
7801
      # built for inclusion in a dll (and should export symbols for example).
7235
7802
      lt_prog_compiler_pic='-DDLL_EXPORT'
7262
7829
      lt_prog_compiler_static='-Bstatic'
7263
7830
      ;;
7264
7831
 
7265
 
    linux*)
 
7832
    linux* | k*bsd*-gnu)
7266
7833
      case $cc_basename in
7267
7834
      icc* | ecc*)
7268
7835
        lt_prog_compiler_wl='-Wl,'
7281
7848
        # All Alpha code is PIC.
7282
7849
        lt_prog_compiler_static='-non_shared'
7283
7850
        ;;
 
7851
      *)
 
7852
        case `$CC -V 2>&1 | sed 5q` in
 
7853
        *Sun\ C*)
 
7854
          # Sun C 5.9
 
7855
          lt_prog_compiler_pic='-KPIC'
 
7856
          lt_prog_compiler_static='-Bstatic'
 
7857
          lt_prog_compiler_wl='-Wl,'
 
7858
          ;;
 
7859
        *Sun\ F*)
 
7860
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7861
          lt_prog_compiler_pic='-KPIC'
 
7862
          lt_prog_compiler_static='-Bstatic'
 
7863
          lt_prog_compiler_wl=''
 
7864
          ;;
 
7865
        esac
 
7866
        ;;
7284
7867
      esac
7285
7868
      ;;
7286
7869
 
7290
7873
      lt_prog_compiler_static='-non_shared'
7291
7874
      ;;
7292
7875
 
 
7876
    rdos*)
 
7877
      lt_prog_compiler_static='-non_shared'
 
7878
      ;;
 
7879
 
7293
7880
    solaris*)
7294
7881
      lt_prog_compiler_pic='-KPIC'
7295
7882
      lt_prog_compiler_static='-Bstatic'
7342
7929
    esac
7343
7930
  fi
7344
7931
 
7345
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7346
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
7932
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7933
$as_echo "$lt_prog_compiler_pic" >&6; }
7347
7934
 
7348
7935
#
7349
7936
# Check to make sure the PIC flag actually works.
7350
7937
#
7351
7938
if test -n "$lt_prog_compiler_pic"; then
7352
7939
 
7353
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7354
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7355
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7356
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7940
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7941
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
7942
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7943
  $as_echo_n "(cached) " >&6
7357
7944
else
7358
 
  lt_prog_compiler_pic_works=no
 
7945
  lt_cv_prog_compiler_pic_works=no
7359
7946
  ac_outfile=conftest.$ac_objext
7360
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7947
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7361
7948
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7362
7949
   # Insert the option either (1) after the last *FLAGS variable, or
7363
7950
   # (2) before a word containing "conftest.", or (3) at the end.
7368
7955
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7369
7956
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7370
7957
   -e 's:$: $lt_compiler_flag:'`
7371
 
   (eval echo "\"\$as_me:7371: $lt_compile\"" >&5)
 
7958
   (eval echo "\"\$as_me:7958: $lt_compile\"" >&5)
7372
7959
   (eval "$lt_compile" 2>conftest.err)
7373
7960
   ac_status=$?
7374
7961
   cat conftest.err >&5
7375
 
   echo "$as_me:7375: \$? = $ac_status" >&5
 
7962
   echo "$as_me:7962: \$? = $ac_status" >&5
7376
7963
   if (exit $ac_status) && test -s "$ac_outfile"; then
7377
7964
     # The compiler can only warn and ignore the option if not recognized
7378
7965
     # So say no if there are warnings other than the usual output.
7379
7966
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7380
7967
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7381
7968
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7382
 
       lt_prog_compiler_pic_works=yes
 
7969
       lt_cv_prog_compiler_pic_works=yes
7383
7970
     fi
7384
7971
   fi
7385
7972
   $rm conftest*
7386
7973
 
7387
7974
fi
7388
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7389
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
7975
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7976
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7390
7977
 
7391
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
7978
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7392
7979
    case $lt_prog_compiler_pic in
7393
7980
     "" | " "*) ;;
7394
7981
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7413
8000
# Check to make sure the static flag actually works.
7414
8001
#
7415
8002
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7416
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7417
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7418
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8003
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8004
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8005
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8006
  $as_echo_n "(cached) " >&6
7420
8007
else
7421
 
  lt_prog_compiler_static_works=no
 
8008
  lt_cv_prog_compiler_static_works=no
7422
8009
   save_LDFLAGS="$LDFLAGS"
7423
8010
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7424
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8011
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7425
8012
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7426
8013
     # The linker can only warn and ignore the option if not recognized
7427
8014
     # So say no if there are warnings
7431
8018
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7432
8019
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7433
8020
       if diff conftest.exp conftest.er2 >/dev/null; then
7434
 
         lt_prog_compiler_static_works=yes
 
8021
         lt_cv_prog_compiler_static_works=yes
7435
8022
       fi
7436
8023
     else
7437
 
       lt_prog_compiler_static_works=yes
 
8024
       lt_cv_prog_compiler_static_works=yes
7438
8025
     fi
7439
8026
   fi
7440
 
   $rm conftest*
 
8027
   $rm -r conftest*
7441
8028
   LDFLAGS="$save_LDFLAGS"
7442
8029
 
7443
8030
fi
7444
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7445
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
8031
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8032
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7446
8033
 
7447
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8034
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7448
8035
    :
7449
8036
else
7450
8037
    lt_prog_compiler_static=
7451
8038
fi
7452
8039
 
7453
8040
 
7454
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7455
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
8041
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8042
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7456
8043
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7457
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8044
  $as_echo_n "(cached) " >&6
7458
8045
else
7459
8046
  lt_cv_prog_compiler_c_o=no
7460
8047
   $rm -r conftest 2>/dev/null
7461
8048
   mkdir conftest
7462
8049
   cd conftest
7463
8050
   mkdir out
7464
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8051
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7465
8052
 
7466
8053
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7467
8054
   # Insert the option either (1) after the last *FLAGS variable, or
7472
8059
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7473
8060
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7474
8061
   -e 's:$: $lt_compiler_flag:'`
7475
 
   (eval echo "\"\$as_me:7475: $lt_compile\"" >&5)
 
8062
   (eval echo "\"\$as_me:8062: $lt_compile\"" >&5)
7476
8063
   (eval "$lt_compile" 2>out/conftest.err)
7477
8064
   ac_status=$?
7478
8065
   cat out/conftest.err >&5
7479
 
   echo "$as_me:7479: \$? = $ac_status" >&5
 
8066
   echo "$as_me:8066: \$? = $ac_status" >&5
7480
8067
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7481
8068
   then
7482
8069
     # The compiler can only warn and ignore the option if not recognized
7498
8085
   $rm conftest*
7499
8086
 
7500
8087
fi
7501
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7502
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
8088
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8089
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7503
8090
 
7504
8091
 
7505
8092
hard_links="nottested"
7506
8093
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7507
8094
  # do not overwrite the value of need_locks provided by the user
7508
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7509
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
8095
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8096
$as_echo_n "checking if we can lock with hard links... " >&6; }
7510
8097
  hard_links=yes
7511
8098
  $rm conftest*
7512
8099
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7513
8100
  touch conftest.a
7514
8101
  ln conftest.a conftest.b 2>&5 || hard_links=no
7515
8102
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7516
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7517
 
echo "${ECHO_T}$hard_links" >&6; }
 
8103
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8104
$as_echo "$hard_links" >&6; }
7518
8105
  if test "$hard_links" = no; then
7519
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7520
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8106
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8107
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7521
8108
    need_locks=warn
7522
8109
  fi
7523
8110
else
7524
8111
  need_locks=no
7525
8112
fi
7526
8113
 
7527
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7528
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
8114
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8115
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7529
8116
 
7530
8117
  runpath_var=
7531
8118
  allow_undefined_flag=
7556
8143
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7557
8144
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7558
8145
  # as well as any symbol that contains `d'.
7559
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
8146
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7560
8147
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7561
8148
  # platforms (ab)use it in PIC code, but their linkers get confused if
7562
8149
  # the symbol is explicitly referenced.  Since portable code cannot
7563
8150
  # rely on this symbol name, it's probably fine to never include it in
7564
8151
  # preloaded symbol tables.
 
8152
  # Exclude shared library initialization/finalization symbols.
7565
8153
  extract_expsyms_cmds=
7566
8154
  # Just being paranoid about ensuring that cc_basename is set.
7567
8155
  for cc_temp in $compiler""; do
7620
8208
 
7621
8209
    # See if GNU ld supports shared libraries.
7622
8210
    case $host_os in
7623
 
    aix3* | aix4* | aix5*)
 
8211
    aix[3-9]*)
7624
8212
      # On AIX/PPC, the GNU linker is very broken
7625
8213
      if test "$host_cpu" != ia64; then
7626
8214
        ld_shlibs=no
7668
8256
      allow_undefined_flag=unsupported
7669
8257
      always_export_symbols=no
7670
8258
      enable_shared_with_static_runtimes=yes
7671
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8259
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7672
8260
 
7673
8261
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7674
8262
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7686
8274
      fi
7687
8275
      ;;
7688
8276
 
7689
 
    interix3*)
 
8277
    interix[3-9]*)
7690
8278
      hardcode_direct=no
7691
8279
      hardcode_shlibpath_var=no
7692
8280
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7701
8289
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7702
8290
      ;;
7703
8291
 
7704
 
    linux*)
 
8292
    gnu* | linux* | k*bsd*-gnu)
7705
8293
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7706
8294
        tmp_addflag=
7707
8295
        case $cc_basename,$host_cpu in
7719
8307
        ifc* | ifort*)                  # Intel Fortran compiler
7720
8308
          tmp_addflag=' -nofor_main' ;;
7721
8309
        esac
7722
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8310
        case `$CC -V 2>&1 | sed 5q` in
 
8311
        *Sun\ C*)                       # Sun C 5.9
 
8312
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8313
          tmp_sharedflag='-G' ;;
 
8314
        *Sun\ F*)                       # Sun Fortran 8.3
 
8315
          tmp_sharedflag='-G' ;;
 
8316
        *)
 
8317
          tmp_sharedflag='-shared' ;;
 
8318
        esac
 
8319
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7723
8320
 
7724
8321
        if test $supports_anon_versioning = yes; then
7725
8322
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7726
8323
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7727
8324
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7728
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8325
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7729
8326
        fi
7730
8327
      else
7731
8328
        ld_shlibs=no
7830
8427
      fi
7831
8428
      ;;
7832
8429
 
7833
 
    aix4* | aix5*)
 
8430
    aix[4-9]*)
7834
8431
      if test "$host_cpu" = ia64; then
7835
8432
        # On IA64, the linker does run time linking by default, so we don't
7836
8433
        # have to do anything special.
7850
8447
        # Test if we are trying to use run time linking or normal
7851
8448
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7852
8449
        # need to do runtime linking.
7853
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8450
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7854
8451
          for ld_flag in $LDFLAGS; do
7855
8452
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7856
8453
            aix_use_runtimelinking=yes
7884
8481
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7885
8482
          then
7886
8483
          # We have reworked collect2
7887
 
          hardcode_direct=yes
 
8484
          :
7888
8485
          else
7889
8486
          # We have old collect2
7890
8487
          hardcode_direct=unsupported
7945
8542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7946
8543
  *) ac_try_echo=$ac_try;;
7947
8544
esac
7948
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8545
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8546
$as_echo "$ac_try_echo") >&5
7949
8547
  (eval "$ac_link") 2>conftest.er1
7950
8548
  ac_status=$?
7951
8549
  grep -v '^ *+' conftest.er1 >conftest.err
7952
8550
  rm -f conftest.er1
7953
8551
  cat conftest.err >&5
7954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8552
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955
8553
  (exit $ac_status); } && {
7956
8554
         test -z "$ac_c_werror_flag" ||
7957
8555
         test ! -s conftest.err
7958
 
       } && test -s conftest$ac_exeext &&
7959
 
       $as_test_x conftest$ac_exeext; then
 
8556
       } && test -s conftest$ac_exeext && {
 
8557
         test "$cross_compiling" = yes ||
 
8558
         $as_test_x conftest$ac_exeext
 
8559
       }; then
7960
8560
 
7961
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7962
 
}'`
 
8561
lt_aix_libpath_sed='
 
8562
    /Import File Strings/,/^$/ {
 
8563
        /^0/ {
 
8564
            s/^0  *\(.*\)$/\1/
 
8565
            p
 
8566
        }
 
8567
    }'
 
8568
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7963
8569
# Check for a 64-bit object if we didn't find anything.
7964
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7965
 
}'`; fi
 
8570
if test -z "$aix_libpath"; then
 
8571
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8572
fi
7966
8573
else
7967
 
  echo "$as_me: failed program was:" >&5
 
8574
  $as_echo "$as_me: failed program was:" >&5
7968
8575
sed 's/^/| /' conftest.$ac_ext >&5
7969
8576
 
7970
8577
 
7971
8578
fi
7972
8579
 
 
8580
rm -rf conftest.dSYM
7973
8581
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7974
8582
      conftest$ac_exeext conftest.$ac_ext
7975
8583
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8004
8612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8005
8613
  *) ac_try_echo=$ac_try;;
8006
8614
esac
8007
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8615
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8616
$as_echo "$ac_try_echo") >&5
8008
8617
  (eval "$ac_link") 2>conftest.er1
8009
8618
  ac_status=$?
8010
8619
  grep -v '^ *+' conftest.er1 >conftest.err
8011
8620
  rm -f conftest.er1
8012
8621
  cat conftest.err >&5
8013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8622
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014
8623
  (exit $ac_status); } && {
8015
8624
         test -z "$ac_c_werror_flag" ||
8016
8625
         test ! -s conftest.err
8017
 
       } && test -s conftest$ac_exeext &&
8018
 
       $as_test_x conftest$ac_exeext; then
 
8626
       } && test -s conftest$ac_exeext && {
 
8627
         test "$cross_compiling" = yes ||
 
8628
         $as_test_x conftest$ac_exeext
 
8629
       }; then
8019
8630
 
8020
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8021
 
}'`
 
8631
lt_aix_libpath_sed='
 
8632
    /Import File Strings/,/^$/ {
 
8633
        /^0/ {
 
8634
            s/^0  *\(.*\)$/\1/
 
8635
            p
 
8636
        }
 
8637
    }'
 
8638
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8022
8639
# Check for a 64-bit object if we didn't find anything.
8023
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8024
 
}'`; fi
 
8640
if test -z "$aix_libpath"; then
 
8641
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8642
fi
8025
8643
else
8026
 
  echo "$as_me: failed program was:" >&5
 
8644
  $as_echo "$as_me: failed program was:" >&5
8027
8645
sed 's/^/| /' conftest.$ac_ext >&5
8028
8646
 
8029
8647
 
8030
8648
fi
8031
8649
 
 
8650
rm -rf conftest.dSYM
8032
8651
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8033
8652
      conftest$ac_exeext conftest.$ac_ext
8034
8653
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8075
8694
      # The linker will automatically build a .lib file if we build a DLL.
8076
8695
      old_archive_From_new_cmds='true'
8077
8696
      # FIXME: Should let the user specify the lib program.
8078
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8697
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8079
8698
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8080
8699
      enable_shared_with_static_runtimes=yes
8081
8700
      ;;
8108
8727
      link_all_deplibs=yes
8109
8728
    if test "$GCC" = yes ; then
8110
8729
        output_verbose_link_cmd='echo'
8111
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8112
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8113
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8114
 
      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}'
8115
 
      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}'
 
8730
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8731
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8732
        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}"
 
8733
        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}"
8116
8734
    else
8117
8735
      case $cc_basename in
8118
8736
        xlc*)
8119
8737
         output_verbose_link_cmd='echo'
8120
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8738
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8121
8739
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8122
8740
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8123
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8741
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8124
8742
          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}'
8125
8743
          ;;
8126
8744
       *)
8160
8778
      ;;
8161
8779
 
8162
8780
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8163
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8781
    freebsd* | dragonfly*)
8164
8782
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8165
8783
      hardcode_libdir_flag_spec='-R$libdir'
8166
8784
      hardcode_direct=yes
8282
8900
      ;;
8283
8901
 
8284
8902
    openbsd*)
8285
 
      hardcode_direct=yes
8286
 
      hardcode_shlibpath_var=no
8287
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8288
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8289
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8290
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8291
 
        export_dynamic_flag_spec='${wl}-E'
 
8903
      if test -f /usr/libexec/ld.so; then
 
8904
        hardcode_direct=yes
 
8905
        hardcode_shlibpath_var=no
 
8906
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8907
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8908
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8909
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8910
          export_dynamic_flag_spec='${wl}-E'
 
8911
        else
 
8912
          case $host_os in
 
8913
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8914
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8915
             hardcode_libdir_flag_spec='-R$libdir'
 
8916
             ;;
 
8917
           *)
 
8918
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8919
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8920
             ;;
 
8921
          esac
 
8922
        fi
8292
8923
      else
8293
 
       case $host_os in
8294
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8295
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8296
 
           hardcode_libdir_flag_spec='-R$libdir'
8297
 
           ;;
8298
 
         *)
8299
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8300
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8301
 
           ;;
8302
 
       esac
 
8924
        ld_shlibs=no
8303
8925
      fi
8304
8926
      ;;
8305
8927
 
8358
8980
      case $host_os in
8359
8981
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8360
8982
      *)
8361
 
        # The compiler driver will combine linker options so we
8362
 
        # cannot just pass the convience library names through
8363
 
        # without $wl, iff we do not link with $LD.
8364
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8983
        # The compiler driver will combine and reorder linker options,
 
8984
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8985
        # but is careful enough not to reorder.
8365
8986
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8366
 
        case $wlarc in
8367
 
        '')
8368
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8369
 
        *)
8370
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8371
 
        esac ;;
 
8987
        if test "$GCC" = yes; then
 
8988
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8989
        else
 
8990
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8991
        fi
 
8992
        ;;
8372
8993
      esac
8373
8994
      link_all_deplibs=yes
8374
8995
      ;;
8425
9046
      fi
8426
9047
      ;;
8427
9048
 
8428
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
9049
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8429
9050
      no_undefined_flag='${wl}-z,text'
8430
9051
      archive_cmds_need_lc=no
8431
9052
      hardcode_shlibpath_var=no
8478
9099
    esac
8479
9100
  fi
8480
9101
 
8481
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8482
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
9102
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9103
$as_echo "$ld_shlibs" >&6; }
8483
9104
test "$ld_shlibs" = no && can_build_shared=no
8484
9105
 
8485
9106
#
8499
9120
      # Test whether the compiler implicitly links with -lc since on some
8500
9121
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8501
9122
      # to ld, don't add -lc before -lgcc.
8502
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8503
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
9123
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9124
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8504
9125
      $rm conftest*
8505
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9126
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8506
9127
 
8507
9128
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8508
9129
  (eval $ac_compile) 2>&5
8509
9130
  ac_status=$?
8510
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9131
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511
9132
  (exit $ac_status); } 2>conftest.err; then
8512
9133
        soname=conftest
8513
9134
        lib=conftest
8525
9146
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8526
9147
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8527
9148
  ac_status=$?
8528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9149
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529
9150
  (exit $ac_status); }
8530
9151
        then
8531
9152
          archive_cmds_need_lc=no
8537
9158
        cat conftest.err 1>&5
8538
9159
      fi
8539
9160
      $rm conftest*
8540
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8541
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
9161
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9162
$as_echo "$archive_cmds_need_lc" >&6; }
8542
9163
      ;;
8543
9164
    esac
8544
9165
  fi
8545
9166
  ;;
8546
9167
esac
8547
9168
 
8548
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8549
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
9169
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9170
$as_echo_n "checking dynamic linker characteristics... " >&6; }
8550
9171
library_names_spec=
8551
9172
libname_spec='lib$name'
8552
9173
soname_spec=
8560
9181
version_type=none
8561
9182
dynamic_linker="$host_os ld.so"
8562
9183
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9184
 
8563
9185
if test "$GCC" = yes; then
8564
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8565
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
9186
  case $host_os in
 
9187
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9188
    *) lt_awk_arg="/^libraries:/" ;;
 
9189
  esac
 
9190
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9191
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8566
9192
    # if the path contains ";" then we assume it to be the separator
8567
9193
    # otherwise default to the standard path separator (i.e. ":") - it is
8568
9194
    # assumed that no part of a normal pathname contains ";" but that should
8569
9195
    # okay in the real world where ";" in dirpaths is itself problematic.
8570
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9196
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8571
9197
  else
8572
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9198
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8573
9199
  fi
 
9200
  # Ok, now we have the path, separated by spaces, we can step through it
 
9201
  # and add multilib dir if necessary.
 
9202
  lt_tmp_lt_search_path_spec=
 
9203
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9204
  for lt_sys_path in $lt_search_path_spec; do
 
9205
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9206
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9207
    else
 
9208
      test -d "$lt_sys_path" && \
 
9209
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9210
    fi
 
9211
  done
 
9212
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9213
BEGIN {RS=" "; FS="/|\n";} {
 
9214
  lt_foo="";
 
9215
  lt_count=0;
 
9216
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9217
    if ($lt_i != "" && $lt_i != ".") {
 
9218
      if ($lt_i == "..") {
 
9219
        lt_count++;
 
9220
      } else {
 
9221
        if (lt_count == 0) {
 
9222
          lt_foo="/" $lt_i lt_foo;
 
9223
        } else {
 
9224
          lt_count--;
 
9225
        }
 
9226
      }
 
9227
    }
 
9228
  }
 
9229
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9230
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9231
}'`
 
9232
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
8574
9233
else
8575
9234
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8576
9235
fi
8591
9250
  soname_spec='${libname}${release}${shared_ext}$major'
8592
9251
  ;;
8593
9252
 
8594
 
aix4* | aix5*)
 
9253
aix[4-9]*)
8595
9254
  version_type=linux
8596
9255
  need_lib_prefix=no
8597
9256
  need_version=no
8730
9389
  shlibpath_overrides_runpath=yes
8731
9390
  shlibpath_var=DYLD_LIBRARY_PATH
8732
9391
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8733
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8734
 
  if test "$GCC" = yes; then
8735
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8736
 
  else
8737
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8738
 
  fi
 
9392
 
 
9393
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8739
9394
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8740
9395
  ;;
8741
9396
 
8752
9407
  dynamic_linker=no
8753
9408
  ;;
8754
9409
 
8755
 
kfreebsd*-gnu)
8756
 
  version_type=linux
8757
 
  need_lib_prefix=no
8758
 
  need_version=no
8759
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8760
 
  soname_spec='${libname}${release}${shared_ext}$major'
8761
 
  shlibpath_var=LD_LIBRARY_PATH
8762
 
  shlibpath_overrides_runpath=no
8763
 
  hardcode_into_libs=yes
8764
 
  dynamic_linker='GNU ld.so'
8765
 
  ;;
8766
 
 
8767
9410
freebsd* | dragonfly*)
8768
9411
  # DragonFly does not have aout.  When/if they implement a new
8769
9412
  # versioning mechanism, adjust this.
8801
9444
    shlibpath_overrides_runpath=no
8802
9445
    hardcode_into_libs=yes
8803
9446
    ;;
8804
 
  freebsd*) # from 4.6 on
 
9447
  *) # from 4.6 on, and DragonFly
8805
9448
    shlibpath_overrides_runpath=yes
8806
9449
    hardcode_into_libs=yes
8807
9450
    ;;
8864
9507
  postinstall_cmds='chmod 555 $lib'
8865
9508
  ;;
8866
9509
 
8867
 
interix3*)
 
9510
interix[3-9]*)
8868
9511
  version_type=linux
8869
9512
  need_lib_prefix=no
8870
9513
  need_version=no
8919
9562
  ;;
8920
9563
 
8921
9564
# This must be Linux ELF.
8922
 
linux*)
 
9565
linux* | k*bsd*-gnu)
8923
9566
  version_type=linux
8924
9567
  need_lib_prefix=no
8925
9568
  need_version=no
8935
9578
 
8936
9579
  # Append ld.so.conf contents to the search path
8937
9580
  if test -f /etc/ld.so.conf; then
8938
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9581
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8939
9582
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8940
9583
  fi
8941
9584
 
8948
9591
  dynamic_linker='GNU/Linux ld.so'
8949
9592
  ;;
8950
9593
 
8951
 
knetbsd*-gnu)
8952
 
  version_type=linux
8953
 
  need_lib_prefix=no
8954
 
  need_version=no
8955
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8956
 
  soname_spec='${libname}${release}${shared_ext}$major'
8957
 
  shlibpath_var=LD_LIBRARY_PATH
8958
 
  shlibpath_overrides_runpath=no
8959
 
  hardcode_into_libs=yes
8960
 
  dynamic_linker='GNU ld.so'
8961
 
  ;;
8962
 
 
8963
9594
netbsd*)
8964
9595
  version_type=sunos
8965
9596
  need_lib_prefix=no
9041
9672
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9042
9673
  ;;
9043
9674
 
 
9675
rdos*)
 
9676
  dynamic_linker=no
 
9677
  ;;
 
9678
 
9044
9679
solaris*)
9045
9680
  version_type=linux
9046
9681
  need_lib_prefix=no
9133
9768
  dynamic_linker=no
9134
9769
  ;;
9135
9770
esac
9136
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9137
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
9771
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9772
$as_echo "$dynamic_linker" >&6; }
9138
9773
test "$dynamic_linker" = no && can_build_shared=no
9139
9774
 
 
9775
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9776
  $as_echo_n "(cached) " >&6
 
9777
else
 
9778
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
9779
fi
 
9780
 
 
9781
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9782
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9783
  $as_echo_n "(cached) " >&6
 
9784
else
 
9785
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
9786
fi
 
9787
 
 
9788
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9789
 
9140
9790
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9141
9791
if test "$GCC" = yes; then
9142
9792
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9143
9793
fi
9144
9794
 
9145
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9146
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
9795
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9796
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9147
9797
hardcode_action=
9148
9798
if test -n "$hardcode_libdir_flag_spec" || \
9149
9799
   test -n "$runpath_var" || \
9167
9817
  # directories.
9168
9818
  hardcode_action=unsupported
9169
9819
fi
9170
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9171
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
9820
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9821
$as_echo "$hardcode_action" >&6; }
9172
9822
 
9173
9823
if test "$hardcode_action" = relink; then
9174
9824
  # Fast installation is not supported
9181
9831
 
9182
9832
striplib=
9183
9833
old_striplib=
9184
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9185
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
9834
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9835
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
9186
9836
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9187
9837
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9188
9838
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9189
 
  { echo "$as_me:$LINENO: result: yes" >&5
9190
 
echo "${ECHO_T}yes" >&6; }
 
9839
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
9840
$as_echo "yes" >&6; }
9191
9841
else
9192
9842
# FIXME - insert some real tests, host_os isn't really good enough
9193
9843
  case $host_os in
9194
9844
   darwin*)
9195
9845
       if test -n "$STRIP" ; then
9196
9846
         striplib="$STRIP -x"
9197
 
         { echo "$as_me:$LINENO: result: yes" >&5
9198
 
echo "${ECHO_T}yes" >&6; }
 
9847
         old_striplib="$STRIP -S"
 
9848
         { $as_echo "$as_me:$LINENO: result: yes" >&5
 
9849
$as_echo "yes" >&6; }
9199
9850
       else
9200
 
  { echo "$as_me:$LINENO: result: no" >&5
9201
 
echo "${ECHO_T}no" >&6; }
 
9851
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9852
$as_echo "no" >&6; }
9202
9853
fi
9203
9854
       ;;
9204
9855
   *)
9205
 
  { echo "$as_me:$LINENO: result: no" >&5
9206
 
echo "${ECHO_T}no" >&6; }
 
9856
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9857
$as_echo "no" >&6; }
9207
9858
    ;;
9208
9859
  esac
9209
9860
fi
9235
9886
 
9236
9887
  darwin*)
9237
9888
  # if libdl is installed we need to link against it
9238
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9239
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
9889
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9890
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9240
9891
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9892
  $as_echo_n "(cached) " >&6
9242
9893
else
9243
9894
  ac_check_lib_save_LIBS=$LIBS
9244
9895
LIBS="-ldl  $LIBS"
9270
9921
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9271
9922
  *) ac_try_echo=$ac_try;;
9272
9923
esac
9273
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9924
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9925
$as_echo "$ac_try_echo") >&5
9274
9926
  (eval "$ac_link") 2>conftest.er1
9275
9927
  ac_status=$?
9276
9928
  grep -v '^ *+' conftest.er1 >conftest.err
9277
9929
  rm -f conftest.er1
9278
9930
  cat conftest.err >&5
9279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9931
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280
9932
  (exit $ac_status); } && {
9281
9933
         test -z "$ac_c_werror_flag" ||
9282
9934
         test ! -s conftest.err
9283
 
       } && test -s conftest$ac_exeext &&
9284
 
       $as_test_x conftest$ac_exeext; then
 
9935
       } && test -s conftest$ac_exeext && {
 
9936
         test "$cross_compiling" = yes ||
 
9937
         $as_test_x conftest$ac_exeext
 
9938
       }; then
9285
9939
  ac_cv_lib_dl_dlopen=yes
9286
9940
else
9287
 
  echo "$as_me: failed program was:" >&5
 
9941
  $as_echo "$as_me: failed program was:" >&5
9288
9942
sed 's/^/| /' conftest.$ac_ext >&5
9289
9943
 
9290
9944
        ac_cv_lib_dl_dlopen=no
9291
9945
fi
9292
9946
 
 
9947
rm -rf conftest.dSYM
9293
9948
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9294
9949
      conftest$ac_exeext conftest.$ac_ext
9295
9950
LIBS=$ac_check_lib_save_LIBS
9296
9951
fi
9297
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9298
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9299
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
9952
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9953
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
9954
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9300
9955
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9301
9956
else
9302
9957
 
9309
9964
   ;;
9310
9965
 
9311
9966
  *)
9312
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9313
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
9967
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
9968
$as_echo_n "checking for shl_load... " >&6; }
9314
9969
if test "${ac_cv_func_shl_load+set}" = set; then
9315
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9970
  $as_echo_n "(cached) " >&6
9316
9971
else
9317
9972
  cat >conftest.$ac_ext <<_ACEOF
9318
9973
/* confdefs.h.  */
9365
10020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9366
10021
  *) ac_try_echo=$ac_try;;
9367
10022
esac
9368
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10023
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10024
$as_echo "$ac_try_echo") >&5
9369
10025
  (eval "$ac_link") 2>conftest.er1
9370
10026
  ac_status=$?
9371
10027
  grep -v '^ *+' conftest.er1 >conftest.err
9372
10028
  rm -f conftest.er1
9373
10029
  cat conftest.err >&5
9374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10030
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375
10031
  (exit $ac_status); } && {
9376
10032
         test -z "$ac_c_werror_flag" ||
9377
10033
         test ! -s conftest.err
9378
 
       } && test -s conftest$ac_exeext &&
9379
 
       $as_test_x conftest$ac_exeext; then
 
10034
       } && test -s conftest$ac_exeext && {
 
10035
         test "$cross_compiling" = yes ||
 
10036
         $as_test_x conftest$ac_exeext
 
10037
       }; then
9380
10038
  ac_cv_func_shl_load=yes
9381
10039
else
9382
 
  echo "$as_me: failed program was:" >&5
 
10040
  $as_echo "$as_me: failed program was:" >&5
9383
10041
sed 's/^/| /' conftest.$ac_ext >&5
9384
10042
 
9385
10043
        ac_cv_func_shl_load=no
9386
10044
fi
9387
10045
 
 
10046
rm -rf conftest.dSYM
9388
10047
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9389
10048
      conftest$ac_exeext conftest.$ac_ext
9390
10049
fi
9391
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9392
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9393
 
if test $ac_cv_func_shl_load = yes; then
 
10050
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10051
$as_echo "$ac_cv_func_shl_load" >&6; }
 
10052
if test "x$ac_cv_func_shl_load" = x""yes; then
9394
10053
  lt_cv_dlopen="shl_load"
9395
10054
else
9396
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9397
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
10055
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10056
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9398
10057
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9399
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10058
  $as_echo_n "(cached) " >&6
9400
10059
else
9401
10060
  ac_check_lib_save_LIBS=$LIBS
9402
10061
LIBS="-ldld  $LIBS"
9428
10087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9429
10088
  *) ac_try_echo=$ac_try;;
9430
10089
esac
9431
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10090
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10091
$as_echo "$ac_try_echo") >&5
9432
10092
  (eval "$ac_link") 2>conftest.er1
9433
10093
  ac_status=$?
9434
10094
  grep -v '^ *+' conftest.er1 >conftest.err
9435
10095
  rm -f conftest.er1
9436
10096
  cat conftest.err >&5
9437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10097
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438
10098
  (exit $ac_status); } && {
9439
10099
         test -z "$ac_c_werror_flag" ||
9440
10100
         test ! -s conftest.err
9441
 
       } && test -s conftest$ac_exeext &&
9442
 
       $as_test_x conftest$ac_exeext; then
 
10101
       } && test -s conftest$ac_exeext && {
 
10102
         test "$cross_compiling" = yes ||
 
10103
         $as_test_x conftest$ac_exeext
 
10104
       }; then
9443
10105
  ac_cv_lib_dld_shl_load=yes
9444
10106
else
9445
 
  echo "$as_me: failed program was:" >&5
 
10107
  $as_echo "$as_me: failed program was:" >&5
9446
10108
sed 's/^/| /' conftest.$ac_ext >&5
9447
10109
 
9448
10110
        ac_cv_lib_dld_shl_load=no
9449
10111
fi
9450
10112
 
 
10113
rm -rf conftest.dSYM
9451
10114
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9452
10115
      conftest$ac_exeext conftest.$ac_ext
9453
10116
LIBS=$ac_check_lib_save_LIBS
9454
10117
fi
9455
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9456
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9457
 
if test $ac_cv_lib_dld_shl_load = yes; then
9458
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
10118
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10119
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10120
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10121
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9459
10122
else
9460
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9461
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
10123
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
10124
$as_echo_n "checking for dlopen... " >&6; }
9462
10125
if test "${ac_cv_func_dlopen+set}" = set; then
9463
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10126
  $as_echo_n "(cached) " >&6
9464
10127
else
9465
10128
  cat >conftest.$ac_ext <<_ACEOF
9466
10129
/* confdefs.h.  */
9513
10176
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9514
10177
  *) ac_try_echo=$ac_try;;
9515
10178
esac
9516
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10179
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10180
$as_echo "$ac_try_echo") >&5
9517
10181
  (eval "$ac_link") 2>conftest.er1
9518
10182
  ac_status=$?
9519
10183
  grep -v '^ *+' conftest.er1 >conftest.err
9520
10184
  rm -f conftest.er1
9521
10185
  cat conftest.err >&5
9522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10186
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523
10187
  (exit $ac_status); } && {
9524
10188
         test -z "$ac_c_werror_flag" ||
9525
10189
         test ! -s conftest.err
9526
 
       } && test -s conftest$ac_exeext &&
9527
 
       $as_test_x conftest$ac_exeext; then
 
10190
       } && test -s conftest$ac_exeext && {
 
10191
         test "$cross_compiling" = yes ||
 
10192
         $as_test_x conftest$ac_exeext
 
10193
       }; then
9528
10194
  ac_cv_func_dlopen=yes
9529
10195
else
9530
 
  echo "$as_me: failed program was:" >&5
 
10196
  $as_echo "$as_me: failed program was:" >&5
9531
10197
sed 's/^/| /' conftest.$ac_ext >&5
9532
10198
 
9533
10199
        ac_cv_func_dlopen=no
9534
10200
fi
9535
10201
 
 
10202
rm -rf conftest.dSYM
9536
10203
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9537
10204
      conftest$ac_exeext conftest.$ac_ext
9538
10205
fi
9539
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9540
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9541
 
if test $ac_cv_func_dlopen = yes; then
 
10206
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10207
$as_echo "$ac_cv_func_dlopen" >&6; }
 
10208
if test "x$ac_cv_func_dlopen" = x""yes; then
9542
10209
  lt_cv_dlopen="dlopen"
9543
10210
else
9544
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9545
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
10211
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10212
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9546
10213
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9547
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10214
  $as_echo_n "(cached) " >&6
9548
10215
else
9549
10216
  ac_check_lib_save_LIBS=$LIBS
9550
10217
LIBS="-ldl  $LIBS"
9576
10243
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9577
10244
  *) ac_try_echo=$ac_try;;
9578
10245
esac
9579
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10246
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10247
$as_echo "$ac_try_echo") >&5
9580
10248
  (eval "$ac_link") 2>conftest.er1
9581
10249
  ac_status=$?
9582
10250
  grep -v '^ *+' conftest.er1 >conftest.err
9583
10251
  rm -f conftest.er1
9584
10252
  cat conftest.err >&5
9585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10253
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586
10254
  (exit $ac_status); } && {
9587
10255
         test -z "$ac_c_werror_flag" ||
9588
10256
         test ! -s conftest.err
9589
 
       } && test -s conftest$ac_exeext &&
9590
 
       $as_test_x conftest$ac_exeext; then
 
10257
       } && test -s conftest$ac_exeext && {
 
10258
         test "$cross_compiling" = yes ||
 
10259
         $as_test_x conftest$ac_exeext
 
10260
       }; then
9591
10261
  ac_cv_lib_dl_dlopen=yes
9592
10262
else
9593
 
  echo "$as_me: failed program was:" >&5
 
10263
  $as_echo "$as_me: failed program was:" >&5
9594
10264
sed 's/^/| /' conftest.$ac_ext >&5
9595
10265
 
9596
10266
        ac_cv_lib_dl_dlopen=no
9597
10267
fi
9598
10268
 
 
10269
rm -rf conftest.dSYM
9599
10270
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9600
10271
      conftest$ac_exeext conftest.$ac_ext
9601
10272
LIBS=$ac_check_lib_save_LIBS
9602
10273
fi
9603
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9604
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9605
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10274
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10275
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10276
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9606
10277
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9607
10278
else
9608
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9609
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
10279
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10280
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9610
10281
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9611
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10282
  $as_echo_n "(cached) " >&6
9612
10283
else
9613
10284
  ac_check_lib_save_LIBS=$LIBS
9614
10285
LIBS="-lsvld  $LIBS"
9640
10311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9641
10312
  *) ac_try_echo=$ac_try;;
9642
10313
esac
9643
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10314
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10315
$as_echo "$ac_try_echo") >&5
9644
10316
  (eval "$ac_link") 2>conftest.er1
9645
10317
  ac_status=$?
9646
10318
  grep -v '^ *+' conftest.er1 >conftest.err
9647
10319
  rm -f conftest.er1
9648
10320
  cat conftest.err >&5
9649
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10321
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650
10322
  (exit $ac_status); } && {
9651
10323
         test -z "$ac_c_werror_flag" ||
9652
10324
         test ! -s conftest.err
9653
 
       } && test -s conftest$ac_exeext &&
9654
 
       $as_test_x conftest$ac_exeext; then
 
10325
       } && test -s conftest$ac_exeext && {
 
10326
         test "$cross_compiling" = yes ||
 
10327
         $as_test_x conftest$ac_exeext
 
10328
       }; then
9655
10329
  ac_cv_lib_svld_dlopen=yes
9656
10330
else
9657
 
  echo "$as_me: failed program was:" >&5
 
10331
  $as_echo "$as_me: failed program was:" >&5
9658
10332
sed 's/^/| /' conftest.$ac_ext >&5
9659
10333
 
9660
10334
        ac_cv_lib_svld_dlopen=no
9661
10335
fi
9662
10336
 
 
10337
rm -rf conftest.dSYM
9663
10338
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9664
10339
      conftest$ac_exeext conftest.$ac_ext
9665
10340
LIBS=$ac_check_lib_save_LIBS
9666
10341
fi
9667
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9668
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9669
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
10342
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10343
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10344
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
9670
10345
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9671
10346
else
9672
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9673
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
10347
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10348
$as_echo_n "checking for dld_link in -ldld... " >&6; }
9674
10349
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9675
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10350
  $as_echo_n "(cached) " >&6
9676
10351
else
9677
10352
  ac_check_lib_save_LIBS=$LIBS
9678
10353
LIBS="-ldld  $LIBS"
9704
10379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9705
10380
  *) ac_try_echo=$ac_try;;
9706
10381
esac
9707
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10382
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10383
$as_echo "$ac_try_echo") >&5
9708
10384
  (eval "$ac_link") 2>conftest.er1
9709
10385
  ac_status=$?
9710
10386
  grep -v '^ *+' conftest.er1 >conftest.err
9711
10387
  rm -f conftest.er1
9712
10388
  cat conftest.err >&5
9713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10389
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714
10390
  (exit $ac_status); } && {
9715
10391
         test -z "$ac_c_werror_flag" ||
9716
10392
         test ! -s conftest.err
9717
 
       } && test -s conftest$ac_exeext &&
9718
 
       $as_test_x conftest$ac_exeext; then
 
10393
       } && test -s conftest$ac_exeext && {
 
10394
         test "$cross_compiling" = yes ||
 
10395
         $as_test_x conftest$ac_exeext
 
10396
       }; then
9719
10397
  ac_cv_lib_dld_dld_link=yes
9720
10398
else
9721
 
  echo "$as_me: failed program was:" >&5
 
10399
  $as_echo "$as_me: failed program was:" >&5
9722
10400
sed 's/^/| /' conftest.$ac_ext >&5
9723
10401
 
9724
10402
        ac_cv_lib_dld_dld_link=no
9725
10403
fi
9726
10404
 
 
10405
rm -rf conftest.dSYM
9727
10406
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9728
10407
      conftest$ac_exeext conftest.$ac_ext
9729
10408
LIBS=$ac_check_lib_save_LIBS
9730
10409
fi
9731
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9732
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9733
 
if test $ac_cv_lib_dld_dld_link = yes; then
9734
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10410
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10411
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10412
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10413
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9735
10414
fi
9736
10415
 
9737
10416
 
9769
10448
    save_LIBS="$LIBS"
9770
10449
    LIBS="$lt_cv_dlopen_libs $LIBS"
9771
10450
 
9772
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9773
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
10451
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10452
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
9774
10453
if test "${lt_cv_dlopen_self+set}" = set; then
9775
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10454
  $as_echo_n "(cached) " >&6
9776
10455
else
9777
10456
          if test "$cross_compiling" = yes; then :
9778
10457
  lt_cv_dlopen_self=cross
9780
10459
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9781
10460
  lt_status=$lt_dlunknown
9782
10461
  cat > conftest.$ac_ext <<EOF
9783
 
#line 9783 "configure"
 
10462
#line 10462 "configure"
9784
10463
#include "confdefs.h"
9785
10464
 
9786
10465
#if HAVE_DLFCN_H
9846
10525
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9847
10526
  (eval $ac_link) 2>&5
9848
10527
  ac_status=$?
9849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10528
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850
10529
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9851
10530
    (./conftest; exit; ) >&5 2>/dev/null
9852
10531
    lt_status=$?
9864
10543
 
9865
10544
 
9866
10545
fi
9867
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9868
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
10546
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10547
$as_echo "$lt_cv_dlopen_self" >&6; }
9869
10548
 
9870
10549
    if test "x$lt_cv_dlopen_self" = xyes; then
9871
10550
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9872
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9873
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
10551
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10552
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9874
10553
if test "${lt_cv_dlopen_self_static+set}" = set; then
9875
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10554
  $as_echo_n "(cached) " >&6
9876
10555
else
9877
10556
          if test "$cross_compiling" = yes; then :
9878
10557
  lt_cv_dlopen_self_static=cross
9880
10559
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9881
10560
  lt_status=$lt_dlunknown
9882
10561
  cat > conftest.$ac_ext <<EOF
9883
 
#line 9883 "configure"
 
10562
#line 10562 "configure"
9884
10563
#include "confdefs.h"
9885
10564
 
9886
10565
#if HAVE_DLFCN_H
9946
10625
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9947
10626
  (eval $ac_link) 2>&5
9948
10627
  ac_status=$?
9949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10628
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950
10629
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9951
10630
    (./conftest; exit; ) >&5 2>/dev/null
9952
10631
    lt_status=$?
9964
10643
 
9965
10644
 
9966
10645
fi
9967
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9968
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
10646
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10647
$as_echo "$lt_cv_dlopen_self_static" >&6; }
9969
10648
    fi
9970
10649
 
9971
10650
    CPPFLAGS="$save_CPPFLAGS"
9987
10666
 
9988
10667
 
9989
10668
# Report which library types will actually be built
9990
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9991
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9992
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
9993
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
10669
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10670
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
10671
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10672
$as_echo "$can_build_shared" >&6; }
9994
10673
 
9995
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9996
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
10674
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10675
$as_echo_n "checking whether to build shared libraries... " >&6; }
9997
10676
test "$can_build_shared" = "no" && enable_shared=no
9998
10677
 
9999
10678
# On AIX, shared libraries and static libraries use the same namespace, and
10007
10686
  fi
10008
10687
  ;;
10009
10688
 
10010
 
aix4* | aix5*)
 
10689
aix[4-9]*)
10011
10690
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10012
10691
    test "$enable_shared" = yes && enable_static=no
10013
10692
  fi
10014
10693
    ;;
10015
10694
esac
10016
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10017
 
echo "${ECHO_T}$enable_shared" >&6; }
 
10695
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10696
$as_echo "$enable_shared" >&6; }
10018
10697
 
10019
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10020
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
10698
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10699
$as_echo_n "checking whether to build static libraries... " >&6; }
10021
10700
# Make sure either enable_shared or enable_static is yes.
10022
10701
test "$enable_shared" = yes || enable_static=yes
10023
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10024
 
echo "${ECHO_T}$enable_static" >&6; }
 
10702
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
10703
$as_echo "$enable_static" >&6; }
10025
10704
 
10026
10705
# The else clause should only fire when bootstrapping the
10027
10706
# libtool distribution, otherwise you forgot to ship ltmain.sh
10063
10742
    predeps \
10064
10743
    postdeps \
10065
10744
    compiler_lib_search_path \
 
10745
    compiler_lib_search_dirs \
10066
10746
    archive_cmds \
10067
10747
    archive_expsym_cmds \
10068
10748
    postinstall_cmds \
10078
10758
    module_cmds \
10079
10759
    module_expsym_cmds \
10080
10760
    lt_cv_prog_compiler_c_o \
 
10761
    fix_srcfile_path \
10081
10762
    exclude_expsyms \
10082
10763
    include_expsyms; do
10083
10764
 
10112
10793
cfgfile="${ofile}T"
10113
10794
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10114
10795
  $rm -f "$cfgfile"
10115
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10116
 
echo "$as_me: creating $ofile" >&6;}
 
10796
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
 
10797
$as_echo "$as_me: creating $ofile" >&6;}
10117
10798
 
10118
10799
  cat <<__EOF__ >> "$cfgfile"
10119
10800
#! $SHELL
10122
10803
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10123
10804
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10124
10805
#
10125
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10806
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10126
10807
# Free Software Foundation, Inc.
10127
10808
#
10128
10809
# This file is part of GNU Libtool:
10358
11039
# shared library.
10359
11040
postdeps=$lt_postdeps
10360
11041
 
 
11042
# The directories searched by this compiler when creating a shared
 
11043
# library
 
11044
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
11045
 
10361
11046
# The library search path used internally by the compiler when linking
10362
11047
# a shared library.
10363
11048
compiler_lib_search_path=$lt_compiler_lib_search_path
10446
11131
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10447
11132
 
10448
11133
# Fix the shell variable \$srcfile for the compiler.
10449
 
fix_srcfile_path="$fix_srcfile_path"
 
11134
fix_srcfile_path=$lt_fix_srcfile_path
10450
11135
 
10451
11136
# Set to yes if exported symbols are required.
10452
11137
always_export_symbols=$always_export_symbols
10521
11206
 
10522
11207
if test -f "$ltmain" && test -n "$tagnames"; then
10523
11208
  if test ! -f "${ofile}"; then
10524
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10525
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 
11209
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 
11210
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10526
11211
  fi
10527
11212
 
10528
11213
  if test -z "$LTCC"; then
10529
11214
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10530
11215
    if test -z "$LTCC"; then
10531
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10532
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 
11216
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 
11217
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10533
11218
    else
10534
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10535
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 
11219
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 
11220
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10536
11221
    fi
10537
11222
  fi
10538
11223
  if test -z "$LTCFLAGS"; then
10549
11234
    # Check whether tagname contains only valid characters
10550
11235
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10551
11236
    "") ;;
10552
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10553
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
 
11237
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 
11238
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
10554
11239
   { (exit 1); exit 1; }; }
10555
11240
        ;;
10556
11241
    esac
10557
11242
 
10558
11243
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10559
11244
    then
10560
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10561
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 
11245
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 
11246
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10562
11247
   { (exit 1); exit 1; }; }
10563
11248
    fi
10564
11249
 
10606
11291
predeps_CXX=
10607
11292
postdeps_CXX=
10608
11293
compiler_lib_search_path_CXX=
 
11294
compiler_lib_search_dirs_CXX=
10609
11295
 
10610
11296
# Source file extension for C++ test sources.
10611
11297
ac_ext=cpp
10615
11301
objext_CXX=$objext
10616
11302
 
10617
11303
# Code to be used in simple compile tests
10618
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
11304
lt_simple_compile_test_code="int some_variable = 0;"
10619
11305
 
10620
11306
# Code to be used in simple link tests
10621
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
11307
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10622
11308
 
10623
11309
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10624
11310
 
10634
11320
 
10635
11321
# save warnings/boilerplate of simple test code
10636
11322
ac_outfile=conftest.$ac_objext
10637
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11323
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10638
11324
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10639
11325
_lt_compiler_boilerplate=`cat conftest.err`
10640
11326
$rm conftest*
10641
11327
 
10642
11328
ac_outfile=conftest.$ac_objext
10643
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11329
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10644
11330
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10645
11331
_lt_linker_boilerplate=`cat conftest.err`
10646
 
$rm conftest*
 
11332
$rm -r conftest*
10647
11333
 
10648
11334
 
10649
11335
# Allow CC to be a program name with arguments.
10700
11386
ac_prog=ld
10701
11387
if test "$GCC" = yes; then
10702
11388
  # Check if gcc -print-prog-name=ld gives a path.
10703
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10704
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
11389
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11390
$as_echo_n "checking for ld used by $CC... " >&6; }
10705
11391
  case $host in
10706
11392
  *-*-mingw*)
10707
11393
    # gcc leaves a trailing carriage return which upsets mingw
10730
11416
    ;;
10731
11417
  esac
10732
11418
elif test "$with_gnu_ld" = yes; then
10733
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
10734
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
11419
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11420
$as_echo_n "checking for GNU ld... " >&6; }
10735
11421
else
10736
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10737
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
11422
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11423
$as_echo_n "checking for non-GNU ld... " >&6; }
10738
11424
fi
10739
11425
if test "${lt_cv_path_LD+set}" = set; then
10740
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11426
  $as_echo_n "(cached) " >&6
10741
11427
else
10742
11428
  if test -z "$LD"; then
10743
11429
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10767
11453
 
10768
11454
LD="$lt_cv_path_LD"
10769
11455
if test -n "$LD"; then
10770
 
  { echo "$as_me:$LINENO: result: $LD" >&5
10771
 
echo "${ECHO_T}$LD" >&6; }
 
11456
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
11457
$as_echo "$LD" >&6; }
10772
11458
else
10773
 
  { echo "$as_me:$LINENO: result: no" >&5
10774
 
echo "${ECHO_T}no" >&6; }
 
11459
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11460
$as_echo "no" >&6; }
10775
11461
fi
10776
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10777
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
11462
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
11463
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10778
11464
   { (exit 1); exit 1; }; }
10779
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10780
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
11465
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11466
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10781
11467
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10782
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11468
  $as_echo_n "(cached) " >&6
10783
11469
else
10784
11470
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10785
11471
case `$LD -v 2>&1 </dev/null` in
10791
11477
  ;;
10792
11478
esac
10793
11479
fi
10794
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10795
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
11480
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11481
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
10796
11482
with_gnu_ld=$lt_cv_prog_gnu_ld
10797
11483
 
10798
11484
 
10842
11528
fi
10843
11529
 
10844
11530
# PORTME: fill in a description of your system's C++ link characteristics
10845
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10846
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
11531
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11532
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10847
11533
ld_shlibs_CXX=yes
10848
11534
case $host_os in
10849
11535
  aix3*)
10850
11536
    # FIXME: insert proper C++ library support
10851
11537
    ld_shlibs_CXX=no
10852
11538
    ;;
10853
 
  aix4* | aix5*)
 
11539
  aix[4-9]*)
10854
11540
    if test "$host_cpu" = ia64; then
10855
11541
      # On IA64, the linker does run time linking by default, so we don't
10856
11542
      # have to do anything special.
10863
11549
      # Test if we are trying to use run time linking or normal
10864
11550
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10865
11551
      # need to do runtime linking.
10866
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
11552
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10867
11553
        for ld_flag in $LDFLAGS; do
10868
11554
          case $ld_flag in
10869
11555
          *-brtl*)
10899
11585
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10900
11586
        then
10901
11587
          # We have reworked collect2
10902
 
          hardcode_direct_CXX=yes
 
11588
          :
10903
11589
        else
10904
11590
          # We have old collect2
10905
11591
          hardcode_direct_CXX=unsupported
10960
11646
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10961
11647
  *) ac_try_echo=$ac_try;;
10962
11648
esac
10963
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11649
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11650
$as_echo "$ac_try_echo") >&5
10964
11651
  (eval "$ac_link") 2>conftest.er1
10965
11652
  ac_status=$?
10966
11653
  grep -v '^ *+' conftest.er1 >conftest.err
10967
11654
  rm -f conftest.er1
10968
11655
  cat conftest.err >&5
10969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11656
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970
11657
  (exit $ac_status); } && {
10971
11658
         test -z "$ac_cxx_werror_flag" ||
10972
11659
         test ! -s conftest.err
10973
 
       } && test -s conftest$ac_exeext &&
10974
 
       $as_test_x conftest$ac_exeext; then
 
11660
       } && test -s conftest$ac_exeext && {
 
11661
         test "$cross_compiling" = yes ||
 
11662
         $as_test_x conftest$ac_exeext
 
11663
       }; then
10975
11664
 
10976
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10977
 
}'`
 
11665
lt_aix_libpath_sed='
 
11666
    /Import File Strings/,/^$/ {
 
11667
        /^0/ {
 
11668
            s/^0  *\(.*\)$/\1/
 
11669
            p
 
11670
        }
 
11671
    }'
 
11672
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10978
11673
# Check for a 64-bit object if we didn't find anything.
10979
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10980
 
}'`; fi
 
11674
if test -z "$aix_libpath"; then
 
11675
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11676
fi
10981
11677
else
10982
 
  echo "$as_me: failed program was:" >&5
 
11678
  $as_echo "$as_me: failed program was:" >&5
10983
11679
sed 's/^/| /' conftest.$ac_ext >&5
10984
11680
 
10985
11681
 
10986
11682
fi
10987
11683
 
 
11684
rm -rf conftest.dSYM
10988
11685
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10989
11686
      conftest$ac_exeext conftest.$ac_ext
10990
11687
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11020
11717
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11021
11718
  *) ac_try_echo=$ac_try;;
11022
11719
esac
11023
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11720
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11721
$as_echo "$ac_try_echo") >&5
11024
11722
  (eval "$ac_link") 2>conftest.er1
11025
11723
  ac_status=$?
11026
11724
  grep -v '^ *+' conftest.er1 >conftest.err
11027
11725
  rm -f conftest.er1
11028
11726
  cat conftest.err >&5
11029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11727
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030
11728
  (exit $ac_status); } && {
11031
11729
         test -z "$ac_cxx_werror_flag" ||
11032
11730
         test ! -s conftest.err
11033
 
       } && test -s conftest$ac_exeext &&
11034
 
       $as_test_x conftest$ac_exeext; then
 
11731
       } && test -s conftest$ac_exeext && {
 
11732
         test "$cross_compiling" = yes ||
 
11733
         $as_test_x conftest$ac_exeext
 
11734
       }; then
11035
11735
 
11036
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11037
 
}'`
 
11736
lt_aix_libpath_sed='
 
11737
    /Import File Strings/,/^$/ {
 
11738
        /^0/ {
 
11739
            s/^0  *\(.*\)$/\1/
 
11740
            p
 
11741
        }
 
11742
    }'
 
11743
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11038
11744
# Check for a 64-bit object if we didn't find anything.
11039
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11040
 
}'`; fi
 
11745
if test -z "$aix_libpath"; then
 
11746
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11747
fi
11041
11748
else
11042
 
  echo "$as_me: failed program was:" >&5
 
11749
  $as_echo "$as_me: failed program was:" >&5
11043
11750
sed 's/^/| /' conftest.$ac_ext >&5
11044
11751
 
11045
11752
 
11046
11753
fi
11047
11754
 
 
11755
rm -rf conftest.dSYM
11048
11756
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11049
11757
      conftest$ac_exeext conftest.$ac_ext
11050
11758
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11107
11815
    fi
11108
11816
  ;;
11109
11817
      darwin* | rhapsody*)
11110
 
        case $host_os in
11111
 
        rhapsody* | darwin1.[012])
11112
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11113
 
         ;;
11114
 
       *) # Darwin 1.3 on
11115
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11116
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11117
 
         else
11118
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11119
 
             10.[012])
11120
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11121
 
               ;;
11122
 
             10.*)
11123
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11124
 
               ;;
11125
 
           esac
11126
 
         fi
11127
 
         ;;
11128
 
        esac
11129
11818
      archive_cmds_need_lc_CXX=no
11130
11819
      hardcode_direct_CXX=no
11131
11820
      hardcode_automatic_CXX=yes
11132
11821
      hardcode_shlibpath_var_CXX=unsupported
11133
11822
      whole_archive_flag_spec_CXX=''
11134
11823
      link_all_deplibs_CXX=yes
11135
 
 
11136
 
    if test "$GXX" = yes ; then
11137
 
      lt_int_apple_cc_single_mod=no
 
11824
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
11825
      if test "$GXX" = yes ; then
11138
11826
      output_verbose_link_cmd='echo'
11139
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11140
 
       lt_int_apple_cc_single_mod=yes
 
11827
      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}"
 
11828
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11829
      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}"
 
11830
      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}"
 
11831
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
11832
        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}"
 
11833
        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}"
11141
11834
      fi
11142
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11143
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11144
 
      else
11145
 
          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'
11146
 
        fi
11147
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11148
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11149
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11150
 
            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}'
11151
 
          else
11152
 
            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}'
11153
 
          fi
11154
 
            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}'
11155
11835
      else
11156
11836
      case $cc_basename in
11157
11837
        xlc*)
11158
11838
         output_verbose_link_cmd='echo'
11159
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
11839
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11160
11840
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11161
11841
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11162
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11842
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11163
11843
          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}'
11164
11844
          ;;
11165
11845
       *)
11193
11873
  freebsd-elf*)
11194
11874
    archive_cmds_need_lc_CXX=no
11195
11875
    ;;
11196
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
11876
  freebsd* | dragonfly*)
11197
11877
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11198
11878
    # conventions
11199
11879
    ld_shlibs_CXX=yes
11242
11922
      hardcode_libdir_separator_CXX=:
11243
11923
 
11244
11924
      case $host_cpu in
11245
 
      hppa*64*|ia64*)
11246
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11247
 
        ;;
 
11925
      hppa*64*|ia64*) ;;
11248
11926
      *)
11249
11927
        export_dynamic_flag_spec_CXX='${wl}-E'
11250
11928
        ;;
11312
11990
        ;;
11313
11991
    esac
11314
11992
    ;;
11315
 
  interix3*)
 
11993
  interix[3-9]*)
11316
11994
    hardcode_direct_CXX=no
11317
11995
    hardcode_shlibpath_var_CXX=no
11318
11996
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11352
12030
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11353
12031
    hardcode_libdir_separator_CXX=:
11354
12032
    ;;
11355
 
  linux*)
 
12033
  linux* | k*bsd*-gnu)
11356
12034
    case $cc_basename in
11357
12035
      KCC*)
11358
12036
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11404
12082
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11405
12083
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11406
12084
        ;;
11407
 
      pgCC*)
 
12085
      pgCC* | pgcpp*)
11408
12086
        # Portland Group C++ compiler
11409
12087
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11410
12088
        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'
11432
12110
        # dependencies.
11433
12111
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11434
12112
        ;;
 
12113
      *)
 
12114
        case `$CC -V 2>&1 | sed 5q` in
 
12115
        *Sun\ C*)
 
12116
          # Sun C++ 5.9
 
12117
          no_undefined_flag_CXX=' -zdefs'
 
12118
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12119
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
12120
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12121
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
12122
 
 
12123
          # Not sure whether something based on
 
12124
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
12125
          # would be better.
 
12126
          output_verbose_link_cmd='echo'
 
12127
 
 
12128
          # Archives containing C++ object files must be created using
 
12129
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12130
          # necessary to make sure instantiated templates are included
 
12131
          # in the archive.
 
12132
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12133
          ;;
 
12134
        esac
 
12135
        ;;
11435
12136
    esac
11436
12137
    ;;
11437
12138
  lynxos*)
11470
12171
    ld_shlibs_CXX=no
11471
12172
    ;;
11472
12173
  openbsd*)
11473
 
    hardcode_direct_CXX=yes
11474
 
    hardcode_shlibpath_var_CXX=no
11475
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11476
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11477
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11478
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11479
 
      export_dynamic_flag_spec_CXX='${wl}-E'
11480
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12174
    if test -f /usr/libexec/ld.so; then
 
12175
      hardcode_direct_CXX=yes
 
12176
      hardcode_shlibpath_var_CXX=no
 
12177
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12178
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12179
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12180
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12181
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12182
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12183
      fi
 
12184
      output_verbose_link_cmd='echo'
 
12185
    else
 
12186
      ld_shlibs_CXX=no
11481
12187
    fi
11482
 
    output_verbose_link_cmd='echo'
11483
12188
    ;;
11484
12189
  osf3*)
11485
12190
    case $cc_basename in
11641
12346
        case $host_os in
11642
12347
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11643
12348
          *)
11644
 
            # The C++ compiler is used as linker so we must use $wl
11645
 
            # flag to pass the commands to the underlying system
11646
 
            # linker. We must also pass each convience library through
11647
 
            # to the system linker between allextract/defaultextract.
11648
 
            # The C++ compiler will combine linker options so we
11649
 
            # cannot just pass the convience library names through
11650
 
            # without $wl.
 
12349
            # The compiler driver will combine and reorder linker options,
 
12350
            # but understands `-z linker_flag'.
11651
12351
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11652
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
12352
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11653
12353
            ;;
11654
12354
        esac
11655
12355
        link_all_deplibs_CXX=yes
11696
12396
          fi
11697
12397
 
11698
12398
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12399
          case $host_os in
 
12400
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12401
          *)
 
12402
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12403
            ;;
 
12404
          esac
11699
12405
        fi
11700
12406
        ;;
11701
12407
    esac
11776
12482
    ld_shlibs_CXX=no
11777
12483
    ;;
11778
12484
esac
11779
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11780
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
12485
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12486
$as_echo "$ld_shlibs_CXX" >&6; }
11781
12487
test "$ld_shlibs_CXX" = no && can_build_shared=no
11782
12488
 
11783
12489
GCC_CXX="$GXX"
11784
12490
LD_CXX="$LD"
11785
12491
 
11786
 
 
11787
12492
cat > conftest.$ac_ext <<EOF
11788
12493
class Foo
11789
12494
{
11797
12502
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11798
12503
  (eval $ac_compile) 2>&5
11799
12504
  ac_status=$?
11800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12505
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801
12506
  (exit $ac_status); }; then
11802
12507
  # Parse the compiler output and extract the necessary
11803
12508
  # objects, libraries and library flags.
11885
12590
 
11886
12591
$rm -f confest.$objext
11887
12592
 
 
12593
compiler_lib_search_dirs_CXX=
 
12594
if test -n "$compiler_lib_search_path_CXX"; then
 
12595
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
12596
fi
 
12597
 
11888
12598
# PORTME: override above test on systems where it is broken
11889
12599
case $host_os in
11890
 
interix3*)
 
12600
interix[3-9]*)
11891
12601
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
11892
12602
  # hack all around it, let's just trust "g++" to DTRT.
11893
12603
  predep_objects_CXX=
11895
12605
  postdeps_CXX=
11896
12606
  ;;
11897
12607
 
 
12608
linux*)
 
12609
  case `$CC -V 2>&1 | sed 5q` in
 
12610
  *Sun\ C*)
 
12611
    # Sun C++ 5.9
 
12612
    #
 
12613
    # The more standards-conforming stlport4 library is
 
12614
    # incompatible with the Cstd library. Avoid specifying
 
12615
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12616
    # -library=stlport4 depends on it.
 
12617
    case " $CXX $CXXFLAGS " in
 
12618
    *" -library=stlport4 "*)
 
12619
      solaris_use_stlport4=yes
 
12620
      ;;
 
12621
    esac
 
12622
    if test "$solaris_use_stlport4" != yes; then
 
12623
      postdeps_CXX='-library=Cstd -library=Crun'
 
12624
    fi
 
12625
    ;;
 
12626
  esac
 
12627
  ;;
 
12628
 
11898
12629
solaris*)
11899
12630
  case $cc_basename in
11900
12631
  CC*)
 
12632
    # The more standards-conforming stlport4 library is
 
12633
    # incompatible with the Cstd library. Avoid specifying
 
12634
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12635
    # -library=stlport4 depends on it.
 
12636
    case " $CXX $CXXFLAGS " in
 
12637
    *" -library=stlport4 "*)
 
12638
      solaris_use_stlport4=yes
 
12639
      ;;
 
12640
    esac
 
12641
 
11901
12642
    # Adding this requires a known-good setup of shared libraries for
11902
12643
    # Sun compiler versions before 5.6, else PIC objects from an old
11903
12644
    # archive will be linked into the output, leading to subtle bugs.
11904
 
    postdeps_CXX='-lCstd -lCrun'
 
12645
    if test "$solaris_use_stlport4" != yes; then
 
12646
      postdeps_CXX='-library=Cstd -library=Crun'
 
12647
    fi
11905
12648
    ;;
11906
12649
  esac
11907
12650
  ;;
11908
12651
esac
11909
12652
 
11910
 
 
11911
12653
case " $postdeps_CXX " in
11912
12654
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11913
12655
esac
11916
12658
lt_prog_compiler_pic_CXX=
11917
12659
lt_prog_compiler_static_CXX=
11918
12660
 
11919
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11920
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
12661
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12662
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11921
12663
 
11922
12664
  # C++ specific cases for pic, static, wl, etc.
11923
12665
  if test "$GXX" = yes; then
11938
12680
      # like `-m68040'.
11939
12681
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11940
12682
      ;;
11941
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12683
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11942
12684
      # PIC is the default for these OSes.
11943
12685
      ;;
11944
 
    mingw* | os2* | pw32*)
 
12686
    mingw* | cygwin* | os2* | pw32*)
11945
12687
      # This hack is so that the source file can tell whether it is being
11946
12688
      # built for inclusion in a dll (and should export symbols for example).
 
12689
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12690
      # (--disable-auto-import) libraries
11947
12691
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11948
12692
      ;;
11949
12693
    darwin* | rhapsody*)
11955
12699
      # DJGPP does not support shared libraries at all
11956
12700
      lt_prog_compiler_pic_CXX=
11957
12701
      ;;
11958
 
    interix3*)
 
12702
    interix[3-9]*)
11959
12703
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11960
12704
      # Instead, we relocate shared libraries at runtime.
11961
12705
      ;;
11981
12725
    esac
11982
12726
  else
11983
12727
    case $host_os in
11984
 
      aix4* | aix5*)
 
12728
      aix[4-9]*)
11985
12729
        # All AIX code is PIC.
11986
12730
        if test "$host_cpu" = ia64; then
11987
12731
          # AIX 5 now supports IA64 processor
12021
12765
            ;;
12022
12766
        esac
12023
12767
        ;;
12024
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
12768
      freebsd* | dragonfly*)
12025
12769
        # FreeBSD uses GNU C++
12026
12770
        ;;
12027
12771
      hpux9* | hpux10* | hpux11*)
12064
12808
            ;;
12065
12809
        esac
12066
12810
        ;;
12067
 
      linux*)
 
12811
      linux* | k*bsd*-gnu)
12068
12812
        case $cc_basename in
12069
12813
          KCC*)
12070
12814
            # KAI C++ Compiler
12077
12821
            lt_prog_compiler_pic_CXX='-KPIC'
12078
12822
            lt_prog_compiler_static_CXX='-static'
12079
12823
            ;;
12080
 
          pgCC*)
 
12824
          pgCC* | pgcpp*)
12081
12825
            # Portland Group C++ compiler.
12082
12826
            lt_prog_compiler_wl_CXX='-Wl,'
12083
12827
            lt_prog_compiler_pic_CXX='-fpic'
12091
12835
            lt_prog_compiler_static_CXX='-non_shared'
12092
12836
            ;;
12093
12837
          *)
 
12838
            case `$CC -V 2>&1 | sed 5q` in
 
12839
            *Sun\ C*)
 
12840
              # Sun C++ 5.9
 
12841
              lt_prog_compiler_pic_CXX='-KPIC'
 
12842
              lt_prog_compiler_static_CXX='-Bstatic'
 
12843
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12844
              ;;
 
12845
            esac
12094
12846
            ;;
12095
12847
        esac
12096
12848
        ;;
12190
12942
    esac
12191
12943
  fi
12192
12944
 
12193
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12194
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
12945
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12946
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12195
12947
 
12196
12948
#
12197
12949
# Check to make sure the PIC flag actually works.
12198
12950
#
12199
12951
if test -n "$lt_prog_compiler_pic_CXX"; then
12200
12952
 
12201
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12202
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12203
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12953
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12954
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
12955
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
12956
  $as_echo_n "(cached) " >&6
12205
12957
else
12206
 
  lt_prog_compiler_pic_works_CXX=no
 
12958
  lt_cv_prog_compiler_pic_works_CXX=no
12207
12959
  ac_outfile=conftest.$ac_objext
12208
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12960
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12209
12961
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12210
12962
   # Insert the option either (1) after the last *FLAGS variable, or
12211
12963
   # (2) before a word containing "conftest.", or (3) at the end.
12216
12968
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12217
12969
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12218
12970
   -e 's:$: $lt_compiler_flag:'`
12219
 
   (eval echo "\"\$as_me:12219: $lt_compile\"" >&5)
 
12971
   (eval echo "\"\$as_me:12971: $lt_compile\"" >&5)
12220
12972
   (eval "$lt_compile" 2>conftest.err)
12221
12973
   ac_status=$?
12222
12974
   cat conftest.err >&5
12223
 
   echo "$as_me:12223: \$? = $ac_status" >&5
 
12975
   echo "$as_me:12975: \$? = $ac_status" >&5
12224
12976
   if (exit $ac_status) && test -s "$ac_outfile"; then
12225
12977
     # The compiler can only warn and ignore the option if not recognized
12226
12978
     # So say no if there are warnings other than the usual output.
12227
12979
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12228
12980
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12229
12981
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12230
 
       lt_prog_compiler_pic_works_CXX=yes
 
12982
       lt_cv_prog_compiler_pic_works_CXX=yes
12231
12983
     fi
12232
12984
   fi
12233
12985
   $rm conftest*
12234
12986
 
12235
12987
fi
12236
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12237
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
12988
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
12989
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12238
12990
 
12239
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
12991
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12240
12992
    case $lt_prog_compiler_pic_CXX in
12241
12993
     "" | " "*) ;;
12242
12994
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12261
13013
# Check to make sure the static flag actually works.
12262
13014
#
12263
13015
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12264
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12265
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12266
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12267
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13016
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13017
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
13018
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
13019
  $as_echo_n "(cached) " >&6
12268
13020
else
12269
 
  lt_prog_compiler_static_works_CXX=no
 
13021
  lt_cv_prog_compiler_static_works_CXX=no
12270
13022
   save_LDFLAGS="$LDFLAGS"
12271
13023
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12272
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13024
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12273
13025
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12274
13026
     # The linker can only warn and ignore the option if not recognized
12275
13027
     # So say no if there are warnings
12279
13031
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12280
13032
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12281
13033
       if diff conftest.exp conftest.er2 >/dev/null; then
12282
 
         lt_prog_compiler_static_works_CXX=yes
 
13034
         lt_cv_prog_compiler_static_works_CXX=yes
12283
13035
       fi
12284
13036
     else
12285
 
       lt_prog_compiler_static_works_CXX=yes
 
13037
       lt_cv_prog_compiler_static_works_CXX=yes
12286
13038
     fi
12287
13039
   fi
12288
 
   $rm conftest*
 
13040
   $rm -r conftest*
12289
13041
   LDFLAGS="$save_LDFLAGS"
12290
13042
 
12291
13043
fi
12292
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12293
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
13044
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13045
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12294
13046
 
12295
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
13047
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12296
13048
    :
12297
13049
else
12298
13050
    lt_prog_compiler_static_CXX=
12299
13051
fi
12300
13052
 
12301
13053
 
12302
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12303
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
13054
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13055
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12304
13056
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12305
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13057
  $as_echo_n "(cached) " >&6
12306
13058
else
12307
13059
  lt_cv_prog_compiler_c_o_CXX=no
12308
13060
   $rm -r conftest 2>/dev/null
12309
13061
   mkdir conftest
12310
13062
   cd conftest
12311
13063
   mkdir out
12312
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13064
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12313
13065
 
12314
13066
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12315
13067
   # Insert the option either (1) after the last *FLAGS variable, or
12320
13072
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12321
13073
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12322
13074
   -e 's:$: $lt_compiler_flag:'`
12323
 
   (eval echo "\"\$as_me:12323: $lt_compile\"" >&5)
 
13075
   (eval echo "\"\$as_me:13075: $lt_compile\"" >&5)
12324
13076
   (eval "$lt_compile" 2>out/conftest.err)
12325
13077
   ac_status=$?
12326
13078
   cat out/conftest.err >&5
12327
 
   echo "$as_me:12327: \$? = $ac_status" >&5
 
13079
   echo "$as_me:13079: \$? = $ac_status" >&5
12328
13080
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12329
13081
   then
12330
13082
     # The compiler can only warn and ignore the option if not recognized
12346
13098
   $rm conftest*
12347
13099
 
12348
13100
fi
12349
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12350
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
13101
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13102
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12351
13103
 
12352
13104
 
12353
13105
hard_links="nottested"
12354
13106
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12355
13107
  # do not overwrite the value of need_locks provided by the user
12356
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12357
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
13108
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13109
$as_echo_n "checking if we can lock with hard links... " >&6; }
12358
13110
  hard_links=yes
12359
13111
  $rm conftest*
12360
13112
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12361
13113
  touch conftest.a
12362
13114
  ln conftest.a conftest.b 2>&5 || hard_links=no
12363
13115
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12364
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12365
 
echo "${ECHO_T}$hard_links" >&6; }
 
13116
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
13117
$as_echo "$hard_links" >&6; }
12366
13118
  if test "$hard_links" = no; then
12367
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12368
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
13119
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
13120
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12369
13121
    need_locks=warn
12370
13122
  fi
12371
13123
else
12372
13124
  need_locks=no
12373
13125
fi
12374
13126
 
12375
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12376
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
13127
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13128
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12377
13129
 
12378
13130
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12379
13131
  case $host_os in
12380
 
  aix4* | aix5*)
 
13132
  aix[4-9]*)
12381
13133
    # If we're using GNU nm, then we don't want the "-C" option.
12382
13134
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12383
13135
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12390
13142
    export_symbols_cmds_CXX="$ltdll_cmds"
12391
13143
  ;;
12392
13144
  cygwin* | mingw*)
12393
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
13145
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12394
13146
  ;;
12395
13147
  *)
12396
13148
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12397
13149
  ;;
12398
13150
  esac
 
13151
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12399
13152
 
12400
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12401
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
13153
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13154
$as_echo "$ld_shlibs_CXX" >&6; }
12402
13155
test "$ld_shlibs_CXX" = no && can_build_shared=no
12403
13156
 
12404
13157
#
12418
13171
      # Test whether the compiler implicitly links with -lc since on some
12419
13172
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12420
13173
      # to ld, don't add -lc before -lgcc.
12421
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12422
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
13174
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13175
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12423
13176
      $rm conftest*
12424
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13177
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12425
13178
 
12426
13179
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12427
13180
  (eval $ac_compile) 2>&5
12428
13181
  ac_status=$?
12429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13182
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430
13183
  (exit $ac_status); } 2>conftest.err; then
12431
13184
        soname=conftest
12432
13185
        lib=conftest
12444
13197
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12445
13198
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12446
13199
  ac_status=$?
12447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13200
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448
13201
  (exit $ac_status); }
12449
13202
        then
12450
13203
          archive_cmds_need_lc_CXX=no
12456
13209
        cat conftest.err 1>&5
12457
13210
      fi
12458
13211
      $rm conftest*
12459
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12460
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
13212
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13213
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
12461
13214
      ;;
12462
13215
    esac
12463
13216
  fi
12464
13217
  ;;
12465
13218
esac
12466
13219
 
12467
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12468
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
13220
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13221
$as_echo_n "checking dynamic linker characteristics... " >&6; }
12469
13222
library_names_spec=
12470
13223
libname_spec='lib$name'
12471
13224
soname_spec=
12479
13232
version_type=none
12480
13233
dynamic_linker="$host_os ld.so"
12481
13234
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12482
 
if test "$GCC" = yes; then
12483
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12484
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12485
 
    # if the path contains ";" then we assume it to be the separator
12486
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12487
 
    # assumed that no part of a normal pathname contains ";" but that should
12488
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12489
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12490
 
  else
12491
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12492
 
  fi
12493
 
else
12494
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12495
 
fi
 
13235
 
12496
13236
need_lib_prefix=unknown
12497
13237
hardcode_into_libs=no
12498
13238
 
12510
13250
  soname_spec='${libname}${release}${shared_ext}$major'
12511
13251
  ;;
12512
13252
 
12513
 
aix4* | aix5*)
 
13253
aix[4-9]*)
12514
13254
  version_type=linux
12515
13255
  need_lib_prefix=no
12516
13256
  need_version=no
12649
13389
  shlibpath_overrides_runpath=yes
12650
13390
  shlibpath_var=DYLD_LIBRARY_PATH
12651
13391
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12652
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12653
 
  if test "$GCC" = yes; then
12654
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12655
 
  else
12656
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12657
 
  fi
 
13392
 
12658
13393
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12659
13394
  ;;
12660
13395
 
12671
13406
  dynamic_linker=no
12672
13407
  ;;
12673
13408
 
12674
 
kfreebsd*-gnu)
12675
 
  version_type=linux
12676
 
  need_lib_prefix=no
12677
 
  need_version=no
12678
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12679
 
  soname_spec='${libname}${release}${shared_ext}$major'
12680
 
  shlibpath_var=LD_LIBRARY_PATH
12681
 
  shlibpath_overrides_runpath=no
12682
 
  hardcode_into_libs=yes
12683
 
  dynamic_linker='GNU ld.so'
12684
 
  ;;
12685
 
 
12686
13409
freebsd* | dragonfly*)
12687
13410
  # DragonFly does not have aout.  When/if they implement a new
12688
13411
  # versioning mechanism, adjust this.
12720
13443
    shlibpath_overrides_runpath=no
12721
13444
    hardcode_into_libs=yes
12722
13445
    ;;
12723
 
  freebsd*) # from 4.6 on
 
13446
  *) # from 4.6 on, and DragonFly
12724
13447
    shlibpath_overrides_runpath=yes
12725
13448
    hardcode_into_libs=yes
12726
13449
    ;;
12783
13506
  postinstall_cmds='chmod 555 $lib'
12784
13507
  ;;
12785
13508
 
12786
 
interix3*)
 
13509
interix[3-9]*)
12787
13510
  version_type=linux
12788
13511
  need_lib_prefix=no
12789
13512
  need_version=no
12838
13561
  ;;
12839
13562
 
12840
13563
# This must be Linux ELF.
12841
 
linux*)
 
13564
linux* | k*bsd*-gnu)
12842
13565
  version_type=linux
12843
13566
  need_lib_prefix=no
12844
13567
  need_version=no
12854
13577
 
12855
13578
  # Append ld.so.conf contents to the search path
12856
13579
  if test -f /etc/ld.so.conf; then
12857
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13580
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12858
13581
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12859
13582
  fi
12860
13583
 
12867
13590
  dynamic_linker='GNU/Linux ld.so'
12868
13591
  ;;
12869
13592
 
12870
 
knetbsd*-gnu)
12871
 
  version_type=linux
12872
 
  need_lib_prefix=no
12873
 
  need_version=no
12874
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12875
 
  soname_spec='${libname}${release}${shared_ext}$major'
12876
 
  shlibpath_var=LD_LIBRARY_PATH
12877
 
  shlibpath_overrides_runpath=no
12878
 
  hardcode_into_libs=yes
12879
 
  dynamic_linker='GNU ld.so'
12880
 
  ;;
12881
 
 
12882
13593
netbsd*)
12883
13594
  version_type=sunos
12884
13595
  need_lib_prefix=no
12960
13671
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12961
13672
  ;;
12962
13673
 
 
13674
rdos*)
 
13675
  dynamic_linker=no
 
13676
  ;;
 
13677
 
12963
13678
solaris*)
12964
13679
  version_type=linux
12965
13680
  need_lib_prefix=no
13052
13767
  dynamic_linker=no
13053
13768
  ;;
13054
13769
esac
13055
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13056
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
13770
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13771
$as_echo "$dynamic_linker" >&6; }
13057
13772
test "$dynamic_linker" = no && can_build_shared=no
13058
13773
 
 
13774
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13775
  $as_echo_n "(cached) " >&6
 
13776
else
 
13777
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
13778
fi
 
13779
 
 
13780
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13781
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13782
  $as_echo_n "(cached) " >&6
 
13783
else
 
13784
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
13785
fi
 
13786
 
 
13787
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13788
 
13059
13789
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13060
13790
if test "$GCC" = yes; then
13061
13791
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13062
13792
fi
13063
13793
 
13064
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13065
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
13794
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13795
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13066
13796
hardcode_action_CXX=
13067
13797
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13068
13798
   test -n "$runpath_var_CXX" || \
13086
13816
  # directories.
13087
13817
  hardcode_action_CXX=unsupported
13088
13818
fi
13089
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13090
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
 
13819
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13820
$as_echo "$hardcode_action_CXX" >&6; }
13091
13821
 
13092
13822
if test "$hardcode_action_CXX" = relink; then
13093
13823
  # Fast installation is not supported
13139
13869
    predeps_CXX \
13140
13870
    postdeps_CXX \
13141
13871
    compiler_lib_search_path_CXX \
 
13872
    compiler_lib_search_dirs_CXX \
13142
13873
    archive_cmds_CXX \
13143
13874
    archive_expsym_cmds_CXX \
13144
13875
    postinstall_cmds_CXX \
13154
13885
    module_cmds_CXX \
13155
13886
    module_expsym_cmds_CXX \
13156
13887
    lt_cv_prog_compiler_c_o_CXX \
 
13888
    fix_srcfile_path_CXX \
13157
13889
    exclude_expsyms_CXX \
13158
13890
    include_expsyms_CXX; do
13159
13891
 
13386
14118
# shared library.
13387
14119
postdeps=$lt_postdeps_CXX
13388
14120
 
 
14121
# The directories searched by this compiler when creating a shared
 
14122
# library
 
14123
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
14124
 
13389
14125
# The library search path used internally by the compiler when linking
13390
14126
# a shared library.
13391
14127
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13474
14210
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13475
14211
 
13476
14212
# Fix the shell variable \$srcfile for the compiler.
13477
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
14213
fix_srcfile_path=$lt_fix_srcfile_path
13478
14214
 
13479
14215
# Set to yes if exported symbols are required.
13480
14216
always_export_symbols=$always_export_symbols_CXX
13565
14301
objext_F77=$objext
13566
14302
 
13567
14303
# Code to be used in simple compile tests
13568
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
14304
lt_simple_compile_test_code="\
 
14305
      subroutine t
 
14306
      return
 
14307
      end
 
14308
"
13569
14309
 
13570
14310
# Code to be used in simple link tests
13571
 
lt_simple_link_test_code="      program t\n      end\n"
 
14311
lt_simple_link_test_code="\
 
14312
      program t
 
14313
      end
 
14314
"
13572
14315
 
13573
14316
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13574
14317
 
13584
14327
 
13585
14328
# save warnings/boilerplate of simple test code
13586
14329
ac_outfile=conftest.$ac_objext
13587
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14330
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13588
14331
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13589
14332
_lt_compiler_boilerplate=`cat conftest.err`
13590
14333
$rm conftest*
13591
14334
 
13592
14335
ac_outfile=conftest.$ac_objext
13593
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14336
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13594
14337
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13595
14338
_lt_linker_boilerplate=`cat conftest.err`
13596
 
$rm conftest*
 
14339
$rm -r conftest*
13597
14340
 
13598
14341
 
13599
14342
# Allow CC to be a program name with arguments.
13612
14355
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13613
14356
 
13614
14357
 
13615
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13616
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13617
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
13618
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
14358
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14359
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
14360
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14361
$as_echo "$can_build_shared" >&6; }
13619
14362
 
13620
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13621
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
14363
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14364
$as_echo_n "checking whether to build shared libraries... " >&6; }
13622
14365
test "$can_build_shared" = "no" && enable_shared=no
13623
14366
 
13624
14367
# On AIX, shared libraries and static libraries use the same namespace, and
13631
14374
    postinstall_cmds='$RANLIB $lib'
13632
14375
  fi
13633
14376
  ;;
13634
 
aix4* | aix5*)
 
14377
aix[4-9]*)
13635
14378
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13636
14379
    test "$enable_shared" = yes && enable_static=no
13637
14380
  fi
13638
14381
  ;;
13639
14382
esac
13640
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
13641
 
echo "${ECHO_T}$enable_shared" >&6; }
 
14383
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14384
$as_echo "$enable_shared" >&6; }
13642
14385
 
13643
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13644
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
14386
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14387
$as_echo_n "checking whether to build static libraries... " >&6; }
13645
14388
# Make sure either enable_shared or enable_static is yes.
13646
14389
test "$enable_shared" = yes || enable_static=yes
13647
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
13648
 
echo "${ECHO_T}$enable_static" >&6; }
 
14390
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
14391
$as_echo "$enable_static" >&6; }
13649
14392
 
13650
14393
GCC_F77="$G77"
13651
14394
LD_F77="$LD"
13654
14397
lt_prog_compiler_pic_F77=
13655
14398
lt_prog_compiler_static_F77=
13656
14399
 
13657
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13658
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
14400
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14401
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13659
14402
 
13660
14403
  if test "$GCC" = yes; then
13661
14404
    lt_prog_compiler_wl_F77='-Wl,'
13677
14420
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13678
14421
      ;;
13679
14422
 
13680
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14423
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13681
14424
      # PIC is the default for these OSes.
13682
14425
      ;;
13683
14426
 
13684
 
    mingw* | pw32* | os2*)
 
14427
    mingw* | cygwin* | pw32* | os2*)
13685
14428
      # This hack is so that the source file can tell whether it is being
13686
14429
      # built for inclusion in a dll (and should export symbols for example).
 
14430
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14431
      # (--disable-auto-import) libraries
13687
14432
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13688
14433
      ;;
13689
14434
 
13693
14438
      lt_prog_compiler_pic_F77='-fno-common'
13694
14439
      ;;
13695
14440
 
13696
 
    interix3*)
 
14441
    interix[3-9]*)
13697
14442
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13698
14443
      # Instead, we relocate shared libraries at runtime.
13699
14444
      ;;
13751
14496
       esac
13752
14497
       ;;
13753
14498
 
13754
 
    mingw* | pw32* | os2*)
 
14499
    mingw* | cygwin* | pw32* | os2*)
13755
14500
      # This hack is so that the source file can tell whether it is being
13756
14501
      # built for inclusion in a dll (and should export symbols for example).
13757
14502
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13784
14529
      lt_prog_compiler_static_F77='-Bstatic'
13785
14530
      ;;
13786
14531
 
13787
 
    linux*)
 
14532
    linux* | k*bsd*-gnu)
13788
14533
      case $cc_basename in
13789
14534
      icc* | ecc*)
13790
14535
        lt_prog_compiler_wl_F77='-Wl,'
13803
14548
        # All Alpha code is PIC.
13804
14549
        lt_prog_compiler_static_F77='-non_shared'
13805
14550
        ;;
 
14551
      *)
 
14552
        case `$CC -V 2>&1 | sed 5q` in
 
14553
        *Sun\ C*)
 
14554
          # Sun C 5.9
 
14555
          lt_prog_compiler_pic_F77='-KPIC'
 
14556
          lt_prog_compiler_static_F77='-Bstatic'
 
14557
          lt_prog_compiler_wl_F77='-Wl,'
 
14558
          ;;
 
14559
        *Sun\ F*)
 
14560
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14561
          lt_prog_compiler_pic_F77='-KPIC'
 
14562
          lt_prog_compiler_static_F77='-Bstatic'
 
14563
          lt_prog_compiler_wl_F77=''
 
14564
          ;;
 
14565
        esac
 
14566
        ;;
13806
14567
      esac
13807
14568
      ;;
13808
14569
 
13812
14573
      lt_prog_compiler_static_F77='-non_shared'
13813
14574
      ;;
13814
14575
 
 
14576
    rdos*)
 
14577
      lt_prog_compiler_static_F77='-non_shared'
 
14578
      ;;
 
14579
 
13815
14580
    solaris*)
13816
14581
      lt_prog_compiler_pic_F77='-KPIC'
13817
14582
      lt_prog_compiler_static_F77='-Bstatic'
13864
14629
    esac
13865
14630
  fi
13866
14631
 
13867
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13868
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
 
14632
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14633
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
13869
14634
 
13870
14635
#
13871
14636
# Check to make sure the PIC flag actually works.
13872
14637
#
13873
14638
if test -n "$lt_prog_compiler_pic_F77"; then
13874
14639
 
13875
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13876
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13877
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13878
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14640
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14641
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
 
14642
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
 
14643
  $as_echo_n "(cached) " >&6
13879
14644
else
13880
 
  lt_prog_compiler_pic_works_F77=no
 
14645
  lt_cv_prog_compiler_pic_works_F77=no
13881
14646
  ac_outfile=conftest.$ac_objext
13882
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14647
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13883
14648
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13884
14649
   # Insert the option either (1) after the last *FLAGS variable, or
13885
14650
   # (2) before a word containing "conftest.", or (3) at the end.
13890
14655
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13891
14656
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13892
14657
   -e 's:$: $lt_compiler_flag:'`
13893
 
   (eval echo "\"\$as_me:13893: $lt_compile\"" >&5)
 
14658
   (eval echo "\"\$as_me:14658: $lt_compile\"" >&5)
13894
14659
   (eval "$lt_compile" 2>conftest.err)
13895
14660
   ac_status=$?
13896
14661
   cat conftest.err >&5
13897
 
   echo "$as_me:13897: \$? = $ac_status" >&5
 
14662
   echo "$as_me:14662: \$? = $ac_status" >&5
13898
14663
   if (exit $ac_status) && test -s "$ac_outfile"; then
13899
14664
     # The compiler can only warn and ignore the option if not recognized
13900
14665
     # So say no if there are warnings other than the usual output.
13901
14666
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13902
14667
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13903
14668
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13904
 
       lt_prog_compiler_pic_works_F77=yes
 
14669
       lt_cv_prog_compiler_pic_works_F77=yes
13905
14670
     fi
13906
14671
   fi
13907
14672
   $rm conftest*
13908
14673
 
13909
14674
fi
13910
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13911
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
14675
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
14676
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
13912
14677
 
13913
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
14678
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
13914
14679
    case $lt_prog_compiler_pic_F77 in
13915
14680
     "" | " "*) ;;
13916
14681
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13935
14700
# Check to make sure the static flag actually works.
13936
14701
#
13937
14702
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13938
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13939
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13940
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13941
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14703
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14704
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
14705
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
 
14706
  $as_echo_n "(cached) " >&6
13942
14707
else
13943
 
  lt_prog_compiler_static_works_F77=no
 
14708
  lt_cv_prog_compiler_static_works_F77=no
13944
14709
   save_LDFLAGS="$LDFLAGS"
13945
14710
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13946
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14711
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13947
14712
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13948
14713
     # The linker can only warn and ignore the option if not recognized
13949
14714
     # So say no if there are warnings
13953
14718
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13954
14719
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13955
14720
       if diff conftest.exp conftest.er2 >/dev/null; then
13956
 
         lt_prog_compiler_static_works_F77=yes
 
14721
         lt_cv_prog_compiler_static_works_F77=yes
13957
14722
       fi
13958
14723
     else
13959
 
       lt_prog_compiler_static_works_F77=yes
 
14724
       lt_cv_prog_compiler_static_works_F77=yes
13960
14725
     fi
13961
14726
   fi
13962
 
   $rm conftest*
 
14727
   $rm -r conftest*
13963
14728
   LDFLAGS="$save_LDFLAGS"
13964
14729
 
13965
14730
fi
13966
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13967
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14731
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
14732
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
13968
14733
 
13969
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14734
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
13970
14735
    :
13971
14736
else
13972
14737
    lt_prog_compiler_static_F77=
13973
14738
fi
13974
14739
 
13975
14740
 
13976
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13977
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
14741
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14742
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13978
14743
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13979
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14744
  $as_echo_n "(cached) " >&6
13980
14745
else
13981
14746
  lt_cv_prog_compiler_c_o_F77=no
13982
14747
   $rm -r conftest 2>/dev/null
13983
14748
   mkdir conftest
13984
14749
   cd conftest
13985
14750
   mkdir out
13986
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14751
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13987
14752
 
13988
14753
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13989
14754
   # Insert the option either (1) after the last *FLAGS variable, or
13994
14759
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13995
14760
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13996
14761
   -e 's:$: $lt_compiler_flag:'`
13997
 
   (eval echo "\"\$as_me:13997: $lt_compile\"" >&5)
 
14762
   (eval echo "\"\$as_me:14762: $lt_compile\"" >&5)
13998
14763
   (eval "$lt_compile" 2>out/conftest.err)
13999
14764
   ac_status=$?
14000
14765
   cat out/conftest.err >&5
14001
 
   echo "$as_me:14001: \$? = $ac_status" >&5
 
14766
   echo "$as_me:14766: \$? = $ac_status" >&5
14002
14767
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14003
14768
   then
14004
14769
     # The compiler can only warn and ignore the option if not recognized
14020
14785
   $rm conftest*
14021
14786
 
14022
14787
fi
14023
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14024
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
 
14788
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14789
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14025
14790
 
14026
14791
 
14027
14792
hard_links="nottested"
14028
14793
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14029
14794
  # do not overwrite the value of need_locks provided by the user
14030
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14031
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
14795
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14796
$as_echo_n "checking if we can lock with hard links... " >&6; }
14032
14797
  hard_links=yes
14033
14798
  $rm conftest*
14034
14799
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035
14800
  touch conftest.a
14036
14801
  ln conftest.a conftest.b 2>&5 || hard_links=no
14037
14802
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14038
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14039
 
echo "${ECHO_T}$hard_links" >&6; }
 
14803
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
14804
$as_echo "$hard_links" >&6; }
14040
14805
  if test "$hard_links" = no; then
14041
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14042
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14806
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14807
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14043
14808
    need_locks=warn
14044
14809
  fi
14045
14810
else
14046
14811
  need_locks=no
14047
14812
fi
14048
14813
 
14049
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14050
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
14814
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14815
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14051
14816
 
14052
14817
  runpath_var=
14053
14818
  allow_undefined_flag_F77=
14078
14843
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14079
14844
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14080
14845
  # as well as any symbol that contains `d'.
14081
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
14846
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14082
14847
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14083
14848
  # platforms (ab)use it in PIC code, but their linkers get confused if
14084
14849
  # the symbol is explicitly referenced.  Since portable code cannot
14085
14850
  # rely on this symbol name, it's probably fine to never include it in
14086
14851
  # preloaded symbol tables.
 
14852
  # Exclude shared library initialization/finalization symbols.
14087
14853
  extract_expsyms_cmds=
14088
14854
  # Just being paranoid about ensuring that cc_basename is set.
14089
14855
  for cc_temp in $compiler""; do
14142
14908
 
14143
14909
    # See if GNU ld supports shared libraries.
14144
14910
    case $host_os in
14145
 
    aix3* | aix4* | aix5*)
 
14911
    aix[3-9]*)
14146
14912
      # On AIX/PPC, the GNU linker is very broken
14147
14913
      if test "$host_cpu" != ia64; then
14148
14914
        ld_shlibs_F77=no
14190
14956
      allow_undefined_flag_F77=unsupported
14191
14957
      always_export_symbols_F77=no
14192
14958
      enable_shared_with_static_runtimes_F77=yes
14193
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14959
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14194
14960
 
14195
14961
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14196
14962
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14208
14974
      fi
14209
14975
      ;;
14210
14976
 
14211
 
    interix3*)
 
14977
    interix[3-9]*)
14212
14978
      hardcode_direct_F77=no
14213
14979
      hardcode_shlibpath_var_F77=no
14214
14980
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14223
14989
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14224
14990
      ;;
14225
14991
 
14226
 
    linux*)
 
14992
    gnu* | linux* | k*bsd*-gnu)
14227
14993
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14228
14994
        tmp_addflag=
14229
14995
        case $cc_basename,$host_cpu in
14241
15007
        ifc* | ifort*)                  # Intel Fortran compiler
14242
15008
          tmp_addflag=' -nofor_main' ;;
14243
15009
        esac
14244
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15010
        case `$CC -V 2>&1 | sed 5q` in
 
15011
        *Sun\ C*)                       # Sun C 5.9
 
15012
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
15013
          tmp_sharedflag='-G' ;;
 
15014
        *Sun\ F*)                       # Sun Fortran 8.3
 
15015
          tmp_sharedflag='-G' ;;
 
15016
        *)
 
15017
          tmp_sharedflag='-shared' ;;
 
15018
        esac
 
15019
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14245
15020
 
14246
15021
        if test $supports_anon_versioning = yes; then
14247
15022
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14248
15023
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14249
15024
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14250
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15025
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14251
15026
        fi
14252
15027
      else
14253
15028
        ld_shlibs_F77=no
14352
15127
      fi
14353
15128
      ;;
14354
15129
 
14355
 
    aix4* | aix5*)
 
15130
    aix[4-9]*)
14356
15131
      if test "$host_cpu" = ia64; then
14357
15132
        # On IA64, the linker does run time linking by default, so we don't
14358
15133
        # have to do anything special.
14372
15147
        # Test if we are trying to use run time linking or normal
14373
15148
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14374
15149
        # need to do runtime linking.
14375
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
15150
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14376
15151
          for ld_flag in $LDFLAGS; do
14377
15152
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14378
15153
            aix_use_runtimelinking=yes
14406
15181
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14407
15182
          then
14408
15183
          # We have reworked collect2
14409
 
          hardcode_direct_F77=yes
 
15184
          :
14410
15185
          else
14411
15186
          # We have old collect2
14412
15187
          hardcode_direct_F77=unsupported
14457
15232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458
15233
  *) ac_try_echo=$ac_try;;
14459
15234
esac
14460
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15235
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15236
$as_echo "$ac_try_echo") >&5
14461
15237
  (eval "$ac_link") 2>conftest.er1
14462
15238
  ac_status=$?
14463
15239
  grep -v '^ *+' conftest.er1 >conftest.err
14464
15240
  rm -f conftest.er1
14465
15241
  cat conftest.err >&5
14466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15242
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467
15243
  (exit $ac_status); } && {
14468
15244
         test -z "$ac_f77_werror_flag" ||
14469
15245
         test ! -s conftest.err
14470
 
       } && test -s conftest$ac_exeext &&
14471
 
       $as_test_x conftest$ac_exeext; then
 
15246
       } && test -s conftest$ac_exeext && {
 
15247
         test "$cross_compiling" = yes ||
 
15248
         $as_test_x conftest$ac_exeext
 
15249
       }; then
14472
15250
 
14473
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14474
 
}'`
 
15251
lt_aix_libpath_sed='
 
15252
    /Import File Strings/,/^$/ {
 
15253
        /^0/ {
 
15254
            s/^0  *\(.*\)$/\1/
 
15255
            p
 
15256
        }
 
15257
    }'
 
15258
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14475
15259
# Check for a 64-bit object if we didn't find anything.
14476
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14477
 
}'`; fi
 
15260
if test -z "$aix_libpath"; then
 
15261
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15262
fi
14478
15263
else
14479
 
  echo "$as_me: failed program was:" >&5
 
15264
  $as_echo "$as_me: failed program was:" >&5
14480
15265
sed 's/^/| /' conftest.$ac_ext >&5
14481
15266
 
14482
15267
 
14483
15268
fi
14484
15269
 
 
15270
rm -rf conftest.dSYM
14485
15271
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14486
15272
      conftest$ac_exeext conftest.$ac_ext
14487
15273
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14506
15292
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14507
15293
  *) ac_try_echo=$ac_try;;
14508
15294
esac
14509
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15295
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15296
$as_echo "$ac_try_echo") >&5
14510
15297
  (eval "$ac_link") 2>conftest.er1
14511
15298
  ac_status=$?
14512
15299
  grep -v '^ *+' conftest.er1 >conftest.err
14513
15300
  rm -f conftest.er1
14514
15301
  cat conftest.err >&5
14515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15302
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516
15303
  (exit $ac_status); } && {
14517
15304
         test -z "$ac_f77_werror_flag" ||
14518
15305
         test ! -s conftest.err
14519
 
       } && test -s conftest$ac_exeext &&
14520
 
       $as_test_x conftest$ac_exeext; then
 
15306
       } && test -s conftest$ac_exeext && {
 
15307
         test "$cross_compiling" = yes ||
 
15308
         $as_test_x conftest$ac_exeext
 
15309
       }; then
14521
15310
 
14522
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14523
 
}'`
 
15311
lt_aix_libpath_sed='
 
15312
    /Import File Strings/,/^$/ {
 
15313
        /^0/ {
 
15314
            s/^0  *\(.*\)$/\1/
 
15315
            p
 
15316
        }
 
15317
    }'
 
15318
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14524
15319
# Check for a 64-bit object if we didn't find anything.
14525
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14526
 
}'`; fi
 
15320
if test -z "$aix_libpath"; then
 
15321
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15322
fi
14527
15323
else
14528
 
  echo "$as_me: failed program was:" >&5
 
15324
  $as_echo "$as_me: failed program was:" >&5
14529
15325
sed 's/^/| /' conftest.$ac_ext >&5
14530
15326
 
14531
15327
 
14532
15328
fi
14533
15329
 
 
15330
rm -rf conftest.dSYM
14534
15331
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14535
15332
      conftest$ac_exeext conftest.$ac_ext
14536
15333
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14577
15374
      # The linker will automatically build a .lib file if we build a DLL.
14578
15375
      old_archive_From_new_cmds_F77='true'
14579
15376
      # FIXME: Should let the user specify the lib program.
14580
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
15377
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
14581
15378
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14582
15379
      enable_shared_with_static_runtimes_F77=yes
14583
15380
      ;;
14610
15407
      link_all_deplibs_F77=yes
14611
15408
    if test "$GCC" = yes ; then
14612
15409
        output_verbose_link_cmd='echo'
14613
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14614
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14615
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14616
 
      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}'
14617
 
      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}'
 
15410
        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}"
 
15411
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15412
        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}"
 
15413
        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}"
14618
15414
    else
14619
15415
      case $cc_basename in
14620
15416
        xlc*)
14621
15417
         output_verbose_link_cmd='echo'
14622
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15418
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14623
15419
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14624
15420
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14625
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15421
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14626
15422
          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}'
14627
15423
          ;;
14628
15424
       *)
14662
15458
      ;;
14663
15459
 
14664
15460
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14665
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
15461
    freebsd* | dragonfly*)
14666
15462
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14667
15463
      hardcode_libdir_flag_spec_F77='-R$libdir'
14668
15464
      hardcode_direct_F77=yes
14784
15580
      ;;
14785
15581
 
14786
15582
    openbsd*)
14787
 
      hardcode_direct_F77=yes
14788
 
      hardcode_shlibpath_var_F77=no
14789
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14790
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14791
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14792
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14793
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15583
      if test -f /usr/libexec/ld.so; then
 
15584
        hardcode_direct_F77=yes
 
15585
        hardcode_shlibpath_var_F77=no
 
15586
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15587
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15588
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15589
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15590
          export_dynamic_flag_spec_F77='${wl}-E'
 
15591
        else
 
15592
          case $host_os in
 
15593
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15594
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15595
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15596
             ;;
 
15597
           *)
 
15598
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15599
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15600
             ;;
 
15601
          esac
 
15602
        fi
14794
15603
      else
14795
 
       case $host_os in
14796
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14797
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14798
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14799
 
           ;;
14800
 
         *)
14801
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14802
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14803
 
           ;;
14804
 
       esac
 
15604
        ld_shlibs_F77=no
14805
15605
      fi
14806
15606
      ;;
14807
15607
 
14860
15660
      case $host_os in
14861
15661
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14862
15662
      *)
14863
 
        # The compiler driver will combine linker options so we
14864
 
        # cannot just pass the convience library names through
14865
 
        # without $wl, iff we do not link with $LD.
14866
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15663
        # The compiler driver will combine and reorder linker options,
 
15664
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15665
        # but is careful enough not to reorder.
14867
15666
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14868
 
        case $wlarc in
14869
 
        '')
14870
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14871
 
        *)
14872
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14873
 
        esac ;;
 
15667
        if test "$GCC" = yes; then
 
15668
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15669
        else
 
15670
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15671
        fi
 
15672
        ;;
14874
15673
      esac
14875
15674
      link_all_deplibs_F77=yes
14876
15675
      ;;
14927
15726
      fi
14928
15727
      ;;
14929
15728
 
14930
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15729
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14931
15730
      no_undefined_flag_F77='${wl}-z,text'
14932
15731
      archive_cmds_need_lc_F77=no
14933
15732
      hardcode_shlibpath_var_F77=no
14980
15779
    esac
14981
15780
  fi
14982
15781
 
14983
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14984
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
 
15782
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15783
$as_echo "$ld_shlibs_F77" >&6; }
14985
15784
test "$ld_shlibs_F77" = no && can_build_shared=no
14986
15785
 
14987
15786
#
15001
15800
      # Test whether the compiler implicitly links with -lc since on some
15002
15801
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15003
15802
      # to ld, don't add -lc before -lgcc.
15004
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15005
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
15803
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15804
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15006
15805
      $rm conftest*
15007
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15806
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15008
15807
 
15009
15808
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15010
15809
  (eval $ac_compile) 2>&5
15011
15810
  ac_status=$?
15012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15811
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013
15812
  (exit $ac_status); } 2>conftest.err; then
15014
15813
        soname=conftest
15015
15814
        lib=conftest
15027
15826
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15028
15827
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15029
15828
  ac_status=$?
15030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15829
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031
15830
  (exit $ac_status); }
15032
15831
        then
15033
15832
          archive_cmds_need_lc_F77=no
15039
15838
        cat conftest.err 1>&5
15040
15839
      fi
15041
15840
      $rm conftest*
15042
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15043
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
 
15841
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15842
$as_echo "$archive_cmds_need_lc_F77" >&6; }
15044
15843
      ;;
15045
15844
    esac
15046
15845
  fi
15047
15846
  ;;
15048
15847
esac
15049
15848
 
15050
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15051
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
15849
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15850
$as_echo_n "checking dynamic linker characteristics... " >&6; }
15052
15851
library_names_spec=
15053
15852
libname_spec='lib$name'
15054
15853
soname_spec=
15062
15861
version_type=none
15063
15862
dynamic_linker="$host_os ld.so"
15064
15863
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15065
 
if test "$GCC" = yes; then
15066
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15067
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15068
 
    # if the path contains ";" then we assume it to be the separator
15069
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15070
 
    # assumed that no part of a normal pathname contains ";" but that should
15071
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15072
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15073
 
  else
15074
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15075
 
  fi
15076
 
else
15077
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15078
 
fi
 
15864
 
15079
15865
need_lib_prefix=unknown
15080
15866
hardcode_into_libs=no
15081
15867
 
15093
15879
  soname_spec='${libname}${release}${shared_ext}$major'
15094
15880
  ;;
15095
15881
 
15096
 
aix4* | aix5*)
 
15882
aix[4-9]*)
15097
15883
  version_type=linux
15098
15884
  need_lib_prefix=no
15099
15885
  need_version=no
15232
16018
  shlibpath_overrides_runpath=yes
15233
16019
  shlibpath_var=DYLD_LIBRARY_PATH
15234
16020
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15235
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15236
 
  if test "$GCC" = yes; then
15237
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15238
 
  else
15239
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15240
 
  fi
 
16021
 
15241
16022
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15242
16023
  ;;
15243
16024
 
15254
16035
  dynamic_linker=no
15255
16036
  ;;
15256
16037
 
15257
 
kfreebsd*-gnu)
15258
 
  version_type=linux
15259
 
  need_lib_prefix=no
15260
 
  need_version=no
15261
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15262
 
  soname_spec='${libname}${release}${shared_ext}$major'
15263
 
  shlibpath_var=LD_LIBRARY_PATH
15264
 
  shlibpath_overrides_runpath=no
15265
 
  hardcode_into_libs=yes
15266
 
  dynamic_linker='GNU ld.so'
15267
 
  ;;
15268
 
 
15269
16038
freebsd* | dragonfly*)
15270
16039
  # DragonFly does not have aout.  When/if they implement a new
15271
16040
  # versioning mechanism, adjust this.
15303
16072
    shlibpath_overrides_runpath=no
15304
16073
    hardcode_into_libs=yes
15305
16074
    ;;
15306
 
  freebsd*) # from 4.6 on
 
16075
  *) # from 4.6 on, and DragonFly
15307
16076
    shlibpath_overrides_runpath=yes
15308
16077
    hardcode_into_libs=yes
15309
16078
    ;;
15366
16135
  postinstall_cmds='chmod 555 $lib'
15367
16136
  ;;
15368
16137
 
15369
 
interix3*)
 
16138
interix[3-9]*)
15370
16139
  version_type=linux
15371
16140
  need_lib_prefix=no
15372
16141
  need_version=no
15421
16190
  ;;
15422
16191
 
15423
16192
# This must be Linux ELF.
15424
 
linux*)
 
16193
linux* | k*bsd*-gnu)
15425
16194
  version_type=linux
15426
16195
  need_lib_prefix=no
15427
16196
  need_version=no
15437
16206
 
15438
16207
  # Append ld.so.conf contents to the search path
15439
16208
  if test -f /etc/ld.so.conf; then
15440
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
16209
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15441
16210
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15442
16211
  fi
15443
16212
 
15450
16219
  dynamic_linker='GNU/Linux ld.so'
15451
16220
  ;;
15452
16221
 
15453
 
knetbsd*-gnu)
15454
 
  version_type=linux
15455
 
  need_lib_prefix=no
15456
 
  need_version=no
15457
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15458
 
  soname_spec='${libname}${release}${shared_ext}$major'
15459
 
  shlibpath_var=LD_LIBRARY_PATH
15460
 
  shlibpath_overrides_runpath=no
15461
 
  hardcode_into_libs=yes
15462
 
  dynamic_linker='GNU ld.so'
15463
 
  ;;
15464
 
 
15465
16222
netbsd*)
15466
16223
  version_type=sunos
15467
16224
  need_lib_prefix=no
15543
16300
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15544
16301
  ;;
15545
16302
 
 
16303
rdos*)
 
16304
  dynamic_linker=no
 
16305
  ;;
 
16306
 
15546
16307
solaris*)
15547
16308
  version_type=linux
15548
16309
  need_lib_prefix=no
15635
16396
  dynamic_linker=no
15636
16397
  ;;
15637
16398
esac
15638
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15639
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
16399
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16400
$as_echo "$dynamic_linker" >&6; }
15640
16401
test "$dynamic_linker" = no && can_build_shared=no
15641
16402
 
 
16403
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16404
  $as_echo_n "(cached) " >&6
 
16405
else
 
16406
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16407
fi
 
16408
 
 
16409
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16410
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16411
  $as_echo_n "(cached) " >&6
 
16412
else
 
16413
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16414
fi
 
16415
 
 
16416
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16417
 
15642
16418
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15643
16419
if test "$GCC" = yes; then
15644
16420
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15645
16421
fi
15646
16422
 
15647
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15648
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
16423
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16424
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15649
16425
hardcode_action_F77=
15650
16426
if test -n "$hardcode_libdir_flag_spec_F77" || \
15651
16427
   test -n "$runpath_var_F77" || \
15669
16445
  # directories.
15670
16446
  hardcode_action_F77=unsupported
15671
16447
fi
15672
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15673
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
 
16448
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16449
$as_echo "$hardcode_action_F77" >&6; }
15674
16450
 
15675
16451
if test "$hardcode_action_F77" = relink; then
15676
16452
  # Fast installation is not supported
15722
16498
    predeps_F77 \
15723
16499
    postdeps_F77 \
15724
16500
    compiler_lib_search_path_F77 \
 
16501
    compiler_lib_search_dirs_F77 \
15725
16502
    archive_cmds_F77 \
15726
16503
    archive_expsym_cmds_F77 \
15727
16504
    postinstall_cmds_F77 \
15737
16514
    module_cmds_F77 \
15738
16515
    module_expsym_cmds_F77 \
15739
16516
    lt_cv_prog_compiler_c_o_F77 \
 
16517
    fix_srcfile_path_F77 \
15740
16518
    exclude_expsyms_F77 \
15741
16519
    include_expsyms_F77; do
15742
16520
 
15969
16747
# shared library.
15970
16748
postdeps=$lt_postdeps_F77
15971
16749
 
 
16750
# The directories searched by this compiler when creating a shared
 
16751
# library
 
16752
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
16753
 
15972
16754
# The library search path used internally by the compiler when linking
15973
16755
# a shared library.
15974
16756
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16057
16839
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16058
16840
 
16059
16841
# Fix the shell variable \$srcfile for the compiler.
16060
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16842
fix_srcfile_path=$lt_fix_srcfile_path
16061
16843
 
16062
16844
# Set to yes if exported symbols are required.
16063
16845
always_export_symbols=$always_export_symbols_F77
16115
16897
objext_GCJ=$objext
16116
16898
 
16117
16899
# Code to be used in simple compile tests
16118
 
lt_simple_compile_test_code="class foo {}\n"
 
16900
lt_simple_compile_test_code="class foo {}"
16119
16901
 
16120
16902
# Code to be used in simple link tests
16121
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
16903
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16122
16904
 
16123
16905
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16124
16906
 
16134
16916
 
16135
16917
# save warnings/boilerplate of simple test code
16136
16918
ac_outfile=conftest.$ac_objext
16137
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16919
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16138
16920
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16139
16921
_lt_compiler_boilerplate=`cat conftest.err`
16140
16922
$rm conftest*
16141
16923
 
16142
16924
ac_outfile=conftest.$ac_objext
16143
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16925
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16144
16926
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16145
16927
_lt_linker_boilerplate=`cat conftest.err`
16146
 
$rm conftest*
 
16928
$rm -r conftest*
16147
16929
 
16148
16930
 
16149
16931
# Allow CC to be a program name with arguments.
16174
16956
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16175
16957
 
16176
16958
 
16177
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16178
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
16959
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16960
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16179
16961
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16180
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16962
  $as_echo_n "(cached) " >&6
16181
16963
else
16182
16964
  lt_cv_prog_compiler_rtti_exceptions=no
16183
16965
  ac_outfile=conftest.$ac_objext
16184
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16966
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16185
16967
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16186
16968
   # Insert the option either (1) after the last *FLAGS variable, or
16187
16969
   # (2) before a word containing "conftest.", or (3) at the end.
16192
16974
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16193
16975
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16194
16976
   -e 's:$: $lt_compiler_flag:'`
16195
 
   (eval echo "\"\$as_me:16195: $lt_compile\"" >&5)
 
16977
   (eval echo "\"\$as_me:16977: $lt_compile\"" >&5)
16196
16978
   (eval "$lt_compile" 2>conftest.err)
16197
16979
   ac_status=$?
16198
16980
   cat conftest.err >&5
16199
 
   echo "$as_me:16199: \$? = $ac_status" >&5
 
16981
   echo "$as_me:16981: \$? = $ac_status" >&5
16200
16982
   if (exit $ac_status) && test -s "$ac_outfile"; then
16201
16983
     # The compiler can only warn and ignore the option if not recognized
16202
16984
     # So say no if there are warnings other than the usual output.
16209
16991
   $rm conftest*
16210
16992
 
16211
16993
fi
16212
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16213
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
16994
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16995
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16214
16996
 
16215
16997
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16216
16998
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16224
17006
lt_prog_compiler_pic_GCJ=
16225
17007
lt_prog_compiler_static_GCJ=
16226
17008
 
16227
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16228
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
17009
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
17010
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16229
17011
 
16230
17012
  if test "$GCC" = yes; then
16231
17013
    lt_prog_compiler_wl_GCJ='-Wl,'
16247
17029
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16248
17030
      ;;
16249
17031
 
16250
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
17032
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16251
17033
      # PIC is the default for these OSes.
16252
17034
      ;;
16253
17035
 
16254
 
    mingw* | pw32* | os2*)
 
17036
    mingw* | cygwin* | pw32* | os2*)
16255
17037
      # This hack is so that the source file can tell whether it is being
16256
17038
      # built for inclusion in a dll (and should export symbols for example).
16257
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
17039
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
17040
      # (--disable-auto-import) libraries
 
17041
 
16258
17042
      ;;
16259
17043
 
16260
17044
    darwin* | rhapsody*)
16263
17047
      lt_prog_compiler_pic_GCJ='-fno-common'
16264
17048
      ;;
16265
17049
 
16266
 
    interix3*)
 
17050
    interix[3-9]*)
16267
17051
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16268
17052
      # Instead, we relocate shared libraries at runtime.
16269
17053
      ;;
16321
17105
       esac
16322
17106
       ;;
16323
17107
 
16324
 
    mingw* | pw32* | os2*)
 
17108
    mingw* | cygwin* | pw32* | os2*)
16325
17109
      # This hack is so that the source file can tell whether it is being
16326
17110
      # built for inclusion in a dll (and should export symbols for example).
16327
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
17111
 
16328
17112
      ;;
16329
17113
 
16330
17114
    hpux9* | hpux10* | hpux11*)
16354
17138
      lt_prog_compiler_static_GCJ='-Bstatic'
16355
17139
      ;;
16356
17140
 
16357
 
    linux*)
 
17141
    linux* | k*bsd*-gnu)
16358
17142
      case $cc_basename in
16359
17143
      icc* | ecc*)
16360
17144
        lt_prog_compiler_wl_GCJ='-Wl,'
16373
17157
        # All Alpha code is PIC.
16374
17158
        lt_prog_compiler_static_GCJ='-non_shared'
16375
17159
        ;;
 
17160
      *)
 
17161
        case `$CC -V 2>&1 | sed 5q` in
 
17162
        *Sun\ C*)
 
17163
          # Sun C 5.9
 
17164
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17165
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17166
          lt_prog_compiler_wl_GCJ='-Wl,'
 
17167
          ;;
 
17168
        *Sun\ F*)
 
17169
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
17170
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17171
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17172
          lt_prog_compiler_wl_GCJ=''
 
17173
          ;;
 
17174
        esac
 
17175
        ;;
16376
17176
      esac
16377
17177
      ;;
16378
17178
 
16382
17182
      lt_prog_compiler_static_GCJ='-non_shared'
16383
17183
      ;;
16384
17184
 
 
17185
    rdos*)
 
17186
      lt_prog_compiler_static_GCJ='-non_shared'
 
17187
      ;;
 
17188
 
16385
17189
    solaris*)
16386
17190
      lt_prog_compiler_pic_GCJ='-KPIC'
16387
17191
      lt_prog_compiler_static_GCJ='-Bstatic'
16434
17238
    esac
16435
17239
  fi
16436
17240
 
16437
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16438
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
 
17241
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17242
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
16439
17243
 
16440
17244
#
16441
17245
# Check to make sure the PIC flag actually works.
16442
17246
#
16443
17247
if test -n "$lt_prog_compiler_pic_GCJ"; then
16444
17248
 
16445
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16446
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16447
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16448
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17249
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17250
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
 
17251
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
 
17252
  $as_echo_n "(cached) " >&6
16449
17253
else
16450
 
  lt_prog_compiler_pic_works_GCJ=no
 
17254
  lt_cv_prog_compiler_pic_works_GCJ=no
16451
17255
  ac_outfile=conftest.$ac_objext
16452
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17256
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16453
17257
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16454
17258
   # Insert the option either (1) after the last *FLAGS variable, or
16455
17259
   # (2) before a word containing "conftest.", or (3) at the end.
16460
17264
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16461
17265
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16462
17266
   -e 's:$: $lt_compiler_flag:'`
16463
 
   (eval echo "\"\$as_me:16463: $lt_compile\"" >&5)
 
17267
   (eval echo "\"\$as_me:17267: $lt_compile\"" >&5)
16464
17268
   (eval "$lt_compile" 2>conftest.err)
16465
17269
   ac_status=$?
16466
17270
   cat conftest.err >&5
16467
 
   echo "$as_me:16467: \$? = $ac_status" >&5
 
17271
   echo "$as_me:17271: \$? = $ac_status" >&5
16468
17272
   if (exit $ac_status) && test -s "$ac_outfile"; then
16469
17273
     # The compiler can only warn and ignore the option if not recognized
16470
17274
     # So say no if there are warnings other than the usual output.
16471
17275
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16472
17276
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16473
17277
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16474
 
       lt_prog_compiler_pic_works_GCJ=yes
 
17278
       lt_cv_prog_compiler_pic_works_GCJ=yes
16475
17279
     fi
16476
17280
   fi
16477
17281
   $rm conftest*
16478
17282
 
16479
17283
fi
16480
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16481
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
17284
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
17285
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
16482
17286
 
16483
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
17287
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
16484
17288
    case $lt_prog_compiler_pic_GCJ in
16485
17289
     "" | " "*) ;;
16486
17290
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16505
17309
# Check to make sure the static flag actually works.
16506
17310
#
16507
17311
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16508
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16509
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16510
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16511
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17312
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17313
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
17314
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
 
17315
  $as_echo_n "(cached) " >&6
16512
17316
else
16513
 
  lt_prog_compiler_static_works_GCJ=no
 
17317
  lt_cv_prog_compiler_static_works_GCJ=no
16514
17318
   save_LDFLAGS="$LDFLAGS"
16515
17319
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16516
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17320
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16517
17321
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16518
17322
     # The linker can only warn and ignore the option if not recognized
16519
17323
     # So say no if there are warnings
16523
17327
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16524
17328
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16525
17329
       if diff conftest.exp conftest.er2 >/dev/null; then
16526
 
         lt_prog_compiler_static_works_GCJ=yes
 
17330
         lt_cv_prog_compiler_static_works_GCJ=yes
16527
17331
       fi
16528
17332
     else
16529
 
       lt_prog_compiler_static_works_GCJ=yes
 
17333
       lt_cv_prog_compiler_static_works_GCJ=yes
16530
17334
     fi
16531
17335
   fi
16532
 
   $rm conftest*
 
17336
   $rm -r conftest*
16533
17337
   LDFLAGS="$save_LDFLAGS"
16534
17338
 
16535
17339
fi
16536
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16537
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17340
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
17341
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
16538
17342
 
16539
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17343
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
16540
17344
    :
16541
17345
else
16542
17346
    lt_prog_compiler_static_GCJ=
16543
17347
fi
16544
17348
 
16545
17349
 
16546
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16547
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
17350
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17351
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16548
17352
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16549
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17353
  $as_echo_n "(cached) " >&6
16550
17354
else
16551
17355
  lt_cv_prog_compiler_c_o_GCJ=no
16552
17356
   $rm -r conftest 2>/dev/null
16553
17357
   mkdir conftest
16554
17358
   cd conftest
16555
17359
   mkdir out
16556
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17360
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16557
17361
 
16558
17362
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16559
17363
   # Insert the option either (1) after the last *FLAGS variable, or
16564
17368
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16565
17369
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16566
17370
   -e 's:$: $lt_compiler_flag:'`
16567
 
   (eval echo "\"\$as_me:16567: $lt_compile\"" >&5)
 
17371
   (eval echo "\"\$as_me:17371: $lt_compile\"" >&5)
16568
17372
   (eval "$lt_compile" 2>out/conftest.err)
16569
17373
   ac_status=$?
16570
17374
   cat out/conftest.err >&5
16571
 
   echo "$as_me:16571: \$? = $ac_status" >&5
 
17375
   echo "$as_me:17375: \$? = $ac_status" >&5
16572
17376
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16573
17377
   then
16574
17378
     # The compiler can only warn and ignore the option if not recognized
16590
17394
   $rm conftest*
16591
17395
 
16592
17396
fi
16593
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16594
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
 
17397
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17398
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16595
17399
 
16596
17400
 
16597
17401
hard_links="nottested"
16598
17402
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16599
17403
  # do not overwrite the value of need_locks provided by the user
16600
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16601
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
17404
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17405
$as_echo_n "checking if we can lock with hard links... " >&6; }
16602
17406
  hard_links=yes
16603
17407
  $rm conftest*
16604
17408
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16605
17409
  touch conftest.a
16606
17410
  ln conftest.a conftest.b 2>&5 || hard_links=no
16607
17411
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16608
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
16609
 
echo "${ECHO_T}$hard_links" >&6; }
 
17412
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
17413
$as_echo "$hard_links" >&6; }
16610
17414
  if test "$hard_links" = no; then
16611
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16612
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
17415
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
17416
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16613
17417
    need_locks=warn
16614
17418
  fi
16615
17419
else
16616
17420
  need_locks=no
16617
17421
fi
16618
17422
 
16619
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16620
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
17423
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17424
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16621
17425
 
16622
17426
  runpath_var=
16623
17427
  allow_undefined_flag_GCJ=
16648
17452
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16649
17453
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16650
17454
  # as well as any symbol that contains `d'.
16651
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
17455
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16652
17456
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16653
17457
  # platforms (ab)use it in PIC code, but their linkers get confused if
16654
17458
  # the symbol is explicitly referenced.  Since portable code cannot
16655
17459
  # rely on this symbol name, it's probably fine to never include it in
16656
17460
  # preloaded symbol tables.
 
17461
  # Exclude shared library initialization/finalization symbols.
16657
17462
  extract_expsyms_cmds=
16658
17463
  # Just being paranoid about ensuring that cc_basename is set.
16659
17464
  for cc_temp in $compiler""; do
16712
17517
 
16713
17518
    # See if GNU ld supports shared libraries.
16714
17519
    case $host_os in
16715
 
    aix3* | aix4* | aix5*)
 
17520
    aix[3-9]*)
16716
17521
      # On AIX/PPC, the GNU linker is very broken
16717
17522
      if test "$host_cpu" != ia64; then
16718
17523
        ld_shlibs_GCJ=no
16760
17565
      allow_undefined_flag_GCJ=unsupported
16761
17566
      always_export_symbols_GCJ=no
16762
17567
      enable_shared_with_static_runtimes_GCJ=yes
16763
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17568
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16764
17569
 
16765
17570
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16766
17571
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16778
17583
      fi
16779
17584
      ;;
16780
17585
 
16781
 
    interix3*)
 
17586
    interix[3-9]*)
16782
17587
      hardcode_direct_GCJ=no
16783
17588
      hardcode_shlibpath_var_GCJ=no
16784
17589
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16793
17598
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16794
17599
      ;;
16795
17600
 
16796
 
    linux*)
 
17601
    gnu* | linux* | k*bsd*-gnu)
16797
17602
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16798
17603
        tmp_addflag=
16799
17604
        case $cc_basename,$host_cpu in
16811
17616
        ifc* | ifort*)                  # Intel Fortran compiler
16812
17617
          tmp_addflag=' -nofor_main' ;;
16813
17618
        esac
16814
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17619
        case `$CC -V 2>&1 | sed 5q` in
 
17620
        *Sun\ C*)                       # Sun C 5.9
 
17621
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17622
          tmp_sharedflag='-G' ;;
 
17623
        *Sun\ F*)                       # Sun Fortran 8.3
 
17624
          tmp_sharedflag='-G' ;;
 
17625
        *)
 
17626
          tmp_sharedflag='-shared' ;;
 
17627
        esac
 
17628
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16815
17629
 
16816
17630
        if test $supports_anon_versioning = yes; then
16817
17631
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16818
17632
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16819
17633
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16820
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17634
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16821
17635
        fi
16822
17636
      else
16823
17637
        ld_shlibs_GCJ=no
16922
17736
      fi
16923
17737
      ;;
16924
17738
 
16925
 
    aix4* | aix5*)
 
17739
    aix[4-9]*)
16926
17740
      if test "$host_cpu" = ia64; then
16927
17741
        # On IA64, the linker does run time linking by default, so we don't
16928
17742
        # have to do anything special.
16942
17756
        # Test if we are trying to use run time linking or normal
16943
17757
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16944
17758
        # need to do runtime linking.
16945
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17759
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16946
17760
          for ld_flag in $LDFLAGS; do
16947
17761
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16948
17762
            aix_use_runtimelinking=yes
16976
17790
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16977
17791
          then
16978
17792
          # We have reworked collect2
16979
 
          hardcode_direct_GCJ=yes
 
17793
          :
16980
17794
          else
16981
17795
          # We have old collect2
16982
17796
          hardcode_direct_GCJ=unsupported
17037
17851
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17038
17852
  *) ac_try_echo=$ac_try;;
17039
17853
esac
17040
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17854
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17855
$as_echo "$ac_try_echo") >&5
17041
17856
  (eval "$ac_link") 2>conftest.er1
17042
17857
  ac_status=$?
17043
17858
  grep -v '^ *+' conftest.er1 >conftest.err
17044
17859
  rm -f conftest.er1
17045
17860
  cat conftest.err >&5
17046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17861
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047
17862
  (exit $ac_status); } && {
17048
17863
         test -z "$ac_c_werror_flag" ||
17049
17864
         test ! -s conftest.err
17050
 
       } && test -s conftest$ac_exeext &&
17051
 
       $as_test_x conftest$ac_exeext; then
 
17865
       } && test -s conftest$ac_exeext && {
 
17866
         test "$cross_compiling" = yes ||
 
17867
         $as_test_x conftest$ac_exeext
 
17868
       }; then
17052
17869
 
17053
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17054
 
}'`
 
17870
lt_aix_libpath_sed='
 
17871
    /Import File Strings/,/^$/ {
 
17872
        /^0/ {
 
17873
            s/^0  *\(.*\)$/\1/
 
17874
            p
 
17875
        }
 
17876
    }'
 
17877
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17055
17878
# Check for a 64-bit object if we didn't find anything.
17056
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17057
 
}'`; fi
 
17879
if test -z "$aix_libpath"; then
 
17880
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17881
fi
17058
17882
else
17059
 
  echo "$as_me: failed program was:" >&5
 
17883
  $as_echo "$as_me: failed program was:" >&5
17060
17884
sed 's/^/| /' conftest.$ac_ext >&5
17061
17885
 
17062
17886
 
17063
17887
fi
17064
17888
 
 
17889
rm -rf conftest.dSYM
17065
17890
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17066
17891
      conftest$ac_exeext conftest.$ac_ext
17067
17892
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17096
17921
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17097
17922
  *) ac_try_echo=$ac_try;;
17098
17923
esac
17099
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17924
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17925
$as_echo "$ac_try_echo") >&5
17100
17926
  (eval "$ac_link") 2>conftest.er1
17101
17927
  ac_status=$?
17102
17928
  grep -v '^ *+' conftest.er1 >conftest.err
17103
17929
  rm -f conftest.er1
17104
17930
  cat conftest.err >&5
17105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17931
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106
17932
  (exit $ac_status); } && {
17107
17933
         test -z "$ac_c_werror_flag" ||
17108
17934
         test ! -s conftest.err
17109
 
       } && test -s conftest$ac_exeext &&
17110
 
       $as_test_x conftest$ac_exeext; then
 
17935
       } && test -s conftest$ac_exeext && {
 
17936
         test "$cross_compiling" = yes ||
 
17937
         $as_test_x conftest$ac_exeext
 
17938
       }; then
17111
17939
 
17112
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17113
 
}'`
 
17940
lt_aix_libpath_sed='
 
17941
    /Import File Strings/,/^$/ {
 
17942
        /^0/ {
 
17943
            s/^0  *\(.*\)$/\1/
 
17944
            p
 
17945
        }
 
17946
    }'
 
17947
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17114
17948
# Check for a 64-bit object if we didn't find anything.
17115
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17116
 
}'`; fi
 
17949
if test -z "$aix_libpath"; then
 
17950
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17951
fi
17117
17952
else
17118
 
  echo "$as_me: failed program was:" >&5
 
17953
  $as_echo "$as_me: failed program was:" >&5
17119
17954
sed 's/^/| /' conftest.$ac_ext >&5
17120
17955
 
17121
17956
 
17122
17957
fi
17123
17958
 
 
17959
rm -rf conftest.dSYM
17124
17960
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17125
17961
      conftest$ac_exeext conftest.$ac_ext
17126
17962
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17167
18003
      # The linker will automatically build a .lib file if we build a DLL.
17168
18004
      old_archive_From_new_cmds_GCJ='true'
17169
18005
      # FIXME: Should let the user specify the lib program.
17170
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
18006
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17171
18007
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17172
18008
      enable_shared_with_static_runtimes_GCJ=yes
17173
18009
      ;;
17200
18036
      link_all_deplibs_GCJ=yes
17201
18037
    if test "$GCC" = yes ; then
17202
18038
        output_verbose_link_cmd='echo'
17203
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17204
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17205
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17206
 
      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}'
17207
 
      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}'
 
18039
        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}"
 
18040
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
18041
        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}"
 
18042
        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}"
17208
18043
    else
17209
18044
      case $cc_basename in
17210
18045
        xlc*)
17211
18046
         output_verbose_link_cmd='echo'
17212
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
18047
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17213
18048
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17214
18049
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17215
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
18050
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17216
18051
          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}'
17217
18052
          ;;
17218
18053
       *)
17252
18087
      ;;
17253
18088
 
17254
18089
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17255
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
18090
    freebsd* | dragonfly*)
17256
18091
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17257
18092
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17258
18093
      hardcode_direct_GCJ=yes
17374
18209
      ;;
17375
18210
 
17376
18211
    openbsd*)
17377
 
      hardcode_direct_GCJ=yes
17378
 
      hardcode_shlibpath_var_GCJ=no
17379
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17380
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17381
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17382
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17383
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
18212
      if test -f /usr/libexec/ld.so; then
 
18213
        hardcode_direct_GCJ=yes
 
18214
        hardcode_shlibpath_var_GCJ=no
 
18215
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
18216
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18217
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
18218
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18219
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
18220
        else
 
18221
          case $host_os in
 
18222
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
18223
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18224
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18225
             ;;
 
18226
           *)
 
18227
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18228
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18229
             ;;
 
18230
          esac
 
18231
        fi
17384
18232
      else
17385
 
       case $host_os in
17386
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17387
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17388
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17389
 
           ;;
17390
 
         *)
17391
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17392
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17393
 
           ;;
17394
 
       esac
 
18233
        ld_shlibs_GCJ=no
17395
18234
      fi
17396
18235
      ;;
17397
18236
 
17450
18289
      case $host_os in
17451
18290
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17452
18291
      *)
17453
 
        # The compiler driver will combine linker options so we
17454
 
        # cannot just pass the convience library names through
17455
 
        # without $wl, iff we do not link with $LD.
17456
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18292
        # The compiler driver will combine and reorder linker options,
 
18293
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
18294
        # but is careful enough not to reorder.
17457
18295
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17458
 
        case $wlarc in
17459
 
        '')
17460
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17461
 
        *)
17462
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17463
 
        esac ;;
 
18296
        if test "$GCC" = yes; then
 
18297
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
18298
        else
 
18299
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
18300
        fi
 
18301
        ;;
17464
18302
      esac
17465
18303
      link_all_deplibs_GCJ=yes
17466
18304
      ;;
17517
18355
      fi
17518
18356
      ;;
17519
18357
 
17520
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18358
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17521
18359
      no_undefined_flag_GCJ='${wl}-z,text'
17522
18360
      archive_cmds_need_lc_GCJ=no
17523
18361
      hardcode_shlibpath_var_GCJ=no
17570
18408
    esac
17571
18409
  fi
17572
18410
 
17573
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17574
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
 
18411
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18412
$as_echo "$ld_shlibs_GCJ" >&6; }
17575
18413
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17576
18414
 
17577
18415
#
17591
18429
      # Test whether the compiler implicitly links with -lc since on some
17592
18430
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17593
18431
      # to ld, don't add -lc before -lgcc.
17594
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17595
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
18432
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18433
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17596
18434
      $rm conftest*
17597
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18435
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17598
18436
 
17599
18437
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17600
18438
  (eval $ac_compile) 2>&5
17601
18439
  ac_status=$?
17602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18440
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603
18441
  (exit $ac_status); } 2>conftest.err; then
17604
18442
        soname=conftest
17605
18443
        lib=conftest
17617
18455
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17618
18456
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17619
18457
  ac_status=$?
17620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18458
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621
18459
  (exit $ac_status); }
17622
18460
        then
17623
18461
          archive_cmds_need_lc_GCJ=no
17629
18467
        cat conftest.err 1>&5
17630
18468
      fi
17631
18469
      $rm conftest*
17632
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17633
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
 
18470
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18471
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
17634
18472
      ;;
17635
18473
    esac
17636
18474
  fi
17637
18475
  ;;
17638
18476
esac
17639
18477
 
17640
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17641
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
18478
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18479
$as_echo_n "checking dynamic linker characteristics... " >&6; }
17642
18480
library_names_spec=
17643
18481
libname_spec='lib$name'
17644
18482
soname_spec=
17652
18490
version_type=none
17653
18491
dynamic_linker="$host_os ld.so"
17654
18492
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17655
 
if test "$GCC" = yes; then
17656
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17657
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17658
 
    # if the path contains ";" then we assume it to be the separator
17659
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17660
 
    # assumed that no part of a normal pathname contains ";" but that should
17661
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17662
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17663
 
  else
17664
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17665
 
  fi
17666
 
else
17667
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17668
 
fi
 
18493
 
17669
18494
need_lib_prefix=unknown
17670
18495
hardcode_into_libs=no
17671
18496
 
17683
18508
  soname_spec='${libname}${release}${shared_ext}$major'
17684
18509
  ;;
17685
18510
 
17686
 
aix4* | aix5*)
 
18511
aix[4-9]*)
17687
18512
  version_type=linux
17688
18513
  need_lib_prefix=no
17689
18514
  need_version=no
17822
18647
  shlibpath_overrides_runpath=yes
17823
18648
  shlibpath_var=DYLD_LIBRARY_PATH
17824
18649
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17825
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17826
 
  if test "$GCC" = yes; then
17827
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17828
 
  else
17829
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17830
 
  fi
 
18650
 
17831
18651
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17832
18652
  ;;
17833
18653
 
17844
18664
  dynamic_linker=no
17845
18665
  ;;
17846
18666
 
17847
 
kfreebsd*-gnu)
17848
 
  version_type=linux
17849
 
  need_lib_prefix=no
17850
 
  need_version=no
17851
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17852
 
  soname_spec='${libname}${release}${shared_ext}$major'
17853
 
  shlibpath_var=LD_LIBRARY_PATH
17854
 
  shlibpath_overrides_runpath=no
17855
 
  hardcode_into_libs=yes
17856
 
  dynamic_linker='GNU ld.so'
17857
 
  ;;
17858
 
 
17859
18667
freebsd* | dragonfly*)
17860
18668
  # DragonFly does not have aout.  When/if they implement a new
17861
18669
  # versioning mechanism, adjust this.
17893
18701
    shlibpath_overrides_runpath=no
17894
18702
    hardcode_into_libs=yes
17895
18703
    ;;
17896
 
  freebsd*) # from 4.6 on
 
18704
  *) # from 4.6 on, and DragonFly
17897
18705
    shlibpath_overrides_runpath=yes
17898
18706
    hardcode_into_libs=yes
17899
18707
    ;;
17956
18764
  postinstall_cmds='chmod 555 $lib'
17957
18765
  ;;
17958
18766
 
17959
 
interix3*)
 
18767
interix[3-9]*)
17960
18768
  version_type=linux
17961
18769
  need_lib_prefix=no
17962
18770
  need_version=no
18011
18819
  ;;
18012
18820
 
18013
18821
# This must be Linux ELF.
18014
 
linux*)
 
18822
linux* | k*bsd*-gnu)
18015
18823
  version_type=linux
18016
18824
  need_lib_prefix=no
18017
18825
  need_version=no
18027
18835
 
18028
18836
  # Append ld.so.conf contents to the search path
18029
18837
  if test -f /etc/ld.so.conf; then
18030
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
18838
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18031
18839
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18032
18840
  fi
18033
18841
 
18040
18848
  dynamic_linker='GNU/Linux ld.so'
18041
18849
  ;;
18042
18850
 
18043
 
knetbsd*-gnu)
18044
 
  version_type=linux
18045
 
  need_lib_prefix=no
18046
 
  need_version=no
18047
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18048
 
  soname_spec='${libname}${release}${shared_ext}$major'
18049
 
  shlibpath_var=LD_LIBRARY_PATH
18050
 
  shlibpath_overrides_runpath=no
18051
 
  hardcode_into_libs=yes
18052
 
  dynamic_linker='GNU ld.so'
18053
 
  ;;
18054
 
 
18055
18851
netbsd*)
18056
18852
  version_type=sunos
18057
18853
  need_lib_prefix=no
18133
18929
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18134
18930
  ;;
18135
18931
 
 
18932
rdos*)
 
18933
  dynamic_linker=no
 
18934
  ;;
 
18935
 
18136
18936
solaris*)
18137
18937
  version_type=linux
18138
18938
  need_lib_prefix=no
18225
19025
  dynamic_linker=no
18226
19026
  ;;
18227
19027
esac
18228
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18229
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
19028
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
19029
$as_echo "$dynamic_linker" >&6; }
18230
19030
test "$dynamic_linker" = no && can_build_shared=no
18231
19031
 
 
19032
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
19033
  $as_echo_n "(cached) " >&6
 
19034
else
 
19035
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
19036
fi
 
19037
 
 
19038
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
19039
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
19040
  $as_echo_n "(cached) " >&6
 
19041
else
 
19042
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
19043
fi
 
19044
 
 
19045
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
19046
 
18232
19047
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18233
19048
if test "$GCC" = yes; then
18234
19049
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18235
19050
fi
18236
19051
 
18237
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18238
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
19052
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
19053
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18239
19054
hardcode_action_GCJ=
18240
19055
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18241
19056
   test -n "$runpath_var_GCJ" || \
18259
19074
  # directories.
18260
19075
  hardcode_action_GCJ=unsupported
18261
19076
fi
18262
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18263
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
 
19077
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
19078
$as_echo "$hardcode_action_GCJ" >&6; }
18264
19079
 
18265
19080
if test "$hardcode_action_GCJ" = relink; then
18266
19081
  # Fast installation is not supported
18312
19127
    predeps_GCJ \
18313
19128
    postdeps_GCJ \
18314
19129
    compiler_lib_search_path_GCJ \
 
19130
    compiler_lib_search_dirs_GCJ \
18315
19131
    archive_cmds_GCJ \
18316
19132
    archive_expsym_cmds_GCJ \
18317
19133
    postinstall_cmds_GCJ \
18327
19143
    module_cmds_GCJ \
18328
19144
    module_expsym_cmds_GCJ \
18329
19145
    lt_cv_prog_compiler_c_o_GCJ \
 
19146
    fix_srcfile_path_GCJ \
18330
19147
    exclude_expsyms_GCJ \
18331
19148
    include_expsyms_GCJ; do
18332
19149
 
18559
19376
# shared library.
18560
19377
postdeps=$lt_postdeps_GCJ
18561
19378
 
 
19379
# The directories searched by this compiler when creating a shared
 
19380
# library
 
19381
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
19382
 
18562
19383
# The library search path used internally by the compiler when linking
18563
19384
# a shared library.
18564
19385
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18647
19468
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18648
19469
 
18649
19470
# Fix the shell variable \$srcfile for the compiler.
18650
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
19471
fix_srcfile_path=$lt_fix_srcfile_path
18651
19472
 
18652
19473
# Set to yes if exported symbols are required.
18653
19474
always_export_symbols=$always_export_symbols_GCJ
18704
19525
objext_RC=$objext
18705
19526
 
18706
19527
# Code to be used in simple compile tests
18707
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
19528
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18708
19529
 
18709
19530
# Code to be used in simple link tests
18710
19531
lt_simple_link_test_code="$lt_simple_compile_test_code"
18723
19544
 
18724
19545
# save warnings/boilerplate of simple test code
18725
19546
ac_outfile=conftest.$ac_objext
18726
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19547
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18727
19548
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18728
19549
_lt_compiler_boilerplate=`cat conftest.err`
18729
19550
$rm conftest*
18730
19551
 
18731
19552
ac_outfile=conftest.$ac_objext
18732
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19553
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18733
19554
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18734
19555
_lt_linker_boilerplate=`cat conftest.err`
18735
 
$rm conftest*
 
19556
$rm -r conftest*
18736
19557
 
18737
19558
 
18738
19559
# Allow CC to be a program name with arguments.
18792
19613
    predeps_RC \
18793
19614
    postdeps_RC \
18794
19615
    compiler_lib_search_path_RC \
 
19616
    compiler_lib_search_dirs_RC \
18795
19617
    archive_cmds_RC \
18796
19618
    archive_expsym_cmds_RC \
18797
19619
    postinstall_cmds_RC \
18807
19629
    module_cmds_RC \
18808
19630
    module_expsym_cmds_RC \
18809
19631
    lt_cv_prog_compiler_c_o_RC \
 
19632
    fix_srcfile_path_RC \
18810
19633
    exclude_expsyms_RC \
18811
19634
    include_expsyms_RC; do
18812
19635
 
19039
19862
# shared library.
19040
19863
postdeps=$lt_postdeps_RC
19041
19864
 
 
19865
# The directories searched by this compiler when creating a shared
 
19866
# library
 
19867
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
19868
 
19042
19869
# The library search path used internally by the compiler when linking
19043
19870
# a shared library.
19044
19871
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19127
19954
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19128
19955
 
19129
19956
# Fix the shell variable \$srcfile for the compiler.
19130
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19957
fix_srcfile_path=$lt_fix_srcfile_path
19131
19958
 
19132
19959
# Set to yes if exported symbols are required.
19133
19960
always_export_symbols=$always_export_symbols_RC
19171
19998
        ;;
19172
19999
 
19173
20000
      *)
19174
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19175
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 
20001
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 
20002
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19176
20003
   { (exit 1); exit 1; }; }
19177
20004
        ;;
19178
20005
      esac
19191
20018
    chmod +x "$ofile"
19192
20019
  else
19193
20020
    rm -f "${ofile}T"
19194
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19195
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 
20021
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 
20022
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19196
20023
   { (exit 1); exit 1; }; }
19197
20024
  fi
19198
20025
fi
19234
20061
if test -n "$ac_tool_prefix"; then
19235
20062
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19236
20063
set dummy ${ac_tool_prefix}gcc; ac_word=$2
19237
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19238
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20064
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20065
$as_echo_n "checking for $ac_word... " >&6; }
19239
20066
if test "${ac_cv_prog_CC+set}" = set; then
19240
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20067
  $as_echo_n "(cached) " >&6
19241
20068
else
19242
20069
  if test -n "$CC"; then
19243
20070
  ac_cv_prog_CC="$CC" # Let the user override the test.
19250
20077
  for ac_exec_ext in '' $ac_executable_extensions; do
19251
20078
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19252
20079
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
19253
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20080
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19254
20081
    break 2
19255
20082
  fi
19256
20083
done
19261
20088
fi
19262
20089
CC=$ac_cv_prog_CC
19263
20090
if test -n "$CC"; then
19264
 
  { echo "$as_me:$LINENO: result: $CC" >&5
19265
 
echo "${ECHO_T}$CC" >&6; }
 
20091
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
20092
$as_echo "$CC" >&6; }
19266
20093
else
19267
 
  { echo "$as_me:$LINENO: result: no" >&5
19268
 
echo "${ECHO_T}no" >&6; }
 
20094
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
20095
$as_echo "no" >&6; }
19269
20096
fi
19270
20097
 
19271
20098
 
19274
20101
  ac_ct_CC=$CC
19275
20102
  # Extract the first word of "gcc", so it can be a program name with args.
19276
20103
set dummy gcc; ac_word=$2
19277
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19278
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20104
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20105
$as_echo_n "checking for $ac_word... " >&6; }
19279
20106
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19280
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20107
  $as_echo_n "(cached) " >&6
19281
20108
else
19282
20109
  if test -n "$ac_ct_CC"; then
19283
20110
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19290
20117
  for ac_exec_ext in '' $ac_executable_extensions; do
19291
20118
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19292
20119
    ac_cv_prog_ac_ct_CC="gcc"
19293
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20120
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19294
20121
    break 2
19295
20122
  fi
19296
20123
done
19301
20128
fi
19302
20129
ac_ct_CC=$ac_cv_prog_ac_ct_CC
19303
20130
if test -n "$ac_ct_CC"; then
19304
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19305
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
20131
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
20132
$as_echo "$ac_ct_CC" >&6; }
19306
20133
else
19307
 
  { echo "$as_me:$LINENO: result: no" >&5
19308
 
echo "${ECHO_T}no" >&6; }
 
20134
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
20135
$as_echo "no" >&6; }
19309
20136
fi
19310
20137
 
19311
20138
  if test "x$ac_ct_CC" = x; then
19313
20140
  else
19314
20141
    case $cross_compiling:$ac_tool_warned in
19315
20142
yes:)
19316
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19317
 
whose name does not start with the host triplet.  If you think this
19318
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
19319
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19320
 
whose name does not start with the host triplet.  If you think this
19321
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
20143
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
20144
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19322
20145
ac_tool_warned=yes ;;
19323
20146
esac
19324
20147
    CC=$ac_ct_CC
19331
20154
          if test -n "$ac_tool_prefix"; then
19332
20155
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
19333
20156
set dummy ${ac_tool_prefix}cc; ac_word=$2
19334
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19335
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20157
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20158
$as_echo_n "checking for $ac_word... " >&6; }
19336
20159
if test "${ac_cv_prog_CC+set}" = set; then
19337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20160
  $as_echo_n "(cached) " >&6
19338
20161
else
19339
20162
  if test -n "$CC"; then
19340
20163
  ac_cv_prog_CC="$CC" # Let the user override the test.
19347
20170
  for ac_exec_ext in '' $ac_executable_extensions; do
19348
20171
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19349
20172
    ac_cv_prog_CC="${ac_tool_prefix}cc"
19350
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20173
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19351
20174
    break 2
19352
20175
  fi
19353
20176
done
19358
20181
fi
19359
20182
CC=$ac_cv_prog_CC
19360
20183
if test -n "$CC"; then
19361
 
  { echo "$as_me:$LINENO: result: $CC" >&5
19362
 
echo "${ECHO_T}$CC" >&6; }
 
20184
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
20185
$as_echo "$CC" >&6; }
19363
20186
else
19364
 
  { echo "$as_me:$LINENO: result: no" >&5
19365
 
echo "${ECHO_T}no" >&6; }
 
20187
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
20188
$as_echo "no" >&6; }
19366
20189
fi
19367
20190
 
19368
20191
 
19371
20194
if test -z "$CC"; then
19372
20195
  # Extract the first word of "cc", so it can be a program name with args.
19373
20196
set dummy cc; ac_word=$2
19374
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19375
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20197
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20198
$as_echo_n "checking for $ac_word... " >&6; }
19376
20199
if test "${ac_cv_prog_CC+set}" = set; then
19377
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20200
  $as_echo_n "(cached) " >&6
19378
20201
else
19379
20202
  if test -n "$CC"; then
19380
20203
  ac_cv_prog_CC="$CC" # Let the user override the test.
19392
20215
       continue
19393
20216
     fi
19394
20217
    ac_cv_prog_CC="cc"
19395
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20218
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19396
20219
    break 2
19397
20220
  fi
19398
20221
done
19415
20238
fi
19416
20239
CC=$ac_cv_prog_CC
19417
20240
if test -n "$CC"; then
19418
 
  { echo "$as_me:$LINENO: result: $CC" >&5
19419
 
echo "${ECHO_T}$CC" >&6; }
 
20241
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
20242
$as_echo "$CC" >&6; }
19420
20243
else
19421
 
  { echo "$as_me:$LINENO: result: no" >&5
19422
 
echo "${ECHO_T}no" >&6; }
 
20244
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
20245
$as_echo "no" >&6; }
19423
20246
fi
19424
20247
 
19425
20248
 
19430
20253
  do
19431
20254
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19432
20255
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19433
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19434
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20256
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20257
$as_echo_n "checking for $ac_word... " >&6; }
19435
20258
if test "${ac_cv_prog_CC+set}" = set; then
19436
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20259
  $as_echo_n "(cached) " >&6
19437
20260
else
19438
20261
  if test -n "$CC"; then
19439
20262
  ac_cv_prog_CC="$CC" # Let the user override the test.
19446
20269
  for ac_exec_ext in '' $ac_executable_extensions; do
19447
20270
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19448
20271
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19449
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20272
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19450
20273
    break 2
19451
20274
  fi
19452
20275
done
19457
20280
fi
19458
20281
CC=$ac_cv_prog_CC
19459
20282
if test -n "$CC"; then
19460
 
  { echo "$as_me:$LINENO: result: $CC" >&5
19461
 
echo "${ECHO_T}$CC" >&6; }
 
20283
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
20284
$as_echo "$CC" >&6; }
19462
20285
else
19463
 
  { echo "$as_me:$LINENO: result: no" >&5
19464
 
echo "${ECHO_T}no" >&6; }
 
20286
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
20287
$as_echo "no" >&6; }
19465
20288
fi
19466
20289
 
19467
20290
 
19474
20297
do
19475
20298
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19476
20299
set dummy $ac_prog; ac_word=$2
19477
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19478
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20300
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20301
$as_echo_n "checking for $ac_word... " >&6; }
19479
20302
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19480
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20303
  $as_echo_n "(cached) " >&6
19481
20304
else
19482
20305
  if test -n "$ac_ct_CC"; then
19483
20306
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19490
20313
  for ac_exec_ext in '' $ac_executable_extensions; do
19491
20314
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19492
20315
    ac_cv_prog_ac_ct_CC="$ac_prog"
19493
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20316
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19494
20317
    break 2
19495
20318
  fi
19496
20319
done
19501
20324
fi
19502
20325
ac_ct_CC=$ac_cv_prog_ac_ct_CC
19503
20326
if test -n "$ac_ct_CC"; then
19504
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19505
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
20327
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
20328
$as_echo "$ac_ct_CC" >&6; }
19506
20329
else
19507
 
  { echo "$as_me:$LINENO: result: no" >&5
19508
 
echo "${ECHO_T}no" >&6; }
 
20330
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
20331
$as_echo "no" >&6; }
19509
20332
fi
19510
20333
 
19511
20334
 
19517
20340
  else
19518
20341
    case $cross_compiling:$ac_tool_warned in
19519
20342
yes:)
19520
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19521
 
whose name does not start with the host triplet.  If you think this
19522
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
19523
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19524
 
whose name does not start with the host triplet.  If you think this
19525
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
20343
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
20344
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19526
20345
ac_tool_warned=yes ;;
19527
20346
esac
19528
20347
    CC=$ac_ct_CC
19532
20351
fi
19533
20352
 
19534
20353
 
19535
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
20354
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
20355
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
20356
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
19536
20357
See \`config.log' for more details." >&5
19537
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
20358
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
19538
20359
See \`config.log' for more details." >&2;}
19539
 
   { (exit 1); exit 1; }; }
 
20360
   { (exit 1); exit 1; }; }; }
19540
20361
 
19541
20362
# Provide some information about the compiler.
19542
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
19543
 
ac_compiler=`set X $ac_compile; echo $2`
 
20363
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
20364
set X $ac_compile
 
20365
ac_compiler=$2
19544
20366
{ (ac_try="$ac_compiler --version >&5"
19545
20367
case "(($ac_try" in
19546
20368
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19547
20369
  *) ac_try_echo=$ac_try;;
19548
20370
esac
19549
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20371
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20372
$as_echo "$ac_try_echo") >&5
19550
20373
  (eval "$ac_compiler --version >&5") 2>&5
19551
20374
  ac_status=$?
19552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20375
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553
20376
  (exit $ac_status); }
19554
20377
{ (ac_try="$ac_compiler -v >&5"
19555
20378
case "(($ac_try" in
19556
20379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19557
20380
  *) ac_try_echo=$ac_try;;
19558
20381
esac
19559
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20382
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20383
$as_echo "$ac_try_echo") >&5
19560
20384
  (eval "$ac_compiler -v >&5") 2>&5
19561
20385
  ac_status=$?
19562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20386
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563
20387
  (exit $ac_status); }
19564
20388
{ (ac_try="$ac_compiler -V >&5"
19565
20389
case "(($ac_try" in
19566
20390
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19567
20391
  *) ac_try_echo=$ac_try;;
19568
20392
esac
19569
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20393
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20394
$as_echo "$ac_try_echo") >&5
19570
20395
  (eval "$ac_compiler -V >&5") 2>&5
19571
20396
  ac_status=$?
19572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20397
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573
20398
  (exit $ac_status); }
19574
20399
 
19575
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
19576
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
20400
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
20401
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
19577
20402
if test "${ac_cv_c_compiler_gnu+set}" = set; then
19578
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20403
  $as_echo_n "(cached) " >&6
19579
20404
else
19580
20405
  cat >conftest.$ac_ext <<_ACEOF
19581
20406
/* confdefs.h.  */
19601
20426
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19602
20427
  *) ac_try_echo=$ac_try;;
19603
20428
esac
19604
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20429
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20430
$as_echo "$ac_try_echo") >&5
19605
20431
  (eval "$ac_compile") 2>conftest.er1
19606
20432
  ac_status=$?
19607
20433
  grep -v '^ *+' conftest.er1 >conftest.err
19608
20434
  rm -f conftest.er1
19609
20435
  cat conftest.err >&5
19610
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20436
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611
20437
  (exit $ac_status); } && {
19612
20438
         test -z "$ac_c_werror_flag" ||
19613
20439
         test ! -s conftest.err
19614
20440
       } && test -s conftest.$ac_objext; then
19615
20441
  ac_compiler_gnu=yes
19616
20442
else
19617
 
  echo "$as_me: failed program was:" >&5
 
20443
  $as_echo "$as_me: failed program was:" >&5
19618
20444
sed 's/^/| /' conftest.$ac_ext >&5
19619
20445
 
19620
20446
        ac_compiler_gnu=no
19624
20450
ac_cv_c_compiler_gnu=$ac_compiler_gnu
19625
20451
 
19626
20452
fi
19627
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
19628
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
19629
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
20453
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
20454
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
20455
if test $ac_compiler_gnu = yes; then
 
20456
  GCC=yes
 
20457
else
 
20458
  GCC=
 
20459
fi
19630
20460
ac_test_CFLAGS=${CFLAGS+set}
19631
20461
ac_save_CFLAGS=$CFLAGS
19632
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19633
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
20462
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
20463
$as_echo_n "checking whether $CC accepts -g... " >&6; }
19634
20464
if test "${ac_cv_prog_cc_g+set}" = set; then
19635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20465
  $as_echo_n "(cached) " >&6
19636
20466
else
19637
20467
  ac_save_c_werror_flag=$ac_c_werror_flag
19638
20468
   ac_c_werror_flag=yes
19659
20489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19660
20490
  *) ac_try_echo=$ac_try;;
19661
20491
esac
19662
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20492
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20493
$as_echo "$ac_try_echo") >&5
19663
20494
  (eval "$ac_compile") 2>conftest.er1
19664
20495
  ac_status=$?
19665
20496
  grep -v '^ *+' conftest.er1 >conftest.err
19666
20497
  rm -f conftest.er1
19667
20498
  cat conftest.err >&5
19668
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20499
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669
20500
  (exit $ac_status); } && {
19670
20501
         test -z "$ac_c_werror_flag" ||
19671
20502
         test ! -s conftest.err
19672
20503
       } && test -s conftest.$ac_objext; then
19673
20504
  ac_cv_prog_cc_g=yes
19674
20505
else
19675
 
  echo "$as_me: failed program was:" >&5
 
20506
  $as_echo "$as_me: failed program was:" >&5
19676
20507
sed 's/^/| /' conftest.$ac_ext >&5
19677
20508
 
19678
20509
        CFLAGS=""
19697
20528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19698
20529
  *) ac_try_echo=$ac_try;;
19699
20530
esac
19700
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20531
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20532
$as_echo "$ac_try_echo") >&5
19701
20533
  (eval "$ac_compile") 2>conftest.er1
19702
20534
  ac_status=$?
19703
20535
  grep -v '^ *+' conftest.er1 >conftest.err
19704
20536
  rm -f conftest.er1
19705
20537
  cat conftest.err >&5
19706
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20538
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707
20539
  (exit $ac_status); } && {
19708
20540
         test -z "$ac_c_werror_flag" ||
19709
20541
         test ! -s conftest.err
19710
20542
       } && test -s conftest.$ac_objext; then
19711
20543
  :
19712
20544
else
19713
 
  echo "$as_me: failed program was:" >&5
 
20545
  $as_echo "$as_me: failed program was:" >&5
19714
20546
sed 's/^/| /' conftest.$ac_ext >&5
19715
20547
 
19716
20548
        ac_c_werror_flag=$ac_save_c_werror_flag
19736
20568
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19737
20569
  *) ac_try_echo=$ac_try;;
19738
20570
esac
19739
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20571
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20572
$as_echo "$ac_try_echo") >&5
19740
20573
  (eval "$ac_compile") 2>conftest.er1
19741
20574
  ac_status=$?
19742
20575
  grep -v '^ *+' conftest.er1 >conftest.err
19743
20576
  rm -f conftest.er1
19744
20577
  cat conftest.err >&5
19745
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20578
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746
20579
  (exit $ac_status); } && {
19747
20580
         test -z "$ac_c_werror_flag" ||
19748
20581
         test ! -s conftest.err
19749
20582
       } && test -s conftest.$ac_objext; then
19750
20583
  ac_cv_prog_cc_g=yes
19751
20584
else
19752
 
  echo "$as_me: failed program was:" >&5
 
20585
  $as_echo "$as_me: failed program was:" >&5
19753
20586
sed 's/^/| /' conftest.$ac_ext >&5
19754
20587
 
19755
20588
 
19764
20597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19765
20598
   ac_c_werror_flag=$ac_save_c_werror_flag
19766
20599
fi
19767
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19768
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
20600
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
20601
$as_echo "$ac_cv_prog_cc_g" >&6; }
19769
20602
if test "$ac_test_CFLAGS" = set; then
19770
20603
  CFLAGS=$ac_save_CFLAGS
19771
20604
elif test $ac_cv_prog_cc_g = yes; then
19781
20614
    CFLAGS=
19782
20615
  fi
19783
20616
fi
19784
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
19785
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
20617
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
20618
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19786
20619
if test "${ac_cv_prog_cc_c89+set}" = set; then
19787
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20620
  $as_echo_n "(cached) " >&6
19788
20621
else
19789
20622
  ac_cv_prog_cc_c89=no
19790
20623
ac_save_CC=$CC
19855
20688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19856
20689
  *) ac_try_echo=$ac_try;;
19857
20690
esac
19858
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20691
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20692
$as_echo "$ac_try_echo") >&5
19859
20693
  (eval "$ac_compile") 2>conftest.er1
19860
20694
  ac_status=$?
19861
20695
  grep -v '^ *+' conftest.er1 >conftest.err
19862
20696
  rm -f conftest.er1
19863
20697
  cat conftest.err >&5
19864
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20698
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865
20699
  (exit $ac_status); } && {
19866
20700
         test -z "$ac_c_werror_flag" ||
19867
20701
         test ! -s conftest.err
19868
20702
       } && test -s conftest.$ac_objext; then
19869
20703
  ac_cv_prog_cc_c89=$ac_arg
19870
20704
else
19871
 
  echo "$as_me: failed program was:" >&5
 
20705
  $as_echo "$as_me: failed program was:" >&5
19872
20706
sed 's/^/| /' conftest.$ac_ext >&5
19873
20707
 
19874
20708
 
19884
20718
# AC_CACHE_VAL
19885
20719
case "x$ac_cv_prog_cc_c89" in
19886
20720
  x)
19887
 
    { echo "$as_me:$LINENO: result: none needed" >&5
19888
 
echo "${ECHO_T}none needed" >&6; } ;;
 
20721
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
20722
$as_echo "none needed" >&6; } ;;
19889
20723
  xno)
19890
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
19891
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
20724
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
20725
$as_echo "unsupported" >&6; } ;;
19892
20726
  *)
19893
20727
    CC="$CC $ac_cv_prog_cc_c89"
19894
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
19895
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
20728
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
20729
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
19896
20730
esac
19897
20731
 
19898
20732
 
19904
20738
 
19905
20739
depcc="$CC"   am_compiler_list=
19906
20740
 
19907
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19908
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
20741
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
20742
$as_echo_n "checking dependency style of $depcc... " >&6; }
19909
20743
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
19910
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20744
  $as_echo_n "(cached) " >&6
19911
20745
else
19912
20746
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19913
20747
  # We make a subdir and do the tests there.  Otherwise we can end up
19932
20766
  if test "$am_compiler_list" = ""; then
19933
20767
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
19934
20768
  fi
 
20769
  am__universal=false
 
20770
  case " $depcc " in #(
 
20771
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
20772
     esac
 
20773
 
19935
20774
  for depmode in $am_compiler_list; do
19936
20775
    # Setup a source with many dependencies, because some compilers
19937
20776
    # like to wrap large dependency lists on column 80 (with \), and
19949
20788
    done
19950
20789
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
19951
20790
 
 
20791
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
20792
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
20793
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
20794
    # versions had trouble with output in subdirs
 
20795
    am__obj=sub/conftest.${OBJEXT-o}
 
20796
    am__minus_obj="-o $am__obj"
19952
20797
    case $depmode in
 
20798
    gcc)
 
20799
      # This depmode causes a compiler race in universal mode.
 
20800
      test "$am__universal" = false || continue
 
20801
      ;;
19953
20802
    nosideeffect)
19954
20803
      # after this tag, mechanisms are not by side-effect, so they'll
19955
20804
      # only be used when explicitly requested
19959
20808
        break
19960
20809
      fi
19961
20810
      ;;
 
20811
    msvisualcpp | msvcmsys)
 
20812
      # This compiler won't grok `-c -o', but also, the minuso test has
 
20813
      # not run yet.  These depmodes are late enough in the game, and
 
20814
      # so weak that their functioning should not be impacted.
 
20815
      am__obj=conftest.${OBJEXT-o}
 
20816
      am__minus_obj=
 
20817
      ;;
19962
20818
    none) break ;;
19963
20819
    esac
19964
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
19965
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
19966
 
    # handle `-M -o', and we need to detect this.
19967
20820
    if depmode=$depmode \
19968
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
20821
       source=sub/conftest.c object=$am__obj \
19969
20822
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
19970
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
20823
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
19971
20824
         >/dev/null 2>conftest.err &&
19972
20825
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
19973
20826
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
19974
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
20827
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
19975
20828
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
19976
20829
      # icc doesn't choke on unknown options, it will just issue warnings
19977
20830
      # or remarks (even with -Werror).  So we grep stderr for any message
19995
20848
fi
19996
20849
 
19997
20850
fi
19998
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
19999
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
20851
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
20852
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
20000
20853
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
20001
20854
 
20002
20855
 if
20010
20863
fi
20011
20864
 
20012
20865
 
 
20866
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
20867
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
20868
if test "${lt_cv_path_SED+set}" = set; then
 
20869
  $as_echo_n "(cached) " >&6
 
20870
else
 
20871
  # Loop through the user's path and test for sed and gsed.
 
20872
# Then use that list of sed's as ones to test for truncation.
 
20873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20874
for as_dir in $PATH
 
20875
do
 
20876
  IFS=$as_save_IFS
 
20877
  test -z "$as_dir" && as_dir=.
 
20878
  for lt_ac_prog in sed gsed; do
 
20879
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20880
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
 
20881
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 
20882
      fi
 
20883
    done
 
20884
  done
 
20885
done
 
20886
IFS=$as_save_IFS
 
20887
lt_ac_max=0
 
20888
lt_ac_count=0
 
20889
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
 
20890
# along with /bin/sed that truncates output.
 
20891
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 
20892
  test ! -f $lt_ac_sed && continue
 
20893
  cat /dev/null > conftest.in
 
20894
  lt_ac_count=0
 
20895
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 
20896
  # Check for GNU sed and select it if it is found.
 
20897
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 
20898
    lt_cv_path_SED=$lt_ac_sed
 
20899
    break
 
20900
  fi
 
20901
  while true; do
 
20902
    cat conftest.in conftest.in >conftest.tmp
 
20903
    mv conftest.tmp conftest.in
 
20904
    cp conftest.in conftest.nl
 
20905
    echo >>conftest.nl
 
20906
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 
20907
    cmp -s conftest.out conftest.nl || break
 
20908
    # 10000 chars as input seems more than enough
 
20909
    test $lt_ac_count -gt 10 && break
 
20910
    lt_ac_count=`expr $lt_ac_count + 1`
 
20911
    if test $lt_ac_count -gt $lt_ac_max; then
 
20912
      lt_ac_max=$lt_ac_count
 
20913
      lt_cv_path_SED=$lt_ac_sed
 
20914
    fi
 
20915
  done
 
20916
done
 
20917
 
 
20918
fi
 
20919
 
 
20920
SED=$lt_cv_path_SED
 
20921
 
 
20922
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
 
20923
$as_echo "$SED" >&6; }
 
20924
 
 
20925
 
 
20926
   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
 
20927
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
 
20928
if test "${ac_cv_prog_cc_c99+set}" = set; then
 
20929
  $as_echo_n "(cached) " >&6
 
20930
else
 
20931
  ac_cv_prog_cc_c99=no
 
20932
ac_save_CC=$CC
 
20933
cat >conftest.$ac_ext <<_ACEOF
 
20934
/* confdefs.h.  */
 
20935
_ACEOF
 
20936
cat confdefs.h >>conftest.$ac_ext
 
20937
cat >>conftest.$ac_ext <<_ACEOF
 
20938
/* end confdefs.h.  */
 
20939
#include <stdarg.h>
 
20940
#include <stdbool.h>
 
20941
#include <stdlib.h>
 
20942
#include <wchar.h>
 
20943
#include <stdio.h>
 
20944
 
 
20945
// Check varargs macros.  These examples are taken from C99 6.10.3.5.
 
20946
#define debug(...) fprintf (stderr, __VA_ARGS__)
 
20947
#define showlist(...) puts (#__VA_ARGS__)
 
20948
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
 
20949
static void
 
20950
test_varargs_macros (void)
 
20951
{
 
20952
  int x = 1234;
 
20953
  int y = 5678;
 
20954
  debug ("Flag");
 
20955
  debug ("X = %d\n", x);
 
20956
  showlist (The first, second, and third items.);
 
20957
  report (x>y, "x is %d but y is %d", x, y);
 
20958
}
 
20959
 
 
20960
// Check long long types.
 
20961
#define BIG64 18446744073709551615ull
 
20962
#define BIG32 4294967295ul
 
20963
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
 
20964
#if !BIG_OK
 
20965
  your preprocessor is broken;
 
20966
#endif
 
20967
#if BIG_OK
 
20968
#else
 
20969
  your preprocessor is broken;
 
20970
#endif
 
20971
static long long int bignum = -9223372036854775807LL;
 
20972
static unsigned long long int ubignum = BIG64;
 
20973
 
 
20974
struct incomplete_array
 
20975
{
 
20976
  int datasize;
 
20977
  double data[];
 
20978
};
 
20979
 
 
20980
struct named_init {
 
20981
  int number;
 
20982
  const wchar_t *name;
 
20983
  double average;
 
20984
};
 
20985
 
 
20986
typedef const char *ccp;
 
20987
 
 
20988
static inline int
 
20989
test_restrict (ccp restrict text)
 
20990
{
 
20991
  // See if C++-style comments work.
 
20992
  // Iterate through items via the restricted pointer.
 
20993
  // Also check for declarations in for loops.
 
20994
  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
 
20995
    continue;
 
20996
  return 0;
 
20997
}
 
20998
 
 
20999
// Check varargs and va_copy.
 
21000
static void
 
21001
test_varargs (const char *format, ...)
 
21002
{
 
21003
  va_list args;
 
21004
  va_start (args, format);
 
21005
  va_list args_copy;
 
21006
  va_copy (args_copy, args);
 
21007
 
 
21008
  const char *str;
 
21009
  int number;
 
21010
  float fnumber;
 
21011
 
 
21012
  while (*format)
 
21013
    {
 
21014
      switch (*format++)
 
21015
        {
 
21016
        case 's': // string
 
21017
          str = va_arg (args_copy, const char *);
 
21018
          break;
 
21019
        case 'd': // int
 
21020
          number = va_arg (args_copy, int);
 
21021
          break;
 
21022
        case 'f': // float
 
21023
          fnumber = va_arg (args_copy, double);
 
21024
          break;
 
21025
        default:
 
21026
          break;
 
21027
        }
 
21028
    }
 
21029
  va_end (args_copy);
 
21030
  va_end (args);
 
21031
}
 
21032
 
 
21033
int
 
21034
main ()
 
21035
{
 
21036
 
 
21037
  // Check bool.
 
21038
  _Bool success = false;
 
21039
 
 
21040
  // Check restrict.
 
21041
  if (test_restrict ("String literal") == 0)
 
21042
    success = true;
 
21043
  char *restrict newvar = "Another string";
 
21044
 
 
21045
  // Check varargs.
 
21046
  test_varargs ("s, d' f .", "string", 65, 34.234);
 
21047
  test_varargs_macros ();
 
21048
 
 
21049
  // Check flexible array members.
 
21050
  struct incomplete_array *ia =
 
21051
    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
 
21052
  ia->datasize = 10;
 
21053
  for (int i = 0; i < ia->datasize; ++i)
 
21054
    ia->data[i] = i * 1.234;
 
21055
 
 
21056
  // Check named initializers.
 
21057
  struct named_init ni = {
 
21058
    .number = 34,
 
21059
    .name = L"Test wide string",
 
21060
    .average = 543.34343,
 
21061
  };
 
21062
 
 
21063
  ni.number = 58;
 
21064
 
 
21065
  int dynamic_array[ni.number];
 
21066
  dynamic_array[ni.number - 1] = 543;
 
21067
 
 
21068
  // work around unused variable warnings
 
21069
  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
 
21070
          || dynamic_array[ni.number - 1] != 543);
 
21071
 
 
21072
  ;
 
21073
  return 0;
 
21074
}
 
21075
_ACEOF
 
21076
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
 
21077
do
 
21078
  CC="$ac_save_CC $ac_arg"
 
21079
  rm -f conftest.$ac_objext
 
21080
if { (ac_try="$ac_compile"
 
21081
case "(($ac_try" in
 
21082
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21083
  *) ac_try_echo=$ac_try;;
 
21084
esac
 
21085
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21086
$as_echo "$ac_try_echo") >&5
 
21087
  (eval "$ac_compile") 2>conftest.er1
 
21088
  ac_status=$?
 
21089
  grep -v '^ *+' conftest.er1 >conftest.err
 
21090
  rm -f conftest.er1
 
21091
  cat conftest.err >&5
 
21092
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21093
  (exit $ac_status); } && {
 
21094
         test -z "$ac_c_werror_flag" ||
 
21095
         test ! -s conftest.err
 
21096
       } && test -s conftest.$ac_objext; then
 
21097
  ac_cv_prog_cc_c99=$ac_arg
 
21098
else
 
21099
  $as_echo "$as_me: failed program was:" >&5
 
21100
sed 's/^/| /' conftest.$ac_ext >&5
 
21101
 
 
21102
 
 
21103
fi
 
21104
 
 
21105
rm -f core conftest.err conftest.$ac_objext
 
21106
  test "x$ac_cv_prog_cc_c99" != "xno" && break
 
21107
done
 
21108
rm -f conftest.$ac_ext
 
21109
CC=$ac_save_CC
 
21110
 
 
21111
fi
 
21112
# AC_CACHE_VAL
 
21113
case "x$ac_cv_prog_cc_c99" in
 
21114
  x)
 
21115
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
21116
$as_echo "none needed" >&6; } ;;
 
21117
  xno)
 
21118
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
21119
$as_echo "unsupported" >&6; } ;;
 
21120
  *)
 
21121
    CC="$CC $ac_cv_prog_cc_c99"
 
21122
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
 
21123
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
 
21124
esac
 
21125
 
 
21126
 
 
21127
 
 
21128
 
 
21129
 
 
21130
 
 
21131
if  test "x$GCC" = xyes ; then
 
21132
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
 
21133
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
 
21134
-Wbad-function-cast"
 
21135
    case `$CC -dumpversion` in
 
21136
    3.4.* | 4.*)
 
21137
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
 
21138
        ;;
 
21139
    esac
 
21140
else
 
21141
    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
 
21142
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
 
21143
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
 
21144
  $as_echo_n "(cached) " >&6
 
21145
else
 
21146
  cat >conftest.$ac_ext <<_ACEOF
 
21147
/* confdefs.h.  */
 
21148
_ACEOF
 
21149
cat confdefs.h >>conftest.$ac_ext
 
21150
cat >>conftest.$ac_ext <<_ACEOF
 
21151
/* end confdefs.h.  */
 
21152
$ac_includes_default
 
21153
int
 
21154
main ()
 
21155
{
 
21156
#ifndef __SUNPRO_C
 
21157
  (void) __SUNPRO_C;
 
21158
#endif
 
21159
 
 
21160
  ;
 
21161
  return 0;
 
21162
}
 
21163
_ACEOF
 
21164
rm -f conftest.$ac_objext
 
21165
if { (ac_try="$ac_compile"
 
21166
case "(($ac_try" in
 
21167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21168
  *) ac_try_echo=$ac_try;;
 
21169
esac
 
21170
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21171
$as_echo "$ac_try_echo") >&5
 
21172
  (eval "$ac_compile") 2>conftest.er1
 
21173
  ac_status=$?
 
21174
  grep -v '^ *+' conftest.er1 >conftest.err
 
21175
  rm -f conftest.er1
 
21176
  cat conftest.err >&5
 
21177
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21178
  (exit $ac_status); } && {
 
21179
         test -z "$ac_c_werror_flag" ||
 
21180
         test ! -s conftest.err
 
21181
       } && test -s conftest.$ac_objext; then
 
21182
  ac_cv_have_decl___SUNPRO_C=yes
 
21183
else
 
21184
  $as_echo "$as_me: failed program was:" >&5
 
21185
sed 's/^/| /' conftest.$ac_ext >&5
 
21186
 
 
21187
        ac_cv_have_decl___SUNPRO_C=no
 
21188
fi
 
21189
 
 
21190
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21191
fi
 
21192
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
 
21193
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
 
21194
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
21195
  SUNCC="yes"
 
21196
else
 
21197
  SUNCC="no"
 
21198
fi
 
21199
 
 
21200
    if test "x$SUNCC" = "xyes"; then
 
21201
        CWARNFLAGS="-v"
 
21202
    fi
 
21203
fi
 
21204
 
 
21205
# Check whether --enable-silent-rules was given.
 
21206
if test "${enable_silent_rules+set}" = set; then
 
21207
  enableval=$enable_silent_rules;
 
21208
fi
 
21209
 
 
21210
case $enable_silent_rules in
 
21211
yes) AM_DEFAULT_VERBOSITY=0;;
 
21212
no)  AM_DEFAULT_VERBOSITY=1;;
 
21213
*)   AM_DEFAULT_VERBOSITY=0;;
 
21214
esac
 
21215
AM_BACKSLASH='\'
 
21216
 
 
21217
 
 
21218
 
 
21219
 
 
21220
 
 
21221
 
 
21222
 
 
21223
# Check whether --enable-strict-compilation was given.
 
21224
if test "${enable_strict_compilation+set}" = set; then
 
21225
  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
 
21226
else
 
21227
  STRICT_COMPILE=no
 
21228
fi
 
21229
 
 
21230
if test "x$STRICT_COMPILE" = "xyes"; then
 
21231
        { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
 
21232
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
 
21233
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
 
21234
  $as_echo_n "(cached) " >&6
 
21235
else
 
21236
  cat >conftest.$ac_ext <<_ACEOF
 
21237
/* confdefs.h.  */
 
21238
_ACEOF
 
21239
cat confdefs.h >>conftest.$ac_ext
 
21240
cat >>conftest.$ac_ext <<_ACEOF
 
21241
/* end confdefs.h.  */
 
21242
$ac_includes_default
 
21243
int
 
21244
main ()
 
21245
{
 
21246
#ifndef __SUNPRO_C
 
21247
  (void) __SUNPRO_C;
 
21248
#endif
 
21249
 
 
21250
  ;
 
21251
  return 0;
 
21252
}
 
21253
_ACEOF
 
21254
rm -f conftest.$ac_objext
 
21255
if { (ac_try="$ac_compile"
 
21256
case "(($ac_try" in
 
21257
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21258
  *) ac_try_echo=$ac_try;;
 
21259
esac
 
21260
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21261
$as_echo "$ac_try_echo") >&5
 
21262
  (eval "$ac_compile") 2>conftest.er1
 
21263
  ac_status=$?
 
21264
  grep -v '^ *+' conftest.er1 >conftest.err
 
21265
  rm -f conftest.er1
 
21266
  cat conftest.err >&5
 
21267
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21268
  (exit $ac_status); } && {
 
21269
         test -z "$ac_c_werror_flag" ||
 
21270
         test ! -s conftest.err
 
21271
       } && test -s conftest.$ac_objext; then
 
21272
  ac_cv_have_decl___SUNPRO_C=yes
 
21273
else
 
21274
  $as_echo "$as_me: failed program was:" >&5
 
21275
sed 's/^/| /' conftest.$ac_ext >&5
 
21276
 
 
21277
        ac_cv_have_decl___SUNPRO_C=no
 
21278
fi
 
21279
 
 
21280
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21281
fi
 
21282
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
 
21283
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
 
21284
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
21285
  SUNCC="yes"
 
21286
else
 
21287
  SUNCC="no"
 
21288
fi
 
21289
 
 
21290
        { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
 
21291
$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
 
21292
if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
 
21293
  $as_echo_n "(cached) " >&6
 
21294
else
 
21295
  cat >conftest.$ac_ext <<_ACEOF
 
21296
/* confdefs.h.  */
 
21297
_ACEOF
 
21298
cat confdefs.h >>conftest.$ac_ext
 
21299
cat >>conftest.$ac_ext <<_ACEOF
 
21300
/* end confdefs.h.  */
 
21301
$ac_includes_default
 
21302
int
 
21303
main ()
 
21304
{
 
21305
#ifndef __INTEL_COMPILER
 
21306
  (void) __INTEL_COMPILER;
 
21307
#endif
 
21308
 
 
21309
  ;
 
21310
  return 0;
 
21311
}
 
21312
_ACEOF
 
21313
rm -f conftest.$ac_objext
 
21314
if { (ac_try="$ac_compile"
 
21315
case "(($ac_try" in
 
21316
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21317
  *) ac_try_echo=$ac_try;;
 
21318
esac
 
21319
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21320
$as_echo "$ac_try_echo") >&5
 
21321
  (eval "$ac_compile") 2>conftest.er1
 
21322
  ac_status=$?
 
21323
  grep -v '^ *+' conftest.er1 >conftest.err
 
21324
  rm -f conftest.er1
 
21325
  cat conftest.err >&5
 
21326
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21327
  (exit $ac_status); } && {
 
21328
         test -z "$ac_c_werror_flag" ||
 
21329
         test ! -s conftest.err
 
21330
       } && test -s conftest.$ac_objext; then
 
21331
  ac_cv_have_decl___INTEL_COMPILER=yes
 
21332
else
 
21333
  $as_echo "$as_me: failed program was:" >&5
 
21334
sed 's/^/| /' conftest.$ac_ext >&5
 
21335
 
 
21336
        ac_cv_have_decl___INTEL_COMPILER=no
 
21337
fi
 
21338
 
 
21339
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21340
fi
 
21341
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
 
21342
$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
 
21343
if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
 
21344
  INTELCC="yes"
 
21345
else
 
21346
  INTELCC="no"
 
21347
fi
 
21348
 
 
21349
        if test "x$GCC" = xyes ; then
 
21350
                STRICT_CFLAGS="-pedantic -Werror"
 
21351
        elif test "x$SUNCC" = "xyes"; then
 
21352
                STRICT_CFLAGS="-errwarn"
 
21353
    elif test "x$INTELCC" = "xyes"; then
 
21354
                STRICT_CFLAGS="-Werror"
 
21355
        fi
 
21356
fi
 
21357
CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
 
21358
 
 
21359
 
 
21360
 
 
21361
 
 
21362
# Check whether --with-release-version was given.
 
21363
if test "${with_release_version+set}" = set; then
 
21364
  withval=$with_release_version; RELEASE_VERSION="$withval"
 
21365
else
 
21366
  RELEASE_VERSION=""
 
21367
fi
 
21368
 
 
21369
        if test "x$RELEASE_VERSION" != "x"; then
 
21370
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
 
21371
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
 
21372
                { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
 
21373
$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
 
21374
        fi
 
21375
 
 
21376
cat >>confdefs.h <<_ACEOF
 
21377
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
 
21378
_ACEOF
 
21379
 
 
21380
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
 
21381
        if test "x$PVM" = "x"; then
 
21382
                PVM="0"
 
21383
        fi
 
21384
 
 
21385
cat >>confdefs.h <<_ACEOF
 
21386
#define PACKAGE_VERSION_MINOR $PVM
 
21387
_ACEOF
 
21388
 
 
21389
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
 
21390
        if test "x$PVP" = "x"; then
 
21391
                PVP="0"
 
21392
        fi
 
21393
 
 
21394
cat >>confdefs.h <<_ACEOF
 
21395
#define PACKAGE_VERSION_PATCHLEVEL $PVP
 
21396
_ACEOF
 
21397
 
 
21398
 
 
21399
 
 
21400
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
 
21401
mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
 
21402
echo 'git directory not found: installing possibly empty changelog.' >&2)"
 
21403
 
 
21404
distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
 
21405
 
 
21406
 
 
21407
 
 
21408
 
 
21409
 
 
21410
if test x$APP_MAN_SUFFIX = x    ; then
 
21411
    APP_MAN_SUFFIX=1
 
21412
fi
 
21413
if test x$APP_MAN_DIR = x    ; then
 
21414
    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
 
21415
fi
 
21416
 
 
21417
if test x$LIB_MAN_SUFFIX = x    ; then
 
21418
    LIB_MAN_SUFFIX=3
 
21419
fi
 
21420
if test x$LIB_MAN_DIR = x    ; then
 
21421
    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
 
21422
fi
 
21423
 
 
21424
if test x$FILE_MAN_SUFFIX = x    ; then
 
21425
    case $host_os in
 
21426
        solaris*)       FILE_MAN_SUFFIX=4  ;;
 
21427
        *)              FILE_MAN_SUFFIX=5  ;;
 
21428
    esac
 
21429
fi
 
21430
if test x$FILE_MAN_DIR = x    ; then
 
21431
    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
 
21432
fi
 
21433
 
 
21434
if test x$MISC_MAN_SUFFIX = x    ; then
 
21435
    case $host_os in
 
21436
        solaris*)       MISC_MAN_SUFFIX=5  ;;
 
21437
        *)              MISC_MAN_SUFFIX=7  ;;
 
21438
    esac
 
21439
fi
 
21440
if test x$MISC_MAN_DIR = x    ; then
 
21441
    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
 
21442
fi
 
21443
 
 
21444
if test x$DRIVER_MAN_SUFFIX = x    ; then
 
21445
    case $host_os in
 
21446
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
 
21447
        *)              DRIVER_MAN_SUFFIX=4  ;;
 
21448
    esac
 
21449
fi
 
21450
if test x$DRIVER_MAN_DIR = x    ; then
 
21451
    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
 
21452
fi
 
21453
 
 
21454
if test x$ADMIN_MAN_SUFFIX = x    ; then
 
21455
    case $host_os in
 
21456
        solaris*)       ADMIN_MAN_SUFFIX=1m ;;
 
21457
        *)              ADMIN_MAN_SUFFIX=8  ;;
 
21458
    esac
 
21459
fi
 
21460
if test x$ADMIN_MAN_DIR = x    ; then
 
21461
    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
 
21462
fi
 
21463
 
 
21464
 
 
21465
 
 
21466
 
 
21467
 
 
21468
 
 
21469
 
 
21470
 
 
21471
 
 
21472
 
 
21473
 
 
21474
 
 
21475
 
 
21476
 
 
21477
 
 
21478
 
20013
21479
 
20014
21480
# Checks for pkg-config packages
20015
21481
 
20018
21484
        if test -n "$ac_tool_prefix"; then
20019
21485
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20020
21486
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20021
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20022
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21487
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21488
$as_echo_n "checking for $ac_word... " >&6; }
20023
21489
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20024
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21490
  $as_echo_n "(cached) " >&6
20025
21491
else
20026
21492
  case $PKG_CONFIG in
20027
21493
  [\\/]* | ?:[\\/]*)
20036
21502
  for ac_exec_ext in '' $ac_executable_extensions; do
20037
21503
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20038
21504
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20039
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21505
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20040
21506
    break 2
20041
21507
  fi
20042
21508
done
20048
21514
fi
20049
21515
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20050
21516
if test -n "$PKG_CONFIG"; then
20051
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20052
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
21517
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
21518
$as_echo "$PKG_CONFIG" >&6; }
20053
21519
else
20054
 
  { echo "$as_me:$LINENO: result: no" >&5
20055
 
echo "${ECHO_T}no" >&6; }
 
21520
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21521
$as_echo "no" >&6; }
20056
21522
fi
20057
21523
 
20058
21524
 
20061
21527
  ac_pt_PKG_CONFIG=$PKG_CONFIG
20062
21528
  # Extract the first word of "pkg-config", so it can be a program name with args.
20063
21529
set dummy pkg-config; ac_word=$2
20064
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20065
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21530
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21531
$as_echo_n "checking for $ac_word... " >&6; }
20066
21532
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20067
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21533
  $as_echo_n "(cached) " >&6
20068
21534
else
20069
21535
  case $ac_pt_PKG_CONFIG in
20070
21536
  [\\/]* | ?:[\\/]*)
20079
21545
  for ac_exec_ext in '' $ac_executable_extensions; do
20080
21546
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20081
21547
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20082
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21548
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20083
21549
    break 2
20084
21550
  fi
20085
21551
done
20091
21557
fi
20092
21558
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20093
21559
if test -n "$ac_pt_PKG_CONFIG"; then
20094
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20095
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
21560
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
21561
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
20096
21562
else
20097
 
  { echo "$as_me:$LINENO: result: no" >&5
20098
 
echo "${ECHO_T}no" >&6; }
 
21563
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21564
$as_echo "no" >&6; }
20099
21565
fi
20100
21566
 
20101
21567
  if test "x$ac_pt_PKG_CONFIG" = x; then
20103
21569
  else
20104
21570
    case $cross_compiling:$ac_tool_warned in
20105
21571
yes:)
20106
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20107
 
whose name does not start with the host triplet.  If you think this
20108
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
20109
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20110
 
whose name does not start with the host triplet.  If you think this
20111
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
21572
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
21573
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20112
21574
ac_tool_warned=yes ;;
20113
21575
esac
20114
21576
    PKG_CONFIG=$ac_pt_PKG_CONFIG
20120
21582
fi
20121
21583
if test -n "$PKG_CONFIG"; then
20122
21584
        _pkg_min_version=0.9.0
20123
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20124
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
21585
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
21586
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20125
21587
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20126
 
                { echo "$as_me:$LINENO: result: yes" >&5
20127
 
echo "${ECHO_T}yes" >&6; }
 
21588
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
21589
$as_echo "yes" >&6; }
20128
21590
        else
20129
 
                { echo "$as_me:$LINENO: result: no" >&5
20130
 
echo "${ECHO_T}no" >&6; }
 
21591
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
21592
$as_echo "no" >&6; }
20131
21593
                PKG_CONFIG=""
20132
21594
        fi
20133
21595
 
20134
21596
fi
20135
21597
 
20136
21598
pkg_failed=no
20137
 
{ echo "$as_me:$LINENO: checking for XPM" >&5
20138
 
echo $ECHO_N "checking for XPM... $ECHO_C" >&6; }
 
21599
{ $as_echo "$as_me:$LINENO: checking for XPM" >&5
 
21600
$as_echo_n "checking for XPM... " >&6; }
20139
21601
 
20140
 
if test -n "$PKG_CONFIG"; then
20141
 
        if test -n "$PKG_CONFIG" && \
20142
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11\"") >&5
 
21602
if test -n "$XPM_CFLAGS"; then
 
21603
    pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
 
21604
 elif test -n "$PKG_CONFIG"; then
 
21605
    if test -n "$PKG_CONFIG" && \
 
21606
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11\"") >&5
20143
21607
  ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
20144
21608
  ac_status=$?
20145
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21609
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146
21610
  (exit $ac_status); }; then
20147
21611
  pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11" 2>/dev/null`
20148
21612
else
20149
21613
  pkg_failed=yes
20150
21614
fi
20151
 
else
20152
 
        pkg_failed=untried
 
21615
 else
 
21616
    pkg_failed=untried
20153
21617
fi
20154
 
if test -n "$PKG_CONFIG"; then
20155
 
        if test -n "$PKG_CONFIG" && \
20156
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11\"") >&5
 
21618
if test -n "$XPM_LIBS"; then
 
21619
    pkg_cv_XPM_LIBS="$XPM_LIBS"
 
21620
 elif test -n "$PKG_CONFIG"; then
 
21621
    if test -n "$PKG_CONFIG" && \
 
21622
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11\"") >&5
20157
21623
  ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
20158
21624
  ac_status=$?
20159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21625
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160
21626
  (exit $ac_status); }; then
20161
21627
  pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xproto x11" 2>/dev/null`
20162
21628
else
20163
21629
  pkg_failed=yes
20164
21630
fi
20165
 
else
20166
 
        pkg_failed=untried
 
21631
 else
 
21632
    pkg_failed=untried
20167
21633
fi
20168
21634
 
 
21635
 
 
21636
 
20169
21637
if test $pkg_failed = yes; then
20170
 
        XPM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto x11"`
 
21638
 
 
21639
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
21640
        _pkg_short_errors_supported=yes
 
21641
else
 
21642
        _pkg_short_errors_supported=no
 
21643
fi
 
21644
        if test $_pkg_short_errors_supported = yes; then
 
21645
                XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11" 2>&1`
 
21646
        else
 
21647
                XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11" 2>&1`
 
21648
        fi
20171
21649
        # Put the nasty error message in config.log where it belongs
20172
 
        echo "$XPM_PKG_ERRORS" 1>&5
20173
 
 
20174
 
        { { echo "$as_me:$LINENO: error: Package requirements (xproto x11) were not met.
20175
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20176
 
installed software in a non-standard prefix.
20177
 
 
20178
 
Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
20179
 
to avoid the need to call pkg-config.  See the pkg-config man page for
20180
 
more details." >&5
20181
 
echo "$as_me: error: Package requirements (xproto x11) were not met.
20182
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20183
 
installed software in a non-standard prefix.
20184
 
 
20185
 
Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
20186
 
to avoid the need to call pkg-config.  See the pkg-config man page for
20187
 
more details." >&2;}
 
21650
        echo "$XPM_PKG_ERRORS" >&5
 
21651
 
 
21652
        { { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11) were not met:
 
21653
 
 
21654
$XPM_PKG_ERRORS
 
21655
 
 
21656
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21657
installed software in a non-standard prefix.
 
21658
 
 
21659
Alternatively, you may set the environment variables XPM_CFLAGS
 
21660
and XPM_LIBS to avoid the need to call pkg-config.
 
21661
See the pkg-config man page for more details.
 
21662
" >&5
 
21663
$as_echo "$as_me: error: Package requirements (xproto x11) were not met:
 
21664
 
 
21665
$XPM_PKG_ERRORS
 
21666
 
 
21667
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21668
installed software in a non-standard prefix.
 
21669
 
 
21670
Alternatively, you may set the environment variables XPM_CFLAGS
 
21671
and XPM_LIBS to avoid the need to call pkg-config.
 
21672
See the pkg-config man page for more details.
 
21673
" >&2;}
20188
21674
   { (exit 1); exit 1; }; }
20189
21675
elif test $pkg_failed = untried; then
20190
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
21676
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
21677
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
21678
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
20191
21679
is in your PATH or set the PKG_CONFIG environment variable to the full
20192
21680
path to pkg-config.
20193
21681
 
20194
 
Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
20195
 
to avoid the need to call pkg-config.  See the pkg-config man page for
20196
 
more details.
 
21682
Alternatively, you may set the environment variables XPM_CFLAGS
 
21683
and XPM_LIBS to avoid the need to call pkg-config.
 
21684
See the pkg-config man page for more details.
20197
21685
 
20198
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
21686
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20199
21687
See \`config.log' for more details." >&5
20200
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
21688
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
20201
21689
is in your PATH or set the PKG_CONFIG environment variable to the full
20202
21690
path to pkg-config.
20203
21691
 
20204
 
Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
20205
 
to avoid the need to call pkg-config.  See the pkg-config man page for
20206
 
more details.
 
21692
Alternatively, you may set the environment variables XPM_CFLAGS
 
21693
and XPM_LIBS to avoid the need to call pkg-config.
 
21694
See the pkg-config man page for more details.
20207
21695
 
20208
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
21696
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20209
21697
See \`config.log' for more details." >&2;}
20210
 
   { (exit 1); exit 1; }; }
 
21698
   { (exit 1); exit 1; }; }; }
20211
21699
else
20212
21700
        XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
20213
21701
        XPM_LIBS=$pkg_cv_XPM_LIBS
20214
 
        { echo "$as_me:$LINENO: result: yes" >&5
20215
 
echo "${ECHO_T}yes" >&6; }
 
21702
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
21703
$as_echo "yes" >&6; }
20216
21704
        :
20217
21705
fi
20218
21706
 
20219
21707
 
20220
21708
 
20221
21709
# Checks for header files.
20222
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20223
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
21710
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
21711
$as_echo_n "checking for ANSI C header files... " >&6; }
20224
21712
if test "${ac_cv_header_stdc+set}" = set; then
20225
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21713
  $as_echo_n "(cached) " >&6
20226
21714
else
20227
21715
  cat >conftest.$ac_ext <<_ACEOF
20228
21716
/* confdefs.h.  */
20249
21737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20250
21738
  *) ac_try_echo=$ac_try;;
20251
21739
esac
20252
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21740
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21741
$as_echo "$ac_try_echo") >&5
20253
21742
  (eval "$ac_compile") 2>conftest.er1
20254
21743
  ac_status=$?
20255
21744
  grep -v '^ *+' conftest.er1 >conftest.err
20256
21745
  rm -f conftest.er1
20257
21746
  cat conftest.err >&5
20258
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21747
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259
21748
  (exit $ac_status); } && {
20260
21749
         test -z "$ac_c_werror_flag" ||
20261
21750
         test ! -s conftest.err
20262
21751
       } && test -s conftest.$ac_objext; then
20263
21752
  ac_cv_header_stdc=yes
20264
21753
else
20265
 
  echo "$as_me: failed program was:" >&5
 
21754
  $as_echo "$as_me: failed program was:" >&5
20266
21755
sed 's/^/| /' conftest.$ac_ext >&5
20267
21756
 
20268
21757
        ac_cv_header_stdc=no
20354
21843
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20355
21844
  *) ac_try_echo=$ac_try;;
20356
21845
esac
20357
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21846
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21847
$as_echo "$ac_try_echo") >&5
20358
21848
  (eval "$ac_link") 2>&5
20359
21849
  ac_status=$?
20360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21850
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361
21851
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20362
21852
  { (case "(($ac_try" in
20363
21853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20364
21854
  *) ac_try_echo=$ac_try;;
20365
21855
esac
20366
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21856
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21857
$as_echo "$ac_try_echo") >&5
20367
21858
  (eval "$ac_try") 2>&5
20368
21859
  ac_status=$?
20369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21860
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370
21861
  (exit $ac_status); }; }; then
20371
21862
  :
20372
21863
else
20373
 
  echo "$as_me: program exited with status $ac_status" >&5
20374
 
echo "$as_me: failed program was:" >&5
 
21864
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
21865
$as_echo "$as_me: failed program was:" >&5
20375
21866
sed 's/^/| /' conftest.$ac_ext >&5
20376
21867
 
20377
21868
( exit $ac_status )
20378
21869
ac_cv_header_stdc=no
20379
21870
fi
 
21871
rm -rf conftest.dSYM
20380
21872
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20381
21873
fi
20382
21874
 
20383
21875
 
20384
21876
fi
20385
21877
fi
20386
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20387
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
21878
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
21879
$as_echo "$ac_cv_header_stdc" >&6; }
20388
21880
if test $ac_cv_header_stdc = yes; then
20389
21881
 
20390
21882
cat >>confdefs.h <<\_ACEOF
20398
21890
 
20399
21891
for ac_func in strlcat
20400
21892
do
20401
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20402
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20403
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21893
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
21894
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21895
$as_echo_n "checking for $ac_func... " >&6; }
20404
21896
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20405
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21897
  $as_echo_n "(cached) " >&6
20406
21898
else
20407
21899
  cat >conftest.$ac_ext <<_ACEOF
20408
21900
/* confdefs.h.  */
20455
21947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20456
21948
  *) ac_try_echo=$ac_try;;
20457
21949
esac
20458
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21950
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21951
$as_echo "$ac_try_echo") >&5
20459
21952
  (eval "$ac_link") 2>conftest.er1
20460
21953
  ac_status=$?
20461
21954
  grep -v '^ *+' conftest.er1 >conftest.err
20462
21955
  rm -f conftest.er1
20463
21956
  cat conftest.err >&5
20464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21957
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465
21958
  (exit $ac_status); } && {
20466
21959
         test -z "$ac_c_werror_flag" ||
20467
21960
         test ! -s conftest.err
20468
 
       } && test -s conftest$ac_exeext &&
20469
 
       $as_test_x conftest$ac_exeext; then
 
21961
       } && test -s conftest$ac_exeext && {
 
21962
         test "$cross_compiling" = yes ||
 
21963
         $as_test_x conftest$ac_exeext
 
21964
       }; then
20470
21965
  eval "$as_ac_var=yes"
20471
21966
else
20472
 
  echo "$as_me: failed program was:" >&5
 
21967
  $as_echo "$as_me: failed program was:" >&5
20473
21968
sed 's/^/| /' conftest.$ac_ext >&5
20474
21969
 
20475
21970
        eval "$as_ac_var=no"
20476
21971
fi
20477
21972
 
 
21973
rm -rf conftest.dSYM
20478
21974
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20479
21975
      conftest$ac_exeext conftest.$ac_ext
20480
21976
fi
20481
 
ac_res=`eval echo '${'$as_ac_var'}'`
20482
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20483
 
echo "${ECHO_T}$ac_res" >&6; }
20484
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
21977
ac_res=`eval 'as_val=${'$as_ac_var'}
 
21978
                 $as_echo "$as_val"'`
 
21979
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21980
$as_echo "$ac_res" >&6; }
 
21981
as_val=`eval 'as_val=${'$as_ac_var'}
 
21982
                 $as_echo "$as_val"'`
 
21983
   if test "x$as_val" = x""yes; then
20485
21984
  cat >>confdefs.h <<_ACEOF
20486
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
21985
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20487
21986
_ACEOF
20488
21987
 
20489
21988
fi
20490
21989
done
20491
21990
 
20492
21991
 
20493
 
# Checks for typedefs, structures, and compiler characteristics.
20494
 
 
20495
 
if test "x$GCC" = "xyes"; then
20496
 
        GCC_WARNINGS="-Wall -Wpointer-arith -Wstrict-prototypes \
20497
 
        -Wmissing-prototypes -Wmissing-declarations \
20498
 
        -Wnested-externs -fno-strict-aliasing"
20499
 
        CFLAGS="$GCC_WARNINGS $CFLAGS"
20500
 
fi
20501
 
 
20502
21992
# Internationalization & localization support
20503
 
{ echo "$as_me:$LINENO: checking for library containing gettext" >&5
20504
 
echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6; }
 
21993
{ $as_echo "$as_me:$LINENO: checking for library containing gettext" >&5
 
21994
$as_echo_n "checking for library containing gettext... " >&6; }
20505
21995
if test "${ac_cv_search_gettext+set}" = set; then
20506
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21996
  $as_echo_n "(cached) " >&6
20507
21997
else
20508
21998
  ac_func_search_save_LIBS=$LIBS
20509
21999
cat >conftest.$ac_ext <<_ACEOF
20541
22031
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20542
22032
  *) ac_try_echo=$ac_try;;
20543
22033
esac
20544
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22034
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22035
$as_echo "$ac_try_echo") >&5
20545
22036
  (eval "$ac_link") 2>conftest.er1
20546
22037
  ac_status=$?
20547
22038
  grep -v '^ *+' conftest.er1 >conftest.err
20548
22039
  rm -f conftest.er1
20549
22040
  cat conftest.err >&5
20550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22041
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551
22042
  (exit $ac_status); } && {
20552
22043
         test -z "$ac_c_werror_flag" ||
20553
22044
         test ! -s conftest.err
20554
 
       } && test -s conftest$ac_exeext &&
20555
 
       $as_test_x conftest$ac_exeext; then
 
22045
       } && test -s conftest$ac_exeext && {
 
22046
         test "$cross_compiling" = yes ||
 
22047
         $as_test_x conftest$ac_exeext
 
22048
       }; then
20556
22049
  ac_cv_search_gettext=$ac_res
20557
22050
else
20558
 
  echo "$as_me: failed program was:" >&5
 
22051
  $as_echo "$as_me: failed program was:" >&5
20559
22052
sed 's/^/| /' conftest.$ac_ext >&5
20560
22053
 
20561
22054
 
20562
22055
fi
20563
22056
 
 
22057
rm -rf conftest.dSYM
20564
22058
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20565
22059
      conftest$ac_exeext
20566
22060
  if test "${ac_cv_search_gettext+set}" = set; then
20575
22069
rm conftest.$ac_ext
20576
22070
LIBS=$ac_func_search_save_LIBS
20577
22071
fi
20578
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
20579
 
echo "${ECHO_T}$ac_cv_search_gettext" >&6; }
 
22072
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
 
22073
$as_echo "$ac_cv_search_gettext" >&6; }
20580
22074
ac_res=$ac_cv_search_gettext
20581
22075
if test "$ac_res" != no; then
20582
22076
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20585
22079
  USE_GETTEXT="no"
20586
22080
fi
20587
22081
 
20588
 
{ echo "$as_me:$LINENO: checking where to install localized messages" >&5
20589
 
echo $ECHO_N "checking where to install localized messages... $ECHO_C" >&6; }
 
22082
{ $as_echo "$as_me:$LINENO: checking where to install localized messages" >&5
 
22083
$as_echo_n "checking where to install localized messages... " >&6; }
20590
22084
 
20591
22085
# Check whether --with-localedir was given.
20592
22086
if test "${with_localedir+set}" = set; then
20600
22094
  exec_prefix_NONE=
20601
22095
  test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
20602
22096
  test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
20603
 
  eval ac_define_dir="\"$LOCALEDIR\""
20604
 
  eval ac_define_dir="\"$ac_define_dir\""
20605
 
  LOCALEDIR="$ac_define_dir"
 
22097
  eval ax_define_dir="\"$LOCALEDIR\""
 
22098
  eval ax_define_dir="\"$ax_define_dir\""
 
22099
  LOCALEDIR="$ax_define_dir"
20606
22100
 
20607
22101
 
20608
22102
cat >>confdefs.h <<_ACEOF
20609
 
#define LOCALEDIR "$ac_define_dir"
 
22103
#define LOCALEDIR "$ax_define_dir"
20610
22104
_ACEOF
20611
22105
 
20612
22106
  test "$prefix_NONE" && prefix=NONE
20613
22107
  test "$exec_prefix_NONE" && exec_prefix=NONE
20614
22108
 
20615
22109
if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
20616
 
        { echo "$as_me:$LINENO: result: nowhere" >&5
20617
 
echo "${ECHO_T}nowhere" >&6; }
 
22110
        { $as_echo "$as_me:$LINENO: result: nowhere" >&5
 
22111
$as_echo "nowhere" >&6; }
20618
22112
        USE_GETTEXT="no"
20619
22113
else
20620
 
        { echo "$as_me:$LINENO: result: $LOCALEDIR" >&5
20621
 
echo "${ECHO_T}$LOCALEDIR" >&6; }
 
22114
        { $as_echo "$as_me:$LINENO: result: $LOCALEDIR" >&5
 
22115
$as_echo "$LOCALEDIR" >&6; }
20622
22116
fi
20623
22117
 
20624
22118
if test "x$USE_GETTEXT" = "xyes" ; then
20656
22150
 
20657
22151
 
20658
22152
pkg_failed=no
20659
 
{ echo "$as_me:$LINENO: checking for SXPM" >&5
20660
 
echo $ECHO_N "checking for SXPM... $ECHO_C" >&6; }
 
22153
{ $as_echo "$as_me:$LINENO: checking for SXPM" >&5
 
22154
$as_echo_n "checking for SXPM... " >&6; }
20661
22155
 
20662
 
if test -n "$PKG_CONFIG"; then
20663
 
        if test -n "$PKG_CONFIG" && \
20664
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\"") >&5
 
22156
if test -n "$SXPM_CFLAGS"; then
 
22157
    pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
 
22158
 elif test -n "$PKG_CONFIG"; then
 
22159
    if test -n "$PKG_CONFIG" && \
 
22160
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\"") >&5
20665
22161
  ($PKG_CONFIG --exists --print-errors "xt xext xextproto") 2>&5
20666
22162
  ac_status=$?
20667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22163
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668
22164
  (exit $ac_status); }; then
20669
22165
  pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "xt xext xextproto" 2>/dev/null`
20670
22166
else
20671
22167
  pkg_failed=yes
20672
22168
fi
20673
 
else
20674
 
        pkg_failed=untried
 
22169
 else
 
22170
    pkg_failed=untried
20675
22171
fi
20676
 
if test -n "$PKG_CONFIG"; then
20677
 
        if test -n "$PKG_CONFIG" && \
20678
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\"") >&5
 
22172
if test -n "$SXPM_LIBS"; then
 
22173
    pkg_cv_SXPM_LIBS="$SXPM_LIBS"
 
22174
 elif test -n "$PKG_CONFIG"; then
 
22175
    if test -n "$PKG_CONFIG" && \
 
22176
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\"") >&5
20679
22177
  ($PKG_CONFIG --exists --print-errors "xt xext xextproto") 2>&5
20680
22178
  ac_status=$?
20681
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22179
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682
22180
  (exit $ac_status); }; then
20683
22181
  pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "xt xext xextproto" 2>/dev/null`
20684
22182
else
20685
22183
  pkg_failed=yes
20686
22184
fi
20687
 
else
20688
 
        pkg_failed=untried
 
22185
 else
 
22186
    pkg_failed=untried
20689
22187
fi
20690
22188
 
 
22189
 
 
22190
 
20691
22191
if test $pkg_failed = yes; then
20692
 
        SXPM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt xext xextproto"`
 
22192
 
 
22193
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22194
        _pkg_short_errors_supported=yes
 
22195
else
 
22196
        _pkg_short_errors_supported=no
 
22197
fi
 
22198
        if test $_pkg_short_errors_supported = yes; then
 
22199
                SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt xext xextproto" 2>&1`
 
22200
        else
 
22201
                SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt xext xextproto" 2>&1`
 
22202
        fi
20693
22203
        # Put the nasty error message in config.log where it belongs
20694
 
        echo "$SXPM_PKG_ERRORS" 1>&5
 
22204
        echo "$SXPM_PKG_ERRORS" >&5
20695
22205
 
20696
 
        build_sxpm=false
 
22206
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
22207
$as_echo "no" >&6; }
 
22208
                build_sxpm=false
20697
22209
elif test $pkg_failed = untried; then
20698
22210
        build_sxpm=false
20699
22211
else
20700
22212
        SXPM_CFLAGS=$pkg_cv_SXPM_CFLAGS
20701
22213
        SXPM_LIBS=$pkg_cv_SXPM_LIBS
20702
 
        { echo "$as_me:$LINENO: result: yes" >&5
20703
 
echo "${ECHO_T}yes" >&6; }
 
22214
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
22215
$as_echo "yes" >&6; }
20704
22216
        build_sxpm=true
20705
22217
fi
20706
 
 
20707
22218
 if test x$build_sxpm = xtrue; then
20708
22219
  BUILD_SXPM_TRUE=
20709
22220
  BUILD_SXPM_FALSE='#'
20713
22224
fi
20714
22225
 
20715
22226
 
20716
 
 
20717
 
 
20718
 
 
20719
 
if test x$APP_MAN_SUFFIX = x    ; then
20720
 
    APP_MAN_SUFFIX=1
20721
 
fi
20722
 
if test x$APP_MAN_DIR = x    ; then
20723
 
    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
20724
 
fi
20725
 
 
20726
 
if test x$LIB_MAN_SUFFIX = x    ; then
20727
 
    LIB_MAN_SUFFIX=3
20728
 
fi
20729
 
if test x$LIB_MAN_DIR = x    ; then
20730
 
    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
20731
 
fi
20732
 
 
20733
 
if test x$FILE_MAN_SUFFIX = x    ; then
20734
 
    case $host_os in
20735
 
        solaris*)       FILE_MAN_SUFFIX=4  ;;
20736
 
        *)              FILE_MAN_SUFFIX=5  ;;
20737
 
    esac
20738
 
fi
20739
 
if test x$FILE_MAN_DIR = x    ; then
20740
 
    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
20741
 
fi
20742
 
 
20743
 
if test x$MISC_MAN_SUFFIX = x    ; then
20744
 
    case $host_os in
20745
 
        solaris*)       MISC_MAN_SUFFIX=5  ;;
20746
 
        *)              MISC_MAN_SUFFIX=7  ;;
20747
 
    esac
20748
 
fi
20749
 
if test x$MISC_MAN_DIR = x    ; then
20750
 
    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
20751
 
fi
20752
 
 
20753
 
if test x$DRIVER_MAN_SUFFIX = x    ; then
20754
 
    case $host_os in
20755
 
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
20756
 
        *)              DRIVER_MAN_SUFFIX=4  ;;
20757
 
    esac
20758
 
fi
20759
 
if test x$DRIVER_MAN_DIR = x    ; then
20760
 
    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
20761
 
fi
20762
 
 
20763
 
if test x$ADMIN_MAN_SUFFIX = x    ; then
20764
 
    case $host_os in
20765
 
        solaris*)       ADMIN_MAN_SUFFIX=1m ;;
20766
 
        *)              ADMIN_MAN_SUFFIX=8  ;;
20767
 
    esac
20768
 
fi
20769
 
if test x$ADMIN_MAN_DIR = x    ; then
20770
 
    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
20771
 
fi
20772
 
 
20773
 
 
20774
 
 
20775
 
 
20776
 
 
20777
 
 
20778
 
 
20779
 
 
20780
 
 
20781
 
 
20782
 
 
20783
 
 
20784
 
 
20785
 
 
20786
 
 
20787
 
 
20788
 
 
20789
 
# Check whether --with-release-version was given.
20790
 
if test "${with_release_version+set}" = set; then
20791
 
  withval=$with_release_version; RELEASE_VERSION="$withval"
20792
 
else
20793
 
  RELEASE_VERSION=""
20794
 
fi
20795
 
 
20796
 
        if test "x$RELEASE_VERSION" != "x"; then
20797
 
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
20798
 
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
20799
 
                { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
20800
 
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
20801
 
        fi
20802
 
 
20803
 
cat >>confdefs.h <<_ACEOF
20804
 
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
20805
 
_ACEOF
20806
 
 
20807
 
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
20808
 
        if test "x$PVM" = "x"; then
20809
 
                PVM="0"
20810
 
        fi
20811
 
 
20812
 
cat >>confdefs.h <<_ACEOF
20813
 
#define PACKAGE_VERSION_MINOR $PVM
20814
 
_ACEOF
20815
 
 
20816
 
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
20817
 
        if test "x$PVP" = "x"; then
20818
 
                PVP="0"
20819
 
        fi
20820
 
 
20821
 
cat >>confdefs.h <<_ACEOF
20822
 
#define PACKAGE_VERSION_PATCHLEVEL $PVP
20823
 
_ACEOF
20824
 
 
20825
 
 
20826
 
 
20827
22227
ac_config_files="$ac_config_files Makefile src/Makefile sxpm/Makefile cxpm/Makefile xpm.pc"
20828
22228
 
20829
22229
cat >confcache <<\_ACEOF
20853
22253
    case $ac_val in #(
20854
22254
    *${as_nl}*)
20855
22255
      case $ac_var in #(
20856
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20857
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
22256
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
22257
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20858
22258
      esac
20859
22259
      case $ac_var in #(
20860
22260
      _ | IFS | as_nl) ;; #(
 
22261
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20861
22262
      *) $as_unset $ac_var ;;
20862
22263
      esac ;;
20863
22264
    esac
20890
22291
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20891
22292
  if test -w "$cache_file"; then
20892
22293
    test "x$cache_file" != "x/dev/null" &&
20893
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20894
 
echo "$as_me: updating cache $cache_file" >&6;}
 
22294
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
22295
$as_echo "$as_me: updating cache $cache_file" >&6;}
20895
22296
    cat confcache >$cache_file
20896
22297
  else
20897
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20898
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
22298
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
22299
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20899
22300
  fi
20900
22301
fi
20901
22302
rm -f confcache
20911
22312
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20912
22313
  # 1. Remove the extension, and $U if already installed.
20913
22314
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20914
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
22315
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20915
22316
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20916
22317
  #    will be set to the directory where LIBOBJS objects are built.
20917
22318
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20922
22323
LTLIBOBJS=$ac_ltlibobjs
20923
22324
 
20924
22325
 
 
22326
 if test -n "$EXEEXT"; then
 
22327
  am__EXEEXT_TRUE=
 
22328
  am__EXEEXT_FALSE='#'
 
22329
else
 
22330
  am__EXEEXT_TRUE='#'
 
22331
  am__EXEEXT_FALSE=
 
22332
fi
 
22333
 
20925
22334
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20926
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
22335
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20927
22336
Usually this means the macro was only invoked conditionally." >&5
20928
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
22337
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20929
22338
Usually this means the macro was only invoked conditionally." >&2;}
20930
22339
   { (exit 1); exit 1; }; }
20931
22340
fi
20932
22341
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20933
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
22342
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20934
22343
Usually this means the macro was only invoked conditionally." >&5
20935
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
22344
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
20936
22345
Usually this means the macro was only invoked conditionally." >&2;}
20937
22346
   { (exit 1); exit 1; }; }
20938
22347
fi
20939
22348
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20940
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
22349
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20941
22350
Usually this means the macro was only invoked conditionally." >&5
20942
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
22351
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20943
22352
Usually this means the macro was only invoked conditionally." >&2;}
20944
22353
   { (exit 1); exit 1; }; }
20945
22354
fi
20946
22355
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20947
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
22356
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20948
22357
Usually this means the macro was only invoked conditionally." >&5
20949
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
22358
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20950
22359
Usually this means the macro was only invoked conditionally." >&2;}
20951
22360
   { (exit 1); exit 1; }; }
20952
22361
fi
20953
22362
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20954
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
22363
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20955
22364
Usually this means the macro was only invoked conditionally." >&5
20956
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
22365
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20957
22366
Usually this means the macro was only invoked conditionally." >&2;}
20958
22367
   { (exit 1); exit 1; }; }
20959
22368
fi
20960
22369
if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
20961
 
  { { echo "$as_me:$LINENO: error: conditional \"USE_GETTEXT\" was never defined.
 
22370
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_GETTEXT\" was never defined.
20962
22371
Usually this means the macro was only invoked conditionally." >&5
20963
 
echo "$as_me: error: conditional \"USE_GETTEXT\" was never defined.
 
22372
$as_echo "$as_me: error: conditional \"USE_GETTEXT\" was never defined.
20964
22373
Usually this means the macro was only invoked conditionally." >&2;}
20965
22374
   { (exit 1); exit 1; }; }
20966
22375
fi
20967
22376
if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then
20968
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SXPM\" was never defined.
 
22377
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SXPM\" was never defined.
20969
22378
Usually this means the macro was only invoked conditionally." >&5
20970
 
echo "$as_me: error: conditional \"BUILD_SXPM\" was never defined.
 
22379
$as_echo "$as_me: error: conditional \"BUILD_SXPM\" was never defined.
20971
22380
Usually this means the macro was only invoked conditionally." >&2;}
20972
22381
   { (exit 1); exit 1; }; }
20973
22382
fi
20974
22383
 
20975
22384
: ${CONFIG_STATUS=./config.status}
 
22385
ac_write_fail=0
20976
22386
ac_clean_files_save=$ac_clean_files
20977
22387
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20978
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20979
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
20980
 
cat >$CONFIG_STATUS <<_ACEOF
 
22388
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
22389
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
22390
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20981
22391
#! $SHELL
20982
22392
# Generated by $as_me.
20983
22393
# Run this file to recreate the current configuration.
20990
22400
SHELL=\${CONFIG_SHELL-$SHELL}
20991
22401
_ACEOF
20992
22402
 
20993
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22403
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20994
22404
## --------------------- ##
20995
22405
## M4sh Initialization.  ##
20996
22406
## --------------------- ##
21000
22410
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21001
22411
  emulate sh
21002
22412
  NULLCMD=:
21003
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
22413
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21004
22414
  # is contrary to our usage.  Disable this feature.
21005
22415
  alias -g '${1+"$@"}'='"$@"'
21006
22416
  setopt NO_GLOB_SUBST
21022
22432
as_cr_digits='0123456789'
21023
22433
as_cr_alnum=$as_cr_Letters$as_cr_digits
21024
22434
 
 
22435
as_nl='
 
22436
'
 
22437
export as_nl
 
22438
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
22439
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
22440
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
22441
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
22442
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
22443
  as_echo='printf %s\n'
 
22444
  as_echo_n='printf %s'
 
22445
else
 
22446
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
22447
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
22448
    as_echo_n='/usr/ucb/echo -n'
 
22449
  else
 
22450
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
22451
    as_echo_n_body='eval
 
22452
      arg=$1;
 
22453
      case $arg in
 
22454
      *"$as_nl"*)
 
22455
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
22456
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
22457
      esac;
 
22458
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
22459
    '
 
22460
    export as_echo_n_body
 
22461
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
22462
  fi
 
22463
  export as_echo_body
 
22464
  as_echo='sh -c $as_echo_body as_echo'
 
22465
fi
 
22466
 
21025
22467
# The user is always right.
21026
22468
if test "${PATH_SEPARATOR+set}" != set; then
21027
 
  echo "#! /bin/sh" >conf$$.sh
21028
 
  echo  "exit 0"   >>conf$$.sh
21029
 
  chmod +x conf$$.sh
21030
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21031
 
    PATH_SEPARATOR=';'
21032
 
  else
21033
 
    PATH_SEPARATOR=:
21034
 
  fi
21035
 
  rm -f conf$$.sh
 
22469
  PATH_SEPARATOR=:
 
22470
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
22471
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
22472
      PATH_SEPARATOR=';'
 
22473
  }
21036
22474
fi
21037
22475
 
21038
22476
# Support unset when possible.
21048
22486
# there to prevent editors from complaining about space-tab.
21049
22487
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21050
22488
# splitting by setting IFS to empty value.)
21051
 
as_nl='
21052
 
'
21053
22489
IFS=" ""        $as_nl"
21054
22490
 
21055
22491
# Find who we are.  Look in the path if we contain no directory separator.
21072
22508
  as_myself=$0
21073
22509
fi
21074
22510
if test ! -f "$as_myself"; then
21075
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22511
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21076
22512
  { (exit 1); exit 1; }
21077
22513
fi
21078
22514
 
21085
22521
PS4='+ '
21086
22522
 
21087
22523
# NLS nuisances.
21088
 
for as_var in \
21089
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21090
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21091
 
  LC_TELEPHONE LC_TIME
21092
 
do
21093
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21094
 
    eval $as_var=C; export $as_var
21095
 
  else
21096
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21097
 
  fi
21098
 
done
 
22524
LC_ALL=C
 
22525
export LC_ALL
 
22526
LANGUAGE=C
 
22527
export LANGUAGE
21099
22528
 
21100
22529
# Required to use basename.
21101
22530
if expr a : '\(a\)' >/dev/null 2>&1 &&
21117
22546
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21118
22547
         X"$0" : 'X\(//\)$' \| \
21119
22548
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21120
 
echo X/"$0" |
 
22549
$as_echo X/"$0" |
21121
22550
    sed '/^.*\/\([^/][^/]*\)\/*$/{
21122
22551
            s//\1/
21123
22552
            q
21168
22597
      s/-\n.*//
21169
22598
    ' >$as_me.lineno &&
21170
22599
  chmod +x "$as_me.lineno" ||
21171
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
22600
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21172
22601
   { (exit 1); exit 1; }; }
21173
22602
 
21174
22603
  # Don't try to exec as it changes $[0], causing all sort of problems
21196
22625
*)
21197
22626
  ECHO_N='-n';;
21198
22627
esac
21199
 
 
21200
22628
if expr a : '\(a\)' >/dev/null 2>&1 &&
21201
22629
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21202
22630
  as_expr=expr
21209
22637
  rm -f conf$$.dir/conf$$.file
21210
22638
else
21211
22639
  rm -f conf$$.dir
21212
 
  mkdir conf$$.dir
 
22640
  mkdir conf$$.dir 2>/dev/null
21213
22641
fi
21214
 
echo >conf$$.file
21215
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
21216
 
  as_ln_s='ln -s'
21217
 
  # ... but there are two gotchas:
21218
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21219
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21220
 
  # In both cases, we have to default to `cp -p'.
21221
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
22642
if (echo >conf$$.file) 2>/dev/null; then
 
22643
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
22644
    as_ln_s='ln -s'
 
22645
    # ... but there are two gotchas:
 
22646
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
22647
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
22648
    # In both cases, we have to default to `cp -p'.
 
22649
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
22650
      as_ln_s='cp -p'
 
22651
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
22652
    as_ln_s=ln
 
22653
  else
21222
22654
    as_ln_s='cp -p'
21223
 
elif ln conf$$.file conf$$ 2>/dev/null; then
21224
 
  as_ln_s=ln
 
22655
  fi
21225
22656
else
21226
22657
  as_ln_s='cp -p'
21227
22658
fi
21246
22677
  as_test_x='
21247
22678
    eval sh -c '\''
21248
22679
      if test -d "$1"; then
21249
 
        test -d "$1/.";
 
22680
        test -d "$1/.";
21250
22681
      else
21251
22682
        case $1 in
21252
 
        -*)set "./$1";;
 
22683
        -*)set "./$1";;
21253
22684
        esac;
21254
22685
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21255
22686
        ???[sx]*):;;*)false;;esac;fi
21271
22702
# report actual input values of CONFIG_FILES etc. instead of their
21272
22703
# values after options handling.
21273
22704
ac_log="
21274
 
This file was extended by libXpm $as_me 3.5.7, which was
21275
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
22705
This file was extended by libXpm $as_me 3.5.8, which was
 
22706
generated by GNU Autoconf 2.63.  Invocation command line was
21276
22707
 
21277
22708
  CONFIG_FILES    = $CONFIG_FILES
21278
22709
  CONFIG_HEADERS  = $CONFIG_HEADERS
21285
22716
 
21286
22717
_ACEOF
21287
22718
 
21288
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22719
case $ac_config_files in *"
 
22720
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
22721
esac
 
22722
 
 
22723
case $ac_config_headers in *"
 
22724
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
22725
esac
 
22726
 
 
22727
 
 
22728
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21289
22729
# Files that config.status was made for.
21290
22730
config_files="$ac_config_files"
21291
22731
config_headers="$ac_config_headers"
21293
22733
 
21294
22734
_ACEOF
21295
22735
 
21296
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22736
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21297
22737
ac_cs_usage="\
21298
22738
\`$as_me' instantiates files from templates according to the
21299
22739
current configuration.
21300
22740
 
21301
 
Usage: $0 [OPTIONS] [FILE]...
 
22741
Usage: $0 [OPTION]... [FILE]...
21302
22742
 
21303
22743
  -h, --help       print this help, then exit
21304
22744
  -V, --version    print version number and configuration settings, then exit
21305
 
  -q, --quiet      do not print progress messages
 
22745
  -q, --quiet, --silent
 
22746
                   do not print progress messages
21306
22747
  -d, --debug      don't remove temporary files
21307
22748
      --recheck    update $as_me by reconfiguring in the same conditions
21308
 
  --file=FILE[:TEMPLATE]
21309
 
                   instantiate the configuration file FILE
21310
 
  --header=FILE[:TEMPLATE]
21311
 
                   instantiate the configuration header FILE
 
22749
      --file=FILE[:TEMPLATE]
 
22750
                   instantiate the configuration file FILE
 
22751
      --header=FILE[:TEMPLATE]
 
22752
                   instantiate the configuration header FILE
21312
22753
 
21313
22754
Configuration files:
21314
22755
$config_files
21322
22763
Report bugs to <bug-autoconf@gnu.org>."
21323
22764
 
21324
22765
_ACEOF
21325
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22766
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21326
22767
ac_cs_version="\\
21327
 
libXpm config.status 3.5.7
21328
 
configured by $0, generated by GNU Autoconf 2.61,
21329
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
22768
libXpm config.status 3.5.8
 
22769
configured by $0, generated by GNU Autoconf 2.63,
 
22770
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21330
22771
 
21331
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
22772
Copyright (C) 2008 Free Software Foundation, Inc.
21332
22773
This config.status script is free software; the Free Software Foundation
21333
22774
gives unlimited permission to copy, distribute and modify it."
21334
22775
 
21336
22777
srcdir='$srcdir'
21337
22778
INSTALL='$INSTALL'
21338
22779
MKDIR_P='$MKDIR_P'
 
22780
AWK='$AWK'
 
22781
test -n "\$AWK" || AWK=awk
21339
22782
_ACEOF
21340
22783
 
21341
 
cat >>$CONFIG_STATUS <<\_ACEOF
21342
 
# If no file are specified by the user, then we need to provide default
21343
 
# value.  By we need to know if files were specified by the user.
 
22784
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22785
# The default lists apply if the user does not specify any file.
21344
22786
ac_need_defaults=:
21345
22787
while test $# != 0
21346
22788
do
21362
22804
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21363
22805
    ac_cs_recheck=: ;;
21364
22806
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21365
 
    echo "$ac_cs_version"; exit ;;
 
22807
    $as_echo "$ac_cs_version"; exit ;;
21366
22808
  --debug | --debu | --deb | --de | --d | -d )
21367
22809
    debug=: ;;
21368
22810
  --file | --fil | --fi | --f )
21369
22811
    $ac_shift
21370
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
22812
    case $ac_optarg in
 
22813
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22814
    esac
 
22815
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
21371
22816
    ac_need_defaults=false;;
21372
22817
  --header | --heade | --head | --hea )
21373
22818
    $ac_shift
21374
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
22819
    case $ac_optarg in
 
22820
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22821
    esac
 
22822
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
21375
22823
    ac_need_defaults=false;;
21376
22824
  --he | --h)
21377
22825
    # Conflict between --help and --header
21378
 
    { echo "$as_me: error: ambiguous option: $1
 
22826
    { $as_echo "$as_me: error: ambiguous option: $1
21379
22827
Try \`$0 --help' for more information." >&2
21380
22828
   { (exit 1); exit 1; }; };;
21381
22829
  --help | --hel | -h )
21382
 
    echo "$ac_cs_usage"; exit ;;
 
22830
    $as_echo "$ac_cs_usage"; exit ;;
21383
22831
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21384
22832
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21385
22833
    ac_cs_silent=: ;;
21386
22834
 
21387
22835
  # This is an error.
21388
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
22836
  -*) { $as_echo "$as_me: error: unrecognized option: $1
21389
22837
Try \`$0 --help' for more information." >&2
21390
22838
   { (exit 1); exit 1; }; } ;;
21391
22839
 
21404
22852
fi
21405
22853
 
21406
22854
_ACEOF
21407
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22855
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21408
22856
if \$ac_cs_recheck; then
21409
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21410
 
  CONFIG_SHELL=$SHELL
 
22857
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22858
  shift
 
22859
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
22860
  CONFIG_SHELL='$SHELL'
21411
22861
  export CONFIG_SHELL
21412
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22862
  exec "\$@"
21413
22863
fi
21414
22864
 
21415
22865
_ACEOF
21416
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22866
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21417
22867
exec 5>>config.log
21418
22868
{
21419
22869
  echo
21420
22870
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21421
22871
## Running $as_me. ##
21422
22872
_ASBOX
21423
 
  echo "$ac_log"
 
22873
  $as_echo "$ac_log"
21424
22874
} >&5
21425
22875
 
21426
22876
_ACEOF
21427
 
cat >>$CONFIG_STATUS <<_ACEOF
 
22877
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21428
22878
#
21429
22879
# INIT-COMMANDS
21430
22880
#
21432
22882
 
21433
22883
_ACEOF
21434
22884
 
21435
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22885
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21436
22886
 
21437
22887
# Handling of arguments.
21438
22888
for ac_config_target in $ac_config_targets
21446
22896
    "cxpm/Makefile") CONFIG_FILES="$CONFIG_FILES cxpm/Makefile" ;;
21447
22897
    "xpm.pc") CONFIG_FILES="$CONFIG_FILES xpm.pc" ;;
21448
22898
 
21449
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21450
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
22899
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
22900
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21451
22901
   { (exit 1); exit 1; }; };;
21452
22902
  esac
21453
22903
done
21488
22938
  (umask 077 && mkdir "$tmp")
21489
22939
} ||
21490
22940
{
21491
 
   echo "$me: cannot create a temporary directory in ." >&2
 
22941
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
21492
22942
   { (exit 1); exit 1; }
21493
22943
}
21494
22944
 
21495
 
#
21496
 
# Set up the sed scripts for CONFIG_FILES section.
21497
 
#
21498
 
 
21499
 
# No need to generate the scripts if there are no CONFIG_FILES.
21500
 
# This happens for instance when ./config.status config.h
 
22945
# Set up the scripts for CONFIG_FILES section.
 
22946
# No need to generate them if there are no CONFIG_FILES.
 
22947
# This happens for instance with `./config.status config.h'.
21501
22948
if test -n "$CONFIG_FILES"; then
21502
22949
 
21503
 
_ACEOF
21504
 
 
21505
 
 
21506
 
 
21507
 
ac_delim='%!_!# '
21508
 
for ac_last_try in false false false false false :; do
21509
 
  cat >conf$$subs.sed <<_ACEOF
21510
 
SHELL!$SHELL$ac_delim
21511
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21512
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21513
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21514
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21515
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21516
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21517
 
exec_prefix!$exec_prefix$ac_delim
21518
 
prefix!$prefix$ac_delim
21519
 
program_transform_name!$program_transform_name$ac_delim
21520
 
bindir!$bindir$ac_delim
21521
 
sbindir!$sbindir$ac_delim
21522
 
libexecdir!$libexecdir$ac_delim
21523
 
datarootdir!$datarootdir$ac_delim
21524
 
datadir!$datadir$ac_delim
21525
 
sysconfdir!$sysconfdir$ac_delim
21526
 
sharedstatedir!$sharedstatedir$ac_delim
21527
 
localstatedir!$localstatedir$ac_delim
21528
 
includedir!$includedir$ac_delim
21529
 
oldincludedir!$oldincludedir$ac_delim
21530
 
docdir!$docdir$ac_delim
21531
 
infodir!$infodir$ac_delim
21532
 
htmldir!$htmldir$ac_delim
21533
 
dvidir!$dvidir$ac_delim
21534
 
pdfdir!$pdfdir$ac_delim
21535
 
psdir!$psdir$ac_delim
21536
 
libdir!$libdir$ac_delim
21537
 
localedir!$localedir$ac_delim
21538
 
mandir!$mandir$ac_delim
21539
 
DEFS!$DEFS$ac_delim
21540
 
ECHO_C!$ECHO_C$ac_delim
21541
 
ECHO_N!$ECHO_N$ac_delim
21542
 
ECHO_T!$ECHO_T$ac_delim
21543
 
LIBS!$LIBS$ac_delim
21544
 
build_alias!$build_alias$ac_delim
21545
 
host_alias!$host_alias$ac_delim
21546
 
target_alias!$target_alias$ac_delim
21547
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21548
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21549
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
21550
 
am__isrc!$am__isrc$ac_delim
21551
 
CYGPATH_W!$CYGPATH_W$ac_delim
21552
 
PACKAGE!$PACKAGE$ac_delim
21553
 
VERSION!$VERSION$ac_delim
21554
 
ACLOCAL!$ACLOCAL$ac_delim
21555
 
AUTOCONF!$AUTOCONF$ac_delim
21556
 
AUTOMAKE!$AUTOMAKE$ac_delim
21557
 
AUTOHEADER!$AUTOHEADER$ac_delim
21558
 
MAKEINFO!$MAKEINFO$ac_delim
21559
 
install_sh!$install_sh$ac_delim
21560
 
STRIP!$STRIP$ac_delim
21561
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21562
 
mkdir_p!$mkdir_p$ac_delim
21563
 
AWK!$AWK$ac_delim
21564
 
SET_MAKE!$SET_MAKE$ac_delim
21565
 
am__leading_dot!$am__leading_dot$ac_delim
21566
 
AMTAR!$AMTAR$ac_delim
21567
 
am__tar!$am__tar$ac_delim
21568
 
am__untar!$am__untar$ac_delim
21569
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
21570
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
21571
 
MAINT!$MAINT$ac_delim
21572
 
build!$build$ac_delim
21573
 
build_cpu!$build_cpu$ac_delim
21574
 
build_vendor!$build_vendor$ac_delim
21575
 
build_os!$build_os$ac_delim
21576
 
host!$host$ac_delim
21577
 
host_cpu!$host_cpu$ac_delim
21578
 
host_vendor!$host_vendor$ac_delim
21579
 
host_os!$host_os$ac_delim
21580
 
CC!$CC$ac_delim
21581
 
CFLAGS!$CFLAGS$ac_delim
21582
 
LDFLAGS!$LDFLAGS$ac_delim
21583
 
CPPFLAGS!$CPPFLAGS$ac_delim
21584
 
ac_ct_CC!$ac_ct_CC$ac_delim
21585
 
EXEEXT!$EXEEXT$ac_delim
21586
 
OBJEXT!$OBJEXT$ac_delim
21587
 
DEPDIR!$DEPDIR$ac_delim
21588
 
am__include!$am__include$ac_delim
21589
 
am__quote!$am__quote$ac_delim
21590
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21591
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21592
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21593
 
CCDEPMODE!$CCDEPMODE$ac_delim
21594
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21595
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21596
 
GREP!$GREP$ac_delim
21597
 
EGREP!$EGREP$ac_delim
21598
 
LN_S!$LN_S$ac_delim
21599
 
ECHO!$ECHO$ac_delim
21600
 
AR!$AR$ac_delim
21601
 
RANLIB!$RANLIB$ac_delim
21602
 
CPP!$CPP$ac_delim
21603
 
CXX!$CXX$ac_delim
21604
 
CXXFLAGS!$CXXFLAGS$ac_delim
21605
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
21606
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
21607
 
_ACEOF
21608
 
 
21609
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21610
 
    break
21611
 
  elif $ac_last_try; then
21612
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21613
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21614
 
   { (exit 1); exit 1; }; }
21615
 
  else
21616
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21617
 
  fi
21618
 
done
21619
 
 
21620
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21621
 
if test -n "$ac_eof"; then
21622
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21623
 
  ac_eof=`expr $ac_eof + 1`
21624
 
fi
21625
 
 
21626
 
cat >>$CONFIG_STATUS <<_ACEOF
21627
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21628
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21629
 
_ACEOF
21630
 
sed '
21631
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21632
 
s/^/s,@/; s/!/@,|#_!!_#|/
21633
 
:n
21634
 
t n
21635
 
s/'"$ac_delim"'$/,g/; t
21636
 
s/$/\\/; p
21637
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21638
 
' >>$CONFIG_STATUS <conf$$subs.sed
21639
 
rm -f conf$$subs.sed
21640
 
cat >>$CONFIG_STATUS <<_ACEOF
21641
 
CEOF$ac_eof
21642
 
_ACEOF
21643
 
 
21644
 
 
21645
 
ac_delim='%!_!# '
21646
 
for ac_last_try in false false false false false :; do
21647
 
  cat >conf$$subs.sed <<_ACEOF
21648
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21649
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21650
 
CXXCPP!$CXXCPP$ac_delim
21651
 
F77!$F77$ac_delim
21652
 
FFLAGS!$FFLAGS$ac_delim
21653
 
ac_ct_F77!$ac_ct_F77$ac_delim
21654
 
LIBTOOL!$LIBTOOL$ac_delim
21655
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
21656
 
XPM_CFLAGS!$XPM_CFLAGS$ac_delim
21657
 
XPM_LIBS!$XPM_LIBS$ac_delim
21658
 
LOCALEDIR!$LOCALEDIR$ac_delim
21659
 
USE_GETTEXT_TRUE!$USE_GETTEXT_TRUE$ac_delim
21660
 
USE_GETTEXT_FALSE!$USE_GETTEXT_FALSE$ac_delim
21661
 
SXPM_CFLAGS!$SXPM_CFLAGS$ac_delim
21662
 
SXPM_LIBS!$SXPM_LIBS$ac_delim
21663
 
BUILD_SXPM_TRUE!$BUILD_SXPM_TRUE$ac_delim
21664
 
BUILD_SXPM_FALSE!$BUILD_SXPM_FALSE$ac_delim
21665
 
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
21666
 
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
21667
 
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
21668
 
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
21669
 
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
21670
 
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
21671
 
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
21672
 
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
21673
 
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
21674
 
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
21675
 
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
21676
 
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
21677
 
LIBOBJS!$LIBOBJS$ac_delim
21678
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
21679
 
_ACEOF
21680
 
 
21681
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then
21682
 
    break
21683
 
  elif $ac_last_try; then
21684
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21685
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21686
 
   { (exit 1); exit 1; }; }
21687
 
  else
21688
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21689
 
  fi
21690
 
done
21691
 
 
21692
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21693
 
if test -n "$ac_eof"; then
21694
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21695
 
  ac_eof=`expr $ac_eof + 1`
21696
 
fi
21697
 
 
21698
 
cat >>$CONFIG_STATUS <<_ACEOF
21699
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21700
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21701
 
_ACEOF
21702
 
sed '
21703
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21704
 
s/^/s,@/; s/!/@,|#_!!_#|/
21705
 
:n
21706
 
t n
21707
 
s/'"$ac_delim"'$/,g/; t
21708
 
s/$/\\/; p
21709
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21710
 
' >>$CONFIG_STATUS <conf$$subs.sed
21711
 
rm -f conf$$subs.sed
21712
 
cat >>$CONFIG_STATUS <<_ACEOF
21713
 
:end
21714
 
s/|#_!!_#|//g
21715
 
CEOF$ac_eof
21716
 
_ACEOF
21717
 
 
 
22950
 
 
22951
ac_cr='
 
 
b"'"
 
22952
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
22953
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
22954
  ac_cs_awk_cr='\\r'
 
22955
else
 
22956
  ac_cs_awk_cr=$ac_cr
 
22957
fi
 
22958
 
 
22959
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
22960
_ACEOF
 
22961
 
 
22962
 
 
22963
{
 
22964
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
22965
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
22966
  echo "_ACEOF"
 
22967
} >conf$$subs.sh ||
 
22968
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22969
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22970
   { (exit 1); exit 1; }; }
 
22971
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
22972
ac_delim='%!_!# '
 
22973
for ac_last_try in false false false false false :; do
 
22974
  . ./conf$$subs.sh ||
 
22975
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22976
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22977
   { (exit 1); exit 1; }; }
 
22978
 
 
22979
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
22980
  if test $ac_delim_n = $ac_delim_num; then
 
22981
    break
 
22982
  elif $ac_last_try; then
 
22983
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22984
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22985
   { (exit 1); exit 1; }; }
 
22986
  else
 
22987
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22988
  fi
 
22989
done
 
22990
rm -f conf$$subs.sh
 
22991
 
 
22992
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22993
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
22994
_ACEOF
 
22995
sed -n '
 
22996
h
 
22997
s/^/S["/; s/!.*/"]=/
 
22998
p
 
22999
g
 
23000
s/^[^!]*!//
 
23001
:repl
 
23002
t repl
 
23003
s/'"$ac_delim"'$//
 
23004
t delim
 
23005
:nl
 
23006
h
 
23007
s/\(.\{148\}\).*/\1/
 
23008
t more1
 
23009
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
23010
p
 
23011
n
 
23012
b repl
 
23013
:more1
 
23014
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
23015
p
 
23016
g
 
23017
s/.\{148\}//
 
23018
t nl
 
23019
:delim
 
23020
h
 
23021
s/\(.\{148\}\).*/\1/
 
23022
t more2
 
23023
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
23024
p
 
23025
b
 
23026
:more2
 
23027
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
23028
p
 
23029
g
 
23030
s/.\{148\}//
 
23031
t delim
 
23032
' <conf$$subs.awk | sed '
 
23033
/^[^""]/{
 
23034
  N
 
23035
  s/\n//
 
23036
}
 
23037
' >>$CONFIG_STATUS || ac_write_fail=1
 
23038
rm -f conf$$subs.awk
 
23039
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23040
_ACAWK
 
23041
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
23042
  for (key in S) S_is_set[key] = 1
 
23043
  FS = ""
 
23044
 
 
23045
}
 
23046
{
 
23047
  line = $ 0
 
23048
  nfields = split(line, field, "@")
 
23049
  substed = 0
 
23050
  len = length(field[1])
 
23051
  for (i = 2; i < nfields; i++) {
 
23052
    key = field[i]
 
23053
    keylen = length(key)
 
23054
    if (S_is_set[key]) {
 
23055
      value = S[key]
 
23056
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
23057
      len += length(value) + length(field[++i])
 
23058
      substed = 1
 
23059
    } else
 
23060
      len += 1 + keylen
 
23061
  }
 
23062
 
 
23063
  print line
 
23064
}
 
23065
 
 
23066
_ACAWK
 
23067
_ACEOF
 
23068
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23069
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
23070
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
23071
else
 
23072
  cat
 
23073
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
23074
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
23075
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
23076
   { (exit 1); exit 1; }; }
 
23077
_ACEOF
21718
23078
 
21719
23079
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21720
23080
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21731
23091
}'
21732
23092
fi
21733
23093
 
21734
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23094
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21735
23095
fi # test -n "$CONFIG_FILES"
21736
23096
 
21737
 
 
21738
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
23097
# Set up the scripts for CONFIG_HEADERS section.
 
23098
# No need to generate them if there are no CONFIG_HEADERS.
 
23099
# This happens for instance with `./config.status Makefile'.
 
23100
if test -n "$CONFIG_HEADERS"; then
 
23101
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
23102
BEGIN {
 
23103
_ACEOF
 
23104
 
 
23105
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
23106
# here-document in config.status, that substitutes the proper values into
 
23107
# config.h.in to produce config.h.
 
23108
 
 
23109
# Create a delimiter string that does not exist in confdefs.h, to ease
 
23110
# handling of long lines.
 
23111
ac_delim='%!_!# '
 
23112
for ac_last_try in false false :; do
 
23113
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
23114
  if test -z "$ac_t"; then
 
23115
    break
 
23116
  elif $ac_last_try; then
 
23117
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
23118
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
23119
   { (exit 1); exit 1; }; }
 
23120
  else
 
23121
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23122
  fi
 
23123
done
 
23124
 
 
23125
# For the awk script, D is an array of macro values keyed by name,
 
23126
# likewise P contains macro parameters if any.  Preserve backslash
 
23127
# newline sequences.
 
23128
 
 
23129
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
23130
sed -n '
 
23131
s/.\{148\}/&'"$ac_delim"'/g
 
23132
t rset
 
23133
:rset
 
23134
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
23135
t def
 
23136
d
 
23137
:def
 
23138
s/\\$//
 
23139
t bsnl
 
23140
s/["\\]/\\&/g
 
23141
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
23142
D["\1"]=" \3"/p
 
23143
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
23144
d
 
23145
:bsnl
 
23146
s/["\\]/\\&/g
 
23147
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
23148
D["\1"]=" \3\\\\\\n"\\/p
 
23149
t cont
 
23150
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
23151
t cont
 
23152
d
 
23153
:cont
 
23154
n
 
23155
s/.\{148\}/&'"$ac_delim"'/g
 
23156
t clear
 
23157
:clear
 
23158
s/\\$//
 
23159
t bsnlc
 
23160
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
23161
d
 
23162
:bsnlc
 
23163
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
23164
b cont
 
23165
' <confdefs.h | sed '
 
23166
s/'"$ac_delim"'/"\\\
 
23167
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
23168
 
 
23169
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23170
  for (key in D) D_is_set[key] = 1
 
23171
  FS = ""
 
23172
}
 
23173
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
23174
  line = \$ 0
 
23175
  split(line, arg, " ")
 
23176
  if (arg[1] == "#") {
 
23177
    defundef = arg[2]
 
23178
    mac1 = arg[3]
 
23179
  } else {
 
23180
    defundef = substr(arg[1], 2)
 
23181
    mac1 = arg[2]
 
23182
  }
 
23183
  split(mac1, mac2, "(") #)
 
23184
  macro = mac2[1]
 
23185
  prefix = substr(line, 1, index(line, defundef) - 1)
 
23186
  if (D_is_set[macro]) {
 
23187
    # Preserve the white space surrounding the "#".
 
23188
    print prefix "define", macro P[macro] D[macro]
 
23189
    next
 
23190
  } else {
 
23191
    # Replace #undef with comments.  This is necessary, for example,
 
23192
    # in the case of _POSIX_SOURCE, which is predefined and required
 
23193
    # on some systems where configure will not decide to define it.
 
23194
    if (defundef == "undef") {
 
23195
      print "/*", prefix defundef, macro, "*/"
 
23196
      next
 
23197
    }
 
23198
  }
 
23199
}
 
23200
{ print }
 
23201
_ACAWK
 
23202
_ACEOF
 
23203
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23204
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
23205
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
23206
   { (exit 1); exit 1; }; }
 
23207
fi # test -n "$CONFIG_HEADERS"
 
23208
 
 
23209
 
 
23210
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
23211
shift
 
23212
for ac_tag
21739
23213
do
21740
23214
  case $ac_tag in
21741
23215
  :[FHLC]) ac_mode=$ac_tag; continue;;
21742
23216
  esac
21743
23217
  case $ac_mode$ac_tag in
21744
23218
  :[FHL]*:*);;
21745
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21746
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
23219
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
23220
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
21747
23221
   { (exit 1); exit 1; }; };;
21748
23222
  :[FH]-) ac_tag=-:-;;
21749
23223
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21772
23246
           [\\/$]*) false;;
21773
23247
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21774
23248
           esac ||
21775
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21776
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
23249
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
23250
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21777
23251
   { (exit 1); exit 1; }; };;
21778
23252
      esac
21779
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
23253
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
23254
      ac_file_inputs="$ac_file_inputs '$ac_f'"
21780
23255
    done
21781
23256
 
21782
23257
    # Let's still pretend it is `configure' which instantiates (i.e., don't
21783
23258
    # use $as_me), people would be surprised to read:
21784
23259
    #    /* config.h.  Generated by config.status.  */
21785
 
    configure_input="Generated from "`IFS=:
21786
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
23260
    configure_input='Generated from '`
 
23261
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
23262
        `' by configure.'
21787
23263
    if test x"$ac_file" != x-; then
21788
23264
      configure_input="$ac_file.  $configure_input"
21789
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
21790
 
echo "$as_me: creating $ac_file" >&6;}
 
23265
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
23266
$as_echo "$as_me: creating $ac_file" >&6;}
21791
23267
    fi
 
23268
    # Neutralize special characters interpreted by sed in replacement strings.
 
23269
    case $configure_input in #(
 
23270
    *\&* | *\|* | *\\* )
 
23271
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
23272
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
23273
    *) ac_sed_conf_input=$configure_input;;
 
23274
    esac
21792
23275
 
21793
23276
    case $ac_tag in
21794
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
23277
    *:-:* | *:-) cat >"$tmp/stdin" \
 
23278
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23279
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23280
   { (exit 1); exit 1; }; } ;;
21795
23281
    esac
21796
23282
    ;;
21797
23283
  esac
21801
23287
         X"$ac_file" : 'X\(//\)[^/]' \| \
21802
23288
         X"$ac_file" : 'X\(//\)$' \| \
21803
23289
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21804
 
echo X"$ac_file" |
 
23290
$as_echo X"$ac_file" |
21805
23291
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21806
23292
            s//\1/
21807
23293
            q
21827
23313
    as_dirs=
21828
23314
    while :; do
21829
23315
      case $as_dir in #(
21830
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23316
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21831
23317
      *) as_qdir=$as_dir;;
21832
23318
      esac
21833
23319
      as_dirs="'$as_qdir' $as_dirs"
21836
23322
         X"$as_dir" : 'X\(//\)[^/]' \| \
21837
23323
         X"$as_dir" : 'X\(//\)$' \| \
21838
23324
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21839
 
echo X"$as_dir" |
 
23325
$as_echo X"$as_dir" |
21840
23326
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21841
23327
            s//\1/
21842
23328
            q
21857
23343
      test -d "$as_dir" && break
21858
23344
    done
21859
23345
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21860
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21861
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
23346
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23347
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21862
23348
   { (exit 1); exit 1; }; }; }
21863
23349
  ac_builddir=.
21864
23350
 
21865
23351
case "$ac_dir" in
21866
23352
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21867
23353
*)
21868
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
23354
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21869
23355
  # A ".." for each directory in $ac_dir_suffix.
21870
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
23356
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21871
23357
  case $ac_top_builddir_sub in
21872
23358
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21873
23359
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21912
23398
  esac
21913
23399
_ACEOF
21914
23400
 
21915
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23401
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21916
23402
# If the template does not know about datarootdir, expand it.
21917
23403
# FIXME: This hack should be removed a few years after 2.60.
21918
23404
ac_datarootdir_hack=; ac_datarootdir_seen=
21919
23405
 
21920
 
case `sed -n '/datarootdir/ {
 
23406
ac_sed_dataroot='
 
23407
/datarootdir/ {
21921
23408
  p
21922
23409
  q
21923
23410
}
21926
23413
/@infodir@/p
21927
23414
/@localedir@/p
21928
23415
/@mandir@/p
21929
 
' $ac_file_inputs` in
 
23416
'
 
23417
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21930
23418
*datarootdir*) ac_datarootdir_seen=yes;;
21931
23419
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21932
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21933
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
23420
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
23421
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21934
23422
_ACEOF
21935
 
cat >>$CONFIG_STATUS <<_ACEOF
 
23423
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21936
23424
  ac_datarootdir_hack='
21937
23425
  s&@datadir@&$datadir&g
21938
23426
  s&@docdir@&$docdir&g
21946
23434
# Neutralize VPATH when `$srcdir' = `.'.
21947
23435
# Shell code in configure.ac might set extrasub.
21948
23436
# FIXME: do we really want to maintain this feature?
21949
 
cat >>$CONFIG_STATUS <<_ACEOF
21950
 
  sed "$ac_vpsub
 
23437
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23438
ac_sed_extra="$ac_vpsub
21951
23439
$extrasub
21952
23440
_ACEOF
21953
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
23441
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21954
23442
:t
21955
23443
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21956
 
s&@configure_input@&$configure_input&;t t
 
23444
s|@configure_input@|$ac_sed_conf_input|;t t
21957
23445
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
23446
s&@top_build_prefix@&$ac_top_build_prefix&;t t
21958
23447
s&@srcdir@&$ac_srcdir&;t t
21959
23448
s&@abs_srcdir@&$ac_abs_srcdir&;t t
21960
23449
s&@top_srcdir@&$ac_top_srcdir&;t t
21965
23454
s&@INSTALL@&$ac_INSTALL&;t t
21966
23455
s&@MKDIR_P@&$ac_MKDIR_P&;t t
21967
23456
$ac_datarootdir_hack
21968
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
23457
"
 
23458
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
23459
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23460
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23461
   { (exit 1); exit 1; }; }
21969
23462
 
21970
23463
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21971
23464
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21972
23465
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21973
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23466
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21974
23467
which seems to be undefined.  Please make sure it is defined." >&5
21975
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23468
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21976
23469
which seems to be undefined.  Please make sure it is defined." >&2;}
21977
23470
 
21978
23471
  rm -f "$tmp/stdin"
21979
23472
  case $ac_file in
21980
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
21981
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21982
 
  esac
 
23473
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
23474
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
23475
  esac \
 
23476
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23477
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23478
   { (exit 1); exit 1; }; }
21983
23479
 ;;
21984
23480
  :H)
21985
23481
  #
21986
23482
  # CONFIG_HEADER
21987
23483
  #
21988
 
_ACEOF
21989
 
 
21990
 
# Transform confdefs.h into a sed script `conftest.defines', that
21991
 
# substitutes the proper values into config.h.in to produce config.h.
21992
 
rm -f conftest.defines conftest.tail
21993
 
# First, append a space to every undef/define line, to ease matching.
21994
 
echo 's/$/ /' >conftest.defines
21995
 
# Then, protect against being on the right side of a sed subst, or in
21996
 
# an unquoted here document, in config.status.  If some macros were
21997
 
# called several times there might be several #defines for the same
21998
 
# symbol, which is useless.  But do not sort them, since the last
21999
 
# AC_DEFINE must be honored.
22000
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22001
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22002
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
22003
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
22004
 
# just an empty string.
22005
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
22006
 
ac_dB='\\)[      (].*,\\1define\\2'
22007
 
ac_dC=' '
22008
 
ac_dD=' ,'
22009
 
 
22010
 
uniq confdefs.h |
22011
 
  sed -n '
22012
 
        t rset
22013
 
        :rset
22014
 
        s/^[     ]*#[    ]*define[       ][      ]*//
22015
 
        t ok
22016
 
        d
22017
 
        :ok
22018
 
        s/[\\&,]/\\&/g
22019
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22020
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22021
 
  ' >>conftest.defines
22022
 
 
22023
 
# Remove the space that was appended to ease matching.
22024
 
# Then replace #undef with comments.  This is necessary, for
22025
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
22026
 
# on some systems where configure will not decide to define it.
22027
 
# (The regexp can be short, since the line contains either #define or #undef.)
22028
 
echo 's/ $//
22029
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
22030
 
 
22031
 
# Break up conftest.defines:
22032
 
ac_max_sed_lines=50
22033
 
 
22034
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22035
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22036
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22037
 
# et cetera.
22038
 
ac_in='$ac_file_inputs'
22039
 
ac_out='"$tmp/out1"'
22040
 
ac_nxt='"$tmp/out2"'
22041
 
 
22042
 
while :
22043
 
do
22044
 
  # Write a here document:
22045
 
    cat >>$CONFIG_STATUS <<_ACEOF
22046
 
    # First, check the format of the line:
22047
 
    cat >"\$tmp/defines.sed" <<\\CEOF
22048
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
22049
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
22050
 
b
22051
 
:def
22052
 
_ACEOF
22053
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22054
 
  echo 'CEOF
22055
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22056
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22057
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22058
 
  grep . conftest.tail >/dev/null || break
22059
 
  rm -f conftest.defines
22060
 
  mv conftest.tail conftest.defines
22061
 
done
22062
 
rm -f conftest.defines conftest.tail
22063
 
 
22064
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22065
 
cat >>$CONFIG_STATUS <<\_ACEOF
22066
23484
  if test x"$ac_file" != x-; then
22067
 
    echo "/* $configure_input  */" >"$tmp/config.h"
22068
 
    cat "$ac_result" >>"$tmp/config.h"
22069
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22070
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22071
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
23485
    {
 
23486
      $as_echo "/* $configure_input  */" \
 
23487
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
23488
    } >"$tmp/config.h" \
 
23489
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23490
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23491
   { (exit 1); exit 1; }; }
 
23492
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
23493
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
23494
$as_echo "$as_me: $ac_file is unchanged" >&6;}
22072
23495
    else
22073
 
      rm -f $ac_file
22074
 
      mv "$tmp/config.h" $ac_file
 
23496
      rm -f "$ac_file"
 
23497
      mv "$tmp/config.h" "$ac_file" \
 
23498
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
23499
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
23500
   { (exit 1); exit 1; }; }
22075
23501
    fi
22076
23502
  else
22077
 
    echo "/* $configure_input  */"
22078
 
    cat "$ac_result"
 
23503
    $as_echo "/* $configure_input  */" \
 
23504
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
23505
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
23506
$as_echo "$as_me: error: could not create -" >&2;}
 
23507
   { (exit 1); exit 1; }; }
22079
23508
  fi
22080
 
  rm -f "$tmp/out12"
22081
 
# Compute $ac_file's index in $config_headers.
 
23509
# Compute "$ac_file"'s index in $config_headers.
 
23510
_am_arg="$ac_file"
22082
23511
_am_stamp_count=1
22083
23512
for _am_header in $config_headers :; do
22084
23513
  case $_am_header in
22085
 
    $ac_file | $ac_file:* )
 
23514
    $_am_arg | $_am_arg:* )
22086
23515
      break ;;
22087
23516
    * )
22088
23517
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22089
23518
  esac
22090
23519
done
22091
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22092
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22093
 
         X$ac_file : 'X\(//\)[^/]' \| \
22094
 
         X$ac_file : 'X\(//\)$' \| \
22095
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22096
 
echo X$ac_file |
 
23520
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
23521
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23522
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
23523
         X"$_am_arg" : 'X\(//\)$' \| \
 
23524
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
23525
$as_echo X"$_am_arg" |
22097
23526
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22098
23527
            s//\1/
22099
23528
            q
22113
23542
          s/.*/./; q'`/stamp-h$_am_stamp_count
22114
23543
 ;;
22115
23544
 
22116
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22117
 
echo "$as_me: executing $ac_file commands" >&6;}
 
23545
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
23546
$as_echo "$as_me: executing $ac_file commands" >&6;}
22118
23547
 ;;
22119
23548
  esac
22120
23549
 
22121
23550
 
22122
23551
  case $ac_file$ac_mode in
22123
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22124
 
  # Strip MF so we end up with the name of the file.
22125
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
22126
 
  # Check whether this is an Automake generated Makefile or not.
22127
 
  # We used to match only the files named `Makefile.in', but
22128
 
  # some people rename them; so instead we look at the file content.
22129
 
  # Grep'ing the first line is not enough: some people post-process
22130
 
  # each Makefile.in and add a new line on top of each file to say so.
22131
 
  # Grep'ing the whole file is not good either: AIX grep has a line
22132
 
  # limit of 2048, but all sed's we know have understand at least 4000.
22133
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
22134
 
    dirpart=`$as_dirname -- "$mf" ||
 
23552
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
23553
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
23554
  # are listed without --file.  Let's play safe and only enable the eval
 
23555
  # if we detect the quoting.
 
23556
  case $CONFIG_FILES in
 
23557
  *\'*) eval set x "$CONFIG_FILES" ;;
 
23558
  *)   set x $CONFIG_FILES ;;
 
23559
  esac
 
23560
  shift
 
23561
  for mf
 
23562
  do
 
23563
    # Strip MF so we end up with the name of the file.
 
23564
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
23565
    # Check whether this is an Automake generated Makefile or not.
 
23566
    # We used to match only the files named `Makefile.in', but
 
23567
    # some people rename them; so instead we look at the file content.
 
23568
    # Grep'ing the first line is not enough: some people post-process
 
23569
    # each Makefile.in and add a new line on top of each file to say so.
 
23570
    # Grep'ing the whole file is not good either: AIX grep has a line
 
23571
    # limit of 2048, but all sed's we know have understand at least 4000.
 
23572
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
23573
      dirpart=`$as_dirname -- "$mf" ||
22135
23574
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22136
23575
         X"$mf" : 'X\(//\)[^/]' \| \
22137
23576
         X"$mf" : 'X\(//\)$' \| \
22138
23577
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22139
 
echo X"$mf" |
 
23578
$as_echo X"$mf" |
22140
23579
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22141
23580
            s//\1/
22142
23581
            q
22154
23593
            q
22155
23594
          }
22156
23595
          s/.*/./; q'`
22157
 
  else
22158
 
    continue
22159
 
  fi
22160
 
  # Extract the definition of DEPDIR, am__include, and am__quote
22161
 
  # from the Makefile without running `make'.
22162
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22163
 
  test -z "$DEPDIR" && continue
22164
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
22165
 
  test -z "am__include" && continue
22166
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22167
 
  # When using ansi2knr, U may be empty or an underscore; expand it
22168
 
  U=`sed -n 's/^U = //p' < "$mf"`
22169
 
  # Find all dependency output files, they are included files with
22170
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
22171
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
22172
 
  # expansion.
22173
 
  for file in `sed -n "
22174
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22175
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22176
 
    # Make sure the directory exists.
22177
 
    test -f "$dirpart/$file" && continue
22178
 
    fdir=`$as_dirname -- "$file" ||
 
23596
    else
 
23597
      continue
 
23598
    fi
 
23599
    # Extract the definition of DEPDIR, am__include, and am__quote
 
23600
    # from the Makefile without running `make'.
 
23601
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
23602
    test -z "$DEPDIR" && continue
 
23603
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
23604
    test -z "am__include" && continue
 
23605
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
23606
    # When using ansi2knr, U may be empty or an underscore; expand it
 
23607
    U=`sed -n 's/^U = //p' < "$mf"`
 
23608
    # Find all dependency output files, they are included files with
 
23609
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
23610
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
23611
    # expansion.
 
23612
    for file in `sed -n "
 
23613
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
23614
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
23615
      # Make sure the directory exists.
 
23616
      test -f "$dirpart/$file" && continue
 
23617
      fdir=`$as_dirname -- "$file" ||
22179
23618
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22180
23619
         X"$file" : 'X\(//\)[^/]' \| \
22181
23620
         X"$file" : 'X\(//\)$' \| \
22182
23621
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22183
 
echo X"$file" |
 
23622
$as_echo X"$file" |
22184
23623
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22185
23624
            s//\1/
22186
23625
            q
22198
23637
            q
22199
23638
          }
22200
23639
          s/.*/./; q'`
22201
 
    { as_dir=$dirpart/$fdir
 
23640
      { as_dir=$dirpart/$fdir
22202
23641
  case $as_dir in #(
22203
23642
  -*) as_dir=./$as_dir;;
22204
23643
  esac
22206
23645
    as_dirs=
22207
23646
    while :; do
22208
23647
      case $as_dir in #(
22209
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23648
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22210
23649
      *) as_qdir=$as_dir;;
22211
23650
      esac
22212
23651
      as_dirs="'$as_qdir' $as_dirs"
22215
23654
         X"$as_dir" : 'X\(//\)[^/]' \| \
22216
23655
         X"$as_dir" : 'X\(//\)$' \| \
22217
23656
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22218
 
echo X"$as_dir" |
 
23657
$as_echo X"$as_dir" |
22219
23658
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22220
23659
            s//\1/
22221
23660
            q
22236
23675
      test -d "$as_dir" && break
22237
23676
    done
22238
23677
    test -z "$as_dirs" || eval "mkdir $as_dirs"
22239
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22240
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
23678
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23679
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22241
23680
   { (exit 1); exit 1; }; }; }
22242
 
    # echo "creating $dirpart/$file"
22243
 
    echo '# dummy' > "$dirpart/$file"
 
23681
      # echo "creating $dirpart/$file"
 
23682
      echo '# dummy' > "$dirpart/$file"
 
23683
    done
22244
23684
  done
22245
 
done
 
23685
}
22246
23686
 ;;
22247
23687
 
22248
23688
  esac
22254
23694
chmod +x $CONFIG_STATUS
22255
23695
ac_clean_files=$ac_clean_files_save
22256
23696
 
 
23697
test $ac_write_fail = 0 ||
 
23698
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
23699
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
23700
   { (exit 1); exit 1; }; }
 
23701
 
22257
23702
 
22258
23703
# configure is writing to config.log, and then calls config.status.
22259
23704
# config.status does its own redirection, appending to config.log.
22275
23720
  # would make configure fail if this is the last instruction.
22276
23721
  $ac_cs_success || { (exit 1); exit 1; }
22277
23722
fi
 
23723
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
23724
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
23725
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
23726
fi
22278
23727