~ubuntu-branches/ubuntu/oneiric/evolution-couchdb/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-05-25 17:39:14 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20110525173914-sn09e6y8cl5i94kv
Tags: 0.5.90-0ubuntu1
* New upstream release
* debian/patches/02_use_correct_cache_dir.patch:
  - Remove upstream patch

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 evolution-couchdb 0.5.3.
 
3
# Generated by GNU Autoconf 2.68 for evolution-couchdb 0.5.90.
4
4
#
5
5
# Report bugs to <https://bugs.launchpad.net/bugs/+filebug>.
6
6
#
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
173
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
177
186
  if (eval "$as_required") 2>/dev/null; then :
178
187
  as_have_required=yes
179
188
else
216
225
  # We cannot yet assume a decent shell, so we have to provide a
217
226
        # neutralization value for shells without unset; and this also
218
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
219
229
        BASH_ENV=/dev/null
220
230
        ENV=/dev/null
221
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
232
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
240
fi
225
241
 
226
242
    if test x$as_have_required = xno; then :
528
544
# Sed expression to map a string onto a valid variable name.
529
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
546
 
531
 
 
532
 
 
533
 
# Check that we are running under the correct shell.
534
547
SHELL=${CONFIG_SHELL-/bin/sh}
535
548
 
536
 
case X$lt_ECHO in
537
 
X*--fallback-echo)
538
 
  # Remove one level of quotation (which was required for Make).
539
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540
 
  ;;
541
 
esac
542
 
 
543
 
ECHO=${lt_ECHO-echo}
544
 
if test "X$1" = X--no-reexec; then
545
 
  # Discard the --no-reexec flag, and continue.
546
 
  shift
547
 
elif test "X$1" = X--fallback-echo; then
548
 
  # Avoid inline document here, it may be left over
549
 
  :
550
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
 
  # Yippee, $ECHO works!
552
 
  :
553
 
else
554
 
  # Restart under the correct shell.
555
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
556
 
fi
557
 
 
558
 
if test "X$1" = X--fallback-echo; then
559
 
  # used as fallback echo
560
 
  shift
561
 
  cat <<_LT_EOF
562
 
$*
563
 
_LT_EOF
564
 
  exit 0
565
 
fi
566
 
 
567
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
568
 
# if CDPATH is set.
569
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
 
 
571
 
if test -z "$lt_ECHO"; then
572
 
  if test "X${echo_test_string+set}" != Xset; then
573
 
    # find a string as large as possible, as long as the shell can cope with it
574
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578
 
      then
579
 
        break
580
 
      fi
581
 
    done
582
 
  fi
583
 
 
584
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
587
 
    :
588
 
  else
589
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
590
 
    # backslashes.  This makes it impossible to quote backslashes using
591
 
    #   echo "$something" | sed 's/\\/\\\\/g'
592
 
    #
593
 
    # So, first we look for a working echo in the user's PATH.
594
 
 
595
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
 
    for dir in $PATH /usr/ucb; do
597
 
      IFS="$lt_save_ifs"
598
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
602
 
        ECHO="$dir/echo"
603
 
        break
604
 
      fi
605
 
    done
606
 
    IFS="$lt_save_ifs"
607
 
 
608
 
    if test "X$ECHO" = Xecho; then
609
 
      # We didn't find a better echo, so look for alternatives.
610
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
613
 
        # This shell has a builtin print -r that does the trick.
614
 
        ECHO='print -r'
615
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
617
 
        # If we have ksh, try running configure again with it.
618
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
 
        export ORIGINAL_CONFIG_SHELL
620
 
        CONFIG_SHELL=/bin/ksh
621
 
        export CONFIG_SHELL
622
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
 
      else
624
 
        # Try using printf.
625
 
        ECHO='printf %s\n'
626
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
629
 
          # Cool, printf works
630
 
          :
631
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
 
             test "X$echo_testing_string" = 'X\t' &&
633
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
635
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636
 
          export CONFIG_SHELL
637
 
          SHELL="$CONFIG_SHELL"
638
 
          export SHELL
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = 'X\t' &&
642
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
645
 
        else
646
 
          # maybe with a smaller string...
647
 
          prev=:
648
 
 
649
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651
 
            then
652
 
              break
653
 
            fi
654
 
            prev="$cmd"
655
 
          done
656
 
 
657
 
          if test "$prev" != 'sed 50q "$0"'; then
658
 
            echo_test_string=`eval $prev`
659
 
            export echo_test_string
660
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661
 
          else
662
 
            # Oops.  We lost completely, so just stick with echo.
663
 
            ECHO=echo
664
 
          fi
665
 
        fi
666
 
      fi
667
 
    fi
668
 
  fi
669
 
fi
670
 
 
671
 
# Copy echo and quote the copy suitably for passing to libtool from
672
 
# the Makefile, instead of quoting the original, which is used later.
673
 
lt_ECHO=$ECHO
674
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676
 
fi
677
 
 
678
 
 
679
 
 
680
549
 
681
550
test -n "$DJDIR" || exec 7<&0 </dev/null
682
551
exec 6>&1
701
570
# Identity of this package.
702
571
PACKAGE_NAME='evolution-couchdb'
703
572
PACKAGE_TARNAME='evolution-couchdb'
704
 
PACKAGE_VERSION='0.5.3'
705
 
PACKAGE_STRING='evolution-couchdb 0.5.3'
 
573
PACKAGE_VERSION='0.5.90'
 
574
PACKAGE_STRING='evolution-couchdb 0.5.90'
706
575
PACKAGE_BUGREPORT='https://bugs.launchpad.net/bugs/+filebug'
707
576
PACKAGE_URL=''
708
577
 
747
616
am__EXEEXT_TRUE
748
617
LTLIBOBJS
749
618
LIBOBJS
750
 
EVOLUTION_PLUGINS_DIR
751
619
EDS_EXTENSION_DIR
752
620
EDS_API_VERSION
 
621
EVOLUTION_PLUGINS_DIR
753
622
EPLUGIN_LIBS
754
623
EPLUGIN_CFLAGS
755
624
EVOLUTION_LIBS
804
673
LIPO
805
674
NMEDIT
806
675
DSYMUTIL
807
 
lt_ECHO
 
676
MANIFEST_TOOL
808
677
RANLIB
 
678
ac_ct_AR
809
679
AR
 
680
DLLTOOL
810
681
OBJDUMP
811
682
NM
812
683
ac_ct_DUMPBIN
920
791
with_pic
921
792
enable_fast_install
922
793
with_gnu_ld
 
794
with_sysroot
923
795
enable_libtool_lock
924
796
enable_nls
925
797
'
1343
1215
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1344
1216
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1345
1217
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1346
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1218
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1347
1219
    ;;
1348
1220
 
1349
1221
  esac
1481
1353
  # Omit some internal or obsolete options to make the list less imposing.
1482
1354
  # This message is too long to be a string in the A/UX 3.1 sh.
1483
1355
  cat <<_ACEOF
1484
 
\`configure' configures evolution-couchdb 0.5.3 to adapt to many kinds of systems.
 
1356
\`configure' configures evolution-couchdb 0.5.90 to adapt to many kinds of systems.
1485
1357
 
1486
1358
Usage: $0 [OPTION]... [VAR=VALUE]...
1487
1359
 
1552
1424
 
1553
1425
if test -n "$ac_init_help"; then
1554
1426
  case $ac_init_help in
1555
 
     short | recursive ) echo "Configuration of evolution-couchdb 0.5.3:";;
 
1427
     short | recursive ) echo "Configuration of evolution-couchdb 0.5.90:";;
1556
1428
   esac
1557
1429
  cat <<\_ACEOF
1558
1430
 
1579
1451
  --with-pic              try to use only PIC/non-PIC objects [default=use
1580
1452
                          both]
1581
1453
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1454
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1455
                        (or the compiler's sysroot if not specified).
1582
1456
 
1583
1457
Some influential environment variables:
1584
1458
  CC          C compiler command
1669
1543
test -n "$ac_init_help" && exit $ac_status
1670
1544
if $ac_init_version; then
1671
1545
  cat <<\_ACEOF
1672
 
evolution-couchdb configure 0.5.3
1673
 
generated by GNU Autoconf 2.67
 
1546
evolution-couchdb configure 0.5.90
 
1547
generated by GNU Autoconf 2.68
1674
1548
 
1675
1549
Copyright (C) 2010 Free Software Foundation, Inc.
1676
1550
This configure script is free software; the Free Software Foundation
1716
1590
 
1717
1591
        ac_retval=1
1718
1592
fi
1719
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1593
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720
1594
  as_fn_set_status $ac_retval
1721
1595
 
1722
1596
} # ac_fn_c_try_compile
1762
1636
  # interfere with the next link command; also delete a directory that is
1763
1637
  # left behind by Apple's compiler.  We do this before executing the actions.
1764
1638
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1639
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766
1640
  as_fn_set_status $ac_retval
1767
1641
 
1768
1642
} # ac_fn_c_try_link
1799
1673
 
1800
1674
    ac_retval=1
1801
1675
fi
1802
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1676
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803
1677
  as_fn_set_status $ac_retval
1804
1678
 
1805
1679
} # ac_fn_c_try_cpp
1841
1715
       ac_retval=$ac_status
1842
1716
fi
1843
1717
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1718
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845
1719
  as_fn_set_status $ac_retval
1846
1720
 
1847
1721
} # ac_fn_c_try_run
1855
1729
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856
1730
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857
1731
$as_echo_n "checking for $2... " >&6; }
1858
 
if eval "test \"\${$3+set}\"" = set; then :
 
1732
if eval \${$3+:} false; then :
1859
1733
  $as_echo_n "(cached) " >&6
1860
1734
else
1861
1735
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873
1747
eval ac_res=\$$3
1874
1748
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875
1749
$as_echo "$ac_res" >&6; }
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_compile
1879
1753
 
1885
1759
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886
1760
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887
1761
$as_echo_n "checking for $2... " >&6; }
1888
 
if eval "test \"\${$3+set}\"" = set; then :
 
1762
if eval \${$3+:} false; then :
1889
1763
  $as_echo_n "(cached) " >&6
1890
1764
else
1891
1765
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940
1814
eval ac_res=\$$3
1941
1815
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942
1816
$as_echo "$ac_res" >&6; }
1943
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1817
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944
1818
 
1945
1819
} # ac_fn_c_check_func
1946
1820
 
1952
1826
ac_fn_c_check_header_mongrel ()
1953
1827
{
1954
1828
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1829
  if eval \${$3+:} false; then :
1956
1830
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957
1831
$as_echo_n "checking for $2... " >&6; }
1958
 
if eval "test \"\${$3+set}\"" = set; then :
 
1832
if eval \${$3+:} false; then :
1959
1833
  $as_echo_n "(cached) " >&6
1960
1834
fi
1961
1835
eval ac_res=\$$3
2022
1896
esac
2023
1897
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024
1898
$as_echo_n "checking for $2... " >&6; }
2025
 
if eval "test \"\${$3+set}\"" = set; then :
 
1899
if eval \${$3+:} false; then :
2026
1900
  $as_echo_n "(cached) " >&6
2027
1901
else
2028
1902
  eval "$3=\$ac_header_compiler"
2031
1905
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2032
1906
$as_echo "$ac_res" >&6; }
2033
1907
fi
2034
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1908
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2035
1909
 
2036
1910
} # ac_fn_c_check_header_mongrel
2037
1911
cat >config.log <<_ACEOF
2038
1912
This file contains any messages produced by compilers while
2039
1913
running configure, to aid debugging if configure makes a mistake.
2040
1914
 
2041
 
It was created by evolution-couchdb $as_me 0.5.3, which was
2042
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
1915
It was created by evolution-couchdb $as_me 0.5.90, which was
 
1916
generated by GNU Autoconf 2.68.  Invocation command line was
2043
1917
 
2044
1918
  $ $0 $@
2045
1919
 
2297
2171
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2298
2172
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2299
2173
as_fn_error $? "failed to load site script $ac_site_file
2300
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2174
See \`config.log' for more details" "$LINENO" 5; }
2301
2175
  fi
2302
2176
done
2303
2177
 
2435
2309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2436
2310
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2437
2311
if test -z "$INSTALL"; then
2438
 
if test "${ac_cv_path_install+set}" = set; then :
 
2312
if ${ac_cv_path_install+:} false; then :
2439
2313
  $as_echo_n "(cached) " >&6
2440
2314
else
2441
2315
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522
2396
'
2523
2397
case `pwd` in
2524
2398
  *[\\\"\#\$\&\'\`$am_lf]*)
2525
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2399
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2526
2400
esac
2527
2401
case $srcdir in
2528
2402
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2529
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2403
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2530
2404
esac
2531
2405
 
2532
2406
# Do `set' in a subshell so we don't clobber the current shell's
2612
2486
set dummy ${ac_tool_prefix}strip; ac_word=$2
2613
2487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614
2488
$as_echo_n "checking for $ac_word... " >&6; }
2615
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2489
if ${ac_cv_prog_STRIP+:} false; then :
2616
2490
  $as_echo_n "(cached) " >&6
2617
2491
else
2618
2492
  if test -n "$STRIP"; then
2652
2526
set dummy strip; ac_word=$2
2653
2527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654
2528
$as_echo_n "checking for $ac_word... " >&6; }
2655
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2529
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2656
2530
  $as_echo_n "(cached) " >&6
2657
2531
else
2658
2532
  if test -n "$ac_ct_STRIP"; then
2705
2579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2706
2580
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2707
2581
if test -z "$MKDIR_P"; then
2708
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2582
  if ${ac_cv_path_mkdir+:} false; then :
2709
2583
  $as_echo_n "(cached) " >&6
2710
2584
else
2711
2585
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756
2630
set dummy $ac_prog; ac_word=$2
2757
2631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2758
2632
$as_echo_n "checking for $ac_word... " >&6; }
2759
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2633
if ${ac_cv_prog_AWK+:} false; then :
2760
2634
  $as_echo_n "(cached) " >&6
2761
2635
else
2762
2636
  if test -n "$AWK"; then
2796
2670
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2797
2671
set x ${MAKE-make}
2798
2672
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2799
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2673
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2800
2674
  $as_echo_n "(cached) " >&6
2801
2675
else
2802
2676
  cat >conftest.make <<\_ACEOF
2854
2728
 
2855
2729
# Define the identity of the package.
2856
2730
 PACKAGE=evolution-couchdb
2857
 
 VERSION=0.5.3
 
2731
 VERSION=0.5.90
2858
2732
 
2859
2733
 
2860
2734
cat >>confdefs.h <<_ACEOF
3007
2881
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3008
2882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009
2883
$as_echo_n "checking for $ac_word... " >&6; }
3010
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2884
if ${ac_cv_prog_CC+:} false; then :
3011
2885
  $as_echo_n "(cached) " >&6
3012
2886
else
3013
2887
  if test -n "$CC"; then
3047
2921
set dummy gcc; ac_word=$2
3048
2922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049
2923
$as_echo_n "checking for $ac_word... " >&6; }
3050
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2924
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3051
2925
  $as_echo_n "(cached) " >&6
3052
2926
else
3053
2927
  if test -n "$ac_ct_CC"; then
3100
2974
set dummy ${ac_tool_prefix}cc; ac_word=$2
3101
2975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102
2976
$as_echo_n "checking for $ac_word... " >&6; }
3103
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2977
if ${ac_cv_prog_CC+:} false; then :
3104
2978
  $as_echo_n "(cached) " >&6
3105
2979
else
3106
2980
  if test -n "$CC"; then
3140
3014
set dummy cc; ac_word=$2
3141
3015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3142
3016
$as_echo_n "checking for $ac_word... " >&6; }
3143
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3017
if ${ac_cv_prog_CC+:} false; then :
3144
3018
  $as_echo_n "(cached) " >&6
3145
3019
else
3146
3020
  if test -n "$CC"; then
3199
3073
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3200
3074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201
3075
$as_echo_n "checking for $ac_word... " >&6; }
3202
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3076
if ${ac_cv_prog_CC+:} false; then :
3203
3077
  $as_echo_n "(cached) " >&6
3204
3078
else
3205
3079
  if test -n "$CC"; then
3243
3117
set dummy $ac_prog; ac_word=$2
3244
3118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3245
3119
$as_echo_n "checking for $ac_word... " >&6; }
3246
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3120
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3247
3121
  $as_echo_n "(cached) " >&6
3248
3122
else
3249
3123
  if test -n "$ac_ct_CC"; then
3298
3172
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3299
3173
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3300
3174
as_fn_error $? "no acceptable C compiler found in \$PATH
3301
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3175
See \`config.log' for more details" "$LINENO" 5; }
3302
3176
 
3303
3177
# Provide some information about the compiler.
3304
3178
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3413
3287
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3414
3288
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3415
3289
as_fn_error 77 "C compiler cannot create executables
3416
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3290
See \`config.log' for more details" "$LINENO" 5; }
3417
3291
else
3418
3292
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3419
3293
$as_echo "yes" >&6; }
3456
3330
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457
3331
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458
3332
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3459
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3333
See \`config.log' for more details" "$LINENO" 5; }
3460
3334
fi
3461
3335
rm -f conftest conftest$ac_cv_exeext
3462
3336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3515
3389
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516
3390
as_fn_error $? "cannot run C compiled programs.
3517
3391
If you meant to cross compile, use \`--host'.
3518
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3392
See \`config.log' for more details" "$LINENO" 5; }
3519
3393
    fi
3520
3394
  fi
3521
3395
fi
3526
3400
ac_clean_files=$ac_clean_files_save
3527
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3528
3402
$as_echo_n "checking for suffix of object files... " >&6; }
3529
 
if test "${ac_cv_objext+set}" = set; then :
 
3403
if ${ac_cv_objext+:} false; then :
3530
3404
  $as_echo_n "(cached) " >&6
3531
3405
else
3532
3406
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567
3441
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568
3442
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569
3443
as_fn_error $? "cannot compute suffix of object files: cannot compile
3570
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3444
See \`config.log' for more details" "$LINENO" 5; }
3571
3445
fi
3572
3446
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3573
3447
fi
3577
3451
ac_objext=$OBJEXT
3578
3452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3579
3453
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3580
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3454
if ${ac_cv_c_compiler_gnu+:} false; then :
3581
3455
  $as_echo_n "(cached) " >&6
3582
3456
else
3583
3457
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614
3488
ac_save_CFLAGS=$CFLAGS
3615
3489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3616
3490
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3617
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3491
if ${ac_cv_prog_cc_g+:} false; then :
3618
3492
  $as_echo_n "(cached) " >&6
3619
3493
else
3620
3494
  ac_save_c_werror_flag=$ac_c_werror_flag
3692
3566
fi
3693
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3694
3568
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3695
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3569
if ${ac_cv_prog_cc_c89+:} false; then :
3696
3570
  $as_echo_n "(cached) " >&6
3697
3571
else
3698
3572
  ac_cv_prog_cc_c89=no
3791
3665
 
3792
3666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3793
3667
$as_echo_n "checking dependency style of $depcc... " >&6; }
3794
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3668
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3795
3669
  $as_echo_n "(cached) " >&6
3796
3670
else
3797
3671
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3917
3791
 
3918
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3919
3793
$as_echo_n "checking for library containing strerror... " >&6; }
3920
 
if test "${ac_cv_search_strerror+set}" = set; then :
 
3794
if ${ac_cv_search_strerror+:} false; then :
3921
3795
  $as_echo_n "(cached) " >&6
3922
3796
else
3923
3797
  ac_func_search_save_LIBS=$LIBS
3951
3825
fi
3952
3826
rm -f core conftest.err conftest.$ac_objext \
3953
3827
    conftest$ac_exeext
3954
 
  if test "${ac_cv_search_strerror+set}" = set; then :
 
3828
  if ${ac_cv_search_strerror+:} false; then :
3955
3829
  break
3956
3830
fi
3957
3831
done
3958
 
if test "${ac_cv_search_strerror+set}" = set; then :
 
3832
if ${ac_cv_search_strerror+:} false; then :
3959
3833
 
3960
3834
else
3961
3835
  ac_cv_search_strerror=no
3981
3855
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3982
3856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3983
3857
$as_echo_n "checking for $ac_word... " >&6; }
3984
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3858
if ${ac_cv_prog_CC+:} false; then :
3985
3859
  $as_echo_n "(cached) " >&6
3986
3860
else
3987
3861
  if test -n "$CC"; then
4021
3895
set dummy gcc; ac_word=$2
4022
3896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023
3897
$as_echo_n "checking for $ac_word... " >&6; }
4024
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3898
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4025
3899
  $as_echo_n "(cached) " >&6
4026
3900
else
4027
3901
  if test -n "$ac_ct_CC"; then
4074
3948
set dummy ${ac_tool_prefix}cc; ac_word=$2
4075
3949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4076
3950
$as_echo_n "checking for $ac_word... " >&6; }
4077
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3951
if ${ac_cv_prog_CC+:} false; then :
4078
3952
  $as_echo_n "(cached) " >&6
4079
3953
else
4080
3954
  if test -n "$CC"; then
4114
3988
set dummy cc; ac_word=$2
4115
3989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116
3990
$as_echo_n "checking for $ac_word... " >&6; }
4117
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3991
if ${ac_cv_prog_CC+:} false; then :
4118
3992
  $as_echo_n "(cached) " >&6
4119
3993
else
4120
3994
  if test -n "$CC"; then
4173
4047
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4174
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4175
4049
$as_echo_n "checking for $ac_word... " >&6; }
4176
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4050
if ${ac_cv_prog_CC+:} false; then :
4177
4051
  $as_echo_n "(cached) " >&6
4178
4052
else
4179
4053
  if test -n "$CC"; then
4217
4091
set dummy $ac_prog; ac_word=$2
4218
4092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219
4093
$as_echo_n "checking for $ac_word... " >&6; }
4220
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4094
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4221
4095
  $as_echo_n "(cached) " >&6
4222
4096
else
4223
4097
  if test -n "$ac_ct_CC"; then
4272
4146
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4273
4147
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4274
4148
as_fn_error $? "no acceptable C compiler found in \$PATH
4275
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4149
See \`config.log' for more details" "$LINENO" 5; }
4276
4150
 
4277
4151
# Provide some information about the compiler.
4278
4152
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4301
4175
 
4302
4176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4303
4177
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4304
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4178
if ${ac_cv_c_compiler_gnu+:} false; then :
4305
4179
  $as_echo_n "(cached) " >&6
4306
4180
else
4307
4181
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338
4212
ac_save_CFLAGS=$CFLAGS
4339
4213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4340
4214
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4341
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4215
if ${ac_cv_prog_cc_g+:} false; then :
4342
4216
  $as_echo_n "(cached) " >&6
4343
4217
else
4344
4218
  ac_save_c_werror_flag=$ac_c_werror_flag
4416
4290
fi
4417
4291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4418
4292
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4419
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4293
if ${ac_cv_prog_cc_c89+:} false; then :
4420
4294
  $as_echo_n "(cached) " >&6
4421
4295
else
4422
4296
  ac_cv_prog_cc_c89=no
4515
4389
 
4516
4390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4517
4391
$as_echo_n "checking dependency style of $depcc... " >&6; }
4518
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4392
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4519
4393
  $as_echo_n "(cached) " >&6
4520
4394
else
4521
4395
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4650
4524
  CPP=
4651
4525
fi
4652
4526
if test -z "$CPP"; then
4653
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4527
  if ${ac_cv_prog_CPP+:} false; then :
4654
4528
  $as_echo_n "(cached) " >&6
4655
4529
else
4656
4530
      # Double quotes because CPP needs to be expanded
4766
4640
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4767
4641
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4768
4642
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4769
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4643
See \`config.log' for more details" "$LINENO" 5; }
4770
4644
fi
4771
4645
 
4772
4646
ac_ext=c
4778
4652
 
4779
4653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4780
4654
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4781
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4655
if ${ac_cv_path_GREP+:} false; then :
4782
4656
  $as_echo_n "(cached) " >&6
4783
4657
else
4784
4658
  if test -z "$GREP"; then
4841
4715
 
4842
4716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4843
4717
$as_echo_n "checking for egrep... " >&6; }
4844
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4718
if ${ac_cv_path_EGREP+:} false; then :
4845
4719
  $as_echo_n "(cached) " >&6
4846
4720
else
4847
4721
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4908
4782
 
4909
4783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4910
4784
$as_echo_n "checking for ANSI C header files... " >&6; }
4911
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
4785
if ${ac_cv_header_stdc+:} false; then :
4912
4786
  $as_echo_n "(cached) " >&6
4913
4787
else
4914
4788
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034
4908
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5035
4909
set x ${MAKE-make}
5036
4910
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5037
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
4911
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5038
4912
  $as_echo_n "(cached) " >&6
5039
4913
else
5040
4914
  cat >conftest.make <<\_ACEOF
5070
4944
 
5071
4945
 
5072
4946
 
5073
 
macro_version='2.2.6b'
5074
 
macro_revision='1.3017'
 
4947
macro_version='2.4'
 
4948
macro_revision='1.3293'
5075
4949
 
5076
4950
 
5077
4951
 
5093
4967
 
5094
4968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5095
4969
$as_echo_n "checking build system type... " >&6; }
5096
 
if test "${ac_cv_build+set}" = set; then :
 
4970
if ${ac_cv_build+:} false; then :
5097
4971
  $as_echo_n "(cached) " >&6
5098
4972
else
5099
4973
  ac_build_alias=$build_alias
5109
4983
$as_echo "$ac_cv_build" >&6; }
5110
4984
case $ac_cv_build in
5111
4985
*-*-*) ;;
5112
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
4986
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5113
4987
esac
5114
4988
build=$ac_cv_build
5115
4989
ac_save_IFS=$IFS; IFS='-'
5127
5001
 
5128
5002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5129
5003
$as_echo_n "checking host system type... " >&6; }
5130
 
if test "${ac_cv_host+set}" = set; then :
 
5004
if ${ac_cv_host+:} false; then :
5131
5005
  $as_echo_n "(cached) " >&6
5132
5006
else
5133
5007
  if test "x$host_alias" = x; then
5142
5016
$as_echo "$ac_cv_host" >&6; }
5143
5017
case $ac_cv_host in
5144
5018
*-*-*) ;;
5145
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
5019
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5146
5020
esac
5147
5021
host=$ac_cv_host
5148
5022
ac_save_IFS=$IFS; IFS='-'
5158
5032
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5159
5033
 
5160
5034
 
 
5035
# Backslashify metacharacters that are still active within
 
5036
# double-quoted strings.
 
5037
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5038
 
 
5039
# Same as above, but do not quote variable references.
 
5040
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5041
 
 
5042
# Sed substitution to delay expansion of an escaped shell variable in a
 
5043
# double_quote_subst'ed string.
 
5044
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5045
 
 
5046
# Sed substitution to delay expansion of an escaped single quote.
 
5047
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5048
 
 
5049
# Sed substitution to avoid accidental globbing in evaled expressions
 
5050
no_glob_subst='s/\*/\\\*/g'
 
5051
 
 
5052
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5053
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5054
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5055
 
 
5056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5057
$as_echo_n "checking how to print strings... " >&6; }
 
5058
# Test print first, because it will be a builtin if present.
 
5059
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
5060
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5061
  ECHO='print -r --'
 
5062
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5063
  ECHO='printf %s\n'
 
5064
else
 
5065
  # Use this function as a fallback that always works.
 
5066
  func_fallback_echo ()
 
5067
  {
 
5068
    eval 'cat <<_LTECHO_EOF
 
5069
$1
 
5070
_LTECHO_EOF'
 
5071
  }
 
5072
  ECHO='func_fallback_echo'
 
5073
fi
 
5074
 
 
5075
# func_echo_all arg...
 
5076
# Invoke $ECHO with all args, space-separated.
 
5077
func_echo_all ()
 
5078
{
 
5079
    $ECHO ""
 
5080
}
 
5081
 
 
5082
case "$ECHO" in
 
5083
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5084
$as_echo "printf" >&6; } ;;
 
5085
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5086
$as_echo "print -r" >&6; } ;;
 
5087
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5088
$as_echo "cat" >&6; } ;;
 
5089
esac
 
5090
 
 
5091
 
 
5092
 
 
5093
 
 
5094
 
 
5095
 
 
5096
 
 
5097
 
 
5098
 
 
5099
 
 
5100
 
 
5101
 
 
5102
 
 
5103
 
5161
5104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5162
5105
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5163
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5106
if ${ac_cv_path_SED+:} false; then :
5164
5107
  $as_echo_n "(cached) " >&6
5165
5108
else
5166
5109
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5242
5185
 
5243
5186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5244
5187
$as_echo_n "checking for fgrep... " >&6; }
5245
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5188
if ${ac_cv_path_FGREP+:} false; then :
5246
5189
  $as_echo_n "(cached) " >&6
5247
5190
else
5248
5191
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5373
5316
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5374
5317
$as_echo_n "checking for non-GNU ld... " >&6; }
5375
5318
fi
5376
 
if test "${lt_cv_path_LD+set}" = set; then :
 
5319
if ${lt_cv_path_LD+:} false; then :
5377
5320
  $as_echo_n "(cached) " >&6
5378
5321
else
5379
5322
  if test -z "$LD"; then
5413
5356
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5414
5357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5415
5358
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5416
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5359
if ${lt_cv_prog_gnu_ld+:} false; then :
5417
5360
  $as_echo_n "(cached) " >&6
5418
5361
else
5419
5362
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5440
5383
 
5441
5384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5442
5385
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5443
 
if test "${lt_cv_path_NM+set}" = set; then :
 
5386
if ${lt_cv_path_NM+:} false; then :
5444
5387
  $as_echo_n "(cached) " >&6
5445
5388
else
5446
5389
  if test -n "$NM"; then
5493
5436
  NM="$lt_cv_path_NM"
5494
5437
else
5495
5438
  # Didn't find any BSD compatible name lister, look for dumpbin.
5496
 
  if test -n "$ac_tool_prefix"; then
5497
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5439
  if test -n "$DUMPBIN"; then :
 
5440
    # Let the user override the test.
 
5441
  else
 
5442
    if test -n "$ac_tool_prefix"; then
 
5443
  for ac_prog in dumpbin "link -dump"
5498
5444
  do
5499
5445
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5500
5446
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5501
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502
5448
$as_echo_n "checking for $ac_word... " >&6; }
5503
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5449
if ${ac_cv_prog_DUMPBIN+:} false; then :
5504
5450
  $as_echo_n "(cached) " >&6
5505
5451
else
5506
5452
  if test -n "$DUMPBIN"; then
5538
5484
fi
5539
5485
if test -z "$DUMPBIN"; then
5540
5486
  ac_ct_DUMPBIN=$DUMPBIN
5541
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5487
  for ac_prog in dumpbin "link -dump"
5542
5488
do
5543
5489
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5544
5490
set dummy $ac_prog; ac_word=$2
5545
5491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546
5492
$as_echo_n "checking for $ac_word... " >&6; }
5547
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5493
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5548
5494
  $as_echo_n "(cached) " >&6
5549
5495
else
5550
5496
  if test -n "$ac_ct_DUMPBIN"; then
5593
5539
  fi
5594
5540
fi
5595
5541
 
 
5542
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5543
    *COFF*)
 
5544
      DUMPBIN="$DUMPBIN -symbols"
 
5545
      ;;
 
5546
    *)
 
5547
      DUMPBIN=:
 
5548
      ;;
 
5549
    esac
 
5550
  fi
5596
5551
 
5597
5552
  if test "$DUMPBIN" != ":"; then
5598
5553
    NM="$DUMPBIN"
5607
5562
 
5608
5563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5609
5564
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5610
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
5565
if ${lt_cv_nm_interface+:} false; then :
5611
5566
  $as_echo_n "(cached) " >&6
5612
5567
else
5613
5568
  lt_cv_nm_interface="BSD nm"
5614
5569
  echo "int some_variable = 0;" > conftest.$ac_ext
5615
 
  (eval echo "\"\$as_me:5615: $ac_compile\"" >&5)
 
5570
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5616
5571
  (eval "$ac_compile" 2>conftest.err)
5617
5572
  cat conftest.err >&5
5618
 
  (eval echo "\"\$as_me:5618: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5573
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5619
5574
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5620
5575
  cat conftest.err >&5
5621
 
  (eval echo "\"\$as_me:5621: output\"" >&5)
 
5576
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5622
5577
  cat conftest.out >&5
5623
5578
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5624
5579
    lt_cv_nm_interface="MS dumpbin"
5631
5586
# find the maximum length of command line arguments
5632
5587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5633
5588
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5634
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5589
if ${lt_cv_sys_max_cmd_len+:} false; then :
5635
5590
  $as_echo_n "(cached) " >&6
5636
5591
else
5637
5592
    i=0
5664
5619
    lt_cv_sys_max_cmd_len=8192;
5665
5620
    ;;
5666
5621
 
 
5622
  mint*)
 
5623
    # On MiNT this can take a long time and run out of memory.
 
5624
    lt_cv_sys_max_cmd_len=8192;
 
5625
    ;;
 
5626
 
5667
5627
  amigaos*)
5668
5628
    # On AmigaOS with pdksh, this test takes hours, literally.
5669
5629
    # So we just punt and use a minimum line length of 8192.
5728
5688
      # If test is not a shell built-in, we'll probably end up computing a
5729
5689
      # maximum length that is only half of the actual maximum length, but
5730
5690
      # we can't tell.
5731
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5732
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5691
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5692
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5733
5693
              test $i != 17 # 1/2 MB should be enough
5734
5694
      do
5735
5695
        i=`expr $i + 1`
5771
5731
# Try some XSI features
5772
5732
xsi_shell=no
5773
5733
( _lt_dummy="a/b/c"
5774
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5775
 
      = c,a/b,, \
 
5734
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5735
      = c,a/b,b/c, \
5776
5736
    && eval 'test $(( 1 + 1 )) -eq 2 \
5777
5737
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5778
5738
  && xsi_shell=yes
5821
5781
 
5822
5782
 
5823
5783
 
 
5784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5785
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5786
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5787
  $as_echo_n "(cached) " >&6
 
5788
else
 
5789
  case $host in
 
5790
  *-*-mingw* )
 
5791
    case $build in
 
5792
      *-*-mingw* ) # actually msys
 
5793
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5794
        ;;
 
5795
      *-*-cygwin* )
 
5796
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5797
        ;;
 
5798
      * ) # otherwise, assume *nix
 
5799
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5800
        ;;
 
5801
    esac
 
5802
    ;;
 
5803
  *-*-cygwin* )
 
5804
    case $build in
 
5805
      *-*-mingw* ) # actually msys
 
5806
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5807
        ;;
 
5808
      *-*-cygwin* )
 
5809
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5810
        ;;
 
5811
      * ) # otherwise, assume *nix
 
5812
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5813
        ;;
 
5814
    esac
 
5815
    ;;
 
5816
  * ) # unhandled hosts (and "normal" native builds)
 
5817
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5818
    ;;
 
5819
esac
 
5820
 
 
5821
fi
 
5822
 
 
5823
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5825
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5826
 
 
5827
 
 
5828
 
 
5829
 
 
5830
 
 
5831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5832
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5833
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5834
  $as_echo_n "(cached) " >&6
 
5835
else
 
5836
  #assume ordinary cross tools, or native build.
 
5837
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5838
case $host in
 
5839
  *-*-mingw* )
 
5840
    case $build in
 
5841
      *-*-mingw* ) # actually msys
 
5842
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5843
        ;;
 
5844
    esac
 
5845
    ;;
 
5846
esac
 
5847
 
 
5848
fi
 
5849
 
 
5850
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5852
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5853
 
 
5854
 
 
5855
 
 
5856
 
 
5857
 
5824
5858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5825
5859
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5826
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5860
if ${lt_cv_ld_reload_flag+:} false; then :
5827
5861
  $as_echo_n "(cached) " >&6
5828
5862
else
5829
5863
  lt_cv_ld_reload_flag='-r'
5837
5871
esac
5838
5872
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5839
5873
case $host_os in
 
5874
  cygwin* | mingw* | pw32* | cegcc*)
 
5875
    if test "$GCC" != yes; then
 
5876
      reload_cmds=false
 
5877
    fi
 
5878
    ;;
5840
5879
  darwin*)
5841
5880
    if test "$GCC" = yes; then
5842
5881
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5859
5898
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5860
5899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861
5900
$as_echo_n "checking for $ac_word... " >&6; }
5862
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5901
if ${ac_cv_prog_OBJDUMP+:} false; then :
5863
5902
  $as_echo_n "(cached) " >&6
5864
5903
else
5865
5904
  if test -n "$OBJDUMP"; then
5899
5938
set dummy objdump; ac_word=$2
5900
5939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901
5940
$as_echo_n "checking for $ac_word... " >&6; }
5902
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5941
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5903
5942
  $as_echo_n "(cached) " >&6
5904
5943
else
5905
5944
  if test -n "$ac_ct_OBJDUMP"; then
5958
5997
 
5959
5998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5960
5999
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5961
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6000
if ${lt_cv_deplibs_check_method+:} false; then :
5962
6001
  $as_echo_n "(cached) " >&6
5963
6002
else
5964
6003
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6000
6039
  # Base MSYS/MinGW do not provide the 'file' command needed by
6001
6040
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6002
6041
  # unless we find 'file', for example because we are cross-compiling.
6003
 
  if ( file / ) >/dev/null 2>&1; then
 
6042
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6043
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6004
6044
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6005
6045
    lt_cv_file_magic_cmd='func_win32_libid'
6006
6046
  else
6007
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6047
    # Keep this pattern in sync with the one in func_win32_libid.
 
6048
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6008
6049
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6009
6050
  fi
6010
6051
  ;;
6011
6052
 
6012
 
cegcc)
 
6053
cegcc*)
6013
6054
  # use the weaker test based on 'objdump'. See mingw*.
6014
6055
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6015
6056
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6039
6080
  lt_cv_deplibs_check_method=pass_all
6040
6081
  ;;
6041
6082
 
 
6083
haiku*)
 
6084
  lt_cv_deplibs_check_method=pass_all
 
6085
  ;;
 
6086
 
6042
6087
hpux10.20* | hpux11*)
6043
6088
  lt_cv_file_magic_cmd=/usr/bin/file
6044
6089
  case $host_cpu in
6047
6092
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6048
6093
    ;;
6049
6094
  hppa*64*)
6050
 
    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]'
 
6095
    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]'
6051
6096
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6052
6097
    ;;
6053
6098
  *)
6054
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6099
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6055
6100
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6056
6101
    ;;
6057
6102
  esac
6154
6199
fi
6155
6200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6156
6201
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6202
 
 
6203
file_magic_glob=
 
6204
want_nocaseglob=no
 
6205
if test "$build" = "$host"; then
 
6206
  case $host_os in
 
6207
  mingw* | pw32*)
 
6208
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
6209
      want_nocaseglob=yes
 
6210
    else
 
6211
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
6212
    fi
 
6213
    ;;
 
6214
  esac
 
6215
fi
 
6216
 
6157
6217
file_magic_cmd=$lt_cv_file_magic_cmd
6158
6218
deplibs_check_method=$lt_cv_deplibs_check_method
6159
6219
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6169
6229
 
6170
6230
 
6171
6231
 
6172
 
if test -n "$ac_tool_prefix"; then
6173
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6174
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6176
 
$as_echo_n "checking for $ac_word... " >&6; }
6177
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
6232
 
 
6233
 
 
6234
 
 
6235
 
 
6236
 
 
6237
 
 
6238
 
 
6239
 
 
6240
 
 
6241
 
 
6242
if test -n "$ac_tool_prefix"; then
 
6243
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6244
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6246
$as_echo_n "checking for $ac_word... " >&6; }
 
6247
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
6248
  $as_echo_n "(cached) " >&6
 
6249
else
 
6250
  if test -n "$DLLTOOL"; then
 
6251
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6252
else
 
6253
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6254
for as_dir in $PATH
 
6255
do
 
6256
  IFS=$as_save_IFS
 
6257
  test -z "$as_dir" && as_dir=.
 
6258
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6259
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6260
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6261
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6262
    break 2
 
6263
  fi
 
6264
done
 
6265
  done
 
6266
IFS=$as_save_IFS
 
6267
 
 
6268
fi
 
6269
fi
 
6270
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6271
if test -n "$DLLTOOL"; then
 
6272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6273
$as_echo "$DLLTOOL" >&6; }
 
6274
else
 
6275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6276
$as_echo "no" >&6; }
 
6277
fi
 
6278
 
 
6279
 
 
6280
fi
 
6281
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6282
  ac_ct_DLLTOOL=$DLLTOOL
 
6283
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6284
set dummy dlltool; ac_word=$2
 
6285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6286
$as_echo_n "checking for $ac_word... " >&6; }
 
6287
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
6288
  $as_echo_n "(cached) " >&6
 
6289
else
 
6290
  if test -n "$ac_ct_DLLTOOL"; then
 
6291
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6292
else
 
6293
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6294
for as_dir in $PATH
 
6295
do
 
6296
  IFS=$as_save_IFS
 
6297
  test -z "$as_dir" && as_dir=.
 
6298
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6299
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6300
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6301
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6302
    break 2
 
6303
  fi
 
6304
done
 
6305
  done
 
6306
IFS=$as_save_IFS
 
6307
 
 
6308
fi
 
6309
fi
 
6310
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6311
if test -n "$ac_ct_DLLTOOL"; then
 
6312
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6313
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6314
else
 
6315
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6316
$as_echo "no" >&6; }
 
6317
fi
 
6318
 
 
6319
  if test "x$ac_ct_DLLTOOL" = x; then
 
6320
    DLLTOOL="false"
 
6321
  else
 
6322
    case $cross_compiling:$ac_tool_warned in
 
6323
yes:)
 
6324
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6325
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6326
ac_tool_warned=yes ;;
 
6327
esac
 
6328
    DLLTOOL=$ac_ct_DLLTOOL
 
6329
  fi
 
6330
else
 
6331
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6332
fi
 
6333
 
 
6334
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6335
 
 
6336
 
 
6337
 
 
6338
 
 
6339
 
 
6340
 
 
6341
 
 
6342
 
 
6343
 
 
6344
 
 
6345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6346
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6347
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
6348
  $as_echo_n "(cached) " >&6
 
6349
else
 
6350
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6351
 
 
6352
case $host_os in
 
6353
cygwin* | mingw* | pw32* | cegcc*)
 
6354
  # two different shell functions defined in ltmain.sh
 
6355
  # decide which to use based on capabilities of $DLLTOOL
 
6356
  case `$DLLTOOL --help 2>&1` in
 
6357
  *--identify-strict*)
 
6358
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6359
    ;;
 
6360
  *)
 
6361
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6362
    ;;
 
6363
  esac
 
6364
  ;;
 
6365
*)
 
6366
  # fallback: assume linklib IS sharedlib
 
6367
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6368
  ;;
 
6369
esac
 
6370
 
 
6371
fi
 
6372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6373
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6374
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6375
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6376
 
 
6377
 
 
6378
 
 
6379
 
 
6380
 
 
6381
 
 
6382
 
 
6383
if test -n "$ac_tool_prefix"; then
 
6384
  for ac_prog in ar
 
6385
  do
 
6386
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6387
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6389
$as_echo_n "checking for $ac_word... " >&6; }
 
6390
if ${ac_cv_prog_AR+:} false; then :
6178
6391
  $as_echo_n "(cached) " >&6
6179
6392
else
6180
6393
  if test -n "$AR"; then
6187
6400
  test -z "$as_dir" && as_dir=.
6188
6401
    for ac_exec_ext in '' $ac_executable_extensions; do
6189
6402
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6190
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6403
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6191
6404
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6192
6405
    break 2
6193
6406
  fi
6207
6420
fi
6208
6421
 
6209
6422
 
 
6423
    test -n "$AR" && break
 
6424
  done
6210
6425
fi
6211
 
if test -z "$ac_cv_prog_AR"; then
 
6426
if test -z "$AR"; then
6212
6427
  ac_ct_AR=$AR
6213
 
  # Extract the first word of "ar", so it can be a program name with args.
6214
 
set dummy ar; ac_word=$2
 
6428
  for ac_prog in ar
 
6429
do
 
6430
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6431
set dummy $ac_prog; ac_word=$2
6215
6432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6216
6433
$as_echo_n "checking for $ac_word... " >&6; }
6217
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6434
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6218
6435
  $as_echo_n "(cached) " >&6
6219
6436
else
6220
6437
  if test -n "$ac_ct_AR"; then
6227
6444
  test -z "$as_dir" && as_dir=.
6228
6445
    for ac_exec_ext in '' $ac_executable_extensions; do
6229
6446
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6230
 
    ac_cv_prog_ac_ct_AR="ar"
 
6447
    ac_cv_prog_ac_ct_AR="$ac_prog"
6231
6448
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6232
6449
    break 2
6233
6450
  fi
6246
6463
$as_echo "no" >&6; }
6247
6464
fi
6248
6465
 
 
6466
 
 
6467
  test -n "$ac_ct_AR" && break
 
6468
done
 
6469
 
6249
6470
  if test "x$ac_ct_AR" = x; then
6250
6471
    AR="false"
6251
6472
  else
6257
6478
esac
6258
6479
    AR=$ac_ct_AR
6259
6480
  fi
6260
 
else
6261
 
  AR="$ac_cv_prog_AR"
6262
 
fi
6263
 
 
6264
 
test -z "$AR" && AR=ar
6265
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6266
 
 
6267
 
 
6268
 
 
6269
 
 
 
6481
fi
 
6482
 
 
6483
: ${AR=ar}
 
6484
: ${AR_FLAGS=cru}
 
6485
 
 
6486
 
 
6487
 
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
 
 
6495
 
 
6496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6497
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6498
if ${lt_cv_ar_at_file+:} false; then :
 
6499
  $as_echo_n "(cached) " >&6
 
6500
else
 
6501
  lt_cv_ar_at_file=no
 
6502
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6503
/* end confdefs.h.  */
 
6504
 
 
6505
int
 
6506
main ()
 
6507
{
 
6508
 
 
6509
  ;
 
6510
  return 0;
 
6511
}
 
6512
_ACEOF
 
6513
if ac_fn_c_try_compile "$LINENO"; then :
 
6514
  echo conftest.$ac_objext > conftest.lst
 
6515
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6516
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6517
  (eval $lt_ar_try) 2>&5
 
6518
  ac_status=$?
 
6519
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6520
  test $ac_status = 0; }
 
6521
      if test "$ac_status" -eq 0; then
 
6522
        # Ensure the archiver fails upon bogus file names.
 
6523
        rm -f conftest.$ac_objext libconftest.a
 
6524
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6525
  (eval $lt_ar_try) 2>&5
 
6526
  ac_status=$?
 
6527
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6528
  test $ac_status = 0; }
 
6529
        if test "$ac_status" -ne 0; then
 
6530
          lt_cv_ar_at_file=@
 
6531
        fi
 
6532
      fi
 
6533
      rm -f conftest.* libconftest.a
 
6534
 
 
6535
fi
 
6536
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6537
 
 
6538
fi
 
6539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6540
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6541
 
 
6542
if test "x$lt_cv_ar_at_file" = xno; then
 
6543
  archiver_list_spec=
 
6544
else
 
6545
  archiver_list_spec=$lt_cv_ar_at_file
 
6546
fi
6270
6547
 
6271
6548
 
6272
6549
 
6279
6556
set dummy ${ac_tool_prefix}strip; ac_word=$2
6280
6557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281
6558
$as_echo_n "checking for $ac_word... " >&6; }
6282
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6559
if ${ac_cv_prog_STRIP+:} false; then :
6283
6560
  $as_echo_n "(cached) " >&6
6284
6561
else
6285
6562
  if test -n "$STRIP"; then
6319
6596
set dummy strip; ac_word=$2
6320
6597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321
6598
$as_echo_n "checking for $ac_word... " >&6; }
6322
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6599
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6323
6600
  $as_echo_n "(cached) " >&6
6324
6601
else
6325
6602
  if test -n "$ac_ct_STRIP"; then
6378
6655
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6379
6656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6380
6657
$as_echo_n "checking for $ac_word... " >&6; }
6381
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6658
if ${ac_cv_prog_RANLIB+:} false; then :
6382
6659
  $as_echo_n "(cached) " >&6
6383
6660
else
6384
6661
  if test -n "$RANLIB"; then
6418
6695
set dummy ranlib; ac_word=$2
6419
6696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420
6697
$as_echo_n "checking for $ac_word... " >&6; }
6421
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6698
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6422
6699
  $as_echo_n "(cached) " >&6
6423
6700
else
6424
6701
  if test -n "$ac_ct_RANLIB"; then
6489
6766
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6490
6767
fi
6491
6768
 
 
6769
case $host_os in
 
6770
  darwin*)
 
6771
    lock_old_archive_extraction=yes ;;
 
6772
  *)
 
6773
    lock_old_archive_extraction=no ;;
 
6774
esac
 
6775
 
 
6776
 
 
6777
 
 
6778
 
 
6779
 
 
6780
 
6492
6781
 
6493
6782
 
6494
6783
 
6535
6824
# Check for command to grab the raw symbol name followed by C symbol from nm.
6536
6825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6537
6826
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6538
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6827
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6539
6828
  $as_echo_n "(cached) " >&6
6540
6829
else
6541
6830
 
6596
6885
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6597
6886
 
6598
6887
# Transform an extracted symbol line into symbol name and symbol address
6599
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6600
 
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'"
 
6888
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6889
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'"
6601
6890
 
6602
6891
# Handle CRLF in mingw tool chain
6603
6892
opt_cr=
6633
6922
  else
6634
6923
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6635
6924
  fi
 
6925
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6636
6926
 
6637
6927
  # Check to see that the pipe works correctly.
6638
6928
  pipe_works=no
6658
6948
  test $ac_status = 0; }; then
6659
6949
    # Now try to grab the symbols.
6660
6950
    nlist=conftest.nm
6661
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6662
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6951
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6952
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6663
6953
  ac_status=$?
6664
6954
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6665
6955
  test $ac_status = 0; } && test -s "$nlist"; then
6674
6964
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6675
6965
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6676
6966
          cat <<_LT_EOF > conftest.$ac_ext
 
6967
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6968
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6969
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6970
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6971
# define LT_DLSYM_CONST
 
6972
#elif defined(__osf__)
 
6973
/* This system does not cope well with relocations in const data.  */
 
6974
# define LT_DLSYM_CONST
 
6975
#else
 
6976
# define LT_DLSYM_CONST const
 
6977
#endif
 
6978
 
6677
6979
#ifdef __cplusplus
6678
6980
extern "C" {
6679
6981
#endif
6685
6987
          cat <<_LT_EOF >> conftest.$ac_ext
6686
6988
 
6687
6989
/* The mapping between symbol names and symbols.  */
6688
 
const struct {
 
6990
LT_DLSYM_CONST struct {
6689
6991
  const char *name;
6690
6992
  void       *address;
6691
6993
}
6711
7013
_LT_EOF
6712
7014
          # Now try linking the two files.
6713
7015
          mv conftest.$ac_objext conftstm.$ac_objext
6714
 
          lt_save_LIBS="$LIBS"
6715
 
          lt_save_CFLAGS="$CFLAGS"
 
7016
          lt_globsym_save_LIBS=$LIBS
 
7017
          lt_globsym_save_CFLAGS=$CFLAGS
6716
7018
          LIBS="conftstm.$ac_objext"
6717
7019
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6718
7020
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6722
7024
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6723
7025
            pipe_works=yes
6724
7026
          fi
6725
 
          LIBS="$lt_save_LIBS"
6726
 
          CFLAGS="$lt_save_CFLAGS"
 
7027
          LIBS=$lt_globsym_save_LIBS
 
7028
          CFLAGS=$lt_globsym_save_CFLAGS
6727
7029
        else
6728
7030
          echo "cannot find nm_test_func in $nlist" >&5
6729
7031
        fi
6760
7062
$as_echo "ok" >&6; }
6761
7063
fi
6762
7064
 
6763
 
 
6764
 
 
6765
 
 
6766
 
 
6767
 
 
6768
 
 
6769
 
 
6770
 
 
6771
 
 
6772
 
 
6773
 
 
6774
 
 
6775
 
 
6776
 
 
6777
 
 
6778
 
 
 
7065
# Response file support.
 
7066
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7067
  nm_file_list_spec='@'
 
7068
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7069
  nm_file_list_spec='@'
 
7070
fi
 
7071
 
 
7072
 
 
7073
 
 
7074
 
 
7075
 
 
7076
 
 
7077
 
 
7078
 
 
7079
 
 
7080
 
 
7081
 
 
7082
 
 
7083
 
 
7084
 
 
7085
 
 
7086
 
 
7087
 
 
7088
 
 
7089
 
 
7090
 
 
7091
 
 
7092
 
 
7093
 
 
7094
 
 
7095
 
 
7096
 
 
7097
 
 
7098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7099
$as_echo_n "checking for sysroot... " >&6; }
 
7100
 
 
7101
# Check whether --with-sysroot was given.
 
7102
if test "${with_sysroot+set}" = set; then :
 
7103
  withval=$with_sysroot;
 
7104
else
 
7105
  with_sysroot=no
 
7106
fi
 
7107
 
 
7108
 
 
7109
lt_sysroot=
 
7110
case ${with_sysroot} in #(
 
7111
 yes)
 
7112
   if test "$GCC" = yes; then
 
7113
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7114
   fi
 
7115
   ;; #(
 
7116
 /*)
 
7117
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7118
   ;; #(
 
7119
 no|'')
 
7120
   ;; #(
 
7121
 *)
 
7122
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7123
$as_echo "${with_sysroot}" >&6; }
 
7124
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7125
   ;;
 
7126
esac
 
7127
 
 
7128
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7129
$as_echo "${lt_sysroot:-no}" >&6; }
6779
7130
 
6780
7131
 
6781
7132
 
6812
7163
  ;;
6813
7164
*-*-irix6*)
6814
7165
  # Find out which ABI we are using.
6815
 
  echo '#line 6815 "configure"' > conftest.$ac_ext
 
7166
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6816
7167
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6817
7168
  (eval $ac_compile) 2>&5
6818
7169
  ac_status=$?
6906
7257
  CFLAGS="$CFLAGS -belf"
6907
7258
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6908
7259
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6909
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7260
if ${lt_cv_cc_needs_belf+:} false; then :
6910
7261
  $as_echo_n "(cached) " >&6
6911
7262
else
6912
7263
  ac_ext=c
6974
7325
 
6975
7326
need_locks="$enable_libtool_lock"
6976
7327
 
 
7328
if test -n "$ac_tool_prefix"; then
 
7329
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7330
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7332
$as_echo_n "checking for $ac_word... " >&6; }
 
7333
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
7334
  $as_echo_n "(cached) " >&6
 
7335
else
 
7336
  if test -n "$MANIFEST_TOOL"; then
 
7337
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7338
else
 
7339
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7340
for as_dir in $PATH
 
7341
do
 
7342
  IFS=$as_save_IFS
 
7343
  test -z "$as_dir" && as_dir=.
 
7344
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7345
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7346
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7347
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7348
    break 2
 
7349
  fi
 
7350
done
 
7351
  done
 
7352
IFS=$as_save_IFS
 
7353
 
 
7354
fi
 
7355
fi
 
7356
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7357
if test -n "$MANIFEST_TOOL"; then
 
7358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7359
$as_echo "$MANIFEST_TOOL" >&6; }
 
7360
else
 
7361
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7362
$as_echo "no" >&6; }
 
7363
fi
 
7364
 
 
7365
 
 
7366
fi
 
7367
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7368
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7369
  # Extract the first word of "mt", so it can be a program name with args.
 
7370
set dummy mt; ac_word=$2
 
7371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7372
$as_echo_n "checking for $ac_word... " >&6; }
 
7373
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
7374
  $as_echo_n "(cached) " >&6
 
7375
else
 
7376
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7377
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7378
else
 
7379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7380
for as_dir in $PATH
 
7381
do
 
7382
  IFS=$as_save_IFS
 
7383
  test -z "$as_dir" && as_dir=.
 
7384
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7385
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7386
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7387
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7388
    break 2
 
7389
  fi
 
7390
done
 
7391
  done
 
7392
IFS=$as_save_IFS
 
7393
 
 
7394
fi
 
7395
fi
 
7396
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7397
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7399
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7400
else
 
7401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7402
$as_echo "no" >&6; }
 
7403
fi
 
7404
 
 
7405
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7406
    MANIFEST_TOOL=":"
 
7407
  else
 
7408
    case $cross_compiling:$ac_tool_warned in
 
7409
yes:)
 
7410
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7411
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7412
ac_tool_warned=yes ;;
 
7413
esac
 
7414
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7415
  fi
 
7416
else
 
7417
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7418
fi
 
7419
 
 
7420
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7422
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7423
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7424
  $as_echo_n "(cached) " >&6
 
7425
else
 
7426
  lt_cv_path_mainfest_tool=no
 
7427
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7428
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7429
  cat conftest.err >&5
 
7430
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7431
    lt_cv_path_mainfest_tool=yes
 
7432
  fi
 
7433
  rm -f conftest*
 
7434
fi
 
7435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7436
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7437
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7438
  MANIFEST_TOOL=:
 
7439
fi
 
7440
 
 
7441
 
 
7442
 
 
7443
 
 
7444
 
6977
7445
 
6978
7446
  case $host_os in
6979
7447
    rhapsody* | darwin*)
6982
7450
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6983
7451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984
7452
$as_echo_n "checking for $ac_word... " >&6; }
6985
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7453
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6986
7454
  $as_echo_n "(cached) " >&6
6987
7455
else
6988
7456
  if test -n "$DSYMUTIL"; then
7022
7490
set dummy dsymutil; ac_word=$2
7023
7491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024
7492
$as_echo_n "checking for $ac_word... " >&6; }
7025
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7493
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7026
7494
  $as_echo_n "(cached) " >&6
7027
7495
else
7028
7496
  if test -n "$ac_ct_DSYMUTIL"; then
7074
7542
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7075
7543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076
7544
$as_echo_n "checking for $ac_word... " >&6; }
7077
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7545
if ${ac_cv_prog_NMEDIT+:} false; then :
7078
7546
  $as_echo_n "(cached) " >&6
7079
7547
else
7080
7548
  if test -n "$NMEDIT"; then
7114
7582
set dummy nmedit; ac_word=$2
7115
7583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116
7584
$as_echo_n "checking for $ac_word... " >&6; }
7117
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7585
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7118
7586
  $as_echo_n "(cached) " >&6
7119
7587
else
7120
7588
  if test -n "$ac_ct_NMEDIT"; then
7166
7634
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7167
7635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168
7636
$as_echo_n "checking for $ac_word... " >&6; }
7169
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7637
if ${ac_cv_prog_LIPO+:} false; then :
7170
7638
  $as_echo_n "(cached) " >&6
7171
7639
else
7172
7640
  if test -n "$LIPO"; then
7206
7674
set dummy lipo; ac_word=$2
7207
7675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208
7676
$as_echo_n "checking for $ac_word... " >&6; }
7209
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7677
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7210
7678
  $as_echo_n "(cached) " >&6
7211
7679
else
7212
7680
  if test -n "$ac_ct_LIPO"; then
7258
7726
set dummy ${ac_tool_prefix}otool; ac_word=$2
7259
7727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7260
7728
$as_echo_n "checking for $ac_word... " >&6; }
7261
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7729
if ${ac_cv_prog_OTOOL+:} false; then :
7262
7730
  $as_echo_n "(cached) " >&6
7263
7731
else
7264
7732
  if test -n "$OTOOL"; then
7298
7766
set dummy otool; ac_word=$2
7299
7767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300
7768
$as_echo_n "checking for $ac_word... " >&6; }
7301
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7769
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7302
7770
  $as_echo_n "(cached) " >&6
7303
7771
else
7304
7772
  if test -n "$ac_ct_OTOOL"; then
7350
7818
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7351
7819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352
7820
$as_echo_n "checking for $ac_word... " >&6; }
7353
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7821
if ${ac_cv_prog_OTOOL64+:} false; then :
7354
7822
  $as_echo_n "(cached) " >&6
7355
7823
else
7356
7824
  if test -n "$OTOOL64"; then
7390
7858
set dummy otool64; ac_word=$2
7391
7859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392
7860
$as_echo_n "checking for $ac_word... " >&6; }
7393
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7861
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7394
7862
  $as_echo_n "(cached) " >&6
7395
7863
else
7396
7864
  if test -n "$ac_ct_OTOOL64"; then
7465
7933
 
7466
7934
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7467
7935
$as_echo_n "checking for -single_module linker flag... " >&6; }
7468
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7936
if ${lt_cv_apple_cc_single_mod+:} false; then :
7469
7937
  $as_echo_n "(cached) " >&6
7470
7938
else
7471
7939
  lt_cv_apple_cc_single_mod=no
7494
7962
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7495
7963
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7496
7964
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7497
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7965
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7498
7966
  $as_echo_n "(cached) " >&6
7499
7967
else
7500
7968
  lt_cv_ld_exported_symbols_list=no
7524
7992
fi
7525
7993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7526
7994
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7995
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7996
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7997
if ${lt_cv_ld_force_load+:} false; then :
 
7998
  $as_echo_n "(cached) " >&6
 
7999
else
 
8000
  lt_cv_ld_force_load=no
 
8001
      cat > conftest.c << _LT_EOF
 
8002
int forced_loaded() { return 2;}
 
8003
_LT_EOF
 
8004
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8005
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8006
      echo "$AR cru libconftest.a conftest.o" >&5
 
8007
      $AR cru libconftest.a conftest.o 2>&5
 
8008
      echo "$RANLIB libconftest.a" >&5
 
8009
      $RANLIB libconftest.a 2>&5
 
8010
      cat > conftest.c << _LT_EOF
 
8011
int main() { return 0;}
 
8012
_LT_EOF
 
8013
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8014
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8015
      _lt_result=$?
 
8016
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
8017
        lt_cv_ld_force_load=yes
 
8018
      else
 
8019
        cat conftest.err >&5
 
8020
      fi
 
8021
        rm -f conftest.err libconftest.a conftest conftest.c
 
8022
        rm -rf conftest.dSYM
 
8023
 
 
8024
fi
 
8025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
8026
$as_echo "$lt_cv_ld_force_load" >&6; }
7527
8027
    case $host_os in
7528
8028
    rhapsody* | darwin1.[012])
7529
8029
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7551
8051
    else
7552
8052
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7553
8053
    fi
7554
 
    if test "$DSYMUTIL" != ":"; then
 
8054
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7555
8055
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7556
8056
    else
7557
8057
      _lt_dsymutil=
7580
8080
do :
7581
8081
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7582
8082
"
7583
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8083
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7584
8084
  cat >>confdefs.h <<_ACEOF
7585
8085
#define HAVE_DLFCN_H 1
7586
8086
_ACEOF
7591
8091
 
7592
8092
 
7593
8093
 
 
8094
 
 
8095
 
7594
8096
# Set options
7595
8097
 
7596
8098
 
7743
8245
 
7744
8246
 
7745
8247
 
 
8248
 
7746
8249
test -z "$LN_S" && LN_S="ln -s"
7747
8250
 
7748
8251
 
7764
8267
 
7765
8268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7766
8269
$as_echo_n "checking for objdir... " >&6; }
7767
 
if test "${lt_cv_objdir+set}" = set; then :
 
8270
if ${lt_cv_objdir+:} false; then :
7768
8271
  $as_echo_n "(cached) " >&6
7769
8272
else
7770
8273
  rm -f .libs 2>/dev/null
7792
8295
 
7793
8296
 
7794
8297
 
7795
 
 
7796
 
 
7797
 
 
7798
 
 
7799
 
 
7800
 
 
7801
 
 
7802
 
 
7803
 
 
7804
 
 
7805
 
 
7806
 
 
7807
 
 
7808
8298
case $host_os in
7809
8299
aix3*)
7810
8300
  # AIX sometimes has problems with the GCC collect2 program.  For some
7817
8307
  ;;
7818
8308
esac
7819
8309
 
7820
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7821
 
# metacharacters that are still active within double-quoted strings.
7822
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7823
 
 
7824
 
# Same as above, but do not quote variable references.
7825
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7826
 
 
7827
 
# Sed substitution to delay expansion of an escaped shell variable in a
7828
 
# double_quote_subst'ed string.
7829
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7830
 
 
7831
 
# Sed substitution to delay expansion of an escaped single quote.
7832
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7833
 
 
7834
 
# Sed substitution to avoid accidental globbing in evaled expressions
7835
 
no_glob_subst='s/\*/\\\*/g'
7836
 
 
7837
8310
# Global variables:
7838
8311
ofile=libtool
7839
8312
can_build_shared=yes
7862
8335
    *) break;;
7863
8336
  esac
7864
8337
done
7865
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8338
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7866
8339
 
7867
8340
 
7868
8341
# Only perform the check for file, if the check method requires it
7872
8345
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7873
8346
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7874
8347
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7875
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8348
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7876
8349
  $as_echo_n "(cached) " >&6
7877
8350
else
7878
8351
  case $MAGIC_CMD in
7938
8411
  if test -n "$ac_tool_prefix"; then
7939
8412
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7940
8413
$as_echo_n "checking for file... " >&6; }
7941
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8414
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7942
8415
  $as_echo_n "(cached) " >&6
7943
8416
else
7944
8417
  case $MAGIC_CMD in
8067
8540
lt_prog_compiler_no_builtin_flag=
8068
8541
 
8069
8542
if test "$GCC" = yes; then
8070
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8543
  case $cc_basename in
 
8544
  nvcc*)
 
8545
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8546
  *)
 
8547
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8548
  esac
8071
8549
 
8072
8550
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8073
8551
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8074
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8552
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8075
8553
  $as_echo_n "(cached) " >&6
8076
8554
else
8077
8555
  lt_cv_prog_compiler_rtti_exceptions=no
8087
8565
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8088
8566
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8089
8567
   -e 's:$: $lt_compiler_flag:'`
8090
 
   (eval echo "\"\$as_me:8090: $lt_compile\"" >&5)
 
8568
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8091
8569
   (eval "$lt_compile" 2>conftest.err)
8092
8570
   ac_status=$?
8093
8571
   cat conftest.err >&5
8094
 
   echo "$as_me:8094: \$? = $ac_status" >&5
 
8572
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095
8573
   if (exit $ac_status) && test -s "$ac_outfile"; then
8096
8574
     # The compiler can only warn and ignore the option if not recognized
8097
8575
     # So say no if there are warnings other than the usual output.
8098
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8576
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8099
8577
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8100
8578
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8101
8579
       lt_cv_prog_compiler_rtti_exceptions=yes
8124
8602
lt_prog_compiler_pic=
8125
8603
lt_prog_compiler_static=
8126
8604
 
8127
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8128
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8129
8605
 
8130
8606
  if test "$GCC" = yes; then
8131
8607
    lt_prog_compiler_wl='-Wl,'
8173
8649
      lt_prog_compiler_pic='-fno-common'
8174
8650
      ;;
8175
8651
 
 
8652
    haiku*)
 
8653
      # PIC is the default for Haiku.
 
8654
      # The "-static" flag exists, but is broken.
 
8655
      lt_prog_compiler_static=
 
8656
      ;;
 
8657
 
8176
8658
    hpux*)
8177
8659
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8178
8660
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8215
8697
      lt_prog_compiler_pic='-fPIC'
8216
8698
      ;;
8217
8699
    esac
 
8700
 
 
8701
    case $cc_basename in
 
8702
    nvcc*) # Cuda Compiler Driver 2.2
 
8703
      lt_prog_compiler_wl='-Xlinker '
 
8704
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8705
      ;;
 
8706
    esac
8218
8707
  else
8219
8708
    # PORTME Check for flag to pass linker flags through the system compiler.
8220
8709
    case $host_os in
8277
8766
        lt_prog_compiler_pic='--shared'
8278
8767
        lt_prog_compiler_static='--static'
8279
8768
        ;;
8280
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8769
      nagfor*)
 
8770
        # NAG Fortran compiler
 
8771
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8772
        lt_prog_compiler_pic='-PIC'
 
8773
        lt_prog_compiler_static='-Bstatic'
 
8774
        ;;
 
8775
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8281
8776
        # Portland Group compilers (*not* the Pentium gcc compiler,
8282
8777
        # which looks to be a dead project)
8283
8778
        lt_prog_compiler_wl='-Wl,'
8289
8784
        # All Alpha code is PIC.
8290
8785
        lt_prog_compiler_static='-non_shared'
8291
8786
        ;;
8292
 
      xl*)
8293
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8787
      xl* | bgxl* | bgf* | mpixl*)
 
8788
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8294
8789
        lt_prog_compiler_wl='-Wl,'
8295
8790
        lt_prog_compiler_pic='-qpic'
8296
8791
        lt_prog_compiler_static='-qstaticlink'
8297
8792
        ;;
8298
8793
      *)
8299
8794
        case `$CC -V 2>&1 | sed 5q` in
 
8795
        *Sun\ F* | *Sun*Fortran*)
 
8796
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8797
          lt_prog_compiler_pic='-KPIC'
 
8798
          lt_prog_compiler_static='-Bstatic'
 
8799
          lt_prog_compiler_wl=''
 
8800
          ;;
8300
8801
        *Sun\ C*)
8301
8802
          # Sun C 5.9
8302
8803
          lt_prog_compiler_pic='-KPIC'
8303
8804
          lt_prog_compiler_static='-Bstatic'
8304
8805
          lt_prog_compiler_wl='-Wl,'
8305
8806
          ;;
8306
 
        *Sun\ F*)
8307
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8308
 
          lt_prog_compiler_pic='-KPIC'
8309
 
          lt_prog_compiler_static='-Bstatic'
8310
 
          lt_prog_compiler_wl=''
8311
 
          ;;
8312
8807
        esac
8313
8808
        ;;
8314
8809
      esac
8339
8834
      lt_prog_compiler_pic='-KPIC'
8340
8835
      lt_prog_compiler_static='-Bstatic'
8341
8836
      case $cc_basename in
8342
 
      f77* | f90* | f95*)
 
8837
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8343
8838
        lt_prog_compiler_wl='-Qoption ld ';;
8344
8839
      *)
8345
8840
        lt_prog_compiler_wl='-Wl,';;
8396
8891
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8397
8892
    ;;
8398
8893
esac
8399
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8400
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8401
 
 
8402
 
 
8403
 
 
8404
 
 
8405
 
 
 
8894
 
 
8895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8896
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8897
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8898
  $as_echo_n "(cached) " >&6
 
8899
else
 
8900
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8901
fi
 
8902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8903
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8904
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8406
8905
 
8407
8906
#
8408
8907
# Check to make sure the PIC flag actually works.
8410
8909
if test -n "$lt_prog_compiler_pic"; then
8411
8910
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8412
8911
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8413
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8912
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8414
8913
  $as_echo_n "(cached) " >&6
8415
8914
else
8416
8915
  lt_cv_prog_compiler_pic_works=no
8426
8925
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8427
8926
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8428
8927
   -e 's:$: $lt_compiler_flag:'`
8429
 
   (eval echo "\"\$as_me:8429: $lt_compile\"" >&5)
 
8928
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8430
8929
   (eval "$lt_compile" 2>conftest.err)
8431
8930
   ac_status=$?
8432
8931
   cat conftest.err >&5
8433
 
   echo "$as_me:8433: \$? = $ac_status" >&5
 
8932
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434
8933
   if (exit $ac_status) && test -s "$ac_outfile"; then
8435
8934
     # The compiler can only warn and ignore the option if not recognized
8436
8935
     # So say no if there are warnings other than the usual output.
8437
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8936
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8438
8937
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8439
8938
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8440
8939
       lt_cv_prog_compiler_pic_works=yes
8463
8962
 
8464
8963
 
8465
8964
 
 
8965
 
 
8966
 
 
8967
 
 
8968
 
 
8969
 
8466
8970
#
8467
8971
# Check to make sure the static flag actually works.
8468
8972
#
8469
8973
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8470
8974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8471
8975
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8472
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8976
if ${lt_cv_prog_compiler_static_works+:} false; then :
8473
8977
  $as_echo_n "(cached) " >&6
8474
8978
else
8475
8979
  lt_cv_prog_compiler_static_works=no
8482
8986
     if test -s conftest.err; then
8483
8987
       # Append any errors to the config.log.
8484
8988
       cat conftest.err 1>&5
8485
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8989
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8486
8990
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8487
8991
       if diff conftest.exp conftest.er2 >/dev/null; then
8488
8992
         lt_cv_prog_compiler_static_works=yes
8512
9016
 
8513
9017
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8514
9018
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8515
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9019
if ${lt_cv_prog_compiler_c_o+:} false; then :
8516
9020
  $as_echo_n "(cached) " >&6
8517
9021
else
8518
9022
  lt_cv_prog_compiler_c_o=no
8531
9035
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8532
9036
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8533
9037
   -e 's:$: $lt_compiler_flag:'`
8534
 
   (eval echo "\"\$as_me:8534: $lt_compile\"" >&5)
 
9038
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8535
9039
   (eval "$lt_compile" 2>out/conftest.err)
8536
9040
   ac_status=$?
8537
9041
   cat out/conftest.err >&5
8538
 
   echo "$as_me:8538: \$? = $ac_status" >&5
 
9042
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539
9043
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8540
9044
   then
8541
9045
     # The compiler can only warn and ignore the option if not recognized
8542
9046
     # So say no if there are warnings
8543
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9047
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8544
9048
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8545
9049
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8546
9050
       lt_cv_prog_compiler_c_o=yes
8567
9071
 
8568
9072
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8569
9073
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8570
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9074
if ${lt_cv_prog_compiler_c_o+:} false; then :
8571
9075
  $as_echo_n "(cached) " >&6
8572
9076
else
8573
9077
  lt_cv_prog_compiler_c_o=no
8586
9090
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8587
9091
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8588
9092
   -e 's:$: $lt_compiler_flag:'`
8589
 
   (eval echo "\"\$as_me:8589: $lt_compile\"" >&5)
 
9093
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8590
9094
   (eval "$lt_compile" 2>out/conftest.err)
8591
9095
   ac_status=$?
8592
9096
   cat out/conftest.err >&5
8593
 
   echo "$as_me:8593: \$? = $ac_status" >&5
 
9097
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594
9098
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8595
9099
   then
8596
9100
     # The compiler can only warn and ignore the option if not recognized
8597
9101
     # So say no if there are warnings
8598
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9102
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8599
9103
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8600
9104
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8601
9105
       lt_cv_prog_compiler_c_o=yes
8705
9209
  openbsd*)
8706
9210
    with_gnu_ld=no
8707
9211
    ;;
8708
 
  linux* | k*bsd*-gnu)
 
9212
  linux* | k*bsd*-gnu | gnu*)
8709
9213
    link_all_deplibs=no
8710
9214
    ;;
8711
9215
  esac
8712
9216
 
8713
9217
  ld_shlibs=yes
 
9218
 
 
9219
  # On some targets, GNU ld is compatible enough with the native linker
 
9220
  # that we're better off using the native interface for both.
 
9221
  lt_use_gnu_ld_interface=no
8714
9222
  if test "$with_gnu_ld" = yes; then
 
9223
    case $host_os in
 
9224
      aix*)
 
9225
        # The AIX port of GNU ld has always aspired to compatibility
 
9226
        # with the native linker.  However, as the warning in the GNU ld
 
9227
        # block says, versions before 2.19.5* couldn't really create working
 
9228
        # shared libraries, regardless of the interface used.
 
9229
        case `$LD -v 2>&1` in
 
9230
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9231
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9232
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9233
          *)
 
9234
            lt_use_gnu_ld_interface=yes
 
9235
            ;;
 
9236
        esac
 
9237
        ;;
 
9238
      *)
 
9239
        lt_use_gnu_ld_interface=yes
 
9240
        ;;
 
9241
    esac
 
9242
  fi
 
9243
 
 
9244
  if test "$lt_use_gnu_ld_interface" = yes; then
8715
9245
    # If archive_cmds runs LD, not CC, wlarc should be empty
8716
9246
    wlarc='${wl}'
8717
9247
 
8745
9275
        ld_shlibs=no
8746
9276
        cat <<_LT_EOF 1>&2
8747
9277
 
8748
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9278
*** Warning: the GNU linker, at least up to release 2.19, is reported
8749
9279
*** to be unable to reliably create shared libraries on AIX.
8750
9280
*** Therefore, libtool is disabling shared libraries support.  If you
8751
 
*** really care for shared libraries, you may want to modify your PATH
8752
 
*** so that a non-GNU linker is found, and then restart.
 
9281
*** really care for shared libraries, you may want to install binutils
 
9282
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9283
*** You will then need to restart the configuration process.
8753
9284
 
8754
9285
_LT_EOF
8755
9286
      fi
8785
9316
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8786
9317
      # as there is no search path for DLLs.
8787
9318
      hardcode_libdir_flag_spec='-L$libdir'
 
9319
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8788
9320
      allow_undefined_flag=unsupported
8789
9321
      always_export_symbols=no
8790
9322
      enable_shared_with_static_runtimes=yes
8791
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9323
      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'
 
9324
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8792
9325
 
8793
9326
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8794
9327
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8806
9339
      fi
8807
9340
      ;;
8808
9341
 
 
9342
    haiku*)
 
9343
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9344
      link_all_deplibs=yes
 
9345
      ;;
 
9346
 
8809
9347
    interix[3-9]*)
8810
9348
      hardcode_direct=no
8811
9349
      hardcode_shlibpath_var=no
8831
9369
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8832
9370
         && test "$tmp_diet" = no
8833
9371
      then
8834
 
        tmp_addflag=
 
9372
        tmp_addflag=' $pic_flag'
8835
9373
        tmp_sharedflag='-shared'
8836
9374
        case $cc_basename,$host_cpu in
8837
9375
        pgcc*)                          # Portland Group C compiler
8838
 
          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'
 
9376
          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'
8839
9377
          tmp_addflag=' $pic_flag'
8840
9378
          ;;
8841
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8842
 
          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'
 
9379
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9380
                                        # Portland Group f77 and f90 compilers
 
9381
          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'
8843
9382
          tmp_addflag=' $pic_flag -Mnomain' ;;
8844
9383
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8845
9384
          tmp_addflag=' -i_dynamic' ;;
8850
9389
        lf95*)                          # Lahey Fortran 8.1
8851
9390
          whole_archive_flag_spec=
8852
9391
          tmp_sharedflag='--shared' ;;
8853
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9392
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8854
9393
          tmp_sharedflag='-qmkshrobj'
8855
9394
          tmp_addflag= ;;
 
9395
        nvcc*)  # Cuda Compiler Driver 2.2
 
9396
          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'
 
9397
          compiler_needs_object=yes
 
9398
          ;;
8856
9399
        esac
8857
9400
        case `$CC -V 2>&1 | sed 5q` in
8858
9401
        *Sun\ C*)                       # Sun C 5.9
8859
 
          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'
 
9402
          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'
8860
9403
          compiler_needs_object=yes
8861
9404
          tmp_sharedflag='-G' ;;
8862
9405
        *Sun\ F*)                       # Sun Fortran 8.3
8872
9415
        fi
8873
9416
 
8874
9417
        case $cc_basename in
8875
 
        xlf*)
 
9418
        xlf* | bgf* | bgxlf* | mpixlf*)
8876
9419
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8877
9420
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8878
9421
          hardcode_libdir_flag_spec=
8879
9422
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8880
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9423
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8881
9424
          if test "x$supports_anon_versioning" = xyes; then
8882
9425
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8883
9426
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8884
9427
              echo "local: *; };" >> $output_objdir/$libname.ver~
8885
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9428
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8886
9429
          fi
8887
9430
          ;;
8888
9431
        esac
8896
9439
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8897
9440
        wlarc=
8898
9441
      else
8899
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8900
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9442
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9443
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8901
9444
      fi
8902
9445
      ;;
8903
9446
 
8915
9458
 
8916
9459
_LT_EOF
8917
9460
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8918
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8919
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9461
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9462
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8920
9463
      else
8921
9464
        ld_shlibs=no
8922
9465
      fi
8962
9505
 
8963
9506
    *)
8964
9507
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8965
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8966
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9508
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9509
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8967
9510
      else
8968
9511
        ld_shlibs=no
8969
9512
      fi
9003
9546
      else
9004
9547
        # If we're using GNU nm, then we don't want the "-C" option.
9005
9548
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9549
        # Also, AIX nm treats weak defined symbols like other global
 
9550
        # defined symbols, whereas GNU nm marks them as "W".
9006
9551
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9007
 
          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'
 
9552
          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'
9008
9553
        else
9009
9554
          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'
9010
9555
        fi
9092
9637
        allow_undefined_flag='-berok'
9093
9638
        # Determine the default libpath from the value encoded in an
9094
9639
        # empty executable.
9095
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9640
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9641
  aix_libpath=$lt_cv_aix_libpath
 
9642
else
 
9643
  if ${lt_cv_aix_libpath_+:} false; then :
 
9644
  $as_echo_n "(cached) " >&6
 
9645
else
 
9646
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096
9647
/* end confdefs.h.  */
9097
9648
 
9098
9649
int
9105
9656
_ACEOF
9106
9657
if ac_fn_c_try_link "$LINENO"; then :
9107
9658
 
9108
 
lt_aix_libpath_sed='
9109
 
    /Import File Strings/,/^$/ {
9110
 
        /^0/ {
9111
 
            s/^0  *\(.*\)$/\1/
9112
 
            p
9113
 
        }
9114
 
    }'
9115
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9116
 
# Check for a 64-bit object if we didn't find anything.
9117
 
if test -z "$aix_libpath"; then
9118
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9119
 
fi
 
9659
  lt_aix_libpath_sed='
 
9660
      /Import File Strings/,/^$/ {
 
9661
          /^0/ {
 
9662
              s/^0  *\([^ ]*\) *$/\1/
 
9663
              p
 
9664
          }
 
9665
      }'
 
9666
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9667
  # Check for a 64-bit object if we didn't find anything.
 
9668
  if test -z "$lt_cv_aix_libpath_"; then
 
9669
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9670
  fi
9120
9671
fi
9121
9672
rm -f core conftest.err conftest.$ac_objext \
9122
9673
    conftest$ac_exeext conftest.$ac_ext
9123
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9674
  if test -z "$lt_cv_aix_libpath_"; then
 
9675
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9676
  fi
 
9677
 
 
9678
fi
 
9679
 
 
9680
  aix_libpath=$lt_cv_aix_libpath_
 
9681
fi
9124
9682
 
9125
9683
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9126
 
        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"
 
9684
        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"
9127
9685
      else
9128
9686
        if test "$host_cpu" = ia64; then
9129
9687
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9132
9690
        else
9133
9691
         # Determine the default libpath from the value encoded in an
9134
9692
         # empty executable.
9135
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9693
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9694
  aix_libpath=$lt_cv_aix_libpath
 
9695
else
 
9696
  if ${lt_cv_aix_libpath_+:} false; then :
 
9697
  $as_echo_n "(cached) " >&6
 
9698
else
 
9699
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136
9700
/* end confdefs.h.  */
9137
9701
 
9138
9702
int
9145
9709
_ACEOF
9146
9710
if ac_fn_c_try_link "$LINENO"; then :
9147
9711
 
9148
 
lt_aix_libpath_sed='
9149
 
    /Import File Strings/,/^$/ {
9150
 
        /^0/ {
9151
 
            s/^0  *\(.*\)$/\1/
9152
 
            p
9153
 
        }
9154
 
    }'
9155
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9156
 
# Check for a 64-bit object if we didn't find anything.
9157
 
if test -z "$aix_libpath"; then
9158
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9159
 
fi
 
9712
  lt_aix_libpath_sed='
 
9713
      /Import File Strings/,/^$/ {
 
9714
          /^0/ {
 
9715
              s/^0  *\([^ ]*\) *$/\1/
 
9716
              p
 
9717
          }
 
9718
      }'
 
9719
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9720
  # Check for a 64-bit object if we didn't find anything.
 
9721
  if test -z "$lt_cv_aix_libpath_"; then
 
9722
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9723
  fi
9160
9724
fi
9161
9725
rm -f core conftest.err conftest.$ac_objext \
9162
9726
    conftest$ac_exeext conftest.$ac_ext
9163
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9727
  if test -z "$lt_cv_aix_libpath_"; then
 
9728
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9729
  fi
 
9730
 
 
9731
fi
 
9732
 
 
9733
  aix_libpath=$lt_cv_aix_libpath_
 
9734
fi
9164
9735
 
9165
9736
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9166
9737
          # Warning - without using the other run time loading flags,
9167
9738
          # -berok will link without error, but may produce a broken library.
9168
9739
          no_undefined_flag=' ${wl}-bernotok'
9169
9740
          allow_undefined_flag=' ${wl}-berok'
9170
 
          # Exported symbols can be pulled into shared objects from archives
9171
 
          whole_archive_flag_spec='$convenience'
 
9741
          if test "$with_gnu_ld" = yes; then
 
9742
            # We only use this code for GNU lds that support --whole-archive.
 
9743
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9744
          else
 
9745
            # Exported symbols can be pulled into shared objects from archives
 
9746
            whole_archive_flag_spec='$convenience'
 
9747
          fi
9172
9748
          archive_cmds_need_lc=yes
9173
9749
          # This is similar to how AIX traditionally builds its shared libraries.
9174
9750
          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'
9200
9776
      # Microsoft Visual C++.
9201
9777
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9202
9778
      # no search path for DLLs.
9203
 
      hardcode_libdir_flag_spec=' '
9204
 
      allow_undefined_flag=unsupported
9205
 
      # Tell ltmain to make .lib files, not .a files.
9206
 
      libext=lib
9207
 
      # Tell ltmain to make .dll files, not .so files.
9208
 
      shrext_cmds=".dll"
9209
 
      # FIXME: Setting linknames here is a bad hack.
9210
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9211
 
      # The linker will automatically build a .lib file if we build a DLL.
9212
 
      old_archive_from_new_cmds='true'
9213
 
      # FIXME: Should let the user specify the lib program.
9214
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9215
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9216
 
      enable_shared_with_static_runtimes=yes
 
9779
      case $cc_basename in
 
9780
      cl*)
 
9781
        # Native MSVC
 
9782
        hardcode_libdir_flag_spec=' '
 
9783
        allow_undefined_flag=unsupported
 
9784
        always_export_symbols=yes
 
9785
        file_list_spec='@'
 
9786
        # Tell ltmain to make .lib files, not .a files.
 
9787
        libext=lib
 
9788
        # Tell ltmain to make .dll files, not .so files.
 
9789
        shrext_cmds=".dll"
 
9790
        # FIXME: Setting linknames here is a bad hack.
 
9791
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9792
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9793
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9794
          else
 
9795
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9796
          fi~
 
9797
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9798
          linknames='
 
9799
        # The linker will not automatically build a static lib if we build a DLL.
 
9800
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9801
        enable_shared_with_static_runtimes=yes
 
9802
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9803
        # Don't use ranlib
 
9804
        old_postinstall_cmds='chmod 644 $oldlib'
 
9805
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9806
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9807
          case $lt_outputfile in
 
9808
            *.exe|*.EXE) ;;
 
9809
            *)
 
9810
              lt_outputfile="$lt_outputfile.exe"
 
9811
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9812
              ;;
 
9813
          esac~
 
9814
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9815
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9816
            $RM "$lt_outputfile.manifest";
 
9817
          fi'
 
9818
        ;;
 
9819
      *)
 
9820
        # Assume MSVC wrapper
 
9821
        hardcode_libdir_flag_spec=' '
 
9822
        allow_undefined_flag=unsupported
 
9823
        # Tell ltmain to make .lib files, not .a files.
 
9824
        libext=lib
 
9825
        # Tell ltmain to make .dll files, not .so files.
 
9826
        shrext_cmds=".dll"
 
9827
        # FIXME: Setting linknames here is a bad hack.
 
9828
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9829
        # The linker will automatically build a .lib file if we build a DLL.
 
9830
        old_archive_from_new_cmds='true'
 
9831
        # FIXME: Should let the user specify the lib program.
 
9832
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9833
        enable_shared_with_static_runtimes=yes
 
9834
        ;;
 
9835
      esac
9217
9836
      ;;
9218
9837
 
9219
9838
    darwin* | rhapsody*)
9223
9842
  hardcode_direct=no
9224
9843
  hardcode_automatic=yes
9225
9844
  hardcode_shlibpath_var=unsupported
9226
 
  whole_archive_flag_spec=''
 
9845
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9846
    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\"`'
 
9847
  else
 
9848
    whole_archive_flag_spec=''
 
9849
  fi
9227
9850
  link_all_deplibs=yes
9228
9851
  allow_undefined_flag="$_lt_dar_allow_undefined"
9229
9852
  case $cc_basename in
9231
9854
     *) _lt_dar_can_shared=$GCC ;;
9232
9855
  esac
9233
9856
  if test "$_lt_dar_can_shared" = "yes"; then
9234
 
    output_verbose_link_cmd=echo
 
9857
    output_verbose_link_cmd=func_echo_all
9235
9858
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9236
9859
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9237
9860
    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}"
9274
9897
 
9275
9898
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9276
9899
    freebsd* | dragonfly*)
9277
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9900
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9278
9901
      hardcode_libdir_flag_spec='-R$libdir'
9279
9902
      hardcode_direct=yes
9280
9903
      hardcode_shlibpath_var=no
9282
9905
 
9283
9906
    hpux9*)
9284
9907
      if test "$GCC" = yes; then
9285
 
        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'
 
9908
        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'
9286
9909
      else
9287
9910
        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'
9288
9911
      fi
9297
9920
      ;;
9298
9921
 
9299
9922
    hpux10*)
9300
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9301
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9923
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9924
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9302
9925
      else
9303
9926
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9304
9927
      fi
9316
9939
      ;;
9317
9940
 
9318
9941
    hpux11*)
9319
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9942
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9320
9943
        case $host_cpu in
9321
9944
        hppa*64*)
9322
9945
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9323
9946
          ;;
9324
9947
        ia64*)
9325
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9948
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9326
9949
          ;;
9327
9950
        *)
9328
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9951
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9329
9952
          ;;
9330
9953
        esac
9331
9954
      else
9337
9960
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9338
9961
          ;;
9339
9962
        *)
9340
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9963
 
 
9964
          # Older versions of the 11.00 compiler do not understand -b yet
 
9965
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9966
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9967
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9968
if ${lt_cv_prog_compiler__b+:} false; then :
 
9969
  $as_echo_n "(cached) " >&6
 
9970
else
 
9971
  lt_cv_prog_compiler__b=no
 
9972
   save_LDFLAGS="$LDFLAGS"
 
9973
   LDFLAGS="$LDFLAGS -b"
 
9974
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9975
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9976
     # The linker can only warn and ignore the option if not recognized
 
9977
     # So say no if there are warnings
 
9978
     if test -s conftest.err; then
 
9979
       # Append any errors to the config.log.
 
9980
       cat conftest.err 1>&5
 
9981
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9982
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9983
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9984
         lt_cv_prog_compiler__b=yes
 
9985
       fi
 
9986
     else
 
9987
       lt_cv_prog_compiler__b=yes
 
9988
     fi
 
9989
   fi
 
9990
   $RM -r conftest*
 
9991
   LDFLAGS="$save_LDFLAGS"
 
9992
 
 
9993
fi
 
9994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9995
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9996
 
 
9997
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9998
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9999
else
 
10000
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10001
fi
 
10002
 
9341
10003
          ;;
9342
10004
        esac
9343
10005
      fi
9365
10027
 
9366
10028
    irix5* | irix6* | nonstopux*)
9367
10029
      if test "$GCC" = yes; then
9368
 
        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'
 
10030
        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'
9369
10031
        # Try to use the -exported_symbol ld option, if it does not
9370
10032
        # work, assume that -exports_file does not work either and
9371
10033
        # implicitly export all symbols.
9372
 
        save_LDFLAGS="$LDFLAGS"
9373
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9374
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10034
        # This should be the same for all languages, so no per-tag cache variable.
 
10035
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
10036
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
10037
if ${lt_cv_irix_exported_symbol+:} false; then :
 
10038
  $as_echo_n "(cached) " >&6
 
10039
else
 
10040
  save_LDFLAGS="$LDFLAGS"
 
10041
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10042
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375
10043
/* end confdefs.h.  */
9376
 
int foo(void) {}
 
10044
int foo (void) { return 0; }
9377
10045
_ACEOF
9378
10046
if ac_fn_c_try_link "$LINENO"; then :
9379
 
  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'
9380
 
 
 
10047
  lt_cv_irix_exported_symbol=yes
 
10048
else
 
10049
  lt_cv_irix_exported_symbol=no
9381
10050
fi
9382
10051
rm -f core conftest.err conftest.$ac_objext \
9383
10052
    conftest$ac_exeext conftest.$ac_ext
9384
 
        LDFLAGS="$save_LDFLAGS"
 
10053
           LDFLAGS="$save_LDFLAGS"
 
10054
fi
 
10055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
10056
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
10057
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
10058
          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'
 
10059
        fi
9385
10060
      else
9386
 
        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'
9387
 
        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'
 
10061
        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'
 
10062
        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'
9388
10063
      fi
9389
10064
      archive_cmds_need_lc='no'
9390
10065
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9446
10121
      hardcode_libdir_flag_spec='-L$libdir'
9447
10122
      hardcode_minus_L=yes
9448
10123
      allow_undefined_flag=unsupported
9449
 
      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'
 
10124
      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'
9450
10125
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9451
10126
      ;;
9452
10127
 
9453
10128
    osf3*)
9454
10129
      if test "$GCC" = yes; then
9455
10130
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9456
 
        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'
 
10131
        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'
9457
10132
      else
9458
10133
        allow_undefined_flag=' -expect_unresolved \*'
9459
 
        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'
 
10134
        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'
9460
10135
      fi
9461
10136
      archive_cmds_need_lc='no'
9462
10137
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9466
10141
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9467
10142
      if test "$GCC" = yes; then
9468
10143
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9469
 
        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'
 
10144
        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'
9470
10145
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9471
10146
      else
9472
10147
        allow_undefined_flag=' -expect_unresolved \*'
9473
 
        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'
 
10148
        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'
9474
10149
        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~
9475
 
        $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'
 
10150
        $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'
9476
10151
 
9477
10152
        # Both c and cxx compiler support -rpath directly
9478
10153
        hardcode_libdir_flag_spec='-rpath $libdir'
9485
10160
      no_undefined_flag=' -z defs'
9486
10161
      if test "$GCC" = yes; then
9487
10162
        wlarc='${wl}'
9488
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10163
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9489
10164
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9490
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10165
          $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'
9491
10166
      else
9492
10167
        case `$CC -V 2>&1` in
9493
10168
        *"Compilers 5.0"*)
9675
10350
      # to ld, don't add -lc before -lgcc.
9676
10351
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9677
10352
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9678
 
      $RM conftest*
9679
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10353
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10354
  $as_echo_n "(cached) " >&6
 
10355
else
 
10356
  $RM conftest*
 
10357
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9680
10358
 
9681
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10359
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9682
10360
  (eval $ac_compile) 2>&5
9683
10361
  ac_status=$?
9684
10362
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9685
10363
  test $ac_status = 0; } 2>conftest.err; then
9686
 
        soname=conftest
9687
 
        lib=conftest
9688
 
        libobjs=conftest.$ac_objext
9689
 
        deplibs=
9690
 
        wl=$lt_prog_compiler_wl
9691
 
        pic_flag=$lt_prog_compiler_pic
9692
 
        compiler_flags=-v
9693
 
        linker_flags=-v
9694
 
        verstring=
9695
 
        output_objdir=.
9696
 
        libname=conftest
9697
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9698
 
        allow_undefined_flag=
9699
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10364
          soname=conftest
 
10365
          lib=conftest
 
10366
          libobjs=conftest.$ac_objext
 
10367
          deplibs=
 
10368
          wl=$lt_prog_compiler_wl
 
10369
          pic_flag=$lt_prog_compiler_pic
 
10370
          compiler_flags=-v
 
10371
          linker_flags=-v
 
10372
          verstring=
 
10373
          output_objdir=.
 
10374
          libname=conftest
 
10375
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10376
          allow_undefined_flag=
 
10377
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9700
10378
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9701
10379
  ac_status=$?
9702
10380
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9703
10381
  test $ac_status = 0; }
9704
 
        then
9705
 
          archive_cmds_need_lc=no
9706
 
        else
9707
 
          archive_cmds_need_lc=yes
9708
 
        fi
9709
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9710
 
      else
9711
 
        cat conftest.err 1>&5
9712
 
      fi
9713
 
      $RM conftest*
9714
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9715
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10382
          then
 
10383
            lt_cv_archive_cmds_need_lc=no
 
10384
          else
 
10385
            lt_cv_archive_cmds_need_lc=yes
 
10386
          fi
 
10387
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10388
        else
 
10389
          cat conftest.err 1>&5
 
10390
        fi
 
10391
        $RM conftest*
 
10392
 
 
10393
fi
 
10394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10395
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10396
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9716
10397
      ;;
9717
10398
    esac
9718
10399
  fi
9883
10564
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9884
10565
    *) lt_awk_arg="/^libraries:/" ;;
9885
10566
  esac
9886
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9887
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10567
  case $host_os in
 
10568
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10569
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10570
  esac
 
10571
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10572
  case $lt_search_path_spec in
 
10573
  *\;*)
9888
10574
    # if the path contains ";" then we assume it to be the separator
9889
10575
    # otherwise default to the standard path separator (i.e. ":") - it is
9890
10576
    # assumed that no part of a normal pathname contains ";" but that should
9891
10577
    # okay in the real world where ";" in dirpaths is itself problematic.
9892
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9893
 
  else
9894
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9895
 
  fi
 
10578
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10579
    ;;
 
10580
  *)
 
10581
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10582
    ;;
 
10583
  esac
9896
10584
  # Ok, now we have the path, separated by spaces, we can step through it
9897
10585
  # and add multilib dir if necessary.
9898
10586
  lt_tmp_lt_search_path_spec=
9905
10593
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9906
10594
    fi
9907
10595
  done
9908
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10596
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9909
10597
BEGIN {RS=" "; FS="/|\n";} {
9910
10598
  lt_foo="";
9911
10599
  lt_count=0;
9925
10613
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9926
10614
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9927
10615
}'`
9928
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10616
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10617
  # for these hosts.
 
10618
  case $host_os in
 
10619
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10620
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10621
  esac
 
10622
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9929
10623
else
9930
10624
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9931
10625
fi
10013
10707
  m68k)
10014
10708
    library_names_spec='$libname.ixlibrary $libname.a'
10015
10709
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10016
 
    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'
 
10710
    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'
10017
10711
    ;;
10018
10712
  esac
10019
10713
  ;;
10044
10738
  need_version=no
10045
10739
  need_lib_prefix=no
10046
10740
 
10047
 
  case $GCC,$host_os in
10048
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10741
  case $GCC,$cc_basename in
 
10742
  yes,*)
 
10743
    # gcc
10049
10744
    library_names_spec='$libname.dll.a'
10050
10745
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10051
10746
    postinstall_cmds='base_file=`basename \${file}`~
10066
10761
    cygwin*)
10067
10762
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10068
10763
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10069
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10764
 
 
10765
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10070
10766
      ;;
10071
10767
    mingw* | cegcc*)
10072
10768
      # MinGW DLLs use traditional 'lib' prefix
10073
10769
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10074
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10075
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10076
 
        # It is most probably a Windows format PATH printed by
10077
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10078
 
        # path with ; separators, and with drive letters. We can handle the
10079
 
        # drive letters (cygwin fileutils understands them), so leave them,
10080
 
        # especially as we might pass files found there to a mingw objdump,
10081
 
        # which wouldn't understand a cygwinified path. Ahh.
10082
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10083
 
      else
10084
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10085
 
      fi
10086
10770
      ;;
10087
10771
    pw32*)
10088
10772
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10089
10773
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10090
10774
      ;;
10091
10775
    esac
 
10776
    dynamic_linker='Win32 ld.exe'
 
10777
    ;;
 
10778
 
 
10779
  *,cl*)
 
10780
    # Native MSVC
 
10781
    libname_spec='$name'
 
10782
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10783
    library_names_spec='${libname}.dll.lib'
 
10784
 
 
10785
    case $build_os in
 
10786
    mingw*)
 
10787
      sys_lib_search_path_spec=
 
10788
      lt_save_ifs=$IFS
 
10789
      IFS=';'
 
10790
      for lt_path in $LIB
 
10791
      do
 
10792
        IFS=$lt_save_ifs
 
10793
        # Let DOS variable expansion print the short 8.3 style file name.
 
10794
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10795
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10796
      done
 
10797
      IFS=$lt_save_ifs
 
10798
      # Convert to MSYS style.
 
10799
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10800
      ;;
 
10801
    cygwin*)
 
10802
      # Convert to unix form, then to dos form, then back to unix form
 
10803
      # but this time dos style (no spaces!) so that the unix form looks
 
10804
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10805
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10806
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10807
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10808
      ;;
 
10809
    *)
 
10810
      sys_lib_search_path_spec="$LIB"
 
10811
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10812
        # It is most probably a Windows format PATH.
 
10813
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10814
      else
 
10815
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10816
      fi
 
10817
      # FIXME: find the short name or the path components, as spaces are
 
10818
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10819
      ;;
 
10820
    esac
 
10821
 
 
10822
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10823
    postinstall_cmds='base_file=`basename \${file}`~
 
10824
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10825
      dldir=$destdir/`dirname \$dlpath`~
 
10826
      test -d \$dldir || mkdir -p \$dldir~
 
10827
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10828
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10829
      dlpath=$dir/\$dldll~
 
10830
       $RM \$dlpath'
 
10831
    shlibpath_overrides_runpath=yes
 
10832
    dynamic_linker='Win32 link.exe'
10092
10833
    ;;
10093
10834
 
10094
10835
  *)
 
10836
    # Assume MSVC wrapper
10095
10837
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10838
    dynamic_linker='Win32 ld.exe'
10096
10839
    ;;
10097
10840
  esac
10098
 
  dynamic_linker='Win32 ld.exe'
10099
10841
  # FIXME: first we should search . and the directory the executable is in
10100
10842
  shlibpath_var=PATH
10101
10843
  ;;
10179
10921
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10180
10922
  soname_spec='${libname}${release}${shared_ext}$major'
10181
10923
  shlibpath_var=LD_LIBRARY_PATH
 
10924
  shlibpath_overrides_runpath=no
 
10925
  hardcode_into_libs=yes
 
10926
  ;;
 
10927
 
 
10928
haiku*)
 
10929
  version_type=linux
 
10930
  need_lib_prefix=no
 
10931
  need_version=no
 
10932
  dynamic_linker="$host_os runtime_loader"
 
10933
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10934
  soname_spec='${libname}${release}${shared_ext}$major'
 
10935
  shlibpath_var=LIBRARY_PATH
 
10936
  shlibpath_overrides_runpath=yes
 
10937
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10182
10938
  hardcode_into_libs=yes
10183
10939
  ;;
10184
10940
 
10224
10980
    soname_spec='${libname}${release}${shared_ext}$major'
10225
10981
    ;;
10226
10982
  esac
10227
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10983
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10228
10984
  postinstall_cmds='chmod 555 $lib'
 
10985
  # or fails outright, so override atomically:
 
10986
  install_override_mode=555
10229
10987
  ;;
10230
10988
 
10231
10989
interix[3-9]*)
10292
11050
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10293
11051
  shlibpath_var=LD_LIBRARY_PATH
10294
11052
  shlibpath_overrides_runpath=no
 
11053
 
10295
11054
  # Some binutils ld are patched to set DT_RUNPATH
10296
 
  save_LDFLAGS=$LDFLAGS
10297
 
  save_libdir=$libdir
10298
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10299
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10300
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11055
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
11056
  $as_echo_n "(cached) " >&6
 
11057
else
 
11058
  lt_cv_shlibpath_overrides_runpath=no
 
11059
    save_LDFLAGS=$LDFLAGS
 
11060
    save_libdir=$libdir
 
11061
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11062
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11063
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10301
11064
/* end confdefs.h.  */
10302
11065
 
10303
11066
int
10310
11073
_ACEOF
10311
11074
if ac_fn_c_try_link "$LINENO"; then :
10312
11075
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10313
 
  shlibpath_overrides_runpath=yes
 
11076
  lt_cv_shlibpath_overrides_runpath=yes
10314
11077
fi
10315
11078
fi
10316
11079
rm -f core conftest.err conftest.$ac_objext \
10317
11080
    conftest$ac_exeext conftest.$ac_ext
10318
 
  LDFLAGS=$save_LDFLAGS
10319
 
  libdir=$save_libdir
 
11081
    LDFLAGS=$save_LDFLAGS
 
11082
    libdir=$save_libdir
 
11083
 
 
11084
fi
 
11085
 
 
11086
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10320
11087
 
10321
11088
  # This implies no fast_install, which is unacceptable.
10322
11089
  # Some rework will be needed to allow for fast_install
10325
11092
 
10326
11093
  # Append ld.so.conf contents to the search path
10327
11094
  if test -f /etc/ld.so.conf; then
10328
 
    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' ' '`
 
11095
    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' ' '`
10329
11096
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10330
11097
  fi
10331
11098
 
10640
11407
 
10641
11408
 
10642
11409
 
 
11410
 
 
11411
 
 
11412
 
 
11413
 
 
11414
 
10643
11415
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10644
11416
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10645
11417
hardcode_action=
10712
11484
  # if libdl is installed we need to link against it
10713
11485
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10714
11486
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10715
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11487
if ${ac_cv_lib_dl_dlopen+:} false; then :
10716
11488
  $as_echo_n "(cached) " >&6
10717
11489
else
10718
11490
  ac_check_lib_save_LIBS=$LIBS
10746
11518
fi
10747
11519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10748
11520
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10749
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11521
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10750
11522
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10751
11523
else
10752
11524
 
10760
11532
 
10761
11533
  *)
10762
11534
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10763
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11535
if test "x$ac_cv_func_shl_load" = xyes; then :
10764
11536
  lt_cv_dlopen="shl_load"
10765
11537
else
10766
11538
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10767
11539
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10768
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11540
if ${ac_cv_lib_dld_shl_load+:} false; then :
10769
11541
  $as_echo_n "(cached) " >&6
10770
11542
else
10771
11543
  ac_check_lib_save_LIBS=$LIBS
10799
11571
fi
10800
11572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10801
11573
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10802
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11574
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10803
11575
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10804
11576
else
10805
11577
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10806
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11578
if test "x$ac_cv_func_dlopen" = xyes; then :
10807
11579
  lt_cv_dlopen="dlopen"
10808
11580
else
10809
11581
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10810
11582
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10811
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11583
if ${ac_cv_lib_dl_dlopen+:} false; then :
10812
11584
  $as_echo_n "(cached) " >&6
10813
11585
else
10814
11586
  ac_check_lib_save_LIBS=$LIBS
10842
11614
fi
10843
11615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10844
11616
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10845
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11617
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10846
11618
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10847
11619
else
10848
11620
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10849
11621
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10850
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11622
if ${ac_cv_lib_svld_dlopen+:} false; then :
10851
11623
  $as_echo_n "(cached) " >&6
10852
11624
else
10853
11625
  ac_check_lib_save_LIBS=$LIBS
10881
11653
fi
10882
11654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10883
11655
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10884
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11656
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10885
11657
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10886
11658
else
10887
11659
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10888
11660
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10889
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11661
if ${ac_cv_lib_dld_dld_link+:} false; then :
10890
11662
  $as_echo_n "(cached) " >&6
10891
11663
else
10892
11664
  ac_check_lib_save_LIBS=$LIBS
10920
11692
fi
10921
11693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10922
11694
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10923
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11695
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10924
11696
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10925
11697
fi
10926
11698
 
10961
11733
 
10962
11734
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10963
11735
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10964
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11736
if ${lt_cv_dlopen_self+:} false; then :
10965
11737
  $as_echo_n "(cached) " >&6
10966
11738
else
10967
11739
          if test "$cross_compiling" = yes; then :
10970
11742
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10971
11743
  lt_status=$lt_dlunknown
10972
11744
  cat > conftest.$ac_ext <<_LT_EOF
10973
 
#line 10973 "configure"
 
11745
#line $LINENO "configure"
10974
11746
#include "confdefs.h"
10975
11747
 
10976
11748
#if HAVE_DLFCN_H
11011
11783
#  endif
11012
11784
#endif
11013
11785
 
11014
 
void fnord() { int i=42;}
 
11786
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11787
   correspondingly for the symbols needed.  */
 
11788
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11789
int fnord () __attribute__((visibility("default")));
 
11790
#endif
 
11791
 
 
11792
int fnord () { return 42; }
11015
11793
int main ()
11016
11794
{
11017
11795
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11020
11798
  if (self)
11021
11799
    {
11022
11800
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11023
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11801
      else
 
11802
        {
 
11803
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11804
          else puts (dlerror ());
 
11805
        }
11024
11806
      /* dlclose (self); */
11025
11807
    }
11026
11808
  else
11057
11839
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11058
11840
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11059
11841
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11060
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11842
if ${lt_cv_dlopen_self_static+:} false; then :
11061
11843
  $as_echo_n "(cached) " >&6
11062
11844
else
11063
11845
          if test "$cross_compiling" = yes; then :
11066
11848
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11067
11849
  lt_status=$lt_dlunknown
11068
11850
  cat > conftest.$ac_ext <<_LT_EOF
11069
 
#line 11069 "configure"
 
11851
#line $LINENO "configure"
11070
11852
#include "confdefs.h"
11071
11853
 
11072
11854
#if HAVE_DLFCN_H
11107
11889
#  endif
11108
11890
#endif
11109
11891
 
11110
 
void fnord() { int i=42;}
 
11892
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11893
   correspondingly for the symbols needed.  */
 
11894
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11895
int fnord () __attribute__((visibility("default")));
 
11896
#endif
 
11897
 
 
11898
int fnord () { return 42; }
11111
11899
int main ()
11112
11900
{
11113
11901
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11116
11904
  if (self)
11117
11905
    {
11118
11906
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11119
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11907
      else
 
11908
        {
 
11909
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11910
          else puts (dlerror ());
 
11911
        }
11120
11912
      /* dlclose (self); */
11121
11913
    }
11122
11914
  else
11306
12098
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11307
12099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11308
12100
$as_echo_n "checking for $ac_word... " >&6; }
11309
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
12101
if ${ac_cv_path_PKG_CONFIG+:} false; then :
11310
12102
  $as_echo_n "(cached) " >&6
11311
12103
else
11312
12104
  case $PKG_CONFIG in
11349
12141
set dummy pkg-config; ac_word=$2
11350
12142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11351
12143
$as_echo_n "checking for $ac_word... " >&6; }
11352
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
12144
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11353
12145
  $as_echo_n "(cached) " >&6
11354
12146
else
11355
12147
  case $ac_pt_PKG_CONFIG in
11456
12248
set dummy intltool-update; ac_word=$2
11457
12249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11458
12250
$as_echo_n "checking for $ac_word... " >&6; }
11459
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
12251
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
11460
12252
  $as_echo_n "(cached) " >&6
11461
12253
else
11462
12254
  case $INTLTOOL_UPDATE in
11496
12288
set dummy intltool-merge; ac_word=$2
11497
12289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11498
12290
$as_echo_n "checking for $ac_word... " >&6; }
11499
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
12291
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
11500
12292
  $as_echo_n "(cached) " >&6
11501
12293
else
11502
12294
  case $INTLTOOL_MERGE in
11536
12328
set dummy intltool-extract; ac_word=$2
11537
12329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11538
12330
$as_echo_n "checking for $ac_word... " >&6; }
11539
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
12331
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
11540
12332
  $as_echo_n "(cached) " >&6
11541
12333
else
11542
12334
  case $INTLTOOL_EXTRACT in
11697
12489
set dummy xgettext; ac_word=$2
11698
12490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11699
12491
$as_echo_n "checking for $ac_word... " >&6; }
11700
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
12492
if ${ac_cv_path_XGETTEXT+:} false; then :
11701
12493
  $as_echo_n "(cached) " >&6
11702
12494
else
11703
12495
  case $XGETTEXT in
11737
12529
set dummy msgmerge; ac_word=$2
11738
12530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11739
12531
$as_echo_n "checking for $ac_word... " >&6; }
11740
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
12532
if ${ac_cv_path_MSGMERGE+:} false; then :
11741
12533
  $as_echo_n "(cached) " >&6
11742
12534
else
11743
12535
  case $MSGMERGE in
11777
12569
set dummy msgfmt; ac_word=$2
11778
12570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11779
12571
$as_echo_n "checking for $ac_word... " >&6; }
11780
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
12572
if ${ac_cv_path_MSGFMT+:} false; then :
11781
12573
  $as_echo_n "(cached) " >&6
11782
12574
else
11783
12575
  case $MSGFMT in
11817
12609
set dummy gmsgfmt; ac_word=$2
11818
12610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11819
12611
$as_echo_n "checking for $ac_word... " >&6; }
11820
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
12612
if ${ac_cv_path_GMSGFMT+:} false; then :
11821
12613
  $as_echo_n "(cached) " >&6
11822
12614
else
11823
12615
  case $GMSGFMT in
11868
12660
set dummy perl; ac_word=$2
11869
12661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11870
12662
$as_echo_n "checking for $ac_word... " >&6; }
11871
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
12663
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
11872
12664
  $as_echo_n "(cached) " >&6
11873
12665
else
11874
12666
  case $INTLTOOL_PERL in
11952
12744
  case $host in
11953
12745
    *-*-solaris*)
11954
12746
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11955
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12747
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11956
12748
  DATADIRNAME=share
11957
12749
else
11958
12750
  DATADIRNAME=lib
11976
12768
   for ac_header in locale.h
11977
12769
do :
11978
12770
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11979
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
12771
if test "x$ac_cv_header_locale_h" = xyes; then :
11980
12772
  cat >>confdefs.h <<_ACEOF
11981
12773
#define HAVE_LOCALE_H 1
11982
12774
_ACEOF
11988
12780
    if test $ac_cv_header_locale_h = yes; then
11989
12781
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
11990
12782
$as_echo_n "checking for LC_MESSAGES... " >&6; }
11991
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
12783
if ${am_cv_val_LC_MESSAGES+:} false; then :
11992
12784
  $as_echo_n "(cached) " >&6
11993
12785
else
11994
12786
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028
12820
    INTLLIBS=
12029
12821
 
12030
12822
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12031
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
12823
if test "x$ac_cv_header_libintl_h" = xyes; then :
12032
12824
  gt_cv_func_dgettext_libintl="no"
12033
12825
      libintl_extra_libs=""
12034
12826
 
12037
12829
      #
12038
12830
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12039
12831
$as_echo_n "checking for ngettext in libc... " >&6; }
12040
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
12832
if ${gt_cv_func_ngettext_libc+:} false; then :
12041
12833
  $as_echo_n "(cached) " >&6
12042
12834
else
12043
12835
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068
12860
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12069
12861
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12070
12862
$as_echo_n "checking for dgettext in libc... " >&6; }
12071
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
12863
if ${gt_cv_func_dgettext_libc+:} false; then :
12072
12864
  $as_echo_n "(cached) " >&6
12073
12865
else
12074
12866
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101
12893
        for ac_func in bind_textdomain_codeset
12102
12894
do :
12103
12895
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12104
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12896
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12105
12897
  cat >>confdefs.h <<_ACEOF
12106
12898
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12107
12899
_ACEOF
12120
12912
 
12121
12913
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12122
12914
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12123
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
12915
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12124
12916
  $as_echo_n "(cached) " >&6
12125
12917
else
12126
12918
  ac_check_lib_save_LIBS=$LIBS
12154
12946
fi
12155
12947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12156
12948
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12157
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
12949
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12158
12950
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12159
12951
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12160
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
12952
if ${ac_cv_lib_intl_ngettext+:} false; then :
12161
12953
  $as_echo_n "(cached) " >&6
12162
12954
else
12163
12955
  ac_check_lib_save_LIBS=$LIBS
12191
12983
fi
12192
12984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12193
12985
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12194
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
12986
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12195
12987
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12196
12988
$as_echo_n "checking for dgettext in -lintl... " >&6; }
12197
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
12989
if ${ac_cv_lib_intl_dgettext+:} false; then :
12198
12990
  $as_echo_n "(cached) " >&6
12199
12991
else
12200
12992
  ac_check_lib_save_LIBS=$LIBS
12228
13020
fi
12229
13021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12230
13022
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12231
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
13023
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12232
13024
  gt_cv_func_dgettext_libintl=yes
12233
13025
fi
12234
13026
 
12244
13036
$as_echo "" >&6; }
12245
13037
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12246
13038
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12247
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
13039
if ${ac_cv_lib_intl_ngettext+:} false; then :
12248
13040
  $as_echo_n "(cached) " >&6
12249
13041
else
12250
13042
  ac_check_lib_save_LIBS=$LIBS
12278
13070
fi
12279
13071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12280
13072
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12281
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
13073
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12282
13074
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12283
13075
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
12284
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
13076
if ${ac_cv_lib_intl_dcgettext+:} false; then :
12285
13077
  $as_echo_n "(cached) " >&6
12286
13078
else
12287
13079
  ac_check_lib_save_LIBS=$LIBS
12315
13107
fi
12316
13108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12317
13109
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12318
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
13110
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12319
13111
  gt_cv_func_dgettext_libintl=yes
12320
13112
                        libintl_extra_libs=-liconv
12321
13113
else
12340
13132
          for ac_func in bind_textdomain_codeset
12341
13133
do :
12342
13134
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12343
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
13135
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12344
13136
  cat >>confdefs.h <<_ACEOF
12345
13137
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12346
13138
_ACEOF
12378
13170
set dummy msgfmt; ac_word=$2
12379
13171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12380
13172
$as_echo_n "checking for $ac_word... " >&6; }
12381
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
13173
if ${ac_cv_path_MSGFMT+:} false; then :
12382
13174
  $as_echo_n "(cached) " >&6
12383
13175
else
12384
13176
  case "$MSGFMT" in
12415
13207
          for ac_func in dcgettext
12416
13208
do :
12417
13209
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12418
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
13210
if test "x$ac_cv_func_dcgettext" = xyes; then :
12419
13211
  cat >>confdefs.h <<_ACEOF
12420
13212
#define HAVE_DCGETTEXT 1
12421
13213
_ACEOF
12456
13248
set dummy gmsgfmt; ac_word=$2
12457
13249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12458
13250
$as_echo_n "checking for $ac_word... " >&6; }
12459
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
13251
if ${ac_cv_path_GMSGFMT+:} false; then :
12460
13252
  $as_echo_n "(cached) " >&6
12461
13253
else
12462
13254
  case $GMSGFMT in
12497
13289
set dummy xgettext; ac_word=$2
12498
13290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12499
13291
$as_echo_n "checking for $ac_word... " >&6; }
12500
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
13292
if ${ac_cv_path_XGETTEXT+:} false; then :
12501
13293
  $as_echo_n "(cached) " >&6
12502
13294
else
12503
13295
  case "$XGETTEXT" in
12548
13340
  case $host in
12549
13341
            *-*-solaris*)
12550
13342
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12551
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
13343
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12552
13344
  CATOBJEXT=.gmo
12553
13345
               DATADIRNAME=share
12554
13346
else
12769
13561
See the pkg-config man page for more details.
12770
13562
 
12771
13563
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12772
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
13564
See \`config.log' for more details" "$LINENO" 5; }
12773
13565
else
12774
13566
        EVOLUTION_CFLAGS=$pkg_cv_EVOLUTION_CFLAGS
12775
13567
        EVOLUTION_LIBS=$pkg_cv_EVOLUTION_LIBS
12780
13572
 
12781
13573
 
12782
13574
 
 
13575
if test -n "$PKG_CONFIG" && \
 
13576
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evolution-plugin-3.0\""; } >&5
 
13577
  ($PKG_CONFIG --exists --print-errors "evolution-plugin-3.0") 2>&5
 
13578
  ac_status=$?
 
13579
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13580
  test $ac_status = 0; }; then
 
13581
  EVOLUTION_PLUGIN=evolution-plugin-3.0
 
13582
        EVOLUTION_PLUGIN_GTK=gtk+-3.0
 
13583
else
 
13584
  if test -n "$PKG_CONFIG" && \
 
13585
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evolution-plugin\""; } >&5
 
13586
  ($PKG_CONFIG --exists --print-errors "evolution-plugin") 2>&5
 
13587
  ac_status=$?
 
13588
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13589
  test $ac_status = 0; }; then
 
13590
  EVOLUTION_PLUGIN=evolution-plugin
 
13591
                EVOLUTION_PLUGIN_GTK=gtk+-2.0
 
13592
else
 
13593
  as_fn_error $? "You need evolution-plugin to compile evolution-couchdb" "$LINENO" 5
 
13594
fi
 
13595
 
 
13596
fi
 
13597
 
12783
13598
 
12784
13599
pkg_failed=no
12785
13600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPLUGIN" >&5
12789
13604
    pkg_cv_EPLUGIN_CFLAGS="$EPLUGIN_CFLAGS"
12790
13605
 elif test -n "$PKG_CONFIG"; then
12791
13606
    if test -n "$PKG_CONFIG" && \
12792
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 evolution-plugin\""; } >&5
12793
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 evolution-plugin") 2>&5
 
13607
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$EVOLUTION_PLUGIN >= 2.30 \$EVOLUTION_PLUGIN_GTK\""; } >&5
 
13608
  ($PKG_CONFIG --exists --print-errors "$EVOLUTION_PLUGIN >= 2.30 $EVOLUTION_PLUGIN_GTK") 2>&5
12794
13609
  ac_status=$?
12795
13610
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12796
13611
  test $ac_status = 0; }; then
12797
 
  pkg_cv_EPLUGIN_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 evolution-plugin" 2>/dev/null`
 
13612
  pkg_cv_EPLUGIN_CFLAGS=`$PKG_CONFIG --cflags "$EVOLUTION_PLUGIN >= 2.30 $EVOLUTION_PLUGIN_GTK" 2>/dev/null`
12798
13613
else
12799
13614
  pkg_failed=yes
12800
13615
fi
12805
13620
    pkg_cv_EPLUGIN_LIBS="$EPLUGIN_LIBS"
12806
13621
 elif test -n "$PKG_CONFIG"; then
12807
13622
    if test -n "$PKG_CONFIG" && \
12808
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 evolution-plugin\""; } >&5
12809
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 evolution-plugin") 2>&5
 
13623
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$EVOLUTION_PLUGIN >= 2.30 \$EVOLUTION_PLUGIN_GTK\""; } >&5
 
13624
  ($PKG_CONFIG --exists --print-errors "$EVOLUTION_PLUGIN >= 2.30 $EVOLUTION_PLUGIN_GTK") 2>&5
12810
13625
  ac_status=$?
12811
13626
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12812
13627
  test $ac_status = 0; }; then
12813
 
  pkg_cv_EPLUGIN_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 evolution-plugin" 2>/dev/null`
 
13628
  pkg_cv_EPLUGIN_LIBS=`$PKG_CONFIG --libs "$EVOLUTION_PLUGIN >= 2.30 $EVOLUTION_PLUGIN_GTK" 2>/dev/null`
12814
13629
else
12815
13630
  pkg_failed=yes
12816
13631
fi
12830
13645
        _pkg_short_errors_supported=no
12831
13646
fi
12832
13647
        if test $_pkg_short_errors_supported = yes; then
12833
 
                EPLUGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 evolution-plugin" 2>&1`
 
13648
                EPLUGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$EVOLUTION_PLUGIN >= 2.30 $EVOLUTION_PLUGIN_GTK" 2>&1`
12834
13649
        else
12835
 
                EPLUGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 evolution-plugin" 2>&1`
 
13650
                EPLUGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "$EVOLUTION_PLUGIN >= 2.30 $EVOLUTION_PLUGIN_GTK" 2>&1`
12836
13651
        fi
12837
13652
        # Put the nasty error message in config.log where it belongs
12838
13653
        echo "$EPLUGIN_PKG_ERRORS" >&5
12839
13654
 
12840
 
        as_fn_error $? "Package requirements (gtk+-2.0 evolution-plugin) were not met:
 
13655
        as_fn_error $? "Package requirements ($EVOLUTION_PLUGIN >= 2.30 $EVOLUTION_PLUGIN_GTK) were not met:
12841
13656
 
12842
13657
$EPLUGIN_PKG_ERRORS
12843
13658
 
12861
13676
See the pkg-config man page for more details.
12862
13677
 
12863
13678
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12864
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
13679
See \`config.log' for more details" "$LINENO" 5; }
12865
13680
else
12866
13681
        EPLUGIN_CFLAGS=$pkg_cv_EPLUGIN_CFLAGS
12867
13682
        EPLUGIN_LIBS=$pkg_cv_EPLUGIN_LIBS
12872
13687
 
12873
13688
 
12874
13689
 
 
13690
EVOLUTION_PLUGINS_DIR=`$PKG_CONFIG --variable=plugindir $EVOLUTION_PLUGIN`
 
13691
 
 
13692
 
12875
13693
EDS_API_VERSION=1.2
12876
 
if test -n "$PKG_CONFIG" && \
 
13694
if test "$EVOLUTION_PLUGIN" = "evolution-plugin-3.0"; then
 
13695
        if test -n "$PKG_CONFIG" && \
 
13696
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedata-book-1.2\""; } >&5
 
13697
  ($PKG_CONFIG --exists --print-errors "libedata-book-1.2") 2>&5
 
13698
  ac_status=$?
 
13699
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13700
  test $ac_status = 0; }; then
 
13701
  EDS_EXTENSION_DIR=`$PKG_CONFIG --variable=backenddir libedata-book-1.2`
 
13702
else
 
13703
  as_fn_error $? "You need evolution-data-server to compile evolution-couchdb" "$LINENO" 5
 
13704
fi
 
13705
else
 
13706
        if test -n "$PKG_CONFIG" && \
12877
13707
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evolution-data-server-1.2\""; } >&5
12878
13708
  ($PKG_CONFIG --exists --print-errors "evolution-data-server-1.2") 2>&5
12879
13709
  ac_status=$?
12883
13713
else
12884
13714
  as_fn_error $? "You need evolution-data-server to compile evolution-couchdb" "$LINENO" 5
12885
13715
fi
12886
 
 
12887
 
 
12888
 
 
12889
 
if test -n "$PKG_CONFIG" && \
12890
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evolution-plugin\""; } >&5
12891
 
  ($PKG_CONFIG --exists --print-errors "evolution-plugin") 2>&5
12892
 
  ac_status=$?
12893
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12894
 
  test $ac_status = 0; }; then
12895
 
  EVOLUTION_PLUGINS_DIR=`$PKG_CONFIG --variable=plugindir evolution-plugin`
12896
 
else
12897
 
  as_fn_error $? "You need evolution-plugin to compile evolution-couchdb" "$LINENO" 5
12898
13716
fi
12899
13717
 
12900
13718
 
 
13719
 
12901
13720
ac_config_files="$ac_config_files Makefile addressbook/Makefile addressbook/GNOME_Evolution_CouchDB.server plugins/Makefile plugins/org-gnome-evolution-couchdb.eplug.xml po/Makefile.in"
12902
13721
 
12903
13722
cat >confcache <<\_ACEOF
12964
13783
     :end' >>confcache
12965
13784
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12966
13785
  if test -w "$cache_file"; then
12967
 
    test "x$cache_file" != "x/dev/null" &&
 
13786
    if test "x$cache_file" != "x/dev/null"; then
12968
13787
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12969
13788
$as_echo "$as_me: updating cache $cache_file" >&6;}
12970
 
    cat confcache >$cache_file
 
13789
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
13790
        cat confcache >"$cache_file"
 
13791
      else
 
13792
        case $cache_file in #(
 
13793
        */* | ?:*)
 
13794
          mv -f confcache "$cache_file"$$ &&
 
13795
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
13796
        *)
 
13797
          mv -f confcache "$cache_file" ;;
 
13798
        esac
 
13799
      fi
 
13800
    fi
12971
13801
  else
12972
13802
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12973
13803
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13027
13857
 
13028
13858
 
13029
13859
 
13030
 
: ${CONFIG_STATUS=./config.status}
 
13860
: "${CONFIG_STATUS=./config.status}"
13031
13861
ac_write_fail=0
13032
13862
ac_clean_files_save=$ac_clean_files
13033
13863
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13128
13958
IFS=" ""        $as_nl"
13129
13959
 
13130
13960
# Find who we are.  Look in the path if we contain no directory separator.
 
13961
as_myself=
13131
13962
case $0 in #((
13132
13963
  *[\\/]* ) as_myself=$0 ;;
13133
13964
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13434
14265
# report actual input values of CONFIG_FILES etc. instead of their
13435
14266
# values after options handling.
13436
14267
ac_log="
13437
 
This file was extended by evolution-couchdb $as_me 0.5.3, which was
13438
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
14268
This file was extended by evolution-couchdb $as_me 0.5.90, which was
 
14269
generated by GNU Autoconf 2.68.  Invocation command line was
13439
14270
 
13440
14271
  CONFIG_FILES    = $CONFIG_FILES
13441
14272
  CONFIG_HEADERS  = $CONFIG_HEADERS
13500
14331
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13501
14332
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13502
14333
ac_cs_version="\\
13503
 
evolution-couchdb config.status 0.5.3
13504
 
configured by $0, generated by GNU Autoconf 2.67,
 
14334
evolution-couchdb config.status 0.5.90
 
14335
configured by $0, generated by GNU Autoconf 2.68,
13505
14336
  with options \\"\$ac_cs_config\\"
13506
14337
 
13507
14338
Copyright (C) 2010 Free Software Foundation, Inc.
13629
14460
sed_quote_subst='$sed_quote_subst'
13630
14461
double_quote_subst='$double_quote_subst'
13631
14462
delay_variable_subst='$delay_variable_subst'
13632
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13633
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13634
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13635
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13636
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13637
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13638
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13639
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13640
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13641
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13642
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13643
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13644
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13645
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13646
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13647
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13648
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13649
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13650
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13651
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13652
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13653
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13654
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13655
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13656
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13657
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13658
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13659
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13660
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13661
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13662
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13663
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13664
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13665
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13666
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13667
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13668
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13669
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13670
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13671
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13672
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13673
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13674
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13675
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13676
 
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"`'
13677
 
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"`'
13678
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13679
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13680
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13681
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13682
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13683
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13684
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13685
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13686
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13687
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13688
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13689
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13690
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13691
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13692
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13693
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13694
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13695
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13696
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13697
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13698
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13699
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13700
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13701
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13702
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13703
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13704
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13705
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13706
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13707
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13708
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13709
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13710
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13711
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13712
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13713
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13714
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13715
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13716
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13717
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13718
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13719
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13720
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13721
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13722
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13723
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13724
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13725
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13726
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13727
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13728
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13729
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13730
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13731
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13732
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13733
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13734
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13735
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13736
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13737
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13738
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13739
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13740
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13741
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13742
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13743
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13744
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13745
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13746
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13747
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13748
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13749
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14463
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
14464
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
14465
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
14466
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
14467
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
14468
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
14469
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
14470
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14471
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
14472
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
14473
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
14474
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
14475
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
14476
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
14477
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
14478
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
14479
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
14480
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
14481
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
14482
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
14483
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
14484
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
14485
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
14486
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
14487
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
14488
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
14489
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
14490
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
14491
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14492
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14493
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
14494
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
14495
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
14496
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
14497
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
14498
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
14499
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
14500
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
14501
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
14502
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
14503
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
14504
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
14505
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
14506
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
14507
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14508
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14509
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14510
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
14511
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
14512
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
14513
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
14514
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
14515
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
14516
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
14517
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
14518
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"`'
 
14519
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14520
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
14521
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
14522
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
14523
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
14524
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
14525
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
14526
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
14527
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
14528
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
14529
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
14530
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
14531
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
14532
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
14533
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
14534
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
14535
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
14536
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
14537
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14538
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
14539
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
14540
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14541
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14542
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
14543
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
14544
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14545
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14546
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14547
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
14548
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14549
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
14550
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14551
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14552
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14553
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
14554
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
14555
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
14556
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
14557
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
14558
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14559
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
14560
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
14561
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
14562
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
14563
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
14564
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
14565
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
14566
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
14567
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
14568
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14569
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
14570
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14571
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
14572
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
14573
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
14574
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14575
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
14576
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
14577
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
14578
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
14579
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
14580
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14581
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14582
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
14583
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
14584
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
14585
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
14586
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
14587
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
14588
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
14589
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
14590
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
14591
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
14592
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13750
14593
 
13751
14594
LTCC='$LTCC'
13752
14595
LTCFLAGS='$LTCFLAGS'
13753
14596
compiler='$compiler_DEFAULT'
13754
14597
 
 
14598
# A function that is used when there is no print builtin or printf.
 
14599
func_fallback_echo ()
 
14600
{
 
14601
  eval 'cat <<_LTECHO_EOF
 
14602
\$1
 
14603
_LTECHO_EOF'
 
14604
}
 
14605
 
13755
14606
# Quote evaled strings.
13756
 
for var in SED \
 
14607
for var in SHELL \
 
14608
ECHO \
 
14609
SED \
13757
14610
GREP \
13758
14611
EGREP \
13759
14612
FGREP \
13766
14619
OBJDUMP \
13767
14620
deplibs_check_method \
13768
14621
file_magic_cmd \
 
14622
file_magic_glob \
 
14623
want_nocaseglob \
 
14624
DLLTOOL \
 
14625
sharedlib_from_linklib_cmd \
13769
14626
AR \
13770
14627
AR_FLAGS \
 
14628
archiver_list_spec \
13771
14629
STRIP \
13772
14630
RANLIB \
13773
14631
CC \
13777
14635
lt_cv_sys_global_symbol_to_cdecl \
13778
14636
lt_cv_sys_global_symbol_to_c_name_address \
13779
14637
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13780
 
SHELL \
13781
 
ECHO \
 
14638
nm_file_list_spec \
13782
14639
lt_prog_compiler_no_builtin_flag \
 
14640
lt_prog_compiler_pic \
13783
14641
lt_prog_compiler_wl \
13784
 
lt_prog_compiler_pic \
13785
14642
lt_prog_compiler_static \
13786
14643
lt_cv_prog_compiler_c_o \
13787
14644
need_locks \
 
14645
MANIFEST_TOOL \
13788
14646
DSYMUTIL \
13789
14647
NMEDIT \
13790
14648
LIPO \
13800
14658
hardcode_libdir_flag_spec \
13801
14659
hardcode_libdir_flag_spec_ld \
13802
14660
hardcode_libdir_separator \
13803
 
fix_srcfile_path \
13804
14661
exclude_expsyms \
13805
14662
include_expsyms \
13806
14663
file_list_spec \
13808
14665
libname_spec \
13809
14666
library_names_spec \
13810
14667
soname_spec \
 
14668
install_override_mode \
13811
14669
finish_eval \
13812
14670
old_striplib \
13813
14671
striplib; do
13814
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14672
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13815
14673
    *[\\\\\\\`\\"\\\$]*)
13816
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
14674
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13817
14675
      ;;
13818
14676
    *)
13819
14677
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13835
14693
module_expsym_cmds \
13836
14694
export_symbols_cmds \
13837
14695
prelink_cmds \
 
14696
postlink_cmds \
13838
14697
postinstall_cmds \
13839
14698
postuninstall_cmds \
13840
14699
finish_cmds \
13841
14700
sys_lib_search_path_spec \
13842
14701
sys_lib_dlsearch_path_spec; do
13843
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14702
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13844
14703
    *[\\\\\\\`\\"\\\$]*)
13845
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
14704
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13846
14705
      ;;
13847
14706
    *)
13848
14707
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13850
14709
    esac
13851
14710
done
13852
14711
 
13853
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
13854
 
case \$lt_ECHO in
13855
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13856
 
  ;;
13857
 
esac
13858
 
 
13859
14712
ac_aux_dir='$ac_aux_dir'
13860
14713
xsi_shell='$xsi_shell'
13861
14714
lt_shell_append='$lt_shell_append'
13897
14750
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13898
14751
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13899
14752
 
13900
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
14753
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13901
14754
  esac
13902
14755
done
13903
14756
 
13920
14773
# after its creation but before its name has been assigned to `$tmp'.
13921
14774
$debug ||
13922
14775
{
13923
 
  tmp=
 
14776
  tmp= ac_tmp=
13924
14777
  trap 'exit_status=$?
13925
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
14778
  : "${ac_tmp:=$tmp}"
 
14779
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13926
14780
' 0
13927
14781
  trap 'as_fn_exit 1' 1 2 13 15
13928
14782
}
13930
14784
 
13931
14785
{
13932
14786
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13933
 
  test -n "$tmp" && test -d "$tmp"
 
14787
  test -d "$tmp"
13934
14788
}  ||
13935
14789
{
13936
14790
  tmp=./conf$$-$RANDOM
13937
14791
  (umask 077 && mkdir "$tmp")
13938
14792
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
14793
ac_tmp=$tmp
13939
14794
 
13940
14795
# Set up the scripts for CONFIG_FILES section.
13941
14796
# No need to generate them if there are no CONFIG_FILES.
13957
14812
  ac_cs_awk_cr=$ac_cr
13958
14813
fi
13959
14814
 
13960
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
14815
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13961
14816
_ACEOF
13962
14817
 
13963
14818
 
13985
14840
rm -f conf$$subs.sh
13986
14841
 
13987
14842
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13988
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
14843
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13989
14844
_ACEOF
13990
14845
sed -n '
13991
14846
h
14033
14888
rm -f conf$$subs.awk
14034
14889
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14035
14890
_ACAWK
14036
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
14891
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14037
14892
  for (key in S) S_is_set[key] = 1
14038
14893
  FS = ""
14039
14894
 
14065
14920
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14066
14921
else
14067
14922
  cat
14068
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
14923
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14069
14924
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14070
14925
_ACEOF
14071
14926
 
14099
14954
# No need to generate them if there are no CONFIG_HEADERS.
14100
14955
# This happens for instance with `./config.status Makefile'.
14101
14956
if test -n "$CONFIG_HEADERS"; then
14102
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
14957
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14103
14958
BEGIN {
14104
14959
_ACEOF
14105
14960
 
14111
14966
# handling of long lines.
14112
14967
ac_delim='%!_!# '
14113
14968
for ac_last_try in false false :; do
14114
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14115
 
  if test -z "$ac_t"; then
 
14969
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
14970
  if test -z "$ac_tt"; then
14116
14971
    break
14117
14972
  elif $ac_last_try; then
14118
14973
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14213
15068
  esac
14214
15069
  case $ac_mode$ac_tag in
14215
15070
  :[FHL]*:*);;
14216
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
15071
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14217
15072
  :[FH]-) ac_tag=-:-;;
14218
15073
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14219
15074
  esac
14232
15087
    for ac_f
14233
15088
    do
14234
15089
      case $ac_f in
14235
 
      -) ac_f="$tmp/stdin";;
 
15090
      -) ac_f="$ac_tmp/stdin";;
14236
15091
      *) # Look for the file first in the build tree, then in the source tree
14237
15092
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14238
15093
         # because $ac_f cannot contain `:'.
14241
15096
           [\\/$]*) false;;
14242
15097
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14243
15098
           esac ||
14244
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
15099
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14245
15100
      esac
14246
15101
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14247
15102
      as_fn_append ac_file_inputs " '$ac_f'"
14267
15122
    esac
14268
15123
 
14269
15124
    case $ac_tag in
14270
 
    *:-:* | *:-) cat >"$tmp/stdin" \
14271
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
15125
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
15126
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14272
15127
    esac
14273
15128
    ;;
14274
15129
  esac
14404
15259
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14405
15260
$ac_datarootdir_hack
14406
15261
"
14407
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14408
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15262
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
15263
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14409
15264
 
14410
15265
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14411
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14412
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
15266
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
15267
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
15268
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14413
15269
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14414
15270
which seems to be undefined.  Please make sure it is defined" >&5
14415
15271
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14416
15272
which seems to be undefined.  Please make sure it is defined" >&2;}
14417
15273
 
14418
 
  rm -f "$tmp/stdin"
 
15274
  rm -f "$ac_tmp/stdin"
14419
15275
  case $ac_file in
14420
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14421
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
15276
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
15277
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14422
15278
  esac \
14423
15279
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14424
15280
 ;;
14429
15285
  if test x"$ac_file" != x-; then
14430
15286
    {
14431
15287
      $as_echo "/* $configure_input  */" \
14432
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14433
 
    } >"$tmp/config.h" \
 
15288
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
15289
    } >"$ac_tmp/config.h" \
14434
15290
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14435
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
15291
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14436
15292
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14437
15293
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14438
15294
    else
14439
15295
      rm -f "$ac_file"
14440
 
      mv "$tmp/config.h" "$ac_file" \
 
15296
      mv "$ac_tmp/config.h" "$ac_file" \
14441
15297
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14442
15298
    fi
14443
15299
  else
14444
15300
    $as_echo "/* $configure_input  */" \
14445
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
15301
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14446
15302
      || as_fn_error $? "could not create -" "$LINENO" 5
14447
15303
  fi
14448
15304
# Compute "$ac_file"'s index in $config_headers.
14604
15460
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14605
15461
#
14606
15462
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14607
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15463
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
15464
#                 Inc.
14608
15465
#   Written by Gordon Matzigkeit, 1996
14609
15466
#
14610
15467
#   This file is part of GNU Libtool.
14652
15509
# Whether or not to optimize for fast installation.
14653
15510
fast_install=$enable_fast_install
14654
15511
 
 
15512
# Shell to use when invoking shell scripts.
 
15513
SHELL=$lt_SHELL
 
15514
 
 
15515
# An echo program that protects backslashes.
 
15516
ECHO=$lt_ECHO
 
15517
 
14655
15518
# The host system.
14656
15519
host_alias=$host_alias
14657
15520
host=$host
14701
15564
# turn newlines into spaces.
14702
15565
NL2SP=$lt_lt_NL2SP
14703
15566
 
14704
 
# How to create reloadable object files.
14705
 
reload_flag=$lt_reload_flag
14706
 
reload_cmds=$lt_reload_cmds
 
15567
# convert \$build file names to \$host format.
 
15568
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
15569
 
 
15570
# convert \$build files to toolchain format.
 
15571
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14707
15572
 
14708
15573
# An object symbol dumper.
14709
15574
OBJDUMP=$lt_OBJDUMP
14711
15576
# Method to check whether dependent libraries are shared objects.
14712
15577
deplibs_check_method=$lt_deplibs_check_method
14713
15578
 
14714
 
# Command to use when deplibs_check_method == "file_magic".
 
15579
# Command to use when deplibs_check_method = "file_magic".
14715
15580
file_magic_cmd=$lt_file_magic_cmd
14716
15581
 
 
15582
# How to find potential files when deplibs_check_method = "file_magic".
 
15583
file_magic_glob=$lt_file_magic_glob
 
15584
 
 
15585
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
15586
want_nocaseglob=$lt_want_nocaseglob
 
15587
 
 
15588
# DLL creation program.
 
15589
DLLTOOL=$lt_DLLTOOL
 
15590
 
 
15591
# Command to associate shared and link libraries.
 
15592
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
15593
 
14717
15594
# The archiver.
14718
15595
AR=$lt_AR
 
15596
 
 
15597
# Flags to create an archive.
14719
15598
AR_FLAGS=$lt_AR_FLAGS
14720
15599
 
 
15600
# How to feed a file listing to the archiver.
 
15601
archiver_list_spec=$lt_archiver_list_spec
 
15602
 
14721
15603
# A symbol stripping program.
14722
15604
STRIP=$lt_STRIP
14723
15605
 
14726
15608
old_postinstall_cmds=$lt_old_postinstall_cmds
14727
15609
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14728
15610
 
 
15611
# Whether to use a lock for old archive extraction.
 
15612
lock_old_archive_extraction=$lock_old_archive_extraction
 
15613
 
14729
15614
# A C compiler.
14730
15615
LTCC=$lt_CC
14731
15616
 
14744
15629
# Transform the output of nm in a C name address pair when lib prefix is needed.
14745
15630
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14746
15631
 
 
15632
# Specify filename containing input files for \$NM.
 
15633
nm_file_list_spec=$lt_nm_file_list_spec
 
15634
 
 
15635
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
15636
lt_sysroot=$lt_sysroot
 
15637
 
14747
15638
# The name of the directory that contains temporary libtool files.
14748
15639
objdir=$objdir
14749
15640
 
14750
 
# Shell to use when invoking shell scripts.
14751
 
SHELL=$lt_SHELL
14752
 
 
14753
 
# An echo program that does not interpret backslashes.
14754
 
ECHO=$lt_ECHO
14755
 
 
14756
15641
# Used to examine libraries when file_magic_cmd begins with "file".
14757
15642
MAGIC_CMD=$MAGIC_CMD
14758
15643
 
14759
15644
# Must we lock files when doing compilation?
14760
15645
need_locks=$lt_need_locks
14761
15646
 
 
15647
# Manifest tool.
 
15648
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
15649
 
14762
15650
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14763
15651
DSYMUTIL=$lt_DSYMUTIL
14764
15652
 
14815
15703
# The coded name of the library, if different from the real name.
14816
15704
soname_spec=$lt_soname_spec
14817
15705
 
 
15706
# Permission mode override for installation of shared libraries.
 
15707
install_override_mode=$lt_install_override_mode
 
15708
 
14818
15709
# Command to use after installation of a shared archive.
14819
15710
postinstall_cmds=$lt_postinstall_cmds
14820
15711
 
14854
15745
# The linker used to build libraries.
14855
15746
LD=$lt_LD
14856
15747
 
 
15748
# How to create reloadable object files.
 
15749
reload_flag=$lt_reload_flag
 
15750
reload_cmds=$lt_reload_cmds
 
15751
 
14857
15752
# Commands used to build an old-style archive.
14858
15753
old_archive_cmds=$lt_old_archive_cmds
14859
15754
 
14866
15761
# Compiler flag to turn off builtin functions.
14867
15762
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14868
15763
 
 
15764
# Additional compiler flags for building library objects.
 
15765
pic_flag=$lt_lt_prog_compiler_pic
 
15766
 
14869
15767
# How to pass a linker flag through the compiler.
14870
15768
wl=$lt_lt_prog_compiler_wl
14871
15769
 
14872
 
# Additional compiler flags for building library objects.
14873
 
pic_flag=$lt_lt_prog_compiler_pic
14874
 
 
14875
15770
# Compiler flag to prevent dynamic linking.
14876
15771
link_static_flag=$lt_lt_prog_compiler_static
14877
15772
 
14958
15853
# Whether libtool must link a program against all its dependency libraries.
14959
15854
link_all_deplibs=$link_all_deplibs
14960
15855
 
14961
 
# Fix the shell variable \$srcfile for the compiler.
14962
 
fix_srcfile_path=$lt_fix_srcfile_path
14963
 
 
14964
15856
# Set to "yes" if exported symbols are required.
14965
15857
always_export_symbols=$always_export_symbols
14966
15858
 
14976
15868
# Commands necessary for linking programs (against libraries) with templates.
14977
15869
prelink_cmds=$lt_prelink_cmds
14978
15870
 
 
15871
# Commands necessary for finishing linking programs.
 
15872
postlink_cmds=$lt_postlink_cmds
 
15873
 
14979
15874
# Specify filename containing input files.
14980
15875
file_list_spec=$lt_file_list_spec
14981
15876
 
15008
15903
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15009
15904
  # text mode, it properly converts lines to CR/LF.  This bash problem
15010
15905
  # is reportedly fixed, but why not run on old versions too?
15011
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15012
 
    || (rm -f "$cfgfile"; exit 1)
15013
 
 
15014
 
  case $xsi_shell in
15015
 
  yes)
15016
 
    cat << \_LT_EOF >> "$cfgfile"
15017
 
 
15018
 
# func_dirname file append nondir_replacement
15019
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15020
 
# otherwise set result to NONDIR_REPLACEMENT.
15021
 
func_dirname ()
15022
 
{
15023
 
  case ${1} in
15024
 
    */*) func_dirname_result="${1%/*}${2}" ;;
15025
 
    *  ) func_dirname_result="${3}" ;;
15026
 
  esac
15027
 
}
15028
 
 
15029
 
# func_basename file
15030
 
func_basename ()
15031
 
{
15032
 
  func_basename_result="${1##*/}"
15033
 
}
15034
 
 
15035
 
# func_dirname_and_basename file append nondir_replacement
15036
 
# perform func_basename and func_dirname in a single function
15037
 
# call:
15038
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
15039
 
#             add APPEND to the result, otherwise set result
15040
 
#             to NONDIR_REPLACEMENT.
15041
 
#             value returned in "$func_dirname_result"
15042
 
#   basename: Compute filename of FILE.
15043
 
#             value retuned in "$func_basename_result"
15044
 
# Implementation must be kept synchronized with func_dirname
15045
 
# and func_basename. For efficiency, we do not delegate to
15046
 
# those functions but instead duplicate the functionality here.
15047
 
func_dirname_and_basename ()
15048
 
{
15049
 
  case ${1} in
15050
 
    */*) func_dirname_result="${1%/*}${2}" ;;
15051
 
    *  ) func_dirname_result="${3}" ;;
15052
 
  esac
15053
 
  func_basename_result="${1##*/}"
15054
 
}
15055
 
 
15056
 
# func_stripname prefix suffix name
15057
 
# strip PREFIX and SUFFIX off of NAME.
15058
 
# PREFIX and SUFFIX must not contain globbing or regex special
15059
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15060
 
# dot (in which case that matches only a dot).
15061
 
func_stripname ()
15062
 
{
15063
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15064
 
  # positional parameters, so assign one to ordinary parameter first.
15065
 
  func_stripname_result=${3}
15066
 
  func_stripname_result=${func_stripname_result#"${1}"}
15067
 
  func_stripname_result=${func_stripname_result%"${2}"}
15068
 
}
15069
 
 
15070
 
# func_opt_split
15071
 
func_opt_split ()
15072
 
{
15073
 
  func_opt_split_opt=${1%%=*}
15074
 
  func_opt_split_arg=${1#*=}
15075
 
}
15076
 
 
15077
 
# func_lo2o object
15078
 
func_lo2o ()
15079
 
{
15080
 
  case ${1} in
15081
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15082
 
    *)    func_lo2o_result=${1} ;;
15083
 
  esac
15084
 
}
15085
 
 
15086
 
# func_xform libobj-or-source
15087
 
func_xform ()
15088
 
{
15089
 
  func_xform_result=${1%.*}.lo
15090
 
}
15091
 
 
15092
 
# func_arith arithmetic-term...
15093
 
func_arith ()
15094
 
{
15095
 
  func_arith_result=$(( $* ))
15096
 
}
15097
 
 
15098
 
# func_len string
15099
 
# STRING may not start with a hyphen.
15100
 
func_len ()
15101
 
{
15102
 
  func_len_result=${#1}
15103
 
}
15104
 
 
15105
 
_LT_EOF
15106
 
    ;;
15107
 
  *) # Bourne compatible functions.
15108
 
    cat << \_LT_EOF >> "$cfgfile"
15109
 
 
15110
 
# func_dirname file append nondir_replacement
15111
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15112
 
# otherwise set result to NONDIR_REPLACEMENT.
15113
 
func_dirname ()
15114
 
{
15115
 
  # Extract subdirectory from the argument.
15116
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15117
 
  if test "X$func_dirname_result" = "X${1}"; then
15118
 
    func_dirname_result="${3}"
15119
 
  else
15120
 
    func_dirname_result="$func_dirname_result${2}"
15121
 
  fi
15122
 
}
15123
 
 
15124
 
# func_basename file
15125
 
func_basename ()
15126
 
{
15127
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15128
 
}
15129
 
 
15130
 
 
15131
 
# func_stripname prefix suffix name
15132
 
# strip PREFIX and SUFFIX off of NAME.
15133
 
# PREFIX and SUFFIX must not contain globbing or regex special
15134
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15135
 
# dot (in which case that matches only a dot).
15136
 
# func_strip_suffix prefix name
15137
 
func_stripname ()
15138
 
{
15139
 
  case ${2} in
15140
 
    .*) func_stripname_result=`$ECHO "X${3}" \
15141
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15142
 
    *)  func_stripname_result=`$ECHO "X${3}" \
15143
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15144
 
  esac
15145
 
}
15146
 
 
15147
 
# sed scripts:
15148
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15149
 
my_sed_long_arg='1s/^-[^=]*=//'
15150
 
 
15151
 
# func_opt_split
15152
 
func_opt_split ()
15153
 
{
15154
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15155
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15156
 
}
15157
 
 
15158
 
# func_lo2o object
15159
 
func_lo2o ()
15160
 
{
15161
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15162
 
}
15163
 
 
15164
 
# func_xform libobj-or-source
15165
 
func_xform ()
15166
 
{
15167
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15168
 
}
15169
 
 
15170
 
# func_arith arithmetic-term...
15171
 
func_arith ()
15172
 
{
15173
 
  func_arith_result=`expr "$@"`
15174
 
}
15175
 
 
15176
 
# func_len string
15177
 
# STRING may not start with a hyphen.
15178
 
func_len ()
15179
 
{
15180
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15181
 
}
15182
 
 
15183
 
_LT_EOF
15184
 
esac
15185
 
 
15186
 
case $lt_shell_append in
15187
 
  yes)
15188
 
    cat << \_LT_EOF >> "$cfgfile"
15189
 
 
15190
 
# func_append var value
15191
 
# Append VALUE to the end of shell variable VAR.
15192
 
func_append ()
15193
 
{
15194
 
  eval "$1+=\$2"
15195
 
}
15196
 
_LT_EOF
15197
 
    ;;
15198
 
  *)
15199
 
    cat << \_LT_EOF >> "$cfgfile"
15200
 
 
15201
 
# func_append var value
15202
 
# Append VALUE to the end of shell variable VAR.
15203
 
func_append ()
15204
 
{
15205
 
  eval "$1=\$$1\$2"
15206
 
}
15207
 
 
15208
 
_LT_EOF
15209
 
    ;;
15210
 
  esac
15211
 
 
15212
 
 
15213
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15214
 
    || (rm -f "$cfgfile"; exit 1)
15215
 
 
15216
 
  mv -f "$cfgfile" "$ofile" ||
 
15906
  sed '$q' "$ltmain" >> "$cfgfile" \
 
15907
     || (rm -f "$cfgfile"; exit 1)
 
15908
 
 
15909
  if test x"$xsi_shell" = xyes; then
 
15910
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
15911
func_dirname ()\
 
15912
{\
 
15913
\    case ${1} in\
 
15914
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15915
\      *  ) func_dirname_result="${3}" ;;\
 
15916
\    esac\
 
15917
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
15918
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15919
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15920
test 0 -eq $? || _lt_function_replace_fail=:
 
15921
 
 
15922
 
 
15923
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
15924
func_basename ()\
 
15925
{\
 
15926
\    func_basename_result="${1##*/}"\
 
15927
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15928
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15929
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15930
test 0 -eq $? || _lt_function_replace_fail=:
 
15931
 
 
15932
 
 
15933
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
15934
func_dirname_and_basename ()\
 
15935
{\
 
15936
\    case ${1} in\
 
15937
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15938
\      *  ) func_dirname_result="${3}" ;;\
 
15939
\    esac\
 
15940
\    func_basename_result="${1##*/}"\
 
15941
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15942
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15943
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15944
test 0 -eq $? || _lt_function_replace_fail=:
 
15945
 
 
15946
 
 
15947
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
15948
func_stripname ()\
 
15949
{\
 
15950
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
15951
\    # positional parameters, so assign one to ordinary parameter first.\
 
15952
\    func_stripname_result=${3}\
 
15953
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
15954
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
15955
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
15956
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15957
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15958
test 0 -eq $? || _lt_function_replace_fail=:
 
15959
 
 
15960
 
 
15961
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
15962
func_split_long_opt ()\
 
15963
{\
 
15964
\    func_split_long_opt_name=${1%%=*}\
 
15965
\    func_split_long_opt_arg=${1#*=}\
 
15966
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15967
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15968
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15969
test 0 -eq $? || _lt_function_replace_fail=:
 
15970
 
 
15971
 
 
15972
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
15973
func_split_short_opt ()\
 
15974
{\
 
15975
\    func_split_short_opt_arg=${1#??}\
 
15976
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
15977
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15978
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15979
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15980
test 0 -eq $? || _lt_function_replace_fail=:
 
15981
 
 
15982
 
 
15983
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
15984
func_lo2o ()\
 
15985
{\
 
15986
\    case ${1} in\
 
15987
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
15988
\      *)    func_lo2o_result=${1} ;;\
 
15989
\    esac\
 
15990
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
15991
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15992
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15993
test 0 -eq $? || _lt_function_replace_fail=:
 
15994
 
 
15995
 
 
15996
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
15997
func_xform ()\
 
15998
{\
 
15999
    func_xform_result=${1%.*}.lo\
 
16000
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
16001
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16002
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16003
test 0 -eq $? || _lt_function_replace_fail=:
 
16004
 
 
16005
 
 
16006
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
16007
func_arith ()\
 
16008
{\
 
16009
    func_arith_result=$(( $* ))\
 
16010
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
16011
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16012
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16013
test 0 -eq $? || _lt_function_replace_fail=:
 
16014
 
 
16015
 
 
16016
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
16017
func_len ()\
 
16018
{\
 
16019
    func_len_result=${#1}\
 
16020
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
16021
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16022
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16023
test 0 -eq $? || _lt_function_replace_fail=:
 
16024
 
 
16025
fi
 
16026
 
 
16027
if test x"$lt_shell_append" = xyes; then
 
16028
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
16029
func_append ()\
 
16030
{\
 
16031
    eval "${1}+=\\${2}"\
 
16032
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
16033
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16034
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16035
test 0 -eq $? || _lt_function_replace_fail=:
 
16036
 
 
16037
 
 
16038
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
16039
func_append_quoted ()\
 
16040
{\
 
16041
\    func_quote_for_eval "${2}"\
 
16042
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
16043
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
16044
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16045
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16046
test 0 -eq $? || _lt_function_replace_fail=:
 
16047
 
 
16048
 
 
16049
  # Save a `func_append' function call where possible by direct use of '+='
 
16050
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
16051
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16052
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16053
  test 0 -eq $? || _lt_function_replace_fail=:
 
16054
else
 
16055
  # Save a `func_append' function call even when '+=' is not available
 
16056
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
16057
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16058
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16059
  test 0 -eq $? || _lt_function_replace_fail=:
 
16060
fi
 
16061
 
 
16062
if test x"$_lt_function_replace_fail" = x":"; then
 
16063
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
16064
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
16065
fi
 
16066
 
 
16067
 
 
16068
   mv -f "$cfgfile" "$ofile" ||
15217
16069
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15218
16070
  chmod +x "$ofile"
15219
16071