~ubuntu-branches/ubuntu/trusty/contact-lookup-applet/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-05-16 22:53:39 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060516225339-crccuipnqqw39n4u
Tags: 0.14-0ubuntu1
* New upstream version:
  - Translate the .server files 
  - Don't set sensitivity ourself 
  - Correctly handle contacts with no email

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 Contact Lookup Applet 0.13.
 
3
# Generated by GNU Autoconf 2.59 for Contact Lookup Applet 0.14.
4
4
#
5
5
# Report bugs to <http://www.burtonini.com/>.
6
6
#
280
280
 
281
281
# The HP-UX ksh and POSIX shell print the target directory to stdout
282
282
# if CDPATH is set.
283
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
283
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
284
284
 
285
285
if test -z "$ECHO"; then
286
286
if test "X${echo_test_string+set}" != Xset; then
287
287
# find a string as large as possible, as long as the shell can cope with it
288
288
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289
289
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
291
 
       echo_test_string="`eval $cmd`" &&
 
290
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
291
       echo_test_string=`eval $cmd` &&
292
292
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
293
293
    then
294
294
      break
423
423
# Identity of this package.
424
424
PACKAGE_NAME='Contact Lookup Applet'
425
425
PACKAGE_TARNAME='contact-lookup-applet'
426
 
PACKAGE_VERSION='0.13'
427
 
PACKAGE_STRING='Contact Lookup Applet 0.13'
 
426
PACKAGE_VERSION='0.14'
 
427
PACKAGE_STRING='Contact Lookup Applet 0.14'
428
428
PACKAGE_BUGREPORT='http://www.burtonini.com/'
429
429
 
430
430
ac_unique_file="src/contact-lookup-applet.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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS PKG_CONFIG GTK_VER_CFLAGS GTK_VER_LIBS GTK_VER GTK_CFLAGS GTK_LIBS PANEL_VER_CFLAGS PANEL_VER_LIBS PANEL_VER PANEL_CFLAGS PANEL_LIBS GLADE_CFLAGS GLADE_LIBS TMP_EVO_CFLAGS TMP_EVO_LIBS EVO_CFLAGS EVO_LIBS 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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL 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 GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS PKG_CONFIG ac_pt_PKG_CONFIG GTK_VER_CFLAGS GTK_VER_LIBS GTK_VER GTK_CFLAGS GTK_LIBS PANEL_VER_CFLAGS PANEL_VER_LIBS PANEL_VER PANEL_CFLAGS PANEL_LIBS GLADE_CFLAGS GLADE_LIBS TMP_EVO_CFLAGS TMP_EVO_LIBS EVO_CFLAGS EVO_LIBS LIBOBJS LTLIBOBJS'
469
469
ac_subst_files=''
470
470
 
471
471
# Initialize some variables set by options.
946
946
ac_env_FFLAGS_value=$FFLAGS
947
947
ac_cv_env_FFLAGS_set=${FFLAGS+set}
948
948
ac_cv_env_FFLAGS_value=$FFLAGS
 
949
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
 
950
ac_env_PKG_CONFIG_value=$PKG_CONFIG
 
951
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
 
952
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
 
953
ac_env_GTK_VER_CFLAGS_set=${GTK_VER_CFLAGS+set}
 
954
ac_env_GTK_VER_CFLAGS_value=$GTK_VER_CFLAGS
 
955
ac_cv_env_GTK_VER_CFLAGS_set=${GTK_VER_CFLAGS+set}
 
956
ac_cv_env_GTK_VER_CFLAGS_value=$GTK_VER_CFLAGS
 
957
ac_env_GTK_VER_LIBS_set=${GTK_VER_LIBS+set}
 
958
ac_env_GTK_VER_LIBS_value=$GTK_VER_LIBS
 
959
ac_cv_env_GTK_VER_LIBS_set=${GTK_VER_LIBS+set}
 
960
ac_cv_env_GTK_VER_LIBS_value=$GTK_VER_LIBS
 
961
ac_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
 
962
ac_env_GTK_CFLAGS_value=$GTK_CFLAGS
 
963
ac_cv_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
 
964
ac_cv_env_GTK_CFLAGS_value=$GTK_CFLAGS
 
965
ac_env_GTK_LIBS_set=${GTK_LIBS+set}
 
966
ac_env_GTK_LIBS_value=$GTK_LIBS
 
967
ac_cv_env_GTK_LIBS_set=${GTK_LIBS+set}
 
968
ac_cv_env_GTK_LIBS_value=$GTK_LIBS
 
969
ac_env_PANEL_VER_CFLAGS_set=${PANEL_VER_CFLAGS+set}
 
970
ac_env_PANEL_VER_CFLAGS_value=$PANEL_VER_CFLAGS
 
971
ac_cv_env_PANEL_VER_CFLAGS_set=${PANEL_VER_CFLAGS+set}
 
972
ac_cv_env_PANEL_VER_CFLAGS_value=$PANEL_VER_CFLAGS
 
973
ac_env_PANEL_VER_LIBS_set=${PANEL_VER_LIBS+set}
 
974
ac_env_PANEL_VER_LIBS_value=$PANEL_VER_LIBS
 
975
ac_cv_env_PANEL_VER_LIBS_set=${PANEL_VER_LIBS+set}
 
976
ac_cv_env_PANEL_VER_LIBS_value=$PANEL_VER_LIBS
 
977
ac_env_PANEL_CFLAGS_set=${PANEL_CFLAGS+set}
 
978
ac_env_PANEL_CFLAGS_value=$PANEL_CFLAGS
 
979
ac_cv_env_PANEL_CFLAGS_set=${PANEL_CFLAGS+set}
 
980
ac_cv_env_PANEL_CFLAGS_value=$PANEL_CFLAGS
 
981
ac_env_PANEL_LIBS_set=${PANEL_LIBS+set}
 
982
ac_env_PANEL_LIBS_value=$PANEL_LIBS
 
983
ac_cv_env_PANEL_LIBS_set=${PANEL_LIBS+set}
 
984
ac_cv_env_PANEL_LIBS_value=$PANEL_LIBS
 
985
ac_env_GLADE_CFLAGS_set=${GLADE_CFLAGS+set}
 
986
ac_env_GLADE_CFLAGS_value=$GLADE_CFLAGS
 
987
ac_cv_env_GLADE_CFLAGS_set=${GLADE_CFLAGS+set}
 
988
ac_cv_env_GLADE_CFLAGS_value=$GLADE_CFLAGS
 
989
ac_env_GLADE_LIBS_set=${GLADE_LIBS+set}
 
990
ac_env_GLADE_LIBS_value=$GLADE_LIBS
 
991
ac_cv_env_GLADE_LIBS_set=${GLADE_LIBS+set}
 
992
ac_cv_env_GLADE_LIBS_value=$GLADE_LIBS
 
993
ac_env_TMP_EVO_CFLAGS_set=${TMP_EVO_CFLAGS+set}
 
994
ac_env_TMP_EVO_CFLAGS_value=$TMP_EVO_CFLAGS
 
995
ac_cv_env_TMP_EVO_CFLAGS_set=${TMP_EVO_CFLAGS+set}
 
996
ac_cv_env_TMP_EVO_CFLAGS_value=$TMP_EVO_CFLAGS
 
997
ac_env_TMP_EVO_LIBS_set=${TMP_EVO_LIBS+set}
 
998
ac_env_TMP_EVO_LIBS_value=$TMP_EVO_LIBS
 
999
ac_cv_env_TMP_EVO_LIBS_set=${TMP_EVO_LIBS+set}
 
1000
ac_cv_env_TMP_EVO_LIBS_value=$TMP_EVO_LIBS
 
1001
ac_env_EVO_CFLAGS_set=${EVO_CFLAGS+set}
 
1002
ac_env_EVO_CFLAGS_value=$EVO_CFLAGS
 
1003
ac_cv_env_EVO_CFLAGS_set=${EVO_CFLAGS+set}
 
1004
ac_cv_env_EVO_CFLAGS_value=$EVO_CFLAGS
 
1005
ac_env_EVO_LIBS_set=${EVO_LIBS+set}
 
1006
ac_env_EVO_LIBS_value=$EVO_LIBS
 
1007
ac_cv_env_EVO_LIBS_set=${EVO_LIBS+set}
 
1008
ac_cv_env_EVO_LIBS_value=$EVO_LIBS
949
1009
 
950
1010
#
951
1011
# Report the --help message.
954
1014
  # Omit some internal or obsolete options to make the list less imposing.
955
1015
  # This message is too long to be a string in the A/UX 3.1 sh.
956
1016
  cat <<_ACEOF
957
 
\`configure' configures Contact Lookup Applet 0.13 to adapt to many kinds of systems.
 
1017
\`configure' configures Contact Lookup Applet 0.14 to adapt to many kinds of systems.
958
1018
 
959
1019
Usage: $0 [OPTION]... [VAR=VALUE]...
960
1020
 
1020
1080
 
1021
1081
if test -n "$ac_init_help"; then
1022
1082
  case $ac_init_help in
1023
 
     short | recursive ) echo "Configuration of Contact Lookup Applet 0.13:";;
 
1083
     short | recursive ) echo "Configuration of Contact Lookup Applet 0.14:";;
1024
1084
   esac
1025
1085
  cat <<\_ACEOF
1026
1086
 
1061
1121
  CXXCPP      C++ preprocessor
1062
1122
  F77         Fortran 77 compiler command
1063
1123
  FFLAGS      Fortran 77 compiler flags
 
1124
  PKG_CONFIG  path to pkg-config utility
 
1125
  GTK_VER_CFLAGS
 
1126
              C compiler flags for GTK_VER, overriding pkg-config
 
1127
  GTK_VER_LIBS
 
1128
              linker flags for GTK_VER, overriding pkg-config
 
1129
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
 
1130
  GTK_LIBS    linker flags for GTK, overriding pkg-config
 
1131
  PANEL_VER_CFLAGS
 
1132
              C compiler flags for PANEL_VER, overriding pkg-config
 
1133
  PANEL_VER_LIBS
 
1134
              linker flags for PANEL_VER, overriding pkg-config
 
1135
  PANEL_CFLAGS
 
1136
              C compiler flags for PANEL, overriding pkg-config
 
1137
  PANEL_LIBS  linker flags for PANEL, overriding pkg-config
 
1138
  GLADE_CFLAGS
 
1139
              C compiler flags for GLADE, overriding pkg-config
 
1140
  GLADE_LIBS  linker flags for GLADE, overriding pkg-config
 
1141
  TMP_EVO_CFLAGS
 
1142
              C compiler flags for TMP_EVO, overriding pkg-config
 
1143
  TMP_EVO_LIBS
 
1144
              linker flags for TMP_EVO, overriding pkg-config
 
1145
  EVO_CFLAGS  C compiler flags for EVO, overriding pkg-config
 
1146
  EVO_LIBS    linker flags for EVO, overriding pkg-config
1064
1147
 
1065
1148
Use these variables to override the choices made by `configure' or to help
1066
1149
it to find libraries and programs with nonstandard names/locations.
1161
1244
test -n "$ac_init_help" && exit 0
1162
1245
if $ac_init_version; then
1163
1246
  cat <<\_ACEOF
1164
 
Contact Lookup Applet configure 0.13
 
1247
Contact Lookup Applet configure 0.14
1165
1248
generated by GNU Autoconf 2.59
1166
1249
 
1167
1250
Copyright (C) 2003 Free Software Foundation, Inc.
1175
1258
This file contains any messages produced by compilers while
1176
1259
running configure, to aid debugging if configure makes a mistake.
1177
1260
 
1178
 
It was created by Contact Lookup Applet $as_me 0.13, which was
 
1261
It was created by Contact Lookup Applet $as_me 0.14, which was
1179
1262
generated by GNU Autoconf 2.59.  Invocation command line was
1180
1263
 
1181
1264
  $ $0 $@
1811
1894
 
1812
1895
# Define the identity of the package.
1813
1896
 PACKAGE=contact-lookup-applet
1814
 
 VERSION=0.13
 
1897
 VERSION=0.14
1815
1898
 
1816
1899
 
1817
1900
cat >>confdefs.h <<_ACEOF
3213
3296
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3214
3297
# along with /bin/sed that truncates output.
3215
3298
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3216
 
  test ! -f $lt_ac_sed && break
 
3299
  test ! -f $lt_ac_sed && continue
3217
3300
  cat /dev/null > conftest.in
3218
3301
  lt_ac_count=0
3219
3302
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3238
3321
    fi
3239
3322
  done
3240
3323
done
 
3324
 
 
3325
fi
 
3326
 
3241
3327
SED=$lt_cv_path_SED
3242
 
 
3243
 
fi
3244
 
 
3245
3328
echo "$as_me:$LINENO: result: $SED" >&5
3246
3329
echo "${ECHO_T}$SED" >&6
3247
3330
 
3318
3401
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3319
3402
      lt_cv_path_LD="$ac_dir/$ac_prog"
3320
3403
      # Check to see if the program is GNU ld.  I'd rather use --version,
3321
 
      # but apparently some GNU ld's only accept -v.
 
3404
      # but apparently some variants of GNU ld only accept -v.
3322
3405
      # Break only if it was the GNU/non-GNU ld that we prefer.
3323
3406
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3324
3407
      *GNU* | *'with BFD'*)
3352
3435
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3353
3436
  echo $ECHO_N "(cached) $ECHO_C" >&6
3354
3437
else
3355
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
3438
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3356
3439
case `$LD -v 2>&1 </dev/null` in
3357
3440
*GNU* | *'with BFD'*)
3358
3441
  lt_cv_prog_gnu_ld=yes
3382
3465
*) reload_flag=" $reload_flag" ;;
3383
3466
esac
3384
3467
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
3468
case $host_os in
 
3469
  darwin*)
 
3470
    if test "$GCC" = yes; then
 
3471
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
3472
    else
 
3473
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
3474
    fi
 
3475
    ;;
 
3476
esac
3385
3477
 
3386
3478
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3387
3479
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3392
3484
  # Let the user override the test.
3393
3485
  lt_cv_path_NM="$NM"
3394
3486
else
3395
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3396
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3397
 
    IFS="$lt_save_ifs"
3398
 
    test -z "$ac_dir" && ac_dir=.
3399
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3400
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3401
 
      # Check to see if the nm accepts a BSD-compat flag.
3402
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3403
 
      #   nm: unknown option "B" ignored
3404
 
      # Tru64's nm complains that /dev/null is an invalid object file
3405
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3406
 
      */dev/null* | *'Invalid file or object type'*)
3407
 
        lt_cv_path_NM="$tmp_nm -B"
3408
 
        break
3409
 
        ;;
3410
 
      *)
3411
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3412
 
        */dev/null*)
3413
 
          lt_cv_path_NM="$tmp_nm -p"
 
3487
  lt_nm_to_check="${ac_tool_prefix}nm"
 
3488
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
3489
    lt_nm_to_check="$lt_nm_to_check nm"
 
3490
  fi
 
3491
  for lt_tmp_nm in $lt_nm_to_check; do
 
3492
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
3493
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
3494
      IFS="$lt_save_ifs"
 
3495
      test -z "$ac_dir" && ac_dir=.
 
3496
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
3497
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
3498
        # Check to see if the nm accepts a BSD-compat flag.
 
3499
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
3500
        #   nm: unknown option "B" ignored
 
3501
        # Tru64's nm complains that /dev/null is an invalid object file
 
3502
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
3503
        */dev/null* | *'Invalid file or object type'*)
 
3504
          lt_cv_path_NM="$tmp_nm -B"
3414
3505
          break
3415
3506
          ;;
3416
3507
        *)
3417
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3418
 
          continue # so that we can try to find one that supports BSD flags
 
3508
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
3509
          */dev/null*)
 
3510
            lt_cv_path_NM="$tmp_nm -p"
 
3511
            break
 
3512
            ;;
 
3513
          *)
 
3514
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
3515
            continue # so that we can try to find one that supports BSD flags
 
3516
            ;;
 
3517
          esac
3419
3518
          ;;
3420
3519
        esac
3421
 
      esac
3422
 
    fi
 
3520
      fi
 
3521
    done
 
3522
    IFS="$lt_save_ifs"
3423
3523
  done
3424
 
  IFS="$lt_save_ifs"
3425
3524
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3426
3525
fi
3427
3526
fi
3468
3567
  lt_cv_deplibs_check_method=pass_all
3469
3568
  ;;
3470
3569
 
3471
 
bsdi4*)
 
3570
bsdi[45]*)
3472
3571
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3473
3572
  lt_cv_file_magic_cmd='/usr/bin/file -L'
3474
3573
  lt_cv_file_magic_test_file=/shlib/libc.so
3491
3590
  lt_cv_deplibs_check_method=pass_all
3492
3591
  ;;
3493
3592
 
3494
 
freebsd* | kfreebsd*-gnu)
 
3593
freebsd* | kfreebsd*-gnu | dragonfly*)
3495
3594
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3496
3595
    case $host_cpu in
3497
3596
    i*86 )
3498
3597
      # Not sure whether the presence of OpenBSD here was a mistake.
3499
3598
      # Let's accept both of them until this is cleared up.
3500
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
 
3599
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3501
3600
      lt_cv_file_magic_cmd=/usr/bin/file
3502
3601
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3503
3602
      ;;
3513
3612
 
3514
3613
hpux10.20* | hpux11*)
3515
3614
  lt_cv_file_magic_cmd=/usr/bin/file
3516
 
  case "$host_cpu" in
 
3615
  case $host_cpu in
3517
3616
  ia64*)
3518
3617
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3519
3618
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3529
3628
  esac
3530
3629
  ;;
3531
3630
 
 
3631
interix3*)
 
3632
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
3633
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
3634
  ;;
 
3635
 
3532
3636
irix5* | irix6* | nonstopux*)
3533
3637
  case $LD in
3534
3638
  *-32|*"-32 ") libmagic=32-bit;;
3563
3667
  ;;
3564
3668
 
3565
3669
openbsd*)
3566
 
  lt_cv_file_magic_cmd=/usr/bin/file
3567
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3568
3670
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3569
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
 
3671
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3570
3672
  else
3571
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 
3673
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3572
3674
  fi
3573
3675
  ;;
3574
3676
 
3576
3678
  lt_cv_deplibs_check_method=pass_all
3577
3679
  ;;
3578
3680
 
3579
 
sco3.2v5*)
3580
 
  lt_cv_deplibs_check_method=pass_all
3581
 
  ;;
3582
 
 
3583
3681
solaris*)
3584
3682
  lt_cv_deplibs_check_method=pass_all
3585
3683
  ;;
3586
3684
 
3587
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
3685
sysv4 | sysv4.3*)
3588
3686
  case $host_vendor in
3589
3687
  motorola)
3590
3688
    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]'
3605
3703
  siemens)
3606
3704
    lt_cv_deplibs_check_method=pass_all
3607
3705
    ;;
 
3706
  pc)
 
3707
    lt_cv_deplibs_check_method=pass_all
 
3708
    ;;
3608
3709
  esac
3609
3710
  ;;
3610
3711
 
3611
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
3712
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3612
3713
  lt_cv_deplibs_check_method=pass_all
3613
3714
  ;;
3614
3715
esac
3626
3727
# If no C compiler was specified, use CC.
3627
3728
LTCC=${LTCC-"$CC"}
3628
3729
 
 
3730
# If no C compiler flags were specified, use CFLAGS.
 
3731
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
3732
 
3629
3733
# Allow CC to be a program name with arguments.
3630
3734
compiler=$CC
3631
3735
 
3661
3765
  ;;
3662
3766
*-*-irix6*)
3663
3767
  # Find out which ABI we are using.
3664
 
  echo '#line 3664 "configure"' > conftest.$ac_ext
 
3768
  echo '#line 3768 "configure"' > conftest.$ac_ext
3665
3769
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3666
3770
  (eval $ac_compile) 2>&5
3667
3771
  ac_status=$?
3704
3808
  ac_status=$?
3705
3809
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706
3810
  (exit $ac_status); }; then
3707
 
    case "`/usr/bin/file conftest.o`" in
 
3811
    case `/usr/bin/file conftest.o` in
3708
3812
    *32-bit*)
3709
3813
      case $host in
3710
3814
        x86_64-*linux*)
3816
3920
    CFLAGS="$SAVE_CFLAGS"
3817
3921
  fi
3818
3922
  ;;
 
3923
sparc*-*solaris*)
 
3924
  # Find out which ABI we are using.
 
3925
  echo 'int i;' > conftest.$ac_ext
 
3926
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3927
  (eval $ac_compile) 2>&5
 
3928
  ac_status=$?
 
3929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3930
  (exit $ac_status); }; then
 
3931
    case `/usr/bin/file conftest.o` in
 
3932
    *64-bit*)
 
3933
      case $lt_cv_prog_gnu_ld in
 
3934
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
3935
      *)    LD="${LD-ld} -64" ;;
 
3936
      esac
 
3937
      ;;
 
3938
    esac
 
3939
  fi
 
3940
  rm -rf conftest*
 
3941
  ;;
 
3942
 
3819
3943
 
3820
3944
esac
3821
3945
 
4902
5026
fi
4903
5027
 
4904
5028
 
4905
 
ac_ext=cc
 
5029
 
 
5030
 
 
5031
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
5032
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
5033
    (test "X$CXX" != "Xg++"))) ; then
 
5034
  ac_ext=cc
4906
5035
ac_cpp='$CXXCPP $CPPFLAGS'
4907
5036
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4908
5037
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132
5261
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5133
5262
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5134
5263
 
 
5264
fi
 
5265
 
5135
5266
 
5136
5267
ac_ext=f
5137
5268
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5225
5356
 
5226
5357
 
5227
5358
# Provide some information about the compiler.
5228
 
echo "$as_me:5228:" \
 
5359
echo "$as_me:5359:" \
5229
5360
     "checking for Fortran 77 compiler version" >&5
5230
5361
ac_compiler=`set X $ac_compile; echo $2`
5231
5362
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5413
5544
    lt_cv_sys_max_cmd_len=8192;
5414
5545
    ;;
5415
5546
 
5416
 
 *)
 
5547
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5548
    # This has been around since 386BSD, at least.  Likely further.
 
5549
    if test -x /sbin/sysctl; then
 
5550
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5551
    elif test -x /usr/sbin/sysctl; then
 
5552
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5553
    else
 
5554
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5555
    fi
 
5556
    # And add a safety zone
 
5557
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5558
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5559
    ;;
 
5560
 
 
5561
  interix*)
 
5562
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5563
    lt_cv_sys_max_cmd_len=196608
 
5564
    ;;
 
5565
 
 
5566
  osf*)
 
5567
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5568
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5569
    # nice to cause kernel panics so lets avoid the loop below.
 
5570
    # First set a reasonable default.
 
5571
    lt_cv_sys_max_cmd_len=16384
 
5572
    #
 
5573
    if test -x /sbin/sysconfig; then
 
5574
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5575
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5576
      esac
 
5577
    fi
 
5578
    ;;
 
5579
  sco3.2v5*)
 
5580
    lt_cv_sys_max_cmd_len=102400
 
5581
    ;;
 
5582
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5583
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5584
    if test -n "$kargmax"; then
 
5585
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
5586
    else
 
5587
      lt_cv_sys_max_cmd_len=32768
 
5588
    fi
 
5589
    ;;
 
5590
  *)
5417
5591
    # If test is not a shell built-in, we'll probably end up computing a
5418
5592
    # maximum length that is only half of the actual maximum length, but
5419
5593
    # we can't tell.
5420
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
5594
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5595
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5421
5596
               = "XX$teststring") >/dev/null 2>&1 &&
5422
5597
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5423
5598
            lt_cv_sys_max_cmd_len=$new_result &&
5463
5638
# Regexp to match symbols that can be accessed directly from C.
5464
5639
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5465
5640
 
5466
 
# Transform the above into a raw symbol and a C symbol.
5467
 
symxfrm='\1 \2\3 \3'
5468
 
 
5469
5641
# Transform an extracted symbol line into a proper C declaration
5470
5642
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5471
5643
 
5487
5659
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5488
5660
  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'"
5489
5661
  ;;
 
5662
linux*)
 
5663
  if test "$host_cpu" = ia64; then
 
5664
    symcode='[ABCDGIRSTW]'
 
5665
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5666
    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'"
 
5667
  fi
 
5668
  ;;
5490
5669
irix* | nonstopux*)
5491
5670
  symcode='[BCDEGRST]'
5492
5671
  ;;
5493
5672
osf*)
5494
5673
  symcode='[BCDEGQRST]'
5495
5674
  ;;
5496
 
solaris* | sysv5*)
 
5675
solaris*)
5497
5676
  symcode='[BDRT]'
5498
5677
  ;;
 
5678
sco3.2v5*)
 
5679
  symcode='[DT]'
 
5680
  ;;
 
5681
sysv4.2uw2*)
 
5682
  symcode='[DT]'
 
5683
  ;;
 
5684
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
5685
  symcode='[ABDT]'
 
5686
  ;;
5499
5687
sysv4)
5500
5688
  symcode='[DFNSTU]'
5501
5689
  ;;
5518
5706
# Try without a prefix undercore, then with it.
5519
5707
for ac_symprfx in "" "_"; do
5520
5708
 
 
5709
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
5710
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
5711
 
5521
5712
  # Write the raw and C identifiers.
5522
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
5713
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5523
5714
 
5524
5715
  # Check to see that the pipe works correctly.
5525
5716
  pipe_works=no
5681
5872
 
5682
5873
# Sed substitution that helps us do robust quoting.  It backslashifies
5683
5874
# metacharacters that are still active within double-quoted strings.
5684
 
Xsed='sed -e s/^X//'
 
5875
Xsed='sed -e 1s/^X//'
5685
5876
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5686
5877
 
5687
5878
# Same as above, but do not quote variable references.
5701
5892
default_ofile=libtool
5702
5893
can_build_shared=yes
5703
5894
 
5704
 
# All known linkers require a `.a' archive for static linking (except M$VC,
 
5895
# All known linkers require a `.a' archive for static linking (except MSVC,
5705
5896
# which needs '.lib').
5706
5897
libext=a
5707
5898
ltmain="$ac_aux_dir/ltmain.sh"
5958
6149
test -z "$AS" && AS=as
5959
6150
test -z "$CC" && CC=cc
5960
6151
test -z "$LTCC" && LTCC=$CC
 
6152
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
5961
6153
test -z "$DLLTOOL" && DLLTOOL=dlltool
5962
6154
test -z "$LD" && LD=ld
5963
6155
test -z "$LN_S" && LN_S="ln -s"
5977
6169
if test -n "$RANLIB"; then
5978
6170
  case $host_os in
5979
6171
  openbsd*)
5980
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
6172
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5981
6173
    ;;
5982
6174
  *)
5983
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
6175
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5984
6176
    ;;
5985
6177
  esac
5986
6178
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5987
6179
fi
5988
6180
 
 
6181
for cc_temp in $compiler""; do
 
6182
  case $cc_temp in
 
6183
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
6184
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
6185
    \-*) ;;
 
6186
    *) break;;
 
6187
  esac
 
6188
done
 
6189
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
6190
 
 
6191
 
5989
6192
# Only perform the check for file, if the check method requires it
5990
6193
case $deplibs_check_method in
5991
6194
file_magic*)
6011
6214
      if test -n "$file_magic_test_file"; then
6012
6215
        case $deplibs_check_method in
6013
6216
        "file_magic "*)
6014
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
6217
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6015
6218
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6016
6219
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6017
6220
            $EGREP "$file_magic_regex" > /dev/null; then
6073
6276
      if test -n "$file_magic_test_file"; then
6074
6277
        case $deplibs_check_method in
6075
6278
        "file_magic "*)
6076
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
6279
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6077
6280
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6078
6281
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6079
6282
            $EGREP "$file_magic_regex" > /dev/null; then
6168
6371
# If no C compiler was specified, use CC.
6169
6372
LTCC=${LTCC-"$CC"}
6170
6373
 
 
6374
# If no C compiler flags were specified, use CFLAGS.
 
6375
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6376
 
6171
6377
# Allow CC to be a program name with arguments.
6172
6378
compiler=$CC
6173
6379
 
6174
6380
 
6175
 
#
6176
 
# Check for any special shared library compilation flags.
6177
 
#
6178
 
lt_prog_cc_shlib=
6179
 
if test "$GCC" = no; then
6180
 
  case $host_os in
6181
 
  sco3.2v5*)
6182
 
    lt_prog_cc_shlib='-belf'
6183
 
    ;;
6184
 
  esac
6185
 
fi
6186
 
if test -n "$lt_prog_cc_shlib"; then
6187
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6188
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6189
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
6190
 
  else
6191
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6192
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6193
 
    lt_cv_prog_cc_can_build_shared=no
6194
 
  fi
6195
 
fi
6196
 
 
6197
 
 
6198
 
#
6199
 
# Check to make sure the static flag actually works.
6200
 
#
6201
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6202
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6203
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6205
 
else
6206
 
  lt_prog_compiler_static_works=no
6207
 
   save_LDFLAGS="$LDFLAGS"
6208
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6209
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6210
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6211
 
     # The compiler can only warn and ignore the option if not recognized
6212
 
     # So say no if there are warnings
6213
 
     if test -s conftest.err; then
6214
 
       # Append any errors to the config.log.
6215
 
       cat conftest.err 1>&5
6216
 
     else
6217
 
       lt_prog_compiler_static_works=yes
6218
 
     fi
6219
 
   fi
6220
 
   $rm conftest*
6221
 
   LDFLAGS="$save_LDFLAGS"
6222
 
 
6223
 
fi
6224
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6225
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6226
 
 
6227
 
if test x"$lt_prog_compiler_static_works" = xyes; then
6228
 
    :
6229
 
else
6230
 
    lt_prog_compiler_static=
6231
 
fi
6232
 
 
 
6381
# save warnings/boilerplate of simple test code
 
6382
ac_outfile=conftest.$ac_objext
 
6383
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
6384
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
6385
_lt_compiler_boilerplate=`cat conftest.err`
 
6386
$rm conftest*
 
6387
 
 
6388
ac_outfile=conftest.$ac_objext
 
6389
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
6390
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
6391
_lt_linker_boilerplate=`cat conftest.err`
 
6392
$rm conftest*
6233
6393
 
6234
6394
 
6235
6395
 
6254
6414
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6255
6415
   # The option is referenced via a variable to avoid confusing sed.
6256
6416
   lt_compile=`echo "$ac_compile" | $SED \
6257
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
6417
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6258
6418
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6259
6419
   -e 's:$: $lt_compiler_flag:'`
6260
 
   (eval echo "\"\$as_me:6260: $lt_compile\"" >&5)
 
6420
   (eval echo "\"\$as_me:6420: $lt_compile\"" >&5)
6261
6421
   (eval "$lt_compile" 2>conftest.err)
6262
6422
   ac_status=$?
6263
6423
   cat conftest.err >&5
6264
 
   echo "$as_me:6264: \$? = $ac_status" >&5
 
6424
   echo "$as_me:6424: \$? = $ac_status" >&5
6265
6425
   if (exit $ac_status) && test -s "$ac_outfile"; then
6266
6426
     # The compiler can only warn and ignore the option if not recognized
6267
 
     # So say no if there are warnings
6268
 
     if test ! -s conftest.err; then
 
6427
     # So say no if there are warnings other than the usual output.
 
6428
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
6429
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
6430
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6269
6431
       lt_cv_prog_compiler_rtti_exceptions=yes
6270
6432
     fi
6271
6433
   fi
6326
6488
      lt_prog_compiler_pic='-fno-common'
6327
6489
      ;;
6328
6490
 
 
6491
    interix3*)
 
6492
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
6493
      # Instead, we relocate shared libraries at runtime.
 
6494
      ;;
 
6495
 
6329
6496
    msdosdjgpp*)
6330
6497
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6331
6498
      # on systems that don't support them.
6342
6509
    hpux*)
6343
6510
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6344
6511
      # not for PA HP-UX.
6345
 
      case "$host_cpu" in
 
6512
      case $host_cpu in
6346
6513
      hppa*64*|ia64*)
6347
6514
        # +Z the default
6348
6515
        ;;
6368
6535
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6369
6536
      fi
6370
6537
      ;;
 
6538
      darwin*)
 
6539
        # PIC is the default on this platform
 
6540
        # Common symbols not allowed in MH_DYLIB files
 
6541
       case $cc_basename in
 
6542
         xlc*)
 
6543
         lt_prog_compiler_pic='-qnocommon'
 
6544
         lt_prog_compiler_wl='-Wl,'
 
6545
         ;;
 
6546
       esac
 
6547
       ;;
6371
6548
 
6372
6549
    mingw* | pw32* | os2*)
6373
6550
      # This hack is so that the source file can tell whether it is being
6379
6556
      lt_prog_compiler_wl='-Wl,'
6380
6557
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6381
6558
      # not for PA HP-UX.
6382
 
      case "$host_cpu" in
 
6559
      case $host_cpu in
6383
6560
      hppa*64*|ia64*)
6384
6561
        # +Z the default
6385
6562
        ;;
6403
6580
      ;;
6404
6581
 
6405
6582
    linux*)
6406
 
      case $CC in
 
6583
      case $cc_basename in
6407
6584
      icc* | ecc*)
6408
6585
        lt_prog_compiler_wl='-Wl,'
6409
6586
        lt_prog_compiler_pic='-KPIC'
6410
6587
        lt_prog_compiler_static='-static'
6411
6588
        ;;
 
6589
      pgcc* | pgf77* | pgf90* | pgf95*)
 
6590
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
6591
        # which looks to be a dead project)
 
6592
        lt_prog_compiler_wl='-Wl,'
 
6593
        lt_prog_compiler_pic='-fpic'
 
6594
        lt_prog_compiler_static='-Bstatic'
 
6595
        ;;
6412
6596
      ccc*)
6413
6597
        lt_prog_compiler_wl='-Wl,'
6414
6598
        # All Alpha code is PIC.
6423
6607
      lt_prog_compiler_static='-non_shared'
6424
6608
      ;;
6425
6609
 
6426
 
    sco3.2v5*)
6427
 
      lt_prog_compiler_pic='-Kpic'
6428
 
      lt_prog_compiler_static='-dn'
6429
 
      ;;
6430
 
 
6431
6610
    solaris*)
6432
 
      lt_prog_compiler_wl='-Wl,'
6433
6611
      lt_prog_compiler_pic='-KPIC'
6434
6612
      lt_prog_compiler_static='-Bstatic'
 
6613
      case $cc_basename in
 
6614
      f77* | f90* | f95*)
 
6615
        lt_prog_compiler_wl='-Qoption ld ';;
 
6616
      *)
 
6617
        lt_prog_compiler_wl='-Wl,';;
 
6618
      esac
6435
6619
      ;;
6436
6620
 
6437
6621
    sunos4*)
6440
6624
      lt_prog_compiler_static='-Bstatic'
6441
6625
      ;;
6442
6626
 
6443
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
6627
    sysv4 | sysv4.2uw2* | sysv4.3*)
6444
6628
      lt_prog_compiler_wl='-Wl,'
6445
6629
      lt_prog_compiler_pic='-KPIC'
6446
6630
      lt_prog_compiler_static='-Bstatic'
6453
6637
      fi
6454
6638
      ;;
6455
6639
 
 
6640
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
6641
      lt_prog_compiler_wl='-Wl,'
 
6642
      lt_prog_compiler_pic='-KPIC'
 
6643
      lt_prog_compiler_static='-Bstatic'
 
6644
      ;;
 
6645
 
 
6646
    unicos*)
 
6647
      lt_prog_compiler_wl='-Wl,'
 
6648
      lt_prog_compiler_can_build_shared=no
 
6649
      ;;
 
6650
 
6456
6651
    uts4*)
6457
6652
      lt_prog_compiler_pic='-pic'
6458
6653
      lt_prog_compiler_static='-Bstatic'
6487
6682
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6488
6683
   # The option is referenced via a variable to avoid confusing sed.
6489
6684
   lt_compile=`echo "$ac_compile" | $SED \
6490
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
6685
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6491
6686
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6492
6687
   -e 's:$: $lt_compiler_flag:'`
6493
 
   (eval echo "\"\$as_me:6493: $lt_compile\"" >&5)
 
6688
   (eval echo "\"\$as_me:6688: $lt_compile\"" >&5)
6494
6689
   (eval "$lt_compile" 2>conftest.err)
6495
6690
   ac_status=$?
6496
6691
   cat conftest.err >&5
6497
 
   echo "$as_me:6497: \$? = $ac_status" >&5
 
6692
   echo "$as_me:6692: \$? = $ac_status" >&5
6498
6693
   if (exit $ac_status) && test -s "$ac_outfile"; then
6499
6694
     # The compiler can only warn and ignore the option if not recognized
6500
 
     # So say no if there are warnings
6501
 
     if test ! -s conftest.err; then
 
6695
     # So say no if there are warnings other than the usual output.
 
6696
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
6697
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
6698
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6502
6699
       lt_prog_compiler_pic_works=yes
6503
6700
     fi
6504
6701
   fi
6519
6716
fi
6520
6717
 
6521
6718
fi
6522
 
case "$host_os" in
 
6719
case $host_os in
6523
6720
  # For platforms which do not support PIC, -DPIC is meaningless:
6524
6721
  *djgpp*)
6525
6722
    lt_prog_compiler_pic=
6529
6726
    ;;
6530
6727
esac
6531
6728
 
 
6729
#
 
6730
# Check to make sure the static flag actually works.
 
6731
#
 
6732
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
6733
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
6734
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
6735
if test "${lt_prog_compiler_static_works+set}" = set; then
 
6736
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6737
else
 
6738
  lt_prog_compiler_static_works=no
 
6739
   save_LDFLAGS="$LDFLAGS"
 
6740
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
6741
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
6742
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
6743
     # The linker can only warn and ignore the option if not recognized
 
6744
     # So say no if there are warnings
 
6745
     if test -s conftest.err; then
 
6746
       # Append any errors to the config.log.
 
6747
       cat conftest.err 1>&5
 
6748
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
6749
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
6750
       if diff conftest.exp conftest.er2 >/dev/null; then
 
6751
         lt_prog_compiler_static_works=yes
 
6752
       fi
 
6753
     else
 
6754
       lt_prog_compiler_static_works=yes
 
6755
     fi
 
6756
   fi
 
6757
   $rm conftest*
 
6758
   LDFLAGS="$save_LDFLAGS"
 
6759
 
 
6760
fi
 
6761
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
6762
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
6763
 
 
6764
if test x"$lt_prog_compiler_static_works" = xyes; then
 
6765
    :
 
6766
else
 
6767
    lt_prog_compiler_static=
 
6768
fi
 
6769
 
 
6770
 
6532
6771
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6533
6772
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6534
6773
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6547
6786
   # Note that $ac_compile itself does not contain backslashes and begins
6548
6787
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6549
6788
   lt_compile=`echo "$ac_compile" | $SED \
6550
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
6789
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6551
6790
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6552
6791
   -e 's:$: $lt_compiler_flag:'`
6553
 
   (eval echo "\"\$as_me:6553: $lt_compile\"" >&5)
 
6792
   (eval echo "\"\$as_me:6792: $lt_compile\"" >&5)
6554
6793
   (eval "$lt_compile" 2>out/conftest.err)
6555
6794
   ac_status=$?
6556
6795
   cat out/conftest.err >&5
6557
 
   echo "$as_me:6557: \$? = $ac_status" >&5
 
6796
   echo "$as_me:6796: \$? = $ac_status" >&5
6558
6797
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6559
6798
   then
6560
6799
     # The compiler can only warn and ignore the option if not recognized
6561
6800
     # So say no if there are warnings
6562
 
     if test ! -s out/conftest.err; then
 
6801
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
6802
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
6803
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6563
6804
       lt_cv_prog_compiler_c_o=yes
6564
6805
     fi
6565
6806
   fi
6566
 
   chmod u+w .
 
6807
   chmod u+w . 2>&5
6567
6808
   $rm conftest*
6568
6809
   # SGI C++ compiler will create directory out/ii_files/ for
6569
6810
   # template instantiation
6639
6880
  # rely on this symbol name, it's probably fine to never include it in
6640
6881
  # preloaded symbol tables.
6641
6882
  extract_expsyms_cmds=
 
6883
  # Just being paranoid about ensuring that cc_basename is set.
 
6884
  for cc_temp in $compiler""; do
 
6885
  case $cc_temp in
 
6886
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
6887
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
6888
    \-*) ;;
 
6889
    *) break;;
 
6890
  esac
 
6891
done
 
6892
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6642
6893
 
6643
6894
  case $host_os in
6644
6895
  cygwin* | mingw* | pw32*)
6649
6900
      with_gnu_ld=no
6650
6901
    fi
6651
6902
    ;;
 
6903
  interix*)
 
6904
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
6905
    with_gnu_ld=yes
 
6906
    ;;
6652
6907
  openbsd*)
6653
6908
    with_gnu_ld=no
6654
6909
    ;;
6659
6914
    # If archive_cmds runs LD, not CC, wlarc should be empty
6660
6915
    wlarc='${wl}'
6661
6916
 
 
6917
    # Set some defaults for GNU ld with shared library support. These
 
6918
    # are reset later if shared libraries are not supported. Putting them
 
6919
    # here allows them to be overridden if necessary.
 
6920
    runpath_var=LD_RUN_PATH
 
6921
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
6922
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
6923
    # ancient GNU ld didn't support --whole-archive et. al.
 
6924
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
6925
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
6926
      else
 
6927
        whole_archive_flag_spec=
 
6928
    fi
 
6929
    supports_anon_versioning=no
 
6930
    case `$LD -v 2>/dev/null` in
 
6931
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
6932
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
6933
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
6934
      *\ 2.11.*) ;; # other 2.11 versions
 
6935
      *) supports_anon_versioning=yes ;;
 
6936
    esac
 
6937
 
6662
6938
    # See if GNU ld supports shared libraries.
6663
6939
    case $host_os in
6664
6940
    aix3* | aix4* | aix5*)
6709
6985
      allow_undefined_flag=unsupported
6710
6986
      always_export_symbols=no
6711
6987
      enable_shared_with_static_runtimes=yes
6712
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
6988
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6713
6989
 
6714
6990
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6715
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
6991
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6716
6992
        # If the export-symbols file already is a .def file (1st line
6717
6993
        # is EXPORTS), use it as is; otherwise, prepend...
6718
6994
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6721
6997
          echo EXPORTS > $output_objdir/$soname.def;
6722
6998
          cat $export_symbols >> $output_objdir/$soname.def;
6723
6999
        fi~
6724
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
 
7000
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
7001
      else
 
7002
        ld_shlibs=no
 
7003
      fi
 
7004
      ;;
 
7005
 
 
7006
    interix3*)
 
7007
      hardcode_direct=no
 
7008
      hardcode_shlibpath_var=no
 
7009
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
7010
      export_dynamic_flag_spec='${wl}-E'
 
7011
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
7012
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
7013
      # default) and relocated if they conflict, which is a slow very memory
 
7014
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
7015
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
7016
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
7017
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
7018
      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'
 
7019
      ;;
 
7020
 
 
7021
    linux*)
 
7022
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
7023
        tmp_addflag=
 
7024
        case $cc_basename,$host_cpu in
 
7025
        pgcc*)                          # Portland Group C compiler
 
7026
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
7027
          tmp_addflag=' $pic_flag'
 
7028
          ;;
 
7029
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
7030
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
7031
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
7032
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
7033
          tmp_addflag=' -i_dynamic' ;;
 
7034
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
7035
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
7036
        ifc* | ifort*)                  # Intel Fortran compiler
 
7037
          tmp_addflag=' -nofor_main' ;;
 
7038
        esac
 
7039
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7040
 
 
7041
        if test $supports_anon_versioning = yes; then
 
7042
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
7043
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
7044
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
7045
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
7046
        fi
 
7047
        link_all_deplibs=no
6725
7048
      else
6726
7049
        ld_shlibs=no
6727
7050
      fi
6737
7060
      fi
6738
7061
      ;;
6739
7062
 
6740
 
    solaris* | sysv5*)
 
7063
    solaris*)
6741
7064
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6742
7065
        ld_shlibs=no
6743
7066
        cat <<EOF 1>&2
6758
7081
      fi
6759
7082
      ;;
6760
7083
 
 
7084
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
7085
      case `$LD -v 2>&1` in
 
7086
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
7087
        ld_shlibs=no
 
7088
        cat <<_LT_EOF 1>&2
 
7089
 
 
7090
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
7091
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
7092
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
7093
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
7094
*** your PATH or compiler configuration so that the native linker is
 
7095
*** used, and then restart.
 
7096
 
 
7097
_LT_EOF
 
7098
        ;;
 
7099
        *)
 
7100
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
7101
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
7102
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
7103
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
7104
          else
 
7105
            ld_shlibs=no
 
7106
          fi
 
7107
        ;;
 
7108
      esac
 
7109
      ;;
 
7110
 
6761
7111
    sunos4*)
6762
7112
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6763
7113
      wlarc=
6765
7115
      hardcode_shlibpath_var=no
6766
7116
      ;;
6767
7117
 
6768
 
  linux*)
6769
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6770
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6771
 
        archive_cmds="$tmp_archive_cmds"
6772
 
      supports_anon_versioning=no
6773
 
      case `$LD -v 2>/dev/null` in
6774
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6775
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6776
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6777
 
        *\ 2.11.*) ;; # other 2.11 versions
6778
 
        *) supports_anon_versioning=yes ;;
6779
 
      esac
6780
 
      if test $supports_anon_versioning = yes; then
6781
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6782
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6783
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
6784
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6785
 
      else
6786
 
        archive_expsym_cmds="$tmp_archive_cmds"
6787
 
      fi
6788
 
      link_all_deplibs=no
6789
 
    else
6790
 
      ld_shlibs=no
6791
 
    fi
6792
 
    ;;
6793
 
 
6794
7118
    *)
6795
7119
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6796
7120
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6801
7125
      ;;
6802
7126
    esac
6803
7127
 
6804
 
    if test "$ld_shlibs" = yes; then
6805
 
      runpath_var=LD_RUN_PATH
6806
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6807
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
6808
 
      # ancient GNU ld didn't support --whole-archive et. al.
6809
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6810
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6811
 
      else
6812
 
        whole_archive_flag_spec=
6813
 
      fi
 
7128
    if test "$ld_shlibs" = no; then
 
7129
      runpath_var=
 
7130
      hardcode_libdir_flag_spec=
 
7131
      export_dynamic_flag_spec=
 
7132
      whole_archive_flag_spec=
6814
7133
    fi
6815
7134
  else
6816
7135
    # PORTME fill in a description of your system's linker (not GNU ld)
6822
7141
      # Note: this linker hardcodes the directories in LIBPATH if there
6823
7142
      # are no directories specified by -L.
6824
7143
      hardcode_minus_L=yes
6825
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
7144
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6826
7145
        # Neither direct hardcoding nor static linking is supported with a
6827
7146
        # broken collect2.
6828
7147
        hardcode_direct=unsupported
6856
7175
            break
6857
7176
          fi
6858
7177
          done
 
7178
          ;;
6859
7179
        esac
6860
7180
 
6861
7181
        exp_sym_flag='-bexport'
6874
7194
      link_all_deplibs=yes
6875
7195
 
6876
7196
      if test "$GCC" = yes; then
6877
 
        case $host_os in aix4.012|aix4.012.*)
 
7197
        case $host_os in aix4.[012]|aix4.[012].*)
6878
7198
        # We only want to do this on AIX 4.2 and lower, the check
6879
7199
        # below for broken collect2 doesn't work under 4.3+
6880
7200
          collect2name=`${CC} -print-prog-name=collect2`
6893
7213
          hardcode_libdir_flag_spec='-L$libdir'
6894
7214
          hardcode_libdir_separator=
6895
7215
          fi
 
7216
          ;;
6896
7217
        esac
6897
7218
        shared_flag='-shared'
 
7219
        if test "$aix_use_runtimelinking" = yes; then
 
7220
          shared_flag="$shared_flag "'${wl}-G'
 
7221
        fi
6898
7222
      else
6899
7223
        # not using gcc
6900
7224
        if test "$host_cpu" = ia64; then
6902
7226
        # chokes on -Wl,-G. The following line is correct:
6903
7227
          shared_flag='-G'
6904
7228
        else
6905
 
        if test "$aix_use_runtimelinking" = yes; then
 
7229
          if test "$aix_use_runtimelinking" = yes; then
6906
7230
            shared_flag='${wl}-G'
6907
7231
          else
6908
7232
            shared_flag='${wl}-bM:SRE'
6909
 
        fi
 
7233
          fi
6910
7234
        fi
6911
7235
      fi
6912
7236
 
6970
7294
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6971
7295
 
6972
7296
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6973
 
        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"
 
7297
        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"
6974
7298
       else
6975
7299
        if test "$host_cpu" = ia64; then
6976
7300
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6977
7301
          allow_undefined_flag="-z nodefs"
6978
 
          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"
 
7302
          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"
6979
7303
        else
6980
7304
         # Determine the default libpath from the value encoded in an empty executable.
6981
7305
         cat >conftest.$ac_ext <<_ACEOF
7034
7358
          # -berok will link without error, but may produce a broken library.
7035
7359
          no_undefined_flag=' ${wl}-bernotok'
7036
7360
          allow_undefined_flag=' ${wl}-berok'
7037
 
          # -bexpall does not export symbols beginning with underscore (_)
7038
 
          always_export_symbols=yes
7039
7361
          # Exported symbols can be pulled into shared objects from archives
7040
 
          whole_archive_flag_spec=' '
 
7362
          whole_archive_flag_spec='$convenience'
7041
7363
          archive_cmds_need_lc=yes
7042
 
          # This is similar to how AIX traditionally builds it's shared libraries.
7043
 
          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'
 
7364
          # This is similar to how AIX traditionally builds its shared libraries.
 
7365
          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'
7044
7366
        fi
7045
7367
      fi
7046
7368
      ;;
7053
7375
      ld_shlibs=no
7054
7376
      ;;
7055
7377
 
7056
 
    bsdi4*)
 
7378
    bsdi[45]*)
7057
7379
      export_dynamic_flag_spec=-rdynamic
7058
7380
      ;;
7059
7381
 
7079
7401
      ;;
7080
7402
 
7081
7403
    darwin* | rhapsody*)
7082
 
    if test "$GXX" = yes ; then
 
7404
      case $host_os in
 
7405
        rhapsody* | darwin1.[012])
 
7406
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
7407
         ;;
 
7408
       *) # Darwin 1.3 on
 
7409
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
7410
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
7411
         else
 
7412
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
7413
             10.[012])
 
7414
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
7415
               ;;
 
7416
             10.*)
 
7417
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
7418
               ;;
 
7419
           esac
 
7420
         fi
 
7421
         ;;
 
7422
      esac
7083
7423
      archive_cmds_need_lc=no
7084
 
      case "$host_os" in
7085
 
      rhapsody* | darwin1.[012])
7086
 
        allow_undefined_flag='-undefined suppress'
7087
 
        ;;
7088
 
      *) # Darwin 1.3 on
7089
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7090
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
7091
 
      else
7092
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
7093
 
          10.[012])
7094
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
7095
 
            ;;
7096
 
          10.*)
7097
 
            allow_undefined_flag='-undefined dynamic_lookup'
7098
 
            ;;
7099
 
        esac
7100
 
      fi
7101
 
        ;;
7102
 
      esac
7103
 
        lt_int_apple_cc_single_mod=no
7104
 
        output_verbose_link_cmd='echo'
7105
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7106
 
          lt_int_apple_cc_single_mod=yes
7107
 
        fi
7108
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7109
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7110
 
        else
7111
 
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7112
 
      fi
7113
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7114
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7115
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7116
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7117
 
        else
7118
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7119
 
        fi
7120
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7121
7424
      hardcode_direct=no
7122
7425
      hardcode_automatic=yes
7123
7426
      hardcode_shlibpath_var=unsupported
7124
 
      whole_archive_flag_spec='-all_load $convenience'
 
7427
      whole_archive_flag_spec=''
7125
7428
      link_all_deplibs=yes
 
7429
    if test "$GCC" = yes ; then
 
7430
        output_verbose_link_cmd='echo'
 
7431
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
7432
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
7433
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
7434
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7435
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7126
7436
    else
7127
 
      ld_shlibs=no
 
7437
      case $cc_basename in
 
7438
        xlc*)
 
7439
         output_verbose_link_cmd='echo'
 
7440
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
7441
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
7442
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
7443
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7444
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7445
          ;;
 
7446
       *)
 
7447
         ld_shlibs=no
 
7448
          ;;
 
7449
      esac
7128
7450
    fi
7129
7451
      ;;
7130
7452
 
7158
7480
      ;;
7159
7481
 
7160
7482
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7161
 
    freebsd* | kfreebsd*-gnu)
7162
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7163
 
      hardcode_libdir_flag_spec='-R$libdir'
7164
 
      hardcode_direct=yes
7165
 
      hardcode_shlibpath_var=no
 
7483
    freebsd* | dragonfly*)
 
7484
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
7485
      hardcode_libdir_flag_spec='-R$libdir'
 
7486
      hardcode_direct=yes
 
7487
      hardcode_shlibpath_var=no
 
7488
      ;;
 
7489
 
 
7490
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
 
7491
    kfreebsd*-gnu)
 
7492
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
7493
      hardcode_libdir_flag_spec='-R$libdir'
 
7494
      hardcode_direct=yes
 
7495
      hardcode_shlibpath_var=no
 
7496
      link_all_deplibs=no
7166
7497
      ;;
7167
7498
 
7168
7499
    hpux9*)
7181
7512
      export_dynamic_flag_spec='${wl}-E'
7182
7513
      ;;
7183
7514
 
7184
 
    hpux10* | hpux11*)
7185
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7186
 
        case "$host_cpu" in
7187
 
        hppa*64*|ia64*)
 
7515
    hpux10*)
 
7516
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
7517
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
7518
      else
 
7519
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
7520
      fi
 
7521
      if test "$with_gnu_ld" = no; then
 
7522
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
7523
        hardcode_libdir_separator=:
 
7524
 
 
7525
        hardcode_direct=yes
 
7526
        export_dynamic_flag_spec='${wl}-E'
 
7527
 
 
7528
        # hardcode_minus_L: Not really in the search PATH,
 
7529
        # but as the default location of the library.
 
7530
        hardcode_minus_L=yes
 
7531
      fi
 
7532
      ;;
 
7533
 
 
7534
    hpux11*)
 
7535
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
7536
        case $host_cpu in
 
7537
        hppa*64*)
7188
7538
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7189
7539
          ;;
 
7540
        ia64*)
 
7541
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
7542
          ;;
7190
7543
        *)
7191
7544
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7192
7545
          ;;
7193
7546
        esac
7194
7547
      else
7195
 
        case "$host_cpu" in
7196
 
        hppa*64*|ia64*)
7197
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
7548
        case $host_cpu in
 
7549
        hppa*64*)
 
7550
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
7551
          ;;
 
7552
        ia64*)
 
7553
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7198
7554
          ;;
7199
7555
        *)
7200
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
7556
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7201
7557
          ;;
7202
7558
        esac
7203
7559
      fi
7204
7560
      if test "$with_gnu_ld" = no; then
7205
 
        case "$host_cpu" in
7206
 
        hppa*64*)
7207
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
7561
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
7562
        hardcode_libdir_separator=:
 
7563
 
 
7564
        case $host_cpu in
 
7565
        hppa*64*|ia64*)
7208
7566
          hardcode_libdir_flag_spec_ld='+b $libdir'
7209
 
          hardcode_libdir_separator=:
7210
 
          hardcode_direct=no
7211
 
          hardcode_shlibpath_var=no
7212
 
          ;;
7213
 
        ia64*)
7214
 
          hardcode_libdir_flag_spec='-L$libdir'
7215
 
          hardcode_direct=no
7216
 
          hardcode_shlibpath_var=no
7217
 
 
7218
 
          # hardcode_minus_L: Not really in the search PATH,
7219
 
          # but as the default location of the library.
7220
 
          hardcode_minus_L=yes
 
7567
          hardcode_direct=no
 
7568
          hardcode_shlibpath_var=no
7221
7569
          ;;
7222
7570
        *)
7223
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7224
 
          hardcode_libdir_separator=:
7225
7571
          hardcode_direct=yes
7226
7572
          export_dynamic_flag_spec='${wl}-E'
7227
7573
 
7269
7615
      hardcode_shlibpath_var=no
7270
7616
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7271
7617
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
7618
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7272
7619
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7273
7620
        export_dynamic_flag_spec='${wl}-E'
7274
7621
      else
7314
7661
        allow_undefined_flag=' -expect_unresolved \*'
7315
7662
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7316
7663
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7317
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
7664
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7318
7665
 
7319
7666
        # Both c and cxx compiler support -rpath directly
7320
7667
        hardcode_libdir_flag_spec='-rpath $libdir'
7322
7669
      hardcode_libdir_separator=:
7323
7670
      ;;
7324
7671
 
7325
 
    sco3.2v5*)
7326
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7327
 
      hardcode_shlibpath_var=no
7328
 
      export_dynamic_flag_spec='${wl}-Bexport'
7329
 
      runpath_var=LD_RUN_PATH
7330
 
      hardcode_runpath_var=yes
7331
 
      ;;
7332
 
 
7333
7672
    solaris*)
7334
7673
      no_undefined_flag=' -z text'
7335
7674
      if test "$GCC" = yes; then
 
7675
        wlarc='${wl}'
7336
7676
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7337
7677
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7338
7678
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7339
7679
      else
 
7680
        wlarc=''
7340
7681
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7341
7682
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7342
7683
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7345
7686
      hardcode_shlibpath_var=no
7346
7687
      case $host_os in
7347
7688
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7348
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7349
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
7689
      *)
 
7690
        # The compiler driver will combine linker options so we
 
7691
        # cannot just pass the convience library names through
 
7692
        # without $wl, iff we do not link with $LD.
 
7693
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
7694
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
7695
        case $wlarc in
 
7696
        '')
 
7697
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
7698
        *)
 
7699
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
7700
        esac ;;
7350
7701
      esac
7351
7702
      link_all_deplibs=yes
7352
7703
      ;;
7403
7754
      fi
7404
7755
      ;;
7405
7756
 
7406
 
    sysv4.2uw2*)
7407
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7408
 
      hardcode_direct=yes
7409
 
      hardcode_minus_L=no
7410
 
      hardcode_shlibpath_var=no
7411
 
      hardcode_runpath_var=yes
7412
 
      runpath_var=LD_RUN_PATH
7413
 
      ;;
7414
 
 
7415
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
7416
 
      no_undefined_flag='${wl}-z ${wl}text'
7417
 
      if test "$GCC" = yes; then
7418
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7419
 
      else
7420
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7421
 
      fi
7422
 
      runpath_var='LD_RUN_PATH'
7423
 
      hardcode_shlibpath_var=no
7424
 
      ;;
7425
 
 
7426
 
    sysv5*)
7427
 
      no_undefined_flag=' -z text'
7428
 
      # $CC -shared without GNU ld will not create a library from C++
7429
 
      # object files and a static libstdc++, better avoid it by now
7430
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7431
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7432
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7433
 
      hardcode_libdir_flag_spec=
7434
 
      hardcode_shlibpath_var=no
7435
 
      runpath_var='LD_RUN_PATH'
 
7757
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
7758
      no_undefined_flag='${wl}-z,text'
 
7759
      archive_cmds_need_lc=no
 
7760
      hardcode_shlibpath_var=no
 
7761
      runpath_var='LD_RUN_PATH'
 
7762
 
 
7763
      if test "$GCC" = yes; then
 
7764
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
7765
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
7766
      else
 
7767
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
7768
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
7769
      fi
 
7770
      ;;
 
7771
 
 
7772
    sysv5* | sco3.2v5* | sco5v6*)
 
7773
      # Note: We can NOT use -z defs as we might desire, because we do not
 
7774
      # link with -lc, and that would cause any symbols used from libc to
 
7775
      # always be unresolved, which means just about no library would
 
7776
      # ever link correctly.  If we're not using GNU ld we use -z text
 
7777
      # though, which does catch some bad symbols but isn't as heavy-handed
 
7778
      # as -z defs.
 
7779
      no_undefined_flag='${wl}-z,text'
 
7780
      allow_undefined_flag='${wl}-z,nodefs'
 
7781
      archive_cmds_need_lc=no
 
7782
      hardcode_shlibpath_var=no
 
7783
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
7784
      hardcode_libdir_separator=':'
 
7785
      link_all_deplibs=yes
 
7786
      export_dynamic_flag_spec='${wl}-Bexport'
 
7787
      runpath_var='LD_RUN_PATH'
 
7788
 
 
7789
      if test "$GCC" = yes; then
 
7790
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
7791
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
7792
      else
 
7793
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
7794
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
7795
      fi
7436
7796
      ;;
7437
7797
 
7438
7798
    uts4*)
7451
7811
echo "${ECHO_T}$ld_shlibs" >&6
7452
7812
test "$ld_shlibs" = no && can_build_shared=no
7453
7813
 
7454
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7455
 
if test "$GCC" = yes; then
7456
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7457
 
fi
7458
 
 
7459
7814
#
7460
7815
# Do we need to explicitly link libc?
7461
7816
#
7488
7843
        libobjs=conftest.$ac_objext
7489
7844
        deplibs=
7490
7845
        wl=$lt_prog_compiler_wl
 
7846
        pic_flag=$lt_prog_compiler_pic
7491
7847
        compiler_flags=-v
7492
7848
        linker_flags=-v
7493
7849
        verstring=
7620
7976
  shlibpath_var=LIBRARY_PATH
7621
7977
  ;;
7622
7978
 
7623
 
bsdi4*)
 
7979
bsdi[45]*)
7624
7980
  version_type=linux
7625
7981
  need_version=no
7626
7982
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7648
8004
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7649
8005
      dldir=$destdir/`dirname \$dlpath`~
7650
8006
      test -d \$dldir || mkdir -p \$dldir~
7651
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
8007
      $install_prog $dir/$dlname \$dldir/$dlname~
 
8008
      chmod a+x \$dldir/$dlname'
7652
8009
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7653
8010
      dlpath=$dir/\$dldll~
7654
8011
       $rm \$dlpath'
7678
8035
      ;;
7679
8036
    pw32*)
7680
8037
      # pw32 DLLs use 'pw' prefix rather than 'lib'
7681
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
8038
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7682
8039
      ;;
7683
8040
    esac
7684
8041
    ;;
7701
8058
  soname_spec='${libname}${release}${major}$shared_ext'
7702
8059
  shlibpath_overrides_runpath=yes
7703
8060
  shlibpath_var=DYLD_LIBRARY_PATH
7704
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
8061
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7705
8062
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7706
8063
  if test "$GCC" = yes; then
7707
8064
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7736
8093
  dynamic_linker='GNU ld.so'
7737
8094
  ;;
7738
8095
 
7739
 
freebsd*)
7740
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
8096
freebsd* | dragonfly*)
 
8097
  # DragonFly does not have aout.  When/if they implement a new
 
8098
  # versioning mechanism, adjust this.
 
8099
  if test -x /usr/bin/objformat; then
 
8100
    objformat=`/usr/bin/objformat`
 
8101
  else
 
8102
    case $host_os in
 
8103
    freebsd[123]*) objformat=aout ;;
 
8104
    *) objformat=elf ;;
 
8105
    esac
 
8106
  fi
7741
8107
  version_type=freebsd-$objformat
7742
8108
  case $version_type in
7743
8109
    freebsd-elf*)
7755
8121
  freebsd2*)
7756
8122
    shlibpath_overrides_runpath=yes
7757
8123
    ;;
7758
 
  freebsd3.01* | freebsdelf3.01*)
 
8124
  freebsd3.[01]* | freebsdelf3.[01]*)
7759
8125
    shlibpath_overrides_runpath=yes
7760
8126
    hardcode_into_libs=yes
7761
8127
    ;;
7762
 
  *) # from 3.2 on
 
8128
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
8129
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
7763
8130
    shlibpath_overrides_runpath=no
7764
8131
    hardcode_into_libs=yes
7765
8132
    ;;
 
8133
  freebsd*) # from 4.6 on
 
8134
    shlibpath_overrides_runpath=yes
 
8135
    hardcode_into_libs=yes
 
8136
    ;;
7766
8137
  esac
7767
8138
  ;;
7768
8139
 
7782
8153
  version_type=sunos
7783
8154
  need_lib_prefix=no
7784
8155
  need_version=no
7785
 
  case "$host_cpu" in
 
8156
  case $host_cpu in
7786
8157
  ia64*)
7787
8158
    shrext_cmds='.so'
7788
8159
    hardcode_into_libs=yes
7822
8193
  postinstall_cmds='chmod 555 $lib'
7823
8194
  ;;
7824
8195
 
 
8196
interix3*)
 
8197
  version_type=linux
 
8198
  need_lib_prefix=no
 
8199
  need_version=no
 
8200
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
8201
  soname_spec='${libname}${release}${shared_ext}$major'
 
8202
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
8203
  shlibpath_var=LD_LIBRARY_PATH
 
8204
  shlibpath_overrides_runpath=no
 
8205
  hardcode_into_libs=yes
 
8206
  ;;
 
8207
 
7825
8208
irix5* | irix6* | nonstopux*)
7826
8209
  case $host_os in
7827
8210
    nonstopux*) version_type=nonstopux ;;
7881
8264
 
7882
8265
  # Append ld.so.conf contents to the search path
7883
8266
  if test -f /etc/ld.so.conf; then
7884
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
8267
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
7885
8268
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7886
8269
  fi
7887
8270
 
7955
8338
 
7956
8339
openbsd*)
7957
8340
  version_type=sunos
 
8341
  sys_lib_dlsearch_path_spec="/usr/lib"
7958
8342
  need_lib_prefix=no
7959
 
  need_version=yes
 
8343
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
8344
  case $host_os in
 
8345
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
8346
    *)                         need_version=no  ;;
 
8347
  esac
7960
8348
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7961
8349
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7962
8350
  shlibpath_var=LD_LIBRARY_PATH
7994
8382
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7995
8383
  ;;
7996
8384
 
7997
 
sco3.2v5*)
7998
 
  version_type=osf
7999
 
  soname_spec='${libname}${release}${shared_ext}$major'
8000
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8001
 
  shlibpath_var=LD_LIBRARY_PATH
8002
 
  ;;
8003
 
 
8004
8385
solaris*)
8005
8386
  version_type=linux
8006
8387
  need_lib_prefix=no
8026
8407
  need_version=yes
8027
8408
  ;;
8028
8409
 
8029
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
8410
sysv4 | sysv4.3*)
8030
8411
  version_type=linux
8031
8412
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8032
8413
  soname_spec='${libname}${release}${shared_ext}$major'
8059
8440
  fi
8060
8441
  ;;
8061
8442
 
 
8443
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
8444
  version_type=freebsd-elf
 
8445
  need_lib_prefix=no
 
8446
  need_version=no
 
8447
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
8448
  soname_spec='${libname}${release}${shared_ext}$major'
 
8449
  shlibpath_var=LD_LIBRARY_PATH
 
8450
  hardcode_into_libs=yes
 
8451
  if test "$with_gnu_ld" = yes; then
 
8452
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
8453
    shlibpath_overrides_runpath=no
 
8454
  else
 
8455
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
8456
    shlibpath_overrides_runpath=yes
 
8457
    case $host_os in
 
8458
      sco3.2v5*)
 
8459
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
8460
        ;;
 
8461
    esac
 
8462
  fi
 
8463
  sys_lib_dlsearch_path_spec='/usr/lib'
 
8464
  ;;
 
8465
 
8062
8466
uts4*)
8063
8467
  version_type=linux
8064
8468
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8074
8478
echo "${ECHO_T}$dynamic_linker" >&6
8075
8479
test "$dynamic_linker" = no && can_build_shared=no
8076
8480
 
 
8481
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
8482
if test "$GCC" = yes; then
 
8483
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
8484
fi
 
8485
 
8077
8486
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8078
8487
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8079
8488
hardcode_action=
8080
8489
if test -n "$hardcode_libdir_flag_spec" || \
8081
 
   test -n "$runpath_var " || \
8082
 
   test "X$hardcode_automatic"="Xyes" ; then
 
8490
   test -n "$runpath_var" || \
 
8491
   test "X$hardcode_automatic" = "Xyes" ; then
8083
8492
 
8084
8493
  # We can hardcode non-existant directories.
8085
8494
  if test "$hardcode_direct" != no &&
8722
9131
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8723
9132
 
8724
9133
    save_LDFLAGS="$LDFLAGS"
8725
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
9134
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8726
9135
 
8727
9136
    save_LIBS="$LIBS"
8728
9137
    LIBS="$lt_cv_dlopen_libs $LIBS"
8738
9147
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8739
9148
  lt_status=$lt_dlunknown
8740
9149
  cat > conftest.$ac_ext <<EOF
8741
 
#line 8741 "configure"
 
9150
#line 9150 "configure"
8742
9151
#include "confdefs.h"
8743
9152
 
8744
9153
#if HAVE_DLFCN_H
8795
9204
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8796
9205
      /* dlclose (self); */
8797
9206
    }
 
9207
  else
 
9208
    puts (dlerror ());
8798
9209
 
8799
9210
    exit (status);
8800
9211
}
8804
9215
  ac_status=$?
8805
9216
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806
9217
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8807
 
    (./conftest; exit; ) 2>/dev/null
 
9218
    (./conftest; exit; ) >&5 2>/dev/null
8808
9219
    lt_status=$?
8809
9220
    case x$lt_status in
8810
9221
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8811
9222
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8812
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
9223
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
8813
9224
    esac
8814
9225
  else :
8815
9226
    # compilation failed
8824
9235
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8825
9236
 
8826
9237
    if test "x$lt_cv_dlopen_self" = xyes; then
8827
 
      LDFLAGS="$LDFLAGS $link_static_flag"
 
9238
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
8828
9239
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8829
9240
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8830
9241
if test "${lt_cv_dlopen_self_static+set}" = set; then
8836
9247
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8837
9248
  lt_status=$lt_dlunknown
8838
9249
  cat > conftest.$ac_ext <<EOF
8839
 
#line 8839 "configure"
 
9250
#line 9250 "configure"
8840
9251
#include "confdefs.h"
8841
9252
 
8842
9253
#if HAVE_DLFCN_H
8893
9304
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8894
9305
      /* dlclose (self); */
8895
9306
    }
 
9307
  else
 
9308
    puts (dlerror ());
8896
9309
 
8897
9310
    exit (status);
8898
9311
}
8902
9315
  ac_status=$?
8903
9316
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904
9317
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8905
 
    (./conftest; exit; ) 2>/dev/null
 
9318
    (./conftest; exit; ) >&5 2>/dev/null
8906
9319
    lt_status=$?
8907
9320
    case x$lt_status in
8908
9321
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8909
9322
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8910
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
9323
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
8911
9324
    esac
8912
9325
  else :
8913
9326
    # compilation failed
8940
9353
fi
8941
9354
 
8942
9355
 
8943
 
# Report which librarie types wil actually be built
 
9356
# Report which library types will actually be built
8944
9357
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8945
9358
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8946
9359
echo "$as_me:$LINENO: result: $can_build_shared" >&5
8952
9365
 
8953
9366
# On AIX, shared libraries and static libraries use the same namespace, and
8954
9367
# are all built from PIC.
8955
 
case "$host_os" in
 
9368
case $host_os in
8956
9369
aix3*)
8957
9370
  test "$enable_shared" = yes && enable_static=no
8958
9371
  if test -n "$RANLIB"; then
8965
9378
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8966
9379
    test "$enable_shared" = yes && enable_static=no
8967
9380
  fi
8968
 
  ;;
8969
 
  darwin* | rhapsody*)
8970
 
  if test "$GCC" = yes; then
8971
 
    archive_cmds_need_lc=no
8972
 
    case "$host_os" in
8973
 
    rhapsody* | darwin1.[012])
8974
 
      allow_undefined_flag='-undefined suppress'
8975
 
      ;;
8976
 
    *) # Darwin 1.3 on
8977
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8978
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
8979
 
      else
8980
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
8981
 
          10.[012])
8982
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
8983
 
            ;;
8984
 
          10.*)
8985
 
            allow_undefined_flag='-undefined dynamic_lookup'
8986
 
            ;;
8987
 
        esac
8988
 
      fi
8989
 
      ;;
8990
 
    esac
8991
 
    output_verbose_link_cmd='echo'
8992
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8993
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8994
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8995
 
    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8996
 
    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8997
 
    hardcode_direct=no
8998
 
    hardcode_automatic=yes
8999
 
    hardcode_shlibpath_var=unsupported
9000
 
    whole_archive_flag_spec='-all_load $convenience'
9001
 
    link_all_deplibs=yes
9002
 
  else
9003
 
    ld_shlibs=no
9004
 
  fi
9005
9381
    ;;
9006
9382
esac
9007
9383
echo "$as_me:$LINENO: result: $enable_shared" >&5
9027
9403
  # Now quote all the things that may contain metacharacters while being
9028
9404
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9029
9405
  # variables and quote the copies for generation of the libtool script.
9030
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
9406
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9031
9407
    SED SHELL STRIP \
9032
9408
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9033
9409
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9131
9507
#
9132
9508
# You should have received a copy of the GNU General Public License
9133
9509
# along with this program; if not, write to the Free Software
9134
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
9510
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9135
9511
#
9136
9512
# As a special exception to the GNU General Public License, if you
9137
9513
# distribute this file as part of a program that contains a
9142
9518
SED=$lt_SED
9143
9519
 
9144
9520
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9145
 
Xsed="$SED -e s/^X//"
 
9521
Xsed="$SED -e 1s/^X//"
9146
9522
 
9147
9523
# The HP-UX ksh and POSIX shell print the target directory to stdout
9148
9524
# if CDPATH is set.
9149
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
9525
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9150
9526
 
9151
9527
# The names of the tagged configurations supported by this script.
9152
9528
available_tags=
9176
9552
# The host system.
9177
9553
host_alias=$host_alias
9178
9554
host=$host
 
9555
host_os=$host_os
 
9556
 
 
9557
# The build system.
 
9558
build_alias=$build_alias
 
9559
build=$build
 
9560
build_os=$build_os
9179
9561
 
9180
9562
# An echo program that does not interpret backslashes.
9181
9563
echo=$lt_echo
9187
9569
# A C compiler.
9188
9570
LTCC=$lt_LTCC
9189
9571
 
 
9572
# LTCC compiler flags.
 
9573
LTCFLAGS=$lt_LTCFLAGS
 
9574
 
9190
9575
# A language-specific compiler.
9191
9576
CC=$lt_compiler
9192
9577
 
9252
9637
# Does compiler simultaneously support -c and -o options?
9253
9638
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9254
9639
 
9255
 
# Must we lock files when doing compilation ?
 
9640
# Must we lock files when doing compilation?
9256
9641
need_locks=$lt_need_locks
9257
9642
 
9258
9643
# Do we need the lib prefix for modules?
9517
9902
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9518
9903
    fi
9519
9904
  fi
 
9905
  if test -z "$LTCFLAGS"; then
 
9906
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
9907
  fi
9520
9908
 
9521
9909
  # Extract list of available tagged configurations in $ofile.
9522
9910
  # Note that this assumes the entire list is on one line.
9547
9935
 
9548
9936
      case $tagname in
9549
9937
      CXX)
9550
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
 
9938
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
9939
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
9940
            (test "X$CXX" != "Xg++"))) ; then
9551
9941
          ac_ext=cc
9552
9942
ac_cpp='$CXXCPP $CPPFLAGS'
9553
9943
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9567
9957
hardcode_libdir_flag_spec_ld_CXX=
9568
9958
hardcode_libdir_separator_CXX=
9569
9959
hardcode_minus_L_CXX=no
 
9960
hardcode_shlibpath_var_CXX=unsupported
9570
9961
hardcode_automatic_CXX=no
9571
9962
module_cmds_CXX=
9572
9963
module_expsym_cmds_CXX=
9584
9975
compiler_lib_search_path_CXX=
9585
9976
 
9586
9977
# Source file extension for C++ test sources.
9587
 
ac_ext=cc
 
9978
ac_ext=cpp
9588
9979
 
9589
9980
# Object file extension for compiled C++ test sources.
9590
9981
objext=o
9594
9985
lt_simple_compile_test_code="int some_variable = 0;\n"
9595
9986
 
9596
9987
# Code to be used in simple link tests
9597
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
9988
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
9598
9989
 
9599
9990
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9600
9991
 
9601
9992
# If no C compiler was specified, use CC.
9602
9993
LTCC=${LTCC-"$CC"}
9603
9994
 
 
9995
# If no C compiler flags were specified, use CFLAGS.
 
9996
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
9997
 
9604
9998
# Allow CC to be a program name with arguments.
9605
9999
compiler=$CC
9606
10000
 
9607
10001
 
 
10002
# save warnings/boilerplate of simple test code
 
10003
ac_outfile=conftest.$ac_objext
 
10004
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10005
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
10006
_lt_compiler_boilerplate=`cat conftest.err`
 
10007
$rm conftest*
 
10008
 
 
10009
ac_outfile=conftest.$ac_objext
 
10010
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
10011
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
10012
_lt_linker_boilerplate=`cat conftest.err`
 
10013
$rm conftest*
 
10014
 
 
10015
 
9608
10016
# Allow CC to be a program name with arguments.
9609
10017
lt_save_CC=$CC
9610
10018
lt_save_LD=$LD
9615
10023
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9616
10024
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9617
10025
else
9618
 
  unset lt_cv_prog_gnu_ld
 
10026
  $as_unset lt_cv_prog_gnu_ld
9619
10027
fi
9620
10028
if test -n "${lt_cv_path_LDCXX+set}"; then
9621
10029
  lt_cv_path_LD=$lt_cv_path_LDCXX
9622
10030
else
9623
 
  unset lt_cv_path_LD
 
10031
  $as_unset lt_cv_path_LD
9624
10032
fi
9625
10033
test -z "${LDCXX+set}" || LD=$LDCXX
9626
10034
CC=${CXX-"c++"}
9627
10035
compiler=$CC
9628
10036
compiler_CXX=$CC
9629
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
10037
for cc_temp in $compiler""; do
 
10038
  case $cc_temp in
 
10039
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
10040
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
10041
    \-*) ;;
 
10042
    *) break;;
 
10043
  esac
 
10044
done
 
10045
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
10046
 
9630
10047
 
9631
10048
# We don't want -fno-exception wen compiling C++ code, so set the
9632
10049
# no_builtin_flag separately
9697
10114
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9698
10115
      lt_cv_path_LD="$ac_dir/$ac_prog"
9699
10116
      # Check to see if the program is GNU ld.  I'd rather use --version,
9700
 
      # but apparently some GNU ld's only accept -v.
 
10117
      # but apparently some variants of GNU ld only accept -v.
9701
10118
      # Break only if it was the GNU/non-GNU ld that we prefer.
9702
10119
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9703
10120
      *GNU* | *'with BFD'*)
9731
10148
if test "${lt_cv_prog_gnu_ld+set}" = set; then
9732
10149
  echo $ECHO_N "(cached) $ECHO_C" >&6
9733
10150
else
9734
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
10151
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
9735
10152
case `$LD -v 2>&1 </dev/null` in
9736
10153
*GNU* | *'with BFD'*)
9737
10154
  lt_cv_prog_gnu_ld=yes
9822
10239
            ;;
9823
10240
          esac
9824
10241
        done
 
10242
        ;;
9825
10243
      esac
9826
10244
 
9827
10245
      exp_sym_flag='-bexport'
9840
10258
    link_all_deplibs_CXX=yes
9841
10259
 
9842
10260
    if test "$GXX" = yes; then
9843
 
      case $host_os in aix4.012|aix4.012.*)
 
10261
      case $host_os in aix4.[012]|aix4.[012].*)
9844
10262
      # We only want to do this on AIX 4.2 and lower, the check
9845
10263
      # below for broken collect2 doesn't work under 4.3+
9846
10264
        collect2name=`${CC} -print-prog-name=collect2`
9859
10277
          hardcode_libdir_flag_spec_CXX='-L$libdir'
9860
10278
          hardcode_libdir_separator_CXX=
9861
10279
        fi
 
10280
        ;;
9862
10281
      esac
9863
10282
      shared_flag='-shared'
 
10283
      if test "$aix_use_runtimelinking" = yes; then
 
10284
        shared_flag="$shared_flag "'${wl}-G'
 
10285
      fi
9864
10286
    else
9865
10287
      # not using gcc
9866
10288
      if test "$host_cpu" = ia64; then
9937
10359
 
9938
10360
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9939
10361
 
9940
 
      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"
 
10362
      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"
9941
10363
     else
9942
10364
      if test "$host_cpu" = ia64; then
9943
10365
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9944
10366
        allow_undefined_flag_CXX="-z nodefs"
9945
 
        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"
 
10367
        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"
9946
10368
      else
9947
10369
        # Determine the default libpath from the value encoded in an empty executable.
9948
10370
        cat >conftest.$ac_ext <<_ACEOF
10001
10423
        # -berok will link without error, but may produce a broken library.
10002
10424
        no_undefined_flag_CXX=' ${wl}-bernotok'
10003
10425
        allow_undefined_flag_CXX=' ${wl}-berok'
10004
 
        # -bexpall does not export symbols beginning with underscore (_)
10005
 
        always_export_symbols_CXX=yes
10006
10426
        # Exported symbols can be pulled into shared objects from archives
10007
 
        whole_archive_flag_spec_CXX=' '
 
10427
        whole_archive_flag_spec_CXX='$convenience'
10008
10428
        archive_cmds_need_lc_CXX=yes
10009
 
        # This is similar to how AIX traditionally builds it's shared libraries.
10010
 
        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'
 
10429
        # This is similar to how AIX traditionally builds its shared libraries.
 
10430
        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'
10011
10431
      fi
10012
10432
    fi
10013
10433
    ;;
 
10434
 
 
10435
  beos*)
 
10436
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10437
      allow_undefined_flag_CXX=unsupported
 
10438
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
10439
      # support --undefined.  This deserves some investigation.  FIXME
 
10440
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10441
    else
 
10442
      ld_shlibs_CXX=no
 
10443
    fi
 
10444
    ;;
 
10445
 
10014
10446
  chorus*)
10015
10447
    case $cc_basename in
10016
10448
      *)
10029
10461
    enable_shared_with_static_runtimes_CXX=yes
10030
10462
 
10031
10463
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10032
 
      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'
 
10464
      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'
10033
10465
      # If the export-symbols file already is a .def file (1st line
10034
10466
      # is EXPORTS), use it as is; otherwise, prepend...
10035
10467
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10038
10470
        echo EXPORTS > $output_objdir/$soname.def;
10039
10471
        cat $export_symbols >> $output_objdir/$soname.def;
10040
10472
      fi~
10041
 
      $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'
 
10473
      $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'
10042
10474
    else
10043
10475
      ld_shlibs_CXX=no
10044
10476
    fi
10045
10477
  ;;
10046
 
 
10047
 
  darwin* | rhapsody*)
10048
 
  if test "$GXX" = yes; then
10049
 
    archive_cmds_need_lc_CXX=no
10050
 
    case "$host_os" in
10051
 
    rhapsody* | darwin1.[012])
10052
 
      allow_undefined_flag_CXX='-undefined suppress'
10053
 
      ;;
10054
 
    *) # Darwin 1.3 on
10055
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10056
 
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10057
 
      else
10058
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
10059
 
          10.[012])
10060
 
            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10061
 
            ;;
10062
 
          10.*)
10063
 
            allow_undefined_flag_CXX='-undefined dynamic_lookup'
10064
 
            ;;
 
10478
      darwin* | rhapsody*)
 
10479
        case $host_os in
 
10480
        rhapsody* | darwin1.[012])
 
10481
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 
10482
         ;;
 
10483
       *) # Darwin 1.3 on
 
10484
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
10485
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
10486
         else
 
10487
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
10488
             10.[012])
 
10489
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
10490
               ;;
 
10491
             10.*)
 
10492
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 
10493
               ;;
 
10494
           esac
 
10495
         fi
 
10496
         ;;
10065
10497
        esac
10066
 
      fi
10067
 
      ;;
10068
 
    esac
10069
 
    lt_int_apple_cc_single_mod=no
10070
 
    output_verbose_link_cmd='echo'
10071
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10072
 
      lt_int_apple_cc_single_mod=yes
10073
 
    fi
10074
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10075
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10076
 
    else
10077
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10078
 
    fi
10079
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
10498
      archive_cmds_need_lc_CXX=no
 
10499
      hardcode_direct_CXX=no
 
10500
      hardcode_automatic_CXX=yes
 
10501
      hardcode_shlibpath_var_CXX=unsupported
 
10502
      whole_archive_flag_spec_CXX=''
 
10503
      link_all_deplibs_CXX=yes
10080
10504
 
10081
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10082
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10083
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10084
 
    else
10085
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10086
 
    fi
10087
 
    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10088
 
    hardcode_direct_CXX=no
10089
 
    hardcode_automatic_CXX=yes
10090
 
    hardcode_shlibpath_var_CXX=unsupported
10091
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
10092
 
    link_all_deplibs_CXX=yes
10093
 
  else
10094
 
    ld_shlibs_CXX=no
10095
 
  fi
10096
 
    ;;
 
10505
    if test "$GXX" = yes ; then
 
10506
      lt_int_apple_cc_single_mod=no
 
10507
      output_verbose_link_cmd='echo'
 
10508
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 
10509
       lt_int_apple_cc_single_mod=yes
 
10510
      fi
 
10511
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
10512
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
10513
      else
 
10514
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
10515
        fi
 
10516
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
10517
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
10518
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
10519
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10520
          else
 
10521
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10522
          fi
 
10523
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10524
      else
 
10525
      case $cc_basename in
 
10526
        xlc*)
 
10527
         output_verbose_link_cmd='echo'
 
10528
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
10529
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
10530
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
10531
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10532
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10533
          ;;
 
10534
       *)
 
10535
         ld_shlibs_CXX=no
 
10536
          ;;
 
10537
      esac
 
10538
      fi
 
10539
        ;;
10097
10540
 
10098
10541
  dgux*)
10099
10542
    case $cc_basename in
10100
 
      ec++)
 
10543
      ec++*)
10101
10544
        # FIXME: insert proper C++ library support
10102
10545
        ld_shlibs_CXX=no
10103
10546
        ;;
10104
 
      ghcx)
 
10547
      ghcx*)
10105
10548
        # Green Hills C++ Compiler
10106
10549
        # FIXME: insert proper C++ library support
10107
10550
        ld_shlibs_CXX=no
10112
10555
        ;;
10113
10556
    esac
10114
10557
    ;;
10115
 
  freebsd12*)
 
10558
  freebsd[12]*)
10116
10559
    # C++ shared libraries reported to be fairly broken before switch to ELF
10117
10560
    ld_shlibs_CXX=no
10118
10561
    ;;
10119
10562
  freebsd-elf*)
10120
10563
    archive_cmds_need_lc_CXX=no
10121
10564
    ;;
10122
 
  freebsd* | kfreebsd*-gnu)
 
10565
  freebsd* | kfreebsd*-gnu | dragonfly*)
10123
10566
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10124
10567
    # conventions
10125
10568
    ld_shlibs_CXX=yes
10136
10579
                                # location of the library.
10137
10580
 
10138
10581
    case $cc_basename in
10139
 
    CC)
 
10582
    CC*)
10140
10583
      # FIXME: insert proper C++ library support
10141
10584
      ld_shlibs_CXX=no
10142
10585
      ;;
10143
 
    aCC)
 
10586
    aCC*)
10144
10587
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10145
10588
      # Commands to make compiler produce verbose output that lists
10146
10589
      # what "hidden" libraries, object files and flags are used when
10150
10593
      # explicitly linking system object files so we need to strip them
10151
10594
      # from the output so that they don't get included in the library
10152
10595
      # dependencies.
10153
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
10596
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10154
10597
      ;;
10155
10598
    *)
10156
10599
      if test "$GXX" = yes; then
10164
10607
    ;;
10165
10608
  hpux10*|hpux11*)
10166
10609
    if test $with_gnu_ld = no; then
10167
 
      case "$host_cpu" in
10168
 
      hppa*64*)
10169
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
10610
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
10611
      hardcode_libdir_separator_CXX=:
 
10612
 
 
10613
      case $host_cpu in
 
10614
      hppa*64*|ia64*)
10170
10615
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10171
 
        hardcode_libdir_separator_CXX=:
10172
 
        ;;
10173
 
      ia64*)
10174
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
10175
10616
        ;;
10176
10617
      *)
10177
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10178
 
        hardcode_libdir_separator_CXX=:
10179
10618
        export_dynamic_flag_spec_CXX='${wl}-E'
10180
10619
        ;;
10181
10620
      esac
10182
10621
    fi
10183
 
    case "$host_cpu" in
10184
 
    hppa*64*)
10185
 
      hardcode_direct_CXX=no
10186
 
      hardcode_shlibpath_var_CXX=no
10187
 
      ;;
10188
 
    ia64*)
10189
 
      hardcode_direct_CXX=no
10190
 
      hardcode_shlibpath_var_CXX=no
10191
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10192
 
                                              # but as the default
10193
 
                                              # location of the library.
 
10622
    case $host_cpu in
 
10623
    hppa*64*|ia64*)
 
10624
      hardcode_direct_CXX=no
 
10625
      hardcode_shlibpath_var_CXX=no
10194
10626
      ;;
10195
10627
    *)
10196
10628
      hardcode_direct_CXX=yes
10201
10633
    esac
10202
10634
 
10203
10635
    case $cc_basename in
10204
 
      CC)
 
10636
      CC*)
10205
10637
        # FIXME: insert proper C++ library support
10206
10638
        ld_shlibs_CXX=no
10207
10639
        ;;
10208
 
      aCC)
10209
 
        case "$host_cpu" in
10210
 
        hppa*64*|ia64*)
10211
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
10640
      aCC*)
 
10641
        case $host_cpu in
 
10642
        hppa*64*)
 
10643
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
10644
          ;;
 
10645
        ia64*)
 
10646
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10212
10647
          ;;
10213
10648
        *)
10214
10649
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10227
10662
      *)
10228
10663
        if test "$GXX" = yes; then
10229
10664
          if test $with_gnu_ld = no; then
10230
 
            case "$host_cpu" in
10231
 
            ia64*|hppa*64*)
10232
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
10665
            case $host_cpu in
 
10666
            hppa*64*)
 
10667
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
10668
              ;;
 
10669
            ia64*)
 
10670
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10233
10671
              ;;
10234
10672
            *)
10235
10673
              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'
10243
10681
        ;;
10244
10682
    esac
10245
10683
    ;;
 
10684
  interix3*)
 
10685
    hardcode_direct_CXX=no
 
10686
    hardcode_shlibpath_var_CXX=no
 
10687
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
10688
    export_dynamic_flag_spec_CXX='${wl}-E'
 
10689
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
10690
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
10691
    # default) and relocated if they conflict, which is a slow very memory
 
10692
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
10693
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
10694
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
10695
    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'
 
10696
    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'
 
10697
    ;;
10246
10698
  irix5* | irix6*)
10247
10699
    case $cc_basename in
10248
 
      CC)
 
10700
      CC*)
10249
10701
        # SGI C++
10250
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
10702
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10251
10703
 
10252
10704
        # Archives containing C++ object files must be created using
10253
10705
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
10258
10710
      *)
10259
10711
        if test "$GXX" = yes; then
10260
10712
          if test "$with_gnu_ld" = no; then
10261
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
10713
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10262
10714
          else
10263
10715
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10264
10716
          fi
10271
10723
    ;;
10272
10724
  linux*)
10273
10725
    case $cc_basename in
10274
 
      KCC)
 
10726
      KCC*)
10275
10727
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10276
10728
 
10277
10729
        # KCC will only create a shared library if the output file
10296
10748
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10297
10749
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10298
10750
        ;;
10299
 
      icpc)
 
10751
      icpc*)
10300
10752
        # Intel C++
10301
10753
        with_gnu_ld=yes
 
10754
        # version 8.0 and above of icpc choke on multiply defined symbols
 
10755
        # if we add $predep_objects and $postdep_objects, however 7.1 and
 
10756
        # earlier do not add the objects themselves.
 
10757
        case `$CC -V 2>&1` in
 
10758
        *"Version 7."*)
 
10759
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10760
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10761
          ;;
 
10762
        *)  # Version 8.0 or newer
 
10763
          tmp_idyn=
 
10764
          case $host_cpu in
 
10765
            ia64*) tmp_idyn=' -i_dynamic';;
 
10766
          esac
 
10767
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10768
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10769
          ;;
 
10770
        esac
10302
10771
        archive_cmds_need_lc_CXX=no
10303
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10304
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10305
10772
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10306
10773
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10307
10774
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10308
10775
        ;;
10309
 
      cxx)
 
10776
      pgCC*)
 
10777
        # Portland Group C++ compiler
 
10778
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
10779
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
10780
 
 
10781
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
10782
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
10783
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
10784
        ;;
 
10785
      cxx*)
10310
10786
        # Compaq C++
10311
10787
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10312
10788
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10337
10813
    ;;
10338
10814
  mvs*)
10339
10815
    case $cc_basename in
10340
 
      cxx)
 
10816
      cxx*)
10341
10817
        # FIXME: insert proper C++ library support
10342
10818
        ld_shlibs_CXX=no
10343
10819
        ;;
10358
10834
    # Workaround some broken pre-1.5 toolchains
10359
10835
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10360
10836
    ;;
 
10837
  openbsd2*)
 
10838
    # C++ shared libraries are fairly broken
 
10839
    ld_shlibs_CXX=no
 
10840
    ;;
 
10841
  openbsd*)
 
10842
    hardcode_direct_CXX=yes
 
10843
    hardcode_shlibpath_var_CXX=no
 
10844
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
10845
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
10846
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10847
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
10848
      export_dynamic_flag_spec_CXX='${wl}-E'
 
10849
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10850
    fi
 
10851
    output_verbose_link_cmd='echo'
 
10852
    ;;
10361
10853
  osf3*)
10362
10854
    case $cc_basename in
10363
 
      KCC)
 
10855
      KCC*)
10364
10856
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10365
10857
 
10366
10858
        # KCC will only create a shared library if the output file
10376
10868
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10377
10869
 
10378
10870
        ;;
10379
 
      RCC)
 
10871
      RCC*)
10380
10872
        # Rational C++ 2.4.1
10381
10873
        # FIXME: insert proper C++ library support
10382
10874
        ld_shlibs_CXX=no
10383
10875
        ;;
10384
 
      cxx)
 
10876
      cxx*)
10385
10877
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10386
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
10878
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10387
10879
 
10388
10880
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10389
10881
        hardcode_libdir_separator_CXX=:
10401
10893
      *)
10402
10894
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10403
10895
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10404
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
10896
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10405
10897
 
10406
10898
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10407
10899
          hardcode_libdir_separator_CXX=:
10420
10912
    ;;
10421
10913
  osf4* | osf5*)
10422
10914
    case $cc_basename in
10423
 
      KCC)
 
10915
      KCC*)
10424
10916
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10425
10917
 
10426
10918
        # KCC will only create a shared library if the output file
10435
10927
        # the KAI C++ compiler.
10436
10928
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10437
10929
        ;;
10438
 
      RCC)
 
10930
      RCC*)
10439
10931
        # Rational C++ 2.4.1
10440
10932
        # FIXME: insert proper C++ library support
10441
10933
        ld_shlibs_CXX=no
10442
10934
        ;;
10443
 
      cxx)
 
10935
      cxx*)
10444
10936
        allow_undefined_flag_CXX=' -expect_unresolved \*'
10445
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
10937
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10446
10938
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10447
10939
          echo "-hidden">> $lib.exp~
10448
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
 
10940
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
10449
10941
          $rm $lib.exp'
10450
10942
 
10451
10943
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10464
10956
      *)
10465
10957
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10466
10958
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10467
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
10959
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10468
10960
 
10469
10961
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10470
10962
          hardcode_libdir_separator_CXX=:
10485
10977
    # FIXME: insert proper C++ library support
10486
10978
    ld_shlibs_CXX=no
10487
10979
    ;;
10488
 
  sco*)
10489
 
    archive_cmds_need_lc_CXX=no
10490
 
    case $cc_basename in
10491
 
      CC)
10492
 
        # FIXME: insert proper C++ library support
10493
 
        ld_shlibs_CXX=no
10494
 
        ;;
10495
 
      *)
10496
 
        # FIXME: insert proper C++ library support
10497
 
        ld_shlibs_CXX=no
10498
 
        ;;
10499
 
    esac
10500
 
    ;;
10501
10980
  sunos4*)
10502
10981
    case $cc_basename in
10503
 
      CC)
 
10982
      CC*)
10504
10983
        # Sun C++ 4.x
10505
10984
        # FIXME: insert proper C++ library support
10506
10985
        ld_shlibs_CXX=no
10507
10986
        ;;
10508
 
      lcc)
 
10987
      lcc*)
10509
10988
        # Lucid
10510
10989
        # FIXME: insert proper C++ library support
10511
10990
        ld_shlibs_CXX=no
10518
10997
    ;;
10519
10998
  solaris*)
10520
10999
    case $cc_basename in
10521
 
      CC)
 
11000
      CC*)
10522
11001
        # Sun C++ 4.2, 5.x and Centerline C++
 
11002
        archive_cmds_need_lc_CXX=yes
10523
11003
        no_undefined_flag_CXX=' -zdefs'
10524
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11004
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10525
11005
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10526
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
11006
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10527
11007
 
10528
11008
        hardcode_libdir_flag_spec_CXX='-R$libdir'
10529
11009
        hardcode_shlibpath_var_CXX=no
10530
11010
        case $host_os in
10531
 
          solaris2.0-5 | solaris2.0-5.*) ;;
 
11011
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10532
11012
          *)
10533
11013
            # The C++ compiler is used as linker so we must use $wl
10534
11014
            # flag to pass the commands to the underlying system
10535
 
            # linker.
 
11015
            # linker. We must also pass each convience library through
 
11016
            # to the system linker between allextract/defaultextract.
 
11017
            # The C++ compiler will combine linker options so we
 
11018
            # cannot just pass the convience library names through
 
11019
            # without $wl.
10536
11020
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10537
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11021
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
10538
11022
            ;;
10539
11023
        esac
10540
11024
        link_all_deplibs_CXX=yes
10541
11025
 
10542
 
        # Commands to make compiler produce verbose output that lists
10543
 
        # what "hidden" libraries, object files and flags are used when
10544
 
        # linking a shared library.
10545
 
        #
10546
 
        # There doesn't appear to be a way to prevent this compiler from
10547
 
        # explicitly linking system object files so we need to strip them
10548
 
        # from the output so that they don't get included in the library
10549
 
        # dependencies.
10550
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
11026
        output_verbose_link_cmd='echo'
10551
11027
 
10552
11028
        # Archives containing C++ object files must be created using
10553
11029
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
10555
11031
        # in the archive.
10556
11032
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10557
11033
        ;;
10558
 
      gcx)
 
11034
      gcx*)
10559
11035
        # Green Hills C++ Compiler
10560
11036
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10561
11037
 
10593
11069
        ;;
10594
11070
    esac
10595
11071
    ;;
10596
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10597
 
    archive_cmds_need_lc_CXX=no
 
11072
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11073
    no_undefined_flag_CXX='${wl}-z,text'
 
11074
    archive_cmds_need_lc_CXX=no
 
11075
    hardcode_shlibpath_var_CXX=no
 
11076
    runpath_var='LD_RUN_PATH'
 
11077
 
 
11078
    case $cc_basename in
 
11079
      CC*)
 
11080
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11081
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11082
        ;;
 
11083
      *)
 
11084
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11085
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11086
        ;;
 
11087
    esac
 
11088
    ;;
 
11089
  sysv5* | sco3.2v5* | sco5v6*)
 
11090
    # Note: We can NOT use -z defs as we might desire, because we do not
 
11091
    # link with -lc, and that would cause any symbols used from libc to
 
11092
    # always be unresolved, which means just about no library would
 
11093
    # ever link correctly.  If we're not using GNU ld we use -z text
 
11094
    # though, which does catch some bad symbols but isn't as heavy-handed
 
11095
    # as -z defs.
 
11096
    # For security reasons, it is highly recommended that you always
 
11097
    # use absolute paths for naming shared libraries, and exclude the
 
11098
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
11099
    # requires that you compile everything twice, which is a pain.
 
11100
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
11101
    # non-empty value in the environment.  Most likely only useful for
 
11102
    # creating official distributions of packages.
 
11103
    # This is a hack until libtool officially supports absolute path
 
11104
    # names for shared libraries.
 
11105
    no_undefined_flag_CXX='${wl}-z,text'
 
11106
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
11107
    archive_cmds_need_lc_CXX=no
 
11108
    hardcode_shlibpath_var_CXX=no
 
11109
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
11110
    hardcode_libdir_separator_CXX=':'
 
11111
    link_all_deplibs_CXX=yes
 
11112
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
11113
    runpath_var='LD_RUN_PATH'
 
11114
 
 
11115
    case $cc_basename in
 
11116
      CC*)
 
11117
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11118
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11119
        ;;
 
11120
      *)
 
11121
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11122
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11123
        ;;
 
11124
    esac
10598
11125
    ;;
10599
11126
  tandem*)
10600
11127
    case $cc_basename in
10601
 
      NCC)
 
11128
      NCC*)
10602
11129
        # NonStop-UX NCC 3.20
10603
11130
        # FIXME: insert proper C++ library support
10604
11131
        ld_shlibs_CXX=no
10651
11178
  # The `*' in the case matches for architectures that use `case' in
10652
11179
  # $output_verbose_cmd can trigger glob expansion during the loop
10653
11180
  # eval without this substitution.
10654
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
11181
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10655
11182
 
10656
11183
  for p in `eval $output_verbose_link_cmd`; do
10657
11184
    case $p in
10727
11254
 
10728
11255
$rm -f confest.$objext
10729
11256
 
 
11257
# PORTME: override above test on systems where it is broken
 
11258
case $host_os in
 
11259
interix3*)
 
11260
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
11261
  # hack all around it, let's just trust "g++" to DTRT.
 
11262
  predep_objects_CXX=
 
11263
  postdep_objects_CXX=
 
11264
  postdeps_CXX=
 
11265
  ;;
 
11266
 
 
11267
solaris*)
 
11268
  case $cc_basename in
 
11269
  CC*)
 
11270
    # Adding this requires a known-good setup of shared libraries for
 
11271
    # Sun compiler versions before 5.6, else PIC objects from an old
 
11272
    # archive will be linked into the output, leading to subtle bugs.
 
11273
    postdeps_CXX='-lCstd -lCrun'
 
11274
    ;;
 
11275
  esac
 
11276
  ;;
 
11277
esac
 
11278
 
 
11279
 
10730
11280
case " $postdeps_CXX " in
10731
11281
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
10732
11282
esac
10774
11324
      # DJGPP does not support shared libraries at all
10775
11325
      lt_prog_compiler_pic_CXX=
10776
11326
      ;;
 
11327
    interix3*)
 
11328
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
11329
      # Instead, we relocate shared libraries at runtime.
 
11330
      ;;
10777
11331
    sysv4*MP*)
10778
11332
      if test -d /usr/nec; then
10779
11333
        lt_prog_compiler_pic_CXX=-Kconform_pic
10782
11336
    hpux*)
10783
11337
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10784
11338
      # not for PA HP-UX.
10785
 
      case "$host_cpu" in
 
11339
      case $host_cpu in
10786
11340
      hppa*64*|ia64*)
10787
11341
        ;;
10788
11342
      *)
10807
11361
        ;;
10808
11362
      chorus*)
10809
11363
        case $cc_basename in
10810
 
        cxch68)
 
11364
        cxch68*)
10811
11365
          # Green Hills C++ Compiler
10812
11366
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
10813
11367
          ;;
10814
11368
        esac
10815
11369
        ;;
 
11370
       darwin*)
 
11371
         # PIC is the default on this platform
 
11372
         # Common symbols not allowed in MH_DYLIB files
 
11373
         case $cc_basename in
 
11374
           xlc*)
 
11375
           lt_prog_compiler_pic_CXX='-qnocommon'
 
11376
           lt_prog_compiler_wl_CXX='-Wl,'
 
11377
           ;;
 
11378
         esac
 
11379
       ;;
10816
11380
      dgux*)
10817
11381
        case $cc_basename in
10818
 
          ec++)
 
11382
          ec++*)
10819
11383
            lt_prog_compiler_pic_CXX='-KPIC'
10820
11384
            ;;
10821
 
          ghcx)
 
11385
          ghcx*)
10822
11386
            # Green Hills C++ Compiler
10823
11387
            lt_prog_compiler_pic_CXX='-pic'
10824
11388
            ;;
10826
11390
            ;;
10827
11391
        esac
10828
11392
        ;;
10829
 
      freebsd* | kfreebsd*-gnu)
 
11393
      freebsd* | kfreebsd*-gnu | dragonfly*)
10830
11394
        # FreeBSD uses GNU C++
10831
11395
        ;;
10832
11396
      hpux9* | hpux10* | hpux11*)
10833
11397
        case $cc_basename in
10834
 
          CC)
 
11398
          CC*)
10835
11399
            lt_prog_compiler_wl_CXX='-Wl,'
10836
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
11400
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
10837
11401
            if test "$host_cpu" != ia64; then
10838
11402
              lt_prog_compiler_pic_CXX='+Z'
10839
11403
            fi
10840
11404
            ;;
10841
 
          aCC)
 
11405
          aCC*)
10842
11406
            lt_prog_compiler_wl_CXX='-Wl,'
10843
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10844
 
            case "$host_cpu" in
 
11407
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
11408
            case $host_cpu in
10845
11409
            hppa*64*|ia64*)
10846
11410
              # +Z the default
10847
11411
              ;;
10854
11418
            ;;
10855
11419
        esac
10856
11420
        ;;
 
11421
      interix*)
 
11422
        # This is c89, which is MS Visual C++ (no shared libs)
 
11423
        # Anyone wants to do a port?
 
11424
        ;;
10857
11425
      irix5* | irix6* | nonstopux*)
10858
11426
        case $cc_basename in
10859
 
          CC)
 
11427
          CC*)
10860
11428
            lt_prog_compiler_wl_CXX='-Wl,'
10861
11429
            lt_prog_compiler_static_CXX='-non_shared'
10862
11430
            # CC pic flag -KPIC is the default.
10867
11435
        ;;
10868
11436
      linux*)
10869
11437
        case $cc_basename in
10870
 
          KCC)
 
11438
          KCC*)
10871
11439
            # KAI C++ Compiler
10872
11440
            lt_prog_compiler_wl_CXX='--backend -Wl,'
10873
11441
            lt_prog_compiler_pic_CXX='-fPIC'
10874
11442
            ;;
10875
 
          icpc)
 
11443
          icpc* | ecpc*)
10876
11444
            # Intel C++
10877
11445
            lt_prog_compiler_wl_CXX='-Wl,'
10878
11446
            lt_prog_compiler_pic_CXX='-KPIC'
10879
11447
            lt_prog_compiler_static_CXX='-static'
10880
11448
            ;;
10881
 
          cxx)
 
11449
          pgCC*)
 
11450
            # Portland Group C++ compiler.
 
11451
            lt_prog_compiler_wl_CXX='-Wl,'
 
11452
            lt_prog_compiler_pic_CXX='-fpic'
 
11453
            lt_prog_compiler_static_CXX='-Bstatic'
 
11454
            ;;
 
11455
          cxx*)
10882
11456
            # Compaq C++
10883
11457
            # Make sure the PIC flag is empty.  It appears that all Alpha
10884
11458
            # Linux and Compaq Tru64 Unix objects are PIC.
10895
11469
        ;;
10896
11470
      mvs*)
10897
11471
        case $cc_basename in
10898
 
          cxx)
 
11472
          cxx*)
10899
11473
            lt_prog_compiler_pic_CXX='-W c,exportall'
10900
11474
            ;;
10901
11475
          *)
10906
11480
        ;;
10907
11481
      osf3* | osf4* | osf5*)
10908
11482
        case $cc_basename in
10909
 
          KCC)
 
11483
          KCC*)
10910
11484
            lt_prog_compiler_wl_CXX='--backend -Wl,'
10911
11485
            ;;
10912
 
          RCC)
 
11486
          RCC*)
10913
11487
            # Rational C++ 2.4.1
10914
11488
            lt_prog_compiler_pic_CXX='-pic'
10915
11489
            ;;
10916
 
          cxx)
 
11490
          cxx*)
10917
11491
            # Digital/Compaq C++
10918
11492
            lt_prog_compiler_wl_CXX='-Wl,'
10919
11493
            # Make sure the PIC flag is empty.  It appears that all Alpha
10927
11501
        ;;
10928
11502
      psos*)
10929
11503
        ;;
10930
 
      sco*)
10931
 
        case $cc_basename in
10932
 
          CC)
10933
 
            lt_prog_compiler_pic_CXX='-fPIC'
10934
 
            ;;
10935
 
          *)
10936
 
            ;;
10937
 
        esac
10938
 
        ;;
10939
11504
      solaris*)
10940
11505
        case $cc_basename in
10941
 
          CC)
 
11506
          CC*)
10942
11507
            # Sun C++ 4.2, 5.x and Centerline C++
10943
11508
            lt_prog_compiler_pic_CXX='-KPIC'
10944
11509
            lt_prog_compiler_static_CXX='-Bstatic'
10945
11510
            lt_prog_compiler_wl_CXX='-Qoption ld '
10946
11511
            ;;
10947
 
          gcx)
 
11512
          gcx*)
10948
11513
            # Green Hills C++ Compiler
10949
11514
            lt_prog_compiler_pic_CXX='-PIC'
10950
11515
            ;;
10954
11519
        ;;
10955
11520
      sunos4*)
10956
11521
        case $cc_basename in
10957
 
          CC)
 
11522
          CC*)
10958
11523
            # Sun C++ 4.x
10959
11524
            lt_prog_compiler_pic_CXX='-pic'
10960
11525
            lt_prog_compiler_static_CXX='-Bstatic'
10961
11526
            ;;
10962
 
          lcc)
 
11527
          lcc*)
10963
11528
            # Lucid
10964
11529
            lt_prog_compiler_pic_CXX='-pic'
10965
11530
            ;;
10969
11534
        ;;
10970
11535
      tandem*)
10971
11536
        case $cc_basename in
10972
 
          NCC)
 
11537
          NCC*)
10973
11538
            # NonStop-UX NCC 3.20
10974
11539
            lt_prog_compiler_pic_CXX='-KPIC'
10975
11540
            ;;
10977
11542
            ;;
10978
11543
        esac
10979
11544
        ;;
10980
 
      unixware*)
 
11545
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
11546
        case $cc_basename in
 
11547
          CC*)
 
11548
            lt_prog_compiler_wl_CXX='-Wl,'
 
11549
            lt_prog_compiler_pic_CXX='-KPIC'
 
11550
            lt_prog_compiler_static_CXX='-Bstatic'
 
11551
            ;;
 
11552
        esac
10981
11553
        ;;
10982
11554
      vxworks*)
10983
11555
        ;;
11010
11582
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11011
11583
   # The option is referenced via a variable to avoid confusing sed.
11012
11584
   lt_compile=`echo "$ac_compile" | $SED \
11013
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
11585
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11014
11586
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11015
11587
   -e 's:$: $lt_compiler_flag:'`
11016
 
   (eval echo "\"\$as_me:11016: $lt_compile\"" >&5)
 
11588
   (eval echo "\"\$as_me:11588: $lt_compile\"" >&5)
11017
11589
   (eval "$lt_compile" 2>conftest.err)
11018
11590
   ac_status=$?
11019
11591
   cat conftest.err >&5
11020
 
   echo "$as_me:11020: \$? = $ac_status" >&5
 
11592
   echo "$as_me:11592: \$? = $ac_status" >&5
11021
11593
   if (exit $ac_status) && test -s "$ac_outfile"; then
11022
11594
     # The compiler can only warn and ignore the option if not recognized
11023
 
     # So say no if there are warnings
11024
 
     if test ! -s conftest.err; then
 
11595
     # So say no if there are warnings other than the usual output.
 
11596
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
11597
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11598
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11025
11599
       lt_prog_compiler_pic_works_CXX=yes
11026
11600
     fi
11027
11601
   fi
11042
11616
fi
11043
11617
 
11044
11618
fi
11045
 
case "$host_os" in
 
11619
case $host_os in
11046
11620
  # For platforms which do not support PIC, -DPIC is meaningless:
11047
11621
  *djgpp*)
11048
11622
    lt_prog_compiler_pic_CXX=
11052
11626
    ;;
11053
11627
esac
11054
11628
 
 
11629
#
 
11630
# Check to make sure the static flag actually works.
 
11631
#
 
11632
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
11633
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
11634
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
11635
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
11636
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11637
else
 
11638
  lt_prog_compiler_static_works_CXX=no
 
11639
   save_LDFLAGS="$LDFLAGS"
 
11640
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
11641
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
11642
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11643
     # The linker can only warn and ignore the option if not recognized
 
11644
     # So say no if there are warnings
 
11645
     if test -s conftest.err; then
 
11646
       # Append any errors to the config.log.
 
11647
       cat conftest.err 1>&5
 
11648
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
11649
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11650
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11651
         lt_prog_compiler_static_works_CXX=yes
 
11652
       fi
 
11653
     else
 
11654
       lt_prog_compiler_static_works_CXX=yes
 
11655
     fi
 
11656
   fi
 
11657
   $rm conftest*
 
11658
   LDFLAGS="$save_LDFLAGS"
 
11659
 
 
11660
fi
 
11661
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
11662
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
11663
 
 
11664
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
11665
    :
 
11666
else
 
11667
    lt_prog_compiler_static_CXX=
 
11668
fi
 
11669
 
 
11670
 
11055
11671
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11056
11672
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11057
11673
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11070
11686
   # Note that $ac_compile itself does not contain backslashes and begins
11071
11687
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11072
11688
   lt_compile=`echo "$ac_compile" | $SED \
11073
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
11689
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11074
11690
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11075
11691
   -e 's:$: $lt_compiler_flag:'`
11076
 
   (eval echo "\"\$as_me:11076: $lt_compile\"" >&5)
 
11692
   (eval echo "\"\$as_me:11692: $lt_compile\"" >&5)
11077
11693
   (eval "$lt_compile" 2>out/conftest.err)
11078
11694
   ac_status=$?
11079
11695
   cat out/conftest.err >&5
11080
 
   echo "$as_me:11080: \$? = $ac_status" >&5
 
11696
   echo "$as_me:11696: \$? = $ac_status" >&5
11081
11697
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11082
11698
   then
11083
11699
     # The compiler can only warn and ignore the option if not recognized
11084
11700
     # So say no if there are warnings
11085
 
     if test ! -s out/conftest.err; then
 
11701
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
11702
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11703
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11086
11704
       lt_cv_prog_compiler_c_o_CXX=yes
11087
11705
     fi
11088
11706
   fi
11089
 
   chmod u+w .
 
11707
   chmod u+w . 2>&5
11090
11708
   $rm conftest*
11091
11709
   # SGI C++ compiler will create directory out/ii_files/ for
11092
11710
   # template instantiation
11141
11759
    export_symbols_cmds_CXX="$ltdll_cmds"
11142
11760
  ;;
11143
11761
  cygwin* | mingw*)
11144
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
11762
    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'
 
11763
  ;;
 
11764
  kfreebsd*-gnu)
 
11765
    link_all_deplibs_CXX=no
11145
11766
  ;;
11146
11767
  linux*)
11147
11768
    link_all_deplibs_CXX=no
11155
11776
echo "${ECHO_T}$ld_shlibs_CXX" >&6
11156
11777
test "$ld_shlibs_CXX" = no && can_build_shared=no
11157
11778
 
11158
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11159
 
if test "$GCC" = yes; then
11160
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11161
 
fi
11162
 
 
11163
11779
#
11164
11780
# Do we need to explicitly link libc?
11165
11781
#
11192
11808
        libobjs=conftest.$ac_objext
11193
11809
        deplibs=
11194
11810
        wl=$lt_prog_compiler_wl_CXX
 
11811
        pic_flag=$lt_prog_compiler_pic_CXX
11195
11812
        compiler_flags=-v
11196
11813
        linker_flags=-v
11197
11814
        verstring=
11324
11941
  shlibpath_var=LIBRARY_PATH
11325
11942
  ;;
11326
11943
 
11327
 
bsdi4*)
 
11944
bsdi[45]*)
11328
11945
  version_type=linux
11329
11946
  need_version=no
11330
11947
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11352
11969
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11353
11970
      dldir=$destdir/`dirname \$dlpath`~
11354
11971
      test -d \$dldir || mkdir -p \$dldir~
11355
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11972
      $install_prog $dir/$dlname \$dldir/$dlname~
 
11973
      chmod a+x \$dldir/$dlname'
11356
11974
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11357
11975
      dlpath=$dir/\$dldll~
11358
11976
       $rm \$dlpath'
11382
12000
      ;;
11383
12001
    pw32*)
11384
12002
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11385
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
12003
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11386
12004
      ;;
11387
12005
    esac
11388
12006
    ;;
11405
12023
  soname_spec='${libname}${release}${major}$shared_ext'
11406
12024
  shlibpath_overrides_runpath=yes
11407
12025
  shlibpath_var=DYLD_LIBRARY_PATH
11408
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
12026
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11409
12027
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11410
12028
  if test "$GCC" = yes; then
11411
12029
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11440
12058
  dynamic_linker='GNU ld.so'
11441
12059
  ;;
11442
12060
 
11443
 
freebsd*)
11444
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
12061
freebsd* | dragonfly*)
 
12062
  # DragonFly does not have aout.  When/if they implement a new
 
12063
  # versioning mechanism, adjust this.
 
12064
  if test -x /usr/bin/objformat; then
 
12065
    objformat=`/usr/bin/objformat`
 
12066
  else
 
12067
    case $host_os in
 
12068
    freebsd[123]*) objformat=aout ;;
 
12069
    *) objformat=elf ;;
 
12070
    esac
 
12071
  fi
11445
12072
  version_type=freebsd-$objformat
11446
12073
  case $version_type in
11447
12074
    freebsd-elf*)
11459
12086
  freebsd2*)
11460
12087
    shlibpath_overrides_runpath=yes
11461
12088
    ;;
11462
 
  freebsd3.01* | freebsdelf3.01*)
 
12089
  freebsd3.[01]* | freebsdelf3.[01]*)
11463
12090
    shlibpath_overrides_runpath=yes
11464
12091
    hardcode_into_libs=yes
11465
12092
    ;;
11466
 
  *) # from 3.2 on
 
12093
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
12094
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11467
12095
    shlibpath_overrides_runpath=no
11468
12096
    hardcode_into_libs=yes
11469
12097
    ;;
 
12098
  freebsd*) # from 4.6 on
 
12099
    shlibpath_overrides_runpath=yes
 
12100
    hardcode_into_libs=yes
 
12101
    ;;
11470
12102
  esac
11471
12103
  ;;
11472
12104
 
11486
12118
  version_type=sunos
11487
12119
  need_lib_prefix=no
11488
12120
  need_version=no
11489
 
  case "$host_cpu" in
 
12121
  case $host_cpu in
11490
12122
  ia64*)
11491
12123
    shrext_cmds='.so'
11492
12124
    hardcode_into_libs=yes
11526
12158
  postinstall_cmds='chmod 555 $lib'
11527
12159
  ;;
11528
12160
 
 
12161
interix3*)
 
12162
  version_type=linux
 
12163
  need_lib_prefix=no
 
12164
  need_version=no
 
12165
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12166
  soname_spec='${libname}${release}${shared_ext}$major'
 
12167
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12168
  shlibpath_var=LD_LIBRARY_PATH
 
12169
  shlibpath_overrides_runpath=no
 
12170
  hardcode_into_libs=yes
 
12171
  ;;
 
12172
 
11529
12173
irix5* | irix6* | nonstopux*)
11530
12174
  case $host_os in
11531
12175
    nonstopux*) version_type=nonstopux ;;
11585
12229
 
11586
12230
  # Append ld.so.conf contents to the search path
11587
12231
  if test -f /etc/ld.so.conf; then
11588
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
12232
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11589
12233
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11590
12234
  fi
11591
12235
 
11659
12303
 
11660
12304
openbsd*)
11661
12305
  version_type=sunos
 
12306
  sys_lib_dlsearch_path_spec="/usr/lib"
11662
12307
  need_lib_prefix=no
11663
 
  need_version=yes
 
12308
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
12309
  case $host_os in
 
12310
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
12311
    *)                         need_version=no  ;;
 
12312
  esac
11664
12313
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11665
12314
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11666
12315
  shlibpath_var=LD_LIBRARY_PATH
11698
12347
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11699
12348
  ;;
11700
12349
 
11701
 
sco3.2v5*)
11702
 
  version_type=osf
11703
 
  soname_spec='${libname}${release}${shared_ext}$major'
11704
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11705
 
  shlibpath_var=LD_LIBRARY_PATH
11706
 
  ;;
11707
 
 
11708
12350
solaris*)
11709
12351
  version_type=linux
11710
12352
  need_lib_prefix=no
11730
12372
  need_version=yes
11731
12373
  ;;
11732
12374
 
11733
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
12375
sysv4 | sysv4.3*)
11734
12376
  version_type=linux
11735
12377
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11736
12378
  soname_spec='${libname}${release}${shared_ext}$major'
11763
12405
  fi
11764
12406
  ;;
11765
12407
 
 
12408
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
12409
  version_type=freebsd-elf
 
12410
  need_lib_prefix=no
 
12411
  need_version=no
 
12412
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12413
  soname_spec='${libname}${release}${shared_ext}$major'
 
12414
  shlibpath_var=LD_LIBRARY_PATH
 
12415
  hardcode_into_libs=yes
 
12416
  if test "$with_gnu_ld" = yes; then
 
12417
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
12418
    shlibpath_overrides_runpath=no
 
12419
  else
 
12420
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
12421
    shlibpath_overrides_runpath=yes
 
12422
    case $host_os in
 
12423
      sco3.2v5*)
 
12424
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
12425
        ;;
 
12426
    esac
 
12427
  fi
 
12428
  sys_lib_dlsearch_path_spec='/usr/lib'
 
12429
  ;;
 
12430
 
11766
12431
uts4*)
11767
12432
  version_type=linux
11768
12433
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778
12443
echo "${ECHO_T}$dynamic_linker" >&6
11779
12444
test "$dynamic_linker" = no && can_build_shared=no
11780
12445
 
 
12446
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
12447
if test "$GCC" = yes; then
 
12448
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
12449
fi
 
12450
 
11781
12451
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11782
12452
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11783
12453
hardcode_action_CXX=
11784
12454
if test -n "$hardcode_libdir_flag_spec_CXX" || \
11785
 
   test -n "$runpath_var CXX" || \
11786
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
 
12455
   test -n "$runpath_var_CXX" || \
 
12456
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
11787
12457
 
11788
12458
  # We can hardcode non-existant directories.
11789
12459
  if test "$hardcode_direct_CXX" != no &&
11815
12485
  enable_fast_install=needless
11816
12486
fi
11817
12487
 
11818
 
striplib=
11819
 
old_striplib=
11820
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11821
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11822
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11823
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11824
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11825
 
  echo "$as_me:$LINENO: result: yes" >&5
11826
 
echo "${ECHO_T}yes" >&6
11827
 
else
11828
 
# FIXME - insert some real tests, host_os isn't really good enough
11829
 
  case $host_os in
11830
 
   darwin*)
11831
 
       if test -n "$STRIP" ; then
11832
 
         striplib="$STRIP -x"
11833
 
         echo "$as_me:$LINENO: result: yes" >&5
11834
 
echo "${ECHO_T}yes" >&6
11835
 
       else
11836
 
  echo "$as_me:$LINENO: result: no" >&5
11837
 
echo "${ECHO_T}no" >&6
11838
 
fi
11839
 
       ;;
11840
 
   *)
11841
 
  echo "$as_me:$LINENO: result: no" >&5
11842
 
echo "${ECHO_T}no" >&6
11843
 
    ;;
11844
 
  esac
11845
 
fi
11846
 
 
11847
 
if test "x$enable_dlopen" != xyes; then
11848
 
  enable_dlopen=unknown
11849
 
  enable_dlopen_self=unknown
11850
 
  enable_dlopen_self_static=unknown
11851
 
else
11852
 
  lt_cv_dlopen=no
11853
 
  lt_cv_dlopen_libs=
11854
 
 
11855
 
  case $host_os in
11856
 
  beos*)
11857
 
    lt_cv_dlopen="load_add_on"
11858
 
    lt_cv_dlopen_libs=
11859
 
    lt_cv_dlopen_self=yes
11860
 
    ;;
11861
 
 
11862
 
  mingw* | pw32*)
11863
 
    lt_cv_dlopen="LoadLibrary"
11864
 
    lt_cv_dlopen_libs=
11865
 
   ;;
11866
 
 
11867
 
  cygwin*)
11868
 
    lt_cv_dlopen="dlopen"
11869
 
    lt_cv_dlopen_libs=
11870
 
   ;;
11871
 
 
11872
 
  darwin*)
11873
 
  # if libdl is installed we need to link against it
11874
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11875
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11876
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11877
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11878
 
else
11879
 
  ac_check_lib_save_LIBS=$LIBS
11880
 
LIBS="-ldl  $LIBS"
11881
 
cat >conftest.$ac_ext <<_ACEOF
11882
 
/* confdefs.h.  */
11883
 
_ACEOF
11884
 
cat confdefs.h >>conftest.$ac_ext
11885
 
cat >>conftest.$ac_ext <<_ACEOF
11886
 
/* end confdefs.h.  */
11887
 
 
11888
 
/* Override any gcc2 internal prototype to avoid an error.  */
11889
 
#ifdef __cplusplus
11890
 
extern "C"
11891
 
#endif
11892
 
/* We use char because int might match the return type of a gcc2
11893
 
   builtin and then its argument prototype would still apply.  */
11894
 
char dlopen ();
11895
 
int
11896
 
main ()
11897
 
{
11898
 
dlopen ();
11899
 
  ;
11900
 
  return 0;
11901
 
}
11902
 
_ACEOF
11903
 
rm -f conftest.$ac_objext conftest$ac_exeext
11904
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11905
 
  (eval $ac_link) 2>conftest.er1
11906
 
  ac_status=$?
11907
 
  grep -v '^ *+' conftest.er1 >conftest.err
11908
 
  rm -f conftest.er1
11909
 
  cat conftest.err >&5
11910
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911
 
  (exit $ac_status); } &&
11912
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
11913
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914
 
  (eval $ac_try) 2>&5
11915
 
  ac_status=$?
11916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917
 
  (exit $ac_status); }; } &&
11918
 
         { ac_try='test -s conftest$ac_exeext'
11919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920
 
  (eval $ac_try) 2>&5
11921
 
  ac_status=$?
11922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923
 
  (exit $ac_status); }; }; then
11924
 
  ac_cv_lib_dl_dlopen=yes
11925
 
else
11926
 
  echo "$as_me: failed program was:" >&5
11927
 
sed 's/^/| /' conftest.$ac_ext >&5
11928
 
 
11929
 
ac_cv_lib_dl_dlopen=no
11930
 
fi
11931
 
rm -f conftest.err conftest.$ac_objext \
11932
 
      conftest$ac_exeext conftest.$ac_ext
11933
 
LIBS=$ac_check_lib_save_LIBS
11934
 
fi
11935
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11936
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11937
 
if test $ac_cv_lib_dl_dlopen = yes; then
11938
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11939
 
else
11940
 
 
11941
 
    lt_cv_dlopen="dyld"
11942
 
    lt_cv_dlopen_libs=
11943
 
    lt_cv_dlopen_self=yes
11944
 
 
11945
 
fi
11946
 
 
11947
 
   ;;
11948
 
 
11949
 
  *)
11950
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
11951
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11952
 
if test "${ac_cv_func_shl_load+set}" = set; then
11953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11954
 
else
11955
 
  cat >conftest.$ac_ext <<_ACEOF
11956
 
/* confdefs.h.  */
11957
 
_ACEOF
11958
 
cat confdefs.h >>conftest.$ac_ext
11959
 
cat >>conftest.$ac_ext <<_ACEOF
11960
 
/* end confdefs.h.  */
11961
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11962
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11963
 
#define shl_load innocuous_shl_load
11964
 
 
11965
 
/* System header to define __stub macros and hopefully few prototypes,
11966
 
    which can conflict with char shl_load (); below.
11967
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11968
 
    <limits.h> exists even on freestanding compilers.  */
11969
 
 
11970
 
#ifdef __STDC__
11971
 
# include <limits.h>
11972
 
#else
11973
 
# include <assert.h>
11974
 
#endif
11975
 
 
11976
 
#undef shl_load
11977
 
 
11978
 
/* Override any gcc2 internal prototype to avoid an error.  */
11979
 
#ifdef __cplusplus
11980
 
extern "C"
11981
 
{
11982
 
#endif
11983
 
/* We use char because int might match the return type of a gcc2
11984
 
   builtin and then its argument prototype would still apply.  */
11985
 
char shl_load ();
11986
 
/* The GNU C library defines this for functions which it implements
11987
 
    to always fail with ENOSYS.  Some functions are actually named
11988
 
    something starting with __ and the normal name is an alias.  */
11989
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
11990
 
choke me
11991
 
#else
11992
 
char (*f) () = shl_load;
11993
 
#endif
11994
 
#ifdef __cplusplus
11995
 
}
11996
 
#endif
11997
 
 
11998
 
int
11999
 
main ()
12000
 
{
12001
 
return f != shl_load;
12002
 
  ;
12003
 
  return 0;
12004
 
}
12005
 
_ACEOF
12006
 
rm -f conftest.$ac_objext conftest$ac_exeext
12007
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12008
 
  (eval $ac_link) 2>conftest.er1
12009
 
  ac_status=$?
12010
 
  grep -v '^ *+' conftest.er1 >conftest.err
12011
 
  rm -f conftest.er1
12012
 
  cat conftest.err >&5
12013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014
 
  (exit $ac_status); } &&
12015
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12017
 
  (eval $ac_try) 2>&5
12018
 
  ac_status=$?
12019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020
 
  (exit $ac_status); }; } &&
12021
 
         { ac_try='test -s conftest$ac_exeext'
12022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12023
 
  (eval $ac_try) 2>&5
12024
 
  ac_status=$?
12025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026
 
  (exit $ac_status); }; }; then
12027
 
  ac_cv_func_shl_load=yes
12028
 
else
12029
 
  echo "$as_me: failed program was:" >&5
12030
 
sed 's/^/| /' conftest.$ac_ext >&5
12031
 
 
12032
 
ac_cv_func_shl_load=no
12033
 
fi
12034
 
rm -f conftest.err conftest.$ac_objext \
12035
 
      conftest$ac_exeext conftest.$ac_ext
12036
 
fi
12037
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12038
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12039
 
if test $ac_cv_func_shl_load = yes; then
12040
 
  lt_cv_dlopen="shl_load"
12041
 
else
12042
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12043
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12044
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12046
 
else
12047
 
  ac_check_lib_save_LIBS=$LIBS
12048
 
LIBS="-ldld  $LIBS"
12049
 
cat >conftest.$ac_ext <<_ACEOF
12050
 
/* confdefs.h.  */
12051
 
_ACEOF
12052
 
cat confdefs.h >>conftest.$ac_ext
12053
 
cat >>conftest.$ac_ext <<_ACEOF
12054
 
/* end confdefs.h.  */
12055
 
 
12056
 
/* Override any gcc2 internal prototype to avoid an error.  */
12057
 
#ifdef __cplusplus
12058
 
extern "C"
12059
 
#endif
12060
 
/* We use char because int might match the return type of a gcc2
12061
 
   builtin and then its argument prototype would still apply.  */
12062
 
char shl_load ();
12063
 
int
12064
 
main ()
12065
 
{
12066
 
shl_load ();
12067
 
  ;
12068
 
  return 0;
12069
 
}
12070
 
_ACEOF
12071
 
rm -f conftest.$ac_objext conftest$ac_exeext
12072
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12073
 
  (eval $ac_link) 2>conftest.er1
12074
 
  ac_status=$?
12075
 
  grep -v '^ *+' conftest.er1 >conftest.err
12076
 
  rm -f conftest.er1
12077
 
  cat conftest.err >&5
12078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079
 
  (exit $ac_status); } &&
12080
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12081
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082
 
  (eval $ac_try) 2>&5
12083
 
  ac_status=$?
12084
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085
 
  (exit $ac_status); }; } &&
12086
 
         { ac_try='test -s conftest$ac_exeext'
12087
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088
 
  (eval $ac_try) 2>&5
12089
 
  ac_status=$?
12090
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091
 
  (exit $ac_status); }; }; then
12092
 
  ac_cv_lib_dld_shl_load=yes
12093
 
else
12094
 
  echo "$as_me: failed program was:" >&5
12095
 
sed 's/^/| /' conftest.$ac_ext >&5
12096
 
 
12097
 
ac_cv_lib_dld_shl_load=no
12098
 
fi
12099
 
rm -f conftest.err conftest.$ac_objext \
12100
 
      conftest$ac_exeext conftest.$ac_ext
12101
 
LIBS=$ac_check_lib_save_LIBS
12102
 
fi
12103
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12104
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12105
 
if test $ac_cv_lib_dld_shl_load = yes; then
12106
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12107
 
else
12108
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12109
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12110
 
if test "${ac_cv_func_dlopen+set}" = set; then
12111
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12112
 
else
12113
 
  cat >conftest.$ac_ext <<_ACEOF
12114
 
/* confdefs.h.  */
12115
 
_ACEOF
12116
 
cat confdefs.h >>conftest.$ac_ext
12117
 
cat >>conftest.$ac_ext <<_ACEOF
12118
 
/* end confdefs.h.  */
12119
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12120
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12121
 
#define dlopen innocuous_dlopen
12122
 
 
12123
 
/* System header to define __stub macros and hopefully few prototypes,
12124
 
    which can conflict with char dlopen (); below.
12125
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12126
 
    <limits.h> exists even on freestanding compilers.  */
12127
 
 
12128
 
#ifdef __STDC__
12129
 
# include <limits.h>
12130
 
#else
12131
 
# include <assert.h>
12132
 
#endif
12133
 
 
12134
 
#undef dlopen
12135
 
 
12136
 
/* Override any gcc2 internal prototype to avoid an error.  */
12137
 
#ifdef __cplusplus
12138
 
extern "C"
12139
 
{
12140
 
#endif
12141
 
/* We use char because int might match the return type of a gcc2
12142
 
   builtin and then its argument prototype would still apply.  */
12143
 
char dlopen ();
12144
 
/* The GNU C library defines this for functions which it implements
12145
 
    to always fail with ENOSYS.  Some functions are actually named
12146
 
    something starting with __ and the normal name is an alias.  */
12147
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12148
 
choke me
12149
 
#else
12150
 
char (*f) () = dlopen;
12151
 
#endif
12152
 
#ifdef __cplusplus
12153
 
}
12154
 
#endif
12155
 
 
12156
 
int
12157
 
main ()
12158
 
{
12159
 
return f != dlopen;
12160
 
  ;
12161
 
  return 0;
12162
 
}
12163
 
_ACEOF
12164
 
rm -f conftest.$ac_objext conftest$ac_exeext
12165
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12166
 
  (eval $ac_link) 2>conftest.er1
12167
 
  ac_status=$?
12168
 
  grep -v '^ *+' conftest.er1 >conftest.err
12169
 
  rm -f conftest.er1
12170
 
  cat conftest.err >&5
12171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172
 
  (exit $ac_status); } &&
12173
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12174
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12175
 
  (eval $ac_try) 2>&5
12176
 
  ac_status=$?
12177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178
 
  (exit $ac_status); }; } &&
12179
 
         { ac_try='test -s conftest$ac_exeext'
12180
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181
 
  (eval $ac_try) 2>&5
12182
 
  ac_status=$?
12183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184
 
  (exit $ac_status); }; }; then
12185
 
  ac_cv_func_dlopen=yes
12186
 
else
12187
 
  echo "$as_me: failed program was:" >&5
12188
 
sed 's/^/| /' conftest.$ac_ext >&5
12189
 
 
12190
 
ac_cv_func_dlopen=no
12191
 
fi
12192
 
rm -f conftest.err conftest.$ac_objext \
12193
 
      conftest$ac_exeext conftest.$ac_ext
12194
 
fi
12195
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12196
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12197
 
if test $ac_cv_func_dlopen = yes; then
12198
 
  lt_cv_dlopen="dlopen"
12199
 
else
12200
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12201
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12202
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12203
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12204
 
else
12205
 
  ac_check_lib_save_LIBS=$LIBS
12206
 
LIBS="-ldl  $LIBS"
12207
 
cat >conftest.$ac_ext <<_ACEOF
12208
 
/* confdefs.h.  */
12209
 
_ACEOF
12210
 
cat confdefs.h >>conftest.$ac_ext
12211
 
cat >>conftest.$ac_ext <<_ACEOF
12212
 
/* end confdefs.h.  */
12213
 
 
12214
 
/* Override any gcc2 internal prototype to avoid an error.  */
12215
 
#ifdef __cplusplus
12216
 
extern "C"
12217
 
#endif
12218
 
/* We use char because int might match the return type of a gcc2
12219
 
   builtin and then its argument prototype would still apply.  */
12220
 
char dlopen ();
12221
 
int
12222
 
main ()
12223
 
{
12224
 
dlopen ();
12225
 
  ;
12226
 
  return 0;
12227
 
}
12228
 
_ACEOF
12229
 
rm -f conftest.$ac_objext conftest$ac_exeext
12230
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12231
 
  (eval $ac_link) 2>conftest.er1
12232
 
  ac_status=$?
12233
 
  grep -v '^ *+' conftest.er1 >conftest.err
12234
 
  rm -f conftest.er1
12235
 
  cat conftest.err >&5
12236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237
 
  (exit $ac_status); } &&
12238
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240
 
  (eval $ac_try) 2>&5
12241
 
  ac_status=$?
12242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243
 
  (exit $ac_status); }; } &&
12244
 
         { ac_try='test -s conftest$ac_exeext'
12245
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246
 
  (eval $ac_try) 2>&5
12247
 
  ac_status=$?
12248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249
 
  (exit $ac_status); }; }; then
12250
 
  ac_cv_lib_dl_dlopen=yes
12251
 
else
12252
 
  echo "$as_me: failed program was:" >&5
12253
 
sed 's/^/| /' conftest.$ac_ext >&5
12254
 
 
12255
 
ac_cv_lib_dl_dlopen=no
12256
 
fi
12257
 
rm -f conftest.err conftest.$ac_objext \
12258
 
      conftest$ac_exeext conftest.$ac_ext
12259
 
LIBS=$ac_check_lib_save_LIBS
12260
 
fi
12261
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12262
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12263
 
if test $ac_cv_lib_dl_dlopen = yes; then
12264
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12265
 
else
12266
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12267
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12268
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12269
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12270
 
else
12271
 
  ac_check_lib_save_LIBS=$LIBS
12272
 
LIBS="-lsvld  $LIBS"
12273
 
cat >conftest.$ac_ext <<_ACEOF
12274
 
/* confdefs.h.  */
12275
 
_ACEOF
12276
 
cat confdefs.h >>conftest.$ac_ext
12277
 
cat >>conftest.$ac_ext <<_ACEOF
12278
 
/* end confdefs.h.  */
12279
 
 
12280
 
/* Override any gcc2 internal prototype to avoid an error.  */
12281
 
#ifdef __cplusplus
12282
 
extern "C"
12283
 
#endif
12284
 
/* We use char because int might match the return type of a gcc2
12285
 
   builtin and then its argument prototype would still apply.  */
12286
 
char dlopen ();
12287
 
int
12288
 
main ()
12289
 
{
12290
 
dlopen ();
12291
 
  ;
12292
 
  return 0;
12293
 
}
12294
 
_ACEOF
12295
 
rm -f conftest.$ac_objext conftest$ac_exeext
12296
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12297
 
  (eval $ac_link) 2>conftest.er1
12298
 
  ac_status=$?
12299
 
  grep -v '^ *+' conftest.er1 >conftest.err
12300
 
  rm -f conftest.er1
12301
 
  cat conftest.err >&5
12302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303
 
  (exit $ac_status); } &&
12304
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12305
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12306
 
  (eval $ac_try) 2>&5
12307
 
  ac_status=$?
12308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309
 
  (exit $ac_status); }; } &&
12310
 
         { ac_try='test -s conftest$ac_exeext'
12311
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12312
 
  (eval $ac_try) 2>&5
12313
 
  ac_status=$?
12314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12315
 
  (exit $ac_status); }; }; then
12316
 
  ac_cv_lib_svld_dlopen=yes
12317
 
else
12318
 
  echo "$as_me: failed program was:" >&5
12319
 
sed 's/^/| /' conftest.$ac_ext >&5
12320
 
 
12321
 
ac_cv_lib_svld_dlopen=no
12322
 
fi
12323
 
rm -f conftest.err conftest.$ac_objext \
12324
 
      conftest$ac_exeext conftest.$ac_ext
12325
 
LIBS=$ac_check_lib_save_LIBS
12326
 
fi
12327
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12328
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12329
 
if test $ac_cv_lib_svld_dlopen = yes; then
12330
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12331
 
else
12332
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12333
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12334
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12335
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12336
 
else
12337
 
  ac_check_lib_save_LIBS=$LIBS
12338
 
LIBS="-ldld  $LIBS"
12339
 
cat >conftest.$ac_ext <<_ACEOF
12340
 
/* confdefs.h.  */
12341
 
_ACEOF
12342
 
cat confdefs.h >>conftest.$ac_ext
12343
 
cat >>conftest.$ac_ext <<_ACEOF
12344
 
/* end confdefs.h.  */
12345
 
 
12346
 
/* Override any gcc2 internal prototype to avoid an error.  */
12347
 
#ifdef __cplusplus
12348
 
extern "C"
12349
 
#endif
12350
 
/* We use char because int might match the return type of a gcc2
12351
 
   builtin and then its argument prototype would still apply.  */
12352
 
char dld_link ();
12353
 
int
12354
 
main ()
12355
 
{
12356
 
dld_link ();
12357
 
  ;
12358
 
  return 0;
12359
 
}
12360
 
_ACEOF
12361
 
rm -f conftest.$ac_objext conftest$ac_exeext
12362
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12363
 
  (eval $ac_link) 2>conftest.er1
12364
 
  ac_status=$?
12365
 
  grep -v '^ *+' conftest.er1 >conftest.err
12366
 
  rm -f conftest.er1
12367
 
  cat conftest.err >&5
12368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369
 
  (exit $ac_status); } &&
12370
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372
 
  (eval $ac_try) 2>&5
12373
 
  ac_status=$?
12374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375
 
  (exit $ac_status); }; } &&
12376
 
         { ac_try='test -s conftest$ac_exeext'
12377
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12378
 
  (eval $ac_try) 2>&5
12379
 
  ac_status=$?
12380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381
 
  (exit $ac_status); }; }; then
12382
 
  ac_cv_lib_dld_dld_link=yes
12383
 
else
12384
 
  echo "$as_me: failed program was:" >&5
12385
 
sed 's/^/| /' conftest.$ac_ext >&5
12386
 
 
12387
 
ac_cv_lib_dld_dld_link=no
12388
 
fi
12389
 
rm -f conftest.err conftest.$ac_objext \
12390
 
      conftest$ac_exeext conftest.$ac_ext
12391
 
LIBS=$ac_check_lib_save_LIBS
12392
 
fi
12393
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12394
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12395
 
if test $ac_cv_lib_dld_dld_link = yes; then
12396
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12397
 
fi
12398
 
 
12399
 
 
12400
 
fi
12401
 
 
12402
 
 
12403
 
fi
12404
 
 
12405
 
 
12406
 
fi
12407
 
 
12408
 
 
12409
 
fi
12410
 
 
12411
 
 
12412
 
fi
12413
 
 
12414
 
    ;;
12415
 
  esac
12416
 
 
12417
 
  if test "x$lt_cv_dlopen" != xno; then
12418
 
    enable_dlopen=yes
12419
 
  else
12420
 
    enable_dlopen=no
12421
 
  fi
12422
 
 
12423
 
  case $lt_cv_dlopen in
12424
 
  dlopen)
12425
 
    save_CPPFLAGS="$CPPFLAGS"
12426
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12427
 
 
12428
 
    save_LDFLAGS="$LDFLAGS"
12429
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12430
 
 
12431
 
    save_LIBS="$LIBS"
12432
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12433
 
 
12434
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12435
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12436
 
if test "${lt_cv_dlopen_self+set}" = set; then
12437
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12438
 
else
12439
 
          if test "$cross_compiling" = yes; then :
12440
 
  lt_cv_dlopen_self=cross
12441
 
else
12442
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12443
 
  lt_status=$lt_dlunknown
12444
 
  cat > conftest.$ac_ext <<EOF
12445
 
#line 12445 "configure"
12446
 
#include "confdefs.h"
12447
 
 
12448
 
#if HAVE_DLFCN_H
12449
 
#include <dlfcn.h>
12450
 
#endif
12451
 
 
12452
 
#include <stdio.h>
12453
 
 
12454
 
#ifdef RTLD_GLOBAL
12455
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12456
 
#else
12457
 
#  ifdef DL_GLOBAL
12458
 
#    define LT_DLGLOBAL         DL_GLOBAL
12459
 
#  else
12460
 
#    define LT_DLGLOBAL         0
12461
 
#  endif
12462
 
#endif
12463
 
 
12464
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12465
 
   find out it does not work in some platform. */
12466
 
#ifndef LT_DLLAZY_OR_NOW
12467
 
#  ifdef RTLD_LAZY
12468
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12469
 
#  else
12470
 
#    ifdef DL_LAZY
12471
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12472
 
#    else
12473
 
#      ifdef RTLD_NOW
12474
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12475
 
#      else
12476
 
#        ifdef DL_NOW
12477
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12478
 
#        else
12479
 
#          define LT_DLLAZY_OR_NOW      0
12480
 
#        endif
12481
 
#      endif
12482
 
#    endif
12483
 
#  endif
12484
 
#endif
12485
 
 
12486
 
#ifdef __cplusplus
12487
 
extern "C" void exit (int);
12488
 
#endif
12489
 
 
12490
 
void fnord() { int i=42;}
12491
 
int main ()
12492
 
{
12493
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12494
 
  int status = $lt_dlunknown;
12495
 
 
12496
 
  if (self)
12497
 
    {
12498
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12499
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12500
 
      /* dlclose (self); */
12501
 
    }
12502
 
 
12503
 
    exit (status);
12504
 
}
12505
 
EOF
12506
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12507
 
  (eval $ac_link) 2>&5
12508
 
  ac_status=$?
12509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12511
 
    (./conftest; exit; ) 2>/dev/null
12512
 
    lt_status=$?
12513
 
    case x$lt_status in
12514
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12515
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12516
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12517
 
    esac
12518
 
  else :
12519
 
    # compilation failed
12520
 
    lt_cv_dlopen_self=no
12521
 
  fi
12522
 
fi
12523
 
rm -fr conftest*
12524
 
 
12525
 
 
12526
 
fi
12527
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12528
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12529
 
 
12530
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12531
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12532
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12533
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12534
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12535
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12536
 
else
12537
 
          if test "$cross_compiling" = yes; then :
12538
 
  lt_cv_dlopen_self_static=cross
12539
 
else
12540
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12541
 
  lt_status=$lt_dlunknown
12542
 
  cat > conftest.$ac_ext <<EOF
12543
 
#line 12543 "configure"
12544
 
#include "confdefs.h"
12545
 
 
12546
 
#if HAVE_DLFCN_H
12547
 
#include <dlfcn.h>
12548
 
#endif
12549
 
 
12550
 
#include <stdio.h>
12551
 
 
12552
 
#ifdef RTLD_GLOBAL
12553
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12554
 
#else
12555
 
#  ifdef DL_GLOBAL
12556
 
#    define LT_DLGLOBAL         DL_GLOBAL
12557
 
#  else
12558
 
#    define LT_DLGLOBAL         0
12559
 
#  endif
12560
 
#endif
12561
 
 
12562
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12563
 
   find out it does not work in some platform. */
12564
 
#ifndef LT_DLLAZY_OR_NOW
12565
 
#  ifdef RTLD_LAZY
12566
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12567
 
#  else
12568
 
#    ifdef DL_LAZY
12569
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12570
 
#    else
12571
 
#      ifdef RTLD_NOW
12572
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12573
 
#      else
12574
 
#        ifdef DL_NOW
12575
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12576
 
#        else
12577
 
#          define LT_DLLAZY_OR_NOW      0
12578
 
#        endif
12579
 
#      endif
12580
 
#    endif
12581
 
#  endif
12582
 
#endif
12583
 
 
12584
 
#ifdef __cplusplus
12585
 
extern "C" void exit (int);
12586
 
#endif
12587
 
 
12588
 
void fnord() { int i=42;}
12589
 
int main ()
12590
 
{
12591
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12592
 
  int status = $lt_dlunknown;
12593
 
 
12594
 
  if (self)
12595
 
    {
12596
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12597
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12598
 
      /* dlclose (self); */
12599
 
    }
12600
 
 
12601
 
    exit (status);
12602
 
}
12603
 
EOF
12604
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12605
 
  (eval $ac_link) 2>&5
12606
 
  ac_status=$?
12607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12609
 
    (./conftest; exit; ) 2>/dev/null
12610
 
    lt_status=$?
12611
 
    case x$lt_status in
12612
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12613
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12614
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12615
 
    esac
12616
 
  else :
12617
 
    # compilation failed
12618
 
    lt_cv_dlopen_self_static=no
12619
 
  fi
12620
 
fi
12621
 
rm -fr conftest*
12622
 
 
12623
 
 
12624
 
fi
12625
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12626
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12627
 
    fi
12628
 
 
12629
 
    CPPFLAGS="$save_CPPFLAGS"
12630
 
    LDFLAGS="$save_LDFLAGS"
12631
 
    LIBS="$save_LIBS"
12632
 
    ;;
12633
 
  esac
12634
 
 
12635
 
  case $lt_cv_dlopen_self in
12636
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12637
 
  *) enable_dlopen_self=unknown ;;
12638
 
  esac
12639
 
 
12640
 
  case $lt_cv_dlopen_self_static in
12641
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12642
 
  *) enable_dlopen_self_static=unknown ;;
12643
 
  esac
12644
 
fi
12645
 
 
12646
12488
 
12647
12489
# The else clause should only fire when bootstrapping the
12648
12490
# libtool distribution, otherwise you forgot to ship ltmain.sh
12657
12499
  # Now quote all the things that may contain metacharacters while being
12658
12500
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12659
12501
  # variables and quote the copies for generation of the libtool script.
12660
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
12502
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12661
12503
    SED SHELL STRIP \
12662
12504
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12663
12505
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12758
12600
# The host system.
12759
12601
host_alias=$host_alias
12760
12602
host=$host
 
12603
host_os=$host_os
 
12604
 
 
12605
# The build system.
 
12606
build_alias=$build_alias
 
12607
build=$build
 
12608
build_os=$build_os
12761
12609
 
12762
12610
# An echo program that does not interpret backslashes.
12763
12611
echo=$lt_echo
12769
12617
# A C compiler.
12770
12618
LTCC=$lt_LTCC
12771
12619
 
 
12620
# LTCC compiler flags.
 
12621
LTCFLAGS=$lt_LTCFLAGS
 
12622
 
12772
12623
# A language-specific compiler.
12773
12624
CC=$lt_compiler_CXX
12774
12625
 
12834
12685
# Does compiler simultaneously support -c and -o options?
12835
12686
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12836
12687
 
12837
 
# Must we lock files when doing compilation ?
 
12688
# Must we lock files when doing compilation?
12838
12689
need_locks=$lt_need_locks
12839
12690
 
12840
12691
# Do we need the lib prefix for modules?
13111
12962
# If no C compiler was specified, use CC.
13112
12963
LTCC=${LTCC-"$CC"}
13113
12964
 
 
12965
# If no C compiler flags were specified, use CFLAGS.
 
12966
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
12967
 
13114
12968
# Allow CC to be a program name with arguments.
13115
12969
compiler=$CC
13116
12970
 
13117
12971
 
 
12972
# save warnings/boilerplate of simple test code
 
12973
ac_outfile=conftest.$ac_objext
 
12974
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
12975
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
12976
_lt_compiler_boilerplate=`cat conftest.err`
 
12977
$rm conftest*
 
12978
 
 
12979
ac_outfile=conftest.$ac_objext
 
12980
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
12981
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
12982
_lt_linker_boilerplate=`cat conftest.err`
 
12983
$rm conftest*
 
12984
 
 
12985
 
13118
12986
# Allow CC to be a program name with arguments.
13119
12987
lt_save_CC="$CC"
13120
12988
CC=${F77-"f77"}
13121
12989
compiler=$CC
13122
12990
compiler_F77=$CC
13123
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
12991
for cc_temp in $compiler""; do
 
12992
  case $cc_temp in
 
12993
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
12994
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
12995
    \-*) ;;
 
12996
    *) break;;
 
12997
  esac
 
12998
done
 
12999
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
13000
 
13124
13001
 
13125
13002
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13126
13003
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13133
13010
 
13134
13011
# On AIX, shared libraries and static libraries use the same namespace, and
13135
13012
# are all built from PIC.
13136
 
case "$host_os" in
 
13013
case $host_os in
13137
13014
aix3*)
13138
13015
  test "$enable_shared" = yes && enable_static=no
13139
13016
  if test -n "$RANLIB"; then
13142
13019
  fi
13143
13020
  ;;
13144
13021
aix4* | aix5*)
13145
 
  test "$enable_shared" = yes && enable_static=no
 
13022
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
13023
    test "$enable_shared" = yes && enable_static=no
 
13024
  fi
13146
13025
  ;;
13147
13026
esac
13148
13027
echo "$as_me:$LINENO: result: $enable_shared" >&5
13155
13034
echo "$as_me:$LINENO: result: $enable_static" >&5
13156
13035
echo "${ECHO_T}$enable_static" >&6
13157
13036
 
13158
 
test "$ld_shlibs_F77" = no && can_build_shared=no
13159
 
 
13160
13037
GCC_F77="$G77"
13161
13038
LD_F77="$LD"
13162
13039
 
13203
13080
      lt_prog_compiler_pic_F77='-fno-common'
13204
13081
      ;;
13205
13082
 
 
13083
    interix3*)
 
13084
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
13085
      # Instead, we relocate shared libraries at runtime.
 
13086
      ;;
 
13087
 
13206
13088
    msdosdjgpp*)
13207
13089
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13208
13090
      # on systems that don't support them.
13219
13101
    hpux*)
13220
13102
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13221
13103
      # not for PA HP-UX.
13222
 
      case "$host_cpu" in
 
13104
      case $host_cpu in
13223
13105
      hppa*64*|ia64*)
13224
13106
        # +Z the default
13225
13107
        ;;
13245
13127
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13246
13128
      fi
13247
13129
      ;;
 
13130
      darwin*)
 
13131
        # PIC is the default on this platform
 
13132
        # Common symbols not allowed in MH_DYLIB files
 
13133
       case $cc_basename in
 
13134
         xlc*)
 
13135
         lt_prog_compiler_pic_F77='-qnocommon'
 
13136
         lt_prog_compiler_wl_F77='-Wl,'
 
13137
         ;;
 
13138
       esac
 
13139
       ;;
13248
13140
 
13249
13141
    mingw* | pw32* | os2*)
13250
13142
      # This hack is so that the source file can tell whether it is being
13256
13148
      lt_prog_compiler_wl_F77='-Wl,'
13257
13149
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13258
13150
      # not for PA HP-UX.
13259
 
      case "$host_cpu" in
 
13151
      case $host_cpu in
13260
13152
      hppa*64*|ia64*)
13261
13153
        # +Z the default
13262
13154
        ;;
13280
13172
      ;;
13281
13173
 
13282
13174
    linux*)
13283
 
      case $CC in
 
13175
      case $cc_basename in
13284
13176
      icc* | ecc*)
13285
13177
        lt_prog_compiler_wl_F77='-Wl,'
13286
13178
        lt_prog_compiler_pic_F77='-KPIC'
13287
13179
        lt_prog_compiler_static_F77='-static'
13288
13180
        ;;
 
13181
      pgcc* | pgf77* | pgf90* | pgf95*)
 
13182
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
13183
        # which looks to be a dead project)
 
13184
        lt_prog_compiler_wl_F77='-Wl,'
 
13185
        lt_prog_compiler_pic_F77='-fpic'
 
13186
        lt_prog_compiler_static_F77='-Bstatic'
 
13187
        ;;
13289
13188
      ccc*)
13290
13189
        lt_prog_compiler_wl_F77='-Wl,'
13291
13190
        # All Alpha code is PIC.
13300
13199
      lt_prog_compiler_static_F77='-non_shared'
13301
13200
      ;;
13302
13201
 
13303
 
    sco3.2v5*)
13304
 
      lt_prog_compiler_pic_F77='-Kpic'
13305
 
      lt_prog_compiler_static_F77='-dn'
13306
 
      ;;
13307
 
 
13308
13202
    solaris*)
13309
 
      lt_prog_compiler_wl_F77='-Wl,'
13310
13203
      lt_prog_compiler_pic_F77='-KPIC'
13311
13204
      lt_prog_compiler_static_F77='-Bstatic'
 
13205
      case $cc_basename in
 
13206
      f77* | f90* | f95*)
 
13207
        lt_prog_compiler_wl_F77='-Qoption ld ';;
 
13208
      *)
 
13209
        lt_prog_compiler_wl_F77='-Wl,';;
 
13210
      esac
13312
13211
      ;;
13313
13212
 
13314
13213
    sunos4*)
13317
13216
      lt_prog_compiler_static_F77='-Bstatic'
13318
13217
      ;;
13319
13218
 
13320
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13219
    sysv4 | sysv4.2uw2* | sysv4.3*)
13321
13220
      lt_prog_compiler_wl_F77='-Wl,'
13322
13221
      lt_prog_compiler_pic_F77='-KPIC'
13323
13222
      lt_prog_compiler_static_F77='-Bstatic'
13330
13229
      fi
13331
13230
      ;;
13332
13231
 
 
13232
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13233
      lt_prog_compiler_wl_F77='-Wl,'
 
13234
      lt_prog_compiler_pic_F77='-KPIC'
 
13235
      lt_prog_compiler_static_F77='-Bstatic'
 
13236
      ;;
 
13237
 
 
13238
    unicos*)
 
13239
      lt_prog_compiler_wl_F77='-Wl,'
 
13240
      lt_prog_compiler_can_build_shared_F77=no
 
13241
      ;;
 
13242
 
13333
13243
    uts4*)
13334
13244
      lt_prog_compiler_pic_F77='-pic'
13335
13245
      lt_prog_compiler_static_F77='-Bstatic'
13364
13274
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13365
13275
   # The option is referenced via a variable to avoid confusing sed.
13366
13276
   lt_compile=`echo "$ac_compile" | $SED \
13367
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
13277
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13368
13278
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13369
13279
   -e 's:$: $lt_compiler_flag:'`
13370
 
   (eval echo "\"\$as_me:13370: $lt_compile\"" >&5)
 
13280
   (eval echo "\"\$as_me:13280: $lt_compile\"" >&5)
13371
13281
   (eval "$lt_compile" 2>conftest.err)
13372
13282
   ac_status=$?
13373
13283
   cat conftest.err >&5
13374
 
   echo "$as_me:13374: \$? = $ac_status" >&5
 
13284
   echo "$as_me:13284: \$? = $ac_status" >&5
13375
13285
   if (exit $ac_status) && test -s "$ac_outfile"; then
13376
13286
     # The compiler can only warn and ignore the option if not recognized
13377
 
     # So say no if there are warnings
13378
 
     if test ! -s conftest.err; then
 
13287
     # So say no if there are warnings other than the usual output.
 
13288
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13289
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13290
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13379
13291
       lt_prog_compiler_pic_works_F77=yes
13380
13292
     fi
13381
13293
   fi
13396
13308
fi
13397
13309
 
13398
13310
fi
13399
 
case "$host_os" in
 
13311
case $host_os in
13400
13312
  # For platforms which do not support PIC, -DPIC is meaningless:
13401
13313
  *djgpp*)
13402
13314
    lt_prog_compiler_pic_F77=
13406
13318
    ;;
13407
13319
esac
13408
13320
 
 
13321
#
 
13322
# Check to make sure the static flag actually works.
 
13323
#
 
13324
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
13325
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13326
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
13327
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
13328
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13329
else
 
13330
  lt_prog_compiler_static_works_F77=no
 
13331
   save_LDFLAGS="$LDFLAGS"
 
13332
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
13333
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13334
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
13335
     # The linker can only warn and ignore the option if not recognized
 
13336
     # So say no if there are warnings
 
13337
     if test -s conftest.err; then
 
13338
       # Append any errors to the config.log.
 
13339
       cat conftest.err 1>&5
 
13340
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13341
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13342
       if diff conftest.exp conftest.er2 >/dev/null; then
 
13343
         lt_prog_compiler_static_works_F77=yes
 
13344
       fi
 
13345
     else
 
13346
       lt_prog_compiler_static_works_F77=yes
 
13347
     fi
 
13348
   fi
 
13349
   $rm conftest*
 
13350
   LDFLAGS="$save_LDFLAGS"
 
13351
 
 
13352
fi
 
13353
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
13354
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
13355
 
 
13356
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
13357
    :
 
13358
else
 
13359
    lt_prog_compiler_static_F77=
 
13360
fi
 
13361
 
 
13362
 
13409
13363
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13410
13364
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13411
13365
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13424
13378
   # Note that $ac_compile itself does not contain backslashes and begins
13425
13379
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13426
13380
   lt_compile=`echo "$ac_compile" | $SED \
13427
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
13381
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13428
13382
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13429
13383
   -e 's:$: $lt_compiler_flag:'`
13430
 
   (eval echo "\"\$as_me:13430: $lt_compile\"" >&5)
 
13384
   (eval echo "\"\$as_me:13384: $lt_compile\"" >&5)
13431
13385
   (eval "$lt_compile" 2>out/conftest.err)
13432
13386
   ac_status=$?
13433
13387
   cat out/conftest.err >&5
13434
 
   echo "$as_me:13434: \$? = $ac_status" >&5
 
13388
   echo "$as_me:13388: \$? = $ac_status" >&5
13435
13389
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13436
13390
   then
13437
13391
     # The compiler can only warn and ignore the option if not recognized
13438
13392
     # So say no if there are warnings
13439
 
     if test ! -s out/conftest.err; then
 
13393
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13394
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13395
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13440
13396
       lt_cv_prog_compiler_c_o_F77=yes
13441
13397
     fi
13442
13398
   fi
13443
 
   chmod u+w .
 
13399
   chmod u+w . 2>&5
13444
13400
   $rm conftest*
13445
13401
   # SGI C++ compiler will create directory out/ii_files/ for
13446
13402
   # template instantiation
13516
13472
  # rely on this symbol name, it's probably fine to never include it in
13517
13473
  # preloaded symbol tables.
13518
13474
  extract_expsyms_cmds=
 
13475
  # Just being paranoid about ensuring that cc_basename is set.
 
13476
  for cc_temp in $compiler""; do
 
13477
  case $cc_temp in
 
13478
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
13479
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
13480
    \-*) ;;
 
13481
    *) break;;
 
13482
  esac
 
13483
done
 
13484
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13519
13485
 
13520
13486
  case $host_os in
13521
13487
  cygwin* | mingw* | pw32*)
13526
13492
      with_gnu_ld=no
13527
13493
    fi
13528
13494
    ;;
 
13495
  interix*)
 
13496
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
13497
    with_gnu_ld=yes
 
13498
    ;;
13529
13499
  openbsd*)
13530
13500
    with_gnu_ld=no
13531
13501
    ;;
13536
13506
    # If archive_cmds runs LD, not CC, wlarc should be empty
13537
13507
    wlarc='${wl}'
13538
13508
 
 
13509
    # Set some defaults for GNU ld with shared library support. These
 
13510
    # are reset later if shared libraries are not supported. Putting them
 
13511
    # here allows them to be overridden if necessary.
 
13512
    runpath_var=LD_RUN_PATH
 
13513
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
13514
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
13515
    # ancient GNU ld didn't support --whole-archive et. al.
 
13516
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
13517
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13518
      else
 
13519
        whole_archive_flag_spec_F77=
 
13520
    fi
 
13521
    supports_anon_versioning=no
 
13522
    case `$LD -v 2>/dev/null` in
 
13523
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
13524
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
13525
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
13526
      *\ 2.11.*) ;; # other 2.11 versions
 
13527
      *) supports_anon_versioning=yes ;;
 
13528
    esac
 
13529
 
13539
13530
    # See if GNU ld supports shared libraries.
13540
13531
    case $host_os in
13541
13532
    aix3* | aix4* | aix5*)
13586
13577
      allow_undefined_flag_F77=unsupported
13587
13578
      always_export_symbols_F77=no
13588
13579
      enable_shared_with_static_runtimes_F77=yes
13589
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
13580
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13590
13581
 
13591
13582
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13592
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
13583
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13593
13584
        # If the export-symbols file already is a .def file (1st line
13594
13585
        # is EXPORTS), use it as is; otherwise, prepend...
13595
13586
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13598
13589
          echo EXPORTS > $output_objdir/$soname.def;
13599
13590
          cat $export_symbols >> $output_objdir/$soname.def;
13600
13591
        fi~
13601
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
13602
 
      else
13603
 
        ld_shlibs=no
 
13592
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13593
      else
 
13594
        ld_shlibs_F77=no
 
13595
      fi
 
13596
      ;;
 
13597
 
 
13598
    interix3*)
 
13599
      hardcode_direct_F77=no
 
13600
      hardcode_shlibpath_var_F77=no
 
13601
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
13602
      export_dynamic_flag_spec_F77='${wl}-E'
 
13603
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
13604
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
13605
      # default) and relocated if they conflict, which is a slow very memory
 
13606
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
13607
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
13608
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
13609
      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'
 
13610
      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'
 
13611
      ;;
 
13612
 
 
13613
    linux*)
 
13614
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
13615
        tmp_addflag=
 
13616
        case $cc_basename,$host_cpu in
 
13617
        pgcc*)                          # Portland Group C compiler
 
13618
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
13619
          tmp_addflag=' $pic_flag'
 
13620
          ;;
 
13621
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
13622
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
13623
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
13624
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
13625
          tmp_addflag=' -i_dynamic' ;;
 
13626
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
13627
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
13628
        ifc* | ifort*)                  # Intel Fortran compiler
 
13629
          tmp_addflag=' -nofor_main' ;;
 
13630
        esac
 
13631
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13632
 
 
13633
        if test $supports_anon_versioning = yes; then
 
13634
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
13635
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
13636
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
13637
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
13638
        fi
 
13639
        link_all_deplibs_F77=no
 
13640
      else
 
13641
        ld_shlibs_F77=no
13604
13642
      fi
13605
13643
      ;;
13606
13644
 
13614
13652
      fi
13615
13653
      ;;
13616
13654
 
13617
 
    solaris* | sysv5*)
 
13655
    solaris*)
13618
13656
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13619
13657
        ld_shlibs_F77=no
13620
13658
        cat <<EOF 1>&2
13635
13673
      fi
13636
13674
      ;;
13637
13675
 
 
13676
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
13677
      case `$LD -v 2>&1` in
 
13678
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
13679
        ld_shlibs_F77=no
 
13680
        cat <<_LT_EOF 1>&2
 
13681
 
 
13682
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
13683
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
13684
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
13685
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
13686
*** your PATH or compiler configuration so that the native linker is
 
13687
*** used, and then restart.
 
13688
 
 
13689
_LT_EOF
 
13690
        ;;
 
13691
        *)
 
13692
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
13693
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
13694
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
13695
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
13696
          else
 
13697
            ld_shlibs_F77=no
 
13698
          fi
 
13699
        ;;
 
13700
      esac
 
13701
      ;;
 
13702
 
13638
13703
    sunos4*)
13639
13704
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13640
13705
      wlarc=
13642
13707
      hardcode_shlibpath_var_F77=no
13643
13708
      ;;
13644
13709
 
13645
 
  linux*)
13646
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13647
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13648
 
        archive_cmds_F77="$tmp_archive_cmds"
13649
 
      supports_anon_versioning=no
13650
 
      case `$LD -v 2>/dev/null` in
13651
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13652
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13653
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13654
 
        *\ 2.11.*) ;; # other 2.11 versions
13655
 
        *) supports_anon_versioning=yes ;;
13656
 
      esac
13657
 
      if test $supports_anon_versioning = yes; then
13658
 
        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13659
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13660
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
13661
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13662
 
      else
13663
 
        archive_expsym_cmds_F77="$tmp_archive_cmds"
13664
 
      fi
13665
 
      link_all_deplibs_F77=no
13666
 
    else
13667
 
      ld_shlibs_F77=no
13668
 
    fi
13669
 
    ;;
13670
 
 
13671
13710
    *)
13672
13711
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13673
13712
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13678
13717
      ;;
13679
13718
    esac
13680
13719
 
13681
 
    if test "$ld_shlibs_F77" = yes; then
13682
 
      runpath_var=LD_RUN_PATH
13683
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13684
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13685
 
      # ancient GNU ld didn't support --whole-archive et. al.
13686
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13687
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13688
 
      else
13689
 
        whole_archive_flag_spec_F77=
13690
 
      fi
 
13720
    if test "$ld_shlibs_F77" = no; then
 
13721
      runpath_var=
 
13722
      hardcode_libdir_flag_spec_F77=
 
13723
      export_dynamic_flag_spec_F77=
 
13724
      whole_archive_flag_spec_F77=
13691
13725
    fi
13692
13726
  else
13693
13727
    # PORTME fill in a description of your system's linker (not GNU ld)
13699
13733
      # Note: this linker hardcodes the directories in LIBPATH if there
13700
13734
      # are no directories specified by -L.
13701
13735
      hardcode_minus_L_F77=yes
13702
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
13736
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13703
13737
        # Neither direct hardcoding nor static linking is supported with a
13704
13738
        # broken collect2.
13705
13739
        hardcode_direct_F77=unsupported
13733
13767
            break
13734
13768
          fi
13735
13769
          done
 
13770
          ;;
13736
13771
        esac
13737
13772
 
13738
13773
        exp_sym_flag='-bexport'
13751
13786
      link_all_deplibs_F77=yes
13752
13787
 
13753
13788
      if test "$GCC" = yes; then
13754
 
        case $host_os in aix4.012|aix4.012.*)
 
13789
        case $host_os in aix4.[012]|aix4.[012].*)
13755
13790
        # We only want to do this on AIX 4.2 and lower, the check
13756
13791
        # below for broken collect2 doesn't work under 4.3+
13757
13792
          collect2name=`${CC} -print-prog-name=collect2`
13770
13805
          hardcode_libdir_flag_spec_F77='-L$libdir'
13771
13806
          hardcode_libdir_separator_F77=
13772
13807
          fi
 
13808
          ;;
13773
13809
        esac
13774
13810
        shared_flag='-shared'
 
13811
        if test "$aix_use_runtimelinking" = yes; then
 
13812
          shared_flag="$shared_flag "'${wl}-G'
 
13813
        fi
13775
13814
      else
13776
13815
        # not using gcc
13777
13816
        if test "$host_cpu" = ia64; then
13779
13818
        # chokes on -Wl,-G. The following line is correct:
13780
13819
          shared_flag='-G'
13781
13820
        else
13782
 
        if test "$aix_use_runtimelinking" = yes; then
 
13821
          if test "$aix_use_runtimelinking" = yes; then
13783
13822
            shared_flag='${wl}-G'
13784
13823
          else
13785
13824
            shared_flag='${wl}-bM:SRE'
13786
 
        fi
 
13825
          fi
13787
13826
        fi
13788
13827
      fi
13789
13828
 
13837
13876
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13838
13877
 
13839
13878
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13840
 
        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"
 
13879
        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"
13841
13880
       else
13842
13881
        if test "$host_cpu" = ia64; then
13843
13882
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13844
13883
          allow_undefined_flag_F77="-z nodefs"
13845
 
          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"
 
13884
          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"
13846
13885
        else
13847
13886
         # Determine the default libpath from the value encoded in an empty executable.
13848
13887
         cat >conftest.$ac_ext <<_ACEOF
13891
13930
          # -berok will link without error, but may produce a broken library.
13892
13931
          no_undefined_flag_F77=' ${wl}-bernotok'
13893
13932
          allow_undefined_flag_F77=' ${wl}-berok'
13894
 
          # -bexpall does not export symbols beginning with underscore (_)
13895
 
          always_export_symbols_F77=yes
13896
13933
          # Exported symbols can be pulled into shared objects from archives
13897
 
          whole_archive_flag_spec_F77=' '
 
13934
          whole_archive_flag_spec_F77='$convenience'
13898
13935
          archive_cmds_need_lc_F77=yes
13899
 
          # This is similar to how AIX traditionally builds it's shared libraries.
13900
 
          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'
 
13936
          # This is similar to how AIX traditionally builds its shared libraries.
 
13937
          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'
13901
13938
        fi
13902
13939
      fi
13903
13940
      ;;
13910
13947
      ld_shlibs_F77=no
13911
13948
      ;;
13912
13949
 
13913
 
    bsdi4*)
 
13950
    bsdi[45]*)
13914
13951
      export_dynamic_flag_spec_F77=-rdynamic
13915
13952
      ;;
13916
13953
 
13931
13968
      old_archive_From_new_cmds_F77='true'
13932
13969
      # FIXME: Should let the user specify the lib program.
13933
13970
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13934
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
13971
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13935
13972
      enable_shared_with_static_runtimes_F77=yes
13936
13973
      ;;
13937
13974
 
13938
13975
    darwin* | rhapsody*)
13939
 
    if test "$GXX" = yes ; then
 
13976
      case $host_os in
 
13977
        rhapsody* | darwin1.[012])
 
13978
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 
13979
         ;;
 
13980
       *) # Darwin 1.3 on
 
13981
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
13982
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
13983
         else
 
13984
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
13985
             10.[012])
 
13986
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
13987
               ;;
 
13988
             10.*)
 
13989
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 
13990
               ;;
 
13991
           esac
 
13992
         fi
 
13993
         ;;
 
13994
      esac
13940
13995
      archive_cmds_need_lc_F77=no
13941
 
      case "$host_os" in
13942
 
      rhapsody* | darwin1.[012])
13943
 
        allow_undefined_flag_F77='-undefined suppress'
13944
 
        ;;
13945
 
      *) # Darwin 1.3 on
13946
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13947
 
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13948
 
      else
13949
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
13950
 
          10.[012])
13951
 
            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13952
 
            ;;
13953
 
          10.*)
13954
 
            allow_undefined_flag_F77='-undefined dynamic_lookup'
13955
 
            ;;
13956
 
        esac
13957
 
      fi
13958
 
        ;;
13959
 
      esac
13960
 
        lt_int_apple_cc_single_mod=no
13961
 
        output_verbose_link_cmd='echo'
13962
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13963
 
          lt_int_apple_cc_single_mod=yes
13964
 
        fi
13965
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13966
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13967
 
        else
13968
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13969
 
      fi
13970
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13971
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13972
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13973
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13974
 
        else
13975
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13976
 
        fi
13977
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13978
13996
      hardcode_direct_F77=no
13979
13997
      hardcode_automatic_F77=yes
13980
13998
      hardcode_shlibpath_var_F77=unsupported
13981
 
      whole_archive_flag_spec_F77='-all_load $convenience'
 
13999
      whole_archive_flag_spec_F77=''
13982
14000
      link_all_deplibs_F77=yes
 
14001
    if test "$GCC" = yes ; then
 
14002
        output_verbose_link_cmd='echo'
 
14003
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
14004
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
14005
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
14006
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
14007
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13983
14008
    else
13984
 
      ld_shlibs_F77=no
 
14009
      case $cc_basename in
 
14010
        xlc*)
 
14011
         output_verbose_link_cmd='echo'
 
14012
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
14013
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
14014
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
14015
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
14016
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
14017
          ;;
 
14018
       *)
 
14019
         ld_shlibs_F77=no
 
14020
          ;;
 
14021
      esac
13985
14022
    fi
13986
14023
      ;;
13987
14024
 
14015
14052
      ;;
14016
14053
 
14017
14054
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14018
 
    freebsd* | kfreebsd*-gnu)
14019
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14020
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14021
 
      hardcode_direct_F77=yes
14022
 
      hardcode_shlibpath_var_F77=no
 
14055
    freebsd* | dragonfly*)
 
14056
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
14057
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
14058
      hardcode_direct_F77=yes
 
14059
      hardcode_shlibpath_var_F77=no
 
14060
      ;;
 
14061
 
 
14062
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
 
14063
    kfreebsd*-gnu)
 
14064
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
14065
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
14066
      hardcode_direct_F77=yes
 
14067
      hardcode_shlibpath_var_F77=no
 
14068
      link_all_deplibs_F77=no
14023
14069
      ;;
14024
14070
 
14025
14071
    hpux9*)
14038
14084
      export_dynamic_flag_spec_F77='${wl}-E'
14039
14085
      ;;
14040
14086
 
14041
 
    hpux10* | hpux11*)
14042
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14043
 
        case "$host_cpu" in
14044
 
        hppa*64*|ia64*)
 
14087
    hpux10*)
 
14088
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
14089
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
14090
      else
 
14091
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
14092
      fi
 
14093
      if test "$with_gnu_ld" = no; then
 
14094
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
14095
        hardcode_libdir_separator_F77=:
 
14096
 
 
14097
        hardcode_direct_F77=yes
 
14098
        export_dynamic_flag_spec_F77='${wl}-E'
 
14099
 
 
14100
        # hardcode_minus_L: Not really in the search PATH,
 
14101
        # but as the default location of the library.
 
14102
        hardcode_minus_L_F77=yes
 
14103
      fi
 
14104
      ;;
 
14105
 
 
14106
    hpux11*)
 
14107
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
14108
        case $host_cpu in
 
14109
        hppa*64*)
14045
14110
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14046
14111
          ;;
 
14112
        ia64*)
 
14113
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
14114
          ;;
14047
14115
        *)
14048
14116
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14049
14117
          ;;
14050
14118
        esac
14051
14119
      else
14052
 
        case "$host_cpu" in
14053
 
        hppa*64*|ia64*)
14054
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
14120
        case $host_cpu in
 
14121
        hppa*64*)
 
14122
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14123
          ;;
 
14124
        ia64*)
 
14125
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14055
14126
          ;;
14056
14127
        *)
14057
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
14128
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14058
14129
          ;;
14059
14130
        esac
14060
14131
      fi
14061
14132
      if test "$with_gnu_ld" = no; then
14062
 
        case "$host_cpu" in
14063
 
        hppa*64*)
14064
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
14133
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
14134
        hardcode_libdir_separator_F77=:
 
14135
 
 
14136
        case $host_cpu in
 
14137
        hppa*64*|ia64*)
14065
14138
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14066
 
          hardcode_libdir_separator_F77=:
14067
 
          hardcode_direct_F77=no
14068
 
          hardcode_shlibpath_var_F77=no
14069
 
          ;;
14070
 
        ia64*)
14071
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14072
 
          hardcode_direct_F77=no
14073
 
          hardcode_shlibpath_var_F77=no
14074
 
 
14075
 
          # hardcode_minus_L: Not really in the search PATH,
14076
 
          # but as the default location of the library.
14077
 
          hardcode_minus_L_F77=yes
 
14139
          hardcode_direct_F77=no
 
14140
          hardcode_shlibpath_var_F77=no
14078
14141
          ;;
14079
14142
        *)
14080
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14081
 
          hardcode_libdir_separator_F77=:
14082
14143
          hardcode_direct_F77=yes
14083
14144
          export_dynamic_flag_spec_F77='${wl}-E'
14084
14145
 
14126
14187
      hardcode_shlibpath_var_F77=no
14127
14188
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14128
14189
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
14190
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14129
14191
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14130
14192
        export_dynamic_flag_spec_F77='${wl}-E'
14131
14193
      else
14171
14233
        allow_undefined_flag_F77=' -expect_unresolved \*'
14172
14234
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14173
14235
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14174
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
14236
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14175
14237
 
14176
14238
        # Both c and cxx compiler support -rpath directly
14177
14239
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
14179
14241
      hardcode_libdir_separator_F77=:
14180
14242
      ;;
14181
14243
 
14182
 
    sco3.2v5*)
14183
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14184
 
      hardcode_shlibpath_var_F77=no
14185
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
14186
 
      runpath_var=LD_RUN_PATH
14187
 
      hardcode_runpath_var=yes
14188
 
      ;;
14189
 
 
14190
14244
    solaris*)
14191
14245
      no_undefined_flag_F77=' -z text'
14192
14246
      if test "$GCC" = yes; then
 
14247
        wlarc='${wl}'
14193
14248
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14194
14249
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14195
14250
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14196
14251
      else
 
14252
        wlarc=''
14197
14253
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14198
14254
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14199
14255
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14202
14258
      hardcode_shlibpath_var_F77=no
14203
14259
      case $host_os in
14204
14260
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14205
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14206
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
14261
      *)
 
14262
        # The compiler driver will combine linker options so we
 
14263
        # cannot just pass the convience library names through
 
14264
        # without $wl, iff we do not link with $LD.
 
14265
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
14266
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
14267
        case $wlarc in
 
14268
        '')
 
14269
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
14270
        *)
 
14271
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
14272
        esac ;;
14207
14273
      esac
14208
14274
      link_all_deplibs_F77=yes
14209
14275
      ;;
14260
14326
      fi
14261
14327
      ;;
14262
14328
 
14263
 
    sysv4.2uw2*)
14264
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14265
 
      hardcode_direct_F77=yes
14266
 
      hardcode_minus_L_F77=no
14267
 
      hardcode_shlibpath_var_F77=no
14268
 
      hardcode_runpath_var=yes
14269
 
      runpath_var=LD_RUN_PATH
14270
 
      ;;
14271
 
 
14272
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
14273
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
14274
 
      if test "$GCC" = yes; then
14275
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14276
 
      else
14277
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14278
 
      fi
14279
 
      runpath_var='LD_RUN_PATH'
14280
 
      hardcode_shlibpath_var_F77=no
14281
 
      ;;
14282
 
 
14283
 
    sysv5*)
14284
 
      no_undefined_flag_F77=' -z text'
14285
 
      # $CC -shared without GNU ld will not create a library from C++
14286
 
      # object files and a static libstdc++, better avoid it by now
14287
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14288
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14289
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14290
 
      hardcode_libdir_flag_spec_F77=
14291
 
      hardcode_shlibpath_var_F77=no
14292
 
      runpath_var='LD_RUN_PATH'
 
14329
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
14330
      no_undefined_flag_F77='${wl}-z,text'
 
14331
      archive_cmds_need_lc_F77=no
 
14332
      hardcode_shlibpath_var_F77=no
 
14333
      runpath_var='LD_RUN_PATH'
 
14334
 
 
14335
      if test "$GCC" = yes; then
 
14336
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14337
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14338
      else
 
14339
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14340
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14341
      fi
 
14342
      ;;
 
14343
 
 
14344
    sysv5* | sco3.2v5* | sco5v6*)
 
14345
      # Note: We can NOT use -z defs as we might desire, because we do not
 
14346
      # link with -lc, and that would cause any symbols used from libc to
 
14347
      # always be unresolved, which means just about no library would
 
14348
      # ever link correctly.  If we're not using GNU ld we use -z text
 
14349
      # though, which does catch some bad symbols but isn't as heavy-handed
 
14350
      # as -z defs.
 
14351
      no_undefined_flag_F77='${wl}-z,text'
 
14352
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
14353
      archive_cmds_need_lc_F77=no
 
14354
      hardcode_shlibpath_var_F77=no
 
14355
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
14356
      hardcode_libdir_separator_F77=':'
 
14357
      link_all_deplibs_F77=yes
 
14358
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
14359
      runpath_var='LD_RUN_PATH'
 
14360
 
 
14361
      if test "$GCC" = yes; then
 
14362
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14363
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14364
      else
 
14365
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14366
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14367
      fi
14293
14368
      ;;
14294
14369
 
14295
14370
    uts4*)
14308
14383
echo "${ECHO_T}$ld_shlibs_F77" >&6
14309
14384
test "$ld_shlibs_F77" = no && can_build_shared=no
14310
14385
 
14311
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14312
 
if test "$GCC" = yes; then
14313
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14314
 
fi
14315
 
 
14316
14386
#
14317
14387
# Do we need to explicitly link libc?
14318
14388
#
14345
14415
        libobjs=conftest.$ac_objext
14346
14416
        deplibs=
14347
14417
        wl=$lt_prog_compiler_wl_F77
 
14418
        pic_flag=$lt_prog_compiler_pic_F77
14348
14419
        compiler_flags=-v
14349
14420
        linker_flags=-v
14350
14421
        verstring=
14477
14548
  shlibpath_var=LIBRARY_PATH
14478
14549
  ;;
14479
14550
 
14480
 
bsdi4*)
 
14551
bsdi[45]*)
14481
14552
  version_type=linux
14482
14553
  need_version=no
14483
14554
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14505
14576
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14506
14577
      dldir=$destdir/`dirname \$dlpath`~
14507
14578
      test -d \$dldir || mkdir -p \$dldir~
14508
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
14579
      $install_prog $dir/$dlname \$dldir/$dlname~
 
14580
      chmod a+x \$dldir/$dlname'
14509
14581
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14510
14582
      dlpath=$dir/\$dldll~
14511
14583
       $rm \$dlpath'
14535
14607
      ;;
14536
14608
    pw32*)
14537
14609
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14538
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
14610
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14539
14611
      ;;
14540
14612
    esac
14541
14613
    ;;
14558
14630
  soname_spec='${libname}${release}${major}$shared_ext'
14559
14631
  shlibpath_overrides_runpath=yes
14560
14632
  shlibpath_var=DYLD_LIBRARY_PATH
14561
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
14633
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14562
14634
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14563
14635
  if test "$GCC" = yes; then
14564
14636
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14593
14665
  dynamic_linker='GNU ld.so'
14594
14666
  ;;
14595
14667
 
14596
 
freebsd*)
14597
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
14668
freebsd* | dragonfly*)
 
14669
  # DragonFly does not have aout.  When/if they implement a new
 
14670
  # versioning mechanism, adjust this.
 
14671
  if test -x /usr/bin/objformat; then
 
14672
    objformat=`/usr/bin/objformat`
 
14673
  else
 
14674
    case $host_os in
 
14675
    freebsd[123]*) objformat=aout ;;
 
14676
    *) objformat=elf ;;
 
14677
    esac
 
14678
  fi
14598
14679
  version_type=freebsd-$objformat
14599
14680
  case $version_type in
14600
14681
    freebsd-elf*)
14612
14693
  freebsd2*)
14613
14694
    shlibpath_overrides_runpath=yes
14614
14695
    ;;
14615
 
  freebsd3.01* | freebsdelf3.01*)
 
14696
  freebsd3.[01]* | freebsdelf3.[01]*)
14616
14697
    shlibpath_overrides_runpath=yes
14617
14698
    hardcode_into_libs=yes
14618
14699
    ;;
14619
 
  *) # from 3.2 on
 
14700
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
14701
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14620
14702
    shlibpath_overrides_runpath=no
14621
14703
    hardcode_into_libs=yes
14622
14704
    ;;
 
14705
  freebsd*) # from 4.6 on
 
14706
    shlibpath_overrides_runpath=yes
 
14707
    hardcode_into_libs=yes
 
14708
    ;;
14623
14709
  esac
14624
14710
  ;;
14625
14711
 
14639
14725
  version_type=sunos
14640
14726
  need_lib_prefix=no
14641
14727
  need_version=no
14642
 
  case "$host_cpu" in
 
14728
  case $host_cpu in
14643
14729
  ia64*)
14644
14730
    shrext_cmds='.so'
14645
14731
    hardcode_into_libs=yes
14679
14765
  postinstall_cmds='chmod 555 $lib'
14680
14766
  ;;
14681
14767
 
 
14768
interix3*)
 
14769
  version_type=linux
 
14770
  need_lib_prefix=no
 
14771
  need_version=no
 
14772
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14773
  soname_spec='${libname}${release}${shared_ext}$major'
 
14774
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
14775
  shlibpath_var=LD_LIBRARY_PATH
 
14776
  shlibpath_overrides_runpath=no
 
14777
  hardcode_into_libs=yes
 
14778
  ;;
 
14779
 
14682
14780
irix5* | irix6* | nonstopux*)
14683
14781
  case $host_os in
14684
14782
    nonstopux*) version_type=nonstopux ;;
14738
14836
 
14739
14837
  # Append ld.so.conf contents to the search path
14740
14838
  if test -f /etc/ld.so.conf; then
14741
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
14839
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14742
14840
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14743
14841
  fi
14744
14842
 
14812
14910
 
14813
14911
openbsd*)
14814
14912
  version_type=sunos
 
14913
  sys_lib_dlsearch_path_spec="/usr/lib"
14815
14914
  need_lib_prefix=no
14816
 
  need_version=yes
 
14915
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
14916
  case $host_os in
 
14917
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
14918
    *)                         need_version=no  ;;
 
14919
  esac
14817
14920
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14818
14921
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14819
14922
  shlibpath_var=LD_LIBRARY_PATH
14851
14954
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14852
14955
  ;;
14853
14956
 
14854
 
sco3.2v5*)
14855
 
  version_type=osf
14856
 
  soname_spec='${libname}${release}${shared_ext}$major'
14857
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14858
 
  shlibpath_var=LD_LIBRARY_PATH
14859
 
  ;;
14860
 
 
14861
14957
solaris*)
14862
14958
  version_type=linux
14863
14959
  need_lib_prefix=no
14883
14979
  need_version=yes
14884
14980
  ;;
14885
14981
 
14886
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
14982
sysv4 | sysv4.3*)
14887
14983
  version_type=linux
14888
14984
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14889
14985
  soname_spec='${libname}${release}${shared_ext}$major'
14916
15012
  fi
14917
15013
  ;;
14918
15014
 
 
15015
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
15016
  version_type=freebsd-elf
 
15017
  need_lib_prefix=no
 
15018
  need_version=no
 
15019
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15020
  soname_spec='${libname}${release}${shared_ext}$major'
 
15021
  shlibpath_var=LD_LIBRARY_PATH
 
15022
  hardcode_into_libs=yes
 
15023
  if test "$with_gnu_ld" = yes; then
 
15024
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
15025
    shlibpath_overrides_runpath=no
 
15026
  else
 
15027
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
15028
    shlibpath_overrides_runpath=yes
 
15029
    case $host_os in
 
15030
      sco3.2v5*)
 
15031
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
15032
        ;;
 
15033
    esac
 
15034
  fi
 
15035
  sys_lib_dlsearch_path_spec='/usr/lib'
 
15036
  ;;
 
15037
 
14919
15038
uts4*)
14920
15039
  version_type=linux
14921
15040
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14931
15050
echo "${ECHO_T}$dynamic_linker" >&6
14932
15051
test "$dynamic_linker" = no && can_build_shared=no
14933
15052
 
 
15053
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
15054
if test "$GCC" = yes; then
 
15055
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
15056
fi
 
15057
 
14934
15058
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14935
15059
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14936
15060
hardcode_action_F77=
14937
15061
if test -n "$hardcode_libdir_flag_spec_F77" || \
14938
 
   test -n "$runpath_var F77" || \
14939
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
 
15062
   test -n "$runpath_var_F77" || \
 
15063
   test "X$hardcode_automatic_F77" = "Xyes" ; then
14940
15064
 
14941
15065
  # We can hardcode non-existant directories.
14942
15066
  if test "$hardcode_direct_F77" != no &&
14968
15092
  enable_fast_install=needless
14969
15093
fi
14970
15094
 
14971
 
striplib=
14972
 
old_striplib=
14973
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14974
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14975
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14976
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14977
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14978
 
  echo "$as_me:$LINENO: result: yes" >&5
14979
 
echo "${ECHO_T}yes" >&6
14980
 
else
14981
 
# FIXME - insert some real tests, host_os isn't really good enough
14982
 
  case $host_os in
14983
 
   darwin*)
14984
 
       if test -n "$STRIP" ; then
14985
 
         striplib="$STRIP -x"
14986
 
         echo "$as_me:$LINENO: result: yes" >&5
14987
 
echo "${ECHO_T}yes" >&6
14988
 
       else
14989
 
  echo "$as_me:$LINENO: result: no" >&5
14990
 
echo "${ECHO_T}no" >&6
14991
 
fi
14992
 
       ;;
14993
 
   *)
14994
 
  echo "$as_me:$LINENO: result: no" >&5
14995
 
echo "${ECHO_T}no" >&6
14996
 
    ;;
14997
 
  esac
14998
 
fi
14999
 
 
15000
 
 
15001
15095
 
15002
15096
# The else clause should only fire when bootstrapping the
15003
15097
# libtool distribution, otherwise you forgot to ship ltmain.sh
15012
15106
  # Now quote all the things that may contain metacharacters while being
15013
15107
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15014
15108
  # variables and quote the copies for generation of the libtool script.
15015
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
15109
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15016
15110
    SED SHELL STRIP \
15017
15111
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15018
15112
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15113
15207
# The host system.
15114
15208
host_alias=$host_alias
15115
15209
host=$host
 
15210
host_os=$host_os
 
15211
 
 
15212
# The build system.
 
15213
build_alias=$build_alias
 
15214
build=$build
 
15215
build_os=$build_os
15116
15216
 
15117
15217
# An echo program that does not interpret backslashes.
15118
15218
echo=$lt_echo
15124
15224
# A C compiler.
15125
15225
LTCC=$lt_LTCC
15126
15226
 
 
15227
# LTCC compiler flags.
 
15228
LTCFLAGS=$lt_LTCFLAGS
 
15229
 
15127
15230
# A language-specific compiler.
15128
15231
CC=$lt_compiler_F77
15129
15232
 
15189
15292
# Does compiler simultaneously support -c and -o options?
15190
15293
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15191
15294
 
15192
 
# Must we lock files when doing compilation ?
 
15295
# Must we lock files when doing compilation?
15193
15296
need_locks=$lt_need_locks
15194
15297
 
15195
15298
# Do we need the lib prefix for modules?
15427
15530
lt_simple_compile_test_code="class foo {}\n"
15428
15531
 
15429
15532
# Code to be used in simple link tests
15430
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
 
15533
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15431
15534
 
15432
15535
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15433
15536
 
15434
15537
# If no C compiler was specified, use CC.
15435
15538
LTCC=${LTCC-"$CC"}
15436
15539
 
 
15540
# If no C compiler flags were specified, use CFLAGS.
 
15541
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
15542
 
15437
15543
# Allow CC to be a program name with arguments.
15438
15544
compiler=$CC
15439
15545
 
15440
15546
 
 
15547
# save warnings/boilerplate of simple test code
 
15548
ac_outfile=conftest.$ac_objext
 
15549
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
15550
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
15551
_lt_compiler_boilerplate=`cat conftest.err`
 
15552
$rm conftest*
 
15553
 
 
15554
ac_outfile=conftest.$ac_objext
 
15555
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
15556
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
15557
_lt_linker_boilerplate=`cat conftest.err`
 
15558
$rm conftest*
 
15559
 
 
15560
 
15441
15561
# Allow CC to be a program name with arguments.
15442
15562
lt_save_CC="$CC"
15443
15563
CC=${GCJ-"gcj"}
15444
15564
compiler=$CC
15445
15565
compiler_GCJ=$CC
 
15566
for cc_temp in $compiler""; do
 
15567
  case $cc_temp in
 
15568
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
15569
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
15570
    \-*) ;;
 
15571
    *) break;;
 
15572
  esac
 
15573
done
 
15574
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
15575
 
15446
15576
 
15447
15577
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15448
15578
archive_cmds_need_lc_GCJ=no
15449
15579
 
 
15580
old_archive_cmds_GCJ=$old_archive_cmds
 
15581
 
15450
15582
 
15451
15583
lt_prog_compiler_no_builtin_flag_GCJ=
15452
15584
 
15469
15601
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15470
15602
   # The option is referenced via a variable to avoid confusing sed.
15471
15603
   lt_compile=`echo "$ac_compile" | $SED \
15472
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
15604
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15473
15605
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15474
15606
   -e 's:$: $lt_compiler_flag:'`
15475
 
   (eval echo "\"\$as_me:15475: $lt_compile\"" >&5)
 
15607
   (eval echo "\"\$as_me:15607: $lt_compile\"" >&5)
15476
15608
   (eval "$lt_compile" 2>conftest.err)
15477
15609
   ac_status=$?
15478
15610
   cat conftest.err >&5
15479
 
   echo "$as_me:15479: \$? = $ac_status" >&5
 
15611
   echo "$as_me:15611: \$? = $ac_status" >&5
15480
15612
   if (exit $ac_status) && test -s "$ac_outfile"; then
15481
15613
     # The compiler can only warn and ignore the option if not recognized
15482
 
     # So say no if there are warnings
15483
 
     if test ! -s conftest.err; then
 
15614
     # So say no if there are warnings other than the usual output.
 
15615
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
15616
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
15617
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15484
15618
       lt_cv_prog_compiler_rtti_exceptions=yes
15485
15619
     fi
15486
15620
   fi
15541
15675
      lt_prog_compiler_pic_GCJ='-fno-common'
15542
15676
      ;;
15543
15677
 
 
15678
    interix3*)
 
15679
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
15680
      # Instead, we relocate shared libraries at runtime.
 
15681
      ;;
 
15682
 
15544
15683
    msdosdjgpp*)
15545
15684
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15546
15685
      # on systems that don't support them.
15557
15696
    hpux*)
15558
15697
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15559
15698
      # not for PA HP-UX.
15560
 
      case "$host_cpu" in
 
15699
      case $host_cpu in
15561
15700
      hppa*64*|ia64*)
15562
15701
        # +Z the default
15563
15702
        ;;
15583
15722
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15584
15723
      fi
15585
15724
      ;;
 
15725
      darwin*)
 
15726
        # PIC is the default on this platform
 
15727
        # Common symbols not allowed in MH_DYLIB files
 
15728
       case $cc_basename in
 
15729
         xlc*)
 
15730
         lt_prog_compiler_pic_GCJ='-qnocommon'
 
15731
         lt_prog_compiler_wl_GCJ='-Wl,'
 
15732
         ;;
 
15733
       esac
 
15734
       ;;
15586
15735
 
15587
15736
    mingw* | pw32* | os2*)
15588
15737
      # This hack is so that the source file can tell whether it is being
15594
15743
      lt_prog_compiler_wl_GCJ='-Wl,'
15595
15744
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15596
15745
      # not for PA HP-UX.
15597
 
      case "$host_cpu" in
 
15746
      case $host_cpu in
15598
15747
      hppa*64*|ia64*)
15599
15748
        # +Z the default
15600
15749
        ;;
15618
15767
      ;;
15619
15768
 
15620
15769
    linux*)
15621
 
      case $CC in
 
15770
      case $cc_basename in
15622
15771
      icc* | ecc*)
15623
15772
        lt_prog_compiler_wl_GCJ='-Wl,'
15624
15773
        lt_prog_compiler_pic_GCJ='-KPIC'
15625
15774
        lt_prog_compiler_static_GCJ='-static'
15626
15775
        ;;
 
15776
      pgcc* | pgf77* | pgf90* | pgf95*)
 
15777
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
15778
        # which looks to be a dead project)
 
15779
        lt_prog_compiler_wl_GCJ='-Wl,'
 
15780
        lt_prog_compiler_pic_GCJ='-fpic'
 
15781
        lt_prog_compiler_static_GCJ='-Bstatic'
 
15782
        ;;
15627
15783
      ccc*)
15628
15784
        lt_prog_compiler_wl_GCJ='-Wl,'
15629
15785
        # All Alpha code is PIC.
15638
15794
      lt_prog_compiler_static_GCJ='-non_shared'
15639
15795
      ;;
15640
15796
 
15641
 
    sco3.2v5*)
15642
 
      lt_prog_compiler_pic_GCJ='-Kpic'
15643
 
      lt_prog_compiler_static_GCJ='-dn'
15644
 
      ;;
15645
 
 
15646
15797
    solaris*)
15647
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15648
15798
      lt_prog_compiler_pic_GCJ='-KPIC'
15649
15799
      lt_prog_compiler_static_GCJ='-Bstatic'
 
15800
      case $cc_basename in
 
15801
      f77* | f90* | f95*)
 
15802
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 
15803
      *)
 
15804
        lt_prog_compiler_wl_GCJ='-Wl,';;
 
15805
      esac
15650
15806
      ;;
15651
15807
 
15652
15808
    sunos4*)
15655
15811
      lt_prog_compiler_static_GCJ='-Bstatic'
15656
15812
      ;;
15657
15813
 
15658
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
15814
    sysv4 | sysv4.2uw2* | sysv4.3*)
15659
15815
      lt_prog_compiler_wl_GCJ='-Wl,'
15660
15816
      lt_prog_compiler_pic_GCJ='-KPIC'
15661
15817
      lt_prog_compiler_static_GCJ='-Bstatic'
15668
15824
      fi
15669
15825
      ;;
15670
15826
 
 
15827
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
15828
      lt_prog_compiler_wl_GCJ='-Wl,'
 
15829
      lt_prog_compiler_pic_GCJ='-KPIC'
 
15830
      lt_prog_compiler_static_GCJ='-Bstatic'
 
15831
      ;;
 
15832
 
 
15833
    unicos*)
 
15834
      lt_prog_compiler_wl_GCJ='-Wl,'
 
15835
      lt_prog_compiler_can_build_shared_GCJ=no
 
15836
      ;;
 
15837
 
15671
15838
    uts4*)
15672
15839
      lt_prog_compiler_pic_GCJ='-pic'
15673
15840
      lt_prog_compiler_static_GCJ='-Bstatic'
15702
15869
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15703
15870
   # The option is referenced via a variable to avoid confusing sed.
15704
15871
   lt_compile=`echo "$ac_compile" | $SED \
15705
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
15872
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15706
15873
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15707
15874
   -e 's:$: $lt_compiler_flag:'`
15708
 
   (eval echo "\"\$as_me:15708: $lt_compile\"" >&5)
 
15875
   (eval echo "\"\$as_me:15875: $lt_compile\"" >&5)
15709
15876
   (eval "$lt_compile" 2>conftest.err)
15710
15877
   ac_status=$?
15711
15878
   cat conftest.err >&5
15712
 
   echo "$as_me:15712: \$? = $ac_status" >&5
 
15879
   echo "$as_me:15879: \$? = $ac_status" >&5
15713
15880
   if (exit $ac_status) && test -s "$ac_outfile"; then
15714
15881
     # The compiler can only warn and ignore the option if not recognized
15715
 
     # So say no if there are warnings
15716
 
     if test ! -s conftest.err; then
 
15882
     # So say no if there are warnings other than the usual output.
 
15883
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
15884
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
15885
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15717
15886
       lt_prog_compiler_pic_works_GCJ=yes
15718
15887
     fi
15719
15888
   fi
15734
15903
fi
15735
15904
 
15736
15905
fi
15737
 
case "$host_os" in
 
15906
case $host_os in
15738
15907
  # For platforms which do not support PIC, -DPIC is meaningless:
15739
15908
  *djgpp*)
15740
15909
    lt_prog_compiler_pic_GCJ=
15744
15913
    ;;
15745
15914
esac
15746
15915
 
 
15916
#
 
15917
# Check to make sure the static flag actually works.
 
15918
#
 
15919
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
15920
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
15921
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
15922
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
15923
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15924
else
 
15925
  lt_prog_compiler_static_works_GCJ=no
 
15926
   save_LDFLAGS="$LDFLAGS"
 
15927
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
15928
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
15929
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
15930
     # The linker can only warn and ignore the option if not recognized
 
15931
     # So say no if there are warnings
 
15932
     if test -s conftest.err; then
 
15933
       # Append any errors to the config.log.
 
15934
       cat conftest.err 1>&5
 
15935
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
15936
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
15937
       if diff conftest.exp conftest.er2 >/dev/null; then
 
15938
         lt_prog_compiler_static_works_GCJ=yes
 
15939
       fi
 
15940
     else
 
15941
       lt_prog_compiler_static_works_GCJ=yes
 
15942
     fi
 
15943
   fi
 
15944
   $rm conftest*
 
15945
   LDFLAGS="$save_LDFLAGS"
 
15946
 
 
15947
fi
 
15948
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
15949
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
15950
 
 
15951
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
15952
    :
 
15953
else
 
15954
    lt_prog_compiler_static_GCJ=
 
15955
fi
 
15956
 
 
15957
 
15747
15958
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15748
15959
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15749
15960
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15762
15973
   # Note that $ac_compile itself does not contain backslashes and begins
15763
15974
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15764
15975
   lt_compile=`echo "$ac_compile" | $SED \
15765
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
15976
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15766
15977
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15767
15978
   -e 's:$: $lt_compiler_flag:'`
15768
 
   (eval echo "\"\$as_me:15768: $lt_compile\"" >&5)
 
15979
   (eval echo "\"\$as_me:15979: $lt_compile\"" >&5)
15769
15980
   (eval "$lt_compile" 2>out/conftest.err)
15770
15981
   ac_status=$?
15771
15982
   cat out/conftest.err >&5
15772
 
   echo "$as_me:15772: \$? = $ac_status" >&5
 
15983
   echo "$as_me:15983: \$? = $ac_status" >&5
15773
15984
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15774
15985
   then
15775
15986
     # The compiler can only warn and ignore the option if not recognized
15776
15987
     # So say no if there are warnings
15777
 
     if test ! -s out/conftest.err; then
 
15988
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
15989
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
15990
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15778
15991
       lt_cv_prog_compiler_c_o_GCJ=yes
15779
15992
     fi
15780
15993
   fi
15781
 
   chmod u+w .
 
15994
   chmod u+w . 2>&5
15782
15995
   $rm conftest*
15783
15996
   # SGI C++ compiler will create directory out/ii_files/ for
15784
15997
   # template instantiation
15854
16067
  # rely on this symbol name, it's probably fine to never include it in
15855
16068
  # preloaded symbol tables.
15856
16069
  extract_expsyms_cmds=
 
16070
  # Just being paranoid about ensuring that cc_basename is set.
 
16071
  for cc_temp in $compiler""; do
 
16072
  case $cc_temp in
 
16073
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
16074
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
16075
    \-*) ;;
 
16076
    *) break;;
 
16077
  esac
 
16078
done
 
16079
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15857
16080
 
15858
16081
  case $host_os in
15859
16082
  cygwin* | mingw* | pw32*)
15864
16087
      with_gnu_ld=no
15865
16088
    fi
15866
16089
    ;;
 
16090
  interix*)
 
16091
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
16092
    with_gnu_ld=yes
 
16093
    ;;
15867
16094
  openbsd*)
15868
16095
    with_gnu_ld=no
15869
16096
    ;;
15874
16101
    # If archive_cmds runs LD, not CC, wlarc should be empty
15875
16102
    wlarc='${wl}'
15876
16103
 
 
16104
    # Set some defaults for GNU ld with shared library support. These
 
16105
    # are reset later if shared libraries are not supported. Putting them
 
16106
    # here allows them to be overridden if necessary.
 
16107
    runpath_var=LD_RUN_PATH
 
16108
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
16109
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
16110
    # ancient GNU ld didn't support --whole-archive et. al.
 
16111
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
16112
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
16113
      else
 
16114
        whole_archive_flag_spec_GCJ=
 
16115
    fi
 
16116
    supports_anon_versioning=no
 
16117
    case `$LD -v 2>/dev/null` in
 
16118
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
16119
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
16120
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
16121
      *\ 2.11.*) ;; # other 2.11 versions
 
16122
      *) supports_anon_versioning=yes ;;
 
16123
    esac
 
16124
 
15877
16125
    # See if GNU ld supports shared libraries.
15878
16126
    case $host_os in
15879
16127
    aix3* | aix4* | aix5*)
15924
16172
      allow_undefined_flag_GCJ=unsupported
15925
16173
      always_export_symbols_GCJ=no
15926
16174
      enable_shared_with_static_runtimes_GCJ=yes
15927
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
16175
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15928
16176
 
15929
16177
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15930
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
16178
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15931
16179
        # If the export-symbols file already is a .def file (1st line
15932
16180
        # is EXPORTS), use it as is; otherwise, prepend...
15933
16181
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15936
16184
          echo EXPORTS > $output_objdir/$soname.def;
15937
16185
          cat $export_symbols >> $output_objdir/$soname.def;
15938
16186
        fi~
15939
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
15940
 
      else
15941
 
        ld_shlibs=no
 
16187
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
16188
      else
 
16189
        ld_shlibs_GCJ=no
 
16190
      fi
 
16191
      ;;
 
16192
 
 
16193
    interix3*)
 
16194
      hardcode_direct_GCJ=no
 
16195
      hardcode_shlibpath_var_GCJ=no
 
16196
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
16197
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
16198
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
16199
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
16200
      # default) and relocated if they conflict, which is a slow very memory
 
16201
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
16202
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
16203
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
16204
      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'
 
16205
      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'
 
16206
      ;;
 
16207
 
 
16208
    linux*)
 
16209
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16210
        tmp_addflag=
 
16211
        case $cc_basename,$host_cpu in
 
16212
        pgcc*)                          # Portland Group C compiler
 
16213
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
16214
          tmp_addflag=' $pic_flag'
 
16215
          ;;
 
16216
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
16217
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
16218
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
16219
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
16220
          tmp_addflag=' -i_dynamic' ;;
 
16221
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
16222
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
16223
        ifc* | ifort*)                  # Intel Fortran compiler
 
16224
          tmp_addflag=' -nofor_main' ;;
 
16225
        esac
 
16226
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16227
 
 
16228
        if test $supports_anon_versioning = yes; then
 
16229
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
16230
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
16231
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
16232
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
16233
        fi
 
16234
        link_all_deplibs_GCJ=no
 
16235
      else
 
16236
        ld_shlibs_GCJ=no
15942
16237
      fi
15943
16238
      ;;
15944
16239
 
15952
16247
      fi
15953
16248
      ;;
15954
16249
 
15955
 
    solaris* | sysv5*)
 
16250
    solaris*)
15956
16251
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15957
16252
        ld_shlibs_GCJ=no
15958
16253
        cat <<EOF 1>&2
15973
16268
      fi
15974
16269
      ;;
15975
16270
 
 
16271
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
16272
      case `$LD -v 2>&1` in
 
16273
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
16274
        ld_shlibs_GCJ=no
 
16275
        cat <<_LT_EOF 1>&2
 
16276
 
 
16277
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
16278
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
16279
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
16280
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
16281
*** your PATH or compiler configuration so that the native linker is
 
16282
*** used, and then restart.
 
16283
 
 
16284
_LT_EOF
 
16285
        ;;
 
16286
        *)
 
16287
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16288
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
16289
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
16290
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
16291
          else
 
16292
            ld_shlibs_GCJ=no
 
16293
          fi
 
16294
        ;;
 
16295
      esac
 
16296
      ;;
 
16297
 
15976
16298
    sunos4*)
15977
16299
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15978
16300
      wlarc=
15980
16302
      hardcode_shlibpath_var_GCJ=no
15981
16303
      ;;
15982
16304
 
15983
 
  linux*)
15984
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15985
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15986
 
        archive_cmds_GCJ="$tmp_archive_cmds"
15987
 
      supports_anon_versioning=no
15988
 
      case `$LD -v 2>/dev/null` in
15989
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15990
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15991
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15992
 
        *\ 2.11.*) ;; # other 2.11 versions
15993
 
        *) supports_anon_versioning=yes ;;
15994
 
      esac
15995
 
      if test $supports_anon_versioning = yes; then
15996
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
15997
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15998
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
15999
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16000
 
      else
16001
 
        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
16002
 
      fi
16003
 
      link_all_deplibs_GCJ=no
16004
 
    else
16005
 
      ld_shlibs_GCJ=no
16006
 
    fi
16007
 
    ;;
16008
 
 
16009
16305
    *)
16010
16306
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16011
16307
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16016
16312
      ;;
16017
16313
    esac
16018
16314
 
16019
 
    if test "$ld_shlibs_GCJ" = yes; then
16020
 
      runpath_var=LD_RUN_PATH
16021
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16022
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16023
 
      # ancient GNU ld didn't support --whole-archive et. al.
16024
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16025
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16026
 
      else
16027
 
        whole_archive_flag_spec_GCJ=
16028
 
      fi
 
16315
    if test "$ld_shlibs_GCJ" = no; then
 
16316
      runpath_var=
 
16317
      hardcode_libdir_flag_spec_GCJ=
 
16318
      export_dynamic_flag_spec_GCJ=
 
16319
      whole_archive_flag_spec_GCJ=
16029
16320
    fi
16030
16321
  else
16031
16322
    # PORTME fill in a description of your system's linker (not GNU ld)
16037
16328
      # Note: this linker hardcodes the directories in LIBPATH if there
16038
16329
      # are no directories specified by -L.
16039
16330
      hardcode_minus_L_GCJ=yes
16040
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
16331
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16041
16332
        # Neither direct hardcoding nor static linking is supported with a
16042
16333
        # broken collect2.
16043
16334
        hardcode_direct_GCJ=unsupported
16071
16362
            break
16072
16363
          fi
16073
16364
          done
 
16365
          ;;
16074
16366
        esac
16075
16367
 
16076
16368
        exp_sym_flag='-bexport'
16089
16381
      link_all_deplibs_GCJ=yes
16090
16382
 
16091
16383
      if test "$GCC" = yes; then
16092
 
        case $host_os in aix4.012|aix4.012.*)
 
16384
        case $host_os in aix4.[012]|aix4.[012].*)
16093
16385
        # We only want to do this on AIX 4.2 and lower, the check
16094
16386
        # below for broken collect2 doesn't work under 4.3+
16095
16387
          collect2name=`${CC} -print-prog-name=collect2`
16108
16400
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16109
16401
          hardcode_libdir_separator_GCJ=
16110
16402
          fi
 
16403
          ;;
16111
16404
        esac
16112
16405
        shared_flag='-shared'
 
16406
        if test "$aix_use_runtimelinking" = yes; then
 
16407
          shared_flag="$shared_flag "'${wl}-G'
 
16408
        fi
16113
16409
      else
16114
16410
        # not using gcc
16115
16411
        if test "$host_cpu" = ia64; then
16117
16413
        # chokes on -Wl,-G. The following line is correct:
16118
16414
          shared_flag='-G'
16119
16415
        else
16120
 
        if test "$aix_use_runtimelinking" = yes; then
 
16416
          if test "$aix_use_runtimelinking" = yes; then
16121
16417
            shared_flag='${wl}-G'
16122
16418
          else
16123
16419
            shared_flag='${wl}-bM:SRE'
16124
 
        fi
 
16420
          fi
16125
16421
        fi
16126
16422
      fi
16127
16423
 
16185
16481
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16186
16482
 
16187
16483
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16188
 
        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"
 
16484
        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"
16189
16485
       else
16190
16486
        if test "$host_cpu" = ia64; then
16191
16487
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16192
16488
          allow_undefined_flag_GCJ="-z nodefs"
16193
 
          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"
 
16489
          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"
16194
16490
        else
16195
16491
         # Determine the default libpath from the value encoded in an empty executable.
16196
16492
         cat >conftest.$ac_ext <<_ACEOF
16249
16545
          # -berok will link without error, but may produce a broken library.
16250
16546
          no_undefined_flag_GCJ=' ${wl}-bernotok'
16251
16547
          allow_undefined_flag_GCJ=' ${wl}-berok'
16252
 
          # -bexpall does not export symbols beginning with underscore (_)
16253
 
          always_export_symbols_GCJ=yes
16254
16548
          # Exported symbols can be pulled into shared objects from archives
16255
 
          whole_archive_flag_spec_GCJ=' '
 
16549
          whole_archive_flag_spec_GCJ='$convenience'
16256
16550
          archive_cmds_need_lc_GCJ=yes
16257
 
          # This is similar to how AIX traditionally builds it's shared libraries.
16258
 
          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'
 
16551
          # This is similar to how AIX traditionally builds its shared libraries.
 
16552
          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'
16259
16553
        fi
16260
16554
      fi
16261
16555
      ;;
16268
16562
      ld_shlibs_GCJ=no
16269
16563
      ;;
16270
16564
 
16271
 
    bsdi4*)
 
16565
    bsdi[45]*)
16272
16566
      export_dynamic_flag_spec_GCJ=-rdynamic
16273
16567
      ;;
16274
16568
 
16289
16583
      old_archive_From_new_cmds_GCJ='true'
16290
16584
      # FIXME: Should let the user specify the lib program.
16291
16585
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16292
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
16586
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16293
16587
      enable_shared_with_static_runtimes_GCJ=yes
16294
16588
      ;;
16295
16589
 
16296
16590
    darwin* | rhapsody*)
16297
 
    if test "$GXX" = yes ; then
 
16591
      case $host_os in
 
16592
        rhapsody* | darwin1.[012])
 
16593
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 
16594
         ;;
 
16595
       *) # Darwin 1.3 on
 
16596
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
16597
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
16598
         else
 
16599
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
16600
             10.[012])
 
16601
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
16602
               ;;
 
16603
             10.*)
 
16604
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 
16605
               ;;
 
16606
           esac
 
16607
         fi
 
16608
         ;;
 
16609
      esac
16298
16610
      archive_cmds_need_lc_GCJ=no
16299
 
      case "$host_os" in
16300
 
      rhapsody* | darwin1.[012])
16301
 
        allow_undefined_flag_GCJ='-undefined suppress'
16302
 
        ;;
16303
 
      *) # Darwin 1.3 on
16304
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16305
 
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16306
 
      else
16307
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
16308
 
          10.[012])
16309
 
            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16310
 
            ;;
16311
 
          10.*)
16312
 
            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
16313
 
            ;;
16314
 
        esac
16315
 
      fi
16316
 
        ;;
16317
 
      esac
16318
 
        lt_int_apple_cc_single_mod=no
16319
 
        output_verbose_link_cmd='echo'
16320
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16321
 
          lt_int_apple_cc_single_mod=yes
16322
 
        fi
16323
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16324
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16325
 
        else
16326
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16327
 
      fi
16328
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16329
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16330
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16331
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16332
 
        else
16333
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16334
 
        fi
16335
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16336
16611
      hardcode_direct_GCJ=no
16337
16612
      hardcode_automatic_GCJ=yes
16338
16613
      hardcode_shlibpath_var_GCJ=unsupported
16339
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
 
16614
      whole_archive_flag_spec_GCJ=''
16340
16615
      link_all_deplibs_GCJ=yes
 
16616
    if test "$GCC" = yes ; then
 
16617
        output_verbose_link_cmd='echo'
 
16618
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
16619
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
16620
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
16621
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
16622
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16341
16623
    else
16342
 
      ld_shlibs_GCJ=no
 
16624
      case $cc_basename in
 
16625
        xlc*)
 
16626
         output_verbose_link_cmd='echo'
 
16627
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
16628
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
16629
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
16630
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
16631
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
16632
          ;;
 
16633
       *)
 
16634
         ld_shlibs_GCJ=no
 
16635
          ;;
 
16636
      esac
16343
16637
    fi
16344
16638
      ;;
16345
16639
 
16373
16667
      ;;
16374
16668
 
16375
16669
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16376
 
    freebsd* | kfreebsd*-gnu)
16377
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16378
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16379
 
      hardcode_direct_GCJ=yes
16380
 
      hardcode_shlibpath_var_GCJ=no
 
16670
    freebsd* | dragonfly*)
 
16671
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
16672
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
16673
      hardcode_direct_GCJ=yes
 
16674
      hardcode_shlibpath_var_GCJ=no
 
16675
      ;;
 
16676
 
 
16677
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
 
16678
    kfreebsd*-gnu)
 
16679
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
16680
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
16681
      hardcode_direct_GCJ=yes
 
16682
      hardcode_shlibpath_var_GCJ=no
 
16683
      link_all_deplibs_GCJ=no
16381
16684
      ;;
16382
16685
 
16383
16686
    hpux9*)
16396
16699
      export_dynamic_flag_spec_GCJ='${wl}-E'
16397
16700
      ;;
16398
16701
 
16399
 
    hpux10* | hpux11*)
16400
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16401
 
        case "$host_cpu" in
16402
 
        hppa*64*|ia64*)
 
16702
    hpux10*)
 
16703
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
16704
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
16705
      else
 
16706
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
16707
      fi
 
16708
      if test "$with_gnu_ld" = no; then
 
16709
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
16710
        hardcode_libdir_separator_GCJ=:
 
16711
 
 
16712
        hardcode_direct_GCJ=yes
 
16713
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
16714
 
 
16715
        # hardcode_minus_L: Not really in the search PATH,
 
16716
        # but as the default location of the library.
 
16717
        hardcode_minus_L_GCJ=yes
 
16718
      fi
 
16719
      ;;
 
16720
 
 
16721
    hpux11*)
 
16722
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
16723
        case $host_cpu in
 
16724
        hppa*64*)
16403
16725
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16404
16726
          ;;
 
16727
        ia64*)
 
16728
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
16729
          ;;
16405
16730
        *)
16406
16731
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16407
16732
          ;;
16408
16733
        esac
16409
16734
      else
16410
 
        case "$host_cpu" in
16411
 
        hppa*64*|ia64*)
16412
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
16735
        case $host_cpu in
 
16736
        hppa*64*)
 
16737
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16738
          ;;
 
16739
        ia64*)
 
16740
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16413
16741
          ;;
16414
16742
        *)
16415
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
16743
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16416
16744
          ;;
16417
16745
        esac
16418
16746
      fi
16419
16747
      if test "$with_gnu_ld" = no; then
16420
 
        case "$host_cpu" in
16421
 
        hppa*64*)
16422
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
16748
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
16749
        hardcode_libdir_separator_GCJ=:
 
16750
 
 
16751
        case $host_cpu in
 
16752
        hppa*64*|ia64*)
16423
16753
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16424
 
          hardcode_libdir_separator_GCJ=:
16425
 
          hardcode_direct_GCJ=no
16426
 
          hardcode_shlibpath_var_GCJ=no
16427
 
          ;;
16428
 
        ia64*)
16429
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16430
 
          hardcode_direct_GCJ=no
16431
 
          hardcode_shlibpath_var_GCJ=no
16432
 
 
16433
 
          # hardcode_minus_L: Not really in the search PATH,
16434
 
          # but as the default location of the library.
16435
 
          hardcode_minus_L_GCJ=yes
 
16754
          hardcode_direct_GCJ=no
 
16755
          hardcode_shlibpath_var_GCJ=no
16436
16756
          ;;
16437
16757
        *)
16438
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16439
 
          hardcode_libdir_separator_GCJ=:
16440
16758
          hardcode_direct_GCJ=yes
16441
16759
          export_dynamic_flag_spec_GCJ='${wl}-E'
16442
16760
 
16484
16802
      hardcode_shlibpath_var_GCJ=no
16485
16803
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16486
16804
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
16805
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16487
16806
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16488
16807
        export_dynamic_flag_spec_GCJ='${wl}-E'
16489
16808
      else
16529
16848
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
16530
16849
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16531
16850
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16532
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
16851
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16533
16852
 
16534
16853
        # Both c and cxx compiler support -rpath directly
16535
16854
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16537
16856
      hardcode_libdir_separator_GCJ=:
16538
16857
      ;;
16539
16858
 
16540
 
    sco3.2v5*)
16541
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16542
 
      hardcode_shlibpath_var_GCJ=no
16543
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16544
 
      runpath_var=LD_RUN_PATH
16545
 
      hardcode_runpath_var=yes
16546
 
      ;;
16547
 
 
16548
16859
    solaris*)
16549
16860
      no_undefined_flag_GCJ=' -z text'
16550
16861
      if test "$GCC" = yes; then
 
16862
        wlarc='${wl}'
16551
16863
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16552
16864
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16553
16865
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16554
16866
      else
 
16867
        wlarc=''
16555
16868
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16556
16869
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16557
16870
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16560
16873
      hardcode_shlibpath_var_GCJ=no
16561
16874
      case $host_os in
16562
16875
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16563
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16564
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
16876
      *)
 
16877
        # The compiler driver will combine linker options so we
 
16878
        # cannot just pass the convience library names through
 
16879
        # without $wl, iff we do not link with $LD.
 
16880
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
16881
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
16882
        case $wlarc in
 
16883
        '')
 
16884
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
16885
        *)
 
16886
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
16887
        esac ;;
16565
16888
      esac
16566
16889
      link_all_deplibs_GCJ=yes
16567
16890
      ;;
16618
16941
      fi
16619
16942
      ;;
16620
16943
 
16621
 
    sysv4.2uw2*)
16622
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16623
 
      hardcode_direct_GCJ=yes
16624
 
      hardcode_minus_L_GCJ=no
16625
 
      hardcode_shlibpath_var_GCJ=no
16626
 
      hardcode_runpath_var=yes
16627
 
      runpath_var=LD_RUN_PATH
16628
 
      ;;
16629
 
 
16630
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
16631
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
16632
 
      if test "$GCC" = yes; then
16633
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16634
 
      else
16635
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16636
 
      fi
16637
 
      runpath_var='LD_RUN_PATH'
16638
 
      hardcode_shlibpath_var_GCJ=no
16639
 
      ;;
16640
 
 
16641
 
    sysv5*)
16642
 
      no_undefined_flag_GCJ=' -z text'
16643
 
      # $CC -shared without GNU ld will not create a library from C++
16644
 
      # object files and a static libstdc++, better avoid it by now
16645
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16646
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16647
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16648
 
      hardcode_libdir_flag_spec_GCJ=
16649
 
      hardcode_shlibpath_var_GCJ=no
16650
 
      runpath_var='LD_RUN_PATH'
 
16944
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
16945
      no_undefined_flag_GCJ='${wl}-z,text'
 
16946
      archive_cmds_need_lc_GCJ=no
 
16947
      hardcode_shlibpath_var_GCJ=no
 
16948
      runpath_var='LD_RUN_PATH'
 
16949
 
 
16950
      if test "$GCC" = yes; then
 
16951
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16952
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16953
      else
 
16954
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16955
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16956
      fi
 
16957
      ;;
 
16958
 
 
16959
    sysv5* | sco3.2v5* | sco5v6*)
 
16960
      # Note: We can NOT use -z defs as we might desire, because we do not
 
16961
      # link with -lc, and that would cause any symbols used from libc to
 
16962
      # always be unresolved, which means just about no library would
 
16963
      # ever link correctly.  If we're not using GNU ld we use -z text
 
16964
      # though, which does catch some bad symbols but isn't as heavy-handed
 
16965
      # as -z defs.
 
16966
      no_undefined_flag_GCJ='${wl}-z,text'
 
16967
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
16968
      archive_cmds_need_lc_GCJ=no
 
16969
      hardcode_shlibpath_var_GCJ=no
 
16970
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
16971
      hardcode_libdir_separator_GCJ=':'
 
16972
      link_all_deplibs_GCJ=yes
 
16973
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
16974
      runpath_var='LD_RUN_PATH'
 
16975
 
 
16976
      if test "$GCC" = yes; then
 
16977
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16978
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16979
      else
 
16980
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16981
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16982
      fi
16651
16983
      ;;
16652
16984
 
16653
16985
    uts4*)
16666
16998
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16667
16999
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16668
17000
 
16669
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16670
 
if test "$GCC" = yes; then
16671
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16672
 
fi
16673
 
 
16674
17001
#
16675
17002
# Do we need to explicitly link libc?
16676
17003
#
16703
17030
        libobjs=conftest.$ac_objext
16704
17031
        deplibs=
16705
17032
        wl=$lt_prog_compiler_wl_GCJ
 
17033
        pic_flag=$lt_prog_compiler_pic_GCJ
16706
17034
        compiler_flags=-v
16707
17035
        linker_flags=-v
16708
17036
        verstring=
16835
17163
  shlibpath_var=LIBRARY_PATH
16836
17164
  ;;
16837
17165
 
16838
 
bsdi4*)
 
17166
bsdi[45]*)
16839
17167
  version_type=linux
16840
17168
  need_version=no
16841
17169
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16863
17191
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16864
17192
      dldir=$destdir/`dirname \$dlpath`~
16865
17193
      test -d \$dldir || mkdir -p \$dldir~
16866
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
17194
      $install_prog $dir/$dlname \$dldir/$dlname~
 
17195
      chmod a+x \$dldir/$dlname'
16867
17196
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16868
17197
      dlpath=$dir/\$dldll~
16869
17198
       $rm \$dlpath'
16893
17222
      ;;
16894
17223
    pw32*)
16895
17224
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16896
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
17225
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16897
17226
      ;;
16898
17227
    esac
16899
17228
    ;;
16916
17245
  soname_spec='${libname}${release}${major}$shared_ext'
16917
17246
  shlibpath_overrides_runpath=yes
16918
17247
  shlibpath_var=DYLD_LIBRARY_PATH
16919
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
17248
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16920
17249
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16921
17250
  if test "$GCC" = yes; then
16922
17251
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16951
17280
  dynamic_linker='GNU ld.so'
16952
17281
  ;;
16953
17282
 
16954
 
freebsd*)
16955
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
17283
freebsd* | dragonfly*)
 
17284
  # DragonFly does not have aout.  When/if they implement a new
 
17285
  # versioning mechanism, adjust this.
 
17286
  if test -x /usr/bin/objformat; then
 
17287
    objformat=`/usr/bin/objformat`
 
17288
  else
 
17289
    case $host_os in
 
17290
    freebsd[123]*) objformat=aout ;;
 
17291
    *) objformat=elf ;;
 
17292
    esac
 
17293
  fi
16956
17294
  version_type=freebsd-$objformat
16957
17295
  case $version_type in
16958
17296
    freebsd-elf*)
16970
17308
  freebsd2*)
16971
17309
    shlibpath_overrides_runpath=yes
16972
17310
    ;;
16973
 
  freebsd3.01* | freebsdelf3.01*)
 
17311
  freebsd3.[01]* | freebsdelf3.[01]*)
16974
17312
    shlibpath_overrides_runpath=yes
16975
17313
    hardcode_into_libs=yes
16976
17314
    ;;
16977
 
  *) # from 3.2 on
 
17315
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
17316
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16978
17317
    shlibpath_overrides_runpath=no
16979
17318
    hardcode_into_libs=yes
16980
17319
    ;;
 
17320
  freebsd*) # from 4.6 on
 
17321
    shlibpath_overrides_runpath=yes
 
17322
    hardcode_into_libs=yes
 
17323
    ;;
16981
17324
  esac
16982
17325
  ;;
16983
17326
 
16997
17340
  version_type=sunos
16998
17341
  need_lib_prefix=no
16999
17342
  need_version=no
17000
 
  case "$host_cpu" in
 
17343
  case $host_cpu in
17001
17344
  ia64*)
17002
17345
    shrext_cmds='.so'
17003
17346
    hardcode_into_libs=yes
17037
17380
  postinstall_cmds='chmod 555 $lib'
17038
17381
  ;;
17039
17382
 
 
17383
interix3*)
 
17384
  version_type=linux
 
17385
  need_lib_prefix=no
 
17386
  need_version=no
 
17387
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
17388
  soname_spec='${libname}${release}${shared_ext}$major'
 
17389
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
17390
  shlibpath_var=LD_LIBRARY_PATH
 
17391
  shlibpath_overrides_runpath=no
 
17392
  hardcode_into_libs=yes
 
17393
  ;;
 
17394
 
17040
17395
irix5* | irix6* | nonstopux*)
17041
17396
  case $host_os in
17042
17397
    nonstopux*) version_type=nonstopux ;;
17096
17451
 
17097
17452
  # Append ld.so.conf contents to the search path
17098
17453
  if test -f /etc/ld.so.conf; then
17099
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
17454
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17100
17455
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17101
17456
  fi
17102
17457
 
17170
17525
 
17171
17526
openbsd*)
17172
17527
  version_type=sunos
 
17528
  sys_lib_dlsearch_path_spec="/usr/lib"
17173
17529
  need_lib_prefix=no
17174
 
  need_version=yes
 
17530
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
17531
  case $host_os in
 
17532
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
17533
    *)                         need_version=no  ;;
 
17534
  esac
17175
17535
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17176
17536
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17177
17537
  shlibpath_var=LD_LIBRARY_PATH
17209
17569
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17210
17570
  ;;
17211
17571
 
17212
 
sco3.2v5*)
17213
 
  version_type=osf
17214
 
  soname_spec='${libname}${release}${shared_ext}$major'
17215
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17216
 
  shlibpath_var=LD_LIBRARY_PATH
17217
 
  ;;
17218
 
 
17219
17572
solaris*)
17220
17573
  version_type=linux
17221
17574
  need_lib_prefix=no
17241
17594
  need_version=yes
17242
17595
  ;;
17243
17596
 
17244
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
17597
sysv4 | sysv4.3*)
17245
17598
  version_type=linux
17246
17599
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17247
17600
  soname_spec='${libname}${release}${shared_ext}$major'
17274
17627
  fi
17275
17628
  ;;
17276
17629
 
 
17630
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
17631
  version_type=freebsd-elf
 
17632
  need_lib_prefix=no
 
17633
  need_version=no
 
17634
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
17635
  soname_spec='${libname}${release}${shared_ext}$major'
 
17636
  shlibpath_var=LD_LIBRARY_PATH
 
17637
  hardcode_into_libs=yes
 
17638
  if test "$with_gnu_ld" = yes; then
 
17639
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
17640
    shlibpath_overrides_runpath=no
 
17641
  else
 
17642
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
17643
    shlibpath_overrides_runpath=yes
 
17644
    case $host_os in
 
17645
      sco3.2v5*)
 
17646
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
17647
        ;;
 
17648
    esac
 
17649
  fi
 
17650
  sys_lib_dlsearch_path_spec='/usr/lib'
 
17651
  ;;
 
17652
 
17277
17653
uts4*)
17278
17654
  version_type=linux
17279
17655
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17289
17665
echo "${ECHO_T}$dynamic_linker" >&6
17290
17666
test "$dynamic_linker" = no && can_build_shared=no
17291
17667
 
 
17668
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
17669
if test "$GCC" = yes; then
 
17670
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
17671
fi
 
17672
 
17292
17673
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17293
17674
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17294
17675
hardcode_action_GCJ=
17295
17676
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17296
 
   test -n "$runpath_var GCJ" || \
17297
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
 
17677
   test -n "$runpath_var_GCJ" || \
 
17678
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17298
17679
 
17299
17680
  # We can hardcode non-existant directories.
17300
17681
  if test "$hardcode_direct_GCJ" != no &&
17326
17707
  enable_fast_install=needless
17327
17708
fi
17328
17709
 
17329
 
striplib=
17330
 
old_striplib=
17331
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17332
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17333
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17334
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17335
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17336
 
  echo "$as_me:$LINENO: result: yes" >&5
17337
 
echo "${ECHO_T}yes" >&6
17338
 
else
17339
 
# FIXME - insert some real tests, host_os isn't really good enough
17340
 
  case $host_os in
17341
 
   darwin*)
17342
 
       if test -n "$STRIP" ; then
17343
 
         striplib="$STRIP -x"
17344
 
         echo "$as_me:$LINENO: result: yes" >&5
17345
 
echo "${ECHO_T}yes" >&6
17346
 
       else
17347
 
  echo "$as_me:$LINENO: result: no" >&5
17348
 
echo "${ECHO_T}no" >&6
17349
 
fi
17350
 
       ;;
17351
 
   *)
17352
 
  echo "$as_me:$LINENO: result: no" >&5
17353
 
echo "${ECHO_T}no" >&6
17354
 
    ;;
17355
 
  esac
17356
 
fi
17357
 
 
17358
 
if test "x$enable_dlopen" != xyes; then
17359
 
  enable_dlopen=unknown
17360
 
  enable_dlopen_self=unknown
17361
 
  enable_dlopen_self_static=unknown
17362
 
else
17363
 
  lt_cv_dlopen=no
17364
 
  lt_cv_dlopen_libs=
17365
 
 
17366
 
  case $host_os in
17367
 
  beos*)
17368
 
    lt_cv_dlopen="load_add_on"
17369
 
    lt_cv_dlopen_libs=
17370
 
    lt_cv_dlopen_self=yes
17371
 
    ;;
17372
 
 
17373
 
  mingw* | pw32*)
17374
 
    lt_cv_dlopen="LoadLibrary"
17375
 
    lt_cv_dlopen_libs=
17376
 
   ;;
17377
 
 
17378
 
  cygwin*)
17379
 
    lt_cv_dlopen="dlopen"
17380
 
    lt_cv_dlopen_libs=
17381
 
   ;;
17382
 
 
17383
 
  darwin*)
17384
 
  # if libdl is installed we need to link against it
17385
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17386
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17387
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17389
 
else
17390
 
  ac_check_lib_save_LIBS=$LIBS
17391
 
LIBS="-ldl  $LIBS"
17392
 
cat >conftest.$ac_ext <<_ACEOF
17393
 
/* confdefs.h.  */
17394
 
_ACEOF
17395
 
cat confdefs.h >>conftest.$ac_ext
17396
 
cat >>conftest.$ac_ext <<_ACEOF
17397
 
/* end confdefs.h.  */
17398
 
 
17399
 
/* Override any gcc2 internal prototype to avoid an error.  */
17400
 
#ifdef __cplusplus
17401
 
extern "C"
17402
 
#endif
17403
 
/* We use char because int might match the return type of a gcc2
17404
 
   builtin and then its argument prototype would still apply.  */
17405
 
char dlopen ();
17406
 
int
17407
 
main ()
17408
 
{
17409
 
dlopen ();
17410
 
  ;
17411
 
  return 0;
17412
 
}
17413
 
_ACEOF
17414
 
rm -f conftest.$ac_objext conftest$ac_exeext
17415
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17416
 
  (eval $ac_link) 2>conftest.er1
17417
 
  ac_status=$?
17418
 
  grep -v '^ *+' conftest.er1 >conftest.err
17419
 
  rm -f conftest.er1
17420
 
  cat conftest.err >&5
17421
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422
 
  (exit $ac_status); } &&
17423
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17424
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17425
 
  (eval $ac_try) 2>&5
17426
 
  ac_status=$?
17427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428
 
  (exit $ac_status); }; } &&
17429
 
         { ac_try='test -s conftest$ac_exeext'
17430
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431
 
  (eval $ac_try) 2>&5
17432
 
  ac_status=$?
17433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434
 
  (exit $ac_status); }; }; then
17435
 
  ac_cv_lib_dl_dlopen=yes
17436
 
else
17437
 
  echo "$as_me: failed program was:" >&5
17438
 
sed 's/^/| /' conftest.$ac_ext >&5
17439
 
 
17440
 
ac_cv_lib_dl_dlopen=no
17441
 
fi
17442
 
rm -f conftest.err conftest.$ac_objext \
17443
 
      conftest$ac_exeext conftest.$ac_ext
17444
 
LIBS=$ac_check_lib_save_LIBS
17445
 
fi
17446
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17447
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17448
 
if test $ac_cv_lib_dl_dlopen = yes; then
17449
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17450
 
else
17451
 
 
17452
 
    lt_cv_dlopen="dyld"
17453
 
    lt_cv_dlopen_libs=
17454
 
    lt_cv_dlopen_self=yes
17455
 
 
17456
 
fi
17457
 
 
17458
 
   ;;
17459
 
 
17460
 
  *)
17461
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
17462
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17463
 
if test "${ac_cv_func_shl_load+set}" = set; then
17464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17465
 
else
17466
 
  cat >conftest.$ac_ext <<_ACEOF
17467
 
/* confdefs.h.  */
17468
 
_ACEOF
17469
 
cat confdefs.h >>conftest.$ac_ext
17470
 
cat >>conftest.$ac_ext <<_ACEOF
17471
 
/* end confdefs.h.  */
17472
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17473
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17474
 
#define shl_load innocuous_shl_load
17475
 
 
17476
 
/* System header to define __stub macros and hopefully few prototypes,
17477
 
    which can conflict with char shl_load (); below.
17478
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17479
 
    <limits.h> exists even on freestanding compilers.  */
17480
 
 
17481
 
#ifdef __STDC__
17482
 
# include <limits.h>
17483
 
#else
17484
 
# include <assert.h>
17485
 
#endif
17486
 
 
17487
 
#undef shl_load
17488
 
 
17489
 
/* Override any gcc2 internal prototype to avoid an error.  */
17490
 
#ifdef __cplusplus
17491
 
extern "C"
17492
 
{
17493
 
#endif
17494
 
/* We use char because int might match the return type of a gcc2
17495
 
   builtin and then its argument prototype would still apply.  */
17496
 
char shl_load ();
17497
 
/* The GNU C library defines this for functions which it implements
17498
 
    to always fail with ENOSYS.  Some functions are actually named
17499
 
    something starting with __ and the normal name is an alias.  */
17500
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17501
 
choke me
17502
 
#else
17503
 
char (*f) () = shl_load;
17504
 
#endif
17505
 
#ifdef __cplusplus
17506
 
}
17507
 
#endif
17508
 
 
17509
 
int
17510
 
main ()
17511
 
{
17512
 
return f != shl_load;
17513
 
  ;
17514
 
  return 0;
17515
 
}
17516
 
_ACEOF
17517
 
rm -f conftest.$ac_objext conftest$ac_exeext
17518
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17519
 
  (eval $ac_link) 2>conftest.er1
17520
 
  ac_status=$?
17521
 
  grep -v '^ *+' conftest.er1 >conftest.err
17522
 
  rm -f conftest.er1
17523
 
  cat conftest.err >&5
17524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525
 
  (exit $ac_status); } &&
17526
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528
 
  (eval $ac_try) 2>&5
17529
 
  ac_status=$?
17530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531
 
  (exit $ac_status); }; } &&
17532
 
         { ac_try='test -s conftest$ac_exeext'
17533
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534
 
  (eval $ac_try) 2>&5
17535
 
  ac_status=$?
17536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537
 
  (exit $ac_status); }; }; then
17538
 
  ac_cv_func_shl_load=yes
17539
 
else
17540
 
  echo "$as_me: failed program was:" >&5
17541
 
sed 's/^/| /' conftest.$ac_ext >&5
17542
 
 
17543
 
ac_cv_func_shl_load=no
17544
 
fi
17545
 
rm -f conftest.err conftest.$ac_objext \
17546
 
      conftest$ac_exeext conftest.$ac_ext
17547
 
fi
17548
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17549
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17550
 
if test $ac_cv_func_shl_load = yes; then
17551
 
  lt_cv_dlopen="shl_load"
17552
 
else
17553
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17554
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17555
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17556
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17557
 
else
17558
 
  ac_check_lib_save_LIBS=$LIBS
17559
 
LIBS="-ldld  $LIBS"
17560
 
cat >conftest.$ac_ext <<_ACEOF
17561
 
/* confdefs.h.  */
17562
 
_ACEOF
17563
 
cat confdefs.h >>conftest.$ac_ext
17564
 
cat >>conftest.$ac_ext <<_ACEOF
17565
 
/* end confdefs.h.  */
17566
 
 
17567
 
/* Override any gcc2 internal prototype to avoid an error.  */
17568
 
#ifdef __cplusplus
17569
 
extern "C"
17570
 
#endif
17571
 
/* We use char because int might match the return type of a gcc2
17572
 
   builtin and then its argument prototype would still apply.  */
17573
 
char shl_load ();
17574
 
int
17575
 
main ()
17576
 
{
17577
 
shl_load ();
17578
 
  ;
17579
 
  return 0;
17580
 
}
17581
 
_ACEOF
17582
 
rm -f conftest.$ac_objext conftest$ac_exeext
17583
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17584
 
  (eval $ac_link) 2>conftest.er1
17585
 
  ac_status=$?
17586
 
  grep -v '^ *+' conftest.er1 >conftest.err
17587
 
  rm -f conftest.er1
17588
 
  cat conftest.err >&5
17589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590
 
  (exit $ac_status); } &&
17591
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17592
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17593
 
  (eval $ac_try) 2>&5
17594
 
  ac_status=$?
17595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596
 
  (exit $ac_status); }; } &&
17597
 
         { ac_try='test -s conftest$ac_exeext'
17598
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599
 
  (eval $ac_try) 2>&5
17600
 
  ac_status=$?
17601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602
 
  (exit $ac_status); }; }; then
17603
 
  ac_cv_lib_dld_shl_load=yes
17604
 
else
17605
 
  echo "$as_me: failed program was:" >&5
17606
 
sed 's/^/| /' conftest.$ac_ext >&5
17607
 
 
17608
 
ac_cv_lib_dld_shl_load=no
17609
 
fi
17610
 
rm -f conftest.err conftest.$ac_objext \
17611
 
      conftest$ac_exeext conftest.$ac_ext
17612
 
LIBS=$ac_check_lib_save_LIBS
17613
 
fi
17614
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17615
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17616
 
if test $ac_cv_lib_dld_shl_load = yes; then
17617
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17618
 
else
17619
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
17620
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17621
 
if test "${ac_cv_func_dlopen+set}" = set; then
17622
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17623
 
else
17624
 
  cat >conftest.$ac_ext <<_ACEOF
17625
 
/* confdefs.h.  */
17626
 
_ACEOF
17627
 
cat confdefs.h >>conftest.$ac_ext
17628
 
cat >>conftest.$ac_ext <<_ACEOF
17629
 
/* end confdefs.h.  */
17630
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17631
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17632
 
#define dlopen innocuous_dlopen
17633
 
 
17634
 
/* System header to define __stub macros and hopefully few prototypes,
17635
 
    which can conflict with char dlopen (); below.
17636
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17637
 
    <limits.h> exists even on freestanding compilers.  */
17638
 
 
17639
 
#ifdef __STDC__
17640
 
# include <limits.h>
17641
 
#else
17642
 
# include <assert.h>
17643
 
#endif
17644
 
 
17645
 
#undef dlopen
17646
 
 
17647
 
/* Override any gcc2 internal prototype to avoid an error.  */
17648
 
#ifdef __cplusplus
17649
 
extern "C"
17650
 
{
17651
 
#endif
17652
 
/* We use char because int might match the return type of a gcc2
17653
 
   builtin and then its argument prototype would still apply.  */
17654
 
char dlopen ();
17655
 
/* The GNU C library defines this for functions which it implements
17656
 
    to always fail with ENOSYS.  Some functions are actually named
17657
 
    something starting with __ and the normal name is an alias.  */
17658
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17659
 
choke me
17660
 
#else
17661
 
char (*f) () = dlopen;
17662
 
#endif
17663
 
#ifdef __cplusplus
17664
 
}
17665
 
#endif
17666
 
 
17667
 
int
17668
 
main ()
17669
 
{
17670
 
return f != dlopen;
17671
 
  ;
17672
 
  return 0;
17673
 
}
17674
 
_ACEOF
17675
 
rm -f conftest.$ac_objext conftest$ac_exeext
17676
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17677
 
  (eval $ac_link) 2>conftest.er1
17678
 
  ac_status=$?
17679
 
  grep -v '^ *+' conftest.er1 >conftest.err
17680
 
  rm -f conftest.er1
17681
 
  cat conftest.err >&5
17682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683
 
  (exit $ac_status); } &&
17684
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17685
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686
 
  (eval $ac_try) 2>&5
17687
 
  ac_status=$?
17688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689
 
  (exit $ac_status); }; } &&
17690
 
         { ac_try='test -s conftest$ac_exeext'
17691
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692
 
  (eval $ac_try) 2>&5
17693
 
  ac_status=$?
17694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695
 
  (exit $ac_status); }; }; then
17696
 
  ac_cv_func_dlopen=yes
17697
 
else
17698
 
  echo "$as_me: failed program was:" >&5
17699
 
sed 's/^/| /' conftest.$ac_ext >&5
17700
 
 
17701
 
ac_cv_func_dlopen=no
17702
 
fi
17703
 
rm -f conftest.err conftest.$ac_objext \
17704
 
      conftest$ac_exeext conftest.$ac_ext
17705
 
fi
17706
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17707
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17708
 
if test $ac_cv_func_dlopen = yes; then
17709
 
  lt_cv_dlopen="dlopen"
17710
 
else
17711
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17712
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17713
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17714
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17715
 
else
17716
 
  ac_check_lib_save_LIBS=$LIBS
17717
 
LIBS="-ldl  $LIBS"
17718
 
cat >conftest.$ac_ext <<_ACEOF
17719
 
/* confdefs.h.  */
17720
 
_ACEOF
17721
 
cat confdefs.h >>conftest.$ac_ext
17722
 
cat >>conftest.$ac_ext <<_ACEOF
17723
 
/* end confdefs.h.  */
17724
 
 
17725
 
/* Override any gcc2 internal prototype to avoid an error.  */
17726
 
#ifdef __cplusplus
17727
 
extern "C"
17728
 
#endif
17729
 
/* We use char because int might match the return type of a gcc2
17730
 
   builtin and then its argument prototype would still apply.  */
17731
 
char dlopen ();
17732
 
int
17733
 
main ()
17734
 
{
17735
 
dlopen ();
17736
 
  ;
17737
 
  return 0;
17738
 
}
17739
 
_ACEOF
17740
 
rm -f conftest.$ac_objext conftest$ac_exeext
17741
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17742
 
  (eval $ac_link) 2>conftest.er1
17743
 
  ac_status=$?
17744
 
  grep -v '^ *+' conftest.er1 >conftest.err
17745
 
  rm -f conftest.er1
17746
 
  cat conftest.err >&5
17747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748
 
  (exit $ac_status); } &&
17749
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17750
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751
 
  (eval $ac_try) 2>&5
17752
 
  ac_status=$?
17753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754
 
  (exit $ac_status); }; } &&
17755
 
         { ac_try='test -s conftest$ac_exeext'
17756
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757
 
  (eval $ac_try) 2>&5
17758
 
  ac_status=$?
17759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760
 
  (exit $ac_status); }; }; then
17761
 
  ac_cv_lib_dl_dlopen=yes
17762
 
else
17763
 
  echo "$as_me: failed program was:" >&5
17764
 
sed 's/^/| /' conftest.$ac_ext >&5
17765
 
 
17766
 
ac_cv_lib_dl_dlopen=no
17767
 
fi
17768
 
rm -f conftest.err conftest.$ac_objext \
17769
 
      conftest$ac_exeext conftest.$ac_ext
17770
 
LIBS=$ac_check_lib_save_LIBS
17771
 
fi
17772
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17773
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17774
 
if test $ac_cv_lib_dl_dlopen = yes; then
17775
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17776
 
else
17777
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17778
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17779
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17780
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17781
 
else
17782
 
  ac_check_lib_save_LIBS=$LIBS
17783
 
LIBS="-lsvld  $LIBS"
17784
 
cat >conftest.$ac_ext <<_ACEOF
17785
 
/* confdefs.h.  */
17786
 
_ACEOF
17787
 
cat confdefs.h >>conftest.$ac_ext
17788
 
cat >>conftest.$ac_ext <<_ACEOF
17789
 
/* end confdefs.h.  */
17790
 
 
17791
 
/* Override any gcc2 internal prototype to avoid an error.  */
17792
 
#ifdef __cplusplus
17793
 
extern "C"
17794
 
#endif
17795
 
/* We use char because int might match the return type of a gcc2
17796
 
   builtin and then its argument prototype would still apply.  */
17797
 
char dlopen ();
17798
 
int
17799
 
main ()
17800
 
{
17801
 
dlopen ();
17802
 
  ;
17803
 
  return 0;
17804
 
}
17805
 
_ACEOF
17806
 
rm -f conftest.$ac_objext conftest$ac_exeext
17807
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17808
 
  (eval $ac_link) 2>conftest.er1
17809
 
  ac_status=$?
17810
 
  grep -v '^ *+' conftest.er1 >conftest.err
17811
 
  rm -f conftest.er1
17812
 
  cat conftest.err >&5
17813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814
 
  (exit $ac_status); } &&
17815
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17816
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817
 
  (eval $ac_try) 2>&5
17818
 
  ac_status=$?
17819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820
 
  (exit $ac_status); }; } &&
17821
 
         { ac_try='test -s conftest$ac_exeext'
17822
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17823
 
  (eval $ac_try) 2>&5
17824
 
  ac_status=$?
17825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826
 
  (exit $ac_status); }; }; then
17827
 
  ac_cv_lib_svld_dlopen=yes
17828
 
else
17829
 
  echo "$as_me: failed program was:" >&5
17830
 
sed 's/^/| /' conftest.$ac_ext >&5
17831
 
 
17832
 
ac_cv_lib_svld_dlopen=no
17833
 
fi
17834
 
rm -f conftest.err conftest.$ac_objext \
17835
 
      conftest$ac_exeext conftest.$ac_ext
17836
 
LIBS=$ac_check_lib_save_LIBS
17837
 
fi
17838
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17839
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17840
 
if test $ac_cv_lib_svld_dlopen = yes; then
17841
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17842
 
else
17843
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17844
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17845
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17847
 
else
17848
 
  ac_check_lib_save_LIBS=$LIBS
17849
 
LIBS="-ldld  $LIBS"
17850
 
cat >conftest.$ac_ext <<_ACEOF
17851
 
/* confdefs.h.  */
17852
 
_ACEOF
17853
 
cat confdefs.h >>conftest.$ac_ext
17854
 
cat >>conftest.$ac_ext <<_ACEOF
17855
 
/* end confdefs.h.  */
17856
 
 
17857
 
/* Override any gcc2 internal prototype to avoid an error.  */
17858
 
#ifdef __cplusplus
17859
 
extern "C"
17860
 
#endif
17861
 
/* We use char because int might match the return type of a gcc2
17862
 
   builtin and then its argument prototype would still apply.  */
17863
 
char dld_link ();
17864
 
int
17865
 
main ()
17866
 
{
17867
 
dld_link ();
17868
 
  ;
17869
 
  return 0;
17870
 
}
17871
 
_ACEOF
17872
 
rm -f conftest.$ac_objext conftest$ac_exeext
17873
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17874
 
  (eval $ac_link) 2>conftest.er1
17875
 
  ac_status=$?
17876
 
  grep -v '^ *+' conftest.er1 >conftest.err
17877
 
  rm -f conftest.er1
17878
 
  cat conftest.err >&5
17879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880
 
  (exit $ac_status); } &&
17881
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17883
 
  (eval $ac_try) 2>&5
17884
 
  ac_status=$?
17885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886
 
  (exit $ac_status); }; } &&
17887
 
         { ac_try='test -s conftest$ac_exeext'
17888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17889
 
  (eval $ac_try) 2>&5
17890
 
  ac_status=$?
17891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892
 
  (exit $ac_status); }; }; then
17893
 
  ac_cv_lib_dld_dld_link=yes
17894
 
else
17895
 
  echo "$as_me: failed program was:" >&5
17896
 
sed 's/^/| /' conftest.$ac_ext >&5
17897
 
 
17898
 
ac_cv_lib_dld_dld_link=no
17899
 
fi
17900
 
rm -f conftest.err conftest.$ac_objext \
17901
 
      conftest$ac_exeext conftest.$ac_ext
17902
 
LIBS=$ac_check_lib_save_LIBS
17903
 
fi
17904
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17905
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17906
 
if test $ac_cv_lib_dld_dld_link = yes; then
17907
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17908
 
fi
17909
 
 
17910
 
 
17911
 
fi
17912
 
 
17913
 
 
17914
 
fi
17915
 
 
17916
 
 
17917
 
fi
17918
 
 
17919
 
 
17920
 
fi
17921
 
 
17922
 
 
17923
 
fi
17924
 
 
17925
 
    ;;
17926
 
  esac
17927
 
 
17928
 
  if test "x$lt_cv_dlopen" != xno; then
17929
 
    enable_dlopen=yes
17930
 
  else
17931
 
    enable_dlopen=no
17932
 
  fi
17933
 
 
17934
 
  case $lt_cv_dlopen in
17935
 
  dlopen)
17936
 
    save_CPPFLAGS="$CPPFLAGS"
17937
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17938
 
 
17939
 
    save_LDFLAGS="$LDFLAGS"
17940
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17941
 
 
17942
 
    save_LIBS="$LIBS"
17943
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
17944
 
 
17945
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17946
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17947
 
if test "${lt_cv_dlopen_self+set}" = set; then
17948
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17949
 
else
17950
 
          if test "$cross_compiling" = yes; then :
17951
 
  lt_cv_dlopen_self=cross
17952
 
else
17953
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17954
 
  lt_status=$lt_dlunknown
17955
 
  cat > conftest.$ac_ext <<EOF
17956
 
#line 17956 "configure"
17957
 
#include "confdefs.h"
17958
 
 
17959
 
#if HAVE_DLFCN_H
17960
 
#include <dlfcn.h>
17961
 
#endif
17962
 
 
17963
 
#include <stdio.h>
17964
 
 
17965
 
#ifdef RTLD_GLOBAL
17966
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
17967
 
#else
17968
 
#  ifdef DL_GLOBAL
17969
 
#    define LT_DLGLOBAL         DL_GLOBAL
17970
 
#  else
17971
 
#    define LT_DLGLOBAL         0
17972
 
#  endif
17973
 
#endif
17974
 
 
17975
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17976
 
   find out it does not work in some platform. */
17977
 
#ifndef LT_DLLAZY_OR_NOW
17978
 
#  ifdef RTLD_LAZY
17979
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
17980
 
#  else
17981
 
#    ifdef DL_LAZY
17982
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
17983
 
#    else
17984
 
#      ifdef RTLD_NOW
17985
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
17986
 
#      else
17987
 
#        ifdef DL_NOW
17988
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
17989
 
#        else
17990
 
#          define LT_DLLAZY_OR_NOW      0
17991
 
#        endif
17992
 
#      endif
17993
 
#    endif
17994
 
#  endif
17995
 
#endif
17996
 
 
17997
 
#ifdef __cplusplus
17998
 
extern "C" void exit (int);
17999
 
#endif
18000
 
 
18001
 
void fnord() { int i=42;}
18002
 
int main ()
18003
 
{
18004
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18005
 
  int status = $lt_dlunknown;
18006
 
 
18007
 
  if (self)
18008
 
    {
18009
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18010
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18011
 
      /* dlclose (self); */
18012
 
    }
18013
 
 
18014
 
    exit (status);
18015
 
}
18016
 
EOF
18017
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18018
 
  (eval $ac_link) 2>&5
18019
 
  ac_status=$?
18020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18022
 
    (./conftest; exit; ) 2>/dev/null
18023
 
    lt_status=$?
18024
 
    case x$lt_status in
18025
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18026
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18027
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18028
 
    esac
18029
 
  else :
18030
 
    # compilation failed
18031
 
    lt_cv_dlopen_self=no
18032
 
  fi
18033
 
fi
18034
 
rm -fr conftest*
18035
 
 
18036
 
 
18037
 
fi
18038
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18039
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18040
 
 
18041
 
    if test "x$lt_cv_dlopen_self" = xyes; then
18042
 
      LDFLAGS="$LDFLAGS $link_static_flag"
18043
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18044
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18045
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
18046
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18047
 
else
18048
 
          if test "$cross_compiling" = yes; then :
18049
 
  lt_cv_dlopen_self_static=cross
18050
 
else
18051
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18052
 
  lt_status=$lt_dlunknown
18053
 
  cat > conftest.$ac_ext <<EOF
18054
 
#line 18054 "configure"
18055
 
#include "confdefs.h"
18056
 
 
18057
 
#if HAVE_DLFCN_H
18058
 
#include <dlfcn.h>
18059
 
#endif
18060
 
 
18061
 
#include <stdio.h>
18062
 
 
18063
 
#ifdef RTLD_GLOBAL
18064
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18065
 
#else
18066
 
#  ifdef DL_GLOBAL
18067
 
#    define LT_DLGLOBAL         DL_GLOBAL
18068
 
#  else
18069
 
#    define LT_DLGLOBAL         0
18070
 
#  endif
18071
 
#endif
18072
 
 
18073
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18074
 
   find out it does not work in some platform. */
18075
 
#ifndef LT_DLLAZY_OR_NOW
18076
 
#  ifdef RTLD_LAZY
18077
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18078
 
#  else
18079
 
#    ifdef DL_LAZY
18080
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18081
 
#    else
18082
 
#      ifdef RTLD_NOW
18083
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18084
 
#      else
18085
 
#        ifdef DL_NOW
18086
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18087
 
#        else
18088
 
#          define LT_DLLAZY_OR_NOW      0
18089
 
#        endif
18090
 
#      endif
18091
 
#    endif
18092
 
#  endif
18093
 
#endif
18094
 
 
18095
 
#ifdef __cplusplus
18096
 
extern "C" void exit (int);
18097
 
#endif
18098
 
 
18099
 
void fnord() { int i=42;}
18100
 
int main ()
18101
 
{
18102
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18103
 
  int status = $lt_dlunknown;
18104
 
 
18105
 
  if (self)
18106
 
    {
18107
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18108
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18109
 
      /* dlclose (self); */
18110
 
    }
18111
 
 
18112
 
    exit (status);
18113
 
}
18114
 
EOF
18115
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18116
 
  (eval $ac_link) 2>&5
18117
 
  ac_status=$?
18118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18120
 
    (./conftest; exit; ) 2>/dev/null
18121
 
    lt_status=$?
18122
 
    case x$lt_status in
18123
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18124
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18125
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18126
 
    esac
18127
 
  else :
18128
 
    # compilation failed
18129
 
    lt_cv_dlopen_self_static=no
18130
 
  fi
18131
 
fi
18132
 
rm -fr conftest*
18133
 
 
18134
 
 
18135
 
fi
18136
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18137
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18138
 
    fi
18139
 
 
18140
 
    CPPFLAGS="$save_CPPFLAGS"
18141
 
    LDFLAGS="$save_LDFLAGS"
18142
 
    LIBS="$save_LIBS"
18143
 
    ;;
18144
 
  esac
18145
 
 
18146
 
  case $lt_cv_dlopen_self in
18147
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18148
 
  *) enable_dlopen_self=unknown ;;
18149
 
  esac
18150
 
 
18151
 
  case $lt_cv_dlopen_self_static in
18152
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18153
 
  *) enable_dlopen_self_static=unknown ;;
18154
 
  esac
18155
 
fi
18156
 
 
18157
17710
 
18158
17711
# The else clause should only fire when bootstrapping the
18159
17712
# libtool distribution, otherwise you forgot to ship ltmain.sh
18168
17721
  # Now quote all the things that may contain metacharacters while being
18169
17722
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18170
17723
  # variables and quote the copies for generation of the libtool script.
18171
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
17724
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18172
17725
    SED SHELL STRIP \
18173
17726
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18174
17727
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18269
17822
# The host system.
18270
17823
host_alias=$host_alias
18271
17824
host=$host
 
17825
host_os=$host_os
 
17826
 
 
17827
# The build system.
 
17828
build_alias=$build_alias
 
17829
build=$build
 
17830
build_os=$build_os
18272
17831
 
18273
17832
# An echo program that does not interpret backslashes.
18274
17833
echo=$lt_echo
18280
17839
# A C compiler.
18281
17840
LTCC=$lt_LTCC
18282
17841
 
 
17842
# LTCC compiler flags.
 
17843
LTCFLAGS=$lt_LTCFLAGS
 
17844
 
18283
17845
# A language-specific compiler.
18284
17846
CC=$lt_compiler_GCJ
18285
17847
 
18345
17907
# Does compiler simultaneously support -c and -o options?
18346
17908
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18347
17909
 
18348
 
# Must we lock files when doing compilation ?
 
17910
# Must we lock files when doing compilation?
18349
17911
need_locks=$lt_need_locks
18350
17912
 
18351
17913
# Do we need the lib prefix for modules?
18589
18151
# If no C compiler was specified, use CC.
18590
18152
LTCC=${LTCC-"$CC"}
18591
18153
 
 
18154
# If no C compiler flags were specified, use CFLAGS.
 
18155
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
18156
 
18592
18157
# Allow CC to be a program name with arguments.
18593
18158
compiler=$CC
18594
18159
 
18595
18160
 
 
18161
# save warnings/boilerplate of simple test code
 
18162
ac_outfile=conftest.$ac_objext
 
18163
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
18164
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
18165
_lt_compiler_boilerplate=`cat conftest.err`
 
18166
$rm conftest*
 
18167
 
 
18168
ac_outfile=conftest.$ac_objext
 
18169
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
18170
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
18171
_lt_linker_boilerplate=`cat conftest.err`
 
18172
$rm conftest*
 
18173
 
 
18174
 
18596
18175
# Allow CC to be a program name with arguments.
18597
18176
lt_save_CC="$CC"
18598
18177
CC=${RC-"windres"}
18599
18178
compiler=$CC
18600
18179
compiler_RC=$CC
 
18180
for cc_temp in $compiler""; do
 
18181
  case $cc_temp in
 
18182
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
18183
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
18184
    \-*) ;;
 
18185
    *) break;;
 
18186
  esac
 
18187
done
 
18188
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
18189
 
18601
18190
lt_cv_prog_compiler_c_o_RC=yes
18602
18191
 
18603
18192
# The else clause should only fire when bootstrapping the
18613
18202
  # Now quote all the things that may contain metacharacters while being
18614
18203
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18615
18204
  # variables and quote the copies for generation of the libtool script.
18616
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
18205
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18617
18206
    SED SHELL STRIP \
18618
18207
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18619
18208
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18714
18303
# The host system.
18715
18304
host_alias=$host_alias
18716
18305
host=$host
 
18306
host_os=$host_os
 
18307
 
 
18308
# The build system.
 
18309
build_alias=$build_alias
 
18310
build=$build
 
18311
build_os=$build_os
18717
18312
 
18718
18313
# An echo program that does not interpret backslashes.
18719
18314
echo=$lt_echo
18725
18320
# A C compiler.
18726
18321
LTCC=$lt_LTCC
18727
18322
 
 
18323
# LTCC compiler flags.
 
18324
LTCFLAGS=$lt_LTCFLAGS
 
18325
 
18728
18326
# A language-specific compiler.
18729
18327
CC=$lt_compiler_RC
18730
18328
 
18790
18388
# Does compiler simultaneously support -c and -o options?
18791
18389
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18792
18390
 
18793
 
# Must we lock files when doing compilation ?
 
18391
# Must we lock files when doing compilation?
18794
18392
need_locks=$lt_need_locks
18795
18393
 
18796
18394
# Do we need the lib prefix for modules?
19066
18664
 
19067
18665
 
19068
18666
 
 
18667
 
 
18668
case "$am__api_version" in
 
18669
    1.01234)
 
18670
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
18671
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
18672
   { (exit 1); exit 1; }; }
 
18673
    ;;
 
18674
    *)
 
18675
    ;;
 
18676
esac
 
18677
 
 
18678
if test -n ""; then
 
18679
    echo "$as_me:$LINENO: checking for intltool >= " >&5
 
18680
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6
 
18681
 
 
18682
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 100 + $ 2; }'`
 
18683
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
 
18684
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 100 + VERSION[2];}' ${ac_aux_dir}/intltool-update.in`
 
18685
 
 
18686
    echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
18687
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
 
18688
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
18689
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool  or later." >&5
 
18690
echo "$as_me: error: Your intltool is too old.  You need intltool  or later." >&2;}
 
18691
   { (exit 1); exit 1; }; }
 
18692
fi
 
18693
 
 
18694
  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 $< $@'
 
18695
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.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 $< $@'
 
18696
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
18697
     INTLTOOL_PROP_RULE='%.prop:      %.prop.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 $< $@'
 
18698
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
18699
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
18700
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
18701
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
18702
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.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 $< $@'
 
18703
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
18704
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
18705
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
18706
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
18707
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
18708
    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 $< $@'
 
18709
  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 $< $@'
 
18710
    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 $< $@'
 
18711
    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 $< $@'
 
18712
 
 
18713
 
 
18714
 
 
18715
 
 
18716
 
 
18717
 
 
18718
 
 
18719
 
 
18720
 
 
18721
 
 
18722
 
 
18723
 
 
18724
 
 
18725
 
 
18726
 
 
18727
 
 
18728
 
 
18729
 
 
18730
 
 
18731
 
 
18732
# Use the tools built into the package, not the ones that are installed.
 
18733
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
 
18734
 
 
18735
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
 
18736
 
 
18737
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
 
18738
 
 
18739
 
 
18740
# Extract the first word of "perl", so it can be a program name with args.
 
18741
set dummy perl; ac_word=$2
 
18742
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18743
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
18744
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
18745
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18746
else
 
18747
  case $INTLTOOL_PERL in
 
18748
  [\\/]* | ?:[\\/]*)
 
18749
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
18750
  ;;
 
18751
  *)
 
18752
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18753
for as_dir in $PATH
 
18754
do
 
18755
  IFS=$as_save_IFS
 
18756
  test -z "$as_dir" && as_dir=.
 
18757
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18758
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
18759
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
18760
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18761
    break 2
 
18762
  fi
 
18763
done
 
18764
done
 
18765
 
 
18766
  ;;
 
18767
esac
 
18768
fi
 
18769
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
18770
 
 
18771
if test -n "$INTLTOOL_PERL"; then
 
18772
  echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
18773
echo "${ECHO_T}$INTLTOOL_PERL" >&6
 
18774
else
 
18775
  echo "$as_me:$LINENO: result: no" >&5
 
18776
echo "${ECHO_T}no" >&6
 
18777
fi
 
18778
 
 
18779
if test -z "$INTLTOOL_PERL"; then
 
18780
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
 
18781
echo "$as_me: error: perl not found; required for intltool" >&2;}
 
18782
   { (exit 1); exit 1; }; }
 
18783
fi
 
18784
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
 
18785
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
 
18786
echo "$as_me: error: perl 5.x required for intltool" >&2;}
 
18787
   { (exit 1); exit 1; }; }
 
18788
fi
 
18789
if test "x" != "xno-xml"; then
 
18790
   echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
18791
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
 
18792
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
18793
       echo "$as_me:$LINENO: result: ok" >&5
 
18794
echo "${ECHO_T}ok" >&6
 
18795
   else
 
18796
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
 
18797
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
 
18798
   { (exit 1); exit 1; }; }
 
18799
   fi
 
18800
fi
 
18801
 
 
18802
# Extract the first word of "iconv", so it can be a program name with args.
 
18803
set dummy iconv; ac_word=$2
 
18804
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18805
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
18806
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
 
18807
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18808
else
 
18809
  case $INTLTOOL_ICONV in
 
18810
  [\\/]* | ?:[\\/]*)
 
18811
  ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
 
18812
  ;;
 
18813
  *)
 
18814
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18815
for as_dir in $PATH
 
18816
do
 
18817
  IFS=$as_save_IFS
 
18818
  test -z "$as_dir" && as_dir=.
 
18819
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18820
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
18821
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
 
18822
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18823
    break 2
 
18824
  fi
 
18825
done
 
18826
done
 
18827
 
 
18828
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
 
18829
  ;;
 
18830
esac
 
18831
fi
 
18832
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
 
18833
 
 
18834
if test -n "$INTLTOOL_ICONV"; then
 
18835
  echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
 
18836
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
 
18837
else
 
18838
  echo "$as_me:$LINENO: result: no" >&5
 
18839
echo "${ECHO_T}no" >&6
 
18840
fi
 
18841
 
 
18842
# Extract the first word of "msgfmt", so it can be a program name with args.
 
18843
set dummy msgfmt; ac_word=$2
 
18844
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
18846
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
 
18847
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18848
else
 
18849
  case $INTLTOOL_MSGFMT in
 
18850
  [\\/]* | ?:[\\/]*)
 
18851
  ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
 
18852
  ;;
 
18853
  *)
 
18854
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18855
for as_dir in $PATH
 
18856
do
 
18857
  IFS=$as_save_IFS
 
18858
  test -z "$as_dir" && as_dir=.
 
18859
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18860
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
18861
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
18862
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18863
    break 2
 
18864
  fi
 
18865
done
 
18866
done
 
18867
 
 
18868
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
 
18869
  ;;
 
18870
esac
 
18871
fi
 
18872
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
 
18873
 
 
18874
if test -n "$INTLTOOL_MSGFMT"; then
 
18875
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
 
18876
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
 
18877
else
 
18878
  echo "$as_me:$LINENO: result: no" >&5
 
18879
echo "${ECHO_T}no" >&6
 
18880
fi
 
18881
 
 
18882
# Extract the first word of "msgmerge", so it can be a program name with args.
 
18883
set dummy msgmerge; ac_word=$2
 
18884
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18885
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
18886
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
 
18887
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18888
else
 
18889
  case $INTLTOOL_MSGMERGE in
 
18890
  [\\/]* | ?:[\\/]*)
 
18891
  ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
 
18892
  ;;
 
18893
  *)
 
18894
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18895
for as_dir in $PATH
 
18896
do
 
18897
  IFS=$as_save_IFS
 
18898
  test -z "$as_dir" && as_dir=.
 
18899
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18900
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
18901
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
18902
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18903
    break 2
 
18904
  fi
 
18905
done
 
18906
done
 
18907
 
 
18908
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
 
18909
  ;;
 
18910
esac
 
18911
fi
 
18912
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
 
18913
 
 
18914
if test -n "$INTLTOOL_MSGMERGE"; then
 
18915
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
 
18916
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
 
18917
else
 
18918
  echo "$as_me:$LINENO: result: no" >&5
 
18919
echo "${ECHO_T}no" >&6
 
18920
fi
 
18921
 
 
18922
# Extract the first word of "xgettext", so it can be a program name with args.
 
18923
set dummy xgettext; ac_word=$2
 
18924
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
18926
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
 
18927
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18928
else
 
18929
  case $INTLTOOL_XGETTEXT in
 
18930
  [\\/]* | ?:[\\/]*)
 
18931
  ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
 
18932
  ;;
 
18933
  *)
 
18934
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18935
for as_dir in $PATH
 
18936
do
 
18937
  IFS=$as_save_IFS
 
18938
  test -z "$as_dir" && as_dir=.
 
18939
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18940
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
18941
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
18942
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18943
    break 2
 
18944
  fi
 
18945
done
 
18946
done
 
18947
 
 
18948
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
 
18949
  ;;
 
18950
esac
 
18951
fi
 
18952
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
 
18953
 
 
18954
if test -n "$INTLTOOL_XGETTEXT"; then
 
18955
  echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
 
18956
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
 
18957
else
 
18958
  echo "$as_me:$LINENO: result: no" >&5
 
18959
echo "${ECHO_T}no" >&6
 
18960
fi
 
18961
 
 
18962
 
 
18963
 
 
18964
 
 
18965
 
 
18966
          ac_config_commands="$ac_config_commands intltool"
 
18967
 
 
18968
 
 
18969
 
 
18970
 
19069
18971
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
19070
18972
 
19071
18973
echo "$as_me:$LINENO: checking for library containing strerror" >&5
21033
20935
_ACEOF
21034
20936
 
21035
20937
 
21036
 
ALL_LINGUAS="bg cs de el en_CA es eu fr hu it ja nb ne no pa pt_BR rw sk sq sr sr@Latn sv xh zh_CN"
 
20938
ALL_LINGUAS="bg ca cs de el en_CA es eu fr hu it ja lt nb ne pa pl pt_BR rw sk sq sr sr@Latn sv uk vi xh zh_CN"
21037
20939
 
21038
20940
 
21039
20941
for ac_header in locale.h
21415
21317
int
21416
21318
main ()
21417
21319
{
21418
 
return (int) ngettext ("","", 1)
 
21320
return !ngettext ("","", 1)
21419
21321
  ;
21420
21322
  return 0;
21421
21323
}
21473
21375
int
21474
21376
main ()
21475
21377
{
21476
 
return (int) dgettext ("","")
 
21378
return !dgettext ("","")
21477
21379
  ;
21478
21380
  return 0;
21479
21381
}
22589
22491
 
22590
22492
 
22591
22493
 
22592
 
  succeeded=no
22593
 
 
22594
 
  if test -z "$PKG_CONFIG"; then
22595
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
22596
 
set dummy pkg-config; ac_word=$2
22597
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22598
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22599
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22601
 
else
22602
 
  case $PKG_CONFIG in
22603
 
  [\\/]* | ?:[\\/]*)
22604
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22605
 
  ;;
22606
 
  *)
22607
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22608
 
for as_dir in $PATH
22609
 
do
22610
 
  IFS=$as_save_IFS
22611
 
  test -z "$as_dir" && as_dir=.
22612
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22613
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22614
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22615
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22616
 
    break 2
22617
 
  fi
22618
 
done
22619
 
done
22620
 
 
22621
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22622
 
  ;;
22623
 
esac
22624
 
fi
22625
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22626
 
 
22627
 
if test -n "$PKG_CONFIG"; then
22628
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22629
 
echo "${ECHO_T}$PKG_CONFIG" >&6
22630
 
else
22631
 
  echo "$as_me:$LINENO: result: no" >&5
22632
 
echo "${ECHO_T}no" >&6
22633
 
fi
22634
 
 
22635
 
  fi
22636
 
 
22637
 
  if test "$PKG_CONFIG" = "no" ; then
22638
 
     echo "*** The pkg-config script could not be found. Make sure it is"
22639
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
22640
 
     echo "*** to the full path to pkg-config."
22641
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22642
 
  else
22643
 
     PKG_CONFIG_MIN_VERSION=0.9.0
22644
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22645
 
        echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.7.3" >&5
22646
 
echo $ECHO_N "checking for gtk+-2.0 >= 2.7.3... $ECHO_C" >&6
22647
 
 
22648
 
        if $PKG_CONFIG --exists "gtk+-2.0 >= 2.7.3" ; then
22649
 
            echo "$as_me:$LINENO: result: yes" >&5
22650
 
echo "${ECHO_T}yes" >&6
22651
 
            succeeded=yes
22652
 
 
22653
 
            echo "$as_me:$LINENO: checking GTK_VER_CFLAGS" >&5
22654
 
echo $ECHO_N "checking GTK_VER_CFLAGS... $ECHO_C" >&6
22655
 
            GTK_VER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.7.3"`
22656
 
            echo "$as_me:$LINENO: result: $GTK_VER_CFLAGS" >&5
22657
 
echo "${ECHO_T}$GTK_VER_CFLAGS" >&6
22658
 
 
22659
 
            echo "$as_me:$LINENO: checking GTK_VER_LIBS" >&5
22660
 
echo $ECHO_N "checking GTK_VER_LIBS... $ECHO_C" >&6
22661
 
            GTK_VER_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.7.3"`
22662
 
            echo "$as_me:$LINENO: result: $GTK_VER_LIBS" >&5
22663
 
echo "${ECHO_T}$GTK_VER_LIBS" >&6
22664
 
        else
22665
 
            GTK_VER_CFLAGS=""
22666
 
            GTK_VER_LIBS=""
22667
 
            ## If we have a custom action on failure, don't print errors, but
22668
 
            ## do set a variable so people can do so.
22669
 
            GTK_VER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.7.3"`
22670
 
 
22671
 
        fi
22672
 
 
22673
 
 
22674
 
 
22675
 
     else
22676
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22677
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
22678
 
     fi
22679
 
  fi
22680
 
 
22681
 
  if test $succeeded = yes; then
22682
 
     GTK_VER="-DNEW_GTK"
22683
 
  else
22684
 
     GTK_VER="-UNEW_GTK"
22685
 
  fi
22686
 
 
22687
 
 
22688
 
 
22689
 
 
22690
 
  succeeded=no
22691
 
 
22692
 
  if test -z "$PKG_CONFIG"; then
22693
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
22694
 
set dummy pkg-config; ac_word=$2
22695
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22696
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22697
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22698
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22699
 
else
22700
 
  case $PKG_CONFIG in
22701
 
  [\\/]* | ?:[\\/]*)
22702
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22703
 
  ;;
22704
 
  *)
22705
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22706
 
for as_dir in $PATH
22707
 
do
22708
 
  IFS=$as_save_IFS
22709
 
  test -z "$as_dir" && as_dir=.
22710
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22711
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22712
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22713
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22714
 
    break 2
22715
 
  fi
22716
 
done
22717
 
done
22718
 
 
22719
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22720
 
  ;;
22721
 
esac
22722
 
fi
22723
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22724
 
 
22725
 
if test -n "$PKG_CONFIG"; then
22726
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22727
 
echo "${ECHO_T}$PKG_CONFIG" >&6
22728
 
else
22729
 
  echo "$as_me:$LINENO: result: no" >&5
22730
 
echo "${ECHO_T}no" >&6
22731
 
fi
22732
 
 
22733
 
  fi
22734
 
 
22735
 
  if test "$PKG_CONFIG" = "no" ; then
22736
 
     echo "*** The pkg-config script could not be found. Make sure it is"
22737
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
22738
 
     echo "*** to the full path to pkg-config."
22739
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22740
 
  else
22741
 
     PKG_CONFIG_MIN_VERSION=0.9.0
22742
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22743
 
        echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.6.0" >&5
22744
 
echo $ECHO_N "checking for gtk+-2.0 >= 2.6.0... $ECHO_C" >&6
22745
 
 
22746
 
        if $PKG_CONFIG --exists "gtk+-2.0 >= 2.6.0" ; then
22747
 
            echo "$as_me:$LINENO: result: yes" >&5
22748
 
echo "${ECHO_T}yes" >&6
22749
 
            succeeded=yes
22750
 
 
22751
 
            echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
22752
 
echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
22753
 
            GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.6.0"`
22754
 
            echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
22755
 
echo "${ECHO_T}$GTK_CFLAGS" >&6
22756
 
 
22757
 
            echo "$as_me:$LINENO: checking GTK_LIBS" >&5
22758
 
echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
22759
 
            GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.6.0"`
22760
 
            echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
22761
 
echo "${ECHO_T}$GTK_LIBS" >&6
22762
 
        else
22763
 
            GTK_CFLAGS=""
22764
 
            GTK_LIBS=""
22765
 
            ## If we have a custom action on failure, don't print errors, but
22766
 
            ## do set a variable so people can do so.
22767
 
            GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"`
22768
 
            echo $GTK_PKG_ERRORS
22769
 
        fi
22770
 
 
22771
 
 
22772
 
 
22773
 
     else
22774
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22775
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
22776
 
     fi
22777
 
  fi
22778
 
 
22779
 
  if test $succeeded = yes; then
22780
 
     :
22781
 
  else
22782
 
     { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22783
 
echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22784
 
   { (exit 1); exit 1; }; }
22785
 
  fi
22786
 
 
22787
 
 
22788
 
 
22789
 
 
22790
 
 
22791
 
 
22792
 
  succeeded=no
22793
 
 
22794
 
  if test -z "$PKG_CONFIG"; then
22795
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
22796
 
set dummy pkg-config; ac_word=$2
22797
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22798
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22799
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22800
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22801
 
else
22802
 
  case $PKG_CONFIG in
22803
 
  [\\/]* | ?:[\\/]*)
22804
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22805
 
  ;;
22806
 
  *)
22807
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22808
 
for as_dir in $PATH
22809
 
do
22810
 
  IFS=$as_save_IFS
22811
 
  test -z "$as_dir" && as_dir=.
22812
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22813
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22814
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22815
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22816
 
    break 2
22817
 
  fi
22818
 
done
22819
 
done
22820
 
 
22821
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22822
 
  ;;
22823
 
esac
22824
 
fi
22825
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22826
 
 
22827
 
if test -n "$PKG_CONFIG"; then
22828
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22829
 
echo "${ECHO_T}$PKG_CONFIG" >&6
22830
 
else
22831
 
  echo "$as_me:$LINENO: result: no" >&5
22832
 
echo "${ECHO_T}no" >&6
22833
 
fi
22834
 
 
22835
 
  fi
22836
 
 
22837
 
  if test "$PKG_CONFIG" = "no" ; then
22838
 
     echo "*** The pkg-config script could not be found. Make sure it is"
22839
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
22840
 
     echo "*** to the full path to pkg-config."
22841
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22842
 
  else
22843
 
     PKG_CONFIG_MIN_VERSION=0.9.0
22844
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22845
 
        echo "$as_me:$LINENO: checking for libpanelapplet-2.0 >= 2.9.4" >&5
22846
 
echo $ECHO_N "checking for libpanelapplet-2.0 >= 2.9.4... $ECHO_C" >&6
22847
 
 
22848
 
        if $PKG_CONFIG --exists "libpanelapplet-2.0 >= 2.9.4" ; then
22849
 
            echo "$as_me:$LINENO: result: yes" >&5
22850
 
echo "${ECHO_T}yes" >&6
22851
 
            succeeded=yes
22852
 
 
22853
 
            echo "$as_me:$LINENO: checking PANEL_VER_CFLAGS" >&5
22854
 
echo $ECHO_N "checking PANEL_VER_CFLAGS... $ECHO_C" >&6
22855
 
            PANEL_VER_CFLAGS=`$PKG_CONFIG --cflags "libpanelapplet-2.0 >= 2.9.4"`
22856
 
            echo "$as_me:$LINENO: result: $PANEL_VER_CFLAGS" >&5
22857
 
echo "${ECHO_T}$PANEL_VER_CFLAGS" >&6
22858
 
 
22859
 
            echo "$as_me:$LINENO: checking PANEL_VER_LIBS" >&5
22860
 
echo $ECHO_N "checking PANEL_VER_LIBS... $ECHO_C" >&6
22861
 
            PANEL_VER_LIBS=`$PKG_CONFIG --libs "libpanelapplet-2.0 >= 2.9.4"`
22862
 
            echo "$as_me:$LINENO: result: $PANEL_VER_LIBS" >&5
22863
 
echo "${ECHO_T}$PANEL_VER_LIBS" >&6
22864
 
        else
22865
 
            PANEL_VER_CFLAGS=""
22866
 
            PANEL_VER_LIBS=""
22867
 
            ## If we have a custom action on failure, don't print errors, but
22868
 
            ## do set a variable so people can do so.
22869
 
            PANEL_VER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpanelapplet-2.0 >= 2.9.4"`
22870
 
 
22871
 
        fi
22872
 
 
22873
 
 
22874
 
 
22875
 
     else
22876
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22877
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
22878
 
     fi
22879
 
  fi
22880
 
 
22881
 
  if test $succeeded = yes; then
22882
 
     PANEL_VER="-UUSE_OLDER_PANEL_APPLET"
22883
 
  else
22884
 
     PANEL_VER="-DUSE_OLDER_PANEL_APPLET"
22885
 
  fi
22886
 
 
22887
 
 
22888
 
 
22889
 
 
22890
 
  succeeded=no
22891
 
 
22892
 
  if test -z "$PKG_CONFIG"; then
22893
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
22894
 
set dummy pkg-config; ac_word=$2
22895
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22896
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22897
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22898
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22899
 
else
22900
 
  case $PKG_CONFIG in
22901
 
  [\\/]* | ?:[\\/]*)
22902
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22903
 
  ;;
22904
 
  *)
22905
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22906
 
for as_dir in $PATH
22907
 
do
22908
 
  IFS=$as_save_IFS
22909
 
  test -z "$as_dir" && as_dir=.
22910
 
  for ac_exec_ext in '' $ac_executable_extensions; do
22911
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22912
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22913
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22914
 
    break 2
22915
 
  fi
22916
 
done
22917
 
done
22918
 
 
22919
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22920
 
  ;;
22921
 
esac
22922
 
fi
22923
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22924
 
 
22925
 
if test -n "$PKG_CONFIG"; then
22926
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22927
 
echo "${ECHO_T}$PKG_CONFIG" >&6
22928
 
else
22929
 
  echo "$as_me:$LINENO: result: no" >&5
22930
 
echo "${ECHO_T}no" >&6
22931
 
fi
22932
 
 
22933
 
  fi
22934
 
 
22935
 
  if test "$PKG_CONFIG" = "no" ; then
22936
 
     echo "*** The pkg-config script could not be found. Make sure it is"
22937
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
22938
 
     echo "*** to the full path to pkg-config."
22939
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22940
 
  else
22941
 
     PKG_CONFIG_MIN_VERSION=0.9.0
22942
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22943
 
        echo "$as_me:$LINENO: checking for libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0" >&5
22944
 
echo $ECHO_N "checking for libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0... $ECHO_C" >&6
22945
 
 
22946
 
        if $PKG_CONFIG --exists "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0" ; then
22947
 
            echo "$as_me:$LINENO: result: yes" >&5
22948
 
echo "${ECHO_T}yes" >&6
22949
 
            succeeded=yes
22950
 
 
22951
 
            echo "$as_me:$LINENO: checking PANEL_CFLAGS" >&5
22952
 
echo $ECHO_N "checking PANEL_CFLAGS... $ECHO_C" >&6
22953
 
            PANEL_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0"`
22954
 
            echo "$as_me:$LINENO: result: $PANEL_CFLAGS" >&5
22955
 
echo "${ECHO_T}$PANEL_CFLAGS" >&6
22956
 
 
22957
 
            echo "$as_me:$LINENO: checking PANEL_LIBS" >&5
22958
 
echo $ECHO_N "checking PANEL_LIBS... $ECHO_C" >&6
22959
 
            PANEL_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0"`
22960
 
            echo "$as_me:$LINENO: result: $PANEL_LIBS" >&5
22961
 
echo "${ECHO_T}$PANEL_LIBS" >&6
22962
 
        else
22963
 
            PANEL_CFLAGS=""
22964
 
            PANEL_LIBS=""
22965
 
            ## If we have a custom action on failure, don't print errors, but
22966
 
            ## do set a variable so people can do so.
22967
 
            PANEL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0"`
22968
 
            echo $PANEL_PKG_ERRORS
22969
 
        fi
22970
 
 
22971
 
 
22972
 
 
22973
 
     else
22974
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22975
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
22976
 
     fi
22977
 
  fi
22978
 
 
22979
 
  if test $succeeded = yes; then
22980
 
     :
22981
 
  else
22982
 
     { { echo "$as_me:$LINENO: error: Library requirements (libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22983
 
echo "$as_me: error: Library requirements (libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22984
 
   { (exit 1); exit 1; }; }
22985
 
  fi
22986
 
 
22987
 
 
22988
 
 
22989
 
 
22990
 
 
22991
 
  succeeded=no
22992
 
 
22993
 
  if test -z "$PKG_CONFIG"; then
22994
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
22995
 
set dummy pkg-config; ac_word=$2
22996
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22997
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22998
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23000
 
else
23001
 
  case $PKG_CONFIG in
23002
 
  [\\/]* | ?:[\\/]*)
23003
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23004
 
  ;;
23005
 
  *)
23006
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23007
 
for as_dir in $PATH
23008
 
do
23009
 
  IFS=$as_save_IFS
23010
 
  test -z "$as_dir" && as_dir=.
23011
 
  for ac_exec_ext in '' $ac_executable_extensions; do
23012
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23013
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23014
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23015
 
    break 2
23016
 
  fi
23017
 
done
23018
 
done
23019
 
 
23020
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23021
 
  ;;
23022
 
esac
23023
 
fi
23024
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23025
 
 
23026
 
if test -n "$PKG_CONFIG"; then
23027
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23028
 
echo "${ECHO_T}$PKG_CONFIG" >&6
23029
 
else
23030
 
  echo "$as_me:$LINENO: result: no" >&5
23031
 
echo "${ECHO_T}no" >&6
23032
 
fi
23033
 
 
23034
 
  fi
23035
 
 
23036
 
  if test "$PKG_CONFIG" = "no" ; then
23037
 
     echo "*** The pkg-config script could not be found. Make sure it is"
23038
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
23039
 
     echo "*** to the full path to pkg-config."
23040
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23041
 
  else
23042
 
     PKG_CONFIG_MIN_VERSION=0.9.0
23043
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23044
 
        echo "$as_me:$LINENO: checking for libglade-2.0" >&5
23045
 
echo $ECHO_N "checking for libglade-2.0... $ECHO_C" >&6
23046
 
 
23047
 
        if $PKG_CONFIG --exists "libglade-2.0" ; then
23048
 
            echo "$as_me:$LINENO: result: yes" >&5
23049
 
echo "${ECHO_T}yes" >&6
23050
 
            succeeded=yes
23051
 
 
23052
 
            echo "$as_me:$LINENO: checking GLADE_CFLAGS" >&5
23053
 
echo $ECHO_N "checking GLADE_CFLAGS... $ECHO_C" >&6
23054
 
            GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0"`
23055
 
            echo "$as_me:$LINENO: result: $GLADE_CFLAGS" >&5
23056
 
echo "${ECHO_T}$GLADE_CFLAGS" >&6
23057
 
 
23058
 
            echo "$as_me:$LINENO: checking GLADE_LIBS" >&5
23059
 
echo $ECHO_N "checking GLADE_LIBS... $ECHO_C" >&6
23060
 
            GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0"`
23061
 
            echo "$as_me:$LINENO: result: $GLADE_LIBS" >&5
23062
 
echo "${ECHO_T}$GLADE_LIBS" >&6
23063
 
        else
23064
 
            GLADE_CFLAGS=""
23065
 
            GLADE_LIBS=""
23066
 
            ## If we have a custom action on failure, don't print errors, but
23067
 
            ## do set a variable so people can do so.
23068
 
            GLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0"`
23069
 
            echo $GLADE_PKG_ERRORS
23070
 
        fi
23071
 
 
23072
 
 
23073
 
 
23074
 
     else
23075
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23076
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
23077
 
     fi
23078
 
  fi
23079
 
 
23080
 
  if test $succeeded = yes; then
23081
 
     :
23082
 
  else
23083
 
     { { echo "$as_me:$LINENO: error: Library requirements (libglade-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
23084
 
echo "$as_me: error: Library requirements (libglade-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
23085
 
   { (exit 1); exit 1; }; }
23086
 
  fi
23087
 
 
23088
 
 
23089
 
 
23090
 
 
23091
 
 
23092
 
  succeeded=no
23093
 
 
23094
 
  if test -z "$PKG_CONFIG"; then
23095
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
23096
 
set dummy pkg-config; ac_word=$2
23097
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
23098
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23099
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23100
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23101
 
else
23102
 
  case $PKG_CONFIG in
23103
 
  [\\/]* | ?:[\\/]*)
23104
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23105
 
  ;;
23106
 
  *)
23107
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23108
 
for as_dir in $PATH
23109
 
do
23110
 
  IFS=$as_save_IFS
23111
 
  test -z "$as_dir" && as_dir=.
23112
 
  for ac_exec_ext in '' $ac_executable_extensions; do
23113
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23114
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23115
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23116
 
    break 2
23117
 
  fi
23118
 
done
23119
 
done
23120
 
 
23121
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23122
 
  ;;
23123
 
esac
23124
 
fi
23125
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23126
 
 
23127
 
if test -n "$PKG_CONFIG"; then
23128
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23129
 
echo "${ECHO_T}$PKG_CONFIG" >&6
23130
 
else
23131
 
  echo "$as_me:$LINENO: result: no" >&5
23132
 
echo "${ECHO_T}no" >&6
23133
 
fi
23134
 
 
23135
 
  fi
23136
 
 
23137
 
  if test "$PKG_CONFIG" = "no" ; then
23138
 
     echo "*** The pkg-config script could not be found. Make sure it is"
23139
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
23140
 
     echo "*** to the full path to pkg-config."
23141
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23142
 
  else
23143
 
     PKG_CONFIG_MIN_VERSION=0.9.0
23144
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23145
 
        echo "$as_me:$LINENO: checking for libebook-1.2" >&5
23146
 
echo $ECHO_N "checking for libebook-1.2... $ECHO_C" >&6
23147
 
 
23148
 
        if $PKG_CONFIG --exists "libebook-1.2" ; then
23149
 
            echo "$as_me:$LINENO: result: yes" >&5
23150
 
echo "${ECHO_T}yes" >&6
23151
 
            succeeded=yes
23152
 
 
23153
 
            echo "$as_me:$LINENO: checking TMP_EVO_CFLAGS" >&5
23154
 
echo $ECHO_N "checking TMP_EVO_CFLAGS... $ECHO_C" >&6
23155
 
            TMP_EVO_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2"`
23156
 
            echo "$as_me:$LINENO: result: $TMP_EVO_CFLAGS" >&5
23157
 
echo "${ECHO_T}$TMP_EVO_CFLAGS" >&6
23158
 
 
23159
 
            echo "$as_me:$LINENO: checking TMP_EVO_LIBS" >&5
23160
 
echo $ECHO_N "checking TMP_EVO_LIBS... $ECHO_C" >&6
23161
 
            TMP_EVO_LIBS=`$PKG_CONFIG --libs "libebook-1.2"`
23162
 
            echo "$as_me:$LINENO: result: $TMP_EVO_LIBS" >&5
23163
 
echo "${ECHO_T}$TMP_EVO_LIBS" >&6
23164
 
        else
23165
 
            TMP_EVO_CFLAGS=""
23166
 
            TMP_EVO_LIBS=""
23167
 
            ## If we have a custom action on failure, don't print errors, but
23168
 
            ## do set a variable so people can do so.
23169
 
            TMP_EVO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libebook-1.2"`
23170
 
 
23171
 
        fi
23172
 
 
23173
 
 
23174
 
 
23175
 
     else
23176
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23177
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
23178
 
     fi
23179
 
  fi
23180
 
 
23181
 
  if test $succeeded = yes; then
23182
 
     evo_pc_file="libebook-1.2"
23183
 
  else
23184
 
     evo_pc_file="libebook-1.0"
23185
 
  fi
23186
 
 
23187
 
 
23188
 
  succeeded=no
23189
 
 
23190
 
  if test -z "$PKG_CONFIG"; then
23191
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
23192
 
set dummy pkg-config; ac_word=$2
23193
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
23194
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23195
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23196
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23197
 
else
23198
 
  case $PKG_CONFIG in
23199
 
  [\\/]* | ?:[\\/]*)
23200
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23201
 
  ;;
23202
 
  *)
23203
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23204
 
for as_dir in $PATH
23205
 
do
23206
 
  IFS=$as_save_IFS
23207
 
  test -z "$as_dir" && as_dir=.
23208
 
  for ac_exec_ext in '' $ac_executable_extensions; do
23209
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23210
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23211
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23212
 
    break 2
23213
 
  fi
23214
 
done
23215
 
done
23216
 
 
23217
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23218
 
  ;;
23219
 
esac
23220
 
fi
23221
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23222
 
 
23223
 
if test -n "$PKG_CONFIG"; then
23224
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23225
 
echo "${ECHO_T}$PKG_CONFIG" >&6
23226
 
else
23227
 
  echo "$as_me:$LINENO: result: no" >&5
23228
 
echo "${ECHO_T}no" >&6
23229
 
fi
23230
 
 
23231
 
  fi
23232
 
 
23233
 
  if test "$PKG_CONFIG" = "no" ; then
23234
 
     echo "*** The pkg-config script could not be found. Make sure it is"
23235
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
23236
 
     echo "*** to the full path to pkg-config."
23237
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23238
 
  else
23239
 
     PKG_CONFIG_MIN_VERSION=0.9.0
23240
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23241
 
        echo "$as_me:$LINENO: checking for $evo_pc_file" >&5
23242
 
echo $ECHO_N "checking for $evo_pc_file... $ECHO_C" >&6
23243
 
 
23244
 
        if $PKG_CONFIG --exists "$evo_pc_file" ; then
23245
 
            echo "$as_me:$LINENO: result: yes" >&5
23246
 
echo "${ECHO_T}yes" >&6
23247
 
            succeeded=yes
23248
 
 
23249
 
            echo "$as_me:$LINENO: checking EVO_CFLAGS" >&5
23250
 
echo $ECHO_N "checking EVO_CFLAGS... $ECHO_C" >&6
23251
 
            EVO_CFLAGS=`$PKG_CONFIG --cflags "$evo_pc_file"`
23252
 
            echo "$as_me:$LINENO: result: $EVO_CFLAGS" >&5
23253
 
echo "${ECHO_T}$EVO_CFLAGS" >&6
23254
 
 
23255
 
            echo "$as_me:$LINENO: checking EVO_LIBS" >&5
23256
 
echo $ECHO_N "checking EVO_LIBS... $ECHO_C" >&6
23257
 
            EVO_LIBS=`$PKG_CONFIG --libs "$evo_pc_file"`
23258
 
            echo "$as_me:$LINENO: result: $EVO_LIBS" >&5
23259
 
echo "${ECHO_T}$EVO_LIBS" >&6
23260
 
        else
23261
 
            EVO_CFLAGS=""
23262
 
            EVO_LIBS=""
23263
 
            ## If we have a custom action on failure, don't print errors, but
23264
 
            ## do set a variable so people can do so.
23265
 
            EVO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$evo_pc_file"`
23266
 
            echo $EVO_PKG_ERRORS
23267
 
        fi
23268
 
 
23269
 
 
23270
 
 
23271
 
     else
23272
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23273
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
23274
 
     fi
23275
 
  fi
23276
 
 
23277
 
  if test $succeeded = yes; then
23278
 
     :
23279
 
  else
23280
 
     { { echo "$as_me:$LINENO: error: Library requirements ($evo_pc_file) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
23281
 
echo "$as_me: error: Library requirements ($evo_pc_file) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
23282
 
   { (exit 1); exit 1; }; }
23283
 
  fi
23284
 
 
 
22494
 
 
22495
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
22496
        if test -n "$ac_tool_prefix"; then
 
22497
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
22498
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
22499
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22500
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22501
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
22502
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22503
else
 
22504
  case $PKG_CONFIG in
 
22505
  [\\/]* | ?:[\\/]*)
 
22506
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
22507
  ;;
 
22508
  *)
 
22509
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22510
for as_dir in $PATH
 
22511
do
 
22512
  IFS=$as_save_IFS
 
22513
  test -z "$as_dir" && as_dir=.
 
22514
  for ac_exec_ext in '' $ac_executable_extensions; do
 
22515
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22516
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
22517
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
22518
    break 2
 
22519
  fi
 
22520
done
 
22521
done
 
22522
 
 
22523
  ;;
 
22524
esac
 
22525
fi
 
22526
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
22527
 
 
22528
if test -n "$PKG_CONFIG"; then
 
22529
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22530
echo "${ECHO_T}$PKG_CONFIG" >&6
 
22531
else
 
22532
  echo "$as_me:$LINENO: result: no" >&5
 
22533
echo "${ECHO_T}no" >&6
 
22534
fi
 
22535
 
 
22536
fi
 
22537
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
22538
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
22539
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
22540
set dummy pkg-config; ac_word=$2
 
22541
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22542
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22543
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
22544
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22545
else
 
22546
  case $ac_pt_PKG_CONFIG in
 
22547
  [\\/]* | ?:[\\/]*)
 
22548
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
22549
  ;;
 
22550
  *)
 
22551
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22552
for as_dir in $PATH
 
22553
do
 
22554
  IFS=$as_save_IFS
 
22555
  test -z "$as_dir" && as_dir=.
 
22556
  for ac_exec_ext in '' $ac_executable_extensions; do
 
22557
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22558
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
22559
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
22560
    break 2
 
22561
  fi
 
22562
done
 
22563
done
 
22564
 
 
22565
  ;;
 
22566
esac
 
22567
fi
 
22568
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
22569
 
 
22570
if test -n "$ac_pt_PKG_CONFIG"; then
 
22571
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
22572
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
22573
else
 
22574
  echo "$as_me:$LINENO: result: no" >&5
 
22575
echo "${ECHO_T}no" >&6
 
22576
fi
 
22577
 
 
22578
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
22579
else
 
22580
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
22581
fi
 
22582
 
 
22583
fi
 
22584
if test -n "$PKG_CONFIG"; then
 
22585
        _pkg_min_version=0.9.0
 
22586
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
22587
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
22588
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
22589
                echo "$as_me:$LINENO: result: yes" >&5
 
22590
echo "${ECHO_T}yes" >&6
 
22591
        else
 
22592
                echo "$as_me:$LINENO: result: no" >&5
 
22593
echo "${ECHO_T}no" >&6
 
22594
                PKG_CONFIG=""
 
22595
        fi
 
22596
 
 
22597
fi
 
22598
 
 
22599
pkg_failed=no
 
22600
echo "$as_me:$LINENO: checking for GTK_VER" >&5
 
22601
echo $ECHO_N "checking for GTK_VER... $ECHO_C" >&6
 
22602
 
 
22603
if test -n "$PKG_CONFIG"; then
 
22604
    if test -n "$GTK_VER_CFLAGS"; then
 
22605
        pkg_cv_GTK_VER_CFLAGS="$GTK_VER_CFLAGS"
 
22606
    else
 
22607
        if test -n "$PKG_CONFIG" && \
 
22608
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.7.3\"") >&5
 
22609
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.7.3") 2>&5
 
22610
  ac_status=$?
 
22611
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22612
  (exit $ac_status); }; then
 
22613
  pkg_cv_GTK_VER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.7.3" 2>/dev/null`
 
22614
else
 
22615
  pkg_failed=yes
 
22616
fi
 
22617
    fi
 
22618
else
 
22619
        pkg_failed=untried
 
22620
fi
 
22621
if test -n "$PKG_CONFIG"; then
 
22622
    if test -n "$GTK_VER_LIBS"; then
 
22623
        pkg_cv_GTK_VER_LIBS="$GTK_VER_LIBS"
 
22624
    else
 
22625
        if test -n "$PKG_CONFIG" && \
 
22626
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.7.3\"") >&5
 
22627
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.7.3") 2>&5
 
22628
  ac_status=$?
 
22629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22630
  (exit $ac_status); }; then
 
22631
  pkg_cv_GTK_VER_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.7.3" 2>/dev/null`
 
22632
else
 
22633
  pkg_failed=yes
 
22634
fi
 
22635
    fi
 
22636
else
 
22637
        pkg_failed=untried
 
22638
fi
 
22639
 
 
22640
 
 
22641
 
 
22642
if test $pkg_failed = yes; then
 
22643
 
 
22644
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22645
        _pkg_short_errors_supported=yes
 
22646
else
 
22647
        _pkg_short_errors_supported=no
 
22648
fi
 
22649
        if test $_pkg_short_errors_supported = yes; then
 
22650
                GTK_VER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.7.3"`
 
22651
        else
 
22652
                GTK_VER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.7.3"`
 
22653
        fi
 
22654
        # Put the nasty error message in config.log where it belongs
 
22655
        echo "$GTK_VER_PKG_ERRORS" >&5
 
22656
 
 
22657
        GTK_VER="-UNEW_GTK"
 
22658
elif test $pkg_failed = untried; then
 
22659
        GTK_VER="-UNEW_GTK"
 
22660
else
 
22661
        GTK_VER_CFLAGS=$pkg_cv_GTK_VER_CFLAGS
 
22662
        GTK_VER_LIBS=$pkg_cv_GTK_VER_LIBS
 
22663
        echo "$as_me:$LINENO: result: yes" >&5
 
22664
echo "${ECHO_T}yes" >&6
 
22665
        GTK_VER="-DNEW_GTK"
 
22666
fi
 
22667
 
 
22668
 
 
22669
 
 
22670
pkg_failed=no
 
22671
echo "$as_me:$LINENO: checking for GTK" >&5
 
22672
echo $ECHO_N "checking for GTK... $ECHO_C" >&6
 
22673
 
 
22674
if test -n "$PKG_CONFIG"; then
 
22675
    if test -n "$GTK_CFLAGS"; then
 
22676
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
22677
    else
 
22678
        if test -n "$PKG_CONFIG" && \
 
22679
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\"") >&5
 
22680
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.0") 2>&5
 
22681
  ac_status=$?
 
22682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22683
  (exit $ac_status); }; then
 
22684
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.6.0" 2>/dev/null`
 
22685
else
 
22686
  pkg_failed=yes
 
22687
fi
 
22688
    fi
 
22689
else
 
22690
        pkg_failed=untried
 
22691
fi
 
22692
if test -n "$PKG_CONFIG"; then
 
22693
    if test -n "$GTK_LIBS"; then
 
22694
        pkg_cv_GTK_LIBS="$GTK_LIBS"
 
22695
    else
 
22696
        if test -n "$PKG_CONFIG" && \
 
22697
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\"") >&5
 
22698
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.0") 2>&5
 
22699
  ac_status=$?
 
22700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22701
  (exit $ac_status); }; then
 
22702
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.6.0" 2>/dev/null`
 
22703
else
 
22704
  pkg_failed=yes
 
22705
fi
 
22706
    fi
 
22707
else
 
22708
        pkg_failed=untried
 
22709
fi
 
22710
 
 
22711
 
 
22712
 
 
22713
if test $pkg_failed = yes; then
 
22714
 
 
22715
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22716
        _pkg_short_errors_supported=yes
 
22717
else
 
22718
        _pkg_short_errors_supported=no
 
22719
fi
 
22720
        if test $_pkg_short_errors_supported = yes; then
 
22721
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"`
 
22722
        else
 
22723
                GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"`
 
22724
        fi
 
22725
        # Put the nasty error message in config.log where it belongs
 
22726
        echo "$GTK_PKG_ERRORS" >&5
 
22727
 
 
22728
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met:
 
22729
 
 
22730
$GTK_PKG_ERRORS
 
22731
 
 
22732
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
22733
installed software in a non-standard prefix.
 
22734
 
 
22735
Alternatively, you may set the environment variables GTK_CFLAGS
 
22736
and GTK_LIBS to avoid the need to call pkg-config.
 
22737
See the pkg-config man page for more details.
 
22738
" >&5
 
22739
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met:
 
22740
 
 
22741
$GTK_PKG_ERRORS
 
22742
 
 
22743
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
22744
installed software in a non-standard prefix.
 
22745
 
 
22746
Alternatively, you may set the environment variables GTK_CFLAGS
 
22747
and GTK_LIBS to avoid the need to call pkg-config.
 
22748
See the pkg-config man page for more details.
 
22749
" >&2;}
 
22750
   { (exit 1); exit 1; }; }
 
22751
elif test $pkg_failed = untried; then
 
22752
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22753
is in your PATH or set the PKG_CONFIG environment variable to the full
 
22754
path to pkg-config.
 
22755
 
 
22756
Alternatively, you may set the environment variables GTK_CFLAGS
 
22757
and GTK_LIBS to avoid the need to call pkg-config.
 
22758
See the pkg-config man page for more details.
 
22759
 
 
22760
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22761
See \`config.log' for more details." >&5
 
22762
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
22763
is in your PATH or set the PKG_CONFIG environment variable to the full
 
22764
path to pkg-config.
 
22765
 
 
22766
Alternatively, you may set the environment variables GTK_CFLAGS
 
22767
and GTK_LIBS to avoid the need to call pkg-config.
 
22768
See the pkg-config man page for more details.
 
22769
 
 
22770
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22771
See \`config.log' for more details." >&2;}
 
22772
   { (exit 1); exit 1; }; }
 
22773
else
 
22774
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 
22775
        GTK_LIBS=$pkg_cv_GTK_LIBS
 
22776
        echo "$as_me:$LINENO: result: yes" >&5
 
22777
echo "${ECHO_T}yes" >&6
 
22778
        :
 
22779
fi
 
22780
 
 
22781
 
 
22782
 
 
22783
 
 
22784
 
 
22785
pkg_failed=no
 
22786
echo "$as_me:$LINENO: checking for PANEL_VER" >&5
 
22787
echo $ECHO_N "checking for PANEL_VER... $ECHO_C" >&6
 
22788
 
 
22789
if test -n "$PKG_CONFIG"; then
 
22790
    if test -n "$PANEL_VER_CFLAGS"; then
 
22791
        pkg_cv_PANEL_VER_CFLAGS="$PANEL_VER_CFLAGS"
 
22792
    else
 
22793
        if test -n "$PKG_CONFIG" && \
 
22794
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpanelapplet-2.0 >= 2.9.4\"") >&5
 
22795
  ($PKG_CONFIG --exists --print-errors "libpanelapplet-2.0 >= 2.9.4") 2>&5
 
22796
  ac_status=$?
 
22797
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22798
  (exit $ac_status); }; then
 
22799
  pkg_cv_PANEL_VER_CFLAGS=`$PKG_CONFIG --cflags "libpanelapplet-2.0 >= 2.9.4" 2>/dev/null`
 
22800
else
 
22801
  pkg_failed=yes
 
22802
fi
 
22803
    fi
 
22804
else
 
22805
        pkg_failed=untried
 
22806
fi
 
22807
if test -n "$PKG_CONFIG"; then
 
22808
    if test -n "$PANEL_VER_LIBS"; then
 
22809
        pkg_cv_PANEL_VER_LIBS="$PANEL_VER_LIBS"
 
22810
    else
 
22811
        if test -n "$PKG_CONFIG" && \
 
22812
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpanelapplet-2.0 >= 2.9.4\"") >&5
 
22813
  ($PKG_CONFIG --exists --print-errors "libpanelapplet-2.0 >= 2.9.4") 2>&5
 
22814
  ac_status=$?
 
22815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22816
  (exit $ac_status); }; then
 
22817
  pkg_cv_PANEL_VER_LIBS=`$PKG_CONFIG --libs "libpanelapplet-2.0 >= 2.9.4" 2>/dev/null`
 
22818
else
 
22819
  pkg_failed=yes
 
22820
fi
 
22821
    fi
 
22822
else
 
22823
        pkg_failed=untried
 
22824
fi
 
22825
 
 
22826
 
 
22827
 
 
22828
if test $pkg_failed = yes; then
 
22829
 
 
22830
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22831
        _pkg_short_errors_supported=yes
 
22832
else
 
22833
        _pkg_short_errors_supported=no
 
22834
fi
 
22835
        if test $_pkg_short_errors_supported = yes; then
 
22836
                PANEL_VER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpanelapplet-2.0 >= 2.9.4"`
 
22837
        else
 
22838
                PANEL_VER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpanelapplet-2.0 >= 2.9.4"`
 
22839
        fi
 
22840
        # Put the nasty error message in config.log where it belongs
 
22841
        echo "$PANEL_VER_PKG_ERRORS" >&5
 
22842
 
 
22843
        PANEL_VER="-DUSE_OLDER_PANEL_APPLET"
 
22844
elif test $pkg_failed = untried; then
 
22845
        PANEL_VER="-DUSE_OLDER_PANEL_APPLET"
 
22846
else
 
22847
        PANEL_VER_CFLAGS=$pkg_cv_PANEL_VER_CFLAGS
 
22848
        PANEL_VER_LIBS=$pkg_cv_PANEL_VER_LIBS
 
22849
        echo "$as_me:$LINENO: result: yes" >&5
 
22850
echo "${ECHO_T}yes" >&6
 
22851
        PANEL_VER="-UUSE_OLDER_PANEL_APPLET"
 
22852
fi
 
22853
 
 
22854
 
 
22855
 
 
22856
pkg_failed=no
 
22857
echo "$as_me:$LINENO: checking for PANEL" >&5
 
22858
echo $ECHO_N "checking for PANEL... $ECHO_C" >&6
 
22859
 
 
22860
if test -n "$PKG_CONFIG"; then
 
22861
    if test -n "$PANEL_CFLAGS"; then
 
22862
        pkg_cv_PANEL_CFLAGS="$PANEL_CFLAGS"
 
22863
    else
 
22864
        if test -n "$PKG_CONFIG" && \
 
22865
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0\"") >&5
 
22866
  ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0") 2>&5
 
22867
  ac_status=$?
 
22868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22869
  (exit $ac_status); }; then
 
22870
  pkg_cv_PANEL_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0" 2>/dev/null`
 
22871
else
 
22872
  pkg_failed=yes
 
22873
fi
 
22874
    fi
 
22875
else
 
22876
        pkg_failed=untried
 
22877
fi
 
22878
if test -n "$PKG_CONFIG"; then
 
22879
    if test -n "$PANEL_LIBS"; then
 
22880
        pkg_cv_PANEL_LIBS="$PANEL_LIBS"
 
22881
    else
 
22882
        if test -n "$PKG_CONFIG" && \
 
22883
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0\"") >&5
 
22884
  ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0") 2>&5
 
22885
  ac_status=$?
 
22886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22887
  (exit $ac_status); }; then
 
22888
  pkg_cv_PANEL_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0" 2>/dev/null`
 
22889
else
 
22890
  pkg_failed=yes
 
22891
fi
 
22892
    fi
 
22893
else
 
22894
        pkg_failed=untried
 
22895
fi
 
22896
 
 
22897
 
 
22898
 
 
22899
if test $pkg_failed = yes; then
 
22900
 
 
22901
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22902
        _pkg_short_errors_supported=yes
 
22903
else
 
22904
        _pkg_short_errors_supported=no
 
22905
fi
 
22906
        if test $_pkg_short_errors_supported = yes; then
 
22907
                PANEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0"`
 
22908
        else
 
22909
                PANEL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0"`
 
22910
        fi
 
22911
        # Put the nasty error message in config.log where it belongs
 
22912
        echo "$PANEL_PKG_ERRORS" >&5
 
22913
 
 
22914
        { { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0) were not met:
 
22915
 
 
22916
$PANEL_PKG_ERRORS
 
22917
 
 
22918
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
22919
installed software in a non-standard prefix.
 
22920
 
 
22921
Alternatively, you may set the environment variables PANEL_CFLAGS
 
22922
and PANEL_LIBS to avoid the need to call pkg-config.
 
22923
See the pkg-config man page for more details.
 
22924
" >&5
 
22925
echo "$as_me: error: Package requirements (libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0) were not met:
 
22926
 
 
22927
$PANEL_PKG_ERRORS
 
22928
 
 
22929
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
22930
installed software in a non-standard prefix.
 
22931
 
 
22932
Alternatively, you may set the environment variables PANEL_CFLAGS
 
22933
and PANEL_LIBS to avoid the need to call pkg-config.
 
22934
See the pkg-config man page for more details.
 
22935
" >&2;}
 
22936
   { (exit 1); exit 1; }; }
 
22937
elif test $pkg_failed = untried; then
 
22938
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22939
is in your PATH or set the PKG_CONFIG environment variable to the full
 
22940
path to pkg-config.
 
22941
 
 
22942
Alternatively, you may set the environment variables PANEL_CFLAGS
 
22943
and PANEL_LIBS to avoid the need to call pkg-config.
 
22944
See the pkg-config man page for more details.
 
22945
 
 
22946
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22947
See \`config.log' for more details." >&5
 
22948
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
22949
is in your PATH or set the PKG_CONFIG environment variable to the full
 
22950
path to pkg-config.
 
22951
 
 
22952
Alternatively, you may set the environment variables PANEL_CFLAGS
 
22953
and PANEL_LIBS to avoid the need to call pkg-config.
 
22954
See the pkg-config man page for more details.
 
22955
 
 
22956
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22957
See \`config.log' for more details." >&2;}
 
22958
   { (exit 1); exit 1; }; }
 
22959
else
 
22960
        PANEL_CFLAGS=$pkg_cv_PANEL_CFLAGS
 
22961
        PANEL_LIBS=$pkg_cv_PANEL_LIBS
 
22962
        echo "$as_me:$LINENO: result: yes" >&5
 
22963
echo "${ECHO_T}yes" >&6
 
22964
        :
 
22965
fi
 
22966
 
 
22967
 
 
22968
 
 
22969
 
 
22970
pkg_failed=no
 
22971
echo "$as_me:$LINENO: checking for GLADE" >&5
 
22972
echo $ECHO_N "checking for GLADE... $ECHO_C" >&6
 
22973
 
 
22974
if test -n "$PKG_CONFIG"; then
 
22975
    if test -n "$GLADE_CFLAGS"; then
 
22976
        pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS"
 
22977
    else
 
22978
        if test -n "$PKG_CONFIG" && \
 
22979
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
 
22980
  ($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
 
22981
  ac_status=$?
 
22982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22983
  (exit $ac_status); }; then
 
22984
  pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0" 2>/dev/null`
 
22985
else
 
22986
  pkg_failed=yes
 
22987
fi
 
22988
    fi
 
22989
else
 
22990
        pkg_failed=untried
 
22991
fi
 
22992
if test -n "$PKG_CONFIG"; then
 
22993
    if test -n "$GLADE_LIBS"; then
 
22994
        pkg_cv_GLADE_LIBS="$GLADE_LIBS"
 
22995
    else
 
22996
        if test -n "$PKG_CONFIG" && \
 
22997
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
 
22998
  ($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
 
22999
  ac_status=$?
 
23000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23001
  (exit $ac_status); }; then
 
23002
  pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0" 2>/dev/null`
 
23003
else
 
23004
  pkg_failed=yes
 
23005
fi
 
23006
    fi
 
23007
else
 
23008
        pkg_failed=untried
 
23009
fi
 
23010
 
 
23011
 
 
23012
 
 
23013
if test $pkg_failed = yes; then
 
23014
 
 
23015
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23016
        _pkg_short_errors_supported=yes
 
23017
else
 
23018
        _pkg_short_errors_supported=no
 
23019
fi
 
23020
        if test $_pkg_short_errors_supported = yes; then
 
23021
                GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglade-2.0"`
 
23022
        else
 
23023
                GLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0"`
 
23024
        fi
 
23025
        # Put the nasty error message in config.log where it belongs
 
23026
        echo "$GLADE_PKG_ERRORS" >&5
 
23027
 
 
23028
        { { echo "$as_me:$LINENO: error: Package requirements (libglade-2.0) were not met:
 
23029
 
 
23030
$GLADE_PKG_ERRORS
 
23031
 
 
23032
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23033
installed software in a non-standard prefix.
 
23034
 
 
23035
Alternatively, you may set the environment variables GLADE_CFLAGS
 
23036
and GLADE_LIBS to avoid the need to call pkg-config.
 
23037
See the pkg-config man page for more details.
 
23038
" >&5
 
23039
echo "$as_me: error: Package requirements (libglade-2.0) were not met:
 
23040
 
 
23041
$GLADE_PKG_ERRORS
 
23042
 
 
23043
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23044
installed software in a non-standard prefix.
 
23045
 
 
23046
Alternatively, you may set the environment variables GLADE_CFLAGS
 
23047
and GLADE_LIBS to avoid the need to call pkg-config.
 
23048
See the pkg-config man page for more details.
 
23049
" >&2;}
 
23050
   { (exit 1); exit 1; }; }
 
23051
elif test $pkg_failed = untried; then
 
23052
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
23053
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23054
path to pkg-config.
 
23055
 
 
23056
Alternatively, you may set the environment variables GLADE_CFLAGS
 
23057
and GLADE_LIBS to avoid the need to call pkg-config.
 
23058
See the pkg-config man page for more details.
 
23059
 
 
23060
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23061
See \`config.log' for more details." >&5
 
23062
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
23063
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23064
path to pkg-config.
 
23065
 
 
23066
Alternatively, you may set the environment variables GLADE_CFLAGS
 
23067
and GLADE_LIBS to avoid the need to call pkg-config.
 
23068
See the pkg-config man page for more details.
 
23069
 
 
23070
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23071
See \`config.log' for more details." >&2;}
 
23072
   { (exit 1); exit 1; }; }
 
23073
else
 
23074
        GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS
 
23075
        GLADE_LIBS=$pkg_cv_GLADE_LIBS
 
23076
        echo "$as_me:$LINENO: result: yes" >&5
 
23077
echo "${ECHO_T}yes" >&6
 
23078
        :
 
23079
fi
 
23080
 
 
23081
 
 
23082
 
 
23083
 
 
23084
pkg_failed=no
 
23085
echo "$as_me:$LINENO: checking for TMP_EVO" >&5
 
23086
echo $ECHO_N "checking for TMP_EVO... $ECHO_C" >&6
 
23087
 
 
23088
if test -n "$PKG_CONFIG"; then
 
23089
    if test -n "$TMP_EVO_CFLAGS"; then
 
23090
        pkg_cv_TMP_EVO_CFLAGS="$TMP_EVO_CFLAGS"
 
23091
    else
 
23092
        if test -n "$PKG_CONFIG" && \
 
23093
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\"") >&5
 
23094
  ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
 
23095
  ac_status=$?
 
23096
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23097
  (exit $ac_status); }; then
 
23098
  pkg_cv_TMP_EVO_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2" 2>/dev/null`
 
23099
else
 
23100
  pkg_failed=yes
 
23101
fi
 
23102
    fi
 
23103
else
 
23104
        pkg_failed=untried
 
23105
fi
 
23106
if test -n "$PKG_CONFIG"; then
 
23107
    if test -n "$TMP_EVO_LIBS"; then
 
23108
        pkg_cv_TMP_EVO_LIBS="$TMP_EVO_LIBS"
 
23109
    else
 
23110
        if test -n "$PKG_CONFIG" && \
 
23111
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\"") >&5
 
23112
  ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
 
23113
  ac_status=$?
 
23114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23115
  (exit $ac_status); }; then
 
23116
  pkg_cv_TMP_EVO_LIBS=`$PKG_CONFIG --libs "libebook-1.2" 2>/dev/null`
 
23117
else
 
23118
  pkg_failed=yes
 
23119
fi
 
23120
    fi
 
23121
else
 
23122
        pkg_failed=untried
 
23123
fi
 
23124
 
 
23125
 
 
23126
 
 
23127
if test $pkg_failed = yes; then
 
23128
 
 
23129
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23130
        _pkg_short_errors_supported=yes
 
23131
else
 
23132
        _pkg_short_errors_supported=no
 
23133
fi
 
23134
        if test $_pkg_short_errors_supported = yes; then
 
23135
                TMP_EVO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libebook-1.2"`
 
23136
        else
 
23137
                TMP_EVO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libebook-1.2"`
 
23138
        fi
 
23139
        # Put the nasty error message in config.log where it belongs
 
23140
        echo "$TMP_EVO_PKG_ERRORS" >&5
 
23141
 
 
23142
        evo_pc_file="libebook-1.0"
 
23143
elif test $pkg_failed = untried; then
 
23144
        evo_pc_file="libebook-1.0"
 
23145
else
 
23146
        TMP_EVO_CFLAGS=$pkg_cv_TMP_EVO_CFLAGS
 
23147
        TMP_EVO_LIBS=$pkg_cv_TMP_EVO_LIBS
 
23148
        echo "$as_me:$LINENO: result: yes" >&5
 
23149
echo "${ECHO_T}yes" >&6
 
23150
        evo_pc_file="libebook-1.2"
 
23151
fi
 
23152
 
 
23153
pkg_failed=no
 
23154
echo "$as_me:$LINENO: checking for EVO" >&5
 
23155
echo $ECHO_N "checking for EVO... $ECHO_C" >&6
 
23156
 
 
23157
if test -n "$PKG_CONFIG"; then
 
23158
    if test -n "$EVO_CFLAGS"; then
 
23159
        pkg_cv_EVO_CFLAGS="$EVO_CFLAGS"
 
23160
    else
 
23161
        if test -n "$PKG_CONFIG" && \
 
23162
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$evo_pc_file\"") >&5
 
23163
  ($PKG_CONFIG --exists --print-errors "$evo_pc_file") 2>&5
 
23164
  ac_status=$?
 
23165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23166
  (exit $ac_status); }; then
 
23167
  pkg_cv_EVO_CFLAGS=`$PKG_CONFIG --cflags "$evo_pc_file" 2>/dev/null`
 
23168
else
 
23169
  pkg_failed=yes
 
23170
fi
 
23171
    fi
 
23172
else
 
23173
        pkg_failed=untried
 
23174
fi
 
23175
if test -n "$PKG_CONFIG"; then
 
23176
    if test -n "$EVO_LIBS"; then
 
23177
        pkg_cv_EVO_LIBS="$EVO_LIBS"
 
23178
    else
 
23179
        if test -n "$PKG_CONFIG" && \
 
23180
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$evo_pc_file\"") >&5
 
23181
  ($PKG_CONFIG --exists --print-errors "$evo_pc_file") 2>&5
 
23182
  ac_status=$?
 
23183
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23184
  (exit $ac_status); }; then
 
23185
  pkg_cv_EVO_LIBS=`$PKG_CONFIG --libs "$evo_pc_file" 2>/dev/null`
 
23186
else
 
23187
  pkg_failed=yes
 
23188
fi
 
23189
    fi
 
23190
else
 
23191
        pkg_failed=untried
 
23192
fi
 
23193
 
 
23194
 
 
23195
 
 
23196
if test $pkg_failed = yes; then
 
23197
 
 
23198
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23199
        _pkg_short_errors_supported=yes
 
23200
else
 
23201
        _pkg_short_errors_supported=no
 
23202
fi
 
23203
        if test $_pkg_short_errors_supported = yes; then
 
23204
                EVO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$evo_pc_file"`
 
23205
        else
 
23206
                EVO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$evo_pc_file"`
 
23207
        fi
 
23208
        # Put the nasty error message in config.log where it belongs
 
23209
        echo "$EVO_PKG_ERRORS" >&5
 
23210
 
 
23211
        { { echo "$as_me:$LINENO: error: Package requirements ($evo_pc_file) were not met:
 
23212
 
 
23213
$EVO_PKG_ERRORS
 
23214
 
 
23215
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23216
installed software in a non-standard prefix.
 
23217
 
 
23218
Alternatively, you may set the environment variables EVO_CFLAGS
 
23219
and EVO_LIBS to avoid the need to call pkg-config.
 
23220
See the pkg-config man page for more details.
 
23221
" >&5
 
23222
echo "$as_me: error: Package requirements ($evo_pc_file) were not met:
 
23223
 
 
23224
$EVO_PKG_ERRORS
 
23225
 
 
23226
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23227
installed software in a non-standard prefix.
 
23228
 
 
23229
Alternatively, you may set the environment variables EVO_CFLAGS
 
23230
and EVO_LIBS to avoid the need to call pkg-config.
 
23231
See the pkg-config man page for more details.
 
23232
" >&2;}
 
23233
   { (exit 1); exit 1; }; }
 
23234
elif test $pkg_failed = untried; then
 
23235
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
23236
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23237
path to pkg-config.
 
23238
 
 
23239
Alternatively, you may set the environment variables EVO_CFLAGS
 
23240
and EVO_LIBS to avoid the need to call pkg-config.
 
23241
See the pkg-config man page for more details.
 
23242
 
 
23243
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23244
See \`config.log' for more details." >&5
 
23245
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
23246
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23247
path to pkg-config.
 
23248
 
 
23249
Alternatively, you may set the environment variables EVO_CFLAGS
 
23250
and EVO_LIBS to avoid the need to call pkg-config.
 
23251
See the pkg-config man page for more details.
 
23252
 
 
23253
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23254
See \`config.log' for more details." >&2;}
 
23255
   { (exit 1); exit 1; }; }
 
23256
else
 
23257
        EVO_CFLAGS=$pkg_cv_EVO_CFLAGS
 
23258
        EVO_LIBS=$pkg_cv_EVO_LIBS
 
23259
        echo "$as_me:$LINENO: result: yes" >&5
 
23260
echo "${ECHO_T}yes" >&6
 
23261
        :
 
23262
fi
23285
23263
 
23286
23264
 
23287
23265
 
23405
23383
Usually this means the macro was only invoked conditionally." >&2;}
23406
23384
   { (exit 1); exit 1; }; }
23407
23385
fi
 
23386
 
 
23387
            ac_config_commands="$ac_config_commands po/stamp-it"
 
23388
 
 
23389
 
23408
23390
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23409
23391
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23410
23392
Usually this means the macro was only invoked conditionally." >&5
23690
23672
} >&5
23691
23673
cat >&5 <<_CSEOF
23692
23674
 
23693
 
This file was extended by Contact Lookup Applet $as_me 0.13, which was
 
23675
This file was extended by Contact Lookup Applet $as_me 0.14, which was
23694
23676
generated by GNU Autoconf 2.59.  Invocation command line was
23695
23677
 
23696
23678
  CONFIG_FILES    = $CONFIG_FILES
23753
23735
 
23754
23736
cat >>$CONFIG_STATUS <<_ACEOF
23755
23737
ac_cs_version="\\
23756
 
Contact Lookup Applet config.status 0.13
 
23738
Contact Lookup Applet config.status 0.14
23757
23739
configured by $0, generated by GNU Autoconf 2.59,
23758
23740
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23759
23741
 
23853
23835
#
23854
23836
 
23855
23837
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
23838
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
 
23839
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
 
23840
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
 
23841
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
 
23842
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
23856
23843
 
23857
23844
 
23858
23845
_ACEOF
23869
23856
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
23870
23857
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
23871
23858
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23859
  "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
23872
23860
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
23861
  "po/stamp-it" ) CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
23873
23862
  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
23874
23863
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23875
23864
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24022
24011
s,@FFLAGS@,$FFLAGS,;t t
24023
24012
s,@ac_ct_F77@,$ac_ct_F77,;t t
24024
24013
s,@LIBTOOL@,$LIBTOOL,;t t
 
24014
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
 
24015
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
 
24016
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
 
24017
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
 
24018
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
 
24019
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
 
24020
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
 
24021
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
 
24022
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
 
24023
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
 
24024
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
 
24025
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
 
24026
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
 
24027
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
 
24028
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
 
24029
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
 
24030
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
 
24031
s,@INTLTOOL_SERVICE_RULE@,$INTLTOOL_SERVICE_RULE,;t t
 
24032
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
 
24033
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
 
24034
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
 
24035
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
 
24036
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
 
24037
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
 
24038
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
 
24039
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
24025
24040
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
24026
24041
s,@USE_NLS@,$USE_NLS,;t t
24027
24042
s,@MSGFMT@,$MSGFMT,;t t
24039
24054
s,@POSUB@,$POSUB,;t t
24040
24055
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
24041
24056
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
 
24057
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
24042
24058
s,@GTK_VER_CFLAGS@,$GTK_VER_CFLAGS,;t t
24043
24059
s,@GTK_VER_LIBS@,$GTK_VER_LIBS,;t t
24044
24060
s,@GTK_VER@,$GTK_VER,;t t
24746
24762
  done
24747
24763
done
24748
24764
 ;;
 
24765
    intltool )
 
24766
 
 
24767
for file in intltool-extract intltool-merge intltool-update; do
 
24768
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
 
24769
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
 
24770
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
 
24771
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
 
24772
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
 
24773
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
 
24774
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
 
24775
        < ${ac_aux_dir}/${file}.in > ${file}.out
 
24776
  if cmp -s ${file} ${file}.out 2>/dev/null; then
 
24777
    rm -f ${file}.out
 
24778
  else
 
24779
    mv -f ${file}.out ${file}
 
24780
  fi
 
24781
  chmod ugo+x ${file}
 
24782
  chmod u+w ${file}
 
24783
done
 
24784
 
 
24785
 ;;
24749
24786
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
24750
24787
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
24751
24788
      esac ;;
 
24789
    po/stamp-it )
 
24790
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
24791
    >"po/stamp-it.tmp"
 
24792
    sed '/^#/d
 
24793
         s/^[[].*] *//
 
24794
         /^[    ]*$/d
 
24795
        '"s|^|  $ac_top_srcdir/|" \
 
24796
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
24797
 
 
24798
    if test ! -f "po/Makefile"; then
 
24799
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
 
24800
echo "$as_me: error: po/Makefile is not ready." >&2;}
 
24801
   { (exit 1); exit 1; }; }
 
24802
    fi
 
24803
    mv "po/Makefile" "po/Makefile.tmp"
 
24804
    sed '/^POTFILES =/,/[^\\]$/ {
 
24805
                /^POTFILES =/!d
 
24806
                r po/POTFILES
 
24807
          }
 
24808
         ' "po/Makefile.tmp" >"po/Makefile"
 
24809
    rm -f "po/Makefile.tmp"
 
24810
    mv "po/stamp-it.tmp" "po/stamp-it"
 
24811
   ;;
24752
24812
  esac
24753
24813
done
24754
24814
_ACEOF