~ubuntu-branches/ubuntu/oneiric/libgnome-keyring/oneiric-201109060911

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-07-26 16:03:34 UTC
  • mfrom: (0.4.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110726160334-45mez54v7wlonkyy
Tags: 3.1.4-0ubuntu1
New upstream release

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 for libgnome-keyring 3.1.1.
 
3
# Generated by GNU Autoconf 2.68 for libgnome-keyring 3.1.4.
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
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
175
test \$(( 1 + 1 )) = 2 || exit 1
 
176
 
 
177
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
178
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    PATH=/empty FPATH=/empty; export PATH FPATH
 
182
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
183
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
175
184
  if (eval "$as_required") 2>/dev/null; then :
176
185
  as_have_required=yes
177
186
else
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
698
567
# Identity of this package.
699
568
PACKAGE_NAME='libgnome-keyring'
700
569
PACKAGE_TARNAME='libgnome-keyring'
701
 
PACKAGE_VERSION='3.1.1'
702
 
PACKAGE_STRING='libgnome-keyring 3.1.1'
 
570
PACKAGE_VERSION='3.1.4'
 
571
PACKAGE_STRING='libgnome-keyring 3.1.4'
703
572
PACKAGE_BUGREPORT=''
704
573
PACKAGE_URL=''
705
574
 
823
692
LIPO
824
693
NMEDIT
825
694
DSYMUTIL
826
 
lt_ECHO
 
695
MANIFEST_TOOL
827
696
RANLIB
 
697
ac_ct_AR
828
698
AR
 
699
DLLTOOL
829
700
OBJDUMP
830
701
NM
831
702
ac_ct_DUMPBIN
939
810
with_pic
940
811
enable_fast_install
941
812
with_gnu_ld
 
813
with_sysroot
942
814
enable_libtool_lock
943
815
enable_nls
944
816
with_html_dir
1369
1241
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1370
1242
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1371
1243
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1372
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1244
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1373
1245
    ;;
1374
1246
 
1375
1247
  esac
1507
1379
  # Omit some internal or obsolete options to make the list less imposing.
1508
1380
  # This message is too long to be a string in the A/UX 3.1 sh.
1509
1381
  cat <<_ACEOF
1510
 
\`configure' configures libgnome-keyring 3.1.1 to adapt to many kinds of systems.
 
1382
\`configure' configures libgnome-keyring 3.1.4 to adapt to many kinds of systems.
1511
1383
 
1512
1384
Usage: $0 [OPTION]... [VAR=VALUE]...
1513
1385
 
1578
1450
 
1579
1451
if test -n "$ac_init_help"; then
1580
1452
  case $ac_init_help in
1581
 
     short | recursive ) echo "Configuration of libgnome-keyring 3.1.1:";;
 
1453
     short | recursive ) echo "Configuration of libgnome-keyring 3.1.4:";;
1582
1454
   esac
1583
1455
  cat <<\_ACEOF
1584
1456
 
1612
1484
  --with-pic              try to use only PIC/non-PIC objects [default=use
1613
1485
                          both]
1614
1486
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1487
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1488
                        (or the compiler's sysroot if not specified).
1615
1489
  --with-html-dir=PATH    path to installed docs
1616
1490
  --with-libgcrypt-prefix=PFX
1617
1491
                          prefix where LIBGCRYPT is installed (optional)
1701
1575
test -n "$ac_init_help" && exit $ac_status
1702
1576
if $ac_init_version; then
1703
1577
  cat <<\_ACEOF
1704
 
libgnome-keyring configure 3.1.1
1705
 
generated by GNU Autoconf 2.67
 
1578
libgnome-keyring configure 3.1.4
 
1579
generated by GNU Autoconf 2.68
1706
1580
 
1707
1581
Copyright (C) 2010 Free Software Foundation, Inc.
1708
1582
This configure script is free software; the Free Software Foundation
1748
1622
 
1749
1623
        ac_retval=1
1750
1624
fi
1751
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1625
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752
1626
  as_fn_set_status $ac_retval
1753
1627
 
1754
1628
} # ac_fn_c_try_compile
1785
1659
 
1786
1660
    ac_retval=1
1787
1661
fi
1788
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1662
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789
1663
  as_fn_set_status $ac_retval
1790
1664
 
1791
1665
} # ac_fn_c_try_cpp
1798
1672
ac_fn_c_check_header_mongrel ()
1799
1673
{
1800
1674
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1675
  if eval \${$3+:} false; then :
1802
1676
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803
1677
$as_echo_n "checking for $2... " >&6; }
1804
 
if eval "test \"\${$3+set}\"" = set; then :
 
1678
if eval \${$3+:} false; then :
1805
1679
  $as_echo_n "(cached) " >&6
1806
1680
fi
1807
1681
eval ac_res=\$$3
1864
1738
esac
1865
1739
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866
1740
$as_echo_n "checking for $2... " >&6; }
1867
 
if eval "test \"\${$3+set}\"" = set; then :
 
1741
if eval \${$3+:} false; then :
1868
1742
  $as_echo_n "(cached) " >&6
1869
1743
else
1870
1744
  eval "$3=\$ac_header_compiler"
1873
1747
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874
1748
$as_echo "$ac_res" >&6; }
1875
1749
fi
1876
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1750
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877
1751
 
1878
1752
} # ac_fn_c_check_header_mongrel
1879
1753
 
1914
1788
       ac_retval=$ac_status
1915
1789
fi
1916
1790
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1917
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1791
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918
1792
  as_fn_set_status $ac_retval
1919
1793
 
1920
1794
} # ac_fn_c_try_run
1928
1802
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929
1803
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930
1804
$as_echo_n "checking for $2... " >&6; }
1931
 
if eval "test \"\${$3+set}\"" = set; then :
 
1805
if eval \${$3+:} false; then :
1932
1806
  $as_echo_n "(cached) " >&6
1933
1807
else
1934
1808
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946
1820
eval ac_res=\$$3
1947
1821
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948
1822
$as_echo "$ac_res" >&6; }
1949
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1823
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950
1824
 
1951
1825
} # ac_fn_c_check_header_compile
1952
1826
 
1991
1865
  # interfere with the next link command; also delete a directory that is
1992
1866
  # left behind by Apple's compiler.  We do this before executing the actions.
1993
1867
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1994
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1868
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995
1869
  as_fn_set_status $ac_retval
1996
1870
 
1997
1871
} # ac_fn_c_try_link
2004
1878
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005
1879
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2006
1880
$as_echo_n "checking for $2... " >&6; }
2007
 
if eval "test \"\${$3+set}\"" = set; then :
 
1881
if eval \${$3+:} false; then :
2008
1882
  $as_echo_n "(cached) " >&6
2009
1883
else
2010
1884
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059
1933
eval ac_res=\$$3
2060
1934
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061
1935
$as_echo "$ac_res" >&6; }
2062
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1936
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063
1937
 
2064
1938
} # ac_fn_c_check_func
2065
1939
 
2072
1946
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2073
1947
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2074
1948
$as_echo_n "checking for $2... " >&6; }
2075
 
if eval "test \"\${$3+set}\"" = set; then :
 
1949
if eval \${$3+:} false; then :
2076
1950
  $as_echo_n "(cached) " >&6
2077
1951
else
2078
1952
  eval "$3=no"
2113
1987
eval ac_res=\$$3
2114
1988
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115
1989
$as_echo "$ac_res" >&6; }
2116
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1990
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2117
1991
 
2118
1992
} # ac_fn_c_check_type
2119
1993
cat >config.log <<_ACEOF
2120
1994
This file contains any messages produced by compilers while
2121
1995
running configure, to aid debugging if configure makes a mistake.
2122
1996
 
2123
 
It was created by libgnome-keyring $as_me 3.1.1, which was
2124
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
1997
It was created by libgnome-keyring $as_me 3.1.4, which was
 
1998
generated by GNU Autoconf 2.68.  Invocation command line was
2125
1999
 
2126
2000
  $ $0 $@
2127
2001
 
2379
2253
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2380
2254
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2381
2255
as_fn_error $? "failed to load site script $ac_site_file
2382
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2256
See \`config.log' for more details" "$LINENO" 5; }
2383
2257
  fi
2384
2258
done
2385
2259
 
2517
2391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2518
2392
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2519
2393
if test -z "$INSTALL"; then
2520
 
if test "${ac_cv_path_install+set}" = set; then :
 
2394
if ${ac_cv_path_install+:} false; then :
2521
2395
  $as_echo_n "(cached) " >&6
2522
2396
else
2523
2397
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604
2478
'
2605
2479
case `pwd` in
2606
2480
  *[\\\"\#\$\&\'\`$am_lf]*)
2607
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2481
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2608
2482
esac
2609
2483
case $srcdir in
2610
2484
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2611
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2485
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2612
2486
esac
2613
2487
 
2614
2488
# Do `set' in a subshell so we don't clobber the current shell's
2694
2568
set dummy ${ac_tool_prefix}strip; ac_word=$2
2695
2569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696
2570
$as_echo_n "checking for $ac_word... " >&6; }
2697
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2571
if ${ac_cv_prog_STRIP+:} false; then :
2698
2572
  $as_echo_n "(cached) " >&6
2699
2573
else
2700
2574
  if test -n "$STRIP"; then
2734
2608
set dummy strip; ac_word=$2
2735
2609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736
2610
$as_echo_n "checking for $ac_word... " >&6; }
2737
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2611
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2738
2612
  $as_echo_n "(cached) " >&6
2739
2613
else
2740
2614
  if test -n "$ac_ct_STRIP"; then
2787
2661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2788
2662
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2789
2663
if test -z "$MKDIR_P"; then
2790
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2664
  if ${ac_cv_path_mkdir+:} false; then :
2791
2665
  $as_echo_n "(cached) " >&6
2792
2666
else
2793
2667
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838
2712
set dummy $ac_prog; ac_word=$2
2839
2713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840
2714
$as_echo_n "checking for $ac_word... " >&6; }
2841
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2715
if ${ac_cv_prog_AWK+:} false; then :
2842
2716
  $as_echo_n "(cached) " >&6
2843
2717
else
2844
2718
  if test -n "$AWK"; then
2878
2752
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2879
2753
set x ${MAKE-make}
2880
2754
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2881
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2755
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2882
2756
  $as_echo_n "(cached) " >&6
2883
2757
else
2884
2758
  cat >conftest.make <<\_ACEOF
2936
2810
 
2937
2811
# Define the identity of the package.
2938
2812
 PACKAGE='libgnome-keyring'
2939
 
 VERSION='3.1.1'
 
2813
 VERSION='3.1.4'
2940
2814
 
2941
2815
 
2942
2816
cat >>confdefs.h <<_ACEOF
3044
2918
done
3045
2919
rm -rf conftest.dir
3046
2920
 
3047
 
if test "${am_cv_prog_tar_ustar+set}" = set; then :
 
2921
if ${am_cv_prog_tar_ustar+:} false; then :
3048
2922
  $as_echo_n "(cached) " >&6
3049
2923
else
3050
2924
  am_cv_prog_tar_ustar=$_am_tool
3084
2958
'
3085
2959
case `pwd` in
3086
2960
  *[\\\"\#\$\&\'\`$am_lf]*)
3087
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2961
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3088
2962
esac
3089
2963
case $srcdir in
3090
2964
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3091
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2965
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3092
2966
esac
3093
2967
 
3094
2968
# Do `set' in a subshell so we don't clobber the current shell's
3221
3095
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3222
3096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223
3097
$as_echo_n "checking for $ac_word... " >&6; }
3224
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3098
if ${ac_cv_prog_CC+:} false; then :
3225
3099
  $as_echo_n "(cached) " >&6
3226
3100
else
3227
3101
  if test -n "$CC"; then
3261
3135
set dummy gcc; ac_word=$2
3262
3136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263
3137
$as_echo_n "checking for $ac_word... " >&6; }
3264
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3138
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3265
3139
  $as_echo_n "(cached) " >&6
3266
3140
else
3267
3141
  if test -n "$ac_ct_CC"; then
3314
3188
set dummy ${ac_tool_prefix}cc; ac_word=$2
3315
3189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316
3190
$as_echo_n "checking for $ac_word... " >&6; }
3317
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3191
if ${ac_cv_prog_CC+:} false; then :
3318
3192
  $as_echo_n "(cached) " >&6
3319
3193
else
3320
3194
  if test -n "$CC"; then
3354
3228
set dummy cc; ac_word=$2
3355
3229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356
3230
$as_echo_n "checking for $ac_word... " >&6; }
3357
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3231
if ${ac_cv_prog_CC+:} false; then :
3358
3232
  $as_echo_n "(cached) " >&6
3359
3233
else
3360
3234
  if test -n "$CC"; then
3413
3287
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3414
3288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3415
3289
$as_echo_n "checking for $ac_word... " >&6; }
3416
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3290
if ${ac_cv_prog_CC+:} false; then :
3417
3291
  $as_echo_n "(cached) " >&6
3418
3292
else
3419
3293
  if test -n "$CC"; then
3457
3331
set dummy $ac_prog; ac_word=$2
3458
3332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3459
3333
$as_echo_n "checking for $ac_word... " >&6; }
3460
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3334
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3461
3335
  $as_echo_n "(cached) " >&6
3462
3336
else
3463
3337
  if test -n "$ac_ct_CC"; then
3512
3386
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3513
3387
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3514
3388
as_fn_error $? "no acceptable C compiler found in \$PATH
3515
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3389
See \`config.log' for more details" "$LINENO" 5; }
3516
3390
 
3517
3391
# Provide some information about the compiler.
3518
3392
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3627
3501
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628
3502
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629
3503
as_fn_error 77 "C compiler cannot create executables
3630
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3504
See \`config.log' for more details" "$LINENO" 5; }
3631
3505
else
3632
3506
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3633
3507
$as_echo "yes" >&6; }
3670
3544
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3671
3545
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3672
3546
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3673
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3547
See \`config.log' for more details" "$LINENO" 5; }
3674
3548
fi
3675
3549
rm -f conftest conftest$ac_cv_exeext
3676
3550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3729
3603
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3730
3604
as_fn_error $? "cannot run C compiled programs.
3731
3605
If you meant to cross compile, use \`--host'.
3732
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3606
See \`config.log' for more details" "$LINENO" 5; }
3733
3607
    fi
3734
3608
  fi
3735
3609
fi
3740
3614
ac_clean_files=$ac_clean_files_save
3741
3615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3742
3616
$as_echo_n "checking for suffix of object files... " >&6; }
3743
 
if test "${ac_cv_objext+set}" = set; then :
 
3617
if ${ac_cv_objext+:} false; then :
3744
3618
  $as_echo_n "(cached) " >&6
3745
3619
else
3746
3620
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781
3655
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3782
3656
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3783
3657
as_fn_error $? "cannot compute suffix of object files: cannot compile
3784
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3658
See \`config.log' for more details" "$LINENO" 5; }
3785
3659
fi
3786
3660
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3787
3661
fi
3791
3665
ac_objext=$OBJEXT
3792
3666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3793
3667
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3794
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3668
if ${ac_cv_c_compiler_gnu+:} false; then :
3795
3669
  $as_echo_n "(cached) " >&6
3796
3670
else
3797
3671
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828
3702
ac_save_CFLAGS=$CFLAGS
3829
3703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3830
3704
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3831
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3705
if ${ac_cv_prog_cc_g+:} false; then :
3832
3706
  $as_echo_n "(cached) " >&6
3833
3707
else
3834
3708
  ac_save_c_werror_flag=$ac_c_werror_flag
3906
3780
fi
3907
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3908
3782
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3909
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3783
if ${ac_cv_prog_cc_c89+:} false; then :
3910
3784
  $as_echo_n "(cached) " >&6
3911
3785
else
3912
3786
  ac_cv_prog_cc_c89=no
4005
3879
 
4006
3880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4007
3881
$as_echo_n "checking dependency style of $depcc... " >&6; }
4008
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3882
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4009
3883
  $as_echo_n "(cached) " >&6
4010
3884
else
4011
3885
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4141
4015
  CPP=
4142
4016
fi
4143
4017
if test -z "$CPP"; then
4144
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4018
  if ${ac_cv_prog_CPP+:} false; then :
4145
4019
  $as_echo_n "(cached) " >&6
4146
4020
else
4147
4021
      # Double quotes because CPP needs to be expanded
4257
4131
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4258
4132
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4259
4133
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4260
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4134
See \`config.log' for more details" "$LINENO" 5; }
4261
4135
fi
4262
4136
 
4263
4137
ac_ext=c
4269
4143
 
4270
4144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4271
4145
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4272
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4146
if ${ac_cv_path_GREP+:} false; then :
4273
4147
  $as_echo_n "(cached) " >&6
4274
4148
else
4275
4149
  if test -z "$GREP"; then
4332
4206
 
4333
4207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4334
4208
$as_echo_n "checking for egrep... " >&6; }
4335
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4209
if ${ac_cv_path_EGREP+:} false; then :
4336
4210
  $as_echo_n "(cached) " >&6
4337
4211
else
4338
4212
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4399
4273
 
4400
4274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4401
4275
$as_echo_n "checking for ANSI C header files... " >&6; }
4402
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
4276
if ${ac_cv_header_stdc+:} false; then :
4403
4277
  $as_echo_n "(cached) " >&6
4404
4278
else
4405
4279
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528
4402
 
4529
4403
 
4530
4404
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4531
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
4405
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4532
4406
  MINIX=yes
4533
4407
else
4534
4408
  MINIX=
4550
4424
 
4551
4425
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4552
4426
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4553
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
4427
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4554
4428
  $as_echo_n "(cached) " >&6
4555
4429
else
4556
4430
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590
4464
 
4591
4465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4592
4466
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4593
 
if test "${ac_cv_c_const+set}" = set; then :
 
4467
if ${ac_cv_c_const+:} false; then :
4594
4468
  $as_echo_n "(cached) " >&6
4595
4469
else
4596
4470
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670
4544
 
4671
4545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4672
4546
$as_echo_n "checking for library containing strerror... " >&6; }
4673
 
if test "${ac_cv_search_strerror+set}" = set; then :
 
4547
if ${ac_cv_search_strerror+:} false; then :
4674
4548
  $as_echo_n "(cached) " >&6
4675
4549
else
4676
4550
  ac_func_search_save_LIBS=$LIBS
4704
4578
fi
4705
4579
rm -f core conftest.err conftest.$ac_objext \
4706
4580
    conftest$ac_exeext
4707
 
  if test "${ac_cv_search_strerror+set}" = set; then :
 
4581
  if ${ac_cv_search_strerror+:} false; then :
4708
4582
  break
4709
4583
fi
4710
4584
done
4711
 
if test "${ac_cv_search_strerror+set}" = set; then :
 
4585
if ${ac_cv_search_strerror+:} false; then :
4712
4586
 
4713
4587
else
4714
4588
  ac_cv_search_strerror=no
4734
4608
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4735
4609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4736
4610
$as_echo_n "checking for $ac_word... " >&6; }
4737
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4611
if ${ac_cv_prog_CC+:} false; then :
4738
4612
  $as_echo_n "(cached) " >&6
4739
4613
else
4740
4614
  if test -n "$CC"; then
4774
4648
set dummy gcc; ac_word=$2
4775
4649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776
4650
$as_echo_n "checking for $ac_word... " >&6; }
4777
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4651
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4778
4652
  $as_echo_n "(cached) " >&6
4779
4653
else
4780
4654
  if test -n "$ac_ct_CC"; then
4827
4701
set dummy ${ac_tool_prefix}cc; ac_word=$2
4828
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829
4703
$as_echo_n "checking for $ac_word... " >&6; }
4830
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4704
if ${ac_cv_prog_CC+:} false; then :
4831
4705
  $as_echo_n "(cached) " >&6
4832
4706
else
4833
4707
  if test -n "$CC"; then
4867
4741
set dummy cc; ac_word=$2
4868
4742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869
4743
$as_echo_n "checking for $ac_word... " >&6; }
4870
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4744
if ${ac_cv_prog_CC+:} false; then :
4871
4745
  $as_echo_n "(cached) " >&6
4872
4746
else
4873
4747
  if test -n "$CC"; then
4926
4800
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4927
4801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928
4802
$as_echo_n "checking for $ac_word... " >&6; }
4929
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4803
if ${ac_cv_prog_CC+:} false; then :
4930
4804
  $as_echo_n "(cached) " >&6
4931
4805
else
4932
4806
  if test -n "$CC"; then
4970
4844
set dummy $ac_prog; ac_word=$2
4971
4845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972
4846
$as_echo_n "checking for $ac_word... " >&6; }
4973
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4847
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4974
4848
  $as_echo_n "(cached) " >&6
4975
4849
else
4976
4850
  if test -n "$ac_ct_CC"; then
5025
4899
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5026
4900
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5027
4901
as_fn_error $? "no acceptable C compiler found in \$PATH
5028
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4902
See \`config.log' for more details" "$LINENO" 5; }
5029
4903
 
5030
4904
# Provide some information about the compiler.
5031
4905
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5054
4928
 
5055
4929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5056
4930
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5057
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4931
if ${ac_cv_c_compiler_gnu+:} false; then :
5058
4932
  $as_echo_n "(cached) " >&6
5059
4933
else
5060
4934
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091
4965
ac_save_CFLAGS=$CFLAGS
5092
4966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5093
4967
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5094
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4968
if ${ac_cv_prog_cc_g+:} false; then :
5095
4969
  $as_echo_n "(cached) " >&6
5096
4970
else
5097
4971
  ac_save_c_werror_flag=$ac_c_werror_flag
5169
5043
fi
5170
5044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5171
5045
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5172
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
5046
if ${ac_cv_prog_cc_c89+:} false; then :
5173
5047
  $as_echo_n "(cached) " >&6
5174
5048
else
5175
5049
  ac_cv_prog_cc_c89=no
5268
5142
 
5269
5143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5270
5144
$as_echo_n "checking dependency style of $depcc... " >&6; }
5271
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
5145
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5272
5146
  $as_echo_n "(cached) " >&6
5273
5147
else
5274
5148
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5400
5274
fi
5401
5275
set dummy $CC; ac_cc=`$as_echo "$2" |
5402
5276
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5403
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
5277
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5404
5278
  $as_echo_n "(cached) " >&6
5405
5279
else
5406
5280
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5533
5407
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5534
5408
set x ${MAKE-make}
5535
5409
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5536
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
5410
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5537
5411
  $as_echo_n "(cached) " >&6
5538
5412
else
5539
5413
  cat >conftest.make <<\_ACEOF
5599
5473
 
5600
5474
 
5601
5475
 
5602
 
macro_version='2.2.6b'
5603
 
macro_revision='1.3017'
 
5476
macro_version='2.4'
 
5477
macro_revision='1.3293'
5604
5478
 
5605
5479
 
5606
5480
 
5622
5496
 
5623
5497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5624
5498
$as_echo_n "checking build system type... " >&6; }
5625
 
if test "${ac_cv_build+set}" = set; then :
 
5499
if ${ac_cv_build+:} false; then :
5626
5500
  $as_echo_n "(cached) " >&6
5627
5501
else
5628
5502
  ac_build_alias=$build_alias
5638
5512
$as_echo "$ac_cv_build" >&6; }
5639
5513
case $ac_cv_build in
5640
5514
*-*-*) ;;
5641
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
5515
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5642
5516
esac
5643
5517
build=$ac_cv_build
5644
5518
ac_save_IFS=$IFS; IFS='-'
5656
5530
 
5657
5531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5658
5532
$as_echo_n "checking host system type... " >&6; }
5659
 
if test "${ac_cv_host+set}" = set; then :
 
5533
if ${ac_cv_host+:} false; then :
5660
5534
  $as_echo_n "(cached) " >&6
5661
5535
else
5662
5536
  if test "x$host_alias" = x; then
5671
5545
$as_echo "$ac_cv_host" >&6; }
5672
5546
case $ac_cv_host in
5673
5547
*-*-*) ;;
5674
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
5548
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5675
5549
esac
5676
5550
host=$ac_cv_host
5677
5551
ac_save_IFS=$IFS; IFS='-'
5687
5561
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5688
5562
 
5689
5563
 
 
5564
# Backslashify metacharacters that are still active within
 
5565
# double-quoted strings.
 
5566
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5567
 
 
5568
# Same as above, but do not quote variable references.
 
5569
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5570
 
 
5571
# Sed substitution to delay expansion of an escaped shell variable in a
 
5572
# double_quote_subst'ed string.
 
5573
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5574
 
 
5575
# Sed substitution to delay expansion of an escaped single quote.
 
5576
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5577
 
 
5578
# Sed substitution to avoid accidental globbing in evaled expressions
 
5579
no_glob_subst='s/\*/\\\*/g'
 
5580
 
 
5581
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5582
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5583
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5584
 
 
5585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5586
$as_echo_n "checking how to print strings... " >&6; }
 
5587
# Test print first, because it will be a builtin if present.
 
5588
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
5589
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5590
  ECHO='print -r --'
 
5591
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5592
  ECHO='printf %s\n'
 
5593
else
 
5594
  # Use this function as a fallback that always works.
 
5595
  func_fallback_echo ()
 
5596
  {
 
5597
    eval 'cat <<_LTECHO_EOF
 
5598
$1
 
5599
_LTECHO_EOF'
 
5600
  }
 
5601
  ECHO='func_fallback_echo'
 
5602
fi
 
5603
 
 
5604
# func_echo_all arg...
 
5605
# Invoke $ECHO with all args, space-separated.
 
5606
func_echo_all ()
 
5607
{
 
5608
    $ECHO ""
 
5609
}
 
5610
 
 
5611
case "$ECHO" in
 
5612
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5613
$as_echo "printf" >&6; } ;;
 
5614
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5615
$as_echo "print -r" >&6; } ;;
 
5616
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5617
$as_echo "cat" >&6; } ;;
 
5618
esac
 
5619
 
 
5620
 
 
5621
 
 
5622
 
 
5623
 
 
5624
 
 
5625
 
 
5626
 
 
5627
 
 
5628
 
 
5629
 
 
5630
 
 
5631
 
 
5632
 
5690
5633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5691
5634
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5692
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5635
if ${ac_cv_path_SED+:} false; then :
5693
5636
  $as_echo_n "(cached) " >&6
5694
5637
else
5695
5638
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5771
5714
 
5772
5715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5773
5716
$as_echo_n "checking for fgrep... " >&6; }
5774
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5717
if ${ac_cv_path_FGREP+:} false; then :
5775
5718
  $as_echo_n "(cached) " >&6
5776
5719
else
5777
5720
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5902
5845
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5903
5846
$as_echo_n "checking for non-GNU ld... " >&6; }
5904
5847
fi
5905
 
if test "${lt_cv_path_LD+set}" = set; then :
 
5848
if ${lt_cv_path_LD+:} false; then :
5906
5849
  $as_echo_n "(cached) " >&6
5907
5850
else
5908
5851
  if test -z "$LD"; then
5942
5885
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5943
5886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5944
5887
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5945
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5888
if ${lt_cv_prog_gnu_ld+:} false; then :
5946
5889
  $as_echo_n "(cached) " >&6
5947
5890
else
5948
5891
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5969
5912
 
5970
5913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5971
5914
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5972
 
if test "${lt_cv_path_NM+set}" = set; then :
 
5915
if ${lt_cv_path_NM+:} false; then :
5973
5916
  $as_echo_n "(cached) " >&6
5974
5917
else
5975
5918
  if test -n "$NM"; then
6022
5965
  NM="$lt_cv_path_NM"
6023
5966
else
6024
5967
  # Didn't find any BSD compatible name lister, look for dumpbin.
6025
 
  if test -n "$ac_tool_prefix"; then
6026
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5968
  if test -n "$DUMPBIN"; then :
 
5969
    # Let the user override the test.
 
5970
  else
 
5971
    if test -n "$ac_tool_prefix"; then
 
5972
  for ac_prog in dumpbin "link -dump"
6027
5973
  do
6028
5974
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6029
5975
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6030
5976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031
5977
$as_echo_n "checking for $ac_word... " >&6; }
6032
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5978
if ${ac_cv_prog_DUMPBIN+:} false; then :
6033
5979
  $as_echo_n "(cached) " >&6
6034
5980
else
6035
5981
  if test -n "$DUMPBIN"; then
6067
6013
fi
6068
6014
if test -z "$DUMPBIN"; then
6069
6015
  ac_ct_DUMPBIN=$DUMPBIN
6070
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6016
  for ac_prog in dumpbin "link -dump"
6071
6017
do
6072
6018
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6073
6019
set dummy $ac_prog; ac_word=$2
6074
6020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075
6021
$as_echo_n "checking for $ac_word... " >&6; }
6076
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
6022
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6077
6023
  $as_echo_n "(cached) " >&6
6078
6024
else
6079
6025
  if test -n "$ac_ct_DUMPBIN"; then
6122
6068
  fi
6123
6069
fi
6124
6070
 
 
6071
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
6072
    *COFF*)
 
6073
      DUMPBIN="$DUMPBIN -symbols"
 
6074
      ;;
 
6075
    *)
 
6076
      DUMPBIN=:
 
6077
      ;;
 
6078
    esac
 
6079
  fi
6125
6080
 
6126
6081
  if test "$DUMPBIN" != ":"; then
6127
6082
    NM="$DUMPBIN"
6136
6091
 
6137
6092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6138
6093
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6139
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
6094
if ${lt_cv_nm_interface+:} false; then :
6140
6095
  $as_echo_n "(cached) " >&6
6141
6096
else
6142
6097
  lt_cv_nm_interface="BSD nm"
6143
6098
  echo "int some_variable = 0;" > conftest.$ac_ext
6144
 
  (eval echo "\"\$as_me:6144: $ac_compile\"" >&5)
 
6099
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6145
6100
  (eval "$ac_compile" 2>conftest.err)
6146
6101
  cat conftest.err >&5
6147
 
  (eval echo "\"\$as_me:6147: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6102
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6148
6103
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6149
6104
  cat conftest.err >&5
6150
 
  (eval echo "\"\$as_me:6150: output\"" >&5)
 
6105
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6151
6106
  cat conftest.out >&5
6152
6107
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6153
6108
    lt_cv_nm_interface="MS dumpbin"
6160
6115
# find the maximum length of command line arguments
6161
6116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6162
6117
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6163
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6118
if ${lt_cv_sys_max_cmd_len+:} false; then :
6164
6119
  $as_echo_n "(cached) " >&6
6165
6120
else
6166
6121
    i=0
6193
6148
    lt_cv_sys_max_cmd_len=8192;
6194
6149
    ;;
6195
6150
 
 
6151
  mint*)
 
6152
    # On MiNT this can take a long time and run out of memory.
 
6153
    lt_cv_sys_max_cmd_len=8192;
 
6154
    ;;
 
6155
 
6196
6156
  amigaos*)
6197
6157
    # On AmigaOS with pdksh, this test takes hours, literally.
6198
6158
    # So we just punt and use a minimum line length of 8192.
6257
6217
      # If test is not a shell built-in, we'll probably end up computing a
6258
6218
      # maximum length that is only half of the actual maximum length, but
6259
6219
      # we can't tell.
6260
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6261
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6220
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
6221
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6262
6222
              test $i != 17 # 1/2 MB should be enough
6263
6223
      do
6264
6224
        i=`expr $i + 1`
6300
6260
# Try some XSI features
6301
6261
xsi_shell=no
6302
6262
( _lt_dummy="a/b/c"
6303
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6304
 
      = c,a/b,, \
 
6263
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6264
      = c,a/b,b/c, \
6305
6265
    && eval 'test $(( 1 + 1 )) -eq 2 \
6306
6266
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6307
6267
  && xsi_shell=yes
6350
6310
 
6351
6311
 
6352
6312
 
 
6313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6314
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6315
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6316
  $as_echo_n "(cached) " >&6
 
6317
else
 
6318
  case $host in
 
6319
  *-*-mingw* )
 
6320
    case $build in
 
6321
      *-*-mingw* ) # actually msys
 
6322
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6323
        ;;
 
6324
      *-*-cygwin* )
 
6325
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6326
        ;;
 
6327
      * ) # otherwise, assume *nix
 
6328
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6329
        ;;
 
6330
    esac
 
6331
    ;;
 
6332
  *-*-cygwin* )
 
6333
    case $build in
 
6334
      *-*-mingw* ) # actually msys
 
6335
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6336
        ;;
 
6337
      *-*-cygwin* )
 
6338
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6339
        ;;
 
6340
      * ) # otherwise, assume *nix
 
6341
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6342
        ;;
 
6343
    esac
 
6344
    ;;
 
6345
  * ) # unhandled hosts (and "normal" native builds)
 
6346
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6347
    ;;
 
6348
esac
 
6349
 
 
6350
fi
 
6351
 
 
6352
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6354
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6355
 
 
6356
 
 
6357
 
 
6358
 
 
6359
 
 
6360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6361
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6362
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6363
  $as_echo_n "(cached) " >&6
 
6364
else
 
6365
  #assume ordinary cross tools, or native build.
 
6366
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6367
case $host in
 
6368
  *-*-mingw* )
 
6369
    case $build in
 
6370
      *-*-mingw* ) # actually msys
 
6371
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6372
        ;;
 
6373
    esac
 
6374
    ;;
 
6375
esac
 
6376
 
 
6377
fi
 
6378
 
 
6379
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6381
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6382
 
 
6383
 
 
6384
 
 
6385
 
 
6386
 
6353
6387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6354
6388
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6355
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6389
if ${lt_cv_ld_reload_flag+:} false; then :
6356
6390
  $as_echo_n "(cached) " >&6
6357
6391
else
6358
6392
  lt_cv_ld_reload_flag='-r'
6366
6400
esac
6367
6401
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6368
6402
case $host_os in
 
6403
  cygwin* | mingw* | pw32* | cegcc*)
 
6404
    if test "$GCC" != yes; then
 
6405
      reload_cmds=false
 
6406
    fi
 
6407
    ;;
6369
6408
  darwin*)
6370
6409
    if test "$GCC" = yes; then
6371
6410
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6388
6427
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6389
6428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390
6429
$as_echo_n "checking for $ac_word... " >&6; }
6391
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6430
if ${ac_cv_prog_OBJDUMP+:} false; then :
6392
6431
  $as_echo_n "(cached) " >&6
6393
6432
else
6394
6433
  if test -n "$OBJDUMP"; then
6428
6467
set dummy objdump; ac_word=$2
6429
6468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430
6469
$as_echo_n "checking for $ac_word... " >&6; }
6431
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6470
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6432
6471
  $as_echo_n "(cached) " >&6
6433
6472
else
6434
6473
  if test -n "$ac_ct_OBJDUMP"; then
6487
6526
 
6488
6527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6489
6528
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6490
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6529
if ${lt_cv_deplibs_check_method+:} false; then :
6491
6530
  $as_echo_n "(cached) " >&6
6492
6531
else
6493
6532
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6529
6568
  # Base MSYS/MinGW do not provide the 'file' command needed by
6530
6569
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6531
6570
  # unless we find 'file', for example because we are cross-compiling.
6532
 
  if ( file / ) >/dev/null 2>&1; then
 
6571
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6572
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6533
6573
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6534
6574
    lt_cv_file_magic_cmd='func_win32_libid'
6535
6575
  else
6536
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6576
    # Keep this pattern in sync with the one in func_win32_libid.
 
6577
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6537
6578
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6538
6579
  fi
6539
6580
  ;;
6540
6581
 
6541
 
cegcc)
 
6582
cegcc*)
6542
6583
  # use the weaker test based on 'objdump'. See mingw*.
6543
6584
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6544
6585
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6568
6609
  lt_cv_deplibs_check_method=pass_all
6569
6610
  ;;
6570
6611
 
 
6612
haiku*)
 
6613
  lt_cv_deplibs_check_method=pass_all
 
6614
  ;;
 
6615
 
6571
6616
hpux10.20* | hpux11*)
6572
6617
  lt_cv_file_magic_cmd=/usr/bin/file
6573
6618
  case $host_cpu in
6576
6621
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6577
6622
    ;;
6578
6623
  hppa*64*)
6579
 
    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]'
 
6624
    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]'
6580
6625
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6581
6626
    ;;
6582
6627
  *)
6583
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6628
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6584
6629
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6585
6630
    ;;
6586
6631
  esac
6606
6651
  lt_cv_deplibs_check_method=pass_all
6607
6652
  ;;
6608
6653
 
6609
 
netbsd* | netbsdelf*-gnu)
 
6654
netbsd*)
6610
6655
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6611
6656
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6612
6657
  else
6683
6728
fi
6684
6729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6685
6730
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6731
 
 
6732
file_magic_glob=
 
6733
want_nocaseglob=no
 
6734
if test "$build" = "$host"; then
 
6735
  case $host_os in
 
6736
  mingw* | pw32*)
 
6737
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
6738
      want_nocaseglob=yes
 
6739
    else
 
6740
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
6741
    fi
 
6742
    ;;
 
6743
  esac
 
6744
fi
 
6745
 
6686
6746
file_magic_cmd=$lt_cv_file_magic_cmd
6687
6747
deplibs_check_method=$lt_cv_deplibs_check_method
6688
6748
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6698
6758
 
6699
6759
 
6700
6760
 
6701
 
if test -n "$ac_tool_prefix"; then
6702
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6703
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6704
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705
 
$as_echo_n "checking for $ac_word... " >&6; }
6706
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
6761
 
 
6762
 
 
6763
 
 
6764
 
 
6765
 
 
6766
 
 
6767
 
 
6768
 
 
6769
 
 
6770
 
 
6771
if test -n "$ac_tool_prefix"; then
 
6772
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6773
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6775
$as_echo_n "checking for $ac_word... " >&6; }
 
6776
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
6777
  $as_echo_n "(cached) " >&6
 
6778
else
 
6779
  if test -n "$DLLTOOL"; then
 
6780
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6781
else
 
6782
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6783
for as_dir in $PATH
 
6784
do
 
6785
  IFS=$as_save_IFS
 
6786
  test -z "$as_dir" && as_dir=.
 
6787
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6788
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6789
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6790
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6791
    break 2
 
6792
  fi
 
6793
done
 
6794
  done
 
6795
IFS=$as_save_IFS
 
6796
 
 
6797
fi
 
6798
fi
 
6799
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6800
if test -n "$DLLTOOL"; then
 
6801
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6802
$as_echo "$DLLTOOL" >&6; }
 
6803
else
 
6804
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6805
$as_echo "no" >&6; }
 
6806
fi
 
6807
 
 
6808
 
 
6809
fi
 
6810
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6811
  ac_ct_DLLTOOL=$DLLTOOL
 
6812
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6813
set dummy dlltool; ac_word=$2
 
6814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6815
$as_echo_n "checking for $ac_word... " >&6; }
 
6816
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
6817
  $as_echo_n "(cached) " >&6
 
6818
else
 
6819
  if test -n "$ac_ct_DLLTOOL"; then
 
6820
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6821
else
 
6822
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6823
for as_dir in $PATH
 
6824
do
 
6825
  IFS=$as_save_IFS
 
6826
  test -z "$as_dir" && as_dir=.
 
6827
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6828
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6829
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6830
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6831
    break 2
 
6832
  fi
 
6833
done
 
6834
  done
 
6835
IFS=$as_save_IFS
 
6836
 
 
6837
fi
 
6838
fi
 
6839
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6840
if test -n "$ac_ct_DLLTOOL"; then
 
6841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6842
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6843
else
 
6844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6845
$as_echo "no" >&6; }
 
6846
fi
 
6847
 
 
6848
  if test "x$ac_ct_DLLTOOL" = x; then
 
6849
    DLLTOOL="false"
 
6850
  else
 
6851
    case $cross_compiling:$ac_tool_warned in
 
6852
yes:)
 
6853
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6854
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6855
ac_tool_warned=yes ;;
 
6856
esac
 
6857
    DLLTOOL=$ac_ct_DLLTOOL
 
6858
  fi
 
6859
else
 
6860
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6861
fi
 
6862
 
 
6863
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6864
 
 
6865
 
 
6866
 
 
6867
 
 
6868
 
 
6869
 
 
6870
 
 
6871
 
 
6872
 
 
6873
 
 
6874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6875
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6876
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
6877
  $as_echo_n "(cached) " >&6
 
6878
else
 
6879
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6880
 
 
6881
case $host_os in
 
6882
cygwin* | mingw* | pw32* | cegcc*)
 
6883
  # two different shell functions defined in ltmain.sh
 
6884
  # decide which to use based on capabilities of $DLLTOOL
 
6885
  case `$DLLTOOL --help 2>&1` in
 
6886
  *--identify-strict*)
 
6887
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6888
    ;;
 
6889
  *)
 
6890
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6891
    ;;
 
6892
  esac
 
6893
  ;;
 
6894
*)
 
6895
  # fallback: assume linklib IS sharedlib
 
6896
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6897
  ;;
 
6898
esac
 
6899
 
 
6900
fi
 
6901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6902
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6903
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6904
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6905
 
 
6906
 
 
6907
 
 
6908
 
 
6909
 
 
6910
 
 
6911
 
 
6912
if test -n "$ac_tool_prefix"; then
 
6913
  for ac_prog in ar
 
6914
  do
 
6915
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6916
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6918
$as_echo_n "checking for $ac_word... " >&6; }
 
6919
if ${ac_cv_prog_AR+:} false; then :
6707
6920
  $as_echo_n "(cached) " >&6
6708
6921
else
6709
6922
  if test -n "$AR"; then
6716
6929
  test -z "$as_dir" && as_dir=.
6717
6930
    for ac_exec_ext in '' $ac_executable_extensions; do
6718
6931
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6719
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6932
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6720
6933
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721
6934
    break 2
6722
6935
  fi
6736
6949
fi
6737
6950
 
6738
6951
 
 
6952
    test -n "$AR" && break
 
6953
  done
6739
6954
fi
6740
 
if test -z "$ac_cv_prog_AR"; then
 
6955
if test -z "$AR"; then
6741
6956
  ac_ct_AR=$AR
6742
 
  # Extract the first word of "ar", so it can be a program name with args.
6743
 
set dummy ar; ac_word=$2
 
6957
  for ac_prog in ar
 
6958
do
 
6959
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6960
set dummy $ac_prog; ac_word=$2
6744
6961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745
6962
$as_echo_n "checking for $ac_word... " >&6; }
6746
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6963
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6747
6964
  $as_echo_n "(cached) " >&6
6748
6965
else
6749
6966
  if test -n "$ac_ct_AR"; then
6756
6973
  test -z "$as_dir" && as_dir=.
6757
6974
    for ac_exec_ext in '' $ac_executable_extensions; do
6758
6975
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6759
 
    ac_cv_prog_ac_ct_AR="ar"
 
6976
    ac_cv_prog_ac_ct_AR="$ac_prog"
6760
6977
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761
6978
    break 2
6762
6979
  fi
6775
6992
$as_echo "no" >&6; }
6776
6993
fi
6777
6994
 
 
6995
 
 
6996
  test -n "$ac_ct_AR" && break
 
6997
done
 
6998
 
6778
6999
  if test "x$ac_ct_AR" = x; then
6779
7000
    AR="false"
6780
7001
  else
6786
7007
esac
6787
7008
    AR=$ac_ct_AR
6788
7009
  fi
6789
 
else
6790
 
  AR="$ac_cv_prog_AR"
6791
 
fi
6792
 
 
6793
 
test -z "$AR" && AR=ar
6794
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6795
 
 
6796
 
 
6797
 
 
6798
 
 
 
7010
fi
 
7011
 
 
7012
: ${AR=ar}
 
7013
: ${AR_FLAGS=cru}
 
7014
 
 
7015
 
 
7016
 
 
7017
 
 
7018
 
 
7019
 
 
7020
 
 
7021
 
 
7022
 
 
7023
 
 
7024
 
 
7025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
7026
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
7027
if ${lt_cv_ar_at_file+:} false; then :
 
7028
  $as_echo_n "(cached) " >&6
 
7029
else
 
7030
  lt_cv_ar_at_file=no
 
7031
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7032
/* end confdefs.h.  */
 
7033
 
 
7034
int
 
7035
main ()
 
7036
{
 
7037
 
 
7038
  ;
 
7039
  return 0;
 
7040
}
 
7041
_ACEOF
 
7042
if ac_fn_c_try_compile "$LINENO"; then :
 
7043
  echo conftest.$ac_objext > conftest.lst
 
7044
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
7045
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7046
  (eval $lt_ar_try) 2>&5
 
7047
  ac_status=$?
 
7048
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7049
  test $ac_status = 0; }
 
7050
      if test "$ac_status" -eq 0; then
 
7051
        # Ensure the archiver fails upon bogus file names.
 
7052
        rm -f conftest.$ac_objext libconftest.a
 
7053
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7054
  (eval $lt_ar_try) 2>&5
 
7055
  ac_status=$?
 
7056
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7057
  test $ac_status = 0; }
 
7058
        if test "$ac_status" -ne 0; then
 
7059
          lt_cv_ar_at_file=@
 
7060
        fi
 
7061
      fi
 
7062
      rm -f conftest.* libconftest.a
 
7063
 
 
7064
fi
 
7065
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7066
 
 
7067
fi
 
7068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
7069
$as_echo "$lt_cv_ar_at_file" >&6; }
 
7070
 
 
7071
if test "x$lt_cv_ar_at_file" = xno; then
 
7072
  archiver_list_spec=
 
7073
else
 
7074
  archiver_list_spec=$lt_cv_ar_at_file
 
7075
fi
6799
7076
 
6800
7077
 
6801
7078
 
6808
7085
set dummy ${ac_tool_prefix}strip; ac_word=$2
6809
7086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6810
7087
$as_echo_n "checking for $ac_word... " >&6; }
6811
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
7088
if ${ac_cv_prog_STRIP+:} false; then :
6812
7089
  $as_echo_n "(cached) " >&6
6813
7090
else
6814
7091
  if test -n "$STRIP"; then
6848
7125
set dummy strip; ac_word=$2
6849
7126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850
7127
$as_echo_n "checking for $ac_word... " >&6; }
6851
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
7128
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6852
7129
  $as_echo_n "(cached) " >&6
6853
7130
else
6854
7131
  if test -n "$ac_ct_STRIP"; then
6907
7184
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6908
7185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909
7186
$as_echo_n "checking for $ac_word... " >&6; }
6910
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
7187
if ${ac_cv_prog_RANLIB+:} false; then :
6911
7188
  $as_echo_n "(cached) " >&6
6912
7189
else
6913
7190
  if test -n "$RANLIB"; then
6947
7224
set dummy ranlib; ac_word=$2
6948
7225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949
7226
$as_echo_n "checking for $ac_word... " >&6; }
6950
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
7227
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6951
7228
  $as_echo_n "(cached) " >&6
6952
7229
else
6953
7230
  if test -n "$ac_ct_RANLIB"; then
7018
7295
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7019
7296
fi
7020
7297
 
 
7298
case $host_os in
 
7299
  darwin*)
 
7300
    lock_old_archive_extraction=yes ;;
 
7301
  *)
 
7302
    lock_old_archive_extraction=no ;;
 
7303
esac
 
7304
 
 
7305
 
 
7306
 
 
7307
 
 
7308
 
 
7309
 
7021
7310
 
7022
7311
 
7023
7312
 
7064
7353
# Check for command to grab the raw symbol name followed by C symbol from nm.
7065
7354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7066
7355
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7067
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7356
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7068
7357
  $as_echo_n "(cached) " >&6
7069
7358
else
7070
7359
 
7125
7414
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7126
7415
 
7127
7416
# Transform an extracted symbol line into symbol name and symbol address
7128
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7129
 
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'"
 
7417
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7418
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'"
7130
7419
 
7131
7420
# Handle CRLF in mingw tool chain
7132
7421
opt_cr=
7162
7451
  else
7163
7452
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7164
7453
  fi
 
7454
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7165
7455
 
7166
7456
  # Check to see that the pipe works correctly.
7167
7457
  pipe_works=no
7187
7477
  test $ac_status = 0; }; then
7188
7478
    # Now try to grab the symbols.
7189
7479
    nlist=conftest.nm
7190
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7191
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
7480
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7481
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7192
7482
  ac_status=$?
7193
7483
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7194
7484
  test $ac_status = 0; } && test -s "$nlist"; then
7203
7493
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7204
7494
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7205
7495
          cat <<_LT_EOF > conftest.$ac_ext
 
7496
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7497
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7498
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7499
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7500
# define LT_DLSYM_CONST
 
7501
#elif defined(__osf__)
 
7502
/* This system does not cope well with relocations in const data.  */
 
7503
# define LT_DLSYM_CONST
 
7504
#else
 
7505
# define LT_DLSYM_CONST const
 
7506
#endif
 
7507
 
7206
7508
#ifdef __cplusplus
7207
7509
extern "C" {
7208
7510
#endif
7214
7516
          cat <<_LT_EOF >> conftest.$ac_ext
7215
7517
 
7216
7518
/* The mapping between symbol names and symbols.  */
7217
 
const struct {
 
7519
LT_DLSYM_CONST struct {
7218
7520
  const char *name;
7219
7521
  void       *address;
7220
7522
}
7240
7542
_LT_EOF
7241
7543
          # Now try linking the two files.
7242
7544
          mv conftest.$ac_objext conftstm.$ac_objext
7243
 
          lt_save_LIBS="$LIBS"
7244
 
          lt_save_CFLAGS="$CFLAGS"
 
7545
          lt_globsym_save_LIBS=$LIBS
 
7546
          lt_globsym_save_CFLAGS=$CFLAGS
7245
7547
          LIBS="conftstm.$ac_objext"
7246
7548
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7247
7549
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7251
7553
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7252
7554
            pipe_works=yes
7253
7555
          fi
7254
 
          LIBS="$lt_save_LIBS"
7255
 
          CFLAGS="$lt_save_CFLAGS"
 
7556
          LIBS=$lt_globsym_save_LIBS
 
7557
          CFLAGS=$lt_globsym_save_CFLAGS
7256
7558
        else
7257
7559
          echo "cannot find nm_test_func in $nlist" >&5
7258
7560
        fi
7289
7591
$as_echo "ok" >&6; }
7290
7592
fi
7291
7593
 
7292
 
 
7293
 
 
7294
 
 
7295
 
 
7296
 
 
7297
 
 
7298
 
 
7299
 
 
7300
 
 
7301
 
 
7302
 
 
7303
 
 
7304
 
 
7305
 
 
7306
 
 
7307
 
 
 
7594
# Response file support.
 
7595
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7596
  nm_file_list_spec='@'
 
7597
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7598
  nm_file_list_spec='@'
 
7599
fi
 
7600
 
 
7601
 
 
7602
 
 
7603
 
 
7604
 
 
7605
 
 
7606
 
 
7607
 
 
7608
 
 
7609
 
 
7610
 
 
7611
 
 
7612
 
 
7613
 
 
7614
 
 
7615
 
 
7616
 
 
7617
 
 
7618
 
 
7619
 
 
7620
 
 
7621
 
 
7622
 
 
7623
 
 
7624
 
 
7625
 
 
7626
 
 
7627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7628
$as_echo_n "checking for sysroot... " >&6; }
 
7629
 
 
7630
# Check whether --with-sysroot was given.
 
7631
if test "${with_sysroot+set}" = set; then :
 
7632
  withval=$with_sysroot;
 
7633
else
 
7634
  with_sysroot=no
 
7635
fi
 
7636
 
 
7637
 
 
7638
lt_sysroot=
 
7639
case ${with_sysroot} in #(
 
7640
 yes)
 
7641
   if test "$GCC" = yes; then
 
7642
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7643
   fi
 
7644
   ;; #(
 
7645
 /*)
 
7646
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7647
   ;; #(
 
7648
 no|'')
 
7649
   ;; #(
 
7650
 *)
 
7651
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7652
$as_echo "${with_sysroot}" >&6; }
 
7653
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7654
   ;;
 
7655
esac
 
7656
 
 
7657
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7658
$as_echo "${lt_sysroot:-no}" >&6; }
7308
7659
 
7309
7660
 
7310
7661
 
7341
7692
  ;;
7342
7693
*-*-irix6*)
7343
7694
  # Find out which ABI we are using.
7344
 
  echo '#line 7344 "configure"' > conftest.$ac_ext
 
7695
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7345
7696
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7346
7697
  (eval $ac_compile) 2>&5
7347
7698
  ac_status=$?
7435
7786
  CFLAGS="$CFLAGS -belf"
7436
7787
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7437
7788
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7438
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7789
if ${lt_cv_cc_needs_belf+:} false; then :
7439
7790
  $as_echo_n "(cached) " >&6
7440
7791
else
7441
7792
  ac_ext=c
7503
7854
 
7504
7855
need_locks="$enable_libtool_lock"
7505
7856
 
 
7857
if test -n "$ac_tool_prefix"; then
 
7858
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7859
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7861
$as_echo_n "checking for $ac_word... " >&6; }
 
7862
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
7863
  $as_echo_n "(cached) " >&6
 
7864
else
 
7865
  if test -n "$MANIFEST_TOOL"; then
 
7866
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7867
else
 
7868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7869
for as_dir in $PATH
 
7870
do
 
7871
  IFS=$as_save_IFS
 
7872
  test -z "$as_dir" && as_dir=.
 
7873
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7875
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7876
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7877
    break 2
 
7878
  fi
 
7879
done
 
7880
  done
 
7881
IFS=$as_save_IFS
 
7882
 
 
7883
fi
 
7884
fi
 
7885
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7886
if test -n "$MANIFEST_TOOL"; then
 
7887
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7888
$as_echo "$MANIFEST_TOOL" >&6; }
 
7889
else
 
7890
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7891
$as_echo "no" >&6; }
 
7892
fi
 
7893
 
 
7894
 
 
7895
fi
 
7896
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7897
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7898
  # Extract the first word of "mt", so it can be a program name with args.
 
7899
set dummy mt; ac_word=$2
 
7900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7901
$as_echo_n "checking for $ac_word... " >&6; }
 
7902
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
7903
  $as_echo_n "(cached) " >&6
 
7904
else
 
7905
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7906
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7907
else
 
7908
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7909
for as_dir in $PATH
 
7910
do
 
7911
  IFS=$as_save_IFS
 
7912
  test -z "$as_dir" && as_dir=.
 
7913
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7915
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7916
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7917
    break 2
 
7918
  fi
 
7919
done
 
7920
  done
 
7921
IFS=$as_save_IFS
 
7922
 
 
7923
fi
 
7924
fi
 
7925
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7926
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7928
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7929
else
 
7930
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7931
$as_echo "no" >&6; }
 
7932
fi
 
7933
 
 
7934
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7935
    MANIFEST_TOOL=":"
 
7936
  else
 
7937
    case $cross_compiling:$ac_tool_warned in
 
7938
yes:)
 
7939
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7940
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7941
ac_tool_warned=yes ;;
 
7942
esac
 
7943
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7944
  fi
 
7945
else
 
7946
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7947
fi
 
7948
 
 
7949
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7951
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7952
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7953
  $as_echo_n "(cached) " >&6
 
7954
else
 
7955
  lt_cv_path_mainfest_tool=no
 
7956
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7957
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7958
  cat conftest.err >&5
 
7959
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7960
    lt_cv_path_mainfest_tool=yes
 
7961
  fi
 
7962
  rm -f conftest*
 
7963
fi
 
7964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7965
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7966
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7967
  MANIFEST_TOOL=:
 
7968
fi
 
7969
 
 
7970
 
 
7971
 
 
7972
 
 
7973
 
7506
7974
 
7507
7975
  case $host_os in
7508
7976
    rhapsody* | darwin*)
7511
7979
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7512
7980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513
7981
$as_echo_n "checking for $ac_word... " >&6; }
7514
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7982
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7515
7983
  $as_echo_n "(cached) " >&6
7516
7984
else
7517
7985
  if test -n "$DSYMUTIL"; then
7551
8019
set dummy dsymutil; ac_word=$2
7552
8020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7553
8021
$as_echo_n "checking for $ac_word... " >&6; }
7554
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
8022
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7555
8023
  $as_echo_n "(cached) " >&6
7556
8024
else
7557
8025
  if test -n "$ac_ct_DSYMUTIL"; then
7603
8071
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7604
8072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605
8073
$as_echo_n "checking for $ac_word... " >&6; }
7606
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
8074
if ${ac_cv_prog_NMEDIT+:} false; then :
7607
8075
  $as_echo_n "(cached) " >&6
7608
8076
else
7609
8077
  if test -n "$NMEDIT"; then
7643
8111
set dummy nmedit; ac_word=$2
7644
8112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7645
8113
$as_echo_n "checking for $ac_word... " >&6; }
7646
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
8114
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7647
8115
  $as_echo_n "(cached) " >&6
7648
8116
else
7649
8117
  if test -n "$ac_ct_NMEDIT"; then
7695
8163
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7696
8164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7697
8165
$as_echo_n "checking for $ac_word... " >&6; }
7698
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8166
if ${ac_cv_prog_LIPO+:} false; then :
7699
8167
  $as_echo_n "(cached) " >&6
7700
8168
else
7701
8169
  if test -n "$LIPO"; then
7735
8203
set dummy lipo; ac_word=$2
7736
8204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7737
8205
$as_echo_n "checking for $ac_word... " >&6; }
7738
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
8206
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7739
8207
  $as_echo_n "(cached) " >&6
7740
8208
else
7741
8209
  if test -n "$ac_ct_LIPO"; then
7787
8255
set dummy ${ac_tool_prefix}otool; ac_word=$2
7788
8256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7789
8257
$as_echo_n "checking for $ac_word... " >&6; }
7790
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
8258
if ${ac_cv_prog_OTOOL+:} false; then :
7791
8259
  $as_echo_n "(cached) " >&6
7792
8260
else
7793
8261
  if test -n "$OTOOL"; then
7827
8295
set dummy otool; ac_word=$2
7828
8296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7829
8297
$as_echo_n "checking for $ac_word... " >&6; }
7830
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
8298
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7831
8299
  $as_echo_n "(cached) " >&6
7832
8300
else
7833
8301
  if test -n "$ac_ct_OTOOL"; then
7879
8347
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7880
8348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7881
8349
$as_echo_n "checking for $ac_word... " >&6; }
7882
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
8350
if ${ac_cv_prog_OTOOL64+:} false; then :
7883
8351
  $as_echo_n "(cached) " >&6
7884
8352
else
7885
8353
  if test -n "$OTOOL64"; then
7919
8387
set dummy otool64; ac_word=$2
7920
8388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921
8389
$as_echo_n "checking for $ac_word... " >&6; }
7922
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
8390
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7923
8391
  $as_echo_n "(cached) " >&6
7924
8392
else
7925
8393
  if test -n "$ac_ct_OTOOL64"; then
7994
8462
 
7995
8463
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7996
8464
$as_echo_n "checking for -single_module linker flag... " >&6; }
7997
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8465
if ${lt_cv_apple_cc_single_mod+:} false; then :
7998
8466
  $as_echo_n "(cached) " >&6
7999
8467
else
8000
8468
  lt_cv_apple_cc_single_mod=no
8023
8491
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8024
8492
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8025
8493
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8026
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8494
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8027
8495
  $as_echo_n "(cached) " >&6
8028
8496
else
8029
8497
  lt_cv_ld_exported_symbols_list=no
8053
8521
fi
8054
8522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8055
8523
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8524
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
8525
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
8526
if ${lt_cv_ld_force_load+:} false; then :
 
8527
  $as_echo_n "(cached) " >&6
 
8528
else
 
8529
  lt_cv_ld_force_load=no
 
8530
      cat > conftest.c << _LT_EOF
 
8531
int forced_loaded() { return 2;}
 
8532
_LT_EOF
 
8533
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8534
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8535
      echo "$AR cru libconftest.a conftest.o" >&5
 
8536
      $AR cru libconftest.a conftest.o 2>&5
 
8537
      echo "$RANLIB libconftest.a" >&5
 
8538
      $RANLIB libconftest.a 2>&5
 
8539
      cat > conftest.c << _LT_EOF
 
8540
int main() { return 0;}
 
8541
_LT_EOF
 
8542
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8543
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8544
      _lt_result=$?
 
8545
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
8546
        lt_cv_ld_force_load=yes
 
8547
      else
 
8548
        cat conftest.err >&5
 
8549
      fi
 
8550
        rm -f conftest.err libconftest.a conftest conftest.c
 
8551
        rm -rf conftest.dSYM
 
8552
 
 
8553
fi
 
8554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
8555
$as_echo "$lt_cv_ld_force_load" >&6; }
8056
8556
    case $host_os in
8057
8557
    rhapsody* | darwin1.[012])
8058
8558
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8080
8580
    else
8081
8581
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8082
8582
    fi
8083
 
    if test "$DSYMUTIL" != ":"; then
 
8583
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8084
8584
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8085
8585
    else
8086
8586
      _lt_dsymutil=
8092
8592
do :
8093
8593
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8094
8594
"
8095
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8595
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8096
8596
  cat >>confdefs.h <<_ACEOF
8097
8597
#define HAVE_DLFCN_H 1
8098
8598
_ACEOF
8103
8603
 
8104
8604
 
8105
8605
 
 
8606
 
 
8607
 
8106
8608
# Set options
8107
8609
 
8108
8610
 
8225
8727
 
8226
8728
 
8227
8729
 
 
8730
 
8228
8731
test -z "$LN_S" && LN_S="ln -s"
8229
8732
 
8230
8733
 
8246
8749
 
8247
8750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8248
8751
$as_echo_n "checking for objdir... " >&6; }
8249
 
if test "${lt_cv_objdir+set}" = set; then :
 
8752
if ${lt_cv_objdir+:} false; then :
8250
8753
  $as_echo_n "(cached) " >&6
8251
8754
else
8252
8755
  rm -f .libs 2>/dev/null
8274
8777
 
8275
8778
 
8276
8779
 
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
 
 
8282
 
 
8283
 
 
8284
 
 
8285
 
 
8286
 
 
8287
 
 
8288
 
 
8289
 
 
8290
8780
case $host_os in
8291
8781
aix3*)
8292
8782
  # AIX sometimes has problems with the GCC collect2 program.  For some
8299
8789
  ;;
8300
8790
esac
8301
8791
 
8302
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8303
 
# metacharacters that are still active within double-quoted strings.
8304
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8305
 
 
8306
 
# Same as above, but do not quote variable references.
8307
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8308
 
 
8309
 
# Sed substitution to delay expansion of an escaped shell variable in a
8310
 
# double_quote_subst'ed string.
8311
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8312
 
 
8313
 
# Sed substitution to delay expansion of an escaped single quote.
8314
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8315
 
 
8316
 
# Sed substitution to avoid accidental globbing in evaled expressions
8317
 
no_glob_subst='s/\*/\\\*/g'
8318
 
 
8319
8792
# Global variables:
8320
8793
ofile=libtool
8321
8794
can_build_shared=yes
8344
8817
    *) break;;
8345
8818
  esac
8346
8819
done
8347
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8820
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8348
8821
 
8349
8822
 
8350
8823
# Only perform the check for file, if the check method requires it
8354
8827
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8355
8828
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8356
8829
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8357
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8830
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8358
8831
  $as_echo_n "(cached) " >&6
8359
8832
else
8360
8833
  case $MAGIC_CMD in
8420
8893
  if test -n "$ac_tool_prefix"; then
8421
8894
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8422
8895
$as_echo_n "checking for file... " >&6; }
8423
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8896
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8424
8897
  $as_echo_n "(cached) " >&6
8425
8898
else
8426
8899
  case $MAGIC_CMD in
8549
9022
lt_prog_compiler_no_builtin_flag=
8550
9023
 
8551
9024
if test "$GCC" = yes; then
8552
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
9025
  case $cc_basename in
 
9026
  nvcc*)
 
9027
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
9028
  *)
 
9029
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
9030
  esac
8553
9031
 
8554
9032
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8555
9033
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8556
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9034
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8557
9035
  $as_echo_n "(cached) " >&6
8558
9036
else
8559
9037
  lt_cv_prog_compiler_rtti_exceptions=no
8569
9047
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8570
9048
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8571
9049
   -e 's:$: $lt_compiler_flag:'`
8572
 
   (eval echo "\"\$as_me:8572: $lt_compile\"" >&5)
 
9050
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8573
9051
   (eval "$lt_compile" 2>conftest.err)
8574
9052
   ac_status=$?
8575
9053
   cat conftest.err >&5
8576
 
   echo "$as_me:8576: \$? = $ac_status" >&5
 
9054
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577
9055
   if (exit $ac_status) && test -s "$ac_outfile"; then
8578
9056
     # The compiler can only warn and ignore the option if not recognized
8579
9057
     # So say no if there are warnings other than the usual output.
8580
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9058
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8581
9059
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8582
9060
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8583
9061
       lt_cv_prog_compiler_rtti_exceptions=yes
8606
9084
lt_prog_compiler_pic=
8607
9085
lt_prog_compiler_static=
8608
9086
 
8609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8610
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8611
9087
 
8612
9088
  if test "$GCC" = yes; then
8613
9089
    lt_prog_compiler_wl='-Wl,'
8655
9131
      lt_prog_compiler_pic='-fno-common'
8656
9132
      ;;
8657
9133
 
 
9134
    haiku*)
 
9135
      # PIC is the default for Haiku.
 
9136
      # The "-static" flag exists, but is broken.
 
9137
      lt_prog_compiler_static=
 
9138
      ;;
 
9139
 
8658
9140
    hpux*)
8659
9141
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8660
9142
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8697
9179
      lt_prog_compiler_pic='-fPIC'
8698
9180
      ;;
8699
9181
    esac
 
9182
 
 
9183
    case $cc_basename in
 
9184
    nvcc*) # Cuda Compiler Driver 2.2
 
9185
      lt_prog_compiler_wl='-Xlinker '
 
9186
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
9187
      ;;
 
9188
    esac
8700
9189
  else
8701
9190
    # PORTME Check for flag to pass linker flags through the system compiler.
8702
9191
    case $host_os in
8759
9248
        lt_prog_compiler_pic='--shared'
8760
9249
        lt_prog_compiler_static='--static'
8761
9250
        ;;
8762
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
9251
      nagfor*)
 
9252
        # NAG Fortran compiler
 
9253
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9254
        lt_prog_compiler_pic='-PIC'
 
9255
        lt_prog_compiler_static='-Bstatic'
 
9256
        ;;
 
9257
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8763
9258
        # Portland Group compilers (*not* the Pentium gcc compiler,
8764
9259
        # which looks to be a dead project)
8765
9260
        lt_prog_compiler_wl='-Wl,'
8771
9266
        # All Alpha code is PIC.
8772
9267
        lt_prog_compiler_static='-non_shared'
8773
9268
        ;;
8774
 
      xl*)
8775
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9269
      xl* | bgxl* | bgf* | mpixl*)
 
9270
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8776
9271
        lt_prog_compiler_wl='-Wl,'
8777
9272
        lt_prog_compiler_pic='-qpic'
8778
9273
        lt_prog_compiler_static='-qstaticlink'
8779
9274
        ;;
8780
9275
      *)
8781
9276
        case `$CC -V 2>&1 | sed 5q` in
 
9277
        *Sun\ F* | *Sun*Fortran*)
 
9278
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9279
          lt_prog_compiler_pic='-KPIC'
 
9280
          lt_prog_compiler_static='-Bstatic'
 
9281
          lt_prog_compiler_wl=''
 
9282
          ;;
8782
9283
        *Sun\ C*)
8783
9284
          # Sun C 5.9
8784
9285
          lt_prog_compiler_pic='-KPIC'
8785
9286
          lt_prog_compiler_static='-Bstatic'
8786
9287
          lt_prog_compiler_wl='-Wl,'
8787
9288
          ;;
8788
 
        *Sun\ F*)
8789
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8790
 
          lt_prog_compiler_pic='-KPIC'
8791
 
          lt_prog_compiler_static='-Bstatic'
8792
 
          lt_prog_compiler_wl=''
8793
 
          ;;
8794
9289
        esac
8795
9290
        ;;
8796
9291
      esac
8821
9316
      lt_prog_compiler_pic='-KPIC'
8822
9317
      lt_prog_compiler_static='-Bstatic'
8823
9318
      case $cc_basename in
8824
 
      f77* | f90* | f95*)
 
9319
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8825
9320
        lt_prog_compiler_wl='-Qoption ld ';;
8826
9321
      *)
8827
9322
        lt_prog_compiler_wl='-Wl,';;
8878
9373
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8879
9374
    ;;
8880
9375
esac
8881
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8882
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8883
 
 
8884
 
 
8885
 
 
8886
 
 
8887
 
 
 
9376
 
 
9377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9378
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9379
if ${lt_cv_prog_compiler_pic+:} false; then :
 
9380
  $as_echo_n "(cached) " >&6
 
9381
else
 
9382
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9383
fi
 
9384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9385
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9386
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8888
9387
 
8889
9388
#
8890
9389
# Check to make sure the PIC flag actually works.
8892
9391
if test -n "$lt_prog_compiler_pic"; then
8893
9392
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8894
9393
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8895
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9394
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8896
9395
  $as_echo_n "(cached) " >&6
8897
9396
else
8898
9397
  lt_cv_prog_compiler_pic_works=no
8908
9407
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8909
9408
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8910
9409
   -e 's:$: $lt_compiler_flag:'`
8911
 
   (eval echo "\"\$as_me:8911: $lt_compile\"" >&5)
 
9410
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8912
9411
   (eval "$lt_compile" 2>conftest.err)
8913
9412
   ac_status=$?
8914
9413
   cat conftest.err >&5
8915
 
   echo "$as_me:8915: \$? = $ac_status" >&5
 
9414
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916
9415
   if (exit $ac_status) && test -s "$ac_outfile"; then
8917
9416
     # The compiler can only warn and ignore the option if not recognized
8918
9417
     # So say no if there are warnings other than the usual output.
8919
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9418
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8920
9419
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8921
9420
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8922
9421
       lt_cv_prog_compiler_pic_works=yes
8945
9444
 
8946
9445
 
8947
9446
 
 
9447
 
 
9448
 
 
9449
 
 
9450
 
 
9451
 
8948
9452
#
8949
9453
# Check to make sure the static flag actually works.
8950
9454
#
8951
9455
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8952
9456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8953
9457
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8954
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9458
if ${lt_cv_prog_compiler_static_works+:} false; then :
8955
9459
  $as_echo_n "(cached) " >&6
8956
9460
else
8957
9461
  lt_cv_prog_compiler_static_works=no
8964
9468
     if test -s conftest.err; then
8965
9469
       # Append any errors to the config.log.
8966
9470
       cat conftest.err 1>&5
8967
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9471
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8968
9472
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8969
9473
       if diff conftest.exp conftest.er2 >/dev/null; then
8970
9474
         lt_cv_prog_compiler_static_works=yes
8994
9498
 
8995
9499
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8996
9500
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8997
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9501
if ${lt_cv_prog_compiler_c_o+:} false; then :
8998
9502
  $as_echo_n "(cached) " >&6
8999
9503
else
9000
9504
  lt_cv_prog_compiler_c_o=no
9013
9517
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9014
9518
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9015
9519
   -e 's:$: $lt_compiler_flag:'`
9016
 
   (eval echo "\"\$as_me:9016: $lt_compile\"" >&5)
 
9520
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9017
9521
   (eval "$lt_compile" 2>out/conftest.err)
9018
9522
   ac_status=$?
9019
9523
   cat out/conftest.err >&5
9020
 
   echo "$as_me:9020: \$? = $ac_status" >&5
 
9524
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021
9525
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9022
9526
   then
9023
9527
     # The compiler can only warn and ignore the option if not recognized
9024
9528
     # So say no if there are warnings
9025
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9529
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9026
9530
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9027
9531
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9028
9532
       lt_cv_prog_compiler_c_o=yes
9049
9553
 
9050
9554
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9051
9555
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9052
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9556
if ${lt_cv_prog_compiler_c_o+:} false; then :
9053
9557
  $as_echo_n "(cached) " >&6
9054
9558
else
9055
9559
  lt_cv_prog_compiler_c_o=no
9068
9572
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9069
9573
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9070
9574
   -e 's:$: $lt_compiler_flag:'`
9071
 
   (eval echo "\"\$as_me:9071: $lt_compile\"" >&5)
 
9575
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9072
9576
   (eval "$lt_compile" 2>out/conftest.err)
9073
9577
   ac_status=$?
9074
9578
   cat out/conftest.err >&5
9075
 
   echo "$as_me:9075: \$? = $ac_status" >&5
 
9579
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076
9580
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9077
9581
   then
9078
9582
     # The compiler can only warn and ignore the option if not recognized
9079
9583
     # So say no if there are warnings
9080
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9584
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9081
9585
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9082
9586
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9083
9587
       lt_cv_prog_compiler_c_o=yes
9187
9691
  openbsd*)
9188
9692
    with_gnu_ld=no
9189
9693
    ;;
9190
 
  linux* | k*bsd*-gnu)
9191
 
    link_all_deplibs=no
9192
 
    ;;
9193
9694
  esac
9194
9695
 
9195
9696
  ld_shlibs=yes
 
9697
 
 
9698
  # On some targets, GNU ld is compatible enough with the native linker
 
9699
  # that we're better off using the native interface for both.
 
9700
  lt_use_gnu_ld_interface=no
9196
9701
  if test "$with_gnu_ld" = yes; then
 
9702
    case $host_os in
 
9703
      aix*)
 
9704
        # The AIX port of GNU ld has always aspired to compatibility
 
9705
        # with the native linker.  However, as the warning in the GNU ld
 
9706
        # block says, versions before 2.19.5* couldn't really create working
 
9707
        # shared libraries, regardless of the interface used.
 
9708
        case `$LD -v 2>&1` in
 
9709
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9710
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9711
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9712
          *)
 
9713
            lt_use_gnu_ld_interface=yes
 
9714
            ;;
 
9715
        esac
 
9716
        ;;
 
9717
      *)
 
9718
        lt_use_gnu_ld_interface=yes
 
9719
        ;;
 
9720
    esac
 
9721
  fi
 
9722
 
 
9723
  if test "$lt_use_gnu_ld_interface" = yes; then
9197
9724
    # If archive_cmds runs LD, not CC, wlarc should be empty
9198
9725
    wlarc='${wl}'
9199
9726
 
9227
9754
        ld_shlibs=no
9228
9755
        cat <<_LT_EOF 1>&2
9229
9756
 
9230
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9757
*** Warning: the GNU linker, at least up to release 2.19, is reported
9231
9758
*** to be unable to reliably create shared libraries on AIX.
9232
9759
*** Therefore, libtool is disabling shared libraries support.  If you
9233
 
*** really care for shared libraries, you may want to modify your PATH
9234
 
*** so that a non-GNU linker is found, and then restart.
 
9760
*** really care for shared libraries, you may want to install binutils
 
9761
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9762
*** You will then need to restart the configuration process.
9235
9763
 
9236
9764
_LT_EOF
9237
9765
      fi
9267
9795
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9268
9796
      # as there is no search path for DLLs.
9269
9797
      hardcode_libdir_flag_spec='-L$libdir'
 
9798
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9270
9799
      allow_undefined_flag=unsupported
9271
9800
      always_export_symbols=no
9272
9801
      enable_shared_with_static_runtimes=yes
9273
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9802
      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'
 
9803
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9274
9804
 
9275
9805
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9276
9806
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9288
9818
      fi
9289
9819
      ;;
9290
9820
 
 
9821
    haiku*)
 
9822
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9823
      link_all_deplibs=yes
 
9824
      ;;
 
9825
 
9291
9826
    interix[3-9]*)
9292
9827
      hardcode_direct=no
9293
9828
      hardcode_shlibpath_var=no
9313
9848
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9314
9849
         && test "$tmp_diet" = no
9315
9850
      then
9316
 
        tmp_addflag=
 
9851
        tmp_addflag=' $pic_flag'
9317
9852
        tmp_sharedflag='-shared'
9318
9853
        case $cc_basename,$host_cpu in
9319
9854
        pgcc*)                          # Portland Group C compiler
9320
 
          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'
 
9855
          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'
9321
9856
          tmp_addflag=' $pic_flag'
9322
9857
          ;;
9323
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9324
 
          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'
 
9858
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9859
                                        # Portland Group f77 and f90 compilers
 
9860
          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'
9325
9861
          tmp_addflag=' $pic_flag -Mnomain' ;;
9326
9862
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9327
9863
          tmp_addflag=' -i_dynamic' ;;
9332
9868
        lf95*)                          # Lahey Fortran 8.1
9333
9869
          whole_archive_flag_spec=
9334
9870
          tmp_sharedflag='--shared' ;;
9335
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9871
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9336
9872
          tmp_sharedflag='-qmkshrobj'
9337
9873
          tmp_addflag= ;;
 
9874
        nvcc*)  # Cuda Compiler Driver 2.2
 
9875
          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'
 
9876
          compiler_needs_object=yes
 
9877
          ;;
9338
9878
        esac
9339
9879
        case `$CC -V 2>&1 | sed 5q` in
9340
9880
        *Sun\ C*)                       # Sun C 5.9
9341
 
          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'
 
9881
          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'
9342
9882
          compiler_needs_object=yes
9343
9883
          tmp_sharedflag='-G' ;;
9344
9884
        *Sun\ F*)                       # Sun Fortran 8.3
9354
9894
        fi
9355
9895
 
9356
9896
        case $cc_basename in
9357
 
        xlf*)
 
9897
        xlf* | bgf* | bgxlf* | mpixlf*)
9358
9898
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9359
9899
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9360
9900
          hardcode_libdir_flag_spec=
9361
9901
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9362
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9902
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9363
9903
          if test "x$supports_anon_versioning" = xyes; then
9364
9904
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9365
9905
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9366
9906
              echo "local: *; };" >> $output_objdir/$libname.ver~
9367
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9907
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9368
9908
          fi
9369
9909
          ;;
9370
9910
        esac
9373
9913
      fi
9374
9914
      ;;
9375
9915
 
9376
 
    netbsd* | netbsdelf*-gnu)
 
9916
    netbsd*)
9377
9917
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9378
9918
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9379
9919
        wlarc=
9380
9920
      else
9381
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9921
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9922
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383
9923
      fi
9384
9924
      ;;
9385
9925
 
9397
9937
 
9398
9938
_LT_EOF
9399
9939
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9400
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9940
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9941
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9402
9942
      else
9403
9943
        ld_shlibs=no
9404
9944
      fi
9444
9984
 
9445
9985
    *)
9446
9986
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9447
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9448
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9987
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9988
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9449
9989
      else
9450
9990
        ld_shlibs=no
9451
9991
      fi
9485
10025
      else
9486
10026
        # If we're using GNU nm, then we don't want the "-C" option.
9487
10027
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10028
        # Also, AIX nm treats weak defined symbols like other global
 
10029
        # defined symbols, whereas GNU nm marks them as "W".
9488
10030
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9489
 
          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'
 
10031
          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'
9490
10032
        else
9491
10033
          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'
9492
10034
        fi
9548
10090
        if test "$aix_use_runtimelinking" = yes; then
9549
10091
          shared_flag="$shared_flag "'${wl}-G'
9550
10092
        fi
9551
 
        link_all_deplibs=no
9552
10093
      else
9553
10094
        # not using gcc
9554
10095
        if test "$host_cpu" = ia64; then
9574
10115
        allow_undefined_flag='-berok'
9575
10116
        # Determine the default libpath from the value encoded in an
9576
10117
        # empty executable.
9577
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10118
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10119
  aix_libpath=$lt_cv_aix_libpath
 
10120
else
 
10121
  if ${lt_cv_aix_libpath_+:} false; then :
 
10122
  $as_echo_n "(cached) " >&6
 
10123
else
 
10124
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578
10125
/* end confdefs.h.  */
9579
10126
 
9580
10127
int
9587
10134
_ACEOF
9588
10135
if ac_fn_c_try_link "$LINENO"; then :
9589
10136
 
9590
 
lt_aix_libpath_sed='
9591
 
    /Import File Strings/,/^$/ {
9592
 
        /^0/ {
9593
 
            s/^0  *\(.*\)$/\1/
9594
 
            p
9595
 
        }
9596
 
    }'
9597
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9598
 
# Check for a 64-bit object if we didn't find anything.
9599
 
if test -z "$aix_libpath"; then
9600
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9601
 
fi
 
10137
  lt_aix_libpath_sed='
 
10138
      /Import File Strings/,/^$/ {
 
10139
          /^0/ {
 
10140
              s/^0  *\([^ ]*\) *$/\1/
 
10141
              p
 
10142
          }
 
10143
      }'
 
10144
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10145
  # Check for a 64-bit object if we didn't find anything.
 
10146
  if test -z "$lt_cv_aix_libpath_"; then
 
10147
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10148
  fi
9602
10149
fi
9603
10150
rm -f core conftest.err conftest.$ac_objext \
9604
10151
    conftest$ac_exeext conftest.$ac_ext
9605
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10152
  if test -z "$lt_cv_aix_libpath_"; then
 
10153
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10154
  fi
 
10155
 
 
10156
fi
 
10157
 
 
10158
  aix_libpath=$lt_cv_aix_libpath_
 
10159
fi
9606
10160
 
9607
10161
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9608
 
        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"
 
10162
        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"
9609
10163
      else
9610
10164
        if test "$host_cpu" = ia64; then
9611
10165
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9614
10168
        else
9615
10169
         # Determine the default libpath from the value encoded in an
9616
10170
         # empty executable.
9617
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10171
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10172
  aix_libpath=$lt_cv_aix_libpath
 
10173
else
 
10174
  if ${lt_cv_aix_libpath_+:} false; then :
 
10175
  $as_echo_n "(cached) " >&6
 
10176
else
 
10177
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618
10178
/* end confdefs.h.  */
9619
10179
 
9620
10180
int
9627
10187
_ACEOF
9628
10188
if ac_fn_c_try_link "$LINENO"; then :
9629
10189
 
9630
 
lt_aix_libpath_sed='
9631
 
    /Import File Strings/,/^$/ {
9632
 
        /^0/ {
9633
 
            s/^0  *\(.*\)$/\1/
9634
 
            p
9635
 
        }
9636
 
    }'
9637
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9638
 
# Check for a 64-bit object if we didn't find anything.
9639
 
if test -z "$aix_libpath"; then
9640
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9641
 
fi
 
10190
  lt_aix_libpath_sed='
 
10191
      /Import File Strings/,/^$/ {
 
10192
          /^0/ {
 
10193
              s/^0  *\([^ ]*\) *$/\1/
 
10194
              p
 
10195
          }
 
10196
      }'
 
10197
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10198
  # Check for a 64-bit object if we didn't find anything.
 
10199
  if test -z "$lt_cv_aix_libpath_"; then
 
10200
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10201
  fi
9642
10202
fi
9643
10203
rm -f core conftest.err conftest.$ac_objext \
9644
10204
    conftest$ac_exeext conftest.$ac_ext
9645
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10205
  if test -z "$lt_cv_aix_libpath_"; then
 
10206
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10207
  fi
 
10208
 
 
10209
fi
 
10210
 
 
10211
  aix_libpath=$lt_cv_aix_libpath_
 
10212
fi
9646
10213
 
9647
10214
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9648
10215
          # Warning - without using the other run time loading flags,
9649
10216
          # -berok will link without error, but may produce a broken library.
9650
10217
          no_undefined_flag=' ${wl}-bernotok'
9651
10218
          allow_undefined_flag=' ${wl}-berok'
9652
 
          # Exported symbols can be pulled into shared objects from archives
9653
 
          whole_archive_flag_spec='$convenience'
 
10219
          if test "$with_gnu_ld" = yes; then
 
10220
            # We only use this code for GNU lds that support --whole-archive.
 
10221
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10222
          else
 
10223
            # Exported symbols can be pulled into shared objects from archives
 
10224
            whole_archive_flag_spec='$convenience'
 
10225
          fi
9654
10226
          archive_cmds_need_lc=yes
9655
10227
          # This is similar to how AIX traditionally builds its shared libraries.
9656
10228
          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'
9682
10254
      # Microsoft Visual C++.
9683
10255
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9684
10256
      # no search path for DLLs.
9685
 
      hardcode_libdir_flag_spec=' '
9686
 
      allow_undefined_flag=unsupported
9687
 
      # Tell ltmain to make .lib files, not .a files.
9688
 
      libext=lib
9689
 
      # Tell ltmain to make .dll files, not .so files.
9690
 
      shrext_cmds=".dll"
9691
 
      # FIXME: Setting linknames here is a bad hack.
9692
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9693
 
      # The linker will automatically build a .lib file if we build a DLL.
9694
 
      old_archive_from_new_cmds='true'
9695
 
      # FIXME: Should let the user specify the lib program.
9696
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9697
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9698
 
      enable_shared_with_static_runtimes=yes
 
10257
      case $cc_basename in
 
10258
      cl*)
 
10259
        # Native MSVC
 
10260
        hardcode_libdir_flag_spec=' '
 
10261
        allow_undefined_flag=unsupported
 
10262
        always_export_symbols=yes
 
10263
        file_list_spec='@'
 
10264
        # Tell ltmain to make .lib files, not .a files.
 
10265
        libext=lib
 
10266
        # Tell ltmain to make .dll files, not .so files.
 
10267
        shrext_cmds=".dll"
 
10268
        # FIXME: Setting linknames here is a bad hack.
 
10269
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10270
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10271
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10272
          else
 
10273
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10274
          fi~
 
10275
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10276
          linknames='
 
10277
        # The linker will not automatically build a static lib if we build a DLL.
 
10278
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10279
        enable_shared_with_static_runtimes=yes
 
10280
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10281
        # Don't use ranlib
 
10282
        old_postinstall_cmds='chmod 644 $oldlib'
 
10283
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10284
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10285
          case $lt_outputfile in
 
10286
            *.exe|*.EXE) ;;
 
10287
            *)
 
10288
              lt_outputfile="$lt_outputfile.exe"
 
10289
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10290
              ;;
 
10291
          esac~
 
10292
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10293
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10294
            $RM "$lt_outputfile.manifest";
 
10295
          fi'
 
10296
        ;;
 
10297
      *)
 
10298
        # Assume MSVC wrapper
 
10299
        hardcode_libdir_flag_spec=' '
 
10300
        allow_undefined_flag=unsupported
 
10301
        # Tell ltmain to make .lib files, not .a files.
 
10302
        libext=lib
 
10303
        # Tell ltmain to make .dll files, not .so files.
 
10304
        shrext_cmds=".dll"
 
10305
        # FIXME: Setting linknames here is a bad hack.
 
10306
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10307
        # The linker will automatically build a .lib file if we build a DLL.
 
10308
        old_archive_from_new_cmds='true'
 
10309
        # FIXME: Should let the user specify the lib program.
 
10310
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10311
        enable_shared_with_static_runtimes=yes
 
10312
        ;;
 
10313
      esac
9699
10314
      ;;
9700
10315
 
9701
10316
    darwin* | rhapsody*)
9705
10320
  hardcode_direct=no
9706
10321
  hardcode_automatic=yes
9707
10322
  hardcode_shlibpath_var=unsupported
9708
 
  whole_archive_flag_spec=''
 
10323
  if test "$lt_cv_ld_force_load" = "yes"; then
 
10324
    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\"`'
 
10325
  else
 
10326
    whole_archive_flag_spec=''
 
10327
  fi
9709
10328
  link_all_deplibs=yes
9710
10329
  allow_undefined_flag="$_lt_dar_allow_undefined"
9711
10330
  case $cc_basename in
9713
10332
     *) _lt_dar_can_shared=$GCC ;;
9714
10333
  esac
9715
10334
  if test "$_lt_dar_can_shared" = "yes"; then
9716
 
    output_verbose_link_cmd=echo
 
10335
    output_verbose_link_cmd=func_echo_all
9717
10336
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9718
10337
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9719
10338
    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}"
9756
10375
 
9757
10376
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9758
10377
    freebsd* | dragonfly*)
9759
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
10378
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9760
10379
      hardcode_libdir_flag_spec='-R$libdir'
9761
10380
      hardcode_direct=yes
9762
10381
      hardcode_shlibpath_var=no
9764
10383
 
9765
10384
    hpux9*)
9766
10385
      if test "$GCC" = yes; then
9767
 
        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'
 
10386
        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'
9768
10387
      else
9769
10388
        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'
9770
10389
      fi
9779
10398
      ;;
9780
10399
 
9781
10400
    hpux10*)
9782
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9783
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10401
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
10402
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9784
10403
      else
9785
10404
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9786
10405
      fi
9798
10417
      ;;
9799
10418
 
9800
10419
    hpux11*)
9801
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
10420
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9802
10421
        case $host_cpu in
9803
10422
        hppa*64*)
9804
10423
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9805
10424
          ;;
9806
10425
        ia64*)
9807
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10426
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9808
10427
          ;;
9809
10428
        *)
9810
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10429
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9811
10430
          ;;
9812
10431
        esac
9813
10432
      else
9819
10438
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9820
10439
          ;;
9821
10440
        *)
9822
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10441
 
 
10442
          # Older versions of the 11.00 compiler do not understand -b yet
 
10443
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
10444
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
10445
$as_echo_n "checking if $CC understands -b... " >&6; }
 
10446
if ${lt_cv_prog_compiler__b+:} false; then :
 
10447
  $as_echo_n "(cached) " >&6
 
10448
else
 
10449
  lt_cv_prog_compiler__b=no
 
10450
   save_LDFLAGS="$LDFLAGS"
 
10451
   LDFLAGS="$LDFLAGS -b"
 
10452
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10453
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10454
     # The linker can only warn and ignore the option if not recognized
 
10455
     # So say no if there are warnings
 
10456
     if test -s conftest.err; then
 
10457
       # Append any errors to the config.log.
 
10458
       cat conftest.err 1>&5
 
10459
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10460
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10461
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10462
         lt_cv_prog_compiler__b=yes
 
10463
       fi
 
10464
     else
 
10465
       lt_cv_prog_compiler__b=yes
 
10466
     fi
 
10467
   fi
 
10468
   $RM -r conftest*
 
10469
   LDFLAGS="$save_LDFLAGS"
 
10470
 
 
10471
fi
 
10472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
10473
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
10474
 
 
10475
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
10476
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10477
else
 
10478
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10479
fi
 
10480
 
9823
10481
          ;;
9824
10482
        esac
9825
10483
      fi
9847
10505
 
9848
10506
    irix5* | irix6* | nonstopux*)
9849
10507
      if test "$GCC" = yes; then
9850
 
        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'
 
10508
        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'
9851
10509
        # Try to use the -exported_symbol ld option, if it does not
9852
10510
        # work, assume that -exports_file does not work either and
9853
10511
        # implicitly export all symbols.
9854
 
        save_LDFLAGS="$LDFLAGS"
9855
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9856
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10512
        # This should be the same for all languages, so no per-tag cache variable.
 
10513
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
10514
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
10515
if ${lt_cv_irix_exported_symbol+:} false; then :
 
10516
  $as_echo_n "(cached) " >&6
 
10517
else
 
10518
  save_LDFLAGS="$LDFLAGS"
 
10519
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10520
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857
10521
/* end confdefs.h.  */
9858
 
int foo(void) {}
 
10522
int foo (void) { return 0; }
9859
10523
_ACEOF
9860
10524
if ac_fn_c_try_link "$LINENO"; then :
9861
 
  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'
9862
 
 
 
10525
  lt_cv_irix_exported_symbol=yes
 
10526
else
 
10527
  lt_cv_irix_exported_symbol=no
9863
10528
fi
9864
10529
rm -f core conftest.err conftest.$ac_objext \
9865
10530
    conftest$ac_exeext conftest.$ac_ext
9866
 
        LDFLAGS="$save_LDFLAGS"
 
10531
           LDFLAGS="$save_LDFLAGS"
 
10532
fi
 
10533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
10534
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
10535
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
10536
          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'
 
10537
        fi
9867
10538
      else
9868
 
        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'
9869
 
        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'
 
10539
        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'
 
10540
        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'
9870
10541
      fi
9871
10542
      archive_cmds_need_lc='no'
9872
10543
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9875
10546
      link_all_deplibs=yes
9876
10547
      ;;
9877
10548
 
9878
 
    netbsd* | netbsdelf*-gnu)
 
10549
    netbsd*)
9879
10550
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9880
10551
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9881
10552
      else
9928
10599
      hardcode_libdir_flag_spec='-L$libdir'
9929
10600
      hardcode_minus_L=yes
9930
10601
      allow_undefined_flag=unsupported
9931
 
      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'
 
10602
      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'
9932
10603
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9933
10604
      ;;
9934
10605
 
9935
10606
    osf3*)
9936
10607
      if test "$GCC" = yes; then
9937
10608
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9938
 
        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'
 
10609
        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'
9939
10610
      else
9940
10611
        allow_undefined_flag=' -expect_unresolved \*'
9941
 
        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'
 
10612
        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'
9942
10613
      fi
9943
10614
      archive_cmds_need_lc='no'
9944
10615
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9948
10619
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9949
10620
      if test "$GCC" = yes; then
9950
10621
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9951
 
        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'
 
10622
        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'
9952
10623
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9953
10624
      else
9954
10625
        allow_undefined_flag=' -expect_unresolved \*'
9955
 
        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'
 
10626
        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'
9956
10627
        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~
9957
 
        $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'
 
10628
        $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'
9958
10629
 
9959
10630
        # Both c and cxx compiler support -rpath directly
9960
10631
        hardcode_libdir_flag_spec='-rpath $libdir'
9967
10638
      no_undefined_flag=' -z defs'
9968
10639
      if test "$GCC" = yes; then
9969
10640
        wlarc='${wl}'
9970
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10641
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9971
10642
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9972
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10643
          $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'
9973
10644
      else
9974
10645
        case `$CC -V 2>&1` in
9975
10646
        *"Compilers 5.0"*)
10157
10828
      # to ld, don't add -lc before -lgcc.
10158
10829
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10159
10830
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10160
 
      $RM conftest*
10161
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10831
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10832
  $as_echo_n "(cached) " >&6
 
10833
else
 
10834
  $RM conftest*
 
10835
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10162
10836
 
10163
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10837
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10164
10838
  (eval $ac_compile) 2>&5
10165
10839
  ac_status=$?
10166
10840
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10167
10841
  test $ac_status = 0; } 2>conftest.err; then
10168
 
        soname=conftest
10169
 
        lib=conftest
10170
 
        libobjs=conftest.$ac_objext
10171
 
        deplibs=
10172
 
        wl=$lt_prog_compiler_wl
10173
 
        pic_flag=$lt_prog_compiler_pic
10174
 
        compiler_flags=-v
10175
 
        linker_flags=-v
10176
 
        verstring=
10177
 
        output_objdir=.
10178
 
        libname=conftest
10179
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
10180
 
        allow_undefined_flag=
10181
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10842
          soname=conftest
 
10843
          lib=conftest
 
10844
          libobjs=conftest.$ac_objext
 
10845
          deplibs=
 
10846
          wl=$lt_prog_compiler_wl
 
10847
          pic_flag=$lt_prog_compiler_pic
 
10848
          compiler_flags=-v
 
10849
          linker_flags=-v
 
10850
          verstring=
 
10851
          output_objdir=.
 
10852
          libname=conftest
 
10853
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10854
          allow_undefined_flag=
 
10855
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10182
10856
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10183
10857
  ac_status=$?
10184
10858
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10185
10859
  test $ac_status = 0; }
10186
 
        then
10187
 
          archive_cmds_need_lc=no
10188
 
        else
10189
 
          archive_cmds_need_lc=yes
10190
 
        fi
10191
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
10192
 
      else
10193
 
        cat conftest.err 1>&5
10194
 
      fi
10195
 
      $RM conftest*
10196
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10197
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10860
          then
 
10861
            lt_cv_archive_cmds_need_lc=no
 
10862
          else
 
10863
            lt_cv_archive_cmds_need_lc=yes
 
10864
          fi
 
10865
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10866
        else
 
10867
          cat conftest.err 1>&5
 
10868
        fi
 
10869
        $RM conftest*
 
10870
 
 
10871
fi
 
10872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10873
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10874
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10198
10875
      ;;
10199
10876
    esac
10200
10877
  fi
10365
11042
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10366
11043
    *) lt_awk_arg="/^libraries:/" ;;
10367
11044
  esac
10368
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10369
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
11045
  case $host_os in
 
11046
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
11047
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
11048
  esac
 
11049
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
11050
  case $lt_search_path_spec in
 
11051
  *\;*)
10370
11052
    # if the path contains ";" then we assume it to be the separator
10371
11053
    # otherwise default to the standard path separator (i.e. ":") - it is
10372
11054
    # assumed that no part of a normal pathname contains ";" but that should
10373
11055
    # okay in the real world where ";" in dirpaths is itself problematic.
10374
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10375
 
  else
10376
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10377
 
  fi
 
11056
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
11057
    ;;
 
11058
  *)
 
11059
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
11060
    ;;
 
11061
  esac
10378
11062
  # Ok, now we have the path, separated by spaces, we can step through it
10379
11063
  # and add multilib dir if necessary.
10380
11064
  lt_tmp_lt_search_path_spec=
10387
11071
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10388
11072
    fi
10389
11073
  done
10390
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
11074
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10391
11075
BEGIN {RS=" "; FS="/|\n";} {
10392
11076
  lt_foo="";
10393
11077
  lt_count=0;
10407
11091
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10408
11092
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10409
11093
}'`
10410
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
11094
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
11095
  # for these hosts.
 
11096
  case $host_os in
 
11097
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
11098
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
11099
  esac
 
11100
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10411
11101
else
10412
11102
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10413
11103
fi
10495
11185
  m68k)
10496
11186
    library_names_spec='$libname.ixlibrary $libname.a'
10497
11187
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10498
 
    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'
 
11188
    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'
10499
11189
    ;;
10500
11190
  esac
10501
11191
  ;;
10526
11216
  need_version=no
10527
11217
  need_lib_prefix=no
10528
11218
 
10529
 
  case $GCC,$host_os in
10530
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
11219
  case $GCC,$cc_basename in
 
11220
  yes,*)
 
11221
    # gcc
10531
11222
    library_names_spec='$libname.dll.a'
10532
11223
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10533
11224
    postinstall_cmds='base_file=`basename \${file}`~
10548
11239
    cygwin*)
10549
11240
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10550
11241
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10551
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
11242
 
 
11243
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10552
11244
      ;;
10553
11245
    mingw* | cegcc*)
10554
11246
      # MinGW DLLs use traditional 'lib' prefix
10555
11247
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10556
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10557
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10558
 
        # It is most probably a Windows format PATH printed by
10559
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10560
 
        # path with ; separators, and with drive letters. We can handle the
10561
 
        # drive letters (cygwin fileutils understands them), so leave them,
10562
 
        # especially as we might pass files found there to a mingw objdump,
10563
 
        # which wouldn't understand a cygwinified path. Ahh.
10564
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10565
 
      else
10566
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10567
 
      fi
10568
11248
      ;;
10569
11249
    pw32*)
10570
11250
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10571
11251
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10572
11252
      ;;
10573
11253
    esac
 
11254
    dynamic_linker='Win32 ld.exe'
 
11255
    ;;
 
11256
 
 
11257
  *,cl*)
 
11258
    # Native MSVC
 
11259
    libname_spec='$name'
 
11260
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11261
    library_names_spec='${libname}.dll.lib'
 
11262
 
 
11263
    case $build_os in
 
11264
    mingw*)
 
11265
      sys_lib_search_path_spec=
 
11266
      lt_save_ifs=$IFS
 
11267
      IFS=';'
 
11268
      for lt_path in $LIB
 
11269
      do
 
11270
        IFS=$lt_save_ifs
 
11271
        # Let DOS variable expansion print the short 8.3 style file name.
 
11272
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11273
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11274
      done
 
11275
      IFS=$lt_save_ifs
 
11276
      # Convert to MSYS style.
 
11277
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11278
      ;;
 
11279
    cygwin*)
 
11280
      # Convert to unix form, then to dos form, then back to unix form
 
11281
      # but this time dos style (no spaces!) so that the unix form looks
 
11282
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11283
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11284
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11285
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11286
      ;;
 
11287
    *)
 
11288
      sys_lib_search_path_spec="$LIB"
 
11289
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11290
        # It is most probably a Windows format PATH.
 
11291
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11292
      else
 
11293
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11294
      fi
 
11295
      # FIXME: find the short name or the path components, as spaces are
 
11296
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11297
      ;;
 
11298
    esac
 
11299
 
 
11300
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11301
    postinstall_cmds='base_file=`basename \${file}`~
 
11302
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11303
      dldir=$destdir/`dirname \$dlpath`~
 
11304
      test -d \$dldir || mkdir -p \$dldir~
 
11305
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11306
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11307
      dlpath=$dir/\$dldll~
 
11308
       $RM \$dlpath'
 
11309
    shlibpath_overrides_runpath=yes
 
11310
    dynamic_linker='Win32 link.exe'
10574
11311
    ;;
10575
11312
 
10576
11313
  *)
 
11314
    # Assume MSVC wrapper
10577
11315
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11316
    dynamic_linker='Win32 ld.exe'
10578
11317
    ;;
10579
11318
  esac
10580
 
  dynamic_linker='Win32 ld.exe'
10581
11319
  # FIXME: first we should search . and the directory the executable is in
10582
11320
  shlibpath_var=PATH
10583
11321
  ;;
10664
11402
  hardcode_into_libs=yes
10665
11403
  ;;
10666
11404
 
 
11405
haiku*)
 
11406
  version_type=linux
 
11407
  need_lib_prefix=no
 
11408
  need_version=no
 
11409
  dynamic_linker="$host_os runtime_loader"
 
11410
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
11411
  soname_spec='${libname}${release}${shared_ext}$major'
 
11412
  shlibpath_var=LIBRARY_PATH
 
11413
  shlibpath_overrides_runpath=yes
 
11414
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
11415
  hardcode_into_libs=yes
 
11416
  ;;
 
11417
 
10667
11418
hpux9* | hpux10* | hpux11*)
10668
11419
  # Give a soname corresponding to the major version so that dld.sl refuses to
10669
11420
  # link against other versions.
10706
11457
    soname_spec='${libname}${release}${shared_ext}$major'
10707
11458
    ;;
10708
11459
  esac
10709
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
11460
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10710
11461
  postinstall_cmds='chmod 555 $lib'
 
11462
  # or fails outright, so override atomically:
 
11463
  install_override_mode=555
10711
11464
  ;;
10712
11465
 
10713
11466
interix[3-9]*)
10774
11527
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10775
11528
  shlibpath_var=LD_LIBRARY_PATH
10776
11529
  shlibpath_overrides_runpath=no
 
11530
 
10777
11531
  # Some binutils ld are patched to set DT_RUNPATH
10778
 
  save_LDFLAGS=$LDFLAGS
10779
 
  save_libdir=$libdir
10780
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10781
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10782
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11532
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
11533
  $as_echo_n "(cached) " >&6
 
11534
else
 
11535
  lt_cv_shlibpath_overrides_runpath=no
 
11536
    save_LDFLAGS=$LDFLAGS
 
11537
    save_libdir=$libdir
 
11538
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11539
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11540
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783
11541
/* end confdefs.h.  */
10784
11542
 
10785
11543
int
10792
11550
_ACEOF
10793
11551
if ac_fn_c_try_link "$LINENO"; then :
10794
11552
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10795
 
  shlibpath_overrides_runpath=yes
 
11553
  lt_cv_shlibpath_overrides_runpath=yes
10796
11554
fi
10797
11555
fi
10798
11556
rm -f core conftest.err conftest.$ac_objext \
10799
11557
    conftest$ac_exeext conftest.$ac_ext
10800
 
  LDFLAGS=$save_LDFLAGS
10801
 
  libdir=$save_libdir
 
11558
    LDFLAGS=$save_LDFLAGS
 
11559
    libdir=$save_libdir
 
11560
 
 
11561
fi
 
11562
 
 
11563
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10802
11564
 
10803
11565
  # This implies no fast_install, which is unacceptable.
10804
11566
  # Some rework will be needed to allow for fast_install
10805
11567
  # before this can be enabled.
10806
11568
  hardcode_into_libs=yes
10807
11569
 
 
11570
  # Add ABI-specific directories to the system library path.
 
11571
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
11572
 
10808
11573
  # Append ld.so.conf contents to the search path
10809
11574
  if test -f /etc/ld.so.conf; then
10810
 
    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' ' '`
10811
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
11575
    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' ' '`
 
11576
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
11577
 
10812
11578
  fi
10813
11579
 
10814
11580
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10820
11586
  dynamic_linker='GNU/Linux ld.so'
10821
11587
  ;;
10822
11588
 
10823
 
netbsdelf*-gnu)
10824
 
  version_type=linux
10825
 
  need_lib_prefix=no
10826
 
  need_version=no
10827
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10828
 
  soname_spec='${libname}${release}${shared_ext}$major'
10829
 
  shlibpath_var=LD_LIBRARY_PATH
10830
 
  shlibpath_overrides_runpath=no
10831
 
  hardcode_into_libs=yes
10832
 
  dynamic_linker='NetBSD ld.elf_so'
10833
 
  ;;
10834
 
 
10835
11589
netbsd*)
10836
11590
  version_type=sunos
10837
11591
  need_lib_prefix=no
11122
11876
 
11123
11877
 
11124
11878
 
 
11879
 
 
11880
 
 
11881
 
 
11882
 
 
11883
 
11125
11884
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11126
11885
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11127
11886
hardcode_action=
11194
11953
  # if libdl is installed we need to link against it
11195
11954
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11196
11955
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11197
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11956
if ${ac_cv_lib_dl_dlopen+:} false; then :
11198
11957
  $as_echo_n "(cached) " >&6
11199
11958
else
11200
11959
  ac_check_lib_save_LIBS=$LIBS
11228
11987
fi
11229
11988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11230
11989
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11231
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11990
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11232
11991
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11233
11992
else
11234
11993
 
11242
12001
 
11243
12002
  *)
11244
12003
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11245
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
12004
if test "x$ac_cv_func_shl_load" = xyes; then :
11246
12005
  lt_cv_dlopen="shl_load"
11247
12006
else
11248
12007
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11249
12008
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11250
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
12009
if ${ac_cv_lib_dld_shl_load+:} false; then :
11251
12010
  $as_echo_n "(cached) " >&6
11252
12011
else
11253
12012
  ac_check_lib_save_LIBS=$LIBS
11281
12040
fi
11282
12041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11283
12042
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11284
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
12043
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11285
12044
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11286
12045
else
11287
12046
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11288
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
12047
if test "x$ac_cv_func_dlopen" = xyes; then :
11289
12048
  lt_cv_dlopen="dlopen"
11290
12049
else
11291
12050
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11292
12051
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11293
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12052
if ${ac_cv_lib_dl_dlopen+:} false; then :
11294
12053
  $as_echo_n "(cached) " >&6
11295
12054
else
11296
12055
  ac_check_lib_save_LIBS=$LIBS
11324
12083
fi
11325
12084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11326
12085
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11327
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12086
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11328
12087
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11329
12088
else
11330
12089
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11331
12090
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11332
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12091
if ${ac_cv_lib_svld_dlopen+:} false; then :
11333
12092
  $as_echo_n "(cached) " >&6
11334
12093
else
11335
12094
  ac_check_lib_save_LIBS=$LIBS
11363
12122
fi
11364
12123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11365
12124
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11366
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
12125
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11367
12126
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11368
12127
else
11369
12128
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11370
12129
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11371
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12130
if ${ac_cv_lib_dld_dld_link+:} false; then :
11372
12131
  $as_echo_n "(cached) " >&6
11373
12132
else
11374
12133
  ac_check_lib_save_LIBS=$LIBS
11402
12161
fi
11403
12162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11404
12163
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11405
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12164
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11406
12165
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11407
12166
fi
11408
12167
 
11443
12202
 
11444
12203
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11445
12204
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11446
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12205
if ${lt_cv_dlopen_self+:} false; then :
11447
12206
  $as_echo_n "(cached) " >&6
11448
12207
else
11449
12208
          if test "$cross_compiling" = yes; then :
11452
12211
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11453
12212
  lt_status=$lt_dlunknown
11454
12213
  cat > conftest.$ac_ext <<_LT_EOF
11455
 
#line 11455 "configure"
 
12214
#line $LINENO "configure"
11456
12215
#include "confdefs.h"
11457
12216
 
11458
12217
#if HAVE_DLFCN_H
11493
12252
#  endif
11494
12253
#endif
11495
12254
 
11496
 
void fnord() { int i=42;}
 
12255
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12256
   correspondingly for the symbols needed.  */
 
12257
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12258
int fnord () __attribute__((visibility("default")));
 
12259
#endif
 
12260
 
 
12261
int fnord () { return 42; }
11497
12262
int main ()
11498
12263
{
11499
12264
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11502
12267
  if (self)
11503
12268
    {
11504
12269
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11505
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12270
      else
 
12271
        {
 
12272
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12273
          else puts (dlerror ());
 
12274
        }
11506
12275
      /* dlclose (self); */
11507
12276
    }
11508
12277
  else
11539
12308
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11540
12309
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11541
12310
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11542
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12311
if ${lt_cv_dlopen_self_static+:} false; then :
11543
12312
  $as_echo_n "(cached) " >&6
11544
12313
else
11545
12314
          if test "$cross_compiling" = yes; then :
11548
12317
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11549
12318
  lt_status=$lt_dlunknown
11550
12319
  cat > conftest.$ac_ext <<_LT_EOF
11551
 
#line 11551 "configure"
 
12320
#line $LINENO "configure"
11552
12321
#include "confdefs.h"
11553
12322
 
11554
12323
#if HAVE_DLFCN_H
11589
12358
#  endif
11590
12359
#endif
11591
12360
 
11592
 
void fnord() { int i=42;}
 
12361
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12362
   correspondingly for the symbols needed.  */
 
12363
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12364
int fnord () __attribute__((visibility("default")));
 
12365
#endif
 
12366
 
 
12367
int fnord () { return 42; }
11593
12368
int main ()
11594
12369
{
11595
12370
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11598
12373
  if (self)
11599
12374
    {
11600
12375
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11601
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12376
      else
 
12377
        {
 
12378
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12379
          else puts (dlerror ());
 
12380
        }
11602
12381
      /* dlclose (self); */
11603
12382
    }
11604
12383
  else
11817
12596
set dummy intltool-update; ac_word=$2
11818
12597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11819
12598
$as_echo_n "checking for $ac_word... " >&6; }
11820
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
12599
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
11821
12600
  $as_echo_n "(cached) " >&6
11822
12601
else
11823
12602
  case $INTLTOOL_UPDATE in
11857
12636
set dummy intltool-merge; ac_word=$2
11858
12637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11859
12638
$as_echo_n "checking for $ac_word... " >&6; }
11860
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
12639
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
11861
12640
  $as_echo_n "(cached) " >&6
11862
12641
else
11863
12642
  case $INTLTOOL_MERGE in
11897
12676
set dummy intltool-extract; ac_word=$2
11898
12677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11899
12678
$as_echo_n "checking for $ac_word... " >&6; }
11900
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
12679
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
11901
12680
  $as_echo_n "(cached) " >&6
11902
12681
else
11903
12682
  case $INTLTOOL_EXTRACT in
12058
12837
set dummy xgettext; ac_word=$2
12059
12838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12060
12839
$as_echo_n "checking for $ac_word... " >&6; }
12061
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
12840
if ${ac_cv_path_XGETTEXT+:} false; then :
12062
12841
  $as_echo_n "(cached) " >&6
12063
12842
else
12064
12843
  case $XGETTEXT in
12098
12877
set dummy msgmerge; ac_word=$2
12099
12878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12100
12879
$as_echo_n "checking for $ac_word... " >&6; }
12101
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
12880
if ${ac_cv_path_MSGMERGE+:} false; then :
12102
12881
  $as_echo_n "(cached) " >&6
12103
12882
else
12104
12883
  case $MSGMERGE in
12138
12917
set dummy msgfmt; ac_word=$2
12139
12918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12140
12919
$as_echo_n "checking for $ac_word... " >&6; }
12141
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
12920
if ${ac_cv_path_MSGFMT+:} false; then :
12142
12921
  $as_echo_n "(cached) " >&6
12143
12922
else
12144
12923
  case $MSGFMT in
12178
12957
set dummy gmsgfmt; ac_word=$2
12179
12958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12180
12959
$as_echo_n "checking for $ac_word... " >&6; }
12181
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
12960
if ${ac_cv_path_GMSGFMT+:} false; then :
12182
12961
  $as_echo_n "(cached) " >&6
12183
12962
else
12184
12963
  case $GMSGFMT in
12229
13008
set dummy perl; ac_word=$2
12230
13009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12231
13010
$as_echo_n "checking for $ac_word... " >&6; }
12232
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
13011
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12233
13012
  $as_echo_n "(cached) " >&6
12234
13013
else
12235
13014
  case $INTLTOOL_PERL in
12313
13092
  case $host in
12314
13093
    *-*-solaris*)
12315
13094
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12316
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
13095
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12317
13096
  DATADIRNAME=share
12318
13097
else
12319
13098
  DATADIRNAME=lib
12337
13116
set dummy pkg-config; ac_word=$2
12338
13117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12339
13118
$as_echo_n "checking for $ac_word... " >&6; }
12340
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
13119
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12341
13120
  $as_echo_n "(cached) " >&6
12342
13121
else
12343
13122
  case $PKG_CONFIG in
12387
13166
 
12388
13167
 
12389
13168
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12390
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
13169
if test "x$ac_cv_type_pid_t" = xyes; then :
12391
13170
 
12392
13171
else
12393
13172
 
12399
13178
 
12400
13179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12401
13180
$as_echo_n "checking return type of signal handlers... " >&6; }
12402
 
if test "${ac_cv_type_signal+set}" = set; then :
 
13181
if ${ac_cv_type_signal+:} false; then :
12403
13182
  $as_echo_n "(cached) " >&6
12404
13183
else
12405
13184
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431
13210
 
12432
13211
 
12433
13212
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12434
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
13213
if test "x$ac_cv_type_size_t" = xyes; then :
12435
13214
 
12436
13215
else
12437
13216
 
12443
13222
 
12444
13223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
12445
13224
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12446
 
if test "${ac_cv_type_uid_t+set}" = set; then :
 
13225
if ${ac_cv_type_uid_t+:} false; then :
12447
13226
  $as_echo_n "(cached) " >&6
12448
13227
else
12449
13228
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484
13263
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12485
13264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12486
13265
$as_echo_n "checking for $ac_word... " >&6; }
12487
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
13266
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12488
13267
  $as_echo_n "(cached) " >&6
12489
13268
else
12490
13269
  case $PKG_CONFIG in
12527
13306
set dummy pkg-config; ac_word=$2
12528
13307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12529
13308
$as_echo_n "checking for $ac_word... " >&6; }
12530
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
13309
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12531
13310
  $as_echo_n "(cached) " >&6
12532
13311
else
12533
13312
  case $ac_pt_PKG_CONFIG in
12597
13376
set dummy gtkdoc-check; ac_word=$2
12598
13377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12599
13378
$as_echo_n "checking for $ac_word... " >&6; }
12600
 
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
 
13379
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12601
13380
  $as_echo_n "(cached) " >&6
12602
13381
else
12603
13382
  case $GTKDOC_CHECK in
12639
13418
set dummy $ac_prog; ac_word=$2
12640
13419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12641
13420
$as_echo_n "checking for $ac_word... " >&6; }
12642
 
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
 
13421
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12643
13422
  $as_echo_n "(cached) " >&6
12644
13423
else
12645
13424
  case $GTKDOC_REBASE in
12683
13462
set dummy gtkdoc-mkpdf; ac_word=$2
12684
13463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12685
13464
$as_echo_n "checking for $ac_word... " >&6; }
12686
 
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
 
13465
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12687
13466
  $as_echo_n "(cached) " >&6
12688
13467
else
12689
13468
  case $GTKDOC_MKPDF in
12888
13667
Alternatively, you may set the environment variables GLIB_CFLAGS
12889
13668
and GLIB_LIBS to avoid the need to call pkg-config.
12890
13669
See the pkg-config man page for more details." "$LINENO" 5
 
13670
 
12891
13671
elif test $pkg_failed = untried; then
12892
13672
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12893
13673
$as_echo "no" >&6; }
12902
13682
See the pkg-config man page for more details.
12903
13683
 
12904
13684
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12905
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
13685
See \`config.log' for more details" "$LINENO" 5; }
 
13686
 
12906
13687
else
12907
13688
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12908
13689
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
12928
13709
   for ac_header in locale.h
12929
13710
do :
12930
13711
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12931
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
13712
if test "x$ac_cv_header_locale_h" = xyes; then :
12932
13713
  cat >>confdefs.h <<_ACEOF
12933
13714
#define HAVE_LOCALE_H 1
12934
13715
_ACEOF
12940
13721
    if test $ac_cv_header_locale_h = yes; then
12941
13722
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12942
13723
$as_echo_n "checking for LC_MESSAGES... " >&6; }
12943
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
13724
if ${am_cv_val_LC_MESSAGES+:} false; then :
12944
13725
  $as_echo_n "(cached) " >&6
12945
13726
else
12946
13727
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12980
13761
    INTLLIBS=
12981
13762
 
12982
13763
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12983
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
13764
if test "x$ac_cv_header_libintl_h" = xyes; then :
12984
13765
  gt_cv_func_dgettext_libintl="no"
12985
13766
      libintl_extra_libs=""
12986
13767
 
12989
13770
      #
12990
13771
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12991
13772
$as_echo_n "checking for ngettext in libc... " >&6; }
12992
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
13773
if ${gt_cv_func_ngettext_libc+:} false; then :
12993
13774
  $as_echo_n "(cached) " >&6
12994
13775
else
12995
13776
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020
13801
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13021
13802
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13022
13803
$as_echo_n "checking for dgettext in libc... " >&6; }
13023
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
13804
if ${gt_cv_func_dgettext_libc+:} false; then :
13024
13805
  $as_echo_n "(cached) " >&6
13025
13806
else
13026
13807
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13053
13834
        for ac_func in bind_textdomain_codeset
13054
13835
do :
13055
13836
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13056
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
13837
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13057
13838
  cat >>confdefs.h <<_ACEOF
13058
13839
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13059
13840
_ACEOF
13072
13853
 
13073
13854
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13074
13855
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13075
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
13856
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13076
13857
  $as_echo_n "(cached) " >&6
13077
13858
else
13078
13859
  ac_check_lib_save_LIBS=$LIBS
13106
13887
fi
13107
13888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13108
13889
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13109
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
13890
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13110
13891
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13111
13892
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13112
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
13893
if ${ac_cv_lib_intl_ngettext+:} false; then :
13113
13894
  $as_echo_n "(cached) " >&6
13114
13895
else
13115
13896
  ac_check_lib_save_LIBS=$LIBS
13143
13924
fi
13144
13925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13145
13926
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13146
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
13927
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13147
13928
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13148
13929
$as_echo_n "checking for dgettext in -lintl... " >&6; }
13149
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
13930
if ${ac_cv_lib_intl_dgettext+:} false; then :
13150
13931
  $as_echo_n "(cached) " >&6
13151
13932
else
13152
13933
  ac_check_lib_save_LIBS=$LIBS
13180
13961
fi
13181
13962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13182
13963
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13183
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
13964
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13184
13965
  gt_cv_func_dgettext_libintl=yes
13185
13966
fi
13186
13967
 
13196
13977
$as_echo "" >&6; }
13197
13978
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13198
13979
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13199
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
13980
if ${ac_cv_lib_intl_ngettext+:} false; then :
13200
13981
  $as_echo_n "(cached) " >&6
13201
13982
else
13202
13983
  ac_check_lib_save_LIBS=$LIBS
13230
14011
fi
13231
14012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13232
14013
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13233
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
14014
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13234
14015
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13235
14016
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13236
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
14017
if ${ac_cv_lib_intl_dcgettext+:} false; then :
13237
14018
  $as_echo_n "(cached) " >&6
13238
14019
else
13239
14020
  ac_check_lib_save_LIBS=$LIBS
13267
14048
fi
13268
14049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13269
14050
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13270
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
14051
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
13271
14052
  gt_cv_func_dgettext_libintl=yes
13272
14053
                        libintl_extra_libs=-liconv
13273
14054
else
13292
14073
          for ac_func in bind_textdomain_codeset
13293
14074
do :
13294
14075
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13295
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
14076
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13296
14077
  cat >>confdefs.h <<_ACEOF
13297
14078
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13298
14079
_ACEOF
13330
14111
set dummy msgfmt; ac_word=$2
13331
14112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13332
14113
$as_echo_n "checking for $ac_word... " >&6; }
13333
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
14114
if ${ac_cv_path_MSGFMT+:} false; then :
13334
14115
  $as_echo_n "(cached) " >&6
13335
14116
else
13336
14117
  case "$MSGFMT" in
13367
14148
          for ac_func in dcgettext
13368
14149
do :
13369
14150
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13370
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
14151
if test "x$ac_cv_func_dcgettext" = xyes; then :
13371
14152
  cat >>confdefs.h <<_ACEOF
13372
14153
#define HAVE_DCGETTEXT 1
13373
14154
_ACEOF
13408
14189
set dummy gmsgfmt; ac_word=$2
13409
14190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13410
14191
$as_echo_n "checking for $ac_word... " >&6; }
13411
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
14192
if ${ac_cv_path_GMSGFMT+:} false; then :
13412
14193
  $as_echo_n "(cached) " >&6
13413
14194
else
13414
14195
  case $GMSGFMT in
13449
14230
set dummy xgettext; ac_word=$2
13450
14231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13451
14232
$as_echo_n "checking for $ac_word... " >&6; }
13452
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
14233
if ${ac_cv_path_XGETTEXT+:} false; then :
13453
14234
  $as_echo_n "(cached) " >&6
13454
14235
else
13455
14236
  case "$XGETTEXT" in
13500
14281
  case $host in
13501
14282
            *-*-solaris*)
13502
14283
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13503
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
14284
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13504
14285
  CATOBJEXT=.gmo
13505
14286
               DATADIRNAME=share
13506
14287
else
13675
14456
for ac_func in getpeerucred
13676
14457
do :
13677
14458
  ac_fn_c_check_func "$LINENO" "getpeerucred" "ac_cv_func_getpeerucred"
13678
 
if test "x$ac_cv_func_getpeerucred" = x""yes; then :
 
14459
if test "x$ac_cv_func_getpeerucred" = xyes; then :
13679
14460
  cat >>confdefs.h <<_ACEOF
13680
14461
#define HAVE_GETPEERUCRED 1
13681
14462
_ACEOF
13693
14474
for ac_func in getpeereid
13694
14475
do :
13695
14476
  ac_fn_c_check_func "$LINENO" "getpeereid" "ac_cv_func_getpeereid"
13696
 
if test "x$ac_cv_func_getpeereid" = x""yes; then :
 
14477
if test "x$ac_cv_func_getpeereid" = xyes; then :
13697
14478
  cat >>confdefs.h <<_ACEOF
13698
14479
#define HAVE_GETPEEREID 1
13699
14480
_ACEOF
13711
14492
for ac_func in mlock
13712
14493
do :
13713
14494
  ac_fn_c_check_func "$LINENO" "mlock" "ac_cv_func_mlock"
13714
 
if test "x$ac_cv_func_mlock" = x""yes; then :
 
14495
if test "x$ac_cv_func_mlock" = xyes; then :
13715
14496
  cat >>confdefs.h <<_ACEOF
13716
14497
#define HAVE_MLOCK 1
13717
14498
_ACEOF
13792
14573
Alternatively, you may set the environment variables DBUS_CFLAGS
13793
14574
and DBUS_LIBS to avoid the need to call pkg-config.
13794
14575
See the pkg-config man page for more details." "$LINENO" 5
 
14576
 
13795
14577
elif test $pkg_failed = untried; then
13796
14578
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13797
14579
$as_echo "no" >&6; }
13806
14588
See the pkg-config man page for more details.
13807
14589
 
13808
14590
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13809
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
14591
See \`config.log' for more details" "$LINENO" 5; }
 
14592
 
13810
14593
else
13811
14594
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13812
14595
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
13851
14634
set dummy libgcrypt-config; ac_word=$2
13852
14635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13853
14636
$as_echo_n "checking for $ac_word... " >&6; }
13854
 
if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then :
 
14637
if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then :
13855
14638
  $as_echo_n "(cached) " >&6
13856
14639
else
13857
14640
  case $LIBGCRYPT_CONFIG in
14112
14895
set dummy gnome-keyring-daemon; ac_word=$2
14113
14896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14114
14897
$as_echo_n "checking for $ac_word... " >&6; }
14115
 
if test "${ac_cv_path_GNOME_KEYRING_DAEMON_PATH+set}" = set; then :
 
14898
if ${ac_cv_path_GNOME_KEYRING_DAEMON_PATH+:} false; then :
14116
14899
  $as_echo_n "(cached) " >&6
14117
14900
else
14118
14901
  case $GNOME_KEYRING_DAEMON_PATH in
14227
15010
     :end' >>confcache
14228
15011
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14229
15012
  if test -w "$cache_file"; then
14230
 
    test "x$cache_file" != "x/dev/null" &&
 
15013
    if test "x$cache_file" != "x/dev/null"; then
14231
15014
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14232
15015
$as_echo "$as_me: updating cache $cache_file" >&6;}
14233
 
    cat confcache >$cache_file
 
15016
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
15017
        cat confcache >"$cache_file"
 
15018
      else
 
15019
        case $cache_file in #(
 
15020
        */* | ?:*)
 
15021
          mv -f confcache "$cache_file"$$ &&
 
15022
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
15023
        *)
 
15024
          mv -f confcache "$cache_file" ;;
 
15025
        esac
 
15026
      fi
 
15027
    fi
14234
15028
  else
14235
15029
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14236
15030
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14314
15108
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14315
15109
fi
14316
15110
 
14317
 
: ${CONFIG_STATUS=./config.status}
 
15111
: "${CONFIG_STATUS=./config.status}"
14318
15112
ac_write_fail=0
14319
15113
ac_clean_files_save=$ac_clean_files
14320
15114
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14415
15209
IFS=" ""        $as_nl"
14416
15210
 
14417
15211
# Find who we are.  Look in the path if we contain no directory separator.
 
15212
as_myself=
14418
15213
case $0 in #((
14419
15214
  *[\\/]* ) as_myself=$0 ;;
14420
15215
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14721
15516
# report actual input values of CONFIG_FILES etc. instead of their
14722
15517
# values after options handling.
14723
15518
ac_log="
14724
 
This file was extended by libgnome-keyring $as_me 3.1.1, which was
14725
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
15519
This file was extended by libgnome-keyring $as_me 3.1.4, which was
 
15520
generated by GNU Autoconf 2.68.  Invocation command line was
14726
15521
 
14727
15522
  CONFIG_FILES    = $CONFIG_FILES
14728
15523
  CONFIG_HEADERS  = $CONFIG_HEADERS
14787
15582
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14788
15583
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14789
15584
ac_cs_version="\\
14790
 
libgnome-keyring config.status 3.1.1
14791
 
configured by $0, generated by GNU Autoconf 2.67,
 
15585
libgnome-keyring config.status 3.1.4
 
15586
configured by $0, generated by GNU Autoconf 2.68,
14792
15587
  with options \\"\$ac_cs_config\\"
14793
15588
 
14794
15589
Copyright (C) 2010 Free Software Foundation, Inc.
14916
15711
sed_quote_subst='$sed_quote_subst'
14917
15712
double_quote_subst='$double_quote_subst'
14918
15713
delay_variable_subst='$delay_variable_subst'
14919
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14920
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14921
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14922
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14923
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14924
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14925
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14926
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14927
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14928
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14929
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14930
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14931
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14932
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14933
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14934
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14935
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14936
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14937
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14938
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14939
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14940
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14941
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14942
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14943
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14944
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14945
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14946
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14947
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14948
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14949
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14950
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14951
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14952
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14953
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14954
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14955
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14956
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14957
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14958
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14959
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14960
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14961
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14962
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14963
 
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"`'
14964
 
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"`'
14965
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14966
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14967
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14968
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14969
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14970
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14971
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14972
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14973
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14974
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14975
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14976
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14977
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14978
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14979
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14980
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14981
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14982
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14983
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14984
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14985
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14986
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14987
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14988
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14989
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14990
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14991
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14992
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14993
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14994
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14995
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14996
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14997
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14998
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14999
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15000
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15001
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15002
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15003
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15004
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15005
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15006
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15007
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15008
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15009
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15010
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15011
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15012
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15013
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15014
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15015
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15016
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15017
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15018
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15019
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15020
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15021
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15022
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15023
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15024
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15025
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15026
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15027
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15028
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15029
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15030
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15031
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15032
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15033
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15034
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15035
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15036
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
15714
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
15715
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
15716
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
15717
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
15718
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
15719
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
15720
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
15721
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15722
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
15723
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
15724
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
15725
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
15726
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
15727
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15728
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15729
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15730
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15731
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15732
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15733
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15734
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15735
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15736
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15737
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15738
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15739
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15740
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15741
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15742
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15743
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15744
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15745
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15746
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15747
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15748
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15749
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
15750
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
15751
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
15752
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
15753
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15754
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15755
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
15756
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15757
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15758
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15759
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15760
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15761
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15762
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15763
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15764
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15765
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15766
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15767
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15768
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15769
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"`'
 
15770
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15771
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
15772
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15773
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15774
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15775
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15776
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15777
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15778
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15779
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15780
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
15781
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15782
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15783
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15784
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15785
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15786
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15787
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15788
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15789
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15790
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15791
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15792
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15793
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15794
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15795
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15796
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15797
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15798
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15799
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15800
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15801
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15802
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15803
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15804
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
15805
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15806
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15807
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15808
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15809
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15810
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15811
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15812
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15813
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15814
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15815
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15816
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15817
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15818
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
15819
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15820
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15821
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15822
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15823
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15824
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15825
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15826
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15827
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15828
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15829
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15830
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15831
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15832
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15833
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15834
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15835
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15836
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15837
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15838
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15839
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15840
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15841
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15842
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15843
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15037
15844
 
15038
15845
LTCC='$LTCC'
15039
15846
LTCFLAGS='$LTCFLAGS'
15040
15847
compiler='$compiler_DEFAULT'
15041
15848
 
 
15849
# A function that is used when there is no print builtin or printf.
 
15850
func_fallback_echo ()
 
15851
{
 
15852
  eval 'cat <<_LTECHO_EOF
 
15853
\$1
 
15854
_LTECHO_EOF'
 
15855
}
 
15856
 
15042
15857
# Quote evaled strings.
15043
 
for var in SED \
 
15858
for var in SHELL \
 
15859
ECHO \
 
15860
SED \
15044
15861
GREP \
15045
15862
EGREP \
15046
15863
FGREP \
15053
15870
OBJDUMP \
15054
15871
deplibs_check_method \
15055
15872
file_magic_cmd \
 
15873
file_magic_glob \
 
15874
want_nocaseglob \
 
15875
DLLTOOL \
 
15876
sharedlib_from_linklib_cmd \
15056
15877
AR \
15057
15878
AR_FLAGS \
 
15879
archiver_list_spec \
15058
15880
STRIP \
15059
15881
RANLIB \
15060
15882
CC \
15064
15886
lt_cv_sys_global_symbol_to_cdecl \
15065
15887
lt_cv_sys_global_symbol_to_c_name_address \
15066
15888
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15067
 
SHELL \
15068
 
ECHO \
 
15889
nm_file_list_spec \
15069
15890
lt_prog_compiler_no_builtin_flag \
 
15891
lt_prog_compiler_pic \
15070
15892
lt_prog_compiler_wl \
15071
 
lt_prog_compiler_pic \
15072
15893
lt_prog_compiler_static \
15073
15894
lt_cv_prog_compiler_c_o \
15074
15895
need_locks \
 
15896
MANIFEST_TOOL \
15075
15897
DSYMUTIL \
15076
15898
NMEDIT \
15077
15899
LIPO \
15087
15909
hardcode_libdir_flag_spec \
15088
15910
hardcode_libdir_flag_spec_ld \
15089
15911
hardcode_libdir_separator \
15090
 
fix_srcfile_path \
15091
15912
exclude_expsyms \
15092
15913
include_expsyms \
15093
15914
file_list_spec \
15095
15916
libname_spec \
15096
15917
library_names_spec \
15097
15918
soname_spec \
 
15919
install_override_mode \
15098
15920
finish_eval \
15099
15921
old_striplib \
15100
15922
striplib; do
15101
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15923
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15102
15924
    *[\\\\\\\`\\"\\\$]*)
15103
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15925
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15104
15926
      ;;
15105
15927
    *)
15106
15928
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15122
15944
module_expsym_cmds \
15123
15945
export_symbols_cmds \
15124
15946
prelink_cmds \
 
15947
postlink_cmds \
15125
15948
postinstall_cmds \
15126
15949
postuninstall_cmds \
15127
15950
finish_cmds \
15128
15951
sys_lib_search_path_spec \
15129
15952
sys_lib_dlsearch_path_spec; do
15130
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15953
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15131
15954
    *[\\\\\\\`\\"\\\$]*)
15132
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15955
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15133
15956
      ;;
15134
15957
    *)
15135
15958
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15137
15960
    esac
15138
15961
done
15139
15962
 
15140
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
15141
 
case \$lt_ECHO in
15142
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15143
 
  ;;
15144
 
esac
15145
 
 
15146
15963
ac_aux_dir='$ac_aux_dir'
15147
15964
xsi_shell='$xsi_shell'
15148
15965
lt_shell_append='$lt_shell_append'
15189
16006
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15190
16007
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15191
16008
 
15192
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
16009
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15193
16010
  esac
15194
16011
done
15195
16012
 
15212
16029
# after its creation but before its name has been assigned to `$tmp'.
15213
16030
$debug ||
15214
16031
{
15215
 
  tmp=
 
16032
  tmp= ac_tmp=
15216
16033
  trap 'exit_status=$?
15217
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
16034
  : "${ac_tmp:=$tmp}"
 
16035
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15218
16036
' 0
15219
16037
  trap 'as_fn_exit 1' 1 2 13 15
15220
16038
}
15222
16040
 
15223
16041
{
15224
16042
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15225
 
  test -n "$tmp" && test -d "$tmp"
 
16043
  test -d "$tmp"
15226
16044
}  ||
15227
16045
{
15228
16046
  tmp=./conf$$-$RANDOM
15229
16047
  (umask 077 && mkdir "$tmp")
15230
16048
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
16049
ac_tmp=$tmp
15231
16050
 
15232
16051
# Set up the scripts for CONFIG_FILES section.
15233
16052
# No need to generate them if there are no CONFIG_FILES.
15249
16068
  ac_cs_awk_cr=$ac_cr
15250
16069
fi
15251
16070
 
15252
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
16071
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15253
16072
_ACEOF
15254
16073
 
15255
16074
 
15277
16096
rm -f conf$$subs.sh
15278
16097
 
15279
16098
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15280
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
16099
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15281
16100
_ACEOF
15282
16101
sed -n '
15283
16102
h
15325
16144
rm -f conf$$subs.awk
15326
16145
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15327
16146
_ACAWK
15328
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
16147
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15329
16148
  for (key in S) S_is_set[key] = 1
15330
16149
  FS = ""
15331
16150
 
15357
16176
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15358
16177
else
15359
16178
  cat
15360
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
16179
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15361
16180
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15362
16181
_ACEOF
15363
16182
 
15391
16210
# No need to generate them if there are no CONFIG_HEADERS.
15392
16211
# This happens for instance with `./config.status Makefile'.
15393
16212
if test -n "$CONFIG_HEADERS"; then
15394
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
16213
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15395
16214
BEGIN {
15396
16215
_ACEOF
15397
16216
 
15403
16222
# handling of long lines.
15404
16223
ac_delim='%!_!# '
15405
16224
for ac_last_try in false false :; do
15406
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15407
 
  if test -z "$ac_t"; then
 
16225
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
16226
  if test -z "$ac_tt"; then
15408
16227
    break
15409
16228
  elif $ac_last_try; then
15410
16229
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15505
16324
  esac
15506
16325
  case $ac_mode$ac_tag in
15507
16326
  :[FHL]*:*);;
15508
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
16327
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15509
16328
  :[FH]-) ac_tag=-:-;;
15510
16329
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15511
16330
  esac
15524
16343
    for ac_f
15525
16344
    do
15526
16345
      case $ac_f in
15527
 
      -) ac_f="$tmp/stdin";;
 
16346
      -) ac_f="$ac_tmp/stdin";;
15528
16347
      *) # Look for the file first in the build tree, then in the source tree
15529
16348
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
15530
16349
         # because $ac_f cannot contain `:'.
15533
16352
           [\\/$]*) false;;
15534
16353
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15535
16354
           esac ||
15536
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
16355
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15537
16356
      esac
15538
16357
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15539
16358
      as_fn_append ac_file_inputs " '$ac_f'"
15559
16378
    esac
15560
16379
 
15561
16380
    case $ac_tag in
15562
 
    *:-:* | *:-) cat >"$tmp/stdin" \
15563
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
16381
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
16382
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15564
16383
    esac
15565
16384
    ;;
15566
16385
  esac
15696
16515
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15697
16516
$ac_datarootdir_hack
15698
16517
"
15699
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15700
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16518
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
16519
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15701
16520
 
15702
16521
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15703
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15704
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
16522
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
16523
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
16524
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15705
16525
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15706
16526
which seems to be undefined.  Please make sure it is defined" >&5
15707
16527
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15708
16528
which seems to be undefined.  Please make sure it is defined" >&2;}
15709
16529
 
15710
 
  rm -f "$tmp/stdin"
 
16530
  rm -f "$ac_tmp/stdin"
15711
16531
  case $ac_file in
15712
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
15713
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
16532
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
16533
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15714
16534
  esac \
15715
16535
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15716
16536
 ;;
15721
16541
  if test x"$ac_file" != x-; then
15722
16542
    {
15723
16543
      $as_echo "/* $configure_input  */" \
15724
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15725
 
    } >"$tmp/config.h" \
 
16544
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
16545
    } >"$ac_tmp/config.h" \
15726
16546
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15727
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
16547
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15728
16548
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15729
16549
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15730
16550
    else
15731
16551
      rm -f "$ac_file"
15732
 
      mv "$tmp/config.h" "$ac_file" \
 
16552
      mv "$ac_tmp/config.h" "$ac_file" \
15733
16553
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15734
16554
    fi
15735
16555
  else
15736
16556
    $as_echo "/* $configure_input  */" \
15737
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
16557
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15738
16558
      || as_fn_error $? "could not create -" "$LINENO" 5
15739
16559
  fi
15740
16560
# Compute "$ac_file"'s index in $config_headers.
15896
16716
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15897
16717
#
15898
16718
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15899
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
16719
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
16720
#                 Inc.
15900
16721
#   Written by Gordon Matzigkeit, 1996
15901
16722
#
15902
16723
#   This file is part of GNU Libtool.
15944
16765
# Whether or not to optimize for fast installation.
15945
16766
fast_install=$enable_fast_install
15946
16767
 
 
16768
# Shell to use when invoking shell scripts.
 
16769
SHELL=$lt_SHELL
 
16770
 
 
16771
# An echo program that protects backslashes.
 
16772
ECHO=$lt_ECHO
 
16773
 
15947
16774
# The host system.
15948
16775
host_alias=$host_alias
15949
16776
host=$host
15993
16820
# turn newlines into spaces.
15994
16821
NL2SP=$lt_lt_NL2SP
15995
16822
 
15996
 
# How to create reloadable object files.
15997
 
reload_flag=$lt_reload_flag
15998
 
reload_cmds=$lt_reload_cmds
 
16823
# convert \$build file names to \$host format.
 
16824
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16825
 
 
16826
# convert \$build files to toolchain format.
 
16827
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15999
16828
 
16000
16829
# An object symbol dumper.
16001
16830
OBJDUMP=$lt_OBJDUMP
16003
16832
# Method to check whether dependent libraries are shared objects.
16004
16833
deplibs_check_method=$lt_deplibs_check_method
16005
16834
 
16006
 
# Command to use when deplibs_check_method == "file_magic".
 
16835
# Command to use when deplibs_check_method = "file_magic".
16007
16836
file_magic_cmd=$lt_file_magic_cmd
16008
16837
 
 
16838
# How to find potential files when deplibs_check_method = "file_magic".
 
16839
file_magic_glob=$lt_file_magic_glob
 
16840
 
 
16841
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16842
want_nocaseglob=$lt_want_nocaseglob
 
16843
 
 
16844
# DLL creation program.
 
16845
DLLTOOL=$lt_DLLTOOL
 
16846
 
 
16847
# Command to associate shared and link libraries.
 
16848
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16849
 
16009
16850
# The archiver.
16010
16851
AR=$lt_AR
 
16852
 
 
16853
# Flags to create an archive.
16011
16854
AR_FLAGS=$lt_AR_FLAGS
16012
16855
 
 
16856
# How to feed a file listing to the archiver.
 
16857
archiver_list_spec=$lt_archiver_list_spec
 
16858
 
16013
16859
# A symbol stripping program.
16014
16860
STRIP=$lt_STRIP
16015
16861
 
16018
16864
old_postinstall_cmds=$lt_old_postinstall_cmds
16019
16865
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16020
16866
 
 
16867
# Whether to use a lock for old archive extraction.
 
16868
lock_old_archive_extraction=$lock_old_archive_extraction
 
16869
 
16021
16870
# A C compiler.
16022
16871
LTCC=$lt_CC
16023
16872
 
16036
16885
# Transform the output of nm in a C name address pair when lib prefix is needed.
16037
16886
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16038
16887
 
 
16888
# Specify filename containing input files for \$NM.
 
16889
nm_file_list_spec=$lt_nm_file_list_spec
 
16890
 
 
16891
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
16892
lt_sysroot=$lt_sysroot
 
16893
 
16039
16894
# The name of the directory that contains temporary libtool files.
16040
16895
objdir=$objdir
16041
16896
 
16042
 
# Shell to use when invoking shell scripts.
16043
 
SHELL=$lt_SHELL
16044
 
 
16045
 
# An echo program that does not interpret backslashes.
16046
 
ECHO=$lt_ECHO
16047
 
 
16048
16897
# Used to examine libraries when file_magic_cmd begins with "file".
16049
16898
MAGIC_CMD=$MAGIC_CMD
16050
16899
 
16051
16900
# Must we lock files when doing compilation?
16052
16901
need_locks=$lt_need_locks
16053
16902
 
 
16903
# Manifest tool.
 
16904
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
16905
 
16054
16906
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16055
16907
DSYMUTIL=$lt_DSYMUTIL
16056
16908
 
16107
16959
# The coded name of the library, if different from the real name.
16108
16960
soname_spec=$lt_soname_spec
16109
16961
 
 
16962
# Permission mode override for installation of shared libraries.
 
16963
install_override_mode=$lt_install_override_mode
 
16964
 
16110
16965
# Command to use after installation of a shared archive.
16111
16966
postinstall_cmds=$lt_postinstall_cmds
16112
16967
 
16146
17001
# The linker used to build libraries.
16147
17002
LD=$lt_LD
16148
17003
 
 
17004
# How to create reloadable object files.
 
17005
reload_flag=$lt_reload_flag
 
17006
reload_cmds=$lt_reload_cmds
 
17007
 
16149
17008
# Commands used to build an old-style archive.
16150
17009
old_archive_cmds=$lt_old_archive_cmds
16151
17010
 
16158
17017
# Compiler flag to turn off builtin functions.
16159
17018
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16160
17019
 
 
17020
# Additional compiler flags for building library objects.
 
17021
pic_flag=$lt_lt_prog_compiler_pic
 
17022
 
16161
17023
# How to pass a linker flag through the compiler.
16162
17024
wl=$lt_lt_prog_compiler_wl
16163
17025
 
16164
 
# Additional compiler flags for building library objects.
16165
 
pic_flag=$lt_lt_prog_compiler_pic
16166
 
 
16167
17026
# Compiler flag to prevent dynamic linking.
16168
17027
link_static_flag=$lt_lt_prog_compiler_static
16169
17028
 
16250
17109
# Whether libtool must link a program against all its dependency libraries.
16251
17110
link_all_deplibs=$link_all_deplibs
16252
17111
 
16253
 
# Fix the shell variable \$srcfile for the compiler.
16254
 
fix_srcfile_path=$lt_fix_srcfile_path
16255
 
 
16256
17112
# Set to "yes" if exported symbols are required.
16257
17113
always_export_symbols=$always_export_symbols
16258
17114
 
16268
17124
# Commands necessary for linking programs (against libraries) with templates.
16269
17125
prelink_cmds=$lt_prelink_cmds
16270
17126
 
 
17127
# Commands necessary for finishing linking programs.
 
17128
postlink_cmds=$lt_postlink_cmds
 
17129
 
16271
17130
# Specify filename containing input files.
16272
17131
file_list_spec=$lt_file_list_spec
16273
17132
 
16300
17159
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16301
17160
  # text mode, it properly converts lines to CR/LF.  This bash problem
16302
17161
  # is reportedly fixed, but why not run on old versions too?
16303
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16304
 
    || (rm -f "$cfgfile"; exit 1)
16305
 
 
16306
 
  case $xsi_shell in
16307
 
  yes)
16308
 
    cat << \_LT_EOF >> "$cfgfile"
16309
 
 
16310
 
# func_dirname file append nondir_replacement
16311
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16312
 
# otherwise set result to NONDIR_REPLACEMENT.
16313
 
func_dirname ()
16314
 
{
16315
 
  case ${1} in
16316
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16317
 
    *  ) func_dirname_result="${3}" ;;
16318
 
  esac
16319
 
}
16320
 
 
16321
 
# func_basename file
16322
 
func_basename ()
16323
 
{
16324
 
  func_basename_result="${1##*/}"
16325
 
}
16326
 
 
16327
 
# func_dirname_and_basename file append nondir_replacement
16328
 
# perform func_basename and func_dirname in a single function
16329
 
# call:
16330
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
16331
 
#             add APPEND to the result, otherwise set result
16332
 
#             to NONDIR_REPLACEMENT.
16333
 
#             value returned in "$func_dirname_result"
16334
 
#   basename: Compute filename of FILE.
16335
 
#             value retuned in "$func_basename_result"
16336
 
# Implementation must be kept synchronized with func_dirname
16337
 
# and func_basename. For efficiency, we do not delegate to
16338
 
# those functions but instead duplicate the functionality here.
16339
 
func_dirname_and_basename ()
16340
 
{
16341
 
  case ${1} in
16342
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16343
 
    *  ) func_dirname_result="${3}" ;;
16344
 
  esac
16345
 
  func_basename_result="${1##*/}"
16346
 
}
16347
 
 
16348
 
# func_stripname prefix suffix name
16349
 
# strip PREFIX and SUFFIX off of NAME.
16350
 
# PREFIX and SUFFIX must not contain globbing or regex special
16351
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16352
 
# dot (in which case that matches only a dot).
16353
 
func_stripname ()
16354
 
{
16355
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16356
 
  # positional parameters, so assign one to ordinary parameter first.
16357
 
  func_stripname_result=${3}
16358
 
  func_stripname_result=${func_stripname_result#"${1}"}
16359
 
  func_stripname_result=${func_stripname_result%"${2}"}
16360
 
}
16361
 
 
16362
 
# func_opt_split
16363
 
func_opt_split ()
16364
 
{
16365
 
  func_opt_split_opt=${1%%=*}
16366
 
  func_opt_split_arg=${1#*=}
16367
 
}
16368
 
 
16369
 
# func_lo2o object
16370
 
func_lo2o ()
16371
 
{
16372
 
  case ${1} in
16373
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16374
 
    *)    func_lo2o_result=${1} ;;
16375
 
  esac
16376
 
}
16377
 
 
16378
 
# func_xform libobj-or-source
16379
 
func_xform ()
16380
 
{
16381
 
  func_xform_result=${1%.*}.lo
16382
 
}
16383
 
 
16384
 
# func_arith arithmetic-term...
16385
 
func_arith ()
16386
 
{
16387
 
  func_arith_result=$(( $* ))
16388
 
}
16389
 
 
16390
 
# func_len string
16391
 
# STRING may not start with a hyphen.
16392
 
func_len ()
16393
 
{
16394
 
  func_len_result=${#1}
16395
 
}
16396
 
 
16397
 
_LT_EOF
16398
 
    ;;
16399
 
  *) # Bourne compatible functions.
16400
 
    cat << \_LT_EOF >> "$cfgfile"
16401
 
 
16402
 
# func_dirname file append nondir_replacement
16403
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16404
 
# otherwise set result to NONDIR_REPLACEMENT.
16405
 
func_dirname ()
16406
 
{
16407
 
  # Extract subdirectory from the argument.
16408
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16409
 
  if test "X$func_dirname_result" = "X${1}"; then
16410
 
    func_dirname_result="${3}"
16411
 
  else
16412
 
    func_dirname_result="$func_dirname_result${2}"
16413
 
  fi
16414
 
}
16415
 
 
16416
 
# func_basename file
16417
 
func_basename ()
16418
 
{
16419
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16420
 
}
16421
 
 
16422
 
 
16423
 
# func_stripname prefix suffix name
16424
 
# strip PREFIX and SUFFIX off of NAME.
16425
 
# PREFIX and SUFFIX must not contain globbing or regex special
16426
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16427
 
# dot (in which case that matches only a dot).
16428
 
# func_strip_suffix prefix name
16429
 
func_stripname ()
16430
 
{
16431
 
  case ${2} in
16432
 
    .*) func_stripname_result=`$ECHO "X${3}" \
16433
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16434
 
    *)  func_stripname_result=`$ECHO "X${3}" \
16435
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16436
 
  esac
16437
 
}
16438
 
 
16439
 
# sed scripts:
16440
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16441
 
my_sed_long_arg='1s/^-[^=]*=//'
16442
 
 
16443
 
# func_opt_split
16444
 
func_opt_split ()
16445
 
{
16446
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16447
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16448
 
}
16449
 
 
16450
 
# func_lo2o object
16451
 
func_lo2o ()
16452
 
{
16453
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16454
 
}
16455
 
 
16456
 
# func_xform libobj-or-source
16457
 
func_xform ()
16458
 
{
16459
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16460
 
}
16461
 
 
16462
 
# func_arith arithmetic-term...
16463
 
func_arith ()
16464
 
{
16465
 
  func_arith_result=`expr "$@"`
16466
 
}
16467
 
 
16468
 
# func_len string
16469
 
# STRING may not start with a hyphen.
16470
 
func_len ()
16471
 
{
16472
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16473
 
}
16474
 
 
16475
 
_LT_EOF
16476
 
esac
16477
 
 
16478
 
case $lt_shell_append in
16479
 
  yes)
16480
 
    cat << \_LT_EOF >> "$cfgfile"
16481
 
 
16482
 
# func_append var value
16483
 
# Append VALUE to the end of shell variable VAR.
16484
 
func_append ()
16485
 
{
16486
 
  eval "$1+=\$2"
16487
 
}
16488
 
_LT_EOF
16489
 
    ;;
16490
 
  *)
16491
 
    cat << \_LT_EOF >> "$cfgfile"
16492
 
 
16493
 
# func_append var value
16494
 
# Append VALUE to the end of shell variable VAR.
16495
 
func_append ()
16496
 
{
16497
 
  eval "$1=\$$1\$2"
16498
 
}
16499
 
 
16500
 
_LT_EOF
16501
 
    ;;
16502
 
  esac
16503
 
 
16504
 
 
16505
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16506
 
    || (rm -f "$cfgfile"; exit 1)
16507
 
 
16508
 
  mv -f "$cfgfile" "$ofile" ||
 
17162
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17163
     || (rm -f "$cfgfile"; exit 1)
 
17164
 
 
17165
  if test x"$xsi_shell" = xyes; then
 
17166
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17167
func_dirname ()\
 
17168
{\
 
17169
\    case ${1} in\
 
17170
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17171
\      *  ) func_dirname_result="${3}" ;;\
 
17172
\    esac\
 
17173
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17174
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17175
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17176
test 0 -eq $? || _lt_function_replace_fail=:
 
17177
 
 
17178
 
 
17179
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17180
func_basename ()\
 
17181
{\
 
17182
\    func_basename_result="${1##*/}"\
 
17183
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17184
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17185
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17186
test 0 -eq $? || _lt_function_replace_fail=:
 
17187
 
 
17188
 
 
17189
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17190
func_dirname_and_basename ()\
 
17191
{\
 
17192
\    case ${1} in\
 
17193
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17194
\      *  ) func_dirname_result="${3}" ;;\
 
17195
\    esac\
 
17196
\    func_basename_result="${1##*/}"\
 
17197
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17198
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17199
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17200
test 0 -eq $? || _lt_function_replace_fail=:
 
17201
 
 
17202
 
 
17203
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
17204
func_stripname ()\
 
17205
{\
 
17206
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
17207
\    # positional parameters, so assign one to ordinary parameter first.\
 
17208
\    func_stripname_result=${3}\
 
17209
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
17210
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
17211
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
17212
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17213
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17214
test 0 -eq $? || _lt_function_replace_fail=:
 
17215
 
 
17216
 
 
17217
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
17218
func_split_long_opt ()\
 
17219
{\
 
17220
\    func_split_long_opt_name=${1%%=*}\
 
17221
\    func_split_long_opt_arg=${1#*=}\
 
17222
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17223
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17224
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17225
test 0 -eq $? || _lt_function_replace_fail=:
 
17226
 
 
17227
 
 
17228
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
17229
func_split_short_opt ()\
 
17230
{\
 
17231
\    func_split_short_opt_arg=${1#??}\
 
17232
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
17233
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17234
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17235
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17236
test 0 -eq $? || _lt_function_replace_fail=:
 
17237
 
 
17238
 
 
17239
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
17240
func_lo2o ()\
 
17241
{\
 
17242
\    case ${1} in\
 
17243
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
17244
\      *)    func_lo2o_result=${1} ;;\
 
17245
\    esac\
 
17246
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
17247
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17248
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17249
test 0 -eq $? || _lt_function_replace_fail=:
 
17250
 
 
17251
 
 
17252
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
17253
func_xform ()\
 
17254
{\
 
17255
    func_xform_result=${1%.*}.lo\
 
17256
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
17257
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17258
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17259
test 0 -eq $? || _lt_function_replace_fail=:
 
17260
 
 
17261
 
 
17262
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
17263
func_arith ()\
 
17264
{\
 
17265
    func_arith_result=$(( $* ))\
 
17266
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
17267
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17268
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17269
test 0 -eq $? || _lt_function_replace_fail=:
 
17270
 
 
17271
 
 
17272
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
17273
func_len ()\
 
17274
{\
 
17275
    func_len_result=${#1}\
 
17276
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
17277
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17278
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17279
test 0 -eq $? || _lt_function_replace_fail=:
 
17280
 
 
17281
fi
 
17282
 
 
17283
if test x"$lt_shell_append" = xyes; then
 
17284
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
17285
func_append ()\
 
17286
{\
 
17287
    eval "${1}+=\\${2}"\
 
17288
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
17289
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17290
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17291
test 0 -eq $? || _lt_function_replace_fail=:
 
17292
 
 
17293
 
 
17294
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
17295
func_append_quoted ()\
 
17296
{\
 
17297
\    func_quote_for_eval "${2}"\
 
17298
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
17299
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
17300
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17301
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17302
test 0 -eq $? || _lt_function_replace_fail=:
 
17303
 
 
17304
 
 
17305
  # Save a `func_append' function call where possible by direct use of '+='
 
17306
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
17307
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17308
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17309
  test 0 -eq $? || _lt_function_replace_fail=:
 
17310
else
 
17311
  # Save a `func_append' function call even when '+=' is not available
 
17312
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
17313
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17314
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17315
  test 0 -eq $? || _lt_function_replace_fail=:
 
17316
fi
 
17317
 
 
17318
if test x"$_lt_function_replace_fail" = x":"; then
 
17319
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
17320
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
17321
fi
 
17322
 
 
17323
 
 
17324
   mv -f "$cfgfile" "$ofile" ||
16509
17325
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16510
17326
  chmod +x "$ofile"
16511
17327