~ubuntu-branches/ubuntu/karmic/xfce4-session/karmic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2005-11-06 22:01:12 UTC
  • mto: (4.1.1 lenny) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051106220112-5rusox237ymjghsp
Tags: upstream-4.2.3
ImportĀ upstreamĀ versionĀ 4.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
 
2
# From configure.ac Id: configure.ac 18596 2005-11-03 13:26:21Z daichi .
2
3
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.57.
4
 
#
5
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
 
# Free Software Foundation, Inc.
 
4
# Generated by GNU Autoconf 2.59 for xfce4-session 4.2.3.
 
5
#
 
6
# Report bugs to <xfce4-dev@xfce.org>.
 
7
#
 
8
# Copyright (c) 2003-2005
 
9
#         The Xfce development team. All rights reserved.
 
10
#
 
11
# Written for Xfce by Benedikt Meurer <benny@xfce.org>.
 
12
#
 
13
# Copyright (C) 2003 Free Software Foundation, Inc.
7
14
# This configure script is free software; the Free Software Foundation
8
15
# gives unlimited permission to copy, distribute and modify it.
9
16
## --------------------- ##
20
27
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21
28
  set -o posix
22
29
fi
 
30
DUALCASE=1; export DUALCASE # for MKS sh
23
31
 
24
32
# Support unset when possible.
25
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
33
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
34
  as_unset=unset
27
35
else
28
36
  as_unset=false
41
49
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
50
  LC_TELEPHONE LC_TIME
43
51
do
44
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
52
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
53
    eval $as_var=C; export $as_var
46
54
  else
47
55
    $as_unset $as_var
218
226
if mkdir -p . 2>/dev/null; then
219
227
  as_mkdir_p=:
220
228
else
 
229
  test -d ./-p && rmdir ./-p
221
230
  as_mkdir_p=false
222
231
fi
223
232
 
224
233
as_executable_p="test -f"
225
234
 
226
235
# Sed expression to map a string onto a valid CPP name.
227
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
236
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228
237
 
229
238
# Sed expression to map a string onto a valid variable name.
230
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
239
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231
240
 
232
241
 
233
242
# IFS
277
286
 
278
287
# The HP-UX ksh and POSIX shell print the target directory to stdout
279
288
# if CDPATH is set.
280
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
289
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
281
290
 
282
291
if test -z "$ECHO"; then
283
292
if test "X${echo_test_string+set}" != Xset; then
284
293
# find a string as large as possible, as long as the shell can cope with it
285
294
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
286
295
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
287
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
288
 
       echo_test_string="`eval $cmd`" &&
 
296
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
297
       echo_test_string=`eval $cmd` &&
289
298
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
290
299
    then
291
300
      break
418
427
: ${ac_max_here_lines=38}
419
428
 
420
429
# Identity of this package.
421
 
PACKAGE_NAME=
422
 
PACKAGE_TARNAME=
423
 
PACKAGE_VERSION=
424
 
PACKAGE_STRING=
425
 
PACKAGE_BUGREPORT=
 
430
PACKAGE_NAME='xfce4-session'
 
431
PACKAGE_TARNAME='xfce4-session'
 
432
PACKAGE_VERSION='4.2.3'
 
433
PACKAGE_STRING='xfce4-session 4.2.3'
 
434
PACKAGE_BUGREPORT='xfce4-dev@xfce.org'
426
435
 
427
 
ac_unique_file="configure.ac"
428
436
# Factoring default headers for most tests.
429
437
ac_includes_default="\
430
438
#include <stdio.h>
462
470
# include <unistd.h>
463
471
#endif"
464
472
 
465
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBX11_CFLAGS LIBX11_LDFLAGS LIBX11_LIBS LIBSM_CFLAGS LIBSM_LDFLAGS LIBSM_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS localedir PKG_CONFIG LIBXFCE4UTIL_CFLAGS LIBXFCE4UTIL_LIBS LIBXFCE4UTIL_REQUIRED_VERSION LIBXFCE4MCS_CLIENT_CFLAGS LIBXFCE4MCS_CLIENT_LIBS LIBXFCE4MCS_CLIENT_REQUIRED_VERSION LIBXFCEGUI4_CFLAGS LIBXFCEGUI4_LIBS LIBXFCEGUI4_REQUIRED_VERSION XFCE_MCS_MANAGER_CFLAGS XFCE_MCS_MANAGER_LIBS XFCE_MCS_MANAGER_REQUIRED_VERSION XFCE_MCS_MANAGER_PLUGINSDIR LIBOBJS LTLIBOBJS'
 
473
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP HAVE_OS_CYGWIN_TRUE HAVE_OS_CYGWIN_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBX11_CFLAGS LIBX11_LDFLAGS LIBX11_LIBS LIBSM_CFLAGS LIBSM_LDFLAGS LIBSM_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS localedir XGETTEXT_ARGS PKG_CONFIG LIBXFCE4UTIL_VERSION LIBXFCE4UTIL_CFLAGS LIBXFCE4UTIL_LIBS LIBXFCE4UTIL_REQUIRED_VERSION LIBXFCE4MCS_CLIENT_VERSION LIBXFCE4MCS_CLIENT_CFLAGS LIBXFCE4MCS_CLIENT_LIBS LIBXFCE4MCS_CLIENT_REQUIRED_VERSION LIBXFCEGUI4_VERSION LIBXFCEGUI4_CFLAGS LIBXFCEGUI4_LIBS LIBXFCEGUI4_REQUIRED_VERSION XFCE_MCS_MANAGER_VERSION XFCE_MCS_MANAGER_CFLAGS XFCE_MCS_MANAGER_LIBS XFCE_MCS_MANAGER_REQUIRED_VERSION XFCE_MCS_MANAGER_PLUGINSDIR GCONF_VERSION GCONF_CFLAGS GCONF_LIBS GCONF_REQUIRED_VERSION HAVE_GCONF_TRUE HAVE_GCONF_FALSE ICEAUTH RM LIBOBJS LTLIBOBJS'
466
474
ac_subst_files=''
467
475
 
468
476
# Initialize some variables set by options.
821
829
 
822
830
# Be sure to have absolute paths.
823
831
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
824
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
832
              localstatedir libdir includedir oldincludedir infodir mandir
825
833
do
826
834
  eval ac_val=$`echo $ac_var`
827
835
  case $ac_val in
861
869
  # Try the directory containing this script, then its parent.
862
870
  ac_confdir=`(dirname "$0") 2>/dev/null ||
863
871
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
864
 
         X"$0" : 'X\(//\)[^/]' \| \
865
 
         X"$0" : 'X\(//\)$' \| \
866
 
         X"$0" : 'X\(/\)' \| \
867
 
         .     : '\(.\)' 2>/dev/null ||
 
872
         X"$0" : 'X\(//\)[^/]' \| \
 
873
         X"$0" : 'X\(//\)$' \| \
 
874
         X"$0" : 'X\(/\)' \| \
 
875
         .     : '\(.\)' 2>/dev/null ||
868
876
echo X"$0" |
869
877
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
870
878
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
951
959
  # Omit some internal or obsolete options to make the list less imposing.
952
960
  # This message is too long to be a string in the A/UX 3.1 sh.
953
961
  cat <<_ACEOF
954
 
\`configure' configures this package to adapt to many kinds of systems.
 
962
\`configure' configures xfce4-session 4.2.3 to adapt to many kinds of systems.
955
963
 
956
964
Usage: $0 [OPTION]... [VAR=VALUE]...
957
965
 
976
984
  cat <<_ACEOF
977
985
Installation directories:
978
986
  --prefix=PREFIX         install architecture-independent files in PREFIX
979
 
                          [$ac_default_prefix]
 
987
                          [$ac_default_prefix]
980
988
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
981
 
                          [PREFIX]
 
989
                          [PREFIX]
982
990
 
983
991
By default, \`make install' will install all the files in
984
992
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1020
1028
fi
1021
1029
 
1022
1030
if test -n "$ac_init_help"; then
1023
 
 
 
1031
  case $ac_init_help in
 
1032
     short | recursive ) echo "Configuration of xfce4-session 4.2.3:";;
 
1033
   esac
1024
1034
  cat <<\_ACEOF
1025
1035
 
1026
1036
Optional Features:
1027
1037
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1028
1038
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1029
 
  --enable-maintainer-mode enable make rules and dependencies not useful
1030
 
                          (and sometimes confusing) to the casual installer
1031
 
  --disable-dependency-tracking Speeds up one-time builds
1032
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
1039
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1040
                          (and sometimes confusing) to the casual installer
 
1041
  --disable-dependency-tracking  speeds up one-time build
 
1042
  --enable-dependency-tracking   do not reject slow dependency extractors
1033
1043
  --enable-shared[=PKGS]
1034
1044
                          build shared libraries [default=yes]
1035
1045
  --enable-static[=PKGS]
1037
1047
  --enable-fast-install[=PKGS]
1038
1048
                          optimize for fast installation [default=yes]
1039
1049
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1050
  --enable-gconf          Enable checking for Assistive technologies support
 
1051
                          (default=no)
 
1052
  --disable-gconf         Disable checking for Assistive technologies support
1040
1053
  --enable-debug=yes|no|full
1041
1054
                          Build with debugging support
1042
1055
  --disable-debug         Include no debugging support default
1043
1056
  --enable-profiling      Generate extra code to write profile information
1044
1057
  --disable-profiling     No extra code for profiling (default)
1045
 
  --enable-asserts        Enable assert statements (default)
1046
 
  --disable-asserts       Disable assert statements (USE WITH CARE!!!)
 
1058
  --enable-gcov           compile with coverage profiling instrumentation (gcc
 
1059
                          only)
 
1060
  --disable-gcov          do not generate coverage profiling instrumentation
 
1061
                          (default)
 
1062
  --disable-asserts       Disable assertions DANGEROUS
 
1063
  --enable-final          Build final version
 
1064
  --enable-legacy-sm      Enable X11R5 session management
 
1065
  --disable-legacy-sm     Disable X11R5 session management
 
1066
  --enable-session-screenshots
 
1067
                          Create screenshots of sessions on logout
1047
1068
 
1048
1069
Optional Packages:
1049
1070
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1054
1075
  --with-tags[=TAGS]
1055
1076
                          include additional configurations [automatic]
1056
1077
  --with-x                use the X Window System
1057
 
  --with-locales-dir=DIR  Install locales into DIR
 
1078
 
 
1079
      --with-locales-dir=DIR  Install locales into DIR
 
1080
 
 
1081
  --with-shutdown-style=auto/none/sudo
 
1082
                          Shutdown style
1058
1083
 
1059
1084
Some influential environment variables:
1060
1085
  CC          C compiler command
1073
1098
Use these variables to override the choices made by `configure' or to help
1074
1099
it to find libraries and programs with nonstandard names/locations.
1075
1100
 
 
1101
Report bugs to <xfce4-dev@xfce.org>.
1076
1102
_ACEOF
1077
1103
fi
1078
1104
 
1106
1132
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107
1133
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1108
1134
esac
1109
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1110
 
# absolute.
1111
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1112
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1113
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1114
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
1135
 
 
1136
# Do not use `cd foo && pwd` to compute absolute paths, because
 
1137
# the directories may not exist.
 
1138
case `pwd` in
 
1139
.) ac_abs_builddir="$ac_dir";;
 
1140
*)
 
1141
  case "$ac_dir" in
 
1142
  .) ac_abs_builddir=`pwd`;;
 
1143
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
1144
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
1145
  esac;;
 
1146
esac
 
1147
case $ac_abs_builddir in
 
1148
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
1149
*)
 
1150
  case ${ac_top_builddir}. in
 
1151
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
1152
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
1153
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
1154
  esac;;
 
1155
esac
 
1156
case $ac_abs_builddir in
 
1157
.) ac_abs_srcdir=$ac_srcdir;;
 
1158
*)
 
1159
  case $ac_srcdir in
 
1160
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
1161
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
1162
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
1163
  esac;;
 
1164
esac
 
1165
case $ac_abs_builddir in
 
1166
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
1167
*)
 
1168
  case $ac_top_srcdir in
 
1169
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
1170
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
1171
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
1172
  esac;;
 
1173
esac
1115
1174
 
1116
1175
    cd $ac_dir
1117
1176
    # Check for guested configure; otherwise get Cygnus style configure.
1122
1181
      echo
1123
1182
      $SHELL $ac_srcdir/configure  --help=recursive
1124
1183
    elif test -f $ac_srcdir/configure.ac ||
1125
 
           test -f $ac_srcdir/configure.in; then
 
1184
           test -f $ac_srcdir/configure.in; then
1126
1185
      echo
1127
1186
      $ac_configure --help
1128
1187
    else
1135
1194
test -n "$ac_init_help" && exit 0
1136
1195
if $ac_init_version; then
1137
1196
  cat <<\_ACEOF
 
1197
xfce4-session configure 4.2.3
 
1198
generated by GNU Autoconf 2.59
1138
1199
 
1139
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1140
 
Free Software Foundation, Inc.
 
1200
Copyright (C) 2003 Free Software Foundation, Inc.
1141
1201
This configure script is free software; the Free Software Foundation
1142
1202
gives unlimited permission to copy, distribute and modify it.
 
1203
 
 
1204
Copyright (c) 2003-2005
 
1205
        The Xfce development team. All rights reserved.
 
1206
 
 
1207
Written for Xfce by Benedikt Meurer <benny@xfce.org>.
1143
1208
_ACEOF
1144
1209
  exit 0
1145
1210
fi
1148
1213
This file contains any messages produced by compilers while
1149
1214
running configure, to aid debugging if configure makes a mistake.
1150
1215
 
1151
 
It was created by $as_me, which was
1152
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
1216
It was created by xfce4-session $as_me 4.2.3, which was
 
1217
generated by GNU Autoconf 2.59.  Invocation command line was
1153
1218
 
1154
1219
  $ $0 $@
1155
1220
 
1226
1291
    2)
1227
1292
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228
1293
      if test $ac_must_keep_next = true; then
1229
 
        ac_must_keep_next=false # Got value, back to normal.
 
1294
        ac_must_keep_next=false # Got value, back to normal.
1230
1295
      else
1231
 
        case $ac_arg in
1232
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1233
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1236
 
            case "$ac_configure_args0 " in
1237
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238
 
            esac
1239
 
            ;;
1240
 
          -* ) ac_must_keep_next=true ;;
1241
 
        esac
 
1296
        case $ac_arg in
 
1297
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1298
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1299
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1300
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1301
            case "$ac_configure_args0 " in
 
1302
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1303
            esac
 
1304
            ;;
 
1305
          -* ) ac_must_keep_next=true ;;
 
1306
        esac
1242
1307
      fi
1243
1308
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244
1309
      # Get rid of the leading space.
1272
1337
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273
1338
    *ac_space=\ *)
1274
1339
      sed -n \
1275
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1340
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1341
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1277
1342
      ;;
1278
1343
    *)
1279
1344
      sed -n \
1280
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1345
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1281
1346
      ;;
1282
1347
    esac;
1283
1348
}
1306
1371
      for ac_var in $ac_subst_files
1307
1372
      do
1308
1373
        eval ac_val=$`echo $ac_var`
1309
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1374
        echo "$ac_var='"'"'$ac_val'"'"'"
1310
1375
      done | sort
1311
1376
      echo
1312
1377
    fi
1325
1390
      echo "$as_me: caught signal $ac_signal"
1326
1391
    echo "$as_me: exit $exit_status"
1327
1392
  } >&5
1328
 
  rm -f core core.* *.core &&
 
1393
  rm -f core *.core &&
1329
1394
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330
1395
    exit $exit_status
1331
1396
     ' 0
1405
1470
# value.
1406
1471
ac_cache_corrupted=false
1407
1472
for ac_var in `(set) 2>&1 |
1408
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1473
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409
1474
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410
1475
  eval ac_new_set=\$ac_env_${ac_var}_set
1411
1476
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1422
1487
    ,);;
1423
1488
    *)
1424
1489
      if test "x$ac_old_val" != "x$ac_new_val"; then
1425
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1490
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1426
1491
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1427
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1492
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1428
1493
echo "$as_me:   former value:  $ac_old_val" >&2;}
1429
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1494
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1430
1495
echo "$as_me:   current value: $ac_new_val" >&2;}
1431
 
        ac_cache_corrupted=:
 
1496
        ac_cache_corrupted=:
1432
1497
      fi;;
1433
1498
  esac
1434
1499
  # Pass precious variables to config.status.
1477
1542
 
1478
1543
 
1479
1544
 
1480
 
          ac_config_headers="$ac_config_headers config.h"
1481
 
 
1482
 
 
1483
 
am__api_version="1.7"
 
1545
 
 
1546
 
 
1547
 
 
1548
 
 
1549
 
 
1550
 
 
1551
 
 
1552
 
 
1553
 
 
1554
 
 
1555
XFSM_VERSION=4.2.3
 
1556
am__api_version="1.9"
1484
1557
ac_aux_dir=
1485
1558
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1486
1559
  if test -f $ac_dir/install-sh; then
1517
1590
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1518
1591
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1519
1592
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1593
# OS/2's system install, which has a completely different semantic
1520
1594
# ./install, which can be erroneously created by make from ./install.sh.
1521
1595
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1522
1596
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1533
1607
case $as_dir/ in
1534
1608
  ./ | .// | /cC/* | \
1535
1609
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1610
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1536
1611
  /usr/ucb/* ) ;;
1537
1612
  *)
1538
1613
    # OSF1 and SCO ODT 3.0 have their own names for install.
1540
1615
    # by default.
1541
1616
    for ac_prog in ginstall scoinst install; do
1542
1617
      for ac_exec_ext in '' $ac_executable_extensions; do
1543
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1544
 
          if test $ac_prog = install &&
1545
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1546
 
            # AIX install.  It has an incompatible calling convention.
1547
 
            :
1548
 
          elif test $ac_prog = install &&
1549
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1550
 
            # program-specific install script used by HP pwplus--don't use.
1551
 
            :
1552
 
          else
1553
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1554
 
            break 3
1555
 
          fi
1556
 
        fi
 
1618
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1619
          if test $ac_prog = install &&
 
1620
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1621
            # AIX install.  It has an incompatible calling convention.
 
1622
            :
 
1623
          elif test $ac_prog = install &&
 
1624
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1625
            # program-specific install script used by HP pwplus--don't use.
 
1626
            :
 
1627
          else
 
1628
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1629
            break 3
 
1630
          fi
 
1631
        fi
1557
1632
      done
1558
1633
    done
1559
1634
    ;;
1641
1716
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1642
1717
rm conftest.sed
1643
1718
 
1644
 
 
1645
1719
# expand $ac_aux_dir to an absolute path
1646
1720
am_aux_dir=`cd $ac_aux_dir && pwd`
1647
1721
 
1655
1729
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1656
1730
fi
1657
1731
 
 
1732
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1733
  # We used to keeping the `.' as first argument, in order to
 
1734
  # allow $(mkdir_p) to be used without argument.  As in
 
1735
  #   $(mkdir_p) $(somedir)
 
1736
  # where $(somedir) is conditionally defined.  However this is wrong
 
1737
  # for two reasons:
 
1738
  #  1. if the package is installed by a user who cannot write `.'
 
1739
  #     make install will fail,
 
1740
  #  2. the above comment should most certainly read
 
1741
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
1742
  #     so it does not work when $(somedir) is undefined and
 
1743
  #     $(DESTDIR) is not.
 
1744
  #  To support the latter case, we have to write
 
1745
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
1746
  #  so the `.' trick is pointless.
 
1747
  mkdir_p='mkdir -p --'
 
1748
else
 
1749
  # On NextStep and OpenStep, the `mkdir' command does not
 
1750
  # recognize any option.  It will interpret all options as
 
1751
  # directories to create, and then abort because `.' already
 
1752
  # exists.
 
1753
  for d in ./-p ./--version;
 
1754
  do
 
1755
    test -d $d && rmdir $d
 
1756
  done
 
1757
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1758
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1759
    mkdir_p='$(mkinstalldirs)'
 
1760
  else
 
1761
    mkdir_p='$(install_sh) -d'
 
1762
  fi
 
1763
fi
 
1764
 
1658
1765
for ac_prog in gawk mawk nawk awk
1659
1766
do
1660
1767
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1697
1804
 
1698
1805
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1699
1806
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1700
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1807
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1701
1808
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1702
1809
  echo $ECHO_N "(cached) $ECHO_C" >&6
1703
1810
else
1733
1840
fi
1734
1841
rmdir .tst 2>/dev/null
1735
1842
 
1736
 
 # test to see if srcdir already configured
 
1843
# test to see if srcdir already configured
1737
1844
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1738
1845
   test -f $srcdir/config.status; then
1739
1846
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1753
1860
 
1754
1861
# Define the identity of the package.
1755
1862
 PACKAGE=xfce4-session
1756
 
 VERSION=0.1.3
 
1863
 VERSION=$XFSM_VERSION
1757
1864
 
1758
1865
 
1759
1866
cat >>confdefs.h <<_ACEOF
1781
1888
 
1782
1889
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1783
1890
 
1784
 
 
1785
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1786
 
 
1787
1891
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1788
1892
 
1789
1893
# Installed binaries are usually stripped using `strip' when the user
1876
1980
 
1877
1981
# We need awk for the "check" target.  The system "awk" is bad on
1878
1982
# some platforms.
1879
 
 
1880
 
 
1881
 
 
 
1983
# Always define AMTAR for backward compatibility.
 
1984
 
 
1985
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1986
 
 
1987
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
1988
 
 
1989
 
 
1990
 
 
1991
 
 
1992
 
 
1993
          ac_config_headers="$ac_config_headers config.h"
1882
1994
 
1883
1995
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1884
1996
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2306
2418
  (exit $ac_status); }
2307
2419
 
2308
2420
cat >conftest.$ac_ext <<_ACEOF
2309
 
#line $LINENO "configure"
2310
2421
/* confdefs.h.  */
2311
2422
_ACEOF
2312
2423
cat confdefs.h >>conftest.$ac_ext
2326
2437
# Try to create an executable without -o first, disregard a.out.
2327
2438
# It will help us diagnose broken compilers, and finding out an intuition
2328
2439
# of exeext.
2329
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2330
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2440
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2441
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2331
2442
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2332
2443
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2333
2444
  (eval $ac_link_default) 2>&5
2347
2458
  test -f "$ac_file" || continue
2348
2459
  case $ac_file in
2349
2460
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2350
 
        ;;
 
2461
        ;;
2351
2462
    conftest.$ac_ext )
2352
 
        # This is the source file.
2353
 
        ;;
 
2463
        # This is the source file.
 
2464
        ;;
2354
2465
    [ab].out )
2355
 
        # We found the default executable, but exeext='' is most
2356
 
        # certainly right.
2357
 
        break;;
 
2466
        # We found the default executable, but exeext='' is most
 
2467
        # certainly right.
 
2468
        break;;
2358
2469
    *.* )
2359
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2360
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2361
 
        # but it would be cool to find out if it's true.  Does anybody
2362
 
        # maintain Libtool? --akim.
2363
 
        export ac_cv_exeext
2364
 
        break;;
 
2470
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2471
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2472
        # but it would be cool to find out if it's true.  Does anybody
 
2473
        # maintain Libtool? --akim.
 
2474
        export ac_cv_exeext
 
2475
        break;;
2365
2476
    * )
2366
 
        break;;
 
2477
        break;;
2367
2478
  esac
2368
2479
done
2369
2480
else
2437
2548
  case $ac_file in
2438
2549
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2439
2550
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2440
 
          export ac_cv_exeext
2441
 
          break;;
 
2551
          export ac_cv_exeext
 
2552
          break;;
2442
2553
    * ) break;;
2443
2554
  esac
2444
2555
done
2463
2574
  echo $ECHO_N "(cached) $ECHO_C" >&6
2464
2575
else
2465
2576
  cat >conftest.$ac_ext <<_ACEOF
2466
 
#line $LINENO "configure"
2467
2577
/* confdefs.h.  */
2468
2578
_ACEOF
2469
2579
cat confdefs.h >>conftest.$ac_ext
2514
2624
  echo $ECHO_N "(cached) $ECHO_C" >&6
2515
2625
else
2516
2626
  cat >conftest.$ac_ext <<_ACEOF
2517
 
#line $LINENO "configure"
2518
2627
/* confdefs.h.  */
2519
2628
_ACEOF
2520
2629
cat confdefs.h >>conftest.$ac_ext
2534
2643
_ACEOF
2535
2644
rm -f conftest.$ac_objext
2536
2645
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2537
 
  (eval $ac_compile) 2>&5
 
2646
  (eval $ac_compile) 2>conftest.er1
2538
2647
  ac_status=$?
 
2648
  grep -v '^ *+' conftest.er1 >conftest.err
 
2649
  rm -f conftest.er1
 
2650
  cat conftest.err >&5
2539
2651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540
2652
  (exit $ac_status); } &&
2541
 
         { ac_try='test -s conftest.$ac_objext'
 
2653
         { ac_try='test -z "$ac_c_werror_flag"
 
2654
                         || test ! -s conftest.err'
 
2655
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2656
  (eval $ac_try) 2>&5
 
2657
  ac_status=$?
 
2658
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2659
  (exit $ac_status); }; } &&
 
2660
         { ac_try='test -s conftest.$ac_objext'
2542
2661
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543
2662
  (eval $ac_try) 2>&5
2544
2663
  ac_status=$?
2551
2670
 
2552
2671
ac_compiler_gnu=no
2553
2672
fi
2554
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2673
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2555
2674
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2556
2675
 
2557
2676
fi
2567
2686
  echo $ECHO_N "(cached) $ECHO_C" >&6
2568
2687
else
2569
2688
  cat >conftest.$ac_ext <<_ACEOF
2570
 
#line $LINENO "configure"
2571
2689
/* confdefs.h.  */
2572
2690
_ACEOF
2573
2691
cat confdefs.h >>conftest.$ac_ext
2584
2702
_ACEOF
2585
2703
rm -f conftest.$ac_objext
2586
2704
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587
 
  (eval $ac_compile) 2>&5
 
2705
  (eval $ac_compile) 2>conftest.er1
2588
2706
  ac_status=$?
 
2707
  grep -v '^ *+' conftest.er1 >conftest.err
 
2708
  rm -f conftest.er1
 
2709
  cat conftest.err >&5
2589
2710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590
2711
  (exit $ac_status); } &&
2591
 
         { ac_try='test -s conftest.$ac_objext'
 
2712
         { ac_try='test -z "$ac_c_werror_flag"
 
2713
                         || test ! -s conftest.err'
 
2714
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2715
  (eval $ac_try) 2>&5
 
2716
  ac_status=$?
 
2717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2718
  (exit $ac_status); }; } &&
 
2719
         { ac_try='test -s conftest.$ac_objext'
2592
2720
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593
2721
  (eval $ac_try) 2>&5
2594
2722
  ac_status=$?
2601
2729
 
2602
2730
ac_cv_prog_cc_g=no
2603
2731
fi
2604
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2732
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2605
2733
fi
2606
2734
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2607
2735
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2628
2756
  ac_cv_prog_cc_stdc=no
2629
2757
ac_save_CC=$CC
2630
2758
cat >conftest.$ac_ext <<_ACEOF
2631
 
#line $LINENO "configure"
2632
2759
/* confdefs.h.  */
2633
2760
_ACEOF
2634
2761
cat confdefs.h >>conftest.$ac_ext
2656
2783
  va_end (v);
2657
2784
  return s;
2658
2785
}
 
2786
 
 
2787
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2788
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2789
   These don't provoke an error unfortunately, instead are silently treated
 
2790
   as 'x'.  The following induces an error, until -std1 is added to get
 
2791
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2792
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2793
   that's true only with -std1.  */
 
2794
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2795
 
2659
2796
int test (int i, double x);
2660
2797
struct s1 {int (*f) (int a);};
2661
2798
struct s2 {int (*f) (double a);};
2682
2819
  CC="$ac_save_CC $ac_arg"
2683
2820
  rm -f conftest.$ac_objext
2684
2821
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2685
 
  (eval $ac_compile) 2>&5
 
2822
  (eval $ac_compile) 2>conftest.er1
2686
2823
  ac_status=$?
 
2824
  grep -v '^ *+' conftest.er1 >conftest.err
 
2825
  rm -f conftest.er1
 
2826
  cat conftest.err >&5
2687
2827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688
2828
  (exit $ac_status); } &&
2689
 
         { ac_try='test -s conftest.$ac_objext'
 
2829
         { ac_try='test -z "$ac_c_werror_flag"
 
2830
                         || test ! -s conftest.err'
 
2831
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2832
  (eval $ac_try) 2>&5
 
2833
  ac_status=$?
 
2834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2835
  (exit $ac_status); }; } &&
 
2836
         { ac_try='test -s conftest.$ac_objext'
2690
2837
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691
2838
  (eval $ac_try) 2>&5
2692
2839
  ac_status=$?
2699
2846
sed 's/^/| /' conftest.$ac_ext >&5
2700
2847
 
2701
2848
fi
2702
 
rm -f conftest.$ac_objext
 
2849
rm -f conftest.err conftest.$ac_objext
2703
2850
done
2704
2851
rm -f conftest.$ac_ext conftest.$ac_objext
2705
2852
CC=$ac_save_CC
2727
2874
_ACEOF
2728
2875
rm -f conftest.$ac_objext
2729
2876
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2730
 
  (eval $ac_compile) 2>&5
 
2877
  (eval $ac_compile) 2>conftest.er1
2731
2878
  ac_status=$?
 
2879
  grep -v '^ *+' conftest.er1 >conftest.err
 
2880
  rm -f conftest.er1
 
2881
  cat conftest.err >&5
2732
2882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733
2883
  (exit $ac_status); } &&
2734
 
         { ac_try='test -s conftest.$ac_objext'
 
2884
         { ac_try='test -z "$ac_c_werror_flag"
 
2885
                         || test ! -s conftest.err'
 
2886
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2887
  (eval $ac_try) 2>&5
 
2888
  ac_status=$?
 
2889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2890
  (exit $ac_status); }; } &&
 
2891
         { ac_try='test -s conftest.$ac_objext'
2735
2892
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736
2893
  (eval $ac_try) 2>&5
2737
2894
  ac_status=$?
2738
2895
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739
2896
  (exit $ac_status); }; }; then
2740
2897
  for ac_declaration in \
2741
 
   ''\
2742
 
   '#include <stdlib.h>' \
 
2898
   '' \
2743
2899
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2744
2900
   'extern "C" void std::exit (int); using std::exit;' \
2745
2901
   'extern "C" void exit (int) throw ();' \
2747
2903
   'void exit (int);'
2748
2904
do
2749
2905
  cat >conftest.$ac_ext <<_ACEOF
2750
 
#line $LINENO "configure"
2751
2906
/* confdefs.h.  */
2752
2907
_ACEOF
2753
2908
cat confdefs.h >>conftest.$ac_ext
2754
2909
cat >>conftest.$ac_ext <<_ACEOF
2755
2910
/* end confdefs.h.  */
 
2911
$ac_declaration
2756
2912
#include <stdlib.h>
2757
 
$ac_declaration
2758
2913
int
2759
2914
main ()
2760
2915
{
2765
2920
_ACEOF
2766
2921
rm -f conftest.$ac_objext
2767
2922
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2768
 
  (eval $ac_compile) 2>&5
 
2923
  (eval $ac_compile) 2>conftest.er1
2769
2924
  ac_status=$?
 
2925
  grep -v '^ *+' conftest.er1 >conftest.err
 
2926
  rm -f conftest.er1
 
2927
  cat conftest.err >&5
2770
2928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771
2929
  (exit $ac_status); } &&
2772
 
         { ac_try='test -s conftest.$ac_objext'
 
2930
         { ac_try='test -z "$ac_c_werror_flag"
 
2931
                         || test ! -s conftest.err'
 
2932
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2933
  (eval $ac_try) 2>&5
 
2934
  ac_status=$?
 
2935
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2936
  (exit $ac_status); }; } &&
 
2937
         { ac_try='test -s conftest.$ac_objext'
2773
2938
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774
2939
  (eval $ac_try) 2>&5
2775
2940
  ac_status=$?
2782
2947
 
2783
2948
continue
2784
2949
fi
2785
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2950
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2786
2951
  cat >conftest.$ac_ext <<_ACEOF
2787
 
#line $LINENO "configure"
2788
2952
/* confdefs.h.  */
2789
2953
_ACEOF
2790
2954
cat confdefs.h >>conftest.$ac_ext
2801
2965
_ACEOF
2802
2966
rm -f conftest.$ac_objext
2803
2967
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804
 
  (eval $ac_compile) 2>&5
 
2968
  (eval $ac_compile) 2>conftest.er1
2805
2969
  ac_status=$?
 
2970
  grep -v '^ *+' conftest.er1 >conftest.err
 
2971
  rm -f conftest.er1
 
2972
  cat conftest.err >&5
2806
2973
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807
2974
  (exit $ac_status); } &&
2808
 
         { ac_try='test -s conftest.$ac_objext'
 
2975
         { ac_try='test -z "$ac_c_werror_flag"
 
2976
                         || test ! -s conftest.err'
 
2977
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2978
  (eval $ac_try) 2>&5
 
2979
  ac_status=$?
 
2980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2981
  (exit $ac_status); }; } &&
 
2982
         { ac_try='test -s conftest.$ac_objext'
2809
2983
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810
2984
  (eval $ac_try) 2>&5
2811
2985
  ac_status=$?
2817
2991
sed 's/^/| /' conftest.$ac_ext >&5
2818
2992
 
2819
2993
fi
2820
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2994
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2821
2995
done
2822
2996
rm -f conftest*
2823
2997
if test -n "$ac_declaration"; then
2831
3005
sed 's/^/| /' conftest.$ac_ext >&5
2832
3006
 
2833
3007
fi
2834
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3008
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2835
3009
ac_ext=c
2836
3010
ac_cpp='$CPP $CPPFLAGS'
2837
3011
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2879
3053
    : > sub/conftest.c
2880
3054
    for i in 1 2 3 4 5 6; do
2881
3055
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2882
 
      : > sub/conftst$i.h
 
3056
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3057
      # Solaris 8's {/usr,}/bin/sh.
 
3058
      touch sub/conftst$i.h
2883
3059
    done
2884
3060
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2885
3061
 
2907
3083
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2908
3084
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2909
3085
      # icc doesn't choke on unknown options, it will just issue warnings
2910
 
      # (even with -Werror).  So we grep stderr for any message
2911
 
      # that says an option was ignored.
2912
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
3086
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3087
      # that says an option was ignored or not supported.
 
3088
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3089
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3090
      # The diagnosis changed in icc 8.0:
 
3091
      #   icc: Command line remark: option '-MP' not supported
 
3092
      if (grep 'ignoring option' conftest.err ||
 
3093
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2913
3094
        am_cv_CC_dependencies_compiler_type=$depmode
2914
3095
        break
2915
3096
      fi
2969
3150
  # On the NeXT, cc -E runs the code through the compiler's parser,
2970
3151
  # not just through cpp. "Syntax error" is here to catch this case.
2971
3152
  cat >conftest.$ac_ext <<_ACEOF
2972
 
#line $LINENO "configure"
2973
3153
/* confdefs.h.  */
2974
3154
_ACEOF
2975
3155
cat confdefs.h >>conftest.$ac_ext
2980
3160
#else
2981
3161
# include <assert.h>
2982
3162
#endif
2983
 
                     Syntax error
 
3163
                     Syntax error
2984
3164
_ACEOF
2985
3165
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2986
3166
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2992
3172
  (exit $ac_status); } >/dev/null; then
2993
3173
  if test -s conftest.err; then
2994
3174
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3175
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2995
3176
  else
2996
3177
    ac_cpp_err=
2997
3178
  fi
3012
3193
  # OK, works on sane cases.  Now check whether non-existent headers
3013
3194
  # can be detected and how.
3014
3195
  cat >conftest.$ac_ext <<_ACEOF
3015
 
#line $LINENO "configure"
3016
3196
/* confdefs.h.  */
3017
3197
_ACEOF
3018
3198
cat confdefs.h >>conftest.$ac_ext
3030
3210
  (exit $ac_status); } >/dev/null; then
3031
3211
  if test -s conftest.err; then
3032
3212
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3213
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3033
3214
  else
3034
3215
    ac_cpp_err=
3035
3216
  fi
3076
3257
  # On the NeXT, cc -E runs the code through the compiler's parser,
3077
3258
  # not just through cpp. "Syntax error" is here to catch this case.
3078
3259
  cat >conftest.$ac_ext <<_ACEOF
3079
 
#line $LINENO "configure"
3080
3260
/* confdefs.h.  */
3081
3261
_ACEOF
3082
3262
cat confdefs.h >>conftest.$ac_ext
3087
3267
#else
3088
3268
# include <assert.h>
3089
3269
#endif
3090
 
                     Syntax error
 
3270
                     Syntax error
3091
3271
_ACEOF
3092
3272
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3093
3273
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3099
3279
  (exit $ac_status); } >/dev/null; then
3100
3280
  if test -s conftest.err; then
3101
3281
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3282
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3102
3283
  else
3103
3284
    ac_cpp_err=
3104
3285
  fi
3119
3300
  # OK, works on sane cases.  Now check whether non-existent headers
3120
3301
  # can be detected and how.
3121
3302
  cat >conftest.$ac_ext <<_ACEOF
3122
 
#line $LINENO "configure"
3123
3303
/* confdefs.h.  */
3124
3304
_ACEOF
3125
3305
cat confdefs.h >>conftest.$ac_ext
3137
3317
  (exit $ac_status); } >/dev/null; then
3138
3318
  if test -s conftest.err; then
3139
3319
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3320
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3140
3321
  else
3141
3322
    ac_cpp_err=
3142
3323
  fi
3195
3376
echo "$as_me:$LINENO: checking for AIX" >&5
3196
3377
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3197
3378
cat >conftest.$ac_ext <<_ACEOF
3198
 
#line $LINENO "configure"
3199
3379
/* confdefs.h.  */
3200
3380
_ACEOF
3201
3381
cat confdefs.h >>conftest.$ac_ext
3229
3409
  ac_func_search_save_LIBS=$LIBS
3230
3410
ac_cv_search_strerror=no
3231
3411
cat >conftest.$ac_ext <<_ACEOF
3232
 
#line $LINENO "configure"
3233
3412
/* confdefs.h.  */
3234
3413
_ACEOF
3235
3414
cat confdefs.h >>conftest.$ac_ext
3253
3432
_ACEOF
3254
3433
rm -f conftest.$ac_objext conftest$ac_exeext
3255
3434
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3256
 
  (eval $ac_link) 2>&5
 
3435
  (eval $ac_link) 2>conftest.er1
3257
3436
  ac_status=$?
 
3437
  grep -v '^ *+' conftest.er1 >conftest.err
 
3438
  rm -f conftest.er1
 
3439
  cat conftest.err >&5
3258
3440
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259
3441
  (exit $ac_status); } &&
3260
 
         { ac_try='test -s conftest$ac_exeext'
 
3442
         { ac_try='test -z "$ac_c_werror_flag"
 
3443
                         || test ! -s conftest.err'
 
3444
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3445
  (eval $ac_try) 2>&5
 
3446
  ac_status=$?
 
3447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3448
  (exit $ac_status); }; } &&
 
3449
         { ac_try='test -s conftest$ac_exeext'
3261
3450
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3262
3451
  (eval $ac_try) 2>&5
3263
3452
  ac_status=$?
3269
3458
sed 's/^/| /' conftest.$ac_ext >&5
3270
3459
 
3271
3460
fi
3272
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3461
rm -f conftest.err conftest.$ac_objext \
 
3462
      conftest$ac_exeext conftest.$ac_ext
3273
3463
if test "$ac_cv_search_strerror" = no; then
3274
3464
  for ac_lib in cposix; do
3275
3465
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3276
3466
    cat >conftest.$ac_ext <<_ACEOF
3277
 
#line $LINENO "configure"
3278
3467
/* confdefs.h.  */
3279
3468
_ACEOF
3280
3469
cat confdefs.h >>conftest.$ac_ext
3298
3487
_ACEOF
3299
3488
rm -f conftest.$ac_objext conftest$ac_exeext
3300
3489
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3301
 
  (eval $ac_link) 2>&5
 
3490
  (eval $ac_link) 2>conftest.er1
3302
3491
  ac_status=$?
 
3492
  grep -v '^ *+' conftest.er1 >conftest.err
 
3493
  rm -f conftest.er1
 
3494
  cat conftest.err >&5
3303
3495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304
3496
  (exit $ac_status); } &&
3305
 
         { ac_try='test -s conftest$ac_exeext'
 
3497
         { ac_try='test -z "$ac_c_werror_flag"
 
3498
                         || test ! -s conftest.err'
 
3499
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3500
  (eval $ac_try) 2>&5
 
3501
  ac_status=$?
 
3502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3503
  (exit $ac_status); }; } &&
 
3504
         { ac_try='test -s conftest$ac_exeext'
3306
3505
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307
3506
  (eval $ac_try) 2>&5
3308
3507
  ac_status=$?
3315
3514
sed 's/^/| /' conftest.$ac_ext >&5
3316
3515
 
3317
3516
fi
3318
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3517
rm -f conftest.err conftest.$ac_objext \
 
3518
      conftest$ac_exeext conftest.$ac_ext
3319
3519
  done
3320
3520
fi
3321
3521
LIBS=$ac_func_search_save_LIBS
3333
3533
  echo $ECHO_N "(cached) $ECHO_C" >&6
3334
3534
else
3335
3535
  cat >conftest.$ac_ext <<_ACEOF
3336
 
#line $LINENO "configure"
3337
3536
/* confdefs.h.  */
3338
3537
_ACEOF
3339
3538
cat confdefs.h >>conftest.$ac_ext
3354
3553
_ACEOF
3355
3554
rm -f conftest.$ac_objext
3356
3555
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3357
 
  (eval $ac_compile) 2>&5
 
3556
  (eval $ac_compile) 2>conftest.er1
3358
3557
  ac_status=$?
 
3558
  grep -v '^ *+' conftest.er1 >conftest.err
 
3559
  rm -f conftest.er1
 
3560
  cat conftest.err >&5
3359
3561
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360
3562
  (exit $ac_status); } &&
3361
 
         { ac_try='test -s conftest.$ac_objext'
 
3563
         { ac_try='test -z "$ac_c_werror_flag"
 
3564
                         || test ! -s conftest.err'
 
3565
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3566
  (eval $ac_try) 2>&5
 
3567
  ac_status=$?
 
3568
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3569
  (exit $ac_status); }; } &&
 
3570
         { ac_try='test -s conftest.$ac_objext'
3362
3571
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3363
3572
  (eval $ac_try) 2>&5
3364
3573
  ac_status=$?
3371
3580
 
3372
3581
ac_cv_header_stdc=no
3373
3582
fi
3374
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3583
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3375
3584
 
3376
3585
if test $ac_cv_header_stdc = yes; then
3377
3586
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3378
3587
  cat >conftest.$ac_ext <<_ACEOF
3379
 
#line $LINENO "configure"
3380
3588
/* confdefs.h.  */
3381
3589
_ACEOF
3382
3590
cat confdefs.h >>conftest.$ac_ext
3398
3606
if test $ac_cv_header_stdc = yes; then
3399
3607
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3400
3608
  cat >conftest.$ac_ext <<_ACEOF
3401
 
#line $LINENO "configure"
3402
3609
/* confdefs.h.  */
3403
3610
_ACEOF
3404
3611
cat confdefs.h >>conftest.$ac_ext
3423
3630
  :
3424
3631
else
3425
3632
  cat >conftest.$ac_ext <<_ACEOF
3426
 
#line $LINENO "configure"
3427
3633
/* confdefs.h.  */
3428
3634
_ACEOF
3429
3635
cat confdefs.h >>conftest.$ac_ext
3435
3641
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3436
3642
#else
3437
3643
# define ISLOWER(c) \
3438
 
                   (('a' <= (c) && (c) <= 'i') \
3439
 
                     || ('j' <= (c) && (c) <= 'r') \
3440
 
                     || ('s' <= (c) && (c) <= 'z'))
 
3644
                   (('a' <= (c) && (c) <= 'i') \
 
3645
                     || ('j' <= (c) && (c) <= 'r') \
 
3646
                     || ('s' <= (c) && (c) <= 'z'))
3441
3647
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3442
3648
#endif
3443
3649
 
3448
3654
  int i;
3449
3655
  for (i = 0; i < 256; i++)
3450
3656
    if (XOR (islower (i), ISLOWER (i))
3451
 
        || toupper (i) != TOUPPER (i))
 
3657
        || toupper (i) != TOUPPER (i))
3452
3658
      exit(2);
3453
3659
  exit (0);
3454
3660
}
3473
3679
( exit $ac_status )
3474
3680
ac_cv_header_stdc=no
3475
3681
fi
3476
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3682
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3477
3683
fi
3478
3684
fi
3479
3685
fi
3498
3704
 
3499
3705
 
3500
3706
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3501
 
                  inttypes.h stdint.h unistd.h
 
3707
                  inttypes.h stdint.h unistd.h
3502
3708
do
3503
3709
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3504
3710
echo "$as_me:$LINENO: checking for $ac_header" >&5
3507
3713
  echo $ECHO_N "(cached) $ECHO_C" >&6
3508
3714
else
3509
3715
  cat >conftest.$ac_ext <<_ACEOF
3510
 
#line $LINENO "configure"
3511
3716
/* confdefs.h.  */
3512
3717
_ACEOF
3513
3718
cat confdefs.h >>conftest.$ac_ext
3519
3724
_ACEOF
3520
3725
rm -f conftest.$ac_objext
3521
3726
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3522
 
  (eval $ac_compile) 2>&5
 
3727
  (eval $ac_compile) 2>conftest.er1
3523
3728
  ac_status=$?
 
3729
  grep -v '^ *+' conftest.er1 >conftest.err
 
3730
  rm -f conftest.er1
 
3731
  cat conftest.err >&5
3524
3732
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525
3733
  (exit $ac_status); } &&
3526
 
         { ac_try='test -s conftest.$ac_objext'
 
3734
         { ac_try='test -z "$ac_c_werror_flag"
 
3735
                         || test ! -s conftest.err'
 
3736
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3737
  (eval $ac_try) 2>&5
 
3738
  ac_status=$?
 
3739
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3740
  (exit $ac_status); }; } &&
 
3741
         { ac_try='test -s conftest.$ac_objext'
3527
3742
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3528
3743
  (eval $ac_try) 2>&5
3529
3744
  ac_status=$?
3536
3751
 
3537
3752
eval "$as_ac_Header=no"
3538
3753
fi
3539
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3754
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3540
3755
fi
3541
3756
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3542
3757
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3563
3778
echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3564
3779
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3565
3780
cat >conftest.$ac_ext <<_ACEOF
3566
 
#line $LINENO "configure"
3567
3781
/* confdefs.h.  */
3568
3782
_ACEOF
3569
3783
cat confdefs.h >>conftest.$ac_ext
3574
3788
_ACEOF
3575
3789
rm -f conftest.$ac_objext
3576
3790
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3577
 
  (eval $ac_compile) 2>&5
 
3791
  (eval $ac_compile) 2>conftest.er1
3578
3792
  ac_status=$?
 
3793
  grep -v '^ *+' conftest.er1 >conftest.err
 
3794
  rm -f conftest.er1
 
3795
  cat conftest.err >&5
3579
3796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580
3797
  (exit $ac_status); } &&
3581
 
         { ac_try='test -s conftest.$ac_objext'
 
3798
         { ac_try='test -z "$ac_c_werror_flag"
 
3799
                         || test ! -s conftest.err'
 
3800
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3801
  (eval $ac_try) 2>&5
 
3802
  ac_status=$?
 
3803
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3804
  (exit $ac_status); }; } &&
 
3805
         { ac_try='test -s conftest.$ac_objext'
3582
3806
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3583
3807
  (eval $ac_try) 2>&5
3584
3808
  ac_status=$?
3591
3815
 
3592
3816
ac_header_compiler=no
3593
3817
fi
3594
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3818
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3595
3819
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3596
3820
echo "${ECHO_T}$ac_header_compiler" >&6
3597
3821
 
3599
3823
echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3600
3824
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3601
3825
cat >conftest.$ac_ext <<_ACEOF
3602
 
#line $LINENO "configure"
3603
3826
/* confdefs.h.  */
3604
3827
_ACEOF
3605
3828
cat confdefs.h >>conftest.$ac_ext
3617
3840
  (exit $ac_status); } >/dev/null; then
3618
3841
  if test -s conftest.err; then
3619
3842
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3843
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3620
3844
  else
3621
3845
    ac_cpp_err=
3622
3846
  fi
3636
3860
echo "${ECHO_T}$ac_header_preproc" >&6
3637
3861
 
3638
3862
# So?  What about this header?
3639
 
case $ac_header_compiler:$ac_header_preproc in
3640
 
  yes:no )
 
3863
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3864
  yes:no: )
3641
3865
    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3642
3866
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3643
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3644
 
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3645
 
    (
3646
 
      cat <<\_ASBOX
3647
 
## ------------------------------------ ##
3648
 
## Report this to bug-autoconf@gnu.org. ##
3649
 
## ------------------------------------ ##
3650
 
_ASBOX
3651
 
    ) |
3652
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3867
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
 
3868
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
 
3869
    ac_header_preproc=yes
3653
3870
    ;;
3654
 
  no:yes )
 
3871
  no:yes:* )
3655
3872
    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3656
3873
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3657
 
    { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3658
 
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
 
3874
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
 
3875
echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
 
3876
    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
 
3877
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
 
3878
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
 
3879
echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
3659
3880
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3660
3881
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
 
3882
    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
 
3883
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3661
3884
    (
3662
3885
      cat <<\_ASBOX
3663
 
## ------------------------------------ ##
3664
 
## Report this to bug-autoconf@gnu.org. ##
3665
 
## ------------------------------------ ##
 
3886
## --------------------------------- ##
 
3887
## Report this to xfce4-dev@xfce.org ##
 
3888
## --------------------------------- ##
3666
3889
_ASBOX
3667
3890
    ) |
3668
3891
      sed "s/^/$as_me: WARNING:     /" >&2
3705
3928
fi
3706
3929
 
3707
3930
 
 
3931
 
 
3932
if test x"`uname | grep \"CYGWIN\"`" != x""; then
 
3933
  HAVE_OS_CYGWIN_TRUE=
 
3934
  HAVE_OS_CYGWIN_FALSE='#'
 
3935
else
 
3936
  HAVE_OS_CYGWIN_TRUE='#'
 
3937
  HAVE_OS_CYGWIN_FALSE=
 
3938
fi
 
3939
 
 
3940
if test x"`uname | grep \"CYGWIN\"`" != x""; then
 
3941
 
 
3942
cat >>confdefs.h <<\_ACEOF
 
3943
#define HAVE_OS_CYGWIN 1
 
3944
_ACEOF
 
3945
 
 
3946
fi
 
3947
 
3708
3948
ac_ext=c
3709
3949
ac_cpp='$CPP $CPPFLAGS'
3710
3950
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4046
4286
  echo $ECHO_N "(cached) $ECHO_C" >&6
4047
4287
else
4048
4288
  cat >conftest.$ac_ext <<_ACEOF
4049
 
#line $LINENO "configure"
4050
4289
/* confdefs.h.  */
4051
4290
_ACEOF
4052
4291
cat confdefs.h >>conftest.$ac_ext
4066
4305
_ACEOF
4067
4306
rm -f conftest.$ac_objext
4068
4307
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4069
 
  (eval $ac_compile) 2>&5
 
4308
  (eval $ac_compile) 2>conftest.er1
4070
4309
  ac_status=$?
 
4310
  grep -v '^ *+' conftest.er1 >conftest.err
 
4311
  rm -f conftest.er1
 
4312
  cat conftest.err >&5
4071
4313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072
4314
  (exit $ac_status); } &&
4073
 
         { ac_try='test -s conftest.$ac_objext'
 
4315
         { ac_try='test -z "$ac_c_werror_flag"
 
4316
                         || test ! -s conftest.err'
 
4317
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4318
  (eval $ac_try) 2>&5
 
4319
  ac_status=$?
 
4320
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4321
  (exit $ac_status); }; } &&
 
4322
         { ac_try='test -s conftest.$ac_objext'
4074
4323
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4075
4324
  (eval $ac_try) 2>&5
4076
4325
  ac_status=$?
4083
4332
 
4084
4333
ac_compiler_gnu=no
4085
4334
fi
4086
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4335
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4087
4336
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4088
4337
 
4089
4338
fi
4099
4348
  echo $ECHO_N "(cached) $ECHO_C" >&6
4100
4349
else
4101
4350
  cat >conftest.$ac_ext <<_ACEOF
4102
 
#line $LINENO "configure"
4103
4351
/* confdefs.h.  */
4104
4352
_ACEOF
4105
4353
cat confdefs.h >>conftest.$ac_ext
4116
4364
_ACEOF
4117
4365
rm -f conftest.$ac_objext
4118
4366
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4119
 
  (eval $ac_compile) 2>&5
 
4367
  (eval $ac_compile) 2>conftest.er1
4120
4368
  ac_status=$?
 
4369
  grep -v '^ *+' conftest.er1 >conftest.err
 
4370
  rm -f conftest.er1
 
4371
  cat conftest.err >&5
4121
4372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122
4373
  (exit $ac_status); } &&
4123
 
         { ac_try='test -s conftest.$ac_objext'
 
4374
         { ac_try='test -z "$ac_c_werror_flag"
 
4375
                         || test ! -s conftest.err'
 
4376
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4377
  (eval $ac_try) 2>&5
 
4378
  ac_status=$?
 
4379
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4380
  (exit $ac_status); }; } &&
 
4381
         { ac_try='test -s conftest.$ac_objext'
4124
4382
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4125
4383
  (eval $ac_try) 2>&5
4126
4384
  ac_status=$?
4133
4391
 
4134
4392
ac_cv_prog_cc_g=no
4135
4393
fi
4136
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4394
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4137
4395
fi
4138
4396
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4139
4397
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4160
4418
  ac_cv_prog_cc_stdc=no
4161
4419
ac_save_CC=$CC
4162
4420
cat >conftest.$ac_ext <<_ACEOF
4163
 
#line $LINENO "configure"
4164
4421
/* confdefs.h.  */
4165
4422
_ACEOF
4166
4423
cat confdefs.h >>conftest.$ac_ext
4188
4445
  va_end (v);
4189
4446
  return s;
4190
4447
}
 
4448
 
 
4449
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4450
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4451
   These don't provoke an error unfortunately, instead are silently treated
 
4452
   as 'x'.  The following induces an error, until -std1 is added to get
 
4453
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4454
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4455
   that's true only with -std1.  */
 
4456
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4457
 
4191
4458
int test (int i, double x);
4192
4459
struct s1 {int (*f) (int a);};
4193
4460
struct s2 {int (*f) (double a);};
4214
4481
  CC="$ac_save_CC $ac_arg"
4215
4482
  rm -f conftest.$ac_objext
4216
4483
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4217
 
  (eval $ac_compile) 2>&5
 
4484
  (eval $ac_compile) 2>conftest.er1
4218
4485
  ac_status=$?
 
4486
  grep -v '^ *+' conftest.er1 >conftest.err
 
4487
  rm -f conftest.er1
 
4488
  cat conftest.err >&5
4219
4489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220
4490
  (exit $ac_status); } &&
4221
 
         { ac_try='test -s conftest.$ac_objext'
 
4491
         { ac_try='test -z "$ac_c_werror_flag"
 
4492
                         || test ! -s conftest.err'
 
4493
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4494
  (eval $ac_try) 2>&5
 
4495
  ac_status=$?
 
4496
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4497
  (exit $ac_status); }; } &&
 
4498
         { ac_try='test -s conftest.$ac_objext'
4222
4499
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4223
4500
  (eval $ac_try) 2>&5
4224
4501
  ac_status=$?
4231
4508
sed 's/^/| /' conftest.$ac_ext >&5
4232
4509
 
4233
4510
fi
4234
 
rm -f conftest.$ac_objext
 
4511
rm -f conftest.err conftest.$ac_objext
4235
4512
done
4236
4513
rm -f conftest.$ac_ext conftest.$ac_objext
4237
4514
CC=$ac_save_CC
4259
4536
_ACEOF
4260
4537
rm -f conftest.$ac_objext
4261
4538
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4262
 
  (eval $ac_compile) 2>&5
 
4539
  (eval $ac_compile) 2>conftest.er1
4263
4540
  ac_status=$?
 
4541
  grep -v '^ *+' conftest.er1 >conftest.err
 
4542
  rm -f conftest.er1
 
4543
  cat conftest.err >&5
4264
4544
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265
4545
  (exit $ac_status); } &&
4266
 
         { ac_try='test -s conftest.$ac_objext'
 
4546
         { ac_try='test -z "$ac_c_werror_flag"
 
4547
                         || test ! -s conftest.err'
 
4548
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4549
  (eval $ac_try) 2>&5
 
4550
  ac_status=$?
 
4551
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4552
  (exit $ac_status); }; } &&
 
4553
         { ac_try='test -s conftest.$ac_objext'
4267
4554
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268
4555
  (eval $ac_try) 2>&5
4269
4556
  ac_status=$?
4270
4557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271
4558
  (exit $ac_status); }; }; then
4272
4559
  for ac_declaration in \
4273
 
   ''\
4274
 
   '#include <stdlib.h>' \
 
4560
   '' \
4275
4561
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4276
4562
   'extern "C" void std::exit (int); using std::exit;' \
4277
4563
   'extern "C" void exit (int) throw ();' \
4279
4565
   'void exit (int);'
4280
4566
do
4281
4567
  cat >conftest.$ac_ext <<_ACEOF
4282
 
#line $LINENO "configure"
4283
4568
/* confdefs.h.  */
4284
4569
_ACEOF
4285
4570
cat confdefs.h >>conftest.$ac_ext
4286
4571
cat >>conftest.$ac_ext <<_ACEOF
4287
4572
/* end confdefs.h.  */
 
4573
$ac_declaration
4288
4574
#include <stdlib.h>
4289
 
$ac_declaration
4290
4575
int
4291
4576
main ()
4292
4577
{
4297
4582
_ACEOF
4298
4583
rm -f conftest.$ac_objext
4299
4584
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4300
 
  (eval $ac_compile) 2>&5
 
4585
  (eval $ac_compile) 2>conftest.er1
4301
4586
  ac_status=$?
 
4587
  grep -v '^ *+' conftest.er1 >conftest.err
 
4588
  rm -f conftest.er1
 
4589
  cat conftest.err >&5
4302
4590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303
4591
  (exit $ac_status); } &&
4304
 
         { ac_try='test -s conftest.$ac_objext'
 
4592
         { ac_try='test -z "$ac_c_werror_flag"
 
4593
                         || test ! -s conftest.err'
 
4594
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4595
  (eval $ac_try) 2>&5
 
4596
  ac_status=$?
 
4597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4598
  (exit $ac_status); }; } &&
 
4599
         { ac_try='test -s conftest.$ac_objext'
4305
4600
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4306
4601
  (eval $ac_try) 2>&5
4307
4602
  ac_status=$?
4314
4609
 
4315
4610
continue
4316
4611
fi
4317
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4612
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4318
4613
  cat >conftest.$ac_ext <<_ACEOF
4319
 
#line $LINENO "configure"
4320
4614
/* confdefs.h.  */
4321
4615
_ACEOF
4322
4616
cat confdefs.h >>conftest.$ac_ext
4333
4627
_ACEOF
4334
4628
rm -f conftest.$ac_objext
4335
4629
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4336
 
  (eval $ac_compile) 2>&5
 
4630
  (eval $ac_compile) 2>conftest.er1
4337
4631
  ac_status=$?
 
4632
  grep -v '^ *+' conftest.er1 >conftest.err
 
4633
  rm -f conftest.er1
 
4634
  cat conftest.err >&5
4338
4635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339
4636
  (exit $ac_status); } &&
4340
 
         { ac_try='test -s conftest.$ac_objext'
 
4637
         { ac_try='test -z "$ac_c_werror_flag"
 
4638
                         || test ! -s conftest.err'
 
4639
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4640
  (eval $ac_try) 2>&5
 
4641
  ac_status=$?
 
4642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4643
  (exit $ac_status); }; } &&
 
4644
         { ac_try='test -s conftest.$ac_objext'
4341
4645
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4342
4646
  (eval $ac_try) 2>&5
4343
4647
  ac_status=$?
4349
4653
sed 's/^/| /' conftest.$ac_ext >&5
4350
4654
 
4351
4655
fi
4352
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4656
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4353
4657
done
4354
4658
rm -f conftest*
4355
4659
if test -n "$ac_declaration"; then
4363
4667
sed 's/^/| /' conftest.$ac_ext >&5
4364
4668
 
4365
4669
fi
4366
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4670
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4367
4671
ac_ext=c
4368
4672
ac_cpp='$CPP $CPPFLAGS'
4369
4673
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411
4715
    : > sub/conftest.c
4412
4716
    for i in 1 2 3 4 5 6; do
4413
4717
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4414
 
      : > sub/conftst$i.h
 
4718
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4719
      # Solaris 8's {/usr,}/bin/sh.
 
4720
      touch sub/conftst$i.h
4415
4721
    done
4416
4722
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4417
4723
 
4439
4745
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4440
4746
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4441
4747
      # icc doesn't choke on unknown options, it will just issue warnings
4442
 
      # (even with -Werror).  So we grep stderr for any message
4443
 
      # that says an option was ignored.
4444
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
4748
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4749
      # that says an option was ignored or not supported.
 
4750
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4751
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4752
      # The diagnosis changed in icc 8.0:
 
4753
      #   icc: Command line remark: option '-MP' not supported
 
4754
      if (grep 'ignoring option' conftest.err ||
 
4755
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4445
4756
        am_cv_CC_dependencies_compiler_type=$depmode
4446
4757
        break
4447
4758
      fi
4483
4794
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4484
4795
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4485
4796
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
4797
# OS/2's system install, which has a completely different semantic
4486
4798
# ./install, which can be erroneously created by make from ./install.sh.
4487
4799
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4488
4800
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4499
4811
case $as_dir/ in
4500
4812
  ./ | .// | /cC/* | \
4501
4813
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
4814
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4502
4815
  /usr/ucb/* ) ;;
4503
4816
  *)
4504
4817
    # OSF1 and SCO ODT 3.0 have their own names for install.
4506
4819
    # by default.
4507
4820
    for ac_prog in ginstall scoinst install; do
4508
4821
      for ac_exec_ext in '' $ac_executable_extensions; do
4509
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4510
 
          if test $ac_prog = install &&
4511
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4512
 
            # AIX install.  It has an incompatible calling convention.
4513
 
            :
4514
 
          elif test $ac_prog = install &&
4515
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4516
 
            # program-specific install script used by HP pwplus--don't use.
4517
 
            :
4518
 
          else
4519
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4520
 
            break 3
4521
 
          fi
4522
 
        fi
 
4822
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
4823
          if test $ac_prog = install &&
 
4824
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
4825
            # AIX install.  It has an incompatible calling convention.
 
4826
            :
 
4827
          elif test $ac_prog = install &&
 
4828
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
4829
            # program-specific install script used by HP pwplus--don't use.
 
4830
            :
 
4831
          else
 
4832
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
4833
            break 3
 
4834
          fi
 
4835
        fi
4523
4836
      done
4524
4837
    done
4525
4838
    ;;
4700
5013
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4701
5014
# along with /bin/sed that truncates output.
4702
5015
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4703
 
  test ! -f $lt_ac_sed && break
 
5016
  test ! -f $lt_ac_sed && continue
4704
5017
  cat /dev/null > conftest.in
4705
5018
  lt_ac_count=0
4706
5019
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4725
5038
    fi
4726
5039
  done
4727
5040
done
 
5041
 
 
5042
fi
 
5043
 
4728
5044
SED=$lt_cv_path_SED
4729
 
 
4730
 
fi
4731
 
 
4732
5045
echo "$as_me:$LINENO: result: $SED" >&5
4733
5046
echo "${ECHO_T}$SED" >&6
4734
5047
 
4790
5103
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4791
5104
      lt_cv_path_LD="$ac_dir/$ac_prog"
4792
5105
      # Check to see if the program is GNU ld.  I'd rather use --version,
4793
 
      # but apparently some GNU ld's only accept -v.
 
5106
      # but apparently some variants of GNU ld only accept -v.
4794
5107
      # Break only if it was the GNU/non-GNU ld that we prefer.
4795
5108
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4796
5109
      *GNU* | *'with BFD'*)
4824
5137
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4825
5138
  echo $ECHO_N "(cached) $ECHO_C" >&6
4826
5139
else
4827
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
5140
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4828
5141
case `$LD -v 2>&1 </dev/null` in
4829
5142
*GNU* | *'with BFD'*)
4830
5143
  lt_cv_prog_gnu_ld=yes
4854
5167
*) reload_flag=" $reload_flag" ;;
4855
5168
esac
4856
5169
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5170
case $host_os in
 
5171
  darwin*)
 
5172
    if test "$GCC" = yes; then
 
5173
      reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
 
5174
    else
 
5175
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5176
    fi
 
5177
    ;;
 
5178
esac
4857
5179
 
4858
5180
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4859
5181
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4940
5262
  lt_cv_deplibs_check_method=pass_all
4941
5263
  ;;
4942
5264
 
4943
 
bsdi4*)
 
5265
bsdi[45]*)
4944
5266
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4945
5267
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4946
5268
  lt_cv_file_magic_test_file=/shlib/libc.so
4947
5269
  ;;
4948
5270
 
4949
5271
cygwin*)
4950
 
  # win32_libid is a shell function defined in ltmain.sh
 
5272
  # func_win32_libid is a shell function defined in ltmain.sh
4951
5273
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4952
 
  lt_cv_file_magic_cmd='win32_libid'
 
5274
  lt_cv_file_magic_cmd='func_win32_libid'
4953
5275
  ;;
4954
5276
 
4955
5277
mingw* | pw32*)
4956
5278
  # Base MSYS/MinGW do not provide the 'file' command needed by
4957
 
  # win32_libid shell function, so use a weaker test based on 'objdump'.
 
5279
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4958
5280
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4959
5281
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4960
5282
  ;;
4961
5283
 
4962
5284
darwin* | rhapsody*)
4963
 
  # this will be overwritten by pass_all, but leave it in just in case
4964
 
  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4965
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4966
 
  case "$host_os" in
4967
 
  rhapsody* | darwin1.[012])
4968
 
    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4969
 
    ;;
4970
 
  *) # Darwin 1.3 on
4971
 
    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4972
 
    ;;
4973
 
  esac
4974
5285
  lt_cv_deplibs_check_method=pass_all
4975
5286
  ;;
4976
5287
 
4977
 
freebsd* | kfreebsd*-gnu)
 
5288
freebsd* | kfreebsd*-gnu | dragonfly*)
4978
5289
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4979
5290
    case $host_cpu in
4980
5291
    i*86 )
4981
5292
      # Not sure whether the presence of OpenBSD here was a mistake.
4982
5293
      # Let's accept both of them until this is cleared up.
4983
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
 
5294
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4984
5295
      lt_cv_file_magic_cmd=/usr/bin/file
4985
5296
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4986
5297
      ;;
4996
5307
 
4997
5308
hpux10.20* | hpux11*)
4998
5309
  lt_cv_file_magic_cmd=/usr/bin/file
4999
 
  case "$host_cpu" in
 
5310
  case $host_cpu in
5000
5311
  ia64*)
5001
5312
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5002
5313
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5013
5324
  ;;
5014
5325
 
5015
5326
irix5* | irix6* | nonstopux*)
5016
 
  case $host_os in
5017
 
  irix5* | nonstopux*)
5018
 
    # this will be overridden with pass_all, but let us keep it just in case
5019
 
    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5020
 
    ;;
5021
 
  *)
5022
 
    case $LD in
5023
 
    *-32|*"-32 ") libmagic=32-bit;;
5024
 
    *-n32|*"-n32 ") libmagic=N32;;
5025
 
    *-64|*"-64 ") libmagic=64-bit;;
5026
 
    *) libmagic=never-match;;
5027
 
    esac
5028
 
    # this will be overridden with pass_all, but let us keep it just in case
5029
 
    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5030
 
    ;;
 
5327
  case $LD in
 
5328
  *-32|*"-32 ") libmagic=32-bit;;
 
5329
  *-n32|*"-n32 ") libmagic=N32;;
 
5330
  *-64|*"-64 ") libmagic=64-bit;;
 
5331
  *) libmagic=never-match;;
5031
5332
  esac
5032
 
  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5033
5333
  lt_cv_deplibs_check_method=pass_all
5034
5334
  ;;
5035
5335
 
5036
5336
# This must be Linux ELF.
5037
5337
linux*)
5038
 
  case $host_cpu in
5039
 
  alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*)
5040
 
    lt_cv_deplibs_check_method=pass_all ;;
5041
 
  *)
5042
 
    # glibc up to 2.1.1 does not perform some relocations on ARM
5043
 
    # this will be overridden with pass_all, but let us keep it just in case
5044
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5045
 
  esac
5046
 
  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
5047
5338
  lt_cv_deplibs_check_method=pass_all
5048
5339
  ;;
5049
5340
 
5066
5357
  ;;
5067
5358
 
5068
5359
openbsd*)
5069
 
  lt_cv_file_magic_cmd=/usr/bin/file
5070
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5071
5360
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5072
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
 
5361
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5073
5362
  else
5074
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 
5363
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5075
5364
  fi
5076
5365
  ;;
5077
5366
 
5078
5367
osf3* | osf4* | osf5*)
5079
 
  # this will be overridden with pass_all, but let us keep it just in case
5080
 
  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5081
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5082
5368
  lt_cv_deplibs_check_method=pass_all
5083
5369
  ;;
5084
5370
 
5088
5374
 
5089
5375
solaris*)
5090
5376
  lt_cv_deplibs_check_method=pass_all
5091
 
  lt_cv_file_magic_test_file=/lib/libc.so
5092
5377
  ;;
5093
5378
 
5094
5379
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5167
5452
  ;;
5168
5453
*-*-irix6*)
5169
5454
  # Find out which ABI we are using.
5170
 
  echo '#line 5170 "configure"' > conftest.$ac_ext
 
5455
  echo '#line 5455 "configure"' > conftest.$ac_ext
5171
5456
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5172
5457
  (eval $ac_compile) 2>&5
5173
5458
  ac_status=$?
5210
5495
  ac_status=$?
5211
5496
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212
5497
  (exit $ac_status); }; then
5213
 
    case "`/usr/bin/file conftest.o`" in
 
5498
    case `/usr/bin/file conftest.o` in
5214
5499
    *32-bit*)
5215
5500
      case $host in
5216
5501
        x86_64-*linux*)
5264
5549
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5265
5550
 
5266
5551
     cat >conftest.$ac_ext <<_ACEOF
5267
 
#line $LINENO "configure"
5268
5552
/* confdefs.h.  */
5269
5553
_ACEOF
5270
5554
cat confdefs.h >>conftest.$ac_ext
5281
5565
_ACEOF
5282
5566
rm -f conftest.$ac_objext conftest$ac_exeext
5283
5567
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5284
 
  (eval $ac_link) 2>&5
 
5568
  (eval $ac_link) 2>conftest.er1
5285
5569
  ac_status=$?
 
5570
  grep -v '^ *+' conftest.er1 >conftest.err
 
5571
  rm -f conftest.er1
 
5572
  cat conftest.err >&5
5286
5573
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287
5574
  (exit $ac_status); } &&
5288
 
         { ac_try='test -s conftest$ac_exeext'
 
5575
         { ac_try='test -z "$ac_c_werror_flag"
 
5576
                         || test ! -s conftest.err'
 
5577
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5578
  (eval $ac_try) 2>&5
 
5579
  ac_status=$?
 
5580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5581
  (exit $ac_status); }; } &&
 
5582
         { ac_try='test -s conftest$ac_exeext'
5289
5583
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5290
5584
  (eval $ac_try) 2>&5
5291
5585
  ac_status=$?
5298
5592
 
5299
5593
lt_cv_cc_needs_belf=no
5300
5594
fi
5301
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5595
rm -f conftest.err conftest.$ac_objext \
 
5596
      conftest$ac_exeext conftest.$ac_ext
5302
5597
     ac_ext=c
5303
5598
ac_cpp='$CPP $CPPFLAGS'
5304
5599
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5336
5631
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5337
5632
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5338
5633
cat >conftest.$ac_ext <<_ACEOF
5339
 
#line $LINENO "configure"
5340
5634
/* confdefs.h.  */
5341
5635
_ACEOF
5342
5636
cat confdefs.h >>conftest.$ac_ext
5347
5641
_ACEOF
5348
5642
rm -f conftest.$ac_objext
5349
5643
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5350
 
  (eval $ac_compile) 2>&5
 
5644
  (eval $ac_compile) 2>conftest.er1
5351
5645
  ac_status=$?
 
5646
  grep -v '^ *+' conftest.er1 >conftest.err
 
5647
  rm -f conftest.er1
 
5648
  cat conftest.err >&5
5352
5649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353
5650
  (exit $ac_status); } &&
5354
 
         { ac_try='test -s conftest.$ac_objext'
 
5651
         { ac_try='test -z "$ac_c_werror_flag"
 
5652
                         || test ! -s conftest.err'
 
5653
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5654
  (eval $ac_try) 2>&5
 
5655
  ac_status=$?
 
5656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5657
  (exit $ac_status); }; } &&
 
5658
         { ac_try='test -s conftest.$ac_objext'
5355
5659
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5356
5660
  (eval $ac_try) 2>&5
5357
5661
  ac_status=$?
5364
5668
 
5365
5669
ac_header_compiler=no
5366
5670
fi
5367
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5671
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5368
5672
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5369
5673
echo "${ECHO_T}$ac_header_compiler" >&6
5370
5674
 
5372
5676
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5373
5677
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5374
5678
cat >conftest.$ac_ext <<_ACEOF
5375
 
#line $LINENO "configure"
5376
5679
/* confdefs.h.  */
5377
5680
_ACEOF
5378
5681
cat confdefs.h >>conftest.$ac_ext
5390
5693
  (exit $ac_status); } >/dev/null; then
5391
5694
  if test -s conftest.err; then
5392
5695
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5696
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5393
5697
  else
5394
5698
    ac_cpp_err=
5395
5699
  fi
5409
5713
echo "${ECHO_T}$ac_header_preproc" >&6
5410
5714
 
5411
5715
# So?  What about this header?
5412
 
case $ac_header_compiler:$ac_header_preproc in
5413
 
  yes:no )
 
5716
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5717
  yes:no: )
5414
5718
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5415
5719
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5416
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5417
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5418
 
    (
5419
 
      cat <<\_ASBOX
5420
 
## ------------------------------------ ##
5421
 
## Report this to bug-autoconf@gnu.org. ##
5422
 
## ------------------------------------ ##
5423
 
_ASBOX
5424
 
    ) |
5425
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5720
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5721
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5722
    ac_header_preproc=yes
5426
5723
    ;;
5427
 
  no:yes )
 
5724
  no:yes:* )
5428
5725
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5429
5726
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5430
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5431
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
5727
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5728
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5729
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5730
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5731
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5732
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5432
5733
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5433
5734
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5735
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5736
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5434
5737
    (
5435
5738
      cat <<\_ASBOX
5436
 
## ------------------------------------ ##
5437
 
## Report this to bug-autoconf@gnu.org. ##
5438
 
## ------------------------------------ ##
 
5739
## --------------------------------- ##
 
5740
## Report this to xfce4-dev@xfce.org ##
 
5741
## --------------------------------- ##
5439
5742
_ASBOX
5440
5743
    ) |
5441
5744
      sed "s/^/$as_me: WARNING:     /" >&2
5446
5749
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5447
5750
  echo $ECHO_N "(cached) $ECHO_C" >&6
5448
5751
else
5449
 
  eval "$as_ac_Header=$ac_header_preproc"
 
5752
  eval "$as_ac_Header=\$ac_header_preproc"
5450
5753
fi
5451
5754
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5452
5755
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5580
5883
  echo $ECHO_N "(cached) $ECHO_C" >&6
5581
5884
else
5582
5885
  cat >conftest.$ac_ext <<_ACEOF
5583
 
#line $LINENO "configure"
5584
5886
/* confdefs.h.  */
5585
5887
_ACEOF
5586
5888
cat confdefs.h >>conftest.$ac_ext
5600
5902
_ACEOF
5601
5903
rm -f conftest.$ac_objext
5602
5904
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5603
 
  (eval $ac_compile) 2>&5
 
5905
  (eval $ac_compile) 2>conftest.er1
5604
5906
  ac_status=$?
 
5907
  grep -v '^ *+' conftest.er1 >conftest.err
 
5908
  rm -f conftest.er1
 
5909
  cat conftest.err >&5
5605
5910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606
5911
  (exit $ac_status); } &&
5607
 
         { ac_try='test -s conftest.$ac_objext'
 
5912
         { ac_try='test -z "$ac_cxx_werror_flag"
 
5913
                         || test ! -s conftest.err'
 
5914
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5915
  (eval $ac_try) 2>&5
 
5916
  ac_status=$?
 
5917
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5918
  (exit $ac_status); }; } &&
 
5919
         { ac_try='test -s conftest.$ac_objext'
5608
5920
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5609
5921
  (eval $ac_try) 2>&5
5610
5922
  ac_status=$?
5617
5929
 
5618
5930
ac_compiler_gnu=no
5619
5931
fi
5620
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5932
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5621
5933
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5622
5934
 
5623
5935
fi
5633
5945
  echo $ECHO_N "(cached) $ECHO_C" >&6
5634
5946
else
5635
5947
  cat >conftest.$ac_ext <<_ACEOF
5636
 
#line $LINENO "configure"
5637
5948
/* confdefs.h.  */
5638
5949
_ACEOF
5639
5950
cat confdefs.h >>conftest.$ac_ext
5650
5961
_ACEOF
5651
5962
rm -f conftest.$ac_objext
5652
5963
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5653
 
  (eval $ac_compile) 2>&5
 
5964
  (eval $ac_compile) 2>conftest.er1
5654
5965
  ac_status=$?
 
5966
  grep -v '^ *+' conftest.er1 >conftest.err
 
5967
  rm -f conftest.er1
 
5968
  cat conftest.err >&5
5655
5969
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656
5970
  (exit $ac_status); } &&
5657
 
         { ac_try='test -s conftest.$ac_objext'
 
5971
         { ac_try='test -z "$ac_cxx_werror_flag"
 
5972
                         || test ! -s conftest.err'
 
5973
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5974
  (eval $ac_try) 2>&5
 
5975
  ac_status=$?
 
5976
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5977
  (exit $ac_status); }; } &&
 
5978
         { ac_try='test -s conftest.$ac_objext'
5658
5979
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659
5980
  (eval $ac_try) 2>&5
5660
5981
  ac_status=$?
5667
5988
 
5668
5989
ac_cv_prog_cxx_g=no
5669
5990
fi
5670
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5991
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5671
5992
fi
5672
5993
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5673
5994
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5687
6008
  fi
5688
6009
fi
5689
6010
for ac_declaration in \
5690
 
   ''\
5691
 
   '#include <stdlib.h>' \
 
6011
   '' \
5692
6012
   'extern "C" void std::exit (int) throw (); using std::exit;' \
5693
6013
   'extern "C" void std::exit (int); using std::exit;' \
5694
6014
   'extern "C" void exit (int) throw ();' \
5696
6016
   'void exit (int);'
5697
6017
do
5698
6018
  cat >conftest.$ac_ext <<_ACEOF
5699
 
#line $LINENO "configure"
5700
6019
/* confdefs.h.  */
5701
6020
_ACEOF
5702
6021
cat confdefs.h >>conftest.$ac_ext
5703
6022
cat >>conftest.$ac_ext <<_ACEOF
5704
6023
/* end confdefs.h.  */
 
6024
$ac_declaration
5705
6025
#include <stdlib.h>
5706
 
$ac_declaration
5707
6026
int
5708
6027
main ()
5709
6028
{
5714
6033
_ACEOF
5715
6034
rm -f conftest.$ac_objext
5716
6035
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717
 
  (eval $ac_compile) 2>&5
 
6036
  (eval $ac_compile) 2>conftest.er1
5718
6037
  ac_status=$?
 
6038
  grep -v '^ *+' conftest.er1 >conftest.err
 
6039
  rm -f conftest.er1
 
6040
  cat conftest.err >&5
5719
6041
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720
6042
  (exit $ac_status); } &&
5721
 
         { ac_try='test -s conftest.$ac_objext'
 
6043
         { ac_try='test -z "$ac_cxx_werror_flag"
 
6044
                         || test ! -s conftest.err'
 
6045
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6046
  (eval $ac_try) 2>&5
 
6047
  ac_status=$?
 
6048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6049
  (exit $ac_status); }; } &&
 
6050
         { ac_try='test -s conftest.$ac_objext'
5722
6051
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723
6052
  (eval $ac_try) 2>&5
5724
6053
  ac_status=$?
5731
6060
 
5732
6061
continue
5733
6062
fi
5734
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6063
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5735
6064
  cat >conftest.$ac_ext <<_ACEOF
5736
 
#line $LINENO "configure"
5737
6065
/* confdefs.h.  */
5738
6066
_ACEOF
5739
6067
cat confdefs.h >>conftest.$ac_ext
5750
6078
_ACEOF
5751
6079
rm -f conftest.$ac_objext
5752
6080
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5753
 
  (eval $ac_compile) 2>&5
 
6081
  (eval $ac_compile) 2>conftest.er1
5754
6082
  ac_status=$?
 
6083
  grep -v '^ *+' conftest.er1 >conftest.err
 
6084
  rm -f conftest.er1
 
6085
  cat conftest.err >&5
5755
6086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756
6087
  (exit $ac_status); } &&
5757
 
         { ac_try='test -s conftest.$ac_objext'
 
6088
         { ac_try='test -z "$ac_cxx_werror_flag"
 
6089
                         || test ! -s conftest.err'
 
6090
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6091
  (eval $ac_try) 2>&5
 
6092
  ac_status=$?
 
6093
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6094
  (exit $ac_status); }; } &&
 
6095
         { ac_try='test -s conftest.$ac_objext'
5758
6096
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5759
6097
  (eval $ac_try) 2>&5
5760
6098
  ac_status=$?
5766
6104
sed 's/^/| /' conftest.$ac_ext >&5
5767
6105
 
5768
6106
fi
5769
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6107
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5770
6108
done
5771
6109
rm -f conftest*
5772
6110
if test -n "$ac_declaration"; then
5822
6160
    : > sub/conftest.c
5823
6161
    for i in 1 2 3 4 5 6; do
5824
6162
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5825
 
      : > sub/conftst$i.h
 
6163
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6164
      # Solaris 8's {/usr,}/bin/sh.
 
6165
      touch sub/conftst$i.h
5826
6166
    done
5827
6167
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5828
6168
 
5850
6190
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5851
6191
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5852
6192
      # icc doesn't choke on unknown options, it will just issue warnings
5853
 
      # (even with -Werror).  So we grep stderr for any message
5854
 
      # that says an option was ignored.
5855
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
6193
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6194
      # that says an option was ignored or not supported.
 
6195
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6196
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6197
      # The diagnosis changed in icc 8.0:
 
6198
      #   icc: Command line remark: option '-MP' not supported
 
6199
      if (grep 'ignoring option' conftest.err ||
 
6200
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5856
6201
        am_cv_CXX_dependencies_compiler_type=$depmode
5857
6202
        break
5858
6203
      fi
5883
6228
fi
5884
6229
 
5885
6230
 
5886
 
ac_ext=cc
 
6231
 
 
6232
 
 
6233
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
6234
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
6235
    (test "X$CXX" != "Xg++"))) ; then
 
6236
  ac_ext=cc
5887
6237
ac_cpp='$CXXCPP $CPPFLAGS'
5888
6238
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5889
6239
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5907
6257
  # On the NeXT, cc -E runs the code through the compiler's parser,
5908
6258
  # not just through cpp. "Syntax error" is here to catch this case.
5909
6259
  cat >conftest.$ac_ext <<_ACEOF
5910
 
#line $LINENO "configure"
5911
6260
/* confdefs.h.  */
5912
6261
_ACEOF
5913
6262
cat confdefs.h >>conftest.$ac_ext
5918
6267
#else
5919
6268
# include <assert.h>
5920
6269
#endif
5921
 
                     Syntax error
 
6270
                     Syntax error
5922
6271
_ACEOF
5923
6272
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5924
6273
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5930
6279
  (exit $ac_status); } >/dev/null; then
5931
6280
  if test -s conftest.err; then
5932
6281
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6282
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5933
6283
  else
5934
6284
    ac_cpp_err=
5935
6285
  fi
5950
6300
  # OK, works on sane cases.  Now check whether non-existent headers
5951
6301
  # can be detected and how.
5952
6302
  cat >conftest.$ac_ext <<_ACEOF
5953
 
#line $LINENO "configure"
5954
6303
/* confdefs.h.  */
5955
6304
_ACEOF
5956
6305
cat confdefs.h >>conftest.$ac_ext
5968
6317
  (exit $ac_status); } >/dev/null; then
5969
6318
  if test -s conftest.err; then
5970
6319
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6320
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5971
6321
  else
5972
6322
    ac_cpp_err=
5973
6323
  fi
6014
6364
  # On the NeXT, cc -E runs the code through the compiler's parser,
6015
6365
  # not just through cpp. "Syntax error" is here to catch this case.
6016
6366
  cat >conftest.$ac_ext <<_ACEOF
6017
 
#line $LINENO "configure"
6018
6367
/* confdefs.h.  */
6019
6368
_ACEOF
6020
6369
cat confdefs.h >>conftest.$ac_ext
6025
6374
#else
6026
6375
# include <assert.h>
6027
6376
#endif
6028
 
                     Syntax error
 
6377
                     Syntax error
6029
6378
_ACEOF
6030
6379
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6031
6380
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6037
6386
  (exit $ac_status); } >/dev/null; then
6038
6387
  if test -s conftest.err; then
6039
6388
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6389
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6040
6390
  else
6041
6391
    ac_cpp_err=
6042
6392
  fi
6057
6407
  # OK, works on sane cases.  Now check whether non-existent headers
6058
6408
  # can be detected and how.
6059
6409
  cat >conftest.$ac_ext <<_ACEOF
6060
 
#line $LINENO "configure"
6061
6410
/* confdefs.h.  */
6062
6411
_ACEOF
6063
6412
cat confdefs.h >>conftest.$ac_ext
6075
6424
  (exit $ac_status); } >/dev/null; then
6076
6425
  if test -s conftest.err; then
6077
6426
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6427
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6078
6428
  else
6079
6429
    ac_cpp_err=
6080
6430
  fi
6113
6463
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6114
6464
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6115
6465
 
 
6466
fi
 
6467
 
6116
6468
 
6117
6469
ac_ext=f
6118
6470
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6119
6471
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6120
6472
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6121
6473
if test -n "$ac_tool_prefix"; then
6122
 
  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
 
6474
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6123
6475
  do
6124
6476
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6125
6477
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6161
6513
fi
6162
6514
if test -z "$F77"; then
6163
6515
  ac_ct_F77=$F77
6164
 
  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
 
6516
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6165
6517
do
6166
6518
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6167
6519
set dummy $ac_prog; ac_word=$2
6206
6558
 
6207
6559
 
6208
6560
# Provide some information about the compiler.
6209
 
echo "$as_me:6209:" \
 
6561
echo "$as_me:6561:" \
6210
6562
     "checking for Fortran 77 compiler version" >&5
6211
6563
ac_compiler=`set X $ac_compile; echo $2`
6212
6564
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6224
6576
  ac_status=$?
6225
6577
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226
6578
  (exit $ac_status); }
 
6579
rm -f a.out
6227
6580
 
6228
6581
# If we don't use `.F' as extension, the preprocessor is not run on the
6229
 
# input file.
 
6582
# input file.  (Note that this only needs to work for GNU compilers.)
6230
6583
ac_save_ext=$ac_ext
6231
6584
ac_ext=F
6232
6585
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6244
6597
_ACEOF
6245
6598
rm -f conftest.$ac_objext
6246
6599
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6247
 
  (eval $ac_compile) 2>&5
 
6600
  (eval $ac_compile) 2>conftest.er1
6248
6601
  ac_status=$?
 
6602
  grep -v '^ *+' conftest.er1 >conftest.err
 
6603
  rm -f conftest.er1
 
6604
  cat conftest.err >&5
6249
6605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250
6606
  (exit $ac_status); } &&
6251
 
         { ac_try='test -s conftest.$ac_objext'
 
6607
         { ac_try='test -z "$ac_f77_werror_flag"
 
6608
                         || test ! -s conftest.err'
 
6609
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6610
  (eval $ac_try) 2>&5
 
6611
  ac_status=$?
 
6612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6613
  (exit $ac_status); }; } &&
 
6614
         { ac_try='test -s conftest.$ac_objext'
6252
6615
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253
6616
  (eval $ac_try) 2>&5
6254
6617
  ac_status=$?
6261
6624
 
6262
6625
ac_compiler_gnu=no
6263
6626
fi
6264
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6627
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6265
6628
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6266
6629
 
6267
6630
fi
6268
6631
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6269
6632
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6270
6633
ac_ext=$ac_save_ext
6271
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6272
6634
ac_test_FFLAGS=${FFLAGS+set}
6273
6635
ac_save_FFLAGS=$FFLAGS
6274
6636
FFLAGS=
6285
6647
_ACEOF
6286
6648
rm -f conftest.$ac_objext
6287
6649
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6288
 
  (eval $ac_compile) 2>&5
 
6650
  (eval $ac_compile) 2>conftest.er1
6289
6651
  ac_status=$?
 
6652
  grep -v '^ *+' conftest.er1 >conftest.err
 
6653
  rm -f conftest.er1
 
6654
  cat conftest.err >&5
6290
6655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291
6656
  (exit $ac_status); } &&
6292
 
         { ac_try='test -s conftest.$ac_objext'
 
6657
         { ac_try='test -z "$ac_f77_werror_flag"
 
6658
                         || test ! -s conftest.err'
 
6659
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6660
  (eval $ac_try) 2>&5
 
6661
  ac_status=$?
 
6662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6663
  (exit $ac_status); }; } &&
 
6664
         { ac_try='test -s conftest.$ac_objext'
6293
6665
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6294
6666
  (eval $ac_try) 2>&5
6295
6667
  ac_status=$?
6302
6674
 
6303
6675
ac_cv_prog_f77_g=no
6304
6676
fi
6305
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6677
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6306
6678
 
6307
6679
fi
6308
6680
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6310
6682
if test "$ac_test_FFLAGS" = set; then
6311
6683
  FFLAGS=$ac_save_FFLAGS
6312
6684
elif test $ac_cv_prog_f77_g = yes; then
6313
 
  if test "$G77" = yes; then
 
6685
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6314
6686
    FFLAGS="-g -O2"
6315
6687
  else
6316
6688
    FFLAGS="-g"
6317
6689
  fi
6318
6690
else
6319
 
  if test "$G77" = yes; then
 
6691
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6320
6692
    FFLAGS="-O2"
6321
6693
  else
6322
6694
    FFLAGS=
6323
6695
  fi
6324
6696
fi
 
6697
 
 
6698
G77=`test $ac_compiler_gnu = yes && echo yes`
6325
6699
ac_ext=c
6326
6700
ac_cpp='$CPP $CPPFLAGS'
6327
6701
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6339
6713
  echo $ECHO_N "(cached) $ECHO_C" >&6
6340
6714
else
6341
6715
    i=0
6342
 
  testring="ABCD"
 
6716
  teststring="ABCD"
6343
6717
 
6344
6718
  case $build_os in
6345
6719
  msdosdjgpp*)
6374
6748
    lt_cv_sys_max_cmd_len=8192;
6375
6749
    ;;
6376
6750
 
6377
 
 *)
 
6751
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6752
    # This has been around since 386BSD, at least.  Likely further.
 
6753
    if test -x /sbin/sysctl; then
 
6754
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6755
    elif test -x /usr/sbin/sysctl; then
 
6756
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6757
    else
 
6758
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6759
    fi
 
6760
    # And add a safety zone
 
6761
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6762
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6763
    ;;
 
6764
  osf*)
 
6765
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6766
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6767
    # nice to cause kernel panics so lets avoid the loop below.
 
6768
    # First set a reasonable default.
 
6769
    lt_cv_sys_max_cmd_len=16384
 
6770
    #
 
6771
    if test -x /sbin/sysconfig; then
 
6772
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6773
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6774
      esac
 
6775
    fi
 
6776
    ;;
 
6777
  *)
6378
6778
    # If test is not a shell built-in, we'll probably end up computing a
6379
6779
    # maximum length that is only half of the actual maximum length, but
6380
6780
    # we can't tell.
6381
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
6382
 
               = "XX$testring") >/dev/null 2>&1 &&
6383
 
            new_result=`expr "X$testring" : ".*" 2>&1` &&
 
6781
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6782
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6783
               = "XX$teststring") >/dev/null 2>&1 &&
 
6784
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6384
6785
            lt_cv_sys_max_cmd_len=$new_result &&
6385
6786
            test $i != 17 # 1/2 MB should be enough
6386
6787
    do
6387
6788
      i=`expr $i + 1`
6388
 
      testring=$testring$testring
 
6789
      teststring=$teststring$teststring
6389
6790
    done
6390
 
    testring=
 
6791
    teststring=
6391
6792
    # Add a significant safety factor because C++ compilers can tack on massive
6392
6793
    # amounts of additional arguments before passing them to the linker.
6393
6794
    # It appears as though 1/2 is a usable value.
6424
6825
# Regexp to match symbols that can be accessed directly from C.
6425
6826
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6426
6827
 
6427
 
# Transform the above into a raw symbol and a C symbol.
6428
 
symxfrm='\1 \2\3 \3'
6429
 
 
6430
6828
# Transform an extracted symbol line into a proper C declaration
6431
6829
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6432
6830
 
6448
6846
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6449
6847
  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'"
6450
6848
  ;;
 
6849
linux*)
 
6850
  if test "$host_cpu" = ia64; then
 
6851
    symcode='[ABCDGIRSTW]'
 
6852
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6853
    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'"
 
6854
  fi
 
6855
  ;;
6451
6856
irix* | nonstopux*)
6452
6857
  symcode='[BCDEGRST]'
6453
6858
  ;;
6455
6860
  symcode='[BCDEGQRST]'
6456
6861
  ;;
6457
6862
solaris* | sysv5*)
6458
 
  symcode='[BDT]'
 
6863
  symcode='[BDRT]'
6459
6864
  ;;
6460
6865
sysv4)
6461
6866
  symcode='[DFNSTU]'
6473
6878
# If we're using GNU nm, then use its standard symbol codes.
6474
6879
case `$NM -V 2>&1` in
6475
6880
*GNU* | *'with BFD'*)
6476
 
  symcode='[ABCDGISTW]' ;;
 
6881
  symcode='[ABCDGIRSTW]' ;;
6477
6882
esac
6478
6883
 
6479
6884
# Try without a prefix undercore, then with it.
6480
6885
for ac_symprfx in "" "_"; do
6481
6886
 
 
6887
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6888
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6889
 
6482
6890
  # Write the raw and C identifiers.
6483
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
6891
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6484
6892
 
6485
6893
  # Check to see that the pipe works correctly.
6486
6894
  pipe_works=no
6642
7050
 
6643
7051
# Sed substitution that helps us do robust quoting.  It backslashifies
6644
7052
# metacharacters that are still active within double-quoted strings.
6645
 
Xsed='sed -e s/^X//'
 
7053
Xsed='sed -e 1s/^X//'
6646
7054
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6647
7055
 
6648
7056
# Same as above, but do not quote variable references.
6662
7070
default_ofile=libtool
6663
7071
can_build_shared=yes
6664
7072
 
6665
 
# All known linkers require a `.a' archive for static linking (except M$VC,
 
7073
# All known linkers require a `.a' archive for static linking (except MSVC,
6666
7074
# which needs '.lib').
6667
7075
libext=a
6668
7076
ltmain="$ac_aux_dir/ltmain.sh"
6947
7355
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6948
7356
fi
6949
7357
 
 
7358
for cc_temp in $compiler""; do
 
7359
  case $cc_temp in
 
7360
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7361
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7362
    \-*) ;;
 
7363
    *) break;;
 
7364
  esac
 
7365
done
 
7366
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7367
 
 
7368
 
6950
7369
# Only perform the check for file, if the check method requires it
6951
7370
case $deplibs_check_method in
6952
7371
file_magic*)
6972
7391
      if test -n "$file_magic_test_file"; then
6973
7392
        case $deplibs_check_method in
6974
7393
        "file_magic "*)
6975
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7394
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6976
7395
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6977
7396
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6978
7397
            $EGREP "$file_magic_regex" > /dev/null; then
7034
7453
      if test -n "$file_magic_test_file"; then
7035
7454
        case $deplibs_check_method in
7036
7455
        "file_magic "*)
7037
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7456
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7038
7457
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7039
7458
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7040
7459
            $EGREP "$file_magic_regex" > /dev/null; then
7133
7552
compiler=$CC
7134
7553
 
7135
7554
 
 
7555
# save warnings/boilerplate of simple test code
 
7556
ac_outfile=conftest.$ac_objext
 
7557
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7558
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
7559
_lt_compiler_boilerplate=`cat conftest.err`
 
7560
$rm conftest*
 
7561
 
 
7562
ac_outfile=conftest.$ac_objext
 
7563
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7564
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
7565
_lt_linker_boilerplate=`cat conftest.err`
 
7566
$rm conftest*
 
7567
 
 
7568
 
7136
7569
#
7137
7570
# Check for any special shared library compilation flags.
7138
7571
#
7169
7602
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
7170
7603
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
7171
7604
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7172
 
     # The compiler can only warn and ignore the option if not recognized
 
7605
     # The linker can only warn and ignore the option if not recognized
7173
7606
     # So say no if there are warnings
7174
7607
     if test -s conftest.err; then
7175
7608
       # Append any errors to the config.log.
7176
7609
       cat conftest.err 1>&5
 
7610
       $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
 
7611
       $SED '/^$/d' conftest.err >conftest.er2
 
7612
       if diff conftest.exp conftest.er2 >/dev/null; then
 
7613
         lt_prog_compiler_static_works=yes
 
7614
       fi
7177
7615
     else
7178
7616
       lt_prog_compiler_static_works=yes
7179
7617
     fi
7215
7653
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7216
7654
   # The option is referenced via a variable to avoid confusing sed.
7217
7655
   lt_compile=`echo "$ac_compile" | $SED \
7218
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7656
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7219
7657
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7220
7658
   -e 's:$: $lt_compiler_flag:'`
7221
 
   (eval echo "\"\$as_me:7221: $lt_compile\"" >&5)
 
7659
   (eval echo "\"\$as_me:7659: $lt_compile\"" >&5)
7222
7660
   (eval "$lt_compile" 2>conftest.err)
7223
7661
   ac_status=$?
7224
7662
   cat conftest.err >&5
7225
 
   echo "$as_me:7225: \$? = $ac_status" >&5
 
7663
   echo "$as_me:7663: \$? = $ac_status" >&5
7226
7664
   if (exit $ac_status) && test -s "$ac_outfile"; then
7227
7665
     # The compiler can only warn and ignore the option if not recognized
7228
 
     # So say no if there are warnings
7229
 
     if test ! -s conftest.err; then
 
7666
     # So say no if there are warnings other than the usual output.
 
7667
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
7668
     $SED '/^$/d' conftest.err >conftest.er2
 
7669
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
7230
7670
       lt_cv_prog_compiler_rtti_exceptions=yes
7231
7671
     fi
7232
7672
   fi
7303
7743
    hpux*)
7304
7744
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7305
7745
      # not for PA HP-UX.
7306
 
      case "$host_cpu" in
 
7746
      case $host_cpu in
7307
7747
      hppa*64*|ia64*)
7308
7748
        # +Z the default
7309
7749
        ;;
7329
7769
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7330
7770
      fi
7331
7771
      ;;
 
7772
      darwin*)
 
7773
        # PIC is the default on this platform
 
7774
        # Common symbols not allowed in MH_DYLIB files
 
7775
       case $cc_basename in
 
7776
         xlc*)
 
7777
         lt_prog_compiler_pic='-qnocommon'
 
7778
         lt_prog_compiler_wl='-Wl,'
 
7779
         ;;
 
7780
       esac
 
7781
       ;;
7332
7782
 
7333
7783
    mingw* | pw32* | os2*)
7334
7784
      # This hack is so that the source file can tell whether it is being
7340
7790
      lt_prog_compiler_wl='-Wl,'
7341
7791
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7342
7792
      # not for PA HP-UX.
7343
 
      case "$host_cpu" in
 
7793
      case $host_cpu in
7344
7794
      hppa*64*|ia64*)
7345
7795
        # +Z the default
7346
7796
        ;;
7364
7814
      ;;
7365
7815
 
7366
7816
    linux*)
7367
 
      case $CC in
 
7817
      case $cc_basename in
7368
7818
      icc* | ecc*)
7369
7819
        lt_prog_compiler_wl='-Wl,'
7370
7820
        lt_prog_compiler_pic='-KPIC'
7371
7821
        lt_prog_compiler_static='-static'
7372
7822
        ;;
 
7823
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7824
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
7825
        # which looks to be a dead project)
 
7826
        lt_prog_compiler_wl='-Wl,'
 
7827
        lt_prog_compiler_pic='-fpic'
 
7828
        lt_prog_compiler_static='-Bstatic'
 
7829
        ;;
7373
7830
      ccc*)
7374
7831
        lt_prog_compiler_wl='-Wl,'
7375
7832
        # All Alpha code is PIC.
7390
7847
      ;;
7391
7848
 
7392
7849
    solaris*)
7393
 
      lt_prog_compiler_wl='-Wl,'
7394
7850
      lt_prog_compiler_pic='-KPIC'
7395
7851
      lt_prog_compiler_static='-Bstatic'
 
7852
      case $cc_basename in
 
7853
      f77* | f90* | f95*)
 
7854
        lt_prog_compiler_wl='-Qoption ld ';;
 
7855
      *)
 
7856
        lt_prog_compiler_wl='-Wl,';;
 
7857
      esac
7396
7858
      ;;
7397
7859
 
7398
7860
    sunos4*)
7414
7876
      fi
7415
7877
      ;;
7416
7878
 
 
7879
    unicos*)
 
7880
      lt_prog_compiler_wl='-Wl,'
 
7881
      lt_prog_compiler_can_build_shared=no
 
7882
      ;;
 
7883
 
7417
7884
    uts4*)
7418
7885
      lt_prog_compiler_pic='-pic'
7419
7886
      lt_prog_compiler_static='-Bstatic'
7448
7915
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7449
7916
   # The option is referenced via a variable to avoid confusing sed.
7450
7917
   lt_compile=`echo "$ac_compile" | $SED \
7451
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7918
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7452
7919
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7453
7920
   -e 's:$: $lt_compiler_flag:'`
7454
 
   (eval echo "\"\$as_me:7454: $lt_compile\"" >&5)
 
7921
   (eval echo "\"\$as_me:7921: $lt_compile\"" >&5)
7455
7922
   (eval "$lt_compile" 2>conftest.err)
7456
7923
   ac_status=$?
7457
7924
   cat conftest.err >&5
7458
 
   echo "$as_me:7458: \$? = $ac_status" >&5
 
7925
   echo "$as_me:7925: \$? = $ac_status" >&5
7459
7926
   if (exit $ac_status) && test -s "$ac_outfile"; then
7460
7927
     # The compiler can only warn and ignore the option if not recognized
7461
 
     # So say no if there are warnings
7462
 
     if test ! -s conftest.err; then
 
7928
     # So say no if there are warnings other than the usual output.
 
7929
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
7930
     $SED '/^$/d' conftest.err >conftest.er2
 
7931
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
7463
7932
       lt_prog_compiler_pic_works=yes
7464
7933
     fi
7465
7934
   fi
7480
7949
fi
7481
7950
 
7482
7951
fi
7483
 
case "$host_os" in
 
7952
case $host_os in
7484
7953
  # For platforms which do not support PIC, -DPIC is meaningless:
7485
7954
  *djgpp*)
7486
7955
    lt_prog_compiler_pic=
7502
7971
   mkdir out
7503
7972
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7504
7973
 
7505
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
7506
 
   # that will create temporary files in the current directory regardless of
7507
 
   # the output directory.  Thus, making CWD read-only will cause this test
7508
 
   # to fail, enabling locking or at least warning the user not to do parallel
7509
 
   # builds.
7510
 
   chmod -w .
7511
 
 
7512
7974
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7513
7975
   # Insert the option either (1) after the last *FLAGS variable, or
7514
7976
   # (2) before a word containing "conftest.", or (3) at the end.
7515
7977
   # Note that $ac_compile itself does not contain backslashes and begins
7516
7978
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7517
7979
   lt_compile=`echo "$ac_compile" | $SED \
7518
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7980
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7519
7981
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7520
7982
   -e 's:$: $lt_compiler_flag:'`
7521
 
   (eval echo "\"\$as_me:7521: $lt_compile\"" >&5)
 
7983
   (eval echo "\"\$as_me:7983: $lt_compile\"" >&5)
7522
7984
   (eval "$lt_compile" 2>out/conftest.err)
7523
7985
   ac_status=$?
7524
7986
   cat out/conftest.err >&5
7525
 
   echo "$as_me:7525: \$? = $ac_status" >&5
 
7987
   echo "$as_me:7987: \$? = $ac_status" >&5
7526
7988
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7527
7989
   then
7528
7990
     # The compiler can only warn and ignore the option if not recognized
7529
7991
     # So say no if there are warnings
7530
 
     if test ! -s out/conftest.err; then
 
7992
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 
7993
     $SED '/^$/d' out/conftest.err >out/conftest.er2
 
7994
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7531
7995
       lt_cv_prog_compiler_c_o=yes
7532
7996
     fi
7533
7997
   fi
7534
 
   chmod u+w .
 
7998
   chmod u+w . 2>&5
7535
7999
   $rm conftest*
7536
8000
   # SGI C++ compiler will create directory out/ii_files/ for
7537
8001
   # template instantiation
7607
8071
  # rely on this symbol name, it's probably fine to never include it in
7608
8072
  # preloaded symbol tables.
7609
8073
  extract_expsyms_cmds=
 
8074
  # Just being paranoid about ensuring that cc_basename is set.
 
8075
  for cc_temp in $compiler""; do
 
8076
  case $cc_temp in
 
8077
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8078
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8079
    \-*) ;;
 
8080
    *) break;;
 
8081
  esac
 
8082
done
 
8083
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7610
8084
 
7611
8085
  case $host_os in
7612
8086
  cygwin* | mingw* | pw32*)
7627
8101
    # If archive_cmds runs LD, not CC, wlarc should be empty
7628
8102
    wlarc='${wl}'
7629
8103
 
 
8104
    # Set some defaults for GNU ld with shared library support. These
 
8105
    # are reset later if shared libraries are not supported. Putting them
 
8106
    # here allows them to be overridden if necessary.
 
8107
    runpath_var=LD_RUN_PATH
 
8108
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8109
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8110
    # ancient GNU ld didn't support --whole-archive et. al.
 
8111
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
8112
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8113
      else
 
8114
        whole_archive_flag_spec=
 
8115
    fi
 
8116
    supports_anon_versioning=no
 
8117
    case `$LD -v 2>/dev/null` in
 
8118
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8119
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8120
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8121
      *\ 2.11.*) ;; # other 2.11 versions
 
8122
      *) supports_anon_versioning=yes ;;
 
8123
    esac
 
8124
 
7630
8125
    # See if GNU ld supports shared libraries.
7631
8126
    case $host_os in
7632
8127
    aix3* | aix4* | aix5*)
7677
8172
      allow_undefined_flag=unsupported
7678
8173
      always_export_symbols=no
7679
8174
      enable_shared_with_static_runtimes=yes
7680
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8175
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7681
8176
 
7682
8177
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7683
8178
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7695
8190
      fi
7696
8191
      ;;
7697
8192
 
 
8193
    linux*)
 
8194
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8195
        tmp_addflag=
 
8196
        case $cc_basename,$host_cpu in
 
8197
        pgcc*)                          # Portland Group C compiler
 
8198
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8199
          tmp_addflag=' $pic_flag'
 
8200
          ;;
 
8201
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8202
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8203
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8204
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8205
          tmp_addflag=' -i_dynamic' ;;
 
8206
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8207
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8208
        ifc* | ifort*)                  # Intel Fortran compiler
 
8209
          tmp_addflag=' -nofor_main' ;;
 
8210
        esac
 
8211
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8212
 
 
8213
        if test $supports_anon_versioning = yes; then
 
8214
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
8215
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8216
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
8217
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8218
        fi
 
8219
      else
 
8220
        ld_shlibs=no
 
8221
      fi
 
8222
      ;;
 
8223
 
7698
8224
    netbsd*)
7699
8225
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7700
8226
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7743
8269
      ;;
7744
8270
    esac
7745
8271
 
7746
 
    if test "$ld_shlibs" = yes; then
7747
 
      runpath_var=LD_RUN_PATH
7748
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7749
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
7750
 
      # ancient GNU ld didn't support --whole-archive et. al.
7751
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7752
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7753
 
      else
7754
 
        whole_archive_flag_spec=
7755
 
      fi
 
8272
    if test "$ld_shlibs" = no; then
 
8273
      runpath_var=
 
8274
      hardcode_libdir_flag_spec=
 
8275
      export_dynamic_flag_spec=
 
8276
      whole_archive_flag_spec=
7756
8277
    fi
7757
8278
  else
7758
8279
    # PORTME fill in a description of your system's linker (not GNU ld)
7816
8337
      link_all_deplibs=yes
7817
8338
 
7818
8339
      if test "$GCC" = yes; then
7819
 
        case $host_os in aix4.012|aix4.012.*)
 
8340
        case $host_os in aix4.[012]|aix4.[012].*)
7820
8341
        # We only want to do this on AIX 4.2 and lower, the check
7821
8342
        # below for broken collect2 doesn't work under 4.3+
7822
8343
          collect2name=`${CC} -print-prog-name=collect2`
7837
8358
          fi
7838
8359
        esac
7839
8360
        shared_flag='-shared'
 
8361
        if test "$aix_use_runtimelinking" = yes; then
 
8362
          shared_flag="$shared_flag "'${wl}-G'
 
8363
        fi
7840
8364
      else
7841
8365
        # not using gcc
7842
8366
        if test "$host_cpu" = ia64; then
7861
8385
        allow_undefined_flag='-berok'
7862
8386
       # Determine the default libpath from the value encoded in an empty executable.
7863
8387
       cat >conftest.$ac_ext <<_ACEOF
7864
 
#line $LINENO "configure"
7865
8388
/* confdefs.h.  */
7866
8389
_ACEOF
7867
8390
cat confdefs.h >>conftest.$ac_ext
7878
8401
_ACEOF
7879
8402
rm -f conftest.$ac_objext conftest$ac_exeext
7880
8403
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7881
 
  (eval $ac_link) 2>&5
 
8404
  (eval $ac_link) 2>conftest.er1
7882
8405
  ac_status=$?
 
8406
  grep -v '^ *+' conftest.er1 >conftest.err
 
8407
  rm -f conftest.er1
 
8408
  cat conftest.err >&5
7883
8409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884
8410
  (exit $ac_status); } &&
7885
 
         { ac_try='test -s conftest$ac_exeext'
 
8411
         { ac_try='test -z "$ac_c_werror_flag"
 
8412
                         || test ! -s conftest.err'
 
8413
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8414
  (eval $ac_try) 2>&5
 
8415
  ac_status=$?
 
8416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8417
  (exit $ac_status); }; } &&
 
8418
         { ac_try='test -s conftest$ac_exeext'
7886
8419
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887
8420
  (eval $ac_try) 2>&5
7888
8421
  ac_status=$?
7899
8432
sed 's/^/| /' conftest.$ac_ext >&5
7900
8433
 
7901
8434
fi
7902
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8435
rm -f conftest.err conftest.$ac_objext \
 
8436
      conftest$ac_exeext conftest.$ac_ext
7903
8437
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7904
8438
 
7905
8439
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7912
8446
        else
7913
8447
         # Determine the default libpath from the value encoded in an empty executable.
7914
8448
         cat >conftest.$ac_ext <<_ACEOF
7915
 
#line $LINENO "configure"
7916
8449
/* confdefs.h.  */
7917
8450
_ACEOF
7918
8451
cat confdefs.h >>conftest.$ac_ext
7929
8462
_ACEOF
7930
8463
rm -f conftest.$ac_objext conftest$ac_exeext
7931
8464
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7932
 
  (eval $ac_link) 2>&5
 
8465
  (eval $ac_link) 2>conftest.er1
7933
8466
  ac_status=$?
 
8467
  grep -v '^ *+' conftest.er1 >conftest.err
 
8468
  rm -f conftest.er1
 
8469
  cat conftest.err >&5
7934
8470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935
8471
  (exit $ac_status); } &&
7936
 
         { ac_try='test -s conftest$ac_exeext'
 
8472
         { ac_try='test -z "$ac_c_werror_flag"
 
8473
                         || test ! -s conftest.err'
 
8474
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8475
  (eval $ac_try) 2>&5
 
8476
  ac_status=$?
 
8477
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8478
  (exit $ac_status); }; } &&
 
8479
         { ac_try='test -s conftest$ac_exeext'
7937
8480
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7938
8481
  (eval $ac_try) 2>&5
7939
8482
  ac_status=$?
7950
8493
sed 's/^/| /' conftest.$ac_ext >&5
7951
8494
 
7952
8495
fi
7953
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8496
rm -f conftest.err conftest.$ac_objext \
 
8497
      conftest$ac_exeext conftest.$ac_ext
7954
8498
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7955
8499
 
7956
8500
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7963
8507
          # Exported symbols can be pulled into shared objects from archives
7964
8508
          whole_archive_flag_spec=' '
7965
8509
          archive_cmds_need_lc=yes
7966
 
          # This is similar to how AIX traditionally builds it's shared libraries.
 
8510
          # This is similar to how AIX traditionally builds its shared libraries.
7967
8511
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7968
8512
        fi
7969
8513
      fi
7977
8521
      ld_shlibs=no
7978
8522
      ;;
7979
8523
 
7980
 
    bsdi4*)
 
8524
    bsdi[45]*)
7981
8525
      export_dynamic_flag_spec=-rdynamic
7982
8526
      ;;
7983
8527
 
7991
8535
      # Tell ltmain to make .lib files, not .a files.
7992
8536
      libext=lib
7993
8537
      # Tell ltmain to make .dll files, not .so files.
7994
 
      shrext=".dll"
 
8538
      shrext_cmds=".dll"
7995
8539
      # FIXME: Setting linknames here is a bad hack.
7996
8540
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7997
8541
      # The linker will automatically build a .lib file if we build a DLL.
8003
8547
      ;;
8004
8548
 
8005
8549
    darwin* | rhapsody*)
8006
 
    if test "$GXX" = yes ; then
 
8550
      case $host_os in
 
8551
        rhapsody* | darwin1.[012])
 
8552
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
8553
         ;;
 
8554
       *) # Darwin 1.3 on
 
8555
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
8556
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8557
         else
 
8558
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
8559
             10.[012])
 
8560
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8561
               ;;
 
8562
             10.*)
 
8563
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
8564
               ;;
 
8565
           esac
 
8566
         fi
 
8567
         ;;
 
8568
      esac
8007
8569
      archive_cmds_need_lc=no
8008
 
      case "$host_os" in
8009
 
      rhapsody* | darwin1.[012])
8010
 
        allow_undefined_flag='-undefined suppress'
8011
 
        ;;
8012
 
      *) # Darwin 1.3 on
8013
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8014
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
8015
 
      else
8016
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
8017
 
          10.[012])
8018
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
8019
 
            ;;
8020
 
          10.*)
8021
 
            allow_undefined_flag='-undefined dynamic_lookup'
8022
 
            ;;
8023
 
        esac
8024
 
      fi
8025
 
        ;;
8026
 
      esac
8027
 
        lt_int_apple_cc_single_mod=no
8028
 
        output_verbose_link_cmd='echo'
8029
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
8030
 
          lt_int_apple_cc_single_mod=yes
8031
 
        fi
8032
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8033
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8034
 
        else
8035
 
        archive_cmds='$CC -r ${wl}-bind_at_load -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'
8036
 
      fi
8037
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8038
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8039
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8040
 
          archive_expsym_cmds='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}'
8041
 
        else
8042
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
8043
 
        fi
8044
 
          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}'
8045
8570
      hardcode_direct=no
8046
8571
      hardcode_automatic=yes
8047
8572
      hardcode_shlibpath_var=unsupported
8048
 
      whole_archive_flag_spec='-all_load $convenience'
 
8573
      whole_archive_flag_spec=''
8049
8574
      link_all_deplibs=yes
 
8575
    if test "$GCC" = yes ; then
 
8576
        output_verbose_link_cmd='echo'
 
8577
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
8578
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8579
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8580
      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}'
 
8581
      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}'
8050
8582
    else
8051
 
      ld_shlibs=no
 
8583
      case $cc_basename in
 
8584
        xlc*)
 
8585
         output_verbose_link_cmd='echo'
 
8586
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8587
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8588
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8589
         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}'
 
8590
          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}'
 
8591
          ;;
 
8592
       *)
 
8593
         ld_shlibs=no
 
8594
          ;;
 
8595
      esac
8052
8596
    fi
8053
8597
      ;;
8054
8598
 
8082
8626
      ;;
8083
8627
 
8084
8628
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8085
 
    freebsd* | kfreebsd*-gnu)
 
8629
    freebsd* | kfreebsd*-gnu | dragonfly*)
8086
8630
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8087
8631
      hardcode_libdir_flag_spec='-R$libdir'
8088
8632
      hardcode_direct=yes
8107
8651
 
8108
8652
    hpux10* | hpux11*)
8109
8653
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8110
 
        case "$host_cpu" in
 
8654
        case $host_cpu in
8111
8655
        hppa*64*|ia64*)
8112
8656
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8113
8657
          ;;
8116
8660
          ;;
8117
8661
        esac
8118
8662
      else
8119
 
        case "$host_cpu" in
 
8663
        case $host_cpu in
8120
8664
        hppa*64*|ia64*)
8121
8665
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
8122
8666
          ;;
8126
8670
        esac
8127
8671
      fi
8128
8672
      if test "$with_gnu_ld" = no; then
8129
 
        case "$host_cpu" in
 
8673
        case $host_cpu in
8130
8674
        hppa*64*)
8131
8675
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8132
8676
          hardcode_libdir_flag_spec_ld='+b $libdir'
8193
8737
      hardcode_shlibpath_var=no
8194
8738
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8195
8739
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8740
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8196
8741
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8197
8742
        export_dynamic_flag_spec='${wl}-E'
8198
8743
      else
8238
8783
        allow_undefined_flag=' -expect_unresolved \*'
8239
8784
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8240
8785
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8241
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
8786
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8242
8787
 
8243
8788
        # Both c and cxx compiler support -rpath directly
8244
8789
        hardcode_libdir_flag_spec='-rpath $libdir'
8257
8802
    solaris*)
8258
8803
      no_undefined_flag=' -z text'
8259
8804
      if test "$GCC" = yes; then
 
8805
        wlarc='${wl}'
8260
8806
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8261
8807
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8262
8808
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8263
8809
      else
 
8810
        wlarc=''
8264
8811
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8265
8812
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8266
8813
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8269
8816
      hardcode_shlibpath_var=no
8270
8817
      case $host_os in
8271
8818
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8272
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
8273
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
8819
      *)
 
8820
        # The compiler driver will combine linker options so we
 
8821
        # cannot just pass the convience library names through
 
8822
        # without $wl, iff we do not link with $LD.
 
8823
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8824
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
8825
        case $wlarc in
 
8826
        '')
 
8827
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
8828
        *)
 
8829
          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' ;;
 
8830
        esac ;;
8274
8831
      esac
8275
8832
      link_all_deplibs=yes
8276
8833
      ;;
8447
9004
library_names_spec=
8448
9005
libname_spec='lib$name'
8449
9006
soname_spec=
8450
 
shrext=".so"
 
9007
shrext_cmds=".so"
8451
9008
postinstall_cmds=
8452
9009
postuninstall_cmds=
8453
9010
finish_cmds=
8544
9101
  shlibpath_var=LIBRARY_PATH
8545
9102
  ;;
8546
9103
 
8547
 
bsdi4*)
 
9104
bsdi[45]*)
8548
9105
  version_type=linux
8549
9106
  need_version=no
8550
9107
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8560
9117
 
8561
9118
cygwin* | mingw* | pw32*)
8562
9119
  version_type=windows
8563
 
  shrext=".dll"
 
9120
  shrext_cmds=".dll"
8564
9121
  need_version=no
8565
9122
  need_lib_prefix=no
8566
9123
 
8572
9129
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8573
9130
      dldir=$destdir/`dirname \$dlpath`~
8574
9131
      test -d \$dldir || mkdir -p \$dldir~
8575
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
9132
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9133
      chmod a+x \$dldir/$dlname'
8576
9134
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8577
9135
      dlpath=$dir/\$dldll~
8578
9136
       $rm \$dlpath'
8602
9160
      ;;
8603
9161
    pw32*)
8604
9162
      # pw32 DLLs use 'pw' prefix rather than 'lib'
8605
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
9163
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8606
9164
      ;;
8607
9165
    esac
8608
9166
    ;;
8625
9183
  soname_spec='${libname}${release}${major}$shared_ext'
8626
9184
  shlibpath_overrides_runpath=yes
8627
9185
  shlibpath_var=DYLD_LIBRARY_PATH
8628
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
9186
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8629
9187
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8630
9188
  if test "$GCC" = yes; then
8631
9189
    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"`
8660
9218
  dynamic_linker='GNU ld.so'
8661
9219
  ;;
8662
9220
 
8663
 
freebsd*)
8664
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
9221
freebsd* | dragonfly*)
 
9222
  # DragonFly does not have aout.  When/if they implement a new
 
9223
  # versioning mechanism, adjust this.
 
9224
  if test -x /usr/bin/objformat; then
 
9225
    objformat=`/usr/bin/objformat`
 
9226
  else
 
9227
    case $host_os in
 
9228
    freebsd[123]*) objformat=aout ;;
 
9229
    *) objformat=elf ;;
 
9230
    esac
 
9231
  fi
8665
9232
  version_type=freebsd-$objformat
8666
9233
  case $version_type in
8667
9234
    freebsd-elf*)
8679
9246
  freebsd2*)
8680
9247
    shlibpath_overrides_runpath=yes
8681
9248
    ;;
8682
 
  freebsd3.01* | freebsdelf3.01*)
 
9249
  freebsd3.[01]* | freebsdelf3.[01]*)
8683
9250
    shlibpath_overrides_runpath=yes
8684
9251
    hardcode_into_libs=yes
8685
9252
    ;;
8706
9273
  version_type=sunos
8707
9274
  need_lib_prefix=no
8708
9275
  need_version=no
8709
 
  case "$host_cpu" in
 
9276
  case $host_cpu in
8710
9277
  ia64*)
8711
 
    shrext='.so'
 
9278
    shrext_cmds='.so'
8712
9279
    hardcode_into_libs=yes
8713
9280
    dynamic_linker="$host_os dld.so"
8714
9281
    shlibpath_var=LD_LIBRARY_PATH
8723
9290
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8724
9291
    ;;
8725
9292
   hppa*64*)
8726
 
     shrext='.sl'
 
9293
     shrext_cmds='.sl'
8727
9294
     hardcode_into_libs=yes
8728
9295
     dynamic_linker="$host_os dld.sl"
8729
9296
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8734
9301
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8735
9302
     ;;
8736
9303
   *)
8737
 
    shrext='.sl'
 
9304
    shrext_cmds='.sl'
8738
9305
    dynamic_linker="$host_os dld.sl"
8739
9306
    shlibpath_var=SHLIB_PATH
8740
9307
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8803
9370
  # before this can be enabled.
8804
9371
  hardcode_into_libs=yes
8805
9372
 
 
9373
  # find out which ABI we are using
 
9374
  libsuff=
 
9375
  case "$host_cpu" in
 
9376
  x86_64*|s390x*|powerpc64*)
 
9377
    echo '#line 9377 "configure"' > conftest.$ac_ext
 
9378
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9379
  (eval $ac_compile) 2>&5
 
9380
  ac_status=$?
 
9381
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9382
  (exit $ac_status); }; then
 
9383
      case `/usr/bin/file conftest.$ac_objext` in
 
9384
      *64-bit*)
 
9385
        libsuff=64
 
9386
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
 
9387
        ;;
 
9388
      esac
 
9389
    fi
 
9390
    rm -rf conftest*
 
9391
    ;;
 
9392
  esac
 
9393
 
 
9394
  # Append ld.so.conf contents to the search path
 
9395
  if test -f /etc/ld.so.conf; then
 
9396
    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' ' '`
 
9397
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
9398
  fi
 
9399
 
8806
9400
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8807
9401
  # powerpc, because MkLinux only supported shared libraries with the
8808
9402
  # GNU dynamic linker.  Since this was broken with cross compilers,
8833
9427
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8834
9428
    dynamic_linker='NetBSD (a.out) ld.so'
8835
9429
  else
8836
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
 
9430
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8837
9431
    soname_spec='${libname}${release}${shared_ext}$major'
8838
9432
    dynamic_linker='NetBSD ld.elf_so'
8839
9433
  fi
8862
9456
openbsd*)
8863
9457
  version_type=sunos
8864
9458
  need_lib_prefix=no
8865
 
  need_version=yes
 
9459
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9460
  case $host_os in
 
9461
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
9462
    *)                         need_version=no  ;;
 
9463
  esac
8866
9464
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8867
9465
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8868
9466
  shlibpath_var=LD_LIBRARY_PATH
8882
9480
 
8883
9481
os2*)
8884
9482
  libname_spec='$name'
8885
 
  shrext=".dll"
 
9483
  shrext_cmds=".dll"
8886
9484
  need_lib_prefix=no
8887
9485
  library_names_spec='$libname${shared_ext} $libname.a'
8888
9486
  dynamic_linker='OS/2 ld.exe'
8984
9582
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8985
9583
hardcode_action=
8986
9584
if test -n "$hardcode_libdir_flag_spec" || \
8987
 
   test -n "$runpath_var " || \
8988
 
   test "X$hardcode_automatic"="Xyes" ; then
 
9585
   test -n "$runpath_var" || \
 
9586
   test "X$hardcode_automatic" = "Xyes" ; then
8989
9587
 
8990
9588
  # We can hardcode non-existant directories.
8991
9589
  if test "$hardcode_direct" != no &&
9081
9679
  ac_check_lib_save_LIBS=$LIBS
9082
9680
LIBS="-ldl  $LIBS"
9083
9681
cat >conftest.$ac_ext <<_ACEOF
9084
 
#line $LINENO "configure"
9085
9682
/* confdefs.h.  */
9086
9683
_ACEOF
9087
9684
cat confdefs.h >>conftest.$ac_ext
9105
9702
_ACEOF
9106
9703
rm -f conftest.$ac_objext conftest$ac_exeext
9107
9704
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9108
 
  (eval $ac_link) 2>&5
 
9705
  (eval $ac_link) 2>conftest.er1
9109
9706
  ac_status=$?
 
9707
  grep -v '^ *+' conftest.er1 >conftest.err
 
9708
  rm -f conftest.er1
 
9709
  cat conftest.err >&5
9110
9710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111
9711
  (exit $ac_status); } &&
9112
 
         { ac_try='test -s conftest$ac_exeext'
 
9712
         { ac_try='test -z "$ac_c_werror_flag"
 
9713
                         || test ! -s conftest.err'
 
9714
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9715
  (eval $ac_try) 2>&5
 
9716
  ac_status=$?
 
9717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9718
  (exit $ac_status); }; } &&
 
9719
         { ac_try='test -s conftest$ac_exeext'
9113
9720
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9114
9721
  (eval $ac_try) 2>&5
9115
9722
  ac_status=$?
9122
9729
 
9123
9730
ac_cv_lib_dl_dlopen=no
9124
9731
fi
9125
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9732
rm -f conftest.err conftest.$ac_objext \
 
9733
      conftest$ac_exeext conftest.$ac_ext
9126
9734
LIBS=$ac_check_lib_save_LIBS
9127
9735
fi
9128
9736
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9146
9754
  echo $ECHO_N "(cached) $ECHO_C" >&6
9147
9755
else
9148
9756
  cat >conftest.$ac_ext <<_ACEOF
9149
 
#line $LINENO "configure"
9150
9757
/* confdefs.h.  */
9151
9758
_ACEOF
9152
9759
cat confdefs.h >>conftest.$ac_ext
9153
9760
cat >>conftest.$ac_ext <<_ACEOF
9154
9761
/* end confdefs.h.  */
 
9762
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
9763
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
9764
#define shl_load innocuous_shl_load
 
9765
 
9155
9766
/* System header to define __stub macros and hopefully few prototypes,
9156
9767
    which can conflict with char shl_load (); below.
9157
9768
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9158
9769
    <limits.h> exists even on freestanding compilers.  */
 
9770
 
9159
9771
#ifdef __STDC__
9160
9772
# include <limits.h>
9161
9773
#else
9162
9774
# include <assert.h>
9163
9775
#endif
 
9776
 
 
9777
#undef shl_load
 
9778
 
9164
9779
/* Override any gcc2 internal prototype to avoid an error.  */
9165
9780
#ifdef __cplusplus
9166
9781
extern "C"
9191
9806
_ACEOF
9192
9807
rm -f conftest.$ac_objext conftest$ac_exeext
9193
9808
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9194
 
  (eval $ac_link) 2>&5
 
9809
  (eval $ac_link) 2>conftest.er1
9195
9810
  ac_status=$?
 
9811
  grep -v '^ *+' conftest.er1 >conftest.err
 
9812
  rm -f conftest.er1
 
9813
  cat conftest.err >&5
9196
9814
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197
9815
  (exit $ac_status); } &&
9198
 
         { ac_try='test -s conftest$ac_exeext'
 
9816
         { ac_try='test -z "$ac_c_werror_flag"
 
9817
                         || test ! -s conftest.err'
 
9818
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9819
  (eval $ac_try) 2>&5
 
9820
  ac_status=$?
 
9821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9822
  (exit $ac_status); }; } &&
 
9823
         { ac_try='test -s conftest$ac_exeext'
9199
9824
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9200
9825
  (eval $ac_try) 2>&5
9201
9826
  ac_status=$?
9208
9833
 
9209
9834
ac_cv_func_shl_load=no
9210
9835
fi
9211
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9836
rm -f conftest.err conftest.$ac_objext \
 
9837
      conftest$ac_exeext conftest.$ac_ext
9212
9838
fi
9213
9839
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9214
9840
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9223
9849
  ac_check_lib_save_LIBS=$LIBS
9224
9850
LIBS="-ldld  $LIBS"
9225
9851
cat >conftest.$ac_ext <<_ACEOF
9226
 
#line $LINENO "configure"
9227
9852
/* confdefs.h.  */
9228
9853
_ACEOF
9229
9854
cat confdefs.h >>conftest.$ac_ext
9247
9872
_ACEOF
9248
9873
rm -f conftest.$ac_objext conftest$ac_exeext
9249
9874
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9250
 
  (eval $ac_link) 2>&5
 
9875
  (eval $ac_link) 2>conftest.er1
9251
9876
  ac_status=$?
 
9877
  grep -v '^ *+' conftest.er1 >conftest.err
 
9878
  rm -f conftest.er1
 
9879
  cat conftest.err >&5
9252
9880
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253
9881
  (exit $ac_status); } &&
9254
 
         { ac_try='test -s conftest$ac_exeext'
 
9882
         { ac_try='test -z "$ac_c_werror_flag"
 
9883
                         || test ! -s conftest.err'
 
9884
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9885
  (eval $ac_try) 2>&5
 
9886
  ac_status=$?
 
9887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9888
  (exit $ac_status); }; } &&
 
9889
         { ac_try='test -s conftest$ac_exeext'
9255
9890
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256
9891
  (eval $ac_try) 2>&5
9257
9892
  ac_status=$?
9264
9899
 
9265
9900
ac_cv_lib_dld_shl_load=no
9266
9901
fi
9267
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9902
rm -f conftest.err conftest.$ac_objext \
 
9903
      conftest$ac_exeext conftest.$ac_ext
9268
9904
LIBS=$ac_check_lib_save_LIBS
9269
9905
fi
9270
9906
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9278
9914
  echo $ECHO_N "(cached) $ECHO_C" >&6
9279
9915
else
9280
9916
  cat >conftest.$ac_ext <<_ACEOF
9281
 
#line $LINENO "configure"
9282
9917
/* confdefs.h.  */
9283
9918
_ACEOF
9284
9919
cat confdefs.h >>conftest.$ac_ext
9285
9920
cat >>conftest.$ac_ext <<_ACEOF
9286
9921
/* end confdefs.h.  */
 
9922
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
9923
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
9924
#define dlopen innocuous_dlopen
 
9925
 
9287
9926
/* System header to define __stub macros and hopefully few prototypes,
9288
9927
    which can conflict with char dlopen (); below.
9289
9928
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9290
9929
    <limits.h> exists even on freestanding compilers.  */
 
9930
 
9291
9931
#ifdef __STDC__
9292
9932
# include <limits.h>
9293
9933
#else
9294
9934
# include <assert.h>
9295
9935
#endif
 
9936
 
 
9937
#undef dlopen
 
9938
 
9296
9939
/* Override any gcc2 internal prototype to avoid an error.  */
9297
9940
#ifdef __cplusplus
9298
9941
extern "C"
9323
9966
_ACEOF
9324
9967
rm -f conftest.$ac_objext conftest$ac_exeext
9325
9968
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9326
 
  (eval $ac_link) 2>&5
 
9969
  (eval $ac_link) 2>conftest.er1
9327
9970
  ac_status=$?
 
9971
  grep -v '^ *+' conftest.er1 >conftest.err
 
9972
  rm -f conftest.er1
 
9973
  cat conftest.err >&5
9328
9974
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329
9975
  (exit $ac_status); } &&
9330
 
         { ac_try='test -s conftest$ac_exeext'
 
9976
         { ac_try='test -z "$ac_c_werror_flag"
 
9977
                         || test ! -s conftest.err'
 
9978
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9979
  (eval $ac_try) 2>&5
 
9980
  ac_status=$?
 
9981
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9982
  (exit $ac_status); }; } &&
 
9983
         { ac_try='test -s conftest$ac_exeext'
9331
9984
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9332
9985
  (eval $ac_try) 2>&5
9333
9986
  ac_status=$?
9340
9993
 
9341
9994
ac_cv_func_dlopen=no
9342
9995
fi
9343
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
9996
rm -f conftest.err conftest.$ac_objext \
 
9997
      conftest$ac_exeext conftest.$ac_ext
9344
9998
fi
9345
9999
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9346
10000
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9355
10009
  ac_check_lib_save_LIBS=$LIBS
9356
10010
LIBS="-ldl  $LIBS"
9357
10011
cat >conftest.$ac_ext <<_ACEOF
9358
 
#line $LINENO "configure"
9359
10012
/* confdefs.h.  */
9360
10013
_ACEOF
9361
10014
cat confdefs.h >>conftest.$ac_ext
9379
10032
_ACEOF
9380
10033
rm -f conftest.$ac_objext conftest$ac_exeext
9381
10034
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9382
 
  (eval $ac_link) 2>&5
 
10035
  (eval $ac_link) 2>conftest.er1
9383
10036
  ac_status=$?
 
10037
  grep -v '^ *+' conftest.er1 >conftest.err
 
10038
  rm -f conftest.er1
 
10039
  cat conftest.err >&5
9384
10040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385
10041
  (exit $ac_status); } &&
9386
 
         { ac_try='test -s conftest$ac_exeext'
 
10042
         { ac_try='test -z "$ac_c_werror_flag"
 
10043
                         || test ! -s conftest.err'
 
10044
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10045
  (eval $ac_try) 2>&5
 
10046
  ac_status=$?
 
10047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10048
  (exit $ac_status); }; } &&
 
10049
         { ac_try='test -s conftest$ac_exeext'
9387
10050
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9388
10051
  (eval $ac_try) 2>&5
9389
10052
  ac_status=$?
9396
10059
 
9397
10060
ac_cv_lib_dl_dlopen=no
9398
10061
fi
9399
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10062
rm -f conftest.err conftest.$ac_objext \
 
10063
      conftest$ac_exeext conftest.$ac_ext
9400
10064
LIBS=$ac_check_lib_save_LIBS
9401
10065
fi
9402
10066
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9412
10076
  ac_check_lib_save_LIBS=$LIBS
9413
10077
LIBS="-lsvld  $LIBS"
9414
10078
cat >conftest.$ac_ext <<_ACEOF
9415
 
#line $LINENO "configure"
9416
10079
/* confdefs.h.  */
9417
10080
_ACEOF
9418
10081
cat confdefs.h >>conftest.$ac_ext
9436
10099
_ACEOF
9437
10100
rm -f conftest.$ac_objext conftest$ac_exeext
9438
10101
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9439
 
  (eval $ac_link) 2>&5
 
10102
  (eval $ac_link) 2>conftest.er1
9440
10103
  ac_status=$?
 
10104
  grep -v '^ *+' conftest.er1 >conftest.err
 
10105
  rm -f conftest.er1
 
10106
  cat conftest.err >&5
9441
10107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442
10108
  (exit $ac_status); } &&
9443
 
         { ac_try='test -s conftest$ac_exeext'
 
10109
         { ac_try='test -z "$ac_c_werror_flag"
 
10110
                         || test ! -s conftest.err'
 
10111
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10112
  (eval $ac_try) 2>&5
 
10113
  ac_status=$?
 
10114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10115
  (exit $ac_status); }; } &&
 
10116
         { ac_try='test -s conftest$ac_exeext'
9444
10117
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9445
10118
  (eval $ac_try) 2>&5
9446
10119
  ac_status=$?
9453
10126
 
9454
10127
ac_cv_lib_svld_dlopen=no
9455
10128
fi
9456
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10129
rm -f conftest.err conftest.$ac_objext \
 
10130
      conftest$ac_exeext conftest.$ac_ext
9457
10131
LIBS=$ac_check_lib_save_LIBS
9458
10132
fi
9459
10133
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9469
10143
  ac_check_lib_save_LIBS=$LIBS
9470
10144
LIBS="-ldld  $LIBS"
9471
10145
cat >conftest.$ac_ext <<_ACEOF
9472
 
#line $LINENO "configure"
9473
10146
/* confdefs.h.  */
9474
10147
_ACEOF
9475
10148
cat confdefs.h >>conftest.$ac_ext
9493
10166
_ACEOF
9494
10167
rm -f conftest.$ac_objext conftest$ac_exeext
9495
10168
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9496
 
  (eval $ac_link) 2>&5
 
10169
  (eval $ac_link) 2>conftest.er1
9497
10170
  ac_status=$?
 
10171
  grep -v '^ *+' conftest.er1 >conftest.err
 
10172
  rm -f conftest.er1
 
10173
  cat conftest.err >&5
9498
10174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499
10175
  (exit $ac_status); } &&
9500
 
         { ac_try='test -s conftest$ac_exeext'
 
10176
         { ac_try='test -z "$ac_c_werror_flag"
 
10177
                         || test ! -s conftest.err'
 
10178
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10179
  (eval $ac_try) 2>&5
 
10180
  ac_status=$?
 
10181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10182
  (exit $ac_status); }; } &&
 
10183
         { ac_try='test -s conftest$ac_exeext'
9501
10184
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502
10185
  (eval $ac_try) 2>&5
9503
10186
  ac_status=$?
9510
10193
 
9511
10194
ac_cv_lib_dld_dld_link=no
9512
10195
fi
9513
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10196
rm -f conftest.err conftest.$ac_objext \
 
10197
      conftest$ac_exeext conftest.$ac_ext
9514
10198
LIBS=$ac_check_lib_save_LIBS
9515
10199
fi
9516
10200
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9565
10249
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9566
10250
  lt_status=$lt_dlunknown
9567
10251
  cat > conftest.$ac_ext <<EOF
9568
 
#line 9568 "configure"
 
10252
#line 10252 "configure"
9569
10253
#include "confdefs.h"
9570
10254
 
9571
10255
#if HAVE_DLFCN_H
9631
10315
  ac_status=$?
9632
10316
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633
10317
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9634
 
    (./conftest; exit; ) 2>/dev/null
 
10318
    (./conftest; exit; ) >&5 2>/dev/null
9635
10319
    lt_status=$?
9636
10320
    case x$lt_status in
9637
10321
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9663
10347
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9664
10348
  lt_status=$lt_dlunknown
9665
10349
  cat > conftest.$ac_ext <<EOF
9666
 
#line 9666 "configure"
 
10350
#line 10350 "configure"
9667
10351
#include "confdefs.h"
9668
10352
 
9669
10353
#if HAVE_DLFCN_H
9729
10413
  ac_status=$?
9730
10414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731
10415
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9732
 
    (./conftest; exit; ) 2>/dev/null
 
10416
    (./conftest; exit; ) >&5 2>/dev/null
9733
10417
    lt_status=$?
9734
10418
    case x$lt_status in
9735
10419
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9779
10463
 
9780
10464
# On AIX, shared libraries and static libraries use the same namespace, and
9781
10465
# are all built from PIC.
9782
 
case "$host_os" in
 
10466
case $host_os in
9783
10467
aix3*)
9784
10468
  test "$enable_shared" = yes && enable_static=no
9785
10469
  if test -n "$RANLIB"; then
9788
10472
  fi
9789
10473
  ;;
9790
10474
 
9791
 
aix4*)
 
10475
aix4* | aix5*)
9792
10476
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9793
10477
    test "$enable_shared" = yes && enable_static=no
9794
10478
  fi
9795
 
  ;;
9796
 
  darwin* | rhapsody*)
9797
 
  if test "$GCC" = yes; then
9798
 
    archive_cmds_need_lc=no
9799
 
    case "$host_os" in
9800
 
    rhapsody* | darwin1.[012])
9801
 
      allow_undefined_flag='-undefined suppress'
9802
 
      ;;
9803
 
    *) # Darwin 1.3 on
9804
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9805
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
9806
 
      else
9807
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
9808
 
          10.[012])
9809
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
9810
 
            ;;
9811
 
          10.*)
9812
 
            allow_undefined_flag='-undefined dynamic_lookup'
9813
 
            ;;
9814
 
        esac
9815
 
      fi
9816
 
      ;;
9817
 
    esac
9818
 
    output_verbose_link_cmd='echo'
9819
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9820
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9821
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9822
 
    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}'
9823
 
    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}'
9824
 
    hardcode_direct=no
9825
 
    hardcode_automatic=yes
9826
 
    hardcode_shlibpath_var=unsupported
9827
 
    whole_archive_flag_spec='-all_load $convenience'
9828
 
    link_all_deplibs=yes
9829
 
  else
9830
 
    ld_shlibs=no
9831
 
  fi
9832
10479
    ;;
9833
10480
esac
9834
10481
echo "$as_me:$LINENO: result: $enable_shared" >&5
9854
10501
  # Now quote all the things that may contain metacharacters while being
9855
10502
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9856
10503
  # variables and quote the copies for generation of the libtool script.
9857
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
 
10504
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
10505
    SED SHELL STRIP \
9858
10506
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9859
10507
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9860
10508
    deplibs_check_method reload_flag reload_cmds need_locks \
9957
10605
#
9958
10606
# You should have received a copy of the GNU General Public License
9959
10607
# along with this program; if not, write to the Free Software
9960
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
10608
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9961
10609
#
9962
10610
# As a special exception to the GNU General Public License, if you
9963
10611
# distribute this file as part of a program that contains a
9968
10616
SED=$lt_SED
9969
10617
 
9970
10618
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9971
 
Xsed="$SED -e s/^X//"
 
10619
Xsed="$SED -e 1s/^X//"
9972
10620
 
9973
10621
# The HP-UX ksh and POSIX shell print the target directory to stdout
9974
10622
# if CDPATH is set.
9975
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
10623
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9976
10624
 
9977
10625
# The names of the tagged configurations supported by this script.
9978
10626
available_tags=
10002
10650
# The host system.
10003
10651
host_alias=$host_alias
10004
10652
host=$host
 
10653
host_os=$host_os
 
10654
 
 
10655
# The build system.
 
10656
build_alias=$build_alias
 
10657
build=$build
 
10658
build_os=$build_os
10005
10659
 
10006
10660
# An echo program that does not interpret backslashes.
10007
10661
echo=$lt_echo
10032
10686
NM=$lt_NM
10033
10687
 
10034
10688
# A symbol stripping program
10035
 
STRIP=$STRIP
 
10689
STRIP=$lt_STRIP
10036
10690
 
10037
10691
# Used to examine libraries when file_magic_cmd begins "file"
10038
10692
MAGIC_CMD=$MAGIC_CMD
10063
10717
libext="$libext"
10064
10718
 
10065
10719
# Shared library suffix (normally ".so").
10066
 
shrext='$shrext'
 
10720
shrext_cmds='$shrext_cmds'
10067
10721
 
10068
10722
# Executable file suffix (normally "").
10069
10723
exeext="$exeext"
10078
10732
# Does compiler simultaneously support -c and -o options?
10079
10733
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10080
10734
 
10081
 
# Must we lock files when doing compilation ?
 
10735
# Must we lock files when doing compilation?
10082
10736
need_locks=$lt_need_locks
10083
10737
 
10084
10738
# Do we need the lib prefix for modules?
10305
10959
  # If there is no Makefile yet, we rely on a make rule to execute
10306
10960
  # `config.status --recheck' to rerun these tests and create the
10307
10961
  # libtool script then.
10308
 
  test -f Makefile && make "$ltmain"
 
10962
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
10963
  if test -f "$ltmain_in"; then
 
10964
    test -f Makefile && make "$ltmain"
 
10965
  fi
10309
10966
fi
10310
10967
 
10311
10968
 
10370
11027
 
10371
11028
      case $tagname in
10372
11029
      CXX)
10373
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
 
11030
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11031
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
11032
            (test "X$CXX" != "Xg++"))) ; then
10374
11033
          ac_ext=cc
10375
11034
ac_cpp='$CXXCPP $CPPFLAGS'
10376
11035
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10407
11066
compiler_lib_search_path_CXX=
10408
11067
 
10409
11068
# Source file extension for C++ test sources.
10410
 
ac_ext=cc
 
11069
ac_ext=cpp
10411
11070
 
10412
11071
# Object file extension for compiled C++ test sources.
10413
11072
objext=o
10428
11087
compiler=$CC
10429
11088
 
10430
11089
 
 
11090
# save warnings/boilerplate of simple test code
 
11091
ac_outfile=conftest.$ac_objext
 
11092
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11093
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
11094
_lt_compiler_boilerplate=`cat conftest.err`
 
11095
$rm conftest*
 
11096
 
 
11097
ac_outfile=conftest.$ac_objext
 
11098
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11099
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
11100
_lt_linker_boilerplate=`cat conftest.err`
 
11101
$rm conftest*
 
11102
 
 
11103
 
10431
11104
# Allow CC to be a program name with arguments.
10432
11105
lt_save_CC=$CC
10433
11106
lt_save_LD=$LD
10449
11122
CC=${CXX-"c++"}
10450
11123
compiler=$CC
10451
11124
compiler_CXX=$CC
10452
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
11125
for cc_temp in $compiler""; do
 
11126
  case $cc_temp in
 
11127
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11128
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11129
    \-*) ;;
 
11130
    *) break;;
 
11131
  esac
 
11132
done
 
11133
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11134
 
10453
11135
 
10454
11136
# We don't want -fno-exception wen compiling C++ code, so set the
10455
11137
# no_builtin_flag separately
10520
11202
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10521
11203
      lt_cv_path_LD="$ac_dir/$ac_prog"
10522
11204
      # Check to see if the program is GNU ld.  I'd rather use --version,
10523
 
      # but apparently some GNU ld's only accept -v.
 
11205
      # but apparently some variants of GNU ld only accept -v.
10524
11206
      # Break only if it was the GNU/non-GNU ld that we prefer.
10525
11207
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10526
11208
      *GNU* | *'with BFD'*)
10554
11236
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10555
11237
  echo $ECHO_N "(cached) $ECHO_C" >&6
10556
11238
else
10557
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
11239
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10558
11240
case `$LD -v 2>&1 </dev/null` in
10559
11241
*GNU* | *'with BFD'*)
10560
11242
  lt_cv_prog_gnu_ld=yes
10663
11345
    link_all_deplibs_CXX=yes
10664
11346
 
10665
11347
    if test "$GXX" = yes; then
10666
 
      case $host_os in aix4.012|aix4.012.*)
 
11348
      case $host_os in aix4.[012]|aix4.[012].*)
10667
11349
      # We only want to do this on AIX 4.2 and lower, the check
10668
11350
      # below for broken collect2 doesn't work under 4.3+
10669
11351
        collect2name=`${CC} -print-prog-name=collect2`
10684
11366
        fi
10685
11367
      esac
10686
11368
      shared_flag='-shared'
 
11369
      if test "$aix_use_runtimelinking" = yes; then
 
11370
        shared_flag="$shared_flag "'${wl}-G'
 
11371
      fi
10687
11372
    else
10688
11373
      # not using gcc
10689
11374
      if test "$host_cpu" = ia64; then
10708
11393
      allow_undefined_flag_CXX='-berok'
10709
11394
      # Determine the default libpath from the value encoded in an empty executable.
10710
11395
      cat >conftest.$ac_ext <<_ACEOF
10711
 
#line $LINENO "configure"
10712
11396
/* confdefs.h.  */
10713
11397
_ACEOF
10714
11398
cat confdefs.h >>conftest.$ac_ext
10725
11409
_ACEOF
10726
11410
rm -f conftest.$ac_objext conftest$ac_exeext
10727
11411
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10728
 
  (eval $ac_link) 2>&5
 
11412
  (eval $ac_link) 2>conftest.er1
10729
11413
  ac_status=$?
 
11414
  grep -v '^ *+' conftest.er1 >conftest.err
 
11415
  rm -f conftest.er1
 
11416
  cat conftest.err >&5
10730
11417
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731
11418
  (exit $ac_status); } &&
10732
 
         { ac_try='test -s conftest$ac_exeext'
 
11419
         { ac_try='test -z "$ac_cxx_werror_flag"
 
11420
                         || test ! -s conftest.err'
 
11421
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
11422
  (eval $ac_try) 2>&5
 
11423
  ac_status=$?
 
11424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11425
  (exit $ac_status); }; } &&
 
11426
         { ac_try='test -s conftest$ac_exeext'
10733
11427
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10734
11428
  (eval $ac_try) 2>&5
10735
11429
  ac_status=$?
10746
11440
sed 's/^/| /' conftest.$ac_ext >&5
10747
11441
 
10748
11442
fi
10749
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
11443
rm -f conftest.err conftest.$ac_objext \
 
11444
      conftest$ac_exeext conftest.$ac_ext
10750
11445
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10751
11446
 
10752
11447
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10760
11455
      else
10761
11456
        # Determine the default libpath from the value encoded in an empty executable.
10762
11457
        cat >conftest.$ac_ext <<_ACEOF
10763
 
#line $LINENO "configure"
10764
11458
/* confdefs.h.  */
10765
11459
_ACEOF
10766
11460
cat confdefs.h >>conftest.$ac_ext
10777
11471
_ACEOF
10778
11472
rm -f conftest.$ac_objext conftest$ac_exeext
10779
11473
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10780
 
  (eval $ac_link) 2>&5
 
11474
  (eval $ac_link) 2>conftest.er1
10781
11475
  ac_status=$?
 
11476
  grep -v '^ *+' conftest.er1 >conftest.err
 
11477
  rm -f conftest.er1
 
11478
  cat conftest.err >&5
10782
11479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783
11480
  (exit $ac_status); } &&
10784
 
         { ac_try='test -s conftest$ac_exeext'
 
11481
         { ac_try='test -z "$ac_cxx_werror_flag"
 
11482
                         || test ! -s conftest.err'
 
11483
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
11484
  (eval $ac_try) 2>&5
 
11485
  ac_status=$?
 
11486
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11487
  (exit $ac_status); }; } &&
 
11488
         { ac_try='test -s conftest$ac_exeext'
10785
11489
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10786
11490
  (eval $ac_try) 2>&5
10787
11491
  ac_status=$?
10798
11502
sed 's/^/| /' conftest.$ac_ext >&5
10799
11503
 
10800
11504
fi
10801
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
11505
rm -f conftest.err conftest.$ac_objext \
 
11506
      conftest$ac_exeext conftest.$ac_ext
10802
11507
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10803
11508
 
10804
11509
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10811
11516
        # Exported symbols can be pulled into shared objects from archives
10812
11517
        whole_archive_flag_spec_CXX=' '
10813
11518
        archive_cmds_need_lc_CXX=yes
10814
 
        # This is similar to how AIX traditionally builds it's shared libraries.
 
11519
        # This is similar to how AIX traditionally builds its shared libraries.
10815
11520
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10816
11521
      fi
10817
11522
    fi
10825
11530
    esac
10826
11531
    ;;
10827
11532
 
 
11533
 
10828
11534
  cygwin* | mingw* | pw32*)
10829
11535
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10830
11536
    # as there is no search path for DLLs.
10848
11554
      ld_shlibs_CXX=no
10849
11555
    fi
10850
11556
  ;;
10851
 
 
10852
 
  darwin* | rhapsody*)
10853
 
  if test "$GXX" = yes; then
10854
 
    archive_cmds_need_lc_CXX=no
10855
 
    case "$host_os" in
10856
 
    rhapsody* | darwin1.[012])
10857
 
      allow_undefined_flag_CXX='-undefined suppress'
10858
 
      ;;
10859
 
    *) # Darwin 1.3 on
10860
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10861
 
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10862
 
      else
10863
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
10864
 
          10.[012])
10865
 
            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10866
 
            ;;
10867
 
          10.*)
10868
 
            allow_undefined_flag_CXX='-undefined dynamic_lookup'
10869
 
            ;;
 
11557
      darwin* | rhapsody*)
 
11558
        case $host_os in
 
11559
        rhapsody* | darwin1.[012])
 
11560
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 
11561
         ;;
 
11562
       *) # Darwin 1.3 on
 
11563
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
11564
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11565
         else
 
11566
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
11567
             10.[012])
 
11568
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11569
               ;;
 
11570
             10.*)
 
11571
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 
11572
               ;;
 
11573
           esac
 
11574
         fi
 
11575
         ;;
10870
11576
        esac
10871
 
      fi
10872
 
      ;;
10873
 
    esac
10874
 
    lt_int_apple_cc_single_mod=no
10875
 
    output_verbose_link_cmd='echo'
10876
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10877
 
      lt_int_apple_cc_single_mod=yes
10878
 
    fi
10879
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10880
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10881
 
    else
10882
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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'
10883
 
    fi
10884
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11577
      archive_cmds_need_lc_CXX=no
 
11578
      hardcode_direct_CXX=no
 
11579
      hardcode_automatic_CXX=yes
 
11580
      hardcode_shlibpath_var_CXX=unsupported
 
11581
      whole_archive_flag_spec_CXX=''
 
11582
      link_all_deplibs_CXX=yes
10885
11583
 
10886
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10887
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10888
 
      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}'
10889
 
    else
10890
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
10891
 
    fi
10892
 
    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}'
10893
 
    hardcode_direct_CXX=no
10894
 
    hardcode_automatic_CXX=yes
10895
 
    hardcode_shlibpath_var_CXX=unsupported
10896
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
10897
 
    link_all_deplibs_CXX=yes
10898
 
  else
10899
 
    ld_shlibs_CXX=no
10900
 
  fi
10901
 
    ;;
 
11584
    if test "$GXX" = yes ; then
 
11585
      lt_int_apple_cc_single_mod=no
 
11586
      output_verbose_link_cmd='echo'
 
11587
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 
11588
       lt_int_apple_cc_single_mod=yes
 
11589
      fi
 
11590
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
11591
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
11592
      else
 
11593
          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'
 
11594
        fi
 
11595
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11596
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
11597
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
11598
            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}'
 
11599
          else
 
11600
            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}'
 
11601
          fi
 
11602
            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}'
 
11603
      else
 
11604
      case $cc_basename in
 
11605
        xlc*)
 
11606
         output_verbose_link_cmd='echo'
 
11607
          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'
 
11608
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11609
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
11610
          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}'
 
11611
          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}'
 
11612
          ;;
 
11613
       *)
 
11614
         ld_shlibs_CXX=no
 
11615
          ;;
 
11616
      esac
 
11617
      fi
 
11618
        ;;
10902
11619
 
10903
11620
  dgux*)
10904
11621
    case $cc_basename in
10905
 
      ec++)
 
11622
      ec++*)
10906
11623
        # FIXME: insert proper C++ library support
10907
11624
        ld_shlibs_CXX=no
10908
11625
        ;;
10909
 
      ghcx)
 
11626
      ghcx*)
10910
11627
        # Green Hills C++ Compiler
10911
11628
        # FIXME: insert proper C++ library support
10912
11629
        ld_shlibs_CXX=no
10917
11634
        ;;
10918
11635
    esac
10919
11636
    ;;
10920
 
  freebsd12*)
 
11637
  freebsd[12]*)
10921
11638
    # C++ shared libraries reported to be fairly broken before switch to ELF
10922
11639
    ld_shlibs_CXX=no
10923
11640
    ;;
10924
11641
  freebsd-elf*)
10925
11642
    archive_cmds_need_lc_CXX=no
10926
11643
    ;;
10927
 
  freebsd* | kfreebsd*-gnu)
 
11644
  freebsd* | kfreebsd*-gnu | dragonfly*)
10928
11645
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10929
11646
    # conventions
10930
11647
    ld_shlibs_CXX=yes
10941
11658
                                # location of the library.
10942
11659
 
10943
11660
    case $cc_basename in
10944
 
    CC)
 
11661
    CC*)
10945
11662
      # FIXME: insert proper C++ library support
10946
11663
      ld_shlibs_CXX=no
10947
11664
      ;;
10948
 
    aCC)
 
11665
    aCC*)
10949
11666
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10950
11667
      # Commands to make compiler produce verbose output that lists
10951
11668
      # what "hidden" libraries, object files and flags are used when
10955
11672
      # explicitly linking system object files so we need to strip them
10956
11673
      # from the output so that they don't get included in the library
10957
11674
      # dependencies.
10958
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
11675
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10959
11676
      ;;
10960
11677
    *)
10961
11678
      if test "$GXX" = yes; then
10969
11686
    ;;
10970
11687
  hpux10*|hpux11*)
10971
11688
    if test $with_gnu_ld = no; then
10972
 
      case "$host_cpu" in
 
11689
      case $host_cpu in
10973
11690
      hppa*64*)
10974
11691
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10975
11692
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10985
11702
        ;;
10986
11703
      esac
10987
11704
    fi
10988
 
    case "$host_cpu" in
 
11705
    case $host_cpu in
10989
11706
    hppa*64*)
10990
11707
      hardcode_direct_CXX=no
10991
11708
      hardcode_shlibpath_var_CXX=no
11006
11723
    esac
11007
11724
 
11008
11725
    case $cc_basename in
11009
 
      CC)
 
11726
      CC*)
11010
11727
        # FIXME: insert proper C++ library support
11011
11728
        ld_shlibs_CXX=no
11012
11729
        ;;
11013
 
      aCC)
11014
 
        case "$host_cpu" in
 
11730
      aCC*)
 
11731
        case $host_cpu in
11015
11732
        hppa*64*|ia64*)
11016
11733
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11017
11734
          ;;
11032
11749
      *)
11033
11750
        if test "$GXX" = yes; then
11034
11751
          if test $with_gnu_ld = no; then
11035
 
            case "$host_cpu" in
 
11752
            case $host_cpu in
11036
11753
            ia64*|hppa*64*)
11037
11754
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11038
11755
              ;;
11050
11767
    ;;
11051
11768
  irix5* | irix6*)
11052
11769
    case $cc_basename in
11053
 
      CC)
 
11770
      CC*)
11054
11771
        # SGI C++
11055
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
11772
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11056
11773
 
11057
11774
        # Archives containing C++ object files must be created using
11058
11775
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11063
11780
      *)
11064
11781
        if test "$GXX" = yes; then
11065
11782
          if test "$with_gnu_ld" = no; then
11066
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
11783
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11067
11784
          else
11068
11785
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11069
11786
          fi
11076
11793
    ;;
11077
11794
  linux*)
11078
11795
    case $cc_basename in
11079
 
      KCC)
 
11796
      KCC*)
11080
11797
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11081
11798
 
11082
11799
        # KCC will only create a shared library if the output file
11101
11818
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11102
11819
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11103
11820
        ;;
11104
 
      icpc)
 
11821
      icpc*)
11105
11822
        # Intel C++
11106
11823
        with_gnu_ld=yes
 
11824
        # version 8.0 and above of icpc choke on multiply defined symbols
 
11825
        # if we add $predep_objects and $postdep_objects, however 7.1 and
 
11826
        # earlier do not add the objects themselves.
 
11827
        case `$CC -V 2>&1` in
 
11828
        *"Version 7."*)
 
11829
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11830
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11831
          ;;
 
11832
        *)  # Version 8.0 or newer
 
11833
          tmp_idyn=
 
11834
          case $host_cpu in
 
11835
            ia64*) tmp_idyn=' -i_dynamic';;
 
11836
          esac
 
11837
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11838
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11839
          ;;
 
11840
        esac
11107
11841
        archive_cmds_need_lc_CXX=no
11108
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11109
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11110
11842
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11111
11843
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11112
11844
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11113
11845
        ;;
11114
 
      cxx)
 
11846
      pgCC*)
 
11847
        # Portland Group C++ compiler
 
11848
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
11849
        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'
 
11850
 
 
11851
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
11852
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
11853
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
11854
        ;;
 
11855
      cxx*)
11115
11856
        # Compaq C++
11116
11857
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11117
11858
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11142
11883
    ;;
11143
11884
  mvs*)
11144
11885
    case $cc_basename in
11145
 
      cxx)
 
11886
      cxx*)
11146
11887
        # FIXME: insert proper C++ library support
11147
11888
        ld_shlibs_CXX=no
11148
11889
        ;;
11163
11904
    # Workaround some broken pre-1.5 toolchains
11164
11905
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11165
11906
    ;;
 
11907
  openbsd2*)
 
11908
    # C++ shared libraries are fairly broken
 
11909
    ld_shlibs_CXX=no
 
11910
    ;;
 
11911
  openbsd*)
 
11912
    hardcode_direct_CXX=yes
 
11913
    hardcode_shlibpath_var_CXX=no
 
11914
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
11915
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11916
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11917
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
11918
      export_dynamic_flag_spec_CXX='${wl}-E'
 
11919
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11920
    fi
 
11921
    output_verbose_link_cmd='echo'
 
11922
    ;;
11166
11923
  osf3*)
11167
11924
    case $cc_basename in
11168
 
      KCC)
 
11925
      KCC*)
11169
11926
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11170
11927
 
11171
11928
        # KCC will only create a shared library if the output file
11181
11938
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11182
11939
 
11183
11940
        ;;
11184
 
      RCC)
 
11941
      RCC*)
11185
11942
        # Rational C++ 2.4.1
11186
11943
        # FIXME: insert proper C++ library support
11187
11944
        ld_shlibs_CXX=no
11188
11945
        ;;
11189
 
      cxx)
 
11946
      cxx*)
11190
11947
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11191
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
11948
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11192
11949
 
11193
11950
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11194
11951
        hardcode_libdir_separator_CXX=:
11206
11963
      *)
11207
11964
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11208
11965
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11209
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
11966
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11210
11967
 
11211
11968
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11212
11969
          hardcode_libdir_separator_CXX=:
11225
11982
    ;;
11226
11983
  osf4* | osf5*)
11227
11984
    case $cc_basename in
11228
 
      KCC)
 
11985
      KCC*)
11229
11986
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11230
11987
 
11231
11988
        # KCC will only create a shared library if the output file
11240
11997
        # the KAI C++ compiler.
11241
11998
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11242
11999
        ;;
11243
 
      RCC)
 
12000
      RCC*)
11244
12001
        # Rational C++ 2.4.1
11245
12002
        # FIXME: insert proper C++ library support
11246
12003
        ld_shlibs_CXX=no
11247
12004
        ;;
11248
 
      cxx)
 
12005
      cxx*)
11249
12006
        allow_undefined_flag_CXX=' -expect_unresolved \*'
11250
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12007
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11251
12008
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11252
12009
          echo "-hidden">> $lib.exp~
11253
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
 
12010
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11254
12011
          $rm $lib.exp'
11255
12012
 
11256
12013
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11269
12026
      *)
11270
12027
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11271
12028
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11272
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12029
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11273
12030
 
11274
12031
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11275
12032
          hardcode_libdir_separator_CXX=:
11293
12050
  sco*)
11294
12051
    archive_cmds_need_lc_CXX=no
11295
12052
    case $cc_basename in
11296
 
      CC)
 
12053
      CC*)
11297
12054
        # FIXME: insert proper C++ library support
11298
12055
        ld_shlibs_CXX=no
11299
12056
        ;;
11305
12062
    ;;
11306
12063
  sunos4*)
11307
12064
    case $cc_basename in
11308
 
      CC)
 
12065
      CC*)
11309
12066
        # Sun C++ 4.x
11310
12067
        # FIXME: insert proper C++ library support
11311
12068
        ld_shlibs_CXX=no
11312
12069
        ;;
11313
 
      lcc)
 
12070
      lcc*)
11314
12071
        # Lucid
11315
12072
        # FIXME: insert proper C++ library support
11316
12073
        ld_shlibs_CXX=no
11323
12080
    ;;
11324
12081
  solaris*)
11325
12082
    case $cc_basename in
11326
 
      CC)
 
12083
      CC*)
11327
12084
        # Sun C++ 4.2, 5.x and Centerline C++
 
12085
        archive_cmds_need_lc_CXX=yes
11328
12086
        no_undefined_flag_CXX=' -zdefs'
11329
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12087
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11330
12088
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11331
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
12089
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11332
12090
 
11333
12091
        hardcode_libdir_flag_spec_CXX='-R$libdir'
11334
12092
        hardcode_shlibpath_var_CXX=no
11335
12093
        case $host_os in
11336
 
          solaris2.0-5 | solaris2.0-5.*) ;;
 
12094
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11337
12095
          *)
11338
12096
            # The C++ compiler is used as linker so we must use $wl
11339
12097
            # flag to pass the commands to the underlying system
11340
 
            # linker.
 
12098
            # linker. We must also pass each convience library through
 
12099
            # to the system linker between allextract/defaultextract.
 
12100
            # The C++ compiler will combine linker options so we
 
12101
            # cannot just pass the convience library names through
 
12102
            # without $wl.
11341
12103
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11342
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12104
            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'
11343
12105
            ;;
11344
12106
        esac
11345
12107
        link_all_deplibs_CXX=yes
11346
12108
 
11347
 
        # Commands to make compiler produce verbose output that lists
11348
 
        # what "hidden" libraries, object files and flags are used when
11349
 
        # linking a shared library.
11350
 
        #
11351
 
        # There doesn't appear to be a way to prevent this compiler from
11352
 
        # explicitly linking system object files so we need to strip them
11353
 
        # from the output so that they don't get included in the library
11354
 
        # dependencies.
11355
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
12109
        output_verbose_link_cmd='echo'
11356
12110
 
11357
12111
        # Archives containing C++ object files must be created using
11358
12112
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11360
12114
        # in the archive.
11361
12115
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11362
12116
        ;;
11363
 
      gcx)
 
12117
      gcx*)
11364
12118
        # Green Hills C++ Compiler
11365
12119
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11366
12120
 
11403
12157
    ;;
11404
12158
  tandem*)
11405
12159
    case $cc_basename in
11406
 
      NCC)
 
12160
      NCC*)
11407
12161
        # NonStop-UX NCC 3.20
11408
12162
        # FIXME: insert proper C++ library support
11409
12163
        ld_shlibs_CXX=no
11456
12210
  # The `*' in the case matches for architectures that use `case' in
11457
12211
  # $output_verbose_cmd can trigger glob expansion during the loop
11458
12212
  # eval without this substitution.
11459
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
12213
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11460
12214
 
11461
12215
  for p in `eval $output_verbose_link_cmd`; do
11462
12216
    case $p in
11532
12286
 
11533
12287
$rm -f confest.$objext
11534
12288
 
 
12289
# PORTME: override above test on systems where it is broken
 
12290
case $host_os in
 
12291
solaris*)
 
12292
  case $cc_basename in
 
12293
  CC*)
 
12294
    # Adding this requires a known-good setup of shared libraries for
 
12295
    # Sun compiler versions before 5.6, else PIC objects from an old
 
12296
    # archive will be linked into the output, leading to subtle bugs.
 
12297
    postdeps_CXX='-lCstd -lCrun'
 
12298
    ;;
 
12299
  esac
 
12300
esac
 
12301
 
 
12302
 
11535
12303
case " $postdeps_CXX " in
11536
12304
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11537
12305
esac
11587
12355
    hpux*)
11588
12356
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11589
12357
      # not for PA HP-UX.
11590
 
      case "$host_cpu" in
 
12358
      case $host_cpu in
11591
12359
      hppa*64*|ia64*)
11592
12360
        ;;
11593
12361
      *)
11612
12380
        ;;
11613
12381
      chorus*)
11614
12382
        case $cc_basename in
11615
 
        cxch68)
 
12383
        cxch68*)
11616
12384
          # Green Hills C++ Compiler
11617
12385
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
11618
12386
          ;;
11619
12387
        esac
11620
12388
        ;;
 
12389
       darwin*)
 
12390
         # PIC is the default on this platform
 
12391
         # Common symbols not allowed in MH_DYLIB files
 
12392
         case $cc_basename in
 
12393
           xlc*)
 
12394
           lt_prog_compiler_pic_CXX='-qnocommon'
 
12395
           lt_prog_compiler_wl_CXX='-Wl,'
 
12396
           ;;
 
12397
         esac
 
12398
       ;;
11621
12399
      dgux*)
11622
12400
        case $cc_basename in
11623
 
          ec++)
 
12401
          ec++*)
11624
12402
            lt_prog_compiler_pic_CXX='-KPIC'
11625
12403
            ;;
11626
 
          ghcx)
 
12404
          ghcx*)
11627
12405
            # Green Hills C++ Compiler
11628
12406
            lt_prog_compiler_pic_CXX='-pic'
11629
12407
            ;;
11631
12409
            ;;
11632
12410
        esac
11633
12411
        ;;
11634
 
      freebsd* | kfreebsd*-gnu)
 
12412
      freebsd* | kfreebsd*-gnu | dragonfly*)
11635
12413
        # FreeBSD uses GNU C++
11636
12414
        ;;
11637
12415
      hpux9* | hpux10* | hpux11*)
11638
12416
        case $cc_basename in
11639
 
          CC)
 
12417
          CC*)
11640
12418
            lt_prog_compiler_wl_CXX='-Wl,'
11641
12419
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11642
12420
            if test "$host_cpu" != ia64; then
11643
12421
              lt_prog_compiler_pic_CXX='+Z'
11644
12422
            fi
11645
12423
            ;;
11646
 
          aCC)
 
12424
          aCC*)
11647
12425
            lt_prog_compiler_wl_CXX='-Wl,'
11648
12426
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11649
 
            case "$host_cpu" in
 
12427
            case $host_cpu in
11650
12428
            hppa*64*|ia64*)
11651
12429
              # +Z the default
11652
12430
              ;;
11661
12439
        ;;
11662
12440
      irix5* | irix6* | nonstopux*)
11663
12441
        case $cc_basename in
11664
 
          CC)
 
12442
          CC*)
11665
12443
            lt_prog_compiler_wl_CXX='-Wl,'
11666
12444
            lt_prog_compiler_static_CXX='-non_shared'
11667
12445
            # CC pic flag -KPIC is the default.
11672
12450
        ;;
11673
12451
      linux*)
11674
12452
        case $cc_basename in
11675
 
          KCC)
 
12453
          KCC*)
11676
12454
            # KAI C++ Compiler
11677
12455
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11678
12456
            lt_prog_compiler_pic_CXX='-fPIC'
11679
12457
            ;;
11680
 
          icpc)
 
12458
          icpc* | ecpc*)
11681
12459
            # Intel C++
11682
12460
            lt_prog_compiler_wl_CXX='-Wl,'
11683
12461
            lt_prog_compiler_pic_CXX='-KPIC'
11684
12462
            lt_prog_compiler_static_CXX='-static'
11685
12463
            ;;
11686
 
          cxx)
 
12464
          pgCC*)
 
12465
            # Portland Group C++ compiler.
 
12466
            lt_prog_compiler_wl_CXX='-Wl,'
 
12467
            lt_prog_compiler_pic_CXX='-fpic'
 
12468
            lt_prog_compiler_static_CXX='-Bstatic'
 
12469
            ;;
 
12470
          cxx*)
11687
12471
            # Compaq C++
11688
12472
            # Make sure the PIC flag is empty.  It appears that all Alpha
11689
12473
            # Linux and Compaq Tru64 Unix objects are PIC.
11700
12484
        ;;
11701
12485
      mvs*)
11702
12486
        case $cc_basename in
11703
 
          cxx)
 
12487
          cxx*)
11704
12488
            lt_prog_compiler_pic_CXX='-W c,exportall'
11705
12489
            ;;
11706
12490
          *)
11711
12495
        ;;
11712
12496
      osf3* | osf4* | osf5*)
11713
12497
        case $cc_basename in
11714
 
          KCC)
 
12498
          KCC*)
11715
12499
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11716
12500
            ;;
11717
 
          RCC)
 
12501
          RCC*)
11718
12502
            # Rational C++ 2.4.1
11719
12503
            lt_prog_compiler_pic_CXX='-pic'
11720
12504
            ;;
11721
 
          cxx)
 
12505
          cxx*)
11722
12506
            # Digital/Compaq C++
11723
12507
            lt_prog_compiler_wl_CXX='-Wl,'
11724
12508
            # Make sure the PIC flag is empty.  It appears that all Alpha
11734
12518
        ;;
11735
12519
      sco*)
11736
12520
        case $cc_basename in
11737
 
          CC)
 
12521
          CC*)
11738
12522
            lt_prog_compiler_pic_CXX='-fPIC'
11739
12523
            ;;
11740
12524
          *)
11743
12527
        ;;
11744
12528
      solaris*)
11745
12529
        case $cc_basename in
11746
 
          CC)
 
12530
          CC*)
11747
12531
            # Sun C++ 4.2, 5.x and Centerline C++
11748
12532
            lt_prog_compiler_pic_CXX='-KPIC'
11749
12533
            lt_prog_compiler_static_CXX='-Bstatic'
11750
12534
            lt_prog_compiler_wl_CXX='-Qoption ld '
11751
12535
            ;;
11752
 
          gcx)
 
12536
          gcx*)
11753
12537
            # Green Hills C++ Compiler
11754
12538
            lt_prog_compiler_pic_CXX='-PIC'
11755
12539
            ;;
11759
12543
        ;;
11760
12544
      sunos4*)
11761
12545
        case $cc_basename in
11762
 
          CC)
 
12546
          CC*)
11763
12547
            # Sun C++ 4.x
11764
12548
            lt_prog_compiler_pic_CXX='-pic'
11765
12549
            lt_prog_compiler_static_CXX='-Bstatic'
11766
12550
            ;;
11767
 
          lcc)
 
12551
          lcc*)
11768
12552
            # Lucid
11769
12553
            lt_prog_compiler_pic_CXX='-pic'
11770
12554
            ;;
11774
12558
        ;;
11775
12559
      tandem*)
11776
12560
        case $cc_basename in
11777
 
          NCC)
 
12561
          NCC*)
11778
12562
            # NonStop-UX NCC 3.20
11779
12563
            lt_prog_compiler_pic_CXX='-KPIC'
11780
12564
            ;;
11815
12599
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11816
12600
   # The option is referenced via a variable to avoid confusing sed.
11817
12601
   lt_compile=`echo "$ac_compile" | $SED \
11818
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
12602
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11819
12603
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11820
12604
   -e 's:$: $lt_compiler_flag:'`
11821
 
   (eval echo "\"\$as_me:11821: $lt_compile\"" >&5)
 
12605
   (eval echo "\"\$as_me:12605: $lt_compile\"" >&5)
11822
12606
   (eval "$lt_compile" 2>conftest.err)
11823
12607
   ac_status=$?
11824
12608
   cat conftest.err >&5
11825
 
   echo "$as_me:11825: \$? = $ac_status" >&5
 
12609
   echo "$as_me:12609: \$? = $ac_status" >&5
11826
12610
   if (exit $ac_status) && test -s "$ac_outfile"; then
11827
12611
     # The compiler can only warn and ignore the option if not recognized
11828
 
     # So say no if there are warnings
11829
 
     if test ! -s conftest.err; then
 
12612
     # So say no if there are warnings other than the usual output.
 
12613
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
12614
     $SED '/^$/d' conftest.err >conftest.er2
 
12615
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
11830
12616
       lt_prog_compiler_pic_works_CXX=yes
11831
12617
     fi
11832
12618
   fi
11847
12633
fi
11848
12634
 
11849
12635
fi
11850
 
case "$host_os" in
 
12636
case $host_os in
11851
12637
  # For platforms which do not support PIC, -DPIC is meaningless:
11852
12638
  *djgpp*)
11853
12639
    lt_prog_compiler_pic_CXX=
11869
12655
   mkdir out
11870
12656
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11871
12657
 
11872
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
11873
 
   # that will create temporary files in the current directory regardless of
11874
 
   # the output directory.  Thus, making CWD read-only will cause this test
11875
 
   # to fail, enabling locking or at least warning the user not to do parallel
11876
 
   # builds.
11877
 
   chmod -w .
11878
 
 
11879
12658
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11880
12659
   # Insert the option either (1) after the last *FLAGS variable, or
11881
12660
   # (2) before a word containing "conftest.", or (3) at the end.
11882
12661
   # Note that $ac_compile itself does not contain backslashes and begins
11883
12662
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11884
12663
   lt_compile=`echo "$ac_compile" | $SED \
11885
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
12664
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11886
12665
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11887
12666
   -e 's:$: $lt_compiler_flag:'`
11888
 
   (eval echo "\"\$as_me:11888: $lt_compile\"" >&5)
 
12667
   (eval echo "\"\$as_me:12667: $lt_compile\"" >&5)
11889
12668
   (eval "$lt_compile" 2>out/conftest.err)
11890
12669
   ac_status=$?
11891
12670
   cat out/conftest.err >&5
11892
 
   echo "$as_me:11892: \$? = $ac_status" >&5
 
12671
   echo "$as_me:12671: \$? = $ac_status" >&5
11893
12672
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11894
12673
   then
11895
12674
     # The compiler can only warn and ignore the option if not recognized
11896
12675
     # So say no if there are warnings
11897
 
     if test ! -s out/conftest.err; then
 
12676
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 
12677
     $SED '/^$/d' out/conftest.err >out/conftest.er2
 
12678
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11898
12679
       lt_cv_prog_compiler_c_o_CXX=yes
11899
12680
     fi
11900
12681
   fi
11901
 
   chmod u+w .
 
12682
   chmod u+w . 2>&5
11902
12683
   $rm conftest*
11903
12684
   # SGI C++ compiler will create directory out/ii_files/ for
11904
12685
   # template instantiation
11953
12734
    export_symbols_cmds_CXX="$ltdll_cmds"
11954
12735
  ;;
11955
12736
  cygwin* | mingw*)
11956
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
12737
    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'
11957
12738
  ;;
11958
12739
  *)
11959
12740
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12036
12817
library_names_spec=
12037
12818
libname_spec='lib$name'
12038
12819
soname_spec=
12039
 
shrext=".so"
 
12820
shrext_cmds=".so"
12040
12821
postinstall_cmds=
12041
12822
postuninstall_cmds=
12042
12823
finish_cmds=
12133
12914
  shlibpath_var=LIBRARY_PATH
12134
12915
  ;;
12135
12916
 
12136
 
bsdi4*)
 
12917
bsdi[45]*)
12137
12918
  version_type=linux
12138
12919
  need_version=no
12139
12920
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12149
12930
 
12150
12931
cygwin* | mingw* | pw32*)
12151
12932
  version_type=windows
12152
 
  shrext=".dll"
 
12933
  shrext_cmds=".dll"
12153
12934
  need_version=no
12154
12935
  need_lib_prefix=no
12155
12936
 
12161
12942
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12162
12943
      dldir=$destdir/`dirname \$dlpath`~
12163
12944
      test -d \$dldir || mkdir -p \$dldir~
12164
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
12945
      $install_prog $dir/$dlname \$dldir/$dlname~
 
12946
      chmod a+x \$dldir/$dlname'
12165
12947
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12166
12948
      dlpath=$dir/\$dldll~
12167
12949
       $rm \$dlpath'
12191
12973
      ;;
12192
12974
    pw32*)
12193
12975
      # pw32 DLLs use 'pw' prefix rather than 'lib'
12194
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
12976
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12195
12977
      ;;
12196
12978
    esac
12197
12979
    ;;
12214
12996
  soname_spec='${libname}${release}${major}$shared_ext'
12215
12997
  shlibpath_overrides_runpath=yes
12216
12998
  shlibpath_var=DYLD_LIBRARY_PATH
12217
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
12999
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12218
13000
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12219
13001
  if test "$GCC" = yes; then
12220
13002
    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"`
12249
13031
  dynamic_linker='GNU ld.so'
12250
13032
  ;;
12251
13033
 
12252
 
freebsd*)
12253
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
13034
freebsd* | dragonfly*)
 
13035
  # DragonFly does not have aout.  When/if they implement a new
 
13036
  # versioning mechanism, adjust this.
 
13037
  if test -x /usr/bin/objformat; then
 
13038
    objformat=`/usr/bin/objformat`
 
13039
  else
 
13040
    case $host_os in
 
13041
    freebsd[123]*) objformat=aout ;;
 
13042
    *) objformat=elf ;;
 
13043
    esac
 
13044
  fi
12254
13045
  version_type=freebsd-$objformat
12255
13046
  case $version_type in
12256
13047
    freebsd-elf*)
12268
13059
  freebsd2*)
12269
13060
    shlibpath_overrides_runpath=yes
12270
13061
    ;;
12271
 
  freebsd3.01* | freebsdelf3.01*)
 
13062
  freebsd3.[01]* | freebsdelf3.[01]*)
12272
13063
    shlibpath_overrides_runpath=yes
12273
13064
    hardcode_into_libs=yes
12274
13065
    ;;
12295
13086
  version_type=sunos
12296
13087
  need_lib_prefix=no
12297
13088
  need_version=no
12298
 
  case "$host_cpu" in
 
13089
  case $host_cpu in
12299
13090
  ia64*)
12300
 
    shrext='.so'
 
13091
    shrext_cmds='.so'
12301
13092
    hardcode_into_libs=yes
12302
13093
    dynamic_linker="$host_os dld.so"
12303
13094
    shlibpath_var=LD_LIBRARY_PATH
12312
13103
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12313
13104
    ;;
12314
13105
   hppa*64*)
12315
 
     shrext='.sl'
 
13106
     shrext_cmds='.sl'
12316
13107
     hardcode_into_libs=yes
12317
13108
     dynamic_linker="$host_os dld.sl"
12318
13109
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12323
13114
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12324
13115
     ;;
12325
13116
   *)
12326
 
    shrext='.sl'
 
13117
    shrext_cmds='.sl'
12327
13118
    dynamic_linker="$host_os dld.sl"
12328
13119
    shlibpath_var=SHLIB_PATH
12329
13120
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12392
13183
  # before this can be enabled.
12393
13184
  hardcode_into_libs=yes
12394
13185
 
 
13186
  # find out which ABI we are using
 
13187
  libsuff=
 
13188
  case "$host_cpu" in
 
13189
  x86_64*|s390x*|powerpc64*)
 
13190
    echo '#line 13190 "configure"' > conftest.$ac_ext
 
13191
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13192
  (eval $ac_compile) 2>&5
 
13193
  ac_status=$?
 
13194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13195
  (exit $ac_status); }; then
 
13196
      case `/usr/bin/file conftest.$ac_objext` in
 
13197
      *64-bit*)
 
13198
        libsuff=64
 
13199
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
 
13200
        ;;
 
13201
      esac
 
13202
    fi
 
13203
    rm -rf conftest*
 
13204
    ;;
 
13205
  esac
 
13206
 
 
13207
  # Append ld.so.conf contents to the search path
 
13208
  if test -f /etc/ld.so.conf; then
 
13209
    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' ' '`
 
13210
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
13211
  fi
 
13212
 
12395
13213
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12396
13214
  # powerpc, because MkLinux only supported shared libraries with the
12397
13215
  # GNU dynamic linker.  Since this was broken with cross compilers,
12422
13240
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12423
13241
    dynamic_linker='NetBSD (a.out) ld.so'
12424
13242
  else
12425
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
 
13243
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12426
13244
    soname_spec='${libname}${release}${shared_ext}$major'
12427
13245
    dynamic_linker='NetBSD ld.elf_so'
12428
13246
  fi
12451
13269
openbsd*)
12452
13270
  version_type=sunos
12453
13271
  need_lib_prefix=no
12454
 
  need_version=yes
 
13272
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13273
  case $host_os in
 
13274
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
13275
    *)                         need_version=no  ;;
 
13276
  esac
12455
13277
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12456
13278
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12457
13279
  shlibpath_var=LD_LIBRARY_PATH
12471
13293
 
12472
13294
os2*)
12473
13295
  libname_spec='$name'
12474
 
  shrext=".dll"
 
13296
  shrext_cmds=".dll"
12475
13297
  need_lib_prefix=no
12476
13298
  library_names_spec='$libname${shared_ext} $libname.a'
12477
13299
  dynamic_linker='OS/2 ld.exe'
12573
13395
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12574
13396
hardcode_action_CXX=
12575
13397
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12576
 
   test -n "$runpath_var CXX" || \
12577
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
 
13398
   test -n "$runpath_var_CXX" || \
 
13399
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
12578
13400
 
12579
13401
  # We can hardcode non-existant directories.
12580
13402
  if test "$hardcode_direct_CXX" != no &&
12670
13492
  ac_check_lib_save_LIBS=$LIBS
12671
13493
LIBS="-ldl  $LIBS"
12672
13494
cat >conftest.$ac_ext <<_ACEOF
12673
 
#line $LINENO "configure"
12674
13495
/* confdefs.h.  */
12675
13496
_ACEOF
12676
13497
cat confdefs.h >>conftest.$ac_ext
12694
13515
_ACEOF
12695
13516
rm -f conftest.$ac_objext conftest$ac_exeext
12696
13517
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12697
 
  (eval $ac_link) 2>&5
 
13518
  (eval $ac_link) 2>conftest.er1
12698
13519
  ac_status=$?
 
13520
  grep -v '^ *+' conftest.er1 >conftest.err
 
13521
  rm -f conftest.er1
 
13522
  cat conftest.err >&5
12699
13523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700
13524
  (exit $ac_status); } &&
12701
 
         { ac_try='test -s conftest$ac_exeext'
 
13525
         { ac_try='test -z "$ac_cxx_werror_flag"
 
13526
                         || test ! -s conftest.err'
 
13527
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13528
  (eval $ac_try) 2>&5
 
13529
  ac_status=$?
 
13530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13531
  (exit $ac_status); }; } &&
 
13532
         { ac_try='test -s conftest$ac_exeext'
12702
13533
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12703
13534
  (eval $ac_try) 2>&5
12704
13535
  ac_status=$?
12711
13542
 
12712
13543
ac_cv_lib_dl_dlopen=no
12713
13544
fi
12714
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
13545
rm -f conftest.err conftest.$ac_objext \
 
13546
      conftest$ac_exeext conftest.$ac_ext
12715
13547
LIBS=$ac_check_lib_save_LIBS
12716
13548
fi
12717
13549
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12735
13567
  echo $ECHO_N "(cached) $ECHO_C" >&6
12736
13568
else
12737
13569
  cat >conftest.$ac_ext <<_ACEOF
12738
 
#line $LINENO "configure"
12739
13570
/* confdefs.h.  */
12740
13571
_ACEOF
12741
13572
cat confdefs.h >>conftest.$ac_ext
12742
13573
cat >>conftest.$ac_ext <<_ACEOF
12743
13574
/* end confdefs.h.  */
 
13575
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
13576
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
13577
#define shl_load innocuous_shl_load
 
13578
 
12744
13579
/* System header to define __stub macros and hopefully few prototypes,
12745
13580
    which can conflict with char shl_load (); below.
12746
13581
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12747
13582
    <limits.h> exists even on freestanding compilers.  */
 
13583
 
12748
13584
#ifdef __STDC__
12749
13585
# include <limits.h>
12750
13586
#else
12751
13587
# include <assert.h>
12752
13588
#endif
 
13589
 
 
13590
#undef shl_load
 
13591
 
12753
13592
/* Override any gcc2 internal prototype to avoid an error.  */
12754
13593
#ifdef __cplusplus
12755
13594
extern "C"
12780
13619
_ACEOF
12781
13620
rm -f conftest.$ac_objext conftest$ac_exeext
12782
13621
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12783
 
  (eval $ac_link) 2>&5
 
13622
  (eval $ac_link) 2>conftest.er1
12784
13623
  ac_status=$?
 
13624
  grep -v '^ *+' conftest.er1 >conftest.err
 
13625
  rm -f conftest.er1
 
13626
  cat conftest.err >&5
12785
13627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786
13628
  (exit $ac_status); } &&
12787
 
         { ac_try='test -s conftest$ac_exeext'
 
13629
         { ac_try='test -z "$ac_cxx_werror_flag"
 
13630
                         || test ! -s conftest.err'
 
13631
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13632
  (eval $ac_try) 2>&5
 
13633
  ac_status=$?
 
13634
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13635
  (exit $ac_status); }; } &&
 
13636
         { ac_try='test -s conftest$ac_exeext'
12788
13637
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789
13638
  (eval $ac_try) 2>&5
12790
13639
  ac_status=$?
12797
13646
 
12798
13647
ac_cv_func_shl_load=no
12799
13648
fi
12800
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
13649
rm -f conftest.err conftest.$ac_objext \
 
13650
      conftest$ac_exeext conftest.$ac_ext
12801
13651
fi
12802
13652
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12803
13653
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12812
13662
  ac_check_lib_save_LIBS=$LIBS
12813
13663
LIBS="-ldld  $LIBS"
12814
13664
cat >conftest.$ac_ext <<_ACEOF
12815
 
#line $LINENO "configure"
12816
13665
/* confdefs.h.  */
12817
13666
_ACEOF
12818
13667
cat confdefs.h >>conftest.$ac_ext
12836
13685
_ACEOF
12837
13686
rm -f conftest.$ac_objext conftest$ac_exeext
12838
13687
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12839
 
  (eval $ac_link) 2>&5
 
13688
  (eval $ac_link) 2>conftest.er1
12840
13689
  ac_status=$?
 
13690
  grep -v '^ *+' conftest.er1 >conftest.err
 
13691
  rm -f conftest.er1
 
13692
  cat conftest.err >&5
12841
13693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842
13694
  (exit $ac_status); } &&
12843
 
         { ac_try='test -s conftest$ac_exeext'
 
13695
         { ac_try='test -z "$ac_cxx_werror_flag"
 
13696
                         || test ! -s conftest.err'
 
13697
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13698
  (eval $ac_try) 2>&5
 
13699
  ac_status=$?
 
13700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13701
  (exit $ac_status); }; } &&
 
13702
         { ac_try='test -s conftest$ac_exeext'
12844
13703
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845
13704
  (eval $ac_try) 2>&5
12846
13705
  ac_status=$?
12853
13712
 
12854
13713
ac_cv_lib_dld_shl_load=no
12855
13714
fi
12856
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
13715
rm -f conftest.err conftest.$ac_objext \
 
13716
      conftest$ac_exeext conftest.$ac_ext
12857
13717
LIBS=$ac_check_lib_save_LIBS
12858
13718
fi
12859
13719
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12867
13727
  echo $ECHO_N "(cached) $ECHO_C" >&6
12868
13728
else
12869
13729
  cat >conftest.$ac_ext <<_ACEOF
12870
 
#line $LINENO "configure"
12871
13730
/* confdefs.h.  */
12872
13731
_ACEOF
12873
13732
cat confdefs.h >>conftest.$ac_ext
12874
13733
cat >>conftest.$ac_ext <<_ACEOF
12875
13734
/* end confdefs.h.  */
 
13735
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
13736
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
13737
#define dlopen innocuous_dlopen
 
13738
 
12876
13739
/* System header to define __stub macros and hopefully few prototypes,
12877
13740
    which can conflict with char dlopen (); below.
12878
13741
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12879
13742
    <limits.h> exists even on freestanding compilers.  */
 
13743
 
12880
13744
#ifdef __STDC__
12881
13745
# include <limits.h>
12882
13746
#else
12883
13747
# include <assert.h>
12884
13748
#endif
 
13749
 
 
13750
#undef dlopen
 
13751
 
12885
13752
/* Override any gcc2 internal prototype to avoid an error.  */
12886
13753
#ifdef __cplusplus
12887
13754
extern "C"
12912
13779
_ACEOF
12913
13780
rm -f conftest.$ac_objext conftest$ac_exeext
12914
13781
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12915
 
  (eval $ac_link) 2>&5
 
13782
  (eval $ac_link) 2>conftest.er1
12916
13783
  ac_status=$?
 
13784
  grep -v '^ *+' conftest.er1 >conftest.err
 
13785
  rm -f conftest.er1
 
13786
  cat conftest.err >&5
12917
13787
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918
13788
  (exit $ac_status); } &&
12919
 
         { ac_try='test -s conftest$ac_exeext'
 
13789
         { ac_try='test -z "$ac_cxx_werror_flag"
 
13790
                         || test ! -s conftest.err'
 
13791
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13792
  (eval $ac_try) 2>&5
 
13793
  ac_status=$?
 
13794
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13795
  (exit $ac_status); }; } &&
 
13796
         { ac_try='test -s conftest$ac_exeext'
12920
13797
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921
13798
  (eval $ac_try) 2>&5
12922
13799
  ac_status=$?
12929
13806
 
12930
13807
ac_cv_func_dlopen=no
12931
13808
fi
12932
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
13809
rm -f conftest.err conftest.$ac_objext \
 
13810
      conftest$ac_exeext conftest.$ac_ext
12933
13811
fi
12934
13812
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12935
13813
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12944
13822
  ac_check_lib_save_LIBS=$LIBS
12945
13823
LIBS="-ldl  $LIBS"
12946
13824
cat >conftest.$ac_ext <<_ACEOF
12947
 
#line $LINENO "configure"
12948
13825
/* confdefs.h.  */
12949
13826
_ACEOF
12950
13827
cat confdefs.h >>conftest.$ac_ext
12968
13845
_ACEOF
12969
13846
rm -f conftest.$ac_objext conftest$ac_exeext
12970
13847
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12971
 
  (eval $ac_link) 2>&5
 
13848
  (eval $ac_link) 2>conftest.er1
12972
13849
  ac_status=$?
 
13850
  grep -v '^ *+' conftest.er1 >conftest.err
 
13851
  rm -f conftest.er1
 
13852
  cat conftest.err >&5
12973
13853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974
13854
  (exit $ac_status); } &&
12975
 
         { ac_try='test -s conftest$ac_exeext'
 
13855
         { ac_try='test -z "$ac_cxx_werror_flag"
 
13856
                         || test ! -s conftest.err'
 
13857
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13858
  (eval $ac_try) 2>&5
 
13859
  ac_status=$?
 
13860
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13861
  (exit $ac_status); }; } &&
 
13862
         { ac_try='test -s conftest$ac_exeext'
12976
13863
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977
13864
  (eval $ac_try) 2>&5
12978
13865
  ac_status=$?
12985
13872
 
12986
13873
ac_cv_lib_dl_dlopen=no
12987
13874
fi
12988
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
13875
rm -f conftest.err conftest.$ac_objext \
 
13876
      conftest$ac_exeext conftest.$ac_ext
12989
13877
LIBS=$ac_check_lib_save_LIBS
12990
13878
fi
12991
13879
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13001
13889
  ac_check_lib_save_LIBS=$LIBS
13002
13890
LIBS="-lsvld  $LIBS"
13003
13891
cat >conftest.$ac_ext <<_ACEOF
13004
 
#line $LINENO "configure"
13005
13892
/* confdefs.h.  */
13006
13893
_ACEOF
13007
13894
cat confdefs.h >>conftest.$ac_ext
13025
13912
_ACEOF
13026
13913
rm -f conftest.$ac_objext conftest$ac_exeext
13027
13914
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13028
 
  (eval $ac_link) 2>&5
 
13915
  (eval $ac_link) 2>conftest.er1
13029
13916
  ac_status=$?
 
13917
  grep -v '^ *+' conftest.er1 >conftest.err
 
13918
  rm -f conftest.er1
 
13919
  cat conftest.err >&5
13030
13920
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031
13921
  (exit $ac_status); } &&
13032
 
         { ac_try='test -s conftest$ac_exeext'
 
13922
         { ac_try='test -z "$ac_cxx_werror_flag"
 
13923
                         || test ! -s conftest.err'
 
13924
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13925
  (eval $ac_try) 2>&5
 
13926
  ac_status=$?
 
13927
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13928
  (exit $ac_status); }; } &&
 
13929
         { ac_try='test -s conftest$ac_exeext'
13033
13930
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13034
13931
  (eval $ac_try) 2>&5
13035
13932
  ac_status=$?
13042
13939
 
13043
13940
ac_cv_lib_svld_dlopen=no
13044
13941
fi
13045
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
13942
rm -f conftest.err conftest.$ac_objext \
 
13943
      conftest$ac_exeext conftest.$ac_ext
13046
13944
LIBS=$ac_check_lib_save_LIBS
13047
13945
fi
13048
13946
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13058
13956
  ac_check_lib_save_LIBS=$LIBS
13059
13957
LIBS="-ldld  $LIBS"
13060
13958
cat >conftest.$ac_ext <<_ACEOF
13061
 
#line $LINENO "configure"
13062
13959
/* confdefs.h.  */
13063
13960
_ACEOF
13064
13961
cat confdefs.h >>conftest.$ac_ext
13082
13979
_ACEOF
13083
13980
rm -f conftest.$ac_objext conftest$ac_exeext
13084
13981
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13085
 
  (eval $ac_link) 2>&5
 
13982
  (eval $ac_link) 2>conftest.er1
13086
13983
  ac_status=$?
 
13984
  grep -v '^ *+' conftest.er1 >conftest.err
 
13985
  rm -f conftest.er1
 
13986
  cat conftest.err >&5
13087
13987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088
13988
  (exit $ac_status); } &&
13089
 
         { ac_try='test -s conftest$ac_exeext'
 
13989
         { ac_try='test -z "$ac_cxx_werror_flag"
 
13990
                         || test ! -s conftest.err'
 
13991
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13992
  (eval $ac_try) 2>&5
 
13993
  ac_status=$?
 
13994
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13995
  (exit $ac_status); }; } &&
 
13996
         { ac_try='test -s conftest$ac_exeext'
13090
13997
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13091
13998
  (eval $ac_try) 2>&5
13092
13999
  ac_status=$?
13099
14006
 
13100
14007
ac_cv_lib_dld_dld_link=no
13101
14008
fi
13102
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
14009
rm -f conftest.err conftest.$ac_objext \
 
14010
      conftest$ac_exeext conftest.$ac_ext
13103
14011
LIBS=$ac_check_lib_save_LIBS
13104
14012
fi
13105
14013
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13154
14062
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13155
14063
  lt_status=$lt_dlunknown
13156
14064
  cat > conftest.$ac_ext <<EOF
13157
 
#line 13157 "configure"
 
14065
#line 14065 "configure"
13158
14066
#include "confdefs.h"
13159
14067
 
13160
14068
#if HAVE_DLFCN_H
13220
14128
  ac_status=$?
13221
14129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222
14130
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13223
 
    (./conftest; exit; ) 2>/dev/null
 
14131
    (./conftest; exit; ) >&5 2>/dev/null
13224
14132
    lt_status=$?
13225
14133
    case x$lt_status in
13226
14134
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13252
14160
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13253
14161
  lt_status=$lt_dlunknown
13254
14162
  cat > conftest.$ac_ext <<EOF
13255
 
#line 13255 "configure"
 
14163
#line 14163 "configure"
13256
14164
#include "confdefs.h"
13257
14165
 
13258
14166
#if HAVE_DLFCN_H
13318
14226
  ac_status=$?
13319
14227
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320
14228
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13321
 
    (./conftest; exit; ) 2>/dev/null
 
14229
    (./conftest; exit; ) >&5 2>/dev/null
13322
14230
    lt_status=$?
13323
14231
    case x$lt_status in
13324
14232
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13369
14277
  # Now quote all the things that may contain metacharacters while being
13370
14278
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13371
14279
  # variables and quote the copies for generation of the libtool script.
13372
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
 
14280
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
14281
    SED SHELL STRIP \
13373
14282
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13374
14283
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13375
14284
    deplibs_check_method reload_flag reload_cmds need_locks \
13469
14378
# The host system.
13470
14379
host_alias=$host_alias
13471
14380
host=$host
 
14381
host_os=$host_os
 
14382
 
 
14383
# The build system.
 
14384
build_alias=$build_alias
 
14385
build=$build
 
14386
build_os=$build_os
13472
14387
 
13473
14388
# An echo program that does not interpret backslashes.
13474
14389
echo=$lt_echo
13499
14414
NM=$lt_NM
13500
14415
 
13501
14416
# A symbol stripping program
13502
 
STRIP=$STRIP
 
14417
STRIP=$lt_STRIP
13503
14418
 
13504
14419
# Used to examine libraries when file_magic_cmd begins "file"
13505
14420
MAGIC_CMD=$MAGIC_CMD
13530
14445
libext="$libext"
13531
14446
 
13532
14447
# Shared library suffix (normally ".so").
13533
 
shrext='$shrext'
 
14448
shrext_cmds='$shrext_cmds'
13534
14449
 
13535
14450
# Executable file suffix (normally "").
13536
14451
exeext="$exeext"
13545
14460
# Does compiler simultaneously support -c and -o options?
13546
14461
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13547
14462
 
13548
 
# Must we lock files when doing compilation ?
 
14463
# Must we lock files when doing compilation?
13549
14464
need_locks=$lt_need_locks
13550
14465
 
13551
14466
# Do we need the lib prefix for modules?
13747
14662
  # If there is no Makefile yet, we rely on a make rule to execute
13748
14663
  # `config.status --recheck' to rerun these tests and create the
13749
14664
  # libtool script then.
13750
 
  test -f Makefile && make "$ltmain"
 
14665
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
14666
  if test -f "$ltmain_in"; then
 
14667
    test -f Makefile && make "$ltmain"
 
14668
  fi
13751
14669
fi
13752
14670
 
13753
14671
 
13823
14741
compiler=$CC
13824
14742
 
13825
14743
 
 
14744
# save warnings/boilerplate of simple test code
 
14745
ac_outfile=conftest.$ac_objext
 
14746
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14747
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
14748
_lt_compiler_boilerplate=`cat conftest.err`
 
14749
$rm conftest*
 
14750
 
 
14751
ac_outfile=conftest.$ac_objext
 
14752
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14753
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
14754
_lt_linker_boilerplate=`cat conftest.err`
 
14755
$rm conftest*
 
14756
 
 
14757
 
13826
14758
# Allow CC to be a program name with arguments.
13827
14759
lt_save_CC="$CC"
13828
14760
CC=${F77-"f77"}
13829
14761
compiler=$CC
13830
14762
compiler_F77=$CC
13831
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
14763
for cc_temp in $compiler""; do
 
14764
  case $cc_temp in
 
14765
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14766
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14767
    \-*) ;;
 
14768
    *) break;;
 
14769
  esac
 
14770
done
 
14771
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14772
 
13832
14773
 
13833
14774
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13834
14775
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13841
14782
 
13842
14783
# On AIX, shared libraries and static libraries use the same namespace, and
13843
14784
# are all built from PIC.
13844
 
case "$host_os" in
 
14785
case $host_os in
13845
14786
aix3*)
13846
14787
  test "$enable_shared" = yes && enable_static=no
13847
14788
  if test -n "$RANLIB"; then
13849
14790
    postinstall_cmds='$RANLIB $lib'
13850
14791
  fi
13851
14792
  ;;
13852
 
aix4*)
13853
 
  test "$enable_shared" = yes && enable_static=no
 
14793
aix4* | aix5*)
 
14794
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14795
    test "$enable_shared" = yes && enable_static=no
 
14796
  fi
13854
14797
  ;;
13855
14798
esac
13856
14799
echo "$as_me:$LINENO: result: $enable_shared" >&5
13927
14870
    hpux*)
13928
14871
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13929
14872
      # not for PA HP-UX.
13930
 
      case "$host_cpu" in
 
14873
      case $host_cpu in
13931
14874
      hppa*64*|ia64*)
13932
14875
        # +Z the default
13933
14876
        ;;
13953
14896
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13954
14897
      fi
13955
14898
      ;;
 
14899
      darwin*)
 
14900
        # PIC is the default on this platform
 
14901
        # Common symbols not allowed in MH_DYLIB files
 
14902
       case $cc_basename in
 
14903
         xlc*)
 
14904
         lt_prog_compiler_pic_F77='-qnocommon'
 
14905
         lt_prog_compiler_wl_F77='-Wl,'
 
14906
         ;;
 
14907
       esac
 
14908
       ;;
13956
14909
 
13957
14910
    mingw* | pw32* | os2*)
13958
14911
      # This hack is so that the source file can tell whether it is being
13964
14917
      lt_prog_compiler_wl_F77='-Wl,'
13965
14918
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13966
14919
      # not for PA HP-UX.
13967
 
      case "$host_cpu" in
 
14920
      case $host_cpu in
13968
14921
      hppa*64*|ia64*)
13969
14922
        # +Z the default
13970
14923
        ;;
13988
14941
      ;;
13989
14942
 
13990
14943
    linux*)
13991
 
      case $CC in
 
14944
      case $cc_basename in
13992
14945
      icc* | ecc*)
13993
14946
        lt_prog_compiler_wl_F77='-Wl,'
13994
14947
        lt_prog_compiler_pic_F77='-KPIC'
13995
14948
        lt_prog_compiler_static_F77='-static'
13996
14949
        ;;
 
14950
      pgcc* | pgf77* | pgf90* | pgf95*)
 
14951
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
14952
        # which looks to be a dead project)
 
14953
        lt_prog_compiler_wl_F77='-Wl,'
 
14954
        lt_prog_compiler_pic_F77='-fpic'
 
14955
        lt_prog_compiler_static_F77='-Bstatic'
 
14956
        ;;
13997
14957
      ccc*)
13998
14958
        lt_prog_compiler_wl_F77='-Wl,'
13999
14959
        # All Alpha code is PIC.
14014
14974
      ;;
14015
14975
 
14016
14976
    solaris*)
14017
 
      lt_prog_compiler_wl_F77='-Wl,'
14018
14977
      lt_prog_compiler_pic_F77='-KPIC'
14019
14978
      lt_prog_compiler_static_F77='-Bstatic'
 
14979
      case $cc_basename in
 
14980
      f77* | f90* | f95*)
 
14981
        lt_prog_compiler_wl_F77='-Qoption ld ';;
 
14982
      *)
 
14983
        lt_prog_compiler_wl_F77='-Wl,';;
 
14984
      esac
14020
14985
      ;;
14021
14986
 
14022
14987
    sunos4*)
14038
15003
      fi
14039
15004
      ;;
14040
15005
 
 
15006
    unicos*)
 
15007
      lt_prog_compiler_wl_F77='-Wl,'
 
15008
      lt_prog_compiler_can_build_shared_F77=no
 
15009
      ;;
 
15010
 
14041
15011
    uts4*)
14042
15012
      lt_prog_compiler_pic_F77='-pic'
14043
15013
      lt_prog_compiler_static_F77='-Bstatic'
14072
15042
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14073
15043
   # The option is referenced via a variable to avoid confusing sed.
14074
15044
   lt_compile=`echo "$ac_compile" | $SED \
14075
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
15045
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14076
15046
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14077
15047
   -e 's:$: $lt_compiler_flag:'`
14078
 
   (eval echo "\"\$as_me:14078: $lt_compile\"" >&5)
 
15048
   (eval echo "\"\$as_me:15048: $lt_compile\"" >&5)
14079
15049
   (eval "$lt_compile" 2>conftest.err)
14080
15050
   ac_status=$?
14081
15051
   cat conftest.err >&5
14082
 
   echo "$as_me:14082: \$? = $ac_status" >&5
 
15052
   echo "$as_me:15052: \$? = $ac_status" >&5
14083
15053
   if (exit $ac_status) && test -s "$ac_outfile"; then
14084
15054
     # The compiler can only warn and ignore the option if not recognized
14085
 
     # So say no if there are warnings
14086
 
     if test ! -s conftest.err; then
 
15055
     # So say no if there are warnings other than the usual output.
 
15056
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
15057
     $SED '/^$/d' conftest.err >conftest.er2
 
15058
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
14087
15059
       lt_prog_compiler_pic_works_F77=yes
14088
15060
     fi
14089
15061
   fi
14104
15076
fi
14105
15077
 
14106
15078
fi
14107
 
case "$host_os" in
 
15079
case $host_os in
14108
15080
  # For platforms which do not support PIC, -DPIC is meaningless:
14109
15081
  *djgpp*)
14110
15082
    lt_prog_compiler_pic_F77=
14126
15098
   mkdir out
14127
15099
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14128
15100
 
14129
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14130
 
   # that will create temporary files in the current directory regardless of
14131
 
   # the output directory.  Thus, making CWD read-only will cause this test
14132
 
   # to fail, enabling locking or at least warning the user not to do parallel
14133
 
   # builds.
14134
 
   chmod -w .
14135
 
 
14136
15101
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14137
15102
   # Insert the option either (1) after the last *FLAGS variable, or
14138
15103
   # (2) before a word containing "conftest.", or (3) at the end.
14139
15104
   # Note that $ac_compile itself does not contain backslashes and begins
14140
15105
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14141
15106
   lt_compile=`echo "$ac_compile" | $SED \
14142
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
15107
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14143
15108
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14144
15109
   -e 's:$: $lt_compiler_flag:'`
14145
 
   (eval echo "\"\$as_me:14145: $lt_compile\"" >&5)
 
15110
   (eval echo "\"\$as_me:15110: $lt_compile\"" >&5)
14146
15111
   (eval "$lt_compile" 2>out/conftest.err)
14147
15112
   ac_status=$?
14148
15113
   cat out/conftest.err >&5
14149
 
   echo "$as_me:14149: \$? = $ac_status" >&5
 
15114
   echo "$as_me:15114: \$? = $ac_status" >&5
14150
15115
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14151
15116
   then
14152
15117
     # The compiler can only warn and ignore the option if not recognized
14153
15118
     # So say no if there are warnings
14154
 
     if test ! -s out/conftest.err; then
 
15119
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 
15120
     $SED '/^$/d' out/conftest.err >out/conftest.er2
 
15121
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14155
15122
       lt_cv_prog_compiler_c_o_F77=yes
14156
15123
     fi
14157
15124
   fi
14158
 
   chmod u+w .
 
15125
   chmod u+w . 2>&5
14159
15126
   $rm conftest*
14160
15127
   # SGI C++ compiler will create directory out/ii_files/ for
14161
15128
   # template instantiation
14231
15198
  # rely on this symbol name, it's probably fine to never include it in
14232
15199
  # preloaded symbol tables.
14233
15200
  extract_expsyms_cmds=
 
15201
  # Just being paranoid about ensuring that cc_basename is set.
 
15202
  for cc_temp in $compiler""; do
 
15203
  case $cc_temp in
 
15204
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
15205
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
15206
    \-*) ;;
 
15207
    *) break;;
 
15208
  esac
 
15209
done
 
15210
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14234
15211
 
14235
15212
  case $host_os in
14236
15213
  cygwin* | mingw* | pw32*)
14251
15228
    # If archive_cmds runs LD, not CC, wlarc should be empty
14252
15229
    wlarc='${wl}'
14253
15230
 
 
15231
    # Set some defaults for GNU ld with shared library support. These
 
15232
    # are reset later if shared libraries are not supported. Putting them
 
15233
    # here allows them to be overridden if necessary.
 
15234
    runpath_var=LD_RUN_PATH
 
15235
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
15236
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
15237
    # ancient GNU ld didn't support --whole-archive et. al.
 
15238
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
15239
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
15240
      else
 
15241
        whole_archive_flag_spec_F77=
 
15242
    fi
 
15243
    supports_anon_versioning=no
 
15244
    case `$LD -v 2>/dev/null` in
 
15245
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
15246
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
15247
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
15248
      *\ 2.11.*) ;; # other 2.11 versions
 
15249
      *) supports_anon_versioning=yes ;;
 
15250
    esac
 
15251
 
14254
15252
    # See if GNU ld supports shared libraries.
14255
15253
    case $host_os in
14256
15254
    aix3* | aix4* | aix5*)
14301
15299
      allow_undefined_flag_F77=unsupported
14302
15300
      always_export_symbols_F77=no
14303
15301
      enable_shared_with_static_runtimes_F77=yes
14304
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
15302
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14305
15303
 
14306
15304
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14307
15305
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14315
15313
        fi~
14316
15314
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
14317
15315
      else
14318
 
        ld_shlibs=no
 
15316
        ld_shlibs_F77=no
 
15317
      fi
 
15318
      ;;
 
15319
 
 
15320
    linux*)
 
15321
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15322
        tmp_addflag=
 
15323
        case $cc_basename,$host_cpu in
 
15324
        pgcc*)                          # Portland Group C compiler
 
15325
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
15326
          tmp_addflag=' $pic_flag'
 
15327
          ;;
 
15328
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
15329
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
15330
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
15331
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
15332
          tmp_addflag=' -i_dynamic' ;;
 
15333
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
15334
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
15335
        ifc* | ifort*)                  # Intel Fortran compiler
 
15336
          tmp_addflag=' -nofor_main' ;;
 
15337
        esac
 
15338
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15339
 
 
15340
        if test $supports_anon_versioning = yes; then
 
15341
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
15342
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
15343
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
15344
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15345
        fi
 
15346
      else
 
15347
        ld_shlibs_F77=no
14319
15348
      fi
14320
15349
      ;;
14321
15350
 
14367
15396
      ;;
14368
15397
    esac
14369
15398
 
14370
 
    if test "$ld_shlibs_F77" = yes; then
14371
 
      runpath_var=LD_RUN_PATH
14372
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14373
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14374
 
      # ancient GNU ld didn't support --whole-archive et. al.
14375
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14376
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14377
 
      else
14378
 
        whole_archive_flag_spec_F77=
14379
 
      fi
 
15399
    if test "$ld_shlibs_F77" = no; then
 
15400
      runpath_var=
 
15401
      hardcode_libdir_flag_spec_F77=
 
15402
      export_dynamic_flag_spec_F77=
 
15403
      whole_archive_flag_spec_F77=
14380
15404
    fi
14381
15405
  else
14382
15406
    # PORTME fill in a description of your system's linker (not GNU ld)
14440
15464
      link_all_deplibs_F77=yes
14441
15465
 
14442
15466
      if test "$GCC" = yes; then
14443
 
        case $host_os in aix4.012|aix4.012.*)
 
15467
        case $host_os in aix4.[012]|aix4.[012].*)
14444
15468
        # We only want to do this on AIX 4.2 and lower, the check
14445
15469
        # below for broken collect2 doesn't work under 4.3+
14446
15470
          collect2name=`${CC} -print-prog-name=collect2`
14461
15485
          fi
14462
15486
        esac
14463
15487
        shared_flag='-shared'
 
15488
        if test "$aix_use_runtimelinking" = yes; then
 
15489
          shared_flag="$shared_flag "'${wl}-G'
 
15490
        fi
14464
15491
      else
14465
15492
        # not using gcc
14466
15493
        if test "$host_cpu" = ia64; then
14491
15518
_ACEOF
14492
15519
rm -f conftest.$ac_objext conftest$ac_exeext
14493
15520
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14494
 
  (eval $ac_link) 2>&5
 
15521
  (eval $ac_link) 2>conftest.er1
14495
15522
  ac_status=$?
 
15523
  grep -v '^ *+' conftest.er1 >conftest.err
 
15524
  rm -f conftest.er1
 
15525
  cat conftest.err >&5
14496
15526
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497
15527
  (exit $ac_status); } &&
14498
 
         { ac_try='test -s conftest$ac_exeext'
 
15528
         { ac_try='test -z "$ac_f77_werror_flag"
 
15529
                         || test ! -s conftest.err'
 
15530
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15531
  (eval $ac_try) 2>&5
 
15532
  ac_status=$?
 
15533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15534
  (exit $ac_status); }; } &&
 
15535
         { ac_try='test -s conftest$ac_exeext'
14499
15536
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500
15537
  (eval $ac_try) 2>&5
14501
15538
  ac_status=$?
14512
15549
sed 's/^/| /' conftest.$ac_ext >&5
14513
15550
 
14514
15551
fi
14515
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
15552
rm -f conftest.err conftest.$ac_objext \
 
15553
      conftest$ac_exeext conftest.$ac_ext
14516
15554
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14517
15555
 
14518
15556
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14531
15569
_ACEOF
14532
15570
rm -f conftest.$ac_objext conftest$ac_exeext
14533
15571
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14534
 
  (eval $ac_link) 2>&5
 
15572
  (eval $ac_link) 2>conftest.er1
14535
15573
  ac_status=$?
 
15574
  grep -v '^ *+' conftest.er1 >conftest.err
 
15575
  rm -f conftest.er1
 
15576
  cat conftest.err >&5
14536
15577
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537
15578
  (exit $ac_status); } &&
14538
 
         { ac_try='test -s conftest$ac_exeext'
 
15579
         { ac_try='test -z "$ac_f77_werror_flag"
 
15580
                         || test ! -s conftest.err'
 
15581
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
15582
  (eval $ac_try) 2>&5
 
15583
  ac_status=$?
 
15584
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15585
  (exit $ac_status); }; } &&
 
15586
         { ac_try='test -s conftest$ac_exeext'
14539
15587
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540
15588
  (eval $ac_try) 2>&5
14541
15589
  ac_status=$?
14552
15600
sed 's/^/| /' conftest.$ac_ext >&5
14553
15601
 
14554
15602
fi
14555
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
15603
rm -f conftest.err conftest.$ac_objext \
 
15604
      conftest$ac_exeext conftest.$ac_ext
14556
15605
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14557
15606
 
14558
15607
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14565
15614
          # Exported symbols can be pulled into shared objects from archives
14566
15615
          whole_archive_flag_spec_F77=' '
14567
15616
          archive_cmds_need_lc_F77=yes
14568
 
          # This is similar to how AIX traditionally builds it's shared libraries.
 
15617
          # This is similar to how AIX traditionally builds its shared libraries.
14569
15618
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14570
15619
        fi
14571
15620
      fi
14579
15628
      ld_shlibs_F77=no
14580
15629
      ;;
14581
15630
 
14582
 
    bsdi4*)
 
15631
    bsdi[45]*)
14583
15632
      export_dynamic_flag_spec_F77=-rdynamic
14584
15633
      ;;
14585
15634
 
14593
15642
      # Tell ltmain to make .lib files, not .a files.
14594
15643
      libext=lib
14595
15644
      # Tell ltmain to make .dll files, not .so files.
14596
 
      shrext=".dll"
 
15645
      shrext_cmds=".dll"
14597
15646
      # FIXME: Setting linknames here is a bad hack.
14598
15647
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14599
15648
      # The linker will automatically build a .lib file if we build a DLL.
14600
15649
      old_archive_From_new_cmds_F77='true'
14601
15650
      # FIXME: Should let the user specify the lib program.
14602
15651
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14603
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
15652
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14604
15653
      enable_shared_with_static_runtimes_F77=yes
14605
15654
      ;;
14606
15655
 
14607
15656
    darwin* | rhapsody*)
14608
 
    if test "$GXX" = yes ; then
 
15657
      case $host_os in
 
15658
        rhapsody* | darwin1.[012])
 
15659
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 
15660
         ;;
 
15661
       *) # Darwin 1.3 on
 
15662
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
15663
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15664
         else
 
15665
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
15666
             10.[012])
 
15667
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15668
               ;;
 
15669
             10.*)
 
15670
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 
15671
               ;;
 
15672
           esac
 
15673
         fi
 
15674
         ;;
 
15675
      esac
14609
15676
      archive_cmds_need_lc_F77=no
14610
 
      case "$host_os" in
14611
 
      rhapsody* | darwin1.[012])
14612
 
        allow_undefined_flag_F77='-undefined suppress'
14613
 
        ;;
14614
 
      *) # Darwin 1.3 on
14615
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14616
 
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14617
 
      else
14618
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
14619
 
          10.[012])
14620
 
            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14621
 
            ;;
14622
 
          10.*)
14623
 
            allow_undefined_flag_F77='-undefined dynamic_lookup'
14624
 
            ;;
14625
 
        esac
14626
 
      fi
14627
 
        ;;
14628
 
      esac
14629
 
        lt_int_apple_cc_single_mod=no
14630
 
        output_verbose_link_cmd='echo'
14631
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14632
 
          lt_int_apple_cc_single_mod=yes
14633
 
        fi
14634
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14635
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14636
 
        else
14637
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -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'
14638
 
      fi
14639
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14640
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14641
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14642
 
          archive_expsym_cmds_F77='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}'
14643
 
        else
14644
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
14645
 
        fi
14646
 
          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}'
14647
15677
      hardcode_direct_F77=no
14648
15678
      hardcode_automatic_F77=yes
14649
15679
      hardcode_shlibpath_var_F77=unsupported
14650
 
      whole_archive_flag_spec_F77='-all_load $convenience'
 
15680
      whole_archive_flag_spec_F77=''
14651
15681
      link_all_deplibs_F77=yes
 
15682
    if test "$GCC" = yes ; then
 
15683
        output_verbose_link_cmd='echo'
 
15684
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
15685
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15686
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15687
      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}'
 
15688
      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}'
14652
15689
    else
14653
 
      ld_shlibs_F77=no
 
15690
      case $cc_basename in
 
15691
        xlc*)
 
15692
         output_verbose_link_cmd='echo'
 
15693
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15694
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15695
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15696
         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}'
 
15697
          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}'
 
15698
          ;;
 
15699
       *)
 
15700
         ld_shlibs_F77=no
 
15701
          ;;
 
15702
      esac
14654
15703
    fi
14655
15704
      ;;
14656
15705
 
14684
15733
      ;;
14685
15734
 
14686
15735
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14687
 
    freebsd* | kfreebsd*-gnu)
 
15736
    freebsd* | kfreebsd*-gnu | dragonfly*)
14688
15737
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14689
15738
      hardcode_libdir_flag_spec_F77='-R$libdir'
14690
15739
      hardcode_direct_F77=yes
14709
15758
 
14710
15759
    hpux10* | hpux11*)
14711
15760
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14712
 
        case "$host_cpu" in
 
15761
        case $host_cpu in
14713
15762
        hppa*64*|ia64*)
14714
15763
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14715
15764
          ;;
14718
15767
          ;;
14719
15768
        esac
14720
15769
      else
14721
 
        case "$host_cpu" in
 
15770
        case $host_cpu in
14722
15771
        hppa*64*|ia64*)
14723
15772
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14724
15773
          ;;
14728
15777
        esac
14729
15778
      fi
14730
15779
      if test "$with_gnu_ld" = no; then
14731
 
        case "$host_cpu" in
 
15780
        case $host_cpu in
14732
15781
        hppa*64*)
14733
15782
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14734
15783
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14795
15844
      hardcode_shlibpath_var_F77=no
14796
15845
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14797
15846
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15847
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14798
15848
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14799
15849
        export_dynamic_flag_spec_F77='${wl}-E'
14800
15850
      else
14840
15890
        allow_undefined_flag_F77=' -expect_unresolved \*'
14841
15891
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14842
15892
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14843
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
15893
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14844
15894
 
14845
15895
        # Both c and cxx compiler support -rpath directly
14846
15896
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
14859
15909
    solaris*)
14860
15910
      no_undefined_flag_F77=' -z text'
14861
15911
      if test "$GCC" = yes; then
 
15912
        wlarc='${wl}'
14862
15913
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14863
15914
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14864
15915
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14865
15916
      else
 
15917
        wlarc=''
14866
15918
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14867
15919
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14868
15920
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14871
15923
      hardcode_shlibpath_var_F77=no
14872
15924
      case $host_os in
14873
15925
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14874
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14875
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15926
      *)
 
15927
        # The compiler driver will combine linker options so we
 
15928
        # cannot just pass the convience library names through
 
15929
        # without $wl, iff we do not link with $LD.
 
15930
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15931
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
15932
        case $wlarc in
 
15933
        '')
 
15934
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15935
        *)
 
15936
          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' ;;
 
15937
        esac ;;
14876
15938
      esac
14877
15939
      link_all_deplibs_F77=yes
14878
15940
      ;;
15049
16111
library_names_spec=
15050
16112
libname_spec='lib$name'
15051
16113
soname_spec=
15052
 
shrext=".so"
 
16114
shrext_cmds=".so"
15053
16115
postinstall_cmds=
15054
16116
postuninstall_cmds=
15055
16117
finish_cmds=
15146
16208
  shlibpath_var=LIBRARY_PATH
15147
16209
  ;;
15148
16210
 
15149
 
bsdi4*)
 
16211
bsdi[45]*)
15150
16212
  version_type=linux
15151
16213
  need_version=no
15152
16214
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15162
16224
 
15163
16225
cygwin* | mingw* | pw32*)
15164
16226
  version_type=windows
15165
 
  shrext=".dll"
 
16227
  shrext_cmds=".dll"
15166
16228
  need_version=no
15167
16229
  need_lib_prefix=no
15168
16230
 
15174
16236
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15175
16237
      dldir=$destdir/`dirname \$dlpath`~
15176
16238
      test -d \$dldir || mkdir -p \$dldir~
15177
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
16239
      $install_prog $dir/$dlname \$dldir/$dlname~
 
16240
      chmod a+x \$dldir/$dlname'
15178
16241
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15179
16242
      dlpath=$dir/\$dldll~
15180
16243
       $rm \$dlpath'
15204
16267
      ;;
15205
16268
    pw32*)
15206
16269
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15207
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
16270
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15208
16271
      ;;
15209
16272
    esac
15210
16273
    ;;
15227
16290
  soname_spec='${libname}${release}${major}$shared_ext'
15228
16291
  shlibpath_overrides_runpath=yes
15229
16292
  shlibpath_var=DYLD_LIBRARY_PATH
15230
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
16293
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15231
16294
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15232
16295
  if test "$GCC" = yes; then
15233
16296
    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"`
15262
16325
  dynamic_linker='GNU ld.so'
15263
16326
  ;;
15264
16327
 
15265
 
freebsd*)
15266
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
16328
freebsd* | dragonfly*)
 
16329
  # DragonFly does not have aout.  When/if they implement a new
 
16330
  # versioning mechanism, adjust this.
 
16331
  if test -x /usr/bin/objformat; then
 
16332
    objformat=`/usr/bin/objformat`
 
16333
  else
 
16334
    case $host_os in
 
16335
    freebsd[123]*) objformat=aout ;;
 
16336
    *) objformat=elf ;;
 
16337
    esac
 
16338
  fi
15267
16339
  version_type=freebsd-$objformat
15268
16340
  case $version_type in
15269
16341
    freebsd-elf*)
15281
16353
  freebsd2*)
15282
16354
    shlibpath_overrides_runpath=yes
15283
16355
    ;;
15284
 
  freebsd3.01* | freebsdelf3.01*)
 
16356
  freebsd3.[01]* | freebsdelf3.[01]*)
15285
16357
    shlibpath_overrides_runpath=yes
15286
16358
    hardcode_into_libs=yes
15287
16359
    ;;
15308
16380
  version_type=sunos
15309
16381
  need_lib_prefix=no
15310
16382
  need_version=no
15311
 
  case "$host_cpu" in
 
16383
  case $host_cpu in
15312
16384
  ia64*)
15313
 
    shrext='.so'
 
16385
    shrext_cmds='.so'
15314
16386
    hardcode_into_libs=yes
15315
16387
    dynamic_linker="$host_os dld.so"
15316
16388
    shlibpath_var=LD_LIBRARY_PATH
15325
16397
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15326
16398
    ;;
15327
16399
   hppa*64*)
15328
 
     shrext='.sl'
 
16400
     shrext_cmds='.sl'
15329
16401
     hardcode_into_libs=yes
15330
16402
     dynamic_linker="$host_os dld.sl"
15331
16403
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15336
16408
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15337
16409
     ;;
15338
16410
   *)
15339
 
    shrext='.sl'
 
16411
    shrext_cmds='.sl'
15340
16412
    dynamic_linker="$host_os dld.sl"
15341
16413
    shlibpath_var=SHLIB_PATH
15342
16414
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15405
16477
  # before this can be enabled.
15406
16478
  hardcode_into_libs=yes
15407
16479
 
 
16480
  # find out which ABI we are using
 
16481
  libsuff=
 
16482
  case "$host_cpu" in
 
16483
  x86_64*|s390x*|powerpc64*)
 
16484
    echo '#line 16484 "configure"' > conftest.$ac_ext
 
16485
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16486
  (eval $ac_compile) 2>&5
 
16487
  ac_status=$?
 
16488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16489
  (exit $ac_status); }; then
 
16490
      case `/usr/bin/file conftest.$ac_objext` in
 
16491
      *64-bit*)
 
16492
        libsuff=64
 
16493
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
 
16494
        ;;
 
16495
      esac
 
16496
    fi
 
16497
    rm -rf conftest*
 
16498
    ;;
 
16499
  esac
 
16500
 
 
16501
  # Append ld.so.conf contents to the search path
 
16502
  if test -f /etc/ld.so.conf; then
 
16503
    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' ' '`
 
16504
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
16505
  fi
 
16506
 
15408
16507
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15409
16508
  # powerpc, because MkLinux only supported shared libraries with the
15410
16509
  # GNU dynamic linker.  Since this was broken with cross compilers,
15435
16534
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15436
16535
    dynamic_linker='NetBSD (a.out) ld.so'
15437
16536
  else
15438
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
 
16537
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15439
16538
    soname_spec='${libname}${release}${shared_ext}$major'
15440
16539
    dynamic_linker='NetBSD ld.elf_so'
15441
16540
  fi
15464
16563
openbsd*)
15465
16564
  version_type=sunos
15466
16565
  need_lib_prefix=no
15467
 
  need_version=yes
 
16566
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
16567
  case $host_os in
 
16568
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
16569
    *)                         need_version=no  ;;
 
16570
  esac
15468
16571
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15469
16572
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15470
16573
  shlibpath_var=LD_LIBRARY_PATH
15484
16587
 
15485
16588
os2*)
15486
16589
  libname_spec='$name'
15487
 
  shrext=".dll"
 
16590
  shrext_cmds=".dll"
15488
16591
  need_lib_prefix=no
15489
16592
  library_names_spec='$libname${shared_ext} $libname.a'
15490
16593
  dynamic_linker='OS/2 ld.exe'
15586
16689
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15587
16690
hardcode_action_F77=
15588
16691
if test -n "$hardcode_libdir_flag_spec_F77" || \
15589
 
   test -n "$runpath_var F77" || \
15590
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
 
16692
   test -n "$runpath_var_F77" || \
 
16693
   test "X$hardcode_automatic_F77" = "Xyes" ; then
15591
16694
 
15592
16695
  # We can hardcode non-existant directories.
15593
16696
  if test "$hardcode_direct_F77" != no &&
15663
16766
  # Now quote all the things that may contain metacharacters while being
15664
16767
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15665
16768
  # variables and quote the copies for generation of the libtool script.
15666
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
 
16769
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
16770
    SED SHELL STRIP \
15667
16771
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15668
16772
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15669
16773
    deplibs_check_method reload_flag reload_cmds need_locks \
15763
16867
# The host system.
15764
16868
host_alias=$host_alias
15765
16869
host=$host
 
16870
host_os=$host_os
 
16871
 
 
16872
# The build system.
 
16873
build_alias=$build_alias
 
16874
build=$build
 
16875
build_os=$build_os
15766
16876
 
15767
16877
# An echo program that does not interpret backslashes.
15768
16878
echo=$lt_echo
15793
16903
NM=$lt_NM
15794
16904
 
15795
16905
# A symbol stripping program
15796
 
STRIP=$STRIP
 
16906
STRIP=$lt_STRIP
15797
16907
 
15798
16908
# Used to examine libraries when file_magic_cmd begins "file"
15799
16909
MAGIC_CMD=$MAGIC_CMD
15824
16934
libext="$libext"
15825
16935
 
15826
16936
# Shared library suffix (normally ".so").
15827
 
shrext='$shrext'
 
16937
shrext_cmds='$shrext_cmds'
15828
16938
 
15829
16939
# Executable file suffix (normally "").
15830
16940
exeext="$exeext"
15839
16949
# Does compiler simultaneously support -c and -o options?
15840
16950
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15841
16951
 
15842
 
# Must we lock files when doing compilation ?
 
16952
# Must we lock files when doing compilation?
15843
16953
need_locks=$lt_need_locks
15844
16954
 
15845
16955
# Do we need the lib prefix for modules?
16041
17151
  # If there is no Makefile yet, we rely on a make rule to execute
16042
17152
  # `config.status --recheck' to rerun these tests and create the
16043
17153
  # libtool script then.
16044
 
  test -f Makefile && make "$ltmain"
 
17154
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
17155
  if test -f "$ltmain_in"; then
 
17156
    test -f Makefile && make "$ltmain"
 
17157
  fi
16045
17158
fi
16046
17159
 
16047
17160
 
16074
17187
lt_simple_compile_test_code="class foo {}\n"
16075
17188
 
16076
17189
# Code to be used in simple link tests
16077
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
 
17190
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16078
17191
 
16079
17192
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16080
17193
 
16085
17198
compiler=$CC
16086
17199
 
16087
17200
 
 
17201
# save warnings/boilerplate of simple test code
 
17202
ac_outfile=conftest.$ac_objext
 
17203
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
17204
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
17205
_lt_compiler_boilerplate=`cat conftest.err`
 
17206
$rm conftest*
 
17207
 
 
17208
ac_outfile=conftest.$ac_objext
 
17209
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
17210
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
17211
_lt_linker_boilerplate=`cat conftest.err`
 
17212
$rm conftest*
 
17213
 
 
17214
 
16088
17215
# Allow CC to be a program name with arguments.
16089
17216
lt_save_CC="$CC"
16090
17217
CC=${GCJ-"gcj"}
16091
17218
compiler=$CC
16092
17219
compiler_GCJ=$CC
 
17220
for cc_temp in $compiler""; do
 
17221
  case $cc_temp in
 
17222
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17223
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17224
    \-*) ;;
 
17225
    *) break;;
 
17226
  esac
 
17227
done
 
17228
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
17229
 
16093
17230
 
16094
17231
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16095
17232
archive_cmds_need_lc_GCJ=no
16096
17233
 
 
17234
old_archive_cmds_GCJ=$old_archive_cmds
 
17235
 
16097
17236
 
16098
17237
lt_prog_compiler_no_builtin_flag_GCJ=
16099
17238
 
16116
17255
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16117
17256
   # The option is referenced via a variable to avoid confusing sed.
16118
17257
   lt_compile=`echo "$ac_compile" | $SED \
16119
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17258
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16120
17259
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16121
17260
   -e 's:$: $lt_compiler_flag:'`
16122
 
   (eval echo "\"\$as_me:16122: $lt_compile\"" >&5)
 
17261
   (eval echo "\"\$as_me:17261: $lt_compile\"" >&5)
16123
17262
   (eval "$lt_compile" 2>conftest.err)
16124
17263
   ac_status=$?
16125
17264
   cat conftest.err >&5
16126
 
   echo "$as_me:16126: \$? = $ac_status" >&5
 
17265
   echo "$as_me:17265: \$? = $ac_status" >&5
16127
17266
   if (exit $ac_status) && test -s "$ac_outfile"; then
16128
17267
     # The compiler can only warn and ignore the option if not recognized
16129
 
     # So say no if there are warnings
16130
 
     if test ! -s conftest.err; then
 
17268
     # So say no if there are warnings other than the usual output.
 
17269
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
17270
     $SED '/^$/d' conftest.err >conftest.er2
 
17271
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
16131
17272
       lt_cv_prog_compiler_rtti_exceptions=yes
16132
17273
     fi
16133
17274
   fi
16204
17345
    hpux*)
16205
17346
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16206
17347
      # not for PA HP-UX.
16207
 
      case "$host_cpu" in
 
17348
      case $host_cpu in
16208
17349
      hppa*64*|ia64*)
16209
17350
        # +Z the default
16210
17351
        ;;
16230
17371
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16231
17372
      fi
16232
17373
      ;;
 
17374
      darwin*)
 
17375
        # PIC is the default on this platform
 
17376
        # Common symbols not allowed in MH_DYLIB files
 
17377
       case $cc_basename in
 
17378
         xlc*)
 
17379
         lt_prog_compiler_pic_GCJ='-qnocommon'
 
17380
         lt_prog_compiler_wl_GCJ='-Wl,'
 
17381
         ;;
 
17382
       esac
 
17383
       ;;
16233
17384
 
16234
17385
    mingw* | pw32* | os2*)
16235
17386
      # This hack is so that the source file can tell whether it is being
16241
17392
      lt_prog_compiler_wl_GCJ='-Wl,'
16242
17393
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16243
17394
      # not for PA HP-UX.
16244
 
      case "$host_cpu" in
 
17395
      case $host_cpu in
16245
17396
      hppa*64*|ia64*)
16246
17397
        # +Z the default
16247
17398
        ;;
16265
17416
      ;;
16266
17417
 
16267
17418
    linux*)
16268
 
      case $CC in
 
17419
      case $cc_basename in
16269
17420
      icc* | ecc*)
16270
17421
        lt_prog_compiler_wl_GCJ='-Wl,'
16271
17422
        lt_prog_compiler_pic_GCJ='-KPIC'
16272
17423
        lt_prog_compiler_static_GCJ='-static'
16273
17424
        ;;
 
17425
      pgcc* | pgf77* | pgf90* | pgf95*)
 
17426
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
17427
        # which looks to be a dead project)
 
17428
        lt_prog_compiler_wl_GCJ='-Wl,'
 
17429
        lt_prog_compiler_pic_GCJ='-fpic'
 
17430
        lt_prog_compiler_static_GCJ='-Bstatic'
 
17431
        ;;
16274
17432
      ccc*)
16275
17433
        lt_prog_compiler_wl_GCJ='-Wl,'
16276
17434
        # All Alpha code is PIC.
16291
17449
      ;;
16292
17450
 
16293
17451
    solaris*)
16294
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16295
17452
      lt_prog_compiler_pic_GCJ='-KPIC'
16296
17453
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17454
      case $cc_basename in
 
17455
      f77* | f90* | f95*)
 
17456
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 
17457
      *)
 
17458
        lt_prog_compiler_wl_GCJ='-Wl,';;
 
17459
      esac
16297
17460
      ;;
16298
17461
 
16299
17462
    sunos4*)
16315
17478
      fi
16316
17479
      ;;
16317
17480
 
 
17481
    unicos*)
 
17482
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17483
      lt_prog_compiler_can_build_shared_GCJ=no
 
17484
      ;;
 
17485
 
16318
17486
    uts4*)
16319
17487
      lt_prog_compiler_pic_GCJ='-pic'
16320
17488
      lt_prog_compiler_static_GCJ='-Bstatic'
16349
17517
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16350
17518
   # The option is referenced via a variable to avoid confusing sed.
16351
17519
   lt_compile=`echo "$ac_compile" | $SED \
16352
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17520
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16353
17521
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16354
17522
   -e 's:$: $lt_compiler_flag:'`
16355
 
   (eval echo "\"\$as_me:16355: $lt_compile\"" >&5)
 
17523
   (eval echo "\"\$as_me:17523: $lt_compile\"" >&5)
16356
17524
   (eval "$lt_compile" 2>conftest.err)
16357
17525
   ac_status=$?
16358
17526
   cat conftest.err >&5
16359
 
   echo "$as_me:16359: \$? = $ac_status" >&5
 
17527
   echo "$as_me:17527: \$? = $ac_status" >&5
16360
17528
   if (exit $ac_status) && test -s "$ac_outfile"; then
16361
17529
     # The compiler can only warn and ignore the option if not recognized
16362
 
     # So say no if there are warnings
16363
 
     if test ! -s conftest.err; then
 
17530
     # So say no if there are warnings other than the usual output.
 
17531
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
17532
     $SED '/^$/d' conftest.err >conftest.er2
 
17533
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
16364
17534
       lt_prog_compiler_pic_works_GCJ=yes
16365
17535
     fi
16366
17536
   fi
16381
17551
fi
16382
17552
 
16383
17553
fi
16384
 
case "$host_os" in
 
17554
case $host_os in
16385
17555
  # For platforms which do not support PIC, -DPIC is meaningless:
16386
17556
  *djgpp*)
16387
17557
    lt_prog_compiler_pic_GCJ=
16403
17573
   mkdir out
16404
17574
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16405
17575
 
16406
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
16407
 
   # that will create temporary files in the current directory regardless of
16408
 
   # the output directory.  Thus, making CWD read-only will cause this test
16409
 
   # to fail, enabling locking or at least warning the user not to do parallel
16410
 
   # builds.
16411
 
   chmod -w .
16412
 
 
16413
17576
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16414
17577
   # Insert the option either (1) after the last *FLAGS variable, or
16415
17578
   # (2) before a word containing "conftest.", or (3) at the end.
16416
17579
   # Note that $ac_compile itself does not contain backslashes and begins
16417
17580
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16418
17581
   lt_compile=`echo "$ac_compile" | $SED \
16419
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17582
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16420
17583
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16421
17584
   -e 's:$: $lt_compiler_flag:'`
16422
 
   (eval echo "\"\$as_me:16422: $lt_compile\"" >&5)
 
17585
   (eval echo "\"\$as_me:17585: $lt_compile\"" >&5)
16423
17586
   (eval "$lt_compile" 2>out/conftest.err)
16424
17587
   ac_status=$?
16425
17588
   cat out/conftest.err >&5
16426
 
   echo "$as_me:16426: \$? = $ac_status" >&5
 
17589
   echo "$as_me:17589: \$? = $ac_status" >&5
16427
17590
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16428
17591
   then
16429
17592
     # The compiler can only warn and ignore the option if not recognized
16430
17593
     # So say no if there are warnings
16431
 
     if test ! -s out/conftest.err; then
 
17594
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 
17595
     $SED '/^$/d' out/conftest.err >out/conftest.er2
 
17596
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16432
17597
       lt_cv_prog_compiler_c_o_GCJ=yes
16433
17598
     fi
16434
17599
   fi
16435
 
   chmod u+w .
 
17600
   chmod u+w . 2>&5
16436
17601
   $rm conftest*
16437
17602
   # SGI C++ compiler will create directory out/ii_files/ for
16438
17603
   # template instantiation
16508
17673
  # rely on this symbol name, it's probably fine to never include it in
16509
17674
  # preloaded symbol tables.
16510
17675
  extract_expsyms_cmds=
 
17676
  # Just being paranoid about ensuring that cc_basename is set.
 
17677
  for cc_temp in $compiler""; do
 
17678
  case $cc_temp in
 
17679
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17680
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17681
    \-*) ;;
 
17682
    *) break;;
 
17683
  esac
 
17684
done
 
17685
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16511
17686
 
16512
17687
  case $host_os in
16513
17688
  cygwin* | mingw* | pw32*)
16528
17703
    # If archive_cmds runs LD, not CC, wlarc should be empty
16529
17704
    wlarc='${wl}'
16530
17705
 
 
17706
    # Set some defaults for GNU ld with shared library support. These
 
17707
    # are reset later if shared libraries are not supported. Putting them
 
17708
    # here allows them to be overridden if necessary.
 
17709
    runpath_var=LD_RUN_PATH
 
17710
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
17711
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
17712
    # ancient GNU ld didn't support --whole-archive et. al.
 
17713
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
17714
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
17715
      else
 
17716
        whole_archive_flag_spec_GCJ=
 
17717
    fi
 
17718
    supports_anon_versioning=no
 
17719
    case `$LD -v 2>/dev/null` in
 
17720
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
17721
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
17722
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
17723
      *\ 2.11.*) ;; # other 2.11 versions
 
17724
      *) supports_anon_versioning=yes ;;
 
17725
    esac
 
17726
 
16531
17727
    # See if GNU ld supports shared libraries.
16532
17728
    case $host_os in
16533
17729
    aix3* | aix4* | aix5*)
16578
17774
      allow_undefined_flag_GCJ=unsupported
16579
17775
      always_export_symbols_GCJ=no
16580
17776
      enable_shared_with_static_runtimes_GCJ=yes
16581
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17777
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16582
17778
 
16583
17779
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16584
17780
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16592
17788
        fi~
16593
17789
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
16594
17790
      else
16595
 
        ld_shlibs=no
 
17791
        ld_shlibs_GCJ=no
 
17792
      fi
 
17793
      ;;
 
17794
 
 
17795
    linux*)
 
17796
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17797
        tmp_addflag=
 
17798
        case $cc_basename,$host_cpu in
 
17799
        pgcc*)                          # Portland Group C compiler
 
17800
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17801
          tmp_addflag=' $pic_flag'
 
17802
          ;;
 
17803
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
17804
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17805
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
17806
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
17807
          tmp_addflag=' -i_dynamic' ;;
 
17808
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
17809
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
17810
        ifc* | ifort*)                  # Intel Fortran compiler
 
17811
          tmp_addflag=' -nofor_main' ;;
 
17812
        esac
 
17813
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17814
 
 
17815
        if test $supports_anon_versioning = yes; then
 
17816
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
17817
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
17818
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
17819
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17820
        fi
 
17821
      else
 
17822
        ld_shlibs_GCJ=no
16596
17823
      fi
16597
17824
      ;;
16598
17825
 
16644
17871
      ;;
16645
17872
    esac
16646
17873
 
16647
 
    if test "$ld_shlibs_GCJ" = yes; then
16648
 
      runpath_var=LD_RUN_PATH
16649
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16650
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16651
 
      # ancient GNU ld didn't support --whole-archive et. al.
16652
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16653
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16654
 
      else
16655
 
        whole_archive_flag_spec_GCJ=
16656
 
      fi
 
17874
    if test "$ld_shlibs_GCJ" = no; then
 
17875
      runpath_var=
 
17876
      hardcode_libdir_flag_spec_GCJ=
 
17877
      export_dynamic_flag_spec_GCJ=
 
17878
      whole_archive_flag_spec_GCJ=
16657
17879
    fi
16658
17880
  else
16659
17881
    # PORTME fill in a description of your system's linker (not GNU ld)
16717
17939
      link_all_deplibs_GCJ=yes
16718
17940
 
16719
17941
      if test "$GCC" = yes; then
16720
 
        case $host_os in aix4.012|aix4.012.*)
 
17942
        case $host_os in aix4.[012]|aix4.[012].*)
16721
17943
        # We only want to do this on AIX 4.2 and lower, the check
16722
17944
        # below for broken collect2 doesn't work under 4.3+
16723
17945
          collect2name=`${CC} -print-prog-name=collect2`
16738
17960
          fi
16739
17961
        esac
16740
17962
        shared_flag='-shared'
 
17963
        if test "$aix_use_runtimelinking" = yes; then
 
17964
          shared_flag="$shared_flag "'${wl}-G'
 
17965
        fi
16741
17966
      else
16742
17967
        # not using gcc
16743
17968
        if test "$host_cpu" = ia64; then
16762
17987
        allow_undefined_flag_GCJ='-berok'
16763
17988
       # Determine the default libpath from the value encoded in an empty executable.
16764
17989
       cat >conftest.$ac_ext <<_ACEOF
16765
 
#line $LINENO "configure"
16766
17990
/* confdefs.h.  */
16767
17991
_ACEOF
16768
17992
cat confdefs.h >>conftest.$ac_ext
16779
18003
_ACEOF
16780
18004
rm -f conftest.$ac_objext conftest$ac_exeext
16781
18005
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16782
 
  (eval $ac_link) 2>&5
 
18006
  (eval $ac_link) 2>conftest.er1
16783
18007
  ac_status=$?
 
18008
  grep -v '^ *+' conftest.er1 >conftest.err
 
18009
  rm -f conftest.er1
 
18010
  cat conftest.err >&5
16784
18011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785
18012
  (exit $ac_status); } &&
16786
 
         { ac_try='test -s conftest$ac_exeext'
 
18013
         { ac_try='test -z "$ac_c_werror_flag"
 
18014
                         || test ! -s conftest.err'
 
18015
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18016
  (eval $ac_try) 2>&5
 
18017
  ac_status=$?
 
18018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18019
  (exit $ac_status); }; } &&
 
18020
         { ac_try='test -s conftest$ac_exeext'
16787
18021
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788
18022
  (eval $ac_try) 2>&5
16789
18023
  ac_status=$?
16800
18034
sed 's/^/| /' conftest.$ac_ext >&5
16801
18035
 
16802
18036
fi
16803
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
18037
rm -f conftest.err conftest.$ac_objext \
 
18038
      conftest$ac_exeext conftest.$ac_ext
16804
18039
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16805
18040
 
16806
18041
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16813
18048
        else
16814
18049
         # Determine the default libpath from the value encoded in an empty executable.
16815
18050
         cat >conftest.$ac_ext <<_ACEOF
16816
 
#line $LINENO "configure"
16817
18051
/* confdefs.h.  */
16818
18052
_ACEOF
16819
18053
cat confdefs.h >>conftest.$ac_ext
16830
18064
_ACEOF
16831
18065
rm -f conftest.$ac_objext conftest$ac_exeext
16832
18066
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16833
 
  (eval $ac_link) 2>&5
 
18067
  (eval $ac_link) 2>conftest.er1
16834
18068
  ac_status=$?
 
18069
  grep -v '^ *+' conftest.er1 >conftest.err
 
18070
  rm -f conftest.er1
 
18071
  cat conftest.err >&5
16835
18072
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836
18073
  (exit $ac_status); } &&
16837
 
         { ac_try='test -s conftest$ac_exeext'
 
18074
         { ac_try='test -z "$ac_c_werror_flag"
 
18075
                         || test ! -s conftest.err'
 
18076
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18077
  (eval $ac_try) 2>&5
 
18078
  ac_status=$?
 
18079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18080
  (exit $ac_status); }; } &&
 
18081
         { ac_try='test -s conftest$ac_exeext'
16838
18082
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839
18083
  (eval $ac_try) 2>&5
16840
18084
  ac_status=$?
16851
18095
sed 's/^/| /' conftest.$ac_ext >&5
16852
18096
 
16853
18097
fi
16854
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
18098
rm -f conftest.err conftest.$ac_objext \
 
18099
      conftest$ac_exeext conftest.$ac_ext
16855
18100
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16856
18101
 
16857
18102
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16864
18109
          # Exported symbols can be pulled into shared objects from archives
16865
18110
          whole_archive_flag_spec_GCJ=' '
16866
18111
          archive_cmds_need_lc_GCJ=yes
16867
 
          # This is similar to how AIX traditionally builds it's shared libraries.
 
18112
          # This is similar to how AIX traditionally builds its shared libraries.
16868
18113
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16869
18114
        fi
16870
18115
      fi
16878
18123
      ld_shlibs_GCJ=no
16879
18124
      ;;
16880
18125
 
16881
 
    bsdi4*)
 
18126
    bsdi[45]*)
16882
18127
      export_dynamic_flag_spec_GCJ=-rdynamic
16883
18128
      ;;
16884
18129
 
16892
18137
      # Tell ltmain to make .lib files, not .a files.
16893
18138
      libext=lib
16894
18139
      # Tell ltmain to make .dll files, not .so files.
16895
 
      shrext=".dll"
 
18140
      shrext_cmds=".dll"
16896
18141
      # FIXME: Setting linknames here is a bad hack.
16897
18142
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16898
18143
      # The linker will automatically build a .lib file if we build a DLL.
16899
18144
      old_archive_From_new_cmds_GCJ='true'
16900
18145
      # FIXME: Should let the user specify the lib program.
16901
18146
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16902
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
18147
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16903
18148
      enable_shared_with_static_runtimes_GCJ=yes
16904
18149
      ;;
16905
18150
 
16906
18151
    darwin* | rhapsody*)
16907
 
    if test "$GXX" = yes ; then
 
18152
      case $host_os in
 
18153
        rhapsody* | darwin1.[012])
 
18154
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 
18155
         ;;
 
18156
       *) # Darwin 1.3 on
 
18157
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
18158
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
18159
         else
 
18160
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
18161
             10.[012])
 
18162
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
18163
               ;;
 
18164
             10.*)
 
18165
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 
18166
               ;;
 
18167
           esac
 
18168
         fi
 
18169
         ;;
 
18170
      esac
16908
18171
      archive_cmds_need_lc_GCJ=no
16909
 
      case "$host_os" in
16910
 
      rhapsody* | darwin1.[012])
16911
 
        allow_undefined_flag_GCJ='-undefined suppress'
16912
 
        ;;
16913
 
      *) # Darwin 1.3 on
16914
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16915
 
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16916
 
      else
16917
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
16918
 
          10.[012])
16919
 
            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16920
 
            ;;
16921
 
          10.*)
16922
 
            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
16923
 
            ;;
16924
 
        esac
16925
 
      fi
16926
 
        ;;
16927
 
      esac
16928
 
        lt_int_apple_cc_single_mod=no
16929
 
        output_verbose_link_cmd='echo'
16930
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16931
 
          lt_int_apple_cc_single_mod=yes
16932
 
        fi
16933
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16934
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16935
 
        else
16936
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -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'
16937
 
      fi
16938
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16939
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16940
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16941
 
          archive_expsym_cmds_GCJ='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}'
16942
 
        else
16943
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
16944
 
        fi
16945
 
          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}'
16946
18172
      hardcode_direct_GCJ=no
16947
18173
      hardcode_automatic_GCJ=yes
16948
18174
      hardcode_shlibpath_var_GCJ=unsupported
16949
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
 
18175
      whole_archive_flag_spec_GCJ=''
16950
18176
      link_all_deplibs_GCJ=yes
 
18177
    if test "$GCC" = yes ; then
 
18178
        output_verbose_link_cmd='echo'
 
18179
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
18180
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
18181
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
18182
      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}'
 
18183
      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}'
16951
18184
    else
16952
 
      ld_shlibs_GCJ=no
 
18185
      case $cc_basename in
 
18186
        xlc*)
 
18187
         output_verbose_link_cmd='echo'
 
18188
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
18189
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
18190
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
18191
         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}'
 
18192
          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}'
 
18193
          ;;
 
18194
       *)
 
18195
         ld_shlibs_GCJ=no
 
18196
          ;;
 
18197
      esac
16953
18198
    fi
16954
18199
      ;;
16955
18200
 
16983
18228
      ;;
16984
18229
 
16985
18230
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16986
 
    freebsd* | kfreebsd*-gnu)
 
18231
    freebsd* | kfreebsd*-gnu | dragonfly*)
16987
18232
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16988
18233
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16989
18234
      hardcode_direct_GCJ=yes
17008
18253
 
17009
18254
    hpux10* | hpux11*)
17010
18255
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17011
 
        case "$host_cpu" in
 
18256
        case $host_cpu in
17012
18257
        hppa*64*|ia64*)
17013
18258
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17014
18259
          ;;
17017
18262
          ;;
17018
18263
        esac
17019
18264
      else
17020
 
        case "$host_cpu" in
 
18265
        case $host_cpu in
17021
18266
        hppa*64*|ia64*)
17022
18267
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17023
18268
          ;;
17027
18272
        esac
17028
18273
      fi
17029
18274
      if test "$with_gnu_ld" = no; then
17030
 
        case "$host_cpu" in
 
18275
        case $host_cpu in
17031
18276
        hppa*64*)
17032
18277
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17033
18278
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17094
18339
      hardcode_shlibpath_var_GCJ=no
17095
18340
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17096
18341
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18342
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17097
18343
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17098
18344
        export_dynamic_flag_spec_GCJ='${wl}-E'
17099
18345
      else
17139
18385
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17140
18386
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17141
18387
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17142
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
18388
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17143
18389
 
17144
18390
        # Both c and cxx compiler support -rpath directly
17145
18391
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17158
18404
    solaris*)
17159
18405
      no_undefined_flag_GCJ=' -z text'
17160
18406
      if test "$GCC" = yes; then
 
18407
        wlarc='${wl}'
17161
18408
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17162
18409
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17163
18410
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17164
18411
      else
 
18412
        wlarc=''
17165
18413
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17166
18414
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17167
18415
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17170
18418
      hardcode_shlibpath_var_GCJ=no
17171
18419
      case $host_os in
17172
18420
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17173
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17174
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
18421
      *)
 
18422
        # The compiler driver will combine linker options so we
 
18423
        # cannot just pass the convience library names through
 
18424
        # without $wl, iff we do not link with $LD.
 
18425
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18426
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
18427
        case $wlarc in
 
18428
        '')
 
18429
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
18430
        *)
 
18431
          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' ;;
 
18432
        esac ;;
17175
18433
      esac
17176
18434
      link_all_deplibs_GCJ=yes
17177
18435
      ;;
17348
18606
library_names_spec=
17349
18607
libname_spec='lib$name'
17350
18608
soname_spec=
17351
 
shrext=".so"
 
18609
shrext_cmds=".so"
17352
18610
postinstall_cmds=
17353
18611
postuninstall_cmds=
17354
18612
finish_cmds=
17445
18703
  shlibpath_var=LIBRARY_PATH
17446
18704
  ;;
17447
18705
 
17448
 
bsdi4*)
 
18706
bsdi[45]*)
17449
18707
  version_type=linux
17450
18708
  need_version=no
17451
18709
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17461
18719
 
17462
18720
cygwin* | mingw* | pw32*)
17463
18721
  version_type=windows
17464
 
  shrext=".dll"
 
18722
  shrext_cmds=".dll"
17465
18723
  need_version=no
17466
18724
  need_lib_prefix=no
17467
18725
 
17473
18731
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17474
18732
      dldir=$destdir/`dirname \$dlpath`~
17475
18733
      test -d \$dldir || mkdir -p \$dldir~
17476
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
18734
      $install_prog $dir/$dlname \$dldir/$dlname~
 
18735
      chmod a+x \$dldir/$dlname'
17477
18736
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17478
18737
      dlpath=$dir/\$dldll~
17479
18738
       $rm \$dlpath'
17503
18762
      ;;
17504
18763
    pw32*)
17505
18764
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17506
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
18765
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17507
18766
      ;;
17508
18767
    esac
17509
18768
    ;;
17526
18785
  soname_spec='${libname}${release}${major}$shared_ext'
17527
18786
  shlibpath_overrides_runpath=yes
17528
18787
  shlibpath_var=DYLD_LIBRARY_PATH
17529
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
18788
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17530
18789
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17531
18790
  if test "$GCC" = yes; then
17532
18791
    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"`
17561
18820
  dynamic_linker='GNU ld.so'
17562
18821
  ;;
17563
18822
 
17564
 
freebsd*)
17565
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
18823
freebsd* | dragonfly*)
 
18824
  # DragonFly does not have aout.  When/if they implement a new
 
18825
  # versioning mechanism, adjust this.
 
18826
  if test -x /usr/bin/objformat; then
 
18827
    objformat=`/usr/bin/objformat`
 
18828
  else
 
18829
    case $host_os in
 
18830
    freebsd[123]*) objformat=aout ;;
 
18831
    *) objformat=elf ;;
 
18832
    esac
 
18833
  fi
17566
18834
  version_type=freebsd-$objformat
17567
18835
  case $version_type in
17568
18836
    freebsd-elf*)
17580
18848
  freebsd2*)
17581
18849
    shlibpath_overrides_runpath=yes
17582
18850
    ;;
17583
 
  freebsd3.01* | freebsdelf3.01*)
 
18851
  freebsd3.[01]* | freebsdelf3.[01]*)
17584
18852
    shlibpath_overrides_runpath=yes
17585
18853
    hardcode_into_libs=yes
17586
18854
    ;;
17607
18875
  version_type=sunos
17608
18876
  need_lib_prefix=no
17609
18877
  need_version=no
17610
 
  case "$host_cpu" in
 
18878
  case $host_cpu in
17611
18879
  ia64*)
17612
 
    shrext='.so'
 
18880
    shrext_cmds='.so'
17613
18881
    hardcode_into_libs=yes
17614
18882
    dynamic_linker="$host_os dld.so"
17615
18883
    shlibpath_var=LD_LIBRARY_PATH
17624
18892
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17625
18893
    ;;
17626
18894
   hppa*64*)
17627
 
     shrext='.sl'
 
18895
     shrext_cmds='.sl'
17628
18896
     hardcode_into_libs=yes
17629
18897
     dynamic_linker="$host_os dld.sl"
17630
18898
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17635
18903
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17636
18904
     ;;
17637
18905
   *)
17638
 
    shrext='.sl'
 
18906
    shrext_cmds='.sl'
17639
18907
    dynamic_linker="$host_os dld.sl"
17640
18908
    shlibpath_var=SHLIB_PATH
17641
18909
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17704
18972
  # before this can be enabled.
17705
18973
  hardcode_into_libs=yes
17706
18974
 
 
18975
  # find out which ABI we are using
 
18976
  libsuff=
 
18977
  case "$host_cpu" in
 
18978
  x86_64*|s390x*|powerpc64*)
 
18979
    echo '#line 18979 "configure"' > conftest.$ac_ext
 
18980
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18981
  (eval $ac_compile) 2>&5
 
18982
  ac_status=$?
 
18983
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18984
  (exit $ac_status); }; then
 
18985
      case `/usr/bin/file conftest.$ac_objext` in
 
18986
      *64-bit*)
 
18987
        libsuff=64
 
18988
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
 
18989
        ;;
 
18990
      esac
 
18991
    fi
 
18992
    rm -rf conftest*
 
18993
    ;;
 
18994
  esac
 
18995
 
 
18996
  # Append ld.so.conf contents to the search path
 
18997
  if test -f /etc/ld.so.conf; then
 
18998
    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' ' '`
 
18999
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
19000
  fi
 
19001
 
17707
19002
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17708
19003
  # powerpc, because MkLinux only supported shared libraries with the
17709
19004
  # GNU dynamic linker.  Since this was broken with cross compilers,
17734
19029
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17735
19030
    dynamic_linker='NetBSD (a.out) ld.so'
17736
19031
  else
17737
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
 
19032
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17738
19033
    soname_spec='${libname}${release}${shared_ext}$major'
17739
19034
    dynamic_linker='NetBSD ld.elf_so'
17740
19035
  fi
17763
19058
openbsd*)
17764
19059
  version_type=sunos
17765
19060
  need_lib_prefix=no
17766
 
  need_version=yes
 
19061
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
19062
  case $host_os in
 
19063
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
19064
    *)                         need_version=no  ;;
 
19065
  esac
17767
19066
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17768
19067
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17769
19068
  shlibpath_var=LD_LIBRARY_PATH
17783
19082
 
17784
19083
os2*)
17785
19084
  libname_spec='$name'
17786
 
  shrext=".dll"
 
19085
  shrext_cmds=".dll"
17787
19086
  need_lib_prefix=no
17788
19087
  library_names_spec='$libname${shared_ext} $libname.a'
17789
19088
  dynamic_linker='OS/2 ld.exe'
17885
19184
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17886
19185
hardcode_action_GCJ=
17887
19186
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17888
 
   test -n "$runpath_var GCJ" || \
17889
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
 
19187
   test -n "$runpath_var_GCJ" || \
 
19188
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17890
19189
 
17891
19190
  # We can hardcode non-existant directories.
17892
19191
  if test "$hardcode_direct_GCJ" != no &&
17982
19281
  ac_check_lib_save_LIBS=$LIBS
17983
19282
LIBS="-ldl  $LIBS"
17984
19283
cat >conftest.$ac_ext <<_ACEOF
17985
 
#line $LINENO "configure"
17986
19284
/* confdefs.h.  */
17987
19285
_ACEOF
17988
19286
cat confdefs.h >>conftest.$ac_ext
18006
19304
_ACEOF
18007
19305
rm -f conftest.$ac_objext conftest$ac_exeext
18008
19306
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18009
 
  (eval $ac_link) 2>&5
 
19307
  (eval $ac_link) 2>conftest.er1
18010
19308
  ac_status=$?
 
19309
  grep -v '^ *+' conftest.er1 >conftest.err
 
19310
  rm -f conftest.er1
 
19311
  cat conftest.err >&5
18011
19312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012
19313
  (exit $ac_status); } &&
18013
 
         { ac_try='test -s conftest$ac_exeext'
 
19314
         { ac_try='test -z "$ac_c_werror_flag"
 
19315
                         || test ! -s conftest.err'
 
19316
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19317
  (eval $ac_try) 2>&5
 
19318
  ac_status=$?
 
19319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19320
  (exit $ac_status); }; } &&
 
19321
         { ac_try='test -s conftest$ac_exeext'
18014
19322
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015
19323
  (eval $ac_try) 2>&5
18016
19324
  ac_status=$?
18023
19331
 
18024
19332
ac_cv_lib_dl_dlopen=no
18025
19333
fi
18026
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
19334
rm -f conftest.err conftest.$ac_objext \
 
19335
      conftest$ac_exeext conftest.$ac_ext
18027
19336
LIBS=$ac_check_lib_save_LIBS
18028
19337
fi
18029
19338
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18047
19356
  echo $ECHO_N "(cached) $ECHO_C" >&6
18048
19357
else
18049
19358
  cat >conftest.$ac_ext <<_ACEOF
18050
 
#line $LINENO "configure"
18051
19359
/* confdefs.h.  */
18052
19360
_ACEOF
18053
19361
cat confdefs.h >>conftest.$ac_ext
18054
19362
cat >>conftest.$ac_ext <<_ACEOF
18055
19363
/* end confdefs.h.  */
 
19364
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
19365
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
19366
#define shl_load innocuous_shl_load
 
19367
 
18056
19368
/* System header to define __stub macros and hopefully few prototypes,
18057
19369
    which can conflict with char shl_load (); below.
18058
19370
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18059
19371
    <limits.h> exists even on freestanding compilers.  */
 
19372
 
18060
19373
#ifdef __STDC__
18061
19374
# include <limits.h>
18062
19375
#else
18063
19376
# include <assert.h>
18064
19377
#endif
 
19378
 
 
19379
#undef shl_load
 
19380
 
18065
19381
/* Override any gcc2 internal prototype to avoid an error.  */
18066
19382
#ifdef __cplusplus
18067
19383
extern "C"
18092
19408
_ACEOF
18093
19409
rm -f conftest.$ac_objext conftest$ac_exeext
18094
19410
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18095
 
  (eval $ac_link) 2>&5
 
19411
  (eval $ac_link) 2>conftest.er1
18096
19412
  ac_status=$?
 
19413
  grep -v '^ *+' conftest.er1 >conftest.err
 
19414
  rm -f conftest.er1
 
19415
  cat conftest.err >&5
18097
19416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098
19417
  (exit $ac_status); } &&
18099
 
         { ac_try='test -s conftest$ac_exeext'
 
19418
         { ac_try='test -z "$ac_c_werror_flag"
 
19419
                         || test ! -s conftest.err'
 
19420
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19421
  (eval $ac_try) 2>&5
 
19422
  ac_status=$?
 
19423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19424
  (exit $ac_status); }; } &&
 
19425
         { ac_try='test -s conftest$ac_exeext'
18100
19426
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18101
19427
  (eval $ac_try) 2>&5
18102
19428
  ac_status=$?
18109
19435
 
18110
19436
ac_cv_func_shl_load=no
18111
19437
fi
18112
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
19438
rm -f conftest.err conftest.$ac_objext \
 
19439
      conftest$ac_exeext conftest.$ac_ext
18113
19440
fi
18114
19441
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18115
19442
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18124
19451
  ac_check_lib_save_LIBS=$LIBS
18125
19452
LIBS="-ldld  $LIBS"
18126
19453
cat >conftest.$ac_ext <<_ACEOF
18127
 
#line $LINENO "configure"
18128
19454
/* confdefs.h.  */
18129
19455
_ACEOF
18130
19456
cat confdefs.h >>conftest.$ac_ext
18148
19474
_ACEOF
18149
19475
rm -f conftest.$ac_objext conftest$ac_exeext
18150
19476
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18151
 
  (eval $ac_link) 2>&5
 
19477
  (eval $ac_link) 2>conftest.er1
18152
19478
  ac_status=$?
 
19479
  grep -v '^ *+' conftest.er1 >conftest.err
 
19480
  rm -f conftest.er1
 
19481
  cat conftest.err >&5
18153
19482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154
19483
  (exit $ac_status); } &&
18155
 
         { ac_try='test -s conftest$ac_exeext'
 
19484
         { ac_try='test -z "$ac_c_werror_flag"
 
19485
                         || test ! -s conftest.err'
 
19486
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19487
  (eval $ac_try) 2>&5
 
19488
  ac_status=$?
 
19489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19490
  (exit $ac_status); }; } &&
 
19491
         { ac_try='test -s conftest$ac_exeext'
18156
19492
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157
19493
  (eval $ac_try) 2>&5
18158
19494
  ac_status=$?
18165
19501
 
18166
19502
ac_cv_lib_dld_shl_load=no
18167
19503
fi
18168
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
19504
rm -f conftest.err conftest.$ac_objext \
 
19505
      conftest$ac_exeext conftest.$ac_ext
18169
19506
LIBS=$ac_check_lib_save_LIBS
18170
19507
fi
18171
19508
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18179
19516
  echo $ECHO_N "(cached) $ECHO_C" >&6
18180
19517
else
18181
19518
  cat >conftest.$ac_ext <<_ACEOF
18182
 
#line $LINENO "configure"
18183
19519
/* confdefs.h.  */
18184
19520
_ACEOF
18185
19521
cat confdefs.h >>conftest.$ac_ext
18186
19522
cat >>conftest.$ac_ext <<_ACEOF
18187
19523
/* end confdefs.h.  */
 
19524
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
19525
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
19526
#define dlopen innocuous_dlopen
 
19527
 
18188
19528
/* System header to define __stub macros and hopefully few prototypes,
18189
19529
    which can conflict with char dlopen (); below.
18190
19530
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18191
19531
    <limits.h> exists even on freestanding compilers.  */
 
19532
 
18192
19533
#ifdef __STDC__
18193
19534
# include <limits.h>
18194
19535
#else
18195
19536
# include <assert.h>
18196
19537
#endif
 
19538
 
 
19539
#undef dlopen
 
19540
 
18197
19541
/* Override any gcc2 internal prototype to avoid an error.  */
18198
19542
#ifdef __cplusplus
18199
19543
extern "C"
18224
19568
_ACEOF
18225
19569
rm -f conftest.$ac_objext conftest$ac_exeext
18226
19570
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18227
 
  (eval $ac_link) 2>&5
 
19571
  (eval $ac_link) 2>conftest.er1
18228
19572
  ac_status=$?
 
19573
  grep -v '^ *+' conftest.er1 >conftest.err
 
19574
  rm -f conftest.er1
 
19575
  cat conftest.err >&5
18229
19576
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230
19577
  (exit $ac_status); } &&
18231
 
         { ac_try='test -s conftest$ac_exeext'
 
19578
         { ac_try='test -z "$ac_c_werror_flag"
 
19579
                         || test ! -s conftest.err'
 
19580
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19581
  (eval $ac_try) 2>&5
 
19582
  ac_status=$?
 
19583
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19584
  (exit $ac_status); }; } &&
 
19585
         { ac_try='test -s conftest$ac_exeext'
18232
19586
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233
19587
  (eval $ac_try) 2>&5
18234
19588
  ac_status=$?
18241
19595
 
18242
19596
ac_cv_func_dlopen=no
18243
19597
fi
18244
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
19598
rm -f conftest.err conftest.$ac_objext \
 
19599
      conftest$ac_exeext conftest.$ac_ext
18245
19600
fi
18246
19601
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18247
19602
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18256
19611
  ac_check_lib_save_LIBS=$LIBS
18257
19612
LIBS="-ldl  $LIBS"
18258
19613
cat >conftest.$ac_ext <<_ACEOF
18259
 
#line $LINENO "configure"
18260
19614
/* confdefs.h.  */
18261
19615
_ACEOF
18262
19616
cat confdefs.h >>conftest.$ac_ext
18280
19634
_ACEOF
18281
19635
rm -f conftest.$ac_objext conftest$ac_exeext
18282
19636
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18283
 
  (eval $ac_link) 2>&5
 
19637
  (eval $ac_link) 2>conftest.er1
18284
19638
  ac_status=$?
 
19639
  grep -v '^ *+' conftest.er1 >conftest.err
 
19640
  rm -f conftest.er1
 
19641
  cat conftest.err >&5
18285
19642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286
19643
  (exit $ac_status); } &&
18287
 
         { ac_try='test -s conftest$ac_exeext'
 
19644
         { ac_try='test -z "$ac_c_werror_flag"
 
19645
                         || test ! -s conftest.err'
 
19646
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19647
  (eval $ac_try) 2>&5
 
19648
  ac_status=$?
 
19649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19650
  (exit $ac_status); }; } &&
 
19651
         { ac_try='test -s conftest$ac_exeext'
18288
19652
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289
19653
  (eval $ac_try) 2>&5
18290
19654
  ac_status=$?
18297
19661
 
18298
19662
ac_cv_lib_dl_dlopen=no
18299
19663
fi
18300
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
19664
rm -f conftest.err conftest.$ac_objext \
 
19665
      conftest$ac_exeext conftest.$ac_ext
18301
19666
LIBS=$ac_check_lib_save_LIBS
18302
19667
fi
18303
19668
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18313
19678
  ac_check_lib_save_LIBS=$LIBS
18314
19679
LIBS="-lsvld  $LIBS"
18315
19680
cat >conftest.$ac_ext <<_ACEOF
18316
 
#line $LINENO "configure"
18317
19681
/* confdefs.h.  */
18318
19682
_ACEOF
18319
19683
cat confdefs.h >>conftest.$ac_ext
18337
19701
_ACEOF
18338
19702
rm -f conftest.$ac_objext conftest$ac_exeext
18339
19703
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18340
 
  (eval $ac_link) 2>&5
 
19704
  (eval $ac_link) 2>conftest.er1
18341
19705
  ac_status=$?
 
19706
  grep -v '^ *+' conftest.er1 >conftest.err
 
19707
  rm -f conftest.er1
 
19708
  cat conftest.err >&5
18342
19709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343
19710
  (exit $ac_status); } &&
18344
 
         { ac_try='test -s conftest$ac_exeext'
 
19711
         { ac_try='test -z "$ac_c_werror_flag"
 
19712
                         || test ! -s conftest.err'
 
19713
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19714
  (eval $ac_try) 2>&5
 
19715
  ac_status=$?
 
19716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19717
  (exit $ac_status); }; } &&
 
19718
         { ac_try='test -s conftest$ac_exeext'
18345
19719
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18346
19720
  (eval $ac_try) 2>&5
18347
19721
  ac_status=$?
18354
19728
 
18355
19729
ac_cv_lib_svld_dlopen=no
18356
19730
fi
18357
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
19731
rm -f conftest.err conftest.$ac_objext \
 
19732
      conftest$ac_exeext conftest.$ac_ext
18358
19733
LIBS=$ac_check_lib_save_LIBS
18359
19734
fi
18360
19735
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18370
19745
  ac_check_lib_save_LIBS=$LIBS
18371
19746
LIBS="-ldld  $LIBS"
18372
19747
cat >conftest.$ac_ext <<_ACEOF
18373
 
#line $LINENO "configure"
18374
19748
/* confdefs.h.  */
18375
19749
_ACEOF
18376
19750
cat confdefs.h >>conftest.$ac_ext
18394
19768
_ACEOF
18395
19769
rm -f conftest.$ac_objext conftest$ac_exeext
18396
19770
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18397
 
  (eval $ac_link) 2>&5
 
19771
  (eval $ac_link) 2>conftest.er1
18398
19772
  ac_status=$?
 
19773
  grep -v '^ *+' conftest.er1 >conftest.err
 
19774
  rm -f conftest.er1
 
19775
  cat conftest.err >&5
18399
19776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400
19777
  (exit $ac_status); } &&
18401
 
         { ac_try='test -s conftest$ac_exeext'
 
19778
         { ac_try='test -z "$ac_c_werror_flag"
 
19779
                         || test ! -s conftest.err'
 
19780
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19781
  (eval $ac_try) 2>&5
 
19782
  ac_status=$?
 
19783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19784
  (exit $ac_status); }; } &&
 
19785
         { ac_try='test -s conftest$ac_exeext'
18402
19786
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18403
19787
  (eval $ac_try) 2>&5
18404
19788
  ac_status=$?
18411
19795
 
18412
19796
ac_cv_lib_dld_dld_link=no
18413
19797
fi
18414
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
19798
rm -f conftest.err conftest.$ac_objext \
 
19799
      conftest$ac_exeext conftest.$ac_ext
18415
19800
LIBS=$ac_check_lib_save_LIBS
18416
19801
fi
18417
19802
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18466
19851
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18467
19852
  lt_status=$lt_dlunknown
18468
19853
  cat > conftest.$ac_ext <<EOF
18469
 
#line 18469 "configure"
 
19854
#line 19854 "configure"
18470
19855
#include "confdefs.h"
18471
19856
 
18472
19857
#if HAVE_DLFCN_H
18532
19917
  ac_status=$?
18533
19918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534
19919
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18535
 
    (./conftest; exit; ) 2>/dev/null
 
19920
    (./conftest; exit; ) >&5 2>/dev/null
18536
19921
    lt_status=$?
18537
19922
    case x$lt_status in
18538
19923
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18564
19949
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18565
19950
  lt_status=$lt_dlunknown
18566
19951
  cat > conftest.$ac_ext <<EOF
18567
 
#line 18567 "configure"
 
19952
#line 19952 "configure"
18568
19953
#include "confdefs.h"
18569
19954
 
18570
19955
#if HAVE_DLFCN_H
18630
20015
  ac_status=$?
18631
20016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632
20017
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18633
 
    (./conftest; exit; ) 2>/dev/null
 
20018
    (./conftest; exit; ) >&5 2>/dev/null
18634
20019
    lt_status=$?
18635
20020
    case x$lt_status in
18636
20021
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18681
20066
  # Now quote all the things that may contain metacharacters while being
18682
20067
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18683
20068
  # variables and quote the copies for generation of the libtool script.
18684
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
 
20069
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
20070
    SED SHELL STRIP \
18685
20071
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18686
20072
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18687
20073
    deplibs_check_method reload_flag reload_cmds need_locks \
18781
20167
# The host system.
18782
20168
host_alias=$host_alias
18783
20169
host=$host
 
20170
host_os=$host_os
 
20171
 
 
20172
# The build system.
 
20173
build_alias=$build_alias
 
20174
build=$build
 
20175
build_os=$build_os
18784
20176
 
18785
20177
# An echo program that does not interpret backslashes.
18786
20178
echo=$lt_echo
18811
20203
NM=$lt_NM
18812
20204
 
18813
20205
# A symbol stripping program
18814
 
STRIP=$STRIP
 
20206
STRIP=$lt_STRIP
18815
20207
 
18816
20208
# Used to examine libraries when file_magic_cmd begins "file"
18817
20209
MAGIC_CMD=$MAGIC_CMD
18842
20234
libext="$libext"
18843
20235
 
18844
20236
# Shared library suffix (normally ".so").
18845
 
shrext='$shrext'
 
20237
shrext_cmds='$shrext_cmds'
18846
20238
 
18847
20239
# Executable file suffix (normally "").
18848
20240
exeext="$exeext"
18857
20249
# Does compiler simultaneously support -c and -o options?
18858
20250
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18859
20251
 
18860
 
# Must we lock files when doing compilation ?
 
20252
# Must we lock files when doing compilation?
18861
20253
need_locks=$lt_need_locks
18862
20254
 
18863
20255
# Do we need the lib prefix for modules?
19059
20451
  # If there is no Makefile yet, we rely on a make rule to execute
19060
20452
  # `config.status --recheck' to rerun these tests and create the
19061
20453
  # libtool script then.
19062
 
  test -f Makefile && make "$ltmain"
 
20454
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
20455
  if test -f "$ltmain_in"; then
 
20456
    test -f Makefile && make "$ltmain"
 
20457
  fi
19063
20458
fi
19064
20459
 
19065
20460
 
19102
20497
compiler=$CC
19103
20498
 
19104
20499
 
 
20500
# save warnings/boilerplate of simple test code
 
20501
ac_outfile=conftest.$ac_objext
 
20502
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
20503
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
20504
_lt_compiler_boilerplate=`cat conftest.err`
 
20505
$rm conftest*
 
20506
 
 
20507
ac_outfile=conftest.$ac_objext
 
20508
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
20509
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
20510
_lt_linker_boilerplate=`cat conftest.err`
 
20511
$rm conftest*
 
20512
 
 
20513
 
19105
20514
# Allow CC to be a program name with arguments.
19106
20515
lt_save_CC="$CC"
19107
20516
CC=${RC-"windres"}
19108
20517
compiler=$CC
19109
20518
compiler_RC=$CC
 
20519
for cc_temp in $compiler""; do
 
20520
  case $cc_temp in
 
20521
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
20522
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
20523
    \-*) ;;
 
20524
    *) break;;
 
20525
  esac
 
20526
done
 
20527
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
20528
 
19110
20529
lt_cv_prog_compiler_c_o_RC=yes
19111
20530
 
19112
20531
# The else clause should only fire when bootstrapping the
19122
20541
  # Now quote all the things that may contain metacharacters while being
19123
20542
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19124
20543
  # variables and quote the copies for generation of the libtool script.
19125
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
 
20544
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
20545
    SED SHELL STRIP \
19126
20546
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19127
20547
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19128
20548
    deplibs_check_method reload_flag reload_cmds need_locks \
19222
20642
# The host system.
19223
20643
host_alias=$host_alias
19224
20644
host=$host
 
20645
host_os=$host_os
 
20646
 
 
20647
# The build system.
 
20648
build_alias=$build_alias
 
20649
build=$build
 
20650
build_os=$build_os
19225
20651
 
19226
20652
# An echo program that does not interpret backslashes.
19227
20653
echo=$lt_echo
19252
20678
NM=$lt_NM
19253
20679
 
19254
20680
# A symbol stripping program
19255
 
STRIP=$STRIP
 
20681
STRIP=$lt_STRIP
19256
20682
 
19257
20683
# Used to examine libraries when file_magic_cmd begins "file"
19258
20684
MAGIC_CMD=$MAGIC_CMD
19283
20709
libext="$libext"
19284
20710
 
19285
20711
# Shared library suffix (normally ".so").
19286
 
shrext='$shrext'
 
20712
shrext_cmds='$shrext_cmds'
19287
20713
 
19288
20714
# Executable file suffix (normally "").
19289
20715
exeext="$exeext"
19298
20724
# Does compiler simultaneously support -c and -o options?
19299
20725
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19300
20726
 
19301
 
# Must we lock files when doing compilation ?
 
20727
# Must we lock files when doing compilation?
19302
20728
need_locks=$lt_need_locks
19303
20729
 
19304
20730
# Do we need the lib prefix for modules?
19500
20926
  # If there is no Makefile yet, we rely on a make rule to execute
19501
20927
  # `config.status --recheck' to rerun these tests and create the
19502
20928
  # libtool script then.
19503
 
  test -f Makefile && make "$ltmain"
 
20929
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
20930
  if test -f "$ltmain_in"; then
 
20931
    test -f Makefile && make "$ltmain"
 
20932
  fi
19504
20933
fi
19505
20934
 
19506
20935
 
19577
21006
  echo $ECHO_N "(cached) $ECHO_C" >&6
19578
21007
else
19579
21008
  cat >conftest.$ac_ext <<_ACEOF
19580
 
#line $LINENO "configure"
19581
21009
/* confdefs.h.  */
19582
21010
_ACEOF
19583
21011
cat confdefs.h >>conftest.$ac_ext
19598
21026
_ACEOF
19599
21027
rm -f conftest.$ac_objext
19600
21028
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19601
 
  (eval $ac_compile) 2>&5
 
21029
  (eval $ac_compile) 2>conftest.er1
19602
21030
  ac_status=$?
 
21031
  grep -v '^ *+' conftest.er1 >conftest.err
 
21032
  rm -f conftest.er1
 
21033
  cat conftest.err >&5
19603
21034
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604
21035
  (exit $ac_status); } &&
19605
 
         { ac_try='test -s conftest.$ac_objext'
 
21036
         { ac_try='test -z "$ac_c_werror_flag"
 
21037
                         || test ! -s conftest.err'
 
21038
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21039
  (eval $ac_try) 2>&5
 
21040
  ac_status=$?
 
21041
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21042
  (exit $ac_status); }; } &&
 
21043
         { ac_try='test -s conftest.$ac_objext'
19606
21044
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607
21045
  (eval $ac_try) 2>&5
19608
21046
  ac_status=$?
19615
21053
 
19616
21054
ac_cv_header_stdc=no
19617
21055
fi
19618
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
21056
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19619
21057
 
19620
21058
if test $ac_cv_header_stdc = yes; then
19621
21059
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19622
21060
  cat >conftest.$ac_ext <<_ACEOF
19623
 
#line $LINENO "configure"
19624
21061
/* confdefs.h.  */
19625
21062
_ACEOF
19626
21063
cat confdefs.h >>conftest.$ac_ext
19642
21079
if test $ac_cv_header_stdc = yes; then
19643
21080
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19644
21081
  cat >conftest.$ac_ext <<_ACEOF
19645
 
#line $LINENO "configure"
19646
21082
/* confdefs.h.  */
19647
21083
_ACEOF
19648
21084
cat confdefs.h >>conftest.$ac_ext
19667
21103
  :
19668
21104
else
19669
21105
  cat >conftest.$ac_ext <<_ACEOF
19670
 
#line $LINENO "configure"
19671
21106
/* confdefs.h.  */
19672
21107
_ACEOF
19673
21108
cat confdefs.h >>conftest.$ac_ext
19679
21114
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19680
21115
#else
19681
21116
# define ISLOWER(c) \
19682
 
                   (('a' <= (c) && (c) <= 'i') \
19683
 
                     || ('j' <= (c) && (c) <= 'r') \
19684
 
                     || ('s' <= (c) && (c) <= 'z'))
 
21117
                   (('a' <= (c) && (c) <= 'i') \
 
21118
                     || ('j' <= (c) && (c) <= 'r') \
 
21119
                     || ('s' <= (c) && (c) <= 'z'))
19685
21120
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19686
21121
#endif
19687
21122
 
19692
21127
  int i;
19693
21128
  for (i = 0; i < 256; i++)
19694
21129
    if (XOR (islower (i), ISLOWER (i))
19695
 
        || toupper (i) != TOUPPER (i))
 
21130
        || toupper (i) != TOUPPER (i))
19696
21131
      exit(2);
19697
21132
  exit (0);
19698
21133
}
19717
21152
( exit $ac_status )
19718
21153
ac_cv_header_stdc=no
19719
21154
fi
19720
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21155
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19721
21156
fi
19722
21157
fi
19723
21158
fi
19735
21170
 
19736
21171
 
19737
21172
 
19738
 
for ac_func in gethostname mkdir setenv sigaction
 
21173
 
 
21174
 
 
21175
for ac_func in getaddrinfo gethostbyname gethostname sigaction strdup sync
19739
21176
do
19740
21177
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19741
21178
echo "$as_me:$LINENO: checking for $ac_func" >&5
19744
21181
  echo $ECHO_N "(cached) $ECHO_C" >&6
19745
21182
else
19746
21183
  cat >conftest.$ac_ext <<_ACEOF
19747
 
#line $LINENO "configure"
19748
21184
/* confdefs.h.  */
19749
21185
_ACEOF
19750
21186
cat confdefs.h >>conftest.$ac_ext
19751
21187
cat >>conftest.$ac_ext <<_ACEOF
19752
21188
/* end confdefs.h.  */
 
21189
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
21190
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
21191
#define $ac_func innocuous_$ac_func
 
21192
 
19753
21193
/* System header to define __stub macros and hopefully few prototypes,
19754
21194
    which can conflict with char $ac_func (); below.
19755
21195
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19756
21196
    <limits.h> exists even on freestanding compilers.  */
 
21197
 
19757
21198
#ifdef __STDC__
19758
21199
# include <limits.h>
19759
21200
#else
19760
21201
# include <assert.h>
19761
21202
#endif
 
21203
 
 
21204
#undef $ac_func
 
21205
 
19762
21206
/* Override any gcc2 internal prototype to avoid an error.  */
19763
21207
#ifdef __cplusplus
19764
21208
extern "C"
19789
21233
_ACEOF
19790
21234
rm -f conftest.$ac_objext conftest$ac_exeext
19791
21235
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19792
 
  (eval $ac_link) 2>&5
 
21236
  (eval $ac_link) 2>conftest.er1
19793
21237
  ac_status=$?
 
21238
  grep -v '^ *+' conftest.er1 >conftest.err
 
21239
  rm -f conftest.er1
 
21240
  cat conftest.err >&5
19794
21241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795
21242
  (exit $ac_status); } &&
19796
 
         { ac_try='test -s conftest$ac_exeext'
 
21243
         { ac_try='test -z "$ac_c_werror_flag"
 
21244
                         || test ! -s conftest.err'
 
21245
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21246
  (eval $ac_try) 2>&5
 
21247
  ac_status=$?
 
21248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21249
  (exit $ac_status); }; } &&
 
21250
         { ac_try='test -s conftest$ac_exeext'
19797
21251
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19798
21252
  (eval $ac_try) 2>&5
19799
21253
  ac_status=$?
19806
21260
 
19807
21261
eval "$as_ac_var=no"
19808
21262
fi
19809
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
21263
rm -f conftest.err conftest.$ac_objext \
 
21264
      conftest$ac_exeext conftest.$ac_ext
19810
21265
fi
19811
21266
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19812
21267
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19826
21281
 
19827
21282
 
19828
21283
 
19829
 
for ac_header in errno.h fcntl.h limits.h signal.h sys/param.h sys/utsname.h \
19830
 
  sys/wait.h time.h
 
21284
 
 
21285
 
 
21286
 
 
21287
 
 
21288
 
 
21289
 
 
21290
for ac_header in errno.h fcntl.h limits.h netdb.h signal.h stdarg.h \
 
21291
  sys/param.h sys/resource.h sys/socket.h sys/time.h sys/wait.h sys/utsname.h \
 
21292
  time.h unistd.h
19831
21293
do
19832
21294
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19833
21295
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19843
21305
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19844
21306
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19845
21307
cat >conftest.$ac_ext <<_ACEOF
19846
 
#line $LINENO "configure"
19847
21308
/* confdefs.h.  */
19848
21309
_ACEOF
19849
21310
cat confdefs.h >>conftest.$ac_ext
19854
21315
_ACEOF
19855
21316
rm -f conftest.$ac_objext
19856
21317
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19857
 
  (eval $ac_compile) 2>&5
 
21318
  (eval $ac_compile) 2>conftest.er1
19858
21319
  ac_status=$?
 
21320
  grep -v '^ *+' conftest.er1 >conftest.err
 
21321
  rm -f conftest.er1
 
21322
  cat conftest.err >&5
19859
21323
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860
21324
  (exit $ac_status); } &&
19861
 
         { ac_try='test -s conftest.$ac_objext'
 
21325
         { ac_try='test -z "$ac_c_werror_flag"
 
21326
                         || test ! -s conftest.err'
 
21327
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21328
  (eval $ac_try) 2>&5
 
21329
  ac_status=$?
 
21330
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21331
  (exit $ac_status); }; } &&
 
21332
         { ac_try='test -s conftest.$ac_objext'
19862
21333
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863
21334
  (eval $ac_try) 2>&5
19864
21335
  ac_status=$?
19871
21342
 
19872
21343
ac_header_compiler=no
19873
21344
fi
19874
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
21345
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19875
21346
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19876
21347
echo "${ECHO_T}$ac_header_compiler" >&6
19877
21348
 
19879
21350
echo "$as_me:$LINENO: checking $ac_header presence" >&5
19880
21351
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19881
21352
cat >conftest.$ac_ext <<_ACEOF
19882
 
#line $LINENO "configure"
19883
21353
/* confdefs.h.  */
19884
21354
_ACEOF
19885
21355
cat confdefs.h >>conftest.$ac_ext
19897
21367
  (exit $ac_status); } >/dev/null; then
19898
21368
  if test -s conftest.err; then
19899
21369
    ac_cpp_err=$ac_c_preproc_warn_flag
 
21370
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19900
21371
  else
19901
21372
    ac_cpp_err=
19902
21373
  fi
19916
21387
echo "${ECHO_T}$ac_header_preproc" >&6
19917
21388
 
19918
21389
# So?  What about this header?
19919
 
case $ac_header_compiler:$ac_header_preproc in
19920
 
  yes:no )
 
21390
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
21391
  yes:no: )
19921
21392
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19922
21393
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19923
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19924
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19925
 
    (
19926
 
      cat <<\_ASBOX
19927
 
## ------------------------------------ ##
19928
 
## Report this to bug-autoconf@gnu.org. ##
19929
 
## ------------------------------------ ##
19930
 
_ASBOX
19931
 
    ) |
19932
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21394
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
21395
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
21396
    ac_header_preproc=yes
19933
21397
    ;;
19934
 
  no:yes )
 
21398
  no:yes:* )
19935
21399
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19936
21400
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19937
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19938
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
21401
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
21402
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
21403
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
21404
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
21405
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
21406
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19939
21407
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19940
21408
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
21409
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
21410
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19941
21411
    (
19942
21412
      cat <<\_ASBOX
19943
 
## ------------------------------------ ##
19944
 
## Report this to bug-autoconf@gnu.org. ##
19945
 
## ------------------------------------ ##
 
21413
## --------------------------------- ##
 
21414
## Report this to xfce4-dev@xfce.org ##
 
21415
## --------------------------------- ##
19946
21416
_ASBOX
19947
21417
    ) |
19948
21418
      sed "s/^/$as_me: WARNING:     /" >&2
19953
21423
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19954
21424
  echo $ECHO_N "(cached) $ECHO_C" >&6
19955
21425
else
19956
 
  eval "$as_ac_Header=$ac_header_preproc"
 
21426
  eval "$as_ac_Header=\$ac_header_preproc"
19957
21427
fi
19958
21428
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19959
21429
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20006
21476
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20007
21477
    for ac_extension in a so sl; do
20008
21478
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20009
 
         test -f $ac_im_libdir/libX11.$ac_extension; then
20010
 
        ac_im_usrlibdir=$ac_im_libdir; break
 
21479
         test -f $ac_im_libdir/libX11.$ac_extension; then
 
21480
        ac_im_usrlibdir=$ac_im_libdir; break
20011
21481
      fi
20012
21482
    done
20013
21483
    # Screen out bogus values from the imake configuration.  They are
20067
21537
  # Guess where to find include files, by looking for Intrinsic.h.
20068
21538
  # First, try using that file with no special directory specified.
20069
21539
  cat >conftest.$ac_ext <<_ACEOF
20070
 
#line $LINENO "configure"
20071
21540
/* confdefs.h.  */
20072
21541
_ACEOF
20073
21542
cat confdefs.h >>conftest.$ac_ext
20085
21554
  (exit $ac_status); } >/dev/null; then
20086
21555
  if test -s conftest.err; then
20087
21556
    ac_cpp_err=$ac_c_preproc_warn_flag
 
21557
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20088
21558
  else
20089
21559
    ac_cpp_err=
20090
21560
  fi
20115
21585
  ac_save_LIBS=$LIBS
20116
21586
  LIBS="-lXt $LIBS"
20117
21587
  cat >conftest.$ac_ext <<_ACEOF
20118
 
#line $LINENO "configure"
20119
21588
/* confdefs.h.  */
20120
21589
_ACEOF
20121
21590
cat confdefs.h >>conftest.$ac_ext
20132
21601
_ACEOF
20133
21602
rm -f conftest.$ac_objext conftest$ac_exeext
20134
21603
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20135
 
  (eval $ac_link) 2>&5
 
21604
  (eval $ac_link) 2>conftest.er1
20136
21605
  ac_status=$?
 
21606
  grep -v '^ *+' conftest.er1 >conftest.err
 
21607
  rm -f conftest.er1
 
21608
  cat conftest.err >&5
20137
21609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138
21610
  (exit $ac_status); } &&
20139
 
         { ac_try='test -s conftest$ac_exeext'
 
21611
         { ac_try='test -z "$ac_c_werror_flag"
 
21612
                         || test ! -s conftest.err'
 
21613
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21614
  (eval $ac_try) 2>&5
 
21615
  ac_status=$?
 
21616
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21617
  (exit $ac_status); }; } &&
 
21618
         { ac_try='test -s conftest$ac_exeext'
20140
21619
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141
21620
  (eval $ac_try) 2>&5
20142
21621
  ac_status=$?
20161
21640
  done
20162
21641
done
20163
21642
fi
20164
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
21643
rm -f conftest.err conftest.$ac_objext \
 
21644
      conftest$ac_exeext conftest.$ac_ext
20165
21645
fi # $ac_x_libraries = no
20166
21646
 
20167
21647
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
20170
21650
else
20171
21651
  # Record where we found X for the cache.
20172
21652
  ac_cv_have_x="have_x=yes \
20173
 
                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
 
21653
                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20174
21654
fi
20175
21655
fi
20176
21656
 
20217
21697
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
20218
21698
      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20219
21699
      cat >conftest.$ac_ext <<_ACEOF
20220
 
#line $LINENO "configure"
20221
21700
/* confdefs.h.  */
20222
21701
_ACEOF
20223
21702
cat confdefs.h >>conftest.$ac_ext
20234
21713
_ACEOF
20235
21714
rm -f conftest.$ac_objext conftest$ac_exeext
20236
21715
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20237
 
  (eval $ac_link) 2>&5
 
21716
  (eval $ac_link) 2>conftest.er1
20238
21717
  ac_status=$?
 
21718
  grep -v '^ *+' conftest.er1 >conftest.err
 
21719
  rm -f conftest.er1
 
21720
  cat conftest.err >&5
20239
21721
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240
21722
  (exit $ac_status); } &&
20241
 
         { ac_try='test -s conftest$ac_exeext'
 
21723
         { ac_try='test -z "$ac_c_werror_flag"
 
21724
                         || test ! -s conftest.err'
 
21725
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21726
  (eval $ac_try) 2>&5
 
21727
  ac_status=$?
 
21728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21729
  (exit $ac_status); }; } &&
 
21730
         { ac_try='test -s conftest$ac_exeext'
20242
21731
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20243
21732
  (eval $ac_try) 2>&5
20244
21733
  ac_status=$?
20251
21740
 
20252
21741
ac_R_nospace=no
20253
21742
fi
20254
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
21743
rm -f conftest.err conftest.$ac_objext \
 
21744
      conftest$ac_exeext conftest.$ac_ext
20255
21745
      if test $ac_R_nospace = yes; then
20256
21746
        echo "$as_me:$LINENO: result: no" >&5
20257
21747
echo "${ECHO_T}no" >&6
20259
21749
      else
20260
21750
        LIBS="$ac_xsave_LIBS -R $x_libraries"
20261
21751
        cat >conftest.$ac_ext <<_ACEOF
20262
 
#line $LINENO "configure"
20263
21752
/* confdefs.h.  */
20264
21753
_ACEOF
20265
21754
cat confdefs.h >>conftest.$ac_ext
20276
21765
_ACEOF
20277
21766
rm -f conftest.$ac_objext conftest$ac_exeext
20278
21767
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20279
 
  (eval $ac_link) 2>&5
 
21768
  (eval $ac_link) 2>conftest.er1
20280
21769
  ac_status=$?
 
21770
  grep -v '^ *+' conftest.er1 >conftest.err
 
21771
  rm -f conftest.er1
 
21772
  cat conftest.err >&5
20281
21773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282
21774
  (exit $ac_status); } &&
20283
 
         { ac_try='test -s conftest$ac_exeext'
 
21775
         { ac_try='test -z "$ac_c_werror_flag"
 
21776
                         || test ! -s conftest.err'
 
21777
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21778
  (eval $ac_try) 2>&5
 
21779
  ac_status=$?
 
21780
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21781
  (exit $ac_status); }; } &&
 
21782
         { ac_try='test -s conftest$ac_exeext'
20284
21783
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285
21784
  (eval $ac_try) 2>&5
20286
21785
  ac_status=$?
20293
21792
 
20294
21793
ac_R_space=no
20295
21794
fi
20296
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
21795
rm -f conftest.err conftest.$ac_objext \
 
21796
      conftest$ac_exeext conftest.$ac_ext
20297
21797
        if test $ac_R_space = yes; then
20298
21798
          echo "$as_me:$LINENO: result: yes" >&5
20299
21799
echo "${ECHO_T}yes" >&6
20319
21819
    # the Alpha needs dnet_stub (dnet does not exist).
20320
21820
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20321
21821
    cat >conftest.$ac_ext <<_ACEOF
20322
 
#line $LINENO "configure"
20323
21822
/* confdefs.h.  */
20324
21823
_ACEOF
20325
21824
cat confdefs.h >>conftest.$ac_ext
20343
21842
_ACEOF
20344
21843
rm -f conftest.$ac_objext conftest$ac_exeext
20345
21844
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20346
 
  (eval $ac_link) 2>&5
 
21845
  (eval $ac_link) 2>conftest.er1
20347
21846
  ac_status=$?
 
21847
  grep -v '^ *+' conftest.er1 >conftest.err
 
21848
  rm -f conftest.er1
 
21849
  cat conftest.err >&5
20348
21850
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349
21851
  (exit $ac_status); } &&
20350
 
         { ac_try='test -s conftest$ac_exeext'
 
21852
         { ac_try='test -z "$ac_c_werror_flag"
 
21853
                         || test ! -s conftest.err'
 
21854
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21855
  (eval $ac_try) 2>&5
 
21856
  ac_status=$?
 
21857
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21858
  (exit $ac_status); }; } &&
 
21859
         { ac_try='test -s conftest$ac_exeext'
20351
21860
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20352
21861
  (eval $ac_try) 2>&5
20353
21862
  ac_status=$?
20366
21875
  ac_check_lib_save_LIBS=$LIBS
20367
21876
LIBS="-ldnet  $LIBS"
20368
21877
cat >conftest.$ac_ext <<_ACEOF
20369
 
#line $LINENO "configure"
20370
21878
/* confdefs.h.  */
20371
21879
_ACEOF
20372
21880
cat confdefs.h >>conftest.$ac_ext
20390
21898
_ACEOF
20391
21899
rm -f conftest.$ac_objext conftest$ac_exeext
20392
21900
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20393
 
  (eval $ac_link) 2>&5
 
21901
  (eval $ac_link) 2>conftest.er1
20394
21902
  ac_status=$?
 
21903
  grep -v '^ *+' conftest.er1 >conftest.err
 
21904
  rm -f conftest.er1
 
21905
  cat conftest.err >&5
20395
21906
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396
21907
  (exit $ac_status); } &&
20397
 
         { ac_try='test -s conftest$ac_exeext'
 
21908
         { ac_try='test -z "$ac_c_werror_flag"
 
21909
                         || test ! -s conftest.err'
 
21910
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21911
  (eval $ac_try) 2>&5
 
21912
  ac_status=$?
 
21913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21914
  (exit $ac_status); }; } &&
 
21915
         { ac_try='test -s conftest$ac_exeext'
20398
21916
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20399
21917
  (eval $ac_try) 2>&5
20400
21918
  ac_status=$?
20407
21925
 
20408
21926
ac_cv_lib_dnet_dnet_ntoa=no
20409
21927
fi
20410
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
21928
rm -f conftest.err conftest.$ac_objext \
 
21929
      conftest$ac_exeext conftest.$ac_ext
20411
21930
LIBS=$ac_check_lib_save_LIBS
20412
21931
fi
20413
21932
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20425
21944
  ac_check_lib_save_LIBS=$LIBS
20426
21945
LIBS="-ldnet_stub  $LIBS"
20427
21946
cat >conftest.$ac_ext <<_ACEOF
20428
 
#line $LINENO "configure"
20429
21947
/* confdefs.h.  */
20430
21948
_ACEOF
20431
21949
cat confdefs.h >>conftest.$ac_ext
20449
21967
_ACEOF
20450
21968
rm -f conftest.$ac_objext conftest$ac_exeext
20451
21969
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20452
 
  (eval $ac_link) 2>&5
 
21970
  (eval $ac_link) 2>conftest.er1
20453
21971
  ac_status=$?
 
21972
  grep -v '^ *+' conftest.er1 >conftest.err
 
21973
  rm -f conftest.er1
 
21974
  cat conftest.err >&5
20454
21975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455
21976
  (exit $ac_status); } &&
20456
 
         { ac_try='test -s conftest$ac_exeext'
 
21977
         { ac_try='test -z "$ac_c_werror_flag"
 
21978
                         || test ! -s conftest.err'
 
21979
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
21980
  (eval $ac_try) 2>&5
 
21981
  ac_status=$?
 
21982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21983
  (exit $ac_status); }; } &&
 
21984
         { ac_try='test -s conftest$ac_exeext'
20457
21985
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20458
21986
  (eval $ac_try) 2>&5
20459
21987
  ac_status=$?
20466
21994
 
20467
21995
ac_cv_lib_dnet_stub_dnet_ntoa=no
20468
21996
fi
20469
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
21997
rm -f conftest.err conftest.$ac_objext \
 
21998
      conftest$ac_exeext conftest.$ac_ext
20470
21999
LIBS=$ac_check_lib_save_LIBS
20471
22000
fi
20472
22001
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20477
22006
 
20478
22007
    fi
20479
22008
fi
20480
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22009
rm -f conftest.err conftest.$ac_objext \
 
22010
      conftest$ac_exeext conftest.$ac_ext
20481
22011
    LIBS="$ac_xsave_LIBS"
20482
22012
 
20483
22013
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20494
22024
  echo $ECHO_N "(cached) $ECHO_C" >&6
20495
22025
else
20496
22026
  cat >conftest.$ac_ext <<_ACEOF
20497
 
#line $LINENO "configure"
20498
22027
/* confdefs.h.  */
20499
22028
_ACEOF
20500
22029
cat confdefs.h >>conftest.$ac_ext
20501
22030
cat >>conftest.$ac_ext <<_ACEOF
20502
22031
/* end confdefs.h.  */
 
22032
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 
22033
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
22034
#define gethostbyname innocuous_gethostbyname
 
22035
 
20503
22036
/* System header to define __stub macros and hopefully few prototypes,
20504
22037
    which can conflict with char gethostbyname (); below.
20505
22038
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20506
22039
    <limits.h> exists even on freestanding compilers.  */
 
22040
 
20507
22041
#ifdef __STDC__
20508
22042
# include <limits.h>
20509
22043
#else
20510
22044
# include <assert.h>
20511
22045
#endif
 
22046
 
 
22047
#undef gethostbyname
 
22048
 
20512
22049
/* Override any gcc2 internal prototype to avoid an error.  */
20513
22050
#ifdef __cplusplus
20514
22051
extern "C"
20539
22076
_ACEOF
20540
22077
rm -f conftest.$ac_objext conftest$ac_exeext
20541
22078
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20542
 
  (eval $ac_link) 2>&5
 
22079
  (eval $ac_link) 2>conftest.er1
20543
22080
  ac_status=$?
 
22081
  grep -v '^ *+' conftest.er1 >conftest.err
 
22082
  rm -f conftest.er1
 
22083
  cat conftest.err >&5
20544
22084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545
22085
  (exit $ac_status); } &&
20546
 
         { ac_try='test -s conftest$ac_exeext'
 
22086
         { ac_try='test -z "$ac_c_werror_flag"
 
22087
                         || test ! -s conftest.err'
 
22088
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22089
  (eval $ac_try) 2>&5
 
22090
  ac_status=$?
 
22091
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22092
  (exit $ac_status); }; } &&
 
22093
         { ac_try='test -s conftest$ac_exeext'
20547
22094
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20548
22095
  (eval $ac_try) 2>&5
20549
22096
  ac_status=$?
20556
22103
 
20557
22104
ac_cv_func_gethostbyname=no
20558
22105
fi
20559
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22106
rm -f conftest.err conftest.$ac_objext \
 
22107
      conftest$ac_exeext conftest.$ac_ext
20560
22108
fi
20561
22109
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20562
22110
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
20570
22118
  ac_check_lib_save_LIBS=$LIBS
20571
22119
LIBS="-lnsl  $LIBS"
20572
22120
cat >conftest.$ac_ext <<_ACEOF
20573
 
#line $LINENO "configure"
20574
22121
/* confdefs.h.  */
20575
22122
_ACEOF
20576
22123
cat confdefs.h >>conftest.$ac_ext
20594
22141
_ACEOF
20595
22142
rm -f conftest.$ac_objext conftest$ac_exeext
20596
22143
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20597
 
  (eval $ac_link) 2>&5
 
22144
  (eval $ac_link) 2>conftest.er1
20598
22145
  ac_status=$?
 
22146
  grep -v '^ *+' conftest.er1 >conftest.err
 
22147
  rm -f conftest.er1
 
22148
  cat conftest.err >&5
20599
22149
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600
22150
  (exit $ac_status); } &&
20601
 
         { ac_try='test -s conftest$ac_exeext'
 
22151
         { ac_try='test -z "$ac_c_werror_flag"
 
22152
                         || test ! -s conftest.err'
 
22153
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22154
  (eval $ac_try) 2>&5
 
22155
  ac_status=$?
 
22156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22157
  (exit $ac_status); }; } &&
 
22158
         { ac_try='test -s conftest$ac_exeext'
20602
22159
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603
22160
  (eval $ac_try) 2>&5
20604
22161
  ac_status=$?
20611
22168
 
20612
22169
ac_cv_lib_nsl_gethostbyname=no
20613
22170
fi
20614
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22171
rm -f conftest.err conftest.$ac_objext \
 
22172
      conftest$ac_exeext conftest.$ac_ext
20615
22173
LIBS=$ac_check_lib_save_LIBS
20616
22174
fi
20617
22175
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20621
22179
fi
20622
22180
 
20623
22181
      if test $ac_cv_lib_nsl_gethostbyname = no; then
20624
 
        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
22182
        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20625
22183
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
20626
22184
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20627
22185
  echo $ECHO_N "(cached) $ECHO_C" >&6
20629
22187
  ac_check_lib_save_LIBS=$LIBS
20630
22188
LIBS="-lbsd  $LIBS"
20631
22189
cat >conftest.$ac_ext <<_ACEOF
20632
 
#line $LINENO "configure"
20633
22190
/* confdefs.h.  */
20634
22191
_ACEOF
20635
22192
cat confdefs.h >>conftest.$ac_ext
20653
22210
_ACEOF
20654
22211
rm -f conftest.$ac_objext conftest$ac_exeext
20655
22212
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20656
 
  (eval $ac_link) 2>&5
 
22213
  (eval $ac_link) 2>conftest.er1
20657
22214
  ac_status=$?
 
22215
  grep -v '^ *+' conftest.er1 >conftest.err
 
22216
  rm -f conftest.er1
 
22217
  cat conftest.err >&5
20658
22218
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659
22219
  (exit $ac_status); } &&
20660
 
         { ac_try='test -s conftest$ac_exeext'
 
22220
         { ac_try='test -z "$ac_c_werror_flag"
 
22221
                         || test ! -s conftest.err'
 
22222
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22223
  (eval $ac_try) 2>&5
 
22224
  ac_status=$?
 
22225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22226
  (exit $ac_status); }; } &&
 
22227
         { ac_try='test -s conftest$ac_exeext'
20661
22228
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20662
22229
  (eval $ac_try) 2>&5
20663
22230
  ac_status=$?
20670
22237
 
20671
22238
ac_cv_lib_bsd_gethostbyname=no
20672
22239
fi
20673
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22240
rm -f conftest.err conftest.$ac_objext \
 
22241
      conftest$ac_exeext conftest.$ac_ext
20674
22242
LIBS=$ac_check_lib_save_LIBS
20675
22243
fi
20676
22244
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20695
22263
  echo $ECHO_N "(cached) $ECHO_C" >&6
20696
22264
else
20697
22265
  cat >conftest.$ac_ext <<_ACEOF
20698
 
#line $LINENO "configure"
20699
22266
/* confdefs.h.  */
20700
22267
_ACEOF
20701
22268
cat confdefs.h >>conftest.$ac_ext
20702
22269
cat >>conftest.$ac_ext <<_ACEOF
20703
22270
/* end confdefs.h.  */
 
22271
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
 
22272
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
22273
#define connect innocuous_connect
 
22274
 
20704
22275
/* System header to define __stub macros and hopefully few prototypes,
20705
22276
    which can conflict with char connect (); below.
20706
22277
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20707
22278
    <limits.h> exists even on freestanding compilers.  */
 
22279
 
20708
22280
#ifdef __STDC__
20709
22281
# include <limits.h>
20710
22282
#else
20711
22283
# include <assert.h>
20712
22284
#endif
 
22285
 
 
22286
#undef connect
 
22287
 
20713
22288
/* Override any gcc2 internal prototype to avoid an error.  */
20714
22289
#ifdef __cplusplus
20715
22290
extern "C"
20740
22315
_ACEOF
20741
22316
rm -f conftest.$ac_objext conftest$ac_exeext
20742
22317
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20743
 
  (eval $ac_link) 2>&5
 
22318
  (eval $ac_link) 2>conftest.er1
20744
22319
  ac_status=$?
 
22320
  grep -v '^ *+' conftest.er1 >conftest.err
 
22321
  rm -f conftest.er1
 
22322
  cat conftest.err >&5
20745
22323
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746
22324
  (exit $ac_status); } &&
20747
 
         { ac_try='test -s conftest$ac_exeext'
 
22325
         { ac_try='test -z "$ac_c_werror_flag"
 
22326
                         || test ! -s conftest.err'
 
22327
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22328
  (eval $ac_try) 2>&5
 
22329
  ac_status=$?
 
22330
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22331
  (exit $ac_status); }; } &&
 
22332
         { ac_try='test -s conftest$ac_exeext'
20748
22333
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749
22334
  (eval $ac_try) 2>&5
20750
22335
  ac_status=$?
20757
22342
 
20758
22343
ac_cv_func_connect=no
20759
22344
fi
20760
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22345
rm -f conftest.err conftest.$ac_objext \
 
22346
      conftest$ac_exeext conftest.$ac_ext
20761
22347
fi
20762
22348
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20763
22349
echo "${ECHO_T}$ac_cv_func_connect" >&6
20771
22357
  ac_check_lib_save_LIBS=$LIBS
20772
22358
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20773
22359
cat >conftest.$ac_ext <<_ACEOF
20774
 
#line $LINENO "configure"
20775
22360
/* confdefs.h.  */
20776
22361
_ACEOF
20777
22362
cat confdefs.h >>conftest.$ac_ext
20795
22380
_ACEOF
20796
22381
rm -f conftest.$ac_objext conftest$ac_exeext
20797
22382
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20798
 
  (eval $ac_link) 2>&5
 
22383
  (eval $ac_link) 2>conftest.er1
20799
22384
  ac_status=$?
 
22385
  grep -v '^ *+' conftest.er1 >conftest.err
 
22386
  rm -f conftest.er1
 
22387
  cat conftest.err >&5
20800
22388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801
22389
  (exit $ac_status); } &&
20802
 
         { ac_try='test -s conftest$ac_exeext'
 
22390
         { ac_try='test -z "$ac_c_werror_flag"
 
22391
                         || test ! -s conftest.err'
 
22392
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22393
  (eval $ac_try) 2>&5
 
22394
  ac_status=$?
 
22395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22396
  (exit $ac_status); }; } &&
 
22397
         { ac_try='test -s conftest$ac_exeext'
20803
22398
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804
22399
  (eval $ac_try) 2>&5
20805
22400
  ac_status=$?
20812
22407
 
20813
22408
ac_cv_lib_socket_connect=no
20814
22409
fi
20815
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22410
rm -f conftest.err conftest.$ac_objext \
 
22411
      conftest$ac_exeext conftest.$ac_ext
20816
22412
LIBS=$ac_check_lib_save_LIBS
20817
22413
fi
20818
22414
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20830
22426
  echo $ECHO_N "(cached) $ECHO_C" >&6
20831
22427
else
20832
22428
  cat >conftest.$ac_ext <<_ACEOF
20833
 
#line $LINENO "configure"
20834
22429
/* confdefs.h.  */
20835
22430
_ACEOF
20836
22431
cat confdefs.h >>conftest.$ac_ext
20837
22432
cat >>conftest.$ac_ext <<_ACEOF
20838
22433
/* end confdefs.h.  */
 
22434
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
 
22435
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
22436
#define remove innocuous_remove
 
22437
 
20839
22438
/* System header to define __stub macros and hopefully few prototypes,
20840
22439
    which can conflict with char remove (); below.
20841
22440
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20842
22441
    <limits.h> exists even on freestanding compilers.  */
 
22442
 
20843
22443
#ifdef __STDC__
20844
22444
# include <limits.h>
20845
22445
#else
20846
22446
# include <assert.h>
20847
22447
#endif
 
22448
 
 
22449
#undef remove
 
22450
 
20848
22451
/* Override any gcc2 internal prototype to avoid an error.  */
20849
22452
#ifdef __cplusplus
20850
22453
extern "C"
20875
22478
_ACEOF
20876
22479
rm -f conftest.$ac_objext conftest$ac_exeext
20877
22480
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20878
 
  (eval $ac_link) 2>&5
 
22481
  (eval $ac_link) 2>conftest.er1
20879
22482
  ac_status=$?
 
22483
  grep -v '^ *+' conftest.er1 >conftest.err
 
22484
  rm -f conftest.er1
 
22485
  cat conftest.err >&5
20880
22486
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881
22487
  (exit $ac_status); } &&
20882
 
         { ac_try='test -s conftest$ac_exeext'
 
22488
         { ac_try='test -z "$ac_c_werror_flag"
 
22489
                         || test ! -s conftest.err'
 
22490
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22491
  (eval $ac_try) 2>&5
 
22492
  ac_status=$?
 
22493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22494
  (exit $ac_status); }; } &&
 
22495
         { ac_try='test -s conftest$ac_exeext'
20883
22496
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884
22497
  (eval $ac_try) 2>&5
20885
22498
  ac_status=$?
20892
22505
 
20893
22506
ac_cv_func_remove=no
20894
22507
fi
20895
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22508
rm -f conftest.err conftest.$ac_objext \
 
22509
      conftest$ac_exeext conftest.$ac_ext
20896
22510
fi
20897
22511
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20898
22512
echo "${ECHO_T}$ac_cv_func_remove" >&6
20906
22520
  ac_check_lib_save_LIBS=$LIBS
20907
22521
LIBS="-lposix  $LIBS"
20908
22522
cat >conftest.$ac_ext <<_ACEOF
20909
 
#line $LINENO "configure"
20910
22523
/* confdefs.h.  */
20911
22524
_ACEOF
20912
22525
cat confdefs.h >>conftest.$ac_ext
20930
22543
_ACEOF
20931
22544
rm -f conftest.$ac_objext conftest$ac_exeext
20932
22545
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20933
 
  (eval $ac_link) 2>&5
 
22546
  (eval $ac_link) 2>conftest.er1
20934
22547
  ac_status=$?
 
22548
  grep -v '^ *+' conftest.er1 >conftest.err
 
22549
  rm -f conftest.er1
 
22550
  cat conftest.err >&5
20935
22551
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936
22552
  (exit $ac_status); } &&
20937
 
         { ac_try='test -s conftest$ac_exeext'
 
22553
         { ac_try='test -z "$ac_c_werror_flag"
 
22554
                         || test ! -s conftest.err'
 
22555
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22556
  (eval $ac_try) 2>&5
 
22557
  ac_status=$?
 
22558
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22559
  (exit $ac_status); }; } &&
 
22560
         { ac_try='test -s conftest$ac_exeext'
20938
22561
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20939
22562
  (eval $ac_try) 2>&5
20940
22563
  ac_status=$?
20947
22570
 
20948
22571
ac_cv_lib_posix_remove=no
20949
22572
fi
20950
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22573
rm -f conftest.err conftest.$ac_objext \
 
22574
      conftest$ac_exeext conftest.$ac_ext
20951
22575
LIBS=$ac_check_lib_save_LIBS
20952
22576
fi
20953
22577
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20965
22589
  echo $ECHO_N "(cached) $ECHO_C" >&6
20966
22590
else
20967
22591
  cat >conftest.$ac_ext <<_ACEOF
20968
 
#line $LINENO "configure"
20969
22592
/* confdefs.h.  */
20970
22593
_ACEOF
20971
22594
cat confdefs.h >>conftest.$ac_ext
20972
22595
cat >>conftest.$ac_ext <<_ACEOF
20973
22596
/* end confdefs.h.  */
 
22597
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
 
22598
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
22599
#define shmat innocuous_shmat
 
22600
 
20974
22601
/* System header to define __stub macros and hopefully few prototypes,
20975
22602
    which can conflict with char shmat (); below.
20976
22603
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20977
22604
    <limits.h> exists even on freestanding compilers.  */
 
22605
 
20978
22606
#ifdef __STDC__
20979
22607
# include <limits.h>
20980
22608
#else
20981
22609
# include <assert.h>
20982
22610
#endif
 
22611
 
 
22612
#undef shmat
 
22613
 
20983
22614
/* Override any gcc2 internal prototype to avoid an error.  */
20984
22615
#ifdef __cplusplus
20985
22616
extern "C"
21010
22641
_ACEOF
21011
22642
rm -f conftest.$ac_objext conftest$ac_exeext
21012
22643
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21013
 
  (eval $ac_link) 2>&5
 
22644
  (eval $ac_link) 2>conftest.er1
21014
22645
  ac_status=$?
 
22646
  grep -v '^ *+' conftest.er1 >conftest.err
 
22647
  rm -f conftest.er1
 
22648
  cat conftest.err >&5
21015
22649
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016
22650
  (exit $ac_status); } &&
21017
 
         { ac_try='test -s conftest$ac_exeext'
 
22651
         { ac_try='test -z "$ac_c_werror_flag"
 
22652
                         || test ! -s conftest.err'
 
22653
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22654
  (eval $ac_try) 2>&5
 
22655
  ac_status=$?
 
22656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22657
  (exit $ac_status); }; } &&
 
22658
         { ac_try='test -s conftest$ac_exeext'
21018
22659
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019
22660
  (eval $ac_try) 2>&5
21020
22661
  ac_status=$?
21027
22668
 
21028
22669
ac_cv_func_shmat=no
21029
22670
fi
21030
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22671
rm -f conftest.err conftest.$ac_objext \
 
22672
      conftest$ac_exeext conftest.$ac_ext
21031
22673
fi
21032
22674
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21033
22675
echo "${ECHO_T}$ac_cv_func_shmat" >&6
21041
22683
  ac_check_lib_save_LIBS=$LIBS
21042
22684
LIBS="-lipc  $LIBS"
21043
22685
cat >conftest.$ac_ext <<_ACEOF
21044
 
#line $LINENO "configure"
21045
22686
/* confdefs.h.  */
21046
22687
_ACEOF
21047
22688
cat confdefs.h >>conftest.$ac_ext
21065
22706
_ACEOF
21066
22707
rm -f conftest.$ac_objext conftest$ac_exeext
21067
22708
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21068
 
  (eval $ac_link) 2>&5
 
22709
  (eval $ac_link) 2>conftest.er1
21069
22710
  ac_status=$?
 
22711
  grep -v '^ *+' conftest.er1 >conftest.err
 
22712
  rm -f conftest.er1
 
22713
  cat conftest.err >&5
21070
22714
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071
22715
  (exit $ac_status); } &&
21072
 
         { ac_try='test -s conftest$ac_exeext'
 
22716
         { ac_try='test -z "$ac_c_werror_flag"
 
22717
                         || test ! -s conftest.err'
 
22718
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22719
  (eval $ac_try) 2>&5
 
22720
  ac_status=$?
 
22721
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22722
  (exit $ac_status); }; } &&
 
22723
         { ac_try='test -s conftest$ac_exeext'
21073
22724
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074
22725
  (eval $ac_try) 2>&5
21075
22726
  ac_status=$?
21082
22733
 
21083
22734
ac_cv_lib_ipc_shmat=no
21084
22735
fi
21085
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22736
rm -f conftest.err conftest.$ac_objext \
 
22737
      conftest$ac_exeext conftest.$ac_ext
21086
22738
LIBS=$ac_check_lib_save_LIBS
21087
22739
fi
21088
22740
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21111
22763
  ac_check_lib_save_LIBS=$LIBS
21112
22764
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21113
22765
cat >conftest.$ac_ext <<_ACEOF
21114
 
#line $LINENO "configure"
21115
22766
/* confdefs.h.  */
21116
22767
_ACEOF
21117
22768
cat confdefs.h >>conftest.$ac_ext
21135
22786
_ACEOF
21136
22787
rm -f conftest.$ac_objext conftest$ac_exeext
21137
22788
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21138
 
  (eval $ac_link) 2>&5
 
22789
  (eval $ac_link) 2>conftest.er1
21139
22790
  ac_status=$?
 
22791
  grep -v '^ *+' conftest.er1 >conftest.err
 
22792
  rm -f conftest.er1
 
22793
  cat conftest.err >&5
21140
22794
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141
22795
  (exit $ac_status); } &&
21142
 
         { ac_try='test -s conftest$ac_exeext'
 
22796
         { ac_try='test -z "$ac_c_werror_flag"
 
22797
                         || test ! -s conftest.err'
 
22798
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22799
  (eval $ac_try) 2>&5
 
22800
  ac_status=$?
 
22801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22802
  (exit $ac_status); }; } &&
 
22803
         { ac_try='test -s conftest$ac_exeext'
21143
22804
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144
22805
  (eval $ac_try) 2>&5
21145
22806
  ac_status=$?
21152
22813
 
21153
22814
ac_cv_lib_ICE_IceConnectionNumber=no
21154
22815
fi
21155
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22816
rm -f conftest.err conftest.$ac_objext \
 
22817
      conftest$ac_exeext conftest.$ac_ext
21156
22818
LIBS=$ac_check_lib_save_LIBS
21157
22819
fi
21158
22820
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21167
22829
 
21168
22830
 
21169
22831
 
 
22832
 
21170
22833
  LIBX11_CFLAGS= LIBX11_LDFLAGS= LIBX11_LIBS=
21171
 
  if test "$no_x" != "yes"; then
 
22834
  if test x"$no_x" != x"yes"; then
21172
22835
    echo "$as_me:$LINENO: checking for main in -lX11" >&5
21173
22836
echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6
21174
22837
if test "${ac_cv_lib_X11_main+set}" = set; then
21177
22840
  ac_check_lib_save_LIBS=$LIBS
21178
22841
LIBS="-lX11 $X_CFLAGS $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS $LIBS"
21179
22842
cat >conftest.$ac_ext <<_ACEOF
21180
 
#line $LINENO "configure"
21181
22843
/* confdefs.h.  */
21182
22844
_ACEOF
21183
22845
cat confdefs.h >>conftest.$ac_ext
21195
22857
_ACEOF
21196
22858
rm -f conftest.$ac_objext conftest$ac_exeext
21197
22859
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21198
 
  (eval $ac_link) 2>&5
 
22860
  (eval $ac_link) 2>conftest.er1
21199
22861
  ac_status=$?
 
22862
  grep -v '^ *+' conftest.er1 >conftest.err
 
22863
  rm -f conftest.er1
 
22864
  cat conftest.err >&5
21200
22865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201
22866
  (exit $ac_status); } &&
21202
 
         { ac_try='test -s conftest$ac_exeext'
 
22867
         { ac_try='test -z "$ac_c_werror_flag"
 
22868
                         || test ! -s conftest.err'
 
22869
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22870
  (eval $ac_try) 2>&5
 
22871
  ac_status=$?
 
22872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22873
  (exit $ac_status); }; } &&
 
22874
         { ac_try='test -s conftest$ac_exeext'
21203
22875
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204
22876
  (eval $ac_try) 2>&5
21205
22877
  ac_status=$?
21212
22884
 
21213
22885
ac_cv_lib_X11_main=no
21214
22886
fi
21215
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
22887
rm -f conftest.err conftest.$ac_objext \
 
22888
      conftest$ac_exeext conftest.$ac_ext
21216
22889
LIBS=$ac_check_lib_save_LIBS
21217
22890
fi
21218
22891
echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
21238
22911
          ;;
21239
22912
        esac
21240
22913
      done
21241
 
      if ! echo $LIBX11_LIBS | grep -- '-lX11' > /dev/null; then
 
22914
      if ! echo $LIBX11_LIBS | grep -- '-lX11' >/dev/null; then
21242
22915
        LIBX11_LIBS="$LIBX11_LIBS -lX11"
21243
22916
      fi
21244
22917
 
21251
22924
 
21252
22925
 
21253
22926
 
21254
 
  if test "$no_x" = "yes"; then
 
22927
 
 
22928
  if test x"$no_x" = x"yes"; then
21255
22929
    { { echo "$as_me:$LINENO: error: X Window system libraries and header files are required" >&5
21256
22930
echo "$as_me: error: X Window system libraries and header files are required" >&2;}
21257
22931
   { (exit 1); exit 1; }; }
21260
22934
 
21261
22935
 
21262
22936
 
 
22937
 
 
22938
 
 
22939
 
 
22940
 
21263
22941
  LIBSM_CFLAGS= LIBSM_LDFLAGS= LIBSM_LIBS=
21264
 
  if test "$no_x" != "yes"; then
 
22942
  if test x"$no_x" != x"yes"; then
21265
22943
    echo "$as_me:$LINENO: checking for SmcSaveYourselfDone in -lSM" >&5
21266
22944
echo $ECHO_N "checking for SmcSaveYourselfDone in -lSM... $ECHO_C" >&6
21267
22945
if test "${ac_cv_lib_SM_SmcSaveYourselfDone+set}" = set; then
21270
22948
  ac_check_lib_save_LIBS=$LIBS
21271
22949
LIBS="-lSM $LIBX11_CFLAGS $LIBX11_LDFLAGS $LIBX11_LIBS -lICE $LIBS"
21272
22950
cat >conftest.$ac_ext <<_ACEOF
21273
 
#line $LINENO "configure"
21274
22951
/* confdefs.h.  */
21275
22952
_ACEOF
21276
22953
cat confdefs.h >>conftest.$ac_ext
21294
22971
_ACEOF
21295
22972
rm -f conftest.$ac_objext conftest$ac_exeext
21296
22973
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21297
 
  (eval $ac_link) 2>&5
 
22974
  (eval $ac_link) 2>conftest.er1
21298
22975
  ac_status=$?
 
22976
  grep -v '^ *+' conftest.er1 >conftest.err
 
22977
  rm -f conftest.er1
 
22978
  cat conftest.err >&5
21299
22979
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300
22980
  (exit $ac_status); } &&
21301
 
         { ac_try='test -s conftest$ac_exeext'
 
22981
         { ac_try='test -z "$ac_c_werror_flag"
 
22982
                         || test ! -s conftest.err'
 
22983
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
22984
  (eval $ac_try) 2>&5
 
22985
  ac_status=$?
 
22986
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22987
  (exit $ac_status); }; } &&
 
22988
         { ac_try='test -s conftest$ac_exeext'
21302
22989
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303
22990
  (eval $ac_try) 2>&5
21304
22991
  ac_status=$?
21311
22998
 
21312
22999
ac_cv_lib_SM_SmcSaveYourselfDone=no
21313
23000
fi
21314
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
23001
rm -f conftest.err conftest.$ac_objext \
 
23002
      conftest$ac_exeext conftest.$ac_ext
21315
23003
LIBS=$ac_check_lib_save_LIBS
21316
23004
fi
21317
23005
echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcSaveYourselfDone" >&5
21326
23014
      LIBSM_CFLAGS="$LIBX11_CFLAGS"
21327
23015
      LIBSM_LDFLAGS="$LIBX11_LDFLAGS"
21328
23016
      LIBSM_LIBS="$LIBX11_LIBS"
21329
 
      if ! echo $LIBSM_LIBS | grep -- '-lSM' > /dev/null; then
 
23017
      if ! echo $LIBSM_LIBS | grep -- '-lSM' >/dev/null; then
21330
23018
        LIBSM_LIBS="$LIBSM_LIBS -lSM -lICE"
21331
23019
      fi
21332
23020
 
21339
23027
 
21340
23028
 
21341
23029
 
21342
 
  GETTEXT_PACKAGE=xfce4-session
21343
 
 
21344
 
 
21345
 
cat >>confdefs.h <<\_ACEOF
21346
 
#define GETTEXT_PACKAGE "xfce4-session"
21347
 
_ACEOF
21348
 
 
21349
 
 
21350
 
  ALL_LINGUAS="ca de es es_MX hi it ko nl sv ta tr zh_CN zh_TW"
21351
 
 
 
23030
 
 
23031
 
 
23032
ac_LIBS="$LIBS"
 
23033
LIBS="$LIBS $LIBSM_LDFLAGS $LIBSM_LIBS"
 
23034
 
 
23035
for ac_func in _IceTransNoListen
 
23036
do
 
23037
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
23038
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23039
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
23040
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23041
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23042
else
 
23043
  cat >conftest.$ac_ext <<_ACEOF
 
23044
/* confdefs.h.  */
 
23045
_ACEOF
 
23046
cat confdefs.h >>conftest.$ac_ext
 
23047
cat >>conftest.$ac_ext <<_ACEOF
 
23048
/* end confdefs.h.  */
 
23049
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
23050
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
23051
#define $ac_func innocuous_$ac_func
 
23052
 
 
23053
/* System header to define __stub macros and hopefully few prototypes,
 
23054
    which can conflict with char $ac_func (); below.
 
23055
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
23056
    <limits.h> exists even on freestanding compilers.  */
 
23057
 
 
23058
#ifdef __STDC__
 
23059
# include <limits.h>
 
23060
#else
 
23061
# include <assert.h>
 
23062
#endif
 
23063
 
 
23064
#undef $ac_func
 
23065
 
 
23066
/* Override any gcc2 internal prototype to avoid an error.  */
 
23067
#ifdef __cplusplus
 
23068
extern "C"
 
23069
{
 
23070
#endif
 
23071
/* We use char because int might match the return type of a gcc2
 
23072
   builtin and then its argument prototype would still apply.  */
 
23073
char $ac_func ();
 
23074
/* The GNU C library defines this for functions which it implements
 
23075
    to always fail with ENOSYS.  Some functions are actually named
 
23076
    something starting with __ and the normal name is an alias.  */
 
23077
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23078
choke me
 
23079
#else
 
23080
char (*f) () = $ac_func;
 
23081
#endif
 
23082
#ifdef __cplusplus
 
23083
}
 
23084
#endif
 
23085
 
 
23086
int
 
23087
main ()
 
23088
{
 
23089
return f != $ac_func;
 
23090
  ;
 
23091
  return 0;
 
23092
}
 
23093
_ACEOF
 
23094
rm -f conftest.$ac_objext conftest$ac_exeext
 
23095
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
23096
  (eval $ac_link) 2>conftest.er1
 
23097
  ac_status=$?
 
23098
  grep -v '^ *+' conftest.er1 >conftest.err
 
23099
  rm -f conftest.er1
 
23100
  cat conftest.err >&5
 
23101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23102
  (exit $ac_status); } &&
 
23103
         { ac_try='test -z "$ac_c_werror_flag"
 
23104
                         || test ! -s conftest.err'
 
23105
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23106
  (eval $ac_try) 2>&5
 
23107
  ac_status=$?
 
23108
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23109
  (exit $ac_status); }; } &&
 
23110
         { ac_try='test -s conftest$ac_exeext'
 
23111
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23112
  (eval $ac_try) 2>&5
 
23113
  ac_status=$?
 
23114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23115
  (exit $ac_status); }; }; then
 
23116
  eval "$as_ac_var=yes"
 
23117
else
 
23118
  echo "$as_me: failed program was:" >&5
 
23119
sed 's/^/| /' conftest.$ac_ext >&5
 
23120
 
 
23121
eval "$as_ac_var=no"
 
23122
fi
 
23123
rm -f conftest.err conftest.$ac_objext \
 
23124
      conftest$ac_exeext conftest.$ac_ext
 
23125
fi
 
23126
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
23127
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23128
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
23129
  cat >>confdefs.h <<_ACEOF
 
23130
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
23131
_ACEOF
 
23132
 
 
23133
fi
 
23134
done
 
23135
 
 
23136
LIBS="$ac_LIBS"
 
23137
 
 
23138
 
 
23139
 
 
23140
    GETTEXT_PACKAGE=xfce4-session
 
23141
 
 
23142
cat >>confdefs.h <<_ACEOF
 
23143
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
23144
_ACEOF
 
23145
 
 
23146
 
 
23147
 
 
23148
    ALL_LINGUAS="af ar az be bn_IN ca cs da de el en_GB eo es es_MX
 
23149
                          et eu fa fi fr gu he hi hu it ja ko ku lt mr ms nl
 
23150
                          nb_NO pa pl pt_BR pt_PT ro ru sk sl sv ta tr uk vi
 
23151
                          zh_CN zh_TW"
21352
23152
 
21353
23153
 
21354
23154
for ac_header in locale.h
21367
23167
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21368
23168
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21369
23169
cat >conftest.$ac_ext <<_ACEOF
21370
 
#line $LINENO "configure"
21371
23170
/* confdefs.h.  */
21372
23171
_ACEOF
21373
23172
cat confdefs.h >>conftest.$ac_ext
21378
23177
_ACEOF
21379
23178
rm -f conftest.$ac_objext
21380
23179
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21381
 
  (eval $ac_compile) 2>&5
 
23180
  (eval $ac_compile) 2>conftest.er1
21382
23181
  ac_status=$?
 
23182
  grep -v '^ *+' conftest.er1 >conftest.err
 
23183
  rm -f conftest.er1
 
23184
  cat conftest.err >&5
21383
23185
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384
23186
  (exit $ac_status); } &&
21385
 
         { ac_try='test -s conftest.$ac_objext'
 
23187
         { ac_try='test -z "$ac_c_werror_flag"
 
23188
                         || test ! -s conftest.err'
 
23189
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23190
  (eval $ac_try) 2>&5
 
23191
  ac_status=$?
 
23192
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23193
  (exit $ac_status); }; } &&
 
23194
         { ac_try='test -s conftest.$ac_objext'
21386
23195
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387
23196
  (eval $ac_try) 2>&5
21388
23197
  ac_status=$?
21395
23204
 
21396
23205
ac_header_compiler=no
21397
23206
fi
21398
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
23207
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21399
23208
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21400
23209
echo "${ECHO_T}$ac_header_compiler" >&6
21401
23210
 
21403
23212
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21404
23213
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21405
23214
cat >conftest.$ac_ext <<_ACEOF
21406
 
#line $LINENO "configure"
21407
23215
/* confdefs.h.  */
21408
23216
_ACEOF
21409
23217
cat confdefs.h >>conftest.$ac_ext
21421
23229
  (exit $ac_status); } >/dev/null; then
21422
23230
  if test -s conftest.err; then
21423
23231
    ac_cpp_err=$ac_c_preproc_warn_flag
 
23232
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21424
23233
  else
21425
23234
    ac_cpp_err=
21426
23235
  fi
21440
23249
echo "${ECHO_T}$ac_header_preproc" >&6
21441
23250
 
21442
23251
# So?  What about this header?
21443
 
case $ac_header_compiler:$ac_header_preproc in
21444
 
  yes:no )
 
23252
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
23253
  yes:no: )
21445
23254
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21446
23255
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21447
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21448
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21449
 
    (
21450
 
      cat <<\_ASBOX
21451
 
## ------------------------------------ ##
21452
 
## Report this to bug-autoconf@gnu.org. ##
21453
 
## ------------------------------------ ##
21454
 
_ASBOX
21455
 
    ) |
21456
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23256
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
23257
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
23258
    ac_header_preproc=yes
21457
23259
    ;;
21458
 
  no:yes )
 
23260
  no:yes:* )
21459
23261
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21460
23262
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21461
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21462
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
23263
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
23264
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
23265
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
23266
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
23267
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
23268
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21463
23269
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21464
23270
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
23271
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
23272
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21465
23273
    (
21466
23274
      cat <<\_ASBOX
21467
 
## ------------------------------------ ##
21468
 
## Report this to bug-autoconf@gnu.org. ##
21469
 
## ------------------------------------ ##
 
23275
## --------------------------------- ##
 
23276
## Report this to xfce4-dev@xfce.org ##
 
23277
## --------------------------------- ##
21470
23278
_ASBOX
21471
23279
    ) |
21472
23280
      sed "s/^/$as_me: WARNING:     /" >&2
21477
23285
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21478
23286
  echo $ECHO_N "(cached) $ECHO_C" >&6
21479
23287
else
21480
 
  eval "$as_ac_Header=$ac_header_preproc"
 
23288
  eval "$as_ac_Header=\$ac_header_preproc"
21481
23289
fi
21482
23290
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21483
23291
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21499
23307
  echo $ECHO_N "(cached) $ECHO_C" >&6
21500
23308
else
21501
23309
  cat >conftest.$ac_ext <<_ACEOF
21502
 
#line $LINENO "configure"
21503
23310
/* confdefs.h.  */
21504
23311
_ACEOF
21505
23312
cat confdefs.h >>conftest.$ac_ext
21516
23323
_ACEOF
21517
23324
rm -f conftest.$ac_objext conftest$ac_exeext
21518
23325
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21519
 
  (eval $ac_link) 2>&5
 
23326
  (eval $ac_link) 2>conftest.er1
21520
23327
  ac_status=$?
 
23328
  grep -v '^ *+' conftest.er1 >conftest.err
 
23329
  rm -f conftest.er1
 
23330
  cat conftest.err >&5
21521
23331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522
23332
  (exit $ac_status); } &&
21523
 
         { ac_try='test -s conftest$ac_exeext'
 
23333
         { ac_try='test -z "$ac_c_werror_flag"
 
23334
                         || test ! -s conftest.err'
 
23335
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23336
  (eval $ac_try) 2>&5
 
23337
  ac_status=$?
 
23338
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23339
  (exit $ac_status); }; } &&
 
23340
         { ac_try='test -s conftest$ac_exeext'
21524
23341
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525
23342
  (eval $ac_try) 2>&5
21526
23343
  ac_status=$?
21533
23350
 
21534
23351
am_cv_val_LC_MESSAGES=no
21535
23352
fi
21536
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
23353
rm -f conftest.err conftest.$ac_objext \
 
23354
      conftest$ac_exeext conftest.$ac_ext
21537
23355
fi
21538
23356
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21539
23357
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
21567
23385
echo "$as_me:$LINENO: checking libintl.h usability" >&5
21568
23386
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
21569
23387
cat >conftest.$ac_ext <<_ACEOF
21570
 
#line $LINENO "configure"
21571
23388
/* confdefs.h.  */
21572
23389
_ACEOF
21573
23390
cat confdefs.h >>conftest.$ac_ext
21578
23395
_ACEOF
21579
23396
rm -f conftest.$ac_objext
21580
23397
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21581
 
  (eval $ac_compile) 2>&5
 
23398
  (eval $ac_compile) 2>conftest.er1
21582
23399
  ac_status=$?
 
23400
  grep -v '^ *+' conftest.er1 >conftest.err
 
23401
  rm -f conftest.er1
 
23402
  cat conftest.err >&5
21583
23403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584
23404
  (exit $ac_status); } &&
21585
 
         { ac_try='test -s conftest.$ac_objext'
 
23405
         { ac_try='test -z "$ac_c_werror_flag"
 
23406
                         || test ! -s conftest.err'
 
23407
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23408
  (eval $ac_try) 2>&5
 
23409
  ac_status=$?
 
23410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23411
  (exit $ac_status); }; } &&
 
23412
         { ac_try='test -s conftest.$ac_objext'
21586
23413
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21587
23414
  (eval $ac_try) 2>&5
21588
23415
  ac_status=$?
21595
23422
 
21596
23423
ac_header_compiler=no
21597
23424
fi
21598
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
23425
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21599
23426
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21600
23427
echo "${ECHO_T}$ac_header_compiler" >&6
21601
23428
 
21603
23430
echo "$as_me:$LINENO: checking libintl.h presence" >&5
21604
23431
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
21605
23432
cat >conftest.$ac_ext <<_ACEOF
21606
 
#line $LINENO "configure"
21607
23433
/* confdefs.h.  */
21608
23434
_ACEOF
21609
23435
cat confdefs.h >>conftest.$ac_ext
21621
23447
  (exit $ac_status); } >/dev/null; then
21622
23448
  if test -s conftest.err; then
21623
23449
    ac_cpp_err=$ac_c_preproc_warn_flag
 
23450
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21624
23451
  else
21625
23452
    ac_cpp_err=
21626
23453
  fi
21640
23467
echo "${ECHO_T}$ac_header_preproc" >&6
21641
23468
 
21642
23469
# So?  What about this header?
21643
 
case $ac_header_compiler:$ac_header_preproc in
21644
 
  yes:no )
 
23470
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
23471
  yes:no: )
21645
23472
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
21646
23473
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21647
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
21648
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
21649
 
    (
21650
 
      cat <<\_ASBOX
21651
 
## ------------------------------------ ##
21652
 
## Report this to bug-autoconf@gnu.org. ##
21653
 
## ------------------------------------ ##
21654
 
_ASBOX
21655
 
    ) |
21656
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23474
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 
23475
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 
23476
    ac_header_preproc=yes
21657
23477
    ;;
21658
 
  no:yes )
 
23478
  no:yes:* )
21659
23479
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
21660
23480
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
21661
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
21662
 
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
 
23481
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 
23482
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 
23483
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 
23484
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 
23485
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
23486
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21663
23487
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
21664
23488
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 
23489
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 
23490
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
21665
23491
    (
21666
23492
      cat <<\_ASBOX
21667
 
## ------------------------------------ ##
21668
 
## Report this to bug-autoconf@gnu.org. ##
21669
 
## ------------------------------------ ##
 
23493
## --------------------------------- ##
 
23494
## Report this to xfce4-dev@xfce.org ##
 
23495
## --------------------------------- ##
21670
23496
_ASBOX
21671
23497
    ) |
21672
23498
      sed "s/^/$as_me: WARNING:     /" >&2
21696
23522
  echo $ECHO_N "(cached) $ECHO_C" >&6
21697
23523
else
21698
23524
  cat >conftest.$ac_ext <<_ACEOF
21699
 
#line $LINENO "configure"
21700
23525
/* confdefs.h.  */
21701
23526
_ACEOF
21702
23527
cat confdefs.h >>conftest.$ac_ext
21715
23540
_ACEOF
21716
23541
rm -f conftest.$ac_objext conftest$ac_exeext
21717
23542
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21718
 
  (eval $ac_link) 2>&5
 
23543
  (eval $ac_link) 2>conftest.er1
21719
23544
  ac_status=$?
 
23545
  grep -v '^ *+' conftest.er1 >conftest.err
 
23546
  rm -f conftest.er1
 
23547
  cat conftest.err >&5
21720
23548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721
23549
  (exit $ac_status); } &&
21722
 
         { ac_try='test -s conftest$ac_exeext'
 
23550
         { ac_try='test -z "$ac_c_werror_flag"
 
23551
                         || test ! -s conftest.err'
 
23552
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23553
  (eval $ac_try) 2>&5
 
23554
  ac_status=$?
 
23555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23556
  (exit $ac_status); }; } &&
 
23557
         { ac_try='test -s conftest$ac_exeext'
21723
23558
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724
23559
  (eval $ac_try) 2>&5
21725
23560
  ac_status=$?
21732
23567
 
21733
23568
gt_cv_func_dgettext_libc=no
21734
23569
fi
21735
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
23570
rm -f conftest.err conftest.$ac_objext \
 
23571
      conftest$ac_exeext conftest.$ac_ext
21736
23572
 
21737
23573
fi
21738
23574
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
21749
23585
  echo $ECHO_N "(cached) $ECHO_C" >&6
21750
23586
else
21751
23587
  cat >conftest.$ac_ext <<_ACEOF
21752
 
#line $LINENO "configure"
21753
23588
/* confdefs.h.  */
21754
23589
_ACEOF
21755
23590
cat confdefs.h >>conftest.$ac_ext
21756
23591
cat >>conftest.$ac_ext <<_ACEOF
21757
23592
/* end confdefs.h.  */
 
23593
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
23594
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
23595
#define $ac_func innocuous_$ac_func
 
23596
 
21758
23597
/* System header to define __stub macros and hopefully few prototypes,
21759
23598
    which can conflict with char $ac_func (); below.
21760
23599
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21761
23600
    <limits.h> exists even on freestanding compilers.  */
 
23601
 
21762
23602
#ifdef __STDC__
21763
23603
# include <limits.h>
21764
23604
#else
21765
23605
# include <assert.h>
21766
23606
#endif
 
23607
 
 
23608
#undef $ac_func
 
23609
 
21767
23610
/* Override any gcc2 internal prototype to avoid an error.  */
21768
23611
#ifdef __cplusplus
21769
23612
extern "C"
21794
23637
_ACEOF
21795
23638
rm -f conftest.$ac_objext conftest$ac_exeext
21796
23639
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21797
 
  (eval $ac_link) 2>&5
 
23640
  (eval $ac_link) 2>conftest.er1
21798
23641
  ac_status=$?
 
23642
  grep -v '^ *+' conftest.er1 >conftest.err
 
23643
  rm -f conftest.er1
 
23644
  cat conftest.err >&5
21799
23645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800
23646
  (exit $ac_status); } &&
21801
 
         { ac_try='test -s conftest$ac_exeext'
 
23647
         { ac_try='test -z "$ac_c_werror_flag"
 
23648
                         || test ! -s conftest.err'
 
23649
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23650
  (eval $ac_try) 2>&5
 
23651
  ac_status=$?
 
23652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23653
  (exit $ac_status); }; } &&
 
23654
         { ac_try='test -s conftest$ac_exeext'
21802
23655
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21803
23656
  (eval $ac_try) 2>&5
21804
23657
  ac_status=$?
21811
23664
 
21812
23665
eval "$as_ac_var=no"
21813
23666
fi
21814
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
23667
rm -f conftest.err conftest.$ac_objext \
 
23668
      conftest$ac_exeext conftest.$ac_ext
21815
23669
fi
21816
23670
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21817
23671
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21839
23693
  ac_check_lib_save_LIBS=$LIBS
21840
23694
LIBS="-lintl  $LIBS"
21841
23695
cat >conftest.$ac_ext <<_ACEOF
21842
 
#line $LINENO "configure"
21843
23696
/* confdefs.h.  */
21844
23697
_ACEOF
21845
23698
cat confdefs.h >>conftest.$ac_ext
21863
23716
_ACEOF
21864
23717
rm -f conftest.$ac_objext conftest$ac_exeext
21865
23718
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21866
 
  (eval $ac_link) 2>&5
 
23719
  (eval $ac_link) 2>conftest.er1
21867
23720
  ac_status=$?
 
23721
  grep -v '^ *+' conftest.er1 >conftest.err
 
23722
  rm -f conftest.er1
 
23723
  cat conftest.err >&5
21868
23724
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869
23725
  (exit $ac_status); } &&
21870
 
         { ac_try='test -s conftest$ac_exeext'
 
23726
         { ac_try='test -z "$ac_c_werror_flag"
 
23727
                         || test ! -s conftest.err'
 
23728
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23729
  (eval $ac_try) 2>&5
 
23730
  ac_status=$?
 
23731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23732
  (exit $ac_status); }; } &&
 
23733
         { ac_try='test -s conftest$ac_exeext'
21871
23734
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21872
23735
  (eval $ac_try) 2>&5
21873
23736
  ac_status=$?
21880
23743
 
21881
23744
ac_cv_lib_intl_bindtextdomain=no
21882
23745
fi
21883
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
23746
rm -f conftest.err conftest.$ac_objext \
 
23747
      conftest$ac_exeext conftest.$ac_ext
21884
23748
LIBS=$ac_check_lib_save_LIBS
21885
23749
fi
21886
23750
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
21894
23758
  ac_check_lib_save_LIBS=$LIBS
21895
23759
LIBS="-lintl  $LIBS"
21896
23760
cat >conftest.$ac_ext <<_ACEOF
21897
 
#line $LINENO "configure"
21898
23761
/* confdefs.h.  */
21899
23762
_ACEOF
21900
23763
cat confdefs.h >>conftest.$ac_ext
21918
23781
_ACEOF
21919
23782
rm -f conftest.$ac_objext conftest$ac_exeext
21920
23783
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21921
 
  (eval $ac_link) 2>&5
 
23784
  (eval $ac_link) 2>conftest.er1
21922
23785
  ac_status=$?
 
23786
  grep -v '^ *+' conftest.er1 >conftest.err
 
23787
  rm -f conftest.er1
 
23788
  cat conftest.err >&5
21923
23789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924
23790
  (exit $ac_status); } &&
21925
 
         { ac_try='test -s conftest$ac_exeext'
 
23791
         { ac_try='test -z "$ac_c_werror_flag"
 
23792
                         || test ! -s conftest.err'
 
23793
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23794
  (eval $ac_try) 2>&5
 
23795
  ac_status=$?
 
23796
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23797
  (exit $ac_status); }; } &&
 
23798
         { ac_try='test -s conftest$ac_exeext'
21926
23799
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927
23800
  (eval $ac_try) 2>&5
21928
23801
  ac_status=$?
21935
23808
 
21936
23809
ac_cv_lib_intl_dgettext=no
21937
23810
fi
21938
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
23811
rm -f conftest.err conftest.$ac_objext \
 
23812
      conftest$ac_exeext conftest.$ac_ext
21939
23813
LIBS=$ac_check_lib_save_LIBS
21940
23814
fi
21941
23815
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
21960
23834
  ac_check_lib_save_LIBS=$LIBS
21961
23835
LIBS="-lintl -liconv $LIBS"
21962
23836
cat >conftest.$ac_ext <<_ACEOF
21963
 
#line $LINENO "configure"
21964
23837
/* confdefs.h.  */
21965
23838
_ACEOF
21966
23839
cat confdefs.h >>conftest.$ac_ext
21984
23857
_ACEOF
21985
23858
rm -f conftest.$ac_objext conftest$ac_exeext
21986
23859
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21987
 
  (eval $ac_link) 2>&5
 
23860
  (eval $ac_link) 2>conftest.er1
21988
23861
  ac_status=$?
 
23862
  grep -v '^ *+' conftest.er1 >conftest.err
 
23863
  rm -f conftest.er1
 
23864
  cat conftest.err >&5
21989
23865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990
23866
  (exit $ac_status); } &&
21991
 
         { ac_try='test -s conftest$ac_exeext'
 
23867
         { ac_try='test -z "$ac_c_werror_flag"
 
23868
                         || test ! -s conftest.err'
 
23869
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23870
  (eval $ac_try) 2>&5
 
23871
  ac_status=$?
 
23872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23873
  (exit $ac_status); }; } &&
 
23874
         { ac_try='test -s conftest$ac_exeext'
21992
23875
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21993
23876
  (eval $ac_try) 2>&5
21994
23877
  ac_status=$?
22001
23884
 
22002
23885
ac_cv_lib_intl_dcgettext=no
22003
23886
fi
22004
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
23887
rm -f conftest.err conftest.$ac_objext \
 
23888
      conftest$ac_exeext conftest.$ac_ext
22005
23889
LIBS=$ac_check_lib_save_LIBS
22006
23890
fi
22007
23891
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
22034
23918
  echo $ECHO_N "(cached) $ECHO_C" >&6
22035
23919
else
22036
23920
  cat >conftest.$ac_ext <<_ACEOF
22037
 
#line $LINENO "configure"
22038
23921
/* confdefs.h.  */
22039
23922
_ACEOF
22040
23923
cat confdefs.h >>conftest.$ac_ext
22041
23924
cat >>conftest.$ac_ext <<_ACEOF
22042
23925
/* end confdefs.h.  */
 
23926
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
23927
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
23928
#define $ac_func innocuous_$ac_func
 
23929
 
22043
23930
/* System header to define __stub macros and hopefully few prototypes,
22044
23931
    which can conflict with char $ac_func (); below.
22045
23932
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22046
23933
    <limits.h> exists even on freestanding compilers.  */
 
23934
 
22047
23935
#ifdef __STDC__
22048
23936
# include <limits.h>
22049
23937
#else
22050
23938
# include <assert.h>
22051
23939
#endif
 
23940
 
 
23941
#undef $ac_func
 
23942
 
22052
23943
/* Override any gcc2 internal prototype to avoid an error.  */
22053
23944
#ifdef __cplusplus
22054
23945
extern "C"
22079
23970
_ACEOF
22080
23971
rm -f conftest.$ac_objext conftest$ac_exeext
22081
23972
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22082
 
  (eval $ac_link) 2>&5
 
23973
  (eval $ac_link) 2>conftest.er1
22083
23974
  ac_status=$?
 
23975
  grep -v '^ *+' conftest.er1 >conftest.err
 
23976
  rm -f conftest.er1
 
23977
  cat conftest.err >&5
22084
23978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22085
23979
  (exit $ac_status); } &&
22086
 
         { ac_try='test -s conftest$ac_exeext'
 
23980
         { ac_try='test -z "$ac_c_werror_flag"
 
23981
                         || test ! -s conftest.err'
 
23982
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
23983
  (eval $ac_try) 2>&5
 
23984
  ac_status=$?
 
23985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23986
  (exit $ac_status); }; } &&
 
23987
         { ac_try='test -s conftest$ac_exeext'
22087
23988
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22088
23989
  (eval $ac_try) 2>&5
22089
23990
  ac_status=$?
22096
23997
 
22097
23998
eval "$as_ac_var=no"
22098
23999
fi
22099
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
24000
rm -f conftest.err conftest.$ac_objext \
 
24001
      conftest$ac_exeext conftest.$ac_ext
22100
24002
fi
22101
24003
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22102
24004
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22171
24073
echo "${ECHO_T}no" >&6
22172
24074
fi
22173
24075
        if test "$MSGFMT" != "no"; then
 
24076
          glib_save_LIBS="$LIBS"
 
24077
          LIBS="$LIBS $INTLLIBS"
22174
24078
 
22175
24079
for ac_func in dcgettext
22176
24080
do
22181
24085
  echo $ECHO_N "(cached) $ECHO_C" >&6
22182
24086
else
22183
24087
  cat >conftest.$ac_ext <<_ACEOF
22184
 
#line $LINENO "configure"
22185
24088
/* confdefs.h.  */
22186
24089
_ACEOF
22187
24090
cat confdefs.h >>conftest.$ac_ext
22188
24091
cat >>conftest.$ac_ext <<_ACEOF
22189
24092
/* end confdefs.h.  */
 
24093
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
24094
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
24095
#define $ac_func innocuous_$ac_func
 
24096
 
22190
24097
/* System header to define __stub macros and hopefully few prototypes,
22191
24098
    which can conflict with char $ac_func (); below.
22192
24099
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22193
24100
    <limits.h> exists even on freestanding compilers.  */
 
24101
 
22194
24102
#ifdef __STDC__
22195
24103
# include <limits.h>
22196
24104
#else
22197
24105
# include <assert.h>
22198
24106
#endif
 
24107
 
 
24108
#undef $ac_func
 
24109
 
22199
24110
/* Override any gcc2 internal prototype to avoid an error.  */
22200
24111
#ifdef __cplusplus
22201
24112
extern "C"
22226
24137
_ACEOF
22227
24138
rm -f conftest.$ac_objext conftest$ac_exeext
22228
24139
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22229
 
  (eval $ac_link) 2>&5
 
24140
  (eval $ac_link) 2>conftest.er1
22230
24141
  ac_status=$?
 
24142
  grep -v '^ *+' conftest.er1 >conftest.err
 
24143
  rm -f conftest.er1
 
24144
  cat conftest.err >&5
22231
24145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232
24146
  (exit $ac_status); } &&
22233
 
         { ac_try='test -s conftest$ac_exeext'
 
24147
         { ac_try='test -z "$ac_c_werror_flag"
 
24148
                         || test ! -s conftest.err'
 
24149
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24150
  (eval $ac_try) 2>&5
 
24151
  ac_status=$?
 
24152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24153
  (exit $ac_status); }; } &&
 
24154
         { ac_try='test -s conftest$ac_exeext'
22234
24155
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22235
24156
  (eval $ac_try) 2>&5
22236
24157
  ac_status=$?
22243
24164
 
22244
24165
eval "$as_ac_var=no"
22245
24166
fi
22246
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
24167
rm -f conftest.err conftest.$ac_objext \
 
24168
      conftest$ac_exeext conftest.$ac_ext
22247
24169
fi
22248
24170
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22249
24171
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22332
24254
fi
22333
24255
 
22334
24256
          cat >conftest.$ac_ext <<_ACEOF
22335
 
#line $LINENO "configure"
22336
24257
/* confdefs.h.  */
22337
24258
_ACEOF
22338
24259
cat confdefs.h >>conftest.$ac_ext
22350
24271
_ACEOF
22351
24272
rm -f conftest.$ac_objext conftest$ac_exeext
22352
24273
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22353
 
  (eval $ac_link) 2>&5
 
24274
  (eval $ac_link) 2>conftest.er1
22354
24275
  ac_status=$?
 
24276
  grep -v '^ *+' conftest.er1 >conftest.err
 
24277
  rm -f conftest.er1
 
24278
  cat conftest.err >&5
22355
24279
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356
24280
  (exit $ac_status); } &&
22357
 
         { ac_try='test -s conftest$ac_exeext'
 
24281
         { ac_try='test -z "$ac_c_werror_flag"
 
24282
                         || test ! -s conftest.err'
 
24283
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24284
  (eval $ac_try) 2>&5
 
24285
  ac_status=$?
 
24286
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24287
  (exit $ac_status); }; } &&
 
24288
         { ac_try='test -s conftest$ac_exeext'
22358
24289
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359
24290
  (eval $ac_try) 2>&5
22360
24291
  ac_status=$?
22374
24305
  echo $ECHO_N "(cached) $ECHO_C" >&6
22375
24306
else
22376
24307
  cat >conftest.$ac_ext <<_ACEOF
22377
 
#line $LINENO "configure"
22378
24308
/* confdefs.h.  */
22379
24309
_ACEOF
22380
24310
cat confdefs.h >>conftest.$ac_ext
22381
24311
cat >>conftest.$ac_ext <<_ACEOF
22382
24312
/* end confdefs.h.  */
 
24313
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
24314
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
24315
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
24316
 
22383
24317
/* System header to define __stub macros and hopefully few prototypes,
22384
24318
    which can conflict with char bind_textdomain_codeset (); below.
22385
24319
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22386
24320
    <limits.h> exists even on freestanding compilers.  */
 
24321
 
22387
24322
#ifdef __STDC__
22388
24323
# include <limits.h>
22389
24324
#else
22390
24325
# include <assert.h>
22391
24326
#endif
 
24327
 
 
24328
#undef bind_textdomain_codeset
 
24329
 
22392
24330
/* Override any gcc2 internal prototype to avoid an error.  */
22393
24331
#ifdef __cplusplus
22394
24332
extern "C"
22419
24357
_ACEOF
22420
24358
rm -f conftest.$ac_objext conftest$ac_exeext
22421
24359
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22422
 
  (eval $ac_link) 2>&5
 
24360
  (eval $ac_link) 2>conftest.er1
22423
24361
  ac_status=$?
 
24362
  grep -v '^ *+' conftest.er1 >conftest.err
 
24363
  rm -f conftest.er1
 
24364
  cat conftest.err >&5
22424
24365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425
24366
  (exit $ac_status); } &&
22426
 
         { ac_try='test -s conftest$ac_exeext'
 
24367
         { ac_try='test -z "$ac_c_werror_flag"
 
24368
                         || test ! -s conftest.err'
 
24369
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24370
  (eval $ac_try) 2>&5
 
24371
  ac_status=$?
 
24372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24373
  (exit $ac_status); }; } &&
 
24374
         { ac_try='test -s conftest$ac_exeext'
22427
24375
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22428
24376
  (eval $ac_try) 2>&5
22429
24377
  ac_status=$?
22436
24384
 
22437
24385
ac_cv_func_bind_textdomain_codeset=no
22438
24386
fi
22439
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
24387
rm -f conftest.err conftest.$ac_objext \
 
24388
      conftest$ac_exeext conftest.$ac_ext
22440
24389
fi
22441
24390
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22442
24391
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
22455
24404
            ;;
22456
24405
            esac
22457
24406
fi
22458
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
24407
rm -f conftest.err conftest.$ac_objext \
 
24408
      conftest$ac_exeext conftest.$ac_ext
 
24409
          LIBS="$glib_save_LIBS"
22459
24410
          INSTOBJEXT=.mo
22460
24411
        else
22461
24412
          gt_cv_have_gettext=no
22575
24526
  echo $ECHO_N "(cached) $ECHO_C" >&6
22576
24527
else
22577
24528
  cat >conftest.$ac_ext <<_ACEOF
22578
 
#line $LINENO "configure"
22579
24529
/* confdefs.h.  */
22580
24530
_ACEOF
22581
24531
cat confdefs.h >>conftest.$ac_ext
22582
24532
cat >>conftest.$ac_ext <<_ACEOF
22583
24533
/* end confdefs.h.  */
 
24534
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
24535
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
24536
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
24537
 
22584
24538
/* System header to define __stub macros and hopefully few prototypes,
22585
24539
    which can conflict with char bind_textdomain_codeset (); below.
22586
24540
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22587
24541
    <limits.h> exists even on freestanding compilers.  */
 
24542
 
22588
24543
#ifdef __STDC__
22589
24544
# include <limits.h>
22590
24545
#else
22591
24546
# include <assert.h>
22592
24547
#endif
 
24548
 
 
24549
#undef bind_textdomain_codeset
 
24550
 
22593
24551
/* Override any gcc2 internal prototype to avoid an error.  */
22594
24552
#ifdef __cplusplus
22595
24553
extern "C"
22620
24578
_ACEOF
22621
24579
rm -f conftest.$ac_objext conftest$ac_exeext
22622
24580
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22623
 
  (eval $ac_link) 2>&5
 
24581
  (eval $ac_link) 2>conftest.er1
22624
24582
  ac_status=$?
 
24583
  grep -v '^ *+' conftest.er1 >conftest.err
 
24584
  rm -f conftest.er1
 
24585
  cat conftest.err >&5
22625
24586
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626
24587
  (exit $ac_status); } &&
22627
 
         { ac_try='test -s conftest$ac_exeext'
 
24588
         { ac_try='test -z "$ac_c_werror_flag"
 
24589
                         || test ! -s conftest.err'
 
24590
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
24591
  (eval $ac_try) 2>&5
 
24592
  ac_status=$?
 
24593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24594
  (exit $ac_status); }; } &&
 
24595
         { ac_try='test -s conftest$ac_exeext'
22628
24596
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22629
24597
  (eval $ac_try) 2>&5
22630
24598
  ac_status=$?
22637
24605
 
22638
24606
ac_cv_func_bind_textdomain_codeset=no
22639
24607
fi
22640
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
24608
rm -f conftest.err conftest.$ac_objext \
 
24609
      conftest$ac_exeext conftest.$ac_ext
22641
24610
fi
22642
24611
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22643
24612
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
22644
24613
 
22645
24614
 
22646
 
  echo "$as_me:$LINENO: checking for locales directory" >&5
 
24615
    echo "$as_me:$LINENO: checking for locales directory" >&5
22647
24616
echo $ECHO_N "checking for locales directory... $ECHO_C" >&6
22648
24617
 
22649
24618
# Check whether --with-locales-dir or --without-locales-dir was given.
22651
24620
  withval="$with_locales_dir"
22652
24621
  localedir=$withval
22653
24622
else
22654
 
  localedir=$datadir/locale
 
24623
 
 
24624
    if test x"$CATOBJEXT" = x".mo"; then
 
24625
      localedir=$libdir/locale
 
24626
    else
 
24627
      localedir=$datadir/locale
 
24628
    fi
 
24629
 
22655
24630
fi;
22656
24631
  echo "$as_me:$LINENO: result: $localedir" >&5
22657
24632
echo "${ECHO_T}$localedir" >&6
22658
24633
 
22659
24634
 
22660
 
 
22661
 
 
22662
 
 
22663
 
  succeeded=no
22664
 
 
22665
 
  if test -z "$PKG_CONFIG"; then
 
24635
    echo "$as_me:$LINENO: checking for additional xgettext flags" >&5
 
24636
echo $ECHO_N "checking for additional xgettext flags... $ECHO_C" >&6
 
24637
  if test x"$XGETTEXT_ARGS" = x""; then
 
24638
    XGETTEXT_ARGS="--keyword=Q_";
 
24639
  else
 
24640
    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_";
 
24641
  fi
 
24642
 
 
24643
  echo "$as_me:$LINENO: result: $XGETTEXT_ARGS" >&5
 
24644
echo "${ECHO_T}$XGETTEXT_ARGS" >&6
 
24645
 
 
24646
 
 
24647
 
 
24648
 
 
24649
 
 
24650
 
 
24651
  # minimum supported version of pkg-config
 
24652
  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
 
24653
 
 
24654
  # lookup pkg-config utility
 
24655
  if test x"$PKG_CONFIG" = x""; then
22666
24656
    # Extract the first word of "pkg-config", so it can be a program name with args.
22667
24657
set dummy pkg-config; ac_word=$2
22668
24658
echo "$as_me:$LINENO: checking for $ac_word" >&5
22703
24693
echo "${ECHO_T}no" >&6
22704
24694
fi
22705
24695
 
 
24696
 
 
24697
    if test x"$PKG_CONFIG" = x"no"; then
 
24698
      echo "*** The pkg-config utility could not be found on your system."
 
24699
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
 
24700
      echo "*** environment variable to the full path to pkg-config."
 
24701
      echo "*** You can download pkg-config from the freedesktop.org"
 
24702
      echo "*** software repository at"
 
24703
      echo "***"
 
24704
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
24705
      echo "***"
 
24706
      exit 1
 
24707
    fi
 
24708
 
 
24709
    # check pkg-config version
 
24710
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
24711
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
24712
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
 
24713
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
24714
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
24715
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
24716
    else
 
24717
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
24718
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
24719
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
24720
      echo "*** Your version of pkg-config is too old. You need atleast"
 
24721
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
 
24722
      echo "*** from the freedesktop.org software repository at"
 
24723
      echo "***"
 
24724
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
24725
      echo "***"
 
24726
      exit 1
 
24727
    fi
22706
24728
  fi
22707
24729
 
22708
 
  if test "$PKG_CONFIG" = "no" ; then
22709
 
     echo "*** The pkg-config script could not be found. Make sure it is"
22710
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
22711
 
     echo "*** to the full path to pkg-config."
22712
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22713
 
  else
22714
 
     PKG_CONFIG_MIN_VERSION=0.9.0
22715
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22716
 
        echo "$as_me:$LINENO: checking for libxfce4util-1.0 >= 4.0.0" >&5
22717
 
echo $ECHO_N "checking for libxfce4util-1.0 >= 4.0.0... $ECHO_C" >&6
22718
 
 
22719
 
        if $PKG_CONFIG --exists "libxfce4util-1.0 >= 4.0.0" ; then
22720
 
            echo "$as_me:$LINENO: result: yes" >&5
22721
 
echo "${ECHO_T}yes" >&6
22722
 
            succeeded=yes
22723
 
 
22724
 
            echo "$as_me:$LINENO: checking LIBXFCE4UTIL_CFLAGS" >&5
 
24730
 
 
24731
  echo "$as_me:$LINENO: checking for libxfce4util-1.0 >= 4.2.0" >&5
 
24732
echo $ECHO_N "checking for libxfce4util-1.0 >= 4.2.0... $ECHO_C" >&6
 
24733
  if $PKG_CONFIG "--atleast-version=4.2.0" "libxfce4util-1.0" >/dev/null 2>&1; then
 
24734
    LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
 
24735
    echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_VERSION" >&5
 
24736
echo "${ECHO_T}$LIBXFCE4UTIL_VERSION" >&6
 
24737
 
 
24738
    echo "$as_me:$LINENO: checking LIBXFCE4UTIL_CFLAGS" >&5
22725
24739
echo $ECHO_N "checking LIBXFCE4UTIL_CFLAGS... $ECHO_C" >&6
22726
 
            LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0 >= 4.0.0"`
22727
 
            echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_CFLAGS" >&5
 
24740
    LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"`
 
24741
    echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_CFLAGS" >&5
22728
24742
echo "${ECHO_T}$LIBXFCE4UTIL_CFLAGS" >&6
22729
24743
 
22730
 
            echo "$as_me:$LINENO: checking LIBXFCE4UTIL_LIBS" >&5
 
24744
    echo "$as_me:$LINENO: checking LIBXFCE4UTIL_LIBS" >&5
22731
24745
echo $ECHO_N "checking LIBXFCE4UTIL_LIBS... $ECHO_C" >&6
22732
 
            LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0 >= 4.0.0"`
22733
 
            echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_LIBS" >&5
 
24746
    LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"`
 
24747
    echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_LIBS" >&5
22734
24748
echo "${ECHO_T}$LIBXFCE4UTIL_LIBS" >&6
22735
 
        else
22736
 
            LIBXFCE4UTIL_CFLAGS=""
22737
 
            LIBXFCE4UTIL_LIBS=""
22738
 
            ## If we have a custom action on failure, don't print errors, but
22739
 
            ## do set a variable so people can do so.
22740
 
            LIBXFCE4UTIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxfce4util-1.0 >= 4.0.0"`
22741
 
            echo $LIBXFCE4UTIL_PKG_ERRORS
22742
 
        fi
22743
 
 
22744
 
 
22745
 
 
22746
 
     else
22747
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22748
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
22749
 
     fi
22750
 
  fi
22751
 
 
22752
 
  if test $succeeded = yes; then
22753
 
     :
 
24749
 
 
24750
    LIBXFCE4UTIL_REQUIRED_VERSION=4.2.0
 
24751
 
 
24752
 
 
24753
 
 
24754
 
 
24755
 
 
24756
 
 
24757
 
 
24758
  elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then
 
24759
    xdg_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
 
24760
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
24761
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
24762
 
 
24763
 
 
24764
      echo "*** The required package libxfce4util-1.0 was found on your system,"
 
24765
      echo "*** but the installed version ($xdt_cv_version) is too old."
 
24766
      echo "*** Please upgrade libxfce4util-1.0 to atleast version 4.2.0, or adjust"
 
24767
      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
 
24768
      echo "*** the new version of the package in a nonstandard prefix so"
 
24769
      echo "*** pkg-config is able to find it."
 
24770
      exit 1
 
24771
 
22754
24772
  else
22755
 
     { { echo "$as_me:$LINENO: error: Library requirements (libxfce4util-1.0 >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22756
 
echo "$as_me: error: Library requirements (libxfce4util-1.0 >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22757
 
   { (exit 1); exit 1; }; }
 
24773
    echo "$as_me:$LINENO: result: not found" >&5
 
24774
echo "${ECHO_T}not found" >&6
 
24775
 
 
24776
 
 
24777
      echo "*** The required package libxfce4util-1.0 was not found on your system."
 
24778
      echo "*** Please install libxfce4util-1.0 (atleast version 4.2.0) or adjust"
 
24779
      echo "*** the PKG_CONFIG_PATH environment variable if you"
 
24780
      echo "*** installed the package in a nonstandard prefix so that"
 
24781
      echo "*** pkg-config is able to find it."
 
24782
      exit 1
 
24783
 
22758
24784
  fi
22759
24785
 
22760
 
  LIBXFCE4UTIL_REQUIRED_VERSION=4.0.0
22761
 
 
22762
 
 
22763
 
 
22764
 
 
22765
 
  succeeded=no
22766
 
 
22767
 
  if test -z "$PKG_CONFIG"; then
 
24786
 
 
24787
 
 
24788
 
 
24789
 
 
24790
  # minimum supported version of pkg-config
 
24791
  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
 
24792
 
 
24793
  # lookup pkg-config utility
 
24794
  if test x"$PKG_CONFIG" = x""; then
22768
24795
    # Extract the first word of "pkg-config", so it can be a program name with args.
22769
24796
set dummy pkg-config; ac_word=$2
22770
24797
echo "$as_me:$LINENO: checking for $ac_word" >&5
22805
24832
echo "${ECHO_T}no" >&6
22806
24833
fi
22807
24834
 
 
24835
 
 
24836
    if test x"$PKG_CONFIG" = x"no"; then
 
24837
      echo "*** The pkg-config utility could not be found on your system."
 
24838
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
 
24839
      echo "*** environment variable to the full path to pkg-config."
 
24840
      echo "*** You can download pkg-config from the freedesktop.org"
 
24841
      echo "*** software repository at"
 
24842
      echo "***"
 
24843
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
24844
      echo "***"
 
24845
      exit 1
 
24846
    fi
 
24847
 
 
24848
    # check pkg-config version
 
24849
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
24850
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
24851
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
 
24852
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
24853
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
24854
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
24855
    else
 
24856
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
24857
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
24858
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
24859
      echo "*** Your version of pkg-config is too old. You need atleast"
 
24860
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
 
24861
      echo "*** from the freedesktop.org software repository at"
 
24862
      echo "***"
 
24863
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
24864
      echo "***"
 
24865
      exit 1
 
24866
    fi
22808
24867
  fi
22809
24868
 
22810
 
  if test "$PKG_CONFIG" = "no" ; then
22811
 
     echo "*** The pkg-config script could not be found. Make sure it is"
22812
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
22813
 
     echo "*** to the full path to pkg-config."
22814
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22815
 
  else
22816
 
     PKG_CONFIG_MIN_VERSION=0.9.0
22817
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22818
 
        echo "$as_me:$LINENO: checking for libxfce4mcs-client-1.0 >= 4.0.0" >&5
22819
 
echo $ECHO_N "checking for libxfce4mcs-client-1.0 >= 4.0.0... $ECHO_C" >&6
22820
 
 
22821
 
        if $PKG_CONFIG --exists "libxfce4mcs-client-1.0 >= 4.0.0" ; then
22822
 
            echo "$as_me:$LINENO: result: yes" >&5
22823
 
echo "${ECHO_T}yes" >&6
22824
 
            succeeded=yes
22825
 
 
22826
 
            echo "$as_me:$LINENO: checking LIBXFCE4MCS_CLIENT_CFLAGS" >&5
 
24869
 
 
24870
  echo "$as_me:$LINENO: checking for libxfce4mcs-client-1.0 >= 4.2.0" >&5
 
24871
echo $ECHO_N "checking for libxfce4mcs-client-1.0 >= 4.2.0... $ECHO_C" >&6
 
24872
  if $PKG_CONFIG "--atleast-version=4.2.0" "libxfce4mcs-client-1.0" >/dev/null 2>&1; then
 
24873
    LIBXFCE4MCS_CLIENT_VERSION=`$PKG_CONFIG --modversion "libxfce4mcs-client-1.0"`
 
24874
    echo "$as_me:$LINENO: result: $LIBXFCE4MCS_CLIENT_VERSION" >&5
 
24875
echo "${ECHO_T}$LIBXFCE4MCS_CLIENT_VERSION" >&6
 
24876
 
 
24877
    echo "$as_me:$LINENO: checking LIBXFCE4MCS_CLIENT_CFLAGS" >&5
22827
24878
echo $ECHO_N "checking LIBXFCE4MCS_CLIENT_CFLAGS... $ECHO_C" >&6
22828
 
            LIBXFCE4MCS_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "libxfce4mcs-client-1.0 >= 4.0.0"`
22829
 
            echo "$as_me:$LINENO: result: $LIBXFCE4MCS_CLIENT_CFLAGS" >&5
 
24879
    LIBXFCE4MCS_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "libxfce4mcs-client-1.0"`
 
24880
    echo "$as_me:$LINENO: result: $LIBXFCE4MCS_CLIENT_CFLAGS" >&5
22830
24881
echo "${ECHO_T}$LIBXFCE4MCS_CLIENT_CFLAGS" >&6
22831
24882
 
22832
 
            echo "$as_me:$LINENO: checking LIBXFCE4MCS_CLIENT_LIBS" >&5
 
24883
    echo "$as_me:$LINENO: checking LIBXFCE4MCS_CLIENT_LIBS" >&5
22833
24884
echo $ECHO_N "checking LIBXFCE4MCS_CLIENT_LIBS... $ECHO_C" >&6
22834
 
            LIBXFCE4MCS_CLIENT_LIBS=`$PKG_CONFIG --libs "libxfce4mcs-client-1.0 >= 4.0.0"`
22835
 
            echo "$as_me:$LINENO: result: $LIBXFCE4MCS_CLIENT_LIBS" >&5
 
24885
    LIBXFCE4MCS_CLIENT_LIBS=`$PKG_CONFIG --libs "libxfce4mcs-client-1.0"`
 
24886
    echo "$as_me:$LINENO: result: $LIBXFCE4MCS_CLIENT_LIBS" >&5
22836
24887
echo "${ECHO_T}$LIBXFCE4MCS_CLIENT_LIBS" >&6
22837
 
        else
22838
 
            LIBXFCE4MCS_CLIENT_CFLAGS=""
22839
 
            LIBXFCE4MCS_CLIENT_LIBS=""
22840
 
            ## If we have a custom action on failure, don't print errors, but
22841
 
            ## do set a variable so people can do so.
22842
 
            LIBXFCE4MCS_CLIENT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxfce4mcs-client-1.0 >= 4.0.0"`
22843
 
            echo $LIBXFCE4MCS_CLIENT_PKG_ERRORS
22844
 
        fi
22845
 
 
22846
 
 
22847
 
 
22848
 
     else
22849
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22850
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
22851
 
     fi
22852
 
  fi
22853
 
 
22854
 
  if test $succeeded = yes; then
22855
 
     :
 
24888
 
 
24889
    LIBXFCE4MCS_CLIENT_REQUIRED_VERSION=4.2.0
 
24890
 
 
24891
 
 
24892
 
 
24893
 
 
24894
 
 
24895
 
 
24896
 
 
24897
  elif $PKG_CONFIG --exists "libxfce4mcs-client-1.0" >/dev/null 2>&1; then
 
24898
    xdg_cv_version=`$PKG_CONFIG --modversion "libxfce4mcs-client-1.0"`
 
24899
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
24900
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
24901
 
 
24902
 
 
24903
      echo "*** The required package libxfce4mcs-client-1.0 was found on your system,"
 
24904
      echo "*** but the installed version ($xdt_cv_version) is too old."
 
24905
      echo "*** Please upgrade libxfce4mcs-client-1.0 to atleast version 4.2.0, or adjust"
 
24906
      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
 
24907
      echo "*** the new version of the package in a nonstandard prefix so"
 
24908
      echo "*** pkg-config is able to find it."
 
24909
      exit 1
 
24910
 
22856
24911
  else
22857
 
     { { echo "$as_me:$LINENO: error: Library requirements (libxfce4mcs-client-1.0 >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22858
 
echo "$as_me: error: Library requirements (libxfce4mcs-client-1.0 >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22859
 
   { (exit 1); exit 1; }; }
 
24912
    echo "$as_me:$LINENO: result: not found" >&5
 
24913
echo "${ECHO_T}not found" >&6
 
24914
 
 
24915
 
 
24916
      echo "*** The required package libxfce4mcs-client-1.0 was not found on your system."
 
24917
      echo "*** Please install libxfce4mcs-client-1.0 (atleast version 4.2.0) or adjust"
 
24918
      echo "*** the PKG_CONFIG_PATH environment variable if you"
 
24919
      echo "*** installed the package in a nonstandard prefix so that"
 
24920
      echo "*** pkg-config is able to find it."
 
24921
      exit 1
 
24922
 
22860
24923
  fi
22861
24924
 
22862
 
  LIBXFCE4MCS_CLIENT_REQUIRED_VERSION=4.0.0
22863
 
 
22864
 
 
22865
 
 
22866
 
 
22867
 
  succeeded=no
22868
 
 
22869
 
  if test -z "$PKG_CONFIG"; then
 
24925
 
 
24926
 
 
24927
 
 
24928
 
 
24929
  # minimum supported version of pkg-config
 
24930
  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
 
24931
 
 
24932
  # lookup pkg-config utility
 
24933
  if test x"$PKG_CONFIG" = x""; then
22870
24934
    # Extract the first word of "pkg-config", so it can be a program name with args.
22871
24935
set dummy pkg-config; ac_word=$2
22872
24936
echo "$as_me:$LINENO: checking for $ac_word" >&5
22907
24971
echo "${ECHO_T}no" >&6
22908
24972
fi
22909
24973
 
 
24974
 
 
24975
    if test x"$PKG_CONFIG" = x"no"; then
 
24976
      echo "*** The pkg-config utility could not be found on your system."
 
24977
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
 
24978
      echo "*** environment variable to the full path to pkg-config."
 
24979
      echo "*** You can download pkg-config from the freedesktop.org"
 
24980
      echo "*** software repository at"
 
24981
      echo "***"
 
24982
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
24983
      echo "***"
 
24984
      exit 1
 
24985
    fi
 
24986
 
 
24987
    # check pkg-config version
 
24988
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
24989
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
24990
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
 
24991
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
24992
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
24993
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
24994
    else
 
24995
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
24996
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
24997
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
24998
      echo "*** Your version of pkg-config is too old. You need atleast"
 
24999
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
 
25000
      echo "*** from the freedesktop.org software repository at"
 
25001
      echo "***"
 
25002
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
25003
      echo "***"
 
25004
      exit 1
 
25005
    fi
22910
25006
  fi
22911
25007
 
22912
 
  if test "$PKG_CONFIG" = "no" ; then
22913
 
     echo "*** The pkg-config script could not be found. Make sure it is"
22914
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
22915
 
     echo "*** to the full path to pkg-config."
22916
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22917
 
  else
22918
 
     PKG_CONFIG_MIN_VERSION=0.9.0
22919
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22920
 
        echo "$as_me:$LINENO: checking for libxfcegui4-1.0 >= 4.0.0" >&5
22921
 
echo $ECHO_N "checking for libxfcegui4-1.0 >= 4.0.0... $ECHO_C" >&6
22922
 
 
22923
 
        if $PKG_CONFIG --exists "libxfcegui4-1.0 >= 4.0.0" ; then
22924
 
            echo "$as_me:$LINENO: result: yes" >&5
22925
 
echo "${ECHO_T}yes" >&6
22926
 
            succeeded=yes
22927
 
 
22928
 
            echo "$as_me:$LINENO: checking LIBXFCEGUI4_CFLAGS" >&5
 
25008
 
 
25009
  echo "$as_me:$LINENO: checking for libxfcegui4-1.0 >= 4.2.0" >&5
 
25010
echo $ECHO_N "checking for libxfcegui4-1.0 >= 4.2.0... $ECHO_C" >&6
 
25011
  if $PKG_CONFIG "--atleast-version=4.2.0" "libxfcegui4-1.0" >/dev/null 2>&1; then
 
25012
    LIBXFCEGUI4_VERSION=`$PKG_CONFIG --modversion "libxfcegui4-1.0"`
 
25013
    echo "$as_me:$LINENO: result: $LIBXFCEGUI4_VERSION" >&5
 
25014
echo "${ECHO_T}$LIBXFCEGUI4_VERSION" >&6
 
25015
 
 
25016
    echo "$as_me:$LINENO: checking LIBXFCEGUI4_CFLAGS" >&5
22929
25017
echo $ECHO_N "checking LIBXFCEGUI4_CFLAGS... $ECHO_C" >&6
22930
 
            LIBXFCEGUI4_CFLAGS=`$PKG_CONFIG --cflags "libxfcegui4-1.0 >= 4.0.0"`
22931
 
            echo "$as_me:$LINENO: result: $LIBXFCEGUI4_CFLAGS" >&5
 
25018
    LIBXFCEGUI4_CFLAGS=`$PKG_CONFIG --cflags "libxfcegui4-1.0"`
 
25019
    echo "$as_me:$LINENO: result: $LIBXFCEGUI4_CFLAGS" >&5
22932
25020
echo "${ECHO_T}$LIBXFCEGUI4_CFLAGS" >&6
22933
25021
 
22934
 
            echo "$as_me:$LINENO: checking LIBXFCEGUI4_LIBS" >&5
 
25022
    echo "$as_me:$LINENO: checking LIBXFCEGUI4_LIBS" >&5
22935
25023
echo $ECHO_N "checking LIBXFCEGUI4_LIBS... $ECHO_C" >&6
22936
 
            LIBXFCEGUI4_LIBS=`$PKG_CONFIG --libs "libxfcegui4-1.0 >= 4.0.0"`
22937
 
            echo "$as_me:$LINENO: result: $LIBXFCEGUI4_LIBS" >&5
 
25024
    LIBXFCEGUI4_LIBS=`$PKG_CONFIG --libs "libxfcegui4-1.0"`
 
25025
    echo "$as_me:$LINENO: result: $LIBXFCEGUI4_LIBS" >&5
22938
25026
echo "${ECHO_T}$LIBXFCEGUI4_LIBS" >&6
22939
 
        else
22940
 
            LIBXFCEGUI4_CFLAGS=""
22941
 
            LIBXFCEGUI4_LIBS=""
22942
 
            ## If we have a custom action on failure, don't print errors, but
22943
 
            ## do set a variable so people can do so.
22944
 
            LIBXFCEGUI4_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxfcegui4-1.0 >= 4.0.0"`
22945
 
            echo $LIBXFCEGUI4_PKG_ERRORS
22946
 
        fi
22947
 
 
22948
 
 
22949
 
 
22950
 
     else
22951
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22952
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
22953
 
     fi
22954
 
  fi
22955
 
 
22956
 
  if test $succeeded = yes; then
22957
 
     :
 
25027
 
 
25028
    LIBXFCEGUI4_REQUIRED_VERSION=4.2.0
 
25029
 
 
25030
 
 
25031
 
 
25032
 
 
25033
 
 
25034
 
 
25035
 
 
25036
  elif $PKG_CONFIG --exists "libxfcegui4-1.0" >/dev/null 2>&1; then
 
25037
    xdg_cv_version=`$PKG_CONFIG --modversion "libxfcegui4-1.0"`
 
25038
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
25039
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
25040
 
 
25041
 
 
25042
      echo "*** The required package libxfcegui4-1.0 was found on your system,"
 
25043
      echo "*** but the installed version ($xdt_cv_version) is too old."
 
25044
      echo "*** Please upgrade libxfcegui4-1.0 to atleast version 4.2.0, or adjust"
 
25045
      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
 
25046
      echo "*** the new version of the package in a nonstandard prefix so"
 
25047
      echo "*** pkg-config is able to find it."
 
25048
      exit 1
 
25049
 
22958
25050
  else
22959
 
     { { echo "$as_me:$LINENO: error: Library requirements (libxfcegui4-1.0 >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22960
 
echo "$as_me: error: Library requirements (libxfcegui4-1.0 >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22961
 
   { (exit 1); exit 1; }; }
 
25051
    echo "$as_me:$LINENO: result: not found" >&5
 
25052
echo "${ECHO_T}not found" >&6
 
25053
 
 
25054
 
 
25055
      echo "*** The required package libxfcegui4-1.0 was not found on your system."
 
25056
      echo "*** Please install libxfcegui4-1.0 (atleast version 4.2.0) or adjust"
 
25057
      echo "*** the PKG_CONFIG_PATH environment variable if you"
 
25058
      echo "*** installed the package in a nonstandard prefix so that"
 
25059
      echo "*** pkg-config is able to find it."
 
25060
      exit 1
 
25061
 
22962
25062
  fi
22963
25063
 
22964
 
  LIBXFCEGUI4_REQUIRED_VERSION=4.0.0
22965
 
 
22966
 
 
22967
 
 
22968
 
 
22969
 
 
22970
 
 
22971
 
  succeeded=no
22972
 
 
22973
 
  if test -z "$PKG_CONFIG"; then
 
25064
 
 
25065
 
 
25066
 
 
25067
 
 
25068
 
 
25069
 
 
25070
  # minimum supported version of pkg-config
 
25071
  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
 
25072
 
 
25073
  # lookup pkg-config utility
 
25074
  if test x"$PKG_CONFIG" = x""; then
22974
25075
    # Extract the first word of "pkg-config", so it can be a program name with args.
22975
25076
set dummy pkg-config; ac_word=$2
22976
25077
echo "$as_me:$LINENO: checking for $ac_word" >&5
23011
25112
echo "${ECHO_T}no" >&6
23012
25113
fi
23013
25114
 
 
25115
 
 
25116
    if test x"$PKG_CONFIG" = x"no"; then
 
25117
      echo "*** The pkg-config utility could not be found on your system."
 
25118
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
 
25119
      echo "*** environment variable to the full path to pkg-config."
 
25120
      echo "*** You can download pkg-config from the freedesktop.org"
 
25121
      echo "*** software repository at"
 
25122
      echo "***"
 
25123
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
25124
      echo "***"
 
25125
      exit 1
 
25126
    fi
 
25127
 
 
25128
    # check pkg-config version
 
25129
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
25130
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
25131
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
 
25132
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
25133
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
25134
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
25135
    else
 
25136
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
25137
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
25138
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
25139
      echo "*** Your version of pkg-config is too old. You need atleast"
 
25140
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
 
25141
      echo "*** from the freedesktop.org software repository at"
 
25142
      echo "***"
 
25143
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
25144
      echo "***"
 
25145
      exit 1
 
25146
    fi
23014
25147
  fi
23015
25148
 
23016
 
  if test "$PKG_CONFIG" = "no" ; then
23017
 
     echo "*** The pkg-config script could not be found. Make sure it is"
23018
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
23019
 
     echo "*** to the full path to pkg-config."
23020
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23021
 
  else
23022
 
     PKG_CONFIG_MIN_VERSION=0.9.0
23023
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23024
 
        echo "$as_me:$LINENO: checking for xfce-mcs-manager >= 4.0.0" >&5
23025
 
echo $ECHO_N "checking for xfce-mcs-manager >= 4.0.0... $ECHO_C" >&6
23026
 
 
23027
 
        if $PKG_CONFIG --exists "xfce-mcs-manager >= 4.0.0" ; then
23028
 
            echo "$as_me:$LINENO: result: yes" >&5
23029
 
echo "${ECHO_T}yes" >&6
23030
 
            succeeded=yes
23031
 
 
23032
 
            echo "$as_me:$LINENO: checking XFCE_MCS_MANAGER_CFLAGS" >&5
 
25149
 
 
25150
  echo "$as_me:$LINENO: checking for xfce-mcs-manager >= 4.2.0" >&5
 
25151
echo $ECHO_N "checking for xfce-mcs-manager >= 4.2.0... $ECHO_C" >&6
 
25152
  if $PKG_CONFIG "--atleast-version=4.2.0" "xfce-mcs-manager" >/dev/null 2>&1; then
 
25153
    XFCE_MCS_MANAGER_VERSION=`$PKG_CONFIG --modversion "xfce-mcs-manager"`
 
25154
    echo "$as_me:$LINENO: result: $XFCE_MCS_MANAGER_VERSION" >&5
 
25155
echo "${ECHO_T}$XFCE_MCS_MANAGER_VERSION" >&6
 
25156
 
 
25157
    echo "$as_me:$LINENO: checking XFCE_MCS_MANAGER_CFLAGS" >&5
23033
25158
echo $ECHO_N "checking XFCE_MCS_MANAGER_CFLAGS... $ECHO_C" >&6
23034
 
            XFCE_MCS_MANAGER_CFLAGS=`$PKG_CONFIG --cflags "xfce-mcs-manager >= 4.0.0"`
23035
 
            echo "$as_me:$LINENO: result: $XFCE_MCS_MANAGER_CFLAGS" >&5
 
25159
    XFCE_MCS_MANAGER_CFLAGS=`$PKG_CONFIG --cflags "xfce-mcs-manager"`
 
25160
    echo "$as_me:$LINENO: result: $XFCE_MCS_MANAGER_CFLAGS" >&5
23036
25161
echo "${ECHO_T}$XFCE_MCS_MANAGER_CFLAGS" >&6
23037
25162
 
23038
 
            echo "$as_me:$LINENO: checking XFCE_MCS_MANAGER_LIBS" >&5
 
25163
    echo "$as_me:$LINENO: checking XFCE_MCS_MANAGER_LIBS" >&5
23039
25164
echo $ECHO_N "checking XFCE_MCS_MANAGER_LIBS... $ECHO_C" >&6
23040
 
            XFCE_MCS_MANAGER_LIBS=`$PKG_CONFIG --libs "xfce-mcs-manager >= 4.0.0"`
23041
 
            echo "$as_me:$LINENO: result: $XFCE_MCS_MANAGER_LIBS" >&5
 
25165
    XFCE_MCS_MANAGER_LIBS=`$PKG_CONFIG --libs "xfce-mcs-manager"`
 
25166
    echo "$as_me:$LINENO: result: $XFCE_MCS_MANAGER_LIBS" >&5
23042
25167
echo "${ECHO_T}$XFCE_MCS_MANAGER_LIBS" >&6
23043
 
        else
23044
 
            XFCE_MCS_MANAGER_CFLAGS=""
23045
 
            XFCE_MCS_MANAGER_LIBS=""
23046
 
            ## If we have a custom action on failure, don't print errors, but
23047
 
            ## do set a variable so people can do so.
23048
 
            XFCE_MCS_MANAGER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xfce-mcs-manager >= 4.0.0"`
23049
 
            echo $XFCE_MCS_MANAGER_PKG_ERRORS
23050
 
        fi
23051
 
 
23052
 
 
23053
 
 
23054
 
     else
23055
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23056
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
23057
 
     fi
23058
 
  fi
23059
 
 
23060
 
  if test $succeeded = yes; then
23061
 
     :
 
25168
 
 
25169
    XFCE_MCS_MANAGER_REQUIRED_VERSION=4.2.0
 
25170
 
 
25171
 
 
25172
 
 
25173
 
 
25174
 
 
25175
 
 
25176
 
 
25177
  elif $PKG_CONFIG --exists "xfce-mcs-manager" >/dev/null 2>&1; then
 
25178
    xdg_cv_version=`$PKG_CONFIG --modversion "xfce-mcs-manager"`
 
25179
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
25180
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
25181
 
 
25182
 
 
25183
      echo "*** The required package xfce-mcs-manager was found on your system,"
 
25184
      echo "*** but the installed version ($xdt_cv_version) is too old."
 
25185
      echo "*** Please upgrade xfce-mcs-manager to atleast version 4.2.0, or adjust"
 
25186
      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
 
25187
      echo "*** the new version of the package in a nonstandard prefix so"
 
25188
      echo "*** pkg-config is able to find it."
 
25189
      exit 1
 
25190
 
23062
25191
  else
23063
 
     { { echo "$as_me:$LINENO: error: Library requirements (xfce-mcs-manager >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
23064
 
echo "$as_me: error: Library requirements (xfce-mcs-manager >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
23065
 
   { (exit 1); exit 1; }; }
 
25192
    echo "$as_me:$LINENO: result: not found" >&5
 
25193
echo "${ECHO_T}not found" >&6
 
25194
 
 
25195
 
 
25196
      echo "*** The required package xfce-mcs-manager was not found on your system."
 
25197
      echo "*** Please install xfce-mcs-manager (atleast version 4.2.0) or adjust"
 
25198
      echo "*** the PKG_CONFIG_PATH environment variable if you"
 
25199
      echo "*** installed the package in a nonstandard prefix so that"
 
25200
      echo "*** pkg-config is able to find it."
 
25201
      exit 1
 
25202
 
23066
25203
  fi
23067
25204
 
23068
 
  XFCE_MCS_MANAGER_REQUIRED_VERSION=4.0.0
23069
 
 
23070
 
 
23071
25205
 
23072
25206
    echo "$as_me:$LINENO: checking where to install MCS plugins" >&5
23073
25207
echo $ECHO_N "checking where to install MCS plugins... $ECHO_C" >&6
23074
 
  XFCE_MCS_MANAGER_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce-mcs-manager`
 
25208
  XFCE_MCS_MANAGER_PLUGINSDIR=$libdir/xfce4/mcs-plugins
23075
25209
 
23076
25210
  echo "$as_me:$LINENO: result: $XFCE_MCS_MANAGER_PLUGINSDIR" >&5
23077
25211
echo "${ECHO_T}$XFCE_MCS_MANAGER_PLUGINSDIR" >&6
23078
25212
 
23079
25213
 
23080
25214
 
 
25215
 
 
25216
 
 
25217
 
 
25218
 
 
25219
  # Check whether --enable-gconf or --disable-gconf was given.
 
25220
if test "${enable_gconf+set}" = set; then
 
25221
  enableval="$enable_gconf"
 
25222
  xdt_cv_GCONF_check=$enableval
 
25223
else
 
25224
  xdt_cv_GCONF_check=no
 
25225
fi;
 
25226
 
 
25227
  if test x"$xdt_cv_GCONF_check" = x"yes"; then
 
25228
    if $PKG_CONFIG --exists "gconf-2.0 >= 2.4.0" >/dev/null 2>&1; then
 
25229
 
 
25230
 
 
25231
  # minimum supported version of pkg-config
 
25232
  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
 
25233
 
 
25234
  # lookup pkg-config utility
 
25235
  if test x"$PKG_CONFIG" = x""; then
 
25236
    # Extract the first word of "pkg-config", so it can be a program name with args.
 
25237
set dummy pkg-config; ac_word=$2
 
25238
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25239
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
25240
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
25241
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25242
else
 
25243
  case $PKG_CONFIG in
 
25244
  [\\/]* | ?:[\\/]*)
 
25245
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
25246
  ;;
 
25247
  *)
 
25248
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
25249
for as_dir in $PATH
 
25250
do
 
25251
  IFS=$as_save_IFS
 
25252
  test -z "$as_dir" && as_dir=.
 
25253
  for ac_exec_ext in '' $ac_executable_extensions; do
 
25254
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
25255
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
25256
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
25257
    break 2
 
25258
  fi
 
25259
done
 
25260
done
 
25261
 
 
25262
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 
25263
  ;;
 
25264
esac
 
25265
fi
 
25266
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
25267
 
 
25268
if test -n "$PKG_CONFIG"; then
 
25269
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
25270
echo "${ECHO_T}$PKG_CONFIG" >&6
 
25271
else
 
25272
  echo "$as_me:$LINENO: result: no" >&5
 
25273
echo "${ECHO_T}no" >&6
 
25274
fi
 
25275
 
 
25276
 
 
25277
    if test x"$PKG_CONFIG" = x"no"; then
 
25278
      echo "*** The pkg-config utility could not be found on your system."
 
25279
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
 
25280
      echo "*** environment variable to the full path to pkg-config."
 
25281
      echo "*** You can download pkg-config from the freedesktop.org"
 
25282
      echo "*** software repository at"
 
25283
      echo "***"
 
25284
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
25285
      echo "***"
 
25286
      exit 1
 
25287
    fi
 
25288
 
 
25289
    # check pkg-config version
 
25290
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
25291
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
25292
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
 
25293
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
25294
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
25295
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
25296
    else
 
25297
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
25298
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
25299
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
25300
      echo "*** Your version of pkg-config is too old. You need atleast"
 
25301
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
 
25302
      echo "*** from the freedesktop.org software repository at"
 
25303
      echo "***"
 
25304
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
25305
      echo "***"
 
25306
      exit 1
 
25307
    fi
 
25308
  fi
 
25309
 
 
25310
 
 
25311
  echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.4.0" >&5
 
25312
echo $ECHO_N "checking for gconf-2.0 >= 2.4.0... $ECHO_C" >&6
 
25313
  if $PKG_CONFIG "--atleast-version=2.4.0" "gconf-2.0" >/dev/null 2>&1; then
 
25314
    GCONF_VERSION=`$PKG_CONFIG --modversion "gconf-2.0"`
 
25315
    echo "$as_me:$LINENO: result: $GCONF_VERSION" >&5
 
25316
echo "${ECHO_T}$GCONF_VERSION" >&6
 
25317
 
 
25318
    echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
 
25319
echo $ECHO_N "checking GCONF_CFLAGS... $ECHO_C" >&6
 
25320
    GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0"`
 
25321
    echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
 
25322
echo "${ECHO_T}$GCONF_CFLAGS" >&6
 
25323
 
 
25324
    echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
 
25325
echo $ECHO_N "checking GCONF_LIBS... $ECHO_C" >&6
 
25326
    GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0"`
 
25327
    echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
 
25328
echo "${ECHO_T}$GCONF_LIBS" >&6
 
25329
 
 
25330
    GCONF_REQUIRED_VERSION=2.4.0
 
25331
 
 
25332
 
 
25333
 
 
25334
 
 
25335
 
 
25336
 
 
25337
 
 
25338
 
 
25339
cat >>confdefs.h <<\_ACEOF
 
25340
#define HAVE_GCONF 1
 
25341
_ACEOF
 
25342
 
 
25343
        GCONF_FOUND="yes"
 
25344
 
 
25345
  elif $PKG_CONFIG --exists "gconf-2.0" >/dev/null 2>&1; then
 
25346
    xdg_cv_version=`$PKG_CONFIG --modversion "gconf-2.0"`
 
25347
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
25348
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
25349
 
 
25350
 
 
25351
      echo "*** The required package gconf-2.0 was found on your system,"
 
25352
      echo "*** but the installed version ($xdt_cv_version) is too old."
 
25353
      echo "*** Please upgrade gconf-2.0 to atleast version 2.4.0, or adjust"
 
25354
      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
 
25355
      echo "*** the new version of the package in a nonstandard prefix so"
 
25356
      echo "*** pkg-config is able to find it."
 
25357
      exit 1
 
25358
 
 
25359
  else
 
25360
    echo "$as_me:$LINENO: result: not found" >&5
 
25361
echo "${ECHO_T}not found" >&6
 
25362
 
 
25363
 
 
25364
      echo "*** The required package gconf-2.0 was not found on your system."
 
25365
      echo "*** Please install gconf-2.0 (atleast version 2.4.0) or adjust"
 
25366
      echo "*** the PKG_CONFIG_PATH environment variable if you"
 
25367
      echo "*** installed the package in a nonstandard prefix so that"
 
25368
      echo "*** pkg-config is able to find it."
 
25369
      exit 1
 
25370
 
 
25371
  fi
 
25372
 
 
25373
    else
 
25374
      echo "$as_me:$LINENO: checking for optional package gconf-2.0 >= 2.4.0" >&5
 
25375
echo $ECHO_N "checking for optional package gconf-2.0 >= 2.4.0... $ECHO_C" >&6
 
25376
      echo "$as_me:$LINENO: result: not found" >&5
 
25377
echo "${ECHO_T}not found" >&6
 
25378
    fi
 
25379
  else
 
25380
    echo "$as_me:$LINENO: checking for optional package gconf-2.0" >&5
 
25381
echo $ECHO_N "checking for optional package gconf-2.0... $ECHO_C" >&6
 
25382
    echo "$as_me:$LINENO: result: disabled" >&5
 
25383
echo "${ECHO_T}disabled" >&6
 
25384
  fi
 
25385
 
 
25386
 
 
25387
 
 
25388
if test x"$GCONF_FOUND" = x"yes"; then
 
25389
  HAVE_GCONF_TRUE=
 
25390
  HAVE_GCONF_FALSE='#'
 
25391
else
 
25392
  HAVE_GCONF_TRUE='#'
 
25393
  HAVE_GCONF_FALSE=
 
25394
fi
 
25395
 
 
25396
 
 
25397
 
 
25398
 
 
25399
 
23081
25400
  # Check whether --enable-debug or --disable-debug was given.
23082
25401
if test "${enable_debug+set}" = set; then
23083
25402
  enableval="$enable_debug"
23094
25413
#define DEBUG 1
23095
25414
_ACEOF
23096
25415
 
 
25416
 
 
25417
    xdt_cv_additional_CFLAGS="-Wall"
 
25418
    xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -DG_DISABLE_DEPRECATED"
 
25419
    xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -DXFCE_DISABLE_DEPRECATED"
 
25420
 
23097
25421
    if test x"$enable_debug" = x"full"; then
23098
25422
 
23099
25423
cat >>confdefs.h <<\_ACEOF
23100
25424
#define DEBUG_TRACE 1
23101
25425
_ACEOF
23102
25426
 
23103
 
      CFLAGS="$CFLAGS -g3 -Wall -Werror -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"
 
25427
      xdt_cv_additional_CFLAGS="-g3 -Werror $xdt_cv_additional_CFLAGS"
23104
25428
      echo "$as_me:$LINENO: result: full" >&5
23105
25429
echo "${ECHO_T}full" >&6
23106
25430
    else
23107
 
      CFLAGS="$CFLAGS -g -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"
 
25431
      xdt_cv_additional_CFLAGS="-g $xdt_cv_additional_CFLAGS"
23108
25432
      echo "$as_me:$LINENO: result: yes" >&5
23109
25433
echo "${ECHO_T}yes" >&6
23110
25434
    fi
 
25435
 
 
25436
    CFLAGS="$CFLAGS $xdt_cv_additional_CFLAGS"
 
25437
    CXXFLAGS="$CXXFLAGS $xdt_cv_additional_CFLAGS"
23111
25438
  else
23112
25439
    echo "$as_me:$LINENO: result: no" >&5
23113
25440
echo "${ECHO_T}no" >&6
23114
25441
  fi
23115
25442
 
 
25443
 
 
25444
 
 
25445
 
23116
25446
  # Check whether --enable-profiling or --disable-profiling was given.
23117
25447
if test "${enable_profiling+set}" = set; then
23118
25448
  enableval="$enable_profiling"
23125
25455
echo $ECHO_N "checking whether to build with profiling support... $ECHO_C" >&6
23126
25456
  if test x"$enable_profiling" != x"no"; then
23127
25457
    CFLAGS="$CFLAGS -pg"
 
25458
    LDFLAGS="$LDFLAGS -pg"
 
25459
    echo "$as_me:$LINENO: result: yes" >&5
 
25460
echo "${ECHO_T}yes" >&6
 
25461
  else
 
25462
    echo "$as_me:$LINENO: result: no" >&5
 
25463
echo "${ECHO_T}no" >&6
 
25464
  fi
 
25465
 
 
25466
  # Check whether --enable-gcov or --disable-gcov was given.
 
25467
if test "${enable_gcov+set}" = set; then
 
25468
  enableval="$enable_gcov"
 
25469
 
 
25470
else
 
25471
  enable_gcov=no
 
25472
fi;
 
25473
 
 
25474
  echo "$as_me:$LINENO: checking whether to compile with coverage profiling instrumentation" >&5
 
25475
echo $ECHO_N "checking whether to compile with coverage profiling instrumentation... $ECHO_C" >&6
 
25476
  if test x"$enable_gcov" != x"no"; then
 
25477
    CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
23128
25478
    echo "$as_me:$LINENO: result: yes" >&5
23129
25479
echo "${ECHO_T}yes" >&6
23130
25480
  else
23140
25490
  enable_asserts=yes
23141
25491
fi;
23142
25492
 
23143
 
  echo "$as_me:$LINENO: checking whether to enable assert statements" >&5
23144
 
echo $ECHO_N "checking whether to enable assert statements... $ECHO_C" >&6
23145
 
  if test x"$enable_asserts" != x"yes"; then
23146
 
    CFLAGS="$CFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
23147
 
    echo "$as_me:$LINENO: result: no" >&5
23148
 
echo "${ECHO_T}no" >&6
23149
 
  else
23150
 
    echo "$as_me:$LINENO: result: yes" >&5
23151
 
echo "${ECHO_T}yes" >&6
23152
 
  fi
23153
 
 
23154
 
 
23155
 
                                                                                          ac_config_files="$ac_config_files Makefile defaults/Makefile defaults/splash/Makefile docs/Makefile settings/Makefile po/Makefile.in xfce4-session.spec xfce4-session/Makefile xfce4-shutdown/Makefile"
 
25493
  echo "$as_me:$LINENO: checking whether to disable assertions" >&5
 
25494
echo $ECHO_N "checking whether to disable assertions... $ECHO_C" >&6
 
25495
  if test x"$enable_asserts" = x"no"; then
 
25496
    echo "$as_me:$LINENO: result: yes" >&5
 
25497
echo "${ECHO_T}yes" >&6
 
25498
    CPPFLAGS="$CPPFLAGS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT"
 
25499
    CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
 
25500
  else
 
25501
    echo "$as_me:$LINENO: result: no" >&5
 
25502
echo "${ECHO_T}no" >&6
 
25503
  fi
 
25504
 
 
25505
 
 
25506
  # Check whether --enable-final or --disable-final was given.
 
25507
if test "${enable_final+set}" = set; then
 
25508
  enableval="$enable_final"
 
25509
 
 
25510
else
 
25511
  enable_final=yes
 
25512
fi;
 
25513
 
 
25514
  echo "$as_me:$LINENO: checking whether to build final version" >&5
 
25515
echo $ECHO_N "checking whether to build final version... $ECHO_C" >&6
 
25516
  if test x"$enable_final" = x"yes"; then
 
25517
    echo "$as_me:$LINENO: result: yes" >&5
 
25518
echo "${ECHO_T}yes" >&6
 
25519
    echo "$as_me:$LINENO: checking whether $LD accepts -O1" >&5
 
25520
echo $ECHO_N "checking whether $LD accepts -O1... $ECHO_C" >&6
 
25521
    case `$LD -O1 -v 2>&1 </dev/null` in
 
25522
    *GNU* | *'with BFD'*)
 
25523
      LDFLAGS="$LDFLAGS -Wl,-O1"
 
25524
      echo "$as_me:$LINENO: result: yes" >&5
 
25525
echo "${ECHO_T}yes" >&6
 
25526
        ;;
 
25527
    *)
 
25528
      echo "$as_me:$LINENO: result: no" >&5
 
25529
echo "${ECHO_T}no" >&6
 
25530
        ;;
 
25531
    esac
 
25532
  else
 
25533
    echo "$as_me:$LINENO: result: no" >&5
 
25534
echo "${ECHO_T}no" >&6
 
25535
  fi
 
25536
 
 
25537
 
 
25538
# Extract the first word of "iceauth", so it can be a program name with args.
 
25539
set dummy iceauth; ac_word=$2
 
25540
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25541
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
25542
if test "${ac_cv_path_ICEAUTH+set}" = set; then
 
25543
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25544
else
 
25545
  case $ICEAUTH in
 
25546
  [\\/]* | ?:[\\/]*)
 
25547
  ac_cv_path_ICEAUTH="$ICEAUTH" # Let the user override the test with a path.
 
25548
  ;;
 
25549
  *)
 
25550
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
25551
for as_dir in $PATH
 
25552
do
 
25553
  IFS=$as_save_IFS
 
25554
  test -z "$as_dir" && as_dir=.
 
25555
  for ac_exec_ext in '' $ac_executable_extensions; do
 
25556
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
25557
    ac_cv_path_ICEAUTH="$as_dir/$ac_word$ac_exec_ext"
 
25558
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
25559
    break 2
 
25560
  fi
 
25561
done
 
25562
done
 
25563
 
 
25564
  ;;
 
25565
esac
 
25566
fi
 
25567
ICEAUTH=$ac_cv_path_ICEAUTH
 
25568
 
 
25569
if test -n "$ICEAUTH"; then
 
25570
  echo "$as_me:$LINENO: result: $ICEAUTH" >&5
 
25571
echo "${ECHO_T}$ICEAUTH" >&6
 
25572
else
 
25573
  echo "$as_me:$LINENO: result: no" >&5
 
25574
echo "${ECHO_T}no" >&6
 
25575
fi
 
25576
 
 
25577
if test x"$ICEAUTH" != x""; then
 
25578
 
 
25579
cat >>confdefs.h <<_ACEOF
 
25580
#define ICEAUTH_CMD "$ICEAUTH"
 
25581
_ACEOF
 
25582
 
 
25583
else
 
25584
  { { echo "$as_me:$LINENO: error: iceauth missing, please check your X11 installation" >&5
 
25585
echo "$as_me: error: iceauth missing, please check your X11 installation" >&2;}
 
25586
   { (exit 1); exit 1; }; }
 
25587
fi
 
25588
 
 
25589
# Extract the first word of "rm", so it can be a program name with args.
 
25590
set dummy rm; ac_word=$2
 
25591
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25592
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
25593
if test "${ac_cv_path_RM+set}" = set; then
 
25594
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25595
else
 
25596
  case $RM in
 
25597
  [\\/]* | ?:[\\/]*)
 
25598
  ac_cv_path_RM="$RM" # Let the user override the test with a path.
 
25599
  ;;
 
25600
  *)
 
25601
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
25602
for as_dir in $PATH
 
25603
do
 
25604
  IFS=$as_save_IFS
 
25605
  test -z "$as_dir" && as_dir=.
 
25606
  for ac_exec_ext in '' $ac_executable_extensions; do
 
25607
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
25608
    ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
 
25609
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
25610
    break 2
 
25611
  fi
 
25612
done
 
25613
done
 
25614
 
 
25615
  ;;
 
25616
esac
 
25617
fi
 
25618
RM=$ac_cv_path_RM
 
25619
 
 
25620
if test -n "$RM"; then
 
25621
  echo "$as_me:$LINENO: result: $RM" >&5
 
25622
echo "${ECHO_T}$RM" >&6
 
25623
else
 
25624
  echo "$as_me:$LINENO: result: no" >&5
 
25625
echo "${ECHO_T}no" >&6
 
25626
fi
 
25627
 
 
25628
if test x"$RM" != x""; then
 
25629
 
 
25630
cat >>confdefs.h <<_ACEOF
 
25631
#define RM_CMD "$RM"
 
25632
_ACEOF
 
25633
 
 
25634
fi
 
25635
 
 
25636
# Check whether --enable-legacy-sm or --disable-legacy-sm was given.
 
25637
if test "${enable_legacy_sm+set}" = set; then
 
25638
  enableval="$enable_legacy_sm"
 
25639
 
 
25640
else
 
25641
  enable_legacy_sm=yes
 
25642
fi;
 
25643
echo "$as_me:$LINENO: checking whether to enable X11R5 session management" >&5
 
25644
echo $ECHO_N "checking whether to enable X11R5 session management... $ECHO_C" >&6
 
25645
if test x"$enable_legacy_sm" != x"yes"; then
 
25646
  echo "$as_me:$LINENO: result: no" >&5
 
25647
echo "${ECHO_T}no" >&6
 
25648
else
 
25649
 
 
25650
cat >>confdefs.h <<\_ACEOF
 
25651
#define LEGACY_SESSION_MANAGEMENT 1
 
25652
_ACEOF
 
25653
 
 
25654
  echo "$as_me:$LINENO: result: yes" >&5
 
25655
echo "${ECHO_T}yes" >&6
 
25656
fi
 
25657
 
 
25658
# Check whether --enable-session-screenshots or --disable-session-screenshots was given.
 
25659
if test "${enable_session_screenshots+set}" = set; then
 
25660
  enableval="$enable_session_screenshots"
 
25661
 
 
25662
else
 
25663
  enable_session_screenshots=no
 
25664
fi;
 
25665
echo "$as_me:$LINENO: checking whether to create screenshots of sessions on logout" >&5
 
25666
echo $ECHO_N "checking whether to create screenshots of sessions on logout... $ECHO_C" >&6
 
25667
if test x"$enable_session_screenshots" != x"yes"; then
 
25668
  echo "$as_me:$LINENO: result: no" >&5
 
25669
echo "${ECHO_T}no" >&6
 
25670
else
 
25671
 
 
25672
cat >>confdefs.h <<\_ACEOF
 
25673
#define SESSION_SCREENSHOTS 1
 
25674
_ACEOF
 
25675
 
 
25676
  echo "$as_me:$LINENO: result: yes" >&5
 
25677
echo "${ECHO_T}yes" >&6
 
25678
fi
 
25679
 
 
25680
 
 
25681
# Check whether --with-shutdown-style or --without-shutdown-style was given.
 
25682
if test "${with_shutdown_style+set}" = set; then
 
25683
  withval="$with_shutdown_style"
 
25684
  with_shutdown=$withval
 
25685
else
 
25686
  with_shutdown=auto
 
25687
fi;
 
25688
echo "$as_me:$LINENO: checking what shutdown style should be used" >&5
 
25689
echo $ECHO_N "checking what shutdown style should be used... $ECHO_C" >&6
 
25690
if test x"$with_shutdown" != x"sudo" -a x"$with_shutdown" != x"none"; then
 
25691
  with_shutdown="sudo"
 
25692
fi
 
25693
 
 
25694
cat >>confdefs.h <<_ACEOF
 
25695
#define XFSM_SHUTDOWN_HELPER_IMPL_C <xfce4-session/xfsm-shutdown-helper-$with_shutdown.c>
 
25696
_ACEOF
 
25697
 
 
25698
echo "$as_me:$LINENO: result: $with_shutdown" >&5
 
25699
echo "${ECHO_T}$with_shutdown" >&6
 
25700
 
 
25701
 
 
25702
 
 
25703
                                                                                                                                                                                                                                                                                                                      ac_config_files="$ac_config_files Makefile xfce4-session.spec doc/Makefile doc/C/Makefile doc/C/images/Makefile doc/fr/Makefile doc/fr/images/Makefile doc/he/Makefile doc/he/images/Makefile engines/Makefile engines/balou/Makefile engines/balou/scripts/Makefile engines/balou/themes/Makefile engines/balou/themes/Default/Makefile engines/mice/Makefile engines/simple/Makefile icons/Makefile icons/48x48/Makefile icons/64x64/Makefile icons/72x72/Makefile icons/128x128/Makefile icons/scalable/Makefile libxfsm/Makefile libxfsm/xfce4-session-1.0.pc po/Makefile.in settings/Makefile settings/session/Makefile settings/splash/Makefile xfce4-session/Makefile xfce4-session-logout/Makefile xfsm-shutdown-helper/Makefile"
23156
25704
cat >confcache <<\_ACEOF
23157
25705
# This file is a shell script that caches the results of configure
23158
25706
# tests run on this system so they can be shared between configure
23181
25729
      # `set' does not quote correctly, so add quotes (double-quote
23182
25730
      # substitution turns \\\\ into \\, and sed turns \\ into \).
23183
25731
      sed -n \
23184
 
        "s/'/'\\\\''/g;
23185
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
25732
        "s/'/'\\\\''/g;
 
25733
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23186
25734
      ;;
23187
25735
    *)
23188
25736
      # `set' quotes correctly as required by POSIX, so do not add quotes.
23189
25737
      sed -n \
23190
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
25738
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23191
25739
      ;;
23192
25740
    esac;
23193
25741
} |
23217
25765
# trailing colons and then remove the whole line if VPATH becomes empty
23218
25766
# (actually we leave an empty line to preserve line numbers).
23219
25767
if test "x$srcdir" = x.; then
23220
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
25768
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
23221
25769
s/:*\$(srcdir):*/:/;
23222
25770
s/:*\${srcdir}:*/:/;
23223
25771
s/:*@srcdir@:*/:/;
23224
 
s/^\([^=]*=[    ]*\):*/\1/;
 
25772
s/^\([^=]*=[     ]*\):*/\1/;
23225
25773
s/:*$//;
23226
 
s/^[^=]*=[      ]*$//;
 
25774
s/^[^=]*=[       ]*$//;
23227
25775
}'
23228
25776
fi
23229
25777
 
23234
25782
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23235
25783
  # 1. Remove the extension, and $U if already installed.
23236
25784
  ac_i=`echo "$ac_i" |
23237
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
25785
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23238
25786
  # 2. Add them.
23239
25787
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23240
25788
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23265
25813
Usually this means the macro was only invoked conditionally." >&2;}
23266
25814
   { (exit 1); exit 1; }; }
23267
25815
fi
 
25816
if test -z "${HAVE_OS_CYGWIN_TRUE}" && test -z "${HAVE_OS_CYGWIN_FALSE}"; then
 
25817
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_OS_CYGWIN\" was never defined.
 
25818
Usually this means the macro was only invoked conditionally." >&5
 
25819
echo "$as_me: error: conditional \"HAVE_OS_CYGWIN\" was never defined.
 
25820
Usually this means the macro was only invoked conditionally." >&2;}
 
25821
   { (exit 1); exit 1; }; }
 
25822
fi
23268
25823
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23269
25824
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23270
25825
Usually this means the macro was only invoked conditionally." >&5
23279
25834
Usually this means the macro was only invoked conditionally." >&2;}
23280
25835
   { (exit 1); exit 1; }; }
23281
25836
fi
 
25837
if test -z "${HAVE_GCONF_TRUE}" && test -z "${HAVE_GCONF_FALSE}"; then
 
25838
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GCONF\" was never defined.
 
25839
Usually this means the macro was only invoked conditionally." >&5
 
25840
echo "$as_me: error: conditional \"HAVE_GCONF\" was never defined.
 
25841
Usually this means the macro was only invoked conditionally." >&2;}
 
25842
   { (exit 1); exit 1; }; }
 
25843
fi
23282
25844
 
23283
25845
: ${CONFIG_STATUS=./config.status}
23284
25846
ac_clean_files_save=$ac_clean_files
23313
25875
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23314
25876
  set -o posix
23315
25877
fi
 
25878
DUALCASE=1; export DUALCASE # for MKS sh
23316
25879
 
23317
25880
# Support unset when possible.
23318
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
25881
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23319
25882
  as_unset=unset
23320
25883
else
23321
25884
  as_unset=false
23334
25897
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23335
25898
  LC_TELEPHONE LC_TIME
23336
25899
do
23337
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
25900
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23338
25901
    eval $as_var=C; export $as_var
23339
25902
  else
23340
25903
    $as_unset $as_var
23513
26076
if mkdir -p . 2>/dev/null; then
23514
26077
  as_mkdir_p=:
23515
26078
else
 
26079
  test -d ./-p && rmdir ./-p
23516
26080
  as_mkdir_p=false
23517
26081
fi
23518
26082
 
23519
26083
as_executable_p="test -f"
23520
26084
 
23521
26085
# Sed expression to map a string onto a valid CPP name.
23522
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
26086
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23523
26087
 
23524
26088
# Sed expression to map a string onto a valid variable name.
23525
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
26089
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23526
26090
 
23527
26091
 
23528
26092
# IFS
23548
26112
} >&5
23549
26113
cat >&5 <<_CSEOF
23550
26114
 
23551
 
This file was extended by $as_me, which was
23552
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
26115
This file was extended by xfce4-session $as_me 4.2.3, which was
 
26116
generated by GNU Autoconf 2.59.  Invocation command line was
23553
26117
 
23554
26118
  CONFIG_FILES    = $CONFIG_FILES
23555
26119
  CONFIG_HEADERS  = $CONFIG_HEADERS
23593
26157
  -d, --debug      don't remove temporary files
23594
26158
      --recheck    update $as_me by reconfiguring in the same conditions
23595
26159
  --file=FILE[:TEMPLATE]
23596
 
                   instantiate the configuration file FILE
 
26160
                   instantiate the configuration file FILE
23597
26161
  --header=FILE[:TEMPLATE]
23598
 
                   instantiate the configuration header FILE
 
26162
                   instantiate the configuration header FILE
23599
26163
 
23600
26164
Configuration files:
23601
26165
$config_files
23611
26175
 
23612
26176
cat >>$CONFIG_STATUS <<_ACEOF
23613
26177
ac_cs_version="\\
23614
 
config.status
23615
 
configured by $0, generated by GNU Autoconf 2.57,
 
26178
xfce4-session config.status 4.2.3
 
26179
configured by $0, generated by GNU Autoconf 2.59,
23616
26180
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23617
26181
 
23618
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23619
 
Free Software Foundation, Inc.
 
26182
Copyright (C) 2003 Free Software Foundation, Inc.
23620
26183
This config.status script is free software; the Free Software Foundation
23621
26184
gives unlimited permission to copy, distribute and modify it."
23622
26185
srcdir=$srcdir
23724
26287
  case "$ac_config_target" in
23725
26288
  # Handling of arguments.
23726
26289
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23727
 
  "defaults/Makefile" ) CONFIG_FILES="$CONFIG_FILES defaults/Makefile" ;;
23728
 
  "defaults/splash/Makefile" ) CONFIG_FILES="$CONFIG_FILES defaults/splash/Makefile" ;;
23729
 
  "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
 
26290
  "xfce4-session.spec" ) CONFIG_FILES="$CONFIG_FILES xfce4-session.spec" ;;
 
26291
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
26292
  "doc/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/C/Makefile" ;;
 
26293
  "doc/C/images/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/C/images/Makefile" ;;
 
26294
  "doc/fr/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/fr/Makefile" ;;
 
26295
  "doc/fr/images/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/fr/images/Makefile" ;;
 
26296
  "doc/he/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/he/Makefile" ;;
 
26297
  "doc/he/images/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/he/images/Makefile" ;;
 
26298
  "engines/Makefile" ) CONFIG_FILES="$CONFIG_FILES engines/Makefile" ;;
 
26299
  "engines/balou/Makefile" ) CONFIG_FILES="$CONFIG_FILES engines/balou/Makefile" ;;
 
26300
  "engines/balou/scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES engines/balou/scripts/Makefile" ;;
 
26301
  "engines/balou/themes/Makefile" ) CONFIG_FILES="$CONFIG_FILES engines/balou/themes/Makefile" ;;
 
26302
  "engines/balou/themes/Default/Makefile" ) CONFIG_FILES="$CONFIG_FILES engines/balou/themes/Default/Makefile" ;;
 
26303
  "engines/mice/Makefile" ) CONFIG_FILES="$CONFIG_FILES engines/mice/Makefile" ;;
 
26304
  "engines/simple/Makefile" ) CONFIG_FILES="$CONFIG_FILES engines/simple/Makefile" ;;
 
26305
  "icons/Makefile" ) CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
 
26306
  "icons/48x48/Makefile" ) CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;;
 
26307
  "icons/64x64/Makefile" ) CONFIG_FILES="$CONFIG_FILES icons/64x64/Makefile" ;;
 
26308
  "icons/72x72/Makefile" ) CONFIG_FILES="$CONFIG_FILES icons/72x72/Makefile" ;;
 
26309
  "icons/128x128/Makefile" ) CONFIG_FILES="$CONFIG_FILES icons/128x128/Makefile" ;;
 
26310
  "icons/scalable/Makefile" ) CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;;
 
26311
  "libxfsm/Makefile" ) CONFIG_FILES="$CONFIG_FILES libxfsm/Makefile" ;;
 
26312
  "libxfsm/xfce4-session-1.0.pc" ) CONFIG_FILES="$CONFIG_FILES libxfsm/xfce4-session-1.0.pc" ;;
 
26313
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
23730
26314
  "settings/Makefile" ) CONFIG_FILES="$CONFIG_FILES settings/Makefile" ;;
23731
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
23732
 
  "xfce4-session.spec" ) CONFIG_FILES="$CONFIG_FILES xfce4-session.spec" ;;
 
26315
  "settings/session/Makefile" ) CONFIG_FILES="$CONFIG_FILES settings/session/Makefile" ;;
 
26316
  "settings/splash/Makefile" ) CONFIG_FILES="$CONFIG_FILES settings/splash/Makefile" ;;
23733
26317
  "xfce4-session/Makefile" ) CONFIG_FILES="$CONFIG_FILES xfce4-session/Makefile" ;;
23734
 
  "xfce4-shutdown/Makefile" ) CONFIG_FILES="$CONFIG_FILES xfce4-shutdown/Makefile" ;;
 
26318
  "xfce4-session-logout/Makefile" ) CONFIG_FILES="$CONFIG_FILES xfce4-session-logout/Makefile" ;;
 
26319
  "xfsm-shutdown-helper/Makefile" ) CONFIG_FILES="$CONFIG_FILES xfsm-shutdown-helper/Makefile" ;;
23735
26320
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23736
26321
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
23737
26322
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23831
26416
s,@AUTOMAKE@,$AUTOMAKE,;t t
23832
26417
s,@AUTOHEADER@,$AUTOHEADER,;t t
23833
26418
s,@MAKEINFO@,$MAKEINFO,;t t
23834
 
s,@AMTAR@,$AMTAR,;t t
23835
26419
s,@install_sh@,$install_sh,;t t
23836
26420
s,@STRIP@,$STRIP,;t t
23837
26421
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23838
26422
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
26423
s,@mkdir_p@,$mkdir_p,;t t
23839
26424
s,@AWK@,$AWK,;t t
23840
26425
s,@SET_MAKE@,$SET_MAKE,;t t
23841
26426
s,@am__leading_dot@,$am__leading_dot,;t t
 
26427
s,@AMTAR@,$AMTAR,;t t
 
26428
s,@am__tar@,$am__tar,;t t
 
26429
s,@am__untar@,$am__untar,;t t
23842
26430
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23843
26431
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23844
26432
s,@MAINT@,$MAINT,;t t
23860
26448
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23861
26449
s,@CPP@,$CPP,;t t
23862
26450
s,@EGREP@,$EGREP,;t t
 
26451
s,@HAVE_OS_CYGWIN_TRUE@,$HAVE_OS_CYGWIN_TRUE,;t t
 
26452
s,@HAVE_OS_CYGWIN_FALSE@,$HAVE_OS_CYGWIN_FALSE,;t t
23863
26453
s,@build@,$build,;t t
23864
26454
s,@build_cpu@,$build_cpu,;t t
23865
26455
s,@build_vendor@,$build_vendor,;t t
23912
26502
s,@POSUB@,$POSUB,;t t
23913
26503
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
23914
26504
s,@localedir@,$localedir,;t t
 
26505
s,@XGETTEXT_ARGS@,$XGETTEXT_ARGS,;t t
23915
26506
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
 
26507
s,@LIBXFCE4UTIL_VERSION@,$LIBXFCE4UTIL_VERSION,;t t
23916
26508
s,@LIBXFCE4UTIL_CFLAGS@,$LIBXFCE4UTIL_CFLAGS,;t t
23917
26509
s,@LIBXFCE4UTIL_LIBS@,$LIBXFCE4UTIL_LIBS,;t t
23918
26510
s,@LIBXFCE4UTIL_REQUIRED_VERSION@,$LIBXFCE4UTIL_REQUIRED_VERSION,;t t
 
26511
s,@LIBXFCE4MCS_CLIENT_VERSION@,$LIBXFCE4MCS_CLIENT_VERSION,;t t
23919
26512
s,@LIBXFCE4MCS_CLIENT_CFLAGS@,$LIBXFCE4MCS_CLIENT_CFLAGS,;t t
23920
26513
s,@LIBXFCE4MCS_CLIENT_LIBS@,$LIBXFCE4MCS_CLIENT_LIBS,;t t
23921
26514
s,@LIBXFCE4MCS_CLIENT_REQUIRED_VERSION@,$LIBXFCE4MCS_CLIENT_REQUIRED_VERSION,;t t
 
26515
s,@LIBXFCEGUI4_VERSION@,$LIBXFCEGUI4_VERSION,;t t
23922
26516
s,@LIBXFCEGUI4_CFLAGS@,$LIBXFCEGUI4_CFLAGS,;t t
23923
26517
s,@LIBXFCEGUI4_LIBS@,$LIBXFCEGUI4_LIBS,;t t
23924
26518
s,@LIBXFCEGUI4_REQUIRED_VERSION@,$LIBXFCEGUI4_REQUIRED_VERSION,;t t
 
26519
s,@XFCE_MCS_MANAGER_VERSION@,$XFCE_MCS_MANAGER_VERSION,;t t
23925
26520
s,@XFCE_MCS_MANAGER_CFLAGS@,$XFCE_MCS_MANAGER_CFLAGS,;t t
23926
26521
s,@XFCE_MCS_MANAGER_LIBS@,$XFCE_MCS_MANAGER_LIBS,;t t
23927
26522
s,@XFCE_MCS_MANAGER_REQUIRED_VERSION@,$XFCE_MCS_MANAGER_REQUIRED_VERSION,;t t
23928
26523
s,@XFCE_MCS_MANAGER_PLUGINSDIR@,$XFCE_MCS_MANAGER_PLUGINSDIR,;t t
 
26524
s,@GCONF_VERSION@,$GCONF_VERSION,;t t
 
26525
s,@GCONF_CFLAGS@,$GCONF_CFLAGS,;t t
 
26526
s,@GCONF_LIBS@,$GCONF_LIBS,;t t
 
26527
s,@GCONF_REQUIRED_VERSION@,$GCONF_REQUIRED_VERSION,;t t
 
26528
s,@HAVE_GCONF_TRUE@,$HAVE_GCONF_TRUE,;t t
 
26529
s,@HAVE_GCONF_FALSE@,$HAVE_GCONF_FALSE,;t t
 
26530
s,@ICEAUTH@,$ICEAUTH,;t t
 
26531
s,@RM@,$RM,;t t
23929
26532
s,@LIBOBJS@,$LIBOBJS,;t t
23930
26533
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23931
26534
CEOF
23957
26560
      (echo ':t
23958
26561
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23959
26562
      if test -z "$ac_sed_cmds"; then
23960
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
26563
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23961
26564
      else
23962
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
26565
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23963
26566
      fi
23964
26567
      ac_sed_frag=`expr $ac_sed_frag + 1`
23965
26568
      ac_beg=$ac_end
23977
26580
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23978
26581
  case $ac_file in
23979
26582
  - | *:- | *:-:* ) # input from stdin
23980
 
        cat >$tmp/stdin
23981
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23982
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
26583
        cat >$tmp/stdin
 
26584
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
26585
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23983
26586
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23984
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
26587
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23985
26588
  * )   ac_file_in=$ac_file.in ;;
23986
26589
  esac
23987
26590
 
23988
26591
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23989
26592
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23990
26593
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23991
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
23992
 
         X"$ac_file" : 'X\(//\)$' \| \
23993
 
         X"$ac_file" : 'X\(/\)' \| \
23994
 
         .     : '\(.\)' 2>/dev/null ||
 
26594
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
26595
         X"$ac_file" : 'X\(//\)$' \| \
 
26596
         X"$ac_file" : 'X\(/\)' \| \
 
26597
         .     : '\(.\)' 2>/dev/null ||
23995
26598
echo X"$ac_file" |
23996
26599
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23997
26600
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24007
26610
      as_dirs="$as_dir $as_dirs"
24008
26611
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
24009
26612
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24010
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24011
 
         X"$as_dir" : 'X\(//\)$' \| \
24012
 
         X"$as_dir" : 'X\(/\)' \| \
24013
 
         .     : '\(.\)' 2>/dev/null ||
 
26613
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
26614
         X"$as_dir" : 'X\(//\)$' \| \
 
26615
         X"$as_dir" : 'X\(/\)' \| \
 
26616
         .     : '\(.\)' 2>/dev/null ||
24014
26617
echo X"$as_dir" |
24015
26618
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24016
26619
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24048
26651
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24049
26652
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
24050
26653
esac
24051
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24052
 
# absolute.
24053
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24054
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24055
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24056
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
26654
 
 
26655
# Do not use `cd foo && pwd` to compute absolute paths, because
 
26656
# the directories may not exist.
 
26657
case `pwd` in
 
26658
.) ac_abs_builddir="$ac_dir";;
 
26659
*)
 
26660
  case "$ac_dir" in
 
26661
  .) ac_abs_builddir=`pwd`;;
 
26662
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
26663
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
26664
  esac;;
 
26665
esac
 
26666
case $ac_abs_builddir in
 
26667
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
26668
*)
 
26669
  case ${ac_top_builddir}. in
 
26670
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
26671
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
26672
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
26673
  esac;;
 
26674
esac
 
26675
case $ac_abs_builddir in
 
26676
.) ac_abs_srcdir=$ac_srcdir;;
 
26677
*)
 
26678
  case $ac_srcdir in
 
26679
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
26680
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
26681
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
26682
  esac;;
 
26683
esac
 
26684
case $ac_abs_builddir in
 
26685
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
26686
*)
 
26687
  case $ac_top_srcdir in
 
26688
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
26689
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
26690
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
26691
  esac;;
 
26692
esac
24057
26693
 
24058
26694
 
24059
26695
  case $INSTALL in
24075
26711
    configure_input="$ac_file.  "
24076
26712
  fi
24077
26713
  configure_input=$configure_input"Generated from `echo $ac_file_in |
24078
 
                                     sed 's,.*/,,'` by configure."
 
26714
                                     sed 's,.*/,,'` by configure."
24079
26715
 
24080
26716
  # First look for the input files in the build tree, otherwise in the
24081
26717
  # src tree.
24084
26720
      case $f in
24085
26721
      -) echo $tmp/stdin ;;
24086
26722
      [\\/$]*)
24087
 
         # Absolute (can't be DOS-style, as IFS=:)
24088
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
26723
         # Absolute (can't be DOS-style, as IFS=:)
 
26724
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24089
26725
echo "$as_me: error: cannot find input file: $f" >&2;}
24090
26726
   { (exit 1); exit 1; }; }
24091
 
         echo $f;;
 
26727
         echo "$f";;
24092
26728
      *) # Relative
24093
 
         if test -f "$f"; then
24094
 
           # Build tree
24095
 
           echo $f
24096
 
         elif test -f "$srcdir/$f"; then
24097
 
           # Source tree
24098
 
           echo $srcdir/$f
24099
 
         else
24100
 
           # /dev/null tree
24101
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
26729
         if test -f "$f"; then
 
26730
           # Build tree
 
26731
           echo "$f"
 
26732
         elif test -f "$srcdir/$f"; then
 
26733
           # Source tree
 
26734
           echo "$srcdir/$f"
 
26735
         else
 
26736
           # /dev/null tree
 
26737
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24102
26738
echo "$as_me: error: cannot find input file: $f" >&2;}
24103
26739
   { (exit 1); exit 1; }; }
24104
 
         fi;;
 
26740
         fi;;
24105
26741
      esac
24106
26742
    done` || { (exit 1); exit 1; }
24107
26743
_ACEOF
24143
26779
# NAME is the cpp macro being defined and VALUE is the value it is being given.
24144
26780
#
24145
26781
# ac_d sets the value in "#define NAME VALUE" lines.
24146
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
24147
 
ac_dB='[        ].*$,\1#\2'
 
26782
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
26783
ac_dB='[         ].*$,\1#\2'
24148
26784
ac_dC=' '
24149
26785
ac_dD=',;t'
24150
26786
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24151
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
26787
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
24152
26788
ac_uB='$,\1#\2define\3'
24153
26789
ac_uC=' '
24154
26790
ac_uD=',;t'
24157
26793
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24158
26794
  case $ac_file in
24159
26795
  - | *:- | *:-:* ) # input from stdin
24160
 
        cat >$tmp/stdin
24161
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24162
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
26796
        cat >$tmp/stdin
 
26797
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
26798
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24163
26799
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24164
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
26800
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24165
26801
  * )   ac_file_in=$ac_file.in ;;
24166
26802
  esac
24167
26803
 
24175
26811
      case $f in
24176
26812
      -) echo $tmp/stdin ;;
24177
26813
      [\\/$]*)
24178
 
         # Absolute (can't be DOS-style, as IFS=:)
24179
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
26814
         # Absolute (can't be DOS-style, as IFS=:)
 
26815
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24180
26816
echo "$as_me: error: cannot find input file: $f" >&2;}
24181
26817
   { (exit 1); exit 1; }; }
24182
 
         echo $f;;
 
26818
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
26819
         echo "$f";;
24183
26820
      *) # Relative
24184
 
         if test -f "$f"; then
24185
 
           # Build tree
24186
 
           echo $f
24187
 
         elif test -f "$srcdir/$f"; then
24188
 
           # Source tree
24189
 
           echo $srcdir/$f
24190
 
         else
24191
 
           # /dev/null tree
24192
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
26821
         if test -f "$f"; then
 
26822
           # Build tree
 
26823
           echo "$f"
 
26824
         elif test -f "$srcdir/$f"; then
 
26825
           # Source tree
 
26826
           echo "$srcdir/$f"
 
26827
         else
 
26828
           # /dev/null tree
 
26829
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24193
26830
echo "$as_me: error: cannot find input file: $f" >&2;}
24194
26831
   { (exit 1); exit 1; }; }
24195
 
         fi;;
 
26832
         fi;;
24196
26833
      esac
24197
26834
    done` || { (exit 1); exit 1; }
24198
26835
  # Remove the trailing spaces.
24199
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
26836
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
24200
26837
 
24201
26838
_ACEOF
24202
26839
 
24219
26856
s,[\\$`],\\&,g
24220
26857
t clear
24221
26858
: clear
24222
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
26859
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24223
26860
t end
24224
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
26861
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24225
26862
: end
24226
26863
_ACEOF
24227
26864
# If some macros were called several times there might be several times
24235
26872
# example, in the case of _POSIX_SOURCE, which is predefined and required
24236
26873
# on some systems where configure will not decide to define it.
24237
26874
cat >>conftest.undefs <<\_ACEOF
24238
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
26875
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24239
26876
_ACEOF
24240
26877
 
24241
26878
# Break up conftest.defines because some shells have a limit on the size
24242
26879
# of here documents, and old seds have small limits too (100 cmds).
24243
26880
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24244
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
26881
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24245
26882
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24246
26883
echo '  :' >>$CONFIG_STATUS
24247
26884
rm -f conftest.tail
24250
26887
  # Write a limited-size here document to $tmp/defines.sed.
24251
26888
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24252
26889
  # Speed up: don't consider the non `#define' lines.
24253
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
26890
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
24254
26891
  # Work around the forget-to-reset-the-flag bug.
24255
26892
  echo 't clr' >>$CONFIG_STATUS
24256
26893
  echo ': clr' >>$CONFIG_STATUS
24277
26914
  # Write a limited-size here document to $tmp/undefs.sed.
24278
26915
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24279
26916
  # Speed up: don't consider the non `#undef'
24280
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
26917
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
24281
26918
  # Work around the forget-to-reset-the-flag bug.
24282
26919
  echo 't clr' >>$CONFIG_STATUS
24283
26920
  echo ': clr' >>$CONFIG_STATUS
24311
26948
    else
24312
26949
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24313
26950
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24314
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
24315
 
         X"$ac_file" : 'X\(//\)$' \| \
24316
 
         X"$ac_file" : 'X\(/\)' \| \
24317
 
         .     : '\(.\)' 2>/dev/null ||
 
26951
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
26952
         X"$ac_file" : 'X\(//\)$' \| \
 
26953
         X"$ac_file" : 'X\(/\)' \| \
 
26954
         .     : '\(.\)' 2>/dev/null ||
24318
26955
echo X"$ac_file" |
24319
26956
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24320
26957
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24330
26967
      as_dirs="$as_dir $as_dirs"
24331
26968
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
24332
26969
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24333
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24334
 
         X"$as_dir" : 'X\(//\)$' \| \
24335
 
         X"$as_dir" : 'X\(/\)' \| \
24336
 
         .     : '\(.\)' 2>/dev/null ||
 
26970
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
26971
         X"$as_dir" : 'X\(//\)$' \| \
 
26972
         X"$as_dir" : 'X\(/\)' \| \
 
26973
         .     : '\(.\)' 2>/dev/null ||
24337
26974
echo X"$as_dir" |
24338
26975
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24339
26976
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24365
27002
done
24366
27003
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24367
27004
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24368
 
         X$ac_file : 'X\(//\)[^/]' \| \
24369
 
         X$ac_file : 'X\(//\)$' \| \
24370
 
         X$ac_file : 'X\(/\)' \| \
24371
 
         .     : '\(.\)' 2>/dev/null ||
 
27005
         X$ac_file : 'X\(//\)[^/]' \| \
 
27006
         X$ac_file : 'X\(//\)$' \| \
 
27007
         X$ac_file : 'X\(/\)' \| \
 
27008
         .     : '\(.\)' 2>/dev/null ||
24372
27009
echo X$ac_file |
24373
27010
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24374
27011
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24387
27024
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24388
27025
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24389
27026
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24390
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
24391
 
         X"$ac_dest" : 'X\(//\)$' \| \
24392
 
         X"$ac_dest" : 'X\(/\)' \| \
24393
 
         .     : '\(.\)' 2>/dev/null ||
 
27027
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
27028
         X"$ac_dest" : 'X\(//\)$' \| \
 
27029
         X"$ac_dest" : 'X\(/\)' \| \
 
27030
         .     : '\(.\)' 2>/dev/null ||
24394
27031
echo X"$ac_dest" |
24395
27032
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24396
27033
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24397
27034
          /^X\(\/\/\)$/{ s//\1/; q; }
24398
27035
          /^X\(\/\).*/{ s//\1/; q; }
24399
27036
          s/.*/./; q'`
 
27037
  { if $as_mkdir_p; then
 
27038
    mkdir -p "$ac_dir"
 
27039
  else
 
27040
    as_dir="$ac_dir"
 
27041
    as_dirs=
 
27042
    while test ! -d "$as_dir"; do
 
27043
      as_dirs="$as_dir $as_dirs"
 
27044
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
27045
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
27046
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
27047
         X"$as_dir" : 'X\(//\)$' \| \
 
27048
         X"$as_dir" : 'X\(/\)' \| \
 
27049
         .     : '\(.\)' 2>/dev/null ||
 
27050
echo X"$as_dir" |
 
27051
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
27052
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
27053
          /^X\(\/\/\)$/{ s//\1/; q; }
 
27054
          /^X\(\/\).*/{ s//\1/; q; }
 
27055
          s/.*/./; q'`
 
27056
    done
 
27057
    test ! -n "$as_dirs" || mkdir $as_dirs
 
27058
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
27059
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
27060
   { (exit 1); exit 1; }; }; }
 
27061
 
24400
27062
  ac_builddir=.
24401
27063
 
24402
27064
if test "$ac_dir" != .; then
24422
27084
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24423
27085
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
24424
27086
esac
24425
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24426
 
# absolute.
24427
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24428
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24429
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24430
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
27087
 
 
27088
# Do not use `cd foo && pwd` to compute absolute paths, because
 
27089
# the directories may not exist.
 
27090
case `pwd` in
 
27091
.) ac_abs_builddir="$ac_dir";;
 
27092
*)
 
27093
  case "$ac_dir" in
 
27094
  .) ac_abs_builddir=`pwd`;;
 
27095
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
27096
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
27097
  esac;;
 
27098
esac
 
27099
case $ac_abs_builddir in
 
27100
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
27101
*)
 
27102
  case ${ac_top_builddir}. in
 
27103
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
27104
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
27105
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
27106
  esac;;
 
27107
esac
 
27108
case $ac_abs_builddir in
 
27109
.) ac_abs_srcdir=$ac_srcdir;;
 
27110
*)
 
27111
  case $ac_srcdir in
 
27112
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
27113
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
27114
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
27115
  esac;;
 
27116
esac
 
27117
case $ac_abs_builddir in
 
27118
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
27119
*)
 
27120
  case $ac_top_srcdir in
 
27121
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
27122
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
27123
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
27124
  esac;;
 
27125
esac
24431
27126
 
24432
27127
 
24433
27128
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24445
27140
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24446
27141
    dirpart=`(dirname "$mf") 2>/dev/null ||
24447
27142
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24448
 
         X"$mf" : 'X\(//\)[^/]' \| \
24449
 
         X"$mf" : 'X\(//\)$' \| \
24450
 
         X"$mf" : 'X\(/\)' \| \
24451
 
         .     : '\(.\)' 2>/dev/null ||
 
27143
         X"$mf" : 'X\(//\)[^/]' \| \
 
27144
         X"$mf" : 'X\(//\)$' \| \
 
27145
         X"$mf" : 'X\(/\)' \| \
 
27146
         .     : '\(.\)' 2>/dev/null ||
24452
27147
echo X"$mf" |
24453
27148
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24454
27149
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24458
27153
  else
24459
27154
    continue
24460
27155
  fi
24461
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
24462
 
  # Extract the definition of DEP_FILES from the Makefile without
24463
 
  # running `make'.
24464
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
27156
  # Extract the definition of DEPDIR, am__include, and am__quote
 
27157
  # from the Makefile without running `make'.
 
27158
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24465
27159
  test -z "$DEPDIR" && continue
 
27160
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
27161
  test -z "am__include" && continue
 
27162
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24466
27163
  # When using ansi2knr, U may be empty or an underscore; expand it
24467
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
24468
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
24469
 
  # We invoke sed twice because it is the simplest approach to
24470
 
  # changing $(DEPDIR) to its actual value in the expansion.
24471
 
  for file in `sed -n -e '
24472
 
    /^DEP_FILES = .*\\\\$/ {
24473
 
      s/^DEP_FILES = //
24474
 
      :loop
24475
 
        s/\\\\$//
24476
 
        p
24477
 
        n
24478
 
        /\\\\$/ b loop
24479
 
      p
24480
 
    }
24481
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
27164
  U=`sed -n 's/^U = //p' < "$mf"`
 
27165
  # Find all dependency output files, they are included files with
 
27166
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
27167
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
27168
  # expansion.
 
27169
  for file in `sed -n "
 
27170
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24482
27171
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24483
27172
    # Make sure the directory exists.
24484
27173
    test -f "$dirpart/$file" && continue
24485
27174
    fdir=`(dirname "$file") 2>/dev/null ||
24486
27175
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24487
 
         X"$file" : 'X\(//\)[^/]' \| \
24488
 
         X"$file" : 'X\(//\)$' \| \
24489
 
         X"$file" : 'X\(/\)' \| \
24490
 
         .     : '\(.\)' 2>/dev/null ||
 
27176
         X"$file" : 'X\(//\)[^/]' \| \
 
27177
         X"$file" : 'X\(//\)$' \| \
 
27178
         X"$file" : 'X\(/\)' \| \
 
27179
         .     : '\(.\)' 2>/dev/null ||
24491
27180
echo X"$file" |
24492
27181
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24493
27182
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24503
27192
      as_dirs="$as_dir $as_dirs"
24504
27193
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
24505
27194
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24506
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24507
 
         X"$as_dir" : 'X\(//\)$' \| \
24508
 
         X"$as_dir" : 'X\(/\)' \| \
24509
 
         .     : '\(.\)' 2>/dev/null ||
 
27195
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
27196
         X"$as_dir" : 'X\(//\)$' \| \
 
27197
         X"$as_dir" : 'X\(/\)' \| \
 
27198
         .     : '\(.\)' 2>/dev/null ||
24510
27199
echo X"$as_dir" |
24511
27200
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24512
27201
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }