~ubuntu-branches/ubuntu/utopic/ecasound2.2/utopic

« back to all changes in this revision

Viewing changes to libtool

  • Committer: Bazaar Package Importer
  • Author(s): Junichi Uekawa
  • Date: 2008-03-23 21:42:49 UTC
  • mfrom: (3.1.6 hardy)
  • Revision ID: james.westby@ubuntu.com-20080323214249-evlfv3y1o8q747la
Tags: 2.4.6.1-2
* Bug fix: "FTBFS with GCC 4.3: missing #includes", thanks to Martin
  Michlmayr (Closes: #454890).
- 13_gcc4: updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
 
3
3
# libtoolT - Provide generalized library-building support services.
4
 
# Generated automatically by  (GNU ecasound 2.4.4)
 
4
# Generated automatically by  (GNU ecasound 2.4.6.1)
5
5
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
6
6
#
7
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
7
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
8
8
# Free Software Foundation, Inc.
9
9
#
10
10
# This file is part of GNU Libtool:
147
147
pic_mode=default
148
148
 
149
149
# What is the maximum length of a command?
150
 
max_cmd_len=32768
 
150
max_cmd_len=98304
151
151
 
152
152
# Does compiler simultaneously support -c and -o options?
153
153
compiler_c_o="yes"
200
200
 
201
201
# Commands used to build and install an old-style archive.
202
202
RANLIB="ranlib"
203
 
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib"
 
203
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
204
204
old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib"
205
205
old_postuninstall_cmds=""
206
206
 
325
325
link_all_deplibs=no
326
326
 
327
327
# Compile-time system search path for libraries
328
 
sys_lib_search_path_spec=" /usr/lib/gcc/x86_64-linux-gnu/4.1.2/ /usr/lib/gcc/x86_64-linux-gnu/4.1.2/ /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/4.1.2/ /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../x86_64-linux-gnu/lib/ /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../x86_64-linux-gnu/4.1.2/ /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../ /lib/x86_64-linux-gnu/4.1.2/ /lib/ /usr/lib/x86_64-linux-gnu/4.1.2/ /usr/lib/"
 
328
sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.1.3 /usr/lib /lib"
329
329
 
330
330
# Run-time system search path for libraries
331
 
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/ /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu "
 
331
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/ /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu "
332
332
 
333
333
# Fix the shell variable $srcfile for the compiler.
334
334
fix_srcfile_path=""
353
353
# ltmain.sh - Provide generalized library-building support services.
354
354
# NOTE: Changing this file will not affect anything until you rerun configure.
355
355
#
356
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
357
 
# Free Software Foundation, Inc.
 
356
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
 
357
# 2007  Free Software Foundation, Inc.
358
358
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
359
359
#
360
360
# This program is free software; you can redistribute it and/or modify
395
395
 
396
396
PROGRAM=ltmain.sh
397
397
PACKAGE=libtool
398
 
VERSION="1.5.22 Debian 1.5.22-4"
399
 
TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
 
398
VERSION="1.5.24 Debian 1.5.24-1"
 
399
TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)"
400
400
 
401
 
# See if we are running on zsh, and set the options which allow our
402
 
# commands through without removal of \ escapes.
403
 
if test -n "${ZSH_VERSION+set}" ; then
 
401
# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
 
402
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
403
  emulate sh
 
404
  NULLCMD=:
 
405
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
406
  # is contrary to our usage.  Disable this feature.
 
407
  alias -g '${1+"$@"}'='"$@"'
404
408
  setopt NO_GLOB_SUBST
 
409
else
 
410
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
405
411
fi
 
412
BIN_SH=xpg4; export BIN_SH # for Tru64
 
413
DUALCASE=1; export DUALCASE # for MKS sh
406
414
 
407
415
# Check that we have a working $echo.
408
416
if test "X$1" = X--no-reexec; then
457
465
# These must not be set unconditionally because not all systems understand
458
466
# e.g. LANG=C (notably SCO).
459
467
# We save the old values to restore during execute mode.
460
 
if test "${LC_ALL+set}" = set; then
461
 
  save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
462
 
fi
463
 
if test "${LANG+set}" = set; then
464
 
  save_LANG="$LANG"; LANG=C; export LANG
465
 
fi
 
468
for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
 
469
do
 
470
  eval "if test \"\${$lt_var+set}\" = set; then
 
471
          save_$lt_var=\$$lt_var
 
472
          $lt_var=C
 
473
          export $lt_var
 
474
        fi"
 
475
done
466
476
 
467
477
# Make sure IFS has a sensible default
468
478
lt_nl='
488
498
preserve_args=
489
499
lo2o="s/\\.lo\$/.${objext}/"
490
500
o2lo="s/\\.${objext}\$/.lo/"
 
501
extracted_archives=
 
502
extracted_serial=0
491
503
 
492
504
#####################################
493
505
# Shell function definitions:
548
560
    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
549
561
      $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
550
562
      win32_nmres=`eval $NM -f posix -A $1 | \
551
 
        $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
 
563
        $SED -n -e '1,100{
 
564
                / I /{
 
565
                        s,.*,import,
 
566
                        p
 
567
                        q
 
568
                        }
 
569
                }'`
552
570
      case $win32_nmres in
553
571
      import*)  win32_libid_type="x86 archive import";;
554
572
      *)        win32_libid_type="x86 archive static";;
679
697
        *) my_xabs=`pwd`"/$my_xlib" ;;
680
698
      esac
681
699
      my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
682
 
      my_xdir="$my_gentop/$my_xlib"
 
700
      my_xlib_u=$my_xlib
 
701
      while :; do
 
702
        case " $extracted_archives " in
 
703
        *" $my_xlib_u "*)
 
704
          extracted_serial=`expr $extracted_serial + 1`
 
705
          my_xlib_u=lt$extracted_serial-$my_xlib ;;
 
706
        *) break ;;
 
707
        esac
 
708
      done
 
709
      extracted_archives="$extracted_archives $my_xlib_u"
 
710
      my_xdir="$my_gentop/$my_xlib_u"
683
711
 
684
712
      $show "${rm}r $my_xdir"
685
713
      $run ${rm}r "$my_xdir"
806
834
    ;;
807
835
 
808
836
  --version)
809
 
    $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
810
 
    $echo
811
 
    $echo "Copyright (C) 2005  Free Software Foundation, Inc."
812
 
    $echo "This is free software; see the source for copying conditions.  There is NO"
813
 
    $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
 
837
    echo "\
 
838
$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
 
839
 
 
840
Copyright (C) 2007  Free Software Foundation, Inc.
 
841
This is free software; see the source for copying conditions.  There is NO
 
842
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
814
843
    exit $?
815
844
    ;;
816
845
 
1107
1136
    *.class) xform=class ;;
1108
1137
    *.cpp) xform=cpp ;;
1109
1138
    *.cxx) xform=cxx ;;
1110
 
    *.f90) xform=f90 ;;
 
1139
    *.[fF][09]?) xform=[fF][09]. ;;
1111
1140
    *.for) xform=for ;;
1112
1141
    *.java) xform=java ;;
 
1142
    *.obj) xform=obj ;;
1113
1143
    esac
1114
1144
 
1115
1145
    libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
1490
1520
    for arg
1491
1521
    do
1492
1522
      case $arg in
1493
 
      -all-static | -static)
1494
 
        if test "X$arg" = "X-all-static"; then
 
1523
      -all-static | -static | -static-libtool-libs)
 
1524
        case $arg in
 
1525
        -all-static)
1495
1526
          if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
1496
1527
            $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
1497
1528
          fi
1499
1530
            dlopen_self=$dlopen_self_static
1500
1531
          fi
1501
1532
          prefer_static_libs=yes
1502
 
        else
 
1533
          ;;
 
1534
        -static)
1503
1535
          if test -z "$pic_flag" && test -n "$link_static_flag"; then
1504
1536
            dlopen_self=$dlopen_self_static
1505
1537
          fi
1506
1538
          prefer_static_libs=built
1507
 
        fi
 
1539
          ;;
 
1540
        -static-libtool-libs)
 
1541
          if test -z "$pic_flag" && test -n "$link_static_flag"; then
 
1542
            dlopen_self=$dlopen_self_static
 
1543
          fi
 
1544
          prefer_static_libs=yes
 
1545
          ;;
 
1546
        esac
1508
1547
        build_libtool_libs=no
1509
1548
        build_old_libs=yes
1510
1549
        break
1952
1991
        continue
1953
1992
        ;;
1954
1993
 
1955
 
     -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
 
1994
     -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
1956
1995
        compiler_flags="$compiler_flags $arg"
1957
1996
        compile_command="$compile_command $arg"
1958
1997
        finalize_command="$finalize_command $arg"
1972
2011
      # -m* pass through architecture-specific compiler args for GCC
1973
2012
      # -m*, -t[45]*, -txscale* pass through architecture-specific
1974
2013
      # compiler args for GCC
1975
 
      # -pg pass through profiling flag for GCC
 
2014
      # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
 
2015
      # -F/path gives path to uninstalled frameworks, gcc on darwin
1976
2016
      # @file GCC response files
1977
 
      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
1978
 
      -t[45]*|-txscale*|@*)
 
2017
      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
 
2018
      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
1979
2019
 
1980
2020
        # Unknown arguments in both finalize_command and compile_command need
1981
2021
        # to be aesthetically quoted because they are evaled later.
2003
2043
 
2004
2044
      -no-install)
2005
2045
        case $host in
2006
 
        *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
 
2046
        *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
2007
2047
          # The PATH hackery in wrapper scripts is required on Windows
2008
 
          # in order for the loader to find any dlls it needs.
 
2048
          # and Darwin in order for the loader to find any dlls it needs.
2009
2049
          $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
2010
2050
          $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
2011
2051
          fast_install=no
2064
2104
        continue
2065
2105
        ;;
2066
2106
 
2067
 
      -static)
 
2107
      -static | -static-libtool-libs)
2068
2108
        # The effects of -static are defined in a previous loop.
2069
2109
        # We used to do the same as -all-static on platforms that
2070
2110
        # didn't have a PIC flag, but the assumption that the effects
2449
2489
        lib=
2450
2490
        found=no
2451
2491
        case $deplib in
2452
 
        -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
 
2492
        -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
2453
2493
          if test "$linkmode,$pass" = "prog,link"; then
2454
2494
            compile_deplibs="$deplib $compile_deplibs"
2455
2495
            finalize_deplibs="$deplib $finalize_deplibs"
2845
2885
 
2846
2886
        if test "$linkmode,$pass" = "prog,link"; then
2847
2887
          if test -n "$library_names" &&
2848
 
             { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
 
2888
             { { test "$prefer_static_libs" = no ||
 
2889
                 test "$prefer_static_libs,$installed" = "built,yes"; } ||
 
2890
               test -z "$old_library"; }; then
2849
2891
            # We need to hardcode the library path
2850
2892
            if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
2851
2893
              # Make sure the rpath contains only unique directories.
3541
3583
          # which has an extra 1 added just for fun
3542
3584
          #
3543
3585
          case $version_type in
3544
 
          darwin|linux|osf|windows)
 
3586
          darwin|linux|osf|windows|none)
3545
3587
            current=`expr $number_major + $number_minor`
3546
3588
            age="$number_minor"
3547
3589
            revision="$number_revision"
3552
3594
            age="0"
3553
3595
            ;;
3554
3596
          irix|nonstopux)
3555
 
            current=`expr $number_major + $number_minor - 1`
 
3597
            current=`expr $number_major + $number_minor`
3556
3598
            age="$number_minor"
3557
3599
            revision="$number_minor"
 
3600
            lt_irix_increment=no
3558
3601
            ;;
3559
3602
          *)
3560
3603
            $echo "$modename: unknown library version type \`$version_type'" 1>&2
3618
3661
          versuffix="$major.$age.$revision"
3619
3662
          # Darwin ld doesn't like 0 for these options...
3620
3663
          minor_current=`expr $current + 1`
3621
 
          verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
 
3664
          xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
 
3665
          verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
3622
3666
          ;;
3623
3667
 
3624
3668
        freebsd-aout)
3632
3676
          ;;
3633
3677
 
3634
3678
        irix | nonstopux)
3635
 
          major=`expr $current - $age + 1`
3636
 
 
 
3679
          if test "X$lt_irix_increment" = "Xno"; then
 
3680
            major=`expr $current - $age`
 
3681
          else
 
3682
            major=`expr $current - $age + 1`
 
3683
          fi
3637
3684
          case $version_type in
3638
3685
            nonstopux) verstring_prefix=nonstopux ;;
3639
3686
            *)         verstring_prefix=sgi ;;
3770
3817
      fi
3771
3818
 
3772
3819
      # Eliminate all temporary directories.
3773
 
      for path in $notinst_path; do
3774
 
        lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
3775
 
        deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
3776
 
        dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
3777
 
      done
 
3820
      #for path in $notinst_path; do
 
3821
      # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
 
3822
      # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
 
3823
      # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
 
3824
      #done
3778
3825
 
3779
3826
      if test -n "$xrpath"; then
3780
3827
        # If the user specified any rpath flags, then add them.
3875
3922
          int main() { return 0; }
3876
3923
EOF
3877
3924
          $rm conftest
3878
 
          $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
3879
 
          if test "$?" -eq 0 ; then
 
3925
          if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
3880
3926
            ldd_output=`ldd conftest`
3881
3927
            for i in $deplibs; do
3882
3928
              name=`expr $i : '-l\(.*\)'`
3883
3929
              # If $name is empty we are operating on a -L argument.
3884
 
              if test "$name" != "" && test "$name" -ne "0"; then
 
3930
              if test "$name" != "" && test "$name" != "0"; then
3885
3931
                if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
3886
3932
                  case " $predeps $postdeps " in
3887
3933
                  *" $i "*)
3920
3966
              # If $name is empty we are operating on a -L argument.
3921
3967
              if test "$name" != "" && test "$name" != "0"; then
3922
3968
                $rm conftest
3923
 
                $LTCC $LTCFLAGS -o conftest conftest.c $i
3924
 
                # Did it work?
3925
 
                if test "$?" -eq 0 ; then
 
3969
                if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
3926
3970
                  ldd_output=`ldd conftest`
3927
3971
                  if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
3928
3972
                    case " $predeps $postdeps " in
3954
3998
                  droppeddeps=yes
3955
3999
                  $echo
3956
4000
                  $echo "*** Warning!  Library $i is needed by this library but I was not able to"
3957
 
                  $echo "***  make it link in!  You will probably need to install it or some"
 
4001
                  $echo "*** make it link in!  You will probably need to install it or some"
3958
4002
                  $echo "*** library that it depends on before this library will be fully"
3959
4003
                  $echo "*** functional.  Installing it before continuing would be even better."
3960
4004
                fi
4240
4284
             test -n "$hardcode_libdirs"; then
4241
4285
            libdir="$hardcode_libdirs"
4242
4286
            if test -n "$hardcode_libdir_flag_spec_ld"; then
4243
 
              eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
 
4287
              case $archive_cmds in
 
4288
              *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
 
4289
              *)      eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
 
4290
              esac
4244
4291
            else
4245
4292
              eval dep_rpath=\"$hardcode_libdir_flag_spec\"
4246
4293
            fi
4599
4646
      reload_conv_objs=
4600
4647
      gentop=
4601
4648
      # reload_cmds runs $LD directly, so let us get rid of
4602
 
      # -Wl from whole_archive_flag_spec
 
4649
      # -Wl from whole_archive_flag_spec and hope we can get by with
 
4650
      # turning comma into space..
4603
4651
      wl=
4604
4652
 
4605
4653
      if test -n "$convenience"; then
4606
4654
        if test -n "$whole_archive_flag_spec"; then
4607
 
          eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
 
4655
          eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
 
4656
          reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
4608
4657
        else
4609
4658
          gentop="$output_objdir/${obj}x"
4610
4659
          generated="$generated $gentop"
5052
5101
          case $host in
5053
5102
          *cygwin* | *mingw* )
5054
5103
            if test -f "$output_objdir/${outputname}.def" ; then
5055
 
              compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
5056
 
              finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
 
5104
              compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
 
5105
              finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
5057
5106
            else
5058
 
              compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
5059
 
              finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
 
5107
              compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
 
5108
              finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
5060
5109
             fi
5061
5110
            ;;
5062
5111
          * )
5063
 
            compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
5064
 
            finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
 
5112
            compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
 
5113
            finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
5065
5114
            ;;
5066
5115
          esac
5067
5116
          ;;
5076
5125
        # really was required.
5077
5126
 
5078
5127
        # Nullify the symbol file.
5079
 
        compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
5080
 
        finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
 
5128
        compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
 
5129
        finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
5081
5130
      fi
5082
5131
 
5083
5132
      if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
5084
5133
        # Replace the output file specification.
5085
 
        compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
 
5134
        compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
5086
5135
        link_command="$compile_command$compile_rpath"
5087
5136
 
5088
5137
        # We have no uninstalled library dependencies, so finalize right now.
5169
5218
        if test "$fast_install" != no; then
5170
5219
          link_command="$finalize_var$compile_command$finalize_rpath"
5171
5220
          if test "$fast_install" = yes; then
5172
 
            relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
 
5221
            relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
5173
5222
          else
5174
5223
            # fast_install is set to needless
5175
5224
            relink_command=
5206
5255
          fi
5207
5256
        done
5208
5257
        relink_command="(cd `pwd`; $relink_command)"
5209
 
        relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
 
5258
        relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
5210
5259
      fi
5211
5260
 
5212
5261
      # Quote $echo for shipping.
5613
5662
Xsed='${SED} -e 1s/^X//'
5614
5663
sed_quote_subst='$sed_quote_subst'
5615
5664
 
 
5665
# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
 
5666
if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
 
5667
  emulate sh
 
5668
  NULLCMD=:
 
5669
  # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
 
5670
  # is contrary to our usage.  Disable this feature.
 
5671
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
5672
  setopt NO_GLOB_SUBST
 
5673
else
 
5674
  case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
 
5675
fi
 
5676
BIN_SH=xpg4; export BIN_SH # for Tru64
 
5677
DUALCASE=1; export DUALCASE # for MKS sh
 
5678
 
5616
5679
# The HP-UX ksh and POSIX shell print the target directory to stdout
5617
5680
# if CDPATH is set.
5618
5681
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5755
5818
          ;;
5756
5819
        esac
5757
5820
        $echo >> $output "\
5758
 
      \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
 
5821
      \$echo \"\$0: cannot exec \$program \$*\"
5759
5822
      exit $EXIT_FAILURE
5760
5823
    fi
5761
5824
  else
5941
6004
      done
5942
6005
      # Quote the link command for shipping.
5943
6006
      relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
5944
 
      relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
 
6007
      relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
5945
6008
      if test "$hardcode_automatic" = yes ; then
5946
6009
        relink_command=
5947
6010
      fi
6286
6349
 
6287
6350
          if test -n "$inst_prefix_dir"; then
6288
6351
            # Stick the inst_prefix_dir data into the link command.
6289
 
            relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
 
6352
            relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
6290
6353
          else
6291
 
            relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
 
6354
            relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
6292
6355
          fi
6293
6356
 
6294
6357
          $echo "$modename: warning: relinking \`$file'" 1>&2
6497
6560
              file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
6498
6561
              outputname="$tmpdir/$file"
6499
6562
              # Replace the output file specification.
6500
 
              relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
 
6563
              relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
6501
6564
 
6502
6565
              $show "$relink_command"
6503
6566
              if $run eval "$relink_command"; then :
6708
6771
        if test -f "$dir/$objdir/$dlname"; then
6709
6772
          dir="$dir/$objdir"
6710
6773
        else
6711
 
          $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
6712
 
          exit $EXIT_FAILURE
 
6774
          if test ! -f "$dir/$dlname"; then
 
6775
            $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
 
6776
            exit $EXIT_FAILURE
 
6777
          fi
6713
6778
        fi
6714
6779
        ;;
6715
6780
 
6773
6838
      fi
6774
6839
 
6775
6840
      # Restore saved environment variables
6776
 
      if test "${save_LC_ALL+set}" = set; then
6777
 
        LC_ALL="$save_LC_ALL"; export LC_ALL
6778
 
      fi
6779
 
      if test "${save_LANG+set}" = set; then
6780
 
        LANG="$save_LANG"; export LANG
6781
 
      fi
 
6841
      for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
 
6842
      do
 
6843
        eval "if test \"\${save_$lt_var+set}\" = set; then
 
6844
                $lt_var=\$save_$lt_var; export $lt_var
 
6845
              fi"
 
6846
      done
6782
6847
 
6783
6848
      # Now prepare to actually exec the command.
6784
6849
      exec_cmd="\$cmd$args"
7135
7200
  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
7136
7201
  -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
7137
7202
  -export-symbols SYMFILE
7138
 
                    try to export only the symbols listed in SYMFILE
 
7203
                    try to export only the symbols listed in SYMFILE
7139
7204
  -export-symbols-regex REGEX
7140
 
                    try to export only the symbols matching REGEX
 
7205
                    try to export only the symbols matching REGEX
7141
7206
  -LLIBDIR          search LIBDIR for required installed libraries
7142
7207
  -lNAME            OUTPUT-FILE requires the installed library libNAME
7143
7208
  -module           build a library that can dlopened
7151
7216
  -release RELEASE  specify package release information
7152
7217
  -rpath LIBDIR     the created library will eventually be installed in LIBDIR
7153
7218
  -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
7154
 
  -static           do not do any dynamic linking of libtool libraries
 
7219
  -static           do not do any dynamic linking of uninstalled libtool libraries
 
7220
  -static-libtool-libs
 
7221
                    do not do any dynamic linking of libtool libraries
7155
7222
  -version-info CURRENT[:REVISION[:AGE]]
7156
 
                    specify library version info [each variable defaults to 0]
 
7223
                    specify library version info [each variable defaults to 0]
7157
7224
 
7158
7225
All other options (arguments beginning with \`-') are ignored.
7159
7226
 
7326
7393
pic_mode=default
7327
7394
 
7328
7395
# What is the maximum length of a command?
7329
 
max_cmd_len=32768
 
7396
max_cmd_len=98304
7330
7397
 
7331
7398
# Does compiler simultaneously support -c and -o options?
7332
7399
compiler_c_o="yes"
7379
7446
 
7380
7447
# Commands used to build and install an old-style archive.
7381
7448
RANLIB="ranlib"
7382
 
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib"
 
7449
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
7383
7450
old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib"
7384
7451
old_postuninstall_cmds=""
7385
7452
 
7405
7472
 
7406
7473
# Dependencies to place before the objects being linked to create a
7407
7474
# shared library.
7408
 
predep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtbeginS.o"
 
7475
predep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.1.3/crtbeginS.o"
7409
7476
 
7410
7477
# Dependencies to place after the objects being linked to create a
7411
7478
# shared library.
7412
 
postdep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtfastmath.o /usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/crtn.o"
 
7479
postdep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.1.3/crtfastmath.o /usr/lib/gcc/x86_64-linux-gnu/4.1.3/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/crtn.o"
7413
7480
 
7414
7481
# Dependencies to place before the objects being linked to create a
7415
7482
# shared library.
7421
7488
 
7422
7489
# The library search path used internally by the compiler when linking
7423
7490
# a shared library.
7424
 
compiler_lib_search_path="-L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64"
 
7491
compiler_lib_search_path="-L/usr/lib/gcc/x86_64-linux-gnu/4.1.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib"
7425
7492
 
7426
7493
# Method to check whether dependent libraries are shared objects.
7427
7494
deplibs_check_method="pass_all"
7501
7568
link_all_deplibs=no
7502
7569
 
7503
7570
# Compile-time system search path for libraries
7504
 
sys_lib_search_path_spec=" /usr/lib/gcc/x86_64-linux-gnu/4.1.2/ /usr/lib/gcc/x86_64-linux-gnu/4.1.2/ /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/4.1.2/ /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../x86_64-linux-gnu/lib/ /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../x86_64-linux-gnu/4.1.2/ /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../ /lib/x86_64-linux-gnu/4.1.2/ /lib/ /usr/lib/x86_64-linux-gnu/4.1.2/ /usr/lib/"
 
7571
sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.1.3 /usr/lib /lib"
7505
7572
 
7506
7573
# Run-time system search path for libraries
7507
 
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/ /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu "
 
7574
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/ /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu "
7508
7575
 
7509
7576
# Fix the shell variable $srcfile for the compiler.
7510
7577
fix_srcfile_path=""
7572
7639
LTCFLAGS="-g -O2 -D_REENTRANT -DNDEBUG -ffast-math -fstrict-aliasing -funroll-loops"
7573
7640
 
7574
7641
# A language-specific compiler.
7575
 
CC="g77"
 
7642
CC="gfortran"
7576
7643
 
7577
7644
# Is the compiler the GNU C compiler?
7578
7645
with_gcc=yes
7631
7698
pic_mode=default
7632
7699
 
7633
7700
# What is the maximum length of a command?
7634
 
max_cmd_len=32768
 
7701
max_cmd_len=98304
7635
7702
 
7636
7703
# Does compiler simultaneously support -c and -o options?
7637
7704
compiler_c_o="yes"
7684
7751
 
7685
7752
# Commands used to build and install an old-style archive.
7686
7753
RANLIB="ranlib"
7687
 
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib"
 
7754
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
7688
7755
old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib"
7689
7756
old_postuninstall_cmds=""
7690
7757
 
7809
7876
link_all_deplibs=no
7810
7877
 
7811
7878
# Compile-time system search path for libraries
7812
 
sys_lib_search_path_spec=" /usr/lib/gcc/x86_64-linux-gnu/3.4.6/ /usr/lib/gcc/x86_64-linux-gnu/3.4.6/ /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/3.4.6/ /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../../x86_64-linux-gnu/lib/ /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../x86_64-linux-gnu/3.4.6/ /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../ /lib/x86_64-linux-gnu/3.4.6/ /lib/ /usr/lib/x86_64-linux-gnu/3.4.6/ /usr/lib/"
 
7879
sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.1.3 /usr/lib /lib"
7813
7880
 
7814
7881
# Run-time system search path for libraries
7815
 
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/ /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu "
 
7882
sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/ /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu "
7816
7883
 
7817
7884
# Fix the shell variable $srcfile for the compiler.
7818
7885
fix_srcfile_path=""