~siretart/gxine/bug.542506

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-03-21 11:24:59 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080321112459-igb0jy01nytpdrzt
Tags: 0.5.901-1ubuntu1
* merge debian changes for hardy PPA. Remaining changes:
  - debian/control: added Xb-Npp-xxx tags accordingly to "firefox distro
    add-on suport" spec,
    (https://blueprints.launchpad.net/ubuntu/+spec/firefox-distro-addon-support)
* Feature Freeze exception granted in LP: #204563
* New upstream release fixes playing DVDs. LP: #128864
* mime.default: add "x-content/video-dvd;x-content/video-vcd;x-content/video-svcd;"
  to get it listed as a player for dvd and video cds in nautilus. Thanks to
  Sebastien Bacher for the hint.

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.61 for gxine 0.5.11.
 
3
# Generated by GNU Autoconf 2.61 for gxine 0.5.901.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
726
726
# Identity of this package.
727
727
PACKAGE_NAME='gxine'
728
728
PACKAGE_TARNAME='gxine'
729
 
PACKAGE_VERSION='0.5.11'
730
 
PACKAGE_STRING='gxine 0.5.11'
 
729
PACKAGE_VERSION='0.5.901'
 
730
PACKAGE_STRING='gxine 0.5.901'
731
731
PACKAGE_BUGREPORT=''
732
732
 
733
733
ac_unique_file="src/main.c"
767
767
# include <unistd.h>
768
768
#endif"
769
769
 
 
770
gt_needs=
770
771
ac_subst_vars='SHELL
771
772
PATH_SEPARATOR
772
773
PACKAGE_NAME
807
808
INSTALL_PROGRAM
808
809
INSTALL_SCRIPT
809
810
INSTALL_DATA
 
811
am__isrc
810
812
CYGPATH_W
811
813
PACKAGE
812
814
VERSION
855
857
host_cpu
856
858
host_vendor
857
859
host_os
 
860
SED
858
861
LN_S
859
862
ECHO
860
863
AR
861
864
RANLIB
 
865
DSYMUTIL
 
866
NMEDIT
862
867
CXXCPP
863
868
LIBTOOL
864
869
LIBTOOL_DEPS
878
883
LIBINTL
879
884
LTLIBINTL
880
885
POSUB
 
886
PKG_CONFIG
 
887
XCB_CFLAGS
 
888
XCB_LIBS
881
889
XMKMF
882
890
X_CFLAGS
883
891
X_PRE_LIBS
884
892
X_LIBS
885
893
X_EXTRA_LIBS
886
 
PKG_CONFIG
 
894
WITH_XCB_TRUE
 
895
WITH_XCB_FALSE
 
896
NET_LIBS
887
897
JS_CFLAGS
888
898
JS_LIBS
889
899
NSPR_CFLAGS
890
900
NSPR_LIBS
891
901
BROWSER_PLUGIN_TRUE
892
902
BROWSER_PLUGIN_FALSE
 
903
GTK2_CFLAGS
 
904
GTK2_LIBS
893
905
GLIB2_CFLAGS
894
906
GLIB2_LIBS
895
 
GTK2_CFLAGS
896
 
GTK2_LIBS
897
907
GTHREAD2_CFLAGS
898
908
GTHREAD2_LIBS
 
909
PANGO_CFLAGS
 
910
PANGO_LIBS
 
911
HAL_CFLAGS
 
912
HAL_LIBS
899
913
GSSCMD
900
914
DBUS_CFLAGS
901
915
DBUS_LIBS
905
919
XTEST_LIBS
906
920
HAVE_XTESTEXTENSION_TRUE
907
921
HAVE_XTESTEXTENSION_FALSE
 
922
XINERAMA_LIBS
908
923
HAVE_XINERAMA_TRUE
909
924
HAVE_XINERAMA_FALSE
910
925
HAVE_XRANDR_TRUE
921
936
HAVE_GETOPT_LONG_FALSE
922
937
DEBUG_CFLAGS
923
938
DEBUG_LDFLAGS
 
939
RSVG
 
940
OPTIPNG
 
941
MAKE_PNG_TRUE
 
942
MAKE_PNG_FALSE
 
943
OPTIMISE_PNG_TRUE
 
944
OPTIMISE_PNG_FALSE
924
945
GXINE_PLUGINPATH
925
946
GXINE_BINPATH
926
947
GXINE_LOGOPATH
931
952
GXINE_MISCPATH
932
953
GXINE_CONFPATH
933
954
VENDOR_PKG_VERSION
 
955
MANLINGUAS
934
956
LIBOBJS
935
957
LTLIBOBJS'
936
958
ac_subst_files=''
944
966
CPPFLAGS
945
967
CPP
946
968
CXXCPP
 
969
PKG_CONFIG
 
970
XCB_CFLAGS
 
971
XCB_LIBS
947
972
XMKMF
948
 
PKG_CONFIG
949
973
JS_CFLAGS
950
974
JS_LIBS
951
975
NSPR_CFLAGS
952
976
NSPR_LIBS
 
977
GTK2_CFLAGS
 
978
GTK2_LIBS
953
979
GLIB2_CFLAGS
954
980
GLIB2_LIBS
955
 
GTK2_CFLAGS
956
 
GTK2_LIBS
957
981
GTHREAD2_CFLAGS
958
982
GTHREAD2_LIBS
 
983
PANGO_CFLAGS
 
984
PANGO_LIBS
 
985
HAL_CFLAGS
 
986
HAL_LIBS
959
987
DBUS_CFLAGS
960
988
DBUS_LIBS
961
989
VENDOR_PKG_VERSION'
1461
1489
  # Omit some internal or obsolete options to make the list less imposing.
1462
1490
  # This message is too long to be a string in the A/UX 3.1 sh.
1463
1491
  cat <<_ACEOF
1464
 
\`configure' configures gxine 0.5.11 to adapt to many kinds of systems.
 
1492
\`configure' configures gxine 0.5.901 to adapt to many kinds of systems.
1465
1493
 
1466
1494
Usage: $0 [OPTION]... [VAR=VALUE]...
1467
1495
 
1535
1563
 
1536
1564
if test -n "$ac_init_help"; then
1537
1565
  case $ac_init_help in
1538
 
     short | recursive ) echo "Configuration of gxine 0.5.11:";;
 
1566
     short | recursive ) echo "Configuration of gxine 0.5.901:";;
1539
1567
   esac
1540
1568
  cat <<\_ACEOF
1541
1569
 
1553
1581
  --disable-libtool-lock  avoid locking (might break parallel builds)
1554
1582
  --disable-nls           do not use Native Language Support
1555
1583
  --disable-rpath         do not hardcode runtime library paths
1556
 
  --disable-libjs         don't look for libjs/libsmjs
 
1584
  --disable-x11-vo        disable use of X11-based video output plugins
1557
1585
  --disable-mozjs         don't look for Mozilla libmozjs
1558
1586
  --disable-ffjs          don't look for Firefox libmozjs
1559
1587
  --disable-seajs         don't look for Seamonkey libmozjs
1562
1590
                          presses (if XTest is supported)
1563
1591
  --disable-xinetest      do not try to compile and run a test XINE program
1564
1592
  --disable-lirc          turn off LIRC support
 
1593
  --enable-sun-xlib-workaround
 
1594
                          enable workaround for libXi deadlock on Solaris
1565
1595
  --enable-watchdog       enable watchdog (to abort gxine if it hangs)
1566
1596
  --disable-integration-wizard
1567
1597
                          don't configure other applications to use gxine (for
1571
1601
                          welcome)
1572
1602
  --disable-deprecated    exclude deprecated features, e.g. old Javascript
1573
1603
                          functions
 
1604
  --enable-obsolete       include obsolete features, e.g. old Javascript
 
1605
                          functions
1574
1606
 
1575
1607
Optional Packages:
1576
1608
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1584
1616
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1585
1617
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1586
1618
  --without-libintl-prefix     don't search for libintl in includedir and libdir
 
1619
  --with-xcb              build using XCB instead of Xlib
1587
1620
  --with-x                use the X Window System
1588
1621
  --with-spidermonkey     prefix where libjs/libsmjs is installed (optional)
1589
1622
  --without-browser-plugin
1590
1623
                          do not build the Mozilla browser plugin
 
1624
  --without-hal           disable HAL support (for device info etc.)
1591
1625
  --without-dbus          disable dbus support (for GNOME screensaver)
1592
1626
  --without-xinerama      disable Xinerama support (not recommended)
1593
1627
  --with-xine-prefix=DIR  prefix where XINE is installed (optional)
1605
1639
              you have headers in a nonstandard directory <include dir>
1606
1640
  CPP         C preprocessor
1607
1641
  CXXCPP      C++ preprocessor
 
1642
  PKG_CONFIG  path to pkg-config utility
 
1643
  XCB_CFLAGS  C compiler flags for XCB, overriding pkg-config
 
1644
  XCB_LIBS    linker flags for XCB, overriding pkg-config
1608
1645
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1609
 
  PKG_CONFIG  path to pkg-config utility
1610
1646
  JS_CFLAGS   C compiler flags for JS, overriding pkg-config
1611
1647
  JS_LIBS     linker flags for JS, overriding pkg-config
1612
1648
  NSPR_CFLAGS C compiler flags for NSPR, overriding pkg-config
1613
1649
  NSPR_LIBS   linker flags for NSPR, overriding pkg-config
 
1650
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
 
1651
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
1614
1652
  GLIB2_CFLAGS
1615
1653
              C compiler flags for GLIB2, overriding pkg-config
1616
1654
  GLIB2_LIBS  linker flags for GLIB2, overriding pkg-config
1617
 
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1618
 
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
1619
1655
  GTHREAD2_CFLAGS
1620
1656
              C compiler flags for GTHREAD2, overriding pkg-config
1621
1657
  GTHREAD2_LIBS
1622
1658
              linker flags for GTHREAD2, overriding pkg-config
 
1659
  PANGO_CFLAGS
 
1660
              C compiler flags for PANGO, overriding pkg-config
 
1661
  PANGO_LIBS  linker flags for PANGO, overriding pkg-config
 
1662
  HAL_CFLAGS  C compiler flags for HAL, overriding pkg-config
 
1663
  HAL_LIBS    linker flags for HAL, overriding pkg-config
1623
1664
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1624
1665
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1625
1666
  VENDOR_PKG_VERSION
1626
1667
              vendor build identifier string (default is the upstream version
1627
 
              number, suffixed with "release" or "CVS snapshot")
 
1668
              number, suffixed with "release" or identifying a snapshot type)
1628
1669
 
1629
1670
Use these variables to override the choices made by `configure' or to help
1630
1671
it to find libraries and programs with nonstandard names/locations.
1689
1730
test -n "$ac_init_help" && exit $ac_status
1690
1731
if $ac_init_version; then
1691
1732
  cat <<\_ACEOF
1692
 
gxine configure 0.5.11
 
1733
gxine configure 0.5.901
1693
1734
generated by GNU Autoconf 2.61
1694
1735
 
1695
1736
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1703
1744
This file contains any messages produced by compilers while
1704
1745
running configure, to aid debugging if configure makes a mistake.
1705
1746
 
1706
 
It was created by gxine $as_me 0.5.11, which was
 
1747
It was created by gxine $as_me 0.5.901, which was
1707
1748
generated by GNU Autoconf 2.61.  Invocation command line was
1708
1749
 
1709
1750
  $ $0 $@
1976
2017
  >$cache_file
1977
2018
fi
1978
2019
 
 
2020
gt_needs="$gt_needs "
1979
2021
# Check that the precious variables saved in the cache have kept the same
1980
2022
# value.
1981
2023
ac_cache_corrupted=false
2060
2102
 
2061
2103
ac_config_headers="$ac_config_headers include/config.h"
2062
2104
 
2063
 
am__api_version="1.9"
 
2105
am__api_version='1.10'
 
2106
 
2064
2107
ac_aux_dir=
2065
2108
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2066
2109
  if test -f "$ac_dir/install-sh"; then
2243
2286
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2244
2287
fi
2245
2288
 
2246
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2247
 
  # We used to keeping the `.' as first argument, in order to
2248
 
  # allow $(mkdir_p) to be used without argument.  As in
2249
 
  #   $(mkdir_p) $(somedir)
2250
 
  # where $(somedir) is conditionally defined.  However this is wrong
2251
 
  # for two reasons:
2252
 
  #  1. if the package is installed by a user who cannot write `.'
2253
 
  #     make install will fail,
2254
 
  #  2. the above comment should most certainly read
2255
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2256
 
  #     so it does not work when $(somedir) is undefined and
2257
 
  #     $(DESTDIR) is not.
2258
 
  #  To support the latter case, we have to write
2259
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2260
 
  #  so the `.' trick is pointless.
2261
 
  mkdir_p='mkdir -p --'
 
2289
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2290
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2291
if test -z "$MKDIR_P"; then
 
2292
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2293
  echo $ECHO_N "(cached) $ECHO_C" >&6
2262
2294
else
2263
 
  # On NextStep and OpenStep, the `mkdir' command does not
2264
 
  # recognize any option.  It will interpret all options as
2265
 
  # directories to create, and then abort because `.' already
2266
 
  # exists.
2267
 
  for d in ./-p ./--version;
2268
 
  do
2269
 
    test -d $d && rmdir $d
2270
 
  done
2271
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2272
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2273
 
    mkdir_p='$(mkinstalldirs)'
 
2295
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2296
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2297
do
 
2298
  IFS=$as_save_IFS
 
2299
  test -z "$as_dir" && as_dir=.
 
2300
  for ac_prog in mkdir gmkdir; do
 
2301
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2302
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2303
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2304
             'mkdir (GNU coreutils) '* | \
 
2305
             'mkdir (coreutils) '* | \
 
2306
             'mkdir (fileutils) '4.1*)
 
2307
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2308
               break 3;;
 
2309
           esac
 
2310
         done
 
2311
       done
 
2312
done
 
2313
IFS=$as_save_IFS
 
2314
 
 
2315
fi
 
2316
 
 
2317
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2318
    MKDIR_P="$ac_cv_path_mkdir -p"
2274
2319
  else
2275
 
    mkdir_p='$(install_sh) -d'
 
2320
    # As a last resort, use the slow shell script.  Don't cache a
 
2321
    # value for MKDIR_P within a source directory, because that will
 
2322
    # break other packages using the cache if that directory is
 
2323
    # removed, or if the value is a relative name.
 
2324
    test -d ./--version && rmdir ./--version
 
2325
    MKDIR_P="$ac_install_sh -d"
2276
2326
  fi
2277
2327
fi
 
2328
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2329
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2330
 
 
2331
mkdir_p="$MKDIR_P"
 
2332
case $mkdir_p in
 
2333
  [\\/$]* | ?:[\\/]*) ;;
 
2334
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2335
esac
2278
2336
 
2279
2337
for ac_prog in gawk mawk nawk awk
2280
2338
do
2357
2415
fi
2358
2416
rmdir .tst 2>/dev/null
2359
2417
 
2360
 
# test to see if srcdir already configured
2361
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2362
 
   test -f $srcdir/config.status; then
2363
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2418
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2419
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2420
  # is not polluted with repeated "-I."
 
2421
  am__isrc=' -I$(srcdir)'
 
2422
  # test to see if srcdir already configured
 
2423
  if test -f $srcdir/config.status; then
 
2424
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2364
2425
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2365
2426
   { (exit 1); exit 1; }; }
 
2427
  fi
2366
2428
fi
2367
2429
 
2368
2430
# test whether we have cygpath
2377
2439
 
2378
2440
# Define the identity of the package.
2379
2441
 PACKAGE='gxine'
2380
 
 VERSION='0.5.11'
 
2442
 VERSION='0.5.901'
2381
2443
 
2382
2444
 
2383
2445
cat >>confdefs.h <<_ACEOF
2405
2467
 
2406
2468
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2407
2469
 
2408
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2470
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2409
2471
 
2410
2472
# Installed binaries are usually stripped using `strip' when the user
2411
2473
# run `make install-strip'.  However `strip' might not be the right
2509
2571
fi
2510
2572
 
2511
2573
fi
2512
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2574
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2513
2575
 
2514
2576
# We need awk for the "check" target.  The system "awk" is bad on
2515
2577
# some platforms.
2534
2596
 
2535
2597
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2536
2598
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2537
 
 
2538
 
 
2539
 
if test $USE_MAINTAINER_MODE = yes; then
 
2599
   if test $USE_MAINTAINER_MODE = yes; then
2540
2600
  MAINTAINER_MODE_TRUE=
2541
2601
  MAINTAINER_MODE_FALSE='#'
2542
2602
else
2555
2615
 
2556
2616
 
2557
2617
 
 
2618
XINE_LIB_MIN_VER=1.1.8
 
2619
 
2558
2620
saved_CFLAGS="$CFLAGS"
2559
2621
DEPDIR="${am__leading_dot}deps"
2560
2622
 
2609
2671
  am_depcomp="$ac_aux_dir/depcomp"
2610
2672
  AMDEPBACKSLASH='\'
2611
2673
fi
2612
 
 
2613
 
 
2614
 
if test "x$enable_dependency_tracking" != xno; then
 
2674
 if test "x$enable_dependency_tracking" != xno; then
2615
2675
  AMDEP_TRUE=
2616
2676
  AMDEP_FALSE='#'
2617
2677
else
2620
2680
fi
2621
2681
 
2622
2682
 
2623
 
 
2624
2683
ac_ext=c
2625
2684
ac_cpp='$CPP $CPPFLAGS'
2626
2685
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3607
3666
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3608
3667
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3609
3668
         >/dev/null 2>conftest.err &&
 
3669
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3610
3670
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3611
3671
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3612
3672
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3636
3696
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3637
3697
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3638
3698
 
3639
 
 
3640
 
 
3641
 
if
 
3699
 if
3642
3700
  test "x$enable_dependency_tracking" != xno \
3643
3701
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3644
3702
  am__fastdepCC_TRUE=
3650
3708
 
3651
3709
 
3652
3710
 
3653
 
 
3654
 
        { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3655
 
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
3656
 
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
 
3711
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3712
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
 
3713
if test "${ac_cv_search_strerror+set}" = set; then
3657
3714
  echo $ECHO_N "(cached) $ECHO_C" >&6
3658
3715
else
3659
 
  ac_check_lib_save_LIBS=$LIBS
3660
 
LIBS="-lcposix  $LIBS"
 
3716
  ac_func_search_save_LIBS=$LIBS
3661
3717
cat >conftest.$ac_ext <<_ACEOF
3662
3718
/* confdefs.h.  */
3663
3719
_ACEOF
3680
3736
  return 0;
3681
3737
}
3682
3738
_ACEOF
3683
 
rm -f conftest.$ac_objext conftest$ac_exeext
 
3739
for ac_lib in '' cposix; do
 
3740
  if test -z "$ac_lib"; then
 
3741
    ac_res="none required"
 
3742
  else
 
3743
    ac_res=-l$ac_lib
 
3744
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
3745
  fi
 
3746
  rm -f conftest.$ac_objext conftest$ac_exeext
3684
3747
if { (ac_try="$ac_link"
3685
3748
case "(($ac_try" in
3686
3749
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3698
3761
         test ! -s conftest.err
3699
3762
       } && test -s conftest$ac_exeext &&
3700
3763
       $as_test_x conftest$ac_exeext; then
3701
 
  ac_cv_lib_cposix_strerror=yes
 
3764
  ac_cv_search_strerror=$ac_res
3702
3765
else
3703
3766
  echo "$as_me: failed program was:" >&5
3704
3767
sed 's/^/| /' conftest.$ac_ext >&5
3705
3768
 
3706
 
        ac_cv_lib_cposix_strerror=no
 
3769
 
3707
3770
fi
3708
3771
 
3709
3772
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3710
 
      conftest$ac_exeext conftest.$ac_ext
3711
 
LIBS=$ac_check_lib_save_LIBS
3712
 
fi
3713
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3714
 
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
3715
 
if test $ac_cv_lib_cposix_strerror = yes; then
3716
 
  LIBS="$LIBS -lcposix"
3717
 
fi
3718
 
 
3719
 
 
 
3773
      conftest$ac_exeext
 
3774
  if test "${ac_cv_search_strerror+set}" = set; then
 
3775
  break
 
3776
fi
 
3777
done
 
3778
if test "${ac_cv_search_strerror+set}" = set; then
 
3779
  :
 
3780
else
 
3781
  ac_cv_search_strerror=no
 
3782
fi
 
3783
rm conftest.$ac_ext
 
3784
LIBS=$ac_func_search_save_LIBS
 
3785
fi
 
3786
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3787
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
3788
ac_res=$ac_cv_search_strerror
 
3789
if test "$ac_res" != no; then
 
3790
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
3791
 
 
3792
fi
3720
3793
 
3721
3794
CFLAGS="$saved_CFLAGS"
3722
3795
ac_ext=c
4462
4535
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4463
4536
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4464
4537
         >/dev/null 2>conftest.err &&
 
4538
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4465
4539
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4466
4540
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4467
4541
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4491
4565
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4492
4566
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4493
4567
 
4494
 
 
4495
 
 
4496
 
if
 
4568
 if
4497
4569
  test "x$enable_dependency_tracking" != xno \
4498
4570
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4499
4571
  am__fastdepCC_TRUE=
5248
5320
  test -z "$as_dir" && as_dir=.
5249
5321
  for lt_ac_prog in sed gsed; do
5250
5322
    for ac_exec_ext in '' $ac_executable_extensions; do
5251
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
5323
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5252
5324
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5253
5325
      fi
5254
5326
    done
5255
5327
  done
5256
5328
done
 
5329
IFS=$as_save_IFS
5257
5330
lt_ac_max=0
5258
5331
lt_ac_count=0
5259
5332
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5288
5361
fi
5289
5362
 
5290
5363
SED=$lt_cv_path_SED
 
5364
 
5291
5365
{ echo "$as_me:$LINENO: result: $SED" >&5
5292
5366
echo "${ECHO_T}$SED" >&6; }
5293
5367
 
5487
5561
echo "${ECHO_T}no, using $LN_S" >&6; }
5488
5562
fi
5489
5563
 
5490
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5491
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
5564
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5565
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5492
5566
if test "${lt_cv_deplibs_check_method+set}" = set; then
5493
5567
  echo $ECHO_N "(cached) $ECHO_C" >&6
5494
5568
else
5507
5581
# whether `pass_all' will *always* work, you probably want this one.
5508
5582
 
5509
5583
case $host_os in
5510
 
aix4* | aix5*)
 
5584
aix[4-9]*)
5511
5585
  lt_cv_deplibs_check_method=pass_all
5512
5586
  ;;
5513
5587
 
5529
5603
 
5530
5604
mingw* | pw32*)
5531
5605
  # Base MSYS/MinGW do not provide the 'file' command needed by
5532
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5533
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5534
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5606
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5607
  # unless we find 'file', for example because we are cross-compiling.
 
5608
  if ( file / ) >/dev/null 2>&1; then
 
5609
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5610
    lt_cv_file_magic_cmd='func_win32_libid'
 
5611
  else
 
5612
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5613
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5614
  fi
5535
5615
  ;;
5536
5616
 
5537
5617
darwin* | rhapsody*)
5576
5656
  esac
5577
5657
  ;;
5578
5658
 
5579
 
interix3*)
 
5659
interix[3-9]*)
5580
5660
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5581
5661
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5582
5662
  ;;
5626
5706
  lt_cv_deplibs_check_method=pass_all
5627
5707
  ;;
5628
5708
 
 
5709
rdos*)
 
5710
  lt_cv_deplibs_check_method=pass_all
 
5711
  ;;
 
5712
 
5629
5713
solaris*)
5630
5714
  lt_cv_deplibs_check_method=pass_all
5631
5715
  ;;
5712
5796
  ;;
5713
5797
*-*-irix6*)
5714
5798
  # Find out which ABI we are using.
5715
 
  echo '#line 5715 "configure"' > conftest.$ac_ext
 
5799
  echo '#line 5799 "configure"' > conftest.$ac_ext
5716
5800
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717
5801
  (eval $ac_compile) 2>&5
5718
5802
  ac_status=$?
5747
5831
  rm -rf conftest*
5748
5832
  ;;
5749
5833
 
5750
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
5834
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5835
s390*-*linux*|sparc*-*linux*)
5751
5836
  # Find out which ABI we are using.
5752
5837
  echo 'int i;' > conftest.$ac_ext
5753
5838
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5758
5843
    case `/usr/bin/file conftest.o` in
5759
5844
    *32-bit*)
5760
5845
      case $host in
 
5846
        x86_64-*kfreebsd*-gnu)
 
5847
          LD="${LD-ld} -m elf_i386_fbsd"
 
5848
          ;;
5761
5849
        x86_64-*linux*)
5762
5850
          LD="${LD-ld} -m elf_i386"
5763
5851
          ;;
5774
5862
      ;;
5775
5863
    *64-bit*)
5776
5864
      case $host in
 
5865
        x86_64-*kfreebsd*-gnu)
 
5866
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
5867
          ;;
5777
5868
        x86_64-*linux*)
5778
5869
          LD="${LD-ld} -m elf_x86_64"
5779
5870
          ;;
5877
5968
    *64-bit*)
5878
5969
      case $lt_cv_prog_gnu_ld in
5879
5970
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5880
 
      *)    LD="${LD-ld} -64" ;;
 
5971
      *)
 
5972
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
5973
          LD="${LD-ld} -64"
 
5974
        fi
 
5975
        ;;
5881
5976
      esac
5882
5977
      ;;
5883
5978
    esac
6339
6434
 
6340
6435
 
6341
6436
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6342
 
 
6343
6437
# find the maximum length of command line arguments
6344
6438
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6345
6439
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6426
6520
    fi
6427
6521
    ;;
6428
6522
  *)
6429
 
    # If test is not a shell built-in, we'll probably end up computing a
6430
 
    # maximum length that is only half of the actual maximum length, but
6431
 
    # we can't tell.
6432
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6433
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6523
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6524
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6525
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6526
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6527
    else
 
6528
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6529
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6434
6530
               = "XX$teststring") >/dev/null 2>&1 &&
6435
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6436
 
            lt_cv_sys_max_cmd_len=$new_result &&
6437
 
            test $i != 17 # 1/2 MB should be enough
6438
 
    do
6439
 
      i=`expr $i + 1`
6440
 
      teststring=$teststring$teststring
6441
 
    done
6442
 
    teststring=
6443
 
    # Add a significant safety factor because C++ compilers can tack on massive
6444
 
    # amounts of additional arguments before passing them to the linker.
6445
 
    # It appears as though 1/2 is a usable value.
6446
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6531
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6532
              lt_cv_sys_max_cmd_len=$new_result &&
 
6533
              test $i != 17 # 1/2 MB should be enough
 
6534
      do
 
6535
        i=`expr $i + 1`
 
6536
        teststring=$teststring$teststring
 
6537
      done
 
6538
      teststring=
 
6539
      # Add a significant safety factor because C++ compilers can tack on massive
 
6540
      # amounts of additional arguments before passing them to the linker.
 
6541
      # It appears as though 1/2 is a usable value.
 
6542
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6543
    fi
6447
6544
    ;;
6448
6545
  esac
6449
6546
 
6460
6557
 
6461
6558
 
6462
6559
 
 
6560
 
6463
6561
# Check for command to grab the raw symbol name followed by C symbol from nm.
6464
6562
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6465
6563
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6650
6748
    echo "$progname: failed program was:" >&5
6651
6749
    cat conftest.$ac_ext >&5
6652
6750
  fi
6653
 
  rm -f conftest* conftst*
 
6751
  rm -rf conftest* conftst*
6654
6752
 
6655
6753
  # Do not use the global_symbol_pipe unless it works.
6656
6754
  if test "$pipe_works" = yes; then
7048
7146
test -z "$ac_objext" && ac_objext=o
7049
7147
 
7050
7148
# Determine commands to create old-style static archives.
7051
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
7149
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7052
7150
old_postinstall_cmds='chmod 644 $oldlib'
7053
7151
old_postuninstall_cmds=
7054
7152
 
7210
7308
  ;;
7211
7309
esac
7212
7310
 
 
7311
 
 
7312
  case $host_os in
 
7313
    rhapsody* | darwin*)
 
7314
    if test -n "$ac_tool_prefix"; then
 
7315
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7316
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7317
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7318
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7319
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7320
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7321
else
 
7322
  if test -n "$DSYMUTIL"; then
 
7323
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7324
else
 
7325
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7326
for as_dir in $PATH
 
7327
do
 
7328
  IFS=$as_save_IFS
 
7329
  test -z "$as_dir" && as_dir=.
 
7330
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7331
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7332
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7333
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7334
    break 2
 
7335
  fi
 
7336
done
 
7337
done
 
7338
IFS=$as_save_IFS
 
7339
 
 
7340
fi
 
7341
fi
 
7342
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7343
if test -n "$DSYMUTIL"; then
 
7344
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7345
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7346
else
 
7347
  { echo "$as_me:$LINENO: result: no" >&5
 
7348
echo "${ECHO_T}no" >&6; }
 
7349
fi
 
7350
 
 
7351
 
 
7352
fi
 
7353
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7354
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7355
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7356
set dummy dsymutil; ac_word=$2
 
7357
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7358
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7359
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7360
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7361
else
 
7362
  if test -n "$ac_ct_DSYMUTIL"; then
 
7363
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7364
else
 
7365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7366
for as_dir in $PATH
 
7367
do
 
7368
  IFS=$as_save_IFS
 
7369
  test -z "$as_dir" && as_dir=.
 
7370
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7371
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7372
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7373
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7374
    break 2
 
7375
  fi
 
7376
done
 
7377
done
 
7378
IFS=$as_save_IFS
 
7379
 
 
7380
fi
 
7381
fi
 
7382
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7383
if test -n "$ac_ct_DSYMUTIL"; then
 
7384
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7385
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7386
else
 
7387
  { echo "$as_me:$LINENO: result: no" >&5
 
7388
echo "${ECHO_T}no" >&6; }
 
7389
fi
 
7390
 
 
7391
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7392
    DSYMUTIL=":"
 
7393
  else
 
7394
    case $cross_compiling:$ac_tool_warned in
 
7395
yes:)
 
7396
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7397
whose name does not start with the host triplet.  If you think this
 
7398
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7399
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7400
whose name does not start with the host triplet.  If you think this
 
7401
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7402
ac_tool_warned=yes ;;
 
7403
esac
 
7404
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7405
  fi
 
7406
else
 
7407
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7408
fi
 
7409
 
 
7410
    if test -n "$ac_tool_prefix"; then
 
7411
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7412
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7413
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7414
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7415
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7416
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7417
else
 
7418
  if test -n "$NMEDIT"; then
 
7419
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7420
else
 
7421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7422
for as_dir in $PATH
 
7423
do
 
7424
  IFS=$as_save_IFS
 
7425
  test -z "$as_dir" && as_dir=.
 
7426
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7427
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7428
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7429
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7430
    break 2
 
7431
  fi
 
7432
done
 
7433
done
 
7434
IFS=$as_save_IFS
 
7435
 
 
7436
fi
 
7437
fi
 
7438
NMEDIT=$ac_cv_prog_NMEDIT
 
7439
if test -n "$NMEDIT"; then
 
7440
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7441
echo "${ECHO_T}$NMEDIT" >&6; }
 
7442
else
 
7443
  { echo "$as_me:$LINENO: result: no" >&5
 
7444
echo "${ECHO_T}no" >&6; }
 
7445
fi
 
7446
 
 
7447
 
 
7448
fi
 
7449
if test -z "$ac_cv_prog_NMEDIT"; then
 
7450
  ac_ct_NMEDIT=$NMEDIT
 
7451
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7452
set dummy nmedit; ac_word=$2
 
7453
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7454
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7455
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7456
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7457
else
 
7458
  if test -n "$ac_ct_NMEDIT"; then
 
7459
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7460
else
 
7461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7462
for as_dir in $PATH
 
7463
do
 
7464
  IFS=$as_save_IFS
 
7465
  test -z "$as_dir" && as_dir=.
 
7466
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7467
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7468
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7469
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7470
    break 2
 
7471
  fi
 
7472
done
 
7473
done
 
7474
IFS=$as_save_IFS
 
7475
 
 
7476
fi
 
7477
fi
 
7478
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7479
if test -n "$ac_ct_NMEDIT"; then
 
7480
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7481
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7482
else
 
7483
  { echo "$as_me:$LINENO: result: no" >&5
 
7484
echo "${ECHO_T}no" >&6; }
 
7485
fi
 
7486
 
 
7487
  if test "x$ac_ct_NMEDIT" = x; then
 
7488
    NMEDIT=":"
 
7489
  else
 
7490
    case $cross_compiling:$ac_tool_warned in
 
7491
yes:)
 
7492
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7493
whose name does not start with the host triplet.  If you think this
 
7494
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7495
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7496
whose name does not start with the host triplet.  If you think this
 
7497
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7498
ac_tool_warned=yes ;;
 
7499
esac
 
7500
    NMEDIT=$ac_ct_NMEDIT
 
7501
  fi
 
7502
else
 
7503
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7504
fi
 
7505
 
 
7506
 
 
7507
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7508
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
7509
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7510
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7511
else
 
7512
  lt_cv_apple_cc_single_mod=no
 
7513
      if test -z "${LT_MULTI_MODULE}"; then
 
7514
   # By default we will add the -single_module flag. You can override
 
7515
   # by either setting the environment variable LT_MULTI_MODULE
 
7516
   # non-empty at configure time, or by adding -multi_module to the
 
7517
   # link flags.
 
7518
   echo "int foo(void){return 1;}" > conftest.c
 
7519
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7520
     -dynamiclib ${wl}-single_module conftest.c
 
7521
   if test -f libconftest.dylib; then
 
7522
     lt_cv_apple_cc_single_mod=yes
 
7523
     rm -rf libconftest.dylib*
 
7524
   fi
 
7525
   rm conftest.c
 
7526
      fi
 
7527
fi
 
7528
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7529
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
7530
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7531
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
7532
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7533
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7534
else
 
7535
  lt_cv_ld_exported_symbols_list=no
 
7536
      save_LDFLAGS=$LDFLAGS
 
7537
      echo "_main" > conftest.sym
 
7538
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7539
      cat >conftest.$ac_ext <<_ACEOF
 
7540
/* confdefs.h.  */
 
7541
_ACEOF
 
7542
cat confdefs.h >>conftest.$ac_ext
 
7543
cat >>conftest.$ac_ext <<_ACEOF
 
7544
/* end confdefs.h.  */
 
7545
 
 
7546
int
 
7547
main ()
 
7548
{
 
7549
 
 
7550
  ;
 
7551
  return 0;
 
7552
}
 
7553
_ACEOF
 
7554
rm -f conftest.$ac_objext conftest$ac_exeext
 
7555
if { (ac_try="$ac_link"
 
7556
case "(($ac_try" in
 
7557
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7558
  *) ac_try_echo=$ac_try;;
 
7559
esac
 
7560
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7561
  (eval "$ac_link") 2>conftest.er1
 
7562
  ac_status=$?
 
7563
  grep -v '^ *+' conftest.er1 >conftest.err
 
7564
  rm -f conftest.er1
 
7565
  cat conftest.err >&5
 
7566
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7567
  (exit $ac_status); } && {
 
7568
         test -z "$ac_c_werror_flag" ||
 
7569
         test ! -s conftest.err
 
7570
       } && test -s conftest$ac_exeext &&
 
7571
       $as_test_x conftest$ac_exeext; then
 
7572
  lt_cv_ld_exported_symbols_list=yes
 
7573
else
 
7574
  echo "$as_me: failed program was:" >&5
 
7575
sed 's/^/| /' conftest.$ac_ext >&5
 
7576
 
 
7577
        lt_cv_ld_exported_symbols_list=no
 
7578
fi
 
7579
 
 
7580
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7581
      conftest$ac_exeext conftest.$ac_ext
 
7582
   LDFLAGS="$save_LDFLAGS"
 
7583
 
 
7584
fi
 
7585
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7586
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7587
    case $host_os in
 
7588
    rhapsody* | darwin1.[0123])
 
7589
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7590
    darwin1.*)
 
7591
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7592
    darwin*)
 
7593
      # if running on 10.5 or later, the deployment target defaults
 
7594
      # to the OS version, if on x86, and 10.4, the deployment
 
7595
      # target defaults to 10.4. Don't you love it?
 
7596
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7597
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7598
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7599
   10.[012]*)
 
7600
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7601
   10.*)
 
7602
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7603
      esac
 
7604
    ;;
 
7605
  esac
 
7606
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7607
      _lt_dar_single_mod='$single_module'
 
7608
    fi
 
7609
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7610
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7611
    else
 
7612
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7613
    fi
 
7614
    if test "$DSYMUTIL" != ":"; then
 
7615
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7616
    else
 
7617
      _lt_dsymutil=
 
7618
    fi
 
7619
    ;;
 
7620
  esac
 
7621
 
 
7622
 
7213
7623
enable_dlopen=yes
7214
7624
enable_win32_dll=no
7215
7625
 
7248
7658
objext=$objext
7249
7659
 
7250
7660
# Code to be used in simple compile tests
7251
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7661
lt_simple_compile_test_code="int some_variable = 0;"
7252
7662
 
7253
7663
# Code to be used in simple link tests
7254
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7664
lt_simple_link_test_code='int main(){return(0);}'
7255
7665
 
7256
7666
 
7257
7667
# If no C compiler was specified, use CC.
7266
7676
 
7267
7677
# save warnings/boilerplate of simple test code
7268
7678
ac_outfile=conftest.$ac_objext
7269
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7679
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7270
7680
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7271
7681
_lt_compiler_boilerplate=`cat conftest.err`
7272
7682
$rm conftest*
7273
7683
 
7274
7684
ac_outfile=conftest.$ac_objext
7275
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7685
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7276
7686
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7277
7687
_lt_linker_boilerplate=`cat conftest.err`
7278
 
$rm conftest*
 
7688
$rm -r conftest*
7279
7689
 
7280
7690
 
7281
7691
 
7292
7702
else
7293
7703
  lt_cv_prog_compiler_rtti_exceptions=no
7294
7704
  ac_outfile=conftest.$ac_objext
7295
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7705
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7296
7706
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7297
7707
   # Insert the option either (1) after the last *FLAGS variable, or
7298
7708
   # (2) before a word containing "conftest.", or (3) at the end.
7303
7713
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7304
7714
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7305
7715
   -e 's:$: $lt_compiler_flag:'`
7306
 
   (eval echo "\"\$as_me:7306: $lt_compile\"" >&5)
 
7716
   (eval echo "\"\$as_me:7716: $lt_compile\"" >&5)
7307
7717
   (eval "$lt_compile" 2>conftest.err)
7308
7718
   ac_status=$?
7309
7719
   cat conftest.err >&5
7310
 
   echo "$as_me:7310: \$? = $ac_status" >&5
 
7720
   echo "$as_me:7720: \$? = $ac_status" >&5
7311
7721
   if (exit $ac_status) && test -s "$ac_outfile"; then
7312
7722
     # The compiler can only warn and ignore the option if not recognized
7313
7723
     # So say no if there are warnings other than the usual output.
7358
7768
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7359
7769
      ;;
7360
7770
 
7361
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7771
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7362
7772
      # PIC is the default for these OSes.
7363
7773
      ;;
7364
7774
 
7365
 
    mingw* | pw32* | os2*)
 
7775
    mingw* | cygwin* | pw32* | os2*)
7366
7776
      # This hack is so that the source file can tell whether it is being
7367
7777
      # built for inclusion in a dll (and should export symbols for example).
 
7778
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7779
      # (--disable-auto-import) libraries
7368
7780
      lt_prog_compiler_pic='-DDLL_EXPORT'
7369
7781
      ;;
7370
7782
 
7374
7786
      lt_prog_compiler_pic='-fno-common'
7375
7787
      ;;
7376
7788
 
7377
 
    interix3*)
 
7789
    interix[3-9]*)
7378
7790
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7379
7791
      # Instead, we relocate shared libraries at runtime.
7380
7792
      ;;
7432
7844
       esac
7433
7845
       ;;
7434
7846
 
7435
 
    mingw* | pw32* | os2*)
 
7847
    mingw* | cygwin* | pw32* | os2*)
7436
7848
      # This hack is so that the source file can tell whether it is being
7437
7849
      # built for inclusion in a dll (and should export symbols for example).
7438
7850
      lt_prog_compiler_pic='-DDLL_EXPORT'
7484
7896
        # All Alpha code is PIC.
7485
7897
        lt_prog_compiler_static='-non_shared'
7486
7898
        ;;
 
7899
      *)
 
7900
        case `$CC -V 2>&1 | sed 5q` in
 
7901
        *Sun\ C*)
 
7902
          # Sun C 5.9
 
7903
          lt_prog_compiler_pic='-KPIC'
 
7904
          lt_prog_compiler_static='-Bstatic'
 
7905
          lt_prog_compiler_wl='-Wl,'
 
7906
          ;;
 
7907
        *Sun\ F*)
 
7908
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7909
          lt_prog_compiler_pic='-KPIC'
 
7910
          lt_prog_compiler_static='-Bstatic'
 
7911
          lt_prog_compiler_wl=''
 
7912
          ;;
 
7913
        esac
 
7914
        ;;
7487
7915
      esac
7488
7916
      ;;
7489
7917
 
7493
7921
      lt_prog_compiler_static='-non_shared'
7494
7922
      ;;
7495
7923
 
 
7924
    rdos*)
 
7925
      lt_prog_compiler_static='-non_shared'
 
7926
      ;;
 
7927
 
7496
7928
    solaris*)
7497
7929
      lt_prog_compiler_pic='-KPIC'
7498
7930
      lt_prog_compiler_static='-Bstatic'
7555
7987
 
7556
7988
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7557
7989
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7558
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
7990
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7559
7991
  echo $ECHO_N "(cached) $ECHO_C" >&6
7560
7992
else
7561
 
  lt_prog_compiler_pic_works=no
 
7993
  lt_cv_prog_compiler_pic_works=no
7562
7994
  ac_outfile=conftest.$ac_objext
7563
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7995
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7564
7996
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7565
7997
   # Insert the option either (1) after the last *FLAGS variable, or
7566
7998
   # (2) before a word containing "conftest.", or (3) at the end.
7571
8003
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7572
8004
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7573
8005
   -e 's:$: $lt_compiler_flag:'`
7574
 
   (eval echo "\"\$as_me:7574: $lt_compile\"" >&5)
 
8006
   (eval echo "\"\$as_me:8006: $lt_compile\"" >&5)
7575
8007
   (eval "$lt_compile" 2>conftest.err)
7576
8008
   ac_status=$?
7577
8009
   cat conftest.err >&5
7578
 
   echo "$as_me:7578: \$? = $ac_status" >&5
 
8010
   echo "$as_me:8010: \$? = $ac_status" >&5
7579
8011
   if (exit $ac_status) && test -s "$ac_outfile"; then
7580
8012
     # The compiler can only warn and ignore the option if not recognized
7581
8013
     # So say no if there are warnings other than the usual output.
7582
8014
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7583
8015
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7584
8016
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7585
 
       lt_prog_compiler_pic_works=yes
 
8017
       lt_cv_prog_compiler_pic_works=yes
7586
8018
     fi
7587
8019
   fi
7588
8020
   $rm conftest*
7589
8021
 
7590
8022
fi
7591
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7592
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
8023
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8024
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7593
8025
 
7594
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
8026
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7595
8027
    case $lt_prog_compiler_pic in
7596
8028
     "" | " "*) ;;
7597
8029
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7618
8050
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7619
8051
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7620
8052
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7621
 
if test "${lt_prog_compiler_static_works+set}" = set; then
 
8053
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7622
8054
  echo $ECHO_N "(cached) $ECHO_C" >&6
7623
8055
else
7624
 
  lt_prog_compiler_static_works=no
 
8056
  lt_cv_prog_compiler_static_works=no
7625
8057
   save_LDFLAGS="$LDFLAGS"
7626
8058
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7627
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8059
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7628
8060
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7629
8061
     # The linker can only warn and ignore the option if not recognized
7630
8062
     # So say no if there are warnings
7634
8066
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7635
8067
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7636
8068
       if diff conftest.exp conftest.er2 >/dev/null; then
7637
 
         lt_prog_compiler_static_works=yes
 
8069
         lt_cv_prog_compiler_static_works=yes
7638
8070
       fi
7639
8071
     else
7640
 
       lt_prog_compiler_static_works=yes
 
8072
       lt_cv_prog_compiler_static_works=yes
7641
8073
     fi
7642
8074
   fi
7643
 
   $rm conftest*
 
8075
   $rm -r conftest*
7644
8076
   LDFLAGS="$save_LDFLAGS"
7645
8077
 
7646
8078
fi
7647
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7648
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
8079
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8080
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7649
8081
 
7650
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8082
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7651
8083
    :
7652
8084
else
7653
8085
    lt_prog_compiler_static=
7664
8096
   mkdir conftest
7665
8097
   cd conftest
7666
8098
   mkdir out
7667
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8099
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7668
8100
 
7669
8101
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7670
8102
   # Insert the option either (1) after the last *FLAGS variable, or
7675
8107
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7676
8108
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7677
8109
   -e 's:$: $lt_compiler_flag:'`
7678
 
   (eval echo "\"\$as_me:7678: $lt_compile\"" >&5)
 
8110
   (eval echo "\"\$as_me:8110: $lt_compile\"" >&5)
7679
8111
   (eval "$lt_compile" 2>out/conftest.err)
7680
8112
   ac_status=$?
7681
8113
   cat out/conftest.err >&5
7682
 
   echo "$as_me:7682: \$? = $ac_status" >&5
 
8114
   echo "$as_me:8114: \$? = $ac_status" >&5
7683
8115
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7684
8116
   then
7685
8117
     # The compiler can only warn and ignore the option if not recognized
7759
8191
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7760
8192
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7761
8193
  # as well as any symbol that contains `d'.
7762
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
8194
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7763
8195
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7764
8196
  # platforms (ab)use it in PIC code, but their linkers get confused if
7765
8197
  # the symbol is explicitly referenced.  Since portable code cannot
7766
8198
  # rely on this symbol name, it's probably fine to never include it in
7767
8199
  # preloaded symbol tables.
 
8200
  # Exclude shared library initialization/finalization symbols.
7768
8201
  extract_expsyms_cmds=
7769
8202
  # Just being paranoid about ensuring that cc_basename is set.
7770
8203
  for cc_temp in $compiler""; do
7823
8256
 
7824
8257
    # See if GNU ld supports shared libraries.
7825
8258
    case $host_os in
7826
 
    aix3* | aix4* | aix5*)
 
8259
    aix[3-9]*)
7827
8260
      # On AIX/PPC, the GNU linker is very broken
7828
8261
      if test "$host_cpu" != ia64; then
7829
8262
        ld_shlibs=no
7871
8304
      allow_undefined_flag=unsupported
7872
8305
      always_export_symbols=no
7873
8306
      enable_shared_with_static_runtimes=yes
7874
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8307
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7875
8308
 
7876
8309
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7877
8310
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7889
8322
      fi
7890
8323
      ;;
7891
8324
 
7892
 
    interix3*)
 
8325
    interix[3-9]*)
7893
8326
      hardcode_direct=no
7894
8327
      hardcode_shlibpath_var=no
7895
8328
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7904
8337
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7905
8338
      ;;
7906
8339
 
7907
 
    linux* | k*bsd*-gnu)
 
8340
    gnu* | linux* | k*bsd*-gnu)
7908
8341
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7909
8342
        tmp_addflag=
7910
8343
        case $cc_basename,$host_cpu in
7922
8355
        ifc* | ifort*)                  # Intel Fortran compiler
7923
8356
          tmp_addflag=' -nofor_main' ;;
7924
8357
        esac
7925
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8358
        case `$CC -V 2>&1 | sed 5q` in
 
8359
        *Sun\ C*)                       # Sun C 5.9
 
8360
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8361
          tmp_sharedflag='-G' ;;
 
8362
        *Sun\ F*)                       # Sun Fortran 8.3
 
8363
          tmp_sharedflag='-G' ;;
 
8364
        *)
 
8365
          tmp_sharedflag='-shared' ;;
 
8366
        esac
 
8367
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7926
8368
 
7927
8369
        if test $supports_anon_versioning = yes; then
7928
8370
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7929
8371
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7930
8372
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7931
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8373
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7932
8374
        fi
7933
8375
        link_all_deplibs=no
7934
8376
      else
8034
8476
      fi
8035
8477
      ;;
8036
8478
 
8037
 
    aix4* | aix5*)
 
8479
    aix[4-9]*)
8038
8480
      if test "$host_cpu" = ia64; then
8039
8481
        # On IA64, the linker does run time linking by default, so we don't
8040
8482
        # have to do anything special.
8054
8496
        # Test if we are trying to use run time linking or normal
8055
8497
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8056
8498
        # need to do runtime linking.
8057
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8499
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8058
8500
          for ld_flag in $LDFLAGS; do
8059
8501
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8060
8502
            aix_use_runtimelinking=yes
8088
8530
           strings "$collect2name" | grep resolve_lib_name >/dev/null
8089
8531
          then
8090
8532
          # We have reworked collect2
8091
 
          hardcode_direct=yes
 
8533
          :
8092
8534
          else
8093
8535
          # We have old collect2
8094
8536
          hardcode_direct=unsupported
8162
8604
       } && test -s conftest$ac_exeext &&
8163
8605
       $as_test_x conftest$ac_exeext; then
8164
8606
 
8165
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8166
 
}'`
 
8607
lt_aix_libpath_sed='
 
8608
    /Import File Strings/,/^$/ {
 
8609
        /^0/ {
 
8610
            s/^0  *\(.*\)$/\1/
 
8611
            p
 
8612
        }
 
8613
    }'
 
8614
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8167
8615
# Check for a 64-bit object if we didn't find anything.
8168
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8169
 
}'`; fi
 
8616
if test -z "$aix_libpath"; then
 
8617
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8618
fi
8170
8619
else
8171
8620
  echo "$as_me: failed program was:" >&5
8172
8621
sed 's/^/| /' conftest.$ac_ext >&5
8221
8670
       } && test -s conftest$ac_exeext &&
8222
8671
       $as_test_x conftest$ac_exeext; then
8223
8672
 
8224
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8225
 
}'`
 
8673
lt_aix_libpath_sed='
 
8674
    /Import File Strings/,/^$/ {
 
8675
        /^0/ {
 
8676
            s/^0  *\(.*\)$/\1/
 
8677
            p
 
8678
        }
 
8679
    }'
 
8680
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8226
8681
# Check for a 64-bit object if we didn't find anything.
8227
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8228
 
}'`; fi
 
8682
if test -z "$aix_libpath"; then
 
8683
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8684
fi
8229
8685
else
8230
8686
  echo "$as_me: failed program was:" >&5
8231
8687
sed 's/^/| /' conftest.$ac_ext >&5
8279
8735
      # The linker will automatically build a .lib file if we build a DLL.
8280
8736
      old_archive_From_new_cmds='true'
8281
8737
      # FIXME: Should let the user specify the lib program.
8282
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8738
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8283
8739
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8284
8740
      enable_shared_with_static_runtimes=yes
8285
8741
      ;;
8312
8768
      link_all_deplibs=yes
8313
8769
    if test "$GCC" = yes ; then
8314
8770
        output_verbose_link_cmd='echo'
8315
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8316
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8317
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8318
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8319
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8771
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8772
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8773
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
8774
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8320
8775
    else
8321
8776
      case $cc_basename in
8322
8777
        xlc*)
8323
8778
         output_verbose_link_cmd='echo'
8324
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8779
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8325
8780
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8326
8781
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8327
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8782
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8328
8783
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8329
8784
          ;;
8330
8785
       *)
8486
8941
      ;;
8487
8942
 
8488
8943
    openbsd*)
8489
 
      hardcode_direct=yes
8490
 
      hardcode_shlibpath_var=no
8491
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8492
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8493
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8494
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8495
 
        export_dynamic_flag_spec='${wl}-E'
 
8944
      if test -f /usr/libexec/ld.so; then
 
8945
        hardcode_direct=yes
 
8946
        hardcode_shlibpath_var=no
 
8947
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8948
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8949
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8950
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8951
          export_dynamic_flag_spec='${wl}-E'
 
8952
        else
 
8953
          case $host_os in
 
8954
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8955
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8956
             hardcode_libdir_flag_spec='-R$libdir'
 
8957
             ;;
 
8958
           *)
 
8959
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8960
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8961
             ;;
 
8962
          esac
 
8963
        fi
8496
8964
      else
8497
 
       case $host_os in
8498
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8499
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8500
 
           hardcode_libdir_flag_spec='-R$libdir'
8501
 
           ;;
8502
 
         *)
8503
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8504
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8505
 
           ;;
8506
 
       esac
 
8965
        ld_shlibs=no
8507
8966
      fi
8508
8967
      ;;
8509
8968
 
8562
9021
      case $host_os in
8563
9022
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8564
9023
      *)
8565
 
        # The compiler driver will combine linker options so we
8566
 
        # cannot just pass the convience library names through
8567
 
        # without $wl, iff we do not link with $LD.
8568
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
9024
        # The compiler driver will combine and reorder linker options,
 
9025
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9026
        # but is careful enough not to reorder.
8569
9027
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8570
 
        case $wlarc in
8571
 
        '')
8572
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8573
 
        *)
8574
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8575
 
        esac ;;
 
9028
        if test "$GCC" = yes; then
 
9029
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9030
        else
 
9031
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9032
        fi
 
9033
        ;;
8576
9034
      esac
8577
9035
      link_all_deplibs=yes
8578
9036
      ;;
8629
9087
      fi
8630
9088
      ;;
8631
9089
 
8632
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
9090
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8633
9091
      no_undefined_flag='${wl}-z,text'
8634
9092
      archive_cmds_need_lc=no
8635
9093
      hardcode_shlibpath_var=no
8706
9164
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8707
9165
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8708
9166
      $rm conftest*
8709
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9167
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8710
9168
 
8711
9169
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8712
9170
  (eval $ac_compile) 2>&5
8764
9222
version_type=none
8765
9223
dynamic_linker="$host_os ld.so"
8766
9224
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9225
 
8767
9226
if test "$GCC" = yes; then
8768
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8769
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
9227
  case $host_os in
 
9228
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9229
    *) lt_awk_arg="/^libraries:/" ;;
 
9230
  esac
 
9231
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9232
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8770
9233
    # if the path contains ";" then we assume it to be the separator
8771
9234
    # otherwise default to the standard path separator (i.e. ":") - it is
8772
9235
    # assumed that no part of a normal pathname contains ";" but that should
8773
9236
    # okay in the real world where ";" in dirpaths is itself problematic.
8774
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9237
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8775
9238
  else
8776
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9239
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8777
9240
  fi
 
9241
  # Ok, now we have the path, separated by spaces, we can step through it
 
9242
  # and add multilib dir if necessary.
 
9243
  lt_tmp_lt_search_path_spec=
 
9244
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9245
  for lt_sys_path in $lt_search_path_spec; do
 
9246
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9247
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9248
    else
 
9249
      test -d "$lt_sys_path" && \
 
9250
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9251
    fi
 
9252
  done
 
9253
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9254
BEGIN {RS=" "; FS="/|\n";} {
 
9255
  lt_foo="";
 
9256
  lt_count=0;
 
9257
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9258
    if ($lt_i != "" && $lt_i != ".") {
 
9259
      if ($lt_i == "..") {
 
9260
        lt_count++;
 
9261
      } else {
 
9262
        if (lt_count == 0) {
 
9263
          lt_foo="/" $lt_i lt_foo;
 
9264
        } else {
 
9265
          lt_count--;
 
9266
        }
 
9267
      }
 
9268
    }
 
9269
  }
 
9270
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9271
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9272
}'`
 
9273
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
8778
9274
else
8779
9275
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8780
9276
fi
8795
9291
  soname_spec='${libname}${release}${shared_ext}$major'
8796
9292
  ;;
8797
9293
 
8798
 
aix4* | aix5*)
 
9294
aix[4-9]*)
8799
9295
  version_type=linux
8800
9296
  need_lib_prefix=no
8801
9297
  need_version=no
8934
9430
  shlibpath_overrides_runpath=yes
8935
9431
  shlibpath_var=DYLD_LIBRARY_PATH
8936
9432
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8937
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8938
 
  if test "$GCC" = yes; then
8939
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8940
 
  else
8941
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8942
 
  fi
 
9433
 
 
9434
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8943
9435
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8944
9436
  ;;
8945
9437
 
8993
9485
    shlibpath_overrides_runpath=no
8994
9486
    hardcode_into_libs=yes
8995
9487
    ;;
8996
 
  freebsd*) # from 4.6 on
 
9488
  *) # from 4.6 on, and DragonFly
8997
9489
    shlibpath_overrides_runpath=yes
8998
9490
    hardcode_into_libs=yes
8999
9491
    ;;
9056
9548
  postinstall_cmds='chmod 555 $lib'
9057
9549
  ;;
9058
9550
 
9059
 
interix3*)
 
9551
interix[3-9]*)
9060
9552
  version_type=linux
9061
9553
  need_lib_prefix=no
9062
9554
  need_version=no
9127
9619
 
9128
9620
  # Append ld.so.conf contents to the search path
9129
9621
  if test -f /etc/ld.so.conf; then
9130
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9622
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9131
9623
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9132
9624
  fi
9133
9625
 
9233
9725
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9234
9726
  ;;
9235
9727
 
 
9728
rdos*)
 
9729
  dynamic_linker=no
 
9730
  ;;
 
9731
 
9236
9732
solaris*)
9237
9733
  version_type=linux
9238
9734
  need_lib_prefix=no
9329
9825
echo "${ECHO_T}$dynamic_linker" >&6; }
9330
9826
test "$dynamic_linker" = no && can_build_shared=no
9331
9827
 
 
9828
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9829
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9830
else
 
9831
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
9832
fi
 
9833
 
 
9834
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9835
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9836
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9837
else
 
9838
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
9839
fi
 
9840
 
 
9841
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9842
 
9332
9843
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9333
9844
if test "$GCC" = yes; then
9334
9845
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9386
9897
   darwin*)
9387
9898
       if test -n "$STRIP" ; then
9388
9899
         striplib="$STRIP -x"
 
9900
         old_striplib="$STRIP -S"
9389
9901
         { echo "$as_me:$LINENO: result: yes" >&5
9390
9902
echo "${ECHO_T}yes" >&6; }
9391
9903
       else
9647
10159
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9648
10160
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9649
10161
if test $ac_cv_lib_dld_shl_load = yes; then
9650
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
10162
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9651
10163
else
9652
10164
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9653
10165
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9923
10435
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9924
10436
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9925
10437
if test $ac_cv_lib_dld_dld_link = yes; then
9926
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10438
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9927
10439
fi
9928
10440
 
9929
10441
 
9972
10484
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9973
10485
  lt_status=$lt_dlunknown
9974
10486
  cat > conftest.$ac_ext <<EOF
9975
 
#line 9975 "configure"
 
10487
#line 10487 "configure"
9976
10488
#include "confdefs.h"
9977
10489
 
9978
10490
#if HAVE_DLFCN_H
10072
10584
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10073
10585
  lt_status=$lt_dlunknown
10074
10586
  cat > conftest.$ac_ext <<EOF
10075
 
#line 10075 "configure"
 
10587
#line 10587 "configure"
10076
10588
#include "confdefs.h"
10077
10589
 
10078
10590
#if HAVE_DLFCN_H
10199
10711
  fi
10200
10712
  ;;
10201
10713
 
10202
 
aix4* | aix5*)
 
10714
aix[4-9]*)
10203
10715
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10204
10716
    test "$enable_shared" = yes && enable_static=no
10205
10717
  fi
10255
10767
    predeps \
10256
10768
    postdeps \
10257
10769
    compiler_lib_search_path \
 
10770
    compiler_lib_search_dirs \
10258
10771
    archive_cmds \
10259
10772
    archive_expsym_cmds \
10260
10773
    postinstall_cmds \
10270
10783
    module_cmds \
10271
10784
    module_expsym_cmds \
10272
10785
    lt_cv_prog_compiler_c_o \
 
10786
    fix_srcfile_path \
10273
10787
    exclude_expsyms \
10274
10788
    include_expsyms; do
10275
10789
 
10314
10828
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10315
10829
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10316
10830
#
10317
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10831
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10318
10832
# Free Software Foundation, Inc.
10319
10833
#
10320
10834
# This file is part of GNU Libtool:
10550
11064
# shared library.
10551
11065
postdeps=$lt_postdeps
10552
11066
 
 
11067
# The directories searched by this compiler when creating a shared
 
11068
# library
 
11069
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
11070
 
10553
11071
# The library search path used internally by the compiler when linking
10554
11072
# a shared library.
10555
11073
compiler_lib_search_path=$lt_compiler_lib_search_path
10638
11156
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10639
11157
 
10640
11158
# Fix the shell variable \$srcfile for the compiler.
10641
 
fix_srcfile_path="$fix_srcfile_path"
 
11159
fix_srcfile_path=$lt_fix_srcfile_path
10642
11160
 
10643
11161
# Set to yes if exported symbols are required.
10644
11162
always_export_symbols=$always_export_symbols
10798
11316
predeps_CXX=
10799
11317
postdeps_CXX=
10800
11318
compiler_lib_search_path_CXX=
 
11319
compiler_lib_search_dirs_CXX=
10801
11320
 
10802
11321
# Source file extension for C++ test sources.
10803
11322
ac_ext=cpp
10807
11326
objext_CXX=$objext
10808
11327
 
10809
11328
# Code to be used in simple compile tests
10810
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
11329
lt_simple_compile_test_code="int some_variable = 0;"
10811
11330
 
10812
11331
# Code to be used in simple link tests
10813
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
11332
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10814
11333
 
10815
11334
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10816
11335
 
10826
11345
 
10827
11346
# save warnings/boilerplate of simple test code
10828
11347
ac_outfile=conftest.$ac_objext
10829
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11348
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10830
11349
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10831
11350
_lt_compiler_boilerplate=`cat conftest.err`
10832
11351
$rm conftest*
10833
11352
 
10834
11353
ac_outfile=conftest.$ac_objext
10835
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11354
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10836
11355
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10837
11356
_lt_linker_boilerplate=`cat conftest.err`
10838
 
$rm conftest*
 
11357
$rm -r conftest*
10839
11358
 
10840
11359
 
10841
11360
# Allow CC to be a program name with arguments.
11042
11561
    # FIXME: insert proper C++ library support
11043
11562
    ld_shlibs_CXX=no
11044
11563
    ;;
11045
 
  aix4* | aix5*)
 
11564
  aix[4-9]*)
11046
11565
    if test "$host_cpu" = ia64; then
11047
11566
      # On IA64, the linker does run time linking by default, so we don't
11048
11567
      # have to do anything special.
11055
11574
      # Test if we are trying to use run time linking or normal
11056
11575
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11057
11576
      # need to do runtime linking.
11058
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
11577
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11059
11578
        for ld_flag in $LDFLAGS; do
11060
11579
          case $ld_flag in
11061
11580
          *-brtl*)
11091
11610
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11092
11611
        then
11093
11612
          # We have reworked collect2
11094
 
          hardcode_direct_CXX=yes
 
11613
          :
11095
11614
        else
11096
11615
          # We have old collect2
11097
11616
          hardcode_direct_CXX=unsupported
11165
11684
       } && test -s conftest$ac_exeext &&
11166
11685
       $as_test_x conftest$ac_exeext; then
11167
11686
 
11168
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11169
 
}'`
 
11687
lt_aix_libpath_sed='
 
11688
    /Import File Strings/,/^$/ {
 
11689
        /^0/ {
 
11690
            s/^0  *\(.*\)$/\1/
 
11691
            p
 
11692
        }
 
11693
    }'
 
11694
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11170
11695
# Check for a 64-bit object if we didn't find anything.
11171
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11172
 
}'`; fi
 
11696
if test -z "$aix_libpath"; then
 
11697
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11698
fi
11173
11699
else
11174
11700
  echo "$as_me: failed program was:" >&5
11175
11701
sed 's/^/| /' conftest.$ac_ext >&5
11225
11751
       } && test -s conftest$ac_exeext &&
11226
11752
       $as_test_x conftest$ac_exeext; then
11227
11753
 
11228
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11229
 
}'`
 
11754
lt_aix_libpath_sed='
 
11755
    /Import File Strings/,/^$/ {
 
11756
        /^0/ {
 
11757
            s/^0  *\(.*\)$/\1/
 
11758
            p
 
11759
        }
 
11760
    }'
 
11761
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11230
11762
# Check for a 64-bit object if we didn't find anything.
11231
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11232
 
}'`; fi
 
11763
if test -z "$aix_libpath"; then
 
11764
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11765
fi
11233
11766
else
11234
11767
  echo "$as_me: failed program was:" >&5
11235
11768
sed 's/^/| /' conftest.$ac_ext >&5
11299
11832
    fi
11300
11833
  ;;
11301
11834
      darwin* | rhapsody*)
11302
 
        case $host_os in
11303
 
        rhapsody* | darwin1.[012])
11304
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11305
 
         ;;
11306
 
       *) # Darwin 1.3 on
11307
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11308
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11309
 
         else
11310
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11311
 
             10.[012])
11312
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11313
 
               ;;
11314
 
             10.*)
11315
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11316
 
               ;;
11317
 
           esac
11318
 
         fi
11319
 
         ;;
11320
 
        esac
11321
11835
      archive_cmds_need_lc_CXX=no
11322
11836
      hardcode_direct_CXX=no
11323
11837
      hardcode_automatic_CXX=yes
11324
11838
      hardcode_shlibpath_var_CXX=unsupported
11325
11839
      whole_archive_flag_spec_CXX=''
11326
11840
      link_all_deplibs_CXX=yes
11327
 
 
11328
 
    if test "$GXX" = yes ; then
11329
 
      lt_int_apple_cc_single_mod=no
 
11841
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
11842
      if test "$GXX" = yes ; then
11330
11843
      output_verbose_link_cmd='echo'
11331
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11332
 
       lt_int_apple_cc_single_mod=yes
 
11844
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11845
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11846
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
11847
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
11848
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
11849
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
11850
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11333
11851
      fi
11334
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11335
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11336
 
      else
11337
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11338
 
        fi
11339
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11340
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11341
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11342
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11343
 
          else
11344
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11345
 
          fi
11346
 
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11347
11852
      else
11348
11853
      case $cc_basename in
11349
11854
        xlc*)
11350
11855
         output_verbose_link_cmd='echo'
11351
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
11856
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11352
11857
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11353
11858
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11354
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11859
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11355
11860
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11356
11861
          ;;
11357
11862
       *)
11434
11939
      hardcode_libdir_separator_CXX=:
11435
11940
 
11436
11941
      case $host_cpu in
11437
 
      hppa*64*|ia64*)
11438
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11439
 
        ;;
 
11942
      hppa*64*|ia64*) ;;
11440
11943
      *)
11441
11944
        export_dynamic_flag_spec_CXX='${wl}-E'
11442
11945
        ;;
11504
12007
        ;;
11505
12008
    esac
11506
12009
    ;;
11507
 
  interix3*)
 
12010
  interix[3-9]*)
11508
12011
    hardcode_direct_CXX=no
11509
12012
    hardcode_shlibpath_var_CXX=no
11510
12013
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11596
12099
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11597
12100
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11598
12101
        ;;
11599
 
      pgCC*)
 
12102
      pgCC* | pgcpp*)
11600
12103
        # Portland Group C++ compiler
11601
12104
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11602
12105
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11624
12127
        # dependencies.
11625
12128
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11626
12129
        ;;
 
12130
      *)
 
12131
        case `$CC -V 2>&1 | sed 5q` in
 
12132
        *Sun\ C*)
 
12133
          # Sun C++ 5.9
 
12134
          no_undefined_flag_CXX=' -zdefs'
 
12135
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12136
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
12137
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12138
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
12139
 
 
12140
          # Not sure whether something based on
 
12141
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
12142
          # would be better.
 
12143
          output_verbose_link_cmd='echo'
 
12144
 
 
12145
          # Archives containing C++ object files must be created using
 
12146
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12147
          # necessary to make sure instantiated templates are included
 
12148
          # in the archive.
 
12149
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12150
          ;;
 
12151
        esac
 
12152
        ;;
11627
12153
    esac
11628
12154
    ;;
11629
12155
  lynxos*)
11662
12188
    ld_shlibs_CXX=no
11663
12189
    ;;
11664
12190
  openbsd*)
11665
 
    hardcode_direct_CXX=yes
11666
 
    hardcode_shlibpath_var_CXX=no
11667
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11668
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11669
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11670
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11671
 
      export_dynamic_flag_spec_CXX='${wl}-E'
11672
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12191
    if test -f /usr/libexec/ld.so; then
 
12192
      hardcode_direct_CXX=yes
 
12193
      hardcode_shlibpath_var_CXX=no
 
12194
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12195
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12196
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12197
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12198
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12199
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12200
      fi
 
12201
      output_verbose_link_cmd='echo'
 
12202
    else
 
12203
      ld_shlibs_CXX=no
11673
12204
    fi
11674
 
    output_verbose_link_cmd='echo'
11675
12205
    ;;
11676
12206
  osf3*)
11677
12207
    case $cc_basename in
11833
12363
        case $host_os in
11834
12364
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11835
12365
          *)
11836
 
            # The C++ compiler is used as linker so we must use $wl
11837
 
            # flag to pass the commands to the underlying system
11838
 
            # linker. We must also pass each convience library through
11839
 
            # to the system linker between allextract/defaultextract.
11840
 
            # The C++ compiler will combine linker options so we
11841
 
            # cannot just pass the convience library names through
11842
 
            # without $wl.
 
12366
            # The compiler driver will combine and reorder linker options,
 
12367
            # but understands `-z linker_flag'.
11843
12368
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11844
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
12369
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11845
12370
            ;;
11846
12371
        esac
11847
12372
        link_all_deplibs_CXX=yes
11888
12413
          fi
11889
12414
 
11890
12415
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12416
          case $host_os in
 
12417
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12418
          *)
 
12419
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12420
            ;;
 
12421
          esac
11891
12422
        fi
11892
12423
        ;;
11893
12424
    esac
11975
12506
GCC_CXX="$GXX"
11976
12507
LD_CXX="$LD"
11977
12508
 
11978
 
 
11979
12509
cat > conftest.$ac_ext <<EOF
11980
12510
class Foo
11981
12511
{
12077
12607
 
12078
12608
$rm -f confest.$objext
12079
12609
 
 
12610
compiler_lib_search_dirs_CXX=
 
12611
if test -n "$compiler_lib_search_path_CXX"; then
 
12612
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
12613
fi
 
12614
 
12080
12615
# PORTME: override above test on systems where it is broken
12081
12616
case $host_os in
12082
 
interix3*)
 
12617
interix[3-9]*)
12083
12618
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12084
12619
  # hack all around it, let's just trust "g++" to DTRT.
12085
12620
  predep_objects_CXX=
12087
12622
  postdeps_CXX=
12088
12623
  ;;
12089
12624
 
 
12625
linux*)
 
12626
  case `$CC -V 2>&1 | sed 5q` in
 
12627
  *Sun\ C*)
 
12628
    # Sun C++ 5.9
 
12629
    #
 
12630
    # The more standards-conforming stlport4 library is
 
12631
    # incompatible with the Cstd library. Avoid specifying
 
12632
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12633
    # -library=stlport4 depends on it.
 
12634
    case " $CXX $CXXFLAGS " in
 
12635
    *" -library=stlport4 "*)
 
12636
      solaris_use_stlport4=yes
 
12637
      ;;
 
12638
    esac
 
12639
    if test "$solaris_use_stlport4" != yes; then
 
12640
      postdeps_CXX='-library=Cstd -library=Crun'
 
12641
    fi
 
12642
    ;;
 
12643
  esac
 
12644
  ;;
 
12645
 
12090
12646
solaris*)
12091
12647
  case $cc_basename in
12092
12648
  CC*)
 
12649
    # The more standards-conforming stlport4 library is
 
12650
    # incompatible with the Cstd library. Avoid specifying
 
12651
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12652
    # -library=stlport4 depends on it.
 
12653
    case " $CXX $CXXFLAGS " in
 
12654
    *" -library=stlport4 "*)
 
12655
      solaris_use_stlport4=yes
 
12656
      ;;
 
12657
    esac
 
12658
 
12093
12659
    # Adding this requires a known-good setup of shared libraries for
12094
12660
    # Sun compiler versions before 5.6, else PIC objects from an old
12095
12661
    # archive will be linked into the output, leading to subtle bugs.
12096
 
    postdeps_CXX='-lCstd -lCrun'
 
12662
    if test "$solaris_use_stlport4" != yes; then
 
12663
      postdeps_CXX='-library=Cstd -library=Crun'
 
12664
    fi
12097
12665
    ;;
12098
12666
  esac
12099
12667
  ;;
12100
12668
esac
12101
12669
 
12102
 
 
12103
12670
case " $postdeps_CXX " in
12104
12671
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12105
12672
esac
12130
12697
      # like `-m68040'.
12131
12698
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12132
12699
      ;;
12133
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12700
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12134
12701
      # PIC is the default for these OSes.
12135
12702
      ;;
12136
 
    mingw* | os2* | pw32*)
 
12703
    mingw* | cygwin* | os2* | pw32*)
12137
12704
      # This hack is so that the source file can tell whether it is being
12138
12705
      # built for inclusion in a dll (and should export symbols for example).
 
12706
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12707
      # (--disable-auto-import) libraries
12139
12708
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12140
12709
      ;;
12141
12710
    darwin* | rhapsody*)
12147
12716
      # DJGPP does not support shared libraries at all
12148
12717
      lt_prog_compiler_pic_CXX=
12149
12718
      ;;
12150
 
    interix3*)
 
12719
    interix[3-9]*)
12151
12720
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12152
12721
      # Instead, we relocate shared libraries at runtime.
12153
12722
      ;;
12173
12742
    esac
12174
12743
  else
12175
12744
    case $host_os in
12176
 
      aix4* | aix5*)
 
12745
      aix[4-9]*)
12177
12746
        # All AIX code is PIC.
12178
12747
        if test "$host_cpu" = ia64; then
12179
12748
          # AIX 5 now supports IA64 processor
12269
12838
            lt_prog_compiler_pic_CXX='-KPIC'
12270
12839
            lt_prog_compiler_static_CXX='-static'
12271
12840
            ;;
12272
 
          pgCC*)
 
12841
          pgCC* | pgcpp*)
12273
12842
            # Portland Group C++ compiler.
12274
12843
            lt_prog_compiler_wl_CXX='-Wl,'
12275
12844
            lt_prog_compiler_pic_CXX='-fpic'
12283
12852
            lt_prog_compiler_static_CXX='-non_shared'
12284
12853
            ;;
12285
12854
          *)
 
12855
            case `$CC -V 2>&1 | sed 5q` in
 
12856
            *Sun\ C*)
 
12857
              # Sun C++ 5.9
 
12858
              lt_prog_compiler_pic_CXX='-KPIC'
 
12859
              lt_prog_compiler_static_CXX='-Bstatic'
 
12860
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12861
              ;;
 
12862
            esac
12286
12863
            ;;
12287
12864
        esac
12288
12865
        ;;
12392
12969
 
12393
12970
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12394
12971
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12395
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
12972
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12396
12973
  echo $ECHO_N "(cached) $ECHO_C" >&6
12397
12974
else
12398
 
  lt_prog_compiler_pic_works_CXX=no
 
12975
  lt_cv_prog_compiler_pic_works_CXX=no
12399
12976
  ac_outfile=conftest.$ac_objext
12400
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12977
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12401
12978
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12402
12979
   # Insert the option either (1) after the last *FLAGS variable, or
12403
12980
   # (2) before a word containing "conftest.", or (3) at the end.
12408
12985
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12409
12986
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12410
12987
   -e 's:$: $lt_compiler_flag:'`
12411
 
   (eval echo "\"\$as_me:12411: $lt_compile\"" >&5)
 
12988
   (eval echo "\"\$as_me:12988: $lt_compile\"" >&5)
12412
12989
   (eval "$lt_compile" 2>conftest.err)
12413
12990
   ac_status=$?
12414
12991
   cat conftest.err >&5
12415
 
   echo "$as_me:12415: \$? = $ac_status" >&5
 
12992
   echo "$as_me:12992: \$? = $ac_status" >&5
12416
12993
   if (exit $ac_status) && test -s "$ac_outfile"; then
12417
12994
     # The compiler can only warn and ignore the option if not recognized
12418
12995
     # So say no if there are warnings other than the usual output.
12419
12996
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12420
12997
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12421
12998
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12422
 
       lt_prog_compiler_pic_works_CXX=yes
 
12999
       lt_cv_prog_compiler_pic_works_CXX=yes
12423
13000
     fi
12424
13001
   fi
12425
13002
   $rm conftest*
12426
13003
 
12427
13004
fi
12428
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12429
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
13005
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13006
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12430
13007
 
12431
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
13008
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12432
13009
    case $lt_prog_compiler_pic_CXX in
12433
13010
     "" | " "*) ;;
12434
13011
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12455
13032
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12456
13033
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12457
13034
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12458
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
13035
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12459
13036
  echo $ECHO_N "(cached) $ECHO_C" >&6
12460
13037
else
12461
 
  lt_prog_compiler_static_works_CXX=no
 
13038
  lt_cv_prog_compiler_static_works_CXX=no
12462
13039
   save_LDFLAGS="$LDFLAGS"
12463
13040
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12464
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13041
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12465
13042
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12466
13043
     # The linker can only warn and ignore the option if not recognized
12467
13044
     # So say no if there are warnings
12471
13048
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12472
13049
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12473
13050
       if diff conftest.exp conftest.er2 >/dev/null; then
12474
 
         lt_prog_compiler_static_works_CXX=yes
 
13051
         lt_cv_prog_compiler_static_works_CXX=yes
12475
13052
       fi
12476
13053
     else
12477
 
       lt_prog_compiler_static_works_CXX=yes
 
13054
       lt_cv_prog_compiler_static_works_CXX=yes
12478
13055
     fi
12479
13056
   fi
12480
 
   $rm conftest*
 
13057
   $rm -r conftest*
12481
13058
   LDFLAGS="$save_LDFLAGS"
12482
13059
 
12483
13060
fi
12484
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12485
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
13061
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13062
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12486
13063
 
12487
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
13064
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12488
13065
    :
12489
13066
else
12490
13067
    lt_prog_compiler_static_CXX=
12501
13078
   mkdir conftest
12502
13079
   cd conftest
12503
13080
   mkdir out
12504
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13081
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12505
13082
 
12506
13083
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12507
13084
   # Insert the option either (1) after the last *FLAGS variable, or
12512
13089
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12513
13090
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12514
13091
   -e 's:$: $lt_compiler_flag:'`
12515
 
   (eval echo "\"\$as_me:12515: $lt_compile\"" >&5)
 
13092
   (eval echo "\"\$as_me:13092: $lt_compile\"" >&5)
12516
13093
   (eval "$lt_compile" 2>out/conftest.err)
12517
13094
   ac_status=$?
12518
13095
   cat out/conftest.err >&5
12519
 
   echo "$as_me:12519: \$? = $ac_status" >&5
 
13096
   echo "$as_me:13096: \$? = $ac_status" >&5
12520
13097
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12521
13098
   then
12522
13099
     # The compiler can only warn and ignore the option if not recognized
12569
13146
 
12570
13147
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12571
13148
  case $host_os in
12572
 
  aix4* | aix5*)
 
13149
  aix[4-9]*)
12573
13150
    # If we're using GNU nm, then we don't want the "-C" option.
12574
13151
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12575
13152
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12582
13159
    export_symbols_cmds_CXX="$ltdll_cmds"
12583
13160
  ;;
12584
13161
  cygwin* | mingw*)
12585
 
    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'
 
13162
    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'
12586
13163
  ;;
12587
13164
  linux* | k*bsd*-gnu)
12588
13165
    link_all_deplibs_CXX=no
12591
13168
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12592
13169
  ;;
12593
13170
  esac
 
13171
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12594
13172
 
12595
13173
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12596
13174
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12616
13194
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12617
13195
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12618
13196
      $rm conftest*
12619
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13197
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12620
13198
 
12621
13199
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12622
13200
  (eval $ac_compile) 2>&5
12674
13252
version_type=none
12675
13253
dynamic_linker="$host_os ld.so"
12676
13254
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12677
 
if test "$GCC" = yes; then
12678
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12679
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12680
 
    # if the path contains ";" then we assume it to be the separator
12681
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12682
 
    # assumed that no part of a normal pathname contains ";" but that should
12683
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12684
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12685
 
  else
12686
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12687
 
  fi
12688
 
else
12689
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12690
 
fi
 
13255
 
12691
13256
need_lib_prefix=unknown
12692
13257
hardcode_into_libs=no
12693
13258
 
12705
13270
  soname_spec='${libname}${release}${shared_ext}$major'
12706
13271
  ;;
12707
13272
 
12708
 
aix4* | aix5*)
 
13273
aix[4-9]*)
12709
13274
  version_type=linux
12710
13275
  need_lib_prefix=no
12711
13276
  need_version=no
12844
13409
  shlibpath_overrides_runpath=yes
12845
13410
  shlibpath_var=DYLD_LIBRARY_PATH
12846
13411
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12847
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12848
 
  if test "$GCC" = yes; then
12849
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12850
 
  else
12851
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12852
 
  fi
 
13412
 
12853
13413
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12854
13414
  ;;
12855
13415
 
12903
13463
    shlibpath_overrides_runpath=no
12904
13464
    hardcode_into_libs=yes
12905
13465
    ;;
12906
 
  freebsd*) # from 4.6 on
 
13466
  *) # from 4.6 on, and DragonFly
12907
13467
    shlibpath_overrides_runpath=yes
12908
13468
    hardcode_into_libs=yes
12909
13469
    ;;
12966
13526
  postinstall_cmds='chmod 555 $lib'
12967
13527
  ;;
12968
13528
 
12969
 
interix3*)
 
13529
interix[3-9]*)
12970
13530
  version_type=linux
12971
13531
  need_lib_prefix=no
12972
13532
  need_version=no
13037
13597
 
13038
13598
  # Append ld.so.conf contents to the search path
13039
13599
  if test -f /etc/ld.so.conf; then
13040
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13600
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13041
13601
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13042
13602
  fi
13043
13603
 
13143
13703
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13144
13704
  ;;
13145
13705
 
 
13706
rdos*)
 
13707
  dynamic_linker=no
 
13708
  ;;
 
13709
 
13146
13710
solaris*)
13147
13711
  version_type=linux
13148
13712
  need_lib_prefix=no
13239
13803
echo "${ECHO_T}$dynamic_linker" >&6; }
13240
13804
test "$dynamic_linker" = no && can_build_shared=no
13241
13805
 
 
13806
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13807
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13808
else
 
13809
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
13810
fi
 
13811
 
 
13812
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13813
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13814
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13815
else
 
13816
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
13817
fi
 
13818
 
 
13819
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13820
 
13242
13821
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13243
13822
if test "$GCC" = yes; then
13244
13823
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13322
13901
    predeps_CXX \
13323
13902
    postdeps_CXX \
13324
13903
    compiler_lib_search_path_CXX \
 
13904
    compiler_lib_search_dirs_CXX \
13325
13905
    archive_cmds_CXX \
13326
13906
    archive_expsym_cmds_CXX \
13327
13907
    postinstall_cmds_CXX \
13337
13917
    module_cmds_CXX \
13338
13918
    module_expsym_cmds_CXX \
13339
13919
    lt_cv_prog_compiler_c_o_CXX \
 
13920
    fix_srcfile_path_CXX \
13340
13921
    exclude_expsyms_CXX \
13341
13922
    include_expsyms_CXX; do
13342
13923
 
13569
14150
# shared library.
13570
14151
postdeps=$lt_postdeps_CXX
13571
14152
 
 
14153
# The directories searched by this compiler when creating a shared
 
14154
# library
 
14155
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
14156
 
13572
14157
# The library search path used internally by the compiler when linking
13573
14158
# a shared library.
13574
14159
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13657
14242
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13658
14243
 
13659
14244
# Fix the shell variable \$srcfile for the compiler.
13660
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
14245
fix_srcfile_path=$lt_fix_srcfile_path
13661
14246
 
13662
14247
# Set to yes if exported symbols are required.
13663
14248
always_export_symbols=$always_export_symbols_CXX
13748
14333
objext_F77=$objext
13749
14334
 
13750
14335
# Code to be used in simple compile tests
13751
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
14336
lt_simple_compile_test_code="\
 
14337
      subroutine t
 
14338
      return
 
14339
      end
 
14340
"
13752
14341
 
13753
14342
# Code to be used in simple link tests
13754
 
lt_simple_link_test_code="      program t\n      end\n"
 
14343
lt_simple_link_test_code="\
 
14344
      program t
 
14345
      end
 
14346
"
13755
14347
 
13756
14348
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13757
14349
 
13767
14359
 
13768
14360
# save warnings/boilerplate of simple test code
13769
14361
ac_outfile=conftest.$ac_objext
13770
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14362
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13771
14363
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13772
14364
_lt_compiler_boilerplate=`cat conftest.err`
13773
14365
$rm conftest*
13774
14366
 
13775
14367
ac_outfile=conftest.$ac_objext
13776
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14368
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13777
14369
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13778
14370
_lt_linker_boilerplate=`cat conftest.err`
13779
 
$rm conftest*
 
14371
$rm -r conftest*
13780
14372
 
13781
14373
 
13782
14374
# Allow CC to be a program name with arguments.
13814
14406
    postinstall_cmds='$RANLIB $lib'
13815
14407
  fi
13816
14408
  ;;
13817
 
aix4* | aix5*)
 
14409
aix[4-9]*)
13818
14410
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13819
14411
    test "$enable_shared" = yes && enable_static=no
13820
14412
  fi
13860
14452
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13861
14453
      ;;
13862
14454
 
13863
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14455
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13864
14456
      # PIC is the default for these OSes.
13865
14457
      ;;
13866
14458
 
13867
 
    mingw* | pw32* | os2*)
 
14459
    mingw* | cygwin* | pw32* | os2*)
13868
14460
      # This hack is so that the source file can tell whether it is being
13869
14461
      # built for inclusion in a dll (and should export symbols for example).
 
14462
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14463
      # (--disable-auto-import) libraries
13870
14464
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13871
14465
      ;;
13872
14466
 
13876
14470
      lt_prog_compiler_pic_F77='-fno-common'
13877
14471
      ;;
13878
14472
 
13879
 
    interix3*)
 
14473
    interix[3-9]*)
13880
14474
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13881
14475
      # Instead, we relocate shared libraries at runtime.
13882
14476
      ;;
13934
14528
       esac
13935
14529
       ;;
13936
14530
 
13937
 
    mingw* | pw32* | os2*)
 
14531
    mingw* | cygwin* | pw32* | os2*)
13938
14532
      # This hack is so that the source file can tell whether it is being
13939
14533
      # built for inclusion in a dll (and should export symbols for example).
13940
14534
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13986
14580
        # All Alpha code is PIC.
13987
14581
        lt_prog_compiler_static_F77='-non_shared'
13988
14582
        ;;
 
14583
      *)
 
14584
        case `$CC -V 2>&1 | sed 5q` in
 
14585
        *Sun\ C*)
 
14586
          # Sun C 5.9
 
14587
          lt_prog_compiler_pic_F77='-KPIC'
 
14588
          lt_prog_compiler_static_F77='-Bstatic'
 
14589
          lt_prog_compiler_wl_F77='-Wl,'
 
14590
          ;;
 
14591
        *Sun\ F*)
 
14592
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14593
          lt_prog_compiler_pic_F77='-KPIC'
 
14594
          lt_prog_compiler_static_F77='-Bstatic'
 
14595
          lt_prog_compiler_wl_F77=''
 
14596
          ;;
 
14597
        esac
 
14598
        ;;
13989
14599
      esac
13990
14600
      ;;
13991
14601
 
13995
14605
      lt_prog_compiler_static_F77='-non_shared'
13996
14606
      ;;
13997
14607
 
 
14608
    rdos*)
 
14609
      lt_prog_compiler_static_F77='-non_shared'
 
14610
      ;;
 
14611
 
13998
14612
    solaris*)
13999
14613
      lt_prog_compiler_pic_F77='-KPIC'
14000
14614
      lt_prog_compiler_static_F77='-Bstatic'
14057
14671
 
14058
14672
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14059
14673
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14060
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
14674
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14061
14675
  echo $ECHO_N "(cached) $ECHO_C" >&6
14062
14676
else
14063
 
  lt_prog_compiler_pic_works_F77=no
 
14677
  lt_cv_prog_compiler_pic_works_F77=no
14064
14678
  ac_outfile=conftest.$ac_objext
14065
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14679
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14066
14680
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14067
14681
   # Insert the option either (1) after the last *FLAGS variable, or
14068
14682
   # (2) before a word containing "conftest.", or (3) at the end.
14073
14687
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14074
14688
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14075
14689
   -e 's:$: $lt_compiler_flag:'`
14076
 
   (eval echo "\"\$as_me:14076: $lt_compile\"" >&5)
 
14690
   (eval echo "\"\$as_me:14690: $lt_compile\"" >&5)
14077
14691
   (eval "$lt_compile" 2>conftest.err)
14078
14692
   ac_status=$?
14079
14693
   cat conftest.err >&5
14080
 
   echo "$as_me:14080: \$? = $ac_status" >&5
 
14694
   echo "$as_me:14694: \$? = $ac_status" >&5
14081
14695
   if (exit $ac_status) && test -s "$ac_outfile"; then
14082
14696
     # The compiler can only warn and ignore the option if not recognized
14083
14697
     # So say no if there are warnings other than the usual output.
14084
14698
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14085
14699
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14086
14700
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14087
 
       lt_prog_compiler_pic_works_F77=yes
 
14701
       lt_cv_prog_compiler_pic_works_F77=yes
14088
14702
     fi
14089
14703
   fi
14090
14704
   $rm conftest*
14091
14705
 
14092
14706
fi
14093
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14094
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
14707
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
14708
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14095
14709
 
14096
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
14710
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14097
14711
    case $lt_prog_compiler_pic_F77 in
14098
14712
     "" | " "*) ;;
14099
14713
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14120
14734
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14121
14735
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14122
14736
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14123
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14737
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14124
14738
  echo $ECHO_N "(cached) $ECHO_C" >&6
14125
14739
else
14126
 
  lt_prog_compiler_static_works_F77=no
 
14740
  lt_cv_prog_compiler_static_works_F77=no
14127
14741
   save_LDFLAGS="$LDFLAGS"
14128
14742
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14129
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14743
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14130
14744
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14131
14745
     # The linker can only warn and ignore the option if not recognized
14132
14746
     # So say no if there are warnings
14136
14750
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14137
14751
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14138
14752
       if diff conftest.exp conftest.er2 >/dev/null; then
14139
 
         lt_prog_compiler_static_works_F77=yes
 
14753
         lt_cv_prog_compiler_static_works_F77=yes
14140
14754
       fi
14141
14755
     else
14142
 
       lt_prog_compiler_static_works_F77=yes
 
14756
       lt_cv_prog_compiler_static_works_F77=yes
14143
14757
     fi
14144
14758
   fi
14145
 
   $rm conftest*
 
14759
   $rm -r conftest*
14146
14760
   LDFLAGS="$save_LDFLAGS"
14147
14761
 
14148
14762
fi
14149
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14150
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14763
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
14764
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14151
14765
 
14152
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14766
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14153
14767
    :
14154
14768
else
14155
14769
    lt_prog_compiler_static_F77=
14166
14780
   mkdir conftest
14167
14781
   cd conftest
14168
14782
   mkdir out
14169
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14783
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14170
14784
 
14171
14785
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14172
14786
   # Insert the option either (1) after the last *FLAGS variable, or
14177
14791
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14178
14792
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14179
14793
   -e 's:$: $lt_compiler_flag:'`
14180
 
   (eval echo "\"\$as_me:14180: $lt_compile\"" >&5)
 
14794
   (eval echo "\"\$as_me:14794: $lt_compile\"" >&5)
14181
14795
   (eval "$lt_compile" 2>out/conftest.err)
14182
14796
   ac_status=$?
14183
14797
   cat out/conftest.err >&5
14184
 
   echo "$as_me:14184: \$? = $ac_status" >&5
 
14798
   echo "$as_me:14798: \$? = $ac_status" >&5
14185
14799
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14186
14800
   then
14187
14801
     # The compiler can only warn and ignore the option if not recognized
14261
14875
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14262
14876
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14263
14877
  # as well as any symbol that contains `d'.
14264
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
14878
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14265
14879
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14266
14880
  # platforms (ab)use it in PIC code, but their linkers get confused if
14267
14881
  # the symbol is explicitly referenced.  Since portable code cannot
14268
14882
  # rely on this symbol name, it's probably fine to never include it in
14269
14883
  # preloaded symbol tables.
 
14884
  # Exclude shared library initialization/finalization symbols.
14270
14885
  extract_expsyms_cmds=
14271
14886
  # Just being paranoid about ensuring that cc_basename is set.
14272
14887
  for cc_temp in $compiler""; do
14325
14940
 
14326
14941
    # See if GNU ld supports shared libraries.
14327
14942
    case $host_os in
14328
 
    aix3* | aix4* | aix5*)
 
14943
    aix[3-9]*)
14329
14944
      # On AIX/PPC, the GNU linker is very broken
14330
14945
      if test "$host_cpu" != ia64; then
14331
14946
        ld_shlibs_F77=no
14373
14988
      allow_undefined_flag_F77=unsupported
14374
14989
      always_export_symbols_F77=no
14375
14990
      enable_shared_with_static_runtimes_F77=yes
14376
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14991
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14377
14992
 
14378
14993
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14379
14994
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14391
15006
      fi
14392
15007
      ;;
14393
15008
 
14394
 
    interix3*)
 
15009
    interix[3-9]*)
14395
15010
      hardcode_direct_F77=no
14396
15011
      hardcode_shlibpath_var_F77=no
14397
15012
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14406
15021
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14407
15022
      ;;
14408
15023
 
14409
 
    linux* | k*bsd*-gnu)
 
15024
    gnu* | linux* | k*bsd*-gnu)
14410
15025
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14411
15026
        tmp_addflag=
14412
15027
        case $cc_basename,$host_cpu in
14424
15039
        ifc* | ifort*)                  # Intel Fortran compiler
14425
15040
          tmp_addflag=' -nofor_main' ;;
14426
15041
        esac
14427
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15042
        case `$CC -V 2>&1 | sed 5q` in
 
15043
        *Sun\ C*)                       # Sun C 5.9
 
15044
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
15045
          tmp_sharedflag='-G' ;;
 
15046
        *Sun\ F*)                       # Sun Fortran 8.3
 
15047
          tmp_sharedflag='-G' ;;
 
15048
        *)
 
15049
          tmp_sharedflag='-shared' ;;
 
15050
        esac
 
15051
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14428
15052
 
14429
15053
        if test $supports_anon_versioning = yes; then
14430
15054
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14431
15055
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14432
15056
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14433
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15057
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14434
15058
        fi
14435
15059
        link_all_deplibs_F77=no
14436
15060
      else
14536
15160
      fi
14537
15161
      ;;
14538
15162
 
14539
 
    aix4* | aix5*)
 
15163
    aix[4-9]*)
14540
15164
      if test "$host_cpu" = ia64; then
14541
15165
        # On IA64, the linker does run time linking by default, so we don't
14542
15166
        # have to do anything special.
14556
15180
        # Test if we are trying to use run time linking or normal
14557
15181
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14558
15182
        # need to do runtime linking.
14559
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
15183
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14560
15184
          for ld_flag in $LDFLAGS; do
14561
15185
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14562
15186
            aix_use_runtimelinking=yes
14590
15214
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14591
15215
          then
14592
15216
          # We have reworked collect2
14593
 
          hardcode_direct_F77=yes
 
15217
          :
14594
15218
          else
14595
15219
          # We have old collect2
14596
15220
          hardcode_direct_F77=unsupported
14654
15278
       } && test -s conftest$ac_exeext &&
14655
15279
       $as_test_x conftest$ac_exeext; then
14656
15280
 
14657
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14658
 
}'`
 
15281
lt_aix_libpath_sed='
 
15282
    /Import File Strings/,/^$/ {
 
15283
        /^0/ {
 
15284
            s/^0  *\(.*\)$/\1/
 
15285
            p
 
15286
        }
 
15287
    }'
 
15288
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14659
15289
# Check for a 64-bit object if we didn't find anything.
14660
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14661
 
}'`; fi
 
15290
if test -z "$aix_libpath"; then
 
15291
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15292
fi
14662
15293
else
14663
15294
  echo "$as_me: failed program was:" >&5
14664
15295
sed 's/^/| /' conftest.$ac_ext >&5
14703
15334
       } && test -s conftest$ac_exeext &&
14704
15335
       $as_test_x conftest$ac_exeext; then
14705
15336
 
14706
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14707
 
}'`
 
15337
lt_aix_libpath_sed='
 
15338
    /Import File Strings/,/^$/ {
 
15339
        /^0/ {
 
15340
            s/^0  *\(.*\)$/\1/
 
15341
            p
 
15342
        }
 
15343
    }'
 
15344
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14708
15345
# Check for a 64-bit object if we didn't find anything.
14709
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14710
 
}'`; fi
 
15346
if test -z "$aix_libpath"; then
 
15347
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15348
fi
14711
15349
else
14712
15350
  echo "$as_me: failed program was:" >&5
14713
15351
sed 's/^/| /' conftest.$ac_ext >&5
14761
15399
      # The linker will automatically build a .lib file if we build a DLL.
14762
15400
      old_archive_From_new_cmds_F77='true'
14763
15401
      # FIXME: Should let the user specify the lib program.
14764
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
15402
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
14765
15403
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14766
15404
      enable_shared_with_static_runtimes_F77=yes
14767
15405
      ;;
14794
15432
      link_all_deplibs_F77=yes
14795
15433
    if test "$GCC" = yes ; then
14796
15434
        output_verbose_link_cmd='echo'
14797
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14798
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14799
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14800
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14801
 
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15435
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
15436
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15437
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
15438
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14802
15439
    else
14803
15440
      case $cc_basename in
14804
15441
        xlc*)
14805
15442
         output_verbose_link_cmd='echo'
14806
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15443
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14807
15444
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14808
15445
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14809
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15446
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14810
15447
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14811
15448
          ;;
14812
15449
       *)
14968
15605
      ;;
14969
15606
 
14970
15607
    openbsd*)
14971
 
      hardcode_direct_F77=yes
14972
 
      hardcode_shlibpath_var_F77=no
14973
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14974
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14975
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14976
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14977
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15608
      if test -f /usr/libexec/ld.so; then
 
15609
        hardcode_direct_F77=yes
 
15610
        hardcode_shlibpath_var_F77=no
 
15611
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15612
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15613
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15614
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15615
          export_dynamic_flag_spec_F77='${wl}-E'
 
15616
        else
 
15617
          case $host_os in
 
15618
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15619
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15620
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15621
             ;;
 
15622
           *)
 
15623
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15624
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15625
             ;;
 
15626
          esac
 
15627
        fi
14978
15628
      else
14979
 
       case $host_os in
14980
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14981
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14982
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14983
 
           ;;
14984
 
         *)
14985
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14986
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14987
 
           ;;
14988
 
       esac
 
15629
        ld_shlibs_F77=no
14989
15630
      fi
14990
15631
      ;;
14991
15632
 
15044
15685
      case $host_os in
15045
15686
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15046
15687
      *)
15047
 
        # The compiler driver will combine linker options so we
15048
 
        # cannot just pass the convience library names through
15049
 
        # without $wl, iff we do not link with $LD.
15050
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15688
        # The compiler driver will combine and reorder linker options,
 
15689
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15690
        # but is careful enough not to reorder.
15051
15691
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15052
 
        case $wlarc in
15053
 
        '')
15054
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15055
 
        *)
15056
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15057
 
        esac ;;
 
15692
        if test "$GCC" = yes; then
 
15693
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15694
        else
 
15695
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15696
        fi
 
15697
        ;;
15058
15698
      esac
15059
15699
      link_all_deplibs_F77=yes
15060
15700
      ;;
15111
15751
      fi
15112
15752
      ;;
15113
15753
 
15114
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15754
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15115
15755
      no_undefined_flag_F77='${wl}-z,text'
15116
15756
      archive_cmds_need_lc_F77=no
15117
15757
      hardcode_shlibpath_var_F77=no
15188
15828
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15189
15829
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15190
15830
      $rm conftest*
15191
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15831
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15192
15832
 
15193
15833
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15194
15834
  (eval $ac_compile) 2>&5
15246
15886
version_type=none
15247
15887
dynamic_linker="$host_os ld.so"
15248
15888
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15249
 
if test "$GCC" = yes; then
15250
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15251
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15252
 
    # if the path contains ";" then we assume it to be the separator
15253
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15254
 
    # assumed that no part of a normal pathname contains ";" but that should
15255
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15256
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15257
 
  else
15258
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15259
 
  fi
15260
 
else
15261
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15262
 
fi
 
15889
 
15263
15890
need_lib_prefix=unknown
15264
15891
hardcode_into_libs=no
15265
15892
 
15277
15904
  soname_spec='${libname}${release}${shared_ext}$major'
15278
15905
  ;;
15279
15906
 
15280
 
aix4* | aix5*)
 
15907
aix[4-9]*)
15281
15908
  version_type=linux
15282
15909
  need_lib_prefix=no
15283
15910
  need_version=no
15416
16043
  shlibpath_overrides_runpath=yes
15417
16044
  shlibpath_var=DYLD_LIBRARY_PATH
15418
16045
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15419
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15420
 
  if test "$GCC" = yes; then
15421
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15422
 
  else
15423
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15424
 
  fi
 
16046
 
15425
16047
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15426
16048
  ;;
15427
16049
 
15475
16097
    shlibpath_overrides_runpath=no
15476
16098
    hardcode_into_libs=yes
15477
16099
    ;;
15478
 
  freebsd*) # from 4.6 on
 
16100
  *) # from 4.6 on, and DragonFly
15479
16101
    shlibpath_overrides_runpath=yes
15480
16102
    hardcode_into_libs=yes
15481
16103
    ;;
15538
16160
  postinstall_cmds='chmod 555 $lib'
15539
16161
  ;;
15540
16162
 
15541
 
interix3*)
 
16163
interix[3-9]*)
15542
16164
  version_type=linux
15543
16165
  need_lib_prefix=no
15544
16166
  need_version=no
15609
16231
 
15610
16232
  # Append ld.so.conf contents to the search path
15611
16233
  if test -f /etc/ld.so.conf; then
15612
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
16234
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15613
16235
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15614
16236
  fi
15615
16237
 
15715
16337
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15716
16338
  ;;
15717
16339
 
 
16340
rdos*)
 
16341
  dynamic_linker=no
 
16342
  ;;
 
16343
 
15718
16344
solaris*)
15719
16345
  version_type=linux
15720
16346
  need_lib_prefix=no
15811
16437
echo "${ECHO_T}$dynamic_linker" >&6; }
15812
16438
test "$dynamic_linker" = no && can_build_shared=no
15813
16439
 
 
16440
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16441
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16442
else
 
16443
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16444
fi
 
16445
 
 
16446
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16447
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16448
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16449
else
 
16450
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16451
fi
 
16452
 
 
16453
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16454
 
15814
16455
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15815
16456
if test "$GCC" = yes; then
15816
16457
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15894
16535
    predeps_F77 \
15895
16536
    postdeps_F77 \
15896
16537
    compiler_lib_search_path_F77 \
 
16538
    compiler_lib_search_dirs_F77 \
15897
16539
    archive_cmds_F77 \
15898
16540
    archive_expsym_cmds_F77 \
15899
16541
    postinstall_cmds_F77 \
15909
16551
    module_cmds_F77 \
15910
16552
    module_expsym_cmds_F77 \
15911
16553
    lt_cv_prog_compiler_c_o_F77 \
 
16554
    fix_srcfile_path_F77 \
15912
16555
    exclude_expsyms_F77 \
15913
16556
    include_expsyms_F77; do
15914
16557
 
16141
16784
# shared library.
16142
16785
postdeps=$lt_postdeps_F77
16143
16786
 
 
16787
# The directories searched by this compiler when creating a shared
 
16788
# library
 
16789
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
16790
 
16144
16791
# The library search path used internally by the compiler when linking
16145
16792
# a shared library.
16146
16793
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16229
16876
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16230
16877
 
16231
16878
# Fix the shell variable \$srcfile for the compiler.
16232
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16879
fix_srcfile_path=$lt_fix_srcfile_path
16233
16880
 
16234
16881
# Set to yes if exported symbols are required.
16235
16882
always_export_symbols=$always_export_symbols_F77
16287
16934
objext_GCJ=$objext
16288
16935
 
16289
16936
# Code to be used in simple compile tests
16290
 
lt_simple_compile_test_code="class foo {}\n"
 
16937
lt_simple_compile_test_code="class foo {}"
16291
16938
 
16292
16939
# Code to be used in simple link tests
16293
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
16940
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16294
16941
 
16295
16942
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16296
16943
 
16306
16953
 
16307
16954
# save warnings/boilerplate of simple test code
16308
16955
ac_outfile=conftest.$ac_objext
16309
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16956
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16310
16957
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16311
16958
_lt_compiler_boilerplate=`cat conftest.err`
16312
16959
$rm conftest*
16313
16960
 
16314
16961
ac_outfile=conftest.$ac_objext
16315
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16962
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16316
16963
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16317
16964
_lt_linker_boilerplate=`cat conftest.err`
16318
 
$rm conftest*
 
16965
$rm -r conftest*
16319
16966
 
16320
16967
 
16321
16968
# Allow CC to be a program name with arguments.
16353
17000
else
16354
17001
  lt_cv_prog_compiler_rtti_exceptions=no
16355
17002
  ac_outfile=conftest.$ac_objext
16356
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17003
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16357
17004
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16358
17005
   # Insert the option either (1) after the last *FLAGS variable, or
16359
17006
   # (2) before a word containing "conftest.", or (3) at the end.
16364
17011
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16365
17012
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16366
17013
   -e 's:$: $lt_compiler_flag:'`
16367
 
   (eval echo "\"\$as_me:16367: $lt_compile\"" >&5)
 
17014
   (eval echo "\"\$as_me:17014: $lt_compile\"" >&5)
16368
17015
   (eval "$lt_compile" 2>conftest.err)
16369
17016
   ac_status=$?
16370
17017
   cat conftest.err >&5
16371
 
   echo "$as_me:16371: \$? = $ac_status" >&5
 
17018
   echo "$as_me:17018: \$? = $ac_status" >&5
16372
17019
   if (exit $ac_status) && test -s "$ac_outfile"; then
16373
17020
     # The compiler can only warn and ignore the option if not recognized
16374
17021
     # So say no if there are warnings other than the usual output.
16419
17066
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16420
17067
      ;;
16421
17068
 
16422
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
17069
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16423
17070
      # PIC is the default for these OSes.
16424
17071
      ;;
16425
17072
 
16426
 
    mingw* | pw32* | os2*)
 
17073
    mingw* | cygwin* | pw32* | os2*)
16427
17074
      # This hack is so that the source file can tell whether it is being
16428
17075
      # built for inclusion in a dll (and should export symbols for example).
16429
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
17076
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
17077
      # (--disable-auto-import) libraries
 
17078
 
16430
17079
      ;;
16431
17080
 
16432
17081
    darwin* | rhapsody*)
16435
17084
      lt_prog_compiler_pic_GCJ='-fno-common'
16436
17085
      ;;
16437
17086
 
16438
 
    interix3*)
 
17087
    interix[3-9]*)
16439
17088
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16440
17089
      # Instead, we relocate shared libraries at runtime.
16441
17090
      ;;
16493
17142
       esac
16494
17143
       ;;
16495
17144
 
16496
 
    mingw* | pw32* | os2*)
 
17145
    mingw* | cygwin* | pw32* | os2*)
16497
17146
      # This hack is so that the source file can tell whether it is being
16498
17147
      # built for inclusion in a dll (and should export symbols for example).
16499
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
17148
 
16500
17149
      ;;
16501
17150
 
16502
17151
    hpux9* | hpux10* | hpux11*)
16545
17194
        # All Alpha code is PIC.
16546
17195
        lt_prog_compiler_static_GCJ='-non_shared'
16547
17196
        ;;
 
17197
      *)
 
17198
        case `$CC -V 2>&1 | sed 5q` in
 
17199
        *Sun\ C*)
 
17200
          # Sun C 5.9
 
17201
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17202
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17203
          lt_prog_compiler_wl_GCJ='-Wl,'
 
17204
          ;;
 
17205
        *Sun\ F*)
 
17206
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
17207
          lt_prog_compiler_pic_GCJ='-KPIC'
 
17208
          lt_prog_compiler_static_GCJ='-Bstatic'
 
17209
          lt_prog_compiler_wl_GCJ=''
 
17210
          ;;
 
17211
        esac
 
17212
        ;;
16548
17213
      esac
16549
17214
      ;;
16550
17215
 
16554
17219
      lt_prog_compiler_static_GCJ='-non_shared'
16555
17220
      ;;
16556
17221
 
 
17222
    rdos*)
 
17223
      lt_prog_compiler_static_GCJ='-non_shared'
 
17224
      ;;
 
17225
 
16557
17226
    solaris*)
16558
17227
      lt_prog_compiler_pic_GCJ='-KPIC'
16559
17228
      lt_prog_compiler_static_GCJ='-Bstatic'
16616
17285
 
16617
17286
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16618
17287
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16619
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
17288
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16620
17289
  echo $ECHO_N "(cached) $ECHO_C" >&6
16621
17290
else
16622
 
  lt_prog_compiler_pic_works_GCJ=no
 
17291
  lt_cv_prog_compiler_pic_works_GCJ=no
16623
17292
  ac_outfile=conftest.$ac_objext
16624
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17293
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16625
17294
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16626
17295
   # Insert the option either (1) after the last *FLAGS variable, or
16627
17296
   # (2) before a word containing "conftest.", or (3) at the end.
16632
17301
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16633
17302
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16634
17303
   -e 's:$: $lt_compiler_flag:'`
16635
 
   (eval echo "\"\$as_me:16635: $lt_compile\"" >&5)
 
17304
   (eval echo "\"\$as_me:17304: $lt_compile\"" >&5)
16636
17305
   (eval "$lt_compile" 2>conftest.err)
16637
17306
   ac_status=$?
16638
17307
   cat conftest.err >&5
16639
 
   echo "$as_me:16639: \$? = $ac_status" >&5
 
17308
   echo "$as_me:17308: \$? = $ac_status" >&5
16640
17309
   if (exit $ac_status) && test -s "$ac_outfile"; then
16641
17310
     # The compiler can only warn and ignore the option if not recognized
16642
17311
     # So say no if there are warnings other than the usual output.
16643
17312
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16644
17313
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16645
17314
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16646
 
       lt_prog_compiler_pic_works_GCJ=yes
 
17315
       lt_cv_prog_compiler_pic_works_GCJ=yes
16647
17316
     fi
16648
17317
   fi
16649
17318
   $rm conftest*
16650
17319
 
16651
17320
fi
16652
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16653
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
17321
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
17322
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
16654
17323
 
16655
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
17324
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
16656
17325
    case $lt_prog_compiler_pic_GCJ in
16657
17326
     "" | " "*) ;;
16658
17327
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16679
17348
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16680
17349
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16681
17350
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16682
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17351
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
16683
17352
  echo $ECHO_N "(cached) $ECHO_C" >&6
16684
17353
else
16685
 
  lt_prog_compiler_static_works_GCJ=no
 
17354
  lt_cv_prog_compiler_static_works_GCJ=no
16686
17355
   save_LDFLAGS="$LDFLAGS"
16687
17356
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16688
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17357
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16689
17358
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16690
17359
     # The linker can only warn and ignore the option if not recognized
16691
17360
     # So say no if there are warnings
16695
17364
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16696
17365
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16697
17366
       if diff conftest.exp conftest.er2 >/dev/null; then
16698
 
         lt_prog_compiler_static_works_GCJ=yes
 
17367
         lt_cv_prog_compiler_static_works_GCJ=yes
16699
17368
       fi
16700
17369
     else
16701
 
       lt_prog_compiler_static_works_GCJ=yes
 
17370
       lt_cv_prog_compiler_static_works_GCJ=yes
16702
17371
     fi
16703
17372
   fi
16704
 
   $rm conftest*
 
17373
   $rm -r conftest*
16705
17374
   LDFLAGS="$save_LDFLAGS"
16706
17375
 
16707
17376
fi
16708
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16709
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17377
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
17378
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
16710
17379
 
16711
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17380
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
16712
17381
    :
16713
17382
else
16714
17383
    lt_prog_compiler_static_GCJ=
16725
17394
   mkdir conftest
16726
17395
   cd conftest
16727
17396
   mkdir out
16728
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17397
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16729
17398
 
16730
17399
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16731
17400
   # Insert the option either (1) after the last *FLAGS variable, or
16736
17405
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16737
17406
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16738
17407
   -e 's:$: $lt_compiler_flag:'`
16739
 
   (eval echo "\"\$as_me:16739: $lt_compile\"" >&5)
 
17408
   (eval echo "\"\$as_me:17408: $lt_compile\"" >&5)
16740
17409
   (eval "$lt_compile" 2>out/conftest.err)
16741
17410
   ac_status=$?
16742
17411
   cat out/conftest.err >&5
16743
 
   echo "$as_me:16743: \$? = $ac_status" >&5
 
17412
   echo "$as_me:17412: \$? = $ac_status" >&5
16744
17413
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16745
17414
   then
16746
17415
     # The compiler can only warn and ignore the option if not recognized
16820
17489
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16821
17490
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16822
17491
  # as well as any symbol that contains `d'.
16823
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
17492
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16824
17493
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16825
17494
  # platforms (ab)use it in PIC code, but their linkers get confused if
16826
17495
  # the symbol is explicitly referenced.  Since portable code cannot
16827
17496
  # rely on this symbol name, it's probably fine to never include it in
16828
17497
  # preloaded symbol tables.
 
17498
  # Exclude shared library initialization/finalization symbols.
16829
17499
  extract_expsyms_cmds=
16830
17500
  # Just being paranoid about ensuring that cc_basename is set.
16831
17501
  for cc_temp in $compiler""; do
16884
17554
 
16885
17555
    # See if GNU ld supports shared libraries.
16886
17556
    case $host_os in
16887
 
    aix3* | aix4* | aix5*)
 
17557
    aix[3-9]*)
16888
17558
      # On AIX/PPC, the GNU linker is very broken
16889
17559
      if test "$host_cpu" != ia64; then
16890
17560
        ld_shlibs_GCJ=no
16932
17602
      allow_undefined_flag_GCJ=unsupported
16933
17603
      always_export_symbols_GCJ=no
16934
17604
      enable_shared_with_static_runtimes_GCJ=yes
16935
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17605
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16936
17606
 
16937
17607
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16938
17608
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16950
17620
      fi
16951
17621
      ;;
16952
17622
 
16953
 
    interix3*)
 
17623
    interix[3-9]*)
16954
17624
      hardcode_direct_GCJ=no
16955
17625
      hardcode_shlibpath_var_GCJ=no
16956
17626
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16965
17635
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16966
17636
      ;;
16967
17637
 
16968
 
    linux* | k*bsd*-gnu)
 
17638
    gnu* | linux* | k*bsd*-gnu)
16969
17639
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16970
17640
        tmp_addflag=
16971
17641
        case $cc_basename,$host_cpu in
16983
17653
        ifc* | ifort*)                  # Intel Fortran compiler
16984
17654
          tmp_addflag=' -nofor_main' ;;
16985
17655
        esac
16986
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17656
        case `$CC -V 2>&1 | sed 5q` in
 
17657
        *Sun\ C*)                       # Sun C 5.9
 
17658
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17659
          tmp_sharedflag='-G' ;;
 
17660
        *Sun\ F*)                       # Sun Fortran 8.3
 
17661
          tmp_sharedflag='-G' ;;
 
17662
        *)
 
17663
          tmp_sharedflag='-shared' ;;
 
17664
        esac
 
17665
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16987
17666
 
16988
17667
        if test $supports_anon_versioning = yes; then
16989
17668
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16990
17669
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16991
17670
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16992
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17671
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16993
17672
        fi
16994
17673
        link_all_deplibs_GCJ=no
16995
17674
      else
17095
17774
      fi
17096
17775
      ;;
17097
17776
 
17098
 
    aix4* | aix5*)
 
17777
    aix[4-9]*)
17099
17778
      if test "$host_cpu" = ia64; then
17100
17779
        # On IA64, the linker does run time linking by default, so we don't
17101
17780
        # have to do anything special.
17115
17794
        # Test if we are trying to use run time linking or normal
17116
17795
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17117
17796
        # need to do runtime linking.
17118
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17797
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17119
17798
          for ld_flag in $LDFLAGS; do
17120
17799
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17121
17800
            aix_use_runtimelinking=yes
17149
17828
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17150
17829
          then
17151
17830
          # We have reworked collect2
17152
 
          hardcode_direct_GCJ=yes
 
17831
          :
17153
17832
          else
17154
17833
          # We have old collect2
17155
17834
          hardcode_direct_GCJ=unsupported
17223
17902
       } && test -s conftest$ac_exeext &&
17224
17903
       $as_test_x conftest$ac_exeext; then
17225
17904
 
17226
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17227
 
}'`
 
17905
lt_aix_libpath_sed='
 
17906
    /Import File Strings/,/^$/ {
 
17907
        /^0/ {
 
17908
            s/^0  *\(.*\)$/\1/
 
17909
            p
 
17910
        }
 
17911
    }'
 
17912
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17228
17913
# Check for a 64-bit object if we didn't find anything.
17229
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17230
 
}'`; fi
 
17914
if test -z "$aix_libpath"; then
 
17915
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17916
fi
17231
17917
else
17232
17918
  echo "$as_me: failed program was:" >&5
17233
17919
sed 's/^/| /' conftest.$ac_ext >&5
17282
17968
       } && test -s conftest$ac_exeext &&
17283
17969
       $as_test_x conftest$ac_exeext; then
17284
17970
 
17285
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17286
 
}'`
 
17971
lt_aix_libpath_sed='
 
17972
    /Import File Strings/,/^$/ {
 
17973
        /^0/ {
 
17974
            s/^0  *\(.*\)$/\1/
 
17975
            p
 
17976
        }
 
17977
    }'
 
17978
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17287
17979
# Check for a 64-bit object if we didn't find anything.
17288
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17289
 
}'`; fi
 
17980
if test -z "$aix_libpath"; then
 
17981
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17982
fi
17290
17983
else
17291
17984
  echo "$as_me: failed program was:" >&5
17292
17985
sed 's/^/| /' conftest.$ac_ext >&5
17340
18033
      # The linker will automatically build a .lib file if we build a DLL.
17341
18034
      old_archive_From_new_cmds_GCJ='true'
17342
18035
      # FIXME: Should let the user specify the lib program.
17343
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
18036
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17344
18037
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17345
18038
      enable_shared_with_static_runtimes_GCJ=yes
17346
18039
      ;;
17373
18066
      link_all_deplibs_GCJ=yes
17374
18067
    if test "$GCC" = yes ; then
17375
18068
        output_verbose_link_cmd='echo'
17376
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17377
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17378
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17379
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17380
 
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
18069
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
18070
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
18071
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
18072
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17381
18073
    else
17382
18074
      case $cc_basename in
17383
18075
        xlc*)
17384
18076
         output_verbose_link_cmd='echo'
17385
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
18077
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17386
18078
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17387
18079
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17388
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
18080
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17389
18081
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17390
18082
          ;;
17391
18083
       *)
17547
18239
      ;;
17548
18240
 
17549
18241
    openbsd*)
17550
 
      hardcode_direct_GCJ=yes
17551
 
      hardcode_shlibpath_var_GCJ=no
17552
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17553
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17554
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17555
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17556
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
18242
      if test -f /usr/libexec/ld.so; then
 
18243
        hardcode_direct_GCJ=yes
 
18244
        hardcode_shlibpath_var_GCJ=no
 
18245
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
18246
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18247
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
18248
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18249
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
18250
        else
 
18251
          case $host_os in
 
18252
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
18253
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18254
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18255
             ;;
 
18256
           *)
 
18257
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18258
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18259
             ;;
 
18260
          esac
 
18261
        fi
17557
18262
      else
17558
 
       case $host_os in
17559
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17560
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17561
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17562
 
           ;;
17563
 
         *)
17564
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17565
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17566
 
           ;;
17567
 
       esac
 
18263
        ld_shlibs_GCJ=no
17568
18264
      fi
17569
18265
      ;;
17570
18266
 
17623
18319
      case $host_os in
17624
18320
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17625
18321
      *)
17626
 
        # The compiler driver will combine linker options so we
17627
 
        # cannot just pass the convience library names through
17628
 
        # without $wl, iff we do not link with $LD.
17629
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18322
        # The compiler driver will combine and reorder linker options,
 
18323
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
18324
        # but is careful enough not to reorder.
17630
18325
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17631
 
        case $wlarc in
17632
 
        '')
17633
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17634
 
        *)
17635
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17636
 
        esac ;;
 
18326
        if test "$GCC" = yes; then
 
18327
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
18328
        else
 
18329
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
18330
        fi
 
18331
        ;;
17637
18332
      esac
17638
18333
      link_all_deplibs_GCJ=yes
17639
18334
      ;;
17690
18385
      fi
17691
18386
      ;;
17692
18387
 
17693
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18388
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17694
18389
      no_undefined_flag_GCJ='${wl}-z,text'
17695
18390
      archive_cmds_need_lc_GCJ=no
17696
18391
      hardcode_shlibpath_var_GCJ=no
17767
18462
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17768
18463
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17769
18464
      $rm conftest*
17770
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18465
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17771
18466
 
17772
18467
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17773
18468
  (eval $ac_compile) 2>&5
17825
18520
version_type=none
17826
18521
dynamic_linker="$host_os ld.so"
17827
18522
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17828
 
if test "$GCC" = yes; then
17829
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17830
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17831
 
    # if the path contains ";" then we assume it to be the separator
17832
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17833
 
    # assumed that no part of a normal pathname contains ";" but that should
17834
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17835
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17836
 
  else
17837
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17838
 
  fi
17839
 
else
17840
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17841
 
fi
 
18523
 
17842
18524
need_lib_prefix=unknown
17843
18525
hardcode_into_libs=no
17844
18526
 
17856
18538
  soname_spec='${libname}${release}${shared_ext}$major'
17857
18539
  ;;
17858
18540
 
17859
 
aix4* | aix5*)
 
18541
aix[4-9]*)
17860
18542
  version_type=linux
17861
18543
  need_lib_prefix=no
17862
18544
  need_version=no
17995
18677
  shlibpath_overrides_runpath=yes
17996
18678
  shlibpath_var=DYLD_LIBRARY_PATH
17997
18679
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17998
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17999
 
  if test "$GCC" = yes; then
18000
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18001
 
  else
18002
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18003
 
  fi
 
18680
 
18004
18681
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18005
18682
  ;;
18006
18683
 
18054
18731
    shlibpath_overrides_runpath=no
18055
18732
    hardcode_into_libs=yes
18056
18733
    ;;
18057
 
  freebsd*) # from 4.6 on
 
18734
  *) # from 4.6 on, and DragonFly
18058
18735
    shlibpath_overrides_runpath=yes
18059
18736
    hardcode_into_libs=yes
18060
18737
    ;;
18117
18794
  postinstall_cmds='chmod 555 $lib'
18118
18795
  ;;
18119
18796
 
18120
 
interix3*)
 
18797
interix[3-9]*)
18121
18798
  version_type=linux
18122
18799
  need_lib_prefix=no
18123
18800
  need_version=no
18188
18865
 
18189
18866
  # Append ld.so.conf contents to the search path
18190
18867
  if test -f /etc/ld.so.conf; then
18191
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
18868
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18192
18869
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18193
18870
  fi
18194
18871
 
18294
18971
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18295
18972
  ;;
18296
18973
 
 
18974
rdos*)
 
18975
  dynamic_linker=no
 
18976
  ;;
 
18977
 
18297
18978
solaris*)
18298
18979
  version_type=linux
18299
18980
  need_lib_prefix=no
18390
19071
echo "${ECHO_T}$dynamic_linker" >&6; }
18391
19072
test "$dynamic_linker" = no && can_build_shared=no
18392
19073
 
 
19074
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
19075
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19076
else
 
19077
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
19078
fi
 
19079
 
 
19080
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
19081
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
19082
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19083
else
 
19084
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
19085
fi
 
19086
 
 
19087
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
19088
 
18393
19089
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18394
19090
if test "$GCC" = yes; then
18395
19091
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18473
19169
    predeps_GCJ \
18474
19170
    postdeps_GCJ \
18475
19171
    compiler_lib_search_path_GCJ \
 
19172
    compiler_lib_search_dirs_GCJ \
18476
19173
    archive_cmds_GCJ \
18477
19174
    archive_expsym_cmds_GCJ \
18478
19175
    postinstall_cmds_GCJ \
18488
19185
    module_cmds_GCJ \
18489
19186
    module_expsym_cmds_GCJ \
18490
19187
    lt_cv_prog_compiler_c_o_GCJ \
 
19188
    fix_srcfile_path_GCJ \
18491
19189
    exclude_expsyms_GCJ \
18492
19190
    include_expsyms_GCJ; do
18493
19191
 
18720
19418
# shared library.
18721
19419
postdeps=$lt_postdeps_GCJ
18722
19420
 
 
19421
# The directories searched by this compiler when creating a shared
 
19422
# library
 
19423
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
19424
 
18723
19425
# The library search path used internally by the compiler when linking
18724
19426
# a shared library.
18725
19427
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18808
19510
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18809
19511
 
18810
19512
# Fix the shell variable \$srcfile for the compiler.
18811
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
19513
fix_srcfile_path=$lt_fix_srcfile_path
18812
19514
 
18813
19515
# Set to yes if exported symbols are required.
18814
19516
always_export_symbols=$always_export_symbols_GCJ
18865
19567
objext_RC=$objext
18866
19568
 
18867
19569
# Code to be used in simple compile tests
18868
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
19570
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18869
19571
 
18870
19572
# Code to be used in simple link tests
18871
19573
lt_simple_link_test_code="$lt_simple_compile_test_code"
18884
19586
 
18885
19587
# save warnings/boilerplate of simple test code
18886
19588
ac_outfile=conftest.$ac_objext
18887
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19589
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18888
19590
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18889
19591
_lt_compiler_boilerplate=`cat conftest.err`
18890
19592
$rm conftest*
18891
19593
 
18892
19594
ac_outfile=conftest.$ac_objext
18893
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19595
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18894
19596
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18895
19597
_lt_linker_boilerplate=`cat conftest.err`
18896
 
$rm conftest*
 
19598
$rm -r conftest*
18897
19599
 
18898
19600
 
18899
19601
# Allow CC to be a program name with arguments.
18953
19655
    predeps_RC \
18954
19656
    postdeps_RC \
18955
19657
    compiler_lib_search_path_RC \
 
19658
    compiler_lib_search_dirs_RC \
18956
19659
    archive_cmds_RC \
18957
19660
    archive_expsym_cmds_RC \
18958
19661
    postinstall_cmds_RC \
18968
19671
    module_cmds_RC \
18969
19672
    module_expsym_cmds_RC \
18970
19673
    lt_cv_prog_compiler_c_o_RC \
 
19674
    fix_srcfile_path_RC \
18971
19675
    exclude_expsyms_RC \
18972
19676
    include_expsyms_RC; do
18973
19677
 
19200
19904
# shared library.
19201
19905
postdeps=$lt_postdeps_RC
19202
19906
 
 
19907
# The directories searched by this compiler when creating a shared
 
19908
# library
 
19909
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
19910
 
19203
19911
# The library search path used internally by the compiler when linking
19204
19912
# a shared library.
19205
19913
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19288
19996
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19289
19997
 
19290
19998
# Fix the shell variable \$srcfile for the compiler.
19291
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19999
fix_srcfile_path=$lt_fix_srcfile_path
19292
20000
 
19293
20001
# Set to yes if exported symbols are required.
19294
20002
always_export_symbols=$always_export_symbols_RC
19437
20145
      conftest$ac_exeext conftest.$ac_ext
19438
20146
    { echo "$as_me:$LINENO: result: $ac_cv_ld_asneeded" >&5
19439
20147
echo "${ECHO_T}$ac_cv_ld_asneeded" >&6; }
19440
 
    test x"$ac_cv_ld_asneeded" = xyes || LDFLAGS="$SAVE_LDFLAGS"
 
20148
    if test "$ac_cv_ld_asneeded" = yes; then
 
20149
      LDFLAGS="$lt_prog_compiler_wl-z ${lt_prog_compiler_wl}defs $LDFLAGS"
 
20150
      { echo "$as_me:$LINENO: checking whether the linker supports -z defs" >&5
 
20151
echo $ECHO_N "checking whether the linker supports -z defs... $ECHO_C" >&6; }
 
20152
      cat >conftest.$ac_ext <<_ACEOF
 
20153
/* confdefs.h.  */
 
20154
_ACEOF
 
20155
cat confdefs.h >>conftest.$ac_ext
 
20156
cat >>conftest.$ac_ext <<_ACEOF
 
20157
/* end confdefs.h.  */
 
20158
 
 
20159
int
 
20160
main ()
 
20161
{
 
20162
 
 
20163
  ;
 
20164
  return 0;
 
20165
}
 
20166
_ACEOF
 
20167
rm -f conftest.$ac_objext conftest$ac_exeext
 
20168
if { (ac_try="$ac_link"
 
20169
case "(($ac_try" in
 
20170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20171
  *) ac_try_echo=$ac_try;;
 
20172
esac
 
20173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20174
  (eval "$ac_link") 2>conftest.er1
 
20175
  ac_status=$?
 
20176
  grep -v '^ *+' conftest.er1 >conftest.err
 
20177
  rm -f conftest.er1
 
20178
  cat conftest.err >&5
 
20179
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20180
  (exit $ac_status); } && {
 
20181
         test -z "$ac_c_werror_flag" ||
 
20182
         test ! -s conftest.err
 
20183
       } && test -s conftest$ac_exeext &&
 
20184
       $as_test_x conftest$ac_exeext; then
 
20185
  ac_cv_ld_z_defs=yes
 
20186
else
 
20187
  echo "$as_me: failed program was:" >&5
 
20188
sed 's/^/| /' conftest.$ac_ext >&5
 
20189
 
 
20190
        ac_cv_ld_z_defs=no
 
20191
fi
 
20192
 
 
20193
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20194
      conftest$ac_exeext conftest.$ac_ext
 
20195
      { echo "$as_me:$LINENO: result: $ac_cv_ld_z_defs" >&5
 
20196
echo "${ECHO_T}$ac_cv_ld_z_defs" >&6; }
 
20197
    fi
 
20198
    test "$ac_cv_ld_asneeded" = yes && test "$ac_cv_ld_z_defs" = yes || LDFLAGS="$SAVE_LDFLAGS"
19441
20199
 
19442
20200
 
19443
20201
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20984
21742
          found_so=
20985
21743
          found_a=
20986
21744
          if test $use_additional = yes; then
20987
 
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
 
21745
            if test -n "$shlibext" \
 
21746
               && { test -f "$additional_libdir/lib$name.$shlibext" \
 
21747
                    || { test "$shlibext" = dll \
 
21748
                         && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
20988
21749
              found_dir="$additional_libdir"
20989
 
              found_so="$additional_libdir/lib$name.$shlibext"
 
21750
              if test -f "$additional_libdir/lib$name.$shlibext"; then
 
21751
                found_so="$additional_libdir/lib$name.$shlibext"
 
21752
              else
 
21753
                found_so="$additional_libdir/lib$name.dll.a"
 
21754
              fi
20990
21755
              if test -f "$additional_libdir/lib$name.la"; then
20991
21756
                found_la="$additional_libdir/lib$name.la"
20992
21757
              fi
21014
21779
              case "$x" in
21015
21780
                -L*)
21016
21781
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
21017
 
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
 
21782
                  if test -n "$shlibext" \
 
21783
                     && { test -f "$dir/lib$name.$shlibext" \
 
21784
                          || { test "$shlibext" = dll \
 
21785
                               && test -f "$dir/lib$name.dll.a"; }; }; then
21018
21786
                    found_dir="$dir"
21019
 
                    found_so="$dir/lib$name.$shlibext"
 
21787
                    if test -f "$dir/lib$name.$shlibext"; then
 
21788
                      found_so="$dir/lib$name.$shlibext"
 
21789
                    else
 
21790
                      found_so="$dir/lib$name.dll.a"
 
21791
                    fi
21020
21792
                    if test -f "$dir/lib$name.la"; then
21021
21793
                      found_la="$dir/lib$name.la"
21022
21794
                    fi
21299
22071
 
21300
22072
 
21301
22073
 
 
22074
 
 
22075
 
 
22076
 
 
22077
 
 
22078
 
 
22079
 
 
22080
 
21302
22081
    { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
21303
22082
echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
21304
22083
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
21435
22214
  LTLIBINTL=
21436
22215
  POSUB=
21437
22216
 
 
22217
    case " $gt_needs " in
 
22218
    *" need-formatstring-macros "*) gt_api_version=3 ;;
 
22219
    *" need-ngettext "*) gt_api_version=2 ;;
 
22220
    *) gt_api_version=1 ;;
 
22221
  esac
 
22222
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
 
22223
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
 
22224
 
21438
22225
    if test "$USE_NLS" = "yes"; then
21439
22226
    gt_use_preinstalled_gnugettext=no
21440
22227
 
21441
22228
 
21442
 
 
21443
 
 
21444
 
 
 
22229
        if test $gt_api_version -ge 3; then
 
22230
          gt_revision_test_code='
 
22231
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
 
22232
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
 
22233
#endif
 
22234
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
 
22235
'
 
22236
        else
 
22237
          gt_revision_test_code=
 
22238
        fi
 
22239
        if test $gt_api_version -ge 2; then
 
22240
          gt_expression_test_code=' + * ngettext ("", "", 0)'
 
22241
        else
 
22242
          gt_expression_test_code=
 
22243
        fi
21445
22244
 
21446
22245
        { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
21447
22246
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
21448
 
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
 
22247
if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
21449
22248
  echo $ECHO_N "(cached) $ECHO_C" >&6
21450
22249
else
21451
22250
  cat >conftest.$ac_ext <<_ACEOF
21455
22254
cat >>conftest.$ac_ext <<_ACEOF
21456
22255
/* end confdefs.h.  */
21457
22256
#include <libintl.h>
 
22257
$gt_revision_test_code
21458
22258
extern int _nl_msg_cat_cntr;
21459
22259
extern int *_nl_domain_bindings;
21460
22260
int
21461
22261
main ()
21462
22262
{
21463
22263
bindtextdomain ("", "");
21464
 
return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
 
22264
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
21465
22265
  ;
21466
22266
  return 0;
21467
22267
}
21484
22284
         test ! -s conftest.err
21485
22285
       } && test -s conftest$ac_exeext &&
21486
22286
       $as_test_x conftest$ac_exeext; then
21487
 
  gt_cv_func_gnugettext1_libc=yes
 
22287
  eval "$gt_func_gnugettext_libc=yes"
21488
22288
else
21489
22289
  echo "$as_me: failed program was:" >&5
21490
22290
sed 's/^/| /' conftest.$ac_ext >&5
21491
22291
 
21492
 
        gt_cv_func_gnugettext1_libc=no
 
22292
        eval "$gt_func_gnugettext_libc=no"
21493
22293
fi
21494
22294
 
21495
22295
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21496
22296
      conftest$ac_exeext conftest.$ac_ext
21497
22297
fi
21498
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
21499
 
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
 
22298
ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'`
 
22299
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22300
echo "${ECHO_T}$ac_res" >&6; }
21500
22301
 
21501
 
        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
 
22302
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
21502
22303
 
21503
22304
 
21504
22305
 
21741
22542
          found_so=
21742
22543
          found_a=
21743
22544
          if test $use_additional = yes; then
21744
 
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
 
22545
            if test -n "$shlibext" \
 
22546
               && { test -f "$additional_libdir/lib$name.$shlibext" \
 
22547
                    || { test "$shlibext" = dll \
 
22548
                         && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
21745
22549
              found_dir="$additional_libdir"
21746
 
              found_so="$additional_libdir/lib$name.$shlibext"
 
22550
              if test -f "$additional_libdir/lib$name.$shlibext"; then
 
22551
                found_so="$additional_libdir/lib$name.$shlibext"
 
22552
              else
 
22553
                found_so="$additional_libdir/lib$name.dll.a"
 
22554
              fi
21747
22555
              if test -f "$additional_libdir/lib$name.la"; then
21748
22556
                found_la="$additional_libdir/lib$name.la"
21749
22557
              fi
21771
22579
              case "$x" in
21772
22580
                -L*)
21773
22581
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
21774
 
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
 
22582
                  if test -n "$shlibext" \
 
22583
                     && { test -f "$dir/lib$name.$shlibext" \
 
22584
                          || { test "$shlibext" = dll \
 
22585
                               && test -f "$dir/lib$name.dll.a"; }; }; then
21775
22586
                    found_dir="$dir"
21776
 
                    found_so="$dir/lib$name.$shlibext"
 
22587
                    if test -f "$dir/lib$name.$shlibext"; then
 
22588
                      found_so="$dir/lib$name.$shlibext"
 
22589
                    else
 
22590
                      found_so="$dir/lib$name.dll.a"
 
22591
                    fi
21777
22592
                    if test -f "$dir/lib$name.la"; then
21778
22593
                      found_la="$dir/lib$name.la"
21779
22594
                    fi
22041
22856
 
22042
22857
          { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
22043
22858
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
22044
 
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
 
22859
if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
22045
22860
  echo $ECHO_N "(cached) $ECHO_C" >&6
22046
22861
else
22047
22862
  gt_save_CPPFLAGS="$CPPFLAGS"
22055
22870
cat >>conftest.$ac_ext <<_ACEOF
22056
22871
/* end confdefs.h.  */
22057
22872
#include <libintl.h>
 
22873
$gt_revision_test_code
22058
22874
extern int _nl_msg_cat_cntr;
22059
22875
extern
22060
22876
#ifdef __cplusplus
22065
22881
main ()
22066
22882
{
22067
22883
bindtextdomain ("", "");
22068
 
return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
22884
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
22069
22885
  ;
22070
22886
  return 0;
22071
22887
}
22088
22904
         test ! -s conftest.err
22089
22905
       } && test -s conftest$ac_exeext &&
22090
22906
       $as_test_x conftest$ac_exeext; then
22091
 
  gt_cv_func_gnugettext1_libintl=yes
 
22907
  eval "$gt_func_gnugettext_libintl=yes"
22092
22908
else
22093
22909
  echo "$as_me: failed program was:" >&5
22094
22910
sed 's/^/| /' conftest.$ac_ext >&5
22095
22911
 
22096
 
        gt_cv_func_gnugettext1_libintl=no
 
22912
        eval "$gt_func_gnugettext_libintl=no"
22097
22913
fi
22098
22914
 
22099
22915
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22100
22916
      conftest$ac_exeext conftest.$ac_ext
22101
 
                        if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
 
22917
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
22102
22918
              LIBS="$LIBS $LIBICONV"
22103
22919
              cat >conftest.$ac_ext <<_ACEOF
22104
22920
/* confdefs.h.  */
22107
22923
cat >>conftest.$ac_ext <<_ACEOF
22108
22924
/* end confdefs.h.  */
22109
22925
#include <libintl.h>
 
22926
$gt_revision_test_code
22110
22927
extern int _nl_msg_cat_cntr;
22111
22928
extern
22112
22929
#ifdef __cplusplus
22117
22934
main ()
22118
22935
{
22119
22936
bindtextdomain ("", "");
22120
 
return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
22937
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
22121
22938
  ;
22122
22939
  return 0;
22123
22940
}
22142
22959
       $as_test_x conftest$ac_exeext; then
22143
22960
  LIBINTL="$LIBINTL $LIBICONV"
22144
22961
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
22145
 
                gt_cv_func_gnugettext1_libintl=yes
 
22962
                eval "$gt_func_gnugettext_libintl=yes"
22146
22963
 
22147
22964
else
22148
22965
  echo "$as_me: failed program was:" >&5
22157
22974
            CPPFLAGS="$gt_save_CPPFLAGS"
22158
22975
            LIBS="$gt_save_LIBS"
22159
22976
fi
22160
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
22161
 
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
 
22977
ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'`
 
22978
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22979
echo "${ECHO_T}$ac_res" >&6; }
22162
22980
        fi
22163
22981
 
22164
 
                                        if test "$gt_cv_func_gnugettext1_libc" = "yes" \
22165
 
           || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
 
22982
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
 
22983
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
22166
22984
                && test "$PACKAGE" != gettext-runtime \
22167
22985
                && test "$PACKAGE" != gettext-tools; }; then
22168
22986
          gt_use_preinstalled_gnugettext=yes
22202
23020
    { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
22203
23021
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
22204
23022
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
22205
 
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
 
23023
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
22206
23024
        gt_source="external libintl"
22207
23025
      else
22208
23026
        gt_source="libc"
22217
23035
  if test "$USE_NLS" = "yes"; then
22218
23036
 
22219
23037
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
22220
 
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
 
23038
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
22221
23039
        { echo "$as_me:$LINENO: checking how to link with libintl" >&5
22222
23040
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
22223
23041
        { echo "$as_me:$LINENO: result: $LIBINTL" >&5
22272
23090
 
22273
23091
 
22274
23092
 
 
23093
 
 
23094
 
 
23095
 
 
23096
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
23097
        if test -n "$ac_tool_prefix"; then
 
23098
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
23099
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
23100
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23101
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
23102
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
23103
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23104
else
 
23105
  case $PKG_CONFIG in
 
23106
  [\\/]* | ?:[\\/]*)
 
23107
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
23108
  ;;
 
23109
  *)
 
23110
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
23111
for as_dir in $PATH
 
23112
do
 
23113
  IFS=$as_save_IFS
 
23114
  test -z "$as_dir" && as_dir=.
 
23115
  for ac_exec_ext in '' $ac_executable_extensions; do
 
23116
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
23117
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
23118
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
23119
    break 2
 
23120
  fi
 
23121
done
 
23122
done
 
23123
IFS=$as_save_IFS
 
23124
 
 
23125
  ;;
 
23126
esac
 
23127
fi
 
23128
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
23129
if test -n "$PKG_CONFIG"; then
 
23130
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
23131
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
23132
else
 
23133
  { echo "$as_me:$LINENO: result: no" >&5
 
23134
echo "${ECHO_T}no" >&6; }
 
23135
fi
 
23136
 
 
23137
 
 
23138
fi
 
23139
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
23140
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
23141
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
23142
set dummy pkg-config; ac_word=$2
 
23143
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23144
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
23145
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
23146
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23147
else
 
23148
  case $ac_pt_PKG_CONFIG in
 
23149
  [\\/]* | ?:[\\/]*)
 
23150
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
23151
  ;;
 
23152
  *)
 
23153
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
23154
for as_dir in $PATH
 
23155
do
 
23156
  IFS=$as_save_IFS
 
23157
  test -z "$as_dir" && as_dir=.
 
23158
  for ac_exec_ext in '' $ac_executable_extensions; do
 
23159
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
23160
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
23161
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
23162
    break 2
 
23163
  fi
 
23164
done
 
23165
done
 
23166
IFS=$as_save_IFS
 
23167
 
 
23168
  ;;
 
23169
esac
 
23170
fi
 
23171
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
23172
if test -n "$ac_pt_PKG_CONFIG"; then
 
23173
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
23174
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
23175
else
 
23176
  { echo "$as_me:$LINENO: result: no" >&5
 
23177
echo "${ECHO_T}no" >&6; }
 
23178
fi
 
23179
 
 
23180
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
23181
    PKG_CONFIG=""
 
23182
  else
 
23183
    case $cross_compiling:$ac_tool_warned in
 
23184
yes:)
 
23185
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
23186
whose name does not start with the host triplet.  If you think this
 
23187
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
23188
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
23189
whose name does not start with the host triplet.  If you think this
 
23190
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
23191
ac_tool_warned=yes ;;
 
23192
esac
 
23193
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
23194
  fi
 
23195
else
 
23196
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
23197
fi
 
23198
 
 
23199
fi
 
23200
if test -n "$PKG_CONFIG"; then
 
23201
        _pkg_min_version=0.9.0
 
23202
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
23203
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
23204
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
23205
                { echo "$as_me:$LINENO: result: yes" >&5
 
23206
echo "${ECHO_T}yes" >&6; }
 
23207
        else
 
23208
                { echo "$as_me:$LINENO: result: no" >&5
 
23209
echo "${ECHO_T}no" >&6; }
 
23210
                PKG_CONFIG=""
 
23211
        fi
 
23212
 
 
23213
fi
22275
23214
{ echo "$as_me:$LINENO: checking for X" >&5
22276
23215
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
22277
23216
 
22511
23450
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
22512
23451
fi
22513
23452
 
22514
 
if test "$no_x" = yes; then
 
23453
 
 
23454
# Check whether --with-xcb was given.
 
23455
if test "${with_xcb+set}" = set; then
 
23456
  withval=$with_xcb; if test "$withval" = no; then with_xcb=no; elif test "$withval" != soft; then with_xcb=yes; fi
 
23457
else
 
23458
  with_xcb=soft
 
23459
fi
 
23460
 
 
23461
    if test x"$with_xcb" != xno; then
 
23462
 
 
23463
pkg_failed=no
 
23464
{ echo "$as_me:$LINENO: checking for XCB" >&5
 
23465
echo $ECHO_N "checking for XCB... $ECHO_C" >&6; }
 
23466
 
 
23467
if test -n "$PKG_CONFIG"; then
 
23468
    if test -n "$XCB_CFLAGS"; then
 
23469
        pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
 
23470
    else
 
23471
        if test -n "$PKG_CONFIG" && \
 
23472
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.0\"") >&5
 
23473
  ($PKG_CONFIG --exists --print-errors "xcb >= 1.0") 2>&5
 
23474
  ac_status=$?
 
23475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23476
  (exit $ac_status); }; then
 
23477
  pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb >= 1.0" 2>/dev/null`
 
23478
else
 
23479
  pkg_failed=yes
 
23480
fi
 
23481
    fi
 
23482
else
 
23483
        pkg_failed=untried
 
23484
fi
 
23485
if test -n "$PKG_CONFIG"; then
 
23486
    if test -n "$XCB_LIBS"; then
 
23487
        pkg_cv_XCB_LIBS="$XCB_LIBS"
 
23488
    else
 
23489
        if test -n "$PKG_CONFIG" && \
 
23490
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.0\"") >&5
 
23491
  ($PKG_CONFIG --exists --print-errors "xcb >= 1.0") 2>&5
 
23492
  ac_status=$?
 
23493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23494
  (exit $ac_status); }; then
 
23495
  pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb >= 1.0" 2>/dev/null`
 
23496
else
 
23497
  pkg_failed=yes
 
23498
fi
 
23499
    fi
 
23500
else
 
23501
        pkg_failed=untried
 
23502
fi
 
23503
 
 
23504
 
 
23505
 
 
23506
if test $pkg_failed = yes; then
 
23507
 
 
23508
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23509
        _pkg_short_errors_supported=yes
 
23510
else
 
23511
        _pkg_short_errors_supported=no
 
23512
fi
 
23513
        if test $_pkg_short_errors_supported = yes; then
 
23514
                XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb >= 1.0"`
 
23515
        else
 
23516
                XCB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb >= 1.0"`
 
23517
        fi
 
23518
        # Put the nasty error message in config.log where it belongs
 
23519
        echo "$XCB_PKG_ERRORS" >&5
 
23520
 
 
23521
        { echo "$as_me:$LINENO: result: no" >&5
 
23522
echo "${ECHO_T}no" >&6; }
 
23523
                have_xcb=no
 
23524
elif test $pkg_failed = untried; then
 
23525
        have_xcb=no
 
23526
else
 
23527
        XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
 
23528
        XCB_LIBS=$pkg_cv_XCB_LIBS
 
23529
        { echo "$as_me:$LINENO: result: yes" >&5
 
23530
echo "${ECHO_T}yes" >&6; }
 
23531
        have_xcb=yes
 
23532
fi
 
23533
      test x"$with_xcb" = xsoft || with_xcb=yes
 
23534
      case "$have_xcb,$with_xcb" in
 
23535
        no,yes)
 
23536
          { { echo "$as_me:$LINENO: error: XCB support requested but XCB not found" >&5
 
23537
echo "$as_me: error: XCB support requested but XCB not found" >&2;}
 
23538
   { (exit 1); exit 1; }; }
 
23539
          ;;
 
23540
        no,soft)
 
23541
          with_xcb=no
 
23542
          ;;
 
23543
      esac
 
23544
      if test x"$with_xcb" != xno; then
 
23545
 
 
23546
cat >>confdefs.h <<\_ACEOF
 
23547
#define HAVE_XCB 1
 
23548
_ACEOF
 
23549
 
 
23550
        # Check whether --enable-x11-vo was given.
 
23551
if test "${enable_x11_vo+set}" = set; then
 
23552
  enableval=$enable_x11_vo; if test "$withval" = no; then enable_x11_vo=no; else enable_x11_vo=yes; fi
 
23553
else
 
23554
  enable_x11_vo=yes
 
23555
fi
 
23556
 
 
23557
        if test x"$enable_x11_vo" != xno; then
 
23558
 
 
23559
cat >>confdefs.h <<\_ACEOF
 
23560
#define ENABLE_X11_VO 1
 
23561
_ACEOF
 
23562
 
 
23563
        fi
 
23564
      fi
 
23565
    fi
 
23566
    if test x"$with_xcb" = xno || test x"$enable_x11_vo" = xyes; then
 
23567
      if test "$no_x" = yes; then
22515
23568
  # Not all programs may use this symbol, but it does not hurt to define it.
22516
23569
 
22517
23570
cat >>confdefs.h <<\_ACEOF
23586
24639
 
23587
24640
fi
23588
24641
 
23589
 
 
23590
 
 
23591
 
 
23592
 
 
23593
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
23594
 
        if test -n "$ac_tool_prefix"; then
23595
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23596
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23597
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23598
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23599
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23601
 
else
23602
 
  case $PKG_CONFIG in
23603
 
  [\\/]* | ?:[\\/]*)
23604
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23605
 
  ;;
23606
 
  *)
23607
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23608
 
for as_dir in $PATH
23609
 
do
23610
 
  IFS=$as_save_IFS
23611
 
  test -z "$as_dir" && as_dir=.
23612
 
  for ac_exec_ext in '' $ac_executable_extensions; do
23613
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23614
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23615
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23616
 
    break 2
23617
 
  fi
23618
 
done
23619
 
done
23620
 
IFS=$as_save_IFS
23621
 
 
23622
 
  ;;
23623
 
esac
23624
 
fi
23625
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23626
 
if test -n "$PKG_CONFIG"; then
23627
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23628
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
23629
 
else
23630
 
  { echo "$as_me:$LINENO: result: no" >&5
23631
 
echo "${ECHO_T}no" >&6; }
23632
 
fi
23633
 
 
23634
 
 
23635
 
fi
23636
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
23637
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
23638
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
23639
 
set dummy pkg-config; ac_word=$2
23640
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23641
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23642
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
23643
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23644
 
else
23645
 
  case $ac_pt_PKG_CONFIG in
23646
 
  [\\/]* | ?:[\\/]*)
23647
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23648
 
  ;;
23649
 
  *)
23650
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23651
 
for as_dir in $PATH
23652
 
do
23653
 
  IFS=$as_save_IFS
23654
 
  test -z "$as_dir" && as_dir=.
23655
 
  for ac_exec_ext in '' $ac_executable_extensions; do
23656
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23657
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23658
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23659
 
    break 2
23660
 
  fi
23661
 
done
23662
 
done
23663
 
IFS=$as_save_IFS
23664
 
 
23665
 
  ;;
23666
 
esac
23667
 
fi
23668
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23669
 
if test -n "$ac_pt_PKG_CONFIG"; then
23670
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
23671
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
23672
 
else
23673
 
  { echo "$as_me:$LINENO: result: no" >&5
23674
 
echo "${ECHO_T}no" >&6; }
23675
 
fi
23676
 
 
23677
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
23678
 
    PKG_CONFIG=""
23679
 
  else
23680
 
    case $cross_compiling:$ac_tool_warned in
23681
 
yes:)
23682
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23683
 
whose name does not start with the host triplet.  If you think this
23684
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
23685
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23686
 
whose name does not start with the host triplet.  If you think this
23687
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23688
 
ac_tool_warned=yes ;;
23689
 
esac
23690
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
23691
 
  fi
23692
 
else
23693
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23694
 
fi
23695
 
 
23696
 
fi
23697
 
if test -n "$PKG_CONFIG"; then
23698
 
        _pkg_min_version=0.9.0
23699
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
23700
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
23701
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23702
 
                { echo "$as_me:$LINENO: result: yes" >&5
23703
 
echo "${ECHO_T}yes" >&6; }
23704
 
        else
23705
 
                { echo "$as_me:$LINENO: result: no" >&5
23706
 
echo "${ECHO_T}no" >&6; }
23707
 
                PKG_CONFIG=""
23708
 
        fi
23709
 
 
23710
 
fi
 
24642
    fi
 
24643
     if test x"$with_xcb" != xno; then
 
24644
  WITH_XCB_TRUE=
 
24645
  WITH_XCB_FALSE='#'
 
24646
else
 
24647
  WITH_XCB_TRUE='#'
 
24648
  WITH_XCB_FALSE=
 
24649
fi
 
24650
 
 
24651
 
 
24652
 
 
24653
 
 
24654
NET_LIBS=""
 
24655
{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
 
24656
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
 
24657
if test "${ac_cv_lib_socket_socket+set}" = set; then
 
24658
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24659
else
 
24660
  ac_check_lib_save_LIBS=$LIBS
 
24661
LIBS="-lsocket  $LIBS"
 
24662
cat >conftest.$ac_ext <<_ACEOF
 
24663
/* confdefs.h.  */
 
24664
_ACEOF
 
24665
cat confdefs.h >>conftest.$ac_ext
 
24666
cat >>conftest.$ac_ext <<_ACEOF
 
24667
/* end confdefs.h.  */
 
24668
 
 
24669
/* Override any GCC internal prototype to avoid an error.
 
24670
   Use char because int might match the return type of a GCC
 
24671
   builtin and then its argument prototype would still apply.  */
 
24672
#ifdef __cplusplus
 
24673
extern "C"
 
24674
#endif
 
24675
char socket ();
 
24676
int
 
24677
main ()
 
24678
{
 
24679
return socket ();
 
24680
  ;
 
24681
  return 0;
 
24682
}
 
24683
_ACEOF
 
24684
rm -f conftest.$ac_objext conftest$ac_exeext
 
24685
if { (ac_try="$ac_link"
 
24686
case "(($ac_try" in
 
24687
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24688
  *) ac_try_echo=$ac_try;;
 
24689
esac
 
24690
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24691
  (eval "$ac_link") 2>conftest.er1
 
24692
  ac_status=$?
 
24693
  grep -v '^ *+' conftest.er1 >conftest.err
 
24694
  rm -f conftest.er1
 
24695
  cat conftest.err >&5
 
24696
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24697
  (exit $ac_status); } && {
 
24698
         test -z "$ac_c_werror_flag" ||
 
24699
         test ! -s conftest.err
 
24700
       } && test -s conftest$ac_exeext &&
 
24701
       $as_test_x conftest$ac_exeext; then
 
24702
  ac_cv_lib_socket_socket=yes
 
24703
else
 
24704
  echo "$as_me: failed program was:" >&5
 
24705
sed 's/^/| /' conftest.$ac_ext >&5
 
24706
 
 
24707
        ac_cv_lib_socket_socket=no
 
24708
fi
 
24709
 
 
24710
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24711
      conftest$ac_exeext conftest.$ac_ext
 
24712
LIBS=$ac_check_lib_save_LIBS
 
24713
fi
 
24714
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
 
24715
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
 
24716
if test $ac_cv_lib_socket_socket = yes; then
 
24717
  NET_LIBS="-lsocket $NET_LIBS"
 
24718
fi
 
24719
 
 
24720
{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
24721
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
 
24722
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
 
24723
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24724
else
 
24725
  ac_check_lib_save_LIBS=$LIBS
 
24726
LIBS="-lnsl  $LIBS"
 
24727
cat >conftest.$ac_ext <<_ACEOF
 
24728
/* confdefs.h.  */
 
24729
_ACEOF
 
24730
cat confdefs.h >>conftest.$ac_ext
 
24731
cat >>conftest.$ac_ext <<_ACEOF
 
24732
/* end confdefs.h.  */
 
24733
 
 
24734
/* Override any GCC internal prototype to avoid an error.
 
24735
   Use char because int might match the return type of a GCC
 
24736
   builtin and then its argument prototype would still apply.  */
 
24737
#ifdef __cplusplus
 
24738
extern "C"
 
24739
#endif
 
24740
char gethostbyname ();
 
24741
int
 
24742
main ()
 
24743
{
 
24744
return gethostbyname ();
 
24745
  ;
 
24746
  return 0;
 
24747
}
 
24748
_ACEOF
 
24749
rm -f conftest.$ac_objext conftest$ac_exeext
 
24750
if { (ac_try="$ac_link"
 
24751
case "(($ac_try" in
 
24752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24753
  *) ac_try_echo=$ac_try;;
 
24754
esac
 
24755
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24756
  (eval "$ac_link") 2>conftest.er1
 
24757
  ac_status=$?
 
24758
  grep -v '^ *+' conftest.er1 >conftest.err
 
24759
  rm -f conftest.er1
 
24760
  cat conftest.err >&5
 
24761
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24762
  (exit $ac_status); } && {
 
24763
         test -z "$ac_c_werror_flag" ||
 
24764
         test ! -s conftest.err
 
24765
       } && test -s conftest$ac_exeext &&
 
24766
       $as_test_x conftest$ac_exeext; then
 
24767
  ac_cv_lib_nsl_gethostbyname=yes
 
24768
else
 
24769
  echo "$as_me: failed program was:" >&5
 
24770
sed 's/^/| /' conftest.$ac_ext >&5
 
24771
 
 
24772
        ac_cv_lib_nsl_gethostbyname=no
 
24773
fi
 
24774
 
 
24775
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24776
      conftest$ac_exeext conftest.$ac_ext
 
24777
LIBS=$ac_check_lib_save_LIBS
 
24778
fi
 
24779
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
24780
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
 
24781
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
24782
  NET_LIBS="-lnsl $NET_LIBS"
 
24783
fi
 
24784
 
 
24785
 
 
24786
 
 
24787
 
23711
24788
 
23712
24789
# Check whether --with-spidermonkey was given.
23713
24790
if test "${with_spidermonkey+set}" = set; then
23717
24794
fi
23718
24795
 
23719
24796
 
23720
 
    # Check whether --enable-libjs was given.
23721
 
if test "${enable_libjs+set}" = set; then
23722
 
  enableval=$enable_libjs;
23723
 
fi
23724
 
 
23725
24797
    # Check whether --enable-mozjs was given.
23726
24798
if test "${enable_mozjs+set}" = set; then
23727
24799
  enableval=$enable_mozjs;
23732
24804
  enableval=$enable_ffjs;
23733
24805
fi
23734
24806
 
23735
 
   # Check whether --enable-seajs was given.
 
24807
    # Check whether --enable-seajs was given.
23736
24808
if test "${enable_seajs+set}" = set; then
23737
24809
  enableval=$enable_seajs;
23738
24810
fi
23739
24811
 
23740
24812
 
23741
 
    test "$enable_libjs$enable_mozjs$enable_ffjs" = "nonono" &&
23742
 
      { { echo "$as_me:$LINENO: error: cannot search for no JS library - try removing a --disable-*js option" >&5
23743
 
echo "$as_me: error: cannot search for no JS library - try removing a --disable-*js option" >&2;}
23744
 
   { (exit 1); exit 1; }; }
23745
 
 
23746
24813
    if test x"$JS_CFLAGS" = x; then
23747
24814
      { echo "$as_me:$LINENO: looking for the Spidermonkey Javascript library in various places." >&5
23748
24815
echo "$as_me: looking for the Spidermonkey Javascript library in various places." >&6;}
23826
24893
        :
23827
24894
fi
23828
24895
 
23829
 
      # Try libsmjs/libjs
23830
 
 
23831
 
     if test "$enable_libjs" != "no"; then
23832
 
      if test x"$JS_CFLAGS" = x; then
23833
 
        HAVE_JS=libjs
23834
 
        # Note: this could be confused with NGS JS
23835
 
        { echo "$as_me:$LINENO: trying libjs via pkgconfig" >&5
23836
 
echo "$as_me: trying libjs via pkgconfig" >&6;}
23837
 
 
23838
 
pkg_failed=no
23839
 
{ echo "$as_me:$LINENO: checking for JS" >&5
23840
 
echo $ECHO_N "checking for JS... $ECHO_C" >&6; }
23841
 
 
23842
 
if test -n "$PKG_CONFIG"; then
23843
 
    if test -n "$JS_CFLAGS"; then
23844
 
        pkg_cv_JS_CFLAGS="$JS_CFLAGS"
23845
 
    else
23846
 
        if test -n "$PKG_CONFIG" && \
23847
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libjs\"") >&5
23848
 
  ($PKG_CONFIG --exists --print-errors "libjs") 2>&5
23849
 
  ac_status=$?
23850
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851
 
  (exit $ac_status); }; then
23852
 
  pkg_cv_JS_CFLAGS=`$PKG_CONFIG --cflags "libjs" 2>/dev/null`
23853
 
else
23854
 
  pkg_failed=yes
23855
 
fi
23856
 
    fi
23857
 
else
23858
 
        pkg_failed=untried
23859
 
fi
23860
 
if test -n "$PKG_CONFIG"; then
23861
 
    if test -n "$JS_LIBS"; then
23862
 
        pkg_cv_JS_LIBS="$JS_LIBS"
23863
 
    else
23864
 
        if test -n "$PKG_CONFIG" && \
23865
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libjs\"") >&5
23866
 
  ($PKG_CONFIG --exists --print-errors "libjs") 2>&5
23867
 
  ac_status=$?
23868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869
 
  (exit $ac_status); }; then
23870
 
  pkg_cv_JS_LIBS=`$PKG_CONFIG --libs "libjs" 2>/dev/null`
23871
 
else
23872
 
  pkg_failed=yes
23873
 
fi
23874
 
    fi
23875
 
else
23876
 
        pkg_failed=untried
23877
 
fi
23878
 
 
23879
 
 
23880
 
 
23881
 
if test $pkg_failed = yes; then
23882
 
 
23883
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23884
 
        _pkg_short_errors_supported=yes
23885
 
else
23886
 
        _pkg_short_errors_supported=no
23887
 
fi
23888
 
        if test $_pkg_short_errors_supported = yes; then
23889
 
                JS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libjs"`
23890
 
        else
23891
 
                JS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libjs"`
23892
 
        fi
23893
 
        # Put the nasty error message in config.log where it belongs
23894
 
        echo "$JS_PKG_ERRORS" >&5
23895
 
 
23896
 
        { echo "$as_me:$LINENO: result: no" >&5
23897
 
echo "${ECHO_T}no" >&6; }
23898
 
                { echo "$as_me:$LINENO: result: no" >&5
23899
 
echo "${ECHO_T}no" >&6; }
23900
 
elif test $pkg_failed = untried; then
23901
 
        { echo "$as_me:$LINENO: result: no" >&5
23902
 
echo "${ECHO_T}no" >&6; }
23903
 
else
23904
 
        JS_CFLAGS=$pkg_cv_JS_CFLAGS
23905
 
        JS_LIBS=$pkg_cv_JS_LIBS
23906
 
        { echo "$as_me:$LINENO: result: yes" >&5
23907
 
echo "${ECHO_T}yes" >&6; }
23908
 
        :
23909
 
fi
23910
 
      fi
23911
 
 
23912
 
      if test x"$JS_CFLAGS" = x; then
23913
 
        { echo "$as_me:$LINENO: trying smjs" >&5
23914
 
echo "$as_me: trying smjs" >&6;}
23915
 
        { echo "$as_me:$LINENO: checking for smjs/jsapi.h" >&5
23916
 
echo $ECHO_N "checking for smjs/jsapi.h... $ECHO_C" >&6; }
23917
 
if test "${ac_cv_header_smjs_jsapi_h+set}" = set; then
23918
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23919
 
else
23920
 
  cat >conftest.$ac_ext <<_ACEOF
23921
 
/* confdefs.h.  */
23922
 
_ACEOF
23923
 
cat confdefs.h >>conftest.$ac_ext
23924
 
cat >>conftest.$ac_ext <<_ACEOF
23925
 
/* end confdefs.h.  */
23926
 
#define XP_UNIX
23927
 
 
23928
 
#include <smjs/jsapi.h>
23929
 
_ACEOF
23930
 
rm -f conftest.$ac_objext
23931
 
if { (ac_try="$ac_compile"
23932
 
case "(($ac_try" in
23933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23934
 
  *) ac_try_echo=$ac_try;;
23935
 
esac
23936
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23937
 
  (eval "$ac_compile") 2>conftest.er1
23938
 
  ac_status=$?
23939
 
  grep -v '^ *+' conftest.er1 >conftest.err
23940
 
  rm -f conftest.er1
23941
 
  cat conftest.err >&5
23942
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943
 
  (exit $ac_status); } && {
23944
 
         test -z "$ac_c_werror_flag" ||
23945
 
         test ! -s conftest.err
23946
 
       } && test -s conftest.$ac_objext; then
23947
 
  ac_cv_header_smjs_jsapi_h=yes
23948
 
else
23949
 
  echo "$as_me: failed program was:" >&5
23950
 
sed 's/^/| /' conftest.$ac_ext >&5
23951
 
 
23952
 
        ac_cv_header_smjs_jsapi_h=no
23953
 
fi
23954
 
 
23955
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23956
 
fi
23957
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_smjs_jsapi_h" >&5
23958
 
echo "${ECHO_T}$ac_cv_header_smjs_jsapi_h" >&6; }
23959
 
if test $ac_cv_header_smjs_jsapi_h = yes; then
23960
 
  JS_CFLAGS="-I`if test -f /usr/include/"smjs/jsapi.h"; then
23961
 
        echo /usr/include/"smjs/"
23962
 
    else
23963
 
        echo /usr/local/include/"smjs/"
23964
 
    fi
23965
 
   `"
23966
 
         JS_LIBS="`case "$JS_CFLAGS" in
23967
 
        /usr/local/include/*)
23968
 
          echo -L/usr/local/lib -l"smjs"
23969
 
          ;;
23970
 
        *)
23971
 
          echo -l"smjs"
23972
 
          ;;
23973
 
    esac
23974
 
   `"
23975
 
         if test "" = ""; then
23976
 
           HAVE_JS="libsmjs"
23977
 
         else
23978
 
           HAVE_JS="lib"
23979
 
         fi
23980
 
 
23981
 
else
23982
 
  unset JS_CFLAGS JS_LIBS
23983
 
fi
23984
 
 
23985
 
 
23986
 
 
23987
 
      fi
23988
 
      if test x"$JS_CFLAGS" = x; then
23989
 
        { echo "$as_me:$LINENO: trying js, includes in /usr/include/js" >&5
23990
 
echo "$as_me: trying js, includes in /usr/include/js" >&6;}
23991
 
        { echo "$as_me:$LINENO: checking for js/jsapi.h" >&5
23992
 
echo $ECHO_N "checking for js/jsapi.h... $ECHO_C" >&6; }
23993
 
if test "${ac_cv_header_js_jsapi_h+set}" = set; then
23994
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23995
 
else
23996
 
  cat >conftest.$ac_ext <<_ACEOF
23997
 
/* confdefs.h.  */
23998
 
_ACEOF
23999
 
cat confdefs.h >>conftest.$ac_ext
24000
 
cat >>conftest.$ac_ext <<_ACEOF
24001
 
/* end confdefs.h.  */
24002
 
#define XP_UNIX
24003
 
 
24004
 
#include <js/jsapi.h>
24005
 
_ACEOF
24006
 
rm -f conftest.$ac_objext
24007
 
if { (ac_try="$ac_compile"
24008
 
case "(($ac_try" in
24009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24010
 
  *) ac_try_echo=$ac_try;;
24011
 
esac
24012
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24013
 
  (eval "$ac_compile") 2>conftest.er1
24014
 
  ac_status=$?
24015
 
  grep -v '^ *+' conftest.er1 >conftest.err
24016
 
  rm -f conftest.er1
24017
 
  cat conftest.err >&5
24018
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019
 
  (exit $ac_status); } && {
24020
 
         test -z "$ac_c_werror_flag" ||
24021
 
         test ! -s conftest.err
24022
 
       } && test -s conftest.$ac_objext; then
24023
 
  ac_cv_header_js_jsapi_h=yes
24024
 
else
24025
 
  echo "$as_me: failed program was:" >&5
24026
 
sed 's/^/| /' conftest.$ac_ext >&5
24027
 
 
24028
 
        ac_cv_header_js_jsapi_h=no
24029
 
fi
24030
 
 
24031
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24032
 
fi
24033
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_js_jsapi_h" >&5
24034
 
echo "${ECHO_T}$ac_cv_header_js_jsapi_h" >&6; }
24035
 
if test $ac_cv_header_js_jsapi_h = yes; then
24036
 
  JS_CFLAGS="-I`if test -f /usr/include/"js/jsapi.h"; then
24037
 
        echo /usr/include/"js/"
24038
 
    else
24039
 
        echo /usr/local/include/"js/"
24040
 
    fi
24041
 
   `"
24042
 
         JS_LIBS="`case "$JS_CFLAGS" in
24043
 
        /usr/local/include/*)
24044
 
          echo -L/usr/local/lib -l"js"
24045
 
          ;;
24046
 
        *)
24047
 
          echo -l"js"
24048
 
          ;;
24049
 
    esac
24050
 
   `"
24051
 
         if test "" = ""; then
24052
 
           HAVE_JS="libjs"
24053
 
         else
24054
 
           HAVE_JS="lib"
24055
 
         fi
24056
 
 
24057
 
else
24058
 
  unset JS_CFLAGS JS_LIBS
24059
 
fi
24060
 
 
24061
 
 
24062
 
 
24063
 
      fi
24064
 
      if test x"$JS_CFLAGS" = x; then
24065
 
        { echo "$as_me:$LINENO: trying js, includes in /usr/include/js-1.5" >&5
24066
 
echo "$as_me: trying js, includes in /usr/include/js-1.5" >&6;}
24067
 
        { echo "$as_me:$LINENO: checking for js-1.5/jsapi.h" >&5
24068
 
echo $ECHO_N "checking for js-1.5/jsapi.h... $ECHO_C" >&6; }
24069
 
if test "${ac_cv_header_js_1_5_jsapi_h+set}" = set; then
24070
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24071
 
else
24072
 
  cat >conftest.$ac_ext <<_ACEOF
24073
 
/* confdefs.h.  */
24074
 
_ACEOF
24075
 
cat confdefs.h >>conftest.$ac_ext
24076
 
cat >>conftest.$ac_ext <<_ACEOF
24077
 
/* end confdefs.h.  */
24078
 
#define XP_UNIX
24079
 
 
24080
 
#include <js-1.5/jsapi.h>
24081
 
_ACEOF
24082
 
rm -f conftest.$ac_objext
24083
 
if { (ac_try="$ac_compile"
24084
 
case "(($ac_try" in
24085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24086
 
  *) ac_try_echo=$ac_try;;
24087
 
esac
24088
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24089
 
  (eval "$ac_compile") 2>conftest.er1
24090
 
  ac_status=$?
24091
 
  grep -v '^ *+' conftest.er1 >conftest.err
24092
 
  rm -f conftest.er1
24093
 
  cat conftest.err >&5
24094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095
 
  (exit $ac_status); } && {
24096
 
         test -z "$ac_c_werror_flag" ||
24097
 
         test ! -s conftest.err
24098
 
       } && test -s conftest.$ac_objext; then
24099
 
  ac_cv_header_js_1_5_jsapi_h=yes
24100
 
else
24101
 
  echo "$as_me: failed program was:" >&5
24102
 
sed 's/^/| /' conftest.$ac_ext >&5
24103
 
 
24104
 
        ac_cv_header_js_1_5_jsapi_h=no
24105
 
fi
24106
 
 
24107
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24108
 
fi
24109
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_js_1_5_jsapi_h" >&5
24110
 
echo "${ECHO_T}$ac_cv_header_js_1_5_jsapi_h" >&6; }
24111
 
if test $ac_cv_header_js_1_5_jsapi_h = yes; then
24112
 
  JS_CFLAGS="-I`if test -f /usr/include/"js-1.5/jsapi.h"; then
24113
 
        echo /usr/include/"js-1.5/"
24114
 
    else
24115
 
        echo /usr/local/include/"js-1.5/"
24116
 
    fi
24117
 
   `"
24118
 
         JS_LIBS="`case "$JS_CFLAGS" in
24119
 
        /usr/local/include/*)
24120
 
          echo -L/usr/local/lib -l"js"
24121
 
          ;;
24122
 
        *)
24123
 
          echo -l"js"
24124
 
          ;;
24125
 
    esac
24126
 
   `"
24127
 
         if test "" = ""; then
24128
 
           HAVE_JS="libjs"
24129
 
         else
24130
 
           HAVE_JS="lib"
24131
 
         fi
24132
 
 
24133
 
else
24134
 
  unset JS_CFLAGS JS_LIBS
24135
 
fi
24136
 
 
24137
 
 
24138
 
 
24139
 
      fi
24140
 
      if test x"$JS_CFLAGS" = x; then
24141
 
        { echo "$as_me:$LINENO: trying js, includes in /usr/include" >&5
24142
 
echo "$as_me: trying js, includes in /usr/include" >&6;}
24143
 
        { echo "$as_me:$LINENO: checking for jsapi.h" >&5
24144
 
echo $ECHO_N "checking for jsapi.h... $ECHO_C" >&6; }
24145
 
if test "${ac_cv_header_jsapi_h+set}" = set; then
24146
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
24147
 
else
24148
 
  cat >conftest.$ac_ext <<_ACEOF
24149
 
/* confdefs.h.  */
24150
 
_ACEOF
24151
 
cat confdefs.h >>conftest.$ac_ext
24152
 
cat >>conftest.$ac_ext <<_ACEOF
24153
 
/* end confdefs.h.  */
24154
 
#define XP_UNIX
24155
 
 
24156
 
#include <jsapi.h>
24157
 
_ACEOF
24158
 
rm -f conftest.$ac_objext
24159
 
if { (ac_try="$ac_compile"
24160
 
case "(($ac_try" in
24161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24162
 
  *) ac_try_echo=$ac_try;;
24163
 
esac
24164
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24165
 
  (eval "$ac_compile") 2>conftest.er1
24166
 
  ac_status=$?
24167
 
  grep -v '^ *+' conftest.er1 >conftest.err
24168
 
  rm -f conftest.er1
24169
 
  cat conftest.err >&5
24170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171
 
  (exit $ac_status); } && {
24172
 
         test -z "$ac_c_werror_flag" ||
24173
 
         test ! -s conftest.err
24174
 
       } && test -s conftest.$ac_objext; then
24175
 
  ac_cv_header_jsapi_h=yes
24176
 
else
24177
 
  echo "$as_me: failed program was:" >&5
24178
 
sed 's/^/| /' conftest.$ac_ext >&5
24179
 
 
24180
 
        ac_cv_header_jsapi_h=no
24181
 
fi
24182
 
 
24183
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24184
 
fi
24185
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_jsapi_h" >&5
24186
 
echo "${ECHO_T}$ac_cv_header_jsapi_h" >&6; }
24187
 
if test $ac_cv_header_jsapi_h = yes; then
24188
 
  JS_CFLAGS="-I`if test -f /usr/include/"jsapi.h"; then
24189
 
        echo /usr/include/""
24190
 
    else
24191
 
        echo /usr/local/include/""
24192
 
    fi
24193
 
   `"
24194
 
         JS_LIBS="`case "$JS_CFLAGS" in
24195
 
        /usr/local/include/*)
24196
 
          echo -L/usr/local/lib -l"js"
24197
 
          ;;
24198
 
        *)
24199
 
          echo -l"js"
24200
 
          ;;
24201
 
    esac
24202
 
   `"
24203
 
         if test "" = ""; then
24204
 
           HAVE_JS="libjs"
24205
 
         else
24206
 
           HAVE_JS="lib"
24207
 
         fi
24208
 
 
24209
 
else
24210
 
  unset JS_CFLAGS JS_LIBS
24211
 
fi
24212
 
 
24213
 
 
24214
 
 
24215
 
      fi
24216
 
     fi
24217
 
 
24218
24896
      # Try Mozilla
24219
24897
 
24220
24898
      if test x"$JS_CFLAGS" = x && test "$enable_mozjs" != "no"; then
24518
25196
    fi
24519
25197
   `"
24520
25198
         JS_LIBS="`case "$JS_CFLAGS" in
24521
 
        /usr/local/include/*)
 
25199
        -I/usr/local/include/*)
24522
25200
          echo -L/usr/local/lib -l"mozjs"
24523
25201
          ;;
 
25202
        -I/usr/include/firefox/*)
 
25203
          echo -L/usr/lib/firefox -R/usr/lib/firefox -l"mozjs"
 
25204
          ;;
24524
25205
        *)
24525
25206
          echo -l"mozjs"
24526
25207
          ;;
24594
25275
    fi
24595
25276
   `"
24596
25277
         JS_LIBS="`case "$JS_CFLAGS" in
24597
 
        /usr/local/include/*)
 
25278
        -I/usr/local/include/*)
24598
25279
          echo -L/usr/local/lib -l"mozjs"
24599
25280
          ;;
 
25281
        -I/usr/include/firefox/*)
 
25282
          echo -L/usr/lib/firefox -R/usr/lib/firefox -l"mozjs"
 
25283
          ;;
24600
25284
        *)
24601
25285
          echo -l"mozjs"
24602
25286
          ;;
24616
25300
 
24617
25301
      fi
24618
25302
      if test x"$JS_CFLAGS" = x && test "$enable_ffjs" != "no"; then
24619
 
        { echo "$as_me:$LINENO: trying mozjs, includes in /usr/include/firefox/js" >&5
24620
 
echo "$as_me: trying mozjs, includes in /usr/include/firefox/js" >&6;}
 
25303
        { echo "$as_me:$LINENO: trying mozjs, includes in /usr/include/firefox-1.5/js" >&5
 
25304
echo "$as_me: trying mozjs, includes in /usr/include/firefox-1.5/js" >&6;}
24621
25305
        { echo "$as_me:$LINENO: checking for firefox-1.5/js/jsapi.h" >&5
24622
25306
echo $ECHO_N "checking for firefox-1.5/js/jsapi.h... $ECHO_C" >&6; }
24623
25307
if test "${ac_cv_header_firefox_1_5_js_jsapi_h+set}" = set; then
24670
25354
    fi
24671
25355
   `"
24672
25356
         JS_LIBS="`case "$JS_CFLAGS" in
24673
 
        /usr/local/include/*)
 
25357
        -I/usr/local/include/*)
24674
25358
          echo -L/usr/local/lib -l"mozjs"
24675
25359
          ;;
 
25360
        -I/usr/include/firefox/*)
 
25361
          echo -L/usr/lib/firefox -R/usr/lib/firefox -l"mozjs"
 
25362
          ;;
24676
25363
        *)
24677
25364
          echo -l"mozjs"
24678
25365
          ;;
24746
25433
    fi
24747
25434
   `"
24748
25435
         JS_LIBS="`case "$JS_CFLAGS" in
24749
 
        /usr/local/include/*)
 
25436
        -I/usr/local/include/*)
24750
25437
          echo -L/usr/local/lib -l"mozjs"
24751
25438
          ;;
 
25439
        -I/usr/include/firefox/*)
 
25440
          echo -L/usr/lib/firefox -R/usr/lib/firefox -l"mozjs"
 
25441
          ;;
24752
25442
        *)
24753
25443
          echo -l"mozjs"
24754
25444
          ;;
24834
25524
                          ;;
24835
25525
                   esac`"
24836
25526
         JS_LIBS="`case "$JS_CFLAGS" in
24837
 
        /usr/local/include/*)
 
25527
        -I/usr/local/include/*)
24838
25528
          echo -L/usr/local/lib -l"$JS_LIBS"
24839
25529
          ;;
 
25530
        -I/usr/include/firefox/*)
 
25531
          echo -L/usr/lib/firefox -R/usr/lib/firefox -l"$JS_LIBS"
 
25532
          ;;
24840
25533
        *)
24841
25534
          echo -l"$JS_LIBS"
24842
25535
          ;;
24938
25631
        NSPR_CHECK='xulrunner-nspr nspr /nspr/'
24939
25632
        ;;
24940
25633
      libffjs)
24941
 
        NSPR_CHECK='firefox-nspr /firefox/nspr/ nspr /nspr/'
24942
 
        ;;
24943
 
      libjs)
24944
 
        NSPR_CHECK='nspr /nspr/'
 
25634
        NSPR_CHECK='firefox-nspr /firefox/nspr/ nspr /nspr/ mps /mps/'
24945
25635
        ;;
24946
25636
      *)
24947
25637
        NSPR_CHECK='mozilla-nspr /mozilla/nspr/ nspr /nspr/'
24948
25638
        ;;
24949
25639
    esac
24950
25640
    for nspr in $NSPR_CHECK; do
24951
 
      if test $(expr substr $nspr 1 1) = '/'; then
24952
 
        as_ac_Header=`echo "ac_cv_header_$(expr substr $nspr 2 99)prtypes.h" | $as_tr_sh`
 
25641
      if test "`echo $nspr | sed 's/^\(.\).*$/\1/'`" = '/'; then
 
25642
        nspr_dir="`echo $nspr | sed 's/^.\(.*\)$/\1/g'`"
 
25643
        as_ac_Header=`echo "ac_cv_header_${nspr_dir}prtypes.h" | $as_tr_sh`
24953
25644
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24954
 
  { echo "$as_me:$LINENO: checking for $(expr substr $nspr 2 99)prtypes.h" >&5
24955
 
echo $ECHO_N "checking for $(expr substr $nspr 2 99)prtypes.h... $ECHO_C" >&6; }
 
25645
  { echo "$as_me:$LINENO: checking for ${nspr_dir}prtypes.h" >&5
 
25646
echo $ECHO_N "checking for ${nspr_dir}prtypes.h... $ECHO_C" >&6; }
24956
25647
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24957
25648
  echo $ECHO_N "(cached) $ECHO_C" >&6
24958
25649
fi
24961
25652
echo "${ECHO_T}$ac_res" >&6; }
24962
25653
else
24963
25654
  # Is the header compilable?
24964
 
{ echo "$as_me:$LINENO: checking $(expr substr $nspr 2 99)prtypes.h usability" >&5
24965
 
echo $ECHO_N "checking $(expr substr $nspr 2 99)prtypes.h usability... $ECHO_C" >&6; }
 
25655
{ echo "$as_me:$LINENO: checking ${nspr_dir}prtypes.h usability" >&5
 
25656
echo $ECHO_N "checking ${nspr_dir}prtypes.h usability... $ECHO_C" >&6; }
24966
25657
cat >conftest.$ac_ext <<_ACEOF
24967
25658
/* confdefs.h.  */
24968
25659
_ACEOF
24970
25661
cat >>conftest.$ac_ext <<_ACEOF
24971
25662
/* end confdefs.h.  */
24972
25663
$ac_includes_default
24973
 
#include <$(expr substr $nspr 2 99)prtypes.h>
 
25664
#include <${nspr_dir}prtypes.h>
24974
25665
_ACEOF
24975
25666
rm -f conftest.$ac_objext
24976
25667
if { (ac_try="$ac_compile"
25002
25693
echo "${ECHO_T}$ac_header_compiler" >&6; }
25003
25694
 
25004
25695
# Is the header present?
25005
 
{ echo "$as_me:$LINENO: checking $(expr substr $nspr 2 99)prtypes.h presence" >&5
25006
 
echo $ECHO_N "checking $(expr substr $nspr 2 99)prtypes.h presence... $ECHO_C" >&6; }
 
25696
{ echo "$as_me:$LINENO: checking ${nspr_dir}prtypes.h presence" >&5
 
25697
echo $ECHO_N "checking ${nspr_dir}prtypes.h presence... $ECHO_C" >&6; }
25007
25698
cat >conftest.$ac_ext <<_ACEOF
25008
25699
/* confdefs.h.  */
25009
25700
_ACEOF
25010
25701
cat confdefs.h >>conftest.$ac_ext
25011
25702
cat >>conftest.$ac_ext <<_ACEOF
25012
25703
/* end confdefs.h.  */
25013
 
#include <$(expr substr $nspr 2 99)prtypes.h>
 
25704
#include <${nspr_dir}prtypes.h>
25014
25705
_ACEOF
25015
25706
if { (ac_try="$ac_cpp conftest.$ac_ext"
25016
25707
case "(($ac_try" in
25043
25734
# So?  What about this header?
25044
25735
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25045
25736
  yes:no: )
25046
 
    { echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: accepted by the compiler, rejected by the preprocessor!" >&5
25047
 
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25048
 
    { echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: proceeding with the compiler's result" >&5
25049
 
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: proceeding with the compiler's result" >&2;}
 
25737
    { echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
25738
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
25739
    { echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: proceeding with the compiler's result" >&5
 
25740
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: proceeding with the compiler's result" >&2;}
25050
25741
    ac_header_preproc=yes
25051
25742
    ;;
25052
25743
  no:yes:* )
25053
 
    { echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: present but cannot be compiled" >&5
25054
 
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: present but cannot be compiled" >&2;}
25055
 
    { echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h:     check for missing prerequisite headers?" >&5
25056
 
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h:     check for missing prerequisite headers?" >&2;}
25057
 
    { echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: see the Autoconf documentation" >&5
25058
 
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: see the Autoconf documentation" >&2;}
25059
 
    { echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h:     section \"Present But Cannot Be Compiled\"" >&5
25060
 
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h:     section \"Present But Cannot Be Compiled\"" >&2;}
25061
 
    { echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: proceeding with the preprocessor's result" >&5
25062
 
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: proceeding with the preprocessor's result" >&2;}
25063
 
    { echo "$as_me:$LINENO: WARNING: $(expr substr $nspr 2 99)prtypes.h: in the future, the compiler will take precedence" >&5
25064
 
echo "$as_me: WARNING: $(expr substr $nspr 2 99)prtypes.h: in the future, the compiler will take precedence" >&2;}
 
25744
    { echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: present but cannot be compiled" >&5
 
25745
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: present but cannot be compiled" >&2;}
 
25746
    { echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h:     check for missing prerequisite headers?" >&5
 
25747
echo "$as_me: WARNING: ${nspr_dir}prtypes.h:     check for missing prerequisite headers?" >&2;}
 
25748
    { echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: see the Autoconf documentation" >&5
 
25749
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: see the Autoconf documentation" >&2;}
 
25750
    { echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h:     section \"Present But Cannot Be Compiled\"" >&5
 
25751
echo "$as_me: WARNING: ${nspr_dir}prtypes.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
25752
    { echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: proceeding with the preprocessor's result" >&5
 
25753
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: proceeding with the preprocessor's result" >&2;}
 
25754
    { echo "$as_me:$LINENO: WARNING: ${nspr_dir}prtypes.h: in the future, the compiler will take precedence" >&5
 
25755
echo "$as_me: WARNING: ${nspr_dir}prtypes.h: in the future, the compiler will take precedence" >&2;}
25065
25756
 
25066
25757
    ;;
25067
25758
esac
25068
 
{ echo "$as_me:$LINENO: checking for $(expr substr $nspr 2 99)prtypes.h" >&5
25069
 
echo $ECHO_N "checking for $(expr substr $nspr 2 99)prtypes.h... $ECHO_C" >&6; }
 
25759
{ echo "$as_me:$LINENO: checking for ${nspr_dir}prtypes.h" >&5
 
25760
echo $ECHO_N "checking for ${nspr_dir}prtypes.h... $ECHO_C" >&6; }
25070
25761
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25071
25762
  echo $ECHO_N "(cached) $ECHO_C" >&6
25072
25763
else
25078
25769
 
25079
25770
fi
25080
25771
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25081
 
  NSPR_CFLAGS="-I`if test -f /usr/include/"$(expr substr $nspr 2 99)prtypes.h"; then
25082
 
        echo /usr/include/"$(expr substr $nspr 2 99)"
 
25772
  NSPR_CFLAGS="-I`if test -f /usr/include/"${nspr_dir}prtypes.h"; then
 
25773
        echo /usr/include/"${nspr_dir}"
25083
25774
    else
25084
 
        echo /usr/local/include/"$(expr substr $nspr 2 99)"
 
25775
        echo /usr/local/include/"${nspr_dir}"
25085
25776
    fi
25086
25777
   `"
25087
25778
         NSPR_FOUND=y
25176
25867
 
25177
25868
 
25178
25869
fi
25179
 
 
25180
 
 
25181
 
if test "$browser_plugin" = yes; then
 
25870
 if test "$browser_plugin" = yes; then
25182
25871
  BROWSER_PLUGIN_TRUE=
25183
25872
  BROWSER_PLUGIN_FALSE='#'
25184
25873
else
25189
25878
 
25190
25879
 
25191
25880
pkg_failed=no
 
25881
{ echo "$as_me:$LINENO: checking for GTK2" >&5
 
25882
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
 
25883
 
 
25884
if test -n "$PKG_CONFIG"; then
 
25885
    if test -n "$GTK2_CFLAGS"; then
 
25886
        pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
 
25887
    else
 
25888
        if test -n "$PKG_CONFIG" && \
 
25889
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\"") >&5
 
25890
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8.0") 2>&5
 
25891
  ac_status=$?
 
25892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25893
  (exit $ac_status); }; then
 
25894
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8.0" 2>/dev/null`
 
25895
else
 
25896
  pkg_failed=yes
 
25897
fi
 
25898
    fi
 
25899
else
 
25900
        pkg_failed=untried
 
25901
fi
 
25902
if test -n "$PKG_CONFIG"; then
 
25903
    if test -n "$GTK2_LIBS"; then
 
25904
        pkg_cv_GTK2_LIBS="$GTK2_LIBS"
 
25905
    else
 
25906
        if test -n "$PKG_CONFIG" && \
 
25907
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\"") >&5
 
25908
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8.0") 2>&5
 
25909
  ac_status=$?
 
25910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25911
  (exit $ac_status); }; then
 
25912
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8.0" 2>/dev/null`
 
25913
else
 
25914
  pkg_failed=yes
 
25915
fi
 
25916
    fi
 
25917
else
 
25918
        pkg_failed=untried
 
25919
fi
 
25920
 
 
25921
 
 
25922
 
 
25923
if test $pkg_failed = yes; then
 
25924
 
 
25925
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
25926
        _pkg_short_errors_supported=yes
 
25927
else
 
25928
        _pkg_short_errors_supported=no
 
25929
fi
 
25930
        if test $_pkg_short_errors_supported = yes; then
 
25931
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8.0"`
 
25932
        else
 
25933
                GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8.0"`
 
25934
        fi
 
25935
        # Put the nasty error message in config.log where it belongs
 
25936
        echo "$GTK2_PKG_ERRORS" >&5
 
25937
 
 
25938
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.8.0) were not met:
 
25939
 
 
25940
$GTK2_PKG_ERRORS
 
25941
 
 
25942
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
25943
installed software in a non-standard prefix.
 
25944
 
 
25945
Alternatively, you may set the environment variables GTK2_CFLAGS
 
25946
and GTK2_LIBS to avoid the need to call pkg-config.
 
25947
See the pkg-config man page for more details.
 
25948
" >&5
 
25949
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.8.0) were not met:
 
25950
 
 
25951
$GTK2_PKG_ERRORS
 
25952
 
 
25953
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
25954
installed software in a non-standard prefix.
 
25955
 
 
25956
Alternatively, you may set the environment variables GTK2_CFLAGS
 
25957
and GTK2_LIBS to avoid the need to call pkg-config.
 
25958
See the pkg-config man page for more details.
 
25959
" >&2;}
 
25960
   { (exit 1); exit 1; }; }
 
25961
elif test $pkg_failed = untried; then
 
25962
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
25963
is in your PATH or set the PKG_CONFIG environment variable to the full
 
25964
path to pkg-config.
 
25965
 
 
25966
Alternatively, you may set the environment variables GTK2_CFLAGS
 
25967
and GTK2_LIBS to avoid the need to call pkg-config.
 
25968
See the pkg-config man page for more details.
 
25969
 
 
25970
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
25971
See \`config.log' for more details." >&5
 
25972
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
25973
is in your PATH or set the PKG_CONFIG environment variable to the full
 
25974
path to pkg-config.
 
25975
 
 
25976
Alternatively, you may set the environment variables GTK2_CFLAGS
 
25977
and GTK2_LIBS to avoid the need to call pkg-config.
 
25978
See the pkg-config man page for more details.
 
25979
 
 
25980
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
25981
See \`config.log' for more details." >&2;}
 
25982
   { (exit 1); exit 1; }; }
 
25983
else
 
25984
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
 
25985
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
 
25986
        { echo "$as_me:$LINENO: result: yes" >&5
 
25987
echo "${ECHO_T}yes" >&6; }
 
25988
        :
 
25989
fi
 
25990
 
 
25991
pkg_failed=no
25192
25992
{ echo "$as_me:$LINENO: checking for GLIB2" >&5
25193
25993
echo $ECHO_N "checking for GLIB2... $ECHO_C" >&6; }
25194
25994
 
25197
25997
        pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
25198
25998
    else
25199
25999
        if test -n "$PKG_CONFIG" && \
25200
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
25201
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
 
26000
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0\"") >&5
 
26001
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0") 2>&5
25202
26002
  ac_status=$?
25203
26003
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204
26004
  (exit $ac_status); }; then
25205
 
  pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.6.0" 2>/dev/null`
 
26005
  pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0" 2>/dev/null`
25206
26006
else
25207
26007
  pkg_failed=yes
25208
26008
fi
25215
26015
        pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
25216
26016
    else
25217
26017
        if test -n "$PKG_CONFIG" && \
25218
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6.0\"") >&5
25219
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6.0") 2>&5
 
26018
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0\"") >&5
 
26019
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0") 2>&5
25220
26020
  ac_status=$?
25221
26021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222
26022
  (exit $ac_status); }; then
25223
 
  pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.6.0" 2>/dev/null`
 
26023
  pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0" 2>/dev/null`
25224
26024
else
25225
26025
  pkg_failed=yes
25226
26026
fi
25239
26039
        _pkg_short_errors_supported=no
25240
26040
fi
25241
26041
        if test $_pkg_short_errors_supported = yes; then
25242
 
                GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.6.0"`
 
26042
                GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0"`
25243
26043
        else
25244
 
                GLIB2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.6.0"`
 
26044
                GLIB2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10.0"`
25245
26045
        fi
25246
26046
        # Put the nasty error message in config.log where it belongs
25247
26047
        echo "$GLIB2_PKG_ERRORS" >&5
25248
26048
 
25249
 
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
 
26049
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.10.0) were not met:
25250
26050
 
25251
26051
$GLIB2_PKG_ERRORS
25252
26052
 
25257
26057
and GLIB2_LIBS to avoid the need to call pkg-config.
25258
26058
See the pkg-config man page for more details.
25259
26059
" >&5
25260
 
echo "$as_me: error: Package requirements (glib-2.0 >= 2.6.0) were not met:
 
26060
echo "$as_me: error: Package requirements (glib-2.0 >= 2.10.0) were not met:
25261
26061
 
25262
26062
$GLIB2_PKG_ERRORS
25263
26063
 
25278
26078
and GLIB2_LIBS to avoid the need to call pkg-config.
25279
26079
See the pkg-config man page for more details.
25280
26080
 
25281
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
26081
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25282
26082
See \`config.log' for more details." >&5
25283
26083
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
25284
26084
is in your PATH or set the PKG_CONFIG environment variable to the full
25288
26088
and GLIB2_LIBS to avoid the need to call pkg-config.
25289
26089
See the pkg-config man page for more details.
25290
26090
 
25291
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
26091
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25292
26092
See \`config.log' for more details." >&2;}
25293
26093
   { (exit 1); exit 1; }; }
25294
26094
else
25298
26098
echo "${ECHO_T}yes" >&6; }
25299
26099
        :
25300
26100
fi
25301
 
    { echo "$as_me:$LINENO: result:   found version $(pkg-config --modversion glib-2.0)" >&5
25302
 
echo "${ECHO_T}  found version $(pkg-config --modversion glib-2.0)" >&6; }
25303
 
 
25304
 
 
25305
 
pkg_failed=no
25306
 
{ echo "$as_me:$LINENO: checking for GTK2" >&5
25307
 
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
25308
 
 
25309
 
if test -n "$PKG_CONFIG"; then
25310
 
    if test -n "$GTK2_CFLAGS"; then
25311
 
        pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
25312
 
    else
25313
 
        if test -n "$PKG_CONFIG" && \
25314
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\"") >&5
25315
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.0") 2>&5
25316
 
  ac_status=$?
25317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318
 
  (exit $ac_status); }; then
25319
 
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.6.0" 2>/dev/null`
25320
 
else
25321
 
  pkg_failed=yes
25322
 
fi
25323
 
    fi
25324
 
else
25325
 
        pkg_failed=untried
25326
 
fi
25327
 
if test -n "$PKG_CONFIG"; then
25328
 
    if test -n "$GTK2_LIBS"; then
25329
 
        pkg_cv_GTK2_LIBS="$GTK2_LIBS"
25330
 
    else
25331
 
        if test -n "$PKG_CONFIG" && \
25332
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\"") >&5
25333
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.0") 2>&5
25334
 
  ac_status=$?
25335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336
 
  (exit $ac_status); }; then
25337
 
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.6.0" 2>/dev/null`
25338
 
else
25339
 
  pkg_failed=yes
25340
 
fi
25341
 
    fi
25342
 
else
25343
 
        pkg_failed=untried
25344
 
fi
25345
 
 
25346
 
 
25347
 
 
25348
 
if test $pkg_failed = yes; then
25349
 
 
25350
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25351
 
        _pkg_short_errors_supported=yes
25352
 
else
25353
 
        _pkg_short_errors_supported=no
25354
 
fi
25355
 
        if test $_pkg_short_errors_supported = yes; then
25356
 
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"`
25357
 
        else
25358
 
                GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"`
25359
 
        fi
25360
 
        # Put the nasty error message in config.log where it belongs
25361
 
        echo "$GTK2_PKG_ERRORS" >&5
25362
 
 
25363
 
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met:
25364
 
 
25365
 
$GTK2_PKG_ERRORS
25366
 
 
25367
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
25368
 
installed software in a non-standard prefix.
25369
 
 
25370
 
Alternatively, you may set the environment variables GTK2_CFLAGS
25371
 
and GTK2_LIBS to avoid the need to call pkg-config.
25372
 
See the pkg-config man page for more details.
25373
 
" >&5
25374
 
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met:
25375
 
 
25376
 
$GTK2_PKG_ERRORS
25377
 
 
25378
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
25379
 
installed software in a non-standard prefix.
25380
 
 
25381
 
Alternatively, you may set the environment variables GTK2_CFLAGS
25382
 
and GTK2_LIBS to avoid the need to call pkg-config.
25383
 
See the pkg-config man page for more details.
25384
 
" >&2;}
25385
 
   { (exit 1); exit 1; }; }
25386
 
elif test $pkg_failed = untried; then
25387
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
25388
 
is in your PATH or set the PKG_CONFIG environment variable to the full
25389
 
path to pkg-config.
25390
 
 
25391
 
Alternatively, you may set the environment variables GTK2_CFLAGS
25392
 
and GTK2_LIBS to avoid the need to call pkg-config.
25393
 
See the pkg-config man page for more details.
25394
 
 
25395
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
25396
 
See \`config.log' for more details." >&5
25397
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
25398
 
is in your PATH or set the PKG_CONFIG environment variable to the full
25399
 
path to pkg-config.
25400
 
 
25401
 
Alternatively, you may set the environment variables GTK2_CFLAGS
25402
 
and GTK2_LIBS to avoid the need to call pkg-config.
25403
 
See the pkg-config man page for more details.
25404
 
 
25405
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
25406
 
See \`config.log' for more details." >&2;}
25407
 
   { (exit 1); exit 1; }; }
25408
 
else
25409
 
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
25410
 
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
25411
 
        { echo "$as_me:$LINENO: result: yes" >&5
25412
 
echo "${ECHO_T}yes" >&6; }
25413
 
        :
25414
 
fi
25415
 
    { echo "$as_me:$LINENO: result:   found version $(pkg-config --modversion gtk+-2.0)" >&5
25416
 
echo "${ECHO_T}  found version $(pkg-config --modversion gtk+-2.0)" >&6; }
25417
 
 
25418
26101
 
25419
26102
pkg_failed=no
25420
26103
{ echo "$as_me:$LINENO: checking for GTHREAD2" >&5
25425
26108
        pkg_cv_GTHREAD2_CFLAGS="$GTHREAD2_CFLAGS"
25426
26109
    else
25427
26110
        if test -n "$PKG_CONFIG" && \
25428
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.6.0\"") >&5
25429
 
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.6.0") 2>&5
 
26111
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.10.0\"") >&5
 
26112
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.10.0") 2>&5
25430
26113
  ac_status=$?
25431
26114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432
26115
  (exit $ac_status); }; then
25433
 
  pkg_cv_GTHREAD2_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= 2.6.0" 2>/dev/null`
 
26116
  pkg_cv_GTHREAD2_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= 2.10.0" 2>/dev/null`
25434
26117
else
25435
26118
  pkg_failed=yes
25436
26119
fi
25443
26126
        pkg_cv_GTHREAD2_LIBS="$GTHREAD2_LIBS"
25444
26127
    else
25445
26128
        if test -n "$PKG_CONFIG" && \
25446
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.6.0\"") >&5
25447
 
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.6.0") 2>&5
 
26129
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.10.0\"") >&5
 
26130
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.10.0") 2>&5
25448
26131
  ac_status=$?
25449
26132
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450
26133
  (exit $ac_status); }; then
25451
 
  pkg_cv_GTHREAD2_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= 2.6.0" 2>/dev/null`
 
26134
  pkg_cv_GTHREAD2_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= 2.10.0" 2>/dev/null`
25452
26135
else
25453
26136
  pkg_failed=yes
25454
26137
fi
25467
26150
        _pkg_short_errors_supported=no
25468
26151
fi
25469
26152
        if test $_pkg_short_errors_supported = yes; then
25470
 
                GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0 >= 2.6.0"`
 
26153
                GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0 >= 2.10.0"`
25471
26154
        else
25472
 
                GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0 >= 2.6.0"`
 
26155
                GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0 >= 2.10.0"`
25473
26156
        fi
25474
26157
        # Put the nasty error message in config.log where it belongs
25475
26158
        echo "$GTHREAD2_PKG_ERRORS" >&5
25476
26159
 
25477
 
        { { echo "$as_me:$LINENO: error: Package requirements (gthread-2.0 >= 2.6.0) were not met:
 
26160
        { { echo "$as_me:$LINENO: error: Package requirements (gthread-2.0 >= 2.10.0) were not met:
25478
26161
 
25479
26162
$GTHREAD2_PKG_ERRORS
25480
26163
 
25485
26168
and GTHREAD2_LIBS to avoid the need to call pkg-config.
25486
26169
See the pkg-config man page for more details.
25487
26170
" >&5
25488
 
echo "$as_me: error: Package requirements (gthread-2.0 >= 2.6.0) were not met:
 
26171
echo "$as_me: error: Package requirements (gthread-2.0 >= 2.10.0) were not met:
25489
26172
 
25490
26173
$GTHREAD2_PKG_ERRORS
25491
26174
 
25506
26189
and GTHREAD2_LIBS to avoid the need to call pkg-config.
25507
26190
See the pkg-config man page for more details.
25508
26191
 
25509
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
26192
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25510
26193
See \`config.log' for more details." >&5
25511
26194
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
25512
26195
is in your PATH or set the PKG_CONFIG environment variable to the full
25516
26199
and GTHREAD2_LIBS to avoid the need to call pkg-config.
25517
26200
See the pkg-config man page for more details.
25518
26201
 
25519
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
26202
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25520
26203
See \`config.log' for more details." >&2;}
25521
26204
   { (exit 1); exit 1; }; }
25522
26205
else
25526
26209
echo "${ECHO_T}yes" >&6; }
25527
26210
        :
25528
26211
fi
25529
 
    { echo "$as_me:$LINENO: result:   found version $(pkg-config --modversion gthread-2.0)" >&5
25530
 
echo "${ECHO_T}  found version $(pkg-config --modversion gthread-2.0)" >&6; }
25531
 
 
25532
 
if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.12.0\"") >&5
25533
 
  ($PKG_CONFIG --exists --print-errors "pango >= 1.12.0") 2>&5
25534
 
  ac_status=$?
25535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536
 
  (exit $ac_status); }; then
25537
 
  :
25538
 
else
25539
 
  { echo "$as_me:$LINENO: WARNING: you have libpango older than 1.12.0 - text containing invalid UTF-8 may not be displayed" >&5
25540
 
echo "$as_me: WARNING: you have libpango older than 1.12.0 - text containing invalid UTF-8 may not be displayed" >&2;}
 
26212
 
 
26213
pkg_failed=no
 
26214
{ echo "$as_me:$LINENO: checking for PANGO" >&5
 
26215
echo $ECHO_N "checking for PANGO... $ECHO_C" >&6; }
 
26216
 
 
26217
if test -n "$PKG_CONFIG"; then
 
26218
    if test -n "$PANGO_CFLAGS"; then
 
26219
        pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
 
26220
    else
 
26221
        if test -n "$PKG_CONFIG" && \
 
26222
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.12.0\"") >&5
 
26223
  ($PKG_CONFIG --exists --print-errors "pango >= 1.12.0") 2>&5
 
26224
  ac_status=$?
 
26225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26226
  (exit $ac_status); }; then
 
26227
  pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= 1.12.0" 2>/dev/null`
 
26228
else
 
26229
  pkg_failed=yes
 
26230
fi
 
26231
    fi
 
26232
else
 
26233
        pkg_failed=untried
 
26234
fi
 
26235
if test -n "$PKG_CONFIG"; then
 
26236
    if test -n "$PANGO_LIBS"; then
 
26237
        pkg_cv_PANGO_LIBS="$PANGO_LIBS"
 
26238
    else
 
26239
        if test -n "$PKG_CONFIG" && \
 
26240
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.12.0\"") >&5
 
26241
  ($PKG_CONFIG --exists --print-errors "pango >= 1.12.0") 2>&5
 
26242
  ac_status=$?
 
26243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26244
  (exit $ac_status); }; then
 
26245
  pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= 1.12.0" 2>/dev/null`
 
26246
else
 
26247
  pkg_failed=yes
 
26248
fi
 
26249
    fi
 
26250
else
 
26251
        pkg_failed=untried
 
26252
fi
 
26253
 
 
26254
 
 
26255
 
 
26256
if test $pkg_failed = yes; then
 
26257
 
 
26258
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
26259
        _pkg_short_errors_supported=yes
 
26260
else
 
26261
        _pkg_short_errors_supported=no
 
26262
fi
 
26263
        if test $_pkg_short_errors_supported = yes; then
 
26264
                PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pango >= 1.12.0"`
 
26265
        else
 
26266
                PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pango >= 1.12.0"`
 
26267
        fi
 
26268
        # Put the nasty error message in config.log where it belongs
 
26269
        echo "$PANGO_PKG_ERRORS" >&5
 
26270
 
 
26271
        { { echo "$as_me:$LINENO: error: Package requirements (pango >= 1.12.0) were not met:
 
26272
 
 
26273
$PANGO_PKG_ERRORS
 
26274
 
 
26275
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
26276
installed software in a non-standard prefix.
 
26277
 
 
26278
Alternatively, you may set the environment variables PANGO_CFLAGS
 
26279
and PANGO_LIBS to avoid the need to call pkg-config.
 
26280
See the pkg-config man page for more details.
 
26281
" >&5
 
26282
echo "$as_me: error: Package requirements (pango >= 1.12.0) were not met:
 
26283
 
 
26284
$PANGO_PKG_ERRORS
 
26285
 
 
26286
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
26287
installed software in a non-standard prefix.
 
26288
 
 
26289
Alternatively, you may set the environment variables PANGO_CFLAGS
 
26290
and PANGO_LIBS to avoid the need to call pkg-config.
 
26291
See the pkg-config man page for more details.
 
26292
" >&2;}
 
26293
   { (exit 1); exit 1; }; }
 
26294
elif test $pkg_failed = untried; then
 
26295
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
26296
is in your PATH or set the PKG_CONFIG environment variable to the full
 
26297
path to pkg-config.
 
26298
 
 
26299
Alternatively, you may set the environment variables PANGO_CFLAGS
 
26300
and PANGO_LIBS to avoid the need to call pkg-config.
 
26301
See the pkg-config man page for more details.
 
26302
 
 
26303
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
26304
See \`config.log' for more details." >&5
 
26305
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
26306
is in your PATH or set the PKG_CONFIG environment variable to the full
 
26307
path to pkg-config.
 
26308
 
 
26309
Alternatively, you may set the environment variables PANGO_CFLAGS
 
26310
and PANGO_LIBS to avoid the need to call pkg-config.
 
26311
See the pkg-config man page for more details.
 
26312
 
 
26313
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
26314
See \`config.log' for more details." >&2;}
 
26315
   { (exit 1); exit 1; }; }
 
26316
else
 
26317
        PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
 
26318
        PANGO_LIBS=$pkg_cv_PANGO_LIBS
 
26319
        { echo "$as_me:$LINENO: result: yes" >&5
 
26320
echo "${ECHO_T}yes" >&6; }
 
26321
        :
25541
26322
fi
25542
26323
saved_CFLAGS="$CFLAGS"
25543
26324
saved_LIBS="$LIBS"
25614
26395
CFLAGS="$saved_CFLAGS"
25615
26396
LIBS="$saved_LIBS"
25616
26397
 
 
26398
 
 
26399
 
 
26400
# Check whether --with-hal was given.
 
26401
if test "${with_hal+set}" = set; then
 
26402
  withval=$with_hal; requested=Y
 
26403
else
 
26404
  requested=N
 
26405
fi
 
26406
 
 
26407
if test "x$with_hal" != 'xno'; then
 
26408
  with_hal=yes
 
26409
  if test "x$requested" = "xY"; then
 
26410
 
 
26411
pkg_failed=no
 
26412
{ echo "$as_me:$LINENO: checking for HAL" >&5
 
26413
echo $ECHO_N "checking for HAL... $ECHO_C" >&6; }
 
26414
 
 
26415
if test -n "$PKG_CONFIG"; then
 
26416
    if test -n "$HAL_CFLAGS"; then
 
26417
        pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
 
26418
    else
 
26419
        if test -n "$PKG_CONFIG" && \
 
26420
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
 
26421
  ($PKG_CONFIG --exists --print-errors "hal") 2>&5
 
26422
  ac_status=$?
 
26423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26424
  (exit $ac_status); }; then
 
26425
  pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
 
26426
else
 
26427
  pkg_failed=yes
 
26428
fi
 
26429
    fi
 
26430
else
 
26431
        pkg_failed=untried
 
26432
fi
 
26433
if test -n "$PKG_CONFIG"; then
 
26434
    if test -n "$HAL_LIBS"; then
 
26435
        pkg_cv_HAL_LIBS="$HAL_LIBS"
 
26436
    else
 
26437
        if test -n "$PKG_CONFIG" && \
 
26438
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
 
26439
  ($PKG_CONFIG --exists --print-errors "hal") 2>&5
 
26440
  ac_status=$?
 
26441
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26442
  (exit $ac_status); }; then
 
26443
  pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal" 2>/dev/null`
 
26444
else
 
26445
  pkg_failed=yes
 
26446
fi
 
26447
    fi
 
26448
else
 
26449
        pkg_failed=untried
 
26450
fi
 
26451
 
 
26452
 
 
26453
 
 
26454
if test $pkg_failed = yes; then
 
26455
 
 
26456
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
26457
        _pkg_short_errors_supported=yes
 
26458
else
 
26459
        _pkg_short_errors_supported=no
 
26460
fi
 
26461
        if test $_pkg_short_errors_supported = yes; then
 
26462
                HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal"`
 
26463
        else
 
26464
                HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal"`
 
26465
        fi
 
26466
        # Put the nasty error message in config.log where it belongs
 
26467
        echo "$HAL_PKG_ERRORS" >&5
 
26468
 
 
26469
        { { echo "$as_me:$LINENO: error: Package requirements (hal) were not met:
 
26470
 
 
26471
$HAL_PKG_ERRORS
 
26472
 
 
26473
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
26474
installed software in a non-standard prefix.
 
26475
 
 
26476
Alternatively, you may set the environment variables HAL_CFLAGS
 
26477
and HAL_LIBS to avoid the need to call pkg-config.
 
26478
See the pkg-config man page for more details.
 
26479
" >&5
 
26480
echo "$as_me: error: Package requirements (hal) were not met:
 
26481
 
 
26482
$HAL_PKG_ERRORS
 
26483
 
 
26484
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
26485
installed software in a non-standard prefix.
 
26486
 
 
26487
Alternatively, you may set the environment variables HAL_CFLAGS
 
26488
and HAL_LIBS to avoid the need to call pkg-config.
 
26489
See the pkg-config man page for more details.
 
26490
" >&2;}
 
26491
   { (exit 1); exit 1; }; }
 
26492
elif test $pkg_failed = untried; then
 
26493
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
26494
is in your PATH or set the PKG_CONFIG environment variable to the full
 
26495
path to pkg-config.
 
26496
 
 
26497
Alternatively, you may set the environment variables HAL_CFLAGS
 
26498
and HAL_LIBS to avoid the need to call pkg-config.
 
26499
See the pkg-config man page for more details.
 
26500
 
 
26501
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
26502
See \`config.log' for more details." >&5
 
26503
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
26504
is in your PATH or set the PKG_CONFIG environment variable to the full
 
26505
path to pkg-config.
 
26506
 
 
26507
Alternatively, you may set the environment variables HAL_CFLAGS
 
26508
and HAL_LIBS to avoid the need to call pkg-config.
 
26509
See the pkg-config man page for more details.
 
26510
 
 
26511
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
26512
See \`config.log' for more details." >&2;}
 
26513
   { (exit 1); exit 1; }; }
 
26514
else
 
26515
        HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
 
26516
        HAL_LIBS=$pkg_cv_HAL_LIBS
 
26517
        { echo "$as_me:$LINENO: result: yes" >&5
 
26518
echo "${ECHO_T}yes" >&6; }
 
26519
        :
 
26520
fi
 
26521
  else
 
26522
 
 
26523
pkg_failed=no
 
26524
{ echo "$as_me:$LINENO: checking for HAL" >&5
 
26525
echo $ECHO_N "checking for HAL... $ECHO_C" >&6; }
 
26526
 
 
26527
if test -n "$PKG_CONFIG"; then
 
26528
    if test -n "$HAL_CFLAGS"; then
 
26529
        pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
 
26530
    else
 
26531
        if test -n "$PKG_CONFIG" && \
 
26532
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
 
26533
  ($PKG_CONFIG --exists --print-errors "hal") 2>&5
 
26534
  ac_status=$?
 
26535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26536
  (exit $ac_status); }; then
 
26537
  pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
 
26538
else
 
26539
  pkg_failed=yes
 
26540
fi
 
26541
    fi
 
26542
else
 
26543
        pkg_failed=untried
 
26544
fi
 
26545
if test -n "$PKG_CONFIG"; then
 
26546
    if test -n "$HAL_LIBS"; then
 
26547
        pkg_cv_HAL_LIBS="$HAL_LIBS"
 
26548
    else
 
26549
        if test -n "$PKG_CONFIG" && \
 
26550
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
 
26551
  ($PKG_CONFIG --exists --print-errors "hal") 2>&5
 
26552
  ac_status=$?
 
26553
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
26554
  (exit $ac_status); }; then
 
26555
  pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal" 2>/dev/null`
 
26556
else
 
26557
  pkg_failed=yes
 
26558
fi
 
26559
    fi
 
26560
else
 
26561
        pkg_failed=untried
 
26562
fi
 
26563
 
 
26564
 
 
26565
 
 
26566
if test $pkg_failed = yes; then
 
26567
 
 
26568
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
26569
        _pkg_short_errors_supported=yes
 
26570
else
 
26571
        _pkg_short_errors_supported=no
 
26572
fi
 
26573
        if test $_pkg_short_errors_supported = yes; then
 
26574
                HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal"`
 
26575
        else
 
26576
                HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal"`
 
26577
        fi
 
26578
        # Put the nasty error message in config.log where it belongs
 
26579
        echo "$HAL_PKG_ERRORS" >&5
 
26580
 
 
26581
        { echo "$as_me:$LINENO: result: no" >&5
 
26582
echo "${ECHO_T}no" >&6; }
 
26583
                with_hal=no; { echo "$as_me:$LINENO: result: no" >&5
 
26584
echo "${ECHO_T}no" >&6; }
 
26585
elif test $pkg_failed = untried; then
 
26586
        with_hal=no; { echo "$as_me:$LINENO: result: no" >&5
 
26587
echo "${ECHO_T}no" >&6; }
 
26588
else
 
26589
        HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
 
26590
        HAL_LIBS=$pkg_cv_HAL_LIBS
 
26591
        { echo "$as_me:$LINENO: result: yes" >&5
 
26592
echo "${ECHO_T}yes" >&6; }
 
26593
        :
 
26594
fi
 
26595
  fi
 
26596
fi
 
26597
if test "$with_hal" = yes; then
 
26598
 
 
26599
cat >>confdefs.h <<\_ACEOF
 
26600
#define WITH_HAL 1
 
26601
_ACEOF
 
26602
 
 
26603
  { echo "$as_me:$LINENO: checking how to acquire device info via HAL" >&5
 
26604
echo $ECHO_N "checking how to acquire device info via HAL... $ECHO_C" >&6; }
 
26605
    HAL_DEVICE_FILE_PROPERTY=''
 
26606
    HAL_DEVICE_FILE_PREFIX=''
 
26607
    case "$build_os" in
 
26608
      linux-*)
 
26609
        HAL_DEVICE_FILE_PROPERTY=linux.device_file
 
26610
        ;;
 
26611
      solaris2.*)
 
26612
        HAL_DEVICE_FILE_PROPERTY=solaris.devfs_path
 
26613
        HAL_DEVICE_FILE_PREFIX=/devices/
 
26614
        ;;
 
26615
    esac
 
26616
    { echo "$as_me:$LINENO: result: \"$HAL_DEVICE_FILE_PROPERTY\", prefix \"$HAL_DEVICE_FILE_PREFIX\"" >&5
 
26617
echo "${ECHO_T}\"$HAL_DEVICE_FILE_PROPERTY\", prefix \"$HAL_DEVICE_FILE_PREFIX\"" >&6; }
 
26618
    if test "$HAL_DEVICE_FILE_PROPERTY" = ''; then
 
26619
      { echo "$as_me:$LINENO: WARNING: I don't know how to get HAL path info for $build_os." >&5
 
26620
echo "$as_me: WARNING: I don't know how to get HAL path info for $build_os." >&2;}
 
26621
      { echo "$as_me:$LINENO: WARNING: You won't see some info when viewing/selecting default devices." >&5
 
26622
echo "$as_me: WARNING: You won't see some info when viewing/selecting default devices." >&2;}
 
26623
    else
 
26624
 
 
26625
cat >>confdefs.h <<_ACEOF
 
26626
#define HAL_DEVICE_FILE_PROPERTY "$HAL_DEVICE_FILE_PROPERTY"
 
26627
_ACEOF
 
26628
 
 
26629
      if test "$HAL_DEVICE_FILE_PREFIX" != ''; then
 
26630
 
 
26631
cat >>confdefs.h <<_ACEOF
 
26632
#define HAL_DEVICE_FILE_PREFIX "$HAL_DEVICE_FILE_PREFIX"
 
26633
_ACEOF
 
26634
 
 
26635
      fi
 
26636
    fi
 
26637
 
 
26638
fi
 
26639
 
25617
26640
# Extract the first word of "gnome-screensaver-command", so it can be a program name with args.
25618
26641
set dummy gnome-screensaver-command; ac_word=$2
25619
26642
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25757
26780
and DBUS_LIBS to avoid the need to call pkg-config.
25758
26781
See the pkg-config man page for more details.
25759
26782
 
25760
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
26783
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25761
26784
See \`config.log' for more details." >&5
25762
26785
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
25763
26786
is in your PATH or set the PKG_CONFIG environment variable to the full
25767
26790
and DBUS_LIBS to avoid the need to call pkg-config.
25768
26791
See the pkg-config man page for more details.
25769
26792
 
25770
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
26793
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25771
26794
See \`config.log' for more details." >&2;}
25772
26795
   { (exit 1); exit 1; }; }
25773
26796
else
26037
27060
  ac_have_dpms=no
26038
27061
fi
26039
27062
 
26040
 
 
26041
 
 
26042
 
if test $ac_have_dpms = yes; then
 
27063
 if test $ac_have_dpms = yes; then
26043
27064
  HAVE_DPMS_EXTENSION_TRUE=
26044
27065
  HAVE_DPMS_EXTENSION_FALSE='#'
26045
27066
else
26048
27069
fi
26049
27070
 
26050
27071
 
 
27072
ac_have_xtest=no
26051
27073
# Check whether --enable-defeat-screensaver-via-xtest was given.
26052
27074
if test "${enable_defeat_screensaver_via_xtest+set}" = set; then
26053
27075
  enableval=$enable_defeat_screensaver_via_xtest; if test "x$enableval" = xno; then xtest=no; else xtest=yes; fi
26055
27077
  xtest=no
26056
27078
fi
26057
27079
 
26058
 
if test "$xtest" = yes; then
 
27080
if test "x$xtest" != xno; then
26059
27081
  XTEST_LIBS=''
26060
27082
  { echo "$as_me:$LINENO: checking for XTestFakeKeyEvent in -lXtst" >&5
26061
27083
echo $ECHO_N "checking for XTestFakeKeyEvent in -lXtst... $ECHO_C" >&6; }
26264
27286
else
26265
27287
  ac_have_xtest=no
26266
27288
fi
26267
 
 
26268
 
 
26269
 
if test $ac_have_xtest = yes; then
 
27289
 if test $ac_have_xtest = yes; then
26270
27290
  HAVE_XTESTEXTENSION_TRUE=
26271
27291
  HAVE_XTESTEXTENSION_FALSE='#'
26272
27292
else
26286
27306
if test "x$with_xinerama" != "xno"; then
26287
27307
  saved_CFLAGS="$CFLAGS"
26288
27308
  saved_LIBS="$LIBS"
26289
 
  CFLAGS="$CFLAGS $GTK2_CFLAGS"
 
27309
  CFLAGS="$CFLAGS $X_CFLAGS $GTK2_CFLAGS"
26290
27310
  ac_have_xinerama=yes
 
27311
  XINERAMA_LIBS=''
26291
27312
  { echo "$as_me:$LINENO: checking for XineramaQueryExtension in -lXinerama" >&5
26292
27313
echo $ECHO_N "checking for XineramaQueryExtension in -lXinerama... $ECHO_C" >&6; }
26293
27314
if test "${ac_cv_lib_Xinerama_XineramaQueryExtension+set}" = set; then
26476
27497
 
26477
27498
fi
26478
27499
if test $ac_cv_header_X11_extensions_Xinerama_h = yes; then
 
27500
  XINERAMA_LIBS=-lXinerama
26479
27501
 
26480
27502
cat >>confdefs.h <<\_ACEOF
26481
27503
#define HAVE_XINERAMA
26490
27512
  ac_have_xinerama=no
26491
27513
fi
26492
27514
 
 
27515
 
26493
27516
  test $requested = Y && test $ac_have_xinerama = no &&
26494
27517
        { { echo "$as_me:$LINENO: error: xinerama was requested but not found" >&5
26495
27518
echo "$as_me: error: xinerama was requested but not found" >&2;}
26499
27522
else
26500
27523
  ac_have_xinerama=no
26501
27524
fi
26502
 
 
26503
 
 
26504
 
if test $ac_have_xinerama = yes; then
 
27525
 if test $ac_have_xinerama = yes; then
26505
27526
  HAVE_XINERAMA_TRUE=
26506
27527
  HAVE_XINERAMA_FALSE='#'
26507
27528
else
26512
27533
 
26513
27534
saved_CFLAGS="$CFLAGS"
26514
27535
saved_LIBS="$LIBS"
26515
 
CFLAGS="$CFLAGS $GTK2_CFLAGS"
 
27536
CFLAGS="$CFLAGS $X_CFLAGS $GTK2_CFLAGS"
26516
27537
{ echo "$as_me:$LINENO: checking for XRRQueryExtension in -lXrandr" >&5
26517
27538
echo $ECHO_N "checking for XRRQueryExtension in -lXrandr... $ECHO_C" >&6; }
26518
27539
if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then
26587
27608
 
26588
27609
CFLAGS="$saved_CFLAGS"
26589
27610
LIBS="$saved_LIBS"
26590
 
 
26591
 
 
26592
 
if test x$ac_have_xrandr = "xyes"; then
 
27611
 if test x$ac_have_xrandr = "xyes"; then
26593
27612
  HAVE_XRANDR_TRUE=
26594
27613
  HAVE_XRANDR_FALSE='#'
26595
27614
else
26838
27857
fi
26839
27858
 
26840
27859
 
 
27860
  ac_ext=c
 
27861
ac_cpp='$CPP $CPPFLAGS'
 
27862
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
27863
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
27864
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
27865
 
 
27866
 
26841
27867
  if test x$xine_config_exec_prefix != x ; then
26842
27868
     xine_config_args="$xine_config_args --exec-prefix=$xine_config_exec_prefix"
26843
27869
     if test x${XINE_CONFIG+set} != xset ; then
26851
27877
     fi
26852
27878
  fi
26853
27879
 
26854
 
  min_xine_version=1.0.1
 
27880
  min_xine_version=$XINE_LIB_MIN_VER
26855
27881
  if test "x$enable_xinetest" != "xyes" ; then
26856
27882
    { echo "$as_me:$LINENO: checking for XINE-LIB version >= $min_xine_version" >&5
26857
27883
echo $ECHO_N "checking for XINE-LIB version >= $min_xine_version... $ECHO_C" >&6; }
26968
27994
      XINE_LIBS=`$XINE_CONFIG $xine_config_args --libs`
26969
27995
      XINE_ACFLAGS=`$XINE_CONFIG $xine_config_args --acflags`
26970
27996
      xine_config_major_version=`$XINE_CONFIG $xine_config_args --version | \
26971
 
             sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
27997
             sed -n 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*$/\1/p'`
26972
27998
      xine_config_minor_version=`$XINE_CONFIG $xine_config_args --version | \
26973
 
             sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
27999
             sed -n 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*$/\2/p'`
26974
28000
      xine_config_sub_version=`$XINE_CONFIG $xine_config_args --version | \
26975
 
             sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
28001
             sed -n 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*$/\3/p'`
26976
28002
      xine_data_dir=`$XINE_CONFIG $xine_config_args --datadir`
26977
28003
      xine_script_dir=`$XINE_CONFIG $xine_config_args --scriptdir`
26978
28004
      xine_plugin_dir=`$XINE_CONFIG $xine_config_args --plugindir`
26981
28007
      ac_save_LIBS="$LIBS"
26982
28008
      CFLAGS="$CFLAGS $XINE_CFLAGS"
26983
28009
      LIBS="$XINE_LIBS $LIBS"
26984
 
 
26985
 
      ac_ext=c
26986
 
ac_cpp='$CPP $CPPFLAGS'
26987
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26988
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26989
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
26990
 
 
26991
28010
      rm -f conf.xinetest
26992
28011
      if test "$cross_compiling" = yes; then
26993
28012
  echo $ac_n "cross compiling; assumed OK... $ac_c"
27440
28459
 
27441
28460
LIB_PACKAGE="libxine`echo '#define ENABLE_NLS
27442
28461
  #include <xine/xine_internal.h>
27443
 
  XINE_MAJOR_VERSION' | $CPP $CPPFLAGS - | sed -e '$! d; s/^ \+//'`"
27444
 
if test "$LIB_PACKAGE" = ''; then
 
28462
  XINE_MAJOR_VERSION' | $CPP $CPPFLAGS $XINE_CFLAGS - | sed -e '$!d; s/^ \+//'`" 2>/dev/null
 
28463
if test "$LIB_PACKAGE" = 'libxine'; then
27445
28464
  { { echo "$as_me:$LINENO: error: Couldn't determine xine-lib's text domain name" >&5
27446
28465
echo "$as_me: error: Couldn't determine xine-lib's text domain name" >&2;}
27447
28466
   { (exit 1); exit 1; }; }
27887
28906
fi
27888
28907
 
27889
28908
 
27890
 
 
27891
 
 
27892
 
if test x"$ac_getopt_long" = "xyes"; then
 
28909
 if test x"$ac_getopt_long" = "xyes"; then
27893
28910
  HAVE_GETOPT_LONG_TRUE=
27894
28911
  HAVE_GETOPT_LONG_FALSE='#'
27895
28912
else
27900
28917
 
27901
28918
 
27902
28919
 
 
28920
if test x"$with_xcb" != xno; then
 
28921
  { echo "$as_me:$LINENO: checking whether to enable workaround for libXi deadlock on Solaris" >&5
 
28922
echo $ECHO_N "checking whether to enable workaround for libXi deadlock on Solaris... $ECHO_C" >&6; }
 
28923
  # Check whether --enable-sun-xlib-workaround was given.
 
28924
if test "${enable_sun_xlib_workaround+set}" = set; then
 
28925
  enableval=$enable_sun_xlib_workaround; if test "$enableval" = no; then sun_xlib_workaround=no; else sun_xlib_workaround=yes; fi
 
28926
else
 
28927
  sun_xlib_workaround=no
 
28928
fi
 
28929
 
 
28930
  if test "$sun_xlib_workaround" = yes; then
 
28931
 
 
28932
cat >>confdefs.h <<\_ACEOF
 
28933
#define USE_SUN_XLIB_WORKAROUND 1
 
28934
_ACEOF
 
28935
 
 
28936
  fi
 
28937
  { echo "$as_me:$LINENO: result: $sun_xlib_workaround" >&5
 
28938
echo "${ECHO_T}$sun_xlib_workaround" >&6; }
 
28939
fi
 
28940
 
27903
28941
{ echo "$as_me:$LINENO: checking whether to enable the watchdog (will abort gxine if it hangs)" >&5
27904
28942
echo $ECHO_N "checking whether to enable the watchdog (will abort gxine if it hangs)... $ECHO_C" >&6; }
27905
28943
# Check whether --enable-watchdog was given.
27976
29014
{ echo "$as_me:$LINENO: result: $deprecated" >&5
27977
29015
echo "${ECHO_T}$deprecated" >&6; }
27978
29016
 
 
29017
if test "$deprecated" = yes; then
 
29018
  { echo "$as_me:$LINENO: checking whether to include obsolete features" >&5
 
29019
echo $ECHO_N "checking whether to include obsolete features... $ECHO_C" >&6; }
 
29020
  # Check whether --enable-obsolete was given.
 
29021
if test "${enable_obsolete+set}" = set; then
 
29022
  enableval=$enable_obsolete; if test "$enableval" != yes; then obsolete=no; else obsolete=yes; fi
 
29023
else
 
29024
  obsolete=no
 
29025
fi
 
29026
 
 
29027
  if test "$obsolete" = yes; then
 
29028
 
 
29029
cat >>confdefs.h <<\_ACEOF
 
29030
#define WITH_OBSOLETE 1
 
29031
_ACEOF
 
29032
 
 
29033
  fi
 
29034
  { echo "$as_me:$LINENO: result: $obsolete" >&5
 
29035
echo "${ECHO_T}$obsolete" >&6; }
 
29036
fi
 
29037
 
27979
29038
 
27980
29039
if test "${enable_lock_debugging+set}" = set; then
27981
29040
  if test "$enable_lock_debugging" = yes; then
28008
29067
 
28009
29068
 
28010
29069
 
 
29070
 
 
29071
OPTIPNG=''
 
29072
# Extract the first word of "rsvg", so it can be a program name with args.
 
29073
set dummy rsvg; ac_word=$2
 
29074
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
29075
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
29076
if test "${ac_cv_path_RSVG+set}" = set; then
 
29077
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29078
else
 
29079
  case $RSVG in
 
29080
  [\\/]* | ?:[\\/]*)
 
29081
  ac_cv_path_RSVG="$RSVG" # Let the user override the test with a path.
 
29082
  ;;
 
29083
  *)
 
29084
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
29085
for as_dir in $PATH
 
29086
do
 
29087
  IFS=$as_save_IFS
 
29088
  test -z "$as_dir" && as_dir=.
 
29089
  for ac_exec_ext in '' $ac_executable_extensions; do
 
29090
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
29091
    ac_cv_path_RSVG="$as_dir/$ac_word$ac_exec_ext"
 
29092
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
29093
    break 2
 
29094
  fi
 
29095
done
 
29096
done
 
29097
IFS=$as_save_IFS
 
29098
 
 
29099
  ;;
 
29100
esac
 
29101
fi
 
29102
RSVG=$ac_cv_path_RSVG
 
29103
if test -n "$RSVG"; then
 
29104
  { echo "$as_me:$LINENO: result: $RSVG" >&5
 
29105
echo "${ECHO_T}$RSVG" >&6; }
 
29106
else
 
29107
  { echo "$as_me:$LINENO: result: no" >&5
 
29108
echo "${ECHO_T}no" >&6; }
 
29109
fi
 
29110
 
 
29111
 
 
29112
if test "x$RSVG" != x; then
 
29113
  # Extract the first word of "optipng", so it can be a program name with args.
 
29114
set dummy optipng; ac_word=$2
 
29115
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
29116
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
29117
if test "${ac_cv_path_OPTIPNG+set}" = set; then
 
29118
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
29119
else
 
29120
  case $OPTIPNG in
 
29121
  [\\/]* | ?:[\\/]*)
 
29122
  ac_cv_path_OPTIPNG="$OPTIPNG" # Let the user override the test with a path.
 
29123
  ;;
 
29124
  *)
 
29125
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
29126
for as_dir in $PATH
 
29127
do
 
29128
  IFS=$as_save_IFS
 
29129
  test -z "$as_dir" && as_dir=.
 
29130
  for ac_exec_ext in '' $ac_executable_extensions; do
 
29131
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
29132
    ac_cv_path_OPTIPNG="$as_dir/$ac_word$ac_exec_ext"
 
29133
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
29134
    break 2
 
29135
  fi
 
29136
done
 
29137
done
 
29138
IFS=$as_save_IFS
 
29139
 
 
29140
  ;;
 
29141
esac
 
29142
fi
 
29143
OPTIPNG=$ac_cv_path_OPTIPNG
 
29144
if test -n "$OPTIPNG"; then
 
29145
  { echo "$as_me:$LINENO: result: $OPTIPNG" >&5
 
29146
echo "${ECHO_T}$OPTIPNG" >&6; }
 
29147
else
 
29148
  { echo "$as_me:$LINENO: result: no" >&5
 
29149
echo "${ECHO_T}no" >&6; }
 
29150
fi
 
29151
 
 
29152
 
 
29153
fi
 
29154
 if test "x$RSVG" != x; then
 
29155
  MAKE_PNG_TRUE=
 
29156
  MAKE_PNG_FALSE='#'
 
29157
else
 
29158
  MAKE_PNG_TRUE='#'
 
29159
  MAKE_PNG_FALSE=
 
29160
fi
 
29161
 
 
29162
 if test "x$OPTIPNG" != x; then
 
29163
  OPTIMISE_PNG_TRUE=
 
29164
  OPTIMISE_PNG_FALSE='#'
 
29165
else
 
29166
  OPTIMISE_PNG_TRUE='#'
 
29167
  OPTIMISE_PNG_FALSE=
 
29168
fi
 
29169
 
 
29170
 
 
29171
 
28011
29172
GXINE_PLUGINDIR="$libdir/gxine"
28012
29173
eval GXINE_PLUGINPATH=`eval echo "$GXINE_PLUGINDIR"`
28013
29174
 
28084
29245
 
28085
29246
 
28086
29247
POST_VERSION=release
28087
 
if test -d .hg || expr "$(basename "$(pwd)")" : 'gxine-[0123456789abcdef]\{12\}$' >/dev/null; then
 
29248
PWD="`pwd`"
 
29249
if test -d .hg || expr "`basename $PWD`" : 'gxine-[0123456789abcdef]\{12\}$' >/dev/null; then
28088
29250
  POST_VERSION='hg snapshot'
28089
29251
elif test -d CVS; then
28090
29252
  POST_VERSION='CVS snapshot'
28100
29262
_ACEOF
28101
29263
 
28102
29264
 
28103
 
ac_config_files="$ac_config_files Makefile src/Makefile browser-plugin/Makefile pixmaps/Makefile doc/Makefile doc/man/Makefile doc/man/de/Makefile doc/man/en/Makefile include/Makefile m4/Makefile misc/Makefile misc/build_rpms.sh misc/gxine.spec misc/po/Makefile.in po/Makefile.in"
 
29265
MANLINGUAS="de en es"
 
29266
 
 
29267
ac_config_files="$ac_config_files Makefile src/Makefile browser-plugin/Makefile pixmaps/Makefile doc/Makefile doc/man/Makefile doc/man/de/Makefile doc/man/en/Makefile doc/man/es/Makefile include/Makefile m4/Makefile m4/gettext/Makefile misc/Makefile misc/build_rpms.sh misc/gxine.spec misc/po/Makefile.in po/Makefile.in"
28104
29268
 
28105
29269
 
28106
29270
ac_config_commands="$ac_config_commands default"
28229
29393
Usually this means the macro was only invoked conditionally." >&2;}
28230
29394
   { (exit 1); exit 1; }; }
28231
29395
fi
 
29396
if test -z "${WITH_XCB_TRUE}" && test -z "${WITH_XCB_FALSE}"; then
 
29397
  { { echo "$as_me:$LINENO: error: conditional \"WITH_XCB\" was never defined.
 
29398
Usually this means the macro was only invoked conditionally." >&5
 
29399
echo "$as_me: error: conditional \"WITH_XCB\" was never defined.
 
29400
Usually this means the macro was only invoked conditionally." >&2;}
 
29401
   { (exit 1); exit 1; }; }
 
29402
fi
28232
29403
if test -z "${BROWSER_PLUGIN_TRUE}" && test -z "${BROWSER_PLUGIN_FALSE}"; then
28233
29404
  { { echo "$as_me:$LINENO: error: conditional \"BROWSER_PLUGIN\" was never defined.
28234
29405
Usually this means the macro was only invoked conditionally." >&5
28271
29442
Usually this means the macro was only invoked conditionally." >&2;}
28272
29443
   { (exit 1); exit 1; }; }
28273
29444
fi
 
29445
if test -z "${MAKE_PNG_TRUE}" && test -z "${MAKE_PNG_FALSE}"; then
 
29446
  { { echo "$as_me:$LINENO: error: conditional \"MAKE_PNG\" was never defined.
 
29447
Usually this means the macro was only invoked conditionally." >&5
 
29448
echo "$as_me: error: conditional \"MAKE_PNG\" was never defined.
 
29449
Usually this means the macro was only invoked conditionally." >&2;}
 
29450
   { (exit 1); exit 1; }; }
 
29451
fi
 
29452
if test -z "${OPTIMISE_PNG_TRUE}" && test -z "${OPTIMISE_PNG_FALSE}"; then
 
29453
  { { echo "$as_me:$LINENO: error: conditional \"OPTIMISE_PNG\" was never defined.
 
29454
Usually this means the macro was only invoked conditionally." >&5
 
29455
echo "$as_me: error: conditional \"OPTIMISE_PNG\" was never defined.
 
29456
Usually this means the macro was only invoked conditionally." >&2;}
 
29457
   { (exit 1); exit 1; }; }
 
29458
fi
28274
29459
 
28275
29460
: ${CONFIG_STATUS=./config.status}
28276
29461
ac_clean_files_save=$ac_clean_files
28571
29756
# report actual input values of CONFIG_FILES etc. instead of their
28572
29757
# values after options handling.
28573
29758
ac_log="
28574
 
This file was extended by gxine $as_me 0.5.11, which was
 
29759
This file was extended by gxine $as_me 0.5.901, which was
28575
29760
generated by GNU Autoconf 2.61.  Invocation command line was
28576
29761
 
28577
29762
  CONFIG_FILES    = $CONFIG_FILES
28624
29809
_ACEOF
28625
29810
cat >>$CONFIG_STATUS <<_ACEOF
28626
29811
ac_cs_version="\\
28627
 
gxine config.status 0.5.11
 
29812
gxine config.status 0.5.901
28628
29813
configured by $0, generated by GNU Autoconf 2.61,
28629
29814
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
28630
29815
 
28635
29820
ac_pwd='$ac_pwd'
28636
29821
srcdir='$srcdir'
28637
29822
INSTALL='$INSTALL'
 
29823
MKDIR_P='$MKDIR_P'
28638
29824
_ACEOF
28639
29825
 
28640
29826
cat >>$CONFIG_STATUS <<\_ACEOF
28756
29942
    "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
28757
29943
    "doc/man/de/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/de/Makefile" ;;
28758
29944
    "doc/man/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/en/Makefile" ;;
 
29945
    "doc/man/es/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/es/Makefile" ;;
28759
29946
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
28760
29947
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
 
29948
    "m4/gettext/Makefile") CONFIG_FILES="$CONFIG_FILES m4/gettext/Makefile" ;;
28761
29949
    "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
28762
29950
    "misc/build_rpms.sh") CONFIG_FILES="$CONFIG_FILES misc/build_rpms.sh" ;;
28763
29951
    "misc/gxine.spec") CONFIG_FILES="$CONFIG_FILES misc/gxine.spec" ;;
28866
30054
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
28867
30055
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
28868
30056
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
30057
am__isrc!$am__isrc$ac_delim
28869
30058
CYGPATH_W!$CYGPATH_W$ac_delim
28870
30059
PACKAGE!$PACKAGE$ac_delim
28871
30060
VERSION!$VERSION$ac_delim
28914
30103
host_cpu!$host_cpu$ac_delim
28915
30104
host_vendor!$host_vendor$ac_delim
28916
30105
host_os!$host_os$ac_delim
 
30106
SED!$SED$ac_delim
28917
30107
LN_S!$LN_S$ac_delim
28918
30108
ECHO!$ECHO$ac_delim
28919
30109
AR!$AR$ac_delim
28920
30110
RANLIB!$RANLIB$ac_delim
 
30111
DSYMUTIL!$DSYMUTIL$ac_delim
 
30112
NMEDIT!$NMEDIT$ac_delim
28921
30113
CXXCPP!$CXXCPP$ac_delim
 
30114
_ACEOF
 
30115
 
 
30116
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
30117
    break
 
30118
  elif $ac_last_try; then
 
30119
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
30120
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
30121
   { (exit 1); exit 1; }; }
 
30122
  else
 
30123
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
30124
  fi
 
30125
done
 
30126
 
 
30127
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
30128
if test -n "$ac_eof"; then
 
30129
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
30130
  ac_eof=`expr $ac_eof + 1`
 
30131
fi
 
30132
 
 
30133
cat >>$CONFIG_STATUS <<_ACEOF
 
30134
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
30135
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
30136
_ACEOF
 
30137
sed '
 
30138
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
30139
s/^/s,@/; s/!/@,|#_!!_#|/
 
30140
:n
 
30141
t n
 
30142
s/'"$ac_delim"'$/,g/; t
 
30143
s/$/\\/; p
 
30144
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
30145
' >>$CONFIG_STATUS <conf$$subs.sed
 
30146
rm -f conf$$subs.sed
 
30147
cat >>$CONFIG_STATUS <<_ACEOF
 
30148
CEOF$ac_eof
 
30149
_ACEOF
 
30150
 
 
30151
 
 
30152
ac_delim='%!_!# '
 
30153
for ac_last_try in false false false false false :; do
 
30154
  cat >conf$$subs.sed <<_ACEOF
28922
30155
LIBTOOL!$LIBTOOL$ac_delim
28923
30156
LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
28924
30157
GNU99!$GNU99$ac_delim
28925
30158
USE_NLS!$USE_NLS$ac_delim
28926
 
_ACEOF
28927
 
 
28928
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
28929
 
    break
28930
 
  elif $ac_last_try; then
28931
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28932
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28933
 
   { (exit 1); exit 1; }; }
28934
 
  else
28935
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28936
 
  fi
28937
 
done
28938
 
 
28939
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28940
 
if test -n "$ac_eof"; then
28941
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28942
 
  ac_eof=`expr $ac_eof + 1`
28943
 
fi
28944
 
 
28945
 
cat >>$CONFIG_STATUS <<_ACEOF
28946
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
28947
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28948
 
_ACEOF
28949
 
sed '
28950
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28951
 
s/^/s,@/; s/!/@,|#_!!_#|/
28952
 
:n
28953
 
t n
28954
 
s/'"$ac_delim"'$/,g/; t
28955
 
s/$/\\/; p
28956
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28957
 
' >>$CONFIG_STATUS <conf$$subs.sed
28958
 
rm -f conf$$subs.sed
28959
 
cat >>$CONFIG_STATUS <<_ACEOF
28960
 
CEOF$ac_eof
28961
 
_ACEOF
28962
 
 
28963
 
 
28964
 
ac_delim='%!_!# '
28965
 
for ac_last_try in false false false false false :; do
28966
 
  cat >conf$$subs.sed <<_ACEOF
28967
30159
MSGFMT!$MSGFMT$ac_delim
28968
30160
GMSGFMT!$GMSGFMT$ac_delim
28969
30161
MSGFMT_015!$MSGFMT_015$ac_delim
28978
30170
LIBINTL!$LIBINTL$ac_delim
28979
30171
LTLIBINTL!$LTLIBINTL$ac_delim
28980
30172
POSUB!$POSUB$ac_delim
 
30173
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
30174
XCB_CFLAGS!$XCB_CFLAGS$ac_delim
 
30175
XCB_LIBS!$XCB_LIBS$ac_delim
28981
30176
XMKMF!$XMKMF$ac_delim
28982
30177
X_CFLAGS!$X_CFLAGS$ac_delim
28983
30178
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
28984
30179
X_LIBS!$X_LIBS$ac_delim
28985
30180
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
28986
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
30181
WITH_XCB_TRUE!$WITH_XCB_TRUE$ac_delim
 
30182
WITH_XCB_FALSE!$WITH_XCB_FALSE$ac_delim
 
30183
NET_LIBS!$NET_LIBS$ac_delim
28987
30184
JS_CFLAGS!$JS_CFLAGS$ac_delim
28988
30185
JS_LIBS!$JS_LIBS$ac_delim
28989
30186
NSPR_CFLAGS!$NSPR_CFLAGS$ac_delim
28990
30187
NSPR_LIBS!$NSPR_LIBS$ac_delim
28991
30188
BROWSER_PLUGIN_TRUE!$BROWSER_PLUGIN_TRUE$ac_delim
28992
30189
BROWSER_PLUGIN_FALSE!$BROWSER_PLUGIN_FALSE$ac_delim
 
30190
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
 
30191
GTK2_LIBS!$GTK2_LIBS$ac_delim
28993
30192
GLIB2_CFLAGS!$GLIB2_CFLAGS$ac_delim
28994
30193
GLIB2_LIBS!$GLIB2_LIBS$ac_delim
28995
 
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
28996
 
GTK2_LIBS!$GTK2_LIBS$ac_delim
28997
30194
GTHREAD2_CFLAGS!$GTHREAD2_CFLAGS$ac_delim
28998
30195
GTHREAD2_LIBS!$GTHREAD2_LIBS$ac_delim
 
30196
PANGO_CFLAGS!$PANGO_CFLAGS$ac_delim
 
30197
PANGO_LIBS!$PANGO_LIBS$ac_delim
 
30198
HAL_CFLAGS!$HAL_CFLAGS$ac_delim
 
30199
HAL_LIBS!$HAL_LIBS$ac_delim
28999
30200
GSSCMD!$GSSCMD$ac_delim
29000
30201
DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
29001
30202
DBUS_LIBS!$DBUS_LIBS$ac_delim
29005
30206
XTEST_LIBS!$XTEST_LIBS$ac_delim
29006
30207
HAVE_XTESTEXTENSION_TRUE!$HAVE_XTESTEXTENSION_TRUE$ac_delim
29007
30208
HAVE_XTESTEXTENSION_FALSE!$HAVE_XTESTEXTENSION_FALSE$ac_delim
 
30209
XINERAMA_LIBS!$XINERAMA_LIBS$ac_delim
29008
30210
HAVE_XINERAMA_TRUE!$HAVE_XINERAMA_TRUE$ac_delim
29009
30211
HAVE_XINERAMA_FALSE!$HAVE_XINERAMA_FALSE$ac_delim
29010
30212
HAVE_XRANDR_TRUE!$HAVE_XRANDR_TRUE$ac_delim
29021
30223
HAVE_GETOPT_LONG_FALSE!$HAVE_GETOPT_LONG_FALSE$ac_delim
29022
30224
DEBUG_CFLAGS!$DEBUG_CFLAGS$ac_delim
29023
30225
DEBUG_LDFLAGS!$DEBUG_LDFLAGS$ac_delim
 
30226
RSVG!$RSVG$ac_delim
 
30227
OPTIPNG!$OPTIPNG$ac_delim
 
30228
MAKE_PNG_TRUE!$MAKE_PNG_TRUE$ac_delim
 
30229
MAKE_PNG_FALSE!$MAKE_PNG_FALSE$ac_delim
 
30230
OPTIMISE_PNG_TRUE!$OPTIMISE_PNG_TRUE$ac_delim
 
30231
OPTIMISE_PNG_FALSE!$OPTIMISE_PNG_FALSE$ac_delim
29024
30232
GXINE_PLUGINPATH!$GXINE_PLUGINPATH$ac_delim
29025
30233
GXINE_BINPATH!$GXINE_BINPATH$ac_delim
29026
30234
GXINE_LOGOPATH!$GXINE_LOGOPATH$ac_delim
29031
30239
GXINE_MISCPATH!$GXINE_MISCPATH$ac_delim
29032
30240
GXINE_CONFPATH!$GXINE_CONFPATH$ac_delim
29033
30241
VENDOR_PKG_VERSION!$VENDOR_PKG_VERSION$ac_delim
 
30242
MANLINGUAS!$MANLINGUAS$ac_delim
29034
30243
LIBOBJS!$LIBOBJS$ac_delim
29035
30244
LTLIBOBJS!$LTLIBOBJS$ac_delim
29036
30245
_ACEOF
29037
30246
 
29038
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 69; then
 
30247
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then
29039
30248
    break
29040
30249
  elif $ac_last_try; then
29041
30250
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29262
30471
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29263
30472
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29264
30473
  esac
 
30474
  ac_MKDIR_P=$MKDIR_P
 
30475
  case $MKDIR_P in
 
30476
  [\\/$]* | ?:[\\/]* ) ;;
 
30477
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
30478
  esac
29265
30479
_ACEOF
29266
30480
 
29267
30481
cat >>$CONFIG_STATUS <<\_ACEOF
29315
30529
s&@abs_builddir@&$ac_abs_builddir&;t t
29316
30530
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29317
30531
s&@INSTALL@&$ac_INSTALL&;t t
 
30532
s&@MKDIR_P@&$ac_MKDIR_P&;t t
29318
30533
$ac_datarootdir_hack
29319
30534
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
29320
30535
 
29430
30645
  fi
29431
30646
  rm -f "$tmp/out12"
29432
30647
# Compute $ac_file's index in $config_headers.
 
30648
_am_arg=$ac_file
29433
30649
_am_stamp_count=1
29434
30650
for _am_header in $config_headers :; do
29435
30651
  case $_am_header in
29436
 
    $ac_file | $ac_file:* )
 
30652
    $_am_arg | $_am_arg:* )
29437
30653
      break ;;
29438
30654
    * )
29439
30655
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29440
30656
  esac
29441
30657
done
29442
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
29443
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29444
 
         X$ac_file : 'X\(//\)[^/]' \| \
29445
 
         X$ac_file : 'X\(//\)$' \| \
29446
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
29447
 
echo X$ac_file |
 
30658
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
30659
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
30660
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
30661
         X"$_am_arg" : 'X\(//\)$' \| \
 
30662
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
30663
echo X"$_am_arg" |
29448
30664
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29449
30665
            s//\1/
29450
30666
            q
29479
30695
  # some people rename them; so instead we look at the file content.
29480
30696
  # Grep'ing the first line is not enough: some people post-process
29481
30697
  # each Makefile.in and add a new line on top of each file to say so.
29482
 
  # So let's grep whole file.
29483
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
30698
  # Grep'ing the whole file is not good either: AIX grep has a line
 
30699
  # limit of 2048, but all sed's we know have understand at least 4000.
 
30700
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
29484
30701
    dirpart=`$as_dirname -- "$mf" ||
29485
30702
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29486
30703
         X"$mf" : 'X\(//\)[^/]' \| \
29707
30924
        ;;
29708
30925
      esac
29709
30926
    done ;;
29710
 
    "default":C) chmod +x ./misc/build_rpms.sh ;;
 
30927
    "default":C) chmod +x ./misc/build_rpms.sh; echo '
 
30928
#ifdef DEBUG
 
30929
# undef WITH_WATCHDOG
 
30930
#endif' >> include/config.h
 
30931
 ;;
29711
30932
 
29712
30933
  esac
29713
30934
done # for ac_tag