~ubuntu-branches/ubuntu/gutsy/gimp/gutsy-backports

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-04-21 13:00:24 UTC
  • mto: (24.1.1 hardy)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060421130024-59oilzh8m40dxudp
Tags: upstream-2.2.11
ImportĀ upstreamĀ versionĀ 2.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for GIMP 2.2.10.
 
3
# Generated by GNU Autoconf 2.59 for GIMP 2.2.11.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP>.
6
6
#
423
423
# Identity of this package.
424
424
PACKAGE_NAME='GIMP'
425
425
PACKAGE_TARNAME='gimp'
426
 
PACKAGE_VERSION='2.2.10'
427
 
PACKAGE_STRING='GIMP 2.2.10'
 
426
PACKAGE_VERSION='2.2.11'
 
427
PACKAGE_STRING='GIMP 2.2.11'
428
428
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP'
429
429
 
430
430
ac_unique_file="app/core/gimp.c"
465
465
# include <unistd.h>
466
466
#endif"
467
467
 
468
 
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 GIMP_MAJOR_VERSION GIMP_MINOR_VERSION GIMP_MICRO_VERSION GIMP_INTERFACE_AGE GIMP_BINARY_AGE GIMP_API_VERSION GIMP_VERSION GIMP_REAL_VERSION GIMP_APP_VERSION GIMP_PLUGIN_VERSION GIMP_TOOL_VERSION GIMP_PKGCONFIG_VERSION GIMP_DATA_VERSION GIMP_SYSCONF_VERSION GIMP_USER_VERSION GIMP_UNSTABLE GIMP_FULL_NAME GIMP_DESKTOP_ICON LT_VERSION_INFO LT_CURRENT_MINUS_AGE GLIB_REQUIRED_VERSION GTK_REQUIRED_VERSION GDK_PIXBUF_REQUIRED_VERSION PANGOFT2_REQUIRED_VERSION FONTCONFIG_REQUIRED_VERSION GTKDOC_REQUIRED_VERSION GTKHTML2_REQUIRED_VERSION GIMPPRINT_REQUIRED_VERSION GIMPPRINT_TOONEW_VERSION RSVG_REQUIRED_VERSION WMF_REQUIRED_VERSION GETTEXT_PACKAGE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL CCAS CCASFLAGS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PLATFORM_WIN32_TRUE PLATFORM_WIN32_FALSE PATHSEP OS_WIN32_TRUE OS_WIN32_FALSE OS_UNIX_TRUE OS_UNIX_FALSE ms_librarian WINDRES ac_ct_WINDRES MS_LIB_AVAILABLE_TRUE MS_LIB_AVAILABLE_FALSE HAVE_WINDRES_TRUE HAVE_WINDRES_FALSE ALLOCA INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS PKG_CONFIG GLIB_CFLAGS GLIB_LIBS GLIB_GENMARSHAL GOBJECT_QUERY GLIB_MKENUMS ac_pt_PKG_CONFIG GMODULE_CFLAGS GMODULE_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS GDK_PIXBUF_CFLAGS GDK_PIXBUF_LIBS GDK_PIXBUF_CSOURCE LIBART_CFLAGS LIBART_LIBS FONTCONFIG_CFLAGS FONTCONFIG_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS FREETYPE_CONFIG FREETYPE_LIBS HAVE_FINITE HAVE_ISFINITE SOCKET_LIBS MMX_EXTRA_CFLAGS SSE_EXTRA_CFLAGS RT_LIBS SYMPREFIX HAVE_GLIBC_REGEX_TRUE HAVE_GLIBC_REGEX_FALSE HAVE_GLIBC_REGEX GIMP_THREAD_FLAGS GIMP_THREAD_LIBS GIMP_MP_FLAGS GIMP_MP_LIBS LIBXMU LIBSCREENSHOT GIMP_REMOTE TIFF LIBTIFF JPEG LIBJPEG BUILD_XJT_TRUE BUILD_XJT_FALSE LIBZ PSP PNG LIBPNG MNG LIBMNG EXIF_CFLAGS EXIF_LIBS AA LIBAA XPM LIBXPM GTKHTML2_CFLAGS GTKHTML2_LIBS BUILD_HELPBROWSER_TRUE BUILD_HELPBROWSER_FALSE SVG_CFLAGS SVG_LIBS SVG LIBSVG GIMPPRINT_CONFIG GIMPPRINT_CFLAGS GIMPPRINT_LIBS PRINT_LIBS PRINT_CFLAGS BUILD_PRINT_TRUE BUILD_PRINT_FALSE WMF_CONFIG LIBWMF WMF_CFLAGS LCMS_LIBS HAVE_LCMS_TRUE HAVE_LCMS_FALSE ALSA_CFLAGS ALSA_LIBS HAVE_LINUX_INPUT_TRUE HAVE_LINUX_INPUT_FALSE SENDMAIL PERL WITH_PDBGEN_TRUE WITH_PDBGEN_FALSE PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir PYTHON_INCLUDES PYGTK_CFLAGS PYGTK_LIBS PYGIMP_EXTRA_CFLAGS BUILD_PYTHON_TRUE BUILD_PYTHON_FALSE MAIL SCREENSHOT URL WINCLIPBOARD WINPRINT WMF HAVE_MAC_TWAIN_TRUE HAVE_MAC_TWAIN_FALSE DESKTOP_DATADIR_TRUE DESKTOP_DATADIR_FALSE DESKTOP_DATADIR XMLLINT HAVE_XMLLINT_TRUE HAVE_XMLLINT_FALSE XSLTPROC HAVE_XSLTPROC_TRUE HAVE_XSLTPROC_FALSE HTML_DIR ENABLE_GTK_DOC_TRUE ENABLE_GTK_DOC_FALSE GTK_DOC_USE_LIBTOOL_TRUE GTK_DOC_USE_LIBTOOL_FALSE DEFAULT_BINARY_TRUE DEFAULT_BINARY_FALSE ENABLE_GIMP_CONSOLE_TRUE ENABLE_GIMP_CONSOLE_FALSE gimpdir gimpdatadir gimpplugindir gimpsysconfdir localedir GIMPINSTALL STATICLIBS_TRUE STATICLIBS_FALSE GIMP_MKENUMS GIMP_PLUGINS GIMP_MODULES LIBOBJS LTLIBOBJS'
 
468
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 GIMP_MAJOR_VERSION GIMP_MINOR_VERSION GIMP_MICRO_VERSION GIMP_INTERFACE_AGE GIMP_BINARY_AGE GIMP_API_VERSION GIMP_VERSION GIMP_REAL_VERSION GIMP_APP_VERSION GIMP_PLUGIN_VERSION GIMP_TOOL_VERSION GIMP_PKGCONFIG_VERSION GIMP_DATA_VERSION GIMP_SYSCONF_VERSION GIMP_USER_VERSION GIMP_UNSTABLE GIMP_FULL_NAME GIMP_DESKTOP_ICON LT_VERSION_INFO LT_CURRENT_MINUS_AGE GLIB_REQUIRED_VERSION GTK_REQUIRED_VERSION GDK_PIXBUF_REQUIRED_VERSION PANGOFT2_REQUIRED_VERSION FONTCONFIG_REQUIRED_VERSION GTKDOC_REQUIRED_VERSION GTKHTML2_REQUIRED_VERSION GIMPPRINT_REQUIRED_VERSION GIMPPRINT_TOONEW_VERSION RSVG_REQUIRED_VERSION WMF_REQUIRED_VERSION GETTEXT_PACKAGE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL CCAS CCASFLAGS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PLATFORM_WIN32_TRUE PLATFORM_WIN32_FALSE PATHSEP OS_WIN32_TRUE OS_WIN32_FALSE OS_UNIX_TRUE OS_UNIX_FALSE ms_librarian WINDRES ac_ct_WINDRES MS_LIB_AVAILABLE_TRUE MS_LIB_AVAILABLE_FALSE HAVE_WINDRES_TRUE HAVE_WINDRES_FALSE ALLOCA INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS PKG_CONFIG GLIB_CFLAGS GLIB_LIBS GLIB_GENMARSHAL GOBJECT_QUERY GLIB_MKENUMS ac_pt_PKG_CONFIG GMODULE_CFLAGS GMODULE_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS GDK_PIXBUF_CFLAGS GDK_PIXBUF_LIBS GDK_PIXBUF_CSOURCE LIBART_CFLAGS LIBART_LIBS FONTCONFIG_CFLAGS FONTCONFIG_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS FREETYPE_CONFIG FREETYPE_LIBS HAVE_FINITE HAVE_ISFINITE SOCKET_LIBS MMX_EXTRA_CFLAGS SSE_EXTRA_CFLAGS RT_LIBS SYMPREFIX HAVE_GLIBC_REGEX_TRUE HAVE_GLIBC_REGEX_FALSE HAVE_GLIBC_REGEX GIMP_THREAD_FLAGS GIMP_THREAD_LIBS GIMP_MP_FLAGS GIMP_MP_LIBS LIBXMU LIBSCREENSHOT GIMP_REMOTE TIFF LIBTIFF JPEG LIBJPEG BUILD_XJT_TRUE BUILD_XJT_FALSE LIBZ PSP PNG LIBPNG MNG LIBMNG EXIF_CFLAGS EXIF_LIBS AA LIBAA XPM LIBXPM GTKHTML2_CFLAGS GTKHTML2_LIBS BUILD_HELPBROWSER_TRUE BUILD_HELPBROWSER_FALSE SVG_CFLAGS SVG_LIBS SVG LIBSVG GIMPPRINT_CONFIG GIMPPRINT_CFLAGS GIMPPRINT_LIBS PRINT_LIBS PRINT_CFLAGS BUILD_PRINT_TRUE BUILD_PRINT_FALSE WMF_CONFIG LIBWMF WMF_CFLAGS LCMS_LIBS HAVE_LCMS_TRUE HAVE_LCMS_FALSE ALSA_CFLAGS ALSA_LIBS HAVE_LINUX_INPUT_TRUE HAVE_LINUX_INPUT_FALSE SENDMAIL PERL WITH_PDBGEN_TRUE WITH_PDBGEN_FALSE PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir PYTHON_INCLUDES PYGTK_CFLAGS PYGTK_LIBS PYGIMP_EXTRA_CFLAGS BUILD_PYTHON_TRUE BUILD_PYTHON_FALSE MAIL SCREENSHOT URL WINCLIPBOARD WINPRINT WMF HAVE_MAC_TWAIN_TRUE HAVE_MAC_TWAIN_FALSE DESKTOP_DATADIR_TRUE DESKTOP_DATADIR_FALSE DESKTOP_DATADIR XMLLINT HAVE_XMLLINT_TRUE HAVE_XMLLINT_FALSE XSLTPROC HAVE_XSLTPROC_TRUE HAVE_XSLTPROC_FALSE HTML_DIR ENABLE_GTK_DOC_TRUE ENABLE_GTK_DOC_FALSE GTK_DOC_USE_LIBTOOL_TRUE GTK_DOC_USE_LIBTOOL_FALSE DEFAULT_BINARY_TRUE DEFAULT_BINARY_FALSE ENABLE_GIMP_CONSOLE_TRUE ENABLE_GIMP_CONSOLE_FALSE gimpdir gimpdatadir gimpplugindir gimpsysconfdir localedir GIMPINSTALL STATICLIBS_TRUE STATICLIBS_FALSE GIMP_MKENUMS GIMP_PLUGINS GIMP_MODULES LIBOBJS LTLIBOBJS'
469
469
ac_subst_files=''
470
470
 
471
471
# Initialize some variables set by options.
1038
1038
  # Omit some internal or obsolete options to make the list less imposing.
1039
1039
  # This message is too long to be a string in the A/UX 3.1 sh.
1040
1040
  cat <<_ACEOF
1041
 
\`configure' configures GIMP 2.2.10 to adapt to many kinds of systems.
 
1041
\`configure' configures GIMP 2.2.11 to adapt to many kinds of systems.
1042
1042
 
1043
1043
Usage: $0 [OPTION]... [VAR=VALUE]...
1044
1044
 
1108
1108
 
1109
1109
if test -n "$ac_init_help"; then
1110
1110
  case $ac_init_help in
1111
 
     short | recursive ) echo "Configuration of GIMP 2.2.10:";;
 
1111
     short | recursive ) echo "Configuration of GIMP 2.2.11:";;
1112
1112
   esac
1113
1113
  cat <<\_ACEOF
1114
1114
 
1323
1323
test -n "$ac_init_help" && exit 0
1324
1324
if $ac_init_version; then
1325
1325
  cat <<\_ACEOF
1326
 
GIMP configure 2.2.10
 
1326
GIMP configure 2.2.11
1327
1327
generated by GNU Autoconf 2.59
1328
1328
 
1329
1329
Copyright (C) 2003 Free Software Foundation, Inc.
1337
1337
This file contains any messages produced by compilers while
1338
1338
running configure, to aid debugging if configure makes a mistake.
1339
1339
 
1340
 
It was created by GIMP $as_me 2.2.10, which was
 
1340
It was created by GIMP $as_me 2.2.11, which was
1341
1341
generated by GNU Autoconf 2.59.  Invocation command line was
1342
1342
 
1343
1343
  $ $0 $@
1983
1983
 
1984
1984
# Define the identity of the package.
1985
1985
 PACKAGE='gimp'
1986
 
 VERSION='2.2.10'
 
1986
 VERSION='2.2.11'
1987
1987
 
1988
1988
 
1989
1989
# Some tools Automake needs.
2109
2109
 
2110
2110
GIMP_MAJOR_VERSION=2
2111
2111
GIMP_MINOR_VERSION=2
2112
 
GIMP_MICRO_VERSION=10
2113
 
GIMP_INTERFACE_AGE=10
2114
 
GIMP_BINARY_AGE=210
2115
 
GIMP_VERSION=2.2.10
2116
 
GIMP_REAL_VERSION=2.2.10
 
2112
GIMP_MICRO_VERSION=11
 
2113
GIMP_INTERFACE_AGE=11
 
2114
GIMP_BINARY_AGE=211
 
2115
GIMP_VERSION=2.2.11
 
2116
GIMP_REAL_VERSION=2.2.11
2117
2117
GIMP_API_VERSION=2.0
2118
2118
GIMP_APP_VERSION=2.2
2119
2119
GIMP_PLUGIN_VERSION=2.0
2165
2165
 
2166
2166
 
2167
2167
 
2168
 
LT_VERSION_INFO="200:10:200"
 
2168
LT_VERSION_INFO="200:11:200"
2169
2169
LT_CURRENT_MINUS_AGE=0
2170
2170
 
2171
2171
 
3626
3626
case $host_os in
3627
3627
  darwin*)
3628
3628
    if test "$GCC" = yes; then
3629
 
      reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
 
3629
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3630
3630
    else
3631
3631
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
3632
3632
    fi
3642
3642
  # Let the user override the test.
3643
3643
  lt_cv_path_NM="$NM"
3644
3644
else
3645
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3646
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3647
 
    IFS="$lt_save_ifs"
3648
 
    test -z "$ac_dir" && ac_dir=.
3649
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3650
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3651
 
      # Check to see if the nm accepts a BSD-compat flag.
3652
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3653
 
      #   nm: unknown option "B" ignored
3654
 
      # Tru64's nm complains that /dev/null is an invalid object file
3655
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3656
 
      */dev/null* | *'Invalid file or object type'*)
3657
 
        lt_cv_path_NM="$tmp_nm -B"
3658
 
        break
3659
 
        ;;
3660
 
      *)
3661
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3662
 
        */dev/null*)
3663
 
          lt_cv_path_NM="$tmp_nm -p"
 
3645
  lt_nm_to_check="${ac_tool_prefix}nm"
 
3646
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
3647
    lt_nm_to_check="$lt_nm_to_check nm"
 
3648
  fi
 
3649
  for lt_tmp_nm in $lt_nm_to_check; do
 
3650
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
3651
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
3652
      IFS="$lt_save_ifs"
 
3653
      test -z "$ac_dir" && ac_dir=.
 
3654
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
3655
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
3656
        # Check to see if the nm accepts a BSD-compat flag.
 
3657
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
3658
        #   nm: unknown option "B" ignored
 
3659
        # Tru64's nm complains that /dev/null is an invalid object file
 
3660
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
3661
        */dev/null* | *'Invalid file or object type'*)
 
3662
          lt_cv_path_NM="$tmp_nm -B"
3664
3663
          break
3665
3664
          ;;
3666
3665
        *)
3667
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3668
 
          continue # so that we can try to find one that supports BSD flags
 
3666
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
3667
          */dev/null*)
 
3668
            lt_cv_path_NM="$tmp_nm -p"
 
3669
            break
 
3670
            ;;
 
3671
          *)
 
3672
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
3673
            continue # so that we can try to find one that supports BSD flags
 
3674
            ;;
 
3675
          esac
3669
3676
          ;;
3670
3677
        esac
3671
 
      esac
3672
 
    fi
 
3678
      fi
 
3679
    done
 
3680
    IFS="$lt_save_ifs"
3673
3681
  done
3674
 
  IFS="$lt_save_ifs"
3675
3682
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3676
3683
fi
3677
3684
fi
3741
3748
  lt_cv_deplibs_check_method=pass_all
3742
3749
  ;;
3743
3750
 
3744
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
3751
freebsd* | dragonfly*)
3745
3752
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3746
3753
    case $host_cpu in
3747
3754
    i*86 )
3779
3786
  esac
3780
3787
  ;;
3781
3788
 
 
3789
interix3*)
 
3790
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
3791
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
3792
  ;;
 
3793
 
3782
3794
irix5* | irix6* | nonstopux*)
3783
3795
  case $LD in
3784
3796
  *-32|*"-32 ") libmagic=32-bit;;
3790
3802
  ;;
3791
3803
 
3792
3804
# This must be Linux ELF.
3793
 
linux*)
 
3805
linux* | k*bsd*-gnu)
3794
3806
  lt_cv_deplibs_check_method=pass_all
3795
3807
  ;;
3796
3808
 
3797
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
3809
netbsd* | netbsdelf*-gnu)
3798
3810
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3799
3811
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3800
3812
  else
3824
3836
  lt_cv_deplibs_check_method=pass_all
3825
3837
  ;;
3826
3838
 
3827
 
sco3.2v5*)
3828
 
  lt_cv_deplibs_check_method=pass_all
3829
 
  ;;
3830
 
 
3831
3839
solaris*)
3832
3840
  lt_cv_deplibs_check_method=pass_all
3833
3841
  ;;
3834
3842
 
3835
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
3843
sysv4 | sysv4.3*)
3836
3844
  case $host_vendor in
3837
3845
  motorola)
3838
3846
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3853
3861
  siemens)
3854
3862
    lt_cv_deplibs_check_method=pass_all
3855
3863
    ;;
 
3864
  pc)
 
3865
    lt_cv_deplibs_check_method=pass_all
 
3866
    ;;
3856
3867
  esac
3857
3868
  ;;
3858
3869
 
3859
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
3870
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3860
3871
  lt_cv_deplibs_check_method=pass_all
3861
3872
  ;;
3862
3873
esac
3874
3885
# If no C compiler was specified, use CC.
3875
3886
LTCC=${LTCC-"$CC"}
3876
3887
 
 
3888
# If no C compiler flags were specified, use CFLAGS.
 
3889
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
3890
 
3877
3891
# Allow CC to be a program name with arguments.
3878
3892
compiler=$CC
3879
3893
 
3909
3923
  ;;
3910
3924
*-*-irix6*)
3911
3925
  # Find out which ABI we are using.
3912
 
  echo '#line 3912 "configure"' > conftest.$ac_ext
 
3926
  echo '#line 3926 "configure"' > conftest.$ac_ext
3913
3927
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3914
3928
  (eval $ac_compile) 2>&5
3915
3929
  ac_status=$?
4064
4078
    CFLAGS="$SAVE_CFLAGS"
4065
4079
  fi
4066
4080
  ;;
 
4081
sparc*-*solaris*)
 
4082
  # Find out which ABI we are using.
 
4083
  echo 'int i;' > conftest.$ac_ext
 
4084
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4085
  (eval $ac_compile) 2>&5
 
4086
  ac_status=$?
 
4087
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4088
  (exit $ac_status); }; then
 
4089
    case `/usr/bin/file conftest.o` in
 
4090
    *64-bit*)
 
4091
      case $lt_cv_prog_gnu_ld in
 
4092
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
4093
      *)    LD="${LD-ld} -64" ;;
 
4094
      esac
 
4095
      ;;
 
4096
    esac
 
4097
  fi
 
4098
  rm -rf conftest*
 
4099
  ;;
 
4100
 
4067
4101
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4068
4102
  if test -n "$ac_tool_prefix"; then
4069
4103
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5722
5756
 
5723
5757
 
5724
5758
# Provide some information about the compiler.
5725
 
echo "$as_me:5725:" \
 
5759
echo "$as_me:5759:" \
5726
5760
     "checking for Fortran 77 compiler version" >&5
5727
5761
ac_compiler=`set X $ac_compile; echo $2`
5728
5762
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5923
5957
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5924
5958
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5925
5959
    ;;
 
5960
 
 
5961
  interix*)
 
5962
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5963
    lt_cv_sys_max_cmd_len=196608
 
5964
    ;;
 
5965
 
5926
5966
  osf*)
5927
5967
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5928
5968
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5936
5976
      esac
5937
5977
    fi
5938
5978
    ;;
 
5979
  sco3.2v5*)
 
5980
    lt_cv_sys_max_cmd_len=102400
 
5981
    ;;
 
5982
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5983
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5984
    if test -n "$kargmax"; then
 
5985
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
5986
    else
 
5987
      lt_cv_sys_max_cmd_len=32768
 
5988
    fi
 
5989
    ;;
5939
5990
  *)
5940
5991
    # If test is not a shell built-in, we'll probably end up computing a
5941
5992
    # maximum length that is only half of the actual maximum length, but
6008
6059
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6009
6060
  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'"
6010
6061
  ;;
6011
 
linux*)
 
6062
linux* | k*bsd*-gnu)
6012
6063
  if test "$host_cpu" = ia64; then
6013
6064
    symcode='[ABCDGIRSTW]'
6014
6065
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6021
6072
osf*)
6022
6073
  symcode='[BCDEGQRST]'
6023
6074
  ;;
6024
 
solaris* | sysv5*)
 
6075
solaris*)
6025
6076
  symcode='[BDRT]'
6026
6077
  ;;
 
6078
sco3.2v5*)
 
6079
  symcode='[DT]'
 
6080
  ;;
 
6081
sysv4.2uw2*)
 
6082
  symcode='[DT]'
 
6083
  ;;
 
6084
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6085
  symcode='[ABDT]'
 
6086
  ;;
6027
6087
sysv4)
6028
6088
  symcode='[DFNSTU]'
6029
6089
  ;;
6489
6549
test -z "$AS" && AS=as
6490
6550
test -z "$CC" && CC=cc
6491
6551
test -z "$LTCC" && LTCC=$CC
 
6552
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6492
6553
test -z "$DLLTOOL" && DLLTOOL=dlltool
6493
6554
test -z "$LD" && LD=ld
6494
6555
test -z "$LN_S" && LN_S="ln -s"
6508
6569
if test -n "$RANLIB"; then
6509
6570
  case $host_os in
6510
6571
  openbsd*)
6511
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
6572
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6512
6573
    ;;
6513
6574
  *)
6514
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
6575
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6515
6576
    ;;
6516
6577
  esac
6517
6578
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6710
6771
# If no C compiler was specified, use CC.
6711
6772
LTCC=${LTCC-"$CC"}
6712
6773
 
 
6774
# If no C compiler flags were specified, use CFLAGS.
 
6775
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6776
 
6713
6777
# Allow CC to be a program name with arguments.
6714
6778
compiler=$CC
6715
6779
 
6717
6781
# save warnings/boilerplate of simple test code
6718
6782
ac_outfile=conftest.$ac_objext
6719
6783
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6720
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
6784
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6721
6785
_lt_compiler_boilerplate=`cat conftest.err`
6722
6786
$rm conftest*
6723
6787
 
6724
6788
ac_outfile=conftest.$ac_objext
6725
6789
printf "$lt_simple_link_test_code" >conftest.$ac_ext
6726
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
6790
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6727
6791
_lt_linker_boilerplate=`cat conftest.err`
6728
6792
$rm conftest*
6729
6793
 
6730
6794
 
6731
 
#
6732
 
# Check for any special shared library compilation flags.
6733
 
#
6734
 
lt_prog_cc_shlib=
6735
 
if test "$GCC" = no; then
6736
 
  case $host_os in
6737
 
  sco3.2v5*)
6738
 
    lt_prog_cc_shlib='-belf'
6739
 
    ;;
6740
 
  esac
6741
 
fi
6742
 
if test -n "$lt_prog_cc_shlib"; then
6743
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6744
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6745
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
6746
 
  else
6747
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6748
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6749
 
    lt_cv_prog_cc_can_build_shared=no
6750
 
  fi
6751
 
fi
6752
 
 
6753
 
 
6754
 
#
6755
 
# Check to make sure the static flag actually works.
6756
 
#
6757
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6758
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6759
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6760
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6761
 
else
6762
 
  lt_prog_compiler_static_works=no
6763
 
   save_LDFLAGS="$LDFLAGS"
6764
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6765
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6766
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6767
 
     # The linker can only warn and ignore the option if not recognized
6768
 
     # So say no if there are warnings
6769
 
     if test -s conftest.err; then
6770
 
       # Append any errors to the config.log.
6771
 
       cat conftest.err 1>&5
6772
 
       $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
6773
 
       $SED '/^$/d' conftest.err >conftest.er2
6774
 
       if diff conftest.exp conftest.er2 >/dev/null; then
6775
 
         lt_prog_compiler_static_works=yes
6776
 
       fi
6777
 
     else
6778
 
       lt_prog_compiler_static_works=yes
6779
 
     fi
6780
 
   fi
6781
 
   $rm conftest*
6782
 
   LDFLAGS="$save_LDFLAGS"
6783
 
 
6784
 
fi
6785
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6786
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6787
 
 
6788
 
if test x"$lt_prog_compiler_static_works" = xyes; then
6789
 
    :
6790
 
else
6791
 
    lt_prog_compiler_static=
6792
 
fi
6793
 
 
6794
 
 
6795
 
 
6796
6795
 
6797
6796
lt_prog_compiler_no_builtin_flag=
6798
6797
 
6818
6817
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6819
6818
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6820
6819
   -e 's:$: $lt_compiler_flag:'`
6821
 
   (eval echo "\"\$as_me:6821: $lt_compile\"" >&5)
 
6820
   (eval echo "\"\$as_me:6820: $lt_compile\"" >&5)
6822
6821
   (eval "$lt_compile" 2>conftest.err)
6823
6822
   ac_status=$?
6824
6823
   cat conftest.err >&5
6825
 
   echo "$as_me:6825: \$? = $ac_status" >&5
 
6824
   echo "$as_me:6824: \$? = $ac_status" >&5
6826
6825
   if (exit $ac_status) && test -s "$ac_outfile"; then
6827
6826
     # The compiler can only warn and ignore the option if not recognized
6828
6827
     # So say no if there are warnings other than the usual output.
6829
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6830
 
     $SED '/^$/d' conftest.err >conftest.er2
6831
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
6828
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
6829
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
6830
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6832
6831
       lt_cv_prog_compiler_rtti_exceptions=yes
6833
6832
     fi
6834
6833
   fi
6889
6888
      lt_prog_compiler_pic='-fno-common'
6890
6889
      ;;
6891
6890
 
 
6891
    interix3*)
 
6892
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
6893
      # Instead, we relocate shared libraries at runtime.
 
6894
      ;;
 
6895
 
6892
6896
    msdosdjgpp*)
6893
6897
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6894
6898
      # on systems that don't support them.
6975
6979
      lt_prog_compiler_static='-Bstatic'
6976
6980
      ;;
6977
6981
 
6978
 
    linux*)
 
6982
    linux* | k*bsd*-gnu)
6979
6983
      case $cc_basename in
6980
6984
      icc* | ecc*)
6981
6985
        lt_prog_compiler_wl='-Wl,'
7003
7007
      lt_prog_compiler_static='-non_shared'
7004
7008
      ;;
7005
7009
 
7006
 
    sco3.2v5*)
7007
 
      lt_prog_compiler_pic='-Kpic'
7008
 
      lt_prog_compiler_static='-dn'
7009
 
      ;;
7010
 
 
7011
7010
    solaris*)
7012
7011
      lt_prog_compiler_pic='-KPIC'
7013
7012
      lt_prog_compiler_static='-Bstatic'
7025
7024
      lt_prog_compiler_static='-Bstatic'
7026
7025
      ;;
7027
7026
 
7028
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
7027
    sysv4 | sysv4.2uw2* | sysv4.3*)
7029
7028
      lt_prog_compiler_wl='-Wl,'
7030
7029
      lt_prog_compiler_pic='-KPIC'
7031
7030
      lt_prog_compiler_static='-Bstatic'
7038
7037
      fi
7039
7038
      ;;
7040
7039
 
 
7040
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7041
      lt_prog_compiler_wl='-Wl,'
 
7042
      lt_prog_compiler_pic='-KPIC'
 
7043
      lt_prog_compiler_static='-Bstatic'
 
7044
      ;;
 
7045
 
7041
7046
    unicos*)
7042
7047
      lt_prog_compiler_wl='-Wl,'
7043
7048
      lt_prog_compiler_can_build_shared=no
7080
7085
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7081
7086
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7082
7087
   -e 's:$: $lt_compiler_flag:'`
7083
 
   (eval echo "\"\$as_me:7083: $lt_compile\"" >&5)
 
7088
   (eval echo "\"\$as_me:7088: $lt_compile\"" >&5)
7084
7089
   (eval "$lt_compile" 2>conftest.err)
7085
7090
   ac_status=$?
7086
7091
   cat conftest.err >&5
7087
 
   echo "$as_me:7087: \$? = $ac_status" >&5
 
7092
   echo "$as_me:7092: \$? = $ac_status" >&5
7088
7093
   if (exit $ac_status) && test -s "$ac_outfile"; then
7089
7094
     # The compiler can only warn and ignore the option if not recognized
7090
7095
     # So say no if there are warnings other than the usual output.
7091
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7092
 
     $SED '/^$/d' conftest.err >conftest.er2
7093
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
7096
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7097
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7098
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7094
7099
       lt_prog_compiler_pic_works=yes
7095
7100
     fi
7096
7101
   fi
7121
7126
    ;;
7122
7127
esac
7123
7128
 
 
7129
#
 
7130
# Check to make sure the static flag actually works.
 
7131
#
 
7132
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
7133
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7134
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
7135
if test "${lt_prog_compiler_static_works+set}" = set; then
 
7136
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7137
else
 
7138
  lt_prog_compiler_static_works=no
 
7139
   save_LDFLAGS="$LDFLAGS"
 
7140
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
7141
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7142
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
7143
     # The linker can only warn and ignore the option if not recognized
 
7144
     # So say no if there are warnings
 
7145
     if test -s conftest.err; then
 
7146
       # Append any errors to the config.log.
 
7147
       cat conftest.err 1>&5
 
7148
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7149
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7150
       if diff conftest.exp conftest.er2 >/dev/null; then
 
7151
         lt_prog_compiler_static_works=yes
 
7152
       fi
 
7153
     else
 
7154
       lt_prog_compiler_static_works=yes
 
7155
     fi
 
7156
   fi
 
7157
   $rm conftest*
 
7158
   LDFLAGS="$save_LDFLAGS"
 
7159
 
 
7160
fi
 
7161
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7162
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7163
 
 
7164
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7165
    :
 
7166
else
 
7167
    lt_prog_compiler_static=
 
7168
fi
 
7169
 
 
7170
 
7124
7171
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7125
7172
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7126
7173
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7142
7189
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7143
7190
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7144
7191
   -e 's:$: $lt_compiler_flag:'`
7145
 
   (eval echo "\"\$as_me:7145: $lt_compile\"" >&5)
 
7192
   (eval echo "\"\$as_me:7192: $lt_compile\"" >&5)
7146
7193
   (eval "$lt_compile" 2>out/conftest.err)
7147
7194
   ac_status=$?
7148
7195
   cat out/conftest.err >&5
7149
 
   echo "$as_me:7149: \$? = $ac_status" >&5
 
7196
   echo "$as_me:7196: \$? = $ac_status" >&5
7150
7197
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7151
7198
   then
7152
7199
     # The compiler can only warn and ignore the option if not recognized
7153
7200
     # So say no if there are warnings
7154
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
7155
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
7156
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7201
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7202
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7203
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7157
7204
       lt_cv_prog_compiler_c_o=yes
7158
7205
     fi
7159
7206
   fi
7253
7300
      with_gnu_ld=no
7254
7301
    fi
7255
7302
    ;;
 
7303
  interix*)
 
7304
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
7305
    with_gnu_ld=yes
 
7306
    ;;
7256
7307
  openbsd*)
7257
7308
    with_gnu_ld=no
7258
7309
    ;;
7337
7388
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7338
7389
 
7339
7390
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7340
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
7391
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7341
7392
        # If the export-symbols file already is a .def file (1st line
7342
7393
        # is EXPORTS), use it as is; otherwise, prepend...
7343
7394
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7346
7397
          echo EXPORTS > $output_objdir/$soname.def;
7347
7398
          cat $export_symbols >> $output_objdir/$soname.def;
7348
7399
        fi~
7349
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
7400
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7350
7401
      else
7351
7402
        ld_shlibs=no
7352
7403
      fi
7353
7404
      ;;
7354
7405
 
7355
 
    linux*)
 
7406
    interix3*)
 
7407
      hardcode_direct=no
 
7408
      hardcode_shlibpath_var=no
 
7409
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
7410
      export_dynamic_flag_spec='${wl}-E'
 
7411
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
7412
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
7413
      # default) and relocated if they conflict, which is a slow very memory
 
7414
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
7415
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
7416
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
7417
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
7418
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
7419
      ;;
 
7420
 
 
7421
    linux* | k*bsd*-gnu)
7356
7422
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7357
7423
        tmp_addflag=
7358
7424
        case $cc_basename,$host_cpu in
7384
7450
      fi
7385
7451
      ;;
7386
7452
 
7387
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
7453
    netbsd* | netbsdelf*-gnu)
7388
7454
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7389
7455
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7390
7456
        wlarc=
7394
7460
      fi
7395
7461
      ;;
7396
7462
 
7397
 
    solaris* | sysv5*)
 
7463
    solaris*)
7398
7464
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7399
7465
        ld_shlibs=no
7400
7466
        cat <<EOF 1>&2
7415
7481
      fi
7416
7482
      ;;
7417
7483
 
 
7484
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
7485
      case `$LD -v 2>&1` in
 
7486
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
7487
        ld_shlibs=no
 
7488
        cat <<_LT_EOF 1>&2
 
7489
 
 
7490
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
7491
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
7492
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
7493
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
7494
*** your PATH or compiler configuration so that the native linker is
 
7495
*** used, and then restart.
 
7496
 
 
7497
_LT_EOF
 
7498
        ;;
 
7499
        *)
 
7500
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
7501
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
7502
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
7503
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
7504
          else
 
7505
            ld_shlibs=no
 
7506
          fi
 
7507
        ;;
 
7508
      esac
 
7509
      ;;
 
7510
 
7418
7511
    sunos4*)
7419
7512
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7420
7513
      wlarc=
7448
7541
      # Note: this linker hardcodes the directories in LIBPATH if there
7449
7542
      # are no directories specified by -L.
7450
7543
      hardcode_minus_L=yes
7451
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
7544
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7452
7545
        # Neither direct hardcoding nor static linking is supported with a
7453
7546
        # broken collect2.
7454
7547
        hardcode_direct=unsupported
7482
7575
            break
7483
7576
          fi
7484
7577
          done
 
7578
          ;;
7485
7579
        esac
7486
7580
 
7487
7581
        exp_sym_flag='-bexport'
7519
7613
          hardcode_libdir_flag_spec='-L$libdir'
7520
7614
          hardcode_libdir_separator=
7521
7615
          fi
 
7616
          ;;
7522
7617
        esac
7523
7618
        shared_flag='-shared'
7524
7619
        if test "$aix_use_runtimelinking" = yes; then
7531
7626
        # chokes on -Wl,-G. The following line is correct:
7532
7627
          shared_flag='-G'
7533
7628
        else
7534
 
        if test "$aix_use_runtimelinking" = yes; then
 
7629
          if test "$aix_use_runtimelinking" = yes; then
7535
7630
            shared_flag='${wl}-G'
7536
7631
          else
7537
7632
            shared_flag='${wl}-bM:SRE'
7538
 
        fi
 
7633
          fi
7539
7634
        fi
7540
7635
      fi
7541
7636
 
7599
7694
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7600
7695
 
7601
7696
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7602
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
7697
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7603
7698
       else
7604
7699
        if test "$host_cpu" = ia64; then
7605
7700
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7606
7701
          allow_undefined_flag="-z nodefs"
7607
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
7702
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7608
7703
        else
7609
7704
         # Determine the default libpath from the value encoded in an empty executable.
7610
7705
         cat >conftest.$ac_ext <<_ACEOF
7663
7758
          # -berok will link without error, but may produce a broken library.
7664
7759
          no_undefined_flag=' ${wl}-bernotok'
7665
7760
          allow_undefined_flag=' ${wl}-berok'
7666
 
          # -bexpall does not export symbols beginning with underscore (_)
7667
 
          always_export_symbols=yes
7668
7761
          # Exported symbols can be pulled into shared objects from archives
7669
 
          whole_archive_flag_spec=' '
 
7762
          whole_archive_flag_spec='$convenience'
7670
7763
          archive_cmds_need_lc=yes
7671
7764
          # This is similar to how AIX traditionally builds its shared libraries.
7672
 
          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'
 
7765
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7673
7766
        fi
7674
7767
      fi
7675
7768
      ;;
7787
7880
      ;;
7788
7881
 
7789
7882
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7790
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
7883
    freebsd* | dragonfly*)
7791
7884
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7792
7885
      hardcode_libdir_flag_spec='-R$libdir'
7793
7886
      hardcode_direct=yes
7810
7903
      export_dynamic_flag_spec='${wl}-E'
7811
7904
      ;;
7812
7905
 
7813
 
    hpux10* | hpux11*)
 
7906
    hpux10*)
 
7907
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
7908
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
7909
      else
 
7910
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
7911
      fi
 
7912
      if test "$with_gnu_ld" = no; then
 
7913
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
7914
        hardcode_libdir_separator=:
 
7915
 
 
7916
        hardcode_direct=yes
 
7917
        export_dynamic_flag_spec='${wl}-E'
 
7918
 
 
7919
        # hardcode_minus_L: Not really in the search PATH,
 
7920
        # but as the default location of the library.
 
7921
        hardcode_minus_L=yes
 
7922
      fi
 
7923
      ;;
 
7924
 
 
7925
    hpux11*)
7814
7926
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7815
7927
        case $host_cpu in
7816
 
        hppa*64*|ia64*)
 
7928
        hppa*64*)
7817
7929
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7818
7930
          ;;
 
7931
        ia64*)
 
7932
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
7933
          ;;
7819
7934
        *)
7820
7935
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7821
7936
          ;;
7822
7937
        esac
7823
7938
      else
7824
7939
        case $host_cpu in
7825
 
        hppa*64*|ia64*)
7826
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
7940
        hppa*64*)
 
7941
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
7942
          ;;
 
7943
        ia64*)
 
7944
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7827
7945
          ;;
7828
7946
        *)
7829
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
7947
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7830
7948
          ;;
7831
7949
        esac
7832
7950
      fi
7833
7951
      if test "$with_gnu_ld" = no; then
 
7952
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
7953
        hardcode_libdir_separator=:
 
7954
 
7834
7955
        case $host_cpu in
7835
 
        hppa*64*)
7836
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
7956
        hppa*64*|ia64*)
7837
7957
          hardcode_libdir_flag_spec_ld='+b $libdir'
7838
 
          hardcode_libdir_separator=:
7839
 
          hardcode_direct=no
7840
 
          hardcode_shlibpath_var=no
7841
 
          ;;
7842
 
        ia64*)
7843
 
          hardcode_libdir_flag_spec='-L$libdir'
7844
 
          hardcode_direct=no
7845
 
          hardcode_shlibpath_var=no
7846
 
 
7847
 
          # hardcode_minus_L: Not really in the search PATH,
7848
 
          # but as the default location of the library.
7849
 
          hardcode_minus_L=yes
 
7958
          hardcode_direct=no
 
7959
          hardcode_shlibpath_var=no
7850
7960
          ;;
7851
7961
        *)
7852
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7853
 
          hardcode_libdir_separator=:
7854
7962
          hardcode_direct=yes
7855
7963
          export_dynamic_flag_spec='${wl}-E'
7856
7964
 
7874
7982
      link_all_deplibs=yes
7875
7983
      ;;
7876
7984
 
7877
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
7985
    netbsd* | netbsdelf*-gnu)
7878
7986
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7879
7987
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7880
7988
      else
7952
8060
      hardcode_libdir_separator=:
7953
8061
      ;;
7954
8062
 
7955
 
    sco3.2v5*)
7956
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7957
 
      hardcode_shlibpath_var=no
7958
 
      export_dynamic_flag_spec='${wl}-Bexport'
7959
 
      runpath_var=LD_RUN_PATH
7960
 
      hardcode_runpath_var=yes
7961
 
      ;;
7962
 
 
7963
8063
    solaris*)
7964
8064
      no_undefined_flag=' -z text'
7965
8065
      if test "$GCC" = yes; then
8045
8145
      fi
8046
8146
      ;;
8047
8147
 
8048
 
    sysv4.2uw2*)
8049
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8050
 
      hardcode_direct=yes
8051
 
      hardcode_minus_L=no
8052
 
      hardcode_shlibpath_var=no
8053
 
      hardcode_runpath_var=yes
8054
 
      runpath_var=LD_RUN_PATH
8055
 
      ;;
8056
 
 
8057
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
8058
 
      no_undefined_flag='${wl}-z ${wl}text'
8059
 
      if test "$GCC" = yes; then
8060
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8061
 
      else
8062
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8063
 
      fi
8064
 
      runpath_var='LD_RUN_PATH'
8065
 
      hardcode_shlibpath_var=no
8066
 
      ;;
8067
 
 
8068
 
    sysv5*)
8069
 
      no_undefined_flag=' -z text'
8070
 
      # $CC -shared without GNU ld will not create a library from C++
8071
 
      # object files and a static libstdc++, better avoid it by now
8072
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8073
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8074
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8075
 
      hardcode_libdir_flag_spec=
8076
 
      hardcode_shlibpath_var=no
8077
 
      runpath_var='LD_RUN_PATH'
 
8148
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
8149
      no_undefined_flag='${wl}-z,text'
 
8150
      archive_cmds_need_lc=no
 
8151
      hardcode_shlibpath_var=no
 
8152
      runpath_var='LD_RUN_PATH'
 
8153
 
 
8154
      if test "$GCC" = yes; then
 
8155
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8156
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8157
      else
 
8158
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8159
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8160
      fi
 
8161
      ;;
 
8162
 
 
8163
    sysv5* | sco3.2v5* | sco5v6*)
 
8164
      # Note: We can NOT use -z defs as we might desire, because we do not
 
8165
      # link with -lc, and that would cause any symbols used from libc to
 
8166
      # always be unresolved, which means just about no library would
 
8167
      # ever link correctly.  If we're not using GNU ld we use -z text
 
8168
      # though, which does catch some bad symbols but isn't as heavy-handed
 
8169
      # as -z defs.
 
8170
      no_undefined_flag='${wl}-z,text'
 
8171
      allow_undefined_flag='${wl}-z,nodefs'
 
8172
      archive_cmds_need_lc=no
 
8173
      hardcode_shlibpath_var=no
 
8174
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
8175
      hardcode_libdir_separator=':'
 
8176
      link_all_deplibs=yes
 
8177
      export_dynamic_flag_spec='${wl}-Bexport'
 
8178
      runpath_var='LD_RUN_PATH'
 
8179
 
 
8180
      if test "$GCC" = yes; then
 
8181
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8182
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8183
      else
 
8184
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8185
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8186
      fi
8078
8187
      ;;
8079
8188
 
8080
8189
    uts4*)
8093
8202
echo "${ECHO_T}$ld_shlibs" >&6
8094
8203
test "$ld_shlibs" = no && can_build_shared=no
8095
8204
 
8096
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8097
 
if test "$GCC" = yes; then
8098
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8099
 
fi
8100
 
 
8101
8205
#
8102
8206
# Do we need to explicitly link libc?
8103
8207
#
8130
8234
        libobjs=conftest.$ac_objext
8131
8235
        deplibs=
8132
8236
        wl=$lt_prog_compiler_wl
 
8237
        pic_flag=$lt_prog_compiler_pic
8133
8238
        compiler_flags=-v
8134
8239
        linker_flags=-v
8135
8240
        verstring=
8367
8472
  dynamic_linker=no
8368
8473
  ;;
8369
8474
 
8370
 
kfreebsd*-gnu)
8371
 
  version_type=linux
8372
 
  need_lib_prefix=no
8373
 
  need_version=no
8374
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8375
 
  soname_spec='${libname}${release}${shared_ext}$major'
8376
 
  shlibpath_var=LD_LIBRARY_PATH
8377
 
  shlibpath_overrides_runpath=no
8378
 
  hardcode_into_libs=yes
8379
 
  dynamic_linker='GNU ld.so'
8380
 
  ;;
8381
 
 
8382
8475
freebsd* | dragonfly*)
8383
8476
  # DragonFly does not have aout.  When/if they implement a new
8384
8477
  # versioning mechanism, adjust this.
8411
8504
    shlibpath_overrides_runpath=yes
8412
8505
    hardcode_into_libs=yes
8413
8506
    ;;
8414
 
  *) # from 3.2 on
 
8507
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
8508
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8415
8509
    shlibpath_overrides_runpath=no
8416
8510
    hardcode_into_libs=yes
8417
8511
    ;;
 
8512
  freebsd*) # from 4.6 on
 
8513
    shlibpath_overrides_runpath=yes
 
8514
    hardcode_into_libs=yes
 
8515
    ;;
8418
8516
  esac
8419
8517
  ;;
8420
8518
 
8474
8572
  postinstall_cmds='chmod 555 $lib'
8475
8573
  ;;
8476
8574
 
 
8575
interix3*)
 
8576
  version_type=linux
 
8577
  need_lib_prefix=no
 
8578
  need_version=no
 
8579
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
8580
  soname_spec='${libname}${release}${shared_ext}$major'
 
8581
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
8582
  shlibpath_var=LD_LIBRARY_PATH
 
8583
  shlibpath_overrides_runpath=no
 
8584
  hardcode_into_libs=yes
 
8585
  ;;
 
8586
 
8477
8587
irix5* | irix6* | nonstopux*)
8478
8588
  case $host_os in
8479
8589
    nonstopux*) version_type=nonstopux ;;
8517
8627
  ;;
8518
8628
 
8519
8629
# This must be Linux ELF.
8520
 
linux*)
 
8630
linux* | k*bsd*-gnu)
8521
8631
  version_type=linux
8522
8632
  need_lib_prefix=no
8523
8633
  need_version=no
8558
8668
  dynamic_linker='NetBSD ld.elf_so'
8559
8669
  ;;
8560
8670
 
8561
 
knetbsd*-gnu)
8562
 
  version_type=linux
8563
 
  need_lib_prefix=no
8564
 
  need_version=no
8565
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8566
 
  soname_spec='${libname}${release}${shared_ext}$major'
8567
 
  shlibpath_var=LD_LIBRARY_PATH
8568
 
  shlibpath_overrides_runpath=no
8569
 
  hardcode_into_libs=yes
8570
 
  dynamic_linker='GNU ld.so'
8571
 
  ;;
8572
 
 
8573
8671
netbsd*)
8574
8672
  version_type=sunos
8575
8673
  need_lib_prefix=no
8607
8705
 
8608
8706
openbsd*)
8609
8707
  version_type=sunos
 
8708
  sys_lib_dlsearch_path_spec="/usr/lib"
8610
8709
  need_lib_prefix=no
8611
8710
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8612
8711
  case $host_os in
8650
8749
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8651
8750
  ;;
8652
8751
 
8653
 
sco3.2v5*)
8654
 
  version_type=osf
8655
 
  soname_spec='${libname}${release}${shared_ext}$major'
8656
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8657
 
  shlibpath_var=LD_LIBRARY_PATH
8658
 
  ;;
8659
 
 
8660
8752
solaris*)
8661
8753
  version_type=linux
8662
8754
  need_lib_prefix=no
8682
8774
  need_version=yes
8683
8775
  ;;
8684
8776
 
8685
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
8777
sysv4 | sysv4.3*)
8686
8778
  version_type=linux
8687
8779
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8688
8780
  soname_spec='${libname}${release}${shared_ext}$major'
8715
8807
  fi
8716
8808
  ;;
8717
8809
 
 
8810
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
8811
  version_type=freebsd-elf
 
8812
  need_lib_prefix=no
 
8813
  need_version=no
 
8814
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
8815
  soname_spec='${libname}${release}${shared_ext}$major'
 
8816
  shlibpath_var=LD_LIBRARY_PATH
 
8817
  hardcode_into_libs=yes
 
8818
  if test "$with_gnu_ld" = yes; then
 
8819
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
8820
    shlibpath_overrides_runpath=no
 
8821
  else
 
8822
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
8823
    shlibpath_overrides_runpath=yes
 
8824
    case $host_os in
 
8825
      sco3.2v5*)
 
8826
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
8827
        ;;
 
8828
    esac
 
8829
  fi
 
8830
  sys_lib_dlsearch_path_spec='/usr/lib'
 
8831
  ;;
 
8832
 
8718
8833
uts4*)
8719
8834
  version_type=linux
8720
8835
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8730
8845
echo "${ECHO_T}$dynamic_linker" >&6
8731
8846
test "$dynamic_linker" = no && can_build_shared=no
8732
8847
 
 
8848
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
8849
if test "$GCC" = yes; then
 
8850
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
8851
fi
 
8852
 
8733
8853
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8734
8854
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8735
8855
hardcode_action=
9378
9498
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9379
9499
 
9380
9500
    save_LDFLAGS="$LDFLAGS"
9381
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
9501
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9382
9502
 
9383
9503
    save_LIBS="$LIBS"
9384
9504
    LIBS="$lt_cv_dlopen_libs $LIBS"
9394
9514
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9395
9515
  lt_status=$lt_dlunknown
9396
9516
  cat > conftest.$ac_ext <<EOF
9397
 
#line 9397 "configure"
 
9517
#line 9517 "configure"
9398
9518
#include "confdefs.h"
9399
9519
 
9400
9520
#if HAVE_DLFCN_H
9451
9571
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9452
9572
      /* dlclose (self); */
9453
9573
    }
 
9574
  else
 
9575
    puts (dlerror ());
9454
9576
 
9455
9577
    exit (status);
9456
9578
}
9465
9587
    case x$lt_status in
9466
9588
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9467
9589
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9468
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
9590
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9469
9591
    esac
9470
9592
  else :
9471
9593
    # compilation failed
9480
9602
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9481
9603
 
9482
9604
    if test "x$lt_cv_dlopen_self" = xyes; then
9483
 
      LDFLAGS="$LDFLAGS $link_static_flag"
 
9605
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9484
9606
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9485
9607
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9486
9608
if test "${lt_cv_dlopen_self_static+set}" = set; then
9492
9614
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9493
9615
  lt_status=$lt_dlunknown
9494
9616
  cat > conftest.$ac_ext <<EOF
9495
 
#line 9495 "configure"
 
9617
#line 9617 "configure"
9496
9618
#include "confdefs.h"
9497
9619
 
9498
9620
#if HAVE_DLFCN_H
9549
9671
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9550
9672
      /* dlclose (self); */
9551
9673
    }
 
9674
  else
 
9675
    puts (dlerror ());
9552
9676
 
9553
9677
    exit (status);
9554
9678
}
9563
9687
    case x$lt_status in
9564
9688
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9565
9689
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9566
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
9690
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9567
9691
    esac
9568
9692
  else :
9569
9693
    # compilation failed
9596
9720
fi
9597
9721
 
9598
9722
 
9599
 
# Report which librarie types wil actually be built
 
9723
# Report which library types will actually be built
9600
9724
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9601
9725
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9602
9726
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9646
9770
  # Now quote all the things that may contain metacharacters while being
9647
9771
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9648
9772
  # variables and quote the copies for generation of the libtool script.
9649
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
9773
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9650
9774
    SED SHELL STRIP \
9651
9775
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9652
9776
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9812
9936
# A C compiler.
9813
9937
LTCC=$lt_LTCC
9814
9938
 
 
9939
# LTCC compiler flags.
 
9940
LTCFLAGS=$lt_LTCFLAGS
 
9941
 
9815
9942
# A language-specific compiler.
9816
9943
CC=$lt_compiler
9817
9944
 
10142
10269
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10143
10270
    fi
10144
10271
  fi
 
10272
  if test -z "$LTCFLAGS"; then
 
10273
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
10274
  fi
10145
10275
 
10146
10276
  # Extract list of available tagged configurations in $ofile.
10147
10277
  # Note that this assumes the entire list is on one line.
10194
10324
hardcode_libdir_flag_spec_ld_CXX=
10195
10325
hardcode_libdir_separator_CXX=
10196
10326
hardcode_minus_L_CXX=no
 
10327
hardcode_shlibpath_var_CXX=unsupported
10197
10328
hardcode_automatic_CXX=no
10198
10329
module_cmds_CXX=
10199
10330
module_expsym_cmds_CXX=
10221
10352
lt_simple_compile_test_code="int some_variable = 0;\n"
10222
10353
 
10223
10354
# Code to be used in simple link tests
10224
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
10355
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10225
10356
 
10226
10357
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10227
10358
 
10228
10359
# If no C compiler was specified, use CC.
10229
10360
LTCC=${LTCC-"$CC"}
10230
10361
 
 
10362
# If no C compiler flags were specified, use CFLAGS.
 
10363
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
10364
 
10231
10365
# Allow CC to be a program name with arguments.
10232
10366
compiler=$CC
10233
10367
 
10235
10369
# save warnings/boilerplate of simple test code
10236
10370
ac_outfile=conftest.$ac_objext
10237
10371
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10238
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
10372
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10239
10373
_lt_compiler_boilerplate=`cat conftest.err`
10240
10374
$rm conftest*
10241
10375
 
10242
10376
ac_outfile=conftest.$ac_objext
10243
10377
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10244
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
10378
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10245
10379
_lt_linker_boilerplate=`cat conftest.err`
10246
10380
$rm conftest*
10247
10381
 
10256
10390
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10257
10391
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10258
10392
else
10259
 
  unset lt_cv_prog_gnu_ld
 
10393
  $as_unset lt_cv_prog_gnu_ld
10260
10394
fi
10261
10395
if test -n "${lt_cv_path_LDCXX+set}"; then
10262
10396
  lt_cv_path_LD=$lt_cv_path_LDCXX
10263
10397
else
10264
 
  unset lt_cv_path_LD
 
10398
  $as_unset lt_cv_path_LD
10265
10399
fi
10266
10400
test -z "${LDCXX+set}" || LD=$LDCXX
10267
10401
CC=${CXX-"c++"}
10472
10606
            ;;
10473
10607
          esac
10474
10608
        done
 
10609
        ;;
10475
10610
      esac
10476
10611
 
10477
10612
      exp_sym_flag='-bexport'
10509
10644
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10510
10645
          hardcode_libdir_separator_CXX=
10511
10646
        fi
 
10647
        ;;
10512
10648
      esac
10513
10649
      shared_flag='-shared'
10514
10650
      if test "$aix_use_runtimelinking" = yes; then
10590
10726
 
10591
10727
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10592
10728
 
10593
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
10729
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10594
10730
     else
10595
10731
      if test "$host_cpu" = ia64; then
10596
10732
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10597
10733
        allow_undefined_flag_CXX="-z nodefs"
10598
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
10734
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10599
10735
      else
10600
10736
        # Determine the default libpath from the value encoded in an empty executable.
10601
10737
        cat >conftest.$ac_ext <<_ACEOF
10654
10790
        # -berok will link without error, but may produce a broken library.
10655
10791
        no_undefined_flag_CXX=' ${wl}-bernotok'
10656
10792
        allow_undefined_flag_CXX=' ${wl}-berok'
10657
 
        # -bexpall does not export symbols beginning with underscore (_)
10658
 
        always_export_symbols_CXX=yes
10659
10793
        # Exported symbols can be pulled into shared objects from archives
10660
 
        whole_archive_flag_spec_CXX=' '
 
10794
        whole_archive_flag_spec_CXX='$convenience'
10661
10795
        archive_cmds_need_lc_CXX=yes
10662
10796
        # This is similar to how AIX traditionally builds its shared libraries.
10663
 
        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'
 
10797
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10664
10798
      fi
10665
10799
    fi
10666
10800
    ;;
 
10801
 
 
10802
  beos*)
 
10803
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10804
      allow_undefined_flag_CXX=unsupported
 
10805
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
10806
      # support --undefined.  This deserves some investigation.  FIXME
 
10807
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10808
    else
 
10809
      ld_shlibs_CXX=no
 
10810
    fi
 
10811
    ;;
 
10812
 
10667
10813
  chorus*)
10668
10814
    case $cc_basename in
10669
10815
      *)
10673
10819
    esac
10674
10820
    ;;
10675
10821
 
10676
 
 
10677
10822
  cygwin* | mingw* | pw32*)
10678
10823
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10679
10824
    # as there is no search path for DLLs.
10683
10828
    enable_shared_with_static_runtimes_CXX=yes
10684
10829
 
10685
10830
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10686
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
10831
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10687
10832
      # If the export-symbols file already is a .def file (1st line
10688
10833
      # is EXPORTS), use it as is; otherwise, prepend...
10689
10834
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10692
10837
        echo EXPORTS > $output_objdir/$soname.def;
10693
10838
        cat $export_symbols >> $output_objdir/$soname.def;
10694
10839
      fi~
10695
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
10840
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10696
10841
    else
10697
10842
      ld_shlibs_CXX=no
10698
10843
    fi
10784
10929
  freebsd-elf*)
10785
10930
    archive_cmds_need_lc_CXX=no
10786
10931
    ;;
10787
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
10932
  freebsd* | dragonfly*)
10788
10933
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10789
10934
    # conventions
10790
10935
    ld_shlibs_CXX=yes
10829
10974
    ;;
10830
10975
  hpux10*|hpux11*)
10831
10976
    if test $with_gnu_ld = no; then
 
10977
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
10978
      hardcode_libdir_separator_CXX=:
 
10979
 
10832
10980
      case $host_cpu in
10833
 
      hppa*64*)
10834
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
10981
      hppa*64*|ia64*)
10835
10982
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10836
 
        hardcode_libdir_separator_CXX=:
10837
 
        ;;
10838
 
      ia64*)
10839
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
10840
10983
        ;;
10841
10984
      *)
10842
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10843
 
        hardcode_libdir_separator_CXX=:
10844
10985
        export_dynamic_flag_spec_CXX='${wl}-E'
10845
10986
        ;;
10846
10987
      esac
10847
10988
    fi
10848
10989
    case $host_cpu in
10849
 
    hppa*64*)
10850
 
      hardcode_direct_CXX=no
10851
 
      hardcode_shlibpath_var_CXX=no
10852
 
      ;;
10853
 
    ia64*)
10854
 
      hardcode_direct_CXX=no
10855
 
      hardcode_shlibpath_var_CXX=no
10856
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10857
 
                                              # but as the default
10858
 
                                              # location of the library.
 
10990
    hppa*64*|ia64*)
 
10991
      hardcode_direct_CXX=no
 
10992
      hardcode_shlibpath_var_CXX=no
10859
10993
      ;;
10860
10994
    *)
10861
10995
      hardcode_direct_CXX=yes
10872
11006
        ;;
10873
11007
      aCC*)
10874
11008
        case $host_cpu in
10875
 
        hppa*64*|ia64*)
10876
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11009
        hppa*64*)
 
11010
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11011
          ;;
 
11012
        ia64*)
 
11013
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10877
11014
          ;;
10878
11015
        *)
10879
11016
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10893
11030
        if test "$GXX" = yes; then
10894
11031
          if test $with_gnu_ld = no; then
10895
11032
            case $host_cpu in
10896
 
            ia64*|hppa*64*)
10897
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11033
            hppa*64*)
 
11034
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11035
              ;;
 
11036
            ia64*)
 
11037
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10898
11038
              ;;
10899
11039
            *)
10900
11040
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10908
11048
        ;;
10909
11049
    esac
10910
11050
    ;;
 
11051
  interix3*)
 
11052
    hardcode_direct_CXX=no
 
11053
    hardcode_shlibpath_var_CXX=no
 
11054
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11055
    export_dynamic_flag_spec_CXX='${wl}-E'
 
11056
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
11057
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
11058
    # default) and relocated if they conflict, which is a slow very memory
 
11059
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
11060
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
11061
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
11062
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11063
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11064
    ;;
10911
11065
  irix5* | irix6*)
10912
11066
    case $cc_basename in
10913
11067
      CC*)
10934
11088
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10935
11089
    hardcode_libdir_separator_CXX=:
10936
11090
    ;;
10937
 
  linux*)
 
11091
  linux* | k*bsd*-gnu)
10938
11092
    case $cc_basename in
10939
11093
      KCC*)
10940
11094
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11036
11190
        ;;
11037
11191
    esac
11038
11192
    ;;
11039
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
11193
  netbsd* | netbsdelf*-gnu)
11040
11194
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11041
11195
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11042
11196
      wlarc=
11190
11344
    # FIXME: insert proper C++ library support
11191
11345
    ld_shlibs_CXX=no
11192
11346
    ;;
11193
 
  sco*)
11194
 
    archive_cmds_need_lc_CXX=no
11195
 
    case $cc_basename in
11196
 
      CC*)
11197
 
        # FIXME: insert proper C++ library support
11198
 
        ld_shlibs_CXX=no
11199
 
        ;;
11200
 
      *)
11201
 
        # FIXME: insert proper C++ library support
11202
 
        ld_shlibs_CXX=no
11203
 
        ;;
11204
 
    esac
11205
 
    ;;
11206
11347
  sunos4*)
11207
11348
    case $cc_basename in
11208
11349
      CC*)
11295
11436
        ;;
11296
11437
    esac
11297
11438
    ;;
11298
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11299
 
    archive_cmds_need_lc_CXX=no
 
11439
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11440
    no_undefined_flag_CXX='${wl}-z,text'
 
11441
    archive_cmds_need_lc_CXX=no
 
11442
    hardcode_shlibpath_var_CXX=no
 
11443
    runpath_var='LD_RUN_PATH'
 
11444
 
 
11445
    case $cc_basename in
 
11446
      CC*)
 
11447
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11448
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11449
        ;;
 
11450
      *)
 
11451
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11452
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11453
        ;;
 
11454
    esac
 
11455
    ;;
 
11456
  sysv5* | sco3.2v5* | sco5v6*)
 
11457
    # Note: We can NOT use -z defs as we might desire, because we do not
 
11458
    # link with -lc, and that would cause any symbols used from libc to
 
11459
    # always be unresolved, which means just about no library would
 
11460
    # ever link correctly.  If we're not using GNU ld we use -z text
 
11461
    # though, which does catch some bad symbols but isn't as heavy-handed
 
11462
    # as -z defs.
 
11463
    # For security reasons, it is highly recommended that you always
 
11464
    # use absolute paths for naming shared libraries, and exclude the
 
11465
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
11466
    # requires that you compile everything twice, which is a pain.
 
11467
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
11468
    # non-empty value in the environment.  Most likely only useful for
 
11469
    # creating official distributions of packages.
 
11470
    # This is a hack until libtool officially supports absolute path
 
11471
    # names for shared libraries.
 
11472
    no_undefined_flag_CXX='${wl}-z,text'
 
11473
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
11474
    archive_cmds_need_lc_CXX=no
 
11475
    hardcode_shlibpath_var_CXX=no
 
11476
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
11477
    hardcode_libdir_separator_CXX=':'
 
11478
    link_all_deplibs_CXX=yes
 
11479
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
11480
    runpath_var='LD_RUN_PATH'
 
11481
 
 
11482
    case $cc_basename in
 
11483
      CC*)
 
11484
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11485
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11486
        ;;
 
11487
      *)
 
11488
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11489
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11490
        ;;
 
11491
    esac
11300
11492
    ;;
11301
11493
  tandem*)
11302
11494
    case $cc_basename in
11431
11623
 
11432
11624
# PORTME: override above test on systems where it is broken
11433
11625
case $host_os in
 
11626
interix3*)
 
11627
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
11628
  # hack all around it, let's just trust "g++" to DTRT.
 
11629
  predep_objects_CXX=
 
11630
  postdep_objects_CXX=
 
11631
  postdeps_CXX=
 
11632
  ;;
 
11633
 
11434
11634
solaris*)
11435
11635
  case $cc_basename in
11436
11636
  CC*)
11440
11640
    postdeps_CXX='-lCstd -lCrun'
11441
11641
    ;;
11442
11642
  esac
 
11643
  ;;
11443
11644
esac
11444
11645
 
11445
11646
 
11490
11691
      # DJGPP does not support shared libraries at all
11491
11692
      lt_prog_compiler_pic_CXX=
11492
11693
      ;;
 
11694
    interix3*)
 
11695
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
11696
      # Instead, we relocate shared libraries at runtime.
 
11697
      ;;
11493
11698
    sysv4*MP*)
11494
11699
      if test -d /usr/nec; then
11495
11700
        lt_prog_compiler_pic_CXX=-Kconform_pic
11552
11757
            ;;
11553
11758
        esac
11554
11759
        ;;
11555
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
11760
      freebsd* | dragonfly*)
11556
11761
        # FreeBSD uses GNU C++
11557
11762
        ;;
11558
11763
      hpux9* | hpux10* | hpux11*)
11559
11764
        case $cc_basename in
11560
11765
          CC*)
11561
11766
            lt_prog_compiler_wl_CXX='-Wl,'
11562
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
11767
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11563
11768
            if test "$host_cpu" != ia64; then
11564
11769
              lt_prog_compiler_pic_CXX='+Z'
11565
11770
            fi
11566
11771
            ;;
11567
11772
          aCC*)
11568
11773
            lt_prog_compiler_wl_CXX='-Wl,'
11569
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
11774
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11570
11775
            case $host_cpu in
11571
11776
            hppa*64*|ia64*)
11572
11777
              # +Z the default
11580
11785
            ;;
11581
11786
        esac
11582
11787
        ;;
 
11788
      interix*)
 
11789
        # This is c89, which is MS Visual C++ (no shared libs)
 
11790
        # Anyone wants to do a port?
 
11791
        ;;
11583
11792
      irix5* | irix6* | nonstopux*)
11584
11793
        case $cc_basename in
11585
11794
          CC*)
11591
11800
            ;;
11592
11801
        esac
11593
11802
        ;;
11594
 
      linux*)
 
11803
      linux* | k*bsd*-gnu)
11595
11804
        case $cc_basename in
11596
11805
          KCC*)
11597
11806
            # KAI C++ Compiler
11634
11843
            ;;
11635
11844
        esac
11636
11845
        ;;
11637
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
11846
      netbsd* | netbsdelf*-gnu)
11638
11847
        ;;
11639
11848
      osf3* | osf4* | osf5*)
11640
11849
        case $cc_basename in
11659
11868
        ;;
11660
11869
      psos*)
11661
11870
        ;;
11662
 
      sco*)
11663
 
        case $cc_basename in
11664
 
          CC*)
11665
 
            lt_prog_compiler_pic_CXX='-fPIC'
11666
 
            ;;
11667
 
          *)
11668
 
            ;;
11669
 
        esac
11670
 
        ;;
11671
11871
      solaris*)
11672
11872
        case $cc_basename in
11673
11873
          CC*)
11709
11909
            ;;
11710
11910
        esac
11711
11911
        ;;
11712
 
      unixware*)
 
11912
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
11913
        case $cc_basename in
 
11914
          CC*)
 
11915
            lt_prog_compiler_wl_CXX='-Wl,'
 
11916
            lt_prog_compiler_pic_CXX='-KPIC'
 
11917
            lt_prog_compiler_static_CXX='-Bstatic'
 
11918
            ;;
 
11919
        esac
11713
11920
        ;;
11714
11921
      vxworks*)
11715
11922
        ;;
11745
11952
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11746
11953
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11747
11954
   -e 's:$: $lt_compiler_flag:'`
11748
 
   (eval echo "\"\$as_me:11748: $lt_compile\"" >&5)
 
11955
   (eval echo "\"\$as_me:11955: $lt_compile\"" >&5)
11749
11956
   (eval "$lt_compile" 2>conftest.err)
11750
11957
   ac_status=$?
11751
11958
   cat conftest.err >&5
11752
 
   echo "$as_me:11752: \$? = $ac_status" >&5
 
11959
   echo "$as_me:11959: \$? = $ac_status" >&5
11753
11960
   if (exit $ac_status) && test -s "$ac_outfile"; then
11754
11961
     # The compiler can only warn and ignore the option if not recognized
11755
11962
     # So say no if there are warnings other than the usual output.
11756
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
11757
 
     $SED '/^$/d' conftest.err >conftest.er2
11758
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
11963
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
11964
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11965
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11759
11966
       lt_prog_compiler_pic_works_CXX=yes
11760
11967
     fi
11761
11968
   fi
11786
11993
    ;;
11787
11994
esac
11788
11995
 
 
11996
#
 
11997
# Check to make sure the static flag actually works.
 
11998
#
 
11999
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
12000
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12001
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
12002
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
12003
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12004
else
 
12005
  lt_prog_compiler_static_works_CXX=no
 
12006
   save_LDFLAGS="$LDFLAGS"
 
12007
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
12008
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
12009
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
12010
     # The linker can only warn and ignore the option if not recognized
 
12011
     # So say no if there are warnings
 
12012
     if test -s conftest.err; then
 
12013
       # Append any errors to the config.log.
 
12014
       cat conftest.err 1>&5
 
12015
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
12016
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12017
       if diff conftest.exp conftest.er2 >/dev/null; then
 
12018
         lt_prog_compiler_static_works_CXX=yes
 
12019
       fi
 
12020
     else
 
12021
       lt_prog_compiler_static_works_CXX=yes
 
12022
     fi
 
12023
   fi
 
12024
   $rm conftest*
 
12025
   LDFLAGS="$save_LDFLAGS"
 
12026
 
 
12027
fi
 
12028
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12029
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
12030
 
 
12031
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12032
    :
 
12033
else
 
12034
    lt_prog_compiler_static_CXX=
 
12035
fi
 
12036
 
 
12037
 
11789
12038
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11790
12039
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11791
12040
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11807
12056
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11808
12057
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11809
12058
   -e 's:$: $lt_compiler_flag:'`
11810
 
   (eval echo "\"\$as_me:11810: $lt_compile\"" >&5)
 
12059
   (eval echo "\"\$as_me:12059: $lt_compile\"" >&5)
11811
12060
   (eval "$lt_compile" 2>out/conftest.err)
11812
12061
   ac_status=$?
11813
12062
   cat out/conftest.err >&5
11814
 
   echo "$as_me:11814: \$? = $ac_status" >&5
 
12063
   echo "$as_me:12063: \$? = $ac_status" >&5
11815
12064
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11816
12065
   then
11817
12066
     # The compiler can only warn and ignore the option if not recognized
11818
12067
     # So say no if there are warnings
11819
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
11820
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
11821
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
12068
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
12069
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
12070
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11822
12071
       lt_cv_prog_compiler_c_o_CXX=yes
11823
12072
     fi
11824
12073
   fi
11879
12128
  cygwin* | mingw*)
11880
12129
    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'
11881
12130
  ;;
11882
 
  linux*)
 
12131
  linux* | k*bsd*-gnu)
11883
12132
    link_all_deplibs_CXX=no
11884
12133
  ;;
11885
12134
  *)
11891
12140
echo "${ECHO_T}$ld_shlibs_CXX" >&6
11892
12141
test "$ld_shlibs_CXX" = no && can_build_shared=no
11893
12142
 
11894
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11895
 
if test "$GCC" = yes; then
11896
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11897
 
fi
11898
 
 
11899
12143
#
11900
12144
# Do we need to explicitly link libc?
11901
12145
#
11928
12172
        libobjs=conftest.$ac_objext
11929
12173
        deplibs=
11930
12174
        wl=$lt_prog_compiler_wl_CXX
 
12175
        pic_flag=$lt_prog_compiler_pic_CXX
11931
12176
        compiler_flags=-v
11932
12177
        linker_flags=-v
11933
12178
        verstring=
12165
12410
  dynamic_linker=no
12166
12411
  ;;
12167
12412
 
12168
 
kfreebsd*-gnu)
12169
 
  version_type=linux
12170
 
  need_lib_prefix=no
12171
 
  need_version=no
12172
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12173
 
  soname_spec='${libname}${release}${shared_ext}$major'
12174
 
  shlibpath_var=LD_LIBRARY_PATH
12175
 
  shlibpath_overrides_runpath=no
12176
 
  hardcode_into_libs=yes
12177
 
  dynamic_linker='GNU ld.so'
12178
 
  ;;
12179
 
 
12180
12413
freebsd* | dragonfly*)
12181
12414
  # DragonFly does not have aout.  When/if they implement a new
12182
12415
  # versioning mechanism, adjust this.
12209
12442
    shlibpath_overrides_runpath=yes
12210
12443
    hardcode_into_libs=yes
12211
12444
    ;;
12212
 
  *) # from 3.2 on
 
12445
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
12446
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12213
12447
    shlibpath_overrides_runpath=no
12214
12448
    hardcode_into_libs=yes
12215
12449
    ;;
 
12450
  freebsd*) # from 4.6 on
 
12451
    shlibpath_overrides_runpath=yes
 
12452
    hardcode_into_libs=yes
 
12453
    ;;
12216
12454
  esac
12217
12455
  ;;
12218
12456
 
12272
12510
  postinstall_cmds='chmod 555 $lib'
12273
12511
  ;;
12274
12512
 
 
12513
interix3*)
 
12514
  version_type=linux
 
12515
  need_lib_prefix=no
 
12516
  need_version=no
 
12517
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12518
  soname_spec='${libname}${release}${shared_ext}$major'
 
12519
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12520
  shlibpath_var=LD_LIBRARY_PATH
 
12521
  shlibpath_overrides_runpath=no
 
12522
  hardcode_into_libs=yes
 
12523
  ;;
 
12524
 
12275
12525
irix5* | irix6* | nonstopux*)
12276
12526
  case $host_os in
12277
12527
    nonstopux*) version_type=nonstopux ;;
12315
12565
  ;;
12316
12566
 
12317
12567
# This must be Linux ELF.
12318
 
linux*)
 
12568
linux* | k*bsd*-gnu)
12319
12569
  version_type=linux
12320
12570
  need_lib_prefix=no
12321
12571
  need_version=no
12356
12606
  dynamic_linker='NetBSD ld.elf_so'
12357
12607
  ;;
12358
12608
 
12359
 
knetbsd*-gnu)
12360
 
  version_type=linux
12361
 
  need_lib_prefix=no
12362
 
  need_version=no
12363
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12364
 
  soname_spec='${libname}${release}${shared_ext}$major'
12365
 
  shlibpath_var=LD_LIBRARY_PATH
12366
 
  shlibpath_overrides_runpath=no
12367
 
  hardcode_into_libs=yes
12368
 
  dynamic_linker='GNU ld.so'
12369
 
  ;;
12370
 
 
12371
12609
netbsd*)
12372
12610
  version_type=sunos
12373
12611
  need_lib_prefix=no
12405
12643
 
12406
12644
openbsd*)
12407
12645
  version_type=sunos
 
12646
  sys_lib_dlsearch_path_spec="/usr/lib"
12408
12647
  need_lib_prefix=no
12409
12648
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12410
12649
  case $host_os in
12448
12687
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12449
12688
  ;;
12450
12689
 
12451
 
sco3.2v5*)
12452
 
  version_type=osf
12453
 
  soname_spec='${libname}${release}${shared_ext}$major'
12454
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12455
 
  shlibpath_var=LD_LIBRARY_PATH
12456
 
  ;;
12457
 
 
12458
12690
solaris*)
12459
12691
  version_type=linux
12460
12692
  need_lib_prefix=no
12480
12712
  need_version=yes
12481
12713
  ;;
12482
12714
 
12483
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
12715
sysv4 | sysv4.3*)
12484
12716
  version_type=linux
12485
12717
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12486
12718
  soname_spec='${libname}${release}${shared_ext}$major'
12513
12745
  fi
12514
12746
  ;;
12515
12747
 
 
12748
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
12749
  version_type=freebsd-elf
 
12750
  need_lib_prefix=no
 
12751
  need_version=no
 
12752
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12753
  soname_spec='${libname}${release}${shared_ext}$major'
 
12754
  shlibpath_var=LD_LIBRARY_PATH
 
12755
  hardcode_into_libs=yes
 
12756
  if test "$with_gnu_ld" = yes; then
 
12757
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
12758
    shlibpath_overrides_runpath=no
 
12759
  else
 
12760
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
12761
    shlibpath_overrides_runpath=yes
 
12762
    case $host_os in
 
12763
      sco3.2v5*)
 
12764
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
12765
        ;;
 
12766
    esac
 
12767
  fi
 
12768
  sys_lib_dlsearch_path_spec='/usr/lib'
 
12769
  ;;
 
12770
 
12516
12771
uts4*)
12517
12772
  version_type=linux
12518
12773
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12528
12783
echo "${ECHO_T}$dynamic_linker" >&6
12529
12784
test "$dynamic_linker" = no && can_build_shared=no
12530
12785
 
 
12786
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
12787
if test "$GCC" = yes; then
 
12788
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
12789
fi
 
12790
 
12531
12791
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12532
12792
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12533
12793
hardcode_action_CXX=
12565
12825
  enable_fast_install=needless
12566
12826
fi
12567
12827
 
12568
 
striplib=
12569
 
old_striplib=
12570
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12571
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12572
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12573
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12574
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12575
 
  echo "$as_me:$LINENO: result: yes" >&5
12576
 
echo "${ECHO_T}yes" >&6
12577
 
else
12578
 
# FIXME - insert some real tests, host_os isn't really good enough
12579
 
  case $host_os in
12580
 
   darwin*)
12581
 
       if test -n "$STRIP" ; then
12582
 
         striplib="$STRIP -x"
12583
 
         echo "$as_me:$LINENO: result: yes" >&5
12584
 
echo "${ECHO_T}yes" >&6
12585
 
       else
12586
 
  echo "$as_me:$LINENO: result: no" >&5
12587
 
echo "${ECHO_T}no" >&6
12588
 
fi
12589
 
       ;;
12590
 
   *)
12591
 
  echo "$as_me:$LINENO: result: no" >&5
12592
 
echo "${ECHO_T}no" >&6
12593
 
    ;;
12594
 
  esac
12595
 
fi
12596
 
 
12597
 
if test "x$enable_dlopen" != xyes; then
12598
 
  enable_dlopen=unknown
12599
 
  enable_dlopen_self=unknown
12600
 
  enable_dlopen_self_static=unknown
12601
 
else
12602
 
  lt_cv_dlopen=no
12603
 
  lt_cv_dlopen_libs=
12604
 
 
12605
 
  case $host_os in
12606
 
  beos*)
12607
 
    lt_cv_dlopen="load_add_on"
12608
 
    lt_cv_dlopen_libs=
12609
 
    lt_cv_dlopen_self=yes
12610
 
    ;;
12611
 
 
12612
 
  mingw* | pw32*)
12613
 
    lt_cv_dlopen="LoadLibrary"
12614
 
    lt_cv_dlopen_libs=
12615
 
   ;;
12616
 
 
12617
 
  cygwin*)
12618
 
    lt_cv_dlopen="dlopen"
12619
 
    lt_cv_dlopen_libs=
12620
 
   ;;
12621
 
 
12622
 
  darwin*)
12623
 
  # if libdl is installed we need to link against it
12624
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12625
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12626
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12627
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12628
 
else
12629
 
  ac_check_lib_save_LIBS=$LIBS
12630
 
LIBS="-ldl  $LIBS"
12631
 
cat >conftest.$ac_ext <<_ACEOF
12632
 
/* confdefs.h.  */
12633
 
_ACEOF
12634
 
cat confdefs.h >>conftest.$ac_ext
12635
 
cat >>conftest.$ac_ext <<_ACEOF
12636
 
/* end confdefs.h.  */
12637
 
 
12638
 
/* Override any gcc2 internal prototype to avoid an error.  */
12639
 
#ifdef __cplusplus
12640
 
extern "C"
12641
 
#endif
12642
 
/* We use char because int might match the return type of a gcc2
12643
 
   builtin and then its argument prototype would still apply.  */
12644
 
char dlopen ();
12645
 
int
12646
 
main ()
12647
 
{
12648
 
dlopen ();
12649
 
  ;
12650
 
  return 0;
12651
 
}
12652
 
_ACEOF
12653
 
rm -f conftest.$ac_objext conftest$ac_exeext
12654
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12655
 
  (eval $ac_link) 2>conftest.er1
12656
 
  ac_status=$?
12657
 
  grep -v '^ *+' conftest.er1 >conftest.err
12658
 
  rm -f conftest.er1
12659
 
  cat conftest.err >&5
12660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661
 
  (exit $ac_status); } &&
12662
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12663
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12664
 
  (eval $ac_try) 2>&5
12665
 
  ac_status=$?
12666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667
 
  (exit $ac_status); }; } &&
12668
 
         { ac_try='test -s conftest$ac_exeext'
12669
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12670
 
  (eval $ac_try) 2>&5
12671
 
  ac_status=$?
12672
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673
 
  (exit $ac_status); }; }; then
12674
 
  ac_cv_lib_dl_dlopen=yes
12675
 
else
12676
 
  echo "$as_me: failed program was:" >&5
12677
 
sed 's/^/| /' conftest.$ac_ext >&5
12678
 
 
12679
 
ac_cv_lib_dl_dlopen=no
12680
 
fi
12681
 
rm -f conftest.err conftest.$ac_objext \
12682
 
      conftest$ac_exeext conftest.$ac_ext
12683
 
LIBS=$ac_check_lib_save_LIBS
12684
 
fi
12685
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12686
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12687
 
if test $ac_cv_lib_dl_dlopen = yes; then
12688
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12689
 
else
12690
 
 
12691
 
    lt_cv_dlopen="dyld"
12692
 
    lt_cv_dlopen_libs=
12693
 
    lt_cv_dlopen_self=yes
12694
 
 
12695
 
fi
12696
 
 
12697
 
   ;;
12698
 
 
12699
 
  *)
12700
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
12701
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12702
 
if test "${ac_cv_func_shl_load+set}" = set; then
12703
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12704
 
else
12705
 
  cat >conftest.$ac_ext <<_ACEOF
12706
 
/* confdefs.h.  */
12707
 
_ACEOF
12708
 
cat confdefs.h >>conftest.$ac_ext
12709
 
cat >>conftest.$ac_ext <<_ACEOF
12710
 
/* end confdefs.h.  */
12711
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12712
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12713
 
#define shl_load innocuous_shl_load
12714
 
 
12715
 
/* System header to define __stub macros and hopefully few prototypes,
12716
 
    which can conflict with char shl_load (); below.
12717
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12718
 
    <limits.h> exists even on freestanding compilers.  */
12719
 
 
12720
 
#ifdef __STDC__
12721
 
# include <limits.h>
12722
 
#else
12723
 
# include <assert.h>
12724
 
#endif
12725
 
 
12726
 
#undef shl_load
12727
 
 
12728
 
/* Override any gcc2 internal prototype to avoid an error.  */
12729
 
#ifdef __cplusplus
12730
 
extern "C"
12731
 
{
12732
 
#endif
12733
 
/* We use char because int might match the return type of a gcc2
12734
 
   builtin and then its argument prototype would still apply.  */
12735
 
char shl_load ();
12736
 
/* The GNU C library defines this for functions which it implements
12737
 
    to always fail with ENOSYS.  Some functions are actually named
12738
 
    something starting with __ and the normal name is an alias.  */
12739
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12740
 
choke me
12741
 
#else
12742
 
char (*f) () = shl_load;
12743
 
#endif
12744
 
#ifdef __cplusplus
12745
 
}
12746
 
#endif
12747
 
 
12748
 
int
12749
 
main ()
12750
 
{
12751
 
return f != shl_load;
12752
 
  ;
12753
 
  return 0;
12754
 
}
12755
 
_ACEOF
12756
 
rm -f conftest.$ac_objext conftest$ac_exeext
12757
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12758
 
  (eval $ac_link) 2>conftest.er1
12759
 
  ac_status=$?
12760
 
  grep -v '^ *+' conftest.er1 >conftest.err
12761
 
  rm -f conftest.er1
12762
 
  cat conftest.err >&5
12763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764
 
  (exit $ac_status); } &&
12765
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12766
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12767
 
  (eval $ac_try) 2>&5
12768
 
  ac_status=$?
12769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770
 
  (exit $ac_status); }; } &&
12771
 
         { ac_try='test -s conftest$ac_exeext'
12772
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773
 
  (eval $ac_try) 2>&5
12774
 
  ac_status=$?
12775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776
 
  (exit $ac_status); }; }; then
12777
 
  ac_cv_func_shl_load=yes
12778
 
else
12779
 
  echo "$as_me: failed program was:" >&5
12780
 
sed 's/^/| /' conftest.$ac_ext >&5
12781
 
 
12782
 
ac_cv_func_shl_load=no
12783
 
fi
12784
 
rm -f conftest.err conftest.$ac_objext \
12785
 
      conftest$ac_exeext conftest.$ac_ext
12786
 
fi
12787
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12788
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12789
 
if test $ac_cv_func_shl_load = yes; then
12790
 
  lt_cv_dlopen="shl_load"
12791
 
else
12792
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12793
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12794
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12796
 
else
12797
 
  ac_check_lib_save_LIBS=$LIBS
12798
 
LIBS="-ldld  $LIBS"
12799
 
cat >conftest.$ac_ext <<_ACEOF
12800
 
/* confdefs.h.  */
12801
 
_ACEOF
12802
 
cat confdefs.h >>conftest.$ac_ext
12803
 
cat >>conftest.$ac_ext <<_ACEOF
12804
 
/* end confdefs.h.  */
12805
 
 
12806
 
/* Override any gcc2 internal prototype to avoid an error.  */
12807
 
#ifdef __cplusplus
12808
 
extern "C"
12809
 
#endif
12810
 
/* We use char because int might match the return type of a gcc2
12811
 
   builtin and then its argument prototype would still apply.  */
12812
 
char shl_load ();
12813
 
int
12814
 
main ()
12815
 
{
12816
 
shl_load ();
12817
 
  ;
12818
 
  return 0;
12819
 
}
12820
 
_ACEOF
12821
 
rm -f conftest.$ac_objext conftest$ac_exeext
12822
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12823
 
  (eval $ac_link) 2>conftest.er1
12824
 
  ac_status=$?
12825
 
  grep -v '^ *+' conftest.er1 >conftest.err
12826
 
  rm -f conftest.er1
12827
 
  cat conftest.err >&5
12828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829
 
  (exit $ac_status); } &&
12830
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12831
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832
 
  (eval $ac_try) 2>&5
12833
 
  ac_status=$?
12834
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835
 
  (exit $ac_status); }; } &&
12836
 
         { ac_try='test -s conftest$ac_exeext'
12837
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838
 
  (eval $ac_try) 2>&5
12839
 
  ac_status=$?
12840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841
 
  (exit $ac_status); }; }; then
12842
 
  ac_cv_lib_dld_shl_load=yes
12843
 
else
12844
 
  echo "$as_me: failed program was:" >&5
12845
 
sed 's/^/| /' conftest.$ac_ext >&5
12846
 
 
12847
 
ac_cv_lib_dld_shl_load=no
12848
 
fi
12849
 
rm -f conftest.err conftest.$ac_objext \
12850
 
      conftest$ac_exeext conftest.$ac_ext
12851
 
LIBS=$ac_check_lib_save_LIBS
12852
 
fi
12853
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12854
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12855
 
if test $ac_cv_lib_dld_shl_load = yes; then
12856
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12857
 
else
12858
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12859
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12860
 
if test "${ac_cv_func_dlopen+set}" = set; then
12861
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12862
 
else
12863
 
  cat >conftest.$ac_ext <<_ACEOF
12864
 
/* confdefs.h.  */
12865
 
_ACEOF
12866
 
cat confdefs.h >>conftest.$ac_ext
12867
 
cat >>conftest.$ac_ext <<_ACEOF
12868
 
/* end confdefs.h.  */
12869
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12870
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12871
 
#define dlopen innocuous_dlopen
12872
 
 
12873
 
/* System header to define __stub macros and hopefully few prototypes,
12874
 
    which can conflict with char dlopen (); below.
12875
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12876
 
    <limits.h> exists even on freestanding compilers.  */
12877
 
 
12878
 
#ifdef __STDC__
12879
 
# include <limits.h>
12880
 
#else
12881
 
# include <assert.h>
12882
 
#endif
12883
 
 
12884
 
#undef dlopen
12885
 
 
12886
 
/* Override any gcc2 internal prototype to avoid an error.  */
12887
 
#ifdef __cplusplus
12888
 
extern "C"
12889
 
{
12890
 
#endif
12891
 
/* We use char because int might match the return type of a gcc2
12892
 
   builtin and then its argument prototype would still apply.  */
12893
 
char dlopen ();
12894
 
/* The GNU C library defines this for functions which it implements
12895
 
    to always fail with ENOSYS.  Some functions are actually named
12896
 
    something starting with __ and the normal name is an alias.  */
12897
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12898
 
choke me
12899
 
#else
12900
 
char (*f) () = dlopen;
12901
 
#endif
12902
 
#ifdef __cplusplus
12903
 
}
12904
 
#endif
12905
 
 
12906
 
int
12907
 
main ()
12908
 
{
12909
 
return f != dlopen;
12910
 
  ;
12911
 
  return 0;
12912
 
}
12913
 
_ACEOF
12914
 
rm -f conftest.$ac_objext conftest$ac_exeext
12915
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12916
 
  (eval $ac_link) 2>conftest.er1
12917
 
  ac_status=$?
12918
 
  grep -v '^ *+' conftest.er1 >conftest.err
12919
 
  rm -f conftest.er1
12920
 
  cat conftest.err >&5
12921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922
 
  (exit $ac_status); } &&
12923
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12924
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925
 
  (eval $ac_try) 2>&5
12926
 
  ac_status=$?
12927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928
 
  (exit $ac_status); }; } &&
12929
 
         { ac_try='test -s conftest$ac_exeext'
12930
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931
 
  (eval $ac_try) 2>&5
12932
 
  ac_status=$?
12933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934
 
  (exit $ac_status); }; }; then
12935
 
  ac_cv_func_dlopen=yes
12936
 
else
12937
 
  echo "$as_me: failed program was:" >&5
12938
 
sed 's/^/| /' conftest.$ac_ext >&5
12939
 
 
12940
 
ac_cv_func_dlopen=no
12941
 
fi
12942
 
rm -f conftest.err conftest.$ac_objext \
12943
 
      conftest$ac_exeext conftest.$ac_ext
12944
 
fi
12945
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12946
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12947
 
if test $ac_cv_func_dlopen = yes; then
12948
 
  lt_cv_dlopen="dlopen"
12949
 
else
12950
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12951
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12952
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12954
 
else
12955
 
  ac_check_lib_save_LIBS=$LIBS
12956
 
LIBS="-ldl  $LIBS"
12957
 
cat >conftest.$ac_ext <<_ACEOF
12958
 
/* confdefs.h.  */
12959
 
_ACEOF
12960
 
cat confdefs.h >>conftest.$ac_ext
12961
 
cat >>conftest.$ac_ext <<_ACEOF
12962
 
/* end confdefs.h.  */
12963
 
 
12964
 
/* Override any gcc2 internal prototype to avoid an error.  */
12965
 
#ifdef __cplusplus
12966
 
extern "C"
12967
 
#endif
12968
 
/* We use char because int might match the return type of a gcc2
12969
 
   builtin and then its argument prototype would still apply.  */
12970
 
char dlopen ();
12971
 
int
12972
 
main ()
12973
 
{
12974
 
dlopen ();
12975
 
  ;
12976
 
  return 0;
12977
 
}
12978
 
_ACEOF
12979
 
rm -f conftest.$ac_objext conftest$ac_exeext
12980
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12981
 
  (eval $ac_link) 2>conftest.er1
12982
 
  ac_status=$?
12983
 
  grep -v '^ *+' conftest.er1 >conftest.err
12984
 
  rm -f conftest.er1
12985
 
  cat conftest.err >&5
12986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987
 
  (exit $ac_status); } &&
12988
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12989
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990
 
  (eval $ac_try) 2>&5
12991
 
  ac_status=$?
12992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993
 
  (exit $ac_status); }; } &&
12994
 
         { ac_try='test -s conftest$ac_exeext'
12995
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996
 
  (eval $ac_try) 2>&5
12997
 
  ac_status=$?
12998
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999
 
  (exit $ac_status); }; }; then
13000
 
  ac_cv_lib_dl_dlopen=yes
13001
 
else
13002
 
  echo "$as_me: failed program was:" >&5
13003
 
sed 's/^/| /' conftest.$ac_ext >&5
13004
 
 
13005
 
ac_cv_lib_dl_dlopen=no
13006
 
fi
13007
 
rm -f conftest.err conftest.$ac_objext \
13008
 
      conftest$ac_exeext conftest.$ac_ext
13009
 
LIBS=$ac_check_lib_save_LIBS
13010
 
fi
13011
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13012
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13013
 
if test $ac_cv_lib_dl_dlopen = yes; then
13014
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13015
 
else
13016
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13017
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13018
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13019
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13020
 
else
13021
 
  ac_check_lib_save_LIBS=$LIBS
13022
 
LIBS="-lsvld  $LIBS"
13023
 
cat >conftest.$ac_ext <<_ACEOF
13024
 
/* confdefs.h.  */
13025
 
_ACEOF
13026
 
cat confdefs.h >>conftest.$ac_ext
13027
 
cat >>conftest.$ac_ext <<_ACEOF
13028
 
/* end confdefs.h.  */
13029
 
 
13030
 
/* Override any gcc2 internal prototype to avoid an error.  */
13031
 
#ifdef __cplusplus
13032
 
extern "C"
13033
 
#endif
13034
 
/* We use char because int might match the return type of a gcc2
13035
 
   builtin and then its argument prototype would still apply.  */
13036
 
char dlopen ();
13037
 
int
13038
 
main ()
13039
 
{
13040
 
dlopen ();
13041
 
  ;
13042
 
  return 0;
13043
 
}
13044
 
_ACEOF
13045
 
rm -f conftest.$ac_objext conftest$ac_exeext
13046
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13047
 
  (eval $ac_link) 2>conftest.er1
13048
 
  ac_status=$?
13049
 
  grep -v '^ *+' conftest.er1 >conftest.err
13050
 
  rm -f conftest.er1
13051
 
  cat conftest.err >&5
13052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053
 
  (exit $ac_status); } &&
13054
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13055
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13056
 
  (eval $ac_try) 2>&5
13057
 
  ac_status=$?
13058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059
 
  (exit $ac_status); }; } &&
13060
 
         { ac_try='test -s conftest$ac_exeext'
13061
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062
 
  (eval $ac_try) 2>&5
13063
 
  ac_status=$?
13064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065
 
  (exit $ac_status); }; }; then
13066
 
  ac_cv_lib_svld_dlopen=yes
13067
 
else
13068
 
  echo "$as_me: failed program was:" >&5
13069
 
sed 's/^/| /' conftest.$ac_ext >&5
13070
 
 
13071
 
ac_cv_lib_svld_dlopen=no
13072
 
fi
13073
 
rm -f conftest.err conftest.$ac_objext \
13074
 
      conftest$ac_exeext conftest.$ac_ext
13075
 
LIBS=$ac_check_lib_save_LIBS
13076
 
fi
13077
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13078
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13079
 
if test $ac_cv_lib_svld_dlopen = yes; then
13080
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13081
 
else
13082
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13083
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13084
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13085
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13086
 
else
13087
 
  ac_check_lib_save_LIBS=$LIBS
13088
 
LIBS="-ldld  $LIBS"
13089
 
cat >conftest.$ac_ext <<_ACEOF
13090
 
/* confdefs.h.  */
13091
 
_ACEOF
13092
 
cat confdefs.h >>conftest.$ac_ext
13093
 
cat >>conftest.$ac_ext <<_ACEOF
13094
 
/* end confdefs.h.  */
13095
 
 
13096
 
/* Override any gcc2 internal prototype to avoid an error.  */
13097
 
#ifdef __cplusplus
13098
 
extern "C"
13099
 
#endif
13100
 
/* We use char because int might match the return type of a gcc2
13101
 
   builtin and then its argument prototype would still apply.  */
13102
 
char dld_link ();
13103
 
int
13104
 
main ()
13105
 
{
13106
 
dld_link ();
13107
 
  ;
13108
 
  return 0;
13109
 
}
13110
 
_ACEOF
13111
 
rm -f conftest.$ac_objext conftest$ac_exeext
13112
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13113
 
  (eval $ac_link) 2>conftest.er1
13114
 
  ac_status=$?
13115
 
  grep -v '^ *+' conftest.er1 >conftest.err
13116
 
  rm -f conftest.er1
13117
 
  cat conftest.err >&5
13118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119
 
  (exit $ac_status); } &&
13120
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
13121
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13122
 
  (eval $ac_try) 2>&5
13123
 
  ac_status=$?
13124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125
 
  (exit $ac_status); }; } &&
13126
 
         { ac_try='test -s conftest$ac_exeext'
13127
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13128
 
  (eval $ac_try) 2>&5
13129
 
  ac_status=$?
13130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131
 
  (exit $ac_status); }; }; then
13132
 
  ac_cv_lib_dld_dld_link=yes
13133
 
else
13134
 
  echo "$as_me: failed program was:" >&5
13135
 
sed 's/^/| /' conftest.$ac_ext >&5
13136
 
 
13137
 
ac_cv_lib_dld_dld_link=no
13138
 
fi
13139
 
rm -f conftest.err conftest.$ac_objext \
13140
 
      conftest$ac_exeext conftest.$ac_ext
13141
 
LIBS=$ac_check_lib_save_LIBS
13142
 
fi
13143
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13144
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13145
 
if test $ac_cv_lib_dld_dld_link = yes; then
13146
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13147
 
fi
13148
 
 
13149
 
 
13150
 
fi
13151
 
 
13152
 
 
13153
 
fi
13154
 
 
13155
 
 
13156
 
fi
13157
 
 
13158
 
 
13159
 
fi
13160
 
 
13161
 
 
13162
 
fi
13163
 
 
13164
 
    ;;
13165
 
  esac
13166
 
 
13167
 
  if test "x$lt_cv_dlopen" != xno; then
13168
 
    enable_dlopen=yes
13169
 
  else
13170
 
    enable_dlopen=no
13171
 
  fi
13172
 
 
13173
 
  case $lt_cv_dlopen in
13174
 
  dlopen)
13175
 
    save_CPPFLAGS="$CPPFLAGS"
13176
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13177
 
 
13178
 
    save_LDFLAGS="$LDFLAGS"
13179
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13180
 
 
13181
 
    save_LIBS="$LIBS"
13182
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
13183
 
 
13184
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13185
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13186
 
if test "${lt_cv_dlopen_self+set}" = set; then
13187
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13188
 
else
13189
 
          if test "$cross_compiling" = yes; then :
13190
 
  lt_cv_dlopen_self=cross
13191
 
else
13192
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13193
 
  lt_status=$lt_dlunknown
13194
 
  cat > conftest.$ac_ext <<EOF
13195
 
#line 13195 "configure"
13196
 
#include "confdefs.h"
13197
 
 
13198
 
#if HAVE_DLFCN_H
13199
 
#include <dlfcn.h>
13200
 
#endif
13201
 
 
13202
 
#include <stdio.h>
13203
 
 
13204
 
#ifdef RTLD_GLOBAL
13205
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13206
 
#else
13207
 
#  ifdef DL_GLOBAL
13208
 
#    define LT_DLGLOBAL         DL_GLOBAL
13209
 
#  else
13210
 
#    define LT_DLGLOBAL         0
13211
 
#  endif
13212
 
#endif
13213
 
 
13214
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13215
 
   find out it does not work in some platform. */
13216
 
#ifndef LT_DLLAZY_OR_NOW
13217
 
#  ifdef RTLD_LAZY
13218
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13219
 
#  else
13220
 
#    ifdef DL_LAZY
13221
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13222
 
#    else
13223
 
#      ifdef RTLD_NOW
13224
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13225
 
#      else
13226
 
#        ifdef DL_NOW
13227
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13228
 
#        else
13229
 
#          define LT_DLLAZY_OR_NOW      0
13230
 
#        endif
13231
 
#      endif
13232
 
#    endif
13233
 
#  endif
13234
 
#endif
13235
 
 
13236
 
#ifdef __cplusplus
13237
 
extern "C" void exit (int);
13238
 
#endif
13239
 
 
13240
 
void fnord() { int i=42;}
13241
 
int main ()
13242
 
{
13243
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13244
 
  int status = $lt_dlunknown;
13245
 
 
13246
 
  if (self)
13247
 
    {
13248
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13249
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13250
 
      /* dlclose (self); */
13251
 
    }
13252
 
 
13253
 
    exit (status);
13254
 
}
13255
 
EOF
13256
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13257
 
  (eval $ac_link) 2>&5
13258
 
  ac_status=$?
13259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13261
 
    (./conftest; exit; ) >&5 2>/dev/null
13262
 
    lt_status=$?
13263
 
    case x$lt_status in
13264
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13265
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13266
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13267
 
    esac
13268
 
  else :
13269
 
    # compilation failed
13270
 
    lt_cv_dlopen_self=no
13271
 
  fi
13272
 
fi
13273
 
rm -fr conftest*
13274
 
 
13275
 
 
13276
 
fi
13277
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13278
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13279
 
 
13280
 
    if test "x$lt_cv_dlopen_self" = xyes; then
13281
 
      LDFLAGS="$LDFLAGS $link_static_flag"
13282
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13283
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13284
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
13285
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13286
 
else
13287
 
          if test "$cross_compiling" = yes; then :
13288
 
  lt_cv_dlopen_self_static=cross
13289
 
else
13290
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13291
 
  lt_status=$lt_dlunknown
13292
 
  cat > conftest.$ac_ext <<EOF
13293
 
#line 13293 "configure"
13294
 
#include "confdefs.h"
13295
 
 
13296
 
#if HAVE_DLFCN_H
13297
 
#include <dlfcn.h>
13298
 
#endif
13299
 
 
13300
 
#include <stdio.h>
13301
 
 
13302
 
#ifdef RTLD_GLOBAL
13303
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
13304
 
#else
13305
 
#  ifdef DL_GLOBAL
13306
 
#    define LT_DLGLOBAL         DL_GLOBAL
13307
 
#  else
13308
 
#    define LT_DLGLOBAL         0
13309
 
#  endif
13310
 
#endif
13311
 
 
13312
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13313
 
   find out it does not work in some platform. */
13314
 
#ifndef LT_DLLAZY_OR_NOW
13315
 
#  ifdef RTLD_LAZY
13316
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13317
 
#  else
13318
 
#    ifdef DL_LAZY
13319
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
13320
 
#    else
13321
 
#      ifdef RTLD_NOW
13322
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
13323
 
#      else
13324
 
#        ifdef DL_NOW
13325
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
13326
 
#        else
13327
 
#          define LT_DLLAZY_OR_NOW      0
13328
 
#        endif
13329
 
#      endif
13330
 
#    endif
13331
 
#  endif
13332
 
#endif
13333
 
 
13334
 
#ifdef __cplusplus
13335
 
extern "C" void exit (int);
13336
 
#endif
13337
 
 
13338
 
void fnord() { int i=42;}
13339
 
int main ()
13340
 
{
13341
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13342
 
  int status = $lt_dlunknown;
13343
 
 
13344
 
  if (self)
13345
 
    {
13346
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13347
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13348
 
      /* dlclose (self); */
13349
 
    }
13350
 
 
13351
 
    exit (status);
13352
 
}
13353
 
EOF
13354
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13355
 
  (eval $ac_link) 2>&5
13356
 
  ac_status=$?
13357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13359
 
    (./conftest; exit; ) >&5 2>/dev/null
13360
 
    lt_status=$?
13361
 
    case x$lt_status in
13362
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13363
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13364
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13365
 
    esac
13366
 
  else :
13367
 
    # compilation failed
13368
 
    lt_cv_dlopen_self_static=no
13369
 
  fi
13370
 
fi
13371
 
rm -fr conftest*
13372
 
 
13373
 
 
13374
 
fi
13375
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13376
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13377
 
    fi
13378
 
 
13379
 
    CPPFLAGS="$save_CPPFLAGS"
13380
 
    LDFLAGS="$save_LDFLAGS"
13381
 
    LIBS="$save_LIBS"
13382
 
    ;;
13383
 
  esac
13384
 
 
13385
 
  case $lt_cv_dlopen_self in
13386
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13387
 
  *) enable_dlopen_self=unknown ;;
13388
 
  esac
13389
 
 
13390
 
  case $lt_cv_dlopen_self_static in
13391
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13392
 
  *) enable_dlopen_self_static=unknown ;;
13393
 
  esac
13394
 
fi
13395
 
 
13396
12828
 
13397
12829
# The else clause should only fire when bootstrapping the
13398
12830
# libtool distribution, otherwise you forgot to ship ltmain.sh
13407
12839
  # Now quote all the things that may contain metacharacters while being
13408
12840
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13409
12841
  # variables and quote the copies for generation of the libtool script.
13410
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
12842
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13411
12843
    SED SHELL STRIP \
13412
12844
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13413
12845
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13525
12957
# A C compiler.
13526
12958
LTCC=$lt_LTCC
13527
12959
 
 
12960
# LTCC compiler flags.
 
12961
LTCFLAGS=$lt_LTCFLAGS
 
12962
 
13528
12963
# A language-specific compiler.
13529
12964
CC=$lt_compiler_CXX
13530
12965
 
13867
13302
# If no C compiler was specified, use CC.
13868
13303
LTCC=${LTCC-"$CC"}
13869
13304
 
 
13305
# If no C compiler flags were specified, use CFLAGS.
 
13306
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
13307
 
13870
13308
# Allow CC to be a program name with arguments.
13871
13309
compiler=$CC
13872
13310
 
13874
13312
# save warnings/boilerplate of simple test code
13875
13313
ac_outfile=conftest.$ac_objext
13876
13314
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13877
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
13315
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13878
13316
_lt_compiler_boilerplate=`cat conftest.err`
13879
13317
$rm conftest*
13880
13318
 
13881
13319
ac_outfile=conftest.$ac_objext
13882
13320
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13883
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
13321
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13884
13322
_lt_linker_boilerplate=`cat conftest.err`
13885
13323
$rm conftest*
13886
13324
 
13936
13374
echo "$as_me:$LINENO: result: $enable_static" >&5
13937
13375
echo "${ECHO_T}$enable_static" >&6
13938
13376
 
13939
 
test "$ld_shlibs_F77" = no && can_build_shared=no
13940
 
 
13941
13377
GCC_F77="$G77"
13942
13378
LD_F77="$LD"
13943
13379
 
13984
13420
      lt_prog_compiler_pic_F77='-fno-common'
13985
13421
      ;;
13986
13422
 
 
13423
    interix3*)
 
13424
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
13425
      # Instead, we relocate shared libraries at runtime.
 
13426
      ;;
 
13427
 
13987
13428
    msdosdjgpp*)
13988
13429
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13989
13430
      # on systems that don't support them.
14070
13511
      lt_prog_compiler_static_F77='-Bstatic'
14071
13512
      ;;
14072
13513
 
14073
 
    linux*)
 
13514
    linux* | k*bsd*-gnu)
14074
13515
      case $cc_basename in
14075
13516
      icc* | ecc*)
14076
13517
        lt_prog_compiler_wl_F77='-Wl,'
14098
13539
      lt_prog_compiler_static_F77='-non_shared'
14099
13540
      ;;
14100
13541
 
14101
 
    sco3.2v5*)
14102
 
      lt_prog_compiler_pic_F77='-Kpic'
14103
 
      lt_prog_compiler_static_F77='-dn'
14104
 
      ;;
14105
 
 
14106
13542
    solaris*)
14107
13543
      lt_prog_compiler_pic_F77='-KPIC'
14108
13544
      lt_prog_compiler_static_F77='-Bstatic'
14120
13556
      lt_prog_compiler_static_F77='-Bstatic'
14121
13557
      ;;
14122
13558
 
14123
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13559
    sysv4 | sysv4.2uw2* | sysv4.3*)
14124
13560
      lt_prog_compiler_wl_F77='-Wl,'
14125
13561
      lt_prog_compiler_pic_F77='-KPIC'
14126
13562
      lt_prog_compiler_static_F77='-Bstatic'
14133
13569
      fi
14134
13570
      ;;
14135
13571
 
 
13572
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13573
      lt_prog_compiler_wl_F77='-Wl,'
 
13574
      lt_prog_compiler_pic_F77='-KPIC'
 
13575
      lt_prog_compiler_static_F77='-Bstatic'
 
13576
      ;;
 
13577
 
14136
13578
    unicos*)
14137
13579
      lt_prog_compiler_wl_F77='-Wl,'
14138
13580
      lt_prog_compiler_can_build_shared_F77=no
14175
13617
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14176
13618
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14177
13619
   -e 's:$: $lt_compiler_flag:'`
14178
 
   (eval echo "\"\$as_me:14178: $lt_compile\"" >&5)
 
13620
   (eval echo "\"\$as_me:13620: $lt_compile\"" >&5)
14179
13621
   (eval "$lt_compile" 2>conftest.err)
14180
13622
   ac_status=$?
14181
13623
   cat conftest.err >&5
14182
 
   echo "$as_me:14182: \$? = $ac_status" >&5
 
13624
   echo "$as_me:13624: \$? = $ac_status" >&5
14183
13625
   if (exit $ac_status) && test -s "$ac_outfile"; then
14184
13626
     # The compiler can only warn and ignore the option if not recognized
14185
13627
     # So say no if there are warnings other than the usual output.
14186
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
14187
 
     $SED '/^$/d' conftest.err >conftest.er2
14188
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
13628
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13629
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13630
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14189
13631
       lt_prog_compiler_pic_works_F77=yes
14190
13632
     fi
14191
13633
   fi
14216
13658
    ;;
14217
13659
esac
14218
13660
 
 
13661
#
 
13662
# Check to make sure the static flag actually works.
 
13663
#
 
13664
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
13665
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13666
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
13667
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
13668
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13669
else
 
13670
  lt_prog_compiler_static_works_F77=no
 
13671
   save_LDFLAGS="$LDFLAGS"
 
13672
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
13673
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13674
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
13675
     # The linker can only warn and ignore the option if not recognized
 
13676
     # So say no if there are warnings
 
13677
     if test -s conftest.err; then
 
13678
       # Append any errors to the config.log.
 
13679
       cat conftest.err 1>&5
 
13680
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13681
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13682
       if diff conftest.exp conftest.er2 >/dev/null; then
 
13683
         lt_prog_compiler_static_works_F77=yes
 
13684
       fi
 
13685
     else
 
13686
       lt_prog_compiler_static_works_F77=yes
 
13687
     fi
 
13688
   fi
 
13689
   $rm conftest*
 
13690
   LDFLAGS="$save_LDFLAGS"
 
13691
 
 
13692
fi
 
13693
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
13694
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
13695
 
 
13696
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
13697
    :
 
13698
else
 
13699
    lt_prog_compiler_static_F77=
 
13700
fi
 
13701
 
 
13702
 
14219
13703
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14220
13704
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14221
13705
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14237
13721
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14238
13722
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14239
13723
   -e 's:$: $lt_compiler_flag:'`
14240
 
   (eval echo "\"\$as_me:14240: $lt_compile\"" >&5)
 
13724
   (eval echo "\"\$as_me:13724: $lt_compile\"" >&5)
14241
13725
   (eval "$lt_compile" 2>out/conftest.err)
14242
13726
   ac_status=$?
14243
13727
   cat out/conftest.err >&5
14244
 
   echo "$as_me:14244: \$? = $ac_status" >&5
 
13728
   echo "$as_me:13728: \$? = $ac_status" >&5
14245
13729
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14246
13730
   then
14247
13731
     # The compiler can only warn and ignore the option if not recognized
14248
13732
     # So say no if there are warnings
14249
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
14250
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
14251
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13733
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13734
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13735
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14252
13736
       lt_cv_prog_compiler_c_o_F77=yes
14253
13737
     fi
14254
13738
   fi
14348
13832
      with_gnu_ld=no
14349
13833
    fi
14350
13834
    ;;
 
13835
  interix*)
 
13836
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
13837
    with_gnu_ld=yes
 
13838
    ;;
14351
13839
  openbsd*)
14352
13840
    with_gnu_ld=no
14353
13841
    ;;
14432
13920
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14433
13921
 
14434
13922
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14435
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
13923
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14436
13924
        # If the export-symbols file already is a .def file (1st line
14437
13925
        # is EXPORTS), use it as is; otherwise, prepend...
14438
13926
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14441
13929
          echo EXPORTS > $output_objdir/$soname.def;
14442
13930
          cat $export_symbols >> $output_objdir/$soname.def;
14443
13931
        fi~
14444
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
13932
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14445
13933
      else
14446
13934
        ld_shlibs_F77=no
14447
13935
      fi
14448
13936
      ;;
14449
13937
 
14450
 
    linux*)
 
13938
    interix3*)
 
13939
      hardcode_direct_F77=no
 
13940
      hardcode_shlibpath_var_F77=no
 
13941
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
13942
      export_dynamic_flag_spec_F77='${wl}-E'
 
13943
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
13944
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
13945
      # default) and relocated if they conflict, which is a slow very memory
 
13946
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
13947
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
13948
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
13949
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
13950
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
13951
      ;;
 
13952
 
 
13953
    linux* | k*bsd*-gnu)
14451
13954
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14452
13955
        tmp_addflag=
14453
13956
        case $cc_basename,$host_cpu in
14479
13982
      fi
14480
13983
      ;;
14481
13984
 
14482
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
13985
    netbsd* | netbsdelf*-gnu)
14483
13986
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14484
13987
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14485
13988
        wlarc=
14489
13992
      fi
14490
13993
      ;;
14491
13994
 
14492
 
    solaris* | sysv5*)
 
13995
    solaris*)
14493
13996
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14494
13997
        ld_shlibs_F77=no
14495
13998
        cat <<EOF 1>&2
14510
14013
      fi
14511
14014
      ;;
14512
14015
 
 
14016
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
14017
      case `$LD -v 2>&1` in
 
14018
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
14019
        ld_shlibs_F77=no
 
14020
        cat <<_LT_EOF 1>&2
 
14021
 
 
14022
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
14023
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
14024
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
14025
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
14026
*** your PATH or compiler configuration so that the native linker is
 
14027
*** used, and then restart.
 
14028
 
 
14029
_LT_EOF
 
14030
        ;;
 
14031
        *)
 
14032
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
14033
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
14034
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
14035
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
14036
          else
 
14037
            ld_shlibs_F77=no
 
14038
          fi
 
14039
        ;;
 
14040
      esac
 
14041
      ;;
 
14042
 
14513
14043
    sunos4*)
14514
14044
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14515
14045
      wlarc=
14543
14073
      # Note: this linker hardcodes the directories in LIBPATH if there
14544
14074
      # are no directories specified by -L.
14545
14075
      hardcode_minus_L_F77=yes
14546
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
14076
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14547
14077
        # Neither direct hardcoding nor static linking is supported with a
14548
14078
        # broken collect2.
14549
14079
        hardcode_direct_F77=unsupported
14577
14107
            break
14578
14108
          fi
14579
14109
          done
 
14110
          ;;
14580
14111
        esac
14581
14112
 
14582
14113
        exp_sym_flag='-bexport'
14614
14145
          hardcode_libdir_flag_spec_F77='-L$libdir'
14615
14146
          hardcode_libdir_separator_F77=
14616
14147
          fi
 
14148
          ;;
14617
14149
        esac
14618
14150
        shared_flag='-shared'
14619
14151
        if test "$aix_use_runtimelinking" = yes; then
14626
14158
        # chokes on -Wl,-G. The following line is correct:
14627
14159
          shared_flag='-G'
14628
14160
        else
14629
 
        if test "$aix_use_runtimelinking" = yes; then
 
14161
          if test "$aix_use_runtimelinking" = yes; then
14630
14162
            shared_flag='${wl}-G'
14631
14163
          else
14632
14164
            shared_flag='${wl}-bM:SRE'
14633
 
        fi
 
14165
          fi
14634
14166
        fi
14635
14167
      fi
14636
14168
 
14684
14216
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14685
14217
 
14686
14218
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14687
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
14219
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14688
14220
       else
14689
14221
        if test "$host_cpu" = ia64; then
14690
14222
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14691
14223
          allow_undefined_flag_F77="-z nodefs"
14692
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
14224
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14693
14225
        else
14694
14226
         # Determine the default libpath from the value encoded in an empty executable.
14695
14227
         cat >conftest.$ac_ext <<_ACEOF
14738
14270
          # -berok will link without error, but may produce a broken library.
14739
14271
          no_undefined_flag_F77=' ${wl}-bernotok'
14740
14272
          allow_undefined_flag_F77=' ${wl}-berok'
14741
 
          # -bexpall does not export symbols beginning with underscore (_)
14742
 
          always_export_symbols_F77=yes
14743
14273
          # Exported symbols can be pulled into shared objects from archives
14744
 
          whole_archive_flag_spec_F77=' '
 
14274
          whole_archive_flag_spec_F77='$convenience'
14745
14275
          archive_cmds_need_lc_F77=yes
14746
14276
          # This is similar to how AIX traditionally builds its shared libraries.
14747
 
          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'
 
14277
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14748
14278
        fi
14749
14279
      fi
14750
14280
      ;;
14862
14392
      ;;
14863
14393
 
14864
14394
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14865
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
14395
    freebsd* | dragonfly*)
14866
14396
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14867
14397
      hardcode_libdir_flag_spec_F77='-R$libdir'
14868
14398
      hardcode_direct_F77=yes
14885
14415
      export_dynamic_flag_spec_F77='${wl}-E'
14886
14416
      ;;
14887
14417
 
14888
 
    hpux10* | hpux11*)
 
14418
    hpux10*)
 
14419
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
14420
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
14421
      else
 
14422
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
14423
      fi
 
14424
      if test "$with_gnu_ld" = no; then
 
14425
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
14426
        hardcode_libdir_separator_F77=:
 
14427
 
 
14428
        hardcode_direct_F77=yes
 
14429
        export_dynamic_flag_spec_F77='${wl}-E'
 
14430
 
 
14431
        # hardcode_minus_L: Not really in the search PATH,
 
14432
        # but as the default location of the library.
 
14433
        hardcode_minus_L_F77=yes
 
14434
      fi
 
14435
      ;;
 
14436
 
 
14437
    hpux11*)
14889
14438
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14890
14439
        case $host_cpu in
14891
 
        hppa*64*|ia64*)
 
14440
        hppa*64*)
14892
14441
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14893
14442
          ;;
 
14443
        ia64*)
 
14444
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
14445
          ;;
14894
14446
        *)
14895
14447
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14896
14448
          ;;
14897
14449
        esac
14898
14450
      else
14899
14451
        case $host_cpu in
14900
 
        hppa*64*|ia64*)
14901
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
14452
        hppa*64*)
 
14453
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14454
          ;;
 
14455
        ia64*)
 
14456
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14902
14457
          ;;
14903
14458
        *)
14904
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
14459
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14905
14460
          ;;
14906
14461
        esac
14907
14462
      fi
14908
14463
      if test "$with_gnu_ld" = no; then
 
14464
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
14465
        hardcode_libdir_separator_F77=:
 
14466
 
14909
14467
        case $host_cpu in
14910
 
        hppa*64*)
14911
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
14468
        hppa*64*|ia64*)
14912
14469
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14913
 
          hardcode_libdir_separator_F77=:
14914
 
          hardcode_direct_F77=no
14915
 
          hardcode_shlibpath_var_F77=no
14916
 
          ;;
14917
 
        ia64*)
14918
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14919
 
          hardcode_direct_F77=no
14920
 
          hardcode_shlibpath_var_F77=no
14921
 
 
14922
 
          # hardcode_minus_L: Not really in the search PATH,
14923
 
          # but as the default location of the library.
14924
 
          hardcode_minus_L_F77=yes
 
14470
          hardcode_direct_F77=no
 
14471
          hardcode_shlibpath_var_F77=no
14925
14472
          ;;
14926
14473
        *)
14927
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14928
 
          hardcode_libdir_separator_F77=:
14929
14474
          hardcode_direct_F77=yes
14930
14475
          export_dynamic_flag_spec_F77='${wl}-E'
14931
14476
 
14949
14494
      link_all_deplibs_F77=yes
14950
14495
      ;;
14951
14496
 
14952
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14497
    netbsd* | netbsdelf*-gnu)
14953
14498
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14954
14499
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14955
14500
      else
15027
14572
      hardcode_libdir_separator_F77=:
15028
14573
      ;;
15029
14574
 
15030
 
    sco3.2v5*)
15031
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15032
 
      hardcode_shlibpath_var_F77=no
15033
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15034
 
      runpath_var=LD_RUN_PATH
15035
 
      hardcode_runpath_var=yes
15036
 
      ;;
15037
 
 
15038
14575
    solaris*)
15039
14576
      no_undefined_flag_F77=' -z text'
15040
14577
      if test "$GCC" = yes; then
15120
14657
      fi
15121
14658
      ;;
15122
14659
 
15123
 
    sysv4.2uw2*)
15124
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15125
 
      hardcode_direct_F77=yes
15126
 
      hardcode_minus_L_F77=no
15127
 
      hardcode_shlibpath_var_F77=no
15128
 
      hardcode_runpath_var=yes
15129
 
      runpath_var=LD_RUN_PATH
15130
 
      ;;
15131
 
 
15132
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
15133
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
15134
 
      if test "$GCC" = yes; then
15135
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15136
 
      else
15137
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15138
 
      fi
15139
 
      runpath_var='LD_RUN_PATH'
15140
 
      hardcode_shlibpath_var_F77=no
15141
 
      ;;
15142
 
 
15143
 
    sysv5*)
15144
 
      no_undefined_flag_F77=' -z text'
15145
 
      # $CC -shared without GNU ld will not create a library from C++
15146
 
      # object files and a static libstdc++, better avoid it by now
15147
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15148
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15149
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15150
 
      hardcode_libdir_flag_spec_F77=
15151
 
      hardcode_shlibpath_var_F77=no
15152
 
      runpath_var='LD_RUN_PATH'
 
14660
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
14661
      no_undefined_flag_F77='${wl}-z,text'
 
14662
      archive_cmds_need_lc_F77=no
 
14663
      hardcode_shlibpath_var_F77=no
 
14664
      runpath_var='LD_RUN_PATH'
 
14665
 
 
14666
      if test "$GCC" = yes; then
 
14667
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14668
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14669
      else
 
14670
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14671
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14672
      fi
 
14673
      ;;
 
14674
 
 
14675
    sysv5* | sco3.2v5* | sco5v6*)
 
14676
      # Note: We can NOT use -z defs as we might desire, because we do not
 
14677
      # link with -lc, and that would cause any symbols used from libc to
 
14678
      # always be unresolved, which means just about no library would
 
14679
      # ever link correctly.  If we're not using GNU ld we use -z text
 
14680
      # though, which does catch some bad symbols but isn't as heavy-handed
 
14681
      # as -z defs.
 
14682
      no_undefined_flag_F77='${wl}-z,text'
 
14683
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
14684
      archive_cmds_need_lc_F77=no
 
14685
      hardcode_shlibpath_var_F77=no
 
14686
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
14687
      hardcode_libdir_separator_F77=':'
 
14688
      link_all_deplibs_F77=yes
 
14689
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
14690
      runpath_var='LD_RUN_PATH'
 
14691
 
 
14692
      if test "$GCC" = yes; then
 
14693
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14694
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14695
      else
 
14696
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14697
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14698
      fi
15153
14699
      ;;
15154
14700
 
15155
14701
    uts4*)
15168
14714
echo "${ECHO_T}$ld_shlibs_F77" >&6
15169
14715
test "$ld_shlibs_F77" = no && can_build_shared=no
15170
14716
 
15171
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15172
 
if test "$GCC" = yes; then
15173
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15174
 
fi
15175
 
 
15176
14717
#
15177
14718
# Do we need to explicitly link libc?
15178
14719
#
15205
14746
        libobjs=conftest.$ac_objext
15206
14747
        deplibs=
15207
14748
        wl=$lt_prog_compiler_wl_F77
 
14749
        pic_flag=$lt_prog_compiler_pic_F77
15208
14750
        compiler_flags=-v
15209
14751
        linker_flags=-v
15210
14752
        verstring=
15442
14984
  dynamic_linker=no
15443
14985
  ;;
15444
14986
 
15445
 
kfreebsd*-gnu)
15446
 
  version_type=linux
15447
 
  need_lib_prefix=no
15448
 
  need_version=no
15449
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15450
 
  soname_spec='${libname}${release}${shared_ext}$major'
15451
 
  shlibpath_var=LD_LIBRARY_PATH
15452
 
  shlibpath_overrides_runpath=no
15453
 
  hardcode_into_libs=yes
15454
 
  dynamic_linker='GNU ld.so'
15455
 
  ;;
15456
 
 
15457
14987
freebsd* | dragonfly*)
15458
14988
  # DragonFly does not have aout.  When/if they implement a new
15459
14989
  # versioning mechanism, adjust this.
15486
15016
    shlibpath_overrides_runpath=yes
15487
15017
    hardcode_into_libs=yes
15488
15018
    ;;
15489
 
  *) # from 3.2 on
 
15019
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
15020
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15490
15021
    shlibpath_overrides_runpath=no
15491
15022
    hardcode_into_libs=yes
15492
15023
    ;;
 
15024
  freebsd*) # from 4.6 on
 
15025
    shlibpath_overrides_runpath=yes
 
15026
    hardcode_into_libs=yes
 
15027
    ;;
15493
15028
  esac
15494
15029
  ;;
15495
15030
 
15549
15084
  postinstall_cmds='chmod 555 $lib'
15550
15085
  ;;
15551
15086
 
 
15087
interix3*)
 
15088
  version_type=linux
 
15089
  need_lib_prefix=no
 
15090
  need_version=no
 
15091
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15092
  soname_spec='${libname}${release}${shared_ext}$major'
 
15093
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
15094
  shlibpath_var=LD_LIBRARY_PATH
 
15095
  shlibpath_overrides_runpath=no
 
15096
  hardcode_into_libs=yes
 
15097
  ;;
 
15098
 
15552
15099
irix5* | irix6* | nonstopux*)
15553
15100
  case $host_os in
15554
15101
    nonstopux*) version_type=nonstopux ;;
15592
15139
  ;;
15593
15140
 
15594
15141
# This must be Linux ELF.
15595
 
linux*)
 
15142
linux* | k*bsd*-gnu)
15596
15143
  version_type=linux
15597
15144
  need_lib_prefix=no
15598
15145
  need_version=no
15633
15180
  dynamic_linker='NetBSD ld.elf_so'
15634
15181
  ;;
15635
15182
 
15636
 
knetbsd*-gnu)
15637
 
  version_type=linux
15638
 
  need_lib_prefix=no
15639
 
  need_version=no
15640
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15641
 
  soname_spec='${libname}${release}${shared_ext}$major'
15642
 
  shlibpath_var=LD_LIBRARY_PATH
15643
 
  shlibpath_overrides_runpath=no
15644
 
  hardcode_into_libs=yes
15645
 
  dynamic_linker='GNU ld.so'
15646
 
  ;;
15647
 
 
15648
15183
netbsd*)
15649
15184
  version_type=sunos
15650
15185
  need_lib_prefix=no
15682
15217
 
15683
15218
openbsd*)
15684
15219
  version_type=sunos
 
15220
  sys_lib_dlsearch_path_spec="/usr/lib"
15685
15221
  need_lib_prefix=no
15686
15222
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15687
15223
  case $host_os in
15725
15261
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15726
15262
  ;;
15727
15263
 
15728
 
sco3.2v5*)
15729
 
  version_type=osf
15730
 
  soname_spec='${libname}${release}${shared_ext}$major'
15731
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15732
 
  shlibpath_var=LD_LIBRARY_PATH
15733
 
  ;;
15734
 
 
15735
15264
solaris*)
15736
15265
  version_type=linux
15737
15266
  need_lib_prefix=no
15757
15286
  need_version=yes
15758
15287
  ;;
15759
15288
 
15760
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
15289
sysv4 | sysv4.3*)
15761
15290
  version_type=linux
15762
15291
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15763
15292
  soname_spec='${libname}${release}${shared_ext}$major'
15790
15319
  fi
15791
15320
  ;;
15792
15321
 
 
15322
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
15323
  version_type=freebsd-elf
 
15324
  need_lib_prefix=no
 
15325
  need_version=no
 
15326
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15327
  soname_spec='${libname}${release}${shared_ext}$major'
 
15328
  shlibpath_var=LD_LIBRARY_PATH
 
15329
  hardcode_into_libs=yes
 
15330
  if test "$with_gnu_ld" = yes; then
 
15331
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
15332
    shlibpath_overrides_runpath=no
 
15333
  else
 
15334
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
15335
    shlibpath_overrides_runpath=yes
 
15336
    case $host_os in
 
15337
      sco3.2v5*)
 
15338
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
15339
        ;;
 
15340
    esac
 
15341
  fi
 
15342
  sys_lib_dlsearch_path_spec='/usr/lib'
 
15343
  ;;
 
15344
 
15793
15345
uts4*)
15794
15346
  version_type=linux
15795
15347
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15805
15357
echo "${ECHO_T}$dynamic_linker" >&6
15806
15358
test "$dynamic_linker" = no && can_build_shared=no
15807
15359
 
 
15360
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
15361
if test "$GCC" = yes; then
 
15362
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
15363
fi
 
15364
 
15808
15365
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15809
15366
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15810
15367
hardcode_action_F77=
15842
15399
  enable_fast_install=needless
15843
15400
fi
15844
15401
 
15845
 
striplib=
15846
 
old_striplib=
15847
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15848
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15849
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15850
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15851
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15852
 
  echo "$as_me:$LINENO: result: yes" >&5
15853
 
echo "${ECHO_T}yes" >&6
15854
 
else
15855
 
# FIXME - insert some real tests, host_os isn't really good enough
15856
 
  case $host_os in
15857
 
   darwin*)
15858
 
       if test -n "$STRIP" ; then
15859
 
         striplib="$STRIP -x"
15860
 
         echo "$as_me:$LINENO: result: yes" >&5
15861
 
echo "${ECHO_T}yes" >&6
15862
 
       else
15863
 
  echo "$as_me:$LINENO: result: no" >&5
15864
 
echo "${ECHO_T}no" >&6
15865
 
fi
15866
 
       ;;
15867
 
   *)
15868
 
  echo "$as_me:$LINENO: result: no" >&5
15869
 
echo "${ECHO_T}no" >&6
15870
 
    ;;
15871
 
  esac
15872
 
fi
15873
 
 
15874
 
 
15875
15402
 
15876
15403
# The else clause should only fire when bootstrapping the
15877
15404
# libtool distribution, otherwise you forgot to ship ltmain.sh
15886
15413
  # Now quote all the things that may contain metacharacters while being
15887
15414
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15888
15415
  # variables and quote the copies for generation of the libtool script.
15889
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
15416
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15890
15417
    SED SHELL STRIP \
15891
15418
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15892
15419
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16004
15531
# A C compiler.
16005
15532
LTCC=$lt_LTCC
16006
15533
 
 
15534
# LTCC compiler flags.
 
15535
LTCFLAGS=$lt_LTCFLAGS
 
15536
 
16007
15537
# A language-specific compiler.
16008
15538
CC=$lt_compiler_F77
16009
15539
 
16314
15844
# If no C compiler was specified, use CC.
16315
15845
LTCC=${LTCC-"$CC"}
16316
15846
 
 
15847
# If no C compiler flags were specified, use CFLAGS.
 
15848
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
15849
 
16317
15850
# Allow CC to be a program name with arguments.
16318
15851
compiler=$CC
16319
15852
 
16321
15854
# save warnings/boilerplate of simple test code
16322
15855
ac_outfile=conftest.$ac_objext
16323
15856
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16324
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
15857
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16325
15858
_lt_compiler_boilerplate=`cat conftest.err`
16326
15859
$rm conftest*
16327
15860
 
16328
15861
ac_outfile=conftest.$ac_objext
16329
15862
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16330
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
15863
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16331
15864
_lt_linker_boilerplate=`cat conftest.err`
16332
15865
$rm conftest*
16333
15866
 
16378
15911
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16379
15912
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16380
15913
   -e 's:$: $lt_compiler_flag:'`
16381
 
   (eval echo "\"\$as_me:16381: $lt_compile\"" >&5)
 
15914
   (eval echo "\"\$as_me:15914: $lt_compile\"" >&5)
16382
15915
   (eval "$lt_compile" 2>conftest.err)
16383
15916
   ac_status=$?
16384
15917
   cat conftest.err >&5
16385
 
   echo "$as_me:16385: \$? = $ac_status" >&5
 
15918
   echo "$as_me:15918: \$? = $ac_status" >&5
16386
15919
   if (exit $ac_status) && test -s "$ac_outfile"; then
16387
15920
     # The compiler can only warn and ignore the option if not recognized
16388
15921
     # So say no if there are warnings other than the usual output.
16389
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16390
 
     $SED '/^$/d' conftest.err >conftest.er2
16391
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
15922
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
15923
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
15924
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16392
15925
       lt_cv_prog_compiler_rtti_exceptions=yes
16393
15926
     fi
16394
15927
   fi
16449
15982
      lt_prog_compiler_pic_GCJ='-fno-common'
16450
15983
      ;;
16451
15984
 
 
15985
    interix3*)
 
15986
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
15987
      # Instead, we relocate shared libraries at runtime.
 
15988
      ;;
 
15989
 
16452
15990
    msdosdjgpp*)
16453
15991
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16454
15992
      # on systems that don't support them.
16535
16073
      lt_prog_compiler_static_GCJ='-Bstatic'
16536
16074
      ;;
16537
16075
 
16538
 
    linux*)
 
16076
    linux* | k*bsd*-gnu)
16539
16077
      case $cc_basename in
16540
16078
      icc* | ecc*)
16541
16079
        lt_prog_compiler_wl_GCJ='-Wl,'
16563
16101
      lt_prog_compiler_static_GCJ='-non_shared'
16564
16102
      ;;
16565
16103
 
16566
 
    sco3.2v5*)
16567
 
      lt_prog_compiler_pic_GCJ='-Kpic'
16568
 
      lt_prog_compiler_static_GCJ='-dn'
16569
 
      ;;
16570
 
 
16571
16104
    solaris*)
16572
16105
      lt_prog_compiler_pic_GCJ='-KPIC'
16573
16106
      lt_prog_compiler_static_GCJ='-Bstatic'
16585
16118
      lt_prog_compiler_static_GCJ='-Bstatic'
16586
16119
      ;;
16587
16120
 
16588
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16121
    sysv4 | sysv4.2uw2* | sysv4.3*)
16589
16122
      lt_prog_compiler_wl_GCJ='-Wl,'
16590
16123
      lt_prog_compiler_pic_GCJ='-KPIC'
16591
16124
      lt_prog_compiler_static_GCJ='-Bstatic'
16598
16131
      fi
16599
16132
      ;;
16600
16133
 
 
16134
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16135
      lt_prog_compiler_wl_GCJ='-Wl,'
 
16136
      lt_prog_compiler_pic_GCJ='-KPIC'
 
16137
      lt_prog_compiler_static_GCJ='-Bstatic'
 
16138
      ;;
 
16139
 
16601
16140
    unicos*)
16602
16141
      lt_prog_compiler_wl_GCJ='-Wl,'
16603
16142
      lt_prog_compiler_can_build_shared_GCJ=no
16640
16179
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16641
16180
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16642
16181
   -e 's:$: $lt_compiler_flag:'`
16643
 
   (eval echo "\"\$as_me:16643: $lt_compile\"" >&5)
 
16182
   (eval echo "\"\$as_me:16182: $lt_compile\"" >&5)
16644
16183
   (eval "$lt_compile" 2>conftest.err)
16645
16184
   ac_status=$?
16646
16185
   cat conftest.err >&5
16647
 
   echo "$as_me:16647: \$? = $ac_status" >&5
 
16186
   echo "$as_me:16186: \$? = $ac_status" >&5
16648
16187
   if (exit $ac_status) && test -s "$ac_outfile"; then
16649
16188
     # The compiler can only warn and ignore the option if not recognized
16650
16189
     # So say no if there are warnings other than the usual output.
16651
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16652
 
     $SED '/^$/d' conftest.err >conftest.er2
16653
 
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
 
16190
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16191
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16192
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16654
16193
       lt_prog_compiler_pic_works_GCJ=yes
16655
16194
     fi
16656
16195
   fi
16681
16220
    ;;
16682
16221
esac
16683
16222
 
 
16223
#
 
16224
# Check to make sure the static flag actually works.
 
16225
#
 
16226
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
16227
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16228
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
16229
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
16230
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16231
else
 
16232
  lt_prog_compiler_static_works_GCJ=no
 
16233
   save_LDFLAGS="$LDFLAGS"
 
16234
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
16235
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
16236
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
16237
     # The linker can only warn and ignore the option if not recognized
 
16238
     # So say no if there are warnings
 
16239
     if test -s conftest.err; then
 
16240
       # Append any errors to the config.log.
 
16241
       cat conftest.err 1>&5
 
16242
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
16243
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16244
       if diff conftest.exp conftest.er2 >/dev/null; then
 
16245
         lt_prog_compiler_static_works_GCJ=yes
 
16246
       fi
 
16247
     else
 
16248
       lt_prog_compiler_static_works_GCJ=yes
 
16249
     fi
 
16250
   fi
 
16251
   $rm conftest*
 
16252
   LDFLAGS="$save_LDFLAGS"
 
16253
 
 
16254
fi
 
16255
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
16256
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
16257
 
 
16258
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
16259
    :
 
16260
else
 
16261
    lt_prog_compiler_static_GCJ=
 
16262
fi
 
16263
 
 
16264
 
16684
16265
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16685
16266
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16686
16267
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16702
16283
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16703
16284
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16704
16285
   -e 's:$: $lt_compiler_flag:'`
16705
 
   (eval echo "\"\$as_me:16705: $lt_compile\"" >&5)
 
16286
   (eval echo "\"\$as_me:16286: $lt_compile\"" >&5)
16706
16287
   (eval "$lt_compile" 2>out/conftest.err)
16707
16288
   ac_status=$?
16708
16289
   cat out/conftest.err >&5
16709
 
   echo "$as_me:16709: \$? = $ac_status" >&5
 
16290
   echo "$as_me:16290: \$? = $ac_status" >&5
16710
16291
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16711
16292
   then
16712
16293
     # The compiler can only warn and ignore the option if not recognized
16713
16294
     # So say no if there are warnings
16714
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
16715
 
     $SED '/^$/d' out/conftest.err >out/conftest.er2
16716
 
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16295
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16296
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16297
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16717
16298
       lt_cv_prog_compiler_c_o_GCJ=yes
16718
16299
     fi
16719
16300
   fi
16813
16394
      with_gnu_ld=no
16814
16395
    fi
16815
16396
    ;;
 
16397
  interix*)
 
16398
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
16399
    with_gnu_ld=yes
 
16400
    ;;
16816
16401
  openbsd*)
16817
16402
    with_gnu_ld=no
16818
16403
    ;;
16897
16482
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16898
16483
 
16899
16484
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16900
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
16485
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16901
16486
        # If the export-symbols file already is a .def file (1st line
16902
16487
        # is EXPORTS), use it as is; otherwise, prepend...
16903
16488
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16906
16491
          echo EXPORTS > $output_objdir/$soname.def;
16907
16492
          cat $export_symbols >> $output_objdir/$soname.def;
16908
16493
        fi~
16909
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
16494
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16910
16495
      else
16911
16496
        ld_shlibs_GCJ=no
16912
16497
      fi
16913
16498
      ;;
16914
16499
 
16915
 
    linux*)
 
16500
    interix3*)
 
16501
      hardcode_direct_GCJ=no
 
16502
      hardcode_shlibpath_var_GCJ=no
 
16503
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
16504
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
16505
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
16506
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
16507
      # default) and relocated if they conflict, which is a slow very memory
 
16508
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
16509
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
16510
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
16511
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
16512
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
16513
      ;;
 
16514
 
 
16515
    linux* | k*bsd*-gnu)
16916
16516
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16917
16517
        tmp_addflag=
16918
16518
        case $cc_basename,$host_cpu in
16944
16544
      fi
16945
16545
      ;;
16946
16546
 
16947
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
16547
    netbsd* | netbsdelf*-gnu)
16948
16548
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16949
16549
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16950
16550
        wlarc=
16954
16554
      fi
16955
16555
      ;;
16956
16556
 
16957
 
    solaris* | sysv5*)
 
16557
    solaris*)
16958
16558
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16959
16559
        ld_shlibs_GCJ=no
16960
16560
        cat <<EOF 1>&2
16975
16575
      fi
16976
16576
      ;;
16977
16577
 
 
16578
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
16579
      case `$LD -v 2>&1` in
 
16580
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
16581
        ld_shlibs_GCJ=no
 
16582
        cat <<_LT_EOF 1>&2
 
16583
 
 
16584
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
16585
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
16586
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
16587
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
16588
*** your PATH or compiler configuration so that the native linker is
 
16589
*** used, and then restart.
 
16590
 
 
16591
_LT_EOF
 
16592
        ;;
 
16593
        *)
 
16594
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16595
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
16596
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
16597
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
16598
          else
 
16599
            ld_shlibs_GCJ=no
 
16600
          fi
 
16601
        ;;
 
16602
      esac
 
16603
      ;;
 
16604
 
16978
16605
    sunos4*)
16979
16606
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16980
16607
      wlarc=
17008
16635
      # Note: this linker hardcodes the directories in LIBPATH if there
17009
16636
      # are no directories specified by -L.
17010
16637
      hardcode_minus_L_GCJ=yes
17011
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
16638
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17012
16639
        # Neither direct hardcoding nor static linking is supported with a
17013
16640
        # broken collect2.
17014
16641
        hardcode_direct_GCJ=unsupported
17042
16669
            break
17043
16670
          fi
17044
16671
          done
 
16672
          ;;
17045
16673
        esac
17046
16674
 
17047
16675
        exp_sym_flag='-bexport'
17079
16707
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17080
16708
          hardcode_libdir_separator_GCJ=
17081
16709
          fi
 
16710
          ;;
17082
16711
        esac
17083
16712
        shared_flag='-shared'
17084
16713
        if test "$aix_use_runtimelinking" = yes; then
17091
16720
        # chokes on -Wl,-G. The following line is correct:
17092
16721
          shared_flag='-G'
17093
16722
        else
17094
 
        if test "$aix_use_runtimelinking" = yes; then
 
16723
          if test "$aix_use_runtimelinking" = yes; then
17095
16724
            shared_flag='${wl}-G'
17096
16725
          else
17097
16726
            shared_flag='${wl}-bM:SRE'
17098
 
        fi
 
16727
          fi
17099
16728
        fi
17100
16729
      fi
17101
16730
 
17159
16788
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17160
16789
 
17161
16790
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17162
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
16791
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17163
16792
       else
17164
16793
        if test "$host_cpu" = ia64; then
17165
16794
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17166
16795
          allow_undefined_flag_GCJ="-z nodefs"
17167
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
16796
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17168
16797
        else
17169
16798
         # Determine the default libpath from the value encoded in an empty executable.
17170
16799
         cat >conftest.$ac_ext <<_ACEOF
17223
16852
          # -berok will link without error, but may produce a broken library.
17224
16853
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17225
16854
          allow_undefined_flag_GCJ=' ${wl}-berok'
17226
 
          # -bexpall does not export symbols beginning with underscore (_)
17227
 
          always_export_symbols_GCJ=yes
17228
16855
          # Exported symbols can be pulled into shared objects from archives
17229
 
          whole_archive_flag_spec_GCJ=' '
 
16856
          whole_archive_flag_spec_GCJ='$convenience'
17230
16857
          archive_cmds_need_lc_GCJ=yes
17231
16858
          # This is similar to how AIX traditionally builds its shared libraries.
17232
 
          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'
 
16859
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17233
16860
        fi
17234
16861
      fi
17235
16862
      ;;
17347
16974
      ;;
17348
16975
 
17349
16976
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17350
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
16977
    freebsd* | dragonfly*)
17351
16978
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17352
16979
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17353
16980
      hardcode_direct_GCJ=yes
17370
16997
      export_dynamic_flag_spec_GCJ='${wl}-E'
17371
16998
      ;;
17372
16999
 
17373
 
    hpux10* | hpux11*)
 
17000
    hpux10*)
 
17001
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17002
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17003
      else
 
17004
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17005
      fi
 
17006
      if test "$with_gnu_ld" = no; then
 
17007
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17008
        hardcode_libdir_separator_GCJ=:
 
17009
 
 
17010
        hardcode_direct_GCJ=yes
 
17011
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17012
 
 
17013
        # hardcode_minus_L: Not really in the search PATH,
 
17014
        # but as the default location of the library.
 
17015
        hardcode_minus_L_GCJ=yes
 
17016
      fi
 
17017
      ;;
 
17018
 
 
17019
    hpux11*)
17374
17020
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17375
17021
        case $host_cpu in
17376
 
        hppa*64*|ia64*)
 
17022
        hppa*64*)
17377
17023
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17378
17024
          ;;
 
17025
        ia64*)
 
17026
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
17027
          ;;
17379
17028
        *)
17380
17029
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17381
17030
          ;;
17382
17031
        esac
17383
17032
      else
17384
17033
        case $host_cpu in
17385
 
        hppa*64*|ia64*)
17386
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17034
        hppa*64*)
 
17035
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17036
          ;;
 
17037
        ia64*)
 
17038
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17387
17039
          ;;
17388
17040
        *)
17389
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17041
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17390
17042
          ;;
17391
17043
        esac
17392
17044
      fi
17393
17045
      if test "$with_gnu_ld" = no; then
 
17046
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17047
        hardcode_libdir_separator_GCJ=:
 
17048
 
17394
17049
        case $host_cpu in
17395
 
        hppa*64*)
17396
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17050
        hppa*64*|ia64*)
17397
17051
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17398
 
          hardcode_libdir_separator_GCJ=:
17399
 
          hardcode_direct_GCJ=no
17400
 
          hardcode_shlibpath_var_GCJ=no
17401
 
          ;;
17402
 
        ia64*)
17403
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17404
 
          hardcode_direct_GCJ=no
17405
 
          hardcode_shlibpath_var_GCJ=no
17406
 
 
17407
 
          # hardcode_minus_L: Not really in the search PATH,
17408
 
          # but as the default location of the library.
17409
 
          hardcode_minus_L_GCJ=yes
 
17052
          hardcode_direct_GCJ=no
 
17053
          hardcode_shlibpath_var_GCJ=no
17410
17054
          ;;
17411
17055
        *)
17412
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17413
 
          hardcode_libdir_separator_GCJ=:
17414
17056
          hardcode_direct_GCJ=yes
17415
17057
          export_dynamic_flag_spec_GCJ='${wl}-E'
17416
17058
 
17434
17076
      link_all_deplibs_GCJ=yes
17435
17077
      ;;
17436
17078
 
17437
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17079
    netbsd* | netbsdelf*-gnu)
17438
17080
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17439
17081
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17440
17082
      else
17512
17154
      hardcode_libdir_separator_GCJ=:
17513
17155
      ;;
17514
17156
 
17515
 
    sco3.2v5*)
17516
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17517
 
      hardcode_shlibpath_var_GCJ=no
17518
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17519
 
      runpath_var=LD_RUN_PATH
17520
 
      hardcode_runpath_var=yes
17521
 
      ;;
17522
 
 
17523
17157
    solaris*)
17524
17158
      no_undefined_flag_GCJ=' -z text'
17525
17159
      if test "$GCC" = yes; then
17605
17239
      fi
17606
17240
      ;;
17607
17241
 
17608
 
    sysv4.2uw2*)
17609
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17610
 
      hardcode_direct_GCJ=yes
17611
 
      hardcode_minus_L_GCJ=no
17612
 
      hardcode_shlibpath_var_GCJ=no
17613
 
      hardcode_runpath_var=yes
17614
 
      runpath_var=LD_RUN_PATH
17615
 
      ;;
17616
 
 
17617
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
17618
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
17619
 
      if test "$GCC" = yes; then
17620
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17621
 
      else
17622
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17623
 
      fi
17624
 
      runpath_var='LD_RUN_PATH'
17625
 
      hardcode_shlibpath_var_GCJ=no
17626
 
      ;;
17627
 
 
17628
 
    sysv5*)
17629
 
      no_undefined_flag_GCJ=' -z text'
17630
 
      # $CC -shared without GNU ld will not create a library from C++
17631
 
      # object files and a static libstdc++, better avoid it by now
17632
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17633
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17634
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17635
 
      hardcode_libdir_flag_spec_GCJ=
17636
 
      hardcode_shlibpath_var_GCJ=no
17637
 
      runpath_var='LD_RUN_PATH'
 
17242
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
17243
      no_undefined_flag_GCJ='${wl}-z,text'
 
17244
      archive_cmds_need_lc_GCJ=no
 
17245
      hardcode_shlibpath_var_GCJ=no
 
17246
      runpath_var='LD_RUN_PATH'
 
17247
 
 
17248
      if test "$GCC" = yes; then
 
17249
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17250
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17251
      else
 
17252
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17253
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17254
      fi
 
17255
      ;;
 
17256
 
 
17257
    sysv5* | sco3.2v5* | sco5v6*)
 
17258
      # Note: We can NOT use -z defs as we might desire, because we do not
 
17259
      # link with -lc, and that would cause any symbols used from libc to
 
17260
      # always be unresolved, which means just about no library would
 
17261
      # ever link correctly.  If we're not using GNU ld we use -z text
 
17262
      # though, which does catch some bad symbols but isn't as heavy-handed
 
17263
      # as -z defs.
 
17264
      no_undefined_flag_GCJ='${wl}-z,text'
 
17265
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
17266
      archive_cmds_need_lc_GCJ=no
 
17267
      hardcode_shlibpath_var_GCJ=no
 
17268
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
17269
      hardcode_libdir_separator_GCJ=':'
 
17270
      link_all_deplibs_GCJ=yes
 
17271
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
17272
      runpath_var='LD_RUN_PATH'
 
17273
 
 
17274
      if test "$GCC" = yes; then
 
17275
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17276
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17277
      else
 
17278
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17279
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17280
      fi
17638
17281
      ;;
17639
17282
 
17640
17283
    uts4*)
17653
17296
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17654
17297
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17655
17298
 
17656
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17657
 
if test "$GCC" = yes; then
17658
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17659
 
fi
17660
 
 
17661
17299
#
17662
17300
# Do we need to explicitly link libc?
17663
17301
#
17690
17328
        libobjs=conftest.$ac_objext
17691
17329
        deplibs=
17692
17330
        wl=$lt_prog_compiler_wl_GCJ
 
17331
        pic_flag=$lt_prog_compiler_pic_GCJ
17693
17332
        compiler_flags=-v
17694
17333
        linker_flags=-v
17695
17334
        verstring=
17927
17566
  dynamic_linker=no
17928
17567
  ;;
17929
17568
 
17930
 
kfreebsd*-gnu)
17931
 
  version_type=linux
17932
 
  need_lib_prefix=no
17933
 
  need_version=no
17934
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17935
 
  soname_spec='${libname}${release}${shared_ext}$major'
17936
 
  shlibpath_var=LD_LIBRARY_PATH
17937
 
  shlibpath_overrides_runpath=no
17938
 
  hardcode_into_libs=yes
17939
 
  dynamic_linker='GNU ld.so'
17940
 
  ;;
17941
 
 
17942
17569
freebsd* | dragonfly*)
17943
17570
  # DragonFly does not have aout.  When/if they implement a new
17944
17571
  # versioning mechanism, adjust this.
17971
17598
    shlibpath_overrides_runpath=yes
17972
17599
    hardcode_into_libs=yes
17973
17600
    ;;
17974
 
  *) # from 3.2 on
 
17601
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
17602
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17975
17603
    shlibpath_overrides_runpath=no
17976
17604
    hardcode_into_libs=yes
17977
17605
    ;;
 
17606
  freebsd*) # from 4.6 on
 
17607
    shlibpath_overrides_runpath=yes
 
17608
    hardcode_into_libs=yes
 
17609
    ;;
17978
17610
  esac
17979
17611
  ;;
17980
17612
 
18034
17666
  postinstall_cmds='chmod 555 $lib'
18035
17667
  ;;
18036
17668
 
 
17669
interix3*)
 
17670
  version_type=linux
 
17671
  need_lib_prefix=no
 
17672
  need_version=no
 
17673
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
17674
  soname_spec='${libname}${release}${shared_ext}$major'
 
17675
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
17676
  shlibpath_var=LD_LIBRARY_PATH
 
17677
  shlibpath_overrides_runpath=no
 
17678
  hardcode_into_libs=yes
 
17679
  ;;
 
17680
 
18037
17681
irix5* | irix6* | nonstopux*)
18038
17682
  case $host_os in
18039
17683
    nonstopux*) version_type=nonstopux ;;
18077
17721
  ;;
18078
17722
 
18079
17723
# This must be Linux ELF.
18080
 
linux*)
 
17724
linux* | k*bsd*-gnu)
18081
17725
  version_type=linux
18082
17726
  need_lib_prefix=no
18083
17727
  need_version=no
18118
17762
  dynamic_linker='NetBSD ld.elf_so'
18119
17763
  ;;
18120
17764
 
18121
 
knetbsd*-gnu)
18122
 
  version_type=linux
18123
 
  need_lib_prefix=no
18124
 
  need_version=no
18125
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18126
 
  soname_spec='${libname}${release}${shared_ext}$major'
18127
 
  shlibpath_var=LD_LIBRARY_PATH
18128
 
  shlibpath_overrides_runpath=no
18129
 
  hardcode_into_libs=yes
18130
 
  dynamic_linker='GNU ld.so'
18131
 
  ;;
18132
 
 
18133
17765
netbsd*)
18134
17766
  version_type=sunos
18135
17767
  need_lib_prefix=no
18167
17799
 
18168
17800
openbsd*)
18169
17801
  version_type=sunos
 
17802
  sys_lib_dlsearch_path_spec="/usr/lib"
18170
17803
  need_lib_prefix=no
18171
17804
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18172
17805
  case $host_os in
18210
17843
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18211
17844
  ;;
18212
17845
 
18213
 
sco3.2v5*)
18214
 
  version_type=osf
18215
 
  soname_spec='${libname}${release}${shared_ext}$major'
18216
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18217
 
  shlibpath_var=LD_LIBRARY_PATH
18218
 
  ;;
18219
 
 
18220
17846
solaris*)
18221
17847
  version_type=linux
18222
17848
  need_lib_prefix=no
18242
17868
  need_version=yes
18243
17869
  ;;
18244
17870
 
18245
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
17871
sysv4 | sysv4.3*)
18246
17872
  version_type=linux
18247
17873
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18248
17874
  soname_spec='${libname}${release}${shared_ext}$major'
18275
17901
  fi
18276
17902
  ;;
18277
17903
 
 
17904
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
17905
  version_type=freebsd-elf
 
17906
  need_lib_prefix=no
 
17907
  need_version=no
 
17908
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
17909
  soname_spec='${libname}${release}${shared_ext}$major'
 
17910
  shlibpath_var=LD_LIBRARY_PATH
 
17911
  hardcode_into_libs=yes
 
17912
  if test "$with_gnu_ld" = yes; then
 
17913
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
17914
    shlibpath_overrides_runpath=no
 
17915
  else
 
17916
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
17917
    shlibpath_overrides_runpath=yes
 
17918
    case $host_os in
 
17919
      sco3.2v5*)
 
17920
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
17921
        ;;
 
17922
    esac
 
17923
  fi
 
17924
  sys_lib_dlsearch_path_spec='/usr/lib'
 
17925
  ;;
 
17926
 
18278
17927
uts4*)
18279
17928
  version_type=linux
18280
17929
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18290
17939
echo "${ECHO_T}$dynamic_linker" >&6
18291
17940
test "$dynamic_linker" = no && can_build_shared=no
18292
17941
 
 
17942
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
17943
if test "$GCC" = yes; then
 
17944
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
17945
fi
 
17946
 
18293
17947
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18294
17948
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18295
17949
hardcode_action_GCJ=
18327
17981
  enable_fast_install=needless
18328
17982
fi
18329
17983
 
18330
 
striplib=
18331
 
old_striplib=
18332
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18333
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18334
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18335
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18336
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18337
 
  echo "$as_me:$LINENO: result: yes" >&5
18338
 
echo "${ECHO_T}yes" >&6
18339
 
else
18340
 
# FIXME - insert some real tests, host_os isn't really good enough
18341
 
  case $host_os in
18342
 
   darwin*)
18343
 
       if test -n "$STRIP" ; then
18344
 
         striplib="$STRIP -x"
18345
 
         echo "$as_me:$LINENO: result: yes" >&5
18346
 
echo "${ECHO_T}yes" >&6
18347
 
       else
18348
 
  echo "$as_me:$LINENO: result: no" >&5
18349
 
echo "${ECHO_T}no" >&6
18350
 
fi
18351
 
       ;;
18352
 
   *)
18353
 
  echo "$as_me:$LINENO: result: no" >&5
18354
 
echo "${ECHO_T}no" >&6
18355
 
    ;;
18356
 
  esac
18357
 
fi
18358
 
 
18359
 
if test "x$enable_dlopen" != xyes; then
18360
 
  enable_dlopen=unknown
18361
 
  enable_dlopen_self=unknown
18362
 
  enable_dlopen_self_static=unknown
18363
 
else
18364
 
  lt_cv_dlopen=no
18365
 
  lt_cv_dlopen_libs=
18366
 
 
18367
 
  case $host_os in
18368
 
  beos*)
18369
 
    lt_cv_dlopen="load_add_on"
18370
 
    lt_cv_dlopen_libs=
18371
 
    lt_cv_dlopen_self=yes
18372
 
    ;;
18373
 
 
18374
 
  mingw* | pw32*)
18375
 
    lt_cv_dlopen="LoadLibrary"
18376
 
    lt_cv_dlopen_libs=
18377
 
   ;;
18378
 
 
18379
 
  cygwin*)
18380
 
    lt_cv_dlopen="dlopen"
18381
 
    lt_cv_dlopen_libs=
18382
 
   ;;
18383
 
 
18384
 
  darwin*)
18385
 
  # if libdl is installed we need to link against it
18386
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18387
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18388
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18389
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18390
 
else
18391
 
  ac_check_lib_save_LIBS=$LIBS
18392
 
LIBS="-ldl  $LIBS"
18393
 
cat >conftest.$ac_ext <<_ACEOF
18394
 
/* confdefs.h.  */
18395
 
_ACEOF
18396
 
cat confdefs.h >>conftest.$ac_ext
18397
 
cat >>conftest.$ac_ext <<_ACEOF
18398
 
/* end confdefs.h.  */
18399
 
 
18400
 
/* Override any gcc2 internal prototype to avoid an error.  */
18401
 
#ifdef __cplusplus
18402
 
extern "C"
18403
 
#endif
18404
 
/* We use char because int might match the return type of a gcc2
18405
 
   builtin and then its argument prototype would still apply.  */
18406
 
char dlopen ();
18407
 
int
18408
 
main ()
18409
 
{
18410
 
dlopen ();
18411
 
  ;
18412
 
  return 0;
18413
 
}
18414
 
_ACEOF
18415
 
rm -f conftest.$ac_objext conftest$ac_exeext
18416
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18417
 
  (eval $ac_link) 2>conftest.er1
18418
 
  ac_status=$?
18419
 
  grep -v '^ *+' conftest.er1 >conftest.err
18420
 
  rm -f conftest.er1
18421
 
  cat conftest.err >&5
18422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423
 
  (exit $ac_status); } &&
18424
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18425
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426
 
  (eval $ac_try) 2>&5
18427
 
  ac_status=$?
18428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429
 
  (exit $ac_status); }; } &&
18430
 
         { ac_try='test -s conftest$ac_exeext'
18431
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432
 
  (eval $ac_try) 2>&5
18433
 
  ac_status=$?
18434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435
 
  (exit $ac_status); }; }; then
18436
 
  ac_cv_lib_dl_dlopen=yes
18437
 
else
18438
 
  echo "$as_me: failed program was:" >&5
18439
 
sed 's/^/| /' conftest.$ac_ext >&5
18440
 
 
18441
 
ac_cv_lib_dl_dlopen=no
18442
 
fi
18443
 
rm -f conftest.err conftest.$ac_objext \
18444
 
      conftest$ac_exeext conftest.$ac_ext
18445
 
LIBS=$ac_check_lib_save_LIBS
18446
 
fi
18447
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18448
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18449
 
if test $ac_cv_lib_dl_dlopen = yes; then
18450
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18451
 
else
18452
 
 
18453
 
    lt_cv_dlopen="dyld"
18454
 
    lt_cv_dlopen_libs=
18455
 
    lt_cv_dlopen_self=yes
18456
 
 
18457
 
fi
18458
 
 
18459
 
   ;;
18460
 
 
18461
 
  *)
18462
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
18463
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18464
 
if test "${ac_cv_func_shl_load+set}" = set; then
18465
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18466
 
else
18467
 
  cat >conftest.$ac_ext <<_ACEOF
18468
 
/* confdefs.h.  */
18469
 
_ACEOF
18470
 
cat confdefs.h >>conftest.$ac_ext
18471
 
cat >>conftest.$ac_ext <<_ACEOF
18472
 
/* end confdefs.h.  */
18473
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18474
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18475
 
#define shl_load innocuous_shl_load
18476
 
 
18477
 
/* System header to define __stub macros and hopefully few prototypes,
18478
 
    which can conflict with char shl_load (); below.
18479
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18480
 
    <limits.h> exists even on freestanding compilers.  */
18481
 
 
18482
 
#ifdef __STDC__
18483
 
# include <limits.h>
18484
 
#else
18485
 
# include <assert.h>
18486
 
#endif
18487
 
 
18488
 
#undef shl_load
18489
 
 
18490
 
/* Override any gcc2 internal prototype to avoid an error.  */
18491
 
#ifdef __cplusplus
18492
 
extern "C"
18493
 
{
18494
 
#endif
18495
 
/* We use char because int might match the return type of a gcc2
18496
 
   builtin and then its argument prototype would still apply.  */
18497
 
char shl_load ();
18498
 
/* The GNU C library defines this for functions which it implements
18499
 
    to always fail with ENOSYS.  Some functions are actually named
18500
 
    something starting with __ and the normal name is an alias.  */
18501
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
18502
 
choke me
18503
 
#else
18504
 
char (*f) () = shl_load;
18505
 
#endif
18506
 
#ifdef __cplusplus
18507
 
}
18508
 
#endif
18509
 
 
18510
 
int
18511
 
main ()
18512
 
{
18513
 
return f != shl_load;
18514
 
  ;
18515
 
  return 0;
18516
 
}
18517
 
_ACEOF
18518
 
rm -f conftest.$ac_objext conftest$ac_exeext
18519
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18520
 
  (eval $ac_link) 2>conftest.er1
18521
 
  ac_status=$?
18522
 
  grep -v '^ *+' conftest.er1 >conftest.err
18523
 
  rm -f conftest.er1
18524
 
  cat conftest.err >&5
18525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526
 
  (exit $ac_status); } &&
18527
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18528
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529
 
  (eval $ac_try) 2>&5
18530
 
  ac_status=$?
18531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532
 
  (exit $ac_status); }; } &&
18533
 
         { ac_try='test -s conftest$ac_exeext'
18534
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535
 
  (eval $ac_try) 2>&5
18536
 
  ac_status=$?
18537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538
 
  (exit $ac_status); }; }; then
18539
 
  ac_cv_func_shl_load=yes
18540
 
else
18541
 
  echo "$as_me: failed program was:" >&5
18542
 
sed 's/^/| /' conftest.$ac_ext >&5
18543
 
 
18544
 
ac_cv_func_shl_load=no
18545
 
fi
18546
 
rm -f conftest.err conftest.$ac_objext \
18547
 
      conftest$ac_exeext conftest.$ac_ext
18548
 
fi
18549
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18550
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18551
 
if test $ac_cv_func_shl_load = yes; then
18552
 
  lt_cv_dlopen="shl_load"
18553
 
else
18554
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18555
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18556
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18558
 
else
18559
 
  ac_check_lib_save_LIBS=$LIBS
18560
 
LIBS="-ldld  $LIBS"
18561
 
cat >conftest.$ac_ext <<_ACEOF
18562
 
/* confdefs.h.  */
18563
 
_ACEOF
18564
 
cat confdefs.h >>conftest.$ac_ext
18565
 
cat >>conftest.$ac_ext <<_ACEOF
18566
 
/* end confdefs.h.  */
18567
 
 
18568
 
/* Override any gcc2 internal prototype to avoid an error.  */
18569
 
#ifdef __cplusplus
18570
 
extern "C"
18571
 
#endif
18572
 
/* We use char because int might match the return type of a gcc2
18573
 
   builtin and then its argument prototype would still apply.  */
18574
 
char shl_load ();
18575
 
int
18576
 
main ()
18577
 
{
18578
 
shl_load ();
18579
 
  ;
18580
 
  return 0;
18581
 
}
18582
 
_ACEOF
18583
 
rm -f conftest.$ac_objext conftest$ac_exeext
18584
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18585
 
  (eval $ac_link) 2>conftest.er1
18586
 
  ac_status=$?
18587
 
  grep -v '^ *+' conftest.er1 >conftest.err
18588
 
  rm -f conftest.er1
18589
 
  cat conftest.err >&5
18590
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591
 
  (exit $ac_status); } &&
18592
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18593
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594
 
  (eval $ac_try) 2>&5
18595
 
  ac_status=$?
18596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597
 
  (exit $ac_status); }; } &&
18598
 
         { ac_try='test -s conftest$ac_exeext'
18599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600
 
  (eval $ac_try) 2>&5
18601
 
  ac_status=$?
18602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603
 
  (exit $ac_status); }; }; then
18604
 
  ac_cv_lib_dld_shl_load=yes
18605
 
else
18606
 
  echo "$as_me: failed program was:" >&5
18607
 
sed 's/^/| /' conftest.$ac_ext >&5
18608
 
 
18609
 
ac_cv_lib_dld_shl_load=no
18610
 
fi
18611
 
rm -f conftest.err conftest.$ac_objext \
18612
 
      conftest$ac_exeext conftest.$ac_ext
18613
 
LIBS=$ac_check_lib_save_LIBS
18614
 
fi
18615
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18616
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18617
 
if test $ac_cv_lib_dld_shl_load = yes; then
18618
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18619
 
else
18620
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
18621
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18622
 
if test "${ac_cv_func_dlopen+set}" = set; then
18623
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18624
 
else
18625
 
  cat >conftest.$ac_ext <<_ACEOF
18626
 
/* confdefs.h.  */
18627
 
_ACEOF
18628
 
cat confdefs.h >>conftest.$ac_ext
18629
 
cat >>conftest.$ac_ext <<_ACEOF
18630
 
/* end confdefs.h.  */
18631
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18632
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18633
 
#define dlopen innocuous_dlopen
18634
 
 
18635
 
/* System header to define __stub macros and hopefully few prototypes,
18636
 
    which can conflict with char dlopen (); below.
18637
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18638
 
    <limits.h> exists even on freestanding compilers.  */
18639
 
 
18640
 
#ifdef __STDC__
18641
 
# include <limits.h>
18642
 
#else
18643
 
# include <assert.h>
18644
 
#endif
18645
 
 
18646
 
#undef dlopen
18647
 
 
18648
 
/* Override any gcc2 internal prototype to avoid an error.  */
18649
 
#ifdef __cplusplus
18650
 
extern "C"
18651
 
{
18652
 
#endif
18653
 
/* We use char because int might match the return type of a gcc2
18654
 
   builtin and then its argument prototype would still apply.  */
18655
 
char dlopen ();
18656
 
/* The GNU C library defines this for functions which it implements
18657
 
    to always fail with ENOSYS.  Some functions are actually named
18658
 
    something starting with __ and the normal name is an alias.  */
18659
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
18660
 
choke me
18661
 
#else
18662
 
char (*f) () = dlopen;
18663
 
#endif
18664
 
#ifdef __cplusplus
18665
 
}
18666
 
#endif
18667
 
 
18668
 
int
18669
 
main ()
18670
 
{
18671
 
return f != dlopen;
18672
 
  ;
18673
 
  return 0;
18674
 
}
18675
 
_ACEOF
18676
 
rm -f conftest.$ac_objext conftest$ac_exeext
18677
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18678
 
  (eval $ac_link) 2>conftest.er1
18679
 
  ac_status=$?
18680
 
  grep -v '^ *+' conftest.er1 >conftest.err
18681
 
  rm -f conftest.er1
18682
 
  cat conftest.err >&5
18683
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684
 
  (exit $ac_status); } &&
18685
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18686
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687
 
  (eval $ac_try) 2>&5
18688
 
  ac_status=$?
18689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690
 
  (exit $ac_status); }; } &&
18691
 
         { ac_try='test -s conftest$ac_exeext'
18692
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18693
 
  (eval $ac_try) 2>&5
18694
 
  ac_status=$?
18695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696
 
  (exit $ac_status); }; }; then
18697
 
  ac_cv_func_dlopen=yes
18698
 
else
18699
 
  echo "$as_me: failed program was:" >&5
18700
 
sed 's/^/| /' conftest.$ac_ext >&5
18701
 
 
18702
 
ac_cv_func_dlopen=no
18703
 
fi
18704
 
rm -f conftest.err conftest.$ac_objext \
18705
 
      conftest$ac_exeext conftest.$ac_ext
18706
 
fi
18707
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18708
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18709
 
if test $ac_cv_func_dlopen = yes; then
18710
 
  lt_cv_dlopen="dlopen"
18711
 
else
18712
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18713
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18714
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18715
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18716
 
else
18717
 
  ac_check_lib_save_LIBS=$LIBS
18718
 
LIBS="-ldl  $LIBS"
18719
 
cat >conftest.$ac_ext <<_ACEOF
18720
 
/* confdefs.h.  */
18721
 
_ACEOF
18722
 
cat confdefs.h >>conftest.$ac_ext
18723
 
cat >>conftest.$ac_ext <<_ACEOF
18724
 
/* end confdefs.h.  */
18725
 
 
18726
 
/* Override any gcc2 internal prototype to avoid an error.  */
18727
 
#ifdef __cplusplus
18728
 
extern "C"
18729
 
#endif
18730
 
/* We use char because int might match the return type of a gcc2
18731
 
   builtin and then its argument prototype would still apply.  */
18732
 
char dlopen ();
18733
 
int
18734
 
main ()
18735
 
{
18736
 
dlopen ();
18737
 
  ;
18738
 
  return 0;
18739
 
}
18740
 
_ACEOF
18741
 
rm -f conftest.$ac_objext conftest$ac_exeext
18742
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18743
 
  (eval $ac_link) 2>conftest.er1
18744
 
  ac_status=$?
18745
 
  grep -v '^ *+' conftest.er1 >conftest.err
18746
 
  rm -f conftest.er1
18747
 
  cat conftest.err >&5
18748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749
 
  (exit $ac_status); } &&
18750
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18751
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752
 
  (eval $ac_try) 2>&5
18753
 
  ac_status=$?
18754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755
 
  (exit $ac_status); }; } &&
18756
 
         { ac_try='test -s conftest$ac_exeext'
18757
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758
 
  (eval $ac_try) 2>&5
18759
 
  ac_status=$?
18760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761
 
  (exit $ac_status); }; }; then
18762
 
  ac_cv_lib_dl_dlopen=yes
18763
 
else
18764
 
  echo "$as_me: failed program was:" >&5
18765
 
sed 's/^/| /' conftest.$ac_ext >&5
18766
 
 
18767
 
ac_cv_lib_dl_dlopen=no
18768
 
fi
18769
 
rm -f conftest.err conftest.$ac_objext \
18770
 
      conftest$ac_exeext conftest.$ac_ext
18771
 
LIBS=$ac_check_lib_save_LIBS
18772
 
fi
18773
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18774
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18775
 
if test $ac_cv_lib_dl_dlopen = yes; then
18776
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18777
 
else
18778
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18779
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18780
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18781
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18782
 
else
18783
 
  ac_check_lib_save_LIBS=$LIBS
18784
 
LIBS="-lsvld  $LIBS"
18785
 
cat >conftest.$ac_ext <<_ACEOF
18786
 
/* confdefs.h.  */
18787
 
_ACEOF
18788
 
cat confdefs.h >>conftest.$ac_ext
18789
 
cat >>conftest.$ac_ext <<_ACEOF
18790
 
/* end confdefs.h.  */
18791
 
 
18792
 
/* Override any gcc2 internal prototype to avoid an error.  */
18793
 
#ifdef __cplusplus
18794
 
extern "C"
18795
 
#endif
18796
 
/* We use char because int might match the return type of a gcc2
18797
 
   builtin and then its argument prototype would still apply.  */
18798
 
char dlopen ();
18799
 
int
18800
 
main ()
18801
 
{
18802
 
dlopen ();
18803
 
  ;
18804
 
  return 0;
18805
 
}
18806
 
_ACEOF
18807
 
rm -f conftest.$ac_objext conftest$ac_exeext
18808
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18809
 
  (eval $ac_link) 2>conftest.er1
18810
 
  ac_status=$?
18811
 
  grep -v '^ *+' conftest.er1 >conftest.err
18812
 
  rm -f conftest.er1
18813
 
  cat conftest.err >&5
18814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815
 
  (exit $ac_status); } &&
18816
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18817
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18818
 
  (eval $ac_try) 2>&5
18819
 
  ac_status=$?
18820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821
 
  (exit $ac_status); }; } &&
18822
 
         { ac_try='test -s conftest$ac_exeext'
18823
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18824
 
  (eval $ac_try) 2>&5
18825
 
  ac_status=$?
18826
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827
 
  (exit $ac_status); }; }; then
18828
 
  ac_cv_lib_svld_dlopen=yes
18829
 
else
18830
 
  echo "$as_me: failed program was:" >&5
18831
 
sed 's/^/| /' conftest.$ac_ext >&5
18832
 
 
18833
 
ac_cv_lib_svld_dlopen=no
18834
 
fi
18835
 
rm -f conftest.err conftest.$ac_objext \
18836
 
      conftest$ac_exeext conftest.$ac_ext
18837
 
LIBS=$ac_check_lib_save_LIBS
18838
 
fi
18839
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18840
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18841
 
if test $ac_cv_lib_svld_dlopen = yes; then
18842
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18843
 
else
18844
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18845
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18846
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18847
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18848
 
else
18849
 
  ac_check_lib_save_LIBS=$LIBS
18850
 
LIBS="-ldld  $LIBS"
18851
 
cat >conftest.$ac_ext <<_ACEOF
18852
 
/* confdefs.h.  */
18853
 
_ACEOF
18854
 
cat confdefs.h >>conftest.$ac_ext
18855
 
cat >>conftest.$ac_ext <<_ACEOF
18856
 
/* end confdefs.h.  */
18857
 
 
18858
 
/* Override any gcc2 internal prototype to avoid an error.  */
18859
 
#ifdef __cplusplus
18860
 
extern "C"
18861
 
#endif
18862
 
/* We use char because int might match the return type of a gcc2
18863
 
   builtin and then its argument prototype would still apply.  */
18864
 
char dld_link ();
18865
 
int
18866
 
main ()
18867
 
{
18868
 
dld_link ();
18869
 
  ;
18870
 
  return 0;
18871
 
}
18872
 
_ACEOF
18873
 
rm -f conftest.$ac_objext conftest$ac_exeext
18874
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18875
 
  (eval $ac_link) 2>conftest.er1
18876
 
  ac_status=$?
18877
 
  grep -v '^ *+' conftest.er1 >conftest.err
18878
 
  rm -f conftest.er1
18879
 
  cat conftest.err >&5
18880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881
 
  (exit $ac_status); } &&
18882
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884
 
  (eval $ac_try) 2>&5
18885
 
  ac_status=$?
18886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887
 
  (exit $ac_status); }; } &&
18888
 
         { ac_try='test -s conftest$ac_exeext'
18889
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890
 
  (eval $ac_try) 2>&5
18891
 
  ac_status=$?
18892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893
 
  (exit $ac_status); }; }; then
18894
 
  ac_cv_lib_dld_dld_link=yes
18895
 
else
18896
 
  echo "$as_me: failed program was:" >&5
18897
 
sed 's/^/| /' conftest.$ac_ext >&5
18898
 
 
18899
 
ac_cv_lib_dld_dld_link=no
18900
 
fi
18901
 
rm -f conftest.err conftest.$ac_objext \
18902
 
      conftest$ac_exeext conftest.$ac_ext
18903
 
LIBS=$ac_check_lib_save_LIBS
18904
 
fi
18905
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18906
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18907
 
if test $ac_cv_lib_dld_dld_link = yes; then
18908
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18909
 
fi
18910
 
 
18911
 
 
18912
 
fi
18913
 
 
18914
 
 
18915
 
fi
18916
 
 
18917
 
 
18918
 
fi
18919
 
 
18920
 
 
18921
 
fi
18922
 
 
18923
 
 
18924
 
fi
18925
 
 
18926
 
    ;;
18927
 
  esac
18928
 
 
18929
 
  if test "x$lt_cv_dlopen" != xno; then
18930
 
    enable_dlopen=yes
18931
 
  else
18932
 
    enable_dlopen=no
18933
 
  fi
18934
 
 
18935
 
  case $lt_cv_dlopen in
18936
 
  dlopen)
18937
 
    save_CPPFLAGS="$CPPFLAGS"
18938
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18939
 
 
18940
 
    save_LDFLAGS="$LDFLAGS"
18941
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18942
 
 
18943
 
    save_LIBS="$LIBS"
18944
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
18945
 
 
18946
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18947
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18948
 
if test "${lt_cv_dlopen_self+set}" = set; then
18949
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18950
 
else
18951
 
          if test "$cross_compiling" = yes; then :
18952
 
  lt_cv_dlopen_self=cross
18953
 
else
18954
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18955
 
  lt_status=$lt_dlunknown
18956
 
  cat > conftest.$ac_ext <<EOF
18957
 
#line 18957 "configure"
18958
 
#include "confdefs.h"
18959
 
 
18960
 
#if HAVE_DLFCN_H
18961
 
#include <dlfcn.h>
18962
 
#endif
18963
 
 
18964
 
#include <stdio.h>
18965
 
 
18966
 
#ifdef RTLD_GLOBAL
18967
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18968
 
#else
18969
 
#  ifdef DL_GLOBAL
18970
 
#    define LT_DLGLOBAL         DL_GLOBAL
18971
 
#  else
18972
 
#    define LT_DLGLOBAL         0
18973
 
#  endif
18974
 
#endif
18975
 
 
18976
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18977
 
   find out it does not work in some platform. */
18978
 
#ifndef LT_DLLAZY_OR_NOW
18979
 
#  ifdef RTLD_LAZY
18980
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18981
 
#  else
18982
 
#    ifdef DL_LAZY
18983
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18984
 
#    else
18985
 
#      ifdef RTLD_NOW
18986
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18987
 
#      else
18988
 
#        ifdef DL_NOW
18989
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18990
 
#        else
18991
 
#          define LT_DLLAZY_OR_NOW      0
18992
 
#        endif
18993
 
#      endif
18994
 
#    endif
18995
 
#  endif
18996
 
#endif
18997
 
 
18998
 
#ifdef __cplusplus
18999
 
extern "C" void exit (int);
19000
 
#endif
19001
 
 
19002
 
void fnord() { int i=42;}
19003
 
int main ()
19004
 
{
19005
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19006
 
  int status = $lt_dlunknown;
19007
 
 
19008
 
  if (self)
19009
 
    {
19010
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
19011
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19012
 
      /* dlclose (self); */
19013
 
    }
19014
 
 
19015
 
    exit (status);
19016
 
}
19017
 
EOF
19018
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19019
 
  (eval $ac_link) 2>&5
19020
 
  ac_status=$?
19021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19023
 
    (./conftest; exit; ) >&5 2>/dev/null
19024
 
    lt_status=$?
19025
 
    case x$lt_status in
19026
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19027
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19028
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19029
 
    esac
19030
 
  else :
19031
 
    # compilation failed
19032
 
    lt_cv_dlopen_self=no
19033
 
  fi
19034
 
fi
19035
 
rm -fr conftest*
19036
 
 
19037
 
 
19038
 
fi
19039
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19040
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19041
 
 
19042
 
    if test "x$lt_cv_dlopen_self" = xyes; then
19043
 
      LDFLAGS="$LDFLAGS $link_static_flag"
19044
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19045
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19046
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
19047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19048
 
else
19049
 
          if test "$cross_compiling" = yes; then :
19050
 
  lt_cv_dlopen_self_static=cross
19051
 
else
19052
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19053
 
  lt_status=$lt_dlunknown
19054
 
  cat > conftest.$ac_ext <<EOF
19055
 
#line 19055 "configure"
19056
 
#include "confdefs.h"
19057
 
 
19058
 
#if HAVE_DLFCN_H
19059
 
#include <dlfcn.h>
19060
 
#endif
19061
 
 
19062
 
#include <stdio.h>
19063
 
 
19064
 
#ifdef RTLD_GLOBAL
19065
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
19066
 
#else
19067
 
#  ifdef DL_GLOBAL
19068
 
#    define LT_DLGLOBAL         DL_GLOBAL
19069
 
#  else
19070
 
#    define LT_DLGLOBAL         0
19071
 
#  endif
19072
 
#endif
19073
 
 
19074
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19075
 
   find out it does not work in some platform. */
19076
 
#ifndef LT_DLLAZY_OR_NOW
19077
 
#  ifdef RTLD_LAZY
19078
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
19079
 
#  else
19080
 
#    ifdef DL_LAZY
19081
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
19082
 
#    else
19083
 
#      ifdef RTLD_NOW
19084
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
19085
 
#      else
19086
 
#        ifdef DL_NOW
19087
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
19088
 
#        else
19089
 
#          define LT_DLLAZY_OR_NOW      0
19090
 
#        endif
19091
 
#      endif
19092
 
#    endif
19093
 
#  endif
19094
 
#endif
19095
 
 
19096
 
#ifdef __cplusplus
19097
 
extern "C" void exit (int);
19098
 
#endif
19099
 
 
19100
 
void fnord() { int i=42;}
19101
 
int main ()
19102
 
{
19103
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19104
 
  int status = $lt_dlunknown;
19105
 
 
19106
 
  if (self)
19107
 
    {
19108
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
19109
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19110
 
      /* dlclose (self); */
19111
 
    }
19112
 
 
19113
 
    exit (status);
19114
 
}
19115
 
EOF
19116
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19117
 
  (eval $ac_link) 2>&5
19118
 
  ac_status=$?
19119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19121
 
    (./conftest; exit; ) >&5 2>/dev/null
19122
 
    lt_status=$?
19123
 
    case x$lt_status in
19124
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19125
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19126
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19127
 
    esac
19128
 
  else :
19129
 
    # compilation failed
19130
 
    lt_cv_dlopen_self_static=no
19131
 
  fi
19132
 
fi
19133
 
rm -fr conftest*
19134
 
 
19135
 
 
19136
 
fi
19137
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19138
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19139
 
    fi
19140
 
 
19141
 
    CPPFLAGS="$save_CPPFLAGS"
19142
 
    LDFLAGS="$save_LDFLAGS"
19143
 
    LIBS="$save_LIBS"
19144
 
    ;;
19145
 
  esac
19146
 
 
19147
 
  case $lt_cv_dlopen_self in
19148
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19149
 
  *) enable_dlopen_self=unknown ;;
19150
 
  esac
19151
 
 
19152
 
  case $lt_cv_dlopen_self_static in
19153
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19154
 
  *) enable_dlopen_self_static=unknown ;;
19155
 
  esac
19156
 
fi
19157
 
 
19158
17984
 
19159
17985
# The else clause should only fire when bootstrapping the
19160
17986
# libtool distribution, otherwise you forgot to ship ltmain.sh
19169
17995
  # Now quote all the things that may contain metacharacters while being
19170
17996
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19171
17997
  # variables and quote the copies for generation of the libtool script.
19172
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
17998
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19173
17999
    SED SHELL STRIP \
19174
18000
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19175
18001
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19287
18113
# A C compiler.
19288
18114
LTCC=$lt_LTCC
19289
18115
 
 
18116
# LTCC compiler flags.
 
18117
LTCFLAGS=$lt_LTCFLAGS
 
18118
 
19290
18119
# A language-specific compiler.
19291
18120
CC=$lt_compiler_GCJ
19292
18121
 
19596
18425
# If no C compiler was specified, use CC.
19597
18426
LTCC=${LTCC-"$CC"}
19598
18427
 
 
18428
# If no C compiler flags were specified, use CFLAGS.
 
18429
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
18430
 
19599
18431
# Allow CC to be a program name with arguments.
19600
18432
compiler=$CC
19601
18433
 
19603
18435
# save warnings/boilerplate of simple test code
19604
18436
ac_outfile=conftest.$ac_objext
19605
18437
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19606
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
18438
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19607
18439
_lt_compiler_boilerplate=`cat conftest.err`
19608
18440
$rm conftest*
19609
18441
 
19610
18442
ac_outfile=conftest.$ac_objext
19611
18443
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19612
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
18444
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19613
18445
_lt_linker_boilerplate=`cat conftest.err`
19614
18446
$rm conftest*
19615
18447
 
19644
18476
  # Now quote all the things that may contain metacharacters while being
19645
18477
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19646
18478
  # variables and quote the copies for generation of the libtool script.
19647
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
18479
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19648
18480
    SED SHELL STRIP \
19649
18481
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19650
18482
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19762
18594
# A C compiler.
19763
18595
LTCC=$lt_LTCC
19764
18596
 
 
18597
# LTCC compiler flags.
 
18598
LTCFLAGS=$lt_LTCFLAGS
 
18599
 
19765
18600
# A language-specific compiler.
19766
18601
CC=$lt_compiler_RC
19767
18602
 
23514
22349
ALL_LINGUAS="bg ca cs da de el en_CA en_GB es eu fi fr ga gl he hu hr id it ja ko lt mk ms nb nl no pa pl pt pt_BR ro ru sk sr sr@Latn sv tr uk vi yi zh_CN zh_TW"
23515
22350
 
23516
22351
 
 
22352
case "$am__api_version" in
 
22353
    1.01234)
 
22354
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
22355
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
22356
   { (exit 1); exit 1; }; }
 
22357
    ;;
 
22358
    *)
 
22359
    ;;
 
22360
esac
23517
22361
 
23518
22362
if test -n ""; then
23519
22363
    echo "$as_me:$LINENO: checking for intltool >= " >&5
23520
22364
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6
23521
22365
 
23522
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ printf "%d", $1 * 100 + $2; }'`
23523
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }'  < ${ac_aux_dir}/intltool-update.in`
23524
 
 
23525
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($2, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in`
23526
 
 
23527
 
 
23528
 
    if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
23529
 
        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
22366
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 100 + $ 2; }'`
 
22367
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
 
22368
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 100 + VERSION[2];}' ${ac_aux_dir}/intltool-update.in`
 
22369
 
 
22370
    echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
23530
22371
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
23531
 
    else
23532
 
        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool  or later." >&5
23533
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool  or later." >&6
23534
 
        exit 1
23535
 
    fi
 
22372
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
22373
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool  or later." >&5
 
22374
echo "$as_me: error: Your intltool is too old.  You need intltool  or later." >&2;}
 
22375
   { (exit 1); exit 1; }; }
23536
22376
fi
23537
22377
 
23538
22378
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
23552
22392
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
23553
22393
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
23554
22394
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
22395
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
22396
 
23555
22397
 
23556
22398
 
23557
22399
 
23572
22414
 
23573
22415
 
23574
22416
# Use the tools built into the package, not the ones that are installed.
23575
 
 
23576
22417
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
 
22418
 
23577
22419
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
 
22420
 
23578
22421
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
23579
22422
 
23580
22423
 
23581
 
 
23582
 
 
23583
 
 
23584
22424
# Extract the first word of "perl", so it can be a program name with args.
23585
22425
set dummy perl; ac_word=$2
23586
22426
echo "$as_me:$LINENO: checking for $ac_word" >&5
23804
22644
fi
23805
22645
 
23806
22646
 
23807
 
# Remove file type tags (using []) from po/POTFILES.
23808
 
 
23809
 
 
23810
 
 
23811
 
 
23812
 
 
23813
 
 
23814
 
 
23815
 
# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
 
22647
 
 
22648
 
23816
22649
 
23817
22650
          ac_config_commands="$ac_config_commands intltool"
23818
22651
 
35862
34695
   { (exit 1); exit 1; }; }
35863
34696
fi
35864
34697
 
35865
 
       mv -f po/POTFILES po/POTFILES.tmp
35866
 
        sed -e '/[[]encoding.*]/d' -e 's/[[].*] *//' < po/POTFILES.tmp > po/POTFILES
35867
 
        rm -f po/POTFILES.tmp
 
34698
            ac_config_commands="$ac_config_commands po/stamp-it"
 
34699
 
35868
34700
 
35869
34701
if test -z "${HAVE_GLIBC_REGEX_TRUE}" && test -z "${HAVE_GLIBC_REGEX_FALSE}"; then
35870
34702
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GLIBC_REGEX\" was never defined.
36263
35095
} >&5
36264
35096
cat >&5 <<_CSEOF
36265
35097
 
36266
 
This file was extended by GIMP $as_me 2.2.10, which was
 
35098
This file was extended by GIMP $as_me 2.2.11, which was
36267
35099
generated by GNU Autoconf 2.59.  Invocation command line was
36268
35100
 
36269
35101
  CONFIG_FILES    = $CONFIG_FILES
36326
35158
 
36327
35159
cat >>$CONFIG_STATUS <<_ACEOF
36328
35160
ac_cs_version="\\
36329
 
GIMP config.status 2.2.10
 
35161
GIMP config.status 2.2.11
36330
35162
configured by $0, generated by GNU Autoconf 2.59,
36331
35163
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36332
35164
 
36426
35258
#
36427
35259
 
36428
35260
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
36429
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir=${ac_aux_dir}
36430
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' ICONV='${INTLTOOL_ICONV}'
36431
 
MSGFMT='${INTLTOOL_MSGFMT}' MSGMERGE='${INTLTOOL_MSGMERGE}'
36432
 
XGETTEXT='${INTLTOOL_XGETTEXT}'
 
35261
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
 
35262
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
 
35263
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
 
35264
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
 
35265
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
36433
35266
 
36434
35267
 
36435
35268
  gimp_major_ver=2
36436
35269
  gimp_minor_ver=2
36437
 
  gimp_micro_ver=10
36438
 
  gimp_ver=2.2.10
 
35270
  gimp_micro_ver=11
 
35271
  gimp_ver=2.2.11
36439
35272
  gimp_api_ver=2.0
36440
35273
 
36441
35274
 
36584
35417
  "libgimpbase/gimpversion.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libgimpbase/gimpversion.h" ;;
36585
35418
  "chmod-scripts" ) CONFIG_COMMANDS="$CONFIG_COMMANDS chmod-scripts" ;;
36586
35419
  "sed-po-makefiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS sed-po-makefiles" ;;
 
35420
  "po/stamp-it" ) CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
36587
35421
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
36588
35422
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36589
35423
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36810
35644
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
36811
35645
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
36812
35646
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
 
35647
s,@INTLTOOL_SERVICE_RULE@,$INTLTOOL_SERVICE_RULE,;t t
36813
35648
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
36814
35649
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
36815
35650
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
37662
36497
 ;;
37663
36498
    intltool )
37664
36499
 
37665
 
intltool_edit="-e 's#@INTLTOOL_EXTRACT@#`pwd`/intltool-extract#g' \
37666
 
               -e 's#@INTLTOOL_ICONV@#${INTLTOOL_ICONV}#g' \
37667
 
               -e 's#@INTLTOOL_MSGFMT@#${INTLTOOL_MSGFMT}#g' \
37668
 
               -e 's#@INTLTOOL_MSGMERGE@#${INTLTOOL_MSGMERGE}#g' \
37669
 
               -e 's#@INTLTOOL_XGETTEXT@#${INTLTOOL_XGETTEXT}#g' \
37670
 
               -e 's#@INTLTOOL_PERL@#${INTLTOOL_PERL}#g'"
37671
 
 
37672
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-extract.in \
37673
 
  > intltool-extract.out
37674
 
if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
37675
 
  rm -f intltool-extract.out
37676
 
else
37677
 
  mv -f intltool-extract.out intltool-extract
37678
 
fi
37679
 
chmod ugo+x intltool-extract
37680
 
chmod u+w intltool-extract
37681
 
 
37682
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-merge.in \
37683
 
  > intltool-merge.out
37684
 
if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
37685
 
  rm -f intltool-merge.out
37686
 
else
37687
 
  mv -f intltool-merge.out intltool-merge
37688
 
fi
37689
 
chmod ugo+x intltool-merge
37690
 
chmod u+w intltool-merge
37691
 
 
37692
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-update.in \
37693
 
  > intltool-update.out
37694
 
if cmp -s intltool-update intltool-update.out 2>/dev/null; then
37695
 
  rm -f intltool-update.out
37696
 
else
37697
 
  mv -f intltool-update.out intltool-update
37698
 
fi
37699
 
chmod ugo+x intltool-update
37700
 
chmod u+w intltool-update
 
36500
for file in intltool-extract intltool-merge intltool-update; do
 
36501
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
 
36502
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
 
36503
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
 
36504
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
 
36505
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
 
36506
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
 
36507
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
 
36508
        < ${ac_aux_dir}/${file}.in > ${file}.out
 
36509
  if cmp -s ${file} ${file}.out 2>/dev/null; then
 
36510
    rm -f ${file}.out
 
36511
  else
 
36512
    mv -f ${file}.out ${file}
 
36513
  fi
 
36514
  chmod ugo+x ${file}
 
36515
  chmod u+w ${file}
 
36516
done
37701
36517
 
37702
36518
 ;;
37703
36519
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
37752
36568
    sed-po-makefiles ) sed -e "/POTFILES =/r po-libgimp/POTFILES" po-libgimp/Makefile.in > po-libgimp/Makefile
37753
36569
sed -e "/POTFILES =/r po-plug-ins/POTFILES" po-plug-ins/Makefile.in > po-plug-ins/Makefile
37754
36570
sed -e "/POTFILES =/r po-script-fu/POTFILES" po-script-fu/Makefile.in > po-script-fu/Makefile ;;
 
36571
    po/stamp-it )
 
36572
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
36573
    >"po/stamp-it.tmp"
 
36574
    sed '/^#/d
 
36575
         s/^[[].*] *//
 
36576
         /^[    ]*$/d
 
36577
        '"s|^|  $ac_top_srcdir/|" \
 
36578
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
36579
 
 
36580
    if test ! -f "po/Makefile"; then
 
36581
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
 
36582
echo "$as_me: error: po/Makefile is not ready." >&2;}
 
36583
   { (exit 1); exit 1; }; }
 
36584
    fi
 
36585
    mv "po/Makefile" "po/Makefile.tmp"
 
36586
    sed '/^POTFILES =/,/[^\\]$/ {
 
36587
                /^POTFILES =/!d
 
36588
                r po/POTFILES
 
36589
          }
 
36590
         ' "po/Makefile.tmp" >"po/Makefile"
 
36591
    rm -f "po/Makefile.tmp"
 
36592
    mv "po/stamp-it.tmp" "po/stamp-it"
 
36593
   ;;
37755
36594
  esac
37756
36595
done
37757
36596
_ACEOF