~ubuntu-desktop/unity-lens-files/ubuntu

« back to all changes in this revision

Viewing changes to configure

  • Committer: Didier Roche
  • Date: 2011-08-11 08:52:55 UTC
  • mfrom: (14.4.24 upstream)
  • Revision ID: didier.roche@canonical.com-20110811085255-jiqd2j7uf549mj24
* New upstream release.
* Fix some conflicts in src/config.vala and src/daemon.vala after
  merge-upstream. Get it back to sane values (no home dir)

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 unity-place-files 0.5.46.
 
3
# Generated by GNU Autoconf 2.68 for unity-lens-files 0.6.0.
4
4
#
5
 
# Report bugs to <https://launchpad.net/unity-place-files>.
 
5
# Report bugs to <https://launchpad.net/unity-lens-files>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
93
93
IFS=" ""        $as_nl"
94
94
 
95
95
# Find who we are.  Look in the path if we contain no directory separator.
 
96
as_myself=
96
97
case $0 in #((
97
98
  *[\\/]* ) as_myself=$0 ;;
98
99
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
175
176
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176
177
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177
178
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
179
test \$(( 1 + 1 )) = 2 || exit 1
 
180
 
 
181
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
182
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
183
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
184
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
185
    PATH=/empty FPATH=/empty; export PATH FPATH
 
186
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
187
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
179
188
  if (eval "$as_required") 2>/dev/null; then :
180
189
  as_have_required=yes
181
190
else
218
227
  # We cannot yet assume a decent shell, so we have to provide a
219
228
        # neutralization value for shells without unset; and this also
220
229
        # works around shells that cannot unset nonexistent variables.
 
230
        # Preserve -v and -x to the replacement shell.
221
231
        BASH_ENV=/dev/null
222
232
        ENV=/dev/null
223
233
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224
234
        export CONFIG_SHELL
225
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
235
        case $- in # ((((
 
236
          *v*x* | *x*v* ) as_opts=-vx ;;
 
237
          *v* ) as_opts=-v ;;
 
238
          *x* ) as_opts=-x ;;
 
239
          * ) as_opts= ;;
 
240
        esac
 
241
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
226
242
fi
227
243
 
228
244
    if test x$as_have_required = xno; then :
233
249
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
234
250
  else
235
251
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
236
 
$0: https://launchpad.net/unity-place-files about your
 
252
$0: https://launchpad.net/unity-lens-files about your
237
253
$0: system, including any error possibly output before this
238
254
$0: message. Then install a modern shell, or manually run
239
255
$0: the script under such a shell if you do have one."
590
606
    if (length(v1)) exit 2
591
607
  }
592
608
'
593
 
 
594
 
 
595
 
# Check that we are running under the correct shell.
596
609
SHELL=${CONFIG_SHELL-/bin/sh}
597
610
 
598
 
case X$lt_ECHO in
599
 
X*--fallback-echo)
600
 
  # Remove one level of quotation (which was required for Make).
601
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
602
 
  ;;
603
 
esac
604
 
 
605
 
ECHO=${lt_ECHO-echo}
606
 
if test "X$1" = X--no-reexec; then
607
 
  # Discard the --no-reexec flag, and continue.
608
 
  shift
609
 
elif test "X$1" = X--fallback-echo; then
610
 
  # Avoid inline document here, it may be left over
611
 
  :
612
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
613
 
  # Yippee, $ECHO works!
614
 
  :
615
 
else
616
 
  # Restart under the correct shell.
617
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
618
 
fi
619
 
 
620
 
if test "X$1" = X--fallback-echo; then
621
 
  # used as fallback echo
622
 
  shift
623
 
  cat <<_LT_EOF
624
 
$*
625
 
_LT_EOF
626
 
  exit 0
627
 
fi
628
 
 
629
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
630
 
# if CDPATH is set.
631
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
632
 
 
633
 
if test -z "$lt_ECHO"; then
634
 
  if test "X${echo_test_string+set}" != Xset; then
635
 
    # find a string as large as possible, as long as the shell can cope with it
636
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
637
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
638
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
639
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
640
 
      then
641
 
        break
642
 
      fi
643
 
    done
644
 
  fi
645
 
 
646
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
649
 
    :
650
 
  else
651
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
652
 
    # backslashes.  This makes it impossible to quote backslashes using
653
 
    #   echo "$something" | sed 's/\\/\\\\/g'
654
 
    #
655
 
    # So, first we look for a working echo in the user's PATH.
656
 
 
657
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
658
 
    for dir in $PATH /usr/ucb; do
659
 
      IFS="$lt_save_ifs"
660
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
661
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
662
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
663
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
664
 
        ECHO="$dir/echo"
665
 
        break
666
 
      fi
667
 
    done
668
 
    IFS="$lt_save_ifs"
669
 
 
670
 
    if test "X$ECHO" = Xecho; then
671
 
      # We didn't find a better echo, so look for alternatives.
672
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
673
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
674
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
675
 
        # This shell has a builtin print -r that does the trick.
676
 
        ECHO='print -r'
677
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
678
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
679
 
        # If we have ksh, try running configure again with it.
680
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
681
 
        export ORIGINAL_CONFIG_SHELL
682
 
        CONFIG_SHELL=/bin/ksh
683
 
        export CONFIG_SHELL
684
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
685
 
      else
686
 
        # Try using printf.
687
 
        ECHO='printf %s\n'
688
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
689
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
690
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
691
 
          # Cool, printf works
692
 
          :
693
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
694
 
             test "X$echo_testing_string" = 'X\t' &&
695
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
696
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
697
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
698
 
          export CONFIG_SHELL
699
 
          SHELL="$CONFIG_SHELL"
700
 
          export SHELL
701
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
702
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
703
 
             test "X$echo_testing_string" = 'X\t' &&
704
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
705
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
706
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
707
 
        else
708
 
          # maybe with a smaller string...
709
 
          prev=:
710
 
 
711
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
712
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
713
 
            then
714
 
              break
715
 
            fi
716
 
            prev="$cmd"
717
 
          done
718
 
 
719
 
          if test "$prev" != 'sed 50q "$0"'; then
720
 
            echo_test_string=`eval $prev`
721
 
            export echo_test_string
722
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
723
 
          else
724
 
            # Oops.  We lost completely, so just stick with echo.
725
 
            ECHO=echo
726
 
          fi
727
 
        fi
728
 
      fi
729
 
    fi
730
 
  fi
731
 
fi
732
 
 
733
 
# Copy echo and quote the copy suitably for passing to libtool from
734
 
# the Makefile, instead of quoting the original, which is used later.
735
 
lt_ECHO=$ECHO
736
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
737
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
738
 
fi
739
 
 
740
 
 
741
 
 
742
611
 
743
612
test -n "$DJDIR" || exec 7<&0 </dev/null
744
613
exec 6>&1
761
630
MAKEFLAGS=
762
631
 
763
632
# Identity of this package.
764
 
PACKAGE_NAME='unity-place-files'
765
 
PACKAGE_TARNAME='unity-place-files'
766
 
PACKAGE_VERSION='0.5.46'
767
 
PACKAGE_STRING='unity-place-files 0.5.46'
768
 
PACKAGE_BUGREPORT='https://launchpad.net/unity-place-files'
 
633
PACKAGE_NAME='unity-lens-files'
 
634
PACKAGE_TARNAME='unity-lens-files'
 
635
PACKAGE_VERSION='0.6.0'
 
636
PACKAGE_STRING='unity-lens-files 0.6.0'
 
637
PACKAGE_BUGREPORT='https://launchpad.net/unity-lens-files'
769
638
PACKAGE_URL=''
770
639
 
771
640
# Factoring default headers for most tests.
808
677
am__EXEEXT_TRUE
809
678
LTLIBOBJS
810
679
LIBOBJS
 
680
LENSESDIR
811
681
DBUSSERVICEDIR
812
682
DATADIR
813
683
PREFIX
815
685
HAVE_LOCALINSTALL_TRUE
816
686
ZEITGEIST_DAEMON_LIBS
817
687
ZEITGEIST_DAEMON_CFLAGS
818
 
PLACE_DAEMON_LIBS
819
 
PLACE_DAEMON_CFLAGS
 
688
LENS_DAEMON_LIBS
 
689
LENS_DAEMON_CFLAGS
820
690
PKG_CONFIG_LIBDIR
821
691
PKG_CONFIG_PATH
822
692
PKG_CONFIG
823
 
INTLTOOL_PLACE_RULE
 
693
INTLTOOL_LENS_RULE
824
694
ALL_LINGUAS
825
695
INTLTOOL_PERL
826
696
MSGMERGE
869
739
LIPO
870
740
NMEDIT
871
741
DSYMUTIL
872
 
lt_ECHO
 
742
MANIFEST_TOOL
873
743
RANLIB
 
744
ac_ct_AR
874
745
AR
 
746
DLLTOOL
875
747
OBJDUMP
876
748
LN_S
877
749
NM
986
858
with_pic
987
859
enable_fast_install
988
860
with_gnu_ld
 
861
with_sysroot
989
862
enable_libtool_lock
990
863
enable_nls
991
864
enable_localinstall
1002
875
PKG_CONFIG
1003
876
PKG_CONFIG_PATH
1004
877
PKG_CONFIG_LIBDIR
1005
 
PLACE_DAEMON_CFLAGS
1006
 
PLACE_DAEMON_LIBS
 
878
LENS_DAEMON_CFLAGS
 
879
LENS_DAEMON_LIBS
1007
880
ZEITGEIST_DAEMON_CFLAGS
1008
881
ZEITGEIST_DAEMON_LIBS'
1009
882
 
1410
1283
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1411
1284
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412
1285
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1413
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1286
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1414
1287
    ;;
1415
1288
 
1416
1289
  esac
1548
1421
  # Omit some internal or obsolete options to make the list less imposing.
1549
1422
  # This message is too long to be a string in the A/UX 3.1 sh.
1550
1423
  cat <<_ACEOF
1551
 
\`configure' configures unity-place-files 0.5.46 to adapt to many kinds of systems.
 
1424
\`configure' configures unity-lens-files 0.6.0 to adapt to many kinds of systems.
1552
1425
 
1553
1426
Usage: $0 [OPTION]... [VAR=VALUE]...
1554
1427
 
1597
1470
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1598
1471
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1599
1472
  --docdir=DIR            documentation root
1600
 
                          [DATAROOTDIR/doc/unity-place-files]
 
1473
                          [DATAROOTDIR/doc/unity-lens-files]
1601
1474
  --htmldir=DIR           html documentation [DOCDIR]
1602
1475
  --dvidir=DIR            dvi documentation [DOCDIR]
1603
1476
  --pdfdir=DIR            pdf documentation [DOCDIR]
1619
1492
 
1620
1493
if test -n "$ac_init_help"; then
1621
1494
  case $ac_init_help in
1622
 
     short | recursive ) echo "Configuration of unity-place-files 0.5.46:";;
 
1495
     short | recursive ) echo "Configuration of unity-lens-files 0.6.0:";;
1623
1496
   esac
1624
1497
  cat <<\_ACEOF
1625
1498
 
1648
1521
  --with-pic              try to use only PIC/non-PIC objects [default=use
1649
1522
                          both]
1650
1523
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1524
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1525
                        (or the compiler's sysroot if not specified).
1651
1526
 
1652
1527
Some influential environment variables:
1653
1528
  CC          C compiler command
1663
1538
              directories to add to pkg-config's search path
1664
1539
  PKG_CONFIG_LIBDIR
1665
1540
              path overriding pkg-config's built-in search path
1666
 
  PLACE_DAEMON_CFLAGS
1667
 
              C compiler flags for PLACE_DAEMON, overriding pkg-config
1668
 
  PLACE_DAEMON_LIBS
1669
 
              linker flags for PLACE_DAEMON, overriding pkg-config
 
1541
  LENS_DAEMON_CFLAGS
 
1542
              C compiler flags for LENS_DAEMON, overriding pkg-config
 
1543
  LENS_DAEMON_LIBS
 
1544
              linker flags for LENS_DAEMON, overriding pkg-config
1670
1545
  ZEITGEIST_DAEMON_CFLAGS
1671
1546
              C compiler flags for ZEITGEIST_DAEMON, overriding pkg-config
1672
1547
  ZEITGEIST_DAEMON_LIBS
1675
1550
Use these variables to override the choices made by `configure' or to help
1676
1551
it to find libraries and programs with nonstandard names/locations.
1677
1552
 
1678
 
Report bugs to <https://launchpad.net/unity-place-files>.
 
1553
Report bugs to <https://launchpad.net/unity-lens-files>.
1679
1554
_ACEOF
1680
1555
ac_status=$?
1681
1556
fi
1738
1613
test -n "$ac_init_help" && exit $ac_status
1739
1614
if $ac_init_version; then
1740
1615
  cat <<\_ACEOF
1741
 
unity-place-files configure 0.5.46
1742
 
generated by GNU Autoconf 2.67
 
1616
unity-lens-files configure 0.6.0
 
1617
generated by GNU Autoconf 2.68
1743
1618
 
1744
1619
Copyright (C) 2010 Free Software Foundation, Inc.
1745
1620
This configure script is free software; the Free Software Foundation
1787
1662
 
1788
1663
        ac_retval=1
1789
1664
fi
1790
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1665
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791
1666
  as_fn_set_status $ac_retval
1792
1667
 
1793
1668
} # ac_fn_c_try_compile
1824
1699
 
1825
1700
    ac_retval=1
1826
1701
fi
1827
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1702
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
1703
  as_fn_set_status $ac_retval
1829
1704
 
1830
1705
} # ac_fn_c_try_cpp
1866
1741
       ac_retval=$ac_status
1867
1742
fi
1868
1743
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1744
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870
1745
  as_fn_set_status $ac_retval
1871
1746
 
1872
1747
} # ac_fn_c_try_run
1912
1787
  # interfere with the next link command; also delete a directory that is
1913
1788
  # left behind by Apple's compiler.  We do this before executing the actions.
1914
1789
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1915
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1790
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916
1791
  as_fn_set_status $ac_retval
1917
1792
 
1918
1793
} # ac_fn_c_try_link
1926
1801
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927
1802
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928
1803
$as_echo_n "checking for $2... " >&6; }
1929
 
if eval "test \"\${$3+set}\"" = set; then :
 
1804
if eval \${$3+:} false; then :
1930
1805
  $as_echo_n "(cached) " >&6
1931
1806
else
1932
1807
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944
1819
eval ac_res=\$$3
1945
1820
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946
1821
$as_echo "$ac_res" >&6; }
1947
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1822
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948
1823
 
1949
1824
} # ac_fn_c_check_header_compile
1950
1825
 
1956
1831
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957
1832
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958
1833
$as_echo_n "checking for $2... " >&6; }
1959
 
if eval "test \"\${$3+set}\"" = set; then :
 
1834
if eval \${$3+:} false; then :
1960
1835
  $as_echo_n "(cached) " >&6
1961
1836
else
1962
1837
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011
1886
eval ac_res=\$$3
2012
1887
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013
1888
$as_echo "$ac_res" >&6; }
2014
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1889
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015
1890
 
2016
1891
} # ac_fn_c_check_func
2017
1892
 
2023
1898
ac_fn_c_check_header_mongrel ()
2024
1899
{
2025
1900
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1901
  if eval \${$3+:} false; then :
2027
1902
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028
1903
$as_echo_n "checking for $2... " >&6; }
2029
 
if eval "test \"\${$3+set}\"" = set; then :
 
1904
if eval \${$3+:} false; then :
2030
1905
  $as_echo_n "(cached) " >&6
2031
1906
fi
2032
1907
eval ac_res=\$$3
2085
1960
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2086
1961
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2087
1962
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2088
 
( $as_echo "## ------------------------------------------------------ ##
2089
 
## Report this to https://launchpad.net/unity-place-files ##
2090
 
## ------------------------------------------------------ ##"
 
1963
( $as_echo "## ----------------------------------------------------- ##
 
1964
## Report this to https://launchpad.net/unity-lens-files ##
 
1965
## ----------------------------------------------------- ##"
2091
1966
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2092
1967
    ;;
2093
1968
esac
2094
1969
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095
1970
$as_echo_n "checking for $2... " >&6; }
2096
 
if eval "test \"\${$3+set}\"" = set; then :
 
1971
if eval \${$3+:} false; then :
2097
1972
  $as_echo_n "(cached) " >&6
2098
1973
else
2099
1974
  eval "$3=\$ac_header_compiler"
2102
1977
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103
1978
$as_echo "$ac_res" >&6; }
2104
1979
fi
2105
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1980
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2106
1981
 
2107
1982
} # ac_fn_c_check_header_mongrel
2108
1983
cat >config.log <<_ACEOF
2109
1984
This file contains any messages produced by compilers while
2110
1985
running configure, to aid debugging if configure makes a mistake.
2111
1986
 
2112
 
It was created by unity-place-files $as_me 0.5.46, which was
2113
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
1987
It was created by unity-lens-files $as_me 0.6.0, which was
 
1988
generated by GNU Autoconf 2.68.  Invocation command line was
2114
1989
 
2115
1990
  $ $0 $@
2116
1991
 
2368
2243
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2369
2244
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2370
2245
as_fn_error $? "failed to load site script $ac_site_file
2371
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2246
See \`config.log' for more details" "$LINENO" 5; }
2372
2247
  fi
2373
2248
done
2374
2249
 
2507
2382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2508
2383
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2509
2384
if test -z "$INSTALL"; then
2510
 
if test "${ac_cv_path_install+set}" = set; then :
 
2385
if ${ac_cv_path_install+:} false; then :
2511
2386
  $as_echo_n "(cached) " >&6
2512
2387
else
2513
2388
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594
2469
'
2595
2470
case `pwd` in
2596
2471
  *[\\\"\#\$\&\'\`$am_lf]*)
2597
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2472
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2598
2473
esac
2599
2474
case $srcdir in
2600
2475
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2601
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2476
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2602
2477
esac
2603
2478
 
2604
2479
# Do `set' in a subshell so we don't clobber the current shell's
2684
2559
set dummy ${ac_tool_prefix}strip; ac_word=$2
2685
2560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686
2561
$as_echo_n "checking for $ac_word... " >&6; }
2687
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2562
if ${ac_cv_prog_STRIP+:} false; then :
2688
2563
  $as_echo_n "(cached) " >&6
2689
2564
else
2690
2565
  if test -n "$STRIP"; then
2724
2599
set dummy strip; ac_word=$2
2725
2600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726
2601
$as_echo_n "checking for $ac_word... " >&6; }
2727
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2602
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2728
2603
  $as_echo_n "(cached) " >&6
2729
2604
else
2730
2605
  if test -n "$ac_ct_STRIP"; then
2777
2652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2778
2653
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2779
2654
if test -z "$MKDIR_P"; then
2780
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2655
  if ${ac_cv_path_mkdir+:} false; then :
2781
2656
  $as_echo_n "(cached) " >&6
2782
2657
else
2783
2658
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828
2703
set dummy $ac_prog; ac_word=$2
2829
2704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830
2705
$as_echo_n "checking for $ac_word... " >&6; }
2831
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2706
if ${ac_cv_prog_AWK+:} false; then :
2832
2707
  $as_echo_n "(cached) " >&6
2833
2708
else
2834
2709
  if test -n "$AWK"; then
2868
2743
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2869
2744
set x ${MAKE-make}
2870
2745
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2871
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2746
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2872
2747
  $as_echo_n "(cached) " >&6
2873
2748
else
2874
2749
  cat >conftest.make <<\_ACEOF
2925
2800
 
2926
2801
 
2927
2802
# Define the identity of the package.
2928
 
 PACKAGE=unity-place-files
2929
 
 VERSION=0.5.46
 
2803
 PACKAGE=unity-lens-files
 
2804
 VERSION=0.6.0
2930
2805
 
2931
2806
 
2932
2807
cat >>confdefs.h <<_ACEOF
3018
2893
set dummy valac; ac_word=$2
3019
2894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020
2895
$as_echo_n "checking for $ac_word... " >&6; }
3021
 
if test "${ac_cv_path_VALAC+set}" = set; then :
 
2896
if ${ac_cv_path_VALAC+:} false; then :
3022
2897
  $as_echo_n "(cached) " >&6
3023
2898
else
3024
2899
  case $VALAC in
3075
2950
  2) :
3076
2951
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077
2952
$as_echo "no" >&6; }
3078
 
          as_fn_error $? "Vala 0.8.0 not found." "$LINENO" 5  ;; #(
 
2953
          as_fn_error $? "Vala 0.8.0 not found." "$LINENO" 5 ;; #(
3079
2954
  *) :
3080
2955
     ;;
3081
2956
esac
3095
2970
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3096
2971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097
2972
$as_echo_n "checking for $ac_word... " >&6; }
3098
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2973
if ${ac_cv_prog_CC+:} false; then :
3099
2974
  $as_echo_n "(cached) " >&6
3100
2975
else
3101
2976
  if test -n "$CC"; then
3135
3010
set dummy gcc; ac_word=$2
3136
3011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137
3012
$as_echo_n "checking for $ac_word... " >&6; }
3138
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3013
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3139
3014
  $as_echo_n "(cached) " >&6
3140
3015
else
3141
3016
  if test -n "$ac_ct_CC"; then
3188
3063
set dummy ${ac_tool_prefix}cc; ac_word=$2
3189
3064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190
3065
$as_echo_n "checking for $ac_word... " >&6; }
3191
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3066
if ${ac_cv_prog_CC+:} false; then :
3192
3067
  $as_echo_n "(cached) " >&6
3193
3068
else
3194
3069
  if test -n "$CC"; then
3228
3103
set dummy cc; ac_word=$2
3229
3104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230
3105
$as_echo_n "checking for $ac_word... " >&6; }
3231
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3106
if ${ac_cv_prog_CC+:} false; then :
3232
3107
  $as_echo_n "(cached) " >&6
3233
3108
else
3234
3109
  if test -n "$CC"; then
3287
3162
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3288
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289
3164
$as_echo_n "checking for $ac_word... " >&6; }
3290
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3165
if ${ac_cv_prog_CC+:} false; then :
3291
3166
  $as_echo_n "(cached) " >&6
3292
3167
else
3293
3168
  if test -n "$CC"; then
3331
3206
set dummy $ac_prog; ac_word=$2
3332
3207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3333
3208
$as_echo_n "checking for $ac_word... " >&6; }
3334
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3209
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3335
3210
  $as_echo_n "(cached) " >&6
3336
3211
else
3337
3212
  if test -n "$ac_ct_CC"; then
3386
3261
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387
3262
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388
3263
as_fn_error $? "no acceptable C compiler found in \$PATH
3389
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3264
See \`config.log' for more details" "$LINENO" 5; }
3390
3265
 
3391
3266
# Provide some information about the compiler.
3392
3267
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3501
3376
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502
3377
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503
3378
as_fn_error 77 "C compiler cannot create executables
3504
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3379
See \`config.log' for more details" "$LINENO" 5; }
3505
3380
else
3506
3381
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3507
3382
$as_echo "yes" >&6; }
3544
3419
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3545
3420
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3546
3421
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3547
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3422
See \`config.log' for more details" "$LINENO" 5; }
3548
3423
fi
3549
3424
rm -f conftest conftest$ac_cv_exeext
3550
3425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3603
3478
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3604
3479
as_fn_error $? "cannot run C compiled programs.
3605
3480
If you meant to cross compile, use \`--host'.
3606
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3481
See \`config.log' for more details" "$LINENO" 5; }
3607
3482
    fi
3608
3483
  fi
3609
3484
fi
3614
3489
ac_clean_files=$ac_clean_files_save
3615
3490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3616
3491
$as_echo_n "checking for suffix of object files... " >&6; }
3617
 
if test "${ac_cv_objext+set}" = set; then :
 
3492
if ${ac_cv_objext+:} false; then :
3618
3493
  $as_echo_n "(cached) " >&6
3619
3494
else
3620
3495
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655
3530
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656
3531
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657
3532
as_fn_error $? "cannot compute suffix of object files: cannot compile
3658
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3533
See \`config.log' for more details" "$LINENO" 5; }
3659
3534
fi
3660
3535
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3661
3536
fi
3665
3540
ac_objext=$OBJEXT
3666
3541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3667
3542
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3668
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3543
if ${ac_cv_c_compiler_gnu+:} false; then :
3669
3544
  $as_echo_n "(cached) " >&6
3670
3545
else
3671
3546
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702
3577
ac_save_CFLAGS=$CFLAGS
3703
3578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3704
3579
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3705
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3580
if ${ac_cv_prog_cc_g+:} false; then :
3706
3581
  $as_echo_n "(cached) " >&6
3707
3582
else
3708
3583
  ac_save_c_werror_flag=$ac_c_werror_flag
3780
3655
fi
3781
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3782
3657
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3783
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3658
if ${ac_cv_prog_cc_c89+:} false; then :
3784
3659
  $as_echo_n "(cached) " >&6
3785
3660
else
3786
3661
  ac_cv_prog_cc_c89=no
3941
3816
 
3942
3817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3943
3818
$as_echo_n "checking dependency style of $depcc... " >&6; }
3944
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3819
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3945
3820
  $as_echo_n "(cached) " >&6
3946
3821
else
3947
3822
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4073
3948
fi
4074
3949
set dummy $CC; ac_cc=`$as_echo "$2" |
4075
3950
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4076
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
3951
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4077
3952
  $as_echo_n "(cached) " >&6
4078
3953
else
4079
3954
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203
4078
  CPP=
4204
4079
fi
4205
4080
if test -z "$CPP"; then
4206
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4081
  if ${ac_cv_prog_CPP+:} false; then :
4207
4082
  $as_echo_n "(cached) " >&6
4208
4083
else
4209
4084
      # Double quotes because CPP needs to be expanded
4319
4194
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320
4195
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321
4196
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4322
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4197
See \`config.log' for more details" "$LINENO" 5; }
4323
4198
fi
4324
4199
 
4325
4200
ac_ext=c
4331
4206
 
4332
4207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4333
4208
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4334
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4209
if ${ac_cv_path_GREP+:} false; then :
4335
4210
  $as_echo_n "(cached) " >&6
4336
4211
else
4337
4212
  if test -z "$GREP"; then
4394
4269
 
4395
4270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4396
4271
$as_echo_n "checking for egrep... " >&6; }
4397
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4272
if ${ac_cv_path_EGREP+:} false; then :
4398
4273
  $as_echo_n "(cached) " >&6
4399
4274
else
4400
4275
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4461
4336
 
4462
4337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4463
4338
$as_echo_n "checking for ANSI C header files... " >&6; }
4464
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
4339
if ${ac_cv_header_stdc+:} false; then :
4465
4340
  $as_echo_n "(cached) " >&6
4466
4341
else
4467
4342
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580
4455
 
4581
4456
 
4582
4457
 
4583
 
macro_version='2.2.6b'
4584
 
macro_revision='1.3017'
 
4458
macro_version='2.4'
 
4459
macro_revision='1.3293'
4585
4460
 
4586
4461
 
4587
4462
 
4603
4478
 
4604
4479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4605
4480
$as_echo_n "checking build system type... " >&6; }
4606
 
if test "${ac_cv_build+set}" = set; then :
 
4481
if ${ac_cv_build+:} false; then :
4607
4482
  $as_echo_n "(cached) " >&6
4608
4483
else
4609
4484
  ac_build_alias=$build_alias
4619
4494
$as_echo "$ac_cv_build" >&6; }
4620
4495
case $ac_cv_build in
4621
4496
*-*-*) ;;
4622
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
4497
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4623
4498
esac
4624
4499
build=$ac_cv_build
4625
4500
ac_save_IFS=$IFS; IFS='-'
4637
4512
 
4638
4513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4639
4514
$as_echo_n "checking host system type... " >&6; }
4640
 
if test "${ac_cv_host+set}" = set; then :
 
4515
if ${ac_cv_host+:} false; then :
4641
4516
  $as_echo_n "(cached) " >&6
4642
4517
else
4643
4518
  if test "x$host_alias" = x; then
4652
4527
$as_echo "$ac_cv_host" >&6; }
4653
4528
case $ac_cv_host in
4654
4529
*-*-*) ;;
4655
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
4530
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4656
4531
esac
4657
4532
host=$ac_cv_host
4658
4533
ac_save_IFS=$IFS; IFS='-'
4668
4543
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4669
4544
 
4670
4545
 
 
4546
# Backslashify metacharacters that are still active within
 
4547
# double-quoted strings.
 
4548
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4549
 
 
4550
# Same as above, but do not quote variable references.
 
4551
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4552
 
 
4553
# Sed substitution to delay expansion of an escaped shell variable in a
 
4554
# double_quote_subst'ed string.
 
4555
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4556
 
 
4557
# Sed substitution to delay expansion of an escaped single quote.
 
4558
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4559
 
 
4560
# Sed substitution to avoid accidental globbing in evaled expressions
 
4561
no_glob_subst='s/\*/\\\*/g'
 
4562
 
 
4563
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4564
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4565
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4566
 
 
4567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4568
$as_echo_n "checking how to print strings... " >&6; }
 
4569
# Test print first, because it will be a builtin if present.
 
4570
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4571
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4572
  ECHO='print -r --'
 
4573
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4574
  ECHO='printf %s\n'
 
4575
else
 
4576
  # Use this function as a fallback that always works.
 
4577
  func_fallback_echo ()
 
4578
  {
 
4579
    eval 'cat <<_LTECHO_EOF
 
4580
$1
 
4581
_LTECHO_EOF'
 
4582
  }
 
4583
  ECHO='func_fallback_echo'
 
4584
fi
 
4585
 
 
4586
# func_echo_all arg...
 
4587
# Invoke $ECHO with all args, space-separated.
 
4588
func_echo_all ()
 
4589
{
 
4590
    $ECHO ""
 
4591
}
 
4592
 
 
4593
case "$ECHO" in
 
4594
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4595
$as_echo "printf" >&6; } ;;
 
4596
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4597
$as_echo "print -r" >&6; } ;;
 
4598
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4599
$as_echo "cat" >&6; } ;;
 
4600
esac
 
4601
 
 
4602
 
 
4603
 
 
4604
 
 
4605
 
 
4606
 
 
4607
 
 
4608
 
 
4609
 
 
4610
 
 
4611
 
 
4612
 
 
4613
 
 
4614
 
4671
4615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4672
4616
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4673
 
if test "${ac_cv_path_SED+set}" = set; then :
 
4617
if ${ac_cv_path_SED+:} false; then :
4674
4618
  $as_echo_n "(cached) " >&6
4675
4619
else
4676
4620
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4752
4696
 
4753
4697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4754
4698
$as_echo_n "checking for fgrep... " >&6; }
4755
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4699
if ${ac_cv_path_FGREP+:} false; then :
4756
4700
  $as_echo_n "(cached) " >&6
4757
4701
else
4758
4702
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4883
4827
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4884
4828
$as_echo_n "checking for non-GNU ld... " >&6; }
4885
4829
fi
4886
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4830
if ${lt_cv_path_LD+:} false; then :
4887
4831
  $as_echo_n "(cached) " >&6
4888
4832
else
4889
4833
  if test -z "$LD"; then
4923
4867
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4924
4868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4925
4869
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4926
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4870
if ${lt_cv_prog_gnu_ld+:} false; then :
4927
4871
  $as_echo_n "(cached) " >&6
4928
4872
else
4929
4873
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4950
4894
 
4951
4895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4952
4896
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4953
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4897
if ${lt_cv_path_NM+:} false; then :
4954
4898
  $as_echo_n "(cached) " >&6
4955
4899
else
4956
4900
  if test -n "$NM"; then
5003
4947
  NM="$lt_cv_path_NM"
5004
4948
else
5005
4949
  # Didn't find any BSD compatible name lister, look for dumpbin.
5006
 
  if test -n "$ac_tool_prefix"; then
5007
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4950
  if test -n "$DUMPBIN"; then :
 
4951
    # Let the user override the test.
 
4952
  else
 
4953
    if test -n "$ac_tool_prefix"; then
 
4954
  for ac_prog in dumpbin "link -dump"
5008
4955
  do
5009
4956
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5010
4957
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5011
4958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012
4959
$as_echo_n "checking for $ac_word... " >&6; }
5013
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4960
if ${ac_cv_prog_DUMPBIN+:} false; then :
5014
4961
  $as_echo_n "(cached) " >&6
5015
4962
else
5016
4963
  if test -n "$DUMPBIN"; then
5048
4995
fi
5049
4996
if test -z "$DUMPBIN"; then
5050
4997
  ac_ct_DUMPBIN=$DUMPBIN
5051
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4998
  for ac_prog in dumpbin "link -dump"
5052
4999
do
5053
5000
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5054
5001
set dummy $ac_prog; ac_word=$2
5055
5002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056
5003
$as_echo_n "checking for $ac_word... " >&6; }
5057
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5004
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5058
5005
  $as_echo_n "(cached) " >&6
5059
5006
else
5060
5007
  if test -n "$ac_ct_DUMPBIN"; then
5103
5050
  fi
5104
5051
fi
5105
5052
 
 
5053
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5054
    *COFF*)
 
5055
      DUMPBIN="$DUMPBIN -symbols"
 
5056
      ;;
 
5057
    *)
 
5058
      DUMPBIN=:
 
5059
      ;;
 
5060
    esac
 
5061
  fi
5106
5062
 
5107
5063
  if test "$DUMPBIN" != ":"; then
5108
5064
    NM="$DUMPBIN"
5117
5073
 
5118
5074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5119
5075
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5120
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
5076
if ${lt_cv_nm_interface+:} false; then :
5121
5077
  $as_echo_n "(cached) " >&6
5122
5078
else
5123
5079
  lt_cv_nm_interface="BSD nm"
5124
5080
  echo "int some_variable = 0;" > conftest.$ac_ext
5125
 
  (eval echo "\"\$as_me:5125: $ac_compile\"" >&5)
 
5081
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5126
5082
  (eval "$ac_compile" 2>conftest.err)
5127
5083
  cat conftest.err >&5
5128
 
  (eval echo "\"\$as_me:5128: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5084
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5129
5085
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5130
5086
  cat conftest.err >&5
5131
 
  (eval echo "\"\$as_me:5131: output\"" >&5)
 
5087
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5132
5088
  cat conftest.out >&5
5133
5089
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5134
5090
    lt_cv_nm_interface="MS dumpbin"
5152
5108
# find the maximum length of command line arguments
5153
5109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5154
5110
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5155
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5111
if ${lt_cv_sys_max_cmd_len+:} false; then :
5156
5112
  $as_echo_n "(cached) " >&6
5157
5113
else
5158
5114
    i=0
5185
5141
    lt_cv_sys_max_cmd_len=8192;
5186
5142
    ;;
5187
5143
 
 
5144
  mint*)
 
5145
    # On MiNT this can take a long time and run out of memory.
 
5146
    lt_cv_sys_max_cmd_len=8192;
 
5147
    ;;
 
5148
 
5188
5149
  amigaos*)
5189
5150
    # On AmigaOS with pdksh, this test takes hours, literally.
5190
5151
    # So we just punt and use a minimum line length of 8192.
5249
5210
      # If test is not a shell built-in, we'll probably end up computing a
5250
5211
      # maximum length that is only half of the actual maximum length, but
5251
5212
      # we can't tell.
5252
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5253
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5213
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5214
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5254
5215
              test $i != 17 # 1/2 MB should be enough
5255
5216
      do
5256
5217
        i=`expr $i + 1`
5292
5253
# Try some XSI features
5293
5254
xsi_shell=no
5294
5255
( _lt_dummy="a/b/c"
5295
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5296
 
      = c,a/b,, \
 
5256
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5257
      = c,a/b,b/c, \
5297
5258
    && eval 'test $(( 1 + 1 )) -eq 2 \
5298
5259
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5299
5260
  && xsi_shell=yes
5342
5303
 
5343
5304
 
5344
5305
 
 
5306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5307
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5308
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5309
  $as_echo_n "(cached) " >&6
 
5310
else
 
5311
  case $host in
 
5312
  *-*-mingw* )
 
5313
    case $build in
 
5314
      *-*-mingw* ) # actually msys
 
5315
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5316
        ;;
 
5317
      *-*-cygwin* )
 
5318
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5319
        ;;
 
5320
      * ) # otherwise, assume *nix
 
5321
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5322
        ;;
 
5323
    esac
 
5324
    ;;
 
5325
  *-*-cygwin* )
 
5326
    case $build in
 
5327
      *-*-mingw* ) # actually msys
 
5328
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5329
        ;;
 
5330
      *-*-cygwin* )
 
5331
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5332
        ;;
 
5333
      * ) # otherwise, assume *nix
 
5334
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5335
        ;;
 
5336
    esac
 
5337
    ;;
 
5338
  * ) # unhandled hosts (and "normal" native builds)
 
5339
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5340
    ;;
 
5341
esac
 
5342
 
 
5343
fi
 
5344
 
 
5345
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5347
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5348
 
 
5349
 
 
5350
 
 
5351
 
 
5352
 
 
5353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5354
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5355
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5356
  $as_echo_n "(cached) " >&6
 
5357
else
 
5358
  #assume ordinary cross tools, or native build.
 
5359
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5360
case $host in
 
5361
  *-*-mingw* )
 
5362
    case $build in
 
5363
      *-*-mingw* ) # actually msys
 
5364
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5365
        ;;
 
5366
    esac
 
5367
    ;;
 
5368
esac
 
5369
 
 
5370
fi
 
5371
 
 
5372
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5374
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5375
 
 
5376
 
 
5377
 
 
5378
 
 
5379
 
5345
5380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5346
5381
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5347
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5382
if ${lt_cv_ld_reload_flag+:} false; then :
5348
5383
  $as_echo_n "(cached) " >&6
5349
5384
else
5350
5385
  lt_cv_ld_reload_flag='-r'
5358
5393
esac
5359
5394
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5360
5395
case $host_os in
 
5396
  cygwin* | mingw* | pw32* | cegcc*)
 
5397
    if test "$GCC" != yes; then
 
5398
      reload_cmds=false
 
5399
    fi
 
5400
    ;;
5361
5401
  darwin*)
5362
5402
    if test "$GCC" = yes; then
5363
5403
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5380
5420
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5381
5421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382
5422
$as_echo_n "checking for $ac_word... " >&6; }
5383
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5423
if ${ac_cv_prog_OBJDUMP+:} false; then :
5384
5424
  $as_echo_n "(cached) " >&6
5385
5425
else
5386
5426
  if test -n "$OBJDUMP"; then
5420
5460
set dummy objdump; ac_word=$2
5421
5461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422
5462
$as_echo_n "checking for $ac_word... " >&6; }
5423
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5463
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5424
5464
  $as_echo_n "(cached) " >&6
5425
5465
else
5426
5466
  if test -n "$ac_ct_OBJDUMP"; then
5479
5519
 
5480
5520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5481
5521
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5482
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5522
if ${lt_cv_deplibs_check_method+:} false; then :
5483
5523
  $as_echo_n "(cached) " >&6
5484
5524
else
5485
5525
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5521
5561
  # Base MSYS/MinGW do not provide the 'file' command needed by
5522
5562
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5523
5563
  # unless we find 'file', for example because we are cross-compiling.
5524
 
  if ( file / ) >/dev/null 2>&1; then
 
5564
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5565
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5525
5566
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5526
5567
    lt_cv_file_magic_cmd='func_win32_libid'
5527
5568
  else
5528
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5569
    # Keep this pattern in sync with the one in func_win32_libid.
 
5570
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5529
5571
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5530
5572
  fi
5531
5573
  ;;
5532
5574
 
5533
 
cegcc)
 
5575
cegcc*)
5534
5576
  # use the weaker test based on 'objdump'. See mingw*.
5535
5577
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5536
5578
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5560
5602
  lt_cv_deplibs_check_method=pass_all
5561
5603
  ;;
5562
5604
 
 
5605
haiku*)
 
5606
  lt_cv_deplibs_check_method=pass_all
 
5607
  ;;
 
5608
 
5563
5609
hpux10.20* | hpux11*)
5564
5610
  lt_cv_file_magic_cmd=/usr/bin/file
5565
5611
  case $host_cpu in
5568
5614
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5569
5615
    ;;
5570
5616
  hppa*64*)
5571
 
    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]'
 
5617
    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]'
5572
5618
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5573
5619
    ;;
5574
5620
  *)
5575
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5621
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5576
5622
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5577
5623
    ;;
5578
5624
  esac
5675
5721
fi
5676
5722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5677
5723
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5724
 
 
5725
file_magic_glob=
 
5726
want_nocaseglob=no
 
5727
if test "$build" = "$host"; then
 
5728
  case $host_os in
 
5729
  mingw* | pw32*)
 
5730
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5731
      want_nocaseglob=yes
 
5732
    else
 
5733
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5734
    fi
 
5735
    ;;
 
5736
  esac
 
5737
fi
 
5738
 
5678
5739
file_magic_cmd=$lt_cv_file_magic_cmd
5679
5740
deplibs_check_method=$lt_cv_deplibs_check_method
5680
5741
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5690
5751
 
5691
5752
 
5692
5753
 
5693
 
if test -n "$ac_tool_prefix"; then
5694
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5695
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5696
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5697
 
$as_echo_n "checking for $ac_word... " >&6; }
5698
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5754
 
 
5755
 
 
5756
 
 
5757
 
 
5758
 
 
5759
 
 
5760
 
 
5761
 
 
5762
 
 
5763
 
 
5764
if test -n "$ac_tool_prefix"; then
 
5765
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5766
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5768
$as_echo_n "checking for $ac_word... " >&6; }
 
5769
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5770
  $as_echo_n "(cached) " >&6
 
5771
else
 
5772
  if test -n "$DLLTOOL"; then
 
5773
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5774
else
 
5775
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5776
for as_dir in $PATH
 
5777
do
 
5778
  IFS=$as_save_IFS
 
5779
  test -z "$as_dir" && as_dir=.
 
5780
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5781
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5782
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5783
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5784
    break 2
 
5785
  fi
 
5786
done
 
5787
  done
 
5788
IFS=$as_save_IFS
 
5789
 
 
5790
fi
 
5791
fi
 
5792
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5793
if test -n "$DLLTOOL"; then
 
5794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5795
$as_echo "$DLLTOOL" >&6; }
 
5796
else
 
5797
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5798
$as_echo "no" >&6; }
 
5799
fi
 
5800
 
 
5801
 
 
5802
fi
 
5803
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5804
  ac_ct_DLLTOOL=$DLLTOOL
 
5805
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5806
set dummy dlltool; ac_word=$2
 
5807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5808
$as_echo_n "checking for $ac_word... " >&6; }
 
5809
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5810
  $as_echo_n "(cached) " >&6
 
5811
else
 
5812
  if test -n "$ac_ct_DLLTOOL"; then
 
5813
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5814
else
 
5815
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5816
for as_dir in $PATH
 
5817
do
 
5818
  IFS=$as_save_IFS
 
5819
  test -z "$as_dir" && as_dir=.
 
5820
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5821
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5822
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5823
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5824
    break 2
 
5825
  fi
 
5826
done
 
5827
  done
 
5828
IFS=$as_save_IFS
 
5829
 
 
5830
fi
 
5831
fi
 
5832
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5833
if test -n "$ac_ct_DLLTOOL"; then
 
5834
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5835
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5836
else
 
5837
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5838
$as_echo "no" >&6; }
 
5839
fi
 
5840
 
 
5841
  if test "x$ac_ct_DLLTOOL" = x; then
 
5842
    DLLTOOL="false"
 
5843
  else
 
5844
    case $cross_compiling:$ac_tool_warned in
 
5845
yes:)
 
5846
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5847
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5848
ac_tool_warned=yes ;;
 
5849
esac
 
5850
    DLLTOOL=$ac_ct_DLLTOOL
 
5851
  fi
 
5852
else
 
5853
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5854
fi
 
5855
 
 
5856
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5857
 
 
5858
 
 
5859
 
 
5860
 
 
5861
 
 
5862
 
 
5863
 
 
5864
 
 
5865
 
 
5866
 
 
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5868
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5869
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5870
  $as_echo_n "(cached) " >&6
 
5871
else
 
5872
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5873
 
 
5874
case $host_os in
 
5875
cygwin* | mingw* | pw32* | cegcc*)
 
5876
  # two different shell functions defined in ltmain.sh
 
5877
  # decide which to use based on capabilities of $DLLTOOL
 
5878
  case `$DLLTOOL --help 2>&1` in
 
5879
  *--identify-strict*)
 
5880
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5881
    ;;
 
5882
  *)
 
5883
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5884
    ;;
 
5885
  esac
 
5886
  ;;
 
5887
*)
 
5888
  # fallback: assume linklib IS sharedlib
 
5889
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5890
  ;;
 
5891
esac
 
5892
 
 
5893
fi
 
5894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5895
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5896
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5897
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5898
 
 
5899
 
 
5900
 
 
5901
 
 
5902
 
 
5903
 
 
5904
 
 
5905
if test -n "$ac_tool_prefix"; then
 
5906
  for ac_prog in ar
 
5907
  do
 
5908
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5909
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5911
$as_echo_n "checking for $ac_word... " >&6; }
 
5912
if ${ac_cv_prog_AR+:} false; then :
5699
5913
  $as_echo_n "(cached) " >&6
5700
5914
else
5701
5915
  if test -n "$AR"; then
5708
5922
  test -z "$as_dir" && as_dir=.
5709
5923
    for ac_exec_ext in '' $ac_executable_extensions; do
5710
5924
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5711
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5925
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5712
5926
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713
5927
    break 2
5714
5928
  fi
5728
5942
fi
5729
5943
 
5730
5944
 
 
5945
    test -n "$AR" && break
 
5946
  done
5731
5947
fi
5732
 
if test -z "$ac_cv_prog_AR"; then
 
5948
if test -z "$AR"; then
5733
5949
  ac_ct_AR=$AR
5734
 
  # Extract the first word of "ar", so it can be a program name with args.
5735
 
set dummy ar; ac_word=$2
 
5950
  for ac_prog in ar
 
5951
do
 
5952
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5953
set dummy $ac_prog; ac_word=$2
5736
5954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737
5955
$as_echo_n "checking for $ac_word... " >&6; }
5738
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5956
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5739
5957
  $as_echo_n "(cached) " >&6
5740
5958
else
5741
5959
  if test -n "$ac_ct_AR"; then
5748
5966
  test -z "$as_dir" && as_dir=.
5749
5967
    for ac_exec_ext in '' $ac_executable_extensions; do
5750
5968
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5751
 
    ac_cv_prog_ac_ct_AR="ar"
 
5969
    ac_cv_prog_ac_ct_AR="$ac_prog"
5752
5970
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753
5971
    break 2
5754
5972
  fi
5767
5985
$as_echo "no" >&6; }
5768
5986
fi
5769
5987
 
 
5988
 
 
5989
  test -n "$ac_ct_AR" && break
 
5990
done
 
5991
 
5770
5992
  if test "x$ac_ct_AR" = x; then
5771
5993
    AR="false"
5772
5994
  else
5778
6000
esac
5779
6001
    AR=$ac_ct_AR
5780
6002
  fi
5781
 
else
5782
 
  AR="$ac_cv_prog_AR"
5783
 
fi
5784
 
 
5785
 
test -z "$AR" && AR=ar
5786
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5787
 
 
5788
 
 
5789
 
 
5790
 
 
 
6003
fi
 
6004
 
 
6005
: ${AR=ar}
 
6006
: ${AR_FLAGS=cru}
 
6007
 
 
6008
 
 
6009
 
 
6010
 
 
6011
 
 
6012
 
 
6013
 
 
6014
 
 
6015
 
 
6016
 
 
6017
 
 
6018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6019
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6020
if ${lt_cv_ar_at_file+:} false; then :
 
6021
  $as_echo_n "(cached) " >&6
 
6022
else
 
6023
  lt_cv_ar_at_file=no
 
6024
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6025
/* end confdefs.h.  */
 
6026
 
 
6027
int
 
6028
main ()
 
6029
{
 
6030
 
 
6031
  ;
 
6032
  return 0;
 
6033
}
 
6034
_ACEOF
 
6035
if ac_fn_c_try_compile "$LINENO"; then :
 
6036
  echo conftest.$ac_objext > conftest.lst
 
6037
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6038
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6039
  (eval $lt_ar_try) 2>&5
 
6040
  ac_status=$?
 
6041
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6042
  test $ac_status = 0; }
 
6043
      if test "$ac_status" -eq 0; then
 
6044
        # Ensure the archiver fails upon bogus file names.
 
6045
        rm -f conftest.$ac_objext libconftest.a
 
6046
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6047
  (eval $lt_ar_try) 2>&5
 
6048
  ac_status=$?
 
6049
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6050
  test $ac_status = 0; }
 
6051
        if test "$ac_status" -ne 0; then
 
6052
          lt_cv_ar_at_file=@
 
6053
        fi
 
6054
      fi
 
6055
      rm -f conftest.* libconftest.a
 
6056
 
 
6057
fi
 
6058
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6059
 
 
6060
fi
 
6061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6062
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6063
 
 
6064
if test "x$lt_cv_ar_at_file" = xno; then
 
6065
  archiver_list_spec=
 
6066
else
 
6067
  archiver_list_spec=$lt_cv_ar_at_file
 
6068
fi
5791
6069
 
5792
6070
 
5793
6071
 
5800
6078
set dummy ${ac_tool_prefix}strip; ac_word=$2
5801
6079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802
6080
$as_echo_n "checking for $ac_word... " >&6; }
5803
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6081
if ${ac_cv_prog_STRIP+:} false; then :
5804
6082
  $as_echo_n "(cached) " >&6
5805
6083
else
5806
6084
  if test -n "$STRIP"; then
5840
6118
set dummy strip; ac_word=$2
5841
6119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842
6120
$as_echo_n "checking for $ac_word... " >&6; }
5843
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6121
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5844
6122
  $as_echo_n "(cached) " >&6
5845
6123
else
5846
6124
  if test -n "$ac_ct_STRIP"; then
5899
6177
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5900
6178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901
6179
$as_echo_n "checking for $ac_word... " >&6; }
5902
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6180
if ${ac_cv_prog_RANLIB+:} false; then :
5903
6181
  $as_echo_n "(cached) " >&6
5904
6182
else
5905
6183
  if test -n "$RANLIB"; then
5939
6217
set dummy ranlib; ac_word=$2
5940
6218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941
6219
$as_echo_n "checking for $ac_word... " >&6; }
5942
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6220
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5943
6221
  $as_echo_n "(cached) " >&6
5944
6222
else
5945
6223
  if test -n "$ac_ct_RANLIB"; then
6010
6288
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6011
6289
fi
6012
6290
 
 
6291
case $host_os in
 
6292
  darwin*)
 
6293
    lock_old_archive_extraction=yes ;;
 
6294
  *)
 
6295
    lock_old_archive_extraction=no ;;
 
6296
esac
 
6297
 
 
6298
 
 
6299
 
 
6300
 
 
6301
 
 
6302
 
6013
6303
 
6014
6304
 
6015
6305
 
6056
6346
# Check for command to grab the raw symbol name followed by C symbol from nm.
6057
6347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6058
6348
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6059
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6349
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6060
6350
  $as_echo_n "(cached) " >&6
6061
6351
else
6062
6352
 
6117
6407
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6118
6408
 
6119
6409
# Transform an extracted symbol line into symbol name and symbol address
6120
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6121
 
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'"
 
6410
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6411
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'"
6122
6412
 
6123
6413
# Handle CRLF in mingw tool chain
6124
6414
opt_cr=
6154
6444
  else
6155
6445
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6156
6446
  fi
 
6447
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6157
6448
 
6158
6449
  # Check to see that the pipe works correctly.
6159
6450
  pipe_works=no
6179
6470
  test $ac_status = 0; }; then
6180
6471
    # Now try to grab the symbols.
6181
6472
    nlist=conftest.nm
6182
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6183
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6473
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6474
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6184
6475
  ac_status=$?
6185
6476
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6186
6477
  test $ac_status = 0; } && test -s "$nlist"; then
6195
6486
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6196
6487
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6197
6488
          cat <<_LT_EOF > conftest.$ac_ext
 
6489
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6490
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6491
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6492
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6493
# define LT_DLSYM_CONST
 
6494
#elif defined(__osf__)
 
6495
/* This system does not cope well with relocations in const data.  */
 
6496
# define LT_DLSYM_CONST
 
6497
#else
 
6498
# define LT_DLSYM_CONST const
 
6499
#endif
 
6500
 
6198
6501
#ifdef __cplusplus
6199
6502
extern "C" {
6200
6503
#endif
6206
6509
          cat <<_LT_EOF >> conftest.$ac_ext
6207
6510
 
6208
6511
/* The mapping between symbol names and symbols.  */
6209
 
const struct {
 
6512
LT_DLSYM_CONST struct {
6210
6513
  const char *name;
6211
6514
  void       *address;
6212
6515
}
6232
6535
_LT_EOF
6233
6536
          # Now try linking the two files.
6234
6537
          mv conftest.$ac_objext conftstm.$ac_objext
6235
 
          lt_save_LIBS="$LIBS"
6236
 
          lt_save_CFLAGS="$CFLAGS"
 
6538
          lt_globsym_save_LIBS=$LIBS
 
6539
          lt_globsym_save_CFLAGS=$CFLAGS
6237
6540
          LIBS="conftstm.$ac_objext"
6238
6541
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6239
6542
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6243
6546
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6244
6547
            pipe_works=yes
6245
6548
          fi
6246
 
          LIBS="$lt_save_LIBS"
6247
 
          CFLAGS="$lt_save_CFLAGS"
 
6549
          LIBS=$lt_globsym_save_LIBS
 
6550
          CFLAGS=$lt_globsym_save_CFLAGS
6248
6551
        else
6249
6552
          echo "cannot find nm_test_func in $nlist" >&5
6250
6553
        fi
6281
6584
$as_echo "ok" >&6; }
6282
6585
fi
6283
6586
 
6284
 
 
6285
 
 
6286
 
 
6287
 
 
6288
 
 
6289
 
 
6290
 
 
6291
 
 
6292
 
 
6293
 
 
6294
 
 
6295
 
 
6296
 
 
6297
 
 
6298
 
 
6299
 
 
 
6587
# Response file support.
 
6588
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6589
  nm_file_list_spec='@'
 
6590
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6591
  nm_file_list_spec='@'
 
6592
fi
 
6593
 
 
6594
 
 
6595
 
 
6596
 
 
6597
 
 
6598
 
 
6599
 
 
6600
 
 
6601
 
 
6602
 
 
6603
 
 
6604
 
 
6605
 
 
6606
 
 
6607
 
 
6608
 
 
6609
 
 
6610
 
 
6611
 
 
6612
 
 
6613
 
 
6614
 
 
6615
 
 
6616
 
 
6617
 
 
6618
 
 
6619
 
 
6620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6621
$as_echo_n "checking for sysroot... " >&6; }
 
6622
 
 
6623
# Check whether --with-sysroot was given.
 
6624
if test "${with_sysroot+set}" = set; then :
 
6625
  withval=$with_sysroot;
 
6626
else
 
6627
  with_sysroot=no
 
6628
fi
 
6629
 
 
6630
 
 
6631
lt_sysroot=
 
6632
case ${with_sysroot} in #(
 
6633
 yes)
 
6634
   if test "$GCC" = yes; then
 
6635
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6636
   fi
 
6637
   ;; #(
 
6638
 /*)
 
6639
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6640
   ;; #(
 
6641
 no|'')
 
6642
   ;; #(
 
6643
 *)
 
6644
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6645
$as_echo "${with_sysroot}" >&6; }
 
6646
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6647
   ;;
 
6648
esac
 
6649
 
 
6650
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6651
$as_echo "${lt_sysroot:-no}" >&6; }
6300
6652
 
6301
6653
 
6302
6654
 
6333
6685
  ;;
6334
6686
*-*-irix6*)
6335
6687
  # Find out which ABI we are using.
6336
 
  echo '#line 6336 "configure"' > conftest.$ac_ext
 
6688
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6337
6689
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6338
6690
  (eval $ac_compile) 2>&5
6339
6691
  ac_status=$?
6427
6779
  CFLAGS="$CFLAGS -belf"
6428
6780
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6429
6781
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6430
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6782
if ${lt_cv_cc_needs_belf+:} false; then :
6431
6783
  $as_echo_n "(cached) " >&6
6432
6784
else
6433
6785
  ac_ext=c
6495
6847
 
6496
6848
need_locks="$enable_libtool_lock"
6497
6849
 
 
6850
if test -n "$ac_tool_prefix"; then
 
6851
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6852
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6854
$as_echo_n "checking for $ac_word... " >&6; }
 
6855
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6856
  $as_echo_n "(cached) " >&6
 
6857
else
 
6858
  if test -n "$MANIFEST_TOOL"; then
 
6859
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6860
else
 
6861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6862
for as_dir in $PATH
 
6863
do
 
6864
  IFS=$as_save_IFS
 
6865
  test -z "$as_dir" && as_dir=.
 
6866
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6867
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6868
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6869
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6870
    break 2
 
6871
  fi
 
6872
done
 
6873
  done
 
6874
IFS=$as_save_IFS
 
6875
 
 
6876
fi
 
6877
fi
 
6878
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6879
if test -n "$MANIFEST_TOOL"; then
 
6880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6881
$as_echo "$MANIFEST_TOOL" >&6; }
 
6882
else
 
6883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6884
$as_echo "no" >&6; }
 
6885
fi
 
6886
 
 
6887
 
 
6888
fi
 
6889
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6890
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6891
  # Extract the first word of "mt", so it can be a program name with args.
 
6892
set dummy mt; ac_word=$2
 
6893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6894
$as_echo_n "checking for $ac_word... " >&6; }
 
6895
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6896
  $as_echo_n "(cached) " >&6
 
6897
else
 
6898
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6899
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6900
else
 
6901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6902
for as_dir in $PATH
 
6903
do
 
6904
  IFS=$as_save_IFS
 
6905
  test -z "$as_dir" && as_dir=.
 
6906
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6907
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6908
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6909
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6910
    break 2
 
6911
  fi
 
6912
done
 
6913
  done
 
6914
IFS=$as_save_IFS
 
6915
 
 
6916
fi
 
6917
fi
 
6918
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6919
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6921
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6922
else
 
6923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6924
$as_echo "no" >&6; }
 
6925
fi
 
6926
 
 
6927
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6928
    MANIFEST_TOOL=":"
 
6929
  else
 
6930
    case $cross_compiling:$ac_tool_warned in
 
6931
yes:)
 
6932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6933
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6934
ac_tool_warned=yes ;;
 
6935
esac
 
6936
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6937
  fi
 
6938
else
 
6939
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6940
fi
 
6941
 
 
6942
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6944
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6945
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6946
  $as_echo_n "(cached) " >&6
 
6947
else
 
6948
  lt_cv_path_mainfest_tool=no
 
6949
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6950
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6951
  cat conftest.err >&5
 
6952
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6953
    lt_cv_path_mainfest_tool=yes
 
6954
  fi
 
6955
  rm -f conftest*
 
6956
fi
 
6957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6958
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6959
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6960
  MANIFEST_TOOL=:
 
6961
fi
 
6962
 
 
6963
 
 
6964
 
 
6965
 
 
6966
 
6498
6967
 
6499
6968
  case $host_os in
6500
6969
    rhapsody* | darwin*)
6503
6972
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6504
6973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505
6974
$as_echo_n "checking for $ac_word... " >&6; }
6506
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6975
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6507
6976
  $as_echo_n "(cached) " >&6
6508
6977
else
6509
6978
  if test -n "$DSYMUTIL"; then
6543
7012
set dummy dsymutil; ac_word=$2
6544
7013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545
7014
$as_echo_n "checking for $ac_word... " >&6; }
6546
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7015
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6547
7016
  $as_echo_n "(cached) " >&6
6548
7017
else
6549
7018
  if test -n "$ac_ct_DSYMUTIL"; then
6595
7064
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6596
7065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6597
7066
$as_echo_n "checking for $ac_word... " >&6; }
6598
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7067
if ${ac_cv_prog_NMEDIT+:} false; then :
6599
7068
  $as_echo_n "(cached) " >&6
6600
7069
else
6601
7070
  if test -n "$NMEDIT"; then
6635
7104
set dummy nmedit; ac_word=$2
6636
7105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6637
7106
$as_echo_n "checking for $ac_word... " >&6; }
6638
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7107
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6639
7108
  $as_echo_n "(cached) " >&6
6640
7109
else
6641
7110
  if test -n "$ac_ct_NMEDIT"; then
6687
7156
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6688
7157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689
7158
$as_echo_n "checking for $ac_word... " >&6; }
6690
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7159
if ${ac_cv_prog_LIPO+:} false; then :
6691
7160
  $as_echo_n "(cached) " >&6
6692
7161
else
6693
7162
  if test -n "$LIPO"; then
6727
7196
set dummy lipo; ac_word=$2
6728
7197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729
7198
$as_echo_n "checking for $ac_word... " >&6; }
6730
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7199
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6731
7200
  $as_echo_n "(cached) " >&6
6732
7201
else
6733
7202
  if test -n "$ac_ct_LIPO"; then
6779
7248
set dummy ${ac_tool_prefix}otool; ac_word=$2
6780
7249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781
7250
$as_echo_n "checking for $ac_word... " >&6; }
6782
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7251
if ${ac_cv_prog_OTOOL+:} false; then :
6783
7252
  $as_echo_n "(cached) " >&6
6784
7253
else
6785
7254
  if test -n "$OTOOL"; then
6819
7288
set dummy otool; ac_word=$2
6820
7289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821
7290
$as_echo_n "checking for $ac_word... " >&6; }
6822
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7291
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6823
7292
  $as_echo_n "(cached) " >&6
6824
7293
else
6825
7294
  if test -n "$ac_ct_OTOOL"; then
6871
7340
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6872
7341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873
7342
$as_echo_n "checking for $ac_word... " >&6; }
6874
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7343
if ${ac_cv_prog_OTOOL64+:} false; then :
6875
7344
  $as_echo_n "(cached) " >&6
6876
7345
else
6877
7346
  if test -n "$OTOOL64"; then
6911
7380
set dummy otool64; ac_word=$2
6912
7381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913
7382
$as_echo_n "checking for $ac_word... " >&6; }
6914
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7383
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6915
7384
  $as_echo_n "(cached) " >&6
6916
7385
else
6917
7386
  if test -n "$ac_ct_OTOOL64"; then
6986
7455
 
6987
7456
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6988
7457
$as_echo_n "checking for -single_module linker flag... " >&6; }
6989
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7458
if ${lt_cv_apple_cc_single_mod+:} false; then :
6990
7459
  $as_echo_n "(cached) " >&6
6991
7460
else
6992
7461
  lt_cv_apple_cc_single_mod=no
7015
7484
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7016
7485
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7017
7486
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7018
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7487
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7019
7488
  $as_echo_n "(cached) " >&6
7020
7489
else
7021
7490
  lt_cv_ld_exported_symbols_list=no
7045
7514
fi
7046
7515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7047
7516
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7517
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7518
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7519
if ${lt_cv_ld_force_load+:} false; then :
 
7520
  $as_echo_n "(cached) " >&6
 
7521
else
 
7522
  lt_cv_ld_force_load=no
 
7523
      cat > conftest.c << _LT_EOF
 
7524
int forced_loaded() { return 2;}
 
7525
_LT_EOF
 
7526
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7527
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7528
      echo "$AR cru libconftest.a conftest.o" >&5
 
7529
      $AR cru libconftest.a conftest.o 2>&5
 
7530
      echo "$RANLIB libconftest.a" >&5
 
7531
      $RANLIB libconftest.a 2>&5
 
7532
      cat > conftest.c << _LT_EOF
 
7533
int main() { return 0;}
 
7534
_LT_EOF
 
7535
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7536
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7537
      _lt_result=$?
 
7538
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7539
        lt_cv_ld_force_load=yes
 
7540
      else
 
7541
        cat conftest.err >&5
 
7542
      fi
 
7543
        rm -f conftest.err libconftest.a conftest conftest.c
 
7544
        rm -rf conftest.dSYM
 
7545
 
 
7546
fi
 
7547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7548
$as_echo "$lt_cv_ld_force_load" >&6; }
7048
7549
    case $host_os in
7049
7550
    rhapsody* | darwin1.[012])
7050
7551
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7072
7573
    else
7073
7574
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7074
7575
    fi
7075
 
    if test "$DSYMUTIL" != ":"; then
 
7576
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7076
7577
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7077
7578
    else
7078
7579
      _lt_dsymutil=
7101
7602
do :
7102
7603
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7103
7604
"
7104
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7605
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7105
7606
  cat >>confdefs.h <<_ACEOF
7106
7607
#define HAVE_DLFCN_H 1
7107
7608
_ACEOF
7112
7613
 
7113
7614
 
7114
7615
 
 
7616
 
 
7617
 
7115
7618
# Set options
7116
7619
 
7117
7620
 
7264
7767
 
7265
7768
 
7266
7769
 
 
7770
 
7267
7771
test -z "$LN_S" && LN_S="ln -s"
7268
7772
 
7269
7773
 
7285
7789
 
7286
7790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7287
7791
$as_echo_n "checking for objdir... " >&6; }
7288
 
if test "${lt_cv_objdir+set}" = set; then :
 
7792
if ${lt_cv_objdir+:} false; then :
7289
7793
  $as_echo_n "(cached) " >&6
7290
7794
else
7291
7795
  rm -f .libs 2>/dev/null
7313
7817
 
7314
7818
 
7315
7819
 
7316
 
 
7317
 
 
7318
 
 
7319
 
 
7320
 
 
7321
 
 
7322
 
 
7323
 
 
7324
 
 
7325
 
 
7326
 
 
7327
 
 
7328
 
 
7329
7820
case $host_os in
7330
7821
aix3*)
7331
7822
  # AIX sometimes has problems with the GCC collect2 program.  For some
7338
7829
  ;;
7339
7830
esac
7340
7831
 
7341
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7342
 
# metacharacters that are still active within double-quoted strings.
7343
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7344
 
 
7345
 
# Same as above, but do not quote variable references.
7346
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7347
 
 
7348
 
# Sed substitution to delay expansion of an escaped shell variable in a
7349
 
# double_quote_subst'ed string.
7350
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7351
 
 
7352
 
# Sed substitution to delay expansion of an escaped single quote.
7353
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7354
 
 
7355
 
# Sed substitution to avoid accidental globbing in evaled expressions
7356
 
no_glob_subst='s/\*/\\\*/g'
7357
 
 
7358
7832
# Global variables:
7359
7833
ofile=libtool
7360
7834
can_build_shared=yes
7383
7857
    *) break;;
7384
7858
  esac
7385
7859
done
7386
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7860
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7387
7861
 
7388
7862
 
7389
7863
# Only perform the check for file, if the check method requires it
7393
7867
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7394
7868
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7395
7869
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7396
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7870
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7397
7871
  $as_echo_n "(cached) " >&6
7398
7872
else
7399
7873
  case $MAGIC_CMD in
7459
7933
  if test -n "$ac_tool_prefix"; then
7460
7934
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7461
7935
$as_echo_n "checking for file... " >&6; }
7462
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7936
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7463
7937
  $as_echo_n "(cached) " >&6
7464
7938
else
7465
7939
  case $MAGIC_CMD in
7592
8066
lt_prog_compiler_no_builtin_flag=
7593
8067
 
7594
8068
if test "$GCC" = yes; then
7595
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8069
  case $cc_basename in
 
8070
  nvcc*)
 
8071
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8072
  *)
 
8073
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8074
  esac
7596
8075
 
7597
8076
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7598
8077
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7599
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8078
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7600
8079
  $as_echo_n "(cached) " >&6
7601
8080
else
7602
8081
  lt_cv_prog_compiler_rtti_exceptions=no
7612
8091
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7613
8092
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7614
8093
   -e 's:$: $lt_compiler_flag:'`
7615
 
   (eval echo "\"\$as_me:7615: $lt_compile\"" >&5)
 
8094
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7616
8095
   (eval "$lt_compile" 2>conftest.err)
7617
8096
   ac_status=$?
7618
8097
   cat conftest.err >&5
7619
 
   echo "$as_me:7619: \$? = $ac_status" >&5
 
8098
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620
8099
   if (exit $ac_status) && test -s "$ac_outfile"; then
7621
8100
     # The compiler can only warn and ignore the option if not recognized
7622
8101
     # So say no if there are warnings other than the usual output.
7623
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8102
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7624
8103
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7625
8104
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7626
8105
       lt_cv_prog_compiler_rtti_exceptions=yes
7649
8128
lt_prog_compiler_pic=
7650
8129
lt_prog_compiler_static=
7651
8130
 
7652
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7653
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7654
8131
 
7655
8132
  if test "$GCC" = yes; then
7656
8133
    lt_prog_compiler_wl='-Wl,'
7698
8175
      lt_prog_compiler_pic='-fno-common'
7699
8176
      ;;
7700
8177
 
 
8178
    haiku*)
 
8179
      # PIC is the default for Haiku.
 
8180
      # The "-static" flag exists, but is broken.
 
8181
      lt_prog_compiler_static=
 
8182
      ;;
 
8183
 
7701
8184
    hpux*)
7702
8185
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7703
8186
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7740
8223
      lt_prog_compiler_pic='-fPIC'
7741
8224
      ;;
7742
8225
    esac
 
8226
 
 
8227
    case $cc_basename in
 
8228
    nvcc*) # Cuda Compiler Driver 2.2
 
8229
      lt_prog_compiler_wl='-Xlinker '
 
8230
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8231
      ;;
 
8232
    esac
7743
8233
  else
7744
8234
    # PORTME Check for flag to pass linker flags through the system compiler.
7745
8235
    case $host_os in
7802
8292
        lt_prog_compiler_pic='--shared'
7803
8293
        lt_prog_compiler_static='--static'
7804
8294
        ;;
7805
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8295
      nagfor*)
 
8296
        # NAG Fortran compiler
 
8297
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8298
        lt_prog_compiler_pic='-PIC'
 
8299
        lt_prog_compiler_static='-Bstatic'
 
8300
        ;;
 
8301
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7806
8302
        # Portland Group compilers (*not* the Pentium gcc compiler,
7807
8303
        # which looks to be a dead project)
7808
8304
        lt_prog_compiler_wl='-Wl,'
7814
8310
        # All Alpha code is PIC.
7815
8311
        lt_prog_compiler_static='-non_shared'
7816
8312
        ;;
7817
 
      xl*)
7818
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8313
      xl* | bgxl* | bgf* | mpixl*)
 
8314
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7819
8315
        lt_prog_compiler_wl='-Wl,'
7820
8316
        lt_prog_compiler_pic='-qpic'
7821
8317
        lt_prog_compiler_static='-qstaticlink'
7822
8318
        ;;
7823
8319
      *)
7824
8320
        case `$CC -V 2>&1 | sed 5q` in
 
8321
        *Sun\ F* | *Sun*Fortran*)
 
8322
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8323
          lt_prog_compiler_pic='-KPIC'
 
8324
          lt_prog_compiler_static='-Bstatic'
 
8325
          lt_prog_compiler_wl=''
 
8326
          ;;
7825
8327
        *Sun\ C*)
7826
8328
          # Sun C 5.9
7827
8329
          lt_prog_compiler_pic='-KPIC'
7828
8330
          lt_prog_compiler_static='-Bstatic'
7829
8331
          lt_prog_compiler_wl='-Wl,'
7830
8332
          ;;
7831
 
        *Sun\ F*)
7832
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7833
 
          lt_prog_compiler_pic='-KPIC'
7834
 
          lt_prog_compiler_static='-Bstatic'
7835
 
          lt_prog_compiler_wl=''
7836
 
          ;;
7837
8333
        esac
7838
8334
        ;;
7839
8335
      esac
7864
8360
      lt_prog_compiler_pic='-KPIC'
7865
8361
      lt_prog_compiler_static='-Bstatic'
7866
8362
      case $cc_basename in
7867
 
      f77* | f90* | f95*)
 
8363
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7868
8364
        lt_prog_compiler_wl='-Qoption ld ';;
7869
8365
      *)
7870
8366
        lt_prog_compiler_wl='-Wl,';;
7921
8417
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7922
8418
    ;;
7923
8419
esac
7924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7925
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7926
 
 
7927
 
 
7928
 
 
7929
 
 
7930
 
 
 
8420
 
 
8421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8422
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8423
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8424
  $as_echo_n "(cached) " >&6
 
8425
else
 
8426
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8427
fi
 
8428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8429
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8430
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7931
8431
 
7932
8432
#
7933
8433
# Check to make sure the PIC flag actually works.
7935
8435
if test -n "$lt_prog_compiler_pic"; then
7936
8436
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7937
8437
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7938
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8438
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7939
8439
  $as_echo_n "(cached) " >&6
7940
8440
else
7941
8441
  lt_cv_prog_compiler_pic_works=no
7951
8451
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7952
8452
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7953
8453
   -e 's:$: $lt_compiler_flag:'`
7954
 
   (eval echo "\"\$as_me:7954: $lt_compile\"" >&5)
 
8454
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7955
8455
   (eval "$lt_compile" 2>conftest.err)
7956
8456
   ac_status=$?
7957
8457
   cat conftest.err >&5
7958
 
   echo "$as_me:7958: \$? = $ac_status" >&5
 
8458
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959
8459
   if (exit $ac_status) && test -s "$ac_outfile"; then
7960
8460
     # The compiler can only warn and ignore the option if not recognized
7961
8461
     # So say no if there are warnings other than the usual output.
7962
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8462
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7963
8463
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7964
8464
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7965
8465
       lt_cv_prog_compiler_pic_works=yes
7988
8488
 
7989
8489
 
7990
8490
 
 
8491
 
 
8492
 
 
8493
 
 
8494
 
 
8495
 
7991
8496
#
7992
8497
# Check to make sure the static flag actually works.
7993
8498
#
7994
8499
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7995
8500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7996
8501
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7997
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8502
if ${lt_cv_prog_compiler_static_works+:} false; then :
7998
8503
  $as_echo_n "(cached) " >&6
7999
8504
else
8000
8505
  lt_cv_prog_compiler_static_works=no
8007
8512
     if test -s conftest.err; then
8008
8513
       # Append any errors to the config.log.
8009
8514
       cat conftest.err 1>&5
8010
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8515
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8011
8516
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8012
8517
       if diff conftest.exp conftest.er2 >/dev/null; then
8013
8518
         lt_cv_prog_compiler_static_works=yes
8037
8542
 
8038
8543
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8039
8544
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8040
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8545
if ${lt_cv_prog_compiler_c_o+:} false; then :
8041
8546
  $as_echo_n "(cached) " >&6
8042
8547
else
8043
8548
  lt_cv_prog_compiler_c_o=no
8056
8561
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8057
8562
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8058
8563
   -e 's:$: $lt_compiler_flag:'`
8059
 
   (eval echo "\"\$as_me:8059: $lt_compile\"" >&5)
 
8564
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8060
8565
   (eval "$lt_compile" 2>out/conftest.err)
8061
8566
   ac_status=$?
8062
8567
   cat out/conftest.err >&5
8063
 
   echo "$as_me:8063: \$? = $ac_status" >&5
 
8568
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064
8569
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8065
8570
   then
8066
8571
     # The compiler can only warn and ignore the option if not recognized
8067
8572
     # So say no if there are warnings
8068
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8573
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8069
8574
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8070
8575
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8071
8576
       lt_cv_prog_compiler_c_o=yes
8092
8597
 
8093
8598
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8094
8599
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8095
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8600
if ${lt_cv_prog_compiler_c_o+:} false; then :
8096
8601
  $as_echo_n "(cached) " >&6
8097
8602
else
8098
8603
  lt_cv_prog_compiler_c_o=no
8111
8616
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8112
8617
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8113
8618
   -e 's:$: $lt_compiler_flag:'`
8114
 
   (eval echo "\"\$as_me:8114: $lt_compile\"" >&5)
 
8619
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8115
8620
   (eval "$lt_compile" 2>out/conftest.err)
8116
8621
   ac_status=$?
8117
8622
   cat out/conftest.err >&5
8118
 
   echo "$as_me:8118: \$? = $ac_status" >&5
 
8623
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119
8624
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8120
8625
   then
8121
8626
     # The compiler can only warn and ignore the option if not recognized
8122
8627
     # So say no if there are warnings
8123
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8628
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8124
8629
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8125
8630
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8126
8631
       lt_cv_prog_compiler_c_o=yes
8230
8735
  openbsd*)
8231
8736
    with_gnu_ld=no
8232
8737
    ;;
8233
 
  linux* | k*bsd*-gnu)
 
8738
  linux* | k*bsd*-gnu | gnu*)
8234
8739
    link_all_deplibs=no
8235
8740
    ;;
8236
8741
  esac
8237
8742
 
8238
8743
  ld_shlibs=yes
 
8744
 
 
8745
  # On some targets, GNU ld is compatible enough with the native linker
 
8746
  # that we're better off using the native interface for both.
 
8747
  lt_use_gnu_ld_interface=no
8239
8748
  if test "$with_gnu_ld" = yes; then
 
8749
    case $host_os in
 
8750
      aix*)
 
8751
        # The AIX port of GNU ld has always aspired to compatibility
 
8752
        # with the native linker.  However, as the warning in the GNU ld
 
8753
        # block says, versions before 2.19.5* couldn't really create working
 
8754
        # shared libraries, regardless of the interface used.
 
8755
        case `$LD -v 2>&1` in
 
8756
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8757
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8758
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8759
          *)
 
8760
            lt_use_gnu_ld_interface=yes
 
8761
            ;;
 
8762
        esac
 
8763
        ;;
 
8764
      *)
 
8765
        lt_use_gnu_ld_interface=yes
 
8766
        ;;
 
8767
    esac
 
8768
  fi
 
8769
 
 
8770
  if test "$lt_use_gnu_ld_interface" = yes; then
8240
8771
    # If archive_cmds runs LD, not CC, wlarc should be empty
8241
8772
    wlarc='${wl}'
8242
8773
 
8270
8801
        ld_shlibs=no
8271
8802
        cat <<_LT_EOF 1>&2
8272
8803
 
8273
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8804
*** Warning: the GNU linker, at least up to release 2.19, is reported
8274
8805
*** to be unable to reliably create shared libraries on AIX.
8275
8806
*** Therefore, libtool is disabling shared libraries support.  If you
8276
 
*** really care for shared libraries, you may want to modify your PATH
8277
 
*** so that a non-GNU linker is found, and then restart.
 
8807
*** really care for shared libraries, you may want to install binutils
 
8808
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8809
*** You will then need to restart the configuration process.
8278
8810
 
8279
8811
_LT_EOF
8280
8812
      fi
8310
8842
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8311
8843
      # as there is no search path for DLLs.
8312
8844
      hardcode_libdir_flag_spec='-L$libdir'
 
8845
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8313
8846
      allow_undefined_flag=unsupported
8314
8847
      always_export_symbols=no
8315
8848
      enable_shared_with_static_runtimes=yes
8316
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8849
      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'
 
8850
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8317
8851
 
8318
8852
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8319
8853
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8331
8865
      fi
8332
8866
      ;;
8333
8867
 
 
8868
    haiku*)
 
8869
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8870
      link_all_deplibs=yes
 
8871
      ;;
 
8872
 
8334
8873
    interix[3-9]*)
8335
8874
      hardcode_direct=no
8336
8875
      hardcode_shlibpath_var=no
8356
8895
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8357
8896
         && test "$tmp_diet" = no
8358
8897
      then
8359
 
        tmp_addflag=
 
8898
        tmp_addflag=' $pic_flag'
8360
8899
        tmp_sharedflag='-shared'
8361
8900
        case $cc_basename,$host_cpu in
8362
8901
        pgcc*)                          # Portland Group C compiler
8363
 
          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'
 
8902
          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'
8364
8903
          tmp_addflag=' $pic_flag'
8365
8904
          ;;
8366
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8367
 
          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'
 
8905
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8906
                                        # Portland Group f77 and f90 compilers
 
8907
          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'
8368
8908
          tmp_addflag=' $pic_flag -Mnomain' ;;
8369
8909
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8370
8910
          tmp_addflag=' -i_dynamic' ;;
8375
8915
        lf95*)                          # Lahey Fortran 8.1
8376
8916
          whole_archive_flag_spec=
8377
8917
          tmp_sharedflag='--shared' ;;
8378
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8918
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8379
8919
          tmp_sharedflag='-qmkshrobj'
8380
8920
          tmp_addflag= ;;
 
8921
        nvcc*)  # Cuda Compiler Driver 2.2
 
8922
          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'
 
8923
          compiler_needs_object=yes
 
8924
          ;;
8381
8925
        esac
8382
8926
        case `$CC -V 2>&1 | sed 5q` in
8383
8927
        *Sun\ C*)                       # Sun C 5.9
8384
 
          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'
 
8928
          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'
8385
8929
          compiler_needs_object=yes
8386
8930
          tmp_sharedflag='-G' ;;
8387
8931
        *Sun\ F*)                       # Sun Fortran 8.3
8397
8941
        fi
8398
8942
 
8399
8943
        case $cc_basename in
8400
 
        xlf*)
 
8944
        xlf* | bgf* | bgxlf* | mpixlf*)
8401
8945
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8402
8946
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8403
8947
          hardcode_libdir_flag_spec=
8404
8948
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8405
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8949
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8406
8950
          if test "x$supports_anon_versioning" = xyes; then
8407
8951
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8408
8952
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8409
8953
              echo "local: *; };" >> $output_objdir/$libname.ver~
8410
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8954
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8411
8955
          fi
8412
8956
          ;;
8413
8957
        esac
8421
8965
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8422
8966
        wlarc=
8423
8967
      else
8424
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8425
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8968
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8969
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8426
8970
      fi
8427
8971
      ;;
8428
8972
 
8440
8984
 
8441
8985
_LT_EOF
8442
8986
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8443
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8444
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8987
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8988
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8445
8989
      else
8446
8990
        ld_shlibs=no
8447
8991
      fi
8487
9031
 
8488
9032
    *)
8489
9033
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8490
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8491
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9034
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9035
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8492
9036
      else
8493
9037
        ld_shlibs=no
8494
9038
      fi
8528
9072
      else
8529
9073
        # If we're using GNU nm, then we don't want the "-C" option.
8530
9074
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9075
        # Also, AIX nm treats weak defined symbols like other global
 
9076
        # defined symbols, whereas GNU nm marks them as "W".
8531
9077
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8532
 
          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'
 
9078
          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'
8533
9079
        else
8534
9080
          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'
8535
9081
        fi
8617
9163
        allow_undefined_flag='-berok'
8618
9164
        # Determine the default libpath from the value encoded in an
8619
9165
        # empty executable.
8620
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9166
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9167
  aix_libpath=$lt_cv_aix_libpath
 
9168
else
 
9169
  if ${lt_cv_aix_libpath_+:} false; then :
 
9170
  $as_echo_n "(cached) " >&6
 
9171
else
 
9172
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621
9173
/* end confdefs.h.  */
8622
9174
 
8623
9175
int
8630
9182
_ACEOF
8631
9183
if ac_fn_c_try_link "$LINENO"; then :
8632
9184
 
8633
 
lt_aix_libpath_sed='
8634
 
    /Import File Strings/,/^$/ {
8635
 
        /^0/ {
8636
 
            s/^0  *\(.*\)$/\1/
8637
 
            p
8638
 
        }
8639
 
    }'
8640
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8641
 
# Check for a 64-bit object if we didn't find anything.
8642
 
if test -z "$aix_libpath"; then
8643
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8644
 
fi
 
9185
  lt_aix_libpath_sed='
 
9186
      /Import File Strings/,/^$/ {
 
9187
          /^0/ {
 
9188
              s/^0  *\([^ ]*\) *$/\1/
 
9189
              p
 
9190
          }
 
9191
      }'
 
9192
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9193
  # Check for a 64-bit object if we didn't find anything.
 
9194
  if test -z "$lt_cv_aix_libpath_"; then
 
9195
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9196
  fi
8645
9197
fi
8646
9198
rm -f core conftest.err conftest.$ac_objext \
8647
9199
    conftest$ac_exeext conftest.$ac_ext
8648
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9200
  if test -z "$lt_cv_aix_libpath_"; then
 
9201
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9202
  fi
 
9203
 
 
9204
fi
 
9205
 
 
9206
  aix_libpath=$lt_cv_aix_libpath_
 
9207
fi
8649
9208
 
8650
9209
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8651
 
        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"
 
9210
        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"
8652
9211
      else
8653
9212
        if test "$host_cpu" = ia64; then
8654
9213
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8657
9216
        else
8658
9217
         # Determine the default libpath from the value encoded in an
8659
9218
         # empty executable.
8660
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9219
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9220
  aix_libpath=$lt_cv_aix_libpath
 
9221
else
 
9222
  if ${lt_cv_aix_libpath_+:} false; then :
 
9223
  $as_echo_n "(cached) " >&6
 
9224
else
 
9225
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661
9226
/* end confdefs.h.  */
8662
9227
 
8663
9228
int
8670
9235
_ACEOF
8671
9236
if ac_fn_c_try_link "$LINENO"; then :
8672
9237
 
8673
 
lt_aix_libpath_sed='
8674
 
    /Import File Strings/,/^$/ {
8675
 
        /^0/ {
8676
 
            s/^0  *\(.*\)$/\1/
8677
 
            p
8678
 
        }
8679
 
    }'
8680
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8681
 
# Check for a 64-bit object if we didn't find anything.
8682
 
if test -z "$aix_libpath"; then
8683
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8684
 
fi
 
9238
  lt_aix_libpath_sed='
 
9239
      /Import File Strings/,/^$/ {
 
9240
          /^0/ {
 
9241
              s/^0  *\([^ ]*\) *$/\1/
 
9242
              p
 
9243
          }
 
9244
      }'
 
9245
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9246
  # Check for a 64-bit object if we didn't find anything.
 
9247
  if test -z "$lt_cv_aix_libpath_"; then
 
9248
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9249
  fi
8685
9250
fi
8686
9251
rm -f core conftest.err conftest.$ac_objext \
8687
9252
    conftest$ac_exeext conftest.$ac_ext
8688
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9253
  if test -z "$lt_cv_aix_libpath_"; then
 
9254
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9255
  fi
 
9256
 
 
9257
fi
 
9258
 
 
9259
  aix_libpath=$lt_cv_aix_libpath_
 
9260
fi
8689
9261
 
8690
9262
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8691
9263
          # Warning - without using the other run time loading flags,
8692
9264
          # -berok will link without error, but may produce a broken library.
8693
9265
          no_undefined_flag=' ${wl}-bernotok'
8694
9266
          allow_undefined_flag=' ${wl}-berok'
8695
 
          # Exported symbols can be pulled into shared objects from archives
8696
 
          whole_archive_flag_spec='$convenience'
 
9267
          if test "$with_gnu_ld" = yes; then
 
9268
            # We only use this code for GNU lds that support --whole-archive.
 
9269
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9270
          else
 
9271
            # Exported symbols can be pulled into shared objects from archives
 
9272
            whole_archive_flag_spec='$convenience'
 
9273
          fi
8697
9274
          archive_cmds_need_lc=yes
8698
9275
          # This is similar to how AIX traditionally builds its shared libraries.
8699
9276
          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'
8725
9302
      # Microsoft Visual C++.
8726
9303
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8727
9304
      # no search path for DLLs.
8728
 
      hardcode_libdir_flag_spec=' '
8729
 
      allow_undefined_flag=unsupported
8730
 
      # Tell ltmain to make .lib files, not .a files.
8731
 
      libext=lib
8732
 
      # Tell ltmain to make .dll files, not .so files.
8733
 
      shrext_cmds=".dll"
8734
 
      # FIXME: Setting linknames here is a bad hack.
8735
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8736
 
      # The linker will automatically build a .lib file if we build a DLL.
8737
 
      old_archive_from_new_cmds='true'
8738
 
      # FIXME: Should let the user specify the lib program.
8739
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8740
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8741
 
      enable_shared_with_static_runtimes=yes
 
9305
      case $cc_basename in
 
9306
      cl*)
 
9307
        # Native MSVC
 
9308
        hardcode_libdir_flag_spec=' '
 
9309
        allow_undefined_flag=unsupported
 
9310
        always_export_symbols=yes
 
9311
        file_list_spec='@'
 
9312
        # Tell ltmain to make .lib files, not .a files.
 
9313
        libext=lib
 
9314
        # Tell ltmain to make .dll files, not .so files.
 
9315
        shrext_cmds=".dll"
 
9316
        # FIXME: Setting linknames here is a bad hack.
 
9317
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9318
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9319
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9320
          else
 
9321
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9322
          fi~
 
9323
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9324
          linknames='
 
9325
        # The linker will not automatically build a static lib if we build a DLL.
 
9326
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9327
        enable_shared_with_static_runtimes=yes
 
9328
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9329
        # Don't use ranlib
 
9330
        old_postinstall_cmds='chmod 644 $oldlib'
 
9331
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9332
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9333
          case $lt_outputfile in
 
9334
            *.exe|*.EXE) ;;
 
9335
            *)
 
9336
              lt_outputfile="$lt_outputfile.exe"
 
9337
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9338
              ;;
 
9339
          esac~
 
9340
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9341
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9342
            $RM "$lt_outputfile.manifest";
 
9343
          fi'
 
9344
        ;;
 
9345
      *)
 
9346
        # Assume MSVC wrapper
 
9347
        hardcode_libdir_flag_spec=' '
 
9348
        allow_undefined_flag=unsupported
 
9349
        # Tell ltmain to make .lib files, not .a files.
 
9350
        libext=lib
 
9351
        # Tell ltmain to make .dll files, not .so files.
 
9352
        shrext_cmds=".dll"
 
9353
        # FIXME: Setting linknames here is a bad hack.
 
9354
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9355
        # The linker will automatically build a .lib file if we build a DLL.
 
9356
        old_archive_from_new_cmds='true'
 
9357
        # FIXME: Should let the user specify the lib program.
 
9358
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9359
        enable_shared_with_static_runtimes=yes
 
9360
        ;;
 
9361
      esac
8742
9362
      ;;
8743
9363
 
8744
9364
    darwin* | rhapsody*)
8748
9368
  hardcode_direct=no
8749
9369
  hardcode_automatic=yes
8750
9370
  hardcode_shlibpath_var=unsupported
8751
 
  whole_archive_flag_spec=''
 
9371
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9372
    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\"`'
 
9373
  else
 
9374
    whole_archive_flag_spec=''
 
9375
  fi
8752
9376
  link_all_deplibs=yes
8753
9377
  allow_undefined_flag="$_lt_dar_allow_undefined"
8754
9378
  case $cc_basename in
8756
9380
     *) _lt_dar_can_shared=$GCC ;;
8757
9381
  esac
8758
9382
  if test "$_lt_dar_can_shared" = "yes"; then
8759
 
    output_verbose_link_cmd=echo
 
9383
    output_verbose_link_cmd=func_echo_all
8760
9384
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8761
9385
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8762
9386
    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}"
8799
9423
 
8800
9424
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8801
9425
    freebsd* | dragonfly*)
8802
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9426
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8803
9427
      hardcode_libdir_flag_spec='-R$libdir'
8804
9428
      hardcode_direct=yes
8805
9429
      hardcode_shlibpath_var=no
8807
9431
 
8808
9432
    hpux9*)
8809
9433
      if test "$GCC" = yes; then
8810
 
        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'
 
9434
        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'
8811
9435
      else
8812
9436
        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'
8813
9437
      fi
8822
9446
      ;;
8823
9447
 
8824
9448
    hpux10*)
8825
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8826
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9449
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9450
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8827
9451
      else
8828
9452
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8829
9453
      fi
8841
9465
      ;;
8842
9466
 
8843
9467
    hpux11*)
8844
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9468
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8845
9469
        case $host_cpu in
8846
9470
        hppa*64*)
8847
9471
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8848
9472
          ;;
8849
9473
        ia64*)
8850
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9474
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8851
9475
          ;;
8852
9476
        *)
8853
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9477
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8854
9478
          ;;
8855
9479
        esac
8856
9480
      else
8862
9486
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8863
9487
          ;;
8864
9488
        *)
8865
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9489
 
 
9490
          # Older versions of the 11.00 compiler do not understand -b yet
 
9491
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9492
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9493
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9494
if ${lt_cv_prog_compiler__b+:} false; then :
 
9495
  $as_echo_n "(cached) " >&6
 
9496
else
 
9497
  lt_cv_prog_compiler__b=no
 
9498
   save_LDFLAGS="$LDFLAGS"
 
9499
   LDFLAGS="$LDFLAGS -b"
 
9500
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9501
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9502
     # The linker can only warn and ignore the option if not recognized
 
9503
     # So say no if there are warnings
 
9504
     if test -s conftest.err; then
 
9505
       # Append any errors to the config.log.
 
9506
       cat conftest.err 1>&5
 
9507
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9508
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9509
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9510
         lt_cv_prog_compiler__b=yes
 
9511
       fi
 
9512
     else
 
9513
       lt_cv_prog_compiler__b=yes
 
9514
     fi
 
9515
   fi
 
9516
   $RM -r conftest*
 
9517
   LDFLAGS="$save_LDFLAGS"
 
9518
 
 
9519
fi
 
9520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9521
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9522
 
 
9523
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9524
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9525
else
 
9526
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9527
fi
 
9528
 
8866
9529
          ;;
8867
9530
        esac
8868
9531
      fi
8890
9553
 
8891
9554
    irix5* | irix6* | nonstopux*)
8892
9555
      if test "$GCC" = yes; then
8893
 
        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'
 
9556
        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'
8894
9557
        # Try to use the -exported_symbol ld option, if it does not
8895
9558
        # work, assume that -exports_file does not work either and
8896
9559
        # implicitly export all symbols.
8897
 
        save_LDFLAGS="$LDFLAGS"
8898
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8899
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9560
        # This should be the same for all languages, so no per-tag cache variable.
 
9561
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9562
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9563
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9564
  $as_echo_n "(cached) " >&6
 
9565
else
 
9566
  save_LDFLAGS="$LDFLAGS"
 
9567
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9568
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900
9569
/* end confdefs.h.  */
8901
 
int foo(void) {}
 
9570
int foo (void) { return 0; }
8902
9571
_ACEOF
8903
9572
if ac_fn_c_try_link "$LINENO"; then :
8904
 
  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'
8905
 
 
 
9573
  lt_cv_irix_exported_symbol=yes
 
9574
else
 
9575
  lt_cv_irix_exported_symbol=no
8906
9576
fi
8907
9577
rm -f core conftest.err conftest.$ac_objext \
8908
9578
    conftest$ac_exeext conftest.$ac_ext
8909
 
        LDFLAGS="$save_LDFLAGS"
 
9579
           LDFLAGS="$save_LDFLAGS"
 
9580
fi
 
9581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9582
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9583
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9584
          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'
 
9585
        fi
8910
9586
      else
8911
 
        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'
8912
 
        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'
 
9587
        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'
 
9588
        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'
8913
9589
      fi
8914
9590
      archive_cmds_need_lc='no'
8915
9591
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8971
9647
      hardcode_libdir_flag_spec='-L$libdir'
8972
9648
      hardcode_minus_L=yes
8973
9649
      allow_undefined_flag=unsupported
8974
 
      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'
 
9650
      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'
8975
9651
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8976
9652
      ;;
8977
9653
 
8978
9654
    osf3*)
8979
9655
      if test "$GCC" = yes; then
8980
9656
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8981
 
        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'
 
9657
        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'
8982
9658
      else
8983
9659
        allow_undefined_flag=' -expect_unresolved \*'
8984
 
        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'
 
9660
        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'
8985
9661
      fi
8986
9662
      archive_cmds_need_lc='no'
8987
9663
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8991
9667
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8992
9668
      if test "$GCC" = yes; then
8993
9669
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8994
 
        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'
 
9670
        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'
8995
9671
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8996
9672
      else
8997
9673
        allow_undefined_flag=' -expect_unresolved \*'
8998
 
        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'
 
9674
        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'
8999
9675
        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~
9000
 
        $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'
 
9676
        $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'
9001
9677
 
9002
9678
        # Both c and cxx compiler support -rpath directly
9003
9679
        hardcode_libdir_flag_spec='-rpath $libdir'
9010
9686
      no_undefined_flag=' -z defs'
9011
9687
      if test "$GCC" = yes; then
9012
9688
        wlarc='${wl}'
9013
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9689
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9014
9690
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9015
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9691
          $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'
9016
9692
      else
9017
9693
        case `$CC -V 2>&1` in
9018
9694
        *"Compilers 5.0"*)
9200
9876
      # to ld, don't add -lc before -lgcc.
9201
9877
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9202
9878
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9203
 
      $RM conftest*
9204
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9879
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9880
  $as_echo_n "(cached) " >&6
 
9881
else
 
9882
  $RM conftest*
 
9883
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9205
9884
 
9206
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9885
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9207
9886
  (eval $ac_compile) 2>&5
9208
9887
  ac_status=$?
9209
9888
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9210
9889
  test $ac_status = 0; } 2>conftest.err; then
9211
 
        soname=conftest
9212
 
        lib=conftest
9213
 
        libobjs=conftest.$ac_objext
9214
 
        deplibs=
9215
 
        wl=$lt_prog_compiler_wl
9216
 
        pic_flag=$lt_prog_compiler_pic
9217
 
        compiler_flags=-v
9218
 
        linker_flags=-v
9219
 
        verstring=
9220
 
        output_objdir=.
9221
 
        libname=conftest
9222
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9223
 
        allow_undefined_flag=
9224
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9890
          soname=conftest
 
9891
          lib=conftest
 
9892
          libobjs=conftest.$ac_objext
 
9893
          deplibs=
 
9894
          wl=$lt_prog_compiler_wl
 
9895
          pic_flag=$lt_prog_compiler_pic
 
9896
          compiler_flags=-v
 
9897
          linker_flags=-v
 
9898
          verstring=
 
9899
          output_objdir=.
 
9900
          libname=conftest
 
9901
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9902
          allow_undefined_flag=
 
9903
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9225
9904
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9226
9905
  ac_status=$?
9227
9906
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9228
9907
  test $ac_status = 0; }
9229
 
        then
9230
 
          archive_cmds_need_lc=no
9231
 
        else
9232
 
          archive_cmds_need_lc=yes
9233
 
        fi
9234
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9235
 
      else
9236
 
        cat conftest.err 1>&5
9237
 
      fi
9238
 
      $RM conftest*
9239
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9240
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9908
          then
 
9909
            lt_cv_archive_cmds_need_lc=no
 
9910
          else
 
9911
            lt_cv_archive_cmds_need_lc=yes
 
9912
          fi
 
9913
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9914
        else
 
9915
          cat conftest.err 1>&5
 
9916
        fi
 
9917
        $RM conftest*
 
9918
 
 
9919
fi
 
9920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9921
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9922
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9241
9923
      ;;
9242
9924
    esac
9243
9925
  fi
9408
10090
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9409
10091
    *) lt_awk_arg="/^libraries:/" ;;
9410
10092
  esac
9411
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9412
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10093
  case $host_os in
 
10094
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10095
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10096
  esac
 
10097
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10098
  case $lt_search_path_spec in
 
10099
  *\;*)
9413
10100
    # if the path contains ";" then we assume it to be the separator
9414
10101
    # otherwise default to the standard path separator (i.e. ":") - it is
9415
10102
    # assumed that no part of a normal pathname contains ";" but that should
9416
10103
    # okay in the real world where ";" in dirpaths is itself problematic.
9417
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9418
 
  else
9419
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9420
 
  fi
 
10104
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10105
    ;;
 
10106
  *)
 
10107
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10108
    ;;
 
10109
  esac
9421
10110
  # Ok, now we have the path, separated by spaces, we can step through it
9422
10111
  # and add multilib dir if necessary.
9423
10112
  lt_tmp_lt_search_path_spec=
9430
10119
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9431
10120
    fi
9432
10121
  done
9433
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10122
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9434
10123
BEGIN {RS=" "; FS="/|\n";} {
9435
10124
  lt_foo="";
9436
10125
  lt_count=0;
9450
10139
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9451
10140
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9452
10141
}'`
9453
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10142
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10143
  # for these hosts.
 
10144
  case $host_os in
 
10145
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10146
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10147
  esac
 
10148
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9454
10149
else
9455
10150
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9456
10151
fi
9538
10233
  m68k)
9539
10234
    library_names_spec='$libname.ixlibrary $libname.a'
9540
10235
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9541
 
    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'
 
10236
    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'
9542
10237
    ;;
9543
10238
  esac
9544
10239
  ;;
9569
10264
  need_version=no
9570
10265
  need_lib_prefix=no
9571
10266
 
9572
 
  case $GCC,$host_os in
9573
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10267
  case $GCC,$cc_basename in
 
10268
  yes,*)
 
10269
    # gcc
9574
10270
    library_names_spec='$libname.dll.a'
9575
10271
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9576
10272
    postinstall_cmds='base_file=`basename \${file}`~
9591
10287
    cygwin*)
9592
10288
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9593
10289
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9594
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10290
 
 
10291
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9595
10292
      ;;
9596
10293
    mingw* | cegcc*)
9597
10294
      # MinGW DLLs use traditional 'lib' prefix
9598
10295
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9599
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9600
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9601
 
        # It is most probably a Windows format PATH printed by
9602
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9603
 
        # path with ; separators, and with drive letters. We can handle the
9604
 
        # drive letters (cygwin fileutils understands them), so leave them,
9605
 
        # especially as we might pass files found there to a mingw objdump,
9606
 
        # which wouldn't understand a cygwinified path. Ahh.
9607
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9608
 
      else
9609
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9610
 
      fi
9611
10296
      ;;
9612
10297
    pw32*)
9613
10298
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9614
10299
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9615
10300
      ;;
9616
10301
    esac
 
10302
    dynamic_linker='Win32 ld.exe'
 
10303
    ;;
 
10304
 
 
10305
  *,cl*)
 
10306
    # Native MSVC
 
10307
    libname_spec='$name'
 
10308
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10309
    library_names_spec='${libname}.dll.lib'
 
10310
 
 
10311
    case $build_os in
 
10312
    mingw*)
 
10313
      sys_lib_search_path_spec=
 
10314
      lt_save_ifs=$IFS
 
10315
      IFS=';'
 
10316
      for lt_path in $LIB
 
10317
      do
 
10318
        IFS=$lt_save_ifs
 
10319
        # Let DOS variable expansion print the short 8.3 style file name.
 
10320
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10321
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10322
      done
 
10323
      IFS=$lt_save_ifs
 
10324
      # Convert to MSYS style.
 
10325
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10326
      ;;
 
10327
    cygwin*)
 
10328
      # Convert to unix form, then to dos form, then back to unix form
 
10329
      # but this time dos style (no spaces!) so that the unix form looks
 
10330
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10331
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10332
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10333
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10334
      ;;
 
10335
    *)
 
10336
      sys_lib_search_path_spec="$LIB"
 
10337
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10338
        # It is most probably a Windows format PATH.
 
10339
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10340
      else
 
10341
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10342
      fi
 
10343
      # FIXME: find the short name or the path components, as spaces are
 
10344
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10345
      ;;
 
10346
    esac
 
10347
 
 
10348
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10349
    postinstall_cmds='base_file=`basename \${file}`~
 
10350
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10351
      dldir=$destdir/`dirname \$dlpath`~
 
10352
      test -d \$dldir || mkdir -p \$dldir~
 
10353
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10354
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10355
      dlpath=$dir/\$dldll~
 
10356
       $RM \$dlpath'
 
10357
    shlibpath_overrides_runpath=yes
 
10358
    dynamic_linker='Win32 link.exe'
9617
10359
    ;;
9618
10360
 
9619
10361
  *)
 
10362
    # Assume MSVC wrapper
9620
10363
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10364
    dynamic_linker='Win32 ld.exe'
9621
10365
    ;;
9622
10366
  esac
9623
 
  dynamic_linker='Win32 ld.exe'
9624
10367
  # FIXME: first we should search . and the directory the executable is in
9625
10368
  shlibpath_var=PATH
9626
10369
  ;;
9704
10447
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9705
10448
  soname_spec='${libname}${release}${shared_ext}$major'
9706
10449
  shlibpath_var=LD_LIBRARY_PATH
 
10450
  shlibpath_overrides_runpath=no
 
10451
  hardcode_into_libs=yes
 
10452
  ;;
 
10453
 
 
10454
haiku*)
 
10455
  version_type=linux
 
10456
  need_lib_prefix=no
 
10457
  need_version=no
 
10458
  dynamic_linker="$host_os runtime_loader"
 
10459
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10460
  soname_spec='${libname}${release}${shared_ext}$major'
 
10461
  shlibpath_var=LIBRARY_PATH
 
10462
  shlibpath_overrides_runpath=yes
 
10463
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9707
10464
  hardcode_into_libs=yes
9708
10465
  ;;
9709
10466
 
9749
10506
    soname_spec='${libname}${release}${shared_ext}$major'
9750
10507
    ;;
9751
10508
  esac
9752
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10509
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9753
10510
  postinstall_cmds='chmod 555 $lib'
 
10511
  # or fails outright, so override atomically:
 
10512
  install_override_mode=555
9754
10513
  ;;
9755
10514
 
9756
10515
interix[3-9]*)
9817
10576
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9818
10577
  shlibpath_var=LD_LIBRARY_PATH
9819
10578
  shlibpath_overrides_runpath=no
 
10579
 
9820
10580
  # Some binutils ld are patched to set DT_RUNPATH
9821
 
  save_LDFLAGS=$LDFLAGS
9822
 
  save_libdir=$libdir
9823
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9824
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9825
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10581
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10582
  $as_echo_n "(cached) " >&6
 
10583
else
 
10584
  lt_cv_shlibpath_overrides_runpath=no
 
10585
    save_LDFLAGS=$LDFLAGS
 
10586
    save_libdir=$libdir
 
10587
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10588
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10589
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826
10590
/* end confdefs.h.  */
9827
10591
 
9828
10592
int
9835
10599
_ACEOF
9836
10600
if ac_fn_c_try_link "$LINENO"; then :
9837
10601
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9838
 
  shlibpath_overrides_runpath=yes
 
10602
  lt_cv_shlibpath_overrides_runpath=yes
9839
10603
fi
9840
10604
fi
9841
10605
rm -f core conftest.err conftest.$ac_objext \
9842
10606
    conftest$ac_exeext conftest.$ac_ext
9843
 
  LDFLAGS=$save_LDFLAGS
9844
 
  libdir=$save_libdir
 
10607
    LDFLAGS=$save_LDFLAGS
 
10608
    libdir=$save_libdir
 
10609
 
 
10610
fi
 
10611
 
 
10612
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9845
10613
 
9846
10614
  # This implies no fast_install, which is unacceptable.
9847
10615
  # Some rework will be needed to allow for fast_install
9850
10618
 
9851
10619
  # Append ld.so.conf contents to the search path
9852
10620
  if test -f /etc/ld.so.conf; then
9853
 
    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' ' '`
 
10621
    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' ' '`
9854
10622
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9855
10623
  fi
9856
10624
 
10165
10933
 
10166
10934
 
10167
10935
 
 
10936
 
 
10937
 
 
10938
 
 
10939
 
 
10940
 
10168
10941
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10169
10942
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10170
10943
hardcode_action=
10237
11010
  # if libdl is installed we need to link against it
10238
11011
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10239
11012
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10240
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11013
if ${ac_cv_lib_dl_dlopen+:} false; then :
10241
11014
  $as_echo_n "(cached) " >&6
10242
11015
else
10243
11016
  ac_check_lib_save_LIBS=$LIBS
10271
11044
fi
10272
11045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10273
11046
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10274
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11047
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10275
11048
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10276
11049
else
10277
11050
 
10285
11058
 
10286
11059
  *)
10287
11060
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10288
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11061
if test "x$ac_cv_func_shl_load" = xyes; then :
10289
11062
  lt_cv_dlopen="shl_load"
10290
11063
else
10291
11064
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10292
11065
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10293
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11066
if ${ac_cv_lib_dld_shl_load+:} false; then :
10294
11067
  $as_echo_n "(cached) " >&6
10295
11068
else
10296
11069
  ac_check_lib_save_LIBS=$LIBS
10324
11097
fi
10325
11098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10326
11099
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10327
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11100
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10328
11101
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10329
11102
else
10330
11103
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10331
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11104
if test "x$ac_cv_func_dlopen" = xyes; then :
10332
11105
  lt_cv_dlopen="dlopen"
10333
11106
else
10334
11107
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10335
11108
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10336
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11109
if ${ac_cv_lib_dl_dlopen+:} false; then :
10337
11110
  $as_echo_n "(cached) " >&6
10338
11111
else
10339
11112
  ac_check_lib_save_LIBS=$LIBS
10367
11140
fi
10368
11141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10369
11142
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10370
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11143
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10371
11144
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10372
11145
else
10373
11146
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10374
11147
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10375
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11148
if ${ac_cv_lib_svld_dlopen+:} false; then :
10376
11149
  $as_echo_n "(cached) " >&6
10377
11150
else
10378
11151
  ac_check_lib_save_LIBS=$LIBS
10406
11179
fi
10407
11180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10408
11181
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10409
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11182
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10410
11183
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10411
11184
else
10412
11185
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10413
11186
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10414
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11187
if ${ac_cv_lib_dld_dld_link+:} false; then :
10415
11188
  $as_echo_n "(cached) " >&6
10416
11189
else
10417
11190
  ac_check_lib_save_LIBS=$LIBS
10445
11218
fi
10446
11219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10447
11220
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10448
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11221
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10449
11222
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10450
11223
fi
10451
11224
 
10486
11259
 
10487
11260
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10488
11261
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10489
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11262
if ${lt_cv_dlopen_self+:} false; then :
10490
11263
  $as_echo_n "(cached) " >&6
10491
11264
else
10492
11265
          if test "$cross_compiling" = yes; then :
10495
11268
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10496
11269
  lt_status=$lt_dlunknown
10497
11270
  cat > conftest.$ac_ext <<_LT_EOF
10498
 
#line 10498 "configure"
 
11271
#line $LINENO "configure"
10499
11272
#include "confdefs.h"
10500
11273
 
10501
11274
#if HAVE_DLFCN_H
10536
11309
#  endif
10537
11310
#endif
10538
11311
 
10539
 
void fnord() { int i=42;}
 
11312
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11313
   correspondingly for the symbols needed.  */
 
11314
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11315
int fnord () __attribute__((visibility("default")));
 
11316
#endif
 
11317
 
 
11318
int fnord () { return 42; }
10540
11319
int main ()
10541
11320
{
10542
11321
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10545
11324
  if (self)
10546
11325
    {
10547
11326
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10548
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11327
      else
 
11328
        {
 
11329
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11330
          else puts (dlerror ());
 
11331
        }
10549
11332
      /* dlclose (self); */
10550
11333
    }
10551
11334
  else
10582
11365
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10583
11366
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10584
11367
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10585
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11368
if ${lt_cv_dlopen_self_static+:} false; then :
10586
11369
  $as_echo_n "(cached) " >&6
10587
11370
else
10588
11371
          if test "$cross_compiling" = yes; then :
10591
11374
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10592
11375
  lt_status=$lt_dlunknown
10593
11376
  cat > conftest.$ac_ext <<_LT_EOF
10594
 
#line 10594 "configure"
 
11377
#line $LINENO "configure"
10595
11378
#include "confdefs.h"
10596
11379
 
10597
11380
#if HAVE_DLFCN_H
10632
11415
#  endif
10633
11416
#endif
10634
11417
 
10635
 
void fnord() { int i=42;}
 
11418
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11419
   correspondingly for the symbols needed.  */
 
11420
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11421
int fnord () __attribute__((visibility("default")));
 
11422
#endif
 
11423
 
 
11424
int fnord () { return 42; }
10636
11425
int main ()
10637
11426
{
10638
11427
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10641
11430
  if (self)
10642
11431
    {
10643
11432
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10644
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11433
      else
 
11434
        {
 
11435
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11436
          else puts (dlerror ());
 
11437
        }
10645
11438
      /* dlclose (self); */
10646
11439
    }
10647
11440
  else
10836
11629
   for ac_header in locale.h
10837
11630
do :
10838
11631
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
10839
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
11632
if test "x$ac_cv_header_locale_h" = xyes; then :
10840
11633
  cat >>confdefs.h <<_ACEOF
10841
11634
#define HAVE_LOCALE_H 1
10842
11635
_ACEOF
10848
11641
    if test $ac_cv_header_locale_h = yes; then
10849
11642
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
10850
11643
$as_echo_n "checking for LC_MESSAGES... " >&6; }
10851
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
11644
if ${am_cv_val_LC_MESSAGES+:} false; then :
10852
11645
  $as_echo_n "(cached) " >&6
10853
11646
else
10854
11647
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888
11681
    INTLLIBS=
10889
11682
 
10890
11683
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
10891
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
11684
if test "x$ac_cv_header_libintl_h" = xyes; then :
10892
11685
  gt_cv_func_dgettext_libintl="no"
10893
11686
      libintl_extra_libs=""
10894
11687
 
10897
11690
      #
10898
11691
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
10899
11692
$as_echo_n "checking for ngettext in libc... " >&6; }
10900
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
11693
if ${gt_cv_func_ngettext_libc+:} false; then :
10901
11694
  $as_echo_n "(cached) " >&6
10902
11695
else
10903
11696
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928
11721
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10929
11722
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
10930
11723
$as_echo_n "checking for dgettext in libc... " >&6; }
10931
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
11724
if ${gt_cv_func_dgettext_libc+:} false; then :
10932
11725
  $as_echo_n "(cached) " >&6
10933
11726
else
10934
11727
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961
11754
        for ac_func in bind_textdomain_codeset
10962
11755
do :
10963
11756
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
10964
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
11757
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
10965
11758
  cat >>confdefs.h <<_ACEOF
10966
11759
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
10967
11760
_ACEOF
10980
11773
 
10981
11774
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
10982
11775
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
10983
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
11776
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
10984
11777
  $as_echo_n "(cached) " >&6
10985
11778
else
10986
11779
  ac_check_lib_save_LIBS=$LIBS
11014
11807
fi
11015
11808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
11016
11809
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11017
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
11810
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
11018
11811
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11019
11812
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11020
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
11813
if ${ac_cv_lib_intl_ngettext+:} false; then :
11021
11814
  $as_echo_n "(cached) " >&6
11022
11815
else
11023
11816
  ac_check_lib_save_LIBS=$LIBS
11051
11844
fi
11052
11845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11053
11846
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11054
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11847
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
11055
11848
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
11056
11849
$as_echo_n "checking for dgettext in -lintl... " >&6; }
11057
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
11850
if ${ac_cv_lib_intl_dgettext+:} false; then :
11058
11851
  $as_echo_n "(cached) " >&6
11059
11852
else
11060
11853
  ac_check_lib_save_LIBS=$LIBS
11088
11881
fi
11089
11882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
11090
11883
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11091
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
11884
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
11092
11885
  gt_cv_func_dgettext_libintl=yes
11093
11886
fi
11094
11887
 
11104
11897
$as_echo "" >&6; }
11105
11898
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11106
11899
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11107
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
11900
if ${ac_cv_lib_intl_ngettext+:} false; then :
11108
11901
  $as_echo_n "(cached) " >&6
11109
11902
else
11110
11903
  ac_check_lib_save_LIBS=$LIBS
11138
11931
fi
11139
11932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11140
11933
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11141
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11934
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
11142
11935
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
11143
11936
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
11144
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
11937
if ${ac_cv_lib_intl_dcgettext+:} false; then :
11145
11938
  $as_echo_n "(cached) " >&6
11146
11939
else
11147
11940
  ac_check_lib_save_LIBS=$LIBS
11175
11968
fi
11176
11969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
11177
11970
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11178
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
11971
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
11179
11972
  gt_cv_func_dgettext_libintl=yes
11180
11973
                        libintl_extra_libs=-liconv
11181
11974
else
11200
11993
          for ac_func in bind_textdomain_codeset
11201
11994
do :
11202
11995
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11203
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
11996
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11204
11997
  cat >>confdefs.h <<_ACEOF
11205
11998
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
11206
11999
_ACEOF
11238
12031
set dummy msgfmt; ac_word=$2
11239
12032
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11240
12033
$as_echo_n "checking for $ac_word... " >&6; }
11241
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
12034
if ${ac_cv_path_MSGFMT+:} false; then :
11242
12035
  $as_echo_n "(cached) " >&6
11243
12036
else
11244
12037
  case "$MSGFMT" in
11275
12068
          for ac_func in dcgettext
11276
12069
do :
11277
12070
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11278
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
12071
if test "x$ac_cv_func_dcgettext" = xyes; then :
11279
12072
  cat >>confdefs.h <<_ACEOF
11280
12073
#define HAVE_DCGETTEXT 1
11281
12074
_ACEOF
11316
12109
set dummy gmsgfmt; ac_word=$2
11317
12110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11318
12111
$as_echo_n "checking for $ac_word... " >&6; }
11319
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
12112
if ${ac_cv_path_GMSGFMT+:} false; then :
11320
12113
  $as_echo_n "(cached) " >&6
11321
12114
else
11322
12115
  case $GMSGFMT in
11357
12150
set dummy xgettext; ac_word=$2
11358
12151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11359
12152
$as_echo_n "checking for $ac_word... " >&6; }
11360
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
12153
if ${ac_cv_path_XGETTEXT+:} false; then :
11361
12154
  $as_echo_n "(cached) " >&6
11362
12155
else
11363
12156
  case "$XGETTEXT" in
11408
12201
  case $host in
11409
12202
            *-*-solaris*)
11410
12203
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11411
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12204
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11412
12205
  CATOBJEXT=.gmo
11413
12206
               DATADIRNAME=share
11414
12207
else
11584
12377
set dummy intltool-update; ac_word=$2
11585
12378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11586
12379
$as_echo_n "checking for $ac_word... " >&6; }
11587
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
12380
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
11588
12381
  $as_echo_n "(cached) " >&6
11589
12382
else
11590
12383
  case $INTLTOOL_UPDATE in
11624
12417
set dummy intltool-merge; ac_word=$2
11625
12418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11626
12419
$as_echo_n "checking for $ac_word... " >&6; }
11627
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
12420
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
11628
12421
  $as_echo_n "(cached) " >&6
11629
12422
else
11630
12423
  case $INTLTOOL_MERGE in
11664
12457
set dummy intltool-extract; ac_word=$2
11665
12458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11666
12459
$as_echo_n "checking for $ac_word... " >&6; }
11667
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
12460
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
11668
12461
  $as_echo_n "(cached) " >&6
11669
12462
else
11670
12463
  case $INTLTOOL_EXTRACT in
11825
12618
set dummy xgettext; ac_word=$2
11826
12619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11827
12620
$as_echo_n "checking for $ac_word... " >&6; }
11828
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
12621
if ${ac_cv_path_XGETTEXT+:} false; then :
11829
12622
  $as_echo_n "(cached) " >&6
11830
12623
else
11831
12624
  case $XGETTEXT in
11865
12658
set dummy msgmerge; ac_word=$2
11866
12659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11867
12660
$as_echo_n "checking for $ac_word... " >&6; }
11868
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
12661
if ${ac_cv_path_MSGMERGE+:} false; then :
11869
12662
  $as_echo_n "(cached) " >&6
11870
12663
else
11871
12664
  case $MSGMERGE in
11905
12698
set dummy msgfmt; ac_word=$2
11906
12699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11907
12700
$as_echo_n "checking for $ac_word... " >&6; }
11908
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
12701
if ${ac_cv_path_MSGFMT+:} false; then :
11909
12702
  $as_echo_n "(cached) " >&6
11910
12703
else
11911
12704
  case $MSGFMT in
11945
12738
set dummy gmsgfmt; ac_word=$2
11946
12739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11947
12740
$as_echo_n "checking for $ac_word... " >&6; }
11948
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
12741
if ${ac_cv_path_GMSGFMT+:} false; then :
11949
12742
  $as_echo_n "(cached) " >&6
11950
12743
else
11951
12744
  case $GMSGFMT in
11996
12789
set dummy perl; ac_word=$2
11997
12790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11998
12791
$as_echo_n "checking for $ac_word... " >&6; }
11999
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
12792
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12000
12793
  $as_echo_n "(cached) " >&6
12001
12794
else
12002
12795
  case $INTLTOOL_PERL in
12080
12873
  case $host in
12081
12874
    *-*-solaris*)
12082
12875
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12083
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12876
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12084
12877
  DATADIRNAME=share
12085
12878
else
12086
12879
  DATADIRNAME=lib
12118
12911
 
12119
12912
 
12120
12913
######################################################
12121
 
# intltool rule for generating translated .place file
 
12914
# intltool rule for generating translated .lens file
12122
12915
######################################################
12123
 
INTLTOOL_PLACE_RULE='%.place: %.place.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12916
INTLTOOL_LENS_RULE='%.lens: %.lens.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12124
12917
 
12125
12918
 
12126
12919
#####################################################
12133
12926
 
12134
12927
 
12135
12928
 
 
12929
 
12136
12930
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12137
12931
        if test -n "$ac_tool_prefix"; then
12138
12932
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12139
12933
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12140
12934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12141
12935
$as_echo_n "checking for $ac_word... " >&6; }
12142
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
12936
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12143
12937
  $as_echo_n "(cached) " >&6
12144
12938
else
12145
12939
  case $PKG_CONFIG in
12182
12976
set dummy pkg-config; ac_word=$2
12183
12977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12184
12978
$as_echo_n "checking for $ac_word... " >&6; }
12185
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
12979
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12186
12980
  $as_echo_n "(cached) " >&6
12187
12981
else
12188
12982
  case $ac_pt_PKG_CONFIG in
12248
13042
fi
12249
13043
 
12250
13044
pkg_failed=no
12251
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PLACE_DAEMON" >&5
12252
 
$as_echo_n "checking for PLACE_DAEMON... " >&6; }
 
13045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LENS_DAEMON" >&5
 
13046
$as_echo_n "checking for LENS_DAEMON... " >&6; }
12253
13047
 
12254
 
if test -n "$PLACE_DAEMON_CFLAGS"; then
12255
 
    pkg_cv_PLACE_DAEMON_CFLAGS="$PLACE_DAEMON_CFLAGS"
 
13048
if test -n "$LENS_DAEMON_CFLAGS"; then
 
13049
    pkg_cv_LENS_DAEMON_CFLAGS="$LENS_DAEMON_CFLAGS"
12256
13050
 elif test -n "$PKG_CONFIG"; then
12257
13051
    if test -n "$PKG_CONFIG" && \
12258
13052
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
12274
13068
  ac_status=$?
12275
13069
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12276
13070
  test $ac_status = 0; }; then
12277
 
  pkg_cv_PLACE_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
 
13071
  pkg_cv_LENS_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
12278
13072
                  gobject-2.0 >= $GLIB_REQUIRED
12279
13073
                  gio-2.0 >= $GLIB_REQUIRED
12280
13074
                  gio-unix-2.0 >= $GLIB_REQUIRED
12282
13076
                  dee-1.0 >= 0.5.16
12283
13077
                  zeitgeist-1.0 >= 0.3.7
12284
13078
                  unity >= 3.6.3" 2>/dev/null`
 
13079
                      test "x$?" != "x0" && pkg_failed=yes
12285
13080
else
12286
13081
  pkg_failed=yes
12287
13082
fi
12288
13083
 else
12289
13084
    pkg_failed=untried
12290
13085
fi
12291
 
if test -n "$PLACE_DAEMON_LIBS"; then
12292
 
    pkg_cv_PLACE_DAEMON_LIBS="$PLACE_DAEMON_LIBS"
 
13086
if test -n "$LENS_DAEMON_LIBS"; then
 
13087
    pkg_cv_LENS_DAEMON_LIBS="$LENS_DAEMON_LIBS"
12293
13088
 elif test -n "$PKG_CONFIG"; then
12294
13089
    if test -n "$PKG_CONFIG" && \
12295
13090
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
12311
13106
  ac_status=$?
12312
13107
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12313
13108
  test $ac_status = 0; }; then
12314
 
  pkg_cv_PLACE_DAEMON_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
 
13109
  pkg_cv_LENS_DAEMON_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
12315
13110
                  gobject-2.0 >= $GLIB_REQUIRED
12316
13111
                  gio-2.0 >= $GLIB_REQUIRED
12317
13112
                  gio-unix-2.0 >= $GLIB_REQUIRED
12319
13114
                  dee-1.0 >= 0.5.16
12320
13115
                  zeitgeist-1.0 >= 0.3.7
12321
13116
                  unity >= 3.6.3" 2>/dev/null`
 
13117
                      test "x$?" != "x0" && pkg_failed=yes
12322
13118
else
12323
13119
  pkg_failed=yes
12324
13120
fi
12338
13134
        _pkg_short_errors_supported=no
12339
13135
fi
12340
13136
        if test $_pkg_short_errors_supported = yes; then
12341
 
                PLACE_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
13137
                LENS_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
12342
13138
                  gobject-2.0 >= $GLIB_REQUIRED
12343
13139
                  gio-2.0 >= $GLIB_REQUIRED
12344
13140
                  gio-unix-2.0 >= $GLIB_REQUIRED
12347
13143
                  zeitgeist-1.0 >= 0.3.7
12348
13144
                  unity >= 3.6.3" 2>&1`
12349
13145
        else
12350
 
                PLACE_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
13146
                LENS_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
12351
13147
                  gobject-2.0 >= $GLIB_REQUIRED
12352
13148
                  gio-2.0 >= $GLIB_REQUIRED
12353
13149
                  gio-unix-2.0 >= $GLIB_REQUIRED
12357
13153
                  unity >= 3.6.3" 2>&1`
12358
13154
        fi
12359
13155
        # Put the nasty error message in config.log where it belongs
12360
 
        echo "$PLACE_DAEMON_PKG_ERRORS" >&5
 
13156
        echo "$LENS_DAEMON_PKG_ERRORS" >&5
12361
13157
 
12362
13158
        as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
12363
13159
                  gobject-2.0 >= $GLIB_REQUIRED
12368
13164
                  zeitgeist-1.0 >= 0.3.7
12369
13165
                  unity >= 3.6.3) were not met:
12370
13166
 
12371
 
$PLACE_DAEMON_PKG_ERRORS
 
13167
$LENS_DAEMON_PKG_ERRORS
12372
13168
 
12373
13169
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12374
13170
installed software in a non-standard prefix.
12375
13171
 
12376
 
Alternatively, you may set the environment variables PLACE_DAEMON_CFLAGS
12377
 
and PLACE_DAEMON_LIBS to avoid the need to call pkg-config.
 
13172
Alternatively, you may set the environment variables LENS_DAEMON_CFLAGS
 
13173
and LENS_DAEMON_LIBS to avoid the need to call pkg-config.
12378
13174
See the pkg-config man page for more details." "$LINENO" 5
12379
13175
elif test $pkg_failed = untried; then
12380
13176
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12385
13181
is in your PATH or set the PKG_CONFIG environment variable to the full
12386
13182
path to pkg-config.
12387
13183
 
12388
 
Alternatively, you may set the environment variables PLACE_DAEMON_CFLAGS
12389
 
and PLACE_DAEMON_LIBS to avoid the need to call pkg-config.
 
13184
Alternatively, you may set the environment variables LENS_DAEMON_CFLAGS
 
13185
and LENS_DAEMON_LIBS to avoid the need to call pkg-config.
12390
13186
See the pkg-config man page for more details.
12391
13187
 
12392
13188
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12393
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
13189
See \`config.log' for more details" "$LINENO" 5; }
12394
13190
else
12395
 
        PLACE_DAEMON_CFLAGS=$pkg_cv_PLACE_DAEMON_CFLAGS
12396
 
        PLACE_DAEMON_LIBS=$pkg_cv_PLACE_DAEMON_LIBS
 
13191
        LENS_DAEMON_CFLAGS=$pkg_cv_LENS_DAEMON_CFLAGS
 
13192
        LENS_DAEMON_LIBS=$pkg_cv_LENS_DAEMON_LIBS
12397
13193
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12398
13194
$as_echo "yes" >&6; }
12399
13195
 
12421
13217
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12422
13218
  test $ac_status = 0; }; then
12423
13219
  pkg_cv_ZEITGEIST_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "zeitgeist-daemon >= 0.5.0" 2>/dev/null`
 
13220
                      test "x$?" != "x0" && pkg_failed=yes
12424
13221
else
12425
13222
  pkg_failed=yes
12426
13223
fi
12437
13234
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12438
13235
  test $ac_status = 0; }; then
12439
13236
  pkg_cv_ZEITGEIST_DAEMON_LIBS=`$PKG_CONFIG --libs "zeitgeist-daemon >= 0.5.0" 2>/dev/null`
 
13237
                      test "x$?" != "x0" && pkg_failed=yes
12440
13238
else
12441
13239
  pkg_failed=yes
12442
13240
fi
12456
13254
        _pkg_short_errors_supported=no
12457
13255
fi
12458
13256
        if test $_pkg_short_errors_supported = yes; then
12459
 
                ZEITGEIST_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "zeitgeist-daemon >= 0.5.0" 2>&1`
 
13257
                ZEITGEIST_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zeitgeist-daemon >= 0.5.0" 2>&1`
12460
13258
        else
12461
 
                ZEITGEIST_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "zeitgeist-daemon >= 0.5.0" 2>&1`
 
13259
                ZEITGEIST_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zeitgeist-daemon >= 0.5.0" 2>&1`
12462
13260
        fi
12463
13261
        # Put the nasty error message in config.log where it belongs
12464
13262
        echo "$ZEITGEIST_DAEMON_PKG_ERRORS" >&5
12487
13285
See the pkg-config man page for more details.
12488
13286
 
12489
13287
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12490
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
13288
See \`config.log' for more details" "$LINENO" 5; }
12491
13289
else
12492
13290
        ZEITGEIST_DAEMON_CFLAGS=$pkg_cv_ZEITGEIST_DAEMON_CFLAGS
12493
13291
        ZEITGEIST_DAEMON_LIBS=$pkg_cv_ZEITGEIST_DAEMON_LIBS
12581
13379
 
12582
13380
 
12583
13381
#####################################################
12584
 
# look for dbus service dir
 
13382
# Look for dbus service dir
12585
13383
#####################################################
12586
13384
if test "x$with_localinstall" = "xyes"; then
12587
13385
        DBUSSERVICEDIR="${datadir}/dbus-1/services/"
12591
13389
 
12592
13390
 
12593
13391
#####################################################
 
13392
# Look for correct Lenses dir
 
13393
#####################################################
 
13394
if test "x$with_localinstall" = "xyes"; then
 
13395
        LENSESDIR="${datadir}/unity/lenses"
 
13396
else
 
13397
        LENSESDIR=`$PKG_CONFIG --variable=lensesdir unity`
 
13398
fi
 
13399
 
 
13400
 
 
13401
#####################################################
12594
13402
# Create the Makefiles
12595
13403
#####################################################
12596
 
ac_config_files="$ac_config_files Makefile files.place.in data/Makefile src/Makefile src/config.vala po/Makefile.in"
 
13404
ac_config_files="$ac_config_files Makefile files.lens.in data/Makefile src/Makefile src/config.vala po/Makefile.in"
12597
13405
 
12598
13406
cat >confcache <<\_ACEOF
12599
13407
# This file is a shell script that caches the results of configure
12659
13467
     :end' >>confcache
12660
13468
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12661
13469
  if test -w "$cache_file"; then
12662
 
    test "x$cache_file" != "x/dev/null" &&
 
13470
    if test "x$cache_file" != "x/dev/null"; then
12663
13471
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12664
13472
$as_echo "$as_me: updating cache $cache_file" >&6;}
12665
 
    cat confcache >$cache_file
 
13473
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
13474
        cat confcache >"$cache_file"
 
13475
      else
 
13476
        case $cache_file in #(
 
13477
        */* | ?:*)
 
13478
          mv -f confcache "$cache_file"$$ &&
 
13479
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
13480
        *)
 
13481
          mv -f confcache "$cache_file" ;;
 
13482
        esac
 
13483
      fi
 
13484
    fi
12666
13485
  else
12667
13486
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12668
13487
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12722
13541
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12723
13542
fi
12724
13543
 
12725
 
: ${CONFIG_STATUS=./config.status}
 
13544
: "${CONFIG_STATUS=./config.status}"
12726
13545
ac_write_fail=0
12727
13546
ac_clean_files_save=$ac_clean_files
12728
13547
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12823
13642
IFS=" ""        $as_nl"
12824
13643
 
12825
13644
# Find who we are.  Look in the path if we contain no directory separator.
 
13645
as_myself=
12826
13646
case $0 in #((
12827
13647
  *[\\/]* ) as_myself=$0 ;;
12828
13648
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13129
13949
# report actual input values of CONFIG_FILES etc. instead of their
13130
13950
# values after options handling.
13131
13951
ac_log="
13132
 
This file was extended by unity-place-files $as_me 0.5.46, which was
13133
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
13952
This file was extended by unity-lens-files $as_me 0.6.0, which was
 
13953
generated by GNU Autoconf 2.68.  Invocation command line was
13134
13954
 
13135
13955
  CONFIG_FILES    = $CONFIG_FILES
13136
13956
  CONFIG_HEADERS  = $CONFIG_HEADERS
13189
14009
Configuration commands:
13190
14010
$config_commands
13191
14011
 
13192
 
Report bugs to <https://launchpad.net/unity-place-files>."
 
14012
Report bugs to <https://launchpad.net/unity-lens-files>."
13193
14013
 
13194
14014
_ACEOF
13195
14015
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13196
14016
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13197
14017
ac_cs_version="\\
13198
 
unity-place-files config.status 0.5.46
13199
 
configured by $0, generated by GNU Autoconf 2.67,
 
14018
unity-lens-files config.status 0.6.0
 
14019
configured by $0, generated by GNU Autoconf 2.68,
13200
14020
  with options \\"\$ac_cs_config\\"
13201
14021
 
13202
14022
Copyright (C) 2010 Free Software Foundation, Inc.
13324
14144
sed_quote_subst='$sed_quote_subst'
13325
14145
double_quote_subst='$double_quote_subst'
13326
14146
delay_variable_subst='$delay_variable_subst'
13327
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13328
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13329
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13330
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13331
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13332
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13333
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13334
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13335
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13336
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13337
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13338
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13339
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13340
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13341
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13342
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13343
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13344
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13345
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13346
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13347
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13348
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13349
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13350
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13351
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13352
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13353
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13354
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13355
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13356
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13357
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13358
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13359
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13360
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13361
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13362
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13363
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13364
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13365
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13366
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13367
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13368
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13369
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13370
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13371
 
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"`'
13372
 
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"`'
13373
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13374
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13375
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13376
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13377
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13378
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13379
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13380
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13381
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13382
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13383
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13384
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13385
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13386
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13387
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13388
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13389
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13390
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13391
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13392
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13393
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13394
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13395
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13396
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13397
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13398
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13399
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13400
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13401
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13402
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13403
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13404
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13405
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13406
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13407
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13408
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13409
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13410
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13411
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13412
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13413
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13414
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13415
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13416
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13417
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13418
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13419
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13420
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13421
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13422
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13423
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13424
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13425
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13426
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13427
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13428
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13429
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13430
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13431
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13432
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13433
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13434
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13435
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13436
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13437
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13438
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13439
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13440
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13441
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13442
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13443
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13444
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14147
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
14148
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
14149
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
14150
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
14151
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
14152
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
14153
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
14154
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14155
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
14156
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
14157
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
14158
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
14159
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
14160
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
14161
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
14162
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
14163
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
14164
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
14165
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
14166
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
14167
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
14168
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
14169
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
14170
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
14171
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
14172
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
14173
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
14174
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
14175
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14176
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14177
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
14178
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
14179
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
14180
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
14181
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
14182
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
14183
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
14184
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
14185
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
14186
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
14187
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
14188
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
14189
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
14190
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
14191
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14192
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14193
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14194
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
14195
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
14196
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
14197
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
14198
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
14199
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
14200
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
14201
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
14202
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"`'
 
14203
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14204
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
14205
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
14206
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
14207
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
14208
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
14209
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
14210
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
14211
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
14212
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
14213
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
14214
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
14215
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
14216
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
14217
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
14218
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
14219
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
14220
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
14221
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14222
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
14223
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
14224
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14225
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14226
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
14227
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
14228
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14229
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14230
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14231
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
14232
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14233
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
14234
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14235
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14236
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14237
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
14238
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
14239
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
14240
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
14241
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
14242
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14243
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
14244
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
14245
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
14246
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
14247
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
14248
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
14249
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
14250
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
14251
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
14252
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14253
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
14254
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14255
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
14256
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
14257
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
14258
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14259
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
14260
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
14261
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
14262
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
14263
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
14264
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14265
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14266
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
14267
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
14268
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
14269
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
14270
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
14271
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
14272
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
14273
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
14274
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
14275
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
14276
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13445
14277
 
13446
14278
LTCC='$LTCC'
13447
14279
LTCFLAGS='$LTCFLAGS'
13448
14280
compiler='$compiler_DEFAULT'
13449
14281
 
 
14282
# A function that is used when there is no print builtin or printf.
 
14283
func_fallback_echo ()
 
14284
{
 
14285
  eval 'cat <<_LTECHO_EOF
 
14286
\$1
 
14287
_LTECHO_EOF'
 
14288
}
 
14289
 
13450
14290
# Quote evaled strings.
13451
 
for var in SED \
 
14291
for var in SHELL \
 
14292
ECHO \
 
14293
SED \
13452
14294
GREP \
13453
14295
EGREP \
13454
14296
FGREP \
13461
14303
OBJDUMP \
13462
14304
deplibs_check_method \
13463
14305
file_magic_cmd \
 
14306
file_magic_glob \
 
14307
want_nocaseglob \
 
14308
DLLTOOL \
 
14309
sharedlib_from_linklib_cmd \
13464
14310
AR \
13465
14311
AR_FLAGS \
 
14312
archiver_list_spec \
13466
14313
STRIP \
13467
14314
RANLIB \
13468
14315
CC \
13472
14319
lt_cv_sys_global_symbol_to_cdecl \
13473
14320
lt_cv_sys_global_symbol_to_c_name_address \
13474
14321
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13475
 
SHELL \
13476
 
ECHO \
 
14322
nm_file_list_spec \
13477
14323
lt_prog_compiler_no_builtin_flag \
 
14324
lt_prog_compiler_pic \
13478
14325
lt_prog_compiler_wl \
13479
 
lt_prog_compiler_pic \
13480
14326
lt_prog_compiler_static \
13481
14327
lt_cv_prog_compiler_c_o \
13482
14328
need_locks \
 
14329
MANIFEST_TOOL \
13483
14330
DSYMUTIL \
13484
14331
NMEDIT \
13485
14332
LIPO \
13495
14342
hardcode_libdir_flag_spec \
13496
14343
hardcode_libdir_flag_spec_ld \
13497
14344
hardcode_libdir_separator \
13498
 
fix_srcfile_path \
13499
14345
exclude_expsyms \
13500
14346
include_expsyms \
13501
14347
file_list_spec \
13503
14349
libname_spec \
13504
14350
library_names_spec \
13505
14351
soname_spec \
 
14352
install_override_mode \
13506
14353
finish_eval \
13507
14354
old_striplib \
13508
14355
striplib; do
13509
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14356
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13510
14357
    *[\\\\\\\`\\"\\\$]*)
13511
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
14358
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13512
14359
      ;;
13513
14360
    *)
13514
14361
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13530
14377
module_expsym_cmds \
13531
14378
export_symbols_cmds \
13532
14379
prelink_cmds \
 
14380
postlink_cmds \
13533
14381
postinstall_cmds \
13534
14382
postuninstall_cmds \
13535
14383
finish_cmds \
13536
14384
sys_lib_search_path_spec \
13537
14385
sys_lib_dlsearch_path_spec; do
13538
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14386
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13539
14387
    *[\\\\\\\`\\"\\\$]*)
13540
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
14388
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13541
14389
      ;;
13542
14390
    *)
13543
14391
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13545
14393
    esac
13546
14394
done
13547
14395
 
13548
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
13549
 
case \$lt_ECHO in
13550
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13551
 
  ;;
13552
 
esac
13553
 
 
13554
14396
ac_aux_dir='$ac_aux_dir'
13555
14397
xsi_shell='$xsi_shell'
13556
14398
lt_shell_append='$lt_shell_append'
13585
14427
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13586
14428
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13587
14429
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13588
 
    "files.place.in") CONFIG_FILES="$CONFIG_FILES files.place.in" ;;
 
14430
    "files.lens.in") CONFIG_FILES="$CONFIG_FILES files.lens.in" ;;
13589
14431
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
13590
14432
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13591
14433
    "src/config.vala") CONFIG_FILES="$CONFIG_FILES src/config.vala" ;;
13592
14434
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13593
14435
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13594
14436
 
13595
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
14437
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13596
14438
  esac
13597
14439
done
13598
14440
 
13615
14457
# after its creation but before its name has been assigned to `$tmp'.
13616
14458
$debug ||
13617
14459
{
13618
 
  tmp=
 
14460
  tmp= ac_tmp=
13619
14461
  trap 'exit_status=$?
13620
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
14462
  : "${ac_tmp:=$tmp}"
 
14463
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13621
14464
' 0
13622
14465
  trap 'as_fn_exit 1' 1 2 13 15
13623
14466
}
13625
14468
 
13626
14469
{
13627
14470
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13628
 
  test -n "$tmp" && test -d "$tmp"
 
14471
  test -d "$tmp"
13629
14472
}  ||
13630
14473
{
13631
14474
  tmp=./conf$$-$RANDOM
13632
14475
  (umask 077 && mkdir "$tmp")
13633
14476
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
14477
ac_tmp=$tmp
13634
14478
 
13635
14479
# Set up the scripts for CONFIG_FILES section.
13636
14480
# No need to generate them if there are no CONFIG_FILES.
13652
14496
  ac_cs_awk_cr=$ac_cr
13653
14497
fi
13654
14498
 
13655
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
14499
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13656
14500
_ACEOF
13657
14501
 
13658
14502
 
13680
14524
rm -f conf$$subs.sh
13681
14525
 
13682
14526
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13683
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
14527
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13684
14528
_ACEOF
13685
14529
sed -n '
13686
14530
h
13728
14572
rm -f conf$$subs.awk
13729
14573
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13730
14574
_ACAWK
13731
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
14575
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13732
14576
  for (key in S) S_is_set[key] = 1
13733
14577
  FS = ""
13734
14578
 
13760
14604
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13761
14605
else
13762
14606
  cat
13763
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
14607
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13764
14608
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13765
14609
_ACEOF
13766
14610
 
13794
14638
# No need to generate them if there are no CONFIG_HEADERS.
13795
14639
# This happens for instance with `./config.status Makefile'.
13796
14640
if test -n "$CONFIG_HEADERS"; then
13797
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
14641
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13798
14642
BEGIN {
13799
14643
_ACEOF
13800
14644
 
13806
14650
# handling of long lines.
13807
14651
ac_delim='%!_!# '
13808
14652
for ac_last_try in false false :; do
13809
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13810
 
  if test -z "$ac_t"; then
 
14653
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
14654
  if test -z "$ac_tt"; then
13811
14655
    break
13812
14656
  elif $ac_last_try; then
13813
14657
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13908
14752
  esac
13909
14753
  case $ac_mode$ac_tag in
13910
14754
  :[FHL]*:*);;
13911
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
14755
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13912
14756
  :[FH]-) ac_tag=-:-;;
13913
14757
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13914
14758
  esac
13927
14771
    for ac_f
13928
14772
    do
13929
14773
      case $ac_f in
13930
 
      -) ac_f="$tmp/stdin";;
 
14774
      -) ac_f="$ac_tmp/stdin";;
13931
14775
      *) # Look for the file first in the build tree, then in the source tree
13932
14776
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13933
14777
         # because $ac_f cannot contain `:'.
13936
14780
           [\\/$]*) false;;
13937
14781
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13938
14782
           esac ||
13939
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
14783
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13940
14784
      esac
13941
14785
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13942
14786
      as_fn_append ac_file_inputs " '$ac_f'"
13962
14806
    esac
13963
14807
 
13964
14808
    case $ac_tag in
13965
 
    *:-:* | *:-) cat >"$tmp/stdin" \
13966
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
14809
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
14810
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13967
14811
    esac
13968
14812
    ;;
13969
14813
  esac
14099
14943
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14100
14944
$ac_datarootdir_hack
14101
14945
"
14102
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14103
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
14946
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
14947
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14104
14948
 
14105
14949
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14106
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14107
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
14950
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
14951
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
14952
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14108
14953
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14109
14954
which seems to be undefined.  Please make sure it is defined" >&5
14110
14955
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14111
14956
which seems to be undefined.  Please make sure it is defined" >&2;}
14112
14957
 
14113
 
  rm -f "$tmp/stdin"
 
14958
  rm -f "$ac_tmp/stdin"
14114
14959
  case $ac_file in
14115
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14116
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
14960
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
14961
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14117
14962
  esac \
14118
14963
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14119
14964
 ;;
14124
14969
  if test x"$ac_file" != x-; then
14125
14970
    {
14126
14971
      $as_echo "/* $configure_input  */" \
14127
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14128
 
    } >"$tmp/config.h" \
 
14972
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
14973
    } >"$ac_tmp/config.h" \
14129
14974
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14130
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
14975
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14131
14976
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14132
14977
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14133
14978
    else
14134
14979
      rm -f "$ac_file"
14135
 
      mv "$tmp/config.h" "$ac_file" \
 
14980
      mv "$ac_tmp/config.h" "$ac_file" \
14136
14981
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14137
14982
    fi
14138
14983
  else
14139
14984
    $as_echo "/* $configure_input  */" \
14140
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
14985
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14141
14986
      || as_fn_error $? "could not create -" "$LINENO" 5
14142
14987
  fi
14143
14988
# Compute "$ac_file"'s index in $config_headers.
14299
15144
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14300
15145
#
14301
15146
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14302
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15147
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
15148
#                 Inc.
14303
15149
#   Written by Gordon Matzigkeit, 1996
14304
15150
#
14305
15151
#   This file is part of GNU Libtool.
14347
15193
# Whether or not to optimize for fast installation.
14348
15194
fast_install=$enable_fast_install
14349
15195
 
 
15196
# Shell to use when invoking shell scripts.
 
15197
SHELL=$lt_SHELL
 
15198
 
 
15199
# An echo program that protects backslashes.
 
15200
ECHO=$lt_ECHO
 
15201
 
14350
15202
# The host system.
14351
15203
host_alias=$host_alias
14352
15204
host=$host
14396
15248
# turn newlines into spaces.
14397
15249
NL2SP=$lt_lt_NL2SP
14398
15250
 
14399
 
# How to create reloadable object files.
14400
 
reload_flag=$lt_reload_flag
14401
 
reload_cmds=$lt_reload_cmds
 
15251
# convert \$build file names to \$host format.
 
15252
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
15253
 
 
15254
# convert \$build files to toolchain format.
 
15255
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14402
15256
 
14403
15257
# An object symbol dumper.
14404
15258
OBJDUMP=$lt_OBJDUMP
14406
15260
# Method to check whether dependent libraries are shared objects.
14407
15261
deplibs_check_method=$lt_deplibs_check_method
14408
15262
 
14409
 
# Command to use when deplibs_check_method == "file_magic".
 
15263
# Command to use when deplibs_check_method = "file_magic".
14410
15264
file_magic_cmd=$lt_file_magic_cmd
14411
15265
 
 
15266
# How to find potential files when deplibs_check_method = "file_magic".
 
15267
file_magic_glob=$lt_file_magic_glob
 
15268
 
 
15269
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
15270
want_nocaseglob=$lt_want_nocaseglob
 
15271
 
 
15272
# DLL creation program.
 
15273
DLLTOOL=$lt_DLLTOOL
 
15274
 
 
15275
# Command to associate shared and link libraries.
 
15276
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
15277
 
14412
15278
# The archiver.
14413
15279
AR=$lt_AR
 
15280
 
 
15281
# Flags to create an archive.
14414
15282
AR_FLAGS=$lt_AR_FLAGS
14415
15283
 
 
15284
# How to feed a file listing to the archiver.
 
15285
archiver_list_spec=$lt_archiver_list_spec
 
15286
 
14416
15287
# A symbol stripping program.
14417
15288
STRIP=$lt_STRIP
14418
15289
 
14421
15292
old_postinstall_cmds=$lt_old_postinstall_cmds
14422
15293
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14423
15294
 
 
15295
# Whether to use a lock for old archive extraction.
 
15296
lock_old_archive_extraction=$lock_old_archive_extraction
 
15297
 
14424
15298
# A C compiler.
14425
15299
LTCC=$lt_CC
14426
15300
 
14439
15313
# Transform the output of nm in a C name address pair when lib prefix is needed.
14440
15314
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14441
15315
 
 
15316
# Specify filename containing input files for \$NM.
 
15317
nm_file_list_spec=$lt_nm_file_list_spec
 
15318
 
 
15319
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
15320
lt_sysroot=$lt_sysroot
 
15321
 
14442
15322
# The name of the directory that contains temporary libtool files.
14443
15323
objdir=$objdir
14444
15324
 
14445
 
# Shell to use when invoking shell scripts.
14446
 
SHELL=$lt_SHELL
14447
 
 
14448
 
# An echo program that does not interpret backslashes.
14449
 
ECHO=$lt_ECHO
14450
 
 
14451
15325
# Used to examine libraries when file_magic_cmd begins with "file".
14452
15326
MAGIC_CMD=$MAGIC_CMD
14453
15327
 
14454
15328
# Must we lock files when doing compilation?
14455
15329
need_locks=$lt_need_locks
14456
15330
 
 
15331
# Manifest tool.
 
15332
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
15333
 
14457
15334
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14458
15335
DSYMUTIL=$lt_DSYMUTIL
14459
15336
 
14510
15387
# The coded name of the library, if different from the real name.
14511
15388
soname_spec=$lt_soname_spec
14512
15389
 
 
15390
# Permission mode override for installation of shared libraries.
 
15391
install_override_mode=$lt_install_override_mode
 
15392
 
14513
15393
# Command to use after installation of a shared archive.
14514
15394
postinstall_cmds=$lt_postinstall_cmds
14515
15395
 
14549
15429
# The linker used to build libraries.
14550
15430
LD=$lt_LD
14551
15431
 
 
15432
# How to create reloadable object files.
 
15433
reload_flag=$lt_reload_flag
 
15434
reload_cmds=$lt_reload_cmds
 
15435
 
14552
15436
# Commands used to build an old-style archive.
14553
15437
old_archive_cmds=$lt_old_archive_cmds
14554
15438
 
14561
15445
# Compiler flag to turn off builtin functions.
14562
15446
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14563
15447
 
 
15448
# Additional compiler flags for building library objects.
 
15449
pic_flag=$lt_lt_prog_compiler_pic
 
15450
 
14564
15451
# How to pass a linker flag through the compiler.
14565
15452
wl=$lt_lt_prog_compiler_wl
14566
15453
 
14567
 
# Additional compiler flags for building library objects.
14568
 
pic_flag=$lt_lt_prog_compiler_pic
14569
 
 
14570
15454
# Compiler flag to prevent dynamic linking.
14571
15455
link_static_flag=$lt_lt_prog_compiler_static
14572
15456
 
14653
15537
# Whether libtool must link a program against all its dependency libraries.
14654
15538
link_all_deplibs=$link_all_deplibs
14655
15539
 
14656
 
# Fix the shell variable \$srcfile for the compiler.
14657
 
fix_srcfile_path=$lt_fix_srcfile_path
14658
 
 
14659
15540
# Set to "yes" if exported symbols are required.
14660
15541
always_export_symbols=$always_export_symbols
14661
15542
 
14671
15552
# Commands necessary for linking programs (against libraries) with templates.
14672
15553
prelink_cmds=$lt_prelink_cmds
14673
15554
 
 
15555
# Commands necessary for finishing linking programs.
 
15556
postlink_cmds=$lt_postlink_cmds
 
15557
 
14674
15558
# Specify filename containing input files.
14675
15559
file_list_spec=$lt_file_list_spec
14676
15560
 
14703
15587
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14704
15588
  # text mode, it properly converts lines to CR/LF.  This bash problem
14705
15589
  # is reportedly fixed, but why not run on old versions too?
14706
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14707
 
    || (rm -f "$cfgfile"; exit 1)
14708
 
 
14709
 
  case $xsi_shell in
14710
 
  yes)
14711
 
    cat << \_LT_EOF >> "$cfgfile"
14712
 
 
14713
 
# func_dirname file append nondir_replacement
14714
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14715
 
# otherwise set result to NONDIR_REPLACEMENT.
14716
 
func_dirname ()
14717
 
{
14718
 
  case ${1} in
14719
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14720
 
    *  ) func_dirname_result="${3}" ;;
14721
 
  esac
14722
 
}
14723
 
 
14724
 
# func_basename file
14725
 
func_basename ()
14726
 
{
14727
 
  func_basename_result="${1##*/}"
14728
 
}
14729
 
 
14730
 
# func_dirname_and_basename file append nondir_replacement
14731
 
# perform func_basename and func_dirname in a single function
14732
 
# call:
14733
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
14734
 
#             add APPEND to the result, otherwise set result
14735
 
#             to NONDIR_REPLACEMENT.
14736
 
#             value returned in "$func_dirname_result"
14737
 
#   basename: Compute filename of FILE.
14738
 
#             value retuned in "$func_basename_result"
14739
 
# Implementation must be kept synchronized with func_dirname
14740
 
# and func_basename. For efficiency, we do not delegate to
14741
 
# those functions but instead duplicate the functionality here.
14742
 
func_dirname_and_basename ()
14743
 
{
14744
 
  case ${1} in
14745
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14746
 
    *  ) func_dirname_result="${3}" ;;
14747
 
  esac
14748
 
  func_basename_result="${1##*/}"
14749
 
}
14750
 
 
14751
 
# func_stripname prefix suffix name
14752
 
# strip PREFIX and SUFFIX off of NAME.
14753
 
# PREFIX and SUFFIX must not contain globbing or regex special
14754
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14755
 
# dot (in which case that matches only a dot).
14756
 
func_stripname ()
14757
 
{
14758
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14759
 
  # positional parameters, so assign one to ordinary parameter first.
14760
 
  func_stripname_result=${3}
14761
 
  func_stripname_result=${func_stripname_result#"${1}"}
14762
 
  func_stripname_result=${func_stripname_result%"${2}"}
14763
 
}
14764
 
 
14765
 
# func_opt_split
14766
 
func_opt_split ()
14767
 
{
14768
 
  func_opt_split_opt=${1%%=*}
14769
 
  func_opt_split_arg=${1#*=}
14770
 
}
14771
 
 
14772
 
# func_lo2o object
14773
 
func_lo2o ()
14774
 
{
14775
 
  case ${1} in
14776
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14777
 
    *)    func_lo2o_result=${1} ;;
14778
 
  esac
14779
 
}
14780
 
 
14781
 
# func_xform libobj-or-source
14782
 
func_xform ()
14783
 
{
14784
 
  func_xform_result=${1%.*}.lo
14785
 
}
14786
 
 
14787
 
# func_arith arithmetic-term...
14788
 
func_arith ()
14789
 
{
14790
 
  func_arith_result=$(( $* ))
14791
 
}
14792
 
 
14793
 
# func_len string
14794
 
# STRING may not start with a hyphen.
14795
 
func_len ()
14796
 
{
14797
 
  func_len_result=${#1}
14798
 
}
14799
 
 
14800
 
_LT_EOF
14801
 
    ;;
14802
 
  *) # Bourne compatible functions.
14803
 
    cat << \_LT_EOF >> "$cfgfile"
14804
 
 
14805
 
# func_dirname file append nondir_replacement
14806
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14807
 
# otherwise set result to NONDIR_REPLACEMENT.
14808
 
func_dirname ()
14809
 
{
14810
 
  # Extract subdirectory from the argument.
14811
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14812
 
  if test "X$func_dirname_result" = "X${1}"; then
14813
 
    func_dirname_result="${3}"
14814
 
  else
14815
 
    func_dirname_result="$func_dirname_result${2}"
14816
 
  fi
14817
 
}
14818
 
 
14819
 
# func_basename file
14820
 
func_basename ()
14821
 
{
14822
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14823
 
}
14824
 
 
14825
 
 
14826
 
# func_stripname prefix suffix name
14827
 
# strip PREFIX and SUFFIX off of NAME.
14828
 
# PREFIX and SUFFIX must not contain globbing or regex special
14829
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14830
 
# dot (in which case that matches only a dot).
14831
 
# func_strip_suffix prefix name
14832
 
func_stripname ()
14833
 
{
14834
 
  case ${2} in
14835
 
    .*) func_stripname_result=`$ECHO "X${3}" \
14836
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14837
 
    *)  func_stripname_result=`$ECHO "X${3}" \
14838
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14839
 
  esac
14840
 
}
14841
 
 
14842
 
# sed scripts:
14843
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14844
 
my_sed_long_arg='1s/^-[^=]*=//'
14845
 
 
14846
 
# func_opt_split
14847
 
func_opt_split ()
14848
 
{
14849
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14850
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14851
 
}
14852
 
 
14853
 
# func_lo2o object
14854
 
func_lo2o ()
14855
 
{
14856
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14857
 
}
14858
 
 
14859
 
# func_xform libobj-or-source
14860
 
func_xform ()
14861
 
{
14862
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14863
 
}
14864
 
 
14865
 
# func_arith arithmetic-term...
14866
 
func_arith ()
14867
 
{
14868
 
  func_arith_result=`expr "$@"`
14869
 
}
14870
 
 
14871
 
# func_len string
14872
 
# STRING may not start with a hyphen.
14873
 
func_len ()
14874
 
{
14875
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14876
 
}
14877
 
 
14878
 
_LT_EOF
14879
 
esac
14880
 
 
14881
 
case $lt_shell_append in
14882
 
  yes)
14883
 
    cat << \_LT_EOF >> "$cfgfile"
14884
 
 
14885
 
# func_append var value
14886
 
# Append VALUE to the end of shell variable VAR.
14887
 
func_append ()
14888
 
{
14889
 
  eval "$1+=\$2"
14890
 
}
14891
 
_LT_EOF
14892
 
    ;;
14893
 
  *)
14894
 
    cat << \_LT_EOF >> "$cfgfile"
14895
 
 
14896
 
# func_append var value
14897
 
# Append VALUE to the end of shell variable VAR.
14898
 
func_append ()
14899
 
{
14900
 
  eval "$1=\$$1\$2"
14901
 
}
14902
 
 
14903
 
_LT_EOF
14904
 
    ;;
14905
 
  esac
14906
 
 
14907
 
 
14908
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14909
 
    || (rm -f "$cfgfile"; exit 1)
14910
 
 
14911
 
  mv -f "$cfgfile" "$ofile" ||
 
15590
  sed '$q' "$ltmain" >> "$cfgfile" \
 
15591
     || (rm -f "$cfgfile"; exit 1)
 
15592
 
 
15593
  if test x"$xsi_shell" = xyes; then
 
15594
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
15595
func_dirname ()\
 
15596
{\
 
15597
\    case ${1} in\
 
15598
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15599
\      *  ) func_dirname_result="${3}" ;;\
 
15600
\    esac\
 
15601
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
15602
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15603
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15604
test 0 -eq $? || _lt_function_replace_fail=:
 
15605
 
 
15606
 
 
15607
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
15608
func_basename ()\
 
15609
{\
 
15610
\    func_basename_result="${1##*/}"\
 
15611
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15612
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15613
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15614
test 0 -eq $? || _lt_function_replace_fail=:
 
15615
 
 
15616
 
 
15617
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
15618
func_dirname_and_basename ()\
 
15619
{\
 
15620
\    case ${1} in\
 
15621
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15622
\      *  ) func_dirname_result="${3}" ;;\
 
15623
\    esac\
 
15624
\    func_basename_result="${1##*/}"\
 
15625
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15626
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15627
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15628
test 0 -eq $? || _lt_function_replace_fail=:
 
15629
 
 
15630
 
 
15631
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
15632
func_stripname ()\
 
15633
{\
 
15634
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
15635
\    # positional parameters, so assign one to ordinary parameter first.\
 
15636
\    func_stripname_result=${3}\
 
15637
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
15638
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
15639
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
15640
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15641
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15642
test 0 -eq $? || _lt_function_replace_fail=:
 
15643
 
 
15644
 
 
15645
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
15646
func_split_long_opt ()\
 
15647
{\
 
15648
\    func_split_long_opt_name=${1%%=*}\
 
15649
\    func_split_long_opt_arg=${1#*=}\
 
15650
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15651
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15652
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15653
test 0 -eq $? || _lt_function_replace_fail=:
 
15654
 
 
15655
 
 
15656
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
15657
func_split_short_opt ()\
 
15658
{\
 
15659
\    func_split_short_opt_arg=${1#??}\
 
15660
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
15661
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15662
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15663
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15664
test 0 -eq $? || _lt_function_replace_fail=:
 
15665
 
 
15666
 
 
15667
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
15668
func_lo2o ()\
 
15669
{\
 
15670
\    case ${1} in\
 
15671
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
15672
\      *)    func_lo2o_result=${1} ;;\
 
15673
\    esac\
 
15674
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
15675
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15676
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15677
test 0 -eq $? || _lt_function_replace_fail=:
 
15678
 
 
15679
 
 
15680
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
15681
func_xform ()\
 
15682
{\
 
15683
    func_xform_result=${1%.*}.lo\
 
15684
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
15685
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15686
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15687
test 0 -eq $? || _lt_function_replace_fail=:
 
15688
 
 
15689
 
 
15690
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
15691
func_arith ()\
 
15692
{\
 
15693
    func_arith_result=$(( $* ))\
 
15694
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
15695
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15696
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15697
test 0 -eq $? || _lt_function_replace_fail=:
 
15698
 
 
15699
 
 
15700
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
15701
func_len ()\
 
15702
{\
 
15703
    func_len_result=${#1}\
 
15704
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
15705
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15706
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15707
test 0 -eq $? || _lt_function_replace_fail=:
 
15708
 
 
15709
fi
 
15710
 
 
15711
if test x"$lt_shell_append" = xyes; then
 
15712
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
15713
func_append ()\
 
15714
{\
 
15715
    eval "${1}+=\\${2}"\
 
15716
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
15717
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15718
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15719
test 0 -eq $? || _lt_function_replace_fail=:
 
15720
 
 
15721
 
 
15722
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
15723
func_append_quoted ()\
 
15724
{\
 
15725
\    func_quote_for_eval "${2}"\
 
15726
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
15727
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
15728
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15729
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15730
test 0 -eq $? || _lt_function_replace_fail=:
 
15731
 
 
15732
 
 
15733
  # Save a `func_append' function call where possible by direct use of '+='
 
15734
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
15735
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15736
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15737
  test 0 -eq $? || _lt_function_replace_fail=:
 
15738
else
 
15739
  # Save a `func_append' function call even when '+=' is not available
 
15740
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
15741
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15742
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15743
  test 0 -eq $? || _lt_function_replace_fail=:
 
15744
fi
 
15745
 
 
15746
if test x"$_lt_function_replace_fail" = x":"; then
 
15747
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
15748
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
15749
fi
 
15750
 
 
15751
 
 
15752
   mv -f "$cfgfile" "$ofile" ||
14912
15753
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14913
15754
  chmod +x "$ofile"
14914
15755
 
14980
15821
#####################################################
14981
15822
{ $as_echo "$as_me:${as_lineno-$LINENO}:
14982
15823
 
14983
 
  Unity Files Place Daemon $VERSION
 
15824
  Unity Files Lens Daemon $VERSION
14984
15825
  -------------------------------
14985
15826
 
14986
 
  Prefix         : ${prefix}
14987
 
 
14988
 
  Local install  : ${with_localinstall}
14989
 
 
14990
 
  Extra CFlags   : ${CPPFLAGS} $MAINTAINER_CFLAGS
14991
 
  Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
 
15827
  Prefix          : ${prefix}
 
15828
 
 
15829
  Local install   : ${with_localinstall}
 
15830
 
 
15831
  Extra CFlags    : ${CPPFLAGS} $MAINTAINER_CFLAGS
 
15832
  Extra ValaFlags : ${CPPFLAGS} $MAINTAINER_VALAFLAGS
 
15833
 
 
15834
  Lenses Directory: ${LENSESDIR}
14992
15835
" >&5
14993
15836
$as_echo "$as_me:
14994
15837
 
14995
 
  Unity Files Place Daemon $VERSION
 
15838
  Unity Files Lens Daemon $VERSION
14996
15839
  -------------------------------
14997
15840
 
14998
 
  Prefix         : ${prefix}
14999
 
 
15000
 
  Local install  : ${with_localinstall}
15001
 
 
15002
 
  Extra CFlags   : ${CPPFLAGS} $MAINTAINER_CFLAGS
15003
 
  Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
 
15841
  Prefix          : ${prefix}
 
15842
 
 
15843
  Local install   : ${with_localinstall}
 
15844
 
 
15845
  Extra CFlags    : ${CPPFLAGS} $MAINTAINER_CFLAGS
 
15846
  Extra ValaFlags : ${CPPFLAGS} $MAINTAINER_VALAFLAGS
 
15847
 
 
15848
  Lenses Directory: ${LENSESDIR}
15004
15849
" >&6;}