~ubuntu-branches/debian/jessie/aisleriot/jessie

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jeremy Bicha, Jordi Mallach
  • Date: 2012-04-22 12:49:26 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120422124926-gmr0thwstl91jt1n
Tags: 1:3.4.1-1
[ Jeremy Bicha ]
* New upstream release
* debian/control.in: (Build)-depend on guile-2.0
* debian/*.install: Cards files are now stored as zipped .svg's
* debian/patches/99_format-security.patch: Dropped, applied upstream

[ Jordi Mallach ]
* New upstream release.
* Update copyright to final version of the machine-readable 1.0 spec.
* Bump Standards Version to 3.9.3.

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.68 for GNOME Patience 3.2.2.
 
3
# Generated by GNU Autoconf 2.68 for GNOME Patience 3.4.1.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=aisleriot>.
6
6
#
174
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
178
186
  if (eval "$as_required") 2>/dev/null; then :
179
187
  as_have_required=yes
180
188
else
537
545
# Sed expression to map a string onto a valid variable name.
538
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
547
 
540
 
 
541
 
 
542
 
# Check that we are running under the correct shell.
543
548
SHELL=${CONFIG_SHELL-/bin/sh}
544
549
 
545
 
case X$lt_ECHO in
546
 
X*--fallback-echo)
547
 
  # Remove one level of quotation (which was required for Make).
548
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
549
 
  ;;
550
 
esac
551
 
 
552
 
ECHO=${lt_ECHO-echo}
553
 
if test "X$1" = X--no-reexec; then
554
 
  # Discard the --no-reexec flag, and continue.
555
 
  shift
556
 
elif test "X$1" = X--fallback-echo; then
557
 
  # Avoid inline document here, it may be left over
558
 
  :
559
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
560
 
  # Yippee, $ECHO works!
561
 
  :
562
 
else
563
 
  # Restart under the correct shell.
564
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
565
 
fi
566
 
 
567
 
if test "X$1" = X--fallback-echo; then
568
 
  # used as fallback echo
569
 
  shift
570
 
  cat <<_LT_EOF
571
 
$*
572
 
_LT_EOF
573
 
  exit 0
574
 
fi
575
 
 
576
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
577
 
# if CDPATH is set.
578
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
579
 
 
580
 
if test -z "$lt_ECHO"; then
581
 
  if test "X${echo_test_string+set}" != Xset; then
582
 
    # find a string as large as possible, as long as the shell can cope with it
583
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
584
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
585
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
586
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
587
 
      then
588
 
        break
589
 
      fi
590
 
    done
591
 
  fi
592
 
 
593
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
594
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
595
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
596
 
    :
597
 
  else
598
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
599
 
    # backslashes.  This makes it impossible to quote backslashes using
600
 
    #   echo "$something" | sed 's/\\/\\\\/g'
601
 
    #
602
 
    # So, first we look for a working echo in the user's PATH.
603
 
 
604
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
605
 
    for dir in $PATH /usr/ucb; do
606
 
      IFS="$lt_save_ifs"
607
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
608
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
609
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
610
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
611
 
        ECHO="$dir/echo"
612
 
        break
613
 
      fi
614
 
    done
615
 
    IFS="$lt_save_ifs"
616
 
 
617
 
    if test "X$ECHO" = Xecho; then
618
 
      # We didn't find a better echo, so look for alternatives.
619
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
620
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
621
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
622
 
        # This shell has a builtin print -r that does the trick.
623
 
        ECHO='print -r'
624
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
625
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
626
 
        # If we have ksh, try running configure again with it.
627
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
628
 
        export ORIGINAL_CONFIG_SHELL
629
 
        CONFIG_SHELL=/bin/ksh
630
 
        export CONFIG_SHELL
631
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
632
 
      else
633
 
        # Try using printf.
634
 
        ECHO='printf %s\n'
635
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
636
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
637
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
638
 
          # Cool, printf works
639
 
          :
640
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = 'X\t' &&
642
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
645
 
          export CONFIG_SHELL
646
 
          SHELL="$CONFIG_SHELL"
647
 
          export SHELL
648
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
649
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
650
 
             test "X$echo_testing_string" = 'X\t' &&
651
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
652
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
653
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
654
 
        else
655
 
          # maybe with a smaller string...
656
 
          prev=:
657
 
 
658
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
659
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
660
 
            then
661
 
              break
662
 
            fi
663
 
            prev="$cmd"
664
 
          done
665
 
 
666
 
          if test "$prev" != 'sed 50q "$0"'; then
667
 
            echo_test_string=`eval $prev`
668
 
            export echo_test_string
669
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
670
 
          else
671
 
            # Oops.  We lost completely, so just stick with echo.
672
 
            ECHO=echo
673
 
          fi
674
 
        fi
675
 
      fi
676
 
    fi
677
 
  fi
678
 
fi
679
 
 
680
 
# Copy echo and quote the copy suitably for passing to libtool from
681
 
# the Makefile, instead of quoting the original, which is used later.
682
 
lt_ECHO=$ECHO
683
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
684
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
685
 
fi
686
 
 
687
 
 
688
 
 
689
550
 
690
551
test -n "$DJDIR" || exec 7<&0 </dev/null
691
552
exec 6>&1
710
571
# Identity of this package.
711
572
PACKAGE_NAME='GNOME Patience'
712
573
PACKAGE_TARNAME='aisleriot'
713
 
PACKAGE_VERSION='3.2.2'
714
 
PACKAGE_STRING='GNOME Patience 3.2.2'
 
574
PACKAGE_VERSION='3.4.1'
 
575
PACKAGE_STRING='GNOME Patience 3.4.1'
715
576
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=aisleriot'
716
577
PACKAGE_URL=''
717
578
 
760
621
AM_CXXFLAGS
761
622
AM_CFLAGS
762
623
AM_CPPFLAGS
 
624
valgrinddir
763
625
BUILD_HELP_FALSE
764
626
BUILD_HELP_TRUE
765
627
YELP_HELP_RULES
766
 
XMLLINT
767
628
ITSTOOL
768
629
HELP_DIR
769
 
GUILE_TOOLS
770
 
HAVE_GUILE_2_X_FALSE
771
 
HAVE_GUILE_2_X_TRUE
772
 
GUILE_LIBS
773
 
GUILE_CFLAGS
 
630
AISLERIOT_LIBS
 
631
AISLERIOT_CFLAGS
 
632
GUILE
 
633
GUILE_EFFECTIVE_VERSION
774
634
ALL_LINGUAS
775
635
INTLTOOL_PERL
776
636
MSGMERGE
814
674
USE_NLS
815
675
GETTEXT_PACKAGE
816
676
WINDRES
 
677
XMLLINT
 
678
GZIP
 
679
GLIB_COMPILE_RESOURCES
817
680
GLIB_GENMARSHAL
818
 
WITH_SMCLIENT_QUARTZ_FALSE
819
 
WITH_SMCLIENT_QUARTZ_TRUE
820
 
WITH_SMCLIENT_WIN32_FALSE
821
 
WITH_SMCLIENT_WIN32_TRUE
822
 
WITH_SMCLIENT_XSMP_FALSE
823
 
WITH_SMCLIENT_XSMP_TRUE
824
 
WITH_SMCLIENT_FALSE
825
 
WITH_SMCLIENT_TRUE
826
 
SMCLIENT_LIBS
827
 
SMCLIENT_CFLAGS
828
 
ENABLE_SOUND_FALSE
829
 
ENABLE_SOUND_TRUE
830
 
CANBERRA_GTK_LIBS
831
 
CANBERRA_GTK_CFLAGS
832
 
WITH_GTHREAD_FALSE
833
 
WITH_GTHREAD_TRUE
834
681
HAVE_RSVG_FALSE
835
682
HAVE_RSVG_TRUE
836
 
RSVG_LIBS
837
 
RSVG_CFLAGS
838
 
GNOME_LIBS
839
 
GNOME_CFLAGS
840
683
GCONFTOOL
841
684
GCONF_SCHEMAS_INSTALL_FALSE
842
685
GCONF_SCHEMAS_INSTALL_TRUE
846
689
GLIB_COMPILE_SCHEMAS
847
690
gsettingsschemadir
848
691
GSETTINGS_DISABLE_SCHEMAS_COMPILE
849
 
GTK_LIBS
850
 
GTK_CFLAGS
851
 
GOBJECT_LIBS
852
 
GOBJECT_CFLAGS
853
 
GMODULE_LIBS
854
 
GMODULE_CFLAGS
855
 
GTHREAD_LIBS
856
 
GTHREAD_CFLAGS
 
692
ENABLE_SOUND_FALSE
 
693
ENABLE_SOUND_TRUE
857
694
ENABLE_DEBUG_UI_FALSE
858
695
ENABLE_DEBUG_UI_TRUE
 
696
LSB_RELEASE
859
697
ENABLE_CARD_THEME_FORMAT_PYSOL_FALSE
860
698
ENABLE_CARD_THEME_FORMAT_PYSOL_TRUE
861
699
ENABLE_CARD_THEME_FORMAT_SLICED_FALSE
874
712
GTK_API_VERSION
875
713
HAVE_GNOME_FALSE
876
714
HAVE_GNOME_TRUE
877
 
LSB_RELEASE
878
 
DISABLE_DEPRECATED
879
 
WARN_CXXFLAGS
880
 
WARN_CFLAGS
881
715
ACLOCAL_AMFLAGS
882
716
OTOOL64
883
717
OTOOL
884
718
LIPO
885
719
NMEDIT
886
720
DSYMUTIL
887
 
lt_ECHO
 
721
MANIFEST_TOOL
888
722
RANLIB
 
723
ac_ct_AR
889
724
AR
 
725
DLLTOOL
890
726
OBJDUMP
891
727
NM
892
728
ac_ct_DUMPBIN
1003
839
with_pic
1004
840
enable_fast_install
1005
841
with_gnu_ld
 
842
with_sysroot
1006
843
enable_libtool_lock
1007
844
enable_debug
1008
 
enable_compile_warnings
1009
 
enable_iso_c
1010
 
enable_cxx_warnings
1011
 
enable_iso_cxx
1012
845
with_platform
1013
846
with_gtk
1014
 
enable_sound
1015
847
with_card_theme_formats
1016
848
with_kde_card_theme_path
1017
849
with_pysol_card_theme_path
1018
850
with_default_card_theme
1019
851
with_default_card_theme_format
1020
852
enable_debug_ui
 
853
enable_sound
1021
854
enable_schemas_compile
1022
855
with_gconf_source
1023
856
with_gconf_schema_file_dir
1024
857
enable_schemas_install
1025
 
with_smclient
1026
858
enable_binreloc
1027
859
enable_nls
1028
860
with_guile
1029
861
with_help_method
1030
862
with_help_file_format
1031
863
with_help_dir
 
864
with_valgrind_dir
1032
865
'
1033
866
      ac_precious_vars='build_alias
1034
867
host_alias
1042
875
LIBS
1043
876
CPPFLAGS
1044
877
CPP
1045
 
GTHREAD_CFLAGS
1046
 
GTHREAD_LIBS
1047
 
GMODULE_CFLAGS
1048
 
GMODULE_LIBS
1049
 
GOBJECT_CFLAGS
1050
 
GOBJECT_LIBS
1051
 
GTK_CFLAGS
1052
 
GTK_LIBS
1053
 
GNOME_CFLAGS
1054
 
GNOME_LIBS
1055
 
RSVG_CFLAGS
1056
 
RSVG_LIBS
1057
 
CANBERRA_GTK_CFLAGS
1058
 
CANBERRA_GTK_LIBS
1059
 
SMCLIENT_CFLAGS
1060
 
SMCLIENT_LIBS
1061
 
GUILE_CFLAGS
1062
 
GUILE_LIBS
1063
 
ITSTOOL
1064
 
XMLLINT'
 
878
GLIB_GENMARSHAL
 
879
GLIB_COMPILE_RESOURCES
 
880
GZIP
 
881
XMLLINT
 
882
GUILE
 
883
AISLERIOT_CFLAGS
 
884
AISLERIOT_LIBS
 
885
ITSTOOL'
1065
886
 
1066
887
 
1067
888
# Initialize some variables set by options.
1604
1425
  # Omit some internal or obsolete options to make the list less imposing.
1605
1426
  # This message is too long to be a string in the A/UX 3.1 sh.
1606
1427
  cat <<_ACEOF
1607
 
\`configure' configures GNOME Patience 3.2.2 to adapt to many kinds of systems.
 
1428
\`configure' configures GNOME Patience 3.4.1 to adapt to many kinds of systems.
1608
1429
 
1609
1430
Usage: $0 [OPTION]... [VAR=VALUE]...
1610
1431
 
1674
1495
 
1675
1496
if test -n "$ac_init_help"; then
1676
1497
  case $ac_init_help in
1677
 
     short | recursive ) echo "Configuration of GNOME Patience 3.2.2:";;
 
1498
     short | recursive ) echo "Configuration of GNOME Patience 3.4.1:";;
1678
1499
   esac
1679
1500
  cat <<\_ACEOF
1680
1501
 
1694
1515
                          optimize for fast installation [default=yes]
1695
1516
  --disable-libtool-lock  avoid locking (might break parallel builds)
1696
1517
  --enable-debug          turn on debugging
1697
 
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1698
 
                          Turn on compiler warnings
1699
 
  --enable-iso-c          Try to warn if code is not ISO C
1700
 
  --enable-cxx-warnings=[no/minimum/yes]
1701
 
                               Turn on compiler warnings.
1702
 
 
1703
 
  --enable-iso-cxx        Try to warn if code is not ISO C++
1704
 
  --enable-sound          Enable sound using libcanberra
1705
1518
  --debug-ui              Enable extra debugging UI in Aisleriot (default:
1706
1519
                          disabled)
 
1520
  --enable-sound          Enable sound using libcanberra
1707
1521
  --disable-schemas-compile
1708
1522
                          Disable regeneration of gschemas.compiled on install
1709
1523
  --disable-schemas-install
1717
1531
  --with-pic              try to use only PIC/non-PIC objects [default=use
1718
1532
                          both]
1719
1533
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1534
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1535
                        (or the compiler's sysroot if not specified).
1720
1536
  --with-platform=gnome|gtk-only (default: gnome)
1721
1537
 
1722
1538
  --with-gtk=3.0          which gtk+ version to compile against (default: 3.0)
1737
1553
                          Config database for installing schema files.
1738
1554
  --with-gconf-schema-file-dir=dir
1739
1555
                          Directory for installing schema files.
1740
 
  --with-smclient         which smclient backend to use (xsmp|win32|quartz|no)
1741
 
  --with-guile=1.8|2.0|2.2
1742
 
                          Which guile version to use (default: 1.8)
 
1556
  --with-guile=2.0|2.2|auto
 
1557
                          Which guile version to use (default: 2.0)
1743
1558
  --with-help-method      which help method to use (ghelp|file|library;
1744
1559
                          default: ghelp)
1745
1560
  --with-help-file-format which file format to use for help (html|xhtml;
1746
1561
                          default: html)
1747
1562
  --with-help-dir=DIR     path where help files are installed
 
1563
  --with-valgrind-dir=PATH
 
1564
                          directory to install Valgrind suppressions to
1748
1565
 
1749
1566
Some influential environment variables:
1750
1567
  PKG_CONFIG  path to pkg-config utility
1760
1577
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1761
1578
              you have headers in a nonstandard directory <include dir>
1762
1579
  CPP         C preprocessor
1763
 
  GTHREAD_CFLAGS
1764
 
              C compiler flags for GTHREAD, overriding pkg-config
1765
 
  GTHREAD_LIBS
1766
 
              linker flags for GTHREAD, overriding pkg-config
1767
 
  GMODULE_CFLAGS
1768
 
              C compiler flags for GMODULE, overriding pkg-config
1769
 
  GMODULE_LIBS
1770
 
              linker flags for GMODULE, overriding pkg-config
1771
 
  GOBJECT_CFLAGS
1772
 
              C compiler flags for GOBJECT, overriding pkg-config
1773
 
  GOBJECT_LIBS
1774
 
              linker flags for GOBJECT, overriding pkg-config
1775
 
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1776
 
  GTK_LIBS    linker flags for GTK, overriding pkg-config
1777
 
  GNOME_CFLAGS
1778
 
              C compiler flags for GNOME, overriding pkg-config
1779
 
  GNOME_LIBS  linker flags for GNOME, overriding pkg-config
1780
 
  RSVG_CFLAGS C compiler flags for RSVG, overriding pkg-config
1781
 
  RSVG_LIBS   linker flags for RSVG, overriding pkg-config
1782
 
  CANBERRA_GTK_CFLAGS
1783
 
              C compiler flags for CANBERRA_GTK, overriding pkg-config
1784
 
  CANBERRA_GTK_LIBS
1785
 
              linker flags for CANBERRA_GTK, overriding pkg-config
1786
 
  SMCLIENT_CFLAGS
1787
 
              C compiler flags for SMCLIENT, overriding pkg-config
1788
 
  SMCLIENT_LIBS
1789
 
              linker flags for SMCLIENT, overriding pkg-config
1790
 
  GUILE_CFLAGS
1791
 
              C compiler flags for GUILE, overriding pkg-config
1792
 
  GUILE_LIBS  linker flags for GUILE, overriding pkg-config
 
1580
  GLIB_GENMARSHAL
 
1581
              the glib-genmarshal programme
 
1582
  GLIB_COMPILE_RESOURCES
 
1583
              the glib-compile-resources programme
 
1584
  GZIP        the gzip programme
 
1585
  XMLLINT     the xmllint programme
 
1586
  GUILE       the guile programme
 
1587
  AISLERIOT_CFLAGS
 
1588
              C compiler flags for AISLERIOT, overriding pkg-config
 
1589
  AISLERIOT_LIBS
 
1590
              linker flags for AISLERIOT, overriding pkg-config
1793
1591
  ITSTOOL     Path to the `itstool` command
1794
 
  XMLLINT     Path to the `xmllint` command
1795
1592
 
1796
1593
Use these variables to override the choices made by `configure' or to help
1797
1594
it to find libraries and programs with nonstandard names/locations.
1859
1656
test -n "$ac_init_help" && exit $ac_status
1860
1657
if $ac_init_version; then
1861
1658
  cat <<\_ACEOF
1862
 
GNOME Patience configure 3.2.2
 
1659
GNOME Patience configure 3.4.1
1863
1660
generated by GNU Autoconf 2.68
1864
1661
 
1865
1662
Copyright (C) 2010 Free Software Foundation, Inc.
2228
2025
This file contains any messages produced by compilers while
2229
2026
running configure, to aid debugging if configure makes a mistake.
2230
2027
 
2231
 
It was created by GNOME Patience $as_me 3.2.2, which was
 
2028
It was created by GNOME Patience $as_me 3.4.1, which was
2232
2029
generated by GNU Autoconf 2.68.  Invocation command line was
2233
2030
 
2234
2031
  $ $0 $@
3049
2846
 
3050
2847
# Define the identity of the package.
3051
2848
 PACKAGE='aisleriot'
3052
 
 VERSION='3.2.2'
 
2849
 VERSION='3.4.1'
3053
2850
 
3054
2851
 
3055
2852
cat >>confdefs.h <<_ACEOF
3251
3048
                PKG_CONFIG=""
3252
3049
        fi
3253
3050
fi
 
3051
PKGS=
3254
3052
 
3255
3053
ac_ext=c
3256
3054
ac_cpp='$CPP $CPPFLAGS'
4583
4381
 
4584
4382
 
4585
4383
 
4586
 
macro_version='2.2.6b'
4587
 
macro_revision='1.3017'
 
4384
macro_version='2.4'
 
4385
macro_revision='1.3293'
4588
4386
 
4589
4387
 
4590
4388
 
4671
4469
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4672
4470
 
4673
4471
 
 
4472
# Backslashify metacharacters that are still active within
 
4473
# double-quoted strings.
 
4474
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4475
 
 
4476
# Same as above, but do not quote variable references.
 
4477
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4478
 
 
4479
# Sed substitution to delay expansion of an escaped shell variable in a
 
4480
# double_quote_subst'ed string.
 
4481
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4482
 
 
4483
# Sed substitution to delay expansion of an escaped single quote.
 
4484
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4485
 
 
4486
# Sed substitution to avoid accidental globbing in evaled expressions
 
4487
no_glob_subst='s/\*/\\\*/g'
 
4488
 
 
4489
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4490
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4491
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4492
 
 
4493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4494
$as_echo_n "checking how to print strings... " >&6; }
 
4495
# Test print first, because it will be a builtin if present.
 
4496
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4497
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4498
  ECHO='print -r --'
 
4499
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4500
  ECHO='printf %s\n'
 
4501
else
 
4502
  # Use this function as a fallback that always works.
 
4503
  func_fallback_echo ()
 
4504
  {
 
4505
    eval 'cat <<_LTECHO_EOF
 
4506
$1
 
4507
_LTECHO_EOF'
 
4508
  }
 
4509
  ECHO='func_fallback_echo'
 
4510
fi
 
4511
 
 
4512
# func_echo_all arg...
 
4513
# Invoke $ECHO with all args, space-separated.
 
4514
func_echo_all ()
 
4515
{
 
4516
    $ECHO ""
 
4517
}
 
4518
 
 
4519
case "$ECHO" in
 
4520
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4521
$as_echo "printf" >&6; } ;;
 
4522
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4523
$as_echo "print -r" >&6; } ;;
 
4524
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4525
$as_echo "cat" >&6; } ;;
 
4526
esac
 
4527
 
 
4528
 
 
4529
 
 
4530
 
 
4531
 
 
4532
 
 
4533
 
 
4534
 
 
4535
 
 
4536
 
 
4537
 
 
4538
 
 
4539
 
 
4540
 
4674
4541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4675
4542
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4676
4543
if ${ac_cv_path_SED+:} false; then :
5136
5003
  NM="$lt_cv_path_NM"
5137
5004
else
5138
5005
  # Didn't find any BSD compatible name lister, look for dumpbin.
5139
 
  if test -n "$ac_tool_prefix"; then
5140
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5006
  if test -n "$DUMPBIN"; then :
 
5007
    # Let the user override the test.
 
5008
  else
 
5009
    if test -n "$ac_tool_prefix"; then
 
5010
  for ac_prog in dumpbin "link -dump"
5141
5011
  do
5142
5012
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5143
5013
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5181
5051
fi
5182
5052
if test -z "$DUMPBIN"; then
5183
5053
  ac_ct_DUMPBIN=$DUMPBIN
5184
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5054
  for ac_prog in dumpbin "link -dump"
5185
5055
do
5186
5056
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5187
5057
set dummy $ac_prog; ac_word=$2
5236
5106
  fi
5237
5107
fi
5238
5108
 
 
5109
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5110
    *COFF*)
 
5111
      DUMPBIN="$DUMPBIN -symbols"
 
5112
      ;;
 
5113
    *)
 
5114
      DUMPBIN=:
 
5115
      ;;
 
5116
    esac
 
5117
  fi
5239
5118
 
5240
5119
  if test "$DUMPBIN" != ":"; then
5241
5120
    NM="$DUMPBIN"
5255
5134
else
5256
5135
  lt_cv_nm_interface="BSD nm"
5257
5136
  echo "int some_variable = 0;" > conftest.$ac_ext
5258
 
  (eval echo "\"\$as_me:5258: $ac_compile\"" >&5)
 
5137
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5259
5138
  (eval "$ac_compile" 2>conftest.err)
5260
5139
  cat conftest.err >&5
5261
 
  (eval echo "\"\$as_me:5261: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5140
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5262
5141
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5263
5142
  cat conftest.err >&5
5264
 
  (eval echo "\"\$as_me:5264: output\"" >&5)
 
5143
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5265
5144
  cat conftest.out >&5
5266
5145
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5267
5146
    lt_cv_nm_interface="MS dumpbin"
5307
5186
    lt_cv_sys_max_cmd_len=8192;
5308
5187
    ;;
5309
5188
 
 
5189
  mint*)
 
5190
    # On MiNT this can take a long time and run out of memory.
 
5191
    lt_cv_sys_max_cmd_len=8192;
 
5192
    ;;
 
5193
 
5310
5194
  amigaos*)
5311
5195
    # On AmigaOS with pdksh, this test takes hours, literally.
5312
5196
    # So we just punt and use a minimum line length of 8192.
5371
5255
      # If test is not a shell built-in, we'll probably end up computing a
5372
5256
      # maximum length that is only half of the actual maximum length, but
5373
5257
      # we can't tell.
5374
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5375
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5258
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5259
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5376
5260
              test $i != 17 # 1/2 MB should be enough
5377
5261
      do
5378
5262
        i=`expr $i + 1`
5414
5298
# Try some XSI features
5415
5299
xsi_shell=no
5416
5300
( _lt_dummy="a/b/c"
5417
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5418
 
      = c,a/b,, \
 
5301
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5302
      = c,a/b,b/c, \
5419
5303
    && eval 'test $(( 1 + 1 )) -eq 2 \
5420
5304
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5421
5305
  && xsi_shell=yes
5464
5348
 
5465
5349
 
5466
5350
 
 
5351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5352
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5353
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5354
  $as_echo_n "(cached) " >&6
 
5355
else
 
5356
  case $host in
 
5357
  *-*-mingw* )
 
5358
    case $build in
 
5359
      *-*-mingw* ) # actually msys
 
5360
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5361
        ;;
 
5362
      *-*-cygwin* )
 
5363
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5364
        ;;
 
5365
      * ) # otherwise, assume *nix
 
5366
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5367
        ;;
 
5368
    esac
 
5369
    ;;
 
5370
  *-*-cygwin* )
 
5371
    case $build in
 
5372
      *-*-mingw* ) # actually msys
 
5373
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5374
        ;;
 
5375
      *-*-cygwin* )
 
5376
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5377
        ;;
 
5378
      * ) # otherwise, assume *nix
 
5379
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5380
        ;;
 
5381
    esac
 
5382
    ;;
 
5383
  * ) # unhandled hosts (and "normal" native builds)
 
5384
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5385
    ;;
 
5386
esac
 
5387
 
 
5388
fi
 
5389
 
 
5390
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5392
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5393
 
 
5394
 
 
5395
 
 
5396
 
 
5397
 
 
5398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5399
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5400
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5401
  $as_echo_n "(cached) " >&6
 
5402
else
 
5403
  #assume ordinary cross tools, or native build.
 
5404
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5405
case $host in
 
5406
  *-*-mingw* )
 
5407
    case $build in
 
5408
      *-*-mingw* ) # actually msys
 
5409
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5410
        ;;
 
5411
    esac
 
5412
    ;;
 
5413
esac
 
5414
 
 
5415
fi
 
5416
 
 
5417
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5419
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5420
 
 
5421
 
 
5422
 
 
5423
 
 
5424
 
5467
5425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5468
5426
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5469
5427
if ${lt_cv_ld_reload_flag+:} false; then :
5480
5438
esac
5481
5439
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5482
5440
case $host_os in
 
5441
  cygwin* | mingw* | pw32* | cegcc*)
 
5442
    if test "$GCC" != yes; then
 
5443
      reload_cmds=false
 
5444
    fi
 
5445
    ;;
5483
5446
  darwin*)
5484
5447
    if test "$GCC" = yes; then
5485
5448
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5643
5606
  # Base MSYS/MinGW do not provide the 'file' command needed by
5644
5607
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5645
5608
  # unless we find 'file', for example because we are cross-compiling.
5646
 
  if ( file / ) >/dev/null 2>&1; then
 
5609
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5610
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5647
5611
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5648
5612
    lt_cv_file_magic_cmd='func_win32_libid'
5649
5613
  else
5650
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5614
    # Keep this pattern in sync with the one in func_win32_libid.
 
5615
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5651
5616
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5652
5617
  fi
5653
5618
  ;;
5654
5619
 
5655
 
cegcc)
 
5620
cegcc*)
5656
5621
  # use the weaker test based on 'objdump'. See mingw*.
5657
5622
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5658
5623
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5682
5647
  lt_cv_deplibs_check_method=pass_all
5683
5648
  ;;
5684
5649
 
 
5650
haiku*)
 
5651
  lt_cv_deplibs_check_method=pass_all
 
5652
  ;;
 
5653
 
5685
5654
hpux10.20* | hpux11*)
5686
5655
  lt_cv_file_magic_cmd=/usr/bin/file
5687
5656
  case $host_cpu in
5690
5659
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5691
5660
    ;;
5692
5661
  hppa*64*)
5693
 
    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]'
 
5662
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5694
5663
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5695
5664
    ;;
5696
5665
  *)
5697
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5666
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5698
5667
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5699
5668
    ;;
5700
5669
  esac
5716
5685
  ;;
5717
5686
 
5718
5687
# This must be Linux ELF.
5719
 
linux* | k*bsd*-gnu)
 
5688
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5720
5689
  lt_cv_deplibs_check_method=pass_all
5721
5690
  ;;
5722
5691
 
5797
5766
fi
5798
5767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5799
5768
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5769
 
 
5770
file_magic_glob=
 
5771
want_nocaseglob=no
 
5772
if test "$build" = "$host"; then
 
5773
  case $host_os in
 
5774
  mingw* | pw32*)
 
5775
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5776
      want_nocaseglob=yes
 
5777
    else
 
5778
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5779
    fi
 
5780
    ;;
 
5781
  esac
 
5782
fi
 
5783
 
5800
5784
file_magic_cmd=$lt_cv_file_magic_cmd
5801
5785
deplibs_check_method=$lt_cv_deplibs_check_method
5802
5786
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5812
5796
 
5813
5797
 
5814
5798
 
5815
 
if test -n "$ac_tool_prefix"; then
5816
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5817
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5799
 
 
5800
 
 
5801
 
 
5802
 
 
5803
 
 
5804
 
 
5805
 
 
5806
 
 
5807
 
 
5808
 
 
5809
if test -n "$ac_tool_prefix"; then
 
5810
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5811
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5813
$as_echo_n "checking for $ac_word... " >&6; }
 
5814
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5815
  $as_echo_n "(cached) " >&6
 
5816
else
 
5817
  if test -n "$DLLTOOL"; then
 
5818
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5819
else
 
5820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5821
for as_dir in $PATH
 
5822
do
 
5823
  IFS=$as_save_IFS
 
5824
  test -z "$as_dir" && as_dir=.
 
5825
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5826
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5827
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5828
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5829
    break 2
 
5830
  fi
 
5831
done
 
5832
  done
 
5833
IFS=$as_save_IFS
 
5834
 
 
5835
fi
 
5836
fi
 
5837
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5838
if test -n "$DLLTOOL"; then
 
5839
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5840
$as_echo "$DLLTOOL" >&6; }
 
5841
else
 
5842
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5843
$as_echo "no" >&6; }
 
5844
fi
 
5845
 
 
5846
 
 
5847
fi
 
5848
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5849
  ac_ct_DLLTOOL=$DLLTOOL
 
5850
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5851
set dummy dlltool; ac_word=$2
 
5852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5853
$as_echo_n "checking for $ac_word... " >&6; }
 
5854
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5855
  $as_echo_n "(cached) " >&6
 
5856
else
 
5857
  if test -n "$ac_ct_DLLTOOL"; then
 
5858
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5859
else
 
5860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5861
for as_dir in $PATH
 
5862
do
 
5863
  IFS=$as_save_IFS
 
5864
  test -z "$as_dir" && as_dir=.
 
5865
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5866
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5867
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5868
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5869
    break 2
 
5870
  fi
 
5871
done
 
5872
  done
 
5873
IFS=$as_save_IFS
 
5874
 
 
5875
fi
 
5876
fi
 
5877
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5878
if test -n "$ac_ct_DLLTOOL"; then
 
5879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5880
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5881
else
 
5882
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5883
$as_echo "no" >&6; }
 
5884
fi
 
5885
 
 
5886
  if test "x$ac_ct_DLLTOOL" = x; then
 
5887
    DLLTOOL="false"
 
5888
  else
 
5889
    case $cross_compiling:$ac_tool_warned in
 
5890
yes:)
 
5891
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5892
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5893
ac_tool_warned=yes ;;
 
5894
esac
 
5895
    DLLTOOL=$ac_ct_DLLTOOL
 
5896
  fi
 
5897
else
 
5898
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5899
fi
 
5900
 
 
5901
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5902
 
 
5903
 
 
5904
 
 
5905
 
 
5906
 
 
5907
 
 
5908
 
 
5909
 
 
5910
 
 
5911
 
 
5912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5913
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5914
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5915
  $as_echo_n "(cached) " >&6
 
5916
else
 
5917
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5918
 
 
5919
case $host_os in
 
5920
cygwin* | mingw* | pw32* | cegcc*)
 
5921
  # two different shell functions defined in ltmain.sh
 
5922
  # decide which to use based on capabilities of $DLLTOOL
 
5923
  case `$DLLTOOL --help 2>&1` in
 
5924
  *--identify-strict*)
 
5925
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5926
    ;;
 
5927
  *)
 
5928
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5929
    ;;
 
5930
  esac
 
5931
  ;;
 
5932
*)
 
5933
  # fallback: assume linklib IS sharedlib
 
5934
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5935
  ;;
 
5936
esac
 
5937
 
 
5938
fi
 
5939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5940
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5941
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5942
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5943
 
 
5944
 
 
5945
 
 
5946
 
 
5947
 
 
5948
 
 
5949
 
 
5950
 
 
5951
if test -n "$ac_tool_prefix"; then
 
5952
  for ac_prog in ar
 
5953
  do
 
5954
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5955
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5818
5956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819
5957
$as_echo_n "checking for $ac_word... " >&6; }
5820
5958
if ${ac_cv_prog_AR+:} false; then :
5830
5968
  test -z "$as_dir" && as_dir=.
5831
5969
    for ac_exec_ext in '' $ac_executable_extensions; do
5832
5970
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5971
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5834
5972
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835
5973
    break 2
5836
5974
  fi
5850
5988
fi
5851
5989
 
5852
5990
 
 
5991
    test -n "$AR" && break
 
5992
  done
5853
5993
fi
5854
 
if test -z "$ac_cv_prog_AR"; then
 
5994
if test -z "$AR"; then
5855
5995
  ac_ct_AR=$AR
5856
 
  # Extract the first word of "ar", so it can be a program name with args.
5857
 
set dummy ar; ac_word=$2
 
5996
  for ac_prog in ar
 
5997
do
 
5998
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5999
set dummy $ac_prog; ac_word=$2
5858
6000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859
6001
$as_echo_n "checking for $ac_word... " >&6; }
5860
6002
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5870
6012
  test -z "$as_dir" && as_dir=.
5871
6013
    for ac_exec_ext in '' $ac_executable_extensions; do
5872
6014
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873
 
    ac_cv_prog_ac_ct_AR="ar"
 
6015
    ac_cv_prog_ac_ct_AR="$ac_prog"
5874
6016
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875
6017
    break 2
5876
6018
  fi
5889
6031
$as_echo "no" >&6; }
5890
6032
fi
5891
6033
 
 
6034
 
 
6035
  test -n "$ac_ct_AR" && break
 
6036
done
 
6037
 
5892
6038
  if test "x$ac_ct_AR" = x; then
5893
6039
    AR="false"
5894
6040
  else
5900
6046
esac
5901
6047
    AR=$ac_ct_AR
5902
6048
  fi
5903
 
else
5904
 
  AR="$ac_cv_prog_AR"
5905
 
fi
5906
 
 
5907
 
test -z "$AR" && AR=ar
5908
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5909
 
 
5910
 
 
5911
 
 
5912
 
 
 
6049
fi
 
6050
 
 
6051
: ${AR=ar}
 
6052
: ${AR_FLAGS=cru}
 
6053
 
 
6054
 
 
6055
 
 
6056
 
 
6057
 
 
6058
 
 
6059
 
 
6060
 
 
6061
 
 
6062
 
 
6063
 
 
6064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6065
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6066
if ${lt_cv_ar_at_file+:} false; then :
 
6067
  $as_echo_n "(cached) " >&6
 
6068
else
 
6069
  lt_cv_ar_at_file=no
 
6070
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6071
/* end confdefs.h.  */
 
6072
 
 
6073
int
 
6074
main ()
 
6075
{
 
6076
 
 
6077
  ;
 
6078
  return 0;
 
6079
}
 
6080
_ACEOF
 
6081
if ac_fn_c_try_compile "$LINENO"; then :
 
6082
  echo conftest.$ac_objext > conftest.lst
 
6083
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6084
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6085
  (eval $lt_ar_try) 2>&5
 
6086
  ac_status=$?
 
6087
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6088
  test $ac_status = 0; }
 
6089
      if test "$ac_status" -eq 0; then
 
6090
        # Ensure the archiver fails upon bogus file names.
 
6091
        rm -f conftest.$ac_objext libconftest.a
 
6092
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6093
  (eval $lt_ar_try) 2>&5
 
6094
  ac_status=$?
 
6095
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6096
  test $ac_status = 0; }
 
6097
        if test "$ac_status" -ne 0; then
 
6098
          lt_cv_ar_at_file=@
 
6099
        fi
 
6100
      fi
 
6101
      rm -f conftest.* libconftest.a
 
6102
 
 
6103
fi
 
6104
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6105
 
 
6106
fi
 
6107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6108
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6109
 
 
6110
if test "x$lt_cv_ar_at_file" = xno; then
 
6111
  archiver_list_spec=
 
6112
else
 
6113
  archiver_list_spec=$lt_cv_ar_at_file
 
6114
fi
5913
6115
 
5914
6116
 
5915
6117
 
6132
6334
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6133
6335
fi
6134
6336
 
 
6337
case $host_os in
 
6338
  darwin*)
 
6339
    lock_old_archive_extraction=yes ;;
 
6340
  *)
 
6341
    lock_old_archive_extraction=no ;;
 
6342
esac
 
6343
 
 
6344
 
 
6345
 
 
6346
 
 
6347
 
 
6348
 
6135
6349
 
6136
6350
 
6137
6351
 
6239
6453
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6240
6454
 
6241
6455
# Transform an extracted symbol line into symbol name and symbol address
6242
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6243
 
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'"
 
6456
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6457
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'"
6244
6458
 
6245
6459
# Handle CRLF in mingw tool chain
6246
6460
opt_cr=
6276
6490
  else
6277
6491
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6278
6492
  fi
 
6493
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6279
6494
 
6280
6495
  # Check to see that the pipe works correctly.
6281
6496
  pipe_works=no
6301
6516
  test $ac_status = 0; }; then
6302
6517
    # Now try to grab the symbols.
6303
6518
    nlist=conftest.nm
6304
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6305
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6519
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6520
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6306
6521
  ac_status=$?
6307
6522
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6308
6523
  test $ac_status = 0; } && test -s "$nlist"; then
6317
6532
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6318
6533
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6319
6534
          cat <<_LT_EOF > conftest.$ac_ext
 
6535
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6536
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6537
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6538
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6539
# define LT_DLSYM_CONST
 
6540
#elif defined(__osf__)
 
6541
/* This system does not cope well with relocations in const data.  */
 
6542
# define LT_DLSYM_CONST
 
6543
#else
 
6544
# define LT_DLSYM_CONST const
 
6545
#endif
 
6546
 
6320
6547
#ifdef __cplusplus
6321
6548
extern "C" {
6322
6549
#endif
6328
6555
          cat <<_LT_EOF >> conftest.$ac_ext
6329
6556
 
6330
6557
/* The mapping between symbol names and symbols.  */
6331
 
const struct {
 
6558
LT_DLSYM_CONST struct {
6332
6559
  const char *name;
6333
6560
  void       *address;
6334
6561
}
6354
6581
_LT_EOF
6355
6582
          # Now try linking the two files.
6356
6583
          mv conftest.$ac_objext conftstm.$ac_objext
6357
 
          lt_save_LIBS="$LIBS"
6358
 
          lt_save_CFLAGS="$CFLAGS"
 
6584
          lt_globsym_save_LIBS=$LIBS
 
6585
          lt_globsym_save_CFLAGS=$CFLAGS
6359
6586
          LIBS="conftstm.$ac_objext"
6360
6587
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6361
6588
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6365
6592
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6366
6593
            pipe_works=yes
6367
6594
          fi
6368
 
          LIBS="$lt_save_LIBS"
6369
 
          CFLAGS="$lt_save_CFLAGS"
 
6595
          LIBS=$lt_globsym_save_LIBS
 
6596
          CFLAGS=$lt_globsym_save_CFLAGS
6370
6597
        else
6371
6598
          echo "cannot find nm_test_func in $nlist" >&5
6372
6599
        fi
6403
6630
$as_echo "ok" >&6; }
6404
6631
fi
6405
6632
 
6406
 
 
6407
 
 
6408
 
 
6409
 
 
6410
 
 
6411
 
 
6412
 
 
6413
 
 
6414
 
 
6415
 
 
6416
 
 
6417
 
 
6418
 
 
6419
 
 
6420
 
 
6421
 
 
6422
 
 
 
6633
# Response file support.
 
6634
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6635
  nm_file_list_spec='@'
 
6636
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6637
  nm_file_list_spec='@'
 
6638
fi
 
6639
 
 
6640
 
 
6641
 
 
6642
 
 
6643
 
 
6644
 
 
6645
 
 
6646
 
 
6647
 
 
6648
 
 
6649
 
 
6650
 
 
6651
 
 
6652
 
 
6653
 
 
6654
 
 
6655
 
 
6656
 
 
6657
 
 
6658
 
 
6659
 
 
6660
 
 
6661
 
 
6662
 
 
6663
 
 
6664
 
 
6665
 
 
6666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6667
$as_echo_n "checking for sysroot... " >&6; }
 
6668
 
 
6669
# Check whether --with-sysroot was given.
 
6670
if test "${with_sysroot+set}" = set; then :
 
6671
  withval=$with_sysroot;
 
6672
else
 
6673
  with_sysroot=no
 
6674
fi
 
6675
 
 
6676
 
 
6677
lt_sysroot=
 
6678
case ${with_sysroot} in #(
 
6679
 yes)
 
6680
   if test "$GCC" = yes; then
 
6681
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6682
   fi
 
6683
   ;; #(
 
6684
 /*)
 
6685
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6686
   ;; #(
 
6687
 no|'')
 
6688
   ;; #(
 
6689
 *)
 
6690
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6691
$as_echo "${with_sysroot}" >&6; }
 
6692
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6693
   ;;
 
6694
esac
 
6695
 
 
6696
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6697
$as_echo "${lt_sysroot:-no}" >&6; }
6423
6698
 
6424
6699
 
6425
6700
 
6456
6731
  ;;
6457
6732
*-*-irix6*)
6458
6733
  # Find out which ABI we are using.
6459
 
  echo '#line 6459 "configure"' > conftest.$ac_ext
 
6734
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6460
6735
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6461
6736
  (eval $ac_compile) 2>&5
6462
6737
  ac_status=$?
6618
6893
 
6619
6894
need_locks="$enable_libtool_lock"
6620
6895
 
 
6896
if test -n "$ac_tool_prefix"; then
 
6897
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6898
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6900
$as_echo_n "checking for $ac_word... " >&6; }
 
6901
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6902
  $as_echo_n "(cached) " >&6
 
6903
else
 
6904
  if test -n "$MANIFEST_TOOL"; then
 
6905
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6906
else
 
6907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6908
for as_dir in $PATH
 
6909
do
 
6910
  IFS=$as_save_IFS
 
6911
  test -z "$as_dir" && as_dir=.
 
6912
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6913
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6914
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6915
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6916
    break 2
 
6917
  fi
 
6918
done
 
6919
  done
 
6920
IFS=$as_save_IFS
 
6921
 
 
6922
fi
 
6923
fi
 
6924
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6925
if test -n "$MANIFEST_TOOL"; then
 
6926
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6927
$as_echo "$MANIFEST_TOOL" >&6; }
 
6928
else
 
6929
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6930
$as_echo "no" >&6; }
 
6931
fi
 
6932
 
 
6933
 
 
6934
fi
 
6935
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6936
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6937
  # Extract the first word of "mt", so it can be a program name with args.
 
6938
set dummy mt; ac_word=$2
 
6939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6940
$as_echo_n "checking for $ac_word... " >&6; }
 
6941
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6942
  $as_echo_n "(cached) " >&6
 
6943
else
 
6944
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6945
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6946
else
 
6947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6948
for as_dir in $PATH
 
6949
do
 
6950
  IFS=$as_save_IFS
 
6951
  test -z "$as_dir" && as_dir=.
 
6952
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6953
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6954
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6955
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6956
    break 2
 
6957
  fi
 
6958
done
 
6959
  done
 
6960
IFS=$as_save_IFS
 
6961
 
 
6962
fi
 
6963
fi
 
6964
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6965
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6966
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6967
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6968
else
 
6969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6970
$as_echo "no" >&6; }
 
6971
fi
 
6972
 
 
6973
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6974
    MANIFEST_TOOL=":"
 
6975
  else
 
6976
    case $cross_compiling:$ac_tool_warned in
 
6977
yes:)
 
6978
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6979
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6980
ac_tool_warned=yes ;;
 
6981
esac
 
6982
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6983
  fi
 
6984
else
 
6985
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6986
fi
 
6987
 
 
6988
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6990
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6991
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6992
  $as_echo_n "(cached) " >&6
 
6993
else
 
6994
  lt_cv_path_mainfest_tool=no
 
6995
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6996
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6997
  cat conftest.err >&5
 
6998
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6999
    lt_cv_path_mainfest_tool=yes
 
7000
  fi
 
7001
  rm -f conftest*
 
7002
fi
 
7003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7004
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7005
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7006
  MANIFEST_TOOL=:
 
7007
fi
 
7008
 
 
7009
 
 
7010
 
 
7011
 
 
7012
 
6621
7013
 
6622
7014
  case $host_os in
6623
7015
    rhapsody* | darwin*)
7168
7560
fi
7169
7561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7170
7562
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7563
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7564
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7565
if ${lt_cv_ld_force_load+:} false; then :
 
7566
  $as_echo_n "(cached) " >&6
 
7567
else
 
7568
  lt_cv_ld_force_load=no
 
7569
      cat > conftest.c << _LT_EOF
 
7570
int forced_loaded() { return 2;}
 
7571
_LT_EOF
 
7572
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7573
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7574
      echo "$AR cru libconftest.a conftest.o" >&5
 
7575
      $AR cru libconftest.a conftest.o 2>&5
 
7576
      echo "$RANLIB libconftest.a" >&5
 
7577
      $RANLIB libconftest.a 2>&5
 
7578
      cat > conftest.c << _LT_EOF
 
7579
int main() { return 0;}
 
7580
_LT_EOF
 
7581
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7582
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7583
      _lt_result=$?
 
7584
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7585
        lt_cv_ld_force_load=yes
 
7586
      else
 
7587
        cat conftest.err >&5
 
7588
      fi
 
7589
        rm -f conftest.err libconftest.a conftest conftest.c
 
7590
        rm -rf conftest.dSYM
 
7591
 
 
7592
fi
 
7593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7594
$as_echo "$lt_cv_ld_force_load" >&6; }
7171
7595
    case $host_os in
7172
7596
    rhapsody* | darwin1.[012])
7173
7597
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7195
7619
    else
7196
7620
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7197
7621
    fi
7198
 
    if test "$DSYMUTIL" != ":"; then
 
7622
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7199
7623
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7200
7624
    else
7201
7625
      _lt_dsymutil=
7348
7772
 
7349
7773
 
7350
7774
 
 
7775
 
 
7776
 
7351
7777
# Set options
7352
7778
 
7353
7779
 
7500
7926
 
7501
7927
 
7502
7928
 
 
7929
 
7503
7930
test -z "$LN_S" && LN_S="ln -s"
7504
7931
 
7505
7932
 
7549
7976
 
7550
7977
 
7551
7978
 
7552
 
 
7553
 
 
7554
 
 
7555
 
 
7556
 
 
7557
 
 
7558
 
 
7559
 
 
7560
 
 
7561
 
 
7562
 
 
7563
 
 
7564
 
 
7565
7979
case $host_os in
7566
7980
aix3*)
7567
7981
  # AIX sometimes has problems with the GCC collect2 program.  For some
7574
7988
  ;;
7575
7989
esac
7576
7990
 
7577
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7578
 
# metacharacters that are still active within double-quoted strings.
7579
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7580
 
 
7581
 
# Same as above, but do not quote variable references.
7582
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7583
 
 
7584
 
# Sed substitution to delay expansion of an escaped shell variable in a
7585
 
# double_quote_subst'ed string.
7586
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7587
 
 
7588
 
# Sed substitution to delay expansion of an escaped single quote.
7589
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7590
 
 
7591
 
# Sed substitution to avoid accidental globbing in evaled expressions
7592
 
no_glob_subst='s/\*/\\\*/g'
7593
 
 
7594
7991
# Global variables:
7595
7992
ofile=libtool
7596
7993
can_build_shared=yes
7619
8016
    *) break;;
7620
8017
  esac
7621
8018
done
7622
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8019
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7623
8020
 
7624
8021
 
7625
8022
# Only perform the check for file, if the check method requires it
7828
8225
lt_prog_compiler_no_builtin_flag=
7829
8226
 
7830
8227
if test "$GCC" = yes; then
7831
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8228
  case $cc_basename in
 
8229
  nvcc*)
 
8230
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8231
  *)
 
8232
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8233
  esac
7832
8234
 
7833
8235
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7834
8236
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7848
8250
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7849
8251
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7850
8252
   -e 's:$: $lt_compiler_flag:'`
7851
 
   (eval echo "\"\$as_me:7851: $lt_compile\"" >&5)
 
8253
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7852
8254
   (eval "$lt_compile" 2>conftest.err)
7853
8255
   ac_status=$?
7854
8256
   cat conftest.err >&5
7855
 
   echo "$as_me:7855: \$? = $ac_status" >&5
 
8257
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856
8258
   if (exit $ac_status) && test -s "$ac_outfile"; then
7857
8259
     # The compiler can only warn and ignore the option if not recognized
7858
8260
     # So say no if there are warnings other than the usual output.
7859
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8261
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7860
8262
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7861
8263
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7862
8264
       lt_cv_prog_compiler_rtti_exceptions=yes
7885
8287
lt_prog_compiler_pic=
7886
8288
lt_prog_compiler_static=
7887
8289
 
7888
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7889
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7890
8290
 
7891
8291
  if test "$GCC" = yes; then
7892
8292
    lt_prog_compiler_wl='-Wl,'
7934
8334
      lt_prog_compiler_pic='-fno-common'
7935
8335
      ;;
7936
8336
 
 
8337
    haiku*)
 
8338
      # PIC is the default for Haiku.
 
8339
      # The "-static" flag exists, but is broken.
 
8340
      lt_prog_compiler_static=
 
8341
      ;;
 
8342
 
7937
8343
    hpux*)
7938
8344
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7939
8345
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7976
8382
      lt_prog_compiler_pic='-fPIC'
7977
8383
      ;;
7978
8384
    esac
 
8385
 
 
8386
    case $cc_basename in
 
8387
    nvcc*) # Cuda Compiler Driver 2.2
 
8388
      lt_prog_compiler_wl='-Xlinker '
 
8389
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8390
      ;;
 
8391
    esac
7979
8392
  else
7980
8393
    # PORTME Check for flag to pass linker flags through the system compiler.
7981
8394
    case $host_os in
8017
8430
      lt_prog_compiler_static='-non_shared'
8018
8431
      ;;
8019
8432
 
8020
 
    linux* | k*bsd*-gnu)
 
8433
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8021
8434
      case $cc_basename in
8022
8435
      # old Intel for x86_64 which still supported -KPIC.
8023
8436
      ecc*)
8038
8451
        lt_prog_compiler_pic='--shared'
8039
8452
        lt_prog_compiler_static='--static'
8040
8453
        ;;
8041
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8454
      nagfor*)
 
8455
        # NAG Fortran compiler
 
8456
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8457
        lt_prog_compiler_pic='-PIC'
 
8458
        lt_prog_compiler_static='-Bstatic'
 
8459
        ;;
 
8460
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8042
8461
        # Portland Group compilers (*not* the Pentium gcc compiler,
8043
8462
        # which looks to be a dead project)
8044
8463
        lt_prog_compiler_wl='-Wl,'
8050
8469
        # All Alpha code is PIC.
8051
8470
        lt_prog_compiler_static='-non_shared'
8052
8471
        ;;
8053
 
      xl*)
8054
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8472
      xl* | bgxl* | bgf* | mpixl*)
 
8473
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8055
8474
        lt_prog_compiler_wl='-Wl,'
8056
8475
        lt_prog_compiler_pic='-qpic'
8057
8476
        lt_prog_compiler_static='-qstaticlink'
8058
8477
        ;;
8059
8478
      *)
8060
8479
        case `$CC -V 2>&1 | sed 5q` in
 
8480
        *Sun\ F* | *Sun*Fortran*)
 
8481
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8482
          lt_prog_compiler_pic='-KPIC'
 
8483
          lt_prog_compiler_static='-Bstatic'
 
8484
          lt_prog_compiler_wl=''
 
8485
          ;;
8061
8486
        *Sun\ C*)
8062
8487
          # Sun C 5.9
8063
8488
          lt_prog_compiler_pic='-KPIC'
8064
8489
          lt_prog_compiler_static='-Bstatic'
8065
8490
          lt_prog_compiler_wl='-Wl,'
8066
8491
          ;;
8067
 
        *Sun\ F*)
8068
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8069
 
          lt_prog_compiler_pic='-KPIC'
8070
 
          lt_prog_compiler_static='-Bstatic'
8071
 
          lt_prog_compiler_wl=''
8072
 
          ;;
8073
8492
        esac
8074
8493
        ;;
8075
8494
      esac
8100
8519
      lt_prog_compiler_pic='-KPIC'
8101
8520
      lt_prog_compiler_static='-Bstatic'
8102
8521
      case $cc_basename in
8103
 
      f77* | f90* | f95*)
 
8522
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8104
8523
        lt_prog_compiler_wl='-Qoption ld ';;
8105
8524
      *)
8106
8525
        lt_prog_compiler_wl='-Wl,';;
8157
8576
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8158
8577
    ;;
8159
8578
esac
8160
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8161
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8162
 
 
8163
 
 
8164
 
 
8165
 
 
8166
 
 
 
8579
 
 
8580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8581
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8582
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8583
  $as_echo_n "(cached) " >&6
 
8584
else
 
8585
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8586
fi
 
8587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8588
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8589
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8167
8590
 
8168
8591
#
8169
8592
# Check to make sure the PIC flag actually works.
8187
8610
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8188
8611
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8189
8612
   -e 's:$: $lt_compiler_flag:'`
8190
 
   (eval echo "\"\$as_me:8190: $lt_compile\"" >&5)
 
8613
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8191
8614
   (eval "$lt_compile" 2>conftest.err)
8192
8615
   ac_status=$?
8193
8616
   cat conftest.err >&5
8194
 
   echo "$as_me:8194: \$? = $ac_status" >&5
 
8617
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195
8618
   if (exit $ac_status) && test -s "$ac_outfile"; then
8196
8619
     # The compiler can only warn and ignore the option if not recognized
8197
8620
     # So say no if there are warnings other than the usual output.
8198
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8621
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8199
8622
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8200
8623
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8201
8624
       lt_cv_prog_compiler_pic_works=yes
8224
8647
 
8225
8648
 
8226
8649
 
 
8650
 
 
8651
 
 
8652
 
 
8653
 
 
8654
 
8227
8655
#
8228
8656
# Check to make sure the static flag actually works.
8229
8657
#
8243
8671
     if test -s conftest.err; then
8244
8672
       # Append any errors to the config.log.
8245
8673
       cat conftest.err 1>&5
8246
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8674
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8247
8675
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8248
8676
       if diff conftest.exp conftest.er2 >/dev/null; then
8249
8677
         lt_cv_prog_compiler_static_works=yes
8292
8720
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8293
8721
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8294
8722
   -e 's:$: $lt_compiler_flag:'`
8295
 
   (eval echo "\"\$as_me:8295: $lt_compile\"" >&5)
 
8723
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8296
8724
   (eval "$lt_compile" 2>out/conftest.err)
8297
8725
   ac_status=$?
8298
8726
   cat out/conftest.err >&5
8299
 
   echo "$as_me:8299: \$? = $ac_status" >&5
 
8727
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300
8728
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8301
8729
   then
8302
8730
     # The compiler can only warn and ignore the option if not recognized
8303
8731
     # So say no if there are warnings
8304
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8732
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8305
8733
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8306
8734
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8307
8735
       lt_cv_prog_compiler_c_o=yes
8347
8775
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8348
8776
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8349
8777
   -e 's:$: $lt_compiler_flag:'`
8350
 
   (eval echo "\"\$as_me:8350: $lt_compile\"" >&5)
 
8778
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8351
8779
   (eval "$lt_compile" 2>out/conftest.err)
8352
8780
   ac_status=$?
8353
8781
   cat out/conftest.err >&5
8354
 
   echo "$as_me:8354: \$? = $ac_status" >&5
 
8782
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355
8783
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8356
8784
   then
8357
8785
     # The compiler can only warn and ignore the option if not recognized
8358
8786
     # So say no if there are warnings
8359
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8787
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8360
8788
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8361
8789
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8362
8790
       lt_cv_prog_compiler_c_o=yes
8469
8897
  esac
8470
8898
 
8471
8899
  ld_shlibs=yes
 
8900
 
 
8901
  # On some targets, GNU ld is compatible enough with the native linker
 
8902
  # that we're better off using the native interface for both.
 
8903
  lt_use_gnu_ld_interface=no
8472
8904
  if test "$with_gnu_ld" = yes; then
 
8905
    case $host_os in
 
8906
      aix*)
 
8907
        # The AIX port of GNU ld has always aspired to compatibility
 
8908
        # with the native linker.  However, as the warning in the GNU ld
 
8909
        # block says, versions before 2.19.5* couldn't really create working
 
8910
        # shared libraries, regardless of the interface used.
 
8911
        case `$LD -v 2>&1` in
 
8912
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8913
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8914
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8915
          *)
 
8916
            lt_use_gnu_ld_interface=yes
 
8917
            ;;
 
8918
        esac
 
8919
        ;;
 
8920
      *)
 
8921
        lt_use_gnu_ld_interface=yes
 
8922
        ;;
 
8923
    esac
 
8924
  fi
 
8925
 
 
8926
  if test "$lt_use_gnu_ld_interface" = yes; then
8473
8927
    # If archive_cmds runs LD, not CC, wlarc should be empty
8474
8928
    wlarc='${wl}'
8475
8929
 
8487
8941
    fi
8488
8942
    supports_anon_versioning=no
8489
8943
    case `$LD -v 2>&1` in
 
8944
      *GNU\ gold*) supports_anon_versioning=yes ;;
8490
8945
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8491
8946
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8492
8947
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8502
8957
        ld_shlibs=no
8503
8958
        cat <<_LT_EOF 1>&2
8504
8959
 
8505
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8960
*** Warning: the GNU linker, at least up to release 2.19, is reported
8506
8961
*** to be unable to reliably create shared libraries on AIX.
8507
8962
*** Therefore, libtool is disabling shared libraries support.  If you
8508
 
*** really care for shared libraries, you may want to modify your PATH
8509
 
*** so that a non-GNU linker is found, and then restart.
 
8963
*** really care for shared libraries, you may want to install binutils
 
8964
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8965
*** You will then need to restart the configuration process.
8510
8966
 
8511
8967
_LT_EOF
8512
8968
      fi
8542
8998
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8543
8999
      # as there is no search path for DLLs.
8544
9000
      hardcode_libdir_flag_spec='-L$libdir'
 
9001
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8545
9002
      allow_undefined_flag=unsupported
8546
9003
      always_export_symbols=no
8547
9004
      enable_shared_with_static_runtimes=yes
8548
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9005
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
9006
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8549
9007
 
8550
9008
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8551
9009
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8563
9021
      fi
8564
9022
      ;;
8565
9023
 
 
9024
    haiku*)
 
9025
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9026
      link_all_deplibs=yes
 
9027
      ;;
 
9028
 
8566
9029
    interix[3-9]*)
8567
9030
      hardcode_direct=no
8568
9031
      hardcode_shlibpath_var=no
8578
9041
      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'
8579
9042
      ;;
8580
9043
 
8581
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9044
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8582
9045
      tmp_diet=no
8583
9046
      if test "$host_os" = linux-dietlibc; then
8584
9047
        case $cc_basename in
8588
9051
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8589
9052
         && test "$tmp_diet" = no
8590
9053
      then
8591
 
        tmp_addflag=
 
9054
        tmp_addflag=' $pic_flag'
8592
9055
        tmp_sharedflag='-shared'
8593
9056
        case $cc_basename,$host_cpu in
8594
9057
        pgcc*)                          # Portland Group C compiler
8595
 
          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'
 
9058
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8596
9059
          tmp_addflag=' $pic_flag'
8597
9060
          ;;
8598
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8599
 
          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'
 
9061
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9062
                                        # Portland Group f77 and f90 compilers
 
9063
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8600
9064
          tmp_addflag=' $pic_flag -Mnomain' ;;
8601
9065
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8602
9066
          tmp_addflag=' -i_dynamic' ;;
8607
9071
        lf95*)                          # Lahey Fortran 8.1
8608
9072
          whole_archive_flag_spec=
8609
9073
          tmp_sharedflag='--shared' ;;
8610
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9074
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8611
9075
          tmp_sharedflag='-qmkshrobj'
8612
9076
          tmp_addflag= ;;
 
9077
        nvcc*)  # Cuda Compiler Driver 2.2
 
9078
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9079
          compiler_needs_object=yes
 
9080
          ;;
8613
9081
        esac
8614
9082
        case `$CC -V 2>&1 | sed 5q` in
8615
9083
        *Sun\ C*)                       # Sun C 5.9
8616
 
          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'
 
9084
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8617
9085
          compiler_needs_object=yes
8618
9086
          tmp_sharedflag='-G' ;;
8619
9087
        *Sun\ F*)                       # Sun Fortran 8.3
8629
9097
        fi
8630
9098
 
8631
9099
        case $cc_basename in
8632
 
        xlf*)
 
9100
        xlf* | bgf* | bgxlf* | mpixlf*)
8633
9101
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8634
9102
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8635
9103
          hardcode_libdir_flag_spec=
8636
9104
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8637
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9105
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8638
9106
          if test "x$supports_anon_versioning" = xyes; then
8639
9107
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8640
9108
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8641
9109
              echo "local: *; };" >> $output_objdir/$libname.ver~
8642
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9110
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8643
9111
          fi
8644
9112
          ;;
8645
9113
        esac
8653
9121
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8654
9122
        wlarc=
8655
9123
      else
8656
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8657
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9124
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9125
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8658
9126
      fi
8659
9127
      ;;
8660
9128
 
8672
9140
 
8673
9141
_LT_EOF
8674
9142
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8675
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8676
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9143
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9144
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8677
9145
      else
8678
9146
        ld_shlibs=no
8679
9147
      fi
8719
9187
 
8720
9188
    *)
8721
9189
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8722
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8723
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9190
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9191
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8724
9192
      else
8725
9193
        ld_shlibs=no
8726
9194
      fi
8760
9228
      else
8761
9229
        # If we're using GNU nm, then we don't want the "-C" option.
8762
9230
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9231
        # Also, AIX nm treats weak defined symbols like other global
 
9232
        # defined symbols, whereas GNU nm marks them as "W".
8763
9233
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8764
 
          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'
 
9234
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8765
9235
        else
8766
9236
          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'
8767
9237
        fi
8848
9318
        allow_undefined_flag='-berok'
8849
9319
        # Determine the default libpath from the value encoded in an
8850
9320
        # empty executable.
8851
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9321
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9322
  aix_libpath=$lt_cv_aix_libpath
 
9323
else
 
9324
  if ${lt_cv_aix_libpath_+:} false; then :
 
9325
  $as_echo_n "(cached) " >&6
 
9326
else
 
9327
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8852
9328
/* end confdefs.h.  */
8853
9329
 
8854
9330
int
8861
9337
_ACEOF
8862
9338
if ac_fn_c_try_link "$LINENO"; then :
8863
9339
 
8864
 
lt_aix_libpath_sed='
8865
 
    /Import File Strings/,/^$/ {
8866
 
        /^0/ {
8867
 
            s/^0  *\(.*\)$/\1/
8868
 
            p
8869
 
        }
8870
 
    }'
8871
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8872
 
# Check for a 64-bit object if we didn't find anything.
8873
 
if test -z "$aix_libpath"; then
8874
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8875
 
fi
 
9340
  lt_aix_libpath_sed='
 
9341
      /Import File Strings/,/^$/ {
 
9342
          /^0/ {
 
9343
              s/^0  *\([^ ]*\) *$/\1/
 
9344
              p
 
9345
          }
 
9346
      }'
 
9347
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9348
  # Check for a 64-bit object if we didn't find anything.
 
9349
  if test -z "$lt_cv_aix_libpath_"; then
 
9350
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9351
  fi
8876
9352
fi
8877
9353
rm -f core conftest.err conftest.$ac_objext \
8878
9354
    conftest$ac_exeext conftest.$ac_ext
8879
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9355
  if test -z "$lt_cv_aix_libpath_"; then
 
9356
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9357
  fi
 
9358
 
 
9359
fi
 
9360
 
 
9361
  aix_libpath=$lt_cv_aix_libpath_
 
9362
fi
8880
9363
 
8881
9364
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8882
 
        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"
 
9365
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8883
9366
      else
8884
9367
        if test "$host_cpu" = ia64; then
8885
9368
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8888
9371
        else
8889
9372
         # Determine the default libpath from the value encoded in an
8890
9373
         # empty executable.
8891
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9374
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9375
  aix_libpath=$lt_cv_aix_libpath
 
9376
else
 
9377
  if ${lt_cv_aix_libpath_+:} false; then :
 
9378
  $as_echo_n "(cached) " >&6
 
9379
else
 
9380
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8892
9381
/* end confdefs.h.  */
8893
9382
 
8894
9383
int
8901
9390
_ACEOF
8902
9391
if ac_fn_c_try_link "$LINENO"; then :
8903
9392
 
8904
 
lt_aix_libpath_sed='
8905
 
    /Import File Strings/,/^$/ {
8906
 
        /^0/ {
8907
 
            s/^0  *\(.*\)$/\1/
8908
 
            p
8909
 
        }
8910
 
    }'
8911
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8912
 
# Check for a 64-bit object if we didn't find anything.
8913
 
if test -z "$aix_libpath"; then
8914
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8915
 
fi
 
9393
  lt_aix_libpath_sed='
 
9394
      /Import File Strings/,/^$/ {
 
9395
          /^0/ {
 
9396
              s/^0  *\([^ ]*\) *$/\1/
 
9397
              p
 
9398
          }
 
9399
      }'
 
9400
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9401
  # Check for a 64-bit object if we didn't find anything.
 
9402
  if test -z "$lt_cv_aix_libpath_"; then
 
9403
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9404
  fi
8916
9405
fi
8917
9406
rm -f core conftest.err conftest.$ac_objext \
8918
9407
    conftest$ac_exeext conftest.$ac_ext
8919
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9408
  if test -z "$lt_cv_aix_libpath_"; then
 
9409
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9410
  fi
 
9411
 
 
9412
fi
 
9413
 
 
9414
  aix_libpath=$lt_cv_aix_libpath_
 
9415
fi
8920
9416
 
8921
9417
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8922
9418
          # Warning - without using the other run time loading flags,
8923
9419
          # -berok will link without error, but may produce a broken library.
8924
9420
          no_undefined_flag=' ${wl}-bernotok'
8925
9421
          allow_undefined_flag=' ${wl}-berok'
8926
 
          # Exported symbols can be pulled into shared objects from archives
8927
 
          whole_archive_flag_spec='$convenience'
 
9422
          if test "$with_gnu_ld" = yes; then
 
9423
            # We only use this code for GNU lds that support --whole-archive.
 
9424
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9425
          else
 
9426
            # Exported symbols can be pulled into shared objects from archives
 
9427
            whole_archive_flag_spec='$convenience'
 
9428
          fi
8928
9429
          archive_cmds_need_lc=yes
8929
9430
          # This is similar to how AIX traditionally builds its shared libraries.
8930
9431
          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'
8956
9457
      # Microsoft Visual C++.
8957
9458
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8958
9459
      # no search path for DLLs.
8959
 
      hardcode_libdir_flag_spec=' '
8960
 
      allow_undefined_flag=unsupported
8961
 
      # Tell ltmain to make .lib files, not .a files.
8962
 
      libext=lib
8963
 
      # Tell ltmain to make .dll files, not .so files.
8964
 
      shrext_cmds=".dll"
8965
 
      # FIXME: Setting linknames here is a bad hack.
8966
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8967
 
      # The linker will automatically build a .lib file if we build a DLL.
8968
 
      old_archive_from_new_cmds='true'
8969
 
      # FIXME: Should let the user specify the lib program.
8970
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8971
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8972
 
      enable_shared_with_static_runtimes=yes
 
9460
      case $cc_basename in
 
9461
      cl*)
 
9462
        # Native MSVC
 
9463
        hardcode_libdir_flag_spec=' '
 
9464
        allow_undefined_flag=unsupported
 
9465
        always_export_symbols=yes
 
9466
        file_list_spec='@'
 
9467
        # Tell ltmain to make .lib files, not .a files.
 
9468
        libext=lib
 
9469
        # Tell ltmain to make .dll files, not .so files.
 
9470
        shrext_cmds=".dll"
 
9471
        # FIXME: Setting linknames here is a bad hack.
 
9472
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9473
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9474
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9475
          else
 
9476
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9477
          fi~
 
9478
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9479
          linknames='
 
9480
        # The linker will not automatically build a static lib if we build a DLL.
 
9481
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9482
        enable_shared_with_static_runtimes=yes
 
9483
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9484
        # Don't use ranlib
 
9485
        old_postinstall_cmds='chmod 644 $oldlib'
 
9486
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9487
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9488
          case $lt_outputfile in
 
9489
            *.exe|*.EXE) ;;
 
9490
            *)
 
9491
              lt_outputfile="$lt_outputfile.exe"
 
9492
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9493
              ;;
 
9494
          esac~
 
9495
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9496
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9497
            $RM "$lt_outputfile.manifest";
 
9498
          fi'
 
9499
        ;;
 
9500
      *)
 
9501
        # Assume MSVC wrapper
 
9502
        hardcode_libdir_flag_spec=' '
 
9503
        allow_undefined_flag=unsupported
 
9504
        # Tell ltmain to make .lib files, not .a files.
 
9505
        libext=lib
 
9506
        # Tell ltmain to make .dll files, not .so files.
 
9507
        shrext_cmds=".dll"
 
9508
        # FIXME: Setting linknames here is a bad hack.
 
9509
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9510
        # The linker will automatically build a .lib file if we build a DLL.
 
9511
        old_archive_from_new_cmds='true'
 
9512
        # FIXME: Should let the user specify the lib program.
 
9513
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9514
        enable_shared_with_static_runtimes=yes
 
9515
        ;;
 
9516
      esac
8973
9517
      ;;
8974
9518
 
8975
9519
    darwin* | rhapsody*)
8979
9523
  hardcode_direct=no
8980
9524
  hardcode_automatic=yes
8981
9525
  hardcode_shlibpath_var=unsupported
8982
 
  whole_archive_flag_spec=''
 
9526
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9527
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9528
  else
 
9529
    whole_archive_flag_spec=''
 
9530
  fi
8983
9531
  link_all_deplibs=yes
8984
9532
  allow_undefined_flag="$_lt_dar_allow_undefined"
8985
9533
  case $cc_basename in
8987
9535
     *) _lt_dar_can_shared=$GCC ;;
8988
9536
  esac
8989
9537
  if test "$_lt_dar_can_shared" = "yes"; then
8990
 
    output_verbose_link_cmd=echo
 
9538
    output_verbose_link_cmd=func_echo_all
8991
9539
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8992
9540
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8993
9541
    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}"
9030
9578
 
9031
9579
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9032
9580
    freebsd* | dragonfly*)
9033
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9581
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9034
9582
      hardcode_libdir_flag_spec='-R$libdir'
9035
9583
      hardcode_direct=yes
9036
9584
      hardcode_shlibpath_var=no
9038
9586
 
9039
9587
    hpux9*)
9040
9588
      if test "$GCC" = yes; then
9041
 
        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'
 
9589
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9042
9590
      else
9043
9591
        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'
9044
9592
      fi
9053
9601
      ;;
9054
9602
 
9055
9603
    hpux10*)
9056
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9057
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9604
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9605
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9058
9606
      else
9059
9607
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9060
9608
      fi
9072
9620
      ;;
9073
9621
 
9074
9622
    hpux11*)
9075
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9623
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9076
9624
        case $host_cpu in
9077
9625
        hppa*64*)
9078
9626
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9079
9627
          ;;
9080
9628
        ia64*)
9081
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9629
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9082
9630
          ;;
9083
9631
        *)
9084
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9632
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9085
9633
          ;;
9086
9634
        esac
9087
9635
      else
9093
9641
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9094
9642
          ;;
9095
9643
        *)
9096
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9644
 
 
9645
          # Older versions of the 11.00 compiler do not understand -b yet
 
9646
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9647
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9648
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9649
if ${lt_cv_prog_compiler__b+:} false; then :
 
9650
  $as_echo_n "(cached) " >&6
 
9651
else
 
9652
  lt_cv_prog_compiler__b=no
 
9653
   save_LDFLAGS="$LDFLAGS"
 
9654
   LDFLAGS="$LDFLAGS -b"
 
9655
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9656
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9657
     # The linker can only warn and ignore the option if not recognized
 
9658
     # So say no if there are warnings
 
9659
     if test -s conftest.err; then
 
9660
       # Append any errors to the config.log.
 
9661
       cat conftest.err 1>&5
 
9662
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9663
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9664
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9665
         lt_cv_prog_compiler__b=yes
 
9666
       fi
 
9667
     else
 
9668
       lt_cv_prog_compiler__b=yes
 
9669
     fi
 
9670
   fi
 
9671
   $RM -r conftest*
 
9672
   LDFLAGS="$save_LDFLAGS"
 
9673
 
 
9674
fi
 
9675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9676
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9677
 
 
9678
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9679
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9680
else
 
9681
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9682
fi
 
9683
 
9097
9684
          ;;
9098
9685
        esac
9099
9686
      fi
9121
9708
 
9122
9709
    irix5* | irix6* | nonstopux*)
9123
9710
      if test "$GCC" = yes; then
9124
 
        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'
 
9711
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9125
9712
        # Try to use the -exported_symbol ld option, if it does not
9126
9713
        # work, assume that -exports_file does not work either and
9127
9714
        # implicitly export all symbols.
9128
 
        save_LDFLAGS="$LDFLAGS"
9129
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9130
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9715
        # This should be the same for all languages, so no per-tag cache variable.
 
9716
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9717
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9718
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9719
  $as_echo_n "(cached) " >&6
 
9720
else
 
9721
  save_LDFLAGS="$LDFLAGS"
 
9722
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9723
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9131
9724
/* end confdefs.h.  */
9132
 
int foo(void) {}
 
9725
int foo (void) { return 0; }
9133
9726
_ACEOF
9134
9727
if ac_fn_c_try_link "$LINENO"; then :
9135
 
  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'
9136
 
 
 
9728
  lt_cv_irix_exported_symbol=yes
 
9729
else
 
9730
  lt_cv_irix_exported_symbol=no
9137
9731
fi
9138
9732
rm -f core conftest.err conftest.$ac_objext \
9139
9733
    conftest$ac_exeext conftest.$ac_ext
9140
 
        LDFLAGS="$save_LDFLAGS"
 
9734
           LDFLAGS="$save_LDFLAGS"
 
9735
fi
 
9736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9737
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9738
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9739
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9740
        fi
9141
9741
      else
9142
 
        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'
9143
 
        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'
 
9742
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9743
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9144
9744
      fi
9145
9745
      archive_cmds_need_lc='no'
9146
9746
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9202
9802
      hardcode_libdir_flag_spec='-L$libdir'
9203
9803
      hardcode_minus_L=yes
9204
9804
      allow_undefined_flag=unsupported
9205
 
      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'
 
9805
      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'
9206
9806
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9207
9807
      ;;
9208
9808
 
9209
9809
    osf3*)
9210
9810
      if test "$GCC" = yes; then
9211
9811
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9212
 
        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'
 
9812
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9213
9813
      else
9214
9814
        allow_undefined_flag=' -expect_unresolved \*'
9215
 
        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'
 
9815
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9216
9816
      fi
9217
9817
      archive_cmds_need_lc='no'
9218
9818
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9222
9822
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9223
9823
      if test "$GCC" = yes; then
9224
9824
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9225
 
        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'
 
9825
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9226
9826
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9227
9827
      else
9228
9828
        allow_undefined_flag=' -expect_unresolved \*'
9229
 
        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'
 
9829
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9230
9830
        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~
9231
 
        $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'
 
9831
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9232
9832
 
9233
9833
        # Both c and cxx compiler support -rpath directly
9234
9834
        hardcode_libdir_flag_spec='-rpath $libdir'
9241
9841
      no_undefined_flag=' -z defs'
9242
9842
      if test "$GCC" = yes; then
9243
9843
        wlarc='${wl}'
9244
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9844
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9245
9845
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9246
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9846
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9247
9847
      else
9248
9848
        case `$CC -V 2>&1` in
9249
9849
        *"Compilers 5.0"*)
9431
10031
      # to ld, don't add -lc before -lgcc.
9432
10032
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9433
10033
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9434
 
      $RM conftest*
9435
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10034
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10035
  $as_echo_n "(cached) " >&6
 
10036
else
 
10037
  $RM conftest*
 
10038
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9436
10039
 
9437
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10040
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9438
10041
  (eval $ac_compile) 2>&5
9439
10042
  ac_status=$?
9440
10043
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9441
10044
  test $ac_status = 0; } 2>conftest.err; then
9442
 
        soname=conftest
9443
 
        lib=conftest
9444
 
        libobjs=conftest.$ac_objext
9445
 
        deplibs=
9446
 
        wl=$lt_prog_compiler_wl
9447
 
        pic_flag=$lt_prog_compiler_pic
9448
 
        compiler_flags=-v
9449
 
        linker_flags=-v
9450
 
        verstring=
9451
 
        output_objdir=.
9452
 
        libname=conftest
9453
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9454
 
        allow_undefined_flag=
9455
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10045
          soname=conftest
 
10046
          lib=conftest
 
10047
          libobjs=conftest.$ac_objext
 
10048
          deplibs=
 
10049
          wl=$lt_prog_compiler_wl
 
10050
          pic_flag=$lt_prog_compiler_pic
 
10051
          compiler_flags=-v
 
10052
          linker_flags=-v
 
10053
          verstring=
 
10054
          output_objdir=.
 
10055
          libname=conftest
 
10056
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10057
          allow_undefined_flag=
 
10058
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9456
10059
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9457
10060
  ac_status=$?
9458
10061
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9459
10062
  test $ac_status = 0; }
9460
 
        then
9461
 
          archive_cmds_need_lc=no
9462
 
        else
9463
 
          archive_cmds_need_lc=yes
9464
 
        fi
9465
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9466
 
      else
9467
 
        cat conftest.err 1>&5
9468
 
      fi
9469
 
      $RM conftest*
9470
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9471
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10063
          then
 
10064
            lt_cv_archive_cmds_need_lc=no
 
10065
          else
 
10066
            lt_cv_archive_cmds_need_lc=yes
 
10067
          fi
 
10068
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10069
        else
 
10070
          cat conftest.err 1>&5
 
10071
        fi
 
10072
        $RM conftest*
 
10073
 
 
10074
fi
 
10075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10076
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10077
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9472
10078
      ;;
9473
10079
    esac
9474
10080
  fi
9639
10245
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9640
10246
    *) lt_awk_arg="/^libraries:/" ;;
9641
10247
  esac
9642
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9643
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10248
  case $host_os in
 
10249
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10250
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10251
  esac
 
10252
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10253
  case $lt_search_path_spec in
 
10254
  *\;*)
9644
10255
    # if the path contains ";" then we assume it to be the separator
9645
10256
    # otherwise default to the standard path separator (i.e. ":") - it is
9646
10257
    # assumed that no part of a normal pathname contains ";" but that should
9647
10258
    # okay in the real world where ";" in dirpaths is itself problematic.
9648
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9649
 
  else
9650
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9651
 
  fi
 
10259
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10260
    ;;
 
10261
  *)
 
10262
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10263
    ;;
 
10264
  esac
9652
10265
  # Ok, now we have the path, separated by spaces, we can step through it
9653
10266
  # and add multilib dir if necessary.
9654
10267
  lt_tmp_lt_search_path_spec=
9661
10274
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9662
10275
    fi
9663
10276
  done
9664
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10277
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9665
10278
BEGIN {RS=" "; FS="/|\n";} {
9666
10279
  lt_foo="";
9667
10280
  lt_count=0;
9681
10294
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9682
10295
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9683
10296
}'`
9684
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10297
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10298
  # for these hosts.
 
10299
  case $host_os in
 
10300
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10301
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10302
  esac
 
10303
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9685
10304
else
9686
10305
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9687
10306
fi
9769
10388
  m68k)
9770
10389
    library_names_spec='$libname.ixlibrary $libname.a'
9771
10390
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9772
 
    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'
 
10391
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9773
10392
    ;;
9774
10393
  esac
9775
10394
  ;;
9800
10419
  need_version=no
9801
10420
  need_lib_prefix=no
9802
10421
 
9803
 
  case $GCC,$host_os in
9804
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10422
  case $GCC,$cc_basename in
 
10423
  yes,*)
 
10424
    # gcc
9805
10425
    library_names_spec='$libname.dll.a'
9806
10426
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9807
10427
    postinstall_cmds='base_file=`basename \${file}`~
9822
10442
    cygwin*)
9823
10443
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9824
10444
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9825
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10445
 
 
10446
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9826
10447
      ;;
9827
10448
    mingw* | cegcc*)
9828
10449
      # MinGW DLLs use traditional 'lib' prefix
9829
10450
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9830
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9831
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9832
 
        # It is most probably a Windows format PATH printed by
9833
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9834
 
        # path with ; separators, and with drive letters. We can handle the
9835
 
        # drive letters (cygwin fileutils understands them), so leave them,
9836
 
        # especially as we might pass files found there to a mingw objdump,
9837
 
        # which wouldn't understand a cygwinified path. Ahh.
9838
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9839
 
      else
9840
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9841
 
      fi
9842
10451
      ;;
9843
10452
    pw32*)
9844
10453
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9845
10454
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9846
10455
      ;;
9847
10456
    esac
 
10457
    dynamic_linker='Win32 ld.exe'
 
10458
    ;;
 
10459
 
 
10460
  *,cl*)
 
10461
    # Native MSVC
 
10462
    libname_spec='$name'
 
10463
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10464
    library_names_spec='${libname}.dll.lib'
 
10465
 
 
10466
    case $build_os in
 
10467
    mingw*)
 
10468
      sys_lib_search_path_spec=
 
10469
      lt_save_ifs=$IFS
 
10470
      IFS=';'
 
10471
      for lt_path in $LIB
 
10472
      do
 
10473
        IFS=$lt_save_ifs
 
10474
        # Let DOS variable expansion print the short 8.3 style file name.
 
10475
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10476
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10477
      done
 
10478
      IFS=$lt_save_ifs
 
10479
      # Convert to MSYS style.
 
10480
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10481
      ;;
 
10482
    cygwin*)
 
10483
      # Convert to unix form, then to dos form, then back to unix form
 
10484
      # but this time dos style (no spaces!) so that the unix form looks
 
10485
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10486
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10487
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10488
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10489
      ;;
 
10490
    *)
 
10491
      sys_lib_search_path_spec="$LIB"
 
10492
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10493
        # It is most probably a Windows format PATH.
 
10494
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10495
      else
 
10496
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10497
      fi
 
10498
      # FIXME: find the short name or the path components, as spaces are
 
10499
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10500
      ;;
 
10501
    esac
 
10502
 
 
10503
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10504
    postinstall_cmds='base_file=`basename \${file}`~
 
10505
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10506
      dldir=$destdir/`dirname \$dlpath`~
 
10507
      test -d \$dldir || mkdir -p \$dldir~
 
10508
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10509
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10510
      dlpath=$dir/\$dldll~
 
10511
       $RM \$dlpath'
 
10512
    shlibpath_overrides_runpath=yes
 
10513
    dynamic_linker='Win32 link.exe'
9848
10514
    ;;
9849
10515
 
9850
10516
  *)
 
10517
    # Assume MSVC wrapper
9851
10518
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10519
    dynamic_linker='Win32 ld.exe'
9852
10520
    ;;
9853
10521
  esac
9854
 
  dynamic_linker='Win32 ld.exe'
9855
10522
  # FIXME: first we should search . and the directory the executable is in
9856
10523
  shlibpath_var=PATH
9857
10524
  ;;
9938
10605
  hardcode_into_libs=yes
9939
10606
  ;;
9940
10607
 
 
10608
haiku*)
 
10609
  version_type=linux
 
10610
  need_lib_prefix=no
 
10611
  need_version=no
 
10612
  dynamic_linker="$host_os runtime_loader"
 
10613
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10614
  soname_spec='${libname}${release}${shared_ext}$major'
 
10615
  shlibpath_var=LIBRARY_PATH
 
10616
  shlibpath_overrides_runpath=yes
 
10617
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10618
  hardcode_into_libs=yes
 
10619
  ;;
 
10620
 
9941
10621
hpux9* | hpux10* | hpux11*)
9942
10622
  # Give a soname corresponding to the major version so that dld.sl refuses to
9943
10623
  # link against other versions.
9980
10660
    soname_spec='${libname}${release}${shared_ext}$major'
9981
10661
    ;;
9982
10662
  esac
9983
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10663
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9984
10664
  postinstall_cmds='chmod 555 $lib'
 
10665
  # or fails outright, so override atomically:
 
10666
  install_override_mode=555
9985
10667
  ;;
9986
10668
 
9987
10669
interix[3-9]*)
10039
10721
  ;;
10040
10722
 
10041
10723
# This must be Linux ELF.
10042
 
linux* | k*bsd*-gnu)
 
10724
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10043
10725
  version_type=linux
10044
10726
  need_lib_prefix=no
10045
10727
  need_version=no
10048
10730
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10049
10731
  shlibpath_var=LD_LIBRARY_PATH
10050
10732
  shlibpath_overrides_runpath=no
 
10733
 
10051
10734
  # Some binutils ld are patched to set DT_RUNPATH
10052
 
  save_LDFLAGS=$LDFLAGS
10053
 
  save_libdir=$libdir
10054
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10055
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10056
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10735
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10736
  $as_echo_n "(cached) " >&6
 
10737
else
 
10738
  lt_cv_shlibpath_overrides_runpath=no
 
10739
    save_LDFLAGS=$LDFLAGS
 
10740
    save_libdir=$libdir
 
10741
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10742
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10743
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10057
10744
/* end confdefs.h.  */
10058
10745
 
10059
10746
int
10066
10753
_ACEOF
10067
10754
if ac_fn_c_try_link "$LINENO"; then :
10068
10755
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10069
 
  shlibpath_overrides_runpath=yes
 
10756
  lt_cv_shlibpath_overrides_runpath=yes
10070
10757
fi
10071
10758
fi
10072
10759
rm -f core conftest.err conftest.$ac_objext \
10073
10760
    conftest$ac_exeext conftest.$ac_ext
10074
 
  LDFLAGS=$save_LDFLAGS
10075
 
  libdir=$save_libdir
 
10761
    LDFLAGS=$save_LDFLAGS
 
10762
    libdir=$save_libdir
 
10763
 
 
10764
fi
 
10765
 
 
10766
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10076
10767
 
10077
10768
  # This implies no fast_install, which is unacceptable.
10078
10769
  # Some rework will be needed to allow for fast_install
10084
10775
 
10085
10776
  # Append ld.so.conf contents to the search path
10086
10777
  if test -f /etc/ld.so.conf; then
10087
 
    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' ' '`
 
10778
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10088
10779
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
10780
 
10089
10781
  fi
10090
10782
 
10091
10783
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10387
11079
 
10388
11080
 
10389
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
10390
11087
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10391
11088
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10392
11089
hardcode_action=
10717
11414
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10718
11415
  lt_status=$lt_dlunknown
10719
11416
  cat > conftest.$ac_ext <<_LT_EOF
10720
 
#line 10720 "configure"
 
11417
#line $LINENO "configure"
10721
11418
#include "confdefs.h"
10722
11419
 
10723
11420
#if HAVE_DLFCN_H
10758
11455
#  endif
10759
11456
#endif
10760
11457
 
10761
 
void fnord() { int i=42;}
 
11458
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11459
   correspondingly for the symbols needed.  */
 
11460
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11461
int fnord () __attribute__((visibility("default")));
 
11462
#endif
 
11463
 
 
11464
int fnord () { return 42; }
10762
11465
int main ()
10763
11466
{
10764
11467
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10767
11470
  if (self)
10768
11471
    {
10769
11472
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10770
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11473
      else
 
11474
        {
 
11475
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11476
          else puts (dlerror ());
 
11477
        }
10771
11478
      /* dlclose (self); */
10772
11479
    }
10773
11480
  else
10813
11520
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10814
11521
  lt_status=$lt_dlunknown
10815
11522
  cat > conftest.$ac_ext <<_LT_EOF
10816
 
#line 10816 "configure"
 
11523
#line $LINENO "configure"
10817
11524
#include "confdefs.h"
10818
11525
 
10819
11526
#if HAVE_DLFCN_H
10854
11561
#  endif
10855
11562
#endif
10856
11563
 
10857
 
void fnord() { int i=42;}
 
11564
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11565
   correspondingly for the symbols needed.  */
 
11566
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11567
int fnord () __attribute__((visibility("default")));
 
11568
#endif
 
11569
 
 
11570
int fnord () { return 42; }
10858
11571
int main ()
10859
11572
{
10860
11573
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10863
11576
  if (self)
10864
11577
    {
10865
11578
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10866
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11579
      else
 
11580
        {
 
11581
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11582
          else puts (dlerror ());
 
11583
        }
10867
11584
      /* dlclose (self); */
10868
11585
    }
10869
11586
  else
11067
11784
        fi
11068
11785
 
11069
11786
 
11070
 
 
11071
 
    # Check whether --enable-compile-warnings was given.
11072
 
if test "${enable_compile_warnings+set}" = set; then :
11073
 
  enableval=$enable_compile_warnings;
11074
 
else
11075
 
  enable_compile_warnings="maximum"
11076
 
fi
11077
 
 
11078
 
 
11079
 
    warnCFLAGS=
11080
 
    if test "x$GCC" != xyes; then
11081
 
        enable_compile_warnings=no
11082
 
    fi
11083
 
 
11084
 
    warning_flags=
11085
 
    realsave_CFLAGS="$CFLAGS"
11086
 
 
11087
 
    case "$enable_compile_warnings" in
11088
 
    no)
11089
 
        warning_flags=
11090
 
        ;;
11091
 
    minimum)
11092
 
        warning_flags="-Wall"
11093
 
        ;;
11094
 
    yes)
11095
 
        warning_flags="-Wall -Wmissing-prototypes"
11096
 
        ;;
11097
 
    maximum|error)
11098
 
        warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
11099
 
        CFLAGS="$warning_flags $CFLAGS"
11100
 
        for option in -Wno-sign-compare; do
11101
 
                SAVE_CFLAGS="$CFLAGS"
11102
 
                CFLAGS="$CFLAGS $option"
11103
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
11104
 
$as_echo_n "checking whether gcc understands $option... " >&6; }
11105
 
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106
 
/* end confdefs.h.  */
11107
 
 
11108
 
int
11109
 
main ()
11110
 
{
11111
 
 
11112
 
  ;
11113
 
  return 0;
11114
 
}
11115
 
_ACEOF
11116
 
if ac_fn_c_try_compile "$LINENO"; then :
11117
 
  has_option=yes
11118
 
else
11119
 
  has_option=no
11120
 
fi
11121
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11122
 
                CFLAGS="$SAVE_CFLAGS"
11123
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
11124
 
$as_echo "$has_option" >&6; }
11125
 
                if test $has_option = yes; then
11126
 
                  warning_flags="$warning_flags $option"
11127
 
                fi
11128
 
                unset has_option
11129
 
                unset SAVE_CFLAGS
11130
 
        done
11131
 
        unset option
11132
 
        if test "$enable_compile_warnings" = "error" ; then
11133
 
            warning_flags="$warning_flags -Werror"
11134
 
        fi
11135
 
        ;;
11136
 
    *)
11137
 
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
11138
 
        ;;
11139
 
    esac
11140
 
    CFLAGS="$realsave_CFLAGS"
11141
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
11142
 
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
11143
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
11144
 
$as_echo "$warning_flags" >&6; }
11145
 
 
11146
 
    # Check whether --enable-iso-c was given.
11147
 
if test "${enable_iso_c+set}" = set; then :
11148
 
  enableval=$enable_iso_c;
11149
 
else
11150
 
  enable_iso_c=no
11151
 
fi
11152
 
 
11153
 
 
11154
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
11155
 
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
11156
 
    complCFLAGS=
11157
 
    if test "x$enable_iso_c" != "xno"; then
11158
 
        if test "x$GCC" = "xyes"; then
11159
 
        case " $CFLAGS " in
11160
 
            *\ \        -ansi\ \        *) ;;
11161
 
            *) complCFLAGS="$complCFLAGS -ansi" ;;
11162
 
        esac
11163
 
        case " $CFLAGS " in
11164
 
            *\ \        -pedantic\ \    *) ;;
11165
 
            *) complCFLAGS="$complCFLAGS -pedantic" ;;
11166
 
        esac
11167
 
        fi
11168
 
    fi
11169
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
11170
 
$as_echo "$complCFLAGS" >&6; }
11171
 
 
11172
 
    WARN_CFLAGS="$warning_flags $complCFLAGS"
11173
 
 
11174
 
 
11175
 
 
11176
 
  # Check whether --enable-cxx-warnings was given.
11177
 
if test "${enable_cxx_warnings+set}" = set; then :
11178
 
  enableval=$enable_cxx_warnings;
11179
 
else
11180
 
  enable_cxx_warnings="yes"
11181
 
fi
11182
 
 
11183
 
 
11184
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
11185
 
$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
11186
 
  warnCXXFLAGS=
11187
 
  if test "x$GXX" != xyes; then
11188
 
    enable_cxx_warnings=no
11189
 
  fi
11190
 
  if test "x$enable_cxx_warnings" != "xno"; then
11191
 
    if test "x$GXX" = "xyes"; then
11192
 
      case " $CXXFLAGS " in
11193
 
      *\ \      -Wall\ \        *) ;;
11194
 
      *) warnCXXFLAGS="-Wall -Wno-unused" ;;
11195
 
      esac
11196
 
 
11197
 
      ## -W is not all that useful.  And it cannot be controlled
11198
 
      ## with individual -Wno-xxx flags, unlike -Wall
11199
 
      if test "x$enable_cxx_warnings" = "xyes"; then
11200
 
        warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
11201
 
      fi
11202
 
    fi
11203
 
  fi
11204
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warnCXXFLAGS" >&5
11205
 
$as_echo "$warnCXXFLAGS" >&6; }
11206
 
 
11207
 
   # Check whether --enable-iso-cxx was given.
11208
 
if test "${enable_iso_cxx+set}" = set; then :
11209
 
  enableval=$enable_iso_cxx;
11210
 
else
11211
 
  enable_iso_cxx=no
11212
 
fi
11213
 
 
11214
 
 
11215
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C++ compiler" >&5
11216
 
$as_echo_n "checking what language compliance flags to pass to the C++ compiler... " >&6; }
11217
 
   complCXXFLAGS=
11218
 
   if test "x$enable_iso_cxx" != "xno"; then
11219
 
     if test "x$GXX" = "xyes"; then
11220
 
      case " $CXXFLAGS " in
11221
 
      *\ \      -ansi\ \        *) ;;
11222
 
      *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
11223
 
      esac
11224
 
 
11225
 
      case " $CXXFLAGS " in
11226
 
      *\ \      -pedantic\ \    *) ;;
11227
 
      *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
11228
 
      esac
11229
 
     fi
11230
 
   fi
11231
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCXXFLAGS" >&5
11232
 
$as_echo "$complCXXFLAGS" >&6; }
11233
 
 
11234
 
  WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
11235
 
 
11236
 
 
11237
 
 
11238
 
 
11239
 
 
11240
 
        DISABLE_DEPRECATED=""
11241
 
        if test $USE_MAINTAINER_MODE = yes; then
11242
 
                DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
11243
 
                for DOMAIN in $DOMAINS; do
11244
 
                       DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
11245
 
                done
11246
 
        fi
11247
 
 
11248
 
 
11249
 
 
11250
 
 
11251
 
# *****************
11252
 
# Distribution info
11253
 
# *****************
11254
 
 
11255
 
LSB_DISTRIBUTOR=
11256
 
LSB_DISTRIBUTION=
11257
 
 
11258
 
# Extract the first word of "lsb_release", so it can be a program name with args.
11259
 
set dummy lsb_release; ac_word=$2
11260
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11261
 
$as_echo_n "checking for $ac_word... " >&6; }
11262
 
if ${ac_cv_path_LSB_RELEASE+:} false; then :
11263
 
  $as_echo_n "(cached) " >&6
11264
 
else
11265
 
  case $LSB_RELEASE in
11266
 
  [\\/]* | ?:[\\/]*)
11267
 
  ac_cv_path_LSB_RELEASE="$LSB_RELEASE" # Let the user override the test with a path.
11268
 
  ;;
11269
 
  *)
11270
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11271
 
for as_dir in $PATH
11272
 
do
11273
 
  IFS=$as_save_IFS
11274
 
  test -z "$as_dir" && as_dir=.
11275
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11276
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11277
 
    ac_cv_path_LSB_RELEASE="$as_dir/$ac_word$ac_exec_ext"
11278
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11279
 
    break 2
11280
 
  fi
11281
 
done
11282
 
  done
11283
 
IFS=$as_save_IFS
11284
 
 
11285
 
  test -z "$ac_cv_path_LSB_RELEASE" && ac_cv_path_LSB_RELEASE="false"
11286
 
  ;;
11287
 
esac
11288
 
fi
11289
 
LSB_RELEASE=$ac_cv_path_LSB_RELEASE
11290
 
if test -n "$LSB_RELEASE"; then
11291
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LSB_RELEASE" >&5
11292
 
$as_echo "$LSB_RELEASE" >&6; }
11293
 
else
11294
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11295
 
$as_echo "no" >&6; }
11296
 
fi
11297
 
 
11298
 
 
11299
 
if test "$LSB_RELEASE" != "false"; then
11300
 
  LSB_DISTRIBUTOR="$($LSB_RELEASE -s -i | sed 's,^\",,;s,\"$,,')"
11301
 
  LSB_DISTRIBUTION="$($LSB_RELEASE -s -d | sed 's,^\",,;s,\"$,,')"
11302
 
fi
11303
 
 
11304
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LSB distributor" >&5
11305
 
$as_echo_n "checking for LSB distributor... " >&6; }
11306
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LSB_DISTRIBUTOR" >&5
11307
 
$as_echo "$LSB_DISTRIBUTOR" >&6; }
11308
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LSB distribution" >&5
11309
 
$as_echo_n "checking for LSB distribution... " >&6; }
11310
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LSB_DISTRIBUTION" >&5
11311
 
$as_echo "$LSB_DISTRIBUTION" >&6; }
11312
 
 
11313
 
 
11314
 
cat >>confdefs.h <<_ACEOF
11315
 
#define LSB_DISTRIBUTOR "$LSB_DISTRIBUTOR"
11316
 
_ACEOF
11317
 
 
11318
 
 
11319
 
cat >>confdefs.h <<_ACEOF
11320
 
#define LSB_DISTRIBUTION "$LSB_DISTRIBUTION"
11321
 
_ACEOF
11322
 
 
11323
 
 
11324
11787
# ************
11325
11788
# Dependencies
11326
11789
# ************
11434
11897
fi
11435
11898
 
11436
11899
 
11437
 
# ********
11438
 
# Features
11439
 
# ********
11440
 
 
11441
 
# *****
11442
 
# Sound
11443
 
# *****
11444
 
 
11445
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sound support" >&5
11446
 
$as_echo_n "checking whether to enable sound support... " >&6; }
11447
 
# Check whether --enable-sound was given.
11448
 
if test "${enable_sound+set}" = set; then :
11449
 
  enableval=$enable_sound;
11450
 
else
11451
 
  enable_sound=yes
11452
 
fi
11453
 
 
11454
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sound" >&5
11455
 
$as_echo "$enable_sound" >&6; }
11456
 
 
11457
11900
# ******************
11458
11901
# Card theme formats
11459
11902
# ******************
11568
12011
 
11569
12012
# Card theme paths
11570
12013
 
 
12014
# Extract the first word of "lsb_release", so it can be a program name with args.
 
12015
set dummy lsb_release; ac_word=$2
 
12016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12017
$as_echo_n "checking for $ac_word... " >&6; }
 
12018
if ${ac_cv_path_LSB_RELEASE+:} false; then :
 
12019
  $as_echo_n "(cached) " >&6
 
12020
else
 
12021
  case $LSB_RELEASE in
 
12022
  [\\/]* | ?:[\\/]*)
 
12023
  ac_cv_path_LSB_RELEASE="$LSB_RELEASE" # Let the user override the test with a path.
 
12024
  ;;
 
12025
  *)
 
12026
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12027
for as_dir in $PATH
 
12028
do
 
12029
  IFS=$as_save_IFS
 
12030
  test -z "$as_dir" && as_dir=.
 
12031
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12032
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12033
    ac_cv_path_LSB_RELEASE="$as_dir/$ac_word$ac_exec_ext"
 
12034
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12035
    break 2
 
12036
  fi
 
12037
done
 
12038
  done
 
12039
IFS=$as_save_IFS
 
12040
 
 
12041
  test -z "$ac_cv_path_LSB_RELEASE" && ac_cv_path_LSB_RELEASE="false"
 
12042
  ;;
 
12043
esac
 
12044
fi
 
12045
LSB_RELEASE=$ac_cv_path_LSB_RELEASE
 
12046
if test -n "$LSB_RELEASE"; then
 
12047
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LSB_RELEASE" >&5
 
12048
$as_echo "$LSB_RELEASE" >&6; }
 
12049
else
 
12050
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12051
$as_echo "no" >&6; }
 
12052
fi
 
12053
 
 
12054
 
 
12055
if test "$LSB_RELEASE" != "false"; then
 
12056
  LSB_DISTRIBUTOR="$($LSB_RELEASE -s -i | sed 's,^\",,;s,\"$,,')"
 
12057
  LSB_DISTRIBUTION="$($LSB_RELEASE -s -d | sed 's,^\",,;s,\"$,,')"
 
12058
else
 
12059
  LSB_DISTRIBUTOR=
 
12060
  LSB_DISTRIBUTION=
 
12061
fi
 
12062
 
 
12063
LSB_HINT="$LSB_DISTRIBUTOR $LSB_DISTRIBUTION"
 
12064
 
11571
12065
if test "$enable_card_theme_format_kde" = "yes"; then
11572
12066
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KDE card themes base path" >&5
11573
12067
$as_echo_n "checking for KDE card themes base path... " >&6; }
11576
12070
if test "${with_kde_card_theme_path+set}" = set; then :
11577
12071
  withval=$with_kde_card_theme_path;
11578
12072
else
11579
 
  case $LSB_DISTRIBUTION in
 
12073
  case "$LSB_HINT" in
11580
12074
          *Debian*|*Fedora*|*RedHat*|*SUSE*|*Ubuntu*) with_kde_card_theme_path="/usr/share/kde4/apps/carddecks" ;;
11581
12075
          *) as_fn_error $? "When enabling the KDE card theme format, you must specify the KDE card themes base path." "$LINENO" 5 ;;
11582
12076
        esac
11600
12094
if test "${with_pysol_card_theme_path+set}" = set; then :
11601
12095
  withval=$with_pysol_card_theme_path;
11602
12096
else
11603
 
  case $LSB_DISTRIBUTION in
 
12097
  case "$LSB_HINT" in
11604
12098
          *Debian*|*Ubuntu*) with_pysol_card_theme_path="/usr/share/games/pysol" ;;
11605
12099
          *Fedora*|*RedHat*) with_pysol_card_theme_path="/usr/share/PySolFC" ;;
11606
12100
          *SUSE*)            with_pysol_card_theme_path="/usr/share/games/pysol/data" ;;
11707
12201
esac
11708
12202
 
11709
12203
GCONF_REQUIRED=2.0
11710
 
GLIB_REQUIRED=2.26.0
11711
 
GIO_REQUIRED=2.26.0
11712
 
GSTREAMER_REQUIRED=0.10.11
 
12204
GLIB_REQUIRED=2.31.13
 
12205
GIO_REQUIRED=2.31.13
11713
12206
 
11714
12207
# Check for common modules
11715
12208
 
11716
 
need_gthread=no
11717
 
 
11718
 
pkg_failed=no
11719
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
11720
 
$as_echo_n "checking for GTHREAD... " >&6; }
11721
 
 
11722
 
if test -n "$GTHREAD_CFLAGS"; then
11723
 
    pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
11724
 
 elif test -n "$PKG_CONFIG"; then
11725
 
    if test -n "$PKG_CONFIG" && \
11726
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
11727
 
  ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
11728
 
  ac_status=$?
11729
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11730
 
  test $ac_status = 0; }; then
11731
 
  pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
11732
 
else
11733
 
  pkg_failed=yes
11734
 
fi
11735
 
 else
11736
 
    pkg_failed=untried
11737
 
fi
11738
 
if test -n "$GTHREAD_LIBS"; then
11739
 
    pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
11740
 
 elif test -n "$PKG_CONFIG"; then
11741
 
    if test -n "$PKG_CONFIG" && \
11742
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
11743
 
  ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
11744
 
  ac_status=$?
11745
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11746
 
  test $ac_status = 0; }; then
11747
 
  pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
11748
 
else
11749
 
  pkg_failed=yes
11750
 
fi
11751
 
 else
11752
 
    pkg_failed=untried
11753
 
fi
11754
 
 
11755
 
 
11756
 
 
11757
 
if test $pkg_failed = yes; then
11758
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759
 
$as_echo "no" >&6; }
11760
 
 
11761
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11762
 
        _pkg_short_errors_supported=yes
11763
 
else
11764
 
        _pkg_short_errors_supported=no
11765
 
fi
11766
 
        if test $_pkg_short_errors_supported = yes; then
11767
 
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gthread-2.0" 2>&1`
11768
 
        else
11769
 
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors "gthread-2.0" 2>&1`
11770
 
        fi
11771
 
        # Put the nasty error message in config.log where it belongs
11772
 
        echo "$GTHREAD_PKG_ERRORS" >&5
11773
 
 
11774
 
        as_fn_error $? "Package requirements (gthread-2.0) were not met:
11775
 
 
11776
 
$GTHREAD_PKG_ERRORS
11777
 
 
11778
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11779
 
installed software in a non-standard prefix.
11780
 
 
11781
 
Alternatively, you may set the environment variables GTHREAD_CFLAGS
11782
 
and GTHREAD_LIBS to avoid the need to call pkg-config.
11783
 
See the pkg-config man page for more details." "$LINENO" 5
11784
 
 
11785
 
elif test $pkg_failed = untried; then
11786
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787
 
$as_echo "no" >&6; }
11788
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11789
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11790
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11791
 
is in your PATH or set the PKG_CONFIG environment variable to the full
11792
 
path to pkg-config.
11793
 
 
11794
 
Alternatively, you may set the environment variables GTHREAD_CFLAGS
11795
 
and GTHREAD_LIBS to avoid the need to call pkg-config.
11796
 
See the pkg-config man page for more details.
11797
 
 
11798
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11799
 
See \`config.log' for more details" "$LINENO" 5; }
11800
 
 
11801
 
else
11802
 
        GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
11803
 
        GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
11804
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11805
 
$as_echo "yes" >&6; }
11806
 
 
11807
 
fi
11808
 
 
11809
 
 
11810
 
 
11811
 
 
11812
 
pkg_failed=no
11813
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
11814
 
$as_echo_n "checking for GMODULE... " >&6; }
11815
 
 
11816
 
if test -n "$GMODULE_CFLAGS"; then
11817
 
    pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
11818
 
 elif test -n "$PKG_CONFIG"; then
11819
 
    if test -n "$PKG_CONFIG" && \
11820
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
11821
 
  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
11822
 
  ac_status=$?
11823
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11824
 
  test $ac_status = 0; }; then
11825
 
  pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
11826
 
else
11827
 
  pkg_failed=yes
11828
 
fi
11829
 
 else
11830
 
    pkg_failed=untried
11831
 
fi
11832
 
if test -n "$GMODULE_LIBS"; then
11833
 
    pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
11834
 
 elif test -n "$PKG_CONFIG"; then
11835
 
    if test -n "$PKG_CONFIG" && \
11836
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
11837
 
  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
11838
 
  ac_status=$?
11839
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11840
 
  test $ac_status = 0; }; then
11841
 
  pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
11842
 
else
11843
 
  pkg_failed=yes
11844
 
fi
11845
 
 else
11846
 
    pkg_failed=untried
11847
 
fi
11848
 
 
11849
 
 
11850
 
 
11851
 
if test $pkg_failed = yes; then
11852
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853
 
$as_echo "no" >&6; }
11854
 
 
11855
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11856
 
        _pkg_short_errors_supported=yes
11857
 
else
11858
 
        _pkg_short_errors_supported=no
11859
 
fi
11860
 
        if test $_pkg_short_errors_supported = yes; then
11861
 
                GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0" 2>&1`
11862
 
        else
11863
 
                GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0" 2>&1`
11864
 
        fi
11865
 
        # Put the nasty error message in config.log where it belongs
11866
 
        echo "$GMODULE_PKG_ERRORS" >&5
11867
 
 
11868
 
        as_fn_error $? "Package requirements (gmodule-2.0) were not met:
11869
 
 
11870
 
$GMODULE_PKG_ERRORS
11871
 
 
11872
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11873
 
installed software in a non-standard prefix.
11874
 
 
11875
 
Alternatively, you may set the environment variables GMODULE_CFLAGS
11876
 
and GMODULE_LIBS to avoid the need to call pkg-config.
11877
 
See the pkg-config man page for more details." "$LINENO" 5
11878
 
 
11879
 
elif test $pkg_failed = untried; then
11880
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11881
 
$as_echo "no" >&6; }
11882
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11883
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11884
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11885
 
is in your PATH or set the PKG_CONFIG environment variable to the full
11886
 
path to pkg-config.
11887
 
 
11888
 
Alternatively, you may set the environment variables GMODULE_CFLAGS
11889
 
and GMODULE_LIBS to avoid the need to call pkg-config.
11890
 
See the pkg-config man page for more details.
11891
 
 
11892
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11893
 
See \`config.log' for more details" "$LINENO" 5; }
11894
 
 
11895
 
else
11896
 
        GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
11897
 
        GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
11898
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11899
 
$as_echo "yes" >&6; }
11900
 
 
11901
 
fi
11902
 
 
11903
 
 
11904
 
 
11905
 
 
11906
 
pkg_failed=no
11907
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
11908
 
$as_echo_n "checking for GOBJECT... " >&6; }
11909
 
 
11910
 
if test -n "$GOBJECT_CFLAGS"; then
11911
 
    pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
11912
 
 elif test -n "$PKG_CONFIG"; then
11913
 
    if test -n "$PKG_CONFIG" && \
11914
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
11915
 
  ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
11916
 
  ac_status=$?
11917
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11918
 
  test $ac_status = 0; }; then
11919
 
  pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
11920
 
else
11921
 
  pkg_failed=yes
11922
 
fi
11923
 
 else
11924
 
    pkg_failed=untried
11925
 
fi
11926
 
if test -n "$GOBJECT_LIBS"; then
11927
 
    pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
11928
 
 elif test -n "$PKG_CONFIG"; then
11929
 
    if test -n "$PKG_CONFIG" && \
11930
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
11931
 
  ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
11932
 
  ac_status=$?
11933
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11934
 
  test $ac_status = 0; }; then
11935
 
  pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
11936
 
else
11937
 
  pkg_failed=yes
11938
 
fi
11939
 
 else
11940
 
    pkg_failed=untried
11941
 
fi
11942
 
 
11943
 
 
11944
 
 
11945
 
if test $pkg_failed = yes; then
11946
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11947
 
$as_echo "no" >&6; }
11948
 
 
11949
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11950
 
        _pkg_short_errors_supported=yes
11951
 
else
11952
 
        _pkg_short_errors_supported=no
11953
 
fi
11954
 
        if test $_pkg_short_errors_supported = yes; then
11955
 
                GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0" 2>&1`
11956
 
        else
11957
 
                GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0" 2>&1`
11958
 
        fi
11959
 
        # Put the nasty error message in config.log where it belongs
11960
 
        echo "$GOBJECT_PKG_ERRORS" >&5
11961
 
 
11962
 
        as_fn_error $? "Package requirements (gobject-2.0) were not met:
11963
 
 
11964
 
$GOBJECT_PKG_ERRORS
11965
 
 
11966
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11967
 
installed software in a non-standard prefix.
11968
 
 
11969
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
11970
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
11971
 
See the pkg-config man page for more details." "$LINENO" 5
11972
 
 
11973
 
elif test $pkg_failed = untried; then
11974
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975
 
$as_echo "no" >&6; }
11976
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11979
 
is in your PATH or set the PKG_CONFIG environment variable to the full
11980
 
path to pkg-config.
11981
 
 
11982
 
Alternatively, you may set the environment variables GOBJECT_CFLAGS
11983
 
and GOBJECT_LIBS to avoid the need to call pkg-config.
11984
 
See the pkg-config man page for more details.
11985
 
 
11986
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11987
 
See \`config.log' for more details" "$LINENO" 5; }
11988
 
 
11989
 
else
11990
 
        GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
11991
 
        GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
11992
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11993
 
$as_echo "yes" >&6; }
11994
 
 
11995
 
fi
11996
 
 
11997
 
 
11998
 
 
11999
 
 
12000
 
pkg_failed=no
12001
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12002
 
$as_echo_n "checking for GTK... " >&6; }
12003
 
 
12004
 
if test -n "$GTK_CFLAGS"; then
12005
 
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12006
 
 elif test -n "$PKG_CONFIG"; then
12007
 
    if test -n "$PKG_CONFIG" && \
12008
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
12009
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
12010
 
  ac_status=$?
12011
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12012
 
  test $ac_status = 0; }; then
12013
 
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
12014
 
else
12015
 
  pkg_failed=yes
12016
 
fi
12017
 
 else
12018
 
    pkg_failed=untried
12019
 
fi
12020
 
if test -n "$GTK_LIBS"; then
12021
 
    pkg_cv_GTK_LIBS="$GTK_LIBS"
12022
 
 elif test -n "$PKG_CONFIG"; then
12023
 
    if test -n "$PKG_CONFIG" && \
12024
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
12025
 
  ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
12026
 
  ac_status=$?
12027
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12028
 
  test $ac_status = 0; }; then
12029
 
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
12030
 
else
12031
 
  pkg_failed=yes
12032
 
fi
12033
 
 else
12034
 
    pkg_failed=untried
12035
 
fi
12036
 
 
12037
 
 
12038
 
 
12039
 
if test $pkg_failed = yes; then
12040
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12041
 
$as_echo "no" >&6; }
12042
 
 
12043
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12044
 
        _pkg_short_errors_supported=yes
12045
 
else
12046
 
        _pkg_short_errors_supported=no
12047
 
fi
12048
 
        if test $_pkg_short_errors_supported = yes; then
12049
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
12050
 
        else
12051
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
12052
 
        fi
12053
 
        # Put the nasty error message in config.log where it belongs
12054
 
        echo "$GTK_PKG_ERRORS" >&5
12055
 
 
12056
 
        as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) were not met:
12057
 
 
12058
 
$GTK_PKG_ERRORS
12059
 
 
12060
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12061
 
installed software in a non-standard prefix.
12062
 
 
12063
 
Alternatively, you may set the environment variables GTK_CFLAGS
12064
 
and GTK_LIBS to avoid the need to call pkg-config.
12065
 
See the pkg-config man page for more details." "$LINENO" 5
12066
 
 
12067
 
elif test $pkg_failed = untried; then
12068
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12069
 
$as_echo "no" >&6; }
12070
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12071
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12072
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12073
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12074
 
path to pkg-config.
12075
 
 
12076
 
Alternatively, you may set the environment variables GTK_CFLAGS
12077
 
and GTK_LIBS to avoid the need to call pkg-config.
12078
 
See the pkg-config man page for more details.
12079
 
 
12080
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12081
 
See \`config.log' for more details" "$LINENO" 5; }
12082
 
 
12083
 
else
12084
 
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12085
 
        GTK_LIBS=$pkg_cv_GTK_LIBS
12086
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12087
 
$as_echo "yes" >&6; }
12088
 
 
12089
 
fi
12090
 
 
 
12209
PKGS="$PKGS gtk+-$GTK_API_VERSION >= $GTK_REQUIRED"
 
12210
 
 
12211
# *****
 
12212
# Sound
 
12213
# *****
 
12214
 
 
12215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable sound support" >&5
 
12216
$as_echo_n "checking whether to enable sound support... " >&6; }
 
12217
# Check whether --enable-sound was given.
 
12218
if test "${enable_sound+set}" = set; then :
 
12219
  enableval=$enable_sound;
 
12220
else
 
12221
  enable_sound=yes
 
12222
fi
 
12223
 
 
12224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sound" >&5
 
12225
$as_echo "$enable_sound" >&6; }
 
12226
 
 
12227
if test "$enable_sound" = "yes"; then
 
12228
  PKGS="$PKGS $LIBCANBERRA_GTK_PKGS"
 
12229
 
 
12230
 
 
12231
$as_echo "#define ENABLE_SOUND 1" >>confdefs.h
 
12232
 
 
12233
fi
 
12234
 
 
12235
 if test "$enable_sound" = "yes"; then
 
12236
  ENABLE_SOUND_TRUE=
 
12237
  ENABLE_SOUND_FALSE='#'
 
12238
else
 
12239
  ENABLE_SOUND_TRUE='#'
 
12240
  ENABLE_SOUND_FALSE=
 
12241
fi
12091
12242
 
12092
12243
 
12093
12244
# *********
12420
12571
 
12421
12572
 
12422
12573
if test "$with_platform" = "gnome"; then
12423
 
 
12424
 
pkg_failed=no
12425
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
12426
 
$as_echo_n "checking for GNOME... " >&6; }
12427
 
 
12428
 
if test -n "$GNOME_CFLAGS"; then
12429
 
    pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
12430
 
 elif test -n "$PKG_CONFIG"; then
12431
 
    if test -n "$PKG_CONFIG" && \
12432
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= \$GCONF_REQUIRED\""; } >&5
12433
 
  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= $GCONF_REQUIRED") 2>&5
12434
 
  ac_status=$?
12435
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12436
 
  test $ac_status = 0; }; then
12437
 
  pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= $GCONF_REQUIRED" 2>/dev/null`
12438
 
else
12439
 
  pkg_failed=yes
12440
 
fi
12441
 
 else
12442
 
    pkg_failed=untried
12443
 
fi
12444
 
if test -n "$GNOME_LIBS"; then
12445
 
    pkg_cv_GNOME_LIBS="$GNOME_LIBS"
12446
 
 elif test -n "$PKG_CONFIG"; then
12447
 
    if test -n "$PKG_CONFIG" && \
12448
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= \$GCONF_REQUIRED\""; } >&5
12449
 
  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= $GCONF_REQUIRED") 2>&5
12450
 
  ac_status=$?
12451
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12452
 
  test $ac_status = 0; }; then
12453
 
  pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= $GCONF_REQUIRED" 2>/dev/null`
12454
 
else
12455
 
  pkg_failed=yes
12456
 
fi
12457
 
 else
12458
 
    pkg_failed=untried
12459
 
fi
12460
 
 
12461
 
 
12462
 
 
12463
 
if test $pkg_failed = yes; then
12464
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12465
 
$as_echo "no" >&6; }
12466
 
 
12467
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12468
 
        _pkg_short_errors_supported=yes
12469
 
else
12470
 
        _pkg_short_errors_supported=no
12471
 
fi
12472
 
        if test $_pkg_short_errors_supported = yes; then
12473
 
                GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0 >= $GCONF_REQUIRED" 2>&1`
12474
 
        else
12475
 
                GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0 >= $GCONF_REQUIRED" 2>&1`
12476
 
        fi
12477
 
        # Put the nasty error message in config.log where it belongs
12478
 
        echo "$GNOME_PKG_ERRORS" >&5
12479
 
 
12480
 
        as_fn_error $? "Package requirements (gconf-2.0 >= $GCONF_REQUIRED) were not met:
12481
 
 
12482
 
$GNOME_PKG_ERRORS
12483
 
 
12484
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12485
 
installed software in a non-standard prefix.
12486
 
 
12487
 
Alternatively, you may set the environment variables GNOME_CFLAGS
12488
 
and GNOME_LIBS to avoid the need to call pkg-config.
12489
 
See the pkg-config man page for more details." "$LINENO" 5
12490
 
 
12491
 
elif test $pkg_failed = untried; then
12492
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493
 
$as_echo "no" >&6; }
12494
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12495
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12496
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12497
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12498
 
path to pkg-config.
12499
 
 
12500
 
Alternatively, you may set the environment variables GNOME_CFLAGS
12501
 
and GNOME_LIBS to avoid the need to call pkg-config.
12502
 
See the pkg-config man page for more details.
12503
 
 
12504
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12505
 
See \`config.log' for more details" "$LINENO" 5; }
12506
 
 
12507
 
else
12508
 
        GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
12509
 
        GNOME_LIBS=$pkg_cv_GNOME_LIBS
12510
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12511
 
$as_echo "yes" >&6; }
12512
 
 
12513
 
fi
12514
 
 
12515
 
 
12516
 
 
12517
 
  need_gthread=yes
 
12574
  PKGS="$PKGS gconf-2.0 >= $GCONF_REQUIRED"
12518
12575
fi
12519
12576
 
12520
12577
# Check for librsvg
12525
12582
 
12526
12583
  CAIRO_REQUIRED=1.10.0
12527
12584
 
12528
 
  # Errors out if rsvg is not found
12529
 
 
12530
 
pkg_failed=no
12531
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSVG" >&5
12532
 
$as_echo_n "checking for RSVG... " >&6; }
12533
 
 
12534
 
if test -n "$RSVG_CFLAGS"; then
12535
 
    pkg_cv_RSVG_CFLAGS="$RSVG_CFLAGS"
12536
 
 elif test -n "$PKG_CONFIG"; then
12537
 
    if test -n "$PKG_CONFIG" && \
12538
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12539
 
    librsvg-2.0 >= \$RSVG_REQUIRED
12540
 
    cairo >= \$CAIRO_REQUIRED\""; } >&5
12541
 
  ($PKG_CONFIG --exists --print-errors "
12542
 
    librsvg-2.0 >= $RSVG_REQUIRED
12543
 
    cairo >= $CAIRO_REQUIRED") 2>&5
12544
 
  ac_status=$?
12545
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12546
 
  test $ac_status = 0; }; then
12547
 
  pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "
12548
 
    librsvg-2.0 >= $RSVG_REQUIRED
12549
 
    cairo >= $CAIRO_REQUIRED" 2>/dev/null`
12550
 
else
12551
 
  pkg_failed=yes
12552
 
fi
12553
 
 else
12554
 
    pkg_failed=untried
12555
 
fi
12556
 
if test -n "$RSVG_LIBS"; then
12557
 
    pkg_cv_RSVG_LIBS="$RSVG_LIBS"
12558
 
 elif test -n "$PKG_CONFIG"; then
12559
 
    if test -n "$PKG_CONFIG" && \
12560
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12561
 
    librsvg-2.0 >= \$RSVG_REQUIRED
12562
 
    cairo >= \$CAIRO_REQUIRED\""; } >&5
12563
 
  ($PKG_CONFIG --exists --print-errors "
12564
 
    librsvg-2.0 >= $RSVG_REQUIRED
12565
 
    cairo >= $CAIRO_REQUIRED") 2>&5
12566
 
  ac_status=$?
12567
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12568
 
  test $ac_status = 0; }; then
12569
 
  pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "
12570
 
    librsvg-2.0 >= $RSVG_REQUIRED
12571
 
    cairo >= $CAIRO_REQUIRED" 2>/dev/null`
12572
 
else
12573
 
  pkg_failed=yes
12574
 
fi
12575
 
 else
12576
 
    pkg_failed=untried
12577
 
fi
12578
 
 
12579
 
 
12580
 
 
12581
 
if test $pkg_failed = yes; then
12582
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583
 
$as_echo "no" >&6; }
12584
 
 
12585
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12586
 
        _pkg_short_errors_supported=yes
12587
 
else
12588
 
        _pkg_short_errors_supported=no
12589
 
fi
12590
 
        if test $_pkg_short_errors_supported = yes; then
12591
 
                RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
12592
 
    librsvg-2.0 >= $RSVG_REQUIRED
12593
 
    cairo >= $CAIRO_REQUIRED" 2>&1`
12594
 
        else
12595
 
                RSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "
12596
 
    librsvg-2.0 >= $RSVG_REQUIRED
12597
 
    cairo >= $CAIRO_REQUIRED" 2>&1`
12598
 
        fi
12599
 
        # Put the nasty error message in config.log where it belongs
12600
 
        echo "$RSVG_PKG_ERRORS" >&5
12601
 
 
12602
 
        as_fn_error $? "Package requirements (
12603
 
    librsvg-2.0 >= $RSVG_REQUIRED
12604
 
    cairo >= $CAIRO_REQUIRED) were not met:
12605
 
 
12606
 
$RSVG_PKG_ERRORS
12607
 
 
12608
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12609
 
installed software in a non-standard prefix.
12610
 
 
12611
 
Alternatively, you may set the environment variables RSVG_CFLAGS
12612
 
and RSVG_LIBS to avoid the need to call pkg-config.
12613
 
See the pkg-config man page for more details." "$LINENO" 5
12614
 
 
12615
 
elif test $pkg_failed = untried; then
12616
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12617
 
$as_echo "no" >&6; }
12618
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12619
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12620
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12621
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12622
 
path to pkg-config.
12623
 
 
12624
 
Alternatively, you may set the environment variables RSVG_CFLAGS
12625
 
and RSVG_LIBS to avoid the need to call pkg-config.
12626
 
See the pkg-config man page for more details.
12627
 
 
12628
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12629
 
See \`config.log' for more details" "$LINENO" 5; }
12630
 
 
12631
 
else
12632
 
        RSVG_CFLAGS=$pkg_cv_RSVG_CFLAGS
12633
 
        RSVG_LIBS=$pkg_cv_RSVG_LIBS
12634
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12635
 
$as_echo "yes" >&6; }
12636
 
 
12637
 
fi
12638
 
 
12639
 
 
12640
 
 
 
12585
  PKGS="$PKGS librsvg-2.0 >= $RSVG_REQUIRED cairo >= $CAIRO_REQUIRED"
12641
12586
 
12642
12587
 
12643
12588
$as_echo "#define HAVE_RSVG 1" >>confdefs.h
12653
12598
fi
12654
12599
 
12655
12600
 
12656
 
# GThread
12657
 
 
12658
 
 if test "$need_gthread" = "yes"; then
12659
 
  WITH_GTHREAD_TRUE=
12660
 
  WITH_GTHREAD_FALSE='#'
12661
 
else
12662
 
  WITH_GTHREAD_TRUE='#'
12663
 
  WITH_GTHREAD_FALSE=
12664
 
fi
12665
 
 
12666
 
 
12667
 
# libcanberra
12668
 
 
12669
 
if test "$enable_sound" = "yes"; then
12670
 
 
12671
 
pkg_failed=no
12672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CANBERRA_GTK" >&5
12673
 
$as_echo_n "checking for CANBERRA_GTK... " >&6; }
12674
 
 
12675
 
if test -n "$CANBERRA_GTK_CFLAGS"; then
12676
 
    pkg_cv_CANBERRA_GTK_CFLAGS="$CANBERRA_GTK_CFLAGS"
12677
 
 elif test -n "$PKG_CONFIG"; then
12678
 
    if test -n "$PKG_CONFIG" && \
12679
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBCANBERRA_GTK_PKGS\""; } >&5
12680
 
  ($PKG_CONFIG --exists --print-errors "$LIBCANBERRA_GTK_PKGS") 2>&5
12681
 
  ac_status=$?
12682
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12683
 
  test $ac_status = 0; }; then
12684
 
  pkg_cv_CANBERRA_GTK_CFLAGS=`$PKG_CONFIG --cflags "$LIBCANBERRA_GTK_PKGS" 2>/dev/null`
12685
 
else
12686
 
  pkg_failed=yes
12687
 
fi
12688
 
 else
12689
 
    pkg_failed=untried
12690
 
fi
12691
 
if test -n "$CANBERRA_GTK_LIBS"; then
12692
 
    pkg_cv_CANBERRA_GTK_LIBS="$CANBERRA_GTK_LIBS"
12693
 
 elif test -n "$PKG_CONFIG"; then
12694
 
    if test -n "$PKG_CONFIG" && \
12695
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBCANBERRA_GTK_PKGS\""; } >&5
12696
 
  ($PKG_CONFIG --exists --print-errors "$LIBCANBERRA_GTK_PKGS") 2>&5
12697
 
  ac_status=$?
12698
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12699
 
  test $ac_status = 0; }; then
12700
 
  pkg_cv_CANBERRA_GTK_LIBS=`$PKG_CONFIG --libs "$LIBCANBERRA_GTK_PKGS" 2>/dev/null`
12701
 
else
12702
 
  pkg_failed=yes
12703
 
fi
12704
 
 else
12705
 
    pkg_failed=untried
12706
 
fi
12707
 
 
12708
 
 
12709
 
 
12710
 
if test $pkg_failed = yes; then
12711
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12712
 
$as_echo "no" >&6; }
12713
 
 
12714
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12715
 
        _pkg_short_errors_supported=yes
12716
 
else
12717
 
        _pkg_short_errors_supported=no
12718
 
fi
12719
 
        if test $_pkg_short_errors_supported = yes; then
12720
 
                CANBERRA_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$LIBCANBERRA_GTK_PKGS" 2>&1`
12721
 
        else
12722
 
                CANBERRA_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "$LIBCANBERRA_GTK_PKGS" 2>&1`
12723
 
        fi
12724
 
        # Put the nasty error message in config.log where it belongs
12725
 
        echo "$CANBERRA_GTK_PKG_ERRORS" >&5
12726
 
 
12727
 
        as_fn_error $? "Sound support was requested, but libcanberra-gtk not found." "$LINENO" 5
12728
 
elif test $pkg_failed = untried; then
12729
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12730
 
$as_echo "no" >&6; }
12731
 
        as_fn_error $? "Sound support was requested, but libcanberra-gtk not found." "$LINENO" 5
12732
 
else
12733
 
        CANBERRA_GTK_CFLAGS=$pkg_cv_CANBERRA_GTK_CFLAGS
12734
 
        CANBERRA_GTK_LIBS=$pkg_cv_CANBERRA_GTK_LIBS
12735
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12736
 
$as_echo "yes" >&6; }
12737
 
 
12738
 
fi
12739
 
 
12740
 
 
12741
 
$as_echo "#define ENABLE_SOUND 1" >>confdefs.h
12742
 
 
12743
 
fi
12744
 
 
12745
 
 if test "$enable_sound" = "yes"; then
12746
 
  ENABLE_SOUND_TRUE=
12747
 
  ENABLE_SOUND_FALSE='#'
12748
 
else
12749
 
  ENABLE_SOUND_TRUE='#'
12750
 
  ENABLE_SOUND_FALSE=
12751
 
fi
12752
 
 
12753
 
 
12754
 
# SMClient
12755
 
 
12756
 
SMCLIENT_PKGS=
12757
 
 
12758
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK target" >&5
12759
 
$as_echo_n "checking for GDK target... " >&6; }
12760
 
case "$with_gtk" in
12761
 
  3.0) for target in $($PKG_CONFIG --variable targets gdk-$GTK_API_VERSION); do
12762
 
          GDK_TARGET="$target"
12763
 
          break
12764
 
        done
12765
 
        ;;
12766
 
esac
12767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_TARGET" >&5
12768
 
$as_echo "$GDK_TARGET" >&6; }
12769
 
 
12770
 
case "$GDK_TARGET" in
12771
 
  x11|win32|quartz) ;;
12772
 
  *) as_fn_error $? "unknown GDK target" "$LINENO" 5
12773
 
esac
12774
 
 
12775
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which smclient backend to use" >&5
12776
 
$as_echo_n "checking which smclient backend to use... " >&6; }
12777
 
 
12778
 
# Check whether --with-smclient was given.
12779
 
if test "${with_smclient+set}" = set; then :
12780
 
  withval=$with_smclient;
12781
 
else
12782
 
  case "$GDK_TARGET" in
12783
 
     x11) with_smclient=xsmp SMCLIENT_PKGS="sm ice" ;;
12784
 
     win32|quartz) with_smclient=$GDK_TARGET ;;
12785
 
     *) with_smclient=no ;;
12786
 
   esac
12787
 
fi
12788
 
 
12789
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_smclient" >&5
12790
 
$as_echo "$with_smclient" >&6; }
12791
 
 
12792
 
if test "$with_smclient" != "no"; then
12793
 
  if test -n "$SMCLIENT_PKGS"; then
12794
 
 
12795
 
pkg_failed=no
12796
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMCLIENT" >&5
12797
 
$as_echo_n "checking for SMCLIENT... " >&6; }
12798
 
 
12799
 
if test -n "$SMCLIENT_CFLAGS"; then
12800
 
    pkg_cv_SMCLIENT_CFLAGS="$SMCLIENT_CFLAGS"
12801
 
 elif test -n "$PKG_CONFIG"; then
12802
 
    if test -n "$PKG_CONFIG" && \
12803
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SMCLIENT_PKGS\""; } >&5
12804
 
  ($PKG_CONFIG --exists --print-errors "$SMCLIENT_PKGS") 2>&5
12805
 
  ac_status=$?
12806
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12807
 
  test $ac_status = 0; }; then
12808
 
  pkg_cv_SMCLIENT_CFLAGS=`$PKG_CONFIG --cflags "$SMCLIENT_PKGS" 2>/dev/null`
12809
 
else
12810
 
  pkg_failed=yes
12811
 
fi
12812
 
 else
12813
 
    pkg_failed=untried
12814
 
fi
12815
 
if test -n "$SMCLIENT_LIBS"; then
12816
 
    pkg_cv_SMCLIENT_LIBS="$SMCLIENT_LIBS"
12817
 
 elif test -n "$PKG_CONFIG"; then
12818
 
    if test -n "$PKG_CONFIG" && \
12819
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SMCLIENT_PKGS\""; } >&5
12820
 
  ($PKG_CONFIG --exists --print-errors "$SMCLIENT_PKGS") 2>&5
12821
 
  ac_status=$?
12822
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12823
 
  test $ac_status = 0; }; then
12824
 
  pkg_cv_SMCLIENT_LIBS=`$PKG_CONFIG --libs "$SMCLIENT_PKGS" 2>/dev/null`
12825
 
else
12826
 
  pkg_failed=yes
12827
 
fi
12828
 
 else
12829
 
    pkg_failed=untried
12830
 
fi
12831
 
 
12832
 
 
12833
 
 
12834
 
if test $pkg_failed = yes; then
12835
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12836
 
$as_echo "no" >&6; }
12837
 
 
12838
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12839
 
        _pkg_short_errors_supported=yes
12840
 
else
12841
 
        _pkg_short_errors_supported=no
12842
 
fi
12843
 
        if test $_pkg_short_errors_supported = yes; then
12844
 
                SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$SMCLIENT_PKGS" 2>&1`
12845
 
        else
12846
 
                SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "$SMCLIENT_PKGS" 2>&1`
12847
 
        fi
12848
 
        # Put the nasty error message in config.log where it belongs
12849
 
        echo "$SMCLIENT_PKG_ERRORS" >&5
12850
 
 
12851
 
        as_fn_error $? "Package requirements ($SMCLIENT_PKGS) were not met:
12852
 
 
12853
 
$SMCLIENT_PKG_ERRORS
12854
 
 
12855
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12856
 
installed software in a non-standard prefix.
12857
 
 
12858
 
Alternatively, you may set the environment variables SMCLIENT_CFLAGS
12859
 
and SMCLIENT_LIBS to avoid the need to call pkg-config.
12860
 
See the pkg-config man page for more details." "$LINENO" 5
12861
 
 
12862
 
elif test $pkg_failed = untried; then
12863
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864
 
$as_echo "no" >&6; }
12865
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12866
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12867
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12868
 
is in your PATH or set the PKG_CONFIG environment variable to the full
12869
 
path to pkg-config.
12870
 
 
12871
 
Alternatively, you may set the environment variables SMCLIENT_CFLAGS
12872
 
and SMCLIENT_LIBS to avoid the need to call pkg-config.
12873
 
See the pkg-config man page for more details.
12874
 
 
12875
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12876
 
See \`config.log' for more details" "$LINENO" 5; }
12877
 
 
12878
 
else
12879
 
        SMCLIENT_CFLAGS=$pkg_cv_SMCLIENT_CFLAGS
12880
 
        SMCLIENT_LIBS=$pkg_cv_SMCLIENT_LIBS
12881
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12882
 
$as_echo "yes" >&6; }
12883
 
 
12884
 
fi
12885
 
  fi
12886
 
 
12887
 
 
12888
 
$as_echo "#define WITH_SMCLIENT 1" >>confdefs.h
12889
 
 
12890
 
fi
12891
 
 
12892
 
 if test "$with_smclient" != "no"; then
12893
 
  WITH_SMCLIENT_TRUE=
12894
 
  WITH_SMCLIENT_FALSE='#'
12895
 
else
12896
 
  WITH_SMCLIENT_TRUE='#'
12897
 
  WITH_SMCLIENT_FALSE=
12898
 
fi
12899
 
 
12900
 
 if test "$with_smclient" = "xsmp"; then
12901
 
  WITH_SMCLIENT_XSMP_TRUE=
12902
 
  WITH_SMCLIENT_XSMP_FALSE='#'
12903
 
else
12904
 
  WITH_SMCLIENT_XSMP_TRUE='#'
12905
 
  WITH_SMCLIENT_XSMP_FALSE=
12906
 
fi
12907
 
 
12908
 
 if test "$with_smclient" = "win32"; then
12909
 
  WITH_SMCLIENT_WIN32_TRUE=
12910
 
  WITH_SMCLIENT_WIN32_FALSE='#'
12911
 
else
12912
 
  WITH_SMCLIENT_WIN32_TRUE='#'
12913
 
  WITH_SMCLIENT_WIN32_FALSE=
12914
 
fi
12915
 
 
12916
 
 if test "$with_smclient" = "quartz"; then
12917
 
  WITH_SMCLIENT_QUARTZ_TRUE=
12918
 
  WITH_SMCLIENT_QUARTZ_FALSE='#'
12919
 
else
12920
 
  WITH_SMCLIENT_QUARTZ_TRUE='#'
12921
 
  WITH_SMCLIENT_QUARTZ_FALSE=
12922
 
fi
12923
 
 
12924
 
 
12925
12601
# *****************
12926
12602
# Extra build tools
12927
12603
# *****************
12928
12604
 
 
12605
 
12929
12606
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
12930
12607
set dummy glib-genmarshal; ac_word=$2
12931
12608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12966
12643
fi
12967
12644
 
12968
12645
 
 
12646
if test -z "$GLIB_GENMARSHAL"; then
 
12647
  as_fn_error $? "glib-genmarshal not found" "$LINENO" 5
 
12648
fi
 
12649
 
 
12650
 
 
12651
# Extract the first word of "glib-compile-resources", so it can be a program name with args.
 
12652
set dummy glib-compile-resources; ac_word=$2
 
12653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12654
$as_echo_n "checking for $ac_word... " >&6; }
 
12655
if ${ac_cv_path_GLIB_COMPILE_RESOURCES+:} false; then :
 
12656
  $as_echo_n "(cached) " >&6
 
12657
else
 
12658
  case $GLIB_COMPILE_RESOURCES in
 
12659
  [\\/]* | ?:[\\/]*)
 
12660
  ac_cv_path_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES" # Let the user override the test with a path.
 
12661
  ;;
 
12662
  *)
 
12663
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12664
for as_dir in $PATH
 
12665
do
 
12666
  IFS=$as_save_IFS
 
12667
  test -z "$as_dir" && as_dir=.
 
12668
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12669
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12670
    ac_cv_path_GLIB_COMPILE_RESOURCES="$as_dir/$ac_word$ac_exec_ext"
 
12671
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12672
    break 2
 
12673
  fi
 
12674
done
 
12675
  done
 
12676
IFS=$as_save_IFS
 
12677
 
 
12678
  ;;
 
12679
esac
 
12680
fi
 
12681
GLIB_COMPILE_RESOURCES=$ac_cv_path_GLIB_COMPILE_RESOURCES
 
12682
if test -n "$GLIB_COMPILE_RESOURCES"; then
 
12683
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_RESOURCES" >&5
 
12684
$as_echo "$GLIB_COMPILE_RESOURCES" >&6; }
 
12685
else
 
12686
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12687
$as_echo "no" >&6; }
 
12688
fi
 
12689
 
 
12690
 
 
12691
if test -z "$GLIB_COMPILE_RESOURCES"; then
 
12692
  as_fn_error $? "glib-compile-resources not found" "$LINENO" 5
 
12693
fi
 
12694
 
 
12695
 
 
12696
# Extract the first word of "gzip", so it can be a program name with args.
 
12697
set dummy gzip; ac_word=$2
 
12698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12699
$as_echo_n "checking for $ac_word... " >&6; }
 
12700
if ${ac_cv_path_GZIP+:} false; then :
 
12701
  $as_echo_n "(cached) " >&6
 
12702
else
 
12703
  case $GZIP in
 
12704
  [\\/]* | ?:[\\/]*)
 
12705
  ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
 
12706
  ;;
 
12707
  *)
 
12708
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12709
for as_dir in $PATH
 
12710
do
 
12711
  IFS=$as_save_IFS
 
12712
  test -z "$as_dir" && as_dir=.
 
12713
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12714
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12715
    ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
 
12716
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12717
    break 2
 
12718
  fi
 
12719
done
 
12720
  done
 
12721
IFS=$as_save_IFS
 
12722
 
 
12723
  ;;
 
12724
esac
 
12725
fi
 
12726
GZIP=$ac_cv_path_GZIP
 
12727
if test -n "$GZIP"; then
 
12728
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5
 
12729
$as_echo "$GZIP" >&6; }
 
12730
else
 
12731
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12732
$as_echo "no" >&6; }
 
12733
fi
 
12734
 
 
12735
 
 
12736
if test -z "$GZIP"; then
 
12737
  as_fn_error $? "gzip not found" "$LINENO" 5
 
12738
fi
 
12739
 
 
12740
 
 
12741
# Extract the first word of "xmllint", so it can be a program name with args.
 
12742
set dummy xmllint; ac_word=$2
 
12743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12744
$as_echo_n "checking for $ac_word... " >&6; }
 
12745
if ${ac_cv_path_XMLLINT+:} false; then :
 
12746
  $as_echo_n "(cached) " >&6
 
12747
else
 
12748
  case $XMLLINT in
 
12749
  [\\/]* | ?:[\\/]*)
 
12750
  ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
 
12751
  ;;
 
12752
  *)
 
12753
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12754
for as_dir in $PATH
 
12755
do
 
12756
  IFS=$as_save_IFS
 
12757
  test -z "$as_dir" && as_dir=.
 
12758
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12759
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12760
    ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
 
12761
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12762
    break 2
 
12763
  fi
 
12764
done
 
12765
  done
 
12766
IFS=$as_save_IFS
 
12767
 
 
12768
  ;;
 
12769
esac
 
12770
fi
 
12771
XMLLINT=$ac_cv_path_XMLLINT
 
12772
if test -n "$XMLLINT"; then
 
12773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
 
12774
$as_echo "$XMLLINT" >&6; }
 
12775
else
 
12776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12777
$as_echo "no" >&6; }
 
12778
fi
 
12779
 
 
12780
 
 
12781
if test -z "$XMLLINT"; then
 
12782
  as_fn_error $? "xmllint not found" "$LINENO" 5
 
12783
fi
12969
12784
 
12970
12785
if test "$platform_win32" = "yes" -a "$os_win32" = "yes"; then
12971
12786
  if test -n "$ac_tool_prefix"; then
13105
12920
 
13106
12921
fi
13107
12922
 
13108
 
# ********
13109
 
 
13110
 
AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS"
13111
 
AM_CXXFLAGS="$AM_CXXFLAGS $WARN_CXXFLAGS"
 
12923
# ***********
 
12924
# Compilation
 
12925
# ***********
 
12926
 
 
12927
save_CFLAGS="$CFLAGS"
 
12928
CFLAGS=
 
12929
 
 
12930
  for flag in  \
 
12931
  -Wall -Wextra \
 
12932
  -Wformat-nonliteral -Werror=format-security \
 
12933
  -Wsign-compare -Werror=implicit-function-declaration \
 
12934
  -Wpointer-arith -Wwrite-strings -Wstrict-prototypes \
 
12935
  -Waggregate-return -Wcast-align -Wimplicit -Wuninitialized \
 
12936
  -Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
 
12937
  -Wpacked -Wmissing-format-attribute -Wshadow \
 
12938
  -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \
 
12939
  -Wdeclaration-after-statement -Wold-style-definition \
 
12940
  -Wno-missing-field-initializers -Wno-unused-parameter \
 
12941
  -Wempty-body \
 
12942
  -fno-common -Wno-switch-enum; do
 
12943
 
 
12944
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
 
12945
$as_echo_n "checking if $CC supports $flag flag... " >&6; }
 
12946
if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
 
12947
  $as_echo_n "(cached) " >&6
 
12948
else
 
12949
 
 
12950
  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
 
12951
  $as_echo_n "(cached) " >&6
 
12952
else
 
12953
  ac_save_CFLAGS="$CFLAGS"
 
12954
     CFLAGS="$CFLAGS $flag"
 
12955
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12956
/* end confdefs.h.  */
 
12957
int a;
 
12958
_ACEOF
 
12959
if ac_fn_c_try_compile "$LINENO"; then :
 
12960
  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
 
12961
else
 
12962
  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
 
12963
fi
 
12964
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12965
     CFLAGS="$ac_save_CFLAGS"
 
12966
 
 
12967
fi
 
12968
 
 
12969
 
 
12970
  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
 
12971
 
 
12972
fi
 
12973
 
 
12974
fi
 
12975
eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
 
12976
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
12977
$as_echo "$ac_res" >&6; }
 
12978
 
 
12979
  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
 
12980
  CFLAGS="$CFLAGS $flag"; DEBUG_CFLAGS="$DEBUG_CFLAGS $flag";
 
12981
fi
 
12982
 
 
12983
  done
 
12984
 
 
12985
AM_CFLAGS="$AM_CFLAGS $CFLAGS"
 
12986
CFLAGS="$save_CFLAGS"
13112
12987
 
13113
12988
# ****
13114
12989
# i18n
14393
14268
# Guile
14394
14269
# *****
14395
14270
 
14396
 
GUILE_1_8_REQUIRED=1.8.0
14397
14271
GUILE_2_0_REQUIRED=2.0.0
14398
14272
GUILE_2_2_REQUIRED=2.0.0
14399
14273
 
14405
14279
# Check whether --with-guile was given.
14406
14280
if test "${with_guile+set}" = set; then :
14407
14281
  withval=$with_guile; case "$with_guile" in
14408
 
     1.8|2.0|2.2) ;;
14409
 
     *) as_fn_error $? "unknown or unsupported guile version $with_guile specified" "$LINENO" 5 ;;
 
14282
     1.8) as_fn_error $? "unsupported guile version $with_guile requested" "$LINENO" 5 ;;
 
14283
     2.0|2.2|auto) ;;
 
14284
     *) as_fn_error $? "unsupported guile version $with_guile requested" "$LINENO" 5 ;;
14410
14285
    esac
14411
14286
else
14412
 
  with_guile=1.8
14413
 
fi
14414
 
 
14415
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_guile" >&5
14416
 
$as_echo "$with_guile" >&6; }
14417
 
 
14418
 
case "$with_guile" in
14419
 
  1.8) GUILE_PKGS="guile-1.8 >= $GUILE_1_8_REQUIRED" ;;
14420
 
  2.0) GUILE_PKGS="guile-2.0 >= $GUILE_2_0_REQUIRED" ;;
14421
 
  2.2) GUILE_PKGS="guile-2.2 >= $GUILE_2_2_REQUIRED" ;;
 
14287
  with_guile=2.0
 
14288
fi
 
14289
 
 
14290
 
 
14291
if test "$with_guile" = "auto"; then
 
14292
  with_guile=
 
14293
  for version in 2.2 2.0; do
 
14294
    GUILE_REQUIRED=`$as_echo "GUILE_${version}_REQUIRED" | $as_tr_sh`
 
14295
    GUILE_PKGS="guile-$version >= ${!GUILE_REQUIRED}"
 
14296
    if $PKG_CONFIG --exists $GUILE_PKGS; then
 
14297
      with_guile=$version
 
14298
      break
 
14299
    fi
 
14300
  done
 
14301
 
 
14302
  if test -z "$with_guile"; then
 
14303
    as_fn_error $? "no supported guile version found" "$LINENO" 5
 
14304
  fi
 
14305
 
 
14306
  with_guile_result="$with_guile (auto)"
 
14307
else
 
14308
  GUILE_REQUIRED=`$as_echo "GUILE_${with_guile}_REQUIRED" | $as_tr_sh`
 
14309
  GUILE_PKGS="guile-$with_guile >= ${!GUILE_REQUIRED}"
 
14310
  with_guile_result="$with_guile"
 
14311
fi
 
14312
 
 
14313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_guile_result" >&5
 
14314
$as_echo "$with_guile_result" >&6; }
 
14315
 
 
14316
PKGS="$PKGS $GUILE_PKGS"
 
14317
 
 
14318
GUILE_EFFECTIVE_VERSION=$with_guile
 
14319
 
 
14320
 
 
14321
 
 
14322
# Extract the first word of "guile", so it can be a program name with args.
 
14323
set dummy guile; ac_word=$2
 
14324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14325
$as_echo_n "checking for $ac_word... " >&6; }
 
14326
if ${ac_cv_path_GUILE+:} false; then :
 
14327
  $as_echo_n "(cached) " >&6
 
14328
else
 
14329
  case $GUILE in
 
14330
  [\\/]* | ?:[\\/]*)
 
14331
  ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
 
14332
  ;;
 
14333
  *)
 
14334
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14335
for as_dir in $PATH
 
14336
do
 
14337
  IFS=$as_save_IFS
 
14338
  test -z "$as_dir" && as_dir=.
 
14339
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14341
    ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext"
 
14342
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14343
    break 2
 
14344
  fi
 
14345
done
 
14346
  done
 
14347
IFS=$as_save_IFS
 
14348
 
 
14349
  test -z "$ac_cv_path_GUILE" && ac_cv_path_GUILE="false"
 
14350
  ;;
14422
14351
esac
14423
 
 
14424
 
if test -n "$PKG_CONFIG" && \
14425
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GUILE_PKGS\""; } >&5
14426
 
  ($PKG_CONFIG --exists --print-errors "$GUILE_PKGS") 2>&5
14427
 
  ac_status=$?
14428
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14429
 
  test $ac_status = 0; }; then
14430
 
  :
 
14352
fi
 
14353
GUILE=$ac_cv_path_GUILE
 
14354
if test -n "$GUILE"; then
 
14355
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE" >&5
 
14356
$as_echo "$GUILE" >&6; }
14431
14357
else
14432
 
  as_fn_error $? "guile version $with_guile not found. Install it, or use --with-guile to select a different version." "$LINENO" 5
14433
 
fi
 
14358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14359
$as_echo "no" >&6; }
 
14360
fi
 
14361
 
 
14362
 
 
14363
if test "$GUILE" = "false"; then
 
14364
  as_fn_error $? "guile not found" "$LINENO" 5
 
14365
fi
 
14366
 
 
14367
# ************
 
14368
# Dependencies
 
14369
# ************
14434
14370
 
14435
14371
 
14436
14372
pkg_failed=no
14437
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUILE" >&5
14438
 
$as_echo_n "checking for GUILE... " >&6; }
 
14373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AISLERIOT" >&5
 
14374
$as_echo_n "checking for AISLERIOT... " >&6; }
14439
14375
 
14440
 
if test -n "$GUILE_CFLAGS"; then
14441
 
    pkg_cv_GUILE_CFLAGS="$GUILE_CFLAGS"
 
14376
if test -n "$AISLERIOT_CFLAGS"; then
 
14377
    pkg_cv_AISLERIOT_CFLAGS="$AISLERIOT_CFLAGS"
14442
14378
 elif test -n "$PKG_CONFIG"; then
14443
14379
    if test -n "$PKG_CONFIG" && \
14444
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GUILE_PKGS\""; } >&5
14445
 
  ($PKG_CONFIG --exists --print-errors "$GUILE_PKGS") 2>&5
 
14380
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$PKGS\""; } >&5
 
14381
  ($PKG_CONFIG --exists --print-errors "$PKGS") 2>&5
14446
14382
  ac_status=$?
14447
14383
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14448
14384
  test $ac_status = 0; }; then
14449
 
  pkg_cv_GUILE_CFLAGS=`$PKG_CONFIG --cflags "$GUILE_PKGS" 2>/dev/null`
 
14385
  pkg_cv_AISLERIOT_CFLAGS=`$PKG_CONFIG --cflags "$PKGS" 2>/dev/null`
14450
14386
else
14451
14387
  pkg_failed=yes
14452
14388
fi
14453
14389
 else
14454
14390
    pkg_failed=untried
14455
14391
fi
14456
 
if test -n "$GUILE_LIBS"; then
14457
 
    pkg_cv_GUILE_LIBS="$GUILE_LIBS"
 
14392
if test -n "$AISLERIOT_LIBS"; then
 
14393
    pkg_cv_AISLERIOT_LIBS="$AISLERIOT_LIBS"
14458
14394
 elif test -n "$PKG_CONFIG"; then
14459
14395
    if test -n "$PKG_CONFIG" && \
14460
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GUILE_PKGS\""; } >&5
14461
 
  ($PKG_CONFIG --exists --print-errors "$GUILE_PKGS") 2>&5
 
14396
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$PKGS\""; } >&5
 
14397
  ($PKG_CONFIG --exists --print-errors "$PKGS") 2>&5
14462
14398
  ac_status=$?
14463
14399
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14464
14400
  test $ac_status = 0; }; then
14465
 
  pkg_cv_GUILE_LIBS=`$PKG_CONFIG --libs "$GUILE_PKGS" 2>/dev/null`
 
14401
  pkg_cv_AISLERIOT_LIBS=`$PKG_CONFIG --libs "$PKGS" 2>/dev/null`
14466
14402
else
14467
14403
  pkg_failed=yes
14468
14404
fi
14482
14418
        _pkg_short_errors_supported=no
14483
14419
fi
14484
14420
        if test $_pkg_short_errors_supported = yes; then
14485
 
                GUILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GUILE_PKGS" 2>&1`
 
14421
                AISLERIOT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$PKGS" 2>&1`
14486
14422
        else
14487
 
                GUILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GUILE_PKGS" 2>&1`
 
14423
                AISLERIOT_PKG_ERRORS=`$PKG_CONFIG --print-errors "$PKGS" 2>&1`
14488
14424
        fi
14489
14425
        # Put the nasty error message in config.log where it belongs
14490
 
        echo "$GUILE_PKG_ERRORS" >&5
14491
 
 
14492
 
        as_fn_error $? "Package requirements ($GUILE_PKGS) were not met:
14493
 
 
14494
 
$GUILE_PKG_ERRORS
 
14426
        echo "$AISLERIOT_PKG_ERRORS" >&5
 
14427
 
 
14428
        as_fn_error $? "Package requirements ($PKGS) were not met:
 
14429
 
 
14430
$AISLERIOT_PKG_ERRORS
14495
14431
 
14496
14432
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14497
14433
installed software in a non-standard prefix.
14498
14434
 
14499
 
Alternatively, you may set the environment variables GUILE_CFLAGS
14500
 
and GUILE_LIBS to avoid the need to call pkg-config.
 
14435
Alternatively, you may set the environment variables AISLERIOT_CFLAGS
 
14436
and AISLERIOT_LIBS to avoid the need to call pkg-config.
14501
14437
See the pkg-config man page for more details." "$LINENO" 5
14502
14438
 
14503
14439
elif test $pkg_failed = untried; then
14509
14445
is in your PATH or set the PKG_CONFIG environment variable to the full
14510
14446
path to pkg-config.
14511
14447
 
14512
 
Alternatively, you may set the environment variables GUILE_CFLAGS
14513
 
and GUILE_LIBS to avoid the need to call pkg-config.
 
14448
Alternatively, you may set the environment variables AISLERIOT_CFLAGS
 
14449
and AISLERIOT_LIBS to avoid the need to call pkg-config.
14514
14450
See the pkg-config man page for more details.
14515
14451
 
14516
14452
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14517
14453
See \`config.log' for more details" "$LINENO" 5; }
14518
14454
 
14519
14455
else
14520
 
        GUILE_CFLAGS=$pkg_cv_GUILE_CFLAGS
14521
 
        GUILE_LIBS=$pkg_cv_GUILE_LIBS
 
14456
        AISLERIOT_CFLAGS=$pkg_cv_AISLERIOT_CFLAGS
 
14457
        AISLERIOT_LIBS=$pkg_cv_AISLERIOT_LIBS
14522
14458
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14523
14459
$as_echo "yes" >&6; }
14524
14460
 
14525
14461
fi
14526
14462
 
14527
 
 if test "$with_guile" != "1.8"; then
14528
 
  HAVE_GUILE_2_X_TRUE=
14529
 
  HAVE_GUILE_2_X_FALSE='#'
14530
 
else
14531
 
  HAVE_GUILE_2_X_TRUE='#'
14532
 
  HAVE_GUILE_2_X_FALSE=
14533
 
fi
14534
 
 
14535
 
 
14536
 
# Extract the first word of "guile-tools", so it can be a program name with args.
14537
 
set dummy guile-tools; ac_word=$2
14538
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14539
 
$as_echo_n "checking for $ac_word... " >&6; }
14540
 
if ${ac_cv_path_GUILE_TOOLS+:} false; then :
14541
 
  $as_echo_n "(cached) " >&6
14542
 
else
14543
 
  case $GUILE_TOOLS in
14544
 
  [\\/]* | ?:[\\/]*)
14545
 
  ac_cv_path_GUILE_TOOLS="$GUILE_TOOLS" # Let the user override the test with a path.
14546
 
  ;;
14547
 
  *)
14548
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14549
 
for as_dir in $PATH
14550
 
do
14551
 
  IFS=$as_save_IFS
14552
 
  test -z "$as_dir" && as_dir=.
14553
 
    for ac_exec_ext in '' $ac_executable_extensions; do
14554
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14555
 
    ac_cv_path_GUILE_TOOLS="$as_dir/$ac_word$ac_exec_ext"
14556
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14557
 
    break 2
14558
 
  fi
14559
 
done
14560
 
  done
14561
 
IFS=$as_save_IFS
14562
 
 
14563
 
  test -z "$ac_cv_path_GUILE_TOOLS" && ac_cv_path_GUILE_TOOLS="false"
14564
 
  ;;
14565
 
esac
14566
 
fi
14567
 
GUILE_TOOLS=$ac_cv_path_GUILE_TOOLS
14568
 
if test -n "$GUILE_TOOLS"; then
14569
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_TOOLS" >&5
14570
 
$as_echo "$GUILE_TOOLS" >&6; }
14571
 
else
14572
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14573
 
$as_echo "no" >&6; }
14574
 
fi
14575
 
 
14576
 
 
14577
 
if test "$GUILE_TOOLS" = "false"; then
14578
 
  as_fn_error $? "guile-tools not found" "$LINENO" 5
14579
 
fi
 
14463
 
14580
14464
 
14581
14465
# *************
14582
14466
# Documentation
14764
14648
_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
14765
14649
_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
14766
14650
 
 
14651
_HELP_ALL_POFILES = $(if $(HELP_ID),$(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po))
 
14652
_HELP_ALL_MEDIA = $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
 
14653
 
14767
14654
_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
14768
14655
_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
14769
14656
_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
14819
14706
        rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
14820
14707
 
14821
14708
EXTRA_DIST ?=
14822
 
EXTRA_DIST += $(_HELP_C_FILES) $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_POFILES)
14823
 
EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(_HELP_LINGUAS),$(wildcard $(lc)/$(f))))
 
14709
EXTRA_DIST += $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
 
14710
EXTRA_DIST += $(_HELP_ALL_POFILES) $(_HELP_ALL_MEDIA)
14824
14711
 
14825
14712
.PHONY: check-help
14826
14713
check: check-help
14846
14733
        @for lc in C $(_HELP_LINGUAS); do \
14847
14734
          $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
14848
14735
        done
14849
 
        @for f in $(_HELP_C_FILES) $(_HELP_LC_FILES) $(_HELP_C_EXTRA); do \
 
14736
        @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
 
14737
          if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
 
14738
          helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
 
14739
          if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
 
14740
          echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
 
14741
          $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
 
14742
        done; done
 
14743
        @for f in $(_HELP_C_EXTRA); do \
14850
14744
          lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
14851
14745
          if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
14852
14746
          helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
14874
14768
.PHONY: uninstall-help
14875
14769
uninstall-am: $(if $(HELP_ID),uninstall-help)
14876
14770
uninstall-help:
14877
 
        @for f in $(_HELP_C_FILES) $(_HELP_LC_FILES) $(_HELP_C_EXTRA); do \
 
14771
        for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
 
14772
          helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
 
14773
          echo "rm -f $$helpdir`basename $$f`"; \
 
14774
          rm -f "$$helpdir`basename $$f`"; \
 
14775
        done; done
 
14776
        @for f in $(_HELP_C_EXTRA); do \
14878
14777
          lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
14879
14778
          helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
14880
14779
          echo "rm -f $$helpdir`basename $$f`"; \
14901
14800
fi
14902
14801
 
14903
14802
 
14904
 
##############################################
14905
 
 
14906
 
 
14907
 
 
14908
 
 
14909
 
 
14910
 
 
14911
 
##############################################
14912
 
##############################################
14913
 
 
14914
 
ac_config_files="$ac_config_files Makefile cards/Makefile data/Makefile data/icons/Makefile data/sounds/Makefile data/sol.desktop.in data/freecell.desktop.in games/Makefile help/Makefile po/Makefile.in src/Makefile src/lib/Makefile src/smclient/Makefile"
 
14803
# ********
 
14804
# Valgrind
 
14805
# ********
 
14806
 
 
14807
 
 
14808
# Check whether --with-valgrind-dir was given.
 
14809
if test "${with_valgrind_dir+set}" = set; then :
 
14810
  withval=$with_valgrind_dir;
 
14811
else
 
14812
  with_valgrind_dir='${libdir}/valgrind'
 
14813
fi
 
14814
 
 
14815
valgrinddir=$with_valgrind_dir
 
14816
 
 
14817
 
 
14818
##############################################
 
14819
 
 
14820
 
 
14821
 
 
14822
 
 
14823
 
 
14824
 
 
14825
##############################################
 
14826
##############################################
 
14827
 
 
14828
ac_config_files="$ac_config_files Makefile cards/Makefile data/Makefile data/aisleriot.catalog data/icons/Makefile data/sounds/Makefile data/sol.desktop.in data/freecell.desktop.in games/Makefile help/Makefile po/Makefile.in src/Makefile src/lib/Makefile src/aisleriot.gresource.xml"
14915
14829
 
14916
14830
cat >confcache <<\_ACEOF
14917
14831
# This file is a shell script that caches the results of configure
15078
14992
  as_fn_error $? "conditional \"ENABLE_DEBUG_UI\" was never defined.
15079
14993
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15080
14994
fi
 
14995
if test -z "${ENABLE_SOUND_TRUE}" && test -z "${ENABLE_SOUND_FALSE}"; then
 
14996
  as_fn_error $? "conditional \"ENABLE_SOUND\" was never defined.
 
14997
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14998
fi
15081
14999
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
15082
15000
  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15083
15001
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15086
15004
  as_fn_error $? "conditional \"HAVE_RSVG\" was never defined.
15087
15005
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15088
15006
fi
15089
 
if test -z "${WITH_GTHREAD_TRUE}" && test -z "${WITH_GTHREAD_FALSE}"; then
15090
 
  as_fn_error $? "conditional \"WITH_GTHREAD\" was never defined.
15091
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15092
 
fi
15093
 
if test -z "${ENABLE_SOUND_TRUE}" && test -z "${ENABLE_SOUND_FALSE}"; then
15094
 
  as_fn_error $? "conditional \"ENABLE_SOUND\" was never defined.
15095
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15096
 
fi
15097
 
if test -z "${WITH_SMCLIENT_TRUE}" && test -z "${WITH_SMCLIENT_FALSE}"; then
15098
 
  as_fn_error $? "conditional \"WITH_SMCLIENT\" was never defined.
15099
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15100
 
fi
15101
 
if test -z "${WITH_SMCLIENT_XSMP_TRUE}" && test -z "${WITH_SMCLIENT_XSMP_FALSE}"; then
15102
 
  as_fn_error $? "conditional \"WITH_SMCLIENT_XSMP\" was never defined.
15103
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15104
 
fi
15105
 
if test -z "${WITH_SMCLIENT_WIN32_TRUE}" && test -z "${WITH_SMCLIENT_WIN32_FALSE}"; then
15106
 
  as_fn_error $? "conditional \"WITH_SMCLIENT_WIN32\" was never defined.
15107
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15108
 
fi
15109
 
if test -z "${WITH_SMCLIENT_QUARTZ_TRUE}" && test -z "${WITH_SMCLIENT_QUARTZ_FALSE}"; then
15110
 
  as_fn_error $? "conditional \"WITH_SMCLIENT_QUARTZ\" was never defined.
15111
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15112
 
fi
15113
15007
 
15114
15008
  ac_config_commands="$ac_config_commands po/stamp-it"
15115
15009
 
15116
15010
 
15117
 
if test -z "${HAVE_GUILE_2_X_TRUE}" && test -z "${HAVE_GUILE_2_X_FALSE}"; then
15118
 
  as_fn_error $? "conditional \"HAVE_GUILE_2_X\" was never defined.
15119
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15120
 
fi
15121
15011
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
15122
15012
  as_fn_error $? "conditional \"BUILD_HELP\" was never defined.
15123
15013
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15531
15421
# report actual input values of CONFIG_FILES etc. instead of their
15532
15422
# values after options handling.
15533
15423
ac_log="
15534
 
This file was extended by GNOME Patience $as_me 3.2.2, which was
 
15424
This file was extended by GNOME Patience $as_me 3.4.1, which was
15535
15425
generated by GNU Autoconf 2.68.  Invocation command line was
15536
15426
 
15537
15427
  CONFIG_FILES    = $CONFIG_FILES
15597
15487
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15598
15488
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15599
15489
ac_cs_version="\\
15600
 
GNOME Patience config.status 3.2.2
 
15490
GNOME Patience config.status 3.4.1
15601
15491
configured by $0, generated by GNU Autoconf 2.68,
15602
15492
  with options \\"\$ac_cs_config\\"
15603
15493
 
15726
15616
sed_quote_subst='$sed_quote_subst'
15727
15617
double_quote_subst='$double_quote_subst'
15728
15618
delay_variable_subst='$delay_variable_subst'
15729
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15730
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15731
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15732
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15733
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15734
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15735
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15736
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15737
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15738
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15739
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15740
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15741
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15742
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15743
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15744
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15745
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15746
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15747
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15748
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15749
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15750
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15751
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15752
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15753
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15754
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15755
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15756
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15757
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15758
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15759
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15760
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15761
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15762
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15763
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15764
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15765
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15766
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15767
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15768
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15769
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15770
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15771
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15772
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15773
 
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"`'
15774
 
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"`'
15775
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15776
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15777
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15778
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15779
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15780
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15781
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15782
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15783
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15784
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15785
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15786
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15787
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15788
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15789
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15790
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15791
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15792
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15793
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15794
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15795
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15796
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15797
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15798
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15799
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15800
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15801
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15802
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15803
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15804
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15805
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15806
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15807
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15808
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15809
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15810
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15811
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15812
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15813
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15814
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15815
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15816
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15817
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15818
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15819
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15820
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15821
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15822
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15823
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15824
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15825
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15826
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15827
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15828
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15829
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15830
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15831
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15832
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15833
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15834
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15835
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15836
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15837
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15838
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15839
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15840
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15841
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15842
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15843
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15844
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15845
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15846
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
15619
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
15620
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
15621
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
15622
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
15623
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
15624
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
15625
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
15626
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15627
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
15628
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
15629
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
15630
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
15631
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
15632
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15633
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15634
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15635
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15636
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15637
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15638
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15639
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15640
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15641
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15642
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15643
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15644
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15645
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15646
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15647
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15648
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15649
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15650
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15651
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15652
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15653
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15654
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
15655
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
15656
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
15657
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
15658
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15659
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15660
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
15661
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15662
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15663
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15664
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15665
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15666
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15667
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15668
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15669
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15670
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15671
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15672
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15673
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15674
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15675
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15676
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
15677
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15678
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15679
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15680
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15681
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15682
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15683
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15684
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15685
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
15686
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15687
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15688
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15689
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15690
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15691
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15692
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15693
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15694
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15695
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15696
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15697
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15698
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15699
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15700
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15701
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15702
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15703
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15704
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15705
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15706
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15707
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15708
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15709
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
15710
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15711
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15712
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15713
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15714
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15715
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15716
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15717
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15718
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15719
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15720
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15721
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15722
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15723
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
15724
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15725
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15726
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15727
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15728
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15729
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15730
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15731
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15732
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15733
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15734
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15735
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15736
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15737
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15738
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15739
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15740
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15741
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15742
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15743
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15744
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15745
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15746
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15747
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15748
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15847
15749
 
15848
15750
LTCC='$LTCC'
15849
15751
LTCFLAGS='$LTCFLAGS'
15850
15752
compiler='$compiler_DEFAULT'
15851
15753
 
 
15754
# A function that is used when there is no print builtin or printf.
 
15755
func_fallback_echo ()
 
15756
{
 
15757
  eval 'cat <<_LTECHO_EOF
 
15758
\$1
 
15759
_LTECHO_EOF'
 
15760
}
 
15761
 
15852
15762
# Quote evaled strings.
15853
 
for var in SED \
 
15763
for var in SHELL \
 
15764
ECHO \
 
15765
SED \
15854
15766
GREP \
15855
15767
EGREP \
15856
15768
FGREP \
15863
15775
OBJDUMP \
15864
15776
deplibs_check_method \
15865
15777
file_magic_cmd \
 
15778
file_magic_glob \
 
15779
want_nocaseglob \
 
15780
DLLTOOL \
 
15781
sharedlib_from_linklib_cmd \
15866
15782
AR \
15867
15783
AR_FLAGS \
 
15784
archiver_list_spec \
15868
15785
STRIP \
15869
15786
RANLIB \
15870
15787
CC \
15874
15791
lt_cv_sys_global_symbol_to_cdecl \
15875
15792
lt_cv_sys_global_symbol_to_c_name_address \
15876
15793
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15877
 
SHELL \
15878
 
ECHO \
 
15794
nm_file_list_spec \
15879
15795
lt_prog_compiler_no_builtin_flag \
 
15796
lt_prog_compiler_pic \
15880
15797
lt_prog_compiler_wl \
15881
 
lt_prog_compiler_pic \
15882
15798
lt_prog_compiler_static \
15883
15799
lt_cv_prog_compiler_c_o \
15884
15800
need_locks \
 
15801
MANIFEST_TOOL \
15885
15802
DSYMUTIL \
15886
15803
NMEDIT \
15887
15804
LIPO \
15897
15814
hardcode_libdir_flag_spec \
15898
15815
hardcode_libdir_flag_spec_ld \
15899
15816
hardcode_libdir_separator \
15900
 
fix_srcfile_path \
15901
15817
exclude_expsyms \
15902
15818
include_expsyms \
15903
15819
file_list_spec \
15905
15821
libname_spec \
15906
15822
library_names_spec \
15907
15823
soname_spec \
 
15824
install_override_mode \
15908
15825
finish_eval \
15909
15826
old_striplib \
15910
15827
striplib; do
15911
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15828
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15912
15829
    *[\\\\\\\`\\"\\\$]*)
15913
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15830
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15914
15831
      ;;
15915
15832
    *)
15916
15833
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15932
15849
module_expsym_cmds \
15933
15850
export_symbols_cmds \
15934
15851
prelink_cmds \
 
15852
postlink_cmds \
15935
15853
postinstall_cmds \
15936
15854
postuninstall_cmds \
15937
15855
finish_cmds \
15938
15856
sys_lib_search_path_spec \
15939
15857
sys_lib_dlsearch_path_spec; do
15940
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15858
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15941
15859
    *[\\\\\\\`\\"\\\$]*)
15942
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15860
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15943
15861
      ;;
15944
15862
    *)
15945
15863
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15947
15865
    esac
15948
15866
done
15949
15867
 
15950
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
15951
 
case \$lt_ECHO in
15952
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15953
 
  ;;
15954
 
esac
15955
 
 
15956
15868
ac_aux_dir='$ac_aux_dir'
15957
15869
xsi_shell='$xsi_shell'
15958
15870
lt_shell_append='$lt_shell_append'
15989
15901
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15990
15902
    "cards/Makefile") CONFIG_FILES="$CONFIG_FILES cards/Makefile" ;;
15991
15903
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
15904
    "data/aisleriot.catalog") CONFIG_FILES="$CONFIG_FILES data/aisleriot.catalog" ;;
15992
15905
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
15993
15906
    "data/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES data/sounds/Makefile" ;;
15994
15907
    "data/sol.desktop.in") CONFIG_FILES="$CONFIG_FILES data/sol.desktop.in" ;;
15998
15911
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15999
15912
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16000
15913
    "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16001
 
    "src/smclient/Makefile") CONFIG_FILES="$CONFIG_FILES src/smclient/Makefile" ;;
 
15914
    "src/aisleriot.gresource.xml") CONFIG_FILES="$CONFIG_FILES src/aisleriot.gresource.xml" ;;
16002
15915
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16003
15916
 
16004
15917
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16711
16624
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16712
16625
#
16713
16626
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16714
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
16627
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
16628
#                 Inc.
16715
16629
#   Written by Gordon Matzigkeit, 1996
16716
16630
#
16717
16631
#   This file is part of GNU Libtool.
16759
16673
# Whether or not to optimize for fast installation.
16760
16674
fast_install=$enable_fast_install
16761
16675
 
 
16676
# Shell to use when invoking shell scripts.
 
16677
SHELL=$lt_SHELL
 
16678
 
 
16679
# An echo program that protects backslashes.
 
16680
ECHO=$lt_ECHO
 
16681
 
16762
16682
# The host system.
16763
16683
host_alias=$host_alias
16764
16684
host=$host
16808
16728
# turn newlines into spaces.
16809
16729
NL2SP=$lt_lt_NL2SP
16810
16730
 
16811
 
# How to create reloadable object files.
16812
 
reload_flag=$lt_reload_flag
16813
 
reload_cmds=$lt_reload_cmds
 
16731
# convert \$build file names to \$host format.
 
16732
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16733
 
 
16734
# convert \$build files to toolchain format.
 
16735
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16814
16736
 
16815
16737
# An object symbol dumper.
16816
16738
OBJDUMP=$lt_OBJDUMP
16818
16740
# Method to check whether dependent libraries are shared objects.
16819
16741
deplibs_check_method=$lt_deplibs_check_method
16820
16742
 
16821
 
# Command to use when deplibs_check_method == "file_magic".
 
16743
# Command to use when deplibs_check_method = "file_magic".
16822
16744
file_magic_cmd=$lt_file_magic_cmd
16823
16745
 
 
16746
# How to find potential files when deplibs_check_method = "file_magic".
 
16747
file_magic_glob=$lt_file_magic_glob
 
16748
 
 
16749
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16750
want_nocaseglob=$lt_want_nocaseglob
 
16751
 
 
16752
# DLL creation program.
 
16753
DLLTOOL=$lt_DLLTOOL
 
16754
 
 
16755
# Command to associate shared and link libraries.
 
16756
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16757
 
16824
16758
# The archiver.
16825
16759
AR=$lt_AR
 
16760
 
 
16761
# Flags to create an archive.
16826
16762
AR_FLAGS=$lt_AR_FLAGS
16827
16763
 
 
16764
# How to feed a file listing to the archiver.
 
16765
archiver_list_spec=$lt_archiver_list_spec
 
16766
 
16828
16767
# A symbol stripping program.
16829
16768
STRIP=$lt_STRIP
16830
16769
 
16833
16772
old_postinstall_cmds=$lt_old_postinstall_cmds
16834
16773
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16835
16774
 
 
16775
# Whether to use a lock for old archive extraction.
 
16776
lock_old_archive_extraction=$lock_old_archive_extraction
 
16777
 
16836
16778
# A C compiler.
16837
16779
LTCC=$lt_CC
16838
16780
 
16851
16793
# Transform the output of nm in a C name address pair when lib prefix is needed.
16852
16794
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16853
16795
 
 
16796
# Specify filename containing input files for \$NM.
 
16797
nm_file_list_spec=$lt_nm_file_list_spec
 
16798
 
 
16799
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
16800
lt_sysroot=$lt_sysroot
 
16801
 
16854
16802
# The name of the directory that contains temporary libtool files.
16855
16803
objdir=$objdir
16856
16804
 
16857
 
# Shell to use when invoking shell scripts.
16858
 
SHELL=$lt_SHELL
16859
 
 
16860
 
# An echo program that does not interpret backslashes.
16861
 
ECHO=$lt_ECHO
16862
 
 
16863
16805
# Used to examine libraries when file_magic_cmd begins with "file".
16864
16806
MAGIC_CMD=$MAGIC_CMD
16865
16807
 
16866
16808
# Must we lock files when doing compilation?
16867
16809
need_locks=$lt_need_locks
16868
16810
 
 
16811
# Manifest tool.
 
16812
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
16813
 
16869
16814
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16870
16815
DSYMUTIL=$lt_DSYMUTIL
16871
16816
 
16922
16867
# The coded name of the library, if different from the real name.
16923
16868
soname_spec=$lt_soname_spec
16924
16869
 
 
16870
# Permission mode override for installation of shared libraries.
 
16871
install_override_mode=$lt_install_override_mode
 
16872
 
16925
16873
# Command to use after installation of a shared archive.
16926
16874
postinstall_cmds=$lt_postinstall_cmds
16927
16875
 
16961
16909
# The linker used to build libraries.
16962
16910
LD=$lt_LD
16963
16911
 
 
16912
# How to create reloadable object files.
 
16913
reload_flag=$lt_reload_flag
 
16914
reload_cmds=$lt_reload_cmds
 
16915
 
16964
16916
# Commands used to build an old-style archive.
16965
16917
old_archive_cmds=$lt_old_archive_cmds
16966
16918
 
16973
16925
# Compiler flag to turn off builtin functions.
16974
16926
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16975
16927
 
 
16928
# Additional compiler flags for building library objects.
 
16929
pic_flag=$lt_lt_prog_compiler_pic
 
16930
 
16976
16931
# How to pass a linker flag through the compiler.
16977
16932
wl=$lt_lt_prog_compiler_wl
16978
16933
 
16979
 
# Additional compiler flags for building library objects.
16980
 
pic_flag=$lt_lt_prog_compiler_pic
16981
 
 
16982
16934
# Compiler flag to prevent dynamic linking.
16983
16935
link_static_flag=$lt_lt_prog_compiler_static
16984
16936
 
17065
17017
# Whether libtool must link a program against all its dependency libraries.
17066
17018
link_all_deplibs=$link_all_deplibs
17067
17019
 
17068
 
# Fix the shell variable \$srcfile for the compiler.
17069
 
fix_srcfile_path=$lt_fix_srcfile_path
17070
 
 
17071
17020
# Set to "yes" if exported symbols are required.
17072
17021
always_export_symbols=$always_export_symbols
17073
17022
 
17083
17032
# Commands necessary for linking programs (against libraries) with templates.
17084
17033
prelink_cmds=$lt_prelink_cmds
17085
17034
 
 
17035
# Commands necessary for finishing linking programs.
 
17036
postlink_cmds=$lt_postlink_cmds
 
17037
 
17086
17038
# Specify filename containing input files.
17087
17039
file_list_spec=$lt_file_list_spec
17088
17040
 
17115
17067
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17116
17068
  # text mode, it properly converts lines to CR/LF.  This bash problem
17117
17069
  # is reportedly fixed, but why not run on old versions too?
17118
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17119
 
    || (rm -f "$cfgfile"; exit 1)
17120
 
 
17121
 
  case $xsi_shell in
17122
 
  yes)
17123
 
    cat << \_LT_EOF >> "$cfgfile"
17124
 
 
17125
 
# func_dirname file append nondir_replacement
17126
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17127
 
# otherwise set result to NONDIR_REPLACEMENT.
17128
 
func_dirname ()
17129
 
{
17130
 
  case ${1} in
17131
 
    */*) func_dirname_result="${1%/*}${2}" ;;
17132
 
    *  ) func_dirname_result="${3}" ;;
17133
 
  esac
17134
 
}
17135
 
 
17136
 
# func_basename file
17137
 
func_basename ()
17138
 
{
17139
 
  func_basename_result="${1##*/}"
17140
 
}
17141
 
 
17142
 
# func_dirname_and_basename file append nondir_replacement
17143
 
# perform func_basename and func_dirname in a single function
17144
 
# call:
17145
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
17146
 
#             add APPEND to the result, otherwise set result
17147
 
#             to NONDIR_REPLACEMENT.
17148
 
#             value returned in "$func_dirname_result"
17149
 
#   basename: Compute filename of FILE.
17150
 
#             value retuned in "$func_basename_result"
17151
 
# Implementation must be kept synchronized with func_dirname
17152
 
# and func_basename. For efficiency, we do not delegate to
17153
 
# those functions but instead duplicate the functionality here.
17154
 
func_dirname_and_basename ()
17155
 
{
17156
 
  case ${1} in
17157
 
    */*) func_dirname_result="${1%/*}${2}" ;;
17158
 
    *  ) func_dirname_result="${3}" ;;
17159
 
  esac
17160
 
  func_basename_result="${1##*/}"
17161
 
}
17162
 
 
17163
 
# func_stripname prefix suffix name
17164
 
# strip PREFIX and SUFFIX off of NAME.
17165
 
# PREFIX and SUFFIX must not contain globbing or regex special
17166
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
17167
 
# dot (in which case that matches only a dot).
17168
 
func_stripname ()
17169
 
{
17170
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17171
 
  # positional parameters, so assign one to ordinary parameter first.
17172
 
  func_stripname_result=${3}
17173
 
  func_stripname_result=${func_stripname_result#"${1}"}
17174
 
  func_stripname_result=${func_stripname_result%"${2}"}
17175
 
}
17176
 
 
17177
 
# func_opt_split
17178
 
func_opt_split ()
17179
 
{
17180
 
  func_opt_split_opt=${1%%=*}
17181
 
  func_opt_split_arg=${1#*=}
17182
 
}
17183
 
 
17184
 
# func_lo2o object
17185
 
func_lo2o ()
17186
 
{
17187
 
  case ${1} in
17188
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17189
 
    *)    func_lo2o_result=${1} ;;
17190
 
  esac
17191
 
}
17192
 
 
17193
 
# func_xform libobj-or-source
17194
 
func_xform ()
17195
 
{
17196
 
  func_xform_result=${1%.*}.lo
17197
 
}
17198
 
 
17199
 
# func_arith arithmetic-term...
17200
 
func_arith ()
17201
 
{
17202
 
  func_arith_result=$(( $* ))
17203
 
}
17204
 
 
17205
 
# func_len string
17206
 
# STRING may not start with a hyphen.
17207
 
func_len ()
17208
 
{
17209
 
  func_len_result=${#1}
17210
 
}
17211
 
 
17212
 
_LT_EOF
17213
 
    ;;
17214
 
  *) # Bourne compatible functions.
17215
 
    cat << \_LT_EOF >> "$cfgfile"
17216
 
 
17217
 
# func_dirname file append nondir_replacement
17218
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17219
 
# otherwise set result to NONDIR_REPLACEMENT.
17220
 
func_dirname ()
17221
 
{
17222
 
  # Extract subdirectory from the argument.
17223
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17224
 
  if test "X$func_dirname_result" = "X${1}"; then
17225
 
    func_dirname_result="${3}"
17226
 
  else
17227
 
    func_dirname_result="$func_dirname_result${2}"
17228
 
  fi
17229
 
}
17230
 
 
17231
 
# func_basename file
17232
 
func_basename ()
17233
 
{
17234
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17235
 
}
17236
 
 
17237
 
 
17238
 
# func_stripname prefix suffix name
17239
 
# strip PREFIX and SUFFIX off of NAME.
17240
 
# PREFIX and SUFFIX must not contain globbing or regex special
17241
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
17242
 
# dot (in which case that matches only a dot).
17243
 
# func_strip_suffix prefix name
17244
 
func_stripname ()
17245
 
{
17246
 
  case ${2} in
17247
 
    .*) func_stripname_result=`$ECHO "X${3}" \
17248
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17249
 
    *)  func_stripname_result=`$ECHO "X${3}" \
17250
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17251
 
  esac
17252
 
}
17253
 
 
17254
 
# sed scripts:
17255
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17256
 
my_sed_long_arg='1s/^-[^=]*=//'
17257
 
 
17258
 
# func_opt_split
17259
 
func_opt_split ()
17260
 
{
17261
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17262
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17263
 
}
17264
 
 
17265
 
# func_lo2o object
17266
 
func_lo2o ()
17267
 
{
17268
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17269
 
}
17270
 
 
17271
 
# func_xform libobj-or-source
17272
 
func_xform ()
17273
 
{
17274
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17275
 
}
17276
 
 
17277
 
# func_arith arithmetic-term...
17278
 
func_arith ()
17279
 
{
17280
 
  func_arith_result=`expr "$@"`
17281
 
}
17282
 
 
17283
 
# func_len string
17284
 
# STRING may not start with a hyphen.
17285
 
func_len ()
17286
 
{
17287
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17288
 
}
17289
 
 
17290
 
_LT_EOF
17291
 
esac
17292
 
 
17293
 
case $lt_shell_append in
17294
 
  yes)
17295
 
    cat << \_LT_EOF >> "$cfgfile"
17296
 
 
17297
 
# func_append var value
17298
 
# Append VALUE to the end of shell variable VAR.
17299
 
func_append ()
17300
 
{
17301
 
  eval "$1+=\$2"
17302
 
}
17303
 
_LT_EOF
17304
 
    ;;
17305
 
  *)
17306
 
    cat << \_LT_EOF >> "$cfgfile"
17307
 
 
17308
 
# func_append var value
17309
 
# Append VALUE to the end of shell variable VAR.
17310
 
func_append ()
17311
 
{
17312
 
  eval "$1=\$$1\$2"
17313
 
}
17314
 
 
17315
 
_LT_EOF
17316
 
    ;;
17317
 
  esac
17318
 
 
17319
 
 
17320
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17321
 
    || (rm -f "$cfgfile"; exit 1)
17322
 
 
17323
 
  mv -f "$cfgfile" "$ofile" ||
 
17070
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17071
     || (rm -f "$cfgfile"; exit 1)
 
17072
 
 
17073
  if test x"$xsi_shell" = xyes; then
 
17074
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17075
func_dirname ()\
 
17076
{\
 
17077
\    case ${1} in\
 
17078
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17079
\      *  ) func_dirname_result="${3}" ;;\
 
17080
\    esac\
 
17081
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17082
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17083
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17084
test 0 -eq $? || _lt_function_replace_fail=:
 
17085
 
 
17086
 
 
17087
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17088
func_basename ()\
 
17089
{\
 
17090
\    func_basename_result="${1##*/}"\
 
17091
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17092
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17093
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17094
test 0 -eq $? || _lt_function_replace_fail=:
 
17095
 
 
17096
 
 
17097
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17098
func_dirname_and_basename ()\
 
17099
{\
 
17100
\    case ${1} in\
 
17101
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17102
\      *  ) func_dirname_result="${3}" ;;\
 
17103
\    esac\
 
17104
\    func_basename_result="${1##*/}"\
 
17105
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17106
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17107
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17108
test 0 -eq $? || _lt_function_replace_fail=:
 
17109
 
 
17110
 
 
17111
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
17112
func_stripname ()\
 
17113
{\
 
17114
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
17115
\    # positional parameters, so assign one to ordinary parameter first.\
 
17116
\    func_stripname_result=${3}\
 
17117
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
17118
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
17119
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
17120
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17121
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17122
test 0 -eq $? || _lt_function_replace_fail=:
 
17123
 
 
17124
 
 
17125
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
17126
func_split_long_opt ()\
 
17127
{\
 
17128
\    func_split_long_opt_name=${1%%=*}\
 
17129
\    func_split_long_opt_arg=${1#*=}\
 
17130
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17131
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17132
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17133
test 0 -eq $? || _lt_function_replace_fail=:
 
17134
 
 
17135
 
 
17136
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
17137
func_split_short_opt ()\
 
17138
{\
 
17139
\    func_split_short_opt_arg=${1#??}\
 
17140
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
17141
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17142
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17143
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17144
test 0 -eq $? || _lt_function_replace_fail=:
 
17145
 
 
17146
 
 
17147
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
17148
func_lo2o ()\
 
17149
{\
 
17150
\    case ${1} in\
 
17151
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
17152
\      *)    func_lo2o_result=${1} ;;\
 
17153
\    esac\
 
17154
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
17155
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17156
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17157
test 0 -eq $? || _lt_function_replace_fail=:
 
17158
 
 
17159
 
 
17160
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
17161
func_xform ()\
 
17162
{\
 
17163
    func_xform_result=${1%.*}.lo\
 
17164
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
17165
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17166
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17167
test 0 -eq $? || _lt_function_replace_fail=:
 
17168
 
 
17169
 
 
17170
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
17171
func_arith ()\
 
17172
{\
 
17173
    func_arith_result=$(( $* ))\
 
17174
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
17175
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17176
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17177
test 0 -eq $? || _lt_function_replace_fail=:
 
17178
 
 
17179
 
 
17180
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
17181
func_len ()\
 
17182
{\
 
17183
    func_len_result=${#1}\
 
17184
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
17185
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17186
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17187
test 0 -eq $? || _lt_function_replace_fail=:
 
17188
 
 
17189
fi
 
17190
 
 
17191
if test x"$lt_shell_append" = xyes; then
 
17192
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
17193
func_append ()\
 
17194
{\
 
17195
    eval "${1}+=\\${2}"\
 
17196
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
17197
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17198
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17199
test 0 -eq $? || _lt_function_replace_fail=:
 
17200
 
 
17201
 
 
17202
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
17203
func_append_quoted ()\
 
17204
{\
 
17205
\    func_quote_for_eval "${2}"\
 
17206
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
17207
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
17208
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17209
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17210
test 0 -eq $? || _lt_function_replace_fail=:
 
17211
 
 
17212
 
 
17213
  # Save a `func_append' function call where possible by direct use of '+='
 
17214
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
17215
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17216
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17217
  test 0 -eq $? || _lt_function_replace_fail=:
 
17218
else
 
17219
  # Save a `func_append' function call even when '+=' is not available
 
17220
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
17221
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17222
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17223
  test 0 -eq $? || _lt_function_replace_fail=:
 
17224
fi
 
17225
 
 
17226
if test x"$_lt_function_replace_fail" = x":"; then
 
17227
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
17228
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
17229
fi
 
17230
 
 
17231
 
 
17232
   mv -f "$cfgfile" "$ofile" ||
17324
17233
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17325
17234
  chmod +x "$ofile"
17326
17235
 
17393
17302
    Source code location:  ${srcdir}
17394
17303
    Compiler:              ${CC}
17395
17304
 
17396
 
    Guile version:         ${with_guile}
 
17305
    Guile version:         ${with_guile_result}
17397
17306
    GTK+ API version:      ${GTK_API_VERSION}
17398
17307
    Platform:              ${with_platform}
17399
17308
    Help method:           ${with_help_method} ${with_help_file_format}
17400
 
    Using SM Client:       ${with_smclient}
17401
17309
    Using RSVG:            ${have_rsvg}
17402
17310
    Card theme formats:    ${with_card_theme_formats}
17403
17311
    Default theme format:  ${with_default_card_theme_format}