~fluidity-core/fluidity/shallow-water-dev

« back to all changes in this revision

Viewing changes to libspud/configure

  • Committer: colin.cotter at ac
  • Date: 2012-02-13 14:24:01 UTC
  • mfrom: (3565.1.362 fluidity)
  • Revision ID: colin.cotter@imperial.ac.uk-20120213142401-fz23s9jmvc8jjiy6
MergedĀ fromĀ trunk.

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.67.
 
3
# Generated by GNU Autoconf 2.68.
4
4
#
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
89
89
IFS=" ""        $as_nl"
90
90
 
91
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
92
93
case $0 in #((
93
94
  *[\\/]* ) as_myself=$0 ;;
94
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
171
172
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
173
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
174
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
175
 
 
176
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
177
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
178
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    PATH=/empty FPATH=/empty; export PATH FPATH
 
181
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
182
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
174
183
test \$(( 1 + 1 )) = 2 || exit 1"
175
184
  if (eval "$as_required") 2>/dev/null; then :
176
185
  as_have_required=yes
214
223
  # We cannot yet assume a decent shell, so we have to provide a
215
224
        # neutralization value for shells without unset; and this also
216
225
        # works around shells that cannot unset nonexistent variables.
 
226
        # Preserve -v and -x to the replacement shell.
217
227
        BASH_ENV=/dev/null
218
228
        ENV=/dev/null
219
229
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
230
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
231
        case $- in # ((((
 
232
          *v*x* | *x*v* ) as_opts=-vx ;;
 
233
          *v* ) as_opts=-v ;;
 
234
          *x* ) as_opts=-x ;;
 
235
          * ) as_opts= ;;
 
236
        esac
 
237
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222
238
fi
223
239
 
224
240
    if test x$as_have_required = xno; then :
525
541
# Sed expression to map a string onto a valid variable name.
526
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
543
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
531
544
SHELL=${CONFIG_SHELL-/bin/sh}
532
545
 
533
 
case X$lt_ECHO in
534
 
X*--fallback-echo)
535
 
  # Remove one level of quotation (which was required for Make).
536
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537
 
  ;;
538
 
esac
539
 
 
540
 
ECHO=${lt_ECHO-echo}
541
 
if test "X$1" = X--no-reexec; then
542
 
  # Discard the --no-reexec flag, and continue.
543
 
  shift
544
 
elif test "X$1" = X--fallback-echo; then
545
 
  # Avoid inline document here, it may be left over
546
 
  :
547
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
 
  # Yippee, $ECHO works!
549
 
  :
550
 
else
551
 
  # Restart under the correct shell.
552
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
 
fi
554
 
 
555
 
if test "X$1" = X--fallback-echo; then
556
 
  # used as fallback echo
557
 
  shift
558
 
  cat <<_LT_EOF
559
 
$*
560
 
_LT_EOF
561
 
  exit 0
562
 
fi
563
 
 
564
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
 
# if CDPATH is set.
566
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
 
 
568
 
if test -z "$lt_ECHO"; then
569
 
  if test "X${echo_test_string+set}" != Xset; then
570
 
    # find a string as large as possible, as long as the shell can cope with it
571
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
 
      then
576
 
        break
577
 
      fi
578
 
    done
579
 
  fi
580
 
 
581
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
 
    :
585
 
  else
586
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
 
    # backslashes.  This makes it impossible to quote backslashes using
588
 
    #   echo "$something" | sed 's/\\/\\\\/g'
589
 
    #
590
 
    # So, first we look for a working echo in the user's PATH.
591
 
 
592
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
 
    for dir in $PATH /usr/ucb; do
594
 
      IFS="$lt_save_ifs"
595
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
 
        ECHO="$dir/echo"
600
 
        break
601
 
      fi
602
 
    done
603
 
    IFS="$lt_save_ifs"
604
 
 
605
 
    if test "X$ECHO" = Xecho; then
606
 
      # We didn't find a better echo, so look for alternatives.
607
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
        # This shell has a builtin print -r that does the trick.
611
 
        ECHO='print -r'
612
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
614
 
        # If we have ksh, try running configure again with it.
615
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
 
        export ORIGINAL_CONFIG_SHELL
617
 
        CONFIG_SHELL=/bin/ksh
618
 
        export CONFIG_SHELL
619
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620
 
      else
621
 
        # Try using printf.
622
 
        ECHO='printf %s\n'
623
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
626
 
          # Cool, printf works
627
 
          :
628
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = 'X\t' &&
630
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
 
          export CONFIG_SHELL
634
 
          SHELL="$CONFIG_SHELL"
635
 
          export SHELL
636
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = 'X\t' &&
639
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        else
643
 
          # maybe with a smaller string...
644
 
          prev=:
645
 
 
646
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
 
            then
649
 
              break
650
 
            fi
651
 
            prev="$cmd"
652
 
          done
653
 
 
654
 
          if test "$prev" != 'sed 50q "$0"'; then
655
 
            echo_test_string=`eval $prev`
656
 
            export echo_test_string
657
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
 
          else
659
 
            # Oops.  We lost completely, so just stick with echo.
660
 
            ECHO=echo
661
 
          fi
662
 
        fi
663
 
      fi
664
 
    fi
665
 
  fi
666
 
fi
667
 
 
668
 
# Copy echo and quote the copy suitably for passing to libtool from
669
 
# the Makefile, instead of quoting the original, which is used later.
670
 
lt_ECHO=$ECHO
671
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673
 
fi
674
 
 
675
 
 
676
 
 
677
546
 
678
547
test -n "$DJDIR" || exec 7<&0 </dev/null
679
548
exec 6>&1
768
637
LIPO
769
638
NMEDIT
770
639
DSYMUTIL
771
 
lt_ECHO
 
640
MANIFEST_TOOL
 
641
AWK
772
642
RANLIB
773
643
STRIP
 
644
ac_ct_AR
774
645
AR
 
646
DLLTOOL
775
647
OBJDUMP
776
648
LN_S
777
649
NM
844
716
with_pic
845
717
enable_fast_install
846
718
with_gnu_ld
 
719
with_sysroot
847
720
enable_libtool_lock
848
721
enable_debugging
849
722
enable_verbose
1270
1143
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1271
1144
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1272
1145
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1273
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1146
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1274
1147
    ;;
1275
1148
 
1276
1149
  esac
1494
1367
  --with-pic              try to use only PIC/non-PIC objects [default=use
1495
1368
                          both]
1496
1369
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1370
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1371
                        (or the compiler's sysroot if not specified).
1497
1372
 
1498
1373
Some influential environment variables:
1499
1374
  CC          C compiler command
1579
1454
if $ac_init_version; then
1580
1455
  cat <<\_ACEOF
1581
1456
configure
1582
 
generated by GNU Autoconf 2.67
 
1457
generated by GNU Autoconf 2.68
1583
1458
 
1584
1459
Copyright (C) 2010 Free Software Foundation, Inc.
1585
1460
This configure script is free software; the Free Software Foundation
1625
1500
 
1626
1501
        ac_retval=1
1627
1502
fi
1628
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1503
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629
1504
  as_fn_set_status $ac_retval
1630
1505
 
1631
1506
} # ac_fn_c_try_compile
1671
1546
  # interfere with the next link command; also delete a directory that is
1672
1547
  # left behind by Apple's compiler.  We do this before executing the actions.
1673
1548
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1674
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1549
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675
1550
  as_fn_set_status $ac_retval
1676
1551
 
1677
1552
} # ac_fn_c_try_link
1685
1560
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686
1561
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687
1562
$as_echo_n "checking for $2... " >&6; }
1688
 
if eval "test \"\${$3+set}\"" = set; then :
 
1563
if eval \${$3+:} false; then :
1689
1564
  $as_echo_n "(cached) " >&6
1690
1565
else
1691
1566
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703
1578
eval ac_res=\$$3
1704
1579
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1705
1580
$as_echo "$ac_res" >&6; }
1706
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1581
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1707
1582
 
1708
1583
} # ac_fn_c_check_header_compile
1709
1584
 
1739
1614
 
1740
1615
    ac_retval=1
1741
1616
fi
1742
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1617
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743
1618
  as_fn_set_status $ac_retval
1744
1619
 
1745
1620
} # ac_fn_c_try_cpp
1781
1656
       ac_retval=$ac_status
1782
1657
fi
1783
1658
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1784
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1659
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785
1660
  as_fn_set_status $ac_retval
1786
1661
 
1787
1662
} # ac_fn_c_try_run
1794
1669
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795
1670
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796
1671
$as_echo_n "checking for $2... " >&6; }
1797
 
if eval "test \"\${$3+set}\"" = set; then :
 
1672
if eval \${$3+:} false; then :
1798
1673
  $as_echo_n "(cached) " >&6
1799
1674
else
1800
1675
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849
1724
eval ac_res=\$$3
1850
1725
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851
1726
$as_echo "$ac_res" >&6; }
1852
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1727
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853
1728
 
1854
1729
} # ac_fn_c_check_func
1855
1730
 
1886
1761
 
1887
1762
        ac_retval=1
1888
1763
fi
1889
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1764
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890
1765
  as_fn_set_status $ac_retval
1891
1766
 
1892
1767
} # ac_fn_cxx_try_compile
1923
1798
 
1924
1799
    ac_retval=1
1925
1800
fi
1926
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1801
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927
1802
  as_fn_set_status $ac_retval
1928
1803
 
1929
1804
} # ac_fn_cxx_try_cpp
1969
1844
  # interfere with the next link command; also delete a directory that is
1970
1845
  # left behind by Apple's compiler.  We do this before executing the actions.
1971
1846
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1972
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1847
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973
1848
  as_fn_set_status $ac_retval
1974
1849
 
1975
1850
} # ac_fn_cxx_try_link
2007
1882
 
2008
1883
        ac_retval=1
2009
1884
fi
2010
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1885
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011
1886
  as_fn_set_status $ac_retval
2012
1887
 
2013
1888
} # ac_fn_fc_try_compile
2053
1928
  # interfere with the next link command; also delete a directory that is
2054
1929
  # left behind by Apple's compiler.  We do this before executing the actions.
2055
1930
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2056
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1931
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2057
1932
  as_fn_set_status $ac_retval
2058
1933
 
2059
1934
} # ac_fn_fc_try_link
2091
1966
 
2092
1967
        ac_retval=1
2093
1968
fi
2094
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1969
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095
1970
  as_fn_set_status $ac_retval
2096
1971
 
2097
1972
} # ac_fn_f77_try_compile
2137
2012
  # interfere with the next link command; also delete a directory that is
2138
2013
  # left behind by Apple's compiler.  We do this before executing the actions.
2139
2014
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2140
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2015
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2141
2016
  as_fn_set_status $ac_retval
2142
2017
 
2143
2018
} # ac_fn_f77_try_link
2315
2190
rm -f conftest.val
2316
2191
 
2317
2192
  fi
2318
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2193
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2319
2194
  as_fn_set_status $ac_retval
2320
2195
 
2321
2196
} # ac_fn_c_compute_int
2324
2199
running configure, to aid debugging if configure makes a mistake.
2325
2200
 
2326
2201
It was created by $as_me, which was
2327
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2202
generated by GNU Autoconf 2.68.  Invocation command line was
2328
2203
 
2329
2204
  $ $0 $@
2330
2205
 
2582
2457
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2583
2458
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2584
2459
as_fn_error $? "failed to load site script $ac_site_file
2585
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2460
See \`config.log' for more details" "$LINENO" 5; }
2586
2461
  fi
2587
2462
done
2588
2463
 
2672
2547
 
2673
2548
 
2674
2549
 
2675
 
case `pwd` in
2676
 
  *\ * | *\     *)
2677
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2678
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2679
 
esac
2680
 
 
2681
 
 
2682
 
 
2683
 
macro_version='2.2.6'
2684
 
macro_revision='1.3012'
2685
 
 
2686
 
 
2687
 
 
2688
 
 
2689
 
 
2690
 
 
2691
 
 
2692
 
 
2693
 
 
2694
 
 
2695
 
 
2696
 
 
2697
 
 
2698
 
ltmain="$ac_aux_dir/ltmain.sh"
2699
 
 
2700
2550
ac_aux_dir=
2701
2551
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2702
2552
  if test -f "$ac_dir/install-sh"; then
2726
2576
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2727
2577
 
2728
2578
 
 
2579
case `pwd` in
 
2580
  *\ * | *\     *)
 
2581
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
2582
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
2583
esac
 
2584
 
 
2585
 
 
2586
 
 
2587
macro_version='2.4'
 
2588
macro_revision='1.3293'
 
2589
 
 
2590
 
 
2591
 
 
2592
 
 
2593
 
 
2594
 
 
2595
 
 
2596
 
 
2597
 
 
2598
 
 
2599
 
 
2600
 
 
2601
 
 
2602
ltmain="$ac_aux_dir/ltmain.sh"
 
2603
 
2729
2604
# Make sure we can run config.sub.
2730
2605
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2731
2606
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2732
2607
 
2733
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2734
2609
$as_echo_n "checking build system type... " >&6; }
2735
 
if test "${ac_cv_build+set}" = set; then :
 
2610
if ${ac_cv_build+:} false; then :
2736
2611
  $as_echo_n "(cached) " >&6
2737
2612
else
2738
2613
  ac_build_alias=$build_alias
2748
2623
$as_echo "$ac_cv_build" >&6; }
2749
2624
case $ac_cv_build in
2750
2625
*-*-*) ;;
2751
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
2626
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2752
2627
esac
2753
2628
build=$ac_cv_build
2754
2629
ac_save_IFS=$IFS; IFS='-'
2766
2641
 
2767
2642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2768
2643
$as_echo_n "checking host system type... " >&6; }
2769
 
if test "${ac_cv_host+set}" = set; then :
 
2644
if ${ac_cv_host+:} false; then :
2770
2645
  $as_echo_n "(cached) " >&6
2771
2646
else
2772
2647
  if test "x$host_alias" = x; then
2781
2656
$as_echo "$ac_cv_host" >&6; }
2782
2657
case $ac_cv_host in
2783
2658
*-*-*) ;;
2784
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
2659
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2785
2660
esac
2786
2661
host=$ac_cv_host
2787
2662
ac_save_IFS=$IFS; IFS='-'
2797
2672
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2798
2673
 
2799
2674
 
 
2675
# Backslashify metacharacters that are still active within
 
2676
# double-quoted strings.
 
2677
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
2678
 
 
2679
# Same as above, but do not quote variable references.
 
2680
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
2681
 
 
2682
# Sed substitution to delay expansion of an escaped shell variable in a
 
2683
# double_quote_subst'ed string.
 
2684
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
2685
 
 
2686
# Sed substitution to delay expansion of an escaped single quote.
 
2687
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
2688
 
 
2689
# Sed substitution to avoid accidental globbing in evaled expressions
 
2690
no_glob_subst='s/\*/\\\*/g'
 
2691
 
 
2692
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
2693
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
2694
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
2695
 
 
2696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
2697
$as_echo_n "checking how to print strings... " >&6; }
 
2698
# Test print first, because it will be a builtin if present.
 
2699
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
2700
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
2701
  ECHO='print -r --'
 
2702
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
2703
  ECHO='printf %s\n'
 
2704
else
 
2705
  # Use this function as a fallback that always works.
 
2706
  func_fallback_echo ()
 
2707
  {
 
2708
    eval 'cat <<_LTECHO_EOF
 
2709
$1
 
2710
_LTECHO_EOF'
 
2711
  }
 
2712
  ECHO='func_fallback_echo'
 
2713
fi
 
2714
 
 
2715
# func_echo_all arg...
 
2716
# Invoke $ECHO with all args, space-separated.
 
2717
func_echo_all ()
 
2718
{
 
2719
    $ECHO ""
 
2720
}
 
2721
 
 
2722
case "$ECHO" in
 
2723
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
2724
$as_echo "printf" >&6; } ;;
 
2725
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
2726
$as_echo "print -r" >&6; } ;;
 
2727
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
2728
$as_echo "cat" >&6; } ;;
 
2729
esac
 
2730
 
 
2731
 
 
2732
 
 
2733
 
 
2734
 
 
2735
 
 
2736
 
 
2737
 
 
2738
 
 
2739
 
 
2740
 
 
2741
 
 
2742
 
 
2743
 
2800
2744
ac_ext=c
2801
2745
ac_cpp='$CPP $CPPFLAGS'
2802
2746
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2807
2751
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2808
2752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809
2753
$as_echo_n "checking for $ac_word... " >&6; }
2810
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2754
if ${ac_cv_prog_CC+:} false; then :
2811
2755
  $as_echo_n "(cached) " >&6
2812
2756
else
2813
2757
  if test -n "$CC"; then
2847
2791
set dummy gcc; ac_word=$2
2848
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849
2793
$as_echo_n "checking for $ac_word... " >&6; }
2850
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2794
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2851
2795
  $as_echo_n "(cached) " >&6
2852
2796
else
2853
2797
  if test -n "$ac_ct_CC"; then
2900
2844
set dummy ${ac_tool_prefix}cc; ac_word=$2
2901
2845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902
2846
$as_echo_n "checking for $ac_word... " >&6; }
2903
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2847
if ${ac_cv_prog_CC+:} false; then :
2904
2848
  $as_echo_n "(cached) " >&6
2905
2849
else
2906
2850
  if test -n "$CC"; then
2940
2884
set dummy cc; ac_word=$2
2941
2885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942
2886
$as_echo_n "checking for $ac_word... " >&6; }
2943
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2887
if ${ac_cv_prog_CC+:} false; then :
2944
2888
  $as_echo_n "(cached) " >&6
2945
2889
else
2946
2890
  if test -n "$CC"; then
2999
2943
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3000
2944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001
2945
$as_echo_n "checking for $ac_word... " >&6; }
3002
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2946
if ${ac_cv_prog_CC+:} false; then :
3003
2947
  $as_echo_n "(cached) " >&6
3004
2948
else
3005
2949
  if test -n "$CC"; then
3043
2987
set dummy $ac_prog; ac_word=$2
3044
2988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045
2989
$as_echo_n "checking for $ac_word... " >&6; }
3046
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2990
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3047
2991
  $as_echo_n "(cached) " >&6
3048
2992
else
3049
2993
  if test -n "$ac_ct_CC"; then
3098
3042
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3099
3043
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100
3044
as_fn_error $? "no acceptable C compiler found in \$PATH
3101
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3045
See \`config.log' for more details" "$LINENO" 5; }
3102
3046
 
3103
3047
# Provide some information about the compiler.
3104
3048
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3213
3157
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214
3158
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215
3159
as_fn_error 77 "C compiler cannot create executables
3216
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3160
See \`config.log' for more details" "$LINENO" 5; }
3217
3161
else
3218
3162
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3219
3163
$as_echo "yes" >&6; }
3256
3200
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257
3201
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258
3202
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3259
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3203
See \`config.log' for more details" "$LINENO" 5; }
3260
3204
fi
3261
3205
rm -f conftest conftest$ac_cv_exeext
3262
3206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3315
3259
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3316
3260
as_fn_error $? "cannot run C compiled programs.
3317
3261
If you meant to cross compile, use \`--host'.
3318
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3262
See \`config.log' for more details" "$LINENO" 5; }
3319
3263
    fi
3320
3264
  fi
3321
3265
fi
3326
3270
ac_clean_files=$ac_clean_files_save
3327
3271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3328
3272
$as_echo_n "checking for suffix of object files... " >&6; }
3329
 
if test "${ac_cv_objext+set}" = set; then :
 
3273
if ${ac_cv_objext+:} false; then :
3330
3274
  $as_echo_n "(cached) " >&6
3331
3275
else
3332
3276
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367
3311
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368
3312
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369
3313
as_fn_error $? "cannot compute suffix of object files: cannot compile
3370
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3314
See \`config.log' for more details" "$LINENO" 5; }
3371
3315
fi
3372
3316
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3373
3317
fi
3377
3321
ac_objext=$OBJEXT
3378
3322
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3379
3323
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3380
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3324
if ${ac_cv_c_compiler_gnu+:} false; then :
3381
3325
  $as_echo_n "(cached) " >&6
3382
3326
else
3383
3327
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414
3358
ac_save_CFLAGS=$CFLAGS
3415
3359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3416
3360
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3417
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3361
if ${ac_cv_prog_cc_g+:} false; then :
3418
3362
  $as_echo_n "(cached) " >&6
3419
3363
else
3420
3364
  ac_save_c_werror_flag=$ac_c_werror_flag
3492
3436
fi
3493
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3494
3438
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3495
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3439
if ${ac_cv_prog_cc_c89+:} false; then :
3496
3440
  $as_echo_n "(cached) " >&6
3497
3441
else
3498
3442
  ac_cv_prog_cc_c89=no
3589
3533
 
3590
3534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3591
3535
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3592
 
if test "${ac_cv_path_SED+set}" = set; then :
 
3536
if ${ac_cv_path_SED+:} false; then :
3593
3537
  $as_echo_n "(cached) " >&6
3594
3538
else
3595
3539
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3671
3615
 
3672
3616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3673
3617
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3674
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
3618
if ${ac_cv_path_GREP+:} false; then :
3675
3619
  $as_echo_n "(cached) " >&6
3676
3620
else
3677
3621
  if test -z "$GREP"; then
3734
3678
 
3735
3679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3736
3680
$as_echo_n "checking for egrep... " >&6; }
3737
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
3681
if ${ac_cv_path_EGREP+:} false; then :
3738
3682
  $as_echo_n "(cached) " >&6
3739
3683
else
3740
3684
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3801
3745
 
3802
3746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3803
3747
$as_echo_n "checking for fgrep... " >&6; }
3804
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
3748
if ${ac_cv_path_FGREP+:} false; then :
3805
3749
  $as_echo_n "(cached) " >&6
3806
3750
else
3807
3751
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3932
3876
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3933
3877
$as_echo_n "checking for non-GNU ld... " >&6; }
3934
3878
fi
3935
 
if test "${lt_cv_path_LD+set}" = set; then :
 
3879
if ${lt_cv_path_LD+:} false; then :
3936
3880
  $as_echo_n "(cached) " >&6
3937
3881
else
3938
3882
  if test -z "$LD"; then
3972
3916
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3973
3917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3974
3918
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3975
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
3919
if ${lt_cv_prog_gnu_ld+:} false; then :
3976
3920
  $as_echo_n "(cached) " >&6
3977
3921
else
3978
3922
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3999
3943
 
4000
3944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4001
3945
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4002
 
if test "${lt_cv_path_NM+set}" = set; then :
 
3946
if ${lt_cv_path_NM+:} false; then :
4003
3947
  $as_echo_n "(cached) " >&6
4004
3948
else
4005
3949
  if test -n "$NM"; then
4052
3996
  NM="$lt_cv_path_NM"
4053
3997
else
4054
3998
  # Didn't find any BSD compatible name lister, look for dumpbin.
4055
 
  if test -n "$ac_tool_prefix"; then
4056
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
3999
  if test -n "$DUMPBIN"; then :
 
4000
    # Let the user override the test.
 
4001
  else
 
4002
    if test -n "$ac_tool_prefix"; then
 
4003
  for ac_prog in dumpbin "link -dump"
4057
4004
  do
4058
4005
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4059
4006
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4060
4007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061
4008
$as_echo_n "checking for $ac_word... " >&6; }
4062
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4009
if ${ac_cv_prog_DUMPBIN+:} false; then :
4063
4010
  $as_echo_n "(cached) " >&6
4064
4011
else
4065
4012
  if test -n "$DUMPBIN"; then
4097
4044
fi
4098
4045
if test -z "$DUMPBIN"; then
4099
4046
  ac_ct_DUMPBIN=$DUMPBIN
4100
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4047
  for ac_prog in dumpbin "link -dump"
4101
4048
do
4102
4049
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4103
4050
set dummy $ac_prog; ac_word=$2
4104
4051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4105
4052
$as_echo_n "checking for $ac_word... " >&6; }
4106
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4053
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4107
4054
  $as_echo_n "(cached) " >&6
4108
4055
else
4109
4056
  if test -n "$ac_ct_DUMPBIN"; then
4152
4099
  fi
4153
4100
fi
4154
4101
 
 
4102
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4103
    *COFF*)
 
4104
      DUMPBIN="$DUMPBIN -symbols"
 
4105
      ;;
 
4106
    *)
 
4107
      DUMPBIN=:
 
4108
      ;;
 
4109
    esac
 
4110
  fi
4155
4111
 
4156
4112
  if test "$DUMPBIN" != ":"; then
4157
4113
    NM="$DUMPBIN"
4166
4122
 
4167
4123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4168
4124
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4169
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4125
if ${lt_cv_nm_interface+:} false; then :
4170
4126
  $as_echo_n "(cached) " >&6
4171
4127
else
4172
4128
  lt_cv_nm_interface="BSD nm"
4173
4129
  echo "int some_variable = 0;" > conftest.$ac_ext
4174
 
  (eval echo "\"\$as_me:4174: $ac_compile\"" >&5)
 
4130
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4175
4131
  (eval "$ac_compile" 2>conftest.err)
4176
4132
  cat conftest.err >&5
4177
 
  (eval echo "\"\$as_me:4177: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4133
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4178
4134
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4179
4135
  cat conftest.err >&5
4180
 
  (eval echo "\"\$as_me:4180: output\"" >&5)
 
4136
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4181
4137
  cat conftest.out >&5
4182
4138
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4183
4139
    lt_cv_nm_interface="MS dumpbin"
4201
4157
# find the maximum length of command line arguments
4202
4158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4203
4159
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4204
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4160
if ${lt_cv_sys_max_cmd_len+:} false; then :
4205
4161
  $as_echo_n "(cached) " >&6
4206
4162
else
4207
4163
    i=0
4234
4190
    lt_cv_sys_max_cmd_len=8192;
4235
4191
    ;;
4236
4192
 
 
4193
  mint*)
 
4194
    # On MiNT this can take a long time and run out of memory.
 
4195
    lt_cv_sys_max_cmd_len=8192;
 
4196
    ;;
 
4197
 
4237
4198
  amigaos*)
4238
4199
    # On AmigaOS with pdksh, this test takes hours, literally.
4239
4200
    # So we just punt and use a minimum line length of 8192.
4298
4259
      # If test is not a shell built-in, we'll probably end up computing a
4299
4260
      # maximum length that is only half of the actual maximum length, but
4300
4261
      # we can't tell.
4301
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4302
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4262
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
4263
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4303
4264
              test $i != 17 # 1/2 MB should be enough
4304
4265
      do
4305
4266
        i=`expr $i + 1`
4341
4302
# Try some XSI features
4342
4303
xsi_shell=no
4343
4304
( _lt_dummy="a/b/c"
4344
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4345
 
      = c,a/b,, \
 
4305
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4306
      = c,a/b,b/c, \
4346
4307
    && eval 'test $(( 1 + 1 )) -eq 2 \
4347
4308
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4348
4309
  && xsi_shell=yes
4391
4352
 
4392
4353
 
4393
4354
 
 
4355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
4356
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
4357
if ${lt_cv_to_host_file_cmd+:} false; then :
 
4358
  $as_echo_n "(cached) " >&6
 
4359
else
 
4360
  case $host in
 
4361
  *-*-mingw* )
 
4362
    case $build in
 
4363
      *-*-mingw* ) # actually msys
 
4364
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
4365
        ;;
 
4366
      *-*-cygwin* )
 
4367
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
4368
        ;;
 
4369
      * ) # otherwise, assume *nix
 
4370
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
4371
        ;;
 
4372
    esac
 
4373
    ;;
 
4374
  *-*-cygwin* )
 
4375
    case $build in
 
4376
      *-*-mingw* ) # actually msys
 
4377
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
4378
        ;;
 
4379
      *-*-cygwin* )
 
4380
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
4381
        ;;
 
4382
      * ) # otherwise, assume *nix
 
4383
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
4384
        ;;
 
4385
    esac
 
4386
    ;;
 
4387
  * ) # unhandled hosts (and "normal" native builds)
 
4388
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
4389
    ;;
 
4390
esac
 
4391
 
 
4392
fi
 
4393
 
 
4394
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
4395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
4396
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
4397
 
 
4398
 
 
4399
 
 
4400
 
 
4401
 
 
4402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
4403
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
4404
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
4405
  $as_echo_n "(cached) " >&6
 
4406
else
 
4407
  #assume ordinary cross tools, or native build.
 
4408
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
4409
case $host in
 
4410
  *-*-mingw* )
 
4411
    case $build in
 
4412
      *-*-mingw* ) # actually msys
 
4413
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
4414
        ;;
 
4415
    esac
 
4416
    ;;
 
4417
esac
 
4418
 
 
4419
fi
 
4420
 
 
4421
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
4422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
4423
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
4424
 
 
4425
 
 
4426
 
 
4427
 
 
4428
 
4394
4429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4395
4430
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4396
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
4431
if ${lt_cv_ld_reload_flag+:} false; then :
4397
4432
  $as_echo_n "(cached) " >&6
4398
4433
else
4399
4434
  lt_cv_ld_reload_flag='-r'
4407
4442
esac
4408
4443
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4409
4444
case $host_os in
 
4445
  cygwin* | mingw* | pw32* | cegcc*)
 
4446
    if test "$GCC" != yes; then
 
4447
      reload_cmds=false
 
4448
    fi
 
4449
    ;;
4410
4450
  darwin*)
4411
4451
    if test "$GCC" = yes; then
4412
4452
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4429
4469
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4430
4470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4431
4471
$as_echo_n "checking for $ac_word... " >&6; }
4432
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4472
if ${ac_cv_prog_OBJDUMP+:} false; then :
4433
4473
  $as_echo_n "(cached) " >&6
4434
4474
else
4435
4475
  if test -n "$OBJDUMP"; then
4469
4509
set dummy objdump; ac_word=$2
4470
4510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4471
4511
$as_echo_n "checking for $ac_word... " >&6; }
4472
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4512
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4473
4513
  $as_echo_n "(cached) " >&6
4474
4514
else
4475
4515
  if test -n "$ac_ct_OBJDUMP"; then
4528
4568
 
4529
4569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4530
4570
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4531
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
4571
if ${lt_cv_deplibs_check_method+:} false; then :
4532
4572
  $as_echo_n "(cached) " >&6
4533
4573
else
4534
4574
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4570
4610
  # Base MSYS/MinGW do not provide the 'file' command needed by
4571
4611
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4572
4612
  # unless we find 'file', for example because we are cross-compiling.
4573
 
  if ( file / ) >/dev/null 2>&1; then
 
4613
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
4614
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4574
4615
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4575
4616
    lt_cv_file_magic_cmd='func_win32_libid'
4576
4617
  else
4577
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4618
    # Keep this pattern in sync with the one in func_win32_libid.
 
4619
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4578
4620
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4579
4621
  fi
4580
4622
  ;;
4581
4623
 
4582
 
cegcc)
 
4624
cegcc*)
4583
4625
  # use the weaker test based on 'objdump'. See mingw*.
4584
4626
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4585
4627
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4609
4651
  lt_cv_deplibs_check_method=pass_all
4610
4652
  ;;
4611
4653
 
 
4654
haiku*)
 
4655
  lt_cv_deplibs_check_method=pass_all
 
4656
  ;;
 
4657
 
4612
4658
hpux10.20* | hpux11*)
4613
4659
  lt_cv_file_magic_cmd=/usr/bin/file
4614
4660
  case $host_cpu in
4617
4663
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4618
4664
    ;;
4619
4665
  hppa*64*)
4620
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
4666
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
4621
4667
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4622
4668
    ;;
4623
4669
  *)
4624
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
4670
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4625
4671
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4626
4672
    ;;
4627
4673
  esac
4643
4689
  ;;
4644
4690
 
4645
4691
# This must be Linux ELF.
4646
 
linux* | k*bsd*-gnu)
 
4692
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4647
4693
  lt_cv_deplibs_check_method=pass_all
4648
4694
  ;;
4649
4695
 
4650
 
netbsd* | netbsdelf*-gnu)
 
4696
netbsd*)
4651
4697
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4652
4698
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4653
4699
  else
4724
4770
fi
4725
4771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4726
4772
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
4773
 
 
4774
file_magic_glob=
 
4775
want_nocaseglob=no
 
4776
if test "$build" = "$host"; then
 
4777
  case $host_os in
 
4778
  mingw* | pw32*)
 
4779
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
4780
      want_nocaseglob=yes
 
4781
    else
 
4782
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
4783
    fi
 
4784
    ;;
 
4785
  esac
 
4786
fi
 
4787
 
4727
4788
file_magic_cmd=$lt_cv_file_magic_cmd
4728
4789
deplibs_check_method=$lt_cv_deplibs_check_method
4729
4790
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4739
4800
 
4740
4801
 
4741
4802
 
4742
 
if test -n "$ac_tool_prefix"; then
4743
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4744
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
4745
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746
 
$as_echo_n "checking for $ac_word... " >&6; }
4747
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
4803
 
 
4804
 
 
4805
 
 
4806
 
 
4807
 
 
4808
 
 
4809
 
 
4810
 
 
4811
 
 
4812
 
 
4813
if test -n "$ac_tool_prefix"; then
 
4814
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
4815
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
4816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4817
$as_echo_n "checking for $ac_word... " >&6; }
 
4818
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
4819
  $as_echo_n "(cached) " >&6
 
4820
else
 
4821
  if test -n "$DLLTOOL"; then
 
4822
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
4823
else
 
4824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4825
for as_dir in $PATH
 
4826
do
 
4827
  IFS=$as_save_IFS
 
4828
  test -z "$as_dir" && as_dir=.
 
4829
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4830
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4831
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
4832
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4833
    break 2
 
4834
  fi
 
4835
done
 
4836
  done
 
4837
IFS=$as_save_IFS
 
4838
 
 
4839
fi
 
4840
fi
 
4841
DLLTOOL=$ac_cv_prog_DLLTOOL
 
4842
if test -n "$DLLTOOL"; then
 
4843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
4844
$as_echo "$DLLTOOL" >&6; }
 
4845
else
 
4846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4847
$as_echo "no" >&6; }
 
4848
fi
 
4849
 
 
4850
 
 
4851
fi
 
4852
if test -z "$ac_cv_prog_DLLTOOL"; then
 
4853
  ac_ct_DLLTOOL=$DLLTOOL
 
4854
  # Extract the first word of "dlltool", so it can be a program name with args.
 
4855
set dummy dlltool; ac_word=$2
 
4856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4857
$as_echo_n "checking for $ac_word... " >&6; }
 
4858
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
4859
  $as_echo_n "(cached) " >&6
 
4860
else
 
4861
  if test -n "$ac_ct_DLLTOOL"; then
 
4862
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
4863
else
 
4864
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4865
for as_dir in $PATH
 
4866
do
 
4867
  IFS=$as_save_IFS
 
4868
  test -z "$as_dir" && as_dir=.
 
4869
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4870
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4871
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
4872
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4873
    break 2
 
4874
  fi
 
4875
done
 
4876
  done
 
4877
IFS=$as_save_IFS
 
4878
 
 
4879
fi
 
4880
fi
 
4881
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
4882
if test -n "$ac_ct_DLLTOOL"; then
 
4883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
4884
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
4885
else
 
4886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4887
$as_echo "no" >&6; }
 
4888
fi
 
4889
 
 
4890
  if test "x$ac_ct_DLLTOOL" = x; then
 
4891
    DLLTOOL="false"
 
4892
  else
 
4893
    case $cross_compiling:$ac_tool_warned in
 
4894
yes:)
 
4895
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4896
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4897
ac_tool_warned=yes ;;
 
4898
esac
 
4899
    DLLTOOL=$ac_ct_DLLTOOL
 
4900
  fi
 
4901
else
 
4902
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
4903
fi
 
4904
 
 
4905
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
4906
 
 
4907
 
 
4908
 
 
4909
 
 
4910
 
 
4911
 
 
4912
 
 
4913
 
 
4914
 
 
4915
 
 
4916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
4917
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
4918
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
4919
  $as_echo_n "(cached) " >&6
 
4920
else
 
4921
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
4922
 
 
4923
case $host_os in
 
4924
cygwin* | mingw* | pw32* | cegcc*)
 
4925
  # two different shell functions defined in ltmain.sh
 
4926
  # decide which to use based on capabilities of $DLLTOOL
 
4927
  case `$DLLTOOL --help 2>&1` in
 
4928
  *--identify-strict*)
 
4929
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
4930
    ;;
 
4931
  *)
 
4932
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
4933
    ;;
 
4934
  esac
 
4935
  ;;
 
4936
*)
 
4937
  # fallback: assume linklib IS sharedlib
 
4938
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
4939
  ;;
 
4940
esac
 
4941
 
 
4942
fi
 
4943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
4944
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
4945
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
4946
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
4947
 
 
4948
 
 
4949
 
 
4950
 
 
4951
 
 
4952
 
 
4953
 
 
4954
 
 
4955
if test -n "$ac_tool_prefix"; then
 
4956
  for ac_prog in ar
 
4957
  do
 
4958
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4959
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4961
$as_echo_n "checking for $ac_word... " >&6; }
 
4962
if ${ac_cv_prog_AR+:} false; then :
4748
4963
  $as_echo_n "(cached) " >&6
4749
4964
else
4750
4965
  if test -n "$AR"; then
4757
4972
  test -z "$as_dir" && as_dir=.
4758
4973
    for ac_exec_ext in '' $ac_executable_extensions; do
4759
4974
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
4975
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4761
4976
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762
4977
    break 2
4763
4978
  fi
4777
4992
fi
4778
4993
 
4779
4994
 
 
4995
    test -n "$AR" && break
 
4996
  done
4780
4997
fi
4781
 
if test -z "$ac_cv_prog_AR"; then
 
4998
if test -z "$AR"; then
4782
4999
  ac_ct_AR=$AR
4783
 
  # Extract the first word of "ar", so it can be a program name with args.
4784
 
set dummy ar; ac_word=$2
 
5000
  for ac_prog in ar
 
5001
do
 
5002
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5003
set dummy $ac_prog; ac_word=$2
4785
5004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4786
5005
$as_echo_n "checking for $ac_word... " >&6; }
4787
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5006
if ${ac_cv_prog_ac_ct_AR+:} false; then :
4788
5007
  $as_echo_n "(cached) " >&6
4789
5008
else
4790
5009
  if test -n "$ac_ct_AR"; then
4797
5016
  test -z "$as_dir" && as_dir=.
4798
5017
    for ac_exec_ext in '' $ac_executable_extensions; do
4799
5018
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4800
 
    ac_cv_prog_ac_ct_AR="ar"
 
5019
    ac_cv_prog_ac_ct_AR="$ac_prog"
4801
5020
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4802
5021
    break 2
4803
5022
  fi
4816
5035
$as_echo "no" >&6; }
4817
5036
fi
4818
5037
 
 
5038
 
 
5039
  test -n "$ac_ct_AR" && break
 
5040
done
 
5041
 
4819
5042
  if test "x$ac_ct_AR" = x; then
4820
5043
    AR="false"
4821
5044
  else
4827
5050
esac
4828
5051
    AR=$ac_ct_AR
4829
5052
  fi
4830
 
else
4831
 
  AR="$ac_cv_prog_AR"
4832
 
fi
4833
 
 
4834
 
test -z "$AR" && AR=ar
4835
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
4836
 
 
4837
 
 
4838
 
 
4839
 
 
 
5053
fi
 
5054
 
 
5055
: ${AR=ar}
 
5056
: ${AR_FLAGS=cru}
 
5057
 
 
5058
 
 
5059
 
 
5060
 
 
5061
 
 
5062
 
 
5063
 
 
5064
 
 
5065
 
 
5066
 
 
5067
 
 
5068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5069
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5070
if ${lt_cv_ar_at_file+:} false; then :
 
5071
  $as_echo_n "(cached) " >&6
 
5072
else
 
5073
  lt_cv_ar_at_file=no
 
5074
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5075
/* end confdefs.h.  */
 
5076
 
 
5077
int
 
5078
main ()
 
5079
{
 
5080
 
 
5081
  ;
 
5082
  return 0;
 
5083
}
 
5084
_ACEOF
 
5085
if ac_fn_c_try_compile "$LINENO"; then :
 
5086
  echo conftest.$ac_objext > conftest.lst
 
5087
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5088
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5089
  (eval $lt_ar_try) 2>&5
 
5090
  ac_status=$?
 
5091
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5092
  test $ac_status = 0; }
 
5093
      if test "$ac_status" -eq 0; then
 
5094
        # Ensure the archiver fails upon bogus file names.
 
5095
        rm -f conftest.$ac_objext libconftest.a
 
5096
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5097
  (eval $lt_ar_try) 2>&5
 
5098
  ac_status=$?
 
5099
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5100
  test $ac_status = 0; }
 
5101
        if test "$ac_status" -ne 0; then
 
5102
          lt_cv_ar_at_file=@
 
5103
        fi
 
5104
      fi
 
5105
      rm -f conftest.* libconftest.a
 
5106
 
 
5107
fi
 
5108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5109
 
 
5110
fi
 
5111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5112
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5113
 
 
5114
if test "x$lt_cv_ar_at_file" = xno; then
 
5115
  archiver_list_spec=
 
5116
else
 
5117
  archiver_list_spec=$lt_cv_ar_at_file
 
5118
fi
4840
5119
 
4841
5120
 
4842
5121
 
4849
5128
set dummy ${ac_tool_prefix}strip; ac_word=$2
4850
5129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851
5130
$as_echo_n "checking for $ac_word... " >&6; }
4852
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5131
if ${ac_cv_prog_STRIP+:} false; then :
4853
5132
  $as_echo_n "(cached) " >&6
4854
5133
else
4855
5134
  if test -n "$STRIP"; then
4889
5168
set dummy strip; ac_word=$2
4890
5169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891
5170
$as_echo_n "checking for $ac_word... " >&6; }
4892
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5171
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4893
5172
  $as_echo_n "(cached) " >&6
4894
5173
else
4895
5174
  if test -n "$ac_ct_STRIP"; then
4948
5227
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4949
5228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950
5229
$as_echo_n "checking for $ac_word... " >&6; }
4951
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5230
if ${ac_cv_prog_RANLIB+:} false; then :
4952
5231
  $as_echo_n "(cached) " >&6
4953
5232
else
4954
5233
  if test -n "$RANLIB"; then
4988
5267
set dummy ranlib; ac_word=$2
4989
5268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990
5269
$as_echo_n "checking for $ac_word... " >&6; }
4991
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5270
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4992
5271
  $as_echo_n "(cached) " >&6
4993
5272
else
4994
5273
  if test -n "$ac_ct_RANLIB"; then
5059
5338
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5060
5339
fi
5061
5340
 
5062
 
 
5063
 
 
5064
 
 
5065
 
 
5066
 
 
5067
 
 
5068
 
 
5069
 
 
5070
 
 
5071
 
 
5072
 
 
5073
 
 
5074
 
 
5075
 
 
 
5341
case $host_os in
 
5342
  darwin*)
 
5343
    lock_old_archive_extraction=yes ;;
 
5344
  *)
 
5345
    lock_old_archive_extraction=no ;;
 
5346
esac
 
5347
 
 
5348
 
 
5349
 
 
5350
 
 
5351
 
 
5352
 
 
5353
 
 
5354
 
 
5355
 
 
5356
 
 
5357
 
 
5358
 
 
5359
 
 
5360
 
 
5361
 
 
5362
 
 
5363
 
 
5364
 
 
5365
 
 
5366
 
 
5367
 
 
5368
for ac_prog in gawk mawk nawk awk
 
5369
do
 
5370
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5371
set dummy $ac_prog; ac_word=$2
 
5372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5373
$as_echo_n "checking for $ac_word... " >&6; }
 
5374
if ${ac_cv_prog_AWK+:} false; then :
 
5375
  $as_echo_n "(cached) " >&6
 
5376
else
 
5377
  if test -n "$AWK"; then
 
5378
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
5379
else
 
5380
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5381
for as_dir in $PATH
 
5382
do
 
5383
  IFS=$as_save_IFS
 
5384
  test -z "$as_dir" && as_dir=.
 
5385
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5386
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5387
    ac_cv_prog_AWK="$ac_prog"
 
5388
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5389
    break 2
 
5390
  fi
 
5391
done
 
5392
  done
 
5393
IFS=$as_save_IFS
 
5394
 
 
5395
fi
 
5396
fi
 
5397
AWK=$ac_cv_prog_AWK
 
5398
if test -n "$AWK"; then
 
5399
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
5400
$as_echo "$AWK" >&6; }
 
5401
else
 
5402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5403
$as_echo "no" >&6; }
 
5404
fi
 
5405
 
 
5406
 
 
5407
  test -n "$AWK" && break
 
5408
done
5076
5409
 
5077
5410
 
5078
5411
 
5105
5438
# Check for command to grab the raw symbol name followed by C symbol from nm.
5106
5439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5107
5440
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5108
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
5441
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5109
5442
  $as_echo_n "(cached) " >&6
5110
5443
else
5111
5444
 
5166
5499
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5167
5500
 
5168
5501
# Transform an extracted symbol line into symbol name and symbol address
5169
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5170
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
5502
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5503
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5171
5504
 
5172
5505
# Handle CRLF in mingw tool chain
5173
5506
opt_cr=
5203
5536
  else
5204
5537
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5205
5538
  fi
 
5539
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5206
5540
 
5207
5541
  # Check to see that the pipe works correctly.
5208
5542
  pipe_works=no
5228
5562
  test $ac_status = 0; }; then
5229
5563
    # Now try to grab the symbols.
5230
5564
    nlist=conftest.nm
5231
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5232
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
5565
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
5566
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5233
5567
  ac_status=$?
5234
5568
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5235
5569
  test $ac_status = 0; } && test -s "$nlist"; then
5244
5578
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5245
5579
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5246
5580
          cat <<_LT_EOF > conftest.$ac_ext
 
5581
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
5582
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
5583
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
5584
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
5585
# define LT_DLSYM_CONST
 
5586
#elif defined(__osf__)
 
5587
/* This system does not cope well with relocations in const data.  */
 
5588
# define LT_DLSYM_CONST
 
5589
#else
 
5590
# define LT_DLSYM_CONST const
 
5591
#endif
 
5592
 
5247
5593
#ifdef __cplusplus
5248
5594
extern "C" {
5249
5595
#endif
5255
5601
          cat <<_LT_EOF >> conftest.$ac_ext
5256
5602
 
5257
5603
/* The mapping between symbol names and symbols.  */
5258
 
const struct {
 
5604
LT_DLSYM_CONST struct {
5259
5605
  const char *name;
5260
5606
  void       *address;
5261
5607
}
5281
5627
_LT_EOF
5282
5628
          # Now try linking the two files.
5283
5629
          mv conftest.$ac_objext conftstm.$ac_objext
5284
 
          lt_save_LIBS="$LIBS"
5285
 
          lt_save_CFLAGS="$CFLAGS"
 
5630
          lt_globsym_save_LIBS=$LIBS
 
5631
          lt_globsym_save_CFLAGS=$CFLAGS
5286
5632
          LIBS="conftstm.$ac_objext"
5287
5633
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5288
5634
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5292
5638
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5293
5639
            pipe_works=yes
5294
5640
          fi
5295
 
          LIBS="$lt_save_LIBS"
5296
 
          CFLAGS="$lt_save_CFLAGS"
 
5641
          LIBS=$lt_globsym_save_LIBS
 
5642
          CFLAGS=$lt_globsym_save_CFLAGS
5297
5643
        else
5298
5644
          echo "cannot find nm_test_func in $nlist" >&5
5299
5645
        fi
5330
5676
$as_echo "ok" >&6; }
5331
5677
fi
5332
5678
 
5333
 
 
5334
 
 
5335
 
 
5336
 
 
5337
 
 
5338
 
 
5339
 
 
5340
 
 
5341
 
 
5342
 
 
5343
 
 
5344
 
 
5345
 
 
5346
 
 
5347
 
 
5348
 
 
5349
 
 
 
5679
# Response file support.
 
5680
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5681
  nm_file_list_spec='@'
 
5682
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
5683
  nm_file_list_spec='@'
 
5684
fi
 
5685
 
 
5686
 
 
5687
 
 
5688
 
 
5689
 
 
5690
 
 
5691
 
 
5692
 
 
5693
 
 
5694
 
 
5695
 
 
5696
 
 
5697
 
 
5698
 
 
5699
 
 
5700
 
 
5701
 
 
5702
 
 
5703
 
 
5704
 
 
5705
 
 
5706
 
 
5707
 
 
5708
 
 
5709
 
 
5710
 
 
5711
 
 
5712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
5713
$as_echo_n "checking for sysroot... " >&6; }
 
5714
 
 
5715
# Check whether --with-sysroot was given.
 
5716
if test "${with_sysroot+set}" = set; then :
 
5717
  withval=$with_sysroot;
 
5718
else
 
5719
  with_sysroot=no
 
5720
fi
 
5721
 
 
5722
 
 
5723
lt_sysroot=
 
5724
case ${with_sysroot} in #(
 
5725
 yes)
 
5726
   if test "$GCC" = yes; then
 
5727
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
5728
   fi
 
5729
   ;; #(
 
5730
 /*)
 
5731
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
5732
   ;; #(
 
5733
 no|'')
 
5734
   ;; #(
 
5735
 *)
 
5736
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
5737
$as_echo "${with_sysroot}" >&6; }
 
5738
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
5739
   ;;
 
5740
esac
 
5741
 
 
5742
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
5743
$as_echo "${lt_sysroot:-no}" >&6; }
5350
5744
 
5351
5745
 
5352
5746
 
5383
5777
  ;;
5384
5778
*-*-irix6*)
5385
5779
  # Find out which ABI we are using.
5386
 
  echo '#line 5386 "configure"' > conftest.$ac_ext
 
5780
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5387
5781
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5388
5782
  (eval $ac_compile) 2>&5
5389
5783
  ac_status=$?
5477
5871
  CFLAGS="$CFLAGS -belf"
5478
5872
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5479
5873
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5480
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
5874
if ${lt_cv_cc_needs_belf+:} false; then :
5481
5875
  $as_echo_n "(cached) " >&6
5482
5876
else
5483
5877
  ac_ext=c
5545
5939
 
5546
5940
need_locks="$enable_libtool_lock"
5547
5941
 
 
5942
if test -n "$ac_tool_prefix"; then
 
5943
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
5944
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
5945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5946
$as_echo_n "checking for $ac_word... " >&6; }
 
5947
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
5948
  $as_echo_n "(cached) " >&6
 
5949
else
 
5950
  if test -n "$MANIFEST_TOOL"; then
 
5951
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
5952
else
 
5953
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5954
for as_dir in $PATH
 
5955
do
 
5956
  IFS=$as_save_IFS
 
5957
  test -z "$as_dir" && as_dir=.
 
5958
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5959
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5960
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
5961
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5962
    break 2
 
5963
  fi
 
5964
done
 
5965
  done
 
5966
IFS=$as_save_IFS
 
5967
 
 
5968
fi
 
5969
fi
 
5970
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
5971
if test -n "$MANIFEST_TOOL"; then
 
5972
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
5973
$as_echo "$MANIFEST_TOOL" >&6; }
 
5974
else
 
5975
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5976
$as_echo "no" >&6; }
 
5977
fi
 
5978
 
 
5979
 
 
5980
fi
 
5981
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
5982
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
5983
  # Extract the first word of "mt", so it can be a program name with args.
 
5984
set dummy mt; ac_word=$2
 
5985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5986
$as_echo_n "checking for $ac_word... " >&6; }
 
5987
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
5988
  $as_echo_n "(cached) " >&6
 
5989
else
 
5990
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
5991
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
5992
else
 
5993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5994
for as_dir in $PATH
 
5995
do
 
5996
  IFS=$as_save_IFS
 
5997
  test -z "$as_dir" && as_dir=.
 
5998
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5999
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6000
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6001
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6002
    break 2
 
6003
  fi
 
6004
done
 
6005
  done
 
6006
IFS=$as_save_IFS
 
6007
 
 
6008
fi
 
6009
fi
 
6010
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6011
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6013
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6014
else
 
6015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6016
$as_echo "no" >&6; }
 
6017
fi
 
6018
 
 
6019
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6020
    MANIFEST_TOOL=":"
 
6021
  else
 
6022
    case $cross_compiling:$ac_tool_warned in
 
6023
yes:)
 
6024
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6025
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6026
ac_tool_warned=yes ;;
 
6027
esac
 
6028
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6029
  fi
 
6030
else
 
6031
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6032
fi
 
6033
 
 
6034
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6036
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6037
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6038
  $as_echo_n "(cached) " >&6
 
6039
else
 
6040
  lt_cv_path_mainfest_tool=no
 
6041
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6042
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6043
  cat conftest.err >&5
 
6044
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6045
    lt_cv_path_mainfest_tool=yes
 
6046
  fi
 
6047
  rm -f conftest*
 
6048
fi
 
6049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6050
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6051
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6052
  MANIFEST_TOOL=:
 
6053
fi
 
6054
 
 
6055
 
 
6056
 
 
6057
 
 
6058
 
5548
6059
 
5549
6060
  case $host_os in
5550
6061
    rhapsody* | darwin*)
5553
6064
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5554
6065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5555
6066
$as_echo_n "checking for $ac_word... " >&6; }
5556
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6067
if ${ac_cv_prog_DSYMUTIL+:} false; then :
5557
6068
  $as_echo_n "(cached) " >&6
5558
6069
else
5559
6070
  if test -n "$DSYMUTIL"; then
5593
6104
set dummy dsymutil; ac_word=$2
5594
6105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595
6106
$as_echo_n "checking for $ac_word... " >&6; }
5596
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6107
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5597
6108
  $as_echo_n "(cached) " >&6
5598
6109
else
5599
6110
  if test -n "$ac_ct_DSYMUTIL"; then
5645
6156
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5646
6157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647
6158
$as_echo_n "checking for $ac_word... " >&6; }
5648
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6159
if ${ac_cv_prog_NMEDIT+:} false; then :
5649
6160
  $as_echo_n "(cached) " >&6
5650
6161
else
5651
6162
  if test -n "$NMEDIT"; then
5685
6196
set dummy nmedit; ac_word=$2
5686
6197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687
6198
$as_echo_n "checking for $ac_word... " >&6; }
5688
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6199
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
5689
6200
  $as_echo_n "(cached) " >&6
5690
6201
else
5691
6202
  if test -n "$ac_ct_NMEDIT"; then
5737
6248
set dummy ${ac_tool_prefix}lipo; ac_word=$2
5738
6249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739
6250
$as_echo_n "checking for $ac_word... " >&6; }
5740
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6251
if ${ac_cv_prog_LIPO+:} false; then :
5741
6252
  $as_echo_n "(cached) " >&6
5742
6253
else
5743
6254
  if test -n "$LIPO"; then
5777
6288
set dummy lipo; ac_word=$2
5778
6289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779
6290
$as_echo_n "checking for $ac_word... " >&6; }
5780
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6291
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
5781
6292
  $as_echo_n "(cached) " >&6
5782
6293
else
5783
6294
  if test -n "$ac_ct_LIPO"; then
5829
6340
set dummy ${ac_tool_prefix}otool; ac_word=$2
5830
6341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831
6342
$as_echo_n "checking for $ac_word... " >&6; }
5832
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6343
if ${ac_cv_prog_OTOOL+:} false; then :
5833
6344
  $as_echo_n "(cached) " >&6
5834
6345
else
5835
6346
  if test -n "$OTOOL"; then
5869
6380
set dummy otool; ac_word=$2
5870
6381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871
6382
$as_echo_n "checking for $ac_word... " >&6; }
5872
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6383
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
5873
6384
  $as_echo_n "(cached) " >&6
5874
6385
else
5875
6386
  if test -n "$ac_ct_OTOOL"; then
5921
6432
set dummy ${ac_tool_prefix}otool64; ac_word=$2
5922
6433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923
6434
$as_echo_n "checking for $ac_word... " >&6; }
5924
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6435
if ${ac_cv_prog_OTOOL64+:} false; then :
5925
6436
  $as_echo_n "(cached) " >&6
5926
6437
else
5927
6438
  if test -n "$OTOOL64"; then
5961
6472
set dummy otool64; ac_word=$2
5962
6473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963
6474
$as_echo_n "checking for $ac_word... " >&6; }
5964
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6475
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
5965
6476
  $as_echo_n "(cached) " >&6
5966
6477
else
5967
6478
  if test -n "$ac_ct_OTOOL64"; then
6036
6547
 
6037
6548
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6038
6549
$as_echo_n "checking for -single_module linker flag... " >&6; }
6039
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
6550
if ${lt_cv_apple_cc_single_mod+:} false; then :
6040
6551
  $as_echo_n "(cached) " >&6
6041
6552
else
6042
6553
  lt_cv_apple_cc_single_mod=no
6065
6576
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6066
6577
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6067
6578
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6068
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
6579
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6069
6580
  $as_echo_n "(cached) " >&6
6070
6581
else
6071
6582
  lt_cv_ld_exported_symbols_list=no
6095
6606
fi
6096
6607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6097
6608
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6609
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
6610
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
6611
if ${lt_cv_ld_force_load+:} false; then :
 
6612
  $as_echo_n "(cached) " >&6
 
6613
else
 
6614
  lt_cv_ld_force_load=no
 
6615
      cat > conftest.c << _LT_EOF
 
6616
int forced_loaded() { return 2;}
 
6617
_LT_EOF
 
6618
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
6619
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
6620
      echo "$AR cru libconftest.a conftest.o" >&5
 
6621
      $AR cru libconftest.a conftest.o 2>&5
 
6622
      echo "$RANLIB libconftest.a" >&5
 
6623
      $RANLIB libconftest.a 2>&5
 
6624
      cat > conftest.c << _LT_EOF
 
6625
int main() { return 0;}
 
6626
_LT_EOF
 
6627
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
6628
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
6629
      _lt_result=$?
 
6630
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
6631
        lt_cv_ld_force_load=yes
 
6632
      else
 
6633
        cat conftest.err >&5
 
6634
      fi
 
6635
        rm -f conftest.err libconftest.a conftest conftest.c
 
6636
        rm -rf conftest.dSYM
 
6637
 
 
6638
fi
 
6639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
6640
$as_echo "$lt_cv_ld_force_load" >&6; }
6098
6641
    case $host_os in
6099
6642
    rhapsody* | darwin1.[012])
6100
6643
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6122
6665
    else
6123
6666
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6124
6667
    fi
6125
 
    if test "$DSYMUTIL" != ":"; then
 
6668
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6126
6669
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6127
6670
    else
6128
6671
      _lt_dsymutil=
6142
6685
  CPP=
6143
6686
fi
6144
6687
if test -z "$CPP"; then
6145
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
6688
  if ${ac_cv_prog_CPP+:} false; then :
6146
6689
  $as_echo_n "(cached) " >&6
6147
6690
else
6148
6691
      # Double quotes because CPP needs to be expanded
6258
6801
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6259
6802
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6260
6803
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6261
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6804
See \`config.log' for more details" "$LINENO" 5; }
6262
6805
fi
6263
6806
 
6264
6807
ac_ext=c
6270
6813
 
6271
6814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6272
6815
$as_echo_n "checking for ANSI C header files... " >&6; }
6273
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
6816
if ${ac_cv_header_stdc+:} false; then :
6274
6817
  $as_echo_n "(cached) " >&6
6275
6818
else
6276
6819
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6401
6944
do :
6402
6945
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6403
6946
"
6404
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
6947
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6405
6948
  cat >>confdefs.h <<_ACEOF
6406
6949
#define HAVE_DLFCN_H 1
6407
6950
_ACEOF
6412
6955
 
6413
6956
 
6414
6957
 
 
6958
 
 
6959
 
6415
6960
# Set options
6416
6961
 
6417
6962
 
6564
7109
 
6565
7110
 
6566
7111
 
 
7112
 
6567
7113
test -z "$LN_S" && LN_S="ln -s"
6568
7114
 
6569
7115
 
6585
7131
 
6586
7132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6587
7133
$as_echo_n "checking for objdir... " >&6; }
6588
 
if test "${lt_cv_objdir+set}" = set; then :
 
7134
if ${lt_cv_objdir+:} false; then :
6589
7135
  $as_echo_n "(cached) " >&6
6590
7136
else
6591
7137
  rm -f .libs 2>/dev/null
6613
7159
 
6614
7160
 
6615
7161
 
6616
 
 
6617
 
 
6618
 
 
6619
 
 
6620
 
 
6621
 
 
6622
 
 
6623
 
 
6624
 
 
6625
 
 
6626
 
 
6627
 
 
6628
 
 
6629
7162
case $host_os in
6630
7163
aix3*)
6631
7164
  # AIX sometimes has problems with the GCC collect2 program.  For some
6638
7171
  ;;
6639
7172
esac
6640
7173
 
6641
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6642
 
# metacharacters that are still active within double-quoted strings.
6643
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6644
 
 
6645
 
# Same as above, but do not quote variable references.
6646
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6647
 
 
6648
 
# Sed substitution to delay expansion of an escaped shell variable in a
6649
 
# double_quote_subst'ed string.
6650
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6651
 
 
6652
 
# Sed substitution to delay expansion of an escaped single quote.
6653
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6654
 
 
6655
 
# Sed substitution to avoid accidental globbing in evaled expressions
6656
 
no_glob_subst='s/\*/\\\*/g'
6657
 
 
6658
7174
# Global variables:
6659
7175
ofile=libtool
6660
7176
can_build_shared=yes
6683
7199
    *) break;;
6684
7200
  esac
6685
7201
done
6686
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7202
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6687
7203
 
6688
7204
 
6689
7205
# Only perform the check for file, if the check method requires it
6693
7209
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6694
7210
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6695
7211
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6696
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7212
if ${lt_cv_path_MAGIC_CMD+:} false; then :
6697
7213
  $as_echo_n "(cached) " >&6
6698
7214
else
6699
7215
  case $MAGIC_CMD in
6759
7275
  if test -n "$ac_tool_prefix"; then
6760
7276
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6761
7277
$as_echo_n "checking for file... " >&6; }
6762
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7278
if ${lt_cv_path_MAGIC_CMD+:} false; then :
6763
7279
  $as_echo_n "(cached) " >&6
6764
7280
else
6765
7281
  case $MAGIC_CMD in
6883
7399
$RM -r conftest*
6884
7400
 
6885
7401
 
6886
 
## CAVEAT EMPTOR:
6887
 
## There is no encapsulation within the following macros, do not change
6888
 
## the running order or otherwise move them around unless you know exactly
6889
 
## what you are doing...
6890
7402
if test -n "$compiler"; then
6891
7403
 
6892
7404
lt_prog_compiler_no_builtin_flag=
6893
7405
 
6894
7406
if test "$GCC" = yes; then
6895
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7407
  case $cc_basename in
 
7408
  nvcc*)
 
7409
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
7410
  *)
 
7411
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
7412
  esac
6896
7413
 
6897
7414
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6898
7415
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6899
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
7416
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
6900
7417
  $as_echo_n "(cached) " >&6
6901
7418
else
6902
7419
  lt_cv_prog_compiler_rtti_exceptions=no
6912
7429
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6913
7430
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6914
7431
   -e 's:$: $lt_compiler_flag:'`
6915
 
   (eval echo "\"\$as_me:6915: $lt_compile\"" >&5)
 
7432
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
6916
7433
   (eval "$lt_compile" 2>conftest.err)
6917
7434
   ac_status=$?
6918
7435
   cat conftest.err >&5
6919
 
   echo "$as_me:6919: \$? = $ac_status" >&5
 
7436
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920
7437
   if (exit $ac_status) && test -s "$ac_outfile"; then
6921
7438
     # The compiler can only warn and ignore the option if not recognized
6922
7439
     # So say no if there are warnings other than the usual output.
6923
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7440
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
6924
7441
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6925
7442
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6926
7443
       lt_cv_prog_compiler_rtti_exceptions=yes
6949
7466
lt_prog_compiler_pic=
6950
7467
lt_prog_compiler_static=
6951
7468
 
6952
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6953
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6954
7469
 
6955
7470
  if test "$GCC" = yes; then
6956
7471
    lt_prog_compiler_wl='-Wl,'
6998
7513
      lt_prog_compiler_pic='-fno-common'
6999
7514
      ;;
7000
7515
 
 
7516
    haiku*)
 
7517
      # PIC is the default for Haiku.
 
7518
      # The "-static" flag exists, but is broken.
 
7519
      lt_prog_compiler_static=
 
7520
      ;;
 
7521
 
7001
7522
    hpux*)
7002
7523
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7003
7524
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7040
7561
      lt_prog_compiler_pic='-fPIC'
7041
7562
      ;;
7042
7563
    esac
 
7564
 
 
7565
    case $cc_basename in
 
7566
    nvcc*) # Cuda Compiler Driver 2.2
 
7567
      lt_prog_compiler_wl='-Xlinker '
 
7568
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
7569
      ;;
 
7570
    esac
7043
7571
  else
7044
7572
    # PORTME Check for flag to pass linker flags through the system compiler.
7045
7573
    case $host_os in
7081
7609
      lt_prog_compiler_static='-non_shared'
7082
7610
      ;;
7083
7611
 
7084
 
    linux* | k*bsd*-gnu)
 
7612
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7085
7613
      case $cc_basename in
7086
7614
      # old Intel for x86_64 which still supported -KPIC.
7087
7615
      ecc*)
7102
7630
        lt_prog_compiler_pic='--shared'
7103
7631
        lt_prog_compiler_static='--static'
7104
7632
        ;;
7105
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7633
      nagfor*)
 
7634
        # NAG Fortran compiler
 
7635
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
7636
        lt_prog_compiler_pic='-PIC'
 
7637
        lt_prog_compiler_static='-Bstatic'
 
7638
        ;;
 
7639
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7106
7640
        # Portland Group compilers (*not* the Pentium gcc compiler,
7107
7641
        # which looks to be a dead project)
7108
7642
        lt_prog_compiler_wl='-Wl,'
7114
7648
        # All Alpha code is PIC.
7115
7649
        lt_prog_compiler_static='-non_shared'
7116
7650
        ;;
7117
 
      xl*)
7118
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7651
      xl* | bgxl* | bgf* | mpixl*)
 
7652
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7119
7653
        lt_prog_compiler_wl='-Wl,'
7120
7654
        lt_prog_compiler_pic='-qpic'
7121
7655
        lt_prog_compiler_static='-qstaticlink'
7122
7656
        ;;
7123
7657
      *)
7124
7658
        case `$CC -V 2>&1 | sed 5q` in
 
7659
        *Sun\ F* | *Sun*Fortran*)
 
7660
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7661
          lt_prog_compiler_pic='-KPIC'
 
7662
          lt_prog_compiler_static='-Bstatic'
 
7663
          lt_prog_compiler_wl=''
 
7664
          ;;
7125
7665
        *Sun\ C*)
7126
7666
          # Sun C 5.9
7127
7667
          lt_prog_compiler_pic='-KPIC'
7128
7668
          lt_prog_compiler_static='-Bstatic'
7129
7669
          lt_prog_compiler_wl='-Wl,'
7130
7670
          ;;
7131
 
        *Sun\ F*)
7132
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7133
 
          lt_prog_compiler_pic='-KPIC'
7134
 
          lt_prog_compiler_static='-Bstatic'
7135
 
          lt_prog_compiler_wl=''
7136
 
          ;;
7137
7671
        esac
7138
7672
        ;;
7139
7673
      esac
7164
7698
      lt_prog_compiler_pic='-KPIC'
7165
7699
      lt_prog_compiler_static='-Bstatic'
7166
7700
      case $cc_basename in
7167
 
      f77* | f90* | f95*)
 
7701
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7168
7702
        lt_prog_compiler_wl='-Qoption ld ';;
7169
7703
      *)
7170
7704
        lt_prog_compiler_wl='-Wl,';;
7221
7755
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7222
7756
    ;;
7223
7757
esac
7224
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7225
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7226
 
 
7227
 
 
7228
 
 
7229
 
 
7230
 
 
 
7758
 
 
7759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
7760
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
7761
if ${lt_cv_prog_compiler_pic+:} false; then :
 
7762
  $as_echo_n "(cached) " >&6
 
7763
else
 
7764
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
7765
fi
 
7766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
7767
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
7768
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7231
7769
 
7232
7770
#
7233
7771
# Check to make sure the PIC flag actually works.
7235
7773
if test -n "$lt_prog_compiler_pic"; then
7236
7774
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7237
7775
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7238
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
7776
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7239
7777
  $as_echo_n "(cached) " >&6
7240
7778
else
7241
7779
  lt_cv_prog_compiler_pic_works=no
7251
7789
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7252
7790
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7253
7791
   -e 's:$: $lt_compiler_flag:'`
7254
 
   (eval echo "\"\$as_me:7254: $lt_compile\"" >&5)
 
7792
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7255
7793
   (eval "$lt_compile" 2>conftest.err)
7256
7794
   ac_status=$?
7257
7795
   cat conftest.err >&5
7258
 
   echo "$as_me:7258: \$? = $ac_status" >&5
 
7796
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259
7797
   if (exit $ac_status) && test -s "$ac_outfile"; then
7260
7798
     # The compiler can only warn and ignore the option if not recognized
7261
7799
     # So say no if there are warnings other than the usual output.
7262
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7800
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7263
7801
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7264
7802
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7265
7803
       lt_cv_prog_compiler_pic_works=yes
7288
7826
 
7289
7827
 
7290
7828
 
 
7829
 
 
7830
 
 
7831
 
 
7832
 
 
7833
 
7291
7834
#
7292
7835
# Check to make sure the static flag actually works.
7293
7836
#
7294
7837
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7295
7838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7296
7839
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7297
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
7840
if ${lt_cv_prog_compiler_static_works+:} false; then :
7298
7841
  $as_echo_n "(cached) " >&6
7299
7842
else
7300
7843
  lt_cv_prog_compiler_static_works=no
7307
7850
     if test -s conftest.err; then
7308
7851
       # Append any errors to the config.log.
7309
7852
       cat conftest.err 1>&5
7310
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7853
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7311
7854
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7312
7855
       if diff conftest.exp conftest.er2 >/dev/null; then
7313
7856
         lt_cv_prog_compiler_static_works=yes
7337
7880
 
7338
7881
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7339
7882
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7340
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
7883
if ${lt_cv_prog_compiler_c_o+:} false; then :
7341
7884
  $as_echo_n "(cached) " >&6
7342
7885
else
7343
7886
  lt_cv_prog_compiler_c_o=no
7356
7899
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7357
7900
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7358
7901
   -e 's:$: $lt_compiler_flag:'`
7359
 
   (eval echo "\"\$as_me:7359: $lt_compile\"" >&5)
 
7902
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7360
7903
   (eval "$lt_compile" 2>out/conftest.err)
7361
7904
   ac_status=$?
7362
7905
   cat out/conftest.err >&5
7363
 
   echo "$as_me:7363: \$? = $ac_status" >&5
 
7906
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364
7907
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7365
7908
   then
7366
7909
     # The compiler can only warn and ignore the option if not recognized
7367
7910
     # So say no if there are warnings
7368
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7911
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7369
7912
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7370
7913
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7371
7914
       lt_cv_prog_compiler_c_o=yes
7392
7935
 
7393
7936
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7394
7937
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7395
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
7938
if ${lt_cv_prog_compiler_c_o+:} false; then :
7396
7939
  $as_echo_n "(cached) " >&6
7397
7940
else
7398
7941
  lt_cv_prog_compiler_c_o=no
7411
7954
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7412
7955
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7413
7956
   -e 's:$: $lt_compiler_flag:'`
7414
 
   (eval echo "\"\$as_me:7414: $lt_compile\"" >&5)
 
7957
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7415
7958
   (eval "$lt_compile" 2>out/conftest.err)
7416
7959
   ac_status=$?
7417
7960
   cat out/conftest.err >&5
7418
 
   echo "$as_me:7418: \$? = $ac_status" >&5
 
7961
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419
7962
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7420
7963
   then
7421
7964
     # The compiler can only warn and ignore the option if not recognized
7422
7965
     # So say no if there are warnings
7423
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7966
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7424
7967
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7425
7968
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7426
7969
       lt_cv_prog_compiler_c_o=yes
7530
8073
  openbsd*)
7531
8074
    with_gnu_ld=no
7532
8075
    ;;
7533
 
  linux* | k*bsd*-gnu)
7534
 
    link_all_deplibs=no
7535
 
    ;;
7536
8076
  esac
7537
8077
 
7538
8078
  ld_shlibs=yes
 
8079
 
 
8080
  # On some targets, GNU ld is compatible enough with the native linker
 
8081
  # that we're better off using the native interface for both.
 
8082
  lt_use_gnu_ld_interface=no
7539
8083
  if test "$with_gnu_ld" = yes; then
 
8084
    case $host_os in
 
8085
      aix*)
 
8086
        # The AIX port of GNU ld has always aspired to compatibility
 
8087
        # with the native linker.  However, as the warning in the GNU ld
 
8088
        # block says, versions before 2.19.5* couldn't really create working
 
8089
        # shared libraries, regardless of the interface used.
 
8090
        case `$LD -v 2>&1` in
 
8091
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8092
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8093
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8094
          *)
 
8095
            lt_use_gnu_ld_interface=yes
 
8096
            ;;
 
8097
        esac
 
8098
        ;;
 
8099
      *)
 
8100
        lt_use_gnu_ld_interface=yes
 
8101
        ;;
 
8102
    esac
 
8103
  fi
 
8104
 
 
8105
  if test "$lt_use_gnu_ld_interface" = yes; then
7540
8106
    # If archive_cmds runs LD, not CC, wlarc should be empty
7541
8107
    wlarc='${wl}'
7542
8108
 
7554
8120
    fi
7555
8121
    supports_anon_versioning=no
7556
8122
    case `$LD -v 2>&1` in
 
8123
      *GNU\ gold*) supports_anon_versioning=yes ;;
7557
8124
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7558
8125
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7559
8126
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7569
8136
        ld_shlibs=no
7570
8137
        cat <<_LT_EOF 1>&2
7571
8138
 
7572
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8139
*** Warning: the GNU linker, at least up to release 2.19, is reported
7573
8140
*** to be unable to reliably create shared libraries on AIX.
7574
8141
*** Therefore, libtool is disabling shared libraries support.  If you
7575
 
*** really care for shared libraries, you may want to modify your PATH
7576
 
*** so that a non-GNU linker is found, and then restart.
 
8142
*** really care for shared libraries, you may want to install binutils
 
8143
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8144
*** You will then need to restart the configuration process.
7577
8145
 
7578
8146
_LT_EOF
7579
8147
      fi
7609
8177
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7610
8178
      # as there is no search path for DLLs.
7611
8179
      hardcode_libdir_flag_spec='-L$libdir'
 
8180
      export_dynamic_flag_spec='${wl}--export-all-symbols'
7612
8181
      allow_undefined_flag=unsupported
7613
8182
      always_export_symbols=no
7614
8183
      enable_shared_with_static_runtimes=yes
7615
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8184
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
8185
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
7616
8186
 
7617
8187
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7618
8188
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7630
8200
      fi
7631
8201
      ;;
7632
8202
 
 
8203
    haiku*)
 
8204
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8205
      link_all_deplibs=yes
 
8206
      ;;
 
8207
 
7633
8208
    interix[3-9]*)
7634
8209
      hardcode_direct=no
7635
8210
      hardcode_shlibpath_var=no
7645
8220
      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'
7646
8221
      ;;
7647
8222
 
7648
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8223
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
7649
8224
      tmp_diet=no
7650
8225
      if test "$host_os" = linux-dietlibc; then
7651
8226
        case $cc_basename in
7655
8230
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7656
8231
         && test "$tmp_diet" = no
7657
8232
      then
7658
 
        tmp_addflag=
 
8233
        tmp_addflag=' $pic_flag'
7659
8234
        tmp_sharedflag='-shared'
7660
8235
        case $cc_basename,$host_cpu in
7661
8236
        pgcc*)                          # Portland Group C compiler
7662
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8237
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
7663
8238
          tmp_addflag=' $pic_flag'
7664
8239
          ;;
7665
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7666
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8240
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8241
                                        # Portland Group f77 and f90 compilers
 
8242
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
7667
8243
          tmp_addflag=' $pic_flag -Mnomain' ;;
7668
8244
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7669
8245
          tmp_addflag=' -i_dynamic' ;;
7674
8250
        lf95*)                          # Lahey Fortran 8.1
7675
8251
          whole_archive_flag_spec=
7676
8252
          tmp_sharedflag='--shared' ;;
7677
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8253
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7678
8254
          tmp_sharedflag='-qmkshrobj'
7679
8255
          tmp_addflag= ;;
 
8256
        nvcc*)  # Cuda Compiler Driver 2.2
 
8257
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8258
          compiler_needs_object=yes
 
8259
          ;;
7680
8260
        esac
7681
8261
        case `$CC -V 2>&1 | sed 5q` in
7682
8262
        *Sun\ C*)                       # Sun C 5.9
7683
 
          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'
 
8263
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
7684
8264
          compiler_needs_object=yes
7685
8265
          tmp_sharedflag='-G' ;;
7686
8266
        *Sun\ F*)                       # Sun Fortran 8.3
7696
8276
        fi
7697
8277
 
7698
8278
        case $cc_basename in
7699
 
        xlf*)
 
8279
        xlf* | bgf* | bgxlf* | mpixlf*)
7700
8280
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7701
8281
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7702
8282
          hardcode_libdir_flag_spec=
7703
8283
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
7704
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8284
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
7705
8285
          if test "x$supports_anon_versioning" = xyes; then
7706
8286
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7707
8287
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7708
8288
              echo "local: *; };" >> $output_objdir/$libname.ver~
7709
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8289
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7710
8290
          fi
7711
8291
          ;;
7712
8292
        esac
7715
8295
      fi
7716
8296
      ;;
7717
8297
 
7718
 
    netbsd* | netbsdelf*-gnu)
 
8298
    netbsd*)
7719
8299
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7720
8300
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7721
8301
        wlarc=
7722
8302
      else
7723
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7724
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8303
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8304
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7725
8305
      fi
7726
8306
      ;;
7727
8307
 
7739
8319
 
7740
8320
_LT_EOF
7741
8321
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7742
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7743
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8322
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8323
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7744
8324
      else
7745
8325
        ld_shlibs=no
7746
8326
      fi
7786
8366
 
7787
8367
    *)
7788
8368
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7789
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7790
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8369
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8370
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7791
8371
      else
7792
8372
        ld_shlibs=no
7793
8373
      fi
7827
8407
      else
7828
8408
        # If we're using GNU nm, then we don't want the "-C" option.
7829
8409
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8410
        # Also, AIX nm treats weak defined symbols like other global
 
8411
        # defined symbols, whereas GNU nm marks them as "W".
7830
8412
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7831
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
8413
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7832
8414
        else
7833
8415
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7834
8416
        fi
7890
8472
        if test "$aix_use_runtimelinking" = yes; then
7891
8473
          shared_flag="$shared_flag "'${wl}-G'
7892
8474
        fi
7893
 
        link_all_deplibs=no
7894
8475
      else
7895
8476
        # not using gcc
7896
8477
        if test "$host_cpu" = ia64; then
7916
8497
        allow_undefined_flag='-berok'
7917
8498
        # Determine the default libpath from the value encoded in an
7918
8499
        # empty executable.
7919
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8500
        if test "${lt_cv_aix_libpath+set}" = set; then
 
8501
  aix_libpath=$lt_cv_aix_libpath
 
8502
else
 
8503
  if ${lt_cv_aix_libpath_+:} false; then :
 
8504
  $as_echo_n "(cached) " >&6
 
8505
else
 
8506
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7920
8507
/* end confdefs.h.  */
7921
8508
 
7922
8509
int
7929
8516
_ACEOF
7930
8517
if ac_fn_c_try_link "$LINENO"; then :
7931
8518
 
7932
 
lt_aix_libpath_sed='
7933
 
    /Import File Strings/,/^$/ {
7934
 
        /^0/ {
7935
 
            s/^0  *\(.*\)$/\1/
7936
 
            p
7937
 
        }
7938
 
    }'
7939
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7940
 
# Check for a 64-bit object if we didn't find anything.
7941
 
if test -z "$aix_libpath"; then
7942
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7943
 
fi
 
8519
  lt_aix_libpath_sed='
 
8520
      /Import File Strings/,/^$/ {
 
8521
          /^0/ {
 
8522
              s/^0  *\([^ ]*\) *$/\1/
 
8523
              p
 
8524
          }
 
8525
      }'
 
8526
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8527
  # Check for a 64-bit object if we didn't find anything.
 
8528
  if test -z "$lt_cv_aix_libpath_"; then
 
8529
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8530
  fi
7944
8531
fi
7945
8532
rm -f core conftest.err conftest.$ac_objext \
7946
8533
    conftest$ac_exeext conftest.$ac_ext
7947
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8534
  if test -z "$lt_cv_aix_libpath_"; then
 
8535
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
8536
  fi
 
8537
 
 
8538
fi
 
8539
 
 
8540
  aix_libpath=$lt_cv_aix_libpath_
 
8541
fi
7948
8542
 
7949
8543
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7950
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8544
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7951
8545
      else
7952
8546
        if test "$host_cpu" = ia64; then
7953
8547
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7956
8550
        else
7957
8551
         # Determine the default libpath from the value encoded in an
7958
8552
         # empty executable.
7959
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8553
         if test "${lt_cv_aix_libpath+set}" = set; then
 
8554
  aix_libpath=$lt_cv_aix_libpath
 
8555
else
 
8556
  if ${lt_cv_aix_libpath_+:} false; then :
 
8557
  $as_echo_n "(cached) " >&6
 
8558
else
 
8559
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7960
8560
/* end confdefs.h.  */
7961
8561
 
7962
8562
int
7969
8569
_ACEOF
7970
8570
if ac_fn_c_try_link "$LINENO"; then :
7971
8571
 
7972
 
lt_aix_libpath_sed='
7973
 
    /Import File Strings/,/^$/ {
7974
 
        /^0/ {
7975
 
            s/^0  *\(.*\)$/\1/
7976
 
            p
7977
 
        }
7978
 
    }'
7979
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7980
 
# Check for a 64-bit object if we didn't find anything.
7981
 
if test -z "$aix_libpath"; then
7982
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7983
 
fi
 
8572
  lt_aix_libpath_sed='
 
8573
      /Import File Strings/,/^$/ {
 
8574
          /^0/ {
 
8575
              s/^0  *\([^ ]*\) *$/\1/
 
8576
              p
 
8577
          }
 
8578
      }'
 
8579
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8580
  # Check for a 64-bit object if we didn't find anything.
 
8581
  if test -z "$lt_cv_aix_libpath_"; then
 
8582
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8583
  fi
7984
8584
fi
7985
8585
rm -f core conftest.err conftest.$ac_objext \
7986
8586
    conftest$ac_exeext conftest.$ac_ext
7987
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8587
  if test -z "$lt_cv_aix_libpath_"; then
 
8588
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
8589
  fi
 
8590
 
 
8591
fi
 
8592
 
 
8593
  aix_libpath=$lt_cv_aix_libpath_
 
8594
fi
7988
8595
 
7989
8596
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7990
8597
          # Warning - without using the other run time loading flags,
7991
8598
          # -berok will link without error, but may produce a broken library.
7992
8599
          no_undefined_flag=' ${wl}-bernotok'
7993
8600
          allow_undefined_flag=' ${wl}-berok'
7994
 
          # Exported symbols can be pulled into shared objects from archives
7995
 
          whole_archive_flag_spec='$convenience'
 
8601
          if test "$with_gnu_ld" = yes; then
 
8602
            # We only use this code for GNU lds that support --whole-archive.
 
8603
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
8604
          else
 
8605
            # Exported symbols can be pulled into shared objects from archives
 
8606
            whole_archive_flag_spec='$convenience'
 
8607
          fi
7996
8608
          archive_cmds_need_lc=yes
7997
8609
          # This is similar to how AIX traditionally builds its shared libraries.
7998
8610
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8024
8636
      # Microsoft Visual C++.
8025
8637
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8026
8638
      # no search path for DLLs.
8027
 
      hardcode_libdir_flag_spec=' '
8028
 
      allow_undefined_flag=unsupported
8029
 
      # Tell ltmain to make .lib files, not .a files.
8030
 
      libext=lib
8031
 
      # Tell ltmain to make .dll files, not .so files.
8032
 
      shrext_cmds=".dll"
8033
 
      # FIXME: Setting linknames here is a bad hack.
8034
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8035
 
      # The linker will automatically build a .lib file if we build a DLL.
8036
 
      old_archive_from_new_cmds='true'
8037
 
      # FIXME: Should let the user specify the lib program.
8038
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8039
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8040
 
      enable_shared_with_static_runtimes=yes
 
8639
      case $cc_basename in
 
8640
      cl*)
 
8641
        # Native MSVC
 
8642
        hardcode_libdir_flag_spec=' '
 
8643
        allow_undefined_flag=unsupported
 
8644
        always_export_symbols=yes
 
8645
        file_list_spec='@'
 
8646
        # Tell ltmain to make .lib files, not .a files.
 
8647
        libext=lib
 
8648
        # Tell ltmain to make .dll files, not .so files.
 
8649
        shrext_cmds=".dll"
 
8650
        # FIXME: Setting linknames here is a bad hack.
 
8651
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
8652
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8653
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
8654
          else
 
8655
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
8656
          fi~
 
8657
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
8658
          linknames='
 
8659
        # The linker will not automatically build a static lib if we build a DLL.
 
8660
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
8661
        enable_shared_with_static_runtimes=yes
 
8662
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8663
        # Don't use ranlib
 
8664
        old_postinstall_cmds='chmod 644 $oldlib'
 
8665
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
8666
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
8667
          case $lt_outputfile in
 
8668
            *.exe|*.EXE) ;;
 
8669
            *)
 
8670
              lt_outputfile="$lt_outputfile.exe"
 
8671
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
8672
              ;;
 
8673
          esac~
 
8674
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
8675
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
8676
            $RM "$lt_outputfile.manifest";
 
8677
          fi'
 
8678
        ;;
 
8679
      *)
 
8680
        # Assume MSVC wrapper
 
8681
        hardcode_libdir_flag_spec=' '
 
8682
        allow_undefined_flag=unsupported
 
8683
        # Tell ltmain to make .lib files, not .a files.
 
8684
        libext=lib
 
8685
        # Tell ltmain to make .dll files, not .so files.
 
8686
        shrext_cmds=".dll"
 
8687
        # FIXME: Setting linknames here is a bad hack.
 
8688
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
8689
        # The linker will automatically build a .lib file if we build a DLL.
 
8690
        old_archive_from_new_cmds='true'
 
8691
        # FIXME: Should let the user specify the lib program.
 
8692
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
8693
        enable_shared_with_static_runtimes=yes
 
8694
        ;;
 
8695
      esac
8041
8696
      ;;
8042
8697
 
8043
8698
    darwin* | rhapsody*)
8047
8702
  hardcode_direct=no
8048
8703
  hardcode_automatic=yes
8049
8704
  hardcode_shlibpath_var=unsupported
8050
 
  whole_archive_flag_spec=''
 
8705
  if test "$lt_cv_ld_force_load" = "yes"; then
 
8706
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
8707
  else
 
8708
    whole_archive_flag_spec=''
 
8709
  fi
8051
8710
  link_all_deplibs=yes
8052
8711
  allow_undefined_flag="$_lt_dar_allow_undefined"
8053
8712
  case $cc_basename in
8055
8714
     *) _lt_dar_can_shared=$GCC ;;
8056
8715
  esac
8057
8716
  if test "$_lt_dar_can_shared" = "yes"; then
8058
 
    output_verbose_link_cmd=echo
 
8717
    output_verbose_link_cmd=func_echo_all
8059
8718
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8060
8719
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8061
8720
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8098
8757
 
8099
8758
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8100
8759
    freebsd* | dragonfly*)
8101
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
8760
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8102
8761
      hardcode_libdir_flag_spec='-R$libdir'
8103
8762
      hardcode_direct=yes
8104
8763
      hardcode_shlibpath_var=no
8106
8765
 
8107
8766
    hpux9*)
8108
8767
      if test "$GCC" = yes; then
8109
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
8768
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8110
8769
      else
8111
8770
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8112
8771
      fi
8121
8780
      ;;
8122
8781
 
8123
8782
    hpux10*)
8124
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8125
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8783
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
8784
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8126
8785
      else
8127
8786
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8128
8787
      fi
8140
8799
      ;;
8141
8800
 
8142
8801
    hpux11*)
8143
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8802
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8144
8803
        case $host_cpu in
8145
8804
        hppa*64*)
8146
8805
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8147
8806
          ;;
8148
8807
        ia64*)
8149
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8808
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8150
8809
          ;;
8151
8810
        *)
8152
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8811
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8153
8812
          ;;
8154
8813
        esac
8155
8814
      else
8161
8820
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8162
8821
          ;;
8163
8822
        *)
8164
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8823
 
 
8824
          # Older versions of the 11.00 compiler do not understand -b yet
 
8825
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
8826
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
8827
$as_echo_n "checking if $CC understands -b... " >&6; }
 
8828
if ${lt_cv_prog_compiler__b+:} false; then :
 
8829
  $as_echo_n "(cached) " >&6
 
8830
else
 
8831
  lt_cv_prog_compiler__b=no
 
8832
   save_LDFLAGS="$LDFLAGS"
 
8833
   LDFLAGS="$LDFLAGS -b"
 
8834
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8835
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8836
     # The linker can only warn and ignore the option if not recognized
 
8837
     # So say no if there are warnings
 
8838
     if test -s conftest.err; then
 
8839
       # Append any errors to the config.log.
 
8840
       cat conftest.err 1>&5
 
8841
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
8842
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8843
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8844
         lt_cv_prog_compiler__b=yes
 
8845
       fi
 
8846
     else
 
8847
       lt_cv_prog_compiler__b=yes
 
8848
     fi
 
8849
   fi
 
8850
   $RM -r conftest*
 
8851
   LDFLAGS="$save_LDFLAGS"
 
8852
 
 
8853
fi
 
8854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
8855
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
8856
 
 
8857
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
8858
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8859
else
 
8860
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8861
fi
 
8862
 
8165
8863
          ;;
8166
8864
        esac
8167
8865
      fi
8189
8887
 
8190
8888
    irix5* | irix6* | nonstopux*)
8191
8889
      if test "$GCC" = yes; then
8192
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
8890
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8193
8891
        # Try to use the -exported_symbol ld option, if it does not
8194
8892
        # work, assume that -exports_file does not work either and
8195
8893
        # implicitly export all symbols.
8196
 
        save_LDFLAGS="$LDFLAGS"
8197
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8198
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8894
        # This should be the same for all languages, so no per-tag cache variable.
 
8895
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
8896
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
8897
if ${lt_cv_irix_exported_symbol+:} false; then :
 
8898
  $as_echo_n "(cached) " >&6
 
8899
else
 
8900
  save_LDFLAGS="$LDFLAGS"
 
8901
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8902
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8199
8903
/* end confdefs.h.  */
8200
 
int foo(void) {}
 
8904
int foo (void) { return 0; }
8201
8905
_ACEOF
8202
8906
if ac_fn_c_try_link "$LINENO"; then :
8203
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8204
 
 
 
8907
  lt_cv_irix_exported_symbol=yes
 
8908
else
 
8909
  lt_cv_irix_exported_symbol=no
8205
8910
fi
8206
8911
rm -f core conftest.err conftest.$ac_objext \
8207
8912
    conftest$ac_exeext conftest.$ac_ext
8208
 
        LDFLAGS="$save_LDFLAGS"
 
8913
           LDFLAGS="$save_LDFLAGS"
 
8914
fi
 
8915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
8916
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
8917
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
8918
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
8919
        fi
8209
8920
      else
8210
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8211
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
8921
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
8922
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8212
8923
      fi
8213
8924
      archive_cmds_need_lc='no'
8214
8925
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8217
8928
      link_all_deplibs=yes
8218
8929
      ;;
8219
8930
 
8220
 
    netbsd* | netbsdelf*-gnu)
 
8931
    netbsd*)
8221
8932
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8222
8933
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8223
8934
      else
8270
8981
      hardcode_libdir_flag_spec='-L$libdir'
8271
8982
      hardcode_minus_L=yes
8272
8983
      allow_undefined_flag=unsupported
8273
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
8984
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8274
8985
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8275
8986
      ;;
8276
8987
 
8277
8988
    osf3*)
8278
8989
      if test "$GCC" = yes; then
8279
8990
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8280
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
8991
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8281
8992
      else
8282
8993
        allow_undefined_flag=' -expect_unresolved \*'
8283
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
8994
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8284
8995
      fi
8285
8996
      archive_cmds_need_lc='no'
8286
8997
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8290
9001
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8291
9002
      if test "$GCC" = yes; then
8292
9003
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8293
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9004
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8294
9005
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8295
9006
      else
8296
9007
        allow_undefined_flag=' -expect_unresolved \*'
8297
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9008
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8298
9009
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8299
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
9010
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8300
9011
 
8301
9012
        # Both c and cxx compiler support -rpath directly
8302
9013
        hardcode_libdir_flag_spec='-rpath $libdir'
8309
9020
      no_undefined_flag=' -z defs'
8310
9021
      if test "$GCC" = yes; then
8311
9022
        wlarc='${wl}'
8312
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9023
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8313
9024
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8314
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9025
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8315
9026
      else
8316
9027
        case `$CC -V 2>&1` in
8317
9028
        *"Compilers 5.0"*)
8499
9210
      # to ld, don't add -lc before -lgcc.
8500
9211
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8501
9212
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8502
 
      $RM conftest*
8503
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9213
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9214
  $as_echo_n "(cached) " >&6
 
9215
else
 
9216
  $RM conftest*
 
9217
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8504
9218
 
8505
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9219
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8506
9220
  (eval $ac_compile) 2>&5
8507
9221
  ac_status=$?
8508
9222
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8509
9223
  test $ac_status = 0; } 2>conftest.err; then
8510
 
        soname=conftest
8511
 
        lib=conftest
8512
 
        libobjs=conftest.$ac_objext
8513
 
        deplibs=
8514
 
        wl=$lt_prog_compiler_wl
8515
 
        pic_flag=$lt_prog_compiler_pic
8516
 
        compiler_flags=-v
8517
 
        linker_flags=-v
8518
 
        verstring=
8519
 
        output_objdir=.
8520
 
        libname=conftest
8521
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8522
 
        allow_undefined_flag=
8523
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9224
          soname=conftest
 
9225
          lib=conftest
 
9226
          libobjs=conftest.$ac_objext
 
9227
          deplibs=
 
9228
          wl=$lt_prog_compiler_wl
 
9229
          pic_flag=$lt_prog_compiler_pic
 
9230
          compiler_flags=-v
 
9231
          linker_flags=-v
 
9232
          verstring=
 
9233
          output_objdir=.
 
9234
          libname=conftest
 
9235
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9236
          allow_undefined_flag=
 
9237
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8524
9238
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8525
9239
  ac_status=$?
8526
9240
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8527
9241
  test $ac_status = 0; }
8528
 
        then
8529
 
          archive_cmds_need_lc=no
8530
 
        else
8531
 
          archive_cmds_need_lc=yes
8532
 
        fi
8533
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8534
 
      else
8535
 
        cat conftest.err 1>&5
8536
 
      fi
8537
 
      $RM conftest*
8538
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8539
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9242
          then
 
9243
            lt_cv_archive_cmds_need_lc=no
 
9244
          else
 
9245
            lt_cv_archive_cmds_need_lc=yes
 
9246
          fi
 
9247
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9248
        else
 
9249
          cat conftest.err 1>&5
 
9250
        fi
 
9251
        $RM conftest*
 
9252
 
 
9253
fi
 
9254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9255
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9256
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
8540
9257
      ;;
8541
9258
    esac
8542
9259
  fi
8707
9424
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8708
9425
    *) lt_awk_arg="/^libraries:/" ;;
8709
9426
  esac
8710
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8711
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9427
  case $host_os in
 
9428
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
9429
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
9430
  esac
 
9431
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
9432
  case $lt_search_path_spec in
 
9433
  *\;*)
8712
9434
    # if the path contains ";" then we assume it to be the separator
8713
9435
    # otherwise default to the standard path separator (i.e. ":") - it is
8714
9436
    # assumed that no part of a normal pathname contains ";" but that should
8715
9437
    # okay in the real world where ";" in dirpaths is itself problematic.
8716
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8717
 
  else
8718
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8719
 
  fi
 
9438
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
9439
    ;;
 
9440
  *)
 
9441
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
9442
    ;;
 
9443
  esac
8720
9444
  # Ok, now we have the path, separated by spaces, we can step through it
8721
9445
  # and add multilib dir if necessary.
8722
9446
  lt_tmp_lt_search_path_spec=
8729
9453
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8730
9454
    fi
8731
9455
  done
8732
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9456
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
8733
9457
BEGIN {RS=" "; FS="/|\n";} {
8734
9458
  lt_foo="";
8735
9459
  lt_count=0;
8749
9473
  if (lt_foo != "") { lt_freq[lt_foo]++; }
8750
9474
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
8751
9475
}'`
8752
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9476
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
9477
  # for these hosts.
 
9478
  case $host_os in
 
9479
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
9480
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
9481
  esac
 
9482
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
8753
9483
else
8754
9484
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8755
9485
fi
8837
9567
  m68k)
8838
9568
    library_names_spec='$libname.ixlibrary $libname.a'
8839
9569
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
8840
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
9570
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8841
9571
    ;;
8842
9572
  esac
8843
9573
  ;;
8868
9598
  need_version=no
8869
9599
  need_lib_prefix=no
8870
9600
 
8871
 
  case $GCC,$host_os in
8872
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
9601
  case $GCC,$cc_basename in
 
9602
  yes,*)
 
9603
    # gcc
8873
9604
    library_names_spec='$libname.dll.a'
8874
9605
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8875
9606
    postinstall_cmds='base_file=`basename \${file}`~
8890
9621
    cygwin*)
8891
9622
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8892
9623
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8893
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
9624
 
 
9625
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
8894
9626
      ;;
8895
9627
    mingw* | cegcc*)
8896
9628
      # MinGW DLLs use traditional 'lib' prefix
8897
9629
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8898
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8899
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8900
 
        # It is most probably a Windows format PATH printed by
8901
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8902
 
        # path with ; separators, and with drive letters. We can handle the
8903
 
        # drive letters (cygwin fileutils understands them), so leave them,
8904
 
        # especially as we might pass files found there to a mingw objdump,
8905
 
        # which wouldn't understand a cygwinified path. Ahh.
8906
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8907
 
      else
8908
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8909
 
      fi
8910
9630
      ;;
8911
9631
    pw32*)
8912
9632
      # pw32 DLLs use 'pw' prefix rather than 'lib'
8913
9633
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8914
9634
      ;;
8915
9635
    esac
 
9636
    dynamic_linker='Win32 ld.exe'
 
9637
    ;;
 
9638
 
 
9639
  *,cl*)
 
9640
    # Native MSVC
 
9641
    libname_spec='$name'
 
9642
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9643
    library_names_spec='${libname}.dll.lib'
 
9644
 
 
9645
    case $build_os in
 
9646
    mingw*)
 
9647
      sys_lib_search_path_spec=
 
9648
      lt_save_ifs=$IFS
 
9649
      IFS=';'
 
9650
      for lt_path in $LIB
 
9651
      do
 
9652
        IFS=$lt_save_ifs
 
9653
        # Let DOS variable expansion print the short 8.3 style file name.
 
9654
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
9655
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
9656
      done
 
9657
      IFS=$lt_save_ifs
 
9658
      # Convert to MSYS style.
 
9659
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
9660
      ;;
 
9661
    cygwin*)
 
9662
      # Convert to unix form, then to dos form, then back to unix form
 
9663
      # but this time dos style (no spaces!) so that the unix form looks
 
9664
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
9665
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
9666
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
9667
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
9668
      ;;
 
9669
    *)
 
9670
      sys_lib_search_path_spec="$LIB"
 
9671
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
9672
        # It is most probably a Windows format PATH.
 
9673
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9674
      else
 
9675
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
9676
      fi
 
9677
      # FIXME: find the short name or the path components, as spaces are
 
9678
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
9679
      ;;
 
9680
    esac
 
9681
 
 
9682
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
9683
    postinstall_cmds='base_file=`basename \${file}`~
 
9684
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
9685
      dldir=$destdir/`dirname \$dlpath`~
 
9686
      test -d \$dldir || mkdir -p \$dldir~
 
9687
      $install_prog $dir/$dlname \$dldir/$dlname'
 
9688
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
9689
      dlpath=$dir/\$dldll~
 
9690
       $RM \$dlpath'
 
9691
    shlibpath_overrides_runpath=yes
 
9692
    dynamic_linker='Win32 link.exe'
8916
9693
    ;;
8917
9694
 
8918
9695
  *)
 
9696
    # Assume MSVC wrapper
8919
9697
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
9698
    dynamic_linker='Win32 ld.exe'
8920
9699
    ;;
8921
9700
  esac
8922
 
  dynamic_linker='Win32 ld.exe'
8923
9701
  # FIXME: first we should search . and the directory the executable is in
8924
9702
  shlibpath_var=PATH
8925
9703
  ;;
9006
9784
  hardcode_into_libs=yes
9007
9785
  ;;
9008
9786
 
 
9787
haiku*)
 
9788
  version_type=linux
 
9789
  need_lib_prefix=no
 
9790
  need_version=no
 
9791
  dynamic_linker="$host_os runtime_loader"
 
9792
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
9793
  soname_spec='${libname}${release}${shared_ext}$major'
 
9794
  shlibpath_var=LIBRARY_PATH
 
9795
  shlibpath_overrides_runpath=yes
 
9796
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
9797
  hardcode_into_libs=yes
 
9798
  ;;
 
9799
 
9009
9800
hpux9* | hpux10* | hpux11*)
9010
9801
  # Give a soname corresponding to the major version so that dld.sl refuses to
9011
9802
  # link against other versions.
9048
9839
    soname_spec='${libname}${release}${shared_ext}$major'
9049
9840
    ;;
9050
9841
  esac
9051
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
9842
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9052
9843
  postinstall_cmds='chmod 555 $lib'
 
9844
  # or fails outright, so override atomically:
 
9845
  install_override_mode=555
9053
9846
  ;;
9054
9847
 
9055
9848
interix[3-9]*)
9107
9900
  ;;
9108
9901
 
9109
9902
# This must be Linux ELF.
9110
 
linux* | k*bsd*-gnu)
 
9903
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9111
9904
  version_type=linux
9112
9905
  need_lib_prefix=no
9113
9906
  need_version=no
9116
9909
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9117
9910
  shlibpath_var=LD_LIBRARY_PATH
9118
9911
  shlibpath_overrides_runpath=no
 
9912
 
9119
9913
  # Some binutils ld are patched to set DT_RUNPATH
9120
 
  save_LDFLAGS=$LDFLAGS
9121
 
  save_libdir=$libdir
9122
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9123
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9124
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9914
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
9915
  $as_echo_n "(cached) " >&6
 
9916
else
 
9917
  lt_cv_shlibpath_overrides_runpath=no
 
9918
    save_LDFLAGS=$LDFLAGS
 
9919
    save_libdir=$libdir
 
9920
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9921
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9922
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9125
9923
/* end confdefs.h.  */
9126
9924
 
9127
9925
int
9134
9932
_ACEOF
9135
9933
if ac_fn_c_try_link "$LINENO"; then :
9136
9934
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9137
 
  shlibpath_overrides_runpath=yes
 
9935
  lt_cv_shlibpath_overrides_runpath=yes
9138
9936
fi
9139
9937
fi
9140
9938
rm -f core conftest.err conftest.$ac_objext \
9141
9939
    conftest$ac_exeext conftest.$ac_ext
9142
 
  LDFLAGS=$save_LDFLAGS
9143
 
  libdir=$save_libdir
 
9940
    LDFLAGS=$save_LDFLAGS
 
9941
    libdir=$save_libdir
 
9942
 
 
9943
fi
 
9944
 
 
9945
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9144
9946
 
9145
9947
  # This implies no fast_install, which is unacceptable.
9146
9948
  # Some rework will be needed to allow for fast_install
9147
9949
  # before this can be enabled.
9148
9950
  hardcode_into_libs=yes
9149
9951
 
 
9952
  # Add ABI-specific directories to the system library path.
 
9953
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
9954
 
9150
9955
  # Append ld.so.conf contents to the search path
9151
9956
  if test -f /etc/ld.so.conf; then
9152
 
    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' ' '`
9153
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
9957
    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;s/"//g;/^$/d' | tr '\n' ' '`
 
9958
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
9959
 
9154
9960
  fi
9155
9961
 
9156
9962
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9162
9968
  dynamic_linker='GNU/Linux ld.so'
9163
9969
  ;;
9164
9970
 
9165
 
netbsdelf*-gnu)
9166
 
  version_type=linux
9167
 
  need_lib_prefix=no
9168
 
  need_version=no
9169
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9170
 
  soname_spec='${libname}${release}${shared_ext}$major'
9171
 
  shlibpath_var=LD_LIBRARY_PATH
9172
 
  shlibpath_overrides_runpath=no
9173
 
  hardcode_into_libs=yes
9174
 
  dynamic_linker='NetBSD ld.elf_so'
9175
 
  ;;
9176
 
 
9177
9971
netbsd*)
9178
9972
  version_type=sunos
9179
9973
  need_lib_prefix=no
9464
10258
 
9465
10259
 
9466
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
9467
10266
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9468
10267
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9469
10268
hardcode_action=
9536
10335
  # if libdl is installed we need to link against it
9537
10336
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9538
10337
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9539
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10338
if ${ac_cv_lib_dl_dlopen+:} false; then :
9540
10339
  $as_echo_n "(cached) " >&6
9541
10340
else
9542
10341
  ac_check_lib_save_LIBS=$LIBS
9570
10369
fi
9571
10370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9572
10371
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9573
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10372
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
9574
10373
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9575
10374
else
9576
10375
 
9584
10383
 
9585
10384
  *)
9586
10385
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9587
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
10386
if test "x$ac_cv_func_shl_load" = xyes; then :
9588
10387
  lt_cv_dlopen="shl_load"
9589
10388
else
9590
10389
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9591
10390
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9592
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
10391
if ${ac_cv_lib_dld_shl_load+:} false; then :
9593
10392
  $as_echo_n "(cached) " >&6
9594
10393
else
9595
10394
  ac_check_lib_save_LIBS=$LIBS
9623
10422
fi
9624
10423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9625
10424
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9626
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
10425
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
9627
10426
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9628
10427
else
9629
10428
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
9630
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
10429
if test "x$ac_cv_func_dlopen" = xyes; then :
9631
10430
  lt_cv_dlopen="dlopen"
9632
10431
else
9633
10432
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9634
10433
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9635
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10434
if ${ac_cv_lib_dl_dlopen+:} false; then :
9636
10435
  $as_echo_n "(cached) " >&6
9637
10436
else
9638
10437
  ac_check_lib_save_LIBS=$LIBS
9666
10465
fi
9667
10466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9668
10467
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9669
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10468
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
9670
10469
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9671
10470
else
9672
10471
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9673
10472
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9674
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
10473
if ${ac_cv_lib_svld_dlopen+:} false; then :
9675
10474
  $as_echo_n "(cached) " >&6
9676
10475
else
9677
10476
  ac_check_lib_save_LIBS=$LIBS
9705
10504
fi
9706
10505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9707
10506
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9708
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
10507
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
9709
10508
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9710
10509
else
9711
10510
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9712
10511
$as_echo_n "checking for dld_link in -ldld... " >&6; }
9713
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
10512
if ${ac_cv_lib_dld_dld_link+:} false; then :
9714
10513
  $as_echo_n "(cached) " >&6
9715
10514
else
9716
10515
  ac_check_lib_save_LIBS=$LIBS
9744
10543
fi
9745
10544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9746
10545
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9747
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
10546
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
9748
10547
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9749
10548
fi
9750
10549
 
9785
10584
 
9786
10585
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9787
10586
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
9788
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
10587
if ${lt_cv_dlopen_self+:} false; then :
9789
10588
  $as_echo_n "(cached) " >&6
9790
10589
else
9791
10590
          if test "$cross_compiling" = yes; then :
9794
10593
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9795
10594
  lt_status=$lt_dlunknown
9796
10595
  cat > conftest.$ac_ext <<_LT_EOF
9797
 
#line 9797 "configure"
 
10596
#line $LINENO "configure"
9798
10597
#include "confdefs.h"
9799
10598
 
9800
10599
#if HAVE_DLFCN_H
9835
10634
#  endif
9836
10635
#endif
9837
10636
 
9838
 
void fnord() { int i=42;}
 
10637
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10638
   correspondingly for the symbols needed.  */
 
10639
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10640
int fnord () __attribute__((visibility("default")));
 
10641
#endif
 
10642
 
 
10643
int fnord () { return 42; }
9839
10644
int main ()
9840
10645
{
9841
10646
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9844
10649
  if (self)
9845
10650
    {
9846
10651
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9847
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10652
      else
 
10653
        {
 
10654
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10655
          else puts (dlerror ());
 
10656
        }
9848
10657
      /* dlclose (self); */
9849
10658
    }
9850
10659
  else
9881
10690
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9882
10691
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9883
10692
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9884
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
10693
if ${lt_cv_dlopen_self_static+:} false; then :
9885
10694
  $as_echo_n "(cached) " >&6
9886
10695
else
9887
10696
          if test "$cross_compiling" = yes; then :
9890
10699
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9891
10700
  lt_status=$lt_dlunknown
9892
10701
  cat > conftest.$ac_ext <<_LT_EOF
9893
 
#line 9893 "configure"
 
10702
#line $LINENO "configure"
9894
10703
#include "confdefs.h"
9895
10704
 
9896
10705
#if HAVE_DLFCN_H
9931
10740
#  endif
9932
10741
#endif
9933
10742
 
9934
 
void fnord() { int i=42;}
 
10743
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10744
   correspondingly for the symbols needed.  */
 
10745
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10746
int fnord () __attribute__((visibility("default")));
 
10747
#endif
 
10748
 
 
10749
int fnord () { return 42; }
9935
10750
int main ()
9936
10751
{
9937
10752
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9940
10755
  if (self)
9941
10756
    {
9942
10757
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9943
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10758
      else
 
10759
        {
 
10760
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10761
          else puts (dlerror ());
 
10762
        }
9944
10763
      /* dlclose (self); */
9945
10764
    }
9946
10765
  else
10117
10936
# Only expand once:
10118
10937
 
10119
10938
 
10120
 
 
10121
 
 
10122
10939
ac_ext=cpp
10123
10940
ac_cpp='$CXXCPP $CPPFLAGS'
10124
10941
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10135
10952
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10136
10953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10137
10954
$as_echo_n "checking for $ac_word... " >&6; }
10138
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
10955
if ${ac_cv_prog_CXX+:} false; then :
10139
10956
  $as_echo_n "(cached) " >&6
10140
10957
else
10141
10958
  if test -n "$CXX"; then
10179
10996
set dummy $ac_prog; ac_word=$2
10180
10997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10181
10998
$as_echo_n "checking for $ac_word... " >&6; }
10182
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
10999
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
10183
11000
  $as_echo_n "(cached) " >&6
10184
11001
else
10185
11002
  if test -n "$ac_ct_CXX"; then
10257
11074
 
10258
11075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10259
11076
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10260
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
11077
if ${ac_cv_cxx_compiler_gnu+:} false; then :
10261
11078
  $as_echo_n "(cached) " >&6
10262
11079
else
10263
11080
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294
11111
ac_save_CXXFLAGS=$CXXFLAGS
10295
11112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10296
11113
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
10297
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
11114
if ${ac_cv_prog_cxx_g+:} false; then :
10298
11115
  $as_echo_n "(cached) " >&6
10299
11116
else
10300
11117
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10376
11193
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10377
11194
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10378
11195
 
10379
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11196
 
 
11197
 
 
11198
 
 
11199
func_stripname_cnf ()
 
11200
{
 
11201
  case ${2} in
 
11202
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
11203
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
11204
  esac
 
11205
} # func_stripname_cnf
 
11206
 
 
11207
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10380
11208
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10381
11209
    (test "X$CXX" != "Xg++"))) ; then
10382
11210
  ac_ext=cpp
10387
11215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10388
11216
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10389
11217
if test -z "$CXXCPP"; then
10390
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
11218
  if ${ac_cv_prog_CXXCPP+:} false; then :
10391
11219
  $as_echo_n "(cached) " >&6
10392
11220
else
10393
11221
      # Double quotes because CXXCPP needs to be expanded
10502
11330
else
10503
11331
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10504
11332
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10505
 
_lt_caught_CXX_error=yes; }
 
11333
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
11334
See \`config.log' for more details" "$LINENO" 5; }
10506
11335
fi
10507
11336
 
10508
11337
ac_ext=c
10515
11344
  _lt_caught_CXX_error=yes
10516
11345
fi
10517
11346
 
10518
 
 
10519
 
 
10520
 
 
10521
11347
ac_ext=cpp
10522
11348
ac_cpp='$CXXCPP $CPPFLAGS'
10523
11349
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10543
11369
module_expsym_cmds_CXX=
10544
11370
link_all_deplibs_CXX=unknown
10545
11371
old_archive_cmds_CXX=$old_archive_cmds
 
11372
reload_flag_CXX=$reload_flag
 
11373
reload_cmds_CXX=$reload_cmds
10546
11374
no_undefined_flag_CXX=
10547
11375
whole_archive_flag_spec_CXX=
10548
11376
enable_shared_with_static_runtimes_CXX=no
10598
11426
 
10599
11427
  # Allow CC to be a program name with arguments.
10600
11428
  lt_save_CC=$CC
 
11429
  lt_save_CFLAGS=$CFLAGS
10601
11430
  lt_save_LD=$LD
10602
11431
  lt_save_GCC=$GCC
10603
11432
  GCC=$GXX
10615
11444
  fi
10616
11445
  test -z "${LDCXX+set}" || LD=$LDCXX
10617
11446
  CC=${CXX-"c++"}
 
11447
  CFLAGS=$CXXFLAGS
10618
11448
  compiler=$CC
10619
11449
  compiler_CXX=$CC
10620
11450
  for cc_temp in $compiler""; do
10625
11455
    *) break;;
10626
11456
  esac
10627
11457
done
10628
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11458
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10629
11459
 
10630
11460
 
10631
11461
  if test -n "$compiler"; then
10688
11518
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10689
11519
$as_echo_n "checking for non-GNU ld... " >&6; }
10690
11520
fi
10691
 
if test "${lt_cv_path_LD+set}" = set; then :
 
11521
if ${lt_cv_path_LD+:} false; then :
10692
11522
  $as_echo_n "(cached) " >&6
10693
11523
else
10694
11524
  if test -z "$LD"; then
10728
11558
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
10729
11559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
10730
11560
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10731
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
11561
if ${lt_cv_prog_gnu_ld+:} false; then :
10732
11562
  $as_echo_n "(cached) " >&6
10733
11563
else
10734
11564
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10754
11584
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
10755
11585
      # archiving commands below assume that GNU ld is being used.
10756
11586
      if test "$with_gnu_ld" = yes; then
10757
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10758
 
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11587
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11588
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10759
11589
 
10760
11590
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10761
11591
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10787
11617
      # Commands to make compiler produce verbose output that lists
10788
11618
      # what "hidden" libraries, object files and flags are used when
10789
11619
      # linking a shared library.
10790
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
11620
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
10791
11621
 
10792
11622
    else
10793
11623
      GXX=no
10897
11727
          allow_undefined_flag_CXX='-berok'
10898
11728
          # Determine the default libpath from the value encoded in an empty
10899
11729
          # executable.
10900
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11730
          if test "${lt_cv_aix_libpath+set}" = set; then
 
11731
  aix_libpath=$lt_cv_aix_libpath
 
11732
else
 
11733
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
11734
  $as_echo_n "(cached) " >&6
 
11735
else
 
11736
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901
11737
/* end confdefs.h.  */
10902
11738
 
10903
11739
int
10910
11746
_ACEOF
10911
11747
if ac_fn_cxx_try_link "$LINENO"; then :
10912
11748
 
10913
 
lt_aix_libpath_sed='
10914
 
    /Import File Strings/,/^$/ {
10915
 
        /^0/ {
10916
 
            s/^0  *\(.*\)$/\1/
10917
 
            p
10918
 
        }
10919
 
    }'
10920
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10921
 
# Check for a 64-bit object if we didn't find anything.
10922
 
if test -z "$aix_libpath"; then
10923
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10924
 
fi
 
11749
  lt_aix_libpath_sed='
 
11750
      /Import File Strings/,/^$/ {
 
11751
          /^0/ {
 
11752
              s/^0  *\([^ ]*\) *$/\1/
 
11753
              p
 
11754
          }
 
11755
      }'
 
11756
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11757
  # Check for a 64-bit object if we didn't find anything.
 
11758
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
11759
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11760
  fi
10925
11761
fi
10926
11762
rm -f core conftest.err conftest.$ac_objext \
10927
11763
    conftest$ac_exeext conftest.$ac_ext
10928
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
11764
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
11765
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
11766
  fi
 
11767
 
 
11768
fi
 
11769
 
 
11770
  aix_libpath=$lt_cv_aix_libpath__CXX
 
11771
fi
10929
11772
 
10930
11773
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10931
11774
 
10932
 
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
11775
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10933
11776
        else
10934
11777
          if test "$host_cpu" = ia64; then
10935
11778
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10938
11781
          else
10939
11782
            # Determine the default libpath from the value encoded in an
10940
11783
            # empty executable.
10941
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11784
            if test "${lt_cv_aix_libpath+set}" = set; then
 
11785
  aix_libpath=$lt_cv_aix_libpath
 
11786
else
 
11787
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
11788
  $as_echo_n "(cached) " >&6
 
11789
else
 
11790
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942
11791
/* end confdefs.h.  */
10943
11792
 
10944
11793
int
10951
11800
_ACEOF
10952
11801
if ac_fn_cxx_try_link "$LINENO"; then :
10953
11802
 
10954
 
lt_aix_libpath_sed='
10955
 
    /Import File Strings/,/^$/ {
10956
 
        /^0/ {
10957
 
            s/^0  *\(.*\)$/\1/
10958
 
            p
10959
 
        }
10960
 
    }'
10961
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10962
 
# Check for a 64-bit object if we didn't find anything.
10963
 
if test -z "$aix_libpath"; then
10964
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10965
 
fi
 
11803
  lt_aix_libpath_sed='
 
11804
      /Import File Strings/,/^$/ {
 
11805
          /^0/ {
 
11806
              s/^0  *\([^ ]*\) *$/\1/
 
11807
              p
 
11808
          }
 
11809
      }'
 
11810
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11811
  # Check for a 64-bit object if we didn't find anything.
 
11812
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
11813
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11814
  fi
10966
11815
fi
10967
11816
rm -f core conftest.err conftest.$ac_objext \
10968
11817
    conftest$ac_exeext conftest.$ac_ext
10969
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
11818
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
11819
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
11820
  fi
 
11821
 
 
11822
fi
 
11823
 
 
11824
  aix_libpath=$lt_cv_aix_libpath__CXX
 
11825
fi
10970
11826
 
10971
11827
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10972
11828
            # Warning - without using the other run time loading flags,
10973
11829
            # -berok will link without error, but may produce a broken library.
10974
11830
            no_undefined_flag_CXX=' ${wl}-bernotok'
10975
11831
            allow_undefined_flag_CXX=' ${wl}-berok'
10976
 
            # Exported symbols can be pulled into shared objects from archives
10977
 
            whole_archive_flag_spec_CXX='$convenience'
 
11832
            if test "$with_gnu_ld" = yes; then
 
11833
              # We only use this code for GNU lds that support --whole-archive.
 
11834
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
11835
            else
 
11836
              # Exported symbols can be pulled into shared objects from archives
 
11837
              whole_archive_flag_spec_CXX='$convenience'
 
11838
            fi
10978
11839
            archive_cmds_need_lc_CXX=yes
10979
11840
            # This is similar to how AIX traditionally builds its shared
10980
11841
            # libraries.
11004
11865
        ;;
11005
11866
 
11006
11867
      cygwin* | mingw* | pw32* | cegcc*)
11007
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11008
 
        # as there is no search path for DLLs.
11009
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
11010
 
        allow_undefined_flag_CXX=unsupported
11011
 
        always_export_symbols_CXX=no
11012
 
        enable_shared_with_static_runtimes_CXX=yes
 
11868
        case $GXX,$cc_basename in
 
11869
        ,cl* | no,cl*)
 
11870
          # Native MSVC
 
11871
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
11872
          # no search path for DLLs.
 
11873
          hardcode_libdir_flag_spec_CXX=' '
 
11874
          allow_undefined_flag_CXX=unsupported
 
11875
          always_export_symbols_CXX=yes
 
11876
          file_list_spec_CXX='@'
 
11877
          # Tell ltmain to make .lib files, not .a files.
 
11878
          libext=lib
 
11879
          # Tell ltmain to make .dll files, not .so files.
 
11880
          shrext_cmds=".dll"
 
11881
          # FIXME: Setting linknames here is a bad hack.
 
11882
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
11883
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
11884
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
11885
            else
 
11886
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
11887
            fi~
 
11888
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
11889
            linknames='
 
11890
          # The linker will not automatically build a static lib if we build a DLL.
 
11891
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
11892
          enable_shared_with_static_runtimes_CXX=yes
 
11893
          # Don't use ranlib
 
11894
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
11895
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
11896
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
11897
            case $lt_outputfile in
 
11898
              *.exe|*.EXE) ;;
 
11899
              *)
 
11900
                lt_outputfile="$lt_outputfile.exe"
 
11901
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
11902
                ;;
 
11903
            esac~
 
11904
            func_to_tool_file "$lt_outputfile"~
 
11905
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
11906
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
11907
              $RM "$lt_outputfile.manifest";
 
11908
            fi'
 
11909
          ;;
 
11910
        *)
 
11911
          # g++
 
11912
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
11913
          # as there is no search path for DLLs.
 
11914
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
11915
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
11916
          allow_undefined_flag_CXX=unsupported
 
11917
          always_export_symbols_CXX=no
 
11918
          enable_shared_with_static_runtimes_CXX=yes
11013
11919
 
11014
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11015
 
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11016
 
          # If the export-symbols file already is a .def file (1st line
11017
 
          # is EXPORTS), use it as is; otherwise, prepend...
11018
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11019
 
            cp $export_symbols $output_objdir/$soname.def;
11020
 
          else
11021
 
            echo EXPORTS > $output_objdir/$soname.def;
11022
 
            cat $export_symbols >> $output_objdir/$soname.def;
11023
 
          fi~
11024
 
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11025
 
        else
11026
 
          ld_shlibs_CXX=no
11027
 
        fi
11028
 
        ;;
 
11920
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
11921
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
11922
            # If the export-symbols file already is a .def file (1st line
 
11923
            # is EXPORTS), use it as is; otherwise, prepend...
 
11924
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
11925
              cp $export_symbols $output_objdir/$soname.def;
 
11926
            else
 
11927
              echo EXPORTS > $output_objdir/$soname.def;
 
11928
              cat $export_symbols >> $output_objdir/$soname.def;
 
11929
            fi~
 
11930
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
11931
          else
 
11932
            ld_shlibs_CXX=no
 
11933
          fi
 
11934
          ;;
 
11935
        esac
 
11936
        ;;
11029
11937
      darwin* | rhapsody*)
11030
11938
 
11031
11939
 
11033
11941
  hardcode_direct_CXX=no
11034
11942
  hardcode_automatic_CXX=yes
11035
11943
  hardcode_shlibpath_var_CXX=unsupported
11036
 
  whole_archive_flag_spec_CXX=''
 
11944
  if test "$lt_cv_ld_force_load" = "yes"; then
 
11945
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
11946
  else
 
11947
    whole_archive_flag_spec_CXX=''
 
11948
  fi
11037
11949
  link_all_deplibs_CXX=yes
11038
11950
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11039
11951
  case $cc_basename in
11041
11953
     *) _lt_dar_can_shared=$GCC ;;
11042
11954
  esac
11043
11955
  if test "$_lt_dar_can_shared" = "yes"; then
11044
 
    output_verbose_link_cmd=echo
 
11956
    output_verbose_link_cmd=func_echo_all
11045
11957
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11046
11958
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11047
11959
    archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11094
12006
      gnu*)
11095
12007
        ;;
11096
12008
 
 
12009
      haiku*)
 
12010
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12011
        link_all_deplibs_CXX=yes
 
12012
        ;;
 
12013
 
11097
12014
      hpux9*)
11098
12015
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11099
12016
        hardcode_libdir_separator_CXX=:
11118
12035
            # explicitly linking system object files so we need to strip them
11119
12036
            # from the output so that they don't get included in the library
11120
12037
            # dependencies.
11121
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12038
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
11122
12039
            ;;
11123
12040
          *)
11124
12041
            if test "$GXX" = yes; then
11125
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
12042
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11126
12043
            else
11127
12044
              # FIXME: insert proper C++ library support
11128
12045
              ld_shlibs_CXX=no
11183
12100
            # explicitly linking system object files so we need to strip them
11184
12101
            # from the output so that they don't get included in the library
11185
12102
            # dependencies.
11186
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12103
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
11187
12104
            ;;
11188
12105
          *)
11189
12106
            if test "$GXX" = yes; then
11193
12110
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11194
12111
                    ;;
11195
12112
                  ia64*)
11196
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12113
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11197
12114
                    ;;
11198
12115
                  *)
11199
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12116
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11200
12117
                    ;;
11201
12118
                esac
11202
12119
              fi
11226
12143
        case $cc_basename in
11227
12144
          CC*)
11228
12145
            # SGI C++
11229
 
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12146
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11230
12147
 
11231
12148
            # Archives containing C++ object files must be created using
11232
12149
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11237
12154
          *)
11238
12155
            if test "$GXX" = yes; then
11239
12156
              if test "$with_gnu_ld" = no; then
11240
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12157
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11241
12158
              else
11242
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
12159
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
11243
12160
              fi
11244
12161
            fi
11245
12162
            link_all_deplibs_CXX=yes
11250
12167
        inherit_rpath_CXX=yes
11251
12168
        ;;
11252
12169
 
11253
 
      linux* | k*bsd*-gnu)
 
12170
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
11254
12171
        case $cc_basename in
11255
12172
          KCC*)
11256
12173
            # Kuck and Associates, Inc. (KAI) C++ Compiler
11268
12185
            # explicitly linking system object files so we need to strip them
11269
12186
            # from the output so that they don't get included in the library
11270
12187
            # dependencies.
11271
 
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12188
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
11272
12189
 
11273
12190
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11274
12191
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11305
12222
          pgCC* | pgcpp*)
11306
12223
            # Portland Group C++ compiler
11307
12224
            case `$CC -V` in
11308
 
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
12225
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
11309
12226
              prelink_cmds_CXX='tpldir=Template.dir~
11310
12227
                rm -rf $tpldir~
11311
12228
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11312
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
12229
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
11313
12230
              old_archive_cmds_CXX='tpldir=Template.dir~
11314
12231
                rm -rf $tpldir~
11315
12232
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11316
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
12233
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
11317
12234
                $RANLIB $oldlib'
11318
12235
              archive_cmds_CXX='tpldir=Template.dir~
11319
12236
                rm -rf $tpldir~
11320
12237
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11321
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12238
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11322
12239
              archive_expsym_cmds_CXX='tpldir=Template.dir~
11323
12240
                rm -rf $tpldir~
11324
12241
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11325
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
12242
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11326
12243
              ;;
11327
 
            *) # Version 6 will use weak symbols
 
12244
            *) # Version 6 and above use weak symbols
11328
12245
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11329
12246
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11330
12247
              ;;
11332
12249
 
11333
12250
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11334
12251
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11335
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
12252
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11336
12253
            ;;
11337
12254
          cxx*)
11338
12255
            # Compaq C++
11351
12268
            # explicitly linking system object files so we need to strip them
11352
12269
            # from the output so that they don't get included in the library
11353
12270
            # dependencies.
11354
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
 
12271
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$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; func_echo_all "X$list" | $Xsed'
11355
12272
            ;;
11356
 
          xl*)
 
12273
          xl* | mpixl* | bgxl*)
11357
12274
            # IBM XL 8.0 on PPC, with GNU ld
11358
12275
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11359
12276
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11373
12290
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11374
12291
              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'
11375
12292
              hardcode_libdir_flag_spec_CXX='-R$libdir'
11376
 
              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'
 
12293
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11377
12294
              compiler_needs_object_CXX=yes
11378
12295
 
11379
12296
              # Not sure whether something based on
11380
12297
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11381
12298
              # would be better.
11382
 
              output_verbose_link_cmd='echo'
 
12299
              output_verbose_link_cmd='func_echo_all'
11383
12300
 
11384
12301
              # Archives containing C++ object files must be created using
11385
12302
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11448
12365
            export_dynamic_flag_spec_CXX='${wl}-E'
11449
12366
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11450
12367
          fi
11451
 
          output_verbose_link_cmd=echo
 
12368
          output_verbose_link_cmd=func_echo_all
11452
12369
        else
11453
12370
          ld_shlibs_CXX=no
11454
12371
        fi
11483
12400
            case $host in
11484
12401
              osf3*)
11485
12402
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11486
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12403
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11487
12404
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11488
12405
                ;;
11489
12406
              *)
11490
12407
                allow_undefined_flag_CXX=' -expect_unresolved \*'
11491
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12408
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11492
12409
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11493
12410
                  echo "-hidden">> $lib.exp~
11494
 
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
12411
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
11495
12412
                  $RM $lib.exp'
11496
12413
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11497
12414
                ;;
11507
12424
            # explicitly linking system object files so we need to strip them
11508
12425
            # from the output so that they don't get included in the library
11509
12426
            # dependencies.
11510
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
 
12427
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$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; func_echo_all "$list"'
11511
12428
            ;;
11512
12429
          *)
11513
12430
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11514
12431
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11515
12432
              case $host in
11516
12433
                osf3*)
11517
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12434
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11518
12435
                  ;;
11519
12436
                *)
11520
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12437
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11521
12438
                  ;;
11522
12439
              esac
11523
12440
 
11527
12444
              # Commands to make compiler produce verbose output that lists
11528
12445
              # what "hidden" libraries, object files and flags are used when
11529
12446
              # linking a shared library.
11530
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12447
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11531
12448
 
11532
12449
            else
11533
12450
              # FIXME: insert proper C++ library support
11563
12480
 
11564
12481
      solaris*)
11565
12482
        case $cc_basename in
11566
 
          CC*)
 
12483
          CC* | sunCC*)
11567
12484
            # Sun C++ 4.2, 5.x and Centerline C++
11568
12485
            archive_cmds_need_lc_CXX=yes
11569
12486
            no_undefined_flag_CXX=' -zdefs'
11584
12501
            esac
11585
12502
            link_all_deplibs_CXX=yes
11586
12503
 
11587
 
            output_verbose_link_cmd='echo'
 
12504
            output_verbose_link_cmd='func_echo_all'
11588
12505
 
11589
12506
            # Archives containing C++ object files must be created using
11590
12507
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11604
12521
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11605
12522
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11606
12523
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11607
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12524
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11608
12525
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11609
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
12526
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11610
12527
 
11611
12528
                # Commands to make compiler produce verbose output that lists
11612
12529
                # what "hidden" libraries, object files and flags are used when
11613
12530
                # linking a shared library.
11614
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12531
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11615
12532
              else
11616
12533
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
11617
12534
                # platform.
11622
12539
                # Commands to make compiler produce verbose output that lists
11623
12540
                # what "hidden" libraries, object files and flags are used when
11624
12541
                # linking a shared library.
11625
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12542
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11626
12543
              fi
11627
12544
 
11628
12545
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11676
12593
          CC*)
11677
12594
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11678
12595
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12596
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
 
12597
              '"$old_archive_cmds_CXX"
 
12598
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
 
12599
              '"$reload_cmds_CXX"
11679
12600
            ;;
11680
12601
          *)
11681
12602
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11737
12658
};
11738
12659
_LT_EOF
11739
12660
 
 
12661
 
 
12662
_lt_libdeps_save_CFLAGS=$CFLAGS
 
12663
case "$CC $CFLAGS " in #(
 
12664
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
12665
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
12666
esac
 
12667
 
11740
12668
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11741
12669
  (eval $ac_compile) 2>&5
11742
12670
  ac_status=$?
11750
12678
  pre_test_object_deps_done=no
11751
12679
 
11752
12680
  for p in `eval "$output_verbose_link_cmd"`; do
11753
 
    case $p in
 
12681
    case ${prev}${p} in
11754
12682
 
11755
12683
    -L* | -R* | -l*)
11756
12684
       # Some compilers place space between "-{L,R}" and the path.
11759
12687
          test $p = "-R"; then
11760
12688
         prev=$p
11761
12689
         continue
11762
 
       else
11763
 
         prev=
11764
12690
       fi
11765
12691
 
 
12692
       # Expand the sysroot to ease extracting the directories later.
 
12693
       if test -z "$prev"; then
 
12694
         case $p in
 
12695
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
12696
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
12697
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
12698
         esac
 
12699
       fi
 
12700
       case $p in
 
12701
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
12702
       esac
11766
12703
       if test "$pre_test_object_deps_done" = no; then
11767
 
         case $p in
11768
 
         -L* | -R*)
 
12704
         case ${prev} in
 
12705
         -L | -R)
11769
12706
           # Internal compiler library paths should come after those
11770
12707
           # provided the user.  The postdeps already come after the
11771
12708
           # user supplied libs so there is no need to process them.
11785
12722
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
11786
12723
         fi
11787
12724
       fi
 
12725
       prev=
11788
12726
       ;;
11789
12727
 
 
12728
    *.lto.$objext) ;; # Ignore GCC LTO objects
11790
12729
    *.$objext)
11791
12730
       # This assumes that the test object file only shows up
11792
12731
       # once in the compiler output.
11822
12761
fi
11823
12762
 
11824
12763
$RM -f confest.$objext
 
12764
CFLAGS=$_lt_libdeps_save_CFLAGS
11825
12765
 
11826
12766
# PORTME: override above test on systems where it is broken
11827
12767
case $host_os in
11857
12797
 
11858
12798
solaris*)
11859
12799
  case $cc_basename in
11860
 
  CC*)
 
12800
  CC* | sunCC*)
11861
12801
    # The more standards-conforming stlport4 library is
11862
12802
    # incompatible with the Cstd library. Avoid specifying
11863
12803
    # it if it's in CXXFLAGS. Ignore libCrun as
11922
12862
lt_prog_compiler_pic_CXX=
11923
12863
lt_prog_compiler_static_CXX=
11924
12864
 
11925
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11926
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11927
12865
 
11928
12866
  # C++ specific cases for pic, static, wl, etc.
11929
12867
  if test "$GXX" = yes; then
11973
12911
      # DJGPP does not support shared libraries at all
11974
12912
      lt_prog_compiler_pic_CXX=
11975
12913
      ;;
 
12914
    haiku*)
 
12915
      # PIC is the default for Haiku.
 
12916
      # The "-static" flag exists, but is broken.
 
12917
      lt_prog_compiler_static_CXX=
 
12918
      ;;
11976
12919
    interix[3-9]*)
11977
12920
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11978
12921
      # Instead, we relocate shared libraries at runtime.
12022
12965
          ;;
12023
12966
        esac
12024
12967
        ;;
 
12968
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
12969
        # This hack is so that the source file can tell whether it is being
 
12970
        # built for inclusion in a dll (and should export symbols for example).
 
12971
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
12972
        ;;
12025
12973
      dgux*)
12026
12974
        case $cc_basename in
12027
12975
          ec++*)
12078
13026
            ;;
12079
13027
        esac
12080
13028
        ;;
12081
 
      linux* | k*bsd*-gnu)
 
13029
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
12082
13030
        case $cc_basename in
12083
13031
          KCC*)
12084
13032
            # KAI C++ Compiler
12111
13059
            lt_prog_compiler_pic_CXX=
12112
13060
            lt_prog_compiler_static_CXX='-non_shared'
12113
13061
            ;;
12114
 
          xlc* | xlC*)
12115
 
            # IBM XL 8.0 on PPC
 
13062
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
 
13063
            # IBM XL 8.0, 9.0 on PPC and BlueGene
12116
13064
            lt_prog_compiler_wl_CXX='-Wl,'
12117
13065
            lt_prog_compiler_pic_CXX='-qpic'
12118
13066
            lt_prog_compiler_static_CXX='-qstaticlink'
12142
13090
            ;;
12143
13091
        esac
12144
13092
        ;;
12145
 
      netbsd* | netbsdelf*-gnu)
 
13093
      netbsd*)
12146
13094
        ;;
12147
13095
      *qnx* | *nto*)
12148
13096
        # QNX uses GNU C++, but need to define -shared option too, otherwise
12174
13122
        ;;
12175
13123
      solaris*)
12176
13124
        case $cc_basename in
12177
 
          CC*)
 
13125
          CC* | sunCC*)
12178
13126
            # Sun C++ 4.2, 5.x and Centerline C++
12179
13127
            lt_prog_compiler_pic_CXX='-KPIC'
12180
13128
            lt_prog_compiler_static_CXX='-Bstatic'
12239
13187
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12240
13188
    ;;
12241
13189
esac
12242
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
12243
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12244
 
 
12245
 
 
 
13190
 
 
13191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13192
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
13193
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
13194
  $as_echo_n "(cached) " >&6
 
13195
else
 
13196
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
13197
fi
 
13198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
13199
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
13200
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
12246
13201
 
12247
13202
#
12248
13203
# Check to make sure the PIC flag actually works.
12250
13205
if test -n "$lt_prog_compiler_pic_CXX"; then
12251
13206
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12252
13207
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12253
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
13208
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
12254
13209
  $as_echo_n "(cached) " >&6
12255
13210
else
12256
13211
  lt_cv_prog_compiler_pic_works_CXX=no
12266
13221
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12267
13222
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12268
13223
   -e 's:$: $lt_compiler_flag:'`
12269
 
   (eval echo "\"\$as_me:12269: $lt_compile\"" >&5)
 
13224
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12270
13225
   (eval "$lt_compile" 2>conftest.err)
12271
13226
   ac_status=$?
12272
13227
   cat conftest.err >&5
12273
 
   echo "$as_me:12273: \$? = $ac_status" >&5
 
13228
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274
13229
   if (exit $ac_status) && test -s "$ac_outfile"; then
12275
13230
     # The compiler can only warn and ignore the option if not recognized
12276
13231
     # So say no if there are warnings other than the usual output.
12277
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13232
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12278
13233
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12279
13234
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12280
13235
       lt_cv_prog_compiler_pic_works_CXX=yes
12300
13255
 
12301
13256
 
12302
13257
 
 
13258
 
 
13259
 
12303
13260
#
12304
13261
# Check to make sure the static flag actually works.
12305
13262
#
12306
13263
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12307
13264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12308
13265
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12309
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
13266
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
12310
13267
  $as_echo_n "(cached) " >&6
12311
13268
else
12312
13269
  lt_cv_prog_compiler_static_works_CXX=no
12319
13276
     if test -s conftest.err; then
12320
13277
       # Append any errors to the config.log.
12321
13278
       cat conftest.err 1>&5
12322
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13279
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12323
13280
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12324
13281
       if diff conftest.exp conftest.er2 >/dev/null; then
12325
13282
         lt_cv_prog_compiler_static_works_CXX=yes
12346
13303
 
12347
13304
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12348
13305
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12349
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13306
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
12350
13307
  $as_echo_n "(cached) " >&6
12351
13308
else
12352
13309
  lt_cv_prog_compiler_c_o_CXX=no
12365
13322
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12366
13323
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12367
13324
   -e 's:$: $lt_compiler_flag:'`
12368
 
   (eval echo "\"\$as_me:12368: $lt_compile\"" >&5)
 
13325
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12369
13326
   (eval "$lt_compile" 2>out/conftest.err)
12370
13327
   ac_status=$?
12371
13328
   cat out/conftest.err >&5
12372
 
   echo "$as_me:12372: \$? = $ac_status" >&5
 
13329
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373
13330
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12374
13331
   then
12375
13332
     # The compiler can only warn and ignore the option if not recognized
12376
13333
     # So say no if there are warnings
12377
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13334
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12378
13335
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12379
13336
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12380
13337
       lt_cv_prog_compiler_c_o_CXX=yes
12398
13355
 
12399
13356
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12400
13357
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12401
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13358
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
12402
13359
  $as_echo_n "(cached) " >&6
12403
13360
else
12404
13361
  lt_cv_prog_compiler_c_o_CXX=no
12417
13374
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12418
13375
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12419
13376
   -e 's:$: $lt_compiler_flag:'`
12420
 
   (eval echo "\"\$as_me:12420: $lt_compile\"" >&5)
 
13377
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12421
13378
   (eval "$lt_compile" 2>out/conftest.err)
12422
13379
   ac_status=$?
12423
13380
   cat out/conftest.err >&5
12424
 
   echo "$as_me:12424: \$? = $ac_status" >&5
 
13381
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425
13382
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12426
13383
   then
12427
13384
     # The compiler can only warn and ignore the option if not recognized
12428
13385
     # So say no if there are warnings
12429
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13386
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12430
13387
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12431
13388
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12432
13389
       lt_cv_prog_compiler_c_o_CXX=yes
12477
13434
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12478
13435
 
12479
13436
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
13437
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12480
13438
  case $host_os in
12481
13439
  aix[4-9]*)
12482
13440
    # If we're using GNU nm, then we don't want the "-C" option.
12483
13441
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
13442
    # Also, AIX nm treats weak defined symbols like other global defined
 
13443
    # symbols, whereas GNU nm marks them as "W".
12484
13444
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12485
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
13445
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12486
13446
    else
12487
13447
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12488
13448
    fi
12489
13449
    ;;
12490
13450
  pw32*)
12491
13451
    export_symbols_cmds_CXX="$ltdll_cmds"
12492
 
  ;;
 
13452
    ;;
12493
13453
  cygwin* | mingw* | cegcc*)
12494
 
    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'
12495
 
  ;;
12496
 
  linux* | k*bsd*-gnu)
12497
 
    link_all_deplibs_CXX=no
12498
 
  ;;
 
13454
    case $cc_basename in
 
13455
    cl*) ;;
 
13456
    *)
 
13457
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
13458
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
13459
      ;;
 
13460
    esac
 
13461
    ;;
12499
13462
  *)
12500
13463
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12501
 
  ;;
 
13464
    ;;
12502
13465
  esac
12503
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12504
13466
 
12505
13467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12506
13468
$as_echo "$ld_shlibs_CXX" >&6; }
12532
13494
      # to ld, don't add -lc before -lgcc.
12533
13495
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12534
13496
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12535
 
      $RM conftest*
12536
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13497
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
 
13498
  $as_echo_n "(cached) " >&6
 
13499
else
 
13500
  $RM conftest*
 
13501
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12537
13502
 
12538
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
13503
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12539
13504
  (eval $ac_compile) 2>&5
12540
13505
  ac_status=$?
12541
13506
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12542
13507
  test $ac_status = 0; } 2>conftest.err; then
12543
 
        soname=conftest
12544
 
        lib=conftest
12545
 
        libobjs=conftest.$ac_objext
12546
 
        deplibs=
12547
 
        wl=$lt_prog_compiler_wl_CXX
12548
 
        pic_flag=$lt_prog_compiler_pic_CXX
12549
 
        compiler_flags=-v
12550
 
        linker_flags=-v
12551
 
        verstring=
12552
 
        output_objdir=.
12553
 
        libname=conftest
12554
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12555
 
        allow_undefined_flag_CXX=
12556
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
13508
          soname=conftest
 
13509
          lib=conftest
 
13510
          libobjs=conftest.$ac_objext
 
13511
          deplibs=
 
13512
          wl=$lt_prog_compiler_wl_CXX
 
13513
          pic_flag=$lt_prog_compiler_pic_CXX
 
13514
          compiler_flags=-v
 
13515
          linker_flags=-v
 
13516
          verstring=
 
13517
          output_objdir=.
 
13518
          libname=conftest
 
13519
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
13520
          allow_undefined_flag_CXX=
 
13521
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12557
13522
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12558
13523
  ac_status=$?
12559
13524
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12560
13525
  test $ac_status = 0; }
12561
 
        then
12562
 
          archive_cmds_need_lc_CXX=no
12563
 
        else
12564
 
          archive_cmds_need_lc_CXX=yes
12565
 
        fi
12566
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12567
 
      else
12568
 
        cat conftest.err 1>&5
12569
 
      fi
12570
 
      $RM conftest*
12571
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12572
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
13526
          then
 
13527
            lt_cv_archive_cmds_need_lc_CXX=no
 
13528
          else
 
13529
            lt_cv_archive_cmds_need_lc_CXX=yes
 
13530
          fi
 
13531
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
13532
        else
 
13533
          cat conftest.err 1>&5
 
13534
        fi
 
13535
        $RM conftest*
 
13536
 
 
13537
fi
 
13538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
 
13539
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
 
13540
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
12573
13541
      ;;
12574
13542
    esac
12575
13543
  fi
12726
13694
  m68k)
12727
13695
    library_names_spec='$libname.ixlibrary $libname.a'
12728
13696
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12729
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
13697
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12730
13698
    ;;
12731
13699
  esac
12732
13700
  ;;
12757
13725
  need_version=no
12758
13726
  need_lib_prefix=no
12759
13727
 
12760
 
  case $GCC,$host_os in
12761
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
13728
  case $GCC,$cc_basename in
 
13729
  yes,*)
 
13730
    # gcc
12762
13731
    library_names_spec='$libname.dll.a'
12763
13732
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12764
13733
    postinstall_cmds='base_file=`basename \${file}`~
12779
13748
    cygwin*)
12780
13749
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12781
13750
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12782
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
13751
 
12783
13752
      ;;
12784
13753
    mingw* | cegcc*)
12785
13754
      # MinGW DLLs use traditional 'lib' prefix
12786
13755
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12787
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12788
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12789
 
        # It is most probably a Windows format PATH printed by
12790
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
12791
 
        # path with ; separators, and with drive letters. We can handle the
12792
 
        # drive letters (cygwin fileutils understands them), so leave them,
12793
 
        # especially as we might pass files found there to a mingw objdump,
12794
 
        # which wouldn't understand a cygwinified path. Ahh.
12795
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12796
 
      else
12797
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12798
 
      fi
12799
13756
      ;;
12800
13757
    pw32*)
12801
13758
      # pw32 DLLs use 'pw' prefix rather than 'lib'
12802
13759
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12803
13760
      ;;
12804
13761
    esac
 
13762
    dynamic_linker='Win32 ld.exe'
 
13763
    ;;
 
13764
 
 
13765
  *,cl*)
 
13766
    # Native MSVC
 
13767
    libname_spec='$name'
 
13768
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
13769
    library_names_spec='${libname}.dll.lib'
 
13770
 
 
13771
    case $build_os in
 
13772
    mingw*)
 
13773
      sys_lib_search_path_spec=
 
13774
      lt_save_ifs=$IFS
 
13775
      IFS=';'
 
13776
      for lt_path in $LIB
 
13777
      do
 
13778
        IFS=$lt_save_ifs
 
13779
        # Let DOS variable expansion print the short 8.3 style file name.
 
13780
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
13781
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
13782
      done
 
13783
      IFS=$lt_save_ifs
 
13784
      # Convert to MSYS style.
 
13785
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
13786
      ;;
 
13787
    cygwin*)
 
13788
      # Convert to unix form, then to dos form, then back to unix form
 
13789
      # but this time dos style (no spaces!) so that the unix form looks
 
13790
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
13791
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
13792
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
13793
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
13794
      ;;
 
13795
    *)
 
13796
      sys_lib_search_path_spec="$LIB"
 
13797
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
13798
        # It is most probably a Windows format PATH.
 
13799
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
13800
      else
 
13801
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
13802
      fi
 
13803
      # FIXME: find the short name or the path components, as spaces are
 
13804
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
13805
      ;;
 
13806
    esac
 
13807
 
 
13808
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
13809
    postinstall_cmds='base_file=`basename \${file}`~
 
13810
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
13811
      dldir=$destdir/`dirname \$dlpath`~
 
13812
      test -d \$dldir || mkdir -p \$dldir~
 
13813
      $install_prog $dir/$dlname \$dldir/$dlname'
 
13814
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
13815
      dlpath=$dir/\$dldll~
 
13816
       $RM \$dlpath'
 
13817
    shlibpath_overrides_runpath=yes
 
13818
    dynamic_linker='Win32 link.exe'
12805
13819
    ;;
12806
13820
 
12807
13821
  *)
 
13822
    # Assume MSVC wrapper
12808
13823
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
13824
    dynamic_linker='Win32 ld.exe'
12809
13825
    ;;
12810
13826
  esac
12811
 
  dynamic_linker='Win32 ld.exe'
12812
13827
  # FIXME: first we should search . and the directory the executable is in
12813
13828
  shlibpath_var=PATH
12814
13829
  ;;
12894
13909
  hardcode_into_libs=yes
12895
13910
  ;;
12896
13911
 
 
13912
haiku*)
 
13913
  version_type=linux
 
13914
  need_lib_prefix=no
 
13915
  need_version=no
 
13916
  dynamic_linker="$host_os runtime_loader"
 
13917
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
13918
  soname_spec='${libname}${release}${shared_ext}$major'
 
13919
  shlibpath_var=LIBRARY_PATH
 
13920
  shlibpath_overrides_runpath=yes
 
13921
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
13922
  hardcode_into_libs=yes
 
13923
  ;;
 
13924
 
12897
13925
hpux9* | hpux10* | hpux11*)
12898
13926
  # Give a soname corresponding to the major version so that dld.sl refuses to
12899
13927
  # link against other versions.
12936
13964
    soname_spec='${libname}${release}${shared_ext}$major'
12937
13965
    ;;
12938
13966
  esac
12939
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
13967
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12940
13968
  postinstall_cmds='chmod 555 $lib'
 
13969
  # or fails outright, so override atomically:
 
13970
  install_override_mode=555
12941
13971
  ;;
12942
13972
 
12943
13973
interix[3-9]*)
12995
14025
  ;;
12996
14026
 
12997
14027
# This must be Linux ELF.
12998
 
linux* | k*bsd*-gnu)
 
14028
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12999
14029
  version_type=linux
13000
14030
  need_lib_prefix=no
13001
14031
  need_version=no
13004
14034
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13005
14035
  shlibpath_var=LD_LIBRARY_PATH
13006
14036
  shlibpath_overrides_runpath=no
 
14037
 
13007
14038
  # Some binutils ld are patched to set DT_RUNPATH
13008
 
  save_LDFLAGS=$LDFLAGS
13009
 
  save_libdir=$libdir
13010
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13011
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13012
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14039
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
14040
  $as_echo_n "(cached) " >&6
 
14041
else
 
14042
  lt_cv_shlibpath_overrides_runpath=no
 
14043
    save_LDFLAGS=$LDFLAGS
 
14044
    save_libdir=$libdir
 
14045
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
14046
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
14047
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013
14048
/* end confdefs.h.  */
13014
14049
 
13015
14050
int
13022
14057
_ACEOF
13023
14058
if ac_fn_cxx_try_link "$LINENO"; then :
13024
14059
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13025
 
  shlibpath_overrides_runpath=yes
 
14060
  lt_cv_shlibpath_overrides_runpath=yes
13026
14061
fi
13027
14062
fi
13028
14063
rm -f core conftest.err conftest.$ac_objext \
13029
14064
    conftest$ac_exeext conftest.$ac_ext
13030
 
  LDFLAGS=$save_LDFLAGS
13031
 
  libdir=$save_libdir
 
14065
    LDFLAGS=$save_LDFLAGS
 
14066
    libdir=$save_libdir
 
14067
 
 
14068
fi
 
14069
 
 
14070
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13032
14071
 
13033
14072
  # This implies no fast_install, which is unacceptable.
13034
14073
  # Some rework will be needed to allow for fast_install
13035
14074
  # before this can be enabled.
13036
14075
  hardcode_into_libs=yes
13037
14076
 
 
14077
  # Add ABI-specific directories to the system library path.
 
14078
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
14079
 
13038
14080
  # Append ld.so.conf contents to the search path
13039
14081
  if test -f /etc/ld.so.conf; then
13040
 
    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' ' '`
13041
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
14082
    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;s/"//g;/^$/d' | tr '\n' ' '`
 
14083
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
14084
 
13042
14085
  fi
13043
14086
 
13044
14087
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13050
14093
  dynamic_linker='GNU/Linux ld.so'
13051
14094
  ;;
13052
14095
 
13053
 
netbsdelf*-gnu)
13054
 
  version_type=linux
13055
 
  need_lib_prefix=no
13056
 
  need_version=no
13057
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13058
 
  soname_spec='${libname}${release}${shared_ext}$major'
13059
 
  shlibpath_var=LD_LIBRARY_PATH
13060
 
  shlibpath_overrides_runpath=no
13061
 
  hardcode_into_libs=yes
13062
 
  dynamic_linker='NetBSD ld.elf_so'
13063
 
  ;;
13064
 
 
13065
14096
netbsd*)
13066
14097
  version_type=sunos
13067
14098
  need_lib_prefix=no
13301
14332
 
13302
14333
 
13303
14334
 
 
14335
 
 
14336
 
13304
14337
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13305
14338
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13306
14339
hardcode_action_CXX=
13348
14381
  fi # test -n "$compiler"
13349
14382
 
13350
14383
  CC=$lt_save_CC
 
14384
  CFLAGS=$lt_save_CFLAGS
13351
14385
  LDCXX=$LD
13352
14386
  LD=$lt_save_LD
13353
14387
  GCC=$lt_save_GCC
13365
14399
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13366
14400
 
13367
14401
 
13368
 
 
13369
 
 
13370
14402
ac_ext=${ac_fc_srcext-f}
13371
14403
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13372
14404
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13378
14410
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13379
14411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13380
14412
$as_echo_n "checking for $ac_word... " >&6; }
13381
 
if test "${ac_cv_prog_FC+set}" = set; then :
 
14413
if ${ac_cv_prog_FC+:} false; then :
13382
14414
  $as_echo_n "(cached) " >&6
13383
14415
else
13384
14416
  if test -n "$FC"; then
13422
14454
set dummy $ac_prog; ac_word=$2
13423
14455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13424
14456
$as_echo_n "checking for $ac_word... " >&6; }
13425
 
if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
 
14457
if ${ac_cv_prog_ac_ct_FC+:} false; then :
13426
14458
  $as_echo_n "(cached) " >&6
13427
14459
else
13428
14460
  if test -n "$ac_ct_FC"; then
13504
14536
ac_ext=F
13505
14537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13506
14538
$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13507
 
if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
 
14539
if ${ac_cv_fc_compiler_gnu+:} false; then :
13508
14540
  $as_echo_n "(cached) " >&6
13509
14541
else
13510
14542
  cat > conftest.$ac_ext <<_ACEOF
13532
14564
FCFLAGS=
13533
14565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13534
14566
$as_echo_n "checking whether $FC accepts -g... " >&6; }
13535
 
if test "${ac_cv_prog_fc_g+set}" = set; then :
 
14567
if ${ac_cv_prog_fc_g+:} false; then :
13536
14568
  $as_echo_n "(cached) " >&6
13537
14569
else
13538
14570
  FCFLAGS=-g
13567
14599
  fi
13568
14600
fi
13569
14601
 
13570
 
ac_ext=c
13571
 
ac_cpp='$CPP $CPPFLAGS'
13572
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13573
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13574
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14602
ac_ext=${ac_fc_srcext-f}
 
14603
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 
14604
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 
14605
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 
14606
 
 
14607
 
 
14608
      ac_ext=${ac_fc_srcext-f}
 
14609
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 
14610
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 
14611
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 
14612
 
13575
14613
 
13576
14614
if test -z "$FC" || test "X$FC" = "Xno"; then
13577
14615
  _lt_disable_FC=yes
13578
14616
fi
13579
14617
 
13580
 
 
13581
 
 
13582
 
      ac_ext=${ac_fc_srcext-f}
13583
 
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13584
 
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13585
 
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13586
 
 
13587
 
 
13588
14618
archive_cmds_need_lc_FC=no
13589
14619
allow_undefined_flag_FC=
13590
14620
always_export_symbols_FC=no
13602
14632
module_expsym_cmds_FC=
13603
14633
link_all_deplibs_FC=unknown
13604
14634
old_archive_cmds_FC=$old_archive_cmds
 
14635
reload_flag_FC=$reload_flag
 
14636
reload_cmds_FC=$reload_cmds
13605
14637
no_undefined_flag_FC=
13606
14638
whole_archive_flag_spec_FC=
13607
14639
enable_shared_with_static_runtimes_FC=no
13665
14697
  # Allow CC to be a program name with arguments.
13666
14698
  lt_save_CC="$CC"
13667
14699
  lt_save_GCC=$GCC
 
14700
  lt_save_CFLAGS=$CFLAGS
13668
14701
  CC=${FC-"f95"}
 
14702
  CFLAGS=$FCFLAGS
13669
14703
  compiler=$CC
13670
14704
  GCC=$ac_cv_fc_compiler_gnu
13671
14705
 
13678
14712
    *) break;;
13679
14713
  esac
13680
14714
done
13681
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14715
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13682
14716
 
13683
14717
 
13684
14718
  if test -n "$compiler"; then
13740
14774
      end
13741
14775
_LT_EOF
13742
14776
 
 
14777
 
 
14778
_lt_libdeps_save_CFLAGS=$CFLAGS
 
14779
case "$CC $CFLAGS " in #(
 
14780
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
14781
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
14782
esac
 
14783
 
13743
14784
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13744
14785
  (eval $ac_compile) 2>&5
13745
14786
  ac_status=$?
13753
14794
  pre_test_object_deps_done=no
13754
14795
 
13755
14796
  for p in `eval "$output_verbose_link_cmd"`; do
13756
 
    case $p in
 
14797
    case ${prev}${p} in
13757
14798
 
13758
14799
    -L* | -R* | -l*)
13759
14800
       # Some compilers place space between "-{L,R}" and the path.
13762
14803
          test $p = "-R"; then
13763
14804
         prev=$p
13764
14805
         continue
13765
 
       else
13766
 
         prev=
13767
14806
       fi
13768
14807
 
 
14808
       # Expand the sysroot to ease extracting the directories later.
 
14809
       if test -z "$prev"; then
 
14810
         case $p in
 
14811
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
14812
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
14813
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
14814
         esac
 
14815
       fi
 
14816
       case $p in
 
14817
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
14818
       esac
13769
14819
       if test "$pre_test_object_deps_done" = no; then
13770
 
         case $p in
13771
 
         -L* | -R*)
 
14820
         case ${prev} in
 
14821
         -L | -R)
13772
14822
           # Internal compiler library paths should come after those
13773
14823
           # provided the user.  The postdeps already come after the
13774
14824
           # user supplied libs so there is no need to process them.
13788
14838
           postdeps_FC="${postdeps_FC} ${prev}${p}"
13789
14839
         fi
13790
14840
       fi
 
14841
       prev=
13791
14842
       ;;
13792
14843
 
 
14844
    *.lto.$objext) ;; # Ignore GCC LTO objects
13793
14845
    *.$objext)
13794
14846
       # This assumes that the test object file only shows up
13795
14847
       # once in the compiler output.
13825
14877
fi
13826
14878
 
13827
14879
$RM -f confest.$objext
 
14880
CFLAGS=$_lt_libdeps_save_CFLAGS
13828
14881
 
13829
14882
# PORTME: override above test on systems where it is broken
13830
14883
 
13853
14906
lt_prog_compiler_pic_FC=
13854
14907
lt_prog_compiler_static_FC=
13855
14908
 
13856
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13857
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13858
14909
 
13859
14910
  if test "$GCC" = yes; then
13860
14911
    lt_prog_compiler_wl_FC='-Wl,'
13902
14953
      lt_prog_compiler_pic_FC='-fno-common'
13903
14954
      ;;
13904
14955
 
 
14956
    haiku*)
 
14957
      # PIC is the default for Haiku.
 
14958
      # The "-static" flag exists, but is broken.
 
14959
      lt_prog_compiler_static_FC=
 
14960
      ;;
 
14961
 
13905
14962
    hpux*)
13906
14963
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13907
14964
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13944
15001
      lt_prog_compiler_pic_FC='-fPIC'
13945
15002
      ;;
13946
15003
    esac
 
15004
 
 
15005
    case $cc_basename in
 
15006
    nvcc*) # Cuda Compiler Driver 2.2
 
15007
      lt_prog_compiler_wl_FC='-Xlinker '
 
15008
      lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
 
15009
      ;;
 
15010
    esac
13947
15011
  else
13948
15012
    # PORTME Check for flag to pass linker flags through the system compiler.
13949
15013
    case $host_os in
13985
15049
      lt_prog_compiler_static_FC='-non_shared'
13986
15050
      ;;
13987
15051
 
13988
 
    linux* | k*bsd*-gnu)
 
15052
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
13989
15053
      case $cc_basename in
13990
15054
      # old Intel for x86_64 which still supported -KPIC.
13991
15055
      ecc*)
14006
15070
        lt_prog_compiler_pic_FC='--shared'
14007
15071
        lt_prog_compiler_static_FC='--static'
14008
15072
        ;;
14009
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
15073
      nagfor*)
 
15074
        # NAG Fortran compiler
 
15075
        lt_prog_compiler_wl_FC='-Wl,-Wl,,'
 
15076
        lt_prog_compiler_pic_FC='-PIC'
 
15077
        lt_prog_compiler_static_FC='-Bstatic'
 
15078
        ;;
 
15079
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
14010
15080
        # Portland Group compilers (*not* the Pentium gcc compiler,
14011
15081
        # which looks to be a dead project)
14012
15082
        lt_prog_compiler_wl_FC='-Wl,'
14018
15088
        # All Alpha code is PIC.
14019
15089
        lt_prog_compiler_static_FC='-non_shared'
14020
15090
        ;;
14021
 
      xl*)
14022
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
15091
      xl* | bgxl* | bgf* | mpixl*)
 
15092
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14023
15093
        lt_prog_compiler_wl_FC='-Wl,'
14024
15094
        lt_prog_compiler_pic_FC='-qpic'
14025
15095
        lt_prog_compiler_static_FC='-qstaticlink'
14026
15096
        ;;
14027
15097
      *)
14028
15098
        case `$CC -V 2>&1 | sed 5q` in
 
15099
        *Sun\ F* | *Sun*Fortran*)
 
15100
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
15101
          lt_prog_compiler_pic_FC='-KPIC'
 
15102
          lt_prog_compiler_static_FC='-Bstatic'
 
15103
          lt_prog_compiler_wl_FC=''
 
15104
          ;;
14029
15105
        *Sun\ C*)
14030
15106
          # Sun C 5.9
14031
15107
          lt_prog_compiler_pic_FC='-KPIC'
14032
15108
          lt_prog_compiler_static_FC='-Bstatic'
14033
15109
          lt_prog_compiler_wl_FC='-Wl,'
14034
15110
          ;;
14035
 
        *Sun\ F*)
14036
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14037
 
          lt_prog_compiler_pic_FC='-KPIC'
14038
 
          lt_prog_compiler_static_FC='-Bstatic'
14039
 
          lt_prog_compiler_wl_FC=''
14040
 
          ;;
14041
15111
        esac
14042
15112
        ;;
14043
15113
      esac
14068
15138
      lt_prog_compiler_pic_FC='-KPIC'
14069
15139
      lt_prog_compiler_static_FC='-Bstatic'
14070
15140
      case $cc_basename in
14071
 
      f77* | f90* | f95*)
 
15141
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
14072
15142
        lt_prog_compiler_wl_FC='-Qoption ld ';;
14073
15143
      *)
14074
15144
        lt_prog_compiler_wl_FC='-Wl,';;
14125
15195
    lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
14126
15196
    ;;
14127
15197
esac
14128
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14129
 
$as_echo "$lt_prog_compiler_pic_FC" >&6; }
14130
 
 
14131
 
 
 
15198
 
 
15199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
15200
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
15201
if ${lt_cv_prog_compiler_pic_FC+:} false; then :
 
15202
  $as_echo_n "(cached) " >&6
 
15203
else
 
15204
  lt_cv_prog_compiler_pic_FC=$lt_prog_compiler_pic_FC
 
15205
fi
 
15206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_FC" >&5
 
15207
$as_echo "$lt_cv_prog_compiler_pic_FC" >&6; }
 
15208
lt_prog_compiler_pic_FC=$lt_cv_prog_compiler_pic_FC
14132
15209
 
14133
15210
#
14134
15211
# Check to make sure the PIC flag actually works.
14136
15213
if test -n "$lt_prog_compiler_pic_FC"; then
14137
15214
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14138
15215
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14139
 
if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
 
15216
if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
14140
15217
  $as_echo_n "(cached) " >&6
14141
15218
else
14142
15219
  lt_cv_prog_compiler_pic_works_FC=no
14152
15229
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14153
15230
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14154
15231
   -e 's:$: $lt_compiler_flag:'`
14155
 
   (eval echo "\"\$as_me:14155: $lt_compile\"" >&5)
 
15232
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14156
15233
   (eval "$lt_compile" 2>conftest.err)
14157
15234
   ac_status=$?
14158
15235
   cat conftest.err >&5
14159
 
   echo "$as_me:14159: \$? = $ac_status" >&5
 
15236
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160
15237
   if (exit $ac_status) && test -s "$ac_outfile"; then
14161
15238
     # The compiler can only warn and ignore the option if not recognized
14162
15239
     # So say no if there are warnings other than the usual output.
14163
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
15240
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14164
15241
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14165
15242
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14166
15243
       lt_cv_prog_compiler_pic_works_FC=yes
14186
15263
 
14187
15264
 
14188
15265
 
 
15266
 
 
15267
 
14189
15268
#
14190
15269
# Check to make sure the static flag actually works.
14191
15270
#
14192
15271
wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
14193
15272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14194
15273
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14195
 
if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
 
15274
if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
14196
15275
  $as_echo_n "(cached) " >&6
14197
15276
else
14198
15277
  lt_cv_prog_compiler_static_works_FC=no
14205
15284
     if test -s conftest.err; then
14206
15285
       # Append any errors to the config.log.
14207
15286
       cat conftest.err 1>&5
14208
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
15287
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14209
15288
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14210
15289
       if diff conftest.exp conftest.er2 >/dev/null; then
14211
15290
         lt_cv_prog_compiler_static_works_FC=yes
14232
15311
 
14233
15312
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14234
15313
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14235
 
if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
 
15314
if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14236
15315
  $as_echo_n "(cached) " >&6
14237
15316
else
14238
15317
  lt_cv_prog_compiler_c_o_FC=no
14251
15330
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14252
15331
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14253
15332
   -e 's:$: $lt_compiler_flag:'`
14254
 
   (eval echo "\"\$as_me:14254: $lt_compile\"" >&5)
 
15333
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14255
15334
   (eval "$lt_compile" 2>out/conftest.err)
14256
15335
   ac_status=$?
14257
15336
   cat out/conftest.err >&5
14258
 
   echo "$as_me:14258: \$? = $ac_status" >&5
 
15337
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259
15338
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14260
15339
   then
14261
15340
     # The compiler can only warn and ignore the option if not recognized
14262
15341
     # So say no if there are warnings
14263
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
15342
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14264
15343
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14265
15344
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14266
15345
       lt_cv_prog_compiler_c_o_FC=yes
14284
15363
 
14285
15364
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14286
15365
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14287
 
if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
 
15366
if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14288
15367
  $as_echo_n "(cached) " >&6
14289
15368
else
14290
15369
  lt_cv_prog_compiler_c_o_FC=no
14303
15382
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14304
15383
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14305
15384
   -e 's:$: $lt_compiler_flag:'`
14306
 
   (eval echo "\"\$as_me:14306: $lt_compile\"" >&5)
 
15385
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14307
15386
   (eval "$lt_compile" 2>out/conftest.err)
14308
15387
   ac_status=$?
14309
15388
   cat out/conftest.err >&5
14310
 
   echo "$as_me:14310: \$? = $ac_status" >&5
 
15389
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311
15390
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14312
15391
   then
14313
15392
     # The compiler can only warn and ignore the option if not recognized
14314
15393
     # So say no if there are warnings
14315
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
15394
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14316
15395
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14317
15396
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14318
15397
       lt_cv_prog_compiler_c_o_FC=yes
14419
15498
  openbsd*)
14420
15499
    with_gnu_ld=no
14421
15500
    ;;
14422
 
  linux* | k*bsd*-gnu)
14423
 
    link_all_deplibs_FC=no
14424
 
    ;;
14425
15501
  esac
14426
15502
 
14427
15503
  ld_shlibs_FC=yes
 
15504
 
 
15505
  # On some targets, GNU ld is compatible enough with the native linker
 
15506
  # that we're better off using the native interface for both.
 
15507
  lt_use_gnu_ld_interface=no
14428
15508
  if test "$with_gnu_ld" = yes; then
 
15509
    case $host_os in
 
15510
      aix*)
 
15511
        # The AIX port of GNU ld has always aspired to compatibility
 
15512
        # with the native linker.  However, as the warning in the GNU ld
 
15513
        # block says, versions before 2.19.5* couldn't really create working
 
15514
        # shared libraries, regardless of the interface used.
 
15515
        case `$LD -v 2>&1` in
 
15516
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
15517
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
15518
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
15519
          *)
 
15520
            lt_use_gnu_ld_interface=yes
 
15521
            ;;
 
15522
        esac
 
15523
        ;;
 
15524
      *)
 
15525
        lt_use_gnu_ld_interface=yes
 
15526
        ;;
 
15527
    esac
 
15528
  fi
 
15529
 
 
15530
  if test "$lt_use_gnu_ld_interface" = yes; then
14429
15531
    # If archive_cmds runs LD, not CC, wlarc should be empty
14430
15532
    wlarc='${wl}'
14431
15533
 
14443
15545
    fi
14444
15546
    supports_anon_versioning=no
14445
15547
    case `$LD -v 2>&1` in
 
15548
      *GNU\ gold*) supports_anon_versioning=yes ;;
14446
15549
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14447
15550
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14448
15551
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14458
15561
        ld_shlibs_FC=no
14459
15562
        cat <<_LT_EOF 1>&2
14460
15563
 
14461
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
15564
*** Warning: the GNU linker, at least up to release 2.19, is reported
14462
15565
*** to be unable to reliably create shared libraries on AIX.
14463
15566
*** Therefore, libtool is disabling shared libraries support.  If you
14464
 
*** really care for shared libraries, you may want to modify your PATH
14465
 
*** so that a non-GNU linker is found, and then restart.
 
15567
*** really care for shared libraries, you may want to install binutils
 
15568
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
15569
*** You will then need to restart the configuration process.
14466
15570
 
14467
15571
_LT_EOF
14468
15572
      fi
14498
15602
      # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14499
15603
      # as there is no search path for DLLs.
14500
15604
      hardcode_libdir_flag_spec_FC='-L$libdir'
 
15605
      export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14501
15606
      allow_undefined_flag_FC=unsupported
14502
15607
      always_export_symbols_FC=no
14503
15608
      enable_shared_with_static_runtimes_FC=yes
14504
 
      export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
15609
      export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
15610
      exclude_expsyms_FC='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14505
15611
 
14506
15612
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14507
15613
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14519
15625
      fi
14520
15626
      ;;
14521
15627
 
 
15628
    haiku*)
 
15629
      archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15630
      link_all_deplibs_FC=yes
 
15631
      ;;
 
15632
 
14522
15633
    interix[3-9]*)
14523
15634
      hardcode_direct_FC=no
14524
15635
      hardcode_shlibpath_var_FC=no
14534
15645
      archive_expsym_cmds_FC='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'
14535
15646
      ;;
14536
15647
 
14537
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
15648
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
14538
15649
      tmp_diet=no
14539
15650
      if test "$host_os" = linux-dietlibc; then
14540
15651
        case $cc_basename in
14544
15655
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14545
15656
         && test "$tmp_diet" = no
14546
15657
      then
14547
 
        tmp_addflag=
 
15658
        tmp_addflag=' $pic_flag'
14548
15659
        tmp_sharedflag='-shared'
14549
15660
        case $cc_basename,$host_cpu in
14550
15661
        pgcc*)                          # Portland Group C compiler
14551
 
          whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
15662
          whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14552
15663
          tmp_addflag=' $pic_flag'
14553
15664
          ;;
14554
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14555
 
          whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
15665
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
15666
                                        # Portland Group f77 and f90 compilers
 
15667
          whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14556
15668
          tmp_addflag=' $pic_flag -Mnomain' ;;
14557
15669
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
14558
15670
          tmp_addflag=' -i_dynamic' ;;
14563
15675
        lf95*)                          # Lahey Fortran 8.1
14564
15676
          whole_archive_flag_spec_FC=
14565
15677
          tmp_sharedflag='--shared' ;;
14566
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
15678
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14567
15679
          tmp_sharedflag='-qmkshrobj'
14568
15680
          tmp_addflag= ;;
 
15681
        nvcc*)  # Cuda Compiler Driver 2.2
 
15682
          whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
15683
          compiler_needs_object_FC=yes
 
15684
          ;;
14569
15685
        esac
14570
15686
        case `$CC -V 2>&1 | sed 5q` in
14571
15687
        *Sun\ C*)                       # Sun C 5.9
14572
 
          whole_archive_flag_spec_FC='${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'
 
15688
          whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14573
15689
          compiler_needs_object_FC=yes
14574
15690
          tmp_sharedflag='-G' ;;
14575
15691
        *Sun\ F*)                       # Sun Fortran 8.3
14585
15701
        fi
14586
15702
 
14587
15703
        case $cc_basename in
14588
 
        xlf*)
 
15704
        xlf* | bgf* | bgxlf* | mpixlf*)
14589
15705
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14590
15706
          whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14591
15707
          hardcode_libdir_flag_spec_FC=
14592
15708
          hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14593
 
          archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
15709
          archive_cmds_FC='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
14594
15710
          if test "x$supports_anon_versioning" = xyes; then
14595
15711
            archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14596
15712
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14597
15713
              echo "local: *; };" >> $output_objdir/$libname.ver~
14598
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
15714
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14599
15715
          fi
14600
15716
          ;;
14601
15717
        esac
14604
15720
      fi
14605
15721
      ;;
14606
15722
 
14607
 
    netbsd* | netbsdelf*-gnu)
 
15723
    netbsd*)
14608
15724
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14609
15725
        archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14610
15726
        wlarc=
14611
15727
      else
14612
 
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14613
 
        archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15728
        archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15729
        archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14614
15730
      fi
14615
15731
      ;;
14616
15732
 
14628
15744
 
14629
15745
_LT_EOF
14630
15746
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14631
 
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14632
 
        archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15747
        archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15748
        archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14633
15749
      else
14634
15750
        ld_shlibs_FC=no
14635
15751
      fi
14675
15791
 
14676
15792
    *)
14677
15793
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14678
 
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14679
 
        archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15794
        archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15795
        archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14680
15796
      else
14681
15797
        ld_shlibs_FC=no
14682
15798
      fi
14716
15832
      else
14717
15833
        # If we're using GNU nm, then we don't want the "-C" option.
14718
15834
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
15835
        # Also, AIX nm treats weak defined symbols like other global
 
15836
        # defined symbols, whereas GNU nm marks them as "W".
14719
15837
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14720
 
          export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
15838
          export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14721
15839
        else
14722
15840
          export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14723
15841
        fi
14779
15897
        if test "$aix_use_runtimelinking" = yes; then
14780
15898
          shared_flag="$shared_flag "'${wl}-G'
14781
15899
        fi
14782
 
        link_all_deplibs_FC=no
14783
15900
      else
14784
15901
        # not using gcc
14785
15902
        if test "$host_cpu" = ia64; then
14805
15922
        allow_undefined_flag_FC='-berok'
14806
15923
        # Determine the default libpath from the value encoded in an
14807
15924
        # empty executable.
14808
 
        cat > conftest.$ac_ext <<_ACEOF
 
15925
        if test "${lt_cv_aix_libpath+set}" = set; then
 
15926
  aix_libpath=$lt_cv_aix_libpath
 
15927
else
 
15928
  if ${lt_cv_aix_libpath__FC+:} false; then :
 
15929
  $as_echo_n "(cached) " >&6
 
15930
else
 
15931
  cat > conftest.$ac_ext <<_ACEOF
14809
15932
      program main
14810
15933
 
14811
15934
      end
14812
15935
_ACEOF
14813
15936
if ac_fn_fc_try_link "$LINENO"; then :
14814
15937
 
14815
 
lt_aix_libpath_sed='
14816
 
    /Import File Strings/,/^$/ {
14817
 
        /^0/ {
14818
 
            s/^0  *\(.*\)$/\1/
14819
 
            p
14820
 
        }
14821
 
    }'
14822
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14823
 
# Check for a 64-bit object if we didn't find anything.
14824
 
if test -z "$aix_libpath"; then
14825
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14826
 
fi
 
15938
  lt_aix_libpath_sed='
 
15939
      /Import File Strings/,/^$/ {
 
15940
          /^0/ {
 
15941
              s/^0  *\([^ ]*\) *$/\1/
 
15942
              p
 
15943
          }
 
15944
      }'
 
15945
  lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15946
  # Check for a 64-bit object if we didn't find anything.
 
15947
  if test -z "$lt_cv_aix_libpath__FC"; then
 
15948
    lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15949
  fi
14827
15950
fi
14828
15951
rm -f core conftest.err conftest.$ac_objext \
14829
15952
    conftest$ac_exeext conftest.$ac_ext
14830
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
15953
  if test -z "$lt_cv_aix_libpath__FC"; then
 
15954
    lt_cv_aix_libpath__FC="/usr/lib:/lib"
 
15955
  fi
 
15956
 
 
15957
fi
 
15958
 
 
15959
  aix_libpath=$lt_cv_aix_libpath__FC
 
15960
fi
14831
15961
 
14832
15962
        hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14833
 
        archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
15963
        archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14834
15964
      else
14835
15965
        if test "$host_cpu" = ia64; then
14836
15966
          hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14839
15969
        else
14840
15970
         # Determine the default libpath from the value encoded in an
14841
15971
         # empty executable.
14842
 
         cat > conftest.$ac_ext <<_ACEOF
 
15972
         if test "${lt_cv_aix_libpath+set}" = set; then
 
15973
  aix_libpath=$lt_cv_aix_libpath
 
15974
else
 
15975
  if ${lt_cv_aix_libpath__FC+:} false; then :
 
15976
  $as_echo_n "(cached) " >&6
 
15977
else
 
15978
  cat > conftest.$ac_ext <<_ACEOF
14843
15979
      program main
14844
15980
 
14845
15981
      end
14846
15982
_ACEOF
14847
15983
if ac_fn_fc_try_link "$LINENO"; then :
14848
15984
 
14849
 
lt_aix_libpath_sed='
14850
 
    /Import File Strings/,/^$/ {
14851
 
        /^0/ {
14852
 
            s/^0  *\(.*\)$/\1/
14853
 
            p
14854
 
        }
14855
 
    }'
14856
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14857
 
# Check for a 64-bit object if we didn't find anything.
14858
 
if test -z "$aix_libpath"; then
14859
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14860
 
fi
 
15985
  lt_aix_libpath_sed='
 
15986
      /Import File Strings/,/^$/ {
 
15987
          /^0/ {
 
15988
              s/^0  *\([^ ]*\) *$/\1/
 
15989
              p
 
15990
          }
 
15991
      }'
 
15992
  lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15993
  # Check for a 64-bit object if we didn't find anything.
 
15994
  if test -z "$lt_cv_aix_libpath__FC"; then
 
15995
    lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15996
  fi
14861
15997
fi
14862
15998
rm -f core conftest.err conftest.$ac_objext \
14863
15999
    conftest$ac_exeext conftest.$ac_ext
14864
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
16000
  if test -z "$lt_cv_aix_libpath__FC"; then
 
16001
    lt_cv_aix_libpath__FC="/usr/lib:/lib"
 
16002
  fi
 
16003
 
 
16004
fi
 
16005
 
 
16006
  aix_libpath=$lt_cv_aix_libpath__FC
 
16007
fi
14865
16008
 
14866
16009
         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14867
16010
          # Warning - without using the other run time loading flags,
14868
16011
          # -berok will link without error, but may produce a broken library.
14869
16012
          no_undefined_flag_FC=' ${wl}-bernotok'
14870
16013
          allow_undefined_flag_FC=' ${wl}-berok'
14871
 
          # Exported symbols can be pulled into shared objects from archives
14872
 
          whole_archive_flag_spec_FC='$convenience'
 
16014
          if test "$with_gnu_ld" = yes; then
 
16015
            # We only use this code for GNU lds that support --whole-archive.
 
16016
            whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
16017
          else
 
16018
            # Exported symbols can be pulled into shared objects from archives
 
16019
            whole_archive_flag_spec_FC='$convenience'
 
16020
          fi
14873
16021
          archive_cmds_need_lc_FC=yes
14874
16022
          # This is similar to how AIX traditionally builds its shared libraries.
14875
16023
          archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14901
16049
      # Microsoft Visual C++.
14902
16050
      # hardcode_libdir_flag_spec is actually meaningless, as there is
14903
16051
      # no search path for DLLs.
14904
 
      hardcode_libdir_flag_spec_FC=' '
14905
 
      allow_undefined_flag_FC=unsupported
14906
 
      # Tell ltmain to make .lib files, not .a files.
14907
 
      libext=lib
14908
 
      # Tell ltmain to make .dll files, not .so files.
14909
 
      shrext_cmds=".dll"
14910
 
      # FIXME: Setting linknames here is a bad hack.
14911
 
      archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
14912
 
      # The linker will automatically build a .lib file if we build a DLL.
14913
 
      old_archive_from_new_cmds_FC='true'
14914
 
      # FIXME: Should let the user specify the lib program.
14915
 
      old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14916
 
      fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14917
 
      enable_shared_with_static_runtimes_FC=yes
 
16052
      case $cc_basename in
 
16053
      cl*)
 
16054
        # Native MSVC
 
16055
        hardcode_libdir_flag_spec_FC=' '
 
16056
        allow_undefined_flag_FC=unsupported
 
16057
        always_export_symbols_FC=yes
 
16058
        file_list_spec_FC='@'
 
16059
        # Tell ltmain to make .lib files, not .a files.
 
16060
        libext=lib
 
16061
        # Tell ltmain to make .dll files, not .so files.
 
16062
        shrext_cmds=".dll"
 
16063
        # FIXME: Setting linknames here is a bad hack.
 
16064
        archive_cmds_FC='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
16065
        archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
16066
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
16067
          else
 
16068
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
16069
          fi~
 
16070
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
16071
          linknames='
 
16072
        # The linker will not automatically build a static lib if we build a DLL.
 
16073
        # _LT_TAGVAR(old_archive_from_new_cmds, FC)='true'
 
16074
        enable_shared_with_static_runtimes_FC=yes
 
16075
        export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
16076
        # Don't use ranlib
 
16077
        old_postinstall_cmds_FC='chmod 644 $oldlib'
 
16078
        postlink_cmds_FC='lt_outputfile="@OUTPUT@"~
 
16079
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
16080
          case $lt_outputfile in
 
16081
            *.exe|*.EXE) ;;
 
16082
            *)
 
16083
              lt_outputfile="$lt_outputfile.exe"
 
16084
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
16085
              ;;
 
16086
          esac~
 
16087
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
16088
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
16089
            $RM "$lt_outputfile.manifest";
 
16090
          fi'
 
16091
        ;;
 
16092
      *)
 
16093
        # Assume MSVC wrapper
 
16094
        hardcode_libdir_flag_spec_FC=' '
 
16095
        allow_undefined_flag_FC=unsupported
 
16096
        # Tell ltmain to make .lib files, not .a files.
 
16097
        libext=lib
 
16098
        # Tell ltmain to make .dll files, not .so files.
 
16099
        shrext_cmds=".dll"
 
16100
        # FIXME: Setting linknames here is a bad hack.
 
16101
        archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
16102
        # The linker will automatically build a .lib file if we build a DLL.
 
16103
        old_archive_from_new_cmds_FC='true'
 
16104
        # FIXME: Should let the user specify the lib program.
 
16105
        old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
16106
        enable_shared_with_static_runtimes_FC=yes
 
16107
        ;;
 
16108
      esac
14918
16109
      ;;
14919
16110
 
14920
16111
    darwin* | rhapsody*)
14924
16115
  hardcode_direct_FC=no
14925
16116
  hardcode_automatic_FC=yes
14926
16117
  hardcode_shlibpath_var_FC=unsupported
14927
 
  whole_archive_flag_spec_FC=''
 
16118
  if test "$lt_cv_ld_force_load" = "yes"; then
 
16119
    whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
16120
  else
 
16121
    whole_archive_flag_spec_FC=''
 
16122
  fi
14928
16123
  link_all_deplibs_FC=yes
14929
16124
  allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14930
16125
  case $cc_basename in
14932
16127
     *) _lt_dar_can_shared=$GCC ;;
14933
16128
  esac
14934
16129
  if test "$_lt_dar_can_shared" = "yes"; then
14935
 
    output_verbose_link_cmd=echo
 
16130
    output_verbose_link_cmd=func_echo_all
14936
16131
    archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14937
16132
    module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14938
16133
    archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14975
16170
 
14976
16171
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14977
16172
    freebsd* | dragonfly*)
14978
 
      archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
16173
      archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14979
16174
      hardcode_libdir_flag_spec_FC='-R$libdir'
14980
16175
      hardcode_direct_FC=yes
14981
16176
      hardcode_shlibpath_var_FC=no
14983
16178
 
14984
16179
    hpux9*)
14985
16180
      if test "$GCC" = yes; then
14986
 
        archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
16181
        archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14987
16182
      else
14988
16183
        archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14989
16184
      fi
14998
16193
      ;;
14999
16194
 
15000
16195
    hpux10*)
15001
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15002
 
        archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
16196
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
16197
        archive_cmds_FC='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15003
16198
      else
15004
16199
        archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15005
16200
      fi
15017
16212
      ;;
15018
16213
 
15019
16214
    hpux11*)
15020
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
16215
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15021
16216
        case $host_cpu in
15022
16217
        hppa*64*)
15023
16218
          archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15024
16219
          ;;
15025
16220
        ia64*)
15026
 
          archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
16221
          archive_cmds_FC='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15027
16222
          ;;
15028
16223
        *)
15029
 
          archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
16224
          archive_cmds_FC='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15030
16225
          ;;
15031
16226
        esac
15032
16227
      else
15038
16233
          archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15039
16234
          ;;
15040
16235
        *)
15041
 
          archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
16236
        archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15042
16237
          ;;
15043
16238
        esac
15044
16239
      fi
15066
16261
 
15067
16262
    irix5* | irix6* | nonstopux*)
15068
16263
      if test "$GCC" = yes; then
15069
 
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
16264
        archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15070
16265
        # Try to use the -exported_symbol ld option, if it does not
15071
16266
        # work, assume that -exports_file does not work either and
15072
16267
        # implicitly export all symbols.
15073
 
        save_LDFLAGS="$LDFLAGS"
15074
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15075
 
        cat > conftest.$ac_ext <<_ACEOF
15076
 
int foo(void) {}
 
16268
        # This should be the same for all languages, so no per-tag cache variable.
 
16269
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
16270
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
16271
if ${lt_cv_irix_exported_symbol+:} false; then :
 
16272
  $as_echo_n "(cached) " >&6
 
16273
else
 
16274
  save_LDFLAGS="$LDFLAGS"
 
16275
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
16276
           cat > conftest.$ac_ext <<_ACEOF
 
16277
 
 
16278
      subroutine foo
 
16279
      end
15077
16280
_ACEOF
15078
16281
if ac_fn_fc_try_link "$LINENO"; then :
15079
 
  archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
15080
 
 
 
16282
  lt_cv_irix_exported_symbol=yes
 
16283
else
 
16284
  lt_cv_irix_exported_symbol=no
15081
16285
fi
15082
16286
rm -f core conftest.err conftest.$ac_objext \
15083
16287
    conftest$ac_exeext conftest.$ac_ext
15084
 
        LDFLAGS="$save_LDFLAGS"
 
16288
           LDFLAGS="$save_LDFLAGS"
 
16289
fi
 
16290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
16291
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
16292
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
16293
          archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
16294
        fi
15085
16295
      else
15086
 
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15087
 
        archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
16296
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
16297
        archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
15088
16298
      fi
15089
16299
      archive_cmds_need_lc_FC='no'
15090
16300
      hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15093
16303
      link_all_deplibs_FC=yes
15094
16304
      ;;
15095
16305
 
15096
 
    netbsd* | netbsdelf*-gnu)
 
16306
    netbsd*)
15097
16307
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15098
16308
        archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15099
16309
      else
15146
16356
      hardcode_libdir_flag_spec_FC='-L$libdir'
15147
16357
      hardcode_minus_L_FC=yes
15148
16358
      allow_undefined_flag_FC=unsupported
15149
 
      archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
16359
      archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15150
16360
      old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15151
16361
      ;;
15152
16362
 
15153
16363
    osf3*)
15154
16364
      if test "$GCC" = yes; then
15155
16365
        allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15156
 
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
16366
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15157
16367
      else
15158
16368
        allow_undefined_flag_FC=' -expect_unresolved \*'
15159
 
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
16369
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15160
16370
      fi
15161
16371
      archive_cmds_need_lc_FC='no'
15162
16372
      hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15166
16376
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15167
16377
      if test "$GCC" = yes; then
15168
16378
        allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15169
 
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
16379
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15170
16380
        hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15171
16381
      else
15172
16382
        allow_undefined_flag_FC=' -expect_unresolved \*'
15173
 
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
16383
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15174
16384
        archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
15175
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
16385
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
15176
16386
 
15177
16387
        # Both c and cxx compiler support -rpath directly
15178
16388
        hardcode_libdir_flag_spec_FC='-rpath $libdir'
15185
16395
      no_undefined_flag_FC=' -z defs'
15186
16396
      if test "$GCC" = yes; then
15187
16397
        wlarc='${wl}'
15188
 
        archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
16398
        archive_cmds_FC='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15189
16399
        archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15190
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
16400
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15191
16401
      else
15192
16402
        case `$CC -V 2>&1` in
15193
16403
        *"Compilers 5.0"*)
15366
16576
      # to ld, don't add -lc before -lgcc.
15367
16577
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15368
16578
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15369
 
      $RM conftest*
15370
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16579
if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
 
16580
  $as_echo_n "(cached) " >&6
 
16581
else
 
16582
  $RM conftest*
 
16583
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15371
16584
 
15372
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
16585
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15373
16586
  (eval $ac_compile) 2>&5
15374
16587
  ac_status=$?
15375
16588
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15376
16589
  test $ac_status = 0; } 2>conftest.err; then
15377
 
        soname=conftest
15378
 
        lib=conftest
15379
 
        libobjs=conftest.$ac_objext
15380
 
        deplibs=
15381
 
        wl=$lt_prog_compiler_wl_FC
15382
 
        pic_flag=$lt_prog_compiler_pic_FC
15383
 
        compiler_flags=-v
15384
 
        linker_flags=-v
15385
 
        verstring=
15386
 
        output_objdir=.
15387
 
        libname=conftest
15388
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15389
 
        allow_undefined_flag_FC=
15390
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
16590
          soname=conftest
 
16591
          lib=conftest
 
16592
          libobjs=conftest.$ac_objext
 
16593
          deplibs=
 
16594
          wl=$lt_prog_compiler_wl_FC
 
16595
          pic_flag=$lt_prog_compiler_pic_FC
 
16596
          compiler_flags=-v
 
16597
          linker_flags=-v
 
16598
          verstring=
 
16599
          output_objdir=.
 
16600
          libname=conftest
 
16601
          lt_save_allow_undefined_flag=$allow_undefined_flag_FC
 
16602
          allow_undefined_flag_FC=
 
16603
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15391
16604
  (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15392
16605
  ac_status=$?
15393
16606
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394
16607
  test $ac_status = 0; }
15395
 
        then
15396
 
          archive_cmds_need_lc_FC=no
15397
 
        else
15398
 
          archive_cmds_need_lc_FC=yes
15399
 
        fi
15400
 
        allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15401
 
      else
15402
 
        cat conftest.err 1>&5
15403
 
      fi
15404
 
      $RM conftest*
15405
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_FC" >&5
15406
 
$as_echo "$archive_cmds_need_lc_FC" >&6; }
 
16608
          then
 
16609
            lt_cv_archive_cmds_need_lc_FC=no
 
16610
          else
 
16611
            lt_cv_archive_cmds_need_lc_FC=yes
 
16612
          fi
 
16613
          allow_undefined_flag_FC=$lt_save_allow_undefined_flag
 
16614
        else
 
16615
          cat conftest.err 1>&5
 
16616
        fi
 
16617
        $RM conftest*
 
16618
 
 
16619
fi
 
16620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
 
16621
$as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
 
16622
      archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15407
16623
      ;;
15408
16624
    esac
15409
16625
  fi
15560
16776
  m68k)
15561
16777
    library_names_spec='$libname.ixlibrary $libname.a'
15562
16778
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15563
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
16779
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15564
16780
    ;;
15565
16781
  esac
15566
16782
  ;;
15591
16807
  need_version=no
15592
16808
  need_lib_prefix=no
15593
16809
 
15594
 
  case $GCC,$host_os in
15595
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
16810
  case $GCC,$cc_basename in
 
16811
  yes,*)
 
16812
    # gcc
15596
16813
    library_names_spec='$libname.dll.a'
15597
16814
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15598
16815
    postinstall_cmds='base_file=`basename \${file}`~
15613
16830
    cygwin*)
15614
16831
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15615
16832
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15616
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
16833
 
15617
16834
      ;;
15618
16835
    mingw* | cegcc*)
15619
16836
      # MinGW DLLs use traditional 'lib' prefix
15620
16837
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15621
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15622
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15623
 
        # It is most probably a Windows format PATH printed by
15624
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15625
 
        # path with ; separators, and with drive letters. We can handle the
15626
 
        # drive letters (cygwin fileutils understands them), so leave them,
15627
 
        # especially as we might pass files found there to a mingw objdump,
15628
 
        # which wouldn't understand a cygwinified path. Ahh.
15629
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15630
 
      else
15631
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15632
 
      fi
15633
16838
      ;;
15634
16839
    pw32*)
15635
16840
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15636
16841
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15637
16842
      ;;
15638
16843
    esac
 
16844
    dynamic_linker='Win32 ld.exe'
 
16845
    ;;
 
16846
 
 
16847
  *,cl*)
 
16848
    # Native MSVC
 
16849
    libname_spec='$name'
 
16850
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16851
    library_names_spec='${libname}.dll.lib'
 
16852
 
 
16853
    case $build_os in
 
16854
    mingw*)
 
16855
      sys_lib_search_path_spec=
 
16856
      lt_save_ifs=$IFS
 
16857
      IFS=';'
 
16858
      for lt_path in $LIB
 
16859
      do
 
16860
        IFS=$lt_save_ifs
 
16861
        # Let DOS variable expansion print the short 8.3 style file name.
 
16862
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
16863
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
16864
      done
 
16865
      IFS=$lt_save_ifs
 
16866
      # Convert to MSYS style.
 
16867
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
16868
      ;;
 
16869
    cygwin*)
 
16870
      # Convert to unix form, then to dos form, then back to unix form
 
16871
      # but this time dos style (no spaces!) so that the unix form looks
 
16872
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
16873
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
16874
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
16875
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
16876
      ;;
 
16877
    *)
 
16878
      sys_lib_search_path_spec="$LIB"
 
16879
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
16880
        # It is most probably a Windows format PATH.
 
16881
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
16882
      else
 
16883
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
16884
      fi
 
16885
      # FIXME: find the short name or the path components, as spaces are
 
16886
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
16887
      ;;
 
16888
    esac
 
16889
 
 
16890
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
16891
    postinstall_cmds='base_file=`basename \${file}`~
 
16892
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
16893
      dldir=$destdir/`dirname \$dlpath`~
 
16894
      test -d \$dldir || mkdir -p \$dldir~
 
16895
      $install_prog $dir/$dlname \$dldir/$dlname'
 
16896
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
16897
      dlpath=$dir/\$dldll~
 
16898
       $RM \$dlpath'
 
16899
    shlibpath_overrides_runpath=yes
 
16900
    dynamic_linker='Win32 link.exe'
15639
16901
    ;;
15640
16902
 
15641
16903
  *)
 
16904
    # Assume MSVC wrapper
15642
16905
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
16906
    dynamic_linker='Win32 ld.exe'
15643
16907
    ;;
15644
16908
  esac
15645
 
  dynamic_linker='Win32 ld.exe'
15646
16909
  # FIXME: first we should search . and the directory the executable is in
15647
16910
  shlibpath_var=PATH
15648
16911
  ;;
15728
16991
  hardcode_into_libs=yes
15729
16992
  ;;
15730
16993
 
 
16994
haiku*)
 
16995
  version_type=linux
 
16996
  need_lib_prefix=no
 
16997
  need_version=no
 
16998
  dynamic_linker="$host_os runtime_loader"
 
16999
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
17000
  soname_spec='${libname}${release}${shared_ext}$major'
 
17001
  shlibpath_var=LIBRARY_PATH
 
17002
  shlibpath_overrides_runpath=yes
 
17003
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
17004
  hardcode_into_libs=yes
 
17005
  ;;
 
17006
 
15731
17007
hpux9* | hpux10* | hpux11*)
15732
17008
  # Give a soname corresponding to the major version so that dld.sl refuses to
15733
17009
  # link against other versions.
15770
17046
    soname_spec='${libname}${release}${shared_ext}$major'
15771
17047
    ;;
15772
17048
  esac
15773
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
17049
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15774
17050
  postinstall_cmds='chmod 555 $lib'
 
17051
  # or fails outright, so override atomically:
 
17052
  install_override_mode=555
15775
17053
  ;;
15776
17054
 
15777
17055
interix[3-9]*)
15829
17107
  ;;
15830
17108
 
15831
17109
# This must be Linux ELF.
15832
 
linux* | k*bsd*-gnu)
 
17110
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15833
17111
  version_type=linux
15834
17112
  need_lib_prefix=no
15835
17113
  need_version=no
15838
17116
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15839
17117
  shlibpath_var=LD_LIBRARY_PATH
15840
17118
  shlibpath_overrides_runpath=no
 
17119
 
15841
17120
  # Some binutils ld are patched to set DT_RUNPATH
15842
 
  save_LDFLAGS=$LDFLAGS
15843
 
  save_libdir=$libdir
15844
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15845
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15846
 
  cat > conftest.$ac_ext <<_ACEOF
 
17121
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
17122
  $as_echo_n "(cached) " >&6
 
17123
else
 
17124
  lt_cv_shlibpath_overrides_runpath=no
 
17125
    save_LDFLAGS=$LDFLAGS
 
17126
    save_libdir=$libdir
 
17127
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
 
17128
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
 
17129
    cat > conftest.$ac_ext <<_ACEOF
15847
17130
      program main
15848
17131
 
15849
17132
      end
15850
17133
_ACEOF
15851
17134
if ac_fn_fc_try_link "$LINENO"; then :
15852
17135
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15853
 
  shlibpath_overrides_runpath=yes
 
17136
  lt_cv_shlibpath_overrides_runpath=yes
15854
17137
fi
15855
17138
fi
15856
17139
rm -f core conftest.err conftest.$ac_objext \
15857
17140
    conftest$ac_exeext conftest.$ac_ext
15858
 
  LDFLAGS=$save_LDFLAGS
15859
 
  libdir=$save_libdir
 
17141
    LDFLAGS=$save_LDFLAGS
 
17142
    libdir=$save_libdir
 
17143
 
 
17144
fi
 
17145
 
 
17146
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15860
17147
 
15861
17148
  # This implies no fast_install, which is unacceptable.
15862
17149
  # Some rework will be needed to allow for fast_install
15863
17150
  # before this can be enabled.
15864
17151
  hardcode_into_libs=yes
15865
17152
 
 
17153
  # Add ABI-specific directories to the system library path.
 
17154
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
17155
 
15866
17156
  # Append ld.so.conf contents to the search path
15867
17157
  if test -f /etc/ld.so.conf; then
15868
 
    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' ' '`
15869
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
17158
    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;s/"//g;/^$/d' | tr '\n' ' '`
 
17159
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
17160
 
15870
17161
  fi
15871
17162
 
15872
17163
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15878
17169
  dynamic_linker='GNU/Linux ld.so'
15879
17170
  ;;
15880
17171
 
15881
 
netbsdelf*-gnu)
15882
 
  version_type=linux
15883
 
  need_lib_prefix=no
15884
 
  need_version=no
15885
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15886
 
  soname_spec='${libname}${release}${shared_ext}$major'
15887
 
  shlibpath_var=LD_LIBRARY_PATH
15888
 
  shlibpath_overrides_runpath=no
15889
 
  hardcode_into_libs=yes
15890
 
  dynamic_linker='NetBSD ld.elf_so'
15891
 
  ;;
15892
 
 
15893
17172
netbsd*)
15894
17173
  version_type=sunos
15895
17174
  need_lib_prefix=no
16129
17408
 
16130
17409
 
16131
17410
 
 
17411
 
 
17412
 
16132
17413
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16133
17414
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16134
17415
hardcode_action_FC=
16176
17457
  fi # test -n "$compiler"
16177
17458
 
16178
17459
  GCC=$lt_save_GCC
16179
 
  CC="$lt_save_CC"
 
17460
  CC=$lt_save_CC
 
17461
  CFLAGS=$lt_save_CFLAGS
16180
17462
fi # test "$_lt_disable_FC" != yes
16181
17463
 
16182
17464
ac_ext=c
16216
17498
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16217
17499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16218
17500
$as_echo_n "checking for $ac_word... " >&6; }
16219
 
if test "${ac_cv_prog_F77+set}" = set; then :
 
17501
if ${ac_cv_prog_F77+:} false; then :
16220
17502
  $as_echo_n "(cached) " >&6
16221
17503
else
16222
17504
  if test -n "$F77"; then
16260
17542
set dummy $ac_prog; ac_word=$2
16261
17543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16262
17544
$as_echo_n "checking for $ac_word... " >&6; }
16263
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
 
17545
if ${ac_cv_prog_ac_ct_F77+:} false; then :
16264
17546
  $as_echo_n "(cached) " >&6
16265
17547
else
16266
17548
  if test -n "$ac_ct_F77"; then
16342
17624
ac_ext=F
16343
17625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
16344
17626
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
16345
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
 
17627
if ${ac_cv_f77_compiler_gnu+:} false; then :
16346
17628
  $as_echo_n "(cached) " >&6
16347
17629
else
16348
17630
  cat > conftest.$ac_ext <<_ACEOF
16370
17652
FFLAGS=
16371
17653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
16372
17654
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
16373
 
if test "${ac_cv_prog_f77_g+set}" = set; then :
 
17655
if ${ac_cv_prog_f77_g+:} false; then :
16374
17656
  $as_echo_n "(cached) " >&6
16375
17657
else
16376
17658
  FFLAGS=-g
16416
17698
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16417
17699
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16418
17700
 
16419
 
 
16420
 
ac_ext=f
 
17701
      ac_ext=f
16421
17702
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16422
17703
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16423
17704
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16424
 
if test -n "$ac_tool_prefix"; then
16425
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn
16426
 
  do
16427
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16428
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16429
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16430
 
$as_echo_n "checking for $ac_word... " >&6; }
16431
 
if test "${ac_cv_prog_F77+set}" = set; then :
16432
 
  $as_echo_n "(cached) " >&6
16433
 
else
16434
 
  if test -n "$F77"; then
16435
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
16436
 
else
16437
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16438
 
for as_dir in $PATH
16439
 
do
16440
 
  IFS=$as_save_IFS
16441
 
  test -z "$as_dir" && as_dir=.
16442
 
    for ac_exec_ext in '' $ac_executable_extensions; do
16443
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16444
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
16445
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16446
 
    break 2
16447
 
  fi
16448
 
done
16449
 
  done
16450
 
IFS=$as_save_IFS
16451
 
 
16452
 
fi
16453
 
fi
16454
 
F77=$ac_cv_prog_F77
16455
 
if test -n "$F77"; then
16456
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
16457
 
$as_echo "$F77" >&6; }
16458
 
else
16459
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16460
 
$as_echo "no" >&6; }
16461
 
fi
16462
 
 
16463
 
 
16464
 
    test -n "$F77" && break
16465
 
  done
16466
 
fi
16467
 
if test -z "$F77"; then
16468
 
  ac_ct_F77=$F77
16469
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn
16470
 
do
16471
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
16472
 
set dummy $ac_prog; ac_word=$2
16473
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16474
 
$as_echo_n "checking for $ac_word... " >&6; }
16475
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
16476
 
  $as_echo_n "(cached) " >&6
16477
 
else
16478
 
  if test -n "$ac_ct_F77"; then
16479
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
16480
 
else
16481
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16482
 
for as_dir in $PATH
16483
 
do
16484
 
  IFS=$as_save_IFS
16485
 
  test -z "$as_dir" && as_dir=.
16486
 
    for ac_exec_ext in '' $ac_executable_extensions; do
16487
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16488
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
16489
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16490
 
    break 2
16491
 
  fi
16492
 
done
16493
 
  done
16494
 
IFS=$as_save_IFS
16495
 
 
16496
 
fi
16497
 
fi
16498
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
16499
 
if test -n "$ac_ct_F77"; then
16500
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
16501
 
$as_echo "$ac_ct_F77" >&6; }
16502
 
else
16503
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16504
 
$as_echo "no" >&6; }
16505
 
fi
16506
 
 
16507
 
 
16508
 
  test -n "$ac_ct_F77" && break
16509
 
done
16510
 
 
16511
 
  if test "x$ac_ct_F77" = x; then
16512
 
    F77=""
16513
 
  else
16514
 
    case $cross_compiling:$ac_tool_warned in
16515
 
yes:)
16516
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16517
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16518
 
ac_tool_warned=yes ;;
16519
 
esac
16520
 
    F77=$ac_ct_F77
16521
 
  fi
16522
 
fi
16523
 
 
16524
 
 
16525
 
# Provide some information about the compiler.
16526
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
16527
 
set X $ac_compile
16528
 
ac_compiler=$2
16529
 
for ac_option in --version -v -V -qversion; do
16530
 
  { { ac_try="$ac_compiler $ac_option >&5"
16531
 
case "(($ac_try" in
16532
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533
 
  *) ac_try_echo=$ac_try;;
16534
 
esac
16535
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16536
 
$as_echo "$ac_try_echo"; } >&5
16537
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16538
 
  ac_status=$?
16539
 
  if test -s conftest.err; then
16540
 
    sed '10a\
16541
 
... rest of stderr output deleted ...
16542
 
         10q' conftest.err >conftest.er1
16543
 
    cat conftest.er1 >&5
16544
 
  fi
16545
 
  rm -f conftest.er1 conftest.err
16546
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16547
 
  test $ac_status = 0; }
16548
 
done
16549
 
rm -f a.out
16550
 
 
16551
 
# If we don't use `.F' as extension, the preprocessor is not run on the
16552
 
# input file.  (Note that this only needs to work for GNU compilers.)
16553
 
ac_save_ext=$ac_ext
16554
 
ac_ext=F
16555
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
16556
 
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
16557
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
16558
 
  $as_echo_n "(cached) " >&6
16559
 
else
16560
 
  cat > conftest.$ac_ext <<_ACEOF
16561
 
      program main
16562
 
#ifndef __GNUC__
16563
 
       choke me
16564
 
#endif
16565
 
 
16566
 
      end
16567
 
_ACEOF
16568
 
if ac_fn_f77_try_compile "$LINENO"; then :
16569
 
  ac_compiler_gnu=yes
16570
 
else
16571
 
  ac_compiler_gnu=no
16572
 
fi
16573
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16574
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
16575
 
 
16576
 
fi
16577
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
16578
 
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
16579
 
ac_ext=$ac_save_ext
16580
 
ac_test_FFLAGS=${FFLAGS+set}
16581
 
ac_save_FFLAGS=$FFLAGS
16582
 
FFLAGS=
16583
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
16584
 
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
16585
 
if test "${ac_cv_prog_f77_g+set}" = set; then :
16586
 
  $as_echo_n "(cached) " >&6
16587
 
else
16588
 
  FFLAGS=-g
16589
 
cat > conftest.$ac_ext <<_ACEOF
16590
 
      program main
16591
 
 
16592
 
      end
16593
 
_ACEOF
16594
 
if ac_fn_f77_try_compile "$LINENO"; then :
16595
 
  ac_cv_prog_f77_g=yes
16596
 
else
16597
 
  ac_cv_prog_f77_g=no
16598
 
fi
16599
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16600
 
 
16601
 
fi
16602
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
16603
 
$as_echo "$ac_cv_prog_f77_g" >&6; }
16604
 
if test "$ac_test_FFLAGS" = set; then
16605
 
  FFLAGS=$ac_save_FFLAGS
16606
 
elif test $ac_cv_prog_f77_g = yes; then
16607
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16608
 
    FFLAGS="-g -O2"
16609
 
  else
16610
 
    FFLAGS="-g"
16611
 
  fi
16612
 
else
16613
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16614
 
    FFLAGS="-O2"
16615
 
  else
16616
 
    FFLAGS=
16617
 
  fi
16618
 
fi
16619
 
 
16620
 
if test $ac_compiler_gnu = yes; then
16621
 
  G77=yes
16622
 
else
16623
 
  G77=
16624
 
fi
16625
 
ac_ext=c
16626
 
ac_cpp='$CPP $CPPFLAGS'
16627
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16628
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16629
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16630
17705
 
16631
17706
if test -z "$F77" || test "X$F77" = "Xno"; then
16632
17707
  _lt_disable_F77=yes
16633
17708
fi
16634
17709
 
16635
 
 
16636
 
 
16637
 
      ac_ext=f
16638
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16639
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16640
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16641
 
 
16642
 
 
16643
17710
archive_cmds_need_lc_F77=no
16644
17711
allow_undefined_flag_F77=
16645
17712
always_export_symbols_F77=no
16657
17724
module_expsym_cmds_F77=
16658
17725
link_all_deplibs_F77=unknown
16659
17726
old_archive_cmds_F77=$old_archive_cmds
 
17727
reload_flag_F77=$reload_flag
 
17728
reload_cmds_F77=$reload_cmds
16660
17729
no_undefined_flag_F77=
16661
17730
whole_archive_flag_spec_F77=
16662
17731
enable_shared_with_static_runtimes_F77=no
16720
17789
  # Allow CC to be a program name with arguments.
16721
17790
  lt_save_CC="$CC"
16722
17791
  lt_save_GCC=$GCC
 
17792
  lt_save_CFLAGS=$CFLAGS
16723
17793
  CC=${F77-"f77"}
 
17794
  CFLAGS=$FFLAGS
16724
17795
  compiler=$CC
16725
17796
  compiler_F77=$CC
16726
17797
  for cc_temp in $compiler""; do
16731
17802
    *) break;;
16732
17803
  esac
16733
17804
done
16734
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
17805
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16735
17806
 
16736
17807
  GCC=$G77
16737
17808
  if test -n "$compiler"; then
16781
17852
lt_prog_compiler_pic_F77=
16782
17853
lt_prog_compiler_static_F77=
16783
17854
 
16784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16785
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16786
17855
 
16787
17856
  if test "$GCC" = yes; then
16788
17857
    lt_prog_compiler_wl_F77='-Wl,'
16830
17899
      lt_prog_compiler_pic_F77='-fno-common'
16831
17900
      ;;
16832
17901
 
 
17902
    haiku*)
 
17903
      # PIC is the default for Haiku.
 
17904
      # The "-static" flag exists, but is broken.
 
17905
      lt_prog_compiler_static_F77=
 
17906
      ;;
 
17907
 
16833
17908
    hpux*)
16834
17909
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16835
17910
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16872
17947
      lt_prog_compiler_pic_F77='-fPIC'
16873
17948
      ;;
16874
17949
    esac
 
17950
 
 
17951
    case $cc_basename in
 
17952
    nvcc*) # Cuda Compiler Driver 2.2
 
17953
      lt_prog_compiler_wl_F77='-Xlinker '
 
17954
      lt_prog_compiler_pic_F77='-Xcompiler -fPIC'
 
17955
      ;;
 
17956
    esac
16875
17957
  else
16876
17958
    # PORTME Check for flag to pass linker flags through the system compiler.
16877
17959
    case $host_os in
16913
17995
      lt_prog_compiler_static_F77='-non_shared'
16914
17996
      ;;
16915
17997
 
16916
 
    linux* | k*bsd*-gnu)
 
17998
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
16917
17999
      case $cc_basename in
16918
18000
      # old Intel for x86_64 which still supported -KPIC.
16919
18001
      ecc*)
16934
18016
        lt_prog_compiler_pic_F77='--shared'
16935
18017
        lt_prog_compiler_static_F77='--static'
16936
18018
        ;;
16937
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
18019
      nagfor*)
 
18020
        # NAG Fortran compiler
 
18021
        lt_prog_compiler_wl_F77='-Wl,-Wl,,'
 
18022
        lt_prog_compiler_pic_F77='-PIC'
 
18023
        lt_prog_compiler_static_F77='-Bstatic'
 
18024
        ;;
 
18025
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
16938
18026
        # Portland Group compilers (*not* the Pentium gcc compiler,
16939
18027
        # which looks to be a dead project)
16940
18028
        lt_prog_compiler_wl_F77='-Wl,'
16946
18034
        # All Alpha code is PIC.
16947
18035
        lt_prog_compiler_static_F77='-non_shared'
16948
18036
        ;;
16949
 
      xl*)
16950
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
18037
      xl* | bgxl* | bgf* | mpixl*)
 
18038
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
16951
18039
        lt_prog_compiler_wl_F77='-Wl,'
16952
18040
        lt_prog_compiler_pic_F77='-qpic'
16953
18041
        lt_prog_compiler_static_F77='-qstaticlink'
16954
18042
        ;;
16955
18043
      *)
16956
18044
        case `$CC -V 2>&1 | sed 5q` in
 
18045
        *Sun\ F* | *Sun*Fortran*)
 
18046
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
18047
          lt_prog_compiler_pic_F77='-KPIC'
 
18048
          lt_prog_compiler_static_F77='-Bstatic'
 
18049
          lt_prog_compiler_wl_F77=''
 
18050
          ;;
16957
18051
        *Sun\ C*)
16958
18052
          # Sun C 5.9
16959
18053
          lt_prog_compiler_pic_F77='-KPIC'
16960
18054
          lt_prog_compiler_static_F77='-Bstatic'
16961
18055
          lt_prog_compiler_wl_F77='-Wl,'
16962
18056
          ;;
16963
 
        *Sun\ F*)
16964
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
16965
 
          lt_prog_compiler_pic_F77='-KPIC'
16966
 
          lt_prog_compiler_static_F77='-Bstatic'
16967
 
          lt_prog_compiler_wl_F77=''
16968
 
          ;;
16969
18057
        esac
16970
18058
        ;;
16971
18059
      esac
16996
18084
      lt_prog_compiler_pic_F77='-KPIC'
16997
18085
      lt_prog_compiler_static_F77='-Bstatic'
16998
18086
      case $cc_basename in
16999
 
      f77* | f90* | f95*)
 
18087
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
17000
18088
        lt_prog_compiler_wl_F77='-Qoption ld ';;
17001
18089
      *)
17002
18090
        lt_prog_compiler_wl_F77='-Wl,';;
17053
18141
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17054
18142
    ;;
17055
18143
esac
17056
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_F77" >&5
17057
 
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
17058
 
 
17059
 
 
 
18144
 
 
18145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
18146
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
18147
if ${lt_cv_prog_compiler_pic_F77+:} false; then :
 
18148
  $as_echo_n "(cached) " >&6
 
18149
else
 
18150
  lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77
 
18151
fi
 
18152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5
 
18153
$as_echo "$lt_cv_prog_compiler_pic_F77" >&6; }
 
18154
lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77
17060
18155
 
17061
18156
#
17062
18157
# Check to make sure the PIC flag actually works.
17064
18159
if test -n "$lt_prog_compiler_pic_F77"; then
17065
18160
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17066
18161
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
17067
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then :
 
18162
if ${lt_cv_prog_compiler_pic_works_F77+:} false; then :
17068
18163
  $as_echo_n "(cached) " >&6
17069
18164
else
17070
18165
  lt_cv_prog_compiler_pic_works_F77=no
17080
18175
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17081
18176
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17082
18177
   -e 's:$: $lt_compiler_flag:'`
17083
 
   (eval echo "\"\$as_me:17083: $lt_compile\"" >&5)
 
18178
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17084
18179
   (eval "$lt_compile" 2>conftest.err)
17085
18180
   ac_status=$?
17086
18181
   cat conftest.err >&5
17087
 
   echo "$as_me:17087: \$? = $ac_status" >&5
 
18182
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088
18183
   if (exit $ac_status) && test -s "$ac_outfile"; then
17089
18184
     # The compiler can only warn and ignore the option if not recognized
17090
18185
     # So say no if there are warnings other than the usual output.
17091
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
18186
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
17092
18187
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17093
18188
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17094
18189
       lt_cv_prog_compiler_pic_works_F77=yes
17114
18209
 
17115
18210
 
17116
18211
 
 
18212
 
 
18213
 
17117
18214
#
17118
18215
# Check to make sure the static flag actually works.
17119
18216
#
17120
18217
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
17121
18218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17122
18219
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17123
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then :
 
18220
if ${lt_cv_prog_compiler_static_works_F77+:} false; then :
17124
18221
  $as_echo_n "(cached) " >&6
17125
18222
else
17126
18223
  lt_cv_prog_compiler_static_works_F77=no
17133
18230
     if test -s conftest.err; then
17134
18231
       # Append any errors to the config.log.
17135
18232
       cat conftest.err 1>&5
17136
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
18233
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
17137
18234
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17138
18235
       if diff conftest.exp conftest.er2 >/dev/null; then
17139
18236
         lt_cv_prog_compiler_static_works_F77=yes
17160
18257
 
17161
18258
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17162
18259
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17163
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then :
 
18260
if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
17164
18261
  $as_echo_n "(cached) " >&6
17165
18262
else
17166
18263
  lt_cv_prog_compiler_c_o_F77=no
17179
18276
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17180
18277
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17181
18278
   -e 's:$: $lt_compiler_flag:'`
17182
 
   (eval echo "\"\$as_me:17182: $lt_compile\"" >&5)
 
18279
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17183
18280
   (eval "$lt_compile" 2>out/conftest.err)
17184
18281
   ac_status=$?
17185
18282
   cat out/conftest.err >&5
17186
 
   echo "$as_me:17186: \$? = $ac_status" >&5
 
18283
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187
18284
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17188
18285
   then
17189
18286
     # The compiler can only warn and ignore the option if not recognized
17190
18287
     # So say no if there are warnings
17191
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
18288
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17192
18289
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17193
18290
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17194
18291
       lt_cv_prog_compiler_c_o_F77=yes
17212
18309
 
17213
18310
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17214
18311
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17215
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then :
 
18312
if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
17216
18313
  $as_echo_n "(cached) " >&6
17217
18314
else
17218
18315
  lt_cv_prog_compiler_c_o_F77=no
17231
18328
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17232
18329
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17233
18330
   -e 's:$: $lt_compiler_flag:'`
17234
 
   (eval echo "\"\$as_me:17234: $lt_compile\"" >&5)
 
18331
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17235
18332
   (eval "$lt_compile" 2>out/conftest.err)
17236
18333
   ac_status=$?
17237
18334
   cat out/conftest.err >&5
17238
 
   echo "$as_me:17238: \$? = $ac_status" >&5
 
18335
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239
18336
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17240
18337
   then
17241
18338
     # The compiler can only warn and ignore the option if not recognized
17242
18339
     # So say no if there are warnings
17243
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
18340
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17244
18341
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17245
18342
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17246
18343
       lt_cv_prog_compiler_c_o_F77=yes
17347
18444
  openbsd*)
17348
18445
    with_gnu_ld=no
17349
18446
    ;;
17350
 
  linux* | k*bsd*-gnu)
17351
 
    link_all_deplibs_F77=no
17352
 
    ;;
17353
18447
  esac
17354
18448
 
17355
18449
  ld_shlibs_F77=yes
 
18450
 
 
18451
  # On some targets, GNU ld is compatible enough with the native linker
 
18452
  # that we're better off using the native interface for both.
 
18453
  lt_use_gnu_ld_interface=no
17356
18454
  if test "$with_gnu_ld" = yes; then
 
18455
    case $host_os in
 
18456
      aix*)
 
18457
        # The AIX port of GNU ld has always aspired to compatibility
 
18458
        # with the native linker.  However, as the warning in the GNU ld
 
18459
        # block says, versions before 2.19.5* couldn't really create working
 
18460
        # shared libraries, regardless of the interface used.
 
18461
        case `$LD -v 2>&1` in
 
18462
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
18463
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
18464
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
18465
          *)
 
18466
            lt_use_gnu_ld_interface=yes
 
18467
            ;;
 
18468
        esac
 
18469
        ;;
 
18470
      *)
 
18471
        lt_use_gnu_ld_interface=yes
 
18472
        ;;
 
18473
    esac
 
18474
  fi
 
18475
 
 
18476
  if test "$lt_use_gnu_ld_interface" = yes; then
17357
18477
    # If archive_cmds runs LD, not CC, wlarc should be empty
17358
18478
    wlarc='${wl}'
17359
18479
 
17371
18491
    fi
17372
18492
    supports_anon_versioning=no
17373
18493
    case `$LD -v 2>&1` in
 
18494
      *GNU\ gold*) supports_anon_versioning=yes ;;
17374
18495
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17375
18496
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17376
18497
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17386
18507
        ld_shlibs_F77=no
17387
18508
        cat <<_LT_EOF 1>&2
17388
18509
 
17389
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
18510
*** Warning: the GNU linker, at least up to release 2.19, is reported
17390
18511
*** to be unable to reliably create shared libraries on AIX.
17391
18512
*** Therefore, libtool is disabling shared libraries support.  If you
17392
 
*** really care for shared libraries, you may want to modify your PATH
17393
 
*** so that a non-GNU linker is found, and then restart.
 
18513
*** really care for shared libraries, you may want to install binutils
 
18514
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
18515
*** You will then need to restart the configuration process.
17394
18516
 
17395
18517
_LT_EOF
17396
18518
      fi
17426
18548
      # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17427
18549
      # as there is no search path for DLLs.
17428
18550
      hardcode_libdir_flag_spec_F77='-L$libdir'
 
18551
      export_dynamic_flag_spec_F77='${wl}--export-all-symbols'
17429
18552
      allow_undefined_flag_F77=unsupported
17430
18553
      always_export_symbols_F77=no
17431
18554
      enable_shared_with_static_runtimes_F77=yes
17432
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
18555
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
18556
      exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17433
18557
 
17434
18558
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17435
18559
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17447
18571
      fi
17448
18572
      ;;
17449
18573
 
 
18574
    haiku*)
 
18575
      archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18576
      link_all_deplibs_F77=yes
 
18577
      ;;
 
18578
 
17450
18579
    interix[3-9]*)
17451
18580
      hardcode_direct_F77=no
17452
18581
      hardcode_shlibpath_var_F77=no
17462
18591
      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'
17463
18592
      ;;
17464
18593
 
17465
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
18594
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
17466
18595
      tmp_diet=no
17467
18596
      if test "$host_os" = linux-dietlibc; then
17468
18597
        case $cc_basename in
17472
18601
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
17473
18602
         && test "$tmp_diet" = no
17474
18603
      then
17475
 
        tmp_addflag=
 
18604
        tmp_addflag=' $pic_flag'
17476
18605
        tmp_sharedflag='-shared'
17477
18606
        case $cc_basename,$host_cpu in
17478
18607
        pgcc*)                          # Portland Group C compiler
17479
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
18608
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17480
18609
          tmp_addflag=' $pic_flag'
17481
18610
          ;;
17482
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17483
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
18611
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
18612
                                        # Portland Group f77 and f90 compilers
 
18613
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17484
18614
          tmp_addflag=' $pic_flag -Mnomain' ;;
17485
18615
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
17486
18616
          tmp_addflag=' -i_dynamic' ;;
17491
18621
        lf95*)                          # Lahey Fortran 8.1
17492
18622
          whole_archive_flag_spec_F77=
17493
18623
          tmp_sharedflag='--shared' ;;
17494
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
18624
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
17495
18625
          tmp_sharedflag='-qmkshrobj'
17496
18626
          tmp_addflag= ;;
 
18627
        nvcc*)  # Cuda Compiler Driver 2.2
 
18628
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
18629
          compiler_needs_object_F77=yes
 
18630
          ;;
17497
18631
        esac
17498
18632
        case `$CC -V 2>&1 | sed 5q` in
17499
18633
        *Sun\ C*)                       # Sun C 5.9
17500
 
          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'
 
18634
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17501
18635
          compiler_needs_object_F77=yes
17502
18636
          tmp_sharedflag='-G' ;;
17503
18637
        *Sun\ F*)                       # Sun Fortran 8.3
17513
18647
        fi
17514
18648
 
17515
18649
        case $cc_basename in
17516
 
        xlf*)
 
18650
        xlf* | bgf* | bgxlf* | mpixlf*)
17517
18651
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
17518
18652
          whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
17519
18653
          hardcode_libdir_flag_spec_F77=
17520
18654
          hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17521
 
          archive_cmds_F77='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
18655
          archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
17522
18656
          if test "x$supports_anon_versioning" = xyes; then
17523
18657
            archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
17524
18658
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17525
18659
              echo "local: *; };" >> $output_objdir/$libname.ver~
17526
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
18660
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
17527
18661
          fi
17528
18662
          ;;
17529
18663
        esac
17532
18666
      fi
17533
18667
      ;;
17534
18668
 
17535
 
    netbsd* | netbsdelf*-gnu)
 
18669
    netbsd*)
17536
18670
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17537
18671
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17538
18672
        wlarc=
17539
18673
      else
17540
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17541
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
18674
        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18675
        archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17542
18676
      fi
17543
18677
      ;;
17544
18678
 
17556
18690
 
17557
18691
_LT_EOF
17558
18692
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17559
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17560
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
18693
        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18694
        archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17561
18695
      else
17562
18696
        ld_shlibs_F77=no
17563
18697
      fi
17603
18737
 
17604
18738
    *)
17605
18739
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17606
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17607
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
18740
        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18741
        archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17608
18742
      else
17609
18743
        ld_shlibs_F77=no
17610
18744
      fi
17644
18778
      else
17645
18779
        # If we're using GNU nm, then we don't want the "-C" option.
17646
18780
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
18781
        # Also, AIX nm treats weak defined symbols like other global
 
18782
        # defined symbols, whereas GNU nm marks them as "W".
17647
18783
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17648
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
18784
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17649
18785
        else
17650
18786
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17651
18787
        fi
17707
18843
        if test "$aix_use_runtimelinking" = yes; then
17708
18844
          shared_flag="$shared_flag "'${wl}-G'
17709
18845
        fi
17710
 
        link_all_deplibs_F77=no
17711
18846
      else
17712
18847
        # not using gcc
17713
18848
        if test "$host_cpu" = ia64; then
17733
18868
        allow_undefined_flag_F77='-berok'
17734
18869
        # Determine the default libpath from the value encoded in an
17735
18870
        # empty executable.
17736
 
        cat > conftest.$ac_ext <<_ACEOF
 
18871
        if test "${lt_cv_aix_libpath+set}" = set; then
 
18872
  aix_libpath=$lt_cv_aix_libpath
 
18873
else
 
18874
  if ${lt_cv_aix_libpath__F77+:} false; then :
 
18875
  $as_echo_n "(cached) " >&6
 
18876
else
 
18877
  cat > conftest.$ac_ext <<_ACEOF
17737
18878
      program main
17738
18879
 
17739
18880
      end
17740
18881
_ACEOF
17741
18882
if ac_fn_f77_try_link "$LINENO"; then :
17742
18883
 
17743
 
lt_aix_libpath_sed='
17744
 
    /Import File Strings/,/^$/ {
17745
 
        /^0/ {
17746
 
            s/^0  *\(.*\)$/\1/
17747
 
            p
17748
 
        }
17749
 
    }'
17750
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17751
 
# Check for a 64-bit object if we didn't find anything.
17752
 
if test -z "$aix_libpath"; then
17753
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17754
 
fi
 
18884
  lt_aix_libpath_sed='
 
18885
      /Import File Strings/,/^$/ {
 
18886
          /^0/ {
 
18887
              s/^0  *\([^ ]*\) *$/\1/
 
18888
              p
 
18889
          }
 
18890
      }'
 
18891
  lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18892
  # Check for a 64-bit object if we didn't find anything.
 
18893
  if test -z "$lt_cv_aix_libpath__F77"; then
 
18894
    lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18895
  fi
17755
18896
fi
17756
18897
rm -f core conftest.err conftest.$ac_objext \
17757
18898
    conftest$ac_exeext conftest.$ac_ext
17758
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
18899
  if test -z "$lt_cv_aix_libpath__F77"; then
 
18900
    lt_cv_aix_libpath__F77="/usr/lib:/lib"
 
18901
  fi
 
18902
 
 
18903
fi
 
18904
 
 
18905
  aix_libpath=$lt_cv_aix_libpath__F77
 
18906
fi
17759
18907
 
17760
18908
        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17761
 
        archive_expsym_cmds_F77='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
18909
        archive_expsym_cmds_F77='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17762
18910
      else
17763
18911
        if test "$host_cpu" = ia64; then
17764
18912
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17767
18915
        else
17768
18916
         # Determine the default libpath from the value encoded in an
17769
18917
         # empty executable.
17770
 
         cat > conftest.$ac_ext <<_ACEOF
 
18918
         if test "${lt_cv_aix_libpath+set}" = set; then
 
18919
  aix_libpath=$lt_cv_aix_libpath
 
18920
else
 
18921
  if ${lt_cv_aix_libpath__F77+:} false; then :
 
18922
  $as_echo_n "(cached) " >&6
 
18923
else
 
18924
  cat > conftest.$ac_ext <<_ACEOF
17771
18925
      program main
17772
18926
 
17773
18927
      end
17774
18928
_ACEOF
17775
18929
if ac_fn_f77_try_link "$LINENO"; then :
17776
18930
 
17777
 
lt_aix_libpath_sed='
17778
 
    /Import File Strings/,/^$/ {
17779
 
        /^0/ {
17780
 
            s/^0  *\(.*\)$/\1/
17781
 
            p
17782
 
        }
17783
 
    }'
17784
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17785
 
# Check for a 64-bit object if we didn't find anything.
17786
 
if test -z "$aix_libpath"; then
17787
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17788
 
fi
 
18931
  lt_aix_libpath_sed='
 
18932
      /Import File Strings/,/^$/ {
 
18933
          /^0/ {
 
18934
              s/^0  *\([^ ]*\) *$/\1/
 
18935
              p
 
18936
          }
 
18937
      }'
 
18938
  lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18939
  # Check for a 64-bit object if we didn't find anything.
 
18940
  if test -z "$lt_cv_aix_libpath__F77"; then
 
18941
    lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18942
  fi
17789
18943
fi
17790
18944
rm -f core conftest.err conftest.$ac_objext \
17791
18945
    conftest$ac_exeext conftest.$ac_ext
17792
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
18946
  if test -z "$lt_cv_aix_libpath__F77"; then
 
18947
    lt_cv_aix_libpath__F77="/usr/lib:/lib"
 
18948
  fi
 
18949
 
 
18950
fi
 
18951
 
 
18952
  aix_libpath=$lt_cv_aix_libpath__F77
 
18953
fi
17793
18954
 
17794
18955
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17795
18956
          # Warning - without using the other run time loading flags,
17796
18957
          # -berok will link without error, but may produce a broken library.
17797
18958
          no_undefined_flag_F77=' ${wl}-bernotok'
17798
18959
          allow_undefined_flag_F77=' ${wl}-berok'
17799
 
          # Exported symbols can be pulled into shared objects from archives
17800
 
          whole_archive_flag_spec_F77='$convenience'
 
18960
          if test "$with_gnu_ld" = yes; then
 
18961
            # We only use this code for GNU lds that support --whole-archive.
 
18962
            whole_archive_flag_spec_F77='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
18963
          else
 
18964
            # Exported symbols can be pulled into shared objects from archives
 
18965
            whole_archive_flag_spec_F77='$convenience'
 
18966
          fi
17801
18967
          archive_cmds_need_lc_F77=yes
17802
18968
          # This is similar to how AIX traditionally builds its shared libraries.
17803
18969
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17829
18995
      # Microsoft Visual C++.
17830
18996
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17831
18997
      # no search path for DLLs.
17832
 
      hardcode_libdir_flag_spec_F77=' '
17833
 
      allow_undefined_flag_F77=unsupported
17834
 
      # Tell ltmain to make .lib files, not .a files.
17835
 
      libext=lib
17836
 
      # Tell ltmain to make .dll files, not .so files.
17837
 
      shrext_cmds=".dll"
17838
 
      # FIXME: Setting linknames here is a bad hack.
17839
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
17840
 
      # The linker will automatically build a .lib file if we build a DLL.
17841
 
      old_archive_from_new_cmds_F77='true'
17842
 
      # FIXME: Should let the user specify the lib program.
17843
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
17844
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
17845
 
      enable_shared_with_static_runtimes_F77=yes
 
18998
      case $cc_basename in
 
18999
      cl*)
 
19000
        # Native MSVC
 
19001
        hardcode_libdir_flag_spec_F77=' '
 
19002
        allow_undefined_flag_F77=unsupported
 
19003
        always_export_symbols_F77=yes
 
19004
        file_list_spec_F77='@'
 
19005
        # Tell ltmain to make .lib files, not .a files.
 
19006
        libext=lib
 
19007
        # Tell ltmain to make .dll files, not .so files.
 
19008
        shrext_cmds=".dll"
 
19009
        # FIXME: Setting linknames here is a bad hack.
 
19010
        archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
19011
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
19012
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
19013
          else
 
19014
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
19015
          fi~
 
19016
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
19017
          linknames='
 
19018
        # The linker will not automatically build a static lib if we build a DLL.
 
19019
        # _LT_TAGVAR(old_archive_from_new_cmds, F77)='true'
 
19020
        enable_shared_with_static_runtimes_F77=yes
 
19021
        export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
19022
        # Don't use ranlib
 
19023
        old_postinstall_cmds_F77='chmod 644 $oldlib'
 
19024
        postlink_cmds_F77='lt_outputfile="@OUTPUT@"~
 
19025
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
19026
          case $lt_outputfile in
 
19027
            *.exe|*.EXE) ;;
 
19028
            *)
 
19029
              lt_outputfile="$lt_outputfile.exe"
 
19030
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
19031
              ;;
 
19032
          esac~
 
19033
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
19034
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
19035
            $RM "$lt_outputfile.manifest";
 
19036
          fi'
 
19037
        ;;
 
19038
      *)
 
19039
        # Assume MSVC wrapper
 
19040
        hardcode_libdir_flag_spec_F77=' '
 
19041
        allow_undefined_flag_F77=unsupported
 
19042
        # Tell ltmain to make .lib files, not .a files.
 
19043
        libext=lib
 
19044
        # Tell ltmain to make .dll files, not .so files.
 
19045
        shrext_cmds=".dll"
 
19046
        # FIXME: Setting linknames here is a bad hack.
 
19047
        archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
19048
        # The linker will automatically build a .lib file if we build a DLL.
 
19049
        old_archive_from_new_cmds_F77='true'
 
19050
        # FIXME: Should let the user specify the lib program.
 
19051
        old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
19052
        enable_shared_with_static_runtimes_F77=yes
 
19053
        ;;
 
19054
      esac
17846
19055
      ;;
17847
19056
 
17848
19057
    darwin* | rhapsody*)
17852
19061
  hardcode_direct_F77=no
17853
19062
  hardcode_automatic_F77=yes
17854
19063
  hardcode_shlibpath_var_F77=unsupported
17855
 
  whole_archive_flag_spec_F77=''
 
19064
  if test "$lt_cv_ld_force_load" = "yes"; then
 
19065
    whole_archive_flag_spec_F77='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
19066
  else
 
19067
    whole_archive_flag_spec_F77=''
 
19068
  fi
17856
19069
  link_all_deplibs_F77=yes
17857
19070
  allow_undefined_flag_F77="$_lt_dar_allow_undefined"
17858
19071
  case $cc_basename in
17860
19073
     *) _lt_dar_can_shared=$GCC ;;
17861
19074
  esac
17862
19075
  if test "$_lt_dar_can_shared" = "yes"; then
17863
 
    output_verbose_link_cmd=echo
 
19076
    output_verbose_link_cmd=func_echo_all
17864
19077
    archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17865
19078
    module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17866
19079
    archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17903
19116
 
17904
19117
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17905
19118
    freebsd* | dragonfly*)
17906
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
19119
      archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17907
19120
      hardcode_libdir_flag_spec_F77='-R$libdir'
17908
19121
      hardcode_direct_F77=yes
17909
19122
      hardcode_shlibpath_var_F77=no
17911
19124
 
17912
19125
    hpux9*)
17913
19126
      if test "$GCC" = yes; then
17914
 
        archive_cmds_F77='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
19127
        archive_cmds_F77='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17915
19128
      else
17916
19129
        archive_cmds_F77='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17917
19130
      fi
17926
19139
      ;;
17927
19140
 
17928
19141
    hpux10*)
17929
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17930
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
19142
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
19143
        archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17931
19144
      else
17932
19145
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17933
19146
      fi
17945
19158
      ;;
17946
19159
 
17947
19160
    hpux11*)
17948
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
19161
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
17949
19162
        case $host_cpu in
17950
19163
        hppa*64*)
17951
19164
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17952
19165
          ;;
17953
19166
        ia64*)
17954
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
19167
          archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17955
19168
          ;;
17956
19169
        *)
17957
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
19170
          archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17958
19171
          ;;
17959
19172
        esac
17960
19173
      else
17966
19179
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17967
19180
          ;;
17968
19181
        *)
17969
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
19182
        archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17970
19183
          ;;
17971
19184
        esac
17972
19185
      fi
17994
19207
 
17995
19208
    irix5* | irix6* | nonstopux*)
17996
19209
      if test "$GCC" = yes; then
17997
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
19210
        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17998
19211
        # Try to use the -exported_symbol ld option, if it does not
17999
19212
        # work, assume that -exports_file does not work either and
18000
19213
        # implicitly export all symbols.
18001
 
        save_LDFLAGS="$LDFLAGS"
18002
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18003
 
        cat > conftest.$ac_ext <<_ACEOF
18004
 
int foo(void) {}
 
19214
        # This should be the same for all languages, so no per-tag cache variable.
 
19215
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
19216
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
19217
if ${lt_cv_irix_exported_symbol+:} false; then :
 
19218
  $as_echo_n "(cached) " >&6
 
19219
else
 
19220
  save_LDFLAGS="$LDFLAGS"
 
19221
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
19222
           cat > conftest.$ac_ext <<_ACEOF
 
19223
 
 
19224
      subroutine foo
 
19225
      end
18005
19226
_ACEOF
18006
19227
if ac_fn_f77_try_link "$LINENO"; then :
18007
 
  archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
18008
 
 
 
19228
  lt_cv_irix_exported_symbol=yes
 
19229
else
 
19230
  lt_cv_irix_exported_symbol=no
18009
19231
fi
18010
19232
rm -f core conftest.err conftest.$ac_objext \
18011
19233
    conftest$ac_exeext conftest.$ac_ext
18012
 
        LDFLAGS="$save_LDFLAGS"
 
19234
           LDFLAGS="$save_LDFLAGS"
 
19235
fi
 
19236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
19237
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
19238
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
19239
          archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
19240
        fi
18013
19241
      else
18014
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18015
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
19242
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
19243
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
18016
19244
      fi
18017
19245
      archive_cmds_need_lc_F77='no'
18018
19246
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18021
19249
      link_all_deplibs_F77=yes
18022
19250
      ;;
18023
19251
 
18024
 
    netbsd* | netbsdelf*-gnu)
 
19252
    netbsd*)
18025
19253
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18026
19254
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18027
19255
      else
18074
19302
      hardcode_libdir_flag_spec_F77='-L$libdir'
18075
19303
      hardcode_minus_L_F77=yes
18076
19304
      allow_undefined_flag_F77=unsupported
18077
 
      archive_cmds_F77='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
19305
      archive_cmds_F77='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18078
19306
      old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18079
19307
      ;;
18080
19308
 
18081
19309
    osf3*)
18082
19310
      if test "$GCC" = yes; then
18083
19311
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
18084
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
19312
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18085
19313
      else
18086
19314
        allow_undefined_flag_F77=' -expect_unresolved \*'
18087
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
19315
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18088
19316
      fi
18089
19317
      archive_cmds_need_lc_F77='no'
18090
19318
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18094
19322
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18095
19323
      if test "$GCC" = yes; then
18096
19324
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
18097
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
19325
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18098
19326
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18099
19327
      else
18100
19328
        allow_undefined_flag_F77=' -expect_unresolved \*'
18101
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
19329
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18102
19330
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
18103
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
19331
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
18104
19332
 
18105
19333
        # Both c and cxx compiler support -rpath directly
18106
19334
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
18113
19341
      no_undefined_flag_F77=' -z defs'
18114
19342
      if test "$GCC" = yes; then
18115
19343
        wlarc='${wl}'
18116
 
        archive_cmds_F77='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
19344
        archive_cmds_F77='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18117
19345
        archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18118
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
19346
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18119
19347
      else
18120
19348
        case `$CC -V 2>&1` in
18121
19349
        *"Compilers 5.0"*)
18294
19522
      # to ld, don't add -lc before -lgcc.
18295
19523
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18296
19524
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18297
 
      $RM conftest*
18298
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19525
if ${lt_cv_archive_cmds_need_lc_F77+:} false; then :
 
19526
  $as_echo_n "(cached) " >&6
 
19527
else
 
19528
  $RM conftest*
 
19529
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18299
19530
 
18300
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
19531
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18301
19532
  (eval $ac_compile) 2>&5
18302
19533
  ac_status=$?
18303
19534
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18304
19535
  test $ac_status = 0; } 2>conftest.err; then
18305
 
        soname=conftest
18306
 
        lib=conftest
18307
 
        libobjs=conftest.$ac_objext
18308
 
        deplibs=
18309
 
        wl=$lt_prog_compiler_wl_F77
18310
 
        pic_flag=$lt_prog_compiler_pic_F77
18311
 
        compiler_flags=-v
18312
 
        linker_flags=-v
18313
 
        verstring=
18314
 
        output_objdir=.
18315
 
        libname=conftest
18316
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18317
 
        allow_undefined_flag_F77=
18318
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
19536
          soname=conftest
 
19537
          lib=conftest
 
19538
          libobjs=conftest.$ac_objext
 
19539
          deplibs=
 
19540
          wl=$lt_prog_compiler_wl_F77
 
19541
          pic_flag=$lt_prog_compiler_pic_F77
 
19542
          compiler_flags=-v
 
19543
          linker_flags=-v
 
19544
          verstring=
 
19545
          output_objdir=.
 
19546
          libname=conftest
 
19547
          lt_save_allow_undefined_flag=$allow_undefined_flag_F77
 
19548
          allow_undefined_flag_F77=
 
19549
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18319
19550
  (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18320
19551
  ac_status=$?
18321
19552
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18322
19553
  test $ac_status = 0; }
18323
 
        then
18324
 
          archive_cmds_need_lc_F77=no
18325
 
        else
18326
 
          archive_cmds_need_lc_F77=yes
18327
 
        fi
18328
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18329
 
      else
18330
 
        cat conftest.err 1>&5
18331
 
      fi
18332
 
      $RM conftest*
18333
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_F77" >&5
18334
 
$as_echo "$archive_cmds_need_lc_F77" >&6; }
 
19554
          then
 
19555
            lt_cv_archive_cmds_need_lc_F77=no
 
19556
          else
 
19557
            lt_cv_archive_cmds_need_lc_F77=yes
 
19558
          fi
 
19559
          allow_undefined_flag_F77=$lt_save_allow_undefined_flag
 
19560
        else
 
19561
          cat conftest.err 1>&5
 
19562
        fi
 
19563
        $RM conftest*
 
19564
 
 
19565
fi
 
19566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5
 
19567
$as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; }
 
19568
      archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77
18335
19569
      ;;
18336
19570
    esac
18337
19571
  fi
18488
19722
  m68k)
18489
19723
    library_names_spec='$libname.ixlibrary $libname.a'
18490
19724
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
18491
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
19725
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18492
19726
    ;;
18493
19727
  esac
18494
19728
  ;;
18519
19753
  need_version=no
18520
19754
  need_lib_prefix=no
18521
19755
 
18522
 
  case $GCC,$host_os in
18523
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
19756
  case $GCC,$cc_basename in
 
19757
  yes,*)
 
19758
    # gcc
18524
19759
    library_names_spec='$libname.dll.a'
18525
19760
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18526
19761
    postinstall_cmds='base_file=`basename \${file}`~
18541
19776
    cygwin*)
18542
19777
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18543
19778
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18544
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
19779
 
18545
19780
      ;;
18546
19781
    mingw* | cegcc*)
18547
19782
      # MinGW DLLs use traditional 'lib' prefix
18548
19783
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18549
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18550
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18551
 
        # It is most probably a Windows format PATH printed by
18552
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18553
 
        # path with ; separators, and with drive letters. We can handle the
18554
 
        # drive letters (cygwin fileutils understands them), so leave them,
18555
 
        # especially as we might pass files found there to a mingw objdump,
18556
 
        # which wouldn't understand a cygwinified path. Ahh.
18557
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18558
 
      else
18559
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18560
 
      fi
18561
19784
      ;;
18562
19785
    pw32*)
18563
19786
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18564
19787
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18565
19788
      ;;
18566
19789
    esac
 
19790
    dynamic_linker='Win32 ld.exe'
 
19791
    ;;
 
19792
 
 
19793
  *,cl*)
 
19794
    # Native MSVC
 
19795
    libname_spec='$name'
 
19796
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
19797
    library_names_spec='${libname}.dll.lib'
 
19798
 
 
19799
    case $build_os in
 
19800
    mingw*)
 
19801
      sys_lib_search_path_spec=
 
19802
      lt_save_ifs=$IFS
 
19803
      IFS=';'
 
19804
      for lt_path in $LIB
 
19805
      do
 
19806
        IFS=$lt_save_ifs
 
19807
        # Let DOS variable expansion print the short 8.3 style file name.
 
19808
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
19809
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
19810
      done
 
19811
      IFS=$lt_save_ifs
 
19812
      # Convert to MSYS style.
 
19813
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
19814
      ;;
 
19815
    cygwin*)
 
19816
      # Convert to unix form, then to dos form, then back to unix form
 
19817
      # but this time dos style (no spaces!) so that the unix form looks
 
19818
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
19819
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
19820
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
19821
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
19822
      ;;
 
19823
    *)
 
19824
      sys_lib_search_path_spec="$LIB"
 
19825
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
19826
        # It is most probably a Windows format PATH.
 
19827
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
19828
      else
 
19829
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
19830
      fi
 
19831
      # FIXME: find the short name or the path components, as spaces are
 
19832
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
19833
      ;;
 
19834
    esac
 
19835
 
 
19836
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
19837
    postinstall_cmds='base_file=`basename \${file}`~
 
19838
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
19839
      dldir=$destdir/`dirname \$dlpath`~
 
19840
      test -d \$dldir || mkdir -p \$dldir~
 
19841
      $install_prog $dir/$dlname \$dldir/$dlname'
 
19842
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
19843
      dlpath=$dir/\$dldll~
 
19844
       $RM \$dlpath'
 
19845
    shlibpath_overrides_runpath=yes
 
19846
    dynamic_linker='Win32 link.exe'
18567
19847
    ;;
18568
19848
 
18569
19849
  *)
 
19850
    # Assume MSVC wrapper
18570
19851
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
19852
    dynamic_linker='Win32 ld.exe'
18571
19853
    ;;
18572
19854
  esac
18573
 
  dynamic_linker='Win32 ld.exe'
18574
19855
  # FIXME: first we should search . and the directory the executable is in
18575
19856
  shlibpath_var=PATH
18576
19857
  ;;
18656
19937
  hardcode_into_libs=yes
18657
19938
  ;;
18658
19939
 
 
19940
haiku*)
 
19941
  version_type=linux
 
19942
  need_lib_prefix=no
 
19943
  need_version=no
 
19944
  dynamic_linker="$host_os runtime_loader"
 
19945
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
19946
  soname_spec='${libname}${release}${shared_ext}$major'
 
19947
  shlibpath_var=LIBRARY_PATH
 
19948
  shlibpath_overrides_runpath=yes
 
19949
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
19950
  hardcode_into_libs=yes
 
19951
  ;;
 
19952
 
18659
19953
hpux9* | hpux10* | hpux11*)
18660
19954
  # Give a soname corresponding to the major version so that dld.sl refuses to
18661
19955
  # link against other versions.
18698
19992
    soname_spec='${libname}${release}${shared_ext}$major'
18699
19993
    ;;
18700
19994
  esac
18701
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
19995
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18702
19996
  postinstall_cmds='chmod 555 $lib'
 
19997
  # or fails outright, so override atomically:
 
19998
  install_override_mode=555
18703
19999
  ;;
18704
20000
 
18705
20001
interix[3-9]*)
18757
20053
  ;;
18758
20054
 
18759
20055
# This must be Linux ELF.
18760
 
linux* | k*bsd*-gnu)
 
20056
linux* | k*bsd*-gnu | kopensolaris*-gnu)
18761
20057
  version_type=linux
18762
20058
  need_lib_prefix=no
18763
20059
  need_version=no
18766
20062
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18767
20063
  shlibpath_var=LD_LIBRARY_PATH
18768
20064
  shlibpath_overrides_runpath=no
 
20065
 
18769
20066
  # Some binutils ld are patched to set DT_RUNPATH
18770
 
  save_LDFLAGS=$LDFLAGS
18771
 
  save_libdir=$libdir
18772
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
18773
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
18774
 
  cat > conftest.$ac_ext <<_ACEOF
 
20067
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
20068
  $as_echo_n "(cached) " >&6
 
20069
else
 
20070
  lt_cv_shlibpath_overrides_runpath=no
 
20071
    save_LDFLAGS=$LDFLAGS
 
20072
    save_libdir=$libdir
 
20073
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
 
20074
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
 
20075
    cat > conftest.$ac_ext <<_ACEOF
18775
20076
      program main
18776
20077
 
18777
20078
      end
18778
20079
_ACEOF
18779
20080
if ac_fn_f77_try_link "$LINENO"; then :
18780
20081
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
18781
 
  shlibpath_overrides_runpath=yes
 
20082
  lt_cv_shlibpath_overrides_runpath=yes
18782
20083
fi
18783
20084
fi
18784
20085
rm -f core conftest.err conftest.$ac_objext \
18785
20086
    conftest$ac_exeext conftest.$ac_ext
18786
 
  LDFLAGS=$save_LDFLAGS
18787
 
  libdir=$save_libdir
 
20087
    LDFLAGS=$save_LDFLAGS
 
20088
    libdir=$save_libdir
 
20089
 
 
20090
fi
 
20091
 
 
20092
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
18788
20093
 
18789
20094
  # This implies no fast_install, which is unacceptable.
18790
20095
  # Some rework will be needed to allow for fast_install
18791
20096
  # before this can be enabled.
18792
20097
  hardcode_into_libs=yes
18793
20098
 
 
20099
  # Add ABI-specific directories to the system library path.
 
20100
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
20101
 
18794
20102
  # Append ld.so.conf contents to the search path
18795
20103
  if test -f /etc/ld.so.conf; then
18796
 
    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' ' '`
18797
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
20104
    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;s/"//g;/^$/d' | tr '\n' ' '`
 
20105
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
20106
 
18798
20107
  fi
18799
20108
 
18800
20109
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18806
20115
  dynamic_linker='GNU/Linux ld.so'
18807
20116
  ;;
18808
20117
 
18809
 
netbsdelf*-gnu)
18810
 
  version_type=linux
18811
 
  need_lib_prefix=no
18812
 
  need_version=no
18813
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18814
 
  soname_spec='${libname}${release}${shared_ext}$major'
18815
 
  shlibpath_var=LD_LIBRARY_PATH
18816
 
  shlibpath_overrides_runpath=no
18817
 
  hardcode_into_libs=yes
18818
 
  dynamic_linker='NetBSD ld.elf_so'
18819
 
  ;;
18820
 
 
18821
20118
netbsd*)
18822
20119
  version_type=sunos
18823
20120
  need_lib_prefix=no
19057
20354
 
19058
20355
 
19059
20356
 
 
20357
 
 
20358
 
19060
20359
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19061
20360
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19062
20361
hardcode_action_F77=
19105
20404
 
19106
20405
  GCC=$lt_save_GCC
19107
20406
  CC="$lt_save_CC"
 
20407
  CFLAGS="$lt_save_CFLAGS"
19108
20408
fi # test "$_lt_disable_F77" != yes
19109
20409
 
19110
20410
ac_ext=c
19120
20420
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
19121
20421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5
19122
20422
$as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
19123
 
if test "${ac_cv_prog_f77_v+set}" = set; then :
 
20423
if ${ac_cv_prog_f77_v+:} false; then :
19124
20424
  $as_echo_n "(cached) " >&6
19125
20425
else
19126
20426
  cat > conftest.$ac_ext <<_ACEOF
19150
20450
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
19151
20451
# LIBRARY_PATH; skip all such settings.
19152
20452
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
19153
 
  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
 
20453
  sed '/^Driving:/d; /^Configured with:/d;
 
20454
      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
19154
20455
$as_echo "$ac_f77_v_output" >&5
19155
20456
FFLAGS=$ac_save_FFLAGS
19156
20457
 
19215
20516
$as_echo "$ac_cv_prog_f77_v" >&6; }
19216
20517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5
19217
20518
$as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
19218
 
if test "${ac_cv_f77_libs+set}" = set; then :
 
20519
if ${ac_cv_f77_libs+:} false; then :
19219
20520
  $as_echo_n "(cached) " >&6
19220
20521
else
19221
20522
  if test "x$FLIBS" != "x"; then
19240
20541
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
19241
20542
# LIBRARY_PATH; skip all such settings.
19242
20543
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
19243
 
  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
 
20544
  sed '/^Driving:/d; /^Configured with:/d;
 
20545
      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
19244
20546
$as_echo "$ac_f77_v_output" >&5
19245
20547
FFLAGS=$ac_save_FFLAGS
19246
20548
 
19436
20738
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19437
20739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19438
20740
$as_echo_n "checking for $ac_word... " >&6; }
19439
 
if test "${ac_cv_prog_FC+set}" = set; then :
 
20741
if ${ac_cv_prog_FC+:} false; then :
19440
20742
  $as_echo_n "(cached) " >&6
19441
20743
else
19442
20744
  if test -n "$FC"; then
19480
20782
set dummy $ac_prog; ac_word=$2
19481
20783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19482
20784
$as_echo_n "checking for $ac_word... " >&6; }
19483
 
if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
 
20785
if ${ac_cv_prog_ac_ct_FC+:} false; then :
19484
20786
  $as_echo_n "(cached) " >&6
19485
20787
else
19486
20788
  if test -n "$ac_ct_FC"; then
19562
20864
ac_ext=F
19563
20865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
19564
20866
$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
19565
 
if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
 
20867
if ${ac_cv_fc_compiler_gnu+:} false; then :
19566
20868
  $as_echo_n "(cached) " >&6
19567
20869
else
19568
20870
  cat > conftest.$ac_ext <<_ACEOF
19590
20892
FCFLAGS=
19591
20893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
19592
20894
$as_echo_n "checking whether $FC accepts -g... " >&6; }
19593
 
if test "${ac_cv_prog_fc_g+set}" = set; then :
 
20895
if ${ac_cv_prog_fc_g+:} false; then :
19594
20896
  $as_echo_n "(cached) " >&6
19595
20897
else
19596
20898
  FCFLAGS=-g
19637
20939
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
19638
20940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5
19639
20941
$as_echo_n "checking how to get verbose linking output from $FC... " >&6; }
19640
 
if test "${ac_cv_prog_fc_v+set}" = set; then :
 
20942
if ${ac_cv_prog_fc_v+:} false; then :
19641
20943
  $as_echo_n "(cached) " >&6
19642
20944
else
19643
20945
  cat > conftest.$ac_ext <<_ACEOF
19667
20969
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
19668
20970
# LIBRARY_PATH; skip all such settings.
19669
20971
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
19670
 
  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
 
20972
  sed '/^Driving:/d; /^Configured with:/d;
 
20973
      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
19671
20974
$as_echo "$ac_fc_v_output" >&5
19672
20975
FCFLAGS=$ac_save_FCFLAGS
19673
20976
 
19732
21035
$as_echo "$ac_cv_prog_fc_v" >&6; }
19733
21036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5
19734
21037
$as_echo_n "checking for Fortran libraries of $FC... " >&6; }
19735
 
if test "${ac_cv_fc_libs+set}" = set; then :
 
21038
if ${ac_cv_fc_libs+:} false; then :
19736
21039
  $as_echo_n "(cached) " >&6
19737
21040
else
19738
21041
  if test "x$FCLIBS" != "x"; then
19757
21060
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
19758
21061
# LIBRARY_PATH; skip all such settings.
19759
21062
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
19760
 
  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
 
21063
  sed '/^Driving:/d; /^Configured with:/d;
 
21064
      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
19761
21065
$as_echo "$ac_fc_v_output" >&5
19762
21066
FCFLAGS=$ac_save_FCFLAGS
19763
21067
 
19974
21278
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19975
21279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19976
21280
$as_echo_n "checking for $ac_word... " >&6; }
19977
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
21281
if ${ac_cv_prog_CXX+:} false; then :
19978
21282
  $as_echo_n "(cached) " >&6
19979
21283
else
19980
21284
  if test -n "$CXX"; then
20018
21322
set dummy $ac_prog; ac_word=$2
20019
21323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20020
21324
$as_echo_n "checking for $ac_word... " >&6; }
20021
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
21325
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
20022
21326
  $as_echo_n "(cached) " >&6
20023
21327
else
20024
21328
  if test -n "$ac_ct_CXX"; then
20096
21400
 
20097
21401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
20098
21402
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
20099
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
21403
if ${ac_cv_cxx_compiler_gnu+:} false; then :
20100
21404
  $as_echo_n "(cached) " >&6
20101
21405
else
20102
21406
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20133
21437
ac_save_CXXFLAGS=$CXXFLAGS
20134
21438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
20135
21439
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
20136
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
21440
if ${ac_cv_prog_cxx_g+:} false; then :
20137
21441
  $as_echo_n "(cached) " >&6
20138
21442
else
20139
21443
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
20227
21531
  CPP=
20228
21532
fi
20229
21533
if test -z "$CPP"; then
20230
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
21534
  if ${ac_cv_prog_CPP+:} false; then :
20231
21535
  $as_echo_n "(cached) " >&6
20232
21536
else
20233
21537
      # Double quotes because CPP needs to be expanded
20343
21647
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20344
21648
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20345
21649
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
20346
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
21650
See \`config.log' for more details" "$LINENO" 5; }
20347
21651
fi
20348
21652
 
20349
21653
ac_ext=c
20360
21664
# This bug is HP SR number 8606223364.
20361
21665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
20362
21666
$as_echo_n "checking size of long int... " >&6; }
20363
 
if test "${ac_cv_sizeof_long_int+set}" = set; then :
 
21667
if ${ac_cv_sizeof_long_int+:} false; then :
20364
21668
  $as_echo_n "(cached) " >&6
20365
21669
else
20366
21670
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int"        "$ac_includes_default"; then :
20370
21674
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20371
21675
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20372
21676
as_fn_error 77 "cannot compute sizeof (long int)
20373
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
21677
See \`config.log' for more details" "$LINENO" 5; }
20374
21678
   else
20375
21679
     ac_cv_sizeof_long_int=0
20376
21680
   fi
20400
21704
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
20401
21705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5
20402
21706
$as_echo_n "checking how to get verbose linking output from $FC... " >&6; }
20403
 
if test "${ac_cv_prog_fc_v+set}" = set; then :
 
21707
if ${ac_cv_prog_fc_v+:} false; then :
20404
21708
  $as_echo_n "(cached) " >&6
20405
21709
else
20406
21710
  cat > conftest.$ac_ext <<_ACEOF
20430
21734
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
20431
21735
# LIBRARY_PATH; skip all such settings.
20432
21736
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
20433
 
  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
 
21737
  sed '/^Driving:/d; /^Configured with:/d;
 
21738
      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
20434
21739
$as_echo "$ac_fc_v_output" >&5
20435
21740
FCFLAGS=$ac_save_FCFLAGS
20436
21741
 
20495
21800
$as_echo "$ac_cv_prog_fc_v" >&6; }
20496
21801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5
20497
21802
$as_echo_n "checking for Fortran libraries of $FC... " >&6; }
20498
 
if test "${ac_cv_fc_libs+set}" = set; then :
 
21803
if ${ac_cv_fc_libs+:} false; then :
20499
21804
  $as_echo_n "(cached) " >&6
20500
21805
else
20501
21806
  if test "x$FCLIBS" != "x"; then
20520
21825
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
20521
21826
# LIBRARY_PATH; skip all such settings.
20522
21827
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
20523
 
  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
 
21828
  sed '/^Driving:/d; /^Configured with:/d;
 
21829
      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
20524
21830
$as_echo "$ac_fc_v_output" >&5
20525
21831
FCFLAGS=$ac_save_FCFLAGS
20526
21832
 
20709
22015
 
20710
22016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran 77 libraries" >&5
20711
22017
$as_echo_n "checking for dummy main to link with Fortran 77 libraries... " >&6; }
20712
 
if test "${ac_cv_f77_dummy_main+set}" = set; then :
 
22018
if ${ac_cv_f77_dummy_main+:} false; then :
20713
22019
  $as_echo_n "(cached) " >&6
20714
22020
else
20715
22021
  ac_f77_dm_save_LIBS=$LIBS
20806
22112
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20807
22113
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20808
22114
as_fn_error $? "linking to Fortran libraries from C fails
20809
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
22115
See \`config.log' for more details" "$LINENO" 5; }
20810
22116
fi
20811
22117
 
20812
22118
ac_ext=c
20821
22127
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
20822
22128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 name-mangling scheme" >&5
20823
22129
$as_echo_n "checking for Fortran 77 name-mangling scheme... " >&6; }
20824
 
if test "${ac_cv_f77_mangling+set}" = set; then :
 
22130
if ${ac_cv_f77_mangling+:} false; then :
20825
22131
  $as_echo_n "(cached) " >&6
20826
22132
else
20827
22133
  cat > conftest.$ac_ext <<_ACEOF
20968
22274
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20969
22275
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20970
22276
as_fn_error $? "cannot compile a simple Fortran program
20971
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
22277
See \`config.log' for more details" "$LINENO" 5; }
20972
22278
fi
20973
22279
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20974
22280
 
21049
22355
 
21050
22356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
21051
22357
$as_echo_n "checking for main in -lstdc++... " >&6; }
21052
 
if test "${ac_cv_lib_stdcpp_main+set}" = set; then :
 
22358
if ${ac_cv_lib_stdcpp_main+:} false; then :
21053
22359
  $as_echo_n "(cached) " >&6
21054
22360
else
21055
22361
  ac_check_lib_save_LIBS=$LIBS
21085
22391
fi
21086
22392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
21087
22393
$as_echo "$ac_cv_lib_stdcpp_main" >&6; }
21088
 
if test "x$ac_cv_lib_stdcpp_main" = x""yes; then :
 
22394
if test "x$ac_cv_lib_stdcpp_main" = xyes; then :
21089
22395
  cat >>confdefs.h <<_ACEOF
21090
22396
#define HAVE_LIBSTDC__ 1
21091
22397
_ACEOF
21096
22402
 
21097
22403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
21098
22404
$as_echo_n "checking for main in -lm... " >&6; }
21099
 
if test "${ac_cv_lib_m_main+set}" = set; then :
 
22405
if ${ac_cv_lib_m_main+:} false; then :
21100
22406
  $as_echo_n "(cached) " >&6
21101
22407
else
21102
22408
  ac_check_lib_save_LIBS=$LIBS
21132
22438
fi
21133
22439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
21134
22440
$as_echo "$ac_cv_lib_m_main" >&6; }
21135
 
if test "x$ac_cv_lib_m_main" = x""yes; then :
 
22441
if test "x$ac_cv_lib_m_main" = xyes; then :
21136
22442
  cat >>confdefs.h <<_ACEOF
21137
22443
#define HAVE_LIBM 1
21138
22444
_ACEOF
21143
22449
 
21144
22450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
21145
22451
$as_echo_n "checking for main in -lpthread... " >&6; }
21146
 
if test "${ac_cv_lib_pthread_main+set}" = set; then :
 
22452
if ${ac_cv_lib_pthread_main+:} false; then :
21147
22453
  $as_echo_n "(cached) " >&6
21148
22454
else
21149
22455
  ac_check_lib_save_LIBS=$LIBS
21179
22485
fi
21180
22486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
21181
22487
$as_echo "$ac_cv_lib_pthread_main" >&6; }
21182
 
if test "x$ac_cv_lib_pthread_main" = x""yes; then :
 
22488
if test "x$ac_cv_lib_pthread_main" = xyes; then :
21183
22489
  cat >>confdefs.h <<_ACEOF
21184
22490
#define HAVE_LIBPTHREAD 1
21185
22491
_ACEOF
21429
22735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
21430
22736
$as_echo_n "checking for a BSD-compatible install... " >&6; }
21431
22737
if test -z "$INSTALL"; then
21432
 
if test "${ac_cv_path_install+set}" = set; then :
 
22738
if ${ac_cv_path_install+:} false; then :
21433
22739
  $as_echo_n "(cached) " >&6
21434
22740
else
21435
22741
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21509
22815
set dummy gmake; ac_word=$2
21510
22816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21511
22817
$as_echo_n "checking for $ac_word... " >&6; }
21512
 
if test "${ac_cv_prog_MAKE+set}" = set; then :
 
22818
if ${ac_cv_prog_MAKE+:} false; then :
21513
22819
  $as_echo_n "(cached) " >&6
21514
22820
else
21515
22821
  if test -n "$MAKE"; then
21550
22856
set dummy ar; ac_word=$2
21551
22857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21552
22858
$as_echo_n "checking for $ac_word... " >&6; }
21553
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
22859
if ${ac_cv_prog_AR+:} false; then :
21554
22860
  $as_echo_n "(cached) " >&6
21555
22861
else
21556
22862
  if test -n "$AR"; then
21589
22895
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
21590
22896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21591
22897
$as_echo_n "checking for $ac_word... " >&6; }
21592
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
22898
if ${ac_cv_prog_RANLIB+:} false; then :
21593
22899
  $as_echo_n "(cached) " >&6
21594
22900
else
21595
22901
  if test -n "$RANLIB"; then
21629
22935
set dummy ranlib; ac_word=$2
21630
22936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21631
22937
$as_echo_n "checking for $ac_word... " >&6; }
21632
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
22938
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
21633
22939
  $as_echo_n "(cached) " >&6
21634
22940
else
21635
22941
  if test -n "$ac_ct_RANLIB"; then
21812
23118
     :end' >>confcache
21813
23119
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21814
23120
  if test -w "$cache_file"; then
21815
 
    test "x$cache_file" != "x/dev/null" &&
 
23121
    if test "x$cache_file" != "x/dev/null"; then
21816
23122
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21817
23123
$as_echo "$as_me: updating cache $cache_file" >&6;}
21818
 
    cat confcache >$cache_file
 
23124
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
23125
        cat confcache >"$cache_file"
 
23126
      else
 
23127
        case $cache_file in #(
 
23128
        */* | ?:*)
 
23129
          mv -f confcache "$cache_file"$$ &&
 
23130
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
23131
        *)
 
23132
          mv -f confcache "$cache_file" ;;
 
23133
        esac
 
23134
      fi
 
23135
    fi
21819
23136
  else
21820
23137
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21821
23138
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21883
23200
 
21884
23201
 
21885
23202
 
21886
 
: ${CONFIG_STATUS=./config.status}
 
23203
: "${CONFIG_STATUS=./config.status}"
21887
23204
ac_write_fail=0
21888
23205
ac_clean_files_save=$ac_clean_files
21889
23206
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21984
23301
IFS=" ""        $as_nl"
21985
23302
 
21986
23303
# Find who we are.  Look in the path if we contain no directory separator.
 
23304
as_myself=
21987
23305
case $0 in #((
21988
23306
  *[\\/]* ) as_myself=$0 ;;
21989
23307
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22291
23609
# values after options handling.
22292
23610
ac_log="
22293
23611
This file was extended by $as_me, which was
22294
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
23612
generated by GNU Autoconf 2.68.  Invocation command line was
22295
23613
 
22296
23614
  CONFIG_FILES    = $CONFIG_FILES
22297
23615
  CONFIG_HEADERS  = $CONFIG_HEADERS
22348
23666
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22349
23667
ac_cs_version="\\
22350
23668
config.status
22351
 
configured by $0, generated by GNU Autoconf 2.67,
 
23669
configured by $0, generated by GNU Autoconf 2.68,
22352
23670
  with options \\"\$ac_cs_config\\"
22353
23671
 
22354
23672
Copyright (C) 2010 Free Software Foundation, Inc.
22358
23676
ac_pwd='$ac_pwd'
22359
23677
srcdir='$srcdir'
22360
23678
INSTALL='$INSTALL'
 
23679
AWK='$AWK'
22361
23680
test -n "\$AWK" || AWK=awk
22362
23681
_ACEOF
22363
23682
 
22462
23781
sed_quote_subst='$sed_quote_subst'
22463
23782
double_quote_subst='$double_quote_subst'
22464
23783
delay_variable_subst='$delay_variable_subst'
22465
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
22466
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
22467
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
22468
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
22469
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
22470
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
22471
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
22472
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
22473
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
22474
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
22475
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
22476
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
22477
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
22478
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
22479
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
22480
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
22481
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
22482
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
22483
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
22484
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
22485
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
22486
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
22487
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
22488
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
22489
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
22490
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
22491
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
22492
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22493
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
22494
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
22495
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
22496
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
22497
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22498
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
22499
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
22500
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22501
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22502
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22503
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
22504
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22505
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
22506
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
22507
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
22508
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
22509
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
22510
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
22511
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
22512
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
22513
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
22514
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
22515
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
22516
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
22517
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
22518
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
22519
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
22520
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
22521
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
22522
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
22523
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
22524
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
22525
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
22526
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
22527
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22528
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22529
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
22530
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
22531
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22532
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22533
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
22534
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22535
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22536
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22537
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22538
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22539
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22540
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
22541
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22542
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22543
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22544
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
22545
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
22546
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
22547
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
22548
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
22549
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22550
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
22551
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
22552
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
22553
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
22554
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
22555
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22556
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22557
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22558
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22559
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
22560
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
22561
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
22562
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
22563
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
22564
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22565
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22566
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
22567
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22568
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
22569
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22570
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22571
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22572
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22573
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
22574
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
22575
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22576
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22577
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
22578
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
22579
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
22580
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
22581
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
22582
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
22583
 
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
22584
 
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
22585
 
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
22586
 
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
22587
 
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
22588
 
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
22589
 
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22590
 
LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
22591
 
LD_F77='`$ECHO "X$LD_F77" | $Xsed -e "$delay_single_quote_subst"`'
22592
 
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22593
 
old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22594
 
old_archive_cmds_F77='`$ECHO "X$old_archive_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
22595
 
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22596
 
compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
22597
 
compiler_F77='`$ECHO "X$compiler_F77" | $Xsed -e "$delay_single_quote_subst"`'
22598
 
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22599
 
GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
22600
 
GCC_F77='`$ECHO "X$GCC_F77" | $Xsed -e "$delay_single_quote_subst"`'
22601
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22602
 
lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
22603
 
lt_prog_compiler_no_builtin_flag_F77='`$ECHO "X$lt_prog_compiler_no_builtin_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
22604
 
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22605
 
lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
22606
 
lt_prog_compiler_wl_F77='`$ECHO "X$lt_prog_compiler_wl_F77" | $Xsed -e "$delay_single_quote_subst"`'
22607
 
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22608
 
lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
22609
 
lt_prog_compiler_pic_F77='`$ECHO "X$lt_prog_compiler_pic_F77" | $Xsed -e "$delay_single_quote_subst"`'
22610
 
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22611
 
lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
22612
 
lt_prog_compiler_static_F77='`$ECHO "X$lt_prog_compiler_static_F77" | $Xsed -e "$delay_single_quote_subst"`'
22613
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22614
 
lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
22615
 
lt_cv_prog_compiler_c_o_F77='`$ECHO "X$lt_cv_prog_compiler_c_o_F77" | $Xsed -e "$delay_single_quote_subst"`'
22616
 
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22617
 
archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
22618
 
archive_cmds_need_lc_F77='`$ECHO "X$archive_cmds_need_lc_F77" | $Xsed -e "$delay_single_quote_subst"`'
22619
 
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22620
 
enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
22621
 
enable_shared_with_static_runtimes_F77='`$ECHO "X$enable_shared_with_static_runtimes_F77" | $Xsed -e "$delay_single_quote_subst"`'
22622
 
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22623
 
export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22624
 
export_dynamic_flag_spec_F77='`$ECHO "X$export_dynamic_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
22625
 
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22626
 
whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22627
 
whole_archive_flag_spec_F77='`$ECHO "X$whole_archive_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
22628
 
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22629
 
compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
22630
 
compiler_needs_object_F77='`$ECHO "X$compiler_needs_object_F77" | $Xsed -e "$delay_single_quote_subst"`'
22631
 
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22632
 
old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22633
 
old_archive_from_new_cmds_F77='`$ECHO "X$old_archive_from_new_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
22634
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22635
 
old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22636
 
old_archive_from_expsyms_cmds_F77='`$ECHO "X$old_archive_from_expsyms_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
22637
 
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22638
 
archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22639
 
archive_cmds_F77='`$ECHO "X$archive_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
22640
 
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22641
 
archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22642
 
archive_expsym_cmds_F77='`$ECHO "X$archive_expsym_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
22643
 
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22644
 
module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22645
 
module_cmds_F77='`$ECHO "X$module_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
22646
 
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22647
 
module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22648
 
module_expsym_cmds_F77='`$ECHO "X$module_expsym_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
22649
 
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22650
 
with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
22651
 
with_gnu_ld_F77='`$ECHO "X$with_gnu_ld_F77" | $Xsed -e "$delay_single_quote_subst"`'
22652
 
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22653
 
allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
22654
 
allow_undefined_flag_F77='`$ECHO "X$allow_undefined_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
22655
 
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22656
 
no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
22657
 
no_undefined_flag_F77='`$ECHO "X$no_undefined_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
22658
 
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22659
 
hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22660
 
hardcode_libdir_flag_spec_F77='`$ECHO "X$hardcode_libdir_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
22661
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22662
 
hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
22663
 
hardcode_libdir_flag_spec_ld_F77='`$ECHO "X$hardcode_libdir_flag_spec_ld_F77" | $Xsed -e "$delay_single_quote_subst"`'
22664
 
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22665
 
hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
22666
 
hardcode_libdir_separator_F77='`$ECHO "X$hardcode_libdir_separator_F77" | $Xsed -e "$delay_single_quote_subst"`'
22667
 
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22668
 
hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
22669
 
hardcode_direct_F77='`$ECHO "X$hardcode_direct_F77" | $Xsed -e "$delay_single_quote_subst"`'
22670
 
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22671
 
hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
22672
 
hardcode_direct_absolute_F77='`$ECHO "X$hardcode_direct_absolute_F77" | $Xsed -e "$delay_single_quote_subst"`'
22673
 
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22674
 
hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
22675
 
hardcode_minus_L_F77='`$ECHO "X$hardcode_minus_L_F77" | $Xsed -e "$delay_single_quote_subst"`'
22676
 
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22677
 
hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
22678
 
hardcode_shlibpath_var_F77='`$ECHO "X$hardcode_shlibpath_var_F77" | $Xsed -e "$delay_single_quote_subst"`'
22679
 
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22680
 
hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
22681
 
hardcode_automatic_F77='`$ECHO "X$hardcode_automatic_F77" | $Xsed -e "$delay_single_quote_subst"`'
22682
 
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22683
 
inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
22684
 
inherit_rpath_F77='`$ECHO "X$inherit_rpath_F77" | $Xsed -e "$delay_single_quote_subst"`'
22685
 
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22686
 
link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
22687
 
link_all_deplibs_F77='`$ECHO "X$link_all_deplibs_F77" | $Xsed -e "$delay_single_quote_subst"`'
22688
 
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22689
 
fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
22690
 
fix_srcfile_path_F77='`$ECHO "X$fix_srcfile_path_F77" | $Xsed -e "$delay_single_quote_subst"`'
22691
 
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22692
 
always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
22693
 
always_export_symbols_F77='`$ECHO "X$always_export_symbols_F77" | $Xsed -e "$delay_single_quote_subst"`'
22694
 
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22695
 
export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22696
 
export_symbols_cmds_F77='`$ECHO "X$export_symbols_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
22697
 
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22698
 
exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
22699
 
exclude_expsyms_F77='`$ECHO "X$exclude_expsyms_F77" | $Xsed -e "$delay_single_quote_subst"`'
22700
 
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22701
 
include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
22702
 
include_expsyms_F77='`$ECHO "X$include_expsyms_F77" | $Xsed -e "$delay_single_quote_subst"`'
22703
 
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22704
 
prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22705
 
prelink_cmds_F77='`$ECHO "X$prelink_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
22706
 
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22707
 
file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22708
 
file_list_spec_F77='`$ECHO "X$file_list_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
22709
 
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22710
 
hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
22711
 
hardcode_action_F77='`$ECHO "X$hardcode_action_F77" | $Xsed -e "$delay_single_quote_subst"`'
22712
 
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22713
 
compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
22714
 
compiler_lib_search_dirs_F77='`$ECHO "X$compiler_lib_search_dirs_F77" | $Xsed -e "$delay_single_quote_subst"`'
22715
 
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22716
 
predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
22717
 
predep_objects_F77='`$ECHO "X$predep_objects_F77" | $Xsed -e "$delay_single_quote_subst"`'
22718
 
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22719
 
postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
22720
 
postdep_objects_F77='`$ECHO "X$postdep_objects_F77" | $Xsed -e "$delay_single_quote_subst"`'
22721
 
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22722
 
predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
22723
 
predeps_F77='`$ECHO "X$predeps_F77" | $Xsed -e "$delay_single_quote_subst"`'
22724
 
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22725
 
postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
22726
 
postdeps_F77='`$ECHO "X$postdeps_F77" | $Xsed -e "$delay_single_quote_subst"`'
22727
 
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
22728
 
compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
22729
 
compiler_lib_search_path_F77='`$ECHO "X$compiler_lib_search_path_F77" | $Xsed -e "$delay_single_quote_subst"`'
 
23784
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
23785
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
23786
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
23787
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
23788
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
23789
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
23790
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
23791
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
23792
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
23793
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
23794
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
23795
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
23796
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
23797
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
23798
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
23799
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
23800
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
23801
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
23802
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
23803
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
23804
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
23805
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
23806
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
23807
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
23808
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
23809
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
23810
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
23811
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
23812
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
23813
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
23814
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
23815
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
23816
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
23817
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
23818
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
23819
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
23820
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
23821
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
23822
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
23823
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
23824
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
23825
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
23826
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
23827
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
23828
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23829
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23830
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
23831
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
23832
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
23833
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
23834
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
23835
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
23836
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
23837
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
23838
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
23839
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
23840
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
23841
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
23842
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
23843
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
23844
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
23845
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
23846
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
23847
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
23848
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
23849
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
23850
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
23851
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
23852
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
23853
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
23854
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
23855
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
23856
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
23857
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
23858
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
23859
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
23860
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
23861
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
23862
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
23863
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
23864
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
23865
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
23866
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
23867
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
23868
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
23869
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
23870
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
23871
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
23872
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
23873
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
23874
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
23875
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
23876
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
23877
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
23878
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
23879
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
23880
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
23881
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
23882
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
23883
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
23884
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
23885
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
23886
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
23887
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
23888
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
23889
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
23890
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
23891
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
23892
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
23893
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
23894
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
23895
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
23896
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
23897
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
23898
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
23899
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
23900
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
23901
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23902
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23903
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
23904
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
23905
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
23906
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
23907
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
23908
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
23909
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
23910
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
23911
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
23912
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
23913
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
23914
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
 
23915
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
 
23916
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
 
23917
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
 
23918
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
 
23919
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
 
23920
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
 
23921
LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
 
23922
LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`'
 
23923
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23924
reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
 
23925
reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`'
 
23926
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23927
reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
23928
reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
23929
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23930
old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
23931
old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
23932
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
 
23933
compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
 
23934
compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`'
 
23935
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
 
23936
GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
 
23937
GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`'
 
23938
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23939
lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
 
23940
lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`'
 
23941
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
 
23942
lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
 
23943
lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`'
 
23944
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
 
23945
lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
 
23946
lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`'
 
23947
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
 
23948
lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
 
23949
lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`'
 
23950
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
 
23951
lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
 
23952
lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`'
 
23953
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
 
23954
archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
 
23955
archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`'
 
23956
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
 
23957
enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
 
23958
enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`'
 
23959
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23960
export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
 
23961
export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
 
23962
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23963
whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
 
23964
whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
 
23965
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
 
23966
compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
 
23967
compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`'
 
23968
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23969
old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
23970
old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
23971
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23972
old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
23973
old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
23974
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23975
archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
23976
archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
23977
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23978
archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
23979
archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
23980
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23981
module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
23982
module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
23983
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23984
module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
23985
module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
23986
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
23987
with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
 
23988
with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`'
 
23989
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23990
allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
 
23991
allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
 
23992
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23993
no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
 
23994
no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
 
23995
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23996
hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
 
23997
hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
 
23998
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
23999
hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
 
24000
hardcode_libdir_flag_spec_ld_F77='`$ECHO "$hardcode_libdir_flag_spec_ld_F77" | $SED "$delay_single_quote_subst"`'
 
24001
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
 
24002
hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
 
24003
hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`'
 
24004
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
 
24005
hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
 
24006
hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`'
 
24007
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
 
24008
hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
 
24009
hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`'
 
24010
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
 
24011
hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
 
24012
hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`'
 
24013
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
 
24014
hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
 
24015
hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`'
 
24016
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
 
24017
hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
 
24018
hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`'
 
24019
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
 
24020
inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
 
24021
inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`'
 
24022
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
 
24023
link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
 
24024
link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`'
 
24025
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
 
24026
always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
 
24027
always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`'
 
24028
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
24029
export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
24030
export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
24031
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
24032
exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
 
24033
exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`'
 
24034
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
24035
include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
 
24036
include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`'
 
24037
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
24038
prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
24039
prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
24040
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
24041
postlink_cmds_FC='`$ECHO "$postlink_cmds_FC" | $SED "$delay_single_quote_subst"`'
 
24042
postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`'
 
24043
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
24044
file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
 
24045
file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`'
 
24046
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
 
24047
hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
 
24048
hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`'
 
24049
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
 
24050
compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
 
24051
compiler_lib_search_dirs_F77='`$ECHO "$compiler_lib_search_dirs_F77" | $SED "$delay_single_quote_subst"`'
 
24052
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
24053
predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
 
24054
predep_objects_F77='`$ECHO "$predep_objects_F77" | $SED "$delay_single_quote_subst"`'
 
24055
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
24056
postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
 
24057
postdep_objects_F77='`$ECHO "$postdep_objects_F77" | $SED "$delay_single_quote_subst"`'
 
24058
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
 
24059
predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
 
24060
predeps_F77='`$ECHO "$predeps_F77" | $SED "$delay_single_quote_subst"`'
 
24061
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
 
24062
postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
 
24063
postdeps_F77='`$ECHO "$postdeps_F77" | $SED "$delay_single_quote_subst"`'
 
24064
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
 
24065
compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
 
24066
compiler_lib_search_path_F77='`$ECHO "$compiler_lib_search_path_F77" | $SED "$delay_single_quote_subst"`'
22730
24067
 
22731
24068
LTCC='$LTCC'
22732
24069
LTCFLAGS='$LTCFLAGS'
22733
24070
compiler='$compiler_DEFAULT'
22734
24071
 
 
24072
# A function that is used when there is no print builtin or printf.
 
24073
func_fallback_echo ()
 
24074
{
 
24075
  eval 'cat <<_LTECHO_EOF
 
24076
\$1
 
24077
_LTECHO_EOF'
 
24078
}
 
24079
 
22735
24080
# Quote evaled strings.
22736
 
for var in SED \
 
24081
for var in SHELL \
 
24082
ECHO \
 
24083
SED \
22737
24084
GREP \
22738
24085
EGREP \
22739
24086
FGREP \
22746
24093
OBJDUMP \
22747
24094
deplibs_check_method \
22748
24095
file_magic_cmd \
 
24096
file_magic_glob \
 
24097
want_nocaseglob \
 
24098
DLLTOOL \
 
24099
sharedlib_from_linklib_cmd \
22749
24100
AR \
22750
24101
AR_FLAGS \
 
24102
archiver_list_spec \
22751
24103
STRIP \
22752
24104
RANLIB \
22753
24105
CC \
22757
24109
lt_cv_sys_global_symbol_to_cdecl \
22758
24110
lt_cv_sys_global_symbol_to_c_name_address \
22759
24111
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22760
 
SHELL \
22761
 
ECHO \
 
24112
nm_file_list_spec \
22762
24113
lt_prog_compiler_no_builtin_flag \
 
24114
lt_prog_compiler_pic \
22763
24115
lt_prog_compiler_wl \
22764
 
lt_prog_compiler_pic \
22765
24116
lt_prog_compiler_static \
22766
24117
lt_cv_prog_compiler_c_o \
22767
24118
need_locks \
 
24119
MANIFEST_TOOL \
22768
24120
DSYMUTIL \
22769
24121
NMEDIT \
22770
24122
LIPO \
22780
24132
hardcode_libdir_flag_spec \
22781
24133
hardcode_libdir_flag_spec_ld \
22782
24134
hardcode_libdir_separator \
22783
 
fix_srcfile_path \
22784
24135
exclude_expsyms \
22785
24136
include_expsyms \
22786
24137
file_list_spec \
22788
24139
libname_spec \
22789
24140
library_names_spec \
22790
24141
soname_spec \
 
24142
install_override_mode \
22791
24143
finish_eval \
22792
24144
old_striplib \
22793
24145
striplib \
22800
24152
LD_CXX \
22801
24153
LD_FC \
22802
24154
LD_F77 \
 
24155
reload_flag_CXX \
 
24156
reload_flag_FC \
 
24157
reload_flag_F77 \
22803
24158
compiler_CXX \
22804
24159
compiler_FC \
22805
24160
compiler_F77 \
22806
24161
lt_prog_compiler_no_builtin_flag_CXX \
22807
24162
lt_prog_compiler_no_builtin_flag_FC \
22808
24163
lt_prog_compiler_no_builtin_flag_F77 \
 
24164
lt_prog_compiler_pic_CXX \
 
24165
lt_prog_compiler_pic_FC \
 
24166
lt_prog_compiler_pic_F77 \
22809
24167
lt_prog_compiler_wl_CXX \
22810
24168
lt_prog_compiler_wl_FC \
22811
24169
lt_prog_compiler_wl_F77 \
22812
 
lt_prog_compiler_pic_CXX \
22813
 
lt_prog_compiler_pic_FC \
22814
 
lt_prog_compiler_pic_F77 \
22815
24170
lt_prog_compiler_static_CXX \
22816
24171
lt_prog_compiler_static_FC \
22817
24172
lt_prog_compiler_static_F77 \
22845
24200
hardcode_libdir_separator_CXX \
22846
24201
hardcode_libdir_separator_FC \
22847
24202
hardcode_libdir_separator_F77 \
22848
 
fix_srcfile_path_CXX \
22849
 
fix_srcfile_path_FC \
22850
 
fix_srcfile_path_F77 \
22851
24203
exclude_expsyms_CXX \
22852
24204
exclude_expsyms_FC \
22853
24205
exclude_expsyms_F77 \
22875
24227
compiler_lib_search_path_CXX \
22876
24228
compiler_lib_search_path_FC \
22877
24229
compiler_lib_search_path_F77; do
22878
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
24230
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22879
24231
    *[\\\\\\\`\\"\\\$]*)
22880
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
24232
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22881
24233
      ;;
22882
24234
    *)
22883
24235
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22899
24251
module_expsym_cmds \
22900
24252
export_symbols_cmds \
22901
24253
prelink_cmds \
 
24254
postlink_cmds \
22902
24255
postinstall_cmds \
22903
24256
postuninstall_cmds \
22904
24257
finish_cmds \
22905
24258
sys_lib_search_path_spec \
22906
24259
sys_lib_dlsearch_path_spec \
 
24260
reload_cmds_CXX \
 
24261
reload_cmds_FC \
 
24262
reload_cmds_F77 \
22907
24263
old_archive_cmds_CXX \
22908
24264
old_archive_cmds_FC \
22909
24265
old_archive_cmds_F77 \
22930
24286
export_symbols_cmds_F77 \
22931
24287
prelink_cmds_CXX \
22932
24288
prelink_cmds_FC \
22933
 
prelink_cmds_F77; do
22934
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
24289
prelink_cmds_F77 \
 
24290
postlink_cmds_CXX \
 
24291
postlink_cmds_FC \
 
24292
postlink_cmds_F77; do
 
24293
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22935
24294
    *[\\\\\\\`\\"\\\$]*)
22936
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
24295
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22937
24296
      ;;
22938
24297
    *)
22939
24298
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22941
24300
    esac
22942
24301
done
22943
24302
 
22944
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
22945
 
case \$lt_ECHO in
22946
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
22947
 
  ;;
22948
 
esac
22949
 
 
22950
24303
ac_aux_dir='$ac_aux_dir'
22951
24304
xsi_shell='$xsi_shell'
22952
24305
lt_shell_append='$lt_shell_append'
22990
24343
    "diamond/diamond/plugins.py") CONFIG_FILES="$CONFIG_FILES diamond/diamond/plugins.py" ;;
22991
24344
    "diamond/diamond/preprocess.py") CONFIG_FILES="$CONFIG_FILES diamond/diamond/preprocess.py" ;;
22992
24345
 
22993
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
24346
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22994
24347
  esac
22995
24348
done
22996
24349
 
23012
24365
# after its creation but before its name has been assigned to `$tmp'.
23013
24366
$debug ||
23014
24367
{
23015
 
  tmp=
 
24368
  tmp= ac_tmp=
23016
24369
  trap 'exit_status=$?
23017
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
24370
  : "${ac_tmp:=$tmp}"
 
24371
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23018
24372
' 0
23019
24373
  trap 'as_fn_exit 1' 1 2 13 15
23020
24374
}
23022
24376
 
23023
24377
{
23024
24378
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23025
 
  test -n "$tmp" && test -d "$tmp"
 
24379
  test -d "$tmp"
23026
24380
}  ||
23027
24381
{
23028
24382
  tmp=./conf$$-$RANDOM
23029
24383
  (umask 077 && mkdir "$tmp")
23030
24384
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
24385
ac_tmp=$tmp
23031
24386
 
23032
24387
# Set up the scripts for CONFIG_FILES section.
23033
24388
# No need to generate them if there are no CONFIG_FILES.
23049
24404
  ac_cs_awk_cr=$ac_cr
23050
24405
fi
23051
24406
 
23052
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
24407
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23053
24408
_ACEOF
23054
24409
 
23055
24410
 
23077
24432
rm -f conf$$subs.sh
23078
24433
 
23079
24434
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23080
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
24435
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
23081
24436
_ACEOF
23082
24437
sed -n '
23083
24438
h
23125
24480
rm -f conf$$subs.awk
23126
24481
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23127
24482
_ACAWK
23128
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
24483
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
23129
24484
  for (key in S) S_is_set[key] = 1
23130
24485
  FS = ""
23131
24486
 
23157
24512
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
23158
24513
else
23159
24514
  cat
23160
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
24515
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
23161
24516
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
23162
24517
_ACEOF
23163
24518
 
23197
24552
  esac
23198
24553
  case $ac_mode$ac_tag in
23199
24554
  :[FHL]*:*);;
23200
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
24555
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23201
24556
  :[FH]-) ac_tag=-:-;;
23202
24557
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23203
24558
  esac
23216
24571
    for ac_f
23217
24572
    do
23218
24573
      case $ac_f in
23219
 
      -) ac_f="$tmp/stdin";;
 
24574
      -) ac_f="$ac_tmp/stdin";;
23220
24575
      *) # Look for the file first in the build tree, then in the source tree
23221
24576
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
23222
24577
         # because $ac_f cannot contain `:'.
23225
24580
           [\\/$]*) false;;
23226
24581
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23227
24582
           esac ||
23228
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
24583
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23229
24584
      esac
23230
24585
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23231
24586
      as_fn_append ac_file_inputs " '$ac_f'"
23251
24606
    esac
23252
24607
 
23253
24608
    case $ac_tag in
23254
 
    *:-:* | *:-) cat >"$tmp/stdin" \
23255
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
24609
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
24610
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23256
24611
    esac
23257
24612
    ;;
23258
24613
  esac
23382
24737
s&@INSTALL@&$ac_INSTALL&;t t
23383
24738
$ac_datarootdir_hack
23384
24739
"
23385
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
23386
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
24740
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
24741
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23387
24742
 
23388
24743
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23389
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23390
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
24744
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
24745
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
24746
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
23391
24747
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23392
24748
which seems to be undefined.  Please make sure it is defined" >&5
23393
24749
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23394
24750
which seems to be undefined.  Please make sure it is defined" >&2;}
23395
24751
 
23396
 
  rm -f "$tmp/stdin"
 
24752
  rm -f "$ac_tmp/stdin"
23397
24753
  case $ac_file in
23398
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
23399
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
24754
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
24755
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23400
24756
  esac \
23401
24757
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23402
24758
 ;;
23430
24786
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
23431
24787
#
23432
24788
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23433
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
24789
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
24790
#                 Inc.
23434
24791
#   Written by Gordon Matzigkeit, 1996
23435
24792
#
23436
24793
#   This file is part of GNU Libtool.
23478
24835
# Whether or not to optimize for fast installation.
23479
24836
fast_install=$enable_fast_install
23480
24837
 
 
24838
# Shell to use when invoking shell scripts.
 
24839
SHELL=$lt_SHELL
 
24840
 
 
24841
# An echo program that protects backslashes.
 
24842
ECHO=$lt_ECHO
 
24843
 
23481
24844
# The host system.
23482
24845
host_alias=$host_alias
23483
24846
host=$host
23527
24890
# turn newlines into spaces.
23528
24891
NL2SP=$lt_lt_NL2SP
23529
24892
 
23530
 
# How to create reloadable object files.
23531
 
reload_flag=$lt_reload_flag
23532
 
reload_cmds=$lt_reload_cmds
 
24893
# convert \$build file names to \$host format.
 
24894
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
24895
 
 
24896
# convert \$build files to toolchain format.
 
24897
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23533
24898
 
23534
24899
# An object symbol dumper.
23535
24900
OBJDUMP=$lt_OBJDUMP
23537
24902
# Method to check whether dependent libraries are shared objects.
23538
24903
deplibs_check_method=$lt_deplibs_check_method
23539
24904
 
23540
 
# Command to use when deplibs_check_method == "file_magic".
 
24905
# Command to use when deplibs_check_method = "file_magic".
23541
24906
file_magic_cmd=$lt_file_magic_cmd
23542
24907
 
 
24908
# How to find potential files when deplibs_check_method = "file_magic".
 
24909
file_magic_glob=$lt_file_magic_glob
 
24910
 
 
24911
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
24912
want_nocaseglob=$lt_want_nocaseglob
 
24913
 
 
24914
# DLL creation program.
 
24915
DLLTOOL=$lt_DLLTOOL
 
24916
 
 
24917
# Command to associate shared and link libraries.
 
24918
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
24919
 
23543
24920
# The archiver.
23544
24921
AR=$lt_AR
 
24922
 
 
24923
# Flags to create an archive.
23545
24924
AR_FLAGS=$lt_AR_FLAGS
23546
24925
 
 
24926
# How to feed a file listing to the archiver.
 
24927
archiver_list_spec=$lt_archiver_list_spec
 
24928
 
23547
24929
# A symbol stripping program.
23548
24930
STRIP=$lt_STRIP
23549
24931
 
23552
24934
old_postinstall_cmds=$lt_old_postinstall_cmds
23553
24935
old_postuninstall_cmds=$lt_old_postuninstall_cmds
23554
24936
 
 
24937
# Whether to use a lock for old archive extraction.
 
24938
lock_old_archive_extraction=$lock_old_archive_extraction
 
24939
 
23555
24940
# A C compiler.
23556
24941
LTCC=$lt_CC
23557
24942
 
23570
24955
# Transform the output of nm in a C name address pair when lib prefix is needed.
23571
24956
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23572
24957
 
 
24958
# Specify filename containing input files for \$NM.
 
24959
nm_file_list_spec=$lt_nm_file_list_spec
 
24960
 
 
24961
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
24962
lt_sysroot=$lt_sysroot
 
24963
 
23573
24964
# The name of the directory that contains temporary libtool files.
23574
24965
objdir=$objdir
23575
24966
 
23576
 
# Shell to use when invoking shell scripts.
23577
 
SHELL=$lt_SHELL
23578
 
 
23579
 
# An echo program that does not interpret backslashes.
23580
 
ECHO=$lt_ECHO
23581
 
 
23582
24967
# Used to examine libraries when file_magic_cmd begins with "file".
23583
24968
MAGIC_CMD=$MAGIC_CMD
23584
24969
 
23585
24970
# Must we lock files when doing compilation?
23586
24971
need_locks=$lt_need_locks
23587
24972
 
 
24973
# Manifest tool.
 
24974
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
24975
 
23588
24976
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23589
24977
DSYMUTIL=$lt_DSYMUTIL
23590
24978
 
23641
25029
# The coded name of the library, if different from the real name.
23642
25030
soname_spec=$lt_soname_spec
23643
25031
 
 
25032
# Permission mode override for installation of shared libraries.
 
25033
install_override_mode=$lt_install_override_mode
 
25034
 
23644
25035
# Command to use after installation of a shared archive.
23645
25036
postinstall_cmds=$lt_postinstall_cmds
23646
25037
 
23680
25071
# The linker used to build libraries.
23681
25072
LD=$lt_LD
23682
25073
 
 
25074
# How to create reloadable object files.
 
25075
reload_flag=$lt_reload_flag
 
25076
reload_cmds=$lt_reload_cmds
 
25077
 
23683
25078
# Commands used to build an old-style archive.
23684
25079
old_archive_cmds=$lt_old_archive_cmds
23685
25080
 
23692
25087
# Compiler flag to turn off builtin functions.
23693
25088
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23694
25089
 
 
25090
# Additional compiler flags for building library objects.
 
25091
pic_flag=$lt_lt_prog_compiler_pic
 
25092
 
23695
25093
# How to pass a linker flag through the compiler.
23696
25094
wl=$lt_lt_prog_compiler_wl
23697
25095
 
23698
 
# Additional compiler flags for building library objects.
23699
 
pic_flag=$lt_lt_prog_compiler_pic
23700
 
 
23701
25096
# Compiler flag to prevent dynamic linking.
23702
25097
link_static_flag=$lt_lt_prog_compiler_static
23703
25098
 
23784
25179
# Whether libtool must link a program against all its dependency libraries.
23785
25180
link_all_deplibs=$link_all_deplibs
23786
25181
 
23787
 
# Fix the shell variable \$srcfile for the compiler.
23788
 
fix_srcfile_path=$lt_fix_srcfile_path
23789
 
 
23790
25182
# Set to "yes" if exported symbols are required.
23791
25183
always_export_symbols=$always_export_symbols
23792
25184
 
23802
25194
# Commands necessary for linking programs (against libraries) with templates.
23803
25195
prelink_cmds=$lt_prelink_cmds
23804
25196
 
 
25197
# Commands necessary for finishing linking programs.
 
25198
postlink_cmds=$lt_postlink_cmds
 
25199
 
23805
25200
# Specify filename containing input files.
23806
25201
file_list_spec=$lt_file_list_spec
23807
25202
 
23848
25243
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
23849
25244
  # text mode, it properly converts lines to CR/LF.  This bash problem
23850
25245
  # is reportedly fixed, but why not run on old versions too?
23851
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
23852
 
    || (rm -f "$cfgfile"; exit 1)
23853
 
 
23854
 
  case $xsi_shell in
23855
 
  yes)
23856
 
    cat << \_LT_EOF >> "$cfgfile"
23857
 
 
23858
 
# func_dirname file append nondir_replacement
23859
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
23860
 
# otherwise set result to NONDIR_REPLACEMENT.
23861
 
func_dirname ()
23862
 
{
23863
 
  case ${1} in
23864
 
    */*) func_dirname_result="${1%/*}${2}" ;;
23865
 
    *  ) func_dirname_result="${3}" ;;
23866
 
  esac
23867
 
}
23868
 
 
23869
 
# func_basename file
23870
 
func_basename ()
23871
 
{
23872
 
  func_basename_result="${1##*/}"
23873
 
}
23874
 
 
23875
 
# func_dirname_and_basename file append nondir_replacement
23876
 
# perform func_basename and func_dirname in a single function
23877
 
# call:
23878
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
23879
 
#             add APPEND to the result, otherwise set result
23880
 
#             to NONDIR_REPLACEMENT.
23881
 
#             value returned in "$func_dirname_result"
23882
 
#   basename: Compute filename of FILE.
23883
 
#             value retuned in "$func_basename_result"
23884
 
# Implementation must be kept synchronized with func_dirname
23885
 
# and func_basename. For efficiency, we do not delegate to
23886
 
# those functions but instead duplicate the functionality here.
23887
 
func_dirname_and_basename ()
23888
 
{
23889
 
  case ${1} in
23890
 
    */*) func_dirname_result="${1%/*}${2}" ;;
23891
 
    *  ) func_dirname_result="${3}" ;;
23892
 
  esac
23893
 
  func_basename_result="${1##*/}"
23894
 
}
23895
 
 
23896
 
# func_stripname prefix suffix name
23897
 
# strip PREFIX and SUFFIX off of NAME.
23898
 
# PREFIX and SUFFIX must not contain globbing or regex special
23899
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
23900
 
# dot (in which case that matches only a dot).
23901
 
func_stripname ()
23902
 
{
23903
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
23904
 
  # positional parameters, so assign one to ordinary parameter first.
23905
 
  func_stripname_result=${3}
23906
 
  func_stripname_result=${func_stripname_result#"${1}"}
23907
 
  func_stripname_result=${func_stripname_result%"${2}"}
23908
 
}
23909
 
 
23910
 
# func_opt_split
23911
 
func_opt_split ()
23912
 
{
23913
 
  func_opt_split_opt=${1%%=*}
23914
 
  func_opt_split_arg=${1#*=}
23915
 
}
23916
 
 
23917
 
# func_lo2o object
23918
 
func_lo2o ()
23919
 
{
23920
 
  case ${1} in
23921
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
23922
 
    *)    func_lo2o_result=${1} ;;
23923
 
  esac
23924
 
}
23925
 
 
23926
 
# func_xform libobj-or-source
23927
 
func_xform ()
23928
 
{
23929
 
  func_xform_result=${1%.*}.lo
23930
 
}
23931
 
 
23932
 
# func_arith arithmetic-term...
23933
 
func_arith ()
23934
 
{
23935
 
  func_arith_result=$(( $* ))
23936
 
}
23937
 
 
23938
 
# func_len string
23939
 
# STRING may not start with a hyphen.
23940
 
func_len ()
23941
 
{
23942
 
  func_len_result=${#1}
23943
 
}
23944
 
 
23945
 
_LT_EOF
23946
 
    ;;
23947
 
  *) # Bourne compatible functions.
23948
 
    cat << \_LT_EOF >> "$cfgfile"
23949
 
 
23950
 
# func_dirname file append nondir_replacement
23951
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
23952
 
# otherwise set result to NONDIR_REPLACEMENT.
23953
 
func_dirname ()
23954
 
{
23955
 
  # Extract subdirectory from the argument.
23956
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
23957
 
  if test "X$func_dirname_result" = "X${1}"; then
23958
 
    func_dirname_result="${3}"
23959
 
  else
23960
 
    func_dirname_result="$func_dirname_result${2}"
23961
 
  fi
23962
 
}
23963
 
 
23964
 
# func_basename file
23965
 
func_basename ()
23966
 
{
23967
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
23968
 
}
23969
 
 
23970
 
 
23971
 
# func_stripname prefix suffix name
23972
 
# strip PREFIX and SUFFIX off of NAME.
23973
 
# PREFIX and SUFFIX must not contain globbing or regex special
23974
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
23975
 
# dot (in which case that matches only a dot).
23976
 
# func_strip_suffix prefix name
23977
 
func_stripname ()
23978
 
{
23979
 
  case ${2} in
23980
 
    .*) func_stripname_result=`$ECHO "X${3}" \
23981
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
23982
 
    *)  func_stripname_result=`$ECHO "X${3}" \
23983
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
23984
 
  esac
23985
 
}
23986
 
 
23987
 
# sed scripts:
23988
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
23989
 
my_sed_long_arg='1s/^-[^=]*=//'
23990
 
 
23991
 
# func_opt_split
23992
 
func_opt_split ()
23993
 
{
23994
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
23995
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
23996
 
}
23997
 
 
23998
 
# func_lo2o object
23999
 
func_lo2o ()
24000
 
{
24001
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
24002
 
}
24003
 
 
24004
 
# func_xform libobj-or-source
24005
 
func_xform ()
24006
 
{
24007
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
24008
 
}
24009
 
 
24010
 
# func_arith arithmetic-term...
24011
 
func_arith ()
24012
 
{
24013
 
  func_arith_result=`expr "$@"`
24014
 
}
24015
 
 
24016
 
# func_len string
24017
 
# STRING may not start with a hyphen.
24018
 
func_len ()
24019
 
{
24020
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24021
 
}
24022
 
 
24023
 
_LT_EOF
24024
 
esac
24025
 
 
24026
 
case $lt_shell_append in
24027
 
  yes)
24028
 
    cat << \_LT_EOF >> "$cfgfile"
24029
 
 
24030
 
# func_append var value
24031
 
# Append VALUE to the end of shell variable VAR.
24032
 
func_append ()
24033
 
{
24034
 
  eval "$1+=\$2"
24035
 
}
24036
 
_LT_EOF
24037
 
    ;;
24038
 
  *)
24039
 
    cat << \_LT_EOF >> "$cfgfile"
24040
 
 
24041
 
# func_append var value
24042
 
# Append VALUE to the end of shell variable VAR.
24043
 
func_append ()
24044
 
{
24045
 
  eval "$1=\$$1\$2"
24046
 
}
24047
 
 
24048
 
_LT_EOF
24049
 
    ;;
24050
 
  esac
24051
 
 
24052
 
 
24053
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24054
 
    || (rm -f "$cfgfile"; exit 1)
24055
 
 
24056
 
  mv -f "$cfgfile" "$ofile" ||
 
25246
  sed '$q' "$ltmain" >> "$cfgfile" \
 
25247
     || (rm -f "$cfgfile"; exit 1)
 
25248
 
 
25249
  if test x"$xsi_shell" = xyes; then
 
25250
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
25251
func_dirname ()\
 
25252
{\
 
25253
\    case ${1} in\
 
25254
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
25255
\      *  ) func_dirname_result="${3}" ;;\
 
25256
\    esac\
 
25257
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
25258
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25259
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25260
test 0 -eq $? || _lt_function_replace_fail=:
 
25261
 
 
25262
 
 
25263
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
25264
func_basename ()\
 
25265
{\
 
25266
\    func_basename_result="${1##*/}"\
 
25267
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
25268
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25269
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25270
test 0 -eq $? || _lt_function_replace_fail=:
 
25271
 
 
25272
 
 
25273
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
25274
func_dirname_and_basename ()\
 
25275
{\
 
25276
\    case ${1} in\
 
25277
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
25278
\      *  ) func_dirname_result="${3}" ;;\
 
25279
\    esac\
 
25280
\    func_basename_result="${1##*/}"\
 
25281
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
25282
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25283
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25284
test 0 -eq $? || _lt_function_replace_fail=:
 
25285
 
 
25286
 
 
25287
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
25288
func_stripname ()\
 
25289
{\
 
25290
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
25291
\    # positional parameters, so assign one to ordinary parameter first.\
 
25292
\    func_stripname_result=${3}\
 
25293
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
25294
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
25295
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
25296
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25297
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25298
test 0 -eq $? || _lt_function_replace_fail=:
 
25299
 
 
25300
 
 
25301
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
25302
func_split_long_opt ()\
 
25303
{\
 
25304
\    func_split_long_opt_name=${1%%=*}\
 
25305
\    func_split_long_opt_arg=${1#*=}\
 
25306
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
25307
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25308
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25309
test 0 -eq $? || _lt_function_replace_fail=:
 
25310
 
 
25311
 
 
25312
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
25313
func_split_short_opt ()\
 
25314
{\
 
25315
\    func_split_short_opt_arg=${1#??}\
 
25316
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
25317
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
25318
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25319
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25320
test 0 -eq $? || _lt_function_replace_fail=:
 
25321
 
 
25322
 
 
25323
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
25324
func_lo2o ()\
 
25325
{\
 
25326
\    case ${1} in\
 
25327
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
25328
\      *)    func_lo2o_result=${1} ;;\
 
25329
\    esac\
 
25330
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
25331
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25332
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25333
test 0 -eq $? || _lt_function_replace_fail=:
 
25334
 
 
25335
 
 
25336
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
25337
func_xform ()\
 
25338
{\
 
25339
    func_xform_result=${1%.*}.lo\
 
25340
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
25341
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25342
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25343
test 0 -eq $? || _lt_function_replace_fail=:
 
25344
 
 
25345
 
 
25346
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
25347
func_arith ()\
 
25348
{\
 
25349
    func_arith_result=$(( $* ))\
 
25350
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
25351
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25352
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25353
test 0 -eq $? || _lt_function_replace_fail=:
 
25354
 
 
25355
 
 
25356
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
25357
func_len ()\
 
25358
{\
 
25359
    func_len_result=${#1}\
 
25360
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
25361
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25362
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25363
test 0 -eq $? || _lt_function_replace_fail=:
 
25364
 
 
25365
fi
 
25366
 
 
25367
if test x"$lt_shell_append" = xyes; then
 
25368
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
25369
func_append ()\
 
25370
{\
 
25371
    eval "${1}+=\\${2}"\
 
25372
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
25373
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25374
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25375
test 0 -eq $? || _lt_function_replace_fail=:
 
25376
 
 
25377
 
 
25378
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
25379
func_append_quoted ()\
 
25380
{\
 
25381
\    func_quote_for_eval "${2}"\
 
25382
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
25383
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
25384
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25385
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25386
test 0 -eq $? || _lt_function_replace_fail=:
 
25387
 
 
25388
 
 
25389
  # Save a `func_append' function call where possible by direct use of '+='
 
25390
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
25391
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25392
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25393
  test 0 -eq $? || _lt_function_replace_fail=:
 
25394
else
 
25395
  # Save a `func_append' function call even when '+=' is not available
 
25396
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
25397
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25398
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25399
  test 0 -eq $? || _lt_function_replace_fail=:
 
25400
fi
 
25401
 
 
25402
if test x"$_lt_function_replace_fail" = x":"; then
 
25403
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
25404
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
25405
fi
 
25406
 
 
25407
 
 
25408
   mv -f "$cfgfile" "$ofile" ||
24057
25409
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24058
25410
  chmod +x "$ofile"
24059
25411
 
24065
25417
# The linker used to build libraries.
24066
25418
LD=$lt_LD_CXX
24067
25419
 
 
25420
# How to create reloadable object files.
 
25421
reload_flag=$lt_reload_flag_CXX
 
25422
reload_cmds=$lt_reload_cmds_CXX
 
25423
 
24068
25424
# Commands used to build an old-style archive.
24069
25425
old_archive_cmds=$lt_old_archive_cmds_CXX
24070
25426
 
24077
25433
# Compiler flag to turn off builtin functions.
24078
25434
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24079
25435
 
 
25436
# Additional compiler flags for building library objects.
 
25437
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
25438
 
24080
25439
# How to pass a linker flag through the compiler.
24081
25440
wl=$lt_lt_prog_compiler_wl_CXX
24082
25441
 
24083
 
# Additional compiler flags for building library objects.
24084
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
24085
 
 
24086
25442
# Compiler flag to prevent dynamic linking.
24087
25443
link_static_flag=$lt_lt_prog_compiler_static_CXX
24088
25444
 
24169
25525
# Whether libtool must link a program against all its dependency libraries.
24170
25526
link_all_deplibs=$link_all_deplibs_CXX
24171
25527
 
24172
 
# Fix the shell variable \$srcfile for the compiler.
24173
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
24174
 
 
24175
25528
# Set to "yes" if exported symbols are required.
24176
25529
always_export_symbols=$always_export_symbols_CXX
24177
25530
 
24187
25540
# Commands necessary for linking programs (against libraries) with templates.
24188
25541
prelink_cmds=$lt_prelink_cmds_CXX
24189
25542
 
 
25543
# Commands necessary for finishing linking programs.
 
25544
postlink_cmds=$lt_postlink_cmds_CXX
 
25545
 
24190
25546
# Specify filename containing input files.
24191
25547
file_list_spec=$lt_file_list_spec_CXX
24192
25548
 
24218
25574
# The linker used to build libraries.
24219
25575
LD=$lt_LD_FC
24220
25576
 
 
25577
# How to create reloadable object files.
 
25578
reload_flag=$lt_reload_flag_FC
 
25579
reload_cmds=$lt_reload_cmds_FC
 
25580
 
24221
25581
# Commands used to build an old-style archive.
24222
25582
old_archive_cmds=$lt_old_archive_cmds_FC
24223
25583
 
24230
25590
# Compiler flag to turn off builtin functions.
24231
25591
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
24232
25592
 
 
25593
# Additional compiler flags for building library objects.
 
25594
pic_flag=$lt_lt_prog_compiler_pic_FC
 
25595
 
24233
25596
# How to pass a linker flag through the compiler.
24234
25597
wl=$lt_lt_prog_compiler_wl_FC
24235
25598
 
24236
 
# Additional compiler flags for building library objects.
24237
 
pic_flag=$lt_lt_prog_compiler_pic_FC
24238
 
 
24239
25599
# Compiler flag to prevent dynamic linking.
24240
25600
link_static_flag=$lt_lt_prog_compiler_static_FC
24241
25601
 
24322
25682
# Whether libtool must link a program against all its dependency libraries.
24323
25683
link_all_deplibs=$link_all_deplibs_FC
24324
25684
 
24325
 
# Fix the shell variable \$srcfile for the compiler.
24326
 
fix_srcfile_path=$lt_fix_srcfile_path_FC
24327
 
 
24328
25685
# Set to "yes" if exported symbols are required.
24329
25686
always_export_symbols=$always_export_symbols_FC
24330
25687
 
24340
25697
# Commands necessary for linking programs (against libraries) with templates.
24341
25698
prelink_cmds=$lt_prelink_cmds_FC
24342
25699
 
 
25700
# Commands necessary for finishing linking programs.
 
25701
postlink_cmds=$lt_postlink_cmds_FC
 
25702
 
24343
25703
# Specify filename containing input files.
24344
25704
file_list_spec=$lt_file_list_spec_FC
24345
25705
 
24371
25731
# The linker used to build libraries.
24372
25732
LD=$lt_LD_F77
24373
25733
 
 
25734
# How to create reloadable object files.
 
25735
reload_flag=$lt_reload_flag_F77
 
25736
reload_cmds=$lt_reload_cmds_F77
 
25737
 
24374
25738
# Commands used to build an old-style archive.
24375
25739
old_archive_cmds=$lt_old_archive_cmds_F77
24376
25740
 
24383
25747
# Compiler flag to turn off builtin functions.
24384
25748
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
24385
25749
 
 
25750
# Additional compiler flags for building library objects.
 
25751
pic_flag=$lt_lt_prog_compiler_pic_F77
 
25752
 
24386
25753
# How to pass a linker flag through the compiler.
24387
25754
wl=$lt_lt_prog_compiler_wl_F77
24388
25755
 
24389
 
# Additional compiler flags for building library objects.
24390
 
pic_flag=$lt_lt_prog_compiler_pic_F77
24391
 
 
24392
25756
# Compiler flag to prevent dynamic linking.
24393
25757
link_static_flag=$lt_lt_prog_compiler_static_F77
24394
25758
 
24475
25839
# Whether libtool must link a program against all its dependency libraries.
24476
25840
link_all_deplibs=$link_all_deplibs_F77
24477
25841
 
24478
 
# Fix the shell variable \$srcfile for the compiler.
24479
 
fix_srcfile_path=$lt_fix_srcfile_path_F77
24480
 
 
24481
25842
# Set to "yes" if exported symbols are required.
24482
25843
always_export_symbols=$always_export_symbols_F77
24483
25844
 
24493
25854
# Commands necessary for linking programs (against libraries) with templates.
24494
25855
prelink_cmds=$lt_prelink_cmds_F77
24495
25856
 
 
25857
# Commands necessary for finishing linking programs.
 
25858
postlink_cmds=$lt_postlink_cmds_F77
 
25859
 
24496
25860
# Specify filename containing input files.
24497
25861
file_list_spec=$lt_file_list_spec_F77
24498
25862