~ubuntu-branches/ubuntu/raring/remmina/raring

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2010-07-11 23:40:47 UTC
  • mfrom: (1.2.1 upstream) (8.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100711234047-id2bdu1gb59e34n4
* New upstream release.
* debian/control:
  - Bump Standards-Version to 3.9.0, no changes required.

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.64 for remmina 0.7.5.
 
3
# Generated by GNU Autoconf 2.65 for remmina 0.8.0.
 
4
#
4
5
#
5
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7
 
# Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
8
# Inc.
 
9
#
8
10
#
9
11
# This configure script is free software; the Free Software Foundation
10
12
# gives unlimited permission to copy, distribute and modify it.
524
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
527
 
526
528
 
527
 
 
528
 
# Check that we are running under the correct shell.
529
 
SHELL=${CONFIG_SHELL-/bin/sh}
530
 
 
531
 
case X$lt_ECHO in
532
 
X*--fallback-echo)
533
 
  # Remove one level of quotation (which was required for Make).
534
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
535
 
  ;;
536
 
esac
537
 
 
538
 
ECHO=${lt_ECHO-echo}
539
 
if test "X$1" = X--no-reexec; then
540
 
  # Discard the --no-reexec flag, and continue.
541
 
  shift
542
 
elif test "X$1" = X--fallback-echo; then
543
 
  # Avoid inline document here, it may be left over
544
 
  :
545
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546
 
  # Yippee, $ECHO works!
547
 
  :
548
 
else
549
 
  # Restart under the correct shell.
550
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
551
 
fi
552
 
 
553
 
if test "X$1" = X--fallback-echo; then
554
 
  # used as fallback echo
555
 
  shift
556
 
  cat <<_LT_EOF
557
 
$*
558
 
_LT_EOF
559
 
  exit 0
560
 
fi
561
 
 
562
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
563
 
# if CDPATH is set.
564
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
565
 
 
566
 
if test -z "$lt_ECHO"; then
567
 
  if test "X${echo_test_string+set}" != Xset; then
568
 
    # find a string as large as possible, as long as the shell can cope with it
569
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
573
 
      then
574
 
        break
575
 
      fi
576
 
    done
577
 
  fi
578
 
 
579
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
582
 
    :
583
 
  else
584
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
585
 
    # backslashes.  This makes it impossible to quote backslashes using
586
 
    #   echo "$something" | sed 's/\\/\\\\/g'
587
 
    #
588
 
    # So, first we look for a working echo in the user's PATH.
589
 
 
590
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591
 
    for dir in $PATH /usr/ucb; do
592
 
      IFS="$lt_save_ifs"
593
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
597
 
        ECHO="$dir/echo"
598
 
        break
599
 
      fi
600
 
    done
601
 
    IFS="$lt_save_ifs"
602
 
 
603
 
    if test "X$ECHO" = Xecho; then
604
 
      # We didn't find a better echo, so look for alternatives.
605
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
        # This shell has a builtin print -r that does the trick.
609
 
        ECHO='print -r'
610
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
612
 
        # If we have ksh, try running configure again with it.
613
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614
 
        export ORIGINAL_CONFIG_SHELL
615
 
        CONFIG_SHELL=/bin/ksh
616
 
        export CONFIG_SHELL
617
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
618
 
      else
619
 
        # Try using printf.
620
 
        ECHO='printf %s\n'
621
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
624
 
          # Cool, printf works
625
 
          :
626
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627
 
             test "X$echo_testing_string" = 'X\t' &&
628
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
630
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
631
 
          export CONFIG_SHELL
632
 
          SHELL="$CONFIG_SHELL"
633
 
          export SHELL
634
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
635
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636
 
             test "X$echo_testing_string" = 'X\t' &&
637
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        else
641
 
          # maybe with a smaller string...
642
 
          prev=:
643
 
 
644
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
646
 
            then
647
 
              break
648
 
            fi
649
 
            prev="$cmd"
650
 
          done
651
 
 
652
 
          if test "$prev" != 'sed 50q "$0"'; then
653
 
            echo_test_string=`eval $prev`
654
 
            export echo_test_string
655
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
656
 
          else
657
 
            # Oops.  We lost completely, so just stick with echo.
658
 
            ECHO=echo
659
 
          fi
660
 
        fi
661
 
      fi
662
 
    fi
663
 
  fi
664
 
fi
665
 
 
666
 
# Copy echo and quote the copy suitably for passing to libtool from
667
 
# the Makefile, instead of quoting the original, which is used later.
668
 
lt_ECHO=$ECHO
669
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
671
 
fi
672
 
 
673
 
 
674
 
 
675
 
 
676
 
exec 7<&0 </dev/null 6>&1
 
529
test -n "$DJDIR" || exec 7<&0 </dev/null
 
530
exec 6>&1
677
531
 
678
532
# Name of the host.
679
533
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
695
549
# Identity of this package.
696
550
PACKAGE_NAME='remmina'
697
551
PACKAGE_TARNAME='remmina'
698
 
PACKAGE_VERSION='0.7.5'
699
 
PACKAGE_STRING='remmina 0.7.5'
 
552
PACKAGE_VERSION='0.8.0'
 
553
PACKAGE_STRING='remmina 0.8.0'
700
554
PACKAGE_BUGREPORT=''
701
555
PACKAGE_URL=''
702
556
 
748
602
LIBGCRYPT_LIBS
749
603
LIBGCRYPT_CFLAGS
750
604
LIBGCRYPT_CONFIG
751
 
GNUTLS_LIBS
752
 
GNUTLS_CFLAGS
753
 
VNC_LIBS
754
 
VNC_CFLAGS
755
605
GTHREAD_LIBS
756
606
GTHREAD_CFLAGS
757
607
UNIQUE_LIBS
760
610
VTE_CFLAGS
761
611
AVAHI_UI_LIBS
762
612
AVAHI_UI_CFLAGS
763
 
GTK_PRINTER_LIBS
764
 
GTK_PRINTER_CFLAGS
765
613
GTK_LIBS
766
614
GTK_CFLAGS
 
615
PKG_CONFIG_LIBDIR
 
616
PKG_CONFIG_PATH
767
617
PKG_CONFIG
 
618
remmina_plugindir
768
619
remmina_localedir
769
620
MKINSTALLDIRS
770
621
POSUB
777
628
CATOBJEXT
778
629
CATALOGS
779
630
MSGFMT_OPTS
 
631
EGREP
 
632
GREP
 
633
CPP
780
634
GETTEXT_PACKAGE
781
635
DATADIRNAME
782
636
ALL_LINGUAS
808
662
INTLTOOL_MERGE
809
663
INTLTOOL_UPDATE
810
664
USE_NLS
811
 
ACLOCAL_AMFLAGS
812
 
CPP
813
 
OTOOL64
814
 
OTOOL
815
 
LIPO
816
 
NMEDIT
817
 
DSYMUTIL
818
 
lt_ECHO
819
 
RANLIB
820
 
AR
821
 
OBJDUMP
822
 
LN_S
823
 
NM
824
 
ac_ct_DUMPBIN
825
 
DUMPBIN
826
 
LD
827
 
FGREP
828
 
EGREP
829
 
GREP
830
 
SED
831
 
host_os
832
 
host_vendor
833
 
host_cpu
834
 
host
835
 
build_os
836
 
build_vendor
837
 
build_cpu
838
 
build
839
 
LIBTOOL
840
665
am__fastdepCC_FALSE
841
666
am__fastdepCC_TRUE
842
667
CCDEPMODE
918
743
ac_user_opts='
919
744
enable_option_checking
920
745
enable_dependency_tracking
921
 
enable_shared
922
 
enable_static
923
 
with_pic
924
 
enable_fast_install
925
 
with_gnu_ld
926
 
enable_libtool_lock
927
746
enable_debug
928
747
enable_nls
929
748
enable_avahi
930
749
enable_vte
931
750
enable_unique
932
 
enable_vnc
933
751
enable_ssh
934
752
enable_gcrypt
935
753
with_libgcrypt_prefix
944
762
CPPFLAGS
945
763
CPP
946
764
PKG_CONFIG
 
765
PKG_CONFIG_PATH
 
766
PKG_CONFIG_LIBDIR
947
767
GTK_CFLAGS
948
768
GTK_LIBS
949
 
GTK_PRINTER_CFLAGS
950
 
GTK_PRINTER_LIBS
951
769
AVAHI_UI_CFLAGS
952
770
AVAHI_UI_LIBS
953
771
VTE_CFLAGS
956
774
UNIQUE_LIBS
957
775
GTHREAD_CFLAGS
958
776
GTHREAD_LIBS
959
 
GNUTLS_CFLAGS
960
 
GNUTLS_LIBS
961
777
REMMINA_CFLAGS
962
778
REMMINA_LIBS'
963
779
 
1501
1317
  # Omit some internal or obsolete options to make the list less imposing.
1502
1318
  # This message is too long to be a string in the A/UX 3.1 sh.
1503
1319
  cat <<_ACEOF
1504
 
\`configure' configures remmina 0.7.5 to adapt to many kinds of systems.
 
1320
\`configure' configures remmina 0.8.0 to adapt to many kinds of systems.
1505
1321
 
1506
1322
Usage: $0 [OPTION]... [VAR=VALUE]...
1507
1323
 
1562
1378
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1563
1379
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1564
1380
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1565
 
 
1566
 
System types:
1567
 
  --build=BUILD     configure for building on BUILD [guessed]
1568
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1569
1381
_ACEOF
1570
1382
fi
1571
1383
 
1572
1384
if test -n "$ac_init_help"; then
1573
1385
  case $ac_init_help in
1574
 
     short | recursive ) echo "Configuration of remmina 0.7.5:";;
 
1386
     short | recursive ) echo "Configuration of remmina 0.8.0:";;
1575
1387
   esac
1576
1388
  cat <<\_ACEOF
1577
1389
 
1581
1393
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1582
1394
  --disable-dependency-tracking  speeds up one-time build
1583
1395
  --enable-dependency-tracking   do not reject slow dependency extractors
1584
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1585
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1586
 
  --enable-fast-install[=PKGS]
1587
 
                          optimize for fast installation [default=yes]
1588
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1589
1396
  --enable-debug          Enable compiling in debug mode
1590
1397
  --disable-nls           do not use Native Language Support
1591
1398
  --disable-avahi         Disable Avahi
1592
1399
  --disable-vte           Disable VTE (Terminal)
1593
1400
  --disable-unique        Disable libunique
1594
 
  --disable-vnc           Disable VNC
1595
1401
  --disable-ssh           Disable SSH
1596
1402
  --disable-gcrypt        Disable GCrypt
1597
1403
 
1598
1404
Optional Packages:
1599
1405
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1600
1406
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1601
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
1602
 
                          both]
1603
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1604
1407
  --with-libgcrypt-prefix=PFX
1605
1408
                          prefix where LIBGCRYPT is installed (optional)
1606
1409
 
1610
1413
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1611
1414
              nonstandard directory <lib dir>
1612
1415
  LIBS        libraries to pass to the linker, e.g. -l<library>
1613
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1416
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1614
1417
              you have headers in a nonstandard directory <include dir>
1615
1418
  CPP         C preprocessor
1616
1419
  PKG_CONFIG  path to pkg-config utility
 
1420
  PKG_CONFIG_PATH
 
1421
              directories to add to pkg-config's search path
 
1422
  PKG_CONFIG_LIBDIR
 
1423
              path overriding pkg-config's built-in search path
1617
1424
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1618
1425
  GTK_LIBS    linker flags for GTK, overriding pkg-config
1619
 
  GTK_PRINTER_CFLAGS
1620
 
              C compiler flags for GTK_PRINTER, overriding pkg-config
1621
 
  GTK_PRINTER_LIBS
1622
 
              linker flags for GTK_PRINTER, overriding pkg-config
1623
1426
  AVAHI_UI_CFLAGS
1624
1427
              C compiler flags for AVAHI_UI, overriding pkg-config
1625
1428
  AVAHI_UI_LIBS
1633
1436
              C compiler flags for GTHREAD, overriding pkg-config
1634
1437
  GTHREAD_LIBS
1635
1438
              linker flags for GTHREAD, overriding pkg-config
1636
 
  GNUTLS_CFLAGS
1637
 
              C compiler flags for GNUTLS, overriding pkg-config
1638
 
  GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config
1639
1439
  REMMINA_CFLAGS
1640
1440
              C compiler flags for REMMINA, overriding pkg-config
1641
1441
  REMMINA_LIBS
1707
1507
test -n "$ac_init_help" && exit $ac_status
1708
1508
if $ac_init_version; then
1709
1509
  cat <<\_ACEOF
1710
 
remmina configure 0.7.5
1711
 
generated by GNU Autoconf 2.64
 
1510
remmina configure 0.8.0
 
1511
generated by GNU Autoconf 2.65
1712
1512
 
1713
1513
Copyright (C) 2009 Free Software Foundation, Inc.
1714
1514
This configure script is free software; the Free Software Foundation
1755
1555
        ac_retval=1
1756
1556
fi
1757
1557
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758
 
  return $ac_retval
 
1558
  as_fn_set_status $ac_retval
1759
1559
 
1760
1560
} # ac_fn_c_try_compile
1761
1561
 
1801
1601
  # left behind by Apple's compiler.  We do this before executing the actions.
1802
1602
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803
1603
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1804
 
  return $ac_retval
 
1604
  as_fn_set_status $ac_retval
1805
1605
 
1806
1606
} # ac_fn_c_try_link
1807
1607
 
1808
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1809
 
# -------------------------------------------------------
1810
 
# Tests whether HEADER exists and can be compiled using the include files in
1811
 
# INCLUDES, setting the cache variable VAR accordingly.
1812
 
ac_fn_c_check_header_compile ()
1813
 
{
1814
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816
 
$as_echo_n "checking for $2... " >&6; }
1817
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1818
 
  $as_echo_n "(cached) " >&6
1819
 
else
1820
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821
 
/* end confdefs.h.  */
1822
 
$4
1823
 
#include <$2>
1824
 
_ACEOF
1825
 
if ac_fn_c_try_compile "$LINENO"; then :
1826
 
  eval "$3=yes"
1827
 
else
1828
 
  eval "$3=no"
1829
 
fi
1830
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831
 
fi
1832
 
eval ac_res=\$$3
1833
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834
 
$as_echo "$ac_res" >&6; }
1835
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836
 
 
1837
 
} # ac_fn_c_check_header_compile
1838
 
 
1839
 
# ac_fn_c_try_cpp LINENO
1840
 
# ----------------------
1841
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1842
 
ac_fn_c_try_cpp ()
1843
 
{
1844
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1846
 
case "(($ac_try" in
1847
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848
 
  *) ac_try_echo=$ac_try;;
1849
 
esac
1850
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851
 
$as_echo "$ac_try_echo"; } >&5
1852
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1853
 
  ac_status=$?
1854
 
  if test -s conftest.err; then
1855
 
    grep -v '^ *+' conftest.err >conftest.er1
1856
 
    cat conftest.er1 >&5
1857
 
    mv -f conftest.er1 conftest.err
1858
 
  fi
1859
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860
 
  test $ac_status = 0; } >/dev/null && {
1861
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1862
 
         test ! -s conftest.err
1863
 
       }; then :
1864
 
  ac_retval=0
1865
 
else
1866
 
  $as_echo "$as_me: failed program was:" >&5
1867
 
sed 's/^/| /' conftest.$ac_ext >&5
1868
 
 
1869
 
    ac_retval=1
1870
 
fi
1871
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872
 
  return $ac_retval
1873
 
 
1874
 
} # ac_fn_c_try_cpp
1875
 
 
1876
 
# ac_fn_c_try_run LINENO
1877
 
# ----------------------
1878
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1879
 
# that executables *can* be run.
1880
 
ac_fn_c_try_run ()
1881
 
{
1882
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883
 
  if { { ac_try="$ac_link"
1884
 
case "(($ac_try" in
1885
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886
 
  *) ac_try_echo=$ac_try;;
1887
 
esac
1888
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889
 
$as_echo "$ac_try_echo"; } >&5
1890
 
  (eval "$ac_link") 2>&5
1891
 
  ac_status=$?
1892
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1894
 
  { { case "(($ac_try" in
1895
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896
 
  *) ac_try_echo=$ac_try;;
1897
 
esac
1898
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899
 
$as_echo "$ac_try_echo"; } >&5
1900
 
  (eval "$ac_try") 2>&5
1901
 
  ac_status=$?
1902
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903
 
  test $ac_status = 0; }; }; then :
1904
 
  ac_retval=0
1905
 
else
1906
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1907
 
       $as_echo "$as_me: failed program was:" >&5
1908
 
sed 's/^/| /' conftest.$ac_ext >&5
1909
 
 
1910
 
       ac_retval=$ac_status
1911
 
fi
1912
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914
 
  return $ac_retval
1915
 
 
1916
 
} # ac_fn_c_try_run
1917
 
 
1918
1608
# ac_fn_c_check_func LINENO FUNC VAR
1919
1609
# ----------------------------------
1920
1610
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1982
1672
 
1983
1673
} # ac_fn_c_check_func
1984
1674
 
 
1675
# ac_fn_c_try_cpp LINENO
 
1676
# ----------------------
 
1677
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1678
ac_fn_c_try_cpp ()
 
1679
{
 
1680
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1681
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1682
case "(($ac_try" in
 
1683
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1684
  *) ac_try_echo=$ac_try;;
 
1685
esac
 
1686
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1687
$as_echo "$ac_try_echo"; } >&5
 
1688
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1689
  ac_status=$?
 
1690
  if test -s conftest.err; then
 
1691
    grep -v '^ *+' conftest.err >conftest.er1
 
1692
    cat conftest.er1 >&5
 
1693
    mv -f conftest.er1 conftest.err
 
1694
  fi
 
1695
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1696
  test $ac_status = 0; } >/dev/null && {
 
1697
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1698
         test ! -s conftest.err
 
1699
       }; then :
 
1700
  ac_retval=0
 
1701
else
 
1702
  $as_echo "$as_me: failed program was:" >&5
 
1703
sed 's/^/| /' conftest.$ac_ext >&5
 
1704
 
 
1705
    ac_retval=1
 
1706
fi
 
1707
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1708
  as_fn_set_status $ac_retval
 
1709
 
 
1710
} # ac_fn_c_try_cpp
 
1711
 
 
1712
# ac_fn_c_try_run LINENO
 
1713
# ----------------------
 
1714
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1715
# that executables *can* be run.
 
1716
ac_fn_c_try_run ()
 
1717
{
 
1718
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1719
  if { { ac_try="$ac_link"
 
1720
case "(($ac_try" in
 
1721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1722
  *) ac_try_echo=$ac_try;;
 
1723
esac
 
1724
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1725
$as_echo "$ac_try_echo"; } >&5
 
1726
  (eval "$ac_link") 2>&5
 
1727
  ac_status=$?
 
1728
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1729
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1730
  { { case "(($ac_try" in
 
1731
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1732
  *) ac_try_echo=$ac_try;;
 
1733
esac
 
1734
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1735
$as_echo "$ac_try_echo"; } >&5
 
1736
  (eval "$ac_try") 2>&5
 
1737
  ac_status=$?
 
1738
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1739
  test $ac_status = 0; }; }; then :
 
1740
  ac_retval=0
 
1741
else
 
1742
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1743
       $as_echo "$as_me: failed program was:" >&5
 
1744
sed 's/^/| /' conftest.$ac_ext >&5
 
1745
 
 
1746
       ac_retval=$ac_status
 
1747
fi
 
1748
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1749
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1750
  as_fn_set_status $ac_retval
 
1751
 
 
1752
} # ac_fn_c_try_run
 
1753
 
1985
1754
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1986
1755
# -------------------------------------------------------
1987
1756
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2068
1837
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2069
1838
 
2070
1839
} # ac_fn_c_check_header_mongrel
 
1840
 
 
1841
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1842
# -------------------------------------------------------
 
1843
# Tests whether HEADER exists and can be compiled using the include files in
 
1844
# INCLUDES, setting the cache variable VAR accordingly.
 
1845
ac_fn_c_check_header_compile ()
 
1846
{
 
1847
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1848
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1849
$as_echo_n "checking for $2... " >&6; }
 
1850
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1851
  $as_echo_n "(cached) " >&6
 
1852
else
 
1853
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1854
/* end confdefs.h.  */
 
1855
$4
 
1856
#include <$2>
 
1857
_ACEOF
 
1858
if ac_fn_c_try_compile "$LINENO"; then :
 
1859
  eval "$3=yes"
 
1860
else
 
1861
  eval "$3=no"
 
1862
fi
 
1863
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1864
fi
 
1865
eval ac_res=\$$3
 
1866
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1867
$as_echo "$ac_res" >&6; }
 
1868
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1869
 
 
1870
} # ac_fn_c_check_header_compile
2071
1871
cat >config.log <<_ACEOF
2072
1872
This file contains any messages produced by compilers while
2073
1873
running configure, to aid debugging if configure makes a mistake.
2074
1874
 
2075
 
It was created by remmina $as_me 0.7.5, which was
2076
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
1875
It was created by remmina $as_me 0.8.0, which was
 
1876
generated by GNU Autoconf 2.65.  Invocation command line was
2077
1877
 
2078
1878
  $ $0 $@
2079
1879
 
2326
2126
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2327
2127
do
2328
2128
  test "x$ac_site_file" = xNONE && continue
2329
 
  if test -r "$ac_site_file"; then
 
2129
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2330
2130
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2331
2131
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2332
2132
    sed 's/^/| /' "$ac_site_file" >&5
2335
2135
done
2336
2136
 
2337
2137
if test -r "$cache_file"; then
2338
 
  # Some versions of bash will fail to source /dev/null (special
2339
 
  # files actually), so we avoid doing that.
2340
 
  if test -f "$cache_file"; then
 
2138
  # Some versions of bash will fail to source /dev/null (special files
 
2139
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2140
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2341
2141
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2342
2142
$as_echo "$as_me: loading cache $cache_file" >&6;}
2343
2143
    case $cache_file in
2764
2564
 
2765
2565
fi
2766
2566
 
 
2567
  test -d ./--version && rmdir ./--version
2767
2568
  if test "${ac_cv_path_mkdir+set}" = set; then
2768
2569
    MKDIR_P="$ac_cv_path_mkdir -p"
2769
2570
  else
2771
2572
    # value for MKDIR_P within a source directory, because that will
2772
2573
    # break other packages using the cache if that directory is
2773
2574
    # removed, or if the value is a relative name.
2774
 
    test -d ./--version && rmdir ./--version
2775
2575
    MKDIR_P="$ac_install_sh -d"
2776
2576
  fi
2777
2577
fi
2888
2688
 
2889
2689
# Define the identity of the package.
2890
2690
 PACKAGE='remmina'
2891
 
 VERSION='0.7.5'
 
2691
 VERSION='0.8.0'
2892
2692
 
2893
2693
 
2894
2694
cat >>confdefs.h <<_ACEOF
3317
3117
... rest of stderr output deleted ...
3318
3118
         10q' conftest.err >conftest.er1
3319
3119
    cat conftest.er1 >&5
3320
 
    rm -f conftest.er1 conftest.err
3321
3120
  fi
 
3121
  rm -f conftest.er1 conftest.err
3322
3122
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3323
3123
  test $ac_status = 0; }
3324
3124
done
3325
3125
 
3326
3126
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327
3127
/* end confdefs.h.  */
3328
 
#include <stdio.h>
 
3128
 
3329
3129
int
3330
3130
main ()
3331
3131
{
3332
 
FILE *f = fopen ("conftest.out", "w");
3333
 
 return ferror (f) || fclose (f) != 0;
3334
3132
 
3335
3133
  ;
3336
3134
  return 0;
3337
3135
}
3338
3136
_ACEOF
3339
3137
ac_clean_files_save=$ac_clean_files
3340
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
3138
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3341
3139
# Try to create an executable without -o first, disregard a.out.
3342
3140
# It will help us diagnose broken compilers, and finding out an intuition
3343
3141
# of exeext.
3344
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3345
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3143
$as_echo_n "checking whether the C compiler works... " >&6; }
3346
3144
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3347
3145
 
3348
3146
# The possible output files:
3404
3202
else
3405
3203
  ac_file=''
3406
3204
fi
3407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3408
 
$as_echo "$ac_file" >&6; }
3409
3205
if test -z "$ac_file"; then :
3410
 
  $as_echo "$as_me: failed program was:" >&5
 
3206
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3207
$as_echo "no" >&6; }
 
3208
$as_echo "$as_me: failed program was:" >&5
3411
3209
sed 's/^/| /' conftest.$ac_ext >&5
3412
3210
 
3413
3211
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3415
3213
{ as_fn_set_status 77
3416
3214
as_fn_error "C compiler cannot create executables
3417
3215
See \`config.log' for more details." "$LINENO" 5; }; }
 
3216
else
 
3217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3218
$as_echo "yes" >&6; }
3418
3219
fi
 
3220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3221
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3223
$as_echo "$ac_file" >&6; }
3419
3224
ac_exeext=$ac_cv_exeext
3420
3225
 
3421
 
# Check that the compiler produces executables we can run.  If not, either
3422
 
# the compiler is broken, or we cross compile.
3423
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3424
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3425
 
# If not cross compiling, check that we can run a simple program.
3426
 
if test "$cross_compiling" != yes; then
3427
 
  if { ac_try='./$ac_file'
3428
 
  { { case "(($ac_try" in
3429
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430
 
  *) ac_try_echo=$ac_try;;
3431
 
esac
3432
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3433
 
$as_echo "$ac_try_echo"; } >&5
3434
 
  (eval "$ac_try") 2>&5
3435
 
  ac_status=$?
3436
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3437
 
  test $ac_status = 0; }; }; then
3438
 
    cross_compiling=no
3439
 
  else
3440
 
    if test "$cross_compiling" = maybe; then
3441
 
        cross_compiling=yes
3442
 
    else
3443
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445
 
as_fn_error "cannot run C compiled programs.
3446
 
If you meant to cross compile, use \`--host'.
3447
 
See \`config.log' for more details." "$LINENO" 5; }
3448
 
    fi
3449
 
  fi
3450
 
fi
3451
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3452
 
$as_echo "yes" >&6; }
3453
 
 
3454
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
3226
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3455
3227
ac_clean_files=$ac_clean_files_save
3456
 
# Check that the compiler produces executables we can run.  If not, either
3457
 
# the compiler is broken, or we cross compile.
3458
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3459
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3461
 
$as_echo "$cross_compiling" >&6; }
3462
 
 
3463
3228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3464
3229
$as_echo_n "checking for suffix of executables... " >&6; }
3465
3230
if { { ac_try="$ac_link"
3492
3257
as_fn_error "cannot compute suffix of executables: cannot compile and link
3493
3258
See \`config.log' for more details." "$LINENO" 5; }
3494
3259
fi
3495
 
rm -f conftest$ac_cv_exeext
 
3260
rm -f conftest conftest$ac_cv_exeext
3496
3261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3497
3262
$as_echo "$ac_cv_exeext" >&6; }
3498
3263
 
3499
3264
rm -f conftest.$ac_ext
3500
3265
EXEEXT=$ac_cv_exeext
3501
3266
ac_exeext=$EXEEXT
 
3267
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3268
/* end confdefs.h.  */
 
3269
#include <stdio.h>
 
3270
int
 
3271
main ()
 
3272
{
 
3273
FILE *f = fopen ("conftest.out", "w");
 
3274
 return ferror (f) || fclose (f) != 0;
 
3275
 
 
3276
  ;
 
3277
  return 0;
 
3278
}
 
3279
_ACEOF
 
3280
ac_clean_files="$ac_clean_files conftest.out"
 
3281
# Check that the compiler produces executables we can run.  If not, either
 
3282
# the compiler is broken, or we cross compile.
 
3283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3284
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3285
if test "$cross_compiling" != yes; then
 
3286
  { { ac_try="$ac_link"
 
3287
case "(($ac_try" in
 
3288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3289
  *) ac_try_echo=$ac_try;;
 
3290
esac
 
3291
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3292
$as_echo "$ac_try_echo"; } >&5
 
3293
  (eval "$ac_link") 2>&5
 
3294
  ac_status=$?
 
3295
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3296
  test $ac_status = 0; }
 
3297
  if { ac_try='./conftest$ac_cv_exeext'
 
3298
  { { case "(($ac_try" in
 
3299
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3300
  *) ac_try_echo=$ac_try;;
 
3301
esac
 
3302
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3303
$as_echo "$ac_try_echo"; } >&5
 
3304
  (eval "$ac_try") 2>&5
 
3305
  ac_status=$?
 
3306
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3307
  test $ac_status = 0; }; }; then
 
3308
    cross_compiling=no
 
3309
  else
 
3310
    if test "$cross_compiling" = maybe; then
 
3311
        cross_compiling=yes
 
3312
    else
 
3313
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3314
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3315
as_fn_error "cannot run C compiled programs.
 
3316
If you meant to cross compile, use \`--host'.
 
3317
See \`config.log' for more details." "$LINENO" 5; }
 
3318
    fi
 
3319
  fi
 
3320
fi
 
3321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3322
$as_echo "$cross_compiling" >&6; }
 
3323
 
 
3324
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3325
ac_clean_files=$ac_clean_files_save
3502
3326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3503
3327
$as_echo_n "checking for suffix of object files... " >&6; }
3504
3328
if test "${ac_cv_objext+set}" = set; then :
4268
4092
... rest of stderr output deleted ...
4269
4093
         10q' conftest.err >conftest.er1
4270
4094
    cat conftest.er1 >&5
4271
 
    rm -f conftest.er1 conftest.err
4272
4095
  fi
 
4096
  rm -f conftest.er1 conftest.err
4273
4097
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4274
4098
  test $ac_status = 0; }
4275
4099
done
4645
4469
  SET_MAKE="MAKE=${MAKE-make}"
4646
4470
fi
4647
4471
 
4648
 
case `pwd` in
4649
 
  *\ * | *\     *)
4650
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4651
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4652
 
esac
4653
 
 
4654
 
 
4655
 
 
4656
 
macro_version='2.2.6'
4657
 
macro_revision='1.3012'
4658
 
 
4659
 
 
4660
 
 
4661
 
 
4662
 
 
4663
 
 
4664
 
 
4665
 
 
4666
 
 
4667
 
 
4668
 
 
4669
 
 
4670
 
 
4671
 
ltmain="$ac_aux_dir/ltmain.sh"
4672
 
 
4673
 
# Make sure we can run config.sub.
4674
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4675
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4676
 
 
4677
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4678
 
$as_echo_n "checking build system type... " >&6; }
4679
 
if test "${ac_cv_build+set}" = set; then :
4680
 
  $as_echo_n "(cached) " >&6
4681
 
else
4682
 
  ac_build_alias=$build_alias
4683
 
test "x$ac_build_alias" = x &&
4684
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4685
 
test "x$ac_build_alias" = x &&
4686
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4687
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4688
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4689
 
 
4690
 
fi
4691
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4692
 
$as_echo "$ac_cv_build" >&6; }
4693
 
case $ac_cv_build in
4694
 
*-*-*) ;;
4695
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4696
 
esac
4697
 
build=$ac_cv_build
4698
 
ac_save_IFS=$IFS; IFS='-'
4699
 
set x $ac_cv_build
4700
 
shift
4701
 
build_cpu=$1
4702
 
build_vendor=$2
4703
 
shift; shift
4704
 
# Remember, the first character of IFS is used to create $*,
4705
 
# except with old shells:
4706
 
build_os=$*
4707
 
IFS=$ac_save_IFS
4708
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4709
 
 
4710
 
 
4711
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4712
 
$as_echo_n "checking host system type... " >&6; }
4713
 
if test "${ac_cv_host+set}" = set; then :
4714
 
  $as_echo_n "(cached) " >&6
4715
 
else
4716
 
  if test "x$host_alias" = x; then
4717
 
  ac_cv_host=$ac_cv_build
4718
 
else
4719
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4720
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4721
 
fi
4722
 
 
4723
 
fi
4724
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4725
 
$as_echo "$ac_cv_host" >&6; }
4726
 
case $ac_cv_host in
4727
 
*-*-*) ;;
4728
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4729
 
esac
4730
 
host=$ac_cv_host
4731
 
ac_save_IFS=$IFS; IFS='-'
4732
 
set x $ac_cv_host
4733
 
shift
4734
 
host_cpu=$1
4735
 
host_vendor=$2
4736
 
shift; shift
4737
 
# Remember, the first character of IFS is used to create $*,
4738
 
# except with old shells:
4739
 
host_os=$*
4740
 
IFS=$ac_save_IFS
4741
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4742
 
 
4743
 
 
4744
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4745
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4746
 
if test "${ac_cv_path_SED+set}" = set; then :
4747
 
  $as_echo_n "(cached) " >&6
4748
 
else
4749
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4750
 
     for ac_i in 1 2 3 4 5 6 7; do
4751
 
       ac_script="$ac_script$as_nl$ac_script"
4752
 
     done
4753
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4754
 
     { ac_script=; unset ac_script;}
4755
 
     if test -z "$SED"; then
4756
 
  ac_path_SED_found=false
4757
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4758
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759
 
for as_dir in $PATH
4760
 
do
4761
 
  IFS=$as_save_IFS
4762
 
  test -z "$as_dir" && as_dir=.
4763
 
    for ac_prog in sed gsed; do
4764
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4765
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4766
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4767
 
# Check for GNU ac_path_SED and select it if it is found.
4768
 
  # Check for GNU $ac_path_SED
4769
 
case `"$ac_path_SED" --version 2>&1` in
4770
 
*GNU*)
4771
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4772
 
*)
4773
 
  ac_count=0
4774
 
  $as_echo_n 0123456789 >"conftest.in"
4775
 
  while :
4776
 
  do
4777
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4778
 
    mv "conftest.tmp" "conftest.in"
4779
 
    cp "conftest.in" "conftest.nl"
4780
 
    $as_echo '' >> "conftest.nl"
4781
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4782
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4783
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4784
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4785
 
      # Best one so far, save it but keep looking for a better one
4786
 
      ac_cv_path_SED="$ac_path_SED"
4787
 
      ac_path_SED_max=$ac_count
4788
 
    fi
4789
 
    # 10*(2^10) chars as input seems more than enough
4790
 
    test $ac_count -gt 10 && break
4791
 
  done
4792
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4793
 
esac
4794
 
 
4795
 
      $ac_path_SED_found && break 3
4796
 
    done
4797
 
  done
4798
 
  done
4799
 
IFS=$as_save_IFS
4800
 
  if test -z "$ac_cv_path_SED"; then
4801
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4802
 
  fi
4803
 
else
4804
 
  ac_cv_path_SED=$SED
4805
 
fi
4806
 
 
4807
 
fi
4808
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4809
 
$as_echo "$ac_cv_path_SED" >&6; }
4810
 
 SED="$ac_cv_path_SED"
4811
 
  rm -f conftest.sed
4812
 
 
4813
 
test -z "$SED" && SED=sed
4814
 
Xsed="$SED -e 1s/^X//"
4815
 
 
4816
 
 
4817
 
 
4818
 
 
4819
 
 
4820
 
 
4821
 
 
4822
 
 
4823
 
 
4824
 
 
4825
 
 
4826
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4827
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4828
 
if test "${ac_cv_path_GREP+set}" = set; then :
4829
 
  $as_echo_n "(cached) " >&6
4830
 
else
4831
 
  if test -z "$GREP"; then
4832
 
  ac_path_GREP_found=false
4833
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4834
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4836
 
do
4837
 
  IFS=$as_save_IFS
4838
 
  test -z "$as_dir" && as_dir=.
4839
 
    for ac_prog in grep ggrep; do
4840
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4841
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4842
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4843
 
# Check for GNU ac_path_GREP and select it if it is found.
4844
 
  # Check for GNU $ac_path_GREP
4845
 
case `"$ac_path_GREP" --version 2>&1` in
4846
 
*GNU*)
4847
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4848
 
*)
4849
 
  ac_count=0
4850
 
  $as_echo_n 0123456789 >"conftest.in"
4851
 
  while :
4852
 
  do
4853
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4854
 
    mv "conftest.tmp" "conftest.in"
4855
 
    cp "conftest.in" "conftest.nl"
4856
 
    $as_echo 'GREP' >> "conftest.nl"
4857
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4858
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4859
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4860
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4861
 
      # Best one so far, save it but keep looking for a better one
4862
 
      ac_cv_path_GREP="$ac_path_GREP"
4863
 
      ac_path_GREP_max=$ac_count
4864
 
    fi
4865
 
    # 10*(2^10) chars as input seems more than enough
4866
 
    test $ac_count -gt 10 && break
4867
 
  done
4868
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4869
 
esac
4870
 
 
4871
 
      $ac_path_GREP_found && break 3
4872
 
    done
4873
 
  done
4874
 
  done
4875
 
IFS=$as_save_IFS
4876
 
  if test -z "$ac_cv_path_GREP"; then
4877
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4878
 
  fi
4879
 
else
4880
 
  ac_cv_path_GREP=$GREP
4881
 
fi
4882
 
 
4883
 
fi
4884
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4885
 
$as_echo "$ac_cv_path_GREP" >&6; }
4886
 
 GREP="$ac_cv_path_GREP"
4887
 
 
4888
 
 
4889
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4890
 
$as_echo_n "checking for egrep... " >&6; }
4891
 
if test "${ac_cv_path_EGREP+set}" = set; then :
4892
 
  $as_echo_n "(cached) " >&6
4893
 
else
4894
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4895
 
   then ac_cv_path_EGREP="$GREP -E"
4896
 
   else
4897
 
     if test -z "$EGREP"; then
4898
 
  ac_path_EGREP_found=false
4899
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4900
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4901
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4902
 
do
4903
 
  IFS=$as_save_IFS
4904
 
  test -z "$as_dir" && as_dir=.
4905
 
    for ac_prog in egrep; do
4906
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4907
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4908
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4909
 
# Check for GNU ac_path_EGREP and select it if it is found.
4910
 
  # Check for GNU $ac_path_EGREP
4911
 
case `"$ac_path_EGREP" --version 2>&1` in
4912
 
*GNU*)
4913
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4914
 
*)
4915
 
  ac_count=0
4916
 
  $as_echo_n 0123456789 >"conftest.in"
4917
 
  while :
4918
 
  do
4919
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4920
 
    mv "conftest.tmp" "conftest.in"
4921
 
    cp "conftest.in" "conftest.nl"
4922
 
    $as_echo 'EGREP' >> "conftest.nl"
4923
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4924
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4925
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4926
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4927
 
      # Best one so far, save it but keep looking for a better one
4928
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4929
 
      ac_path_EGREP_max=$ac_count
4930
 
    fi
4931
 
    # 10*(2^10) chars as input seems more than enough
4932
 
    test $ac_count -gt 10 && break
4933
 
  done
4934
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4935
 
esac
4936
 
 
4937
 
      $ac_path_EGREP_found && break 3
4938
 
    done
4939
 
  done
4940
 
  done
4941
 
IFS=$as_save_IFS
4942
 
  if test -z "$ac_cv_path_EGREP"; then
4943
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4944
 
  fi
4945
 
else
4946
 
  ac_cv_path_EGREP=$EGREP
4947
 
fi
4948
 
 
4949
 
   fi
4950
 
fi
4951
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4952
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4953
 
 EGREP="$ac_cv_path_EGREP"
4954
 
 
4955
 
 
4956
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4957
 
$as_echo_n "checking for fgrep... " >&6; }
4958
 
if test "${ac_cv_path_FGREP+set}" = set; then :
4959
 
  $as_echo_n "(cached) " >&6
4960
 
else
4961
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4962
 
   then ac_cv_path_FGREP="$GREP -F"
4963
 
   else
4964
 
     if test -z "$FGREP"; then
4965
 
  ac_path_FGREP_found=false
4966
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4967
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4969
 
do
4970
 
  IFS=$as_save_IFS
4971
 
  test -z "$as_dir" && as_dir=.
4972
 
    for ac_prog in fgrep; do
4973
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4974
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4975
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4976
 
# Check for GNU ac_path_FGREP and select it if it is found.
4977
 
  # Check for GNU $ac_path_FGREP
4978
 
case `"$ac_path_FGREP" --version 2>&1` in
4979
 
*GNU*)
4980
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4981
 
*)
4982
 
  ac_count=0
4983
 
  $as_echo_n 0123456789 >"conftest.in"
4984
 
  while :
4985
 
  do
4986
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4987
 
    mv "conftest.tmp" "conftest.in"
4988
 
    cp "conftest.in" "conftest.nl"
4989
 
    $as_echo 'FGREP' >> "conftest.nl"
4990
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4991
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4992
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4993
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4994
 
      # Best one so far, save it but keep looking for a better one
4995
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4996
 
      ac_path_FGREP_max=$ac_count
4997
 
    fi
4998
 
    # 10*(2^10) chars as input seems more than enough
4999
 
    test $ac_count -gt 10 && break
5000
 
  done
5001
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5002
 
esac
5003
 
 
5004
 
      $ac_path_FGREP_found && break 3
5005
 
    done
5006
 
  done
5007
 
  done
5008
 
IFS=$as_save_IFS
5009
 
  if test -z "$ac_cv_path_FGREP"; then
5010
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5011
 
  fi
5012
 
else
5013
 
  ac_cv_path_FGREP=$FGREP
5014
 
fi
5015
 
 
5016
 
   fi
5017
 
fi
5018
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5019
 
$as_echo "$ac_cv_path_FGREP" >&6; }
5020
 
 FGREP="$ac_cv_path_FGREP"
5021
 
 
5022
 
 
5023
 
test -z "$GREP" && GREP=grep
5024
 
 
5025
 
 
5026
 
 
5027
 
 
5028
 
 
5029
 
 
5030
 
 
5031
 
 
5032
 
 
5033
 
 
5034
 
 
5035
 
 
5036
 
 
5037
 
 
5038
 
 
5039
 
 
5040
 
 
5041
 
 
5042
 
 
5043
 
# Check whether --with-gnu-ld was given.
5044
 
if test "${with_gnu_ld+set}" = set; then :
5045
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5046
 
else
5047
 
  with_gnu_ld=no
5048
 
fi
5049
 
 
5050
 
ac_prog=ld
5051
 
if test "$GCC" = yes; then
5052
 
  # Check if gcc -print-prog-name=ld gives a path.
5053
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5054
 
$as_echo_n "checking for ld used by $CC... " >&6; }
5055
 
  case $host in
5056
 
  *-*-mingw*)
5057
 
    # gcc leaves a trailing carriage return which upsets mingw
5058
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5059
 
  *)
5060
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5061
 
  esac
5062
 
  case $ac_prog in
5063
 
    # Accept absolute paths.
5064
 
    [\\/]* | ?:[\\/]*)
5065
 
      re_direlt='/[^/][^/]*/\.\./'
5066
 
      # Canonicalize the pathname of ld
5067
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5068
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5069
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5070
 
      done
5071
 
      test -z "$LD" && LD="$ac_prog"
5072
 
      ;;
5073
 
  "")
5074
 
    # If it fails, then pretend we aren't using GCC.
5075
 
    ac_prog=ld
5076
 
    ;;
5077
 
  *)
5078
 
    # If it is relative, then search for the first ld in PATH.
5079
 
    with_gnu_ld=unknown
5080
 
    ;;
5081
 
  esac
5082
 
elif test "$with_gnu_ld" = yes; then
5083
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5084
 
$as_echo_n "checking for GNU ld... " >&6; }
5085
 
else
5086
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5087
 
$as_echo_n "checking for non-GNU ld... " >&6; }
5088
 
fi
5089
 
if test "${lt_cv_path_LD+set}" = set; then :
5090
 
  $as_echo_n "(cached) " >&6
5091
 
else
5092
 
  if test -z "$LD"; then
5093
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5094
 
  for ac_dir in $PATH; do
5095
 
    IFS="$lt_save_ifs"
5096
 
    test -z "$ac_dir" && ac_dir=.
5097
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5098
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
5099
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5100
 
      # but apparently some variants of GNU ld only accept -v.
5101
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5102
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5103
 
      *GNU* | *'with BFD'*)
5104
 
        test "$with_gnu_ld" != no && break
5105
 
        ;;
5106
 
      *)
5107
 
        test "$with_gnu_ld" != yes && break
5108
 
        ;;
5109
 
      esac
5110
 
    fi
5111
 
  done
5112
 
  IFS="$lt_save_ifs"
5113
 
else
5114
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5115
 
fi
5116
 
fi
5117
 
 
5118
 
LD="$lt_cv_path_LD"
5119
 
if test -n "$LD"; then
5120
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5121
 
$as_echo "$LD" >&6; }
5122
 
else
5123
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124
 
$as_echo "no" >&6; }
5125
 
fi
5126
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5127
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5128
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5129
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5130
 
  $as_echo_n "(cached) " >&6
5131
 
else
5132
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5133
 
case `$LD -v 2>&1 </dev/null` in
5134
 
*GNU* | *'with BFD'*)
5135
 
  lt_cv_prog_gnu_ld=yes
5136
 
  ;;
5137
 
*)
5138
 
  lt_cv_prog_gnu_ld=no
5139
 
  ;;
5140
 
esac
5141
 
fi
5142
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5143
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5144
 
with_gnu_ld=$lt_cv_prog_gnu_ld
5145
 
 
5146
 
 
5147
 
 
5148
 
 
5149
 
 
5150
 
 
5151
 
 
5152
 
 
5153
 
 
5154
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5155
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5156
 
if test "${lt_cv_path_NM+set}" = set; then :
5157
 
  $as_echo_n "(cached) " >&6
5158
 
else
5159
 
  if test -n "$NM"; then
5160
 
  # Let the user override the test.
5161
 
  lt_cv_path_NM="$NM"
5162
 
else
5163
 
  lt_nm_to_check="${ac_tool_prefix}nm"
5164
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5165
 
    lt_nm_to_check="$lt_nm_to_check nm"
5166
 
  fi
5167
 
  for lt_tmp_nm in $lt_nm_to_check; do
5168
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5169
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5170
 
      IFS="$lt_save_ifs"
5171
 
      test -z "$ac_dir" && ac_dir=.
5172
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
5173
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5174
 
        # Check to see if the nm accepts a BSD-compat flag.
5175
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5176
 
        #   nm: unknown option "B" ignored
5177
 
        # Tru64's nm complains that /dev/null is an invalid object file
5178
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5179
 
        */dev/null* | *'Invalid file or object type'*)
5180
 
          lt_cv_path_NM="$tmp_nm -B"
5181
 
          break
5182
 
          ;;
5183
 
        *)
5184
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5185
 
          */dev/null*)
5186
 
            lt_cv_path_NM="$tmp_nm -p"
5187
 
            break
5188
 
            ;;
5189
 
          *)
5190
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5191
 
            continue # so that we can try to find one that supports BSD flags
5192
 
            ;;
5193
 
          esac
5194
 
          ;;
5195
 
        esac
5196
 
      fi
5197
 
    done
5198
 
    IFS="$lt_save_ifs"
5199
 
  done
5200
 
  : ${lt_cv_path_NM=no}
5201
 
fi
5202
 
fi
5203
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5204
 
$as_echo "$lt_cv_path_NM" >&6; }
5205
 
if test "$lt_cv_path_NM" != "no"; then
5206
 
  NM="$lt_cv_path_NM"
5207
 
else
5208
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
5209
 
  if test -n "$ac_tool_prefix"; then
5210
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5211
 
  do
5212
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5213
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5214
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215
 
$as_echo_n "checking for $ac_word... " >&6; }
5216
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5217
 
  $as_echo_n "(cached) " >&6
5218
 
else
5219
 
  if test -n "$DUMPBIN"; then
5220
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5221
 
else
5222
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223
 
for as_dir in $PATH
5224
 
do
5225
 
  IFS=$as_save_IFS
5226
 
  test -z "$as_dir" && as_dir=.
5227
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5228
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5230
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231
 
    break 2
5232
 
  fi
5233
 
done
5234
 
  done
5235
 
IFS=$as_save_IFS
5236
 
 
5237
 
fi
5238
 
fi
5239
 
DUMPBIN=$ac_cv_prog_DUMPBIN
5240
 
if test -n "$DUMPBIN"; then
5241
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5242
 
$as_echo "$DUMPBIN" >&6; }
5243
 
else
5244
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245
 
$as_echo "no" >&6; }
5246
 
fi
5247
 
 
5248
 
 
5249
 
    test -n "$DUMPBIN" && break
5250
 
  done
5251
 
fi
5252
 
if test -z "$DUMPBIN"; then
5253
 
  ac_ct_DUMPBIN=$DUMPBIN
5254
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5255
 
do
5256
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5257
 
set dummy $ac_prog; ac_word=$2
5258
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259
 
$as_echo_n "checking for $ac_word... " >&6; }
5260
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5261
 
  $as_echo_n "(cached) " >&6
5262
 
else
5263
 
  if test -n "$ac_ct_DUMPBIN"; then
5264
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5265
 
else
5266
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267
 
for as_dir in $PATH
5268
 
do
5269
 
  IFS=$as_save_IFS
5270
 
  test -z "$as_dir" && as_dir=.
5271
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5272
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5274
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275
 
    break 2
5276
 
  fi
5277
 
done
5278
 
  done
5279
 
IFS=$as_save_IFS
5280
 
 
5281
 
fi
5282
 
fi
5283
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5284
 
if test -n "$ac_ct_DUMPBIN"; then
5285
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5286
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
5287
 
else
5288
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289
 
$as_echo "no" >&6; }
5290
 
fi
5291
 
 
5292
 
 
5293
 
  test -n "$ac_ct_DUMPBIN" && break
5294
 
done
5295
 
 
5296
 
  if test "x$ac_ct_DUMPBIN" = x; then
5297
 
    DUMPBIN=":"
5298
 
  else
5299
 
    case $cross_compiling:$ac_tool_warned in
5300
 
yes:)
5301
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5302
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5303
 
ac_tool_warned=yes ;;
5304
 
esac
5305
 
    DUMPBIN=$ac_ct_DUMPBIN
5306
 
  fi
5307
 
fi
5308
 
 
5309
 
 
5310
 
  if test "$DUMPBIN" != ":"; then
5311
 
    NM="$DUMPBIN"
5312
 
  fi
5313
 
fi
5314
 
test -z "$NM" && NM=nm
5315
 
 
5316
 
 
5317
 
 
5318
 
 
5319
 
 
5320
 
 
5321
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5322
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5323
 
if test "${lt_cv_nm_interface+set}" = set; then :
5324
 
  $as_echo_n "(cached) " >&6
5325
 
else
5326
 
  lt_cv_nm_interface="BSD nm"
5327
 
  echo "int some_variable = 0;" > conftest.$ac_ext
5328
 
  (eval echo "\"\$as_me:5328: $ac_compile\"" >&5)
5329
 
  (eval "$ac_compile" 2>conftest.err)
5330
 
  cat conftest.err >&5
5331
 
  (eval echo "\"\$as_me:5331: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5332
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5333
 
  cat conftest.err >&5
5334
 
  (eval echo "\"\$as_me:5334: output\"" >&5)
5335
 
  cat conftest.out >&5
5336
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5337
 
    lt_cv_nm_interface="MS dumpbin"
5338
 
  fi
5339
 
  rm -f conftest*
5340
 
fi
5341
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5342
 
$as_echo "$lt_cv_nm_interface" >&6; }
5343
 
 
5344
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5345
 
$as_echo_n "checking whether ln -s works... " >&6; }
5346
 
LN_S=$as_ln_s
5347
 
if test "$LN_S" = "ln -s"; then
5348
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5349
 
$as_echo "yes" >&6; }
5350
 
else
5351
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5352
 
$as_echo "no, using $LN_S" >&6; }
5353
 
fi
5354
 
 
5355
 
# find the maximum length of command line arguments
5356
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5357
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5358
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5359
 
  $as_echo_n "(cached) " >&6
5360
 
else
5361
 
    i=0
5362
 
  teststring="ABCD"
5363
 
 
5364
 
  case $build_os in
5365
 
  msdosdjgpp*)
5366
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5367
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5368
 
    # during glob expansion).  Even if it were fixed, the result of this
5369
 
    # check would be larger than it should be.
5370
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5371
 
    ;;
5372
 
 
5373
 
  gnu*)
5374
 
    # Under GNU Hurd, this test is not required because there is
5375
 
    # no limit to the length of command line arguments.
5376
 
    # Libtool will interpret -1 as no limit whatsoever
5377
 
    lt_cv_sys_max_cmd_len=-1;
5378
 
    ;;
5379
 
 
5380
 
  cygwin* | mingw* | cegcc*)
5381
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5382
 
    # about 5 minutes as the teststring grows exponentially.
5383
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5384
 
    # you end up with a "frozen" computer, even though with patience
5385
 
    # the test eventually succeeds (with a max line length of 256k).
5386
 
    # Instead, let's just punt: use the minimum linelength reported by
5387
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5388
 
    lt_cv_sys_max_cmd_len=8192;
5389
 
    ;;
5390
 
 
5391
 
  amigaos*)
5392
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5393
 
    # So we just punt and use a minimum line length of 8192.
5394
 
    lt_cv_sys_max_cmd_len=8192;
5395
 
    ;;
5396
 
 
5397
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5398
 
    # This has been around since 386BSD, at least.  Likely further.
5399
 
    if test -x /sbin/sysctl; then
5400
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5401
 
    elif test -x /usr/sbin/sysctl; then
5402
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5403
 
    else
5404
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5405
 
    fi
5406
 
    # And add a safety zone
5407
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5408
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5409
 
    ;;
5410
 
 
5411
 
  interix*)
5412
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5413
 
    lt_cv_sys_max_cmd_len=196608
5414
 
    ;;
5415
 
 
5416
 
  osf*)
5417
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5418
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5419
 
    # nice to cause kernel panics so lets avoid the loop below.
5420
 
    # First set a reasonable default.
5421
 
    lt_cv_sys_max_cmd_len=16384
5422
 
    #
5423
 
    if test -x /sbin/sysconfig; then
5424
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5425
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5426
 
      esac
5427
 
    fi
5428
 
    ;;
5429
 
  sco3.2v5*)
5430
 
    lt_cv_sys_max_cmd_len=102400
5431
 
    ;;
5432
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5433
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5434
 
    if test -n "$kargmax"; then
5435
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5436
 
    else
5437
 
      lt_cv_sys_max_cmd_len=32768
5438
 
    fi
5439
 
    ;;
5440
 
  *)
5441
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5442
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5443
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5444
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5445
 
    else
5446
 
      # Make teststring a little bigger before we do anything with it.
5447
 
      # a 1K string should be a reasonable start.
5448
 
      for i in 1 2 3 4 5 6 7 8 ; do
5449
 
        teststring=$teststring$teststring
5450
 
      done
5451
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5452
 
      # If test is not a shell built-in, we'll probably end up computing a
5453
 
      # maximum length that is only half of the actual maximum length, but
5454
 
      # we can't tell.
5455
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5456
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5457
 
              test $i != 17 # 1/2 MB should be enough
5458
 
      do
5459
 
        i=`expr $i + 1`
5460
 
        teststring=$teststring$teststring
5461
 
      done
5462
 
      # Only check the string length outside the loop.
5463
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5464
 
      teststring=
5465
 
      # Add a significant safety factor because C++ compilers can tack on
5466
 
      # massive amounts of additional arguments before passing them to the
5467
 
      # linker.  It appears as though 1/2 is a usable value.
5468
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5469
 
    fi
5470
 
    ;;
5471
 
  esac
5472
 
 
5473
 
fi
5474
 
 
5475
 
if test -n $lt_cv_sys_max_cmd_len ; then
5476
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5477
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5478
 
else
5479
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5480
 
$as_echo "none" >&6; }
5481
 
fi
5482
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5483
 
 
5484
 
 
5485
 
 
5486
 
 
5487
 
 
5488
 
 
5489
 
: ${CP="cp -f"}
5490
 
: ${MV="mv -f"}
5491
 
: ${RM="rm -f"}
5492
 
 
5493
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5494
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5495
 
# Try some XSI features
5496
 
xsi_shell=no
5497
 
( _lt_dummy="a/b/c"
5498
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5499
 
      = c,a/b,, \
5500
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5501
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5502
 
  && xsi_shell=yes
5503
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5504
 
$as_echo "$xsi_shell" >&6; }
5505
 
 
5506
 
 
5507
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5508
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5509
 
lt_shell_append=no
5510
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5511
 
    >/dev/null 2>&1 \
5512
 
  && lt_shell_append=yes
5513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5514
 
$as_echo "$lt_shell_append" >&6; }
5515
 
 
5516
 
 
5517
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5518
 
  lt_unset=unset
5519
 
else
5520
 
  lt_unset=false
5521
 
fi
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
# test EBCDIC or ASCII
5528
 
case `echo X|tr X '\101'` in
5529
 
 A) # ASCII based system
5530
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5531
 
  lt_SP2NL='tr \040 \012'
5532
 
  lt_NL2SP='tr \015\012 \040\040'
5533
 
  ;;
5534
 
 *) # EBCDIC based system
5535
 
  lt_SP2NL='tr \100 \n'
5536
 
  lt_NL2SP='tr \r\n \100\100'
5537
 
  ;;
5538
 
esac
5539
 
 
5540
 
 
5541
 
 
5542
 
 
5543
 
 
5544
 
 
5545
 
 
5546
 
 
5547
 
 
5548
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5549
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5550
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5551
 
  $as_echo_n "(cached) " >&6
5552
 
else
5553
 
  lt_cv_ld_reload_flag='-r'
5554
 
fi
5555
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5556
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5557
 
reload_flag=$lt_cv_ld_reload_flag
5558
 
case $reload_flag in
5559
 
"" | " "*) ;;
5560
 
*) reload_flag=" $reload_flag" ;;
5561
 
esac
5562
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5563
 
case $host_os in
5564
 
  darwin*)
5565
 
    if test "$GCC" = yes; then
5566
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5567
 
    else
5568
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5569
 
    fi
5570
 
    ;;
5571
 
esac
5572
 
 
5573
 
 
5574
 
 
5575
 
 
5576
 
 
5577
 
 
5578
 
 
5579
 
 
5580
 
 
5581
 
if test -n "$ac_tool_prefix"; then
5582
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5583
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5584
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585
 
$as_echo_n "checking for $ac_word... " >&6; }
5586
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5587
 
  $as_echo_n "(cached) " >&6
5588
 
else
5589
 
  if test -n "$OBJDUMP"; then
5590
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5591
 
else
5592
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593
 
for as_dir in $PATH
5594
 
do
5595
 
  IFS=$as_save_IFS
5596
 
  test -z "$as_dir" && as_dir=.
5597
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5598
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5600
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601
 
    break 2
5602
 
  fi
5603
 
done
5604
 
  done
5605
 
IFS=$as_save_IFS
5606
 
 
5607
 
fi
5608
 
fi
5609
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5610
 
if test -n "$OBJDUMP"; then
5611
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5612
 
$as_echo "$OBJDUMP" >&6; }
5613
 
else
5614
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615
 
$as_echo "no" >&6; }
5616
 
fi
5617
 
 
5618
 
 
5619
 
fi
5620
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5621
 
  ac_ct_OBJDUMP=$OBJDUMP
5622
 
  # Extract the first word of "objdump", so it can be a program name with args.
5623
 
set dummy objdump; ac_word=$2
5624
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625
 
$as_echo_n "checking for $ac_word... " >&6; }
5626
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5627
 
  $as_echo_n "(cached) " >&6
5628
 
else
5629
 
  if test -n "$ac_ct_OBJDUMP"; then
5630
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5631
 
else
5632
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633
 
for as_dir in $PATH
5634
 
do
5635
 
  IFS=$as_save_IFS
5636
 
  test -z "$as_dir" && as_dir=.
5637
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5638
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5640
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641
 
    break 2
5642
 
  fi
5643
 
done
5644
 
  done
5645
 
IFS=$as_save_IFS
5646
 
 
5647
 
fi
5648
 
fi
5649
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5650
 
if test -n "$ac_ct_OBJDUMP"; then
5651
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5652
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5653
 
else
5654
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655
 
$as_echo "no" >&6; }
5656
 
fi
5657
 
 
5658
 
  if test "x$ac_ct_OBJDUMP" = x; then
5659
 
    OBJDUMP="false"
5660
 
  else
5661
 
    case $cross_compiling:$ac_tool_warned in
5662
 
yes:)
5663
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665
 
ac_tool_warned=yes ;;
5666
 
esac
5667
 
    OBJDUMP=$ac_ct_OBJDUMP
5668
 
  fi
5669
 
else
5670
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5671
 
fi
5672
 
 
5673
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5674
 
 
5675
 
 
5676
 
 
5677
 
 
5678
 
 
5679
 
 
5680
 
 
5681
 
 
5682
 
 
5683
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5684
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5685
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5686
 
  $as_echo_n "(cached) " >&6
5687
 
else
5688
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5689
 
lt_cv_file_magic_test_file=
5690
 
lt_cv_deplibs_check_method='unknown'
5691
 
# Need to set the preceding variable on all platforms that support
5692
 
# interlibrary dependencies.
5693
 
# 'none' -- dependencies not supported.
5694
 
# `unknown' -- same as none, but documents that we really don't know.
5695
 
# 'pass_all' -- all dependencies passed with no checks.
5696
 
# 'test_compile' -- check by making test program.
5697
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5698
 
# which responds to the $file_magic_cmd with a given extended regex.
5699
 
# If you have `file' or equivalent on your system and you're not sure
5700
 
# whether `pass_all' will *always* work, you probably want this one.
5701
 
 
5702
 
case $host_os in
5703
 
aix[4-9]*)
5704
 
  lt_cv_deplibs_check_method=pass_all
5705
 
  ;;
5706
 
 
5707
 
beos*)
5708
 
  lt_cv_deplibs_check_method=pass_all
5709
 
  ;;
5710
 
 
5711
 
bsdi[45]*)
5712
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5713
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5714
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5715
 
  ;;
5716
 
 
5717
 
cygwin*)
5718
 
  # func_win32_libid is a shell function defined in ltmain.sh
5719
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5720
 
  lt_cv_file_magic_cmd='func_win32_libid'
5721
 
  ;;
5722
 
 
5723
 
mingw* | pw32*)
5724
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5725
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5726
 
  # unless we find 'file', for example because we are cross-compiling.
5727
 
  if ( file / ) >/dev/null 2>&1; then
5728
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5729
 
    lt_cv_file_magic_cmd='func_win32_libid'
5730
 
  else
5731
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5732
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5733
 
  fi
5734
 
  ;;
5735
 
 
5736
 
cegcc)
5737
 
  # use the weaker test based on 'objdump'. See mingw*.
5738
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5739
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5740
 
  ;;
5741
 
 
5742
 
darwin* | rhapsody*)
5743
 
  lt_cv_deplibs_check_method=pass_all
5744
 
  ;;
5745
 
 
5746
 
freebsd* | dragonfly*)
5747
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5748
 
    case $host_cpu in
5749
 
    i*86 )
5750
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5751
 
      # Let's accept both of them until this is cleared up.
5752
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5753
 
      lt_cv_file_magic_cmd=/usr/bin/file
5754
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5755
 
      ;;
5756
 
    esac
5757
 
  else
5758
 
    lt_cv_deplibs_check_method=pass_all
5759
 
  fi
5760
 
  ;;
5761
 
 
5762
 
gnu*)
5763
 
  lt_cv_deplibs_check_method=pass_all
5764
 
  ;;
5765
 
 
5766
 
hpux10.20* | hpux11*)
5767
 
  lt_cv_file_magic_cmd=/usr/bin/file
5768
 
  case $host_cpu in
5769
 
  ia64*)
5770
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5771
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5772
 
    ;;
5773
 
  hppa*64*)
5774
 
    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]'
5775
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5776
 
    ;;
5777
 
  *)
5778
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5779
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5780
 
    ;;
5781
 
  esac
5782
 
  ;;
5783
 
 
5784
 
interix[3-9]*)
5785
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5786
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5787
 
  ;;
5788
 
 
5789
 
irix5* | irix6* | nonstopux*)
5790
 
  case $LD in
5791
 
  *-32|*"-32 ") libmagic=32-bit;;
5792
 
  *-n32|*"-n32 ") libmagic=N32;;
5793
 
  *-64|*"-64 ") libmagic=64-bit;;
5794
 
  *) libmagic=never-match;;
5795
 
  esac
5796
 
  lt_cv_deplibs_check_method=pass_all
5797
 
  ;;
5798
 
 
5799
 
# This must be Linux ELF.
5800
 
linux* | k*bsd*-gnu)
5801
 
  lt_cv_deplibs_check_method=pass_all
5802
 
  ;;
5803
 
 
5804
 
netbsd* | netbsdelf*-gnu)
5805
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5806
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5807
 
  else
5808
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5809
 
  fi
5810
 
  ;;
5811
 
 
5812
 
newos6*)
5813
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5814
 
  lt_cv_file_magic_cmd=/usr/bin/file
5815
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5816
 
  ;;
5817
 
 
5818
 
*nto* | *qnx*)
5819
 
  lt_cv_deplibs_check_method=pass_all
5820
 
  ;;
5821
 
 
5822
 
openbsd*)
5823
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5824
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5825
 
  else
5826
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5827
 
  fi
5828
 
  ;;
5829
 
 
5830
 
osf3* | osf4* | osf5*)
5831
 
  lt_cv_deplibs_check_method=pass_all
5832
 
  ;;
5833
 
 
5834
 
rdos*)
5835
 
  lt_cv_deplibs_check_method=pass_all
5836
 
  ;;
5837
 
 
5838
 
solaris*)
5839
 
  lt_cv_deplibs_check_method=pass_all
5840
 
  ;;
5841
 
 
5842
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5843
 
  lt_cv_deplibs_check_method=pass_all
5844
 
  ;;
5845
 
 
5846
 
sysv4 | sysv4.3*)
5847
 
  case $host_vendor in
5848
 
  motorola)
5849
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5850
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5851
 
    ;;
5852
 
  ncr)
5853
 
    lt_cv_deplibs_check_method=pass_all
5854
 
    ;;
5855
 
  sequent)
5856
 
    lt_cv_file_magic_cmd='/bin/file'
5857
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5858
 
    ;;
5859
 
  sni)
5860
 
    lt_cv_file_magic_cmd='/bin/file'
5861
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5862
 
    lt_cv_file_magic_test_file=/lib/libc.so
5863
 
    ;;
5864
 
  siemens)
5865
 
    lt_cv_deplibs_check_method=pass_all
5866
 
    ;;
5867
 
  pc)
5868
 
    lt_cv_deplibs_check_method=pass_all
5869
 
    ;;
5870
 
  esac
5871
 
  ;;
5872
 
 
5873
 
tpf*)
5874
 
  lt_cv_deplibs_check_method=pass_all
5875
 
  ;;
5876
 
esac
5877
 
 
5878
 
fi
5879
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5880
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5881
 
file_magic_cmd=$lt_cv_file_magic_cmd
5882
 
deplibs_check_method=$lt_cv_deplibs_check_method
5883
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5884
 
 
5885
 
 
5886
 
 
5887
 
 
5888
 
 
5889
 
 
5890
 
 
5891
 
 
5892
 
 
5893
 
 
5894
 
 
5895
 
 
5896
 
if test -n "$ac_tool_prefix"; then
5897
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5898
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5899
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900
 
$as_echo_n "checking for $ac_word... " >&6; }
5901
 
if test "${ac_cv_prog_AR+set}" = set; then :
5902
 
  $as_echo_n "(cached) " >&6
5903
 
else
5904
 
  if test -n "$AR"; then
5905
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5906
 
else
5907
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908
 
for as_dir in $PATH
5909
 
do
5910
 
  IFS=$as_save_IFS
5911
 
  test -z "$as_dir" && as_dir=.
5912
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5913
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5914
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5915
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916
 
    break 2
5917
 
  fi
5918
 
done
5919
 
  done
5920
 
IFS=$as_save_IFS
5921
 
 
5922
 
fi
5923
 
fi
5924
 
AR=$ac_cv_prog_AR
5925
 
if test -n "$AR"; then
5926
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5927
 
$as_echo "$AR" >&6; }
5928
 
else
5929
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930
 
$as_echo "no" >&6; }
5931
 
fi
5932
 
 
5933
 
 
5934
 
fi
5935
 
if test -z "$ac_cv_prog_AR"; then
5936
 
  ac_ct_AR=$AR
5937
 
  # Extract the first word of "ar", so it can be a program name with args.
5938
 
set dummy ar; ac_word=$2
5939
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5940
 
$as_echo_n "checking for $ac_word... " >&6; }
5941
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5942
 
  $as_echo_n "(cached) " >&6
5943
 
else
5944
 
  if test -n "$ac_ct_AR"; then
5945
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5946
 
else
5947
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948
 
for as_dir in $PATH
5949
 
do
5950
 
  IFS=$as_save_IFS
5951
 
  test -z "$as_dir" && as_dir=.
5952
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5953
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5954
 
    ac_cv_prog_ac_ct_AR="ar"
5955
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956
 
    break 2
5957
 
  fi
5958
 
done
5959
 
  done
5960
 
IFS=$as_save_IFS
5961
 
 
5962
 
fi
5963
 
fi
5964
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5965
 
if test -n "$ac_ct_AR"; then
5966
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5967
 
$as_echo "$ac_ct_AR" >&6; }
5968
 
else
5969
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5970
 
$as_echo "no" >&6; }
5971
 
fi
5972
 
 
5973
 
  if test "x$ac_ct_AR" = x; then
5974
 
    AR="false"
5975
 
  else
5976
 
    case $cross_compiling:$ac_tool_warned in
5977
 
yes:)
5978
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5979
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5980
 
ac_tool_warned=yes ;;
5981
 
esac
5982
 
    AR=$ac_ct_AR
5983
 
  fi
5984
 
else
5985
 
  AR="$ac_cv_prog_AR"
5986
 
fi
5987
 
 
5988
 
test -z "$AR" && AR=ar
5989
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5990
 
 
5991
 
 
5992
 
 
5993
 
 
5994
 
 
5995
 
 
5996
 
 
5997
 
 
5998
 
 
5999
 
 
6000
 
 
6001
 
if test -n "$ac_tool_prefix"; then
6002
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6003
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6004
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005
 
$as_echo_n "checking for $ac_word... " >&6; }
6006
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
6007
 
  $as_echo_n "(cached) " >&6
6008
 
else
6009
 
  if test -n "$STRIP"; then
6010
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6011
 
else
6012
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013
 
for as_dir in $PATH
6014
 
do
6015
 
  IFS=$as_save_IFS
6016
 
  test -z "$as_dir" && as_dir=.
6017
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6018
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6020
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021
 
    break 2
6022
 
  fi
6023
 
done
6024
 
  done
6025
 
IFS=$as_save_IFS
6026
 
 
6027
 
fi
6028
 
fi
6029
 
STRIP=$ac_cv_prog_STRIP
6030
 
if test -n "$STRIP"; then
6031
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6032
 
$as_echo "$STRIP" >&6; }
6033
 
else
6034
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035
 
$as_echo "no" >&6; }
6036
 
fi
6037
 
 
6038
 
 
6039
 
fi
6040
 
if test -z "$ac_cv_prog_STRIP"; then
6041
 
  ac_ct_STRIP=$STRIP
6042
 
  # Extract the first word of "strip", so it can be a program name with args.
6043
 
set dummy strip; ac_word=$2
6044
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045
 
$as_echo_n "checking for $ac_word... " >&6; }
6046
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6047
 
  $as_echo_n "(cached) " >&6
6048
 
else
6049
 
  if test -n "$ac_ct_STRIP"; then
6050
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6051
 
else
6052
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053
 
for as_dir in $PATH
6054
 
do
6055
 
  IFS=$as_save_IFS
6056
 
  test -z "$as_dir" && as_dir=.
6057
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6058
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059
 
    ac_cv_prog_ac_ct_STRIP="strip"
6060
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061
 
    break 2
6062
 
  fi
6063
 
done
6064
 
  done
6065
 
IFS=$as_save_IFS
6066
 
 
6067
 
fi
6068
 
fi
6069
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6070
 
if test -n "$ac_ct_STRIP"; then
6071
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6072
 
$as_echo "$ac_ct_STRIP" >&6; }
6073
 
else
6074
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075
 
$as_echo "no" >&6; }
6076
 
fi
6077
 
 
6078
 
  if test "x$ac_ct_STRIP" = x; then
6079
 
    STRIP=":"
6080
 
  else
6081
 
    case $cross_compiling:$ac_tool_warned in
6082
 
yes:)
6083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6084
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6085
 
ac_tool_warned=yes ;;
6086
 
esac
6087
 
    STRIP=$ac_ct_STRIP
6088
 
  fi
6089
 
else
6090
 
  STRIP="$ac_cv_prog_STRIP"
6091
 
fi
6092
 
 
6093
 
test -z "$STRIP" && STRIP=:
6094
 
 
6095
 
 
6096
 
 
6097
 
 
6098
 
 
6099
 
 
6100
 
if test -n "$ac_tool_prefix"; then
6101
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6102
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6103
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104
 
$as_echo_n "checking for $ac_word... " >&6; }
6105
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6106
 
  $as_echo_n "(cached) " >&6
6107
 
else
6108
 
  if test -n "$RANLIB"; then
6109
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6110
 
else
6111
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112
 
for as_dir in $PATH
6113
 
do
6114
 
  IFS=$as_save_IFS
6115
 
  test -z "$as_dir" && as_dir=.
6116
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6117
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6118
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6119
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120
 
    break 2
6121
 
  fi
6122
 
done
6123
 
  done
6124
 
IFS=$as_save_IFS
6125
 
 
6126
 
fi
6127
 
fi
6128
 
RANLIB=$ac_cv_prog_RANLIB
6129
 
if test -n "$RANLIB"; then
6130
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6131
 
$as_echo "$RANLIB" >&6; }
6132
 
else
6133
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134
 
$as_echo "no" >&6; }
6135
 
fi
6136
 
 
6137
 
 
6138
 
fi
6139
 
if test -z "$ac_cv_prog_RANLIB"; then
6140
 
  ac_ct_RANLIB=$RANLIB
6141
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6142
 
set dummy ranlib; ac_word=$2
6143
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144
 
$as_echo_n "checking for $ac_word... " >&6; }
6145
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6146
 
  $as_echo_n "(cached) " >&6
6147
 
else
6148
 
  if test -n "$ac_ct_RANLIB"; then
6149
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6150
 
else
6151
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152
 
for as_dir in $PATH
6153
 
do
6154
 
  IFS=$as_save_IFS
6155
 
  test -z "$as_dir" && as_dir=.
6156
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6157
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6158
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6159
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6160
 
    break 2
6161
 
  fi
6162
 
done
6163
 
  done
6164
 
IFS=$as_save_IFS
6165
 
 
6166
 
fi
6167
 
fi
6168
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6169
 
if test -n "$ac_ct_RANLIB"; then
6170
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6171
 
$as_echo "$ac_ct_RANLIB" >&6; }
6172
 
else
6173
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174
 
$as_echo "no" >&6; }
6175
 
fi
6176
 
 
6177
 
  if test "x$ac_ct_RANLIB" = x; then
6178
 
    RANLIB=":"
6179
 
  else
6180
 
    case $cross_compiling:$ac_tool_warned in
6181
 
yes:)
6182
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6183
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6184
 
ac_tool_warned=yes ;;
6185
 
esac
6186
 
    RANLIB=$ac_ct_RANLIB
6187
 
  fi
6188
 
else
6189
 
  RANLIB="$ac_cv_prog_RANLIB"
6190
 
fi
6191
 
 
6192
 
test -z "$RANLIB" && RANLIB=:
6193
 
 
6194
 
 
6195
 
 
6196
 
 
6197
 
 
6198
 
 
6199
 
# Determine commands to create old-style static archives.
6200
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6201
 
old_postinstall_cmds='chmod 644 $oldlib'
6202
 
old_postuninstall_cmds=
6203
 
 
6204
 
if test -n "$RANLIB"; then
6205
 
  case $host_os in
6206
 
  openbsd*)
6207
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6208
 
    ;;
6209
 
  *)
6210
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6211
 
    ;;
6212
 
  esac
6213
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6214
 
fi
6215
 
 
6216
 
 
6217
 
 
6218
 
 
6219
 
 
6220
 
 
6221
 
 
6222
 
 
6223
 
 
6224
 
 
6225
 
 
6226
 
 
6227
 
 
6228
 
 
6229
 
 
6230
 
 
6231
 
 
6232
 
 
6233
 
 
6234
 
 
6235
 
 
6236
 
 
6237
 
 
6238
 
 
6239
 
 
6240
 
 
6241
 
 
6242
 
 
6243
 
 
6244
 
 
6245
 
 
6246
 
 
6247
 
 
6248
 
 
6249
 
# If no C compiler was specified, use CC.
6250
 
LTCC=${LTCC-"$CC"}
6251
 
 
6252
 
# If no C compiler flags were specified, use CFLAGS.
6253
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6254
 
 
6255
 
# Allow CC to be a program name with arguments.
6256
 
compiler=$CC
6257
 
 
6258
 
 
6259
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6260
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6261
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6262
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6263
 
  $as_echo_n "(cached) " >&6
6264
 
else
6265
 
 
6266
 
# These are sane defaults that work on at least a few old systems.
6267
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6268
 
 
6269
 
# Character class describing NM global symbol codes.
6270
 
symcode='[BCDEGRST]'
6271
 
 
6272
 
# Regexp to match symbols that can be accessed directly from C.
6273
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6274
 
 
6275
 
# Define system-specific variables.
6276
 
case $host_os in
6277
 
aix*)
6278
 
  symcode='[BCDT]'
6279
 
  ;;
6280
 
cygwin* | mingw* | pw32* | cegcc*)
6281
 
  symcode='[ABCDGISTW]'
6282
 
  ;;
6283
 
hpux*)
6284
 
  if test "$host_cpu" = ia64; then
6285
 
    symcode='[ABCDEGRST]'
6286
 
  fi
6287
 
  ;;
6288
 
irix* | nonstopux*)
6289
 
  symcode='[BCDEGRST]'
6290
 
  ;;
6291
 
osf*)
6292
 
  symcode='[BCDEGQRST]'
6293
 
  ;;
6294
 
solaris*)
6295
 
  symcode='[BDRT]'
6296
 
  ;;
6297
 
sco3.2v5*)
6298
 
  symcode='[DT]'
6299
 
  ;;
6300
 
sysv4.2uw2*)
6301
 
  symcode='[DT]'
6302
 
  ;;
6303
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6304
 
  symcode='[ABDT]'
6305
 
  ;;
6306
 
sysv4)
6307
 
  symcode='[DFNSTU]'
6308
 
  ;;
6309
 
esac
6310
 
 
6311
 
# If we're using GNU nm, then use its standard symbol codes.
6312
 
case `$NM -V 2>&1` in
6313
 
*GNU* | *'with BFD'*)
6314
 
  symcode='[ABCDGIRSTW]' ;;
6315
 
esac
6316
 
 
6317
 
# Transform an extracted symbol line into a proper C declaration.
6318
 
# Some systems (esp. on ia64) link data and code symbols differently,
6319
 
# so use this general approach.
6320
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6321
 
 
6322
 
# Transform an extracted symbol line into symbol name and symbol address
6323
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6324
 
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'"
6325
 
 
6326
 
# Handle CRLF in mingw tool chain
6327
 
opt_cr=
6328
 
case $build_os in
6329
 
mingw*)
6330
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6331
 
  ;;
6332
 
esac
6333
 
 
6334
 
# Try without a prefix underscore, then with it.
6335
 
for ac_symprfx in "" "_"; do
6336
 
 
6337
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6338
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6339
 
 
6340
 
  # Write the raw and C identifiers.
6341
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6342
 
    # Fake it for dumpbin and say T for any non-static function
6343
 
    # and D for any global variable.
6344
 
    # Also find C++ and __fastcall symbols from MSVC++,
6345
 
    # which start with @ or ?.
6346
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6347
 
"     {last_section=section; section=\$ 3};"\
6348
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6349
 
"     \$ 0!~/External *\|/{next};"\
6350
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6351
 
"     {if(hide[section]) next};"\
6352
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6353
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6354
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6355
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6356
 
"     ' prfx=^$ac_symprfx"
6357
 
  else
6358
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6359
 
  fi
6360
 
 
6361
 
  # Check to see that the pipe works correctly.
6362
 
  pipe_works=no
6363
 
 
6364
 
  rm -f conftest*
6365
 
  cat > conftest.$ac_ext <<_LT_EOF
6366
 
#ifdef __cplusplus
6367
 
extern "C" {
6368
 
#endif
6369
 
char nm_test_var;
6370
 
void nm_test_func(void);
6371
 
void nm_test_func(void){}
6372
 
#ifdef __cplusplus
6373
 
}
6374
 
#endif
6375
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6376
 
_LT_EOF
6377
 
 
6378
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6379
 
  (eval $ac_compile) 2>&5
6380
 
  ac_status=$?
6381
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6382
 
  test $ac_status = 0; }; then
6383
 
    # Now try to grab the symbols.
6384
 
    nlist=conftest.nm
6385
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6386
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6387
 
  ac_status=$?
6388
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6389
 
  test $ac_status = 0; } && test -s "$nlist"; then
6390
 
      # Try sorting and uniquifying the output.
6391
 
      if sort "$nlist" | uniq > "$nlist"T; then
6392
 
        mv -f "$nlist"T "$nlist"
6393
 
      else
6394
 
        rm -f "$nlist"T
6395
 
      fi
6396
 
 
6397
 
      # Make sure that we snagged all the symbols we need.
6398
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6399
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6400
 
          cat <<_LT_EOF > conftest.$ac_ext
6401
 
#ifdef __cplusplus
6402
 
extern "C" {
6403
 
#endif
6404
 
 
6405
 
_LT_EOF
6406
 
          # Now generate the symbol file.
6407
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6408
 
 
6409
 
          cat <<_LT_EOF >> conftest.$ac_ext
6410
 
 
6411
 
/* The mapping between symbol names and symbols.  */
6412
 
const struct {
6413
 
  const char *name;
6414
 
  void       *address;
6415
 
}
6416
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6417
 
{
6418
 
  { "@PROGRAM@", (void *) 0 },
6419
 
_LT_EOF
6420
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6421
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6422
 
  {0, (void *) 0}
6423
 
};
6424
 
 
6425
 
/* This works around a problem in FreeBSD linker */
6426
 
#ifdef FREEBSD_WORKAROUND
6427
 
static const void *lt_preloaded_setup() {
6428
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6429
 
}
6430
 
#endif
6431
 
 
6432
 
#ifdef __cplusplus
6433
 
}
6434
 
#endif
6435
 
_LT_EOF
6436
 
          # Now try linking the two files.
6437
 
          mv conftest.$ac_objext conftstm.$ac_objext
6438
 
          lt_save_LIBS="$LIBS"
6439
 
          lt_save_CFLAGS="$CFLAGS"
6440
 
          LIBS="conftstm.$ac_objext"
6441
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6442
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6443
 
  (eval $ac_link) 2>&5
6444
 
  ac_status=$?
6445
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6446
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6447
 
            pipe_works=yes
6448
 
          fi
6449
 
          LIBS="$lt_save_LIBS"
6450
 
          CFLAGS="$lt_save_CFLAGS"
6451
 
        else
6452
 
          echo "cannot find nm_test_func in $nlist" >&5
6453
 
        fi
6454
 
      else
6455
 
        echo "cannot find nm_test_var in $nlist" >&5
6456
 
      fi
6457
 
    else
6458
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6459
 
    fi
6460
 
  else
6461
 
    echo "$progname: failed program was:" >&5
6462
 
    cat conftest.$ac_ext >&5
6463
 
  fi
6464
 
  rm -rf conftest* conftst*
6465
 
 
6466
 
  # Do not use the global_symbol_pipe unless it works.
6467
 
  if test "$pipe_works" = yes; then
6468
 
    break
6469
 
  else
6470
 
    lt_cv_sys_global_symbol_pipe=
6471
 
  fi
6472
 
done
6473
 
 
6474
 
fi
6475
 
 
6476
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6477
 
  lt_cv_sys_global_symbol_to_cdecl=
6478
 
fi
6479
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6480
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6481
 
$as_echo "failed" >&6; }
6482
 
else
6483
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6484
 
$as_echo "ok" >&6; }
6485
 
fi
6486
 
 
6487
 
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
 
 
6499
 
 
6500
 
 
6501
 
 
6502
 
 
6503
 
 
6504
 
 
6505
 
 
6506
 
 
6507
 
 
6508
 
# Check whether --enable-libtool-lock was given.
6509
 
if test "${enable_libtool_lock+set}" = set; then :
6510
 
  enableval=$enable_libtool_lock;
6511
 
fi
6512
 
 
6513
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6514
 
 
6515
 
# Some flags need to be propagated to the compiler or linker for good
6516
 
# libtool support.
6517
 
case $host in
6518
 
ia64-*-hpux*)
6519
 
  # Find out which ABI we are using.
6520
 
  echo 'int i;' > conftest.$ac_ext
6521
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6522
 
  (eval $ac_compile) 2>&5
6523
 
  ac_status=$?
6524
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6525
 
  test $ac_status = 0; }; then
6526
 
    case `/usr/bin/file conftest.$ac_objext` in
6527
 
      *ELF-32*)
6528
 
        HPUX_IA64_MODE="32"
6529
 
        ;;
6530
 
      *ELF-64*)
6531
 
        HPUX_IA64_MODE="64"
6532
 
        ;;
6533
 
    esac
6534
 
  fi
6535
 
  rm -rf conftest*
6536
 
  ;;
6537
 
*-*-irix6*)
6538
 
  # Find out which ABI we are using.
6539
 
  echo '#line 6539 "configure"' > conftest.$ac_ext
6540
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6541
 
  (eval $ac_compile) 2>&5
6542
 
  ac_status=$?
6543
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6544
 
  test $ac_status = 0; }; then
6545
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6546
 
      case `/usr/bin/file conftest.$ac_objext` in
6547
 
        *32-bit*)
6548
 
          LD="${LD-ld} -melf32bsmip"
6549
 
          ;;
6550
 
        *N32*)
6551
 
          LD="${LD-ld} -melf32bmipn32"
6552
 
          ;;
6553
 
        *64-bit*)
6554
 
          LD="${LD-ld} -melf64bmip"
6555
 
        ;;
6556
 
      esac
6557
 
    else
6558
 
      case `/usr/bin/file conftest.$ac_objext` in
6559
 
        *32-bit*)
6560
 
          LD="${LD-ld} -32"
6561
 
          ;;
6562
 
        *N32*)
6563
 
          LD="${LD-ld} -n32"
6564
 
          ;;
6565
 
        *64-bit*)
6566
 
          LD="${LD-ld} -64"
6567
 
          ;;
6568
 
      esac
6569
 
    fi
6570
 
  fi
6571
 
  rm -rf conftest*
6572
 
  ;;
6573
 
 
6574
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6575
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6576
 
  # Find out which ABI we are using.
6577
 
  echo 'int i;' > conftest.$ac_ext
6578
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6579
 
  (eval $ac_compile) 2>&5
6580
 
  ac_status=$?
6581
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6582
 
  test $ac_status = 0; }; then
6583
 
    case `/usr/bin/file conftest.o` in
6584
 
      *32-bit*)
6585
 
        case $host in
6586
 
          x86_64-*kfreebsd*-gnu)
6587
 
            LD="${LD-ld} -m elf_i386_fbsd"
6588
 
            ;;
6589
 
          x86_64-*linux*)
6590
 
            LD="${LD-ld} -m elf_i386"
6591
 
            ;;
6592
 
          ppc64-*linux*|powerpc64-*linux*)
6593
 
            LD="${LD-ld} -m elf32ppclinux"
6594
 
            ;;
6595
 
          s390x-*linux*)
6596
 
            LD="${LD-ld} -m elf_s390"
6597
 
            ;;
6598
 
          sparc64-*linux*)
6599
 
            LD="${LD-ld} -m elf32_sparc"
6600
 
            ;;
6601
 
        esac
6602
 
        ;;
6603
 
      *64-bit*)
6604
 
        case $host in
6605
 
          x86_64-*kfreebsd*-gnu)
6606
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6607
 
            ;;
6608
 
          x86_64-*linux*)
6609
 
            LD="${LD-ld} -m elf_x86_64"
6610
 
            ;;
6611
 
          ppc*-*linux*|powerpc*-*linux*)
6612
 
            LD="${LD-ld} -m elf64ppc"
6613
 
            ;;
6614
 
          s390*-*linux*|s390*-*tpf*)
6615
 
            LD="${LD-ld} -m elf64_s390"
6616
 
            ;;
6617
 
          sparc*-*linux*)
6618
 
            LD="${LD-ld} -m elf64_sparc"
6619
 
            ;;
6620
 
        esac
6621
 
        ;;
6622
 
    esac
6623
 
  fi
6624
 
  rm -rf conftest*
6625
 
  ;;
6626
 
 
6627
 
*-*-sco3.2v5*)
6628
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6629
 
  SAVE_CFLAGS="$CFLAGS"
6630
 
  CFLAGS="$CFLAGS -belf"
6631
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6632
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6633
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6634
 
  $as_echo_n "(cached) " >&6
6635
 
else
6636
 
  ac_ext=c
6637
 
ac_cpp='$CPP $CPPFLAGS'
6638
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6639
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6640
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6641
 
 
6642
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643
 
/* end confdefs.h.  */
6644
 
 
6645
 
int
6646
 
main ()
6647
 
{
6648
 
 
6649
 
  ;
6650
 
  return 0;
6651
 
}
6652
 
_ACEOF
6653
 
if ac_fn_c_try_link "$LINENO"; then :
6654
 
  lt_cv_cc_needs_belf=yes
6655
 
else
6656
 
  lt_cv_cc_needs_belf=no
6657
 
fi
6658
 
rm -f core conftest.err conftest.$ac_objext \
6659
 
    conftest$ac_exeext conftest.$ac_ext
6660
 
     ac_ext=c
6661
 
ac_cpp='$CPP $CPPFLAGS'
6662
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6663
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6664
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6665
 
 
6666
 
fi
6667
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6668
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6669
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6670
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6671
 
    CFLAGS="$SAVE_CFLAGS"
6672
 
  fi
6673
 
  ;;
6674
 
sparc*-*solaris*)
6675
 
  # Find out which ABI we are using.
6676
 
  echo 'int i;' > conftest.$ac_ext
6677
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6678
 
  (eval $ac_compile) 2>&5
6679
 
  ac_status=$?
6680
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6681
 
  test $ac_status = 0; }; then
6682
 
    case `/usr/bin/file conftest.o` in
6683
 
    *64-bit*)
6684
 
      case $lt_cv_prog_gnu_ld in
6685
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6686
 
      *)
6687
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6688
 
          LD="${LD-ld} -64"
6689
 
        fi
6690
 
        ;;
6691
 
      esac
6692
 
      ;;
6693
 
    esac
6694
 
  fi
6695
 
  rm -rf conftest*
6696
 
  ;;
6697
 
esac
6698
 
 
6699
 
need_locks="$enable_libtool_lock"
6700
 
 
6701
 
 
6702
 
  case $host_os in
6703
 
    rhapsody* | darwin*)
6704
 
    if test -n "$ac_tool_prefix"; then
6705
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6706
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6707
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708
 
$as_echo_n "checking for $ac_word... " >&6; }
6709
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6710
 
  $as_echo_n "(cached) " >&6
6711
 
else
6712
 
  if test -n "$DSYMUTIL"; then
6713
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6714
 
else
6715
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716
 
for as_dir in $PATH
6717
 
do
6718
 
  IFS=$as_save_IFS
6719
 
  test -z "$as_dir" && as_dir=.
6720
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6721
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6722
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6723
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724
 
    break 2
6725
 
  fi
6726
 
done
6727
 
  done
6728
 
IFS=$as_save_IFS
6729
 
 
6730
 
fi
6731
 
fi
6732
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6733
 
if test -n "$DSYMUTIL"; then
6734
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6735
 
$as_echo "$DSYMUTIL" >&6; }
6736
 
else
6737
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738
 
$as_echo "no" >&6; }
6739
 
fi
6740
 
 
6741
 
 
6742
 
fi
6743
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
6744
 
  ac_ct_DSYMUTIL=$DSYMUTIL
6745
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
6746
 
set dummy dsymutil; ac_word=$2
6747
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748
 
$as_echo_n "checking for $ac_word... " >&6; }
6749
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6750
 
  $as_echo_n "(cached) " >&6
6751
 
else
6752
 
  if test -n "$ac_ct_DSYMUTIL"; then
6753
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6754
 
else
6755
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756
 
for as_dir in $PATH
6757
 
do
6758
 
  IFS=$as_save_IFS
6759
 
  test -z "$as_dir" && as_dir=.
6760
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6761
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6762
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6763
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6764
 
    break 2
6765
 
  fi
6766
 
done
6767
 
  done
6768
 
IFS=$as_save_IFS
6769
 
 
6770
 
fi
6771
 
fi
6772
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6773
 
if test -n "$ac_ct_DSYMUTIL"; then
6774
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6775
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6776
 
else
6777
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6778
 
$as_echo "no" >&6; }
6779
 
fi
6780
 
 
6781
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6782
 
    DSYMUTIL=":"
6783
 
  else
6784
 
    case $cross_compiling:$ac_tool_warned in
6785
 
yes:)
6786
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6787
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6788
 
ac_tool_warned=yes ;;
6789
 
esac
6790
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6791
 
  fi
6792
 
else
6793
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6794
 
fi
6795
 
 
6796
 
    if test -n "$ac_tool_prefix"; then
6797
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6798
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6799
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800
 
$as_echo_n "checking for $ac_word... " >&6; }
6801
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6802
 
  $as_echo_n "(cached) " >&6
6803
 
else
6804
 
  if test -n "$NMEDIT"; then
6805
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6806
 
else
6807
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6808
 
for as_dir in $PATH
6809
 
do
6810
 
  IFS=$as_save_IFS
6811
 
  test -z "$as_dir" && as_dir=.
6812
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6813
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6814
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6815
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6816
 
    break 2
6817
 
  fi
6818
 
done
6819
 
  done
6820
 
IFS=$as_save_IFS
6821
 
 
6822
 
fi
6823
 
fi
6824
 
NMEDIT=$ac_cv_prog_NMEDIT
6825
 
if test -n "$NMEDIT"; then
6826
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6827
 
$as_echo "$NMEDIT" >&6; }
6828
 
else
6829
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830
 
$as_echo "no" >&6; }
6831
 
fi
6832
 
 
6833
 
 
6834
 
fi
6835
 
if test -z "$ac_cv_prog_NMEDIT"; then
6836
 
  ac_ct_NMEDIT=$NMEDIT
6837
 
  # Extract the first word of "nmedit", so it can be a program name with args.
6838
 
set dummy nmedit; ac_word=$2
6839
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6840
 
$as_echo_n "checking for $ac_word... " >&6; }
6841
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6842
 
  $as_echo_n "(cached) " >&6
6843
 
else
6844
 
  if test -n "$ac_ct_NMEDIT"; then
6845
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6846
 
else
6847
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848
 
for as_dir in $PATH
6849
 
do
6850
 
  IFS=$as_save_IFS
6851
 
  test -z "$as_dir" && as_dir=.
6852
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6853
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6854
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6855
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6856
 
    break 2
6857
 
  fi
6858
 
done
6859
 
  done
6860
 
IFS=$as_save_IFS
6861
 
 
6862
 
fi
6863
 
fi
6864
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6865
 
if test -n "$ac_ct_NMEDIT"; then
6866
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6867
 
$as_echo "$ac_ct_NMEDIT" >&6; }
6868
 
else
6869
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870
 
$as_echo "no" >&6; }
6871
 
fi
6872
 
 
6873
 
  if test "x$ac_ct_NMEDIT" = x; then
6874
 
    NMEDIT=":"
6875
 
  else
6876
 
    case $cross_compiling:$ac_tool_warned in
6877
 
yes:)
6878
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6879
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6880
 
ac_tool_warned=yes ;;
6881
 
esac
6882
 
    NMEDIT=$ac_ct_NMEDIT
6883
 
  fi
6884
 
else
6885
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6886
 
fi
6887
 
 
6888
 
    if test -n "$ac_tool_prefix"; then
6889
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6890
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6891
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892
 
$as_echo_n "checking for $ac_word... " >&6; }
6893
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
6894
 
  $as_echo_n "(cached) " >&6
6895
 
else
6896
 
  if test -n "$LIPO"; then
6897
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6898
 
else
6899
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900
 
for as_dir in $PATH
6901
 
do
6902
 
  IFS=$as_save_IFS
6903
 
  test -z "$as_dir" && as_dir=.
6904
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6905
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6906
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6907
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6908
 
    break 2
6909
 
  fi
6910
 
done
6911
 
  done
6912
 
IFS=$as_save_IFS
6913
 
 
6914
 
fi
6915
 
fi
6916
 
LIPO=$ac_cv_prog_LIPO
6917
 
if test -n "$LIPO"; then
6918
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6919
 
$as_echo "$LIPO" >&6; }
6920
 
else
6921
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6922
 
$as_echo "no" >&6; }
6923
 
fi
6924
 
 
6925
 
 
6926
 
fi
6927
 
if test -z "$ac_cv_prog_LIPO"; then
6928
 
  ac_ct_LIPO=$LIPO
6929
 
  # Extract the first word of "lipo", so it can be a program name with args.
6930
 
set dummy lipo; ac_word=$2
6931
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932
 
$as_echo_n "checking for $ac_word... " >&6; }
6933
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6934
 
  $as_echo_n "(cached) " >&6
6935
 
else
6936
 
  if test -n "$ac_ct_LIPO"; then
6937
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6938
 
else
6939
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940
 
for as_dir in $PATH
6941
 
do
6942
 
  IFS=$as_save_IFS
6943
 
  test -z "$as_dir" && as_dir=.
6944
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6945
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6946
 
    ac_cv_prog_ac_ct_LIPO="lipo"
6947
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6948
 
    break 2
6949
 
  fi
6950
 
done
6951
 
  done
6952
 
IFS=$as_save_IFS
6953
 
 
6954
 
fi
6955
 
fi
6956
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6957
 
if test -n "$ac_ct_LIPO"; then
6958
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6959
 
$as_echo "$ac_ct_LIPO" >&6; }
6960
 
else
6961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6962
 
$as_echo "no" >&6; }
6963
 
fi
6964
 
 
6965
 
  if test "x$ac_ct_LIPO" = x; then
6966
 
    LIPO=":"
6967
 
  else
6968
 
    case $cross_compiling:$ac_tool_warned in
6969
 
yes:)
6970
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6971
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6972
 
ac_tool_warned=yes ;;
6973
 
esac
6974
 
    LIPO=$ac_ct_LIPO
6975
 
  fi
6976
 
else
6977
 
  LIPO="$ac_cv_prog_LIPO"
6978
 
fi
6979
 
 
6980
 
    if test -n "$ac_tool_prefix"; then
6981
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6982
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
6983
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984
 
$as_echo_n "checking for $ac_word... " >&6; }
6985
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6986
 
  $as_echo_n "(cached) " >&6
6987
 
else
6988
 
  if test -n "$OTOOL"; then
6989
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6990
 
else
6991
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6992
 
for as_dir in $PATH
6993
 
do
6994
 
  IFS=$as_save_IFS
6995
 
  test -z "$as_dir" && as_dir=.
6996
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6997
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6998
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6999
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7000
 
    break 2
7001
 
  fi
7002
 
done
7003
 
  done
7004
 
IFS=$as_save_IFS
7005
 
 
7006
 
fi
7007
 
fi
7008
 
OTOOL=$ac_cv_prog_OTOOL
7009
 
if test -n "$OTOOL"; then
7010
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7011
 
$as_echo "$OTOOL" >&6; }
7012
 
else
7013
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014
 
$as_echo "no" >&6; }
7015
 
fi
7016
 
 
7017
 
 
7018
 
fi
7019
 
if test -z "$ac_cv_prog_OTOOL"; then
7020
 
  ac_ct_OTOOL=$OTOOL
7021
 
  # Extract the first word of "otool", so it can be a program name with args.
7022
 
set dummy otool; ac_word=$2
7023
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024
 
$as_echo_n "checking for $ac_word... " >&6; }
7025
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7026
 
  $as_echo_n "(cached) " >&6
7027
 
else
7028
 
  if test -n "$ac_ct_OTOOL"; then
7029
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7030
 
else
7031
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032
 
for as_dir in $PATH
7033
 
do
7034
 
  IFS=$as_save_IFS
7035
 
  test -z "$as_dir" && as_dir=.
7036
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7037
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7038
 
    ac_cv_prog_ac_ct_OTOOL="otool"
7039
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7040
 
    break 2
7041
 
  fi
7042
 
done
7043
 
  done
7044
 
IFS=$as_save_IFS
7045
 
 
7046
 
fi
7047
 
fi
7048
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7049
 
if test -n "$ac_ct_OTOOL"; then
7050
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7051
 
$as_echo "$ac_ct_OTOOL" >&6; }
7052
 
else
7053
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7054
 
$as_echo "no" >&6; }
7055
 
fi
7056
 
 
7057
 
  if test "x$ac_ct_OTOOL" = x; then
7058
 
    OTOOL=":"
7059
 
  else
7060
 
    case $cross_compiling:$ac_tool_warned in
7061
 
yes:)
7062
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7063
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7064
 
ac_tool_warned=yes ;;
7065
 
esac
7066
 
    OTOOL=$ac_ct_OTOOL
7067
 
  fi
7068
 
else
7069
 
  OTOOL="$ac_cv_prog_OTOOL"
7070
 
fi
7071
 
 
7072
 
    if test -n "$ac_tool_prefix"; then
7073
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7074
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7075
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076
 
$as_echo_n "checking for $ac_word... " >&6; }
7077
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7078
 
  $as_echo_n "(cached) " >&6
7079
 
else
7080
 
  if test -n "$OTOOL64"; then
7081
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7082
 
else
7083
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084
 
for as_dir in $PATH
7085
 
do
7086
 
  IFS=$as_save_IFS
7087
 
  test -z "$as_dir" && as_dir=.
7088
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7089
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7091
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092
 
    break 2
7093
 
  fi
7094
 
done
7095
 
  done
7096
 
IFS=$as_save_IFS
7097
 
 
7098
 
fi
7099
 
fi
7100
 
OTOOL64=$ac_cv_prog_OTOOL64
7101
 
if test -n "$OTOOL64"; then
7102
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7103
 
$as_echo "$OTOOL64" >&6; }
7104
 
else
7105
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106
 
$as_echo "no" >&6; }
7107
 
fi
7108
 
 
7109
 
 
7110
 
fi
7111
 
if test -z "$ac_cv_prog_OTOOL64"; then
7112
 
  ac_ct_OTOOL64=$OTOOL64
7113
 
  # Extract the first word of "otool64", so it can be a program name with args.
7114
 
set dummy otool64; ac_word=$2
7115
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116
 
$as_echo_n "checking for $ac_word... " >&6; }
7117
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7118
 
  $as_echo_n "(cached) " >&6
7119
 
else
7120
 
  if test -n "$ac_ct_OTOOL64"; then
7121
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7122
 
else
7123
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124
 
for as_dir in $PATH
7125
 
do
7126
 
  IFS=$as_save_IFS
7127
 
  test -z "$as_dir" && as_dir=.
7128
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7129
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7130
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7131
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132
 
    break 2
7133
 
  fi
7134
 
done
7135
 
  done
7136
 
IFS=$as_save_IFS
7137
 
 
7138
 
fi
7139
 
fi
7140
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7141
 
if test -n "$ac_ct_OTOOL64"; then
7142
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7143
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7144
 
else
7145
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146
 
$as_echo "no" >&6; }
7147
 
fi
7148
 
 
7149
 
  if test "x$ac_ct_OTOOL64" = x; then
7150
 
    OTOOL64=":"
7151
 
  else
7152
 
    case $cross_compiling:$ac_tool_warned in
7153
 
yes:)
7154
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7155
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7156
 
ac_tool_warned=yes ;;
7157
 
esac
7158
 
    OTOOL64=$ac_ct_OTOOL64
7159
 
  fi
7160
 
else
7161
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7162
 
fi
7163
 
 
7164
 
 
7165
 
 
7166
 
 
7167
 
 
7168
 
 
7169
 
 
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
 
 
7175
 
 
7176
 
 
7177
 
 
7178
 
 
7179
 
 
7180
 
 
7181
 
 
7182
 
 
7183
 
 
7184
 
 
7185
 
 
7186
 
 
7187
 
 
7188
 
 
7189
 
 
7190
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7191
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7192
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7193
 
  $as_echo_n "(cached) " >&6
7194
 
else
7195
 
  lt_cv_apple_cc_single_mod=no
7196
 
      if test -z "${LT_MULTI_MODULE}"; then
7197
 
        # By default we will add the -single_module flag. You can override
7198
 
        # by either setting the environment variable LT_MULTI_MODULE
7199
 
        # non-empty at configure time, or by adding -multi_module to the
7200
 
        # link flags.
7201
 
        rm -rf libconftest.dylib*
7202
 
        echo "int foo(void){return 1;}" > conftest.c
7203
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7204
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7205
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7206
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7207
 
        _lt_result=$?
7208
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7209
 
          lt_cv_apple_cc_single_mod=yes
7210
 
        else
7211
 
          cat conftest.err >&5
7212
 
        fi
7213
 
        rm -rf libconftest.dylib*
7214
 
        rm -f conftest.*
7215
 
      fi
7216
 
fi
7217
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7218
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7219
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7220
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7221
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7222
 
  $as_echo_n "(cached) " >&6
7223
 
else
7224
 
  lt_cv_ld_exported_symbols_list=no
7225
 
      save_LDFLAGS=$LDFLAGS
7226
 
      echo "_main" > conftest.sym
7227
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7228
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7229
 
/* end confdefs.h.  */
7230
 
 
7231
 
int
7232
 
main ()
7233
 
{
7234
 
 
7235
 
  ;
7236
 
  return 0;
7237
 
}
7238
 
_ACEOF
7239
 
if ac_fn_c_try_link "$LINENO"; then :
7240
 
  lt_cv_ld_exported_symbols_list=yes
7241
 
else
7242
 
  lt_cv_ld_exported_symbols_list=no
7243
 
fi
7244
 
rm -f core conftest.err conftest.$ac_objext \
7245
 
    conftest$ac_exeext conftest.$ac_ext
7246
 
        LDFLAGS="$save_LDFLAGS"
7247
 
 
7248
 
fi
7249
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7250
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7251
 
    case $host_os in
7252
 
    rhapsody* | darwin1.[012])
7253
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7254
 
    darwin1.*)
7255
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7256
 
    darwin*) # darwin 5.x on
7257
 
      # if running on 10.5 or later, the deployment target defaults
7258
 
      # to the OS version, if on x86, and 10.4, the deployment
7259
 
      # target defaults to 10.4. Don't you love it?
7260
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7261
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7262
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7263
 
        10.[012]*)
7264
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7265
 
        10.*)
7266
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7267
 
      esac
7268
 
    ;;
7269
 
  esac
7270
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7271
 
      _lt_dar_single_mod='$single_module'
7272
 
    fi
7273
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7274
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7275
 
    else
7276
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7277
 
    fi
7278
 
    if test "$DSYMUTIL" != ":"; then
7279
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7280
 
    else
7281
 
      _lt_dsymutil=
7282
 
    fi
7283
 
    ;;
7284
 
  esac
7285
 
 
7286
 
ac_ext=c
7287
 
ac_cpp='$CPP $CPPFLAGS'
7288
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7289
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7290
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7291
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7292
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7293
 
# On Suns, sometimes $CPP names a directory.
7294
 
if test -n "$CPP" && test -d "$CPP"; then
7295
 
  CPP=
7296
 
fi
7297
 
if test -z "$CPP"; then
7298
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
7299
 
  $as_echo_n "(cached) " >&6
7300
 
else
7301
 
      # Double quotes because CPP needs to be expanded
7302
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7303
 
    do
7304
 
      ac_preproc_ok=false
7305
 
for ac_c_preproc_warn_flag in '' yes
7306
 
do
7307
 
  # Use a header file that comes with gcc, so configuring glibc
7308
 
  # with a fresh cross-compiler works.
7309
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7310
 
  # <limits.h> exists even on freestanding compilers.
7311
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7312
 
  # not just through cpp. "Syntax error" is here to catch this case.
7313
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7314
 
/* end confdefs.h.  */
7315
 
#ifdef __STDC__
7316
 
# include <limits.h>
7317
 
#else
7318
 
# include <assert.h>
7319
 
#endif
7320
 
                     Syntax error
7321
 
_ACEOF
7322
 
if ac_fn_c_try_cpp "$LINENO"; then :
7323
 
 
7324
 
else
7325
 
  # Broken: fails on valid input.
7326
 
continue
7327
 
fi
7328
 
rm -f conftest.err conftest.$ac_ext
7329
 
 
7330
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7331
 
  # can be detected and how.
7332
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7333
 
/* end confdefs.h.  */
7334
 
#include <ac_nonexistent.h>
7335
 
_ACEOF
7336
 
if ac_fn_c_try_cpp "$LINENO"; then :
7337
 
  # Broken: success on invalid input.
7338
 
continue
7339
 
else
7340
 
  # Passes both tests.
7341
 
ac_preproc_ok=:
7342
 
break
7343
 
fi
7344
 
rm -f conftest.err conftest.$ac_ext
7345
 
 
7346
 
done
7347
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7348
 
rm -f conftest.err conftest.$ac_ext
7349
 
if $ac_preproc_ok; then :
7350
 
  break
7351
 
fi
7352
 
 
7353
 
    done
7354
 
    ac_cv_prog_CPP=$CPP
7355
 
 
7356
 
fi
7357
 
  CPP=$ac_cv_prog_CPP
7358
 
else
7359
 
  ac_cv_prog_CPP=$CPP
7360
 
fi
7361
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7362
 
$as_echo "$CPP" >&6; }
7363
 
ac_preproc_ok=false
7364
 
for ac_c_preproc_warn_flag in '' yes
7365
 
do
7366
 
  # Use a header file that comes with gcc, so configuring glibc
7367
 
  # with a fresh cross-compiler works.
7368
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7369
 
  # <limits.h> exists even on freestanding compilers.
7370
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7371
 
  # not just through cpp. "Syntax error" is here to catch this case.
7372
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7373
 
/* end confdefs.h.  */
7374
 
#ifdef __STDC__
7375
 
# include <limits.h>
7376
 
#else
7377
 
# include <assert.h>
7378
 
#endif
7379
 
                     Syntax error
7380
 
_ACEOF
7381
 
if ac_fn_c_try_cpp "$LINENO"; then :
7382
 
 
7383
 
else
7384
 
  # Broken: fails on valid input.
7385
 
continue
7386
 
fi
7387
 
rm -f conftest.err conftest.$ac_ext
7388
 
 
7389
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7390
 
  # can be detected and how.
7391
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7392
 
/* end confdefs.h.  */
7393
 
#include <ac_nonexistent.h>
7394
 
_ACEOF
7395
 
if ac_fn_c_try_cpp "$LINENO"; then :
7396
 
  # Broken: success on invalid input.
7397
 
continue
7398
 
else
7399
 
  # Passes both tests.
7400
 
ac_preproc_ok=:
7401
 
break
7402
 
fi
7403
 
rm -f conftest.err conftest.$ac_ext
7404
 
 
7405
 
done
7406
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7407
 
rm -f conftest.err conftest.$ac_ext
7408
 
if $ac_preproc_ok; then :
7409
 
 
7410
 
else
7411
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7412
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7413
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7414
 
See \`config.log' for more details." "$LINENO" 5; }
7415
 
fi
7416
 
 
7417
 
ac_ext=c
7418
 
ac_cpp='$CPP $CPPFLAGS'
7419
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7420
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7421
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7422
 
 
7423
 
 
7424
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7425
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7426
 
if test "${ac_cv_header_stdc+set}" = set; then :
7427
 
  $as_echo_n "(cached) " >&6
7428
 
else
7429
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7430
 
/* end confdefs.h.  */
7431
 
#include <stdlib.h>
7432
 
#include <stdarg.h>
7433
 
#include <string.h>
7434
 
#include <float.h>
7435
 
 
7436
 
int
7437
 
main ()
7438
 
{
7439
 
 
7440
 
  ;
7441
 
  return 0;
7442
 
}
7443
 
_ACEOF
7444
 
if ac_fn_c_try_compile "$LINENO"; then :
7445
 
  ac_cv_header_stdc=yes
7446
 
else
7447
 
  ac_cv_header_stdc=no
7448
 
fi
7449
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7450
 
 
7451
 
if test $ac_cv_header_stdc = yes; then
7452
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7453
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7454
 
/* end confdefs.h.  */
7455
 
#include <string.h>
7456
 
 
7457
 
_ACEOF
7458
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7459
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7460
 
 
7461
 
else
7462
 
  ac_cv_header_stdc=no
7463
 
fi
7464
 
rm -f conftest*
7465
 
 
7466
 
fi
7467
 
 
7468
 
if test $ac_cv_header_stdc = yes; then
7469
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7470
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7471
 
/* end confdefs.h.  */
7472
 
#include <stdlib.h>
7473
 
 
7474
 
_ACEOF
7475
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7476
 
  $EGREP "free" >/dev/null 2>&1; then :
7477
 
 
7478
 
else
7479
 
  ac_cv_header_stdc=no
7480
 
fi
7481
 
rm -f conftest*
7482
 
 
7483
 
fi
7484
 
 
7485
 
if test $ac_cv_header_stdc = yes; then
7486
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7487
 
  if test "$cross_compiling" = yes; then :
7488
 
  :
7489
 
else
7490
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7491
 
/* end confdefs.h.  */
7492
 
#include <ctype.h>
7493
 
#include <stdlib.h>
7494
 
#if ((' ' & 0x0FF) == 0x020)
7495
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7496
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7497
 
#else
7498
 
# define ISLOWER(c) \
7499
 
                   (('a' <= (c) && (c) <= 'i') \
7500
 
                     || ('j' <= (c) && (c) <= 'r') \
7501
 
                     || ('s' <= (c) && (c) <= 'z'))
7502
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7503
 
#endif
7504
 
 
7505
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7506
 
int
7507
 
main ()
7508
 
{
7509
 
  int i;
7510
 
  for (i = 0; i < 256; i++)
7511
 
    if (XOR (islower (i), ISLOWER (i))
7512
 
        || toupper (i) != TOUPPER (i))
7513
 
      return 2;
7514
 
  return 0;
7515
 
}
7516
 
_ACEOF
7517
 
if ac_fn_c_try_run "$LINENO"; then :
7518
 
 
7519
 
else
7520
 
  ac_cv_header_stdc=no
7521
 
fi
7522
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7523
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7524
 
fi
7525
 
 
7526
 
fi
7527
 
fi
7528
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7529
 
$as_echo "$ac_cv_header_stdc" >&6; }
7530
 
if test $ac_cv_header_stdc = yes; then
7531
 
 
7532
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7533
 
 
7534
 
fi
7535
 
 
7536
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7537
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7538
 
                  inttypes.h stdint.h unistd.h
7539
 
do :
7540
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7541
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7542
 
"
7543
 
eval as_val=\$$as_ac_Header
7544
 
   if test "x$as_val" = x""yes; then :
7545
 
  cat >>confdefs.h <<_ACEOF
7546
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7547
 
_ACEOF
7548
 
 
7549
 
fi
7550
 
 
7551
 
done
7552
 
 
7553
 
 
7554
 
for ac_header in dlfcn.h
7555
 
do :
7556
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7557
 
"
7558
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7559
 
  cat >>confdefs.h <<_ACEOF
7560
 
#define HAVE_DLFCN_H 1
7561
 
_ACEOF
7562
 
 
7563
 
fi
7564
 
 
7565
 
done
7566
 
 
7567
 
 
7568
 
 
7569
 
# Set options
7570
 
 
7571
 
 
7572
 
 
7573
 
        enable_dlopen=no
7574
 
 
7575
 
 
7576
 
  enable_win32_dll=no
7577
 
 
7578
 
 
7579
 
            # Check whether --enable-shared was given.
7580
 
if test "${enable_shared+set}" = set; then :
7581
 
  enableval=$enable_shared; p=${PACKAGE-default}
7582
 
    case $enableval in
7583
 
    yes) enable_shared=yes ;;
7584
 
    no) enable_shared=no ;;
7585
 
    *)
7586
 
      enable_shared=no
7587
 
      # Look at the argument we got.  We use all the common list separators.
7588
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7589
 
      for pkg in $enableval; do
7590
 
        IFS="$lt_save_ifs"
7591
 
        if test "X$pkg" = "X$p"; then
7592
 
          enable_shared=yes
7593
 
        fi
7594
 
      done
7595
 
      IFS="$lt_save_ifs"
7596
 
      ;;
7597
 
    esac
7598
 
else
7599
 
  enable_shared=yes
7600
 
fi
7601
 
 
7602
 
 
7603
 
 
7604
 
 
7605
 
 
7606
 
 
7607
 
 
7608
 
 
7609
 
 
7610
 
  # Check whether --enable-static was given.
7611
 
if test "${enable_static+set}" = set; then :
7612
 
  enableval=$enable_static; p=${PACKAGE-default}
7613
 
    case $enableval in
7614
 
    yes) enable_static=yes ;;
7615
 
    no) enable_static=no ;;
7616
 
    *)
7617
 
     enable_static=no
7618
 
      # Look at the argument we got.  We use all the common list separators.
7619
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7620
 
      for pkg in $enableval; do
7621
 
        IFS="$lt_save_ifs"
7622
 
        if test "X$pkg" = "X$p"; then
7623
 
          enable_static=yes
7624
 
        fi
7625
 
      done
7626
 
      IFS="$lt_save_ifs"
7627
 
      ;;
7628
 
    esac
7629
 
else
7630
 
  enable_static=yes
7631
 
fi
7632
 
 
7633
 
 
7634
 
 
7635
 
 
7636
 
 
7637
 
 
7638
 
 
7639
 
 
7640
 
 
7641
 
 
7642
 
# Check whether --with-pic was given.
7643
 
if test "${with_pic+set}" = set; then :
7644
 
  withval=$with_pic; pic_mode="$withval"
7645
 
else
7646
 
  pic_mode=default
7647
 
fi
7648
 
 
7649
 
 
7650
 
test -z "$pic_mode" && pic_mode=default
7651
 
 
7652
 
 
7653
 
 
7654
 
 
7655
 
 
7656
 
 
7657
 
 
7658
 
  # Check whether --enable-fast-install was given.
7659
 
if test "${enable_fast_install+set}" = set; then :
7660
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7661
 
    case $enableval in
7662
 
    yes) enable_fast_install=yes ;;
7663
 
    no) enable_fast_install=no ;;
7664
 
    *)
7665
 
      enable_fast_install=no
7666
 
      # Look at the argument we got.  We use all the common list separators.
7667
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7668
 
      for pkg in $enableval; do
7669
 
        IFS="$lt_save_ifs"
7670
 
        if test "X$pkg" = "X$p"; then
7671
 
          enable_fast_install=yes
7672
 
        fi
7673
 
      done
7674
 
      IFS="$lt_save_ifs"
7675
 
      ;;
7676
 
    esac
7677
 
else
7678
 
  enable_fast_install=yes
7679
 
fi
7680
 
 
7681
 
 
7682
 
 
7683
 
 
7684
 
 
7685
 
 
7686
 
 
7687
 
 
7688
 
 
7689
 
 
7690
 
 
7691
 
# This can be used to rebuild libtool when needed
7692
 
LIBTOOL_DEPS="$ltmain"
7693
 
 
7694
 
# Always use our own libtool.
7695
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7696
 
 
7697
 
 
7698
 
 
7699
 
 
7700
 
 
7701
 
 
7702
 
 
7703
 
 
7704
 
 
7705
 
 
7706
 
 
7707
 
 
7708
 
 
7709
 
 
7710
 
 
7711
 
 
7712
 
 
7713
 
 
7714
 
 
7715
 
 
7716
 
 
7717
 
 
7718
 
 
7719
 
 
7720
 
 
7721
 
test -z "$LN_S" && LN_S="ln -s"
7722
 
 
7723
 
 
7724
 
 
7725
 
 
7726
 
 
7727
 
 
7728
 
 
7729
 
 
7730
 
 
7731
 
 
7732
 
 
7733
 
 
7734
 
 
7735
 
 
7736
 
if test -n "${ZSH_VERSION+set}" ; then
7737
 
   setopt NO_GLOB_SUBST
7738
 
fi
7739
 
 
7740
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7741
 
$as_echo_n "checking for objdir... " >&6; }
7742
 
if test "${lt_cv_objdir+set}" = set; then :
7743
 
  $as_echo_n "(cached) " >&6
7744
 
else
7745
 
  rm -f .libs 2>/dev/null
7746
 
mkdir .libs 2>/dev/null
7747
 
if test -d .libs; then
7748
 
  lt_cv_objdir=.libs
7749
 
else
7750
 
  # MS-DOS does not allow filenames that begin with a dot.
7751
 
  lt_cv_objdir=_libs
7752
 
fi
7753
 
rmdir .libs 2>/dev/null
7754
 
fi
7755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7756
 
$as_echo "$lt_cv_objdir" >&6; }
7757
 
objdir=$lt_cv_objdir
7758
 
 
7759
 
 
7760
 
 
7761
 
 
7762
 
 
7763
 
cat >>confdefs.h <<_ACEOF
7764
 
#define LT_OBJDIR "$lt_cv_objdir/"
7765
 
_ACEOF
7766
 
 
7767
 
 
7768
 
 
7769
 
 
7770
 
 
7771
 
 
7772
 
 
7773
 
 
7774
 
 
7775
 
 
7776
 
 
7777
 
 
7778
 
 
7779
 
 
7780
 
 
7781
 
 
7782
 
 
7783
 
case $host_os in
7784
 
aix3*)
7785
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7786
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7787
 
  # vanish in a puff of smoke.
7788
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7789
 
    COLLECT_NAMES=
7790
 
    export COLLECT_NAMES
7791
 
  fi
7792
 
  ;;
7793
 
esac
7794
 
 
7795
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7796
 
# metacharacters that are still active within double-quoted strings.
7797
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7798
 
 
7799
 
# Same as above, but do not quote variable references.
7800
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7801
 
 
7802
 
# Sed substitution to delay expansion of an escaped shell variable in a
7803
 
# double_quote_subst'ed string.
7804
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7805
 
 
7806
 
# Sed substitution to delay expansion of an escaped single quote.
7807
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7808
 
 
7809
 
# Sed substitution to avoid accidental globbing in evaled expressions
7810
 
no_glob_subst='s/\*/\\\*/g'
7811
 
 
7812
 
# Global variables:
7813
 
ofile=libtool
7814
 
can_build_shared=yes
7815
 
 
7816
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7817
 
# which needs '.lib').
7818
 
libext=a
7819
 
 
7820
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7821
 
 
7822
 
old_CC="$CC"
7823
 
old_CFLAGS="$CFLAGS"
7824
 
 
7825
 
# Set sane defaults for various variables
7826
 
test -z "$CC" && CC=cc
7827
 
test -z "$LTCC" && LTCC=$CC
7828
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7829
 
test -z "$LD" && LD=ld
7830
 
test -z "$ac_objext" && ac_objext=o
7831
 
 
7832
 
for cc_temp in $compiler""; do
7833
 
  case $cc_temp in
7834
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7835
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7836
 
    \-*) ;;
7837
 
    *) break;;
7838
 
  esac
7839
 
done
7840
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7841
 
 
7842
 
 
7843
 
# Only perform the check for file, if the check method requires it
7844
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7845
 
case $deplibs_check_method in
7846
 
file_magic*)
7847
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7848
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7849
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7850
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7851
 
  $as_echo_n "(cached) " >&6
7852
 
else
7853
 
  case $MAGIC_CMD in
7854
 
[\\/*] |  ?:[\\/]*)
7855
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7856
 
  ;;
7857
 
*)
7858
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7859
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7860
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7861
 
  for ac_dir in $ac_dummy; do
7862
 
    IFS="$lt_save_ifs"
7863
 
    test -z "$ac_dir" && ac_dir=.
7864
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7865
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7866
 
      if test -n "$file_magic_test_file"; then
7867
 
        case $deplibs_check_method in
7868
 
        "file_magic "*)
7869
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7870
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7871
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7872
 
            $EGREP "$file_magic_regex" > /dev/null; then
7873
 
            :
7874
 
          else
7875
 
            cat <<_LT_EOF 1>&2
7876
 
 
7877
 
*** Warning: the command libtool uses to detect shared libraries,
7878
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7879
 
*** The result is that libtool may fail to recognize shared libraries
7880
 
*** as such.  This will affect the creation of libtool libraries that
7881
 
*** depend on shared libraries, but programs linked with such libtool
7882
 
*** libraries will work regardless of this problem.  Nevertheless, you
7883
 
*** may want to report the problem to your system manager and/or to
7884
 
*** bug-libtool@gnu.org
7885
 
 
7886
 
_LT_EOF
7887
 
          fi ;;
7888
 
        esac
7889
 
      fi
7890
 
      break
7891
 
    fi
7892
 
  done
7893
 
  IFS="$lt_save_ifs"
7894
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7895
 
  ;;
7896
 
esac
7897
 
fi
7898
 
 
7899
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7900
 
if test -n "$MAGIC_CMD"; then
7901
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7902
 
$as_echo "$MAGIC_CMD" >&6; }
7903
 
else
7904
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905
 
$as_echo "no" >&6; }
7906
 
fi
7907
 
 
7908
 
 
7909
 
 
7910
 
 
7911
 
 
7912
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7913
 
  if test -n "$ac_tool_prefix"; then
7914
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7915
 
$as_echo_n "checking for file... " >&6; }
7916
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7917
 
  $as_echo_n "(cached) " >&6
7918
 
else
7919
 
  case $MAGIC_CMD in
7920
 
[\\/*] |  ?:[\\/]*)
7921
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7922
 
  ;;
7923
 
*)
7924
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7925
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7926
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7927
 
  for ac_dir in $ac_dummy; do
7928
 
    IFS="$lt_save_ifs"
7929
 
    test -z "$ac_dir" && ac_dir=.
7930
 
    if test -f $ac_dir/file; then
7931
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7932
 
      if test -n "$file_magic_test_file"; then
7933
 
        case $deplibs_check_method in
7934
 
        "file_magic "*)
7935
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7936
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7937
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7938
 
            $EGREP "$file_magic_regex" > /dev/null; then
7939
 
            :
7940
 
          else
7941
 
            cat <<_LT_EOF 1>&2
7942
 
 
7943
 
*** Warning: the command libtool uses to detect shared libraries,
7944
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7945
 
*** The result is that libtool may fail to recognize shared libraries
7946
 
*** as such.  This will affect the creation of libtool libraries that
7947
 
*** depend on shared libraries, but programs linked with such libtool
7948
 
*** libraries will work regardless of this problem.  Nevertheless, you
7949
 
*** may want to report the problem to your system manager and/or to
7950
 
*** bug-libtool@gnu.org
7951
 
 
7952
 
_LT_EOF
7953
 
          fi ;;
7954
 
        esac
7955
 
      fi
7956
 
      break
7957
 
    fi
7958
 
  done
7959
 
  IFS="$lt_save_ifs"
7960
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7961
 
  ;;
7962
 
esac
7963
 
fi
7964
 
 
7965
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7966
 
if test -n "$MAGIC_CMD"; then
7967
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7968
 
$as_echo "$MAGIC_CMD" >&6; }
7969
 
else
7970
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971
 
$as_echo "no" >&6; }
7972
 
fi
7973
 
 
7974
 
 
7975
 
  else
7976
 
    MAGIC_CMD=:
7977
 
  fi
7978
 
fi
7979
 
 
7980
 
  fi
7981
 
  ;;
7982
 
esac
7983
 
 
7984
 
# Use C for the default configuration in the libtool script
7985
 
 
7986
 
lt_save_CC="$CC"
7987
 
ac_ext=c
7988
 
ac_cpp='$CPP $CPPFLAGS'
7989
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7990
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7991
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7992
 
 
7993
 
 
7994
 
# Source file extension for C test sources.
7995
 
ac_ext=c
7996
 
 
7997
 
# Object file extension for compiled C test sources.
7998
 
objext=o
7999
 
objext=$objext
8000
 
 
8001
 
# Code to be used in simple compile tests
8002
 
lt_simple_compile_test_code="int some_variable = 0;"
8003
 
 
8004
 
# Code to be used in simple link tests
8005
 
lt_simple_link_test_code='int main(){return(0);}'
8006
 
 
8007
 
 
8008
 
 
8009
 
 
8010
 
 
8011
 
 
8012
 
 
8013
 
# If no C compiler was specified, use CC.
8014
 
LTCC=${LTCC-"$CC"}
8015
 
 
8016
 
# If no C compiler flags were specified, use CFLAGS.
8017
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8018
 
 
8019
 
# Allow CC to be a program name with arguments.
8020
 
compiler=$CC
8021
 
 
8022
 
# Save the default compiler, since it gets overwritten when the other
8023
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8024
 
compiler_DEFAULT=$CC
8025
 
 
8026
 
# save warnings/boilerplate of simple test code
8027
 
ac_outfile=conftest.$ac_objext
8028
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8029
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8030
 
_lt_compiler_boilerplate=`cat conftest.err`
8031
 
$RM conftest*
8032
 
 
8033
 
ac_outfile=conftest.$ac_objext
8034
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8035
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8036
 
_lt_linker_boilerplate=`cat conftest.err`
8037
 
$RM -r conftest*
8038
 
 
8039
 
 
8040
 
if test -n "$compiler"; then
8041
 
 
8042
 
lt_prog_compiler_no_builtin_flag=
8043
 
 
8044
 
if test "$GCC" = yes; then
8045
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8046
 
 
8047
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8048
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8049
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8050
 
  $as_echo_n "(cached) " >&6
8051
 
else
8052
 
  lt_cv_prog_compiler_rtti_exceptions=no
8053
 
   ac_outfile=conftest.$ac_objext
8054
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8055
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8056
 
   # Insert the option either (1) after the last *FLAGS variable, or
8057
 
   # (2) before a word containing "conftest.", or (3) at the end.
8058
 
   # Note that $ac_compile itself does not contain backslashes and begins
8059
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8060
 
   # The option is referenced via a variable to avoid confusing sed.
8061
 
   lt_compile=`echo "$ac_compile" | $SED \
8062
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8063
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8064
 
   -e 's:$: $lt_compiler_flag:'`
8065
 
   (eval echo "\"\$as_me:8065: $lt_compile\"" >&5)
8066
 
   (eval "$lt_compile" 2>conftest.err)
8067
 
   ac_status=$?
8068
 
   cat conftest.err >&5
8069
 
   echo "$as_me:8069: \$? = $ac_status" >&5
8070
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8071
 
     # The compiler can only warn and ignore the option if not recognized
8072
 
     # So say no if there are warnings other than the usual output.
8073
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8074
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8075
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8076
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8077
 
     fi
8078
 
   fi
8079
 
   $RM conftest*
8080
 
 
8081
 
fi
8082
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8083
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8084
 
 
8085
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8086
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8087
 
else
8088
 
    :
8089
 
fi
8090
 
 
8091
 
fi
8092
 
 
8093
 
 
8094
 
 
8095
 
 
8096
 
 
8097
 
 
8098
 
  lt_prog_compiler_wl=
8099
 
lt_prog_compiler_pic=
8100
 
lt_prog_compiler_static=
8101
 
 
8102
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8103
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8104
 
 
8105
 
  if test "$GCC" = yes; then
8106
 
    lt_prog_compiler_wl='-Wl,'
8107
 
    lt_prog_compiler_static='-static'
8108
 
 
8109
 
    case $host_os in
8110
 
      aix*)
8111
 
      # All AIX code is PIC.
8112
 
      if test "$host_cpu" = ia64; then
8113
 
        # AIX 5 now supports IA64 processor
8114
 
        lt_prog_compiler_static='-Bstatic'
8115
 
      fi
8116
 
      ;;
8117
 
 
8118
 
    amigaos*)
8119
 
      case $host_cpu in
8120
 
      powerpc)
8121
 
            # see comment about AmigaOS4 .so support
8122
 
            lt_prog_compiler_pic='-fPIC'
8123
 
        ;;
8124
 
      m68k)
8125
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8126
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8127
 
            # like `-m68040'.
8128
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8129
 
        ;;
8130
 
      esac
8131
 
      ;;
8132
 
 
8133
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8134
 
      # PIC is the default for these OSes.
8135
 
      ;;
8136
 
 
8137
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8138
 
      # This hack is so that the source file can tell whether it is being
8139
 
      # built for inclusion in a dll (and should export symbols for example).
8140
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8141
 
      # (--disable-auto-import) libraries
8142
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8143
 
      ;;
8144
 
 
8145
 
    darwin* | rhapsody*)
8146
 
      # PIC is the default on this platform
8147
 
      # Common symbols not allowed in MH_DYLIB files
8148
 
      lt_prog_compiler_pic='-fno-common'
8149
 
      ;;
8150
 
 
8151
 
    hpux*)
8152
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8153
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8154
 
      # sets the default TLS model and affects inlining.
8155
 
      case $host_cpu in
8156
 
      hppa*64*)
8157
 
        # +Z the default
8158
 
        ;;
8159
 
      *)
8160
 
        lt_prog_compiler_pic='-fPIC'
8161
 
        ;;
8162
 
      esac
8163
 
      ;;
8164
 
 
8165
 
    interix[3-9]*)
8166
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8167
 
      # Instead, we relocate shared libraries at runtime.
8168
 
      ;;
8169
 
 
8170
 
    msdosdjgpp*)
8171
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8172
 
      # on systems that don't support them.
8173
 
      lt_prog_compiler_can_build_shared=no
8174
 
      enable_shared=no
8175
 
      ;;
8176
 
 
8177
 
    *nto* | *qnx*)
8178
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8179
 
      # it will coredump.
8180
 
      lt_prog_compiler_pic='-fPIC -shared'
8181
 
      ;;
8182
 
 
8183
 
    sysv4*MP*)
8184
 
      if test -d /usr/nec; then
8185
 
        lt_prog_compiler_pic=-Kconform_pic
8186
 
      fi
8187
 
      ;;
8188
 
 
8189
 
    *)
8190
 
      lt_prog_compiler_pic='-fPIC'
8191
 
      ;;
8192
 
    esac
8193
 
  else
8194
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8195
 
    case $host_os in
8196
 
    aix*)
8197
 
      lt_prog_compiler_wl='-Wl,'
8198
 
      if test "$host_cpu" = ia64; then
8199
 
        # AIX 5 now supports IA64 processor
8200
 
        lt_prog_compiler_static='-Bstatic'
8201
 
      else
8202
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8203
 
      fi
8204
 
      ;;
8205
 
 
8206
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8207
 
      # This hack is so that the source file can tell whether it is being
8208
 
      # built for inclusion in a dll (and should export symbols for example).
8209
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8210
 
      ;;
8211
 
 
8212
 
    hpux9* | hpux10* | hpux11*)
8213
 
      lt_prog_compiler_wl='-Wl,'
8214
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8215
 
      # not for PA HP-UX.
8216
 
      case $host_cpu in
8217
 
      hppa*64*|ia64*)
8218
 
        # +Z the default
8219
 
        ;;
8220
 
      *)
8221
 
        lt_prog_compiler_pic='+Z'
8222
 
        ;;
8223
 
      esac
8224
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8225
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8226
 
      ;;
8227
 
 
8228
 
    irix5* | irix6* | nonstopux*)
8229
 
      lt_prog_compiler_wl='-Wl,'
8230
 
      # PIC (with -KPIC) is the default.
8231
 
      lt_prog_compiler_static='-non_shared'
8232
 
      ;;
8233
 
 
8234
 
    linux* | k*bsd*-gnu)
8235
 
      case $cc_basename in
8236
 
      # old Intel for x86_64 which still supported -KPIC.
8237
 
      ecc*)
8238
 
        lt_prog_compiler_wl='-Wl,'
8239
 
        lt_prog_compiler_pic='-KPIC'
8240
 
        lt_prog_compiler_static='-static'
8241
 
        ;;
8242
 
      # icc used to be incompatible with GCC.
8243
 
      # ICC 10 doesn't accept -KPIC any more.
8244
 
      icc* | ifort*)
8245
 
        lt_prog_compiler_wl='-Wl,'
8246
 
        lt_prog_compiler_pic='-fPIC'
8247
 
        lt_prog_compiler_static='-static'
8248
 
        ;;
8249
 
      # Lahey Fortran 8.1.
8250
 
      lf95*)
8251
 
        lt_prog_compiler_wl='-Wl,'
8252
 
        lt_prog_compiler_pic='--shared'
8253
 
        lt_prog_compiler_static='--static'
8254
 
        ;;
8255
 
      pgcc* | pgf77* | pgf90* | pgf95*)
8256
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8257
 
        # which looks to be a dead project)
8258
 
        lt_prog_compiler_wl='-Wl,'
8259
 
        lt_prog_compiler_pic='-fpic'
8260
 
        lt_prog_compiler_static='-Bstatic'
8261
 
        ;;
8262
 
      ccc*)
8263
 
        lt_prog_compiler_wl='-Wl,'
8264
 
        # All Alpha code is PIC.
8265
 
        lt_prog_compiler_static='-non_shared'
8266
 
        ;;
8267
 
      xl*)
8268
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
8269
 
        lt_prog_compiler_wl='-Wl,'
8270
 
        lt_prog_compiler_pic='-qpic'
8271
 
        lt_prog_compiler_static='-qstaticlink'
8272
 
        ;;
8273
 
      *)
8274
 
        case `$CC -V 2>&1 | sed 5q` in
8275
 
        *Sun\ C*)
8276
 
          # Sun C 5.9
8277
 
          lt_prog_compiler_pic='-KPIC'
8278
 
          lt_prog_compiler_static='-Bstatic'
8279
 
          lt_prog_compiler_wl='-Wl,'
8280
 
          ;;
8281
 
        *Sun\ F*)
8282
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8283
 
          lt_prog_compiler_pic='-KPIC'
8284
 
          lt_prog_compiler_static='-Bstatic'
8285
 
          lt_prog_compiler_wl=''
8286
 
          ;;
8287
 
        esac
8288
 
        ;;
8289
 
      esac
8290
 
      ;;
8291
 
 
8292
 
    newsos6)
8293
 
      lt_prog_compiler_pic='-KPIC'
8294
 
      lt_prog_compiler_static='-Bstatic'
8295
 
      ;;
8296
 
 
8297
 
    *nto* | *qnx*)
8298
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8299
 
      # it will coredump.
8300
 
      lt_prog_compiler_pic='-fPIC -shared'
8301
 
      ;;
8302
 
 
8303
 
    osf3* | osf4* | osf5*)
8304
 
      lt_prog_compiler_wl='-Wl,'
8305
 
      # All OSF/1 code is PIC.
8306
 
      lt_prog_compiler_static='-non_shared'
8307
 
      ;;
8308
 
 
8309
 
    rdos*)
8310
 
      lt_prog_compiler_static='-non_shared'
8311
 
      ;;
8312
 
 
8313
 
    solaris*)
8314
 
      lt_prog_compiler_pic='-KPIC'
8315
 
      lt_prog_compiler_static='-Bstatic'
8316
 
      case $cc_basename in
8317
 
      f77* | f90* | f95*)
8318
 
        lt_prog_compiler_wl='-Qoption ld ';;
8319
 
      *)
8320
 
        lt_prog_compiler_wl='-Wl,';;
8321
 
      esac
8322
 
      ;;
8323
 
 
8324
 
    sunos4*)
8325
 
      lt_prog_compiler_wl='-Qoption ld '
8326
 
      lt_prog_compiler_pic='-PIC'
8327
 
      lt_prog_compiler_static='-Bstatic'
8328
 
      ;;
8329
 
 
8330
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8331
 
      lt_prog_compiler_wl='-Wl,'
8332
 
      lt_prog_compiler_pic='-KPIC'
8333
 
      lt_prog_compiler_static='-Bstatic'
8334
 
      ;;
8335
 
 
8336
 
    sysv4*MP*)
8337
 
      if test -d /usr/nec ;then
8338
 
        lt_prog_compiler_pic='-Kconform_pic'
8339
 
        lt_prog_compiler_static='-Bstatic'
8340
 
      fi
8341
 
      ;;
8342
 
 
8343
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8344
 
      lt_prog_compiler_wl='-Wl,'
8345
 
      lt_prog_compiler_pic='-KPIC'
8346
 
      lt_prog_compiler_static='-Bstatic'
8347
 
      ;;
8348
 
 
8349
 
    unicos*)
8350
 
      lt_prog_compiler_wl='-Wl,'
8351
 
      lt_prog_compiler_can_build_shared=no
8352
 
      ;;
8353
 
 
8354
 
    uts4*)
8355
 
      lt_prog_compiler_pic='-pic'
8356
 
      lt_prog_compiler_static='-Bstatic'
8357
 
      ;;
8358
 
 
8359
 
    *)
8360
 
      lt_prog_compiler_can_build_shared=no
8361
 
      ;;
8362
 
    esac
8363
 
  fi
8364
 
 
8365
 
case $host_os in
8366
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8367
 
  *djgpp*)
8368
 
    lt_prog_compiler_pic=
8369
 
    ;;
8370
 
  *)
8371
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8372
 
    ;;
8373
 
esac
8374
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8375
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8376
 
 
8377
 
 
8378
 
 
8379
 
 
8380
 
 
8381
 
 
8382
 
#
8383
 
# Check to make sure the PIC flag actually works.
8384
 
#
8385
 
if test -n "$lt_prog_compiler_pic"; then
8386
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8387
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8388
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8389
 
  $as_echo_n "(cached) " >&6
8390
 
else
8391
 
  lt_cv_prog_compiler_pic_works=no
8392
 
   ac_outfile=conftest.$ac_objext
8393
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8394
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8395
 
   # Insert the option either (1) after the last *FLAGS variable, or
8396
 
   # (2) before a word containing "conftest.", or (3) at the end.
8397
 
   # Note that $ac_compile itself does not contain backslashes and begins
8398
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8399
 
   # The option is referenced via a variable to avoid confusing sed.
8400
 
   lt_compile=`echo "$ac_compile" | $SED \
8401
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8402
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8403
 
   -e 's:$: $lt_compiler_flag:'`
8404
 
   (eval echo "\"\$as_me:8404: $lt_compile\"" >&5)
8405
 
   (eval "$lt_compile" 2>conftest.err)
8406
 
   ac_status=$?
8407
 
   cat conftest.err >&5
8408
 
   echo "$as_me:8408: \$? = $ac_status" >&5
8409
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8410
 
     # The compiler can only warn and ignore the option if not recognized
8411
 
     # So say no if there are warnings other than the usual output.
8412
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8413
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8414
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8415
 
       lt_cv_prog_compiler_pic_works=yes
8416
 
     fi
8417
 
   fi
8418
 
   $RM conftest*
8419
 
 
8420
 
fi
8421
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8422
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8423
 
 
8424
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8425
 
    case $lt_prog_compiler_pic in
8426
 
     "" | " "*) ;;
8427
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8428
 
     esac
8429
 
else
8430
 
    lt_prog_compiler_pic=
8431
 
     lt_prog_compiler_can_build_shared=no
8432
 
fi
8433
 
 
8434
 
fi
8435
 
 
8436
 
 
8437
 
 
8438
 
 
8439
 
 
8440
 
 
8441
 
#
8442
 
# Check to make sure the static flag actually works.
8443
 
#
8444
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8445
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8446
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8447
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8448
 
  $as_echo_n "(cached) " >&6
8449
 
else
8450
 
  lt_cv_prog_compiler_static_works=no
8451
 
   save_LDFLAGS="$LDFLAGS"
8452
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8453
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8454
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8455
 
     # The linker can only warn and ignore the option if not recognized
8456
 
     # So say no if there are warnings
8457
 
     if test -s conftest.err; then
8458
 
       # Append any errors to the config.log.
8459
 
       cat conftest.err 1>&5
8460
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8461
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8462
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8463
 
         lt_cv_prog_compiler_static_works=yes
8464
 
       fi
8465
 
     else
8466
 
       lt_cv_prog_compiler_static_works=yes
8467
 
     fi
8468
 
   fi
8469
 
   $RM -r conftest*
8470
 
   LDFLAGS="$save_LDFLAGS"
8471
 
 
8472
 
fi
8473
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8474
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8475
 
 
8476
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8477
 
    :
8478
 
else
8479
 
    lt_prog_compiler_static=
8480
 
fi
8481
 
 
8482
 
 
8483
 
 
8484
 
 
8485
 
 
8486
 
 
8487
 
 
8488
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8489
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8490
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8491
 
  $as_echo_n "(cached) " >&6
8492
 
else
8493
 
  lt_cv_prog_compiler_c_o=no
8494
 
   $RM -r conftest 2>/dev/null
8495
 
   mkdir conftest
8496
 
   cd conftest
8497
 
   mkdir out
8498
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8499
 
 
8500
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8501
 
   # Insert the option either (1) after the last *FLAGS variable, or
8502
 
   # (2) before a word containing "conftest.", or (3) at the end.
8503
 
   # Note that $ac_compile itself does not contain backslashes and begins
8504
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8505
 
   lt_compile=`echo "$ac_compile" | $SED \
8506
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8507
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8508
 
   -e 's:$: $lt_compiler_flag:'`
8509
 
   (eval echo "\"\$as_me:8509: $lt_compile\"" >&5)
8510
 
   (eval "$lt_compile" 2>out/conftest.err)
8511
 
   ac_status=$?
8512
 
   cat out/conftest.err >&5
8513
 
   echo "$as_me:8513: \$? = $ac_status" >&5
8514
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8515
 
   then
8516
 
     # The compiler can only warn and ignore the option if not recognized
8517
 
     # So say no if there are warnings
8518
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8519
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8520
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8521
 
       lt_cv_prog_compiler_c_o=yes
8522
 
     fi
8523
 
   fi
8524
 
   chmod u+w . 2>&5
8525
 
   $RM conftest*
8526
 
   # SGI C++ compiler will create directory out/ii_files/ for
8527
 
   # template instantiation
8528
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8529
 
   $RM out/* && rmdir out
8530
 
   cd ..
8531
 
   $RM -r conftest
8532
 
   $RM conftest*
8533
 
 
8534
 
fi
8535
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8536
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8537
 
 
8538
 
 
8539
 
 
8540
 
 
8541
 
 
8542
 
 
8543
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8544
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8545
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8546
 
  $as_echo_n "(cached) " >&6
8547
 
else
8548
 
  lt_cv_prog_compiler_c_o=no
8549
 
   $RM -r conftest 2>/dev/null
8550
 
   mkdir conftest
8551
 
   cd conftest
8552
 
   mkdir out
8553
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8554
 
 
8555
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8556
 
   # Insert the option either (1) after the last *FLAGS variable, or
8557
 
   # (2) before a word containing "conftest.", or (3) at the end.
8558
 
   # Note that $ac_compile itself does not contain backslashes and begins
8559
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8560
 
   lt_compile=`echo "$ac_compile" | $SED \
8561
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8562
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8563
 
   -e 's:$: $lt_compiler_flag:'`
8564
 
   (eval echo "\"\$as_me:8564: $lt_compile\"" >&5)
8565
 
   (eval "$lt_compile" 2>out/conftest.err)
8566
 
   ac_status=$?
8567
 
   cat out/conftest.err >&5
8568
 
   echo "$as_me:8568: \$? = $ac_status" >&5
8569
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8570
 
   then
8571
 
     # The compiler can only warn and ignore the option if not recognized
8572
 
     # So say no if there are warnings
8573
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8574
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8575
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8576
 
       lt_cv_prog_compiler_c_o=yes
8577
 
     fi
8578
 
   fi
8579
 
   chmod u+w . 2>&5
8580
 
   $RM conftest*
8581
 
   # SGI C++ compiler will create directory out/ii_files/ for
8582
 
   # template instantiation
8583
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8584
 
   $RM out/* && rmdir out
8585
 
   cd ..
8586
 
   $RM -r conftest
8587
 
   $RM conftest*
8588
 
 
8589
 
fi
8590
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8591
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8592
 
 
8593
 
 
8594
 
 
8595
 
 
8596
 
hard_links="nottested"
8597
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8598
 
  # do not overwrite the value of need_locks provided by the user
8599
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8600
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
8601
 
  hard_links=yes
8602
 
  $RM conftest*
8603
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8604
 
  touch conftest.a
8605
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8606
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8607
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8608
 
$as_echo "$hard_links" >&6; }
8609
 
  if test "$hard_links" = no; then
8610
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8611
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8612
 
    need_locks=warn
8613
 
  fi
8614
 
else
8615
 
  need_locks=no
8616
 
fi
8617
 
 
8618
 
 
8619
 
 
8620
 
 
8621
 
 
8622
 
 
8623
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8624
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8625
 
 
8626
 
  runpath_var=
8627
 
  allow_undefined_flag=
8628
 
  always_export_symbols=no
8629
 
  archive_cmds=
8630
 
  archive_expsym_cmds=
8631
 
  compiler_needs_object=no
8632
 
  enable_shared_with_static_runtimes=no
8633
 
  export_dynamic_flag_spec=
8634
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8635
 
  hardcode_automatic=no
8636
 
  hardcode_direct=no
8637
 
  hardcode_direct_absolute=no
8638
 
  hardcode_libdir_flag_spec=
8639
 
  hardcode_libdir_flag_spec_ld=
8640
 
  hardcode_libdir_separator=
8641
 
  hardcode_minus_L=no
8642
 
  hardcode_shlibpath_var=unsupported
8643
 
  inherit_rpath=no
8644
 
  link_all_deplibs=unknown
8645
 
  module_cmds=
8646
 
  module_expsym_cmds=
8647
 
  old_archive_from_new_cmds=
8648
 
  old_archive_from_expsyms_cmds=
8649
 
  thread_safe_flag_spec=
8650
 
  whole_archive_flag_spec=
8651
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8652
 
  # included in the symbol list
8653
 
  include_expsyms=
8654
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8655
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8656
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8657
 
  # as well as any symbol that contains `d'.
8658
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8659
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8660
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8661
 
  # the symbol is explicitly referenced.  Since portable code cannot
8662
 
  # rely on this symbol name, it's probably fine to never include it in
8663
 
  # preloaded symbol tables.
8664
 
  # Exclude shared library initialization/finalization symbols.
8665
 
  extract_expsyms_cmds=
8666
 
 
8667
 
  case $host_os in
8668
 
  cygwin* | mingw* | pw32* | cegcc*)
8669
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8670
 
    # When not using gcc, we currently assume that we are using
8671
 
    # Microsoft Visual C++.
8672
 
    if test "$GCC" != yes; then
8673
 
      with_gnu_ld=no
8674
 
    fi
8675
 
    ;;
8676
 
  interix*)
8677
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8678
 
    with_gnu_ld=yes
8679
 
    ;;
8680
 
  openbsd*)
8681
 
    with_gnu_ld=no
8682
 
    ;;
8683
 
  linux* | k*bsd*-gnu)
8684
 
    link_all_deplibs=no
8685
 
    ;;
8686
 
  esac
8687
 
 
8688
 
  ld_shlibs=yes
8689
 
  if test "$with_gnu_ld" = yes; then
8690
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8691
 
    wlarc='${wl}'
8692
 
 
8693
 
    # Set some defaults for GNU ld with shared library support. These
8694
 
    # are reset later if shared libraries are not supported. Putting them
8695
 
    # here allows them to be overridden if necessary.
8696
 
    runpath_var=LD_RUN_PATH
8697
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8698
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8699
 
    # ancient GNU ld didn't support --whole-archive et. al.
8700
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8701
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8702
 
    else
8703
 
      whole_archive_flag_spec=
8704
 
    fi
8705
 
    supports_anon_versioning=no
8706
 
    case `$LD -v 2>&1` in
8707
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8708
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8709
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8710
 
      *\ 2.11.*) ;; # other 2.11 versions
8711
 
      *) supports_anon_versioning=yes ;;
8712
 
    esac
8713
 
 
8714
 
    # See if GNU ld supports shared libraries.
8715
 
    case $host_os in
8716
 
    aix[3-9]*)
8717
 
      # On AIX/PPC, the GNU linker is very broken
8718
 
      if test "$host_cpu" != ia64; then
8719
 
        ld_shlibs=no
8720
 
        cat <<_LT_EOF 1>&2
8721
 
 
8722
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8723
 
*** to be unable to reliably create shared libraries on AIX.
8724
 
*** Therefore, libtool is disabling shared libraries support.  If you
8725
 
*** really care for shared libraries, you may want to modify your PATH
8726
 
*** so that a non-GNU linker is found, and then restart.
8727
 
 
8728
 
_LT_EOF
8729
 
      fi
8730
 
      ;;
8731
 
 
8732
 
    amigaos*)
8733
 
      case $host_cpu in
8734
 
      powerpc)
8735
 
            # see comment about AmigaOS4 .so support
8736
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8737
 
            archive_expsym_cmds=''
8738
 
        ;;
8739
 
      m68k)
8740
 
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8741
 
            hardcode_libdir_flag_spec='-L$libdir'
8742
 
            hardcode_minus_L=yes
8743
 
        ;;
8744
 
      esac
8745
 
      ;;
8746
 
 
8747
 
    beos*)
8748
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8749
 
        allow_undefined_flag=unsupported
8750
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8751
 
        # support --undefined.  This deserves some investigation.  FIXME
8752
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8753
 
      else
8754
 
        ld_shlibs=no
8755
 
      fi
8756
 
      ;;
8757
 
 
8758
 
    cygwin* | mingw* | pw32* | cegcc*)
8759
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8760
 
      # as there is no search path for DLLs.
8761
 
      hardcode_libdir_flag_spec='-L$libdir'
8762
 
      allow_undefined_flag=unsupported
8763
 
      always_export_symbols=no
8764
 
      enable_shared_with_static_runtimes=yes
8765
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8766
 
 
8767
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8768
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8769
 
        # If the export-symbols file already is a .def file (1st line
8770
 
        # is EXPORTS), use it as is; otherwise, prepend...
8771
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8772
 
          cp $export_symbols $output_objdir/$soname.def;
8773
 
        else
8774
 
          echo EXPORTS > $output_objdir/$soname.def;
8775
 
          cat $export_symbols >> $output_objdir/$soname.def;
8776
 
        fi~
8777
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8778
 
      else
8779
 
        ld_shlibs=no
8780
 
      fi
8781
 
      ;;
8782
 
 
8783
 
    interix[3-9]*)
8784
 
      hardcode_direct=no
8785
 
      hardcode_shlibpath_var=no
8786
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8787
 
      export_dynamic_flag_spec='${wl}-E'
8788
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8789
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8790
 
      # default) and relocated if they conflict, which is a slow very memory
8791
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8792
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8793
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8794
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8795
 
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8796
 
      ;;
8797
 
 
8798
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
8799
 
      tmp_diet=no
8800
 
      if test "$host_os" = linux-dietlibc; then
8801
 
        case $cc_basename in
8802
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8803
 
        esac
8804
 
      fi
8805
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8806
 
         && test "$tmp_diet" = no
8807
 
      then
8808
 
        tmp_addflag=
8809
 
        tmp_sharedflag='-shared'
8810
 
        case $cc_basename,$host_cpu in
8811
 
        pgcc*)                          # Portland Group C compiler
8812
 
          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'
8813
 
          tmp_addflag=' $pic_flag'
8814
 
          ;;
8815
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8816
 
          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'
8817
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8818
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8819
 
          tmp_addflag=' -i_dynamic' ;;
8820
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8821
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8822
 
        ifc* | ifort*)                  # Intel Fortran compiler
8823
 
          tmp_addflag=' -nofor_main' ;;
8824
 
        lf95*)                          # Lahey Fortran 8.1
8825
 
          whole_archive_flag_spec=
8826
 
          tmp_sharedflag='--shared' ;;
8827
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8828
 
          tmp_sharedflag='-qmkshrobj'
8829
 
          tmp_addflag= ;;
8830
 
        esac
8831
 
        case `$CC -V 2>&1 | sed 5q` in
8832
 
        *Sun\ C*)                       # Sun C 5.9
8833
 
          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'
8834
 
          compiler_needs_object=yes
8835
 
          tmp_sharedflag='-G' ;;
8836
 
        *Sun\ F*)                       # Sun Fortran 8.3
8837
 
          tmp_sharedflag='-G' ;;
8838
 
        esac
8839
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8840
 
 
8841
 
        if test "x$supports_anon_versioning" = xyes; then
8842
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8843
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8844
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
8845
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8846
 
        fi
8847
 
 
8848
 
        case $cc_basename in
8849
 
        xlf*)
8850
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8851
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8852
 
          hardcode_libdir_flag_spec=
8853
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8854
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8855
 
          if test "x$supports_anon_versioning" = xyes; then
8856
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8857
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8858
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
8859
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8860
 
          fi
8861
 
          ;;
8862
 
        esac
8863
 
      else
8864
 
        ld_shlibs=no
8865
 
      fi
8866
 
      ;;
8867
 
 
8868
 
    netbsd* | netbsdelf*-gnu)
8869
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8870
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8871
 
        wlarc=
8872
 
      else
8873
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8874
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8875
 
      fi
8876
 
      ;;
8877
 
 
8878
 
    solaris*)
8879
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8880
 
        ld_shlibs=no
8881
 
        cat <<_LT_EOF 1>&2
8882
 
 
8883
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8884
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8885
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8886
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8887
 
*** your PATH or compiler configuration so that the native linker is
8888
 
*** used, and then restart.
8889
 
 
8890
 
_LT_EOF
8891
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8892
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8893
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8894
 
      else
8895
 
        ld_shlibs=no
8896
 
      fi
8897
 
      ;;
8898
 
 
8899
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8900
 
      case `$LD -v 2>&1` in
8901
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8902
 
        ld_shlibs=no
8903
 
        cat <<_LT_EOF 1>&2
8904
 
 
8905
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8906
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8907
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8908
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8909
 
*** your PATH or compiler configuration so that the native linker is
8910
 
*** used, and then restart.
8911
 
 
8912
 
_LT_EOF
8913
 
        ;;
8914
 
        *)
8915
 
          # For security reasons, it is highly recommended that you always
8916
 
          # use absolute paths for naming shared libraries, and exclude the
8917
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
8918
 
          # requires that you compile everything twice, which is a pain.
8919
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8920
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8921
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8922
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8923
 
          else
8924
 
            ld_shlibs=no
8925
 
          fi
8926
 
        ;;
8927
 
      esac
8928
 
      ;;
8929
 
 
8930
 
    sunos4*)
8931
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8932
 
      wlarc=
8933
 
      hardcode_direct=yes
8934
 
      hardcode_shlibpath_var=no
8935
 
      ;;
8936
 
 
8937
 
    *)
8938
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8939
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8940
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8941
 
      else
8942
 
        ld_shlibs=no
8943
 
      fi
8944
 
      ;;
8945
 
    esac
8946
 
 
8947
 
    if test "$ld_shlibs" = no; then
8948
 
      runpath_var=
8949
 
      hardcode_libdir_flag_spec=
8950
 
      export_dynamic_flag_spec=
8951
 
      whole_archive_flag_spec=
8952
 
    fi
8953
 
  else
8954
 
    # PORTME fill in a description of your system's linker (not GNU ld)
8955
 
    case $host_os in
8956
 
    aix3*)
8957
 
      allow_undefined_flag=unsupported
8958
 
      always_export_symbols=yes
8959
 
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8960
 
      # Note: this linker hardcodes the directories in LIBPATH if there
8961
 
      # are no directories specified by -L.
8962
 
      hardcode_minus_L=yes
8963
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8964
 
        # Neither direct hardcoding nor static linking is supported with a
8965
 
        # broken collect2.
8966
 
        hardcode_direct=unsupported
8967
 
      fi
8968
 
      ;;
8969
 
 
8970
 
    aix[4-9]*)
8971
 
      if test "$host_cpu" = ia64; then
8972
 
        # On IA64, the linker does run time linking by default, so we don't
8973
 
        # have to do anything special.
8974
 
        aix_use_runtimelinking=no
8975
 
        exp_sym_flag='-Bexport'
8976
 
        no_entry_flag=""
8977
 
      else
8978
 
        # If we're using GNU nm, then we don't want the "-C" option.
8979
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8980
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8981
 
          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'
8982
 
        else
8983
 
          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'
8984
 
        fi
8985
 
        aix_use_runtimelinking=no
8986
 
 
8987
 
        # Test if we are trying to use run time linking or normal
8988
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8989
 
        # need to do runtime linking.
8990
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8991
 
          for ld_flag in $LDFLAGS; do
8992
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8993
 
            aix_use_runtimelinking=yes
8994
 
            break
8995
 
          fi
8996
 
          done
8997
 
          ;;
8998
 
        esac
8999
 
 
9000
 
        exp_sym_flag='-bexport'
9001
 
        no_entry_flag='-bnoentry'
9002
 
      fi
9003
 
 
9004
 
      # When large executables or shared objects are built, AIX ld can
9005
 
      # have problems creating the table of contents.  If linking a library
9006
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9007
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9008
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9009
 
 
9010
 
      archive_cmds=''
9011
 
      hardcode_direct=yes
9012
 
      hardcode_direct_absolute=yes
9013
 
      hardcode_libdir_separator=':'
9014
 
      link_all_deplibs=yes
9015
 
      file_list_spec='${wl}-f,'
9016
 
 
9017
 
      if test "$GCC" = yes; then
9018
 
        case $host_os in aix4.[012]|aix4.[012].*)
9019
 
        # We only want to do this on AIX 4.2 and lower, the check
9020
 
        # below for broken collect2 doesn't work under 4.3+
9021
 
          collect2name=`${CC} -print-prog-name=collect2`
9022
 
          if test -f "$collect2name" &&
9023
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9024
 
          then
9025
 
          # We have reworked collect2
9026
 
          :
9027
 
          else
9028
 
          # We have old collect2
9029
 
          hardcode_direct=unsupported
9030
 
          # It fails to find uninstalled libraries when the uninstalled
9031
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9032
 
          # to unsupported forces relinking
9033
 
          hardcode_minus_L=yes
9034
 
          hardcode_libdir_flag_spec='-L$libdir'
9035
 
          hardcode_libdir_separator=
9036
 
          fi
9037
 
          ;;
9038
 
        esac
9039
 
        shared_flag='-shared'
9040
 
        if test "$aix_use_runtimelinking" = yes; then
9041
 
          shared_flag="$shared_flag "'${wl}-G'
9042
 
        fi
9043
 
        link_all_deplibs=no
9044
 
      else
9045
 
        # not using gcc
9046
 
        if test "$host_cpu" = ia64; then
9047
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9048
 
        # chokes on -Wl,-G. The following line is correct:
9049
 
          shared_flag='-G'
9050
 
        else
9051
 
          if test "$aix_use_runtimelinking" = yes; then
9052
 
            shared_flag='${wl}-G'
9053
 
          else
9054
 
            shared_flag='${wl}-bM:SRE'
9055
 
          fi
9056
 
        fi
9057
 
      fi
9058
 
 
9059
 
      export_dynamic_flag_spec='${wl}-bexpall'
9060
 
      # It seems that -bexpall does not export symbols beginning with
9061
 
      # underscore (_), so it is better to generate a list of symbols to export.
9062
 
      always_export_symbols=yes
9063
 
      if test "$aix_use_runtimelinking" = yes; then
9064
 
        # Warning - without using the other runtime loading flags (-brtl),
9065
 
        # -berok will link without error, but may produce a broken library.
9066
 
        allow_undefined_flag='-berok'
9067
 
        # Determine the default libpath from the value encoded in an
9068
 
        # empty executable.
9069
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9070
 
/* end confdefs.h.  */
9071
 
 
9072
 
int
9073
 
main ()
9074
 
{
9075
 
 
9076
 
  ;
9077
 
  return 0;
9078
 
}
9079
 
_ACEOF
9080
 
if ac_fn_c_try_link "$LINENO"; then :
9081
 
 
9082
 
lt_aix_libpath_sed='
9083
 
    /Import File Strings/,/^$/ {
9084
 
        /^0/ {
9085
 
            s/^0  *\(.*\)$/\1/
9086
 
            p
9087
 
        }
9088
 
    }'
9089
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9090
 
# Check for a 64-bit object if we didn't find anything.
9091
 
if test -z "$aix_libpath"; then
9092
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9093
 
fi
9094
 
fi
9095
 
rm -f core conftest.err conftest.$ac_objext \
9096
 
    conftest$ac_exeext conftest.$ac_ext
9097
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9098
 
 
9099
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9100
 
        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"
9101
 
      else
9102
 
        if test "$host_cpu" = ia64; then
9103
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9104
 
          allow_undefined_flag="-z nodefs"
9105
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9106
 
        else
9107
 
         # Determine the default libpath from the value encoded in an
9108
 
         # empty executable.
9109
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9110
 
/* end confdefs.h.  */
9111
 
 
9112
 
int
9113
 
main ()
9114
 
{
9115
 
 
9116
 
  ;
9117
 
  return 0;
9118
 
}
9119
 
_ACEOF
9120
 
if ac_fn_c_try_link "$LINENO"; then :
9121
 
 
9122
 
lt_aix_libpath_sed='
9123
 
    /Import File Strings/,/^$/ {
9124
 
        /^0/ {
9125
 
            s/^0  *\(.*\)$/\1/
9126
 
            p
9127
 
        }
9128
 
    }'
9129
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9130
 
# Check for a 64-bit object if we didn't find anything.
9131
 
if test -z "$aix_libpath"; then
9132
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9133
 
fi
9134
 
fi
9135
 
rm -f core conftest.err conftest.$ac_objext \
9136
 
    conftest$ac_exeext conftest.$ac_ext
9137
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9138
 
 
9139
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9140
 
          # Warning - without using the other run time loading flags,
9141
 
          # -berok will link without error, but may produce a broken library.
9142
 
          no_undefined_flag=' ${wl}-bernotok'
9143
 
          allow_undefined_flag=' ${wl}-berok'
9144
 
          # Exported symbols can be pulled into shared objects from archives
9145
 
          whole_archive_flag_spec='$convenience'
9146
 
          archive_cmds_need_lc=yes
9147
 
          # This is similar to how AIX traditionally builds its shared libraries.
9148
 
          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'
9149
 
        fi
9150
 
      fi
9151
 
      ;;
9152
 
 
9153
 
    amigaos*)
9154
 
      case $host_cpu in
9155
 
      powerpc)
9156
 
            # see comment about AmigaOS4 .so support
9157
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9158
 
            archive_expsym_cmds=''
9159
 
        ;;
9160
 
      m68k)
9161
 
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9162
 
            hardcode_libdir_flag_spec='-L$libdir'
9163
 
            hardcode_minus_L=yes
9164
 
        ;;
9165
 
      esac
9166
 
      ;;
9167
 
 
9168
 
    bsdi[45]*)
9169
 
      export_dynamic_flag_spec=-rdynamic
9170
 
      ;;
9171
 
 
9172
 
    cygwin* | mingw* | pw32* | cegcc*)
9173
 
      # When not using gcc, we currently assume that we are using
9174
 
      # Microsoft Visual C++.
9175
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9176
 
      # no search path for DLLs.
9177
 
      hardcode_libdir_flag_spec=' '
9178
 
      allow_undefined_flag=unsupported
9179
 
      # Tell ltmain to make .lib files, not .a files.
9180
 
      libext=lib
9181
 
      # Tell ltmain to make .dll files, not .so files.
9182
 
      shrext_cmds=".dll"
9183
 
      # FIXME: Setting linknames here is a bad hack.
9184
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9185
 
      # The linker will automatically build a .lib file if we build a DLL.
9186
 
      old_archive_from_new_cmds='true'
9187
 
      # FIXME: Should let the user specify the lib program.
9188
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9189
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9190
 
      enable_shared_with_static_runtimes=yes
9191
 
      ;;
9192
 
 
9193
 
    darwin* | rhapsody*)
9194
 
 
9195
 
 
9196
 
  archive_cmds_need_lc=no
9197
 
  hardcode_direct=no
9198
 
  hardcode_automatic=yes
9199
 
  hardcode_shlibpath_var=unsupported
9200
 
  whole_archive_flag_spec=''
9201
 
  link_all_deplibs=yes
9202
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9203
 
  case $cc_basename in
9204
 
     ifort*) _lt_dar_can_shared=yes ;;
9205
 
     *) _lt_dar_can_shared=$GCC ;;
9206
 
  esac
9207
 
  if test "$_lt_dar_can_shared" = "yes"; then
9208
 
    output_verbose_link_cmd=echo
9209
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9210
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9211
 
    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}"
9212
 
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9213
 
 
9214
 
  else
9215
 
  ld_shlibs=no
9216
 
  fi
9217
 
 
9218
 
      ;;
9219
 
 
9220
 
    dgux*)
9221
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9222
 
      hardcode_libdir_flag_spec='-L$libdir'
9223
 
      hardcode_shlibpath_var=no
9224
 
      ;;
9225
 
 
9226
 
    freebsd1*)
9227
 
      ld_shlibs=no
9228
 
      ;;
9229
 
 
9230
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9231
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9232
 
    # does not break anything, and helps significantly (at the cost of a little
9233
 
    # extra space).
9234
 
    freebsd2.2*)
9235
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9236
 
      hardcode_libdir_flag_spec='-R$libdir'
9237
 
      hardcode_direct=yes
9238
 
      hardcode_shlibpath_var=no
9239
 
      ;;
9240
 
 
9241
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9242
 
    freebsd2*)
9243
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9244
 
      hardcode_direct=yes
9245
 
      hardcode_minus_L=yes
9246
 
      hardcode_shlibpath_var=no
9247
 
      ;;
9248
 
 
9249
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9250
 
    freebsd* | dragonfly*)
9251
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9252
 
      hardcode_libdir_flag_spec='-R$libdir'
9253
 
      hardcode_direct=yes
9254
 
      hardcode_shlibpath_var=no
9255
 
      ;;
9256
 
 
9257
 
    hpux9*)
9258
 
      if test "$GCC" = yes; then
9259
 
        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'
9260
 
      else
9261
 
        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'
9262
 
      fi
9263
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9264
 
      hardcode_libdir_separator=:
9265
 
      hardcode_direct=yes
9266
 
 
9267
 
      # hardcode_minus_L: Not really in the search PATH,
9268
 
      # but as the default location of the library.
9269
 
      hardcode_minus_L=yes
9270
 
      export_dynamic_flag_spec='${wl}-E'
9271
 
      ;;
9272
 
 
9273
 
    hpux10*)
9274
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9275
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9276
 
      else
9277
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9278
 
      fi
9279
 
      if test "$with_gnu_ld" = no; then
9280
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9281
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
9282
 
        hardcode_libdir_separator=:
9283
 
        hardcode_direct=yes
9284
 
        hardcode_direct_absolute=yes
9285
 
        export_dynamic_flag_spec='${wl}-E'
9286
 
        # hardcode_minus_L: Not really in the search PATH,
9287
 
        # but as the default location of the library.
9288
 
        hardcode_minus_L=yes
9289
 
      fi
9290
 
      ;;
9291
 
 
9292
 
    hpux11*)
9293
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9294
 
        case $host_cpu in
9295
 
        hppa*64*)
9296
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9297
 
          ;;
9298
 
        ia64*)
9299
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9300
 
          ;;
9301
 
        *)
9302
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9303
 
          ;;
9304
 
        esac
9305
 
      else
9306
 
        case $host_cpu in
9307
 
        hppa*64*)
9308
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9309
 
          ;;
9310
 
        ia64*)
9311
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9312
 
          ;;
9313
 
        *)
9314
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9315
 
          ;;
9316
 
        esac
9317
 
      fi
9318
 
      if test "$with_gnu_ld" = no; then
9319
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9320
 
        hardcode_libdir_separator=:
9321
 
 
9322
 
        case $host_cpu in
9323
 
        hppa*64*|ia64*)
9324
 
          hardcode_direct=no
9325
 
          hardcode_shlibpath_var=no
9326
 
          ;;
9327
 
        *)
9328
 
          hardcode_direct=yes
9329
 
          hardcode_direct_absolute=yes
9330
 
          export_dynamic_flag_spec='${wl}-E'
9331
 
 
9332
 
          # hardcode_minus_L: Not really in the search PATH,
9333
 
          # but as the default location of the library.
9334
 
          hardcode_minus_L=yes
9335
 
          ;;
9336
 
        esac
9337
 
      fi
9338
 
      ;;
9339
 
 
9340
 
    irix5* | irix6* | nonstopux*)
9341
 
      if test "$GCC" = yes; then
9342
 
        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'
9343
 
        # Try to use the -exported_symbol ld option, if it does not
9344
 
        # work, assume that -exports_file does not work either and
9345
 
        # implicitly export all symbols.
9346
 
        save_LDFLAGS="$LDFLAGS"
9347
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9348
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349
 
/* end confdefs.h.  */
9350
 
int foo(void) {}
9351
 
_ACEOF
9352
 
if ac_fn_c_try_link "$LINENO"; then :
9353
 
  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'
9354
 
 
9355
 
fi
9356
 
rm -f core conftest.err conftest.$ac_objext \
9357
 
    conftest$ac_exeext conftest.$ac_ext
9358
 
        LDFLAGS="$save_LDFLAGS"
9359
 
      else
9360
 
        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'
9361
 
        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'
9362
 
      fi
9363
 
      archive_cmds_need_lc='no'
9364
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9365
 
      hardcode_libdir_separator=:
9366
 
      inherit_rpath=yes
9367
 
      link_all_deplibs=yes
9368
 
      ;;
9369
 
 
9370
 
    netbsd* | netbsdelf*-gnu)
9371
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9372
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9373
 
      else
9374
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9375
 
      fi
9376
 
      hardcode_libdir_flag_spec='-R$libdir'
9377
 
      hardcode_direct=yes
9378
 
      hardcode_shlibpath_var=no
9379
 
      ;;
9380
 
 
9381
 
    newsos6)
9382
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9383
 
      hardcode_direct=yes
9384
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9385
 
      hardcode_libdir_separator=:
9386
 
      hardcode_shlibpath_var=no
9387
 
      ;;
9388
 
 
9389
 
    *nto* | *qnx*)
9390
 
      ;;
9391
 
 
9392
 
    openbsd*)
9393
 
      if test -f /usr/libexec/ld.so; then
9394
 
        hardcode_direct=yes
9395
 
        hardcode_shlibpath_var=no
9396
 
        hardcode_direct_absolute=yes
9397
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9398
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9399
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9400
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9401
 
          export_dynamic_flag_spec='${wl}-E'
9402
 
        else
9403
 
          case $host_os in
9404
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9405
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9406
 
             hardcode_libdir_flag_spec='-R$libdir'
9407
 
             ;;
9408
 
           *)
9409
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9410
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9411
 
             ;;
9412
 
          esac
9413
 
        fi
9414
 
      else
9415
 
        ld_shlibs=no
9416
 
      fi
9417
 
      ;;
9418
 
 
9419
 
    os2*)
9420
 
      hardcode_libdir_flag_spec='-L$libdir'
9421
 
      hardcode_minus_L=yes
9422
 
      allow_undefined_flag=unsupported
9423
 
      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'
9424
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9425
 
      ;;
9426
 
 
9427
 
    osf3*)
9428
 
      if test "$GCC" = yes; then
9429
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9430
 
        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'
9431
 
      else
9432
 
        allow_undefined_flag=' -expect_unresolved \*'
9433
 
        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'
9434
 
      fi
9435
 
      archive_cmds_need_lc='no'
9436
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9437
 
      hardcode_libdir_separator=:
9438
 
      ;;
9439
 
 
9440
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9441
 
      if test "$GCC" = yes; then
9442
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9443
 
        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'
9444
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9445
 
      else
9446
 
        allow_undefined_flag=' -expect_unresolved \*'
9447
 
        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'
9448
 
        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~
9449
 
        $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'
9450
 
 
9451
 
        # Both c and cxx compiler support -rpath directly
9452
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9453
 
      fi
9454
 
      archive_cmds_need_lc='no'
9455
 
      hardcode_libdir_separator=:
9456
 
      ;;
9457
 
 
9458
 
    solaris*)
9459
 
      no_undefined_flag=' -z defs'
9460
 
      if test "$GCC" = yes; then
9461
 
        wlarc='${wl}'
9462
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9463
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9464
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9465
 
      else
9466
 
        case `$CC -V 2>&1` in
9467
 
        *"Compilers 5.0"*)
9468
 
          wlarc=''
9469
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9470
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9471
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9472
 
          ;;
9473
 
        *)
9474
 
          wlarc='${wl}'
9475
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9476
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9477
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9478
 
          ;;
9479
 
        esac
9480
 
      fi
9481
 
      hardcode_libdir_flag_spec='-R$libdir'
9482
 
      hardcode_shlibpath_var=no
9483
 
      case $host_os in
9484
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9485
 
      *)
9486
 
        # The compiler driver will combine and reorder linker options,
9487
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9488
 
        # but is careful enough not to reorder.
9489
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9490
 
        if test "$GCC" = yes; then
9491
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9492
 
        else
9493
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9494
 
        fi
9495
 
        ;;
9496
 
      esac
9497
 
      link_all_deplibs=yes
9498
 
      ;;
9499
 
 
9500
 
    sunos4*)
9501
 
      if test "x$host_vendor" = xsequent; then
9502
 
        # Use $CC to link under sequent, because it throws in some extra .o
9503
 
        # files that make .init and .fini sections work.
9504
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9505
 
      else
9506
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9507
 
      fi
9508
 
      hardcode_libdir_flag_spec='-L$libdir'
9509
 
      hardcode_direct=yes
9510
 
      hardcode_minus_L=yes
9511
 
      hardcode_shlibpath_var=no
9512
 
      ;;
9513
 
 
9514
 
    sysv4)
9515
 
      case $host_vendor in
9516
 
        sni)
9517
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9518
 
          hardcode_direct=yes # is this really true???
9519
 
        ;;
9520
 
        siemens)
9521
 
          ## LD is ld it makes a PLAMLIB
9522
 
          ## CC just makes a GrossModule.
9523
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9524
 
          reload_cmds='$CC -r -o $output$reload_objs'
9525
 
          hardcode_direct=no
9526
 
        ;;
9527
 
        motorola)
9528
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9529
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9530
 
        ;;
9531
 
      esac
9532
 
      runpath_var='LD_RUN_PATH'
9533
 
      hardcode_shlibpath_var=no
9534
 
      ;;
9535
 
 
9536
 
    sysv4.3*)
9537
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9538
 
      hardcode_shlibpath_var=no
9539
 
      export_dynamic_flag_spec='-Bexport'
9540
 
      ;;
9541
 
 
9542
 
    sysv4*MP*)
9543
 
      if test -d /usr/nec; then
9544
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9545
 
        hardcode_shlibpath_var=no
9546
 
        runpath_var=LD_RUN_PATH
9547
 
        hardcode_runpath_var=yes
9548
 
        ld_shlibs=yes
9549
 
      fi
9550
 
      ;;
9551
 
 
9552
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9553
 
      no_undefined_flag='${wl}-z,text'
9554
 
      archive_cmds_need_lc=no
9555
 
      hardcode_shlibpath_var=no
9556
 
      runpath_var='LD_RUN_PATH'
9557
 
 
9558
 
      if test "$GCC" = yes; then
9559
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9560
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9561
 
      else
9562
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9563
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9564
 
      fi
9565
 
      ;;
9566
 
 
9567
 
    sysv5* | sco3.2v5* | sco5v6*)
9568
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9569
 
      # link with -lc, and that would cause any symbols used from libc to
9570
 
      # always be unresolved, which means just about no library would
9571
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9572
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9573
 
      # as -z defs.
9574
 
      no_undefined_flag='${wl}-z,text'
9575
 
      allow_undefined_flag='${wl}-z,nodefs'
9576
 
      archive_cmds_need_lc=no
9577
 
      hardcode_shlibpath_var=no
9578
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9579
 
      hardcode_libdir_separator=':'
9580
 
      link_all_deplibs=yes
9581
 
      export_dynamic_flag_spec='${wl}-Bexport'
9582
 
      runpath_var='LD_RUN_PATH'
9583
 
 
9584
 
      if test "$GCC" = yes; then
9585
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9586
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9587
 
      else
9588
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9589
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9590
 
      fi
9591
 
      ;;
9592
 
 
9593
 
    uts4*)
9594
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9595
 
      hardcode_libdir_flag_spec='-L$libdir'
9596
 
      hardcode_shlibpath_var=no
9597
 
      ;;
9598
 
 
9599
 
    *)
9600
 
      ld_shlibs=no
9601
 
      ;;
9602
 
    esac
9603
 
 
9604
 
    if test x$host_vendor = xsni; then
9605
 
      case $host in
9606
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9607
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
9608
 
        ;;
9609
 
      esac
9610
 
    fi
9611
 
  fi
9612
 
 
9613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9614
 
$as_echo "$ld_shlibs" >&6; }
9615
 
test "$ld_shlibs" = no && can_build_shared=no
9616
 
 
9617
 
with_gnu_ld=$with_gnu_ld
9618
 
 
9619
 
 
9620
 
 
9621
 
 
9622
 
 
9623
 
 
9624
 
 
9625
 
 
9626
 
 
9627
 
 
9628
 
 
9629
 
 
9630
 
 
9631
 
 
9632
 
 
9633
 
#
9634
 
# Do we need to explicitly link libc?
9635
 
#
9636
 
case "x$archive_cmds_need_lc" in
9637
 
x|xyes)
9638
 
  # Assume -lc should be added
9639
 
  archive_cmds_need_lc=yes
9640
 
 
9641
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9642
 
    case $archive_cmds in
9643
 
    *'~'*)
9644
 
      # FIXME: we may have to deal with multi-command sequences.
9645
 
      ;;
9646
 
    '$CC '*)
9647
 
      # Test whether the compiler implicitly links with -lc since on some
9648
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9649
 
      # to ld, don't add -lc before -lgcc.
9650
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9651
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9652
 
      $RM conftest*
9653
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9654
 
 
9655
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9656
 
  (eval $ac_compile) 2>&5
9657
 
  ac_status=$?
9658
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9659
 
  test $ac_status = 0; } 2>conftest.err; then
9660
 
        soname=conftest
9661
 
        lib=conftest
9662
 
        libobjs=conftest.$ac_objext
9663
 
        deplibs=
9664
 
        wl=$lt_prog_compiler_wl
9665
 
        pic_flag=$lt_prog_compiler_pic
9666
 
        compiler_flags=-v
9667
 
        linker_flags=-v
9668
 
        verstring=
9669
 
        output_objdir=.
9670
 
        libname=conftest
9671
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9672
 
        allow_undefined_flag=
9673
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9674
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9675
 
  ac_status=$?
9676
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9677
 
  test $ac_status = 0; }
9678
 
        then
9679
 
          archive_cmds_need_lc=no
9680
 
        else
9681
 
          archive_cmds_need_lc=yes
9682
 
        fi
9683
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9684
 
      else
9685
 
        cat conftest.err 1>&5
9686
 
      fi
9687
 
      $RM conftest*
9688
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9689
 
$as_echo "$archive_cmds_need_lc" >&6; }
9690
 
      ;;
9691
 
    esac
9692
 
  fi
9693
 
  ;;
9694
 
esac
9695
 
 
9696
 
 
9697
 
 
9698
 
 
9699
 
 
9700
 
 
9701
 
 
9702
 
 
9703
 
 
9704
 
 
9705
 
 
9706
 
 
9707
 
 
9708
 
 
9709
 
 
9710
 
 
9711
 
 
9712
 
 
9713
 
 
9714
 
 
9715
 
 
9716
 
 
9717
 
 
9718
 
 
9719
 
 
9720
 
 
9721
 
 
9722
 
 
9723
 
 
9724
 
 
9725
 
 
9726
 
 
9727
 
 
9728
 
 
9729
 
 
9730
 
 
9731
 
 
9732
 
 
9733
 
 
9734
 
 
9735
 
 
9736
 
 
9737
 
 
9738
 
 
9739
 
 
9740
 
 
9741
 
 
9742
 
 
9743
 
 
9744
 
 
9745
 
 
9746
 
 
9747
 
 
9748
 
 
9749
 
 
9750
 
 
9751
 
 
9752
 
 
9753
 
 
9754
 
 
9755
 
 
9756
 
 
9757
 
 
9758
 
 
9759
 
 
9760
 
 
9761
 
 
9762
 
 
9763
 
 
9764
 
 
9765
 
 
9766
 
 
9767
 
 
9768
 
 
9769
 
 
9770
 
 
9771
 
 
9772
 
 
9773
 
 
9774
 
 
9775
 
 
9776
 
 
9777
 
 
9778
 
 
9779
 
 
9780
 
 
9781
 
 
9782
 
 
9783
 
 
9784
 
 
9785
 
 
9786
 
 
9787
 
 
9788
 
 
9789
 
 
9790
 
 
9791
 
 
9792
 
 
9793
 
 
9794
 
 
9795
 
 
9796
 
 
9797
 
 
9798
 
 
9799
 
 
9800
 
 
9801
 
 
9802
 
 
9803
 
 
9804
 
 
9805
 
 
9806
 
 
9807
 
 
9808
 
 
9809
 
 
9810
 
 
9811
 
 
9812
 
 
9813
 
 
9814
 
 
9815
 
 
9816
 
 
9817
 
 
9818
 
 
9819
 
 
9820
 
 
9821
 
 
9822
 
 
9823
 
 
9824
 
 
9825
 
 
9826
 
 
9827
 
 
9828
 
 
9829
 
 
9830
 
 
9831
 
 
9832
 
 
9833
 
 
9834
 
 
9835
 
 
9836
 
 
9837
 
 
9838
 
 
9839
 
 
9840
 
 
9841
 
 
9842
 
 
9843
 
 
9844
 
 
9845
 
 
9846
 
 
9847
 
 
9848
 
 
9849
 
 
9850
 
 
9851
 
 
9852
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9853
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9854
 
 
9855
 
if test "$GCC" = yes; then
9856
 
  case $host_os in
9857
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9858
 
    *) lt_awk_arg="/^libraries:/" ;;
9859
 
  esac
9860
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9861
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9862
 
    # if the path contains ";" then we assume it to be the separator
9863
 
    # otherwise default to the standard path separator (i.e. ":") - it is
9864
 
    # assumed that no part of a normal pathname contains ";" but that should
9865
 
    # okay in the real world where ";" in dirpaths is itself problematic.
9866
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9867
 
  else
9868
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9869
 
  fi
9870
 
  # Ok, now we have the path, separated by spaces, we can step through it
9871
 
  # and add multilib dir if necessary.
9872
 
  lt_tmp_lt_search_path_spec=
9873
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9874
 
  for lt_sys_path in $lt_search_path_spec; do
9875
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9876
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9877
 
    else
9878
 
      test -d "$lt_sys_path" && \
9879
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9880
 
    fi
9881
 
  done
9882
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9883
 
BEGIN {RS=" "; FS="/|\n";} {
9884
 
  lt_foo="";
9885
 
  lt_count=0;
9886
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
9887
 
    if ($lt_i != "" && $lt_i != ".") {
9888
 
      if ($lt_i == "..") {
9889
 
        lt_count++;
9890
 
      } else {
9891
 
        if (lt_count == 0) {
9892
 
          lt_foo="/" $lt_i lt_foo;
9893
 
        } else {
9894
 
          lt_count--;
9895
 
        }
9896
 
      }
9897
 
    }
9898
 
  }
9899
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9900
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9901
 
}'`
9902
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9903
 
else
9904
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9905
 
fi
9906
 
library_names_spec=
9907
 
libname_spec='lib$name'
9908
 
soname_spec=
9909
 
shrext_cmds=".so"
9910
 
postinstall_cmds=
9911
 
postuninstall_cmds=
9912
 
finish_cmds=
9913
 
finish_eval=
9914
 
shlibpath_var=
9915
 
shlibpath_overrides_runpath=unknown
9916
 
version_type=none
9917
 
dynamic_linker="$host_os ld.so"
9918
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9919
 
need_lib_prefix=unknown
9920
 
hardcode_into_libs=no
9921
 
 
9922
 
# when you set need_version to no, make sure it does not cause -set_version
9923
 
# flags to be left without arguments
9924
 
need_version=unknown
9925
 
 
9926
 
case $host_os in
9927
 
aix3*)
9928
 
  version_type=linux
9929
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9930
 
  shlibpath_var=LIBPATH
9931
 
 
9932
 
  # AIX 3 has no versioning support, so we append a major version to the name.
9933
 
  soname_spec='${libname}${release}${shared_ext}$major'
9934
 
  ;;
9935
 
 
9936
 
aix[4-9]*)
9937
 
  version_type=linux
9938
 
  need_lib_prefix=no
9939
 
  need_version=no
9940
 
  hardcode_into_libs=yes
9941
 
  if test "$host_cpu" = ia64; then
9942
 
    # AIX 5 supports IA64
9943
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9944
 
    shlibpath_var=LD_LIBRARY_PATH
9945
 
  else
9946
 
    # With GCC up to 2.95.x, collect2 would create an import file
9947
 
    # for dependence libraries.  The import file would start with
9948
 
    # the line `#! .'.  This would cause the generated library to
9949
 
    # depend on `.', always an invalid library.  This was fixed in
9950
 
    # development snapshots of GCC prior to 3.0.
9951
 
    case $host_os in
9952
 
      aix4 | aix4.[01] | aix4.[01].*)
9953
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9954
 
           echo ' yes '
9955
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9956
 
        :
9957
 
      else
9958
 
        can_build_shared=no
9959
 
      fi
9960
 
      ;;
9961
 
    esac
9962
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9963
 
    # soname into executable. Probably we can add versioning support to
9964
 
    # collect2, so additional links can be useful in future.
9965
 
    if test "$aix_use_runtimelinking" = yes; then
9966
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9967
 
      # instead of lib<name>.a to let people know that these are not
9968
 
      # typical AIX shared libraries.
9969
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9970
 
    else
9971
 
      # We preserve .a as extension for shared libraries through AIX4.2
9972
 
      # and later when we are not doing run time linking.
9973
 
      library_names_spec='${libname}${release}.a $libname.a'
9974
 
      soname_spec='${libname}${release}${shared_ext}$major'
9975
 
    fi
9976
 
    shlibpath_var=LIBPATH
9977
 
  fi
9978
 
  ;;
9979
 
 
9980
 
amigaos*)
9981
 
  case $host_cpu in
9982
 
  powerpc)
9983
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
9984
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9985
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9986
 
    ;;
9987
 
  m68k)
9988
 
    library_names_spec='$libname.ixlibrary $libname.a'
9989
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9990
 
    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'
9991
 
    ;;
9992
 
  esac
9993
 
  ;;
9994
 
 
9995
 
beos*)
9996
 
  library_names_spec='${libname}${shared_ext}'
9997
 
  dynamic_linker="$host_os ld.so"
9998
 
  shlibpath_var=LIBRARY_PATH
9999
 
  ;;
10000
 
 
10001
 
bsdi[45]*)
10002
 
  version_type=linux
10003
 
  need_version=no
10004
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10005
 
  soname_spec='${libname}${release}${shared_ext}$major'
10006
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10007
 
  shlibpath_var=LD_LIBRARY_PATH
10008
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10009
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10010
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10011
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10012
 
  # libtool to hard-code these into programs
10013
 
  ;;
10014
 
 
10015
 
cygwin* | mingw* | pw32* | cegcc*)
10016
 
  version_type=windows
10017
 
  shrext_cmds=".dll"
10018
 
  need_version=no
10019
 
  need_lib_prefix=no
10020
 
 
10021
 
  case $GCC,$host_os in
10022
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10023
 
    library_names_spec='$libname.dll.a'
10024
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10025
 
    postinstall_cmds='base_file=`basename \${file}`~
10026
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10027
 
      dldir=$destdir/`dirname \$dlpath`~
10028
 
      test -d \$dldir || mkdir -p \$dldir~
10029
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10030
 
      chmod a+x \$dldir/$dlname~
10031
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10032
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10033
 
      fi'
10034
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10035
 
      dlpath=$dir/\$dldll~
10036
 
       $RM \$dlpath'
10037
 
    shlibpath_overrides_runpath=yes
10038
 
 
10039
 
    case $host_os in
10040
 
    cygwin*)
10041
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10042
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10043
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10044
 
      ;;
10045
 
    mingw* | cegcc*)
10046
 
      # MinGW DLLs use traditional 'lib' prefix
10047
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10048
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10049
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10050
 
        # It is most probably a Windows format PATH printed by
10051
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10052
 
        # path with ; separators, and with drive letters. We can handle the
10053
 
        # drive letters (cygwin fileutils understands them), so leave them,
10054
 
        # especially as we might pass files found there to a mingw objdump,
10055
 
        # which wouldn't understand a cygwinified path. Ahh.
10056
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10057
 
      else
10058
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10059
 
      fi
10060
 
      ;;
10061
 
    pw32*)
10062
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10063
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10064
 
      ;;
10065
 
    esac
10066
 
    ;;
10067
 
 
10068
 
  *)
10069
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10070
 
    ;;
10071
 
  esac
10072
 
  dynamic_linker='Win32 ld.exe'
10073
 
  # FIXME: first we should search . and the directory the executable is in
10074
 
  shlibpath_var=PATH
10075
 
  ;;
10076
 
 
10077
 
darwin* | rhapsody*)
10078
 
  dynamic_linker="$host_os dyld"
10079
 
  version_type=darwin
10080
 
  need_lib_prefix=no
10081
 
  need_version=no
10082
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10083
 
  soname_spec='${libname}${release}${major}$shared_ext'
10084
 
  shlibpath_overrides_runpath=yes
10085
 
  shlibpath_var=DYLD_LIBRARY_PATH
10086
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10087
 
 
10088
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10089
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10090
 
  ;;
10091
 
 
10092
 
dgux*)
10093
 
  version_type=linux
10094
 
  need_lib_prefix=no
10095
 
  need_version=no
10096
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10097
 
  soname_spec='${libname}${release}${shared_ext}$major'
10098
 
  shlibpath_var=LD_LIBRARY_PATH
10099
 
  ;;
10100
 
 
10101
 
freebsd1*)
10102
 
  dynamic_linker=no
10103
 
  ;;
10104
 
 
10105
 
freebsd* | dragonfly*)
10106
 
  # DragonFly does not have aout.  When/if they implement a new
10107
 
  # versioning mechanism, adjust this.
10108
 
  if test -x /usr/bin/objformat; then
10109
 
    objformat=`/usr/bin/objformat`
10110
 
  else
10111
 
    case $host_os in
10112
 
    freebsd[123]*) objformat=aout ;;
10113
 
    *) objformat=elf ;;
10114
 
    esac
10115
 
  fi
10116
 
  version_type=freebsd-$objformat
10117
 
  case $version_type in
10118
 
    freebsd-elf*)
10119
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10120
 
      need_version=no
10121
 
      need_lib_prefix=no
10122
 
      ;;
10123
 
    freebsd-*)
10124
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10125
 
      need_version=yes
10126
 
      ;;
10127
 
  esac
10128
 
  shlibpath_var=LD_LIBRARY_PATH
10129
 
  case $host_os in
10130
 
  freebsd2*)
10131
 
    shlibpath_overrides_runpath=yes
10132
 
    ;;
10133
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10134
 
    shlibpath_overrides_runpath=yes
10135
 
    hardcode_into_libs=yes
10136
 
    ;;
10137
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10138
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10139
 
    shlibpath_overrides_runpath=no
10140
 
    hardcode_into_libs=yes
10141
 
    ;;
10142
 
  *) # from 4.6 on, and DragonFly
10143
 
    shlibpath_overrides_runpath=yes
10144
 
    hardcode_into_libs=yes
10145
 
    ;;
10146
 
  esac
10147
 
  ;;
10148
 
 
10149
 
gnu*)
10150
 
  version_type=linux
10151
 
  need_lib_prefix=no
10152
 
  need_version=no
10153
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10154
 
  soname_spec='${libname}${release}${shared_ext}$major'
10155
 
  shlibpath_var=LD_LIBRARY_PATH
10156
 
  hardcode_into_libs=yes
10157
 
  ;;
10158
 
 
10159
 
hpux9* | hpux10* | hpux11*)
10160
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10161
 
  # link against other versions.
10162
 
  version_type=sunos
10163
 
  need_lib_prefix=no
10164
 
  need_version=no
10165
 
  case $host_cpu in
10166
 
  ia64*)
10167
 
    shrext_cmds='.so'
10168
 
    hardcode_into_libs=yes
10169
 
    dynamic_linker="$host_os dld.so"
10170
 
    shlibpath_var=LD_LIBRARY_PATH
10171
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10172
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10173
 
    soname_spec='${libname}${release}${shared_ext}$major'
10174
 
    if test "X$HPUX_IA64_MODE" = X32; then
10175
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10176
 
    else
10177
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10178
 
    fi
10179
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10180
 
    ;;
10181
 
  hppa*64*)
10182
 
    shrext_cmds='.sl'
10183
 
    hardcode_into_libs=yes
10184
 
    dynamic_linker="$host_os dld.sl"
10185
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10186
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10187
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10188
 
    soname_spec='${libname}${release}${shared_ext}$major'
10189
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10190
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10191
 
    ;;
10192
 
  *)
10193
 
    shrext_cmds='.sl'
10194
 
    dynamic_linker="$host_os dld.sl"
10195
 
    shlibpath_var=SHLIB_PATH
10196
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10197
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10198
 
    soname_spec='${libname}${release}${shared_ext}$major'
10199
 
    ;;
10200
 
  esac
10201
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10202
 
  postinstall_cmds='chmod 555 $lib'
10203
 
  ;;
10204
 
 
10205
 
interix[3-9]*)
10206
 
  version_type=linux
10207
 
  need_lib_prefix=no
10208
 
  need_version=no
10209
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10210
 
  soname_spec='${libname}${release}${shared_ext}$major'
10211
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10212
 
  shlibpath_var=LD_LIBRARY_PATH
10213
 
  shlibpath_overrides_runpath=no
10214
 
  hardcode_into_libs=yes
10215
 
  ;;
10216
 
 
10217
 
irix5* | irix6* | nonstopux*)
10218
 
  case $host_os in
10219
 
    nonstopux*) version_type=nonstopux ;;
10220
 
    *)
10221
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10222
 
                version_type=linux
10223
 
        else
10224
 
                version_type=irix
10225
 
        fi ;;
10226
 
  esac
10227
 
  need_lib_prefix=no
10228
 
  need_version=no
10229
 
  soname_spec='${libname}${release}${shared_ext}$major'
10230
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10231
 
  case $host_os in
10232
 
  irix5* | nonstopux*)
10233
 
    libsuff= shlibsuff=
10234
 
    ;;
10235
 
  *)
10236
 
    case $LD in # libtool.m4 will add one of these switches to LD
10237
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10238
 
      libsuff= shlibsuff= libmagic=32-bit;;
10239
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10240
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10241
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10242
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10243
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10244
 
    esac
10245
 
    ;;
10246
 
  esac
10247
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10248
 
  shlibpath_overrides_runpath=no
10249
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10250
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10251
 
  hardcode_into_libs=yes
10252
 
  ;;
10253
 
 
10254
 
# No shared lib support for Linux oldld, aout, or coff.
10255
 
linux*oldld* | linux*aout* | linux*coff*)
10256
 
  dynamic_linker=no
10257
 
  ;;
10258
 
 
10259
 
# This must be Linux ELF.
10260
 
linux* | k*bsd*-gnu)
10261
 
  version_type=linux
10262
 
  need_lib_prefix=no
10263
 
  need_version=no
10264
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10265
 
  soname_spec='${libname}${release}${shared_ext}$major'
10266
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10267
 
  shlibpath_var=LD_LIBRARY_PATH
10268
 
  shlibpath_overrides_runpath=no
10269
 
  # Some binutils ld are patched to set DT_RUNPATH
10270
 
  save_LDFLAGS=$LDFLAGS
10271
 
  save_libdir=$libdir
10272
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10273
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10274
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275
 
/* end confdefs.h.  */
10276
 
 
10277
 
int
10278
 
main ()
10279
 
{
10280
 
 
10281
 
  ;
10282
 
  return 0;
10283
 
}
10284
 
_ACEOF
10285
 
if ac_fn_c_try_link "$LINENO"; then :
10286
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10287
 
  shlibpath_overrides_runpath=yes
10288
 
fi
10289
 
fi
10290
 
rm -f core conftest.err conftest.$ac_objext \
10291
 
    conftest$ac_exeext conftest.$ac_ext
10292
 
  LDFLAGS=$save_LDFLAGS
10293
 
  libdir=$save_libdir
10294
 
 
10295
 
  # This implies no fast_install, which is unacceptable.
10296
 
  # Some rework will be needed to allow for fast_install
10297
 
  # before this can be enabled.
10298
 
  hardcode_into_libs=yes
10299
 
 
10300
 
  # Append ld.so.conf contents to the search path
10301
 
  if test -f /etc/ld.so.conf; then
10302
 
    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' ' '`
10303
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10304
 
  fi
10305
 
 
10306
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10307
 
  # powerpc, because MkLinux only supported shared libraries with the
10308
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10309
 
  # most powerpc-linux boxes support dynamic linking these days and
10310
 
  # people can always --disable-shared, the test was removed, and we
10311
 
  # assume the GNU/Linux dynamic linker is in use.
10312
 
  dynamic_linker='GNU/Linux ld.so'
10313
 
  ;;
10314
 
 
10315
 
netbsdelf*-gnu)
10316
 
  version_type=linux
10317
 
  need_lib_prefix=no
10318
 
  need_version=no
10319
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10320
 
  soname_spec='${libname}${release}${shared_ext}$major'
10321
 
  shlibpath_var=LD_LIBRARY_PATH
10322
 
  shlibpath_overrides_runpath=no
10323
 
  hardcode_into_libs=yes
10324
 
  dynamic_linker='NetBSD ld.elf_so'
10325
 
  ;;
10326
 
 
10327
 
netbsd*)
10328
 
  version_type=sunos
10329
 
  need_lib_prefix=no
10330
 
  need_version=no
10331
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10332
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10333
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10334
 
    dynamic_linker='NetBSD (a.out) ld.so'
10335
 
  else
10336
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10337
 
    soname_spec='${libname}${release}${shared_ext}$major'
10338
 
    dynamic_linker='NetBSD ld.elf_so'
10339
 
  fi
10340
 
  shlibpath_var=LD_LIBRARY_PATH
10341
 
  shlibpath_overrides_runpath=yes
10342
 
  hardcode_into_libs=yes
10343
 
  ;;
10344
 
 
10345
 
newsos6)
10346
 
  version_type=linux
10347
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10348
 
  shlibpath_var=LD_LIBRARY_PATH
10349
 
  shlibpath_overrides_runpath=yes
10350
 
  ;;
10351
 
 
10352
 
*nto* | *qnx*)
10353
 
  version_type=qnx
10354
 
  need_lib_prefix=no
10355
 
  need_version=no
10356
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357
 
  soname_spec='${libname}${release}${shared_ext}$major'
10358
 
  shlibpath_var=LD_LIBRARY_PATH
10359
 
  shlibpath_overrides_runpath=no
10360
 
  hardcode_into_libs=yes
10361
 
  dynamic_linker='ldqnx.so'
10362
 
  ;;
10363
 
 
10364
 
openbsd*)
10365
 
  version_type=sunos
10366
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10367
 
  need_lib_prefix=no
10368
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10369
 
  case $host_os in
10370
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10371
 
    *)                          need_version=no  ;;
10372
 
  esac
10373
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10374
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10375
 
  shlibpath_var=LD_LIBRARY_PATH
10376
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10377
 
    case $host_os in
10378
 
      openbsd2.[89] | openbsd2.[89].*)
10379
 
        shlibpath_overrides_runpath=no
10380
 
        ;;
10381
 
      *)
10382
 
        shlibpath_overrides_runpath=yes
10383
 
        ;;
10384
 
      esac
10385
 
  else
10386
 
    shlibpath_overrides_runpath=yes
10387
 
  fi
10388
 
  ;;
10389
 
 
10390
 
os2*)
10391
 
  libname_spec='$name'
10392
 
  shrext_cmds=".dll"
10393
 
  need_lib_prefix=no
10394
 
  library_names_spec='$libname${shared_ext} $libname.a'
10395
 
  dynamic_linker='OS/2 ld.exe'
10396
 
  shlibpath_var=LIBPATH
10397
 
  ;;
10398
 
 
10399
 
osf3* | osf4* | osf5*)
10400
 
  version_type=osf
10401
 
  need_lib_prefix=no
10402
 
  need_version=no
10403
 
  soname_spec='${libname}${release}${shared_ext}$major'
10404
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10405
 
  shlibpath_var=LD_LIBRARY_PATH
10406
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10407
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10408
 
  ;;
10409
 
 
10410
 
rdos*)
10411
 
  dynamic_linker=no
10412
 
  ;;
10413
 
 
10414
 
solaris*)
10415
 
  version_type=linux
10416
 
  need_lib_prefix=no
10417
 
  need_version=no
10418
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10419
 
  soname_spec='${libname}${release}${shared_ext}$major'
10420
 
  shlibpath_var=LD_LIBRARY_PATH
10421
 
  shlibpath_overrides_runpath=yes
10422
 
  hardcode_into_libs=yes
10423
 
  # ldd complains unless libraries are executable
10424
 
  postinstall_cmds='chmod +x $lib'
10425
 
  ;;
10426
 
 
10427
 
sunos4*)
10428
 
  version_type=sunos
10429
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10430
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10431
 
  shlibpath_var=LD_LIBRARY_PATH
10432
 
  shlibpath_overrides_runpath=yes
10433
 
  if test "$with_gnu_ld" = yes; then
10434
 
    need_lib_prefix=no
10435
 
  fi
10436
 
  need_version=yes
10437
 
  ;;
10438
 
 
10439
 
sysv4 | sysv4.3*)
10440
 
  version_type=linux
10441
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442
 
  soname_spec='${libname}${release}${shared_ext}$major'
10443
 
  shlibpath_var=LD_LIBRARY_PATH
10444
 
  case $host_vendor in
10445
 
    sni)
10446
 
      shlibpath_overrides_runpath=no
10447
 
      need_lib_prefix=no
10448
 
      runpath_var=LD_RUN_PATH
10449
 
      ;;
10450
 
    siemens)
10451
 
      need_lib_prefix=no
10452
 
      ;;
10453
 
    motorola)
10454
 
      need_lib_prefix=no
10455
 
      need_version=no
10456
 
      shlibpath_overrides_runpath=no
10457
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10458
 
      ;;
10459
 
  esac
10460
 
  ;;
10461
 
 
10462
 
sysv4*MP*)
10463
 
  if test -d /usr/nec ;then
10464
 
    version_type=linux
10465
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10466
 
    soname_spec='$libname${shared_ext}.$major'
10467
 
    shlibpath_var=LD_LIBRARY_PATH
10468
 
  fi
10469
 
  ;;
10470
 
 
10471
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10472
 
  version_type=freebsd-elf
10473
 
  need_lib_prefix=no
10474
 
  need_version=no
10475
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10476
 
  soname_spec='${libname}${release}${shared_ext}$major'
10477
 
  shlibpath_var=LD_LIBRARY_PATH
10478
 
  shlibpath_overrides_runpath=yes
10479
 
  hardcode_into_libs=yes
10480
 
  if test "$with_gnu_ld" = yes; then
10481
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10482
 
  else
10483
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10484
 
    case $host_os in
10485
 
      sco3.2v5*)
10486
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10487
 
        ;;
10488
 
    esac
10489
 
  fi
10490
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10491
 
  ;;
10492
 
 
10493
 
tpf*)
10494
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10495
 
  version_type=linux
10496
 
  need_lib_prefix=no
10497
 
  need_version=no
10498
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10499
 
  shlibpath_var=LD_LIBRARY_PATH
10500
 
  shlibpath_overrides_runpath=no
10501
 
  hardcode_into_libs=yes
10502
 
  ;;
10503
 
 
10504
 
uts4*)
10505
 
  version_type=linux
10506
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507
 
  soname_spec='${libname}${release}${shared_ext}$major'
10508
 
  shlibpath_var=LD_LIBRARY_PATH
10509
 
  ;;
10510
 
 
10511
 
*)
10512
 
  dynamic_linker=no
10513
 
  ;;
10514
 
esac
10515
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10516
 
$as_echo "$dynamic_linker" >&6; }
10517
 
test "$dynamic_linker" = no && can_build_shared=no
10518
 
 
10519
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10520
 
if test "$GCC" = yes; then
10521
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10522
 
fi
10523
 
 
10524
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10525
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10526
 
fi
10527
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10528
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10529
 
fi
10530
 
 
10531
 
 
10532
 
 
10533
 
 
10534
 
 
10535
 
 
10536
 
 
10537
 
 
10538
 
 
10539
 
 
10540
 
 
10541
 
 
10542
 
 
10543
 
 
10544
 
 
10545
 
 
10546
 
 
10547
 
 
10548
 
 
10549
 
 
10550
 
 
10551
 
 
10552
 
 
10553
 
 
10554
 
 
10555
 
 
10556
 
 
10557
 
 
10558
 
 
10559
 
 
10560
 
 
10561
 
 
10562
 
 
10563
 
 
10564
 
 
10565
 
 
10566
 
 
10567
 
 
10568
 
 
10569
 
 
10570
 
 
10571
 
 
10572
 
 
10573
 
 
10574
 
 
10575
 
 
10576
 
 
10577
 
 
10578
 
 
10579
 
 
10580
 
 
10581
 
 
10582
 
 
10583
 
 
10584
 
 
10585
 
 
10586
 
 
10587
 
 
10588
 
 
10589
 
 
10590
 
 
10591
 
 
10592
 
 
10593
 
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
 
 
10599
 
 
10600
 
 
10601
 
 
10602
 
 
10603
 
 
10604
 
 
10605
 
 
10606
 
 
10607
 
 
10608
 
 
10609
 
 
10610
 
 
10611
 
 
10612
 
 
10613
 
 
10614
 
 
10615
 
 
10616
 
 
10617
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10618
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10619
 
hardcode_action=
10620
 
if test -n "$hardcode_libdir_flag_spec" ||
10621
 
   test -n "$runpath_var" ||
10622
 
   test "X$hardcode_automatic" = "Xyes" ; then
10623
 
 
10624
 
  # We can hardcode non-existent directories.
10625
 
  if test "$hardcode_direct" != no &&
10626
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10627
 
     # have to relink, otherwise we might link with an installed library
10628
 
     # when we should be linking with a yet-to-be-installed one
10629
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10630
 
     test "$hardcode_minus_L" != no; then
10631
 
    # Linking always hardcodes the temporary library directory.
10632
 
    hardcode_action=relink
10633
 
  else
10634
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10635
 
    hardcode_action=immediate
10636
 
  fi
10637
 
else
10638
 
  # We cannot hardcode anything, or else we can only hardcode existing
10639
 
  # directories.
10640
 
  hardcode_action=unsupported
10641
 
fi
10642
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10643
 
$as_echo "$hardcode_action" >&6; }
10644
 
 
10645
 
if test "$hardcode_action" = relink ||
10646
 
   test "$inherit_rpath" = yes; then
10647
 
  # Fast installation is not supported
10648
 
  enable_fast_install=no
10649
 
elif test "$shlibpath_overrides_runpath" = yes ||
10650
 
     test "$enable_shared" = no; then
10651
 
  # Fast installation is not necessary
10652
 
  enable_fast_install=needless
10653
 
fi
10654
 
 
10655
 
 
10656
 
 
10657
 
 
10658
 
 
10659
 
 
10660
 
  if test "x$enable_dlopen" != xyes; then
10661
 
  enable_dlopen=unknown
10662
 
  enable_dlopen_self=unknown
10663
 
  enable_dlopen_self_static=unknown
10664
 
else
10665
 
  lt_cv_dlopen=no
10666
 
  lt_cv_dlopen_libs=
10667
 
 
10668
 
  case $host_os in
10669
 
  beos*)
10670
 
    lt_cv_dlopen="load_add_on"
10671
 
    lt_cv_dlopen_libs=
10672
 
    lt_cv_dlopen_self=yes
10673
 
    ;;
10674
 
 
10675
 
  mingw* | pw32* | cegcc*)
10676
 
    lt_cv_dlopen="LoadLibrary"
10677
 
    lt_cv_dlopen_libs=
10678
 
    ;;
10679
 
 
10680
 
  cygwin*)
10681
 
    lt_cv_dlopen="dlopen"
10682
 
    lt_cv_dlopen_libs=
10683
 
    ;;
10684
 
 
10685
 
  darwin*)
10686
 
  # if libdl is installed we need to link against it
10687
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10688
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10689
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10690
 
  $as_echo_n "(cached) " >&6
10691
 
else
10692
 
  ac_check_lib_save_LIBS=$LIBS
10693
 
LIBS="-ldl  $LIBS"
10694
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10695
 
/* end confdefs.h.  */
10696
 
 
10697
 
/* Override any GCC internal prototype to avoid an error.
10698
 
   Use char because int might match the return type of a GCC
10699
 
   builtin and then its argument prototype would still apply.  */
10700
 
#ifdef __cplusplus
10701
 
extern "C"
10702
 
#endif
10703
 
char dlopen ();
10704
 
int
10705
 
main ()
10706
 
{
10707
 
return dlopen ();
10708
 
  ;
10709
 
  return 0;
10710
 
}
10711
 
_ACEOF
10712
 
if ac_fn_c_try_link "$LINENO"; then :
10713
 
  ac_cv_lib_dl_dlopen=yes
10714
 
else
10715
 
  ac_cv_lib_dl_dlopen=no
10716
 
fi
10717
 
rm -f core conftest.err conftest.$ac_objext \
10718
 
    conftest$ac_exeext conftest.$ac_ext
10719
 
LIBS=$ac_check_lib_save_LIBS
10720
 
fi
10721
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10722
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10723
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10724
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10725
 
else
10726
 
 
10727
 
    lt_cv_dlopen="dyld"
10728
 
    lt_cv_dlopen_libs=
10729
 
    lt_cv_dlopen_self=yes
10730
 
 
10731
 
fi
10732
 
 
10733
 
    ;;
10734
 
 
10735
 
  *)
10736
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10737
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
10738
 
  lt_cv_dlopen="shl_load"
10739
 
else
10740
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10741
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10742
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10743
 
  $as_echo_n "(cached) " >&6
10744
 
else
10745
 
  ac_check_lib_save_LIBS=$LIBS
10746
 
LIBS="-ldld  $LIBS"
10747
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748
 
/* end confdefs.h.  */
10749
 
 
10750
 
/* Override any GCC internal prototype to avoid an error.
10751
 
   Use char because int might match the return type of a GCC
10752
 
   builtin and then its argument prototype would still apply.  */
10753
 
#ifdef __cplusplus
10754
 
extern "C"
10755
 
#endif
10756
 
char shl_load ();
10757
 
int
10758
 
main ()
10759
 
{
10760
 
return shl_load ();
10761
 
  ;
10762
 
  return 0;
10763
 
}
10764
 
_ACEOF
10765
 
if ac_fn_c_try_link "$LINENO"; then :
10766
 
  ac_cv_lib_dld_shl_load=yes
10767
 
else
10768
 
  ac_cv_lib_dld_shl_load=no
10769
 
fi
10770
 
rm -f core conftest.err conftest.$ac_objext \
10771
 
    conftest$ac_exeext conftest.$ac_ext
10772
 
LIBS=$ac_check_lib_save_LIBS
10773
 
fi
10774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10775
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10776
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10777
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10778
 
else
10779
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10780
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
10781
 
  lt_cv_dlopen="dlopen"
10782
 
else
10783
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10784
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10785
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10786
 
  $as_echo_n "(cached) " >&6
10787
 
else
10788
 
  ac_check_lib_save_LIBS=$LIBS
10789
 
LIBS="-ldl  $LIBS"
10790
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791
 
/* end confdefs.h.  */
10792
 
 
10793
 
/* Override any GCC internal prototype to avoid an error.
10794
 
   Use char because int might match the return type of a GCC
10795
 
   builtin and then its argument prototype would still apply.  */
10796
 
#ifdef __cplusplus
10797
 
extern "C"
10798
 
#endif
10799
 
char dlopen ();
10800
 
int
10801
 
main ()
10802
 
{
10803
 
return dlopen ();
10804
 
  ;
10805
 
  return 0;
10806
 
}
10807
 
_ACEOF
10808
 
if ac_fn_c_try_link "$LINENO"; then :
10809
 
  ac_cv_lib_dl_dlopen=yes
10810
 
else
10811
 
  ac_cv_lib_dl_dlopen=no
10812
 
fi
10813
 
rm -f core conftest.err conftest.$ac_objext \
10814
 
    conftest$ac_exeext conftest.$ac_ext
10815
 
LIBS=$ac_check_lib_save_LIBS
10816
 
fi
10817
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10818
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10819
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10820
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10821
 
else
10822
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10823
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10824
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10825
 
  $as_echo_n "(cached) " >&6
10826
 
else
10827
 
  ac_check_lib_save_LIBS=$LIBS
10828
 
LIBS="-lsvld  $LIBS"
10829
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830
 
/* end confdefs.h.  */
10831
 
 
10832
 
/* Override any GCC internal prototype to avoid an error.
10833
 
   Use char because int might match the return type of a GCC
10834
 
   builtin and then its argument prototype would still apply.  */
10835
 
#ifdef __cplusplus
10836
 
extern "C"
10837
 
#endif
10838
 
char dlopen ();
10839
 
int
10840
 
main ()
10841
 
{
10842
 
return dlopen ();
10843
 
  ;
10844
 
  return 0;
10845
 
}
10846
 
_ACEOF
10847
 
if ac_fn_c_try_link "$LINENO"; then :
10848
 
  ac_cv_lib_svld_dlopen=yes
10849
 
else
10850
 
  ac_cv_lib_svld_dlopen=no
10851
 
fi
10852
 
rm -f core conftest.err conftest.$ac_objext \
10853
 
    conftest$ac_exeext conftest.$ac_ext
10854
 
LIBS=$ac_check_lib_save_LIBS
10855
 
fi
10856
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10857
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10858
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10859
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10860
 
else
10861
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10862
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10863
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10864
 
  $as_echo_n "(cached) " >&6
10865
 
else
10866
 
  ac_check_lib_save_LIBS=$LIBS
10867
 
LIBS="-ldld  $LIBS"
10868
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10869
 
/* end confdefs.h.  */
10870
 
 
10871
 
/* Override any GCC internal prototype to avoid an error.
10872
 
   Use char because int might match the return type of a GCC
10873
 
   builtin and then its argument prototype would still apply.  */
10874
 
#ifdef __cplusplus
10875
 
extern "C"
10876
 
#endif
10877
 
char dld_link ();
10878
 
int
10879
 
main ()
10880
 
{
10881
 
return dld_link ();
10882
 
  ;
10883
 
  return 0;
10884
 
}
10885
 
_ACEOF
10886
 
if ac_fn_c_try_link "$LINENO"; then :
10887
 
  ac_cv_lib_dld_dld_link=yes
10888
 
else
10889
 
  ac_cv_lib_dld_dld_link=no
10890
 
fi
10891
 
rm -f core conftest.err conftest.$ac_objext \
10892
 
    conftest$ac_exeext conftest.$ac_ext
10893
 
LIBS=$ac_check_lib_save_LIBS
10894
 
fi
10895
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10896
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10897
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10898
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10899
 
fi
10900
 
 
10901
 
 
10902
 
fi
10903
 
 
10904
 
 
10905
 
fi
10906
 
 
10907
 
 
10908
 
fi
10909
 
 
10910
 
 
10911
 
fi
10912
 
 
10913
 
 
10914
 
fi
10915
 
 
10916
 
    ;;
10917
 
  esac
10918
 
 
10919
 
  if test "x$lt_cv_dlopen" != xno; then
10920
 
    enable_dlopen=yes
10921
 
  else
10922
 
    enable_dlopen=no
10923
 
  fi
10924
 
 
10925
 
  case $lt_cv_dlopen in
10926
 
  dlopen)
10927
 
    save_CPPFLAGS="$CPPFLAGS"
10928
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10929
 
 
10930
 
    save_LDFLAGS="$LDFLAGS"
10931
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10932
 
 
10933
 
    save_LIBS="$LIBS"
10934
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
10935
 
 
10936
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10937
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10938
 
if test "${lt_cv_dlopen_self+set}" = set; then :
10939
 
  $as_echo_n "(cached) " >&6
10940
 
else
10941
 
          if test "$cross_compiling" = yes; then :
10942
 
  lt_cv_dlopen_self=cross
10943
 
else
10944
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10945
 
  lt_status=$lt_dlunknown
10946
 
  cat > conftest.$ac_ext <<_LT_EOF
10947
 
#line 10947 "configure"
10948
 
#include "confdefs.h"
10949
 
 
10950
 
#if HAVE_DLFCN_H
10951
 
#include <dlfcn.h>
10952
 
#endif
10953
 
 
10954
 
#include <stdio.h>
10955
 
 
10956
 
#ifdef RTLD_GLOBAL
10957
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
10958
 
#else
10959
 
#  ifdef DL_GLOBAL
10960
 
#    define LT_DLGLOBAL         DL_GLOBAL
10961
 
#  else
10962
 
#    define LT_DLGLOBAL         0
10963
 
#  endif
10964
 
#endif
10965
 
 
10966
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10967
 
   find out it does not work in some platform. */
10968
 
#ifndef LT_DLLAZY_OR_NOW
10969
 
#  ifdef RTLD_LAZY
10970
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10971
 
#  else
10972
 
#    ifdef DL_LAZY
10973
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10974
 
#    else
10975
 
#      ifdef RTLD_NOW
10976
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10977
 
#      else
10978
 
#        ifdef DL_NOW
10979
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
10980
 
#        else
10981
 
#          define LT_DLLAZY_OR_NOW      0
10982
 
#        endif
10983
 
#      endif
10984
 
#    endif
10985
 
#  endif
10986
 
#endif
10987
 
 
10988
 
void fnord() { int i=42;}
10989
 
int main ()
10990
 
{
10991
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10992
 
  int status = $lt_dlunknown;
10993
 
 
10994
 
  if (self)
10995
 
    {
10996
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10997
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10998
 
      /* dlclose (self); */
10999
 
    }
11000
 
  else
11001
 
    puts (dlerror ());
11002
 
 
11003
 
  return status;
11004
 
}
11005
 
_LT_EOF
11006
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11007
 
  (eval $ac_link) 2>&5
11008
 
  ac_status=$?
11009
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11010
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11011
 
    (./conftest; exit; ) >&5 2>/dev/null
11012
 
    lt_status=$?
11013
 
    case x$lt_status in
11014
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11015
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11016
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11017
 
    esac
11018
 
  else :
11019
 
    # compilation failed
11020
 
    lt_cv_dlopen_self=no
11021
 
  fi
11022
 
fi
11023
 
rm -fr conftest*
11024
 
 
11025
 
 
11026
 
fi
11027
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11028
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11029
 
 
11030
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11031
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11032
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11033
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11034
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11035
 
  $as_echo_n "(cached) " >&6
11036
 
else
11037
 
          if test "$cross_compiling" = yes; then :
11038
 
  lt_cv_dlopen_self_static=cross
11039
 
else
11040
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11041
 
  lt_status=$lt_dlunknown
11042
 
  cat > conftest.$ac_ext <<_LT_EOF
11043
 
#line 11043 "configure"
11044
 
#include "confdefs.h"
11045
 
 
11046
 
#if HAVE_DLFCN_H
11047
 
#include <dlfcn.h>
11048
 
#endif
11049
 
 
11050
 
#include <stdio.h>
11051
 
 
11052
 
#ifdef RTLD_GLOBAL
11053
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11054
 
#else
11055
 
#  ifdef DL_GLOBAL
11056
 
#    define LT_DLGLOBAL         DL_GLOBAL
11057
 
#  else
11058
 
#    define LT_DLGLOBAL         0
11059
 
#  endif
11060
 
#endif
11061
 
 
11062
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11063
 
   find out it does not work in some platform. */
11064
 
#ifndef LT_DLLAZY_OR_NOW
11065
 
#  ifdef RTLD_LAZY
11066
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11067
 
#  else
11068
 
#    ifdef DL_LAZY
11069
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11070
 
#    else
11071
 
#      ifdef RTLD_NOW
11072
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11073
 
#      else
11074
 
#        ifdef DL_NOW
11075
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11076
 
#        else
11077
 
#          define LT_DLLAZY_OR_NOW      0
11078
 
#        endif
11079
 
#      endif
11080
 
#    endif
11081
 
#  endif
11082
 
#endif
11083
 
 
11084
 
void fnord() { int i=42;}
11085
 
int main ()
11086
 
{
11087
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11088
 
  int status = $lt_dlunknown;
11089
 
 
11090
 
  if (self)
11091
 
    {
11092
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11093
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11094
 
      /* dlclose (self); */
11095
 
    }
11096
 
  else
11097
 
    puts (dlerror ());
11098
 
 
11099
 
  return status;
11100
 
}
11101
 
_LT_EOF
11102
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11103
 
  (eval $ac_link) 2>&5
11104
 
  ac_status=$?
11105
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11106
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11107
 
    (./conftest; exit; ) >&5 2>/dev/null
11108
 
    lt_status=$?
11109
 
    case x$lt_status in
11110
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11111
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11112
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11113
 
    esac
11114
 
  else :
11115
 
    # compilation failed
11116
 
    lt_cv_dlopen_self_static=no
11117
 
  fi
11118
 
fi
11119
 
rm -fr conftest*
11120
 
 
11121
 
 
11122
 
fi
11123
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11124
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11125
 
    fi
11126
 
 
11127
 
    CPPFLAGS="$save_CPPFLAGS"
11128
 
    LDFLAGS="$save_LDFLAGS"
11129
 
    LIBS="$save_LIBS"
11130
 
    ;;
11131
 
  esac
11132
 
 
11133
 
  case $lt_cv_dlopen_self in
11134
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11135
 
  *) enable_dlopen_self=unknown ;;
11136
 
  esac
11137
 
 
11138
 
  case $lt_cv_dlopen_self_static in
11139
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11140
 
  *) enable_dlopen_self_static=unknown ;;
11141
 
  esac
11142
 
fi
11143
 
 
11144
 
 
11145
 
 
11146
 
 
11147
 
 
11148
 
 
11149
 
 
11150
 
 
11151
 
 
11152
 
 
11153
 
 
11154
 
 
11155
 
 
11156
 
 
11157
 
 
11158
 
 
11159
 
 
11160
 
striplib=
11161
 
old_striplib=
11162
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11163
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11164
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11165
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11166
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11167
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11168
 
$as_echo "yes" >&6; }
11169
 
else
11170
 
# FIXME - insert some real tests, host_os isn't really good enough
11171
 
  case $host_os in
11172
 
  darwin*)
11173
 
    if test -n "$STRIP" ; then
11174
 
      striplib="$STRIP -x"
11175
 
      old_striplib="$STRIP -S"
11176
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11177
 
$as_echo "yes" >&6; }
11178
 
    else
11179
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11180
 
$as_echo "no" >&6; }
11181
 
    fi
11182
 
    ;;
11183
 
  *)
11184
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11185
 
$as_echo "no" >&6; }
11186
 
    ;;
11187
 
  esac
11188
 
fi
11189
 
 
11190
 
 
11191
 
 
11192
 
 
11193
 
 
11194
 
 
11195
 
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
 
 
11201
 
  # Report which library types will actually be built
11202
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11203
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11204
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11205
 
$as_echo "$can_build_shared" >&6; }
11206
 
 
11207
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11208
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11209
 
  test "$can_build_shared" = "no" && enable_shared=no
11210
 
 
11211
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11212
 
  # are all built from PIC.
11213
 
  case $host_os in
11214
 
  aix3*)
11215
 
    test "$enable_shared" = yes && enable_static=no
11216
 
    if test -n "$RANLIB"; then
11217
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11218
 
      postinstall_cmds='$RANLIB $lib'
11219
 
    fi
11220
 
    ;;
11221
 
 
11222
 
  aix[4-9]*)
11223
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11224
 
      test "$enable_shared" = yes && enable_static=no
11225
 
    fi
11226
 
    ;;
11227
 
  esac
11228
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11229
 
$as_echo "$enable_shared" >&6; }
11230
 
 
11231
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11232
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11233
 
  # Make sure either enable_shared or enable_static is yes.
11234
 
  test "$enable_shared" = yes || enable_static=yes
11235
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11236
 
$as_echo "$enable_static" >&6; }
11237
 
 
11238
 
 
11239
 
 
11240
 
 
11241
 
fi
11242
 
ac_ext=c
11243
 
ac_cpp='$CPP $CPPFLAGS'
11244
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11245
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11246
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11247
 
 
11248
 
CC="$lt_save_CC"
11249
 
 
11250
 
 
11251
 
 
11252
 
 
11253
 
 
11254
 
 
11255
 
 
11256
 
 
11257
 
 
11258
 
 
11259
 
 
11260
 
 
11261
 
 
11262
 
        ac_config_commands="$ac_config_commands libtool"
11263
 
 
11264
 
 
11265
 
 
11266
 
 
11267
 
# Only expand once:
11268
 
 
11269
 
 
11270
4472
 
11271
4473
# Disable optimization if we enable debug
11272
4474
# Check whether --enable-debug was given.
11286
4488
    fi
11287
4489
fi
11288
4490
 
11289
 
ACLOCAL_AMFLAGS="$ACLOCAL_FLAGS -I m4"
11290
 
 
11291
 
 
11292
4491
 
11293
4492
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11294
4493
$as_echo_n "checking whether NLS is requested... " >&6; }
11864
5063
    nls_support="disabled."
11865
5064
fi
11866
5065
 
 
5066
ac_ext=c
 
5067
ac_cpp='$CPP $CPPFLAGS'
 
5068
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5069
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5070
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
5072
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
5073
# On Suns, sometimes $CPP names a directory.
 
5074
if test -n "$CPP" && test -d "$CPP"; then
 
5075
  CPP=
 
5076
fi
 
5077
if test -z "$CPP"; then
 
5078
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
5079
  $as_echo_n "(cached) " >&6
 
5080
else
 
5081
      # Double quotes because CPP needs to be expanded
 
5082
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
5083
    do
 
5084
      ac_preproc_ok=false
 
5085
for ac_c_preproc_warn_flag in '' yes
 
5086
do
 
5087
  # Use a header file that comes with gcc, so configuring glibc
 
5088
  # with a fresh cross-compiler works.
 
5089
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5090
  # <limits.h> exists even on freestanding compilers.
 
5091
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
5092
  # not just through cpp. "Syntax error" is here to catch this case.
 
5093
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5094
/* end confdefs.h.  */
 
5095
#ifdef __STDC__
 
5096
# include <limits.h>
 
5097
#else
 
5098
# include <assert.h>
 
5099
#endif
 
5100
                     Syntax error
 
5101
_ACEOF
 
5102
if ac_fn_c_try_cpp "$LINENO"; then :
 
5103
 
 
5104
else
 
5105
  # Broken: fails on valid input.
 
5106
continue
 
5107
fi
 
5108
rm -f conftest.err conftest.$ac_ext
 
5109
 
 
5110
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5111
  # can be detected and how.
 
5112
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5113
/* end confdefs.h.  */
 
5114
#include <ac_nonexistent.h>
 
5115
_ACEOF
 
5116
if ac_fn_c_try_cpp "$LINENO"; then :
 
5117
  # Broken: success on invalid input.
 
5118
continue
 
5119
else
 
5120
  # Passes both tests.
 
5121
ac_preproc_ok=:
 
5122
break
 
5123
fi
 
5124
rm -f conftest.err conftest.$ac_ext
 
5125
 
 
5126
done
 
5127
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
5128
rm -f conftest.err conftest.$ac_ext
 
5129
if $ac_preproc_ok; then :
 
5130
  break
 
5131
fi
 
5132
 
 
5133
    done
 
5134
    ac_cv_prog_CPP=$CPP
 
5135
 
 
5136
fi
 
5137
  CPP=$ac_cv_prog_CPP
 
5138
else
 
5139
  ac_cv_prog_CPP=$CPP
 
5140
fi
 
5141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
5142
$as_echo "$CPP" >&6; }
 
5143
ac_preproc_ok=false
 
5144
for ac_c_preproc_warn_flag in '' yes
 
5145
do
 
5146
  # Use a header file that comes with gcc, so configuring glibc
 
5147
  # with a fresh cross-compiler works.
 
5148
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5149
  # <limits.h> exists even on freestanding compilers.
 
5150
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
5151
  # not just through cpp. "Syntax error" is here to catch this case.
 
5152
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5153
/* end confdefs.h.  */
 
5154
#ifdef __STDC__
 
5155
# include <limits.h>
 
5156
#else
 
5157
# include <assert.h>
 
5158
#endif
 
5159
                     Syntax error
 
5160
_ACEOF
 
5161
if ac_fn_c_try_cpp "$LINENO"; then :
 
5162
 
 
5163
else
 
5164
  # Broken: fails on valid input.
 
5165
continue
 
5166
fi
 
5167
rm -f conftest.err conftest.$ac_ext
 
5168
 
 
5169
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5170
  # can be detected and how.
 
5171
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5172
/* end confdefs.h.  */
 
5173
#include <ac_nonexistent.h>
 
5174
_ACEOF
 
5175
if ac_fn_c_try_cpp "$LINENO"; then :
 
5176
  # Broken: success on invalid input.
 
5177
continue
 
5178
else
 
5179
  # Passes both tests.
 
5180
ac_preproc_ok=:
 
5181
break
 
5182
fi
 
5183
rm -f conftest.err conftest.$ac_ext
 
5184
 
 
5185
done
 
5186
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
5187
rm -f conftest.err conftest.$ac_ext
 
5188
if $ac_preproc_ok; then :
 
5189
 
 
5190
else
 
5191
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5192
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5193
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
5194
See \`config.log' for more details." "$LINENO" 5; }
 
5195
fi
 
5196
 
 
5197
ac_ext=c
 
5198
ac_cpp='$CPP $CPPFLAGS'
 
5199
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5200
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5201
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5202
 
 
5203
 
 
5204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
5205
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5206
if test "${ac_cv_path_GREP+set}" = set; then :
 
5207
  $as_echo_n "(cached) " >&6
 
5208
else
 
5209
  if test -z "$GREP"; then
 
5210
  ac_path_GREP_found=false
 
5211
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5212
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5213
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5214
do
 
5215
  IFS=$as_save_IFS
 
5216
  test -z "$as_dir" && as_dir=.
 
5217
    for ac_prog in grep ggrep; do
 
5218
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5219
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5220
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5221
# Check for GNU ac_path_GREP and select it if it is found.
 
5222
  # Check for GNU $ac_path_GREP
 
5223
case `"$ac_path_GREP" --version 2>&1` in
 
5224
*GNU*)
 
5225
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
5226
*)
 
5227
  ac_count=0
 
5228
  $as_echo_n 0123456789 >"conftest.in"
 
5229
  while :
 
5230
  do
 
5231
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5232
    mv "conftest.tmp" "conftest.in"
 
5233
    cp "conftest.in" "conftest.nl"
 
5234
    $as_echo 'GREP' >> "conftest.nl"
 
5235
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5236
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5237
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5238
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
5239
      # Best one so far, save it but keep looking for a better one
 
5240
      ac_cv_path_GREP="$ac_path_GREP"
 
5241
      ac_path_GREP_max=$ac_count
 
5242
    fi
 
5243
    # 10*(2^10) chars as input seems more than enough
 
5244
    test $ac_count -gt 10 && break
 
5245
  done
 
5246
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5247
esac
 
5248
 
 
5249
      $ac_path_GREP_found && break 3
 
5250
    done
 
5251
  done
 
5252
  done
 
5253
IFS=$as_save_IFS
 
5254
  if test -z "$ac_cv_path_GREP"; then
 
5255
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5256
  fi
 
5257
else
 
5258
  ac_cv_path_GREP=$GREP
 
5259
fi
 
5260
 
 
5261
fi
 
5262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
5263
$as_echo "$ac_cv_path_GREP" >&6; }
 
5264
 GREP="$ac_cv_path_GREP"
 
5265
 
 
5266
 
 
5267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
5268
$as_echo_n "checking for egrep... " >&6; }
 
5269
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5270
  $as_echo_n "(cached) " >&6
 
5271
else
 
5272
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
5273
   then ac_cv_path_EGREP="$GREP -E"
 
5274
   else
 
5275
     if test -z "$EGREP"; then
 
5276
  ac_path_EGREP_found=false
 
5277
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5278
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5279
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5280
do
 
5281
  IFS=$as_save_IFS
 
5282
  test -z "$as_dir" && as_dir=.
 
5283
    for ac_prog in egrep; do
 
5284
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5285
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5286
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5287
# Check for GNU ac_path_EGREP and select it if it is found.
 
5288
  # Check for GNU $ac_path_EGREP
 
5289
case `"$ac_path_EGREP" --version 2>&1` in
 
5290
*GNU*)
 
5291
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
5292
*)
 
5293
  ac_count=0
 
5294
  $as_echo_n 0123456789 >"conftest.in"
 
5295
  while :
 
5296
  do
 
5297
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5298
    mv "conftest.tmp" "conftest.in"
 
5299
    cp "conftest.in" "conftest.nl"
 
5300
    $as_echo 'EGREP' >> "conftest.nl"
 
5301
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5302
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5303
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5304
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
5305
      # Best one so far, save it but keep looking for a better one
 
5306
      ac_cv_path_EGREP="$ac_path_EGREP"
 
5307
      ac_path_EGREP_max=$ac_count
 
5308
    fi
 
5309
    # 10*(2^10) chars as input seems more than enough
 
5310
    test $ac_count -gt 10 && break
 
5311
  done
 
5312
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5313
esac
 
5314
 
 
5315
      $ac_path_EGREP_found && break 3
 
5316
    done
 
5317
  done
 
5318
  done
 
5319
IFS=$as_save_IFS
 
5320
  if test -z "$ac_cv_path_EGREP"; then
 
5321
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5322
  fi
 
5323
else
 
5324
  ac_cv_path_EGREP=$EGREP
 
5325
fi
 
5326
 
 
5327
   fi
 
5328
fi
 
5329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5330
$as_echo "$ac_cv_path_EGREP" >&6; }
 
5331
 EGREP="$ac_cv_path_EGREP"
 
5332
 
 
5333
 
 
5334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
5335
$as_echo_n "checking for ANSI C header files... " >&6; }
 
5336
if test "${ac_cv_header_stdc+set}" = set; then :
 
5337
  $as_echo_n "(cached) " >&6
 
5338
else
 
5339
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5340
/* end confdefs.h.  */
 
5341
#include <stdlib.h>
 
5342
#include <stdarg.h>
 
5343
#include <string.h>
 
5344
#include <float.h>
 
5345
 
 
5346
int
 
5347
main ()
 
5348
{
 
5349
 
 
5350
  ;
 
5351
  return 0;
 
5352
}
 
5353
_ACEOF
 
5354
if ac_fn_c_try_compile "$LINENO"; then :
 
5355
  ac_cv_header_stdc=yes
 
5356
else
 
5357
  ac_cv_header_stdc=no
 
5358
fi
 
5359
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5360
 
 
5361
if test $ac_cv_header_stdc = yes; then
 
5362
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
5363
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5364
/* end confdefs.h.  */
 
5365
#include <string.h>
 
5366
 
 
5367
_ACEOF
 
5368
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5369
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5370
 
 
5371
else
 
5372
  ac_cv_header_stdc=no
 
5373
fi
 
5374
rm -f conftest*
 
5375
 
 
5376
fi
 
5377
 
 
5378
if test $ac_cv_header_stdc = yes; then
 
5379
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
5380
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5381
/* end confdefs.h.  */
 
5382
#include <stdlib.h>
 
5383
 
 
5384
_ACEOF
 
5385
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5386
  $EGREP "free" >/dev/null 2>&1; then :
 
5387
 
 
5388
else
 
5389
  ac_cv_header_stdc=no
 
5390
fi
 
5391
rm -f conftest*
 
5392
 
 
5393
fi
 
5394
 
 
5395
if test $ac_cv_header_stdc = yes; then
 
5396
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
5397
  if test "$cross_compiling" = yes; then :
 
5398
  :
 
5399
else
 
5400
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5401
/* end confdefs.h.  */
 
5402
#include <ctype.h>
 
5403
#include <stdlib.h>
 
5404
#if ((' ' & 0x0FF) == 0x020)
 
5405
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
5406
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
5407
#else
 
5408
# define ISLOWER(c) \
 
5409
                   (('a' <= (c) && (c) <= 'i') \
 
5410
                     || ('j' <= (c) && (c) <= 'r') \
 
5411
                     || ('s' <= (c) && (c) <= 'z'))
 
5412
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
5413
#endif
 
5414
 
 
5415
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
5416
int
 
5417
main ()
 
5418
{
 
5419
  int i;
 
5420
  for (i = 0; i < 256; i++)
 
5421
    if (XOR (islower (i), ISLOWER (i))
 
5422
        || toupper (i) != TOUPPER (i))
 
5423
      return 2;
 
5424
  return 0;
 
5425
}
 
5426
_ACEOF
 
5427
if ac_fn_c_try_run "$LINENO"; then :
 
5428
 
 
5429
else
 
5430
  ac_cv_header_stdc=no
 
5431
fi
 
5432
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5433
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5434
fi
 
5435
 
 
5436
fi
 
5437
fi
 
5438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
5439
$as_echo "$ac_cv_header_stdc" >&6; }
 
5440
if test $ac_cv_header_stdc = yes; then
 
5441
 
 
5442
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
5443
 
 
5444
fi
 
5445
 
 
5446
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
5447
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
5448
                  inttypes.h stdint.h unistd.h
 
5449
do :
 
5450
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5451
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
5452
"
 
5453
eval as_val=\$$as_ac_Header
 
5454
   if test "x$as_val" = x""yes; then :
 
5455
  cat >>confdefs.h <<_ACEOF
 
5456
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5457
_ACEOF
 
5458
 
 
5459
fi
 
5460
 
 
5461
done
 
5462
 
 
5463
 
11867
5464
 
11868
5465
   for ac_header in locale.h
11869
5466
do :
12572
6169
remmina_localedir='${datadir}/locale'
12573
6170
 
12574
6171
 
12575
 
REMMINA_SUBDIRS="src po desktop icons"
 
6172
remmina_plugindir='${libdir}/remmina/plugins'
 
6173
 
 
6174
 
 
6175
REMMINA_SUBDIRS="include src po desktop icons"
12576
6176
 
12577
6177
# Checks GTK+ version.
12578
6178
 
12579
6179
 
 
6180
 
 
6181
 
 
6182
 
 
6183
 
12580
6184
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12581
6185
        if test -n "$ac_tool_prefix"; then
12582
6186
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12689
6293
$as_echo "no" >&6; }
12690
6294
                PKG_CONFIG=""
12691
6295
        fi
12692
 
 
12693
6296
fi
12694
6297
 
12695
6298
pkg_failed=no
12696
6299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12697
6300
$as_echo_n "checking for GTK... " >&6; }
12698
6301
 
12699
 
if test -n "$PKG_CONFIG"; then
12700
 
    if test -n "$GTK_CFLAGS"; then
12701
 
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12702
 
    else
12703
 
        if test -n "$PKG_CONFIG" && \
 
6302
if test -n "$GTK_CFLAGS"; then
 
6303
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
6304
 elif test -n "$PKG_CONFIG"; then
 
6305
    if test -n "$PKG_CONFIG" && \
12704
6306
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12705
6307
    glib-2.0 >= 2.20.0
12706
6308
    gtk+-2.0 >= 2.16.0
 
6309
    gmodule-2.0
12707
6310
\""; } >&5
12708
6311
  ($PKG_CONFIG --exists --print-errors "
12709
6312
    glib-2.0 >= 2.20.0
12710
6313
    gtk+-2.0 >= 2.16.0
 
6314
    gmodule-2.0
12711
6315
") 2>&5
12712
6316
  ac_status=$?
12713
6317
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12715
6319
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "
12716
6320
    glib-2.0 >= 2.20.0
12717
6321
    gtk+-2.0 >= 2.16.0
 
6322
    gmodule-2.0
12718
6323
" 2>/dev/null`
12719
6324
else
12720
6325
  pkg_failed=yes
12721
6326
fi
12722
 
    fi
12723
 
else
12724
 
        pkg_failed=untried
 
6327
 else
 
6328
    pkg_failed=untried
12725
6329
fi
12726
 
if test -n "$PKG_CONFIG"; then
12727
 
    if test -n "$GTK_LIBS"; then
12728
 
        pkg_cv_GTK_LIBS="$GTK_LIBS"
12729
 
    else
12730
 
        if test -n "$PKG_CONFIG" && \
 
6330
if test -n "$GTK_LIBS"; then
 
6331
    pkg_cv_GTK_LIBS="$GTK_LIBS"
 
6332
 elif test -n "$PKG_CONFIG"; then
 
6333
    if test -n "$PKG_CONFIG" && \
12731
6334
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12732
6335
    glib-2.0 >= 2.20.0
12733
6336
    gtk+-2.0 >= 2.16.0
 
6337
    gmodule-2.0
12734
6338
\""; } >&5
12735
6339
  ($PKG_CONFIG --exists --print-errors "
12736
6340
    glib-2.0 >= 2.20.0
12737
6341
    gtk+-2.0 >= 2.16.0
 
6342
    gmodule-2.0
12738
6343
") 2>&5
12739
6344
  ac_status=$?
12740
6345
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12742
6347
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "
12743
6348
    glib-2.0 >= 2.20.0
12744
6349
    gtk+-2.0 >= 2.16.0
 
6350
    gmodule-2.0
12745
6351
" 2>/dev/null`
12746
6352
else
12747
6353
  pkg_failed=yes
12748
6354
fi
12749
 
    fi
12750
 
else
12751
 
        pkg_failed=untried
 
6355
 else
 
6356
    pkg_failed=untried
12752
6357
fi
12753
6358
 
12754
6359
 
12755
6360
 
12756
6361
if test $pkg_failed = yes; then
 
6362
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6363
$as_echo "no" >&6; }
12757
6364
 
12758
6365
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12759
6366
        _pkg_short_errors_supported=yes
12761
6368
        _pkg_short_errors_supported=no
12762
6369
fi
12763
6370
        if test $_pkg_short_errors_supported = yes; then
12764
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
 
6371
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
12765
6372
    glib-2.0 >= 2.20.0
12766
6373
    gtk+-2.0 >= 2.16.0
12767
 
"`
 
6374
    gmodule-2.0
 
6375
" 2>&1`
12768
6376
        else
12769
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
 
6377
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "
12770
6378
    glib-2.0 >= 2.20.0
12771
6379
    gtk+-2.0 >= 2.16.0
12772
 
"`
 
6380
    gmodule-2.0
 
6381
" 2>&1`
12773
6382
        fi
12774
6383
        # Put the nasty error message in config.log where it belongs
12775
6384
        echo "$GTK_PKG_ERRORS" >&5
12777
6386
        as_fn_error "Package requirements (
12778
6387
    glib-2.0 >= 2.20.0
12779
6388
    gtk+-2.0 >= 2.16.0
 
6389
    gmodule-2.0
12780
6390
) were not met:
12781
6391
 
12782
6392
$GTK_PKG_ERRORS
12786
6396
 
12787
6397
Alternatively, you may set the environment variables GTK_CFLAGS
12788
6398
and GTK_LIBS to avoid the need to call pkg-config.
12789
 
See the pkg-config man page for more details.
12790
 
" "$LINENO" 5
 
6399
See the pkg-config man page for more details." "$LINENO" 5
12791
6400
elif test $pkg_failed = untried; then
 
6401
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6402
$as_echo "no" >&6; }
12792
6403
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12793
6404
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12794
6405
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
12806
6417
        GTK_LIBS=$pkg_cv_GTK_LIBS
12807
6418
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12808
6419
$as_echo "yes" >&6; }
12809
 
        :
12810
 
fi
12811
 
remmina_pkgs="glib-2.0 gtk+-2.0"
12812
 
 
12813
 
 
12814
 
pkg_failed=no
12815
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_PRINTER" >&5
12816
 
$as_echo_n "checking for GTK_PRINTER... " >&6; }
12817
 
 
12818
 
if test -n "$PKG_CONFIG"; then
12819
 
    if test -n "$GTK_PRINTER_CFLAGS"; then
12820
 
        pkg_cv_GTK_PRINTER_CFLAGS="$GTK_PRINTER_CFLAGS"
12821
 
    else
12822
 
        if test -n "$PKG_CONFIG" && \
12823
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.16.0\""; } >&5
12824
 
  ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.16.0") 2>&5
12825
 
  ac_status=$?
12826
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12827
 
  test $ac_status = 0; }; then
12828
 
  pkg_cv_GTK_PRINTER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.16.0" 2>/dev/null`
12829
 
else
12830
 
  pkg_failed=yes
12831
 
fi
12832
 
    fi
12833
 
else
12834
 
        pkg_failed=untried
12835
 
fi
12836
 
if test -n "$PKG_CONFIG"; then
12837
 
    if test -n "$GTK_PRINTER_LIBS"; then
12838
 
        pkg_cv_GTK_PRINTER_LIBS="$GTK_PRINTER_LIBS"
12839
 
    else
12840
 
        if test -n "$PKG_CONFIG" && \
12841
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.16.0\""; } >&5
12842
 
  ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.16.0") 2>&5
12843
 
  ac_status=$?
12844
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12845
 
  test $ac_status = 0; }; then
12846
 
  pkg_cv_GTK_PRINTER_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.16.0" 2>/dev/null`
12847
 
else
12848
 
  pkg_failed=yes
12849
 
fi
12850
 
    fi
12851
 
else
12852
 
        pkg_failed=untried
12853
 
fi
12854
 
 
12855
 
 
12856
 
 
12857
 
if test $pkg_failed = yes; then
12858
 
 
12859
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12860
 
        _pkg_short_errors_supported=yes
12861
 
else
12862
 
        _pkg_short_errors_supported=no
12863
 
fi
12864
 
        if test $_pkg_short_errors_supported = yes; then
12865
 
                GTK_PRINTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.16.0"`
12866
 
        else
12867
 
                GTK_PRINTER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.16.0"`
12868
 
        fi
12869
 
        # Put the nasty error message in config.log where it belongs
12870
 
        echo "$GTK_PRINTER_PKG_ERRORS" >&5
12871
 
 
12872
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12873
 
$as_echo "no" >&6; }
12874
 
                print_support="no"
12875
 
 
12876
 
elif test $pkg_failed = untried; then
12877
 
        print_support="no"
12878
 
 
12879
 
else
12880
 
        GTK_PRINTER_CFLAGS=$pkg_cv_GTK_PRINTER_CFLAGS
12881
 
        GTK_PRINTER_LIBS=$pkg_cv_GTK_PRINTER_LIBS
12882
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12883
 
$as_echo "yes" >&6; }
12884
 
 
12885
 
        print_support="yes"
12886
 
        remmina_pkgs="$remmina_pkgs gtk+-unix-print-2.0"
12887
 
 
12888
 
$as_echo "#define HAVE_GTK_PRINTER 1" >>confdefs.h
12889
 
 
12890
 
 
12891
 
fi
 
6420
 
 
6421
fi
 
6422
remmina_pkgs="glib-2.0 gtk+-2.0 gmodule-2.0"
12892
6423
 
12893
6424
# Check libavahi-ui
12894
6425
# Check whether --enable-avahi was given.
12905
6436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVAHI_UI" >&5
12906
6437
$as_echo_n "checking for AVAHI_UI... " >&6; }
12907
6438
 
12908
 
if test -n "$PKG_CONFIG"; then
12909
 
    if test -n "$AVAHI_UI_CFLAGS"; then
12910
 
        pkg_cv_AVAHI_UI_CFLAGS="$AVAHI_UI_CFLAGS"
12911
 
    else
12912
 
        if test -n "$PKG_CONFIG" && \
 
6439
if test -n "$AVAHI_UI_CFLAGS"; then
 
6440
    pkg_cv_AVAHI_UI_CFLAGS="$AVAHI_UI_CFLAGS"
 
6441
 elif test -n "$PKG_CONFIG"; then
 
6442
    if test -n "$PKG_CONFIG" && \
12913
6443
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-ui >= 0.6.22\""; } >&5
12914
6444
  ($PKG_CONFIG --exists --print-errors "avahi-ui >= 0.6.22") 2>&5
12915
6445
  ac_status=$?
12919
6449
else
12920
6450
  pkg_failed=yes
12921
6451
fi
12922
 
    fi
12923
 
else
12924
 
        pkg_failed=untried
 
6452
 else
 
6453
    pkg_failed=untried
12925
6454
fi
12926
 
if test -n "$PKG_CONFIG"; then
12927
 
    if test -n "$AVAHI_UI_LIBS"; then
12928
 
        pkg_cv_AVAHI_UI_LIBS="$AVAHI_UI_LIBS"
12929
 
    else
12930
 
        if test -n "$PKG_CONFIG" && \
 
6455
if test -n "$AVAHI_UI_LIBS"; then
 
6456
    pkg_cv_AVAHI_UI_LIBS="$AVAHI_UI_LIBS"
 
6457
 elif test -n "$PKG_CONFIG"; then
 
6458
    if test -n "$PKG_CONFIG" && \
12931
6459
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-ui >= 0.6.22\""; } >&5
12932
6460
  ($PKG_CONFIG --exists --print-errors "avahi-ui >= 0.6.22") 2>&5
12933
6461
  ac_status=$?
12937
6465
else
12938
6466
  pkg_failed=yes
12939
6467
fi
12940
 
    fi
12941
 
else
12942
 
        pkg_failed=untried
 
6468
 else
 
6469
    pkg_failed=untried
12943
6470
fi
12944
6471
 
12945
6472
 
12946
6473
 
12947
6474
if test $pkg_failed = yes; then
 
6475
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6476
$as_echo "no" >&6; }
12948
6477
 
12949
6478
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12950
6479
        _pkg_short_errors_supported=yes
12952
6481
        _pkg_short_errors_supported=no
12953
6482
fi
12954
6483
        if test $_pkg_short_errors_supported = yes; then
12955
 
                AVAHI_UI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "avahi-ui >= 0.6.22"`
 
6484
                AVAHI_UI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "avahi-ui >= 0.6.22" 2>&1`
12956
6485
        else
12957
 
                AVAHI_UI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "avahi-ui >= 0.6.22"`
 
6486
                AVAHI_UI_PKG_ERRORS=`$PKG_CONFIG --print-errors "avahi-ui >= 0.6.22" 2>&1`
12958
6487
        fi
12959
6488
        # Put the nasty error message in config.log where it belongs
12960
6489
        echo "$AVAHI_UI_PKG_ERRORS" >&5
12961
6490
 
12962
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6491
        avahi_support="no. libavahi-ui-dev required."
 
6492
 
 
6493
elif test $pkg_failed = untried; then
 
6494
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12963
6495
$as_echo "no" >&6; }
12964
 
                avahi_support="no. libavahi-ui-dev required."
12965
 
 
12966
 
elif test $pkg_failed = untried; then
12967
6496
        avahi_support="no. libavahi-ui-dev required."
12968
6497
 
12969
6498
else
12998
6527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VTE" >&5
12999
6528
$as_echo_n "checking for VTE... " >&6; }
13000
6529
 
13001
 
if test -n "$PKG_CONFIG"; then
13002
 
    if test -n "$VTE_CFLAGS"; then
13003
 
        pkg_cv_VTE_CFLAGS="$VTE_CFLAGS"
13004
 
    else
13005
 
        if test -n "$PKG_CONFIG" && \
 
6530
if test -n "$VTE_CFLAGS"; then
 
6531
    pkg_cv_VTE_CFLAGS="$VTE_CFLAGS"
 
6532
 elif test -n "$PKG_CONFIG"; then
 
6533
    if test -n "$PKG_CONFIG" && \
13006
6534
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vte >= 0.12.0\""; } >&5
13007
6535
  ($PKG_CONFIG --exists --print-errors "vte >= 0.12.0") 2>&5
13008
6536
  ac_status=$?
13012
6540
else
13013
6541
  pkg_failed=yes
13014
6542
fi
13015
 
    fi
13016
 
else
13017
 
        pkg_failed=untried
 
6543
 else
 
6544
    pkg_failed=untried
13018
6545
fi
13019
 
if test -n "$PKG_CONFIG"; then
13020
 
    if test -n "$VTE_LIBS"; then
13021
 
        pkg_cv_VTE_LIBS="$VTE_LIBS"
13022
 
    else
13023
 
        if test -n "$PKG_CONFIG" && \
 
6546
if test -n "$VTE_LIBS"; then
 
6547
    pkg_cv_VTE_LIBS="$VTE_LIBS"
 
6548
 elif test -n "$PKG_CONFIG"; then
 
6549
    if test -n "$PKG_CONFIG" && \
13024
6550
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vte >= 0.12.0\""; } >&5
13025
6551
  ($PKG_CONFIG --exists --print-errors "vte >= 0.12.0") 2>&5
13026
6552
  ac_status=$?
13030
6556
else
13031
6557
  pkg_failed=yes
13032
6558
fi
13033
 
    fi
13034
 
else
13035
 
        pkg_failed=untried
 
6559
 else
 
6560
    pkg_failed=untried
13036
6561
fi
13037
6562
 
13038
6563
 
13039
6564
 
13040
6565
if test $pkg_failed = yes; then
 
6566
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6567
$as_echo "no" >&6; }
13041
6568
 
13042
6569
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13043
6570
        _pkg_short_errors_supported=yes
13045
6572
        _pkg_short_errors_supported=no
13046
6573
fi
13047
6574
        if test $_pkg_short_errors_supported = yes; then
13048
 
                VTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vte >= 0.12.0"`
 
6575
                VTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "vte >= 0.12.0" 2>&1`
13049
6576
        else
13050
 
                VTE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vte >= 0.12.0"`
 
6577
                VTE_PKG_ERRORS=`$PKG_CONFIG --print-errors "vte >= 0.12.0" 2>&1`
13051
6578
        fi
13052
6579
        # Put the nasty error message in config.log where it belongs
13053
6580
        echo "$VTE_PKG_ERRORS" >&5
13054
6581
 
13055
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6582
        vte_support="no. libvte-dev required."
 
6583
 
 
6584
elif test $pkg_failed = untried; then
 
6585
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13056
6586
$as_echo "no" >&6; }
13057
 
                vte_support="no. libvte-dev required."
13058
 
 
13059
 
elif test $pkg_failed = untried; then
13060
6587
        vte_support="no. libvte-dev required."
13061
6588
 
13062
6589
else
13091
6618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5
13092
6619
$as_echo_n "checking for UNIQUE... " >&6; }
13093
6620
 
13094
 
if test -n "$PKG_CONFIG"; then
13095
 
    if test -n "$UNIQUE_CFLAGS"; then
13096
 
        pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
13097
 
    else
13098
 
        if test -n "$PKG_CONFIG" && \
 
6621
if test -n "$UNIQUE_CFLAGS"; then
 
6622
    pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
 
6623
 elif test -n "$PKG_CONFIG"; then
 
6624
    if test -n "$PKG_CONFIG" && \
13099
6625
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0 >= 1.0.8\""; } >&5
13100
6626
  ($PKG_CONFIG --exists --print-errors "unique-1.0 >= 1.0.8") 2>&5
13101
6627
  ac_status=$?
13105
6631
else
13106
6632
  pkg_failed=yes
13107
6633
fi
13108
 
    fi
13109
 
else
13110
 
        pkg_failed=untried
 
6634
 else
 
6635
    pkg_failed=untried
13111
6636
fi
13112
 
if test -n "$PKG_CONFIG"; then
13113
 
    if test -n "$UNIQUE_LIBS"; then
13114
 
        pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
13115
 
    else
13116
 
        if test -n "$PKG_CONFIG" && \
 
6637
if test -n "$UNIQUE_LIBS"; then
 
6638
    pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
 
6639
 elif test -n "$PKG_CONFIG"; then
 
6640
    if test -n "$PKG_CONFIG" && \
13117
6641
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0 >= 1.0.8\""; } >&5
13118
6642
  ($PKG_CONFIG --exists --print-errors "unique-1.0 >= 1.0.8") 2>&5
13119
6643
  ac_status=$?
13123
6647
else
13124
6648
  pkg_failed=yes
13125
6649
fi
13126
 
    fi
13127
 
else
13128
 
        pkg_failed=untried
 
6650
 else
 
6651
    pkg_failed=untried
13129
6652
fi
13130
6653
 
13131
6654
 
13132
6655
 
13133
6656
if test $pkg_failed = yes; then
 
6657
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6658
$as_echo "no" >&6; }
13134
6659
 
13135
6660
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13136
6661
        _pkg_short_errors_supported=yes
13138
6663
        _pkg_short_errors_supported=no
13139
6664
fi
13140
6665
        if test $_pkg_short_errors_supported = yes; then
13141
 
                UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "unique-1.0 >= 1.0.8"`
 
6666
                UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "unique-1.0 >= 1.0.8" 2>&1`
13142
6667
        else
13143
 
                UNIQUE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "unique-1.0 >= 1.0.8"`
 
6668
                UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors "unique-1.0 >= 1.0.8" 2>&1`
13144
6669
        fi
13145
6670
        # Put the nasty error message in config.log where it belongs
13146
6671
        echo "$UNIQUE_PKG_ERRORS" >&5
13147
6672
 
13148
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6673
        unique_support="no. libunique-dev required."
 
6674
 
 
6675
elif test $pkg_failed = untried; then
 
6676
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13149
6677
$as_echo "no" >&6; }
13150
 
                unique_support="no. libunique-dev required."
13151
 
 
13152
 
elif test $pkg_failed = untried; then
13153
6678
        unique_support="no. libunique-dev required."
13154
6679
 
13155
6680
else
13217
6742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
13218
6743
$as_echo_n "checking for GTHREAD... " >&6; }
13219
6744
 
13220
 
if test -n "$PKG_CONFIG"; then
13221
 
    if test -n "$GTHREAD_CFLAGS"; then
13222
 
        pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
13223
 
    else
13224
 
        if test -n "$PKG_CONFIG" && \
 
6745
if test -n "$GTHREAD_CFLAGS"; then
 
6746
    pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
 
6747
 elif test -n "$PKG_CONFIG"; then
 
6748
    if test -n "$PKG_CONFIG" && \
13225
6749
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.14.0\""; } >&5
13226
6750
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.14.0") 2>&5
13227
6751
  ac_status=$?
13231
6755
else
13232
6756
  pkg_failed=yes
13233
6757
fi
13234
 
    fi
13235
 
else
13236
 
        pkg_failed=untried
 
6758
 else
 
6759
    pkg_failed=untried
13237
6760
fi
13238
 
if test -n "$PKG_CONFIG"; then
13239
 
    if test -n "$GTHREAD_LIBS"; then
13240
 
        pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
13241
 
    else
13242
 
        if test -n "$PKG_CONFIG" && \
 
6761
if test -n "$GTHREAD_LIBS"; then
 
6762
    pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
 
6763
 elif test -n "$PKG_CONFIG"; then
 
6764
    if test -n "$PKG_CONFIG" && \
13243
6765
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.14.0\""; } >&5
13244
6766
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.14.0") 2>&5
13245
6767
  ac_status=$?
13249
6771
else
13250
6772
  pkg_failed=yes
13251
6773
fi
13252
 
    fi
13253
 
else
13254
 
        pkg_failed=untried
 
6774
 else
 
6775
    pkg_failed=untried
13255
6776
fi
13256
6777
 
13257
6778
 
13258
6779
 
13259
6780
if test $pkg_failed = yes; then
 
6781
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6782
$as_echo "no" >&6; }
13260
6783
 
13261
6784
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13262
6785
        _pkg_short_errors_supported=yes
13264
6787
        _pkg_short_errors_supported=no
13265
6788
fi
13266
6789
        if test $_pkg_short_errors_supported = yes; then
13267
 
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0 >= 2.14.0"`
 
6790
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gthread-2.0 >= 2.14.0" 2>&1`
13268
6791
        else
13269
 
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0 >= 2.14.0"`
 
6792
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors "gthread-2.0 >= 2.14.0" 2>&1`
13270
6793
        fi
13271
6794
        # Put the nasty error message in config.log where it belongs
13272
6795
        echo "$GTHREAD_PKG_ERRORS" >&5
13280
6803
 
13281
6804
Alternatively, you may set the environment variables GTHREAD_CFLAGS
13282
6805
and GTHREAD_LIBS to avoid the need to call pkg-config.
13283
 
See the pkg-config man page for more details.
13284
 
" "$LINENO" 5
 
6806
See the pkg-config man page for more details." "$LINENO" 5
13285
6807
elif test $pkg_failed = untried; then
 
6808
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6809
$as_echo "no" >&6; }
13286
6810
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13287
6811
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13288
6812
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13300
6824
        GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
13301
6825
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13302
6826
$as_echo "yes" >&6; }
13303
 
        :
 
6827
 
13304
6828
fi
13305
6829
        remmina_pkgs="$remmina_pkgs gthread-2.0"
13306
6830
 
13320
6844
fi
13321
6845
 
13322
6846
 
13323
 
# Check LibVNCClient
13324
 
# Check whether --enable-vnc was given.
13325
 
if test "${enable_vnc+set}" = set; then :
13326
 
  enableval=$enable_vnc; vnc_support=$enableval
13327
 
else
13328
 
  vnc_support="yes"
13329
 
 
13330
 
fi
13331
 
 
13332
 
if test "x$vnc_support" != "xno"; then
13333
 
    if test "x$vnc_support" = "xdl"; then
13334
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rfbGetClient in -lvncclient" >&5
13335
 
$as_echo_n "checking for rfbGetClient in -lvncclient... " >&6; }
13336
 
if test "${ac_cv_lib_vncclient_rfbGetClient+set}" = set; then :
13337
 
  $as_echo_n "(cached) " >&6
13338
 
else
13339
 
  ac_check_lib_save_LIBS=$LIBS
13340
 
LIBS="-lvncclient  $LIBS"
13341
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342
 
/* end confdefs.h.  */
13343
 
 
13344
 
/* Override any GCC internal prototype to avoid an error.
13345
 
   Use char because int might match the return type of a GCC
13346
 
   builtin and then its argument prototype would still apply.  */
13347
 
#ifdef __cplusplus
13348
 
extern "C"
13349
 
#endif
13350
 
char rfbGetClient ();
13351
 
int
13352
 
main ()
13353
 
{
13354
 
return rfbGetClient ();
13355
 
  ;
13356
 
  return 0;
13357
 
}
13358
 
_ACEOF
13359
 
if ac_fn_c_try_link "$LINENO"; then :
13360
 
  ac_cv_lib_vncclient_rfbGetClient=yes
13361
 
else
13362
 
  ac_cv_lib_vncclient_rfbGetClient=no
13363
 
fi
13364
 
rm -f core conftest.err conftest.$ac_objext \
13365
 
    conftest$ac_exeext conftest.$ac_ext
13366
 
LIBS=$ac_check_lib_save_LIBS
13367
 
fi
13368
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vncclient_rfbGetClient" >&5
13369
 
$as_echo "$ac_cv_lib_vncclient_rfbGetClient" >&6; }
13370
 
if test "x$ac_cv_lib_vncclient_rfbGetClient" = x""yes; then :
13371
 
 
13372
 
            ac_fn_c_check_header_mongrel "$LINENO" "rfb/rfbclient.h" "ac_cv_header_rfb_rfbclient_h" "$ac_includes_default"
13373
 
if test "x$ac_cv_header_rfb_rfbclient_h" = x""yes; then :
13374
 
 
13375
 
                vnc_support="link to libvncclient externally"
13376
 
                VNC_CFLAGS=""
13377
 
                VNC_LIBS="-lvncclient"
13378
 
 
13379
 
 
13380
 
 
13381
 
$as_echo "#define HAVE_LIBVNCCLIENT 1" >>confdefs.h
13382
 
 
13383
 
 
13384
 
else
13385
 
  vnc_support="no. libvncclient(libvncserver)-dev required."
13386
 
fi
13387
 
 
13388
 
 
13389
 
 
13390
 
else
13391
 
 
13392
 
            vnc_support="no. libvncclient(libvncserver) required."
13393
 
 
13394
 
fi
13395
 
 
13396
 
    else
13397
 
        vnc_support=""
13398
 
    fi
13399
 
else
13400
 
    vnc_support="disabled."
13401
 
fi
13402
 
if test "x$vnc_support" = "x"; then
13403
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
13404
 
$as_echo_n "checking for deflate in -lz... " >&6; }
13405
 
if test "${ac_cv_lib_z_deflate+set}" = set; then :
13406
 
  $as_echo_n "(cached) " >&6
13407
 
else
13408
 
  ac_check_lib_save_LIBS=$LIBS
13409
 
LIBS="-lz  $LIBS"
13410
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13411
 
/* end confdefs.h.  */
13412
 
 
13413
 
/* Override any GCC internal prototype to avoid an error.
13414
 
   Use char because int might match the return type of a GCC
13415
 
   builtin and then its argument prototype would still apply.  */
13416
 
#ifdef __cplusplus
13417
 
extern "C"
13418
 
#endif
13419
 
char deflate ();
13420
 
int
13421
 
main ()
13422
 
{
13423
 
return deflate ();
13424
 
  ;
13425
 
  return 0;
13426
 
}
13427
 
_ACEOF
13428
 
if ac_fn_c_try_link "$LINENO"; then :
13429
 
  ac_cv_lib_z_deflate=yes
13430
 
else
13431
 
  ac_cv_lib_z_deflate=no
13432
 
fi
13433
 
rm -f core conftest.err conftest.$ac_objext \
13434
 
    conftest$ac_exeext conftest.$ac_ext
13435
 
LIBS=$ac_check_lib_save_LIBS
13436
 
fi
13437
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
13438
 
$as_echo "$ac_cv_lib_z_deflate" >&6; }
13439
 
if test "x$ac_cv_lib_z_deflate" = x""yes; then :
13440
 
  cat >>confdefs.h <<_ACEOF
13441
 
#define HAVE_LIBZ 1
13442
 
_ACEOF
13443
 
 
13444
 
  LIBS="-lz $LIBS"
13445
 
 
13446
 
else
13447
 
  vnc_support="no. zlib required."
13448
 
fi
13449
 
 
13450
 
fi
13451
 
if test "x$vnc_support" = "x"; then
13452
 
    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13453
 
if test "x$ac_cv_header_zlib_h" = x""yes; then :
13454
 
 
13455
 
else
13456
 
  vnc_support="no. zlib-dev required."
13457
 
fi
13458
 
 
13459
 
 
13460
 
fi
13461
 
if test "x$vnc_support" = "x"; then
13462
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_CreateCompress in -ljpeg" >&5
13463
 
$as_echo_n "checking for jpeg_CreateCompress in -ljpeg... " >&6; }
13464
 
if test "${ac_cv_lib_jpeg_jpeg_CreateCompress+set}" = set; then :
13465
 
  $as_echo_n "(cached) " >&6
13466
 
else
13467
 
  ac_check_lib_save_LIBS=$LIBS
13468
 
LIBS="-ljpeg  $LIBS"
13469
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470
 
/* end confdefs.h.  */
13471
 
 
13472
 
/* Override any GCC internal prototype to avoid an error.
13473
 
   Use char because int might match the return type of a GCC
13474
 
   builtin and then its argument prototype would still apply.  */
13475
 
#ifdef __cplusplus
13476
 
extern "C"
13477
 
#endif
13478
 
char jpeg_CreateCompress ();
13479
 
int
13480
 
main ()
13481
 
{
13482
 
return jpeg_CreateCompress ();
13483
 
  ;
13484
 
  return 0;
13485
 
}
13486
 
_ACEOF
13487
 
if ac_fn_c_try_link "$LINENO"; then :
13488
 
  ac_cv_lib_jpeg_jpeg_CreateCompress=yes
13489
 
else
13490
 
  ac_cv_lib_jpeg_jpeg_CreateCompress=no
13491
 
fi
13492
 
rm -f core conftest.err conftest.$ac_objext \
13493
 
    conftest$ac_exeext conftest.$ac_ext
13494
 
LIBS=$ac_check_lib_save_LIBS
13495
 
fi
13496
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_CreateCompress" >&5
13497
 
$as_echo "$ac_cv_lib_jpeg_jpeg_CreateCompress" >&6; }
13498
 
if test "x$ac_cv_lib_jpeg_jpeg_CreateCompress" = x""yes; then :
13499
 
  cat >>confdefs.h <<_ACEOF
13500
 
#define HAVE_LIBJPEG 1
13501
 
_ACEOF
13502
 
 
13503
 
  LIBS="-ljpeg $LIBS"
13504
 
 
13505
 
else
13506
 
  vnc_support="no. libjpeg required."
13507
 
fi
13508
 
 
13509
 
fi
13510
 
if test "x$vnc_support" = "x"; then
13511
 
    ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13512
 
if test "x$ac_cv_header_jpeglib_h" = x""yes; then :
13513
 
 
13514
 
else
13515
 
  vnc_support="no. libjpeg-dev required."
13516
 
fi
13517
 
 
13518
 
 
13519
 
fi
13520
 
if test "x$vnc_support" = "x"; then
13521
 
 
13522
 
pkg_failed=no
13523
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
13524
 
$as_echo_n "checking for GNUTLS... " >&6; }
13525
 
 
13526
 
if test -n "$PKG_CONFIG"; then
13527
 
    if test -n "$GNUTLS_CFLAGS"; then
13528
 
        pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS"
13529
 
    else
13530
 
        if test -n "$PKG_CONFIG" && \
13531
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.4.0\""; } >&5
13532
 
  ($PKG_CONFIG --exists --print-errors "gnutls >= 2.4.0") 2>&5
13533
 
  ac_status=$?
13534
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13535
 
  test $ac_status = 0; }; then
13536
 
  pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.4.0" 2>/dev/null`
13537
 
else
13538
 
  pkg_failed=yes
13539
 
fi
13540
 
    fi
13541
 
else
13542
 
        pkg_failed=untried
13543
 
fi
13544
 
if test -n "$PKG_CONFIG"; then
13545
 
    if test -n "$GNUTLS_LIBS"; then
13546
 
        pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS"
13547
 
    else
13548
 
        if test -n "$PKG_CONFIG" && \
13549
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.4.0\""; } >&5
13550
 
  ($PKG_CONFIG --exists --print-errors "gnutls >= 2.4.0") 2>&5
13551
 
  ac_status=$?
13552
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13553
 
  test $ac_status = 0; }; then
13554
 
  pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.4.0" 2>/dev/null`
13555
 
else
13556
 
  pkg_failed=yes
13557
 
fi
13558
 
    fi
13559
 
else
13560
 
        pkg_failed=untried
13561
 
fi
13562
 
 
13563
 
 
13564
 
 
13565
 
if test $pkg_failed = yes; then
13566
 
 
13567
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13568
 
        _pkg_short_errors_supported=yes
13569
 
else
13570
 
        _pkg_short_errors_supported=no
13571
 
fi
13572
 
        if test $_pkg_short_errors_supported = yes; then
13573
 
                GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnutls >= 2.4.0"`
13574
 
        else
13575
 
                GNUTLS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnutls >= 2.4.0"`
13576
 
        fi
13577
 
        # Put the nasty error message in config.log where it belongs
13578
 
        echo "$GNUTLS_PKG_ERRORS" >&5
13579
 
 
13580
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13581
 
$as_echo "no" >&6; }
13582
 
                vnc_support="no. libgnutls-dev required."
13583
 
elif test $pkg_failed = untried; then
13584
 
        vnc_support="no. libgnutls-dev required."
13585
 
else
13586
 
        GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS
13587
 
        GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS
13588
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13589
 
$as_echo "yes" >&6; }
13590
 
        :
13591
 
fi
13592
 
fi
13593
 
if test "x$vnc_support" = "x"; then
13594
 
    ac_config_commands="$ac_config_commands libvncserver/rfb/rfbconfig.h"
13595
 
 
13596
 
    remmina_pkgs="$remmina_pkgs gnutls"
13597
 
    LIBS="-ljpeg -lz $LIBS"
13598
 
    REMMINA_SUBDIRS="libvncserver $REMMINA_SUBDIRS"
13599
 
    VNC_CFLAGS="-I../libvncserver"
13600
 
    VNC_LIBS="../libvncserver/libvncclient.la"
13601
 
 
13602
 
 
13603
 
 
13604
 
 
13605
 
 
13606
 
$as_echo "#define WITH_CLIENT_TLS 1" >>confdefs.h
13607
 
 
13608
 
 
13609
 
$as_echo "#define HAVE_LIBVNCCLIENT 1" >>confdefs.h
13610
 
 
13611
 
    vnc_support="yes"
13612
 
fi
13613
 
 
13614
6847
# Check libssh
13615
6848
# Check whether --enable-ssh was given.
13616
6849
if test "${enable_ssh+set}" = set; then :
13622
6855
 
13623
6856
if test "x$ssh_support" != "xno"; then
13624
6857
    if test "$pthread_support" = "yes"; then
13625
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for channel_forward_listen in -lssh" >&5
13626
 
$as_echo_n "checking for channel_forward_listen in -lssh... " >&6; }
13627
 
if test "${ac_cv_lib_ssh_channel_forward_listen+set}" = set; then :
 
6858
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssh_options_set in -lssh" >&5
 
6859
$as_echo_n "checking for ssh_options_set in -lssh... " >&6; }
 
6860
if test "${ac_cv_lib_ssh_ssh_options_set+set}" = set; then :
13628
6861
  $as_echo_n "(cached) " >&6
13629
6862
else
13630
6863
  ac_check_lib_save_LIBS=$LIBS
13638
6871
#ifdef __cplusplus
13639
6872
extern "C"
13640
6873
#endif
13641
 
char channel_forward_listen ();
 
6874
char ssh_options_set ();
13642
6875
int
13643
6876
main ()
13644
6877
{
13645
 
return channel_forward_listen ();
 
6878
return ssh_options_set ();
13646
6879
  ;
13647
6880
  return 0;
13648
6881
}
13649
6882
_ACEOF
13650
6883
if ac_fn_c_try_link "$LINENO"; then :
13651
 
  ac_cv_lib_ssh_channel_forward_listen=yes
 
6884
  ac_cv_lib_ssh_ssh_options_set=yes
13652
6885
else
13653
 
  ac_cv_lib_ssh_channel_forward_listen=no
 
6886
  ac_cv_lib_ssh_ssh_options_set=no
13654
6887
fi
13655
6888
rm -f core conftest.err conftest.$ac_objext \
13656
6889
    conftest$ac_exeext conftest.$ac_ext
13657
6890
LIBS=$ac_check_lib_save_LIBS
13658
6891
fi
13659
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_channel_forward_listen" >&5
13660
 
$as_echo "$ac_cv_lib_ssh_channel_forward_listen" >&6; }
13661
 
if test "x$ac_cv_lib_ssh_channel_forward_listen" = x""yes; then :
 
6892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_options_set" >&5
 
6893
$as_echo "$ac_cv_lib_ssh_ssh_options_set" >&6; }
 
6894
if test "x$ac_cv_lib_ssh_ssh_options_set" = x""yes; then :
13662
6895
 
13663
6896
            ac_fn_c_check_header_mongrel "$LINENO" "libssh/libssh.h" "ac_cv_header_libssh_libssh_h" "$ac_includes_default"
13664
6897
if test "x$ac_cv_header_libssh_libssh_h" = x""yes; then :
13848
7081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMMINA" >&5
13849
7082
$as_echo_n "checking for REMMINA... " >&6; }
13850
7083
 
13851
 
if test -n "$PKG_CONFIG"; then
13852
 
    if test -n "$REMMINA_CFLAGS"; then
13853
 
        pkg_cv_REMMINA_CFLAGS="$REMMINA_CFLAGS"
13854
 
    else
13855
 
        if test -n "$PKG_CONFIG" && \
 
7084
if test -n "$REMMINA_CFLAGS"; then
 
7085
    pkg_cv_REMMINA_CFLAGS="$REMMINA_CFLAGS"
 
7086
 elif test -n "$PKG_CONFIG"; then
 
7087
    if test -n "$PKG_CONFIG" && \
13856
7088
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13857
7089
    \$remmina_pkgs
13858
7090
\""; } >&5
13868
7100
else
13869
7101
  pkg_failed=yes
13870
7102
fi
13871
 
    fi
13872
 
else
13873
 
        pkg_failed=untried
 
7103
 else
 
7104
    pkg_failed=untried
13874
7105
fi
13875
 
if test -n "$PKG_CONFIG"; then
13876
 
    if test -n "$REMMINA_LIBS"; then
13877
 
        pkg_cv_REMMINA_LIBS="$REMMINA_LIBS"
13878
 
    else
13879
 
        if test -n "$PKG_CONFIG" && \
 
7106
if test -n "$REMMINA_LIBS"; then
 
7107
    pkg_cv_REMMINA_LIBS="$REMMINA_LIBS"
 
7108
 elif test -n "$PKG_CONFIG"; then
 
7109
    if test -n "$PKG_CONFIG" && \
13880
7110
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13881
7111
    \$remmina_pkgs
13882
7112
\""; } >&5
13892
7122
else
13893
7123
  pkg_failed=yes
13894
7124
fi
13895
 
    fi
13896
 
else
13897
 
        pkg_failed=untried
 
7125
 else
 
7126
    pkg_failed=untried
13898
7127
fi
13899
7128
 
13900
7129
 
13901
7130
 
13902
7131
if test $pkg_failed = yes; then
 
7132
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7133
$as_echo "no" >&6; }
13903
7134
 
13904
7135
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13905
7136
        _pkg_short_errors_supported=yes
13907
7138
        _pkg_short_errors_supported=no
13908
7139
fi
13909
7140
        if test $_pkg_short_errors_supported = yes; then
13910
 
                REMMINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
 
7141
                REMMINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
13911
7142
    $remmina_pkgs
13912
 
"`
 
7143
" 2>&1`
13913
7144
        else
13914
 
                REMMINA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
 
7145
                REMMINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "
13915
7146
    $remmina_pkgs
13916
 
"`
 
7147
" 2>&1`
13917
7148
        fi
13918
7149
        # Put the nasty error message in config.log where it belongs
13919
7150
        echo "$REMMINA_PKG_ERRORS" >&5
13929
7160
 
13930
7161
Alternatively, you may set the environment variables REMMINA_CFLAGS
13931
7162
and REMMINA_LIBS to avoid the need to call pkg-config.
13932
 
See the pkg-config man page for more details.
13933
 
" "$LINENO" 5
 
7163
See the pkg-config man page for more details." "$LINENO" 5
13934
7164
elif test $pkg_failed = untried; then
 
7165
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7166
$as_echo "no" >&6; }
13935
7167
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13936
7168
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13937
7169
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13949
7181
        REMMINA_LIBS=$pkg_cv_REMMINA_LIBS
13950
7182
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13951
7183
$as_echo "yes" >&6; }
13952
 
        :
 
7184
 
13953
7185
fi
13954
7186
 
13955
7187
 
13997
7229
 
13998
7230
# Checks for library functions.
13999
7231
 
14000
 
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in desktop/Makefile icons/Makefile libvncserver/Makefile"
 
7232
ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile po/Makefile.in desktop/Makefile icons/Makefile"
14001
7233
 
14002
7234
 
14003
7235
cat >confcache <<\_ACEOF
14529
7761
# report actual input values of CONFIG_FILES etc. instead of their
14530
7762
# values after options handling.
14531
7763
ac_log="
14532
 
This file was extended by remmina $as_me 0.7.5, which was
14533
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
7764
This file was extended by remmina $as_me 0.8.0, which was
 
7765
generated by GNU Autoconf 2.65.  Invocation command line was
14534
7766
 
14535
7767
  CONFIG_FILES    = $CONFIG_FILES
14536
7768
  CONFIG_HEADERS  = $CONFIG_HEADERS
14570
7802
 
14571
7803
  -h, --help       print this help, then exit
14572
7804
  -V, --version    print version number and configuration settings, then exit
 
7805
      --config     print configuration, then exit
14573
7806
  -q, --quiet, --silent
14574
7807
                   do not print progress messages
14575
7808
  -d, --debug      don't remove temporary files
14592
7825
 
14593
7826
_ACEOF
14594
7827
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7828
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14595
7829
ac_cs_version="\\
14596
 
remmina config.status 0.7.5
14597
 
configured by $0, generated by GNU Autoconf 2.64,
14598
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
7830
remmina config.status 0.8.0
 
7831
configured by $0, generated by GNU Autoconf 2.65,
 
7832
  with options \\"\$ac_cs_config\\"
14599
7833
 
14600
7834
Copyright (C) 2009 Free Software Foundation, Inc.
14601
7835
This config.status script is free software; the Free Software Foundation
14633
7867
    ac_cs_recheck=: ;;
14634
7868
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14635
7869
    $as_echo "$ac_cs_version"; exit ;;
 
7870
  --config | --confi | --conf | --con | --co | --c )
 
7871
    $as_echo "$ac_cs_config"; exit ;;
14636
7872
  --debug | --debu | --deb | --de | --d | -d )
14637
7873
    debug=: ;;
14638
7874
  --file | --fil | --fi | --f )
14707
7943
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14708
7944
 
14709
7945
 
14710
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
14711
 
# if CDPATH is set.
14712
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14713
 
 
14714
 
sed_quote_subst='$sed_quote_subst'
14715
 
double_quote_subst='$double_quote_subst'
14716
 
delay_variable_subst='$delay_variable_subst'
14717
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14718
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14719
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14720
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14721
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14722
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14723
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14724
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14725
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14726
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14727
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14728
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14729
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14730
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14731
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14732
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14733
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14734
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14735
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14736
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14737
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14738
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14739
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14740
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14741
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14742
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14743
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14744
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14745
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14746
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14747
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14748
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14749
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14750
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14751
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14752
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14753
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14754
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14755
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14756
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14757
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14758
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14759
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14760
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14761
 
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"`'
14762
 
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"`'
14763
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14764
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14765
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14766
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14767
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14768
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14769
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14770
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14771
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14772
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14773
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14774
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14775
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14776
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14777
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14778
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14779
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14780
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14781
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14782
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14783
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14784
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14785
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14786
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14787
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14788
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14789
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14790
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14791
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14792
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14793
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14794
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14795
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14796
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14797
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14798
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14799
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14800
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14801
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14802
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14803
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14804
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14805
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14806
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14807
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14808
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14809
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14810
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14811
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14812
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14813
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14814
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14815
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14816
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14817
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14818
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14819
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14820
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14821
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14822
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14823
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14824
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14825
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14826
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14827
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14828
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14829
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14830
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14831
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14832
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14833
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14834
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14835
 
 
14836
 
LTCC='$LTCC'
14837
 
LTCFLAGS='$LTCFLAGS'
14838
 
compiler='$compiler_DEFAULT'
14839
 
 
14840
 
# Quote evaled strings.
14841
 
for var in SED \
14842
 
GREP \
14843
 
EGREP \
14844
 
FGREP \
14845
 
LD \
14846
 
NM \
14847
 
LN_S \
14848
 
lt_SP2NL \
14849
 
lt_NL2SP \
14850
 
reload_flag \
14851
 
OBJDUMP \
14852
 
deplibs_check_method \
14853
 
file_magic_cmd \
14854
 
AR \
14855
 
AR_FLAGS \
14856
 
STRIP \
14857
 
RANLIB \
14858
 
CC \
14859
 
CFLAGS \
14860
 
compiler \
14861
 
lt_cv_sys_global_symbol_pipe \
14862
 
lt_cv_sys_global_symbol_to_cdecl \
14863
 
lt_cv_sys_global_symbol_to_c_name_address \
14864
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14865
 
SHELL \
14866
 
ECHO \
14867
 
lt_prog_compiler_no_builtin_flag \
14868
 
lt_prog_compiler_wl \
14869
 
lt_prog_compiler_pic \
14870
 
lt_prog_compiler_static \
14871
 
lt_cv_prog_compiler_c_o \
14872
 
need_locks \
14873
 
DSYMUTIL \
14874
 
NMEDIT \
14875
 
LIPO \
14876
 
OTOOL \
14877
 
OTOOL64 \
14878
 
shrext_cmds \
14879
 
export_dynamic_flag_spec \
14880
 
whole_archive_flag_spec \
14881
 
compiler_needs_object \
14882
 
with_gnu_ld \
14883
 
allow_undefined_flag \
14884
 
no_undefined_flag \
14885
 
hardcode_libdir_flag_spec \
14886
 
hardcode_libdir_flag_spec_ld \
14887
 
hardcode_libdir_separator \
14888
 
fix_srcfile_path \
14889
 
exclude_expsyms \
14890
 
include_expsyms \
14891
 
file_list_spec \
14892
 
variables_saved_for_relink \
14893
 
libname_spec \
14894
 
library_names_spec \
14895
 
soname_spec \
14896
 
finish_eval \
14897
 
old_striplib \
14898
 
striplib; do
14899
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14900
 
    *[\\\\\\\`\\"\\\$]*)
14901
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14902
 
      ;;
14903
 
    *)
14904
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14905
 
      ;;
14906
 
    esac
14907
 
done
14908
 
 
14909
 
# Double-quote double-evaled strings.
14910
 
for var in reload_cmds \
14911
 
old_postinstall_cmds \
14912
 
old_postuninstall_cmds \
14913
 
old_archive_cmds \
14914
 
extract_expsyms_cmds \
14915
 
old_archive_from_new_cmds \
14916
 
old_archive_from_expsyms_cmds \
14917
 
archive_cmds \
14918
 
archive_expsym_cmds \
14919
 
module_cmds \
14920
 
module_expsym_cmds \
14921
 
export_symbols_cmds \
14922
 
prelink_cmds \
14923
 
postinstall_cmds \
14924
 
postuninstall_cmds \
14925
 
finish_cmds \
14926
 
sys_lib_search_path_spec \
14927
 
sys_lib_dlsearch_path_spec; do
14928
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14929
 
    *[\\\\\\\`\\"\\\$]*)
14930
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14931
 
      ;;
14932
 
    *)
14933
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14934
 
      ;;
14935
 
    esac
14936
 
done
14937
 
 
14938
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
14939
 
case \$lt_ECHO in
14940
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14941
 
  ;;
14942
 
esac
14943
 
 
14944
 
ac_aux_dir='$ac_aux_dir'
14945
 
xsi_shell='$xsi_shell'
14946
 
lt_shell_append='$lt_shell_append'
14947
 
 
14948
 
# See if we are running on zsh, and set the options which allow our
14949
 
# commands through without removal of \ escapes INIT.
14950
 
if test -n "\${ZSH_VERSION+set}" ; then
14951
 
   setopt NO_GLOB_SUBST
14952
 
fi
14953
 
 
14954
 
 
14955
 
    PACKAGE='$PACKAGE'
14956
 
    VERSION='$VERSION'
14957
 
    TIMESTAMP='$TIMESTAMP'
14958
 
    RM='$RM'
14959
 
    ofile='$ofile'
14960
 
 
14961
 
 
14962
 
 
14963
 
 
14964
 
PACKAGE="$PACKAGE"
14965
 
 
14966
7946
_ACEOF
14967
7947
 
14968
7948
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14973
7953
  case $ac_config_target in
14974
7954
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14975
7955
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14976
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14977
7956
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14978
 
    "libvncserver/rfb/rfbconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS libvncserver/rfb/rfbconfig.h" ;;
14979
7957
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
7958
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14980
7959
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14981
7960
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14982
7961
    "desktop/Makefile") CONFIG_FILES="$CONFIG_FILES desktop/Makefile" ;;
14983
7962
    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
14984
 
    "libvncserver/Makefile") CONFIG_FILES="$CONFIG_FILES libvncserver/Makefile" ;;
14985
7963
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14986
7964
 
14987
7965
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15086
8064
t delim
15087
8065
:nl
15088
8066
h
15089
 
s/\(.\{148\}\).*/\1/
 
8067
s/\(.\{148\}\)..*/\1/
15090
8068
t more1
15091
8069
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15092
8070
p
15100
8078
t nl
15101
8079
:delim
15102
8080
h
15103
 
s/\(.\{148\}\).*/\1/
 
8081
s/\(.\{148\}\)..*/\1/
15104
8082
t more2
15105
8083
s/["\\]/\\&/g; s/^/"/; s/$/"/
15106
8084
p
15662
8640
  done
15663
8641
}
15664
8642
 ;;
15665
 
    "libtool":C)
15666
 
 
15667
 
    # See if we are running on zsh, and set the options which allow our
15668
 
    # commands through without removal of \ escapes.
15669
 
    if test -n "${ZSH_VERSION+set}" ; then
15670
 
      setopt NO_GLOB_SUBST
15671
 
    fi
15672
 
 
15673
 
    cfgfile="${ofile}T"
15674
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15675
 
    $RM "$cfgfile"
15676
 
 
15677
 
    cat <<_LT_EOF >> "$cfgfile"
15678
 
#! $SHELL
15679
 
 
15680
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15681
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15682
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15683
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15684
 
#
15685
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15686
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
15687
 
#   Written by Gordon Matzigkeit, 1996
15688
 
#
15689
 
#   This file is part of GNU Libtool.
15690
 
#
15691
 
# GNU Libtool is free software; you can redistribute it and/or
15692
 
# modify it under the terms of the GNU General Public License as
15693
 
# published by the Free Software Foundation; either version 2 of
15694
 
# the License, or (at your option) any later version.
15695
 
#
15696
 
# As a special exception to the GNU General Public License,
15697
 
# if you distribute this file as part of a program or library that
15698
 
# is built using GNU Libtool, you may include this file under the
15699
 
# same distribution terms that you use for the rest of that program.
15700
 
#
15701
 
# GNU Libtool is distributed in the hope that it will be useful,
15702
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15703
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15704
 
# GNU General Public License for more details.
15705
 
#
15706
 
# You should have received a copy of the GNU General Public License
15707
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
15708
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15709
 
# obtained by writing to the Free Software Foundation, Inc.,
15710
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15711
 
 
15712
 
 
15713
 
# The names of the tagged configurations supported by this script.
15714
 
available_tags=""
15715
 
 
15716
 
# ### BEGIN LIBTOOL CONFIG
15717
 
 
15718
 
# Which release of libtool.m4 was used?
15719
 
macro_version=$macro_version
15720
 
macro_revision=$macro_revision
15721
 
 
15722
 
# Whether or not to build shared libraries.
15723
 
build_libtool_libs=$enable_shared
15724
 
 
15725
 
# Whether or not to build static libraries.
15726
 
build_old_libs=$enable_static
15727
 
 
15728
 
# What type of objects to build.
15729
 
pic_mode=$pic_mode
15730
 
 
15731
 
# Whether or not to optimize for fast installation.
15732
 
fast_install=$enable_fast_install
15733
 
 
15734
 
# The host system.
15735
 
host_alias=$host_alias
15736
 
host=$host
15737
 
host_os=$host_os
15738
 
 
15739
 
# The build system.
15740
 
build_alias=$build_alias
15741
 
build=$build
15742
 
build_os=$build_os
15743
 
 
15744
 
# A sed program that does not truncate output.
15745
 
SED=$lt_SED
15746
 
 
15747
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15748
 
Xsed="\$SED -e 1s/^X//"
15749
 
 
15750
 
# A grep program that handles long lines.
15751
 
GREP=$lt_GREP
15752
 
 
15753
 
# An ERE matcher.
15754
 
EGREP=$lt_EGREP
15755
 
 
15756
 
# A literal string matcher.
15757
 
FGREP=$lt_FGREP
15758
 
 
15759
 
# A BSD- or MS-compatible name lister.
15760
 
NM=$lt_NM
15761
 
 
15762
 
# Whether we need soft or hard links.
15763
 
LN_S=$lt_LN_S
15764
 
 
15765
 
# What is the maximum length of a command?
15766
 
max_cmd_len=$max_cmd_len
15767
 
 
15768
 
# Object file suffix (normally "o").
15769
 
objext=$ac_objext
15770
 
 
15771
 
# Executable file suffix (normally "").
15772
 
exeext=$exeext
15773
 
 
15774
 
# whether the shell understands "unset".
15775
 
lt_unset=$lt_unset
15776
 
 
15777
 
# turn spaces into newlines.
15778
 
SP2NL=$lt_lt_SP2NL
15779
 
 
15780
 
# turn newlines into spaces.
15781
 
NL2SP=$lt_lt_NL2SP
15782
 
 
15783
 
# How to create reloadable object files.
15784
 
reload_flag=$lt_reload_flag
15785
 
reload_cmds=$lt_reload_cmds
15786
 
 
15787
 
# An object symbol dumper.
15788
 
OBJDUMP=$lt_OBJDUMP
15789
 
 
15790
 
# Method to check whether dependent libraries are shared objects.
15791
 
deplibs_check_method=$lt_deplibs_check_method
15792
 
 
15793
 
# Command to use when deplibs_check_method == "file_magic".
15794
 
file_magic_cmd=$lt_file_magic_cmd
15795
 
 
15796
 
# The archiver.
15797
 
AR=$lt_AR
15798
 
AR_FLAGS=$lt_AR_FLAGS
15799
 
 
15800
 
# A symbol stripping program.
15801
 
STRIP=$lt_STRIP
15802
 
 
15803
 
# Commands used to install an old-style archive.
15804
 
RANLIB=$lt_RANLIB
15805
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15806
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15807
 
 
15808
 
# A C compiler.
15809
 
LTCC=$lt_CC
15810
 
 
15811
 
# LTCC compiler flags.
15812
 
LTCFLAGS=$lt_CFLAGS
15813
 
 
15814
 
# Take the output of nm and produce a listing of raw symbols and C names.
15815
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15816
 
 
15817
 
# Transform the output of nm in a proper C declaration.
15818
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15819
 
 
15820
 
# Transform the output of nm in a C name address pair.
15821
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15822
 
 
15823
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
15824
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15825
 
 
15826
 
# The name of the directory that contains temporary libtool files.
15827
 
objdir=$objdir
15828
 
 
15829
 
# Shell to use when invoking shell scripts.
15830
 
SHELL=$lt_SHELL
15831
 
 
15832
 
# An echo program that does not interpret backslashes.
15833
 
ECHO=$lt_ECHO
15834
 
 
15835
 
# Used to examine libraries when file_magic_cmd begins with "file".
15836
 
MAGIC_CMD=$MAGIC_CMD
15837
 
 
15838
 
# Must we lock files when doing compilation?
15839
 
need_locks=$lt_need_locks
15840
 
 
15841
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15842
 
DSYMUTIL=$lt_DSYMUTIL
15843
 
 
15844
 
# Tool to change global to local symbols on Mac OS X.
15845
 
NMEDIT=$lt_NMEDIT
15846
 
 
15847
 
# Tool to manipulate fat objects and archives on Mac OS X.
15848
 
LIPO=$lt_LIPO
15849
 
 
15850
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15851
 
OTOOL=$lt_OTOOL
15852
 
 
15853
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15854
 
OTOOL64=$lt_OTOOL64
15855
 
 
15856
 
# Old archive suffix (normally "a").
15857
 
libext=$libext
15858
 
 
15859
 
# Shared library suffix (normally ".so").
15860
 
shrext_cmds=$lt_shrext_cmds
15861
 
 
15862
 
# The commands to extract the exported symbol list from a shared archive.
15863
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15864
 
 
15865
 
# Variables whose values should be saved in libtool wrapper scripts and
15866
 
# restored at link time.
15867
 
variables_saved_for_relink=$lt_variables_saved_for_relink
15868
 
 
15869
 
# Do we need the "lib" prefix for modules?
15870
 
need_lib_prefix=$need_lib_prefix
15871
 
 
15872
 
# Do we need a version for libraries?
15873
 
need_version=$need_version
15874
 
 
15875
 
# Library versioning type.
15876
 
version_type=$version_type
15877
 
 
15878
 
# Shared library runtime path variable.
15879
 
runpath_var=$runpath_var
15880
 
 
15881
 
# Shared library path variable.
15882
 
shlibpath_var=$shlibpath_var
15883
 
 
15884
 
# Is shlibpath searched before the hard-coded library search path?
15885
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15886
 
 
15887
 
# Format of library name prefix.
15888
 
libname_spec=$lt_libname_spec
15889
 
 
15890
 
# List of archive names.  First name is the real one, the rest are links.
15891
 
# The last name is the one that the linker finds with -lNAME
15892
 
library_names_spec=$lt_library_names_spec
15893
 
 
15894
 
# The coded name of the library, if different from the real name.
15895
 
soname_spec=$lt_soname_spec
15896
 
 
15897
 
# Command to use after installation of a shared archive.
15898
 
postinstall_cmds=$lt_postinstall_cmds
15899
 
 
15900
 
# Command to use after uninstallation of a shared archive.
15901
 
postuninstall_cmds=$lt_postuninstall_cmds
15902
 
 
15903
 
# Commands used to finish a libtool library installation in a directory.
15904
 
finish_cmds=$lt_finish_cmds
15905
 
 
15906
 
# As "finish_cmds", except a single script fragment to be evaled but
15907
 
# not shown.
15908
 
finish_eval=$lt_finish_eval
15909
 
 
15910
 
# Whether we should hardcode library paths into libraries.
15911
 
hardcode_into_libs=$hardcode_into_libs
15912
 
 
15913
 
# Compile-time system search path for libraries.
15914
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15915
 
 
15916
 
# Run-time system search path for libraries.
15917
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15918
 
 
15919
 
# Whether dlopen is supported.
15920
 
dlopen_support=$enable_dlopen
15921
 
 
15922
 
# Whether dlopen of programs is supported.
15923
 
dlopen_self=$enable_dlopen_self
15924
 
 
15925
 
# Whether dlopen of statically linked programs is supported.
15926
 
dlopen_self_static=$enable_dlopen_self_static
15927
 
 
15928
 
# Commands to strip libraries.
15929
 
old_striplib=$lt_old_striplib
15930
 
striplib=$lt_striplib
15931
 
 
15932
 
 
15933
 
# The linker used to build libraries.
15934
 
LD=$lt_LD
15935
 
 
15936
 
# Commands used to build an old-style archive.
15937
 
old_archive_cmds=$lt_old_archive_cmds
15938
 
 
15939
 
# A language specific compiler.
15940
 
CC=$lt_compiler
15941
 
 
15942
 
# Is the compiler the GNU compiler?
15943
 
with_gcc=$GCC
15944
 
 
15945
 
# Compiler flag to turn off builtin functions.
15946
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15947
 
 
15948
 
# How to pass a linker flag through the compiler.
15949
 
wl=$lt_lt_prog_compiler_wl
15950
 
 
15951
 
# Additional compiler flags for building library objects.
15952
 
pic_flag=$lt_lt_prog_compiler_pic
15953
 
 
15954
 
# Compiler flag to prevent dynamic linking.
15955
 
link_static_flag=$lt_lt_prog_compiler_static
15956
 
 
15957
 
# Does compiler simultaneously support -c and -o options?
15958
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15959
 
 
15960
 
# Whether or not to add -lc for building shared libraries.
15961
 
build_libtool_need_lc=$archive_cmds_need_lc
15962
 
 
15963
 
# Whether or not to disallow shared libs when runtime libs are static.
15964
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15965
 
 
15966
 
# Compiler flag to allow reflexive dlopens.
15967
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15968
 
 
15969
 
# Compiler flag to generate shared objects directly from archives.
15970
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
15971
 
 
15972
 
# Whether the compiler copes with passing no objects directly.
15973
 
compiler_needs_object=$lt_compiler_needs_object
15974
 
 
15975
 
# Create an old-style archive from a shared archive.
15976
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15977
 
 
15978
 
# Create a temporary old-style archive to link instead of a shared archive.
15979
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15980
 
 
15981
 
# Commands used to build a shared archive.
15982
 
archive_cmds=$lt_archive_cmds
15983
 
archive_expsym_cmds=$lt_archive_expsym_cmds
15984
 
 
15985
 
# Commands used to build a loadable module if different from building
15986
 
# a shared archive.
15987
 
module_cmds=$lt_module_cmds
15988
 
module_expsym_cmds=$lt_module_expsym_cmds
15989
 
 
15990
 
# Whether we are building with GNU ld or not.
15991
 
with_gnu_ld=$lt_with_gnu_ld
15992
 
 
15993
 
# Flag that allows shared libraries with undefined symbols to be built.
15994
 
allow_undefined_flag=$lt_allow_undefined_flag
15995
 
 
15996
 
# Flag that enforces no undefined symbols.
15997
 
no_undefined_flag=$lt_no_undefined_flag
15998
 
 
15999
 
# Flag to hardcode \$libdir into a binary during linking.
16000
 
# This must work even if \$libdir does not exist
16001
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16002
 
 
16003
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
16004
 
# during linking.  This must work even if \$libdir does not exist.
16005
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16006
 
 
16007
 
# Whether we need a single "-rpath" flag with a separated argument.
16008
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16009
 
 
16010
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16011
 
# DIR into the resulting binary.
16012
 
hardcode_direct=$hardcode_direct
16013
 
 
16014
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16015
 
# DIR into the resulting binary and the resulting library dependency is
16016
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16017
 
# library is relocated.
16018
 
hardcode_direct_absolute=$hardcode_direct_absolute
16019
 
 
16020
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16021
 
# into the resulting binary.
16022
 
hardcode_minus_L=$hardcode_minus_L
16023
 
 
16024
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16025
 
# into the resulting binary.
16026
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
16027
 
 
16028
 
# Set to "yes" if building a shared library automatically hardcodes DIR
16029
 
# into the library and all subsequent libraries and executables linked
16030
 
# against it.
16031
 
hardcode_automatic=$hardcode_automatic
16032
 
 
16033
 
# Set to yes if linker adds runtime paths of dependent libraries
16034
 
# to runtime path list.
16035
 
inherit_rpath=$inherit_rpath
16036
 
 
16037
 
# Whether libtool must link a program against all its dependency libraries.
16038
 
link_all_deplibs=$link_all_deplibs
16039
 
 
16040
 
# Fix the shell variable \$srcfile for the compiler.
16041
 
fix_srcfile_path=$lt_fix_srcfile_path
16042
 
 
16043
 
# Set to "yes" if exported symbols are required.
16044
 
always_export_symbols=$always_export_symbols
16045
 
 
16046
 
# The commands to list exported symbols.
16047
 
export_symbols_cmds=$lt_export_symbols_cmds
16048
 
 
16049
 
# Symbols that should not be listed in the preloaded symbols.
16050
 
exclude_expsyms=$lt_exclude_expsyms
16051
 
 
16052
 
# Symbols that must always be exported.
16053
 
include_expsyms=$lt_include_expsyms
16054
 
 
16055
 
# Commands necessary for linking programs (against libraries) with templates.
16056
 
prelink_cmds=$lt_prelink_cmds
16057
 
 
16058
 
# Specify filename containing input files.
16059
 
file_list_spec=$lt_file_list_spec
16060
 
 
16061
 
# How to hardcode a shared library path into an executable.
16062
 
hardcode_action=$hardcode_action
16063
 
 
16064
 
# ### END LIBTOOL CONFIG
16065
 
 
16066
 
_LT_EOF
16067
 
 
16068
 
  case $host_os in
16069
 
  aix3*)
16070
 
    cat <<\_LT_EOF >> "$cfgfile"
16071
 
# AIX sometimes has problems with the GCC collect2 program.  For some
16072
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
16073
 
# vanish in a puff of smoke.
16074
 
if test "X${COLLECT_NAMES+set}" != Xset; then
16075
 
  COLLECT_NAMES=
16076
 
  export COLLECT_NAMES
16077
 
fi
16078
 
_LT_EOF
16079
 
    ;;
16080
 
  esac
16081
 
 
16082
 
 
16083
 
ltmain="$ac_aux_dir/ltmain.sh"
16084
 
 
16085
 
 
16086
 
  # We use sed instead of cat because bash on DJGPP gets confused if
16087
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16088
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
16089
 
  # is reportedly fixed, but why not run on old versions too?
16090
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16091
 
    || (rm -f "$cfgfile"; exit 1)
16092
 
 
16093
 
  case $xsi_shell in
16094
 
  yes)
16095
 
    cat << \_LT_EOF >> "$cfgfile"
16096
 
 
16097
 
# func_dirname file append nondir_replacement
16098
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16099
 
# otherwise set result to NONDIR_REPLACEMENT.
16100
 
func_dirname ()
16101
 
{
16102
 
  case ${1} in
16103
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16104
 
    *  ) func_dirname_result="${3}" ;;
16105
 
  esac
16106
 
}
16107
 
 
16108
 
# func_basename file
16109
 
func_basename ()
16110
 
{
16111
 
  func_basename_result="${1##*/}"
16112
 
}
16113
 
 
16114
 
# func_dirname_and_basename file append nondir_replacement
16115
 
# perform func_basename and func_dirname in a single function
16116
 
# call:
16117
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
16118
 
#             add APPEND to the result, otherwise set result
16119
 
#             to NONDIR_REPLACEMENT.
16120
 
#             value returned in "$func_dirname_result"
16121
 
#   basename: Compute filename of FILE.
16122
 
#             value retuned in "$func_basename_result"
16123
 
# Implementation must be kept synchronized with func_dirname
16124
 
# and func_basename. For efficiency, we do not delegate to
16125
 
# those functions but instead duplicate the functionality here.
16126
 
func_dirname_and_basename ()
16127
 
{
16128
 
  case ${1} in
16129
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16130
 
    *  ) func_dirname_result="${3}" ;;
16131
 
  esac
16132
 
  func_basename_result="${1##*/}"
16133
 
}
16134
 
 
16135
 
# func_stripname prefix suffix name
16136
 
# strip PREFIX and SUFFIX off of NAME.
16137
 
# PREFIX and SUFFIX must not contain globbing or regex special
16138
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16139
 
# dot (in which case that matches only a dot).
16140
 
func_stripname ()
16141
 
{
16142
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16143
 
  # positional parameters, so assign one to ordinary parameter first.
16144
 
  func_stripname_result=${3}
16145
 
  func_stripname_result=${func_stripname_result#"${1}"}
16146
 
  func_stripname_result=${func_stripname_result%"${2}"}
16147
 
}
16148
 
 
16149
 
# func_opt_split
16150
 
func_opt_split ()
16151
 
{
16152
 
  func_opt_split_opt=${1%%=*}
16153
 
  func_opt_split_arg=${1#*=}
16154
 
}
16155
 
 
16156
 
# func_lo2o object
16157
 
func_lo2o ()
16158
 
{
16159
 
  case ${1} in
16160
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16161
 
    *)    func_lo2o_result=${1} ;;
16162
 
  esac
16163
 
}
16164
 
 
16165
 
# func_xform libobj-or-source
16166
 
func_xform ()
16167
 
{
16168
 
  func_xform_result=${1%.*}.lo
16169
 
}
16170
 
 
16171
 
# func_arith arithmetic-term...
16172
 
func_arith ()
16173
 
{
16174
 
  func_arith_result=$(( $* ))
16175
 
}
16176
 
 
16177
 
# func_len string
16178
 
# STRING may not start with a hyphen.
16179
 
func_len ()
16180
 
{
16181
 
  func_len_result=${#1}
16182
 
}
16183
 
 
16184
 
_LT_EOF
16185
 
    ;;
16186
 
  *) # Bourne compatible functions.
16187
 
    cat << \_LT_EOF >> "$cfgfile"
16188
 
 
16189
 
# func_dirname file append nondir_replacement
16190
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16191
 
# otherwise set result to NONDIR_REPLACEMENT.
16192
 
func_dirname ()
16193
 
{
16194
 
  # Extract subdirectory from the argument.
16195
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16196
 
  if test "X$func_dirname_result" = "X${1}"; then
16197
 
    func_dirname_result="${3}"
16198
 
  else
16199
 
    func_dirname_result="$func_dirname_result${2}"
16200
 
  fi
16201
 
}
16202
 
 
16203
 
# func_basename file
16204
 
func_basename ()
16205
 
{
16206
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16207
 
}
16208
 
 
16209
 
 
16210
 
# func_stripname prefix suffix name
16211
 
# strip PREFIX and SUFFIX off of NAME.
16212
 
# PREFIX and SUFFIX must not contain globbing or regex special
16213
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16214
 
# dot (in which case that matches only a dot).
16215
 
# func_strip_suffix prefix name
16216
 
func_stripname ()
16217
 
{
16218
 
  case ${2} in
16219
 
    .*) func_stripname_result=`$ECHO "X${3}" \
16220
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16221
 
    *)  func_stripname_result=`$ECHO "X${3}" \
16222
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16223
 
  esac
16224
 
}
16225
 
 
16226
 
# sed scripts:
16227
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16228
 
my_sed_long_arg='1s/^-[^=]*=//'
16229
 
 
16230
 
# func_opt_split
16231
 
func_opt_split ()
16232
 
{
16233
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16234
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16235
 
}
16236
 
 
16237
 
# func_lo2o object
16238
 
func_lo2o ()
16239
 
{
16240
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16241
 
}
16242
 
 
16243
 
# func_xform libobj-or-source
16244
 
func_xform ()
16245
 
{
16246
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16247
 
}
16248
 
 
16249
 
# func_arith arithmetic-term...
16250
 
func_arith ()
16251
 
{
16252
 
  func_arith_result=`expr "$@"`
16253
 
}
16254
 
 
16255
 
# func_len string
16256
 
# STRING may not start with a hyphen.
16257
 
func_len ()
16258
 
{
16259
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16260
 
}
16261
 
 
16262
 
_LT_EOF
16263
 
esac
16264
 
 
16265
 
case $lt_shell_append in
16266
 
  yes)
16267
 
    cat << \_LT_EOF >> "$cfgfile"
16268
 
 
16269
 
# func_append var value
16270
 
# Append VALUE to the end of shell variable VAR.
16271
 
func_append ()
16272
 
{
16273
 
  eval "$1+=\$2"
16274
 
}
16275
 
_LT_EOF
16276
 
    ;;
16277
 
  *)
16278
 
    cat << \_LT_EOF >> "$cfgfile"
16279
 
 
16280
 
# func_append var value
16281
 
# Append VALUE to the end of shell variable VAR.
16282
 
func_append ()
16283
 
{
16284
 
  eval "$1=\$$1\$2"
16285
 
}
16286
 
 
16287
 
_LT_EOF
16288
 
    ;;
16289
 
  esac
16290
 
 
16291
 
 
16292
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16293
 
    || (rm -f "$cfgfile"; exit 1)
16294
 
 
16295
 
  mv -f "$cfgfile" "$ofile" ||
16296
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16297
 
  chmod +x "$ofile"
16298
 
 
16299
 
 ;;
16300
8643
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16301
8644
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16302
8645
      esac ;;
16303
 
    "libvncserver/rfb/rfbconfig.h":C) ac_prefix_conf_OUT=`echo libvncserver/rfb/rfbconfig.h`
16304
 
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
16305
 
ac_prefix_conf_PKG=`echo LIBVNCSERVER`
16306
 
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
16307
 
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:"  -e "/^[0123456789]/s/^/_/"`
16308
 
ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'`
16309
 
if test ".$ac_prefix_conf_INP" = "."; then
16310
 
   for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
16311
 
     case "$ac_file" in
16312
 
        *.h) ac_prefix_conf_INP=$ac_file ;;
16313
 
        *)
16314
 
     esac
16315
 
     test ".$ac_prefix_conf_INP" != "." && break
16316
 
   done
16317
 
fi
16318
 
if test ".$ac_prefix_conf_INP" = "."; then
16319
 
   case "$ac_prefix_conf_OUT" in
16320
 
      */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
16321
 
      ;;
16322
 
      *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
16323
 
      ;;
16324
 
      *) ac_prefix_conf_INP=config.h
16325
 
      ;;
16326
 
   esac
16327
 
fi
16328
 
if test -z "$ac_prefix_conf_PKG" ; then
16329
 
   as_fn_error "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
16330
 
else
16331
 
  if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
16332
 
     ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
16333
 
  fi fi
16334
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
16335
 
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
16336
 
  if test -f $ac_prefix_conf_INP ; then
16337
 
    echo "s/^#undef  *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
16338
 
    echo "s/^#undef  *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
16339
 
    echo "s/^#define  *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
16340
 
    echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
16341
 
    echo "#endif/" >>conftest.prefix
16342
 
    echo "s/^#define  *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
16343
 
    echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
16344
 
    echo "#endif/" >> conftest.prefix
16345
 
    # now executing _script on _DEF input to create _OUT output file
16346
 
    echo "#ifndef $ac_prefix_conf_DEF"      >$tmp/pconfig.h
16347
 
    echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
16348
 
    echo ' ' >>$tmp/pconfig.h
16349
 
    echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
16350
 
 
16351
 
    sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
16352
 
    echo ' ' >>$tmp/pconfig.h
16353
 
    echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
16354
 
    echo "#endif" >>$tmp/pconfig.h
16355
 
    if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
16356
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
16357
 
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
16358
 
    else
16359
 
      ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
16360
 
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16361
 
         X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
16362
 
         X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
16363
 
         X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
16364
 
$as_echo X"$ac_prefix_conf_OUT" |
16365
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16366
 
            s//\1/
16367
 
            q
16368
 
          }
16369
 
          /^X\(\/\/\)[^/].*/{
16370
 
            s//\1/
16371
 
            q
16372
 
          }
16373
 
          /^X\(\/\/\)$/{
16374
 
            s//\1/
16375
 
            q
16376
 
          }
16377
 
          /^X\(\/\).*/{
16378
 
            s//\1/
16379
 
            q
16380
 
          }
16381
 
          s/.*/./; q'`
16382
 
      as_dir="$ac_dir"; as_fn_mkdir_p
16383
 
      rm -f "$ac_prefix_conf_OUT"
16384
 
      mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
16385
 
    fi
16386
 
    cp conftest.prefix _configs.sed
16387
 
  else
16388
 
    as_fn_error "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
16389
 
  fi
16390
 
  rm -f conftest.*
16391
 
fi
16392
 
 ;;
16393
8646
    "po/stamp-it":C)
16394
8647
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16395
8648
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16453
8706
echo "Remmina configure result:"
16454
8707
echo
16455
8708
echo "* NLS support: $nls_support"
16456
 
echo "* VNC support: $vnc_support"
16457
8709
echo "* Multi-threaded support: $pthread_support"
16458
8710
echo "* SSH support: $ssh_support"
16459
8711
echo "* Avahi support: $avahi_support"