~ubuntu-branches/ubuntu/precise/gst0.10-python/precise

« back to all changes in this revision

Viewing changes to configure

Tags: upstream-0.10.8
Import upstream version 0.10.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for GStreamer Python Bindings 0.10.7.
 
3
# Generated by GNU Autoconf 2.61 for GStreamer Python Bindings 0.10.8.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
6
6
#
728
728
# Identity of this package.
729
729
PACKAGE_NAME='GStreamer Python Bindings'
730
730
PACKAGE_TARNAME='gst-python'
731
 
PACKAGE_VERSION='0.10.7'
732
 
PACKAGE_STRING='GStreamer Python Bindings 0.10.7'
 
731
PACKAGE_VERSION='0.10.8'
 
732
PACKAGE_STRING='GStreamer Python Bindings 0.10.8'
733
733
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
734
734
 
735
735
ac_unique_file="gst/gstmodule.c"
809
809
INSTALL_PROGRAM
810
810
INSTALL_SCRIPT
811
811
INSTALL_DATA
 
812
am__isrc
812
813
CYGPATH_W
813
814
PACKAGE
814
815
VERSION
866
867
CCDEPMODE
867
868
am__fastdepCC_TRUE
868
869
am__fastdepCC_FALSE
 
870
SED
869
871
GREP
870
872
EGREP
871
873
LN_S
912
914
IGNORE_GST_0_10_10
913
915
IGNORE_GST_0_10_11
914
916
IGNORE_GST_0_10_12
 
917
IGNORE_GST_0_10_13
 
918
IGNORE_GST_0_10_14
915
919
IGNORE_GST_PB_0_10_11
 
920
IGNORE_GST_PB_0_10_14
916
921
HAVE_VIDEO_ORIENTATION
917
922
GST_BASE_CFLAGS
918
923
GST_BASE_LIBS
 
924
GST_DISABLE_GST_DEBUG
 
925
GST_DISABLE_LOADSAVE
 
926
GST_DISABLE_PARSE
 
927
GST_DISABLE_TRACE
 
928
GST_DISABLE_ALLOC_TRACE
 
929
GST_DISABLE_REGISTRY
 
930
GST_DISABLE_ENUMTYPES
 
931
GST_DISABLE_INDEX
 
932
GST_DISABLE_PLUGIN
 
933
GST_DISABLE_URI
 
934
GST_DISABLE_XML
 
935
IGNORE_GST_LOADSAVE
919
936
GST_CONTROLLER_CFLAGS
920
937
GST_CONTROLLER_LIBS
921
938
GST_NET_CFLAGS
1481
1498
  # Omit some internal or obsolete options to make the list less imposing.
1482
1499
  # This message is too long to be a string in the A/UX 3.1 sh.
1483
1500
  cat <<_ACEOF
1484
 
\`configure' configures GStreamer Python Bindings 0.10.7 to adapt to many kinds of systems.
 
1501
\`configure' configures GStreamer Python Bindings 0.10.8 to adapt to many kinds of systems.
1485
1502
 
1486
1503
Usage: $0 [OPTION]... [VAR=VALUE]...
1487
1504
 
1551
1568
 
1552
1569
if test -n "$ac_init_help"; then
1553
1570
  case $ac_init_help in
1554
 
     short | recursive ) echo "Configuration of GStreamer Python Bindings 0.10.7:";;
 
1571
     short | recursive ) echo "Configuration of GStreamer Python Bindings 0.10.8:";;
1555
1572
   esac
1556
1573
  cat <<\_ACEOF
1557
1574
 
1695
1712
test -n "$ac_init_help" && exit $ac_status
1696
1713
if $ac_init_version; then
1697
1714
  cat <<\_ACEOF
1698
 
GStreamer Python Bindings configure 0.10.7
 
1715
GStreamer Python Bindings configure 0.10.8
1699
1716
generated by GNU Autoconf 2.61
1700
1717
 
1701
1718
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1709
1726
This file contains any messages produced by compilers while
1710
1727
running configure, to aid debugging if configure makes a mistake.
1711
1728
 
1712
 
It was created by GStreamer Python Bindings $as_me 0.10.7, which was
 
1729
It was created by GStreamer Python Bindings $as_me 0.10.8, which was
1713
1730
generated by GNU Autoconf 2.61.  Invocation command line was
1714
1731
 
1715
1732
  $ $0 $@
2063
2080
 
2064
2081
 
2065
2082
 
2066
 
am__api_version="1.9"
 
2083
 
 
2084
 
 
2085
 
 
2086
 
 
2087
am__api_version='1.10'
 
2088
 
2067
2089
ac_aux_dir=
2068
2090
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2069
2091
  if test -f "$ac_dir/install-sh"; then
2246
2268
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2247
2269
fi
2248
2270
 
2249
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2250
 
  # We used to keeping the `.' as first argument, in order to
2251
 
  # allow $(mkdir_p) to be used without argument.  As in
2252
 
  #   $(mkdir_p) $(somedir)
2253
 
  # where $(somedir) is conditionally defined.  However this is wrong
2254
 
  # for two reasons:
2255
 
  #  1. if the package is installed by a user who cannot write `.'
2256
 
  #     make install will fail,
2257
 
  #  2. the above comment should most certainly read
2258
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2259
 
  #     so it does not work when $(somedir) is undefined and
2260
 
  #     $(DESTDIR) is not.
2261
 
  #  To support the latter case, we have to write
2262
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2263
 
  #  so the `.' trick is pointless.
2264
 
  mkdir_p='mkdir -p --'
 
2271
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2272
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2273
if test -z "$MKDIR_P"; then
 
2274
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2275
  echo $ECHO_N "(cached) $ECHO_C" >&6
2265
2276
else
2266
 
  # On NextStep and OpenStep, the `mkdir' command does not
2267
 
  # recognize any option.  It will interpret all options as
2268
 
  # directories to create, and then abort because `.' already
2269
 
  # exists.
2270
 
  for d in ./-p ./--version;
2271
 
  do
2272
 
    test -d $d && rmdir $d
2273
 
  done
2274
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2275
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2276
 
    mkdir_p='$(mkinstalldirs)'
 
2277
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2278
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2279
do
 
2280
  IFS=$as_save_IFS
 
2281
  test -z "$as_dir" && as_dir=.
 
2282
  for ac_prog in mkdir gmkdir; do
 
2283
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2284
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2285
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2286
             'mkdir (GNU coreutils) '* | \
 
2287
             'mkdir (coreutils) '* | \
 
2288
             'mkdir (fileutils) '4.1*)
 
2289
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2290
               break 3;;
 
2291
           esac
 
2292
         done
 
2293
       done
 
2294
done
 
2295
IFS=$as_save_IFS
 
2296
 
 
2297
fi
 
2298
 
 
2299
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2300
    MKDIR_P="$ac_cv_path_mkdir -p"
2277
2301
  else
2278
 
    mkdir_p='$(install_sh) -d'
 
2302
    # As a last resort, use the slow shell script.  Don't cache a
 
2303
    # value for MKDIR_P within a source directory, because that will
 
2304
    # break other packages using the cache if that directory is
 
2305
    # removed, or if the value is a relative name.
 
2306
    test -d ./--version && rmdir ./--version
 
2307
    MKDIR_P="$ac_install_sh -d"
2279
2308
  fi
2280
2309
fi
 
2310
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2311
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2312
 
 
2313
mkdir_p="$MKDIR_P"
 
2314
case $mkdir_p in
 
2315
  [\\/$]* | ?:[\\/]*) ;;
 
2316
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2317
esac
2281
2318
 
2282
2319
for ac_prog in gawk mawk nawk awk
2283
2320
do
2360
2397
fi
2361
2398
rmdir .tst 2>/dev/null
2362
2399
 
2363
 
# test to see if srcdir already configured
2364
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2365
 
   test -f $srcdir/config.status; then
2366
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2400
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2401
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2402
  # is not polluted with repeated "-I."
 
2403
  am__isrc=' -I$(srcdir)'
 
2404
  # test to see if srcdir already configured
 
2405
  if test -f $srcdir/config.status; then
 
2406
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2367
2407
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2368
2408
   { (exit 1); exit 1; }; }
 
2409
  fi
2369
2410
fi
2370
2411
 
2371
2412
# test whether we have cygpath
2380
2421
 
2381
2422
# Define the identity of the package.
2382
2423
 PACKAGE='gst-python'
2383
 
 VERSION='0.10.7'
 
2424
 VERSION='0.10.8'
2384
2425
 
2385
2426
 
2386
2427
cat >>confdefs.h <<_ACEOF
2408
2449
 
2409
2450
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2410
2451
 
2411
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2452
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2412
2453
 
2413
2454
# Installed binaries are usually stripped using `strip' when the user
2414
2455
# run `make install-strip'.  However `strip' might not be the right
2512
2553
fi
2513
2554
 
2514
2555
fi
2515
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2556
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2516
2557
 
2517
2558
# We need awk for the "check" target.  The system "awk" is bad on
2518
2559
# some platforms.
2528
2569
 
2529
2570
 
2530
2571
 
2531
 
  PACKAGE_VERSION_MAJOR=$(echo 0.10.7 | cut -d'.' -f1)
2532
 
  PACKAGE_VERSION_MINOR=$(echo 0.10.7 | cut -d'.' -f2)
2533
 
  PACKAGE_VERSION_MICRO=$(echo 0.10.7 | cut -d'.' -f3)
 
2572
  PACKAGE_VERSION_MAJOR=$(echo 0.10.8 | cut -d'.' -f1)
 
2573
  PACKAGE_VERSION_MINOR=$(echo 0.10.8 | cut -d'.' -f2)
 
2574
  PACKAGE_VERSION_MICRO=$(echo 0.10.8 | cut -d'.' -f3)
2534
2575
 
2535
2576
 
2536
2577
 
2541
2582
  { echo "$as_me:$LINENO: checking nano version" >&5
2542
2583
echo $ECHO_N "checking nano version... $ECHO_C" >&6; }
2543
2584
 
2544
 
  NANO=$(echo 0.10.7 | cut -d'.' -f4)
 
2585
  NANO=$(echo 0.10.8 | cut -d'.' -f4)
2545
2586
 
2546
2587
  if test x"$NANO" = x || test "x$NANO" = "x0" ; then
2547
2588
    { echo "$as_me:$LINENO: result: 0 (release)" >&5
2576
2617
 
2577
2618
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2578
2619
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2579
 
 
2580
 
 
2581
 
if test $USE_MAINTAINER_MODE = yes; then
 
2620
   if test $USE_MAINTAINER_MODE = yes; then
2582
2621
  MAINTAINER_MODE_TRUE=
2583
2622
  MAINTAINER_MODE_FALSE='#'
2584
2623
else
2836
2875
  am_depcomp="$ac_aux_dir/depcomp"
2837
2876
  AMDEPBACKSLASH='\'
2838
2877
fi
2839
 
 
2840
 
 
2841
 
if test "x$enable_dependency_tracking" != xno; then
 
2878
 if test "x$enable_dependency_tracking" != xno; then
2842
2879
  AMDEP_TRUE=
2843
2880
  AMDEP_FALSE='#'
2844
2881
else
2847
2884
fi
2848
2885
 
2849
2886
 
2850
 
 
2851
2887
ac_ext=c
2852
2888
ac_cpp='$CPP $CPPFLAGS'
2853
2889
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3834
3870
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3835
3871
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3836
3872
         >/dev/null 2>conftest.err &&
 
3873
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3837
3874
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3838
3875
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3839
3876
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3863
3900
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3864
3901
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3865
3902
 
3866
 
 
3867
 
 
3868
 
if
 
3903
 if
3869
3904
  test "x$enable_dependency_tracking" != xno \
3870
3905
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3871
3906
  am__fastdepCC_TRUE=
3890
3925
  test -z "$as_dir" && as_dir=.
3891
3926
  for lt_ac_prog in sed gsed; do
3892
3927
    for ac_exec_ext in '' $ac_executable_extensions; do
3893
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
3928
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3894
3929
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3895
3930
      fi
3896
3931
    done
3897
3932
  done
3898
3933
done
 
3934
IFS=$as_save_IFS
3899
3935
lt_ac_max=0
3900
3936
lt_ac_count=0
3901
3937
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3930
3966
fi
3931
3967
 
3932
3968
SED=$lt_cv_path_SED
 
3969
 
3933
3970
{ echo "$as_me:$LINENO: result: $SED" >&5
3934
3971
echo "${ECHO_T}$SED" >&6; }
3935
3972
 
4291
4328
echo "${ECHO_T}no, using $LN_S" >&6; }
4292
4329
fi
4293
4330
 
4294
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4295
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
4331
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4332
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4296
4333
if test "${lt_cv_deplibs_check_method+set}" = set; then
4297
4334
  echo $ECHO_N "(cached) $ECHO_C" >&6
4298
4335
else
4333
4370
 
4334
4371
mingw* | pw32*)
4335
4372
  # Base MSYS/MinGW do not provide the 'file' command needed by
4336
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4337
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4338
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4373
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4374
  # unless we find 'file', for example because we are cross-compiling.
 
4375
  if ( file / ) >/dev/null 2>&1; then
 
4376
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4377
    lt_cv_file_magic_cmd='func_win32_libid'
 
4378
  else
 
4379
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4380
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4381
  fi
4339
4382
  ;;
4340
4383
 
4341
4384
darwin* | rhapsody*)
4342
4385
  lt_cv_deplibs_check_method=pass_all
4343
4386
  ;;
4344
4387
 
4345
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
4388
freebsd* | dragonfly*)
4346
4389
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4347
4390
    case $host_cpu in
4348
4391
    i*86 )
4380
4423
  esac
4381
4424
  ;;
4382
4425
 
4383
 
interix3*)
 
4426
interix[3-9]*)
4384
4427
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4385
4428
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4386
4429
  ;;
4396
4439
  ;;
4397
4440
 
4398
4441
# This must be Linux ELF.
4399
 
linux*)
 
4442
linux* | k*bsd*-gnu)
4400
4443
  lt_cv_deplibs_check_method=pass_all
4401
4444
  ;;
4402
4445
 
4430
4473
  lt_cv_deplibs_check_method=pass_all
4431
4474
  ;;
4432
4475
 
 
4476
rdos*)
 
4477
  lt_cv_deplibs_check_method=pass_all
 
4478
  ;;
 
4479
 
4433
4480
solaris*)
4434
4481
  lt_cv_deplibs_check_method=pass_all
4435
4482
  ;;
4517
4564
  ;;
4518
4565
*-*-irix6*)
4519
4566
  # Find out which ABI we are using.
4520
 
  echo '#line 4520 "configure"' > conftest.$ac_ext
 
4567
  echo '#line 4567 "configure"' > conftest.$ac_ext
4521
4568
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4522
4569
  (eval $ac_compile) 2>&5
4523
4570
  ac_status=$?
4552
4599
  rm -rf conftest*
4553
4600
  ;;
4554
4601
 
4555
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
4602
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
4603
s390*-*linux*|sparc*-*linux*)
4556
4604
  # Find out which ABI we are using.
4557
4605
  echo 'int i;' > conftest.$ac_ext
4558
4606
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4563
4611
    case `/usr/bin/file conftest.o` in
4564
4612
    *32-bit*)
4565
4613
      case $host in
 
4614
        x86_64-*kfreebsd*-gnu)
 
4615
          LD="${LD-ld} -m elf_i386_fbsd"
 
4616
          ;;
4566
4617
        x86_64-*linux*)
4567
4618
          LD="${LD-ld} -m elf_i386"
4568
4619
          ;;
4579
4630
      ;;
4580
4631
    *64-bit*)
4581
4632
      case $host in
 
4633
        x86_64-*kfreebsd*-gnu)
 
4634
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
4635
          ;;
4582
4636
        x86_64-*linux*)
4583
4637
          LD="${LD-ld} -m elf_x86_64"
4584
4638
          ;;
5746
5800
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5747
5801
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5748
5802
         >/dev/null 2>conftest.err &&
 
5803
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5749
5804
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5750
5805
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5751
5806
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5775
5830
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5776
5831
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5777
5832
 
5778
 
 
5779
 
 
5780
 
if
 
5833
 if
5781
5834
  test "x$enable_dependency_tracking" != xno \
5782
5835
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5783
5836
  am__fastdepCXX_TRUE=
6372
6425
    fi
6373
6426
    ;;
6374
6427
  *)
6375
 
    # If test is not a shell built-in, we'll probably end up computing a
6376
 
    # maximum length that is only half of the actual maximum length, but
6377
 
    # we can't tell.
6378
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6379
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6428
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6429
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6430
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6431
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6432
    else
 
6433
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6434
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6380
6435
               = "XX$teststring") >/dev/null 2>&1 &&
6381
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6382
 
            lt_cv_sys_max_cmd_len=$new_result &&
6383
 
            test $i != 17 # 1/2 MB should be enough
6384
 
    do
6385
 
      i=`expr $i + 1`
6386
 
      teststring=$teststring$teststring
6387
 
    done
6388
 
    teststring=
6389
 
    # Add a significant safety factor because C++ compilers can tack on massive
6390
 
    # amounts of additional arguments before passing them to the linker.
6391
 
    # It appears as though 1/2 is a usable value.
6392
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6436
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6437
              lt_cv_sys_max_cmd_len=$new_result &&
 
6438
              test $i != 17 # 1/2 MB should be enough
 
6439
      do
 
6440
        i=`expr $i + 1`
 
6441
        teststring=$teststring$teststring
 
6442
      done
 
6443
      teststring=
 
6444
      # Add a significant safety factor because C++ compilers can tack on massive
 
6445
      # amounts of additional arguments before passing them to the linker.
 
6446
      # It appears as though 1/2 is a usable value.
 
6447
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6448
    fi
6393
6449
    ;;
6394
6450
  esac
6395
6451
 
6406
6462
 
6407
6463
 
6408
6464
 
 
6465
 
6409
6466
# Check for command to grab the raw symbol name followed by C symbol from nm.
6410
6467
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6411
6468
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6443
6500
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6444
6501
  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'"
6445
6502
  ;;
6446
 
linux*)
 
6503
linux* | k*bsd*-gnu)
6447
6504
  if test "$host_cpu" = ia64; then
6448
6505
    symcode='[ABCDGIRSTW]'
6449
6506
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6994
7051
test -z "$ac_objext" && ac_objext=o
6995
7052
 
6996
7053
# Determine commands to create old-style static archives.
6997
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
7054
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6998
7055
old_postinstall_cmds='chmod 644 $oldlib'
6999
7056
old_postuninstall_cmds=
7000
7057
 
7199
7256
" >&2;}
7200
7257
   { (exit 1); exit 1; }; }
7201
7258
fi
7202
 
gentoo_lt_version="1.5.22"
 
7259
gentoo_lt_version="1.5.24"
7203
7260
gentoo_ltmain_version=`sed -n '/^[      ]*VERSION=/{s/^[        ]*VERSION=//;p;q;}' "$ltmain"`
7204
7261
if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
7205
7262
  { echo "$as_me:$LINENO: result: no" >&5
7255
7312
objext=$objext
7256
7313
 
7257
7314
# Code to be used in simple compile tests
7258
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7315
lt_simple_compile_test_code="int some_variable = 0;"
7259
7316
 
7260
7317
# Code to be used in simple link tests
7261
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7318
lt_simple_link_test_code='int main(){return(0);}'
7262
7319
 
7263
7320
 
7264
7321
# If no C compiler was specified, use CC.
7273
7330
 
7274
7331
# save warnings/boilerplate of simple test code
7275
7332
ac_outfile=conftest.$ac_objext
7276
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7333
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7277
7334
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7278
7335
_lt_compiler_boilerplate=`cat conftest.err`
7279
7336
$rm conftest*
7280
7337
 
7281
7338
ac_outfile=conftest.$ac_objext
7282
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7339
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7283
7340
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7284
7341
_lt_linker_boilerplate=`cat conftest.err`
7285
7342
$rm conftest*
7299
7356
else
7300
7357
  lt_cv_prog_compiler_rtti_exceptions=no
7301
7358
  ac_outfile=conftest.$ac_objext
7302
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7359
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7303
7360
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7304
7361
   # Insert the option either (1) after the last *FLAGS variable, or
7305
7362
   # (2) before a word containing "conftest.", or (3) at the end.
7310
7367
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7311
7368
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7312
7369
   -e 's:$: $lt_compiler_flag:'`
7313
 
   (eval echo "\"\$as_me:7313: $lt_compile\"" >&5)
 
7370
   (eval echo "\"\$as_me:7370: $lt_compile\"" >&5)
7314
7371
   (eval "$lt_compile" 2>conftest.err)
7315
7372
   ac_status=$?
7316
7373
   cat conftest.err >&5
7317
 
   echo "$as_me:7317: \$? = $ac_status" >&5
 
7374
   echo "$as_me:7374: \$? = $ac_status" >&5
7318
7375
   if (exit $ac_status) && test -s "$ac_outfile"; then
7319
7376
     # The compiler can only warn and ignore the option if not recognized
7320
7377
     # So say no if there are warnings other than the usual output.
7365
7422
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7366
7423
      ;;
7367
7424
 
7368
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7425
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7369
7426
      # PIC is the default for these OSes.
7370
7427
      ;;
7371
7428
 
7372
 
    mingw* | pw32* | os2*)
 
7429
    mingw* | cygwin* | pw32* | os2*)
7373
7430
      # This hack is so that the source file can tell whether it is being
7374
7431
      # built for inclusion in a dll (and should export symbols for example).
 
7432
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7433
      # (--disable-auto-import) libraries
7375
7434
      lt_prog_compiler_pic='-DDLL_EXPORT'
7376
7435
      ;;
7377
7436
 
7381
7440
      lt_prog_compiler_pic='-fno-common'
7382
7441
      ;;
7383
7442
 
7384
 
    interix3*)
 
7443
    interix[3-9]*)
7385
7444
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7386
7445
      # Instead, we relocate shared libraries at runtime.
7387
7446
      ;;
7439
7498
       esac
7440
7499
       ;;
7441
7500
 
7442
 
    mingw* | pw32* | os2*)
 
7501
    mingw* | cygwin* | pw32* | os2*)
7443
7502
      # This hack is so that the source file can tell whether it is being
7444
7503
      # built for inclusion in a dll (and should export symbols for example).
7445
7504
      lt_prog_compiler_pic='-DDLL_EXPORT'
7472
7531
      lt_prog_compiler_static='-Bstatic'
7473
7532
      ;;
7474
7533
 
7475
 
    linux*)
 
7534
    linux* | k*bsd*-gnu)
7476
7535
      case $cc_basename in
7477
7536
      icc* | ecc*)
7478
7537
        lt_prog_compiler_wl='-Wl,'
7491
7550
        # All Alpha code is PIC.
7492
7551
        lt_prog_compiler_static='-non_shared'
7493
7552
        ;;
 
7553
      *)
 
7554
        case `$CC -V 2>&1 | sed 5q` in
 
7555
        *Sun\ C*)
 
7556
          # Sun C 5.9
 
7557
          lt_prog_compiler_pic='-KPIC'
 
7558
          lt_prog_compiler_static='-Bstatic'
 
7559
          lt_prog_compiler_wl='-Wl,'
 
7560
          ;;
 
7561
        *Sun\ F*)
 
7562
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7563
          lt_prog_compiler_pic='-KPIC'
 
7564
          lt_prog_compiler_static='-Bstatic'
 
7565
          lt_prog_compiler_wl=''
 
7566
          ;;
 
7567
        esac
 
7568
        ;;
7494
7569
      esac
7495
7570
      ;;
7496
7571
 
7500
7575
      lt_prog_compiler_static='-non_shared'
7501
7576
      ;;
7502
7577
 
 
7578
    rdos*)
 
7579
      lt_prog_compiler_static='-non_shared'
 
7580
      ;;
 
7581
 
7503
7582
    solaris*)
7504
7583
      lt_prog_compiler_pic='-KPIC'
7505
7584
      lt_prog_compiler_static='-Bstatic'
7567
7646
else
7568
7647
  lt_prog_compiler_pic_works=no
7569
7648
  ac_outfile=conftest.$ac_objext
7570
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7649
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7571
7650
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7572
7651
   # Insert the option either (1) after the last *FLAGS variable, or
7573
7652
   # (2) before a word containing "conftest.", or (3) at the end.
7578
7657
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7579
7658
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7580
7659
   -e 's:$: $lt_compiler_flag:'`
7581
 
   (eval echo "\"\$as_me:7581: $lt_compile\"" >&5)
 
7660
   (eval echo "\"\$as_me:7660: $lt_compile\"" >&5)
7582
7661
   (eval "$lt_compile" 2>conftest.err)
7583
7662
   ac_status=$?
7584
7663
   cat conftest.err >&5
7585
 
   echo "$as_me:7585: \$? = $ac_status" >&5
 
7664
   echo "$as_me:7664: \$? = $ac_status" >&5
7586
7665
   if (exit $ac_status) && test -s "$ac_outfile"; then
7587
7666
     # The compiler can only warn and ignore the option if not recognized
7588
7667
     # So say no if there are warnings other than the usual output.
7631
7710
  lt_prog_compiler_static_works=no
7632
7711
   save_LDFLAGS="$LDFLAGS"
7633
7712
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7634
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7713
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7635
7714
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7636
7715
     # The linker can only warn and ignore the option if not recognized
7637
7716
     # So say no if there are warnings
7671
7750
   mkdir conftest
7672
7751
   cd conftest
7673
7752
   mkdir out
7674
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7753
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7675
7754
 
7676
7755
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7677
7756
   # Insert the option either (1) after the last *FLAGS variable, or
7682
7761
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7683
7762
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7684
7763
   -e 's:$: $lt_compiler_flag:'`
7685
 
   (eval echo "\"\$as_me:7685: $lt_compile\"" >&5)
 
7764
   (eval echo "\"\$as_me:7764: $lt_compile\"" >&5)
7686
7765
   (eval "$lt_compile" 2>out/conftest.err)
7687
7766
   ac_status=$?
7688
7767
   cat out/conftest.err >&5
7689
 
   echo "$as_me:7689: \$? = $ac_status" >&5
 
7768
   echo "$as_me:7768: \$? = $ac_status" >&5
7690
7769
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7691
7770
   then
7692
7771
     # The compiler can only warn and ignore the option if not recognized
7878
7957
      allow_undefined_flag=unsupported
7879
7958
      always_export_symbols=no
7880
7959
      enable_shared_with_static_runtimes=yes
7881
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
7960
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7882
7961
 
7883
7962
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7884
7963
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7896
7975
      fi
7897
7976
      ;;
7898
7977
 
7899
 
    interix3*)
 
7978
    interix[3-9]*)
7900
7979
      hardcode_direct=no
7901
7980
      hardcode_shlibpath_var=no
7902
7981
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7911
7990
      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'
7912
7991
      ;;
7913
7992
 
7914
 
    linux*)
 
7993
    gnu* | linux* | k*bsd*-gnu)
7915
7994
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7916
7995
        tmp_addflag=
7917
7996
        case $cc_basename,$host_cpu in
7929
8008
        ifc* | ifort*)                  # Intel Fortran compiler
7930
8009
          tmp_addflag=' -nofor_main' ;;
7931
8010
        esac
7932
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8011
        case `$CC -V 2>&1 | sed 5q` in
 
8012
        *Sun\ C*)                       # Sun C 5.9
 
8013
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8014
          tmp_sharedflag='-G' ;;
 
8015
        *Sun\ F*)                       # Sun Fortran 8.3
 
8016
          tmp_sharedflag='-G' ;;
 
8017
        *)
 
8018
          tmp_sharedflag='-shared' ;;
 
8019
        esac
 
8020
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7933
8021
 
7934
8022
        if test $supports_anon_versioning = yes; then
7935
8023
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7936
8024
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7937
8025
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7938
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8026
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7939
8027
        fi
7940
8028
      else
7941
8029
        ld_shlibs=no
8094
8182
           strings "$collect2name" | grep resolve_lib_name >/dev/null
8095
8183
          then
8096
8184
          # We have reworked collect2
8097
 
          hardcode_direct=yes
 
8185
          :
8098
8186
          else
8099
8187
          # We have old collect2
8100
8188
          hardcode_direct=unsupported
8168
8256
       } && test -s conftest$ac_exeext &&
8169
8257
       $as_test_x conftest$ac_exeext; then
8170
8258
 
8171
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8172
 
}'`
 
8259
lt_aix_libpath_sed='
 
8260
    /Import File Strings/,/^$/ {
 
8261
        /^0/ {
 
8262
            s/^0  *\(.*\)$/\1/
 
8263
            p
 
8264
        }
 
8265
    }'
 
8266
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8173
8267
# Check for a 64-bit object if we didn't find anything.
8174
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8175
 
}'`; fi
 
8268
if test -z "$aix_libpath"; then
 
8269
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8270
fi
8176
8271
else
8177
8272
  echo "$as_me: failed program was:" >&5
8178
8273
sed 's/^/| /' conftest.$ac_ext >&5
8227
8322
       } && test -s conftest$ac_exeext &&
8228
8323
       $as_test_x conftest$ac_exeext; then
8229
8324
 
8230
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8231
 
}'`
 
8325
lt_aix_libpath_sed='
 
8326
    /Import File Strings/,/^$/ {
 
8327
        /^0/ {
 
8328
            s/^0  *\(.*\)$/\1/
 
8329
            p
 
8330
        }
 
8331
    }'
 
8332
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8232
8333
# Check for a 64-bit object if we didn't find anything.
8233
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8234
 
}'`; fi
 
8334
if test -z "$aix_libpath"; then
 
8335
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8336
fi
8235
8337
else
8236
8338
  echo "$as_me: failed program was:" >&5
8237
8339
sed 's/^/| /' conftest.$ac_ext >&5
8285
8387
      # The linker will automatically build a .lib file if we build a DLL.
8286
8388
      old_archive_From_new_cmds='true'
8287
8389
      # FIXME: Should let the user specify the lib program.
8288
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8390
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8289
8391
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8290
8392
      enable_shared_with_static_runtimes=yes
8291
8393
      ;;
8327
8429
      case $cc_basename in
8328
8430
        xlc*)
8329
8431
         output_verbose_link_cmd='echo'
8330
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8432
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8331
8433
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8332
8434
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8333
 
         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}'
 
8435
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8334
8436
          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}'
8335
8437
          ;;
8336
8438
       *)
8370
8472
      ;;
8371
8473
 
8372
8474
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8373
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8475
    freebsd* | dragonfly*)
8374
8476
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8375
8477
      hardcode_libdir_flag_spec='-R$libdir'
8376
8478
      hardcode_direct=yes
8492
8594
      ;;
8493
8595
 
8494
8596
    openbsd*)
8495
 
      hardcode_direct=yes
8496
 
      hardcode_shlibpath_var=no
8497
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8498
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8499
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8500
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8501
 
        export_dynamic_flag_spec='${wl}-E'
 
8597
      if test -f /usr/libexec/ld.so; then
 
8598
        hardcode_direct=yes
 
8599
        hardcode_shlibpath_var=no
 
8600
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8601
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8602
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8603
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8604
          export_dynamic_flag_spec='${wl}-E'
 
8605
        else
 
8606
          case $host_os in
 
8607
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8608
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8609
             hardcode_libdir_flag_spec='-R$libdir'
 
8610
             ;;
 
8611
           *)
 
8612
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8613
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8614
             ;;
 
8615
          esac
 
8616
        fi
8502
8617
      else
8503
 
       case $host_os in
8504
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8505
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8506
 
           hardcode_libdir_flag_spec='-R$libdir'
8507
 
           ;;
8508
 
         *)
8509
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8510
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8511
 
           ;;
8512
 
       esac
 
8618
        ld_shlibs=no
8513
8619
      fi
8514
8620
      ;;
8515
8621
 
8568
8674
      case $host_os in
8569
8675
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8570
8676
      *)
8571
 
        # The compiler driver will combine linker options so we
8572
 
        # cannot just pass the convience library names through
8573
 
        # without $wl, iff we do not link with $LD.
8574
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8677
        # The compiler driver will combine and reorder linker options,
 
8678
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8679
        # but is careful enough not to reorder.
8575
8680
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8576
 
        case $wlarc in
8577
 
        '')
8578
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8579
 
        *)
8580
 
          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' ;;
8581
 
        esac ;;
 
8681
        if test "$GCC" = yes; then
 
8682
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8683
        else
 
8684
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8685
        fi
 
8686
        ;;
8582
8687
      esac
8583
8688
      link_all_deplibs=yes
8584
8689
      ;;
8635
8740
      fi
8636
8741
      ;;
8637
8742
 
8638
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
8743
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8639
8744
      no_undefined_flag='${wl}-z,text'
8640
8745
      archive_cmds_need_lc=no
8641
8746
      hardcode_shlibpath_var=no
8712
8817
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8713
8818
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8714
8819
      $rm conftest*
8715
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8820
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8716
8821
 
8717
8822
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8718
8823
  (eval $ac_compile) 2>&5
8770
8875
version_type=none
8771
8876
dynamic_linker="$host_os ld.so"
8772
8877
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
8878
 
8773
8879
if test "$GCC" = yes; then
8774
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8775
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
8880
  case $host_os in
 
8881
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
8882
    *) lt_awk_arg="/^libraries:/" ;;
 
8883
  esac
 
8884
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
8885
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8776
8886
    # if the path contains ";" then we assume it to be the separator
8777
8887
    # otherwise default to the standard path separator (i.e. ":") - it is
8778
8888
    # assumed that no part of a normal pathname contains ";" but that should
8779
8889
    # okay in the real world where ";" in dirpaths is itself problematic.
8780
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
8890
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8781
8891
  else
8782
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
8892
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8783
8893
  fi
 
8894
  # Ok, now we have the path, separated by spaces, we can step through it
 
8895
  # and add multilib dir if necessary.
 
8896
  lt_tmp_lt_search_path_spec=
 
8897
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
8898
  for lt_sys_path in $lt_search_path_spec; do
 
8899
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
8900
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
8901
    else
 
8902
      test -d "$lt_sys_path" && \
 
8903
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
8904
    fi
 
8905
  done
 
8906
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
8907
BEGIN {RS=" "; FS="/|\n";} {
 
8908
  lt_foo="";
 
8909
  lt_count=0;
 
8910
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
8911
    if ($lt_i != "" && $lt_i != ".") {
 
8912
      if ($lt_i == "..") {
 
8913
        lt_count++;
 
8914
      } else {
 
8915
        if (lt_count == 0) {
 
8916
          lt_foo="/" $lt_i lt_foo;
 
8917
        } else {
 
8918
          lt_count--;
 
8919
        }
 
8920
      }
 
8921
    }
 
8922
  }
 
8923
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
8924
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
8925
}'`
 
8926
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
8784
8927
else
8785
8928
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8786
8929
fi
8921
9064
    esac
8922
9065
    ;;
8923
9066
 
8924
 
  linux*)
8925
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
8926
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8927
 
      supports_anon_versioning=no
8928
 
      case `$LD -v 2>/dev/null` in
8929
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8930
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8931
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8932
 
        *\ 2.11.*) ;; # other 2.11 versions
8933
 
        *) supports_anon_versioning=yes ;;
8934
 
      esac
8935
 
      if test $supports_anon_versioning = yes; then
8936
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8937
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8938
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
8939
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8940
 
      else
8941
 
        $archive_expsym_cmds="$archive_cmds"
8942
 
      fi
8943
 
    else
8944
 
      ld_shlibs=no
8945
 
    fi
8946
 
    ;;
8947
 
 
8948
9067
  *)
8949
9068
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8950
9069
    ;;
8964
9083
  shlibpath_overrides_runpath=yes
8965
9084
  shlibpath_var=DYLD_LIBRARY_PATH
8966
9085
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8967
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8968
 
  if test "$GCC" = yes; then
8969
 
    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"`
8970
 
  else
8971
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8972
 
  fi
 
9086
 
 
9087
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8973
9088
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8974
9089
  ;;
8975
9090
 
8986
9101
  dynamic_linker=no
8987
9102
  ;;
8988
9103
 
8989
 
kfreebsd*-gnu)
8990
 
  version_type=linux
8991
 
  need_lib_prefix=no
8992
 
  need_version=no
8993
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8994
 
  soname_spec='${libname}${release}${shared_ext}$major'
8995
 
  shlibpath_var=LD_LIBRARY_PATH
8996
 
  shlibpath_overrides_runpath=no
8997
 
  hardcode_into_libs=yes
8998
 
  dynamic_linker='GNU ld.so'
8999
 
  ;;
9000
 
 
9001
9104
freebsd* | dragonfly*)
9002
9105
  # DragonFly does not have aout.  When/if they implement a new
9003
9106
  # versioning mechanism, adjust this.
9048
9151
    shlibpath_overrides_runpath=no
9049
9152
    hardcode_into_libs=yes
9050
9153
    ;;
9051
 
  freebsd*) # from 4.6 on
 
9154
  *) # from 4.6 on, and DragonFly
9052
9155
    shlibpath_overrides_runpath=yes
9053
9156
    hardcode_into_libs=yes
9054
9157
    ;;
9111
9214
  postinstall_cmds='chmod 555 $lib'
9112
9215
  ;;
9113
9216
 
9114
 
interix3*)
 
9217
interix[3-9]*)
9115
9218
  version_type=linux
9116
9219
  need_lib_prefix=no
9117
9220
  need_version=no
9166
9269
  ;;
9167
9270
 
9168
9271
# This must be Linux ELF.
9169
 
linux*)
 
9272
linux* | k*bsd*-gnu)
9170
9273
  version_type=linux
9171
9274
  need_lib_prefix=no
9172
9275
  need_version=no
9182
9285
 
9183
9286
  # Append ld.so.conf contents to the search path
9184
9287
  if test -f /etc/ld.so.conf; then
9185
 
    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' ' '`
 
9288
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9186
9289
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9187
9290
  fi
9188
9291
 
9195
9298
  dynamic_linker='GNU/Linux ld.so'
9196
9299
  ;;
9197
9300
 
9198
 
knetbsd*-gnu)
9199
 
  version_type=linux
9200
 
  need_lib_prefix=no
9201
 
  need_version=no
9202
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9203
 
  soname_spec='${libname}${release}${shared_ext}$major'
9204
 
  shlibpath_var=LD_LIBRARY_PATH
9205
 
  shlibpath_overrides_runpath=no
9206
 
  hardcode_into_libs=yes
9207
 
  dynamic_linker='GNU ld.so'
9208
 
  ;;
9209
 
 
9210
9301
netbsd*)
9211
9302
  version_type=sunos
9212
9303
  need_lib_prefix=no
9288
9379
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9289
9380
  ;;
9290
9381
 
 
9382
rdos*)
 
9383
  dynamic_linker=no
 
9384
  ;;
 
9385
 
9291
9386
solaris*)
9292
9387
  version_type=linux
9293
9388
  need_lib_prefix=no
9441
9536
   darwin*)
9442
9537
       if test -n "$STRIP" ; then
9443
9538
         striplib="$STRIP -x"
 
9539
         old_striplib="$STRIP -S"
9444
9540
         { echo "$as_me:$LINENO: result: yes" >&5
9445
9541
echo "${ECHO_T}yes" >&6; }
9446
9542
       else
10027
10123
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10028
10124
  lt_status=$lt_dlunknown
10029
10125
  cat > conftest.$ac_ext <<EOF
10030
 
#line 10030 "configure"
 
10126
#line 10126 "configure"
10031
10127
#include "confdefs.h"
10032
10128
 
10033
10129
#if HAVE_DLFCN_H
10127
10223
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10128
10224
  lt_status=$lt_dlunknown
10129
10225
  cat > conftest.$ac_ext <<EOF
10130
 
#line 10130 "configure"
 
10226
#line 10226 "configure"
10131
10227
#include "confdefs.h"
10132
10228
 
10133
10229
#if HAVE_DLFCN_H
10325
10421
    module_cmds \
10326
10422
    module_expsym_cmds \
10327
10423
    lt_cv_prog_compiler_c_o \
 
10424
    fix_srcfile_path \
10328
10425
    exclude_expsyms \
10329
10426
    include_expsyms; do
10330
10427
 
10369
10466
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10370
10467
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10371
10468
#
10372
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10469
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10373
10470
# Free Software Foundation, Inc.
10374
10471
#
10375
10472
# This file is part of GNU Libtool:
10693
10790
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10694
10791
 
10695
10792
# Fix the shell variable \$srcfile for the compiler.
10696
 
fix_srcfile_path="$fix_srcfile_path"
 
10793
fix_srcfile_path=$lt_fix_srcfile_path
10697
10794
 
10698
10795
# Set to yes if exported symbols are required.
10699
10796
always_export_symbols=$always_export_symbols
10862
10959
objext_CXX=$objext
10863
10960
 
10864
10961
# Code to be used in simple compile tests
10865
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
10962
lt_simple_compile_test_code="int some_variable = 0;"
10866
10963
 
10867
10964
# Code to be used in simple link tests
10868
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
10965
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10869
10966
 
10870
10967
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10871
10968
 
10881
10978
 
10882
10979
# save warnings/boilerplate of simple test code
10883
10980
ac_outfile=conftest.$ac_objext
10884
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10981
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10885
10982
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10886
10983
_lt_compiler_boilerplate=`cat conftest.err`
10887
10984
$rm conftest*
10888
10985
 
10889
10986
ac_outfile=conftest.$ac_objext
10890
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
10987
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10891
10988
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10892
10989
_lt_linker_boilerplate=`cat conftest.err`
10893
10990
$rm conftest*
11146
11243
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11147
11244
        then
11148
11245
          # We have reworked collect2
11149
 
          hardcode_direct_CXX=yes
 
11246
          :
11150
11247
        else
11151
11248
          # We have old collect2
11152
11249
          hardcode_direct_CXX=unsupported
11220
11317
       } && test -s conftest$ac_exeext &&
11221
11318
       $as_test_x conftest$ac_exeext; then
11222
11319
 
11223
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11224
 
}'`
 
11320
lt_aix_libpath_sed='
 
11321
    /Import File Strings/,/^$/ {
 
11322
        /^0/ {
 
11323
            s/^0  *\(.*\)$/\1/
 
11324
            p
 
11325
        }
 
11326
    }'
 
11327
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11225
11328
# Check for a 64-bit object if we didn't find anything.
11226
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11227
 
}'`; fi
 
11329
if test -z "$aix_libpath"; then
 
11330
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11331
fi
11228
11332
else
11229
11333
  echo "$as_me: failed program was:" >&5
11230
11334
sed 's/^/| /' conftest.$ac_ext >&5
11280
11384
       } && test -s conftest$ac_exeext &&
11281
11385
       $as_test_x conftest$ac_exeext; then
11282
11386
 
11283
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11284
 
}'`
 
11387
lt_aix_libpath_sed='
 
11388
    /Import File Strings/,/^$/ {
 
11389
        /^0/ {
 
11390
            s/^0  *\(.*\)$/\1/
 
11391
            p
 
11392
        }
 
11393
    }'
 
11394
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11285
11395
# Check for a 64-bit object if we didn't find anything.
11286
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11287
 
}'`; fi
 
11396
if test -z "$aix_libpath"; then
 
11397
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11398
fi
11288
11399
else
11289
11400
  echo "$as_me: failed program was:" >&5
11290
11401
sed 's/^/| /' conftest.$ac_ext >&5
11403
11514
      case $cc_basename in
11404
11515
        xlc*)
11405
11516
         output_verbose_link_cmd='echo'
11406
 
          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'
 
11517
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11407
11518
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11408
11519
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11409
 
          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}'
 
11520
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11410
11521
          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}'
11411
11522
          ;;
11412
11523
       *)
11440
11551
  freebsd-elf*)
11441
11552
    archive_cmds_need_lc_CXX=no
11442
11553
    ;;
11443
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
11554
  freebsd* | dragonfly*)
11444
11555
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11445
11556
    # conventions
11446
11557
    ld_shlibs_CXX=yes
11489
11600
      hardcode_libdir_separator_CXX=:
11490
11601
 
11491
11602
      case $host_cpu in
11492
 
      hppa*64*|ia64*)
11493
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11494
 
        ;;
 
11603
      hppa*64*|ia64*) ;;
11495
11604
      *)
11496
11605
        export_dynamic_flag_spec_CXX='${wl}-E'
11497
11606
        ;;
11559
11668
        ;;
11560
11669
    esac
11561
11670
    ;;
11562
 
  interix3*)
 
11671
  interix[3-9]*)
11563
11672
    hardcode_direct_CXX=no
11564
11673
    hardcode_shlibpath_var_CXX=no
11565
11674
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11599
11708
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11600
11709
    hardcode_libdir_separator_CXX=:
11601
11710
    ;;
11602
 
  linux*)
 
11711
  linux* | k*bsd*-gnu)
11603
11712
    case $cc_basename in
11604
11713
      KCC*)
11605
11714
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11679
11788
        # dependencies.
11680
11789
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11681
11790
        ;;
 
11791
      *)
 
11792
        case `$CC -V 2>&1 | sed 5q` in
 
11793
        *Sun\ C*)
 
11794
          # Sun C++ 5.9
 
11795
          no_undefined_flag_CXX=' -zdefs'
 
11796
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11797
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
11798
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
11799
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
11800
 
 
11801
          # Not sure whether something based on
 
11802
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
11803
          # would be better.
 
11804
          output_verbose_link_cmd='echo'
 
11805
 
 
11806
          # Archives containing C++ object files must be created using
 
11807
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
11808
          # necessary to make sure instantiated templates are included
 
11809
          # in the archive.
 
11810
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
11811
          ;;
 
11812
        esac
 
11813
        ;;
11682
11814
    esac
11683
11815
    ;;
11684
11816
  lynxos*)
11717
11849
    ld_shlibs_CXX=no
11718
11850
    ;;
11719
11851
  openbsd*)
11720
 
    hardcode_direct_CXX=yes
11721
 
    hardcode_shlibpath_var_CXX=no
11722
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11723
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11724
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11725
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11726
 
      export_dynamic_flag_spec_CXX='${wl}-E'
11727
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11852
    if test -f /usr/libexec/ld.so; then
 
11853
      hardcode_direct_CXX=yes
 
11854
      hardcode_shlibpath_var_CXX=no
 
11855
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
11856
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11857
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11858
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
11859
        export_dynamic_flag_spec_CXX='${wl}-E'
 
11860
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11861
      fi
 
11862
      output_verbose_link_cmd='echo'
 
11863
    else
 
11864
      ld_shlibs_CXX=no
11728
11865
    fi
11729
 
    output_verbose_link_cmd='echo'
11730
11866
    ;;
11731
11867
  osf3*)
11732
11868
    case $cc_basename in
11888
12024
        case $host_os in
11889
12025
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11890
12026
          *)
11891
 
            # The C++ compiler is used as linker so we must use $wl
11892
 
            # flag to pass the commands to the underlying system
11893
 
            # linker. We must also pass each convience library through
11894
 
            # to the system linker between allextract/defaultextract.
11895
 
            # The C++ compiler will combine linker options so we
11896
 
            # cannot just pass the convience library names through
11897
 
            # without $wl.
 
12027
            # The compiler driver will combine and reorder linker options,
 
12028
            # but understands `-z linker_flag'.
11898
12029
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11899
 
            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'
 
12030
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11900
12031
            ;;
11901
12032
        esac
11902
12033
        link_all_deplibs_CXX=yes
11943
12074
          fi
11944
12075
 
11945
12076
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12077
          case $host_os in
 
12078
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12079
          *)
 
12080
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12081
            ;;
 
12082
          esac
11946
12083
        fi
11947
12084
        ;;
11948
12085
    esac
12134
12271
 
12135
12272
# PORTME: override above test on systems where it is broken
12136
12273
case $host_os in
12137
 
interix3*)
 
12274
interix[3-9]*)
12138
12275
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12139
12276
  # hack all around it, let's just trust "g++" to DTRT.
12140
12277
  predep_objects_CXX=
12142
12279
  postdeps_CXX=
12143
12280
  ;;
12144
12281
 
 
12282
linux*)
 
12283
  case `$CC -V 2>&1 | sed 5q` in
 
12284
  *Sun\ C*)
 
12285
    # Sun C++ 5.9
 
12286
    #
 
12287
    # The more standards-conforming stlport4 library is
 
12288
    # incompatible with the Cstd library. Avoid specifying
 
12289
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12290
    # -library=stlport4 depends on it.
 
12291
    case " $CXX $CXXFLAGS " in
 
12292
    *" -library=stlport4 "*)
 
12293
      solaris_use_stlport4=yes
 
12294
      ;;
 
12295
    esac
 
12296
    if test "$solaris_use_stlport4" != yes; then
 
12297
      postdeps_CXX='-library=Cstd -library=Crun'
 
12298
    fi
 
12299
    ;;
 
12300
  esac
 
12301
  ;;
 
12302
 
12145
12303
solaris*)
12146
12304
  case $cc_basename in
12147
12305
  CC*)
 
12306
    # The more standards-conforming stlport4 library is
 
12307
    # incompatible with the Cstd library. Avoid specifying
 
12308
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12309
    # -library=stlport4 depends on it.
 
12310
    case " $CXX $CXXFLAGS " in
 
12311
    *" -library=stlport4 "*)
 
12312
      solaris_use_stlport4=yes
 
12313
      ;;
 
12314
    esac
 
12315
 
12148
12316
    # Adding this requires a known-good setup of shared libraries for
12149
12317
    # Sun compiler versions before 5.6, else PIC objects from an old
12150
12318
    # archive will be linked into the output, leading to subtle bugs.
12151
 
    postdeps_CXX='-lCstd -lCrun'
 
12319
    if test "$solaris_use_stlport4" != yes; then
 
12320
      postdeps_CXX='-library=Cstd -library=Crun'
 
12321
    fi
12152
12322
    ;;
12153
12323
  esac
12154
12324
  ;;
12185
12355
      # like `-m68040'.
12186
12356
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12187
12357
      ;;
12188
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12358
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12189
12359
      # PIC is the default for these OSes.
12190
12360
      ;;
12191
 
    mingw* | os2* | pw32*)
 
12361
    mingw* | cygwin* | os2* | pw32*)
12192
12362
      # This hack is so that the source file can tell whether it is being
12193
12363
      # built for inclusion in a dll (and should export symbols for example).
 
12364
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12365
      # (--disable-auto-import) libraries
12194
12366
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12195
12367
      ;;
12196
12368
    darwin* | rhapsody*)
12202
12374
      # DJGPP does not support shared libraries at all
12203
12375
      lt_prog_compiler_pic_CXX=
12204
12376
      ;;
12205
 
    interix3*)
 
12377
    interix[3-9]*)
12206
12378
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12207
12379
      # Instead, we relocate shared libraries at runtime.
12208
12380
      ;;
12268
12440
            ;;
12269
12441
        esac
12270
12442
        ;;
12271
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
12443
      freebsd* | dragonfly*)
12272
12444
        # FreeBSD uses GNU C++
12273
12445
        ;;
12274
12446
      hpux9* | hpux10* | hpux11*)
12311
12483
            ;;
12312
12484
        esac
12313
12485
        ;;
12314
 
      linux*)
 
12486
      linux* | k*bsd*-gnu)
12315
12487
        case $cc_basename in
12316
12488
          KCC*)
12317
12489
            # KAI C++ Compiler
12338
12510
            lt_prog_compiler_static_CXX='-non_shared'
12339
12511
            ;;
12340
12512
          *)
 
12513
            case `$CC -V 2>&1 | sed 5q` in
 
12514
            *Sun\ C*)
 
12515
              # Sun C++ 5.9
 
12516
              lt_prog_compiler_pic_CXX='-KPIC'
 
12517
              lt_prog_compiler_static_CXX='-Bstatic'
 
12518
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12519
              ;;
 
12520
            esac
12341
12521
            ;;
12342
12522
        esac
12343
12523
        ;;
12452
12632
else
12453
12633
  lt_prog_compiler_pic_works_CXX=no
12454
12634
  ac_outfile=conftest.$ac_objext
12455
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12635
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12456
12636
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12457
12637
   # Insert the option either (1) after the last *FLAGS variable, or
12458
12638
   # (2) before a word containing "conftest.", or (3) at the end.
12463
12643
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12464
12644
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12465
12645
   -e 's:$: $lt_compiler_flag:'`
12466
 
   (eval echo "\"\$as_me:12466: $lt_compile\"" >&5)
 
12646
   (eval echo "\"\$as_me:12646: $lt_compile\"" >&5)
12467
12647
   (eval "$lt_compile" 2>conftest.err)
12468
12648
   ac_status=$?
12469
12649
   cat conftest.err >&5
12470
 
   echo "$as_me:12470: \$? = $ac_status" >&5
 
12650
   echo "$as_me:12650: \$? = $ac_status" >&5
12471
12651
   if (exit $ac_status) && test -s "$ac_outfile"; then
12472
12652
     # The compiler can only warn and ignore the option if not recognized
12473
12653
     # So say no if there are warnings other than the usual output.
12516
12696
  lt_prog_compiler_static_works_CXX=no
12517
12697
   save_LDFLAGS="$LDFLAGS"
12518
12698
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12519
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
12699
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12520
12700
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12521
12701
     # The linker can only warn and ignore the option if not recognized
12522
12702
     # So say no if there are warnings
12556
12736
   mkdir conftest
12557
12737
   cd conftest
12558
12738
   mkdir out
12559
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12739
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12560
12740
 
12561
12741
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12562
12742
   # Insert the option either (1) after the last *FLAGS variable, or
12567
12747
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12568
12748
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12569
12749
   -e 's:$: $lt_compiler_flag:'`
12570
 
   (eval echo "\"\$as_me:12570: $lt_compile\"" >&5)
 
12750
   (eval echo "\"\$as_me:12750: $lt_compile\"" >&5)
12571
12751
   (eval "$lt_compile" 2>out/conftest.err)
12572
12752
   ac_status=$?
12573
12753
   cat out/conftest.err >&5
12574
 
   echo "$as_me:12574: \$? = $ac_status" >&5
 
12754
   echo "$as_me:12754: \$? = $ac_status" >&5
12575
12755
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12576
12756
   then
12577
12757
     # The compiler can only warn and ignore the option if not recognized
12637
12817
    export_symbols_cmds_CXX="$ltdll_cmds"
12638
12818
  ;;
12639
12819
  cygwin* | mingw*)
12640
 
    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'
 
12820
    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'
12641
12821
  ;;
12642
12822
  *)
12643
12823
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12668
12848
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12669
12849
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12670
12850
      $rm conftest*
12671
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12851
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12672
12852
 
12673
12853
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12674
12854
  (eval $ac_compile) 2>&5
12726
12906
version_type=none
12727
12907
dynamic_linker="$host_os ld.so"
12728
12908
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12729
 
if test "$GCC" = yes; then
12730
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12731
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12732
 
    # if the path contains ";" then we assume it to be the separator
12733
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12734
 
    # assumed that no part of a normal pathname contains ";" but that should
12735
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12736
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12737
 
  else
12738
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12739
 
  fi
12740
 
else
12741
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12742
 
fi
 
12909
 
12743
12910
need_lib_prefix=unknown
12744
12911
hardcode_into_libs=no
12745
12912
 
12877
13044
    esac
12878
13045
    ;;
12879
13046
 
12880
 
  linux*)
12881
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
12882
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12883
 
      supports_anon_versioning=no
12884
 
      case `$LD -v 2>/dev/null` in
12885
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12886
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12887
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12888
 
        *\ 2.11.*) ;; # other 2.11 versions
12889
 
        *) supports_anon_versioning=yes ;;
12890
 
      esac
12891
 
      if test $supports_anon_versioning = yes; then
12892
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
12893
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12894
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
12895
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12896
 
      else
12897
 
        $archive_expsym_cmds="$archive_cmds"
12898
 
      fi
12899
 
    else
12900
 
      ld_shlibs=no
12901
 
    fi
12902
 
    ;;
12903
 
 
12904
13047
  *)
12905
13048
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12906
13049
    ;;
12920
13063
  shlibpath_overrides_runpath=yes
12921
13064
  shlibpath_var=DYLD_LIBRARY_PATH
12922
13065
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12923
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12924
 
  if test "$GCC" = yes; then
12925
 
    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"`
12926
 
  else
12927
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12928
 
  fi
 
13066
 
12929
13067
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12930
13068
  ;;
12931
13069
 
12942
13080
  dynamic_linker=no
12943
13081
  ;;
12944
13082
 
12945
 
kfreebsd*-gnu)
12946
 
  version_type=linux
12947
 
  need_lib_prefix=no
12948
 
  need_version=no
12949
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12950
 
  soname_spec='${libname}${release}${shared_ext}$major'
12951
 
  shlibpath_var=LD_LIBRARY_PATH
12952
 
  shlibpath_overrides_runpath=no
12953
 
  hardcode_into_libs=yes
12954
 
  dynamic_linker='GNU ld.so'
12955
 
  ;;
12956
 
 
12957
13083
freebsd* | dragonfly*)
12958
13084
  # DragonFly does not have aout.  When/if they implement a new
12959
13085
  # versioning mechanism, adjust this.
13004
13130
    shlibpath_overrides_runpath=no
13005
13131
    hardcode_into_libs=yes
13006
13132
    ;;
13007
 
  freebsd*) # from 4.6 on
 
13133
  *) # from 4.6 on, and DragonFly
13008
13134
    shlibpath_overrides_runpath=yes
13009
13135
    hardcode_into_libs=yes
13010
13136
    ;;
13067
13193
  postinstall_cmds='chmod 555 $lib'
13068
13194
  ;;
13069
13195
 
13070
 
interix3*)
 
13196
interix[3-9]*)
13071
13197
  version_type=linux
13072
13198
  need_lib_prefix=no
13073
13199
  need_version=no
13122
13248
  ;;
13123
13249
 
13124
13250
# This must be Linux ELF.
13125
 
linux*)
 
13251
linux* | k*bsd*-gnu)
13126
13252
  version_type=linux
13127
13253
  need_lib_prefix=no
13128
13254
  need_version=no
13138
13264
 
13139
13265
  # Append ld.so.conf contents to the search path
13140
13266
  if test -f /etc/ld.so.conf; then
13141
 
    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' ' '`
 
13267
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13142
13268
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13143
13269
  fi
13144
13270
 
13151
13277
  dynamic_linker='GNU/Linux ld.so'
13152
13278
  ;;
13153
13279
 
13154
 
knetbsd*-gnu)
13155
 
  version_type=linux
13156
 
  need_lib_prefix=no
13157
 
  need_version=no
13158
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13159
 
  soname_spec='${libname}${release}${shared_ext}$major'
13160
 
  shlibpath_var=LD_LIBRARY_PATH
13161
 
  shlibpath_overrides_runpath=no
13162
 
  hardcode_into_libs=yes
13163
 
  dynamic_linker='GNU ld.so'
13164
 
  ;;
13165
 
 
13166
13280
netbsd*)
13167
13281
  version_type=sunos
13168
13282
  need_lib_prefix=no
13244
13358
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13245
13359
  ;;
13246
13360
 
 
13361
rdos*)
 
13362
  dynamic_linker=no
 
13363
  ;;
 
13364
 
13247
13365
solaris*)
13248
13366
  version_type=linux
13249
13367
  need_lib_prefix=no
13438
13556
    module_cmds_CXX \
13439
13557
    module_expsym_cmds_CXX \
13440
13558
    lt_cv_prog_compiler_c_o_CXX \
 
13559
    fix_srcfile_path_CXX \
13441
13560
    exclude_expsyms_CXX \
13442
13561
    include_expsyms_CXX; do
13443
13562
 
13758
13877
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13759
13878
 
13760
13879
# Fix the shell variable \$srcfile for the compiler.
13761
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
13880
fix_srcfile_path=$lt_fix_srcfile_path
13762
13881
 
13763
13882
# Set to yes if exported symbols are required.
13764
13883
always_export_symbols=$always_export_symbols_CXX
13849
13968
objext_F77=$objext
13850
13969
 
13851
13970
# Code to be used in simple compile tests
13852
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
13971
lt_simple_compile_test_code="\
 
13972
      subroutine t
 
13973
      return
 
13974
      end
 
13975
"
13853
13976
 
13854
13977
# Code to be used in simple link tests
13855
 
lt_simple_link_test_code="      program t\n      end\n"
 
13978
lt_simple_link_test_code="\
 
13979
      program t
 
13980
      end
 
13981
"
13856
13982
 
13857
13983
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13858
13984
 
13868
13994
 
13869
13995
# save warnings/boilerplate of simple test code
13870
13996
ac_outfile=conftest.$ac_objext
13871
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
13997
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13872
13998
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13873
13999
_lt_compiler_boilerplate=`cat conftest.err`
13874
14000
$rm conftest*
13875
14001
 
13876
14002
ac_outfile=conftest.$ac_objext
13877
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14003
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13878
14004
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13879
14005
_lt_linker_boilerplate=`cat conftest.err`
13880
14006
$rm conftest*
13961
14087
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13962
14088
      ;;
13963
14089
 
13964
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14090
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13965
14091
      # PIC is the default for these OSes.
13966
14092
      ;;
13967
14093
 
13968
 
    mingw* | pw32* | os2*)
 
14094
    mingw* | cygwin* | pw32* | os2*)
13969
14095
      # This hack is so that the source file can tell whether it is being
13970
14096
      # built for inclusion in a dll (and should export symbols for example).
 
14097
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14098
      # (--disable-auto-import) libraries
13971
14099
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13972
14100
      ;;
13973
14101
 
13977
14105
      lt_prog_compiler_pic_F77='-fno-common'
13978
14106
      ;;
13979
14107
 
13980
 
    interix3*)
 
14108
    interix[3-9]*)
13981
14109
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13982
14110
      # Instead, we relocate shared libraries at runtime.
13983
14111
      ;;
14035
14163
       esac
14036
14164
       ;;
14037
14165
 
14038
 
    mingw* | pw32* | os2*)
 
14166
    mingw* | cygwin* | pw32* | os2*)
14039
14167
      # This hack is so that the source file can tell whether it is being
14040
14168
      # built for inclusion in a dll (and should export symbols for example).
14041
14169
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14068
14196
      lt_prog_compiler_static_F77='-Bstatic'
14069
14197
      ;;
14070
14198
 
14071
 
    linux*)
 
14199
    linux* | k*bsd*-gnu)
14072
14200
      case $cc_basename in
14073
14201
      icc* | ecc*)
14074
14202
        lt_prog_compiler_wl_F77='-Wl,'
14087
14215
        # All Alpha code is PIC.
14088
14216
        lt_prog_compiler_static_F77='-non_shared'
14089
14217
        ;;
 
14218
      *)
 
14219
        case `$CC -V 2>&1 | sed 5q` in
 
14220
        *Sun\ C*)
 
14221
          # Sun C 5.9
 
14222
          lt_prog_compiler_pic_F77='-KPIC'
 
14223
          lt_prog_compiler_static_F77='-Bstatic'
 
14224
          lt_prog_compiler_wl_F77='-Wl,'
 
14225
          ;;
 
14226
        *Sun\ F*)
 
14227
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14228
          lt_prog_compiler_pic_F77='-KPIC'
 
14229
          lt_prog_compiler_static_F77='-Bstatic'
 
14230
          lt_prog_compiler_wl_F77=''
 
14231
          ;;
 
14232
        esac
 
14233
        ;;
14090
14234
      esac
14091
14235
      ;;
14092
14236
 
14096
14240
      lt_prog_compiler_static_F77='-non_shared'
14097
14241
      ;;
14098
14242
 
 
14243
    rdos*)
 
14244
      lt_prog_compiler_static_F77='-non_shared'
 
14245
      ;;
 
14246
 
14099
14247
    solaris*)
14100
14248
      lt_prog_compiler_pic_F77='-KPIC'
14101
14249
      lt_prog_compiler_static_F77='-Bstatic'
14163
14311
else
14164
14312
  lt_prog_compiler_pic_works_F77=no
14165
14313
  ac_outfile=conftest.$ac_objext
14166
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14314
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14167
14315
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14168
14316
   # Insert the option either (1) after the last *FLAGS variable, or
14169
14317
   # (2) before a word containing "conftest.", or (3) at the end.
14174
14322
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14175
14323
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14176
14324
   -e 's:$: $lt_compiler_flag:'`
14177
 
   (eval echo "\"\$as_me:14177: $lt_compile\"" >&5)
 
14325
   (eval echo "\"\$as_me:14325: $lt_compile\"" >&5)
14178
14326
   (eval "$lt_compile" 2>conftest.err)
14179
14327
   ac_status=$?
14180
14328
   cat conftest.err >&5
14181
 
   echo "$as_me:14181: \$? = $ac_status" >&5
 
14329
   echo "$as_me:14329: \$? = $ac_status" >&5
14182
14330
   if (exit $ac_status) && test -s "$ac_outfile"; then
14183
14331
     # The compiler can only warn and ignore the option if not recognized
14184
14332
     # So say no if there are warnings other than the usual output.
14227
14375
  lt_prog_compiler_static_works_F77=no
14228
14376
   save_LDFLAGS="$LDFLAGS"
14229
14377
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14230
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14378
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14231
14379
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14232
14380
     # The linker can only warn and ignore the option if not recognized
14233
14381
     # So say no if there are warnings
14267
14415
   mkdir conftest
14268
14416
   cd conftest
14269
14417
   mkdir out
14270
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14418
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14271
14419
 
14272
14420
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14273
14421
   # Insert the option either (1) after the last *FLAGS variable, or
14278
14426
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14279
14427
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14280
14428
   -e 's:$: $lt_compiler_flag:'`
14281
 
   (eval echo "\"\$as_me:14281: $lt_compile\"" >&5)
 
14429
   (eval echo "\"\$as_me:14429: $lt_compile\"" >&5)
14282
14430
   (eval "$lt_compile" 2>out/conftest.err)
14283
14431
   ac_status=$?
14284
14432
   cat out/conftest.err >&5
14285
 
   echo "$as_me:14285: \$? = $ac_status" >&5
 
14433
   echo "$as_me:14433: \$? = $ac_status" >&5
14286
14434
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14287
14435
   then
14288
14436
     # The compiler can only warn and ignore the option if not recognized
14474
14622
      allow_undefined_flag_F77=unsupported
14475
14623
      always_export_symbols_F77=no
14476
14624
      enable_shared_with_static_runtimes_F77=yes
14477
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14625
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14478
14626
 
14479
14627
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14480
14628
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14492
14640
      fi
14493
14641
      ;;
14494
14642
 
14495
 
    interix3*)
 
14643
    interix[3-9]*)
14496
14644
      hardcode_direct_F77=no
14497
14645
      hardcode_shlibpath_var_F77=no
14498
14646
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14507
14655
      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'
14508
14656
      ;;
14509
14657
 
14510
 
    linux*)
 
14658
    gnu* | linux* | k*bsd*-gnu)
14511
14659
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14512
14660
        tmp_addflag=
14513
14661
        case $cc_basename,$host_cpu in
14525
14673
        ifc* | ifort*)                  # Intel Fortran compiler
14526
14674
          tmp_addflag=' -nofor_main' ;;
14527
14675
        esac
14528
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14676
        case `$CC -V 2>&1 | sed 5q` in
 
14677
        *Sun\ C*)                       # Sun C 5.9
 
14678
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14679
          tmp_sharedflag='-G' ;;
 
14680
        *Sun\ F*)                       # Sun Fortran 8.3
 
14681
          tmp_sharedflag='-G' ;;
 
14682
        *)
 
14683
          tmp_sharedflag='-shared' ;;
 
14684
        esac
 
14685
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14529
14686
 
14530
14687
        if test $supports_anon_versioning = yes; then
14531
14688
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14532
14689
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14533
14690
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14534
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14691
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14535
14692
        fi
14536
14693
      else
14537
14694
        ld_shlibs_F77=no
14690
14847
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14691
14848
          then
14692
14849
          # We have reworked collect2
14693
 
          hardcode_direct_F77=yes
 
14850
          :
14694
14851
          else
14695
14852
          # We have old collect2
14696
14853
          hardcode_direct_F77=unsupported
14754
14911
       } && test -s conftest$ac_exeext &&
14755
14912
       $as_test_x conftest$ac_exeext; then
14756
14913
 
14757
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14758
 
}'`
 
14914
lt_aix_libpath_sed='
 
14915
    /Import File Strings/,/^$/ {
 
14916
        /^0/ {
 
14917
            s/^0  *\(.*\)$/\1/
 
14918
            p
 
14919
        }
 
14920
    }'
 
14921
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14759
14922
# Check for a 64-bit object if we didn't find anything.
14760
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14761
 
}'`; fi
 
14923
if test -z "$aix_libpath"; then
 
14924
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14925
fi
14762
14926
else
14763
14927
  echo "$as_me: failed program was:" >&5
14764
14928
sed 's/^/| /' conftest.$ac_ext >&5
14803
14967
       } && test -s conftest$ac_exeext &&
14804
14968
       $as_test_x conftest$ac_exeext; then
14805
14969
 
14806
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14807
 
}'`
 
14970
lt_aix_libpath_sed='
 
14971
    /Import File Strings/,/^$/ {
 
14972
        /^0/ {
 
14973
            s/^0  *\(.*\)$/\1/
 
14974
            p
 
14975
        }
 
14976
    }'
 
14977
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14808
14978
# Check for a 64-bit object if we didn't find anything.
14809
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14810
 
}'`; fi
 
14979
if test -z "$aix_libpath"; then
 
14980
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14981
fi
14811
14982
else
14812
14983
  echo "$as_me: failed program was:" >&5
14813
14984
sed 's/^/| /' conftest.$ac_ext >&5
14861
15032
      # The linker will automatically build a .lib file if we build a DLL.
14862
15033
      old_archive_From_new_cmds_F77='true'
14863
15034
      # FIXME: Should let the user specify the lib program.
14864
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
15035
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
14865
15036
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14866
15037
      enable_shared_with_static_runtimes_F77=yes
14867
15038
      ;;
14903
15074
      case $cc_basename in
14904
15075
        xlc*)
14905
15076
         output_verbose_link_cmd='echo'
14906
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15077
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14907
15078
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14908
15079
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14909
 
         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}'
 
15080
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14910
15081
          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}'
14911
15082
          ;;
14912
15083
       *)
14946
15117
      ;;
14947
15118
 
14948
15119
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14949
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
15120
    freebsd* | dragonfly*)
14950
15121
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14951
15122
      hardcode_libdir_flag_spec_F77='-R$libdir'
14952
15123
      hardcode_direct_F77=yes
15068
15239
      ;;
15069
15240
 
15070
15241
    openbsd*)
15071
 
      hardcode_direct_F77=yes
15072
 
      hardcode_shlibpath_var_F77=no
15073
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15074
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15075
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15076
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15077
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15242
      if test -f /usr/libexec/ld.so; then
 
15243
        hardcode_direct_F77=yes
 
15244
        hardcode_shlibpath_var_F77=no
 
15245
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15246
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15247
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15248
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15249
          export_dynamic_flag_spec_F77='${wl}-E'
 
15250
        else
 
15251
          case $host_os in
 
15252
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15253
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15254
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15255
             ;;
 
15256
           *)
 
15257
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15258
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15259
             ;;
 
15260
          esac
 
15261
        fi
15078
15262
      else
15079
 
       case $host_os in
15080
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15081
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15082
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
15083
 
           ;;
15084
 
         *)
15085
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15086
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15087
 
           ;;
15088
 
       esac
 
15263
        ld_shlibs_F77=no
15089
15264
      fi
15090
15265
      ;;
15091
15266
 
15144
15319
      case $host_os in
15145
15320
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15146
15321
      *)
15147
 
        # The compiler driver will combine linker options so we
15148
 
        # cannot just pass the convience library names through
15149
 
        # without $wl, iff we do not link with $LD.
15150
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15322
        # The compiler driver will combine and reorder linker options,
 
15323
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15324
        # but is careful enough not to reorder.
15151
15325
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15152
 
        case $wlarc in
15153
 
        '')
15154
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15155
 
        *)
15156
 
          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' ;;
15157
 
        esac ;;
 
15326
        if test "$GCC" = yes; then
 
15327
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15328
        else
 
15329
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15330
        fi
 
15331
        ;;
15158
15332
      esac
15159
15333
      link_all_deplibs_F77=yes
15160
15334
      ;;
15211
15385
      fi
15212
15386
      ;;
15213
15387
 
15214
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15388
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15215
15389
      no_undefined_flag_F77='${wl}-z,text'
15216
15390
      archive_cmds_need_lc_F77=no
15217
15391
      hardcode_shlibpath_var_F77=no
15288
15462
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15289
15463
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15290
15464
      $rm conftest*
15291
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15465
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15292
15466
 
15293
15467
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15294
15468
  (eval $ac_compile) 2>&5
15346
15520
version_type=none
15347
15521
dynamic_linker="$host_os ld.so"
15348
15522
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15349
 
if test "$GCC" = yes; then
15350
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15351
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15352
 
    # if the path contains ";" then we assume it to be the separator
15353
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15354
 
    # assumed that no part of a normal pathname contains ";" but that should
15355
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15356
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15357
 
  else
15358
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15359
 
  fi
15360
 
else
15361
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15362
 
fi
 
15523
 
15363
15524
need_lib_prefix=unknown
15364
15525
hardcode_into_libs=no
15365
15526
 
15497
15658
    esac
15498
15659
    ;;
15499
15660
 
15500
 
  linux*)
15501
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
15502
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15503
 
      supports_anon_versioning=no
15504
 
      case `$LD -v 2>/dev/null` in
15505
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15506
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15507
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15508
 
        *\ 2.11.*) ;; # other 2.11 versions
15509
 
        *) supports_anon_versioning=yes ;;
15510
 
      esac
15511
 
      if test $supports_anon_versioning = yes; then
15512
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15513
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15514
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
15515
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15516
 
      else
15517
 
        $archive_expsym_cmds="$archive_cmds"
15518
 
      fi
15519
 
    else
15520
 
      ld_shlibs=no
15521
 
    fi
15522
 
    ;;
15523
 
 
15524
15661
  *)
15525
15662
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15526
15663
    ;;
15540
15677
  shlibpath_overrides_runpath=yes
15541
15678
  shlibpath_var=DYLD_LIBRARY_PATH
15542
15679
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15543
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15544
 
  if test "$GCC" = yes; then
15545
 
    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"`
15546
 
  else
15547
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15548
 
  fi
 
15680
 
15549
15681
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15550
15682
  ;;
15551
15683
 
15562
15694
  dynamic_linker=no
15563
15695
  ;;
15564
15696
 
15565
 
kfreebsd*-gnu)
15566
 
  version_type=linux
15567
 
  need_lib_prefix=no
15568
 
  need_version=no
15569
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15570
 
  soname_spec='${libname}${release}${shared_ext}$major'
15571
 
  shlibpath_var=LD_LIBRARY_PATH
15572
 
  shlibpath_overrides_runpath=no
15573
 
  hardcode_into_libs=yes
15574
 
  dynamic_linker='GNU ld.so'
15575
 
  ;;
15576
 
 
15577
15697
freebsd* | dragonfly*)
15578
15698
  # DragonFly does not have aout.  When/if they implement a new
15579
15699
  # versioning mechanism, adjust this.
15624
15744
    shlibpath_overrides_runpath=no
15625
15745
    hardcode_into_libs=yes
15626
15746
    ;;
15627
 
  freebsd*) # from 4.6 on
 
15747
  *) # from 4.6 on, and DragonFly
15628
15748
    shlibpath_overrides_runpath=yes
15629
15749
    hardcode_into_libs=yes
15630
15750
    ;;
15687
15807
  postinstall_cmds='chmod 555 $lib'
15688
15808
  ;;
15689
15809
 
15690
 
interix3*)
 
15810
interix[3-9]*)
15691
15811
  version_type=linux
15692
15812
  need_lib_prefix=no
15693
15813
  need_version=no
15742
15862
  ;;
15743
15863
 
15744
15864
# This must be Linux ELF.
15745
 
linux*)
 
15865
linux* | k*bsd*-gnu)
15746
15866
  version_type=linux
15747
15867
  need_lib_prefix=no
15748
15868
  need_version=no
15758
15878
 
15759
15879
  # Append ld.so.conf contents to the search path
15760
15880
  if test -f /etc/ld.so.conf; then
15761
 
    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' ' '`
 
15881
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15762
15882
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15763
15883
  fi
15764
15884
 
15771
15891
  dynamic_linker='GNU/Linux ld.so'
15772
15892
  ;;
15773
15893
 
15774
 
knetbsd*-gnu)
15775
 
  version_type=linux
15776
 
  need_lib_prefix=no
15777
 
  need_version=no
15778
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15779
 
  soname_spec='${libname}${release}${shared_ext}$major'
15780
 
  shlibpath_var=LD_LIBRARY_PATH
15781
 
  shlibpath_overrides_runpath=no
15782
 
  hardcode_into_libs=yes
15783
 
  dynamic_linker='GNU ld.so'
15784
 
  ;;
15785
 
 
15786
15894
netbsd*)
15787
15895
  version_type=sunos
15788
15896
  need_lib_prefix=no
15864
15972
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15865
15973
  ;;
15866
15974
 
 
15975
rdos*)
 
15976
  dynamic_linker=no
 
15977
  ;;
 
15978
 
15867
15979
solaris*)
15868
15980
  version_type=linux
15869
15981
  need_lib_prefix=no
16058
16170
    module_cmds_F77 \
16059
16171
    module_expsym_cmds_F77 \
16060
16172
    lt_cv_prog_compiler_c_o_F77 \
 
16173
    fix_srcfile_path_F77 \
16061
16174
    exclude_expsyms_F77 \
16062
16175
    include_expsyms_F77; do
16063
16176
 
16378
16491
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16379
16492
 
16380
16493
# Fix the shell variable \$srcfile for the compiler.
16381
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16494
fix_srcfile_path=$lt_fix_srcfile_path
16382
16495
 
16383
16496
# Set to yes if exported symbols are required.
16384
16497
always_export_symbols=$always_export_symbols_F77
16436
16549
objext_GCJ=$objext
16437
16550
 
16438
16551
# Code to be used in simple compile tests
16439
 
lt_simple_compile_test_code="class foo {}\n"
 
16552
lt_simple_compile_test_code="class foo {}"
16440
16553
 
16441
16554
# Code to be used in simple link tests
16442
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
16555
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16443
16556
 
16444
16557
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16445
16558
 
16455
16568
 
16456
16569
# save warnings/boilerplate of simple test code
16457
16570
ac_outfile=conftest.$ac_objext
16458
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16571
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16459
16572
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16460
16573
_lt_compiler_boilerplate=`cat conftest.err`
16461
16574
$rm conftest*
16462
16575
 
16463
16576
ac_outfile=conftest.$ac_objext
16464
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16577
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16465
16578
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16466
16579
_lt_linker_boilerplate=`cat conftest.err`
16467
16580
$rm conftest*
16502
16615
else
16503
16616
  lt_cv_prog_compiler_rtti_exceptions=no
16504
16617
  ac_outfile=conftest.$ac_objext
16505
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16618
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16506
16619
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16507
16620
   # Insert the option either (1) after the last *FLAGS variable, or
16508
16621
   # (2) before a word containing "conftest.", or (3) at the end.
16513
16626
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16514
16627
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16515
16628
   -e 's:$: $lt_compiler_flag:'`
16516
 
   (eval echo "\"\$as_me:16516: $lt_compile\"" >&5)
 
16629
   (eval echo "\"\$as_me:16629: $lt_compile\"" >&5)
16517
16630
   (eval "$lt_compile" 2>conftest.err)
16518
16631
   ac_status=$?
16519
16632
   cat conftest.err >&5
16520
 
   echo "$as_me:16520: \$? = $ac_status" >&5
 
16633
   echo "$as_me:16633: \$? = $ac_status" >&5
16521
16634
   if (exit $ac_status) && test -s "$ac_outfile"; then
16522
16635
     # The compiler can only warn and ignore the option if not recognized
16523
16636
     # So say no if there are warnings other than the usual output.
16568
16681
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16569
16682
      ;;
16570
16683
 
16571
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16684
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16572
16685
      # PIC is the default for these OSes.
16573
16686
      ;;
16574
16687
 
16575
 
    mingw* | pw32* | os2*)
 
16688
    mingw* | cygwin* | pw32* | os2*)
16576
16689
      # This hack is so that the source file can tell whether it is being
16577
16690
      # built for inclusion in a dll (and should export symbols for example).
 
16691
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16692
      # (--disable-auto-import) libraries
16578
16693
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16579
16694
      ;;
16580
16695
 
16584
16699
      lt_prog_compiler_pic_GCJ='-fno-common'
16585
16700
      ;;
16586
16701
 
16587
 
    interix3*)
 
16702
    interix[3-9]*)
16588
16703
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16589
16704
      # Instead, we relocate shared libraries at runtime.
16590
16705
      ;;
16642
16757
       esac
16643
16758
       ;;
16644
16759
 
16645
 
    mingw* | pw32* | os2*)
 
16760
    mingw* | cygwin* | pw32* | os2*)
16646
16761
      # This hack is so that the source file can tell whether it is being
16647
16762
      # built for inclusion in a dll (and should export symbols for example).
16648
16763
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16675
16790
      lt_prog_compiler_static_GCJ='-Bstatic'
16676
16791
      ;;
16677
16792
 
16678
 
    linux*)
 
16793
    linux* | k*bsd*-gnu)
16679
16794
      case $cc_basename in
16680
16795
      icc* | ecc*)
16681
16796
        lt_prog_compiler_wl_GCJ='-Wl,'
16694
16809
        # All Alpha code is PIC.
16695
16810
        lt_prog_compiler_static_GCJ='-non_shared'
16696
16811
        ;;
 
16812
      *)
 
16813
        case `$CC -V 2>&1 | sed 5q` in
 
16814
        *Sun\ C*)
 
16815
          # Sun C 5.9
 
16816
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16817
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16818
          lt_prog_compiler_wl_GCJ='-Wl,'
 
16819
          ;;
 
16820
        *Sun\ F*)
 
16821
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16822
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16823
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16824
          lt_prog_compiler_wl_GCJ=''
 
16825
          ;;
 
16826
        esac
 
16827
        ;;
16697
16828
      esac
16698
16829
      ;;
16699
16830
 
16703
16834
      lt_prog_compiler_static_GCJ='-non_shared'
16704
16835
      ;;
16705
16836
 
 
16837
    rdos*)
 
16838
      lt_prog_compiler_static_GCJ='-non_shared'
 
16839
      ;;
 
16840
 
16706
16841
    solaris*)
16707
16842
      lt_prog_compiler_pic_GCJ='-KPIC'
16708
16843
      lt_prog_compiler_static_GCJ='-Bstatic'
16770
16905
else
16771
16906
  lt_prog_compiler_pic_works_GCJ=no
16772
16907
  ac_outfile=conftest.$ac_objext
16773
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16908
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16774
16909
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16775
16910
   # Insert the option either (1) after the last *FLAGS variable, or
16776
16911
   # (2) before a word containing "conftest.", or (3) at the end.
16781
16916
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16782
16917
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16783
16918
   -e 's:$: $lt_compiler_flag:'`
16784
 
   (eval echo "\"\$as_me:16784: $lt_compile\"" >&5)
 
16919
   (eval echo "\"\$as_me:16919: $lt_compile\"" >&5)
16785
16920
   (eval "$lt_compile" 2>conftest.err)
16786
16921
   ac_status=$?
16787
16922
   cat conftest.err >&5
16788
 
   echo "$as_me:16788: \$? = $ac_status" >&5
 
16923
   echo "$as_me:16923: \$? = $ac_status" >&5
16789
16924
   if (exit $ac_status) && test -s "$ac_outfile"; then
16790
16925
     # The compiler can only warn and ignore the option if not recognized
16791
16926
     # So say no if there are warnings other than the usual output.
16834
16969
  lt_prog_compiler_static_works_GCJ=no
16835
16970
   save_LDFLAGS="$LDFLAGS"
16836
16971
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16837
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
16972
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16838
16973
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16839
16974
     # The linker can only warn and ignore the option if not recognized
16840
16975
     # So say no if there are warnings
16874
17009
   mkdir conftest
16875
17010
   cd conftest
16876
17011
   mkdir out
16877
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17012
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16878
17013
 
16879
17014
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16880
17015
   # Insert the option either (1) after the last *FLAGS variable, or
16885
17020
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16886
17021
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16887
17022
   -e 's:$: $lt_compiler_flag:'`
16888
 
   (eval echo "\"\$as_me:16888: $lt_compile\"" >&5)
 
17023
   (eval echo "\"\$as_me:17023: $lt_compile\"" >&5)
16889
17024
   (eval "$lt_compile" 2>out/conftest.err)
16890
17025
   ac_status=$?
16891
17026
   cat out/conftest.err >&5
16892
 
   echo "$as_me:16892: \$? = $ac_status" >&5
 
17027
   echo "$as_me:17027: \$? = $ac_status" >&5
16893
17028
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16894
17029
   then
16895
17030
     # The compiler can only warn and ignore the option if not recognized
17081
17216
      allow_undefined_flag_GCJ=unsupported
17082
17217
      always_export_symbols_GCJ=no
17083
17218
      enable_shared_with_static_runtimes_GCJ=yes
17084
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17219
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17085
17220
 
17086
17221
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17087
17222
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17099
17234
      fi
17100
17235
      ;;
17101
17236
 
17102
 
    interix3*)
 
17237
    interix[3-9]*)
17103
17238
      hardcode_direct_GCJ=no
17104
17239
      hardcode_shlibpath_var_GCJ=no
17105
17240
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17114
17249
      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'
17115
17250
      ;;
17116
17251
 
17117
 
    linux*)
 
17252
    gnu* | linux* | k*bsd*-gnu)
17118
17253
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17119
17254
        tmp_addflag=
17120
17255
        case $cc_basename,$host_cpu in
17132
17267
        ifc* | ifort*)                  # Intel Fortran compiler
17133
17268
          tmp_addflag=' -nofor_main' ;;
17134
17269
        esac
17135
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17270
        case `$CC -V 2>&1 | sed 5q` in
 
17271
        *Sun\ C*)                       # Sun C 5.9
 
17272
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17273
          tmp_sharedflag='-G' ;;
 
17274
        *Sun\ F*)                       # Sun Fortran 8.3
 
17275
          tmp_sharedflag='-G' ;;
 
17276
        *)
 
17277
          tmp_sharedflag='-shared' ;;
 
17278
        esac
 
17279
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17136
17280
 
17137
17281
        if test $supports_anon_versioning = yes; then
17138
17282
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17139
17283
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17140
17284
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17141
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17285
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17142
17286
        fi
17143
17287
      else
17144
17288
        ld_shlibs_GCJ=no
17297
17441
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17298
17442
          then
17299
17443
          # We have reworked collect2
17300
 
          hardcode_direct_GCJ=yes
 
17444
          :
17301
17445
          else
17302
17446
          # We have old collect2
17303
17447
          hardcode_direct_GCJ=unsupported
17371
17515
       } && test -s conftest$ac_exeext &&
17372
17516
       $as_test_x conftest$ac_exeext; then
17373
17517
 
17374
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17375
 
}'`
 
17518
lt_aix_libpath_sed='
 
17519
    /Import File Strings/,/^$/ {
 
17520
        /^0/ {
 
17521
            s/^0  *\(.*\)$/\1/
 
17522
            p
 
17523
        }
 
17524
    }'
 
17525
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17376
17526
# Check for a 64-bit object if we didn't find anything.
17377
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17378
 
}'`; fi
 
17527
if test -z "$aix_libpath"; then
 
17528
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17529
fi
17379
17530
else
17380
17531
  echo "$as_me: failed program was:" >&5
17381
17532
sed 's/^/| /' conftest.$ac_ext >&5
17430
17581
       } && test -s conftest$ac_exeext &&
17431
17582
       $as_test_x conftest$ac_exeext; then
17432
17583
 
17433
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17434
 
}'`
 
17584
lt_aix_libpath_sed='
 
17585
    /Import File Strings/,/^$/ {
 
17586
        /^0/ {
 
17587
            s/^0  *\(.*\)$/\1/
 
17588
            p
 
17589
        }
 
17590
    }'
 
17591
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17435
17592
# Check for a 64-bit object if we didn't find anything.
17436
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17437
 
}'`; fi
 
17593
if test -z "$aix_libpath"; then
 
17594
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17595
fi
17438
17596
else
17439
17597
  echo "$as_me: failed program was:" >&5
17440
17598
sed 's/^/| /' conftest.$ac_ext >&5
17488
17646
      # The linker will automatically build a .lib file if we build a DLL.
17489
17647
      old_archive_From_new_cmds_GCJ='true'
17490
17648
      # FIXME: Should let the user specify the lib program.
17491
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
17649
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17492
17650
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17493
17651
      enable_shared_with_static_runtimes_GCJ=yes
17494
17652
      ;;
17530
17688
      case $cc_basename in
17531
17689
        xlc*)
17532
17690
         output_verbose_link_cmd='echo'
17533
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17691
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17534
17692
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17535
17693
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17536
 
         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}'
 
17694
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17537
17695
          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}'
17538
17696
          ;;
17539
17697
       *)
17573
17731
      ;;
17574
17732
 
17575
17733
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17576
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17734
    freebsd* | dragonfly*)
17577
17735
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17578
17736
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17579
17737
      hardcode_direct_GCJ=yes
17695
17853
      ;;
17696
17854
 
17697
17855
    openbsd*)
17698
 
      hardcode_direct_GCJ=yes
17699
 
      hardcode_shlibpath_var_GCJ=no
17700
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17701
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17702
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17703
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17704
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17856
      if test -f /usr/libexec/ld.so; then
 
17857
        hardcode_direct_GCJ=yes
 
17858
        hardcode_shlibpath_var_GCJ=no
 
17859
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17860
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17861
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17862
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17863
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
17864
        else
 
17865
          case $host_os in
 
17866
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17867
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17868
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
17869
             ;;
 
17870
           *)
 
17871
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17872
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17873
             ;;
 
17874
          esac
 
17875
        fi
17705
17876
      else
17706
 
       case $host_os in
17707
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17708
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17709
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17710
 
           ;;
17711
 
         *)
17712
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17713
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17714
 
           ;;
17715
 
       esac
 
17877
        ld_shlibs_GCJ=no
17716
17878
      fi
17717
17879
      ;;
17718
17880
 
17771
17933
      case $host_os in
17772
17934
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17773
17935
      *)
17774
 
        # The compiler driver will combine linker options so we
17775
 
        # cannot just pass the convience library names through
17776
 
        # without $wl, iff we do not link with $LD.
17777
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
17936
        # The compiler driver will combine and reorder linker options,
 
17937
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
17938
        # but is careful enough not to reorder.
17778
17939
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17779
 
        case $wlarc in
17780
 
        '')
17781
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17782
 
        *)
17783
 
          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' ;;
17784
 
        esac ;;
 
17940
        if test "$GCC" = yes; then
 
17941
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
17942
        else
 
17943
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
17944
        fi
 
17945
        ;;
17785
17946
      esac
17786
17947
      link_all_deplibs_GCJ=yes
17787
17948
      ;;
17838
17999
      fi
17839
18000
      ;;
17840
18001
 
17841
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18002
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17842
18003
      no_undefined_flag_GCJ='${wl}-z,text'
17843
18004
      archive_cmds_need_lc_GCJ=no
17844
18005
      hardcode_shlibpath_var_GCJ=no
17915
18076
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17916
18077
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17917
18078
      $rm conftest*
17918
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18079
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17919
18080
 
17920
18081
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17921
18082
  (eval $ac_compile) 2>&5
17973
18134
version_type=none
17974
18135
dynamic_linker="$host_os ld.so"
17975
18136
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17976
 
if test "$GCC" = yes; then
17977
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17978
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17979
 
    # if the path contains ";" then we assume it to be the separator
17980
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17981
 
    # assumed that no part of a normal pathname contains ";" but that should
17982
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17983
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17984
 
  else
17985
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17986
 
  fi
17987
 
else
17988
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17989
 
fi
 
18137
 
17990
18138
need_lib_prefix=unknown
17991
18139
hardcode_into_libs=no
17992
18140
 
18124
18272
    esac
18125
18273
    ;;
18126
18274
 
18127
 
  linux*)
18128
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
18129
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18130
 
      supports_anon_versioning=no
18131
 
      case `$LD -v 2>/dev/null` in
18132
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18133
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18134
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18135
 
        *\ 2.11.*) ;; # other 2.11 versions
18136
 
        *) supports_anon_versioning=yes ;;
18137
 
      esac
18138
 
      if test $supports_anon_versioning = yes; then
18139
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
18140
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18141
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
18142
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18143
 
      else
18144
 
        $archive_expsym_cmds="$archive_cmds"
18145
 
      fi
18146
 
    else
18147
 
      ld_shlibs=no
18148
 
    fi
18149
 
    ;;
18150
 
 
18151
18275
  *)
18152
18276
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18153
18277
    ;;
18167
18291
  shlibpath_overrides_runpath=yes
18168
18292
  shlibpath_var=DYLD_LIBRARY_PATH
18169
18293
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18170
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18171
 
  if test "$GCC" = yes; then
18172
 
    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"`
18173
 
  else
18174
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18175
 
  fi
 
18294
 
18176
18295
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18177
18296
  ;;
18178
18297
 
18189
18308
  dynamic_linker=no
18190
18309
  ;;
18191
18310
 
18192
 
kfreebsd*-gnu)
18193
 
  version_type=linux
18194
 
  need_lib_prefix=no
18195
 
  need_version=no
18196
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18197
 
  soname_spec='${libname}${release}${shared_ext}$major'
18198
 
  shlibpath_var=LD_LIBRARY_PATH
18199
 
  shlibpath_overrides_runpath=no
18200
 
  hardcode_into_libs=yes
18201
 
  dynamic_linker='GNU ld.so'
18202
 
  ;;
18203
 
 
18204
18311
freebsd* | dragonfly*)
18205
18312
  # DragonFly does not have aout.  When/if they implement a new
18206
18313
  # versioning mechanism, adjust this.
18251
18358
    shlibpath_overrides_runpath=no
18252
18359
    hardcode_into_libs=yes
18253
18360
    ;;
18254
 
  freebsd*) # from 4.6 on
 
18361
  *) # from 4.6 on, and DragonFly
18255
18362
    shlibpath_overrides_runpath=yes
18256
18363
    hardcode_into_libs=yes
18257
18364
    ;;
18314
18421
  postinstall_cmds='chmod 555 $lib'
18315
18422
  ;;
18316
18423
 
18317
 
interix3*)
 
18424
interix[3-9]*)
18318
18425
  version_type=linux
18319
18426
  need_lib_prefix=no
18320
18427
  need_version=no
18369
18476
  ;;
18370
18477
 
18371
18478
# This must be Linux ELF.
18372
 
linux*)
 
18479
linux* | k*bsd*-gnu)
18373
18480
  version_type=linux
18374
18481
  need_lib_prefix=no
18375
18482
  need_version=no
18385
18492
 
18386
18493
  # Append ld.so.conf contents to the search path
18387
18494
  if test -f /etc/ld.so.conf; then
18388
 
    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' ' '`
 
18495
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18389
18496
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18390
18497
  fi
18391
18498
 
18398
18505
  dynamic_linker='GNU/Linux ld.so'
18399
18506
  ;;
18400
18507
 
18401
 
knetbsd*-gnu)
18402
 
  version_type=linux
18403
 
  need_lib_prefix=no
18404
 
  need_version=no
18405
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18406
 
  soname_spec='${libname}${release}${shared_ext}$major'
18407
 
  shlibpath_var=LD_LIBRARY_PATH
18408
 
  shlibpath_overrides_runpath=no
18409
 
  hardcode_into_libs=yes
18410
 
  dynamic_linker='GNU ld.so'
18411
 
  ;;
18412
 
 
18413
18508
netbsd*)
18414
18509
  version_type=sunos
18415
18510
  need_lib_prefix=no
18491
18586
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18492
18587
  ;;
18493
18588
 
 
18589
rdos*)
 
18590
  dynamic_linker=no
 
18591
  ;;
 
18592
 
18494
18593
solaris*)
18495
18594
  version_type=linux
18496
18595
  need_lib_prefix=no
18685
18784
    module_cmds_GCJ \
18686
18785
    module_expsym_cmds_GCJ \
18687
18786
    lt_cv_prog_compiler_c_o_GCJ \
 
18787
    fix_srcfile_path_GCJ \
18688
18788
    exclude_expsyms_GCJ \
18689
18789
    include_expsyms_GCJ; do
18690
18790
 
19005
19105
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19006
19106
 
19007
19107
# Fix the shell variable \$srcfile for the compiler.
19008
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
19108
fix_srcfile_path=$lt_fix_srcfile_path
19009
19109
 
19010
19110
# Set to yes if exported symbols are required.
19011
19111
always_export_symbols=$always_export_symbols_GCJ
19062
19162
objext_RC=$objext
19063
19163
 
19064
19164
# Code to be used in simple compile tests
19065
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
19165
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19066
19166
 
19067
19167
# Code to be used in simple link tests
19068
19168
lt_simple_link_test_code="$lt_simple_compile_test_code"
19081
19181
 
19082
19182
# save warnings/boilerplate of simple test code
19083
19183
ac_outfile=conftest.$ac_objext
19084
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19184
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19085
19185
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19086
19186
_lt_compiler_boilerplate=`cat conftest.err`
19087
19187
$rm conftest*
19088
19188
 
19089
19189
ac_outfile=conftest.$ac_objext
19090
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19190
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19091
19191
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19092
19192
_lt_linker_boilerplate=`cat conftest.err`
19093
19193
$rm conftest*
19165
19265
    module_cmds_RC \
19166
19266
    module_expsym_cmds_RC \
19167
19267
    lt_cv_prog_compiler_c_o_RC \
 
19268
    fix_srcfile_path_RC \
19168
19269
    exclude_expsyms_RC \
19169
19270
    include_expsyms_RC; do
19170
19271
 
19485
19586
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19486
19587
 
19487
19588
# Fix the shell variable \$srcfile for the compiler.
19488
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19589
fix_srcfile_path=$lt_fix_srcfile_path
19489
19590
 
19490
19591
# Set to yes if exported symbols are required.
19491
19592
always_export_symbols=$always_export_symbols_RC
19748
19849
echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
19749
19850
    fi
19750
19851
  fi
19751
 
 
19752
 
 
19753
 
if test x$enable_gcov = xyes; then
 
19852
   if test x$enable_gcov = xyes; then
19754
19853
  GST_GCOV_ENABLED_TRUE=
19755
19854
  GST_GCOV_ENABLED_FALSE='#'
19756
19855
else
20241
20340
    IGNORE_GST_0_10_12=""
20242
20341
  fi
20243
20342
 
 
20343
  if test $GST_MINOR_VERSION -lt "13"
 
20344
  then
 
20345
    IGNORE_GST_0_10_13="gst-0.10.13.ignore"
 
20346
  else
 
20347
    IGNORE_GST_0_10_13=""
 
20348
  fi
 
20349
 
 
20350
  if test $GST_MINOR_VERSION -lt "14"
 
20351
  then
 
20352
    IGNORE_GST_0_10_14="gst-0.10.14.ignore"
 
20353
  else
 
20354
    IGNORE_GST_0_10_14=""
 
20355
  fi
 
20356
 
20244
20357
    if test $GST_PB_MINOR_VERSION -lt "11"
20245
20358
  then
20246
20359
    IGNORE_GST_PB_0_10_11="gst-pb-0.10.11.ignore"
20253
20366
 
20254
20367
  fi
20255
20368
 
 
20369
  if test $GST_PB_MINOR_VERSION -lt "14"
 
20370
  then
 
20371
    IGNORE_GST_PB_0_10_14="gst-pb-0.10.14.ignore"
 
20372
  else
 
20373
    IGNORE_GST_PB_0_10_14=""
 
20374
  fi
 
20375
 
20256
20376
 
20257
20377
else
20258
20378
  IGNORE_GST_0_10_3=""
20263
20383
  IGNORE_GST_0_10_10=""
20264
20384
  IGNORE_GST_0_10_11=""
20265
20385
  IGNORE_GST_0_10_12=""
 
20386
  IGNORE_GST_0_10_13=""
 
20387
  IGNORE_GST_0_10_14=""
20266
20388
  IGNORE_GST_PB_0_10_11=""
 
20389
  IGNORE_GST_PB_0_10_14=""
20267
20390
 
20268
20391
cat >>confdefs.h <<_ACEOF
20269
20392
#define HAVE_VIDEO_ORIENTATION_INTERFACE 1
20282
20405
 
20283
20406
 
20284
20407
 
 
20408
 
 
20409
 
 
20410
 
20285
20411
pkg_failed=no
20286
20412
{ echo "$as_me:$LINENO: checking for GST_BASE" >&5
20287
20413
echo $ECHO_N "checking for GST_BASE... $ECHO_C" >&6; }
20341
20467
 
20342
20468
 
20343
20469
 
 
20470
GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
 
20471
 
 
20472
 
 
20473
  grep >/dev/null "#undef GST_DISABLE_GST_DEBUG" $GST_CONFIGPATH
 
20474
  if test $? = 0; then
 
20475
    GST_DISABLE_GST_DEBUG=0
 
20476
  else
 
20477
    GST_DISABLE_GST_DEBUG=1
 
20478
  fi
 
20479
 
 
20480
 
 
20481
 
 
20482
  grep >/dev/null "#undef GST_DISABLE_LOADSAVE" $GST_CONFIGPATH
 
20483
  if test $? = 0; then
 
20484
    GST_DISABLE_LOADSAVE=0
 
20485
  else
 
20486
    GST_DISABLE_LOADSAVE=1
 
20487
  fi
 
20488
 
 
20489
 
 
20490
 
 
20491
  grep >/dev/null "#undef GST_DISABLE_PARSE" $GST_CONFIGPATH
 
20492
  if test $? = 0; then
 
20493
    GST_DISABLE_PARSE=0
 
20494
  else
 
20495
    GST_DISABLE_PARSE=1
 
20496
  fi
 
20497
 
 
20498
 
 
20499
 
 
20500
  grep >/dev/null "#undef GST_DISABLE_TRACE" $GST_CONFIGPATH
 
20501
  if test $? = 0; then
 
20502
    GST_DISABLE_TRACE=0
 
20503
  else
 
20504
    GST_DISABLE_TRACE=1
 
20505
  fi
 
20506
 
 
20507
 
 
20508
 
 
20509
  grep >/dev/null "#undef GST_DISABLE_ALLOC_TRACE" $GST_CONFIGPATH
 
20510
  if test $? = 0; then
 
20511
    GST_DISABLE_ALLOC_TRACE=0
 
20512
  else
 
20513
    GST_DISABLE_ALLOC_TRACE=1
 
20514
  fi
 
20515
 
 
20516
 
 
20517
 
 
20518
  grep >/dev/null "#undef GST_DISABLE_REGISTRY" $GST_CONFIGPATH
 
20519
  if test $? = 0; then
 
20520
    GST_DISABLE_REGISTRY=0
 
20521
  else
 
20522
    GST_DISABLE_REGISTRY=1
 
20523
  fi
 
20524
 
 
20525
 
 
20526
 
 
20527
  grep >/dev/null "#undef GST_DISABLE_ENUMTYPES" $GST_CONFIGPATH
 
20528
  if test $? = 0; then
 
20529
    GST_DISABLE_ENUMTYPES=0
 
20530
  else
 
20531
    GST_DISABLE_ENUMTYPES=1
 
20532
  fi
 
20533
 
 
20534
 
 
20535
 
 
20536
  grep >/dev/null "#undef GST_DISABLE_INDEX" $GST_CONFIGPATH
 
20537
  if test $? = 0; then
 
20538
    GST_DISABLE_INDEX=0
 
20539
  else
 
20540
    GST_DISABLE_INDEX=1
 
20541
  fi
 
20542
 
 
20543
 
 
20544
 
 
20545
  grep >/dev/null "#undef GST_DISABLE_PLUGIN" $GST_CONFIGPATH
 
20546
  if test $? = 0; then
 
20547
    GST_DISABLE_PLUGIN=0
 
20548
  else
 
20549
    GST_DISABLE_PLUGIN=1
 
20550
  fi
 
20551
 
 
20552
 
 
20553
 
 
20554
  grep >/dev/null "#undef GST_DISABLE_URI" $GST_CONFIGPATH
 
20555
  if test $? = 0; then
 
20556
    GST_DISABLE_URI=0
 
20557
  else
 
20558
    GST_DISABLE_URI=1
 
20559
  fi
 
20560
 
 
20561
 
 
20562
 
 
20563
  grep >/dev/null "#undef GST_DISABLE_XML" $GST_CONFIGPATH
 
20564
  if test $? = 0; then
 
20565
    GST_DISABLE_XML=0
 
20566
  else
 
20567
    GST_DISABLE_XML=1
 
20568
  fi
 
20569
 
 
20570
 
 
20571
 
 
20572
if test $GST_DISABLE_LOADSAVE = "1"; then
 
20573
  { echo "$as_me:$LINENO: WARNING: \"Load/Save XML persistence disabled\"" >&5
 
20574
echo "$as_me: WARNING: \"Load/Save XML persistence disabled\"" >&2;}
 
20575
  IGNORE_GST_LOADSAVE="gst-disable-loadsave.ignore"
 
20576
else
 
20577
  IGNORE_GST_LOADSAVE=""
 
20578
fi
 
20579
 
 
20580
 
 
20581
 
20344
20582
pkg_failed=no
20345
20583
{ echo "$as_me:$LINENO: checking for GST_CONTROLLER" >&5
20346
20584
echo $ECHO_N "checking for GST_CONTROLLER... $ECHO_C" >&6; }
21250
21488
fi
21251
21489
 
21252
21490
 
21253
 
 
21254
 
 
21255
 
if test ! "x$VALGRIND_PATH" = "xno"; then
 
21491
   if test ! "x$VALGRIND_PATH" = "xno"; then
21256
21492
  HAVE_VALGRIND_TRUE=
21257
21493
  HAVE_VALGRIND_FALSE='#'
21258
21494
else
21262
21498
 
21263
21499
 
21264
21500
 
21265
 
ac_config_files="$ac_config_files Makefile codegen/Makefile gst/Makefile gst/gstversion.override gst/extend/Makefile examples/Makefile pkgconfig/Makefile pkgconfig/gst-python.pc pkgconfig/gst-python-uninstalled.pc testsuite/Makefile gst-python.spec"
 
21501
ac_config_files="$ac_config_files Makefile codegen/Makefile gst/Makefile gst/gstversion.override gst/extend/Makefile examples/Makefile pkgconfig/Makefile pkgconfig/gst-python.pc pkgconfig/gst-python-uninstalled.pc testsuite/Makefile win32/common/config.h gst-python.spec"
21266
21502
 
21267
21503
cat >confcache <<\_ACEOF
21268
21504
# This file is a shell script that caches the results of configure
21702
21938
# report actual input values of CONFIG_FILES etc. instead of their
21703
21939
# values after options handling.
21704
21940
ac_log="
21705
 
This file was extended by GStreamer Python Bindings $as_me 0.10.7, which was
 
21941
This file was extended by GStreamer Python Bindings $as_me 0.10.8, which was
21706
21942
generated by GNU Autoconf 2.61.  Invocation command line was
21707
21943
 
21708
21944
  CONFIG_FILES    = $CONFIG_FILES
21755
21991
_ACEOF
21756
21992
cat >>$CONFIG_STATUS <<_ACEOF
21757
21993
ac_cs_version="\\
21758
 
GStreamer Python Bindings config.status 0.10.7
 
21994
GStreamer Python Bindings config.status 0.10.8
21759
21995
configured by $0, generated by GNU Autoconf 2.61,
21760
21996
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21761
21997
 
21766
22002
ac_pwd='$ac_pwd'
21767
22003
srcdir='$srcdir'
21768
22004
INSTALL='$INSTALL'
 
22005
MKDIR_P='$MKDIR_P'
21769
22006
_ACEOF
21770
22007
 
21771
22008
cat >>$CONFIG_STATUS <<\_ACEOF
21880
22117
    "pkgconfig/gst-python.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gst-python.pc" ;;
21881
22118
    "pkgconfig/gst-python-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gst-python-uninstalled.pc" ;;
21882
22119
    "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
 
22120
    "win32/common/config.h") CONFIG_FILES="$CONFIG_FILES win32/common/config.h" ;;
21883
22121
    "gst-python.spec") CONFIG_FILES="$CONFIG_FILES gst-python.spec" ;;
21884
22122
 
21885
22123
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21983
22221
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21984
22222
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21985
22223
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
22224
am__isrc!$am__isrc$ac_delim
21986
22225
CYGPATH_W!$CYGPATH_W$ac_delim
21987
22226
PACKAGE!$PACKAGE$ac_delim
21988
22227
VERSION!$VERSION$ac_delim
22039
22278
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22040
22279
CCDEPMODE!$CCDEPMODE$ac_delim
22041
22280
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22042
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22043
22281
_ACEOF
22044
22282
 
22045
22283
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22081
22319
ac_delim='%!_!# '
22082
22320
for ac_last_try in false false false false false :; do
22083
22321
  cat >conf$$subs.sed <<_ACEOF
 
22322
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
22323
SED!$SED$ac_delim
22084
22324
GREP!$GREP$ac_delim
22085
22325
EGREP!$EGREP$ac_delim
22086
22326
LN_S!$LN_S$ac_delim
22127
22367
IGNORE_GST_0_10_10!$IGNORE_GST_0_10_10$ac_delim
22128
22368
IGNORE_GST_0_10_11!$IGNORE_GST_0_10_11$ac_delim
22129
22369
IGNORE_GST_0_10_12!$IGNORE_GST_0_10_12$ac_delim
 
22370
IGNORE_GST_0_10_13!$IGNORE_GST_0_10_13$ac_delim
 
22371
IGNORE_GST_0_10_14!$IGNORE_GST_0_10_14$ac_delim
22130
22372
IGNORE_GST_PB_0_10_11!$IGNORE_GST_PB_0_10_11$ac_delim
 
22373
IGNORE_GST_PB_0_10_14!$IGNORE_GST_PB_0_10_14$ac_delim
22131
22374
HAVE_VIDEO_ORIENTATION!$HAVE_VIDEO_ORIENTATION$ac_delim
22132
22375
GST_BASE_CFLAGS!$GST_BASE_CFLAGS$ac_delim
22133
22376
GST_BASE_LIBS!$GST_BASE_LIBS$ac_delim
 
22377
GST_DISABLE_GST_DEBUG!$GST_DISABLE_GST_DEBUG$ac_delim
 
22378
GST_DISABLE_LOADSAVE!$GST_DISABLE_LOADSAVE$ac_delim
 
22379
GST_DISABLE_PARSE!$GST_DISABLE_PARSE$ac_delim
 
22380
GST_DISABLE_TRACE!$GST_DISABLE_TRACE$ac_delim
 
22381
GST_DISABLE_ALLOC_TRACE!$GST_DISABLE_ALLOC_TRACE$ac_delim
 
22382
GST_DISABLE_REGISTRY!$GST_DISABLE_REGISTRY$ac_delim
 
22383
GST_DISABLE_ENUMTYPES!$GST_DISABLE_ENUMTYPES$ac_delim
 
22384
GST_DISABLE_INDEX!$GST_DISABLE_INDEX$ac_delim
 
22385
GST_DISABLE_PLUGIN!$GST_DISABLE_PLUGIN$ac_delim
 
22386
GST_DISABLE_URI!$GST_DISABLE_URI$ac_delim
 
22387
GST_DISABLE_XML!$GST_DISABLE_XML$ac_delim
 
22388
IGNORE_GST_LOADSAVE!$IGNORE_GST_LOADSAVE$ac_delim
22134
22389
GST_CONTROLLER_CFLAGS!$GST_CONTROLLER_CFLAGS$ac_delim
22135
22390
GST_CONTROLLER_LIBS!$GST_CONTROLLER_LIBS$ac_delim
22136
22391
GST_NET_CFLAGS!$GST_NET_CFLAGS$ac_delim
22159
22414
LTLIBOBJS!$LTLIBOBJS$ac_delim
22160
22415
_ACEOF
22161
22416
 
22162
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
 
22417
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then
22163
22418
    break
22164
22419
  elif $ac_last_try; then
22165
22420
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22386
22641
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22387
22642
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22388
22643
  esac
 
22644
  ac_MKDIR_P=$MKDIR_P
 
22645
  case $MKDIR_P in
 
22646
  [\\/$]* | ?:[\\/]* ) ;;
 
22647
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
22648
  esac
22389
22649
_ACEOF
22390
22650
 
22391
22651
cat >>$CONFIG_STATUS <<\_ACEOF
22439
22699
s&@abs_builddir@&$ac_abs_builddir&;t t
22440
22700
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22441
22701
s&@INSTALL@&$ac_INSTALL&;t t
 
22702
s&@MKDIR_P@&$ac_MKDIR_P&;t t
22442
22703
$ac_datarootdir_hack
22443
22704
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22444
22705
 
22603
22864
  # some people rename them; so instead we look at the file content.
22604
22865
  # Grep'ing the first line is not enough: some people post-process
22605
22866
  # each Makefile.in and add a new line on top of each file to say so.
22606
 
  # So let's grep whole file.
22607
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
22867
  # Grep'ing the whole file is not good either: AIX grep has a line
 
22868
  # limit of 2048, but all sed's we know have understand at least 4000.
 
22869
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
22608
22870
    dirpart=`$as_dirname -- "$mf" ||
22609
22871
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22610
22872
         X"$mf" : 'X\(//\)[^/]' \| \