~ubuntu-branches/ubuntu/precise/gnome-games/precise-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Rodrigo Moya
  • Date: 2011-05-30 13:32:04 UTC
  • mfrom: (1.3.4)
  • mto: (163.1.3 precise)
  • mto: This revision was merged to the branch mainline in revision 143.
  • Revision ID: package-import@ubuntu.com-20110530133204-celaq1v1dsxc48q1
Tags: upstream-3.0.2
ImportĀ upstreamĀ versionĀ 3.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.67 for GNOME Games 2.32.1.
 
3
# Generated by GNU Autoconf 2.68 for GNOME Games 3.0.2.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-games>.
6
6
#
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
225
  # We cannot yet assume a decent shell, so we have to provide a
225
226
        # neutralization value for shells without unset; and this also
226
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
227
229
        BASH_ENV=/dev/null
228
230
        ENV=/dev/null
229
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230
232
        export CONFIG_SHELL
231
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232
240
fi
233
241
 
234
242
    if test x$as_have_required = xno; then :
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
 
 
548
as_awk_strverscmp='
 
549
  # Use only awk features that work with 7th edition Unix awk (1978).
 
550
  # My, what an old awk you have, Mr. Solaris!
 
551
  END {
 
552
    while (length(v1) && length(v2)) {
 
553
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
 
554
      # Normally this is a single character, but if v1 and v2 contain digits,
 
555
      # compare them as integers and fractions as strverscmp does.
 
556
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
 
557
        # Split v1 and v2 into their leading digit string components d1 and d2,
 
558
        # and advance v1 and v2 past the leading digit strings.
 
559
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
 
560
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
 
561
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
 
562
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
 
563
        if (d1 ~ /^0/) {
 
564
          if (d2 ~ /^0/) {
 
565
            # Compare two fractions.
 
566
            while (d1 ~ /^0/ && d2 ~ /^0/) {
 
567
              d1 = substr(d1, 2); len1--
 
568
              d2 = substr(d2, 2); len2--
 
569
            }
 
570
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
 
571
              # The two components differ in length, and the common prefix
 
572
              # contains only leading zeros.  Consider the longer to be less.
 
573
              d1 = -len1
 
574
              d2 = -len2
 
575
            } else {
 
576
              # Otherwise, compare as strings.
 
577
              d1 = "x" d1
 
578
              d2 = "x" d2
 
579
            }
 
580
          } else {
 
581
            # A fraction is less than an integer.
 
582
            exit 1
 
583
          }
 
584
        } else {
 
585
          if (d2 ~ /^0/) {
 
586
            # An integer is greater than a fraction.
 
587
            exit 2
 
588
          } else {
 
589
            # Compare two integers.
 
590
            d1 += 0
 
591
            d2 += 0
 
592
          }
 
593
        }
 
594
      } else {
 
595
        # The normal case, without worrying about digits.
 
596
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
 
597
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
 
598
      }
 
599
      if (d1 < d2) exit 1
 
600
      if (d1 > d2) exit 2
 
601
    }
 
602
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
 
603
    # which mishandles some comparisons of empty strings to integers.
 
604
    if (length(v2)) exit 1
 
605
    if (length(v1)) exit 2
 
606
  }
 
607
'
540
608
SHELL=${CONFIG_SHELL-/bin/sh}
541
609
 
542
610
 
563
631
# Identity of this package.
564
632
PACKAGE_NAME='GNOME Games'
565
633
PACKAGE_TARNAME='gnome-games'
566
 
PACKAGE_VERSION='2.32.1'
567
 
PACKAGE_STRING='GNOME Games 2.32.1'
 
634
PACKAGE_VERSION='3.0.2'
 
635
PACKAGE_STRING='GNOME Games 3.0.2'
568
636
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-games'
569
637
PACKAGE_URL=''
570
638
 
711
779
WITH_GTHREAD_TRUE
712
780
HAVE_PYTHON_FALSE
713
781
HAVE_PYTHON_TRUE
714
 
PYGTK_LIBS
715
 
PYGTK_CFLAGS
 
782
PYGOBJECT_LIBS
 
783
PYGOBJECT_CFLAGS
716
784
HAVE_CLUTTER_FALSE
717
785
HAVE_CLUTTER_TRUE
718
786
CLUTTER_GTK_LIBS
719
787
CLUTTER_GTK_CFLAGS
720
788
CLUTTER_LIBS
721
789
CLUTTER_CFLAGS
 
790
HAVE_GLX_FALSE
 
791
HAVE_GLX_TRUE
 
792
GLX_LIBS
 
793
GLX_CFLAGS
 
794
HAVE_OPENGL_FALSE
 
795
HAVE_OPENGL_TRUE
 
796
OPENGL_LIBS
 
797
OPENGL_CFLAGS
 
798
HAVE_SQLITE_FALSE
 
799
HAVE_SQLITE_TRUE
 
800
SQLITE_LIBS
 
801
SQLITE_CFLAGS
722
802
HAVE_RSVG_FALSE
723
803
HAVE_RSVG_TRUE
724
804
RSVG_LIBS
732
812
GCONF_SCHEMAS_INSTALL_TRUE
733
813
GCONF_SCHEMA_FILE_DIR
734
814
GCONF_SCHEMA_CONFIG_SOURCE
 
815
GSETTINGS_RULES
 
816
GLIB_COMPILE_SCHEMAS
 
817
gsettingsschemadir
 
818
GSETTINGS_DISABLE_SCHEMAS_COMPILE
735
819
HAVE_GIO_2_26_FALSE
736
820
HAVE_GIO_2_26_TRUE
737
821
GIO_LIBS
738
822
GIO_CFLAGS
739
823
GTK_LIBS
740
824
GTK_CFLAGS
 
825
GOBJECT_LIBS
 
826
GOBJECT_CFLAGS
 
827
GMODULE_LIBS
 
828
GMODULE_CFLAGS
741
829
GTHREAD_LIBS
742
830
GTHREAD_CFLAGS
743
831
ENABLE_DEBUG_UI_FALSE
794
882
LIPO
795
883
NMEDIT
796
884
DSYMUTIL
 
885
MANIFEST_TOOL
797
886
RANLIB
 
887
ac_ct_AR
798
888
AR
 
889
DLLTOOL
799
890
OBJDUMP
800
891
NM
801
892
ac_ct_DUMPBIN
819
910
ac_ct_CXX
820
911
CXXFLAGS
821
912
CXX
 
913
VALAC
822
914
SED
823
915
LN_S
824
916
CPP
959
1051
with_pic
960
1052
enable_fast_install
961
1053
with_gnu_ld
 
1054
with_sysroot
962
1055
enable_libtool_lock
963
1056
enable_debug
964
1057
enable_compile_warnings
975
1068
with_default_card_theme
976
1069
with_default_card_theme_format
977
1070
enable_debug_ui
 
1071
enable_schemas_compile
978
1072
with_gconf_source
979
1073
with_gconf_schema_file_dir
980
1074
enable_schemas_install
1011
1105
CXXCPP
1012
1106
GTHREAD_CFLAGS
1013
1107
GTHREAD_LIBS
 
1108
GMODULE_CFLAGS
 
1109
GMODULE_LIBS
 
1110
GOBJECT_CFLAGS
 
1111
GOBJECT_LIBS
1014
1112
GTK_CFLAGS
1015
1113
GTK_LIBS
1016
1114
GIO_CFLAGS
1021
1119
HILDON_LIBS
1022
1120
RSVG_CFLAGS
1023
1121
RSVG_LIBS
 
1122
SQLITE_CFLAGS
 
1123
SQLITE_LIBS
 
1124
OPENGL_CFLAGS
 
1125
OPENGL_LIBS
 
1126
GLX_CFLAGS
 
1127
GLX_LIBS
1024
1128
CLUTTER_CFLAGS
1025
1129
CLUTTER_LIBS
1026
1130
CLUTTER_GTK_CFLAGS
1027
1131
CLUTTER_GTK_LIBS
1028
 
PYGTK_CFLAGS
1029
 
PYGTK_LIBS
 
1132
PYGOBJECT_CFLAGS
 
1133
PYGOBJECT_LIBS
1030
1134
CANBERRA_GTK_CFLAGS
1031
1135
CANBERRA_GTK_LIBS
1032
1136
SMCLIENT_CFLAGS
1437
1541
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1438
1542
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1439
1543
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1440
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1544
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1441
1545
    ;;
1442
1546
 
1443
1547
  esac
1575
1679
  # Omit some internal or obsolete options to make the list less imposing.
1576
1680
  # This message is too long to be a string in the A/UX 3.1 sh.
1577
1681
  cat <<_ACEOF
1578
 
\`configure' configures GNOME Games 2.32.1 to adapt to many kinds of systems.
 
1682
\`configure' configures GNOME Games 3.0.2 to adapt to many kinds of systems.
1579
1683
 
1580
1684
Usage: $0 [OPTION]... [VAR=VALUE]...
1581
1685
 
1645
1749
 
1646
1750
if test -n "$ac_init_help"; then
1647
1751
  case $ac_init_help in
1648
 
     short | recursive ) echo "Configuration of GNOME Games 2.32.1:";;
 
1752
     short | recursive ) echo "Configuration of GNOME Games 3.0.2:";;
1649
1753
   esac
1650
1754
  cat <<\_ACEOF
1651
1755
 
1681
1785
  --enable-sound          Enable sound using libcanberra
1682
1786
  --debug-ui              Enable extra debugging UI in Aisleriot (default:
1683
1787
                          disabled)
 
1788
  --disable-schemas-compile
 
1789
                          Disable regeneration of gschemas.compiled on install
1684
1790
  --disable-schemas-install
1685
1791
                          Disable the schemas installation
1686
1792
  --enable-binreloc       enable binary relocation support (default: disabled)
1698
1804
  --with-pic              try to use only PIC/non-PIC objects [default=use
1699
1805
                          both]
1700
1806
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1807
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1808
                        (or the compiler's sysroot if not specified).
1701
1809
  --with-platform=gnome|hildon|gtk-only (default: gnome)
1702
1810
 
1703
1811
  --with-platform-variant=maemo3|maemo4|maemo5|mid (default: maemo4)
1704
1812
 
1705
 
  --with-gtk=2.0|3.0      which gtk+ version to compile against (default: 2.0)
 
1813
  --with-gtk=2.0|3.0      which gtk+ version to compile against (default: 3.0)
1706
1814
  --with-card-theme-formats
1707
1815
                          which card theme formats to support
1708
1816
                          (svg,fixed,kde,pysol|default|all)
1711
1819
  --with-pysol-card-theme-path
1712
1820
                          The base path to the PySol card themes
1713
1821
  --with-default-card-theme=NAME
1714
 
                          Which card theme to use by default (default:
1715
 
                          gnomangelo_bitmap)
 
1822
                          Which card theme to use by default (default: bonded)
1716
1823
  --with-default-card-theme-format=NAME
1717
1824
                          Which card theme format to use by default (default:
1718
1825
                          platform dependent)
1754
1861
              C compiler flags for GTHREAD, overriding pkg-config
1755
1862
  GTHREAD_LIBS
1756
1863
              linker flags for GTHREAD, overriding pkg-config
 
1864
  GMODULE_CFLAGS
 
1865
              C compiler flags for GMODULE, overriding pkg-config
 
1866
  GMODULE_LIBS
 
1867
              linker flags for GMODULE, overriding pkg-config
 
1868
  GOBJECT_CFLAGS
 
1869
              C compiler flags for GOBJECT, overriding pkg-config
 
1870
  GOBJECT_LIBS
 
1871
              linker flags for GOBJECT, overriding pkg-config
1757
1872
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1758
1873
  GTK_LIBS    linker flags for GTK, overriding pkg-config
1759
1874
  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1766
1881
  HILDON_LIBS linker flags for HILDON, overriding pkg-config
1767
1882
  RSVG_CFLAGS C compiler flags for RSVG, overriding pkg-config
1768
1883
  RSVG_LIBS   linker flags for RSVG, overriding pkg-config
 
1884
  SQLITE_CFLAGS
 
1885
              C compiler flags for SQLITE, overriding pkg-config
 
1886
  SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
 
1887
  OPENGL_CFLAGS
 
1888
              C compiler flags for OPENGL, overriding pkg-config
 
1889
  OPENGL_LIBS linker flags for OPENGL, overriding pkg-config
 
1890
  GLX_CFLAGS  C compiler flags for GLX, overriding pkg-config
 
1891
  GLX_LIBS    linker flags for GLX, overriding pkg-config
1769
1892
  CLUTTER_CFLAGS
1770
1893
              C compiler flags for CLUTTER, overriding pkg-config
1771
1894
  CLUTTER_LIBS
1774
1897
              C compiler flags for CLUTTER_GTK, overriding pkg-config
1775
1898
  CLUTTER_GTK_LIBS
1776
1899
              linker flags for CLUTTER_GTK, overriding pkg-config
1777
 
  PYGTK_CFLAGS
1778
 
              C compiler flags for PYGTK, overriding pkg-config
1779
 
  PYGTK_LIBS  linker flags for PYGTK, overriding pkg-config
 
1900
  PYGOBJECT_CFLAGS
 
1901
              C compiler flags for PYGOBJECT, overriding pkg-config
 
1902
  PYGOBJECT_LIBS
 
1903
              linker flags for PYGOBJECT, overriding pkg-config
1780
1904
  CANBERRA_GTK_CFLAGS
1781
1905
              C compiler flags for CANBERRA_GTK, overriding pkg-config
1782
1906
  CANBERRA_GTK_LIBS
1855
1979
test -n "$ac_init_help" && exit $ac_status
1856
1980
if $ac_init_version; then
1857
1981
  cat <<\_ACEOF
1858
 
GNOME Games configure 2.32.1
1859
 
generated by GNU Autoconf 2.67
 
1982
GNOME Games configure 3.0.2
 
1983
generated by GNU Autoconf 2.68
1860
1984
 
1861
1985
Copyright (C) 2010 Free Software Foundation, Inc.
1862
1986
This configure script is free software; the Free Software Foundation
1902
2026
 
1903
2027
        ac_retval=1
1904
2028
fi
1905
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2029
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906
2030
  as_fn_set_status $ac_retval
1907
2031
 
1908
2032
} # ac_fn_c_try_compile
1939
2063
 
1940
2064
    ac_retval=1
1941
2065
fi
1942
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2066
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943
2067
  as_fn_set_status $ac_retval
1944
2068
 
1945
2069
} # ac_fn_c_try_cpp
1977
2101
 
1978
2102
        ac_retval=1
1979
2103
fi
1980
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2104
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981
2105
  as_fn_set_status $ac_retval
1982
2106
 
1983
2107
} # ac_fn_cxx_try_compile
2023
2147
  # interfere with the next link command; also delete a directory that is
2024
2148
  # left behind by Apple's compiler.  We do this before executing the actions.
2025
2149
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2026
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2150
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027
2151
  as_fn_set_status $ac_retval
2028
2152
 
2029
2153
} # ac_fn_c_try_link
2037
2161
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038
2162
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2039
2163
$as_echo_n "checking for $2... " >&6; }
2040
 
if eval "test \"\${$3+set}\"" = set; then :
 
2164
if eval \${$3+:} false; then :
2041
2165
  $as_echo_n "(cached) " >&6
2042
2166
else
2043
2167
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055
2179
eval ac_res=\$$3
2056
2180
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057
2181
$as_echo "$ac_res" >&6; }
2058
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2182
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059
2183
 
2060
2184
} # ac_fn_c_check_header_compile
2061
2185
 
2096
2220
       ac_retval=$ac_status
2097
2221
fi
2098
2222
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2099
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2223
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2100
2224
  as_fn_set_status $ac_retval
2101
2225
 
2102
2226
} # ac_fn_c_try_run
2109
2233
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2110
2234
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111
2235
$as_echo_n "checking for $2... " >&6; }
2112
 
if eval "test \"\${$3+set}\"" = set; then :
 
2236
if eval \${$3+:} false; then :
2113
2237
  $as_echo_n "(cached) " >&6
2114
2238
else
2115
2239
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164
2288
eval ac_res=\$$3
2165
2289
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2166
2290
$as_echo "$ac_res" >&6; }
2167
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2291
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2168
2292
 
2169
2293
} # ac_fn_c_check_func
2170
2294
 
2200
2324
 
2201
2325
    ac_retval=1
2202
2326
fi
2203
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2327
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2204
2328
  as_fn_set_status $ac_retval
2205
2329
 
2206
2330
} # ac_fn_cxx_try_cpp
2246
2370
  # interfere with the next link command; also delete a directory that is
2247
2371
  # left behind by Apple's compiler.  We do this before executing the actions.
2248
2372
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2249
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2373
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2250
2374
  as_fn_set_status $ac_retval
2251
2375
 
2252
2376
} # ac_fn_cxx_try_link
2259
2383
ac_fn_c_check_header_mongrel ()
2260
2384
{
2261
2385
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2262
 
  if eval "test \"\${$3+set}\"" = set; then :
 
2386
  if eval \${$3+:} false; then :
2263
2387
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2264
2388
$as_echo_n "checking for $2... " >&6; }
2265
 
if eval "test \"\${$3+set}\"" = set; then :
 
2389
if eval \${$3+:} false; then :
2266
2390
  $as_echo_n "(cached) " >&6
2267
2391
fi
2268
2392
eval ac_res=\$$3
2329
2453
esac
2330
2454
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2331
2455
$as_echo_n "checking for $2... " >&6; }
2332
 
if eval "test \"\${$3+set}\"" = set; then :
 
2456
if eval \${$3+:} false; then :
2333
2457
  $as_echo_n "(cached) " >&6
2334
2458
else
2335
2459
  eval "$3=\$ac_header_compiler"
2338
2462
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2339
2463
$as_echo "$ac_res" >&6; }
2340
2464
fi
2341
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2465
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2342
2466
 
2343
2467
} # ac_fn_c_check_header_mongrel
2344
2468
 
2351
2475
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2352
2476
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2353
2477
$as_echo_n "checking for $2... " >&6; }
2354
 
if eval "test \"\${$3+set}\"" = set; then :
 
2478
if eval \${$3+:} false; then :
2355
2479
  $as_echo_n "(cached) " >&6
2356
2480
else
2357
2481
  eval "$3=no"
2392
2516
eval ac_res=\$$3
2393
2517
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2394
2518
$as_echo "$ac_res" >&6; }
2395
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2519
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2396
2520
 
2397
2521
} # ac_fn_c_check_type
2398
2522
cat >config.log <<_ACEOF
2399
2523
This file contains any messages produced by compilers while
2400
2524
running configure, to aid debugging if configure makes a mistake.
2401
2525
 
2402
 
It was created by GNOME Games $as_me 2.32.1, which was
2403
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2526
It was created by GNOME Games $as_me 3.0.2, which was
 
2527
generated by GNU Autoconf 2.68.  Invocation command line was
2404
2528
 
2405
2529
  $ $0 $@
2406
2530
 
2658
2782
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2659
2783
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2660
2784
as_fn_error $? "failed to load site script $ac_site_file
2661
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2785
See \`config.log' for more details" "$LINENO" 5; }
2662
2786
  fi
2663
2787
done
2664
2788
 
2801
2925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2802
2926
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2803
2927
if test -z "$INSTALL"; then
2804
 
if test "${ac_cv_path_install+set}" = set; then :
 
2928
if ${ac_cv_path_install+:} false; then :
2805
2929
  $as_echo_n "(cached) " >&6
2806
2930
else
2807
2931
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888
3012
'
2889
3013
case `pwd` in
2890
3014
  *[\\\"\#\$\&\'\`$am_lf]*)
2891
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
3015
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2892
3016
esac
2893
3017
case $srcdir in
2894
3018
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2895
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
3019
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2896
3020
esac
2897
3021
 
2898
3022
# Do `set' in a subshell so we don't clobber the current shell's
2978
3102
set dummy ${ac_tool_prefix}strip; ac_word=$2
2979
3103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980
3104
$as_echo_n "checking for $ac_word... " >&6; }
2981
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3105
if ${ac_cv_prog_STRIP+:} false; then :
2982
3106
  $as_echo_n "(cached) " >&6
2983
3107
else
2984
3108
  if test -n "$STRIP"; then
3018
3142
set dummy strip; ac_word=$2
3019
3143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020
3144
$as_echo_n "checking for $ac_word... " >&6; }
3021
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3145
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3022
3146
  $as_echo_n "(cached) " >&6
3023
3147
else
3024
3148
  if test -n "$ac_ct_STRIP"; then
3071
3195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3072
3196
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3073
3197
if test -z "$MKDIR_P"; then
3074
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3198
  if ${ac_cv_path_mkdir+:} false; then :
3075
3199
  $as_echo_n "(cached) " >&6
3076
3200
else
3077
3201
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122
3246
set dummy $ac_prog; ac_word=$2
3123
3247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124
3248
$as_echo_n "checking for $ac_word... " >&6; }
3125
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3249
if ${ac_cv_prog_AWK+:} false; then :
3126
3250
  $as_echo_n "(cached) " >&6
3127
3251
else
3128
3252
  if test -n "$AWK"; then
3162
3286
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3163
3287
set x ${MAKE-make}
3164
3288
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3165
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3289
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3166
3290
  $as_echo_n "(cached) " >&6
3167
3291
else
3168
3292
  cat >conftest.make <<\_ACEOF
3220
3344
 
3221
3345
# Define the identity of the package.
3222
3346
 PACKAGE='gnome-games'
3223
 
 VERSION='2.32.1'
 
3347
 VERSION='3.0.2'
3224
3348
 
3225
3349
 
3226
3350
cat >>confdefs.h <<_ACEOF
3305
3429
# we support and which features to check for
3306
3430
 
3307
3431
# This is the canonical list of all game subdirectories.
3308
 
allgames="aisleriot quadrapassel gnect gnomine swell-foop mahjongg gtali gnotravex gnotski glines iagno glchess gnobots2 gnibbles gnome-sudoku lightsoff"
 
3432
allgames="aisleriot glchess glines gnect gnibbles gnobots2 gnomine gnotravex gnotski gtali iagno lightsoff mahjongg quadrapassel swell-foop gnome-sudoku"
3309
3433
 
3310
3434
staginggames=""
3311
3435
 
3407
3531
# Feature matrix
3408
3532
 
3409
3533
need_cxx=no
 
3534
need_vala=no
3410
3535
need_rsvg=no
 
3536
need_sqlite=no
3411
3537
need_guile=no
 
3538
need_opengl=no
 
3539
need_glx=no
3412
3540
need_python=no
3413
3541
need_clutter=no
3414
3542
need_gio_2_26=no
3415
3543
want_sound=no
 
3544
allow_gtk2=yes
3416
3545
allow_gnuchess=no
3417
3546
allow_smclient=no
3418
3547
disallow_hildon=no
3419
3548
require_gtk_2_16=no
 
3549
require_cairo_1_10=no
3420
3550
libgames_support_full=no
3421
3551
 
3422
3552
for game in $gamelist; do
3423
3553
  case $game in
 
3554
    aisleriot) allow_gtk2=yes ;;
 
3555
    *) ;;
 
3556
  esac
 
3557
  case $game in
3424
3558
    quadrapassel) need_cxx=yes ;;
3425
3559
    *) ;;
3426
3560
  esac
3427
3561
  case $game in
 
3562
    glchess) need_vala=yes ;;
 
3563
    *) ;;
 
3564
  esac
 
3565
  case $game in
3428
3566
    aisleriot) need_guile=yes ;;
3429
3567
    *) ;;
3430
3568
  esac
3431
3569
  case $game in
 
3570
    glchess) need_opengl=yes ;;
 
3571
    *) ;;
 
3572
  esac
 
3573
  case $game in
 
3574
    glchess) need_glx=yes ;;
 
3575
    *) ;;
 
3576
  esac
 
3577
  case $game in
3432
3578
    glchess) allow_gnuchess=yes ;;
3433
3579
    *) ;;
3434
3580
  esac
3435
3581
  case $game in
3436
 
    glchess|gnome-sudoku) need_python=yes ;;
 
3582
    gnome-sudoku) need_python=yes ;;
3437
3583
    *) ;;
3438
3584
  esac
3439
3585
  case $game in
3445
3591
    *) disallow_hildon=yes ;;
3446
3592
  esac
3447
3593
  case $game in
3448
 
    aisleriot) ;;
 
3594
    aisleriot|glchess) ;;
3449
3595
    *) need_rsvg=yes ;;
3450
3596
  esac
3451
3597
  case $game in
 
3598
    glchess) ;;
 
3599
    *) need_sqlite=yes ;;
 
3600
  esac
 
3601
  case $game in
3452
3602
    aisleriot|glines|gnobots2|gnomine|gnotravex|gnotski|iagno) allow_smclient=yes ;;
3453
3603
    *) ;;
3454
3604
  esac
3627
3777
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3628
3778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629
3779
$as_echo_n "checking for $ac_word... " >&6; }
3630
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
3780
if ${ac_cv_path_PKG_CONFIG+:} false; then :
3631
3781
  $as_echo_n "(cached) " >&6
3632
3782
else
3633
3783
  case $PKG_CONFIG in
3670
3820
set dummy pkg-config; ac_word=$2
3671
3821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672
3822
$as_echo_n "checking for $ac_word... " >&6; }
3673
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
3823
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3674
3824
  $as_echo_n "(cached) " >&6
3675
3825
else
3676
3826
  case $ac_pt_PKG_CONFIG in
3745
3895
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3746
3896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747
3897
$as_echo_n "checking for $ac_word... " >&6; }
3748
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3898
if ${ac_cv_prog_CC+:} false; then :
3749
3899
  $as_echo_n "(cached) " >&6
3750
3900
else
3751
3901
  if test -n "$CC"; then
3785
3935
set dummy gcc; ac_word=$2
3786
3936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787
3937
$as_echo_n "checking for $ac_word... " >&6; }
3788
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3938
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3789
3939
  $as_echo_n "(cached) " >&6
3790
3940
else
3791
3941
  if test -n "$ac_ct_CC"; then
3838
3988
set dummy ${ac_tool_prefix}cc; ac_word=$2
3839
3989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840
3990
$as_echo_n "checking for $ac_word... " >&6; }
3841
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3991
if ${ac_cv_prog_CC+:} false; then :
3842
3992
  $as_echo_n "(cached) " >&6
3843
3993
else
3844
3994
  if test -n "$CC"; then
3878
4028
set dummy cc; ac_word=$2
3879
4029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880
4030
$as_echo_n "checking for $ac_word... " >&6; }
3881
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4031
if ${ac_cv_prog_CC+:} false; then :
3882
4032
  $as_echo_n "(cached) " >&6
3883
4033
else
3884
4034
  if test -n "$CC"; then
3937
4087
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3938
4088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939
4089
$as_echo_n "checking for $ac_word... " >&6; }
3940
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4090
if ${ac_cv_prog_CC+:} false; then :
3941
4091
  $as_echo_n "(cached) " >&6
3942
4092
else
3943
4093
  if test -n "$CC"; then
3981
4131
set dummy $ac_prog; ac_word=$2
3982
4132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3983
4133
$as_echo_n "checking for $ac_word... " >&6; }
3984
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4134
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3985
4135
  $as_echo_n "(cached) " >&6
3986
4136
else
3987
4137
  if test -n "$ac_ct_CC"; then
4036
4186
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4037
4187
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4038
4188
as_fn_error $? "no acceptable C compiler found in \$PATH
4039
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4189
See \`config.log' for more details" "$LINENO" 5; }
4040
4190
 
4041
4191
# Provide some information about the compiler.
4042
4192
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4151
4301
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4152
4302
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4153
4303
as_fn_error 77 "C compiler cannot create executables
4154
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4304
See \`config.log' for more details" "$LINENO" 5; }
4155
4305
else
4156
4306
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4157
4307
$as_echo "yes" >&6; }
4194
4344
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4195
4345
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4196
4346
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4197
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4347
See \`config.log' for more details" "$LINENO" 5; }
4198
4348
fi
4199
4349
rm -f conftest conftest$ac_cv_exeext
4200
4350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4253
4403
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4254
4404
as_fn_error $? "cannot run C compiled programs.
4255
4405
If you meant to cross compile, use \`--host'.
4256
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4406
See \`config.log' for more details" "$LINENO" 5; }
4257
4407
    fi
4258
4408
  fi
4259
4409
fi
4264
4414
ac_clean_files=$ac_clean_files_save
4265
4415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4266
4416
$as_echo_n "checking for suffix of object files... " >&6; }
4267
 
if test "${ac_cv_objext+set}" = set; then :
 
4417
if ${ac_cv_objext+:} false; then :
4268
4418
  $as_echo_n "(cached) " >&6
4269
4419
else
4270
4420
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305
4455
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4306
4456
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4307
4457
as_fn_error $? "cannot compute suffix of object files: cannot compile
4308
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4458
See \`config.log' for more details" "$LINENO" 5; }
4309
4459
fi
4310
4460
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4311
4461
fi
4315
4465
ac_objext=$OBJEXT
4316
4466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4317
4467
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4318
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4468
if ${ac_cv_c_compiler_gnu+:} false; then :
4319
4469
  $as_echo_n "(cached) " >&6
4320
4470
else
4321
4471
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352
4502
ac_save_CFLAGS=$CFLAGS
4353
4503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4354
4504
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4355
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4505
if ${ac_cv_prog_cc_g+:} false; then :
4356
4506
  $as_echo_n "(cached) " >&6
4357
4507
else
4358
4508
  ac_save_c_werror_flag=$ac_c_werror_flag
4430
4580
fi
4431
4581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4432
4582
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4433
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4583
if ${ac_cv_prog_cc_c89+:} false; then :
4434
4584
  $as_echo_n "(cached) " >&6
4435
4585
else
4436
4586
  ac_cv_prog_cc_c89=no
4591
4741
 
4592
4742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4593
4743
$as_echo_n "checking dependency style of $depcc... " >&6; }
4594
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4744
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4595
4745
  $as_echo_n "(cached) " >&6
4596
4746
else
4597
4747
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4726
4876
  CPP=
4727
4877
fi
4728
4878
if test -z "$CPP"; then
4729
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4879
  if ${ac_cv_prog_CPP+:} false; then :
4730
4880
  $as_echo_n "(cached) " >&6
4731
4881
else
4732
4882
      # Double quotes because CPP needs to be expanded
4842
4992
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4843
4993
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4844
4994
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4845
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4995
See \`config.log' for more details" "$LINENO" 5; }
4846
4996
fi
4847
4997
 
4848
4998
ac_ext=c
4864
5014
 
4865
5015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4866
5016
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4867
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5017
if ${ac_cv_path_SED+:} false; then :
4868
5018
  $as_echo_n "(cached) " >&6
4869
5019
else
4870
5020
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4932
5082
  rm -f conftest.sed
4933
5083
 
4934
5084
 
 
5085
if test "$need_vala" = "yes"; then
 
5086
  # Extract the first word of "valac", so it can be a program name with args.
 
5087
set dummy valac; ac_word=$2
 
5088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5089
$as_echo_n "checking for $ac_word... " >&6; }
 
5090
if ${ac_cv_path_VALAC+:} false; then :
 
5091
  $as_echo_n "(cached) " >&6
 
5092
else
 
5093
  case $VALAC in
 
5094
  [\\/]* | ?:[\\/]*)
 
5095
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
 
5096
  ;;
 
5097
  *)
 
5098
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5099
for as_dir in $PATH
 
5100
do
 
5101
  IFS=$as_save_IFS
 
5102
  test -z "$as_dir" && as_dir=.
 
5103
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5105
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
 
5106
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5107
    break 2
 
5108
  fi
 
5109
done
 
5110
  done
 
5111
IFS=$as_save_IFS
 
5112
 
 
5113
  ;;
 
5114
esac
 
5115
fi
 
5116
VALAC=$ac_cv_path_VALAC
 
5117
if test -n "$VALAC"; then
 
5118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
 
5119
$as_echo "$VALAC" >&6; }
 
5120
else
 
5121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5122
$as_echo "no" >&6; }
 
5123
fi
 
5124
 
 
5125
 
 
5126
 if test -z "$VALAC"; then :
 
5127
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
 
5128
$as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
 
5129
else
 
5130
  if test -n "0.11.6"; then :
 
5131
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.11.6" >&5
 
5132
$as_echo_n "checking $VALAC is at least version 0.11.6... " >&6; }
 
5133
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
 
5134
       as_arg_v1=0.11.6
 
5135
as_arg_v2="$am__vala_version"
 
5136
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
 
5137
case $? in #(
 
5138
  1) :
 
5139
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5140
$as_echo "yes" >&6; } ;; #(
 
5141
  0) :
 
5142
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5143
$as_echo "yes" >&6; } ;; #(
 
5144
  2) :
 
5145
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5146
$as_echo "no" >&6; }
 
5147
          as_fn_error $? "Vala 0.11.6 not found." "$LINENO" 5 ;; #(
 
5148
  *) :
 
5149
     ;;
 
5150
esac
 
5151
fi
 
5152
fi
 
5153
 
 
5154
fi
 
5155
 
4935
5156
if test "$need_cxx" = "yes"; then
4936
5157
  ac_ext=cpp
4937
5158
ac_cpp='$CXXCPP $CPPFLAGS'
4949
5170
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4950
5171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951
5172
$as_echo_n "checking for $ac_word... " >&6; }
4952
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
5173
if ${ac_cv_prog_CXX+:} false; then :
4953
5174
  $as_echo_n "(cached) " >&6
4954
5175
else
4955
5176
  if test -n "$CXX"; then
4993
5214
set dummy $ac_prog; ac_word=$2
4994
5215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995
5216
$as_echo_n "checking for $ac_word... " >&6; }
4996
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
5217
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4997
5218
  $as_echo_n "(cached) " >&6
4998
5219
else
4999
5220
  if test -n "$ac_ct_CXX"; then
5071
5292
 
5072
5293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5073
5294
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5074
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
5295
if ${ac_cv_cxx_compiler_gnu+:} false; then :
5075
5296
  $as_echo_n "(cached) " >&6
5076
5297
else
5077
5298
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5108
5329
ac_save_CXXFLAGS=$CXXFLAGS
5109
5330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5110
5331
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5111
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
5332
if ${ac_cv_prog_cxx_g+:} false; then :
5112
5333
  $as_echo_n "(cached) " >&6
5113
5334
else
5114
5335
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5194
5415
 
5195
5416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5196
5417
$as_echo_n "checking dependency style of $depcc... " >&6; }
5197
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
5418
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5198
5419
  $as_echo_n "(cached) " >&6
5199
5420
else
5200
5421
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5361
5582
fi
5362
5583
set dummy $CC; ac_cc=`$as_echo "$2" |
5363
5584
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5364
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
5585
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5365
5586
  $as_echo_n "(cached) " >&6
5366
5587
else
5367
5588
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5487
5708
 
5488
5709
 
5489
5710
 
5490
 
macro_version='2.2.10'
5491
 
macro_revision='1.3175'
 
5711
macro_version='2.4'
 
5712
macro_revision='1.3293'
5492
5713
 
5493
5714
 
5494
5715
 
5510
5731
 
5511
5732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5512
5733
$as_echo_n "checking build system type... " >&6; }
5513
 
if test "${ac_cv_build+set}" = set; then :
 
5734
if ${ac_cv_build+:} false; then :
5514
5735
  $as_echo_n "(cached) " >&6
5515
5736
else
5516
5737
  ac_build_alias=$build_alias
5526
5747
$as_echo "$ac_cv_build" >&6; }
5527
5748
case $ac_cv_build in
5528
5749
*-*-*) ;;
5529
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
5750
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5530
5751
esac
5531
5752
build=$ac_cv_build
5532
5753
ac_save_IFS=$IFS; IFS='-'
5544
5765
 
5545
5766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5546
5767
$as_echo_n "checking host system type... " >&6; }
5547
 
if test "${ac_cv_host+set}" = set; then :
 
5768
if ${ac_cv_host+:} false; then :
5548
5769
  $as_echo_n "(cached) " >&6
5549
5770
else
5550
5771
  if test "x$host_alias" = x; then
5559
5780
$as_echo "$ac_cv_host" >&6; }
5560
5781
case $ac_cv_host in
5561
5782
*-*-*) ;;
5562
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
5783
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5563
5784
esac
5564
5785
host=$ac_cv_host
5565
5786
ac_save_IFS=$IFS; IFS='-'
5599
5820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5600
5821
$as_echo_n "checking how to print strings... " >&6; }
5601
5822
# Test print first, because it will be a builtin if present.
5602
 
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
5823
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5603
5824
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5604
5825
  ECHO='print -r --'
5605
5826
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5646
5867
 
5647
5868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5648
5869
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5649
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5870
if ${ac_cv_path_SED+:} false; then :
5650
5871
  $as_echo_n "(cached) " >&6
5651
5872
else
5652
5873
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5728
5949
 
5729
5950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5730
5951
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5731
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
5952
if ${ac_cv_path_GREP+:} false; then :
5732
5953
  $as_echo_n "(cached) " >&6
5733
5954
else
5734
5955
  if test -z "$GREP"; then
5791
6012
 
5792
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5793
6014
$as_echo_n "checking for egrep... " >&6; }
5794
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
6015
if ${ac_cv_path_EGREP+:} false; then :
5795
6016
  $as_echo_n "(cached) " >&6
5796
6017
else
5797
6018
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5858
6079
 
5859
6080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5860
6081
$as_echo_n "checking for fgrep... " >&6; }
5861
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
6082
if ${ac_cv_path_FGREP+:} false; then :
5862
6083
  $as_echo_n "(cached) " >&6
5863
6084
else
5864
6085
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5989
6210
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5990
6211
$as_echo_n "checking for non-GNU ld... " >&6; }
5991
6212
fi
5992
 
if test "${lt_cv_path_LD+set}" = set; then :
 
6213
if ${lt_cv_path_LD+:} false; then :
5993
6214
  $as_echo_n "(cached) " >&6
5994
6215
else
5995
6216
  if test -z "$LD"; then
6029
6250
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6030
6251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6031
6252
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6032
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
6253
if ${lt_cv_prog_gnu_ld+:} false; then :
6033
6254
  $as_echo_n "(cached) " >&6
6034
6255
else
6035
6256
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6056
6277
 
6057
6278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6058
6279
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6059
 
if test "${lt_cv_path_NM+set}" = set; then :
 
6280
if ${lt_cv_path_NM+:} false; then :
6060
6281
  $as_echo_n "(cached) " >&6
6061
6282
else
6062
6283
  if test -n "$NM"; then
6119
6340
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6120
6341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121
6342
$as_echo_n "checking for $ac_word... " >&6; }
6122
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
6343
if ${ac_cv_prog_DUMPBIN+:} false; then :
6123
6344
  $as_echo_n "(cached) " >&6
6124
6345
else
6125
6346
  if test -n "$DUMPBIN"; then
6163
6384
set dummy $ac_prog; ac_word=$2
6164
6385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165
6386
$as_echo_n "checking for $ac_word... " >&6; }
6166
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
6387
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6167
6388
  $as_echo_n "(cached) " >&6
6168
6389
else
6169
6390
  if test -n "$ac_ct_DUMPBIN"; then
6235
6456
 
6236
6457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6237
6458
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6238
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
6459
if ${lt_cv_nm_interface+:} false; then :
6239
6460
  $as_echo_n "(cached) " >&6
6240
6461
else
6241
6462
  lt_cv_nm_interface="BSD nm"
6259
6480
# find the maximum length of command line arguments
6260
6481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6261
6482
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6262
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6483
if ${lt_cv_sys_max_cmd_len+:} false; then :
6263
6484
  $as_echo_n "(cached) " >&6
6264
6485
else
6265
6486
    i=0
6404
6625
# Try some XSI features
6405
6626
xsi_shell=no
6406
6627
( _lt_dummy="a/b/c"
6407
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6408
 
      = c,a/b,, \
 
6628
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6629
      = c,a/b,b/c, \
6409
6630
    && eval 'test $(( 1 + 1 )) -eq 2 \
6410
6631
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6411
6632
  && xsi_shell=yes
6454
6675
 
6455
6676
 
6456
6677
 
 
6678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6679
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6680
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6681
  $as_echo_n "(cached) " >&6
 
6682
else
 
6683
  case $host in
 
6684
  *-*-mingw* )
 
6685
    case $build in
 
6686
      *-*-mingw* ) # actually msys
 
6687
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6688
        ;;
 
6689
      *-*-cygwin* )
 
6690
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6691
        ;;
 
6692
      * ) # otherwise, assume *nix
 
6693
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6694
        ;;
 
6695
    esac
 
6696
    ;;
 
6697
  *-*-cygwin* )
 
6698
    case $build in
 
6699
      *-*-mingw* ) # actually msys
 
6700
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6701
        ;;
 
6702
      *-*-cygwin* )
 
6703
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6704
        ;;
 
6705
      * ) # otherwise, assume *nix
 
6706
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6707
        ;;
 
6708
    esac
 
6709
    ;;
 
6710
  * ) # unhandled hosts (and "normal" native builds)
 
6711
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6712
    ;;
 
6713
esac
 
6714
 
 
6715
fi
 
6716
 
 
6717
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6719
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6720
 
 
6721
 
 
6722
 
 
6723
 
 
6724
 
 
6725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6726
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6727
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6728
  $as_echo_n "(cached) " >&6
 
6729
else
 
6730
  #assume ordinary cross tools, or native build.
 
6731
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6732
case $host in
 
6733
  *-*-mingw* )
 
6734
    case $build in
 
6735
      *-*-mingw* ) # actually msys
 
6736
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6737
        ;;
 
6738
    esac
 
6739
    ;;
 
6740
esac
 
6741
 
 
6742
fi
 
6743
 
 
6744
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6746
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6747
 
 
6748
 
 
6749
 
 
6750
 
 
6751
 
6457
6752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6458
6753
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6459
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6754
if ${lt_cv_ld_reload_flag+:} false; then :
6460
6755
  $as_echo_n "(cached) " >&6
6461
6756
else
6462
6757
  lt_cv_ld_reload_flag='-r'
6470
6765
esac
6471
6766
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6472
6767
case $host_os in
 
6768
  cygwin* | mingw* | pw32* | cegcc*)
 
6769
    if test "$GCC" != yes; then
 
6770
      reload_cmds=false
 
6771
    fi
 
6772
    ;;
6473
6773
  darwin*)
6474
6774
    if test "$GCC" = yes; then
6475
6775
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6492
6792
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6493
6793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494
6794
$as_echo_n "checking for $ac_word... " >&6; }
6495
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6795
if ${ac_cv_prog_OBJDUMP+:} false; then :
6496
6796
  $as_echo_n "(cached) " >&6
6497
6797
else
6498
6798
  if test -n "$OBJDUMP"; then
6532
6832
set dummy objdump; ac_word=$2
6533
6833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534
6834
$as_echo_n "checking for $ac_word... " >&6; }
6535
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6835
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6536
6836
  $as_echo_n "(cached) " >&6
6537
6837
else
6538
6838
  if test -n "$ac_ct_OBJDUMP"; then
6591
6891
 
6592
6892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6593
6893
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6594
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6894
if ${lt_cv_deplibs_check_method+:} false; then :
6595
6895
  $as_echo_n "(cached) " >&6
6596
6896
else
6597
6897
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6716
7016
  lt_cv_deplibs_check_method=pass_all
6717
7017
  ;;
6718
7018
 
6719
 
netbsd* | netbsdelf*-gnu)
 
7019
netbsd*)
6720
7020
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6721
7021
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6722
7022
  else
6793
7093
fi
6794
7094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6795
7095
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
7096
 
 
7097
file_magic_glob=
 
7098
want_nocaseglob=no
 
7099
if test "$build" = "$host"; then
 
7100
  case $host_os in
 
7101
  mingw* | pw32*)
 
7102
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
7103
      want_nocaseglob=yes
 
7104
    else
 
7105
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
7106
    fi
 
7107
    ;;
 
7108
  esac
 
7109
fi
 
7110
 
6796
7111
file_magic_cmd=$lt_cv_file_magic_cmd
6797
7112
deplibs_check_method=$lt_cv_deplibs_check_method
6798
7113
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6808
7123
 
6809
7124
 
6810
7125
 
6811
 
if test -n "$ac_tool_prefix"; then
6812
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6813
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6814
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815
 
$as_echo_n "checking for $ac_word... " >&6; }
6816
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
7126
 
 
7127
 
 
7128
 
 
7129
 
 
7130
 
 
7131
 
 
7132
 
 
7133
 
 
7134
 
 
7135
 
 
7136
if test -n "$ac_tool_prefix"; then
 
7137
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
7138
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7140
$as_echo_n "checking for $ac_word... " >&6; }
 
7141
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
7142
  $as_echo_n "(cached) " >&6
 
7143
else
 
7144
  if test -n "$DLLTOOL"; then
 
7145
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
7146
else
 
7147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7148
for as_dir in $PATH
 
7149
do
 
7150
  IFS=$as_save_IFS
 
7151
  test -z "$as_dir" && as_dir=.
 
7152
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7153
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7154
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
7155
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7156
    break 2
 
7157
  fi
 
7158
done
 
7159
  done
 
7160
IFS=$as_save_IFS
 
7161
 
 
7162
fi
 
7163
fi
 
7164
DLLTOOL=$ac_cv_prog_DLLTOOL
 
7165
if test -n "$DLLTOOL"; then
 
7166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7167
$as_echo "$DLLTOOL" >&6; }
 
7168
else
 
7169
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7170
$as_echo "no" >&6; }
 
7171
fi
 
7172
 
 
7173
 
 
7174
fi
 
7175
if test -z "$ac_cv_prog_DLLTOOL"; then
 
7176
  ac_ct_DLLTOOL=$DLLTOOL
 
7177
  # Extract the first word of "dlltool", so it can be a program name with args.
 
7178
set dummy dlltool; ac_word=$2
 
7179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7180
$as_echo_n "checking for $ac_word... " >&6; }
 
7181
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
7182
  $as_echo_n "(cached) " >&6
 
7183
else
 
7184
  if test -n "$ac_ct_DLLTOOL"; then
 
7185
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
7186
else
 
7187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7188
for as_dir in $PATH
 
7189
do
 
7190
  IFS=$as_save_IFS
 
7191
  test -z "$as_dir" && as_dir=.
 
7192
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7193
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7194
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
7195
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7196
    break 2
 
7197
  fi
 
7198
done
 
7199
  done
 
7200
IFS=$as_save_IFS
 
7201
 
 
7202
fi
 
7203
fi
 
7204
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
7205
if test -n "$ac_ct_DLLTOOL"; then
 
7206
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
7207
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
7208
else
 
7209
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7210
$as_echo "no" >&6; }
 
7211
fi
 
7212
 
 
7213
  if test "x$ac_ct_DLLTOOL" = x; then
 
7214
    DLLTOOL="false"
 
7215
  else
 
7216
    case $cross_compiling:$ac_tool_warned in
 
7217
yes:)
 
7218
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7219
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7220
ac_tool_warned=yes ;;
 
7221
esac
 
7222
    DLLTOOL=$ac_ct_DLLTOOL
 
7223
  fi
 
7224
else
 
7225
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7226
fi
 
7227
 
 
7228
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7229
 
 
7230
 
 
7231
 
 
7232
 
 
7233
 
 
7234
 
 
7235
 
 
7236
 
 
7237
 
 
7238
 
 
7239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
7240
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
7241
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
7242
  $as_echo_n "(cached) " >&6
 
7243
else
 
7244
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
7245
 
 
7246
case $host_os in
 
7247
cygwin* | mingw* | pw32* | cegcc*)
 
7248
  # two different shell functions defined in ltmain.sh
 
7249
  # decide which to use based on capabilities of $DLLTOOL
 
7250
  case `$DLLTOOL --help 2>&1` in
 
7251
  *--identify-strict*)
 
7252
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
7253
    ;;
 
7254
  *)
 
7255
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
7256
    ;;
 
7257
  esac
 
7258
  ;;
 
7259
*)
 
7260
  # fallback: assume linklib IS sharedlib
 
7261
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7262
  ;;
 
7263
esac
 
7264
 
 
7265
fi
 
7266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
7267
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
7268
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
7269
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
7270
 
 
7271
 
 
7272
 
 
7273
 
 
7274
 
 
7275
 
 
7276
 
 
7277
 
 
7278
if test -n "$ac_tool_prefix"; then
 
7279
  for ac_prog in ar
 
7280
  do
 
7281
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7282
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7284
$as_echo_n "checking for $ac_word... " >&6; }
 
7285
if ${ac_cv_prog_AR+:} false; then :
6817
7286
  $as_echo_n "(cached) " >&6
6818
7287
else
6819
7288
  if test -n "$AR"; then
6826
7295
  test -z "$as_dir" && as_dir=.
6827
7296
    for ac_exec_ext in '' $ac_executable_extensions; do
6828
7297
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6829
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
7298
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6830
7299
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6831
7300
    break 2
6832
7301
  fi
6846
7315
fi
6847
7316
 
6848
7317
 
 
7318
    test -n "$AR" && break
 
7319
  done
6849
7320
fi
6850
 
if test -z "$ac_cv_prog_AR"; then
 
7321
if test -z "$AR"; then
6851
7322
  ac_ct_AR=$AR
6852
 
  # Extract the first word of "ar", so it can be a program name with args.
6853
 
set dummy ar; ac_word=$2
 
7323
  for ac_prog in ar
 
7324
do
 
7325
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7326
set dummy $ac_prog; ac_word=$2
6854
7327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855
7328
$as_echo_n "checking for $ac_word... " >&6; }
6856
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
7329
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6857
7330
  $as_echo_n "(cached) " >&6
6858
7331
else
6859
7332
  if test -n "$ac_ct_AR"; then
6866
7339
  test -z "$as_dir" && as_dir=.
6867
7340
    for ac_exec_ext in '' $ac_executable_extensions; do
6868
7341
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869
 
    ac_cv_prog_ac_ct_AR="ar"
 
7342
    ac_cv_prog_ac_ct_AR="$ac_prog"
6870
7343
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871
7344
    break 2
6872
7345
  fi
6885
7358
$as_echo "no" >&6; }
6886
7359
fi
6887
7360
 
 
7361
 
 
7362
  test -n "$ac_ct_AR" && break
 
7363
done
 
7364
 
6888
7365
  if test "x$ac_ct_AR" = x; then
6889
7366
    AR="false"
6890
7367
  else
6896
7373
esac
6897
7374
    AR=$ac_ct_AR
6898
7375
  fi
6899
 
else
6900
 
  AR="$ac_cv_prog_AR"
6901
 
fi
6902
 
 
6903
 
test -z "$AR" && AR=ar
6904
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6905
 
 
6906
 
 
6907
 
 
6908
 
 
 
7376
fi
 
7377
 
 
7378
: ${AR=ar}
 
7379
: ${AR_FLAGS=cru}
 
7380
 
 
7381
 
 
7382
 
 
7383
 
 
7384
 
 
7385
 
 
7386
 
 
7387
 
 
7388
 
 
7389
 
 
7390
 
 
7391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
7392
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
7393
if ${lt_cv_ar_at_file+:} false; then :
 
7394
  $as_echo_n "(cached) " >&6
 
7395
else
 
7396
  lt_cv_ar_at_file=no
 
7397
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7398
/* end confdefs.h.  */
 
7399
 
 
7400
int
 
7401
main ()
 
7402
{
 
7403
 
 
7404
  ;
 
7405
  return 0;
 
7406
}
 
7407
_ACEOF
 
7408
if ac_fn_c_try_compile "$LINENO"; then :
 
7409
  echo conftest.$ac_objext > conftest.lst
 
7410
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
7411
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7412
  (eval $lt_ar_try) 2>&5
 
7413
  ac_status=$?
 
7414
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7415
  test $ac_status = 0; }
 
7416
      if test "$ac_status" -eq 0; then
 
7417
        # Ensure the archiver fails upon bogus file names.
 
7418
        rm -f conftest.$ac_objext libconftest.a
 
7419
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7420
  (eval $lt_ar_try) 2>&5
 
7421
  ac_status=$?
 
7422
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7423
  test $ac_status = 0; }
 
7424
        if test "$ac_status" -ne 0; then
 
7425
          lt_cv_ar_at_file=@
 
7426
        fi
 
7427
      fi
 
7428
      rm -f conftest.* libconftest.a
 
7429
 
 
7430
fi
 
7431
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7432
 
 
7433
fi
 
7434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
7435
$as_echo "$lt_cv_ar_at_file" >&6; }
 
7436
 
 
7437
if test "x$lt_cv_ar_at_file" = xno; then
 
7438
  archiver_list_spec=
 
7439
else
 
7440
  archiver_list_spec=$lt_cv_ar_at_file
 
7441
fi
6909
7442
 
6910
7443
 
6911
7444
 
6918
7451
set dummy ${ac_tool_prefix}strip; ac_word=$2
6919
7452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6920
7453
$as_echo_n "checking for $ac_word... " >&6; }
6921
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
7454
if ${ac_cv_prog_STRIP+:} false; then :
6922
7455
  $as_echo_n "(cached) " >&6
6923
7456
else
6924
7457
  if test -n "$STRIP"; then
6958
7491
set dummy strip; ac_word=$2
6959
7492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960
7493
$as_echo_n "checking for $ac_word... " >&6; }
6961
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
7494
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6962
7495
  $as_echo_n "(cached) " >&6
6963
7496
else
6964
7497
  if test -n "$ac_ct_STRIP"; then
7017
7550
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7018
7551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019
7552
$as_echo_n "checking for $ac_word... " >&6; }
7020
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
7553
if ${ac_cv_prog_RANLIB+:} false; then :
7021
7554
  $as_echo_n "(cached) " >&6
7022
7555
else
7023
7556
  if test -n "$RANLIB"; then
7057
7590
set dummy ranlib; ac_word=$2
7058
7591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059
7592
$as_echo_n "checking for $ac_word... " >&6; }
7060
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
7593
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7061
7594
  $as_echo_n "(cached) " >&6
7062
7595
else
7063
7596
  if test -n "$ac_ct_RANLIB"; then
7186
7719
# Check for command to grab the raw symbol name followed by C symbol from nm.
7187
7720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7188
7721
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7189
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7722
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7190
7723
  $as_echo_n "(cached) " >&6
7191
7724
else
7192
7725
 
7247
7780
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7248
7781
 
7249
7782
# Transform an extracted symbol line into symbol name and symbol address
7250
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7251
 
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'"
 
7783
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7784
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'"
7252
7785
 
7253
7786
# Handle CRLF in mingw tool chain
7254
7787
opt_cr=
7284
7817
  else
7285
7818
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7286
7819
  fi
 
7820
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7287
7821
 
7288
7822
  # Check to see that the pipe works correctly.
7289
7823
  pipe_works=no
7325
7859
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7326
7860
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7327
7861
          cat <<_LT_EOF > conftest.$ac_ext
 
7862
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7863
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7864
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7865
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7866
# define LT_DLSYM_CONST
 
7867
#elif defined(__osf__)
 
7868
/* This system does not cope well with relocations in const data.  */
 
7869
# define LT_DLSYM_CONST
 
7870
#else
 
7871
# define LT_DLSYM_CONST const
 
7872
#endif
 
7873
 
7328
7874
#ifdef __cplusplus
7329
7875
extern "C" {
7330
7876
#endif
7336
7882
          cat <<_LT_EOF >> conftest.$ac_ext
7337
7883
 
7338
7884
/* The mapping between symbol names and symbols.  */
7339
 
const struct {
 
7885
LT_DLSYM_CONST struct {
7340
7886
  const char *name;
7341
7887
  void       *address;
7342
7888
}
7362
7908
_LT_EOF
7363
7909
          # Now try linking the two files.
7364
7910
          mv conftest.$ac_objext conftstm.$ac_objext
7365
 
          lt_save_LIBS="$LIBS"
7366
 
          lt_save_CFLAGS="$CFLAGS"
 
7911
          lt_globsym_save_LIBS=$LIBS
 
7912
          lt_globsym_save_CFLAGS=$CFLAGS
7367
7913
          LIBS="conftstm.$ac_objext"
7368
7914
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7369
7915
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7373
7919
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7374
7920
            pipe_works=yes
7375
7921
          fi
7376
 
          LIBS="$lt_save_LIBS"
7377
 
          CFLAGS="$lt_save_CFLAGS"
 
7922
          LIBS=$lt_globsym_save_LIBS
 
7923
          CFLAGS=$lt_globsym_save_CFLAGS
7378
7924
        else
7379
7925
          echo "cannot find nm_test_func in $nlist" >&5
7380
7926
        fi
7411
7957
$as_echo "ok" >&6; }
7412
7958
fi
7413
7959
 
7414
 
 
7415
 
 
7416
 
 
7417
 
 
7418
 
 
7419
 
 
7420
 
 
7421
 
 
7422
 
 
7423
 
 
7424
 
 
7425
 
 
7426
 
 
7427
 
 
7428
 
 
7429
 
 
7430
 
 
 
7960
# Response file support.
 
7961
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7962
  nm_file_list_spec='@'
 
7963
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7964
  nm_file_list_spec='@'
 
7965
fi
 
7966
 
 
7967
 
 
7968
 
 
7969
 
 
7970
 
 
7971
 
 
7972
 
 
7973
 
 
7974
 
 
7975
 
 
7976
 
 
7977
 
 
7978
 
 
7979
 
 
7980
 
 
7981
 
 
7982
 
 
7983
 
 
7984
 
 
7985
 
 
7986
 
 
7987
 
 
7988
 
 
7989
 
 
7990
 
 
7991
 
 
7992
 
 
7993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7994
$as_echo_n "checking for sysroot... " >&6; }
 
7995
 
 
7996
# Check whether --with-sysroot was given.
 
7997
if test "${with_sysroot+set}" = set; then :
 
7998
  withval=$with_sysroot;
 
7999
else
 
8000
  with_sysroot=no
 
8001
fi
 
8002
 
 
8003
 
 
8004
lt_sysroot=
 
8005
case ${with_sysroot} in #(
 
8006
 yes)
 
8007
   if test "$GCC" = yes; then
 
8008
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
8009
   fi
 
8010
   ;; #(
 
8011
 /*)
 
8012
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
8013
   ;; #(
 
8014
 no|'')
 
8015
   ;; #(
 
8016
 *)
 
8017
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
8018
$as_echo "${with_sysroot}" >&6; }
 
8019
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
8020
   ;;
 
8021
esac
 
8022
 
 
8023
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
8024
$as_echo "${lt_sysroot:-no}" >&6; }
7431
8025
 
7432
8026
 
7433
8027
 
7558
8152
  CFLAGS="$CFLAGS -belf"
7559
8153
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7560
8154
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7561
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
8155
if ${lt_cv_cc_needs_belf+:} false; then :
7562
8156
  $as_echo_n "(cached) " >&6
7563
8157
else
7564
8158
  ac_ext=c
7626
8220
 
7627
8221
need_locks="$enable_libtool_lock"
7628
8222
 
 
8223
if test -n "$ac_tool_prefix"; then
 
8224
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
8225
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
8226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8227
$as_echo_n "checking for $ac_word... " >&6; }
 
8228
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
8229
  $as_echo_n "(cached) " >&6
 
8230
else
 
8231
  if test -n "$MANIFEST_TOOL"; then
 
8232
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
8233
else
 
8234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8235
for as_dir in $PATH
 
8236
do
 
8237
  IFS=$as_save_IFS
 
8238
  test -z "$as_dir" && as_dir=.
 
8239
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8240
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8241
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
8242
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8243
    break 2
 
8244
  fi
 
8245
done
 
8246
  done
 
8247
IFS=$as_save_IFS
 
8248
 
 
8249
fi
 
8250
fi
 
8251
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
8252
if test -n "$MANIFEST_TOOL"; then
 
8253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
8254
$as_echo "$MANIFEST_TOOL" >&6; }
 
8255
else
 
8256
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8257
$as_echo "no" >&6; }
 
8258
fi
 
8259
 
 
8260
 
 
8261
fi
 
8262
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
8263
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
8264
  # Extract the first word of "mt", so it can be a program name with args.
 
8265
set dummy mt; ac_word=$2
 
8266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8267
$as_echo_n "checking for $ac_word... " >&6; }
 
8268
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
8269
  $as_echo_n "(cached) " >&6
 
8270
else
 
8271
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8272
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
8273
else
 
8274
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8275
for as_dir in $PATH
 
8276
do
 
8277
  IFS=$as_save_IFS
 
8278
  test -z "$as_dir" && as_dir=.
 
8279
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8280
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8281
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
8282
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8283
    break 2
 
8284
  fi
 
8285
done
 
8286
  done
 
8287
IFS=$as_save_IFS
 
8288
 
 
8289
fi
 
8290
fi
 
8291
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
8292
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8293
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
8294
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
8295
else
 
8296
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8297
$as_echo "no" >&6; }
 
8298
fi
 
8299
 
 
8300
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
8301
    MANIFEST_TOOL=":"
 
8302
  else
 
8303
    case $cross_compiling:$ac_tool_warned in
 
8304
yes:)
 
8305
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8306
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8307
ac_tool_warned=yes ;;
 
8308
esac
 
8309
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
8310
  fi
 
8311
else
 
8312
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
8313
fi
 
8314
 
 
8315
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
8316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
8317
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
8318
if ${lt_cv_path_mainfest_tool+:} false; then :
 
8319
  $as_echo_n "(cached) " >&6
 
8320
else
 
8321
  lt_cv_path_mainfest_tool=no
 
8322
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
8323
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
8324
  cat conftest.err >&5
 
8325
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
8326
    lt_cv_path_mainfest_tool=yes
 
8327
  fi
 
8328
  rm -f conftest*
 
8329
fi
 
8330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
8331
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
8332
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
8333
  MANIFEST_TOOL=:
 
8334
fi
 
8335
 
 
8336
 
 
8337
 
 
8338
 
 
8339
 
7629
8340
 
7630
8341
  case $host_os in
7631
8342
    rhapsody* | darwin*)
7634
8345
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7635
8346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7636
8347
$as_echo_n "checking for $ac_word... " >&6; }
7637
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
8348
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7638
8349
  $as_echo_n "(cached) " >&6
7639
8350
else
7640
8351
  if test -n "$DSYMUTIL"; then
7674
8385
set dummy dsymutil; ac_word=$2
7675
8386
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7676
8387
$as_echo_n "checking for $ac_word... " >&6; }
7677
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
8388
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7678
8389
  $as_echo_n "(cached) " >&6
7679
8390
else
7680
8391
  if test -n "$ac_ct_DSYMUTIL"; then
7726
8437
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7727
8438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7728
8439
$as_echo_n "checking for $ac_word... " >&6; }
7729
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
8440
if ${ac_cv_prog_NMEDIT+:} false; then :
7730
8441
  $as_echo_n "(cached) " >&6
7731
8442
else
7732
8443
  if test -n "$NMEDIT"; then
7766
8477
set dummy nmedit; ac_word=$2
7767
8478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7768
8479
$as_echo_n "checking for $ac_word... " >&6; }
7769
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
8480
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7770
8481
  $as_echo_n "(cached) " >&6
7771
8482
else
7772
8483
  if test -n "$ac_ct_NMEDIT"; then
7818
8529
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7819
8530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7820
8531
$as_echo_n "checking for $ac_word... " >&6; }
7821
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8532
if ${ac_cv_prog_LIPO+:} false; then :
7822
8533
  $as_echo_n "(cached) " >&6
7823
8534
else
7824
8535
  if test -n "$LIPO"; then
7858
8569
set dummy lipo; ac_word=$2
7859
8570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7860
8571
$as_echo_n "checking for $ac_word... " >&6; }
7861
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
8572
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7862
8573
  $as_echo_n "(cached) " >&6
7863
8574
else
7864
8575
  if test -n "$ac_ct_LIPO"; then
7910
8621
set dummy ${ac_tool_prefix}otool; ac_word=$2
7911
8622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912
8623
$as_echo_n "checking for $ac_word... " >&6; }
7913
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
8624
if ${ac_cv_prog_OTOOL+:} false; then :
7914
8625
  $as_echo_n "(cached) " >&6
7915
8626
else
7916
8627
  if test -n "$OTOOL"; then
7950
8661
set dummy otool; ac_word=$2
7951
8662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7952
8663
$as_echo_n "checking for $ac_word... " >&6; }
7953
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
8664
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7954
8665
  $as_echo_n "(cached) " >&6
7955
8666
else
7956
8667
  if test -n "$ac_ct_OTOOL"; then
8002
8713
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8003
8714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8004
8715
$as_echo_n "checking for $ac_word... " >&6; }
8005
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
8716
if ${ac_cv_prog_OTOOL64+:} false; then :
8006
8717
  $as_echo_n "(cached) " >&6
8007
8718
else
8008
8719
  if test -n "$OTOOL64"; then
8042
8753
set dummy otool64; ac_word=$2
8043
8754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044
8755
$as_echo_n "checking for $ac_word... " >&6; }
8045
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
8756
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8046
8757
  $as_echo_n "(cached) " >&6
8047
8758
else
8048
8759
  if test -n "$ac_ct_OTOOL64"; then
8117
8828
 
8118
8829
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8119
8830
$as_echo_n "checking for -single_module linker flag... " >&6; }
8120
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8831
if ${lt_cv_apple_cc_single_mod+:} false; then :
8121
8832
  $as_echo_n "(cached) " >&6
8122
8833
else
8123
8834
  lt_cv_apple_cc_single_mod=no
8146
8857
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8147
8858
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8148
8859
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8149
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8860
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8150
8861
  $as_echo_n "(cached) " >&6
8151
8862
else
8152
8863
  lt_cv_ld_exported_symbols_list=no
8178
8889
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8179
8890
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8180
8891
$as_echo_n "checking for -force_load linker flag... " >&6; }
8181
 
if test "${lt_cv_ld_force_load+set}" = set; then :
 
8892
if ${lt_cv_ld_force_load+:} false; then :
8182
8893
  $as_echo_n "(cached) " >&6
8183
8894
else
8184
8895
  lt_cv_ld_force_load=no
8246
8957
 
8247
8958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8248
8959
$as_echo_n "checking for ANSI C header files... " >&6; }
8249
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
8960
if ${ac_cv_header_stdc+:} false; then :
8250
8961
  $as_echo_n "(cached) " >&6
8251
8962
else
8252
8963
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377
9088
do :
8378
9089
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8379
9090
"
8380
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
9091
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8381
9092
  cat >>confdefs.h <<_ACEOF
8382
9093
#define HAVE_DLFCN_H 1
8383
9094
_ACEOF
8388
9099
 
8389
9100
 
8390
9101
 
 
9102
func_stripname_cnf ()
 
9103
{
 
9104
  case ${2} in
 
9105
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
9106
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
9107
  esac
 
9108
} # func_stripname_cnf
 
9109
 
 
9110
 
 
9111
 
8391
9112
 
8392
9113
 
8393
9114
# Set options
8564
9285
 
8565
9286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8566
9287
$as_echo_n "checking for objdir... " >&6; }
8567
 
if test "${lt_cv_objdir+set}" = set; then :
 
9288
if ${lt_cv_objdir+:} false; then :
8568
9289
  $as_echo_n "(cached) " >&6
8569
9290
else
8570
9291
  rm -f .libs 2>/dev/null
8642
9363
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8643
9364
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8644
9365
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8645
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9366
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8646
9367
  $as_echo_n "(cached) " >&6
8647
9368
else
8648
9369
  case $MAGIC_CMD in
8708
9429
  if test -n "$ac_tool_prefix"; then
8709
9430
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8710
9431
$as_echo_n "checking for file... " >&6; }
8711
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9432
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8712
9433
  $as_echo_n "(cached) " >&6
8713
9434
else
8714
9435
  case $MAGIC_CMD in
8850
9571
 
8851
9572
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8852
9573
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8853
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9574
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8854
9575
  $as_echo_n "(cached) " >&6
8855
9576
else
8856
9577
  lt_cv_prog_compiler_rtti_exceptions=no
8903
9624
lt_prog_compiler_pic=
8904
9625
lt_prog_compiler_static=
8905
9626
 
8906
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8907
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8908
9627
 
8909
9628
  if test "$GCC" = yes; then
8910
9629
    lt_prog_compiler_wl='-Wl,'
9069
9788
        lt_prog_compiler_pic='--shared'
9070
9789
        lt_prog_compiler_static='--static'
9071
9790
        ;;
 
9791
      nagfor*)
 
9792
        # NAG Fortran compiler
 
9793
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9794
        lt_prog_compiler_pic='-PIC'
 
9795
        lt_prog_compiler_static='-Bstatic'
 
9796
        ;;
9072
9797
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9073
9798
        # Portland Group compilers (*not* the Pentium gcc compiler,
9074
9799
        # which looks to be a dead project)
9188
9913
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9189
9914
    ;;
9190
9915
esac
9191
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9192
 
$as_echo "$lt_prog_compiler_pic" >&6; }
9193
 
 
9194
 
 
9195
 
 
9196
 
 
9197
 
 
 
9916
 
 
9917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9918
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9919
if ${lt_cv_prog_compiler_pic+:} false; then :
 
9920
  $as_echo_n "(cached) " >&6
 
9921
else
 
9922
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9923
fi
 
9924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9925
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9926
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9198
9927
 
9199
9928
#
9200
9929
# Check to make sure the PIC flag actually works.
9202
9931
if test -n "$lt_prog_compiler_pic"; then
9203
9932
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9204
9933
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9205
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9934
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9206
9935
  $as_echo_n "(cached) " >&6
9207
9936
else
9208
9937
  lt_cv_prog_compiler_pic_works=no
9255
9984
 
9256
9985
 
9257
9986
 
 
9987
 
 
9988
 
 
9989
 
 
9990
 
 
9991
 
9258
9992
#
9259
9993
# Check to make sure the static flag actually works.
9260
9994
#
9261
9995
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9262
9996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9263
9997
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9264
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9998
if ${lt_cv_prog_compiler_static_works+:} false; then :
9265
9999
  $as_echo_n "(cached) " >&6
9266
10000
else
9267
10001
  lt_cv_prog_compiler_static_works=no
9304
10038
 
9305
10039
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9306
10040
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9307
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10041
if ${lt_cv_prog_compiler_c_o+:} false; then :
9308
10042
  $as_echo_n "(cached) " >&6
9309
10043
else
9310
10044
  lt_cv_prog_compiler_c_o=no
9359
10093
 
9360
10094
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9361
10095
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9362
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10096
if ${lt_cv_prog_compiler_c_o+:} false; then :
9363
10097
  $as_echo_n "(cached) " >&6
9364
10098
else
9365
10099
  lt_cv_prog_compiler_c_o=no
9497
10231
  openbsd*)
9498
10232
    with_gnu_ld=no
9499
10233
    ;;
9500
 
  linux* | k*bsd*-gnu)
9501
 
    link_all_deplibs=no
9502
 
    ;;
9503
10234
  esac
9504
10235
 
9505
10236
  ld_shlibs=yes
9608
10339
      allow_undefined_flag=unsupported
9609
10340
      always_export_symbols=no
9610
10341
      enable_shared_with_static_runtimes=yes
9611
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10342
      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'
 
10343
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9612
10344
 
9613
10345
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9614
10346
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9656
10388
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9657
10389
         && test "$tmp_diet" = no
9658
10390
      then
9659
 
        tmp_addflag=
 
10391
        tmp_addflag=' $pic_flag'
9660
10392
        tmp_sharedflag='-shared'
9661
10393
        case $cc_basename,$host_cpu in
9662
10394
        pgcc*)                          # Portland Group C compiler
9721
10453
      fi
9722
10454
      ;;
9723
10455
 
9724
 
    netbsd* | netbsdelf*-gnu)
 
10456
    netbsd*)
9725
10457
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9726
10458
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9727
10459
        wlarc=
9728
10460
      else
9729
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10461
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10462
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9731
10463
      fi
9732
10464
      ;;
9733
10465
 
9745
10477
 
9746
10478
_LT_EOF
9747
10479
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9748
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9749
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10480
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10481
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9750
10482
      else
9751
10483
        ld_shlibs=no
9752
10484
      fi
9792
10524
 
9793
10525
    *)
9794
10526
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9795
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9796
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10527
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10528
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9797
10529
      else
9798
10530
        ld_shlibs=no
9799
10531
      fi
9898
10630
        if test "$aix_use_runtimelinking" = yes; then
9899
10631
          shared_flag="$shared_flag "'${wl}-G'
9900
10632
        fi
9901
 
        link_all_deplibs=no
9902
10633
      else
9903
10634
        # not using gcc
9904
10635
        if test "$host_cpu" = ia64; then
9924
10655
        allow_undefined_flag='-berok'
9925
10656
        # Determine the default libpath from the value encoded in an
9926
10657
        # empty executable.
9927
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10658
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10659
  aix_libpath=$lt_cv_aix_libpath
 
10660
else
 
10661
  if ${lt_cv_aix_libpath_+:} false; then :
 
10662
  $as_echo_n "(cached) " >&6
 
10663
else
 
10664
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928
10665
/* end confdefs.h.  */
9929
10666
 
9930
10667
int
9937
10674
_ACEOF
9938
10675
if ac_fn_c_try_link "$LINENO"; then :
9939
10676
 
9940
 
lt_aix_libpath_sed='
9941
 
    /Import File Strings/,/^$/ {
9942
 
        /^0/ {
9943
 
            s/^0  *\(.*\)$/\1/
9944
 
            p
9945
 
        }
9946
 
    }'
9947
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9948
 
# Check for a 64-bit object if we didn't find anything.
9949
 
if test -z "$aix_libpath"; then
9950
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9951
 
fi
 
10677
  lt_aix_libpath_sed='
 
10678
      /Import File Strings/,/^$/ {
 
10679
          /^0/ {
 
10680
              s/^0  *\([^ ]*\) *$/\1/
 
10681
              p
 
10682
          }
 
10683
      }'
 
10684
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10685
  # Check for a 64-bit object if we didn't find anything.
 
10686
  if test -z "$lt_cv_aix_libpath_"; then
 
10687
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10688
  fi
9952
10689
fi
9953
10690
rm -f core conftest.err conftest.$ac_objext \
9954
10691
    conftest$ac_exeext conftest.$ac_ext
9955
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10692
  if test -z "$lt_cv_aix_libpath_"; then
 
10693
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10694
  fi
 
10695
 
 
10696
fi
 
10697
 
 
10698
  aix_libpath=$lt_cv_aix_libpath_
 
10699
fi
9956
10700
 
9957
10701
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9958
10702
        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"
9964
10708
        else
9965
10709
         # Determine the default libpath from the value encoded in an
9966
10710
         # empty executable.
9967
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10711
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10712
  aix_libpath=$lt_cv_aix_libpath
 
10713
else
 
10714
  if ${lt_cv_aix_libpath_+:} false; then :
 
10715
  $as_echo_n "(cached) " >&6
 
10716
else
 
10717
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968
10718
/* end confdefs.h.  */
9969
10719
 
9970
10720
int
9977
10727
_ACEOF
9978
10728
if ac_fn_c_try_link "$LINENO"; then :
9979
10729
 
9980
 
lt_aix_libpath_sed='
9981
 
    /Import File Strings/,/^$/ {
9982
 
        /^0/ {
9983
 
            s/^0  *\(.*\)$/\1/
9984
 
            p
9985
 
        }
9986
 
    }'
9987
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9988
 
# Check for a 64-bit object if we didn't find anything.
9989
 
if test -z "$aix_libpath"; then
9990
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9991
 
fi
 
10730
  lt_aix_libpath_sed='
 
10731
      /Import File Strings/,/^$/ {
 
10732
          /^0/ {
 
10733
              s/^0  *\([^ ]*\) *$/\1/
 
10734
              p
 
10735
          }
 
10736
      }'
 
10737
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10738
  # Check for a 64-bit object if we didn't find anything.
 
10739
  if test -z "$lt_cv_aix_libpath_"; then
 
10740
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10741
  fi
9992
10742
fi
9993
10743
rm -f core conftest.err conftest.$ac_objext \
9994
10744
    conftest$ac_exeext conftest.$ac_ext
9995
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10745
  if test -z "$lt_cv_aix_libpath_"; then
 
10746
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10747
  fi
 
10748
 
 
10749
fi
 
10750
 
 
10751
  aix_libpath=$lt_cv_aix_libpath_
 
10752
fi
9996
10753
 
9997
10754
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9998
10755
          # Warning - without using the other run time loading flags,
10037
10794
      # Microsoft Visual C++.
10038
10795
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10039
10796
      # no search path for DLLs.
10040
 
      hardcode_libdir_flag_spec=' '
10041
 
      allow_undefined_flag=unsupported
10042
 
      # Tell ltmain to make .lib files, not .a files.
10043
 
      libext=lib
10044
 
      # Tell ltmain to make .dll files, not .so files.
10045
 
      shrext_cmds=".dll"
10046
 
      # FIXME: Setting linknames here is a bad hack.
10047
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10048
 
      # The linker will automatically build a .lib file if we build a DLL.
10049
 
      old_archive_from_new_cmds='true'
10050
 
      # FIXME: Should let the user specify the lib program.
10051
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10052
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10053
 
      enable_shared_with_static_runtimes=yes
 
10797
      case $cc_basename in
 
10798
      cl*)
 
10799
        # Native MSVC
 
10800
        hardcode_libdir_flag_spec=' '
 
10801
        allow_undefined_flag=unsupported
 
10802
        always_export_symbols=yes
 
10803
        file_list_spec='@'
 
10804
        # Tell ltmain to make .lib files, not .a files.
 
10805
        libext=lib
 
10806
        # Tell ltmain to make .dll files, not .so files.
 
10807
        shrext_cmds=".dll"
 
10808
        # FIXME: Setting linknames here is a bad hack.
 
10809
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10810
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10811
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10812
          else
 
10813
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10814
          fi~
 
10815
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10816
          linknames='
 
10817
        # The linker will not automatically build a static lib if we build a DLL.
 
10818
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10819
        enable_shared_with_static_runtimes=yes
 
10820
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10821
        # Don't use ranlib
 
10822
        old_postinstall_cmds='chmod 644 $oldlib'
 
10823
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10824
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10825
          case $lt_outputfile in
 
10826
            *.exe|*.EXE) ;;
 
10827
            *)
 
10828
              lt_outputfile="$lt_outputfile.exe"
 
10829
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10830
              ;;
 
10831
          esac~
 
10832
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10833
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10834
            $RM "$lt_outputfile.manifest";
 
10835
          fi'
 
10836
        ;;
 
10837
      *)
 
10838
        # Assume MSVC wrapper
 
10839
        hardcode_libdir_flag_spec=' '
 
10840
        allow_undefined_flag=unsupported
 
10841
        # Tell ltmain to make .lib files, not .a files.
 
10842
        libext=lib
 
10843
        # Tell ltmain to make .dll files, not .so files.
 
10844
        shrext_cmds=".dll"
 
10845
        # FIXME: Setting linknames here is a bad hack.
 
10846
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10847
        # The linker will automatically build a .lib file if we build a DLL.
 
10848
        old_archive_from_new_cmds='true'
 
10849
        # FIXME: Should let the user specify the lib program.
 
10850
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10851
        enable_shared_with_static_runtimes=yes
 
10852
        ;;
 
10853
      esac
10054
10854
      ;;
10055
10855
 
10056
10856
    darwin* | rhapsody*)
10115
10915
 
10116
10916
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10117
10917
    freebsd* | dragonfly*)
10118
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
10918
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10119
10919
      hardcode_libdir_flag_spec='-R$libdir'
10120
10920
      hardcode_direct=yes
10121
10921
      hardcode_shlibpath_var=no
10123
10923
 
10124
10924
    hpux9*)
10125
10925
      if test "$GCC" = yes; then
10126
 
        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'
 
10926
        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'
10127
10927
      else
10128
10928
        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'
10129
10929
      fi
10139
10939
 
10140
10940
    hpux10*)
10141
10941
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10142
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10942
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10143
10943
      else
10144
10944
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10145
10945
      fi
10163
10963
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10164
10964
          ;;
10165
10965
        ia64*)
10166
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10966
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10167
10967
          ;;
10168
10968
        *)
10169
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10969
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10170
10970
          ;;
10171
10971
        esac
10172
10972
      else
10183
10983
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10184
10984
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10185
10985
$as_echo_n "checking if $CC understands -b... " >&6; }
10186
 
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
10986
if ${lt_cv_prog_compiler__b+:} false; then :
10187
10987
  $as_echo_n "(cached) " >&6
10188
10988
else
10189
10989
  lt_cv_prog_compiler__b=no
10245
11045
 
10246
11046
    irix5* | irix6* | nonstopux*)
10247
11047
      if test "$GCC" = yes; then
10248
 
        archive_cmds='$CC -shared $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'
 
11048
        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'
10249
11049
        # Try to use the -exported_symbol ld option, if it does not
10250
11050
        # work, assume that -exports_file does not work either and
10251
11051
        # implicitly export all symbols.
10252
 
        save_LDFLAGS="$LDFLAGS"
10253
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10254
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11052
        # This should be the same for all languages, so no per-tag cache variable.
 
11053
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
11054
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
11055
if ${lt_cv_irix_exported_symbol+:} false; then :
 
11056
  $as_echo_n "(cached) " >&6
 
11057
else
 
11058
  save_LDFLAGS="$LDFLAGS"
 
11059
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11060
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255
11061
/* end confdefs.h.  */
10256
 
int foo(void) {}
 
11062
int foo (void) { return 0; }
10257
11063
_ACEOF
10258
11064
if ac_fn_c_try_link "$LINENO"; then :
10259
 
  archive_expsym_cmds='$CC -shared $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'
10260
 
 
 
11065
  lt_cv_irix_exported_symbol=yes
 
11066
else
 
11067
  lt_cv_irix_exported_symbol=no
10261
11068
fi
10262
11069
rm -f core conftest.err conftest.$ac_objext \
10263
11070
    conftest$ac_exeext conftest.$ac_ext
10264
 
        LDFLAGS="$save_LDFLAGS"
 
11071
           LDFLAGS="$save_LDFLAGS"
 
11072
fi
 
11073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
11074
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
11075
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
11076
          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'
 
11077
        fi
10265
11078
      else
10266
11079
        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'
10267
11080
        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'
10273
11086
      link_all_deplibs=yes
10274
11087
      ;;
10275
11088
 
10276
 
    netbsd* | netbsdelf*-gnu)
 
11089
    netbsd*)
10277
11090
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10278
11091
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10279
11092
      else
10346
11159
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10347
11160
      if test "$GCC" = yes; then
10348
11161
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10349
 
        archive_cmds='$CC -shared${allow_undefined_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'
 
11162
        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'
10350
11163
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10351
11164
      else
10352
11165
        allow_undefined_flag=' -expect_unresolved \*'
10365
11178
      no_undefined_flag=' -z defs'
10366
11179
      if test "$GCC" = yes; then
10367
11180
        wlarc='${wl}'
10368
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11181
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10369
11182
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10370
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11183
          $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'
10371
11184
      else
10372
11185
        case `$CC -V 2>&1` in
10373
11186
        *"Compilers 5.0"*)
10555
11368
      # to ld, don't add -lc before -lgcc.
10556
11369
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10557
11370
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10558
 
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
11371
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10559
11372
  $as_echo_n "(cached) " >&6
10560
11373
else
10561
11374
  $RM conftest*
10943
11756
  need_version=no
10944
11757
  need_lib_prefix=no
10945
11758
 
10946
 
  case $GCC,$host_os in
10947
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
11759
  case $GCC,$cc_basename in
 
11760
  yes,*)
 
11761
    # gcc
10948
11762
    library_names_spec='$libname.dll.a'
10949
11763
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10950
11764
    postinstall_cmds='base_file=`basename \${file}`~
10977
11791
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10978
11792
      ;;
10979
11793
    esac
 
11794
    dynamic_linker='Win32 ld.exe'
 
11795
    ;;
 
11796
 
 
11797
  *,cl*)
 
11798
    # Native MSVC
 
11799
    libname_spec='$name'
 
11800
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11801
    library_names_spec='${libname}.dll.lib'
 
11802
 
 
11803
    case $build_os in
 
11804
    mingw*)
 
11805
      sys_lib_search_path_spec=
 
11806
      lt_save_ifs=$IFS
 
11807
      IFS=';'
 
11808
      for lt_path in $LIB
 
11809
      do
 
11810
        IFS=$lt_save_ifs
 
11811
        # Let DOS variable expansion print the short 8.3 style file name.
 
11812
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11813
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11814
      done
 
11815
      IFS=$lt_save_ifs
 
11816
      # Convert to MSYS style.
 
11817
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11818
      ;;
 
11819
    cygwin*)
 
11820
      # Convert to unix form, then to dos form, then back to unix form
 
11821
      # but this time dos style (no spaces!) so that the unix form looks
 
11822
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11823
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11824
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11825
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11826
      ;;
 
11827
    *)
 
11828
      sys_lib_search_path_spec="$LIB"
 
11829
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11830
        # It is most probably a Windows format PATH.
 
11831
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11832
      else
 
11833
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11834
      fi
 
11835
      # FIXME: find the short name or the path components, as spaces are
 
11836
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11837
      ;;
 
11838
    esac
 
11839
 
 
11840
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11841
    postinstall_cmds='base_file=`basename \${file}`~
 
11842
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11843
      dldir=$destdir/`dirname \$dlpath`~
 
11844
      test -d \$dldir || mkdir -p \$dldir~
 
11845
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11846
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11847
      dlpath=$dir/\$dldll~
 
11848
       $RM \$dlpath'
 
11849
    shlibpath_overrides_runpath=yes
 
11850
    dynamic_linker='Win32 link.exe'
10980
11851
    ;;
10981
11852
 
10982
11853
  *)
 
11854
    # Assume MSVC wrapper
10983
11855
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11856
    dynamic_linker='Win32 ld.exe'
10984
11857
    ;;
10985
11858
  esac
10986
 
  dynamic_linker='Win32 ld.exe'
10987
11859
  # FIXME: first we should search . and the directory the executable is in
10988
11860
  shlibpath_var=PATH
10989
11861
  ;;
11197
12069
  shlibpath_overrides_runpath=no
11198
12070
 
11199
12071
  # Some binutils ld are patched to set DT_RUNPATH
11200
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
12072
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11201
12073
  $as_echo_n "(cached) " >&6
11202
12074
else
11203
12075
  lt_cv_shlibpath_overrides_runpath=no
11235
12107
  # before this can be enabled.
11236
12108
  hardcode_into_libs=yes
11237
12109
 
 
12110
  # Add ABI-specific directories to the system library path.
 
12111
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
12112
 
11238
12113
  # Append ld.so.conf contents to the search path
11239
12114
  if test -f /etc/ld.so.conf; then
11240
12115
    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' ' '`
11241
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
12116
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
12117
 
11242
12118
  fi
11243
12119
 
11244
12120
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11250
12126
  dynamic_linker='GNU/Linux ld.so'
11251
12127
  ;;
11252
12128
 
11253
 
netbsdelf*-gnu)
11254
 
  version_type=linux
11255
 
  need_lib_prefix=no
11256
 
  need_version=no
11257
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11258
 
  soname_spec='${libname}${release}${shared_ext}$major'
11259
 
  shlibpath_var=LD_LIBRARY_PATH
11260
 
  shlibpath_overrides_runpath=no
11261
 
  hardcode_into_libs=yes
11262
 
  dynamic_linker='NetBSD ld.elf_so'
11263
 
  ;;
11264
 
 
11265
12129
netbsd*)
11266
12130
  version_type=sunos
11267
12131
  need_lib_prefix=no
11629
12493
  # if libdl is installed we need to link against it
11630
12494
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11631
12495
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11632
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12496
if ${ac_cv_lib_dl_dlopen+:} false; then :
11633
12497
  $as_echo_n "(cached) " >&6
11634
12498
else
11635
12499
  ac_check_lib_save_LIBS=$LIBS
11663
12527
fi
11664
12528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11665
12529
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11666
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12530
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11667
12531
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11668
12532
else
11669
12533
 
11677
12541
 
11678
12542
  *)
11679
12543
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11680
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
12544
if test "x$ac_cv_func_shl_load" = xyes; then :
11681
12545
  lt_cv_dlopen="shl_load"
11682
12546
else
11683
12547
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11684
12548
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11685
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
12549
if ${ac_cv_lib_dld_shl_load+:} false; then :
11686
12550
  $as_echo_n "(cached) " >&6
11687
12551
else
11688
12552
  ac_check_lib_save_LIBS=$LIBS
11716
12580
fi
11717
12581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11718
12582
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11719
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
12583
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11720
12584
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11721
12585
else
11722
12586
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11723
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
12587
if test "x$ac_cv_func_dlopen" = xyes; then :
11724
12588
  lt_cv_dlopen="dlopen"
11725
12589
else
11726
12590
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11727
12591
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11728
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12592
if ${ac_cv_lib_dl_dlopen+:} false; then :
11729
12593
  $as_echo_n "(cached) " >&6
11730
12594
else
11731
12595
  ac_check_lib_save_LIBS=$LIBS
11759
12623
fi
11760
12624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11761
12625
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11762
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12626
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11763
12627
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11764
12628
else
11765
12629
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11766
12630
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11767
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12631
if ${ac_cv_lib_svld_dlopen+:} false; then :
11768
12632
  $as_echo_n "(cached) " >&6
11769
12633
else
11770
12634
  ac_check_lib_save_LIBS=$LIBS
11798
12662
fi
11799
12663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11800
12664
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11801
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
12665
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11802
12666
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11803
12667
else
11804
12668
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11805
12669
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11806
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12670
if ${ac_cv_lib_dld_dld_link+:} false; then :
11807
12671
  $as_echo_n "(cached) " >&6
11808
12672
else
11809
12673
  ac_check_lib_save_LIBS=$LIBS
11837
12701
fi
11838
12702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11839
12703
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11840
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12704
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11841
12705
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11842
12706
fi
11843
12707
 
11878
12742
 
11879
12743
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11880
12744
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11881
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12745
if ${lt_cv_dlopen_self+:} false; then :
11882
12746
  $as_echo_n "(cached) " >&6
11883
12747
else
11884
12748
          if test "$cross_compiling" = yes; then :
11931
12795
/* When -fvisbility=hidden is used, assume the code has been annotated
11932
12796
   correspondingly for the symbols needed.  */
11933
12797
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11934
 
void fnord () __attribute__((visibility("default")));
 
12798
int fnord () __attribute__((visibility("default")));
11935
12799
#endif
11936
12800
 
11937
 
void fnord () { int i=42; }
 
12801
int fnord () { return 42; }
11938
12802
int main ()
11939
12803
{
11940
12804
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11984
12848
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11985
12849
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11986
12850
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11987
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12851
if ${lt_cv_dlopen_self_static+:} false; then :
11988
12852
  $as_echo_n "(cached) " >&6
11989
12853
else
11990
12854
          if test "$cross_compiling" = yes; then :
12037
12901
/* When -fvisbility=hidden is used, assume the code has been annotated
12038
12902
   correspondingly for the symbols needed.  */
12039
12903
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12040
 
void fnord () __attribute__((visibility("default")));
 
12904
int fnord () __attribute__((visibility("default")));
12041
12905
#endif
12042
12906
 
12043
 
void fnord () { int i=42; }
 
12907
int fnord () { return 42; }
12044
12908
int main ()
12045
12909
{
12046
12910
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12221
13085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12222
13086
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12223
13087
if test -z "$CXXCPP"; then
12224
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
13088
  if ${ac_cv_prog_CXXCPP+:} false; then :
12225
13089
  $as_echo_n "(cached) " >&6
12226
13090
else
12227
13091
      # Double quotes because CXXCPP needs to be expanded
12337
13201
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12338
13202
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12339
13203
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12340
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
13204
See \`config.log' for more details" "$LINENO" 5; }
12341
13205
fi
12342
13206
 
12343
13207
ac_ext=c
12432
13296
 
12433
13297
  # Allow CC to be a program name with arguments.
12434
13298
  lt_save_CC=$CC
 
13299
  lt_save_CFLAGS=$CFLAGS
12435
13300
  lt_save_LD=$LD
12436
13301
  lt_save_GCC=$GCC
12437
13302
  GCC=$GXX
12449
13314
  fi
12450
13315
  test -z "${LDCXX+set}" || LD=$LDCXX
12451
13316
  CC=${CXX-"c++"}
 
13317
  CFLAGS=$CXXFLAGS
12452
13318
  compiler=$CC
12453
13319
  compiler_CXX=$CC
12454
13320
  for cc_temp in $compiler""; do
12522
13388
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12523
13389
$as_echo_n "checking for non-GNU ld... " >&6; }
12524
13390
fi
12525
 
if test "${lt_cv_path_LD+set}" = set; then :
 
13391
if ${lt_cv_path_LD+:} false; then :
12526
13392
  $as_echo_n "(cached) " >&6
12527
13393
else
12528
13394
  if test -z "$LD"; then
12562
13428
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12563
13429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12564
13430
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12565
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
13431
if ${lt_cv_prog_gnu_ld+:} false; then :
12566
13432
  $as_echo_n "(cached) " >&6
12567
13433
else
12568
13434
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12588
13454
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12589
13455
      # archiving commands below assume that GNU ld is being used.
12590
13456
      if test "$with_gnu_ld" = yes; then
12591
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12592
 
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
13457
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13458
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12593
13459
 
12594
13460
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12595
13461
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12731
13597
          allow_undefined_flag_CXX='-berok'
12732
13598
          # Determine the default libpath from the value encoded in an empty
12733
13599
          # executable.
12734
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13600
          if test "${lt_cv_aix_libpath+set}" = set; then
 
13601
  aix_libpath=$lt_cv_aix_libpath
 
13602
else
 
13603
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
13604
  $as_echo_n "(cached) " >&6
 
13605
else
 
13606
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735
13607
/* end confdefs.h.  */
12736
13608
 
12737
13609
int
12744
13616
_ACEOF
12745
13617
if ac_fn_cxx_try_link "$LINENO"; then :
12746
13618
 
12747
 
lt_aix_libpath_sed='
12748
 
    /Import File Strings/,/^$/ {
12749
 
        /^0/ {
12750
 
            s/^0  *\(.*\)$/\1/
12751
 
            p
12752
 
        }
12753
 
    }'
12754
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12755
 
# Check for a 64-bit object if we didn't find anything.
12756
 
if test -z "$aix_libpath"; then
12757
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12758
 
fi
 
13619
  lt_aix_libpath_sed='
 
13620
      /Import File Strings/,/^$/ {
 
13621
          /^0/ {
 
13622
              s/^0  *\([^ ]*\) *$/\1/
 
13623
              p
 
13624
          }
 
13625
      }'
 
13626
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13627
  # Check for a 64-bit object if we didn't find anything.
 
13628
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13629
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13630
  fi
12759
13631
fi
12760
13632
rm -f core conftest.err conftest.$ac_objext \
12761
13633
    conftest$ac_exeext conftest.$ac_ext
12762
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13634
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13635
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13636
  fi
 
13637
 
 
13638
fi
 
13639
 
 
13640
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13641
fi
12763
13642
 
12764
13643
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12765
13644
 
12772
13651
          else
12773
13652
            # Determine the default libpath from the value encoded in an
12774
13653
            # empty executable.
12775
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13654
            if test "${lt_cv_aix_libpath+set}" = set; then
 
13655
  aix_libpath=$lt_cv_aix_libpath
 
13656
else
 
13657
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
13658
  $as_echo_n "(cached) " >&6
 
13659
else
 
13660
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776
13661
/* end confdefs.h.  */
12777
13662
 
12778
13663
int
12785
13670
_ACEOF
12786
13671
if ac_fn_cxx_try_link "$LINENO"; then :
12787
13672
 
12788
 
lt_aix_libpath_sed='
12789
 
    /Import File Strings/,/^$/ {
12790
 
        /^0/ {
12791
 
            s/^0  *\(.*\)$/\1/
12792
 
            p
12793
 
        }
12794
 
    }'
12795
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12796
 
# Check for a 64-bit object if we didn't find anything.
12797
 
if test -z "$aix_libpath"; then
12798
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12799
 
fi
 
13673
  lt_aix_libpath_sed='
 
13674
      /Import File Strings/,/^$/ {
 
13675
          /^0/ {
 
13676
              s/^0  *\([^ ]*\) *$/\1/
 
13677
              p
 
13678
          }
 
13679
      }'
 
13680
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13681
  # Check for a 64-bit object if we didn't find anything.
 
13682
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13683
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13684
  fi
12800
13685
fi
12801
13686
rm -f core conftest.err conftest.$ac_objext \
12802
13687
    conftest$ac_exeext conftest.$ac_ext
12803
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13688
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13689
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13690
  fi
 
13691
 
 
13692
fi
 
13693
 
 
13694
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13695
fi
12804
13696
 
12805
13697
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12806
13698
            # Warning - without using the other run time loading flags,
12843
13735
        ;;
12844
13736
 
12845
13737
      cygwin* | mingw* | pw32* | cegcc*)
12846
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12847
 
        # as there is no search path for DLLs.
12848
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
12849
 
        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12850
 
        allow_undefined_flag_CXX=unsupported
12851
 
        always_export_symbols_CXX=no
12852
 
        enable_shared_with_static_runtimes_CXX=yes
 
13738
        case $GXX,$cc_basename in
 
13739
        ,cl* | no,cl*)
 
13740
          # Native MSVC
 
13741
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
13742
          # no search path for DLLs.
 
13743
          hardcode_libdir_flag_spec_CXX=' '
 
13744
          allow_undefined_flag_CXX=unsupported
 
13745
          always_export_symbols_CXX=yes
 
13746
          file_list_spec_CXX='@'
 
13747
          # Tell ltmain to make .lib files, not .a files.
 
13748
          libext=lib
 
13749
          # Tell ltmain to make .dll files, not .so files.
 
13750
          shrext_cmds=".dll"
 
13751
          # FIXME: Setting linknames here is a bad hack.
 
13752
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
13753
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13754
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
13755
            else
 
13756
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
13757
            fi~
 
13758
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
13759
            linknames='
 
13760
          # The linker will not automatically build a static lib if we build a DLL.
 
13761
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
13762
          enable_shared_with_static_runtimes_CXX=yes
 
13763
          # Don't use ranlib
 
13764
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
13765
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
13766
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
13767
            case $lt_outputfile in
 
13768
              *.exe|*.EXE) ;;
 
13769
              *)
 
13770
                lt_outputfile="$lt_outputfile.exe"
 
13771
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
13772
                ;;
 
13773
            esac~
 
13774
            func_to_tool_file "$lt_outputfile"~
 
13775
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
13776
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
13777
              $RM "$lt_outputfile.manifest";
 
13778
            fi'
 
13779
          ;;
 
13780
        *)
 
13781
          # g++
 
13782
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
13783
          # as there is no search path for DLLs.
 
13784
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
13785
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
13786
          allow_undefined_flag_CXX=unsupported
 
13787
          always_export_symbols_CXX=no
 
13788
          enable_shared_with_static_runtimes_CXX=yes
12853
13789
 
12854
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12855
 
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12856
 
          # If the export-symbols file already is a .def file (1st line
12857
 
          # is EXPORTS), use it as is; otherwise, prepend...
12858
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12859
 
            cp $export_symbols $output_objdir/$soname.def;
12860
 
          else
12861
 
            echo EXPORTS > $output_objdir/$soname.def;
12862
 
            cat $export_symbols >> $output_objdir/$soname.def;
12863
 
          fi~
12864
 
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12865
 
        else
12866
 
          ld_shlibs_CXX=no
12867
 
        fi
12868
 
        ;;
 
13790
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
13791
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13792
            # If the export-symbols file already is a .def file (1st line
 
13793
            # is EXPORTS), use it as is; otherwise, prepend...
 
13794
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13795
              cp $export_symbols $output_objdir/$soname.def;
 
13796
            else
 
13797
              echo EXPORTS > $output_objdir/$soname.def;
 
13798
              cat $export_symbols >> $output_objdir/$soname.def;
 
13799
            fi~
 
13800
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13801
          else
 
13802
            ld_shlibs_CXX=no
 
13803
          fi
 
13804
          ;;
 
13805
        esac
 
13806
        ;;
12869
13807
      darwin* | rhapsody*)
12870
13808
 
12871
13809
 
12971
13909
            ;;
12972
13910
          *)
12973
13911
            if test "$GXX" = yes; then
12974
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
13912
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12975
13913
            else
12976
13914
              # FIXME: insert proper C++ library support
12977
13915
              ld_shlibs_CXX=no
13042
13980
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13043
13981
                    ;;
13044
13982
                  ia64*)
13045
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13983
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13046
13984
                    ;;
13047
13985
                  *)
13048
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13986
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13049
13987
                    ;;
13050
13988
                esac
13051
13989
              fi
13086
14024
          *)
13087
14025
            if test "$GXX" = yes; then
13088
14026
              if test "$with_gnu_ld" = no; then
13089
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
 
14027
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13090
14028
              else
13091
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
 
14029
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13092
14030
              fi
13093
14031
            fi
13094
14032
            link_all_deplibs_CXX=yes
13366
14304
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13367
14305
                  ;;
13368
14306
                *)
13369
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
 
14307
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13370
14308
                  ;;
13371
14309
              esac
13372
14310
 
13453
14391
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13454
14392
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13455
14393
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13456
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
14394
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13457
14395
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13458
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
14396
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13459
14397
 
13460
14398
                # Commands to make compiler produce verbose output that lists
13461
14399
                # what "hidden" libraries, object files and flags are used when
13590
14528
};
13591
14529
_LT_EOF
13592
14530
 
 
14531
 
 
14532
_lt_libdeps_save_CFLAGS=$CFLAGS
 
14533
case "$CC $CFLAGS " in #(
 
14534
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
14535
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
14536
esac
 
14537
 
13593
14538
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13594
14539
  (eval $ac_compile) 2>&5
13595
14540
  ac_status=$?
13603
14548
  pre_test_object_deps_done=no
13604
14549
 
13605
14550
  for p in `eval "$output_verbose_link_cmd"`; do
13606
 
    case $p in
 
14551
    case ${prev}${p} in
13607
14552
 
13608
14553
    -L* | -R* | -l*)
13609
14554
       # Some compilers place space between "-{L,R}" and the path.
13612
14557
          test $p = "-R"; then
13613
14558
         prev=$p
13614
14559
         continue
13615
 
       else
13616
 
         prev=
13617
14560
       fi
13618
14561
 
 
14562
       # Expand the sysroot to ease extracting the directories later.
 
14563
       if test -z "$prev"; then
 
14564
         case $p in
 
14565
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
14566
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
14567
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
14568
         esac
 
14569
       fi
 
14570
       case $p in
 
14571
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
14572
       esac
13619
14573
       if test "$pre_test_object_deps_done" = no; then
13620
 
         case $p in
13621
 
         -L* | -R*)
 
14574
         case ${prev} in
 
14575
         -L | -R)
13622
14576
           # Internal compiler library paths should come after those
13623
14577
           # provided the user.  The postdeps already come after the
13624
14578
           # user supplied libs so there is no need to process them.
13638
14592
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13639
14593
         fi
13640
14594
       fi
 
14595
       prev=
13641
14596
       ;;
13642
14597
 
 
14598
    *.lto.$objext) ;; # Ignore GCC LTO objects
13643
14599
    *.$objext)
13644
14600
       # This assumes that the test object file only shows up
13645
14601
       # once in the compiler output.
13675
14631
fi
13676
14632
 
13677
14633
$RM -f confest.$objext
 
14634
CFLAGS=$_lt_libdeps_save_CFLAGS
13678
14635
 
13679
14636
# PORTME: override above test on systems where it is broken
13680
14637
case $host_os in
13775
14732
lt_prog_compiler_pic_CXX=
13776
14733
lt_prog_compiler_static_CXX=
13777
14734
 
13778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13779
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13780
14735
 
13781
14736
  # C++ specific cases for pic, static, wl, etc.
13782
14737
  if test "$GXX" = yes; then
13880
14835
          ;;
13881
14836
        esac
13882
14837
        ;;
 
14838
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
14839
        # This hack is so that the source file can tell whether it is being
 
14840
        # built for inclusion in a dll (and should export symbols for example).
 
14841
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
14842
        ;;
13883
14843
      dgux*)
13884
14844
        case $cc_basename in
13885
14845
          ec++*)
14000
14960
            ;;
14001
14961
        esac
14002
14962
        ;;
14003
 
      netbsd* | netbsdelf*-gnu)
 
14963
      netbsd*)
14004
14964
        ;;
14005
14965
      *qnx* | *nto*)
14006
14966
        # QNX uses GNU C++, but need to define -shared option too, otherwise
14097
15057
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14098
15058
    ;;
14099
15059
esac
14100
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14101
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14102
 
 
14103
 
 
 
15060
 
 
15061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
15062
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
15063
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
15064
  $as_echo_n "(cached) " >&6
 
15065
else
 
15066
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
15067
fi
 
15068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
15069
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
15070
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14104
15071
 
14105
15072
#
14106
15073
# Check to make sure the PIC flag actually works.
14108
15075
if test -n "$lt_prog_compiler_pic_CXX"; then
14109
15076
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14110
15077
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14111
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
15078
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14112
15079
  $as_echo_n "(cached) " >&6
14113
15080
else
14114
15081
  lt_cv_prog_compiler_pic_works_CXX=no
14158
15125
 
14159
15126
 
14160
15127
 
 
15128
 
 
15129
 
14161
15130
#
14162
15131
# Check to make sure the static flag actually works.
14163
15132
#
14164
15133
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14165
15134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14166
15135
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14167
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
15136
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14168
15137
  $as_echo_n "(cached) " >&6
14169
15138
else
14170
15139
  lt_cv_prog_compiler_static_works_CXX=no
14204
15173
 
14205
15174
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14206
15175
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14207
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
15176
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14208
15177
  $as_echo_n "(cached) " >&6
14209
15178
else
14210
15179
  lt_cv_prog_compiler_c_o_CXX=no
14256
15225
 
14257
15226
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14258
15227
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14259
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
15228
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14260
15229
  $as_echo_n "(cached) " >&6
14261
15230
else
14262
15231
  lt_cv_prog_compiler_c_o_CXX=no
14335
15304
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14336
15305
 
14337
15306
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
15307
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14338
15308
  case $host_os in
14339
15309
  aix[4-9]*)
14340
15310
    # If we're using GNU nm, then we don't want the "-C" option.
14349
15319
    ;;
14350
15320
  pw32*)
14351
15321
    export_symbols_cmds_CXX="$ltdll_cmds"
14352
 
  ;;
 
15322
    ;;
14353
15323
  cygwin* | mingw* | cegcc*)
14354
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14355
 
  ;;
14356
 
  linux* | k*bsd*-gnu)
14357
 
    link_all_deplibs_CXX=no
14358
 
  ;;
 
15324
    case $cc_basename in
 
15325
    cl*) ;;
 
15326
    *)
 
15327
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
15328
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
15329
      ;;
 
15330
    esac
 
15331
    ;;
14359
15332
  *)
14360
15333
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14361
 
  ;;
 
15334
    ;;
14362
15335
  esac
14363
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14364
15336
 
14365
15337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14366
15338
$as_echo "$ld_shlibs_CXX" >&6; }
14392
15364
      # to ld, don't add -lc before -lgcc.
14393
15365
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14394
15366
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14395
 
if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
 
15367
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14396
15368
  $as_echo_n "(cached) " >&6
14397
15369
else
14398
15370
  $RM conftest*
14623
15595
  need_version=no
14624
15596
  need_lib_prefix=no
14625
15597
 
14626
 
  case $GCC,$host_os in
14627
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
15598
  case $GCC,$cc_basename in
 
15599
  yes,*)
 
15600
    # gcc
14628
15601
    library_names_spec='$libname.dll.a'
14629
15602
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14630
15603
    postinstall_cmds='base_file=`basename \${file}`~
14656
15629
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14657
15630
      ;;
14658
15631
    esac
 
15632
    dynamic_linker='Win32 ld.exe'
 
15633
    ;;
 
15634
 
 
15635
  *,cl*)
 
15636
    # Native MSVC
 
15637
    libname_spec='$name'
 
15638
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
15639
    library_names_spec='${libname}.dll.lib'
 
15640
 
 
15641
    case $build_os in
 
15642
    mingw*)
 
15643
      sys_lib_search_path_spec=
 
15644
      lt_save_ifs=$IFS
 
15645
      IFS=';'
 
15646
      for lt_path in $LIB
 
15647
      do
 
15648
        IFS=$lt_save_ifs
 
15649
        # Let DOS variable expansion print the short 8.3 style file name.
 
15650
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
15651
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
15652
      done
 
15653
      IFS=$lt_save_ifs
 
15654
      # Convert to MSYS style.
 
15655
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
15656
      ;;
 
15657
    cygwin*)
 
15658
      # Convert to unix form, then to dos form, then back to unix form
 
15659
      # but this time dos style (no spaces!) so that the unix form looks
 
15660
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
15661
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
15662
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
15663
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15664
      ;;
 
15665
    *)
 
15666
      sys_lib_search_path_spec="$LIB"
 
15667
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
15668
        # It is most probably a Windows format PATH.
 
15669
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
15670
      else
 
15671
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15672
      fi
 
15673
      # FIXME: find the short name or the path components, as spaces are
 
15674
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
15675
      ;;
 
15676
    esac
 
15677
 
 
15678
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
15679
    postinstall_cmds='base_file=`basename \${file}`~
 
15680
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
15681
      dldir=$destdir/`dirname \$dlpath`~
 
15682
      test -d \$dldir || mkdir -p \$dldir~
 
15683
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15684
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
15685
      dlpath=$dir/\$dldll~
 
15686
       $RM \$dlpath'
 
15687
    shlibpath_overrides_runpath=yes
 
15688
    dynamic_linker='Win32 link.exe'
14659
15689
    ;;
14660
15690
 
14661
15691
  *)
 
15692
    # Assume MSVC wrapper
14662
15693
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
15694
    dynamic_linker='Win32 ld.exe'
14663
15695
    ;;
14664
15696
  esac
14665
 
  dynamic_linker='Win32 ld.exe'
14666
15697
  # FIXME: first we should search . and the directory the executable is in
14667
15698
  shlibpath_var=PATH
14668
15699
  ;;
14875
15906
  shlibpath_overrides_runpath=no
14876
15907
 
14877
15908
  # Some binutils ld are patched to set DT_RUNPATH
14878
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
15909
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14879
15910
  $as_echo_n "(cached) " >&6
14880
15911
else
14881
15912
  lt_cv_shlibpath_overrides_runpath=no
14913
15944
  # before this can be enabled.
14914
15945
  hardcode_into_libs=yes
14915
15946
 
 
15947
  # Add ABI-specific directories to the system library path.
 
15948
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
15949
 
14916
15950
  # Append ld.so.conf contents to the search path
14917
15951
  if test -f /etc/ld.so.conf; then
14918
15952
    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' ' '`
14919
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
15953
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
15954
 
14920
15955
  fi
14921
15956
 
14922
15957
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14928
15963
  dynamic_linker='GNU/Linux ld.so'
14929
15964
  ;;
14930
15965
 
14931
 
netbsdelf*-gnu)
14932
 
  version_type=linux
14933
 
  need_lib_prefix=no
14934
 
  need_version=no
14935
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14936
 
  soname_spec='${libname}${release}${shared_ext}$major'
14937
 
  shlibpath_var=LD_LIBRARY_PATH
14938
 
  shlibpath_overrides_runpath=no
14939
 
  hardcode_into_libs=yes
14940
 
  dynamic_linker='NetBSD ld.elf_so'
14941
 
  ;;
14942
 
 
14943
15966
netbsd*)
14944
15967
  version_type=sunos
14945
15968
  need_lib_prefix=no
15228
16251
  fi # test -n "$compiler"
15229
16252
 
15230
16253
  CC=$lt_save_CC
 
16254
  CFLAGS=$lt_save_CFLAGS
15231
16255
  LDCXX=$LD
15232
16256
  LD=$lt_save_LD
15233
16257
  GCC=$lt_save_GCC
15483
16507
set dummy lsb_release; ac_word=$2
15484
16508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15485
16509
$as_echo_n "checking for $ac_word... " >&6; }
15486
 
if test "${ac_cv_path_LSB_RELEASE+set}" = set; then :
 
16510
if ${ac_cv_path_LSB_RELEASE+:} false; then :
15487
16511
  $as_echo_n "(cached) " >&6
15488
16512
else
15489
16513
  case $LSB_RELEASE in
15579
16603
      # VERSION.
15580
16604
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.4" >&5
15581
16605
$as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; }
15582
 
if test "${am_cv_pathless_PYTHON+set}" = set; then :
 
16606
if ${am_cv_pathless_PYTHON+:} false; then :
15583
16607
  $as_echo_n "(cached) " >&6
15584
16608
else
15585
16609
 
15613
16637
set dummy $am_cv_pathless_PYTHON; ac_word=$2
15614
16638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15615
16639
$as_echo_n "checking for $ac_word... " >&6; }
15616
 
if test "${ac_cv_path_PYTHON+set}" = set; then :
 
16640
if ${ac_cv_path_PYTHON+:} false; then :
15617
16641
  $as_echo_n "(cached) " >&6
15618
16642
else
15619
16643
  case $PYTHON in
15661
16685
 
15662
16686
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
15663
16687
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
15664
 
if test "${am_cv_python_version+set}" = set; then :
 
16688
if ${am_cv_python_version+:} false; then :
15665
16689
  $as_echo_n "(cached) " >&6
15666
16690
else
15667
16691
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
15680
16704
 
15681
16705
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
15682
16706
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
15683
 
if test "${am_cv_python_platform+set}" = set; then :
 
16707
if ${am_cv_python_platform+:} false; then :
15684
16708
  $as_echo_n "(cached) " >&6
15685
16709
else
15686
16710
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
15694
16718
 
15695
16719
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
15696
16720
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
15697
 
if test "${am_cv_python_pythondir+set}" = set; then :
 
16721
if ${am_cv_python_pythondir+:} false; then :
15698
16722
  $as_echo_n "(cached) " >&6
15699
16723
else
15700
16724
  if test "x$prefix" = xNONE
15732
16756
 
15733
16757
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
15734
16758
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
15735
 
if test "${am_cv_python_pyexecdir+set}" = set; then :
 
16759
if ${am_cv_python_pyexecdir+:} false; then :
15736
16760
  $as_echo_n "(cached) " >&6
15737
16761
else
15738
16762
  if test "x$exec_prefix" = xNONE
15787
16811
  withval=$with_platform; case "$withval" in
15788
16812
    gnome|hildon|gtk-only) ;;
15789
16813
    maemo) with_platform=hildon with_platform_variant=maemo3 ;; # compat
15790
 
    *) as_fn_error $? "invalid argument \"$withval\" for --with-platform" "$LINENO" 5  ;;
 
16814
    *) as_fn_error $? "invalid argument \"$withval\" for --with-platform" "$LINENO" 5 ;;
15791
16815
   esac
15792
16816
else
15793
16817
  with_platform=gnome
15909
16933
if test "${with_gtk+set}" = set; then :
15910
16934
  withval=$with_gtk; case "$with_gtk" in
15911
16935
     2.0|3.0) ;;
15912
 
     *) as_fn_error $? "invalid gtk version specified" "$LINENO" 5  ;;
 
16936
     *) as_fn_error $? "invalid gtk version specified" "$LINENO" 5 ;;
15913
16937
   esac
15914
16938
else
15915
 
  with_gtk=2.0
 
16939
  with_gtk=3.0
15916
16940
fi
15917
16941
 
15918
16942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5
15919
16943
$as_echo "$with_gtk" >&6; }
15920
16944
 
 
16945
if test "$with_gtk" = "2.0" -a "$allow_gtk2" = "no"; then
 
16946
  as_fn_error $? "gtk+-2.0 build requested but not all selected games still support this" "$LINENO" 5
 
16947
fi
 
16948
 
15921
16949
case "$with_gtk" in
15922
16950
  2.0) GTK_API_VERSION=2.0
15923
16951
       GTK_API_MAJOR_VERSION=2
16073
17101
    fixed) enable_card_theme_format_fixed=yes ;;
16074
17102
    sliced) enable_card_theme_format_svg=yes ;;
16075
17103
    pysol) enable_card_theme_format_pysol=yes ;;
16076
 
    *) IFS="$gg_saved_ifs" as_fn_error $? "unknown card theme format $format requested" "$LINENO" 5  ;;
 
17104
    *) IFS="$gg_saved_ifs" as_fn_error $? "unknown card theme format $format requested" "$LINENO" 5 ;;
16077
17105
  esac
16078
17106
done
16079
17107
IFS="$gg_saved_ifs"
16091
17119
 
16092
17120
$as_echo "#define ENABLE_CARD_THEME_FORMAT_KDE 1" >>confdefs.h
16093
17121
 
 
17122
  require_cairo_1_10=yes
16094
17123
  need_rsvg=yes
16095
17124
fi
16096
17125
if test "$enable_card_theme_format_fixed" = "yes"; then
16162
17191
else
16163
17192
  case $LSB_DISTRIBUTION in
16164
17193
          *Debian*|*Fedora*|*RedHat*|*SUSE*|*Ubuntu*) with_kde_card_theme_path="/usr/share/kde4/apps/carddecks" ;;
16165
 
          *) as_fn_error $? "When enabling the KDE card theme format, you must specify the KDE card themes base path." "$LINENO" 5  ;;
 
17194
          *) as_fn_error $? "When enabling the KDE card theme format, you must specify the KDE card themes base path." "$LINENO" 5 ;;
16166
17195
        esac
16167
17196
fi
16168
17197
 
16188
17217
          *Debian*|*Ubuntu*) with_pysol_card_theme_path="/usr/share/games/pysol" ;;
16189
17218
          *Fedora*|*RedHat*) with_pysol_card_theme_path="/usr/share/PySolFC" ;;
16190
17219
          *SUSE*)            with_pysol_card_theme_path="/usr/share/games/pysol/data" ;;
16191
 
          *) as_fn_error $? "When enabling the PySol card theme format, you must specify the PySol card themes base path." "$LINENO" 5  ;;
 
17220
          *) as_fn_error $? "When enabling the PySol card theme format, you must specify the PySol card themes base path." "$LINENO" 5 ;;
16192
17221
        esac
16193
17222
fi
16194
17223
 
16212
17241
  withval=$with_default_card_theme;
16213
17242
else
16214
17243
  case "$with_platform" in
16215
 
        gnome|gtk-only) with_default_card_theme=gnomangelo_bitmap.svg ;;
 
17244
        gnome|gtk-only) with_default_card_theme=bonded.svg ;;
16216
17245
        hildon) with_default_card_theme=paris.card-theme ;;
16217
17246
      esac
16218
17247
fi
16288
17317
# Checks for libraries
16289
17318
# ********************
16290
17319
 
16291
 
PYGTK_REQUIRED=2.14.0
 
17320
PYGOBJECT_REQUIRED=2.28.3
16292
17321
 
16293
17322
case "$with_gtk" in
16294
 
  2.0) GTK_API_VERSION=2.0
16295
 
       if test "$with_platform" = "hildon" -a "$with_platform_variant" = "maemo3"; then
 
17323
  2.0) if test "$with_platform" = "hildon" -a "$with_platform_variant" = "maemo3"; then
16296
17324
         GTK_REQUIRED=2.6.0
16297
17325
       elif test "$require_gtk_2_16" = "yes"; then
16298
17326
         GTK_REQUIRED=2.16.0
16303
17331
       LIBCANBERRA_GTK_REQUIRED=0
16304
17332
       LIBCANBERRA_GTK_PKGS="libcanberra-gtk >= $LIBCANBERRA_GTK_REQUIRED"
16305
17333
        ;;
16306
 
  3.0) GTK_API_VERSION=3.0
16307
 
       GTK_REQUIRED=2.90.0
16308
 
       RSVG_REQUIRED=2.26.4
16309
 
       LIBCANBERRA_GTK_REQUIRED=0.24
 
17334
  3.0) GTK_REQUIRED=2.91.7
 
17335
       RSVG_REQUIRED=2.32.0
 
17336
       LIBCANBERRA_GTK_REQUIRED=0.26
16310
17337
       LIBCANBERRA_GTK_PKGS="libcanberra-gtk3 >= $LIBCANBERRA_GTK_REQUIRED"
16311
17338
       ;;
16312
17339
esac
16313
17340
 
16314
17341
GCONF_REQUIRED=2.0
16315
17342
GIO_REQUIRED=2.25.7
16316
 
CAIRO_REQUIRED=1.0
16317
17343
GSTREAMER_REQUIRED=0.10.11
16318
17344
HILDON_LIBS_REQUIRED=0.14
16319
17345
HILDON_1_REQUIRED=1.00
16388
17414
Alternatively, you may set the environment variables GTHREAD_CFLAGS
16389
17415
and GTHREAD_LIBS to avoid the need to call pkg-config.
16390
17416
See the pkg-config man page for more details." "$LINENO" 5
 
17417
 
16391
17418
elif test $pkg_failed = untried; then
16392
17419
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16393
17420
$as_echo "no" >&6; }
16402
17429
See the pkg-config man page for more details.
16403
17430
 
16404
17431
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16405
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
17432
See \`config.log' for more details" "$LINENO" 5; }
 
17433
 
16406
17434
else
16407
17435
        GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
16408
17436
        GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
16415
17443
 
16416
17444
 
16417
17445
pkg_failed=no
 
17446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
 
17447
$as_echo_n "checking for GMODULE... " >&6; }
 
17448
 
 
17449
if test -n "$GMODULE_CFLAGS"; then
 
17450
    pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
 
17451
 elif test -n "$PKG_CONFIG"; then
 
17452
    if test -n "$PKG_CONFIG" && \
 
17453
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
 
17454
  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
 
17455
  ac_status=$?
 
17456
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17457
  test $ac_status = 0; }; then
 
17458
  pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
 
17459
else
 
17460
  pkg_failed=yes
 
17461
fi
 
17462
 else
 
17463
    pkg_failed=untried
 
17464
fi
 
17465
if test -n "$GMODULE_LIBS"; then
 
17466
    pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
 
17467
 elif test -n "$PKG_CONFIG"; then
 
17468
    if test -n "$PKG_CONFIG" && \
 
17469
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
 
17470
  ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
 
17471
  ac_status=$?
 
17472
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17473
  test $ac_status = 0; }; then
 
17474
  pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
 
17475
else
 
17476
  pkg_failed=yes
 
17477
fi
 
17478
 else
 
17479
    pkg_failed=untried
 
17480
fi
 
17481
 
 
17482
 
 
17483
 
 
17484
if test $pkg_failed = yes; then
 
17485
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17486
$as_echo "no" >&6; }
 
17487
 
 
17488
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17489
        _pkg_short_errors_supported=yes
 
17490
else
 
17491
        _pkg_short_errors_supported=no
 
17492
fi
 
17493
        if test $_pkg_short_errors_supported = yes; then
 
17494
                GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0" 2>&1`
 
17495
        else
 
17496
                GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0" 2>&1`
 
17497
        fi
 
17498
        # Put the nasty error message in config.log where it belongs
 
17499
        echo "$GMODULE_PKG_ERRORS" >&5
 
17500
 
 
17501
        as_fn_error $? "Package requirements (gmodule-2.0) were not met:
 
17502
 
 
17503
$GMODULE_PKG_ERRORS
 
17504
 
 
17505
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
17506
installed software in a non-standard prefix.
 
17507
 
 
17508
Alternatively, you may set the environment variables GMODULE_CFLAGS
 
17509
and GMODULE_LIBS to avoid the need to call pkg-config.
 
17510
See the pkg-config man page for more details." "$LINENO" 5
 
17511
 
 
17512
elif test $pkg_failed = untried; then
 
17513
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17514
$as_echo "no" >&6; }
 
17515
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
17516
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
17517
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
17518
is in your PATH or set the PKG_CONFIG environment variable to the full
 
17519
path to pkg-config.
 
17520
 
 
17521
Alternatively, you may set the environment variables GMODULE_CFLAGS
 
17522
and GMODULE_LIBS to avoid the need to call pkg-config.
 
17523
See the pkg-config man page for more details.
 
17524
 
 
17525
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
17526
See \`config.log' for more details" "$LINENO" 5; }
 
17527
 
 
17528
else
 
17529
        GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
 
17530
        GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
 
17531
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17532
$as_echo "yes" >&6; }
 
17533
 
 
17534
fi
 
17535
 
 
17536
 
 
17537
 
 
17538
 
 
17539
pkg_failed=no
 
17540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
 
17541
$as_echo_n "checking for GOBJECT... " >&6; }
 
17542
 
 
17543
if test -n "$GOBJECT_CFLAGS"; then
 
17544
    pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
 
17545
 elif test -n "$PKG_CONFIG"; then
 
17546
    if test -n "$PKG_CONFIG" && \
 
17547
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
 
17548
  ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
 
17549
  ac_status=$?
 
17550
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17551
  test $ac_status = 0; }; then
 
17552
  pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
 
17553
else
 
17554
  pkg_failed=yes
 
17555
fi
 
17556
 else
 
17557
    pkg_failed=untried
 
17558
fi
 
17559
if test -n "$GOBJECT_LIBS"; then
 
17560
    pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
 
17561
 elif test -n "$PKG_CONFIG"; then
 
17562
    if test -n "$PKG_CONFIG" && \
 
17563
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\""; } >&5
 
17564
  ($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
 
17565
  ac_status=$?
 
17566
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17567
  test $ac_status = 0; }; then
 
17568
  pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
 
17569
else
 
17570
  pkg_failed=yes
 
17571
fi
 
17572
 else
 
17573
    pkg_failed=untried
 
17574
fi
 
17575
 
 
17576
 
 
17577
 
 
17578
if test $pkg_failed = yes; then
 
17579
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17580
$as_echo "no" >&6; }
 
17581
 
 
17582
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17583
        _pkg_short_errors_supported=yes
 
17584
else
 
17585
        _pkg_short_errors_supported=no
 
17586
fi
 
17587
        if test $_pkg_short_errors_supported = yes; then
 
17588
                GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0" 2>&1`
 
17589
        else
 
17590
                GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0" 2>&1`
 
17591
        fi
 
17592
        # Put the nasty error message in config.log where it belongs
 
17593
        echo "$GOBJECT_PKG_ERRORS" >&5
 
17594
 
 
17595
        as_fn_error $? "Package requirements (gobject-2.0) were not met:
 
17596
 
 
17597
$GOBJECT_PKG_ERRORS
 
17598
 
 
17599
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
17600
installed software in a non-standard prefix.
 
17601
 
 
17602
Alternatively, you may set the environment variables GOBJECT_CFLAGS
 
17603
and GOBJECT_LIBS to avoid the need to call pkg-config.
 
17604
See the pkg-config man page for more details." "$LINENO" 5
 
17605
 
 
17606
elif test $pkg_failed = untried; then
 
17607
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17608
$as_echo "no" >&6; }
 
17609
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
17610
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
17611
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
17612
is in your PATH or set the PKG_CONFIG environment variable to the full
 
17613
path to pkg-config.
 
17614
 
 
17615
Alternatively, you may set the environment variables GOBJECT_CFLAGS
 
17616
and GOBJECT_LIBS to avoid the need to call pkg-config.
 
17617
See the pkg-config man page for more details.
 
17618
 
 
17619
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
17620
See \`config.log' for more details" "$LINENO" 5; }
 
17621
 
 
17622
else
 
17623
        GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
 
17624
        GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
 
17625
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17626
$as_echo "yes" >&6; }
 
17627
 
 
17628
fi
 
17629
 
 
17630
 
 
17631
 
 
17632
 
 
17633
pkg_failed=no
16418
17634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
16419
17635
$as_echo_n "checking for GTK... " >&6; }
16420
17636
 
16480
17696
Alternatively, you may set the environment variables GTK_CFLAGS
16481
17697
and GTK_LIBS to avoid the need to call pkg-config.
16482
17698
See the pkg-config man page for more details." "$LINENO" 5
 
17699
 
16483
17700
elif test $pkg_failed = untried; then
16484
17701
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16485
17702
$as_echo "no" >&6; }
16494
17711
See the pkg-config man page for more details.
16495
17712
 
16496
17713
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16497
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
17714
See \`config.log' for more details" "$LINENO" 5; }
 
17715
 
16498
17716
else
16499
17717
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
16500
17718
        GTK_LIBS=$pkg_cv_GTK_LIBS
16588
17806
fi
16589
17807
 
16590
17808
 
16591
 
# GLIB_GSETTINGS([],[:])
 
17809
 
 
17810
 
 
17811
  # Check whether --enable-schemas-compile was given.
 
17812
if test "${enable_schemas_compile+set}" = set; then :
 
17813
  enableval=$enable_schemas_compile; case ${enableval} in
 
17814
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
 
17815
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
 
17816
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
 
17817
                 esac
 
17818
fi
 
17819
 
 
17820
 
 
17821
 
 
17822
 
 
17823
 
 
17824
 
 
17825
 
 
17826
 
 
17827
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
17828
        if test -n "$ac_tool_prefix"; then
 
17829
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
17830
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
17831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17832
$as_echo_n "checking for $ac_word... " >&6; }
 
17833
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
17834
  $as_echo_n "(cached) " >&6
 
17835
else
 
17836
  case $PKG_CONFIG in
 
17837
  [\\/]* | ?:[\\/]*)
 
17838
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
17839
  ;;
 
17840
  *)
 
17841
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17842
for as_dir in $PATH
 
17843
do
 
17844
  IFS=$as_save_IFS
 
17845
  test -z "$as_dir" && as_dir=.
 
17846
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17847
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17848
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
17849
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17850
    break 2
 
17851
  fi
 
17852
done
 
17853
  done
 
17854
IFS=$as_save_IFS
 
17855
 
 
17856
  ;;
 
17857
esac
 
17858
fi
 
17859
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
17860
if test -n "$PKG_CONFIG"; then
 
17861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
17862
$as_echo "$PKG_CONFIG" >&6; }
 
17863
else
 
17864
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17865
$as_echo "no" >&6; }
 
17866
fi
 
17867
 
 
17868
 
 
17869
fi
 
17870
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
17871
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
17872
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
17873
set dummy pkg-config; ac_word=$2
 
17874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17875
$as_echo_n "checking for $ac_word... " >&6; }
 
17876
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
17877
  $as_echo_n "(cached) " >&6
 
17878
else
 
17879
  case $ac_pt_PKG_CONFIG in
 
17880
  [\\/]* | ?:[\\/]*)
 
17881
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
17882
  ;;
 
17883
  *)
 
17884
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17885
for as_dir in $PATH
 
17886
do
 
17887
  IFS=$as_save_IFS
 
17888
  test -z "$as_dir" && as_dir=.
 
17889
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17890
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17891
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
17892
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17893
    break 2
 
17894
  fi
 
17895
done
 
17896
  done
 
17897
IFS=$as_save_IFS
 
17898
 
 
17899
  ;;
 
17900
esac
 
17901
fi
 
17902
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
17903
if test -n "$ac_pt_PKG_CONFIG"; then
 
17904
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
17905
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
17906
else
 
17907
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17908
$as_echo "no" >&6; }
 
17909
fi
 
17910
 
 
17911
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
17912
    PKG_CONFIG=""
 
17913
  else
 
17914
    case $cross_compiling:$ac_tool_warned in
 
17915
yes:)
 
17916
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
17917
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
17918
ac_tool_warned=yes ;;
 
17919
esac
 
17920
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
17921
  fi
 
17922
else
 
17923
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
17924
fi
 
17925
 
 
17926
fi
 
17927
if test -n "$PKG_CONFIG"; then
 
17928
        _pkg_min_version=0.16
 
17929
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
17930
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
17931
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
17932
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17933
$as_echo "yes" >&6; }
 
17934
        else
 
17935
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17936
$as_echo "no" >&6; }
 
17937
                PKG_CONFIG=""
 
17938
        fi
 
17939
fi
 
17940
  gsettingsschemadir=${datadir}/glib-2.0/schemas
 
17941
 
 
17942
  if test x$cross_compiling != xyes; then
 
17943
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
 
17944
  else
 
17945
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
 
17946
set dummy glib-compile-schemas; ac_word=$2
 
17947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17948
$as_echo_n "checking for $ac_word... " >&6; }
 
17949
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
 
17950
  $as_echo_n "(cached) " >&6
 
17951
else
 
17952
  case $GLIB_COMPILE_SCHEMAS in
 
17953
  [\\/]* | ?:[\\/]*)
 
17954
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
 
17955
  ;;
 
17956
  *)
 
17957
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17958
for as_dir in $PATH
 
17959
do
 
17960
  IFS=$as_save_IFS
 
17961
  test -z "$as_dir" && as_dir=.
 
17962
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17963
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17964
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
 
17965
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17966
    break 2
 
17967
  fi
 
17968
done
 
17969
  done
 
17970
IFS=$as_save_IFS
 
17971
 
 
17972
  ;;
 
17973
esac
 
17974
fi
 
17975
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
 
17976
if test -n "$GLIB_COMPILE_SCHEMAS"; then
 
17977
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
 
17978
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
 
17979
else
 
17980
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17981
$as_echo "no" >&6; }
 
17982
fi
 
17983
 
 
17984
 
 
17985
  fi
 
17986
 
 
17987
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
 
17988
    :
 
17989
  else
 
17990
    :
 
17991
  fi
 
17992
 
 
17993
  GSETTINGS_RULES='
 
17994
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
 
17995
 
 
17996
mostlyclean-am: clean-gsettings-schemas
 
17997
 
 
17998
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
 
17999
 
 
18000
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
 
18001
        $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
 
18002
 
 
18003
all-am: $(gsettings_SCHEMAS:.xml=.valid)
 
18004
uninstall-am: uninstall-gsettings-schemas
 
18005
install-data-am: install-gsettings-schemas
 
18006
 
 
18007
.SECONDARY: $(gsettings_SCHEMAS)
 
18008
 
 
18009
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
 
18010
        @$(NORMAL_INSTALL)
 
18011
        if test -n "$^"; then \
 
18012
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
 
18013
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
 
18014
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
 
18015
        fi
 
18016
 
 
18017
uninstall-gsettings-schemas:
 
18018
        @$(NORMAL_UNINSTALL)
 
18019
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
 
18020
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
 
18021
        test -n "$$files" || exit 0; \
 
18022
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
 
18023
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
 
18024
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
 
18025
 
 
18026
clean-gsettings-schemas:
 
18027
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
 
18028
 
 
18029
ifdef gsettings_ENUM_NAMESPACE
 
18030
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
 
18031
        $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
 
18032
endif
 
18033
'
 
18034
 
 
18035
 
 
18036
 
 
18037
 
 
18038
 
 
18039
 
16592
18040
 
16593
18041
# Check for GNOME modules
16594
18042
 
16629
18077
if test "${enable_schemas_install+set}" = set; then :
16630
18078
  enableval=$enable_schemas_install; case ${enableval} in
16631
18079
       yes|no) ;;
16632
 
       *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5  ;;
 
18080
       *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
16633
18081
      esac
16634
18082
fi
16635
18083
 
16646
18094
set dummy gconftool-2; ac_word=$2
16647
18095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16648
18096
$as_echo_n "checking for $ac_word... " >&6; }
16649
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
 
18097
if ${ac_cv_path_GCONFTOOL+:} false; then :
16650
18098
  $as_echo_n "(cached) " >&6
16651
18099
else
16652
18100
  case $GCONFTOOL in
16751
18199
Alternatively, you may set the environment variables GNOME_CFLAGS
16752
18200
and GNOME_LIBS to avoid the need to call pkg-config.
16753
18201
See the pkg-config man page for more details." "$LINENO" 5
 
18202
 
16754
18203
elif test $pkg_failed = untried; then
16755
18204
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16756
18205
$as_echo "no" >&6; }
16765
18214
See the pkg-config man page for more details.
16766
18215
 
16767
18216
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16768
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
18217
See \`config.log' for more details" "$LINENO" 5; }
 
18218
 
16769
18219
else
16770
18220
        GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
16771
18221
        GNOME_LIBS=$pkg_cv_GNOME_LIBS
16868
18318
Alternatively, you may set the environment variables HILDON_CFLAGS
16869
18319
and HILDON_LIBS to avoid the need to call pkg-config.
16870
18320
See the pkg-config man page for more details." "$LINENO" 5
 
18321
 
16871
18322
elif test $pkg_failed = untried; then
16872
18323
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16873
18324
$as_echo "no" >&6; }
16882
18333
See the pkg-config man page for more details.
16883
18334
 
16884
18335
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16885
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
18336
See \`config.log' for more details" "$LINENO" 5; }
 
18337
 
16886
18338
else
16887
18339
        HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
16888
18340
        HILDON_LIBS=$pkg_cv_HILDON_LIBS
16985
18437
Alternatively, you may set the environment variables HILDON_CFLAGS
16986
18438
and HILDON_LIBS to avoid the need to call pkg-config.
16987
18439
See the pkg-config man page for more details." "$LINENO" 5
 
18440
 
16988
18441
elif test $pkg_failed = untried; then
16989
18442
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16990
18443
$as_echo "no" >&6; }
16999
18452
See the pkg-config man page for more details.
17000
18453
 
17001
18454
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17002
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
18455
See \`config.log' for more details" "$LINENO" 5; }
 
18456
 
17003
18457
else
17004
18458
        HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
17005
18459
        HILDON_LIBS=$pkg_cv_HILDON_LIBS
17019
18473
if test "$need_rsvg" = "yes"; then
17020
18474
  have_rsvg=yes
17021
18475
 
 
18476
  if test "$require_cairo_1_10" = "yes"; then
 
18477
    CAIRO_REQUIRED=1.10.0
 
18478
  else
 
18479
    CAIRO_REQUIRED=1.0
 
18480
  fi
 
18481
 
17022
18482
  # Errors out if rsvg is not found
17023
18483
 
17024
18484
pkg_failed=no
17105
18565
Alternatively, you may set the environment variables RSVG_CFLAGS
17106
18566
and RSVG_LIBS to avoid the need to call pkg-config.
17107
18567
See the pkg-config man page for more details." "$LINENO" 5
 
18568
 
17108
18569
elif test $pkg_failed = untried; then
17109
18570
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17110
18571
$as_echo "no" >&6; }
17119
18580
See the pkg-config man page for more details.
17120
18581
 
17121
18582
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17122
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
18583
See \`config.log' for more details" "$LINENO" 5; }
 
18584
 
17123
18585
else
17124
18586
        RSVG_CFLAGS=$pkg_cv_RSVG_CFLAGS
17125
18587
        RSVG_LIBS=$pkg_cv_RSVG_LIBS
17157
18619
fi
17158
18620
 
17159
18621
 
 
18622
# Check for SQLite
 
18623
 
 
18624
have_sqlite=no
 
18625
if test "$need_sqlite" = "yes"; then
 
18626
  have_sqlite=yes
 
18627
 
 
18628
  # Errors out if sqlite is not found
 
18629
 
 
18630
pkg_failed=no
 
18631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
 
18632
$as_echo_n "checking for SQLITE... " >&6; }
 
18633
 
 
18634
if test -n "$SQLITE_CFLAGS"; then
 
18635
    pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
 
18636
 elif test -n "$PKG_CONFIG"; then
 
18637
    if test -n "$PKG_CONFIG" && \
 
18638
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
 
18639
  ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
 
18640
  ac_status=$?
 
18641
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
18642
  test $ac_status = 0; }; then
 
18643
  pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
 
18644
else
 
18645
  pkg_failed=yes
 
18646
fi
 
18647
 else
 
18648
    pkg_failed=untried
 
18649
fi
 
18650
if test -n "$SQLITE_LIBS"; then
 
18651
    pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
 
18652
 elif test -n "$PKG_CONFIG"; then
 
18653
    if test -n "$PKG_CONFIG" && \
 
18654
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
 
18655
  ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
 
18656
  ac_status=$?
 
18657
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
18658
  test $ac_status = 0; }; then
 
18659
  pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
 
18660
else
 
18661
  pkg_failed=yes
 
18662
fi
 
18663
 else
 
18664
    pkg_failed=untried
 
18665
fi
 
18666
 
 
18667
 
 
18668
 
 
18669
if test $pkg_failed = yes; then
 
18670
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18671
$as_echo "no" >&6; }
 
18672
 
 
18673
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
18674
        _pkg_short_errors_supported=yes
 
18675
else
 
18676
        _pkg_short_errors_supported=no
 
18677
fi
 
18678
        if test $_pkg_short_errors_supported = yes; then
 
18679
                SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sqlite3" 2>&1`
 
18680
        else
 
18681
                SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sqlite3" 2>&1`
 
18682
        fi
 
18683
        # Put the nasty error message in config.log where it belongs
 
18684
        echo "$SQLITE_PKG_ERRORS" >&5
 
18685
 
 
18686
        as_fn_error $? "Package requirements (sqlite3) were not met:
 
18687
 
 
18688
$SQLITE_PKG_ERRORS
 
18689
 
 
18690
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
18691
installed software in a non-standard prefix.
 
18692
 
 
18693
Alternatively, you may set the environment variables SQLITE_CFLAGS
 
18694
and SQLITE_LIBS to avoid the need to call pkg-config.
 
18695
See the pkg-config man page for more details." "$LINENO" 5
 
18696
 
 
18697
elif test $pkg_failed = untried; then
 
18698
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18699
$as_echo "no" >&6; }
 
18700
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
18701
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
18702
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
18703
is in your PATH or set the PKG_CONFIG environment variable to the full
 
18704
path to pkg-config.
 
18705
 
 
18706
Alternatively, you may set the environment variables SQLITE_CFLAGS
 
18707
and SQLITE_LIBS to avoid the need to call pkg-config.
 
18708
See the pkg-config man page for more details.
 
18709
 
 
18710
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
18711
See \`config.log' for more details" "$LINENO" 5; }
 
18712
 
 
18713
else
 
18714
        SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
 
18715
        SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
 
18716
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18717
$as_echo "yes" >&6; }
 
18718
 
 
18719
fi
 
18720
 
 
18721
 
 
18722
 
 
18723
 
 
18724
 
 
18725
$as_echo "#define HAVE_SQLITE 1" >>confdefs.h
 
18726
 
 
18727
fi
 
18728
 
 
18729
 if test "$have_sqlite" = "yes"; then
 
18730
  HAVE_SQLITE_TRUE=
 
18731
  HAVE_SQLITE_FALSE='#'
 
18732
else
 
18733
  HAVE_SQLITE_TRUE='#'
 
18734
  HAVE_SQLITE_FALSE=
 
18735
fi
 
18736
 
 
18737
 
 
18738
# Check for OpenGL
 
18739
 
 
18740
have_opengl=no
 
18741
if test "$need_opengl" = "yes"; then
 
18742
  have_opengl=yes
 
18743
 
 
18744
  # Errors out if OpenGL is not found
 
18745
 
 
18746
pkg_failed=no
 
18747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENGL" >&5
 
18748
$as_echo_n "checking for OPENGL... " >&6; }
 
18749
 
 
18750
if test -n "$OPENGL_CFLAGS"; then
 
18751
    pkg_cv_OPENGL_CFLAGS="$OPENGL_CFLAGS"
 
18752
 elif test -n "$PKG_CONFIG"; then
 
18753
    if test -n "$PKG_CONFIG" && \
 
18754
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
18755
    gl glu\""; } >&5
 
18756
  ($PKG_CONFIG --exists --print-errors "
 
18757
    gl glu") 2>&5
 
18758
  ac_status=$?
 
18759
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
18760
  test $ac_status = 0; }; then
 
18761
  pkg_cv_OPENGL_CFLAGS=`$PKG_CONFIG --cflags "
 
18762
    gl glu" 2>/dev/null`
 
18763
else
 
18764
  pkg_failed=yes
 
18765
fi
 
18766
 else
 
18767
    pkg_failed=untried
 
18768
fi
 
18769
if test -n "$OPENGL_LIBS"; then
 
18770
    pkg_cv_OPENGL_LIBS="$OPENGL_LIBS"
 
18771
 elif test -n "$PKG_CONFIG"; then
 
18772
    if test -n "$PKG_CONFIG" && \
 
18773
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
18774
    gl glu\""; } >&5
 
18775
  ($PKG_CONFIG --exists --print-errors "
 
18776
    gl glu") 2>&5
 
18777
  ac_status=$?
 
18778
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
18779
  test $ac_status = 0; }; then
 
18780
  pkg_cv_OPENGL_LIBS=`$PKG_CONFIG --libs "
 
18781
    gl glu" 2>/dev/null`
 
18782
else
 
18783
  pkg_failed=yes
 
18784
fi
 
18785
 else
 
18786
    pkg_failed=untried
 
18787
fi
 
18788
 
 
18789
 
 
18790
 
 
18791
if test $pkg_failed = yes; then
 
18792
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18793
$as_echo "no" >&6; }
 
18794
 
 
18795
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
18796
        _pkg_short_errors_supported=yes
 
18797
else
 
18798
        _pkg_short_errors_supported=no
 
18799
fi
 
18800
        if test $_pkg_short_errors_supported = yes; then
 
18801
                OPENGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
18802
    gl glu" 2>&1`
 
18803
        else
 
18804
                OPENGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
18805
    gl glu" 2>&1`
 
18806
        fi
 
18807
        # Put the nasty error message in config.log where it belongs
 
18808
        echo "$OPENGL_PKG_ERRORS" >&5
 
18809
 
 
18810
        as_fn_error $? "Package requirements (
 
18811
    gl glu) were not met:
 
18812
 
 
18813
$OPENGL_PKG_ERRORS
 
18814
 
 
18815
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
18816
installed software in a non-standard prefix.
 
18817
 
 
18818
Alternatively, you may set the environment variables OPENGL_CFLAGS
 
18819
and OPENGL_LIBS to avoid the need to call pkg-config.
 
18820
See the pkg-config man page for more details." "$LINENO" 5
 
18821
 
 
18822
elif test $pkg_failed = untried; then
 
18823
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18824
$as_echo "no" >&6; }
 
18825
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
18826
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
18827
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
18828
is in your PATH or set the PKG_CONFIG environment variable to the full
 
18829
path to pkg-config.
 
18830
 
 
18831
Alternatively, you may set the environment variables OPENGL_CFLAGS
 
18832
and OPENGL_LIBS to avoid the need to call pkg-config.
 
18833
See the pkg-config man page for more details.
 
18834
 
 
18835
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
18836
See \`config.log' for more details" "$LINENO" 5; }
 
18837
 
 
18838
else
 
18839
        OPENGL_CFLAGS=$pkg_cv_OPENGL_CFLAGS
 
18840
        OPENGL_LIBS=$pkg_cv_OPENGL_LIBS
 
18841
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18842
$as_echo "yes" >&6; }
 
18843
 
 
18844
fi
 
18845
 
 
18846
 
 
18847
 
 
18848
 
 
18849
 
 
18850
$as_echo "#define HAVE_OPENGL 1" >>confdefs.h
 
18851
 
 
18852
fi
 
18853
 
 
18854
 if test "$have_opengl" = "yes"; then
 
18855
  HAVE_OPENGL_TRUE=
 
18856
  HAVE_OPENGL_FALSE='#'
 
18857
else
 
18858
  HAVE_OPENGL_TRUE='#'
 
18859
  HAVE_OPENGL_FALSE=
 
18860
fi
 
18861
 
 
18862
 
 
18863
# Check for GLX
 
18864
 
 
18865
have_glx=no
 
18866
if test "$need_glx" = "yes"; then
 
18867
  have_glx=yes
 
18868
 
 
18869
  # Errors out if GLX is not found
 
18870
 
 
18871
pkg_failed=no
 
18872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLX" >&5
 
18873
$as_echo_n "checking for GLX... " >&6; }
 
18874
 
 
18875
if test -n "$GLX_CFLAGS"; then
 
18876
    pkg_cv_GLX_CFLAGS="$GLX_CFLAGS"
 
18877
 elif test -n "$PKG_CONFIG"; then
 
18878
    if test -n "$PKG_CONFIG" && \
 
18879
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
18880
    gl x11\""; } >&5
 
18881
  ($PKG_CONFIG --exists --print-errors "
 
18882
    gl x11") 2>&5
 
18883
  ac_status=$?
 
18884
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
18885
  test $ac_status = 0; }; then
 
18886
  pkg_cv_GLX_CFLAGS=`$PKG_CONFIG --cflags "
 
18887
    gl x11" 2>/dev/null`
 
18888
else
 
18889
  pkg_failed=yes
 
18890
fi
 
18891
 else
 
18892
    pkg_failed=untried
 
18893
fi
 
18894
if test -n "$GLX_LIBS"; then
 
18895
    pkg_cv_GLX_LIBS="$GLX_LIBS"
 
18896
 elif test -n "$PKG_CONFIG"; then
 
18897
    if test -n "$PKG_CONFIG" && \
 
18898
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
18899
    gl x11\""; } >&5
 
18900
  ($PKG_CONFIG --exists --print-errors "
 
18901
    gl x11") 2>&5
 
18902
  ac_status=$?
 
18903
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
18904
  test $ac_status = 0; }; then
 
18905
  pkg_cv_GLX_LIBS=`$PKG_CONFIG --libs "
 
18906
    gl x11" 2>/dev/null`
 
18907
else
 
18908
  pkg_failed=yes
 
18909
fi
 
18910
 else
 
18911
    pkg_failed=untried
 
18912
fi
 
18913
 
 
18914
 
 
18915
 
 
18916
if test $pkg_failed = yes; then
 
18917
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18918
$as_echo "no" >&6; }
 
18919
 
 
18920
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
18921
        _pkg_short_errors_supported=yes
 
18922
else
 
18923
        _pkg_short_errors_supported=no
 
18924
fi
 
18925
        if test $_pkg_short_errors_supported = yes; then
 
18926
                GLX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
18927
    gl x11" 2>&1`
 
18928
        else
 
18929
                GLX_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
18930
    gl x11" 2>&1`
 
18931
        fi
 
18932
        # Put the nasty error message in config.log where it belongs
 
18933
        echo "$GLX_PKG_ERRORS" >&5
 
18934
 
 
18935
        as_fn_error $? "Package requirements (
 
18936
    gl x11) were not met:
 
18937
 
 
18938
$GLX_PKG_ERRORS
 
18939
 
 
18940
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
18941
installed software in a non-standard prefix.
 
18942
 
 
18943
Alternatively, you may set the environment variables GLX_CFLAGS
 
18944
and GLX_LIBS to avoid the need to call pkg-config.
 
18945
See the pkg-config man page for more details." "$LINENO" 5
 
18946
 
 
18947
elif test $pkg_failed = untried; then
 
18948
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18949
$as_echo "no" >&6; }
 
18950
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
18951
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
18952
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
18953
is in your PATH or set the PKG_CONFIG environment variable to the full
 
18954
path to pkg-config.
 
18955
 
 
18956
Alternatively, you may set the environment variables GLX_CFLAGS
 
18957
and GLX_LIBS to avoid the need to call pkg-config.
 
18958
See the pkg-config man page for more details.
 
18959
 
 
18960
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
18961
See \`config.log' for more details" "$LINENO" 5; }
 
18962
 
 
18963
else
 
18964
        GLX_CFLAGS=$pkg_cv_GLX_CFLAGS
 
18965
        GLX_LIBS=$pkg_cv_GLX_LIBS
 
18966
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18967
$as_echo "yes" >&6; }
 
18968
 
 
18969
fi
 
18970
 
 
18971
 
 
18972
 
 
18973
 
 
18974
 
 
18975
$as_echo "#define HAVE_GLX 1" >>confdefs.h
 
18976
 
 
18977
fi
 
18978
 
 
18979
 if test "$have_glx" = "yes"; then
 
18980
  HAVE_GLX_TRUE=
 
18981
  HAVE_GLX_FALSE='#'
 
18982
else
 
18983
  HAVE_GLX_TRUE='#'
 
18984
  HAVE_GLX_FALSE=
 
18985
fi
 
18986
 
 
18987
 
17160
18988
# Check for Clutter
17161
18989
 
17162
18990
if test "$need_clutter" = "yes"; then
17229
19057
Alternatively, you may set the environment variables CLUTTER_CFLAGS
17230
19058
and CLUTTER_LIBS to avoid the need to call pkg-config.
17231
19059
See the pkg-config man page for more details." "$LINENO" 5
 
19060
 
17232
19061
elif test $pkg_failed = untried; then
17233
19062
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17234
19063
$as_echo "no" >&6; }
17243
19072
See the pkg-config man page for more details.
17244
19073
 
17245
19074
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17246
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
19075
See \`config.log' for more details" "$LINENO" 5; }
 
19076
 
17247
19077
else
17248
19078
        CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
17249
19079
        CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
17259
19089
         CLUTTER_GTK_REQUIRED=0.10.2
17260
19090
         ;;
17261
19091
    3.0) CLUTTER_GTK_API_VERSION=1.0
17262
 
         CLUTTER_GTK_REQUIRED=0.90.3
 
19092
         CLUTTER_GTK_REQUIRED=0.91.6
17263
19093
         ;;
17264
19094
  esac
17265
19095
 
17330
19160
Alternatively, you may set the environment variables CLUTTER_GTK_CFLAGS
17331
19161
and CLUTTER_GTK_LIBS to avoid the need to call pkg-config.
17332
19162
See the pkg-config man page for more details." "$LINENO" 5
 
19163
 
17333
19164
elif test $pkg_failed = untried; then
17334
19165
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17335
19166
$as_echo "no" >&6; }
17344
19175
See the pkg-config man page for more details.
17345
19176
 
17346
19177
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17347
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
19178
See \`config.log' for more details" "$LINENO" 5; }
 
19179
 
17348
19180
else
17349
19181
        CLUTTER_GTK_CFLAGS=$pkg_cv_CLUTTER_GTK_CFLAGS
17350
19182
        CLUTTER_GTK_LIBS=$pkg_cv_CLUTTER_GTK_LIBS
17365
19197
fi
17366
19198
 
17367
19199
 
17368
 
# Check for PyGTK
 
19200
# Check for PyGObject
17369
19201
 
17370
19202
if test "$have_python" = "yes"; then
17371
19203
 
17372
19204
pkg_failed=no
17373
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5
17374
 
$as_echo_n "checking for PYGTK... " >&6; }
 
19205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT" >&5
 
19206
$as_echo_n "checking for PYGOBJECT... " >&6; }
17375
19207
 
17376
 
if test -n "$PYGTK_CFLAGS"; then
17377
 
    pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
 
19208
if test -n "$PYGOBJECT_CFLAGS"; then
 
19209
    pkg_cv_PYGOBJECT_CFLAGS="$PYGOBJECT_CFLAGS"
17378
19210
 elif test -n "$PKG_CONFIG"; then
17379
19211
    if test -n "$PKG_CONFIG" && \
17380
19212
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
17381
 
    pygtk-2.0 >= \$PYGTK_REQUIRED\""; } >&5
 
19213
    pygobject-2.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
17382
19214
  ($PKG_CONFIG --exists --print-errors "
17383
 
    pygtk-2.0 >= $PYGTK_REQUIRED") 2>&5
 
19215
    pygobject-2.0 >= $PYGOBJECT_REQUIRED") 2>&5
17384
19216
  ac_status=$?
17385
19217
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17386
19218
  test $ac_status = 0; }; then
17387
 
  pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "
17388
 
    pygtk-2.0 >= $PYGTK_REQUIRED" 2>/dev/null`
 
19219
  pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "
 
19220
    pygobject-2.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
17389
19221
else
17390
19222
  pkg_failed=yes
17391
19223
fi
17392
19224
 else
17393
19225
    pkg_failed=untried
17394
19226
fi
17395
 
if test -n "$PYGTK_LIBS"; then
17396
 
    pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
 
19227
if test -n "$PYGOBJECT_LIBS"; then
 
19228
    pkg_cv_PYGOBJECT_LIBS="$PYGOBJECT_LIBS"
17397
19229
 elif test -n "$PKG_CONFIG"; then
17398
19230
    if test -n "$PKG_CONFIG" && \
17399
19231
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
17400
 
    pygtk-2.0 >= \$PYGTK_REQUIRED\""; } >&5
 
19232
    pygobject-2.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
17401
19233
  ($PKG_CONFIG --exists --print-errors "
17402
 
    pygtk-2.0 >= $PYGTK_REQUIRED") 2>&5
 
19234
    pygobject-2.0 >= $PYGOBJECT_REQUIRED") 2>&5
17403
19235
  ac_status=$?
17404
19236
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17405
19237
  test $ac_status = 0; }; then
17406
 
  pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "
17407
 
    pygtk-2.0 >= $PYGTK_REQUIRED" 2>/dev/null`
 
19238
  pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "
 
19239
    pygobject-2.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
17408
19240
else
17409
19241
  pkg_failed=yes
17410
19242
fi
17424
19256
        _pkg_short_errors_supported=no
17425
19257
fi
17426
19258
        if test $_pkg_short_errors_supported = yes; then
17427
 
                PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
17428
 
    pygtk-2.0 >= $PYGTK_REQUIRED" 2>&1`
 
19259
                PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
19260
    pygobject-2.0 >= $PYGOBJECT_REQUIRED" 2>&1`
17429
19261
        else
17430
 
                PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "
17431
 
    pygtk-2.0 >= $PYGTK_REQUIRED" 2>&1`
 
19262
                PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
19263
    pygobject-2.0 >= $PYGOBJECT_REQUIRED" 2>&1`
17432
19264
        fi
17433
19265
        # Put the nasty error message in config.log where it belongs
17434
 
        echo "$PYGTK_PKG_ERRORS" >&5
 
19266
        echo "$PYGOBJECT_PKG_ERRORS" >&5
17435
19267
 
17436
19268
        have_pygtk=no
17437
19269
elif test $pkg_failed = untried; then
17439
19271
$as_echo "no" >&6; }
17440
19272
        have_pygtk=no
17441
19273
else
17442
 
        PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
17443
 
        PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
 
19274
        PYGOBJECT_CFLAGS=$pkg_cv_PYGOBJECT_CFLAGS
 
19275
        PYGOBJECT_LIBS=$pkg_cv_PYGOBJECT_LIBS
17444
19276
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17445
19277
$as_echo "yes" >&6; }
17446
19278
        have_pygtk=yes
17449
19281
 
17450
19282
enable_python=no
17451
19283
if test "$have_python" = "yes" -a "$have_pygtk" = "yes"; then
17452
 
 
17453
 
 
17454
 
 
17455
19284
  enable_python=yes
17456
19285
fi
17457
19286
 
17458
19287
if test "$enable_python" = "no" -a "$need_python" = "yes"; then
17459
 
  as_fn_error $? "Some games need python, but python or pygtk packages were not found." "$LINENO" 5
 
19288
  as_fn_error $? "Some games need python, but pygobject packages were not found." "$LINENO" 5
17460
19289
fi
17461
19290
 
17462
19291
 if test "$enable_python" = "yes"; then
17570
19399
 
17571
19400
SMCLIENT_PKGS=
17572
19401
if test "$allow_smclient" = "yes"; then
17573
 
  GDK_TARGET="$($PKG_CONFIG --variable target gdk-$GTK_API_VERSION)"
 
19402
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK target" >&5
 
19403
$as_echo_n "checking for GDK target... " >&6; }
 
19404
  case "$with_gtk" in
 
19405
    2.0) GDK_TARGET="$($PKG_CONFIG --variable target gdk-$GTK_API_VERSION)" ;;
 
19406
    3.0) for target in $($PKG_CONFIG --variable targets gdk-$GTK_API_VERSION); do
 
19407
           GDK_TARGET="$target"
 
19408
           break
 
19409
         done
 
19410
         ;;
 
19411
  esac
 
19412
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_TARGET" >&5
 
19413
$as_echo "$GDK_TARGET" >&6; }
 
19414
 
 
19415
  case "$GDK_TARGET" in
 
19416
    x11|win32|quartz) ;;
 
19417
    *) as_fn_error $? "unknown GDK target" "$LINENO" 5
 
19418
  esac
17574
19419
 
17575
19420
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which smclient backend to use" >&5
17576
19421
$as_echo_n "checking which smclient backend to use... " >&6; }
17662
19507
Alternatively, you may set the environment variables SMCLIENT_CFLAGS
17663
19508
and SMCLIENT_LIBS to avoid the need to call pkg-config.
17664
19509
See the pkg-config man page for more details." "$LINENO" 5
 
19510
 
17665
19511
elif test $pkg_failed = untried; then
17666
19512
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17667
19513
$as_echo "no" >&6; }
17676
19522
See the pkg-config man page for more details.
17677
19523
 
17678
19524
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17679
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
19525
See \`config.log' for more details" "$LINENO" 5; }
 
19526
 
17680
19527
else
17681
19528
        SMCLIENT_CFLAGS=$pkg_cv_SMCLIENT_CFLAGS
17682
19529
        SMCLIENT_LIBS=$pkg_cv_SMCLIENT_LIBS
17736
19583
set dummy glib-genmarshal; ac_word=$2
17737
19584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17738
19585
$as_echo_n "checking for $ac_word... " >&6; }
17739
 
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
 
19586
if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
17740
19587
  $as_echo_n "(cached) " >&6
17741
19588
else
17742
19589
  case $GLIB_GENMARSHAL in
17787
19634
set dummy ${ac_tool_prefix}windres; ac_word=$2
17788
19635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17789
19636
$as_echo_n "checking for $ac_word... " >&6; }
17790
 
if test "${ac_cv_prog_WINDRES+set}" = set; then :
 
19637
if ${ac_cv_prog_WINDRES+:} false; then :
17791
19638
  $as_echo_n "(cached) " >&6
17792
19639
else
17793
19640
  if test -n "$WINDRES"; then
17827
19674
set dummy windres; ac_word=$2
17828
19675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17829
19676
$as_echo_n "checking for $ac_word... " >&6; }
17830
 
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
 
19677
if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
17831
19678
  $as_echo_n "(cached) " >&6
17832
19679
else
17833
19680
  if test -n "$ac_ct_WINDRES"; then
17939
19786
   for ac_header in locale.h
17940
19787
do :
17941
19788
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
17942
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
19789
if test "x$ac_cv_header_locale_h" = xyes; then :
17943
19790
  cat >>confdefs.h <<_ACEOF
17944
19791
#define HAVE_LOCALE_H 1
17945
19792
_ACEOF
17951
19798
    if test $ac_cv_header_locale_h = yes; then
17952
19799
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
17953
19800
$as_echo_n "checking for LC_MESSAGES... " >&6; }
17954
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
19801
if ${am_cv_val_LC_MESSAGES+:} false; then :
17955
19802
  $as_echo_n "(cached) " >&6
17956
19803
else
17957
19804
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991
19838
    INTLLIBS=
17992
19839
 
17993
19840
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
17994
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
19841
if test "x$ac_cv_header_libintl_h" = xyes; then :
17995
19842
  gt_cv_func_dgettext_libintl="no"
17996
19843
      libintl_extra_libs=""
17997
19844
 
18000
19847
      #
18001
19848
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
18002
19849
$as_echo_n "checking for ngettext in libc... " >&6; }
18003
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
19850
if ${gt_cv_func_ngettext_libc+:} false; then :
18004
19851
  $as_echo_n "(cached) " >&6
18005
19852
else
18006
19853
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18031
19878
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
18032
19879
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
18033
19880
$as_echo_n "checking for dgettext in libc... " >&6; }
18034
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
19881
if ${gt_cv_func_dgettext_libc+:} false; then :
18035
19882
  $as_echo_n "(cached) " >&6
18036
19883
else
18037
19884
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064
19911
        for ac_func in bind_textdomain_codeset
18065
19912
do :
18066
19913
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18067
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
19914
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
18068
19915
  cat >>confdefs.h <<_ACEOF
18069
19916
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
18070
19917
_ACEOF
18083
19930
 
18084
19931
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
18085
19932
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
18086
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
19933
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
18087
19934
  $as_echo_n "(cached) " >&6
18088
19935
else
18089
19936
  ac_check_lib_save_LIBS=$LIBS
18117
19964
fi
18118
19965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
18119
19966
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
18120
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
19967
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
18121
19968
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
18122
19969
$as_echo_n "checking for ngettext in -lintl... " >&6; }
18123
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
19970
if ${ac_cv_lib_intl_ngettext+:} false; then :
18124
19971
  $as_echo_n "(cached) " >&6
18125
19972
else
18126
19973
  ac_check_lib_save_LIBS=$LIBS
18154
20001
fi
18155
20002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
18156
20003
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
18157
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
20004
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
18158
20005
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
18159
20006
$as_echo_n "checking for dgettext in -lintl... " >&6; }
18160
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
20007
if ${ac_cv_lib_intl_dgettext+:} false; then :
18161
20008
  $as_echo_n "(cached) " >&6
18162
20009
else
18163
20010
  ac_check_lib_save_LIBS=$LIBS
18191
20038
fi
18192
20039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
18193
20040
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
18194
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
20041
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
18195
20042
  gt_cv_func_dgettext_libintl=yes
18196
20043
fi
18197
20044
 
18207
20054
$as_echo "" >&6; }
18208
20055
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
18209
20056
$as_echo_n "checking for ngettext in -lintl... " >&6; }
18210
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
20057
if ${ac_cv_lib_intl_ngettext+:} false; then :
18211
20058
  $as_echo_n "(cached) " >&6
18212
20059
else
18213
20060
  ac_check_lib_save_LIBS=$LIBS
18241
20088
fi
18242
20089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
18243
20090
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
18244
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
20091
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
18245
20092
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
18246
20093
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
18247
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
20094
if ${ac_cv_lib_intl_dcgettext+:} false; then :
18248
20095
  $as_echo_n "(cached) " >&6
18249
20096
else
18250
20097
  ac_check_lib_save_LIBS=$LIBS
18278
20125
fi
18279
20126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
18280
20127
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
18281
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
20128
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
18282
20129
  gt_cv_func_dgettext_libintl=yes
18283
20130
                        libintl_extra_libs=-liconv
18284
20131
else
18303
20150
          for ac_func in bind_textdomain_codeset
18304
20151
do :
18305
20152
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18306
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
20153
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
18307
20154
  cat >>confdefs.h <<_ACEOF
18308
20155
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
18309
20156
_ACEOF
18341
20188
set dummy msgfmt; ac_word=$2
18342
20189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18343
20190
$as_echo_n "checking for $ac_word... " >&6; }
18344
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
20191
if ${ac_cv_path_MSGFMT+:} false; then :
18345
20192
  $as_echo_n "(cached) " >&6
18346
20193
else
18347
20194
  case "$MSGFMT" in
18378
20225
          for ac_func in dcgettext
18379
20226
do :
18380
20227
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
18381
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
20228
if test "x$ac_cv_func_dcgettext" = xyes; then :
18382
20229
  cat >>confdefs.h <<_ACEOF
18383
20230
#define HAVE_DCGETTEXT 1
18384
20231
_ACEOF
18419
20266
set dummy gmsgfmt; ac_word=$2
18420
20267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18421
20268
$as_echo_n "checking for $ac_word... " >&6; }
18422
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
20269
if ${ac_cv_path_GMSGFMT+:} false; then :
18423
20270
  $as_echo_n "(cached) " >&6
18424
20271
else
18425
20272
  case $GMSGFMT in
18460
20307
set dummy xgettext; ac_word=$2
18461
20308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18462
20309
$as_echo_n "checking for $ac_word... " >&6; }
18463
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
20310
if ${ac_cv_path_XGETTEXT+:} false; then :
18464
20311
  $as_echo_n "(cached) " >&6
18465
20312
else
18466
20313
  case "$XGETTEXT" in
18511
20358
  case $host in
18512
20359
            *-*-solaris*)
18513
20360
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18514
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
20361
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
18515
20362
  CATOBJEXT=.gmo
18516
20363
               DATADIRNAME=share
18517
20364
else
18682
20529
set dummy intltool-update; ac_word=$2
18683
20530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18684
20531
$as_echo_n "checking for $ac_word... " >&6; }
18685
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
20532
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
18686
20533
  $as_echo_n "(cached) " >&6
18687
20534
else
18688
20535
  case $INTLTOOL_UPDATE in
18722
20569
set dummy intltool-merge; ac_word=$2
18723
20570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18724
20571
$as_echo_n "checking for $ac_word... " >&6; }
18725
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
20572
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
18726
20573
  $as_echo_n "(cached) " >&6
18727
20574
else
18728
20575
  case $INTLTOOL_MERGE in
18762
20609
set dummy intltool-extract; ac_word=$2
18763
20610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18764
20611
$as_echo_n "checking for $ac_word... " >&6; }
18765
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
20612
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
18766
20613
  $as_echo_n "(cached) " >&6
18767
20614
else
18768
20615
  case $INTLTOOL_EXTRACT in
18923
20770
set dummy xgettext; ac_word=$2
18924
20771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18925
20772
$as_echo_n "checking for $ac_word... " >&6; }
18926
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
20773
if ${ac_cv_path_XGETTEXT+:} false; then :
18927
20774
  $as_echo_n "(cached) " >&6
18928
20775
else
18929
20776
  case $XGETTEXT in
18963
20810
set dummy msgmerge; ac_word=$2
18964
20811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18965
20812
$as_echo_n "checking for $ac_word... " >&6; }
18966
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
20813
if ${ac_cv_path_MSGMERGE+:} false; then :
18967
20814
  $as_echo_n "(cached) " >&6
18968
20815
else
18969
20816
  case $MSGMERGE in
19003
20850
set dummy msgfmt; ac_word=$2
19004
20851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19005
20852
$as_echo_n "checking for $ac_word... " >&6; }
19006
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
20853
if ${ac_cv_path_MSGFMT+:} false; then :
19007
20854
  $as_echo_n "(cached) " >&6
19008
20855
else
19009
20856
  case $MSGFMT in
19043
20890
set dummy gmsgfmt; ac_word=$2
19044
20891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19045
20892
$as_echo_n "checking for $ac_word... " >&6; }
19046
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
20893
if ${ac_cv_path_GMSGFMT+:} false; then :
19047
20894
  $as_echo_n "(cached) " >&6
19048
20895
else
19049
20896
  case $GMSGFMT in
19094
20941
set dummy perl; ac_word=$2
19095
20942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19096
20943
$as_echo_n "checking for $ac_word... " >&6; }
19097
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
20944
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
19098
20945
  $as_echo_n "(cached) " >&6
19099
20946
else
19100
20947
  case $INTLTOOL_PERL in
19178
21025
  case $host in
19179
21026
    *-*-solaris*)
19180
21027
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19181
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
21028
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19182
21029
  DATADIRNAME=share
19183
21030
else
19184
21031
  DATADIRNAME=lib
19213
21060
set dummy ${ac_tool_prefix}guile; ac_word=$2
19214
21061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19215
21062
$as_echo_n "checking for $ac_word... " >&6; }
19216
 
if test "${ac_cv_path_GUILE+set}" = set; then :
 
21063
if ${ac_cv_path_GUILE+:} false; then :
19217
21064
  $as_echo_n "(cached) " >&6
19218
21065
else
19219
21066
  case $GUILE in
19256
21103
set dummy guile; ac_word=$2
19257
21104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19258
21105
$as_echo_n "checking for $ac_word... " >&6; }
19259
 
if test "${ac_cv_path_ac_pt_GUILE+set}" = set; then :
 
21106
if ${ac_cv_path_ac_pt_GUILE+:} false; then :
19260
21107
  $as_echo_n "(cached) " >&6
19261
21108
else
19262
21109
  case $ac_pt_GUILE in
19319
21166
set dummy ${ac_tool_prefix}guile-config; ac_word=$2
19320
21167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19321
21168
$as_echo_n "checking for $ac_word... " >&6; }
19322
 
if test "${ac_cv_path_GUILE_CONFIG+set}" = set; then :
 
21169
if ${ac_cv_path_GUILE_CONFIG+:} false; then :
19323
21170
  $as_echo_n "(cached) " >&6
19324
21171
else
19325
21172
  case $GUILE_CONFIG in
19362
21209
set dummy guile-config; ac_word=$2
19363
21210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19364
21211
$as_echo_n "checking for $ac_word... " >&6; }
19365
 
if test "${ac_cv_path_ac_pt_GUILE_CONFIG+set}" = set; then :
 
21212
if ${ac_cv_path_ac_pt_GUILE_CONFIG+:} false; then :
19366
21213
  $as_echo_n "(cached) " >&6
19367
21214
else
19368
21215
  case $ac_pt_GUILE_CONFIG in
19429
21276
  gg_save_CFLAGS="$CFLAGS"
19430
21277
  CFLAGS="$GUILE_CFLAGS $CFLAGS"
19431
21278
  ac_fn_c_check_header_mongrel "$LINENO" "libguile.h" "ac_cv_header_libguile_h" "$ac_includes_default"
19432
 
if test "x$ac_cv_header_libguile_h" = x""yes; then :
 
21279
if test "x$ac_cv_header_libguile_h" = xyes; then :
19433
21280
  have_guile=yes
19434
21281
else
19435
21282
  as_fn_error $? "guile not found; install guile development headers or use --enable-omitgames=aisleriot" "$LINENO" 5
19490
21337
$as_echo "#define ENABLE_GNUCHESS 1" >>confdefs.h
19491
21338
 
19492
21339
    ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
19493
 
if test "x$ac_cv_header_pthread_h" = x""yes; then :
 
21340
if test "x$ac_cv_header_pthread_h" = xyes; then :
19494
21341
 
19495
21342
else
19496
21343
  as_fn_error $? "*** Cannot find pthread.h header" "$LINENO" 5
19499
21346
 
19500
21347
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
19501
21348
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
19502
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
 
21349
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
19503
21350
  $as_echo_n "(cached) " >&6
19504
21351
else
19505
21352
  ac_check_lib_save_LIBS=$LIBS
19533
21380
fi
19534
21381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
19535
21382
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
19536
 
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
 
21383
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
19537
21384
  PTHREAD_LDFLAGS="$PTHREAD_LDFLAGS -lpthread"
19538
21385
                  PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT"
19539
21386
else
19540
21387
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
19541
21388
$as_echo_n "checking for pthread_create in -lc_r... " >&6; }
19542
 
if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then :
 
21389
if ${ac_cv_lib_c_r_pthread_create+:} false; then :
19543
21390
  $as_echo_n "(cached) " >&6
19544
21391
else
19545
21392
  ac_check_lib_save_LIBS=$LIBS
19573
21420
fi
19574
21421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
19575
21422
$as_echo "$ac_cv_lib_c_r_pthread_create" >&6; }
19576
 
if test "x$ac_cv_lib_c_r_pthread_create" = x""yes; then :
 
21423
if test "x$ac_cv_lib_c_r_pthread_create" = xyes; then :
19577
21424
  PTHREAD_LDFLAGS="$PTHREAD_LDFLAGS -pthread"
19578
21425
                                PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_THREAD_SAFE"
19579
21426
else
19654
21501
 
19655
21502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
19656
21503
$as_echo_n "checking types of arguments for select... " >&6; }
19657
 
if test "${ac_cv_func_select_args+set}" = set; then :
 
21504
if ${ac_cv_func_select_args+:} false; then :
19658
21505
  $as_echo_n "(cached) " >&6
19659
21506
else
19660
21507
  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
19688
21535
 done
19689
21536
done
19690
21537
# Provide a safe default value.
19691
 
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
 
21538
: "${ac_cv_func_select_args=int,int *,struct timeval *}"
19692
21539
 
19693
21540
fi
19694
21541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
19717
21564
 
19718
21565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19719
21566
$as_echo_n "checking for ANSI C header files... " >&6; }
19720
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
21567
if ${ac_cv_header_stdc+:} false; then :
19721
21568
  $as_echo_n "(cached) " >&6
19722
21569
else
19723
21570
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830
21677
 
19831
21678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
19832
21679
$as_echo_n "checking return type of signal handlers... " >&6; }
19833
 
if test "${ac_cv_type_signal+set}" = set; then :
 
21680
if ${ac_cv_type_signal+:} false; then :
19834
21681
  $as_echo_n "(cached) " >&6
19835
21682
else
19836
21683
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862
21709
 
19863
21710
 
19864
21711
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
19865
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
21712
if test "x$ac_cv_type_pid_t" = xyes; then :
19866
21713
 
19867
21714
else
19868
21715
 
19875
21722
for ac_header in vfork.h
19876
21723
do :
19877
21724
  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
19878
 
if test "x$ac_cv_header_vfork_h" = x""yes; then :
 
21725
if test "x$ac_cv_header_vfork_h" = xyes; then :
19879
21726
  cat >>confdefs.h <<_ACEOF
19880
21727
#define HAVE_VFORK_H 1
19881
21728
_ACEOF
19899
21746
if test "x$ac_cv_func_fork" = xyes; then
19900
21747
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
19901
21748
$as_echo_n "checking for working fork... " >&6; }
19902
 
if test "${ac_cv_func_fork_works+set}" = set; then :
 
21749
if ${ac_cv_func_fork_works+:} false; then :
19903
21750
  $as_echo_n "(cached) " >&6
19904
21751
else
19905
21752
  if test "$cross_compiling" = yes; then :
19952
21799
if test "x$ac_cv_func_vfork" = xyes; then
19953
21800
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
19954
21801
$as_echo_n "checking for working vfork... " >&6; }
19955
 
if test "${ac_cv_func_vfork_works+set}" = set; then :
 
21802
if ${ac_cv_func_vfork_works+:} false; then :
19956
21803
  $as_echo_n "(cached) " >&6
19957
21804
else
19958
21805
  if test "$cross_compiling" = yes; then :
20087
21934
 
20088
21935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
20089
21936
$as_echo_n "checking for working strcoll... " >&6; }
20090
 
if test "${ac_cv_func_strcoll_works+set}" = set; then :
 
21937
if ${ac_cv_func_strcoll_works+:} false; then :
20091
21938
  $as_echo_n "(cached) " >&6
20092
21939
else
20093
21940
  if test "$cross_compiling" = yes; then :
20127
21974
for ac_func in vprintf
20128
21975
do :
20129
21976
  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
20130
 
if test "x$ac_cv_func_vprintf" = x""yes; then :
 
21977
if test "x$ac_cv_func_vprintf" = xyes; then :
20131
21978
  cat >>confdefs.h <<_ACEOF
20132
21979
#define HAVE_VPRINTF 1
20133
21980
_ACEOF
20134
21981
 
20135
21982
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
20136
 
if test "x$ac_cv_func__doprnt" = x""yes; then :
 
21983
if test "x$ac_cv_func__doprnt" = xyes; then :
20137
21984
 
20138
21985
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
20139
21986
 
20226
22073
 
20227
22074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
20228
22075
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
20229
 
if test "${ac_cv_header_sys_wait_h+set}" = set; then :
 
22076
if ${ac_cv_header_sys_wait_h+:} false; then :
20230
22077
  $as_echo_n "(cached) " >&6
20231
22078
else
20232
22079
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20270
22117
# Checks for typedefs, structures, and compiler characteristics
20271
22118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20272
22119
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20273
 
if test "${ac_cv_c_const+set}" = set; then :
 
22120
if ${ac_cv_c_const+:} false; then :
20274
22121
  $as_echo_n "(cached) " >&6
20275
22122
else
20276
22123
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20350
22197
 
20351
22198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
20352
22199
$as_echo_n "checking for working volatile... " >&6; }
20353
 
if test "${ac_cv_c_volatile+set}" = set; then :
 
22200
if ${ac_cv_c_volatile+:} false; then :
20354
22201
  $as_echo_n "(cached) " >&6
20355
22202
else
20356
22203
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20385
22232
for ac_header in stdlib.h
20386
22233
do :
20387
22234
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
20388
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
22235
if test "x$ac_cv_header_stdlib_h" = xyes; then :
20389
22236
  cat >>confdefs.h <<_ACEOF
20390
22237
#define HAVE_STDLIB_H 1
20391
22238
_ACEOF
20396
22243
 
20397
22244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
20398
22245
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
20399
 
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
 
22246
if ${ac_cv_func_realloc_0_nonnull+:} false; then :
20400
22247
  $as_echo_n "(cached) " >&6
20401
22248
else
20402
22249
  if test "$cross_compiling" = yes; then :
20451
22298
 
20452
22299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
20453
22300
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
20454
 
if test "${ac_cv_header_stdbool_h+set}" = set; then :
 
22301
if ${ac_cv_header_stdbool_h+:} false; then :
20455
22302
  $as_echo_n "(cached) " >&6
20456
22303
else
20457
22304
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20483
22330
        char b[false == 0 ? 1 : -1];
20484
22331
        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
20485
22332
        char d[(bool) 0.5 == true ? 1 : -1];
20486
 
        bool e = &s;
 
22333
        /* See body of main program for 'e'.  */
20487
22334
        char f[(_Bool) 0.0 == false ? 1 : -1];
20488
22335
        char g[true];
20489
22336
        char h[sizeof (_Bool)];
20494
22341
        _Bool n[m];
20495
22342
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
20496
22343
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
20497
 
#       if defined __xlc__ || defined __GNUC__
20498
 
         /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
20499
 
            reported by James Lemley on 2005-10-05; see
20500
 
            http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
20501
 
            This test is not quite right, since xlc is allowed to
20502
 
            reject this program, as the initializer for xlcbug is
20503
 
            not one of the forms that C requires support for.
20504
 
            However, doing the test right would require a runtime
20505
 
            test, and that would make cross-compilation harder.
20506
 
            Let us hope that IBM fixes the xlc bug, and also adds
20507
 
            support for this kind of constant expression.  In the
20508
 
            meantime, this test will reject xlc, which is OK, since
20509
 
            our stdbool.h substitute should suffice.  We also test
20510
 
            this with GCC, where it should work, to detect more
20511
 
            quickly whether someone messes up the test in the
20512
 
            future.  */
20513
 
         char digs[] = "0123456789";
20514
 
         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
20515
 
#       endif
20516
22344
        /* Catch a bug in an HP-UX C compiler.  See
20517
22345
           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
20518
22346
           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
20524
22352
main ()
20525
22353
{
20526
22354
 
 
22355
        bool e = &s;
20527
22356
        *pq |= q;
20528
22357
        *pq |= ! q;
20529
22358
        /* Refer to every declared value, to avoid compiler optimizations.  */
20544
22373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
20545
22374
$as_echo "$ac_cv_header_stdbool_h" >&6; }
20546
22375
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
20547
 
if test "x$ac_cv_type__Bool" = x""yes; then :
 
22376
if test "x$ac_cv_type__Bool" = xyes; then :
20548
22377
 
20549
22378
cat >>confdefs.h <<_ACEOF
20550
22379
#define HAVE__BOOL 1
20561
22390
 
20562
22391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20563
22392
$as_echo_n "checking for inline... " >&6; }
20564
 
if test "${ac_cv_c_inline+set}" = set; then :
 
22393
if ${ac_cv_c_inline+:} false; then :
20565
22394
  $as_echo_n "(cached) " >&6
20566
22395
else
20567
22396
  ac_cv_c_inline=no
20602
22431
esac
20603
22432
 
20604
22433
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20605
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
22434
if test "x$ac_cv_type_size_t" = xyes; then :
20606
22435
 
20607
22436
else
20608
22437
 
20614
22443
 
20615
22444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
20616
22445
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
20617
 
if test "${ac_cv_header_time+set}" = set; then :
 
22446
if ${ac_cv_header_time+:} false; then :
20618
22447
  $as_echo_n "(cached) " >&6
20619
22448
else
20620
22449
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20692
22521
  library)
20693
22522
$as_echo "#define WITH_HELP_METHOD_LIBRARY 1" >>confdefs.h
20694
22523
 ;;
20695
 
  *) as_fn_error $? "unknown help method \"$with_help_method\"" "$LINENO" 5  ;;
 
22524
  *) as_fn_error $? "unknown help method \"$with_help_method\"" "$LINENO" 5 ;;
20696
22525
esac
20697
22526
 
20698
22527
if test "$with_help_method" = "file"; then
20703
22532
if test "${with_help_file_format+set}" = set; then :
20704
22533
  withval=$with_help_file_format; case "$with_help_file_format" in
20705
22534
       html|xhtml) ;;
20706
 
       *) as_fn_error $? "unknown help file format \"$with_help_file_format\"" "$LINENO" 5  ;;
 
22535
       *) as_fn_error $? "unknown help file format \"$with_help_file_format\"" "$LINENO" 5 ;;
20707
22536
     esac
20708
22537
else
20709
22538
  with_help_file_format=html
20830
22659
  enableval=$enable_setgid; case "${enableval}" in
20831
22660
    yes) setgid=true ;;
20832
22661
    no)  setgid=false ;;
20833
 
    *) as_fn_error $? "bad value ${enableval} for --disable-setgid" "$LINENO" 5  ;;
 
22662
    *) as_fn_error $? "bad value ${enableval} for --disable-setgid" "$LINENO" 5 ;;
20834
22663
   esac
20835
22664
else
20836
22665
  if test "$platform_win32" = "yes"; then
20986
22815
##############################################
20987
22816
##############################################
20988
22817
 
20989
 
ac_config_files="$ac_config_files Makefile po/Makefile.in icons/Makefile sounds/Makefile libgames-support/Makefile gnect/Makefile gnect/src/Makefile gnect/data/Makefile gnect/pixmaps/Makefile gnect/help/Makefile gnomine/Makefile gnomine/help/Makefile swell-foop/Makefile swell-foop/help/Makefile mahjongg/Makefile mahjongg/help/Makefile gtali/Makefile gtali/pix/Makefile gtali/help/Makefile iagno/Makefile iagno/help/Makefile gnotravex/Makefile gnotravex/gnotravex.desktop.in gnotravex/help/Makefile gnotravex/pixmaps/Makefile gnotski/Makefile gnotski/help/Makefile glines/Makefile glines/glines.desktop.in glines/help/Makefile quadrapassel/Makefile quadrapassel/pix/Makefile quadrapassel/help/Makefile gnobots2/Makefile gnobots2/help/Makefile gnibbles/Makefile gnibbles/help/Makefile gnibbles/pix/Makefile aisleriot/Makefile aisleriot/sol.desktop.in aisleriot/freecell.desktop.in aisleriot/data/Makefile aisleriot/lib/Makefile aisleriot/rules/Makefile aisleriot/help/Makefile glchess/Makefile glchess/data/Makefile glchess/data/pieces/Makefile glchess/data/pieces/fancy/Makefile glchess/data/pieces/simple/Makefile glchess/data/textures/Makefile glchess/gnuchess/Makefile glchess/help/Makefile glchess/src/glchess.in glchess/src/Makefile glchess/src/lib/Makefile glchess/src/lib/defaults.py glchess/src/lib/chess/Makefile glchess/src/lib/chess/fics/Makefile glchess/src/lib/ggz/Makefile glchess/src/lib/gtkui/Makefile glchess/src/lib/scene/Makefile glchess/src/lib/scene/cairo/Makefile glchess/src/lib/scene/opengl/Makefile glchess/src/lib/ui/Makefile gnome-sudoku/Makefile gnome-sudoku/src/gnome-sudoku.in gnome-sudoku/src/Makefile gnome-sudoku/src/lib/Makefile gnome-sudoku/src/lib/defaults.py gnome-sudoku/src/lib/gtk_goodies/Makefile gnome-sudoku/data/Makefile gnome-sudoku/images/Makefile gnome-sudoku/help/Makefile swell-foop/data/themes/Makefile swell-foop/data/themes/tango/Makefile swell-foop/data/themes/test/Makefile swell-foop/swell-foop.desktop.in swell-foop/src/Makefile quadrapassel/quadrapassel.desktop.in gnobots2/gnobots2.desktop.in gnibbles/gnibbles.desktop.in gnotski/gnotski.desktop.in glchess/glchess.desktop.in mahjongg/mahjongg.desktop.in gtali/gtali.desktop.in gnome-sudoku/gnome-sudoku.desktop.in iagno/iagno.desktop.in gnect/data/gnect.desktop.in gnomine/gnomine.desktop.in lightsoff/Makefile lightsoff/help/Makefile lightsoff/lightsoff.desktop.in lightsoff/data/themes/Makefile lightsoff/data/themes/tango/Makefile lightsoff/data/themes/up/Makefile lightsoff/src/Makefile"
 
22818
ac_config_files="$ac_config_files Makefile po/Makefile.in icons/Makefile sounds/Makefile libgames-support/Makefile gnect/Makefile gnect/src/Makefile gnect/data/Makefile gnect/pixmaps/Makefile gnect/help/Makefile gnomine/Makefile gnomine/icons/Makefile gnomine/help/Makefile swell-foop/Makefile swell-foop/help/Makefile mahjongg/Makefile mahjongg/help/Makefile gtali/Makefile gtali/pix/Makefile gtali/help/Makefile iagno/Makefile iagno/help/Makefile gnotravex/Makefile gnotravex/gnotravex.desktop.in gnotravex/help/Makefile gnotravex/pixmaps/Makefile gnotski/Makefile gnotski/help/Makefile glines/Makefile glines/glines.desktop.in glines/help/Makefile quadrapassel/Makefile quadrapassel/pix/Makefile quadrapassel/help/Makefile gnobots2/Makefile gnobots2/help/Makefile gnibbles/Makefile gnibbles/help/Makefile gnibbles/pix/Makefile aisleriot/Makefile aisleriot/sol.desktop.in aisleriot/freecell.desktop.in aisleriot/data/Makefile aisleriot/icons/Makefile aisleriot/icons/gnome/Makefile aisleriot/icons/hildon/Makefile aisleriot/lib/Makefile aisleriot/rules/Makefile aisleriot/help/Makefile glchess/Makefile glchess/data/Makefile glchess/data/pieces/Makefile glchess/data/pieces/3d/Makefile glchess/data/pieces/fancy/Makefile glchess/data/pieces/simple/Makefile glchess/data/textures/Makefile glchess/gnuchess/Makefile glchess/help/Makefile glchess/src/Makefile gnome-sudoku/Makefile gnome-sudoku/src/gnome-sudoku.in gnome-sudoku/src/Makefile gnome-sudoku/src/lib/Makefile gnome-sudoku/src/lib/defaults.py gnome-sudoku/src/lib/gtk_goodies/Makefile gnome-sudoku/data/Makefile gnome-sudoku/images/Makefile gnome-sudoku/help/Makefile swell-foop/data/themes/Makefile swell-foop/data/themes/tango/Makefile swell-foop/data/themes/test/Makefile swell-foop/swell-foop.desktop.in swell-foop/src/Makefile quadrapassel/quadrapassel.desktop.in gnobots2/gnobots2.desktop.in gnibbles/gnibbles.desktop.in gnotski/gnotski.desktop.in glchess/glchess.desktop.in mahjongg/mahjongg.desktop.in gtali/gtali.desktop.in gnome-sudoku/gnome-sudoku.desktop.in iagno/iagno.desktop.in gnect/data/gnect.desktop.in gnomine/gnomine.desktop.in lightsoff/Makefile lightsoff/help/Makefile lightsoff/lightsoff.desktop.in lightsoff/data/themes/Makefile lightsoff/data/themes/tango/Makefile lightsoff/data/themes/up/Makefile lightsoff/src/Makefile"
20990
22819
 
20991
22820
cat >confcache <<\_ACEOF
20992
22821
# This file is a shell script that caches the results of configure
21052
22881
     :end' >>confcache
21053
22882
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21054
22883
  if test -w "$cache_file"; then
21055
 
    test "x$cache_file" != "x/dev/null" &&
 
22884
    if test "x$cache_file" != "x/dev/null"; then
21056
22885
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21057
22886
$as_echo "$as_me: updating cache $cache_file" >&6;}
21058
 
    cat confcache >$cache_file
 
22887
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
22888
        cat confcache >"$cache_file"
 
22889
      else
 
22890
        case $cache_file in #(
 
22891
        */* | ?:*)
 
22892
          mv -f confcache "$cache_file"$$ &&
 
22893
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
22894
        *)
 
22895
          mv -f confcache "$cache_file" ;;
 
22896
        esac
 
22897
      fi
 
22898
    fi
21059
22899
  else
21060
22900
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21061
22901
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21254
23094
  as_fn_error $? "conditional \"HAVE_RSVG\" was never defined.
21255
23095
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21256
23096
fi
 
23097
if test -z "${HAVE_SQLITE_TRUE}" && test -z "${HAVE_SQLITE_FALSE}"; then
 
23098
  as_fn_error $? "conditional \"HAVE_SQLITE\" was never defined.
 
23099
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23100
fi
 
23101
if test -z "${HAVE_OPENGL_TRUE}" && test -z "${HAVE_OPENGL_FALSE}"; then
 
23102
  as_fn_error $? "conditional \"HAVE_OPENGL\" was never defined.
 
23103
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23104
fi
 
23105
if test -z "${HAVE_GLX_TRUE}" && test -z "${HAVE_GLX_FALSE}"; then
 
23106
  as_fn_error $? "conditional \"HAVE_GLX\" was never defined.
 
23107
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23108
fi
21257
23109
if test -z "${HAVE_CLUTTER_TRUE}" && test -z "${HAVE_CLUTTER_FALSE}"; then
21258
23110
  as_fn_error $? "conditional \"HAVE_CLUTTER\" was never defined.
21259
23111
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21323
23175
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21324
23176
fi
21325
23177
 
21326
 
: ${CONFIG_STATUS=./config.status}
 
23178
: "${CONFIG_STATUS=./config.status}"
21327
23179
ac_write_fail=0
21328
23180
ac_clean_files_save=$ac_clean_files
21329
23181
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21424
23276
IFS=" ""        $as_nl"
21425
23277
 
21426
23278
# Find who we are.  Look in the path if we contain no directory separator.
 
23279
as_myself=
21427
23280
case $0 in #((
21428
23281
  *[\\/]* ) as_myself=$0 ;;
21429
23282
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21730
23583
# report actual input values of CONFIG_FILES etc. instead of their
21731
23584
# values after options handling.
21732
23585
ac_log="
21733
 
This file was extended by GNOME Games $as_me 2.32.1, which was
21734
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
23586
This file was extended by GNOME Games $as_me 3.0.2, which was
 
23587
generated by GNU Autoconf 2.68.  Invocation command line was
21735
23588
 
21736
23589
  CONFIG_FILES    = $CONFIG_FILES
21737
23590
  CONFIG_HEADERS  = $CONFIG_HEADERS
21796
23649
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21797
23650
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21798
23651
ac_cs_version="\\
21799
 
GNOME Games config.status 2.32.1
21800
 
configured by $0, generated by GNU Autoconf 2.67,
 
23652
GNOME Games config.status 3.0.2
 
23653
configured by $0, generated by GNU Autoconf 2.68,
21801
23654
  with options \\"\$ac_cs_config\\"
21802
23655
 
21803
23656
Copyright (C) 2010 Free Software Foundation, Inc.
21953
23806
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21954
23807
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21955
23808
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
23809
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
23810
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21956
23811
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21957
23812
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21958
23813
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21959
23814
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21960
23815
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
23816
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
23817
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
23818
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
23819
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21961
23820
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21962
23821
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
23822
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21963
23823
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21964
23824
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21965
23825
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21974
23834
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21975
23835
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21976
23836
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"`'
 
23837
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
23838
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21977
23839
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21978
23840
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21979
23841
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
23842
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21980
23843
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21981
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21982
23844
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21983
23845
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21984
23846
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
23847
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21985
23848
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21986
23849
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21987
23850
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22014
23877
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22015
23878
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22016
23879
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22017
 
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
22018
23880
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22019
23881
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22020
23882
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22021
23883
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22022
23884
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
23885
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22023
23886
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22024
23887
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22025
23888
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22058
23921
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22059
23922
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22060
23923
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23924
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22061
23925
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22062
 
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22063
23926
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22064
23927
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22065
23928
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22086
23949
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22087
23950
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22088
23951
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22089
 
fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
22090
23952
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22091
23953
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22092
23954
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22093
23955
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22094
23956
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23957
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22095
23958
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22096
23959
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22097
23960
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22129
23992
OBJDUMP \
22130
23993
deplibs_check_method \
22131
23994
file_magic_cmd \
 
23995
file_magic_glob \
 
23996
want_nocaseglob \
 
23997
DLLTOOL \
 
23998
sharedlib_from_linklib_cmd \
22132
23999
AR \
22133
24000
AR_FLAGS \
 
24001
archiver_list_spec \
22134
24002
STRIP \
22135
24003
RANLIB \
22136
24004
CC \
22140
24008
lt_cv_sys_global_symbol_to_cdecl \
22141
24009
lt_cv_sys_global_symbol_to_c_name_address \
22142
24010
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
24011
nm_file_list_spec \
22143
24012
lt_prog_compiler_no_builtin_flag \
 
24013
lt_prog_compiler_pic \
22144
24014
lt_prog_compiler_wl \
22145
 
lt_prog_compiler_pic \
22146
24015
lt_prog_compiler_static \
22147
24016
lt_cv_prog_compiler_c_o \
22148
24017
need_locks \
 
24018
MANIFEST_TOOL \
22149
24019
DSYMUTIL \
22150
24020
NMEDIT \
22151
24021
LIPO \
22161
24031
hardcode_libdir_flag_spec \
22162
24032
hardcode_libdir_flag_spec_ld \
22163
24033
hardcode_libdir_separator \
22164
 
fix_srcfile_path \
22165
24034
exclude_expsyms \
22166
24035
include_expsyms \
22167
24036
file_list_spec \
22183
24052
reload_flag_CXX \
22184
24053
compiler_CXX \
22185
24054
lt_prog_compiler_no_builtin_flag_CXX \
 
24055
lt_prog_compiler_pic_CXX \
22186
24056
lt_prog_compiler_wl_CXX \
22187
 
lt_prog_compiler_pic_CXX \
22188
24057
lt_prog_compiler_static_CXX \
22189
24058
lt_cv_prog_compiler_c_o_CXX \
22190
24059
export_dynamic_flag_spec_CXX \
22196
24065
hardcode_libdir_flag_spec_CXX \
22197
24066
hardcode_libdir_flag_spec_ld_CXX \
22198
24067
hardcode_libdir_separator_CXX \
22199
 
fix_srcfile_path_CXX \
22200
24068
exclude_expsyms_CXX \
22201
24069
include_expsyms_CXX \
22202
24070
file_list_spec_CXX \
22230
24098
module_expsym_cmds \
22231
24099
export_symbols_cmds \
22232
24100
prelink_cmds \
 
24101
postlink_cmds \
22233
24102
postinstall_cmds \
22234
24103
postuninstall_cmds \
22235
24104
finish_cmds \
22244
24113
module_cmds_CXX \
22245
24114
module_expsym_cmds_CXX \
22246
24115
export_symbols_cmds_CXX \
22247
 
prelink_cmds_CXX; do
 
24116
prelink_cmds_CXX \
 
24117
postlink_cmds_CXX; do
22248
24118
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22249
24119
    *[\\\\\\\`\\"\\\$]*)
22250
24120
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22301
24171
    "gnect/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES gnect/pixmaps/Makefile" ;;
22302
24172
    "gnect/help/Makefile") CONFIG_FILES="$CONFIG_FILES gnect/help/Makefile" ;;
22303
24173
    "gnomine/Makefile") CONFIG_FILES="$CONFIG_FILES gnomine/Makefile" ;;
 
24174
    "gnomine/icons/Makefile") CONFIG_FILES="$CONFIG_FILES gnomine/icons/Makefile" ;;
22304
24175
    "gnomine/help/Makefile") CONFIG_FILES="$CONFIG_FILES gnomine/help/Makefile" ;;
22305
24176
    "swell-foop/Makefile") CONFIG_FILES="$CONFIG_FILES swell-foop/Makefile" ;;
22306
24177
    "swell-foop/help/Makefile") CONFIG_FILES="$CONFIG_FILES swell-foop/help/Makefile" ;;
22332
24203
    "aisleriot/sol.desktop.in") CONFIG_FILES="$CONFIG_FILES aisleriot/sol.desktop.in" ;;
22333
24204
    "aisleriot/freecell.desktop.in") CONFIG_FILES="$CONFIG_FILES aisleriot/freecell.desktop.in" ;;
22334
24205
    "aisleriot/data/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/data/Makefile" ;;
 
24206
    "aisleriot/icons/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/icons/Makefile" ;;
 
24207
    "aisleriot/icons/gnome/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/icons/gnome/Makefile" ;;
 
24208
    "aisleriot/icons/hildon/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/icons/hildon/Makefile" ;;
22335
24209
    "aisleriot/lib/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/lib/Makefile" ;;
22336
24210
    "aisleriot/rules/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/rules/Makefile" ;;
22337
24211
    "aisleriot/help/Makefile") CONFIG_FILES="$CONFIG_FILES aisleriot/help/Makefile" ;;
22338
24212
    "glchess/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/Makefile" ;;
22339
24213
    "glchess/data/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/Makefile" ;;
22340
24214
    "glchess/data/pieces/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/pieces/Makefile" ;;
 
24215
    "glchess/data/pieces/3d/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/pieces/3d/Makefile" ;;
22341
24216
    "glchess/data/pieces/fancy/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/pieces/fancy/Makefile" ;;
22342
24217
    "glchess/data/pieces/simple/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/pieces/simple/Makefile" ;;
22343
24218
    "glchess/data/textures/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/data/textures/Makefile" ;;
22344
24219
    "glchess/gnuchess/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/gnuchess/Makefile" ;;
22345
24220
    "glchess/help/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/help/Makefile" ;;
22346
 
    "glchess/src/glchess.in") CONFIG_FILES="$CONFIG_FILES glchess/src/glchess.in" ;;
22347
24221
    "glchess/src/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/Makefile" ;;
22348
 
    "glchess/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/Makefile" ;;
22349
 
    "glchess/src/lib/defaults.py") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/defaults.py" ;;
22350
 
    "glchess/src/lib/chess/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/chess/Makefile" ;;
22351
 
    "glchess/src/lib/chess/fics/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/chess/fics/Makefile" ;;
22352
 
    "glchess/src/lib/ggz/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/ggz/Makefile" ;;
22353
 
    "glchess/src/lib/gtkui/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/gtkui/Makefile" ;;
22354
 
    "glchess/src/lib/scene/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/scene/Makefile" ;;
22355
 
    "glchess/src/lib/scene/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/scene/cairo/Makefile" ;;
22356
 
    "glchess/src/lib/scene/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/scene/opengl/Makefile" ;;
22357
 
    "glchess/src/lib/ui/Makefile") CONFIG_FILES="$CONFIG_FILES glchess/src/lib/ui/Makefile" ;;
22358
24222
    "gnome-sudoku/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-sudoku/Makefile" ;;
22359
24223
    "gnome-sudoku/src/gnome-sudoku.in") CONFIG_FILES="$CONFIG_FILES gnome-sudoku/src/gnome-sudoku.in" ;;
22360
24224
    "gnome-sudoku/src/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-sudoku/src/Makefile" ;;
22389
24253
    "lightsoff/src/Makefile") CONFIG_FILES="$CONFIG_FILES lightsoff/src/Makefile" ;;
22390
24254
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
22391
24255
 
22392
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
24256
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22393
24257
  esac
22394
24258
done
22395
24259
 
22412
24276
# after its creation but before its name has been assigned to `$tmp'.
22413
24277
$debug ||
22414
24278
{
22415
 
  tmp=
 
24279
  tmp= ac_tmp=
22416
24280
  trap 'exit_status=$?
22417
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
24281
  : "${ac_tmp:=$tmp}"
 
24282
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22418
24283
' 0
22419
24284
  trap 'as_fn_exit 1' 1 2 13 15
22420
24285
}
22422
24287
 
22423
24288
{
22424
24289
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22425
 
  test -n "$tmp" && test -d "$tmp"
 
24290
  test -d "$tmp"
22426
24291
}  ||
22427
24292
{
22428
24293
  tmp=./conf$$-$RANDOM
22429
24294
  (umask 077 && mkdir "$tmp")
22430
24295
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
24296
ac_tmp=$tmp
22431
24297
 
22432
24298
# Set up the scripts for CONFIG_FILES section.
22433
24299
# No need to generate them if there are no CONFIG_FILES.
22449
24315
  ac_cs_awk_cr=$ac_cr
22450
24316
fi
22451
24317
 
22452
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
24318
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22453
24319
_ACEOF
22454
24320
 
22455
24321
 
22477
24343
rm -f conf$$subs.sh
22478
24344
 
22479
24345
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22480
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
24346
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22481
24347
_ACEOF
22482
24348
sed -n '
22483
24349
h
22525
24391
rm -f conf$$subs.awk
22526
24392
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22527
24393
_ACAWK
22528
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
24394
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22529
24395
  for (key in S) S_is_set[key] = 1
22530
24396
  FS = ""
22531
24397
 
22557
24423
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22558
24424
else
22559
24425
  cat
22560
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
24426
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22561
24427
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22562
24428
_ACEOF
22563
24429
 
22591
24457
# No need to generate them if there are no CONFIG_HEADERS.
22592
24458
# This happens for instance with `./config.status Makefile'.
22593
24459
if test -n "$CONFIG_HEADERS"; then
22594
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
24460
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22595
24461
BEGIN {
22596
24462
_ACEOF
22597
24463
 
22603
24469
# handling of long lines.
22604
24470
ac_delim='%!_!# '
22605
24471
for ac_last_try in false false :; do
22606
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
22607
 
  if test -z "$ac_t"; then
 
24472
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
24473
  if test -z "$ac_tt"; then
22608
24474
    break
22609
24475
  elif $ac_last_try; then
22610
24476
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22705
24571
  esac
22706
24572
  case $ac_mode$ac_tag in
22707
24573
  :[FHL]*:*);;
22708
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
24574
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22709
24575
  :[FH]-) ac_tag=-:-;;
22710
24576
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22711
24577
  esac
22724
24590
    for ac_f
22725
24591
    do
22726
24592
      case $ac_f in
22727
 
      -) ac_f="$tmp/stdin";;
 
24593
      -) ac_f="$ac_tmp/stdin";;
22728
24594
      *) # Look for the file first in the build tree, then in the source tree
22729
24595
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
22730
24596
         # because $ac_f cannot contain `:'.
22733
24599
           [\\/$]*) false;;
22734
24600
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22735
24601
           esac ||
22736
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
24602
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22737
24603
      esac
22738
24604
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22739
24605
      as_fn_append ac_file_inputs " '$ac_f'"
22759
24625
    esac
22760
24626
 
22761
24627
    case $ac_tag in
22762
 
    *:-:* | *:-) cat >"$tmp/stdin" \
22763
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
24628
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
24629
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22764
24630
    esac
22765
24631
    ;;
22766
24632
  esac
22896
24762
s&@MKDIR_P@&$ac_MKDIR_P&;t t
22897
24763
$ac_datarootdir_hack
22898
24764
"
22899
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22900
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
24765
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
24766
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22901
24767
 
22902
24768
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22903
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22904
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
24769
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
24770
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
24771
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
22905
24772
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22906
24773
which seems to be undefined.  Please make sure it is defined" >&5
22907
24774
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22908
24775
which seems to be undefined.  Please make sure it is defined" >&2;}
22909
24776
 
22910
 
  rm -f "$tmp/stdin"
 
24777
  rm -f "$ac_tmp/stdin"
22911
24778
  case $ac_file in
22912
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
22913
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
24779
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
24780
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22914
24781
  esac \
22915
24782
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22916
24783
 ;;
22921
24788
  if test x"$ac_file" != x-; then
22922
24789
    {
22923
24790
      $as_echo "/* $configure_input  */" \
22924
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22925
 
    } >"$tmp/config.h" \
 
24791
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
24792
    } >"$ac_tmp/config.h" \
22926
24793
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22927
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
24794
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22928
24795
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22929
24796
$as_echo "$as_me: $ac_file is unchanged" >&6;}
22930
24797
    else
22931
24798
      rm -f "$ac_file"
22932
 
      mv "$tmp/config.h" "$ac_file" \
 
24799
      mv "$ac_tmp/config.h" "$ac_file" \
22933
24800
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22934
24801
    fi
22935
24802
  else
22936
24803
    $as_echo "/* $configure_input  */" \
22937
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
24804
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22938
24805
      || as_fn_error $? "could not create -" "$LINENO" 5
22939
24806
  fi
22940
24807
# Compute "$ac_file"'s index in $config_headers.
23200
25067
# turn newlines into spaces.
23201
25068
NL2SP=$lt_lt_NL2SP
23202
25069
 
 
25070
# convert \$build file names to \$host format.
 
25071
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
25072
 
 
25073
# convert \$build files to toolchain format.
 
25074
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
25075
 
23203
25076
# An object symbol dumper.
23204
25077
OBJDUMP=$lt_OBJDUMP
23205
25078
 
23206
25079
# Method to check whether dependent libraries are shared objects.
23207
25080
deplibs_check_method=$lt_deplibs_check_method
23208
25081
 
23209
 
# Command to use when deplibs_check_method == "file_magic".
 
25082
# Command to use when deplibs_check_method = "file_magic".
23210
25083
file_magic_cmd=$lt_file_magic_cmd
23211
25084
 
 
25085
# How to find potential files when deplibs_check_method = "file_magic".
 
25086
file_magic_glob=$lt_file_magic_glob
 
25087
 
 
25088
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
25089
want_nocaseglob=$lt_want_nocaseglob
 
25090
 
 
25091
# DLL creation program.
 
25092
DLLTOOL=$lt_DLLTOOL
 
25093
 
 
25094
# Command to associate shared and link libraries.
 
25095
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
25096
 
23212
25097
# The archiver.
23213
25098
AR=$lt_AR
 
25099
 
 
25100
# Flags to create an archive.
23214
25101
AR_FLAGS=$lt_AR_FLAGS
23215
25102
 
 
25103
# How to feed a file listing to the archiver.
 
25104
archiver_list_spec=$lt_archiver_list_spec
 
25105
 
23216
25106
# A symbol stripping program.
23217
25107
STRIP=$lt_STRIP
23218
25108
 
23242
25132
# Transform the output of nm in a C name address pair when lib prefix is needed.
23243
25133
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23244
25134
 
 
25135
# Specify filename containing input files for \$NM.
 
25136
nm_file_list_spec=$lt_nm_file_list_spec
 
25137
 
 
25138
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
25139
lt_sysroot=$lt_sysroot
 
25140
 
23245
25141
# The name of the directory that contains temporary libtool files.
23246
25142
objdir=$objdir
23247
25143
 
23251
25147
# Must we lock files when doing compilation?
23252
25148
need_locks=$lt_need_locks
23253
25149
 
 
25150
# Manifest tool.
 
25151
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
25152
 
23254
25153
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23255
25154
DSYMUTIL=$lt_DSYMUTIL
23256
25155
 
23365
25264
# Compiler flag to turn off builtin functions.
23366
25265
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23367
25266
 
 
25267
# Additional compiler flags for building library objects.
 
25268
pic_flag=$lt_lt_prog_compiler_pic
 
25269
 
23368
25270
# How to pass a linker flag through the compiler.
23369
25271
wl=$lt_lt_prog_compiler_wl
23370
25272
 
23371
 
# Additional compiler flags for building library objects.
23372
 
pic_flag=$lt_lt_prog_compiler_pic
23373
 
 
23374
25273
# Compiler flag to prevent dynamic linking.
23375
25274
link_static_flag=$lt_lt_prog_compiler_static
23376
25275
 
23457
25356
# Whether libtool must link a program against all its dependency libraries.
23458
25357
link_all_deplibs=$link_all_deplibs
23459
25358
 
23460
 
# Fix the shell variable \$srcfile for the compiler.
23461
 
fix_srcfile_path=$lt_fix_srcfile_path
23462
 
 
23463
25359
# Set to "yes" if exported symbols are required.
23464
25360
always_export_symbols=$always_export_symbols
23465
25361
 
23475
25371
# Commands necessary for linking programs (against libraries) with templates.
23476
25372
prelink_cmds=$lt_prelink_cmds
23477
25373
 
 
25374
# Commands necessary for finishing linking programs.
 
25375
postlink_cmds=$lt_postlink_cmds
 
25376
 
23478
25377
# Specify filename containing input files.
23479
25378
file_list_spec=$lt_file_list_spec
23480
25379
 
23521
25420
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
23522
25421
  # text mode, it properly converts lines to CR/LF.  This bash problem
23523
25422
  # is reportedly fixed, but why not run on old versions too?
23524
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
23525
 
    || (rm -f "$cfgfile"; exit 1)
23526
 
 
23527
 
  case $xsi_shell in
23528
 
  yes)
23529
 
    cat << \_LT_EOF >> "$cfgfile"
23530
 
 
23531
 
# func_dirname file append nondir_replacement
23532
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
23533
 
# otherwise set result to NONDIR_REPLACEMENT.
23534
 
func_dirname ()
23535
 
{
23536
 
  case ${1} in
23537
 
    */*) func_dirname_result="${1%/*}${2}" ;;
23538
 
    *  ) func_dirname_result="${3}" ;;
23539
 
  esac
23540
 
}
23541
 
 
23542
 
# func_basename file
23543
 
func_basename ()
23544
 
{
23545
 
  func_basename_result="${1##*/}"
23546
 
}
23547
 
 
23548
 
# func_dirname_and_basename file append nondir_replacement
23549
 
# perform func_basename and func_dirname in a single function
23550
 
# call:
23551
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
23552
 
#             add APPEND to the result, otherwise set result
23553
 
#             to NONDIR_REPLACEMENT.
23554
 
#             value returned in "$func_dirname_result"
23555
 
#   basename: Compute filename of FILE.
23556
 
#             value retuned in "$func_basename_result"
23557
 
# Implementation must be kept synchronized with func_dirname
23558
 
# and func_basename. For efficiency, we do not delegate to
23559
 
# those functions but instead duplicate the functionality here.
23560
 
func_dirname_and_basename ()
23561
 
{
23562
 
  case ${1} in
23563
 
    */*) func_dirname_result="${1%/*}${2}" ;;
23564
 
    *  ) func_dirname_result="${3}" ;;
23565
 
  esac
23566
 
  func_basename_result="${1##*/}"
23567
 
}
23568
 
 
23569
 
# func_stripname prefix suffix name
23570
 
# strip PREFIX and SUFFIX off of NAME.
23571
 
# PREFIX and SUFFIX must not contain globbing or regex special
23572
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
23573
 
# dot (in which case that matches only a dot).
23574
 
func_stripname ()
23575
 
{
23576
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
23577
 
  # positional parameters, so assign one to ordinary parameter first.
23578
 
  func_stripname_result=${3}
23579
 
  func_stripname_result=${func_stripname_result#"${1}"}
23580
 
  func_stripname_result=${func_stripname_result%"${2}"}
23581
 
}
23582
 
 
23583
 
# func_opt_split
23584
 
func_opt_split ()
23585
 
{
23586
 
  func_opt_split_opt=${1%%=*}
23587
 
  func_opt_split_arg=${1#*=}
23588
 
}
23589
 
 
23590
 
# func_lo2o object
23591
 
func_lo2o ()
23592
 
{
23593
 
  case ${1} in
23594
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
23595
 
    *)    func_lo2o_result=${1} ;;
23596
 
  esac
23597
 
}
23598
 
 
23599
 
# func_xform libobj-or-source
23600
 
func_xform ()
23601
 
{
23602
 
  func_xform_result=${1%.*}.lo
23603
 
}
23604
 
 
23605
 
# func_arith arithmetic-term...
23606
 
func_arith ()
23607
 
{
23608
 
  func_arith_result=$(( $* ))
23609
 
}
23610
 
 
23611
 
# func_len string
23612
 
# STRING may not start with a hyphen.
23613
 
func_len ()
23614
 
{
23615
 
  func_len_result=${#1}
23616
 
}
23617
 
 
23618
 
_LT_EOF
23619
 
    ;;
23620
 
  *) # Bourne compatible functions.
23621
 
    cat << \_LT_EOF >> "$cfgfile"
23622
 
 
23623
 
# func_dirname file append nondir_replacement
23624
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
23625
 
# otherwise set result to NONDIR_REPLACEMENT.
23626
 
func_dirname ()
23627
 
{
23628
 
  # Extract subdirectory from the argument.
23629
 
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
23630
 
  if test "X$func_dirname_result" = "X${1}"; then
23631
 
    func_dirname_result="${3}"
23632
 
  else
23633
 
    func_dirname_result="$func_dirname_result${2}"
23634
 
  fi
23635
 
}
23636
 
 
23637
 
# func_basename file
23638
 
func_basename ()
23639
 
{
23640
 
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
23641
 
}
23642
 
 
23643
 
 
23644
 
# func_stripname prefix suffix name
23645
 
# strip PREFIX and SUFFIX off of NAME.
23646
 
# PREFIX and SUFFIX must not contain globbing or regex special
23647
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
23648
 
# dot (in which case that matches only a dot).
23649
 
# func_strip_suffix prefix name
23650
 
func_stripname ()
23651
 
{
23652
 
  case ${2} in
23653
 
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
23654
 
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
23655
 
  esac
23656
 
}
23657
 
 
23658
 
# sed scripts:
23659
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
23660
 
my_sed_long_arg='1s/^-[^=]*=//'
23661
 
 
23662
 
# func_opt_split
23663
 
func_opt_split ()
23664
 
{
23665
 
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
23666
 
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
23667
 
}
23668
 
 
23669
 
# func_lo2o object
23670
 
func_lo2o ()
23671
 
{
23672
 
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
23673
 
}
23674
 
 
23675
 
# func_xform libobj-or-source
23676
 
func_xform ()
23677
 
{
23678
 
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
23679
 
}
23680
 
 
23681
 
# func_arith arithmetic-term...
23682
 
func_arith ()
23683
 
{
23684
 
  func_arith_result=`expr "$@"`
23685
 
}
23686
 
 
23687
 
# func_len string
23688
 
# STRING may not start with a hyphen.
23689
 
func_len ()
23690
 
{
23691
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
23692
 
}
23693
 
 
23694
 
_LT_EOF
23695
 
esac
23696
 
 
23697
 
case $lt_shell_append in
23698
 
  yes)
23699
 
    cat << \_LT_EOF >> "$cfgfile"
23700
 
 
23701
 
# func_append var value
23702
 
# Append VALUE to the end of shell variable VAR.
23703
 
func_append ()
23704
 
{
23705
 
  eval "$1+=\$2"
23706
 
}
23707
 
_LT_EOF
23708
 
    ;;
23709
 
  *)
23710
 
    cat << \_LT_EOF >> "$cfgfile"
23711
 
 
23712
 
# func_append var value
23713
 
# Append VALUE to the end of shell variable VAR.
23714
 
func_append ()
23715
 
{
23716
 
  eval "$1=\$$1\$2"
23717
 
}
23718
 
 
23719
 
_LT_EOF
23720
 
    ;;
23721
 
  esac
23722
 
 
23723
 
 
23724
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
23725
 
    || (rm -f "$cfgfile"; exit 1)
23726
 
 
23727
 
  mv -f "$cfgfile" "$ofile" ||
 
25423
  sed '$q' "$ltmain" >> "$cfgfile" \
 
25424
     || (rm -f "$cfgfile"; exit 1)
 
25425
 
 
25426
  if test x"$xsi_shell" = xyes; then
 
25427
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
25428
func_dirname ()\
 
25429
{\
 
25430
\    case ${1} in\
 
25431
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
25432
\      *  ) func_dirname_result="${3}" ;;\
 
25433
\    esac\
 
25434
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
25435
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25436
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25437
test 0 -eq $? || _lt_function_replace_fail=:
 
25438
 
 
25439
 
 
25440
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
25441
func_basename ()\
 
25442
{\
 
25443
\    func_basename_result="${1##*/}"\
 
25444
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
25445
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25446
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25447
test 0 -eq $? || _lt_function_replace_fail=:
 
25448
 
 
25449
 
 
25450
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
25451
func_dirname_and_basename ()\
 
25452
{\
 
25453
\    case ${1} in\
 
25454
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
25455
\      *  ) func_dirname_result="${3}" ;;\
 
25456
\    esac\
 
25457
\    func_basename_result="${1##*/}"\
 
25458
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
25459
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25460
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25461
test 0 -eq $? || _lt_function_replace_fail=:
 
25462
 
 
25463
 
 
25464
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
25465
func_stripname ()\
 
25466
{\
 
25467
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
25468
\    # positional parameters, so assign one to ordinary parameter first.\
 
25469
\    func_stripname_result=${3}\
 
25470
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
25471
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
25472
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
25473
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25474
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25475
test 0 -eq $? || _lt_function_replace_fail=:
 
25476
 
 
25477
 
 
25478
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
25479
func_split_long_opt ()\
 
25480
{\
 
25481
\    func_split_long_opt_name=${1%%=*}\
 
25482
\    func_split_long_opt_arg=${1#*=}\
 
25483
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
25484
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25485
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25486
test 0 -eq $? || _lt_function_replace_fail=:
 
25487
 
 
25488
 
 
25489
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
25490
func_split_short_opt ()\
 
25491
{\
 
25492
\    func_split_short_opt_arg=${1#??}\
 
25493
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
25494
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
25495
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25496
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25497
test 0 -eq $? || _lt_function_replace_fail=:
 
25498
 
 
25499
 
 
25500
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
25501
func_lo2o ()\
 
25502
{\
 
25503
\    case ${1} in\
 
25504
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
25505
\      *)    func_lo2o_result=${1} ;;\
 
25506
\    esac\
 
25507
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
25508
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25509
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25510
test 0 -eq $? || _lt_function_replace_fail=:
 
25511
 
 
25512
 
 
25513
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
25514
func_xform ()\
 
25515
{\
 
25516
    func_xform_result=${1%.*}.lo\
 
25517
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
25518
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25519
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25520
test 0 -eq $? || _lt_function_replace_fail=:
 
25521
 
 
25522
 
 
25523
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
25524
func_arith ()\
 
25525
{\
 
25526
    func_arith_result=$(( $* ))\
 
25527
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
25528
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25529
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25530
test 0 -eq $? || _lt_function_replace_fail=:
 
25531
 
 
25532
 
 
25533
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
25534
func_len ()\
 
25535
{\
 
25536
    func_len_result=${#1}\
 
25537
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
25538
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25539
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25540
test 0 -eq $? || _lt_function_replace_fail=:
 
25541
 
 
25542
fi
 
25543
 
 
25544
if test x"$lt_shell_append" = xyes; then
 
25545
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
25546
func_append ()\
 
25547
{\
 
25548
    eval "${1}+=\\${2}"\
 
25549
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
25550
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25551
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25552
test 0 -eq $? || _lt_function_replace_fail=:
 
25553
 
 
25554
 
 
25555
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
25556
func_append_quoted ()\
 
25557
{\
 
25558
\    func_quote_for_eval "${2}"\
 
25559
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
25560
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
25561
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25562
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25563
test 0 -eq $? || _lt_function_replace_fail=:
 
25564
 
 
25565
 
 
25566
  # Save a `func_append' function call where possible by direct use of '+='
 
25567
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
25568
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25569
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25570
  test 0 -eq $? || _lt_function_replace_fail=:
 
25571
else
 
25572
  # Save a `func_append' function call even when '+=' is not available
 
25573
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
25574
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25575
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25576
  test 0 -eq $? || _lt_function_replace_fail=:
 
25577
fi
 
25578
 
 
25579
if test x"$_lt_function_replace_fail" = x":"; then
 
25580
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
25581
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
25582
fi
 
25583
 
 
25584
 
 
25585
   mv -f "$cfgfile" "$ofile" ||
23728
25586
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23729
25587
  chmod +x "$ofile"
23730
25588
 
23752
25610
# Compiler flag to turn off builtin functions.
23753
25611
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23754
25612
 
 
25613
# Additional compiler flags for building library objects.
 
25614
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
25615
 
23755
25616
# How to pass a linker flag through the compiler.
23756
25617
wl=$lt_lt_prog_compiler_wl_CXX
23757
25618
 
23758
 
# Additional compiler flags for building library objects.
23759
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
23760
 
 
23761
25619
# Compiler flag to prevent dynamic linking.
23762
25620
link_static_flag=$lt_lt_prog_compiler_static_CXX
23763
25621
 
23844
25702
# Whether libtool must link a program against all its dependency libraries.
23845
25703
link_all_deplibs=$link_all_deplibs_CXX
23846
25704
 
23847
 
# Fix the shell variable \$srcfile for the compiler.
23848
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
23849
 
 
23850
25705
# Set to "yes" if exported symbols are required.
23851
25706
always_export_symbols=$always_export_symbols_CXX
23852
25707
 
23862
25717
# Commands necessary for linking programs (against libraries) with templates.
23863
25718
prelink_cmds=$lt_prelink_cmds_CXX
23864
25719
 
 
25720
# Commands necessary for finishing linking programs.
 
25721
postlink_cmds=$lt_postlink_cmds_CXX
 
25722
 
23865
25723
# Specify filename containing input files.
23866
25724
file_list_spec=$lt_file_list_spec_CXX
23867
25725
 
23968
25826
    Help method:           ${with_help_method} ${with_help_file_format}
23969
25827
    Using SM Client:       ${with_smclient}
23970
25828
    Using RSVG:            ${have_rsvg}
 
25829
    Using SQLite:          ${have_sqlite}
23971
25830
    Card theme formats:    ${with_card_theme_formats}
23972
25831
    Default theme format:  ${with_default_card_theme_format}
23973
25832
    Default theme:         ${with_default_card_theme}