~ubuntu-branches/ubuntu/precise/file-roller/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-08-16 16:23:29 UTC
  • mfrom: (1.2.87 upstream)
  • Revision ID: james.westby@ubuntu.com-20110816162329-79im07axtk1jcmh6
Tags: 3.1.2-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.67 for file-roller 3.1.1.
 
3
# Generated by GNU Autoconf 2.68 for file-roller 3.1.2.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=file-roller>.
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
 
177
 
 
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    PATH=/empty FPATH=/empty; export PATH FPATH
 
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
176
185
test \$(( 1 + 1 )) = 2 || exit 1"
177
186
  if (eval "$as_required") 2>/dev/null; then :
178
187
  as_have_required=yes
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 :
529
545
# Sed expression to map a string onto a valid variable name.
530
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
547
 
532
 
 
533
 
 
534
 
# Check that we are running under the correct shell.
535
548
SHELL=${CONFIG_SHELL-/bin/sh}
536
549
 
537
 
case X$lt_ECHO in
538
 
X*--fallback-echo)
539
 
  # Remove one level of quotation (which was required for Make).
540
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541
 
  ;;
542
 
esac
543
 
 
544
 
ECHO=${lt_ECHO-echo}
545
 
if test "X$1" = X--no-reexec; then
546
 
  # Discard the --no-reexec flag, and continue.
547
 
  shift
548
 
elif test "X$1" = X--fallback-echo; then
549
 
  # Avoid inline document here, it may be left over
550
 
  :
551
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552
 
  # Yippee, $ECHO works!
553
 
  :
554
 
else
555
 
  # Restart under the correct shell.
556
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
557
 
fi
558
 
 
559
 
if test "X$1" = X--fallback-echo; then
560
 
  # used as fallback echo
561
 
  shift
562
 
  cat <<_LT_EOF
563
 
$*
564
 
_LT_EOF
565
 
  exit 0
566
 
fi
567
 
 
568
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
 
# if CDPATH is set.
570
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
 
 
572
 
if test -z "$lt_ECHO"; then
573
 
  if test "X${echo_test_string+set}" != Xset; then
574
 
    # find a string as large as possible, as long as the shell can cope with it
575
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579
 
      then
580
 
        break
581
 
      fi
582
 
    done
583
 
  fi
584
 
 
585
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
588
 
    :
589
 
  else
590
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
591
 
    # backslashes.  This makes it impossible to quote backslashes using
592
 
    #   echo "$something" | sed 's/\\/\\\\/g'
593
 
    #
594
 
    # So, first we look for a working echo in the user's PATH.
595
 
 
596
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597
 
    for dir in $PATH /usr/ucb; do
598
 
      IFS="$lt_save_ifs"
599
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
603
 
        ECHO="$dir/echo"
604
 
        break
605
 
      fi
606
 
    done
607
 
    IFS="$lt_save_ifs"
608
 
 
609
 
    if test "X$ECHO" = Xecho; then
610
 
      # We didn't find a better echo, so look for alternatives.
611
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
614
 
        # This shell has a builtin print -r that does the trick.
615
 
        ECHO='print -r'
616
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
618
 
        # If we have ksh, try running configure again with it.
619
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620
 
        export ORIGINAL_CONFIG_SHELL
621
 
        CONFIG_SHELL=/bin/ksh
622
 
        export CONFIG_SHELL
623
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624
 
      else
625
 
        # Try using printf.
626
 
        ECHO='printf %s\n'
627
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
630
 
          # Cool, printf works
631
 
          :
632
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633
 
             test "X$echo_testing_string" = 'X\t' &&
634
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
636
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
 
          export CONFIG_SHELL
638
 
          SHELL="$CONFIG_SHELL"
639
 
          export SHELL
640
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642
 
             test "X$echo_testing_string" = 'X\t' &&
643
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
645
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
 
        else
647
 
          # maybe with a smaller string...
648
 
          prev=:
649
 
 
650
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652
 
            then
653
 
              break
654
 
            fi
655
 
            prev="$cmd"
656
 
          done
657
 
 
658
 
          if test "$prev" != 'sed 50q "$0"'; then
659
 
            echo_test_string=`eval $prev`
660
 
            export echo_test_string
661
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
 
          else
663
 
            # Oops.  We lost completely, so just stick with echo.
664
 
            ECHO=echo
665
 
          fi
666
 
        fi
667
 
      fi
668
 
    fi
669
 
  fi
670
 
fi
671
 
 
672
 
# Copy echo and quote the copy suitably for passing to libtool from
673
 
# the Makefile, instead of quoting the original, which is used later.
674
 
lt_ECHO=$ECHO
675
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677
 
fi
678
 
 
679
 
 
680
 
 
681
550
 
682
551
test -n "$DJDIR" || exec 7<&0 </dev/null
683
552
exec 6>&1
702
571
# Identity of this package.
703
572
PACKAGE_NAME='file-roller'
704
573
PACKAGE_TARNAME='file-roller'
705
 
PACKAGE_VERSION='3.1.1'
706
 
PACKAGE_STRING='file-roller 3.1.1'
 
574
PACKAGE_VERSION='3.1.2'
 
575
PACKAGE_STRING='file-roller 3.1.2'
707
576
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=file-roller'
708
577
PACKAGE_URL=''
709
578
 
824
693
LIPO
825
694
NMEDIT
826
695
DSYMUTIL
827
 
lt_ECHO
 
696
MANIFEST_TOOL
828
697
RANLIB
 
698
ac_ct_AR
829
699
AR
 
700
DLLTOOL
830
701
OBJDUMP
831
702
LN_S
832
703
NM
936
807
with_pic
937
808
enable_fast_install
938
809
with_gnu_ld
 
810
with_sysroot
939
811
enable_libtool_lock
940
812
enable_schemas_compile
941
813
enable_run_in_place
1371
1243
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1372
1244
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1373
1245
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1374
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1246
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1375
1247
    ;;
1376
1248
 
1377
1249
  esac
1509
1381
  # Omit some internal or obsolete options to make the list less imposing.
1510
1382
  # This message is too long to be a string in the A/UX 3.1 sh.
1511
1383
  cat <<_ACEOF
1512
 
\`configure' configures file-roller 3.1.1 to adapt to many kinds of systems.
 
1384
\`configure' configures file-roller 3.1.2 to adapt to many kinds of systems.
1513
1385
 
1514
1386
Usage: $0 [OPTION]... [VAR=VALUE]...
1515
1387
 
1579
1451
 
1580
1452
if test -n "$ac_init_help"; then
1581
1453
  case $ac_init_help in
1582
 
     short | recursive ) echo "Configuration of file-roller 3.1.1:";;
 
1454
     short | recursive ) echo "Configuration of file-roller 3.1.2:";;
1583
1455
   esac
1584
1456
  cat <<\_ACEOF
1585
1457
 
1613
1485
  --with-pic              try to use only PIC/non-PIC objects [default=use
1614
1486
                          both]
1615
1487
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1488
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1489
                        (or the compiler's sysroot if not specified).
1616
1490
  --with-help-dir=DIR     path to help docs
1617
1491
  --with-omf-dir=DIR      path to OMF files
1618
1492
  --with-help-formats=FORMATS
1707
1581
test -n "$ac_init_help" && exit $ac_status
1708
1582
if $ac_init_version; then
1709
1583
  cat <<\_ACEOF
1710
 
file-roller configure 3.1.1
1711
 
generated by GNU Autoconf 2.67
 
1584
file-roller configure 3.1.2
 
1585
generated by GNU Autoconf 2.68
1712
1586
 
1713
1587
Copyright (C) 2010 Free Software Foundation, Inc.
1714
1588
This configure script is free software; the Free Software Foundation
1754
1628
 
1755
1629
        ac_retval=1
1756
1630
fi
1757
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1631
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758
1632
  as_fn_set_status $ac_retval
1759
1633
 
1760
1634
} # ac_fn_c_try_compile
1800
1674
  # interfere with the next link command; also delete a directory that is
1801
1675
  # left behind by Apple's compiler.  We do this before executing the actions.
1802
1676
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1677
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804
1678
  as_fn_set_status $ac_retval
1805
1679
 
1806
1680
} # ac_fn_c_try_link
1814
1688
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815
1689
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816
1690
$as_echo_n "checking for $2... " >&6; }
1817
 
if eval "test \"\${$3+set}\"" = set; then :
 
1691
if eval \${$3+:} false; then :
1818
1692
  $as_echo_n "(cached) " >&6
1819
1693
else
1820
1694
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832
1706
eval ac_res=\$$3
1833
1707
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834
1708
$as_echo "$ac_res" >&6; }
1835
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1709
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836
1710
 
1837
1711
} # ac_fn_c_check_header_compile
1838
1712
 
1868
1742
 
1869
1743
    ac_retval=1
1870
1744
fi
1871
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1745
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872
1746
  as_fn_set_status $ac_retval
1873
1747
 
1874
1748
} # ac_fn_c_try_cpp
1910
1784
       ac_retval=$ac_status
1911
1785
fi
1912
1786
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1787
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914
1788
  as_fn_set_status $ac_retval
1915
1789
 
1916
1790
} # ac_fn_c_try_run
1923
1797
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924
1798
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925
1799
$as_echo_n "checking for $2... " >&6; }
1926
 
if eval "test \"\${$3+set}\"" = set; then :
 
1800
if eval \${$3+:} false; then :
1927
1801
  $as_echo_n "(cached) " >&6
1928
1802
else
1929
1803
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978
1852
eval ac_res=\$$3
1979
1853
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980
1854
$as_echo "$ac_res" >&6; }
1981
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1855
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982
1856
 
1983
1857
} # ac_fn_c_check_func
1984
1858
cat >config.log <<_ACEOF
1985
1859
This file contains any messages produced by compilers while
1986
1860
running configure, to aid debugging if configure makes a mistake.
1987
1861
 
1988
 
It was created by file-roller $as_me 3.1.1, which was
1989
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
1862
It was created by file-roller $as_me 3.1.2, which was
 
1863
generated by GNU Autoconf 2.68.  Invocation command line was
1990
1864
 
1991
1865
  $ $0 $@
1992
1866
 
2244
2118
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2245
2119
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2246
2120
as_fn_error $? "failed to load site script $ac_site_file
2247
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2121
See \`config.log' for more details" "$LINENO" 5; }
2248
2122
  fi
2249
2123
done
2250
2124
 
2381
2255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2382
2256
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2383
2257
if test -z "$INSTALL"; then
2384
 
if test "${ac_cv_path_install+set}" = set; then :
 
2258
if ${ac_cv_path_install+:} false; then :
2385
2259
  $as_echo_n "(cached) " >&6
2386
2260
else
2387
2261
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468
2342
'
2469
2343
case `pwd` in
2470
2344
  *[\\\"\#\$\&\'\`$am_lf]*)
2471
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2345
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2472
2346
esac
2473
2347
case $srcdir in
2474
2348
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2475
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2349
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2476
2350
esac
2477
2351
 
2478
2352
# Do `set' in a subshell so we don't clobber the current shell's
2558
2432
set dummy ${ac_tool_prefix}strip; ac_word=$2
2559
2433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560
2434
$as_echo_n "checking for $ac_word... " >&6; }
2561
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2435
if ${ac_cv_prog_STRIP+:} false; then :
2562
2436
  $as_echo_n "(cached) " >&6
2563
2437
else
2564
2438
  if test -n "$STRIP"; then
2598
2472
set dummy strip; ac_word=$2
2599
2473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600
2474
$as_echo_n "checking for $ac_word... " >&6; }
2601
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2475
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2602
2476
  $as_echo_n "(cached) " >&6
2603
2477
else
2604
2478
  if test -n "$ac_ct_STRIP"; then
2651
2525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2652
2526
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2653
2527
if test -z "$MKDIR_P"; then
2654
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2528
  if ${ac_cv_path_mkdir+:} false; then :
2655
2529
  $as_echo_n "(cached) " >&6
2656
2530
else
2657
2531
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702
2576
set dummy $ac_prog; ac_word=$2
2703
2577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704
2578
$as_echo_n "checking for $ac_word... " >&6; }
2705
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2579
if ${ac_cv_prog_AWK+:} false; then :
2706
2580
  $as_echo_n "(cached) " >&6
2707
2581
else
2708
2582
  if test -n "$AWK"; then
2742
2616
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2743
2617
set x ${MAKE-make}
2744
2618
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2745
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2619
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2746
2620
  $as_echo_n "(cached) " >&6
2747
2621
else
2748
2622
  cat >conftest.make <<\_ACEOF
2800
2674
 
2801
2675
# Define the identity of the package.
2802
2676
 PACKAGE='file-roller'
2803
 
 VERSION='3.1.1'
 
2677
 VERSION='3.1.2'
2804
2678
 
2805
2679
 
2806
2680
cat >>confdefs.h <<_ACEOF
2908
2782
done
2909
2783
rm -rf conftest.dir
2910
2784
 
2911
 
if test "${am_cv_prog_tar_ustar+set}" = set; then :
 
2785
if ${am_cv_prog_tar_ustar+:} false; then :
2912
2786
  $as_echo_n "(cached) " >&6
2913
2787
else
2914
2788
  am_cv_prog_tar_ustar=$_am_tool
2959
2833
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2960
2834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961
2835
$as_echo_n "checking for $ac_word... " >&6; }
2962
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2836
if ${ac_cv_prog_CC+:} false; then :
2963
2837
  $as_echo_n "(cached) " >&6
2964
2838
else
2965
2839
  if test -n "$CC"; then
2999
2873
set dummy gcc; ac_word=$2
3000
2874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001
2875
$as_echo_n "checking for $ac_word... " >&6; }
3002
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2876
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3003
2877
  $as_echo_n "(cached) " >&6
3004
2878
else
3005
2879
  if test -n "$ac_ct_CC"; then
3052
2926
set dummy ${ac_tool_prefix}cc; ac_word=$2
3053
2927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3054
2928
$as_echo_n "checking for $ac_word... " >&6; }
3055
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2929
if ${ac_cv_prog_CC+:} false; then :
3056
2930
  $as_echo_n "(cached) " >&6
3057
2931
else
3058
2932
  if test -n "$CC"; then
3092
2966
set dummy cc; ac_word=$2
3093
2967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3094
2968
$as_echo_n "checking for $ac_word... " >&6; }
3095
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2969
if ${ac_cv_prog_CC+:} false; then :
3096
2970
  $as_echo_n "(cached) " >&6
3097
2971
else
3098
2972
  if test -n "$CC"; then
3151
3025
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3152
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153
3027
$as_echo_n "checking for $ac_word... " >&6; }
3154
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3028
if ${ac_cv_prog_CC+:} false; then :
3155
3029
  $as_echo_n "(cached) " >&6
3156
3030
else
3157
3031
  if test -n "$CC"; then
3195
3069
set dummy $ac_prog; ac_word=$2
3196
3070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197
3071
$as_echo_n "checking for $ac_word... " >&6; }
3198
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3072
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3199
3073
  $as_echo_n "(cached) " >&6
3200
3074
else
3201
3075
  if test -n "$ac_ct_CC"; then
3250
3124
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251
3125
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252
3126
as_fn_error $? "no acceptable C compiler found in \$PATH
3253
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3127
See \`config.log' for more details" "$LINENO" 5; }
3254
3128
 
3255
3129
# Provide some information about the compiler.
3256
3130
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3365
3239
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366
3240
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367
3241
as_fn_error 77 "C compiler cannot create executables
3368
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3242
See \`config.log' for more details" "$LINENO" 5; }
3369
3243
else
3370
3244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3371
3245
$as_echo "yes" >&6; }
3408
3282
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409
3283
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410
3284
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3411
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3285
See \`config.log' for more details" "$LINENO" 5; }
3412
3286
fi
3413
3287
rm -f conftest conftest$ac_cv_exeext
3414
3288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3467
3341
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3468
3342
as_fn_error $? "cannot run C compiled programs.
3469
3343
If you meant to cross compile, use \`--host'.
3470
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3344
See \`config.log' for more details" "$LINENO" 5; }
3471
3345
    fi
3472
3346
  fi
3473
3347
fi
3478
3352
ac_clean_files=$ac_clean_files_save
3479
3353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3480
3354
$as_echo_n "checking for suffix of object files... " >&6; }
3481
 
if test "${ac_cv_objext+set}" = set; then :
 
3355
if ${ac_cv_objext+:} false; then :
3482
3356
  $as_echo_n "(cached) " >&6
3483
3357
else
3484
3358
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519
3393
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3520
3394
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3521
3395
as_fn_error $? "cannot compute suffix of object files: cannot compile
3522
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3396
See \`config.log' for more details" "$LINENO" 5; }
3523
3397
fi
3524
3398
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3525
3399
fi
3529
3403
ac_objext=$OBJEXT
3530
3404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3531
3405
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3532
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3406
if ${ac_cv_c_compiler_gnu+:} false; then :
3533
3407
  $as_echo_n "(cached) " >&6
3534
3408
else
3535
3409
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566
3440
ac_save_CFLAGS=$CFLAGS
3567
3441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3568
3442
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3569
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3443
if ${ac_cv_prog_cc_g+:} false; then :
3570
3444
  $as_echo_n "(cached) " >&6
3571
3445
else
3572
3446
  ac_save_c_werror_flag=$ac_c_werror_flag
3644
3518
fi
3645
3519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3646
3520
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3647
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3521
if ${ac_cv_prog_cc_c89+:} false; then :
3648
3522
  $as_echo_n "(cached) " >&6
3649
3523
else
3650
3524
  ac_cv_prog_cc_c89=no
3805
3679
 
3806
3680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3807
3681
$as_echo_n "checking dependency style of $depcc... " >&6; }
3808
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3682
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3809
3683
  $as_echo_n "(cached) " >&6
3810
3684
else
3811
3685
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3936
3810
 
3937
3811
 
3938
3812
 
3939
 
macro_version='2.2.6b'
3940
 
macro_revision='1.3017'
 
3813
macro_version='2.4'
 
3814
macro_revision='1.3293'
3941
3815
 
3942
3816
 
3943
3817
 
3959
3833
 
3960
3834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3961
3835
$as_echo_n "checking build system type... " >&6; }
3962
 
if test "${ac_cv_build+set}" = set; then :
 
3836
if ${ac_cv_build+:} false; then :
3963
3837
  $as_echo_n "(cached) " >&6
3964
3838
else
3965
3839
  ac_build_alias=$build_alias
3975
3849
$as_echo "$ac_cv_build" >&6; }
3976
3850
case $ac_cv_build in
3977
3851
*-*-*) ;;
3978
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
3852
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3979
3853
esac
3980
3854
build=$ac_cv_build
3981
3855
ac_save_IFS=$IFS; IFS='-'
3993
3867
 
3994
3868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3995
3869
$as_echo_n "checking host system type... " >&6; }
3996
 
if test "${ac_cv_host+set}" = set; then :
 
3870
if ${ac_cv_host+:} false; then :
3997
3871
  $as_echo_n "(cached) " >&6
3998
3872
else
3999
3873
  if test "x$host_alias" = x; then
4008
3882
$as_echo "$ac_cv_host" >&6; }
4009
3883
case $ac_cv_host in
4010
3884
*-*-*) ;;
4011
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
3885
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4012
3886
esac
4013
3887
host=$ac_cv_host
4014
3888
ac_save_IFS=$IFS; IFS='-'
4024
3898
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4025
3899
 
4026
3900
 
 
3901
# Backslashify metacharacters that are still active within
 
3902
# double-quoted strings.
 
3903
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
3904
 
 
3905
# Same as above, but do not quote variable references.
 
3906
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
3907
 
 
3908
# Sed substitution to delay expansion of an escaped shell variable in a
 
3909
# double_quote_subst'ed string.
 
3910
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
3911
 
 
3912
# Sed substitution to delay expansion of an escaped single quote.
 
3913
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
3914
 
 
3915
# Sed substitution to avoid accidental globbing in evaled expressions
 
3916
no_glob_subst='s/\*/\\\*/g'
 
3917
 
 
3918
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
3919
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
3920
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
3921
 
 
3922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
3923
$as_echo_n "checking how to print strings... " >&6; }
 
3924
# Test print first, because it will be a builtin if present.
 
3925
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
3926
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3927
  ECHO='print -r --'
 
3928
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3929
  ECHO='printf %s\n'
 
3930
else
 
3931
  # Use this function as a fallback that always works.
 
3932
  func_fallback_echo ()
 
3933
  {
 
3934
    eval 'cat <<_LTECHO_EOF
 
3935
$1
 
3936
_LTECHO_EOF'
 
3937
  }
 
3938
  ECHO='func_fallback_echo'
 
3939
fi
 
3940
 
 
3941
# func_echo_all arg...
 
3942
# Invoke $ECHO with all args, space-separated.
 
3943
func_echo_all ()
 
3944
{
 
3945
    $ECHO ""
 
3946
}
 
3947
 
 
3948
case "$ECHO" in
 
3949
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
3950
$as_echo "printf" >&6; } ;;
 
3951
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
3952
$as_echo "print -r" >&6; } ;;
 
3953
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
3954
$as_echo "cat" >&6; } ;;
 
3955
esac
 
3956
 
 
3957
 
 
3958
 
 
3959
 
 
3960
 
 
3961
 
 
3962
 
 
3963
 
 
3964
 
 
3965
 
 
3966
 
 
3967
 
 
3968
 
 
3969
 
4027
3970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4028
3971
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4029
 
if test "${ac_cv_path_SED+set}" = set; then :
 
3972
if ${ac_cv_path_SED+:} false; then :
4030
3973
  $as_echo_n "(cached) " >&6
4031
3974
else
4032
3975
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4108
4051
 
4109
4052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4110
4053
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4111
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4054
if ${ac_cv_path_GREP+:} false; then :
4112
4055
  $as_echo_n "(cached) " >&6
4113
4056
else
4114
4057
  if test -z "$GREP"; then
4171
4114
 
4172
4115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4173
4116
$as_echo_n "checking for egrep... " >&6; }
4174
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4117
if ${ac_cv_path_EGREP+:} false; then :
4175
4118
  $as_echo_n "(cached) " >&6
4176
4119
else
4177
4120
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4238
4181
 
4239
4182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4240
4183
$as_echo_n "checking for fgrep... " >&6; }
4241
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4184
if ${ac_cv_path_FGREP+:} false; then :
4242
4185
  $as_echo_n "(cached) " >&6
4243
4186
else
4244
4187
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4369
4312
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4370
4313
$as_echo_n "checking for non-GNU ld... " >&6; }
4371
4314
fi
4372
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4315
if ${lt_cv_path_LD+:} false; then :
4373
4316
  $as_echo_n "(cached) " >&6
4374
4317
else
4375
4318
  if test -z "$LD"; then
4409
4352
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4410
4353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4411
4354
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4412
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4355
if ${lt_cv_prog_gnu_ld+:} false; then :
4413
4356
  $as_echo_n "(cached) " >&6
4414
4357
else
4415
4358
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4436
4379
 
4437
4380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4438
4381
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4439
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4382
if ${lt_cv_path_NM+:} false; then :
4440
4383
  $as_echo_n "(cached) " >&6
4441
4384
else
4442
4385
  if test -n "$NM"; then
4489
4432
  NM="$lt_cv_path_NM"
4490
4433
else
4491
4434
  # Didn't find any BSD compatible name lister, look for dumpbin.
4492
 
  if test -n "$ac_tool_prefix"; then
4493
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4435
  if test -n "$DUMPBIN"; then :
 
4436
    # Let the user override the test.
 
4437
  else
 
4438
    if test -n "$ac_tool_prefix"; then
 
4439
  for ac_prog in dumpbin "link -dump"
4494
4440
  do
4495
4441
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4496
4442
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4497
4443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498
4444
$as_echo_n "checking for $ac_word... " >&6; }
4499
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4445
if ${ac_cv_prog_DUMPBIN+:} false; then :
4500
4446
  $as_echo_n "(cached) " >&6
4501
4447
else
4502
4448
  if test -n "$DUMPBIN"; then
4534
4480
fi
4535
4481
if test -z "$DUMPBIN"; then
4536
4482
  ac_ct_DUMPBIN=$DUMPBIN
4537
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4483
  for ac_prog in dumpbin "link -dump"
4538
4484
do
4539
4485
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4540
4486
set dummy $ac_prog; ac_word=$2
4541
4487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542
4488
$as_echo_n "checking for $ac_word... " >&6; }
4543
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4489
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4544
4490
  $as_echo_n "(cached) " >&6
4545
4491
else
4546
4492
  if test -n "$ac_ct_DUMPBIN"; then
4589
4535
  fi
4590
4536
fi
4591
4537
 
 
4538
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4539
    *COFF*)
 
4540
      DUMPBIN="$DUMPBIN -symbols"
 
4541
      ;;
 
4542
    *)
 
4543
      DUMPBIN=:
 
4544
      ;;
 
4545
    esac
 
4546
  fi
4592
4547
 
4593
4548
  if test "$DUMPBIN" != ":"; then
4594
4549
    NM="$DUMPBIN"
4603
4558
 
4604
4559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4605
4560
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4606
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4561
if ${lt_cv_nm_interface+:} false; then :
4607
4562
  $as_echo_n "(cached) " >&6
4608
4563
else
4609
4564
  lt_cv_nm_interface="BSD nm"
4610
4565
  echo "int some_variable = 0;" > conftest.$ac_ext
4611
 
  (eval echo "\"\$as_me:4611: $ac_compile\"" >&5)
 
4566
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4612
4567
  (eval "$ac_compile" 2>conftest.err)
4613
4568
  cat conftest.err >&5
4614
 
  (eval echo "\"\$as_me:4614: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4569
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4615
4570
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4616
4571
  cat conftest.err >&5
4617
 
  (eval echo "\"\$as_me:4617: output\"" >&5)
 
4572
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4618
4573
  cat conftest.out >&5
4619
4574
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4620
4575
    lt_cv_nm_interface="MS dumpbin"
4638
4593
# find the maximum length of command line arguments
4639
4594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4640
4595
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4641
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4596
if ${lt_cv_sys_max_cmd_len+:} false; then :
4642
4597
  $as_echo_n "(cached) " >&6
4643
4598
else
4644
4599
    i=0
4671
4626
    lt_cv_sys_max_cmd_len=8192;
4672
4627
    ;;
4673
4628
 
 
4629
  mint*)
 
4630
    # On MiNT this can take a long time and run out of memory.
 
4631
    lt_cv_sys_max_cmd_len=8192;
 
4632
    ;;
 
4633
 
4674
4634
  amigaos*)
4675
4635
    # On AmigaOS with pdksh, this test takes hours, literally.
4676
4636
    # So we just punt and use a minimum line length of 8192.
4735
4695
      # If test is not a shell built-in, we'll probably end up computing a
4736
4696
      # maximum length that is only half of the actual maximum length, but
4737
4697
      # we can't tell.
4738
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4739
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4698
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
4699
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4740
4700
              test $i != 17 # 1/2 MB should be enough
4741
4701
      do
4742
4702
        i=`expr $i + 1`
4778
4738
# Try some XSI features
4779
4739
xsi_shell=no
4780
4740
( _lt_dummy="a/b/c"
4781
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4782
 
      = c,a/b,, \
 
4741
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4742
      = c,a/b,b/c, \
4783
4743
    && eval 'test $(( 1 + 1 )) -eq 2 \
4784
4744
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4785
4745
  && xsi_shell=yes
4828
4788
 
4829
4789
 
4830
4790
 
 
4791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
4792
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
4793
if ${lt_cv_to_host_file_cmd+:} false; then :
 
4794
  $as_echo_n "(cached) " >&6
 
4795
else
 
4796
  case $host in
 
4797
  *-*-mingw* )
 
4798
    case $build in
 
4799
      *-*-mingw* ) # actually msys
 
4800
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
4801
        ;;
 
4802
      *-*-cygwin* )
 
4803
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
4804
        ;;
 
4805
      * ) # otherwise, assume *nix
 
4806
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
4807
        ;;
 
4808
    esac
 
4809
    ;;
 
4810
  *-*-cygwin* )
 
4811
    case $build in
 
4812
      *-*-mingw* ) # actually msys
 
4813
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
4814
        ;;
 
4815
      *-*-cygwin* )
 
4816
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
4817
        ;;
 
4818
      * ) # otherwise, assume *nix
 
4819
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
4820
        ;;
 
4821
    esac
 
4822
    ;;
 
4823
  * ) # unhandled hosts (and "normal" native builds)
 
4824
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
4825
    ;;
 
4826
esac
 
4827
 
 
4828
fi
 
4829
 
 
4830
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
4831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
4832
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
4833
 
 
4834
 
 
4835
 
 
4836
 
 
4837
 
 
4838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
4839
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
4840
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
4841
  $as_echo_n "(cached) " >&6
 
4842
else
 
4843
  #assume ordinary cross tools, or native build.
 
4844
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
4845
case $host in
 
4846
  *-*-mingw* )
 
4847
    case $build in
 
4848
      *-*-mingw* ) # actually msys
 
4849
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
4850
        ;;
 
4851
    esac
 
4852
    ;;
 
4853
esac
 
4854
 
 
4855
fi
 
4856
 
 
4857
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
4858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
4859
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
4860
 
 
4861
 
 
4862
 
 
4863
 
 
4864
 
4831
4865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4832
4866
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4833
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
4867
if ${lt_cv_ld_reload_flag+:} false; then :
4834
4868
  $as_echo_n "(cached) " >&6
4835
4869
else
4836
4870
  lt_cv_ld_reload_flag='-r'
4844
4878
esac
4845
4879
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4846
4880
case $host_os in
 
4881
  cygwin* | mingw* | pw32* | cegcc*)
 
4882
    if test "$GCC" != yes; then
 
4883
      reload_cmds=false
 
4884
    fi
 
4885
    ;;
4847
4886
  darwin*)
4848
4887
    if test "$GCC" = yes; then
4849
4888
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4866
4905
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4867
4906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868
4907
$as_echo_n "checking for $ac_word... " >&6; }
4869
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4908
if ${ac_cv_prog_OBJDUMP+:} false; then :
4870
4909
  $as_echo_n "(cached) " >&6
4871
4910
else
4872
4911
  if test -n "$OBJDUMP"; then
4906
4945
set dummy objdump; ac_word=$2
4907
4946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908
4947
$as_echo_n "checking for $ac_word... " >&6; }
4909
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4948
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4910
4949
  $as_echo_n "(cached) " >&6
4911
4950
else
4912
4951
  if test -n "$ac_ct_OBJDUMP"; then
4965
5004
 
4966
5005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4967
5006
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4968
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5007
if ${lt_cv_deplibs_check_method+:} false; then :
4969
5008
  $as_echo_n "(cached) " >&6
4970
5009
else
4971
5010
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5007
5046
  # Base MSYS/MinGW do not provide the 'file' command needed by
5008
5047
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5009
5048
  # unless we find 'file', for example because we are cross-compiling.
5010
 
  if ( file / ) >/dev/null 2>&1; then
 
5049
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5050
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5011
5051
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5012
5052
    lt_cv_file_magic_cmd='func_win32_libid'
5013
5053
  else
5014
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5054
    # Keep this pattern in sync with the one in func_win32_libid.
 
5055
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5015
5056
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5016
5057
  fi
5017
5058
  ;;
5018
5059
 
5019
 
cegcc)
 
5060
cegcc*)
5020
5061
  # use the weaker test based on 'objdump'. See mingw*.
5021
5062
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5022
5063
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5046
5087
  lt_cv_deplibs_check_method=pass_all
5047
5088
  ;;
5048
5089
 
 
5090
haiku*)
 
5091
  lt_cv_deplibs_check_method=pass_all
 
5092
  ;;
 
5093
 
5049
5094
hpux10.20* | hpux11*)
5050
5095
  lt_cv_file_magic_cmd=/usr/bin/file
5051
5096
  case $host_cpu in
5054
5099
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5055
5100
    ;;
5056
5101
  hppa*64*)
5057
 
    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]'
 
5102
    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]'
5058
5103
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5059
5104
    ;;
5060
5105
  *)
5061
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5106
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5062
5107
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5063
5108
    ;;
5064
5109
  esac
5084
5129
  lt_cv_deplibs_check_method=pass_all
5085
5130
  ;;
5086
5131
 
5087
 
netbsd* | netbsdelf*-gnu)
 
5132
netbsd*)
5088
5133
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5089
5134
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5090
5135
  else
5161
5206
fi
5162
5207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5163
5208
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5209
 
 
5210
file_magic_glob=
 
5211
want_nocaseglob=no
 
5212
if test "$build" = "$host"; then
 
5213
  case $host_os in
 
5214
  mingw* | pw32*)
 
5215
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5216
      want_nocaseglob=yes
 
5217
    else
 
5218
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5219
    fi
 
5220
    ;;
 
5221
  esac
 
5222
fi
 
5223
 
5164
5224
file_magic_cmd=$lt_cv_file_magic_cmd
5165
5225
deplibs_check_method=$lt_cv_deplibs_check_method
5166
5226
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5176
5236
 
5177
5237
 
5178
5238
 
5179
 
if test -n "$ac_tool_prefix"; then
5180
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5181
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5182
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183
 
$as_echo_n "checking for $ac_word... " >&6; }
5184
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5239
 
 
5240
 
 
5241
 
 
5242
 
 
5243
 
 
5244
 
 
5245
 
 
5246
 
 
5247
 
 
5248
 
 
5249
if test -n "$ac_tool_prefix"; then
 
5250
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5251
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5253
$as_echo_n "checking for $ac_word... " >&6; }
 
5254
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5255
  $as_echo_n "(cached) " >&6
 
5256
else
 
5257
  if test -n "$DLLTOOL"; then
 
5258
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5259
else
 
5260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5261
for as_dir in $PATH
 
5262
do
 
5263
  IFS=$as_save_IFS
 
5264
  test -z "$as_dir" && as_dir=.
 
5265
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5266
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5267
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5268
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5269
    break 2
 
5270
  fi
 
5271
done
 
5272
  done
 
5273
IFS=$as_save_IFS
 
5274
 
 
5275
fi
 
5276
fi
 
5277
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5278
if test -n "$DLLTOOL"; then
 
5279
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5280
$as_echo "$DLLTOOL" >&6; }
 
5281
else
 
5282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5283
$as_echo "no" >&6; }
 
5284
fi
 
5285
 
 
5286
 
 
5287
fi
 
5288
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5289
  ac_ct_DLLTOOL=$DLLTOOL
 
5290
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5291
set dummy dlltool; ac_word=$2
 
5292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5293
$as_echo_n "checking for $ac_word... " >&6; }
 
5294
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5295
  $as_echo_n "(cached) " >&6
 
5296
else
 
5297
  if test -n "$ac_ct_DLLTOOL"; then
 
5298
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5299
else
 
5300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5301
for as_dir in $PATH
 
5302
do
 
5303
  IFS=$as_save_IFS
 
5304
  test -z "$as_dir" && as_dir=.
 
5305
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5306
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5307
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5308
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5309
    break 2
 
5310
  fi
 
5311
done
 
5312
  done
 
5313
IFS=$as_save_IFS
 
5314
 
 
5315
fi
 
5316
fi
 
5317
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5318
if test -n "$ac_ct_DLLTOOL"; then
 
5319
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5320
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5321
else
 
5322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5323
$as_echo "no" >&6; }
 
5324
fi
 
5325
 
 
5326
  if test "x$ac_ct_DLLTOOL" = x; then
 
5327
    DLLTOOL="false"
 
5328
  else
 
5329
    case $cross_compiling:$ac_tool_warned in
 
5330
yes:)
 
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5332
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5333
ac_tool_warned=yes ;;
 
5334
esac
 
5335
    DLLTOOL=$ac_ct_DLLTOOL
 
5336
  fi
 
5337
else
 
5338
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5339
fi
 
5340
 
 
5341
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5342
 
 
5343
 
 
5344
 
 
5345
 
 
5346
 
 
5347
 
 
5348
 
 
5349
 
 
5350
 
 
5351
 
 
5352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5353
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5354
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5355
  $as_echo_n "(cached) " >&6
 
5356
else
 
5357
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5358
 
 
5359
case $host_os in
 
5360
cygwin* | mingw* | pw32* | cegcc*)
 
5361
  # two different shell functions defined in ltmain.sh
 
5362
  # decide which to use based on capabilities of $DLLTOOL
 
5363
  case `$DLLTOOL --help 2>&1` in
 
5364
  *--identify-strict*)
 
5365
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5366
    ;;
 
5367
  *)
 
5368
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5369
    ;;
 
5370
  esac
 
5371
  ;;
 
5372
*)
 
5373
  # fallback: assume linklib IS sharedlib
 
5374
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5375
  ;;
 
5376
esac
 
5377
 
 
5378
fi
 
5379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5380
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5381
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5382
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5383
 
 
5384
 
 
5385
 
 
5386
 
 
5387
 
 
5388
 
 
5389
 
 
5390
 
 
5391
if test -n "$ac_tool_prefix"; then
 
5392
  for ac_prog in ar
 
5393
  do
 
5394
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5395
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5397
$as_echo_n "checking for $ac_word... " >&6; }
 
5398
if ${ac_cv_prog_AR+:} false; then :
5185
5399
  $as_echo_n "(cached) " >&6
5186
5400
else
5187
5401
  if test -n "$AR"; then
5194
5408
  test -z "$as_dir" && as_dir=.
5195
5409
    for ac_exec_ext in '' $ac_executable_extensions; do
5196
5410
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5197
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5411
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5198
5412
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199
5413
    break 2
5200
5414
  fi
5214
5428
fi
5215
5429
 
5216
5430
 
 
5431
    test -n "$AR" && break
 
5432
  done
5217
5433
fi
5218
 
if test -z "$ac_cv_prog_AR"; then
 
5434
if test -z "$AR"; then
5219
5435
  ac_ct_AR=$AR
5220
 
  # Extract the first word of "ar", so it can be a program name with args.
5221
 
set dummy ar; ac_word=$2
 
5436
  for ac_prog in ar
 
5437
do
 
5438
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5439
set dummy $ac_prog; ac_word=$2
5222
5440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5223
5441
$as_echo_n "checking for $ac_word... " >&6; }
5224
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5442
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5225
5443
  $as_echo_n "(cached) " >&6
5226
5444
else
5227
5445
  if test -n "$ac_ct_AR"; then
5234
5452
  test -z "$as_dir" && as_dir=.
5235
5453
    for ac_exec_ext in '' $ac_executable_extensions; do
5236
5454
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5237
 
    ac_cv_prog_ac_ct_AR="ar"
 
5455
    ac_cv_prog_ac_ct_AR="$ac_prog"
5238
5456
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239
5457
    break 2
5240
5458
  fi
5253
5471
$as_echo "no" >&6; }
5254
5472
fi
5255
5473
 
 
5474
 
 
5475
  test -n "$ac_ct_AR" && break
 
5476
done
 
5477
 
5256
5478
  if test "x$ac_ct_AR" = x; then
5257
5479
    AR="false"
5258
5480
  else
5264
5486
esac
5265
5487
    AR=$ac_ct_AR
5266
5488
  fi
5267
 
else
5268
 
  AR="$ac_cv_prog_AR"
5269
 
fi
5270
 
 
5271
 
test -z "$AR" && AR=ar
5272
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5273
 
 
5274
 
 
5275
 
 
5276
 
 
 
5489
fi
 
5490
 
 
5491
: ${AR=ar}
 
5492
: ${AR_FLAGS=cru}
 
5493
 
 
5494
 
 
5495
 
 
5496
 
 
5497
 
 
5498
 
 
5499
 
 
5500
 
 
5501
 
 
5502
 
 
5503
 
 
5504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5505
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5506
if ${lt_cv_ar_at_file+:} false; then :
 
5507
  $as_echo_n "(cached) " >&6
 
5508
else
 
5509
  lt_cv_ar_at_file=no
 
5510
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5511
/* end confdefs.h.  */
 
5512
 
 
5513
int
 
5514
main ()
 
5515
{
 
5516
 
 
5517
  ;
 
5518
  return 0;
 
5519
}
 
5520
_ACEOF
 
5521
if ac_fn_c_try_compile "$LINENO"; then :
 
5522
  echo conftest.$ac_objext > conftest.lst
 
5523
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5524
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5525
  (eval $lt_ar_try) 2>&5
 
5526
  ac_status=$?
 
5527
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5528
  test $ac_status = 0; }
 
5529
      if test "$ac_status" -eq 0; then
 
5530
        # Ensure the archiver fails upon bogus file names.
 
5531
        rm -f conftest.$ac_objext libconftest.a
 
5532
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5533
  (eval $lt_ar_try) 2>&5
 
5534
  ac_status=$?
 
5535
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5536
  test $ac_status = 0; }
 
5537
        if test "$ac_status" -ne 0; then
 
5538
          lt_cv_ar_at_file=@
 
5539
        fi
 
5540
      fi
 
5541
      rm -f conftest.* libconftest.a
 
5542
 
 
5543
fi
 
5544
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5545
 
 
5546
fi
 
5547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5548
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5549
 
 
5550
if test "x$lt_cv_ar_at_file" = xno; then
 
5551
  archiver_list_spec=
 
5552
else
 
5553
  archiver_list_spec=$lt_cv_ar_at_file
 
5554
fi
5277
5555
 
5278
5556
 
5279
5557
 
5286
5564
set dummy ${ac_tool_prefix}strip; ac_word=$2
5287
5565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5288
5566
$as_echo_n "checking for $ac_word... " >&6; }
5289
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5567
if ${ac_cv_prog_STRIP+:} false; then :
5290
5568
  $as_echo_n "(cached) " >&6
5291
5569
else
5292
5570
  if test -n "$STRIP"; then
5326
5604
set dummy strip; ac_word=$2
5327
5605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328
5606
$as_echo_n "checking for $ac_word... " >&6; }
5329
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5607
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5330
5608
  $as_echo_n "(cached) " >&6
5331
5609
else
5332
5610
  if test -n "$ac_ct_STRIP"; then
5385
5663
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5386
5664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5387
5665
$as_echo_n "checking for $ac_word... " >&6; }
5388
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5666
if ${ac_cv_prog_RANLIB+:} false; then :
5389
5667
  $as_echo_n "(cached) " >&6
5390
5668
else
5391
5669
  if test -n "$RANLIB"; then
5425
5703
set dummy ranlib; ac_word=$2
5426
5704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5427
5705
$as_echo_n "checking for $ac_word... " >&6; }
5428
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5706
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5429
5707
  $as_echo_n "(cached) " >&6
5430
5708
else
5431
5709
  if test -n "$ac_ct_RANLIB"; then
5496
5774
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5497
5775
fi
5498
5776
 
 
5777
case $host_os in
 
5778
  darwin*)
 
5779
    lock_old_archive_extraction=yes ;;
 
5780
  *)
 
5781
    lock_old_archive_extraction=no ;;
 
5782
esac
 
5783
 
 
5784
 
 
5785
 
 
5786
 
 
5787
 
 
5788
 
5499
5789
 
5500
5790
 
5501
5791
 
5542
5832
# Check for command to grab the raw symbol name followed by C symbol from nm.
5543
5833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5544
5834
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5545
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
5835
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5546
5836
  $as_echo_n "(cached) " >&6
5547
5837
else
5548
5838
 
5603
5893
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5604
5894
 
5605
5895
# Transform an extracted symbol line into symbol name and symbol address
5606
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5607
 
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'"
 
5896
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5897
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'"
5608
5898
 
5609
5899
# Handle CRLF in mingw tool chain
5610
5900
opt_cr=
5640
5930
  else
5641
5931
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5642
5932
  fi
 
5933
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5643
5934
 
5644
5935
  # Check to see that the pipe works correctly.
5645
5936
  pipe_works=no
5665
5956
  test $ac_status = 0; }; then
5666
5957
    # Now try to grab the symbols.
5667
5958
    nlist=conftest.nm
5668
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5669
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
5959
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
5960
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5670
5961
  ac_status=$?
5671
5962
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5672
5963
  test $ac_status = 0; } && test -s "$nlist"; then
5681
5972
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5682
5973
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5683
5974
          cat <<_LT_EOF > conftest.$ac_ext
 
5975
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
5976
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
5977
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
5978
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
5979
# define LT_DLSYM_CONST
 
5980
#elif defined(__osf__)
 
5981
/* This system does not cope well with relocations in const data.  */
 
5982
# define LT_DLSYM_CONST
 
5983
#else
 
5984
# define LT_DLSYM_CONST const
 
5985
#endif
 
5986
 
5684
5987
#ifdef __cplusplus
5685
5988
extern "C" {
5686
5989
#endif
5692
5995
          cat <<_LT_EOF >> conftest.$ac_ext
5693
5996
 
5694
5997
/* The mapping between symbol names and symbols.  */
5695
 
const struct {
 
5998
LT_DLSYM_CONST struct {
5696
5999
  const char *name;
5697
6000
  void       *address;
5698
6001
}
5718
6021
_LT_EOF
5719
6022
          # Now try linking the two files.
5720
6023
          mv conftest.$ac_objext conftstm.$ac_objext
5721
 
          lt_save_LIBS="$LIBS"
5722
 
          lt_save_CFLAGS="$CFLAGS"
 
6024
          lt_globsym_save_LIBS=$LIBS
 
6025
          lt_globsym_save_CFLAGS=$CFLAGS
5723
6026
          LIBS="conftstm.$ac_objext"
5724
6027
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5725
6028
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5729
6032
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5730
6033
            pipe_works=yes
5731
6034
          fi
5732
 
          LIBS="$lt_save_LIBS"
5733
 
          CFLAGS="$lt_save_CFLAGS"
 
6035
          LIBS=$lt_globsym_save_LIBS
 
6036
          CFLAGS=$lt_globsym_save_CFLAGS
5734
6037
        else
5735
6038
          echo "cannot find nm_test_func in $nlist" >&5
5736
6039
        fi
5767
6070
$as_echo "ok" >&6; }
5768
6071
fi
5769
6072
 
5770
 
 
5771
 
 
5772
 
 
5773
 
 
5774
 
 
5775
 
 
5776
 
 
5777
 
 
5778
 
 
5779
 
 
5780
 
 
5781
 
 
5782
 
 
5783
 
 
5784
 
 
5785
 
 
5786
 
 
 
6073
# Response file support.
 
6074
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6075
  nm_file_list_spec='@'
 
6076
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6077
  nm_file_list_spec='@'
 
6078
fi
 
6079
 
 
6080
 
 
6081
 
 
6082
 
 
6083
 
 
6084
 
 
6085
 
 
6086
 
 
6087
 
 
6088
 
 
6089
 
 
6090
 
 
6091
 
 
6092
 
 
6093
 
 
6094
 
 
6095
 
 
6096
 
 
6097
 
 
6098
 
 
6099
 
 
6100
 
 
6101
 
 
6102
 
 
6103
 
 
6104
 
 
6105
 
 
6106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6107
$as_echo_n "checking for sysroot... " >&6; }
 
6108
 
 
6109
# Check whether --with-sysroot was given.
 
6110
if test "${with_sysroot+set}" = set; then :
 
6111
  withval=$with_sysroot;
 
6112
else
 
6113
  with_sysroot=no
 
6114
fi
 
6115
 
 
6116
 
 
6117
lt_sysroot=
 
6118
case ${with_sysroot} in #(
 
6119
 yes)
 
6120
   if test "$GCC" = yes; then
 
6121
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6122
   fi
 
6123
   ;; #(
 
6124
 /*)
 
6125
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6126
   ;; #(
 
6127
 no|'')
 
6128
   ;; #(
 
6129
 *)
 
6130
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6131
$as_echo "${with_sysroot}" >&6; }
 
6132
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6133
   ;;
 
6134
esac
 
6135
 
 
6136
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6137
$as_echo "${lt_sysroot:-no}" >&6; }
5787
6138
 
5788
6139
 
5789
6140
 
5820
6171
  ;;
5821
6172
*-*-irix6*)
5822
6173
  # Find out which ABI we are using.
5823
 
  echo '#line 5823 "configure"' > conftest.$ac_ext
 
6174
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5824
6175
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5825
6176
  (eval $ac_compile) 2>&5
5826
6177
  ac_status=$?
5914
6265
  CFLAGS="$CFLAGS -belf"
5915
6266
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5916
6267
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5917
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6268
if ${lt_cv_cc_needs_belf+:} false; then :
5918
6269
  $as_echo_n "(cached) " >&6
5919
6270
else
5920
6271
  ac_ext=c
5982
6333
 
5983
6334
need_locks="$enable_libtool_lock"
5984
6335
 
 
6336
if test -n "$ac_tool_prefix"; then
 
6337
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6338
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6340
$as_echo_n "checking for $ac_word... " >&6; }
 
6341
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6342
  $as_echo_n "(cached) " >&6
 
6343
else
 
6344
  if test -n "$MANIFEST_TOOL"; then
 
6345
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6346
else
 
6347
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6348
for as_dir in $PATH
 
6349
do
 
6350
  IFS=$as_save_IFS
 
6351
  test -z "$as_dir" && as_dir=.
 
6352
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6353
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6354
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6355
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6356
    break 2
 
6357
  fi
 
6358
done
 
6359
  done
 
6360
IFS=$as_save_IFS
 
6361
 
 
6362
fi
 
6363
fi
 
6364
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6365
if test -n "$MANIFEST_TOOL"; then
 
6366
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6367
$as_echo "$MANIFEST_TOOL" >&6; }
 
6368
else
 
6369
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6370
$as_echo "no" >&6; }
 
6371
fi
 
6372
 
 
6373
 
 
6374
fi
 
6375
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6376
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6377
  # Extract the first word of "mt", so it can be a program name with args.
 
6378
set dummy mt; ac_word=$2
 
6379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6380
$as_echo_n "checking for $ac_word... " >&6; }
 
6381
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6382
  $as_echo_n "(cached) " >&6
 
6383
else
 
6384
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6385
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6386
else
 
6387
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6388
for as_dir in $PATH
 
6389
do
 
6390
  IFS=$as_save_IFS
 
6391
  test -z "$as_dir" && as_dir=.
 
6392
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6393
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6394
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6395
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6396
    break 2
 
6397
  fi
 
6398
done
 
6399
  done
 
6400
IFS=$as_save_IFS
 
6401
 
 
6402
fi
 
6403
fi
 
6404
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6405
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6407
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6408
else
 
6409
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6410
$as_echo "no" >&6; }
 
6411
fi
 
6412
 
 
6413
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6414
    MANIFEST_TOOL=":"
 
6415
  else
 
6416
    case $cross_compiling:$ac_tool_warned in
 
6417
yes:)
 
6418
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6419
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6420
ac_tool_warned=yes ;;
 
6421
esac
 
6422
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6423
  fi
 
6424
else
 
6425
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6426
fi
 
6427
 
 
6428
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6430
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6431
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6432
  $as_echo_n "(cached) " >&6
 
6433
else
 
6434
  lt_cv_path_mainfest_tool=no
 
6435
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6436
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6437
  cat conftest.err >&5
 
6438
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6439
    lt_cv_path_mainfest_tool=yes
 
6440
  fi
 
6441
  rm -f conftest*
 
6442
fi
 
6443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6444
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6445
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6446
  MANIFEST_TOOL=:
 
6447
fi
 
6448
 
 
6449
 
 
6450
 
 
6451
 
 
6452
 
5985
6453
 
5986
6454
  case $host_os in
5987
6455
    rhapsody* | darwin*)
5990
6458
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5991
6459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5992
6460
$as_echo_n "checking for $ac_word... " >&6; }
5993
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6461
if ${ac_cv_prog_DSYMUTIL+:} false; then :
5994
6462
  $as_echo_n "(cached) " >&6
5995
6463
else
5996
6464
  if test -n "$DSYMUTIL"; then
6030
6498
set dummy dsymutil; ac_word=$2
6031
6499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032
6500
$as_echo_n "checking for $ac_word... " >&6; }
6033
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6501
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6034
6502
  $as_echo_n "(cached) " >&6
6035
6503
else
6036
6504
  if test -n "$ac_ct_DSYMUTIL"; then
6082
6550
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6083
6551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6084
6552
$as_echo_n "checking for $ac_word... " >&6; }
6085
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6553
if ${ac_cv_prog_NMEDIT+:} false; then :
6086
6554
  $as_echo_n "(cached) " >&6
6087
6555
else
6088
6556
  if test -n "$NMEDIT"; then
6122
6590
set dummy nmedit; ac_word=$2
6123
6591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124
6592
$as_echo_n "checking for $ac_word... " >&6; }
6125
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6593
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6126
6594
  $as_echo_n "(cached) " >&6
6127
6595
else
6128
6596
  if test -n "$ac_ct_NMEDIT"; then
6174
6642
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6175
6643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6176
6644
$as_echo_n "checking for $ac_word... " >&6; }
6177
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6645
if ${ac_cv_prog_LIPO+:} false; then :
6178
6646
  $as_echo_n "(cached) " >&6
6179
6647
else
6180
6648
  if test -n "$LIPO"; then
6214
6682
set dummy lipo; ac_word=$2
6215
6683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6216
6684
$as_echo_n "checking for $ac_word... " >&6; }
6217
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6685
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6218
6686
  $as_echo_n "(cached) " >&6
6219
6687
else
6220
6688
  if test -n "$ac_ct_LIPO"; then
6266
6734
set dummy ${ac_tool_prefix}otool; ac_word=$2
6267
6735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6268
6736
$as_echo_n "checking for $ac_word... " >&6; }
6269
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6737
if ${ac_cv_prog_OTOOL+:} false; then :
6270
6738
  $as_echo_n "(cached) " >&6
6271
6739
else
6272
6740
  if test -n "$OTOOL"; then
6306
6774
set dummy otool; ac_word=$2
6307
6775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308
6776
$as_echo_n "checking for $ac_word... " >&6; }
6309
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6777
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6310
6778
  $as_echo_n "(cached) " >&6
6311
6779
else
6312
6780
  if test -n "$ac_ct_OTOOL"; then
6358
6826
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6359
6827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6360
6828
$as_echo_n "checking for $ac_word... " >&6; }
6361
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6829
if ${ac_cv_prog_OTOOL64+:} false; then :
6362
6830
  $as_echo_n "(cached) " >&6
6363
6831
else
6364
6832
  if test -n "$OTOOL64"; then
6398
6866
set dummy otool64; ac_word=$2
6399
6867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400
6868
$as_echo_n "checking for $ac_word... " >&6; }
6401
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6869
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6402
6870
  $as_echo_n "(cached) " >&6
6403
6871
else
6404
6872
  if test -n "$ac_ct_OTOOL64"; then
6473
6941
 
6474
6942
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6475
6943
$as_echo_n "checking for -single_module linker flag... " >&6; }
6476
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
6944
if ${lt_cv_apple_cc_single_mod+:} false; then :
6477
6945
  $as_echo_n "(cached) " >&6
6478
6946
else
6479
6947
  lt_cv_apple_cc_single_mod=no
6502
6970
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6503
6971
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6504
6972
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6505
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
6973
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6506
6974
  $as_echo_n "(cached) " >&6
6507
6975
else
6508
6976
  lt_cv_ld_exported_symbols_list=no
6532
7000
fi
6533
7001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6534
7002
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7003
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7004
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7005
if ${lt_cv_ld_force_load+:} false; then :
 
7006
  $as_echo_n "(cached) " >&6
 
7007
else
 
7008
  lt_cv_ld_force_load=no
 
7009
      cat > conftest.c << _LT_EOF
 
7010
int forced_loaded() { return 2;}
 
7011
_LT_EOF
 
7012
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7013
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7014
      echo "$AR cru libconftest.a conftest.o" >&5
 
7015
      $AR cru libconftest.a conftest.o 2>&5
 
7016
      echo "$RANLIB libconftest.a" >&5
 
7017
      $RANLIB libconftest.a 2>&5
 
7018
      cat > conftest.c << _LT_EOF
 
7019
int main() { return 0;}
 
7020
_LT_EOF
 
7021
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7022
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7023
      _lt_result=$?
 
7024
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7025
        lt_cv_ld_force_load=yes
 
7026
      else
 
7027
        cat conftest.err >&5
 
7028
      fi
 
7029
        rm -f conftest.err libconftest.a conftest conftest.c
 
7030
        rm -rf conftest.dSYM
 
7031
 
 
7032
fi
 
7033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7034
$as_echo "$lt_cv_ld_force_load" >&6; }
6535
7035
    case $host_os in
6536
7036
    rhapsody* | darwin1.[012])
6537
7037
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6559
7059
    else
6560
7060
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6561
7061
    fi
6562
 
    if test "$DSYMUTIL" != ":"; then
 
7062
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6563
7063
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6564
7064
    else
6565
7065
      _lt_dsymutil=
6579
7079
  CPP=
6580
7080
fi
6581
7081
if test -z "$CPP"; then
6582
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7082
  if ${ac_cv_prog_CPP+:} false; then :
6583
7083
  $as_echo_n "(cached) " >&6
6584
7084
else
6585
7085
      # Double quotes because CPP needs to be expanded
6695
7195
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6696
7196
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6697
7197
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6698
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7198
See \`config.log' for more details" "$LINENO" 5; }
6699
7199
fi
6700
7200
 
6701
7201
ac_ext=c
6707
7207
 
6708
7208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6709
7209
$as_echo_n "checking for ANSI C header files... " >&6; }
6710
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
7210
if ${ac_cv_header_stdc+:} false; then :
6711
7211
  $as_echo_n "(cached) " >&6
6712
7212
else
6713
7213
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6838
7338
do :
6839
7339
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6840
7340
"
6841
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7341
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6842
7342
  cat >>confdefs.h <<_ACEOF
6843
7343
#define HAVE_DLFCN_H 1
6844
7344
_ACEOF
6849
7349
 
6850
7350
 
6851
7351
 
 
7352
 
 
7353
 
6852
7354
# Set options
6853
7355
 
6854
7356
 
7001
7503
 
7002
7504
 
7003
7505
 
 
7506
 
7004
7507
test -z "$LN_S" && LN_S="ln -s"
7005
7508
 
7006
7509
 
7022
7525
 
7023
7526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7024
7527
$as_echo_n "checking for objdir... " >&6; }
7025
 
if test "${lt_cv_objdir+set}" = set; then :
 
7528
if ${lt_cv_objdir+:} false; then :
7026
7529
  $as_echo_n "(cached) " >&6
7027
7530
else
7028
7531
  rm -f .libs 2>/dev/null
7050
7553
 
7051
7554
 
7052
7555
 
7053
 
 
7054
 
 
7055
 
 
7056
 
 
7057
 
 
7058
 
 
7059
 
 
7060
 
 
7061
 
 
7062
 
 
7063
 
 
7064
 
 
7065
 
 
7066
7556
case $host_os in
7067
7557
aix3*)
7068
7558
  # AIX sometimes has problems with the GCC collect2 program.  For some
7075
7565
  ;;
7076
7566
esac
7077
7567
 
7078
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7079
 
# metacharacters that are still active within double-quoted strings.
7080
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7081
 
 
7082
 
# Same as above, but do not quote variable references.
7083
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7084
 
 
7085
 
# Sed substitution to delay expansion of an escaped shell variable in a
7086
 
# double_quote_subst'ed string.
7087
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7088
 
 
7089
 
# Sed substitution to delay expansion of an escaped single quote.
7090
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7091
 
 
7092
 
# Sed substitution to avoid accidental globbing in evaled expressions
7093
 
no_glob_subst='s/\*/\\\*/g'
7094
 
 
7095
7568
# Global variables:
7096
7569
ofile=libtool
7097
7570
can_build_shared=yes
7120
7593
    *) break;;
7121
7594
  esac
7122
7595
done
7123
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7596
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7124
7597
 
7125
7598
 
7126
7599
# Only perform the check for file, if the check method requires it
7130
7603
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7131
7604
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7132
7605
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7133
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7606
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7134
7607
  $as_echo_n "(cached) " >&6
7135
7608
else
7136
7609
  case $MAGIC_CMD in
7196
7669
  if test -n "$ac_tool_prefix"; then
7197
7670
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7198
7671
$as_echo_n "checking for file... " >&6; }
7199
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7672
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7200
7673
  $as_echo_n "(cached) " >&6
7201
7674
else
7202
7675
  case $MAGIC_CMD in
7329
7802
lt_prog_compiler_no_builtin_flag=
7330
7803
 
7331
7804
if test "$GCC" = yes; then
7332
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7805
  case $cc_basename in
 
7806
  nvcc*)
 
7807
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
7808
  *)
 
7809
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
7810
  esac
7333
7811
 
7334
7812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7335
7813
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7336
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
7814
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7337
7815
  $as_echo_n "(cached) " >&6
7338
7816
else
7339
7817
  lt_cv_prog_compiler_rtti_exceptions=no
7349
7827
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7350
7828
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7351
7829
   -e 's:$: $lt_compiler_flag:'`
7352
 
   (eval echo "\"\$as_me:7352: $lt_compile\"" >&5)
 
7830
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7353
7831
   (eval "$lt_compile" 2>conftest.err)
7354
7832
   ac_status=$?
7355
7833
   cat conftest.err >&5
7356
 
   echo "$as_me:7356: \$? = $ac_status" >&5
 
7834
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357
7835
   if (exit $ac_status) && test -s "$ac_outfile"; then
7358
7836
     # The compiler can only warn and ignore the option if not recognized
7359
7837
     # So say no if there are warnings other than the usual output.
7360
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7838
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7361
7839
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7362
7840
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7363
7841
       lt_cv_prog_compiler_rtti_exceptions=yes
7386
7864
lt_prog_compiler_pic=
7387
7865
lt_prog_compiler_static=
7388
7866
 
7389
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7390
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7391
7867
 
7392
7868
  if test "$GCC" = yes; then
7393
7869
    lt_prog_compiler_wl='-Wl,'
7435
7911
      lt_prog_compiler_pic='-fno-common'
7436
7912
      ;;
7437
7913
 
 
7914
    haiku*)
 
7915
      # PIC is the default for Haiku.
 
7916
      # The "-static" flag exists, but is broken.
 
7917
      lt_prog_compiler_static=
 
7918
      ;;
 
7919
 
7438
7920
    hpux*)
7439
7921
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7440
7922
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7477
7959
      lt_prog_compiler_pic='-fPIC'
7478
7960
      ;;
7479
7961
    esac
 
7962
 
 
7963
    case $cc_basename in
 
7964
    nvcc*) # Cuda Compiler Driver 2.2
 
7965
      lt_prog_compiler_wl='-Xlinker '
 
7966
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
7967
      ;;
 
7968
    esac
7480
7969
  else
7481
7970
    # PORTME Check for flag to pass linker flags through the system compiler.
7482
7971
    case $host_os in
7539
8028
        lt_prog_compiler_pic='--shared'
7540
8029
        lt_prog_compiler_static='--static'
7541
8030
        ;;
7542
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8031
      nagfor*)
 
8032
        # NAG Fortran compiler
 
8033
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8034
        lt_prog_compiler_pic='-PIC'
 
8035
        lt_prog_compiler_static='-Bstatic'
 
8036
        ;;
 
8037
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7543
8038
        # Portland Group compilers (*not* the Pentium gcc compiler,
7544
8039
        # which looks to be a dead project)
7545
8040
        lt_prog_compiler_wl='-Wl,'
7551
8046
        # All Alpha code is PIC.
7552
8047
        lt_prog_compiler_static='-non_shared'
7553
8048
        ;;
7554
 
      xl*)
7555
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8049
      xl* | bgxl* | bgf* | mpixl*)
 
8050
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7556
8051
        lt_prog_compiler_wl='-Wl,'
7557
8052
        lt_prog_compiler_pic='-qpic'
7558
8053
        lt_prog_compiler_static='-qstaticlink'
7559
8054
        ;;
7560
8055
      *)
7561
8056
        case `$CC -V 2>&1 | sed 5q` in
 
8057
        *Sun\ F* | *Sun*Fortran*)
 
8058
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8059
          lt_prog_compiler_pic='-KPIC'
 
8060
          lt_prog_compiler_static='-Bstatic'
 
8061
          lt_prog_compiler_wl=''
 
8062
          ;;
7562
8063
        *Sun\ C*)
7563
8064
          # Sun C 5.9
7564
8065
          lt_prog_compiler_pic='-KPIC'
7565
8066
          lt_prog_compiler_static='-Bstatic'
7566
8067
          lt_prog_compiler_wl='-Wl,'
7567
8068
          ;;
7568
 
        *Sun\ F*)
7569
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7570
 
          lt_prog_compiler_pic='-KPIC'
7571
 
          lt_prog_compiler_static='-Bstatic'
7572
 
          lt_prog_compiler_wl=''
7573
 
          ;;
7574
8069
        esac
7575
8070
        ;;
7576
8071
      esac
7601
8096
      lt_prog_compiler_pic='-KPIC'
7602
8097
      lt_prog_compiler_static='-Bstatic'
7603
8098
      case $cc_basename in
7604
 
      f77* | f90* | f95*)
 
8099
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7605
8100
        lt_prog_compiler_wl='-Qoption ld ';;
7606
8101
      *)
7607
8102
        lt_prog_compiler_wl='-Wl,';;
7658
8153
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7659
8154
    ;;
7660
8155
esac
7661
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7662
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7663
 
 
7664
 
 
7665
 
 
7666
 
 
7667
 
 
 
8156
 
 
8157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8158
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8159
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8160
  $as_echo_n "(cached) " >&6
 
8161
else
 
8162
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8163
fi
 
8164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8165
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8166
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7668
8167
 
7669
8168
#
7670
8169
# Check to make sure the PIC flag actually works.
7672
8171
if test -n "$lt_prog_compiler_pic"; then
7673
8172
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7674
8173
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7675
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8174
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7676
8175
  $as_echo_n "(cached) " >&6
7677
8176
else
7678
8177
  lt_cv_prog_compiler_pic_works=no
7688
8187
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7689
8188
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7690
8189
   -e 's:$: $lt_compiler_flag:'`
7691
 
   (eval echo "\"\$as_me:7691: $lt_compile\"" >&5)
 
8190
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7692
8191
   (eval "$lt_compile" 2>conftest.err)
7693
8192
   ac_status=$?
7694
8193
   cat conftest.err >&5
7695
 
   echo "$as_me:7695: \$? = $ac_status" >&5
 
8194
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696
8195
   if (exit $ac_status) && test -s "$ac_outfile"; then
7697
8196
     # The compiler can only warn and ignore the option if not recognized
7698
8197
     # So say no if there are warnings other than the usual output.
7699
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8198
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7700
8199
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7701
8200
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7702
8201
       lt_cv_prog_compiler_pic_works=yes
7725
8224
 
7726
8225
 
7727
8226
 
 
8227
 
 
8228
 
 
8229
 
 
8230
 
 
8231
 
7728
8232
#
7729
8233
# Check to make sure the static flag actually works.
7730
8234
#
7731
8235
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7732
8236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7733
8237
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7734
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8238
if ${lt_cv_prog_compiler_static_works+:} false; then :
7735
8239
  $as_echo_n "(cached) " >&6
7736
8240
else
7737
8241
  lt_cv_prog_compiler_static_works=no
7744
8248
     if test -s conftest.err; then
7745
8249
       # Append any errors to the config.log.
7746
8250
       cat conftest.err 1>&5
7747
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8251
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7748
8252
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7749
8253
       if diff conftest.exp conftest.er2 >/dev/null; then
7750
8254
         lt_cv_prog_compiler_static_works=yes
7774
8278
 
7775
8279
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7776
8280
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7777
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8281
if ${lt_cv_prog_compiler_c_o+:} false; then :
7778
8282
  $as_echo_n "(cached) " >&6
7779
8283
else
7780
8284
  lt_cv_prog_compiler_c_o=no
7793
8297
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7794
8298
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7795
8299
   -e 's:$: $lt_compiler_flag:'`
7796
 
   (eval echo "\"\$as_me:7796: $lt_compile\"" >&5)
 
8300
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7797
8301
   (eval "$lt_compile" 2>out/conftest.err)
7798
8302
   ac_status=$?
7799
8303
   cat out/conftest.err >&5
7800
 
   echo "$as_me:7800: \$? = $ac_status" >&5
 
8304
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801
8305
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7802
8306
   then
7803
8307
     # The compiler can only warn and ignore the option if not recognized
7804
8308
     # So say no if there are warnings
7805
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8309
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7806
8310
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7807
8311
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7808
8312
       lt_cv_prog_compiler_c_o=yes
7829
8333
 
7830
8334
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7831
8335
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7832
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8336
if ${lt_cv_prog_compiler_c_o+:} false; then :
7833
8337
  $as_echo_n "(cached) " >&6
7834
8338
else
7835
8339
  lt_cv_prog_compiler_c_o=no
7848
8352
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7849
8353
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7850
8354
   -e 's:$: $lt_compiler_flag:'`
7851
 
   (eval echo "\"\$as_me:7851: $lt_compile\"" >&5)
 
8355
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7852
8356
   (eval "$lt_compile" 2>out/conftest.err)
7853
8357
   ac_status=$?
7854
8358
   cat out/conftest.err >&5
7855
 
   echo "$as_me:7855: \$? = $ac_status" >&5
 
8359
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856
8360
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7857
8361
   then
7858
8362
     # The compiler can only warn and ignore the option if not recognized
7859
8363
     # So say no if there are warnings
7860
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8364
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7861
8365
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7862
8366
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7863
8367
       lt_cv_prog_compiler_c_o=yes
7967
8471
  openbsd*)
7968
8472
    with_gnu_ld=no
7969
8473
    ;;
7970
 
  linux* | k*bsd*-gnu)
7971
 
    link_all_deplibs=no
7972
 
    ;;
7973
8474
  esac
7974
8475
 
7975
8476
  ld_shlibs=yes
 
8477
 
 
8478
  # On some targets, GNU ld is compatible enough with the native linker
 
8479
  # that we're better off using the native interface for both.
 
8480
  lt_use_gnu_ld_interface=no
7976
8481
  if test "$with_gnu_ld" = yes; then
 
8482
    case $host_os in
 
8483
      aix*)
 
8484
        # The AIX port of GNU ld has always aspired to compatibility
 
8485
        # with the native linker.  However, as the warning in the GNU ld
 
8486
        # block says, versions before 2.19.5* couldn't really create working
 
8487
        # shared libraries, regardless of the interface used.
 
8488
        case `$LD -v 2>&1` in
 
8489
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8490
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8491
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8492
          *)
 
8493
            lt_use_gnu_ld_interface=yes
 
8494
            ;;
 
8495
        esac
 
8496
        ;;
 
8497
      *)
 
8498
        lt_use_gnu_ld_interface=yes
 
8499
        ;;
 
8500
    esac
 
8501
  fi
 
8502
 
 
8503
  if test "$lt_use_gnu_ld_interface" = yes; then
7977
8504
    # If archive_cmds runs LD, not CC, wlarc should be empty
7978
8505
    wlarc='${wl}'
7979
8506
 
8007
8534
        ld_shlibs=no
8008
8535
        cat <<_LT_EOF 1>&2
8009
8536
 
8010
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8537
*** Warning: the GNU linker, at least up to release 2.19, is reported
8011
8538
*** to be unable to reliably create shared libraries on AIX.
8012
8539
*** Therefore, libtool is disabling shared libraries support.  If you
8013
 
*** really care for shared libraries, you may want to modify your PATH
8014
 
*** so that a non-GNU linker is found, and then restart.
 
8540
*** really care for shared libraries, you may want to install binutils
 
8541
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8542
*** You will then need to restart the configuration process.
8015
8543
 
8016
8544
_LT_EOF
8017
8545
      fi
8047
8575
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8048
8576
      # as there is no search path for DLLs.
8049
8577
      hardcode_libdir_flag_spec='-L$libdir'
 
8578
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8050
8579
      allow_undefined_flag=unsupported
8051
8580
      always_export_symbols=no
8052
8581
      enable_shared_with_static_runtimes=yes
8053
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8582
      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'
 
8583
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8054
8584
 
8055
8585
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8056
8586
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8068
8598
      fi
8069
8599
      ;;
8070
8600
 
 
8601
    haiku*)
 
8602
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8603
      link_all_deplibs=yes
 
8604
      ;;
 
8605
 
8071
8606
    interix[3-9]*)
8072
8607
      hardcode_direct=no
8073
8608
      hardcode_shlibpath_var=no
8093
8628
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8094
8629
         && test "$tmp_diet" = no
8095
8630
      then
8096
 
        tmp_addflag=
 
8631
        tmp_addflag=' $pic_flag'
8097
8632
        tmp_sharedflag='-shared'
8098
8633
        case $cc_basename,$host_cpu in
8099
8634
        pgcc*)                          # Portland Group C compiler
8100
 
          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'
 
8635
          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'
8101
8636
          tmp_addflag=' $pic_flag'
8102
8637
          ;;
8103
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8104
 
          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'
 
8638
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8639
                                        # Portland Group f77 and f90 compilers
 
8640
          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'
8105
8641
          tmp_addflag=' $pic_flag -Mnomain' ;;
8106
8642
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8107
8643
          tmp_addflag=' -i_dynamic' ;;
8112
8648
        lf95*)                          # Lahey Fortran 8.1
8113
8649
          whole_archive_flag_spec=
8114
8650
          tmp_sharedflag='--shared' ;;
8115
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8651
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8116
8652
          tmp_sharedflag='-qmkshrobj'
8117
8653
          tmp_addflag= ;;
 
8654
        nvcc*)  # Cuda Compiler Driver 2.2
 
8655
          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'
 
8656
          compiler_needs_object=yes
 
8657
          ;;
8118
8658
        esac
8119
8659
        case `$CC -V 2>&1 | sed 5q` in
8120
8660
        *Sun\ C*)                       # Sun C 5.9
8121
 
          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'
 
8661
          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'
8122
8662
          compiler_needs_object=yes
8123
8663
          tmp_sharedflag='-G' ;;
8124
8664
        *Sun\ F*)                       # Sun Fortran 8.3
8134
8674
        fi
8135
8675
 
8136
8676
        case $cc_basename in
8137
 
        xlf*)
 
8677
        xlf* | bgf* | bgxlf* | mpixlf*)
8138
8678
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8139
8679
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8140
8680
          hardcode_libdir_flag_spec=
8141
8681
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8142
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8682
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8143
8683
          if test "x$supports_anon_versioning" = xyes; then
8144
8684
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8145
8685
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8146
8686
              echo "local: *; };" >> $output_objdir/$libname.ver~
8147
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8687
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8148
8688
          fi
8149
8689
          ;;
8150
8690
        esac
8153
8693
      fi
8154
8694
      ;;
8155
8695
 
8156
 
    netbsd* | netbsdelf*-gnu)
 
8696
    netbsd*)
8157
8697
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8158
8698
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8159
8699
        wlarc=
8160
8700
      else
8161
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8162
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8701
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8702
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8163
8703
      fi
8164
8704
      ;;
8165
8705
 
8177
8717
 
8178
8718
_LT_EOF
8179
8719
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8180
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8181
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8720
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8721
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8182
8722
      else
8183
8723
        ld_shlibs=no
8184
8724
      fi
8224
8764
 
8225
8765
    *)
8226
8766
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8227
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8228
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8767
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8768
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8229
8769
      else
8230
8770
        ld_shlibs=no
8231
8771
      fi
8265
8805
      else
8266
8806
        # If we're using GNU nm, then we don't want the "-C" option.
8267
8807
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8808
        # Also, AIX nm treats weak defined symbols like other global
 
8809
        # defined symbols, whereas GNU nm marks them as "W".
8268
8810
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8269
 
          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'
 
8811
          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'
8270
8812
        else
8271
8813
          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'
8272
8814
        fi
8328
8870
        if test "$aix_use_runtimelinking" = yes; then
8329
8871
          shared_flag="$shared_flag "'${wl}-G'
8330
8872
        fi
8331
 
        link_all_deplibs=no
8332
8873
      else
8333
8874
        # not using gcc
8334
8875
        if test "$host_cpu" = ia64; then
8354
8895
        allow_undefined_flag='-berok'
8355
8896
        # Determine the default libpath from the value encoded in an
8356
8897
        # empty executable.
8357
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8898
        if test "${lt_cv_aix_libpath+set}" = set; then
 
8899
  aix_libpath=$lt_cv_aix_libpath
 
8900
else
 
8901
  if ${lt_cv_aix_libpath_+:} false; then :
 
8902
  $as_echo_n "(cached) " >&6
 
8903
else
 
8904
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358
8905
/* end confdefs.h.  */
8359
8906
 
8360
8907
int
8367
8914
_ACEOF
8368
8915
if ac_fn_c_try_link "$LINENO"; then :
8369
8916
 
8370
 
lt_aix_libpath_sed='
8371
 
    /Import File Strings/,/^$/ {
8372
 
        /^0/ {
8373
 
            s/^0  *\(.*\)$/\1/
8374
 
            p
8375
 
        }
8376
 
    }'
8377
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8378
 
# Check for a 64-bit object if we didn't find anything.
8379
 
if test -z "$aix_libpath"; then
8380
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8381
 
fi
 
8917
  lt_aix_libpath_sed='
 
8918
      /Import File Strings/,/^$/ {
 
8919
          /^0/ {
 
8920
              s/^0  *\([^ ]*\) *$/\1/
 
8921
              p
 
8922
          }
 
8923
      }'
 
8924
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8925
  # Check for a 64-bit object if we didn't find anything.
 
8926
  if test -z "$lt_cv_aix_libpath_"; then
 
8927
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8928
  fi
8382
8929
fi
8383
8930
rm -f core conftest.err conftest.$ac_objext \
8384
8931
    conftest$ac_exeext conftest.$ac_ext
8385
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8932
  if test -z "$lt_cv_aix_libpath_"; then
 
8933
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
8934
  fi
 
8935
 
 
8936
fi
 
8937
 
 
8938
  aix_libpath=$lt_cv_aix_libpath_
 
8939
fi
8386
8940
 
8387
8941
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8388
 
        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"
 
8942
        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"
8389
8943
      else
8390
8944
        if test "$host_cpu" = ia64; then
8391
8945
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8394
8948
        else
8395
8949
         # Determine the default libpath from the value encoded in an
8396
8950
         # empty executable.
8397
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8951
         if test "${lt_cv_aix_libpath+set}" = set; then
 
8952
  aix_libpath=$lt_cv_aix_libpath
 
8953
else
 
8954
  if ${lt_cv_aix_libpath_+:} false; then :
 
8955
  $as_echo_n "(cached) " >&6
 
8956
else
 
8957
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398
8958
/* end confdefs.h.  */
8399
8959
 
8400
8960
int
8407
8967
_ACEOF
8408
8968
if ac_fn_c_try_link "$LINENO"; then :
8409
8969
 
8410
 
lt_aix_libpath_sed='
8411
 
    /Import File Strings/,/^$/ {
8412
 
        /^0/ {
8413
 
            s/^0  *\(.*\)$/\1/
8414
 
            p
8415
 
        }
8416
 
    }'
8417
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8418
 
# Check for a 64-bit object if we didn't find anything.
8419
 
if test -z "$aix_libpath"; then
8420
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8421
 
fi
 
8970
  lt_aix_libpath_sed='
 
8971
      /Import File Strings/,/^$/ {
 
8972
          /^0/ {
 
8973
              s/^0  *\([^ ]*\) *$/\1/
 
8974
              p
 
8975
          }
 
8976
      }'
 
8977
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8978
  # Check for a 64-bit object if we didn't find anything.
 
8979
  if test -z "$lt_cv_aix_libpath_"; then
 
8980
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8981
  fi
8422
8982
fi
8423
8983
rm -f core conftest.err conftest.$ac_objext \
8424
8984
    conftest$ac_exeext conftest.$ac_ext
8425
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8985
  if test -z "$lt_cv_aix_libpath_"; then
 
8986
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
8987
  fi
 
8988
 
 
8989
fi
 
8990
 
 
8991
  aix_libpath=$lt_cv_aix_libpath_
 
8992
fi
8426
8993
 
8427
8994
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8428
8995
          # Warning - without using the other run time loading flags,
8429
8996
          # -berok will link without error, but may produce a broken library.
8430
8997
          no_undefined_flag=' ${wl}-bernotok'
8431
8998
          allow_undefined_flag=' ${wl}-berok'
8432
 
          # Exported symbols can be pulled into shared objects from archives
8433
 
          whole_archive_flag_spec='$convenience'
 
8999
          if test "$with_gnu_ld" = yes; then
 
9000
            # We only use this code for GNU lds that support --whole-archive.
 
9001
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9002
          else
 
9003
            # Exported symbols can be pulled into shared objects from archives
 
9004
            whole_archive_flag_spec='$convenience'
 
9005
          fi
8434
9006
          archive_cmds_need_lc=yes
8435
9007
          # This is similar to how AIX traditionally builds its shared libraries.
8436
9008
          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'
8462
9034
      # Microsoft Visual C++.
8463
9035
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8464
9036
      # no search path for DLLs.
8465
 
      hardcode_libdir_flag_spec=' '
8466
 
      allow_undefined_flag=unsupported
8467
 
      # Tell ltmain to make .lib files, not .a files.
8468
 
      libext=lib
8469
 
      # Tell ltmain to make .dll files, not .so files.
8470
 
      shrext_cmds=".dll"
8471
 
      # FIXME: Setting linknames here is a bad hack.
8472
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8473
 
      # The linker will automatically build a .lib file if we build a DLL.
8474
 
      old_archive_from_new_cmds='true'
8475
 
      # FIXME: Should let the user specify the lib program.
8476
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8477
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8478
 
      enable_shared_with_static_runtimes=yes
 
9037
      case $cc_basename in
 
9038
      cl*)
 
9039
        # Native MSVC
 
9040
        hardcode_libdir_flag_spec=' '
 
9041
        allow_undefined_flag=unsupported
 
9042
        always_export_symbols=yes
 
9043
        file_list_spec='@'
 
9044
        # Tell ltmain to make .lib files, not .a files.
 
9045
        libext=lib
 
9046
        # Tell ltmain to make .dll files, not .so files.
 
9047
        shrext_cmds=".dll"
 
9048
        # FIXME: Setting linknames here is a bad hack.
 
9049
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9050
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9051
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9052
          else
 
9053
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9054
          fi~
 
9055
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9056
          linknames='
 
9057
        # The linker will not automatically build a static lib if we build a DLL.
 
9058
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9059
        enable_shared_with_static_runtimes=yes
 
9060
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9061
        # Don't use ranlib
 
9062
        old_postinstall_cmds='chmod 644 $oldlib'
 
9063
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9064
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9065
          case $lt_outputfile in
 
9066
            *.exe|*.EXE) ;;
 
9067
            *)
 
9068
              lt_outputfile="$lt_outputfile.exe"
 
9069
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9070
              ;;
 
9071
          esac~
 
9072
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9073
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9074
            $RM "$lt_outputfile.manifest";
 
9075
          fi'
 
9076
        ;;
 
9077
      *)
 
9078
        # Assume MSVC wrapper
 
9079
        hardcode_libdir_flag_spec=' '
 
9080
        allow_undefined_flag=unsupported
 
9081
        # Tell ltmain to make .lib files, not .a files.
 
9082
        libext=lib
 
9083
        # Tell ltmain to make .dll files, not .so files.
 
9084
        shrext_cmds=".dll"
 
9085
        # FIXME: Setting linknames here is a bad hack.
 
9086
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9087
        # The linker will automatically build a .lib file if we build a DLL.
 
9088
        old_archive_from_new_cmds='true'
 
9089
        # FIXME: Should let the user specify the lib program.
 
9090
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9091
        enable_shared_with_static_runtimes=yes
 
9092
        ;;
 
9093
      esac
8479
9094
      ;;
8480
9095
 
8481
9096
    darwin* | rhapsody*)
8485
9100
  hardcode_direct=no
8486
9101
  hardcode_automatic=yes
8487
9102
  hardcode_shlibpath_var=unsupported
8488
 
  whole_archive_flag_spec=''
 
9103
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9104
    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\"`'
 
9105
  else
 
9106
    whole_archive_flag_spec=''
 
9107
  fi
8489
9108
  link_all_deplibs=yes
8490
9109
  allow_undefined_flag="$_lt_dar_allow_undefined"
8491
9110
  case $cc_basename in
8493
9112
     *) _lt_dar_can_shared=$GCC ;;
8494
9113
  esac
8495
9114
  if test "$_lt_dar_can_shared" = "yes"; then
8496
 
    output_verbose_link_cmd=echo
 
9115
    output_verbose_link_cmd=func_echo_all
8497
9116
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8498
9117
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8499
9118
    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}"
8536
9155
 
8537
9156
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8538
9157
    freebsd* | dragonfly*)
8539
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9158
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8540
9159
      hardcode_libdir_flag_spec='-R$libdir'
8541
9160
      hardcode_direct=yes
8542
9161
      hardcode_shlibpath_var=no
8544
9163
 
8545
9164
    hpux9*)
8546
9165
      if test "$GCC" = yes; then
8547
 
        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'
 
9166
        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'
8548
9167
      else
8549
9168
        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'
8550
9169
      fi
8559
9178
      ;;
8560
9179
 
8561
9180
    hpux10*)
8562
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8563
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9181
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9182
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8564
9183
      else
8565
9184
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8566
9185
      fi
8578
9197
      ;;
8579
9198
 
8580
9199
    hpux11*)
8581
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9200
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8582
9201
        case $host_cpu in
8583
9202
        hppa*64*)
8584
9203
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8585
9204
          ;;
8586
9205
        ia64*)
8587
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9206
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8588
9207
          ;;
8589
9208
        *)
8590
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9209
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8591
9210
          ;;
8592
9211
        esac
8593
9212
      else
8599
9218
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8600
9219
          ;;
8601
9220
        *)
8602
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9221
 
 
9222
          # Older versions of the 11.00 compiler do not understand -b yet
 
9223
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9224
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9225
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9226
if ${lt_cv_prog_compiler__b+:} false; then :
 
9227
  $as_echo_n "(cached) " >&6
 
9228
else
 
9229
  lt_cv_prog_compiler__b=no
 
9230
   save_LDFLAGS="$LDFLAGS"
 
9231
   LDFLAGS="$LDFLAGS -b"
 
9232
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9233
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9234
     # The linker can only warn and ignore the option if not recognized
 
9235
     # So say no if there are warnings
 
9236
     if test -s conftest.err; then
 
9237
       # Append any errors to the config.log.
 
9238
       cat conftest.err 1>&5
 
9239
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9240
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9241
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9242
         lt_cv_prog_compiler__b=yes
 
9243
       fi
 
9244
     else
 
9245
       lt_cv_prog_compiler__b=yes
 
9246
     fi
 
9247
   fi
 
9248
   $RM -r conftest*
 
9249
   LDFLAGS="$save_LDFLAGS"
 
9250
 
 
9251
fi
 
9252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9253
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9254
 
 
9255
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9256
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9257
else
 
9258
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9259
fi
 
9260
 
8603
9261
          ;;
8604
9262
        esac
8605
9263
      fi
8627
9285
 
8628
9286
    irix5* | irix6* | nonstopux*)
8629
9287
      if test "$GCC" = yes; then
8630
 
        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'
 
9288
        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'
8631
9289
        # Try to use the -exported_symbol ld option, if it does not
8632
9290
        # work, assume that -exports_file does not work either and
8633
9291
        # implicitly export all symbols.
8634
 
        save_LDFLAGS="$LDFLAGS"
8635
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8636
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9292
        # This should be the same for all languages, so no per-tag cache variable.
 
9293
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9294
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9295
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9296
  $as_echo_n "(cached) " >&6
 
9297
else
 
9298
  save_LDFLAGS="$LDFLAGS"
 
9299
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9300
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637
9301
/* end confdefs.h.  */
8638
 
int foo(void) {}
 
9302
int foo (void) { return 0; }
8639
9303
_ACEOF
8640
9304
if ac_fn_c_try_link "$LINENO"; then :
8641
 
  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'
8642
 
 
 
9305
  lt_cv_irix_exported_symbol=yes
 
9306
else
 
9307
  lt_cv_irix_exported_symbol=no
8643
9308
fi
8644
9309
rm -f core conftest.err conftest.$ac_objext \
8645
9310
    conftest$ac_exeext conftest.$ac_ext
8646
 
        LDFLAGS="$save_LDFLAGS"
 
9311
           LDFLAGS="$save_LDFLAGS"
 
9312
fi
 
9313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9314
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9315
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9316
          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'
 
9317
        fi
8647
9318
      else
8648
 
        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'
8649
 
        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'
 
9319
        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'
 
9320
        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'
8650
9321
      fi
8651
9322
      archive_cmds_need_lc='no'
8652
9323
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8655
9326
      link_all_deplibs=yes
8656
9327
      ;;
8657
9328
 
8658
 
    netbsd* | netbsdelf*-gnu)
 
9329
    netbsd*)
8659
9330
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8660
9331
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8661
9332
      else
8708
9379
      hardcode_libdir_flag_spec='-L$libdir'
8709
9380
      hardcode_minus_L=yes
8710
9381
      allow_undefined_flag=unsupported
8711
 
      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'
 
9382
      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'
8712
9383
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8713
9384
      ;;
8714
9385
 
8715
9386
    osf3*)
8716
9387
      if test "$GCC" = yes; then
8717
9388
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8718
 
        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'
 
9389
        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'
8719
9390
      else
8720
9391
        allow_undefined_flag=' -expect_unresolved \*'
8721
 
        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'
 
9392
        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'
8722
9393
      fi
8723
9394
      archive_cmds_need_lc='no'
8724
9395
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8728
9399
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8729
9400
      if test "$GCC" = yes; then
8730
9401
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8731
 
        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'
 
9402
        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'
8732
9403
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8733
9404
      else
8734
9405
        allow_undefined_flag=' -expect_unresolved \*'
8735
 
        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'
 
9406
        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'
8736
9407
        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~
8737
 
        $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'
 
9408
        $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'
8738
9409
 
8739
9410
        # Both c and cxx compiler support -rpath directly
8740
9411
        hardcode_libdir_flag_spec='-rpath $libdir'
8747
9418
      no_undefined_flag=' -z defs'
8748
9419
      if test "$GCC" = yes; then
8749
9420
        wlarc='${wl}'
8750
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9421
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8751
9422
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8752
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9423
          $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'
8753
9424
      else
8754
9425
        case `$CC -V 2>&1` in
8755
9426
        *"Compilers 5.0"*)
8937
9608
      # to ld, don't add -lc before -lgcc.
8938
9609
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8939
9610
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8940
 
      $RM conftest*
8941
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9611
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9612
  $as_echo_n "(cached) " >&6
 
9613
else
 
9614
  $RM conftest*
 
9615
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8942
9616
 
8943
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9617
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8944
9618
  (eval $ac_compile) 2>&5
8945
9619
  ac_status=$?
8946
9620
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8947
9621
  test $ac_status = 0; } 2>conftest.err; then
8948
 
        soname=conftest
8949
 
        lib=conftest
8950
 
        libobjs=conftest.$ac_objext
8951
 
        deplibs=
8952
 
        wl=$lt_prog_compiler_wl
8953
 
        pic_flag=$lt_prog_compiler_pic
8954
 
        compiler_flags=-v
8955
 
        linker_flags=-v
8956
 
        verstring=
8957
 
        output_objdir=.
8958
 
        libname=conftest
8959
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8960
 
        allow_undefined_flag=
8961
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9622
          soname=conftest
 
9623
          lib=conftest
 
9624
          libobjs=conftest.$ac_objext
 
9625
          deplibs=
 
9626
          wl=$lt_prog_compiler_wl
 
9627
          pic_flag=$lt_prog_compiler_pic
 
9628
          compiler_flags=-v
 
9629
          linker_flags=-v
 
9630
          verstring=
 
9631
          output_objdir=.
 
9632
          libname=conftest
 
9633
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9634
          allow_undefined_flag=
 
9635
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8962
9636
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8963
9637
  ac_status=$?
8964
9638
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8965
9639
  test $ac_status = 0; }
8966
 
        then
8967
 
          archive_cmds_need_lc=no
8968
 
        else
8969
 
          archive_cmds_need_lc=yes
8970
 
        fi
8971
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8972
 
      else
8973
 
        cat conftest.err 1>&5
8974
 
      fi
8975
 
      $RM conftest*
8976
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8977
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9640
          then
 
9641
            lt_cv_archive_cmds_need_lc=no
 
9642
          else
 
9643
            lt_cv_archive_cmds_need_lc=yes
 
9644
          fi
 
9645
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9646
        else
 
9647
          cat conftest.err 1>&5
 
9648
        fi
 
9649
        $RM conftest*
 
9650
 
 
9651
fi
 
9652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9653
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9654
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
8978
9655
      ;;
8979
9656
    esac
8980
9657
  fi
9145
9822
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9146
9823
    *) lt_awk_arg="/^libraries:/" ;;
9147
9824
  esac
9148
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9149
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9825
  case $host_os in
 
9826
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
9827
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
9828
  esac
 
9829
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
9830
  case $lt_search_path_spec in
 
9831
  *\;*)
9150
9832
    # if the path contains ";" then we assume it to be the separator
9151
9833
    # otherwise default to the standard path separator (i.e. ":") - it is
9152
9834
    # assumed that no part of a normal pathname contains ";" but that should
9153
9835
    # okay in the real world where ";" in dirpaths is itself problematic.
9154
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9155
 
  else
9156
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9157
 
  fi
 
9836
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
9837
    ;;
 
9838
  *)
 
9839
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
9840
    ;;
 
9841
  esac
9158
9842
  # Ok, now we have the path, separated by spaces, we can step through it
9159
9843
  # and add multilib dir if necessary.
9160
9844
  lt_tmp_lt_search_path_spec=
9167
9851
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9168
9852
    fi
9169
9853
  done
9170
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9854
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9171
9855
BEGIN {RS=" "; FS="/|\n";} {
9172
9856
  lt_foo="";
9173
9857
  lt_count=0;
9187
9871
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9188
9872
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9189
9873
}'`
9190
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9874
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
9875
  # for these hosts.
 
9876
  case $host_os in
 
9877
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
9878
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
9879
  esac
 
9880
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9191
9881
else
9192
9882
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9193
9883
fi
9275
9965
  m68k)
9276
9966
    library_names_spec='$libname.ixlibrary $libname.a'
9277
9967
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9278
 
    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'
 
9968
    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'
9279
9969
    ;;
9280
9970
  esac
9281
9971
  ;;
9306
9996
  need_version=no
9307
9997
  need_lib_prefix=no
9308
9998
 
9309
 
  case $GCC,$host_os in
9310
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
9999
  case $GCC,$cc_basename in
 
10000
  yes,*)
 
10001
    # gcc
9311
10002
    library_names_spec='$libname.dll.a'
9312
10003
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9313
10004
    postinstall_cmds='base_file=`basename \${file}`~
9328
10019
    cygwin*)
9329
10020
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9330
10021
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9331
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10022
 
 
10023
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9332
10024
      ;;
9333
10025
    mingw* | cegcc*)
9334
10026
      # MinGW DLLs use traditional 'lib' prefix
9335
10027
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9336
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9337
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9338
 
        # It is most probably a Windows format PATH printed by
9339
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9340
 
        # path with ; separators, and with drive letters. We can handle the
9341
 
        # drive letters (cygwin fileutils understands them), so leave them,
9342
 
        # especially as we might pass files found there to a mingw objdump,
9343
 
        # which wouldn't understand a cygwinified path. Ahh.
9344
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9345
 
      else
9346
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9347
 
      fi
9348
10028
      ;;
9349
10029
    pw32*)
9350
10030
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9351
10031
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9352
10032
      ;;
9353
10033
    esac
 
10034
    dynamic_linker='Win32 ld.exe'
 
10035
    ;;
 
10036
 
 
10037
  *,cl*)
 
10038
    # Native MSVC
 
10039
    libname_spec='$name'
 
10040
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10041
    library_names_spec='${libname}.dll.lib'
 
10042
 
 
10043
    case $build_os in
 
10044
    mingw*)
 
10045
      sys_lib_search_path_spec=
 
10046
      lt_save_ifs=$IFS
 
10047
      IFS=';'
 
10048
      for lt_path in $LIB
 
10049
      do
 
10050
        IFS=$lt_save_ifs
 
10051
        # Let DOS variable expansion print the short 8.3 style file name.
 
10052
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10053
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10054
      done
 
10055
      IFS=$lt_save_ifs
 
10056
      # Convert to MSYS style.
 
10057
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10058
      ;;
 
10059
    cygwin*)
 
10060
      # Convert to unix form, then to dos form, then back to unix form
 
10061
      # but this time dos style (no spaces!) so that the unix form looks
 
10062
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10063
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10064
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10065
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10066
      ;;
 
10067
    *)
 
10068
      sys_lib_search_path_spec="$LIB"
 
10069
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10070
        # It is most probably a Windows format PATH.
 
10071
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10072
      else
 
10073
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10074
      fi
 
10075
      # FIXME: find the short name or the path components, as spaces are
 
10076
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10077
      ;;
 
10078
    esac
 
10079
 
 
10080
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10081
    postinstall_cmds='base_file=`basename \${file}`~
 
10082
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10083
      dldir=$destdir/`dirname \$dlpath`~
 
10084
      test -d \$dldir || mkdir -p \$dldir~
 
10085
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10086
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10087
      dlpath=$dir/\$dldll~
 
10088
       $RM \$dlpath'
 
10089
    shlibpath_overrides_runpath=yes
 
10090
    dynamic_linker='Win32 link.exe'
9354
10091
    ;;
9355
10092
 
9356
10093
  *)
 
10094
    # Assume MSVC wrapper
9357
10095
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10096
    dynamic_linker='Win32 ld.exe'
9358
10097
    ;;
9359
10098
  esac
9360
 
  dynamic_linker='Win32 ld.exe'
9361
10099
  # FIXME: first we should search . and the directory the executable is in
9362
10100
  shlibpath_var=PATH
9363
10101
  ;;
9444
10182
  hardcode_into_libs=yes
9445
10183
  ;;
9446
10184
 
 
10185
haiku*)
 
10186
  version_type=linux
 
10187
  need_lib_prefix=no
 
10188
  need_version=no
 
10189
  dynamic_linker="$host_os runtime_loader"
 
10190
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10191
  soname_spec='${libname}${release}${shared_ext}$major'
 
10192
  shlibpath_var=LIBRARY_PATH
 
10193
  shlibpath_overrides_runpath=yes
 
10194
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10195
  hardcode_into_libs=yes
 
10196
  ;;
 
10197
 
9447
10198
hpux9* | hpux10* | hpux11*)
9448
10199
  # Give a soname corresponding to the major version so that dld.sl refuses to
9449
10200
  # link against other versions.
9486
10237
    soname_spec='${libname}${release}${shared_ext}$major'
9487
10238
    ;;
9488
10239
  esac
9489
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10240
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9490
10241
  postinstall_cmds='chmod 555 $lib'
 
10242
  # or fails outright, so override atomically:
 
10243
  install_override_mode=555
9491
10244
  ;;
9492
10245
 
9493
10246
interix[3-9]*)
9554
10307
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9555
10308
  shlibpath_var=LD_LIBRARY_PATH
9556
10309
  shlibpath_overrides_runpath=no
 
10310
 
9557
10311
  # Some binutils ld are patched to set DT_RUNPATH
9558
 
  save_LDFLAGS=$LDFLAGS
9559
 
  save_libdir=$libdir
9560
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9561
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9562
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10312
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10313
  $as_echo_n "(cached) " >&6
 
10314
else
 
10315
  lt_cv_shlibpath_overrides_runpath=no
 
10316
    save_LDFLAGS=$LDFLAGS
 
10317
    save_libdir=$libdir
 
10318
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10319
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10320
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563
10321
/* end confdefs.h.  */
9564
10322
 
9565
10323
int
9572
10330
_ACEOF
9573
10331
if ac_fn_c_try_link "$LINENO"; then :
9574
10332
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9575
 
  shlibpath_overrides_runpath=yes
 
10333
  lt_cv_shlibpath_overrides_runpath=yes
9576
10334
fi
9577
10335
fi
9578
10336
rm -f core conftest.err conftest.$ac_objext \
9579
10337
    conftest$ac_exeext conftest.$ac_ext
9580
 
  LDFLAGS=$save_LDFLAGS
9581
 
  libdir=$save_libdir
 
10338
    LDFLAGS=$save_LDFLAGS
 
10339
    libdir=$save_libdir
 
10340
 
 
10341
fi
 
10342
 
 
10343
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9582
10344
 
9583
10345
  # This implies no fast_install, which is unacceptable.
9584
10346
  # Some rework will be needed to allow for fast_install
9587
10349
 
9588
10350
  # Append ld.so.conf contents to the search path
9589
10351
  if test -f /etc/ld.so.conf; then
9590
 
    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' ' '`
 
10352
    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' ' '`
9591
10353
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9592
10354
  fi
9593
10355
 
9600
10362
  dynamic_linker='GNU/Linux ld.so'
9601
10363
  ;;
9602
10364
 
9603
 
netbsdelf*-gnu)
9604
 
  version_type=linux
9605
 
  need_lib_prefix=no
9606
 
  need_version=no
9607
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9608
 
  soname_spec='${libname}${release}${shared_ext}$major'
9609
 
  shlibpath_var=LD_LIBRARY_PATH
9610
 
  shlibpath_overrides_runpath=no
9611
 
  hardcode_into_libs=yes
9612
 
  dynamic_linker='NetBSD ld.elf_so'
9613
 
  ;;
9614
 
 
9615
10365
netbsd*)
9616
10366
  version_type=sunos
9617
10367
  need_lib_prefix=no
9902
10652
 
9903
10653
 
9904
10654
 
 
10655
 
 
10656
 
 
10657
 
 
10658
 
 
10659
 
9905
10660
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9906
10661
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9907
10662
hardcode_action=
9974
10729
  # if libdl is installed we need to link against it
9975
10730
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9976
10731
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9977
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10732
if ${ac_cv_lib_dl_dlopen+:} false; then :
9978
10733
  $as_echo_n "(cached) " >&6
9979
10734
else
9980
10735
  ac_check_lib_save_LIBS=$LIBS
10008
10763
fi
10009
10764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10010
10765
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10011
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10766
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10012
10767
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10013
10768
else
10014
10769
 
10022
10777
 
10023
10778
  *)
10024
10779
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10025
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
10780
if test "x$ac_cv_func_shl_load" = xyes; then :
10026
10781
  lt_cv_dlopen="shl_load"
10027
10782
else
10028
10783
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10029
10784
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10030
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
10785
if ${ac_cv_lib_dld_shl_load+:} false; then :
10031
10786
  $as_echo_n "(cached) " >&6
10032
10787
else
10033
10788
  ac_check_lib_save_LIBS=$LIBS
10061
10816
fi
10062
10817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10063
10818
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10064
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
10819
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10065
10820
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10066
10821
else
10067
10822
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10068
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
10823
if test "x$ac_cv_func_dlopen" = xyes; then :
10069
10824
  lt_cv_dlopen="dlopen"
10070
10825
else
10071
10826
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10072
10827
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10073
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10828
if ${ac_cv_lib_dl_dlopen+:} false; then :
10074
10829
  $as_echo_n "(cached) " >&6
10075
10830
else
10076
10831
  ac_check_lib_save_LIBS=$LIBS
10104
10859
fi
10105
10860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10106
10861
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10107
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10862
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10108
10863
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10109
10864
else
10110
10865
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10111
10866
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10112
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
10867
if ${ac_cv_lib_svld_dlopen+:} false; then :
10113
10868
  $as_echo_n "(cached) " >&6
10114
10869
else
10115
10870
  ac_check_lib_save_LIBS=$LIBS
10143
10898
fi
10144
10899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10145
10900
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10146
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
10901
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10147
10902
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10148
10903
else
10149
10904
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10150
10905
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10151
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
10906
if ${ac_cv_lib_dld_dld_link+:} false; then :
10152
10907
  $as_echo_n "(cached) " >&6
10153
10908
else
10154
10909
  ac_check_lib_save_LIBS=$LIBS
10182
10937
fi
10183
10938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10184
10939
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10185
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
10940
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10186
10941
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10187
10942
fi
10188
10943
 
10223
10978
 
10224
10979
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10225
10980
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10226
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
10981
if ${lt_cv_dlopen_self+:} false; then :
10227
10982
  $as_echo_n "(cached) " >&6
10228
10983
else
10229
10984
          if test "$cross_compiling" = yes; then :
10232
10987
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10233
10988
  lt_status=$lt_dlunknown
10234
10989
  cat > conftest.$ac_ext <<_LT_EOF
10235
 
#line 10235 "configure"
 
10990
#line $LINENO "configure"
10236
10991
#include "confdefs.h"
10237
10992
 
10238
10993
#if HAVE_DLFCN_H
10273
11028
#  endif
10274
11029
#endif
10275
11030
 
10276
 
void fnord() { int i=42;}
 
11031
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11032
   correspondingly for the symbols needed.  */
 
11033
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11034
int fnord () __attribute__((visibility("default")));
 
11035
#endif
 
11036
 
 
11037
int fnord () { return 42; }
10277
11038
int main ()
10278
11039
{
10279
11040
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10282
11043
  if (self)
10283
11044
    {
10284
11045
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10285
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11046
      else
 
11047
        {
 
11048
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11049
          else puts (dlerror ());
 
11050
        }
10286
11051
      /* dlclose (self); */
10287
11052
    }
10288
11053
  else
10319
11084
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10320
11085
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10321
11086
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10322
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11087
if ${lt_cv_dlopen_self_static+:} false; then :
10323
11088
  $as_echo_n "(cached) " >&6
10324
11089
else
10325
11090
          if test "$cross_compiling" = yes; then :
10328
11093
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10329
11094
  lt_status=$lt_dlunknown
10330
11095
  cat > conftest.$ac_ext <<_LT_EOF
10331
 
#line 10331 "configure"
 
11096
#line $LINENO "configure"
10332
11097
#include "confdefs.h"
10333
11098
 
10334
11099
#if HAVE_DLFCN_H
10369
11134
#  endif
10370
11135
#endif
10371
11136
 
10372
 
void fnord() { int i=42;}
 
11137
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11138
   correspondingly for the symbols needed.  */
 
11139
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11140
int fnord () __attribute__((visibility("default")));
 
11141
#endif
 
11142
 
 
11143
int fnord () { return 42; }
10373
11144
int main ()
10374
11145
{
10375
11146
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10378
11149
  if (self)
10379
11150
    {
10380
11151
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10381
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11152
      else
 
11153
        {
 
11154
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11155
          else puts (dlerror ());
 
11156
        }
10382
11157
      /* dlclose (self); */
10383
11158
    }
10384
11159
  else
10561
11336
 
10562
11337
 
10563
11338
 
 
11339
 
10564
11340
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10565
11341
        if test -n "$ac_tool_prefix"; then
10566
11342
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10567
11343
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10568
11344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10569
11345
$as_echo_n "checking for $ac_word... " >&6; }
10570
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
11346
if ${ac_cv_path_PKG_CONFIG+:} false; then :
10571
11347
  $as_echo_n "(cached) " >&6
10572
11348
else
10573
11349
  case $PKG_CONFIG in
10610
11386
set dummy pkg-config; ac_word=$2
10611
11387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10612
11388
$as_echo_n "checking for $ac_word... " >&6; }
10613
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
11389
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10614
11390
  $as_echo_n "(cached) " >&6
10615
11391
else
10616
11392
  case $ac_pt_PKG_CONFIG in
10681
11457
  enableval=$enable_schemas_compile; case ${enableval} in
10682
11458
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
10683
11459
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
10684
 
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5  ;;
 
11460
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
10685
11461
                 esac
10686
11462
fi
10687
11463
 
10692
11468
 
10693
11469
 
10694
11470
 
 
11471
 
10695
11472
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10696
11473
        if test -n "$ac_tool_prefix"; then
10697
11474
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10698
11475
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10699
11476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10700
11477
$as_echo_n "checking for $ac_word... " >&6; }
10701
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
11478
if ${ac_cv_path_PKG_CONFIG+:} false; then :
10702
11479
  $as_echo_n "(cached) " >&6
10703
11480
else
10704
11481
  case $PKG_CONFIG in
10741
11518
set dummy pkg-config; ac_word=$2
10742
11519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10743
11520
$as_echo_n "checking for $ac_word... " >&6; }
10744
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
11521
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10745
11522
  $as_echo_n "(cached) " >&6
10746
11523
else
10747
11524
  case $ac_pt_PKG_CONFIG in
10814
11591
set dummy glib-compile-schemas; ac_word=$2
10815
11592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10816
11593
$as_echo_n "checking for $ac_word... " >&6; }
10817
 
if test "${ac_cv_path_GLIB_COMPILE_SCHEMAS+set}" = set; then :
 
11594
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
10818
11595
  $as_echo_n "(cached) " >&6
10819
11596
else
10820
11597
  case $GLIB_COMPILE_SCHEMAS in
10910
11687
set dummy glib-genmarshal; ac_word=$2
10911
11688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10912
11689
$as_echo_n "checking for $ac_word... " >&6; }
10913
 
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
 
11690
if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
10914
11691
  $as_echo_n "(cached) " >&6
10915
11692
else
10916
11693
  case $GLIB_GENMARSHAL in
10950
11727
set dummy glib-mkenums; ac_word=$2
10951
11728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10952
11729
$as_echo_n "checking for $ac_word... " >&6; }
10953
 
if test "${ac_cv_path_GLIB_MKENUMS+set}" = set; then :
 
11730
if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
10954
11731
  $as_echo_n "(cached) " >&6
10955
11732
else
10956
11733
  case $GLIB_MKENUMS in
11014
11791
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11015
11792
  test $ac_status = 0; }; then
11016
11793
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
 
11794
                      test "x$?" != "x0" && pkg_failed=yes
11017
11795
else
11018
11796
  pkg_failed=yes
11019
11797
fi
11030
11808
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11031
11809
  test $ac_status = 0; }; then
11032
11810
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
 
11811
                      test "x$?" != "x0" && pkg_failed=yes
11033
11812
else
11034
11813
  pkg_failed=yes
11035
11814
fi
11049
11828
        _pkg_short_errors_supported=no
11050
11829
fi
11051
11830
        if test $_pkg_short_errors_supported = yes; then
11052
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
 
11831
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
11053
11832
        else
11054
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
 
11833
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
11055
11834
        fi
11056
11835
        # Put the nasty error message in config.log where it belongs
11057
11836
        echo "$GTK_PKG_ERRORS" >&5
11080
11859
See the pkg-config man page for more details.
11081
11860
 
11082
11861
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11083
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
11862
See \`config.log' for more details" "$LINENO" 5; }
11084
11863
else
11085
11864
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
11086
11865
        GTK_LIBS=$pkg_cv_GTK_LIBS
11137
11916
        gthread-2.0                     \
11138
11917
        gio-unix-2.0                    \
11139
11918
        gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
 
11919
                      test "x$?" != "x0" && pkg_failed=yes
11140
11920
else
11141
11921
  pkg_failed=yes
11142
11922
fi
11165
11945
        gthread-2.0                     \
11166
11946
        gio-unix-2.0                    \
11167
11947
        gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
 
11948
                      test "x$?" != "x0" && pkg_failed=yes
11168
11949
else
11169
11950
  pkg_failed=yes
11170
11951
fi
11184
11965
        _pkg_short_errors_supported=no
11185
11966
fi
11186
11967
        if test $_pkg_short_errors_supported = yes; then
11187
 
                FR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
 
11968
                FR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
11188
11969
        glib-2.0 >= $GLIB_REQUIRED      \
11189
11970
        gthread-2.0                     \
11190
11971
        gio-unix-2.0                    \
11191
11972
        gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
11192
11973
        else
11193
 
                FR_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
 
11974
                FR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
11194
11975
        glib-2.0 >= $GLIB_REQUIRED      \
11195
11976
        gthread-2.0                     \
11196
11977
        gio-unix-2.0                    \
11227
12008
See the pkg-config man page for more details.
11228
12009
 
11229
12010
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11230
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
12011
See \`config.log' for more details" "$LINENO" 5; }
11231
12012
else
11232
12013
        FR_CFLAGS=$pkg_cv_FR_CFLAGS
11233
12014
        FR_LIBS=$pkg_cv_FR_LIBS
11272
12053
                          libnautilus-extension >= $NAUTILUS_REQUIRED   \
11273
12054
                          glib-2.0                                      \
11274
12055
                          gio-2.0" 2>/dev/null`
 
12056
                      test "x$?" != "x0" && pkg_failed=yes
11275
12057
else
11276
12058
  pkg_failed=yes
11277
12059
fi
11297
12079
                          libnautilus-extension >= $NAUTILUS_REQUIRED   \
11298
12080
                          glib-2.0                                      \
11299
12081
                          gio-2.0" 2>/dev/null`
 
12082
                      test "x$?" != "x0" && pkg_failed=yes
11300
12083
else
11301
12084
  pkg_failed=yes
11302
12085
fi
11316
12099
        _pkg_short_errors_supported=no
11317
12100
fi
11318
12101
        if test $_pkg_short_errors_supported = yes; then
11319
 
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
 
12102
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
11320
12103
                          libnautilus-extension >= $NAUTILUS_REQUIRED   \
11321
12104
                          glib-2.0                                      \
11322
12105
                          gio-2.0" 2>&1`
11323
12106
        else
11324
 
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
 
12107
                NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
11325
12108
                          libnautilus-extension >= $NAUTILUS_REQUIRED   \
11326
12109
                          glib-2.0                                      \
11327
12110
                          gio-2.0" 2>&1`
11356
12139
See the pkg-config man page for more details.
11357
12140
 
11358
12141
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11359
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
12142
See \`config.log' for more details" "$LINENO" 5; }
11360
12143
else
11361
12144
        NAUTILUS_CFLAGS=$pkg_cv_NAUTILUS_CFLAGS
11362
12145
        NAUTILUS_LIBS=$pkg_cv_NAUTILUS_LIBS
11385
12168
 
11386
12169
mkdtemp_missing=false
11387
12170
ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
11388
 
if test "x$ac_cv_func_mkdtemp" = x""yes; then :
 
12171
if test "x$ac_cv_func_mkdtemp" = xyes; then :
11389
12172
 
11390
12173
$as_echo "#define HAVE_MKDTEMP 1" >>confdefs.h
11391
12174
 
11404
12187
 
11405
12188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
11406
12189
$as_echo_n "checking for floor in -lm... " >&6; }
11407
 
if test "${ac_cv_lib_m_floor+set}" = set; then :
 
12190
if ${ac_cv_lib_m_floor+:} false; then :
11408
12191
  $as_echo_n "(cached) " >&6
11409
12192
else
11410
12193
  ac_check_lib_save_LIBS=$LIBS
11438
12221
fi
11439
12222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
11440
12223
$as_echo "$ac_cv_lib_m_floor" >&6; }
11441
 
if test "x$ac_cv_lib_m_floor" = x""yes; then :
 
12224
if test "x$ac_cv_lib_m_floor" = xyes; then :
11442
12225
  cat >>confdefs.h <<_ACEOF
11443
12226
#define HAVE_LIBM 1
11444
12227
_ACEOF
11559
12342
set dummy intltool-update; ac_word=$2
11560
12343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11561
12344
$as_echo_n "checking for $ac_word... " >&6; }
11562
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
12345
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
11563
12346
  $as_echo_n "(cached) " >&6
11564
12347
else
11565
12348
  case $INTLTOOL_UPDATE in
11599
12382
set dummy intltool-merge; ac_word=$2
11600
12383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11601
12384
$as_echo_n "checking for $ac_word... " >&6; }
11602
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
12385
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
11603
12386
  $as_echo_n "(cached) " >&6
11604
12387
else
11605
12388
  case $INTLTOOL_MERGE in
11639
12422
set dummy intltool-extract; ac_word=$2
11640
12423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11641
12424
$as_echo_n "checking for $ac_word... " >&6; }
11642
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
12425
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
11643
12426
  $as_echo_n "(cached) " >&6
11644
12427
else
11645
12428
  case $INTLTOOL_EXTRACT in
11800
12583
set dummy xgettext; ac_word=$2
11801
12584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11802
12585
$as_echo_n "checking for $ac_word... " >&6; }
11803
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
12586
if ${ac_cv_path_XGETTEXT+:} false; then :
11804
12587
  $as_echo_n "(cached) " >&6
11805
12588
else
11806
12589
  case $XGETTEXT in
11840
12623
set dummy msgmerge; ac_word=$2
11841
12624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11842
12625
$as_echo_n "checking for $ac_word... " >&6; }
11843
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
12626
if ${ac_cv_path_MSGMERGE+:} false; then :
11844
12627
  $as_echo_n "(cached) " >&6
11845
12628
else
11846
12629
  case $MSGMERGE in
11880
12663
set dummy msgfmt; ac_word=$2
11881
12664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11882
12665
$as_echo_n "checking for $ac_word... " >&6; }
11883
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
12666
if ${ac_cv_path_MSGFMT+:} false; then :
11884
12667
  $as_echo_n "(cached) " >&6
11885
12668
else
11886
12669
  case $MSGFMT in
11920
12703
set dummy gmsgfmt; ac_word=$2
11921
12704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11922
12705
$as_echo_n "checking for $ac_word... " >&6; }
11923
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
12706
if ${ac_cv_path_GMSGFMT+:} false; then :
11924
12707
  $as_echo_n "(cached) " >&6
11925
12708
else
11926
12709
  case $GMSGFMT in
11971
12754
set dummy perl; ac_word=$2
11972
12755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973
12756
$as_echo_n "checking for $ac_word... " >&6; }
11974
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
12757
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
11975
12758
  $as_echo_n "(cached) " >&6
11976
12759
else
11977
12760
  case $INTLTOOL_PERL in
12055
12838
  case $host in
12056
12839
    *-*-solaris*)
12057
12840
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12058
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12841
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12059
12842
  DATADIRNAME=share
12060
12843
else
12061
12844
  DATADIRNAME=lib
12267
13050
     :end' >>confcache
12268
13051
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12269
13052
  if test -w "$cache_file"; then
12270
 
    test "x$cache_file" != "x/dev/null" &&
 
13053
    if test "x$cache_file" != "x/dev/null"; then
12271
13054
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12272
13055
$as_echo "$as_me: updating cache $cache_file" >&6;}
12273
 
    cat confcache >$cache_file
 
13056
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
13057
        cat confcache >"$cache_file"
 
13058
      else
 
13059
        case $cache_file in #(
 
13060
        */* | ?:*)
 
13061
          mv -f confcache "$cache_file"$$ &&
 
13062
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
13063
        *)
 
13064
          mv -f confcache "$cache_file" ;;
 
13065
        esac
 
13066
      fi
 
13067
    fi
12274
13068
  else
12275
13069
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12276
13070
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12346
13140
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12347
13141
fi
12348
13142
 
12349
 
: ${CONFIG_STATUS=./config.status}
 
13143
: "${CONFIG_STATUS=./config.status}"
12350
13144
ac_write_fail=0
12351
13145
ac_clean_files_save=$ac_clean_files
12352
13146
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12447
13241
IFS=" ""        $as_nl"
12448
13242
 
12449
13243
# Find who we are.  Look in the path if we contain no directory separator.
 
13244
as_myself=
12450
13245
case $0 in #((
12451
13246
  *[\\/]* ) as_myself=$0 ;;
12452
13247
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12753
13548
# report actual input values of CONFIG_FILES etc. instead of their
12754
13549
# values after options handling.
12755
13550
ac_log="
12756
 
This file was extended by file-roller $as_me 3.1.1, which was
12757
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
13551
This file was extended by file-roller $as_me 3.1.2, which was
 
13552
generated by GNU Autoconf 2.68.  Invocation command line was
12758
13553
 
12759
13554
  CONFIG_FILES    = $CONFIG_FILES
12760
13555
  CONFIG_HEADERS  = $CONFIG_HEADERS
12819
13614
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12820
13615
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12821
13616
ac_cs_version="\\
12822
 
file-roller config.status 3.1.1
12823
 
configured by $0, generated by GNU Autoconf 2.67,
 
13617
file-roller config.status 3.1.2
 
13618
configured by $0, generated by GNU Autoconf 2.68,
12824
13619
  with options \\"\$ac_cs_config\\"
12825
13620
 
12826
13621
Copyright (C) 2010 Free Software Foundation, Inc.
12948
13743
sed_quote_subst='$sed_quote_subst'
12949
13744
double_quote_subst='$double_quote_subst'
12950
13745
delay_variable_subst='$delay_variable_subst'
12951
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12952
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12953
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12954
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12955
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12956
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12957
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12958
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12959
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12960
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12961
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12962
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12963
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12964
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12965
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12966
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12967
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12968
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12969
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12970
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12971
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12972
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12973
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12974
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12975
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12976
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12977
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12978
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12979
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12980
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12981
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12982
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12983
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12984
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12985
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12986
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12987
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12988
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12989
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12990
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12991
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12992
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12993
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12994
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12995
 
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"`'
12996
 
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"`'
12997
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12998
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12999
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13000
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13001
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13002
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13003
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13004
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13005
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13006
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13007
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13008
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13009
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13010
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13011
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13012
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13013
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13014
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13015
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13016
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13017
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13018
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13019
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13020
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13021
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13022
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13023
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13024
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13025
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13026
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13027
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13028
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13029
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13030
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13031
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13032
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13033
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13034
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13035
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13036
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13037
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13038
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13039
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13040
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13041
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13042
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13043
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13044
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13045
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13046
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13047
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13048
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13049
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13050
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13051
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13052
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13053
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13054
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13055
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13056
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13057
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13058
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13059
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13060
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13061
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13062
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13063
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13064
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13065
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13066
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13067
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13068
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13746
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
13747
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
13748
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
13749
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
13750
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
13751
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
13752
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
13753
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
13754
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
13755
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
13756
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
13757
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
13758
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
13759
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
13760
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
13761
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
13762
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
13763
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
13764
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
13765
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
13766
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
13767
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
13768
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
13769
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
13770
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
13771
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
13772
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
13773
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
13774
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
13775
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
13776
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
13777
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
13778
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
13779
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
13780
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
13781
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
13782
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
13783
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
13784
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
13785
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
13786
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
13787
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
13788
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
13789
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
13790
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13791
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13792
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13793
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
13794
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
13795
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
13796
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
13797
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
13798
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
13799
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
13800
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
13801
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"`'
 
13802
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
13803
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
13804
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
13805
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
13806
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
13807
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
13808
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
13809
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
13810
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
13811
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
13812
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
13813
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
13814
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
13815
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
13816
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
13817
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
13818
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
13819
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
13820
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13821
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
13822
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
13823
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13824
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13825
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
13826
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
13827
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13828
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13829
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13830
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
13831
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13832
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
13833
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13834
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13835
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13836
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
13837
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
13838
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
13839
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
13840
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
13841
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13842
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
13843
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
13844
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
13845
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
13846
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
13847
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
13848
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
13849
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
13850
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
13851
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
13852
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
13853
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
13854
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
13855
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
13856
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
13857
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13858
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
13859
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
13860
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
13861
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
13862
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
13863
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13864
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13865
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
13866
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
13867
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
13868
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
13869
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
13870
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
13871
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
13872
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
13873
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
13874
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
13875
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13069
13876
 
13070
13877
LTCC='$LTCC'
13071
13878
LTCFLAGS='$LTCFLAGS'
13072
13879
compiler='$compiler_DEFAULT'
13073
13880
 
 
13881
# A function that is used when there is no print builtin or printf.
 
13882
func_fallback_echo ()
 
13883
{
 
13884
  eval 'cat <<_LTECHO_EOF
 
13885
\$1
 
13886
_LTECHO_EOF'
 
13887
}
 
13888
 
13074
13889
# Quote evaled strings.
13075
 
for var in SED \
 
13890
for var in SHELL \
 
13891
ECHO \
 
13892
SED \
13076
13893
GREP \
13077
13894
EGREP \
13078
13895
FGREP \
13085
13902
OBJDUMP \
13086
13903
deplibs_check_method \
13087
13904
file_magic_cmd \
 
13905
file_magic_glob \
 
13906
want_nocaseglob \
 
13907
DLLTOOL \
 
13908
sharedlib_from_linklib_cmd \
13088
13909
AR \
13089
13910
AR_FLAGS \
 
13911
archiver_list_spec \
13090
13912
STRIP \
13091
13913
RANLIB \
13092
13914
CC \
13096
13918
lt_cv_sys_global_symbol_to_cdecl \
13097
13919
lt_cv_sys_global_symbol_to_c_name_address \
13098
13920
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13099
 
SHELL \
13100
 
ECHO \
 
13921
nm_file_list_spec \
13101
13922
lt_prog_compiler_no_builtin_flag \
 
13923
lt_prog_compiler_pic \
13102
13924
lt_prog_compiler_wl \
13103
 
lt_prog_compiler_pic \
13104
13925
lt_prog_compiler_static \
13105
13926
lt_cv_prog_compiler_c_o \
13106
13927
need_locks \
 
13928
MANIFEST_TOOL \
13107
13929
DSYMUTIL \
13108
13930
NMEDIT \
13109
13931
LIPO \
13119
13941
hardcode_libdir_flag_spec \
13120
13942
hardcode_libdir_flag_spec_ld \
13121
13943
hardcode_libdir_separator \
13122
 
fix_srcfile_path \
13123
13944
exclude_expsyms \
13124
13945
include_expsyms \
13125
13946
file_list_spec \
13127
13948
libname_spec \
13128
13949
library_names_spec \
13129
13950
soname_spec \
 
13951
install_override_mode \
13130
13952
finish_eval \
13131
13953
old_striplib \
13132
13954
striplib; do
13133
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13955
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13134
13956
    *[\\\\\\\`\\"\\\$]*)
13135
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13957
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13136
13958
      ;;
13137
13959
    *)
13138
13960
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13154
13976
module_expsym_cmds \
13155
13977
export_symbols_cmds \
13156
13978
prelink_cmds \
 
13979
postlink_cmds \
13157
13980
postinstall_cmds \
13158
13981
postuninstall_cmds \
13159
13982
finish_cmds \
13160
13983
sys_lib_search_path_spec \
13161
13984
sys_lib_dlsearch_path_spec; do
13162
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13985
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13163
13986
    *[\\\\\\\`\\"\\\$]*)
13164
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13987
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13165
13988
      ;;
13166
13989
    *)
13167
13990
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13169
13992
    esac
13170
13993
done
13171
13994
 
13172
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
13173
 
case \$lt_ECHO in
13174
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13175
 
  ;;
13176
 
esac
13177
 
 
13178
13995
ac_aux_dir='$ac_aux_dir'
13179
13996
xsi_shell='$xsi_shell'
13180
13997
lt_shell_append='$lt_shell_append'
13235
14052
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13236
14053
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13237
14054
 
13238
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
14055
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13239
14056
  esac
13240
14057
done
13241
14058
 
13258
14075
# after its creation but before its name has been assigned to `$tmp'.
13259
14076
$debug ||
13260
14077
{
13261
 
  tmp=
 
14078
  tmp= ac_tmp=
13262
14079
  trap 'exit_status=$?
13263
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
14080
  : "${ac_tmp:=$tmp}"
 
14081
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13264
14082
' 0
13265
14083
  trap 'as_fn_exit 1' 1 2 13 15
13266
14084
}
13268
14086
 
13269
14087
{
13270
14088
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13271
 
  test -n "$tmp" && test -d "$tmp"
 
14089
  test -d "$tmp"
13272
14090
}  ||
13273
14091
{
13274
14092
  tmp=./conf$$-$RANDOM
13275
14093
  (umask 077 && mkdir "$tmp")
13276
14094
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
14095
ac_tmp=$tmp
13277
14096
 
13278
14097
# Set up the scripts for CONFIG_FILES section.
13279
14098
# No need to generate them if there are no CONFIG_FILES.
13295
14114
  ac_cs_awk_cr=$ac_cr
13296
14115
fi
13297
14116
 
13298
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
14117
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13299
14118
_ACEOF
13300
14119
 
13301
14120
 
13323
14142
rm -f conf$$subs.sh
13324
14143
 
13325
14144
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13326
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
14145
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13327
14146
_ACEOF
13328
14147
sed -n '
13329
14148
h
13371
14190
rm -f conf$$subs.awk
13372
14191
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13373
14192
_ACAWK
13374
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
14193
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13375
14194
  for (key in S) S_is_set[key] = 1
13376
14195
  FS = ""
13377
14196
 
13403
14222
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13404
14223
else
13405
14224
  cat
13406
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
14225
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13407
14226
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13408
14227
_ACEOF
13409
14228
 
13437
14256
# No need to generate them if there are no CONFIG_HEADERS.
13438
14257
# This happens for instance with `./config.status Makefile'.
13439
14258
if test -n "$CONFIG_HEADERS"; then
13440
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
14259
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13441
14260
BEGIN {
13442
14261
_ACEOF
13443
14262
 
13449
14268
# handling of long lines.
13450
14269
ac_delim='%!_!# '
13451
14270
for ac_last_try in false false :; do
13452
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13453
 
  if test -z "$ac_t"; then
 
14271
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
14272
  if test -z "$ac_tt"; then
13454
14273
    break
13455
14274
  elif $ac_last_try; then
13456
14275
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13551
14370
  esac
13552
14371
  case $ac_mode$ac_tag in
13553
14372
  :[FHL]*:*);;
13554
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
14373
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13555
14374
  :[FH]-) ac_tag=-:-;;
13556
14375
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13557
14376
  esac
13570
14389
    for ac_f
13571
14390
    do
13572
14391
      case $ac_f in
13573
 
      -) ac_f="$tmp/stdin";;
 
14392
      -) ac_f="$ac_tmp/stdin";;
13574
14393
      *) # Look for the file first in the build tree, then in the source tree
13575
14394
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13576
14395
         # because $ac_f cannot contain `:'.
13579
14398
           [\\/$]*) false;;
13580
14399
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13581
14400
           esac ||
13582
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
14401
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13583
14402
      esac
13584
14403
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13585
14404
      as_fn_append ac_file_inputs " '$ac_f'"
13605
14424
    esac
13606
14425
 
13607
14426
    case $ac_tag in
13608
 
    *:-:* | *:-) cat >"$tmp/stdin" \
13609
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
14427
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
14428
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13610
14429
    esac
13611
14430
    ;;
13612
14431
  esac
13742
14561
s&@MKDIR_P@&$ac_MKDIR_P&;t t
13743
14562
$ac_datarootdir_hack
13744
14563
"
13745
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13746
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
14564
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
14565
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13747
14566
 
13748
14567
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13749
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13750
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
14568
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
14569
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
14570
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
13751
14571
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13752
14572
which seems to be undefined.  Please make sure it is defined" >&5
13753
14573
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13754
14574
which seems to be undefined.  Please make sure it is defined" >&2;}
13755
14575
 
13756
 
  rm -f "$tmp/stdin"
 
14576
  rm -f "$ac_tmp/stdin"
13757
14577
  case $ac_file in
13758
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13759
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
14578
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
14579
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13760
14580
  esac \
13761
14581
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13762
14582
 ;;
13767
14587
  if test x"$ac_file" != x-; then
13768
14588
    {
13769
14589
      $as_echo "/* $configure_input  */" \
13770
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13771
 
    } >"$tmp/config.h" \
 
14590
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
14591
    } >"$ac_tmp/config.h" \
13772
14592
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13773
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
14593
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13774
14594
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13775
14595
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13776
14596
    else
13777
14597
      rm -f "$ac_file"
13778
 
      mv "$tmp/config.h" "$ac_file" \
 
14598
      mv "$ac_tmp/config.h" "$ac_file" \
13779
14599
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13780
14600
    fi
13781
14601
  else
13782
14602
    $as_echo "/* $configure_input  */" \
13783
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
14603
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13784
14604
      || as_fn_error $? "could not create -" "$LINENO" 5
13785
14605
  fi
13786
14606
# Compute "$ac_file"'s index in $config_headers.
13942
14762
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13943
14763
#
13944
14764
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13945
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
14765
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
14766
#                 Inc.
13946
14767
#   Written by Gordon Matzigkeit, 1996
13947
14768
#
13948
14769
#   This file is part of GNU Libtool.
13990
14811
# Whether or not to optimize for fast installation.
13991
14812
fast_install=$enable_fast_install
13992
14813
 
 
14814
# Shell to use when invoking shell scripts.
 
14815
SHELL=$lt_SHELL
 
14816
 
 
14817
# An echo program that protects backslashes.
 
14818
ECHO=$lt_ECHO
 
14819
 
13993
14820
# The host system.
13994
14821
host_alias=$host_alias
13995
14822
host=$host
14039
14866
# turn newlines into spaces.
14040
14867
NL2SP=$lt_lt_NL2SP
14041
14868
 
14042
 
# How to create reloadable object files.
14043
 
reload_flag=$lt_reload_flag
14044
 
reload_cmds=$lt_reload_cmds
 
14869
# convert \$build file names to \$host format.
 
14870
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
14871
 
 
14872
# convert \$build files to toolchain format.
 
14873
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14045
14874
 
14046
14875
# An object symbol dumper.
14047
14876
OBJDUMP=$lt_OBJDUMP
14049
14878
# Method to check whether dependent libraries are shared objects.
14050
14879
deplibs_check_method=$lt_deplibs_check_method
14051
14880
 
14052
 
# Command to use when deplibs_check_method == "file_magic".
 
14881
# Command to use when deplibs_check_method = "file_magic".
14053
14882
file_magic_cmd=$lt_file_magic_cmd
14054
14883
 
 
14884
# How to find potential files when deplibs_check_method = "file_magic".
 
14885
file_magic_glob=$lt_file_magic_glob
 
14886
 
 
14887
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
14888
want_nocaseglob=$lt_want_nocaseglob
 
14889
 
 
14890
# DLL creation program.
 
14891
DLLTOOL=$lt_DLLTOOL
 
14892
 
 
14893
# Command to associate shared and link libraries.
 
14894
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
14895
 
14055
14896
# The archiver.
14056
14897
AR=$lt_AR
 
14898
 
 
14899
# Flags to create an archive.
14057
14900
AR_FLAGS=$lt_AR_FLAGS
14058
14901
 
 
14902
# How to feed a file listing to the archiver.
 
14903
archiver_list_spec=$lt_archiver_list_spec
 
14904
 
14059
14905
# A symbol stripping program.
14060
14906
STRIP=$lt_STRIP
14061
14907
 
14064
14910
old_postinstall_cmds=$lt_old_postinstall_cmds
14065
14911
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14066
14912
 
 
14913
# Whether to use a lock for old archive extraction.
 
14914
lock_old_archive_extraction=$lock_old_archive_extraction
 
14915
 
14067
14916
# A C compiler.
14068
14917
LTCC=$lt_CC
14069
14918
 
14082
14931
# Transform the output of nm in a C name address pair when lib prefix is needed.
14083
14932
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14084
14933
 
 
14934
# Specify filename containing input files for \$NM.
 
14935
nm_file_list_spec=$lt_nm_file_list_spec
 
14936
 
 
14937
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
14938
lt_sysroot=$lt_sysroot
 
14939
 
14085
14940
# The name of the directory that contains temporary libtool files.
14086
14941
objdir=$objdir
14087
14942
 
14088
 
# Shell to use when invoking shell scripts.
14089
 
SHELL=$lt_SHELL
14090
 
 
14091
 
# An echo program that does not interpret backslashes.
14092
 
ECHO=$lt_ECHO
14093
 
 
14094
14943
# Used to examine libraries when file_magic_cmd begins with "file".
14095
14944
MAGIC_CMD=$MAGIC_CMD
14096
14945
 
14097
14946
# Must we lock files when doing compilation?
14098
14947
need_locks=$lt_need_locks
14099
14948
 
 
14949
# Manifest tool.
 
14950
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
14951
 
14100
14952
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14101
14953
DSYMUTIL=$lt_DSYMUTIL
14102
14954
 
14153
15005
# The coded name of the library, if different from the real name.
14154
15006
soname_spec=$lt_soname_spec
14155
15007
 
 
15008
# Permission mode override for installation of shared libraries.
 
15009
install_override_mode=$lt_install_override_mode
 
15010
 
14156
15011
# Command to use after installation of a shared archive.
14157
15012
postinstall_cmds=$lt_postinstall_cmds
14158
15013
 
14192
15047
# The linker used to build libraries.
14193
15048
LD=$lt_LD
14194
15049
 
 
15050
# How to create reloadable object files.
 
15051
reload_flag=$lt_reload_flag
 
15052
reload_cmds=$lt_reload_cmds
 
15053
 
14195
15054
# Commands used to build an old-style archive.
14196
15055
old_archive_cmds=$lt_old_archive_cmds
14197
15056
 
14204
15063
# Compiler flag to turn off builtin functions.
14205
15064
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14206
15065
 
 
15066
# Additional compiler flags for building library objects.
 
15067
pic_flag=$lt_lt_prog_compiler_pic
 
15068
 
14207
15069
# How to pass a linker flag through the compiler.
14208
15070
wl=$lt_lt_prog_compiler_wl
14209
15071
 
14210
 
# Additional compiler flags for building library objects.
14211
 
pic_flag=$lt_lt_prog_compiler_pic
14212
 
 
14213
15072
# Compiler flag to prevent dynamic linking.
14214
15073
link_static_flag=$lt_lt_prog_compiler_static
14215
15074
 
14296
15155
# Whether libtool must link a program against all its dependency libraries.
14297
15156
link_all_deplibs=$link_all_deplibs
14298
15157
 
14299
 
# Fix the shell variable \$srcfile for the compiler.
14300
 
fix_srcfile_path=$lt_fix_srcfile_path
14301
 
 
14302
15158
# Set to "yes" if exported symbols are required.
14303
15159
always_export_symbols=$always_export_symbols
14304
15160
 
14314
15170
# Commands necessary for linking programs (against libraries) with templates.
14315
15171
prelink_cmds=$lt_prelink_cmds
14316
15172
 
 
15173
# Commands necessary for finishing linking programs.
 
15174
postlink_cmds=$lt_postlink_cmds
 
15175
 
14317
15176
# Specify filename containing input files.
14318
15177
file_list_spec=$lt_file_list_spec
14319
15178
 
14346
15205
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14347
15206
  # text mode, it properly converts lines to CR/LF.  This bash problem
14348
15207
  # is reportedly fixed, but why not run on old versions too?
14349
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14350
 
    || (rm -f "$cfgfile"; exit 1)
14351
 
 
14352
 
  case $xsi_shell in
14353
 
  yes)
14354
 
    cat << \_LT_EOF >> "$cfgfile"
14355
 
 
14356
 
# func_dirname file append nondir_replacement
14357
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14358
 
# otherwise set result to NONDIR_REPLACEMENT.
14359
 
func_dirname ()
14360
 
{
14361
 
  case ${1} in
14362
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14363
 
    *  ) func_dirname_result="${3}" ;;
14364
 
  esac
14365
 
}
14366
 
 
14367
 
# func_basename file
14368
 
func_basename ()
14369
 
{
14370
 
  func_basename_result="${1##*/}"
14371
 
}
14372
 
 
14373
 
# func_dirname_and_basename file append nondir_replacement
14374
 
# perform func_basename and func_dirname in a single function
14375
 
# call:
14376
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
14377
 
#             add APPEND to the result, otherwise set result
14378
 
#             to NONDIR_REPLACEMENT.
14379
 
#             value returned in "$func_dirname_result"
14380
 
#   basename: Compute filename of FILE.
14381
 
#             value retuned in "$func_basename_result"
14382
 
# Implementation must be kept synchronized with func_dirname
14383
 
# and func_basename. For efficiency, we do not delegate to
14384
 
# those functions but instead duplicate the functionality here.
14385
 
func_dirname_and_basename ()
14386
 
{
14387
 
  case ${1} in
14388
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14389
 
    *  ) func_dirname_result="${3}" ;;
14390
 
  esac
14391
 
  func_basename_result="${1##*/}"
14392
 
}
14393
 
 
14394
 
# func_stripname prefix suffix name
14395
 
# strip PREFIX and SUFFIX off of NAME.
14396
 
# PREFIX and SUFFIX must not contain globbing or regex special
14397
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14398
 
# dot (in which case that matches only a dot).
14399
 
func_stripname ()
14400
 
{
14401
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14402
 
  # positional parameters, so assign one to ordinary parameter first.
14403
 
  func_stripname_result=${3}
14404
 
  func_stripname_result=${func_stripname_result#"${1}"}
14405
 
  func_stripname_result=${func_stripname_result%"${2}"}
14406
 
}
14407
 
 
14408
 
# func_opt_split
14409
 
func_opt_split ()
14410
 
{
14411
 
  func_opt_split_opt=${1%%=*}
14412
 
  func_opt_split_arg=${1#*=}
14413
 
}
14414
 
 
14415
 
# func_lo2o object
14416
 
func_lo2o ()
14417
 
{
14418
 
  case ${1} in
14419
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14420
 
    *)    func_lo2o_result=${1} ;;
14421
 
  esac
14422
 
}
14423
 
 
14424
 
# func_xform libobj-or-source
14425
 
func_xform ()
14426
 
{
14427
 
  func_xform_result=${1%.*}.lo
14428
 
}
14429
 
 
14430
 
# func_arith arithmetic-term...
14431
 
func_arith ()
14432
 
{
14433
 
  func_arith_result=$(( $* ))
14434
 
}
14435
 
 
14436
 
# func_len string
14437
 
# STRING may not start with a hyphen.
14438
 
func_len ()
14439
 
{
14440
 
  func_len_result=${#1}
14441
 
}
14442
 
 
14443
 
_LT_EOF
14444
 
    ;;
14445
 
  *) # Bourne compatible functions.
14446
 
    cat << \_LT_EOF >> "$cfgfile"
14447
 
 
14448
 
# func_dirname file append nondir_replacement
14449
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14450
 
# otherwise set result to NONDIR_REPLACEMENT.
14451
 
func_dirname ()
14452
 
{
14453
 
  # Extract subdirectory from the argument.
14454
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14455
 
  if test "X$func_dirname_result" = "X${1}"; then
14456
 
    func_dirname_result="${3}"
14457
 
  else
14458
 
    func_dirname_result="$func_dirname_result${2}"
14459
 
  fi
14460
 
}
14461
 
 
14462
 
# func_basename file
14463
 
func_basename ()
14464
 
{
14465
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14466
 
}
14467
 
 
14468
 
 
14469
 
# func_stripname prefix suffix name
14470
 
# strip PREFIX and SUFFIX off of NAME.
14471
 
# PREFIX and SUFFIX must not contain globbing or regex special
14472
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14473
 
# dot (in which case that matches only a dot).
14474
 
# func_strip_suffix prefix name
14475
 
func_stripname ()
14476
 
{
14477
 
  case ${2} in
14478
 
    .*) func_stripname_result=`$ECHO "X${3}" \
14479
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14480
 
    *)  func_stripname_result=`$ECHO "X${3}" \
14481
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14482
 
  esac
14483
 
}
14484
 
 
14485
 
# sed scripts:
14486
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14487
 
my_sed_long_arg='1s/^-[^=]*=//'
14488
 
 
14489
 
# func_opt_split
14490
 
func_opt_split ()
14491
 
{
14492
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14493
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14494
 
}
14495
 
 
14496
 
# func_lo2o object
14497
 
func_lo2o ()
14498
 
{
14499
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14500
 
}
14501
 
 
14502
 
# func_xform libobj-or-source
14503
 
func_xform ()
14504
 
{
14505
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14506
 
}
14507
 
 
14508
 
# func_arith arithmetic-term...
14509
 
func_arith ()
14510
 
{
14511
 
  func_arith_result=`expr "$@"`
14512
 
}
14513
 
 
14514
 
# func_len string
14515
 
# STRING may not start with a hyphen.
14516
 
func_len ()
14517
 
{
14518
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14519
 
}
14520
 
 
14521
 
_LT_EOF
14522
 
esac
14523
 
 
14524
 
case $lt_shell_append in
14525
 
  yes)
14526
 
    cat << \_LT_EOF >> "$cfgfile"
14527
 
 
14528
 
# func_append var value
14529
 
# Append VALUE to the end of shell variable VAR.
14530
 
func_append ()
14531
 
{
14532
 
  eval "$1+=\$2"
14533
 
}
14534
 
_LT_EOF
14535
 
    ;;
14536
 
  *)
14537
 
    cat << \_LT_EOF >> "$cfgfile"
14538
 
 
14539
 
# func_append var value
14540
 
# Append VALUE to the end of shell variable VAR.
14541
 
func_append ()
14542
 
{
14543
 
  eval "$1=\$$1\$2"
14544
 
}
14545
 
 
14546
 
_LT_EOF
14547
 
    ;;
14548
 
  esac
14549
 
 
14550
 
 
14551
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14552
 
    || (rm -f "$cfgfile"; exit 1)
14553
 
 
14554
 
  mv -f "$cfgfile" "$ofile" ||
 
15208
  sed '$q' "$ltmain" >> "$cfgfile" \
 
15209
     || (rm -f "$cfgfile"; exit 1)
 
15210
 
 
15211
  if test x"$xsi_shell" = xyes; then
 
15212
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
15213
func_dirname ()\
 
15214
{\
 
15215
\    case ${1} in\
 
15216
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15217
\      *  ) func_dirname_result="${3}" ;;\
 
15218
\    esac\
 
15219
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
15220
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15221
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15222
test 0 -eq $? || _lt_function_replace_fail=:
 
15223
 
 
15224
 
 
15225
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
15226
func_basename ()\
 
15227
{\
 
15228
\    func_basename_result="${1##*/}"\
 
15229
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15230
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15231
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15232
test 0 -eq $? || _lt_function_replace_fail=:
 
15233
 
 
15234
 
 
15235
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
15236
func_dirname_and_basename ()\
 
15237
{\
 
15238
\    case ${1} in\
 
15239
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15240
\      *  ) func_dirname_result="${3}" ;;\
 
15241
\    esac\
 
15242
\    func_basename_result="${1##*/}"\
 
15243
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15244
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15245
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15246
test 0 -eq $? || _lt_function_replace_fail=:
 
15247
 
 
15248
 
 
15249
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
15250
func_stripname ()\
 
15251
{\
 
15252
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
15253
\    # positional parameters, so assign one to ordinary parameter first.\
 
15254
\    func_stripname_result=${3}\
 
15255
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
15256
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
15257
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
15258
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15259
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15260
test 0 -eq $? || _lt_function_replace_fail=:
 
15261
 
 
15262
 
 
15263
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
15264
func_split_long_opt ()\
 
15265
{\
 
15266
\    func_split_long_opt_name=${1%%=*}\
 
15267
\    func_split_long_opt_arg=${1#*=}\
 
15268
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15269
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15270
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15271
test 0 -eq $? || _lt_function_replace_fail=:
 
15272
 
 
15273
 
 
15274
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
15275
func_split_short_opt ()\
 
15276
{\
 
15277
\    func_split_short_opt_arg=${1#??}\
 
15278
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
15279
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15280
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15281
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15282
test 0 -eq $? || _lt_function_replace_fail=:
 
15283
 
 
15284
 
 
15285
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
15286
func_lo2o ()\
 
15287
{\
 
15288
\    case ${1} in\
 
15289
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
15290
\      *)    func_lo2o_result=${1} ;;\
 
15291
\    esac\
 
15292
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
15293
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15294
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15295
test 0 -eq $? || _lt_function_replace_fail=:
 
15296
 
 
15297
 
 
15298
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
15299
func_xform ()\
 
15300
{\
 
15301
    func_xform_result=${1%.*}.lo\
 
15302
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
15303
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15304
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15305
test 0 -eq $? || _lt_function_replace_fail=:
 
15306
 
 
15307
 
 
15308
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
15309
func_arith ()\
 
15310
{\
 
15311
    func_arith_result=$(( $* ))\
 
15312
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
15313
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15314
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15315
test 0 -eq $? || _lt_function_replace_fail=:
 
15316
 
 
15317
 
 
15318
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
15319
func_len ()\
 
15320
{\
 
15321
    func_len_result=${#1}\
 
15322
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
15323
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15324
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15325
test 0 -eq $? || _lt_function_replace_fail=:
 
15326
 
 
15327
fi
 
15328
 
 
15329
if test x"$lt_shell_append" = xyes; then
 
15330
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
15331
func_append ()\
 
15332
{\
 
15333
    eval "${1}+=\\${2}"\
 
15334
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
15335
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15336
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15337
test 0 -eq $? || _lt_function_replace_fail=:
 
15338
 
 
15339
 
 
15340
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
15341
func_append_quoted ()\
 
15342
{\
 
15343
\    func_quote_for_eval "${2}"\
 
15344
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
15345
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
15346
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15347
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15348
test 0 -eq $? || _lt_function_replace_fail=:
 
15349
 
 
15350
 
 
15351
  # Save a `func_append' function call where possible by direct use of '+='
 
15352
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
15353
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15354
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15355
  test 0 -eq $? || _lt_function_replace_fail=:
 
15356
else
 
15357
  # Save a `func_append' function call even when '+=' is not available
 
15358
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
15359
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15360
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15361
  test 0 -eq $? || _lt_function_replace_fail=:
 
15362
fi
 
15363
 
 
15364
if test x"$_lt_function_replace_fail" = x":"; then
 
15365
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
15366
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
15367
fi
 
15368
 
 
15369
 
 
15370
   mv -f "$cfgfile" "$ofile" ||
14555
15371
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14556
15372
  chmod +x "$ofile"
14557
15373